:root {
  --page-bg: #f8f9fc;
  --surface: #ffffff;
  --surface-muted: #f5f7fb;
  --line: #e8edf6;
  --line-strong: #dbe3f1;
  --text: #111827;
  --muted: #6f7b91;
  --muted-strong: #56637c;
  --blue: #1A75FF;
  --blue-strong: #1A75FF;
  --blue-soft: rgba(26, 117, 255, 0.12);
  --dark-panel: #09111d;
  --dark-panel-2: #111a2c;
  --dark-line: rgba(255, 255, 255, 0.1);
  --white: #ffffff;
  --radius-xl: 24px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-card: 0 12px 36px rgba(16, 24, 40, 0.06);
  --shadow-soft: 0 10px 26px rgba(16, 24, 40, 0.04);
  --font-sans: "SF Pro Display", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-source: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-pingfang: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: "Georgia", "Songti SC", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(47, 107, 255, 0.05), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(18, 208, 255, 0.03), transparent 22%),
    var(--page-bg);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: min(964px, calc(100% - 60px));
  max-width: 100%;
  margin: 0 auto;
}

.topbar {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  line-height: 1;
}

.brand__mark {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 34px;
}

.brand__text {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.1;
}

.brand_desc {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: 14px;
  line-height: 1.15;
  color: #8b96b2;
  white-space: nowrap;
}

.brand_desc h1 {
  margin: 0;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 400;
  color: inherit;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link,
.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  padding: 8px 0;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
}

.icon-link {
  color: var(--muted-strong);
}

.ui-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.export-button {
  height: 40px;
  padding: 0 20px;
  border-radius: 12px;
  background: linear-gradient(180deg, #3882ff 0%, #2a64ff 100%);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(47, 107, 255, 0.22);
}

.app-shell {
  padding: 28px 0 40px;
}

.workspace-grid {
  display: grid;
  grid-template-columns: 362px minmax(0, 1fr);
  gap: 24px;
  min-width: 0;
}

.workspace-grid > *,
.appearance-grid > *,
.advanced-grid > *,
.scene-grid > *,
.shortcut-grid > *,
.preview-stage,
.preview-scroll,
.preview-copy {
  min-width: 0;
}

.card,
.hint-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.editor-card,
.preview-card {
  min-height: 576px;
}

.editor-card {
  padding: 18px 16px 16px;
}

.card__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.card__title-row h2,
.section-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #161f32;
}

.editor-count {
  font-size: 14px;
  color: var(--muted);
}

.editor-count span {
  color: #6f81aa;
  font-weight: 700;
}

.editor-textarea {
  width: 100%;
  height: 462px;
  resize: none;
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  color: #263245;
  font-size: 14px;
  line-height: 1.9;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
}

.editor-textarea:focus,
input[type="range"]:focus,
select:focus {
  border-color: #b9cbff;
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.1);
}

.editor-card__actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.mini-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #6d7890;
  font-size: 13px;
  font-weight: 600;
}

.preview-card {
  position: relative;
  overflow: hidden;
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, #0d1525 0%, #09111d 100%);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 38px rgba(7, 16, 35, 0.22);
}

.preview-card__topbar,
.player-overlay__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.preview-card__status {
  display: flex;
  align-items: center;
  gap: 30px;
}

.status-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}

.status-inline--recording {
  color: rgba(255, 255, 255, 0.75);
}

.record-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5d52;
  box-shadow: 0 0 0 4px rgba(255, 93, 82, 0.12);
}

.preview-card__top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: rgba(255, 255, 255, 0.86);
}

.preview-stage {
  position: relative;
  height: 480px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.05), transparent 26%),
    linear-gradient(180deg, rgba(20, 30, 52, 0.88) 0%, rgba(9, 17, 29, 0.95) 100%);
}

.preview-scroll,
.player-overlay__scroll {
  height: 100%;
  overflow-y: auto;
  padding: 52px 32px 160px;
  scrollbar-width: none;
}

.preview-scroll::-webkit-scrollbar,
.player-overlay__scroll::-webkit-scrollbar {
  display: none;
}

