.game-dialog{box-sizing:border-box;padding:24px;border:0;border-radius:0;color:#f5e6d2;background:#100f1c;box-shadow:0 24px 100px #000b;clip-path:polygon(18px 0,calc(100% - 18px) 0,100% 18px,100% calc(100% - 18px),calc(100% - 18px) 100%,18px 100%,0 calc(100% - 18px),0 18px)}.game-dialog::backdrop{background:#080911cf;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.game-dialog-frame{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;fill:none;stroke:#b39178;stroke-opacity:.8;stroke-width:3px}.camp-dialog{width:min(640px,calc(100vw - 28px));max-height:calc(100dvh - 20px);overflow:hidden}.game-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.game-dialog-heading h2{margin:0;color:var(--accent);font-size:25px}.game-dialog-close{position:relative;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;background:#2a2031;border-radius:0}.game-dialog-close:before,.game-dialog-close:after{content:"";position:absolute;left:50%;top:50%;width:18px;height:2px;background:currentColor;transform:translate(-50%,-50%) rotate(45deg)}.game-dialog-close:after{transform:translate(-50%,-50%) rotate(-45deg)}.game-dialog-body{min-height:0}.game-dialog-actions{display:flex;gap:10px;margin-top:18px}.game-dialog-actions>button{flex:1;min-height:48px;border-radius:0;background:#33263b}.game-dialog-actions>.primary,.camp-dialog .primary{background:#9e2e48;color:#ffe5cf;clip-path:polygon(10px 0,calc(100% - 10px) 0,100% 50%,calc(100% - 10px) 100%,10px 100%,0 50%)}.game-dialog.settings-dialog{width:min(90vw,420px);background:#100f1c;color:#f5e6d2;border:0;border-radius:0}.settings-dialog .game-dialog-body>button{width:100%}.settings-dialog .settings-reset{margin-bottom:6px;clip-path:var(--ui-octagon)}.game-dialog.settings-dialog h2{margin:0;color:var(--accent)}.game-dialog.settings-dialog .primary{background:#9e2e48;border-radius:0;clip-path:var(--ui-octagon)}@media(max-height:510px)and (orientation:landscape){.game-dialog{padding:14px 18px}.game-dialog-heading{margin-bottom:8px}.game-dialog-heading h2{font-size:20px}.game-dialog-actions{margin-top:10px}.game-dialog-actions>button{font-size:12px;min-height:44px}}@media(max-height:510px)and (orientation:landscape){.game-dialog.settings-dialog{padding:14px 18px;max-height:calc(100dvh - 16px)}.game-dialog.settings-dialog h2{font-size:20px}.game-dialog.settings-dialog .setting{min-height:44px;margin:4px 0;gap:14px;font-size:12px}.game-dialog.settings-dialog .game-dialog-body>button{min-height:44px;padding:6px 12px}}.camp-dialog[open]{display:flex;flex-direction:column}.camp-dialog .game-dialog-heading,.camp-dialog .game-dialog-actions{flex-shrink:0}.camp-dialog .game-dialog-heading h2{min-width:0;overflow-wrap:anywhere}.camp-dialog .game-dialog-close{flex-shrink:0}.camp-dialog .game-dialog-body{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;padding-right:6px}.camp-dialog .game-dialog-actions:empty{display:none}.idle-path-hint{position:absolute;left:50%;bottom:calc(100% + 4px);transform:translate(-50%);display:flex;flex-direction:column;align-items:center;z-index:5;pointer-events:none;width:max-content;max-width:100%}.autobattle-slot .idle-path-hint{left:auto;right:0;transform:none;max-width:none}.autobattle-slot .idle-path-arrow{align-self:end;width:96px;text-align:center}.idle-path-hint[hidden]{display:none}.idle-path-copy{padding:10px 16px;border-radius:6px;background:var(--accent);color:var(--ink);box-shadow:0 4px 20px #000b;font-size:16px;font-weight:700;text-align:center}.idle-path-arrow{color:var(--accent);font-size:46px;font-weight:700;line-height:1;text-shadow:0 2px 6px #000,0 0 12px #edc18a88;animation:idle-path-blink 1.2s ease-in-out infinite}@keyframes idle-path-blink{0%,to{opacity:1}50%{opacity:.25}}@media(prefers-reduced-motion:reduce){.idle-path-arrow{animation:none}}.game[data-reduced=true] .idle-path-arrow{animation:none}.hero-status .hero-debuffs{position:absolute;top:calc(100% + 64px);left:0;z-index:4;display:flex;gap:4px;font-style:normal;pointer-events:auto}.hero-debuffs:empty{display:none}.hero-debuff{position:relative;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:8px;background:var(--surface);color:#a8e480;box-shadow:0 3px 12px #0006}.hero-debuff[data-debuff=armorBreak],.hero-debuff[data-debuff=stun]{color:#ffd081}.hero-debuff[data-debuff=voidThreat]{color:#eac998}.hero-debuff[data-debuff=iceShards],.hero-debuff[data-debuff=freeze]{color:#ade9ff}.hero-debuff[data-debuff=bleeding]{color:#ff7894}.hero-debuff[data-debuff=corruption]{color:#ef788e}.hero-debuff[data-debuff=weakness]{color:#d9b1ff}.hero-debuff[data-debuff=burn]{color:#ff8a3d}.hero-debuff[data-debuff=burn] svg{fill:#e64b2733}.hero-debuff svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.hero-debuff-tooltip{display:none;position:absolute;top:calc(100% + 6px);left:0;width:220px;padding:8px 10px;background:var(--surface);color:#e9e3d6;font:12px/1.6 var(--font-reading);text-align:left;box-shadow:0 4px 18px #0008}.hero-debuff:hover .hero-debuff-tooltip,.hero-debuff:focus-visible .hero-debuff-tooltip,.hero-debuff[aria-expanded=true] .hero-debuff-tooltip{display:block}@media(max-width:1000px),(max-height:510px)and (orientation:landscape){.hero-status .hero-debuffs{top:calc(100% + 60px)}}.game[data-first-entry]{max-width:none}.game[data-first-entry] .topbar,.game[data-first-entry] .camp-panel,.game[data-first-entry] .run-panel{display:none}.first-entry{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(8px,2vh,18px);padding:12px max(16px,var(--safe-area-right)) 12px max(16px,var(--safe-area-left));background:radial-gradient(ellipse at 50% 35%,#2a2336,#100f1c 78%);pointer-events:auto;text-align:center}.first-entry[hidden],.first-entry [hidden]{display:none}.first-entry h1{font-size:clamp(21px,5vh,42px);color:var(--accent);outline:none}.first-comic.game-dialog{--panel-cut: polygon(20% 0, 8% 43%, 14% 40%, 1% 100%, 100% 100%, 100% 0);position:relative;align-self:stretch;flex:1;margin:0;padding:0;overflow:hidden;isolation:isolate;text-align:start}.comic-panel,.first-comic:before{position:absolute;inset-block:0;overflow:hidden}.comic-panel-left{left:0;width:58%}.comic-panel-right,.first-comic:before{right:0;width:56%;clip-path:var(--panel-cut)}.first-comic:before{content:"";transform:translate(-8px);background:#b39178;z-index:1}.comic-panel-right{z-index:2}.comic-panel img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}.first-comic .game-dialog-frame{z-index:4}.first-comic figcaption{position:absolute;inset:auto 0 0;z-index:3;display:flex;align-items:end;justify-content:space-between;gap:clamp(20px,4vw,72px);padding:clamp(68px,17vh,180px) max(16px,4vw) clamp(18px,5vh,60px);background:linear-gradient(transparent,#100f1cdd 55%,#100f1c)}.comic-copy{max-width:65ch}.first-comic h1{margin:0 0 .18em;font-size:clamp(23px,5.4vh,64px);line-height:1.15}.comic-copy p{font:clamp(14px,2.3vh,24px)/1.6 var(--font-reading);text-wrap:pretty}.first-comic-actions{flex-shrink:0}.first-comic-actions,.first-hero-actions{display:flex;justify-content:center;gap:12px}.first-entry button{min-width:116px;clip-path:var(--ui-octagon)}.first-hero-selection{padding-top:clamp(12px,4vh,28px);justify-content:start;background:linear-gradient(#100f1ccd,transparent 28%,transparent 74%,#100f1ccf)}.first-hero-actions{position:absolute;bottom:6%;left:20%;right:20%;display:grid;grid-template-columns:repeat(2,1fr);justify-items:center;gap:0}.first-entry-status{position:absolute;bottom:2px;padding-inline:16px;font-size:12px}.first-entry-status:empty{display:none}.tutorial-callout{padding:8px 12px;color:var(--ink);background:var(--accent);box-shadow:0 4px 16px #0007;font:600 clamp(12px,2.5vh,15px)/1.35 var(--font-reading);text-align:center;clip-path:var(--ui-octagon)}.path-tutorial{position:absolute;left:50%;bottom:calc(100% + 6px);z-index:4;width:max-content;max-width:min(360px,86vw);transform:translate(-50%);pointer-events:none}.route-actions:has(.apply-tutorial){position:relative}.apply-tutorial{left:auto;right:0;transform:none}.route-actions [aria-describedby=rising-path-tutorial]{filter:drop-shadow(0 0 9px var(--accent))}.accessible-cell[data-guide]:after{content:"";position:absolute;inset:0;border-radius:inherit}.accessible-cell[data-guide]{position:relative;opacity:1}.accessible-cell[data-guide=inactive]:after{background:#0f101bbd}.accessible-cell[data-guide=active]:not([aria-pressed=true]):after{background:#edc18a38;box-shadow:inset 0 0 12px #edc18ae0}.card-offer .tutorial-callout{flex-shrink:0;margin:0 0 6px}.card-offer{width:min(1000px,calc(100vw - 24px));height:min(580px,calc(100dvh - 20px))}.card-offer .game-dialog-body{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;flex:1;grid-template-rows:minmax(0,1fr);outline:none}.offer-empty{grid-column:1 / -1;align-self:center;text-align:center}.offer-card{--offer-inner-cut: calc(var(--ui-cut) - 1px);position:relative;isolation:isolate;background:#b39178;padding:14px;clip-path:var(--ui-octagon);display:flex;flex-direction:column;gap:8px;text-align:center;min-height:0}.offer-card:before{content:"";position:absolute;inset:2px;z-index:-2;background:#242428 url(../assets/ui/card-parchment.webp) center / cover;clip-path:polygon(var(--offer-inner-cut) 0,calc(100% - var(--offer-inner-cut)) 0,100% var(--offer-inner-cut),100% calc(100% - var(--offer-inner-cut)),calc(100% - var(--offer-inner-cut)) 100%,var(--offer-inner-cut) 100%,0 calc(100% - var(--offer-inner-cut)),0 var(--offer-inner-cut))}.offer-artwork{position:absolute;inset:2px 2px auto;z-index:-1;aspect-ratio:16 / 9;pointer-events:none;clip-path:polygon(var(--offer-inner-cut) 0,calc(100% - var(--offer-inner-cut)) 0,100% var(--offer-inner-cut),100% 100%,0 100%,0 var(--offer-inner-cut))}.offer-art{display:block;width:100%;height:100%;object-fit:cover;-webkit-mask-image:linear-gradient(to bottom,#000 82%,transparent 100%);mask-image:linear-gradient(to bottom,#000 82%,transparent 100%)}.offer-card h3{margin:min(14vw,152px) 0 0;color:#ffe2b3;text-shadow:0 2px 5px #100b18}.offer-level{font:13px/1.4 var(--font-reading);color:#bacbdd}.offer-card p{color:#e5eef7;font:13px/1.6 var(--font-reading);flex:1;min-height:0;white-space:pre-line;margin:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#77566e #15101e}.offer-card .offer-buy{margin-top:auto;clip-path:var(--ui-octagon);display:flex;justify-content:center;align-items:center;gap:8px;min-height:44px;background:#9e2e48;color:#ffe5cf;font-size:20px}.offer-crystal{width:22px;height:30px;object-fit:contain}.offer-card h3,.offer-level,.offer-buy{flex-shrink:0}.card-offer .game-dialog-actions{justify-content:center}.card-offer .game-dialog-actions>button{flex:0 1 auto;width:auto;padding:10px 24px;clip-path:var(--ui-octagon)}@media(max-height:500px){.card-offer.game-dialog{padding-block:8px}.card-offer .tutorial-callout{padding-block:3px}.card-offer .game-dialog-heading{margin-bottom:4px}.card-offer .game-dialog-close{min-height:32px;height:32px}.card-offer .game-dialog-body{grid-template-rows:minmax(140px,1fr)}.offer-card{display:grid;padding:8px;gap:3px;grid-template-rows:minmax(0,3fr) auto minmax(32px,2fr) auto}.offer-artwork{position:relative;inset:auto;grid-area:1 / 1;margin:-6px -6px 0;min-height:0;aspect-ratio:auto}.offer-art{position:absolute;inset:0;object-position:center 38%;-webkit-mask-image:linear-gradient(to bottom,#000 65%,transparent);mask-image:linear-gradient(to bottom,#000 65%,transparent)}.offer-card h3{grid-area:1 / 1;align-self:end;margin:0;font-size:14px}.offer-level{font-size:11px}.offer-card p{font-size:11px;line-height:1.4;overscroll-behavior-y:contain}.offer-card .offer-buy{justify-self:center;min-width:46%;min-height:28px;padding:2px 12px;font-size:14px}.offer-crystal{width:14px;height:20px}.card-offer .game-dialog-actions{margin-top:6px}.card-offer .game-dialog-actions>button{min-height:30px;padding:3px 16px}}.run-defeat{width:min(620px,calc(100vw - 24px))}.defeat-summary{color:var(--accent);font:18px/1.6 var(--font-reading)}.defeat-loot{display:grid;gap:12px;margin:12px 0}.defeat-loot-item{display:flex;align-items:center;gap:14px;font-family:var(--font-reading)}.defeat-loot-item>:first-child{width:64px;height:64px;flex-shrink:0}.run-defeat .game-dialog-actions button{clip-path:var(--ui-octagon)}.run-defeat .game-dialog-actions{flex-wrap:wrap}.run-defeat .game-dialog-actions>button{flex-basis:calc(50% - 5px);min-width:0}.run-defeat .game-dialog-actions .primary{display:flex;align-items:center;justify-content:center;gap:10px}.run-defeat .game-dialog-actions .defeat-double{display:flex;align-items:center;justify-content:center;gap:10px;background:#d8b171;color:#382109;font-weight:700}.run-defeat .game-dialog-actions .defeat-dev-revive{display:flex;align-items:center;justify-content:center;gap:10px}.run-defeat .ad-badge{width:24px;height:24px}.run-defeat .defeat-error{color:#efac9d}.defeat-error:empty{display:none}.run-defeat .game-dialog-actions>button[hidden]{display:none}@media(max-height:510px)and (orientation:landscape){.run-defeat .defeat-summary{font-size:14px;margin:4px 0}.run-defeat .defeat-loot{margin:6px 0;gap:6px}.run-defeat .defeat-loot-item>:first-child{width:44px;height:44px}}.camp-notice{position:absolute;top:9px;right:11px;width:16px;height:16px;pointer-events:none;filter:drop-shadow(0 0 5px var(--accent))}.camp-notice:before{content:"";position:absolute;inset:0;background:var(--accent);clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}.camp-tab.camp-has-notice,.journal-entry.camp-has-notice,.camp-floor-heading.camp-has-notice,.camp-floor-route>.camp-has-notice{position:relative}.camp-slot>.camp-notice{width:13px;height:13px;top:8px;right:8px}.camp-item-tile>.camp-notice{top:9px;right:39px;width:13px;height:13px}.journal-entry.camp-has-notice{padding-right:40px}.camp-floor-heading.camp-has-notice{padding-right:30px}.camp-floor-route .camp-notice{width:10px;height:10px;top:3px;right:3px;padding:0;background:transparent;clip-path:none}.camp-notice-error{color:#ffced7;font:12px/1.6 var(--font-reading);margin-top:12px}@media(max-height:510px),(max-width:900px){.camp-tab>.camp-notice,.camp-navigation button>.camp-notice{width:12px;height:12px;top:7px;right:9px}.camp-slot>.camp-notice{width:10px;height:10px;top:7px;right:7px}}.achievements-dialog{width:min(900px,calc(100vw - 28px))}.achievement-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.achievement-intro h3{margin:0 0 6px;color:var(--accent);font-size:21px}.achievement-intro p{margin:0;color:#c4adc6;font:13px/1.6 var(--font-reading)}.achievement-count{flex-shrink:0;color:#edc18a;font-size:16px}.achievement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding-bottom:4px}.achievement-card{min-width:0;position:relative;display:flex;aspect-ratio:2 / 3;box-sizing:border-box;padding:3px;overflow:hidden;background:#8e7888;clip-path:var(--ui-octagon)}.achievement-face{--ui-cut: 9px;position:relative;flex:1;min-width:0;overflow:hidden;clip-path:var(--ui-octagon);background:#211b2b}.achievement-art{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 50% 30%,#403347,#191722)}.achievement-art:before{content:"";position:absolute;top:25%;width:44%;aspect-ratio:1;transform:rotate(45deg);background:#a38aaf0b;box-shadow:0 0 35px #a88aaf0d}.achievement-art img{position:relative;display:block;width:100%;height:100%;object-fit:contain}.achievement-seal{position:absolute;top:29%;color:#a58eab;font-size:clamp(32px,5vw,64px);text-shadow:0 3px 20px #0006}.achievement-number{position:absolute;top:10px;left:12px;color:#e1d0dc;font:11px var(--font-reading);text-shadow:0 1px 4px #000}.achievement-copy{position:absolute;inset:auto 0 0;box-sizing:border-box;height:88px;display:flex;flex-direction:column;gap:5px;padding:12px;background:#100f1cc7;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.achievement-copy h4{margin:0;color:#e8d8c7;font-size:19px;line-height:1.2;overflow-wrap:anywhere}.achievement-copy.camp-has-notice h4{padding-inline-end:20px}.achievement-copy>.camp-notice{top:12px;right:12px;width:14px;height:14px}.achievement-copy p{margin:0;color:#c4adc6;font:12px/1.4 var(--font-reading)}.achievement-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.achievement-card[data-earned=true]{background:linear-gradient(140deg,#f3d2a0,#b39178 45%,#e1b985)}.achievement-card[data-earned=true] .achievement-copy h4,.achievement-card[data-earned=true] .achievement-status{color:#edc18a}.achievement-card[data-earned=true] .achievement-seal{color:#edc18a;text-shadow:0 0 24px #edc18a44}@media(max-height:510px),(max-width:700px){.achievement-intro{gap:10px;margin-bottom:12px}.achievement-intro h3{font-size:17px}.achievement-intro p{font-size:11px}.achievement-count{font-size:12px}.achievement-grid{gap:10px}.achievement-copy{height:78px;padding:10px;gap:5px}.achievement-copy h4{font-size:15px}.achievement-copy p{font-size:11px}.achievement-copy>.camp-notice{top:8px;right:9px;width:12px;height:12px}.achievement-number{top:7px;left:9px;font-size:9px}}@media(max-height:510px)and (orientation:landscape){.achievements-dialog{width:min(calc(100vw - 28px),calc((100dvh - 180px)*2 + 48px))}.achievement-grid{max-width:min(100%,calc((100dvh - 180px)*2));margin-inline:auto}.achievement-copy{height:86px;gap:4px;padding:7px 8px}.achievement-copy h4{font-size:13px}.achievement-copy p{font-size:10px}}.camp-panel{position:absolute;inset:0;z-index:8;pointer-events:none;color:#f3e4d1}.camp-panel[hidden]{display:none}.camp-panel button,.camp-panel dialog{pointer-events:auto}.camp-panel h2,.camp-panel h3,.camp-panel p{margin:0}.camp-icon{width:26px;height:26px;object-fit:contain;flex-shrink:0}.camp-eyebrow{color:#c3a68e;font-size:12px;letter-spacing:.06em}.camp-workshop{position:absolute;top:6%;right:3%;bottom:16%;width:51%;display:flex;flex-direction:column;gap:18px;pointer-events:auto}.camp-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:5px;background:#100f1cde;clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px)}.camp-tab{min-height:52px;display:flex;align-items:center;justify-content:center;gap:10px;background:transparent;border-radius:0;color:#b9a4bd}.camp-tab[aria-pressed=true]{background:#543247;color:#ffe4bd;box-shadow:inset 0 -3px #bf956a}.camp-loadout{position:absolute;left:5%;width:35%;top:22%;bottom:27%;pointer-events:none}.camp-slot{position:absolute;width:72px;height:84px;padding:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#c3adc4;background:#17131ee6;border-radius:0;box-shadow:inset 0 0 0 2px #9e7b6e6b,0 5px 18px #0008;clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px)}.camp-slot-weapon{left:0;top:43%}.camp-slot-amulet{left:0;top:86%}.camp-slot-armor{right:0;top:18%}.camp-slot-gloves{right:0;top:65%}.camp-slot small{font-size:10px}.camp-slot:not(.is-equipped)>svg,.camp-slot:not(.is-equipped)>img{filter:grayscale(1);opacity:.4}.camp-slot.is-equipped:before{background:radial-gradient(ellipse at top,var(--item-rarity-surface),#393342 80%)}.camp-equipment-art{width:38px;height:48px;object-fit:contain;overflow:hidden;filter:drop-shadow(0 3px 4px #000b)}.camp-hero-stats{position:absolute;top:6%;left:8%;width:30%;display:flex;justify-content:center;gap:22px;text-shadow:0 2px 4px #000}.camp-hero-stats>span{display:flex;align-items:center;gap:6px;font-size:20px}.camp-training{display:flex;flex-direction:column;flex:1;min-height:0;gap:20px}.camp-attribute-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.camp-attribute-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:92px;padding:10px;color:#d2bbd1;background:#181320dd;border-radius:0;clip-path:polygon(14px 0,calc(100% - 14px) 0,100% 14px,100% calc(100% - 14px),calc(100% - 14px) 100%,14px 100%,0 calc(100% - 14px),0 14px)}.camp-attribute-choice .camp-icon{width:40px;height:40px}.camp-attribute-choice[aria-pressed=true]{color:#ffe4b9;background:radial-gradient(ellipse at top,#865560,#342030);box-shadow:inset 0 -3px #d7ab70}.camp-training-card{flex:1;min-height:0;display:grid;grid-template-columns:30% 1fr;grid-template-rows:1fr auto;align-items:center;gap:18px;padding:26px;background:linear-gradient(120deg,#302132ee,#100f1cf5);clip-path:polygon(18px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 18px)}.camp-training-emblem{display:grid;place-items:center;aspect-ratio:1;background:radial-gradient(ellipse,#b26c7040,transparent 70%)}.camp-training-emblem .camp-icon{width:85%;height:85%;filter:drop-shadow(0 8px 14px #0008)}.camp-training-copy{display:flex;flex-direction:column;gap:12px}.camp-training-copy h3{font-size:30px;color:#f1d4b3}.camp-training-copy p{font-size:14px;line-height:1.5;color:#c4adc6}.camp-training-gain{display:flex;align-items:center;gap:12px;font-size:24px}.camp-training-gain small{font-size:12px;color:#baa6bc}.camp-training-gain .gain{color:#bde5ad}.camp-purchase{grid-column:1 / -1;min-height:54px;display:flex;align-items:center;justify-content:center;gap:10px;color:#ffe5cb;border-radius:0;background:#9e2e48;clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 50%,calc(100% - 12px) 100%,12px 100%,0 50%)}.camp-purchase>span{margin-right:12px}.camp-collection-section{flex:1;min-height:0;padding:16px;display:flex;flex-direction:column;gap:14px;background:#100f1ce8;clip-path:polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px)}.camp-collection-heading{display:flex;align-items:center;justify-content:space-between;color:#e6c6a4}.camp-collection-heading h3{font-size:20px}.camp-collection-heading button{min-height:44px;font-size:12px;background:#302136}.camp-collection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-content:start;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#77566e #15101e;padding:3px}.camp-item-tile{position:relative;min-height:150px;padding:15px 8px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:radial-gradient(ellipse at top,var(--item-rarity-surface),#211b29);border-radius:0;box-shadow:inset 0 -3px var(--item-rarity-color)}.camp-item-tile .camp-equipment-art{width:52px;height:65px}.camp-item-tile>.camp-icon{width:48px;height:65px}.camp-item-tile strong{font-size:12px;line-height:1.3}.camp-item-tile small{font-size:10px}.item-equipped-mark{position:absolute;top:4px;left:5px;font-size:9px;color:#f0d299}.item-rank-mark{position:absolute;top:4px;right:5px;font-size:12px;color:#f0d299}.camp-empty{grid-column:1 / -1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:28px;text-align:center;color:#bba5c1;line-height:1.6;font-size:13px}.camp-empty .camp-icon{width:64px;height:64px;opacity:.5}.camp-empty strong{color:#e5c9ab;font-size:20px}.camp-empty small{color:#987e9e}.camp-navigation{position:absolute;bottom:3%;right:3%;width:51%;display:flex;gap:12px}.camp-navigation button{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;background:#100f1ce6;color:#e2c29e;border-radius:0}.camp-message:empty{display:none}.camp-message{position:absolute;bottom:0;color:#ffced7;padding:10px;font-size:12px;background:#100f1cf5}.item-inspect{display:grid;grid-template-columns:32% 1fr;gap:22px;align-items:center}.item-inspect-art{align-self:stretch;display:grid;place-items:center;padding:12px;background:radial-gradient(ellipse,var(--item-rarity-surface),#211b2b);clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px)}.item-inspect-art .camp-equipment-art{width:90px;height:148px}.item-inspect-art .camp-icon{width:90px;height:120px}.item-inspect-copy{display:flex;flex-direction:column;gap:14px}.item-description{color:#c5b2ca;font-size:14px;line-height:1.55}.item-bonus{font-size:24px;color:#f5d6ad}.item-comparison{font-size:13px;color:#adc99b}.item-ranks{display:flex;gap:7px}.item-ranks span{width:13px;height:13px;background:#4a3d51;transform:rotate(45deg)}.item-ranks .filled{background:#d8ad73;box-shadow:0 0 8px #e7b57c60}.item-upgrade{display:flex;justify-content:center;align-items:center;gap:10px;width:100%;min-height:48px;margin-top:16px;border-radius:0;background:#39263f}.item-upgrade .camp-icon{width:20px}.salvage-preview{display:flex;gap:20px;align-items:center;padding:16px;background:#211b2b;margin-bottom:16px}.salvage-preview .camp-equipment-art{height:80px;width:70px}.salvage-reward{display:block;text-align:center;color:#e4bf88;font-size:24px;margin-top:16px}.camp-confirm p{color:#c9b3c8;line-height:1.5}.camp-tower{display:grid;grid-template-columns:1fr 1fr;gap:10px}.camp-floor{display:grid;grid-template-columns:30px 1fr;gap:5px 10px;align-items:center;padding:12px;background:#211b2b}.camp-floor b{grid-row:span 2;color:#b095c0;font-size:25px}.camp-floor strong{font-size:13px}.camp-floor small{font-size:11px;color:#a18aa9}.camp-floor.completed b{color:#e8c588}.journal-entry{display:flex;align-items:center;gap:18px;padding:18px;margin-bottom:8px;background:#211b2b}.in-camp .path-panel{display:none}.in-camp .combat-status{visibility:hidden}.in-camp .run-panel{top:auto;bottom:3%;left:7%;width:32%;padding:0;background:transparent;box-shadow:none}.in-camp .run-actions button{width:100%;min-height:56px;font-size:20px;white-space:nowrap;background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20320%2064'%20preserveAspectRatio='none'%3e%3cdefs%3e%3clinearGradient%20id='red'%20x2='0'%20y2='1'%3e%3cstop%20stop-color='%238f1f39'/%3e%3cstop%20offset='.6'%20stop-color='%23cf284b'/%3e%3cstop%20offset='1'%20stop-color='%23ef3d5e'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath%20d='m23%203%20274%200%2021%2029-21%2029H23L2%2032Z'%20fill='url(%23red)'%20stroke='%23ff8ca1'%20stroke-width='3'/%3e%3cpath%20d='m25%207%20270%200%2018%2025-18%2025H25L7%2032Z'%20fill='none'%20stroke='%23ffb5b3'%20stroke-opacity='.35'/%3e%3cpath%20d='m17%2032%205-5%205%205-5%205ZM293%2032l5-5%205%205-5%205Z'%20fill='%23ff8497'/%3e%3c/svg%3e") center / 100% 100% no-repeat;border-radius:0;text-shadow:0 2px #541d2a}.in-camp .run-actions button:before{content:"";display:inline-block;width:25px;height:25px;vertical-align:middle;margin-right:8px;background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20fill='none'%20stroke='%23fff0d6'%20stroke-linejoin='round'%3e%3cpath%20d='m9%205%2011%206%2030%2033-6%206-33-30Z'%20fill='%23fff0d6'/%3e%3cpath%20d='m55%205-11%206-30%2033%206%206%2033-30Z'%20fill='%23fff0d6'/%3e%3cpath%20d='m34%2048%2015-15M16%2032l16%2016M44%2048l10%2010M20%2048%2010%2058'%20stroke-width='5'/%3e%3cpath%20d='m45%2059%2011-11M8%2048l11%2011'%20stroke-width='4'/%3e%3cpath%20d='m15%2012%2026%2029M49%2012%2023%2039'%20stroke='%23c44755'%20stroke-width='2'/%3e%3c/svg%3e") center / contain no-repeat}.in-camp .run-timer{color:#e7cda9;text-align:center;padding:6px;font-size:12px}@media(max-height:510px),(max-width:900px){.camp-workshop{top:1%;right:2%;bottom:max(18%,calc(3% + 46px));width:53%;gap:4px}.camp-tabs{gap:4px;padding:3px}.camp-tab{min-height:44px;font-size:12px;gap:6px;padding:4px}.camp-tab .camp-icon{width:20px;height:20px}.camp-hero-stats{top:4%;left:5%;width:34%;gap:16px}.camp-hero-stats>span{font-size:14px}.camp-hero-stats .camp-icon{width:20px;height:20px}.camp-loadout{top:20%;bottom:32%;left:4%;width:35%}.camp-slot{width:48px;height:55px;padding:4px;gap:1px}.camp-slot small{font-size:8px}.camp-slot .camp-equipment-art{width:25px;height:32px}.camp-slot .camp-icon{width:26px;height:32px}.camp-training{gap:8px}.camp-attribute-choices{gap:7px}.camp-attribute-choice{flex-direction:row;gap:5px;min-height:44px;padding:5px;font-size:11px}.camp-attribute-choice .camp-icon{width:26px;height:26px}.camp-training-card{padding:10px 14px;gap:6px 12px;grid-template-columns:23% 1fr}.camp-training-emblem .camp-icon{width:60px;height:60px}.camp-training-copy{gap:3px}.camp-training-copy h3{font-size:20px}.camp-training-copy p{font-size:11px;line-height:1.35}.camp-training-copy .camp-eyebrow{font-size:9px}.camp-training-gain{font-size:18px;gap:7px}.camp-training-gain small{font-size:10px}.camp-purchase{min-height:44px;font-size:13px}.camp-purchase .camp-icon{width:20px;height:20px}.camp-navigation{bottom:3%;right:2%;width:53%;gap:8px}.camp-navigation button{min-height:44px;font-size:11px;padding:5px}.camp-navigation .camp-icon{width:20px;height:20px}.in-camp .run-panel{left:4%;width:35%;bottom:3%}.in-camp .run-actions button{min-height:48px;font-size:14px}.in-camp .run-actions button:before{width:20px;height:20px;margin-right:3px}.camp-collection-section{padding:8px 10px;gap:8px}.camp-collection-heading h3{font-size:15px}.camp-collection-heading button{padding:4px 8px;min-height:44px;font-size:10px}.camp-collection{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.camp-item-tile{min-height:102px;padding:12px 4px 6px;gap:4px}.camp-item-tile .camp-equipment-art{width:30px;height:40px}.camp-item-tile>.camp-icon{width:30px;height:40px}.camp-item-tile strong{font-size:10px}.camp-item-tile small{font-size:8px}.camp-empty{padding:12px;gap:8px;font-size:11px}.camp-empty .camp-icon{width:36px;height:36px}.camp-empty strong{font-size:15px}.camp-empty small{font-size:9px}.item-inspect{grid-template-columns:24% 1fr;gap:14px}.item-inspect-art .camp-equipment-art{width:65px;height:100px}.item-inspect-art .camp-icon{width:60px;height:80px}.item-inspect-copy{gap:6px}.item-description{font-size:12px;line-height:1.35}.item-rarity{font-size:11px}.item-bonus{font-size:20px}.item-comparison{font-size:11px}.item-ranks{gap:6px}.item-ranks span{width:9px;height:9px}.item-upgrade{margin-top:10px;min-height:44px;font-size:12px}.camp-tower{gap:6px}.camp-floor{padding:8px}.camp-floor strong{font-size:11px}}.camp-tabs,.camp-training-card,.camp-collection-section,.camp-navigation button,.camp-slot,.camp-hero-stats{--cut: 12px;position:relative;isolation:isolate;background:#b39178;clip-path:polygon(var(--cut) 0,calc(100% - var(--cut)) 0,100% var(--cut),100% calc(100% - var(--cut)),calc(100% - var(--cut)) 100%,var(--cut) 100%,0 calc(100% - var(--cut)),0 var(--cut))}.camp-tabs:before,.camp-training-card:before,.camp-collection-section:before,.camp-navigation button:before,.camp-slot:before,.camp-hero-stats:before{content:"";position:absolute;inset:3px;z-index:-1;background:#100f1c;clip-path:polygon(10px 0,calc(100% - 10px) 0,100% 10px,100% calc(100% - 10px),calc(100% - 10px) 100%,10px 100%,0 calc(100% - 10px),0 10px)}.camp-tabs{flex-shrink:0;padding:7px}.camp-tab{clip-path:var(--ui-octagon)}.camp-training{width:100%;flex:0 1 auto;overflow:auto;gap:10px;scrollbar-width:thin;scrollbar-color:#77566e #15101e}.camp-training-card{flex:0 0 auto;grid-template-columns:38px minmax(0,1fr) 145px;grid-template-rows:auto;padding:14px;gap:12px}.camp-training-emblem .camp-icon{width:34px;height:34px}.camp-training-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px}.camp-training-copy h3{font-size:18px;grid-column:1;grid-row:1}.camp-training-copy p{display:block;grid-column:1 / -1;grid-row:3;font:12px/1.6 var(--font-reading);color:#c4adc6}.camp-training-copy .camp-eyebrow{font-size:10px;grid-column:1;grid-row:2}.camp-level-compact{display:none}.camp-training-gain{font-size:16px;gap:6px;grid-column:2;grid-row:1 / 3;align-self:center}.camp-training-gain small{display:none}.camp-purchase{grid-column:auto;min-height:48px;padding:6px 10px;flex-wrap:wrap;gap:4px;font-size:13px}.camp-purchase>span{width:100%;margin:0}.camp-purchase .camp-icon{width:16px;height:18px}.camp-loadout{top:24%;bottom:21%}.camp-slot{position:absolute;width:84px;height:90px;box-sizing:border-box;padding:10px 8px 8px;overflow:hidden}.camp-slot .camp-equipment-art{width:50px;height:58px}.camp-slot .camp-equipment-art,.camp-slot>.camp-icon{max-width:calc(100% - 8px);max-height:calc(100% - 20px);flex-shrink:1}.camp-slot small{flex-shrink:0;max-width:100%;font-size:9px}.camp-slot.is-equipped{background:var(--item-rarity-color)}.camp-slot:not(.is-equipped){background:#62616b;color:#83818c;box-shadow:none}.camp-slot:not(.is-equipped):before{background:#100f1ce8}.camp-slot-helmet{left:0;top:0}.camp-slot-armor{right:0;top:0}.camp-slot-weapon{left:0;top:37%}.camp-slot-gloves{right:0;top:37%}.camp-slot-amulet{left:0;top:100%;transform:translateY(-100%)}.camp-hero-stats{position:absolute;left:22.5%;top:2%;bottom:auto;height:54px;width:max-content;max-width:32%;transform:translate(-50%);padding:5px 18px;gap:14px;align-items:center}.camp-hero-stats>span{display:grid;grid-template-columns:20px auto;gap:0 5px;font-size:16px}.camp-hero-stats .camp-icon{width:20px;height:20px}.camp-hero-stats small{grid-column:1 / -1;text-align:center;font-size:9px;color:#edc18a}.camp-item-tile{clip-path:var(--ui-octagon);padding-top:30px}.camp-item-tile[data-equipped=true]:after{content:"";position:absolute;inset:0;pointer-events:none;background:#f3e4d1;clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 12px,100% calc(100% - 12px),calc(100% - 12px) 100%,12px 100%,0 calc(100% - 12px),0 12px,12px 0,13px 3px,3px 13px,3px calc(100% - 13px),13px calc(100% - 3px),calc(100% - 13px) calc(100% - 3px),calc(100% - 3px) calc(100% - 13px),calc(100% - 3px) 13px,calc(100% - 13px) 3px,13px 3px)}.item-equipped-mark{top:7px;left:10px;padding:0;background:none;color:#ffe2ae;font-size:11px;font-weight:700;text-shadow:0 1px 3px #402236}.item-equipped-mark:before{content:"◆ ";color:#f3e4d1}.item-rank-mark{top:5px;right:8px;padding:2px 7px;background:#79543e;color:#fff1cb;font-size:12px;font-weight:700;--ui-cut: 4px;clip-path:var(--ui-octagon)}.camp-map-intro{padding-bottom:14px;line-height:1.5}.journal-entry small{display:block;color:#edc18a;margin:5px 0}.journal-entry p{font-size:13px;line-height:1.5}.camp-floor-preview{padding:16px;margin-bottom:16px;background:linear-gradient(120deg,#342b3d,#161722)}.camp-floor-preview{position:relative;isolation:isolate}.camp-floor-landscape{display:block;width:calc(100% + 32px);height:150px;margin:-16px -16px -24px;pointer-events:none;object-position:center 35%;object-fit:cover;-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000e 15%,#0009 35%,#0004 60%,transparent 85%);mask-image:linear-gradient(to bottom,#000 0%,#000e 15%,#0009 35%,#0004 60%,transparent 85%)}.camp-floor-preview:not([open]) .camp-floor-landscape{display:none}.camp-floor-preview h4{margin:12px 0 4px;color:#edc18a}.camp-floor-preview p{font-size:13px;line-height:1.5}.camp-floor-route{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px;margin-top:16px}.camp-floor-route span{--ui-cut: 6px;padding:8px 0;text-align:center;background:#4b4055;clip-path:var(--ui-octagon)}.camp-floor-route .completed{background:#746044;color:#fff0c9}.camp-floor-route .boss.completed{background:#82374b}.camp-floor-route .current{background:#b39178;color:#100f1c;box-shadow:inset 0 0 0 2px #ffe2ae}.camp-floor-heading{display:block;cursor:pointer;color:#edc18a;list-style:none}.camp-floor-heading::-webkit-details-marker{display:none}.camp-floor-heading-copy{position:relative;padding-right:24px}.camp-floor-heading-copy:after{content:"";position:absolute;right:0;top:8px;width:10px;height:6px;background:currentColor;clip-path:polygon(0 0,100% 0,50% 100%)}.camp-floor-preview[open] .camp-floor-heading-copy:after{transform:rotate(180deg)}.camp-floor-heading span{display:block;margin-top:4px;font-size:12px}.camp-floor-preview[open]>.camp-floor-heading{margin-bottom:12px}.item-inspect-art,.salvage-preview,.camp-floor-preview,.camp-floor,.journal-entry{clip-path:var(--ui-octagon);border-radius:0}.camp-panel button:not(.camp-slot):not(.camp-tab):not(.camp-item-tile),.camp-dialog .game-dialog-actions>button{border-radius:0;clip-path:var(--ui-octagon)}.camp-panel button:focus-visible{outline-offset:-4px}@media(max-height:510px),(max-width:900px){.camp-tabs{padding:3px}.camp-training{display:flex;flex-direction:column;gap:4px}.camp-training-card{grid-template-columns:18px minmax(0,1fr) 48px;grid-template-rows:auto;padding:4px 6px;gap:4px}.camp-training-emblem{position:static;width:18px;height:18px;background:none}.camp-training-emblem .camp-icon{width:18px;height:18px}.camp-training-copy{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:1px 4px;padding-right:0}.camp-training-copy h3{font-size:12px;grid-row:1;grid-column:1 / 3;padding:0}.camp-training-copy .camp-eyebrow{font-size:8px;grid-row:2;grid-column:1;align-self:center}.camp-training-copy .camp-level-full{display:none}.camp-training-copy .camp-level-compact{display:block}.camp-training-copy p{grid-column:2 / -1;grid-row:2;font-size:10px;line-height:1.3}.camp-training-gain{font-size:11px;gap:3px;grid-column:3;grid-row:1;align-self:center}.camp-purchase{grid-column:auto;font-size:10px;min-height:32px;height:32px;padding:0 3px;flex-wrap:nowrap;gap:3px}.camp-purchase[data-limited=false]>.camp-purchase-label{display:none}.camp-purchase>span{width:auto;margin:0}.camp-purchase .camp-icon{width:14px;height:16px}.camp-hero-stats{left:21.5%;width:max-content;max-width:40%;height:40px;padding-inline:12px;gap:7px;top:1%}.camp-hero-stats>span{font-size:12px;grid-template-columns:15px auto}.camp-hero-stats .camp-icon{width:15px;height:15px}.camp-hero-stats small{font-size:8px}.camp-loadout{top:21%;bottom:22%}.camp-slot{width:52px;height:55px;padding:8px 5px 6px}.camp-slot .camp-equipment-art{width:30px;height:33px}.camp-slot .camp-equipment-art,.camp-slot>.camp-icon{max-width:calc(100% - 6px);max-height:calc(100% - 14px)}.camp-slot small{font-size:7px}.camp-item-tile{padding-top:30px}.item-equipped-mark{font-size:9px}.item-rank-mark{font-size:10px}}.camp-floor strong,.journal-entry>div{min-width:0;overflow-wrap:anywhere}@media(max-height:510px),(max-width:700px){.camp-floor-preview{padding:12px;margin-bottom:10px}.camp-floor-landscape{width:calc(100% + 24px);height:110px;margin:-12px -12px -18px}.camp-floor-heading{font-size:14px}.camp-floor-preview h4{font-size:13px;margin-top:9px}.camp-floor-preview p,.journal-entry p{font-size:12px}.camp-floor-route{grid-template-columns:repeat(10,minmax(0,1fr));gap:3px}.camp-floor-route span{font-size:12px;padding-block:6px}.journal-entry{gap:10px;padding:12px;align-items:flex-start}.journal-entry strong{font-size:14px}.journal-entry small{font-size:11px}}@media(max-width:580px){.camp-tower{grid-template-columns:1fr}.camp-floor-route{grid-template-columns:repeat(5,minmax(0,1fr))}}.bestiary-portrait{width:72px;height:72px;flex-shrink:0;display:grid;place-items:center;background:#342b3d;color:#bba5c1;font-size:32px;border-radius:0;clip-path:var(--ui-octagon)}.bestiary-portrait svg{width:46px;height:58px}@media(max-height:510px),(max-width:900px){.camp-training-copy{padding-right:0}.bestiary-portrait{width:54px;height:54px}.bestiary-portrait svg{width:34px;height:42px}}.journal-entry>div>strong{display:block;margin-bottom:6px}@media(max-height:510px),(max-width:900px){.in-camp .run-timer{margin:0;padding:2px 0;font-size:8.5px;line-height:1.2}.in-camp:has(.run-timer:not(:empty)) .camp-loadout{bottom:max(22%,calc(3% + 86px))}.in-camp:has(.run-timer:not(:empty)) .camp-slot{height:min(55px,calc((100% - 8px) / 3));min-height:0;padding:3px 5px;gap:1px}.in-camp:has(.run-timer:not(:empty)) .camp-slot-weapon,.in-camp:has(.run-timer:not(:empty)) .camp-slot-gloves{top:50%;transform:translateY(-50%)}}.gate-portrait{width:96px;height:96px;flex:0 0 96px;overflow:hidden;background-color:#342b3d;clip-path:var(--ui-octagon)}.heart-ending-scene{position:relative;display:grid;align-content:end;isolation:isolate;min-height:clamp(88px,23dvh,190px);padding:var(--boss-story-padding);margin-bottom:12px;overflow:hidden;clip-path:var(--boss-panel-shape);background:#24242d}.heart-ending-scene[hidden]{display:none}.heart-ending-scene img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center 34%}.heart-ending-scene:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(#14121e80,#14121eea)}.boss-choice[open] .heart-ending-scene img{animation:heart-ending-reveal 1.4s ease-out both}.heart-ending-scene p{margin-block:0;color:#fff3dd;text-shadow:0 2px 4px #14121e}.heart-ending-map{margin-top:12px}.heart-ending-map>summary{color:var(--accent);cursor:pointer;padding:8px}.heart-ending-map .camp-tower-preview{margin-top:8px}.heart-ending-map .camp-tower:empty{display:none}.floor-label-meta{display:flex;align-items:baseline;gap:8px;max-width:100%;white-space:nowrap}.floor-label .heart-stage-status{overflow:hidden;text-overflow:ellipsis;color:var(--accent);font-size:clamp(10px,1.35vw,14px)}@keyframes heart-ending-reveal{0%{transform:scale(1.11);filter:brightness(.65)}to{transform:scale(1);filter:brightness(1)}}[data-reduced=true] .boss-choice[open] .heart-ending-scene img{animation:none}@media(prefers-reduced-motion:reduce){.boss-choice[open] .heart-ending-scene img{animation:none}}.boss-choice{--boss-panel-shape: polygon(10px 0, 100% 0, 100% calc(100% - 10px) , calc(100% - 10px) 100%, 0 100%, 0 10px);--boss-story-padding: 14px 22px;width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 24px);overflow-y:auto}.boss-choice-heading{text-align:center;margin-bottom:20px}.boss-choice-heading .eyebrow{color:var(--accent)}.boss-choice-heading h2{margin:6px 0;font-size:28px}.boss-choice-heading p{max-inline-size:60ch;margin-inline:auto;white-space:pre-line;text-align:start;font-size:14px;line-height:1.6}.boss-choice-heading>p{margin-block:10px 0;padding:var(--boss-story-padding);background:color-mix(in srgb,var(--accent) 7%,transparent);clip-path:var(--boss-panel-shape)}.boss-choice-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.boss-choice-half{display:flex;flex-direction:column;gap:12px;padding:20px;border-radius:0;text-align:center;align-items:center}.boss-choice-onwards{background:#251b2b}.boss-choice-camp{background:#211e29}.boss-choice-icon{width:52px;height:52px;object-fit:contain;filter:drop-shadow(0 4px 12px #0006)}.boss-choice-half h3{margin:0;font-size:21px}.boss-choice-half p{font-size:14px;line-height:1.5}.boss-choice-half small{color:#cdbdd0;font-size:11px;line-height:1.4}.boss-choice-half button{width:100%}.boss-choice-onwards .primary{margin-top:auto;background:#9e2e48;border-radius:0;clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 50%,calc(100% - 12px) 100%,12px 100%,0 50%);box-shadow:0 0 18px #ff466e44}.boss-choice-savings{color:var(--accent);font-size:14px}.boss-choice-double{display:flex;justify-content:center;align-items:center;gap:8px;background:#d8b171;color:#382109;font-weight:700}.boss-choice-double img{width:20px;height:18px}.boss-choice>[hidden]{display:none}.boss-choice-error{color:#ffb7c5;text-align:center;font-size:13px;margin-top:12px}.boss-choice-error:empty{display:none}@media(max-height:510px)and (orientation:landscape){.boss-choice-heading{margin-bottom:10px}.boss-choice-heading h2{font-size:21px}.boss-choice-half{padding:12px;gap:6px}.boss-choice-icon{width:30px;height:30px}.boss-choice-half h3{font-size:17px}.boss-choice-half p{font-size:12px}.boss-choice-half button{padding:5px 8px;font-size:12px}}@media(max-width:480px)and (orientation:portrait){.boss-choice-columns{grid-template-columns:1fr}}.boss-choice-half{clip-path:var(--boss-panel-shape)}.boss-choice-heading h2{color:var(--accent)}.boss-choice-half h3{color:#f2d9b8}.boss-choice-double{border-radius:0}.boss-loot{display:flex;flex-wrap:wrap;gap:8px 16px;justify-content:center;margin-bottom:12px}.boss-loot-item{display:flex;align-items:center;gap:8px;font-size:13px}.boss-loot-item>:first-child{width:48px;height:48px;flex-shrink:0;object-fit:contain}.boss-loot-heading{margin:0 0 12px;text-align:center;color:var(--accent)}.run-panel{position:absolute;top:8px;left:12px;max-width:calc(100% - 24px);z-index:4;pointer-events:auto;padding:8px 12px;border-radius:8px;background:var(--surface);box-shadow:0 4px 16px #0006;font-size:12px}.run-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.run-actions:empty{display:none}.run-actions button{padding:6px 10px;font-size:12px}.run-message:empty{display:none}.run-message{margin-top:6px}.autobattle-button{position:absolute;z-index:2;display:flex;align-items:center;justify-content:center;gap:6px;width:96px;min-height:44px;padding:5px 7px;pointer-events:auto;background:linear-gradient(135deg,#ffe6a0,#d8a84b 65%,#b77f2e);color:#382109;font-size:12px;font-weight:700;box-shadow:0 3px 12px #d8a84b44}.autobattle-button[hidden]{display:none}.autobattle-copy{display:flex;flex-direction:column;align-items:center;line-height:1.2;gap:2px}.autobattle-time{font-size:10px;font-weight:500}.autobattle-button .ad-badge{width:20px;height:18px;flex-shrink:0}.autobattle-button .ad-badge[hidden]{display:none}.path-panel:has(.autobattle-button) .summary{grid-template-rows:48px repeat(3,20px);height:108px;min-height:108px}.path-panel:has(.autobattle-button) .hit-count{padding-right:100px;font-size:20px}@media(max-width:1000px),(max-height:510px)and (orientation:landscape){.path-panel:has(.autobattle-button) .summary{grid-template-columns:repeat(3,auto);grid-template-rows:44px repeat(2,12px);height:68px;min-height:68px}.path-panel:has(.autobattle-button) .summary>span{line-height:10px;font-size:8px}.path-panel:has(.autobattle-button) .hit-count{font-size:16px}}.crystal-flights{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:10;overflow:visible}.crystal-flight{fill:#dca7ff;stroke:#fff1ff;stroke-width:1;filter:drop-shadow(0 0 4px #bc65ff)}.run-timer:empty{display:none}.run-panel:has(.run-timer:empty):has(.run-actions:empty):has(.run-message:empty){display:none}.autobattle-slot{position:absolute;top:10px;right:14px;width:96px;z-index:2}.autobattle-slot .autobattle-button{position:relative;width:100%}.hero-status{position:relative}.hero-status .speed-button{top:calc(100% + 12px);left:0;width:112px}.hero-status .speed-button:disabled{opacity:.8}@media(max-width:1000px),(max-height:510px)and (orientation:landscape){.autobattle-slot{top:5px}.hero-status .speed-button{top:calc(100% + 8px)}}.speed-button .autobattle-copy{white-space:nowrap}@media(max-width:620px)and (orientation:landscape){.path-panel:has(.autobattle-button) .summary{grid-template-columns:repeat(2,auto);grid-template-rows:44px repeat(3,12px);height:80px;min-height:80px}}.game:not(.in-camp):has(.speed-button) .world .run-panel{left:calc(max(20px,var(--safe-area-left)) + 128px);right:auto;width:fit-content;max-width:min(360px,calc(100% - 172px))}.run-timer{font-family:var(--font-reading);font-style:normal;line-height:1.6}@media(max-width:1000px),(max-height:510px)and (orientation:landscape){.game:not(.in-camp) .world .run-panel{padding:5px 9px;font-size:11px}.world .run-timer{line-height:1.45}}:root{--ui-cut: 10px;--ui-octagon: polygon(var(--ui-cut) 0, calc(100% - var(--ui-cut)) 0, 100% var(--ui-cut), 100% calc(100% - var(--ui-cut)), calc(100% - var(--ui-cut)) 100%, var(--ui-cut) 100%, 0 calc(100% - var(--ui-cut)), 0 var(--ui-cut));font-family:Literata,Georgia,serif;font-style:italic;font-size:16px;color:#e9e3d6;background:#0b1018;--font-reading: "Lora", Georgia, serif;--surface: #141e29;--raised: #21303e;--muted: #a0afb9;--accent: #edc18a;--focus: #ffe2ae;--ink: #111821;color-scheme:dark;font-synthesis:none}[data-rarity=common]{--item-rarity-color: #a8da93;--item-rarity-surface: #3c543a}[data-rarity=rare]{--item-rarity-color: #8fd7f7;--item-rarity-surface: #354e65}[data-rarity=epic]{--item-rarity-color: #d3a8f9;--item-rarity-surface: #573f68}[data-rarity=legendary]{--item-rarity-color: #ffda71;--item-rarity-surface: #634e2a}.item-rarity{color:var(--item-rarity-color)}.trophy-copy{display:grid;gap:3px}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0;overflow:hidden}button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:6px;min-height:44px;padding:10px 16px;color:inherit;background:var(--raised)}button:disabled{cursor:default;opacity:.4}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--focus);outline-offset:3px}button:hover:not(:disabled){filter:brightness(1.16)}h1,h2,p{margin:0}.game{--safe-area-right: max(env(safe-area-inset-right, 0px), var(--platform-inset-right, 0px));--safe-area-left: max(env(safe-area-inset-left, 0px), var(--platform-inset-left, 0px));padding-block:var(--platform-inset-top, 0px) var(--platform-inset-bottom, 0px);width:100%;overflow:clip;position:relative;display:flex;flex-direction:column;height:100dvh;min-height:320px;max-width:1920px;margin:0 auto}.topbar{flex-shrink:0;min-height:64px;display:grid;grid-template-columns:minmax(230px,330px) minmax(160px,1fr) auto auto;align-items:center;gap:18px;padding:2px max(20px,var(--safe-area-right)) 4px max(20px,var(--safe-area-left));background:linear-gradient(100deg,#191725,#0e101c);z-index:3;border-bottom:1px solid #c5a49455;box-shadow:0 3px 12px #0004;font-style:italic}.hero-status{display:flex;align-items:center;gap:14px;min-width:0}.hero-avatar{width:58px;height:58px;flex-shrink:0;object-fit:contain;background:radial-gradient(ellipse at bottom,#633345,#292133 70%);clip-path:var(--ui-octagon)}.hero-status-copy{width:min(100%,310px);min-width:0}.health-display{padding-top:0}.health-display>span{display:block;font-size:23px;line-height:1.1;font-weight:600;white-space:nowrap}.health-display small{font-size:.64em;font-weight:500;color:#e5bbc4}.crystals{display:flex;align-items:center;gap:8px;white-space:nowrap}.crystals img{width:32px;height:42px;filter:drop-shadow(0 0 6px #b544ff99)}.crystals strong{font-size:28px;font-weight:600}.floor-label{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0;min-width:0;text-align:left;padding-left:18px;border-left:1px solid #c5a49455}.floor-label span{color:#ddd2e3;font-size:17px}.floor-label strong{font-size:21px;font-weight:600;color:var(--accent)}.top-actions{display:flex;gap:8px;margin-left:24px}.quiet-button{background:#24303c;color:#ccd4d8;font-size:14px;font-weight:500}.top-actions button{padding-inline:12px;background:transparent;box-shadow:none}.top-actions .icon-button{width:44px;height:44px;min-height:44px;padding:8px}.icon-button img{width:28px;height:28px;display:block}.play-area{width:100%;flex:1;min-height:0;display:flex;flex-direction:column;position:relative}.canvas-host{position:absolute;inset:0}.canvas-host canvas{display:block;touch-action:none}.world{flex:1;min-height:90px;position:relative;pointer-events:none;z-index:2}.health-bar{height:16px;background:linear-gradient(90deg,#c42b4c,#ff4e71);margin-top:5px;clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%)}.world-caption{position:absolute;right:6%;bottom:16px;max-width:300px;text-align:right;text-shadow:0 2px 12px #000}.world-caption .eyebrow{color:#e6ccb0}.world-caption p{margin-top:12px;font-size:22px;line-height:1.35;color:#eee7da}.hero-choice{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;pointer-events:auto}.hero-choice button[aria-pressed=true]{background:#766046;color:#ffebcb}.eyebrow{font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:var(--muted)}.path-panel{flex-shrink:0;position:relative;pointer-events:none;padding:8px 24px 6px;z-index:1}.health-display,.crystals,.floor-label span,.summary{font-variant-numeric:lining-nums tabular-nums}.path-heading{display:flex;gap:24px;align-items:center;justify-content:space-between;max-width:945px;margin:0 auto 4px}.path-heading h1{font-size:22px;color:#f0d4ac;font-weight:600}.path-heading .eyebrow{display:none}.path-heading p{max-width:300px;font-size:12px;color:var(--muted);line-height:1.5}.path-layout{display:grid;grid-template-columns:118px minmax(322px,434px) 205px;gap:20px;justify-content:center;align-items:stretch}.legend{display:flex;flex-direction:column;justify-content:center;gap:9px}.legend-item{display:flex;gap:9px;align-items:center;font-size:13px;color:#bcc9d0}.rune-icon{width:26px;height:26px;object-fit:contain}.board-column{min-width:0}.column-labels{height:14px;display:grid;grid-template-columns:repeat(7,1fr);text-align:center;font-size:10px;color:#82959f}.board-host{height:162px;position:relative}.accessible-grid{position:absolute;inset:0;display:grid;grid-template-columns:repeat(7,1fr);grid-template-rows:repeat(3,1fr);pointer-events:none}.accessible-cell{background:transparent;opacity:1;padding:0;margin:3px;pointer-events:none;border-radius:7px}.accessible-cell:focus-visible{outline-offset:-2px;outline-width:3px}.combination{display:flex;flex-direction:column;padding:0}.summary{display:flex;align-content:flex-start;flex-wrap:wrap;gap:2px 12px;font-size:11px;color:#bdcbd0;height:48px;flex-shrink:0;overflow-y:auto;pointer-events:auto;margin-top:4px}.hit-count{display:block;width:100%;color:var(--accent);font-size:24px;line-height:1.1;font-weight:500}.route-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto}.primary{color:#fff0e6;background:linear-gradient(110deg,#a42b45,#dd4563);font-weight:700;box-shadow:0 5px 24px #b376301c}.route-actions .primary{width:100%;min-height:44px;font-size:15px}.route-actions .quiet-button{flex:1}.compact-label{display:none}.path-panel button,.path-panel input{pointer-events:auto}.path-panel .accessible-cell{pointer-events:none}.path-footer{display:flex;justify-content:space-between;gap:14px;max-width:945px;margin:4px auto 0;color:var(--muted);font-size:10px;min-height:14px}.path-footer small{font-size:10px;color:#7a8d99}.settings-dialog{width:min(90vw,420px);background:#15212d;color:inherit;border:0;border-radius:12px;padding:28px;box-shadow:0 24px 90px #0009}.settings-dialog::backdrop{background:#060d16c9}.settings-dialog h2{font-size:25px;margin-bottom:24px;font-weight:600}.setting{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:24px 0;font-size:13px}.setting input{accent-color:var(--accent);min-height:44px;width:140px}.setting input[type=checkbox]{width:24px;flex-shrink:0}.rotation{display:none}.pause-overlay,.loading{position:absolute;inset:0;background:#0b1421e8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;z-index:5}.loading{z-index:20}[hidden]{display:none!important}.review-extension:empty{display:none}.review-extension{position:relative;z-index:4;display:flex;align-items:center;gap:16px;flex-shrink:0;height:60px;overflow-x:auto;overflow-y:hidden;background:#111c27;padding:6px 16px}.review-extension>section{display:flex;align-items:center;gap:14px;flex-shrink:0}.review-bar{display:flex;align-items:center;gap:8px;flex-shrink:0}.review-bar strong{font-size:12px;color:var(--accent);margin-right:12px}.review-bar a{padding:10px 12px;color:#b8c8d1;font-size:12px;text-decoration:none;border-radius:5px}.review-bar a[aria-current=page]{background:#2b3a47;color:var(--accent)}.review-note{font-size:10px;color:var(--muted);margin:0;max-width:180px}.review-controls{display:flex;gap:8px;align-items:center}.review-controls label{display:flex;align-items:center;gap:7px;font-size:11px}.review-controls select,.review-controls input{background:#263744;color:inherit;border:0;border-radius:5px;min-height:44px;padding:7px;max-width:150px}.review-controls button{font-size:11px}.equipment-preview{display:flex;align-items:center;gap:8px;min-height:44px;font-size:12px}.equipment-preview input{width:20px;height:20px;accent-color:var(--accent)}.equipment-preview input[type=range]{width:180px;height:44px}.game[data-review=style] .review-extension>section{display:flex;align-items:center;gap:20px}.cue-gallery{display:flex;gap:7px;flex-wrap:wrap}.cue-gallery button{font-size:11px}.game[data-review=models] .path-panel,.game[data-review=models] .world-caption{display:none}.game[data-review=models] .review-extension{display:block;height:160px;overflow:auto}.game[data-review=models] .review-extension>section{display:block}.model-controls{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px}.model-controls label{display:flex;align-items:center;gap:6px;font-size:13px;min-height:44px}.model-controls input[type=checkbox]{width:20px;height:20px;accent-color:var(--accent)}.model-controls select{min-height:44px;padding:6px;border:0;border-radius:5px;background:var(--raised);color:inherit;font:inherit}.model-controls button{font-size:13px}.model-metrics{font-size:12px;color:var(--muted)}@media(max-width:1000px){.topbar{min-height:56px;grid-template-columns:minmax(170px,250px) minmax(130px,1fr) auto auto;padding:3px max(12px,var(--safe-area-right)) 3px max(12px,var(--safe-area-left));gap:12px}.hero-avatar{width:50px;height:50px}.hero-status{gap:8px}.health-display>span{font-size:19px}.health-bar{height:12px;margin-top:3px}.floor-label strong{font-size:17px}.floor-label span{font-size:14px}.top-actions{gap:4px;margin-left:16px}.crystals{gap:4px}.crystals strong{font-size:23px}.path-panel{padding:6px 16px}.path-heading{margin-bottom:6px}.path-heading h1{font-size:21px}.path-heading p{font-size:11px;max-width:240px}.path-layout{grid-template-columns:minmax(322px,434px) 180px;gap:16px}.legend{display:none}.summary{height:48px;margin-top:3px}.hit-count{font-size:24px}.route-actions .primary{font-size:14px}.path-footer{margin-top:5px}.path-footer small{display:none}.world-caption{max-width:240px;right:5%}.world-caption p{font-size:17px}.review-bar a{padding:8px}.review-note{font-size:10px}}@media(max-height:510px)and (orientation:landscape){.topbar{min-height:52px;grid-template-columns:minmax(148px,220px) minmax(120px,1fr) auto auto;gap:10px;padding-block:2px}.hero-avatar{width:46px;height:46px}.hero-status-copy{max-width:220px}.health-display>span{font-size:18px}.health-bar{height:12px;margin-top:4px}.floor-label{padding-left:10px}.floor-label strong{font-size:15px;line-height:1.1}.floor-label span{font-size:13px}.crystals img{width:24px;height:32px}.crystals strong{font-size:22px}.top-actions .icon-button{padding:9px}.world{min-height:0}.world-caption{bottom:auto;top:8px;right:max(12px,var(--safe-area-right))}.world-caption p,.world-caption .eyebrow{display:none}.hero-choice{margin:0;gap:4px}.hero-choice button{font-size:12px;padding:6px 10px;background:#171421b8}.path-heading,.column-labels,.path-footer{display:none}.path-panel{padding:4px max(12px,var(--safe-area-right)) 4px max(12px,var(--safe-area-left))}.path-layout{grid-template-columns:322px minmax(156px,200px);gap:16px}.board-host{height:138px}.accessible-cell{margin:1px;min-height:0}.combination>.eyebrow{font-size:9px}.summary{height:42px;font-size:10px;gap:0 8px;margin-top:1px}.hit-count{font-size:23px}.route-actions{gap:4px;flex-wrap:nowrap}.route-actions button{padding:6px 10px;font-size:12px}.route-actions .primary{width:auto;flex:1;font-size:14px}.route-actions .quiet-button{flex:0}.route-actions .full-label{display:none}.route-actions .compact-label{display:inline}.review-extension{height:44px;padding:0 max(8px,var(--safe-area-right)) 0 max(8px,var(--safe-area-left));gap:12px;background:#12111c}.review-bar strong,.review-note{display:none}.review-bar{gap:0}.review-bar a{min-height:44px;display:flex;align-items:center;padding:6px 10px}.review-extension>section,.review-bar,.review-controls{flex-shrink:0;flex-wrap:nowrap}.game[data-review=style] .review-extension>section{gap:14px}.game[data-review=models] .review-extension{height:132px;padding-block:0}.model-controls{gap:0 10px}.model-controls label,.model-controls button{font-size:12px}}@media(max-width:700px)and (orientation:landscape){.topbar{gap:6px;padding-inline:max(6px,var(--safe-area-left))}.hero-avatar{width:42px;height:44px}.hero-status{gap:5px}.health-display>span{font-size:16px}.floor-label strong{font-size:13px}.floor-label span{font-size:12px}.top-actions{gap:2px;margin-left:10px}.crystals{gap:1px}.path-layout{gap:12px}}@media(orientation:portrait){.rotation{position:fixed;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;padding:32px;text-align:center;background:#101a27}.rotation>span{color:var(--accent);font-size:70px}.rotation h2{font-family:inherit;font-weight:400}.rotation p{color:var(--muted);font-size:14px;line-height:1.6;max-width:290px}}@media(max-height:510px)and (orientation:landscape){.topbar{min-height:44px;padding-block:0;gap:8px}.hero-avatar{width:38px;height:40px}.hero-status{gap:6px}.health-display>span{font-size:16px}.health-bar{height:9px;margin-top:3px}.floor-label strong{font-size:13px}.floor-label span{font-size:11px}.crystals img{width:22px;height:28px}.crystals strong{font-size:20px}.top-actions .icon-button{padding:11px}.top-actions .icon-button img{width:22px;height:22px}}.game[data-review=hero] .path-panel,.game[data-review=hero] .world-caption{display:none}.combat-status{position:absolute;top:8px;left:12px;pointer-events:auto;display:flex;gap:6px;align-items:center;font-size:12px;max-width:65%;flex-wrap:wrap}.combat-status:empty{display:none}.review-controls .hero-choice{margin:0}.combat-status button{min-height:44px}svg.health-bar{width:100%;display:block;background:var(--surface)}.health-track{fill:var(--surface)}.health-fill{fill:url(#health-gradient)}.shield-fill{fill:#62bbf5}.game[data-review=hero] .combat-status,.game[data-review=models] .combat-status{display:none}.animation-shortcuts{flex-wrap:nowrap;overflow-x:auto;padding:4px 8px}.animation-shortcuts button{flex-shrink:0;padding:6px 12px}.game[data-review=combat] .review-extension{display:grid;grid-template-columns:110px minmax(0,1fr);height:108px;gap:8px;overflow:hidden}.game[data-review=combat] .review-bar{overflow-x:auto;max-width:110px}.game[data-review=combat] .review-extension>section{display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:0}.game[data-review=combat] .review-controls{overflow-x:auto;min-width:0;padding:0}.game p,.game .setting,.game .camp-empty>small,.game .boss-choice-half small{font-family:var(--font-reading);font-style:normal;line-height:1.6;letter-spacing:normal}.in-camp .floor-label strong{font-family:var(--font-reading);font-style:normal}.path-panel{--cell-size: clamp(44px, 7.5dvh, 62px);width:min(1100px,calc(100% - 32px));margin:0 auto 10px;padding:16px 22px;border:0;border-radius:0}.path-heading{max-width:none;margin-bottom:8px}.path-guide{display:flex;flex-direction:column;gap:6px}.path-heading h1{display:flex;align-items:center;gap:10px;font-size:23px}.path-logo{width:42px;height:42px;filter:drop-shadow(0 0 7px #ff477b80)}.path-heading p{color:#d9c4bd}.path-layout{grid-template-columns:210px calc(var(--cell-size) * 7) minmax(170px,240px);gap:26px}.column-labels{display:none}.board-host{height:calc(var(--cell-size) * 3)}.legend{gap:5px}.legend-item{gap:8px;padding:2px 7px;min-height:24px;color:#f3ded2;background:linear-gradient(90deg,#78344466,#20192711);border-radius:6px;font-size:12px;line-height:1.2}.legend-item .rune-icon{width:20px;height:20px;filter:drop-shadow(0 0 4px #c773624d)}.combination{border-left:1px solid #b3917866;padding-left:18px}.combination>.eyebrow{color:#e5cab9;letter-spacing:.04em}.summary{height:48px;min-height:48px;max-height:48px;margin-bottom:8px}.hit-count{color:#ff9eaf;font-size:29px;text-shadow:0 0 12px #ff426b66}.summary>span{padding:2px 5px;background:#7c3f5940;border-radius:3px;color:#f3dce6}.route-actions{align-items:center;gap:5px}.route-actions .primary{min-height:54px;padding:8px 18px;border:0;border-radius:0;background:transparent;filter:drop-shadow(0 0 7px #ff466e88);color:#fff1db;font-size:19px;display:flex;justify-content:center;align-items:center}.route-actions .primary:before{content:"";display:inline-block;width:30px;height:30px;margin-right:8px}.route-actions .primary:disabled{opacity:.9;filter:none}.route-actions .quiet-button{flex:0 1 auto;margin-left:auto;min-height:32px;padding:4px 12px;background:#3f3447;border:2px solid #d7bca0;border-radius:3px 10px;color:#fff0df;font-size:12px}.route-actions .quiet-button:disabled{opacity:.72}@media(max-width:1000px),(max-height:510px)and (orientation:landscape){.path-panel{width:fit-content;max-width:calc(100% - 20px);padding:4px 14px;margin-bottom:5px}.path-layout{grid-template-columns:150px calc(var(--cell-size) * 7) minmax(180px,240px);gap:18px}.board-column{align-self:center}.path-guide{display:flex;justify-content:center;gap:2px}.path-heading{display:flex;margin:0}.path-heading h1{font-size:15px;gap:5px;white-space:nowrap}.path-logo{width:24px;height:24px}.legend{display:flex;flex-direction:column;gap:1px}.legend-item{min-height:20px;padding:1px 5px;gap:5px;font-size:11px}.legend-item>span{display:inline}.legend-item .rune-icon{width:18px;height:18px}.combination{padding-left:10px}.combination>.eyebrow{display:none}.summary{height:38px;min-height:38px;max-height:38px;margin:2px 0 4px;gap:0 4px}.hit-count{font-size:22px}.route-actions{flex-wrap:nowrap;gap:5px}.route-actions .primary{width:auto;flex:1;min-height:44px;font-size:13px;padding:5px 8px}.route-actions .primary:before{width:20px;height:20px;margin-right:4px}.route-actions .quiet-button{flex:0;min-height:44px;padding:4px 7px;font-size:11px}}@media(max-height:510px)and (orientation:landscape){.path-panel{--cell-size: clamp(30px, 8dvh, 36px)}.accessible-cell{min-height:0;margin:1px}}@media(pointer:coarse){.route-actions .quiet-button{min-height:44px}}.legend{position:relative}button.legend-item{text-align:left;font-weight:400}button.legend-item[aria-expanded=true]{background:#743346;box-shadow:inset 0 0 0 1px #d693a0}.legend-tooltip{position:absolute;bottom:calc(100% + 12px);left:0;z-index:10;width:240px;padding:12px 14px;pointer-events:auto;background:#211b2b;color:#f7e7d7;border:1px solid #ba927b;border-radius:3px;box-shadow:0 8px 24px #0009;font-size:14px;line-height:1.45}.legend-tooltip strong{display:block;margin-bottom:4px;color:#ffb7c8}.route-actions{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:54px 32px}.route-actions [data-action=confirm]{grid-area:1 / 1;height:100%;min-height:0}.route-actions [data-action=cancel]{grid-area:2 / 1;justify-self:end;height:100%;min-height:0}@media(pointer:coarse){.route-actions{grid-template-rows:54px 44px}}@media(max-width:1000px),(max-height:510px)and (orientation:landscape){.route-actions{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:44px}.route-actions [data-action=cancel]{grid-area:1 / 2}}.summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:40px repeat(3,20px);align-content:start;height:100px;min-height:100px;max-height:none;overflow:visible;gap:0 4px}.summary .hit-count{grid-column:1 / -1;align-self:start}.summary>span{padding:1px 2px;font-size:10px;line-height:18px;white-space:nowrap}@media(max-width:1000px),(max-height:510px)and (orientation:landscape){.summary{grid-template-rows:32px repeat(3,17px);height:83px;min-height:83px;margin:0 0 3px}.summary>span{font-size:9px;line-height:15px}}@media(max-width:620px)and (orientation:landscape){.path-panel{padding-inline:10px}.path-layout{grid-template-columns:130px calc(var(--cell-size) * 7) minmax(150px,200px);gap:8px}.path-heading h1{font-size:13px;gap:3px}.path-logo{width:20px;height:20px}.combination{padding-left:6px}.summary>span{font-size:8px;padding-inline:0}.route-actions .primary{font-size:11px;padding-inline:4px}.route-actions .primary:before{width:16px;height:16px;margin-right:2px}.route-actions .quiet-button{font-size:10px;padding-inline:4px}}
