:root {
  color-scheme: light;
  --bg: #f3f2e9;
  --ink: #182922;
  --muted: #59645c;
  --line: #cbd1c5;
  --accent: #d6f487;
  --drums: #ffae66;
  --bass: #78dfc9;
  --perc: #f5d76a;
  --chords: #cfaff8;
  --lead: #ff9b9d;
}
* { box-sizing: border-box }
[hidden] { display: none !important }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.45 'DM Sans', 'Helvetica Neue', sans-serif }
button, input { font: inherit }
button { cursor: pointer; color: inherit; border: 0; -webkit-tap-highlight-color: transparent; touch-action: manipulation }
button:disabled { cursor: default; opacity: .5 }
:focus-visible { outline: 3px solid #217b66; outline-offset: 3px }
h1, h2, p { margin: 0 }
.stage {
  --switch-row: 44px;
  --label-height: 36px;
  --icon-size: clamp(48px, min(8.4vw, 9.4dvh), 82px);
  --picker-height: calc(2 * var(--icon-size) + 20px + env(safe-area-inset-bottom));
  --scene-height: calc(100% - var(--picker-height) - var(--label-height));
  --hud-inset: clamp(10px, 2.6vw, 36px);
  --letter-outline: -1px -1px #27312f, 1px -1px #27312f, -1px 1px #27312f, 1px 1px #27312f, 0 2px #27312f;
  position: relative; isolation: isolate; overflow: hidden; container-type: size;
  height: max(350px, 100dvh); background: #bdad96;
}
.scenery { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(#64d9ee, #a1eddd 60%, #beaf9c 80%); pointer-events: none }
.stage-fx, .booster-plane { position: absolute; top: 0; left: 0; width: 100%; height: calc(var(--scene-height) - var(--switch-row)); pointer-events: none; image-rendering: pixelated }
.shuffle-flash {
  position: absolute; inset: 0; z-index: 4; opacity: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 58%, #fffae5 12%, #ffe6aa 66%, #ffcc94 100%);
}
.scenery.still ~ .shuffle-flash { visibility: hidden }
.world { width: max(100%, 175cqh); position: absolute; inset-block: 0; left: 50%; transform: translateX(-50%); container-type: inline-size }
.platform { position: absolute; top: var(--scene-height); left: -6px; width: calc(100% + 12px); height: calc(100% - var(--scene-height)); image-rendering: pixelated; transform: translateX(var(--pan, 0px)); transition: transform .45s ease-out }
.option-buttons { display: flex; align-items: center; gap: 8px }
.track-plane { position: absolute; inset: 0 -6px auto; height: var(--scene-height); transform: translateX(var(--pan, 0px)); transition: transform .45s ease-out }
.landscape, .cloud-bank, .train, .sprite, .portrait { image-rendering: pixelated; background-repeat: no-repeat }
.landscape { position: absolute; inset: 0; background-image: url(assets/station/fuji.png); background-size: 100% 100% }
.cloud-bank { position: absolute; left: 0; background: url(assets/station/cloud.png) center / 100% 100% no-repeat; aspect-ratio: 3.4; animation: coast-cloud linear infinite }
.cloud-far { top: calc(var(--scene-height) * .16); width: 16%; opacity: .78; animation-duration: 145s; animation-delay: -47s }
.cloud-near { top: -3%; width: 25%; animation-duration: 112s; animation-delay: -72s }
.train { position: absolute; bottom: 24.9%; left: 0; width: 47%; aspect-ratio: 4; background: url(assets/station/train.png) bottom left / 100% 100% no-repeat; animation: coast-train 33s linear -14s infinite }
@keyframes coast-train {
  0% { transform: translateX(-104%) }
  78%, 100% { transform: translateX(calc(100cqw + 14px)) }
}
@keyframes coast-cloud {
  from { transform: translateX(-102%) }
  to { transform: translateX(101cqw) }
}
.particles { position: absolute; inset: 0; container-type: inline-size; overflow: hidden; }
.particles i { position: absolute; top: var(--height); left: -12px; width: 5px; height: 3px; background: #fee599; box-shadow: 2px -2px #eab48d; animation: drift var(--time) linear var(--delay) infinite; }
.particles i:nth-child(3n) { background: #97b762; box-shadow: 2px -2px #c8d773; width: 4px }
@keyframes drift {
  0% { transform: translate(0, 0) }
  30% { transform: translate(30cqw, 15px) rotate(30deg) }
  64% { transform: translate(64cqw, 6px) rotate(-25deg) }
  100% { transform: translate(calc(100cqw + 22px), 38px) rotate(40deg) }
}
.scenery.still :is(.track-plane,.platform) { transition: none }
.scenery.still *, .scenery.still *::after { animation-play-state: paused }
.game-hud {
  position: absolute; z-index: 3; inset: max(var(--hud-inset), env(safe-area-inset-top)) max(var(--hud-inset), env(safe-area-inset-right)) auto max(var(--hud-inset), env(safe-area-inset-left));
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 6px; pointer-events: none;
}
.brand { align-self: center; line-height: 0 }
.brand img { display: block; width: clamp(112px, 22vw, 306px); image-rendering: pixelated }
.stage-controls, .game-options { pointer-events: auto; display: flex; gap: 3px; padding: 3px; background: #182b2a; box-shadow: 0 3px #102422; justify-self: start }
.game-options { justify-self: end }
.transport-strip { display: flex; align-items: stretch; gap: 3px; justify-self: start; position: relative }
.booster-rack { pointer-events: auto; padding: 3px; background: #182b2a; box-shadow: 0 3px #102422 }
.booster-tools { display: flex; gap: 2px }
.booster-tools button {
  display: grid; justify-items: center; align-content: center; width: 53px; min-height: 54px;
  padding: 1px 0 3px; background: #39534e; color: #fff4ce;
  box-shadow: inset 0 2px #748a76, inset 0 -2px #273c37;
  font: 800 10px/1 ui-monospace, Menlo, monospace;
}
.booster-icon {
  display: block; width: 40px; height: 40px; margin-top: -2px;
  background: url(assets/animations/boosters.png) 0 var(--atlas-row, 0%) / 400% 400% no-repeat;
  image-rendering: pixelated;
}
[data-booster=storm] { --atlas-row: 33.333333% }
[data-booster=lantern] { --atlas-row: 66.666667% }
[data-booster=tide] { --atlas-row: 100% }
.transport-strip .pixel-button { height: 54px }
.booster-tools button:hover:enabled { background: #4d675d }
.booster-tools button[aria-pressed=true] { background: #35695f; box-shadow: inset 0 0 0 2px #91e4bf; color: white }
.booster-tools button[data-booster=storm][aria-pressed=true] { background: #5e5375; box-shadow: inset 0 0 0 2px #e4c380 }
.booster-tools button[data-booster=lantern][aria-pressed=true] { background: #804f43; box-shadow: inset 0 0 0 2px #ffc68b }
.booster-tools button[data-booster=tide][aria-pressed=true] { background: #326579; box-shadow: inset 0 0 0 2px #97dfed }
.booster-tools button[data-active] { position: relative }
.booster-tools button[data-active]::after { content: ''; position: absolute; top: 4px; right: 4px; width: 5px; height: 5px; background: #fff6cb; box-shadow: 0 0 0 1px #263c38 }
.character-button[data-boost-active]:not(.boost-target)::before { background: var(--color); opacity: .65 }
.booster-status { position: absolute; top: calc(100% + 5px); inset-inline-start: -2px; width: max-content; max-width: 100%; padding: 4px 6px; color: #fff4d3; background: #20332f; font: 700 11px/1.15 ui-monospace, Menlo, monospace; }
.booster-status:empty { display: none }
.character-button.boost-target { outline: 2px dashed #fff1af; outline-offset: -3px; cursor: crosshair }
.character-button.boost-target::after { content: '+'; position: absolute; right: 5%; top: 4%; padding: 0 3px; color: #182e2a; background: #cbf3c4; font: bold 14px/1 monospace }
.character-button.boost-target:is(:hover,:focus-visible) { outline-style: solid; outline-color: #b0ffd9 }
.menu-dots { width: 4px; height: 4px; background: currentColor; box-shadow: -7px 0, 7px 0 }
#fullscreen-button { font: 24px/1 monospace }
.pixel-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: #344942; color: #f5f5df; box-shadow: inset 0 2px #718478, inset 0 -3px #26352f }
.pixel-button:hover:enabled { filter: brightness(1.16) }
.pixel-button:active:enabled, .pixel-button[aria-pressed=true] { background: #f6c18c; color: #332b24; box-shadow: inset 0 2px #ad825e, inset 0 -1px #fbe2b4 }
.pixel-button:focus-visible { outline: 2px solid #fff5bd; outline-offset: -3px }
.pixel-button:disabled { opacity: 1; color: #afbcb0; background: #283832; box-shadow: inset 0 1px #43564c }
#play-button { background: var(--accent); color: #213725; box-shadow: inset 0 2px #efffcd, inset 0 -3px #8ca35a }
.pixel-icon { display: block; flex: none; width: 22px; height: 22px; background: currentColor; mask: url(assets/station/transport-icons.png) 0 0 / 500% 100% no-repeat; image-rendering: pixelated }
.is-playing .icon-play { mask-position: 25% 0 }
.icon-shuffle { mask-position: 50% 0 }
.dog-waveform { position: absolute; z-index: 1; left: 19%; width: 62%; height: auto; bottom: 100%; pointer-events: none; image-rendering: pixelated }
.full-band .dog-waveform { width: 48%; left: 26%; opacity: .62 }
.control-line { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); pointer-events: auto }
.dog-switches { display: flex; align-items: center; justify-content: center }
.dog-switch { position: relative; isolation: isolate; display: grid; place-items: center; width: min(50%, 40px); height: 100%; padding: 0; background: transparent; color: #192921; font: 800 13px/1 ui-monospace, Menlo, monospace }
.dog-switch::before, .dog-switch::after { content: ''; position: absolute; z-index: -1; width: 26px; height: 26px; clip-path: polygon(30% 0,70% 0,70% 8%,84% 8%,84% 16%,92% 16%,92% 30%,100% 30%,100% 70%,92% 70%,92% 84%,84% 84%,84% 92%,70% 92%,70% 100%,30% 100%,30% 92%,16% 92%,16% 84%,8% 84%,8% 70%,0 70%,0 30%,8% 30%,8% 16%,16% 16%,16% 8%,30% 8%) }
.dog-switch::before { background: #0b1816; transform: translateY(1px) scale(1.13) }
.dog-switch::after { background: var(--face); box-shadow: inset 0 3px var(--glint), inset 0 -4px var(--shade) }
.dog-mute { --face: #f6a780; --glint: #ffe2b0; --shade: #b87056 }
.dog-silence { --face: #82d8bd; --glint: #c3f2d6; --shade: #4e9e85 }
.dog-switch[aria-pressed=true] { color: white; text-shadow: 1px 1px #23352a }
.dog-switch[aria-pressed=true]::after { transform: translateY(2px); background: var(--shade); box-shadow: inset 0 3px #263b35, inset 0 -2px var(--face) }
.dog-switch:hover:enabled::after { filter: brightness(1.13) }
.dog-switch:focus-visible { outline-offset: -2px; outline-color: var(--accent) }
.dog-switch:disabled { opacity: .75; filter: saturate(.5) }
.performers { position: relative; z-index: 1; display: grid; grid-template-rows: minmax(0,1fr) var(--switch-row) var(--label-height); height: calc(100% - var(--picker-height)); pointer-events: none }
.character-line, .instrument-line { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)) }
.character-line { overflow: clip; align-items: end; justify-items: center }
.instrument-line, .character-button { pointer-events: auto }
.character-button { isolation: isolate; position: relative; display: block; min-width: 0; width: min(100%, 16vw, 39cqh, 245px); padding: 0; background: transparent; margin-bottom: clamp(1px, .5vw, 8px) }
.performer-label:focus-visible, .character-button:focus-visible { outline-offset: -3px; outline-color: var(--accent); z-index: 1 }
.character-button::before { content: ''; position: absolute; left: 19%; right: 19%; bottom: 3%; height: 7%; background: #24303059; border-radius: 50% }
.character-button.is-solo::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  left: 9%; right: 9%; bottom: 1%; height: 11%;
  background: radial-gradient(ellipse, #fff4d0 0 28%, var(--color) 30% 58%, transparent 73%);
}
.character-button:is(.picker-pointed, .picker-focused, .has-queued-pick)::before {
  left: 19%; right: 19%; bottom: 2%; height: 3px; border-radius: 0;
  background: var(--color); box-shadow: 0 1px #263633, inset 0 1px #fff2cf;
}
.drum-contact {
  position: absolute; z-index: 1; pointer-events: none;
  left: var(--contact-x); top: 76%; width: 8%; aspect-ratio: 1;
  transform: translate(-50%, -50%); background: #fffbdc;
  clip-path: polygon(40% 0,60% 0,60% 30%,75% 30%,75% 40%,100% 40%,100% 60%,65% 60%,65% 75%,60% 75%,60% 100%,40% 100%,40% 65%,25% 65%,25% 60%,0 60%,0 40%,40% 40%);
}
.drum-contact[data-tail] { width: 4%; background: #ffedac }
.sprite { position: relative; display: block; width: 100%; aspect-ratio: 1; background-image: var(--costume); background-size: 800% 800%; background-position: calc(var(--frame,0)*100%/7) calc((var(--row) + 4 * var(--eyes,0))*100%/7) }
.boost-contact, .switch-fx { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; pointer-events: none }
.loop-fx { position: absolute; width: 132%; height: 132%; left: -16%; bottom: 0; image-rendering: pixelated; pointer-events: none }
.instrument-fx { z-index: 1 }
.costume-echo, .costume-seam { position: absolute; pointer-events: none; image-rendering: pixelated }
.costume-echo { inset: 0; background-repeat: no-repeat }
.costume-seam { left: 18%; width: 64%; height: 3%; min-height: 2px; background: linear-gradient(90deg, transparent 2%, var(--color) 2% 13%, transparent 13% 16%, var(--color) 16% 35%, #fff6d7 35% 73%, var(--color) 73% 89%, transparent 89% 93%, var(--color) 93%); filter: drop-shadow(0 1px #243138) }
.costume-seam::before, .costume-seam::after { content: ''; position: absolute; width: 5%; height: 100%; background: #fff4cf }
.costume-seam::before { left: 8%; bottom: 160%; box-shadow: .35em -.38em var(--color), -.45em .12em var(--color) }
.costume-seam::after { right: 14%; top: 160%; box-shadow: .4em .24em var(--color), -.25em .45em var(--color) }
.performer.empty .sprite {
  background-image: url(assets/station/waiting-frenchie.png);
  background-size: 100% 200%;
  background-position: center calc(var(--eyes,0)*100%);
}
.performer.is-muted .sprite { filter: grayscale(.92) brightness(.83) }
.performer:not(.is-muted):hover .sprite { filter: brightness(1.08) }
.performer-label {
  position: relative; justify-self: center; align-self: center; display: flex; align-items: center; justify-content: center; gap: 5px;
  min-height: 32px; max-width: 100%; padding: 0 5px; background: transparent; color: #fff9df;
  font: 800 clamp(12px, 1.3vw, 17px)/1.1 ui-monospace, Menlo, monospace; text-shadow: var(--letter-outline);
}
.performer-label small { font-size: 10px }
.performer-label small:empty { display: none }
.role-dot { width: 7px; height: 7px; background: var(--color); box-shadow: 0 0 0 1px #263633; flex: none }
.empty .role-dot { background: #625e58; border: 1px solid var(--color) }
.character-button.drag-over, .performer-label.drag-over { outline: 3px dashed var(--color) }
.sound-tray {
  position: relative; z-index: 1; height: var(--picker-height); padding: 4px 0 max(6px, env(safe-area-inset-bottom)); color: #fffae0;
}
.choices { height: 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start }
.family-choices { display: grid; justify-content: center; grid-template-columns: repeat(2, var(--icon-size)); gap: 4px }
.pick-character {
  width: var(--icon-size); height: var(--icon-size); position: relative; isolation: isolate; display: grid; align-items: end; justify-items: center;
  padding: 4px; background: transparent; color: inherit; image-rendering: pixelated;
}
.pick-character::before {
  content: ''; pointer-events: none; position: absolute; inset: 0; z-index: 1;
  border: 5px solid transparent; border-image: url(assets/station/portrait-frame.png) 5 / 5px stretch;
}
.portrait {
  position: relative; display: block; grid-area: 1 / 1; align-self: stretch; justify-self: stretch; margin-bottom: 10px;
  background-color: var(--color);
  background-image: url(assets/station/portraits.png), url(assets/station/portrait-skies.png);
  background-size: 500% 800%, 500% 400%;
  background-position: calc(var(--col)*100%/4) calc((var(--row) + 4 * var(--eyes,0))*100%/7),
    calc(var(--col)*100%/4) calc(var(--row)*100%/3);
  transition: filter .12s; pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .pick-character:active { transform: translateY(1px) }
  .pick-character[data-feedback] .portrait::after { content: ''; position: absolute; inset: 0; opacity: 0; pointer-events: none }
  .pick-character[data-feedback=on] .portrait::after { background: #fff4bf; animation: portrait-glint 240ms steps(5, end) }
  .pick-character[data-feedback=off] .portrait::after { background: #374f62; animation: portrait-shutter 220ms steps(4, end) }
}
@keyframes portrait-glint {
  from { opacity: .8; clip-path: polygon(12% 0, 40% 0, -20% 100%, -48% 100%) }
  to { opacity: .1; clip-path: polygon(135% 0, 163% 0, 103% 100%, 75% 100%) }
}
@keyframes portrait-shutter {
  from { opacity: .6; clip-path: inset(0) }
  to { opacity: 0; clip-path: inset(48% 0) }
}
.dog-name { position: relative; grid-area: 1 / 1; justify-self: stretch; padding: 1px 0; border-top: 2px solid var(--color); background: #253431; font: 700 clamp(9px, .85vw, 12px)/1.05 ui-monospace, Menlo, monospace }
.pick-character:hover .portrait, .pick-character:focus-visible .portrait { filter: brightness(1.18) }
.pick-character[aria-pressed=true] .dog-name { background: var(--color); color: #182922 }
.pick-character[aria-pressed=true]::after {
  content: '✓'; position: absolute; z-index: 2; top: 2px; right: 2px; padding: 0 2px;
  color: #192921; background: var(--color); box-shadow: 0 0 0 1px #24342d; font: 900 12px/1 monospace;
}
.pick-character[data-queued]::after {
  content: ''; position: absolute; z-index: 2; top: 2px; right: 2px;
  width: 11px; height: 11px; border: 2px solid var(--color);
  background: #273735; box-shadow: 0 0 0 1px #24342d, inset 0 0 0 1px #fff3d2;
}
.pick-character[data-stopping]::after { content: '✓−' }
.stage :is(.pick-character,.performer-label,.character-button,.dog-switch):focus-visible { outline: 2px dashed #fff8cd; outline-offset: -2px; box-shadow: inset 0 0 0 3px #293a37 }
h2 { font-size: 26px; line-height: 1.15; letter-spacing: -.04em }
dialog { background: #fafaf4; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 22px; width: min(calc(100% - 24px), 395px); max-height: 90svh; overflow-y: auto }
dialog::backdrop { background: #10211bc9 }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px }
.dialog-heading h2 { font-size: 27px }
.close-dialog { width: 44px; height: 44px; font-size: 26px; background: transparent }
.option-row { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 14px }
input { accent-color: #315d42 }
input[type=checkbox] { width: 20px; height: 20px }
fieldset { margin: 18px 0; border: 0; border-block: 1px solid var(--line); padding: 10px 0 16px }
legend { font-weight: 650; padding: 0 6px 0 0 }
.option-buttons button, .mix-actions button { border-radius: 6px; min-height: 44px; background: #e9ede1; font-size: 14px; font-weight: 600 }
.option-buttons button { flex: 1 }
.option-buttons button[aria-pressed=true] { background: var(--ink); color: white }
.mix-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px }
details { margin-top: 14px; color: var(--muted); font-size: 14px }
summary { cursor: pointer; padding: 10px 0; font-weight: 600 }
details p + p { margin-top: 8px }
#option-status:not(:empty) { margin-top: 12px; font-size: 14px; color: #305d42 }
.toast { z-index: 4; position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); width: max-content; max-width: 90%; background: var(--ink); color: white; padding: 10px 16px; border-radius: 8px; pointer-events: none; opacity: 0 }
.toast.visible { opacity: 1 }
#menu-fullscreen { display: none }
@media (max-width: 880px), (max-width: 1000px) and (max-height: 520px) and (orientation: landscape) {
  .stage { --hud-inset: clamp(3px, calc((100vw - 314px) / 2), 12px) }
  .game-hud {
    --left: max(var(--hud-inset), env(safe-area-inset-left));
    --right: max(var(--hud-inset), env(safe-area-inset-right));
    /* Seven 44px targets and six dividers fit even at a 320px viewport. */
    --key-width: min(52px, calc((100vw - var(--left) - var(--right) - 6px) / 7));
    display: flex; align-items: start; justify-content: space-between; gap: 1px;
  }
  .brand { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
  #fullscreen-button { display: none }
  #menu-fullscreen {
    display: block; width: 100%; min-height: 44px; margin-top: 6px; border-radius: 6px;
    background: #e9ede1; font-size: 14px; font-weight: 600;
  }
  .game-hud :is(.stage-controls,.booster-rack,.game-options) { padding: 0 }
  .game-hud :is(.transport-strip,.stage-controls,.booster-tools) { gap: 1px }
  .game-hud button { width: var(--key-width); min-height: 50px; height: 50px }
  .game-hud .booster-icon { width: 36px; height: 36px }
  .game-hud .transport-strip .pixel-button { height: 50px }
}
@media (max-width: 720px) {
  .world { left: 36%; transform: translateX(-32%); width: max(100%, 144cqh) }
  .stage { --label-height: 36px }
  .performer-label { flex-wrap: wrap; align-content: center; gap: 3px; padding: 0 2px; font-size: clamp(10px, 2.55vw, 15px) }
  .performer-label small:not(:empty) { width: 100%; line-height: 1 }
  .role-dot { display: none }
  .character-button { width: 100% }
  .dog-switch::before, .dog-switch::after { width: 24px; height: 24px }
}
@media (max-width: 610px) and (orientation: portrait) {
  .stage { --icon-size: clamp(48px, min(15vw, 9.8dvh), 74px); --picker-height: calc(4 * var(--icon-size) + 24px + env(safe-area-inset-bottom)) }
  .family-choices { grid-template-columns: var(--icon-size); gap: 3px }
  .dog-name { font-size: clamp(9px, 2.45vw, 12px) }
}
@media (max-height: 520px) and (orientation: landscape) {
  .stage { --icon-size: clamp(42px, 12dvh, 54px); --switch-row: 32px; --label-height: 32px; --hud-inset: 8px }
  .brand img { width: 170px }
  .character-button { width: min(100%, 32cqh) }
  .world { width: max(100%, 190cqh); left: 50%; transform: translateX(-50%) }
}
@media (max-height: 350px) and (orientation: landscape) {
  .stage { height: 100dvh; --icon-size: 39px; --switch-row: 27px; --label-height: 30px }
}
/* Four adjacent nameplates and their gaps must fit under each performer. */
@media (min-width: 960px) {
  .stage {
    --icon-size: clamp(44px, calc(5vw - 4px), 86px);
    --picker-height: calc(var(--icon-size) + 20px + env(safe-area-inset-bottom));
  }
  .family-choices { grid-template-columns: repeat(4, var(--icon-size)); gap: 3px }
  .dog-name { font-size: clamp(9px, .75vw, 12px) }
}
@media (min-width: 960px) and (max-width: 1119px) {
  .dog-name { font-family: 'Helvetica Neue', sans-serif }
}
@keyframes frenchie-blink {
  0%, 100% { --eyes: 0 }
  97% { --eyes: 1 }
}
.sprite, .portrait { animation: frenchie-blink var(--blink-period, 4.4s) steps(1, end) var(--blink-delay, 0s) infinite }
.immersive .stage { height: 100dvh }
@media (prefers-reduced-motion: reduce) {
  .shuffle-flash { visibility: hidden }
  .sprite, .portrait { animation: none }
  *, *::before, *::after { transition: none !important }

}
