.cv.svelte-15ml29j {
  --cv-bg: #fff;
  --cv-fg: #1e1e1e;
  --cv-border: #e1e4e8;
  --cv-head-bg: #f6f8fa;
  --cv-head-fg: #24292e;
  --cv-muted: #6a737d;
  --cv-btn-bg: #569cd6;
  --cv-btn-bg-hover: #4a8bc2;
  --cv-btn-copied: #6a9955;
  border: 1px solid var(--cv-border);
  border-radius: 8px;
  overflow: hidden;
  font-family: Fira Code, monospace;
  background: var(--cv-bg);
  color: var(--cv-fg);
}
.cv-head.svelte-15ml29j {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cv-head-bg);
  color: var(--cv-head-fg);
  font-size: 12px;
  padding: 6px 10px;
  font-weight: 600;
  text-transform: uppercase;
}
.cv-copy-btn.svelte-15ml29j {
  padding: 4px 12px;
  font-size: 12px;
  border: none;
  border-radius: 4px;
  background: var(--cv-btn-bg);
  color: #fff;
  cursor: pointer;
}
.cv-copy-btn.svelte-15ml29j:hover {
  background: var(--cv-btn-bg-hover);
}
.cv-copy-btn.copied.svelte-15ml29j {
  background: var(--cv-btn-copied);
}
.cv-body.svelte-15ml29j {
  display: flex;
  font-size: 13px;
  line-height: 1.4;
  overflow-x: auto;
}
.cv-textarea.svelte-15ml29j {
  flex: 1;
  min-height: 120px;
  max-height: 240px;
  border: none;
  outline: none;
  resize: vertical;
  padding: 8px;
  background: var(--cv-bg);
  color: var(--cv-fg);
  font-family: Fira Code, monospace;
  line-height: 1.4;
  overflow-y: auto;
}
pre.svelte-15ml29j {
  margin: 0;
  padding: 8px;
  background: transparent;
  flex: 1;
  overflow: auto;
  max-height: 240px;
  line-height: 1.4;
}
code.svelte-15ml29j {
  white-space: pre;
  line-height: 1.4;
}
.cv-gutter.svelte-15ml29j {
  flex-shrink: 0;
  padding: 8px 6px 8px 8px;
  text-align: right;
  color: var(--cv-muted);
  -webkit-user-select: none;
  user-select: none;
  background: var(--cv-bg);
  border-right: 1px solid var(--cv-border);
  min-width: 32px;
  font-size: 12px;
  max-height: 240px;
  overflow: hidden;
}
.cv-gutter.svelte-15ml29j div:where(.svelte-15ml29j) {
  line-height: 1.4;
  height: 18.2px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
[data-theme="dark"] .cv.svelte-15ml29j {
  --cv-bg: #1e1e1e;
  --cv-fg: #d4d4d4;
  --cv-border: #3e3e42;
  --cv-head-bg: #2d2d30;
  --cv-head-fg: #cccccc;
  --cv-muted: #858585;
  --cv-btn-bg: #569cd6;
  --cv-btn-bg-hover: #4a8bc2;
  --cv-btn-copied: #6a9955;
}
.cv-tag {
  color: #1a6bb7;
  font-weight: 600;
}
.cv-attr {
  color: #0d7ea8;
  font-weight: 600;
}
.cv-val {
  color: #a65a2b;
}
.cv-comment {
  color: #3d6b33;
  font-style: italic;
}
.cv-keyword {
  color: #8a3db6;
  font-weight: 700;
}
.cv-string {
  color: #a65a2b;
}
.cv-number {
  color: #2d7a3d;
}
[data-theme="light"] {
  margin: 0;
  background: #f5f5f5;
  color: #222;
}
[data-theme="dark"] {
  background: #1e1e1e;
  color: #f5f5f5;
}
[data-theme="light"],
[data-theme="dark"] {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI,
    sans-serif;
  line-height: 1.5;
}
pre,
code {
  background: transparent;
  margin: 0;
  padding: 0;
}
.playground.svelte-1n46o8q {
  max-width: 100%;
  margin: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100vh;
}
.theme-toggle.svelte-1n46o8q {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 999;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: inherit;
}
.theme-toggle.svelte-1n46o8q:hover {
  opacity: 0.7;
}
.language-selector-container.svelte-1n46o8q {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.language-label.svelte-1n46o8q {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--language-fg, #4a5568);
  font-size: 14px;
}
.language-select.svelte-1n46o8q {
  padding: 4px 8px;
  border: 1px solid var(--select-border, #cbd5e0);
  border-radius: 6px;
  background: var(--select-bg, white);
  font-size: 14px;
  color: var(--select-fg, #222);
  width: auto;
  min-width: unset;
}
.language-select.svelte-1n46o8q:focus {
  outline: none;
  border-color: #4299e1;
  box-shadow: 0 0 0 2px #4299e133;
}
.header.svelte-1n46o8q {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
}
.title.svelte-1n46o8q {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2d3748;
  text-align: center;
}
.component-selector.svelte-1n46o8q {
  display: flex;
  align-items: center;
  justify-content: center;
}
.select-label.svelte-1n46o8q {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 500;
  color: #4a5568;
}
.select.svelte-1n46o8q {
  padding: 8px 12px;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  min-width: 140px;
}
.select.svelte-1n46o8q:focus {
  outline: none;
  border-color: #4299e1;
  box-shadow: 0 0 0 2px #4299e133;
}
.main.svelte-1n46o8q {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.actions.svelte-1n46o8q {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.btn.svelte-1n46o8q {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary.svelte-1n46o8q {
  background: #4299e1;
  color: #fff;
}
.btn-primary.svelte-1n46o8q:hover {
  background: #3182ce;
}
.btn-secondary.svelte-1n46o8q {
  background: #e2e8f0;
  color: #4a5568;
}
.btn-secondary.svelte-1n46o8q:hover {
  background: #cbd5e0;
}
.errors.svelte-1n46o8q {
  background: #fed7d7;
  border: 1px solid #feb2b2;
  border-radius: 8px;
  padding: 16px;
  color: #c53030;
  margin-top: 16px;
}
.errors-title.svelte-1n46o8q {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}
.errors-list.svelte-1n46o8q {
  margin: 0;
  padding-left: 20px;
}
.error-item.svelte-1n46o8q {
  margin: 4px 0;
  font-size: 13px;
}
.preview-section.svelte-1n46o8q,
.output-section.svelte-1n46o8q {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section-title.svelte-1n46o8q {
  margin: 0 0 12px;
  font-size: 1.125rem;
  font-weight: 600;
  color: #2d3748;
}
.preview-container.svelte-1n46o8q {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 120px;
  overflow: hidden;
  max-width: 100%;
}
.editor-section.svelte-1n46o8q,
.preview-section.svelte-1n46o8q,
.output-section.svelte-1n46o8q {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.playground-el.svelte-1n46o8q {
  min-width: 200px;
  padding: 8px 12px;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  font-size: 14px;
  overflow: hidden;
}
.output-header.svelte-1n46o8q {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (min-width: 768px) {
  .playground.svelte-1n46o8q {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
  }
  .header.svelte-1n46o8q {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .select-label.svelte-1n46o8q {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .language-label.svelte-1n46o8q {
    flex-direction: row;
  }
  .main.svelte-1n46o8q {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
  }
  .editor-section.svelte-1n46o8q {
    grid-column: 1;
    grid-row: 1;
  }
  .preview-section.svelte-1n46o8q {
    grid-column: 2;
    grid-row: 1;
  }
  .output-section.svelte-1n46o8q {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
@media (min-width: 1024px) {
  .playground.svelte-1n46o8q {
    max-width: 1200px;
    padding: 32px;
  }
  .main.svelte-1n46o8q {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto 1fr;
  }
  .editor-section.svelte-1n46o8q {
    grid-column: 1;
    grid-row: 1 / -1;
  }
  .preview-section.svelte-1n46o8q {
    grid-column: 2;
    grid-row: 1;
  }
  .output-section.svelte-1n46o8q {
    grid-column: 2;
    grid-row: 2;
  }
}
.toggle-label.svelte-1n46o8q {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--fg, #4a5568);
  cursor: pointer;
}
.toggle-label.svelte-1n46o8q input[type="checkbox"]:where(.svelte-1n46o8q) {
  margin: 0;
}
[data-theme="dark"] .language-label.svelte-1n46o8q {
  color: #e2e8f0;
}
[data-theme="dark"] .language-select.svelte-1n46o8q {
  background: #2d3748;
  border-color: #4a5568;
  color: #e2e8f0;
}
[data-theme="dark"] .title.svelte-1n46o8q,
[data-theme="dark"] .section-title.svelte-1n46o8q {
  color: #e2e8f0;
}
[data-theme="dark"] .select.svelte-1n46o8q {
  background: #2d3748;
  border-color: #4a5568;
  color: #e2e8f0;
}
[data-theme="dark"] .preview-container.svelte-1n46o8q {
  background: #2d3748;
  border-color: #4a5568;
}
[data-theme="dark"] .btn-secondary.svelte-1n46o8q {
  background: #4a5568;
  color: #e2e8f0;
}
[data-theme="dark"] .toggle-label.svelte-1n46o8q {
  color: #e2e8f0;
}