.preview-copy,
.player-overlay__copy {
  white-space: normal;
  word-break: break-word;
  color: #ffffff;
  font-family: var(--font-source);
  font-size: 54px;
  line-height: 1.78;
  letter-spacing: 0.01em;
}

.teleprompter-line {
  display: block;
}

.teleprompter-line--blank {
  min-height: 1em;
}

.teleprompter-line--question {
  color: var(--question-line-color, currentColor);
}

.teleprompter-line--speaker {
  color: currentColor;
}

.teleprompter-line--speaker-1 {
  color: #8fd7ff;
}

.teleprompter-line--speaker-2 {
  color: #ffd37d;
}

.teleprompter-line--speaker-3 {
  color: #b7f0ae;
}

.teleprompter-line--speaker-4 {
  color: #f7adc8;
}

.teleprompter-line--speaker-5 {
  color: #c9bcff;
}

.teleprompter-line--speaker-6 {
  color: #8ef0dd;
}

.teleprompter-line--speaker.teleprompter-line--question {
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.12);
}

.teleprompter-speaker {
  font-weight: 800;
  margin-right: 0.18em;
}

.teleprompter-line--continuation .teleprompter-content {
  display: inline;
}

.preview-focus-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 58%;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.preview-controls {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  height: 68px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 26, 44, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.preview-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.98);
}

.preview-control--icon {
  width: 28px;
  height: 28px;
}

.preview-control--play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(180deg, #3f86ff 0%, #2b69ff 100%);
  box-shadow: 0 12px 20px rgba(47, 107, 255, 0.3);
}

.preview-control--play .ui-icon {
  width: 22px;
  height: 22px;
  margin-left: 2px;
}

.preview-control--round {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.speed-indicator {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.speed-indicator span {
  font-weight: 600;
}

.settings-card {
  margin-top: 22px;
  padding: 18px 18px 20px;
}

.appearance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 36px;
  margin-top: 24px;
}

.setting-block {
  display: grid;
  gap: 12px;
}

.setting-label {
  font-size: 15px;
  font-weight: 600;
  color: #394760;
}

.size-stepper {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 0;
  width: 100%;
  max-width: 284px;
}

.step-button,
.size-display {
  height: 36px;
  border: 1px solid var(--line);
  background: #fff;
}

.step-button {
  color: #3a465e;
  font-weight: 600;
}

.step-button:first-child {
  border-radius: 10px 0 0 10px;
}

.step-button:last-child {
  border-radius: 0 10px 10px 0;
}

.size-display {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 0;
  border-right: 0;
  color: #303d52;
  font-weight: 600;
}

.hidden-range {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.slider-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue) var(--slider-fill, 50%), #edf2fa var(--slider-fill, 50%));
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(47, 107, 255, 0.28);
}

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(47, 107, 255, 0.28);
}

.slider-value {
  min-width: 38px;
  color: #394760;
  font-size: 15px;
}

.swatch-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.05), 0 4px 12px rgba(15, 23, 42, 0.06);
}

.swatch.is-selected {
  border-color: #d9e5ff;
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.12);
}

.swatch--white {
  background: #ffffff;
}

.swatch--black {
  background: #111111;
}

.swatch--yellow {
  background: #fee68a;
}

.swatch--green {
  background: #caf5bf;
}

.swatch--pink {
  background: #ffc1d7;
}

.swatch--blue {
  background: #c9e5ff;
}

.swatch--bg-white {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.swatch--bg-dark {
  background: #0c1525;
}

.swatch--custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9aa5b7;
  font-size: 18px;
  background: #fff;
  border-color: var(--line);
}

.custom-chip {
  height: 32px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #5f6b81;
  font-size: 13px;
  font-weight: 600;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #95a0b4;
  border-bottom: 1.5px solid #95a0b4;
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}

.select-wrap select {
  width: 100%;
  height: 38px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #344258;
  appearance: none;
  outline: none;
}

.advanced-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.advanced-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.advanced-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: #233047;
}

.advanced-item span {
  color: #94a0b3;
  font-size: 13px;
}

.switch {
  position: relative;
  display: inline-flex;
}

.switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.switch__track {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #e4e9f2;
  transition: background 180ms ease;
}

