.phone-tabs { display: none; }
@media (max-width: 680px) {
  .season { --gold: #ffdd8a; --ink: #fff6e6; --muted: #e0dbef; background: radial-gradient(ellipse at 0 0, #412b71, transparent 40rem), #121a3b; }
  .season main { padding: 20px 16px calc(88px + env(safe-area-inset-bottom)); }
  .season header.top { background: #121a3b; }
  .season header.top > a:not(.wordmark) { display: none; }
  .phone-tabs { position: fixed; inset: auto 0 0; z-index: 10; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 7px 12px calc(7px + env(safe-area-inset-bottom)); background: #151a36; border-top: 1px solid #ffdc8460; box-shadow: 0 -.5rem 2rem #10162c99; }
  .phone-tabs a { display: grid; justify-items: center; align-content: center; min-height: 48px; border-radius: 14px; color: #f0e7f5; font-size: .8rem; font-weight: 700; text-decoration: none; }
  .phone-tabs a span { font-size: 1.2rem; line-height: 1.3; }
  .phone-tabs a[aria-current] { color: #34213f; background: #ffdb87; }
  .season .winter-hero, .season .play-shell .season-banner { background: #281e53; }
  .season .winter-hero h1, .season .album h1 { color: #fff3db; font-size: clamp(2.65rem, 10vw, 4rem); letter-spacing: -.025em; }
  .season .season-banner h1 { font-size: clamp(2.05rem, 8vw, 3.55rem); }
  .season .collection-card { border-color: #ecd5a6; background: #fff5e7; }
  .season .collection-card .btn { background: #63284c; color: #fff8ef; }
  .season nav.tabs button { min-height: 44px; }
  .season .player button, .season .track-list a { min-height: 44px; }
  .season .track-list a { display: inline-grid; place-items: center; padding: .35rem .9rem; border-radius: 12px; background: #ffda86; color: #382241; font-weight: 800; text-decoration: none; }
  .season .record { gap: 1.25rem; }
  .season .record-tracks { margin-top: 2.2rem; }
}
.illustration-plate { position: relative; margin: .8rem 0 0; }
.illustration-plate .scene { border: 1px solid #efd4a664; background: #251e32; }
.illustration-plate .scene img { aspect-ratio: 3 / 2; object-position: center 35%; }
.illustration-plate .scene-crop { transform: scale(1.16); }
.illustration-controls { display: flex; gap: .35rem; justify-content: center; margin: .45rem 0; }
.season .illustration-controls button { min-width: 44px; min-height: 44px; padding: .4rem; border-radius: 12px; }
.illustration-controls button[aria-pressed=true] { background: #ffdd97; color: #301c35; border-color: #ffdd97; }
@media (max-width: 680px) {
  .season .chapter > h2 { font-size: clamp(1.7rem, 7vw, 2.3rem); letter-spacing: -.035em; }
  .season .chapter > p { font-size: 1.08rem; line-height: 1.7; }
  .chapter-pages { display: grid; grid-template-columns: repeat(auto-fit, minmax(85px, 1fr)); }
  .pl-row .pl-bar { flex-basis: 100%; margin-block: .3rem; }
  .illustration-plate .scene img { aspect-ratio: 4 / 3; }
}
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/doors/fonts/atkinson-next.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("/doors/fonts/libre-baskerville.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
.season { --text: "Atkinson Hyperlegible Next", system-ui, sans-serif; --display: "Libre Baskerville", Georgia, serif; font-family: var(--text); }
.season h1, .season h2, .season h3, .season .wordmark { font-family: var(--display); font-weight: 700; }
.chapter-offline { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; margin-block: .9rem; }
.chapter-offline button { min-height: 44px; }
.chapter-offline a { padding-block: .6rem; }
.chapter-offline [role=status] { color: var(--muted); order: 1; }
.offline-library { max-width: 48rem !important; }
.saved-chapter { margin-block: .8rem; }
.saved-chapter summary { padding: .7rem 0; cursor: pointer; }
.saved-chapter audio { width: 100%; margin: .8rem 0; }
.saved-chapter img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; margin: .4rem 0; }
@font-face { font-family: "Great Vibes"; src: url("/doors/fonts/great-vibes.woff2") format("woff2"); font-weight: 400; font-display: swap; }
.season { --gold: #efd6a0; --wine: #7e2439; --evergreen: #294b38; background: radial-gradient(ellipse at 15% 0, #4e2437, transparent 33rem), #211d26; }
.season .season-script { color: #ffe1a5; font: 400 clamp(1.75rem, 6vw, 2.9rem)/1.04 "Great Vibes", cursive; margin: 0 0 .55rem; padding: .1em .08em; }
.season header.top { background: #261d29; }
.season .winter-hero, .season .play-shell .season-banner { background: #462637; border-color: #b68156; }
.season .winter-hero h1 { max-width: 14ch; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1rem; }
.front-door { position: relative; display: inline-flex; gap: .6rem; align-items: center; min-height: 54px; padding: .7rem 1.15rem; border: 2px solid #efcf90; border-radius: 15px 15px 7px 7px; background: #7a263b; color: #fff4df; box-shadow: 0 .18rem 0 #481d2b, inset 0 0 0 2px #ad5966; text-decoration: none; }
.hero-actions > a:not(.front-door) { color: #ffe2aa; }
.season .ambience-button { color: #ffe7b4; background: #1d2932d9; border: 1px solid #c8a676; min-height: 44px; border-radius: 11px; padding: .55rem .85rem; }
.ambience-control { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: .6rem; }
.ambience-control [role=status] { color: #fff0d8; font-size: .85rem; }
.season-offer { display: inline-block; padding: .75rem .85rem; color: #38252b; background: #f4e2bb; border: 1px solid #dab274; border-radius: 11px; font-weight: 700; }
.board-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: .45rem; padding: .7rem .5rem 1.1rem; }
.board-heading h2 { margin: 0; color: #fff2d6; font-size: clamp(1.3rem, 5vw, 2.45rem); }
.season .board { background: #352531; border: 2px solid #d1a568; box-shadow: 0 1rem 3rem #171015b3, inset 0 0 0 4px #492837; }
.season .board .door {
  --paper: #335240;
  border: 1px solid #ecd39c95;
  outline: 1px solid #ffe4ad65;
  outline-offset: -5px;
  border-radius: 16px 16px 6px 6px;
  box-shadow: 0 4px 0 #241920, inset 3px 0 0 #ffe5b748, inset -3px 0 0 #1613135e, 0 6px 12px #271819b0;
  text-shadow: 0 1px 0 #613c31;
}
.season .board .door:nth-child(4n+2) { --paper: #84374a; }
.season .board .door:nth-child(4n+3) { --paper: #334659; }
.season .board .door:nth-child(4n) { --paper: #785c36; }
.season .board .door::before { content: ""; position: absolute; right: 9px; top: 45%; width: 5px; height: 5px; border-radius: 50%; background: #f7d989; box-shadow: 0 1px 3px #1e1819; }
.season .board .door small { color: #fff0d3; }
.season .board .door.locked { filter: saturate(.75) brightness(.83); }
.season .board .door.open { background: #382a2ece; }
.season .chapter { color: #33252c; background: #fff1dc; border-color: #c09a71; }
.season .chapter > p, .season .chapter .muted { color: #493941; }
.season .chapter > h2 { color: #572638; }
.season .chapter .player, .season .chapter .puz, .season .chapter .ev, .season .chapter .char { background: #382c3b; color: #fff1dd; }
.season .chapter .char .muted, .season .chapter .puz .muted { color: #e9d4c2; }
.season .chapter .chapter-offline > a { color: #732e48; }
.season .chapter .chapter-offline [role=status] { color: #4c3346; }
.season .chapter .ghost { border-color: #a98479; }
.season .chapter > .ghost, .season .chapter-pages > .ghost, .season .chapter .chapter-offline .ghost { color: #59273b; }
@media (max-width: 680px) {
  .season header.top, .phone-tabs { background: #2d202e; }
  .season .winter-hero h1 { font-size: clamp(2.3rem, 10vw, 3.5rem); }
  .season .winter-hero .winter-hero-copy { padding: 1.05rem; }
  .season .board .door { min-height: 76px; }
  .season .board .door::before { right: 6px; }
  .board-heading .season-script { font-size: 2.05rem; }
}
.season .board .door { transform-origin: left center; }
.season .board .door.paid::after { content: "✦"; display: grid; place-items: center; right: 7px; top: 7px; width: 15px; height: 15px; padding: 2px; border-radius: 50%; color: #f5d6a4; font: 700 .66rem/1 var(--text); background: #a82c48; box-shadow: inset 0 0 0 1px #ef95a9a0, 0 2px 3px #21121a;}
.season .board .door.open { box-shadow: inset 4px 0 0 #bd8f615c, inset 0 0 16px #ffd99944; }
.season .demo-note, .season .note { background: #f7e6c9; color: #4d3035; border-color: #d6ad77; }
.season .chapter .score-toggle { color: #ead2bf; }
.season .chapter .puz .good { color: #caf2aa; }
.season .chapter .puz .err { color: #ffc6bf; }
@media (max-width: 680px) {
  .season .play-shell > nav.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .35rem; }
  .season .play-shell > nav.tabs button { padding-inline: .35rem; }
  .season .play-shell.is-reading > :is(.season-banner, nav.tabs, .demo-note, #sv) { display: none; }
  .season .play-shell.is-reading > .chapter { margin-top: 0; }
  .season .play-shell.is-reading .chapter > h2 { margin: .7rem 0 .45rem; }
}

/* Phone: doors high on the first screen */
@media (max-width: 640px) {
  .season .play-shell .season-banner { padding: .75rem 1rem .8rem; margin-bottom: .6rem; }
  .season .play-shell .season-banner .season-script { font-size: 1.35rem; margin: 0; }
  .season .play-shell .season-banner h1 { font-size: clamp(1.55rem, 7.4vw, 2rem); line-height: 1.05; margin: .1rem 0 .25rem; }
  .season .play-shell .season-banner #s { font-size: .9rem; margin: 0; }
  .season .play-shell > nav.tabs { margin: .4rem 0 .6rem; }
  .board-heading { padding: .5rem .5rem .6rem; justify-content: flex-end; }
  .board-heading > div:first-child { display: none; }
  .read-mode { margin-bottom: .6rem; }
}
