/* Iceman Contributor: section-internal layout only. Colours, fonts, rhythm and surfaces come from style.css.
   Lists and tables share one pattern: a 2px ink head rule, then hairlines between rows. */

[hidden]{display:none!important}
.ice-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- masthead and hero ---------- */
.ice-mast{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.5rem 1.25rem;margin-bottom:2.75rem}
.ice-name{font:900 1.375rem/1 var(--font-display);letter-spacing:.01em;text-decoration:none}
.ice-name:hover{text-decoration:underline}
.ice-back{font:700 var(--step-label)/1.3 var(--font-body);letter-spacing:.14em;text-transform:uppercase}
.ice-hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);column-gap:2.5rem;align-items:center}
.ice-hero-copy > h1 + .ice-lede{margin-top:1.15rem}
.ice-hero-copy > .ice-lede + .ice-subline{margin-top:1.4rem}
/* the punchline under the name */
.ice-lede{font:900 clamp(2.05rem,1.25rem + 2.7vw,3.5rem)/1 var(--font-display);letter-spacing:.005em;max-width:14ch;text-wrap:balance}
.ice-lede strong{font-weight:900}
.ice-subline{font-size:var(--step-lead);line-height:1.5;max-width:38ch}
.ice-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.85rem 1rem}
.cave--hero .ice-actions{margin-top:2.25rem}
.cave--hero .ice-btn{min-height:3.875rem;padding:1rem 1.95rem 1.05rem;font-size:1.6875rem}
.ice-specs{display:grid;grid-template-columns:repeat(2,max-content);gap:.45rem 1.75rem;list-style:none;margin:0;padding:1.25rem 0 0;border-top:1px solid var(--ice-edge);font-size:var(--step-small);line-height:1.4}
.ice-specs li{position:relative;padding-left:1.15rem}
.ice-specs li::before{content:"";position:absolute;left:0;top:.42em;width:.5rem;height:.62rem;background:var(--ice-edge);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}

/* ---------- kid stages ---------- */
:where(.ice-kid-stage){position:relative}
.ice-kid-stage .ice-kid{display:block;width:100%;height:auto}
.ice-kid-stage.is-missing{display:none}
.ice-kid-poke{display:block;width:100%;margin:0;padding:0;border:0;background:none;color:inherit;font:inherit;cursor:pointer}
.ice-kid-poke:focus-visible{outline:3px solid var(--ice-focus);outline-offset:4px}
.ice-scrawl{position:absolute;top:var(--space-3);left:var(--space-3);max-width:60%;margin:0;opacity:0;pointer-events:none;transition:opacity .4s ease}
.ice-scrawl.is-on{opacity:1;transition-duration:.12s}
/* hero: he answers from the empty corner under his outstretched arm, clear of the shards he throws */
.cave--hero .ice-kid-stage > .ice-scrawl{top:auto;bottom:7%;left:0;max-width:none;white-space:nowrap}
/* tap: one short jolt back from the throw, no bounce */
@keyframes ice-recoil{28%{transform:translate(5px,3px) rotate(1.6deg)}100%{transform:none}}
.ice-kid-poke .ice-kid{transform-origin:70% 92%}
.ice-kid-stage.is-poked .ice-kid{animation:ice-recoil .38s cubic-bezier(.2,.7,.3,1)}
.ice-kid-poke:hover .ice-kid{filter:brightness(1.04) saturate(1.08)}

/* The freeze dance: a small bob and tilt while the track really plays. */
@keyframes ice-bob{
  0%,100%{transform:translateY(0) rotate(-2deg)}
  25%{transform:translateY(-6px) rotate(0deg)}
  50%{transform:translateY(0) rotate(2deg)}
  75%{transform:translateY(-6px) rotate(0deg)}
}
.ice-kid-body{position:relative;display:block;transform-origin:50% 100%}
.ice-kid-stage.is-dancing .ice-kid-body{animation:ice-bob .853s ease-in-out infinite}
/* buffering or paused: he holds the exact pose he was in, and picks it up from there */
.ice-kid-stage.is-held .ice-kid-body{animation-play-state:paused}
/* frozen: a rime crust cut to his outline climbs from his feet */
.ice-kid-frost{position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(0deg,rgb(240 249 255/.9) 0 28%,rgb(226 241 252/.6) 52%,rgb(226 241 252/0) 78%);
  -webkit-mask:var(--kid-mask) center/100% 100% no-repeat;mask:var(--kid-mask) center/100% 100% no-repeat;
  clip-path:inset(100% 0 0 0);transition:clip-path .3s ease-in}