.switch__track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  transition: transform 180ms ease;
}

.switch input:checked + .switch__track {
  background: var(--blue);
}

.switch input:checked + .switch__track::after {
  transform: translateX(16px);
}

.scene-grid,
.shortcut-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.scene-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.shortcut-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.scene-card,
.shortcut-card {
  min-height: 98px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: left;
}

.scene-card.is-selected {
  border-color: #8fb1ff;
  box-shadow: inset 0 0 0 1px rgba(47, 107, 255, 0.45);
}

.scene-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  color: #25314a;
  overflow: visible;
}

.scene-card.is-selected .scene-icon {
  color: var(--blue);
}

.scene-card strong,
.shortcut-card strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #1c2638;
}

.scene-card span,
.shortcut-card span {
  display: block;
  margin-top: 8px;
  color: #96a0b2;
  font-size: 13px;
}

.shortcut-card {
  min-height: 84px;
  text-align: center;
}

.hint-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding: 20px;
}

.hint-card__content {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.hint-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--blue);
}

.hint-card__content strong {
  display: block;
  font-size: 16px;
  color: #1c2638;
}

.hint-card__content p {
  margin: 6px 0 0;
  color: #96a0b2;
  font-size: 13px;
  line-height: 1.65;
}

.hint-card__action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: #4a556d;
  white-space: nowrap;
}

.hint-card__action kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 8px;
  background: #f5f7fb;
  font-size: 12px;
  font-weight: 700;
  color: #68748a;
}

.info-section {
  margin-top: 56px;
}

.info-section__heading {
  margin: 0 auto 28px;
  text-align: center;
}

.info-section__heading h2 {
  margin: 0;
  background: linear-gradient(90deg, #3f82ff 0%, #a070ff 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.info-section__heading p {
  margin: 10px auto 0;
  max-width: 760px;
  color: #6f7785;
  font-size: 14px;
  line-height: 1.75;
}

.info-section__heading--faq h2 {
  font-size: 34px;
}

.info-section__eyebrow {
  margin-top: 14px;
  color: #a1a8b6;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-transform: uppercase;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.why-card {
  padding: 36px 28px 34px;
  border: 1px solid #e4ebf8;
  border-radius: 24px;
  background: linear-gradient(180deg, #fbfcff 0%, #f8faff 100%);
  box-shadow: 0 12px 30px rgba(20, 32, 62, 0.04);
  text-align: center;
}

.why-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  margin-bottom: 20px;
  border-radius: 24px;
  background: rgba(26, 117, 255, 0.08);
  color: #1A75FF;
}

.why-card__icon-svg {
  width: 28px;
  height: 28px;
  color: currentColor;
  fill: none;
}

.why-card h3 {
  margin: 0;
  color: #202844;
  font-size: 20px;
  font-weight: 500;
}

.why-card p {
  margin: 20px 0 0;
  color: #6f7785;
  font-size: 14px;
  line-height: 1.8;
}

.faq-list {
  display: grid;
  gap: 20px;
}

.faq-item {
  border: 1px solid #e4ebf8;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(20, 32, 62, 0.03);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  cursor: pointer;
  list-style: none;
  color: #232c45;
  font-size: 18px;
  font-weight: 500;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__toggle {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.faq-item__toggle::before,
.faq-item__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #707889;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, opacity 180ms ease;
}

.faq-item__toggle::before {
  width: 16px;
  height: 2px;
}

.faq-item__toggle::after {
  width: 2px;
  height: 16px;
}

.faq-item[open] .faq-item__toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0.2);
}

.faq-item__content {
  padding: 0 32px 28px;
  color: #6d7483;
  font-size: 14px;
  line-height: 1.95;
}

.site-footer {
  margin-top: 44px;
  padding: 8px 0 12px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: #8d97aa;
  font-size: 12px;
  line-height: 1.8;
}

