@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Mono:wght@400;500&family=Fraunces:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');
:root{--paper:#f6f3e9;--ink:#293c32;--muted:#6d756b;--line:#dcded0;--orange:#ed603c;--green:#365b43;--yellow:#f6ce69;--serif:'Fraunces',Georgia,serif;--sans:'DM Sans',system-ui,sans-serif;--mono:'DM Mono',monospace}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--orange);outline-offset:5px}button{transition:background .18s,transform .18s,box-shadow .18s}button:not(:disabled):active{transform:translateY(2px)}[hidden]{display:none!important}.masthead{height:88px;max-width:1328px;margin:auto;padding:0 36px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{text-decoration:none;color:var(--ink);font-weight:700;font-size:27px;letter-spacing:-1.4px;display:flex;align-items:center;gap:7px}.brand-panic{color:var(--orange);margin-left:-7px}.brand-icon{font-size:42px;font-weight:400;line-height:1;display:inline-block;margin-right:5px;color:var(--orange)}.header-actions{display:flex;gap:28px;align-items:center}.text-button{background:none;border:0;font-size:14px;padding:9px 0}.text-button:hover{color:var(--orange)}#sound span{margin-right:6px;font-size:21px}.help-icon{border:1px solid #8a9485;border-radius:50%;display:inline-flex;width:18px;height:18px;align-items:center;justify-content:center;font-size:12px;margin-left:6px}main{max-width:1328px;margin:auto;padding:0 36px}.intro{height:266px;position:relative;display:flex;align-items:center;isolation:isolate;overflow:hidden}.intro-copy{position:relative;z-index:2}.eyebrow{font:500 11px var(--mono);letter-spacing:1.65px;line-height:1.5}.tiny-star{color:var(--orange);font-size:16px;padding-right:6px}h1{font-family:var(--serif);font-size:clamp(38px,4.1vw,57px);font-weight:500;line-height:1.03;letter-spacing:-2.3px;margin:17px 0 17px}h1 em{font-weight:500;color:var(--orange)}.intro-sub{font-size:15px;color:var(--muted);margin:0}.art{position:absolute;right:-20px;width:56%;height:100%;top:0;background-position:50% 62%;background-size:cover;z-index:-1;mask-image:linear-gradient(to right,transparent 0%,black 21%,black 100%)}.art-note{position:absolute;right:17%;top:29px;font-family:var(--serif);font-style:italic;color:var(--green);font-size:15px;transform:rotate(-5deg)}.game{background:#fffdf6;border:1px solid #ccd2c3;border-radius:13px;overflow:hidden;box-shadow:0 6px 0 #e8e9dd;position:relative}.game-top{height:46px;background:var(--green);color:#fffaf0;display:flex;justify-content:space-between;align-items:center;padding:0 25px;font:11px var(--mono);letter-spacing:1.3px}.sale-label{display:flex;align-items:center;gap:9px}.status-dot{height:7px;width:7px;background:var(--yellow);border-radius:50%}.status-dot.active{background:#bde394;box-shadow:0 0 0 4px #ffffff16;animation:pulse 1.8s infinite}.round-label{color:#d1dccb;font-size:10px;letter-spacing:.7px}.scoreboard{display:grid;grid-template-columns:1fr 1.55fr 1fr 1.7fr;border-bottom:1px solid var(--line);margin:0 25px;padding:22px 0 20px}.score-item{padding:0 25px;border-right:1px solid var(--line);display:flex;flex-direction:column;justify-content:center}.score-item:first-child{padding-left:0}.score-item:last-child{border:0}.stat-label{font:10px var(--mono);letter-spacing:1.25px;color:var(--muted);margin-bottom:9px}.score-item>strong{font:500 26px var(--mono);line-height:1.1}.mood-stat>strong{font:500 14px var(--sans);white-space:nowrap}.ticket-meter{display:flex;align-items:center;gap:12px}.ticket-meter strong{font:13px var(--mono)}.meter-track{height:8px;border-radius:3px;background:#e9e9df;flex:1;overflow:hidden}.meter-track span{height:100%;background:#7d9f65;width:100%;display:block;transition:width .2s}.devices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px;padding:29px 29px 8px;align-items:start}.device{min-width:0;text-align:center}.device-name{font:11px var(--mono);letter-spacing:.5px;color:#4a584b;display:flex;justify-content:center;align-items:center;gap:7px;margin-bottom:14px}.device-name kbd{font:10px var(--mono);border:1px solid #d8dbc9;border-radius:4px;width:18px;height:18px;line-height:16px;background:#f1f1e7;color:#7a8270}.device-shell{border:2px solid #55715a;border-radius:10px;background:#d7dfc9;box-shadow:0 4px 0 #55715a;padding:7px;transition:transform .2s,box-shadow .2s;position:relative}.device:nth-child(2) .device-shell{background:#e9d8b6;border-color:#9b845f;box-shadow:0 4px 0 #9b845f}.device:nth-child(3) .device-shell{background:#d5dfe2;border-color:#718890;box-shadow:0 4px 0 #718890}.device:nth-child(4) .device-shell{background:#e7c9bd;border-color:#ac8071;box-shadow:0 4px 0 #ac8071}.device:nth-child(5) .device-shell{background:#ded2e0;border-color:#948298;box-shadow:0 4px 0 #948298}.browser-bar{height:24px;border:1px solid #bcc6b3;border-bottom:0;border-radius:5px 5px 0 0;background:#f0f1e6;display:flex;align-items:center;justify-content:space-between;padding:0 6px}.browser-dots{display:flex;gap:3px}.browser-dots i{width:4px;height:4px;background:#b9c3ad;border-radius:50%}.browser-url{font:8px var(--mono);color:#839078}.screen{border:1px solid #bcc6b3;border-radius:0 0 4px 4px;min-height:154px;background:#fffef8;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px 7px 11px}.screen-icon{font-size:29px;color:#839076;height:39px;line-height:35px}.screen strong{font:500 16px var(--serif);margin:5px 0 7px}.screen p{font-size:11px;line-height:1.5;color:var(--muted);min-height:33px;margin:0 0 12px}.refresh-button{width:100%;border:1px solid #a8b89b;border-radius:5px;background:#edf0e4;padding:9px 5px;font-size:12px;font-weight:600;min-height:35px;display:flex;gap:6px;justify-content:center;align-items:center}.refresh-button:disabled{color:#8b9780;background:#eff1e7;border-color:#d9dfce}.refresh-button:not(:disabled):hover{background:#dce6cf;box-shadow:0 2px 0 #9eaf90}.device-under{height:4px;width:85%;margin:5px auto 0;border-radius:0 0 50% 50%;background:#dbdfcf}.device-note{font-size:10px;color:#87917e;font-style:italic;margin:12px 0 0;min-height:26px}.device.ready .device-shell{animation:ready-wiggle 1s infinite;border-color:#4c8250;box-shadow:0 0 0 5px #a4cd8760,0 4px 0 #4c8250}.device.ready .screen{background:#eff8dc}.device.ready .screen-icon{color:#568637}.device.ready .refresh-button{background:var(--green);border-color:var(--green);color:white}.device.loading .screen-icon{animation:spin 1s linear infinite}.device.stale .screen{background:#fff0e7}.device.stale .screen-icon{color:var(--orange)}.control-zone{text-align:center;min-height:118px;padding:15px 20px 21px}.primary{background:var(--orange);color:#fffdf2;border:1px solid #d54c29;border-radius:7px;box-shadow:0 3px 0 #ba4929;font-weight:600;font-size:15px;padding:13px 25px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:27px}.primary:hover{background:#df512e;box-shadow:0 4px 0 #a64427}.primary span{font-size:23px;line-height:16px;font-weight:400}.control-zone p{color:var(--muted);font-size:12px;margin:14px 0 0}.control-zone .live-message{color:var(--ink);font-size:17px;font-family:var(--serif);margin:3px 0 13px}.keyboard-tip{font-size:12px;color:var(--muted)}kbd{font-family:var(--mono);display:inline-block;border:1px solid #d5d9c8;background:#f4f4ea;padding:2px 5px;border-radius:4px}.game-bottom{border-top:1px dashed #d9ddcb;display:flex;align-items:center;justify-content:space-between;padding:13px 25px;font-size:11px;color:var(--muted);background:#f8f9ef}.heart{color:var(--orange);font-size:18px;margin-right:5px;vertical-align:-1px}#game-phase{font:10px var(--mono);letter-spacing:1px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin:31px 0 35px}.steps>div{display:flex;gap:14px;align-items:center;justify-content:center}.step-number{font:italic 26px var(--serif);color:#92a082;align-self:flex-start;margin-top:3px}.steps p{margin:0}.steps strong{display:block;font-size:13px;font-weight:600;margin-bottom:5px}.steps p>span{font-size:11px;color:var(--muted)}footer{border-top:1px solid var(--line);padding:21px 0 26px;display:flex;justify-content:space-between;gap:16px;color:#8b9282;font-size:10px}.footer-mark{font-family:var(--serif);font-style:italic;color:var(--green);font-size:13px}dialog{border:1px solid #b6c2a6;border-radius:15px;padding:34px;max-width:520px;width:calc(100% - 32px);color:var(--ink);background:var(--paper);box-shadow:0 18px 90px #1d30294a;max-height:90dvh;overflow-y:auto}dialog::backdrop{background:#243b32a6;backdrop-filter:blur(5px)}.close{position:absolute;right:18px;top:12px;background:none;border:0;font-size:28px;color:var(--muted)}h2{font:500 38px/1.1 var(--serif);letter-spacing:-1.4px;margin:17px 0}h2 em{color:var(--orange);font-weight:500}.instructions{padding-left:20px;font-size:14px;line-height:1.6;display:grid;gap:15px;margin:25px 0}.instructions strong{display:block}.close-help{width:100%}.booking-heading{display:flex;gap:15px;justify-content:space-between;align-items:center}.booking-heading .eyebrow{font-size:10px;max-width:235px}.booking-clock{font:20px var(--mono);color:var(--orange);border:1px solid #e6c5aa;padding:8px;border-radius:5px;white-space:nowrap}.dialog-sub{color:var(--muted);font-size:14px;line-height:1.6}.registration-card{background:#f5e3a7;border:1px solid #d9be73;padding:17px;border-radius:7px;margin:23px 0}.card-top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px dashed #ccb96e;padding-bottom:10px;font:10px var(--mono);letter-spacing:1px}.card-top>span:last-child{font-size:20px}dl{margin:12px 0;display:grid;grid-template-columns:1fr 1fr;gap:12px}dt{font-size:10px;color:#7b764e;margin-bottom:4px}dd{font:500 14px var(--mono);margin:0}.card-note{font-size:10px;color:#80744c}form>label,.form-row>label{font-size:12px;font-weight:600;display:flex;flex-direction:column;gap:7px}input:not([type=radio]){min-width:0;width:100%;background:#fffdf6;border:1px solid #c6ccbc;border-radius:5px;padding:11px 12px;font-size:16px;color:var(--ink)}input::placeholder{font-size:13px;color:#a0a394}.form-row{display:grid;grid-template-columns:1.3fr 1fr;gap:14px;margin-top:14px}fieldset{border:0;margin:19px 0 0;padding:0}legend{font-size:12px;font-weight:600;padding:0;margin-bottom:9px}.day-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.day-options label{display:flex;align-items:center;gap:8px;border:1px solid #c9cebd;border-radius:5px;padding:11px;cursor:pointer;font-size:13px;background:#fffdf6}.day-options label:has(input:checked){background:#e3edda;border-color:#638354}.day-options small{display:block;font-size:10px;color:var(--muted);margin-top:5px}input[type=radio]{accent-color:var(--green)}#form-error{font-size:12px;line-height:1.5;color:#ba3e29;min-height:18px;margin:12px 0}#booking-form .primary{width:100%}#result-dialog{text-align:center;padding:38px 35px}.result-icon{font-size:56px;color:var(--orange);line-height:1.2}.result-receipt{border-block:1px dashed #c8ceba;padding:18px 0;margin:24px 0;text-align:center}.result-receipt>span{font:11px var(--mono);letter-spacing:1px}.result-receipt>div{display:flex;justify-content:space-around;font-size:12px;color:var(--muted);margin-top:15px}.result-receipt strong{display:block;font:20px var(--mono);color:var(--green);margin-top:5px}.result-footnote{font-size:11px;color:var(--muted);margin:20px 0 0}.confetti-piece{position:absolute;width:7px;height:13px;top:-20px;animation:confetti 3s linear infinite;pointer-events:none}#confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden;border-radius:15px}.urgent{color:#c73f27!important}.dancing{animation:dance .6s infinite alternate}@keyframes pulse{50%{opacity:.5}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes ready-wiggle{0%,100%{transform:rotate(-1deg)}50%{transform:rotate(1deg) translateY(-3px)}}@keyframes dance{to{transform:rotate(15deg) translateY(-7px)}}@keyframes confetti{to{transform:translateY(650px) rotate(500deg)}}
@media(min-width:1500px){.masthead{height:100px}.intro{height:290px}.devices{padding-top:34px}.screen{min-height:185px}.control-zone{padding-top:24px;padding-bottom:26px}.steps{margin:36px 0 40px}}
@media(max-width:1000px){.masthead,main{padding-left:24px;padding-right:24px}.devices{gap:12px;padding:25px 18px 8px}.score-item{padding:0 17px}.mood-stat>strong{font-size:12px}.art{width:52%}.art-note{right:7%;font-size:13px}.screen{padding:13px 5px 8px}.browser-url{font-size:7px}.device-name{font-size:10px}.screen strong{font-size:14px}.screen p{font-size:10px}.refresh-button{font-size:11px}.steps{gap:10px}.steps>div{gap:9px}.steps strong{font-size:12px}.steps p>span{font-size:10px}}
@media(max-width:760px){.masthead{height:74px}.brand{font-size:24px}.brand-icon{font-size:34px}.header-actions{gap:16px}.text-button{font-size:12px}.intro{height:246px}.intro-copy{padding-bottom:33px}.eyebrow{font-size:9px}h1{font-size:40px}.intro-sub{font-size:12px}.art{width:70%;opacity:.6;right:-100px;mask-image:linear-gradient(to right,transparent,black 55%);background-position:center bottom}.art-note{display:none}.game-top{padding:0 17px;font-size:9px}.round-label{display:none}.scoreboard{grid-template-columns:1fr 1.5fr 1fr;margin:0 17px;padding:17px 0}.mood-stat{display:none}.score-item:nth-child(3){border:0;padding-right:0}.score-item{padding:0 12px}.score-item>strong{font-size:22px}.stat-label{font-size:8px;letter-spacing:.6px}.ticket-meter{gap:7px}.ticket-meter strong{font-size:11px}.devices{grid-template-columns:repeat(3,minmax(0,1fr));padding:23px 17px 8px;gap:20px 14px}.device:nth-child(4){grid-column:1;margin-left:45%;margin-right:-45%}.device:nth-child(5){grid-column:3;margin-left:-45%;margin-right:45%}.screen{min-height:151px}.device-note{font-size:9px;margin-top:9px;min-height:0}.device-name{margin-bottom:10px;font-size:10px}.game-bottom{padding:12px 17px;font-size:10px}#game-phase{font-size:8px}.steps{margin:27px 0;grid-template-columns:1fr;gap:16px}.steps>div{justify-content:flex-start}.steps strong{font-size:13px}.steps p>span{font-size:12px}.step-number{font-size:22px;width:30px}footer{flex-wrap:wrap;font-size:10px}.footer-mark{display:none}.control-zone{padding-top:23px}.game-bottom>span:first-child{max-width:64%}}
@media(max-width:430px){.masthead,main{padding-left:15px;padding-right:15px}.intro{height:230px}h1{font-size:35px;letter-spacing:-1.7px}.intro-copy{padding-bottom:18px}.intro .eyebrow{font-size:8px;letter-spacing:1px}.header-actions{gap:12px}.help-icon{display:none}.device-shell{padding:4px}.devices{gap:18px 8px;padding:20px 11px 8px}.device-name{font-size:9px;gap:4px}.device-name kbd{display:none}.screen strong{font-size:13px}.screen p{font-size:9px}.refresh-button{font-size:10px;padding:8px 2px}.browser-url{font-size:6px}.browser-dots{gap:2px}.browser-dots i{width:3px;height:3px}.browser-bar{padding:0 4px;height:20px}.stat-label{font-size:7px}.score-item{padding:0 9px}.ticket-meter{gap:5px}.game-bottom{font-size:9px;padding:10px 13px}dialog{padding:25px}h2{font-size:32px}.booking-heading .eyebrow{font-size:8px}.registration-card{margin:17px 0}.card-top{font-size:9px}dd{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
.art{background-image:url('assets/festival.png')}
/* Keep play and readable controls within reach at every screen size. */
.game-top{height:62px}.game-top .primary{padding:8px 17px;min-height:37px;font-size:14px;letter-spacing:0;box-shadow:0 2px 0 #ba4929;gap:16px}.game-top .primary span{font-size:20px}.device-name{font-size:12px;letter-spacing:0}.screen p{font-size:12px;min-height:36px}.screen strong{font-size:17px}.refresh-button{font-size:14px;min-height:42px}.device-note{font-size:12px}.stat-label{font-size:12px;letter-spacing:.6px}.ticket-meter strong{font-size:14px}.mood-stat>strong{font-size:14px;white-space:normal}.control-zone{min-height:100px}.control-zone p{font-size:14px}.keyboard-tip{display:inline-block;font-size:12px;margin-top:7px}.steps strong{font-size:14px}.steps p>span{font-size:12px}.game-bottom{font-size:12px}#game-phase{font-size:12px;letter-spacing:0}footer{font-size:12px}.dialog-sub,.instructions{font-size:16px}form>label,.form-row>label,legend{font-size:14px}.day-options label{font-size:14px}.day-options small{font-size:12px}.card-top,.card-note,dt,#form-error,.result-footnote{font-size:12px}.text-button:disabled{opacity:.45;cursor:default}.browser-url{font-size:9px}
@media(max-width:1000px){.scoreboard{grid-template-columns:.8fr 1.3fr .9fr 1.3fr}.score-item{padding:0 12px}.stat-label{font-size:10px}.device-name{font-size:11px}.device-note{font-size:11px}.screen strong{font-size:15px}.screen p{font-size:12px}.steps>div{align-items:flex-start}.mood-stat>strong{font-size:13px}}
@media(max-width:760px){.scoreboard{grid-template-columns:1fr 1.5fr 1fr}.game-top{padding:0 13px;gap:15px}.sale-label{font-size:9px;letter-spacing:.4px}.game-top .primary{font-size:12px;padding:8px 12px;gap:6px;white-space:nowrap}.stat-label{font-size:10px;line-height:1.4}.device-name{font-size:12px}.game-bottom{font-size:11px;gap:15px}#game-phase{font-size:10px}.screen strong{font-size:16px}.device-note{font-size:12px}.intro{height:225px}.intro-copy{padding-bottom:15px}}
@media(max-width:600px){.devices{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 17px;padding:23px 17px 10px}.device:nth-child(4){grid-column:auto;margin:0}.device:nth-child(5){grid-column:1 / -1;width:calc(50% - 8px);justify-self:center;margin:0}.device-shell{padding:6px}.screen{min-height:160px;padding:11px 7px}.browser-url{font-size:9px}.refresh-button{font-size:14px;min-height:44px}.device-name{font-size:12px}.device-note{line-height:1.4}.score-item>strong{font-size:24px}.sale-label{max-width:48%;font-size:9px;line-height:1.6}.game-top{height:65px}.game-top .primary{font-size:12px}.day-options{gap:8px}.day-options label{padding:10px 8px}dl{gap:12px 8px}.card-top{font-size:10px}}
/* Five playable screens, in the hardware we actually panic-refresh on. */
.devices{grid-template-columns:1.18fr 1.18fr .85fr .85fr 1fr;gap:24px;align-items:end;padding-top:26px}
.device{display:grid;grid-template-rows:28px 246px 15px 35px;align-items:end;justify-items:center;width:100%}
.device-name{align-self:start;margin:0;white-space:nowrap}
.device-shell{width:100%;box-shadow:2px 4px 0 #55715a;align-self:end}
.device-note{align-self:start;padding-top:10px;margin:0;text-wrap:balance}
.device-under{margin:0;height:0;background:none}
.laptop .device-shell{padding:8px 7px 7px;border-radius:9px 9px 3px 3px;box-shadow:none!important;position:relative}
.laptop .device-shell::before{content:'';position:absolute;top:2px;left:50%;width:3px;height:3px;background:#75816c;border-radius:50%}
.laptop .screen{min-height:159px;padding:9px 7px}.laptop .screen-icon{font-size:25px;height:29px;line-height:29px}
.laptop .device-under{width:112%;height:12px;border:2px solid #55715a;background:#c0cdb5;box-shadow:0 3px 0 #55715a;border-radius:1px 1px 12px 12px;position:relative;align-self:start;margin-top:-1px}
.laptop .device-under::after{content:'';position:absolute;top:-2px;left:38%;width:24%;height:5px;border:1px solid #55715a;border-top:0;border-radius:0 0 4px 4px;background:#e2e8d7}
.laptop:nth-child(2) .device-under{border-color:#9b845f;background:#d9c69d;box-shadow:0 3px 0 #9b845f}
.laptop:nth-child(2) .device-under::after{border-color:#9b845f;background:#f1e6c9}
.phone .device-shell{width:136px;max-width:100%;height:246px;padding:22px 6px 13px;border-radius:23px;border-width:3px;position:relative}
.phone .device-shell::before{content:'';position:absolute;top:8px;left:calc(50% - 17px);width:26px;height:4px;border-radius:4px;background:#718890}
.phone .device-shell::after{content:'';position:absolute;bottom:5px;left:32%;width:36%;height:3px;border-radius:3px;background:#718890}
.phone:nth-child(4) .device-shell::before,.phone:nth-child(4) .device-shell::after{background:#ac8071}
.phone .browser-bar{height:19px;padding:0 4px}.phone .browser-dots{display:none}.phone .browser-url{font-size:8px}.phone .browser-bar>span:last-child{font-size:12px}
.phone .screen{height:184px;min-height:0;padding:10px 5px 8px;justify-content:space-between}
.phone .screen-icon{font-size:27px;height:32px;line-height:32px}.phone .screen strong{font-size:15px;line-height:1.2;margin:3px 0}
.phone .screen p{font-size:11px;line-height:1.4;margin:5px 0 9px;min-height:0}.phone .refresh-button{font-size:12px;min-height:39px;padding:7px 3px}
.tablet .device-shell{width:176px;max-width:100%;height:246px;border-radius:17px;padding:17px 9px 25px;border-width:3px;position:relative}
.tablet .device-shell::before{content:'';position:absolute;top:5px;left:calc(50% - 2px);width:4px;height:4px;background:#948298;border-radius:50%}
.tablet .device-shell::after{content:'';position:absolute;bottom:5px;left:calc(50% - 7px);width:11px;height:11px;border:1.5px solid #948298;border-radius:50%}
.tablet .screen{height:176px;min-height:0;padding:10px 5px 8px}.tablet .browser-bar{height:21px}.tablet .screen strong{font-size:15px}.tablet .screen p{font-size:11px}.tablet .refresh-button{font-size:13px}
@media(max-width:1050px) and (min-width:761px){.devices{gap:16px;padding-inline:20px}.device-name{font-size:10px}.device-name kbd{display:none}.device-note{font-size:11px}.laptop .screen strong{font-size:14px}.laptop .screen p{font-size:11px}.laptop .refresh-button{font-size:13px}.phone .device-shell{width:120px}.phone .screen strong{font-size:14px}.phone .screen p{font-size:10px}.tablet .device-shell{padding-inline:6px}.tablet .screen strong{font-size:14px}}
@media(max-width:760px){.devices{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 25px;padding:22px 22px 10px;align-items:end}.device{grid-template-rows:27px 246px 15px 35px}.device.laptop{grid-template-rows:27px 210px 15px 35px}.device:nth-child(4){grid-column:auto;margin:0}.device:nth-child(5){grid-column:1 / -1;width:100%;margin:0}.device-name{font-size:12px}.device-name kbd{display:none}.laptop .device-shell{max-width:270px}.laptop .device-under{max-width:292px}.laptop .screen{min-height:176px}.tablet .device-shell{width:195px}.device-note{font-size:12px}.tablet .screen p{font-size:12px}.tablet .screen strong{font-size:16px}}
@media(max-width:430px){.devices{gap:21px 19px;padding-inline:17px}.laptop .device-shell{padding-inline:4px}.laptop .screen{padding-inline:4px}.laptop .screen strong{font-size:14px}.laptop .screen p{font-size:11px}.laptop .refresh-button{font-size:12px}.laptop .browser-url{font-size:8px}.phone .device-shell{width:136px}.device.laptop{grid-template-rows:27px 210px 15px 43px}.device-note{font-size:11px}}
.phone .screen p{flex:none;line-height:1.4;margin:5px 0 8px}.phone .screen-icon{height:27px;line-height:27px}.tablet .screen-icon{height:28px;line-height:28px}.tablet .screen p{margin-bottom:8px}.laptop .screen{min-height:155px;height:155px;padding:6px 5px;display:grid;grid-template-rows:22px auto 1fr 39px;justify-items:center;width:100%}.laptop .screen-icon{height:22px;line-height:22px;font-size:22px}.laptop .screen strong{margin:3px 0;font-size:15px}.laptop .screen p{margin:4px 0;min-height:0;font-size:11px;line-height:1.4}.laptop .refresh-button{min-height:39px;padding:7px 4px}.device.laptop .device-shell{height:194px}.device-note{max-width:100%}
@media(max-width:760px){.device.laptop{grid-template-rows:27px 194px 15px 43px}.laptop .screen strong{font-size:14px}.tablet .screen p{font-size:12px}}
/* The group spreadsheet and the chat that absolutely will not calm down. */
body{padding-bottom:176px}.header-actions{gap:20px}#sheet-button{color:var(--green);text-decoration:underline;text-underline-offset:4px}
#chat-dock{position:fixed;z-index:1000;bottom:0;left:0;right:0;width:100%;background:#f9fbf3;color:var(--ink);border-top:2px solid #80916d;box-shadow:0 -5px 24px #293c3214;padding:11px max(22px,calc((100vw - 1256px)/2));text-align:left;font-family:var(--sans)}
.chat-heading{display:flex;align-items:center;gap:10px}.chat-avatar{background:var(--green);color:#f3d786;width:33px;height:33px;border-radius:50%;display:grid;place-items:center;font-size:24px}.chat-heading>div{display:flex;align-items:baseline;gap:12px}.chat-heading strong{font-size:14px}.chat-heading>div>span{font-size:12px;color:var(--muted)}#chat-toggle{margin-left:auto;background:transparent;border:1px solid #c5cfb8;border-radius:5px;min-width:35px;min-height:32px;font-size:22px;line-height:1}
#chat-feed{height:83px;overflow:auto;overscroll-behavior:contain;padding:8px 5px 0 43px;display:flex;flex-direction:column;gap:8px}.chat-message{display:flex;align-items:baseline;gap:9px;flex-shrink:0;font-size:14px;line-height:1.4}.chat-message strong{color:#466647;min-width:80px;font-size:12px}.chat-message span{background:#eaf0df;border-radius:0 9px 9px 9px;padding:5px 10px}.chat-message:nth-child(even) span{background:#f2e9d5}
dialog{max-height:calc(100dvh - 195px);margin:24px auto auto}#booking-dialog{max-width:1050px;width:calc(100% - 36px);padding:26px 30px}#booking-dialog .booking-heading{position:sticky;top:-26px;z-index:3;background:var(--paper);padding:9px 0;border-bottom:1px solid var(--line)}#booking-dialog h2{font-size:34px;margin:14px 0}#booking-dialog .dialog-sub{margin:10px 0 18px;font-size:14px}.booking-layout{display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:start}
#booking-sheet{position:sticky;top:59px;border:1px solid #becbab;border-radius:8px;background:#fcfdf5;overflow:hidden}#booking-sheet summary{font-size:14px;font-weight:600;padding:14px;cursor:pointer;background:#e6eedb;list-style:none;display:flex;justify-content:space-between;gap:8px}#booking-sheet summary:hover{background:#d8e5c8}#booking-sheet[open] summary{border-bottom:1px solid #becbab}#booking-sheet .card-note{padding:0 12px 10px;line-height:1.5}.sheet-toolbar{background:#3c654d;color:#fffdf2;padding:12px;font:10px var(--mono);display:flex;gap:10px;flex-wrap:wrap;justify-content:space-between;line-height:1.5}.sheet-toolbar strong{font-weight:500;color:#ffdf8a}.sheet-scroll{overflow:auto}.group-sheet{width:100%;border-collapse:collapse;font-size:12px;text-align:left;white-space:nowrap}.group-sheet caption{text-align:left;font-size:11px;padding:9px 11px;color:var(--muted)}.group-sheet th,.group-sheet td{border:1px solid #d9e0ce;padding:11px 8px}.group-sheet thead{background:#edf1e5;color:#596953;font-size:11px}.group-sheet tbody th{font-weight:500}.group-sheet td:nth-child(3),.group-sheet td:nth-child(4){font-family:var(--mono)}.group-sheet tbody tr:nth-child(even){background:#f3f6ec}.group-sheet td:first-child{color:#849575;background:#eef2e6;text-align:center;font:11px var(--mono)}#sheet-dialog{max-width:680px}#sheet-dialog>.primary{margin-top:22px}
.ticket-person{padding:13px 0 14px;margin:0;border-bottom:1px solid var(--line)}.ticket-person legend{font:500 16px var(--serif);margin:0;padding:0}.ticket-person legend>span{font:11px var(--mono);color:#89977f;margin-right:7px}.ticket-person .form-row{margin-top:5px;gap:10px;grid-template-columns:1.2fr 1fr}.ticket-person label{font-size:12px}.ticket-person input{padding:9px 10px;font-family:var(--mono);font-size:14px}.ticket-error{color:#a83322;font-size:12px;line-height:1.4;margin:5px 0 0}.ticket-error:empty{display:none}input[aria-invalid=true]{border:2px solid #c24c32;background:#fff3ed}.ticket-person:focus-within legend{color:var(--orange)}
@media(max-width:760px){.header-actions{gap:11px}.masthead{height:auto;min-height:86px;flex-wrap:wrap;gap:8px;padding-block:14px}.header-actions .text-button{font-size:12px}.booking-layout{grid-template-columns:1fr}#booking-sheet{position:static}.booking-layout{gap:16px}#booking-dialog{padding:18px}#booking-dialog .booking-heading{top:-18px}#booking-dialog h2{font-size:30px}.chat-heading>div{display:block}.chat-heading>div>span{display:block;font-size:10px;margin-top:3px}#chat-dock{padding:9px 14px}#chat-feed{padding-left:0;height:85px}.chat-message{font-size:12px;gap:5px}.chat-message strong{font-size:11px;min-width:66px}.chat-message span{padding:4px 8px}.group-sheet th,.group-sheet td{padding:10px 6px}.group-sheet{font-size:11px}dialog{margin-top:15px;max-height:calc(100dvh - 180px)}body{padding-bottom:164px}#booking-dialog .dialog-sub{font-size:13px}.ticket-person input{font-size:16px}}
@media(prefers-reduced-motion:reduce){#chat-feed{scroll-behavior:auto}}
/* Game shell: the entire playfield fits between the HUD and chat. */
:root{--chat-height:126px;--header-height:58px}
html{height:100%;overflow:hidden}body{height:100dvh;min-height:0;padding:0;overflow:hidden;background:#e5e9d6}
.masthead{height:var(--header-height);min-height:0;max-width:none;margin:0;padding:0 25px;background:#f6f3e9;border-bottom:1px solid #c8d0b8;flex-wrap:nowrap}.brand{font-size:23px}.brand-icon{font-size:33px}.header-actions{gap:22px}.text-button{font-size:13px}
main{height:calc(100dvh - var(--header-height) - var(--chat-height));width:100%;max-width:none;margin:0;padding:14px 24px;position:relative;overflow:hidden}
.start-screen{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(90deg,#f6f3e9f5 0%,#f6f3e9c9 36%,#f6f3e924 67%),url('assets/festival.png') center 65%/cover no-repeat;overflow:hidden}
.start-copy{width:min(1080px,100%);padding:22px 40px;text-align:left}.start-copy .eyebrow{font-size:11px;letter-spacing:1.9px}.start-copy h1{font-size:clamp(72px,12vh,134px);line-height:.84;letter-spacing:-6px;margin:25px 0}.start-copy h1 em{font-style:italic}.start-mission{font:500 19px var(--serif);margin:20px 0}.start-screen #start{font-size:22px;padding:20px 30px;min-height:70px;gap:35px;border-radius:11px;box-shadow:0 6px 0 #aa4429,0 10px 25px #80351121}.start-screen #start:hover{transform:translateY(-2px)}.start-screen #start:active{transform:translateY(4px);box-shadow:0 2px 0 #aa4429}.start-screen #start span{font-size:17px}.start-instructions{font-size:13px;line-height:1.8;color:#53624f;margin:23px 0 14px}.start-disclaimer{font-size:11px;color:#6c7960}
.game{height:100%;max-width:1440px;margin:0 auto;display:grid;grid-template-rows:35px 74px minmax(0,1fr) 53px 28px;box-shadow:0 4px 0 #ccd3bb;border-color:#b7c2a7;background:#fffdf5}.game-top{height:auto;padding:0 20px;font-size:11px}.round-label{display:block;font-size:10px}.scoreboard{margin:0 20px;padding:12px 0;grid-template-columns:.8fr 1.35fr .9fr 1.5fr}.stat-label{font-size:11px;margin-bottom:5px}.score-item>strong{font-size:27px}.mood-stat>strong{font-size:14px}.score-item{padding:0 20px}
.devices{min-height:0;grid-template-columns:1.18fr 1.18fr .85fr .85fr 1fr;gap:27px;align-items:center;padding:9px 30px 0;overflow:visible}.device,.device.laptop{grid-template-rows:24px minmax(0,246px) 14px 24px;align-content:center;height:100%;max-height:308px}.device-name{font-size:12px}.device-note{font-size:11px;padding-top:5px;line-height:1.25}.device:nth-child(5){grid-column:auto;width:100%;margin:0}.device:nth-child(4){grid-column:auto;margin:0}.device-shell{max-width:270px}.device-under{max-width:295px}.device-name kbd{display:inline-block}.control-zone{min-height:0;padding:4px 12px 5px;display:grid;place-items:center}.control-zone .live-message{font-size:15px;line-height:1.2;margin:0 0 4px}.keyboard-tip{font-size:11px;margin:0}.game-bottom{padding:3px 18px;font-size:10px}.game-bottom .heart{font-size:14px}#game-phase{font-size:10px}
#chat-dock{height:var(--chat-height);padding:8px max(22px,calc((100vw - 1380px)/2));border-top:1px solid #80916d;box-shadow:none}.chat-heading{height:29px}.chat-avatar{width:28px;height:28px;font-size:21px}.chat-heading strong{font-size:13px}.chat-heading>div>span{font-size:11px}#chat-feed{height:74px;padding-top:6px;gap:5px}.chat-message{font-size:13px}.chat-message span{padding:3px 9px}#chat-toggle{min-height:27px;height:27px;font-size:19px}body:has(#chat-feed[hidden]){--chat-height:46px}
dialog{max-height:calc(100dvh - var(--chat-height) - 26px);margin:12px auto auto}#booking-dialog{max-width:1250px;padding:15px 22px;width:calc(100% - 30px)}#booking-dialog .booking-heading{top:-15px;padding:5px 0}#booking-dialog .booking-heading .eyebrow{max-width:none}#booking-dialog h2{font-size:25px;margin:10px 0 5px}#booking-dialog h2 br{display:none}#booking-dialog .dialog-sub{font-size:13px;margin:5px 0 12px}.booking-layout{grid-template-columns:minmax(290px,.9fr) minmax(0,1.4fr);gap:20px}#ticket-fields{display:grid;grid-template-columns:1fr 1fr;gap:7px 14px}.ticket-person{padding:6px 0;margin:0}.ticket-person legend{font-size:14px}.ticket-person label{font-size:11px}.ticket-person input{font-size:14px;padding:8px;min-height:35px}.ticket-person .form-row{margin-top:3px;gap:7px}.ticket-person .form-row>label{gap:4px}.ticket-error{font-size:11px}.day-options label{padding:7px 10px}.day-options small{display:none}#booking-form>fieldset{margin-top:10px}#form-error{min-height:14px;margin:7px 0;font-size:12px}#booking-form>.primary{min-height:42px;padding:9px 16px}#booking-sheet{top:48px}
@media(max-height:780px) and (min-width:761px){.game{grid-template-rows:30px 62px minmax(0,1fr) 43px 23px}main{padding:9px 18px}.scoreboard{padding:8px 0}.devices{padding-top:5px;gap:22px}.device,.device.laptop{grid-template-rows:21px minmax(0,218px) 12px 18px;max-height:270px}.phone .device-shell,.tablet .device-shell{height:218px}.phone .screen{height:156px}.tablet .screen{height:148px}.phone .screen-icon,.tablet .screen-icon{font-size:22px;height:22px;line-height:22px}.phone .screen strong,.tablet .screen strong{font-size:14px}.phone .screen p,.tablet .screen p{font-size:10px;margin:3px 0}.device.laptop .device-shell{height:172px}.laptop .screen{height:133px;min-height:133px;grid-template-rows:18px auto 1fr 35px}.laptop .screen strong{font-size:14px}.laptop .screen-icon{font-size:18px;height:18px;line-height:18px}.laptop .screen p{font-size:10px}.laptop .refresh-button{min-height:35px}.device-note{font-size:10px}.start-copy h1{font-size:94px;margin:18px 0}.start-mission{margin:16px 0}.start-screen #start{min-height:61px;padding:16px 26px}.start-instructions{margin-top:17px}}
@media(max-width:760px){:root{--header-height:83px;--chat-height:115px}.masthead{height:var(--header-height);padding:10px 14px;flex-wrap:wrap;gap:4px}.brand{font-size:22px}.brand-icon{font-size:29px}.header-actions{width:100%;justify-content:space-between;gap:10px}.header-actions .text-button{padding:2px 0;font-size:12px}#sound span{font-size:16px}.help-icon{display:none}main{padding:8px 10px}.start-copy{padding:20px 26px}.start-copy h1{font-size:clamp(68px,12vh,96px);letter-spacing:-4px;margin:24px 0}.start-copy .eyebrow{font-size:9px;max-width:235px;line-height:1.7}.start-screen{background-position:60% center;background-image:linear-gradient(90deg,#f6f3e9ed,#f6f3e996 65%,#f6f3e944),url('assets/festival.png')}.start-mission{font-size:17px}.start-screen #start{font-size:20px;min-height:64px;padding:18px 24px;gap:25px}.start-instructions{font-size:12px;max-width:270px}.game{grid-template-rows:28px 62px minmax(0,1fr) 36px 22px}.game-top{padding:0 11px}.sale-label{max-width:none;font-size:9px;letter-spacing:0}.round-label{display:none}.scoreboard{grid-template-columns:.8fr 1.2fr .8fr;margin:0 10px;padding:8px 0}.score-item{padding:0 10px}.stat-label{font-size:9px}.score-item>strong{font-size:22px}.mood-stat{display:none}.ticket-meter strong{font-size:12px}.devices{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:1fr 1fr;gap:6px 15px;padding:6px 13px 0;align-items:end}.device,.device.laptop{grid-column:span 3;grid-template-rows:20px minmax(0,1fr) 10px;height:100%;max-height:none;align-content:end}.device:nth-child(n+3){grid-column:span 2;margin:0;width:100%}.device-name{font-size:10px;white-space:normal;line-height:1.2;align-self:center}.device-name kbd{display:none}.device-note{display:none}.device .device-shell{max-height:100%;height:100%;min-height:0;align-self:end;display:flex;flex-direction:column;max-width:200px}.device .screen{flex:1;min-height:0;height:auto;width:100%;padding:5px;display:flex;justify-content:space-between;gap:3px}.device .screen-icon{display:none}.device .screen p{display:none}.device .screen strong{font-size:13px;line-height:1.15;margin:auto 0}.device .refresh-button{font-size:12px;min-height:36px;padding:6px 2px;flex-shrink:0}.device .browser-bar{height:17px;flex-shrink:0}.browser-url{font-size:7px}.device.laptop .device-shell{height:calc(100% - 6px);max-height:153px;padding:7px 4px 5px}.laptop .device-under{width:108%;height:9px}.phone .device-shell{width:108px;border-radius:19px;padding:17px 4px 11px;max-height:181px}.phone .device-shell::before{top:6px}.tablet .device-shell{width:125px;max-height:181px;padding:14px 5px 20px;border-radius:12px}.tablet .device-shell::after{width:9px;height:9px;left:calc(50% - 5px);bottom:4px}.device .browser-dots{display:none}.control-zone .live-message{font-size:12px;margin:0}.keyboard-tip{display:none}.game-bottom{font-size:9px;padding:3px 9px}.game-bottom>span:first-child{max-width:57%}#game-phase{font-size:8px}.game-bottom .heart{display:none}#chat-dock{height:var(--chat-height);padding:7px 12px}.chat-heading>div{display:flex;align-items:baseline;gap:8px}.chat-heading>div>span{font-size:9px}.chat-heading strong{font-size:12px}#chat-feed{height:65px;padding-left:0}.chat-message{font-size:12px}.chat-message strong{font-size:10px;min-width:61px}.chat-message span{padding:3px 7px}.chat-avatar{width:25px;height:25px;font-size:20px}#booking-dialog{padding:15px;width:calc(100% - 20px)}.booking-layout{grid-template-columns:1fr}#ticket-fields{grid-template-columns:1fr}#booking-sheet{position:static}.ticket-person input{font-size:16px}dialog{max-height:calc(100dvh - var(--chat-height) - 22px);margin-top:10px}}
@media(max-height:600px){:root{--chat-height:90px;--header-height:48px}.masthead{padding-block:5px}.chat-heading{height:24px}#chat-feed{height:46px}.start-copy h1{font-size:60px;margin:12px 0}.start-copy .eyebrow{margin:0}.start-mission{margin:10px 0;font-size:15px}.start-screen #start{font-size:18px;padding:11px 24px;min-height:49px}.start-instructions{font-size:11px;margin:12px 0 0}.start-disclaimer{display:none}.game{grid-template-rows:26px 53px minmax(0,1fr) 30px 19px}.devices{padding-top:3px}.device,.device.laptop{grid-template-rows:18px minmax(0,1fr) 9px}.device-note{display:none}.device .device-shell{height:100%;max-height:180px;min-height:0}.device .screen{height:calc(100% - 22px);min-height:0;display:flex;justify-content:space-between}.device .screen-icon,.device .screen p{display:none}.device .screen strong{font-size:13px}.device .refresh-button{min-height:32px}.score-item>strong{font-size:21px}.control-zone .live-message{font-size:12px}.keyboard-tip{display:none}}
@media(max-width:760px) and (max-height:600px){:root{--header-height:70px}.masthead{height:70px}.start-copy{padding:10px 20px}.start-copy h1{font-size:50px;margin:10px 0}.start-instructions{display:none}.start-mission{font-size:14px}.device .screen strong{font-size:11px}.device-name{font-size:9px}.device .refresh-button{font-size:10px;min-height:28px}.device .browser-bar{display:none}.device .device-shell{padding-top:10px}.phone .device-shell{padding-top:15px}.game-bottom>span:first-child{display:none}.game-bottom{justify-content:center}}
@media(max-width:760px){.device .device-shell{max-width:100%}.tablet .device-shell{width:100%}.device .screen{max-width:100%}}
@media(max-width:760px) and (min-height:601px) and (max-height:720px){.start-copy{padding-block:12px}.start-copy h1{font-size:70px;margin:16px 0}.start-mission{font-size:16px;margin:14px 0}.start-instructions{margin:16px 0 8px;font-size:11px}.start-copy .eyebrow{font-size:8px}.start-disclaimer{font-size:10px}}
@media(min-width:761px){#booking-dialog .booking-clock{font-size:18px;padding:6px}#booking-dialog .booking-heading .eyebrow{margin:8px 0}#booking-dialog .group-sheet th,#booking-dialog .group-sheet td{padding-block:8px}#booking-form .ticket-person{padding:4px 0}#booking-form .ticket-person input{padding:7px;min-height:32px}#booking-form .ticket-person .form-row{margin-top:0}#booking-form #form-error:empty{min-height:0;margin:5px 0}#booking-dialog .card-note{margin-bottom:0}}
