:root{--ink:#352d3b;--paper:#fff2df;--blue:#233f51;--plum:#623e59;--terra:#bc785e;--line:rgba(53,45,59,.24);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;background:#e5d8df}body{overscroll-behavior:none}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid #fff6c7;outline-offset:4px;box-shadow:0 0 0 6px #352d3b}button:disabled{cursor:default;opacity:.4}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#app{height:100vh;height:100svh;min-height:510px;position:relative;isolation:isolate;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;padding:24px 38px 12px;overflow:hidden}
#landscape{position:absolute;inset:0;width:100%;height:100%;z-index:-3;pointer-events:none}.paper-grain{position:absolute;inset:0;z-index:-2;pointer-events:none;opacity:.13;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath filter='url(%23n)' opacity='.5' d='M0 0h160v160H0z'/%3E%3C/svg%3E");mix-blend-mode:multiply}
.masthead{display:grid;grid-template-columns:1fr auto;align-items:start;gap:14px 20px;position:relative;z-index:2}.eyebrow{font-size:10px;letter-spacing:1.6px;text-transform:uppercase;font-weight:650;margin:0 0 7px}.wordmark h1{font-size:27px;letter-spacing:-1px;font-weight:800;line-height:1;margin:0}.title-knot{display:inline-block;font-size:34px;line-height:.5;vertical-align:-3px;margin-left:12px;color:#86533e;font-weight:400}.utilities{display:flex;align-items:center;gap:5px;margin-top:-8px}.quiet-button{min-height:44px;min-width:44px;border:0;background:transparent;padding:8px 12px;font-size:12px;text-decoration:underline;text-decoration-color:rgba(53,45,59,.3);text-underline-offset:5px}.quiet-button:hover{background:rgba(255,244,228,.3);border-radius:6px}.pitches{list-style:none;display:flex;margin:0;padding:0;gap:26px}.pitches li{font-size:11px;letter-spacing:.4px;opacity:.58;display:flex;align-items:center;gap:6px}.pitches li span{font-size:10px;border-top:2px solid currentColor;padding-top:5px;min-width:24px;align-self:start}.pitches li[aria-current=step]{opacity:1;font-weight:750}.pitches li.complete span:after{content:"✓";margin-left:4px}.edition{margin:1px 0 0;font-size:10px;letter-spacing:.5px;text-align:right}.edition span{display:block;font-size:9px;margin-top:5px;letter-spacing:1.5px}
#wall{position:relative;width:min(600px,100%);justify-self:center;min-height:0;margin-top:6px;z-index:1}.wall-caption{position:absolute;left:-22%;top:22%;max-width:170px;pointer-events:none;color:#251e24;text-shadow:none}.wall-caption>span{font-size:9px;letter-spacing:2px;font-weight:650}.wall-caption h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:24px;line-height:1.12;margin:8px 0 12px}.wall-caption p{font-size:11px;line-height:1.7;max-width:145px;margin:0}.wall-caption p::before{content:"◌";margin-right:6px;font-size:15px}#holds{position:absolute;inset:0 0 80px}.hold{position:absolute;width:48px;height:48px;min-width:44px;min-height:44px;transform:translate(-50%,-50%);border:1px dashed rgba(255,238,208,.4);border-radius:50%;background:transparent;padding:0;z-index:3;color:#feeacd;transition:border-color .2s,background-color .2s}.hold:active{transform:translate(-50%,-50%)!important}.hold-visual{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}.hold:active .hold-visual{transform:scale(.95)}.hold .hold-rock{position:absolute;inset:9px 7px 8px;background:#965942;clip-path:polygon(4% 38%,28% 16%,73% 3%,97% 35%,85% 80%,35% 98%,0 69%);box-shadow:inset 0 5px #d99b77}.hold:nth-child(even) .hold-rock{clip-path:polygon(5% 55%,33% 10%,88% 8%,98% 66%,63% 83%,18% 95%)}.hold .hold-number{position:relative;font-size:15px;font-weight:700;text-shadow:0 1px 2px #633e37}.hold[data-state=reachable]{border:2px solid #ffefc8;background:rgba(255,232,189,.13);box-shadow:0 0 0 5px rgba(255,236,197,.09)}.hold[data-state=reachable] .hold-number{color:#fff5dc}.hold[data-state=occupied]{border:2px solid var(--blue);background:rgba(35,63,81,.12)}.hold[data-state=occupied] .hold-rock{background:#344d55;box-shadow:inset 0 4px #6c8590}.hold[data-state=locked]{border-color:rgba(59,34,29,.35)}.hold[data-state=locked] .hold-number{opacity:.75}.hold[data-state=reachable]:hover{background:rgba(255,238,200,.27);box-shadow:0 0 0 6px rgba(255,238,197,.18)}.hold:focus-visible{outline:3px solid #fff6c7;outline-offset:4px;box-shadow:0 0 0 7px #453f54}.hold-label{position:absolute;top:51px;left:50%;transform:translateX(-50%);width:120px;font-size:10px;line-height:1.25;font-weight:600;color:#251e24;text-shadow:none;pointer-events:none;white-space:normal}.hold-label small{display:block;font-size:8px;font-weight:600;letter-spacing:1px;text-transform:uppercase;margin-top:2px}.hold[data-state=locked] .hold-label{color:#462f2d;text-shadow:none}.hold[data-state=occupied] .hold-label{color:#fff2d9}.hold[data-state=occupied] .hold-label .hold-name{display:none}.hold[data-state=occupied] .hold-label small{background:#2d4551;border-radius:10px;padding:3px 6px;display:inline-block}.hold[data-number="5"] .hold-label{width:102px}.hold[data-state=reachable] .hold-label small:before{content:"↗ ";font-size:11px}.hold[data-state=locked] .hold-label small:before{content:"· ";font-size:11px}
.action-dock{position:absolute;bottom:2px;left:0;width:100%;text-align:center;z-index:5;min-height:65px;display:flex;align-items:center;justify-content:end;flex-direction:column;gap:7px}#actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;min-height:44px}.scene-action{min-height:44px;border-radius:25px;padding:9px 20px;border:1px solid rgba(255,236,202,.75);background:#3b3c45;color:#fff1dc;box-shadow:0 3px 0 rgba(67,42,34,.2);font-size:12px;font-weight:600}.scene-action:hover{background:#263d4c}.scene-action .action-arrow{margin-left:12px;opacity:.65}.scene-action[data-action=assist]{background:#684351}.scene-action[data-action=reset]{background:#eee0cd;color:#393543;border-color:#eee0cd}#action-hint{font-size:10px;letter-spacing:.4px;margin:0;color:#251e24;min-height:14px;text-shadow:none}
.story{position:relative;z-index:6;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;width:min(950px,100%);justify-self:center;padding:22px 0 17px;min-height:146px}.story:before{content:"";position:absolute;inset:-10px -80vw -50px;z-index:-1;background:linear-gradient(0deg,#f0dfcf 8%,rgba(240,223,207,.98) 70%,rgba(240,223,207,0))}#narrative{max-width:640px}#speaker{margin-bottom:8px;font-size:9px;letter-spacing:1.6px}#story-text{font-family:Georgia,"Times New Roman",serif;font-size:24px;line-height:1.23;margin:0;font-weight:400;max-width:650px}#cue{font-size:11px;line-height:1.5;margin:10px 0 0;color:#685349;max-width:600px}#narrative[data-kind=refused] #speaker{color:#8c392d}#narrative[data-kind=refused] #cue{font-weight:600}.hand-controls{align-self:center}.hands-label{font-size:8px;letter-spacing:1.5px;display:block;margin-bottom:6px}.hand-options{display:flex;gap:4px}.hand-options button{min-width:44px;min-height:44px;border:1px solid rgba(57,51,60,.25);background:transparent;border-radius:22px;font-size:12px}.hand-options button:first-child{padding:0 12px}.hand-options button[aria-pressed=true]{background:#39454e;border-color:#39454e;color:#fff0d9}.hand-options button:hover{border-color:#263d4c}#auto-next{font-size:10px;opacity:.8}.key-legend,.touch-legend{font-size:9px;line-height:1.7;color:#735f55;margin:8px 0 0}.key-legend span{padding:0 3px}kbd{font:inherit;color:#3a343a}.touch-legend{display:none}footer{display:flex;justify-content:space-between;gap:16px;z-index:6;font-size:9px;letter-spacing:.1px;border-top:1px solid var(--line);padding-top:9px;color:#735f55}footer a{color:inherit;text-underline-offset:3px;min-height:20px}#replay-slot{width:100%}.ended .hand-controls,.ended .action-dock,.ended .wall-caption{display:none}.ended #holds{inset:0;visibility:hidden}.ended .story{display:flex;flex-direction:column;align-items:center;gap:14px;min-height:0;text-align:center;padding:18px 0 16px}.ended #narrative{width:100%;max-width:660px;margin:0 auto}.ended #story-text{max-width:none}.ended #cue{margin:10px auto 0}.ended #actions{min-height:44px}.noscript{position:absolute;inset:30% 20px auto;background:#fff0dd;padding:20px;z-index:100}
@media(min-width:1200px){#wall{width:600px}.story{margin-bottom:8px}.wall-caption{left:-32%}#story-text{font-size:26px}.masthead{gap:18px 20px}}
@media(max-width:900px){#app{padding:20px 24px 10px}.wall-caption{left:0;top:1%;max-width:130px}.wall-caption h2{font-size:20px;margin:6px 0}.wall-caption p{font-size:9px;line-height:1.45;max-width:116px}.wall-caption>span{font-size:8px;letter-spacing:1.2px}#holds{inset:36px 18px 80px}.hold-label{width:100px;font-size:9px}#story-text{font-size:22px}.story{gap:16px}}
@media(max-width:600px){#app{padding:16px 16px 10px}.masthead{gap:12px 2px}.eyebrow{font-size:8px;letter-spacing:1.1px}.wordmark h1{font-size:23px;letter-spacing:-.85px}.title-knot{display:none}.utilities{margin:-6px -7px 0 0;gap:0;grid-column:2;grid-row:1/3;flex-wrap:wrap;justify-content:flex-end;max-width:104px}.quiet-button{padding:5px 7px;font-size:10px}.quiet-button:first-child{flex-basis:100%;min-height:34px}.pitches{gap:14px;grid-column:1}.pitches li{font-size:9px;gap:4px}.pitches li span{font-size:8px;min-width:15px;padding-top:4px}.edition{display:none}#wall{margin-top:6px}.wall-caption{left:1%;top:3%;max-width:95px}.wall-caption h2{font-size:17px}.wall-caption p{font-size:8px;max-width:95px}.wall-caption>span{font-size:7px}.wall-caption p::before{font-size:12px;margin-right:4px}#holds{inset:36px 8px 83px}.hold{width:46px;height:46px}.hold-label{top:47px;width:91px;font-size:8px;line-height:1.12}.hold-label small{font-size:7px;letter-spacing:.4px;margin-top:3px}.hold[data-number="5"] .hold-label{width:79px}.hold-rock{opacity:.92}.action-dock{bottom:5px;min-height:67px}.scene-action{padding:9px 15px;font-size:11px}.scene-action .action-arrow{margin-left:8px}#actions{gap:5px}#action-hint{font-size:8px}.story{padding:15px 0 12px;gap:10px;min-height:163px;grid-template-columns:minmax(0,1fr) 108px;align-items:start}#speaker{font-size:8px;margin-bottom:6px;letter-spacing:1px}#story-text{font-size:18px;line-height:1.25}#cue{font-size:9px;line-height:1.4;margin-top:8px}.hands-label{font-size:7px;letter-spacing:1px}.hand-options{flex-wrap:wrap;gap:4px}.hand-options button:first-child{flex-basis:100%;padding:0 8px;min-height:36px}.hand-options button:not(:first-child){flex:1;min-width:44px}.hand-options button{font-size:11px}.hand-controls{width:108px;padding-left:7px;border-left:1px solid var(--line)}#auto-next{font-size:9px}.key-legend{font-size:8px;line-height:1.5}.touch-legend{font-size:8px;line-height:1.5}footer{font-size:8px;gap:5px;padding-top:8px}footer a{max-width:133px;text-align:right}}
@media(pointer:coarse){.key-legend{display:none}.touch-legend{display:block}}
@media(max-height:720px){#app{padding-top:13px}.masthead{gap:10px 12px}.wordmark h1{font-size:23px}#wall{margin-top:2px}.story{padding-top:13px;padding-bottom:10px;min-height:145px}#story-text{font-size:20px}.hold-label{top:47px}.action-dock{bottom:0}.wall-caption h2{font-size:17px}.wall-caption p{font-size:9px}#holds{bottom:78px}.scene-action{min-height:44px}}
@media(max-width:360px){#app{padding-left:12px;padding-right:12px}.wordmark h1{font-size:21px}.wordmark .eyebrow{font-size:7px}.pitches{gap:10px}.pitches li{font-size:8px}.utilities{max-width:91px}.quiet-button{font-size:9px;padding:6px}#story-text{font-size:17px}.story{grid-template-columns:minmax(0,1fr) 100px;gap:7px;min-height:166px}.hand-controls{width:100px;padding-left:6px}.hold-label{width:82px;font-size:8px}.wall-caption{max-width:85px}.wall-caption h2{font-size:15px}.wall-caption p{font-size:8px;max-width:80px}#holds{left:7px;right:7px}.scene-action{font-size:10px;padding:9px 13px}#actions{gap:4px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media(max-width:360px){.hold-name{display:none}.hold-label small{margin-top:1px}.hold[data-state=occupied] .hold-label small{padding:2px 5px}}
/* Compact screens keep every action a full finger target; prose gets the full width. */
footer a{min-height:44px;display:inline-flex;align-items:center;justify-content:flex-end}
@media(max-width:600px){.masthead{grid-template-columns:minmax(0,1fr) 132px;gap:9px 0}.wordmark h1{font-size:18px;letter-spacing:-.7px}.wordmark .eyebrow{font-size:7px;max-width:155px;line-height:1.4;margin-bottom:5px}.utilities{grid-column:2;grid-row:1;max-width:none;flex-wrap:nowrap;margin:-2px 0 0}.utilities .quiet-button{font-size:0;padding:0;min-width:44px;min-height:44px;flex-basis:auto}.utilities .quiet-button:after{font-size:19px;text-decoration:none;display:inline-block}.utilities #sound:after{content:"♪"}.utilities #sound[aria-pressed=false]:after{text-decoration:line-through}.utilities #undo:after{content:"↶"}.utilities #reset:after{content:"↺"}.pitches{grid-column:1/3}.story{display:flex;flex-direction:column;align-items:stretch;gap:11px;min-height:0;padding-top:14px;padding-bottom:10px}.story #narrative{min-height:88px}.hand-controls{width:100%;padding:0;border:0;display:flex;align-items:center;gap:10px}.hands-label{margin:0;max-width:40px;line-height:1.5}.hand-options{flex-wrap:nowrap;gap:5px}.hand-options button:first-child{flex-basis:auto;min-height:44px;padding:0 12px;min-width:100px}.hand-options button:not(:first-child){flex:0 0 44px}.hand-options button{min-height:44px}.key-legend,.touch-legend{display:none}.story #story-text{font-size:19px;line-height:1.22}.story #cue{font-size:10px;line-height:1.35}.story #speaker{font-size:8px;margin-bottom:5px}#holds{top:17px;bottom:77px}.wall-caption{top:1%}.wall-caption h2{font-size:16px}.wall-caption p{font-size:8px}footer{padding-top:4px;align-items:center}footer a{max-width:145px}.ended .story{min-height:0;display:flex;gap:12px;padding:14px 0 12px}.ended .story #narrative{min-height:0}}
@media(max-width:360px){.wordmark h1{font-size:17px}.wordmark .eyebrow{max-width:135px;font-size:6px}.pitches{gap:17px}.story #narrative{min-height:101px}.story #story-text{font-size:18px}.story #cue{font-size:9px}.hand-controls{gap:7px}.hand-options button:first-child{min-width:93px;padding:0 10px}.wall-caption h2{font-size:14px}.wall-caption p{max-width:77px;font-size:7px}.wall-caption{max-width:82px}#holds{top:17px}}
.wall-caption p{color:#251e24;text-shadow:none;font-weight:600}
@media(max-width:600px){.wall-caption p{font-size:10px;line-height:1.35}.hold-label small{background:rgba(65,43,38,.86);padding:1px 3px;border-radius:7px;color:#fff0d8;display:inline-block;font-size:8px;letter-spacing:0}.hold[data-state=occupied] .hold-label small{background:#2d4551}}
@media(max-width:360px){.wall-caption p{font-size:9px;max-width:80px}.hold-label{top:44px}.hold-label small{font-size:8px;margin-top:0}}

/* Reserve feedback space so a refusal cannot move the wall under a finger. */
@media(max-width:600px){.story #narrative{min-height:132px}.ended .story #narrative{min-height:0}}
@media(max-width:360px){#holds{left:0;right:0}}