.ice-kid-stage.is-frozen .ice-kid-frost{clip-path:inset(10% 0 0 0);transition:clip-path 1.5s cubic-bezier(.2,.7,.3,1)}

/* ---------- evidence timeline and updates: date column, finding, source ---------- */
.ice-evidence,.ice-updates,.ice-sources{list-style:none;margin:0;padding:0;border-top:2px solid var(--ice-panel-ink)}
.ice-fact{display:grid;grid-template-columns:11.5rem minmax(0,1fr) 13rem;column-gap:1.75rem;row-gap:.3rem;align-items:baseline;padding:1.05rem 0 1.15rem;border-bottom:1px solid var(--ice-edge)}
.ice-fact > p{margin:0}
.ice-fact > a,.ice-fact > .ice-source{font-size:var(--step-small);line-height:1.45}
.ice-fact time,.ice-updates time{font:700 var(--step-small)/1.5 var(--font-body);font-variant-numeric:tabular-nums lining-nums}
.ice-updates li{display:grid;grid-template-columns:11.5rem minmax(0,1fr);column-gap:1.75rem;row-gap:.3rem;align-items:baseline;padding:.95rem 0 1.05rem;border-bottom:1px solid var(--ice-edge)}
.ice-updates p{margin:0}

/* ---------- benchmark cave ---------- */
.ice-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,15rem);column-gap:2.5rem;align-items:start}
/* the laughing kid stands beside the empty gallery line */
.ice-split--bench{display:block}
.ice-split-copy>:first-child{margin-top:0}
.ice-kid-stage--laugh{float:right;width:14rem;margin:1rem -.5rem 0 1.5rem}
.ice-gallery{margin-top:2.75rem}
/* empty until judged results arrive: a deliberate line of type on the head rule */
.ice-empty{display:flow-root;padding-top:1rem;border-top:2px solid var(--ice-panel-ink);font:700 var(--step-lead)/1.4 var(--font-body);color:var(--cave-muted)}
/* the hub's field strip and reference slider are drawn here in the cave's colours */
.ice-bench,.ice-game,.ice-legend{--field-dot:#4F7396;--field-line:#8FB2CF;--field-ink:var(--ice-panel-ink);--field-ring:var(--ice-panel);--field-focus:var(--ice-accent)}
.ice-legend{display:flex;flex-wrap:wrap;gap:.3rem 1.5rem;margin:0 0 1.75rem;font:700 var(--step-label)/1.3 var(--font-body);letter-spacing:.1em;text-transform:uppercase;color:var(--ice-muted)}
.ice-legend span{display:inline-flex;align-items:center;gap:.5rem}
.ice-key{display:inline-block;flex:none}
.ice-key--me{width:.8rem;height:.8rem;border-radius:50%;background:var(--ice-accent);box-shadow:0 0 0 2px var(--ice-panel)}
.ice-key--dot{width:.5rem;height:.5rem;border-radius:50%;background:var(--field-dot);opacity:.7}
.ice-key--median{width:2px;height:.85rem;background:var(--ice-panel-ink);opacity:.85}
.ice-bench-grid{clear:both;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,17rem),1fr));gap:3rem 2.5rem}
.ice-bench{display:grid;gap:var(--space-3);align-content:start;align-items:start;padding-top:1rem;border-top:2px solid var(--ice-panel-ink)}
.ice-bench h3{font:900 2.1rem/1 var(--font-display);letter-spacing:.005em}
/* every picture sits in the same square, so rows line up and nothing shifts when a picture arrives */
.ice-frame{margin:0;aspect-ratio:1;background:var(--ice-panel-ink)}
.ice-frame:not(.artwork-inspectable)>picture,.ice-frame:not(.artwork-inspectable) img{display:block;width:100%;height:100%}
.ice-frame:not(.artwork-inspectable) img{object-fit:contain}
/* the wipe against the reference render: named for Iceman, with a handle that is easy to see and to grab */
.ice-frame.artwork-mini{cursor:default}
.ice-frame .artwork-enlarge{display:none}
.ice-frame.is-render-comparison::before{content:"Iceman"}
.ice-frame.artwork-mini.is-render-comparison::before,.ice-frame.artwork-mini.is-render-comparison::after{top:8px;padding:4px 8px;font:700 .8125rem/1.2 var(--font-body);letter-spacing:.04em}
.ice-frame.artwork-mini.is-render-comparison::before{left:8px}.ice-frame.artwork-mini.is-render-comparison::after{right:8px}
.ice-frame.artwork-mini .artwork-wipe>span{width:2rem;height:2.75rem;font-size:1.125rem;opacity:.95;background:rgb(13 32 52/.7)}
.ice-bench-copy>*+*{margin-top:.75rem}
.ice-standing{display:grid;gap:.7rem}
.ice-score{display:flex;flex-wrap:wrap;align-items:baseline;gap:.15rem .6rem}
.ice-score span{font:700 var(--step-label)/1.3 var(--font-body);letter-spacing:.14em;text-transform:uppercase;color:var(--ice-muted)}
.ice-score b{font:900 2.4rem/1 var(--font-display)}
.ice-score small{font-size:.45em;color:var(--ice-muted)}
/* in a narrow task card the label takes its own line, so the score and the rank share the next one */
.ice-bench .ice-score>span{flex-basis:100%}
.ice-rank{margin-left:auto;font:700 var(--step-small)/1.3 var(--font-body);font-style:normal;font-variant-numeric:tabular-nums}
.ice-bench-task{font-size:var(--step-small);line-height:1.5}

