:root{--dg-gold:#ffe566;--dg-gold-light:#fff6c2;--dg-yellow:#fde047;--dg-amber-light:#fcd34d;--dg-amber:#f59e0b;--dg-panel:#10141c;--dg-panel-deep:#0b0e14;--dg-text:#e5e7eb;--dg-muted:#9ca3af;--dg-danger:#ef4444;--dg-danger-light:#fca5a5;--dg-good:#4ade80;--dg-info:#38bdf8}@media (hover:none) and (pointer:coarse) and (orientation:portrait){.site-hub--dungeon .dungeon-touch{position:static;display:flex;align-items:center;justify-content:space-between;padding:20px 28px 16px;pointer-events:auto}.site-hub--dungeon{display:flex;flex-direction:column}.site-hub--dungeon .dungeon-room-plate{position:relative;order:1;right:auto;bottom:auto;width:auto;margin:12px 12px 0}.site-hub--dungeon .dungeon-relics--rail{position:relative;order:1;right:auto;top:auto;transform:none;flex-direction:row;align-items:center;margin:8px 12px 0}.site-hub--dungeon .dungeon-relics--rail ul{flex-direction:row;flex-wrap:wrap}.site-hub--dungeon .dungeon-relics--rail .dungeon-relics__pop{right:0;top:auto;bottom:calc(100% + 6px);width:min(260px,100%)}.site-hub--dungeon .dungeon-hands,.site-hub--dungeon .dungeon-touch{order:2}.site-hub--dungeon .dungeon-touch__pad{width:168px;height:168px}.site-hub--dungeon .dungeon-touch__dir{width:56px;height:56px}.site-hub--dungeon .dungeon-touch__dir--down,.site-hub--dungeon .dungeon-touch__dir--up{left:56px}.site-hub--dungeon .dungeon-touch__dir--left,.site-hub--dungeon .dungeon-touch__dir--right{top:56px}.site-hub--dungeon .dungeon-touch__act{width:80px;height:80px;font-size:32px;line-height:32px}.site-hub--dungeon .dungeon-hands{--hand-card:108px;--hand-gap:8px;position:static;flex-wrap:wrap;padding:12px 8px 16px;overflow:hidden;zoom:min(1,calc((var(--dungeon-w, 390) - 16) / 340))}.site-hub--dungeon .dungeon-hands>.dungeon-hand{flex-wrap:wrap;justify-content:center;row-gap:8px;max-width:340px}.site-hub--dungeon .dungeon-hands .dungeon-hand-slot+.dungeon-hand-slot{margin-left:0}.site-hub--dungeon .dungeon-hands>.dungeon-hand{column-gap:8px}.site-hub--dungeon .dungeon-hands .dungeon-hand-lift,.site-hub--dungeon .dungeon-hands .dungeon-hand-slot:focus-within .dungeon-hand-lift,.site-hub--dungeon .dungeon-hands .dungeon-hand-slot:hover .dungeon-hand-lift{transform:none}.site-hub--dungeon .dungeon-hands.is-away .dungeon-hand-lift{transform:translateY(120%)!important}}@media (hover:none) and (pointer:coarse) and (orientation:landscape){.site-hub-play:has(.site-hub--dungeon){width:100%}body:has(.site-hub--dungeon .dungeon-frame) .site-nav{position:static}.site-hub--dungeon .dungeon-choice-overlay{padding:6px}.site-hub--dungeon .dungeon-choice-overlay .dungeon-choice-overlay__panel{gap:6px;padding:8px 12px}.site-hub--dungeon .dungeon-choice-overlay .dungeon-choice-overlay__how,.site-hub--dungeon .dungeon-choice-overlay .dungeon-choice-overlay__speech{font-size:9px;line-height:13px}.site-hub--dungeon .dungeon-choice-overlay .dungeon-choice-overlay__how{padding-block:3px}.site-hub--dungeon .dungeon-choice-overlay .dungeon-choice-option__media{aspect-ratio:auto;min-height:0;height:72px}.site-hub--dungeon .dungeon-choice-overlay .dungeon-choice-option.is-card .dungeon-choice-option__media{height:auto;padding:0}.site-hub--dungeon .dungeon-choice-overlay .dungeon-choice-option__html>.dungeon-hand-card{width:104px}.site-hub--dungeon .dungeon-choice-overlay__panel:has(.dungeon-choice-option.is-card) .dungeon-choice-overlay__speech{display:none}.site-hub--dungeon .dungeon-choice-overlay .dungeon-choice-option.is-card{flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 10px;padding:6px}.site-hub--dungeon .dungeon-choice-overlay .dungeon-choice-option.is-card .dungeon-choice-option__media{width:auto}.site-hub--dungeon .dungeon-choice-overlay .dungeon-choice-option.is-card .dungeon-choice-option__cost{margin-top:0}.site-hub--dungeon .dungeon-bj{padding:6px}.site-hub--dungeon .dungeon-bj .dungeon-bj__panel{gap:6px;padding:8px 12px}.site-hub--dungeon .dungeon-bj .dungeon-bj__head h3{font-size:16px;line-height:18px}.site-hub--dungeon .dungeon-bj .dungeon-bj__felt{gap:4px;padding:6px 8px}.site-hub--dungeon .dungeon-bj .dungeon-bj__hand{gap:3px}.site-hub--dungeon .dungeon-bj .dungeon-bj__cards{min-height:62px}.site-hub--dungeon .dungeon-bj .dungeon-bj__card{width:44px;height:62px;margin-left:-10px}.site-hub--dungeon .dungeon-bj .dungeon-bj__card:first-child{margin-left:0}.site-hub--dungeon .dungeon-bj .dungeon-bj__result{padding:3px}.site-hub--dungeon .dungeon-touch{left:8px;right:8px;bottom:8px}.site-hub--dungeon .dungeon-touch__pad{--pad:clamp(90px,calc(var(--dungeon-inset, 112px) + 8px),120px);width:var(--pad);height:var(--pad)}.site-hub--dungeon .dungeon-touch__dir{width:calc(var(--pad) / 3);height:calc(var(--pad) / 3)}.site-hub--dungeon .dungeon-touch__dir--down,.site-hub--dungeon .dungeon-touch__dir--up{left:calc(var(--pad) / 3)}.site-hub--dungeon .dungeon-touch__dir--left,.site-hub--dungeon .dungeon-touch__dir--right{top:calc(var(--pad) / 3)}.site-hub--dungeon .dungeon-room-plate{width:min(250px,calc(100% - 2 * var(--dungeon-inset, 0px) - 24px));right:calc(var(--dungeon-inset, 0px) + 8px);bottom:8px}.site-hub--dungeon .dungeon-room-plate__name{font-size:12px;line-height:15px;padding:5px 8px 4px}.site-hub--dungeon .dungeon-room-plate__icon{width:30px}.site-hub--dungeon .dungeon-room-plate__body{font-size:9px;line-height:12px;overflow:hidden;animation:dungeon-plate-unroll .5s steps(10) .55s both,dungeon-plate-body-fold .3s steps(3) 5s forwards}.site-hub--dungeon .dungeon-touch__act{width:56px;height:56px}.site-hub--dungeon .dungeon-hands{--hand-card:108px;--hand-gap:8px;--card-peek:84px}.site-hub--dungeon .dungeon-hands>.dungeon-hand{zoom:max(var(--dungeon-scale,1),.78)}}.dungeon-bj{position:absolute;inset:0;z-index:37;display:grid;place-items:center;padding:16px;background:rgba(0,0,0,.55);animation:dungeon-loot-dim .14s steps(2) both}.dungeon-bj__panel{display:grid;gap:10px;width:min(560px,100%);padding:14px 16px 12px;color:#fff;background:var(--dg-panel);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #f5c542,4px 4px 0 #000;image-rendering:pixelated;animation:dungeon-loot-pop .16s steps(3) both}.dungeon-bj__panel.is-win{box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--dg-good),0 0 24px rgba(74,222,128,.3),4px 4px 0 #000}.dungeon-bj__panel.is-lose{box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--dg-danger),4px 4px 0 #000}.dungeon-bj__head{display:flex;align-items:center;justify-content:space-between;gap:10px}.dungeon-bj__head small{display:block;color:var(--dg-muted);font-size:8px;letter-spacing:2px;text-transform:uppercase}.dungeon-bj__head h3{margin:2px 0 0;color:#f5c542;font-size:20px;line-height:22px;letter-spacing:3px;text-transform:uppercase;text-shadow:2px 2px 0 #000}.dungeon-bj__bet{padding:3px 8px;color:#67e8f9;font-size:10px;text-transform:uppercase;background:var(--dg-panel-deep);box-shadow:inset 0 0 0 2px #22d3ee}.dungeon-bj__felt{display:grid;gap:10px;padding:12px;background:radial-gradient(ellipse at 50% 40%,rgba(255,255,255,.08),transparent 70%),repeating-linear-gradient(45deg,rgba(0,0,0,.08) 0 2px,transparent 2px 4px),#14532d;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #7c5a2a}.dungeon-bj__hand{display:grid;gap:6px;justify-items:center}.dungeon-bj__who{font-size:10px;letter-spacing:2px;text-transform:uppercase;text-shadow:1px 1px 0 #000}.dungeon-bj__who b{color:#f5c542;font-size:13px;font-weight:inherit}.dungeon-bj__cards{display:flex;justify-content:center;min-height:84px}.dungeon-bj__card{display:grid;place-items:center;width:60px;height:84px;margin-left:-14px;filter:drop-shadow(2px 2px 0 rgba(0,0,0,.6));animation:dungeon-bj-deal .18s steps(3) calc(var(--i, 0) * .06s) both}.dungeon-bj__card:first-child{margin-left:0}.dungeon-bj__card img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.dungeon-bj__card i{display:grid;place-items:center;width:100%;height:100%;color:#111;font-style:normal;background:#f8fafc;box-shadow:inset 0 0 0 2px #000}.dungeon-bj__divider{height:2px;background:rgba(245,197,66,.35)}.dungeon-bj__result{display:grid;gap:2px;padding:6px;text-align:center;background:rgba(0,0,0,.45);animation:dungeon-loot-pop .16s steps(3) both}.dungeon-bj__result b{font-size:18px;letter-spacing:3px;text-transform:uppercase;text-shadow:2px 2px 0 #000}.is-win .dungeon-bj__result b{color:var(--dg-good)}.is-lose .dungeon-bj__result b{color:#f87171}.is-push .dungeon-bj__result b{color:#f5c542}.dungeon-bj__result span{color:var(--dg-text);font-size:10px}.dungeon-bj__foot{display:flex;justify-content:center;gap:10px}.dungeon-bj__foot button{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;color:var(--dg-panel);font:inherit;font-size:12px;text-transform:uppercase;background:#f5c542;border:0;box-shadow:inset 0 0 0 2px #000,3px 3px 0 #000;cursor:pointer}.dungeon-bj__foot button:last-child:not(:first-child){color:#fff;background:#1d2433;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #4b5563,3px 3px 0 #000}.dungeon-bj__foot button:disabled{opacity:.6;cursor:default}.dungeon-bj__foot kbd{padding:1px 4px;font:inherit;font-size:9px;background:rgba(0,0,0,.2)}@keyframes dungeon-bj-deal{0%{opacity:0;transform:translate(40px,-30px) rotate(12deg)}}@media (prefers-reduced-motion:reduce){.dungeon-bj,.dungeon-bj__card,.dungeon-bj__panel,.dungeon-bj__result{animation:none}}.dungeon-fountain-ask{--fountain:#f43f5e;position:absolute;inset:0;z-index:55;display:grid;place-items:center;padding:16px;background:rgba(4,6,10,.55);animation:dungeon-offline-in .2s steps(3) both}.dungeon-fountain-ask--stamina{--fountain:#a855f7}.dungeon-fountain-ask--blackjack{--fountain:#fbbf24}.dungeon-fountain-ask__panel{display:flex;flex-direction:column;align-items:center;gap:8px;width:min(340px,100%);padding:16px 16px 14px;color:#fff;text-align:center;background:rgba(10,12,18,.97);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--fountain),0 0 22px color-mix(in srgb,var(--fountain) 45%,transparent),4px 4px 0 #000}.dungeon-fountain-ask__title{color:var(--fountain);font-size:16px;letter-spacing:2px;text-transform:uppercase;text-shadow:2px 2px 0 #000}.dungeon-fountain-ask__does{font-size:13px}.dungeon-fountain-ask__cost{font-size:9px;letter-spacing:1px;color:var(--dg-muted);text-transform:uppercase}.dungeon-fountain-ask__short{font-size:10px;color:var(--dg-danger-light);text-transform:uppercase}.dungeon-fountain-ask__actions{display:flex;gap:8px;margin-top:4px}.dungeon-fountain-ask__actions button{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;color:#fff;font:inherit;font-size:11px;text-transform:uppercase;background:var(--dg-panel);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #4b5563,3px 3px 0 #000;cursor:pointer}.dungeon-fountain-ask__actions .dungeon-fountain-ask__drink{box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--fountain),3px 3px 0 #000}.dungeon-fountain-ask__actions button:disabled{opacity:.4;cursor:default}.dungeon-fountain-ask__actions kbd{padding:1px 4px;color:var(--dg-panel);font:inherit;font-size:9px;background:var(--dg-text)}.dungeon-offline{position:absolute;inset:0;z-index:60;display:grid;place-items:center;padding:16px;background:rgba(4,6,10,.72);animation:dungeon-offline-in .25s steps(3) both}.dungeon-offline__panel{display:flex;flex-direction:column;align-items:center;gap:10px;width:min(380px,100%);padding:18px 18px 16px;color:#fff;text-align:center;background:rgba(14,10,12,.97);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--dg-amber),4px 4px 0 #000}.dungeon-offline__title{color:#fbbf24;font-size:18px;letter-spacing:3px;text-transform:uppercase;text-shadow:2px 2px 0 #000}.dungeon-offline__body{font-size:11px;line-height:17px;color:var(--dg-text)}.dungeon-offline__tries{font-size:9px;letter-spacing:1px;color:var(--dg-muted);text-transform:uppercase}.dungeon-offline__dots{display:flex;gap:6px}.dungeon-offline__dots i{width:8px;height:8px;background:#fbbf24;box-shadow:2px 2px 0 #000;animation:dungeon-offline-dot 1.2s steps(2) infinite}.dungeon-offline__dots i:nth-child(2){animation-delay:.2s}.dungeon-offline__dots i:nth-child(3){animation-delay:.4s}.dungeon-offline__retry{padding:8px 14px;color:#1a1206;font:inherit;font-size:11px;letter-spacing:1px;text-transform:uppercase;background:#fbbf24;box-shadow:inset 0 0 0 2px #000,3px 3px 0 #000;cursor:pointer}.dungeon-offline__retry:hover{background:#fde68a}.dungeon-offline--error .dungeon-offline__panel{box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--dg-danger),4px 4px 0 #000}.dungeon-offline--error .dungeon-offline__title{color:#f87171}.dungeon-offline--error .dungeon-offline__body{font-size:13px;line-height:19px}@keyframes dungeon-offline-in{0%{opacity:0}}@keyframes dungeon-offline-dot{50%{opacity:.25}}@media (prefers-reduced-motion:reduce){.dungeon-offline,.dungeon-offline__dots i{animation:none}}.dungeon-results{position:absolute;left:50%;top:calc(50% - 78px);z-index:40;width:min(380px,calc(100% - 24px));max-height:calc(100% - 12px);overflow:hidden;padding:8px 12px 10px;transform:translate(-50%);color:#fff;background:rgba(10,12,18,.94);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--dg-gold),4px 4px 0 #000;image-rendering:pixelated;animation:dungeon-results-in .32s steps(4) both;pointer-events:none}.dungeon-results--defeat{box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--dg-danger),4px 4px 0 #000}.dungeon-defeat,.dungeon-defeat *,.dungeon-results,.dungeon-results *{font-weight:400!important}.dungeon-results h3{margin:0 0 8px;color:var(--dg-gold);font-size:14px;letter-spacing:1px;text-align:center;text-shadow:2px 2px 0 #000}.dungeon-results--defeat h3{color:var(--dg-danger-light)}.dungeon-results ul{display:grid;gap:2px;margin:0;padding:0;list-style:none}.dungeon-results li{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:8px;font-size:10px;line-height:12px;text-shadow:1px 1px 0 #000}.dungeon-results li img{image-rendering:pixelated;filter:drop-shadow(1px 1px 0 #000)}.dungeon-results li b{overflow:hidden;color:var(--dg-gold);text-overflow:ellipsis;white-space:nowrap;max-width:190px}.dungeon-results li span{white-space:nowrap}.dungeon-results__rewards{margin:0 0 10px;padding:8px;background:rgba(255,229,102,.08);box-shadow:inset 0 0 0 2px rgba(255,229,102,.35)}.dungeon-results__rewards h4{margin:0 0 6px;color:var(--dg-gold);font-size:10px;letter-spacing:2px;text-align:center}.dungeon-results__icon{display:grid;place-items:center;width:22px;height:22px;background:var(--dg-panel);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 3px #3a4256}.dungeon-results__icon img{width:16px;height:16px;object-fit:contain}.dungeon-results__icon img[src*="/pixel-icons/"]{object-fit:none}.dungeon-results__rewards li{grid-template-columns:22px minmax(0,1fr) auto;font-size:12px;line-height:16px}.dungeon-results__rewards li b{color:var(--dg-good)}.dungeon-results__none{margin:0 0 10px;color:var(--dg-muted);font-size:10px;text-align:center}.dungeon-results--final{top:50%;width:min(640px,calc(100% - 24px));overflow-y:auto;scrollbar-width:thin;padding:16px 16px 14px;transform:translate(-50%,-50%);animation-name:dungeon-results-final-in}.dungeon-results--final h3{font-size:24px;line-height:28px;letter-spacing:3px}.dungeon-results__run{margin:-2px 0 12px;color:#fff;font-size:11px;letter-spacing:2px;text-align:center;text-transform:uppercase}.dungeon-results__run span{display:block;margin-top:4px;color:var(--dg-muted);font-size:9px;letter-spacing:1px}.dungeon-results__run em{display:block;margin-top:4px;color:var(--dg-danger-light);font-size:10px;font-style:normal;letter-spacing:1px}.dungeon-results--defeat.dungeon-results--final{background:rgb(24,6,9)}.dungeon-results-backdrop{position:absolute;inset:0;z-index:40;background:rgba(0,0,0,.62);animation:dungeon-results-dim .2s steps(3) both}.dungeon-results--final{pointer-events:auto;background:rgb(10,12,18)}.dungeon-results__continue{display:flex;align-items:center;gap:6px;margin:12px auto 0;padding:6px 10px;color:var(--dg-gold);font:inherit;font-size:11px;letter-spacing:2px;text-transform:uppercase;background:none;border:0;cursor:pointer}.dungeon-results__continue kbd{padding:2px 4px;color:var(--dg-panel);font:inherit;font-size:10px;background:var(--dg-gold);box-shadow:inset 0 -2px 0 rgba(0,0,0,.35)}.dungeon-results__continue i{width:12px;height:10px;background:var(--dg-gold);clip-path:polygon(0 0,100% 0,50% 100%);animation:dungeon-results-bob .8s steps(4) infinite}.dungeon-results__continue:hover{color:#fff}@keyframes dungeon-results-dim{0%{opacity:0}}@keyframes dungeon-results-bob{50%{transform:translateY(3px)}}.dungeon-results--cleared{box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--dg-good),0 0 28px rgba(74,222,128,.35),4px 4px 0 #000}@keyframes dungeon-results-final-in{0%{opacity:0;transform:translate(-50%,-50%) scale(1.15)}}@keyframes dungeon-results-in{0%{opacity:0;transform:translate(-50%,8px)}}@media (prefers-reduced-motion:reduce){.dungeon-results{animation:none}}.dungeon-room-plate{--room-accent:var(--dg-gold);position:absolute;right:calc(var(--dungeon-inset, 0px) + 30px * var(--dungeon-scale, 1));bottom:calc(26px * var(--dungeon-scale, 1));z-index:34;width:min(390px,calc(100% - 60px * var(--dungeon-scale, 1) - 2 * var(--dungeon-inset, 0px)));color:#fff;pointer-events:none;-webkit-font-smoothing:none;filter:drop-shadow(4px 4px 0 #000);animation:dungeon-plate-slam .55s cubic-bezier(.2,1.5,.35,1) both,dungeon-plate-shake .28s steps(4) .5s both}.dungeon-room-plate--auto-hide{animation:dungeon-plate-slam .55s cubic-bezier(.2,1.5,.35,1) both,dungeon-plate-shake .28s steps(4) .5s both,dungeon-plate-fade-out .45s steps(5) both;animation-delay:0s,.5s,var(--room-caption-hide-delay,4.55s)}.dungeon-hud-toggle{position:absolute;left:calc(var(--dungeon-inset, 0px) + 30px * var(--dungeon-scale, 1));top:calc(26px * var(--dungeon-scale, 1));z-index:34;display:inline-flex;align-items:center;gap:6px;padding:5px 10px 5px 6px;font-size:10px;color:var(--dg-gold);text-transform:uppercase;background:rgba(16,20,28,.85);border:0;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px rgba(255,229,102,.55),3px 3px 0 #000;cursor:pointer;-webkit-font-smoothing:none}.dungeon-hud-toggle:hover{color:#fff}.dungeon-hud-toggle[aria-pressed=false]{opacity:.75}.dungeon-hud-toggle kbd{padding:0 4px;color:var(--dg-panel);font:inherit;background:var(--dg-text);box-shadow:inset 0 -2px 0 var(--dg-muted)}@keyframes dungeon-plate-fade-out{0%{opacity:1}to{opacity:0}}.dungeon-room-card{--room-accent:var(--dg-gold);position:absolute;left:0;right:0;top:28%;z-index:35;display:flex;flex-direction:column;align-items:center;gap:calc(6px * var(--dungeon-scale, 1));padding:calc(14px * var(--dungeon-scale, 1)) 0;color:#fff;pointer-events:none;-webkit-font-smoothing:none;animation:dungeon-card-out .34s steps(5) 1.36s both}.dungeon-room-card__band{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,transparent,rgba(6,8,12,.82) 22%,rgba(6,8,12,.88) 50%,rgba(6,8,12,.82) 78%,transparent);animation:dungeon-card-band .22s steps(4) both}.dungeon-room-card__rule{width:min(460px,70%);height:4px;background:linear-gradient(90deg,transparent,var(--room-accent) 18%,#fff 50%,var(--room-accent) 82%,transparent);box-shadow:0 2px 0 #000;animation:dungeon-card-rule .36s steps(6) .08s both}.dungeon-room-card__kicker{font-size:calc(10px * var(--dungeon-scale, 1));line-height:1;letter-spacing:4px;text-transform:uppercase;color:var(--room-accent);text-shadow:2px 2px 0 #000;animation:dungeon-card-kicker .3s steps(4) .2s both}.dungeon-room-card__title{display:inline-flex;align-items:center;gap:calc(12px * var(--dungeon-scale, 1));font-size:calc(30px * var(--dungeon-scale, 1));line-height:1;font-weight:700;letter-spacing:2px;text-transform:uppercase;text-shadow:3px 3px 0 #000,0 0 14px color-mix(in srgb,var(--room-accent) 45%,transparent);animation:dungeon-card-title .5s steps(8) .14s both}.dungeon-room-card__title img{width:calc(32px * var(--dungeon-scale, 1));height:calc(32px * var(--dungeon-scale, 1));image-rendering:pixelated;filter:drop-shadow(2px 2px 0 #000)}.dungeon-room-plate--after-card{animation-delay:1.5s,2s}.dungeon-room-plate--after-card.dungeon-room-plate--auto-hide{animation-delay:1.5s,2s,var(--room-caption-hide-delay,4.55s)}@keyframes dungeon-card-band{0%{opacity:0;transform:scaleY(.1)}to{opacity:1;transform:none}}@keyframes dungeon-card-rule{0%{transform:scaleX(0)}to{transform:none}}@keyframes dungeon-card-kicker{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes dungeon-card-title{0%{opacity:0;clip-path:inset(0 50% 0 50%);letter-spacing:14px}60%{opacity:1;clip-path:inset(0 0 0 0);letter-spacing:1px}to{clip-path:inset(0 0 0 0);letter-spacing:2px}}@keyframes dungeon-card-out{0%{opacity:1;transform:none}to{opacity:0;transform:translateY(-10px)}}@media (prefers-reduced-motion:reduce){.dungeon-room-card{display:none}.dungeon-room-plate--after-card{animation-delay:0s}}.dungeon-room-plate--cow_level,.dungeon-room-plate--fight,.dungeon-room-plate--graveyard,.dungeon-room-plate--mob,.dungeon-room-plate--respawn{--room-accent:#ff5d5d}.dungeon-room-plate--boss,.dungeon-room-plate--miniboss{--room-accent:#c084fc}.dungeon-room-plate--artifact,.dungeon-room-plate--blackjack,.dungeon-room-plate--chest,.dungeon-room-plate--coop_chest,.dungeon-room-plate--locked_chest,.dungeon-room-plate--merchant,.dungeon-room-plate--move_shop,.dungeon-room-plate--move_shop_elite,.dungeon-room-plate--take_or_double{--room-accent:#fbbf24}.dungeon-room-plate--curse,.dungeon-room-plate--sacrifice{--room-accent:#f43f5e}.dungeon-room-plate--forge{--room-accent:#f97316}.dungeon-room-plate--coop,.dungeon-room-plate--fountain,.dungeon-room-plate--library,.dungeon-room-plate--training{--room-accent:var(--dg-good)}.dungeon-room-plate--drafting,.dungeon-room-plate--escape,.dungeon-room-plate--event,.dungeon-room-plate--maze,.dungeon-room-plate--riddle,.dungeon-room-plate--warp{--room-accent:#60a5fa}.dungeon-room-plate--empty,.dungeon-room-plate--start{--room-accent:var(--dg-text)}.dungeon-room-plate.is-cleared{--room-accent:var(--dg-muted)}.dungeon-room-plate__flash{position:absolute;inset:-6px -4px auto -40px;height:6px;background:linear-gradient(90deg,transparent,#fff 30%,var(--room-accent) 70%,transparent);opacity:0;animation:dungeon-plate-flash .5s steps(6) both}.dungeon-room-plate__head{display:flex;align-items:stretch;background:linear-gradient(100deg,rgba(8,10,14,.96) 55%,color-mix(in srgb,var(--room-accent) 32%,var(--dg-panel-deep)));box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--room-accent)}.dungeon-room-plate__icon{display:grid;flex:none;place-items:center;width:46px;background:radial-gradient(circle,color-mix(in srgb,var(--room-accent) 45%,var(--dg-panel-deep)),var(--dg-panel-deep) 75%);box-shadow:inset 0 0 0 2px #000,inset -2px 0 0 var(--room-accent);animation:dungeon-plate-icon .5s steps(5) .2s both}.dungeon-room-plate__icon img{width:28px;height:28px;image-rendering:pixelated;filter:drop-shadow(2px 2px 0 #000)}.dungeon-room-plate__name{min-width:0;padding:9px 12px 8px;overflow:hidden;font-size:18px;line-height:22px;letter-spacing:2px;color:var(--room-accent);text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;text-shadow:2px 2px 0 #000;animation:dungeon-plate-name .6s steps(6) .18s both}.dungeon-room-plate__name em{font-style:normal;color:#fff}.dungeon-room-plate__body{margin:0;padding:8px 12px 9px;font-size:11px;line-height:16px;letter-spacing:.5px;color:#f3f4f6;background:rgba(8,10,14,.93);box-shadow:inset 0 0 0 2px #000,inset 4px 0 0 var(--room-accent);text-shadow:1px 1px 0 #000;animation:dungeon-plate-unroll .5s steps(10) .55s both}.dungeon-relics{position:relative;display:flex;align-items:center;gap:8px;padding:5px 8px 5px 10px;background:rgba(8,10,14,.93);box-shadow:inset 0 0 0 2px #000,inset 4px 0 0 var(--dg-gold);pointer-events:auto;animation:dungeon-loot-dim .3s steps(3) .6s both}.dungeon-relics--rail{position:absolute;right:calc(var(--dungeon-inset, 0px) + 12px * var(--dungeon-scale, 1));top:50%;z-index:36;flex-direction:column;align-items:stretch;gap:6px;padding:8px 6px;transform:translateY(-50%);filter:drop-shadow(3px 3px 0 #000);-webkit-font-smoothing:none}.dungeon-relics ul{display:flex;flex-wrap:wrap;gap:4px;margin:0;padding:0;list-style:none}.dungeon-relics--rail ul{flex-direction:column;flex-wrap:nowrap}.dungeon-relics__slot{display:grid;place-items:center;width:34px;height:34px;padding:0;background:#161b26;border:0;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #4b5563;cursor:pointer;image-rendering:pixelated}.dungeon-relics__slot img{width:24px;height:24px;image-rendering:pixelated;filter:drop-shadow(1px 1px 0 #000)}.dungeon-relics__slot i{color:var(--dg-muted);font-style:normal;font-size:12px}.dungeon-relics__slot.is-asking,.dungeon-relics__slot:focus-visible,.dungeon-relics__slot:hover:not(:disabled){outline:none;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--dg-gold);transform:translateY(-2px)}.dungeon-relics__slot:disabled{cursor:default;opacity:.6}.dungeon-relics__slot.is-locked{opacity:.4;filter:grayscale(1);cursor:default}.dungeon-relics__slot.is-locked img{filter:grayscale(1) drop-shadow(1px 1px 0 #000)}.dungeon-relics__slot.is-ready,.dungeon-relics__slot.is-ready:hover:not(:disabled){opacity:1;filter:none;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--dg-good)}.dungeon-relics__slot.is-ready img{filter:drop-shadow(1px 1px 0 #000)}.dungeon-relics__slot.is-locked:focus-visible,.dungeon-relics__slot.is-locked:hover:not(:disabled){transform:none;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #4b5563}.dungeon-relics__pop{position:absolute;right:0;bottom:calc(100% + 6px);z-index:2;display:grid;gap:4px;width:min(260px,100%);padding:8px 10px;font-size:10px;line-height:14px;color:var(--dg-text);background:var(--dg-panel);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--dg-gold),3px 3px 0 #000;animation:dungeon-relic-pop .12s steps(2) both}.dungeon-relics--rail .dungeon-relics__pop{right:calc(100% + 8px);bottom:auto;top:0;width:220px}.dungeon-relics__preview{color:var(--dg-gold);font-size:9px;line-height:12px}.dungeon-eventchip{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin-right:auto;padding:6px 10px;font-size:9px;line-height:12px;letter-spacing:1px;text-transform:uppercase;color:#cbd5e1;background:rgba(8,11,18,.85);box-shadow:0 0 0 2px #000}.dungeon-eventchip b{color:var(--dg-gold);font-weight:inherit}.dungeon-eventchip .is-claimed{color:#94a3b8}.dungeon-relics__pop b{color:var(--dg-gold);font-size:11px;font-weight:inherit;letter-spacing:1px;text-transform:uppercase}.dungeon-relics__ask{display:flex;gap:6px;margin-top:4px}.dungeon-relics__ask button{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;color:#fff;font:inherit;font-size:10px;text-transform:uppercase;background:#1d2433;border:0;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #4b5563;cursor:pointer}.dungeon-relics__ask button:first-child{color:var(--dg-panel);background:var(--dg-gold);box-shadow:inset 0 0 0 2px #000}.dungeon-relics__ask kbd{padding:1px 3px;font:inherit;font-size:8px;background:rgba(0,0,0,.25)}@keyframes dungeon-relic-pop{0%{opacity:0;transform:translateY(4px)}}.dungeon-defeat{position:absolute;inset:0;z-index:45;display:grid;place-items:center;overflow-y:auto;padding:12px;background:#000;animation:dungeon-defeat-black 1.2s steps(6) both}.dungeon-defeat__body{display:grid;justify-items:center;gap:8px;width:min(440px,100%);margin:auto;color:#fff;text-align:center;animation:dungeon-defeat-rise .6s steps(4) 1.2s both}.dungeon-defeat__sprite{width:96px;height:96px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 6px 0 rgba(239,68,68,.25)) grayscale(.2)}.dungeon-defeat__title{margin:0;color:var(--dg-danger);font-size:34px;line-height:36px;letter-spacing:6px;text-transform:uppercase;text-shadow:3px 3px 0 #450a0a}.dungeon-defeat__cause{margin:0;color:var(--dg-danger-light);font-size:12px;letter-spacing:2px;text-transform:uppercase}.dungeon-defeat__stats{display:grid;gap:4px;width:100%;margin:6px 0 0;padding:10px 12px;list-style:none;background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 2px #1f2937}.dungeon-defeat__stats li{display:flex;justify-content:space-between;gap:12px;font-size:11px;text-transform:uppercase}.dungeon-defeat__stats span{color:var(--dg-muted)}.dungeon-defeat__stats b{color:#fff;font-weight:inherit}.dungeon-defeat__note{margin:0;color:#6b7280;font-size:10px;letter-spacing:2px;text-transform:uppercase}.dungeon-defeat__continue{display:inline-flex;align-items:center;gap:8px;margin-top:6px;padding:8px 18px;color:#fff;font:inherit;font-size:13px;text-transform:uppercase;background:#1f2937;border:0;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--dg-danger),3px 3px 0 #000;cursor:pointer;animation:dungeon-defeat-blink 1.2s steps(2) 2.2s infinite}.dungeon-defeat__continue kbd{padding:1px 4px;font:inherit;font-size:9px;background:rgba(255,255,255,.15)}.dungeon-defeat__continue:hover{background:#374151}@keyframes dungeon-defeat-black{0%{opacity:0}}@keyframes dungeon-defeat-rise{0%{opacity:0;transform:translateY(10px)}}@keyframes dungeon-defeat-blink{50%{box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #7f1d1d,3px 3px 0 #000}}@media (prefers-reduced-motion:reduce){.dungeon-defeat,.dungeon-defeat__body,.dungeon-defeat__continue{animation:none}}.dungeon-train{display:grid;gap:8px;margin:0;padding:0;list-style:none}.dungeon-train__drill{position:relative;display:grid;grid-template-columns:auto 52px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:10px 14px 10px 10px;color:#fff;font:inherit;text-align:left;background:linear-gradient(90deg,color-mix(in srgb,var(--stat) 16%,var(--dg-panel)),var(--dg-panel) 60%);border:0;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px color-mix(in srgb,var(--stat) 45%,#2a3142),3px 3px 0 #000;cursor:pointer;transition:transform .12s steps(2)}.dungeon-train__drill:focus-visible,.dungeon-train__drill:hover:not(:disabled){outline:none;transform:translateX(6px);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--stat),3px 3px 0 #000}.dungeon-train__drill:disabled{cursor:default}.dungeon-train__drill.is-passed{opacity:.35;filter:grayscale(.7)}.dungeon-train__drill.is-training{transform:translateX(6px);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--stat),0 0 18px color-mix(in srgb,var(--stat) 60%,transparent),3px 3px 0 #000}.dungeon-train__key{padding:2px 5px;color:#ffe8a8;font-size:9px;background:var(--dg-panel);box-shadow:inset 0 0 0 2px #b8992e}.dungeon-train__medal{display:grid;place-items:center;width:52px;height:52px;background:radial-gradient(circle,color-mix(in srgb,var(--stat) 50%,var(--dg-panel-deep)),var(--dg-panel-deep) 72%);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--stat)}.dungeon-train__medal img{width:30px;height:30px;image-rendering:pixelated;filter:drop-shadow(2px 2px 0 #000)}.dungeon-train__medal img[src*=pixel-icons]{width:auto;height:auto;zoom:2;filter:none}.dungeon-train__drill.is-training .dungeon-train__medal img,.dungeon-train__drill:hover:not(:disabled) .dungeon-train__medal img{animation:dungeon-train-lift .5s steps(2) infinite}.dungeon-train__body{display:grid;gap:5px;min-width:0}.dungeon-train__label{color:var(--stat);font-size:13px;letter-spacing:1px;text-transform:uppercase;text-shadow:2px 2px 0 #000}.dungeon-train__line{display:flex;align-items:center;gap:6px;font-size:10px;text-transform:uppercase}.dungeon-train__stat{color:var(--dg-muted)}.dungeon-train__from{color:var(--dg-text)}.dungeon-train__to{color:var(--stat);font-weight:inherit}.dungeon-train__arrow{width:8px;height:8px;background:currentColor;color:var(--dg-muted);clip-path:polygon(0 0,100% 50%,0 100%)}.dungeon-train__gauge{display:flex;gap:2px;height:10px}.dungeon-train__gauge i{flex:1;background:#1d2433;box-shadow:inset 0 -2px 0 rgba(0,0,0,.35)}.dungeon-train__gauge i.is-have{background:var(--dg-text)}.dungeon-train__gauge i.is-mid{margin-right:4px;box-shadow:4px 0 0 #fff,inset 0 -2px 0 rgba(0,0,0,.35)}.dungeon-train__gauge i.is-gain{background:color-mix(in srgb,var(--stat) 35%,#1d2433);animation:dungeon-train-blink .9s steps(2) infinite}.dungeon-train__gauge.is-filled i.is-gain{background:var(--stat);animation:dungeon-train-fill .08s step-end calc(var(--g) * .07s) both}.dungeon-train__gain{color:var(--stat);font-size:18px;text-shadow:2px 2px 0 #000}.dungeon-train__pop{position:absolute;right:14px;top:-14px;padding:4px 8px;color:var(--dg-panel);font-size:12px;text-transform:uppercase;background:var(--stat);box-shadow:0 0 0 2px #000,3px 3px 0 #000;animation:dungeon-train-pop .5s steps(4) .3s both}@keyframes dungeon-train-lift{50%{transform:translateY(-3px)}}@keyframes dungeon-train-blink{50%{background:color-mix(in srgb,var(--stat) 65%,#1d2433)}}@keyframes dungeon-train-fill{0%{background:#fff}}@keyframes dungeon-train-pop{0%{opacity:0;transform:translateY(8px) scale(.6)}60%{transform:translateY(-4px) scale(1.1)}}.dungeon-pot{display:grid;gap:10px}.dungeon-pot__table{display:flex;align-items:flex-end;justify-content:center;gap:40px;min-height:130px;padding:16px 16px 12px;background:radial-gradient(ellipse at 50% 100%,rgba(255,229,102,.12),transparent 70%),repeating-linear-gradient(90deg,rgba(0,0,0,.18) 0 2px,transparent 2px 24px),#3b2516;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #7c5a2a,inset 0 -18px 0 rgba(0,0,0,.25)}.dungeon-pot__stack{display:grid;justify-items:center;gap:6px;transition:opacity .15s steps(2)}.dungeon-pot__pile{display:flex;align-items:flex-end;gap:2px;min-height:12px}.dungeon-pot__col{display:flex;flex-direction:column-reverse}.dungeon-pot__coin{display:inline-block;width:calc(22px * var(--coin, 1));height:calc(7px * var(--coin, 1));margin-top:calc(-2px * var(--coin, 1));background:#b87333;box-shadow:inset 0 2px 0 rgba(255,255,255,.35),inset 0 -2px 0 rgba(0,0,0,.35),0 0 0 1px #000;animation:dungeon-pot-drop .18s steps(3) calc(var(--n, 0) * 25ms) both}.dungeon-pot__coin.is-silver{background:#cbd5e1}.dungeon-pot__coin.is-gold{background:#f5c542}.dungeon-pot__pile.is-ghost .dungeon-pot__coin{opacity:.35;animation:none}.dungeon-pot__amount{color:var(--dg-gold);font-size:14px;letter-spacing:1px;text-shadow:2px 2px 0 #000}.dungeon-pot__stack--next{opacity:.25}.dungeon-pot__stack--next .dungeon-pot__amount{color:var(--dg-text);font-size:10px}.dungeon-pot.is-double .dungeon-pot__stack--next{opacity:1}.dungeon-pot.is-double .dungeon-pot__stack--next .dungeon-pot__pile.is-ghost .dungeon-pot__coin{opacity:.8;animation:dungeon-pot-drop .18s steps(3) calc(var(--n, 0) * 12ms) both}.dungeon-pot.is-take .dungeon-pot__stack:first-child .dungeon-pot__pile{animation:dungeon-pot-shine .6s steps(3) infinite}.dungeon-pot__legend{display:flex;align-items:center;justify-content:center;gap:6px;margin:0;color:var(--dg-muted);font-size:9px;text-transform:uppercase}.dungeon-pot__legend .dungeon-pot__coin{width:12px;height:6px;margin:0;animation:none}.dungeon-pot__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.dungeon-pot__btn{display:grid;gap:4px;justify-items:center;padding:10px;color:var(--dg-panel);font:inherit;font-size:13px;text-transform:uppercase;background:var(--dg-gold);border:0;box-shadow:inset 0 0 0 2px #000,3px 3px 0 #000;cursor:pointer}.dungeon-pot__btn.is-double{color:#fff;background:#7c3aed}.dungeon-pot__btn small{font-size:8px;text-transform:none;opacity:.85}.dungeon-pot__btn kbd{padding:1px 4px;font:inherit;font-size:9px;background:rgba(0,0,0,.2)}.dungeon-pot__btn:hover:not(:disabled){transform:translateY(-2px)}.dungeon-pot__btn:disabled{opacity:.6;cursor:default}.dungeon-pot__maxed{align-self:center;color:var(--dg-danger-light);font-size:10px;text-align:center}@keyframes dungeon-pot-drop{0%{opacity:0;transform:translateY(-40px)}}@keyframes dungeon-pot-shine{50%{filter:brightness(1.35)}}@media (prefers-reduced-motion:reduce){.dungeon-pot *,.dungeon-train *{animation:none!important}}.dungeon-room-plate.is-warn .dungeon-room-plate__body{color:#fecaca;box-shadow:inset 0 0 0 2px #000,inset 4px 0 0 var(--dg-danger)}@keyframes dungeon-plate-body-fold{0%{max-height:80px}to{max-height:0;padding-block:0;opacity:0}}@keyframes dungeon-plate-slam{0%{opacity:0;transform:translateX(110%) scale(1.25)}55%{opacity:1;transform:translateX(-10px) scale(1.02)}to{transform:none}}@keyframes dungeon-plate-shake{25%{transform:translate(-3px,1px)}50%{transform:translate(2px,-1px)}75%{transform:translate(-1px)}}@keyframes dungeon-plate-flash{0%{opacity:0;transform:translateX(60%) scaleX(.2)}40%{opacity:1}to{opacity:0;transform:translateX(-20%) scaleX(1)}}@keyframes dungeon-plate-icon{0%{transform:scale(0) rotate(-180deg)}70%{transform:scale(1.25) rotate(10deg)}to{transform:none}}@keyframes dungeon-plate-name{0%{opacity:0;letter-spacing:14px;text-shadow:0 0 12px #fff,2px 2px 0 #000}60%{opacity:1;text-shadow:0 0 8px var(--room-accent),2px 2px 0 #000}to{letter-spacing:2px}}@keyframes dungeon-plate-unroll{0%{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}@media (max-width:720px){.dungeon-room-plate{right:calc(var(--dungeon-inset, 0px) + 8px);bottom:8px;width:calc(100% - 16px - 2 * var(--dungeon-inset, 0px))}.dungeon-room-plate__name{font-size:14px;line-height:18px;padding:7px 10px 6px}.dungeon-room-plate__icon{width:36px}.dungeon-room-plate__body{font-size:10px;line-height:14px}}@media (prefers-reduced-motion:reduce){.dungeon-room-plate,.dungeon-room-plate__body,.dungeon-room-plate__flash,.dungeon-room-plate__icon,.dungeon-room-plate__name{animation:none}}.dungeon-choice-overlay{--choice-accent:var(--dg-gold);position:absolute;inset:0;z-index:38;display:grid;place-items:center;padding:12px;background:radial-gradient(ellipse at center,rgba(4,6,10,.55),rgba(4,6,10,.85));-webkit-font-smoothing:none;animation:dungeon-choice-fade .2s steps(3) both}.dungeon-choice-overlay__panel{display:flex;flex-direction:column;gap:10px;width:min(920px,100%);max-height:100%;overflow:auto;padding:14px 16px 12px;color:#fff;background:rgba(10,12,18,.94);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--choice-accent),4px 4px 0 #000;animation:dungeon-choice-rise .28s steps(4) both}.dungeon-choice-overlay__head{display:flex;align-items:center;justify-content:space-between;gap:12px}.dungeon-choice-overlay__head h3{margin:0;font-size:20px;line-height:22px;letter-spacing:2px;color:var(--choice-accent);text-transform:uppercase;text-shadow:2px 2px 0 #000}.dungeon-choice-overlay__gems{display:inline-flex;align-items:center;gap:6px;padding:3px 8px;font-size:12px;color:#67e8f9;background:var(--dg-panel);box-shadow:inset 0 0 0 2px #22d3ee}.dungeon-choice-overlay__speech{margin:0;font-size:11px;line-height:16px;color:var(--dg-text)}.dungeon-choice-overlay__how{margin:0;padding:6px 10px;font-size:10px;line-height:14px;color:#fff;background:color-mix(in srgb,var(--choice-accent) 16%,transparent);box-shadow:inset 3px 0 0 var(--choice-accent)}.dungeon-choice-overlay__options{display:grid;gap:10px;margin:0;padding:0;list-style:none}.dungeon-choice-overlay__options.count-1{grid-template-columns:minmax(0,340px);justify-content:center}.dungeon-choice-overlay__options.count-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dungeon-choice-overlay__options.count-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dungeon-choice-overlay__options.count-4{grid-template-columns:repeat(4,minmax(0,1fr))}.dungeon-choice-option{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;width:100%;height:100%;padding:10px 10px 12px;color:#fff;text-align:center;background:#121722;border:0;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #2f3747,3px 3px 0 #000;transition:transform .12s steps(2),box-shadow .12s}.dungeon-choice-option:focus-visible,.dungeon-choice-option:hover:not(:disabled){transform:translateY(-3px);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--choice-accent),3px 6px 0 #000}.dungeon-choice-option:disabled{cursor:not-allowed}.dungeon-choice-option.is-sold{opacity:.6;filter:grayscale(1)}.dungeon-choice-option.is-short .dungeon-choice-option__media{filter:saturate(.5) brightness(.8)}.dungeon-choice-option__short{margin-top:-2px;color:var(--dg-danger-light);font-size:9px;letter-spacing:1px;text-transform:uppercase;text-shadow:1px 1px 0 #000}.dungeon-choice-option__key{position:absolute;top:8px;left:8px;z-index:2;padding:2px 5px;font-size:9px;color:#ffe8a8;background:var(--dg-panel);box-shadow:inset 0 0 0 2px #b8992e}.dungeon-choice-option__media{position:relative;display:grid;place-items:center;width:100%;min-height:128px;aspect-ratio:4/3;background:radial-gradient(ellipse at 50% 60%,color-mix(in srgb,var(--choice-accent) 22%,#1a2030),#0c1018 72%);box-shadow:inset 0 0 0 2px #000;image-rendering:pixelated}.dungeon-choice-option__media>img{width:62%;height:80%;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(2px 2px 0 #000)}.dungeon-choice-option.is-card .dungeon-choice-option__media{aspect-ratio:auto;min-height:0;padding:6px 0;background:none;box-shadow:none}.dungeon-choice-option__html{display:flex;justify-content:center;width:100%;pointer-events:none}.dungeon-choice-overlay .dungeon-choice-option__html>.dungeon-hand-card{flex:0 0 auto;width:170px;max-width:100%}.dungeon-choice-option__qty,.dungeon-choice-option__stamp{position:absolute;padding:2px 6px;font-size:10px;font-style:normal;background:var(--dg-panel);box-shadow:inset 0 0 0 2px #fff}.dungeon-choice-option__qty{right:6px;bottom:6px}.dungeon-choice-option__stamp{top:50%;left:50%;color:var(--dg-danger-light);box-shadow:inset 0 0 0 2px var(--dg-danger);transform:translate(-50%,-50%) rotate(-12deg);font-size:14px}.dungeon-choice-option__title{font-size:12px;line-height:15px;color:var(--choice-accent);text-shadow:1px 1px 0 #000}.dungeon-choice-option__desc{font-size:10px;line-height:14px;color:#d1d5db}.dungeon-choice-option__cost{display:inline-flex;align-items:center;gap:4px;margin-top:auto;padding:2px 8px;font-size:11px;color:#67e8f9;background:var(--dg-panel);box-shadow:inset 0 0 0 2px #22d3ee}.dungeon-choice-option__cost.is-short{color:var(--dg-danger-light);box-shadow:inset 0 0 0 2px var(--dg-danger)}.dungeon-choice-overlay__foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.dungeon-choice-overlay__hint{font-size:9px;color:var(--dg-muted)}.dungeon-choice-overlay__back,.dungeon-choice-reopen{padding:6px 14px;font-size:11px;color:#fff;background:var(--dg-panel);border:0;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--dg-muted),3px 3px 0 #000}.dungeon-choice-overlay__back:hover,.dungeon-choice-reopen:hover{box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #fff,3px 3px 0 #000}.dungeon-choice-overlay__refresh{display:inline-flex;align-items:center;gap:6px;margin-left:auto;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #22d3ee,3px 3px 0 #000}.dungeon-choice-overlay__refresh:hover:not(:disabled){box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #a5f3fc,3px 3px 0 #000}.dungeon-choice-overlay__refresh img{image-rendering:pixelated}.dungeon-choice-overlay__refresh small{padding-left:6px;font-size:9px;color:var(--dg-muted);border-left:2px solid #4b5563}.dungeon-choice-overlay__refresh:disabled{opacity:.45;cursor:default}.dungeon-choice-reopen{position:absolute;left:50%;bottom:14px;z-index:36;translate:-50% 0;-webkit-font-smoothing:none;animation:dungeon-choice-fade .2s steps(3) both}.dungeon-choice-reopen b{margin-right:6px;color:#ffe8a8}@keyframes dungeon-choice-fade{0%{opacity:0}}@keyframes dungeon-choice-rise{0%{opacity:0;transform:translateY(12px)}}@media (max-width:720px){.dungeon-choice-overlay{position:fixed;z-index:60;padding:66px 10px 10px}.dungeon-choice-overlay__options.count-2,.dungeon-choice-overlay__options.count-3,.dungeon-choice-overlay__options.count-4{grid-template-columns:minmax(0,1fr)}.dungeon-choice-option{flex-direction:row;flex-wrap:wrap;text-align:left}.dungeon-choice-option__media{width:96px;min-height:0;aspect-ratio:1}.dungeon-choice-overlay__options:has(>li>.dungeon-choice-option.is-card){grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:6px}.dungeon-choice-option.is-card{flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:6px;padding:6px 6px 8px;text-align:center}.dungeon-choice-option.is-card .dungeon-choice-option__key{display:none}.dungeon-choice-option.is-card .dungeon-choice-option__media{width:100%;aspect-ratio:auto;min-height:0;height:auto;padding:0}.dungeon-choice-overlay .dungeon-choice-option.is-card .dungeon-choice-option__html>.dungeon-hand-card{width:100%}.dungeon-choice-option.is-card .dungeon-choice-option__cost,.dungeon-choice-option.is-card .dungeon-choice-option__short{align-self:center}}@media (prefers-reduced-motion:reduce){.dungeon-choice-overlay,.dungeon-choice-overlay__panel,.dungeon-choice-reopen{animation:none}}.dungeon-choice-overlay__panel{position:relative;isolation:isolate}.dungeon-choice-overlay__panel:before{content:"";position:absolute;inset:4px;z-index:-1;background:var(--choice-bg,none) center /cover no-repeat;opacity:.16;image-rendering:pixelated;pointer-events:none}.dungeon-choice-overlay__titles{display:flex;flex-direction:column;gap:2px;min-width:0}.dungeon-choice-overlay__kicker{font-size:9px;letter-spacing:3px;color:#fff;text-transform:uppercase;opacity:.8}.dungeon-choice-overlay--merchant .dungeon-choice-overlay__options,.dungeon-choice-overlay--move_shop .dungeon-choice-overlay__options,.dungeon-choice-overlay--move_shop_elite .dungeon-choice-overlay__options{padding-bottom:14px;background:linear-gradient(transparent calc(100% - 12px),#5b3a1e calc(100% - 12px),#3b2412);box-shadow:0 2px 0 #000}.dungeon-choice-overlay--merchant .dungeon-choice-option__cost,.dungeon-choice-overlay--move_shop .dungeon-choice-option__cost,.dungeon-choice-overlay--move_shop_elite .dungeon-choice-option__cost{position:relative;padding:3px 10px 3px 14px;color:#1a1206;background:#f5e6c4;box-shadow:inset 0 0 0 2px #000,2px 2px 0 #000;clip-path:polygon(8px 0,100% 0,100% 100%,8px 100%,0 50%);transform:rotate(-3deg)}.dungeon-choice-overlay--merchant .dungeon-choice-option__cost.is-short,.dungeon-choice-overlay--move_shop .dungeon-choice-option__cost.is-short,.dungeon-choice-overlay--move_shop_elite .dungeon-choice-option__cost.is-short{color:#7f1d1d;background:#fecaca}.dungeon-choice-overlay--merchant .dungeon-choice-overlay__panel{padding-top:26px;background:repeating-linear-gradient(90deg,#b91c1c 0 22px,#f5e6c4 22px 44px) top /100% 14px no-repeat,rgba(10,12,18,.95)}.dungeon-choice-overlay--move_shop_elite .dungeon-choice-overlay__panel{box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--choice-accent),0 0 24px rgba(232,121,249,.45),4px 4px 0 #000;animation:dungeon-choice-rise .28s steps(4) both,dungeon-choice-shimmer 2.4s steps(12) infinite}@keyframes dungeon-choice-shimmer{50%{box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #fff,0 0 32px rgba(232,121,249,.7),4px 4px 0 #000}}.dungeon-choice-overlay--artifact .dungeon-choice-option__media,.dungeon-choice-overlay--chest .dungeon-choice-option__media,.dungeon-choice-overlay--locked_chest .dungeon-choice-option__media{overflow:hidden;min-height:180px}.dungeon-choice-overlay--artifact .dungeon-choice-option__media:before,.dungeon-choice-overlay--chest .dungeon-choice-option__media:before,.dungeon-choice-overlay--locked_chest .dungeon-choice-option__media:before{content:"";position:absolute;inset:-50%;background:repeating-conic-gradient(color-mix(in srgb,var(--choice-accent) 38%,transparent) 0 10deg,transparent 10deg 30deg);animation:dungeon-choice-rays 9s linear infinite}.dungeon-choice-overlay--artifact .dungeon-choice-option__media>img,.dungeon-choice-overlay--chest .dungeon-choice-option__media>img,.dungeon-choice-overlay--locked_chest .dungeon-choice-option__media>img{position:relative;filter:drop-shadow(0 0 12px var(--choice-accent)) drop-shadow(2px 2px 0 #000);animation:dungeon-choice-bob 1.6s steps(8) infinite}.dungeon-choice-overlay--artifact .dungeon-choice-option__media:after{content:"";position:absolute;left:30%;right:30%;bottom:8%;height:10px;background:#6b5a3a;box-shadow:inset 0 0 0 2px #000,0 -2px 0 #a68b5b}@keyframes dungeon-choice-rays{to{transform:rotate(1turn)}}@keyframes dungeon-choice-bob{50%{transform:translateY(-4px)}}.dungeon-choice-overlay--training .dungeon-choice-option{background:linear-gradient(#1f2a1c,#121a10);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #3f5a2c,3px 3px 0 #000}.dungeon-choice-overlay--training .dungeon-choice-option:after,.dungeon-choice-overlay--training .dungeon-choice-option:before{content:"";position:absolute;left:6px;right:6px;height:5px;background:#8b5a2b;box-shadow:inset 0 0 0 1px #000}.dungeon-choice-overlay--training .dungeon-choice-option:before{top:0}.dungeon-choice-overlay--training .dungeon-choice-option:after{bottom:0}.dungeon-choice-overlay--training .dungeon-choice-option__media{aspect-ratio:1;max-width:140px}.dungeon-choice-overlay--curse{background:radial-gradient(ellipse at center,rgba(60,4,12,.55),rgba(10,0,2,.9))}.dungeon-choice-overlay--curse .dungeon-choice-overlay__panel{background:rgba(16,6,9,.95);animation:dungeon-choice-rise .28s steps(4) both,dungeon-choice-pulse 1.6s steps(8) infinite}.dungeon-choice-overlay--curse .dungeon-choice-overlay__kicker{color:var(--dg-danger-light)}.dungeon-choice-overlay--curse .dungeon-choice-option{background:linear-gradient(#1c0a0e,#0e0507);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #5b1420,3px 3px 0 #000}.dungeon-choice-overlay--curse .dungeon-choice-option:focus-visible,.dungeon-choice-overlay--curse .dungeon-choice-option:hover:not(:disabled){box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #f43f5e,0 0 18px rgba(244,63,94,.55),3px 6px 0 #000}@keyframes dungeon-choice-pulse{50%{box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #ff8099,0 0 28px rgba(244,63,94,.5),4px 4px 0 #000}}.dungeon-choice-overlay--curse_buff .dungeon-choice-overlay__panel{background:radial-gradient(ellipse at 50% 0,rgba(253,230,138,.18),transparent 60%),rgba(10,14,12,.95)}.dungeon-choice-overlay--curse_buff .dungeon-choice-option__media{box-shadow:inset 0 0 0 2px #000,0 0 18px rgba(253,230,138,.35)}.dungeon-choice-overlay--event .dungeon-choice-overlay__panel{background:radial-gradient(ellipse 60% 40% at 20% 30%,rgba(167,139,250,.16),transparent),radial-gradient(ellipse 50% 40% at 80% 70%,rgba(167,139,250,.12),transparent),rgba(12,10,20,.95);background-size:200% 100%,200% 100%,auto;animation:dungeon-choice-rise .28s steps(4) both,dungeon-choice-fog 8s steps(24) infinite alternate}.dungeon-choice-overlay--event .dungeon-choice-overlay__speech{font-style:italic;color:#ddd6fe}@keyframes dungeon-choice-fog{to{background-position:100% 0,0 0,0 0}}.dungeon-choice-overlay--warp .dungeon-choice-option__media{box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #22d3ee,0 0 18px rgba(34,211,238,.35);animation:dungeon-choice-portal 2s steps(10) infinite}.dungeon-choice-option__media.has-map{display:grid;place-items:center;min-height:150px;padding:10px;overflow:hidden;background:#070b12}.dungeon-warp-map{--warp-cell:clamp(18px,3.4vw,30px);--warp-gap:calc(var(--warp-cell) * 0.3);display:grid;image-rendering:pixelated}.dungeon-warp-map__room{display:grid;place-items:center;background:#1f2937;box-shadow:inset 0 0 0 1px #000,inset 0 0 0 2px #374151}.dungeon-warp-map__room.is-visited{background:#334155;box-shadow:inset 0 0 0 1px #000,inset 0 0 0 2px #64748b}.dungeon-warp-map__room img{width:70%;height:70%;image-rendering:pixelated;opacity:.9}.dungeon-warp-map__room.is-here{box-shadow:inset 0 0 0 1px #000,inset 0 0 0 2px var(--dg-gold),0 0 6px var(--dg-gold)}.dungeon-warp-map__room.is-dest{z-index:1;background:#0e7490;box-shadow:inset 0 0 0 1px #000,inset 0 0 0 2px #a5f3fc,0 0 10px #22d3ee;animation:dungeon-warp-dest 1s steps(4) infinite}.dungeon-warp-map__room.is-dest img{opacity:1}.dungeon-warp-map__blank{align-self:center;justify-self:center;width:22%;height:22%;background:#1f2937}.dungeon-warp-map__door{align-self:center;justify-self:center;background:#64748b}.dungeon-warp-map__door--e{width:100%;height:30%}.dungeon-warp-map__door--s{width:30%;height:100%}@keyframes dungeon-warp-dest{50%{transform:scale(1.18);background:#22d3ee}}@keyframes dungeon-choice-portal{50%{box-shadow:inset 0 0 0 3px #a5f3fc,0 0 28px rgba(34,211,238,.8)}}.dungeon-choice-overlay--forge .dungeon-choice-overlay__panel{background:radial-gradient(ellipse 80% 45% at 50% 100%,rgba(249,115,22,.28),transparent 70%),rgba(14,10,8,.96);animation:dungeon-choice-rise .28s steps(4) both,dungeon-forge-glow 1.8s steps(6) infinite alternate}.dungeon-choice-overlay--forge .dungeon-choice-overlay__kicker{color:#fdba74}.dungeon-choice-overlay--forge .dungeon-choice-option:focus-visible,.dungeon-choice-overlay--forge .dungeon-choice-option:hover:not(:disabled){box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #f97316,0 0 20px rgba(249,115,22,.55),3px 6px 0 #000}@keyframes dungeon-forge-glow{to{box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #f97316,0 0 26px rgba(249,115,22,.45),4px 4px 0 #000}}.dungeon-choice-overlay--sacrifice{background:radial-gradient(ellipse at center,rgba(80,6,10,.5),rgba(10,0,2,.88))}.dungeon-choice-overlay--sacrifice .dungeon-choice-overlay__panel{background:rgba(20,6,8,.96)}.dungeon-choice-overlay--sacrifice .dungeon-choice-overlay__kicker{color:var(--dg-danger-light)}.dungeon-choice-overlay--sacrifice .dungeon-choice-option__media{box-shadow:inset 0 0 0 2px #000,0 0 22px rgba(220,38,38,.45)}.dungeon-choice-overlay--escape .dungeon-choice-overlay__panel{width:min(540px,100%);background:radial-gradient(ellipse 70% 50% at 50% 0,rgba(253,230,138,.22),transparent 70%),rgba(10,12,18,.95)}.dungeon-choice-overlay--escape .dungeon-choice-overlay__options.count-1{grid-template-columns:minmax(0,1fr)}.dungeon-choice-overlay--escape .dungeon-choice-option{display:grid;grid-template-columns:96px minmax(0,1fr);grid-template-areas:"door title" "door desc";grid-template-rows:auto auto;align-content:center;align-items:start;column-gap:16px;row-gap:6px;padding:14px;text-align:left}.dungeon-choice-overlay--escape .dungeon-choice-option__media{grid-area:door;width:96px;height:132px;min-height:0;aspect-ratio:auto;overflow:hidden;border-radius:48px 48px 0 0;background:radial-gradient(ellipse 70% 80% at 50% 100%,#fff9db,rgba(253,230,138,.6) 48%,transparent 78%),repeating-conic-gradient(from -30deg at 50% 100%,rgba(255,255,255,.3) 0 7deg,transparent 7deg 15deg),linear-gradient(#fef3c7,var(--dg-amber-light) 58%,#1f2937 59%);box-shadow:inset 0 0 0 3px #000,inset 0 0 0 6px #6b4f1d,0 0 24px rgba(253,230,138,.4);animation:dungeon-escape-glow 1.6s steps(4) infinite alternate}.dungeon-choice-overlay--escape .dungeon-choice-option__media>img{width:52%;height:auto;margin-top:18px;filter:brightness(0)}.dungeon-choice-overlay--escape .dungeon-choice-option__title{grid-area:title;align-self:end;font-size:17px;line-height:20px;letter-spacing:2px;text-transform:uppercase}.dungeon-choice-overlay--escape .dungeon-choice-option__desc{grid-area:desc;font-size:11px;line-height:16px}.dungeon-choice-overlay--escape .dungeon-choice-option:focus-visible .dungeon-choice-option__media,.dungeon-choice-overlay--escape .dungeon-choice-option:hover:not(:disabled) .dungeon-choice-option__media{box-shadow:inset 0 0 0 3px #000,inset 0 0 0 6px #fde68a,0 0 34px rgba(253,230,138,.7)}@keyframes dungeon-escape-glow{0%{filter:brightness(.92)}to{filter:brightness(1.12)}}@media (prefers-reduced-motion:reduce){.dungeon-choice-overlay--escape .dungeon-choice-option__media{animation:none}}.dungeon-choice-overlay--take_or_double .dungeon-choice-overlay__options{padding:10px;background:radial-gradient(ellipse at center,#14532d,#052e16);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #a16207}.dungeon-choice-overlay--coop .dungeon-choice-option__media,.dungeon-choice-overlay--coop_chest .dungeon-choice-option__media{box-shadow:inset 0 0 0 2px #000,0 0 18px rgba(52,211,153,.35)}.dungeon-choice-overlay--riddle .dungeon-choice-overlay__speech{padding:6px 10px;color:#fed7aa;background:rgba(251,146,60,.1);box-shadow:inset 0 0 0 2px rgba(251,146,60,.4)}.dungeon-choice-overlay--riddle .dungeon-choice-option__desc{padding:4px 6px;font-style:italic;color:#fde68a;background:rgba(0,0,0,.35)}.dungeon-choice-overlay--drafting .dungeon-choice-option{background:repeating-linear-gradient(0deg,rgba(147,197,253,.12) 0 1px,transparent 1px 12px),repeating-linear-gradient(90deg,rgba(147,197,253,.12) 0 1px,transparent 1px 12px),#0d2a4d;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #60a5fa,3px 3px 0 #000}.dungeon-choice-overlay--drafting .dungeon-choice-option__media{background:transparent;box-shadow:inset 0 0 0 2px rgba(147,197,253,.5)}.dungeon-choice-overlay--drafting .dungeon-choice-option__title{color:#dbeafe}.dungeon-choice-overlay--library .dungeon-choice-overlay__panel{color:#2b1d0e;background:linear-gradient(#f3e6c8,#e6d3a8);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #8b5a2b,4px 4px 0 #000}.dungeon-choice-overlay--library .dungeon-choice-overlay__head h3{color:#5b3a1e;text-shadow:none}.dungeon-choice-overlay--library .dungeon-choice-overlay__kicker{color:#8b5a2b}.dungeon-choice-overlay--library .dungeon-choice-overlay__how,.dungeon-choice-overlay--library .dungeon-choice-overlay__speech{color:#2b1d0e;font-size:12px;line-height:18px}.dungeon-choice-overlay--library .dungeon-choice-overlay__hint{color:#5b3a1e}@media (prefers-reduced-motion:reduce){.dungeon-choice-option__media,.dungeon-choice-option__media:before,.dungeon-choice-option__media>img,.dungeon-choice-overlay__panel{animation:none!important}}.dungeon-choice-overlay--drafting .dungeon-choice-option__media>img,.dungeon-choice-overlay--warp .dungeon-choice-option__media>img{width:72px;height:72px}.dungeon-circle-beat{--rh-circle:calc(78px * var(--dungeon-scale, 1));position:absolute;inset:0;z-index:58;display:grid;place-items:center;overflow:hidden;color:#fff;background:radial-gradient(ellipse at 50% 120%,rgba(236,72,153,.35),transparent 60%),radial-gradient(ellipse at 50% -20%,rgba(56,189,248,.25),transparent 60%),rgba(6,4,14,.92);animation:dungeon-offline-in .25s steps(3) both;user-select:none;touch-action:none}.dungeon-circle-beat__card{display:flex;flex-direction:column;align-items:center;gap:10px;width:min(440px,calc(100% - 32px));padding:20px 18px 16px;text-align:center;background:rgba(14,10,24,.97);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #ec4899,0 0 30px rgba(236,72,153,.35),4px 4px 0 #000}.dungeon-circle-beat__kicker{font-size:9px;letter-spacing:3px;color:#f9a8d4;text-transform:uppercase}.dungeon-circle-beat__title{font-size:18px;letter-spacing:2px;color:#fff;text-transform:uppercase;text-shadow:2px 2px 0 #000}.dungeon-circle-beat__how{font-size:11px;line-height:17px;color:var(--dg-text)}.dungeon-circle-beat__song{font-size:14px;letter-spacing:2px;color:#f9a8d4;text-transform:uppercase;text-shadow:2px 2px 0 #000}.dungeon-circle-beat kbd{padding:1px 4px;color:var(--dg-panel);font:inherit;font-size:10px;background:#f9a8d4}.dungeon-circle-beat__go{margin-top:6px;padding:8px 16px;color:#fff;font:inherit;font-size:12px;text-transform:uppercase;background:var(--dg-panel);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #ec4899,3px 3px 0 #000;cursor:pointer}.dungeon-circle-beat__go:hover{background:#1f1630}.dungeon-circle-beat__go--practice{margin-top:0;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #60a5fa,3px 3px 0 #000}.hub-board.hub-board--pixel{border-radius:0;border:0;background:rgba(10,12,18,.92);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #3a4256,4px 4px 0 #000;image-rendering:pixelated}.hub-board--pixel,.hub-board--pixel *,.hub-board--pixel b,.hub-board--pixel h3,.hub-board--pixel small{font-family:Jersey\ 10,monospace!important;font-weight:400!important;font-synthesis:none;font-style:normal;letter-spacing:0!important;-webkit-font-smoothing:none}.hub-board--pixel .hub-board__list{scrollbar-width:thin;scrollbar-color:#a16207 var(--dg-panel-deep)}.hub-board--pixel .hub-board__list::-webkit-scrollbar{width:12px}.hub-board--pixel .hub-board__list::-webkit-scrollbar-track{background:var(--dg-panel-deep);box-shadow:inset 0 0 0 2px #000}.hub-board--pixel .hub-board__list::-webkit-scrollbar-thumb{background:#a16207;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 3px var(--dg-gold)}.hub-board--pixel .hub-board__list::-webkit-scrollbar-thumb:hover{background:#ca8a04}.hub-board--pixel .hub-board__head h3{font-size:20px;line-height:22px;color:var(--dg-gold);text-transform:uppercase;letter-spacing:1px}.hub-board--pixel .hub-board__head a{font-size:18px}.hub-board--pixel .hub-board__tabs{display:flex;gap:0;padding:0 10px;border-top:2px solid rgba(255,255,255,.06)}.hub-board--pixel .hub-board__tab{flex:1;margin:0;padding:8px 10px;border:0;background:transparent;color:rgba(255,255,255,.55);font-size:18px;line-height:20px;text-transform:uppercase;cursor:pointer;box-shadow:inset 0 -2px 0 transparent}.hub-board--pixel .hub-board__tab:hover{color:#fff}.hub-board--pixel .hub-board__tab.is-active{color:var(--dg-gold);box-shadow:inset 0 -2px 0 var(--dg-gold)}.hub-board--pixel .hub-board__row{font-size:20px;line-height:22px;border-top:2px solid rgba(255,255,255,.06)}.hub-board--pixel .hub-board__avatar{border-radius:0;image-rendering:auto;box-shadow:0 0 0 2px #000}.hub-board--pixel .hub-board__name{font-size:22px;color:#fff}.hub-board--pixel .hub-board__name small{font-size:18px;line-height:18px;text-transform:none;color:rgba(255,255,255,.55)}.hub-board--pixel .hub-board__empty{font-size:20px}.hub-board--pixel .hub-board__row--event{grid-template-columns:28px 28px minmax(0,1fr) auto auto;row-gap:8px;padding:10px 14px}.hub-board--pixel .hub-board__row--build{grid-template-columns:28px 28px minmax(0,1fr) auto;row-gap:8px;padding:10px 14px}.hub-board--pixel .hub-board__row--build .hub-board__loadout{grid-column:3/-1}.hub-board--pixel .hub-board__row--event.is-unfinished{opacity:.88}.hub-board--pixel .hub-board__status{padding:0 8px;font-size:18px;line-height:22px;background:#1f2937;box-shadow:inset 0 0 0 2px #000;color:#cbd5e1}.hub-board--pixel .hub-board__status--complete{background:#14532d;color:#86efac}.hub-board--pixel .hub-board__status--failed{background:#4c1d1d;color:var(--dg-danger-light)}.hub-board--pixel .hub-board__score{display:grid;justify-items:end;min-width:76px;padding:2px 8px;background:#2a2206;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 3px #a16207}.hub-board--pixel .hub-board__score b{font-size:24px;line-height:24px;color:var(--dg-gold)}.hub-board--pixel .hub-board__score small{font-size:14px;line-height:12px;color:#d6b04c;text-transform:uppercase}.hub-board--pixel .hub-board__loadout{grid-column:3/-1;display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px 14px}.hub-board--pixel .hub-board__minis{display:flex;gap:4px}.hub-board--pixel .hub-board__minis>.jxu-mini{--jxu-mini:36px}.hub-board--pixel .hub-board__minis .jxu-mini__tag{max-width:none;overflow:visible;font-size:12px;font-family:Jersey\ 10,monospace!important}.hub-board--pixel .hub-board__vitals{display:flex;flex-direction:column;align-items:flex-end;gap:4px;margin-left:auto}.hub-board--pixel .hub-board__totals{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:4px 10px;font-size:20px;line-height:20px;color:var(--dg-text)}.hub-board--pixel .hub-board__totals span{display:inline-flex;align-items:center;gap:4px}.hub-board--pixel .hub-board__totals span:first-child{color:var(--dg-gold)}.hub-board--pixel .hub-board__totals img{width:18px;height:18px}.hub-board--pixel .hub-board__types{--jx-pill-size:18px;--jx-pill-font:14px;justify-content:flex-end}.dungeon-recap{display:flex;flex-direction:column;gap:6px;width:100%;margin-top:8px;padding:10px 12px;text-align:left;background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 2px #1f2937}.dungeon-recap h4{margin:0;font-size:10px;letter-spacing:2px;color:var(--dg-gold);text-transform:uppercase}.dungeon-recap p{display:flex;justify-content:space-between;gap:10px;margin:0;font-size:10px;line-height:14px}.dungeon-recap p span{color:#94a3b8;text-transform:uppercase}.dungeon-recap p b{color:#e2e8f0;font-weight:inherit;text-align:right}.dungeon-circle-beat__how--dim{font-size:10px;color:#94a3b8}.dungeon-circle-beat__practice{padding:2px 8px;color:var(--dg-panel);font-size:9px;letter-spacing:2px;text-transform:uppercase;background:#60a5fa;box-shadow:2px 2px 0 #000}.dungeon-circle-beat__hud{position:absolute;top:calc(16px * var(--dungeon-scale, 1));left:50%;z-index:3;display:grid;grid-template-columns:1fr auto;gap:4px 16px;width:min(560px,calc(100% - 32px));transform:translateX(-50%)}.dungeon-circle-beat__combo{font-size:22px;color:var(--dg-yellow);text-shadow:2px 2px 0 #000}.dungeon-circle-beat__acc{font-size:16px;color:#fff;text-shadow:2px 2px 0 #000}.dungeon-circle-beat__bar{grid-column:1/-1;height:6px;background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 1px #000}.dungeon-circle-beat__bar i{display:block;height:100%;background:linear-gradient(90deg,var(--dg-info),#ec4899)}.dungeon-circle-beat__field{position:absolute;inset:11% 6% 6%;cursor:crosshair}.dungeon-circle-beat__note{position:absolute;width:var(--rh-circle);height:var(--rh-circle);transform:translate(-50%,-50%);pointer-events:none}.dungeon-circle-beat__note:before{content:"";position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle at 35% 30%,#f9a8d4,#db2777 60%,#831843);box-shadow:0 0 0 4px #fff,0 0 0 6px #000,0 0 18px rgba(236,72,153,.7)}.dungeon-circle-beat__note b{position:absolute;inset:0;display:grid;place-items:center;font-size:calc(26px * var(--dungeon-scale, 1));color:#fff;text-shadow:2px 2px 0 #000}.dungeon-circle-beat__note.is-next:before{box-shadow:0 0 0 4px #fff,0 0 0 6px #000,0 0 26px rgba(253,224,71,.85)}.dungeon-circle-beat__ring{position:absolute;left:50%;top:50%;width:100%;height:100%;border:3px solid #fff;border-radius:50%;box-shadow:0 0 8px rgba(255,255,255,.6)}.dungeon-circle-beat__pop{position:absolute;z-index:2000;font-size:calc(30px * var(--dungeon-scale, 1));letter-spacing:1px;pointer-events:none;text-shadow:3px 3px 0 #000;transform:translate(-50%,-50%);animation:dungeon-circle-beat-pop .7s ease-out forwards}.dungeon-circle-beat__pop--300{color:var(--dg-info);text-shadow:3px 3px 0 #000,0 0 14px var(--dg-info)}.dungeon-circle-beat__pop--100{color:var(--dg-good)}.dungeon-circle-beat__pop--50{color:#fb923c}.dungeon-circle-beat__pop--0{color:var(--dg-danger);font-size:calc(36px * var(--dungeon-scale, 1));animation-name:dungeon-circle-beat-miss}@keyframes dungeon-circle-beat-pop{0%{opacity:0;transform:translate(-50%,-50%) scale(1.8)}20%{opacity:1;transform:translate(-50%,-50%) scale(1)}to{opacity:0;transform:translate(-50%,-110%) scale(.95)}}@keyframes dungeon-circle-beat-miss{0%{opacity:1;transform:translate(-50%,-50%) rotate(-12deg) scale(1.3)}30%{transform:translate(-46%,-50%) rotate(8deg) scale(1)}to{opacity:0;transform:translate(-50%,-20%) rotate(0)}}.dungeon-circle-beat__flash{position:absolute;inset:0;z-index:1;pointer-events:none;box-shadow:inset 0 0 80px rgba(239,68,68,.75);animation:dungeon-circle-beat-flash .45s ease-out forwards}@keyframes dungeon-circle-beat-flash{0%{opacity:1}to{opacity:0}}.dungeon-circle-beat__sending{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);font-size:12px;color:#f9a8d4}.dungeon-circle-beat__card--result{gap:8px}.dungeon-circle-beat__grade{font-size:64px;line-height:64px;text-shadow:4px 4px 0 #000;animation:dungeon-circle-beat-pop-in .5s steps(5) both}.dungeon-circle-beat__grade--s,.dungeon-circle-beat__grade--ss{color:var(--dg-yellow);text-shadow:4px 4px 0 #000,0 0 22px var(--dg-yellow)}.dungeon-circle-beat__grade--a{color:var(--dg-good)}.dungeon-circle-beat__grade--b{color:var(--dg-info)}.dungeon-circle-beat__grade--c{color:#c084fc}.dungeon-circle-beat__grade--d{color:var(--dg-danger)}@keyframes dungeon-circle-beat-pop-in{0%{transform:scale(2.4);opacity:0}}.dungeon-circle-beat__score{font-size:26px;letter-spacing:2px;text-shadow:2px 2px 0 #000}.dungeon-circle-beat__line{font-size:11px;line-height:16px;color:var(--dg-text)}.dungeon-circle-beat__line.is-dim{color:var(--dg-muted)}.dungeon-circle-beat .is-good{color:var(--dg-good)}.dungeon-circle-beat .is-bad{color:var(--dg-danger-light)}.dungeon-circle-beat__counts{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;width:100%;margin:4px 0}.dungeon-circle-beat__counts span{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 0;font-size:12px;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 2px #000}.dungeon-circle-beat__counts b{font-size:15px;font-weight:400}.dungeon-circle-beat__counts .is-300 b{color:var(--dg-info)}.dungeon-circle-beat__counts .is-100 b{color:var(--dg-good)}.dungeon-circle-beat__counts .is-50 b{color:#fb923c}.dungeon-circle-beat__counts .is-0 b{color:var(--dg-danger)}.dungeon-room-plate--circle_beat{--room-accent:#ec4899}@media (prefers-reduced-motion:reduce){.dungeon-circle-beat,.dungeon-circle-beat__flash,.dungeon-circle-beat__grade,.dungeon-circle-beat__pop{animation:none}}.dungeon-mania-beat{background:radial-gradient(ellipse at 50% 120%,rgba(236,72,153,.38),transparent 60%),radial-gradient(ellipse at 50% -20%,rgba(56,189,248,.28),transparent 60%),repeating-linear-gradient(0deg,rgba(255,255,255,.03) 0 2px,transparent 2px 6px),rgba(6,4,14,.94)}.dungeon-mania-beat .dungeon-circle-beat__bar i{background:linear-gradient(90deg,var(--dg-info),#ec4899)}.dungeon-mania-beat__field{position:absolute;top:12%;bottom:3%;left:50%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;width:min(440px,94%);padding:4px;transform:translateX(-50%);background:rgba(4,6,18,.86);box-shadow:0 0 0 3px #000,0 0 0 5px rgba(255,255,255,.2),0 0 36px rgba(56,189,248,.22),6px 6px 0 5px rgba(0,0,0,.6)}.dungeon-mania-beat__lane{--lane:#ec4899;--lane-hi:#f9a8d4;position:relative;min-width:0;overflow:hidden;background:linear-gradient(rgba(255,255,255,.02),color-mix(in srgb,var(--lane) 14%,transparent)),rgba(10,12,28,.9);box-shadow:inset 0 0 0 2px #000,inset 2px 0 0 rgba(255,255,255,.06),inset -2px 0 0 rgba(255,255,255,.06);cursor:pointer;touch-action:none;-webkit-tap-highlight-color:transparent}.dungeon-mania-beat__lane--1,.dungeon-mania-beat__lane--2{--lane:var(--dg-info);--lane-hi:#bae6fd}.dungeon-mania-beat__lane:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(180deg,color-mix(in srgb,var(--lane) 22%,transparent) 0 2px,transparent 2px 28px);animation:dungeon-mania-scroll .42s steps(7) infinite;pointer-events:none}@keyframes dungeon-mania-scroll{0%{background-position:0 0}to{background-position:0 28px}}.dungeon-mania-beat__lane:after{content:"";position:absolute;left:0;right:0;top:calc(var(--hit) - 46%);height:46%;background:linear-gradient(to top,color-mix(in srgb,var(--lane) 65%,transparent),transparent);opacity:0;pointer-events:none}.dungeon-mania-beat__lane.is-down:after{opacity:1;animation:dungeon-mania-beam .3s steps(3) infinite alternate}.dungeon-mania-beat__lane.is-down{background:linear-gradient(transparent 40%,color-mix(in srgb,var(--lane) 30%,transparent)),rgba(10,12,28,.9)}@keyframes dungeon-mania-beam{0%{filter:brightness(.85)}to{filter:brightness(1.35)}}.dungeon-mania-beat__fall{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1}.dungeon-mania-beat__note{position:absolute;left:5%;right:5%;background:linear-gradient(var(--lane-hi),var(--lane));box-shadow:inset 0 0 0 2px #000,inset 0 4px 0 rgba(255,255,255,.7),inset 0 -4px 0 rgba(0,0,0,.3),inset 4px 0 0 rgba(255,255,255,.25),0 0 14px color-mix(in srgb,var(--lane) 65%,transparent)}.dungeon-mania-beat__note.is-hold{left:16%;right:16%;background:repeating-linear-gradient(180deg,rgba(255,255,255,.22) 0 4px,transparent 4px 10px),linear-gradient(color-mix(in srgb,var(--lane) 60%,var(--dg-panel-deep)),color-mix(in srgb,var(--lane) 85%,var(--dg-panel-deep)));box-shadow:inset 0 0 0 2px #000,inset 2px 0 0 color-mix(in srgb,var(--lane-hi) 60%,transparent),inset -2px 0 0 color-mix(in srgb,var(--lane-hi) 60%,transparent)}.dungeon-mania-beat__note.is-held{background:linear-gradient(#fff,var(--lane-hi));box-shadow:inset 0 0 0 2px #000,0 0 22px var(--lane-hi),0 0 8px #fff}.dungeon-mania-beat__line{left:0;right:0;height:4px;z-index:2;background:#fff;box-shadow:0 0 0 2px #000,0 0 12px rgba(255,255,255,.8),0 -6px 0 rgba(255,255,255,.12)}.dungeon-mania-beat__line,.dungeon-mania-beat__receptor{position:absolute;top:var(--hit);transform:translateY(-50%);pointer-events:none}.dungeon-mania-beat__receptor{left:3%;right:3%;height:12px;z-index:3;background:color-mix(in srgb,var(--lane) 35%,var(--dg-panel-deep));box-shadow:0 0 0 2px #000,inset 0 2px 0 rgba(255,255,255,.18);transition:transform .05s step-end}.dungeon-mania-beat__lane.is-down .dungeon-mania-beat__receptor{transform:translateY(-50%) scaleY(1.5);background:linear-gradient(var(--lane-hi),#fff 45%,var(--lane-hi));box-shadow:0 0 0 2px #000,0 0 14px var(--lane),0 0 30px color-mix(in srgb,var(--lane) 75%,transparent),0 0 52px color-mix(in srgb,var(--lane) 40%,transparent)}.dungeon-mania-beat__glow{position:absolute;left:4%;right:4%;top:var(--hit);height:36%;z-index:2;transform:translateY(-55%);pointer-events:none;border-radius:4px;animation:dungeon-mania-hit-glow .38s ease-out forwards}.dungeon-mania-beat__glow--300{background:radial-gradient(ellipse at 50% 55%,rgba(56,189,248,.95),rgba(56,189,248,.2) 45%,transparent 72%);box-shadow:0 0 18px var(--dg-info),0 0 36px rgba(56,189,248,.55),inset 0 0 12px rgba(255,255,255,.45)}.dungeon-mania-beat__glow--100{background:radial-gradient(ellipse at 50% 55%,rgba(74,222,128,.9),rgba(74,222,128,.18) 45%,transparent 72%);box-shadow:0 0 16px var(--dg-good),0 0 28px rgba(74,222,128,.45)}.dungeon-mania-beat__glow--50{background:radial-gradient(ellipse at 50% 55%,rgba(251,146,60,.88),rgba(251,146,60,.16) 45%,transparent 72%);box-shadow:0 0 14px #fb923c,0 0 24px rgba(251,146,60,.4)}.dungeon-mania-beat__glow--0{background:radial-gradient(ellipse at 50% 55%,rgba(239,68,68,.85),rgba(239,68,68,.2) 45%,transparent 72%);box-shadow:0 0 14px var(--dg-danger),0 0 26px rgba(239,68,68,.45)}@keyframes dungeon-mania-hit-glow{0%{opacity:1;filter:brightness(1.35);transform:translateY(-55%) scaleY(1.15)}to{opacity:0;filter:brightness(1);transform:translateY(-55%) scaleY(.7)}}.dungeon-mania-beat__pad{position:absolute;left:0;right:0;top:var(--hit);bottom:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:linear-gradient(color-mix(in srgb,var(--lane) 24%,rgba(0,0,0,.35)),rgba(0,0,0,.65));pointer-events:none}.dungeon-mania-beat__pad kbd{display:grid;place-items:center;height:50%;max-width:80%;aspect-ratio:1;color:var(--dg-panel);font:inherit;font-size:calc(22px * var(--dungeon-scale, 1));background:var(--lane-hi);box-shadow:inset 0 0 0 2px #000,inset 0 -3px 0 rgba(0,0,0,.25),3px 3px 0 #000}.dungeon-mania-beat__pad kbd.is-alt{height:30%;font-size:calc(13px * var(--dungeon-scale, 1));color:var(--lane-hi);background:rgba(0,0,0,.55);box-shadow:inset 0 0 0 2px var(--lane),2px 2px 0 #000}.dungeon-mania-beat__lane.is-down .dungeon-mania-beat__pad kbd{background:#fff;box-shadow:inset 0 0 0 2px #000,0 0 18px var(--lane-hi);transform:translate(2px,2px)}.dungeon-mania-beat__pop{position:absolute;left:50%;top:calc(var(--hit) - 12%);z-index:3;font-size:calc(15px * var(--dungeon-scale, 1));letter-spacing:1px;white-space:nowrap;pointer-events:none;text-shadow:2px 2px 0 #000;transform:translate(-50%,-50%);animation:dungeon-circle-beat-pop .6s ease-out forwards}@media (hover:none) and (pointer:coarse) and (orientation:portrait){.dungeon-mania-beat__field{width:calc(100% - 12px);gap:3px}.dungeon-mania-beat__pad kbd.is-alt{display:none}}@media (prefers-reduced-motion:reduce){.dungeon-mania-beat__glow,.dungeon-mania-beat__lane.is-down:after,.dungeon-mania-beat__lane:before,.dungeon-mania-beat__pop{animation:none}}.dungeon-room-plate--mania_beat{--room-accent:#dc2626}.dungeon-block-stack{background:radial-gradient(ellipse at 50% 120%,rgba(168,85,247,.38),transparent 60%),radial-gradient(ellipse at 50% -20%,rgba(236,72,153,.26),transparent 60%),repeating-linear-gradient(0deg,rgba(255,255,255,.03) 0 2px,transparent 2px 6px),rgba(6,4,14,.94)}.dungeon-block-stack .dungeon-circle-beat__bar i{background:linear-gradient(90deg,#a855f7,#ec4899)}.dungeon-block-stack__field{position:absolute;top:12%;bottom:13%;left:50%;display:flex;gap:10px;padding:4px;transform:translateX(-50%);background:rgba(4,6,18,.86);box-shadow:0 0 0 3px #000,0 0 0 5px rgba(255,255,255,.2),0 0 36px rgba(168,85,247,.28),6px 6px 0 5px rgba(0,0,0,.6)}.dungeon-block-stack__well{position:relative;display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));grid-template-rows:repeat(var(--rows),minmax(0,1fr));height:100%;min-height:0;aspect-ratio:var(--cols) /var(--rows);gap:1px;background:rgba(255,255,255,.05)}.dungeon-block-stack__cell{background:rgba(8,10,24,.92)}.dungeon-block-stack__cell.is-filled{background:var(--block);box-shadow:inset 0 0 0 2px rgba(0,0,0,.55),inset 3px 3px 0 rgba(255,255,255,.35),inset -3px -3px 0 rgba(0,0,0,.3)}.dungeon-block-stack__cell.is-ghost{background:rgba(8,10,24,.92);box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--block) 65%,transparent)}.dungeon-block-stack__cell.is-live{filter:brightness(1.18)}.dungeon-block-stack__banner{position:absolute;left:50%;top:42%;z-index:3;padding:8px 14px;color:#fecaca;font-size:15px;letter-spacing:2px;text-transform:uppercase;white-space:nowrap;text-shadow:2px 2px 0 #000;background:rgba(127,29,29,.95);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #f87171,4px 4px 0 #000;transform:translate(-50%,-50%);animation:dungeon-offline-in .25s steps(3) both}.dungeon-block-stack__banner.is-paused{color:#fff;background:rgba(14,10,24,.96);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #ec4899,4px 4px 0 #000}.dungeon-block-stack__banner small{display:block;margin-top:4px;font-size:9px;letter-spacing:2px;color:#f9a8d4}.dungeon-block-stack__side{display:flex;flex-direction:column;gap:8px;width:clamp(60px,13vh,112px)}.dungeon-block-stack__label{font-size:9px;letter-spacing:3px;color:#f9a8d4;text-transform:uppercase}.dungeon-block-stack__next{position:relative;display:block;width:100%;aspect-ratio:1;background:rgba(8,10,24,.92);box-shadow:inset 0 0 0 2px rgba(255,255,255,.08)}.dungeon-block-stack__next i{position:absolute;width:25%;height:25%;background:var(--block);box-shadow:inset 0 0 0 1px rgba(0,0,0,.55),inset 2px 2px 0 rgba(255,255,255,.35)}.dungeon-block-stack__pads{position:absolute;bottom:3%;left:50%;z-index:3;display:flex;gap:6px;transform:translateX(-50%)}.dungeon-block-stack__pads button{padding:6px 10px;color:#fff;font:inherit;font-size:10px;letter-spacing:1px;text-transform:uppercase;background:var(--dg-panel);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 3px #a855f7,2px 2px 0 #000;cursor:pointer;touch-action:manipulation}.dungeon-block-stack__pads button:active{background:#2a1a44}@media (prefers-reduced-motion:reduce){.dungeon-block-stack__banner{animation:none}}.dungeon-room-plate--block_stack{--room-accent:#a855f7}.dungeon-room-plate--kitchen{--room-accent:var(--dg-amber)}.dungeon-room-plate--gifts{--room-accent:var(--dg-danger)}.dungeon-gifts{background:radial-gradient(ellipse at 50% 120%,rgba(239,68,68,.36),transparent 60%),radial-gradient(ellipse at 50% -20%,rgba(34,197,94,.28),transparent 60%),repeating-linear-gradient(0deg,rgba(255,255,255,.03) 0 2px,transparent 2px 6px),rgba(10,8,10,.94)}.dungeon-gifts__card{width:min(560px,calc(100% - 24px));max-height:calc(100% - 16px);overflow:auto;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--dg-danger),0 0 30px rgba(239,68,68,.3),4px 4px 0 #000}.dungeon-gifts .dungeon-circle-beat__kicker{color:#86efac}.dungeon-gifts kbd{background:#fecaca}.dungeon-gifts__stage{position:relative;width:100%;height:150px;margin:6px 0 2px}.dungeon-gifts__box{position:absolute;bottom:14px;width:104px;margin-left:-52px;padding:0;color:#fff;font:inherit;background:transparent;border:0;transition:left var(--swap,.5s) ease-in-out}.dungeon-gifts__box:disabled{cursor:default;opacity:1}.dungeon-gifts__box.is-pickable{cursor:pointer}.dungeon-gifts__shell{position:relative;display:block;width:100%}.dungeon-gifts__img{display:block;width:100%;image-rendering:pixelated;filter:drop-shadow(3px 4px 0 rgba(0,0,0,.55))}.dungeon-gifts__content{position:absolute;left:50%;top:10%;width:46%;transform:translateX(-50%);image-rendering:pixelated;animation:dungeon-gifts-pop .4s steps(4)}.dungeon-gifts__content.is-gift{filter:drop-shadow(0 0 6px var(--dg-yellow))}@keyframes dungeon-gifts-pop{0%{transform:translate(-50%,28%) scale(.5)}to{transform:translate(-50%) scale(1)}}.dungeon-gifts__shell.is-hop-up{animation:dungeon-gifts-hop-up var(--swap,.5s) ease-in-out}.dungeon-gifts__shell.is-hop-down{animation:dungeon-gifts-hop-down var(--swap,.5s) ease-in-out}@keyframes dungeon-gifts-hop-up{0%,to{transform:translateY(0)}50%{transform:translateY(-34px)}}@keyframes dungeon-gifts-hop-down{0%,to{transform:translateY(0)}50%{transform:translateY(14px)}}.dungeon-gifts__box kbd{position:absolute;left:50%;bottom:-16px;transform:translateX(-50%);padding:0 5px;font-size:10px}.dungeon-gifts__box.is-pickable.is-cursor .dungeon-gifts__img{filter:drop-shadow(0 0 8px var(--dg-yellow)) drop-shadow(3px 4px 0 rgba(0,0,0,.55))}.dungeon-gifts__box.is-pickable.is-cursor{transform:translateY(-6px)}.dungeon-gifts__box.is-picked .dungeon-gifts__img{filter:drop-shadow(0 0 8px #86efac) drop-shadow(3px 4px 0 rgba(0,0,0,.55))}.dungeon-gifts__say{min-height:14px;font-size:11px;letter-spacing:1px;color:#fde68a;text-transform:uppercase}.dungeon-gifts__row{display:flex;gap:8px}.dungeon-gifts__row .dungeon-circle-beat__go{margin-top:0}.dungeon-gifts__prize{display:grid;justify-items:center;gap:3px;padding:8px 12px;background:rgba(34,197,94,.14);box-shadow:inset 0 0 0 2px #14532d}.dungeon-gifts__prize b{font-size:14px;letter-spacing:1px;color:#bbf7d0;text-transform:uppercase;font-weight:inherit}.dungeon-gifts__prize small{font-size:9px;letter-spacing:2px;color:#fde68a;text-transform:uppercase}.dungeon-gifts__prize span{max-width:380px;font-size:11px;line-height:15px;color:var(--dg-text)}@media (max-width:520px){.dungeon-gifts__box{width:80px;margin-left:-40px}.dungeon-gifts__stage{height:120px}}@media (prefers-reduced-motion:reduce){.dungeon-gifts__content,.dungeon-gifts__shell.is-hop-down,.dungeon-gifts__shell.is-hop-up{animation:none}}.dungeon-kitchen{background:radial-gradient(ellipse at 50% 120%,rgba(245,158,11,.34),transparent 60%),radial-gradient(ellipse at 50% -20%,rgba(180,83,9,.3),transparent 60%),repeating-linear-gradient(0deg,rgba(255,255,255,.03) 0 2px,transparent 2px 6px),rgba(14,8,6,.94)}.dungeon-kitchen__card{flex:none;gap:8px;width:820px;max-width:none;padding:14px 16px;position:absolute;left:50%;top:50%;translate:-50% -50%;transform-origin:center center;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--dg-amber),0 0 30px rgba(245,158,11,.3),4px 4px 0 #000}.dungeon-kitchen .dungeon-circle-beat__kicker{color:var(--dg-amber-light)}.dungeon-kitchen kbd{background:var(--dg-amber-light)}.dungeon-kitchen__head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:2px 12px;width:100%}.dungeon-kitchen__how{width:100%;font-size:11px;line-height:14px;color:var(--dg-muted)}.dungeon-kitchen__body{display:grid;grid-template-columns:430px minmax(0,1fr);gap:14px;width:100%;text-align:left}.dungeon-kitchen__left,.dungeon-kitchen__right{display:flex;flex-direction:column;gap:8px;min-width:0}.dungeon-kitchen__shelf{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%}.dungeon-kitchen__item{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;min-height:92px;padding:6px 4px;color:#fff;font:inherit;font-size:9px;line-height:11px;text-transform:uppercase;background:#1a1210;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 3px #5a3d2b;cursor:pointer}.dungeon-kitchen__item:hover:not(:disabled){background:#2a1c14;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 3px var(--dg-amber)}.dungeon-kitchen__item.is-picked{background:#3a2610;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 3px var(--dg-amber-light)}.dungeon-kitchen__item:disabled{opacity:.45;cursor:default}.dungeon-kitchen__item kbd{position:absolute;top:3px;left:3px;padding:0 3px;font-size:8px;line-height:10px}.dungeon-kitchen__icon{width:40px;height:40px;image-rendering:pixelated}.dungeon-kitchen__icon--none{display:grid;place-items:center;font-size:20px;color:var(--dg-amber-light)}.dungeon-kitchen__name{text-align:center}.dungeon-kitchen .is-sweet{--flavor:#f472b6}.dungeon-kitchen .is-sour{--flavor:#facc15}.dungeon-kitchen .is-salty{--flavor:#93c5fd}.dungeon-kitchen .is-bitter{--flavor:#a16207}.dungeon-kitchen .is-umami{--flavor:#fb923c}.dungeon-kitchen__pips{display:flex;flex-wrap:wrap;justify-content:center;gap:2px;margin-top:auto}.dungeon-kitchen__legend i,.dungeon-kitchen__pips i{display:block;width:7px;height:7px;background:var(--flavor);box-shadow:0 0 0 1px #000}.dungeon-kitchen__legend{display:flex;justify-content:center;gap:10px;font-size:9px;color:var(--dg-muted);text-transform:uppercase}.dungeon-kitchen__legend span{display:inline-flex;align-items:center;gap:4px}.dungeon-kitchen__stove{display:flex;align-items:center;gap:10px}.dungeon-kitchen__actions{display:flex;flex:1;flex-direction:column;gap:6px}.dungeon-kitchen__actions .dungeon-circle-beat__go{width:100%;margin-top:0}.dungeon-kitchen__pot{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 12px 8px;background:#2a1c14;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 3px #8a5a3b,inset 0 -10px 0 rgba(0,0,0,.25)}.dungeon-kitchen__slot{display:grid;place-items:center;width:52px;height:52px;padding:0;background:#120b08;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 3px #5a3d2b;cursor:pointer}.dungeon-kitchen__slot:disabled{cursor:default}.dungeon-kitchen__slot.is-filled{box-shadow:inset 0 0 0 2px #000,inset 0 0 0 3px var(--dg-amber-light)}.dungeon-kitchen__pot.is-cooking .dungeon-kitchen__slot{animation:dungeon-kitchen-hop .42s steps(4) infinite alternate}.dungeon-kitchen__pot.is-cooking .dungeon-kitchen__slot:nth-child(2){animation-delay:.14s}.dungeon-kitchen__pot.is-cooking .dungeon-kitchen__slot:nth-child(3){animation-delay:.28s}@keyframes dungeon-kitchen-hop{0%{transform:translateY(0)}to{transform:translateY(-6px)}}.dungeon-kitchen__steam{position:absolute;left:50%;top:-14px;display:none;gap:8px;transform:translateX(-50%)}.dungeon-kitchen__pot.is-cooking .dungeon-kitchen__steam{display:flex}.dungeon-kitchen__steam i{display:block;width:5px;height:12px;background:rgba(255,255,255,.55);animation:dungeon-kitchen-steam .9s steps(5) infinite}.dungeon-kitchen__steam i:nth-child(2){animation-delay:.3s}.dungeon-kitchen__steam i:nth-child(3){animation-delay:.6s}@keyframes dungeon-kitchen-steam{0%{transform:translateY(8px);opacity:.9}to{transform:translateY(-10px);opacity:0}}.dungeon-kitchen__row{display:flex;gap:6px}.dungeon-kitchen__row .dungeon-circle-beat__go{flex:1;margin-top:0}.dungeon-kitchen__preview{--flavor:var(--dg-amber-light);display:grid;align-content:start;gap:3px;min-height:84px;padding:8px 10px;background:rgba(0,0,0,.35);border:2px solid color-mix(in srgb,var(--flavor) 55%,transparent)}.dungeon-kitchen__preview-name{font-size:14px;line-height:17px;color:var(--flavor);text-transform:uppercase;text-shadow:2px 2px 0 #000}.dungeon-kitchen__preview-empty{font-size:11px;color:var(--dg-muted)}.dungeon-kitchen__note{margin:0;padding:6px 8px;font-size:10px;line-height:13px;color:#fde68a;background:rgba(245,158,11,.1);border:1px dashed rgba(245,158,11,.5)}.dungeon-kitchen__note i{color:var(--dg-muted)}.dungeon-kitchen__card--result .dungeon-kitchen__body{grid-template-columns:300px minmax(0,1fr);align-items:center}.dungeon-kitchen__plate{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}.dungeon-kitchen__dish{width:96px;height:96px;image-rendering:pixelated}.dungeon-kitchen__dish.is-secret{filter:drop-shadow(0 0 10px rgba(250,204,21,.8))}.dungeon-kitchen__made{display:flex;gap:6px}.dungeon-kitchen__made .dungeon-kitchen__icon{width:28px;height:28px}.dungeon-kitchen__effects{display:grid;gap:3px;margin:0;padding:0;list-style:none;font-size:11px;line-height:14px;color:#bbf7d0;text-transform:uppercase}.dungeon-kitchen__raised{color:#fde68a}@media (prefers-reduced-motion:reduce){.dungeon-kitchen__pot.is-cooking .dungeon-kitchen__slot,.dungeon-kitchen__steam i{animation:none}}.dungeon-room-plate--trade{--room-accent:var(--dg-amber)}.dungeon-trade{position:absolute;inset:0;z-index:58;display:grid;place-items:center;container-type:inline-size;color:#fff;background:radial-gradient(ellipse at 50% 120%,rgba(245,158,11,.28),transparent 60%),rgba(8,6,4,.9);animation:dungeon-offline-in .25s steps(3) both;user-select:none}.dungeon-trade__card{display:flex;flex-direction:column;gap:10px;width:min(660px,calc(100% - 20px));max-height:calc(100% - 20px);padding:14px 16px;overflow-y:auto;background:rgba(20,14,6,.97);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--dg-amber),0 0 30px rgba(245,158,11,.3),4px 4px 0 #000}.dungeon-trade__card--done{align-items:center;text-align:center;gap:12px}.dungeon-trade__head{display:flex;align-items:center;gap:8px}.dungeon-trade__heading{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}.dungeon-trade__kicker{font-size:9px;letter-spacing:3px;color:var(--dg-amber-light);text-transform:uppercase}.dungeon-trade__title{font-size:16px;letter-spacing:2px;color:#fff;text-transform:uppercase;text-shadow:2px 2px 0 #000}.dungeon-trade kbd{padding:1px 4px;color:var(--dg-panel);font:inherit;font-size:10px;background:var(--dg-amber-light)}.dungeon-trade__close,.dungeon-trade__go,.dungeon-trade__refresh{padding:6px 10px;color:#fff;font:inherit;font-size:11px;text-transform:uppercase;background:var(--dg-panel);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #92400e,2px 2px 0 #000;cursor:pointer}.dungeon-trade__close:hover,.dungeon-trade__go:hover:not(:disabled),.dungeon-trade__refresh:hover:not(:disabled){background:#2a1c08}.dungeon-trade__go:disabled,.dungeon-trade__refresh:disabled{color:#78716c;cursor:not-allowed;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #3f3a33}.dungeon-trade__close{color:#d6d3d1}.dungeon-trade__go{align-self:stretch;padding:9px 16px;font-size:13px;box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--dg-amber),3px 3px 0 #000}.dungeon-trade__card--done .dungeon-trade__go{align-self:center}.dungeon-trade__go:disabled:not(:hover){box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px #3f3a33}.dungeon-trade__cols{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:start;gap:10px}.dungeon-trade__col{display:flex;flex-direction:column;gap:6px;min-width:0}.dungeon-trade__label{font-size:10px;letter-spacing:2px;color:var(--dg-amber-light);text-transform:uppercase}.dungeon-trade__list{display:flex;flex-direction:column;gap:6px;max-height:250px;overflow-y:auto;padding:2px}.dungeon-trade__arrow{align-self:center;font-size:22px;color:var(--dg-amber);text-shadow:2px 2px 0 #000}.dungeon-trade__empty{padding:14px 8px;font-size:11px;line-height:17px;color:#a8a29e;text-align:center;background:rgba(255,255,255,.04)}.dungeon-trade__tile{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px 8px;color:#fff;font:inherit;text-align:left;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 2px #000;cursor:pointer}.dungeon-trade__tile:hover:not(:disabled){background:rgba(245,158,11,.14)}.dungeon-trade__tile.is-picked{background:rgba(245,158,11,.24);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 4px var(--dg-amber)}.dungeon-trade__tile:disabled{cursor:default;opacity:.55}.dungeon-trade__card--done .dungeon-trade__tile:disabled{opacity:1}.dungeon-trade__art{display:grid;place-items:center;width:44px;height:44px;background:rgba(0,0,0,.45);box-shadow:inset 0 0 0 1px #000}.dungeon-trade__art img{width:36px;height:36px;object-fit:contain;image-rendering:pixelated}.dungeon-trade__art b{font-size:16px;color:var(--dg-amber-light)}.dungeon-trade__name{min-width:0;font-size:12px;line-height:15px;overflow-wrap:anywhere}.dungeon-trade__tag{padding:2px 5px;font-size:9px;color:var(--dg-amber-light);text-transform:uppercase;background:rgba(0,0,0,.45);white-space:nowrap}.dungeon-trade__tag.is-bot{color:#7dd3fc}.dungeon-trade__swap{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.dungeon-trade__swap .dungeon-trade__tile{min-width:200px}.dungeon-trade__desc{max-width:420px;font-size:11px;line-height:17px;color:#e7e5e4}.dungeon-trade__desc b{color:var(--dg-amber-light);font-weight:400}.dungeon-trade__detail{display:flex;flex-direction:column;gap:3px;min-height:34px;padding:7px 9px;font-size:11px;line-height:16px;color:#e7e5e4;background:rgba(0,0,0,.35)}.dungeon-trade__detail b{color:var(--dg-amber-light);font-weight:400;text-transform:uppercase}.dungeon-trade__detail .is-bad{color:var(--dg-danger-light)}@container (max-width: 560px){.dungeon-trade__cols{grid-template-columns:minmax(0,1fr);gap:6px}.dungeon-trade__arrow{transform:rotate(90deg);justify-self:center;font-size:18px;line-height:1}.dungeon-trade__list{max-height:140px}.dungeon-trade__title{font-size:14px}}.dungeon-room-result-overlay{position:absolute;inset:0;z-index:2100;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.62)}.dungeon-room-result{display:flex;flex-direction:column;align-items:center;gap:8px;width:min(86%,340px);padding:16px 18px 14px;background:var(--dg-panel);box-shadow:inset 0 0 0 3px #3a4254,6px 6px 0 #000;color:#fafaf9;text-align:center}.dungeon-room-result__title{margin:0;font-size:13px;letter-spacing:2px;text-transform:uppercase;color:var(--dg-muted)}.dungeon-room-result__grade{font-size:64px;line-height:64px;text-shadow:4px 4px 0 #000;animation:dungeon-circle-beat-pop-in .5s steps(5) both}.dungeon-room-result__grade--s,.dungeon-room-result__grade--ss{color:var(--dg-yellow);text-shadow:4px 4px 0 #000,0 0 22px var(--dg-yellow)}.dungeon-room-result__grade--a{color:var(--dg-good)}.dungeon-room-result__grade--b{color:var(--dg-info)}.dungeon-room-result__grade--c{color:#c084fc}.dungeon-room-result__grade--d,.dungeon-room-result__grade--f{color:var(--dg-danger)}.dungeon-room-result__headline{font-size:14px;letter-spacing:1px}.dungeon-room-result__points,.dungeon-room-result__rows{width:100%;margin:0;padding:0;list-style:none;display:grid;gap:3px}.dungeon-room-result__points li,.dungeon-room-result__rows li{display:flex;justify-content:space-between;gap:10px;font-size:12px;line-height:16px}.dungeon-room-result__points li>span,.dungeon-room-result__rows li>span{color:var(--dg-muted);text-transform:uppercase}.dungeon-room-result__rows b{font-weight:400}.dungeon-room-result .is-good{color:var(--dg-good)}.dungeon-room-result .is-bad{color:var(--dg-danger-light)}.dungeon-room-result__points{padding-top:8px;border-top:2px solid rgba(255,255,255,.1)}.dungeon-room-result__points li b{font-weight:400;color:var(--dg-yellow)}.dungeon-room-result__points li.is-none b{color:#6b7280}.dungeon-room-result__points li.is-total{padding-top:4px;border-top:2px solid rgba(255,255,255,.1);font-size:14px}.dungeon-room-result__points li.is-total b{font-size:18px}.dungeon-room-result__note{font-size:11px;color:var(--dg-muted)}.dungeon-room-result__go{margin-top:4px;padding:8px 18px;font:inherit;font-size:13px;color:#fff;background:#1f2937;border:0;box-shadow:inset 0 0 0 2px var(--dg-yellow),3px 3px 0 #000;cursor:pointer}.dungeon-room-result__go kbd{margin-right:6px;color:var(--dg-yellow);font:inherit}@media (prefers-reduced-motion:reduce){.dungeon-room-result__grade{animation:none}}.dungeon-score-rows{margin:8px 0 0;padding:8px 0 0;list-style:none;display:grid;gap:3px;border-top:2px solid rgba(255,255,255,.1)}.dungeon-score-rows li{display:flex;justify-content:space-between;gap:12px;font-size:12px;line-height:16px}.dungeon-score-rows li>span{color:var(--dg-muted);text-transform:uppercase}.dungeon-score-rows li>b{font-weight:400;color:#fff}.dungeon-score-rows li.is-final{padding-top:4px;border-top:2px solid rgba(255,255,255,.1);font-size:15px}.dungeon-score-rows li.is-final>span{color:var(--dg-yellow)}.dungeon-score-rows li.is-final>b{color:var(--dg-yellow);font-size:20px}.dungeon-defeat__stats.dungeon-score-rows{padding:10px 12px;border-top:0}.dungeon-defeat__stats.dungeon-score-rows li.is-final{margin-top:2px;padding-top:6px}.run-end-rows li{animation:run-end-row .24s steps(4) calc(var(--first-ms, .45s) + var(--i, 0) * var(--row-ms, .22s)) both}.run-end-rows li.is-final>b{display:inline-block;min-width:4ch;text-align:right}.run-end-flourish{display:grid;grid-template-columns:1fr auto;grid-template-areas:"route grade" "best grade";align-items:center;gap:6px 14px;width:100%;margin:8px 0 12px;text-align:left}.run-end-route{grid-area:route;min-width:0}.run-end-best,.run-end-route small{font-size:9px;letter-spacing:2px;text-transform:uppercase;color:var(--dg-muted)}.run-end-route ol{display:flex;flex-wrap:wrap;gap:3px;margin:4px 0 0;padding:0;list-style:none}.run-end-route li{display:grid;place-items:center;width:22px;height:18px;background:var(--dg-panel);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 3px #2b3342;animation:run-end-step .18s steps(3) calc(var(--route-at, .2s) + var(--i, 0) * var(--step, 45ms)) both}.run-end-route li:last-child{box-shadow:inset 0 0 0 2px #000,inset 0 0 0 3px var(--dg-yellow)}.run-end-route img{max-width:16px;max-height:12px;image-rendering:pixelated}.run-end-grade{--grade-color:var(--dg-muted);grid-area:grade;display:grid;justify-items:center;gap:2px;min-width:86px;padding:8px 10px 6px;color:var(--grade-color);box-shadow:inset 0 0 0 3px currentColor,3px 3px 0 #000;background:rgba(0,0,0,.45);rotate:-8deg;animation:run-end-stamp .36s cubic-bezier(.3,1.6,.5,1) var(--grade-at,2s) both}.run-end-grade b{font-size:46px;line-height:44px;text-shadow:3px 3px 0 #000}.run-end-grade span{font-size:10px;letter-spacing:2px;text-transform:uppercase}.run-end-grade small{font-size:8px;color:var(--dg-muted);letter-spacing:1px}.run-end-grade--s{--grade-color:var(--dg-yellow);box-shadow:inset 0 0 0 3px currentColor,3px 3px 0 #000,0 0 18px rgba(253,224,71,.55)}.run-end-grade--a{--grade-color:var(--dg-good)}.run-end-grade--b{--grade-color:#60a5fa}.run-end-grade--c{--grade-color:#fb923c}.run-end-grade--d{--grade-color:#f87171}.run-end-grade--s b{animation:run-end-shine 1.6s steps(8) calc(var(--grade-at, 2s) + .4s) infinite}.run-end-best{grid-area:best;margin:0;animation:run-end-row .3s steps(4) calc(var(--grade-at, 2s) + .25s) both}.run-end-best span{color:#d1d5db}.run-end-best:not(.is-quiet){justify-self:start;padding:3px 8px 2px;color:var(--dg-panel);background:var(--dg-yellow);box-shadow:2px 2px 0 #000;animation:run-end-row .3s steps(4) calc(var(--grade-at, 2s) + .25s) both,run-end-blink .8s steps(2) calc(var(--grade-at, 2s) + .6s) 3}.run-end-best:not(.is-quiet) span{color:#3f3f46}@keyframes run-end-row{0%{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:none}}@keyframes run-end-step{0%{opacity:0;transform:translateY(-6px) scale(.6)}to{opacity:1;transform:none}}@keyframes run-end-stamp{0%{opacity:0;scale:2.6}60%{opacity:1;scale:.92}to{opacity:1;scale:1}}@keyframes run-end-shine{0%,70%,to{text-shadow:3px 3px 0 #000}80%{text-shadow:3px 3px 0 #000,0 0 12px #fff;color:#fff}}@keyframes run-end-blink{50%{filter:brightness(1.4)}}@media (max-width:520px){.run-end-flourish{grid-template-columns:1fr;grid-template-areas:"grade" "route" "best";justify-items:center;text-align:center}.run-end-route ol{justify-content:center}}@media (prefers-reduced-motion:reduce){.run-end-best,.run-end-grade,.run-end-grade b,.run-end-route li,.run-end-rows li{animation:none!important}}.dungeon-fight-grade{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;margin:4px 0 10px;padding:10px 12px;background:rgba(0,0,0,.35);box-shadow:inset 0 0 0 2px #000,inset 0 0 0 3px #3a4256}.dungeon-fight-grade__stamp{grid-area:auto;min-width:74px}.dungeon-fight-grade__stamp b{font-size:52px;line-height:50px}.dungeon-fight-grade__info{display:grid;gap:4px;min-width:0;text-align:left}.dungeon-fight-grade__label{color:var(--dg-muted);font-size:10px;letter-spacing:2px;text-transform:uppercase}.dungeon-fight-grade__info b{color:var(--dg-text);font-size:18px;line-height:20px}.dungeon-fight-grade__info em{color:var(--dg-yellow);font-style:normal}.dungeon-fight-grade__info small{color:var(--dg-muted);font-size:11px;letter-spacing:1px}.dungeon-relics__slot.is-uncommon{box-shadow:inset 0 0 0 2px #000,inset 0 0 0 3px #4dabf7}.dungeon-relics__slot.is-rare{box-shadow:inset 0 0 0 2px #000,inset 0 0 0 3px var(--dg-gold)}