.dungeon-trial{--mint:#7ce5ce}.dungeon-tag{padding:12px 18px;border:1px solid #817459;border-radius:30px;font-size:12px;letter-spacing:2px}.dungeon-intro{display:grid;grid-template-columns:minmax(180px,35%) 1fr;gap:36px;align-items:center;overflow:hidden;background:radial-gradient(ellipse at left,#41443a,transparent 70%),#17292b}.dungeon-intro img{width:100%;border-radius:50%;mix-blend-mode:screen}.dungeon-intro h2{font-size:clamp(32px,5vw,64px);line-height:1.05}.dungeon-intro p{max-width:650px}.dungeon-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:15px 0}.dungeon-toolbar strong{letter-spacing:3px;color:#f1ce8d}.dungeon-hint{display:flex;flex-direction:column;gap:8px;background:#284039;border-left:3px solid #bce5c1;padding:18px 22px;margin:12px 0 20px}.dungeon-hint strong{font-size:13px;letter-spacing:2px;color:#cdebd6}.dungeon-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:18px}.dungeon-map{position:relative;border:1px solid #566253;border-radius:16px;overflow:hidden;box-shadow:0 20px 60px #0005}.dungeon-map canvas{width:100%;display:block;aspect-ratio:3/2}.dungeon-layout aside{padding:20px;margin:0}.dungeon-player{display:flex;flex-direction:column;gap:6px;margin:18px 0;border-bottom:1px solid #ffffff16;padding-bottom:15px}.dungeon-player span,.dungeon-player small{font-size:12px}.dungeon-trial progress{width:100%;height:6px;accent-color:var(--mint)}.comeback{color:#f3cc8b}.dungeon-controls{display:flex;gap:18px;flex-wrap:wrap;color:#afc0b6;font-size:12px;margin:16px 0}.dungeon-roster{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:24px 0}.dungeon-roster>div{display:flex;flex-direction:column;gap:8px;border:1px solid #5a6a60;padding:24px;border-radius:12px;background:#122529}.dungeon-roster span{color:#c2c8b9;font-size:13px}.dungeon-grade{font-size:64px;line-height:1.1;color:#edcf8d;font-family:Georgia,serif}.dungeon-touch{display:flex;flex-wrap:wrap;gap:6px;touch-action:none}.dungeon-touch button{touch-action:none;min-width:43px;min-height:44px;padding:10px}.respawn{position:absolute;inset:40% 15%;background:#10282de8;border:1px solid #7ce5ce;text-align:center;padding:20px;color:#fff;font-size:24px;pointer-events:none}.dungeon-results{margin-top:24px}.dungeon-entry{width:100%;text-align:left;margin:20px 0;padding:25px 32px;background:linear-gradient(110deg,#24443d,#262e30);border:1px solid #6c927b;border-radius:16px;display:flex;justify-content:space-between;align-items:center;gap:20px}.dungeon-entry strong{font-family:Georgia,serif;font-size:28px;color:#e9d3a7}.dungeon-entry span{color:#c6d6c8;font-size:14px}@media(max-width:850px){.dungeon-layout{grid-template-columns:1fr}.dungeon-layout aside{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.dungeon-layout aside>p,.dungeon-layout aside>label{grid-column:1/-1}.dungeon-roster>div{padding:15px}.dungeon-intro{gap:18px}.dungeon-entry{flex-direction:column;align-items:flex-start}}@media(max-width:520px){.dungeon-intro{grid-template-columns:1fr}.dungeon-intro img{max-height:180px;width:180px;justify-self:center}.dungeon-roster{grid-template-columns:1fr}.dungeon-layout aside{grid-template-columns:1fr}.dungeon-tag{display:none}.dungeon-map{margin:0 -12px}.dungeon-controls{gap:9px}.dungeon-player{margin:3px 0}.dungeon-grade{font-size:44px}}.dungeon-atlas-hero{width:100%;aspect-ratio:1;background:url(/art/dungeon-sprites.png) 100% 100% / 200% 200% no-repeat;filter:drop-shadow(0 15px 30px #0008)}body:has(.dungeon-active){overflow:hidden;overscroll-behavior:none}body:has(.dungeon-active)>#root>header,body:has(.dungeon-active)>#root>footer{display:none}.dungeon-active{position:fixed;inset:0;z-index:40;background:#102521;user-select:none;-webkit-user-select:none;touch-action:none}.battle-stage{position:relative;width:100%;height:100dvh;overflow:hidden}.battle-stage>canvas{width:100%;height:100%;display:block}.battle-top{position:absolute;top:0;left:0;right:0;height:92px;display:flex;align-items:center;justify-content:space-between;padding:18px 28px;background:linear-gradient(#071a20ed,#071a2000);pointer-events:none}.battle-top>div:first-child{display:flex;flex-direction:column;gap:4px}.battle-top .eyebrow{font-size:9px;color:#d1b67b;margin:0}.battle-top strong{font-size:14px;letter-spacing:3px;color:#f5edcf}.battle-top small{font-size:10px;color:#a8bdb0}.battle-clock{position:absolute;left:50%;transform:translate(-50%);text-align:center;font:34px Georgia,serif;color:#f5ebd0}.battle-clock small{display:block;font:8px sans-serif;letter-spacing:2px;margin-top:5px}.battle-clock.urgent{color:#ff9a7b}.battle-menu{pointer-events:auto;margin-right:192px;background:#0b2428cc;border:1px solid #a4b28c66;width:42px;height:42px;padding:0;font-size:20px;border-radius:50%}.battle-objective{position:absolute;left:28px;top:115px;display:flex;flex-direction:column;gap:7px;border-left:2px solid #d9c486;padding:7px 16px;background:linear-gradient(90deg,#0b252bd9,transparent);max-width:330px;pointer-events:none}.battle-objective>span{font-size:9px;letter-spacing:2px;color:#dac18b}.battle-objective>strong{font-family:Georgia,serif;font-size:23px;color:#f1e9cc}.battle-objective>small{font-size:11px;color:#c5d0b9;line-height:1.5}.battle-standings{position:absolute;right:20px;top:154px;display:flex;gap:5px;flex-direction:column;pointer-events:none}.battle-standings>div{display:flex;align-items:center;gap:7px;background:#0a2228bd;padding:8px 10px;border-radius:5px;color:#cad9c3;font-size:10px;min-width:145px}.battle-standings .is-you{border:1px solid #a7dfb166}.battle-standings i{width:5px;height:5px;border-radius:50%}.battle-standings b{margin-left:auto;color:#e8d298}.battle-health{position:absolute;bottom:25px;left:50%;transform:translate(-50%);width:200px;display:flex;flex-direction:column;text-align:center;padding:12px 18px;border-radius:10px;background:#09222bcc;border:1px solid #89a78555;pointer-events:none}.battle-health>span{font-size:8px;letter-spacing:1.5px;color:#bfe4bc}.battle-health>strong{font-size:22px;color:#dcedcf}.battle-health small{font-size:10px;color:#aabca6}.battle-health progress{margin:5px 0 8px;height:7px}.battle-touch{position:absolute;inset:0;pointer-events:none}.battle-stick{pointer-events:auto;touch-action:none;position:absolute;bottom:55px;left:50px;width:144px;height:144px;border-radius:50%;border:1px solid #bfd3ad55;box-shadow:inset 0 0 0 12px #203e3c44,0 5px 25px #0003;background:radial-gradient(#395e5a4d,#0e242b66);display:grid;place-items:center}.battle-stick:after{content:"";position:absolute;inset:29%;border:1px solid #c6dbb433;border-radius:50%;pointer-events:none}.stick-axis{color:#d5e8c350;font-size:76px;font-weight:400;pointer-events:none}.stick-knob{position:absolute;width:53px;height:53px;left:calc(50% - 26.5px);top:calc(50% - 26.5px);border-radius:50%;border:1px solid #c0d3acaa;background:radial-gradient(circle at 35% 25%,#a8c1a6d9,#466c61cc 70%);box-shadow:0 4px 15px #0007;pointer-events:none}.battle-stick small{position:absolute;bottom:-25px;font-size:8px;letter-spacing:3px;color:#a3c2ad;pointer-events:none}.battle-buttons{position:absolute;bottom:55px;right:30px;width:230px;height:180px;pointer-events:none}.battle-action{position:absolute;pointer-events:auto;touch-action:none;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #ccb581aa;background:radial-gradient(circle at 35% 20%,#526556dd,#162e30ef 65%);box-shadow:inset 0 0 0 4px #09242b,0 7px 18px #0005;padding:0;color:#f1ddac}.battle-action b{font-size:28px;line-height:1}.battle-action span{font-size:9px;letter-spacing:1px;margin-top:5px}.battle-action small{font-size:7px;color:#a4b5a4;margin-top:3px}.battle-action.claw{width:92px;height:92px;right:0;bottom:10px;border:2px solid #e0c78d;background:radial-gradient(circle at 40% 20%,#817351ed,#2e3935f0 80%)}.battle-action.nova{width:72px;height:72px;right:26px;top:0;border-color:#a8cbe0;color:#c5f0e9}.battle-action.dash{width:66px;height:66px;left:38px;bottom:30px;border-color:#a4b8bc;color:#d1e8dc}.battle-action:active{filter:brightness(1.4);transform:scale(.96)}.battle-action.cooling{background:#142b32dc;opacity:.8}.pvp-toggle{pointer-events:auto;position:absolute;bottom:-30px;right:0;white-space:nowrap;font-size:9px;border:1px solid #8eac8b66;border-radius:30px;padding:8px 12px;background:#102930dd;color:#b9cbb3}.pvp-toggle.armed{color:#ffc295;border-color:#e49767;background:#4c3027e8}.battle-respawn{position:absolute;top:40%;left:50%;transform:translate(-50%,-50%);text-align:center;width:min(85%,400px);padding:25px;background:#0e252be8;border:1px solid #d2bd8255;border-radius:20px;pointer-events:none}.battle-respawn>span{font-size:55px;color:#d9c58c}.battle-respawn h2{font-size:27px;color:#eee4c4}.battle-respawn p{font-size:13px}.battle-help{position:absolute;z-index:10;top:50%;left:50%;transform:translate(-50%,-50%);width:min(90%,430px);max-height:85dvh;overflow:auto;touch-action:pan-y;background:#112b30f5!important;border:1px solid #c2ae7c!important;box-shadow:0 0 0 100vmax #06171999}.battle-help p{font-size:13px}.battle-help button{margin:6px}.battle-connection{position:absolute;left:50%;top:90px;transform:translate(-50%);padding:12px;background:#562d25ed;color:#ffe2be;font-size:12px;border-radius:8px}.battle-end{position:absolute;inset:0;z-index:12;background:#061a21c9;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:20px;overflow:auto;touch-action:pan-y}.battle-end .panel{max-width:850px;width:100%;max-height:92dvh;overflow:auto;background:linear-gradient(135deg,#284b43,#10242c);text-align:center;border:1px solid #a2956e;border-radius:22px}.battle-end h2{font-size:clamp(24px,4vw,40px)}.your-result{border-color:#e1c78d!important;background:#28443b!important}@media(max-width:600px){.battle-top{height:80px;padding:14px 16px;align-items:flex-start}.battle-top>div:first-child{max-width:180px}.battle-top strong{font-size:11px;letter-spacing:1px}.battle-top small{font-size:8px}.battle-clock{top:88px;left:77px;font-size:28px}.battle-clock small{font-size:6px;letter-spacing:1px}.battle-menu{position:absolute;left:16px;top:155px;margin:0;width:34px;height:34px;font-size:17px}.battle-objective{left:16px;top:205px;max-width:235px;padding:5px 11px;gap:4px}.battle-objective>span{font-size:7px;letter-spacing:1px}.battle-objective>strong{font-size:19px}.battle-objective>small{font-size:10px}.battle-standings{right:15px;top:116px}.battle-standings>div{min-width:112px;font-size:8px;padding:6px 7px}.battle-health{bottom:185px;width:155px;padding:7px 12px;background:#0a252bcc}.battle-health>strong{font-size:18px}.battle-health>span{font-size:7px}.battle-health small{font-size:8px}.battle-health progress{margin:3px 0 5px;height:5px}.battle-stick{left:20px;bottom:max(47px,env(safe-area-inset-bottom));width:126px;height:126px}.battle-buttons{right:15px;bottom:45px;width:190px;height:160px}.battle-action.claw{width:82px;height:82px;bottom:0}.battle-action.nova{width:66px;height:66px;right:14px;top:0}.battle-action.dash{width:60px;height:60px;left:27px;bottom:20px}.battle-action small{display:none}.battle-action b{font-size:25px}.battle-action span{font-size:8px}.pvp-toggle{font-size:8px;padding:7px 10px;bottom:-31px}.battle-end .dungeon-roster{grid-template-columns:repeat(3,1fr);gap:6px;margin:18px 0}.battle-end .dungeon-roster>div{padding:12px 5px;gap:6px}.battle-end .dungeon-roster strong{font-size:11px}.battle-end .dungeon-roster span,.battle-end .dungeon-roster small{font-size:9px}.battle-end .dungeon-grade{font-size:38px}.battle-end .panel{padding:22px 15px}.battle-end .fine{font-size:10px}}@media(max-height:550px)and (orientation:landscape){.battle-top{height:60px;padding-top:10px}.battle-top>div:first-child{gap:2px}.battle-objective{top:75px;max-width:250px;gap:3px}.battle-objective>strong{font-size:18px}.battle-stick{bottom:32px;left:30px;width:110px;height:110px}.battle-buttons{bottom:35px;right:25px;transform:scale(.8);transform-origin:bottom right}.battle-health{bottom:15px;width:170px}.battle-standings{top:150px}.battle-menu{margin-right:190px}.battle-end .panel{max-height:95dvh}}.battle-boon{position:absolute;bottom:145px;left:50%;transform:translate(-50%);padding:12px;background:#0b2629ed;border:1px solid #cfb97d;border-radius:12px;text-align:center;min-width:285px;box-shadow:0 10px 30px #0005}.battle-boon>span{font-size:8px;letter-spacing:1px;color:#e5cd8e}.battle-boon>div{display:flex;gap:6px;margin-top:8px}.battle-boon button{display:flex;flex-direction:column;padding:9px 10px;flex:1;background:#26493f;border-color:#6f9274}.battle-boon b{font-size:12px;color:#f0e0b3}.battle-boon small{font-size:8px;white-space:nowrap}@media(max-width:600px){.battle-boon{bottom:265px;min-width:290px;padding:10px}}.battle-diagnostics{position:absolute;left:18px;top:89px;font:11px monospace;color:#c3d4cb;pointer-events:none}.battle-stick .stick-knob{will-change:transform}.battle-help{max-height:80%;overflow:auto}.battle-help button{margin:4px}.battle-stage:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 90px #07151b55}.hero-picker{margin-bottom:24px}.hero-picker h2{margin:4px 0}.hero-picker>div>p{max-width:650px}.hero-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}.hero-card{display:flex;flex-direction:column;text-align:left;gap:10px;padding:14px!important;background:linear-gradient(150deg,#263d3e,#182b33)!important;border:1px solid #637672!important;border-radius:14px!important;color:#f2e9d2!important;min-width:0}.hero-card.chosen{border:2px solid #e7c784!important;box-shadow:0 0 0 3px #e7c78420}.hero-card>strong{font-size:20px;display:flex;justify-content:space-between;align-items:center;width:100%}.hero-card strong small{font-size:11px;color:#c0c6b0;font-weight:500}.hero-card>span:not(.hero-portrait){font-size:12px;line-height:1.5;flex:1;color:#c6d0c8}.hero-card>b{font-size:11px;color:#e2c790}.hero-portrait{display:block;width:100%;aspect-ratio:1;background-image:url(/art/dungeon-heroes-v2.png);background-size:200% 200%;background-repeat:no-repeat}.hero-pip{background-position:0 0}.hero-ash{background-position:100% 0}.hero-moth{background-position:0 100%}.hero-bramble{background-position:100% 100%}@media(max-width:650px){.hero-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-card{padding:10px!important}.hero-card>strong{font-size:18px}.hero-card strong small{font-size:10px}}.fold-icon{width:38px;height:38px;display:block;flex-shrink:0;color:inherit;overflow:visible}.battle-top strong{display:flex;align-items:center;gap:8px}.battle-top strong .fold-icon{width:24px;height:24px;color:#e7c88a}.hero-skill-label{display:flex;align-items:center;gap:8px}.hero-skill-label .fold-icon{width:27px;height:27px}.battle-action{--element:#d6d9bc;--cool:0%;color:var(--element)!important;border-color:var(--element)!important;background:radial-gradient(ellipse at 35% 20%,#52716b,#17333a 65%)!important;isolation:isolate}.battle-action:before{content:"";position:absolute;inset:5px;border-radius:50%;border:1px dashed var(--element);opacity:.4;pointer-events:none}.battle-action:after{content:"";position:absolute;inset:-5px;border-radius:50%;background:conic-gradient(from -90deg,#122c36cc var(--cool),var(--element) 0);-webkit-mask:radial-gradient(circle,transparent calc(70% - 3px),#000 calc(70% - 2px));mask:radial-gradient(circle,transparent calc(70% - 3px),#000 calc(70% - 2px));opacity:.75;pointer-events:none}.battle-action .fold-icon{width:35px;height:35px;filter:drop-shadow(0 0 5px #e4e5c333);pointer-events:none}.battle-action.claw .fold-icon{width:43px;height:43px}.battle-action .skill-countdown{position:absolute;top:30%;font:700 23px Georgia,serif;text-shadow:0 2px 8px #000,0 0 4px #000;color:#fff1cc}.battle-action.cooling .fold-icon{opacity:.22}.battle-action.cooling{opacity:1}.battle-action span{font-weight:700;letter-spacing:.7px}.battle-action:active{box-shadow:0 0 25px color-mix(in srgb,var(--element) 35%,transparent),inset 0 0 15px #d9f9c744}.battle-objective{border:1px solid #8e8d6655;border-left:2px solid #d9c486;border-radius:4px 18px 18px 4px;background:linear-gradient(120deg,#112b33ec,#152e32bb);padding-left:53px}.objective-sigil{position:absolute;left:9px;top:12px;color:#e8ca8c}.objective-sigil .fold-icon{width:31px;height:31px}.battle-health{border-radius:6px 20px;border-color:#8ba98b88;background:linear-gradient(120deg,#153e3aee,#102b34ee);padding-left:40px}.health-sigil{position:absolute;left:8px;top:24px;color:#bce6b8}.health-sigil .fold-icon{width:29px;height:29px}.battle-stick{border-style:double;border-width:3px;box-shadow:inset 0 0 0 9px #49726b22,inset 0 0 0 12px #bcd3ac11,0 5px 25px #0003}.battle-stick:before{content:"✦";position:absolute;top:6px;color:#cfe2b873;font-size:13px}.battle-menu{border-color:#9db38f88;color:#d5e5c0;background:linear-gradient(145deg,#28413f,#102a32)}@media(max-width:600px){.battle-objective{top:202px;max-width:242px;padding-left:43px}.objective-sigil{left:7px;top:12px}.objective-sigil .fold-icon{width:26px;height:26px}.battle-objective>strong{font-size:17px}.battle-top strong .fold-icon{width:20px;height:20px}.battle-top strong{font-size:10px;gap:5px}.battle-health{padding-left:33px;width:165px}.health-sigil{left:6px;top:20px}.health-sigil .fold-icon{width:24px;height:24px}.battle-action .fold-icon{width:30px;height:30px}.battle-action.claw .fold-icon{width:38px;height:38px}.battle-diagnostics{top:185px;left:16px;font-size:9px}}@media(prefers-reduced-motion:reduce){.battle-action .fold-icon{filter:none}.battle-action:active{transform:none}}.release-notice{position:fixed;z-index:200;top:10px;left:50%;transform:translate(-50%);width:min(94%,680px);padding:14px 18px;border:1px solid #e5c584;border-radius:12px;background:#15332ff5;box-shadow:0 4px 30px #0008;color:#f8e6bc;display:flex;align-items:center;gap:16px;font-size:13px}.release-notice button{white-space:nowrap;background:#e3c789;color:#11282b;padding:10px 14px}.dungeon-release{color:#9cad9c;font-size:10px}@media(max-width:600px){.release-notice{flex-direction:column;gap:8px}}