.site-footer a {
  color: #1A75FF;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.player-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 22px;
  background: linear-gradient(180deg, #07111c 0%, #040a13 100%);
}

.hidden {
  display: none;
}

.player-overlay__stage {
  position: relative;
  height: calc(100vh - 92px);
  margin-top: 16px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, #0c1525 0%, #07111c 100%);
}

.player-overlay__copy {
  padding-right: 20px;
}

.theme-dark .topbar,
.theme-dark .card,
.theme-dark .hint-card,
.theme-dark .why-card,
.theme-dark .faq-item {
  background: rgba(14, 22, 36, 0.88);
  border-color: rgba(255, 255, 255, 0.08);
}

.theme-dark .card__title-row h2,
.theme-dark .section-title,
.theme-dark .editor-count,
.theme-dark .setting-label,
.theme-dark .scene-card strong,
.theme-dark .shortcut-card strong,
.theme-dark .hint-card__content strong,
.theme-dark .why-card h3,
.theme-dark .faq-item summary,
.theme-dark .info-section__heading h2,
.theme-dark .brand__text,
.theme-dark .nav-link,
.theme-dark .icon-link,
.theme-dark .hint-card__action {
  color: #edf2ff;
}

.theme-dark .editor-textarea,
.theme-dark .mini-action,
.theme-dark .step-button,
.theme-dark .size-display,
.theme-dark .custom-chip,
.theme-dark .select-wrap select,
.theme-dark .advanced-item,
.theme-dark .scene-card,
.theme-dark .shortcut-card,
.theme-dark .hint-card__action {
  background: #111a2b;
  border-color: rgba(255, 255, 255, 0.08);
  color: #dbe4f7;
}

.theme-dark .editor-textarea::placeholder,
.theme-dark .advanced-item span,
.theme-dark .scene-card span,
.theme-dark .shortcut-card span,
.theme-dark .hint-card__content p,
.theme-dark .why-card p,
.theme-dark .faq-item__content,
.theme-dark .info-section__heading p,
.theme-dark .info-section__eyebrow,
.theme-dark .site-footer p,
.theme-dark .slider-value {
  color: #9aa7c2;
}

.theme-dark .site-footer a {
  color: #1A75FF;
}

.theme-dark .why-card__icon {
  background: rgba(26, 117, 255, 0.14);
  color: #1A75FF;
}

.theme-dark .faq-item__toggle::before,
.theme-dark .faq-item__toggle::after {
  background: #a4b0c7;
}

.theme-dark .switch__track {
  background: rgba(255, 255, 255, 0.14);
}

.preview-stage.is-mirrored .preview-copy,
.player-overlay.is-mirrored .player-overlay__copy {
  transform: scaleX(-1);
}

@media (max-width: 1100px) {
  .container {
    width: min(964px, calc(100% - 36px));
  }

  .workspace-grid,
  .appearance-grid,
  .advanced-grid,
  .scene-grid,
  .shortcut-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .editor-card,
  .preview-card {
    min-height: auto;
  }

  .preview-stage {
    height: 420px;
  }

  .scene-card,
  .shortcut-card,
  .why-card {
    min-height: 78px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(964px, calc(100% - 24px));
  }

  .topbar__inner,
  .topbar__actions,
  .hint-card {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar__inner {
    padding: 16px 0;
  }

  .topbar__actions {
    gap: 12px;
  }

  .nav-link,
  .icon-link,
  .export-button {
    justify-content: center;
  }

  .preview-card__status,
  .preview-controls {
    flex-wrap: wrap;
    gap: 12px;
  }

  .preview-scroll,
  .player-overlay__scroll {
    padding: 40px 20px 160px;
  }

  .preview-copy,
  .player-overlay__copy {
    font-size: 36px;
  }

  .editor-card__actions {
    grid-template-columns: 1fr;
  }

  .info-section {
    margin-top: 42px;
  }

  .info-section__heading h2 {
    font-size: 30px;
  }

  .info-section__heading p,
  .why-card p,
  .faq-item__content {
    font-size: 15px;
  }

  .why-card {
    padding: 28px 22px;
  }

  .why-card__icon {
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
    border-radius: 20px;
  }

  .why-card__icon-svg {
    width: 24px;
    height: 24px;
  }

  .why-card h3 {
    font-size: 20px;
  }

  .faq-item summary {
    padding: 22px 22px;
    font-size: 18px;
  }

  .faq-item__content {
    padding: 0 22px 22px;
  }
}
