@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=Press+Start+2P&display=swap";:root{--bg: #0c1116;--wall: #141d24;--wall-bright: #1b2730;--line: #394b50;--line-bright: #6b746b;--text: #ede4d0;--muted: #9da9a5;--gold: #e6bd7a;--gold-shade: #886e4b;--green: #a3d0a2;--red: #e19489;--pixel: "Press Start 2P", "Courier New", monospace;--body-font: "IBM Plex Mono", "Consolas", monospace;color:var(--text);background:var(--bg);font-family:var(--body-font);font-size:14px;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.47}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:3px}a{color:inherit}.site{isolation:isolate;min-height:100vh;display:flex;flex-direction:column;position:relative;overflow:hidden}.wrap{width:min(1280px,calc(100% - 72px));margin:0 auto}.atmosphere{pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;overflow:hidden;background:radial-gradient(ellipse 620px 490px at 12% 30%,#2a392e45,transparent 70%),radial-gradient(ellipse 670px 560px at 90% 75%,#48392630,transparent 72%),repeating-linear-gradient(90deg,#10171d 0,#10171d 32px,#10171d 32px,#10171d 63px,#111a20,#111a20 65px),#0d141a}.atmosphere:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;opacity:.15;background-image:linear-gradient(#7b8f831d 1px,transparent 1px),linear-gradient(90deg,#7b8f831d 1px,transparent 1px);background-size:32px 32px;-webkit-mask-image:linear-gradient(to bottom,black,transparent 94%);mask-image:linear-gradient(to bottom,black,transparent 94%)}.orb{position:absolute;opacity:.25;filter:none;width:250px;height:250px;background:radial-gradient(circle,#9c683c3e 0 3px,transparent 4px) 0 0 / 8px 8px;-webkit-mask-image:radial-gradient(circle,black,transparent 70%);mask-image:radial-gradient(circle,black,transparent 70%)}.orb-one{left:-90px;top:170px}.orb-two{right:-80px;bottom:125px}.noise{position:absolute;top:0;right:0;bottom:0;left:0;opacity:.12;background:repeating-conic-gradient(#d4bea335 0 25%,transparent 0 50%) 0 0 / 4px 4px}.panel{position:relative;background:linear-gradient(180deg,#1d2930 0,#151e25);border:2px solid var(--line);box-shadow:5px 5px #070b0e,inset 0 0 0 3px #152029}.panel:before{position:absolute;content:"";width:11px;height:11px;top:-2px;left:-2px;border-top:3px solid var(--gold-shade);border-left:3px solid var(--gold-shade);pointer-events:none}.panel:after{position:absolute;content:"";width:11px;height:11px;bottom:-2px;right:-2px;border-bottom:3px solid var(--gold-shade);border-right:3px solid var(--gold-shade);pointer-events:none}.topbar{min-height:81px;display:flex;justify-content:space-between;align-items:center;padding:12px clamp(20px,4.5vw,78px);gap:20px;background:#10171cdd;border-bottom:2px solid #3d4744}.brand{display:flex;gap:17px;align-items:center;min-width:0}.brand-emblem{width:46px;height:46px;flex:none;display:grid;place-items:center;border:2px solid var(--gold);color:#f4d394;background:repeating-conic-gradient(#c5a46518 0 25%,transparent 0 50%) 0 0/8px 8px;box-shadow:3px 3px #05090b}.brand-emblem img{width:33px;height:33px;image-rendering:pixelated}.brand-name{font-family:var(--pixel);font-size:14px;line-height:1.6;letter-spacing:2px;color:#f2d89f;text-shadow:2px 2px #2b241c}.brand-tag{margin-top:6px;font-size:9px;letter-spacing:2px;color:#94aaa7}.connection{display:flex;align-items:center;gap:10px;font-size:11px;white-space:nowrap;color:#b7c7bd}.connection svg{color:var(--green)}.connection:before{content:"";height:7px;width:7px;background:var(--green);box-shadow:2px 2px #274a38}.connection-off{color:#e2a093}.connection-off svg{color:var(--red)}.connection-off:before{background:var(--red)}.entry{flex:1;display:grid;grid-template-columns:1.07fr .93fr;gap:clamp(40px,5vw,86px);align-items:center;min-height:calc(100dvh - 146px);padding:52px 0 60px}.eyebrow{display:flex;align-items:center;gap:13px;font:9px/1.9 var(--pixel);letter-spacing:1px;color:var(--gold);text-transform:uppercase}.eyebrow-line{width:24px;height:4px;background:var(--gold);flex:none;box-shadow:4px 4px #57472f}.intro h1{font:clamp(23px,2.32vw,35px)/1.55 var(--pixel);letter-spacing:-.4px;margin:24px 0 27px;color:#f2e9d7;text-shadow:4px 4px 0 #292b2b}.intro h1 em{font-style:normal;color:var(--gold);text-shadow:4px 4px 0 #3a2a1e}.intro>p{max-width:540px;line-height:1.85;font-size:14px;color:#bac6bd;margin:0}.intro-stats{display:flex;gap:24px;align-items:center;margin-top:35px}.intro-stats>div:not(.vertical-divider){display:flex;flex-direction:column;gap:12px}.intro-stats b{font:18px/1.7 var(--pixel);color:#e7ca91}.intro-stats span{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#94a9a4}.vertical-divider{height:40px;width:2px;background:#4a5148}.dungeon-trail{margin-top:36px;border-top:2px dashed #4a544f;padding-top:22px;max-width:490px}.trail-label{color:#99b3a5;font:9px/1.7 var(--pixel);letter-spacing:.4px;display:flex;gap:10px}.trail-label span{color:var(--gold)}.trail-floors{display:flex;align-items:center;gap:9px;margin-top:19px}.trail-floors>span{position:relative;width:40px;height:39px;display:grid;place-items:center;background:#1c282c;border:2px solid #43534c;color:#82938b;font:9px var(--pixel);box-shadow:3px 3px #060b0e}.trail-floors>span:not(:last-child):after{content:"";position:absolute;left:100%;width:10px;height:3px;background:#64725b;top:17px}.trail-floors>span.trail-active{color:#1a2426;border-color:#e2b878;background:#e2b878;box-shadow:3px 3px #6a5033}.gate{padding:32px 34px 30px;max-width:535px;width:100%;justify-self:end}.panel-top{display:flex;align-items:center;justify-content:space-between}.overline{font:9px/1.75 var(--pixel);letter-spacing:.5px;color:#e5bd7c;text-transform:uppercase}.small-symbol{font-size:22px;color:#cbad72}.gate h2,.section-title h2,.settings h2{font:17px/1.7 var(--pixel);margin:18px 0 13px;color:#f1e7d5;letter-spacing:-.15px}.muted{font-size:12px;line-height:1.75;color:#abb8b0;margin:0}.field-label{display:block;color:#b7c9bc;font:9px/1.6 var(--pixel);margin:23px 0 12px;letter-spacing:0}.text-input,.select-wrap select,.invite-tools input,.invite-advanced input{width:100%;height:51px;padding:0 15px;outline:none;border:2px solid #485451;background:#0e171d;color:#f3e9d7;border-radius:0;transition:border-color .15s;min-width:0}.text-input:focus,.select-wrap select:focus,.invite-tools input:focus,.invite-advanced input:focus{border-color:var(--gold)}.text-input::placeholder,.invite-tools input::placeholder{color:#7a8b86}.tab-bar{display:grid;grid-template-columns:1fr 1fr;margin-top:26px;border-bottom:2px solid #465049}.tab-bar button{min-height:54px;display:flex;justify-content:center;align-items:center;gap:9px;background:#131d23;border:0;color:#9da9a5;font-size:11px;font-weight:700;padding:8px 5px;position:relative}.tab-bar button.active{color:#ffdea0;background:#28312b}.tab-bar button.active:after{content:"";height:4px;background:var(--gold);position:absolute;bottom:-2px;left:0;right:0}.select-wrap{position:relative}.select-wrap select{-webkit-appearance:none;-moz-appearance:none;appearance:none}.select-wrap option{background:#152029}.select-wrap>svg{position:absolute;right:15px;top:17px;color:var(--gold);pointer-events:none}.button{border:2px solid transparent;border-radius:0;min-height:51px;padding:11px 15px;display:inline-flex;gap:10px;align-items:center;justify-content:center;text-align:center;font-size:12px;font-weight:700;line-height:1.5;transition:transform .12s,background .12s,box-shadow .12s}.button:not(:disabled):hover{transform:translate(-2px,-2px)}.button-primary{color:#211f1b;background:#e4b978;border-color:#ffdaa0;box-shadow:4px 4px #795638}.button-primary:not(:disabled):hover{background:#ffcf8c;box-shadow:6px 6px #795638}.button-secondary{color:#dce8d7;background:#2c413a;border-color:#688472;box-shadow:3px 3px #0b1314}.button-secondary:not(:disabled):hover{background:#3b5547;box-shadow:5px 5px #0b1314}.button-muted{color:#b6dec0;background:#213d32;border-color:#659677;box-shadow:3px 3px #0b1314}.full{width:100%;margin-top:27px}.gate-footer{margin-top:25px;padding-top:20px;border-top:2px dotted #44504b;display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.8;color:#98aa9f}.gate-footer svg{color:var(--gold);flex:none}.error{color:#ffb6ac;background:#48262c;border:2px solid #9c5352;padding:12px 14px;margin-top:17px;font-size:11px;line-height:1.7}.site-footer{padding:19px clamp(20px,4.5vw,78px);display:flex;align-items:center;justify-content:space-between;gap:20px;background:#10171c99;border-top:2px solid #313d3c;color:#879a91;font:9px/1.65 var(--pixel);letter-spacing:.5px}.site-footer span:last-child{color:#ab966c}.lobby{flex:1;padding:35px 0 65px}.crumb{display:flex;align-items:center;gap:14px;color:#8f9e97;font-size:11px}.crumb button{display:inline-flex;align-items:center;gap:7px;border:0;background:none;padding:0;color:#e6bf83;font-size:11px}.crumb button:hover{color:#ffe1a6}.crumb>span:last-child{color:#a2b2a8}.lobby-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin:36px 0 25px}.lobby-head h1{margin:18px 0;font:clamp(19px,2.15vw,29px)/1.6 var(--pixel);color:#f1e7d4;text-transform:uppercase;word-break:break-word;max-width:800px}.lobby-sub{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#b2c2b6;font-size:12px;line-height:1.8}.lobby-sub svg{color:#d1b780}.dot{color:#d2b981;padding:0 3px}.room-controls{display:flex;align-items:stretch;gap:8px}.room-code{min-width:155px;padding:10px 17px;display:flex;flex-direction:column;justify-content:center;gap:9px;background:#222f31;border:2px solid #526056;box-shadow:3px 3px #05090d}.room-code span{font:8px/1.5 var(--pixel);color:#9bb2a7}.room-code strong{font:17px/1.5 var(--pixel);letter-spacing:1.6px;color:#edc68a}.square-button{width:50px;display:grid;place-items:center;border:2px solid #51645c;color:#f0c991;background:#223037;box-shadow:3px 3px #05090d}.square-button:hover{background:#304240}.lobby-grid{display:grid;grid-template-columns:1fr 1.13fr;gap:18px}.members,.selection{padding:26px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:14px}.section-title h2{margin:0;font:15px/1.7 var(--pixel)}.selection .section-title h2{margin-top:10px}.count{font:9px/1.5 var(--pixel);padding:7px 9px;color:#f0ce91;border:2px solid #846b47;background:#3b3426}.players{margin-top:20px}.player-line{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:2px dotted #3e4c4d}.player-line.own{background:#ad965018;padding:12px 9px}.player-avatar{width:46px;height:46px;display:grid;place-items:center;flex:none;border:2px solid #647c70;color:#d9bb80;background:#25342f;box-shadow:3px 3px #0e1417;font-size:20px}.player-avatar svg:not(.pixel-portrait){color:#9eaf9e}.player-meta{flex:1;min-width:0}.player-name{display:flex;align-items:center;gap:6px;min-width:0;font-size:12px;font-weight:700;color:#eee8d9;overflow-wrap:anywhere}.player-class{color:#afc1b5;font-size:11px;margin-top:6px}.player-line.empty .player-name{color:#91a19b;font-weight:400}.crown{color:var(--gold);flex:none}.you{flex:none;border:1px solid #b99b67;color:#e9c88f;padding:2px 4px;font:7px var(--pixel)}.status{display:inline-flex;align-items:center;gap:4px;font-size:11px;white-space:nowrap;color:#b9beb4}.status-ready{color:var(--green)}.status-away{color:var(--red)}.member-bottom{padding-top:23px}.ready-note{color:#b3c3b7;line-height:1.75;font-size:12px;min-height:36px}.member-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:13px}.member-actions .button{flex:1;min-width:150px}.selection-icon{width:38px;height:38px;display:grid;place-items:center;border:2px solid #6b6b50;color:var(--gold);background:#2a2d27}.selection-descr{margin:13px 0 20px}.hero-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.hero{position:relative;min-width:0;min-height:205px;display:flex;flex-direction:column;text-align:left;overflow:hidden;background:linear-gradient(180deg,#243239 0,#243239 37%,#121c24 37%,#121c24);color:#f1e8d6;border:2px solid #495f61;padding:10px;box-shadow:3px 3px #070b0c;transition:transform .12s,border-color .12s,box-shadow .12s}.hero:before{content:"";pointer-events:none;position:absolute;left:0;right:0;top:0;height:4px;background:repeating-linear-gradient(90deg,var(--hero-color) 0 8px,transparent 8px 16px);opacity:.48}.hero:not(:disabled):hover{transform:translate(-2px,-2px);border-color:var(--hero-color);box-shadow:5px 5px #060b0e}.hero-selected{border-color:var(--hero-color);box-shadow:0 0 0 2px #0d1418,0 0 0 4px var(--hero-color),4px 4px #080e10;background:linear-gradient(180deg,#283d40 0,#283d40 37%,#182626 37%,#182626)}.hero-claimed{opacity:.68;filter:saturate(.8)}.hero-symbol{height:82px;display:flex;justify-content:center;align-items:center}.pixel-portrait{display:block;image-rendering:pixelated;shape-rendering:crispEdges;width:75px;height:75px;filter:drop-shadow(3px 3px 0 #111c20)}.pixel-portrait.small{width:38px;height:38px;filter:none}.hero-body{margin-top:auto;padding-top:4px}.hero-name{font:11px/1.65 var(--pixel);color:#f1e3ca}.hero-title{color:#b4c6b9;font-size:11px;line-height:1.5;margin-top:5px}.hero-hp{font-size:12px;color:#d4d8ca;font-weight:600}.hero-hp:first-letter{color:#ec8d87}.hero-hp b{color:#f3d3a7}.hero-check{position:absolute;top:9px;right:9px;width:22px;height:22px;display:grid;place-items:center;color:#13201c;background:var(--hero-color);border:2px solid #0d1516}.claimed-label{position:absolute;right:6px;top:9px;padding:5px 6px;color:#e9e6df;background:#202728;font:8px/1.5 var(--pixel)}.preview-active{padding:25px 16px;margin-top:24px;display:flex;flex-direction:column;align-items:center;gap:12px;background:#1d3327;border:2px solid #66896b;color:#b9dfb4;text-align:center}.preview-active strong{font:11px/1.6 var(--pixel)}.preview-active p{margin:0;font-size:12px;color:#bad0ba;line-height:1.6}.invite{margin-top:18px;padding:23px 25px;display:flex;flex-direction:column;gap:17px}.invite-heading{display:flex;align-items:center;gap:14px}.invite-mark{width:44px;height:44px;flex:none;display:grid;place-items:center;background:#413c2c;border:2px solid #9b7954;color:var(--gold)}.invite-heading h3{font:12px/1.8 var(--pixel);margin:0 0 5px}.invite-heading p{margin:0;color:#b3c4b8;font-size:12px;line-height:1.65}.invite-tools{display:flex;gap:12px;align-items:flex-end}.invite-tools label{display:block;min-width:0}.invite-tools label span,.invite-advanced label span{display:block;color:#bbcebd;font:9px/1.5 var(--pixel);margin-bottom:10px}.invite-url{flex:1;min-width:0}.invite-tools input,.invite-advanced input{height:46px;font-size:12px}.invite-url input{color:#eccb95}.copy-url{min-height:46px;height:46px;flex:none}.invite-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border-top:2px dotted #42534d;padding-top:13px;color:#b6c7bc;font-size:12px}.invite-bottom strong{font:10px var(--pixel);color:#e8c58a;margin-left:6px}.invite-settings-toggle{display:inline-flex;align-items:center;gap:9px;border:0;background:none;padding:6px 0;font-size:12px;color:#e5bc80}.invite-settings-toggle:hover{color:#ffdaa2}.invite-warning{background:#3d3323;border:2px solid #867045;color:#edcf92;padding:12px 14px;font-size:11px;line-height:1.7}.invite-advanced{display:flex;align-items:flex-end;flex-wrap:wrap;gap:16px;border:2px solid #455d58;padding:15px;background:#0c161c}.invite-advanced label{display:block;flex:none;width:220px;max-width:100%}.invite-advanced p{margin:0;flex:1;min-width:200px;font-size:11px;line-height:1.7;color:#a6b7aa}.error-room{display:flex;align-items:center;justify-content:space-between;gap:10px}.error-room button{border:0;background:none;color:inherit}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:3;background:#030608db;padding:20px;display:grid;place-items:center}.settings{width:min(460px,100%);padding:30px;position:relative}.settings h2{margin:18px 0 26px}.modal-close{position:absolute;right:18px;top:18px;border:0;background:transparent;color:#eac38d}.toast{position:fixed;bottom:25px;right:25px;z-index:5;display:flex;align-items:center;gap:10px;background:#244036;color:#d7f0d9;border:2px solid #70a483;padding:12px 17px;box-shadow:5px 5px #060a0c;font-size:11px}@media(max-width:1080px){.entry{gap:40px;grid-template-columns:1fr 1fr}.intro h1{font-size:clamp(19px,2.6vw,27px)}.gate{padding:26px}.lobby-grid{grid-template-columns:1fr}.hero{min-height:177px}.hero-symbol{height:77px}}@media(max-width:800px){.wrap{width:min(100% - 38px,660px)}.topbar{min-height:71px;padding:12px 20px}.brand-name{font-size:11px}.brand-tag{font-size:8px;letter-spacing:1px}.brand-emblem{width:41px;height:41px}.entry{grid-template-columns:1fr;padding:42px 0 60px;min-height:auto;gap:42px}.intro h1{font-size:clamp(20px,4.8vw,34px)}.gate{justify-self:stretch;max-width:none}.dungeon-trail{margin-top:25px}.lobby-head{align-items:flex-start;flex-direction:column;gap:22px}.lobby-head h1{font-size:clamp(19px,4vw,26px)}.hero-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.site-footer{font-size:7px;padding:18px 20px}}@media(max-width:520px){.wrap{width:calc(100% - 30px)}.brand{gap:11px}.brand-name{font-size:10px}.brand-tag{font-size:7px}.connection span{display:none}.entry{padding:30px 0 49px}.intro h1{font-size:clamp(17px,4.5vw,22px);line-height:1.85}.intro>p{font-size:12px}.intro-stats{gap:15px;margin-top:22px}.intro-stats b{font-size:14px}.intro-stats span{font-size:9px}.trail-floors{gap:7px}.trail-floors>span{height:33px;width:33px;font-size:8px}.trail-floors>span:not(:last-child):after{width:8px;top:14px}.gate{padding:23px 18px}.gate h2{font-size:14px}.tab-bar button{font-size:10px;gap:5px}.lobby{padding:24px 0 45px}.lobby-head{margin:27px 0 20px}.lobby-head h1{font-size:18px}.members,.selection{padding:19px 16px}.section-title h2{font-size:12px}.lobby-grid{gap:14px}.hero-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{min-height:188px}.hero-symbol{height:69px}.pixel-portrait{width:64px;height:64px}.member-actions .button{min-width:125px}.player-line{gap:8px}.player-avatar{width:40px;height:40px}.pixel-portrait.small{width:33px;height:33px}.player-name{font-size:11px}.status{font-size:10px}.room-code{min-width:142px}.room-code strong{font-size:14px}.invite{padding:19px 16px}.invite-tools{flex-direction:column;align-items:stretch}.copy-url{width:100%}.invite-bottom{align-items:flex-start}.invite-advanced label{width:100%}.site-footer span:last-child{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}.hero:disabled{opacity:1}.hero:disabled.hero-claimed{opacity:.68}.hero:disabled:not(.hero-claimed){cursor:default}.hero-party{border-color:#688474;background:linear-gradient(180deg,#2a3b3b 0,#2a3b3b 37%,#182624 37%,#182624)}.hero-party .hero-symbol{filter:brightness(1.08)}.hero-party .claimed-label{background:#29473a;color:#bbebc1}.hero-locked:not(.hero-party):not(.hero-selected){border-color:#3e514d}.hero-locked:not(.hero-party):not(.hero-selected) .hero-symbol{opacity:.78}.hero-selected.hero-locked{box-shadow:0 0 0 2px #0d1418,0 0 0 4px var(--hero-color),4px 4px #080e10}.hero-vitals{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:11px;padding-top:9px;border-top:2px dotted #3f514e}.hero-vitals-label{color:#9cb4a9;font-size:10px;letter-spacing:.4px}.hero-hp{white-space:nowrap}.hero-hp b{font-weight:700}.hero-check{box-shadow:2px 2px #07110e}.player-line{position:relative}.player-line.member-ready{background:linear-gradient(90deg,#29463355,transparent 75%)}.player-line.member-ready:before{content:"";position:absolute;left:0;top:17px;bottom:17px;width:3px;background:#8dbd8c;opacity:.85}.player-line.member-ready .status-ready{color:#b1e3b1;font-weight:700}.preview-active{position:relative;overflow:hidden;box-shadow:inset 0 0 0 3px #192c22}.preview-active:before,.preview-active:after{content:"";position:absolute;height:8px;width:8px;border:2px solid #96ba88;pointer-events:none}.preview-active:before{top:7px;left:7px;border-right:0;border-bottom:0}.preview-active:after{right:7px;bottom:7px;border-top:0;border-left:0}.button:not(:disabled):active{transform:translate(2px,2px);box-shadow:1px 1px #080d0d}.hero:not(:disabled):active{transform:translate(1px,1px);box-shadow:1px 1px #080d0d}.hero-selected .hero-check{animation:check-arrive .26s steps(3,end) both}.intro,.gate,.lobby-head,.members,.selection,.invite{animation:ui-appear .33s ease-out both}.gate,.selection{animation-delay:.05s}.invite{animation-delay:.08s}.preview-active{animation:party-ready .34s ease-out both}@keyframes ui-appear{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes check-arrive{0%{opacity:0;transform:scale(.65)}to{opacity:1;transform:scale(1)}}@keyframes party-ready{0%{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media(max-width:800px){.entry{min-height:auto}.hero-vitals-label{font-size:9px}}@media(max-width:520px){.hero-name,.hero-title{font-size:10px}.hero-vitals-label{font-size:9px}.hero-hp{font-size:11px}.overline,.field-label,.trail-label{font-size:8px}.intro>p{font-size:13px}}.battle-shell{width:min(1680px,calc(100% - 44px));margin:0 auto;flex:1;padding:24px 0 42px;min-width:0;position:relative}.battle-topline{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:16px}.battle-topline h1{font:clamp(15px,1.7vw,22px)/1.55 var(--pixel);margin:8px 0 6px;color:#f0e6d2}.battle-topline>div:first-child>p{margin:0;color:var(--gold);font:11px var(--pixel)}.battle-topline>div:first-child>p span{color:#52655e;margin:0 8px}.battle-toolbar{display:flex;align-items:center;gap:10px}.battle-icon-button{display:grid;place-items:center;width:42px;height:42px;border:1px solid #50646a;background:#111b22;color:#efc98b;cursor:pointer}.battle-icon-button:hover{background:#23333a;border-color:#f1c685}.battle-timer{padding:8px 10px;display:grid;grid-template-columns:24px 1fr;align-items:center;justify-items:center;gap:2px;color:var(--gold);min-width:104px}.battle-timer strong{font:22px var(--pixel);align-self:end}.battle-timer span{grid-column:1/-1;font:8px var(--pixel);color:#a9b9a9}.battle-timer.urgent{border-color:#b36b65}.battle-timer.urgent strong{color:#f38a7f}.battle-layout-circular{display:grid;grid-template-columns:minmax(580px,1.9fr) minmax(320px,.95fr);gap:16px;align-items:start}.battle-stage-circle{padding:14px;position:relative;min-width:0;overflow:clip;display:flex;flex-direction:column;align-items:stretch}.battle-stage-message{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;border:1px solid #405053;background:#111b22;padding:12px 14px}.battle-stage-message strong{font:11px var(--pixel);color:#efc98b}.battle-stage-message span{font-size:11px;color:#b5c2b7;line-height:1.6;text-align:right}.table-board{position:relative;width:min(100%,700px,calc(100dvh - 245px));min-width:0;max-width:100%;aspect-ratio:1/1;flex:none;margin:0 auto;border:1px solid #2f4346;background:radial-gradient(circle at center,#192127 0,#111820 48%,#0d141b);overflow:hidden}.table-board:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:repeating-linear-gradient(90deg,transparent 0 58px,#32424a14 59px 60px),repeating-linear-gradient(0deg,transparent 0 58px,#32424a12 59px 60px);opacity:.55;pointer-events:none}.table-ring{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;border:2px solid rgba(240,202,138,.24)}.ring-outer{width:96%;height:96%;background:radial-gradient(circle at center,#7e9eb914,#7e9eb90a)}.ring-mid{width:64%;height:64%;background:radial-gradient(circle at center,#e39b731f,#e39b7314);border-color:#e79f7661}.ring-center{width:30%;height:30%;background:radial-gradient(circle at center,#a87cba2e,#a87cba1c);border-color:#b483c961}.table-seat,.table-monster,.table-boss-core{position:absolute;z-index:2}.table-seat-card,.table-monster-card,.boss-card{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:4px}.table-seat-card{width:110px;min-height:116px;padding:8px 8px 10px;border:2px solid #51646a;background:#101920;box-shadow:4px 4px #060a0d}.table-seat.self .table-seat-card{border-color:#efc98b}.table-seat.active .table-seat-card{box-shadow:0 0 0 2px #efc98b52,4px 4px #060a0d}.table-seat.offline{opacity:.55}.table-seat-sprite{width:66px;height:66px;display:grid;place-items:center}.table-seat .pixel-portrait.small{width:60px;height:60px}.empty-seat{display:grid;place-items:center;width:54px;height:54px;background:#203138;color:#89a198;font:18px var(--pixel)}.table-seat-card strong{font-size:11px;color:#f1e7d7;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-seat-card small{font-size:9px;color:#9cb2ab;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seat-hp{display:flex;align-items:center;gap:4px;font-size:10px;color:#f08b84}.table-monster-card{width:96px;min-height:100px;padding:8px;border:2px solid #6b5650;background:#17171d;box-shadow:4px 4px #060a0d}.table-monster.active .table-monster-card{border-color:#efc98b}.table-monster .battle-pixel{width:52px;height:52px}.table-monster-card strong,.boss-card strong{font:10px var(--pixel);color:#f0e6d2}.table-monster-card small,.boss-card small{font-size:9px;color:#b1b4b8;line-height:1.45}.table-boss-core{left:50%;top:50%;transform:translate(-50%,-50%)}.boss-card{width:146px;min-height:150px;padding:16px 12px;border:2px solid #7e5d5c;background:#1d1718;box-shadow:5px 5px #060a0d}.boss-card .battle-pixel{width:76px;height:76px}.battle-side-column{display:flex;flex-direction:column;gap:14px;min-width:0}.battle-panel-combined,.battle-log,.battle-controls{padding:16px}.battle-section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.battle-section-heading h2{margin:0;display:flex;align-items:center;gap:8px;font:10px/1.65 var(--pixel);color:#f0ca8a}.battle-section-heading>span{font-size:10px;color:#b2c6bd}.battle-six.compact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.battle-die{position:relative;padding:7px 4px;min-width:0;min-height:92px;border:2px solid #50646a;background:#121c23;color:#e6e0d5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}.battle-die.type-strike{border-color:#a75f62}.battle-die.type-shield{border-color:#638bab}.battle-die.type-heal{border-color:#608b70}.battle-die.type-mana{border-color:#8c6aaf}.battle-die.type-special{border-color:#9d8b63}.battle-die-no{position:absolute;top:4px;left:6px;color:#9db0a9;font-size:9px}.battle-effect-symbol{font:bold 24px/1 var(--body-font);color:#929c9b;line-height:1}.battle-effect-symbol.type-strike{color:#ee817a}.battle-effect-symbol.type-heal{color:#8ed8a2}.battle-effect-symbol.type-shield{color:#84b8e8}.battle-effect-symbol.type-mana{color:#c79eff}.battle-effect-symbol.type-special{color:#efd38f}.battle-die strong{font-size:10px;line-height:1.45;min-height:28px;display:flex;align-items:center;word-break:break-word}.battle-die.interactive{cursor:pointer}.battle-die.interactive:hover{background:#294042;border-color:#f3c88b;transform:translate(-2px,-2px);box-shadow:3px 3px #061114}.battle-roll-note,.battle-choice-label{color:#a3b7b1;font-size:10px;line-height:1.6;min-height:24px;margin:14px 0 8px}.battle-choice-label{color:#ecc98e}.battle-roll-results.compact{display:flex;gap:10px;justify-content:center;min-height:90px}.battle-roll-results .battle-die{min-height:84px;min-width:132px;max-width:170px;padding:7px 9px}.battle-roll-results .battle-effect-symbol{font-size:22px}.battle-artifact-stack{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.artifact-placeholder{display:flex;align-items:center;gap:10px;border:1px solid #425458;background:#111b22;padding:11px 10px;min-height:58px}.artifact-placeholder span{display:grid;place-items:center;width:32px;height:32px;background:#24333b;color:#deb976;flex:none}.artifact-placeholder strong{display:block;font:9px var(--pixel);margin-bottom:3px}.artifact-placeholder small{font-size:10px;color:#a5b5a8;line-height:1.45}.battle-action-buttons.single-row{display:block;margin-top:12px}.battle-action-buttons .button-primary{width:100%}.battle-pass-link{border:0;background:none;color:#90a6a0;margin-top:8px;padding:0;font-size:10px;text-decoration:underline;text-underline-offset:3px}.battle-pass-link:hover{color:#c5d7d1}.compact-log .battle-events{max-height:260px;overflow-y:auto;scrollbar-width:thin}.battle-event{padding:8px 0;border-bottom:1px solid #354344;color:#b8c7bc;font-size:11px;line-height:1.65;margin:0}.battle-event.event-action{color:#ebc17e}.battle-event.event-timeout{color:#e99988}.battle-event.event-dice{color:#a4c7db}.mini-controls{display:flex;flex-direction:column;gap:10px}.mini-card{display:flex;gap:10px;align-items:flex-start;padding:9px 0;border-bottom:1px solid #344449;color:#b8c7bc}.mini-card strong{display:block;font-size:11px;color:#f0e6d2}.mini-card small{font-size:10px;color:#9eb2ac;line-height:1.45}.battle-leave{border:0;background:transparent;color:#eac792;display:flex;align-items:center;gap:7px;font-size:11px;padding:0;margin-top:10px}.battle-leave:hover{color:#fff0d1}.battle-chat-drawer{position:fixed;top:110px;right:28px;z-index:14;width:min(340px,calc(100vw - 28px));padding:16px;box-shadow:6px 6px #05080a}.chat-placeholder{padding-top:6px;color:#b4c3b9}.chat-placeholder strong{display:block;font:10px var(--pixel);color:#efc98b;margin-bottom:10px}.chat-placeholder p{margin:0;font-size:11px;line-height:1.7}.battle-error{position:fixed;z-index:15;left:50%;bottom:26px;transform:translate(-50%);padding:16px 18px;border:2px solid #ce8b81;background:#291d1f;color:#fbe1c7;max-width:calc(100vw - 30px);box-shadow:5px 5px #05080a;display:flex;align-items:center;gap:15px}.battle-error button{border:0;background:none;color:inherit}.battle-confirm{padding:30px;width:min(420px,90vw)}.battle-confirm h2{font:14px var(--pixel)}.battle-confirm p{line-height:1.7;color:#b6c7bc}.confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}@media(max-width:1250px){.battle-layout-circular{grid-template-columns:1fr}.battle-side-column{display:grid;grid-template-columns:1fr 1fr;align-items:start}.battle-controls{grid-column:1/-1}}@media(max-width:900px){.battle-shell{width:calc(100% - 26px);padding-top:16px}.battle-topline{flex-direction:column;align-items:stretch}.battle-toolbar{justify-content:space-between}.battle-stage-circle{padding:12px}.table-board{width:min(100%,650px,calc(100dvh - 235px));min-width:0}.table-seat-card{width:94px;min-height:106px}.table-seat-sprite{width:50px;height:50px}.table-seat .pixel-portrait.small{width:48px;height:48px}.table-monster-card{width:88px;min-height:92px}.boss-card{width:150px;min-height:154px}.boss-card .battle-pixel{width:80px;height:80px}.battle-side-column{grid-template-columns:1fr}}@media(max-width:620px){.battle-stage-message{flex-direction:column;align-items:flex-start}.table-board{width:100%;min-width:0}.table-seat-card{width:76px;min-height:92px;padding:6px}.table-seat-card strong{font-size:9px}.table-seat-card small{font-size:8px}.table-monster-card{width:70px;min-height:78px;padding:6px}.table-monster .battle-pixel{width:42px;height:42px}.boss-card{width:124px;min-height:132px;padding:10px 6px}.boss-card .battle-pixel{width:62px;height:62px}.battle-six.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.battle-artifact-stack{grid-template-columns:1fr}.battle-chat-drawer{top:84px;right:12px}}.battle-pixel{image-rendering:pixelated;display:block;filter:drop-shadow(2px 3px 0 #070b0e)}.table-seat-card,.table-monster-card,.boss-card{width:108px;min-height:0;padding:0;border:none;background:transparent;box-shadow:none;gap:3px;color:#f2e8d9;filter:drop-shadow(0 3px 2px #06090bcc)}.table-seat.self .table-seat-card,.table-seat.active .table-seat-card,.table-monster.active .table-monster-card{border:0;box-shadow:none}.table-seat-sprite{width:68px;height:63px;position:relative;display:grid;place-items:center}.table-seat-sprite:before{content:"";position:absolute;z-index:-1;left:5px;right:5px;bottom:1px;height:18px;border-radius:50%;background:#657e9169;border:1px solid #8fa2a34a}.table-seat.self .table-seat-sprite:before{background:#c9a26570;border-color:#efc98b88}.table-seat.active .table-seat-sprite{filter:drop-shadow(0 0 6px #efd19a8a)}.table-seat-card strong,.table-monster-card strong,.boss-card strong{white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;text-shadow:1px 2px 1px #05090d,-1px -1px 1px #05090d}.table-seat-card small,.table-monster-card small,.boss-card small,.seat-hp{text-shadow:1px 1px 2px #05090d,-1px -1px 1px #05090d}.table-monster-card{width:106px}.table-monster-card .battle-pixel{width:59px;height:59px;filter:drop-shadow(0 6px 2px #070a0da8)}.table-monster-card small{max-width:98px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.boss-card{width:140px}.boss-card .battle-pixel{width:90px;height:90px;filter:drop-shadow(0 7px 3px #08050ac9)}.boss-card strong{font-size:12px;color:#f0b1a4}.boss-card small{width:115px;line-height:1.35}.table-seat.offline{opacity:.48}@media(max-width:900px){.table-board{width:min(100%,650px,calc(100dvh - 235px));min-width:0}.table-seat-card{width:90px}.table-monster-card{width:84px}.boss-card{width:115px}.boss-card .battle-pixel{width:70px;height:70px}.table-seat-sprite{width:55px;height:54px}.table-seat .pixel-portrait.small{width:52px;height:52px}.table-monster-card .battle-pixel{width:46px;height:46px}}@media(max-width:620px){.table-board{width:100%;min-width:0}.table-seat-card{width:65px;gap:1px}.table-monster-card{width:62px;gap:1px}.boss-card{width:78px;gap:1px}.table-seat-sprite{width:42px;height:40px}.table-seat .pixel-portrait.small{width:40px;height:40px}.table-monster-card .battle-pixel{width:35px;height:35px}.boss-card .battle-pixel{width:45px;height:45px}.table-seat-card strong,.table-monster-card strong{font-size:8px}.table-seat-card small,.table-monster-card small{font-size:7px}.boss-card strong{font-size:9px}.boss-card small{display:none}.table-seat-card .seat-hp{font-size:9px}}.battle-hidden-status{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}@media(max-width:1250px)and (min-width:901px){.table-seat-card{width:85px}.table-monster-card{width:80px}.boss-card{width:106px}.table-seat-sprite{width:55px;height:53px}.table-seat .pixel-portrait.small{width:53px;height:53px}.table-monster-card .battle-pixel{width:46px;height:46px}.boss-card .battle-pixel{width:74px;height:74px}}@media(max-width:900px){.table-seat-card{width:75px}.table-monster-card{width:70px}.boss-card{width:94px}}@media(max-width:620px){.table-seat-card{width:58px}.table-monster-card{width:54px}.boss-card{width:70px}.table-seat-card small,.table-monster-card small{display:none}}@media(max-width:390px){.table-seat-card{width:47px}.table-monster-card{width:44px}.boss-card{width:55px}.table-seat-sprite{width:34px;height:34px}.table-seat .pixel-portrait.small{width:32px;height:32px}.table-monster-card .battle-pixel{width:30px;height:30px}.boss-card .battle-pixel{width:38px;height:38px}}.table-seat-card{width:88px}.table-monster-card{width:76px}@media(max-width:1250px){.table-seat-card{width:75px}.table-monster-card{width:68px}}@media(max-width:620px){.table-seat-card{width:55px}.table-monster-card{width:49px}}@media(max-width:390px){.table-seat-card{width:43px}.table-monster-card{width:38px}}@media(max-width:620px){.table-board.players-5 .table-seat-card,.table-board.players-6 .table-seat-card{width:44px}.table-board.players-5 .table-monster-card,.table-board.players-6 .table-monster-card{width:39px}}.table-board{container-type:inline-size;container-name:battle-table}@container battle-table (max-width:570px){.table-seat-card{width:65px}.table-monster-card{width:60px}.boss-card{width:100px}.table-seat-sprite{width:48px;height:47px}.table-seat .pixel-portrait.small{width:46px;height:46px}.table-monster-card .battle-pixel{width:41px;height:41px}.boss-card .battle-pixel{width:62px;height:62px}}@container battle-table (max-width:470px){.table-seat-card{width:52px}.table-monster-card{width:46px}.boss-card{width:78px}.table-seat-sprite{width:40px;height:40px}.table-seat .pixel-portrait.small{width:38px;height:38px}.table-monster-card .battle-pixel{width:34px;height:34px}.boss-card .battle-pixel{width:48px;height:48px}.table-seat-card small,.table-monster-card small{display:none}}@container battle-table (max-width:360px){.table-seat-card{width:40px}.table-monster-card{width:36px}.boss-card{width:58px}.table-seat-sprite{width:32px;height:32px}.table-seat .pixel-portrait.small{width:30px;height:30px}.table-monster-card .battle-pixel{width:27px;height:27px}.boss-card .battle-pixel{width:34px;height:34px}.table-seat-card strong,.table-monster-card strong{font-size:7px}}.battle-timer{display:flex;align-items:center;gap:8px;min-width:118px;padding:8px 10px;justify-content:center}.battle-timer-value{display:flex;flex-direction:column;align-items:center;line-height:1}.battle-timer strong{font:22px var(--pixel);display:block;color:var(--gold);letter-spacing:.02em}.battle-timer span{display:block;font:8px var(--pixel);color:#d6d8c2;margin-top:3px;letter-spacing:.06em}.battle-timer.urgent strong,.battle-timer.urgent span{color:#ff9084}.mini-controls{justify-content:center;min-height:86px}.battle-leave{width:100%;justify-content:center;align-items:center;margin-top:0;padding:10px 0;text-align:center}.table-seat,.table-monster{--lane-color:#d4b16f}.lane-0{--lane-color:#e59b67}.lane-1{--lane-color:#8d82ff}.lane-2{--lane-color:#69d9a0}.lane-3{--lane-color:#f09fcb}.lane-4{--lane-color:#79c4ff}.lane-5{--lane-color:#e3d16b}.table-seat-card,.table-monster-card,.boss-card{position:relative}.table-seat-card:after,.table-monster-card:after{content:"";position:absolute;z-index:-2;left:50%;top:42%;transform:translate(-50%,-50%);width:66px;height:66px;border-radius:50%;background:radial-gradient(circle,var(--lane-color) 0%,color-mix(in srgb,var(--lane-color) 50%,transparent) 30%,transparent 72%);opacity:.16;filter:blur(8px);pointer-events:none}.table-monster-card:after{width:58px;height:58px;top:40%;opacity:.18}.table-seat.active .table-seat-card:after,.table-monster.active .table-monster-card:after{opacity:.3}.boss-card:after{content:"";position:absolute;z-index:-2;left:50%;top:42%;transform:translate(-50%,-50%);width:92px;height:92px;border-radius:50%;background:radial-gradient(circle,#ff7f6a 0%,rgba(255,127,106,.22) 36%,transparent 72%);filter:blur(10px);opacity:.24}.table-seat-card strong,.table-seat-card small,.seat-hp{max-width:92px;text-align:center}.table-monster-card strong{white-space:normal;overflow:visible;text-overflow:clip;max-width:90px;text-align:center;line-height:1.15;font-size:10px}.table-monster-card small{display:none}.boss-card small{text-align:center}.ring-outer{box-shadow:0 0 24px #e7c57714 inset}.ring-mid{box-shadow:0 0 34px #dd807317 inset}.ring-center{box-shadow:0 0 26px #c071dd1a inset}.table-board:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:radial-gradient(circle at center,rgba(245,177,99,.05) 0,transparent 32%),radial-gradient(circle at 50% 17%,rgba(229,155,103,.06) 0,transparent 18%),radial-gradient(circle at 78% 34%,rgba(121,196,255,.06) 0,transparent 16%),radial-gradient(circle at 23% 66%,rgba(105,217,160,.05) 0,transparent 16%),radial-gradient(circle at 75% 72%,rgba(240,159,203,.05) 0,transparent 16%)}@media(max-width:620px){.table-monster-card strong{font-size:8px;max-width:55px}.battle-timer{min-width:100px}.battle-timer strong{font-size:18px}}.battle-stage-circle{background:radial-gradient(circle at 50% 50%,#1a2e4047,#0e192138 55%,#070c111f),linear-gradient(135deg,#c082481a,#1626340d 28%,#6e4e8e14 54%,#0a121800)}.table-board{background:radial-gradient(circle at center,#1e262ceb,#121920f5 48%,#0a1016),repeating-radial-gradient(circle at center,#ffffff06 0,#ffffff06 10px,#0000 10px,#0000 22px),repeating-linear-gradient(45deg,#7f624014 0,#7f624014 9px,#141f280f 9px,#141f280f 18px)}.table-board:before{opacity:.7;background:repeating-linear-gradient(90deg,transparent 0 58px,#32424a14 59px 60px),repeating-linear-gradient(0deg,transparent 0 58px,#32424a12 59px 60px),radial-gradient(circle at 10% 10%,rgba(236,187,102,.16) 0 18px,transparent 19px),radial-gradient(circle at 90% 10%,rgba(236,187,102,.16) 0 18px,transparent 19px),radial-gradient(circle at 10% 90%,rgba(236,187,102,.16) 0 18px,transparent 19px),radial-gradient(circle at 90% 90%,rgba(236,187,102,.16) 0 18px,transparent 19px)}.table-board:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:radial-gradient(circle at 14% 18%,rgba(245,184,86,.13) 0,transparent 18%),radial-gradient(circle at 84% 20%,rgba(120,190,255,.11) 0,transparent 16%),radial-gradient(circle at 20% 80%,rgba(104,212,153,.1) 0,transparent 16%),radial-gradient(circle at 82% 80%,rgba(236,126,183,.1) 0,transparent 16%),radial-gradient(circle at 50% 50%,rgba(176,124,210,.08) 0,transparent 28%)}.ring-outer{border-color:#d8b76e6b;box-shadow:0 0 45px #e4b56114 inset,0 0 20px #e4b5610d}.ring-mid{border-color:#d77e6d75;box-shadow:0 0 60px #dd8f7e1a inset}.ring-center{border-color:#b076d47a;box-shadow:0 0 55px #b771e221 inset}.table-seat-card:after{opacity:.22;width:72px;height:72px}.table-monster-card:after{opacity:.24;width:64px;height:64px}.boss-card:after{width:120px;height:120px;opacity:.3}.table-seat.active .table-seat-card:after,.table-monster.active .table-monster-card:after{opacity:.38}.mini-controls{min-height:auto;padding:18px 16px;display:flex;align-items:center;justify-content:center}.battle-leave{width:auto;min-width:180px;justify-content:center;margin:0 auto;padding:0;color:#efc98b}.battle-leave:hover{color:#fff2d6}@media(max-width:620px){.battle-leave{min-width:150px}.table-seat-card:after{width:52px;height:52px}.table-monster-card:after{width:46px;height:46px}.boss-card:after{width:82px;height:82px}}.battle-stage-circle{background:linear-gradient(180deg,#141e27eb,#0b1218f5),repeating-linear-gradient(45deg,#ffffff03 0,#ffffff03 3px,#0000 3px,#0000 9px);border:1px solid rgba(74,98,108,.45);box-shadow:inset 0 0 0 1px #0a1218b3,inset 0 0 28px #00000047}.table-board{border:1px solid rgba(81,108,119,.58);box-shadow:inset 0 0 0 1px #131c23c7,inset 0 0 120px #05090d6b,0 0 0 1px #05080c66;background:radial-gradient(circle at center,#323d45e0,#212c36d6 26%,#131b22ed 58%,#0a1015),linear-gradient(180deg,#151f27bf,#0c1218e0)}.table-board:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:1;background:linear-gradient(#0000002e,#0000002e),repeating-linear-gradient(0deg,rgba(103,123,132,.11) 0 1px,transparent 1px 44px),repeating-linear-gradient(90deg,rgba(103,123,132,.11) 0 1px,transparent 1px 44px),repeating-linear-gradient(45deg,rgba(255,255,255,.018) 0 2px,transparent 2px 12px),radial-gradient(circle at 11% 13%,#ffbf6033 0,#ffbf6033 .9%,#ffbf601c 1.1%,#ffbf6000 4.8%),radial-gradient(circle at 89% 13%,#ffbf6033 0,#ffbf6033 .9%,#ffbf601c 1.1%,#ffbf6000 4.8%),radial-gradient(circle at 11% 87%,#ffbf6033 0,#ffbf6033 .9%,#ffbf601c 1.1%,#ffbf6000 4.8%),radial-gradient(circle at 89% 87%,#ffbf6033 0,#ffbf6033 .9%,#ffbf601c 1.1%,#ffbf6000 4.8%),radial-gradient(circle at 11% 13%,rgba(119,98,62,.65) 0 2.3%,rgba(74,64,43,.42) 2.4%,transparent 2.8%),radial-gradient(circle at 89% 13%,rgba(119,98,62,.65) 0 2.3%,rgba(74,64,43,.42) 2.4%,transparent 2.8%),radial-gradient(circle at 11% 87%,rgba(119,98,62,.65) 0 2.3%,rgba(74,64,43,.42) 2.4%,transparent 2.8%),radial-gradient(circle at 89% 87%,rgba(119,98,62,.65) 0 2.3%,rgba(74,64,43,.42) 2.4%,transparent 2.8%)}.table-board:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:radial-gradient(circle at 50% 50%,rgba(255,220,158,.08) 0,rgba(255,220,158,.03) 28%,transparent 44%),radial-gradient(circle at 22% 78%,rgba(72,174,129,.1) 0,transparent 20%),radial-gradient(circle at 78% 76%,rgba(197,112,173,.1) 0,transparent 20%),radial-gradient(circle at 78% 23%,rgba(97,172,223,.1) 0,transparent 20%),radial-gradient(circle at 24% 24%,rgba(217,159,84,.12) 0,transparent 20%),radial-gradient(circle at center,transparent 52%,rgba(5,9,13,.22) 92%),linear-gradient(180deg,#ffffff05,#fff0)}.ring-outer{border-color:#d8b76e75;box-shadow:0 0 55px #e4b56117 inset,0 0 20px #e4b5610f;background:radial-gradient(circle at center,#ffd6840f,#ffd68404 65%,#0000)}.ring-mid{border-color:#d77e6d80;box-shadow:0 0 70px #dd8f7e1f inset;background:radial-gradient(circle at center,#e68e7417,#e68e7405 68%,#0000)}.ring-center{border-color:#b076d48c;box-shadow:0 0 70px #b771e229 inset,0 0 16px #b771e214;background:radial-gradient(circle at center,#b771e221,#b771e20a 70%,#0000)}.table-board{background-color:#141c24;background-image:url(/assets/dungeon_arena_pixel.png);background-position:center center;background-size:100% 100%;background-repeat:no-repeat;image-rendering:pixelated}.table-board:before,.table-board:after{content:none!important;display:none!important}.ring-outer{background:#799cb90b;border-color:#e9bc658c;box-shadow:inset 0 0 30px #dfbb6b0d}.ring-mid{background:#cf665113;border-color:#e48f6f99;box-shadow:inset 0 0 35px #e669560a}.ring-center{background:#9b5ebe1a;border-color:#c189e5b8;box-shadow:inset 0 0 24px #b86dd51a}.battle-stage-circle{background-color:#101a22;background-image:url(/assets/dungeon_arena_wide.png);background-size:100% 100%;background-position:center;background-repeat:no-repeat;image-rendering:pixelated}.table-board{background:transparent;border:0;box-shadow:none;outline:none}.table-board:before,.table-board:after{content:none;display:none}.table-monster-card strong{display:block;width:max-content;max-width:none;white-space:nowrap;overflow:visible;text-overflow:clip;text-align:center;align-self:center;font-size:10px;line-height:1.3}@media(max-width:620px){.table-monster-card strong{font-size:8px}}@media(max-width:390px){.table-monster-card strong{font-size:7px}}.token-interaction{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:default;font:inherit;color:inherit;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column}.token-interaction:disabled{opacity:1;cursor:default}.token-interaction.can-target{cursor:crosshair;outline:2px dashed #f0c779;outline-offset:5px;filter:drop-shadow(0 0 9px #e8bd73a8)}.token-interaction.can-target:hover{outline:3px solid #ffda8c;filter:drop-shadow(0 0 13px #ffda8ccf)}.token-interaction.defeated{filter:grayscale(1);opacity:.38}.combat-token-stats{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;white-space:nowrap;font-size:9px;text-shadow:1px 1px #03070a}.combat-token-stats>span{display:inline-flex;align-items:center;gap:2px}.combat-hp{color:#f28e8b}.combat-shield{color:#8fcaf4}.combat-mana{color:#cfadf3}.boss-card .combat-token-stats{font-size:10px}.battle-target-hint{border:1px solid #c5a367;background:#352d1baa;color:#f3d099;padding:12px 10px;font:10px/1.7 var(--pixel);margin-bottom:12px}@media(max-width:650px){.combat-token-stats{gap:2px;font-size:7px}.table-seat-card .combat-mana{display:none}}.battle-milestone{position:absolute;z-index:5;left:50%;top:50%;transform:translate(-50%,-50%);width:min(390px,calc(100% - 35px));padding:24px 20px;text-align:center;background:#0f171ef5;border:2px solid #bc9365;box-shadow:0 8px 22px #030608ba}.battle-milestone h2{margin:0 0 14px;font:clamp(12px,1.3vw,17px)/1.5 var(--pixel);color:#edc68a}.battle-milestone p{color:#c4d1ca;font-size:12px;line-height:1.7;margin:0 0 18px}.battle-milestone button{width:100%;min-height:42px}.battle-milestone small{color:#9cafa4}.table-seat-card{width:120px;min-height:128px;padding:10px 8px 12px;gap:5px}.table-monster-card{width:120px;min-height:112px;padding:8px 6px 10px;gap:4px}.boss-card{width:158px;min-height:164px}.table-seat-sprite,.table-monster-card .battle-pixel{margin-bottom:2px}.table-seat-card strong{max-width:112px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-seat-card small{max-width:112px;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-monster-card strong{display:block;width:max-content;max-width:none;white-space:nowrap;overflow:visible;text-overflow:clip;text-align:center;align-self:center;font-size:9px;line-height:1.2}.boss-card strong{font-size:13px}.combat-token-stats{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:nowrap;white-space:nowrap;margin-top:2px;padding:3px 6px;min-height:18px;font:9px/1 var(--pixel);text-shadow:1px 1px #03070a;background:#080e14d6;border:1px solid rgba(96,122,132,.55);box-shadow:inset 0 0 0 1px #00000073}.combat-token-stats>span{display:inline-flex;align-items:center;gap:2px;min-width:0}.combat-hp,.combat-shield,.combat-mana{white-space:nowrap}.combat-hp svg{width:10px;height:10px}.boss-card .combat-token-stats{font-size:10px;padding:4px 7px}.table-seat-card .combat-token-stats,.table-monster-card .combat-token-stats{max-width:112px}.table-board.players-5 .table-seat-card,.table-board.players-6 .table-seat-card{width:104px;min-height:118px}.table-board.players-5 .table-monster-card,.table-board.players-6 .table-monster-card{width:104px;min-height:100px}.table-board.players-5 .table-seat-card strong,.table-board.players-6 .table-seat-card strong,.table-board.players-5 .table-seat-card small,.table-board.players-6 .table-seat-card small{max-width:96px}.table-board.players-5 .table-seat-card .combat-token-stats,.table-board.players-6 .table-seat-card .combat-token-stats,.table-board.players-5 .table-monster-card .combat-token-stats,.table-board.players-6 .table-monster-card .combat-token-stats{max-width:96px;font-size:8px;gap:4px;padding:2px 4px}@media(max-width:900px){.table-seat-card{width:100px;min-height:118px}.table-monster-card{width:98px;min-height:96px}.boss-card{width:142px;min-height:150px}.table-seat-card strong,.table-monster-card strong{font-size:8px}.combat-token-stats{font-size:8px;gap:4px;padding:2px 4px}}@media(max-width:620px){.table-seat-card{width:82px;min-height:100px;padding:6px 4px 8px}.table-monster-card{width:80px;min-height:82px;padding:5px 4px 7px}.boss-card{width:112px;min-height:120px}.table-seat-card strong,.table-monster-card strong,.table-seat-card small{font-size:7px}.combat-token-stats{font-size:7px;gap:3px;padding:2px 3px;min-height:14px}}.table-seat-card strong,.table-monster-card strong,.boss-card strong{text-shadow:2px 2px 0 rgba(4,7,10,.9)}.table-seat-card small{display:block;max-width:110px;margin-top:1px;padding:1px 6px 2px;border:1px solid rgba(105,128,136,.55);background:#0a1116c7;color:#d7e2db;font:600 10px/1.1 Arial,Helvetica,sans-serif;letter-spacing:.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:2px}.combat-token-stats{gap:5px;margin-top:3px;padding:3px 5px;min-height:16px;border:1px solid rgba(82,102,114,.72);background:#070c12eb;box-shadow:inset 0 0 0 1px #0000008c;border-radius:2px;font:700 12px/1 Arial,Helvetica,sans-serif;letter-spacing:0;text-shadow:none}.combat-token-stats>span{gap:3px}.combat-hp,.combat-shield,.combat-mana{font-weight:700}.combat-hp{color:#ffb0a8}.combat-shield{color:#9fdcff}.combat-mana{color:#d6b8ff}.combat-hp svg{width:11px;height:11px;filter:drop-shadow(0 1px 0 rgba(0,0,0,.35))}.boss-card .combat-token-stats{font-size:13px;padding:4px 7px;min-height:18px}.table-seat-card .combat-token-stats,.table-monster-card .combat-token-stats{max-width:116px}.table-seat .table-seat-card,.table-monster .table-monster-card,.table-boss-core .boss-card{backdrop-filter:none;-webkit-backdrop-filter:none}.table-seat.active .table-seat-card:after,.table-monster.active .table-monster-card:after{opacity:.32}@media(max-width:900px){.table-seat-card small{font-size:9px;max-width:92px;padding:1px 4px 2px}.combat-token-stats{font-size:10px;padding:2px 4px;gap:4px}.boss-card .combat-token-stats{font-size:11px}.table-seat-card .combat-token-stats,.table-monster-card .combat-token-stats{max-width:96px}}@media(max-width:620px){.table-seat-card small{font-size:8px;max-width:74px;padding:1px 3px}.combat-token-stats{font-size:9px;padding:2px 3px;gap:3px;min-height:14px}.boss-card .combat-token-stats{font-size:10px}.table-seat-card .combat-token-stats,.table-monster-card .combat-token-stats{max-width:78px}}.compact-log .battle-events{overflow-y:auto;scrollbar-color:#68757a #172128;scrollbar-width:thin;overscroll-behavior:contain}.battle-target-hint{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.battle-undo-choice{border:1px solid #bfa176;background:#15252a;color:#f1ce8e;padding:8px 10px;white-space:nowrap;font:10px/1.4 var(--pixel);cursor:pointer}.battle-undo-choice:hover:not(:disabled){background:#2c3633;border-color:#f4d99c}.battle-undo-choice:disabled{opacity:.55;cursor:default}.battle-token-flash{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-8px;border-radius:8px;pointer-events:none;z-index:5;animation:battle-flash 1.05s ease-out forwards;border:3px solid transparent}.battle-token-flash.flash-strike{--flash:#f87968;border-color:var(--flash)}.battle-token-flash.flash-heal{--flash:#8bea9e;border-color:var(--flash)}.battle-token-flash.flash-shield{--flash:#8bd0ff;border-color:var(--flash)}.battle-token-flash.flash-mana{--flash:#cc9afc;border-color:var(--flash)}.battle-token-flash.flash-turn{--flash:#f5d38a;border-color:var(--flash)}@keyframes battle-flash{0%{opacity:0;transform:scale(.89);box-shadow:0 0 0 0 transparent}20%{opacity:1;transform:scale(1.04);box-shadow:0 0 12px 5px var(--flash)}65%{opacity:.8;transform:scale(1.01)}to{opacity:0;transform:scale(1.15);box-shadow:0 0 1px transparent}}@media(prefers-reduced-motion:reduce){.battle-token-flash{animation:none;outline:2px solid var(--flash);opacity:.8}}@media(min-width:1081px)and (max-width:1550px){.battle-shell{width:calc(100% - 28px);max-width:1480px;padding:14px 0 28px}.battle-topline{margin-bottom:12px}.battle-topline h1{font-size:20px;margin:4px 0}.battle-topline>div:first-child>p{font-size:11px}.battle-shell .overline{font-size:10px}.battle-layout-circular{grid-template-columns:minmax(0,1.65fr) minmax(360px,.95fr);gap:12px;align-items:start}.battle-stage-circle{min-width:0;padding:10px;overflow:clip}.battle-stage-circle .table-board{width:min(100%,790px);max-width:100%;min-width:0;aspect-ratio:1 / 1;margin-inline:auto}.battle-side-column{display:flex;flex-direction:column;gap:10px;min-width:0}.battle-controls{grid-column:auto}.battle-panel-combined,.battle-log,.battle-controls{padding:12px}.battle-section-heading h2{font-size:11px;line-height:1.6}.battle-section-heading>span{font-size:12px}.battle-die{min-height:90px;gap:7px;padding:8px 5px}.battle-die strong{font-size:11px;line-height:1.55;min-height:32px}.battle-die-no{font-size:11px}.battle-roll-note,.battle-choice-label{font-size:12px;line-height:1.55}.battle-roll-results .battle-die{min-width:0;flex:1 1 0;max-width:none}.artifact-placeholder{min-width:0;padding:10px 8px;gap:8px}.artifact-placeholder strong{font-size:10px}.artifact-placeholder small{font-size:12px;line-height:1.45}.battle-pass-link,.battle-leave{font-size:12px}.battle-action-buttons .button{min-height:50px;font-size:13px}.battle-event{font-size:12px;line-height:1.6}.compact-log .battle-events{max-height:310px}.battle-target-hint{font-size:11px}.combat-token-stats{font-size:12px}.table-seat-card small{font-size:11px}.table-monster-card strong{font-size:10px}}@media(min-width:701px)and (max-width:1080px){.battle-shell{width:calc(100% - 28px);padding:14px 0 28px}.battle-layout-circular{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.battle-stage-circle{padding:10px;min-width:0}.battle-stage-circle .table-board{width:min(100%,800px);min-width:0;max-width:100%;aspect-ratio:1 / 1;margin:0 auto}.battle-side-column{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.battle-panel-combined,.battle-log,.battle-controls{padding:14px}.battle-controls{grid-column:1 / -1}.battle-section-heading h2{font-size:11px}.battle-die strong{font-size:10px}.battle-roll-note,.battle-choice-label,.battle-event,.battle-pass-link{font-size:12px}.artifact-placeholder strong{font-size:10px}.artifact-placeholder small{font-size:11px}.table-monster-card strong{font-size:10px}.table-seat-card small,.combat-token-stats{font-size:11px}}@media(min-width:701px)and (max-width:800px){.battle-side-column{grid-template-columns:minmax(0,1fr)}.battle-controls{grid-column:auto}}.table-board .table-seat-card,.table-board .table-monster-card{min-height:0;padding:2px 3px}.table-board .boss-card{min-height:0;padding:4px 3px}.table-board .token-interaction{backdrop-filter:none;-webkit-backdrop-filter:none}.battle-exit-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000;display:grid;place-items:center;padding:20px;background:#030609db;isolation:isolate}.battle-exit-overlay .battle-confirm{position:relative;z-index:1;width:min(420px,100%);max-height:calc(100dvh - 40px);overflow-y:auto;box-shadow:0 14px 48px #000000b3,6px 6px #05090d}.battle-exit-overlay .confirm-actions{display:flex;justify-content:flex-end;flex-wrap:wrap}.table-seat-card,.table-monster-card,.boss-card{overflow:visible}.combat-effect-pills{position:absolute;top:-8px;right:-16px;z-index:6;display:flex;flex-direction:column;gap:2px;pointer-events:auto;line-height:1}.combat-effect-pill{display:inline-flex;align-items:center;justify-content:center;min-width:18px;min-height:17px;padding:2px 3px;border:1px solid #8c797a;background:#322129;color:#ffb3a3;font:700 10px/1 Arial,sans-serif;box-shadow:1px 2px #03080b}.combat-effect-pill.status-dodge,.combat-effect-pill.status-regeneration{background:#17362b;border-color:#689c80;color:#a0e7c0}.combat-effect-pill.status-stun,.combat-effect-pill.status-sleep,.combat-effect-pill.status-paralysis{background:#28203d;border-color:#967cc2;color:#d0baff}.combat-effect-pill.status-poison,.combat-effect-pill.status-decay{background:#302c18;border-color:#a99542;color:#e8d18f}.battle-status-summary{display:block;margin-top:3px;color:#d2bba2;line-height:1.6;max-width:240px}@media(max-width:900px){.combat-effect-pills{right:-8px;top:-5px}.combat-effect-pill{font-size:9px;min-height:15px;min-width:15px;padding:1px 2px}}.table-monster.crowded .table-monster-card{width:78px;min-height:82px;gap:2px;padding:3px 3px 5px}.table-monster.crowded .battle-pixel{width:40px;height:40px}.table-monster.crowded .table-monster-card strong{font-size:8px;max-width:86px}.table-monster.crowded .combat-token-stats{font-size:9px;padding:2px 4px;min-height:14px}@media(max-width:900px){.table-monster.crowded .table-monster-card{width:60px;min-height:66px}.table-monster.crowded .battle-pixel{width:30px;height:30px}.table-monster.crowded .table-monster-card strong{font-size:7px;max-width:66px}}.battle-exit-overlay{overflow:hidden;overscroll-behavior:contain}.battle-exit-overlay .battle-confirm{box-sizing:border-box;width:min(420px,calc(100vw - 48px));max-width:calc(100vw - 48px);max-height:none;overflow:hidden;padding:clamp(18px,3vw,28px)}.battle-exit-overlay .battle-confirm h2{font-size:clamp(10px,1.3vw,14px);line-height:1.8;overflow-wrap:anywhere}.battle-exit-overlay .confirm-actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap;margin-top:22px;padding:4px 7px 7px 3px}.battle-exit-overlay .confirm-actions .button{min-width:0;flex:0 1 auto;transform:none!important;box-shadow:2px 2px #0b1314!important}@media(max-width:380px){.battle-exit-overlay .confirm-actions .button{flex:1 1 110px}}.battle-debug-trigger{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid #a48b5c;background:#26313a;color:#f2d5a0;font-size:11px}.battle-debug-trigger:hover{background:#34414a}.battle-debug-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9900;background:#020508d6;display:flex;align-items:center;justify-content:center;padding:16px;overflow-y:auto}.battle-debug-panel{width:min(790px,100%);max-height:calc(100dvh - 32px);overflow:auto;padding:20px 22px 24px;scrollbar-width:thin;overscroll-behavior:contain}.battle-debug-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.battle-debug-heading h2{margin:0;font:13px/1.8 var(--pixel);color:#f0c78b}.battle-debug-hint{font-size:11px;color:#c2c9be;line-height:1.7;margin:0 0 18px}.battle-debug-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.battle-debug-section{background:#101920;border:1px solid #42545c;padding:14px;min-width:0}.battle-debug-section h3{font:10px/1.8 var(--pixel);color:#f1d193;margin:0 0 10px}.battle-debug-row{display:flex;gap:9px;align-items:flex-end;flex-wrap:wrap}.battle-debug-row>*{flex:1;min-width:0}.battle-debug-panel label{display:block;font-size:10px;color:#aebeb7;margin-bottom:5px}.battle-debug-panel input,.battle-debug-panel select{display:block;width:100%;min-width:0;height:39px;padding:6px 8px;color:#f3e6d5;background:#0a141a;border:1px solid #52656a;font-size:12px}.battle-debug-panel button:not(.battle-icon-button){padding:10px 12px;border:1px solid #af9364;background:#30382f;color:#f7e0b1;min-height:37px;font-size:11px;cursor:pointer}.battle-debug-panel button:disabled{opacity:.5;cursor:not-allowed}.battle-debug-panel .battle-debug-submit{margin-top:10px;width:100%}.battle-debug-subnote{margin-top:8px;font-size:10px;color:#98aaa3;line-height:1.6}.battle-debug-panel .battle-icon-button{flex:none}@media(max-width:680px){.battle-debug-grid{grid-template-columns:1fr}.battle-debug-panel{padding:15px}.battle-debug-heading h2{font-size:10px}}.token-interaction.defeated,.table-monster-card.defeated,.boss-card.defeated{pointer-events:none!important}.table-ring{display:none!important}.table-board:before{opacity:.26}.table-seat.active .table-seat-sprite{filter:drop-shadow(0 0 8px #f7c26b) drop-shadow(0 0 13px #ffbb55)}.table-seat.active .table-seat-card strong{color:#ffcf81;text-shadow:0 0 8px #f6aa6299}.table-seat.active:after{content:"ХОД";position:absolute;left:50%;top:-18px;transform:translate(-50%);font:8px var(--pixel);color:#ffe2a5;background:#302616;border:1px solid #b98a42;padding:3px 5px;white-space:nowrap;pointer-events:none}.table-monster,.table-boss-core{z-index:3}.battle-foe-info{position:absolute;right:-3px;top:-6px;z-index:5;width:23px;height:23px;display:grid;place-items:center;border:1px solid #c6a476;background:#18252d;color:#ffdf9c;cursor:pointer;border-radius:4px}.battle-foe-info:hover{background:#3a3129;color:#fff}.battle-foe-info.boss-info{right:1px;top:0}.battle-foe-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100;background:#030609c9;display:grid;place-items:center;padding:20px}.battle-foe-card{width:min(520px,95vw);max-height:80vh;overflow:auto;padding:26px;border:2px solid #c39a62;background:#111b22;box-shadow:8px 9px #05080b;color:#f2e3cd}.battle-foe-card-head{display:flex;align-items:center;justify-content:space-between;color:#ccaa72;font:9px var(--pixel);gap:10px}.battle-foe-card-head button{background:transparent;border:1px solid #4a626b;color:#e5ddcd;cursor:pointer;padding:5px}.battle-foe-card h2{font:18px var(--pixel);line-height:1.7;margin:17px 0 10px}.battle-foe-card h3{font:10px var(--pixel);color:#e7bd79;margin:22px 0 10px}.battle-foe-parameters{font-size:12px;color:#b8d0cd}.battle-foe-description{white-space:pre-wrap;font-size:13px;line-height:1.8;border:1px solid #34464f;padding:15px;background:#0b141b;max-height:37vh;overflow:auto}.battle-foe-card .button{margin-top:16px;width:100%}@media(min-width:1081px){.battle-stage-circle .table-board{width:100%;max-width:none;aspect-ratio:auto;min-height:650px;height:clamp(650px,53vw,780px);margin-inline:0}.battle-layout-circular{grid-template-columns:minmax(0,1.9fr) minmax(340px,.92fr)}}@media(min-width:701px)and (max-width:1080px){.battle-stage-circle .table-board{width:100%;max-width:none;aspect-ratio:auto;min-height:640px;height:max(640px,70vw)}}@media(min-width:701px){.table-board .table-seat-card,.table-board.players-5 .table-seat-card,.table-board.players-6 .table-seat-card,.table-board .table-monster-card,.table-board.players-5 .table-monster-card,.table-board.players-6 .table-monster-card{width:106px;max-width:106px}.table-board .boss-card{width:148px;max-width:148px}}@media(min-width:701px)and (max-width:1080px){.table-board .table-seat-card,.table-board.players-5 .table-seat-card,.table-board.players-6 .table-seat-card{width:82px}.table-board .table-monster-card,.table-board.players-5 .table-monster-card,.table-board.players-6 .table-monster-card{width:86px}.table-board .boss-card{width:120px}}@media(max-width:700px){.table-board .table-seat-card,.table-board.players-5 .table-seat-card,.table-board.players-6 .table-seat-card{width:55px}.table-board .table-monster-card,.table-board.players-5 .table-monster-card,.table-board.players-6 .table-monster-card{width:58px}.table-board .boss-card{width:85px}}@media(max-width:700px){.battle-stage-circle .table-board{width:100%;height:650px;min-height:650px;aspect-ratio:auto;max-width:none}}.battle-foe-overlay{overflow:hidden;overscroll-behavior:contain}.battle-foe-overlay .battle-foe-card{box-sizing:border-box;width:min(520px,calc(100vw - 32px));max-width:100%;max-height:calc(100dvh - 32px);min-width:0;overflow-x:clip;overflow-y:auto;scrollbar-width:none;overscroll-behavior:contain}.battle-foe-overlay .battle-foe-card::-webkit-scrollbar{display:none;width:0;height:0}.battle-foe-card .battle-foe-description{min-width:0;max-width:100%;overflow-x:clip;overflow-y:auto;scrollbar-width:none;overflow-wrap:anywhere}.battle-foe-card .battle-foe-description::-webkit-scrollbar{display:none}.battle-foe-card .button{max-width:100%;box-sizing:border-box}@media(max-width:520px){.battle-foe-overlay{padding:12px}.battle-foe-overlay .battle-foe-card{width:100%;padding:18px}}@media(min-width:701px){.table-board.players-5 .table-seat-card,.table-board.players-6 .table-seat-card{width:84px;max-width:84px}.table-board.players-5 .table-monster-card,.table-board.players-6 .table-monster-card{width:86px;max-width:86px}.table-board.players-5 .boss-card,.table-board.players-6 .boss-card{width:124px}.table-board.players-5 .table-seat-sprite,.table-board.players-6 .table-seat-sprite{width:49px;height:49px}.table-board.players-5 .table-seat .pixel-portrait.small,.table-board.players-6 .table-seat .pixel-portrait.small{width:46px;height:46px}.table-board.players-5 .table-monster .battle-pixel,.table-board.players-6 .table-monster .battle-pixel{width:41px;height:41px}.table-board.players-5 .table-monster-card strong,.table-board.players-6 .table-monster-card strong{font-size:8px}.table-board.players-5 .boss-card .battle-pixel,.table-board.players-6 .boss-card .battle-pixel{width:64px;height:64px}.table-board.players-5 .table-seat-card .combat-token-stats,.table-board.players-6 .table-seat-card .combat-token-stats{font-size:10px}}@container battle-table (max-width: 700px){.table-board .table-seat-card,.table-board.players-5 .table-seat-card,.table-board.players-6 .table-seat-card{width:82px;max-width:82px}.table-board .table-monster-card,.table-board.players-5 .table-monster-card,.table-board.players-6 .table-monster-card{width:86px;max-width:86px}.table-board .boss-card{width:120px;max-width:120px}.table-seat-sprite{width:48px;height:48px}.table-seat .pixel-portrait.small{width:46px;height:46px}.table-monster .battle-pixel{width:40px;height:40px}.boss-card .battle-pixel{width:61px;height:61px}.table-monster-card strong{font-size:8px}}@container battle-table (max-width: 620px){.table-board .table-seat-card,.table-board.players-5 .table-seat-card,.table-board.players-6 .table-seat-card{width:55px;max-width:55px}.table-board .table-monster-card,.table-board.players-5 .table-monster-card,.table-board.players-6 .table-monster-card{width:58px;max-width:58px}.table-board .boss-card{width:85px;max-width:85px}.table-seat-sprite{width:34px;height:34px}.table-seat .pixel-portrait.small{width:32px;height:32px}.table-monster .battle-pixel{width:30px;height:30px}.boss-card .battle-pixel{width:43px;height:43px}.table-seat-card small,.table-monster-card strong{font-size:7px}}@container battle-table (min-width: 621px) and (max-width: 700px){.table-board.players-5 .table-seat-card,.table-board.players-6 .table-seat-card{width:70px;max-width:70px}.table-board.players-5 .table-monster-card,.table-board.players-6 .table-monster-card{width:74px;max-width:74px}.table-board.players-5 .boss-card,.table-board.players-6 .boss-card{width:110px;max-width:110px}.table-board.players-5 .table-seat-sprite,.table-board.players-6 .table-seat-sprite{width:43px;height:43px}.table-board.players-5 .table-seat .pixel-portrait.small,.table-board.players-6 .table-seat .pixel-portrait.small{width:41px;height:41px}.table-board.players-5 .table-monster .battle-pixel,.table-board.players-6 .table-monster .battle-pixel{width:36px;height:36px}}.table-board .table-monster .battle-foe-info,.table-board .table-boss-core .battle-foe-info{position:absolute;right:auto;bottom:auto;left:calc(50% + 31px);top:7px;display:flex;align-items:center;justify-content:center;z-index:9;width:23px;height:23px;padding:0;transform:none}.table-board .table-boss-core .battle-foe-info{left:calc(50% + 42px);top:18px}@media(max-width:700px){.table-board .table-monster .battle-foe-info{left:calc(50% + 18px);top:2px;width:22px;height:22px}.table-board .table-boss-core .battle-foe-info{left:calc(50% + 31px);top:13px}}.battle-milestone:has(.battle-reward-panel){width:min(820px,calc(100% - 24px));max-height:min(82dvh,720px);overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;padding:clamp(12px,2vw,24px)}.battle-reward-panel{display:grid;gap:11px;margin-top:12px;min-width:0}.battle-reward-current{color:#ffd48f;font:10px/1.7 var(--pixel);padding:9px 12px;border:1px solid #88704e;background:#29271f}.battle-reward-face-label{font-size:11px;color:#d2c8b0}.battle-reward-select{width:100%;min-width:0;border:1px solid #65757c;background:#111d25;color:#f4ead9;padding:9px;font-size:12px}.battle-reward-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.battle-reward-card{display:flex;flex-direction:column;gap:7px;padding:12px;border:1px solid #856c4c;background:#18252c;min-width:0;text-align:left}.battle-reward-card strong{font:10px/1.65 var(--pixel);color:#f8d69e;overflow-wrap:anywhere}.battle-reward-card p{margin:0;color:#d3dfda;font-size:11px;line-height:1.5;flex:1;overflow-wrap:anywhere}.battle-reward-tier{font-size:10px;color:#94c4c8}.battle-reward-card .button{font-size:10px;width:100%;min-width:0;padding:10px 4px}.battle-reward-alternatives{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.battle-reward-alternatives .button{min-width:0;font-size:10px;white-space:normal;line-height:1.5;padding:10px 8px}.battle-reward-panel button:disabled{opacity:.45;cursor:not-allowed}.battle-inventory{margin-top:9px;padding:8px;background:#101b23;border:1px solid #43545b;display:grid;gap:6px;max-height:128px;overflow-y:auto;scrollbar-width:thin}.battle-inventory-item{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:6px;background:#1a2a33;color:#dbd2c5;font-size:10px}.battle-artifact-name{overflow-wrap:anywhere;min-width:0}.battle-inventory-item button{background:#55412b;border:1px solid #cca36d;color:#f7dfbd;padding:6px;flex:none;cursor:pointer;font-size:10px}@media(max-width:700px){.battle-milestone:has(.battle-reward-panel){max-height:85dvh}.battle-reward-options,.battle-reward-alternatives{grid-template-columns:1fr}}
