@charset "UTF-8";

/* 作者：搭客佬
官网：https://www.tofaixz.cn/ */

:root {
  --paper: #fbf9f5;
  --paper-soft: #f5f0fb;
  --ink: #160e27;
  --ink-soft: #25193d;
  --violet: #7034d9;
  --violet-deep: #4d1ba9;
  --violet-light: #a473f0;
  --lavender: #e9dcfb;
  --muted: #6e657b;
  --line: #d9d0e3;
  --white: #ffffff;
  --success: #57df80;
  --content: 1200px;
  --header-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary {
  font: inherit;
}

button {
  color: inherit;
}

a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.page-shell {
  width: min(var(--content), calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

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

.site-bar {
  position: relative;
  z-index: 100;
  height: var(--header-height);
  background: rgba(251, 249, 245, 0.98);
  border-bottom: 1px solid var(--line);
}

.site-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--content), calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
}

.brand-link,
.footer-brand {
  display: inline-flex;
  align-items: center;
}

.brand-link img {
  width: 46px;
  height: 46px;
  margin-right: 12px;
  object-fit: cover;
  border-radius: 8px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.brand-copy strong {
  font-size: 19px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-copy span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.site-menu,
.site-menu ul {
  height: 100%;
}

.site-menu ul {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-menu a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 14px;
  font-weight: 800;
}

.site-menu a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.site-menu a:hover::after,
.site-menu a:focus-visible::after,
.site-menu a.is-current::after {
  transform: scaleX(1);
}

.mobile-tools {
  display: none;
  align-items: center;
  gap: 8px;
}

.mobile-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  color: var(--white);
  background: var(--violet);
  border: 1px solid var(--violet);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--ink);
  cursor: pointer;
}

i[class^="icon-"] {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.icon-menu {
  background-image: url("../icons/menu.svg");
}

.icon-arrow {
  background-image: url("../icons/arrow.svg");
}

.icon-download {
  background-image: url("../icons/download.svg");
}

.icon-user {
  background-image: url("../icons/user.svg");
}

.icon-chat {
  background-image: url("../icons/chat.svg");
}

.icon-script {
  background-image: url("../icons/script.svg");
}

.icon-model {
  background-image: url("../icons/model.svg");
}

.icon-globe {
  background-image: url("../icons/globe.svg");
}

.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--paper);
  background-image: linear-gradient(rgba(112, 52, 217, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(112, 52, 217, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  top: -140px;
  left: -120px;
  width: 420px;
  height: 420px;
  content: "";
  background: radial-gradient(circle, rgba(164, 115, 240, 0.22), rgba(164, 115, 240, 0));
  pointer-events: none;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(570px, 1.2fr);
  gap: 56px;
  align-items: center;
  min-height: 690px;
  padding: 82px 0;
}

.eyebrow,
.section-index,
.panel-kicker,
.stage-copy > p {
  color: var(--violet);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin-top: 16px;
  color: var(--ink);
  font-size: clamp(82px, 8vw, 120px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.94;
  white-space: nowrap;
}

.hero-copy h2 {
  max-width: 530px;
  margin-top: 28px;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 900;
  line-height: 1.25;
}

.hero-intro {
  max-width: 520px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
}

.hero-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 30px;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 218px;
  height: 58px;
  padding: 0 22px;
  color: var(--white);
  background: var(--violet);
  border: 1px solid var(--violet);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.primary-link .icon-arrow {
  width: 18px;
  height: 18px;
}

.primary-link:hover,
.primary-link:focus-visible {
  background: var(--violet-deep);
  border-color: var(--violet-deep);
}

.age-label {
  margin-top: 11px;
  color: var(--muted);
  font-size: 12px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

.hero-points i {
  width: 17px;
  height: 17px;
}

.casting-console {
  min-width: 0;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--violet-light);
  box-shadow: 18px 18px 0 rgba(112, 52, 217, 0.16);
}

.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.console-head > div p {
  font-size: 18px;
  font-weight: 900;
}

.console-head > div span {
  display: block;
  margin-top: 2px;
  color: #cbbbe9;
  font-size: 12px;
}

.console-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d5f7df;
  font-size: 12px;
}

.console-status i,
.cast-state i {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
}

.console-labels,
.cast-row {
  display: grid;
  grid-template-columns: 58px minmax(100px, 0.82fr) minmax(118px, 0.9fr) minmax(190px, 1.65fr) 84px;
  gap: 12px;
  align-items: center;
}

.console-labels {
  padding: 9px 15px;
  color: #cbbbe9;
  background: #211635;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 12px;
}

.cast-row {
  width: 100%;
  min-height: 92px;
  padding: 13px 15px;
  color: var(--white);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  cursor: pointer;
}

.cast-row:hover,
.cast-row:focus-visible,
.cast-row.is-active {
  background: var(--violet);
  outline: none;
}

.cast-row > strong {
  font-size: 28px;
  font-weight: 400;
}

.cast-row span {
  min-width: 0;
  font-size: 12px;
  line-height: 1.45;
}

.cast-row span b,
.cast-row span small {
  display: block;
}

.cast-row span b {
  font-size: 14px;
}

.cast-row span small {
  margin-top: 2px;
  color: #d8cdec;
  font-size: 12px;
}

.cast-row span em {
  display: inline-block;
  margin: 2px 3px 2px 0;
  padding: 3px 7px;
  font-size: 12px;
  font-style: normal;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cast-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.cast-state.is-idle {
  color: #a79bb9;
}

.cast-state.is-idle i {
  background: #7f758f;
}

.console-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 10px 18px;
  color: #cbbbe9;
  background: #211635;
  font-size: 12px;
}

.console-foot strong {
  color: var(--white);
}

.casting-board,
.script-room,
.interface-gallery,
.answer-room,
.creator-voices {
  padding: 96px 0;
}

.casting-board {
  background: var(--paper-soft);
}

.script-room {
  background: var(--paper);
}

.interface-gallery {
  color: var(--white);
  background: var(--ink);
}

.answer-room {
  background: var(--paper);
}

.creator-voices {
  background: var(--paper-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-top: 9px;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.16;
}

.section-heading > p {
  max-width: 520px;
  padding-bottom: 7px;
  color: var(--muted);
  font-size: 14px;
}

.interface-gallery .section-heading > p {
  color: #cbbbe9;
}

.interface-gallery .section-index {
  color: var(--violet-light);
}

.role-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--violet);
  border-bottom: 1px solid var(--violet);
}

.role-card {
  position: relative;
  min-height: 330px;
  padding: 26px 24px 24px;
  background: rgba(255, 255, 255, 0.72);
  border-right: 1px solid var(--line);
}

.role-card:last-child {
  border-right: 0;
}

.role-card.is-selected {
  color: var(--white);
  background: var(--violet);
}

.role-number {
  color: var(--violet);
  font-size: 12px;
  font-weight: 900;
}

.role-card.is-selected .role-number {
  color: var(--white);
}

.role-dot {
  display: block;
  width: 11px;
  height: 11px;
  margin-top: 20px;
  background: var(--violet);
  border-radius: 50%;
}

.role-card.is-selected .role-dot {
  background: var(--white);
}

.role-card h3 {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 900;
}

.role-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.role-card li {
  padding: 3px 8px;
  color: var(--violet-deep);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 12px;
}

.role-card p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.role-card.is-selected p {
  color: #eee7fa;
}

.role-card button {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  height: 40px;
  color: var(--violet);
  background: transparent;
  border: 1px solid var(--violet);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.role-card.is-selected button {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.role-card button:hover,
.role-card button:focus-visible {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
  outline: none;
}

.role-feedback {
  margin-top: 15px;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.role-feedback strong {
  color: var(--violet);
}

.script-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
}

.script-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--white);
  border: 1px solid var(--line);
}

.script-steps li {
  position: relative;
  min-height: 340px;
  padding: 32px 26px;
  border-right: 1px solid var(--line);
}

.script-steps li:last-child {
  border-right: 0;
}

.script-steps li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  color: var(--white);
  background: var(--violet);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.script-steps i {
  display: block;
  width: 58px;
  height: 58px;
  margin-top: 54px;
  padding: 14px;
  background-color: var(--paper-soft);
  background-size: 30px;
  border: 1px solid var(--lavender);
  border-radius: 50%;
}

.script-steps h3 {
  margin-top: 18px;
  font-size: 20px;
}

.script-steps p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.setting-panel {
  min-height: 340px;
  padding: 28px;
  color: var(--white);
  background: var(--ink);
}

.setting-panel h3 {
  margin-top: 8px;
  font-size: 22px;
}

.setting-panel dl {
  margin-top: 24px;
}

.setting-panel dl > div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
  align-items: start;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.setting-panel dt {
  color: #cbbbe9;
  font-size: 12px;
}

.setting-panel dd {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.setting-panel button {
  min-width: 54px;
  min-height: 28px;
  padding: 4px 9px;
  color: #d9cee9;
  background: #2f2247;
  border: 1px solid transparent;
  font-size: 12px;
  cursor: pointer;
}

.setting-panel button:hover,
.setting-panel button:focus-visible,
.setting-panel button.is-active {
  color: var(--white);
  background: var(--violet);
  border-color: var(--violet-light);
  outline: none;
}

.setting-result {
  margin-top: 18px;
  color: #d9cee9;
  font-size: 12px;
  text-align: right;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.screen-figure {
  min-width: 0;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.screen-media {
  aspect-ratio: 9 / 16;
  background: #f4eff9;
}

.screen-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.screen-figure figcaption {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 2px 8px;
  min-height: 84px;
  padding: 15px 16px;
  color: var(--ink);
}

.screen-figure figcaption span {
  grid-row: 1 / 3;
  color: var(--violet);
  font-size: 12px;
  font-weight: 900;
}

.screen-figure figcaption strong {
  font-size: 15px;
}

.screen-figure figcaption small {
  color: var(--muted);
  font-size: 12px;
}

.faq-stack {
  border-top: 1px solid var(--ink);
}

.faq-stack details,
.official-disclosure {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.faq-stack summary,
.official-disclosure summary {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
}

.faq-stack summary::-webkit-details-marker,
.official-disclosure summary::-webkit-details-marker {
  display: none;
}

.faq-stack summary span {
  width: 64px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 900;
}

.faq-stack summary strong,
.official-disclosure summary strong {
  flex: 1;
  font-size: 15px;
}

.faq-stack summary > i:last-child,
.official-toggle {
  position: relative;
  width: 18px;
  height: 18px;
  margin-left: 18px;
}

.faq-stack summary > i:last-child::before,
.faq-stack summary > i:last-child::after,
.official-toggle::before,
.official-toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  content: "";
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.faq-stack summary > i:last-child::after,
.official-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-stack details[open] summary > i:last-child::after,
.official-disclosure[open] .official-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer,
.official-answer {
  padding: 0 22px 22px 86px;
  color: var(--muted);
  font-size: 13px;
}

.official-disclosure {
  width: 100%;
  margin-top: 24px;
  border: 1px solid var(--violet);
}

.official-disclosure .icon-globe {
  width: 20px;
  height: 20px;
  margin-right: 16px;
}

.official-answer {
  padding-left: 58px;
}

.official-answer a {
  color: var(--violet);
  font-weight: 800;
}

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

.voice-card {
  min-height: 260px;
  padding: 24px;
  background: var(--white);
  border-top: 3px solid var(--violet);
  box-shadow: 0 14px 30px rgba(22, 14, 39, 0.06);
}

.voice-card:nth-child(even) {
  border-top-color: var(--ink);
}

.voice-card header {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
}

.anonymous-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.voice-card header strong {
  font-size: 14px;
}

.voice-card time {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.voice-card > p {
  margin-top: 22px;
  color: #4e455a;
  font-size: 13px;
  line-height: 1.95;
}

.download-stage {
  padding: 72px 0;
  color: var(--white);
  background: #0d0716;
}

.stage-pass {
  position: relative;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 220px;
  gap: 28px;
  align-items: center;
  min-height: 210px;
  padding: 32px 36px;
  overflow: hidden;
  background: linear-gradient(115deg, #1c0f31 0%, #25123f 62%, #351455 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stage-pass::before,
.stage-pass::after {
  position: absolute;
  top: -12px;
  width: 22px;
  height: 22px;
  content: "";
  background: #0d0716;
  border-radius: 50%;
}

.stage-pass::before {
  left: 136px;
}

.stage-pass::after {
  right: 215px;
}

.stage-mark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 124px;
  min-height: 112px;
  padding: 14px;
  background: #2b1a42;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.stage-mark span,
.stage-mark small {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.stage-mark strong {
  grid-column: 1 / 3;
  font-size: 36px;
  line-height: 1;
}

.stage-mark small {
  grid-column: 1 / 3;
  color: #cbbbe9;
}

.stage-copy {
  position: relative;
  z-index: 2;
}

.stage-copy h2 {
  margin-top: 8px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.2;
  white-space: nowrap;
}

.stage-copy > span {
  display: block;
  margin-top: 10px;
  color: #cbbbe9;
  font-size: 13px;
}

.stage-download {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 64px;
  color: var(--white);
  background: var(--violet);
  border: 1px solid var(--violet-light);
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
}

.stage-download:hover,
.stage-download:focus-visible {
  background: var(--violet-deep);
}

.stage-light {
  position: absolute;
  right: 80px;
  bottom: -100px;
  width: 310px;
  height: 220px;
  background: radial-gradient(ellipse, rgba(164, 115, 240, 0.45), rgba(164, 115, 240, 0) 68%);
  pointer-events: none;
}

.site-footer {
  padding: 44px 0 22px;
  color: var(--white);
  background: var(--ink);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  margin-right: 12px;
  object-fit: cover;
  border-radius: 8px;
}

.footer-brand > span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.footer-brand strong {
  font-size: 18px;
  white-space: nowrap;
}

.footer-brand small {
  margin-top: 4px;
  color: #b9accd;
  font-size: 12px;
  white-space: nowrap;
}

.footer-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-links a {
  color: #d7cee5;
  font-size: 13px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
}

.footer-line {
  height: 1px;
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.72);
}

.copyright {
  padding-top: 18px;
  color: #b9accd;
  font-size: 12px;
  text-align: center;
}

.back-top {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: var(--violet);
  border: 1px solid var(--white);
  cursor: pointer;
}

.back-top.is-visible {
  display: flex;
}

.back-top i {
  display: block;
  width: 22px;
  height: 22px;
  background-image: url("../images/top.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--violet-light);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .site-menu ul {
    gap: 22px;
  }

  .hero-layout {
    grid-template-columns: minmax(320px, 0.72fr) minmax(520px, 1.28fr);
    gap: 32px;
  }

  .hero-copy h1 {
    font-size: 78px;
  }

  .console-labels,
  .cast-row {
    grid-template-columns: 46px minmax(90px, 0.8fr) minmax(104px, 0.85fr) minmax(160px, 1.6fr) 72px;
    gap: 8px;
  }

  .script-workbench {
    grid-template-columns: 1fr 340px;
  }

  .stage-pass {
    grid-template-columns: 120px minmax(0, 1fr) 180px;
  }

  .stage-copy h2 {
    font-size: 30px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  body {
    padding-top: var(--header-height);
  }

  .site-bar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: var(--header-height);
  }

  .site-bar-inner {
    width: min(var(--content), calc(100% - 28px));
  }

  .brand-link img {
    width: 38px;
    height: 38px;
    margin-right: 8px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy span {
    font-size: 12px;
  }

  .mobile-tools {
    display: flex;
  }

  .site-menu {
    position: fixed;
    z-index: 99;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--ink);
  }

  .site-menu.is-open {
    display: block;
  }

  .site-menu,
  .site-menu ul {
    height: auto;
  }

  .site-menu ul {
    display: block;
    width: min(var(--content), calc(100% - 40px));
    margin: 0 auto;
  }

  .site-menu li {
    border-bottom: 1px solid var(--line);
  }

  .site-menu li:last-child {
    border-bottom: 0;
  }

  .site-menu a {
    height: auto;
    padding: 15px 0;
  }

  .site-menu a::after {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 46px;
    min-height: 0;
    padding: 70px 0 86px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy h1 {
    font-size: clamp(72px, 15vw, 108px);
    white-space: normal;
  }

  .hero-copy h2,
  .hero-intro {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-action {
    align-items: center;
  }

  .hero-points {
    justify-content: center;
  }

  .casting-console {
    width: min(720px, 100%);
    margin: 0 auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-heading > p {
    padding-bottom: 0;
  }

  .role-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .role-card:nth-child(2) {
    border-right: 0;
  }

  .role-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .script-workbench {
    grid-template-columns: 1fr;
  }

  .setting-panel {
    min-height: 0;
  }

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

  .stage-pass {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .stage-download {
    grid-column: 1 / 3;
    width: min(320px, 100%);
    justify-self: center;
  }

  .stage-pass::after {
    display: none;
  }

  .footer-main {
    flex-direction: column;
  }

  .site-footer .footer-brand,
  .footer-links ul {
    justify-content: center;
  }

  a,
  button,
  summary {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: calc(100% - 28px);
  }

  .casting-board,
  .script-room,
  .interface-gallery,
  .answer-room,
  .creator-voices {
    padding: 70px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: 36px;
  }

  .console-labels {
    display: none;
  }

  .cast-row {
    grid-template-columns: 42px minmax(82px, 0.7fr) minmax(0, 1.3fr) 60px;
    min-height: 82px;
    padding: 12px;
  }

  .cast-row > span:nth-child(3) {
    display: none;
  }

  .cast-row > span:nth-child(4) {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .role-card {
    min-height: 300px;
    padding: 22px 18px;
  }

  .role-card button {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .script-steps {
    grid-template-columns: 1fr;
  }

  .script-steps li {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .script-steps li:last-child {
    border-bottom: 0;
  }

  .script-steps i {
    margin-top: 28px;
  }

  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .screen-figure figcaption {
    grid-template-columns: 24px minmax(0, 1fr);
    min-height: 92px;
    padding: 12px 10px;
  }

  .screen-figure figcaption strong {
    font-size: 13px;
  }

  .faq-stack summary,
  .official-disclosure summary {
    min-height: 66px;
    padding: 15px 14px;
  }

  .faq-stack summary span {
    width: 38px;
  }

  .faq-stack summary strong,
  .official-disclosure summary strong {
    font-size: 13px;
  }

  .faq-answer {
    padding: 0 14px 18px 52px;
  }

  .official-answer {
    padding: 0 14px 18px 49px;
    overflow-wrap: anywhere;
  }

  .voice-grid {
    grid-template-columns: 1fr;
  }

  .voice-card {
    min-height: 0;
  }

  .stage-pass {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px 22px;
    text-align: center;
  }

  .stage-mark {
    justify-self: center;
  }

  .stage-copy h2 {
    font-size: 27px;
    white-space: normal;
  }

  .stage-download {
    grid-column: auto;
  }

  .footer-links ul {
    gap: 14px 20px;
  }

  .back-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 430px) {
  .site-bar-inner {
    width: calc(100% - 20px);
  }

  .brand-link img {
    width: 34px;
    height: 34px;
    margin-right: 6px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy span {
    font-size: 12px;
  }

  .mobile-download {
    height: 36px;
    padding: 0 9px;
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
  }

  .hero-copy h1 {
    font-size: 70px;
  }

  .hero-copy h2 {
    font-size: 32px;
  }

  .console-head {
    align-items: flex-start;
  }

  .console-status {
    margin-top: 4px;
  }

  .cast-row {
    grid-template-columns: 36px minmax(74px, 0.65fr) minmax(0, 1.35fr);
    gap: 7px;
  }

  .cast-row .cast-state {
    display: none;
  }

  .console-foot {
    gap: 10px;
  }

  .role-rail {
    grid-template-columns: 1fr;
  }

  .role-card,
  .role-card:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .role-card:last-child {
    border-bottom: 0;
  }

  .setting-panel {
    padding: 22px 18px;
  }

  .setting-panel dl > div {
    grid-template-columns: 1fr;
  }

  .voice-card header {
    grid-template-columns: 38px 1fr;
  }

  .voice-card time {
    grid-column: 2;
  }
}

@media (max-width: 359px) {
  .brand-link img {
    width: 32px;
    height: 32px;
  }

  .brand-copy strong {
    font-size: 13px;
  }

  .mobile-download {
    padding: 0 7px;
  }

  .hero-copy h1 {
    font-size: 60px;
  }

  .hero-copy h2 {
    font-size: 29px;
  }

  .screen-grid {
    gap: 8px;
  }
}
