/* 좋은얼굴신종연치과의원 — the season picker, the motion button and the sound button: one quiet hanji dock in the
 * bottom-right corner (home), a named region (<section aria-label>). 계절: 봄 · 여름 · 가을 · 겨울 as a radio group, today's
 * season tagged 오늘. 움직임 멈추기: one round button that pauses and plays the background's own motion (WCAG 2.2.2;
 * js/seasons-ui.js). Desk: one row, picker, motion, sound. Phones (and a phone on its side): one round button in the
 * corner opens the panel beside it, the seasons above the motion and sound buttons, so the fixed chrome over the text is
 * one 48 px circle, not a 104 px block (a page with its own scene folds its dock the same way: css/scene-page.css). */

.dock { position: fixed; z-index: 30; display: flex; align-items: center; gap: 10px; pointer-events: none;
  right: max(clamp(14px, 3vw, 30px), env(safe-area-inset-right, 0px));
  bottom: max(clamp(14px, 3vw, 30px), env(safe-area-inset-bottom, 0px)); }
.dock > * { pointer-events: auto; }
/* home: the dock lies on the picture, UNDER the paper. A sheet that scrolls past the corner covers it (z 9 under main's
   10), so it never lies over text, a link or a button at any scroll position, on a phone or on a desk; between the sheets
   and at the camera stops it shows on the scene. The sections and the footer are see-through boxes over it, so only
   their paper takes taps; the gaps between the sheets pass taps through to the dock. A keyboard user's focus lifts it
   over the paper while it is inside (WCAG 2.4.11). A page with its own scene places its dock itself (css/scene-page.css). */
body:not(.sub) .dock { z-index: 9; }
body:not(.sub) .dock:has(:focus-visible) { z-index: 30; }
/* at every width: where a sheet covers the dock's place the dock is gone, not half hidden (js/seasons-ui.js sets .tucked): it
   fades out in 200 ms and ends hidden (out of the tab order and the accessibility tree), and fades back when clear */
body:not(.sub) .dock { transition: opacity .2s ease, visibility 0s linear 0s; }
body:not(.sub) .dock.tucked { opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s; }
@media (prefers-reduced-motion: reduce) { body:not(.sub) .dock, body:not(.sub) .dock.tucked { transition: none; } }
body:not(.sub) main, body:not(.sub) main > .sec, body:not(.sub) .site-footer, body:not(.sub) .home-credit-note { pointer-events: none; }
body:not(.sub) main > .sec > *, body:not(.sub) .site-footer > * { pointer-events: auto; }
.dock #sound { position: static; }   /* site.css pins the button to the corner by itself; in the dock the dock does */
/* the round button and its panel fold only on phones (below); elsewhere the panel's controls are the dock's own row */
.dock .dock-open { display: none; }
.dock .dock-panel { display: contents; }
.dock .dock-open .sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* the keyboard ring on the dock's buttons lies on the painted scene: a hanji halo under it keeps the pine ring at 6:1
   whatever is painted behind (WCAG 1.4.11; css/scene-page.css repeats it for a page scene's opaque dock) */
.dock #sound:focus-visible, .dock #motion:focus-visible, .dock .dock-open:focus-visible { outline: 3px solid var(--pine); outline-offset: 2px;
  box-shadow: 0 0 0 7px #F3E9D7, 0 8px 24px -10px rgba(40, 30, 20, .5); }

/* the whole dock exists only with scripts: the picker reloads the page into the chosen season and the sound is Web Audio,
   so without them neither could do anything (a scene page's dock and credit are added by script anyway; home's are in its
   markup) */
html:not(.js) .dock, html:not(.js) .home-credit { display: none; }
/* 움직임 멈추기 / 배경 다시 움직이기: its name for screen readers and as a tooltip, a pause or play mark on screen. Only with
   scripts (nothing to pause without them), and not under reduced motion (nothing moves) */
#motion { display: none; }
.js #motion { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer; color: var(--ink); background: rgba(243, 233, 215, .9);
  box-shadow: 0 8px 24px -10px rgba(40, 30, 20, .5), inset 0 0 0 1px rgba(43, 38, 34, .18); -webkit-tap-highlight-color: transparent; }
