:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0e1420;--panel:#161d2e;--panel-slot:#1a2032;--panel-raised:#1c2438;--border:#262f45;--text:#e8ecf5;--text-dim:#8a93aa;--accent:#2f7bff;--accent-hover:#4a8bff;--green:#16c784;--red:#ff4d5e;--gold:#f5b942;--purple:#a26bff;--panel-gap:2px;--slot-gap:8px;--slot-pad:4px;--field-gap:8px;--action-pad-v:16px}*{box-sizing:border-box}html,body{background:var(--bg);height:100%;color:var(--text);-webkit-font-smoothing:antialiased;touch-action:manipulation;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}input,textarea{-webkit-touch-callout:default;-webkit-user-select:text;user-select:text}#app{height:100%}:root.device-landscape body{transform-origin:0 0;width:100vh;height:100vw;position:absolute;top:100%;left:0;overflow-x:hidden;transform:rotate(-90deg)}.app-shell{flex-direction:column;height:100%;min-height:100vh;display:flex}.brand-sidebar{background:linear-gradient(90deg,#0a0d14f7,#0a0d14d1 58%,#0a0d1400);border-bottom:1px solid #d5a94f33;align-items:center;height:clamp(48px,8vh,76px);padding:5px clamp(12px,1.5vw,24px);display:flex}.brand-logo{object-fit:contain;object-position:left center;filter:drop-shadow(0 2px 5px #000000b8);width:clamp(155px,17vw,280px);max-height:calc(clamp(48px,8vh,76px) - 10px);display:block}.brand-logo-mobile{display:none}.app-body{flex:1;min-height:0;display:flex}.history-footer{border-top:1px solid var(--border);background:var(--panel);flex:none;padding:6px 16px}.bet-panel-history-footer{border-top:1px solid var(--border);padding:4px 0 0;display:none}.bet-panel{--panel-slot:#1d1c19;--panel-raised:#292720;--border:#514936;--text:#eee4cb;--text-dim:#aa9c7c;--accent:#9f6b2d;--accent-hover:#c58b3e;--green:#4f8b61;--red:#c45c54;--gold:#d5a94f;background:linear-gradient(90deg,#ffffff05 1px,#0000 1px) 0 0/54px 54px,linear-gradient(#ffffff04 1px,#0000 1px) 0 0/54px 54px,radial-gradient(circle at 12% 8%,#856f441f,#0000 30%),linear-gradient(145deg,#1c1c1a,#111210 72%);border-right:2px solid #665a40;flex:0 0 320px;width:320px;box-shadow:inset -10px 0 24px #00000052}.bet-panel-inner{gap:var(--panel-gap);flex-direction:column;padding:16px;display:flex}.bet-slots{flex-direction:column;gap:8px;display:flex}.bet-slot{gap:var(--slot-gap);min-width:0;padding:var(--slot-pad);background:linear-gradient(135deg, #ffffff06, transparent 40%), linear-gradient(180deg, #25231e, var(--panel-slot));border:1px solid #5b513a;border-top-color:#776647;border-radius:7px;flex-direction:column;flex:none;display:flex;box-shadow:inset 0 1px #ffe09e0d,inset 0 -8px 18px #0003,0 3px 8px #00000047}.field-input-row{background:linear-gradient(#171714,#24221d);border:1px solid #4f4736;border-radius:5px;align-items:center;gap:8px;min-height:40px;padding:6px 10px;display:flex;box-shadow:inset 0 2px 5px #0000008c,0 1px #ffe09e0a}.field-input-row:focus-within{border-color:var(--gold);box-shadow:inset 0 2px 5px #0000008c,0 0 0 1px #d5a94f33}.field-input-row input{min-width:0;color:var(--text);background:0 0;border:none;outline:none;flex:1;font-size:16px;font-weight:600}.bet-amount-row{border-radius:5px;padding:8px 16px}.bet-amount-row input{font-size:16px}.currency-affix,.unit-affix{color:var(--text-dim);flex:none;font-size:14px;font-weight:600}.currency-affix{color:var(--gold);text-shadow:0 1px 3px #000c}.field-hint{color:var(--red);min-height:14px;font-size:11px}.field-hint:empty{display:none}.quick-amount-row{gap:6px;display:flex}.quick-amount-btn{min-width:0;min-height:32px;color:var(--text-dim);cursor:pointer;background:linear-gradient(#302d26,#201f1b);border:1px solid #504735;border-top-color:#675a40;border-radius:4px;flex:1;justify-content:center;align-items:center;font-size:13px;font-weight:600;display:flex}.quick-amount-btn:hover{color:#ffe5a7;border-color:var(--gold);background:linear-gradient(#3a3428,#29251e)}.bet-action{width:100%;min-height:50px;padding:var(--action-pad-v) 4px;cursor:pointer;color:#fff1cf;text-shadow:0 1px 2px #3b210e;white-space:nowrap;text-overflow:ellipsis;background:linear-gradient(#b77d35,#71461f);border:1px solid #d0a052;border-radius:6px;font-size:16px;font-weight:700;transition:filter .12s,transform .12s;overflow:hidden;box-shadow:inset 0 1px #ffebb440,inset 0 -3px #3b210e47,0 2px 5px #00000061}.bet-action:hover:not(:disabled){filter:brightness(1.08);background:linear-gradient(#cb9144,#805127);transform:translateY(-1px)}.bet-action:disabled{opacity:.6;cursor:not-allowed}.bet-action.state-cashout{color:#efffe9;text-shadow:0 1px 2px #173322;background:linear-gradient(#5a9a6d,#315d42);border-color:#77ad83}.bet-action.state-cashout:hover:not(:disabled){background:linear-gradient(#68aa7a,#396d4b)}.cashout-live-amount{color:#ffd54a;text-shadow:0 1px 2px #5d3c10}.slot-footer-row{border-top:1px solid #77664759;align-items:center;gap:6px;min-height:50px;padding:3px 5px 0;display:flex}.slot-footer-icon{color:var(--gold);filter:sepia(.35);flex:none;font-size:12px}.slot-cashout-compact{min-width:0;color:var(--text);background:0 0;border:none;outline:none;flex:1;font-size:12px;font-weight:600}.slot-menu-btn{width:22px;height:22px;color:var(--text-dim);cursor:pointer;background:0 0;border:none;border-radius:6px;flex:none;justify-content:center;align-items:center;font-size:16px;line-height:1;display:flex}.slot-menu-btn:hover:not(:disabled){color:#ffe5a7;background:#343027}.slot-menu-btn:disabled{opacity:.35;cursor:not-allowed}.toggle-switch{cursor:pointer;flex:none;align-items:center;width:38px;height:22px;display:inline-flex;position:relative}.toggle-switch input{opacity:0;cursor:pointer;margin:0;position:absolute;inset:0}.toggle-switch-track{background:#171714;border:1px solid #514936;border-radius:999px;transition:background .12s,border-color .12s;position:absolute;inset:0}.toggle-switch-track:before{content:"";background:#8d826a;border-radius:50%;width:16px;height:16px;transition:transform .12s,background .12s;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #0009}.toggle-switch input:checked+.toggle-switch-track{border-color:var(--gold);background:#765126}.toggle-switch input:checked+.toggle-switch-track:before{background:#f1d28b;transform:translate(16px)}.toggle-switch input:disabled+.toggle-switch-track{opacity:.5;cursor:not-allowed}.autobet-settings-row{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:10px 0;display:flex}.autobet-settings-row:last-of-type{border-bottom:none}.autobet-settings-label{color:var(--text);flex:1;font-size:13px}.autobet-settings-rounds{flex-wrap:wrap}.rounds-preset-group{flex-wrap:wrap;gap:6px;display:flex}.rounds-preset-btn{border:1px solid var(--border);background:var(--panel-raised);min-width:34px;color:var(--text-dim);cursor:pointer;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:600}.rounds-preset-btn.active{background:var(--accent);border-color:var(--accent);color:#fff}.autobet-settings-section-title{color:var(--text-dim);text-transform:uppercase;letter-spacing:.04em;margin-top:6px;font-size:12px;font-weight:700}.autobet-settings-value{background:var(--panel-raised);border:1px solid var(--border);width:90px;min-width:0;color:var(--text);border-radius:8px;outline:none;padding:6px 8px;font-size:13px;font-weight:600}.autobet-settings-value:disabled{opacity:.5}.autobet-settings-reset{color:var(--accent);cursor:pointer;background:0 0;border:none;align-self:flex-start;margin-top:12px;padding:0;font-size:13px;font-weight:600}.autobet-settings-reset:hover{color:var(--accent-hover);text-decoration:underline}.currency-dot{background:var(--gold);color:#3a2c00;border-radius:50%;flex:none;justify-content:center;align-items:center;width:16px;height:16px;font-size:10px;font-weight:800;display:inline-flex}.error-banner{color:var(--red);background:#68211d38;border:1px solid #c45c5459;border-radius:5px;min-height:1em;padding:8px 10px;font-size:12px}.error-banner:empty{display:none}.game-stage{flex-direction:column;flex:1;min-width:0;display:flex}.history-strip{scrollbar-width:none;-ms-overflow-style:none;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow-x:auto}.history-strip::-webkit-scrollbar{display:none}.odds-pill{color:#fff;border-radius:999px;flex:none;padding:3px 9px;font-size:11px;font-weight:700}.odds-pill.tier-low{color:var(--text-dim);background:#3a4257}.odds-pill.tier-green{background:var(--green);color:#063829}.odds-pill.tier-purple{background:var(--purple);color:#2a0f5c}.odds-pill.tier-gold{background:var(--gold);color:#3a2c00}.canvas-wrap{flex:1;min-height:0;position:relative;overflow:hidden}#pixi-container{position:absolute;inset:0}#pixi-container canvas{touch-action:none;width:100%;height:100%;display:block}.stage-header{z-index:15;align-items:center;gap:8px;display:flex;position:absolute;top:12px;right:12px}.hero-selector-button{color:#ffe7a0;cursor:pointer;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#1c2438e6;border:1px solid #6d5b32;border-radius:999px;align-items:center;gap:5px;height:38px;padding:2px 10px 2px 4px;font-size:12px;font-weight:700;display:flex}.hero-selector-button:hover{border-color:var(--gold);color:#fff4c8}.hero-selector-button:disabled{color:#797466;cursor:not-allowed;filter:grayscale(.65);opacity:.72;background:#14171eb8;border-color:#3e3a30}.hero-selector-button:disabled:hover{color:#797466;border-color:#3e3a30}.hero-prepare-preview{width:84px;height:84px;image-rendering:pixelated;background-repeat:no-repeat;flex:none;display:block}.hero-prepare-preview.compact{width:24px;height:24px}.balance-pill{border:1px solid var(--border);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);color:var(--text);background:#1c2438d9;border-radius:999px;align-items:center;gap:6px;padding:6px 12px;font-size:12px;font-weight:700;display:flex}.hamburger-wrap{position:relative}.hamburger-btn{border:1px solid var(--border);width:30px;height:30px;color:var(--text-dim);cursor:pointer;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#1c2438d9;border-radius:999px;justify-content:center;align-items:center;padding:0;font-size:14px;display:flex}.hamburger-btn:hover{color:var(--text);border-color:var(--accent)}.hamburger-backdrop{z-index:14;position:fixed;inset:0}.hamburger-menu{z-index:16;border:1px solid var(--border);background:var(--panel-raised);border-radius:10px;flex-direction:column;gap:2px;min-width:150px;padding:6px;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 24px #0006}.hamburger-menu button{color:var(--text);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:8px;padding:8px 10px;font-size:13px;font-weight:600;display:flex}.hamburger-menu button:hover{background:var(--panel)}.players{color:var(--text-dim);flex:none;align-items:center;gap:6px;font-size:13px;display:flex}.disconnect-overlay{z-index:20;text-align:center;background:#060910bf;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.disconnect-overlay-box{border:1px solid var(--border);background:var(--panel-raised);border-radius:12px;max-width:80%;padding:24px 32px}.disconnect-overlay-title{color:var(--red);margin-bottom:8px;font-size:20px;font-weight:800}.disconnect-overlay-body{color:var(--text-dim);font-size:14px}.stage-footer{color:var(--text-dim);border-top:1px solid var(--border);justify-content:space-between;align-items:center;padding:10px 16px;font-size:12px;display:flex}.stage-footer-right{align-items:center;gap:12px;display:flex}.status-dot{background:var(--text-dim);border-radius:50%;width:8px;height:8px;margin-right:6px;display:inline-block}.status-dot.online{background:var(--green)}.status-dot.offline{background:var(--red)}@media (width<=720px){.app-shell{min-height:100dvh}.app-body{flex-direction:column}.game-stage{flex:0 0 65dvh;order:-1}.bet-panel{border-right:none;border-bottom:1px solid var(--border);flex:auto;width:auto}.brand-sidebar{display:none}.brand-logo-mobile{z-index:15;object-fit:contain;object-position:left center;filter:drop-shadow(0 2px 5px #000000b8);pointer-events:none;width:clamp(130px,34vw,190px);max-height:34px;display:block;position:absolute;top:12px;left:12px}.bet-slots{flex-direction:row}.bet-slot{flex:50%}.bet-panel-history-footer{display:block}.history-footer{display:none}}:root.device-landscape .app-body{flex-direction:column}:root.device-landscape .game-stage{flex:0 0 65%;order:-1}:root.device-landscape .bet-panel{border-right:none;border-bottom:1px solid var(--border);flex:auto;width:auto}:root.device-landscape .bet-slots{flex-direction:row}:root.device-landscape .bet-slot{flex:50%}:root.device-landscape .bet-panel-history-footer{display:block}:root.device-landscape .history-footer{display:none}.modal-overlay{z-index:10000;background:#04070eb3;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal-box{border:1px solid var(--border);background:var(--panel);border-radius:12px;flex-direction:column;width:100%;max-width:460px;max-height:80vh;display:flex;overflow:hidden}.modal-box.autobet-modal{--panel-raised:#292720;--border:#514936;--text:#eee4cb;--text-dim:#aa9c7c;--accent:#9f6b2d;--accent-hover:#c58b3e;--gold:#d5a94f;background:radial-gradient(circle at 18% 0,#856f4424,#0000 34%),linear-gradient(145deg,#24231e,#151613 76%);border-color:#776647;box-shadow:inset 0 1px #ffe09e0f,0 18px 48px #0000009e}.autobet-modal .modal-header{background:linear-gradient(#2d2a22,#201f1a);border-bottom-color:#514936}.autobet-modal .rounds-preset-btn,.autobet-modal .autobet-settings-value{background:linear-gradient(#302d26,#201f1b);border-color:#514936}.autobet-modal .rounds-preset-btn.active{border-color:var(--gold);color:#fff1cf;background:linear-gradient(#b77d35,#71461f)}.modal-header{border-bottom:1px solid var(--border);flex:none;justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.modal-header h2{color:var(--text);margin:0;font-size:15px;font-weight:700}.modal-close{color:var(--text-dim);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:4px 6px;font-size:16px;line-height:1}.modal-close:hover{color:var(--text);background:var(--panel-raised)}.modal-body{padding:16px;overflow-y:auto}.hero-selection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.hero-selection-option{border:1px solid var(--border);background:var(--panel-raised);min-width:0;min-height:154px;color:var(--text);cursor:pointer;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:10px;font-size:14px;font-weight:700;display:flex}.hero-selection-option:hover,.hero-selection-option.selected{border-color:var(--gold);color:#ffe7a0;background:#25283a}@media (width<=420px){.hero-selector-button>span:last-child{display:none}.hero-selector-button{justify-content:center;width:38px;padding:2px}}.info-section{margin-bottom:16px}.info-section:last-child{margin-bottom:0}.info-section h3{color:var(--text);margin:0 0 6px;font-size:13px;font-weight:700}.info-section p{color:var(--text-dim);margin:0;font-size:13px;line-height:1.6}.records-iframe{background:var(--panel-raised);border:none;border-radius:8px;width:100%;height:60vh;display:block}.dungeon-app{color:#f3f5fb;background:radial-gradient(circle at 65% -10%,#263f63 0,#101a2b 32%,#080d17 68%);min-height:100vh;font-family:Inter,ui-sans-serif,system-ui,sans-serif}.dungeon-app *{box-sizing:border-box}.dungeon-topbar{background:#050a14d6;border-bottom:1px solid #334560;align-items:center;gap:20px;height:76px;padding:10px clamp(16px,3vw,44px);display:flex}.dungeon-logo{color:#ffd475;letter-spacing:.12em;text-shadow:3px 3px #732119,0 0 10px #ff9e3d;place-items:center start;width:154px;height:48px;font-size:32px;font-weight:900;display:grid}.balance-box small{color:#8fa2bd;font-size:12px}.balance-box{text-align:right;margin-left:auto;display:grid}.balance-box strong{color:#ffd475}.dungeon-layout{grid-template-columns:305px minmax(460px,1fr);min-height:calc(100vh - 76px);display:grid}.dungeon-bet-panel,.floor-map{background:linear-gradient(#142035,#0b111e);padding:22px 16px}.dungeon-bet-panel{border-right:1px solid #30415d}.floor-map{display:none}.panel-heading{gap:4px;margin-bottom:12px;display:grid}.panel-heading span,.map-heading{letter-spacing:.06em;font-weight:800}.panel-heading small,.bet-note{color:#8091aa;font-size:12px;line-height:1.45}.difficulty-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.difficulty-card{text-align:left;color:#c7d0df;background:#18253a;border:1px solid #34445c;border-radius:8px;align-content:center;gap:3px;min-height:82px;padding:9px 10px;display:grid}.difficulty-card strong{color:var(--tier-color);font-size:16px}.difficulty-card small{font-size:11px}.difficulty-card em{color:#f0cf7b;font-size:11px;font-style:normal}.difficulty-card.selected{border-color:var(--tier-color);box-shadow:0 0 0 1px var(--tier-color) inset,0 0 18px color-mix(in srgb,var(--tier-color) 24%,transparent);background:#22324c}.difficulty-card:disabled{opacity:.65;cursor:not-allowed}.bet-heading{margin-top:24px}.stake-label{color:#9daec3;font-size:12px}.stake-input{background:#080e19;border:1px solid #5a6d8b;border-radius:8px;align-items:center;gap:7px;margin-top:6px;padding:0 12px;display:flex}.stake-input span{color:#f0cf7b;font-weight:700}.stake-input input{color:#fff;background:0 0;border:0;outline:0;width:100%;padding:13px 0;font-size:18px;font-weight:800}.quick-stakes{gap:6px;margin-top:8px;display:flex}.quick-stakes button{color:#aab9cc;background:#1b2940;border:1px solid #3b4d68;border-radius:5px;flex:1;padding:7px 2px;font-size:12px}.depart-button,.restart-button{color:#fff9e9;background:linear-gradient(#e0a740,#986019);border:1px solid #ffd66f;border-radius:8px;width:100%;margin-top:16px;padding:14px 10px;font-weight:900;box-shadow:0 4px 15px #0008}.depart-button:disabled{opacity:.5;cursor:not-allowed}.bet-note{margin:12px 0 18px}.payout-table{border-top:1px solid #2c3e5a}.payout-table div{color:#8fa2bd;border-bottom:1px solid #24344d;justify-content:space-between;padding:10px 2px;font-size:13px;display:flex}.payout-table div:last-child b{color:#ffd475}.dungeon-stage{background-position:50%;background-size:cover;flex-direction:column;justify-content:center;align-items:center;min-width:0;display:flex;position:relative;overflow:hidden}.floor-ribbon{background:#07111fd9;border:1px solid #647c9e;border-radius:99px;align-items:center;gap:15px;padding:9px 19px;display:flex;position:absolute;top:24px;box-shadow:0 5px 22px #000a}.floor-ribbon span{color:#bdc9da;font-weight:700}.floor-ribbon strong{color:#ffd169;font-size:20px}.battle-arena{grid-template-columns:200px 78px 200px;align-items:end;min-height:285px;margin-top:20px;display:grid;position:relative}.fighter{filter:drop-shadow(0 15px 14px #000c);background-repeat:no-repeat;background-size:800% 400%;width:190px;height:256px}.hero{background-position:0 0;animation:1.6s steps(2,end) infinite heroIdle}.monster{background-position:0 0;animation:1.5s steps(2,end) infinite monsterIdle;transform:scaleX(-1)}.battle-versus{text-align:center;color:#ffcf62;text-shadow:0 0 14px #faaf36;align-self:center;margin-bottom:74px;font-size:26px;font-weight:1000}.fighter-names{bottom:-25px;color:#d3ddea;justify-content:space-between;font-size:13px;font-weight:700;display:flex;position:absolute;inset-inline:10px}.fighting .hero{animation:.55s steps(2,end) infinite heroAttack}.fighting .monster{animation:.55s ease-in-out infinite monsterHit}.battle-result{text-align:center;background:#091323d9;border:1px solid #536a89;border-radius:9px;gap:4px;min-width:330px;margin-top:27px;padding:13px 28px;display:grid;box-shadow:0 8px 30px #0008}.battle-result strong{font-size:21px}.battle-result span{color:#a8b8cc;font-size:13px}.battle-result.fighting strong{color:#ffd171}.battle-result.won{border-color:#52d792}.battle-result.won strong{color:#6ce6a1}.battle-result.lost{border-color:#ed5e70}.battle-result.lost strong{color:#ff7182}.battle-result.cashed{border-color:#ffd171}.battle-result.cashed strong{color:#ffd171}.decision-row{gap:12px;margin-top:17px;display:flex}.decision-row button{color:#fff;border-radius:8px;min-width:190px;padding:12px 14px;font-weight:800}.decision-row b{font-size:12px;font-weight:600}.cashout-button{background:linear-gradient(#3ba978,#226d51);border:1px solid #53d593}.next-floor-button{background:linear-gradient(#be6b32,#733517);border:1px solid #f0a55a}.restart-button{max-width:310px}.floor-map{overflow:auto}.map-heading{margin-bottom:8px}.map-tier{border-bottom:1px solid #2d405d;padding-bottom:16px;font-size:12px;font-weight:700}.floor-list{gap:5px;margin-top:14px;display:grid}.floor-item{color:#8191a6;background:#111c2d;border-left:2px solid #34465f;justify-content:space-between;padding:8px;font-size:12px;display:flex;position:relative}.floor-item b{color:#b7c4d6}.floor-item.active{background:#2d3850;border-left-color:#ffd169;box-shadow:inset 0 0 0 1px #6f829f}.floor-item.active b{color:#ffd169}.floor-item.cleared{border-left-color:#58d696}.floor-item i{color:#59dc97;font-style:normal;position:absolute;right:-17px}.more-floors{color:#71839d;text-align:center;margin-top:13px;font-size:12px}@keyframes heroIdle{50%{background-position:14.285% 0;transform:translateY(-4px)}}@keyframes monsterIdle{50%{background-position:14.285% 0;transform:scaleX(-1)translateY(-5px)}}@keyframes heroAttack{50%{background-position:57.14% 0;transform:translate(26px)}}@keyframes monsterHit{50%{filter:brightness(1.8)drop-shadow(0 15px 14px #000c);transform:scaleX(-1)translate(-13px)}}@media (width<=960px){.dungeon-layout{grid-template-columns:280px minmax(390px,1fr)}.floor-map{display:none}}@media (width<=700px){.dungeon-topbar{gap:10px;height:auto;min-height:65px;padding:8px 14px}.dungeon-logo{width:110px}.balance-box strong{font-size:13px}.dungeon-layout{flex-direction:column-reverse;display:flex}.dungeon-bet-panel{border-top:1px solid #30415d;border-right:0}.dungeon-stage{min-height:515px}.battle-arena{margin-block:-9px -13px;transform:scale(.78)}.battle-result{min-width:280px}.decision-row{width:100%;padding:0 12px}.decision-row button{flex:1;min-width:0}}.fighter.monster{background-image:var(--sprite);background-position:0 0;background-size:400% 400%;position:relative}.monster-color-mask{pointer-events:none;opacity:.54;background:linear-gradient(135deg, hsl(var(--monster-hue) 95% 70%), hsl(calc(var(--monster-hue) + 48deg) 94% 43%));mix-blend-mode:color;-webkit-mask-image:var(--sprite);-webkit-mask-image:var(--sprite);mask-image:var(--sprite);position:absolute;inset:0;-webkit-mask-position:0 0;mask-position:0 0;-webkit-mask-size:400% 400%;mask-size:400% 400%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.battle-arena.preparing .fighter{filter:drop-shadow(0 15px 14px #000c)}.ready-assassin{background-position:0 40%;background-size:600% 600%;animation:1.05s steps(5,end) infinite assassinRun}.ready-slime{background-position:0 0;background-size:400% 400%;animation:1.25s steps(2,end) infinite slimeLoop;transform:scaleX(-1)}.battle-arena.preparing .battle-versus{color:#79d9ff;text-shadow:0 0 16px #2aa8e8}@keyframes assassinRun{0%{background-position:0 40%;transform:translate(-10px)}to{background-position:100% 40%;transform:translate(12px)}}@keyframes slimeLoop{50%{background-position:33.333% 0;transform:scaleX(-1)translateY(-8px)}}.dungeon-bet-panel .difficulty-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.dungeon-bet-panel .difficulty-card{text-align:center;place-content:center;min-height:42px;padding:6px 2px}.dungeon-bet-panel .difficulty-card small,.dungeon-bet-panel .difficulty-card em{display:none}.dungeon-bet-panel .difficulty-card strong{white-space:nowrap;font-size:14px}.dungeon-bet-panel .difficulty-card{isolation:isolate;text-shadow:0 2px 3px #000;align-content:end;min-height:76px;padding:7px 3px;position:relative;overflow:hidden}.dungeon-bet-panel .difficulty-card:before{content:"";z-index:-2;opacity:.92;filter:drop-shadow(0 5px 4px #000);background-position:bottom;background-repeat:no-repeat;background-size:contain;position:absolute;inset:3px 0 20px}.dungeon-bet-panel .difficulty-card:after{z-index:-1;content:"";background:linear-gradient(#0000,#02070ff5 52%);height:38px;position:absolute;inset:auto 0 0}.dungeon-bet-panel .difficulty-card strong{z-index:1;color:#fff;font-size:14px;position:relative}.dungeon-bet-panel .difficulty-card::selection{background:0 0}.dungeon-bet-panel .difficulty-card:first-child:before{background-image:url(/assets/difficulty-slime-move-01-BG_NGMTy.webp)}.dungeon-bet-panel .difficulty-card:nth-child(2):before{background-image:url(/assets/difficulty-wolf-move-01-BAEz315v.webp)}.dungeon-bet-panel .difficulty-card:nth-child(3):before{background-image:url(/assets/difficulty-ghost-move-01-BwShGzDM.webp)}.dungeon-bet-panel .difficulty-card:nth-child(4):before{background-image:url(/assets/difficulty-treant-move-01-omhRAz7C.webp)}.dungeon-bet-panel .difficulty-card:first-child:before{background-size:50%}.dungeon-bet-panel .difficulty-card:first-child strong:after{content:"起始 1.03×"}.dungeon-bet-panel .difficulty-card:nth-child(2) strong:after{content:"起始 1.12×"}.dungeon-bet-panel .difficulty-card:nth-child(3) strong:after{content:"起始 1.23×"}.dungeon-bet-panel .difficulty-card:nth-child(4) strong:after{content:"起始 1.63×"}.dungeon-bet-panel .difficulty-card strong:after{color:#ffd475;margin-top:2px;font-size:10px;font-weight:800;display:block}.start-floor-row{grid-template-columns:1.15fr .85fr;gap:8px;margin-top:10px;display:grid}.start-floor-row>*{background:#0b1422;border:1px solid #405573;border-radius:7px;min-width:0;min-height:58px;padding:8px 9px}.start-floor-row label{color:#d5dfed;flex-wrap:wrap;align-content:center;align-items:baseline;gap:4px;font-size:12px;display:flex}.start-floor-row label span,.start-floor-row>div span{color:#8497b0;flex-basis:100%;font-size:11px}.start-floor-row label input{color:#ffd475;text-align:center;background:0 0;border:0;outline:0;width:35px;padding:0;font-size:19px;font-weight:900}.start-floor-row>div{align-content:center;gap:3px;display:grid}.start-floor-row>div strong{color:#ffd475;font-size:19px}.dungeon-bet-panel .start-floor-row,.dungeon-bet-panel .panel-heading{display:none}.dungeon-bet-panel{padding-top:12px;padding-bottom:12px}.dungeon-bet-panel .difficulty-grid{margin-bottom:10px}.dungeon-bet-panel .stake-input input{padding-block:9px}.dungeon-bet-panel .quick-stakes{margin-top:5px}.dungeon-bet-panel .quick-stakes button{padding-block:5px}.dungeon-bet-panel .depart-button{margin-top:10px;padding-block:11px}.dungeon-bet-panel .bet-note{margin-block:8px 10px}.dungeon-bet-panel .payout-table div{padding-block:7px}.dungeon-stage .battle-result.ready{display:none}.dungeon-bet-panel{align-self:start;padding-top:4px}@media (width<=700px){.dungeon-layout{flex-direction:column;min-height:0;display:flex}.dungeon-stage{flex:none;order:0;height:42vh;min-height:330px;max-height:390px}.dungeon-bet-panel{border-inline:0;border-top:1px solid #30415d;order:1;align-self:stretch;width:100%;padding:8px 12px 12px}.dungeon-bet-panel .difficulty-grid{max-width:none}.battle-arena{min-height:245px;margin-block:-18px -34px;transform:none}.dungeon-stage .floor-ribbon{top:12px;transform:scale(.9)}.dungeon-stage .battle-result{margin-top:0;transform:scale(.88)}.dungeon-stage .decision-row{margin-top:4px}}.battle-arena{width:calc(100% - 72px);max-width:720px;position:relative;overflow:hidden}.battle-arena>*{display:none!important}.dungeon-stage>.pixi-host{z-index:0;position:absolute;inset:0}.pixi-host,.pixi-dungeon-stage{width:100%;height:100%}.pixi-dungeon-stage canvas{display:block;width:100%!important;height:100%!important}.dungeon-stage>:not(.pixi-host){z-index:1;position:relative}.dungeon-stage>.pixi-dungeon-stage{z-index:0;visibility:visible;pointer-events:auto;position:absolute;inset:0}.dungeon-stage>:not(.pixi-host){visibility:hidden;pointer-events:none}.dungeon-stage>.pixi-dungeon-stage{z-index:0;visibility:visible;pointer-events:auto;display:block;position:absolute;inset:0}.dungeon-stage>.dungeon-ready-preview{z-index:0;visibility:visible;pointer-events:auto;position:absolute;inset:0}.dungeon-stage .floor-ribbon,.dungeon-stage .battle-result,.dungeon-stage .decision-row,.dungeon-stage .restart-button{visibility:visible;pointer-events:auto;transform-origin:top;transform:scale(.5)}.dungeon-stage .battle-result.won,.dungeon-stage .battle-result.lost,.dungeon-stage .decision-row,.dungeon-stage .restart-button{display:none}.dungeon-stage .battle-result{display:none!important}.dungeon-victory-actions{grid-template-columns:1fr 1fr;gap:7px;width:100%;margin-top:10px;display:grid}.dungeon-victory-actions button{color:#fff;cursor:pointer;border-radius:7px;min-height:48px;font-size:14px;font-weight:900}.dungeon-victory-actions small{color:#fff0c2;margin-top:3px;font-size:11px;font-weight:800;display:block}.dungeon-go-home{background:linear-gradient(#358e68,#1f5e48);border:1px solid #69dca2}.dungeon-next-floor{background:linear-gradient(#a85e2d,#653115);border:1px solid #eeb268}.dungeon-stage .floor-ribbon{z-index:2;position:absolute;top:24px}.dungeon-stage>.pixi-dungeon-stage[data-presentation-mode=gauntlet]+.floor-ribbon{display:none}.dungeon-stage .gauntlet-ready-ribbon{width:max-content;margin-inline:auto;left:0;right:0}@media (width<=700px){.dungeon-stage .floor-ribbon{top:12px}}@media (width>=701px){.pixi-host,.pixi-dungeon-stage{min-height:285px}}.plist-sprite{filter:drop-shadow(0 12px 11px #000b);position:relative;overflow:hidden}.plist-source{pointer-events:none;-webkit-user-select:none;user-select:none;max-width:none;position:absolute}.battle-arena.preparing .ready-assassin{align-self:end;width:180px;height:180px;animation:.55s linear infinite alternate assassinTravel}.battle-arena.preparing .ready-slime{align-self:end;width:48px;height:48px;margin:0 66px 21px;animation:1s linear infinite alternate slimeAdvance}.fighter.monster{justify-content:center;align-items:flex-end;width:200px;height:256px;display:flex;background-image:none!important}.fighter.monster .plist-sprite{filter:hue-rotate(var(--monster-hue)) saturate(1.2) drop-shadow(0 12px 11px #000b)}.fighter.monster .monster-color-mask{display:none}@keyframes assassinTravel{0%{transform:translate(-112px)}to{transform:translate(112px)}}@keyframes slimeAdvance{0%{transform:translate(0)}to{transform:translate(-32px)}}.dungeon-ready-preview{--single-duel-ground-position:65%;isolation:isolate;background-position:50%;background-size:cover;align-content:center;place-items:center;gap:12px;width:100%;height:100%;display:grid;position:relative;overflow:hidden}.dungeon-retry-hero{z-index:2;filter:drop-shadow(0 14px 16px #000c);position:absolute;bottom:58px;left:18%}.dungeon-retry-hero .plist-sprite{overflow:visible}.dungeon-ready-preview:before{content:"";z-index:-1;background:radial-gradient(#0000 18%,#02060d73 78%);position:absolute;inset:0}.dungeon-ready-monster{z-index:1;bottom:calc(100% - var(--single-duel-ground-position));filter:drop-shadow(0 14px 16px #000000c7);place-items:end center;width:min(56vw,360px);height:min(52vh,330px);display:grid;position:absolute;left:50%;transform:translate(-50%)}.dungeon-ready-monster .plist-sprite{max-width:100%;max-height:100%}.dungeon-ready-rate{z-index:2;color:#ffdb79;text-shadow:0 2px 5px #000;background:#050c17d1;border:1px solid #e8b94f;border-radius:999px;padding:8px 20px;font-size:clamp(25px,3.4vw,42px);font-weight:900;line-height:1;position:absolute;bottom:20%;left:50%;right:auto;transform:translate(-50%);box-shadow:0 6px 20px #0009}@media (width<=700px){.dungeon-ready-monster{width:72vw;height:220px}.dungeon-ready-rate{padding:7px 17px;font-size:26px;bottom:17%}.dungeon-retry-hero{transform-origin:0 100%;bottom:42px;left:8%;transform:scale(.72)}}.pixi-dungeon-stage{position:relative}.pixi-canvas-host{z-index:0;position:absolute;inset:0}.pixi-dungeon-stage>.dungeon-ready-preview{z-index:1;position:absolute;inset:0}.dungeon-settlement{z-index:12000;background:#100704c2;place-items:center;padding:16px;animation:.22s ease-out both dungeonSettlementIn;display:grid;position:fixed;inset:0;overflow:auto}.dungeon-settlement-card{color:#e7f3ff;background:#081322f7;border:2px solid #f2cb70;border-radius:20px;width:min(440px,100%);max-height:calc(100dvh - 32px);padding:20px 24px;font-family:Arial,Noto Sans TC,sans-serif;font-size:16px;animation:.22s ease-out both dungeonSettlementCardIn;overflow:auto;box-shadow:0 22px 60px #000000b3}.dungeon-settlement-card h2{color:inherit;letter-spacing:.08em;text-align:center;margin:0;font-family:inherit;font-size:24px;font-weight:900;line-height:36px}.dungeon-settlement-hero{place-items:center;height:230px;margin-top:4px;animation:1.15s ease-in-out infinite alternate dungeonSettlementHeroWalk;display:grid;overflow:hidden}.dungeon-settlement-hero .plist-sprite{transform-origin:50% 76%;overflow:hidden}.dungeon-settlement-row{min-height:38px;color:inherit;font-size:inherit;border-top:1px solid #8ea6c42b;justify-content:space-between;align-items:center;font-weight:700;display:flex}.dungeon-settlement-row b{color:inherit;font-size:19px;font-weight:800}.dungeon-settlement-payout b{color:#ffe099;text-shadow:0 2px 12px #d87b3277;font-size:24px}.dungeon-settlement-row b:not(:empty){animation:.18s cubic-bezier(.2,.85,.3,1.2) both dungeonSettlementValueIn}@keyframes dungeonSettlementValueIn{0%{opacity:0;transform:translateY(5px)scale(.9)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){.dungeon-settlement-row b:not(:empty){animation:none}}.dungeon-settlement-kills{color:inherit;font-size:inherit;border-top:1px solid #8ea6c42b;gap:8px;margin-top:10px;padding-top:10px;font-weight:700;display:grid}.dungeon-settlement-kills>div{flex-wrap:wrap;gap:8px;min-height:52px;display:flex}.dungeon-settlement-kills i{place-items:center;width:52px;height:52px;font-style:normal;display:grid;overflow:hidden}.dungeon-settlement-kills .plist-sprite{filter:drop-shadow(0 4px 4px #0009)}@keyframes dungeonSettlementIn{0%{opacity:0}to{opacity:1}}@keyframes dungeonSettlementCardIn{0%{transform:scale(.94)}to{transform:scale(1)}}@keyframes dungeonSettlementHeroWalk{0%{transform:translate(18px)}to{transform:translate(-18px)}}@media (width<=700px){.dungeon-settlement{padding:12px}.dungeon-settlement-card{max-height:calc(100dvh - 24px);padding:14px 18px}.dungeon-settlement-hero{height:180px}.dungeon-settlement-hero .plist-sprite{transform-origin:50%;scale:.7}.dungeon-settlement-row{min-height:34px}}.dungeon-odds-shell{z-index:5;position:absolute;bottom:0;left:0;right:0;overflow:visible}.dungeon-odds-rail{overscroll-behavior-x:contain;scrollbar-width:thin;background:#070d17f5;border-top:1px solid #25354a;gap:7px;min-height:56px;padding:7px 14px 8px;display:flex;position:relative;overflow-x:auto}.dungeon-odds-rail button:not(.dungeon-odds-popup-close){color:inherit;text-align:center;white-space:nowrap;cursor:pointer;background:#111d2d;border:1px solid #26374e;border-radius:6px;flex:0 0 82px;place-content:center;gap:3px;padding:0;display:grid;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff09}.dungeon-odds-rail button:not(.dungeon-odds-popup-close):before{content:"";background:var(--odds-color);opacity:0;height:2px;transition:opacity .24s;position:absolute;top:0;left:0;right:0}.dungeon-odds-rail small{color:#718096;font-size:10px;font-weight:800}.dungeon-odds-rail b{color:#b9c4d3;font-size:13px}.dungeon-odds-rail button.is-current{border-color:var(--odds-color);background:color-mix(in srgb,var(--odds-color) 17%,#111d2d);box-shadow:0 0 13px color-mix(in srgb,var(--odds-color) 28%,transparent),inset 0 1px 0 #ffffff14}.dungeon-odds-rail button.is-current:before{opacity:1}.dungeon-odds-rail button.is-current small{color:var(--odds-color)}.dungeon-odds-rail button.is-current b{color:#fff}.dungeon-odds-rail button:not(.dungeon-odds-popup-close):focus-visible{outline:2px solid var(--odds-color);outline-offset:2px}.dungeon-odds-popup{z-index:8;border:1px solid var(--odds-color);min-width:188px;box-shadow:0 8px 26px #000c,0 0 14px color-mix(in srgb,var(--odds-color) 24%,transparent);background:#060e1af7;border-radius:9px;align-items:center;gap:8px;padding:8px 28px 8px 9px;display:flex;position:absolute;bottom:65px;left:50%;transform:translate(-50%)}.dungeon-odds-popup-monster{filter:drop-shadow(0 5px 6px #000);place-items:center;width:72px;height:72px;display:grid;overflow:hidden}.dungeon-odds-popup small,.dungeon-odds-popup strong,.dungeon-odds-popup b{display:block}.dungeon-odds-popup small{color:#93a3b8;font-size:10px}.dungeon-odds-popup strong{color:#edf6ff;margin-top:2px;font-size:13px}.dungeon-odds-popup b{color:#ffd775;margin-top:3px;font-size:16px}.dungeon-odds-popup-close{color:#aebed2;cursor:pointer;background:0 0;border:0;width:19px;height:19px;padding:0;font-size:19px;line-height:16px;position:absolute;top:4px;right:5px}@media (width<=700px){.dungeon-odds-rail{min-height:50px;padding:6px 9px 7px}.dungeon-odds-rail button:not(.dungeon-odds-popup-close){flex-basis:74px}.dungeon-odds-rail b{font-size:12px}.dungeon-odds-popup{bottom:58px}}.dungeon-stage .floor-ribbon{transform-origin:top;transition:transform .19s cubic-bezier(.2,.75,.25,1.25),box-shadow .19s;transform:scale(1)}.dungeon-stage .floor-ribbon.multiplier-grow,.dungeon-stage .floor-ribbon.multiplier-rolling{transform:scale(1.75);box-shadow:0 8px 32px #000b,0 0 28px #efa94799}.dungeon-stage .floor-ribbon.multiplier-pop{transition-duration:.11s;transition-timing-function:ease-out;transform:scale(1.84);box-shadow:0 8px 32px #000b,0 0 32px #efa947aa}.dungeon-stage .floor-ribbon.multiplier-shrink{transition-duration:.22s;transform:scale(1)}@media (width<=360px){.dungeon-stage .floor-ribbon.multiplier-grow,.dungeon-stage .floor-ribbon.multiplier-rolling{transform:scale(1.6)}.dungeon-stage .floor-ribbon.multiplier-pop{transform:scale(1.68)}}@media (prefers-reduced-motion:reduce){.dungeon-stage .floor-ribbon{transition-duration:1ms}}.dungeon-hero-selector{z-index:30;align-items:center;gap:6px;display:flex;position:fixed;top:19px;right:clamp(146px,13vw,202px)}.dungeon-presentation-switch{color:#d7e5f6;cursor:pointer;background:linear-gradient(#1d304bf0,#0c1625f0);border:1px solid #536d91;border-radius:999px;height:30px;padding:0 9px;font:700 11px/1 Arial,Noto Sans TC,sans-serif;transition:border-color .18s,background .18s,color .18s}.dungeon-presentation-switch:disabled{cursor:not-allowed;opacity:.48}@media (width<=700px){.dungeon-hero-selector{top:14px;right:128px}.dungeon-presentation-switch{padding:0 7px;font-size:10px}html,body,#app{min-height:100%}#app{height:auto}body{overscroll-behavior-y:auto;overflow:clip auto}.dungeon-app{min-height:100dvh;overflow:clip visible}.dungeon-odds-rail{touch-action:pan-x pan-y}.pixi-dungeon-stage canvas{touch-action:pan-y!important}}.dungeon-app button,.dungeon-hero-selector button{transform-origin:50%;touch-action:manipulation;transition-property:transform,filter,box-shadow,border-color,background-color,color;transition-duration:90ms,90ms,90ms,.18s,.18s,.18s;transition-timing-function:ease-out}.dungeon-app button:not(:disabled):active,.dungeon-hero-selector button:not(:disabled):active{filter:brightness(.78)saturate(1.12);transition-duration:35ms;transform:translateY(2px)scale(.965);box-shadow:inset 0 3px 7px #0000009e,0 1px 2px #00000061!important}.dungeon-app{--market-ink:#170d08;--market-panel:#24150d;--market-panel-raised:#342015;--market-wood:#714022;--market-brass:#d5a653;--market-parchment:#f3dfb5;--market-muted:#b99d78;color:var(--market-parchment);background:radial-gradient(circle at 64% -12%,#694329 0,#302016 34%,#160d09 72%)}.dungeon-topbar{background:linear-gradient(90deg,#1d0e08fa,#311b10f0);border-color:#74401f;box-shadow:0 3px 14px #0b0504a6}.balance-box small,.panel-heading small,.bet-note,.stake-label{color:var(--market-muted)}.balance-box strong,.stake-input span,.payout-table div:last-child b,.dungeon-ready-rate{color:#f0c66f}.dungeon-bet-panel,.floor-map{background:linear-gradient(#2c1c12,#170f0a)}.dungeon-bet-panel{border-color:#684024;box-shadow:inset -1px 0 #110906}.difficulty-card{color:#d7c1a0;background:#382419;border-color:#69452d}.difficulty-card.selected{background:#4a2d1d}.dungeon-bet-panel .difficulty-card:after{background:linear-gradient(#0000,#180c07f7 55%)}.stake-input{background:#120a07;border-color:#805436;box-shadow:inset 0 2px 8px #0008}.stake-input.is-keypad-active{border-color:#dfae59;box-shadow:0 0 0 2px #d5a65355,inset 0 2px 8px #0008}.quick-stakes button{color:#d3b994;background:#362217;border-color:#6f482e}.quick-stakes button:hover{color:#fff1cf;border-color:#c58b46}.depart-button,.restart-button{color:#fff1cf;background:linear-gradient(#b56a2e,#713517);border-color:#e1b45f}.payout-table{border-color:#634027}.payout-table div{color:#b99d78;border-color:#4b301f}.payout-table b{color:#f4dfbc}.floor-ribbon{background:#1f0f09e6;border-color:#a46d36}.floor-ribbon span{color:#d7bd96}.floor-ribbon strong{color:#efc66f}.dungeon-ready-preview:before{background:radial-gradient(#0000 22%,#230f0880 80%)}.dungeon-ready-rate{background:#241109e0;border-color:#d4a24c;box-shadow:0 6px 20px #140905b8}.dungeon-odds-rail{background:#1b0f09f7;border-color:#704425}.dungeon-odds-rail button:not(.dungeon-odds-popup-close){background:#332116;border-color:#624027}.dungeon-odds-rail button.is-current{background:color-mix(in srgb,var(--odds-color) 18%,#3a2417)}.dungeon-odds-rail small{color:#a88966}.dungeon-odds-rail b{color:#dcc39d}.dungeon-odds-popup{background:#25140cf7}.dungeon-odds-popup small{color:#b99d78}.dungeon-odds-popup strong{color:#f5dfba}.dungeon-settlement-card{color:#f2ddb7;background:#27140bf5;border-color:#dda94f}.dungeon-settlement-row,.dungeon-settlement-kills{border-color:#d3a45b38}.dungeon-go-home,.cashout-button{background:linear-gradient(#64764c,#39482f);border-color:#8fa270}.dungeon-next-floor,.next-floor-button{background:linear-gradient(#a64f27,#672416);border-color:#d08b4c}.dungeon-presentation-switch{color:#e6cfaa;background:linear-gradient(#3f2617f5,#1f110bf5);border-color:#805231}.dungeon-presentation-switch[aria-pressed=true]{color:#ffe0a0;background:linear-gradient(#70351af7,#37190ef7);border-color:#d1a24d}.dungeon-numeric-keypad{z-index:11000;box-sizing:border-box;height:calc(206px + env(safe-area-inset-bottom));padding:2px 3px env(safe-area-inset-bottom);background:#24150d;grid-template-columns:minmax(0,1fr) 58px;gap:2px;animation:.18s cubic-bezier(.22,.8,.3,1) dungeon-keypad-enter;display:none;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -10px 28px #0c0504a6,inset 0 1px #f3dfb51f}.dungeon-numeric-keypad .numeric-keypad-digits{grid-template-rows:repeat(4,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;display:grid}.dungeon-numeric-keypad .numeric-keypad-actions{grid-template-rows:1fr 1fr;gap:2px;display:grid}.dungeon-numeric-keypad .numeric-keypad-key{color:#f3dfb5;-webkit-tap-highlight-color:transparent;touch-action:manipulation;background:linear-gradient(#40281a,#352014);border:0;border-radius:0;min-width:0;min-height:0;padding:0;font:700 20px/1 Arial,Noto Sans TC,sans-serif;box-shadow:inset 0 1px #f3dfb51a,inset -1px -1px #12090680}.dungeon-numeric-keypad .numeric-keypad-key:active{background:#714022;box-shadow:inset 0 2px 8px #0c0504a6}.dungeon-numeric-keypad .numeric-keypad-zero{grid-column:span 2}.dungeon-numeric-keypad .numeric-keypad-action{color:#ffe3ac;background:linear-gradient(#8b3927,#652518)}.dungeon-numeric-keypad .numeric-keypad-backspace{color:#652518;background:#f3dfb5;border-radius:3px;justify-content:center;align-items:center;width:23px;height:16px;font-size:13px;display:inline-flex;position:relative}.dungeon-numeric-keypad .numeric-keypad-backspace:before{content:"";border-top:8px solid #0000;border-bottom:8px solid #0000;border-right:7px solid #f3dfb5;position:absolute;left:-6px}.dungeon-numeric-keypad .numeric-keypad-close{flex-direction:column;justify-content:center;align-items:center;gap:1px;font-size:19px;display:flex}.dungeon-numeric-keypad .numeric-keypad-chevron{margin-top:-5px;font-size:16px}@media (width<=720px),(hover:none) and (pointer:coarse){.dungeon-numeric-keypad{display:grid}:root.dungeon-numeric-keypad-open .dungeon-app{padding-bottom:calc(206px + env(safe-area-inset-bottom))}}@media (prefers-reduced-motion:reduce){.dungeon-numeric-keypad{animation:none}}@keyframes dungeon-keypad-enter{0%{transform:translateY(100%)}to{transform:translateY(0)}}.dungeon-stage>.dungeon-floor-transition{z-index:18;visibility:visible;pointer-events:none;position:absolute;inset:0;overflow:hidden}.stage-curtain-closed>.dungeon-floor-transition{pointer-events:auto}.dungeon-floor-transition:before,.dungeon-floor-transition:after{content:"";will-change:transform;background:linear-gradient(90deg,#0000 0 92%,#eab04e61 96%,#e0aa50 99%,#5d1b12 100%),repeating-linear-gradient(100deg,#6f1d16 0 34px,#81251b 34px 68px,#641710 68px 102px);width:51%;transition:transform .32s cubic-bezier(.72,0,.24,1);position:absolute;top:0;bottom:0;box-shadow:0 0 32px #150604cc}.dungeon-floor-transition:before{left:0;transform:translate(-102%)}.dungeon-floor-transition:after{right:0;transform:translate(102%)scaleX(-1)}.dungeon-floor-transition span{z-index:1;color:#ffe0a0;letter-spacing:.18em;text-align:center;opacity:0;background:#35140ee8;border:1px solid #e1b35d;border-radius:999px;min-width:190px;padding:11px 22px;font-size:18px;font-weight:900;transition:opacity .1s,transform .18s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(.92);box-shadow:0 8px 24px #120504b8,inset 0 1px #ffe2a466}.stage-curtain-closed .dungeon-floor-transition:before,.stage-curtain-closed .dungeon-floor-transition:after{transform:translate(0)}.stage-curtain-closed .dungeon-floor-transition:after{transform:translate(0)scaleX(-1)}.stage-curtain-closed .dungeon-floor-transition span{opacity:1;transition-delay:.15s;transform:translate(-50%,-50%)scale(1)}@media (prefers-reduced-motion:reduce){.dungeon-floor-transition:before,.dungeon-floor-transition:after,.dungeon-floor-transition span{transition-duration:1ms!important;transition-delay:0s!important}}.dungeon-screen{width:100%;min-height:100vh;position:relative}@media (width<=720px),(hover:none) and (pointer:coarse){:root:has(.dungeon-screen){overscroll-behavior:none;overflow:hidden}body:has(.dungeon-screen){overscroll-behavior:none;overflow:hidden}body:has(.dungeon-screen){width:100%;height:100dvh;position:fixed;top:0;left:0}:root.device-landscape body:has(.dungeon-screen){width:100vh;height:100vw;position:absolute;top:100%;left:0}#app:has(.dungeon-screen){background:radial-gradient(circle,#49301e,#170d08 72%);justify-content:center;align-items:center;width:100%;height:100%;min-height:0;display:flex}.dungeon-screen{aspect-ratio:720/1280;flex:none;width:min(100%,56.25dvh);height:auto;min-height:0;max-height:100%;overflow:hidden}:root.device-landscape .dungeon-screen{width:min(100%,56.25vw)}.dungeon-app{flex-direction:column;width:100%;height:100%;min-height:0;display:flex;overflow:hidden}.dungeon-topbar{flex:0 0 65px;height:65px;min-height:0}.dungeon-layout{flex-direction:column;flex:auto;min-height:0;display:flex}.dungeon-stage{flex:0 0 50%;order:0;height:auto;min-height:0;max-height:none}.dungeon-bet-panel{overscroll-behavior:contain;touch-action:pan-y;flex:auto;order:1;align-self:stretch;width:100%;min-height:0;overflow:hidden auto}.dungeon-ready-monster{width:72%}.dungeon-hero-selector{position:absolute;top:14px;right:128px}:root.dungeon-numeric-keypad-open .dungeon-app{padding-bottom:0}:root.dungeon-numeric-keypad-open .dungeon-bet-panel{padding-bottom:calc(218px + env(safe-area-inset-bottom))}}.audio-preview-panel{z-index:13000;top:max(12px,env(safe-area-inset-top));width:min(420px,100vw - 24px);max-height:calc(100dvh - 24px - env(safe-area-inset-top));color:#f3dfb5;background:linear-gradient(#382317f9,#1d100afa);border:1px solid #a46d36;border-radius:12px;flex-direction:column;gap:10px;padding:14px;font-family:Arial,Noto Sans TC,sans-serif;display:flex;position:fixed;right:12px;overflow:auto;box-shadow:0 12px 40px #000a}.audio-preview-panel.is-dragging{border-color:#edbf67;box-shadow:0 0 0 3px #d5a65355,0 12px 40px #000a}.audio-preview-heading,.audio-preview-actions,.audio-preview-row{align-items:center;gap:8px;display:flex}.audio-preview-heading>div,.audio-preview-row>div{flex:1;min-width:0}.audio-preview-heading strong,.audio-preview-heading span,.audio-preview-row b,.audio-preview-row code{display:block}.audio-preview-heading strong{font-size:16px}.audio-preview-heading span{color:#bd9b6e;font-size:11px}.audio-preview-panel button{color:#fff1cf;cursor:pointer;background:linear-gradient(#8c4b29,#5e2b19);border:1px solid #9e6b3e;border-radius:6px;flex:none;padding:7px 10px;box-shadow:inset 0 1px #f7d89555}.audio-preview-drop{color:#e9c994;text-align:center;background:#6b391a55;border:1px dashed #d5a653;border-radius:7px;place-items:center;min-height:58px;padding:10px;font-size:12px;display:grid}.audio-preview-panel.is-dragging .audio-preview-drop{color:#fff;background:#9d6a3377}.audio-preview-list{flex-direction:column;gap:5px;display:flex}.audio-preview-row{background:#5d351e9c;border-radius:6px;min-height:48px;padding:6px 7px}.audio-preview-row b{font-size:12px}.audio-preview-row code{color:#c4a27a;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.audio-preview-replaced{color:#e8cd79;white-space:nowrap;font-size:11px}.audio-preview-actions{justify-content:flex-end}@media (width<=600px){.audio-preview-panel{top:max(6px,env(safe-area-inset-top));width:calc(100vw - 12px);max-height:calc(100dvh - 12px - env(safe-area-inset-top));right:6px}}.dungeon-topbar{z-index:40;gap:12px;position:relative}.dungeon-header-actions{align-items:center;gap:12px;min-width:0;margin-left:auto;display:flex}.dungeon-header-actions .balance-box{white-space:nowrap;flex:none;margin-left:0}.dungeon-header-actions .dungeon-hero-selector{flex:none;position:static}.dungeon-header-menu-wrap{flex:none;position:relative}.dungeon-header-menu-button{color:#ffe6bd;cursor:pointer;background:#372215;border:1px solid #91623b;border-radius:6px;place-items:center;width:34px;height:34px;font-size:19px;display:grid}.dungeon-header-menu-button:hover,.dungeon-header-menu-button[aria-expanded=true]{background:#65401f;border-color:#edbf67}.dungeon-header-menu-backdrop{z-index:41;cursor:default;background:0 0;border:0;position:fixed;inset:0}.dungeon-header-menu{z-index:42;background:#24150d;border:1px solid #91623b;border-radius:6px;gap:3px;min-width:152px;padding:6px;display:grid;position:absolute;top:calc(100% + 7px);right:0;box-shadow:0 12px 28px #000a}.dungeon-header-menu button{color:#ffe6bd;text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:3px;padding:10px;font-size:13px;font-weight:700}.dungeon-header-menu button:hover,.dungeon-header-menu button:focus-visible{background:#65401f}.dungeon-bet-error{color:#ffba9c;margin:10px 0;font-size:13px}@media (width<=700px){.dungeon-topbar{gap:8px;padding-inline:10px}.dungeon-logo{letter-spacing:.04em;width:auto;min-width:0;font-size:24px}.dungeon-header-actions{gap:8px}.dungeon-header-menu-button{width:32px;height:32px}}@media (width<=360px){.dungeon-topbar{gap:4px;padding-inline:6px}.dungeon-header-actions,.dungeon-topbar-actions{gap:4px}.dungeon-logo,.dungeon-logo strong{font-size:16px}.balance-box strong{font-size:12px}}#game-loading{z-index:2147483000;color:#f5f7ff;isolation:isolate;background:#070b14;place-items:center;font-family:system-ui,sans-serif;transition:opacity .35s;display:grid;position:fixed;inset:0}#game-loading .game-loading-background{object-fit:cover;z-index:-2;filter:blur(8px);width:100%;height:100%;position:absolute;inset:0;transform:scale(1.04)}#game-loading:before{content:"";z-index:-1;background:#03070f38;position:absolute;inset:0}#game-loading .game-loading-content{text-align:center;flex-direction:column;align-items:center;gap:22px;width:min(78vw,360px);display:flex}#game-loading .game-loading-logo{object-fit:contain;filter:drop-shadow(0 10px 25px #0008);width:100%;height:240px;max-height:36vh}#game-loading progress{appearance:none;background:#ffffff24;border:0;border-radius:999px;width:100%;height:6px;overflow:hidden}#game-loading progress::-webkit-progress-bar{background:#ffffff24;border-radius:999px}#game-loading progress::-webkit-progress-value{background:linear-gradient(90deg,#ffa323,#ff6416);border-radius:999px;transition:width .25s}#game-loading progress::-moz-progress-bar{background:linear-gradient(90deg,#ffa323,#ff6416);border-radius:999px}#game-loading button{color:#161006;cursor:pointer;background:linear-gradient(135deg,#ffae32,#ff7418);border:1px solid #ffc267;border-radius:8px;min-width:200px;min-height:48px;padding:12px 28px;font:700 16px system-ui,sans-serif;box-shadow:0 6px 24px #ff781329}#game-loading button:focus-visible{outline-offset:4px;outline:3px solid #fff}#game-loading [data-loading-status]{color:#c9d2e2;min-height:21px;margin:0;font-size:13px;line-height:1.6}#game-loading [role=alert]{color:#ffb9b9}#game-loading [hidden]{display:none!important}#game-loading.game-loading-leaving{opacity:0}@media (prefers-reduced-motion:reduce){#game-loading{transition:none}}@media (width>=900px) and (aspect-ratio>=1){body{isolation:isolate}.game-page-backdrop{object-fit:cover;z-index:-1;filter:blur(12px)brightness(.55);opacity:.8;pointer-events:none;width:100%;height:100%;position:fixed;inset:0;transform:scale(1.04);display:block!important}}.game-information-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.game-sound-icon[aria-hidden=true]{vertical-align:-.2em;background:currentColor;flex-shrink:0;width:18px;min-width:18px;height:18px;margin-right:.45em;display:inline-block;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 5-5 4H3v6h3l5 4V5Zm4 3a6 6 0 0 1 0 8m3-11a10 10 0 0 1 0 14'/%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 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 5-5 4H3v6h3l5 4V5Zm4 3a6 6 0 0 1 0 8m3-11a10 10 0 0 1 0 14'/%3E%3C/svg%3E") 50%/contain no-repeat}.game-sound-icon[data-enabled=false]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 5-5 4H3v6h3l5 4V5Zm5 4 5 6m0-6-5 6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 5-5 4H3v6h3l5 4V5Zm5 4 5 6m0-6-5 6'/%3E%3C/svg%3E")}.game-limits-icon[aria-hidden=true]{vertical-align:-.2em;background:currentColor;flex-shrink:0;width:18px;min-width:18px;height:18px;margin-right:.45em;display:inline-block;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4v16M19 4v16M5 12h14m-11-3-3 3 3 3m8-6 3 3-3 3'/%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 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4v16M19 4v16M5 12h14m-11-3-3 3 3 3m8-6 3 3-3 3'/%3E%3C/svg%3E") 50%/contain no-repeat}.game-information-actions button,.attack-game nav[aria-label] button{color:#f3e9d8;cursor:pointer;background:#162537;border:1px solid #8c7244;border-radius:8px;padding:8px 12px;font:600 12px/1.3 system-ui}.quick-amount-row .quick-amount-btn,.quick-stakes button,.chip-row .chip b{overflow-wrap:anywhere;white-space:normal;font-size:clamp(10px,1.5vw,14px)}.game-menu-items>button[type=button]{text-align:left;white-space:normal;overflow-wrap:anywhere;grid-template-columns:24px minmax(0,1fr);align-items:center;column-gap:8px;display:grid}.game-menu-items>button>span[aria-hidden=true]{box-sizing:border-box;place-items:center;width:24px;height:24px;margin:0;line-height:1;display:grid}.game-menu-items>button>:is(.game-sound-icon,.game-limits-icon){-webkit-mask-size:18px;mask-size:18px}[data-game-event-entry][hidden]{display:none!important}.game-event-menu-row{align-items:center;gap:6px;display:flex}.game-event-icon{vertical-align:middle;background:#f04452;width:18px;height:18px;display:inline-block;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='3' width='14' height='18' rx='3' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m6 6 6 5 6-5M10 17h4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='11' r='2'/%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 24 24'%3E%3Crect x='5' y='3' width='14' height='18' rx='3' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m6 6 6 5 6-5M10 17h4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='11' r='2'/%3E%3C/svg%3E") 50%/contain no-repeat}
