/* Clip Vuno developer kit — small extras on top of kit.css */

.dev-kit-playground {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  min-height: 360px;
}

.dev-kit-playground.three {
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 900px) {
  .dev-kit-playground,
  .dev-kit-playground.three {
    grid-template-columns: 1fr;
  }
}

.dev-kit-playground textarea {
  min-height: 220px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.dev-kit-playground iframe {
  width: 100%;
  min-height: 260px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #fff;
}

html[data-theme="dark"] .dev-kit-playground iframe {
  background: #0f100f;
}

.dev-kit-ref {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.dev-kit-ref th,
.dev-kit-ref td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.dev-kit-ref th {
  font-weight: 650;
  color: var(--text-secondary);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.dev-kit-ref code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.dev-kit-ref-wrap {
  overflow: auto;
  max-height: 480px;
  border: 1px dashed var(--line);
  border-radius: 12px;
}

.dev-kit-code-frame {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #0f100f;
  color: #f7f5ef;
}

.dev-kit-code-frame .bar {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 10px 14px;
  background: #191b19;
  border-bottom: 1px solid #41403b;
}

.dev-kit-code-frame .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #41403b;
}

.dev-kit-code-frame .dot:nth-child(1) { background: #c45c4a; }
.dev-kit-code-frame .dot:nth-child(2) { background: #fbc47d; }
.dev-kit-code-frame .dot:nth-child(3) { background: #5a9a6a; }

.dev-kit-code-frame pre,
.dev-kit-code-frame canvas {
  display: block;
  margin: 0;
  max-width: 100%;
}

.dev-kit-code-frame pre {
  padding: 18px 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.dev-kit-swatch {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.dev-kit-keys {
  display: grid;
  gap: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.dev-kit-tree details {
  margin-left: 12px;
}

.dev-kit-tree summary {
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}
