.dock-theme { font-size: 11px; opacity: .82; }
.daylight-signature { display: none; }
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f2e9; --ink: #283d38; --ink-2: #435c53; --ink-3: #62756a;
  --mint: #367d67; --line: #29483a26; --paper: #fffdf4;
  background: #f5f2e9;
}
html[data-theme="light"] body { background: #f5f2e9; color: var(--ink); }
html[data-theme="light"] .reading-shade { display: none; }
html[data-theme="light"] .bar .brand { color: #2d4b40; text-shadow: 0 1px 15px #fff9; }
html[data-theme="light"] .dock { background: #fffdf0b8; border-color: #fffaf2; box-shadow: 0 4px 24px #4b594515,inset 0 1px #fff; }
html[data-theme="light"] .dock-item { color: #294c3e; }
html[data-theme="light"] .dock-item.is-paper { background: #2e5646; color: #fffef6; }
html[data-theme="light"] .dock-try { background: #fffef588; border-color: #3b715d33; box-shadow: 0 0 18px #76ba9226; }
html[data-theme="light"] .sound { color: #375245; background: #fffdf2ab; border-color: #38524025; }
html[data-theme="light"] #kicker-marker { color: #367d67; text-shadow: 0 1px 18px #fffff080; }
html[data-theme="light"] #brandmark canvas { filter: drop-shadow(0 3px 20px #35534324); }
html[data-theme="light"] .hero-foot {
  left: 5vw; right: auto; width: min(48vw, 660px); bottom: 7svh;
  flex-direction: column; align-items: flex-start; gap: 23px;
}
html[data-theme="light"] .hero-sub { color: #304b40; max-width: 60ch; font-size: clamp(12px, .94vw, 15px); line-height: 1.8; }
html[data-theme="light"] .hero-cta { align-items: flex-start; }
html[data-theme="light"] .hero-cta > .hero-tag { color: #304b40; text-align: left; margin-bottom: 16px; font-size: clamp(10px,.9vw,13px); letter-spacing: .16em; }
html[data-theme="light"] .btn-primary { background: #2f5947; color: #fffdf4; border-color: #2f5947; box-shadow: 0 5px 20px #294b3217; }
html[data-theme="light"] .btn-ghost { background: #fffdf2a8; color: #304c40; border-color: #30534330; }
html[data-theme="light"] .hint,
html[data-theme="light"] .hint button,
html[data-theme="light"] .scroll-cue { color: #526e5b; }
html[data-theme="light"] .mk { color: #2c413a; }
html[data-theme="light"] .mk em { color: #367d67; }
html[data-theme="light"] .kicker { color: #547361; }
html[data-theme="light"] .says li { color: #2c453a; border-color: #38574124; }
html[data-theme="light"] .says li > span:last-child { color: #627869; }
html[data-theme="light"] .holdkey .cap { color: #395746; background: linear-gradient(#fffdf4,#e6eadb); border-color: #54795332; box-shadow: 0 5px 0 #c8d2c5,0 9px 15px #36502b12; }
html[data-theme="light"] .holdkey .label { color: #596f5f; }
html[data-theme="light"] .holdkey b { color: #2d4b3b; }
html[data-theme="light"] .task-choice { background: #f9fcf2c9; border-color: #54765330; }
html[data-theme="light"] .task-choice button { color: #48614e; }
html[data-theme="light"] .task-choice button[aria-pressed="true"] { color: #fdfcf5; background: #39775d; }
html[data-theme="light"] #task-prompt { color: #2b4c38; }
html[data-theme="light"] #task-explanation,
html[data-theme="light"] .task-note,
html[data-theme="light"] .log,
html[data-theme="light"] .paper-hint,
html[data-theme="light"] .sphere-hint { color: #526c58; }
html[data-theme="light"] .log .done { color: #286b4b; }
html[data-theme="light"] .app-labels { color: #315341; }
html[data-theme="light"] .app-labels span { border-color: #365e462c; background: #fffff36e; }
html[data-theme="light"] .daylight-signature { position: absolute; display: flex; flex-direction: column; align-items: center; left: 0; right: 0; top: 25svh; color: #39765c; font-family: 'Permanent Marker', cursive; line-height: .9; }
html[data-theme="light"] .daylight-signature span { font-size: clamp(20px,3vw,38px); transform: rotate(-4deg); }
html[data-theme="light"] .daylight-signature strong { font-weight: 400; font-size: clamp(95px,19vw,260px); color: #fffdf4; filter: drop-shadow(0 6px 20px #27573b30); }
html[data-theme="light"] .finale-heading p,
html[data-theme="light"] .desktop-note,
html[data-theme="light"] .legal { color: #5b715f; }
html[data-theme="light"] .video-stories { background: #f0f1e6; color: #2d4639; }
html[data-theme="light"] .films-heading h2 { color: #2d4639; }
html[data-theme="light"] .films-heading em { color: #367d67; }
html[data-theme="light"] .films-heading p,
html[data-theme="light"] .film-card > p,
html[data-theme="light"] .films-footer { color: #526e59; }
html[data-theme="light"] .film-cover { border-color: #4c69422b; box-shadow: 0 8px 28px #3250380b; }
html[data-theme="light"] .film-cover-voice { background: linear-gradient(135deg,#d6e8d9,#f9faee); }
html[data-theme="light"] .film-cover-build { background: linear-gradient(135deg,#dedeee,#f6f4ec); }
html[data-theme="light"] .film-cover-apps { background: linear-gradient(135deg,#d7e7e5,#f4f7e9); }
html[data-theme="light"] .film-cover-line { color: #355142; }
html[data-theme="light"] .film-cover-line em { color: #3e7f61; }
html[data-theme="light"] .film-number,
html[data-theme="light"] .film-state { color: #53725b; }
html[data-theme="light"] .film-orbit,
html[data-theme="light"] .film-orbit > span { border-color: #35604a36; color: #53725b; }
html[data-theme="light"] .films-footer { border-color: #365d4625; }
html[data-theme="light"] .films-footer button,
html[data-theme="light"] .films-footer a { color: #345c45; }
html[data-theme="light"] .bubble-label { background: #f7fbefed; color: #284b39; border-color: #42665030; }
html[data-theme="light"] .no-webgl .fallback-orb { filter: brightness(1.2); }
@media (max-width: 860px), (max-aspect-ratio: 5/6) {
  html[data-theme="light"] .hero-foot { left: 6vw; right: 6vw; width: auto; bottom: 4svh; gap: 15px; }
  html[data-theme="light"] .hero-sub { font-size: 11px; line-height: 1.7; max-width: 52ch; }
  html[data-theme="light"] .hero-cta > .hero-tag { font-size: 10px; margin-bottom: 14px; }
  html[data-theme="light"] .hero-cta .actions { flex-wrap: wrap; }
  html[data-theme="light"] .hero-cta .hint { font-size: 9px; gap: 8px; }
  html[data-theme="light"] .daylight-signature { top: 29svh; }
  .dock-theme { padding-inline: 10px !important; }
}
@media (min-width: 861px) and (max-height: 780px) {
  html[data-theme="light"] .hero-foot { gap: 14px; bottom: 5svh; }
  html[data-theme="light"] .hero-sub { font-size: 11px; }
  html[data-theme="light"] .hero-cta > .hero-tag { margin-bottom: 12px; }
}

/* Avoid offscreen focus-link paint in embedded browser viewports. */
.skip-link:not(:focus) { visibility: hidden; }
html[data-theme="light"] .key { background: #d5dfcf; color: #304b39; border-color: #496b4533; }

@media (max-width: 600px) {
  html[data-theme="light"] .hero-cta .actions .key-hint { display: none; }
  html[data-theme="light"] .hero-cta .actions .touch-hint { display: inline; }
  html[data-theme="light"] .hero-cta .btn { padding-inline: 12px; font-size: 10px; }
}

@media (max-width: 600px) {
  html[data-theme="light"] .hero-foot { bottom: 8svh; }
}

html[data-theme="light"] h2.mk { text-shadow: none; }
html[data-theme="light"] .agent-voice-play { background: #f9fbefef; color: #365741; border-color: #32553b30; box-shadow: 0 4px 16px #30442d17; }

html[data-theme="light"] .film-card > h3 { color: #345340; }
html[data-theme="light"] .film-orbit > span:not(.film-drop) { background: #e0ebdfbd; color: #45674e; }
