:root{color:#f1ead8;font-synthesis:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--card-w:150px;--card-h:210px;--table-h:264px;--hand-side:150px;--ink:#2b1d14;--parchment:#f1e2bf;--attack:#b2412e;--skill:#3f6e8c;--gift:#6d3f8f;--gold:#e2b25c;-webkit-tap-highlight-color:transparent;background:#1b2016;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}@property --pick-left{syntax:"<length>|none";inherits:true;initial-value:none}html,body{overscroll-behavior:none;height:100%;margin:0;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer}[hidden]{display:none!important}.battle{-webkit-user-select:none;user-select:none;touch-action:none;height:100dvh;position:fixed;inset:0;overflow:hidden}#scene{width:100%;height:100%;display:block;position:absolute;inset:0}.topbar{z-index:5;padding:10px 18px;padding-top:max(10px, env(safe-area-inset-top));pointer-events:none;background:linear-gradient(#0d110bcc,#0d110b00);align-items:center;gap:16px;font-size:13px;display:flex;position:absolute;top:0;left:0;right:0}.topbar>*{pointer-events:auto}.back{color:#e8dcc0;background:#0007;border:1px solid #fff2;border-radius:6px;padding:6px 10px;text-decoration:none}.back:hover{border-color:var(--gold)}.place{text-align:center;color:#f6edd6;text-shadow:0 1px 3px #000;flex:1;font-family:Georgia,serif;font-size:17px}.turn{font-variant-numeric:tabular-nums;background:#0007;border-radius:6px;padding:6px 10px}.overlay{pointer-events:none;z-index:3;position:absolute;inset:0}.overlay>*{will-change:transform;width:max-content;position:absolute;top:0;left:0}.fighter-ui{flex-direction:column;align-items:center;gap:3px;width:150px;display:flex}.statuses{flex-wrap:wrap;order:3;justify-content:center;gap:4px;max-width:100%;min-height:0;display:flex}.status{white-space:nowrap;text-overflow:ellipsis;background:#000b;border-radius:10px;max-width:100%;padding:2px 7px;font-size:11px;overflow:hidden}.status.danger{color:#ffb39a;border:1px solid #c4553c}.status.good{color:#c6f0a8;border:1px solid #6aa249}.status.in-clock{position:relative;top:-3px}.status-icon{color:#c6f0a8;background:#000b;border:1px solid #6aa249;border-radius:10px;align-items:center;gap:1px;padding:1px 6px 1px 2px;font-size:11px;font-weight:800;display:inline-flex}.status-icon.bad{color:#ffb39a;border-color:#c4553c}.status-icon img{width:18px;height:18px}.status-icon.evasion b{padding-left:2px;font-weight:700}.status-icon.gift{color:#ead6ff;border-color:#a77fd0;padding-left:1px}.status-icon.gift img{object-fit:cover;border:1px solid #a77fd0;border-radius:50%;width:20px;height:20px}.status-icon.gift:not(:has(b)){padding-right:1px}.status-icon.gift.acting{animation:.6s ease-out gift-acts}@keyframes gift-acts{40%{transform:scale(1.35);box-shadow:0 0 10px 3px #c9a2f0}}.status-icon,.status[data-tip],.intent{pointer-events:auto;cursor:help}.status-icon:focus-visible,.status[data-tip]:focus-visible,.intent:focus-visible{outline-offset:1px;outline:2px solid #ffe08a}.bar{background:#2a0f0c;border:2px solid #120806;border-radius:9px;width:100%;height:16px;position:relative;overflow:visible;box-shadow:0 2px 4px #0008}.hp-fill{background:linear-gradient(#e0533b,#9d2416);border-radius:7px;transition:width .35s ease-out;position:absolute;top:0;bottom:0;left:0}.hp-text{text-shadow:0 1px 2px #000,0 0 3px #000;font-variant-numeric:tabular-nums;place-items:center;font-size:11px;font-weight:700;line-height:1;display:grid;position:absolute;inset:0}.blocking .bar{border-color:#6fb7ea}.blocking .hp-fill{background:linear-gradient(#78a9d4,#3d6b94)}.block-badge{z-index:1;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:50%;left:-20px;translate:0 -50%}.block-badge img{width:100%;height:100%;position:absolute;inset:0}.block-badge b{text-shadow:0 1px 2px #000;font-size:13px;position:relative}.fighter-name{color:#f4e9cf;text-shadow:0 1px 2px #000,0 0 4px #000;letter-spacing:.3px;font-size:11px}.enemy-ui.token{width:46px!important}.enemy-ui.token .fighter-name{display:none}.enemy-ui.token .hp-text{font-size:10px}.enemy-ui.token .status{max-width:none;overflow:visible}.fighter-ui.down .bar{filter:grayscale()brightness(.75)}.fighter-ui.down .fighter-name{opacity:.7}.aim{aspect-ratio:3;opacity:0;background:radial-gradient(closest-side,#ffe39a00 60%,#ffe39a33);border:3px dashed #ffe39a;border-radius:50%;transition:opacity .15s}.aim.can{opacity:.55}.aim.on{opacity:1;background:radial-gradient(closest-side,#ffd45a22 40%,#ffd45a88);border:4px solid #ffd45a;animation:.7s ease-in-out infinite aim;box-shadow:0 0 18px #ffd45acc}@keyframes aim{50%{scale:1.08}}.battle.aiming .hand.has-selection~.hint{opacity:1;color:#ffe39a}.battle .table .hint.nudge{opacity:1;color:#ffe39a;animation:.4s shake}.aim.can.nudge{opacity:1;animation:.4s shake}.intent{filter:drop-shadow(0 2px 3px #0009);flex-direction:column;align-items:center;gap:6px;display:flex}.intent-icons{justify-content:center;align-items:center;gap:12px;animation:1.6s ease-in-out infinite bob;display:flex}.intent-icon{align-items:center;gap:3px;display:flex}.intent-icon img{flex:none;width:46px;height:46px}.intent-icon.small img{width:36px;height:36px}.intent-icon b{color:#fff;-webkit-text-stroke:4px #3a0d06;paint-order:stroke fill;text-shadow:0 2px 3px #0009;font-variant-numeric:tabular-nums;font-size:22px;font-weight:900;line-height:1}.intent.idle .intent-icon{opacity:.5;filter:grayscale()}.intent-name{text-align:center;color:#f7ecd0;text-shadow:0 1px 2px #000,0 0 4px #000;white-space:nowrap;font-size:11px;line-height:1.2}@keyframes bob{50%{translate:0 -4px}}.float{transform-origin:0 0;white-space:nowrap;color:#fff;-webkit-text-stroke:1.5px #4d0d05;text-shadow:0 3px #4d0d05;font-size:34px;font-weight:900;line-height:1;animation:1.25s ease-out forwards rise}.float.blocked,.float.block{color:#bfe4ff;-webkit-text-stroke-color:#0f2c47;paint-order:stroke fill;text-shadow:0 2px 4px #0f2c47cc;font-size:24px}.float.note{color:#ffe7a6;-webkit-text-stroke:1px #3d2508;text-shadow:0 2px #3d2508;font-size:18px}.float.heart{color:#ff7aa6;-webkit-text-stroke-color:#5d0d2a;font-size:46px}.float.clang,.float.counter-fly{animation:none}.float.clang{-webkit-text-stroke:0;width:120px;height:120px;text-shadow:none;background:radial-gradient(closest-side, #fff 0 16%, #ffe48acc 30%, #ffb02e00 62%), repeating-conic-gradient(from 6deg, #fff3b0 0 5deg, #0000 5deg 30deg);border-radius:50%;-webkit-mask:radial-gradient(closest-side,#000 35%,#0000 100%);mask:radial-gradient(closest-side,#000 35%,#0000 100%)}.float.heal{color:#b9f59a;-webkit-text-stroke-color:#143d08;text-shadow:0 3px #143d08}.float.heat{color:#ffb347;-webkit-text-stroke-color:#4d1a05;text-shadow:0 3px #4d1a05,0 0 10px #ff7a2a99}.float.melt{color:#bfe8ff;-webkit-text-stroke-color:#0f2c47;text-shadow:0 3px #0f2c47,0 0 10px #8fd0ff99}.float.thorns{color:#d8e88a;-webkit-text-stroke-color:#233d0a;text-shadow:0 3px #233d0a}.float.poison{color:#9be05a;-webkit-text-stroke-color:#1f3a07;text-shadow:0 3px #1f3a07,0 0 10px #6fcf3a99}.float.whack{-webkit-text-stroke:0;width:90px;height:90px;text-shadow:none;background:repeating-conic-gradient(from 10deg, #ffd27a 0 8deg, #0000 8deg 36deg);animation:none;-webkit-mask:radial-gradient(closest-side,#000 30%,#0000 100%);mask:radial-gradient(closest-side,#000 30%,#0000 100%)}.float.counter-fly{color:#ffe27a;-webkit-text-stroke-color:#4d2205;text-shadow:0 3px #4d2205,0 0 12px #ffcf5a;font-size:40px}@keyframes rise{0%{opacity:0;scale:.6}12%{opacity:1;scale:1.15}25%{scale:1}70%{opacity:1}to{opacity:0;translate:0 -70px}}.float.shield-flash{-webkit-text-stroke:0;width:170px;height:220px;text-shadow:none;background:radial-gradient(closest-side,#8fd0ff00 55%,#8fd0ffcc 78%,#8fd0ff00);border-radius:50%;animation:.6s ease-out forwards shield}.float.shield-flash.small{width:130px;height:150px}@keyframes shield{0%{opacity:0;scale:.7}25%{opacity:1}to{opacity:0;scale:1.25}}.banner{z-index:6;pointer-events:none;color:#fff6dc;white-space:nowrap;text-shadow:0 2px 4px #000;background:linear-gradient(90deg,#0000,#120c06d0 20% 80%,#0000);padding:10px 46px;font-family:Georgia,serif;font-size:34px;position:absolute;top:38%;left:50%;translate:-50% -50%}.banner.show{animation:.75s ease-out forwards banner}.banner.long.show{animation-duration:1.6s}@keyframes banner{0%{opacity:0;scale:1.3}20%{opacity:1;scale:1}75%{opacity:1}to{opacity:0}}.table{height:var(--table-h);z-index:4;padding-bottom:env(safe-area-inset-bottom);background:linear-gradient(#0000,#0b0e08b0 45%,#0b0e08e8);position:absolute;bottom:0;left:0;right:0}.hand{left:var(--hand-side);right:var(--hand-side);height:var(--card-h);touch-action:none;--lift:1.32;position:absolute;bottom:24px}.energy{color:#3a1a05;background:radial-gradient(circle at 38% 32%,#ffe79a,#f0a43a 45%,#a3511a 80%);border:3px solid #3d200b;border-radius:50%;grid-template-columns:auto auto;place-content:center;place-items:center;width:78px;height:78px;display:grid;position:absolute;bottom:112px;left:34px;box-shadow:0 0 18px #ffb84a88,inset 0 -6px 10px #0004}.energy b{font-size:30px;font-weight:900;line-height:1}.energy span{align-self:end;margin-bottom:4px;font-size:15px;font-weight:700}.energy.empty{filter:grayscale(.85)brightness(.7);box-shadow:none}.end-turn{color:#2f1705;background:linear-gradient(#ffd77b,#d68a2f);border:3px solid #3d200b;border-radius:25px;min-width:132px;height:50px;padding:0 16px;font-size:16px;font-weight:800;position:absolute;bottom:120px;right:26px;box-shadow:0 4px #6b3812,0 6px 14px #0008}.end-turn:active:not(:disabled){translate:0 3px;box-shadow:0 1px #6b3812}.end-turn:disabled{filter:grayscale(.9)brightness(.7);cursor:default}.end-turn:focus-visible,.back:focus-visible,.result button:focus-visible{outline-offset:3px;outline:3px solid #ffe5a5}.pile{touch-action:manipulation;background:0 0;border:0;align-content:end;justify-items:center;gap:0;width:70px;height:84px;padding:0;display:grid;position:absolute;bottom:18px}.pile-icon,.pile b{transition:translate .12s ease-out,filter .12s}.pile:hover .pile-icon,.pile:hover b{filter:brightness(1.12);translate:0 -2px}.pile:active .pile-icon,.pile:active b{filter:brightness(.95);translate:0 1px}.pile:focus-visible{outline-offset:2px;border-radius:8px;outline:3px solid #ffe5a5}.draw-pile{left:38px}.discard-pile{right:54px}.pile-icon{background:repeating-linear-gradient(45deg,#6c3c22 0 6px,#7d4a2b 6px 12px);border:2px solid #26170c;border-radius:6px;width:46px;height:60px;position:absolute;top:0;box-shadow:4px 4px #3a2213,7px 7px #24150b}.discard-pile .pile-icon{background:repeating-linear-gradient(-45deg,#3d4f5b 0 6px,#4d6270 6px 12px)}.pile b{border:2px solid var(--gold);text-align:center;background:#120b06;border-radius:12px;min-width:30px;margin-top:-26px;padding:2px 6px;font-size:14px;position:relative}.pile small{color:#d9cba9;margin-top:3px;font-size:10px}.hint{left:0;right:0;bottom:calc(var(--card-h) + 36px);text-align:center;color:#e9dec4c0;text-shadow:0 1px 2px #000;pointer-events:none;margin:0;font-size:12px;line-height:14px;position:absolute}.hand.has-selection~.hint,.hand.locked~.hint{opacity:0}.card{width:var(--card-w);height:var(--card-h);color:var(--ink);text-align:center;box-shadow:0 0 0 3px var(--frame), 0 6px 14px #0009;transform-origin:50% 100%;touch-action:none;--frame:var(--attack);will-change:transform;background:linear-gradient(#f6e9c8,#e3cd9f);border:3px solid #1b120b;border-radius:12px;grid-template-rows:auto auto auto 1fr;grid-template-columns:minmax(0,1fr);justify-items:center;padding:0;transition:transform .2s ease-out,box-shadow .2s,filter .2s;display:grid;position:absolute;bottom:0;left:50%}.card.skill{--frame:var(--skill);background:linear-gradient(#ecebd8,#d3d2b5)}.card.gift{--frame:var(--gift);background:linear-gradient(#efe2f2,#d6c1dc)}.card.gift .card-art{border-radius:40% 40% 4px 4px/28% 28% 4px 4px}.card.junk{--frame:#6b6259;background:linear-gradient(#d9d3c6,#b9b2a3)}.card-cost{z-index:2;color:#3a1a05;background:radial-gradient(circle at 38% 32%,#ffe79a,#f0a43a 50%,#a3511a);border:2px solid #2b1607;border-radius:50%;place-items:center;width:36px;height:36px;font-size:20px;font-weight:900;display:grid;position:absolute;top:-12px;left:-12px}.card-cost[hidden]{display:none}.card-name{color:#fff8e6;background:var(--frame);text-shadow:0 1px 1px #0008;white-space:nowrap;border:2px solid #1b120b;border-radius:4px;width:calc(100% + 10px);margin-top:7px;padding:4px 3px 4px 27px;font-family:Georgia,serif;font-weight:700;line-height:1.05}.card-art{aspect-ratio:26/18;background:radial-gradient(#fbf2d8,#d8c08d);border:2px solid #3a2616;border-radius:4px;width:calc(100% - 14px);margin-top:5px;position:relative;overflow:hidden}.card-art img{pointer-events:none;width:100%;height:100%;display:block}.card-kind{letter-spacing:.5px;color:#fff4dc;background:#2b1d14;border-radius:6px;margin-top:-7px;padding:0 8px;font-size:9px;position:relative}.card{--text-cap:15.5px}.card-text{align-self:center;padding:2px 8px 6px;font-size:12px;line-height:1.2}.card.long-text .card-text{padding:0 6px 4px;line-height:1.12}.card{--name-size:15px;--name-room:120px}.card-name{font-size:min(var(--name-size), var(--name-room) / var(--name-width,1));letter-spacing:-.02em}.card[data-rarity=uncommon]{--metal:linear-gradient(135deg, #fff, #c3ccd5 45%, #7d8a97);--metal-edge:#3f4a55;--metal-ink:#232a31;--metal-ring:#f1f4f7;--glow:#0000}.card[data-rarity=rare]{--metal:linear-gradient(135deg, #fff6c4, #f7c638 45%, #b97a12);--metal-edge:#6b4308;--metal-ink:#3a2304;--metal-ring:#ffd65a;--glow:#ffd65acc}.card-name,.card-stone{grid-area:1/1}.card-name:has(+.card-stone){padding-right:13px}.card:has(.card-stone){--name-room:110px}.card[data-rarity=uncommon] .card-name,.card[data-rarity=rare] .card-name{box-shadow:0 0 0 2px var(--metal-edge), 0 0 0 4px var(--metal-ring), 0 0 0 5px var(--metal-edge), 0 0 8px 2px var(--glow)}.card-stone{z-index:1;background:var(--metal);border:2px solid var(--metal-edge);width:14px;height:14px;box-shadow:0 0 6px var(--glow);border-radius:2px;place-self:center end;margin:7px -11px 0 0;rotate:45deg}.card[data-rarity=uncommon] .card-kind,.card[data-rarity=rare] .card-kind{color:var(--metal-ink);background:var(--metal);box-shadow:0 0 0 1px var(--metal-edge), 0 0 6px var(--glow);font-weight:700}.card-text b{color:#8a1d0f}.card.skill .card-text b{color:#1c4a6b}.card.gift .card-text b{color:#57247a}.card .card-text b.more{color:#1d6e1a;background:#d6efc4;border-radius:3px;padding:0 2px}.card .card-text b.less{color:#c4180a;background:#ffd8cf;border-radius:3px;padding:0 2px}.card.unplayable{filter:saturate(.35)brightness(.78)}.card.unplayable .card-cost{color:#5a2a1a;background:radial-gradient(circle at 38% 32%,#e6e0d0,#9b9387)}.card.frozen{filter:saturate(.55)brightness(.92)}.card.frozen:after{content:"";border-radius:inherit;pointer-events:none;z-index:5;background:radial-gradient(circle at 12% 10%,#ffffffd0 0 6%,#0000 22%),radial-gradient(circle at 88% 92%,#ffffffc0 0 5%,#0000 20%),radial-gradient(circle at 90% 8%,#e8f6ffb0 0 4%,#0000 16%),linear-gradient(160deg,#cfeaff99,#7fc4ff55 45%,#cfeaff88);position:absolute;inset:0;box-shadow:inset 0 0 0 3px #e8f8ffcc,inset 0 0 22px 6px #8fd0ffcc}.card.dearer .card-cost{color:#fff3e8;background:radial-gradient(circle at 38% 32%,#ff9a7a,#d8402a 50%,#7a1408);box-shadow:0 0 0 2px #ffd0b8,0 0 10px 2px #ff5a3acc}.card.selected{box-shadow:0 0 0 3px var(--frame), 0 0 0 7px #ffe39acc, 0 12px 28px #000c}.card.dragging{box-shadow:0 0 0 3px var(--frame), 0 0 0 7px #ffe39a, 0 18px 30px #000c;transition:none}.hand.drop-ready .card.dragging{box-shadow:0 0 0 3px var(--frame), 0 0 0 8px #9cf28a, 0 18px 30px #000c}.card.shake{animation:.35s shake}@keyframes shake{20%,60%{translate:-7px}40%,80%{translate:7px}}.hand.locked .card{cursor:default}.pile-viewer{z-index:15;padding:max(14px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom));background:#050703c4;grid-template:minmax(0,1fr)/minmax(0,1fr);place-items:center;animation:.18s fade;display:grid;position:fixed;inset:0}.pile-panel{width:min(860px,100%);max-height:100%;box-shadow:0 0 0 3px var(--gold), 0 20px 50px #000;background:#1d1810f2;border:2px solid #120b06;border-radius:14px;flex-direction:column;display:flex}.pile-panel header{border-bottom:1px solid #ffffff1a;align-items:center;gap:12px;padding:12px 12px 10px 22px;display:flex}.pile-panel h2{color:#f6edd6;flex:1;margin:0;font-family:Georgia,serif;font-size:22px;font-weight:700}.pile-close{color:#2f1705;background:linear-gradient(#ffd77b,#d68a2f);border:2px solid #3d200b;border-radius:50%;flex:none;width:40px;height:40px;font-size:26px;font-weight:800;line-height:1}.pile-close:focus-visible{outline-offset:3px;outline:3px solid #ffe5a5}.pile-cards{grid-template-columns:repeat(auto-fill, var(--card-w));overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;justify-content:center;gap:24px 22px;padding:24px 22px 26px;display:grid;overflow-y:auto}.pile-cards .card{will-change:auto;cursor:default;pointer-events:none;transition:none;position:relative;bottom:auto;left:auto;transform:none}.pile-empty{text-align:center;color:#d9cba9;grid-column:1/-1;margin:28px 0;font-size:16px}.result{z-index:20;background:#050703b0;place-items:center;animation:.4s fade;display:grid;position:absolute;inset:0}.result-card{text-align:center;min-width:280px;max-width:90vw;color:var(--ink);box-shadow:0 0 0 4px var(--gold), 0 20px 50px #000;background:linear-gradient(#f6e9c8,#dcc391);border:3px solid #1b120b;border-radius:14px;padding:26px 34px 28px}.result h2{color:#7a2412;margin:0 0 8px;font-family:Georgia,serif;font-size:40px}.result[data-outcome=defeat] h2{color:#3b3b47}.result p{margin:0 0 20px;font-size:15px;line-height:1.4}.result button{color:#2f1705;background:linear-gradient(#ffd77b,#d68a2f);border:3px solid #3d200b;border-radius:26px;min-width:170px;height:52px;font-size:18px;font-weight:800;box-shadow:0 4px #6b3812}.loading{z-index:30;background:#1b2016;place-items:center;font-family:Georgia,serif;font-size:20px;display:grid;position:absolute;inset:0}@keyframes fade{0%{opacity:0}}.card-bench{width:var(--card-w);height:var(--card-h);visibility:hidden;pointer-events:none;contain:strict;z-index:-1;position:fixed;top:0;left:0}@media (width<=640px),(height<=500px) and (orientation:landscape){:root{--card-w:96px;--card-h:134px;--table-h:214px;--hand-side:10px}.topbar{padding:8px 10px;padding-top:max(8px, env(safe-area-inset-top));gap:8px;font-size:12px}.place{text-wrap:balance;font-size:13px;line-height:1.15}.back{padding:5px 8px}.hand{--lift:1.58;bottom:16px}.energy{border-width:2px;width:52px;height:52px;bottom:156px;left:10px}.energy b{font-size:22px}.energy span{margin-bottom:2px;font-size:11px}.end-turn{min-width:104px;height:42px;font-size:14px;bottom:160px;right:10px}.pile{width:48px;height:54px;bottom:156px}.draw-pile{left:72px}.discard-pile{right:124px}.pile-icon{width:30px;height:38px;box-shadow:3px 3px #3a2213}.pile b{min-width:24px;margin-top:-14px;padding:0 5px;font-size:12px}.pile small{display:none}.pile-viewer{padding-left:10px;padding-right:10px}.pile-panel header{padding:8px 8px 8px 16px}.pile-panel h2{font-size:17px}.pile-cards{grid-template-columns:repeat(auto-fill, calc(var(--card-w) * 1.5));gap:18px 16px;padding:18px 10px 22px}.pile-cards .card{zoom:1.5}.hint{font-size:11px;top:-18px;bottom:auto}.card{box-shadow:0 0 0 2px var(--frame), 0 4px 10px #0009;border-width:2px;border-radius:8px}.card-cost{width:26px;height:26px;font-size:15px;top:-8px;left:-8px}.card-name{border-width:1px;width:calc(100% + 6px);margin-top:4px;padding:3px 1px 3px 20px}.card{--name-size:10px;--name-room:75px;--text-cap:11px}.card:has(.card-stone){--name-room:69px}.card-art{border-width:1px;width:calc(100% - 8px);margin-top:3px}.card-kind{margin-top:-5px;padding:0 5px;font-size:7px}.card-text{padding:1px 4px 3px;font-size:8.5px;line-height:1.12}.card.long-text .card-text{padding:0 3px 2px}.card-stone{border-width:1px;width:10px;height:10px;margin:4px -10px 0 0}.card-name:has(+.card-stone){padding-right:7px}.fighter-ui{width:112px}.crowd .enemy-ui{width:92px}.crowd .intent-name{font-size:10px}#overlay:has(.enemy-ui~.enemy-ui~.enemy-ui) .enemy-ui{width:80px}#overlay:has(.enemy-ui~.enemy-ui~.enemy-ui) #goblin-ui{width:96px}@media (width<=370px){#overlay:has(.enemy-ui~.enemy-ui~.enemy-ui) .enemy-ui{width:70px}#overlay:has(.enemy-ui~.enemy-ui~.enemy-ui) #goblin-ui{width:88px}}.bar{height:13px}.hp-text{font-size:10px}.block-badge{width:28px;height:28px;left:-16px}.block-badge b{font-size:11px}.fighter-name,.status{font-size:10px}.enemy-ui.token{width:32px!important}.enemy-ui.minion{width:46px!important}.enemy-ui.minion .fighter-name{display:none}.enemy-ui.token .hp-text{letter-spacing:-.3px;font-size:8.5px}.status{white-space:normal;text-overflow:clip;text-align:center;line-height:1.2;overflow:visible}.intent{gap:4px}.intent-icons{gap:9px}.intent-icon img{width:38px;height:38px}.intent-icon.small img{width:30px;height:30px}.intent-icon b{font-size:19px}.crowd .intent-icons{gap:4px}.crowd .intent-icon{gap:1px}.crowd .intent-icon.small img{width:26px;height:26px}.intent.packed .intent-name{display:none}#overlay:has(.intent.packed) #goblin-ui.fighter-ui{width:84px}:is(.throng .intent-icons:has(>.intent-icon+.intent-icon),.crowd .intent-icons:has(>.intent-icon>img[src$=icon-lick\.webp])){flex-direction:column;gap:0}.float.clang{width:90px;height:90px}.float.counter-fly{font-size:32px}.float{font-size:28px}.float.shield-flash{width:120px;height:160px}.float.shield-flash.small{width:90px;height:110px}.float.whack{width:64px;height:64px}.banner{padding:8px 30px;font-size:26px}}@media (height<=500px) and (orientation:landscape){:root{--table-h:74px}.battle{overflow:clip}.topbar{padding-top:max(6px, env(safe-area-inset-top));padding-bottom:6px;padding-left:max(10px, env(safe-area-inset-left));padding-right:max(10px, env(safe-area-inset-right));flex-wrap:nowrap}.topbar .relic-strip{flex-wrap:nowrap;flex:0 auto;order:0;min-width:0;overflow-x:auto}.topbar .relic{width:28px;height:28px}.table{z-index:5;background:linear-gradient(#0000,#0b0e08c0 55%,#0b0e08e8);padding-bottom:0}.hand{left:calc(140px + env(safe-area-inset-left));right:calc(192px + env(safe-area-inset-right));bottom:calc(-62px + env(safe-area-inset-bottom) / 2);--lift:1.58;--pick-rise:14px;--pick-left:calc(max(12px, env(safe-area-inset-left)) + 12px)}.energy{left:max(12px, env(safe-area-inset-left));bottom:12px}.pile{bottom:10px}.draw-pile{left:calc(max(12px, env(safe-area-inset-left)) + 64px)}.end-turn{right:max(10px, env(safe-area-inset-right));bottom:16px}.discard-pile{right:calc(max(10px, env(safe-area-inset-right)) + 130px)}.hint{top:max(6px, env(safe-area-inset-top));z-index:1;opacity:0;background:#0d110bf2;border:1px solid #ffe39a55;border-radius:14px;width:max-content;max-width:calc(100% - 300px);margin:0 auto;padding:7px 14px;font-size:13px;line-height:16px;transition:opacity .15s;position:fixed;bottom:auto;left:0;right:0}.battle.aiming:has(.hand.has-selection) .place{visibility:hidden}}.back[hidden]{display:none}.tip{z-index:50;color:#2b1d14;pointer-events:none;-webkit-user-select:none;user-select:none;background:linear-gradient(#f6e9c8,#dcc391);border:2px solid #1b120b;border-radius:10px;max-width:min(300px,100vw - 16px);padding:10px 12px;font-size:13px;line-height:1.35;position:fixed;box-shadow:0 8px 24px #000a}.tip-name{color:#7a2412;font-family:Georgia,serif;font-size:15px}.tip p{margin:6px 0 0}.tip .tip-state{font-weight:700}.pile-cards .card.choosable{pointer-events:auto;cursor:pointer;touch-action:pan-y;transition:translate .12s}.pile-cards .card.choosable:hover{translate:0 -6px}.pile-cards .card.choosable:focus-visible{outline-offset:3px;outline:3px solid #ffe5a5}.pile-cards .choice{flex-direction:column;grid-column:1/-1;align-items:center;gap:24px;padding:6px 0;display:flex}.choice .pair{align-items:center;gap:22px;display:flex}.choice .arrow{color:var(--gold);font-size:40px;font-weight:900}.choice .buttons{flex-wrap:wrap;justify-content:center;gap:14px;display:flex}.choice .go{min-width:150px}@media (width<=640px),(height<=500px) and (orientation:landscape){.choice .pair{gap:8px}.choice .arrow{font-size:28px}.choice .go{min-width:130px;height:44px;font-size:16px}}.pile-cards .ware-view{flex-direction:column;grid-column:1/-1;align-items:center;gap:20px;padding:6px 0;display:flex}.ware-cards{justify-content:center;align-items:flex-start;gap:22px;display:flex}.ware-cards figure{flex-direction:column;align-items:center;gap:12px;margin:0;display:flex}.ware-cards figcaption{letter-spacing:.04em;color:#d9cba9;font-size:14px;font-weight:800}.ware-text{text-align:center;color:#f6edd6;flex-direction:column;align-items:center;gap:6px;max-width:420px;display:flex}.ware-text img{background:radial-gradient(circle at 50% 40%,#33465a,#121a24);border-radius:50%;width:120px;height:120px;padding:8px;box-shadow:0 3px 8px #0008}.ware-text .name{font-family:Georgia,serif;font-size:24px}.ware-text .rarity{text-transform:uppercase;letter-spacing:.08em;color:#d9cba9;font-size:13px;font-weight:800}.ware-text .text{margin:4px 0 0;font-size:18px;line-height:1.4}.ware-reason{color:#ffb59a;text-align:center;margin:0;font-size:16px;font-weight:800}.ware-view .buttons{justify-content:center;display:flex}.ware-view .buy-ware{min-width:220px;height:56px;font-size:20px}.ware-view .buy-ware:disabled{filter:grayscale(.8)brightness(.8);cursor:not-allowed}@media (width<=640px),(height<=500px) and (orientation:landscape){.ware-cards{gap:8px}.ware-text img{width:96px;height:96px}.ware-text .name{font-size:21px}.ware-text .text{font-size:16px}.ware-view .buy-ware{min-width:200px;height:52px}}.upgrade-toggle{min-height:40px;font:inherit;color:var(--ink,#3a2a12);cursor:pointer;background:0 0;border:0;border-radius:20px;align-items:center;gap:8px;padding:0 12px;font-size:15px;font-weight:800;display:inline-flex}.upgrade-toggle[hidden]{display:none}.upgrade-toggle .box{background:#fffaf0;border:2px solid #3d200b;border-radius:6px;flex:none;width:22px;height:22px;position:relative}.upgrade-toggle[aria-checked=true] .box{background:linear-gradient(#ffd77b,#d68a2f)}.upgrade-toggle[aria-checked=true] .box:after{content:"✓";color:#2f1705;place-items:center;font-size:16px;display:grid;position:absolute;inset:0}.upgrade-toggle:focus-visible{outline-offset:2px;outline:3px solid #ffe5a5}.pile-panel .upgrade-toggle{color:#f6edd6}.pile-panel .upgrade-toggle .box{border-color:#120b06}.offer-tools{justify-content:center;margin:-6px 0 12px;display:flex}@media (width<=640px),(height<=500px) and (orientation:landscape){.upgrade-toggle{min-height:44px;font-size:14px}.pile-panel .upgrade-toggle{padding:0 6px}}.topbar,.run-bar{flex-wrap:wrap}.relic-strip{scrollbar-width:none;flex:1 0 100%;order:10;gap:6px;padding:2px 0;display:flex;overflow-x:auto}.relic-strip::-webkit-scrollbar{display:none}.relic-strip:empty{display:none}.relic{touch-action:manipulation;background:radial-gradient(circle at 50% 40%,#3b4430,#171c12);border:1px solid #ffffff2a;border-radius:50%;flex:none;width:36px;height:36px;padding:2px;position:relative;box-shadow:0 2px 4px #0008}.relic img{pointer-events:none;width:100%;height:100%;display:block}.relic:hover,.relic:focus-visible{border-color:var(--gold,#e2b25c);outline:none}.relic.dim img{opacity:.45}.relic.spent img{filter:grayscale()brightness(.7);opacity:.6}.relic-count{text-align:center;color:#2f1705;background:#f1e2bf;border-radius:8px;min-width:16px;height:16px;padding:0 3px;font-size:11px;font-weight:800;line-height:16px;position:absolute;bottom:-3px;right:-3px;box-shadow:0 0 0 1px #3d200b}.relic.flash{animation:.6s ease-out relic-flash}@keyframes relic-flash{0%{transform:scale(1);box-shadow:0 0 #ffe08a}35%{transform:scale(1.3);box-shadow:0 0 14px 6px #ffe08acc}to{transform:scale(1);box-shadow:0 2px 4px #0008}}.relic-tip-rarity{color:#6b5636;margin-left:8px;font-size:11px}.tip .relic-tip-tale{color:#5a4630;font-style:italic}@media (width<=640px),(height<=500px) and (orientation:landscape){.relic{width:30px;height:30px}.relic-strip{flex-wrap:wrap;overflow:visible}}.act-intro .number{text-transform:uppercase;letter-spacing:.14em;color:#8a5a10;font-size:15px;font-weight:800;display:block}.act-intro h1{font-size:38px}.act-intro .boss-ahead{color:#8a5a10;font-weight:800}.panel.boss-reward{width:min(780px,100%)}.boss-reward .step{text-transform:uppercase;letter-spacing:.08em;color:#8a5a10;margin-bottom:4px;font-size:13px;font-weight:800;display:block}.shards{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;display:grid}.shard{color:var(--ink);font:inherit;text-align:center;cursor:pointer;background:#fffaf0;border:2px solid #5a3b0c;border-radius:16px;flex-direction:column;align-items:center;gap:6px;padding:14px 12px 16px;transition:translate .12s,box-shadow .12s;display:flex}.shard:hover{translate:0 -4px;box-shadow:0 6px 14px #0004}.shard:focus-visible{outline-offset:3px;outline:3px solid #ffe5a5}.shard img,.boss-reward .taken img{background:radial-gradient(circle at 50% 40%,#33465a,#121a24);border-radius:50%;width:88px;height:88px;padding:6px;box-shadow:0 3px 8px #0008}.shard .name{color:#7a2412;font-family:Georgia,serif;font-size:19px}.shard .gift,.shard .catch{font-size:14px;line-height:1.35}.shard i{font-style:normal;font-weight:800}.shard .gift i{color:#2f6a1c}.shard .catch i{color:#9b2a14}.boss-reward .taken{justify-content:center;align-items:center;gap:12px;display:flex}.boss-reward .taken img{width:56px;height:56px;padding:4px}@media (width<=640px),(height<=500px) and (orientation:landscape){.shards{grid-template-columns:1fr;gap:10px}.shard{text-align:left;grid-template-columns:64px 1fr;grid-template-areas:"pic name""pic gift""pic catch";justify-items:start;gap:2px 12px;padding:10px 12px;display:grid}.shard img{grid-area:pic;align-self:center;width:64px;height:64px;padding:4px}.shard .name{grid-area:name;font-size:17px}.shard .gift{grid-area:gift}.shard .catch{grid-area:catch}}.panel.chest{padding-top:0;overflow:hidden}.panel.chest h1{margin-top:16px}.chest .stage{aspect-ratio:520/300;background:#20321f;border-top:3px solid #1b120b;border-bottom:3px solid #1b120b;width:calc(100% + 56px);margin:0 -28px 14px;position:relative;container-type:inline-size}.chest .scene,.chest .box img{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;display:block;position:absolute}.chest .scene{width:100%;height:100%;inset:0}.chest .box{aspect-ratio:320/260;width:52%;position:absolute;top:5.5%;left:24%}.chest .box img.shut,.chest .box img.ajar,.chest .box img.wide{width:100%;height:100%;inset:0}.chest .box img[hidden]{display:none}.chest .box img.ajar,.chest .box img.wide,.chest .stage[data-state=ajar] .shut,.chest .stage[data-state=open] .shut,.chest .stage[data-state=open] .ajar{visibility:hidden}.chest .stage[data-state=ajar] .ajar,.chest .stage[data-state=open] .wide{visibility:visible}.chest .stage[data-state=ajar] .box{animation:.26s ease-in-out chest-shake}.chest .stage[data-state=open] .box:after{content:"";pointer-events:none;background:radial-gradient(at 50% 70%,#fff3b0cc,#ffd77b55 40%,#0000 70%);animation:1.4s ease-out forwards chest-flash;position:absolute;inset:-30% -20% 20%}.chest .box img.prize{filter:drop-shadow(0 0 2.5cqw #ffe9a0)drop-shadow(0 .8cqw 1cqw #0008);width:38%;top:28%;left:50%;translate:-50% -50%}.chest .box img.prize.rise{animation:1.5s cubic-bezier(.2,.8,.3,1) forwards chest-rise,1.4s ease-in-out 1.5s infinite chest-hover}@keyframes chest-shake{25%{translate:-.8cqw}75%{translate:.8cqw}}@keyframes chest-flash{0%{opacity:1;scale:.6}to{opacity:0;scale:1.25}}@keyframes chest-rise{0%{opacity:0;translate:-50% 20%;scale:.3}60%{opacity:1}to{opacity:1;translate:-50% -78%;scale:1}}@keyframes chest-hover{50%{translate:-50% -86%}}.chest .said{min-height:2.8em}.chest .found{text-align:left;background:#fffaf0;border:2px solid #5a3b0c;border-radius:14px;align-items:center;gap:14px;max-width:440px;margin:0 auto 16px;padding:10px 16px;animation:.5s ease-out chest-found;display:flex}.chest .found[hidden]{display:none}.chest .found>img{flex:none;width:64px;height:64px}.chest .found p{margin:4px 0 0;font-size:14px}.chest .found .found-tale{color:#5a4630;font-size:13px;font-style:italic}.chest .found-name{color:#7a2412;font-family:Georgia,serif;font-size:18px}.chest .found-rarity{color:#6b5636;margin-left:8px;font-size:12px}.chest .found p:empty{display:none}@keyframes chest-found{0%{opacity:0;translate:0 8px}}.chest .choices{justify-content:center;display:flex}.chest .go:disabled{opacity:.55}.chest-flier{z-index:60;pointer-events:none;filter:drop-shadow(0 0 10px #ffe9a0);margin:0;position:fixed}@media (width<=640px),(height<=500px) and (orientation:landscape){.chest .stage{width:calc(100% + 32px);margin:0 -16px 12px}.chest .found{gap:10px;padding:8px 12px}.chest .found>img{width:52px;height:52px}}@media (prefers-reduced-motion:reduce){.chest .stage[data-state=ajar] .box,.chest .found,.chest .box img.prize.rise{animation:none}.chest .stage[data-state=open] .box:after{opacity:0;animation:none}}.collection-panel{color:#efe6cf;background:#1d1810;width:min(900px,100%)}.collection-scroll{overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;padding:14px 22px 26px;overflow-y:auto}.collection-top{z-index:2;text-align:center;background:#1d1810;border-bottom:1px solid #ffffff14;margin:-14px -22px 0;padding:14px 22px 4px;position:sticky;top:-14px}.collection-counts{color:#f6edd6;margin:0 0 8px;font-family:Georgia,serif;font-size:17px}.collection-top .portion{color:#ffd77b;margin-bottom:10px;font-size:14px}.collection-top .portion i{background:#ffffff1a;box-shadow:inset 0 1px 2px #0008}.collection-top .portion.all span{color:#9be07a}.collection-scroll h3{color:#ffd77b;margin:22px 0 6px;font-family:Georgia,serif;font-size:20px}.collection-scroll h4{letter-spacing:.1em;text-transform:uppercase;color:#b8ad92;margin:14px 0 10px;font-size:13px;font-weight:800}.collection-cards{isolation:isolate;grid-template-columns:repeat(auto-fill, var(--card-w));justify-content:center;gap:22px 20px;display:grid}.collection-cards figure{flex-direction:column;align-items:center;gap:6px;margin:0;display:flex}.collection-cards .card{will-change:auto;cursor:pointer;touch-action:pan-y;transition:translate .12s;position:relative;bottom:auto;left:auto;transform:none}.collection-cards .card:hover{translate:0 -4px}.collection-cards .card:focus-visible{outline-offset:3px;outline:3px solid #ffe5a5}.collection-cards .locked .card{cursor:default;pointer-events:none}.collection-cards .locked .card>:not(.lock){filter:brightness(0)opacity(.55)}.collection-cards .locked .card-text{visibility:hidden}.collection-cards .locked .card{--frame:#4a4033;background:linear-gradient(#5a4c38,#3a3024)}.lock{color:#e8dcc0;filter:drop-shadow(0 2px 3px #000c);width:34%;position:absolute;top:42%;left:50%;translate:-50% -50%}.collection-cards figcaption{max-width:calc(var(--card-w) + 10px);text-align:center;color:#d8cdb0;font-size:12px;font-weight:700;line-height:1.25}.collection-relics,.collection-bosses{grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.collection-relics li,.collection-bosses li{text-align:center;background:#ffffff0b;border:1px solid #ffffff14;border-radius:12px;flex-direction:column;align-items:center;gap:6px;padding:10px 6px;font-size:13px;line-height:1.25;display:flex;position:relative}.collection-relics li:focus-visible{outline-offset:2px;outline:3px solid #ffe5a5}.collection-relics img,.collection-bosses img{background:radial-gradient(circle at 50% 40%,#3b4430,#171c12);border-radius:50%;width:64px;height:64px;padding:5px;box-shadow:0 3px 8px #0008}.collection-relics .locked img,.collection-bosses .locked img{filter:brightness(0)opacity(.6)}.collection-relics .lock,.collection-bosses .lock{width:26px;top:44px}.collection-relics .locked span,.collection-bosses span{color:#b8ad92;font-size:12px;font-weight:700}.collection-bosses{grid-template-columns:repeat(3,1fr)}.collection-bosses b{color:#f6edd6;font-family:Georgia,serif;font-size:15px}.collection-bosses .locked b{color:#8a8170;letter-spacing:.2em}@media (width<=640px),(height<=500px) and (orientation:landscape){.collection-scroll{padding:12px 12px 22px}.collection-top{margin:-12px -12px 0;padding:12px 12px 4px;top:-12px}.collection-counts{font-size:15px}.collection-cards{grid-template-columns:repeat(auto-fill, calc(var(--card-w) * 1.4));gap:16px 12px}.collection-cards .card{zoom:1.4}.collection-cards figcaption{max-width:calc(var(--card-w) * 1.4)}.collection-relics{grid-template-columns:repeat(3,1fr);gap:8px}.collection-bosses{gap:8px}.collection-relics img,.collection-bosses img{width:52px;height:52px}.collection-relics .lock,.collection-bosses .lock{width:22px;top:36px}}.end.lost h1{color:#3b3b47}.panel.event{width:min(640px,100%)}.event .stage{aspect-ratio:520/300;background:#2c3a22;border:2px solid #5a3b0c;border-radius:10px;margin:0 0 14px;position:relative;overflow:hidden}.event .frame{transform-origin:var(--fx) var(--fy);will-change:transform;animation:24s ease-in-out infinite alternate event-film;position:absolute;inset:0}.event .scene,.event .part{width:100%;height:100%;display:block}.event .part{transform-origin:var(--ox) var(--oy);will-change:transform;pointer-events:none;position:absolute;inset:0}.event .air{pointer-events:none;position:absolute;inset:0}.event .story{text-align:left}.event .story p{margin:0 0 10px}.event .outcome{font-style:italic}.event .effects{flex-wrap:wrap;justify-content:center;gap:8px;margin:0 0 16px;padding:0;list-style:none;display:flex}.event .effects li{background:#fffaf0;border:2px solid #5a3b0c;border-radius:14px;padding:4px 12px;font-weight:800}.event .effects[data-mood=find] li{background:#fff3c4;border-color:#9a6a10}.event .effects[data-mood=hurt] li{background:#ffe1d6;border-color:#8a2a14}.event .ways{flex-direction:column;align-items:stretch;gap:10px;margin-top:14px;display:flex}.event .ways .go{align-self:center}.event .way{text-align:left;color:var(--ink);background:#f6efd9;border:2px solid #5a3b0c;border-radius:14px;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 16px;font-size:17px;font-weight:800;transition:translate .15s;display:flex;position:relative;box-shadow:0 3px #6b3812}.event .way small{color:#6b5636;font-size:13px;font-weight:600}.event .way:after{content:"";opacity:0;pointer-events:none;border-radius:17px;transition:opacity .2s;position:absolute;inset:-4px;box-shadow:0 0 0 2px #ffd56a,0 0 18px 5px #ffc85acc}@media (hover:hover){.event .way:not([aria-disabled=true]):hover{background:#fff7de;translate:0 -1px}.event .way:not([aria-disabled=true]):hover:after{opacity:1}}.event .way:not([aria-disabled=true]):focus-visible:after{opacity:.7}.event .way:focus-visible{outline-offset:3px;outline:3px solid #ffe5a5}.event .way:not([aria-disabled=true]):active{translate:0 2px;box-shadow:0 1px #6b3812}.event .way[aria-disabled=true]{filter:grayscale(.85);opacity:.6;cursor:not-allowed}@keyframes event-film{0%{transform:scale(1.01)}to{transform:scale(1.09)}}.event .breathe{animation:4.2s ease-in-out infinite event-breathe}@keyframes event-breathe{0%,to{transform:scale(1)}45%{transform:scale(1.012,1.04)}}.event .flutter{animation:2.8s ease-in-out infinite event-flutter}@keyframes event-flutter{0%,to{transform:scaleY(1)skew(0)}30%{transform:scaleY(1.7)skew(6deg)}55%{transform:scaleY(1.15)skew(-2deg)}80%{transform:scaleY(1.5)skew(-6deg)}}.event .flicker{animation:1.3s ease-in-out infinite event-flicker}@keyframes event-flicker{0%,to{transform:scale(1)}20%{transform:scale(1.03,1.1)}45%{transform:scale(1.01,1.02)}65%{transform:scale(1.04,1.14)}85%{transform:scaleY(1.04)}}.event .sway{animation:3.4s ease-in-out infinite event-sway}@keyframes event-sway{0%,to{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}.event .spin{animation:9s linear infinite event-spin}@keyframes event-spin{to{transform:rotate(360deg)}}.event .ripple{opacity:0;animation:3.6s ease-out infinite event-ripple;animation-delay:calc(var(--i) * -3.6s / var(--copies))}@keyframes event-ripple{0%{opacity:0;transform:scale(.35)}15%{opacity:.95}to{opacity:0;transform:scale(2)}}.event.revealing .rise{animation:event-rise .6s ease-out var(--at) both}.event.revealing .effects li{animation:.45s cubic-bezier(.3,1.6,.5,1) both event-pop;animation-delay:calc(var(--at) + var(--k) * .14s)}.event.revealing .effects{animation:none}.event.revealing .ways{animation:event-rise .5s ease-out var(--ways-at) both}@keyframes event-rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes event-pop{0%{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}.event .flash,.event .shine{pointer-events:none;position:absolute}.event .flash{opacity:0;background:#fff8e0;animation:.7s ease-out event-flash;inset:0}.event .stage[data-mood=hurt] .flash{background:#ff5a3a}@keyframes event-flash{0%{opacity:.85}to{opacity:0}}.event .shine{background:linear-gradient(100deg,#fff0 0%,#fff3c0bb 45%,#fffd 50%,#fff3c0bb 55%,#fff0 100%);width:45%;animation:1.3s ease-in-out .25s both event-shine;top:-20%;bottom:-20%;left:0;transform:translate(-120%)skew(-12deg)}@keyframes event-shine{to{transform:translate(260%)skew(-12deg)}}.event .stage[data-mood=hurt]{animation:.55s ease-out event-shake}@keyframes event-shake{0%,to{transform:none}15%{transform:translate(-8px,2px)}30%{transform:translate(7px,-3px)}45%{transform:translate(-6px,2px)}60%{transform:translate(4px,-1px)}75%{transform:translate(-2px,1px)}}@media (width<=640px),(height<=500px) and (orientation:landscape){.event .way{font-size:16px}}@media (prefers-reduced-motion:reduce){.panel.event,.event .frame,.event .part,.event .stage,.event.revealing .rise,.event.revealing .ways,.event.revealing .effects li{animation:none}.event .way,.event .way:after{transition:none}.event .ripple,.event .flash,.event .shine{display:none}}.screen:has(.forest-map){place-items:start center}.forest-map{flex-direction:column;gap:10px;width:min(520px,100%);display:flex}.legend{color:#e8dcc0;background:#0d110bb0;border:1px solid #ffffff1c;border-radius:12px;flex-wrap:wrap;justify-content:center;gap:4px 14px;margin:0;padding:6px 10px;font-size:13px;font-weight:700;list-style:none;display:flex}.legend li{align-items:center;gap:5px;display:inline-flex}.legend img{width:22px;height:22px}.forest{aspect-ratio:2/7;width:100%;box-shadow:0 0 0 3px var(--gold), 0 16px 40px #000;background:#20321f 50%/100% 100% no-repeat;border:3px solid #1b120b;border-radius:14px;position:relative;overflow:hidden;container-type:inline-size}.trails{width:100%;height:100%;position:absolute;inset:0}.trail path{fill:none;stroke-linecap:round}.trail .bed{stroke:#1b120b;stroke-opacity:.5;stroke-width:3.2px}.trail.plain .bed{stroke-opacity:.28;stroke-width:2.6px}.trail.plain .way{stroke:#e9d6a0;stroke-opacity:.6;stroke-width:1.5px;stroke-dasharray:.1 2.8}.trail.walked .way{stroke:#fff0c2;stroke-width:2.2px}.trail.open .bed{stroke:#3a1d05;stroke-opacity:.7}.trail.open .halo{stroke:#ffd77b;stroke-opacity:.5;stroke-width:2.8px;filter:blur(.9px)}.trails.march{will-change:transform}.trail.open .way{stroke:#ffd77b;stroke-width:2.1px;stroke-dasharray:3.4 2;animation:1.2s steps(18,end) infinite march}@keyframes march{to{stroke-dashoffset:-5.4px}}.stop,.start-goblin{background:0 0;border:0;width:14cqw;height:14cqw;margin:0;padding:0;position:absolute;translate:-50% -50%}.stop.boss{width:20cqw;height:20cqw}.map-top{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:auto;position:absolute;top:0;left:0}.stop img,.start-goblin{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;filter:drop-shadow(0 .6cqw .8cqw #000a);width:100%;height:100%;display:block}.start-goblin{width:15cqw;height:15cqw;animation:1.8s ease-in-out infinite map-bob}.stop-name{color:#ffe9b0;white-space:nowrap;pointer-events:none;opacity:0;background:#1b120bcc;border-radius:3cqw;padding:0 1.6cqw;font-size:3.1cqw;font-style:normal;font-weight:800;line-height:1.5;position:absolute;top:100%;left:50%;translate:-50% -6%}.stop.open .stop-name,.stop.boss .stop-name,.stop.here .stop-name{opacity:1}.stop.far img{filter:grayscale(.55)brightness(.62)drop-shadow(0 .6cqw .8cqw #000a)}.stop.passed img{filter:grayscale(.2)brightness(.8)drop-shadow(0 .6cqw .8cqw #000a)}.stop.passed:after{content:"✓";color:#fff;background:#5fa13a;border:.5cqw solid #1b120b;border-radius:50%;place-items:center;width:5.4cqw;height:5.4cqw;font-size:3.4cqw;font-weight:900;line-height:1;display:grid;position:absolute;top:-1cqw;right:-1cqw}.stop.surprise:before{content:"?";z-index:1;color:#fff;background:#6d3f9e;border:.5cqw solid #1b120b;border-radius:50%;place-items:center;width:5.4cqw;height:5.4cqw;font-size:3.4cqw;font-weight:900;line-height:1;display:grid;position:absolute;top:-1cqw;left:-1cqw}.stop.here img{animation:1.8s ease-in-out infinite map-bob}.stop.open,.stop.return{cursor:pointer;isolation:isolate}.stop.open:after,.stop.return:after{content:"";z-index:-1;opacity:0;pointer-events:none;background:radial-gradient(closest-side,#ffe49a 66%,#ffd77bc0 76%,#ffd77b00);border-radius:50%;animation:1.4s ease-in-out infinite glow;position:absolute;inset:-26%}.stop.open:focus-visible,.stop.return:focus-visible{outline-offset:.8cqw;border-radius:50%;outline:.8cqw solid #ffe5a5}@keyframes map-bob{50%{transform:translateY(-1.2cqw)}}@keyframes glow{50%{opacity:1}}@media (hover:hover){.stop.open:hover img,.stop.return:hover img{scale:1.1}.stop:hover .stop-name{opacity:1}}@media (prefers-reduced-motion:reduce){.trail.open .way,.stop.here img,.stop.open:after,.stop.return:after,.start-goblin{animation:none}}.calm .forest-map *,.calm .forest-map :after{animation-play-state:paused!important}@media (width<=640px),(height<=500px) and (orientation:landscape){.screen:has(.forest-map){padding-left:8px;padding-right:8px}.legend{gap:3px 10px;font-size:12px}}.look-autumn .legend{color:#ffe6b8;background:#241030c0}.look-autumn .forest{background-color:#4a2a4c;border-color:#1e0f26}.look-autumn .trail .bed{stroke:#2a1030}.look-autumn .trail.plain .way{stroke:#fff4d8;stroke-opacity:.8}.look-autumn .trail.walked .way{stroke:#fff}.look-autumn .trail.open .bed{stroke:#3a0f40;stroke-opacity:.75}.look-autumn .trail.open .way{stroke:#ffe08a}.look-autumn .trail.open .halo{stroke:#fff0b0}.look-autumn .stop-name{background:#2a1030cc}.look-autumn .stop.passed:after{background:#c98a1c}.look-winter .legend{color:#e4f0ff;background:#0e1a3cc4}.look-winter .forest{background-color:#2a3a6a;border-color:#0b1230}.look-winter .trail .bed{stroke:#10204a;stroke-opacity:.6}.look-winter .trail.plain .way{stroke:#3a5aa8;stroke-opacity:.85}.look-winter .trail.walked .way{stroke:#1f3a80}.look-winter .trail.open .bed{stroke:#0b1a50;stroke-opacity:.8}.look-winter .trail.open .way{stroke:#ffd77b}.look-winter .trail.open .halo{stroke:#fff0b0}.look-winter .stop-name{color:#e4f0ff;background:#0e1a3ccc}.look-winter .stop.passed:after{background:#3a86c8}.look-palace{width:min(440px,100%)}.look-palace .forest{aspect-ratio:100/130;background-color:#1a2a5c;border-color:#0b1230}.look-palace .legend{color:#e4f0ff;background:#0e1a3cc4}.look-palace .trail .bed{stroke:#10204a;stroke-opacity:.6}.look-palace .trail.plain .way{stroke:#3a5aa8;stroke-opacity:.85}.look-palace .trail.walked .way{stroke:#1f3a80}.look-palace .trail.open .bed{stroke:#0b1a50;stroke-opacity:.8}.look-palace .trail.open .way{stroke:#ffd77b}.look-palace .trail.open .halo{stroke:#fff0b0}.look-palace .stop-name{color:#e4f0ff;background:#0e1a3ccc}.look-palace .stop.passed:after{background:#3a86c8}.panel.camp{padding-top:0;overflow:hidden}.camp-art{aspect-ratio:16/9;object-fit:cover;border-bottom:3px solid #1b120b;width:calc(100% + 56px);margin:0 -28px 14px;display:block}.camp .said{min-height:2.8em}.camp .choices{flex-direction:column;align-items:center;gap:10px;display:flex}.camp .choices .go{min-width:min(320px,100%)}.camp .choices .go:disabled{opacity:.5;filter:grayscale(.6)}@media (width<=640px),(height<=500px) and (orientation:landscape){.camp-art{width:calc(100% + 32px);margin:0 -16px 12px}}.reward .gold{color:#8a5a10;font-size:22px;font-weight:900}.offer{flex-wrap:wrap;justify-content:center;gap:14px;margin:0 0 20px;display:flex}.card.pick{will-change:auto;transition:translate .12s;position:relative;bottom:auto;left:auto;transform:none}.card.pick:hover{translate:0 -6px}.card.pick:focus-visible{outline-offset:3px;outline:3px solid #ffe5a5}@media (width<=640px),(height<=500px) and (orientation:landscape){.offer{gap:8px}.card.pick{zoom:1.4}}.new-relic{background:#fffaf0;border:2px solid #5a3b0c;border-radius:16px;flex-direction:column;align-items:center;gap:4px;max-width:420px;margin:8px auto 14px;padding:12px 18px;transition:opacity .4s;display:flex}.new-relic .label{text-transform:uppercase;letter-spacing:.08em;color:#8a5a10;font-size:13px;font-weight:800}.new-relic img{background:radial-gradient(circle at 50% 40%,#3b4430,#171c12);border-radius:50%;width:96px;height:96px;padding:6px;box-shadow:0 3px 8px #0008}.new-relic .name{color:#7a2412;font-family:Georgia,serif;font-size:20px}.new-relic .rarity{color:#6b5636;font-size:12px}.new-relic .text{margin:4px 0 0}.new-relic.sent img{opacity:.35}@media (width<=640px),(height<=500px) and (orientation:landscape){.new-relic img{width:72px;height:72px}}.panel.shop{--awning:clamp(70px, 12vw, 120px);width:min(980px,100%);color:var(--ink);background:radial-gradient(70% 32% at 50% 14%,#ffc8664d,#0000 70%),repeating-linear-gradient(90deg,#0000 0 86px,#0000002e 86px 89px),linear-gradient(#70432a,#57331c 45%,#3f2413);position:relative}.panel.shop.again{animation:none}.shop .stall{padding:calc(var(--awning) + 2px) 28px 6px;border-radius:11px 11px 0 0;margin:-24px -28px 14px;position:relative}.shop .awning{height:var(--awning);border-radius:11px 11px 0 0;position:absolute;top:0;left:0;right:0;overflow:hidden}.shop .awning img{object-fit:cover;object-position:50% 100%;filter:drop-shadow(0 6px 5px #0007);width:100%;height:100%;display:block}.shop .garland{left:0;right:0;top:calc(var(--awning) - 12px);height:clamp(64px,11vw,108px);position:absolute;overflow:hidden}.shop .garland img{object-fit:cover;object-position:50% 0;width:100%;height:100%;position:absolute;inset:0}.shop .garland .lamps-a,.shop .garland .lamps-b{will-change:opacity;animation:2.6s ease-in-out infinite alternate lamps}.shop .garland .lamps-b{animation-delay:-1.3s}@keyframes lamps{0%{opacity:1}to{opacity:.3}}.shop .lamplight{left:10%;right:10%;top:var(--awning);pointer-events:none;will-change:opacity;background:radial-gradient(50% 50% at 50% 30%,#ffd88a40,#0000 70%);height:70%;animation:5s ease-in-out infinite alternate lamplight;position:absolute}@keyframes lamplight{0%{opacity:.55}to{opacity:1}}.shop .stall h1{color:#ffe39a;text-shadow:0 2px #3a1d08;background:linear-gradient(#9a6236,#6e3f1e);border:3px solid #2a170a;border-radius:10px;margin:0 0 8px;padding:2px 26px 4px;display:inline-block;position:relative;box-shadow:0 4px #2a170a,0 8px 14px #0008}.shop .keeper{justify-content:center;align-items:flex-end;gap:18px;margin:0;display:flex;position:relative}.shop .cat-figure{aspect-ratio:320/430;transform-origin:50% 96%;will-change:transform;flex:none;height:190px;animation:3.8s ease-in-out infinite breathe;position:relative}.shop .cat-figure img{width:100%;height:100%;position:absolute;inset:0}.shop .cat{filter:drop-shadow(0 4px 4px #0006)}.shop .cat-lid{opacity:0;animation:5.3s infinite blink}.shop .cat-coin{transform-origin:88.75% 51.6%;animation:7.5s ease-in-out 2s infinite toss}.shop .cat-hat{transform-origin:46% 31%}@keyframes breathe{50%{transform:scale(1.012,1.028)}}@keyframes blink{0%,94%,to{opacity:0}95.5%,98%{opacity:1}}@keyframes toss{0%,80%,to{transform:none}85%{transform:translateY(-24%)rotateY(360deg)}90%{transform:translateY(-30%)rotateY(720deg)}95%{transform:translateY(0)rotateY(1080deg)}97%{transform:translateY(-2%)rotateY(1080deg)}}.shop .cat-figure.tip-hat .cat-hat{animation:1.2s ease-in-out tip-hat}@keyframes tip-hat{30%,65%{transform:translate(-3%,-11%)rotate(-16deg)}}.shop .cat-figure.wink .lid0{animation:1s ease-out wink}@keyframes wink{0%{opacity:0}8%,75%{opacity:1}85%,to{opacity:0}}.flying-coin{z-index:50;pointer-events:none;will-change:transform, opacity;background:radial-gradient(circle at 35% 30%,#fff1b5,#e2b25c 55%,#9b6a1d);border-radius:50%;width:18px;height:18px;position:fixed;top:0;left:0;box-shadow:0 0 0 1.5px #5a3b0c}.shop .ware,.shop .relic-ware,.shop .extra{position:relative}.shop .hop{animation:.5s ease-out hop}@keyframes hop{30%{transform:translateY(-14px)scale(1.04)}60%{transform:translateY(2px)}}.shop .stamp{z-index:3;letter-spacing:1px;text-transform:uppercase;color:#b3261e;pointer-events:none;background:#fff6e266;border:3px double #b3261e;border-radius:6px;padding:2px 10px;font:900 18px/1.2 Georgia,serif;position:absolute;top:42%;left:50%;transform:translate(-50%,-50%)rotate(-12deg)}.shop .extra .stamp,.shop .relic-ware .stamp{font-size:15px;top:50%}.shop .stamp.fresh{animation:.35s cubic-bezier(.3,1.6,.6,1) stamp}@keyframes stamp{0%{opacity:0;transform:translate(-50%,-50%)rotate(-24deg)scale(2.6)}70%{opacity:1}}.shop .bubble{text-align:left;background:#fffaf0;border:2px solid #5a3b0c;border-radius:14px;flex:0 380px;margin:0 0 40px;padding:12px 16px;font-style:italic;position:relative}.shop .bubble:before{content:"";background:#fffaf0;border-bottom:2px solid #5a3b0c;border-left:2px solid #5a3b0c;width:18px;height:18px;position:absolute;bottom:18px;left:-11px;transform:rotate(45deg)}.shop .wares{background:linear-gradient(#9a6236,#7a4a26);border:3px solid #2a170a;border-radius:12px;flex-wrap:wrap;justify-content:center;gap:16px 14px;margin:0 0 20px;padding:16px 10px 14px;display:flex;box-shadow:inset 0 3px #c08850,0 6px #2a170a}.shop .ware{flex-direction:column;align-items:center;gap:8px;display:flex}.shop .price{font-variant-numeric:tabular-nums;color:#5b3a07;background:linear-gradient(#ffe9a8,#e2b25c);border:2px solid #5a3b0c;border-radius:14px;min-width:54px;padding:3px 12px;font-weight:900}.shop .card.pick{will-change:auto;transition:translate .15s ease-out,scale .15s ease-out;position:relative;bottom:auto;left:auto;transform:none}.shop .card .shine{z-index:2;pointer-events:none;border-radius:9px;position:absolute;inset:0;overflow:hidden}.shop .card .shine:before{content:"";opacity:0;background:linear-gradient(100deg,#fff0 0%,#fffbe866 45%,#fff0 90%);width:45%;position:absolute;top:-10%;bottom:-10%;left:0;transform:translate(-120%)skew(-12deg)}@media (hover:hover){.shop .card.pick:not([aria-disabled=true]):hover{translate:0 -10px;scale:1.04}.shop .card.pick:not([aria-disabled=true]):hover .shine:before{opacity:1;transition:transform .7s ease-out,opacity .1s;transform:translate(260%)skew(-12deg)}}.shop .card.pick[data-rarity=rare]:not([aria-disabled=true]) .shine:after{content:"";will-change:opacity;background:linear-gradient(115deg,#fff0 30%,#ffe48a55 48%,#fff0 66%) 0 0/100% 100%;border-radius:9px;animation:2.8s ease-in-out infinite rare;position:absolute;inset:0;box-shadow:inset 0 0 0 2px #ffd65a,inset 0 0 18px 4px #ffd65a99}@keyframes rare{0%,to{opacity:.25}50%{opacity:1}}.shop .card.pick:focus-visible,.shop .extra:focus-visible{outline-offset:3px;outline:3px solid #ffe5a5}.shop [aria-disabled=true]{filter:grayscale(.85)brightness(.85);cursor:not-allowed}.shop [aria-disabled=true][data-why=sold]{opacity:.45}.shop .extras{flex-wrap:wrap;justify-content:center;gap:14px;margin:0 0 22px;display:flex}.shop .extra{text-align:left;min-width:250px;color:var(--ink);background:#f6efd9;border:2px solid #5a3b0c;border-radius:14px;align-items:center;gap:12px;padding:8px 14px;font-weight:800;display:flex;box-shadow:0 3px #6b3812}.shop .extra img{width:auto;height:52px}.shop .extra .what{flex-direction:column;flex:1;font-size:16px;display:flex}.shop .extra small{color:#6b5636;font-size:12px;font-weight:600}.shop .extra:active{translate:0 2px;box-shadow:0 1px #6b3812}@media (width<=640px),(height<=500px) and (orientation:landscape){.shop .stall{margin:-20px -16px 12px;padding-left:16px;padding-right:16px}.shop .keeper{gap:8px}.shop .cat-figure{height:120px}.shop .wares{padding:12px 4px}.shop .bubble{flex-grow:1;flex-basis:0;margin-bottom:16px;padding:8px 10px;font-size:13px}.shop .wares{gap:12px 8px}.shop .card.pick{zoom:1.4}.shop .extra{width:100%;min-width:0}}.shop .shelf{flex-wrap:wrap;justify-content:center;gap:14px;margin:0 0 20px;display:flex}.shop .relic-ware{background:#f6efd9;border:2px solid #5a3b0c;border-radius:14px;align-items:center;gap:12px;min-width:300px;padding:8px 14px;display:flex;box-shadow:0 3px #6b3812}.shop .relic-ware .relic-icon{flex:none;display:flex}.shop .relic-ware .relic{width:56px;height:56px}.shop .relic-ware .buy{text-align:left;color:var(--ink);cursor:pointer;background:0 0;border:0;flex:1;justify-content:space-between;align-items:center;gap:10px;padding:6px 4px;font-size:16px;font-weight:800;display:flex}.shop .relic-ware .about{flex-direction:column;gap:3px;max-width:260px;display:flex}.shop .relic-ware .text{color:#5a3b0c;font-size:13px;font-weight:600;line-height:1.3}.shop .relic-ware .price{flex:none}.shop .relic-ware .buy:focus-visible{outline-offset:3px;outline:3px solid #ffe5a5}.shop .relic-ware .buy[aria-disabled=true]{filter:none;opacity:1}.shop .relic-ware:has(.buy[aria-disabled=true]) .relic img{opacity:.45;filter:grayscale(.85)}.shop .relic-ware:has(.buy[data-why=sold]){opacity:.55}@media (width<=640px),(height<=500px) and (orientation:landscape){.shop .relic-ware{width:100%;min-width:0}}@media (prefers-reduced-motion:reduce){.shop .cat-figure,.shop .cat-figure *,.shop .garland img,.shop .lamplight,.shop .hop,.shop .stamp.fresh,.shop .card .shine:after,.shop.panel{animation:none!important}.shop .card .shine:before{transition:none!important}.shop .card.pick{transition:none}.flying-coin{display:none}}.panel.shop.look-autumn{background:radial-gradient(70% 32% at 50% 14%,#ffb04a55,#0000 70%),repeating-linear-gradient(90deg,#0000 0 86px,#0000002e 86px 89px),linear-gradient(#5a2e5c,#432146 45%,#2e1632)}.look-autumn .stall h1{color:#ffd77a;text-shadow:0 2px #2a1030;background:linear-gradient(#7a3f7e,#54285a);border-color:#1e0f26;box-shadow:0 4px #1e0f26,0 8px 14px #0008}.look-autumn .lamplight{background:radial-gradient(50% 50% at 50% 30%,#ffb04a45,#0000 70%)}.look-autumn .wares{background:linear-gradient(#7a3f7e,#5e2f62);border-color:#1e0f26;box-shadow:inset 0 3px #a56aa8,0 6px #1e0f26}.panel.shop.look-winter{background:radial-gradient(70% 32% at 50% 14%,#ffd89a44,#0000 70%),repeating-linear-gradient(90deg,#0000 0 86px,#0000002e 86px 89px),linear-gradient(#2c4a82,#20376a 45%,#162650)}.panel.shop.look-palace{background:radial-gradient(70% 32% at 50% 14%,#bfe8ff44,#0000 70%),repeating-linear-gradient(90deg,#0000 0 86px,#0000002e 86px 89px),linear-gradient(#3a4a96,#2a3680 45%,#1c2560)}.look-winter .stall h1,.look-palace .stall h1{color:#e8f6ff;text-shadow:0 2px #0b1a3a;background:linear-gradient(#3f6ab0,#2c4e8c);border-color:#0b1230;box-shadow:0 4px #0b1230,0 8px 14px #0008}.look-winter .lamplight{background:radial-gradient(50% 50% at 50% 30%,#ffd89a3a,#0000 70%)}.look-palace .lamplight{background:radial-gradient(50% 50% at 50% 30%,#bfe8ff3a,#0000 70%)}.look-winter .wares,.look-palace .wares{background:linear-gradient(#3f6ab0,#2c4e8c);border-color:#0b1230;box-shadow:inset 0 3px #7fa6e0,0 6px #0b1230}.panel.raven{width:min(640px,100%)}.raven .start-bonus-art{margin-bottom:14px}.raven .raven-cost{color:#8a2a14}.raven .raven-note{color:#6b5636;margin:4px 0;font-size:13px}.raven .way{touch-action:manipulation}.start-bonus-art{aspect-ratio:520/300;background:#2c3a22;border:2px solid #5a3b0c;border-radius:10px;width:100%;max-width:520px;margin:0 auto 14px;position:relative;overflow:hidden}.start-bonus-art .frame{transform-origin:34% 42%;will-change:transform;animation:26s ease-in-out infinite alternate start-bonus-film;position:absolute;inset:0}.start-bonus-art .scene,.start-bonus-art .part{width:100%;height:100%;display:block}.start-bonus-art .part{transform-origin:var(--ox) var(--oy);will-change:transform;pointer-events:none;position:absolute;inset:0}.start-bonus-art .air{pointer-events:none;position:absolute;inset:0}@keyframes start-bonus-film{0%{transform:scale(1.01)}to{transform:scale(1.07)}}.start-bonus-art .breathe{animation:4.6s ease-in-out infinite start-bonus-breathe}@keyframes start-bonus-breathe{0%,to{transform:scale(1)}45%{transform:scale(1.012,1.035)}}.start-bonus-art .sway{animation:5.2s ease-in-out infinite start-bonus-sway}@keyframes start-bonus-sway{0%,to{transform:rotate(-2.2deg)}50%{transform:rotate(2.2deg)}}@media (width<=640px){.start-bonus-art{max-width:320px;margin-bottom:10px}}@media (height<=500px) and (orientation:landscape){.start-bonus-art{max-width:260px;margin-bottom:8px}}@media (prefers-reduced-motion:reduce){.start-bonus-art .frame,.start-bonus-art .part{animation:none}}.stats-window{z-index:15;padding:max(14px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom));background:#050703c4;grid-template:minmax(0,1fr)/minmax(0,1fr);place-items:center;animation:.18s fade;display:grid;position:fixed;inset:0}.stats-panel{color:#efe6cf;background:#141a10f2;border:1px solid #fff2;border-radius:16px;flex-direction:column;width:min(640px,100%);max-height:100%;display:flex;overflow:hidden;box-shadow:0 20px 60px #000}.stats-panel header{border-bottom:1px solid #ffffff1a;align-items:center;gap:12px;padding:12px 12px 10px 22px;display:flex}.stats-panel h2{color:#f6edd6;flex:1;margin:0;font-family:Georgia,serif;font-size:22px;font-weight:700}.stats-scroll{overscroll-behavior:contain;padding:16px 22px 24px;overflow-y:auto}.stats-scroll h3{color:#ffd77b;margin:22px 0 10px;font-family:Georgia,serif;font-size:17px;font-weight:700}.stats-empty{text-align:center;color:#d8cdb0;margin:30px 0;font-size:17px}.stats-none{color:#a99f86;margin:0;font-size:14px}.stats-tiles{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.stats-tile{background:#ffffff0d;border:1px solid #ffffff14;border-radius:10px;flex-direction:column;align-items:center;gap:2px;padding:10px 6px;display:flex}.stats-tile b{color:#fff3d0;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:24px;font-weight:800}.stats-tile span{color:#b8ad92;text-align:center;font-size:12px}.stats-acts,.stats-list,.stats-recent{margin:0;padding:0;list-style:none}.stats-acts li{grid-template-columns:76px 1fr 32px;align-items:center;gap:10px;padding:3px 0;font-size:14px;display:grid}.stats-acts i{height:14px;width:calc(var(--share) * 100%);background:linear-gradient(90deg,#d68a2f,#ffd77b);border-radius:7px;min-width:3px}.stats-acts b{text-align:right;font-variant-numeric:tabular-nums}.stats-list li{border-bottom:1px solid #ffffff10;align-items:center;gap:10px;padding:5px 0;font-size:14px;display:flex}.stats-list li span{flex:1}.stats-list li b{color:#d8cdb0;white-space:nowrap;font-size:13px;font-weight:600}.stats-list img{object-fit:contain;width:28px;height:28px}.stats-pair{grid-template-columns:1fr 1fr;gap:0 22px;display:grid}.stats-recent li{border-bottom:1px solid #ffffff10;grid-template-columns:58px 92px 1fr 90px;grid-template-areas:"when result where time"". .killer killer";column-gap:8px;padding:6px 0;font-size:13px;display:grid}.stats-recent .stats-when{color:#a99f86;grid-area:when}.stats-recent .stats-result{grid-area:result;font-weight:800}.stats-recent [data-result=won] .stats-result{color:#9be07a}.stats-recent [data-result=lost] .stats-result{color:#f08a6c}.stats-recent [data-result=abandoned] .stats-result{color:#b8ad92}.stats-recent .stats-where{grid-area:where}.stats-recent .stats-time{text-align:right;font-variant-numeric:tabular-nums;color:#d8cdb0;grid-area:time}.stats-recent .stats-killer{color:#a99f86;grid-area:killer;font-size:12px}.stats-recent .stats-killer:empty{display:none}.run-deck.run-stats{place-items:center;width:38px;padding:0;display:inline-grid}.run-stats svg{width:18px;height:18px}.go.stats-open{background:linear-gradient(#e8dcc0,#b9a77f);min-width:0;height:40px;margin-top:12px;font-size:15px}@media (width<=640px),(height<=500px) and (orientation:landscape){.stats-window{padding-left:10px;padding-right:10px}.stats-panel header{padding:8px 8px 8px 16px}.stats-scroll{padding:12px 14px 20px}.stats-tile b{font-size:19px}.stats-pair{grid-template-columns:1fr}.stats-recent li{grid-template-columns:52px 1fr 76px;grid-template-areas:"when result time"".where where"".killer killer"}.run-deck.run-stats{width:34px;padding:0}}.stats-failed{flex-direction:column;align-items:center;gap:4px;display:flex}.stats-retry{color:#fff3d0;min-height:44px;font:inherit;cursor:pointer;background:#ffffff14;border:1px solid #fff3;border-radius:10px;padding:0 22px;font-size:16px;font-weight:700}.stats-retry:hover{background:#ffffff24}.stats-crack{color:#d8cdb0;margin:0 0 8px;font-size:15px}.stats-crack b{color:#b8d9f0;font-size:18px}.stats-cracks{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.stats-cracks li{background:#13304a99;border:1px solid #b8d9f044;border-radius:999px;align-items:center;gap:8px;padding:4px 10px;font-size:13px;display:flex}.stats-cracks b{color:#e9f6ff;font-variant-numeric:tabular-nums}.stats-more{text-align:center;margin:22px 0 0}.run[data-screen=title] .run-bar{display:none}.title .choices{flex-direction:column;align-items:center;gap:12px;display:flex}.title .go{min-width:230px}.title .game-name{letter-spacing:.3em;text-transform:uppercase;color:#6b5a3a;margin-bottom:6px;font-size:13px;font-weight:800;display:block}.title .act-number{text-transform:uppercase;letter-spacing:.14em;color:#8a5a10;font-size:14px;font-weight:800;display:block}.title .past-runs{color:#ffe7a8;background:#3b2412;border-radius:999px;padding:4px 14px;font-family:Georgia,serif;font-size:16px;animation:.5s fade;display:inline-block}.crack-choice{width:min(400px,100%);margin:14px auto 18px}.leaving-warning{color:#5a1a0c;background:#7a241222;border:2px solid #7a2412;border-radius:10px;width:fit-content;max-width:100%;padding:6px 14px;font-size:15px;font-weight:700;margin:0 auto 14px!important}.crack-saying{color:#4a3518;font-family:Georgia,serif;font-style:italic;margin:0 0 8px!important}.crack-picker{justify-content:center;align-items:center;gap:10px;display:flex}.crack-level{color:#13304a;font-variant-numeric:tabular-nums;background:linear-gradient(#e9f6ff,#b8d9f0);border:2px solid #1d3a55;border-radius:999px;min-width:150px;padding:6px 16px;font-family:Georgia,serif;font-size:20px;box-shadow:0 3px #1d3a5577}.crack-step{color:#2f1705;background:linear-gradient(#ffd77b,#d68a2f);border:3px solid #3d200b;border-radius:50%;flex:none;width:44px;height:44px;font-size:26px;font-weight:900;line-height:1;box-shadow:0 3px #6b3812}.crack-step:disabled{filter:grayscale(.9)opacity(.45);box-shadow:none;cursor:default}.crack-step:focus-visible{outline-offset:2px;outline:3px solid #7a2412}.crack-changes{text-align:left;flex-direction:column;gap:4px;margin:12px 0 0;padding:0;font-size:14px;list-style:none;display:flex}.crack-changes li{color:#4a3518;border-radius:8px;align-items:baseline;gap:10px;padding:4px 10px;display:flex}.crack-changes li b{font-variant-numeric:tabular-nums;background:#3b241222;border-radius:50%;flex:none;place-items:center;width:22px;height:22px;font-size:12px;display:inline-grid}.crack-changes li.new{color:#e9f6ff;background:#13304a;font-weight:700}.crack-changes li.new b{color:#13304a;background:#b8d9f0}.crack-changes li.none{color:#6b5636;justify-content:center;font-style:italic}.title-more{flex-wrap:wrap;justify-content:center;gap:0 12px;display:flex}.title .title-more .go{min-width:0}.go.collection-open{background:linear-gradient(#e8dcc0,#b9a77f);height:40px;margin-top:12px;font-size:15px}.account{align-items:center;gap:8px;display:flex}.account[hidden]{display:none}.account .run-deck{align-items:center;text-decoration:none;display:inline-flex}.account-name{text-overflow:ellipsis;white-space:nowrap;color:#f4e2b8;max-width:14ch;font-size:13px;font-weight:800;overflow:hidden}.title .account{justify-content:center;margin-top:14px}.title .account-name{color:#6b5a3a}.account-wrap{display:inline-flex;position:relative}.run-deck.account-button{place-items:center;width:38px;padding:0;font-size:16px;display:inline-grid}.account-menu{z-index:5;background:#141a10f7;border:1px solid #fff2;border-radius:12px;flex-direction:column;gap:10px;min-width:160px;max-width:min(260px,100vw - 20px);padding:12px;display:flex;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 30px #000c}.account-menu[hidden]{display:none}.account-menu .account-name{max-width:none;font-size:14px}.account-menu .run-deck{justify-content:center}@media (width<=640px),(height<=500px) and (orientation:landscape){.run-deck.account-button{font-size:15px}}.run-taken{color:#efe6cf;text-align:center;background:#141a10f2;border:1px solid #fff2;border-radius:16px;max-width:min(420px,100% - 28px);padding:26px 24px 24px;box-shadow:0 20px 60px #000}.run-taken::backdrop{background:#050703d9}.run-taken p{color:#f6edd6;margin:0 0 20px;font-family:Georgia,serif;font-size:20px;line-height:1.35}.run-taken .here[disabled]{opacity:.6}.run-cards{grid-auto-rows:1fr;gap:10px;display:grid}.run-card{color:#efe6cf;text-align:left;width:100%;font:inherit;cursor:pointer;background:#ffffff0d;border:1px solid #ffffff2e;border-radius:14px;flex-direction:column;justify-content:center;gap:3px;padding:12px 14px;display:flex}.run-card:hover{background:#ffffff17;border-color:#ffd77bb3}.run-card:focus-visible{outline-offset:2px;outline:3px solid #ffd77b}.run-card-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.run-card-head b{color:#ffd77b;white-space:nowrap;font-size:17px;font-weight:800}.run-card-head time{color:#efe6cf99;white-space:nowrap;font-size:12px}.run-card small{color:#efe6cfcc;white-space:nowrap;text-overflow:ellipsis;font-size:13px;line-height:1.3;overflow:hidden}.run-choice-note{color:#efe6cfb3;margin-top:12px;font-size:13px;display:block}.run-notice{z-index:20;left:50%;bottom:max(18px, env(safe-area-inset-bottom));color:#efe6cf;background:#141a10f2;border:1px solid #fff2;border-radius:12px;max-width:calc(100% - 28px);padding:10px 16px;font-size:15px;position:fixed;translate:-50%;box-shadow:0 8px 30px #000}.login-ask-note{color:#efe6cfcc;margin:-8px 0 20px;font-size:14px;line-height:1.4;display:block}.login-ask-ways{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.login-ask .sign-in{place-items:center;text-decoration:none;display:inline-grid}.unlocked .points{color:#8a5a10;font-size:22px;font-weight:900}.unlocked h2{color:#5a3b0c;margin:6px 0 12px;font-family:Georgia,serif;font-size:19px}.new-crack{color:#13304a;background:linear-gradient(#e9f6ff,#b8d9f0);border:2px solid #1d3a55;border-radius:999px;align-items:center;gap:10px;padding:6px 18px 6px 12px;font-family:Georgia,serif;font-size:19px;font-weight:700;display:inline-flex;box-shadow:0 3px #1d3a5577}.new-crack i{clip-path:polygon(50% 0,100% 38%,64% 100%,22% 82%,0 30%);background:linear-gradient(160deg,#fff,#7fb6dc 60%,#3f7fae);width:18px;height:22px}.new-bosses{flex-direction:column;gap:8px;margin:4px 0 16px;padding:0;list-style:none;display:flex}.new-bosses li{text-align:left;color:#3b2412;background:#fffaf0;border:2px solid #5a3b0c;border-radius:14px;align-items:center;gap:12px;padding:8px 14px;font-family:Georgia,serif;font-size:16px;display:flex}.new-bosses img{background:radial-gradient(circle at 50% 40%,#3b4430,#171c12);border-radius:50%;flex:none;width:52px;height:52px;padding:4px}.unlocked .onward{margin-top:6px}.panel.victory.scene{width:min(760px,100%);padding-top:0;overflow:hidden}.victory .pictures{cursor:pointer;touch-action:pan-y;-webkit-user-select:none;user-select:none;margin:0 -28px 12px}.victory-art{aspect-ratio:16/9;object-fit:cover;border-bottom:3px solid #1b120b;width:100%;animation:.4s fade;display:block}.victory .step{letter-spacing:.04em;color:#6b5636;margin-bottom:6px;font-size:13px;font-weight:700;display:block}.victory .said{min-height:4.2em;font-size:16px}.victory .dots{justify-content:center;gap:8px;margin-bottom:14px;display:flex}.victory .dots i{background:#b9a77f;border:2px solid #3d200b;border-radius:50%;width:10px;height:10px}.victory .dots i.on{background:#d68a2f}.victory .choices{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.panel.victory.summary{width:min(640px,100%)}.victory.summary .time{font-size:17px;font-weight:800}.victory h2{color:#5a2a10;margin:16px 0 8px;font-family:Georgia,serif;font-size:20px}.victory ul{flex-wrap:wrap;justify-content:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}.victory .deck li{background:#fbf2db;border:2px solid #8a6a3a;border-radius:12px;padding:3px 10px;font-size:14px}.victory .deck li.upgraded{color:#24521a;border-color:#3f7a2a;font-weight:700}.victory .relics li{background:#fbf2db;border:2px solid #8a6a3a;border-radius:14px;align-items:center;gap:6px;padding:3px 10px 3px 4px;font-size:14px;display:flex}.victory .relics img{width:34px;height:34px}.victory .shards li{background:#eef3fb;border-color:#3d5a8a;font-weight:700}.victory .shards img{width:44px;height:44px}.victory .none{color:#6b5636}.victory .again{margin-top:22px}@media (width<=640px),(height<=500px) and (orientation:landscape){.victory .pictures{margin:0 -16px 10px}.victory .said{min-height:5.6em;font-size:15px}}.run{background:radial-gradient(at 50% 30%,#2c3a22,#12170e 75%);flex-direction:column;display:flex;position:fixed;inset:0;overflow:auto}.run-bar{z-index:2;padding:10px 18px;padding-top:max(10px, env(safe-area-inset-top));background:#0d110bdd;border-bottom:1px solid #ffffff14;align-items:center;gap:14px;font-size:15px;display:flex;position:sticky;top:0}.run[data-look=autumn]{background:radial-gradient(at 50% 30%,#4a2838,#170c14 75%)}.run[data-look=autumn] .run-bar{background:#160a12dd}.run[data-look=winter]{background:radial-gradient(at 50% 30%,#243a66,#0b1226 75%)}.run[data-look=winter] .run-bar,.run[data-look=palace] .run-bar{background:#0a1124dd}.run[data-look=palace]{background:radial-gradient(at 50% 30%,#2d3a78,#0a0f26 75%)}.run-bar .back{white-space:nowrap;margin-right:auto;font-size:13px}.run-bar .back[hidden]+.run-hp{margin-left:0}.run-bar:has(.back[hidden]) .run-gold{margin-right:auto}.run-hp,.run-gold{font-variant-numeric:tabular-nums;align-items:center;gap:6px;font-weight:800;display:inline-flex}.run-hp:before{content:"";width:16px;height:14px;clip-path:path("M8 14 L1 6.5 A3.6 3.6 0 0 1 8 2.2 A3.6 3.6 0 0 1 15 6.5 Z");background:#e0533b}.run-gold:before{content:"";background:radial-gradient(circle at 35% 30%,#fff1b5,#e2b25c 55%,#9b6a1d);border-radius:50%;width:15px;height:15px;box-shadow:0 0 0 1px #5a3b0c}.run-crack{color:#e9f6ff;font-variant-numeric:tabular-nums;cursor:help;background:#13304acc;border:1px solid #b8d9f077;border-radius:999px;align-items:center;gap:6px;padding:2px 10px 2px 6px;font-weight:800;display:inline-flex}.run-crack:before{content:"";clip-path:polygon(50% 0,100% 38%,64% 100%,22% 82%,0 30%);background:linear-gradient(160deg,#fff,#7fb6dc 60%,#3f7fae);width:13px;height:16px}.run-crack:focus-visible{outline-offset:3px;outline:3px solid #ffe5a5}.crack-tip{margin:4px 0 0;padding-left:20px}.run-deck,.go{color:#2f1705;background:linear-gradient(#ffd77b,#d68a2f);border:3px solid #3d200b;border-radius:22px;font-weight:800;box-shadow:0 3px #6b3812}.run-deck{white-space:nowrap;justify-content:center;align-items:center;gap:6px;height:38px;padding:0 16px;font-size:14px;display:inline-flex}.run-bar .bar-icon{flex:none;width:18px;height:18px;display:none}.run-deck:focus-visible,.go:focus-visible{outline-offset:3px;outline:3px solid #ffe5a5}.run-deck:active,.go:active{translate:0 2px;box-shadow:0 1px #6b3812}.screen{padding:24px 14px max(24px, env(safe-area-inset-bottom));flex:1;place-items:center;display:grid}.panel{text-align:center;width:min(560px,100%);color:var(--ink);box-shadow:0 0 0 4px var(--gold), 0 20px 50px #000;background:linear-gradient(#f6e9c8,#dcc391);border:3px solid #1b120b;border-radius:14px;padding:24px 28px 28px;animation:.3s fade}.panel h1{color:#7a2412;margin:0 0 10px;font-family:Georgia,serif;font-size:34px}.panel p{margin:0 0 16px;font-size:15px;line-height:1.4}.go{min-width:170px;height:50px;padding:0 22px;font-size:18px}.panel .note{color:#6b5636;font-size:13px}.surprise-note{color:#ffe7a8;background:#3b2412;border-radius:999px;margin:0 0 12px;padding:4px 14px;font-family:Georgia,serif;font-size:17px;animation:.5s fade;display:inline-block}.go.skip{background:linear-gradient(#e8dcc0,#b9a77f)}@media (width<=640px),(height<=500px) and (orientation:landscape){.run-bar{padding:6px;padding-top:max(6px, env(safe-area-inset-top));background:#0d110b;gap:6px 3px;font-size:14px}.run[data-look=autumn] .run-bar{background:#160a12}.run[data-look=winter] .run-bar,.run[data-look=palace] .run-bar{background:#0a1124}.run-bar .back{padding:5px 4px;font-size:14px}.run-bar .back-word{display:none}.run-bar .run-hp,.run-bar .run-gold{gap:2px}.run-bar .run-crack{gap:3px;padding:1px 6px 1px 4px}.run-bar:has(.run-crack:not([hidden])):after{content:"";flex-basis:100%;order:8}.run-bar .run-crack{order:9}.run-bar:has(.run-crack:not([hidden])) .relic-strip{flex:1 1 0;min-width:0}.run-bar .run-crack:before{width:11px;height:14px}.run-deck{height:34px;padding:0 11px;font-size:13px}.run-bar .run-deck{border-width:2px;gap:3px;height:32px;padding:0 5px}.run-bar .run-hp,.run-bar .run-gold,.run-bar .run-crack{font-size:13px}.run-bar .bar-icon{width:16px;height:16px;display:block}.run-bar .bar-word{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.run-bar .run-deck.run-map,.run-bar .run-deck.account-in,.run-bar .run-deck.run-stats,.run-bar .run-deck.account-button{width:32px;padding:0}.panel{padding:20px 16px 22px}.panel h1{font-size:28px}}@media (height<=500px) and (orientation:landscape){.run-bar{padding-left:max(8px, env(safe-area-inset-left));padding-right:max(8px, env(safe-area-inset-right));flex-wrap:nowrap}.run-bar:has(.run-crack:not([hidden])):after{content:none}.run-bar>*{order:2}.run-bar .back{order:0;margin-right:0}.run-bar .run-crack{order:1}:is(.run-bar .relic-strip,.run-bar:has(.run-crack:not([hidden])) .relic-strip){flex-wrap:nowrap;flex:1 1 0;order:1;min-width:0;overflow-x:auto}.run-bar .relic-strip:empty{display:block}.screen{padding-top:14px;padding-bottom:max(14px, env(safe-area-inset-bottom))}}.portion{color:#5a3b0c;flex-direction:column;align-items:center;gap:6px;max-width:360px;margin:0 auto 18px;font-size:15px;font-weight:700;display:flex}.portion i{background:#3b241226;border-radius:6px;width:100%;height:12px;display:block;overflow:hidden;box-shadow:inset 0 1px 2px #3b241255}.portion i:before{content:"";height:100%;width:calc(var(--share) * 100%);border-radius:inherit;background:linear-gradient(90deg,#d68a2f,#ffd77b);display:block}.portion.all span{color:#2f6b1e}.load-failure details{text-align:left;max-width:100%;margin:12px 0}.load-failure pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.spectate-controls{border-top:1px solid #77845a80;margin-top:18px;padding-top:14px}.spectate-controls h3{margin:0 0 6px;font-size:19px}.spectate-controls .spectate-status{margin:0 0 12px}.spectate-live:not([hidden]){grid-template-columns:1fr auto;gap:8px;display:grid}.spectate-live input{box-sizing:border-box;color:#eee8ce;text-overflow:ellipsis;-webkit-user-select:text;user-select:text;background:#141a12;border:1px solid #77845a;border-radius:10px;width:100%;min-width:0;min-height:42px;padding:8px 10px;font:13px/1.2 ui-monospace,Menlo,monospace}.spectate-controls .spectate-start{width:100%}.spectate-controls .spectate-stop{color:#e0a08a;text-underline-offset:3px;background:0 0;border:0;grid-column:1/-1;justify-self:start;min-height:0;padding:6px 0;font-size:14px;text-decoration:underline}.spectate-controls .spectate-stop:hover{color:#f4b9a4;background:0 0}.spectate-notice{z-index:90;text-align:center;color:#f7edcf;pointer-events:none;background:#25241ee8;padding:4px 8px;font-size:12px;position:fixed;bottom:0;left:0;right:0}html[data-spectator] #again,html[data-spectator] #end-turn{visibility:hidden}html[data-spectator] #hand{pointer-events:none}html[data-spectator] #run-stats,html[data-spectator] #run-map,html[data-spectator] #battle-map{display:none}.spectate-vote:not([hidden]){background:#283021;border:1px solid #77845a80;border-radius:12px;margin-top:14px;padding:12px 14px}.spectate-controls .spectate-vote label{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;margin:0;font-size:16px;display:flex}.spectate-vote input{appearance:none;cursor:pointer;background:#4b4f44;border:1px solid #77845a;border-radius:14px;flex:none;width:48px;height:28px;margin:0;transition:background .15s;position:relative}.spectate-vote input:before{content:"";background:#eee8ce;border-radius:50%;width:22px;height:22px;transition:transform .15s;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #0008}.spectate-vote input:checked{background:#7f9a4a}.spectate-vote input:checked:before{transform:translate(20px)}.spectate-vote input:focus-visible{outline-offset:2px;outline:3px solid #ffe5a5}.spectate-controls .spectate-vote p{margin:6px 0 0;font-size:13px}.vote-panel{z-index:60;box-sizing:border-box;color:#2b1d14;background:linear-gradient(#f6e9c8,#dcc391);border:2px solid #1b120b;border-radius:12px;grid-template-columns:auto 1fr auto auto;align-items:center;column-gap:12px;width:min(780px,100vw - 32px);max-height:34dvh;padding:10px 14px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;display:grid;position:fixed;top:52px;left:50%;overflow:auto;transform:translate(-50%);box-shadow:0 0 0 3px #e2b25c,0 12px 30px #000a}.vote-panel [hidden]{display:none!important}.vote-head{display:contents}.vote-title{color:#7a2412;overflow-wrap:anywhere;grid-area:1/1;margin:0;font-family:Georgia,serif;font-size:19px}.vote-timer{white-space:nowrap;font-variant-numeric:tabular-nums;color:#2b1d14;grid-area:1/3;font-size:18px;font-weight:800}.vote-note{overflow-wrap:anywhere;grid-area:1/2;margin:0;font-size:13px;line-height:1.35}.vote-note:empty{visibility:hidden}.vote-self{color:#ffe5a5;white-space:nowrap;cursor:pointer;background:#2b1d14;border:2px solid #3d200b;border-radius:17px;grid-area:1/4;height:34px;padding:0 16px;font-size:14px;font-weight:800}.vote-options,.vote-join{grid-column:1/-1;margin-top:8px}.vote-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.vote-option{text-align:left;color:#2b1d14;width:100%;font:inherit;cursor:pointer;background:#fbf3de;border:2px solid #8a6a3e;border-radius:9px;gap:2px;padding:6px 9px;display:grid}.vote-option:hover:not(:disabled){border-color:#3d200b}.vote-option[aria-pressed=true]{background:linear-gradient(#ffd77b,#d68a2f);border-color:#3d200b;box-shadow:0 2px #6b3812}.vote-option.won{outline-offset:1px;outline:3px solid #7a2412}.vote-option:disabled{cursor:default;opacity:.85}.vote-option:disabled:not([aria-pressed=true]):not(.won){opacity:.6}.vote-option.end .vote-name{font-style:italic}.vote-option-top{align-items:center;gap:8px;display:flex}.vote-cost{color:#fff6dc;background:#3f6e8c;border:2px solid #1b120b;border-radius:50%;flex:none;place-items:center;width:22px;height:22px;font-size:13px;font-weight:800;display:grid}.vote-name{overflow-wrap:anywhere;flex:1;font-size:15px;font-weight:700}.vote-count{text-align:center;color:#ffe5a5;background:#2b1d14;border-radius:10px;flex:none;min-width:24px;padding:1px 6px;font-size:13px}.vote-who{color:#5a4430;overflow-wrap:anywhere;font-size:12px}.vote-who:empty{display:none}.vote-join{grid-template-columns:1fr auto;gap:8px;display:grid}.vote-ask{grid-column:1/-1;font-size:14px;line-height:1.35}.vote-join input{box-sizing:border-box;color:#2b1d14;-webkit-user-select:text;user-select:text;background:#fffaf0;border:2px solid #8a6a3e;border-radius:8px;width:100%;padding:9px 10px;font-size:16px}.vote-go{color:#2f1705;cursor:pointer;background:linear-gradient(#ffd77b,#d68a2f);border:3px solid #3d200b;border-radius:21px;height:42px;padding:0 18px;font-size:16px;font-weight:800;box-shadow:0 3px #6b3812}.vote-error{color:#7a2412;grid-column:1/-1;margin:0;font-size:13px}.vote-error:empty{display:none}.vote-option:focus-visible,.vote-self:focus-visible,.vote-go:focus-visible{outline-offset:2px;outline:3px solid #7a2412}@media (width<=640px){.vote-panel{top:max(52px, calc(env(safe-area-inset-top) + 46px));width:auto;max-height:44dvh;padding:8px 10px;display:block;left:16px;right:16px;transform:none}.vote-head{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:6px;display:flex}.vote-title{font-size:16px}.vote-options{grid-template-columns:1fr 1fr;gap:5px;margin-top:0}.vote-option{padding:5px 7px}.vote-name{font-size:13px}.vote-note{margin-top:6px}.vote-note:empty{display:none}.vote-self{width:100%;height:36px;margin-top:6px;display:block}.vote-join{grid-template-columns:1fr;margin-top:0}}.map-peek{z-index:14;padding:max(14px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom));background:#050703c4;grid-template:minmax(0,1fr)/minmax(0,1fr);place-items:center;animation:.18s fade;display:grid;position:fixed;inset:0}.map-peek-panel{background:#141a10f2;border:1px solid #fff2;border-radius:16px;flex-direction:column;width:min(580px,100%);height:100%;display:flex;overflow:hidden;box-shadow:0 20px 60px #000}.map-peek-panel header{border-bottom:1px solid #ffffff1a;align-items:center;gap:12px;padding:12px 12px 10px 22px;display:flex}.map-peek-panel h2{color:#f6edd6;flex:1;margin:0;font-family:Georgia,serif;font-size:22px;font-weight:700}.map-peek-scroll{overscroll-behavior:contain;touch-action:pan-y;flex:1;justify-content:center;padding:14px 14px 22px;display:flex;overflow-y:auto}.map-peek-map{width:min(520px,100%);height:max-content}.map-peek-map .forest-map{width:100%}.map-peek .stop{cursor:default}.battle-map{color:#ffe9b0;background:#0007;border:1px solid #fff2;border-radius:6px;padding:6px 12px;font-weight:800}.battle-map:hover{border-color:var(--gold)}.battle-map:focus-visible{outline-offset:2px;outline:3px solid #ffe5a5}@media (width<=640px),(height<=500px) and (orientation:landscape){.map-peek{padding-left:10px;padding-right:10px}.map-peek-panel header{padding:8px 8px 8px 16px}.map-peek-scroll{padding:10px 8px 18px}.battle-map{padding:5px 8px}}.audio-open{color:#efe9d3;font:inherit;cursor:pointer;background:#283021;border:1px solid #6d7652;border-radius:7px;flex:none;padding:5px 7px;font-size:12px}@media (width<=640px),(height<=500px) and (orientation:landscape){.run-bar .audio-open{border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;padding:0;font-size:0;display:inline-flex}.run-bar .audio-open:before{content:"";background:currentColor;width:16px;height:16px;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M2 4h14M2 9h14M2 14h14' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='6' cy='4' r='2.4'/%3E%3Ccircle cx='12' cy='9' r='2.4'/%3E%3Ccircle cx='7' cy='14' r='2.4'/%3E%3C/svg%3E") 50%/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M2 4h14M2 9h14M2 14h14' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='6' cy='4' r='2.4'/%3E%3Ccircle cx='12' cy='9' r='2.4'/%3E%3Ccircle cx='7' cy='14' r='2.4'/%3E%3C/svg%3E") 50%/contain no-repeat}}.audio-settings{box-sizing:border-box;color:#eee8ce;background:#20271c;border:1px solid #77845a;border-radius:16px;width:min(420px,100vw - 28px);max-height:calc(100dvh - 28px);margin:auto;padding:22px;font:16px/1.5 Georgia,serif;overflow:auto;box-shadow:0 12px 70px #0009}.audio-settings::backdrop{background:#080c0ac4}.audio-settings header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.audio-settings h2{margin:0;font-size:22px}.audio-settings label{justify-content:space-between;margin-top:16px;display:flex}.audio-settings input[type=range]{accent-color:#b3c87a;width:100%;min-height:28px;margin:12px 0 20px;display:block}.audio-settings p{color:#c1c6ad;font-size:14px}.audio-settings h2{line-height:1.2}.audio-preview,.spectate-controls button{box-sizing:border-box;color:#f1ead8;min-height:42px;font:inherit;cursor:pointer;background:#3b482d;border:1px solid #77845a;border-radius:10px;padding:8px 16px;font-size:15px;transition:background .15s}.audio-preview:hover,.spectate-controls button:hover{background:#4a5a37}.audio-preview:disabled{opacity:.6;cursor:default}@media (height<=450px){.audio-settings{padding:12px 20px}.audio-settings header{margin-bottom:4px}.audio-settings label{margin-top:6px}.audio-settings input[type=range]{margin:2px 0 6px}.audio-settings p{margin:8px 0}}