/* ---------- games ---------- */
.ice-games{display:grid;grid-template-columns:minmax(0,1fr);gap:3.25rem}
.ice-game{padding-top:1.1rem;border-top:2px solid var(--ice-panel-ink)}
.ice-games-part{margin-top:3.5rem}
.ice-games-part>.ice-legend{margin-top:2rem;margin-bottom:0}
.ice-games-part>.ice-kicker+h3{margin-top:.85rem;font:900 clamp(1.9rem,1.2rem + 2vw,2.75rem)/1.05 var(--font-display)}
.ice-games-part>h3+p{margin-top:1rem;max-width:52ch}
.ice-games-part>.ice-games{margin-top:2rem}
.ice-game h4{margin:0;font:900 2.15rem/1 var(--font-display);letter-spacing:.005em}
.ice-game-line{margin-top:.7rem;max-width:38ch}
.ice-game-status{margin-top:1.4rem}
.ice-game-status > p:only-child{font:700 var(--step-label)/1.3 var(--font-body);letter-spacing:.14em;text-transform:uppercase;color:var(--ice-muted)}
/* a played game: the playing field that starts the replay, beside its score, level points and actions */
.ice-game-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);column-gap:2.5rem;row-gap:1.5rem;align-items:start}
.ice-game-stage{position:relative;display:block;width:100%;aspect-ratio:3/2;margin:0;padding:0;border:0;background:var(--ice-panel-ink);color:inherit;font:inherit}
button.ice-game-stage{cursor:pointer}
button.ice-game-stage:focus-visible{outline:3px solid var(--ice-focus);outline-offset:4px}
.ice-game-stage>img{display:block;width:100%;height:100%;object-fit:contain}
.ice-game-stage>.ice-btn{position:absolute;left:1rem;bottom:1rem;pointer-events:none}
button.ice-game-stage:hover>.ice-btn{--btn-fill:#1749AA}
button.ice-game-stage[aria-busy="true"]>.ice-btn{opacity:.6}
.ice-game-task{margin-top:1rem;font-size:var(--step-small);line-height:1.5}
.ice-game-info>*+*{margin-top:1rem}
.ice-game-outcome{font:700 var(--step-small)/1.3 var(--font-body)}
.ice-game-info h5{margin:1.75rem 0 0;font:700 var(--step-label)/1.3 var(--font-body);letter-spacing:.14em;text-transform:uppercase;color:var(--ice-muted)}
.ice-game-info h5+.ice-levels{margin-top:.6rem}
.ice-game-info .ice-actions{margin-top:1.75rem}
/* points per level: a 2px head rule, then hairlines; the bar is scaled to the best score any model got on that level */
.ice-levels{list-style:none;margin:0;padding:0;border-top:2px solid var(--ice-panel-ink)}
.ice-levels li{display:grid;grid-template-columns:minmax(0,1fr) minmax(4.5rem,9rem) 4.75rem;grid-template-areas:"name bar points" "outcome outcome outcome";align-items:center;column-gap:1rem;row-gap:.1rem;padding:.65rem 0 .7rem;border-bottom:1px solid var(--ice-edge)}
.ice-level-name{grid-area:name;font:700 var(--step-small)/1.3 var(--font-body)}
.ice-level-name small{margin-left:.5rem;font:400 var(--step-label)/1.3 var(--font-body);color:var(--ice-muted)}
.ice-level-bar{grid-area:bar;height:.55rem;background:var(--cave-w2)}
.ice-level-bar>i{display:block;height:100%;width:calc(var(--w)*1%);background:var(--ice-accent)}
.ice-level-points{grid-area:points;text-align:right;font:900 1.5rem/1 var(--font-display);font-variant-numeric:tabular-nums}
.ice-level-points small{font:400 var(--step-label)/1 var(--font-body);color:var(--ice-muted)}
.ice-levels li>em{grid-area:outcome;font:400 var(--step-label)/1.3 var(--font-body);font-style:normal;color:var(--ice-muted)}
.ice-levels .is-missing .ice-level-none{grid-column:2 / -1;text-align:right;font-size:var(--step-label);color:var(--ice-muted)}

/* ---------- tokenizer test ---------- */
.ice-token{padding-top:1.5rem;border-top:2px solid var(--ice-panel-ink)}
.ice-token>*{margin:0}
.ice-token>*+*{margin-top:1rem}
.ice-token-result{display:flex;flex-wrap:wrap;align-items:baseline;gap:.35rem 1.25rem;margin-bottom:.5rem}
.ice-token-record b{font:900 clamp(3.9rem,2.6rem + 3.8vw,6.25rem)/.85 var(--font-display);letter-spacing:.01em}
.ice-token-record small{font-size:.4em;color:var(--ice-muted);margin-left:.06em}
.ice-token-result h3{font:900 clamp(1.6rem,1.2rem + 1.2vw,2.25rem)/1 var(--font-display);letter-spacing:.005em}
.ice-token-caveat{font-weight:700}
.ice-token>.ice-token-table{margin-top:2.25rem}
.ice-token-table caption{text-wrap:balance;caption-side:top;padding:0 0 .75rem;font:700 var(--step-small)/1.4 var(--font-body);color:var(--ice-panel-ink)}
.ice-token-table tbody th[scope="row"]{width:34%;white-space:nowrap}
.ice-token-table .ice-token-group th{padding-top:1.5rem;font:700 var(--step-label)/1.3 var(--font-body);letter-spacing:.14em;text-transform:uppercase;color:var(--ice-muted);border-bottom:2px solid var(--ice-panel-ink)}
.ice-token-table td{white-space:nowrap}
.ice-bar{--of:23;display:inline-block;vertical-align:middle;width:calc(100% - 4.75rem);height:.55rem;background:var(--cave-w2)}
.ice-bar::after{content:"";display:block;height:100%;width:calc(var(--m)/var(--of)*100%);background:var(--ice-panel-ink)}
.ice-token-table tbody:first-of-type .ice-bar::after{background:var(--ice-accent)}
.ice-bar-count{display:inline-block;width:4.25rem;text-align:right;vertical-align:middle;font-variant-numeric:tabular-nums}
.ice-token-missing{font-size:var(--step-small);color:var(--ice-muted)}

/* ---------- access ---------- */
.ice-copy{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem}

/* ---------- Demodokos studio: copy, the skidding kid, the player ---------- */
.ice-stage-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,16rem);grid-template-areas:"copy kid" "player kid";column-gap:2.5rem;row-gap:2rem;align-items:end}
.ice-stage-copy{grid-area:copy;align-self:start}
.ice-kid-stage--player{grid-area:kid;width:100%;max-width:16rem;justify-self:end}
.ice-player{grid-area:player;display:grid;gap:1.1rem;padding-top:1.25rem;border-top:1px solid var(--ice-edge)}
.ice-player>*{margin:0}
.ice-track{font:700 var(--step-label)/1.3 var(--font-body);letter-spacing:.14em;text-transform:uppercase;color:var(--ice-muted)}
.ice-track b{display:block;margin-top:.35rem;font:900 2.1rem/1 var(--font-display);letter-spacing:.01em;text-transform:none;color:var(--ice-ink)}
.ice-controls{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"play seek tools";align-items:center;gap:1rem 1.5rem}
.ice-play{grid-area:play}
.ice-transport{grid-area:seek;display:grid;gap:.2rem;min-width:0}
.ice-tools{grid-area:tools;display:flex;gap:.6rem}
.ice-time{font:400 var(--step-small)/1.3 var(--font-body);font-variant-numeric:tabular-nums;color:var(--ice-muted)}
.ice-player-state{font-size:var(--step-small);color:var(--ice-muted)}
.ice-player audio{width:100%}

