@font-face { font-family: 'Inter'; src: url('./fonts/Inter-Variable.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; }
:root { font-family: 'Inter', Arial, sans-serif; color: #171A1A; background: #FFFFFF; font-synthesis: none; font-size: 16px; --paper: #FFFFFF; --ink: #171A1A; --line: #171A1A; --muted: #515858; }
* { box-sizing: border-box; }
body { margin: 0; transition: background .3s, color .3s; }
body.dusk { --paper: #171A1A; --ink: #FFFFFF; --line: #878787; --muted: #BBBFBF; background: var(--paper); color: var(--ink); }
button, input, select { font: inherit; color: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
button, select, a { touch-action: manipulation; }
a { color: inherit; }
button:focus-visible, select:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid #05AD98; outline-offset: 5px; }
.masthead { margin: 0 3.5%; min-height: 90px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.wordmark { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; letter-spacing: 1.3px; text-decoration: none; }
.mark { color: #05AD98; font-size: 41px; line-height: 1; }
.edition, .eyebrow, .stage-caption, footer { font-size: 16px; letter-spacing: 1px; }
main { margin: 0 3.5%; }
.intro { display: flex; justify-content: space-between; align-items: end; gap: 35px; padding: 54px 0 42px; }
.eyebrow { margin: 0 0 23px; display: flex; align-items: center; gap: 10px; line-height: 1.5; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #05AD98; flex-shrink: 0; }
h1 { font: 600 clamp(56px, 6.3vw, 108px)/1.04 'Inter', Arial, sans-serif; letter-spacing: -.065em; margin: 0; }
h1 em { font-weight: inherit; font-style: normal; }
.intro-copy { padding-bottom: 2px; flex-shrink: 0; }
.intro-copy p { font-size: 18px; line-height: 1.6; margin: 0 0 19px; }
.loop-note { display: flex; gap: 9px; align-items: center; font-size: 16px; color: var(--muted); }
.loop-note svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.practice { border: 1px solid var(--line); }
.stage-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 22px; }
.live-caption { display: flex; align-items: center; gap: 9px; }
.live-caption .dot { background: #05AD98; }
.ensemble { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.person { position: relative; min-width: 0; overflow: hidden; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); background: var(--cell); color: #171A1A; }
.person:nth-child(3n) { border-right: 0; }
.dusk .person { color: #171A1A; }
.person-label { position: absolute; top: 19px; left: 21px; display: flex; gap: 9px; font-size: 16px; z-index: 1; }
.person-label span:first-child { font-weight: 600; }
.person svg { width: 100%; height: auto; display: block; padding: 9px 12px 0; }
.person-label { pointer-events: none; }
.drag-help { margin: 0; padding: 0 22px 17px; font-size: 16px; line-height: 1.5; }
.drag-help span { color: var(--muted); }
.character-art { pointer-events: none; }
.drag-handle { fill: transparent; stroke: transparent; stroke-width: 2; cursor: grab; touch-action: none; }
.drag-handle:hover, .drag-handle:focus-visible { stroke: #171A1A; stroke-dasharray: 4 4; outline: none; fill: #ffffff20; }
.dusk .drag-handle:hover, .dusk .drag-handle:focus-visible { stroke: #171A1A; }
.is-dragging, .is-dragging .drag-handle { cursor: grabbing; }
.pose-controls { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 20px 22px; }
#reset span { margin-left: 12px; }
.person svg { touch-action: none; user-select: none; -webkit-user-select: none; }
.playback { display: flex; align-items: center; gap: 25px; padding: 20px 22px; }
.transport { display: flex; gap: 10px; }
button, select { background: transparent; border: 1px solid var(--line); min-height: 46px; border-radius: 0; padding: 9px 14px; }
button:hover, select:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.play-button { display: flex; justify-content: center; align-items: center; gap: 10px; min-width: 111px; background: var(--ink); color: var(--paper); }
.play-button:hover { background: var(--muted); }
#restart { font-size: 25px; padding: 3px 12px; }
.timeline { display: flex; align-items: center; gap: 18px; flex: 1; min-width: 170px; }
#timeline { accent-color: #05AD98; min-width: 60px; width: 100%; cursor: pointer; height: 32px; }
#time { white-space: nowrap; font-size: 16px; font-variant-numeric: tabular-nums; }
.settings { display: flex; gap: 10px; }
#theme { white-space: nowrap; }
#theme span { padding-left: 12px; }
.closing { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 46px 0 48px; }
.closing .eyebrow { margin-bottom: 12px; }
.closing-line { font: 500 30px/1.35 'Inter', Arial, sans-serif; margin: 0; letter-spacing: -.5px; }
.download { position: relative; min-width: 234px; font-size: 18px; font-weight: 600; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.download > span:first-child { float: right; padding-left: 15px; }
.file-detail { display: block; font-size: 16px; margin-top: 11px; font-weight: 400; color: var(--muted); }
footer { margin: 0 3.5%; border-top: 1px solid var(--line); padding: 25px 0 32px; display: flex; justify-content: space-between; gap: 20px; line-height: 1.6; letter-spacing: 0; color: var(--muted); }
footer a { text-underline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (min-width: 1700px) { main, .masthead, footer { max-width: 1680px; margin-inline: auto; } }
@media (max-width: 1050px) { .intro { align-items: start; flex-direction: column; gap: 25px; } .intro-copy { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 20px; } .intro-copy p { margin: 0; } .playback { flex-wrap: wrap; gap: 14px; } .timeline { min-width: 45%; } .settings { margin-left: auto; } }
@media (max-width: 700px) { .masthead { min-height: 78px; } .edition { display: none; } .intro { padding: 38px 0 28px; gap: 25px; } h1 { font-size: clamp(52px, 10.5vw, 74px); } .intro-copy { align-items: start; flex-direction: column; gap: 15px; } .eyebrow { letter-spacing: .3px; margin-bottom: 19px; } .ensemble { grid-template-columns: repeat(2, 1fr); } .person:nth-child(3n) { border-right: 1px solid var(--line); } .person:nth-child(2n) { border-right: 0; } .person-label { top: 13px; left: 12px; gap: 5px; } .person svg { padding: 30px 0 0; } .stage-caption { padding: 16px 12px; flex-wrap: wrap; } .stage-caption, .edition { letter-spacing: .2px; } .playback { padding: 16px 12px; } .timeline { order: 3; min-width: 100%; } .settings { flex-wrap: wrap; } .settings select { max-width: 140px; } .closing { align-items: start; flex-direction: column; gap: 23px; padding: 32px 0; } .closing-line { font-size: 28px; } footer { flex-direction: column; gap: 10px; } }
@media (max-width: 400px) { .ensemble { grid-template-columns: 1fr; } .person { border-right: 0 !important; } .person svg { padding: 10px 8px 0; } .playback { gap: 16px; } .settings { margin: 0; width: 100%; } .stage-caption { font-size: 16px; } .wordmark { letter-spacing: .5px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
.ensemble { position: relative; }
.ensemble > .person { min-height: 0; border-right: 1px solid var(--line) !important; }
.ensemble > .person > svg { height: 100%; width: 100%; padding: 32px 12px 12px; }
.grid-guides { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.grid-divider { position: absolute; pointer-events: auto; touch-action: none; user-select: none; }
.column-divider { top: 0; bottom: 0; width: 18px; transform: translateX(-50%); cursor: col-resize; }
.row-divider { left: 0; right: 0; height: 18px; transform: translateY(-50%); cursor: row-resize; }
.grid-divider::after { content: ''; position: absolute; background: var(--paper); border: 1px solid var(--ink); border-radius: 5px; }
.column-divider::after { width: 7px; height: 30px; left: 5px; top: calc(50% - 15px); }
.row-divider::after { width: 30px; height: 7px; top: 5px; left: calc(50% - 15px); }
.grid-divider:hover, .grid-divider:focus-visible, .grid-divider.is-resizing { outline: none; background: #05AD9830; }
.grid-divider:focus-visible::after, .grid-divider.is-resizing::after { background: #05AD98; outline: 2px solid var(--paper); }
@media (pointer: coarse) { .column-divider { width: 30px; } .column-divider::after { left: 11px; } .row-divider { height: 30px; } .row-divider::after { top: 11px; } }
[hidden] { display: none !important; }
.mode-switch { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.mode-switch [aria-pressed="true"] { background: #05AD98; color: #171A1A; border-color: #05AD98; font-weight: 600; }
.mode-switch > span { margin-left: auto; font-size: 16px; color: var(--muted); }
.game-heading { display: flex; justify-content: space-between; gap: 24px; padding: 25px 0 12px; border-top: 1px solid var(--line); }
.game-heading .eyebrow { margin-bottom: 10px; }
.game-heading h2 { font: 600 42px/1.15 'Inter', Arial, sans-serif; letter-spacing: -1px; margin: 0 0 15px; }
.game-heading p:not(.eyebrow) { font-size: 18px; line-height: 1.5; margin: 0; max-width: 720px; }
.game-progress { display: flex; flex-direction: column; align-items: end; gap: 14px; flex-shrink: 0; font-size: 18px; }
.game-instructions { font-size: 16px; color: var(--muted); line-height: 1.6; margin: 0 0 25px; }
.challenge-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.challenge-card { min-width: 0; border: 1px solid var(--line); background: var(--paper); }
.challenge-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 16px; min-height: 180px; }
.challenge-header .eyebrow { margin: 0 0 10px; letter-spacing: .5px; }
.challenge-header h3 { font: 600 30px/1.15 'Inter', Arial, sans-serif; margin: 0; }
.challenge-state { font-size: 16px; margin: 12px 0 0; color: var(--muted); }
.pose-reference { width: 126px; flex-shrink: 0; margin: 0; text-align: center; }
.pose-reference svg { display: block; width: 100%; height: 112px; }
.pose-reference figcaption { font-size: 16px; line-height: 1.4; }
.challenge-stage { position: relative; background: var(--challenge-color); border-block: 1px solid var(--line); }
.game-figure { display: block; width: 100%; height: auto; touch-action: none; user-select: none; }
.game-handle.is-matched { stroke: #05AD98; stroke-width: 2.5; fill: #05AD9810; }
.game-handle:hover, .game-handle:focus-visible { stroke: #171A1A; stroke-dasharray: 4 4; }
.target-outline { pointer-events: none; fill: none; stroke: #171A1A; stroke-width: 3; stroke-dasharray: 6 5; opacity: .65; }
.target-outline circle { fill: #ffffff70; }
.challenge-cue { font-size: 16px; line-height: 1.5; margin: 16px; min-height: 48px; }
.challenge-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 0 16px 16px; font-size: 16px; }
.outline-toggle { padding: 10px; }
.challenge-lock { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; background: #FFFFFFd9; color: #171A1A; font-size: 18px; line-height: 1.5; }
.is-locked .game-figure, .is-solved .game-figure { pointer-events: none; }
.solved-stamp { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; border-radius: 50%; width: 42px; height: 42px; background: #05AD98; color: white; font-size: 26px; }
.is-solved { border-color: #05AD98; }
.is-solved .challenge-state { color: var(--ink); font-weight: 600; }
.next-pose { display: block; width: calc(100% - 32px); margin: 0 16px 16px; text-align: left; }
.game-announcement { font-size: 18px; line-height: 1.5; padding: 20px 0; margin: 0; }
button:disabled { cursor: default; opacity: .55; }
.is-solved .next-pose:disabled { opacity: 1; }
@media (max-width: 1100px) { .challenge-header { flex-direction: column; align-items: start; } .pose-reference { align-self: center; } }
@media (max-width: 760px) { .challenge-grid { grid-template-columns: 1fr; } .challenge-header { flex-direction: row; align-items: center; min-height: 150px; } .game-heading { flex-direction: column; } .game-heading h2 { font-size: 36px; } .game-progress { flex-direction: row; align-items: center; justify-content: space-between; } .mode-switch > span { width: 100%; margin: 8px 0 0; } }
@media (max-width: 350px) { .challenge-header { flex-wrap: wrap; } .pose-reference { width: 110px; } }

.closing-line em { font-style: normal; }
.intro > div:first-child { min-width: 0; }


.pose-reference svg { background: var(--challenge-color); border-radius: 8px; }
