.sheet-scrim{position:absolute;z-index:10;inset:0;display:grid;place-items:center;background:#101221bb;padding:4%}.sheet{display:flex;flex-direction:column;width:100%;max-height:91%;min-height:0;overflow:hidden;color:#30263a;background:linear-gradient(120deg,#fff4d9,#f4dfb9);border:1.5px solid #d5a74f;border-radius:15px;box-shadow:0 12px 45px #120d23aa}.sheet-head{flex:none;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px;color:#fff2ce;background:linear-gradient(125deg,#13273c,#282345 70%,#412545);border-bottom:2px solid #c89952}.sheet-head h1{font-size:clamp(16px,5.8cqw,28px);line-height:1.05;margin:0;text-align:center}.round-icon{width:clamp(30px,8.5cqw,43px);aspect-ratio:1;display:grid;place-items:center;border:1px solid #b79770;border-radius:50%;background:#fff5da10;color:#fff1d3}.round-icon svg{width:55%;height:55%}.sheet-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.rule-scroll,.records-scroll,.small-sheet-body{padding:clamp(12px,3.6cqw,22px)}.rule-list,.recent{list-style:none;padding:0;margin:0}.rule-list li{display:grid;grid-template-columns:1.45em 1fr;gap:.65em;padding:.72em 0;border-bottom:1px solid #9c744535}.rule-list li:first-child{padding-top:0}.rule-list svg{width:1.2em;height:1.2em;color:#996126;margin-top:.12em}.rule-list h2,.records-scroll h2{margin:0 0 .35em;font-size:clamp(14px,3.95cqw,19px);color:#302339}.rule-list p,.demo-note,.small-sheet-body,.empty-records,.pending-receipt{font:500 clamp(12px,3.2cqw,15px) / 1.5 system-ui,sans-serif;margin:0}.demo-note{color:#63543e;font-size:clamp(11px,2.8cqw,13px);margin:.85em 0 0}.sheet-records,.sheet-leaderboard{width:100%;height:100%;max-height:100%;border-radius:0;border:0;position:absolute;inset:0}.sheet-records .sheet-head,.sheet-leaderboard .sheet-head{padding:max(12px,3.5cqw)}.recent{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px 4px}.recent li{min-width:0;text-align:center;display:grid;gap:3px;align-content:start}.swatch{background:var(--swatch, #63606a);color:#fff9e4;border:1px solid #ffffff66;border-radius:5px;font:700 clamp(9px,2.65cqw,13px) / 1.13 system-ui,sans-serif;padding:.4em .22em;overflow-wrap:break-word}.recent .swatch{min-height:3.15em;display:grid;place-items:center}.recent small{font:600 clamp(8px,2.1cqw,11px) / 1.2 system-ui,sans-serif;color:#574831}.record-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:1.2em 0 1.3em;border-block:1px solid #bf9b60;padding:.75em 0}.record-totals>div{display:flex;flex-direction:column-reverse;align-items:center;text-align:center;gap:.15em;padding:0 .15em;border-right:1px solid #d1b790}.record-totals>div:last-child{border:0}.record-totals dt{font:600 2.75cqw/1.1 system-ui,sans-serif;color:#655543}.record-totals dd{margin:0;font-size:clamp(15px,4.5cqw,24px);font-weight:700}.pending-receipt,.empty-records{margin:.8em 0;color:#4a6155}.empty-records{display:flex;align-items:center;gap:8px}.empty-records svg{width:20px;flex:none}.receipt{margin:.7em 0;background:#fff7e9;border:1px solid #dbc49b;border-radius:10px;padding:.82em;color:#392e3b}.receipt header,.receipt-rooms,.receipt-amounts{display:flex;align-items:center;justify-content:space-between;gap:.5em;flex-wrap:wrap}.receipt header span{color:#17644a;font:700 3cqw/1.2 system-ui,sans-serif}.receipt[data-outcome=lost] header span{color:#ab4037}.receipt time{font:500 2.6cqw/1.35 system-ui,sans-serif;color:#665b52}.receipt-rooms{margin:.7em 0;font:500 2.85cqw/1.45 system-ui,sans-serif}.receipt-rooms>span{display:inline-flex;align-items:center;gap:.35em}.receipt-rooms .swatch{font-size:2.55cqw}.receipt-amounts{font-size:3.25cqw}.sheet-leaderboard{background:radial-gradient(ellipse at top,#724264,#432441 70%,#2b243b)}.sheet-leaderboard .sheet-head{background:linear-gradient(90deg,#361437,#661b41,#351633);color:#ffdc82}.ranking-period{text-align:center;color:#f8e3b8;font:600 2.85cqw/1.2 system-ui,sans-serif;margin:.65em}.podium{position:relative;width:100%;aspect-ratio:1.5;background:url(./podium-BUKbrfDk.webp) center/cover;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0 2%}.podium-person{position:relative;min-width:0;align-self:end;text-align:center;margin-bottom:18%;display:flex;flex-direction:column;align-items:center;color:#282031;font-size:3.6cqw}.podium-person img{width:51%;aspect-ratio:1;object-fit:cover;border-radius:50%;border:2px solid #f5ca6c;box-shadow:0 2px 8px #211329}.podium-person .medal{display:inline-flex;align-items:center;gap:1px;background:#f7cd80;border:1px solid #b68540;border-radius:999px;padding:0 .48em;font-size:.74em;margin-top:-.25em;z-index:1}.medal svg{width:1em;height:1em}.podium-person strong,.podium-person>span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:5px;padding:.09em .35em;line-height:1.04}.podium-person strong{margin-top:.13em;background:#fff0d0;color:#302239;font-size:.86em}.podium-person>span{margin-top:.03em;color:#fff2a6;background:#7b2033;font-weight:700}.podium-1{margin-bottom:36%}.podium-1 img{width:58%}.podium-2>span{background:#294f7a}.podium-3>span{background:#27563a}.ranking{width:94%;margin:.65em auto 1.2em;border-collapse:separate;border-spacing:0 4px;font-size:3.5cqw}.ranking th,.ranking td{text-align:left;padding:.3em .5em}.ranking thead{color:#ffe09b}.ranking th:first-child,.ranking td:first-child{text-align:center}.ranking td:last-child,.ranking th:last-child{text-align:right}.ranking td{background:linear-gradient(#fff1c8,#f6d59d);border-block:1px solid #e2ac52;color:#372437;font-weight:700;height:10cqw}.ranking td:first-child{border-radius:10px 0 0 10px}.ranking td:last-child{border-radius:0 10px 10px 0}.ranking td:first-child b{background:#67335c;border-radius:99px;color:#fff0cb;padding:.15em .55em;font-size:.88em}.ranking img{width:6.4cqw;height:6.4cqw;object-fit:cover;border-radius:50%;margin-right:.4em;vertical-align:middle;border:1px solid #cda24d}.ranking .is-me td{background:#c5ebcf}.recent small,.record-totals dd,.receipt header strong,.receipt time,.receipt-amounts b,.pending-receipt,.podium-person .medal,.podium-person>span,.ranking td:first-child b,.ranking td:last-child{font-family:var(--number-font);font-variant-numeric:lining-nums tabular-nums}.small-sheet-body{text-align:center}.small-sheet-body p{margin:0 0 1em}.small-sheet-body label{display:grid;gap:.5em}.small-sheet-body input{color:#302639;background:#fff7ea;border:1px solid #a68a57;padding:.55em;border-radius:6px;min-width:0}.primary-btn,.quiet-btn{display:inline-flex;align-items:center;justify-content:center;gap:.4em;padding:.6em 1em;border-radius:8px;font-weight:700;margin:.35em}.primary-btn{background:#126456;color:#fff0cd;border:1px solid #b18f51}.quiet-btn{background:transparent;color:#593d45;border:1px solid #b8a182}.primary-btn svg{width:1.1em;height:1.1em}.gates[data-v-8875cf77]{position:absolute;inset:0;pointer-events:none}.gate[data-v-8875cf77]{position:absolute}.gate-leaf[data-v-8875cf77]{position:absolute;display:block;top:10%;bottom:10%;width:50%;transform:scaleX(var(--closed));background:repeating-linear-gradient(90deg,#582a25 0 9%,#b06d35 10% 13%,#642c28 14% 27%);border:1.5px solid #f3bd60;box-shadow:inset 0 0 0 2px #872b34,0 3px 4px #180c2eaa}.first[data-v-8875cf77]{left:0;transform-origin:left center;border-radius:3px 0 0 3px}.second[data-v-8875cf77]{right:0;transform-origin:right center;border-radius:0 3px 3px 0}.vertical .gate-leaf[data-v-8875cf77]{left:12%;right:12%;width:auto;height:50%;transform:scaleY(var(--closed));background:repeating-linear-gradient(0deg,#582a25 0 9%,#b06d35 10% 13%,#642c28 14% 27%)}.vertical .first[data-v-8875cf77]{top:0;bottom:auto;transform-origin:center top}.vertical .second[data-v-8875cf77]{top:auto;bottom:0;transform-origin:center bottom}.hunter-warning[data-v-8875cf77]{position:absolute;z-index:9;left:8%;right:8%;top:39%;min-height:12cqw;padding:2cqw 3cqw;display:flex;justify-content:center;align-items:center;gap:2.5cqw;color:#fff6df;background:linear-gradient(180deg,#7f121a,#350d20);border:2px solid #ffd06d;border-radius:2.3cqw;box-shadow:0 0 0 3px #a32528,0 0 22px #f73e33c9,0 5px 14px #160b2399;text-align:center;font-size:clamp(15px,4.2cqw,24px);line-height:1.2;pointer-events:none;animation:warning-in-8875cf77 .3s ease-out both}.warning-icon[data-v-8875cf77]{flex:none;display:grid;place-items:center;width:5cqw;height:5cqw;border-radius:50%;background:#ffd461;color:#671219;font:900 clamp(14px,4cqw,22px)/1 Arial,sans-serif}@keyframes warning-in-8875cf77{0%{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.hunter-warning[data-v-8875cf77]{animation:none}}@font-face{font-family:Grid Digits;src:local("Arial"),local("Roboto"),local("Helvetica Neue");font-weight:400;unicode-range:U+0030-0039,U+0966-096F}@font-face{font-family:Grid Digits;src:local("Arial Bold"),local("Roboto Bold"),local("Helvetica Neue Bold");font-weight:700;unicode-range:U+0030-0039,U+0966-096F}:root{color-scheme:dark;font-family:Grid Digits,Georgia,"Noto Serif Devanagari",serif;--number-font: Arial, Roboto, system-ui, sans-serif;color:#fff4d8;-webkit-font-smoothing:antialiased;--gold: #e9b65f;--ink: #15293d;--height: 100vh}@supports (height: 100dvh){:root{--height: 100dvh}}*{box-sizing:border-box}body{margin:0;background:#0e1220}button,input{font:inherit}button{color:inherit;touch-action:manipulation;cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible,input:focus-visible{outline:2px solid #73ffe5;outline-offset:2px}#app{min-height:var(--height);display:grid;place-items:center;overflow:hidden;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:radial-gradient(ellipse at 50% 30%,#443551,#171c30 45%,#090e18);--usable: calc(var(--height) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px))}.game-shell{position:relative;isolation:isolate;overflow:hidden;container-type:inline-size;width:min(100%,calc(var(--usable) * .48391));height:var(--usable);background:#202237;box-shadow:0 0 70px #0008;font-variant-numeric:lining-nums tabular-nums}@media(max-width:700px)and (orientation:portrait){.game-shell{width:100%}}.play-ui,.map-art,.phaser-stage,.rooms{position:absolute;inset:0}.map-art{background:url(./palace-board-0HwhxBVR.webp) center / 100% 100% no-repeat;transition:filter 1s}.game-shell[data-phase=locked] .map-art{filter:brightness(.73) saturate(.91) hue-rotate(4deg)}.phaser-stage,.rooms,.fallback-player,.fallback-hunter{pointer-events:none}.phaser-stage canvas{display:block;width:100%!important;height:100%!important}.room-guest{position:absolute;transform:translate(-50%,-100%);pointer-events:none;filter:drop-shadow(0 2px 2px #190e2a99);animation:guest-arrive .24s ease-out both}@keyframes guest-arrive{0%{opacity:0}to{opacity:1}}.fallback-player,.fallback-hunter{position:absolute;transform:translate(-50%,-100%)}.fallback-player img,.fallback-hunter{object-fit:contain}.fallback-player img{height:100%}.fallback-player small{position:absolute;bottom:100%;left:50%;transform:translate(-50%);background:#075938;border-radius:12px;padding:0 .4em}.masthead{position:absolute;left:6.7%;right:6.7%;top:.5%;height:3.85%;display:grid;grid-template-columns:.77fr 1.8fr 1.05fr .7fr;align-items:center;justify-items:center;gap:1.5%}.masthead button{display:inline-flex;align-items:center;justify-content:center;border:0;background:none;padding:0;min-height:100%}.masthead .back-button{min-height:69%;width:69%;border:1.5px solid #e6b55a;border-radius:999px;box-shadow:0 2px 4px #07101d}.masthead svg{width:4.4cqw;height:4.4cqw;stroke-width:2.5;filter:drop-shadow(0 1px 1px #301d10)}.wallet,.lang-button,.audio-button{position:relative;width:100%;gap:1.2cqw;text-shadow:0 2px 2px #15202a}.wallet:before,.lang-button:before,.audio-button:before{content:"";position:absolute;left:-2%;height:70%;width:1px;background:#e3ac50}.wallet{display:flex;height:100%;align-items:center;justify-content:center;font-size:4.5cqw;line-height:.95}.wallet svg{color:#f7b64e;fill:#75482e;width:5cqw;height:5cqw}.wallet small{position:absolute;bottom:0;right:8%;font:600 1.65cqw/1 system-ui;color:#f0c987}.lang-button{font-size:4cqw;font-weight:700}.lang-button svg{width:2.8cqw}.round-line{position:absolute;top:5.22%;height:2.8%;width:100%;display:grid;grid-template-columns:26% 43% 31%;align-items:center;text-align:center;font-size:3.28cqw;font-weight:700;line-height:1;text-shadow:0 2px 3px #161730}.round-line>span{border-left:1px solid #e5aa53;white-space:nowrap}.round-line>b{font-size:3.1cqw}.room{position:absolute;overflow:visible;border:0;background:transparent;padding:0;pointer-events:auto}.room:before{content:"";position:absolute;inset:0;border-radius:4%;opacity:0;transition:opacity .17s}.room.preview:before{opacity:1;background:#ffdc632b;border:2px dashed #ffde7b;box-shadow:inset 0 0 12px #ffcc4b80,0 0 8px #ffcf5ba0}.room.confirmed:before{opacity:1;background:#00b99435;border:2px solid #6ff5c9;box-shadow:inset 0 0 12px #009e90,0 0 8px #28ddb6a0}.room.eliminated:before{opacity:1;border:2px solid #ff8f71;background:#822c4c75;box-shadow:inset 0 0 13px #c24454}.room.confirmed.eliminated:before{outline:2px solid #6ff5c9;outline-offset:-4px}.room:focus-visible{outline-offset:-2px}.plaque{position:absolute;filter:drop-shadow(0 2px 2px #43230fcc);display:grid;padding:1.6px;pointer-events:none}.plaque:before,.plaque>span{clip-path:polygon(0 23%,12% 0,88% 0,100% 23%,100% 77%,88% 100%,12% 100%,0 77%)}.plaque:before{content:"";position:absolute;inset:0;background:linear-gradient(150deg,#fff2a2,#ca8b3d 38%,#894010 70%,#ffd16b)}.plaque>span{position:relative;padding-block:.32cqw;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:.12cqw;background:radial-gradient(ellipse at 48% 35%,#fff4d4,#ffe2a7 62%,#eab76f);color:#161c1b;line-height:.99;text-align:center}.plaque>span:before,.plaque>span:after{content:"";position:absolute;background:#c64837;width:.7cqw;height:.7cqw;border:1px solid #ffcc88;transform:rotate(45deg);top:61%}.plaque>span:before{left:5%}.plaque>span:after{right:5%}.plaque b{display:block;font-size:2.9cqw;line-height:.99;padding-inline:.25cqw}.plaque strong{font-size:3.5cqw}.plaque b svg{width:2.9cqw;height:2.9cqw;stroke-width:4;color:#087452;vertical-align:middle;margin-right:.3cqw}.room[data-room="2"] .plaque b{font-size:2.55cqw}.room[data-room="6"] .plaque b,.room[data-room="7"] .plaque b{max-width:75%}.room[data-room="8"] .plaque b{font-size:1.98cqw}:lang(hi) .plaque b{line-height:1.25;font-size:2.45cqw}:lang(zh) .plaque b{font-size:2.45cqw}.bet-bar{position:absolute;left:24.4%;top:86.2%;width:51.2%;height:5.2%;display:flex;border:2px solid #f2b649;border-radius:2.8cqw;box-shadow:0 3px 6px #221425b3;overflow:hidden}.bet-bar button{font-weight:700;font-family:inherit;display:flex;align-items:center;justify-content:center;gap:.65cqw;padding:0 .45cqw;border:0;line-height:1.04;min-width:0}.bet-bar .amount-button{width:40%;border-right:2px solid #fff4d9;background:linear-gradient(140deg,#078b89,#015254);color:#fff;font-size:3.8cqw;white-space:nowrap}.amount-button svg:first-child{width:3.3cqw;color:#f8d27e}.amount-button svg:last-child{width:2.6cqw}.bet-action{flex:1;color:#102f38;font-size:3.75cqw;background:linear-gradient(110deg,#cbffc0,#87f4cd)}.bet-action[data-action=change]{background:linear-gradient(110deg,#fff1b4,#fac96a);font-size:3.25cqw}.bet-action:disabled{filter:saturate(.73)}.bet-bar.is-locked button{color:#e0d9c8;background:#555c78;font-size:3.15cqw}.bet-action svg{width:3cqw;flex:none}.bet-bar:has(.bet-action:enabled):active{transform:translateY(1px)}.bottom-links{position:absolute;inset:91.8% 3% auto;height:clamp(44px,5.8%,60px);max-height:8%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:linear-gradient(180deg,#24233ff2,#171b32f2);border-radius:2.7cqw;box-shadow:inset 0 0 0 1px #d5a75e,0 2px 5px #1c132b55}.bottom-links button{position:relative;min-width:0;padding:0 1%;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.45cqw;line-height:1.16;color:#fff1d2;font-weight:700;font-size:clamp(11px,3cqw,17px);border-radius:inherit}.bottom-links button+button:before{content:"";position:absolute;left:0;height:46%;border-left:1px solid #d5a75e70}.bottom-links button:active{background:#ffd98c2b}.bottom-links svg{width:clamp(14px,4.1cqw,21px);height:clamp(14px,4.1cqw,21px);color:#ffd584}.menu-dismiss{position:absolute;inset:0;z-index:4;opacity:0;border:0}.drop-menu{z-index:5;position:absolute;display:grid;padding:3px;background:#fff0cf;color:#1c332e;border:1.5px solid #dcab52;border-radius:9px;box-shadow:0 5px 20px #21172b88}.drop-menu button{background:transparent;border:0;padding:.5em .65em;display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:max(13px,3.6cqw);min-height:32px}.drop-menu button[aria-pressed=true]{background:#f2d79e;border-radius:5px}.drop-menu svg{width:1em;height:1em;color:#165}.amount-menu{left:24.5%;bottom:14.1%;min-width:21%}.lang-menu{right:13%;top:4.6%;min-width:19%}.notice-layer{position:absolute;inset:0;display:grid;place-items:center;z-index:12;pointer-events:none;text-align:center}.toast{background:url(./toast-frame-BoFnC7Ju.webp) center / 100% 100% no-repeat;width:80%;min-height:max(64px,17.5cqw);padding:2.8cqw 6.5cqw 2.8cqw 16cqw;display:grid;align-content:center;gap:.9cqw;color:#fff4d9;font-size:clamp(15px,4cqw,25px);line-height:1.22;overflow-wrap:anywhere;filter:drop-shadow(0 3px 5px #120f28a8);animation:appear .16s ease-out}.toast-alert{color:#ffdb9c}.toast-result{width:86%;min-height:max(80px,22cqw);padding-left:17cqw}.toast-result span{font:650 clamp(12px,3.2cqw,19px)/1.3 var(--number-font);color:#b9f7d1}.toast[data-notice=caught] span{color:#ffc1a7}.toast.result-personal{grid-template-columns:clamp(36px,10cqw,58px) minmax(0,1fr);column-gap:3cqw;align-items:center;width:86%;min-height:max(92px,24cqw);padding:3.2cqw 4.5cqw;border:2px solid #eac77b;border-radius:3.2cqw;text-align:left;background:linear-gradient(135deg,#123d32,#0a2825);box-shadow:inset 0 0 0 2px #d8c27a33,0 4px 16px #10102499}.result-personal .result-icon{grid-row:1 / span 2;width:100%;height:auto;padding:1.5cqw;border-radius:50%;color:#c8ffe1;background:#3b986e70;stroke-width:2}.toast.result-personal[data-notice=escaped] strong{color:#c8ffe1}.toast.result-personal[data-notice=caught]{background:linear-gradient(135deg,#582321,#321b27);border-color:#ffb98d}.result-personal[data-notice=caught] .result-icon{color:#ffd7bd;background:#c6514070}.toast.result-personal[data-notice=caught] strong{color:#ffd7bd}.toast.result-personal[data-notice=void]{background:linear-gradient(135deg,#343850,#1a2638)}.result-personal[data-notice=void] .result-icon{color:#e9e1c5;background:#b49d6a60}.result-personal strong,.result-personal span{min-width:0}.wallet b,.round-line b,.plaque strong,.amount-button span,.amount-menu button{font-family:var(--number-font);font-variant-numeric:lining-nums tabular-nums;letter-spacing:normal}.entrance-cover{position:absolute;inset:0;z-index:13;background:linear-gradient(#131b3999,#181b32dd),url(./palace-board-0HwhxBVR.webp) center/cover;display:grid;place-content:center;text-align:center;gap:1rem}.entrance-cover h1{font-size:9cqw;margin:0}@keyframes appear{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:0s!important;transition-duration:0s!important}}.connection-state{position:absolute;z-index:14;top:11%;left:10%;width:80%;padding:.6em;border-radius:.5em;background:#411b25ee;color:#fff2d7;text-align:center;font:600 clamp(12px,3.2cqw,18px)/1.3 system-ui,sans-serif;pointer-events:none}
