:root{--ink: #e8eaed;--dim: #8b939e;--ok: #6ee7a8;--no: #6b727c;--danger: #ff8a7a;--face-body: "Tiny5", sans-serif;--text-s: 8px;--text-m: 16px;--text-l: 24px;--face-carved: "Carved", sans-serif;--carved-s: 9px;--carved-m: 18px;--carved-l: 27px;--word: #c9bd9c;--word-shade: #0b0907;--word-line: #6b5a3a;--word-off: #6b6552;--ember: #ffb04a;--rule: #5a4a30;--rule-faint: rgba(232, 220, 184, .12);--ground: rgba(11, 9, 7, .9);--carved-glow-lg: drop-shadow(0 0 2px rgba(255, 176, 80, .55)) drop-shadow(0 0 7px rgba(255, 150, 60, .3)) drop-shadow(0 0 16px rgba(226, 122, 42, .2));--carved-glow-md: drop-shadow(0 0 2px rgba(255, 176, 80, .55)) drop-shadow(0 0 5px rgba(255, 150, 60, .3)) drop-shadow(0 0 11px rgba(226, 122, 42, .2));--carved-glow-sm: drop-shadow(0 0 1px rgba(255, 176, 80, .45)) drop-shadow(0 0 3px rgba(255, 150, 60, .26)) drop-shadow(0 0 7px rgba(226, 122, 42, .16))}@font-face{font-family:Tiny5;src:url(../fonts/tiny5.woff2) format("woff2");font-display:block}@font-face{font-family:Carved;src:url(../fonts/carved.otf) format("opentype");font-display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;height:100vh;height:-webkit-fill-available;height:100dvh;overflow:hidden;overscroll-behavior:none;background:#12151a;color:var(--ink);font:var(--text-m)/20px var(--face-body);font-synthesis:none;touch-action:manipulation;user-select:none}#app{position:fixed;inset:0;height:100vh;height:-webkit-fill-available;height:100dvh}#board{position:absolute;inset:0;width:100%;height:100%;display:block}#lights{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}.strip,.bar{pointer-events:none}.strip button,.bar button{pointer-events:auto}.strip button:disabled,.bar button:disabled{pointer-events:none}.strip{position:absolute;top:0;left:0;right:0;padding:calc(env(safe-area-inset-top) + 4px) 8px 6px;display:flex;align-items:center;gap:8px;background:linear-gradient(#12151ab8,#12151a00);text-shadow:0 1px 2px #05070aee}.strip .round{color:var(--dim)}.strip .spacer{flex:1}.strip .icon{width:32px;height:32px;padding:0;display:grid;place-items:center;background:none;color:var(--ink);border:0}.strip .icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 2px #05070a) drop-shadow(0 0 3px #05070ac0)}.strip .icon.undo{color:var(--ok)}.strip .icon.quit{color:var(--danger)}.strip .icon:disabled{color:var(--no);opacity:.55}.bar{position:absolute;left:0;right:0;bottom:0;min-height:calc(env(safe-area-inset-bottom) + 52px);padding:6px 0 calc(env(safe-area-inset-bottom) + 6px) 8px;display:flex;align-items:center;gap:8px;background:linear-gradient(#12151a00,#12151ac2);text-shadow:0 1px 2px #05070aee}.bar .who{display:flex;flex-direction:column;justify-content:center;gap:1px;min-width:0;flex:1}.bar .who:last-child{margin-right:8px}.bar .who .line{display:flex;align-items:baseline;gap:6px;min-width:0;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bar .who b{flex:none}.bar .who span{color:var(--dim)}.bar .who .role{color:#9fb3c8}.bar .who .line:has(.ap){width:100%;width:round(down,100%,2px);display:grid;grid-auto-flow:column;justify-content:start;grid-template-columns:minmax(0,auto) minmax(0,auto);grid-auto-columns:max-content;column-gap:6px;overflow:visible}.bar .who .line:has(.ap) b,.bar .who .line:has(.ap) .role{min-width:0;overflow:hidden;text-overflow:ellipsis}.bar .who .ap{display:flex;gap:2px;align-self:center}.bar .who .ap .pip{width:8px;height:8px;background:var(--ok)}.bar .who .ap .pip.spent{background:none;box-shadow:inset 0 0 0 2px var(--ok)}.bar .who .wep{min-width:0;overflow:hidden;text-overflow:ellipsis}.bar .who .loot{color:#e8c86a}.bar .who .odds{color:#ff8a7a;flex:none}.bar .who .detail{min-width:0;overflow:hidden;text-overflow:ellipsis}.bar .who:has(.odds){gap:0}.bar .who .line:has(.odds){white-space:normal;align-items:flex-start;overflow:visible}.bar .who .line:has(.odds) .detail{line-height:14px;overflow:visible;text-overflow:clip}.bar .who .line:has(.odds) .odds{line-height:14px}.bar .chips{display:flex;padding:2px 0;flex:0 1 auto;min-width:0}.bar .chips{overflow-x:auto;scrollbar-width:none}.bar .chips::-webkit-scrollbar{display:none}.bar button{flex:none;min-height:40px;padding:1px 0 0 3px;text-align:left;text-align:start;white-space:nowrap}.strip button,.bar button{transition:opacity .12s ease-out}.ducked,.strip button.ducked,.bar button.ducked,.strip button:disabled.ducked,.bar button:disabled.ducked{opacity:0;pointer-events:none}@media(prefers-reduced-motion:reduce){.strip button,.bar button{transition:none}}.bar button,.screen button,.picker button.opt,.ending button,.ask .row button{--word-drop: 1px 2px;margin:0;border:0;border-radius:0;background:none;color:var(--word);font:var(--carved-m)/1 var(--face-carved);text-transform:uppercase;text-shadow:var(--word-drop) 0 var(--word-shade);text-decoration:underline 2px var(--word-line);text-underline-offset:4px}.bar button{--word-drop: 1px 1px;font:var(--carved-s)/1 var(--face-carved);text-underline-offset:3px}.bar button.primary:not(:disabled),.screen button.primary:not(:disabled),.ending button.primary:not(:disabled),.ask .row button.primary:not(:disabled),.picker button.opt.armed{--word: var(--ember);--word-line: var(--ember);filter:var(--carved-glow-sm)}.bar button.primary.on:not(:disabled),.screen button.primary.on:not(:disabled){--word: #fff1c2;--word-shade: #c2661f;--word-line: #fff1c2;filter:var(--carved-glow-lg)}.bar button.danger:not(:disabled),.screen button.danger:not(:disabled),.ask .row button.danger:not(:disabled),.screen .title .warnrow button[data-act=delete]:not(:disabled){--word: var(--danger);--word-line: #8a3a34}.bar button:disabled,.screen button:disabled,.ending button:disabled,.ask .row button:disabled,.picker button.opt.off{--word: var(--word-off);text-shadow:none;text-decoration:none}.bar button:active:not(:disabled),.screen button:active:not(:disabled),.picker button.opt:active,.ending button:active:not(:disabled),.ask .row button:active:not(:disabled){--word: #fff1c2;text-shadow:none;transform:translate(1px,2px)}.strip button:focus-visible,.bar button:focus-visible,.screen button:focus-visible,.picker button.opt:focus-visible,.ending button:focus-visible,.ask .row button:focus-visible{outline:2px solid var(--ember);outline-offset:-2px}.picker{position:absolute;left:0;right:0;display:flex;padding:8px;pointer-events:none}.picker[hidden]{display:none}.picker.top{top:calc(env(safe-area-inset-top) + 34px)}.picker.bottom{bottom:calc(var(--bar-h, calc(env(safe-area-inset-bottom) + 52px) ) + 6px)}.picker .box{width:100%;max-width:320px;margin:0 auto;margin-left:round(up,max(0px,(100% - 320px) / 2),1px);display:flex;flex-direction:column;gap:4px;padding:4px 8px;background:#0b0907;border-top:2px solid var(--rule);border-bottom:2px solid var(--rule)}.picker .head{display:flex;align-items:baseline;gap:6px;padding:0 4px 2px}.picker .box.ducked,.picker .box.ducked button.opt{pointer-events:none}.picker .box{transition:opacity .12s ease-out}@media(prefers-reduced-motion:reduce){.picker .box{transition:none}}.picker .head span{color:var(--dim);margin-left:auto}.picker button.opt{pointer-events:auto;display:flex;align-items:center;gap:8px;min-height:44px;padding:0 2px;text-align:left;text-align:start;--word-drop: 1px 1px;font:var(--carved-s)/1 var(--face-carved);text-decoration:none}.picker button.opt+button.opt{box-shadow:0 -1px 0 var(--rule-faint)}.picker .nm{flex:0 1 auto;min-width:0;margin-right:auto;padding:1px 0 4px;border-bottom:2px solid var(--word-line);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.picker .opt.off .nm{border-bottom-color:transparent}.picker button.opt.armed{filter:none}.picker .opt.armed .nm{filter:var(--carved-glow-sm)}.picker .nm i{font-style:normal;color:var(--dim);margin-left:5px}.picker .odds,.picker .dmg,.picker .go,.picker .why{font:var(--text-m)/1 var(--face-body);text-transform:none;text-shadow:0 1px 0 var(--word-shade)}.picker .odds{color:#ff8a7a}.picker .dmg{color:var(--dim)}.picker .go{color:var(--ok)}.picker .why{color:var(--no);text-align:right}.toast{position:absolute;left:50%;top:auto;bottom:calc(var(--bar-h, calc(env(safe-area-inset-bottom) + 52px) ) + 6px);transform:translate(-50%);width:max-content;max-width:calc(100% - 32px);padding:7px 14px;background:var(--ground);border-top:2px solid var(--rule);border-bottom:2px solid var(--rule);text-align:center;pointer-events:none}#app.bar-top .bar{top:0;bottom:auto;min-height:calc(env(safe-area-inset-top) + 52px);padding:calc(env(safe-area-inset-top) + 6px) 0 6px 8px;background:linear-gradient(#12151ac2,#12151a00)}#app.bar-top .strip{top:auto;bottom:0;padding:6px 8px calc(env(safe-area-inset-bottom) + 6px);background:linear-gradient(#12151a00,#12151ab8)}#app.bar-top>.toast{bottom:auto;top:calc(var(--bar-h, calc(env(safe-area-inset-top) + 52px) ) + 6px)}#app.bar-top .picker.top{top:calc(var(--bar-h, calc(env(safe-area-inset-top) + 52px) ) + 6px)}#app.bar-top .picker.bottom{bottom:calc(env(safe-area-inset-bottom) + 34px)}.coach{position:absolute;left:0;right:0;bottom:var(--coach-foot, calc(env(safe-area-inset-bottom) + 54px) );display:flex;justify-content:center;padding:0 6px;pointer-events:none}.coach[hidden]{display:none}#app.coach-top>.coach{bottom:auto;top:var(--coach-foot, calc(env(safe-area-inset-top) + 54px) )}.coach .speech-bubble.speech-plate{display:flex;align-items:center;gap:8px;max-width:min(400px,var(--coach-w, 100%));pointer-events:none;cursor:default;box-shadow:0 6px 16px #05070acc;animation:coachPop .28s ease-out}.coach .speech-text{flex:1 1 auto;min-width:0}.coach .count{flex:none;order:1;margin-right:-2px;image-rendering:pixelated}.coach .speech-more{flex:none;order:2;padding:14px 12px;margin:-17px -14px -18px -6px;pointer-events:auto;cursor:pointer}.coach .speech-more.ducked{pointer-events:none}@keyframes coachPop{0%{transform:scale(.94);opacity:.4}60%{transform:scale(1.03);opacity:1}to{transform:scale(1)}}@media(prefers-reduced-motion:reduce){.coach .speech-bubble.speech-plate{animation:none}}#app.coached:not(.coach-top):not(.bar-top)>.toast,#app.coached:not(.coach-top) .picker.bottom{bottom:calc(var(--coach-foot, calc(env(safe-area-inset-bottom) + 54px) ) + var(--coach-h, 25px) + 6px)}#app.coached.coach-top.bar-top>.toast,#app.coached.coach-top .picker.top{bottom:auto;top:calc(var(--coach-foot, calc(env(safe-area-inset-top) + 54px) ) + var(--coach-h, 25px) + 6px)}#app:not(.in-battle) #board,#app:not(.in-battle) #lights,#app:not(.in-battle) #top,#app:not(.in-battle) #bar,#app:not(.in-battle) #toast,#app:not(.in-battle) #coach,#app:not(.in-battle) #picker,#app:not(.in-battle) #quit,#app:not(.in-battle) #ending,#app:not(.in-battle) #announce{display:none}.ending,.announce{position:absolute;inset:0;z-index:300;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;padding:20px;background:radial-gradient(ellipse at 50% 45%,#0807069e,#060504e6 78%);animation:endingIn .35s ease-out}.ending[hidden],.announce[hidden]{display:none}.ending canvas,.announce canvas{display:block;image-rendering:pixelated;animation:endingRise .5s ease-out}.ending .score,.announce .map{display:flex;align-items:baseline;gap:12px;font:700 30px/1 ui-monospace,Menlo,monospace;font-variant-numeric:tabular-nums;font-synthesis:weight style small-caps;text-shadow:0 2px 0 #151412}.announce .map{font-size:22px;color:#c9c2af;text-align:center}.ending .score i{font-style:normal;font-size:20px;color:#6b6558}.ending .reason{margin:-12px 0 0;max-width:100%;font:400 14px/1.3 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-synthesis:weight style small-caps;text-align:center;color:var(--dim);text-shadow:0 1px 0 #151412}.ending{padding-bottom:90px}.ending button{--column: calc(var(--word-h, 48px) + 126px);position:absolute;left:20px;top:calc(50% + var(--column) / 2 - 44px);width:calc(100% - 40px);width:round(down,calc(100% - 40px),2px);height:44px;padding:0 12px 0 14px}.ending:has(.reason) button{--column: calc(var(--word-h, 48px) + 158.2px)}@supports (top: round(nearest,1px,1px)){.ending button{top:round(nearest,calc(50% + var(--column) / 2 - 44px),1px)}}@keyframes endingIn{0%{opacity:0}to{opacity:1}}@keyframes endingRise{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.ending,.ending canvas,.announce,.announce canvas{animation:none}}.ask{position:absolute;inset:0;z-index:250;display:flex;align-items:flex-start;justify-content:flex-start;padding:32vh 24px 24px;padding:round(down,32vh,1px) 24px 24px;background:#060504b8}.ask[hidden]{display:none}.ask .box{display:flex;flex-direction:column;gap:10px;width:100%;max-width:320px;margin:0 auto;padding:16px 18px 8px;margin-left:round(up,max(0px,(100% - 320px) / 2),1px);background:var(--ground);border-top:2px solid var(--rule);border-bottom:2px solid var(--rule);text-align:center}.ask .box span{color:var(--dim)}.ask .row{display:flex;justify-content:space-between;margin-top:4px}.ask .row button{flex:1 1 0;flex:0 0 round(down,calc((100% - 8px)/2),1px);min-height:44px;padding:1px 4px 0;white-space:nowrap;text-align:left;text-align:start;--word-drop: 1px 1px;font:var(--carved-s)/1 var(--face-carved);text-underline-offset:3px}.ask .row button:last-child{text-align:right;text-align:end}.screen{position:absolute;inset:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#12151a}.screen[hidden]{display:none}.screen .sheet{max-width:560px;margin:0 auto;padding:calc(env(safe-area-inset-top) + 16px) 14px calc(env(safe-area-inset-bottom) + 20px);display:flex;flex-direction:column;gap:10px}.screen h1{margin:0;font-size:var(--text-l)}.screen h2{margin:8px 0 0;color:var(--dim);text-transform:uppercase;letter-spacing:2px}.screen p{margin:0}.screen .dim{color:var(--dim)}.screen .card{border-top:2px solid var(--rule);border-bottom:2px solid var(--rule);padding:10px 0;display:flex;flex-direction:column;gap:8px}.screen .line{display:flex;align-items:baseline;gap:6px;min-width:0}.screen .line.dim{color:var(--dim)}.screen .gold{color:#e8c86a;margin-left:auto}.screen button{min-height:44px;min-width:44px;padding:0 12px 0 14px;white-space:nowrap}.screen .foot{position:sticky;bottom:0;display:flex;gap:8px;justify-content:flex-end;margin-top:6px;padding:10px 0 calc(env(safe-area-inset-bottom) + 4px);background:linear-gradient(#12151a00,#12151a 22%)}.screen .foot button{flex:1;flex:0 0 round(down,100%,2px)}.screen .foot button:first-child:nth-last-child(2),.screen .foot button:first-child:nth-last-child(2)~button{flex-basis:round(down,calc((100% - 8px)/2),2px)}.screen .tavern,.screen .home{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100%;height:100%;background:#0b0907;overflow:hidden}.screen .tavern .room,.screen .home .street{position:relative;flex:none;transform-origin:top center;image-rendering:pixelated;isolation:isolate}.screen .tavern canvas,.screen .home canvas{position:absolute;inset:0;image-rendering:pixelated}.screen .tavern canvas.back,.screen .home canvas.back{z-index:0}.screen .tavern canvas.front,.screen .home canvas.front{z-index:100;pointer-events:none}.screen .tavern canvas.flames{z-index:190;pointer-events:none}.screen .tavern .floor{position:absolute;inset:0;z-index:1;cursor:default}.screen .tavern .seat,.screen .tavern .seat:active{position:absolute;width:48px;height:48px;padding:0;transform:none;cursor:pointer}.screen .tavern .seat img,.screen .tavern .seat .idle,.screen .tavern .seat .npc-strip{width:48px;height:48px;image-rendering:pixelated;display:block}.screen .tavern .seat .token{display:grid;place-items:center;width:34px;height:34px;margin:7px;border-radius:50%;color:#12151a}.screen .tavern .seat.keeper{z-index:40;pointer-events:none}.screen .tavern .seat.hero{pointer-events:none;cursor:default}.screen .tavern .seat:disabled{cursor:default}.screen .tavern .seat.lit img,.screen .tavern .seat.lit .idle{filter:brightness(1.2)}.screen .tavern .seat.lit:after,.screen .tavern .seat.hired:after{content:"";position:absolute;left:21px;top:-7px;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid rgba(232,238,245,.85)}.screen .tavern .seat.hired img,.screen .tavern .seat.hired .idle{filter:drop-shadow(1px 0 0 #e8c86a) drop-shadow(-1px 0 0 #e8c86a) drop-shadow(0 1px 0 #e8c86a) drop-shadow(0 -1px 0 #e8c86a)}.screen .tavern .seat.hired:after{border-top-color:#e8c86a}.idle{display:block;background-repeat:no-repeat;image-rendering:pixelated;animation-name:var(--idle-name);animation-duration:var(--idle-cycle);animation-delay:var(--idle-delay);animation-timing-function:step-end;animation-iteration-count:infinite}@media(prefers-reduced-motion:reduce){.idle{animation:none}}.screen .tavern .sign,.screen .home .sign{position:absolute;left:0;right:0;top:0;z-index:150;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin:0 auto;padding:calc(env(safe-area-inset-top) + 10px) 12px 20px;background:linear-gradient(#08060473,#08060400);pointer-events:none}.screen .tavern .sign h1,.screen .home .sign h1{margin:0;font-size:var(--text-m);color:#f0e2c0;line-height:0}.screen .tavern .sign h1 canvas,.screen .home .sign h1 canvas{display:block;image-rendering:pixelated;filter:var(--carved-glow-md)}.screen .tavern .sign .purse,.screen .home .sign .purse{color:#b9ad96}.screen .tavern .sign .purse b,.screen .home .sign .purse b{color:#e8c86a}.screen .tavern .sign .tally,.screen .home .sign .tally{display:flex;flex-direction:column;align-items:flex-end;gap:3px;text-shadow:0 1px 0 #000}.screen .home .sign .presence{display:flex;align-items:center;gap:4px;color:#8f8574}.screen .home .sign .presence .dot{width:8px;height:8px;background:#4fae5a;box-shadow:0 1px #000}.screen .home .sign .presence.off .dot{background:#d0463c}.screen .tavern .till{position:absolute;left:0;right:0;bottom:0;z-index:150;width:100%;max-width:480px;margin:0 auto;display:flex;flex-direction:column;gap:8px;padding:16px 12px calc(env(safe-area-inset-bottom) + 10px);background:linear-gradient(#08060400,#080604d1 22%,#080604f0);backdrop-filter:blur(2px);container-type:inline-size}.screen .tavern .word{color:#b9ad96}.screen .tavern .who{display:grid;grid-template-columns:auto 1fr;gap:0 8px;min-height:34px;align-content:center}.screen .tavern .who .name{color:#e8c86a}.screen .tavern .who .role{color:#b9ad96;align-self:baseline}.screen .tavern .who .say{grid-column:1 / -1;color:var(--dim)}.screen .tavern .who .say.wide{align-self:center}@container (max-width: 321px){.screen .tavern .who{grid-template-columns:minmax(0,auto) max-content 1fr;column-gap:0;line-height:16px}.screen .tavern .who .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.screen .tavern .who .role{padding-left:8px;white-space:nowrap}.screen .tavern .who .say.stats{font-size:var(--text-s);line-height:12px}}.screen .tavern .till.stood-down{opacity:.45}.screen .tavern .foot{position:static;background:none;padding:0}.screen .tavern .foot{justify-content:flex-start}.screen .tavern .foot button{flex:1 1 auto;flex:0 0 round(up,calc(33% - 11px),1px);padding:1px 12px 0;text-align:left;text-align:start;--word-drop: 1px 1px;font:var(--carved-s)/1 var(--face-carved);text-underline-offset:3px}.screen .tavern .foot button:nth-child(2){flex-basis:round(up,calc(33% - 9px),1px)}.screen .tavern .foot button:last-child{text-align:right;text-align:end}@supports (width: round(up,1px,1px)){.screen .tavern .foot button:last-child{flex:1 1 0}}.screen .tavern .word.wait{color:var(--dim)}.coin{display:inline-block;width:9px;height:9px;margin:0 1px -1px;background:#e8c86a;border-radius:50%;box-shadow:inset -2px -2px #6b4a128c,inset 1px 1px #fff5c8a6}.screen .tavern .sign .purse .spent,.screen .home .sign .purse .spent{color:#ff6b5e}.screen .home .body{position:absolute;image-rendering:pixelated;pointer-events:none}.screen .home .wash{filter:brightness(.82) saturate(.9)}.screen .home button.stall,.screen .home button.stall:active{position:absolute;z-index:15;padding:0;transform:none;cursor:pointer}.screen .home .gate{position:absolute;left:0;right:0;bottom:0;z-index:150;width:100%;max-width:480px;margin:0 auto;display:flex;flex-direction:column;align-items:flex-start;padding:26px 12px calc(env(safe-area-inset-bottom) + 8px);background:linear-gradient(#04030200,#040302d9 30%,#040302f2);pointer-events:none}.screen .home .gate button{position:relative;width:100%;width:round(down,100%,2px);text-decoration:none;pointer-events:auto}.screen .home .gate .pair{display:flex;flex-direction:column;align-items:flex-start;width:100%}@media(max-height:640px){.screen .home .gate .pair{flex-direction:row}.screen .home .gate .pair>button{flex:1 1 0;flex:0 0 round(down,50%,1px);padding:1px 10px 0;text-align:right;text-align:end;--word-drop: 1px 1px;font:var(--carved-s)/1 var(--face-carved)}.screen .home .gate .pair>button:last-child{text-align:left;text-align:start}.screen .home .gate .pair{position:relative}.screen .home .gate .pair>button:after{content:none}.screen .home .gate .pair:after{content:"";position:absolute;left:50%;bottom:0;width:28px;margin-left:-14px;border-bottom:1px solid var(--rule-faint)}}.screen .home .gate button:after{content:"";position:absolute;left:50%;bottom:0;width:28px;margin-left:-14px;border-bottom:1px solid var(--rule-faint)}.screen .home .gate>button:last-child:after{content:none}.screen .home .gate .door.primary{min-height:48px;padding-top:1px;--word-drop: 2px 3px;font:var(--carved-l)/1 var(--face-carved);filter:var(--carved-glow-md)}.screen .home .shop{position:absolute;inset:0;z-index:300;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#060504f0}.screen .home:has(.shop) .gate{visibility:hidden}.screen .home .toast{z-index:320;top:50%;bottom:auto;transform:translate(-50%,-50%)}.screen .title .toast{z-index:320;top:auto;bottom:calc(env(safe-area-inset-bottom) + 14px);transform:translate(-50%)}.screen .naming input{min-height:44px;padding:0 2px;font:inherit;font-size:var(--text-m);color:var(--ink);background:none;border:0;border-bottom:2px solid var(--rule);border-radius:0;outline:0}.screen .naming input:focus{border-bottom-color:var(--ember)}.screen .leaderboard .ranks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;border-top:2px solid var(--rule);border-bottom:2px solid var(--rule)}.screen .leaderboard .ranks li{padding:10px 2px}.screen .leaderboard .ranks li+li{border-top:1px solid var(--rule-faint)}.screen .leaderboard .rank{min-width:2ch;text-align:right;color:var(--dim)}.screen .leaderboard .name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.screen .leaderboard .rating{margin-left:auto;color:#e8c86a}.screen .title{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100%;height:100%;background:#0b0907;overflow:hidden}.screen .title .street{position:relative;flex:none;transform-origin:top center;image-rendering:pixelated;isolation:isolate}.screen .title canvas{position:absolute;inset:0;image-rendering:pixelated}.screen .title canvas.back{z-index:0}.screen .title .sky{position:absolute;inset:0;z-index:5;pointer-events:none;background:linear-gradient(#0403028c,#0403021a 26% 60%,#040302bf)}.screen .title .titlecard{position:absolute;left:0;right:0;top:0;z-index:10;display:flex;flex-direction:column;align-items:center;padding:calc(env(safe-area-inset-top) + 40px) 12px 0;margin:0 auto;pointer-events:none}.screen .title .titlecard canvas{position:static;display:block;max-width:100%;height:auto;image-rendering:pixelated;filter:var(--carved-glow-lg)}.screen .title .titlecard .version{margin-top:4px;font-size:var(--text-s);line-height:11px;color:var(--dim);opacity:.8}.screen .title .bands{position:absolute;inset:170px 0 0;z-index:20;width:100%;margin:0 auto;display:flex;flex-direction:column;gap:12px;padding:8px 18px calc(env(safe-area-inset-bottom) + 18px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.screen .title .bands.empty{padding-top:24vh;padding-top:round(down,24vh,1px)}.screen .title .band{position:relative;padding:14px 14px 12px 16px;background:var(--ground);border-top:2px solid var(--rule);border-bottom:2px solid var(--rule);cursor:pointer}.screen .title .band.open{border-color:#c2661f;cursor:default}.screen .title .band:has(.bandtop:active){border-color:#fff1c2}.screen .title .band.stranded{opacity:.55}.screen .title .bandtop,.screen .title .bandtop:active{display:block;width:100%;padding:0;color:inherit;font:inherit;text-align:left;text-transform:none;text-decoration:none;text-shadow:none;transform:none;min-height:0}.screen .title .pennant{position:relative;flex:none;width:16px;height:44px;background:#0c0d10;clip-path:polygon(0 0,100% 0,100% 100%,50% 78%,0 100%)}.screen .title .pennant i{position:absolute;inset:0;clip-path:polygon(2px 0,calc(100% - 2px) 0,calc(100% - 2px) calc(100% - 4px),50% calc(78% - 2px),2px calc(100% - 4px))}.screen .title .bandtop .pennant{position:absolute;top:-2px;left:16px}.screen .title .bandhead{display:flex;align-items:center;gap:10px;margin:0 0 10px 22px;min-height:22px}.screen .title .bandhead>*{flex:none}.screen .title .bandhead canvas{position:static;display:block;image-rendering:pixelated;filter:var(--carved-glow-sm)}.screen .title .band.stranded .bandhead canvas{filter:none}.screen .title .making .bandhead{margin-left:0}.screen .title .bandhead b{flex:1;min-width:0;color:#eee8dc}.screen .title .runs{color:var(--dim);white-space:nowrap}.screen .title .gold{color:#c9a24a;white-space:nowrap;margin-left:0}.screen .title .faces{display:flex;gap:10px}.screen .title .face{width:64px;height:64px;flex:none;background-size:145% 145%;background-position:center 38%;background-repeat:no-repeat;image-rendering:pixelated}.screen .title .face.token{display:grid;place-items:center;border-radius:8px;color:#12151a}.screen .title .bandfoot{margin-top:10px;display:flex;flex-direction:column;align-items:flex-start}.screen .title .bandfoot>button{position:relative;width:100%;width:round(down,100%,2px);text-decoration:none}.screen .title .bandfoot>button.primary{min-height:48px;padding-top:1px;--word-drop: 2px 3px;font:var(--carved-l)/1 var(--face-carved);filter:var(--carved-glow-md)}.screen .title .bandfoot>button.primary:after{content:"";position:absolute;left:50%;bottom:0;width:28px;margin-left:-14px;border-bottom:1px solid var(--rule-faint)}.screen .title .bandfoot button[data-act=ask]{padding:1px 12px 0;--word: #a8756b;--word-drop: 1px 1px;font:var(--carved-s)/1 var(--face-carved)}.screen .title .warn{display:flex;flex-direction:column;gap:4px;width:100%;padding:10px 0 0;color:#d8b9b2;text-align:center;text-wrap:balance}.screen .title .warnrow{display:flex;gap:8px}.screen .title .warnrow button{flex:1;flex:0 0 round(down,calc((100% - 8px)/2),2px)}.screen .title .newband{align-self:flex-start;width:100%;width:round(down,100%,2px);min-height:52px;flex:none}.screen .title .bands.empty .newband{--word: var(--ember);--word-line: var(--ember);filter:var(--carved-glow-sm)}.screen .title .colours{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}.screen .title .colour{display:flex;align-items:center;gap:10px;min-height:76px;padding:8px 2px 8px 4px;text-align:left;text-decoration:none}.screen .title .colour+.colour{box-shadow:0 -1px 0 var(--rule-faint)}.screen .title .colour .faces{margin-left:auto}.screen .title .colour .face{width:48px;height:48px}.screen .title .colour .pennant{width:12px;height:32px}.screen .title .colours:not(.leaders) .colour:not(.kind){min-height:54px;padding:3px 2px 3px 4px;--word-drop: 1px 1px;font:var(--carved-s)/13px var(--face-carved);white-space:normal}.screen .title .colours:not(.leaders) .colour:not(.kind)>span:not([class]){align-self:flex-start;margin-top:15px}@media(max-width:359px){.screen .title .colour{--word-drop: 1px 1px;font:var(--carved-s)/1 var(--face-carved)}.screen .title .colour.kind>span:not([class]),.screen .title .colour.leader>span:not([class]){padding-top:1px}}.screen .title .colours:not(.leaders) .colour:not(.kind) .face{width:44px;height:44px}.screen .title .colours:not(.leaders) .colour:not(.kind) .pennant{width:10px;height:28px}.screen .title .colour.kind{flex-wrap:wrap;row-gap:2px}.screen .title .colour.kind>span:first-child{flex:0 0 auto}.screen .title .colour.leader{flex-wrap:wrap;row-gap:3px;align-items:center}.screen .title .colour.leader>span:first-child{flex:0 0 auto}.screen .title .colour.leader .faces{margin-left:auto;order:2}.screen .title .posts{display:flex;flex-wrap:wrap;align-items:flex-end;gap:4px 10px}.screen .title .posts .runs{margin-left:auto}.screen .muster{position:relative;display:flex;flex-direction:column;align-items:center;min-height:100%}.screen .muster .field{position:relative;transform-origin:top center;overflow:hidden;background:radial-gradient(ellipse at 50% 32%,#22221f,#0e0d0b 72%);user-select:none}.screen .muster.lost .field{background:radial-gradient(ellipse at 50% 32%,#241615,#0d0b0a 72%)}.screen .muster.lost .line{filter:saturate(.4) brightness(.75)}.screen .muster.drawn .field{background:radial-gradient(ellipse at 50% 32%,#1b1f21,#0b0d0e 72%)}.screen .muster .vignette{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 40%,#0000 35%,#0000009e)}.screen .muster .headline{position:absolute;left:0;right:0;top:86px;z-index:20;display:flex;justify-content:center;animation:musterRise .5s ease-out}.screen .muster .headline canvas{display:block;image-rendering:pixelated}@keyframes musterRise{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.screen .muster .headline{animation:none}}.screen .muster .line{position:absolute;left:0;right:0;top:170px;bottom:var(--line-bottom, 342px);z-index:10;display:flex;align-items:flex-end;justify-content:center;padding:0 4px}.screen .muster .body{position:relative;flex:none;display:flex;flex-direction:column;align-items:center;gap:3px;margin:0 -4px}.screen .muster .body img,.screen .muster .body .token{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated}.screen .muster .body .token{position:static;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#10130f}.screen .muster .body .shadow{position:absolute;left:50%;bottom:2px;transform:translate(-50%);width:100%;border-radius:50%;background:#00000080}.screen .muster .body .stone{position:relative;display:block}.screen .muster .body .stone canvas{display:block;image-rendering:pixelated}.screen .muster .body .stone i{position:absolute;inset:15% 6%;display:flex;align-items:center;justify-content:center;font-size:var(--text-s);line-height:7px;font-style:normal;text-align:center;color:#2a2822;overflow-wrap:anywhere}.screen .muster .body.fallen canvas[data-trinket]{display:block;image-rendering:pixelated}.screen .muster .tally{position:absolute;left:0;right:0;bottom:0;z-index:30;width:100%;margin:0 auto;padding:20px 20px calc(env(safe-area-inset-bottom) + 10px);background:linear-gradient(#08060400,#080604d1 30%,#080604f0)}.screen .muster .box{width:fit-content;min-width:150px;max-width:300px;margin:0 auto;padding:8px 10px;border-top:2px solid var(--rule);border-bottom:2px solid var(--rule)}.screen .muster .box .rows{display:grid;grid-template-columns:34px 21px max-content;align-items:center;width:max-content;margin:0 auto}.screen .muster .box .amt,.screen .muster .box .cn,.screen .muster .box .why{line-height:20px;color:#d6c9a4}.screen .muster .box .amt{text-align:right}.screen .muster .box .cn{text-align:center}.screen .muster .box .why{padding-left:6px;white-space:nowrap;color:#b9ad8f}.screen .muster .box .rule{grid-column:1 / 3;height:1px;margin:7px 0 6px;background:#4a463f}.screen .muster .box .total{line-height:24px;color:#e8dcb8}.screen .muster .box .amt.debit{color:#ff6b5e}.screen .muster .box .sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.screen .muster .dead{margin-top:10px;text-align:center}.screen .muster .dead .fell{margin:0;line-height:16px;color:#9a8f7e}.screen .muster .dead .hail,.screen .muster .dead .arrival{margin:4px 0 0;text-wrap:balance;line-height:16px;color:#8f8677}.screen .muster .foot{position:static;background:none;margin:12px 0 0;padding:0}.screen .home .apprentice{filter:brightness(.8) saturate(.88) drop-shadow(0 -2px 0 rgba(226,150,72,.3))}.screen .home .leader{filter:brightness(.88) saturate(.92) drop-shadow(0 -2px 0 rgba(226,150,72,.3))}.screen .home .street.staged{overflow:hidden}.screen .home .street .body.acting{pointer-events:none;cursor:default}.screen .home .gate.rise{animation:gate-rise 0s steps(8,jump-none) both}.screen .home .gate.fall{animation:gate-fall 0s steps(8,jump-none) both}.screen .home .gate.fall button{pointer-events:none}@keyframes gate-rise{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes gate-fall{0%{opacity:1}to{opacity:0}}.screen .home .gate.beckon .door.primary.on:not(:disabled){animation:play-breathe 1.8s ease-in-out infinite}@keyframes play-breathe{0%,to{filter:drop-shadow(0 0 2px rgba(255,176,80,.55)) drop-shadow(0 0 5px rgba(255,150,60,.3)) drop-shadow(0 0 11px rgba(226,122,42,.2))}50%{filter:drop-shadow(0 0 3px rgba(255,196,110,.85)) drop-shadow(0 0 10px rgba(255,150,60,.6)) drop-shadow(0 0 22px rgba(226,122,42,.45))}}@media(prefers-reduced-motion:reduce){.screen .home .gate.rise,.screen .home .gate.fall{animation:none}.screen .home .gate.beckon .door.primary.on:not(:disabled){animation:none;filter:drop-shadow(0 0 3px rgba(255,196,110,.85)) drop-shadow(0 0 10px rgba(255,150,60,.6)) drop-shadow(0 0 22px rgba(226,122,42,.45))}}.speech{position:absolute;inset:0;z-index:200;pointer-events:none}.speech-bubble{--speech-px: 1px;position:absolute;box-sizing:border-box;width:max-content;max-width:300px;min-width:96px;margin:0;padding:0;border:8px solid #0f0a07;border-image:var(--speech-bubble) 8 fill / 8px stretch;background:linear-gradient(#f4ecd8,#f4ecd8) 4px 4px / calc(100% - 8px) calc(100% - 8px) no-repeat border-box;image-rendering:pixelated;pointer-events:auto;cursor:pointer;touch-action:manipulation;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}.speech-bubble:focus-visible{outline:2px solid #ffd08a;outline-offset:1px}.speech-text{display:flex;flex-wrap:wrap;align-content:flex-start;gap:calc(5 * var(--speech-px));margin:0 -2px}.speech-word{display:flex;flex:none;gap:var(--speech-px)}.speech-bubble .speech-text .speech-word canvas{position:static;inset:auto;display:block;flex:none;image-rendering:pixelated}.speech-said{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.speech-more{display:flex;justify-content:flex-end;margin:5px -2px -3px 0;visibility:hidden}.speech-bubble.done .speech-more{visibility:visible}.speech-next{flex:none;width:20px;height:16px;background:var(--speech-next) center / 100% 100% no-repeat;image-rendering:pixelated}.speech-bubble.done .speech-next{animation:speech-bob .6s steps(2,jump-none) infinite alternate,speech-blink .9s ease-in-out infinite alternate}@keyframes speech-bob{0%{transform:translateY(-1px)}to{transform:translateY(1px)}}@keyframes speech-blink{0%{opacity:1}to{opacity:.45}}@media(prefers-reduced-motion:reduce){.speech-bubble.done .speech-next{animation:none}}.speech-tail{position:absolute;width:12px;height:10px;background:var(--speech-tail) center / 12px 10px no-repeat;image-rendering:pixelated}.speech-bubble.speech-plate{position:relative}.speech-bubble.speech-plate[role=status]{pointer-events:none;cursor:default}.npc-strip{background-size:400% 100%,0 0;background-repeat:no-repeat;image-rendering:pixelated;animation:npc-strip 3.6s steps(4) infinite}.npc-strip.talking{background-size:0 0,400% 100%;animation-duration:.52s}@keyframes npc-strip{0%{background-position-x:0}to{background-position-x:133.3333%}}@media(prefers-reduced-motion:reduce){.npc-strip{animation:none}}.screen .home .body.leader,.screen .home .body.apprentice{pointer-events:auto;cursor:pointer}.screen .home .shop .sheet{padding-left:var(--sheet-gutter);padding-right:var(--sheet-gutter);padding-bottom:0;gap:var(--sheet-gap);min-height:100%}.screen .home .shop .sheet{padding-top:calc(env(safe-area-inset-top) + 8px)}.screen .home .shop .foot{margin-top:auto;min-height:calc(var(--foot-height) + env(safe-area-inset-bottom))}.screen .home .shop .sign{position:static;padding:0;background:none;margin:0;align-items:center;pointer-events:auto}.screen .home .shop .sign h1,.screen .home .shop .sign h2{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.screen .home .shop canvas.head{position:static;inset:auto;display:block;image-rendering:pixelated;filter:var(--carved-glow-md)}.screen .home .shop .sign.top{flex-direction:column;align-items:center;gap:6px;margin-bottom:2px}.screen .home .shop .sign.top canvas.head{margin-top:8px}.screen .home .shop .sign.mid{justify-content:center}.screen .home .shop .sign .purse{display:flex;align-items:center;gap:4px;line-height:16px;color:#b9ad8f}.screen .home .shop .sign .purse b{color:#e8c86a}.screen .home .shop .dim{color:#b9ad8f}.screen .home .shop .card.post{padding:var(--card-pad) 0;gap:4px}.screen .home .shop .card.post+.card.post{border-top:0;margin-top:calc(-1 * var(--sheet-gap))}.screen .home .shop .card.post .line b{color:#e8c86a}.screen .home .shop .card.post .line .dim{color:var(--dim)}.screen .home .shop .cardtop{display:flex;align-items:center;gap:10px}.screen .home .shop .figure{position:relative;flex:none;width:var(--stall-sprite);height:var(--stall-sprite)}.screen .home .shop.equip .figure{width:var(--equip-sprite);height:var(--equip-sprite)}.screen .home .shop .figure .shadow{position:absolute;left:50%;bottom:2px;transform:translate(-50%);width:72%;height:24px;background:#00000080;clip-path:ellipse(50% 50% at 50% 50%)}.screen .home .shop .figure .sprite{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated}.screen .home .shop .figure .token{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:40px;height:40px;display:grid;place-items:center;border-radius:9px;color:#12151a}.screen .home .shop .id{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.screen .home .shop .id .line{flex-wrap:wrap;gap:0 6px}.screen .home .shop .stat{line-height:16px;color:#b9ad8f;text-wrap:balance}.screen .home .shop .worth{display:flex;align-items:center;gap:3px;margin-left:auto}.screen .home .shop.upgrades .id{gap:5px}.screen .home .shop.upgrades .id .line{align-items:baseline}.screen .home .shop.upgrades .kit{padding:2px}.screen .home .shop .worth b{line-height:18px;color:#d6c9a4}.screen .home .shop .kit{display:flex;flex-wrap:wrap;gap:var(--stall-windowGap)}.screen .home .shop .window{--rim: #4a4d52;position:relative;flex:none;display:grid;place-items:center;width:var(--stall-window);height:var(--stall-window);background-color:#1e2024;background-image:linear-gradient(#8a8378,#8a8378),linear-gradient(#8a8378,#8a8378),linear-gradient(#8a8378,#8a8378),linear-gradient(#8a8378,#8a8378);background-size:2px 2px;background-repeat:no-repeat;background-position:4px 4px,calc(100% - 4px) 4px,4px calc(100% - 4px),calc(100% - 4px) calc(100% - 4px);box-shadow:inset 0 2px #3c4046,inset 0 -2px #0c0d10,inset 2px 0 #2c3036,inset -2px 0 #14161a,0 -2px 0 0 var(--rim),0 2px 0 0 var(--rim),-2px 0 0 0 var(--rim),2px 0 0 0 var(--rim)}.screen .home .shop.equip .window{width:var(--equip-window);height:var(--equip-window)}.screen .home .shop .window .glyph{display:block;width:var(--stall-windowSymbol);height:var(--stall-windowSymbol);background:#0c0d10;box-shadow:0 0 0 1px #07090c;image-rendering:pixelated}.screen .home .shop .window .count{position:absolute;right:5px;bottom:3px;font-style:normal;line-height:16px;color:#e8dcb8;text-shadow:0 1px 0 #0c0d10}.screen .home .shop .shelf{display:flex;flex-direction:column}.screen .home .shop .shelf.empty{padding:4px 0}.screen .home .shop .row-item,.screen .home .shop .row-piece{display:flex;align-items:center;gap:8px;min-height:var(--stall-rowMinHeight);padding:4px 0;background:linear-gradient(#4a463f,#4a463f) top / 100% 1px no-repeat}.screen .home .shop .shelf>:first-child{background:none}.screen .home .shop .row-item>.glyph,.screen .home .shop .row-piece>.glyph{flex:none;width:var(--stall-rowSymbol);height:var(--stall-rowSymbol);image-rendering:pixelated}.screen .home .shop .text{flex:1;min-width:0}.screen .home .shop .name{display:block;line-height:16px;color:#d6c9a4}.screen .home .shop .fx{line-height:16px}.screen .home .shop .price{flex:none;width:34px;text-align:right;white-space:nowrap;line-height:20px;color:#d6c9a4}.screen .home .shop .row-item button,.screen .home .shop .row-piece button,.screen .home .shop .worn button{flex:none;width:var(--stall-buyWidth);padding:0;text-align:right;text-align:end}.screen .home .shop .row-piece button,.screen .home .shop .worn button{padding-top:1px;--word-drop: 1px 1px;font:var(--carved-s)/1 var(--face-carved);text-underline-offset:3px}.screen .home .shop .row-item .needs,.screen .home .shop .row-piece .needs{flex:none;width:var(--stall-buyWidth);text-align:right;line-height:16px;text-wrap:balance}.screen .home .shop .debrief.gauge{position:static;min-height:0;background:none;--bar-width: 100%;--bar-height: var(--equip-barHeight)}.screen .home .shop .debrief.gauge .barwrap{margin-top:0}.screen .home .shop.equip .id{gap:5px}.screen .home .shop.equip .id .line{align-items:baseline}.screen .home .shop.equip .debrief.gauge .level{line-height:16px;margin-bottom:5px}.screen .home .shop.equip .debrief.gauge .barwrap{padding:0 2px}.screen .home .shop .worn{display:flex;align-items:center;gap:10px;padding-top:8px;border-top:1px solid #4a463f}.screen .home .shop .worn .text{flex:1}.screen .home .shop .row-piece:not([data-refusal=""])>.text{opacity:.5}.screen .home .shop .worn[data-piece=""] .window{opacity:.5}.screen .home .shop.upgrades .kit.empty{align-items:center;flex-wrap:nowrap}.screen .home .shop.upgrades .kit.empty .window{opacity:.5}.screen .home .shop .foot{padding-top:28px;background:linear-gradient(#06050400,#060504 28px)}.screen .home .shop .sheet>:has(+.foot){margin-bottom:-18px}.screen .debrief{position:relative;min-height:100%;background:radial-gradient(ellipse at 50% 40%,#0000 35%,#0000009e),radial-gradient(ellipse at 50% 32%,#22221f,#0e0d0b 72%);user-select:none}.screen .debrief .sheet{padding-left:16px;padding-right:16px}.screen .debrief .sheet h2{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.screen .debrief .sheet canvas.head{display:block;align-self:center;margin-top:8px;image-rendering:pixelated;filter:var(--carved-glow-md)}.screen .debrief .dim{color:#b9ad8f}.screen .debrief .slots{position:absolute;top:var(--slot-top);left:0;right:0;display:flex;justify-content:center;gap:var(--slot-gap)}.screen .debrief .slot{position:relative;flex:none;width:var(--slot-size);height:var(--slot-size)}.screen .debrief .slot[data-state=hidden] .reel{visibility:hidden}.screen .debrief .reel{--rim: #4a4d52;position:absolute;inset:0;background-color:#1e2024;background-image:linear-gradient(#8a8378,#8a8378),linear-gradient(#8a8378,#8a8378),linear-gradient(#8a8378,#8a8378),linear-gradient(#8a8378,#8a8378);background-size:2px 2px;background-repeat:no-repeat;background-position:4px 4px,calc(100% - 4px) 4px,4px calc(100% - 4px),calc(100% - 4px) calc(100% - 4px);box-shadow:inset 0 2px #3c4046,inset 0 -2px #0c0d10,inset 2px 0 #2c3036,inset -2px 0 #14161a,0 -2px 0 0 var(--rim),0 2px 0 0 var(--rim),-2px 0 0 0 var(--rim),2px 0 0 0 var(--rim)}.screen .debrief .slot[data-flash="1"] .reel{--rim: #c2661f}.screen .debrief .reel canvas{position:absolute;left:6px;top:6px;width:calc(var(--slot-size) - 12px);height:calc(var(--slot-size) - 12px);image-rendering:pixelated}.screen .debrief .readout{position:absolute;top:var(--lines-top);left:50%;width:var(--column);margin-left:calc(var(--column) / -2)}.screen .debrief .lines{display:flex;flex-direction:column;gap:10px}.screen .debrief .outcome{gap:8px}.screen .debrief .xline{min-height:24px;align-items:center}.screen .debrief .glyph{flex:none;width:24px;height:24px;margin-right:2px}.screen .debrief .glyph canvas{display:block;width:24px;height:24px;image-rendering:pixelated}.screen .debrief .line .what{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:0 6px}.screen .debrief .line .pay{flex:none;text-align:right;white-space:nowrap;line-height:18px;color:#d6c9a4}.screen .debrief .haul{margin-top:10px;padding-top:8px;border-top:1px solid var(--rule-faint);color:#e8dcb8}.screen .debrief .haul .total{flex:none;white-space:nowrap;line-height:24px;color:#e8dcb8}.screen .debrief.experience{display:flex;flex-direction:column;align-items:center;padding-top:calc(env(safe-area-inset-top) + var(--sprite-top))}.screen .debrief.experience>.sheet{position:absolute;top:0;left:0;right:0}.screen .debrief .stage{position:relative;flex:none;width:var(--sprite-size);height:var(--sprite-size)}.screen .debrief .stage .shadow{position:absolute;left:50%;bottom:2px;transform:translate(-50%);width:72%;height:24px;border-radius:50%;background:#00000080}.screen .debrief .stage .sprite{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated}.screen .debrief .who{flex:none;width:var(--bar-width);height:18px;margin-top:8px;justify-content:center}.screen .debrief .barwrap{flex:none;width:var(--bar-width);margin-top:8px}.screen .debrief .level{margin-bottom:4px;text-align:right;line-height:16px;color:#d6c9a4}.screen .debrief .xpbar{position:relative;height:var(--bar-height);background:#0c0d10;box-shadow:0 0 0 2px var(--rule),inset 0 2px #07090c}.screen .debrief .xpbar .fill{position:absolute;left:0;top:0;bottom:0;width:calc(var(--fill, 0) * 100%);background:#e8c86a;box-shadow:inset 0 2px #f4d876,inset 0 -2px #c9a13f}.screen .debrief .levelup{position:absolute;left:50%;top:76%;pointer-events:none;filter:var(--carved-glow-lg)}.screen .debrief .levelup[data-state=hidden]{visibility:hidden}.screen .debrief .levelup canvas{display:block;image-rendering:pixelated}@supports (width: round(down,1px,1px)){.screen .debrief .lower{margin-left:round(down,calc((100% - var(--bar-width)) / 2),1px);margin-right:auto}}.screen .debrief .lower{flex:none;width:var(--bar-width);margin-top:8px;display:flex;flex-direction:column;gap:14px}.screen .debrief .xplines{display:flex;flex-direction:column;padding:8px 10px;border-top:2px solid var(--rule);border-bottom:2px solid var(--rule)}.screen .debrief .xpline{display:grid;grid-template-columns:var(--amount-width) minmax(0,1fr);align-items:center}.screen .debrief .xpline .amt{text-align:right;line-height:20px;color:#d6c9a4}.screen .debrief .xpline .why{padding-left:6px;white-space:nowrap;line-height:20px;color:#b9ad8f}.screen .debrief .xplines .rule{width:var(--amount-width);height:1px;margin:7px 0 6px;background:#4a463f}.screen .debrief .xplines .total{width:var(--amount-width);text-align:right;line-height:24px;color:#e8dcb8}.screen .debrief .card.post{padding:10px 10px 8px;gap:10px}.screen .debrief .card.post .line b{line-height:20px;color:#d6c9a4}.screen .debrief .card.post .line .pending{line-height:20px;color:#b9ad8f}.screen .debrief .picks .stat{display:flex;align-items:center;gap:8px;height:44px}.screen .debrief .picks .stat+.stat{box-shadow:inset 0 1px 0 var(--rule-faint)}.screen .debrief .picks .word,.screen .debrief .picks .val{--word-drop: 1px 2px;font:var(--carved-m)/1 var(--face-carved);text-transform:uppercase;white-space:nowrap;color:var(--word);text-shadow:var(--word-drop) 0 var(--word-shade)}.screen .debrief .picks .val{margin-left:auto}.screen .debrief .picks .val.up{color:var(--ember)}.screen .debrief .picks .needs{flex:1 1 0;min-width:0;max-height:40px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.screen .debrief .picks button{flex:none;width:44px;padding:0 0 0 2px;text-align:center;text-decoration:none}.screen .debrief .card .hint{text-align:center;color:#b9ad8f}.screen .debrief .foot{position:absolute;left:0;right:0;bottom:0;max-width:375px;margin:0 auto;margin-left:round(up,max(0px,(100% - 375px) / 2),1px);padding-left:16px;padding-right:16px;background:none;align-items:center}.screen .debrief .foot button{flex:0 1 50%;flex:0 0 round(up,50%,2px)}.screen .debrief.experience .foot{position:sticky;left:auto;right:auto;bottom:0;width:100%;margin:auto auto 0;margin-left:round(up,max(0px,(100% - 375px) / 2),1px);min-height:calc(58px + env(safe-area-inset-bottom));pointer-events:none}.screen .debrief.experience .foot button{pointer-events:auto}.screen .muster .body.down .faint{opacity:.45;filter:grayscale(.7)}.screen .muster .body.down .name{position:absolute;left:0;right:0;top:100%;margin-top:3px;font-size:var(--text-s);line-height:9px;font-style:normal;text-align:center;color:#b9ad8f;text-transform:uppercase;overflow-wrap:anywhere}.screen .muster .box.summed{padding-right:16px}.screen .muster .box.summed .rows{max-width:100%;grid-template-columns:34px 21px minmax(0,max-content)}.screen .muster .box .sum{display:contents}.screen .muster .box .sum .cn.word{text-align:left;padding-left:4px}.screen .muster .box .sum .why{white-space:normal;overflow-wrap:anywhere}.screen .muster .box .rule.split{grid-column:1 / -1}.screen .muster .box .sum .tag{margin-left:6px;color:#9a8f7e}