.js #motion[hidden] { display: none; }
#motion svg { width: 22px; height: 22px; }
#motion .m-play, #motion.is-paused .m-pause { display: none; }
#motion.is-paused .m-play { display: inline; }
#motion span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0);
  clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { .js #motion { display: none; } }

/* the picker exists only with scripts (it reloads the page into the chosen season) */
.seasons { display: none; }
.js .seasons { display: flex; align-items: center; gap: 2px; margin: 0; padding: 2px; min-width: 0; border: 0; border-radius: 999px;
  background: rgba(243, 233, 215, .9); box-shadow: 0 8px 24px -10px rgba(40, 30, 20, .5), inset 0 0 0 1px rgba(43, 38, 34, .18); }
.js .seasons[hidden] { display: none; }
.seasons .sr, .season-veil .sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.s-label { padding: 0 6px 0 12px; font: 500 14px/1 var(--font); letter-spacing: .02em; color: var(--ink-2); white-space: nowrap; }

.seasons label { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* the real radio covers its chip: taps land on it, and the keyboard and screen readers get a native radio group */
.seasons input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.s-chip { display: flex; align-items: center; justify-content: center; min-width: 46px; height: 44px; padding: 0 12px;
  border-radius: 999px; font: 500 16px/1 var(--font); color: var(--ink-2); white-space: nowrap;
  transition: background-color .25s ease, color .25s ease; }
.seasons label:hover .s-chip { color: var(--ink); background: rgba(43, 38, 34, .07); }
.seasons input:checked + .s-chip { background: rgba(43, 38, 34, .86); color: #F7EFE0; font-weight: 600; }
.seasons input:focus-visible + .s-chip { outline: 3px solid var(--pine); outline-offset: 2px; }

/* 오늘: a small paper tag above today's season */
.s-today { position: absolute; left: 50%; bottom: calc(100% + 9px); transform: translateX(-50%); padding: 4px 8px;
  border-radius: 999px; font: 600 12.5px/1 var(--font); letter-spacing: .02em; color: var(--ink); white-space: nowrap;
  background: rgba(243, 233, 215, .95); box-shadow: 0 4px 12px -6px rgba(40, 30, 20, .45), inset 0 0 0 1px rgba(43, 38, 34, .2);
  pointer-events: none; }

/* the end of the page scrolls clear of the dock: at the bottom it shows on the scene under the footer sheet */
body:not(.sub) .site-footer { padding-bottom: 128px; }

/* phones and a phone on its side (home; a page scene's dock: css/scene-page.css): one round button in the corner. It
   opens the panel to its left: the seasons on top, the motion and sound buttons (their icons; their names stay for
   readers) on the round button's own line. Today's season is a dot inside its chip rather than a tag above it. */
@media (max-width: 760px), (orientation: landscape) and (max-height: 460px) {
  body:not(.sub) .dock { flex-direction: row; align-items: center; gap: 8px; }
  body:not(.sub) .dock .dock-open { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    padding: 0; border: 0; border-radius: 50%; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent;
    background: rgba(243, 233, 215, .94); box-shadow: 0 8px 24px -10px rgba(40, 30, 20, .5), inset 0 0 0 1px rgba(43, 38, 34, .18); }
  body:not(.sub) .dock .dock-open svg { width: 24px; height: 24px; }
  body:not(.sub) .dock.open .dock-open { background: rgba(43, 38, 34, .86); color: #F7EFE0; }
  body:not(.sub) .dock .dock-open:focus-visible { box-shadow: 0 0 0 7px #F3E9D7, 0 8px 24px -10px rgba(40, 30, 20, .5); }
  body:not(.sub) .dock .dock-panel { display: none; }
  body:not(.sub) .dock.open .dock-panel { display: grid; position: absolute; right: 56px; bottom: 0; grid-template-columns: auto auto;
    justify-content: end; justify-items: end; align-items: center; gap: 6px; }
  body:not(.sub) .dock .seasons { grid-column: 1 / -1; }
  body:not(.sub) .dock .s-label { display: none; }
  body:not(.sub) .dock .s-chip { min-width: 44px; padding: 0 8px; font-size: 15px; }
  body:not(.sub) .dock .s-today { left: auto; right: 5px; top: 6px; bottom: auto; transform: none; width: 7px; height: 7px;
    padding: 0; overflow: hidden; font-size: 0; color: transparent; background: var(--persimmon, #C8502D); box-shadow: none; }
  body:not(.sub) .dock #sound { width: 48px; min-width: 0; height: 48px; justify-content: center; padding: 0; }
  body:not(.sub) .dock #sound span { position: absolute; width: 1px; height: 1px; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  body:not(.sub) .site-footer { padding-bottom: 92px; }
}

/* ======================================================================
   Home's dock in the scene's own paper (Wave 1, stream U; css/site.css holds the shared ease and duration tokens).
   Desk: one torn hanji tab (art/ui/tab.png) holding 계절, the four season tokens, the pause button and the wind-bell.
   The tokens are the scenes' own cut-outs (art/ui/make.py): a plum blossom, a green leaf, a persimmon, a snowflake,
   28 px. The season on screen sits raised with a longer shadow; today's season wears a small dot in the seal's red. The
   radios, their names (봄 · 여름 · 가을 · 겨울, kept for screen readers), the keyboard order and the focus ring are the
   same as before. Phones: one round paper token for the season on screen; a tap fans the four tokens out of it, with
   the pause and the bell beside it. The dock's Wave 0 behaviour stays: where a sheet covers its place it is gone
   (js/seasons-ui.js .tucked, which now also tests the tab itself). A page with its own scene keeps its dock as it was.
   ====================================================================== */
body:not(.sub) .tok { display: block; flex: none; width: 28px; height: 28px; background: center / contain no-repeat; pointer-events: none;
  filter: drop-shadow(0 1px 1px rgba(60, 40, 20, .38));
  transition: transform var(--t-state) var(--ease-paper), filter var(--t-state) var(--ease-paper); }
body:not(.sub) .tok-spring, [data-season=spring] body:not(.sub) .tok-now { background-image: url(../art/ui/spring.webp?v=d3197531); }
body:not(.sub) .tok-summer, [data-season=summer] body:not(.sub) .tok-now { background-image: url(../art/ui/summer.webp?v=e7644983); }
body:not(.sub) .tok-autumn, body:not(.sub) .tok-now { background-image: url(../art/ui/autumn.webp?v=c35265a8); }
body:not(.sub) .tok-winter, [data-season=winter] body:not(.sub) .tok-now { background-image: url(../art/ui/winter.webp?v=0b4a3c47); }
body:not(.sub) .dock .s-name { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* desk: the tab */
body:not(.sub) .dock { gap: 0; padding: 7px 14px 7px 8px; filter: drop-shadow(0 8px 12px rgba(40, 30, 20, .3)); }
body:not(.sub) .dock::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url(../art/hanji-tile.jpg?v=e6b31083) 0 0 / 360px auto, var(--hanji);
  -webkit-mask: var(--tab-mask); mask: var(--tab-mask); }
body:not(.sub) .dock .seasons { gap: 0; padding: 0 6px 0 0; margin-right: 6px; border-radius: 0; background: none; box-shadow: none;
  border-right: 1px solid rgba(43, 38, 34, .18); }
body:not(.sub) .dock .s-label { padding: 0 4px 0 8px; font: 600 14px/1 var(--font); color: var(--ink-2); }
body:not(.sub) .dock .s-chip { width: 44px; min-width: 44px; height: 44px; padding: 0; border-radius: 50%; background: none; transition: none; }
body:not(.sub) .dock .seasons label:hover .s-chip, body:not(.sub) .dock .seasons input:checked + .s-chip { background: none; color: inherit; }
/* the seasons not on screen lie flat and a little faded into the tab; the one on screen stands on its own raised round
   of hanji, at full colour (a raise alone was too quiet: the persimmon, the boldest cut-out, read as chosen whatever
   was) */
body:not(.sub) .dock .seasons input:not(:checked) + .s-chip .tok { opacity: .72; filter: saturate(.6) drop-shadow(0 1px 1px rgba(60, 40, 20, .3)); }
body:not(.sub) .dock .seasons label:hover input:not(:checked) + .s-chip .tok { opacity: 1; transform: translateY(-1px); filter: saturate(1) drop-shadow(0 2px 2px rgba(60, 40, 20, .36)); }
body:not(.sub) .dock .seasons input:checked + .s-chip { position: relative; isolation: isolate; filter: drop-shadow(0 3px 3px rgba(40, 30, 20, .38)); }
body:not(.sub) .dock .seasons input:checked + .s-chip::before { content: ""; position: absolute; inset: 1px; z-index: -1; pointer-events: none;
  background: url(../art/hanji-tile.jpg?v=e6b31083) 0 0 / 240px auto, #FBF6EC; -webkit-mask: var(--disc-mask); mask: var(--disc-mask); }
body:not(.sub) .dock .seasons input:checked + .s-chip .tok { transform: translateY(-1px) scale(1.06); filter: drop-shadow(0 2px 2px rgba(60, 40, 20, .4)); }
body:not(.sub) .dock .seasons input:active + .s-chip .tok { transform: translateY(0) scale(1.02); transition-duration: var(--t-press); }
/* today: a 7 px dot of the seal's red on the token's shoulder (its word 오늘 stays for screen readers) */
body:not(.sub) .dock .s-today { left: auto; right: 3px; top: 3px; bottom: auto; transform: none; width: 7px; height: 7px; padding: 0;
  border-radius: 50%; overflow: hidden; font-size: 0; color: transparent; background: var(--seal); box-shadow: 0 0 0 1.5px #F3E9D7; }
body:not(.sub) .dock #motion { width: 44px; height: 44px; margin-right: 4px; color: var(--ink); background: none; box-shadow: none;
  transition: transform var(--t-press) var(--ease-paper), background-color var(--t-state) var(--ease-paper); }
body:not(.sub) .dock #motion:hover { background: rgba(43, 38, 34, .07); }
body:not(.sub) .dock #motion:active { transform: translateY(1px) scale(.96); }
body:not(.sub) .dock #sound, body:not(.sub) .dock #sound[aria-pressed="true"] { min-height: 44px; min-width: 0; padding: 0 6px 0 4px; gap: 6px;
  border-radius: 8px; color: var(--ink); background: none; box-shadow: none; transition: background-color var(--t-state) var(--ease-paper); }
body:not(.sub) .dock #sound:hover { background: rgba(43, 38, 34, .07); }
body:not(.sub) .dock #sound span { min-width: 7.6em; text-align: left; }   /* 켜기 / 끄기 do not change the tab's width */

/* the wind-bell (풍경): it hangs still while the sound is off; on, it sways from its loop and the fish swings after it,
   and two small sound arcs show beside it (they also say "on" under reduced motion, where nothing sways) */
body:not(.sub) #sound svg.bell, body:not(.sub) .sound-twin svg.bell { order: -1; width: 28px; height: 30px; overflow: visible; }
body:not(.sub) :is(#sound, .sound-twin) .bell-sway { transform-box: view-box; transform-origin: 12px 1px; }
body:not(.sub) :is(#sound, .sound-twin) .bell-fish { transform-box: view-box; transform-origin: 12px 20px; }
body:not(.sub) #sound[aria-pressed="true"] .bell-sway, body:not(.sub) .sound-twin .bell-sway { animation: bell-sway 3.4s ease-in-out infinite; }
body:not(.sub) #sound[aria-pressed="true"] .bell-fish, body:not(.sub) .sound-twin .bell-fish { animation: bell-fish 3.4s ease-in-out -.5s infinite; }
@keyframes bell-sway { 0%, 100% { transform: rotate(-4deg); } 24% { transform: rotate(5deg); } 50% { transform: rotate(-2deg); } 73% { transform: rotate(6deg); } }
@keyframes bell-fish { 0%, 100% { transform: rotate(-10deg); } 26% { transform: rotate(9deg); } 52% { transform: rotate(-5deg); } 75% { transform: rotate(12deg); } }

/* phones (and a phone on its side): round paper tokens, no tab */
@media (max-width: 760px), (orientation: landscape) and (max-height: 460px) {
  body:not(.sub) .dock { padding: 0; filter: none; }
  body:not(.sub) .dock::before { content: none; }
  body:not(.sub) .dock .dock-open, body:not(.sub) .dock.open .dock-open, body:not(.sub) .dock #motion, body:not(.sub) .dock #sound,
  body:not(.sub) .dock #sound[aria-pressed="true"], body:not(.sub) .dock .s-chip {
    position: relative; isolation: isolate; width: 48px; height: 48px; margin: 0; padding: 0; border-radius: 50%; color: var(--ink);
    background: none; box-shadow: none; filter: drop-shadow(0 4px 5px rgba(40, 30, 20, .34)); }
  body:not(.sub) .dock :is(.dock-open, #motion, #sound, .s-chip)::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: url(../art/hanji-tile.jpg?v=e6b31083) 0 0 / 300px auto, var(--hanji);
    -webkit-mask: var(--disc-mask); mask: var(--disc-mask); }
  body:not(.sub) .dock .dock-open .tok { width: 30px; height: 30px; }
  body:not(.sub) .dock .dock-open { transition: transform var(--t-press) var(--ease-paper), filter var(--t-state) var(--ease-paper); }
  body:not(.sub) .dock.open .dock-open { transform: translateY(1px); filter: drop-shadow(0 1px 2px rgba(40, 30, 20, .4)); }
  /* site.css pins a lone #sound to the corner with right / bottom; as a relative token those offsets would push it 14-30 px
     up and left, over the 가을 / 겨울 tokens and the pause button (INT2, 11-14) */
  body:not(.sub) .dock #sound { right: auto; bottom: auto; }
  body:not(.sub) .dock #sound svg.bell { width: 26px; height: 28px; }
  body:not(.sub) .dock #sound span { min-width: 0; }
  body:not(.sub) .dock .seasons { gap: 6px; margin: 0; padding: 0; border: 0; }
  /* the fold has room for 48 px season tokens, the size of the round button, the pause and the bell (INT2) */
  body:not(.sub) .dock .s-chip { width: 48px; min-width: 48px; height: 48px; }
  body:not(.sub) .dock .seasons input:checked + .s-chip { transform: translateY(-3px); filter: drop-shadow(0 7px 6px rgba(40, 30, 20, .4)); }
  body:not(.sub) .dock .seasons input:checked + .s-chip .tok { transform: scale(1.06); filter: drop-shadow(0 1px 1px rgba(60, 40, 20, .38)); }
  body:not(.sub) .dock .s-today { right: 2px; top: 2px; }
  /* the fan: each token leaves the round one and lands in its place, a little turned, 20 ms apart. It never makes a
     target smaller than 44 px on the way (48 x .92), and the pause and the bell travel together, so neither ever lies
     over the other (INT2: at .6 and 100 / 50 px apart, a tap 200 ms after opening met 43 px tokens and the pause
     crossing the bell on a phone on its side) */
  body:not(.sub) .dock .seasons label { transform: rotate(var(--r, 0deg)); }
  body:not(.sub) .dock .seasons label:nth-of-type(1) { --k: 4; --r: -6deg; --d: 60ms; }
  body:not(.sub) .dock .seasons label:nth-of-type(2) { --k: 3; --r: 3deg; --d: 40ms; }
  body:not(.sub) .dock .seasons label:nth-of-type(3) { --k: 2; --r: -2deg; --d: 20ms; }
  body:not(.sub) .dock .seasons label:nth-of-type(4) { --k: 1; --r: 5deg; --d: 0ms; }
  body:not(.sub) .dock #motion { --k: 1; --j: 0; --d: 0ms; }
  body:not(.sub) .dock #sound { --k: 1; --j: 0; --d: 0ms; }
  body:not(.sub) .dock.open :is(.seasons label, #motion, #sound) { animation: token-fan var(--t-sheet) var(--ease-paper) var(--d, 0ms) both; }
  @keyframes token-fan {
    from { opacity: 0; transform: translate(calc(var(--k, 1) * 50px), calc(var(--j, 1) * 54px)) scale(.92); }
    to { opacity: 1; transform: rotate(var(--r, 0deg)); }
  }
  /* open, the panel is the reader's own request and lies over the paper, so the hero's glow and buttons never take its
     taps (a sheet that meets it closes it: js/seasons-ui.js) */
  body:not(.sub) .dock.open { z-index: 30; }
}
/* a phone on its side: the hero fills the short screen down to the dock, its text and buttons centred, so the panel
   stands up the right edge above the round button (the four seasons in a column, the pause and the bell beside the
   lowest two), clear of them, instead of lying across them (INT2: at 844 x 390 and 740 x 360 the tokens lay under the
   hero's glow and its 진료 시간 button and took no taps; lifted, two rows or one would have covered the address and the
   call button). The tokens rise out of the round button. */
@media (orientation: landscape) and (max-height: 460px) {
  body:not(.sub) .dock.open .dock-panel { right: 0; bottom: 56px; width: max-content; grid-template-columns: auto auto;
    grid-template-rows: repeat(4, auto); align-items: end; }
  body:not(.sub) .dock .seasons { grid-column: 2; grid-row: 1 / span 4; flex-direction: column; }
  body:not(.sub) .dock #motion { grid-column: 1; grid-row: 3; }
  body:not(.sub) .dock #sound { grid-column: 1; grid-row: 4; }
  body:not(.sub) .dock .seasons label:nth-of-type(1) { --k: 0; --j: 4; }
  body:not(.sub) .dock .seasons label:nth-of-type(2) { --k: 0; --j: 3; }
  body:not(.sub) .dock .seasons label:nth-of-type(3) { --k: 0; --j: 2; }
  body:not(.sub) .dock .seasons label:nth-of-type(4) { --k: 0; --j: 1; }
  body:not(.sub) .dock #motion, body:not(.sub) .dock #sound { --k: 1; --j: 1; }
}
@media (prefers-reduced-motion: reduce) {
  body:not(.sub) .tok, body:not(.sub) .dock #motion, body:not(.sub) .dock #sound, body:not(.sub) .dock .dock-open { transition: none; }
  body:not(.sub) .dock.open :is(.seasons label, #motion, #sound) { animation: none; }
  body:not(.sub) :is(#sound, .sound-twin) :is(.bell-sway, .bell-fish) { animation: none !important; }
}
@media (forced-colors: active) {
  body:not(.sub) .dock::before, body:not(.sub) .dock :is(.dock-open, #motion, #sound, .s-chip)::before { content: none; }
  body:not(.sub) .seasons input:checked + .s-chip { outline: 3px solid Highlight; outline-offset: -3px; }
}

/* the page turn between seasons: a hanji veil that comes up before the reload and lifts once the new scene is drawn.
   It never takes a tap, and without scripts it lifts by itself. */
.season-veil { position: fixed; inset: 0; z-index: 60; background: var(--hanji); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, visibility 0s linear .22s; }
.season-leaving .season-veil { opacity: 1; visibility: visible; transition: opacity .22s ease; }
@keyframes season-veil-out { to { opacity: 0; visibility: hidden; } }
.season-switching .season-veil { opacity: 1; visibility: visible; transition: none; animation: season-veil-out .5s ease 2s forwards; }
.season-arrived .season-veil { opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility 0s linear .55s; }

@media (prefers-reduced-motion: reduce) {
  .s-chip { transition: none; }
  .season-veil { display: none; }
}

/* Windows High Contrast (forced colors): the system paints every background as Canvas and drops box-shadows, so the
   chosen season would differ from the others only by weight, and the round buttons would lose their edge */
@media (forced-colors: active) {
  .seasons input:checked + .s-chip, .dock #motion.is-paused { forced-color-adjust: none; background: Highlight !important; color: HighlightText !important; }
  .dock #sound, .dock #motion, .dock .dock-open { border: 2px solid ButtonText !important; }
  .seasons .s-today { forced-color-adjust: none; }
}
@media print { .dock, .season-veil { display: none !important; } }
