@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#123d30;--gold:#f5cf54;--muted:#aac3ad}*{box-sizing:border-box}body{margin:0;min-height:100svh;color:#fff4d7;font:16px 'DM Sans',sans-serif;background:radial-gradient(ellipse at 10% 30%,#2c5940,transparent 60%),#123d30}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:3px}header{max-width:1140px;margin:auto;padding:22px 28px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ffffff18}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit;font-size:9px;letter-spacing:2px;line-height:1.8}.brand b{display:block;font-size:14px;letter-spacing:2.7px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;border:1px solid #f5cf5470;color:var(--gold);font:700 26px 'Outfit',sans-serif;letter-spacing:-2px}.header-actions{display:flex;gap:14px;align-items:center}.header-actions button{color:#d3dfc7;background:transparent;border:0;font-size:12px}.header-actions .circle{border:1px solid #ffffff40;width:33px;height:33px;border-radius:50%;font-size:16px}main{max-width:1060px;display:grid;grid-template-columns:.78fr 1.22fr;gap:70px;padding:0 28px;margin:30px auto 40px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#b5c9ac}h1{font:700 clamp(36px,4.2vw,58px)/1.04 'Outfit',sans-serif;letter-spacing:-2px;margin:18px 0}h1 em{font-style:normal;color:var(--gold)}.intro{font-size:15px;line-height:1.7;color:#b7ccb4;margin:19px 0 27px}.photo-card{padding:12px;background:#ffffff08;border:1px solid #ffffff18;border-radius:18px;transform:rotate(-1deg)}.photo-wrap{aspect-ratio:1;position:relative;overflow:hidden;background:#206344;border-radius:10px}.photo-wrap img{width:100%;height:100%;object-fit:cover;image-rendering:pixelated}.photo-wrap span{position:absolute;bottom:12px;left:12px;background:#123d30dc;color:#fff4d7;border:1px solid #ffffff20;padding:7px 9px;font-size:9px;letter-spacing:1px;border-radius:6px}.photo-card h2{font:600 20px 'Outfit',sans-serif;margin:14px 2px 5px}.photo-card p{font-size:12px;line-height:1.5;color:#b6ccb3;margin:0 2px 4px}.palette{display:flex;flex-wrap:wrap;gap:8px 12px;margin:25px 0}.palette span{font-size:11px;display:flex;gap:6px;align-items:center;color:#d4dfc9}.palette i{width:12px;height:12px;border-radius:4px;border:1px solid #ffffff40}.aside-note{color:#91af94;font-size:12px;line-height:1.8}.stage{display:flex;align-items:center;justify-content:space-between;gap:10px}.stage h2{font:600 27px 'Outfit',sans-serif;margin:6px 0 0;letter-spacing:-.6px}.stage .eyebrow{font-size:9px}.level{background:#28533d;color:var(--gold);border:1px solid #ffffff17;border-radius:10px;padding:10px;font-size:13px}.stats{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#abc4a7;margin:12px 0 10px}.stats button{background:#315b40;color:var(--gold);border:0;border-radius:6px;padding:3px 10px;font-weight:700}.board-frame{padding:12px 12px 0;border-radius:20px;background:linear-gradient(130deg,#d9ab74,#a57549);box-shadow:inset 0 2px #fff5c855,0 12px 30px #00190c33;border:1px solid #f5cf5433}canvas{width:100%;display:block;aspect-ratio:1;border-radius:9px;background:#132f24;image-rendering:pixelated}.board-footer{display:flex;justify-content:space-between;align-items:center;min-height:25px;font-size:8px;letter-spacing:2px;color:#3e3926;font-weight:700}.board-footer span:last-child{font-size:13px;letter-spacing:9px}.progress{height:4px;background:#ffffff15;margin:13px 3px 0;border-radius:8px;overflow:hidden}.progress div{height:100%;background:var(--gold);transition:width .2s;width:0}.tray-label{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1.3px;color:#b0c8ad;margin:16px 1px 9px}.tray-label b{color:var(--gold);letter-spacing:0}#tray{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;background:#0a2a20;border:1px solid #ffffff13;border-radius:13px;padding:7px}.slot{height:81px;border:1px dashed #527952;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative}.slot.empty{color:#486a4a;font-size:20px}.slot.active{border:1px solid #ffffff25;background:#31523a}.mug{width:51px;height:48px;display:block;filter:drop-shadow(0 3px 1px #0003)}.slot .count{font:700 16px 'Outfit',sans-serif;color:#fff4d7;line-height:1}.slot .name{font-size:8px;margin-top:3px;color:#d2dfc7;max-width:100%;white-space:nowrap}.fill-meter{position:absolute;left:3px;right:3px;bottom:0;height:2px;background:#f5cf54;transform-origin:left}#message{text-align:center;font-size:12px;line-height:1.4;color:#d0dec7;min-height:17px;margin:10px 0 12px}.queue-header{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.2px;color:#a9c3a5;margin:0 0 8px}.queue-header span:last-child{font-size:10px;letter-spacing:0}#queues{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.queue{min-width:0;position:relative;padding-bottom:23px}.cup-choice{width:100%;border:1px solid #ffffff35;border-bottom:4px solid #0003;border-radius:12px;background:linear-gradient(150deg,#ffffff22,transparent),var(--cup);display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:105px;color:#fff4d7;position:relative;z-index:2;padding:6px 2px;text-shadow:0 1px 3px #0009}.cup-choice .mug{width:56px;height:49px}.cup-choice .count{font:700 19px 'Outfit',sans-serif}.cup-choice .name{font-size:10px;line-height:1.4}.cup-choice:disabled{opacity:.45;cursor:default}.cup-choice:hover:enabled{filter:brightness(1.12);transform:translateY(-2px)}.queue-peek{position:absolute;bottom:0;left:6px;right:6px;border:1px solid #ffffff30;background:var(--cup);border-radius:0 0 8px 8px;height:29px;text-align:center;font-size:9px;display:flex;align-items:end;justify-content:center;padding-bottom:4px;color:#fff8df;text-shadow:0 1px 3px #000b;z-index:1}.queue-exhausted{height:105px;border:1px dashed #45694b;border-radius:12px;display:grid;place-items:center;font-size:11px;color:#9cba9e}.cup-choice.hinted{outline:3px solid #fff5d5;outline-offset:2px;animation:pulse .7s infinite alternate}.tools{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:14px}.tools button{border:1px solid #ffffff16;border-radius:10px;background:#28503a;color:#d4e1c8;font-size:10px;padding:8px 2px}.tools button span{display:block;font-size:21px;color:var(--gold);margin-bottom:2px}.tools button:hover{background:#396249}.tools button:disabled{opacity:.4;cursor:default}dialog{max-width:430px;width:calc(100% - 32px);border:1px solid #afc28d60;background:#1c4833;color:#fff4d7;border-radius:22px;padding:26px;box-shadow:0 20px 100px #0007}dialog::backdrop{background:#051e16cf;backdrop-filter:blur(5px)}dialog h2{font:600 28px 'Outfit',sans-serif;margin:10px 0}dialog p,dialog li{font-size:15px;color:#c2d4b7;line-height:1.65}dialog ol{padding-left:20px}.primary,.secondary{width:100%;border-radius:10px;padding:13px;font-weight:700;font-size:14px;margin-top:10px}.primary{border:0;background:var(--gold);color:#173d2e}.secondary{border:1px solid #ffffff30;background:transparent;color:#d9e4ca}.scene-list{display:grid;gap:8px;margin:18px 0}.scene-list button{background:#306143;border:1px solid #ffffff25;color:#fff4d7;padding:13px;border-radius:8px;text-align:left;font-size:15px}.modal-swatch{display:flex;align-items:center;gap:10px;padding:8px 0;font-size:14px}.modal-swatch i{width:24px;height:24px;border:1px solid #ffffff45;border-radius:7px}.modal-icon{font-size:38px}.confetti{position:fixed;top:-20px;width:8px;height:13px;pointer-events:none;animation:fall 2.5s ease-in forwards;z-index:9}@keyframes pulse{to{filter:brightness(1.25)}}@keyframes fall{to{transform:translateY(105vh) rotate(700deg)}}
@media(max-width:720px){header{padding:12px 16px}.brand-mark{width:34px;height:34px;font-size:23px}.brand{font-size:8px}.brand b{font-size:12px}.header-actions{gap:8px}.header-actions button{font-size:10px}main{display:flex;flex-direction:column;gap:15px;max-width:490px;margin:14px auto;padding:0 14px 24px}aside{display:grid;grid-template-columns:1fr auto;gap:0 12px;align-items:center}aside>.eyebrow{font-size:8px;grid-column:1;align-self:end}h1{font-size:30px;letter-spacing:-1px;grid-column:1;grid-row:2;margin:7px 0}h1 br{display:none}h1 em{display:block}.intro,.aside-note,.photo-card h2,.photo-card p,.photo-wrap span{display:none}.photo-card{grid-column:2;grid-row:1 / 4;width:93px;padding:5px;border-radius:10px;transform:rotate(3deg)}.photo-wrap{border-radius:6px}.palette{grid-column:1;gap:4px;margin:4px 0 0}.palette span{font-size:0;gap:0}.palette i{width:14px;height:8px;border-radius:2px}.stage h2{font-size:22px}.stage .eyebrow{font-size:8px}.level{padding:8px}.stats{font-size:10px;margin:9px 0}.board-frame{padding:8px 8px 0;border-radius:14px}.board-footer{font-size:7px;letter-spacing:1.3px;min-height:22px}.board-footer span:last-child{letter-spacing:6px}.progress{margin-top:8px}.tray-label{margin-top:11px;font-size:9px}#tray{padding:5px;gap:5px}.slot{height:69px}.slot .mug{width:44px;height:40px}.slot .count{font-size:14px}.slot .name{font-size:7px}.cup-choice{min-height:94px}.cup-choice .mug{width:48px;height:42px}.cup-choice .count{font-size:17px}.cup-choice .name{font-size:9px}#message{font-size:11px;margin:8px 0 10px}.tools{margin-top:10px}.tools button{padding:6px 2px}.tools button span{font-size:19px}.queue-peek{font-size:8px}main{padding-bottom:env(safe-area-inset-bottom,20px)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
/* Keep capacity and flavor readable on both pale and dark drinks. */
.cup-choice .count{color:#fff4d7;background:#173d2e;border-radius:6px;padding:0 6px;text-shadow:none;margin:2px 0}.cup-choice .name{color:#173d2e;background:#fff4d7ed;border-radius:4px;padding:1px 4px;text-shadow:none;font-size:12px}.tools button{font-size:12px}#message{font-size:14px}.slot .name{font-size:10px}.queue-peek{font-size:11px}.queue-header{font-size:11px}.stats{font-size:12px}@media(max-width:720px){.cup-choice .name{font-size:11px}.slot .name{font-size:8px}.queue-peek{font-size:9px}.tools button{font-size:11px}#message{font-size:12px}.stats{font-size:11px}}
.speed-control{display:flex;align-items:center;gap:5px;border:1px solid #ffffff25;background:#0c3023;border-radius:20px;padding:3px}.stats .speed-control button{display:grid;place-items:center;background:#3a6140;color:#fff4d7;width:30px;height:30px;padding:0;border:0;border-radius:50%;font-size:21px;line-height:1}.stats .speed-control button:disabled{opacity:.3;cursor:default}.speed-control output{min-width:36px;text-align:center;font-weight:700;font-size:14px;color:var(--gold);font-variant-numeric:tabular-nums}.board-stage{position:relative;overflow:hidden;border-radius:9px}.board-stage canvas{aspect-ratio:640/720;border-radius:0}#runners{position:absolute;inset:0;pointer-events:none;--step-duration:.19s}.runner{position:absolute;width:7%;height:auto;transform:translate(-50%,-76%);filter:drop-shadow(0 3px 1px #0006);will-change:left,top}.runner-body{position:relative;transform:rotate(var(--lean,6deg));animation:hurry var(--step-duration) linear infinite}.runner .mug{width:100%;height:auto;filter:none;overflow:visible}.runner .leg-left{transform-origin:26px 53px;animation:leg-left var(--step-duration) linear infinite}.runner .leg-right{transform-origin:44px 53px;animation:leg-right var(--step-duration) linear infinite}.runner::before{content:'';position:absolute;width:24%;height:13%;left:-15%;top:56%;border-top:2px solid #fff4d799;border-bottom:2px solid #fff4d766;transform:rotate(-15deg)}.runner .parcel{display:none;position:absolute;right:0;top:41%;width:23%;aspect-ratio:1;background:var(--cup);border:1px solid #fff4d7;box-shadow:inset -2px -2px #0003,0 0 6px #f5cf5477}.runner.carrying .parcel{display:block}@keyframes hurry{0%,100%{transform:translateY(0) rotate(var(--lean))}50%{transform:translateY(-2px) rotate(var(--lean))}}@keyframes leg-left{0%,100%{transform:rotate(-23deg)}50%{transform:rotate(23deg)}}@keyframes leg-right{0%,100%{transform:rotate(23deg)}50%{transform:rotate(-23deg)}}@media(max-width:720px){.stats .speed-control button{width:29px;height:29px}.speed-control{gap:2px;padding:2px}.speed-control output{min-width:32px;font-size:13px}.runner{width:8%}.stats{gap:5px}.stats>span{font-size:10px}}@media(prefers-reduced-motion:reduce){.runner-body,.runner .leg-left,.runner .leg-right{animation:none!important}.runner::before{display:none}}
/* Each lane shows the selectable mug and three complete upcoming mugs. */
.queue{padding-bottom:0;display:flex;flex-direction:column;gap:7px}.queue-upcoming{display:flex;flex-direction:column;gap:6px}.upcoming-cup{display:grid;grid-template-columns:1fr 1fr;align-items:center;justify-items:center;gap:0 2px;min-height:76px;padding:7px 5px;border-radius:10px;border:1px solid #ffffff35;border-bottom:3px solid #0003;background:linear-gradient(150deg,#ffffff15,transparent),var(--cup);box-shadow:inset 0 1px #ffffff20;position:relative}.upcoming-cup .mug{width:40px;height:35px;max-width:100%}.upcoming-count{font:700 20px 'Outfit',sans-serif;line-height:1.2;color:#fff4d7;background:#173d2e;border-radius:6px;padding:1px 6px;font-variant-numeric:tabular-nums}.upcoming-name{grid-column:1 / -1;color:#173d2e;background:#fff4d7ed;border-radius:4px;padding:2px 4px;text-align:center;font-size:12px;line-height:1.2;max-width:100%;overflow-wrap:anywhere}.queue-upcoming .upcoming-cup:nth-child(2){margin:0 2px}.queue-upcoming .upcoming-cup:nth-child(3){margin:0 4px}.queue-header{letter-spacing:.6px;gap:8px;align-items:center}.queue-header span:last-child{white-space:nowrap}.tools{margin-top:16px}@media(max-width:720px){.queue{gap:6px}.upcoming-cup{min-height:69px;padding:5px 3px;gap:2px}.upcoming-cup .mug{width:33px;height:30px}.upcoming-count{font-size:17px;padding:1px 4px}.upcoming-name{font-size:11px;line-height:1.15}.queue-header{font-size:10px;letter-spacing:.2px}.queue-upcoming{gap:5px}.queue-upcoming .upcoming-cup:nth-child(2){margin:0 1px}.queue-upcoming .upcoming-cup:nth-child(3){margin:0 2px}}
.runner.returning .parcel{box-shadow:inset -2px -2px #0003,0 0 8px #fff0bdaa}.runner.cancelled::before{display:none}.runner.cancelled .runner-body{animation:none}
.scoreboard{display:flex;align-items:center;gap:7px;color:#afc5a6}.scoreboard b{font:700 18px 'Outfit',sans-serif;color:var(--gold);font-variant-numeric:tabular-nums}.mobile-help{display:none}
/* The phone is a game screen. Size the board to the space left by the controls. */
@media(max-width:720px){
 html,body{height:100%;overscroll-behavior:none}body{overflow:hidden}body>header,main>aside{display:none}
 main{height:100vh;height:100dvh;max-width:490px;margin:0 auto;padding:max(5px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));display:block}
 .play-panel{height:100%;min-height:0;display:grid;grid-template-rows:23px 32px minmax(65px,1fr) 3px 48px 181px 33px;grid-template-areas:"stage" "stats" "board" "progress" "tray" "queues" "tools";gap:4px}
 .stage{grid-area:stage;min-height:0;padding:0 2px}.stage .eyebrow{display:none}.stage h2{font-size:15px;line-height:20px;margin:0;letter-spacing:0}.level{font-size:12px;padding:3px 8px;border-radius:7px}
 .stats{grid-area:stats;margin:0;padding:0 2px;gap:4px}.stats #remaining{display:none}.stats .scoreboard{font-size:12px;gap:5px}.scoreboard b{font-size:17px}.stats #percent{font-size:12px}.stats .speed-control button{width:28px;height:28px}.speed-control{padding:1px}.speed-control output{font-size:13px;min-width:34px}
 .board-frame{grid-area:board;min-height:0;width:100%;height:100%;padding:3px;background:none;border:0;box-shadow:none;border-radius:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
 .board-stage{height:100%;width:auto;aspect-ratio:640/720;max-width:100%;max-height:100%;border-radius:8px;box-shadow:0 0 0 3px #bd8b56;flex-shrink:1}
 .board-stage canvas{display:block;width:100%;height:100%;aspect-ratio:640/720}.board-footer{display:none}.progress{grid-area:progress;margin:0 2px;height:3px}
 .tray-label,.queue-header{display:none}
 #tray{grid-area:tray;padding:3px;gap:4px;min-height:0;border-radius:9px}.slot{height:40px;min-height:0;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:26px 12px;gap:0;border-radius:6px;justify-items:center;padding:0 2px}.slot.empty{display:flex;font-size:22px}.slot .mug{width:29px;height:26px}.slot .count{font-size:16px}.slot .name{grid-column:1 / -1;font-size:10px;line-height:12px;margin:0;max-width:100%;overflow:hidden;text-overflow:ellipsis}.fill-meter{height:2px}
 #message{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 #queues{grid-area:queues;min-height:0;gap:5px;align-items:start}.queue{gap:4px;padding:0;min-width:0}.cup-choice{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:29px 16px;align-items:center;justify-items:center;gap:0;min-height:0;height:49px;padding:1px 3px;border-radius:8px;border-bottom-width:2px}.cup-choice .mug{width:31px;height:29px;max-width:100%}.cup-choice .count{font-size:17px;line-height:1.2;margin:0;padding:0 5px}.cup-choice .name{grid-column:1 / -1;font-size:11px;line-height:14px;padding:0 3px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .queue-upcoming{gap:4px}.upcoming-cup{height:40px;min-height:0;grid-template-columns:1fr 1fr;grid-template-rows:23px 12px;padding:1px 3px;gap:0;border-radius:6px;border-bottom-width:2px}.upcoming-cup .mug{width:25px;height:23px}.upcoming-count{font-size:15px;line-height:1.2;padding:0 4px}.upcoming-name{font-size:10px;line-height:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 3px;max-width:100%}.queue-exhausted{height:49px;font-size:11px}
 .tools{grid-area:tools;margin:0;gap:4px;grid-template-columns:repeat(5,1fr);min-height:0}.tools button{font-size:10px;line-height:11px;padding:2px;border-radius:7px;min-width:0}.tools button span{font-size:15px;line-height:15px;margin:0}.tools .mobile-help{display:block}
 dialog{max-height:calc(100dvh - 24px);overflow-y:auto}
}
@media(max-width:720px) and (max-height:600px){.play-panel{grid-template-rows:20px 30px minmax(60px,1fr) 3px 43px 157px 30px;gap:3px}.slot{height:35px;grid-template-rows:23px 10px}.slot .mug{width:25px;height:23px}.slot .name{font-size:9px;line-height:10px}.cup-choice{height:43px;grid-template-rows:25px 14px}.cup-choice .mug{width:27px;height:25px}.cup-choice .name{font-size:10px}.upcoming-cup{height:34px;grid-template-rows:20px 10px}.upcoming-cup .mug{width:23px;height:20px}.upcoming-name{font-size:9px;line-height:10px}}
/* Mug cards show the character and capacity; names remain in accessible labels. */
.upcoming-cup{grid-template-rows:1fr}
@media(max-width:720px){.slot:not(.empty),.cup-choice,.upcoming-cup{grid-template-rows:1fr;align-items:center}}
/* Application screens share the game's forest-green and draught-gold palette. */
[hidden]{display:none!important}body:not(.playing){height:auto;min-height:100dvh;overflow:auto;overscroll-behavior:auto}body:not(.playing)>header{display:none}body.playing>header{display:none}.app-shell{max-width:1100px;margin:auto;padding:0 28px 35px}.shell-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:23px 0 17px}.shell-brand{display:flex;align-items:center;gap:10px;background:none;border:0;color:#f8f1d5;font:600 13px 'Outfit',sans-serif;letter-spacing:1px;text-align:left}.shell-brand>span{display:grid;place-items:center;width:39px;height:39px;border:1px solid #f5cf5477;border-radius:50%;color:var(--gold);font:700 25px 'Outfit',sans-serif;letter-spacing:-1px}.wallet-pill{background:#234e37;border:1px solid #f5cf5433;color:#d9e5bd;padding:10px 13px;border-radius:22px;font-size:12px;white-space:nowrap}.wallet-pill b{color:var(--gold)}.shell-nav{display:flex;gap:8px;padding:0 0 17px;border-bottom:1px solid #ffffff17;margin-bottom:32px}.shell-nav button{border:1px solid transparent;background:none;color:#b3c8ab;padding:9px 17px;border-radius:10px;font-size:14px}.shell-nav button.selected{background:#2e583e;color:var(--gold);border-color:#ffffff12}.shell-nav button:hover{background:#2b513b}.shell-foot{text-align:center;font-size:10px;color:#8bab8d;letter-spacing:2px;margin:38px 0 0}.app-view h1{font:700 clamp(32px,4vw,49px)/1.08 'Outfit',sans-serif;letter-spacing:-1.4px;margin:12px 0 17px}.app-view h1 em{font-style:normal;color:var(--gold)}.app-view h2{font:600 25px 'Outfit',sans-serif;letter-spacing:-.3px}.app-view h3{font:600 22px 'Outfit',sans-serif;margin:8px 0 9px}.app-view p{color:#bdd0b4;line-height:1.65;font-size:15px}.app-view .primary,.app-view .secondary{font-size:15px;line-height:1.4;padding:12px 18px}.app-view button:disabled{opacity:.45;cursor:default}.text-button{border:0;background:none;color:var(--gold);font-size:14px;text-align:left;padding:8px 0}.home-hero{display:grid;grid-template-columns:1fr .78fr;gap:58px;align-items:center;padding:12px 0 30px}.home-hero h1{font-size:clamp(42px,5vw,66px);letter-spacing:-2px}.home-hero p{max-width:390px}.hero-actions{display:flex;gap:10px;margin-top:22px}.hero-actions button{max-width:210px}.hero-picture{aspect-ratio:1;background:#2c573c;padding:10px;border:1px solid #ffffff20;border-radius:22px;transform:rotate(2deg);position:relative;box-shadow:0 20px 40px #00180e33}.hero-picture img{width:100%;height:100%;object-fit:cover;image-rendering:pixelated;border-radius:14px}.hero-picture>span{position:absolute;bottom:22px;left:22px;right:22px;padding:9px;background:#0c2d22e8;color:#e5ebca;border-radius:7px;font-size:12px}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0 36px}.summary-grid>div{background:#ffffff06;border:1px solid #ffffff15;border-radius:13px;padding:18px}.summary-grid b{font:600 30px 'Outfit',sans-serif;color:var(--gold);display:block}.summary-grid span{display:block;margin-top:5px;font-size:13px;color:#b5cbaa}.section-title{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:23px 0 15px}.section-title h2{margin:0}.section-title>span{font-size:13px;color:#a5bf9e}.level-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.level-card{background:#1e4833;border:1px solid #ffffff1f;border-radius:17px;overflow:hidden;box-shadow:0 10px 24px #09271933}.level-art{position:relative;aspect-ratio:1.18;overflow:hidden;background:#163b2c}.level-art img{display:block;width:100%;height:100%;object-fit:cover;image-rendering:pixelated}.level-art>span{position:absolute;top:12px;left:12px;font-size:9px;letter-spacing:1px;padding:7px 9px;border-radius:7px;background:#123b2fe8;color:#f5d76e}.level-card-body{padding:18px}.level-card-body p{font-size:12px;line-height:1.6;margin:0 0 11px}.level-card-body .eyebrow{font-size:9px}.level-card-body h3{font-size:21px}.level-card-body .primary{margin-top:4px}.card-secondary{display:flex;justify-content:space-between;margin-top:10px}.card-secondary button{border:0;background:none;color:#b6cba9;padding:5px 0;font-size:12px}.local-note{margin:29px 0 0;padding:18px;border:1px solid #ffffff16;border-radius:12px;font-size:13px;color:#a8c09e;line-height:1.6}.view-heading{margin-bottom:24px}.view-heading p{max-width:680px;margin-bottom:0}.gallery-actions{display:flex;gap:12px;align-items:stretch;margin:25px 0}.gallery-actions .primary,.gallery-actions .secondary{width:auto;margin:0}.file-label{display:flex;align-items:center;justify-content:center;cursor:pointer}.empty-state{text-align:center;border:1px dashed #76966b70;border-radius:17px;padding:35px 20px;margin:18px 0}.empty-state>span{font-size:35px;color:var(--gold)}.empty-state h3{margin:10px 0}.panel{background:#1c4431;border:1px solid #ffffff18;border-radius:16px;padding:22px}.studio-layout{display:grid;grid-template-columns:.72fr 1.28fr;gap:25px;align-items:start}.studio-controls{display:flex;flex-direction:column;gap:14px}.studio-controls label{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#d5e1c3}.studio-controls input[type=text],.studio-controls input:not([type]),.studio-controls select{width:100%;background:#0e3023;color:#fff2ca;border:1px solid #7a956866;border-radius:9px;padding:11px 12px;font:inherit;font-size:14px;min-width:0}.studio-controls select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#cad5af 50%),linear-gradient(135deg,#cad5af 50%,transparent 50%);background-position:calc(100% - 17px) 50%,calc(100% - 12px) 50%;background-size:5px 5px;background-repeat:no-repeat;padding-right:30px}.studio-controls input[type=range]{width:100%;accent-color:#f5cf54;cursor:pointer;height:24px;margin:0}.studio-controls .upload-box{border:1px dashed #b2c17c88;background:#31543a4d;border-radius:11px;align-items:center;padding:24px 10px;cursor:pointer;text-align:center;gap:8px}.upload-box>span{font-size:30px;color:var(--gold)}.upload-box b{font-size:16px}.upload-box small{font-size:12px;color:#aac49d}.studio-controls .text-button{font-size:13px;padding:0}.field-note{font-size:12px!important;margin:0;line-height:1.6!important;color:#a9c29e!important}.difficulty-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.difficulty-heading b{font-size:13px;color:var(--gold)}.studio-controls details{border-top:1px solid #ffffff18;padding-top:12px}.studio-controls summary{font-size:14px;cursor:pointer;color:#e0e9cb;padding:5px 0 12px}.studio-controls details label{margin-bottom:12px}.studio-controls .primary{margin-top:0}.preview-pair{display:grid;grid-template-columns:1fr 1fr;gap:13px}.preview-box{padding:10px;border:1px solid #ffffff1c;border-radius:12px;background:#173c2b;overflow:hidden}.preview-box>span{display:block;font-size:9px;letter-spacing:1px;margin:3px 2px 11px;color:#c0d0ae}.preview-box canvas{aspect-ratio:1;width:100%;height:auto;background:#0d2d21;border-radius:6px}.studio-colors{display:flex;flex-wrap:wrap;gap:9px 13px;margin:18px 0}.studio-colors span{display:flex;gap:6px;align-items:center;font-size:11px;color:#bed1ad}.studio-colors i{width:11px;height:11px;border-radius:3px;border:1px solid #fff3}.validation-card{border:1px solid #ffffff1c;border-radius:12px;background:#123526;padding:18px;color:#bfd0ac;font-size:14px;line-height:1.7;margin:14px 0}.validation-card.verified{border-color:#b0cb6c80;background:#355535;color:#e5f0cb}.studio-actions{display:flex;flex-wrap:wrap;gap:10px}.studio-actions button{flex:1;min-width:145px;margin:0}.studio-note{margin-top:22px}.studio-note b{font-size:15px}.studio-note p{font-size:13px;margin-bottom:0}.demo-banner{background:#69552555;border:1px solid #dec77655;border-radius:13px;padding:18px 20px;margin:23px 0}.demo-banner b{font-size:15px;color:#f8dc81}.demo-banner p{font-size:13px;margin:8px 0 0}.shop-balance{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin:25px 0}.shop-balance>span{font-size:14px;color:#b9cda8}.shop-balance>b{font:600 33px 'Outfit',sans-serif;color:var(--gold)}.shop-balance button{margin-left:auto;font-size:13px}.boost-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:22px 0}.boost-card{padding:28px;background:#234d36;border:1px solid #ffffff20;border-radius:18px;display:flex;flex-direction:column;align-items:flex-start}.boost-card.gold{background:linear-gradient(135deg,#60542e55,#234d36);border-color:#e2c86955}.boost-symbol{font-size:44px;line-height:1;color:var(--gold);margin-bottom:23px}.boost-card h2{font-size:30px;margin:10px 0}.boost-card p{margin-top:0;font-size:14px}.boost-card>b{font-size:14px;color:#f0d67d;margin:7px 0}.boost-card .primary{margin-top:17px}.boost-running{padding:18px;border:1px solid #f5cf5466;border-radius:12px;background:#36563b}.boost-running p{font-size:13px;margin-bottom:0}.shop-notes p{font-size:13px}.result-card{max-width:540px;margin:5px auto;text-align:center;padding:28px;border-radius:22px;background:#1b4431;border:1px solid #ffffff20}.result-symbol{display:block;font-size:43px;color:var(--gold);margin-bottom:20px}.result-card h1{font-size:35px}.result-card>p{font-size:14px}.result-card>img{width:190px;max-width:70%;border-radius:12px;margin:15px auto;image-rendering:pixelated}.result-card h2{font-size:22px;margin:8px 0 20px}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;border-top:1px solid #ffffff16;border-bottom:1px solid #ffffff16;padding:20px 0;margin:16px 0}.result-stats b{display:block;font:600 26px 'Outfit',sans-serif;color:var(--gold)}.result-stats span{display:block;font-size:11px;color:#acc29d;margin-top:5px}.game-back{background:#2c533b;color:#f5cf54;border:1px solid #ffffff24;border-radius:7px;width:28px;height:25px;font-size:18px;line-height:1;padding:0}.stage>div{flex:1;min-width:0}.stage h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tools{grid-template-columns:repeat(5,1fr)}#toast{position:fixed;left:50%;bottom:22px;transform:translate(-50%,15px);z-index:30;background:#f4d676;color:#173d2e;box-shadow:0 9px 35px #0005;padding:13px 19px;border-radius:12px;font-size:14px;line-height:1.5;max-width:calc(100vw - 30px);width:max-content;pointer-events:none;opacity:0;transition:.2s}#toast.visible{opacity:1;transform:translate(-50%,0)}body.playing main>aside{display:none}body.playing #game-screen{display:block;max-width:550px;margin:18px auto;padding:0 20px 25px}
@media(max-width:720px){.app-shell{padding:0 16px 23px}.shell-header{padding:17px 0 12px;gap:8px}.shell-brand{font-size:10px;gap:7px;letter-spacing:.5px;padding:0}.shell-brand>span{width:32px;height:32px;font-size:22px}.wallet-pill{font-size:10px;padding:9px}.shell-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-bottom:24px;padding-bottom:13px}.shell-nav button{font-size:12px;padding:9px 4px}.app-view h1{font-size:34px;letter-spacing:-1px}.view-heading p{font-size:14px}.home-hero{display:flex;flex-direction:column-reverse;gap:25px;padding:3px 0 17px;align-items:stretch}.hero-picture{width:76%;max-width:270px;align-self:center;transform:rotate(2deg)}.hero-picture>span{font-size:10px;left:16px;right:16px;bottom:16px}.home-hero h1{font-size:43px}.home-hero p{font-size:14px}.hero-actions{margin-top:13px}.hero-actions button{font-size:13px!important;padding:11px!important}.summary-grid{gap:7px;margin:15px 0 28px}.summary-grid>div{padding:12px 10px;border-radius:10px}.summary-grid b{font-size:25px}.summary-grid span{font-size:10px;line-height:1.5}.section-title{gap:10px;margin:20px 0 13px}.section-title h2{font-size:21px}.section-title button{font-size:12px}.level-grid{grid-template-columns:1fr 1fr;gap:11px}.level-card-body{padding:12px}.level-card-body h3{font-size:18px;line-height:1.1;min-height:39px;margin-bottom:8px}.level-card-body p{font-size:11px;line-height:1.5;min-height:32px}.level-art>span{font-size:8px;letter-spacing:.4px;top:7px;left:7px;padding:5px 6px}.level-card-body .primary{font-size:12px;padding:9px 5px}.card-secondary button{font-size:11px}.gallery-actions{gap:8px}.gallery-actions .primary,.gallery-actions .secondary{font-size:12px;padding:11px}.studio-layout{grid-template-columns:1fr;gap:21px}.panel{padding:17px}.studio-controls{gap:13px}.studio-previews{min-width:0}.preview-pair{gap:9px}.preview-box{padding:7px}.preview-box>span{font-size:8px;letter-spacing:.5px;line-height:1.5;margin-bottom:7px;min-height:24px}.studio-actions{gap:8px}.studio-actions button{font-size:12px!important;min-width:120px;padding:11px!important}.studio-colors{gap:8px 10px}.studio-colors span{font-size:10px}.boost-grid{gap:11px}.boost-card{padding:18px 14px}.boost-card h2{font-size:24px}.boost-card p,.boost-card>b{font-size:12px}.boost-card .eyebrow{font-size:8px;letter-spacing:1px}.boost-card .primary{font-size:13px;padding:10px}.shop-balance{gap:13px}.shop-balance button{margin:0}.shop-balance>b{font-size:29px}.demo-banner{padding:15px}.result-card{padding:23px 17px}.result-card h1{font-size:31px}.result-stats b{font-size:23px}.local-note{font-size:12px}.shell-foot{font-size:9px}.tools{grid-template-columns:repeat(6,1fr)}body.playing #game-screen{height:100vh;height:100dvh;max-width:490px;margin:0 auto;padding:max(5px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.game-back{height:23px;width:26px;font-size:17px}.stage{gap:7px}.tools button{font-size:9px}}

@media(max-width:720px){.app-view h1 br{display:block}}
/* A real, rendered file input receives the tap directly, including on mobile. */
.studio-controls .upload-box{position:relative;display:flex;flex-direction:column;justify-content:center;gap:8px;text-align:center;border:1px dashed #b2c17c88;background:#31543a4d;border-radius:11px;padding:24px 10px;min-height:140px;cursor:pointer;overflow:hidden}.upload-box .photo-input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:2;margin:0;padding:0;font-size:16px}.upload-box:focus-within{outline:3px solid #f5cf54;outline-offset:3px}.upload-box:has(input:disabled){opacity:.6}.picker-help summary{font-size:12px;color:#d4dfb7}.picker-help p{margin:0}
/* Foam has a distinct white fill and a bubble emblem, without text labels. */
.foam-mug>path:nth-of-type(2){stroke:#66283f;stroke-width:2}.foam-badge{position:absolute;left:4px;top:4px;display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#fff9ef;border:1px solid #66283f;box-shadow:0 1px 2px #0003}.foam-badge svg{width:14px;height:14px;fill:#fff9ef;stroke:#66283f;stroke-width:1.4}.cup-choice{position:relative}@media(max-width:720px){.foam-badge{left:2px;top:2px;width:12px;height:12px}.foam-badge svg{width:10px;height:10px}}
.concept-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.concept-actions{display:flex;gap:12px;flex-wrap:wrap}.concept-actions button{flex:1;min-width:180px;margin:0}.color-badge-8{background:#f4ad87}.color-badge-9{background:#fff9ef}.gallery-actions{flex-wrap:wrap}@media(max-width:720px){.concept-grid{grid-template-columns:1fr 1fr;gap:9px}.concept-grid>.preview-box:first-child{grid-column:1 / -1;width:85%;max-width:300px;justify-self:center}.concept-actions{gap:8px}.concept-actions button{font-size:13px!important}}

.color-badge-10,.color-badge-11,.color-badge-12,.color-badge-13{background:#fff9ef;border-color:#74615b}

.runner .person-avatar{width:100%;height:auto;overflow:visible}.runner .person-avatar .leg-left{transform-origin:27px 51px}.runner .person-avatar .leg-right{transform-origin:37px 51px}.runner .parcel{right:2%;top:23%;width:24%;height:21%}.order-mug{filter:drop-shadow(0 3px 1px #0003)}

/* One available order and two queued orders per lane. */
.queue-upcoming{gap:5px}.upcoming-cup{min-height:48px;padding:4px 5px}.upcoming-cup .mug{width:32px;height:29px}.upcoming-count{font-size:18px}.cup-choice{outline:1px solid #fff9ef80;outline-offset:-1px}.queue-upcoming .upcoming-cup:nth-child(2){margin:0 3px}
@media(max-width:720px){body.playing .play-panel{grid-template-rows:23px 32px minmax(65px,1fr) 3px 48px 123px 33px}body.playing .queue{gap:4px}body.playing .cup-choice{height:47px}body.playing .queue-upcoming{gap:4px}body.playing .upcoming-cup{height:34px;min-height:0;padding:1px 3px;grid-template-rows:1fr}body.playing .upcoming-cup .mug{width:25px;height:23px}body.playing .upcoming-count{font-size:15px}}
@media(max-width:720px) and (max-height:600px){body.playing .play-panel{grid-template-rows:20px 30px minmax(60px,1fr) 3px 43px 107px 30px}body.playing .queue,body.playing .queue-upcoming{gap:3px}body.playing .cup-choice{height:41px}body.playing .upcoming-cup{height:30px}body.playing .upcoming-cup .mug{width:23px;height:21px}}

.ai-comparison img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px}.ai-comparison section:first-child img{object-fit:contain;background:#0e3023}.home-ai{display:block}.ai-comparison canvas{image-rendering:pixelated}

.game-view-control{border:1px solid #ffffff25;background:#244e37;color:#f1e6ba;border-radius:7px;padding:4px 7px;font:inherit;font-size:12px}.game-view-control[aria-pressed=true]{background:#f5cf54;color:#173d2e}.full-art-reference{display:block;width:100%;max-height:65dvh;object-fit:contain;border-radius:9px;margin:15px auto 0}@media(max-width:720px){.game-view-control{font-size:10px;padding:4px;min-width:34px;height:23px}.stage{gap:4px}.stage h2{font-size:13px}}

.preserve-art-label span{display:flex;gap:7px;align-items:center;line-height:1.45}.preserve-art-label input{accent-color:#f5cf54;width:17px;height:17px;flex-shrink:0}.preserve-art-label small{font-size:12px;line-height:1.5;color:#b3c8ab}

.member-panel{max-width:540px;display:flex;flex-direction:column;gap:16px}.member-panel form{display:flex;flex-direction:column;gap:16px}.member-panel label{display:flex;flex-direction:column;gap:8px;font-size:15px}.member-panel input:not([type=checkbox]){width:100%;border:1px solid #7a956866;border-radius:9px;background:#0e3023;color:#fff9ef;padding:12px;font:inherit}.member-panel .member-check{display:flex;flex-direction:row;align-items:start;line-height:1.5}.member-check input{accent-color:#f5cf54;margin-top:5px;flex-shrink:0}.member-actions{display:flex;gap:10px}.member-actions button{flex:1}.member-panel button:disabled{opacity:.45}.coupon-list{display:grid;gap:15px;margin-top:20px}.coupon-card b{display:block;font-size:16px;overflow-wrap:anywhere;margin-top:12px}.coupon-card small{font-size:13px}.shell-nav{flex-wrap:wrap}@media(max-width:720px){.shell-nav{grid-template-columns:repeat(3,1fr)}.member-panel{max-width:none}.member-panel input{font-size:16px!important}}

/* Overhead staff: all gait values come from the simulation, never a CSS timer. */
.runner.overhead-runner{width:7.3%;min-width:19px;max-width:43px;height:auto;aspect-ratio:80/84;transform:translate(-50%,-50%);filter:drop-shadow(0 1px 1px #061b1780);will-change:left,top}
.runner.overhead-runner::before{display:none}
.overhead-runner .runner-heading{transform:rotate(var(--heading,0deg));transform-origin:50% 50%;transition:transform .09s linear}
.runner.overhead-runner .runner-body{animation:none;transform:translateY(var(--bob,0px))}
.overhead-runner .person-avatar{display:block;width:100%;height:auto;overflow:visible}
.overhead-runner .foot-left{transform-box:view-box;transform-origin:33px 49px;transform:translateY(var(--stride,0px)) rotate(calc(.35 * var(--swing,0deg)))}
.overhead-runner .foot-right{transform-box:view-box;transform-origin:47px 49px;transform:translateY(calc(-1 * var(--stride,0px))) rotate(calc(-.35 * var(--swing,0deg)))}
.overhead-runner .shin-left{transform-box:view-box;transform-origin:33px 59px;transform:rotate(var(--knee-left,0deg)) scaleY(calc(1 - .15 * var(--collect,0)))}
.overhead-runner .shin-right{transform-box:view-box;transform-origin:47px 59px;transform:rotate(calc(-1 * var(--knee-right,0deg)))}
.overhead-runner .free-arm{transform-box:view-box;transform-origin:56px 41px;transform:translateY(calc(7px * var(--collect,0))) rotate(calc(var(--arm-free,0deg) - 20deg * var(--collect,0)))}
.overhead-runner .mug-arm{transform-box:view-box;transform-origin:24px 41px;transform:rotate(var(--arm-mug,0deg))}
.overhead-runner .forearm-free{transform-box:view-box;transform-origin:63px 51px;transform:rotate(calc(var(--elbow-free,0deg) - 25deg * var(--collect,0)))}
.overhead-runner .forearm-mug{transform-box:view-box;transform-origin:17px 51px;transform:rotate(calc(-1 * var(--elbow-mug,0deg)))}
.overhead-runner .staff-head{transform-box:view-box;transform-origin:40px 27px;transform:translateY(calc(2px * var(--collect,0))) rotate(calc(.09 * var(--swing,0deg)))}
.overhead-runner .staff-torso{transform-box:view-box;transform-origin:40px 43px;transform:scaleY(calc(1 - .09 * var(--collect,0)))}
.overhead-runner .carried-pixel{opacity:0;transform-box:fill-box;transform-origin:center;transform:scale(.7)}
.overhead-runner.carrying .carried-pixel{opacity:1;transform:scale(1)}
.overhead-runner.carrying .staff-mug{filter:drop-shadow(0 0 2px #f5cf5480)}
.overhead-runner.cancelled{opacity:.7}
@media(prefers-reduced-motion:reduce){#runners:not(.team-motion-on) .overhead-runner .runner-heading{transition:none}#runners:not(.team-motion-on) .runner.overhead-runner .runner-body{transform:none}#runners:not(.team-motion-on) .overhead-runner .free-arm,#runners:not(.team-motion-on) .overhead-runner .mug-arm,#runners:not(.team-motion-on) .overhead-runner .staff-head,#runners:not(.team-motion-on) .overhead-runner .staff-torso,#runners:not(.team-motion-on) .overhead-runner .foot-left,#runners:not(.team-motion-on) .overhead-runner .foot-right,#runners:not(.team-motion-on) .overhead-runner .shin-left,#runners:not(.team-motion-on) .overhead-runner .shin-right,#runners:not(.team-motion-on) .overhead-runner .forearm-free,#runners:not(.team-motion-on) .overhead-runner .forearm-mug{transform:none}}
/* Journey: compact navigation, one obvious next action. */
.shell-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:540px;margin:0 auto 28px}.shell-nav button{font-size:16px;min-height:46px}.shell-header{gap:12px}.lives-pill{border:1px solid #e75b7c60;border-radius:24px;background:#66283f55;color:#fff9ef;font:inherit;font-size:14px;min-height:44px;padding:8px 14px;white-space:nowrap;margin-left:auto}.wallet-pill{font-size:14px;min-height:44px}.journey-home{min-height:420px}.journey-home h1{font-size:clamp(44px,6vw,70px)}.journey-home .primary{font-size:18px;min-height:52px;min-width:240px}.home-life{color:#f4adba;font-size:16px;font-weight:600;margin:18px 0}.home-small{font-size:14px!important;color:#b9cda8}.home-shortcuts{display:flex;gap:12px;margin:12px 0 28px}.home-shortcuts button{flex:1;min-height:48px;font-size:16px}.creation-drawer{border-top:1px solid #ffffff25;border-bottom:1px solid #ffffff25;padding:18px 0;margin:18px 0}.creation-drawer summary{cursor:pointer;font-size:16px;color:#d2dfc1}.creation-drawer button{margin:8px 12px 8px 0}.reward-note{padding:12px;border-radius:10px;background:#bddc6520;color:#e3edc8;font-size:14px!important}.result-card>.primary,.result-card>.secondary{display:block;width:100%;min-height:48px;margin:12px 0}.result-stats span{font-size:14px}.result-card .field-note{font-size:14px!important}.life-shop h2{margin-top:0}.level-card .primary:disabled{opacity:.5;cursor:default}.shell-foot{font-size:12px}.result-card>img{image-rendering:auto}.modal-cancel{min-height:44px}button:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #f5cf54;outline-offset:3px}
@media(max-width:720px){.shell-header{display:flex;flex-wrap:wrap;gap:8px}.shell-brand{flex:1;font-size:12px}.lives-pill{font-size:13px;padding:8px 10px}.wallet-pill{font-size:13px;padding:8px 10px}.shell-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:18px}.shell-nav button{font-size:16px}.journey-home{min-height:0;gap:20px}.journey-home .hero-picture{width:54%;max-width:220px}.journey-home>div:first-child{text-align:center}.journey-home h1{font-size:42px;line-height:1.05;margin:12px 0}.journey-home h1 br{display:none}.journey-home p{font-size:16px;max-width:340px;margin:12px auto}.journey-home .hero-actions{justify-content:center}.journey-home .primary{width:100%;font-size:17px!important;min-height:50px;padding:13px!important}.home-life{margin:12px 0}.home-shortcuts{margin:10px 0 22px;gap:8px}.home-shortcuts button{font-size:14px}.creation-drawer{margin:15px 0}.local-note{font-size:14px}.result-card h1{font-size:32px}.result-card>p{font-size:16px}.result-card>img{width:145px;margin:8px auto}.result-symbol{margin-bottom:12px}.result-stats{padding:14px 0}.result-stats span{font-size:14px}.result-card h2{margin-bottom:12px}#extra-seat{line-height:1.05}}
.haptic-settings{border:1px solid #f5cf5445;border-radius:12px;padding:14px;margin:0 0 18px;background:#31543a4d}.haptic-settings .secondary{width:100%;min-height:44px;margin:0;font-size:16px}.haptic-settings p{font-size:14px;line-height:1.5;margin-bottom:0}.haptic-settings button:disabled{opacity:.65;cursor:default}

/* Desktop: keep the complete board inside the viewport, controls beside it. */
.game-controls{display:contents}
@media(min-width:721px){
 body.playing{height:100dvh;min-height:0;overflow:hidden}
 body.playing #game-screen{width:100%;max-width:1200px;height:100dvh;margin:0 auto;padding:12px 18px;min-height:0}
 body.playing .play-panel{height:100%;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) clamp(270px,28vw,330px);grid-template-rows:38px 38px minmax(0,1fr) 4px;grid-template-areas:"stage stage" "stats stats" "board controls" "progress controls";gap:10px 24px}
 body.playing .stage{grid-area:stage;min-width:0}
 body.playing .stage h2{font-size:23px;line-height:26px;margin:0}
 body.playing .stage .eyebrow{display:none}
 body.playing .stats{grid-area:stats;margin:0}
 body.playing .board-frame{grid-area:board;container-type:size;min-width:0;min-height:0;width:100%;height:100%;padding:4px;background:none;border:0;box-shadow:none;display:flex;justify-content:center;align-items:center;overflow:hidden}
 body.playing .board-stage{width:min(100cqw,calc(100cqh * 8 / 9));height:auto;aspect-ratio:640/720;flex:none;border-radius:9px;box-shadow:0 0 0 3px #bd8b56}
 body.playing .board-stage canvas{width:100%;height:100%;aspect-ratio:640/720}
 body.playing .board-footer{display:none}
 body.playing .progress{grid-area:progress;height:4px;margin:0}
 body.playing .game-controls{grid-area:controls;display:flex;flex-direction:column;gap:8px;min-height:0;overflow-y:auto;padding:2px 4px 4px}
 body.playing .tray-label,body.playing .queue-header{margin:0;min-height:18px;font-size:12px;letter-spacing:0}
 body.playing #tray{padding:4px;gap:4px;flex:none}
 body.playing .slot{height:48px;display:grid;grid-template-columns:1fr 1fr;gap:0;padding:2px}
 body.playing .slot.empty{display:flex}
 body.playing .slot .mug{width:29px;height:31px}
 body.playing .slot .count{font-size:16px}
 body.playing #message{margin:0;min-height:34px;font-size:14px;line-height:17px;text-align:left;flex:none}
 body.playing #queues{gap:6px;flex:none}
 body.playing .queue,body.playing .queue-upcoming{gap:5px}
 body.playing .cup-choice{min-height:0;height:58px;display:grid;grid-template-columns:1fr 1fr;gap:0;padding:3px;border-radius:9px}
 body.playing .cup-choice .mug{width:31px;height:34px}
 body.playing .cup-choice .count{font-size:17px;padding:0 4px;margin:0}
 body.playing .upcoming-cup{height:45px;min-height:0;padding:3px;gap:0}
 body.playing .upcoming-cup .mug{width:25px;height:28px}
 body.playing .upcoming-count{font-size:15px;padding:0 4px}
 body.playing .queue-exhausted{height:58px}
 body.playing .tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:4px 0 0;flex:none}
 body.playing .tools button{font-size:12px;min-height:42px;padding:4px 2px}
 body.playing .tools button span{font-size:17px;line-height:18px;margin:0}
 body.playing dialog{max-height:calc(100dvh - 32px);overflow-y:auto}
}

/* Occupied counter seats identify the same stone color as their order. */
.slot.active{background:linear-gradient(150deg,#ffffff22,transparent),var(--cup);border-color:#ffffff50}
.slot.active .count{color:#fff4d7;background:#173d2e;border-radius:5px;padding:1px 4px;line-height:1.2;text-shadow:none}

.member-panel .news-optin{display:flex;flex-direction:row;align-items:flex-start;gap:12px;font-size:16px;line-height:1.5}.member-panel .news-optin input{width:22px;min-width:22px;height:22px;min-height:22px;margin:2px 0;accent-color:#f5cf54}.phase-section{margin:30px 0 42px}.phase-section>p{font-size:16px}.phase-progress{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin:24px 0}.phase-progress p{margin:8px 0 0}.coupon-list{display:grid;gap:20px;margin:24px 0}.coupon-qr{display:block;width:280px;height:280px;max-width:100%;object-fit:contain;background:#fff;border-radius:8px;margin:18px 0}.coupon-card code{overflow-wrap:anywhere;font-size:16px}.coupon-rules p,.coupon-card p{font-size:16px;line-height:1.6}