/* the play key: a big faceted crystal with a play or pause mark that follows the real state */
.ice-play{position:relative;isolation:isolate;display:inline-flex;align-items:center;min-height:4rem;min-width:9.25rem;padding:.8rem 1.6rem .85rem 3.7rem;border:0;background:none;cursor:pointer;
  font:900 1.75rem/1 var(--font-display);letter-spacing:.02em;color:var(--ice-panel-ink);-webkit-tap-highlight-color:transparent}
.ice-play::before,.ice-play::after{content:"";position:absolute;pointer-events:none}
.ice-play::before{inset:0;z-index:-1;background:var(--ice-accent);
  clip-path:polygon(10px 0,calc(100% - 16px) 0,100% 12px,calc(100% - 4px) 52%,100% calc(100% - 9px),calc(100% - 12px) 100%,18px 100%,0 calc(100% - 12px),4px 46%,0 11px)}
.ice-play::after{left:1.45rem;top:50%;width:1.2rem;height:1.4rem;margin-top:-.7rem;background:currentColor;clip-path:polygon(0 0,100% 50%,0 100%)}
.ice-play[aria-label^="Pause"]::after{clip-path:polygon(0 0,36% 0,36% 100%,64% 100%,64% 0,100% 0,100% 100%,0 100%)}
.ice-play{transition:transform .08s ease-out}
.ice-play:hover::before{background:#A6CBFF}
.ice-play:active{transform:translateY(2px)}
.ice-play:active::before{background:#8DBAF8}

/* the progress track: a frozen bar with a crystal thumb; --ice-p is set by page.js */
.ice-seek{display:block}
.ice-seek input{-webkit-appearance:none;appearance:none;display:block;width:100%;height:2.25rem;margin:0;padding:0;background:transparent;cursor:pointer;
  --fill:var(--ice-accent);--rest:#2B4B6C;
  --thumb:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 30'%3E%3Cpath d='M11 1 20.5 8.5 18.5 22.5 11 29 3.5 22.5 1.5 8.5Z' fill='%23F2FAFF' stroke='%230D2034' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M11 1V29M1.5 8.5 11 13 20.5 8.5' fill='none' stroke='%239CC7E7' stroke-width='1.3'/%3E%3C/svg%3E")}
.ice-seek input::-webkit-slider-runnable-track{height:.625rem;border:0;background:linear-gradient(90deg,var(--fill) 0 var(--ice-p,0%),var(--rest) var(--ice-p,0%) 100%)}
.ice-seek input::-moz-range-track{height:.625rem;border:0;background:var(--rest)}
.ice-seek input::-moz-range-progress{height:.625rem;background:var(--fill)}
.ice-seek input::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:1.375rem;height:1.875rem;margin-top:-.625rem;border:0;border-radius:0;background:var(--thumb) center/100% 100% no-repeat}
.ice-seek input::-moz-range-thumb{width:1.375rem;height:1.875rem;border:0;border-radius:0;background:var(--thumb) center/100% 100% no-repeat}
.ice-seek input:focus-visible{outline:3px solid var(--ice-focus);outline-offset:3px}
/* hover and drag: the crystal thumb takes a cobalt edge and sinks a pixel while held */
.ice-seek input:is(:hover,:focus-visible,:active){--thumb:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 30'%3E%3Cpath d='M11 1 20.5 8.5 18.5 22.5 11 29 3.5 22.5 1.5 8.5Z' fill='%23FFFFFF' stroke='%237DB2FF' stroke-width='2.4' stroke-linejoin='round'/%3E%3Cpath d='M11 1V29M1.5 8.5 11 13 20.5 8.5' fill='none' stroke='%237DB2FF' stroke-width='1.3'/%3E%3C/svg%3E")}
.ice-seek input:active::-webkit-slider-thumb{transform:translateY(1px)}

/* ---------- FAQ, sources, related ---------- */
.ice-faq{border-top:2px solid var(--ice-panel-ink)}
.ice-faq details{border-bottom:1px solid var(--ice-edge)}
.ice-faq summary{display:flex;align-items:baseline;gap:.9rem;padding:1.05rem 0;cursor:pointer;list-style:none;font:700 var(--step-lead)/1.3 var(--font-body)}
.ice-faq summary::-webkit-details-marker{display:none}
.ice-faq summary:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em}
.ice-faq summary::before{content:"";flex:none;width:.6rem;height:.75rem;background:var(--ice-panel-ink);clip-path:polygon(0 0,100% 50%,0 100%);transition:transform .2s ease}
.ice-faq details[open] summary::before{transform:rotate(90deg)}
.ice-faq details>p{margin:0;padding:0 0 1.25rem 1.5rem;max-width:66ch}
.ice-sources li{padding:.8rem 0 .85rem;border-bottom:1px solid var(--ice-edge);font-size:var(--step-small);line-height:1.5}
.ice-sources li>a:first-child{font-weight:700;margin-right:.3rem}
.ice-related{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 2rem}
.ice-related:empty,.ice-related:not(:has(a)){display:none}
.ice-related a{display:grid;gap:.25rem;padding:.9rem 0 1rem;border-top:2px solid var(--ice-panel-ink);text-decoration:none}
.ice-related strong{font:900 1.5rem/1.05 var(--font-display);letter-spacing:.005em}
.ice-related span{font-size:var(--step-small);color:var(--ice-muted)}
.ice-related a:hover strong{text-decoration:underline;text-decoration-thickness:2px}
footer.cave > .cave-body{padding-block:2.25rem 2rem}
.ice-foot{font-size:var(--step-small)}

/* ---------- narrow screens ---------- */
@media (max-width:50rem){
  .ice-hero-grid{grid-template-columns:minmax(0,1fr)}
  .ice-hero-copy{display:contents}
  .cave--hero .ice-kid-stage{order:1;width:min(80%,20rem);justify-self:center;margin-top:1.75rem}
  .ice-specs{order:2}
  .ice-fact,.ice-updates li{grid-template-columns:minmax(0,1fr)}
  .ice-token-table tbody th[scope="row"]{width:auto}
  /* the laughing kid stands beside the empty gallery line */
  .ice-specs{grid-template-columns:minmax(0,1fr)}
  .ice-split{display:block}
  .ice-game-body{grid-template-columns:minmax(0,1fr)}
  .ice-score>span{flex-basis:100%}
  .ice-kid-stage--laugh{width:8.5rem;margin:1.25rem -.35rem .25rem .75rem}
  .ice-related{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ice-token-table td{white-space:normal;width:60%}
  .ice-bar{display:block;width:100%}
  .ice-bar-count{display:block;width:auto;margin-top:.15rem}
  .ice-kid-stage--player .ice-scrawl{bottom:auto;top:28%;right:100%;margin:0 .6rem 0 0}
  .ice-stage-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "kid" "player";row-gap:1rem}
  .ice-kid-stage--player{max-width:11.5rem;margin-bottom:-2.75rem;position:relative;z-index:1}
}
@media (max-width:40rem){
  /* a level's name keeps its line; its bar runs full width beneath it */
  .ice-levels li{grid-template-columns:minmax(0,1fr) 4.75rem;grid-template-areas:"name points" "bar bar" "outcome outcome";row-gap:.35rem}
  .ice-level-bar{height:.5rem}
  .ice-levels .is-missing .ice-level-none{grid-column:1 / -1;text-align:left}
  .cave--hero .ice-btn{min-height:3.5rem;padding:.85rem 1.4rem .9rem;font-size:1.4375rem}
  .ice-controls{grid-template-columns:minmax(0,1fr);grid-template-areas:"play" "seek" "tools";justify-items:start}
  .ice-transport{justify-self:stretch}
  .ice-steps > li{padding-left:3rem}
  .ice-steps > li::before{font-size:2.2rem}
}

@media (prefers-reduced-motion:reduce){
  .ice-kid-stage.is-dancing .ice-kid-body,.ice-kid-stage.is-poked .ice-kid{animation:none}
  .ice-scrawl,.ice-faq summary::before,.ice-kid-frost,.ice-kid-stage.is-frozen .ice-kid-frost,.ice-play{transition:none}
  .ice-play:active{transform:none}
}
