/* Dedicated mobile comic road-trip canvas. */
html:has(.aw),body:has(.aw),body.in-match:has(.aw) #play#play{background:#f3ecd4!important;color:#0a0a0a}
body:has(.aw)::before{display:none!important}
body.in-match:has(.aw) #play.view{padding:0!important;min-height:100dvh!important}
body.in-match #game-stage#game-stage:has(.aw){width:100%;max-width:520px;min-width:0;margin:auto;padding:0}
body.in-match #game-stage#game-stage#game-stage .panel.aw{--aw-safe-top:env(safe-area-inset-top,0px);--aw-safe-bottom:env(safe-area-inset-bottom,0px);--aw-paper:#f3ecd4;--aw-card:#fff8e5;--aw-yellow:#ffda32;--aw-blue:#b5dcf2;--aw-ink:#0a0a0a;display:flex;position:relative;flex-direction:column;gap:12px;width:100%;min-width:0;height:100dvh;min-height:540px;margin:0;padding:calc(var(--aw-safe-top) + 14px) max(16px,env(safe-area-inset-right,0px)) calc(var(--aw-safe-bottom) + 16px) max(16px,env(safe-area-inset-left,0px));border:0!important;border-radius:0;background:var(--aw-paper)!important;color:var(--aw-ink)!important;box-shadow:none;font:500 15px/1.35 "DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;isolation:isolate;animation:none!important;overflow:visible}
.aw,.aw *{box-sizing:border-box}.aw [hidden]{display:none!important}
.aw::before{content:"";position:absolute;inset:0 auto auto 0;width:110px;height:100px;z-index:-1;background:radial-gradient(#0a0a0a .65px,transparent 1px) 0 0/7px 7px;opacity:.16;mask-image:linear-gradient(140deg,#000,transparent 75%)}
.aw h1,.aw h2,.aw p{margin:0}.aw button{cursor:pointer;font-family:inherit;color:#0a0a0a;touch-action:manipulation}.aw button:disabled{cursor:default}.aw button:focus-visible,.aw svg:focus-visible,.aw summary:focus-visible{outline:3px solid #1675bf;outline-offset:3px}
.aw h1,.aw-story-title h2,.aw-verdict h2,.aw-winner h2{font-family:"KK Head",Bangers,Impact,sans-serif!important;font-weight:400!important;letter-spacing:0!important;color:#0a0a0a!important}
.aw .aw-header{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:9px;flex-shrink:0;min-height:42px}
.aw .aw-header h1{font:400 clamp(23px,6.9vw,33px)/1 "KK Head",Bangers,Impact,sans-serif;text-align:center;white-space:nowrap;text-transform:uppercase;letter-spacing:0}
.aw .aw-icon{display:grid;place-items:center;width:40px;height:40px;min-height:40px;padding:9px;border:1.5px solid #0a0a0a;border-radius:10px;box-shadow:2px 3px 0 #0a0a0a;background:#fff8e5}.aw-icon svg{width:21px;height:21px}
.aw .aw-counter{border:1.5px solid #0a0a0a;border-radius:9px;box-shadow:2px 3px 0 #0a0a0a;background:#fff8e5;padding:5px 8px;min-width:65px;text-align:center;white-space:nowrap}.aw-counter b{display:block;font:400 24px/1 "KK Head",Bangers,Impact,sans-serif}.aw-counter small{font-size:9px;display:block;margin-top:2px}.aw .aw-edition{max-width:65px;font:400 16px/1 "KK Head",Bangers,Impact,sans-serif;transform:rotate(-3deg);background:#b5dcf2;padding:6px;border:1px solid #0a0a0a;white-space:nowrap}
.aw .aw-progress{display:flex;gap:12px;align-items:center;flex-shrink:0}.aw-progress>div{display:flex;gap:5px;flex:1}.aw-progress i{display:block;flex:1;height:10px;border:1.5px solid #0a0a0a;border-radius:6px;background:#fff8e5}.aw-progress .is-done{background:#ffda32}.aw-progress .is-current{background:#b5dcf2}.aw-progress>b{font:400 20px/1 "KK Head",Bangers,Impact,sans-serif;white-space:nowrap}
.aw .aw-ticket{display:inline-block;align-self:center;background:#b5dcf2;border:1.5px solid #0a0a0a;box-shadow:2px 2px 0 #0a0a0a;transform:rotate(-3deg);padding:4px 12px;font:400 20px/1 "KK Head",Bangers,Impact,sans-serif;white-space:nowrap}
.aw .aw-story-title{text-align:center;display:grid;gap:9px;justify-items:center;flex-shrink:0}.aw-story-title h2{font:400 clamp(35px,10vw,48px)/1 "KK Head",Bangers,Impact,sans-serif;white-space:nowrap;letter-spacing:.005em}.aw-story-title p{font-size:13px;color:#625e50}
.aw .aw-scene{position:relative;width:calc(100% + 32px);margin-left:-16px;flex:1;min-height:160px;max-height:44vh;overflow:hidden;border-block:1.5px solid #0a0a0a;background:#e8ddbf}.aw-scene img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.aw .aw-crew{display:flex;gap:10px;align-items:center;flex-shrink:0;min-height:46px}.aw-crew .aw-seats{display:flex;gap:13px;align-items:center;justify-content:center;flex:1;min-width:0}.aw-seat{display:grid;justify-items:center;gap:4px;flex:1;min-width:0}.aw-seat>span:last-child{font-size:11px;font-weight:800;overflow:hidden;text-overflow:ellipsis;max-width:100%;white-space:nowrap}.aw .aw-face{display:inline-grid;place-items:center;position:relative;flex-shrink:0;width:42px;height:42px;border:2px solid #0a0a0a;border-radius:50%;background:var(--aw-color,#ffda32);overflow:visible}.aw .aw-face>.kk-avatar{width:100%;height:100%;display:block;overflow:hidden;border-radius:50%;border:0;padding:0;margin:0;background:var(--kk-player-color,#ffda32)}.aw .aw-face img.kk-avatar-art{display:block;width:100%;height:100%;object-fit:cover;border-radius:0;transform:none;margin:0;max-width:none}.aw .aw-face i{position:absolute;bottom:-3px;right:-5px;display:grid;place-items:center;width:19px;height:19px;border:1.5px solid #0a0a0a;border-radius:50%;background:#ffda32;font-size:13px;font-style:normal;font-weight:900}.aw-crew>small{font-size:11px;max-width:64px;font-weight:700}
.aw .aw-crew--full{display:grid;gap:12px;text-align:center;padding:12px 14px;background:#fff8e5;border:1.5px solid #0a0a0a;border-radius:14px;box-shadow:2px 3px 0 #0a0a0a}.aw-crew--full>b{font-size:16px}.aw-crew--full .aw-face{width:clamp(45px,13vw,64px);height:clamp(45px,13vw,64px)}.aw-crew--full .aw-seats{width:100%;gap:12px}.aw-crew--full .aw-seat>span:last-child{font-size:12px}
.aw .aw-rule{text-align:center;font-size:12px;color:#4d4b3e;flex-shrink:0}.aw .aw-help{font-size:12px;flex-shrink:0;text-align:center}.aw-help summary{cursor:pointer;text-decoration:underline}.aw-help p{padding:9px;background:#fff8e5;border:1px solid #0a0a0a;border-radius:8px}.aw:has(.aw-help[open]){height:auto!important;min-height:100dvh!important}
.aw .aw-primary,.aw .aw-secondary{display:flex;align-items:center;justify-content:center;width:100%;min-height:49px;padding:10px 12px;border:1.5px solid #0a0a0a;border-radius:12px;background:#ffda32;box-shadow:3px 4px 0 #0a0a0a;font:400 clamp(23px,6.5vw,31px)/1.05 "KK Head",Bangers,Impact,sans-serif;text-align:center;text-transform:uppercase;text-decoration:none;flex-shrink:0}.aw .aw-primary:disabled{background:#e6ddbd;box-shadow:1px 2px 0 #0a0a0a;color:#625e50;font-size:23px}.aw .aw-secondary{background:#fff8e5;box-shadow:2px 3px 0 #0a0a0a;min-height:43px;font-size:23px}.aw .aw-ready{display:grid;gap:6px;margin-top:auto;flex-shrink:0;text-align:center}.aw-ready>span{font-size:11px;color:#625e50}.aw--away_intro .aw-ready>span{margin-top:-2px}
.aw .aw-question{position:relative;padding:20px 16px 14px;border:1.5px solid #0a0a0a;border-radius:13px;box-shadow:3px 4px 0 #0a0a0a;background:#fff8e5;flex-shrink:0;margin-top:7px}.aw-question .aw-ticket{position:absolute;top:-12px;left:12px;font-size:17px;padding:3px 9px}.aw-question h2{font:800 clamp(18px,5.3vw,25px)/1.17 "DM Sans",sans-serif;text-wrap:pretty}.aw .aw-clock{display:flex;justify-content:space-between;font-size:11px;font-weight:700;color:#625e50;flex-shrink:0;margin-top:-3px}.aw-clock .cd{font-variant-numeric:tabular-nums}
.aw .aw-map-wrap{position:relative;flex:1;min-height:160px;overflow:hidden;border:1.5px solid #0a0a0a;border-radius:15px;box-shadow:3px 4px 0 #0a0a0a;background:#e1eef0}.aw .aw-map{display:block;position:absolute;width:100%;height:100%;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.aw-country{fill:#fff6cc;stroke:#0a0a0a;stroke-width:1.8;stroke-linejoin:round;vector-effect:non-scaling-stroke}.aw-city{font:600 7px "DM Sans",sans-serif;fill:#6d6a58;paint-order:stroke;stroke:#fff6cc;stroke-width:2px;pointer-events:none}.aw-map-label{font:800 8px "DM Sans",sans-serif;fill:#0a0a0a;paint-order:stroke;stroke:#fff8e5;stroke-width:3px;stroke-linejoin:round;pointer-events:none}.aw-choice-label{font:400 25px "KK Head",Bangers,Impact,sans-serif;pointer-events:none}.aw [data-choice-id]{cursor:pointer;outline-offset:4px}.aw-pin{pointer-events:none}.aw .aw-map-helper{position:absolute;bottom:9px;left:9px;border-radius:20px;background:#0a0a0a;color:#fff8e5;font-size:10px;font-weight:700;padding:6px 10px;pointer-events:none}.aw-map-loading{position:absolute;inset:0;display:grid;place-items:center;background:#fff8e5;font-size:14px}.aw .aw-loupe{position:absolute;top:12px;left:12px;width:105px;height:105px;border:3px solid #0a0a0a;border-radius:50%;overflow:hidden;box-shadow:3px 4px 0 #0a0a0a;background:#fff8e5;pointer-events:none}.aw-loupe>svg{display:block;width:100%;height:100%}.aw .aw-submit-wrap{display:grid;gap:5px;flex-shrink:0}.aw-submit-status{font-size:11px;color:#625e50;text-align:center;min-height:14px}
.aw .aw-verdict{display:flex;align-items:center;gap:12px;justify-content:space-between;border:1.5px solid #0a0a0a;border-radius:12px;background:#b5dcf2;box-shadow:3px 4px 0 #0a0a0a;padding:12px 14px;flex-shrink:0}.aw-verdict h2{font:400 clamp(24px,8vw,39px)/1 "KK Head",Bangers,Impact,sans-serif;transform:rotate(-3deg)}.aw-verdict>b{max-width:115px;text-align:right;font-size:14px;line-height:1.15}.aw .aw-verdict.is-goal{background:#ffda32}.aw .aw-destination{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:4px 10px;flex-shrink:0}.aw-destination .aw-ticket{grid-row:1/3;font-size:15px;padding:4px 7px}.aw-destination>b{font-size:14px}.aw-destination>span:last-child{font-size:12px;color:#625e50}
.aw .aw-rankings{display:grid;gap:6px;flex-shrink:0}.aw .aw-rank-row{display:flex;gap:9px;align-items:center;padding:5px 10px;border:1.3px solid #0a0a0a;border-radius:11px;background:#fff8e5;min-height:43px}.aw-rank-row .aw-face{width:30px;height:30px;border-width:1.5px}.aw-rank-row .aw-rank{font:400 25px/1 "KK Head",Bangers,Impact,sans-serif;width:15px;text-align:center}.aw-rank-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:800}.aw-rank-name small{font-size:8px;background:#ffda32;border:1px solid #0a0a0a;border-radius:3px;padding:1px 3px;margin-left:5px}.aw-rank-row>b:last-child{font-size:13px;white-space:nowrap}.aw-rank-row.is-you{background:#fff2b2}
.aw .aw-route{display:flex;align-items:center;justify-content:space-between;position:relative;margin:15px 0}.aw-route::before{content:"";position:absolute;left:5%;right:5%;top:50%;border-top:2px dashed #0a0a0a;z-index:-1}.aw-route i{width:35px;height:35px;border:1.5px solid #0a0a0a;border-radius:50%;background:#fff8e5;text-align:center;padding-top:4px;font:400 26px/1 "KK Head",Bangers,Impact,sans-serif}.aw-route .is-done{background:#ffda32}.aw--away_travel .aw-scene img{animation:aw-travel 1.8s ease-out both}.aw--away_travel .aw-crew--full{margin-top:auto}@keyframes aw-travel{from{transform:scale(1.07) translateX(4px)}to{transform:scale(1) translateX(0)}}
.aw .aw-scene--final{max-height:28vh;min-height:125px}.aw .aw-winner{display:flex;align-items:center;justify-content:center;position:relative;gap:14px;margin:-30px 0 0;z-index:1;background:#fff8e5;border:1.5px solid #0a0a0a;border-radius:13px;box-shadow:3px 4px 0 #0a0a0a;padding:12px 15px;flex-shrink:0}.aw-winner .aw-face{width:67px;height:67px}.aw .aw-crown{position:absolute;top:-20px;left:13px;width:38px;height:30px;transform:rotate(-10deg)}.aw-winner>div{min-width:0}.aw-winner h2{font:400 clamp(20px,6vw,28px)/1.05 "KK Head",Bangers,Impact,sans-serif;overflow-wrap:anywhere}.aw-winner b{font:400 39px/1.1 "KK Head",Bangers,Impact,sans-serif;display:block}.aw-winner small{font-size:11px}.aw .aw-souvenir{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;border:1.3px dashed #0a0a0a;border-radius:8px;padding:8px 12px;background:#fff8e5;font-size:12px;font-weight:800;flex-shrink:0}.aw .aw-stamp{display:block;transform:rotate(-5deg);color:#ba2f28;border:1.5px solid currentColor;padding:3px 5px;font:400 17px/1 "KK Head",Bangers,Impact,sans-serif;white-space:nowrap}.aw-trip-details{display:grid;gap:7px;padding:10px;background:#fff8e5;font-size:12px}.aw-trip-details>div{display:flex;justify-content:space-between;gap:10px}.aw:has(.aw-trip-details:not([hidden])){height:auto!important;min-height:100dvh!important}.aw .aw-final-actions{display:grid;gap:9px;margin-top:auto;flex-shrink:0}.aw-final-actions>p{font-size:11px;text-align:center;color:#625e50}.aw-practice{font-size:10px;text-align:center;color:#625e50}
body #game-stage .lobby .mode-btn[data-mode="auswaertsfahrt"]{--mode-color:#b5dcf2}.aw-lobby-settings{display:grid;gap:14px;padding:15px}.aw-lobby-settings>div{display:grid;gap:7px}.aw-lobby-settings .segs{display:flex;gap:5px}.aw-lobby-settings button{flex:1;min-height:43px}
@media(max-width:360px){body.in-match #game-stage#game-stage#game-stage .panel.aw{padding-inline:12px;gap:9px}.aw .aw-scene{width:calc(100% + 24px);margin-left:-12px}.aw .aw-header{gap:6px;grid-template-columns:36px minmax(0,1fr) auto}.aw .aw-header h1{font-size:25px}.aw .aw-counter{min-width:56px;padding:4px}.aw-counter b{font-size:21px}.aw .aw-edition{font-size:13px;padding:4px}.aw-story-title h2{font-size:34px}.aw .aw-rank-row{min-height:35px;padding:3px 8px}.aw-rank-row .aw-face{width:26px;height:26px}.aw .aw-winner{padding:9px 12px}.aw-winner .aw-face{width:55px;height:55px}.aw-winner b{font-size:32px}.aw .aw-primary{min-height:44px;font-size:27px}.aw .aw-crew--full{padding:9px}.aw .aw-question{padding:18px 12px 11px}.aw-question h2{font-size:19px}}
@media(max-height:720px){body.in-match #game-stage#game-stage#game-stage .panel.aw{gap:8px;padding-top:calc(var(--aw-safe-top) + 9px);padding-bottom:calc(var(--aw-safe-bottom) + 10px)}.aw-story-title{gap:6px!important}.aw-story-title h2{font-size:34px}.aw-story-title p{font-size:11px}.aw .aw-crew--full{gap:7px;padding:9px}.aw-crew--full .aw-face{width:43px;height:43px}.aw .aw-header{min-height:36px}.aw .aw-icon{height:36px;width:36px;min-height:36px}.aw .aw-rank-row{min-height:34px;padding:3px 8px}.aw-rank-row .aw-face{width:26px;height:26px}.aw .aw-winner{padding:9px 12px}.aw-winner .aw-face{width:53px;height:53px}.aw-winner b{font-size:30px}.aw .aw-scene--final{min-height:100px}.aw .aw-primary{min-height:44px;font-size:26px}.aw .aw-secondary{min-height:38px;font-size:22px}.aw .aw-question h2{font-size:19px}.aw .aw-clock{margin-top:0}.aw .aw-crew:not(.aw-crew--full) .aw-face{width:34px;height:34px}.aw .aw-crew:not(.aw-crew--full){min-height:40px}.aw .aw-souvenir{min-height:38px;padding:6px 9px}.aw .aw-verdict{padding:9px 12px}.aw-verdict h2{font-size:30px}.aw .aw-destination>b{font-size:12px}}
@media(prefers-reduced-motion:reduce){.aw *{animation:none!important;transition:none!important}}
@media(max-height:720px){body.in-match #game-stage .panel.aw .aw-scene{min-height:125px}body.in-match #game-stage .panel.aw .aw-scene--final{min-height:85px}body.in-match #game-stage .panel.aw .aw-map-wrap--reveal{min-height:110px}body.in-match #game-stage .panel.aw .aw-primary{min-height:44px;padding-block:8px}body.in-match #game-stage .panel.aw .aw-secondary{min-height:38px;padding-block:7px}}

.aw .aw-header h1{display:block!important;min-width:0;overflow:visible}

.aw .aw-question h2{font-family:"DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-weight:800!important;color:#0a0a0a!important}

.aw .aw-map-symbol{transform:scale(var(--aw-symbol-scale,1));transform-origin:0 0}.aw .aw-map-number{font:800 12px "DM Sans",sans-serif;fill:#0a0a0a;pointer-events:none}.aw .aw-map-symbol .aw-map-label{font-size:11px}.aw .aw-map-key{display:grid;place-items:center;width:18px;height:18px;flex-shrink:0;border:1px solid #0a0a0a;border-radius:50%;font-style:normal;font-size:10px;font-weight:800}

/* Geography stays in the Germany overview; detail layers are magnified only in the loupe. */
.aw .aw-country-outline{fill:none!important}.aw .aw-map-base{pointer-events:none}.aw .aw-state-name{font:700 6px "DM Sans",sans-serif;letter-spacing:.3px;fill:#77735e;opacity:.7;paint-order:stroke;stroke:#fff8e5;stroke-width:1px;pointer-events:none}.aw .aw-city-detail{display:none}.aw .aw-loupe .aw-city-detail{display:none}.aw .aw-loupe .aw-state-name{opacity:.5}.aw .aw-map-info{position:absolute;right:9px;top:9px;display:grid;place-items:center;width:36px;height:36px;border:1.5px solid #0a0a0a;border-radius:50%;background:#fff8e5;box-shadow:1px 2px 0 #0a0a0a;font:700 18px/1 Georgia,serif;color:#0a0a0a}.aw .aw-map-info::before{content:"";position:absolute;inset:-5px}.aw .aw-map-wrap:has(.aw-loupe:not([hidden])) .aw-map-info{visibility:hidden}
body dialog.aw-map-sheet{width:calc(100% - 32px);max-width:390px;padding:20px;border:2px solid #0a0a0a;border-radius:16px;background:#fff8e5;color:#0a0a0a;box-shadow:5px 6px 0 #0a0a0a;font:500 14px/1.5 "DM Sans",system-ui,sans-serif}dialog.aw-map-sheet::backdrop{background:#10171080}.aw-map-sheet>header{display:flex;justify-content:space-between;align-items:center;gap:12px}.aw-map-sheet h2{margin:0;color:#0a0a0a!important;font:400 28px/1.1 "KK Head",Bangers,Impact,sans-serif!important}.aw-map-sheet button{flex-shrink:0;width:44px;height:44px;border:1.5px solid #0a0a0a;border-radius:9px;background:#ffda32;color:#0a0a0a;font-size:26px}.aw-map-sheet p{color:#0a0a0a!important;margin:16px 0 0}.aw-map-sheet .aw-map-credits{font-size:11px;color:#625e50!important;border-top:1px solid #b2aa90;padding-top:12px}

/* Groundhopper: viewport layout and independent scenery/identity layers. */
html:has(#play.is-active .aw),body:has(#play.is-active .aw){height:100%;overflow:hidden!important;overscroll-behavior:none}
body.in-match #game-stage#game-stage#game-stage .panel.aw{min-height:0!important;overflow:hidden;gap:10px}
.aw .aw-header h1{font-size:clamp(23px,6.3vw,31px)}
.aw .aw-edition{font:400 13px/1 "KK Head",Bangers,sans-serif;padding:5px;white-space:nowrap}
.aw .aw-scene{position:relative;isolation:isolate;flex:1 1 200px;min-height:110px!important;max-height:280px;width:100%;margin:0;overflow:hidden;border:2px solid #0a0a0a;border-radius:15px;box-shadow:2px 3px 0 #0a0a0a;background-size:cover;background-position:center}
.aw .aw-scene .aw-backdrop{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-1;animation:none!important}
.aw .aw-location{position:absolute;top:9px;left:9px;right:auto;max-width:calc(100% - 18px);padding:4px 8px;border:1.5px solid #0a0a0a;border-radius:6px;background:#ffda32;font:400 15px/1.1 "KK Head",Bangers,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;z-index:2}
.aw .aw-actors{position:absolute;bottom:0;left:6%;right:6%;height:68%;max-height:170px;display:flex;align-items:flex-end;justify-content:center;gap:0;pointer-events:none}
.aw .aw-actor{position:relative;width:25%;max-width:100px;height:auto;aspect-ratio:100/140;color:var(--aw-player);flex:0 1 100px;filter:drop-shadow(1px 2px 1px #10100e33)}
.aw .aw-actor--1{transform:translateY(3px) rotate(2deg)}
.aw .aw-actor-body{display:block;width:100%;height:100%;overflow:visible}
.aw .aw-actor-head{position:absolute;top:0;left:50%;height:47%;aspect-ratio:1;transform:translateX(-50%)}
.aw .aw-actor-head .kk-avatar{width:100%;height:100%;border:0;background:transparent;box-shadow:none;overflow:hidden}
.aw .aw-welcome{flex:none;text-align:center}
.aw .aw-welcome h2{font:400 clamp(23px,6vw,29px)/1.07 "KK Head",Bangers,sans-serif!important;text-wrap:balance;overflow-wrap:anywhere}
.aw .aw-welcome p{font-size:12px;line-height:1.3;color:#625e50;margin-top:6px}
.aw .aw-crew{flex:none;padding:0;min-height:0}
.aw .aw-crew>small{display:none}
.aw .aw-crew .aw-seats{justify-content:center;gap:12px}
.aw .aw-crew .aw-seat{max-width:22%;min-width:0}
.aw .aw-crew .aw-face{width:38px;height:38px}
.aw .aw-crew .aw-seat>span:last-child{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.aw .aw-instructions{flex:none;list-style:none;display:grid;gap:6px;margin:0;padding:0}
.aw .aw-instructions li{display:flex;align-items:center;gap:9px;min-height:32px;padding:6px 10px;border:1.5px solid #0a0a0a;border-radius:9px;background:#fff8e5;font-size:12px;font-weight:700}
.aw .aw-instructions b{display:grid;place-items:center;width:19px;height:19px;border:1px solid #0a0a0a;border-radius:50%;background:#ffda32;flex:none;font-size:11px}
.aw .aw-rule{flex:none;font-size:11px;text-align:center;color:#625e50}
.aw .aw-target{flex:none;overflow:hidden;border:1.5px solid #0a0a0a;border-radius:13px;background:#fff8e5;text-align:center;box-shadow:2px 3px 0 #0a0a0a}
.aw .aw-target>span{display:block;background:#ffda32;border-bottom:1.5px solid #0a0a0a;padding:5px;font:400 19px/1 "KK Head",Bangers,sans-serif}
.aw .aw-target h2{font:400 clamp(25px,7vw,33px)/1 "KK Head",Bangers,sans-serif!important;padding:10px 12px 3px;text-wrap:balance;color:#0a0a0a!important;overflow-wrap:anywhere}
.aw .aw-target p{font-size:11px;padding:2px 10px 9px;color:#625e50}
.aw .aw-narrative{flex:none;font-size:12px;font-style:italic;line-height:1.3;text-align:center;text-wrap:balance}
.aw .aw-ready{margin-top:auto;gap:5px}
.aw .aw-ready>span{font-size:10px}
.aw .aw-primary{font-size:28px;min-height:48px}
.aw .aw-scene--final{flex:1 1 180px;max-height:200px;min-height:90px!important}
.aw.aw--result .aw-winner{margin-top:0;padding-block:8px}
.aw.aw--result .aw-story-title h2{font-size:30px}
.aw.aw--result .aw-story-title .aw-ticket{display:none}
.aw .aw-trip-details:not([hidden]){position:absolute;left:16px;right:16px;bottom:140px;z-index:10;border:2px solid #0a0a0a;border-radius:12px;box-shadow:3px 4px 0 #0a0a0a}
.aw:has(.aw-trip-details:not([hidden])){height:100dvh!important;min-height:0!important}
@media(max-height:700px){
 body.in-match #game-stage#game-stage#game-stage .panel.aw{gap:7px;padding-top:max(var(--aw-safe-top),8px);padding-bottom:max(var(--aw-safe-bottom),10px)}
 .aw .aw-scene{max-height:190px;min-height:85px!important;flex-basis:130px}
 .aw .aw-scene--final{max-height:100px;min-height:65px!important}
 .aw .aw-welcome h2{font-size:23px}
 .aw .aw-welcome p{font-size:11px;margin-top:4px}
 .aw .aw-crew .aw-face{width:30px;height:30px}
 .aw .aw-instructions{gap:4px}
 .aw .aw-instructions li{min-height:29px;padding:4px 8px;font-size:11px}
 .aw .aw-instructions b{width:17px;height:17px}
 .aw .aw-primary{min-height:44px;padding-block:7px;font-size:25px}
 .aw .aw-target h2{font-size:26px;padding-top:7px}
 .aw .aw-target>span{font-size:17px;padding:4px}
 .aw .aw-narrative{font-size:11px}
 .aw .aw-progress{margin-block:0}
 .aw.aw--result .aw-story-title h2{font-size:26px}
 .aw.aw--result .aw-winner .aw-face{width:40px;height:40px}
 .aw.aw--result .aw-winner b{font-size:26px}
 .aw.aw--result .aw-rank-row{min-height:30px;padding-block:2px}
 .aw.aw--result .aw-rank-row .aw-face{width:24px;height:24px}
}
@media(prefers-reduced-motion:reduce){.aw .aw-actor{transform:none}}

/* Fully illustrated identities replace the head/body construction. */
.aw .aw-actors{height:70%;max-height:190px;left:8%;right:8%;gap:4px}
.aw .aw-actor{height:100%;width:25%;max-width:100px;aspect-ratio:auto;flex:0 1 100px;transform:none;filter:drop-shadow(1px 2px 1px #10100e33)}
.aw .aw-actors .aw-full-actor{position:static;display:block;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom;animation:none!important}
.aw .aw-club-badge{position:absolute;left:8px;bottom:8px;max-width:calc(100% - 16px);display:flex;align-items:center;gap:6px;border:1px solid #10100e;border-radius:6px;padding:4px 7px;background:#fff8e5eb;font:700 10px/1.15 'DM Sans',sans-serif;z-index:3}
.aw .aw-club-badge i{display:block;width:24px;height:13px;border:1px solid #10100e;border-radius:2px;flex:none}

/* Persistent split-flap timetable: a synchronized animation, no confirmation screen. */
.aw .aw-timetable{flex:none;min-width:0;border:2px solid #10100e;border-radius:12px;background:#252b28;color:#fff8e5;padding:7px 10px;box-shadow:2px 3px 0 #10100e}
.aw .aw-timetable-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px;font:700 10px/1.1 'DM Sans',sans-serif;color:#ffda32;letter-spacing:.06em}
.aw .aw-timetable-top b{white-space:nowrap;font-variant-numeric:tabular-nums}
.aw .aw-flap-name{font:700 clamp(14px,3.9vw,19px)/1.35 ui-monospace,monospace;letter-spacing:.01em;perspective:600px}
.aw .aw-flap-word{display:inline-block;white-space:nowrap}
.aw .aw-flap-letter{display:inline-block;position:relative;margin-right:1px;min-width:.64em;text-align:center;border-radius:2px;background:linear-gradient(#151b18 49%,#4b514b 49%,#4b514b 52%,#1d231f 52%);transform-origin:center}
.aw .aw-timetable small{display:block;font:400 9px/1.2 'DM Sans',sans-serif;opacity:.7;margin-top:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.aw .aw-arrival{display:grid;grid-template-columns:1.1fr 1fr;gap:8px;flex:1;min-height:100px}
.aw .aw-arrival .aw-scene{max-height:none;min-height:0!important;height:100%}
.aw .aw-arrival .aw-map-wrap{min-height:0!important;height:100%}
.aw .aw-arrival .aw-location,.aw .aw-arrival .aw-club-badge{display:none}
.aw .aw-arrival .aw-actors{left:2%;right:2%;height:75%;gap:0}
.aw--away_travel .aw-map{pointer-events:none}
.aw--away_travel .aw-map-wrap::after{content:'Nächster Halt …';position:absolute;inset:0;display:grid;place-items:center;background:#fff8e54d;font:400 27px 'KK Head',sans-serif;pointer-events:none}
@media(max-height:700px){.aw .aw-timetable{padding:5px 8px}.aw .aw-flap-name{font-size:13px}.aw .aw-timetable-top{font-size:9px;margin-bottom:3px}.aw .aw-arrival{min-height:80px}.aw--away_reveal .aw-verdict{padding:6px 9px}.aw--away_reveal .aw-verdict h2{font-size:25px}.aw--away_reveal .aw-rank-row{min-height:29px}.aw--away_intro .aw-welcome p{display:none}}
@media(prefers-reduced-motion:reduce){.aw .is-flipping .aw-flap-letter{animation:none!important}}

/* Five sealed tips followed by one continuous shared route reveal. */
.aw .aw-tickets{display:flex;flex:none;justify-content:center;gap:7px}
.aw .aw-tickets>span{min-width:32px;padding:4px 8px;border:1.5px dashed #10100e;border-radius:4px;background:#fff8e5;text-align:center;font:400 19px/1 'KK Head',sans-serif}
.aw .aw-tickets .is-done,.aw--away_waiting .aw-tickets>span{background:#ffda32}
.aw .aw-tickets .is-current{border-style:solid;background:#ffda32;box-shadow:1px 2px 0 #10100e}
.aw .aw-player-progress{font-size:10px;font-weight:700;border-radius:8px;background:#fff8e5;padding:2px 5px}
.aw .aw-route-legend{font-size:10px;flex:none;text-align:center;color:#625e50}
.aw .aw-finale-stop{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:3px 12px;padding:9px 12px;background:#fff8e5;border:2px solid #10100e;border-radius:12px;flex:none;box-shadow:2px 3px 0 #10100e}
.aw .aw-finale-stop>span{grid-row:1/3;font:400 24px 'KK Head',sans-serif}
.aw .aw-finale-stop>b{font:400 34px/1 'KK Head',sans-serif;color:#c43b30}
.aw .aw-finale-stop small{font-size:10px}
.aw .aw-stadium-pass{flex:none;border:2px solid #10100e;border-radius:12px;overflow:hidden;background:#fff8e5}
.aw .aw-stadium-pass h3{margin:0;padding:7px 10px;background:#213b2d;color:#fff8e5;text-align:center;font:400 22px/1 'KK Head',sans-serif}
.aw .aw-stadium-pass>div{display:flex;gap:10px;padding:6px 10px;border-bottom:1px solid #d9d0b8;font-size:13px;align-items:center}
.aw .aw-stadium-pass i{font-style:normal;color:#447144;font-weight:800}
.aw .aw-stadium-pass>div span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aw .aw-stadium-pass footer{display:flex;gap:12px;align-items:center;padding:10px;background:#ffda32}
.aw .aw-stadium-pass footer b{font:400 35px/1 'KK Head',sans-serif}.aw .aw-stadium-pass footer span{font-size:12px}
.aw .aw-pass-title{flex:none;text-align:center}.aw .aw-pass-title h2{font:400 31px/1 'KK Head',sans-serif!important}.aw .aw-pass-title span{font-size:12px}
.aw--away_waiting .aw-crew{margin-block:10px}.aw--away_waiting .aw-scene{max-height:310px}
.aw .aw-guessed-route.is-drawing{stroke-dasharray:1;stroke-dashoffset:1;animation:aw-route-draw 1.2s ease-out forwards}
.aw--away_reveal .aw-pin,.aw--away_reveal .aw-map-symbol{animation:aw-route-pin .45s ease-out}
@keyframes aw-route-draw{to{stroke-dashoffset:0}}
@keyframes aw-route-pin{from{opacity:0}to{opacity:1}}
@media(max-height:700px){.aw .aw-stadium-pass>div{padding:4px 8px;font-size:11px}.aw .aw-stadium-pass h3{padding:5px;font-size:19px}.aw .aw-stadium-pass footer{padding:6px 9px}.aw .aw-stadium-pass footer b{font-size:28px}.aw .aw-pass-title h2{font-size:25px!important}.aw--result .aw-rank-row{min-height:28px!important}.aw .aw-finale-stop>b{font-size:28px}.aw .aw-tickets>span{padding:3px 7px;font-size:17px}.aw .aw-tickets{gap:5px}}
@media(prefers-reduced-motion:reduce){.aw .aw-guessed-route.is-drawing{stroke-dashoffset:0;animation:none}.aw .aw-map-symbol{animation:none!important}}
.aw .aw-stop-photo{display:block;width:80px;height:53px;border:1px solid #10100e;border-radius:6px;overflow:hidden;background-size:cover;background-position:center}
.aw .aw-stop-photo img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-height:700px){.aw--away_playing .aw-map-wrap,.aw--away_travel .aw-map-wrap{min-height:100px!important}.aw .aw-stop-photo{width:64px;height:43px}}

/* Mechanical split-flap leaves; fixed layout and a stable accessible target label. */
.aw .aw-timetable .aw-flap-letter{height:1.35em;line-height:1.35em;vertical-align:bottom;perspective:180px;overflow:visible;animation:none!important}
.aw .aw-flap-static{visibility:hidden}
.aw .aw-flap-half{position:absolute;left:0;right:0;height:50%;overflow:hidden;backface-visibility:hidden;pointer-events:none;background:#18201b;color:#fff8e5;text-shadow:0 1px #000}
.aw .aw-flap-half>span{display:block;height:1.35em;line-height:1.35em}
.aw .aw-flap-top,.aw .aw-flap-front{top:0;transform-origin:center bottom;border-bottom:1px solid #080d09;border-radius:2px 2px 0 0}
.aw .aw-flap-bottom,.aw .aw-flap-back{bottom:0;transform-origin:center top;background:#222b24;border-top:1px solid #4d564c;border-radius:0 0 2px 2px}
.aw .aw-flap-bottom>span,.aw .aw-flap-back>span{transform:translateY(-50%)}
.aw .aw-flap-front{visibility:hidden;z-index:3}.aw .aw-flap-back{transform:rotateX(0);z-index:2}
.aw .is-cycling .aw-flap-front{visibility:visible;animation:aw-leaf-front 240ms linear both}
.aw .is-cycling .aw-flap-back{animation:aw-leaf-back 240ms linear both}
@keyframes aw-leaf-front{0%{transform:rotateX(0);filter:brightness(1)}49%,100%{transform:rotateX(-90deg);filter:brightness(.3)}}
@keyframes aw-leaf-back{0%,49%{transform:rotateX(90deg);filter:brightness(.3)}85%{transform:rotateX(-9deg);filter:brightness(1.15)}100%{transform:rotateX(0);filter:brightness(1)}}
.aw .aw-loupe text,.aw .aw-loupe .aw-city-detail,.aw .aw-loupe .aw-map-marks{display:none!important}
@media(prefers-reduced-motion:reduce){.aw .aw-flap-front{display:none}.aw .aw-flap-back{animation:none!important;transform:none!important}.aw .aw-flap-half{filter:none!important}}

.aw .is-cycling[data-cycle="0"] .aw-flap-front{animation-name:aw-leaf-front-alt}
.aw .is-cycling[data-cycle="0"] .aw-flap-back{animation-name:aw-leaf-back-alt}
@keyframes aw-leaf-front-alt{0%{transform:rotateX(0);filter:brightness(1)}49%,100%{transform:rotateX(-90deg);filter:brightness(.3)}}
@keyframes aw-leaf-back-alt{0%,49%{transform:rotateX(90deg);filter:brightness(.3)}85%{transform:rotateX(-9deg);filter:brightness(1.15)}100%{transform:rotateX(0);filter:brightness(1)}}

/* Shared finale: one slow journey per stop, then the real stadium and distance. */
.aw .aw-bus-leg{stroke-linecap:round;opacity:.85}
.aw .aw-bus-symbol{transform-origin:0 0;pointer-events:none}
.aw .aw-bus-art{filter:drop-shadow(0 1px 0 #10100e66)}
.aw .aw-bus-number{font:800 9px "DM Sans",sans-serif;fill:#10100e}
.aw .aw-bus-tether{vector-effect:non-scaling-stroke}
.aw .aw-current-solution{opacity:0;visibility:hidden}
.aw.is-arrived .aw-current-solution{opacity:1;visibility:visible;transition:opacity .6s ease-out}
.aw .aw-finale-crew{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;flex:none}
.aw .aw-finale-crew>div{display:flex;gap:5px;align-items:center;min-width:0;border:1px solid #bab29c;border-radius:7px;padding:5px 7px;background:#fff8e5;font-size:11px}
.aw .aw-finale-crew i{flex:none;display:grid;place-items:center;width:18px;height:18px;border:1px solid #10100e;border-radius:5px;background:var(--aw-color);font-style:normal;font-weight:800}
.aw .aw-finale-crew span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.aw .aw-finale-crew b{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:10px}
.aw--away_reveal .aw-finale-stop>b{font-size:26px}
.aw--away_reveal:not(.is-arrived) .aw-finale-stop>b{color:#10100e}
.aw--away_reveal:not(.is-arrived) .aw-stop-photo{position:relative;background-image:none!important;background:#b5dcf2}
.aw--away_reveal:not(.is-arrived) .aw-stop-photo img{visibility:hidden}
.aw--away_reveal:not(.is-arrived) .aw-stop-photo::after{content:'?';position:absolute;inset:0;display:grid;place-items:center;font:400 34px 'KK Head',sans-serif}
.aw--away_reveal.is-arrived .aw-finale-stop{background:#ffda32;transition:background .6s}
.aw--away_reveal .aw-route-legend{min-height:14px}
@media(max-height:700px){.aw--away_reveal .aw-map-wrap{min-height:100px}.aw--away_reveal .aw-finale-stop{padding:6px 9px}.aw--away_reveal .aw-finale-stop>b{font-size:23px}.aw .aw-finale-crew>div{padding:3px 5px}.aw .aw-finale-crew{gap:3px}}
@media(prefers-reduced-motion:reduce){.aw.is-arrived .aw-current-solution,.aw--away_reveal.is-arrived .aw-finale-stop{transition:none}}

/* Three shared reveal beats. Every beat occupies the exact same mobile grid. */
body.in-match #game-stage#game-stage#game-stage .panel.aw[data-finale-version="2"] { gap: 9px; overflow: hidden; }
.aw[data-finale-version="2"] .aw-header .aw-edition { transform: none; min-width: 48px; text-align: center; border-radius: 9px; font: 750 14px/1.1 -apple-system, sans-serif; }
.aw[data-finale-version="2"] .aw-timetable { flex: none; }
.aw[data-finale-version="2"] .aw-timetable > small { display: none; }
.aw[data-finale-version="2"] .aw-map-wrap { flex: 1 1 0; min-height: 120px !important; }
.aw[data-finale-version="2"] .aw-map-info { width: 30px; height: 30px; font-size: 15px; opacity: .85; }
.aw[data-finale-version="2"] .aw-route-legend { flex: none; height: 18px; margin: 0; font: 400 18px/1 "KK Head", Bangers, sans-serif; color: #10100e; text-align: center; }
.aw[data-finale-version="2"] .aw-finale-highlight { flex: none; position: relative; height: 104px; border: 2px solid #10100e; border-radius: 15px; background: #ffda32; box-shadow: 2px 3px 0 #10100e; }
.aw[data-finale-version="2"][data-finale-phase="reveal"] .aw-finale-highlight { background: #fff8e5; }
.aw[data-finale-version="2"] :is(.aw-finale-destination, .aw-finale-result) { display: none; }
.aw[data-finale-version="2"][data-finale-phase="reveal"] .aw-finale-destination { display: flex; }
.aw[data-finale-version="2"].is-result .aw-finale-result { display: grid; }
.aw[data-finale-version="2"] .aw-finale-destination { align-items: center; gap: 12px; height: 100%; padding: 9px; }
.aw[data-finale-version="2"] .aw-reveal-photo { display: block; flex: none; width: 100px; height: 76px; overflow: hidden; border: 1px solid #10100e; border-radius: 8px; }
.aw[data-finale-version="2"] .aw-reveal-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.aw[data-finale-version="2"] .aw-finale-destination > div { min-width: 0; }
.aw[data-finale-version="2"] .aw-finale-destination b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font: 400 clamp(17px, 5vw, 23px)/1.05 "KK Head", Bangers, sans-serif; }
.aw[data-finale-version="2"] .aw-finale-destination small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 5px; font: 600 11px/1.2 -apple-system, sans-serif; }
.aw[data-finale-version="2"] .aw-finale-result { position: relative; grid-template-columns: 62px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; align-items: center; gap: 3px 10px; height: 100%; padding: 12px 10px 7px; }
.aw[data-finale-version="2"] .aw-finale-stamp { position: absolute; top: -9px; left: 11px; padding: 3px 8px; border: 1.5px solid #10100e; border-radius: 4px; background: #b5dcf2; font: 400 15px/1 "KK Head", Bangers, sans-serif; transform: rotate(-3deg); }
.aw[data-finale-version="2"] .aw-finale-best-bus { width: 62px; height: 34px; object-fit: contain; }
.aw[data-finale-version="2"] .aw-finale-value { display: block; font: 400 38px/.95 "KK Head", Bangers, sans-serif; font-variant-numeric: tabular-nums; }
.aw[data-finale-version="2"] .aw-finale-result small { display: block; margin-top: 2px; font: 650 11px/1.15 -apple-system, sans-serif; overflow-wrap: anywhere; }
.aw[data-finale-version="2"] .aw-finale-narrative { grid-column: 1 / -1; min-width: 0; padding-top: 3px; border-top: 1px solid #10100e45; text-align: center; font: 650 11px/1.15 -apple-system, sans-serif; }
.aw[data-finale-version="2"] .aw-finale-crew { flex: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.aw[data-finale-version="2"] .aw-finale-player { display: flex; align-items: center; gap: 6px; min-width: 0; height: 55px; padding: 6px 7px; border: 1.5px solid #10100e; border-radius: 11px; background: #fff8e5; font-family: -apple-system, sans-serif; }
.aw[data-finale-version="2"] .aw-finale-player.is-best { border-color: #a68800; background: #fff4a8; box-shadow: inset 0 0 0 1px #ffda32; }
.aw[data-finale-version="2"] .aw-finale-face { flex: none; display: block; width: 29px; height: 29px; border-radius: 50%; }
.aw[data-finale-version="2"] .aw-finale-face > .kk-avatar { width: 100%; height: 100%; background: var(--aw-color) !important; }
.aw[data-finale-version="2"] .aw-finale-player-copy { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.aw[data-finale-version="2"] .aw-finale-player-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 750; }
.aw[data-finale-version="2"] .aw-finale-player-copy > b { white-space: normal; font-size: 12px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.aw[data-finale-version="2"] .aw-finale-player-bus { flex: none; width: 34px; height: 18px; object-fit: contain; }
.aw[data-finale-version="2"] .aw-finale-crew[data-player-count="1"] > div { grid-column: 1 / -1; }
.aw[data-finale-version="2"] .aw-finale-footer { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; }
.aw[data-finale-version="2"] .aw-tickets { position: relative; gap: 6px; }
.aw[data-finale-version="2"] .aw-tickets::before { content: ''; position: absolute; top: 50%; left: 12px; right: 12px; height: 1.5px; background: #10100e; }
.aw[data-finale-version="2"] .aw-tickets > span { position: relative; display: grid; place-items: center; width: 24px; height: 24px; min-width: 24px; margin: 0; padding: 0; border: 1.5px solid #10100e; border-radius: 50%; background: #fff8e5; font: 400 17px/1 "KK Head", Bangers, sans-serif; box-shadow: none; }
.aw[data-finale-version="2"] .aw-tickets > .is-done { background: #b4dc8c; }
.aw[data-finale-version="2"] .aw-tickets > .is-current { background: #ffda32; }
.aw[data-finale-version="2"] .aw-finale-next { flex: 1; max-width: 155px; min-width: 0; opacity: 0; font: 400 12px/1.1 "KK Head", Bangers, sans-serif; text-align: center; }
.aw[data-finale-version="2"].is-result .aw-finale-next { opacity: 1; }
.aw[data-finale-version="2"] .aw-finale-meter { height: 7px; margin-top: 4px; overflow: hidden; border: 1px solid #10100e; border-radius: 5px; background: #fff8e5; }
.aw[data-finale-version="2"] .aw-finale-meter i { display: block; height: 100%; width: 100%; border-radius: inherit; background: #79cbe4; }
.aw[data-finale-version="2"] .aw-past-solution { opacity: .28; }
.aw[data-finale-version="2"] .aw-bus-crown { opacity: 0; }
.aw[data-finale-version="2"].is-result .aw-bus-crown { opacity: 1; }
.aw[data-finale-version="2"].is-arrived .aw-current-solution > g > .aw-map-symbol { animation: aw-stadium-pop 450ms cubic-bezier(.22, .7, .2, 1) both; }
@keyframes aw-stadium-pop { from { opacity: 0; transform: scale(.6); } 70% { opacity: 1; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
@media (max-height: 700px) {
 body.in-match #game-stage#game-stage#game-stage .panel.aw[data-finale-version="2"] { gap: 6px; padding-top: 10px; padding-bottom: max(10px, env(safe-area-inset-bottom, 0px)); }
 .aw[data-finale-version="2"] .aw-map-wrap { min-height: 100px !important; }
 .aw[data-finale-version="2"] .aw-finale-highlight { height: 88px; }
 .aw[data-finale-version="2"] .aw-reveal-photo { width: 80px; height: 62px; }
 .aw[data-finale-version="2"] .aw-finale-player { height: 47px; padding: 4px 6px; gap: 4px; }
 .aw[data-finale-version="2"] .aw-finale-face { width: 25px; height: 25px; }
 .aw[data-finale-version="2"] .aw-finale-player-bus { width: 28px; }
 .aw[data-finale-version="2"] .aw-finale-value { font-size: 32px; }
 .aw[data-finale-version="2"] .aw-finale-result { padding-top: 10px; gap: 2px 8px; }
 .aw[data-finale-version="2"] .aw-finale-stamp { font-size: 13px; }
 .aw[data-finale-version="2"] .aw-finale-result small, .aw[data-finale-version="2"] .aw-finale-narrative { font-size: 10px; }
}
@media (max-width: 359px) {
 .aw[data-finale-version="2"] .aw-finale-player-bus { width: 24px; }
 .aw[data-finale-version="2"] .aw-finale-player-name { font-size: 10px; }
 .aw[data-finale-version="2"] .aw-finale-player-copy > b { font-size: 11px; }
 .aw[data-finale-version="2"] .aw-tickets { gap: 4px; }
 .aw[data-finale-version="2"] .aw-tickets > span { width: 22px; height: 22px; min-width: 22px; }
}
@media (prefers-reduced-motion: reduce) {
 .aw[data-finale-version="2"] .aw-current-solution, .aw[data-finale-version="2"] .aw-map-symbol { animation: none !important; transition: none !important; }
 .aw[data-finale-version="2"] .aw-finale-stamp { transform: none; }
}

/* One-screen visual introduction; the map is a fixed, clearly labeled example. */
.aw--away_intro .aw-welcome h2{font-size:clamp(21px,6vw,29px)!important;line-height:1.05}
.aw--away_intro .aw-welcome p{display:block;font-size:12px;margin-top:4px}
.aw .aw-demo{position:relative;flex:1 1 300px;min-height:150px;overflow:hidden;background:#e1eef0;border:1.5px solid #10100e;border-radius:16px;box-shadow:3px 4px 0 #10100e}
.aw .aw-demo-map{position:absolute;inset:21px 4px 32px;width:calc(100% - 8px);height:calc(100% - 53px);overflow:visible;pointer-events:none}
.aw .aw-demo-badge{position:absolute;left:10px;top:9px;z-index:1;background:#ffda32;border:1px solid #10100e;border-radius:7px;box-shadow:1px 2px 0 #10100e;padding:4px 8px;font:400 16px/1 'KK Head',sans-serif}
.aw .aw-demo-error{position:absolute;right:10px;top:9px;z-index:1;background:#fff8e5;color:#c5352a;border:1px solid #c5352a;border-radius:7px;padding:4px 7px;font-size:11px;font-weight:800;opacity:0;transition:opacity .35s}
.aw .aw-demo-symbol{transform:scale(var(--aw-demo-scale,1));transform-origin:0 0}
.aw .aw-demo-pin{opacity:0;transition:opacity .25s}
.aw .aw-demo-pin text{font:400 17px 'KK Head',sans-serif;fill:#10100e}
.aw .aw-demo-route-mask{stroke-dasharray:1;stroke-dashoffset:1}

.aw .aw-demo-solution{opacity:0;visibility:hidden;transition:opacity .35s}
.aw .aw-demo-bus{opacity:0}
.aw[data-demo-phase="3"] .aw-demo-solution{opacity:1;visibility:visible}
.aw[data-demo-phase="3"] .aw-demo-error{opacity:1}
.aw .aw-demo-legend{position:absolute;bottom:9px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:0;white-space:nowrap;background:#fff8e5;border:1px solid #10100e;border-radius:8px;max-width:calc(100% - 20px)}
.aw .aw-demo-legend span{display:flex;align-items:center;gap:5px;padding:4px 9px;font-size:10px;font-style:italic;font-weight:800}
.aw .aw-demo-legend span+span{border-left:1px solid #bdb59f}
.aw .aw-demo-legend svg{display:block;width:13px;height:16px}
.aw .aw-demo-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;margin:0;list-style:none;border:1.5px solid #10100e;border-radius:11px;overflow:hidden;background:#fff8e5;flex:none}
.aw .aw-demo-steps li{display:flex;gap:6px;align-items:center;padding:8px 6px;min-width:0;font-size:11px;font-weight:700;line-height:1.15;transition:background .3s}
.aw .aw-demo-steps li+li{border-left:1px solid #bdb59f}
.aw .aw-demo-steps li[aria-current]{background:#b5dcf2}
.aw .aw-demo-steps svg{flex:none;width:24px;height:28px}
.aw--away_intro .aw-ready{margin-top:0}
@media(max-height:700px){.aw--away_intro .aw-welcome h2{font-size:21px!important}.aw--away_intro .aw-welcome p{display:block;font-size:10px;margin-top:3px}.aw .aw-demo{min-height:130px}.aw .aw-demo-steps li{padding:6px 5px;font-size:10px;gap:4px}.aw .aw-demo-steps svg{width:20px;height:24px}.aw .aw-demo-badge{font-size:14px}.aw .aw-demo-error{font-size:10px}.aw .aw-demo-legend span{font-size:9px;padding:3px 8px}}
@media(prefers-reduced-motion:reduce){.aw .aw-demo-pin,.aw .aw-demo-solution,.aw .aw-demo-error,.aw .aw-demo-steps li{transition:none}}


/* The tutorial owns its example board; the actual target starts with the game. */
.aw .aw-demo-board{position:absolute;top:8px;left:8px;right:8px;z-index:2}
.aw .aw-demo-board .aw-timetable{margin:0;padding:7px 10px;box-shadow:2px 3px 0 #10100e}
.aw .aw-demo-board .aw-timetable small{display:none}
.aw .aw-demo-map{inset:76px 14px 34px;width:calc(100% - 28px);height:calc(100% - 110px)}
.aw .aw-demo-error{top:auto;bottom:42px}
@media(max-height:700px){.aw .aw-demo-map{inset:60px 12px 29px;width:calc(100% - 24px);height:calc(100% - 89px)}.aw .aw-demo-board .aw-timetable{padding:5px 8px}}

/* Compact city clues: the board owns the question; the map owns the canvas. */
.aw--away_playing,.aw--away_travel{min-height:0!important;overflow:hidden!important}
.aw .aw-stop-clock{display:grid;justify-items:center;gap:4px;min-width:54px}
.aw .aw-stop-clock .aw-edition{transform:none;min-width:50px;text-align:center;font:800 14px/1.1 'DM Sans',sans-serif;border-radius:8px}
.aw .aw-header-time{font:800 13px/1 'DM Sans',sans-serif;font-variant-numeric:tabular-nums}
.aw .aw-question-board{flex:none;padding:8px 12px 11px;margin:0;min-height:0}
.aw .aw-question-year{display:block;color:#ffda32;font:400 18px/1 'KK Head',sans-serif;margin-bottom:7px}
.aw .aw-question-board h2{margin:0!important;color:#fff8e5!important;font:750 clamp(17px,4.8vw,22px)/1.2 'DM Sans',sans-serif!important;letter-spacing:0!important;text-transform:none!important;text-wrap:pretty;overflow-wrap:anywhere}
.aw--away_playing .aw-map-wrap,.aw--away_travel .aw-map-wrap{flex:1 1 0;min-height:0!important;margin:0;max-height:none}
.aw--away_playing .aw-map-helper,.aw--away_travel .aw-map-helper{display:none}
.aw--away_playing .aw-submit-wrap,.aw--away_travel .aw-submit-wrap{flex:none;margin:0}
.aw .aw-event-pin{display:grid;place-items:center;flex:none;width:54px;height:64px}
.aw .aw-event-pin svg{width:38px;height:46px}
.aw .aw-event-explanation{display:block;font:600 10px/1.2 'DM Sans',sans-serif;margin-top:3px}
.aw .aw-city-board .aw-flap-name{font-size:clamp(18px,5.8vw,26px);white-space:normal;overflow-wrap:anywhere;line-height:1.1}
@media(max-height:700px){.aw .aw-question-board{padding:6px 9px 8px}.aw .aw-question-board h2{font-size:16px!important;line-height:1.16!important}.aw .aw-question-year{font-size:15px;margin-bottom:5px}.aw .aw-stop-clock{gap:3px}.aw .aw-header-time{font-size:12px}.aw .aw-event-explanation{font-size:9px}.aw .aw-finale-destination small{font-size:10px;line-height:1.2}}

.aw.aw-has-event .aw-finale-value{font-size:32px}
.aw.aw-has-event .aw-finale-result{padding-top:10px;padding-bottom:6px;gap:2px 8px}
.aw.aw-has-event .aw-finale-result small{font-size:10px;line-height:1.1;margin-top:1px}
.aw.aw-has-event .aw-event-explanation{margin-top:2px;font-size:10px;line-height:1.15}
.aw.aw-has-event .aw-finale-destination small{-webkit-line-clamp:3}
@media(max-height:700px){.aw.aw-has-event .aw-finale-value{font-size:26px}.aw.aw-has-event .aw-finale-result{padding:8px 8px 5px;gap:1px 7px}.aw.aw-has-event .aw-event-explanation{font-size:9px;line-height:1.1}.aw.aw-has-event .aw-finale-result small,.aw.aw-has-event .aw-finale-narrative{font-size:9px}}

.aw .aw-city-board .aw-flap-name{text-transform:uppercase}

/* Shared reveal v3: persistent 2×2 scorecards; the reclaimed result-card space belongs to the map. */
body.in-match #game-stage#game-stage#game-stage .panel.aw[data-finale-version="3"]{gap:8px;min-height:0;overflow:hidden}
.aw[data-finale-version="3"] .aw-header .aw-edition{transform:none;min-width:48px;text-align:center;border-radius:9px;font:750 14px/1.1 'DM Sans',sans-serif}
.aw[data-finale-version="3"] .aw-map-wrap{flex:1 1 0;min-height:160px!important}
.aw[data-finale-version="3"] .aw-map-info{display:none}
.aw[data-finale-version="3"] .aw-bus-leg{opacity:.3}
.aw[data-finale-version="3"] .aw-scoreboard{flex:none;min-width:0}
.aw[data-finale-version="3"] .aw-scoreboard>h2{margin:0 0 7px!important;font:400 18px/1 'KK Head',sans-serif!important;color:#10100e!important;letter-spacing:0!important}
.aw[data-finale-version="3"] .aw-finale-crew{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.aw[data-finale-version="3"] .aw-finale-player{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:3px 8px;height:83px;min-width:0;padding:7px 8px;border:1.5px solid #10100e;border-radius:12px;background:var(--aw-tint);overflow:visible;align-items:center}
.aw[data-finale-version="3"] .aw-finale-face{width:34px;height:34px;display:block;flex:none;border-radius:50%;overflow:hidden}
.aw[data-finale-version="3"] .aw-finale-face>.kk-avatar{width:100%;height:100%;background:var(--aw-color)!important}
.aw[data-finale-version="3"] .aw-player-number{position:absolute;left:4px;top:3px;display:grid;place-items:center;width:14px;height:14px;border:1px solid #10100e;border-radius:50%;background:var(--aw-color);font-size:9px;font-weight:800;z-index:1}
.aw[data-finale-version="3"] .aw-finale-player-copy{display:flex;flex-direction:column;gap:1px;min-width:0}
.aw[data-finale-version="3"] .aw-finale-player-name{font-size:12px;font-weight:750;line-height:1.15;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.aw[data-finale-version="3"] .aw-finale-player-copy>b{font:400 27px/1 'KK Head',sans-serif;white-space:nowrap;font-variant-numeric:tabular-nums}
.aw[data-finale-version="3"] .aw-finale-total{grid-column:1/-1;display:flex;justify-content:space-between;gap:4px;align-items:center;border-top:1px solid #10100e30;padding-top:3px;font-size:11px;font-weight:650;line-height:1.2;white-space:nowrap;overflow:visible}
.aw[data-finale-version="3"] .aw-finale-total>span:last-child{flex:none}
.aw[data-finale-version="3"] .aw-finale-total b{font:inherit;font-weight:800}
.aw[data-finale-version="3"] .aw-finale-leader{visibility:hidden;flex:none;width:17px;height:13px;overflow:visible}
.aw[data-finale-version="3"] .aw-finale-leader .aw-crown{position:static;width:17px;height:13px;transform:none;display:block}
.aw[data-finale-version="3"] .is-leader .aw-finale-leader{visibility:visible}
.aw[data-finale-version="3"] .aw-finale-player.is-best{background:#ffda32;box-shadow:inset 0 0 0 1px #a68a00}
.aw[data-finale-version="3"] .aw-player-stamp{display:none;position:absolute;top:-9px;left:8px;flex:none;padding:2px 5px;border:1px solid #10100e;border-radius:3px;background:#b5dcf2;font:400 12px/1 'KK Head',sans-serif;transform:rotate(-3deg);overflow:visible;z-index:2}
.aw[data-finale-version="3"] .is-best .aw-player-stamp{display:block}
.aw[data-finale-version="3"] .aw-finale-crew[data-player-count="1"]>.aw-finale-player{grid-column:1/-1}
.aw[data-finale-version="3"] .aw-finale-footer{display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;min-height:28px}
.aw[data-finale-version="3"] .aw-tickets{gap:5px;flex:none}
.aw[data-finale-version="3"] .aw-tickets>span{width:23px;height:23px;min-width:23px;margin:0;padding:0;display:grid;place-items:center;border-radius:50%;font-size:16px;box-shadow:none}
.aw[data-finale-version="3"] .aw-finale-next{flex:1;min-width:0;text-align:center;font:400 12px/1.15 'KK Head',sans-serif}
.aw[data-finale-version="3"] .aw-finale-meter{height:5px;margin-top:3px;border:1px solid #10100e;border-radius:5px;overflow:hidden;background:#fff8e5}
.aw[data-finale-version="3"] .aw-finale-meter>i{display:block;height:100%;width:100%;background:#69bde4}
.aw[data-finale-version="3"] .aw-finale-opening{position:absolute;inset:0;display:none;flex-direction:column;align-items:center;justify-content:center;gap:7px;background:#f3ecd4e8;z-index:3;text-align:center}
.aw[data-finale-version="3"].is-opening .aw-finale-opening{display:flex}
.aw[data-finale-version="3"] .aw-finale-opening>b{font:400 42px/1 'KK Head',sans-serif}
.aw[data-finale-version="3"] .aw-finale-opening>span:last-child{font-size:15px;font-weight:650}
.aw[data-finale-version="3"] .aw-opening-faces{display:flex;gap:8px;margin-bottom:8px}
.aw[data-finale-version="3"] .aw-opening-faces>span{display:block;width:42px;height:42px}
.aw[data-finale-version="3"] .aw-opening-faces .kk-avatar{width:100%;height:100%;background:var(--aw-color)!important}
@media(max-height:700px){
 body.in-match #game-stage#game-stage#game-stage .panel.aw[data-finale-version="3"]{gap:6px;padding-top:calc(var(--aw-safe-top) + 10px);padding-bottom:max(10px,env(safe-area-inset-bottom,0px))}
 .aw[data-finale-version="3"] .aw-finale-player{height:65px;grid-template-columns:27px minmax(0,1fr);padding:5px 6px;gap:2px 6px;border-radius:10px}
 .aw[data-finale-version="3"] .aw-finale-face{width:27px;height:27px}
 .aw[data-finale-version="3"] .aw-finale-player-copy>b{font-size:22px}
 .aw[data-finale-version="3"] .aw-finale-player-name{font-size:11px}
 .aw[data-finale-version="3"] .aw-finale-total{font-size:10px;padding-top:2px}
 .aw[data-finale-version="3"] .aw-scoreboard>h2{font-size:15px!important;margin-bottom:6px!important}
 .aw[data-finale-version="3"] .aw-finale-crew{gap:6px}
 .aw[data-finale-version="3"] .aw-player-stamp{font-size:10px;top:-7px;left:6px}
 .aw[data-finale-version="3"] .aw-finale-footer{gap:8px;min-height:25px}
 .aw[data-finale-version="3"] .aw-finale-next{font-size:11px}
 .aw[data-finale-version="3"] .aw-tickets{gap:4px}
 .aw[data-finale-version="3"] .aw-tickets>span{width:21px;height:21px;min-width:21px;font-size:15px}
}
@media(prefers-reduced-motion:reduce){.aw[data-finale-version="3"] .aw-current-solution,.aw[data-finale-version="3"] .aw-map-symbol{animation:none!important;transition:none!important}.aw[data-finale-version="3"] .aw-player-stamp{transform:none}}

@media(max-height:600px){body.in-match #game-stage#game-stage#game-stage .panel.aw[data-finale-version="3"]{gap:5px}.aw[data-finale-version="3"] .aw-finale-player{height:60px}.aw[data-finale-version="3"] .aw-finale-total{padding-top:1px}}

/* A single tour canvas: the question arrives only when the reveal starts. */
.aw .aw-question-slot{flex:none;display:grid;grid-template-rows:0fr;opacity:0;transform:translateY(-10px);transition:grid-template-rows .45s ease,opacity .3s ease,transform .45s ease}
.aw .aw-question-clip{min-height:0;overflow:hidden;padding-right:3px;padding-bottom:4px;margin-right:-3px;margin-bottom:-4px}
.aw.is-board-visible .aw-question-slot{grid-template-rows:1fr;opacity:1;transform:none}
.aw .aw-question-enter{animation:aw-question-enter .4s ease both}
@keyframes aw-question-enter{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
.aw .aw-route-history{opacity:.65;stroke-linecap:round;pointer-events:none}
.aw .aw-past-solution{opacity:.65;pointer-events:none}
/* The tour winner takes priority over the detailed tourpass. */
body.in-match #game-stage#game-stage#game-stage .aw.aw-tour-finish{gap:8px}
.aw-tour-finish .aw-map-wrap{flex:1 1 0;min-height:130px!important}
.aw-tour-finish .aw-map-info{display:none}
.aw .aw-tour-winner{position:relative;flex:none;padding:10px 12px;border:2px solid #10100e;border-radius:15px;background:#ffda32;box-shadow:3px 4px 0 #10100e;overflow:hidden;animation:aw-winner-arrive .6s cubic-bezier(.22,.7,.2,1) both}
.aw .aw-tour-winner-label{display:flex;align-items:center;justify-content:center;gap:7px;font:400 23px/1 'KK Head',sans-serif}
.aw .aw-tour-winner-label>.aw-crown{position:static;display:block;transform:none;width:25px;height:20px}
.aw .aw-tour-winner-people{display:flex;align-items:center;justify-content:center;gap:12px;margin:6px 0}
.aw .aw-tour-winner-person{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0}
.aw .aw-tour-winner-face{display:block;flex:none;width:49px;height:49px}
.aw .aw-tour-winner-face>.kk-avatar{width:100%;height:100%}
.aw .aw-tour-winner-person>strong{font:400 clamp(25px,7vw,32px)/1 'KK Head',sans-serif;overflow-wrap:anywhere;min-width:0}
.aw .aw-tour-winner-score{display:flex;justify-content:center;align-items:center;gap:12px;border-top:1px solid #10100e40;padding-top:5px}
.aw .aw-tour-winner-score>b{font:400 26px/1 'KK Head',sans-serif}
.aw .aw-tour-winner-score>span{font-size:11px;font-weight:700}
.aw .aw-tour-winner:not([data-winner-count="1"]) .aw-tour-winner-person{flex-direction:column;gap:3px;flex:1;text-align:center}
.aw .aw-tour-winner:not([data-winner-count="1"]) .aw-tour-winner-face{width:30px;height:30px}
.aw .aw-tour-winner:not([data-winner-count="1"]) .aw-tour-winner-person>strong{font:750 12px/1.2 'DM Sans',sans-serif}
.aw-tour-finish .aw-rankings{gap:4px;flex:none}
.aw-tour-finish .aw-rank-row{min-height:34px;padding:3px 8px}
.aw-tour-finish .aw-rank-row .aw-face{width:25px;height:25px}
.aw .aw-tour-actions{display:grid;grid-template-columns:1fr .8fr 1.2fr;gap:7px;flex:none}
.aw .aw-tour-actions>button{min-height:44px;padding:6px;font:400 19px/1 'KK Head',sans-serif;border-radius:10px}
.aw .aw-tour-actions>span{align-self:center;text-align:center;font-size:10px;line-height:1.2}
.aw-tour-sheet{max-height:85dvh;overflow:auto}
.aw-tour-sheet ol{padding:0;margin:15px 0;list-style:none}
.aw-tour-sheet li{display:flex;align-items:flex-start;gap:10px;padding:12px 0;border-bottom:1px solid #10100e30}
.aw-tour-sheet li>span{display:grid;place-items:center;flex:none;width:23px;height:23px;border:1px solid #10100e;border-radius:50%;background:#ffda32;font-weight:800}
.aw-tour-sheet li>div{flex:1;min-width:0}
.aw-tour-sheet li p{font-size:12px!important;line-height:1.35;margin:4px 0!important}
.aw-tour-sheet li small{font-size:11px;color:#625e50}
.aw-tour-sheet li>strong{flex:none;font-size:12px}
.aw-tour-sheet footer{display:flex;justify-content:space-between;font-size:12px}
@keyframes aw-winner-arrive{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
@media(max-height:700px){.aw .aw-tour-winner{padding:7px 10px}.aw .aw-tour-winner-face{width:35px;height:35px}.aw .aw-tour-winner-label{font-size:20px}.aw .aw-tour-winner-person>strong{font-size:25px}.aw .aw-tour-winner-people{margin:4px 0}.aw .aw-tour-winner-score>b{font-size:23px}.aw .aw-tour-winner:not([data-winner-count="1"]) .aw-tour-winner-face{width:24px;height:24px}.aw-tour-finish .aw-rank-row{min-height:30px;padding:2px 7px}.aw .aw-tour-actions>button{font-size:16px}.aw-tour-finish .aw-map-wrap{min-height:100px!important}}
@media(prefers-reduced-motion:reduce){.aw .aw-question-slot{transition:none}.aw .aw-question-enter,.aw .aw-tour-winner{animation:none!important}}

/* Keep the painted question board and map geometry fixed between reveal stops. */
.aw--away_reveal .aw-question-board h2{min-height:3.6em}
@media(max-height:700px){.aw--away_reveal .aw-question-board h2{min-height:3.48em}}

/* The new clue gets one comic entrance; it never takes space from the map. */
.aw .aw-question-board{position:relative;transform-origin:50% 0}
.aw .aw-question-cue{position:absolute;right:10px;top:6px;display:block;padding:2px 9px 3px;border:1.5px solid #10100e;border-radius:5px;background:#ffda32;color:#10100e;box-shadow:2px 2px 0 #10100e;font:400 17px/1 'KK Head',sans-serif;opacity:0;visibility:hidden;pointer-events:none;transform:rotate(-3deg) scale(.8)}
.aw .aw-question-board.is-new-question{animation:aw-question-arrival .46s cubic-bezier(.2,.8,.25,1) both;box-shadow:3px 4px 0 #ffda32}
.aw .is-new-question .aw-question-cue{visibility:visible;opacity:1;transform:rotate(-3deg);animation:aw-question-stamp .4s cubic-bezier(.2,.8,.25,1) both}
.aw .aw-question-cue::before,.aw .aw-question-cue::after{content:'';position:absolute;left:-9px;top:0;width:5px;height:2px;background:#ffda32;box-shadow:0 0 0 .5px #10100e;transform:rotate(25deg)}
.aw .aw-question-cue::after{left:auto;right:-8px;top:12px;transform:rotate(-25deg)}
.aw [data-away-submit]:active:not(:disabled){transform:translate(2px,2px);box-shadow:1px 2px 0 #10100e}
.aw [data-away-submit][aria-busy="true"]{background:#ffda32;color:#10100e}
@keyframes aw-question-arrival{0%{transform:translateY(6px) scale(.97)}60%{transform:translateY(-2px) scale(1.012)}100%{transform:none}}
@keyframes aw-question-stamp{0%{opacity:0;transform:rotate(-9deg) scale(1.3)}65%{opacity:1;transform:rotate(-2deg) scale(.96)}100%{opacity:1;transform:rotate(-3deg) scale(1)}}
@media(max-height:700px){.aw .aw-question-cue{top:4px;right:8px;font-size:15px;padding:2px 7px}}
@media(prefers-reduced-motion:reduce){.aw .aw-question-board.is-new-question,.aw .is-new-question .aw-question-cue{animation:none!important}.aw [data-away-submit]:active:not(:disabled){transform:none}}

/* A brief final spotlight gives the overall win its own moment without shrinking the map. */
dialog.aw-winner-spotlight{position:fixed;inset:0;width:100dvw;height:100dvh;max-width:none;max-height:none;margin:0;padding:calc(22px + env(safe-area-inset-top,0px)) 22px calc(22px + env(safe-area-inset-bottom,0px));border:0;border-radius:0;background:#f3ecd4;color:#10100e;overflow:auto;isolation:isolate;opacity:1;transition:opacity .28s ease,transform .28s ease}
dialog.aw-winner-spotlight[open]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px}
.aw-winner-spotlight::backdrop{background:#f3ecd4}
.aw-winner-spotlight *{box-sizing:border-box}
.aw-winner-spotlight::before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(#10100e 1px,transparent 1.5px) 50% 0/11px 11px;opacity:.12;mask-image:radial-gradient(ellipse at 50% 42%,#000,transparent 68%);pointer-events:none}
.aw-victory-card{position:relative;flex:none;width:100%;max-width:440px;padding:24px 20px 22px;text-align:center;border:3px solid #10100e;border-radius:24px;background:#ffda32;box-shadow:7px 8px 0 #10100e;animation:aw-victory-pop .6s cubic-bezier(.2,.8,.3,1) both}
.aw-victory-kicker{display:block;font:750 12px/1.2 'DM Sans',sans-serif;letter-spacing:.04em}
.aw-victory-crown{display:block;width:76px;height:58px;margin:13px auto 8px}
.aw-victory-crown>.aw-crown{position:static;width:100%;height:100%;transform:none;display:block;filter:drop-shadow(2px 3px 0 #fff8e5)}
.aw-victory-card h2{margin:0 0 18px!important;font:400 clamp(35px,10vw,49px)/1 'KK Head',sans-serif!important;color:#10100e!important;letter-spacing:0!important}
.aw-victory-people{display:flex;justify-content:center;margin-bottom:16px;gap:15px}
.aw-victory-person{display:flex;flex-direction:column;align-items:center;min-width:0;gap:10px}
.aw-victory-face{display:block;width:112px;height:112px;flex:none;filter:drop-shadow(3px 4px 0 #10100e)}
.aw-victory-face>.kk-avatar{width:100%;height:100%}
.aw-victory-person>strong{font:400 clamp(35px,11vw,56px)/1.02 'KK Head',sans-serif;overflow-wrap:anywhere;max-width:100%}
.aw-victory-card:not([data-winner-count="1"]) .aw-victory-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}
.aw-victory-card:not([data-winner-count="1"]) .aw-victory-person{gap:7px}
.aw-victory-card:not([data-winner-count="1"]) .aw-victory-face{width:76px;height:76px}
.aw-victory-card:not([data-winner-count="1"]) .aw-victory-person>strong{font-size:clamp(23px,6.5vw,30px)}
.aw-victory-result{margin:0;border-top:2px solid #10100e45;padding-top:12px;display:grid;gap:5px}
.aw-victory-result>b{font:400 48px/1 'KK Head',sans-serif}
.aw-victory-result small{font:inherit;font-size:.65em}
.aw-victory-result>span{font:750 14px/1.2 'DM Sans',sans-serif}
.aw-victory-continue{position:relative;display:flex;justify-content:center;align-items:center;gap:10px;width:100%;max-width:440px;min-height:49px;flex:none;padding:10px 12px;border:2px solid #10100e;border-radius:13px;background:#fff8e5;color:#10100e;box-shadow:3px 4px 0 #10100e;font:400 24px/1 'KK Head',sans-serif;cursor:pointer;touch-action:manipulation}
.aw-victory-continue:focus-visible{outline:3px solid #1675bf;outline-offset:4px}
.aw-victory-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1}
.aw-victory-confetti>i{position:absolute;left:var(--x);top:-30px;width:8px;height:17px;border:1px solid #10100e;background:var(--c);animation:aw-victory-confetti 2.6s calc(var(--i)*.045s) ease-out both}
dialog.aw-winner-spotlight.is-leaving{opacity:0;transform:scale(1.025)}
@keyframes aw-victory-pop{0%{opacity:0;transform:translateY(18px) scale(.88) rotate(-2deg)}65%{opacity:1;transform:translateY(-3px) scale(1.02) rotate(.5deg)}100%{opacity:1;transform:none}}
@keyframes aw-victory-confetti{0%{opacity:0;transform:translateY(0) rotate(0)}12%{opacity:1}100%{opacity:0;transform:translateY(92dvh) rotate(290deg)}}
@media(max-height:700px){dialog.aw-winner-spotlight{padding:calc(14px + env(safe-area-inset-top,0px)) 16px calc(14px + env(safe-area-inset-bottom,0px))}dialog.aw-winner-spotlight[open]{gap:16px}.aw-victory-card{padding:16px 15px;border-radius:19px;box-shadow:5px 6px 0 #10100e}.aw-victory-kicker{font-size:10px}.aw-victory-crown{width:54px;height:42px;margin:8px auto 5px}.aw-victory-card h2{font-size:35px!important;margin-bottom:12px!important}.aw-victory-people{margin-bottom:12px}.aw-victory-face{width:77px;height:77px}.aw-victory-person{gap:7px}.aw-victory-person>strong{font-size:40px}.aw-victory-card:not([data-winner-count="1"]) .aw-victory-face{width:50px;height:50px}.aw-victory-card:not([data-winner-count="1"]) .aw-victory-person>strong{font-size:23px}.aw-victory-card:not([data-winner-count="1"]) .aw-victory-people{gap:10px}.aw-victory-result{padding-top:9px}.aw-victory-result>b{font-size:37px}.aw-victory-result>span{font-size:12px}.aw-victory-continue{min-height:44px;font-size:22px}}
@media(prefers-reduced-motion:reduce){dialog.aw-winner-spotlight{transition:none}.aw-victory-card,.aw-victory-confetti>i{animation:none!important}.aw-victory-confetti{display:none}}

/* Finished humans gather at the bar; progress is shown only in the waiting room. */
.aw .aw-pub-heading{flex:none;text-align:center}.aw .aw-pub-heading h2{font:400 29px/1.05 'KK Head',sans-serif!important}.aw .aw-pub-heading p{font-size:12px;margin-top:5px}
.aw .aw-bar{container-type:inline-size;position:relative;flex:1 1 0;min-height:160px;overflow:hidden;border:2px solid #10100e;border-radius:17px;box-shadow:3px 4px 0 #10100e;background:#583d2c}
.aw-bar-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.aw .aw-bar-sign{position:absolute;top:10px;left:10px;border:1.5px solid #10100e;border-radius:5px;padding:4px 7px;background:#ffda32;box-shadow:2px 2px 0 #10100e;font:400 17px/1 'KK Head',sans-serif;transform:rotate(-2deg)}
.aw .aw-bar-people{position:absolute;inset:0 0 23px}.aw .aw-bar-seat{position:absolute;left:var(--bar-x);bottom:0;height:min(260px,92%,calc(200cqw / var(--bar-guests,4)));aspect-ratio:1;transform:translateX(-50%);pointer-events:none}
.aw .aw-bar-person{display:block;width:100%;height:100%;background-image:url('assets/groundhopper/pub/seated-atlas.v1.webp');background-size:300% 200%;background-position:var(--sprite-x) var(--sprite-y);animation:aw-bar-sit .5s cubic-bezier(.2,.8,.3,1) both;filter:drop-shadow(0 2px 0 var(--aw-color))}
.aw .aw-bar-empty{position:absolute;width:25%;height:40%;bottom:1%;left:37.5%;opacity:.8}
.aw .aw-bar-count{position:absolute;bottom:0;left:0;right:0;padding:5px;background:#252d29;color:#fff8e5;text-align:center;font:750 12px/1.2 'DM Sans',sans-serif}
.aw .aw-pub-progress{flex:none;display:grid;gap:6px}.aw .aw-pub-player{display:flex;align-items:center;gap:9px;min-height:47px;padding:5px 9px;border:1.5px solid #10100e;border-radius:11px;background:#fff8e5}.aw .aw-pub-player.is-ready{background:#e2efd8}
.aw .aw-pub-face{display:block;flex:none;width:32px;height:32px}.aw .aw-pub-face>.kk-avatar{width:100%;height:100%;background:var(--aw-color)!important}
.aw .aw-pub-player>span:nth-child(2){display:grid;gap:1px;min-width:0;flex:1}.aw .aw-pub-player b{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.aw .aw-pub-player small{font-size:8px;margin-left:5px;border:1px solid #10100e;border-radius:3px;padding:1px 3px;background:var(--aw-color)}.aw .aw-pub-player>span>span{font-size:11px;color:#5e5b4e}
.aw .aw-pub-player>i{display:flex;gap:3px;flex:none}.aw .aw-pub-player em{display:block;width:7px;height:7px;border:1px solid #10100e;border-radius:50%;background:#fff8e5}.aw .aw-pub-player em.is-done{background:var(--aw-color)}.aw .aw-pub-player em.is-current{background:#10100e}
@keyframes aw-bar-sit{from{opacity:0;transform:translateY(20px) scale(.96)}to{opacity:1;transform:none}}
@media(max-height:700px){.aw .aw-pub-heading h2{font-size:25px!important}.aw .aw-pub-heading p{font-size:11px}.aw .aw-pub-progress{gap:4px}.aw .aw-pub-player{min-height:39px;padding:3px 7px;gap:7px}.aw .aw-pub-face{width:28px;height:28px}.aw .aw-pub-player b{font-size:12px}.aw .aw-pub-player>span>span{font-size:10px}.aw .aw-bar{min-height:130px}.aw .aw-bar-sign{font-size:15px}}
@media(prefers-reduced-motion:reduce){.aw .aw-bar-person{animation:none!important}}
