/* Palette Girlies color games (/tests/play, and the color space on /seasons). Loaded only by those pages, on top of site.css.
   Paper, flat exact swatches, painterly edges; the watercolor is the frame, never the data. Motion is eased and unhurried (200 to 600 ms)
   and all of it is switched off under prefers-reduced-motion, with the same content. Text is ink, nothing under 12.5px, taps 44px or more. */

/* ---------- the page: three editorial cards and one stage ---------- */
.gm-body { padding-top: 6px; }
.gm-cards { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.gm-card { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: end; gap: 7px; min-height: 168px; padding: 18px 18px 16px; background: #FFFDF8; box-shadow: var(--shadow-paper); border-radius: 2px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.gm-card:hover { transform: translateY(-2px) rotate(-.3deg); }
.gm-card.is-open { box-shadow: 0 0 0 2px var(--ink), var(--shadow-paper); }
.gm-bloom { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.gm-chips { position: absolute; bottom: 20px; right: 20px; display: flex; gap: 5px; transform: rotate(3deg); }
.gm-chips i { display: block; width: 26px; height: 32px; background: var(--c); border: 3px solid #FFFDF8; box-shadow: 0 1px 0 rgba(43, 34, 48, .14), 0 6px 10px -6px rgba(43, 34, 48, .5); }
.gm-chips i:nth-child(2) { transform: translateY(5px) rotate(4deg); }
.gm-chips i:nth-child(3) { transform: translateY(-2px) rotate(-3deg); }
.gm-time { font: 700 13.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--berry-dark); }
.gm-title { font: 600 clamp(32px, 8.4vw, 42px)/1 var(--serif); letter-spacing: -.005em; }
.gm-play { display: block; min-height: 44px; margin: 0; padding: 0; background: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.gm-play::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.gm-play:focus-visible { outline: none; }
.gm-play:focus-visible::after { outline: 3px solid var(--berry); outline-offset: -4px; }
.gm-line { font-size: 17px; line-height: 1.4; color: var(--ink); max-width: 24em; }
.gm-go { justify-self: start; margin-top: 4px; padding: 7px 16px 8px; font: 700 16px/1 var(--sans); color: #FFFDF8; background: var(--ink); border-radius: 3px 12px 4px 10px / 10px 4px 12px 3px; transition: background .25s var(--ease), transform .25s var(--ease); }
.gm-card:hover .gm-go { background: var(--berry); transform: translateX(3px); }
.gm-card.is-open .gm-go { background: var(--berry); }
@media (min-width: 900px) { .gm-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .gm-card { min-height: 236px; padding: 22px 22px 20px; } }

.gm-stage { margin: 22px auto 0; padding: 14px 12px 22px; background: #FFFDF8; box-shadow: var(--shadow-paper); border-radius: 2px; scroll-margin-top: 10px; overflow: clip; }
.gm-stage[hidden] { display: none; }
.gm-stage-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.gm-back { min-height: 44px; padding: 8px 4px; background: none; border: 0; font: 700 16.5px/1 var(--sans); color: var(--berry-dark); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.gm-kicker { font: 700 13.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--berry-dark); }
.gm-stage h2 { font-size: clamp(30px, 7.4vw, 44px); line-height: 1.02; margin: 2px 0 6px; }
.gm-stage-line { font-size: 17px; line-height: 1.45; color: var(--ink); max-width: 36em; margin-bottom: 14px; }
@media (min-width: 700px) { .gm-stage { padding: 20px 28px 30px; } }
.gm-panel[hidden] { display: none; }
.gm-panel--narrow { max-width: 620px; margin-left: auto; margin-right: auto; }
.gm-noscript { padding: 14px; background: var(--blush-soft); border-radius: 3px; font-size: 17px; }
.gm-embed { margin-top: 44px; }
.gm-embed > h2 { font-size: clamp(30px, 7.4vw, 44px); line-height: 1.02; }
.gm-embed > p { margin-top: 10px; max-width: 36em; }
.gm-embed .gm-stage { margin-top: 16px; }
.gw-fail { padding: 14px; background: var(--blush-soft); border-radius: 3px; font-size: 17px; }

/* ---------- parts the games share ---------- */
.gw [hidden] { display: none !important; }
.gw button { font-family: var(--sans); color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.gw-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.gw-count { font: 700 13.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.gw-dots { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.gw-dot { position: relative; width: 16px; height: 16px; border: 1.5px dashed rgba(43, 34, 48, .38); background: transparent; transition: background .35s var(--ease), border-color .35s var(--ease); }
.gw-dot.is-now { border: 1.5px solid var(--ink); }
.gw-dot.is-ok, .gw-dot.is-off { background: var(--c); }
.gw-dot.is-ok { border: 1.5px solid rgba(43, 34, 48, .55); }
.gw-dot.is-off { border: 1.5px dashed var(--ink); }
.gw-dot svg { position: absolute; right: -6px; bottom: -6px; width: 15px; height: 15px; padding: 1px; background: #FFFDF8; color: var(--ink); border-radius: 50%; box-shadow: 0 0 0 1px rgba(43, 34, 48, .35); }
.gw-dots--end { flex-wrap: wrap; justify-content: center; gap: 6px; margin: 14px 0 0; }
.gw-dots--end .gw-dot { width: 22px; height: 22px; }

.gw-next { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 12px 20px; font: 700 18px/1 var(--sans); color: #FFFDF8 !important; background: var(--ink); border: 0; border-radius: 3px 12px 4px 10px / 10px 4px 12px 3px; transition: background .25s var(--ease), transform .25s var(--ease); }
.gw-next:hover { background: var(--berry); }
.gw-next:active { transform: translateY(1px); }
.gw-link { min-height: 44px; padding: 8px 2px; background: none; border: 0; font: 700 17px/1.2 var(--sans); color: var(--berry-dark) !important; text-decoration: underline; text-underline-offset: 3px; text-align: left; }
.gw-link:hover { color: var(--ink) !important; }
.gw-actions { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 12px; }
.gw-step { margin-top: 18px; display: flex; }
.gw-step .btn { width: 100%; padding-left: 20px; padding-right: 20px; text-align: center; }
.gw-step .more { padding: 10px 0; }
@media (min-width: 600px) { .gw-step .btn { width: auto; } }

/* end screen */
.gw-end { display: grid; justify-items: center; text-align: center; padding-top: 6px; }
.gw-score { font: 600 clamp(26px, 7vw, 34px)/1 var(--serif); }
.gw-big { font: 600 clamp(84px, 26vw, 128px)/.9 var(--serif); color: var(--berry); margin-right: .16em; }
.gw-of { word-spacing: .2em; }
.gw-endline { margin-top: 14px; max-width: 30em; font-size: 18px; line-height: 1.45; }
.gw-end .gw-actions { justify-content: center; }
.gw-end .gw-step { justify-content: center; width: 100%; }
.gw-missed { width: 100%; margin-top: 22px; text-align: left; }
.gw-missed h4 { font-size: 24px; margin-bottom: 10px; text-align: center; }
.gw-pairs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gw-pair { display: grid; gap: 10px; padding: 12px 12px 14px; background: var(--paper); border: 1.5px solid rgba(43, 34, 48, .2); border-radius: 3px 12px 4px 10px / 10px 4px 12px 3px; }
.gw-pair-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gw-pair-side { display: grid; gap: 3px; justify-items: start; }
.gw-pair-chip { display: block; width: 100%; height: 64px; margin-bottom: 5px; box-shadow: inset 0 0 0 1px rgba(43, 34, 48, .14); }
.gw-pair-side.is-missed .gw-pair-chip { outline: 2px dashed var(--ink); outline-offset: 2px; }
.gw-pair-lab { font: 700 13.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.gw-pair-name { font: 700 16px/1.2 var(--sans); }
.gw-pair-why { font-size: 16.5px; line-height: 1.4; }

/* ---------- game 1: Warm or cool? ---------- */
.gw-table { position: relative; display: grid; place-items: center; height: clamp(250px, 74vw, 320px); margin: 6px -12px 0; }
@media (min-width: 700px) { .gw-table { margin-left: -28px; margin-right: -28px; } }
.gw-bloom { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: multiply; pointer-events: none; }
.gw-card { position: relative; z-index: 1; width: min(60vw, 210px); aspect-ratio: 1 / 1.16; display: grid; grid-template-rows: 1fr auto; gap: 6px; padding: 10px 10px 8px; background: #FFFDF8; box-shadow: 0 0 0 1px rgba(43, 34, 48, .12), 0 1px 0 rgba(43, 34, 48, .06), 0 20px 26px -16px rgba(43, 34, 48, .6); border-radius: 2px; transform: rotate(-1.2deg); touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; will-change: transform; }
.gw-card.is-drag { cursor: grabbing; }
.gw-card.is-in { animation: gw-in .46s var(--ease) backwards; }
@keyframes gw-in { from { opacity: 0; transform: translateY(18px) rotate(-3.5deg) scale(.96); } }
.gw-chip { min-height: 0; box-shadow: inset 0 0 0 1px rgba(43, 34, 48, .1); transition: background .3s var(--ease); }
.gw-name { min-height: 22px; font: 700 16px/22px var(--sans); text-align: center; opacity: 0; transition: opacity .3s var(--ease); }
.gw-card.is-placed .gw-name { opacity: 1; }
.gw-side { position: absolute; top: 12px; padding: 2px 10px 3px; font: 600 20px/1.1 var(--serif); background: #FFFDF8; border: 1.5px solid var(--ink); border-radius: 3px 9px 3px 9px; opacity: 0; pointer-events: none; }
.gw-side--cool { left: -8px; transform: rotate(-4deg); }
.gw-side--warm { right: -8px; transform: rotate(4deg); }
.gw-answers { margin-top: 12px; display: grid; gap: 10px; }
.gw-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gw-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 62px; padding: 8px 12px; font: 600 27px/1 var(--serif) !important; border: 2px solid var(--ink); border-radius: 4px 14px 5px 12px / 12px 5px 14px 4px; box-shadow: 3px 3px 0 rgba(43, 34, 48, .16); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease); }
.gw-btn--cool { background: #E4DCEF; }
.gw-btn--warm { background: #F1DFB4; }
.gw-btn:hover { transform: translateY(-2px); box-shadow: 3px 5px 0 rgba(43, 34, 48, .18); }
.gw-btn:active { transform: translateY(1px); box-shadow: 1px 1px 0 rgba(43, 34, 48, .16); }
.gw-hint { text-align: center; font-size: 16px; line-height: 1.4; color: var(--ink-soft); }
.gw-fb { margin-top: 12px; display: grid; gap: 10px; }
.gw-fb.is-in { animation: gw-up .4s var(--ease) backwards; }
@keyframes gw-up { from { opacity: 0; transform: translateY(12px); } }
.gw-verdict { font: 600 clamp(25px, 6.6vw, 30px)/1.1 var(--serif); }
.gw-verdict svg { display: inline-block; vertical-align: -1px; width: 22px; height: 22px; padding: 3px; margin-right: 2px; background: var(--blush-soft); color: var(--ink); border-radius: 50%; }
.gw-why { font-size: 17.5px; line-height: 1.45; }
.gw-meter { margin: 4px 0 2px; }
.gw-track { position: relative; height: 14px; border-bottom: 1.5px solid var(--ink-muted); }
.gw-track i { position: absolute; bottom: -1.5px; width: 1.5px; height: 8px; background: var(--ink-muted); }
.gw-mdot { position: absolute; bottom: -9px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; border: 2px solid var(--ink); box-shadow: 0 0 0 3px #FFFDF8; opacity: 0; transition: left .7s var(--ease), opacity .3s var(--ease); text-decoration: none; }
.gw-ends { display: flex; justify-content: space-between; margin-top: 14px; font-size: 14px; color: var(--ink-soft); }

/* ---------- game 2: Mix it ---------- */
.mx-stick { position: sticky; top: 0; z-index: 4; margin: 0 -12px; padding: 8px 12px 4px; background: #FFFDF8; }
.gw-play.is-done .mx-stick { position: static; }
.mx-board { position: relative; display: block; padding-bottom: 12px; }
.mx-mine { margin: 0; }
.mx-pane { position: relative; aspect-ratio: 1.9 / 1; background: #FFFDF8; box-shadow: 0 0 0 1px rgba(43, 34, 48, .12), var(--shadow-paper); border-radius: 2px; overflow: hidden; }
.mx-wash { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: multiply; pointer-events: none; opacity: 0; transition: opacity .3s linear; }
.mx-wash.is-on { opacity: 1; }
.mx-mine figcaption { position: absolute; left: 10px; top: 9px; z-index: 2; font: 700 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.mx-mine { position: relative; }
.mx-goal { position: absolute; right: 8px; bottom: -4px; width: 34%; max-width: 150px; margin: 0; padding: 6px 6px 5px; background: #FFFDF8; box-shadow: 0 0 0 1px rgba(43, 34, 48, .14), 0 14px 18px -10px rgba(43, 34, 48, .6); transform: rotate(2.4deg); }
.mx-chip { aspect-ratio: 1 / .6; box-shadow: inset 0 0 0 1px rgba(43, 34, 48, .1); }
.mx-goal figcaption { margin-top: 4px; font: 700 13px/1.1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.mx-tname { display: block; margin-top: 1px; font: 700 15.5px/1.15 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.mx-status { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 0 12px; margin: 4px 0 2px; min-height: 1.15em; font: 600 clamp(24px, 6.4vw, 30px)/1.1 var(--serif); text-align: center; }
.mx-trend { font: 700 14px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--berry-dark); }
.mx-status[data-near="1"] { color: var(--berry-dark); }
.mx-controls { display: grid; gap: 8px; margin-top: 6px; }
.mx-row { display: grid; gap: 4px; padding: 8px 12px 10px; background: var(--paper); border: 1.5px solid rgba(43, 34, 48, .18); border-radius: 3px 12px 4px 10px / 10px 4px 12px 3px; }
.mx-axname { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 16.5px; line-height: 1.2; }
.mx-axname b { font-weight: 700; }
.mx-word { font: 600 20px/1 var(--serif); color: var(--berry-dark); }
.mx-scale { display: flex; align-items: center; gap: 10px; }
.mx-scale > span { flex: none; width: 3.2em; font-size: 14px; color: var(--ink-soft); }
.mx-scale > span:last-child { text-align: right; }
.mx-bar { position: relative; flex: 1; height: 14px; border-bottom: 1.5px solid var(--ink-muted); }
.mx-bar i { position: absolute; bottom: -1.5px; width: 1.5px; height: 8px; background: var(--ink-muted); }
.mx-dot { position: absolute; bottom: -9px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: #FFFDF8; border: 2px solid var(--ink); box-shadow: 0 0 0 3px var(--paper); transition: left .4s var(--ease); text-decoration: none; }
.mx-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.mx-drop { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 6px 10px; font: 700 17px/1 var(--sans) !important; background: #FFFDF8; border: 2px solid var(--ink); border-radius: 4px 14px 5px 12px / 12px 5px 14px 4px; box-shadow: 2px 2px 0 rgba(43, 34, 48, .16); touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.mx-drop:hover { transform: translateY(-1px); }
.mx-drop:active { transform: translateY(1px) scale(.98); box-shadow: 0 0 0 rgba(43, 34, 48, .16); }
.mx-drop.is-hint { box-shadow: 0 0 0 3px var(--berry), 2px 2px 0 3px rgba(43, 34, 48, .16); background: var(--blush-soft); }
.mx-dropicon { flex: none; }
.mx-drop--warm .mx-dropicon { color: #E0A83B; } .mx-drop--cool .mx-dropicon { color: #8E9CD8; }
.mx-drop--clear .mx-dropicon { color: #C8447A; } .mx-drop--soft .mx-dropicon { color: #CDBFB8; }
.mx-drop--light .mx-dropicon { color: #FBF3E4; } .mx-drop--deep .mx-dropicon { color: #4A2545; }
.mx-hintbtn { padding: 0 8px; min-height: 44px; margin: -8px 0; }
.mx-hintbtn[aria-pressed="true"] { color: var(--ink) !important; }
.mx-reveal { display: grid; gap: 10px; margin-top: 6px; padding: 14px 14px 16px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 3px 12px 4px 10px / 10px 4px 12px 3px; }
.mx-reveal[hidden] { display: none; }
.mx-reveal.is-in { animation: gw-up .45s var(--ease) backwards; }
.mx-rtitle { font: 600 clamp(24px, 6.4vw, 30px)/1.12 var(--serif); }
.mx-rtitle b { font-weight: 600; color: var(--berry); }
.mx-rhex { font: 700 14.5px/1 var(--sans); letter-spacing: .08em; color: var(--ink-soft); }
.mx-words { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mx-words li { display: grid; gap: 3px; min-width: 0; padding: 8px 3px 9px; background: #FFFDF8; border: 1.5px solid rgba(43, 34, 48, .2); border-radius: 3px; text-align: center; }
.mx-words b { font: 600 clamp(19px, 5.2vw, 24px)/1 var(--serif); }
.mx-words span { font: 700 13.5px/1.1 var(--sans); color: var(--ink-soft); }
.mx-rline { font-size: 17.5px; line-height: 1.45; }
.mx-done { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; width: 100%; text-align: left; }
.mx-done li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; background: var(--paper); border: 1.5px solid rgba(43, 34, 48, .18); border-radius: 3px 12px 4px 10px / 10px 4px 12px 3px; }
.mx-done-chip { flex: none; width: 52px; height: 52px; box-shadow: inset 0 0 0 1px rgba(43, 34, 48, .14); }
.mx-done-name { font-size: 17.5px; line-height: 1.25; }
.mx-done-words { font-size: 15.5px; color: var(--ink-soft); }

/* ---------- game 3: where your season lives ---------- */
.cs-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding-bottom: 6px; }
.cs-plot { position: sticky; top: 0; z-index: 6; margin: 0; background: #FFFDF8; border: 1.5px solid var(--ink); border-radius: 3px 12px 4px 10px / 10px 4px 12px 3px; overflow: hidden; align-self: start; }
.cs-box { position: relative; height: clamp(250px, 41vh, 330px); }
.cs-cv { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.cs-cv:active { cursor: grabbing; }
.cs-cv:focus-visible { outline-offset: -4px; }
.cs-hint { position: absolute; left: 10px; top: 8px; padding: 2px 8px; font-size: 14px; font-weight: 700; color: var(--ink-soft); background: #FFFDF8; border: 1.5px solid var(--ink); border-radius: 3px 8px 3px 8px; transition: opacity .5s; pointer-events: none; }
.cs-hint.off { opacity: 0; }
.cs-stop { position: absolute; right: 8px; bottom: 8px; min-height: 44px; padding: 4px 10px; font: 700 14px/1.1 var(--sans); background: #FFFDF8; border: 1.5px solid var(--ink); border-radius: 3px 8px 3px 8px; }
.cs-stop[hidden] { display: none; }
.cs-read { display: flex; align-items: flex-start; gap: 10px; min-height: 66px; padding: 8px 14px 10px; border-top: 1.5px solid var(--ink); font-size: 16px; line-height: 1.4; }
.cs-rchip { flex: none; width: 26px; height: 26px; margin-top: 1px; border: 1px solid rgba(43, 34, 48, .45); border-radius: 3px; }
.cs-rchip[hidden] { display: none; }
.cs-rtxt { min-width: 0; }
.cs-dim { color: var(--ink-soft); }
.cs-side { display: grid; gap: 16px; align-content: start; }
.cs-card { padding: 14px 14px 16px; background: var(--paper); border: 1.5px solid rgba(43, 34, 48, .2); border-radius: 3px 12px 4px 10px / 10px 4px 12px 3px; }
.cs-card > h3 { font-size: 26px; margin-bottom: 12px; }
.cs-pick { display: grid; gap: 8px; }
.cs-row { display: grid; grid-template-columns: 74px 1fr 1fr 1fr; gap: 8px; align-items: center; }
.cs-fam { font: 700 14px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--berry-dark); }
.cs-pill { min-height: 44px; padding: 6px 4px; font: 600 16.5px/1.1 var(--sans) !important; text-align: center; background: #FFFDF8; border: 1.5px solid var(--ink); border-radius: 3px 12px 4px 10px / 10px 4px 12px 3px; transition: background .2s var(--ease), color .2s var(--ease); }
.cs-pill:hover { background: var(--blush-soft); }
.cs-pill[aria-pressed="true"] { background: var(--ink); color: var(--paper) !important; }
.cs-all { justify-self: start; padding-left: 16px; padding-right: 16px; }
.cs-axes { display: grid; gap: 8px; }
.cs-axis { background: #FFFDF8; border: 1.5px solid var(--ink); border-radius: 3px 12px 4px 10px / 10px 4px 12px 3px; }
.cs-ax { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 8px 12px; text-align: left; background: none; border: 0; }
.cs-num { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border: 1.5px solid var(--ink); border-radius: 50%; font: 700 15px/1 var(--sans); }
.cs-axt { font: 600 22px/1.1 var(--serif); }
.cs-axs { margin-left: auto; font-size: 15.5px; color: var(--ink-soft); text-align: right; }
.cs-cap { margin: 0; padding: 0 12px 12px 50px; font-size: 17px; line-height: 1.5; }
.cs-cap[hidden] { display: none; }
.cs-axis.on { background: var(--blush-soft); border-color: var(--berry-dark); }
.cs-axis.on .cs-num { background: var(--berry); border-color: var(--berry); color: #fff; }
.cs-bars { display: grid; gap: 14px; }
.cs-bars[hidden] { display: none; }
.cs-bl { display: flex; justify-content: space-between; gap: 10px; font-size: 16.5px; }
.cs-bl b { font-weight: 700; }
.cs-track { position: relative; height: 12px; margin: 6px 0 2px; border-bottom: 1.5px solid var(--ink-muted); }
.cs-track i { position: absolute; bottom: -1.5px; width: 1.5px; height: 8px; background: var(--ink-muted); }
.cs-track u { position: absolute; bottom: 0; height: 12px; background: var(--ink-muted); border-radius: 2px; text-decoration: none; transition: left .3s var(--ease), width .3s var(--ease); }
.cs-bar.on .cs-track u { background: var(--berry); }
.cs-ends { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-soft); }
.cs-go { display: inline-block; margin-top: 14px; }
.cs-go[hidden] { display: none; }
.cs .gw-step { margin-top: 10px; }
@media (min-width: 900px) {
  .cs-stage { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 28px; }
  .cs-plot { top: 16px; }
  .cs-box { height: auto; aspect-ratio: 1 / .94; }
}
@media (max-width: 520px) { .cs-axs { display: none; } .cs-box { height: clamp(220px, 34vh, 280px); } }

@media (prefers-reduced-motion: reduce) {
  .gm-card, .gm-go, .gw-dot, .gw-btn, .gw-chip, .gw-name, .gw-mdot, .mx-dot, .mx-wash, .mx-drop, .gw-next, .cs-pill, .cs-track u, .cs-hint { transition: none !important; }
  .gw-card.is-in, .gw-fb.is-in, .mx-reveal.is-in { animation: none !important; }
  .gm-card:hover, .gw-btn:hover, .mx-drop:hover { transform: none; }
}

/* ---------- in the lab (site/css/lab.css): the games are the instruments on the bench ---------- */
.lab .gm-cards { margin: 0; gap: 10px; }
.lab .gm-card { min-height: 0; align-content: start; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "time chips" "title chips" "line line" "go go"; gap: 6px 12px; padding: 14px 14px 14px; background: #fff; box-shadow: none; border: 1px solid var(--lab-edge); border-radius: 0; transition: border-color .25s; }
.lab .gm-card:hover { transform: none; border-color: var(--lab-ink); }
.lab .gm-card.is-open { box-shadow: inset 0 0 0 1px var(--lab-ink); border-color: var(--lab-ink); }
.lab .gm-chips { position: static; grid-area: chips; align-self: start; transform: none; gap: 0; }
.lab .gm-chips i { width: 24px; height: 40px; border: 1px solid rgba(36, 48, 72, .3); box-shadow: none; transform: none !important; margin-left: -1px; }
.lab .gm-time { grid-area: time; font-size: 12.5px; letter-spacing: .16em; color: var(--lab-sub); }
.lab .gm-title { grid-area: title; font-size: clamp(26px, 7vw, 32px); }
.lab .gm-title em { font-family: var(--slant); font-style: italic; color: var(--berry); font-size: 1em; line-height: inherit; -webkit-text-stroke: 0; }
.lab .gm-line { grid-area: line; font-size: 16.5px; }
.lab .gm-go { grid-area: go; margin-top: 2px; border-radius: 0; background: var(--lab-ink); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 14px 7px; }
.lab .gm-card:hover .gm-go, .lab .gm-card.is-open .gm-go { background: var(--berry); }
.lab .gm-stage { margin: 14px 0 0; padding: 14px 16px 22px; background: #fff; box-shadow: none; border: 1px solid var(--lab-edge); border-radius: 0; }
.lab .gm-back { color: var(--lab-accent); font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.lab .gm-back::before { content: "\2190  "; }
.lab .gm-stage h2 { font-size: clamp(26px, 6.6vw, 32px); }
.lab .gm-stage h2 em { font-family: var(--slant); font-style: italic; color: var(--berry); font-size: 1em; line-height: inherit; -webkit-text-stroke: 0; }
.lab .gm-stage-line { font-size: 16.5px; }
.lab .gm-noscript { background: #fff; border: 1px solid var(--lab-edge); border-radius: 0; }
.lab .gw-next { border-radius: 0; background: var(--lab-ink); }
.lab .gw-next:hover { background: var(--berry); }
.lab .gw-count { color: var(--lab-sub); letter-spacing: .16em; }
@media (min-width: 900px) { .lab .gm-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .lab .gm-card { min-height: 200px; } }
@media (prefers-reduced-motion: reduce) { .lab .gm-card { transition: none; } }
