html.game-host{overflow:auto}.game-host body{isolation:isolate;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:#c6b796;place-items:center;display:grid;position:relative;overflow:visible}.game-host body:before{content:"";z-index:-1;pointer-events:none;filter:saturate(.5)brightness(.5)blur(1.2px);background:#c6b796 url(../assets/images/dolls/common/laboratory-full-v3.webp) 50%/cover no-repeat;position:absolute;inset:0}#game-canvas-stage{outline:1px solid #000;flex:none;position:relative;overflow:hidden}.top-layer-tooltip[popover]:not(:popover-open){display:none!important}.top-layer-tooltip:popover-open{pointer-events:auto;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;opacity:1!important;visibility:visible!important;margin:0!important;transition:none!important;position:fixed!important;bottom:auto!important;right:auto!important;transform:none!important}.unit-effects[data-tooltip]:after,.unit-intent[data-tooltip]:after{content:none!important}#unit-status-tooltip{color:#29334b;width:min(310px,100vw - 16px);font:800 13px/1.4 var(--body);white-space:pre-line;text-align:left;background:#fff7df;border:2px solid #29334b;padding:9px 12px;box-shadow:3px 4px #49392255}#potion-description[popover],#toast[popover]{margin:0}#potion-description[popover]{bottom:auto;right:auto}#toast[popover]{top:auto}#game-canvas{transform-origin:0 0;border:0;width:1920px;max-width:none;height:1080px;display:block;position:absolute;inset:0}html[data-device=desktop] .app{height:100dvh;max-height:none}html[data-device=desktop] #battlefield{--stage-render-height:1080.58px;align-self:end;height:1032px}html[data-device=desktop] .formation--enemy .battle-unit:is([data-rank=boss],[data-rank=guardian]) .unit-art-wrap{height:min(540px,calc((100% - var(--lane-rise) - 216px) / 1.25))}#battle-screen{isolation:isolate;overflow:clip}#battle-screen>.stage-backdrop{z-index:-1;background-size:cover;inset:48px 0 0;filter:saturate(.7)brightness(.8)blur(1.2px)!important}.map-sketch{filter:saturate(.6)contrast(.9)brightness(.8)}#battlefield{background:0 0;border-bottom:3px solid #0000;overflow:visible}#battlefield:has(.enemy-role-badge:is(:hover,:focus):not(.is-tooltip-dismissed)){z-index:60}#battlefield:before,#battlefield:after{content:none}.formation-lane{translate:0 40px}.battle-console,.battle-console .hand-zone{pointer-events:none}.battle-console button{pointer-events:auto}.unit-art-wrap .unit-effects--battle{position:absolute}.enemy-role-badge:is(:hover,:focus):not(.is-tooltip-dismissed){z-index:120}.battle-identity{align-items:center;gap:18px;min-width:0;padding-right:18px;display:flex}.map-topbar .map-stage-title{grid-column:2}.owned-relics{flex-wrap:nowrap;flex:1;gap:5px;min-width:0;margin:0;padding:4px;display:flex;overflow-x:auto}.owned-relics[hidden]{display:none}.owned-relics .map-relic{flex:0 0 30px;justify-content:center;width:30px;height:30px;min-height:0;padding:0}.owned-relics .map-relic__name{display:none}.owned-relics .map-relic__icon{font-size:18px}html[data-device=desktop] .formation--enemy>.boss-status-panel{--boss-panel-height:112px;gap:5px;width:min(480px,35vw);display:grid;position:fixed;top:64px;left:auto;right:64px}.formation--enemy>.boss-status-panel[hidden]{display:none}.boss-status-panel__heading strong{font-size:20px}.boss-status-panel .combat-metrics{flex-wrap:nowrap}.boss-status-panel .unit-intent strong{font:700 13px/1.3 var(--body);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.battle-sidebar .battle-log-button{width:68px;height:68px;min-height:0;position:fixed;bottom:8px;left:8px}#hand-grid .battle-card:is(:focus-visible,[aria-pressed=true]){transform:translateY(calc(var(--fan-y,0px) + var(--hand-rest-y))) rotate(var(--fan-angle,0deg))}#hand-grid .battle-card .battle-card__performance{display:none}.potion-inventory{pointer-events:auto;isolation:isolate;flex-wrap:nowrap;gap:6px;padding:8px 10px;display:flex;position:fixed;bottom:8px;left:38px}.potion-inventory:before{content:"";z-index:-1;pointer-events:none;background:url(../assets/images/items/ui/potion-tray.svg) 50%/100% 100% no-repeat;position:absolute;inset:-4px -6px}html[data-device=desktop] .potion-inventory{left:calc(max(0px,50vw - 960px) + 38px)}html[data-device=desktop] .battle-sidebar .battle-log-button{left:calc(max(0px,50vw - 960px) + 8px)}html[data-device=desktop] .formation--enemy>.boss-status-panel{right:calc(max(0px,50vw - 960px) + 64px)}.potion-slot{touch-action:none;background:linear-gradient(135deg,#f7e6b8da 0 84%,#b79c70da 85%);border:1px solid #775a3970;border-radius:0;width:62px;height:62px;padding:4px}.potion-slot:disabled{opacity:.55}.potion-slot img{object-fit:contain;pointer-events:none;width:100%;height:100%}.potion-slot[aria-pressed=true],.potion-slot:focus-visible{outline-offset:-3px;outline:3px solid #e8b744}html:not([data-device=mobile]) .is-small-enemy .enemy-role-badge{bottom:calc(var(--enemy-head-clearance) + 7px);gap:3px;width:44px;min-width:44px;height:44px;padding:4px}html:not([data-device=mobile]) .is-small-enemy .enemy-role-badge.has-value{width:max-content;padding-right:7px}html:not([data-device=mobile]) .is-small-enemy .enemy-role-symbol{width:32px;height:32px}html:not([data-device=mobile]) .is-small-enemy .enemy-role-value{font-size:18px}html:not([data-device=mobile]) .is-small-enemy .unit-hp{bottom:calc(var(--enemy-head-clearance) + 59px)}html:not([data-device=mobile]) .is-small-enemy .unit-effects--battle{bottom:calc(var(--enemy-head-clearance) + 82px)}#potion-description{z-index:550;color:#342d29;width:min(420px,100vw - 160px);font:14px/1.45 var(--body);pointer-events:none;background:linear-gradient(135deg,#fff1cf 0 95%,#cbae79 96%);border:1px solid #8c704a;gap:6px;padding:10px 16px;display:grid;position:fixed;overflow:auto}#potion-description strong{font-size:16px}.potion-drag-ghost{z-index:600;object-fit:contain;pointer-events:none;width:84px;height:84px;position:fixed}.is-potion-target .unit-art-wrap,.is-card-target-available .unit-art-wrap{filter:drop-shadow(0 0 4px #ffe49b)}.potion-flight{z-index:610;object-fit:contain;pointer-events:none;width:42px;height:42px;position:fixed}#potion-reward-dialog{color:#342d29;background:#f7e8c5;border:2px solid #806443;width:min(720px,100vw - 24px);max-height:calc(100dvh - 16px);padding:16px;overflow:auto}#potion-reward-dialog h2{margin:0 0 6px;font-size:20px}#potion-reward-dialog p{margin:0 0 10px;font-size:13px}.potion-reward-new{background:#fff4d8;grid-template-columns:54px 1fr;gap:2px 10px;padding:8px;display:grid}.potion-reward-new img{object-fit:contain;grid-row:span 2;width:48px;height:52px}.potion-reward-owned{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0;display:grid}.potion-reward-owned button{color:inherit;cursor:pointer;background:#ead6ac;border:1px solid #8c704a;justify-items:center;gap:5px;padding:8px;display:grid}.potion-reward-owned img{object-fit:contain;width:44px;height:46px}.potion-reward-owned span,.potion-reward-new span{font:12px/1.4 var(--body)}.potion-reward-owned b{color:#803829;font-size:12px}.potion-reward-skip{cursor:pointer;background:#fff4d8;border:1px solid #8c704a;min-height:36px;margin-left:auto;padding:6px 16px;display:block}@media (max-height:400px){#potion-reward-dialog[open]{grid-template-columns:140px minmax(0,1fr);gap:6px 10px;padding:10px;display:grid}#potion-reward-dialog :is(h2,p),.potion-reward-skip{grid-column:1/-1;margin:0}#potion-reward-dialog h2{font-size:16px}#potion-reward-dialog p{font-size:11px}.potion-reward-new{text-align:center;grid-template-columns:1fr;justify-items:center;gap:2px;padding:4px}.potion-reward-new img{grid-row:auto;width:34px;height:34px}.potion-reward-owned{gap:6px;margin:0}.potion-reward-owned button{gap:3px;padding:4px}.potion-reward-owned img{width:32px;height:34px}.potion-reward-owned strong,.potion-reward-new strong{font-size:12px}.potion-reward-owned span,.potion-reward-new span,.potion-reward-owned b{font-size:10px}.potion-reward-skip{justify-self:end;min-height:30px}}.battle-card__name{writing-mode:horizontal-tb;white-space:nowrap;word-break:keep-all}body:has(>.drag-ghost) #hand-grid .battle-card[aria-pressed=true]{transform:translateY(calc(var(--fan-y,0px) + var(--hand-rest-y))) rotate(var(--fan-angle,0deg));transition:none}body:has(>.drag-ghost) #hand-grid .battle-card[aria-pressed=true] .battle-card__performance{display:none}body:has(>.drag-ghost) #hand-grid .battle-card[aria-pressed=true] .battle-card__copy{display:block}body:has(>.drag-ghost) #hand-grid .battle-card[aria-pressed=true] .battle-card__role-symbol{display:block}@media (orientation:landscape){[data-device=mobile] body{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}[data-device=mobile] .battle-screen{--battle-overlay-height:94px;height:100dvh;min-height:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);grid-template-rows:36px minmax(0,1fr) 94px;grid-template-columns:120px minmax(0,1fr)}[data-device=mobile] #battle-screen>.stage-backdrop{inset:36px 0 0}[data-device=mobile] .battle-topbar{grid-area:1/1/auto/-1;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;min-width:0;padding-right:36px}[data-device=mobile] .battle-identity{gap:6px;padding-right:0}[data-device=mobile] .owned-relics{scrollbar-width:none;gap:4px;padding:2px}[data-device=mobile] .owned-relics .map-relic{flex-basis:26px;width:26px;height:26px}[data-device=mobile] .owned-relics .map-relic__icon{font-size:16px}[data-device=mobile] .formation--enemy>.boss-status-panel{--boss-panel-height:76px;grid-template-rows:20px 18px 18px;grid-template-columns:minmax(0,1fr) auto;gap:2px;width:min(250px,40vw);padding:5px 8px;top:44px;right:6px}[data-device=mobile] .boss-status-panel__heading{grid-column:1/-1}[data-device=mobile] .boss-status-panel .unit-status__summary{display:contents}[data-device=mobile] .boss-status-panel .unit-vital{grid-column:1/-1}[data-device=mobile] .boss-status-panel .unit-intent{min-width:0;margin:0}[data-device=mobile] .boss-status-panel .unit-intent strong{font-size:11px}[data-device=mobile] .boss-status-panel__heading{gap:4px}[data-device=mobile] .boss-status-panel__heading strong{font-size:13px}[data-device=mobile] .boss-status-panel__heading span{padding:1px 4px;font-size:10px}[data-device=mobile] .boss-status-panel .unit-vital{gap:6px}[data-device=mobile] .boss-status-panel .unit-vital b{font-size:12px}[data-device=mobile] .boss-status-panel progress{height:10px}[data-device=mobile] .boss-status-panel .unit-effects{scrollbar-width:none;flex-wrap:nowrap;grid-area:3/1/auto/-1;max-width:100px;min-height:18px;margin:0;overflow-x:auto}[data-device=mobile] .boss-status-panel .unit-chip{padding:1px 3px;font-size:10px}[data-device=mobile] .battlefield{--stage-render-height:100%;grid-area:2/2;min-height:0;container-type:size}[data-device=mobile] .formation-lane{height:100%;top:0;translate:0 clamp(12px,16.6667dvh - 38px,26px)}[data-device=mobile] .battle-unit{container-type:normal}[data-device=mobile] .formation--party{width:43%;left:0}[data-device=mobile] .formation--enemy{width:48%;left:47%}[data-device=mobile] .formation-lane--rear{--mobile-rise:8%}[data-device=mobile] .formation-lane--middle{--mobile-rise:6%}[data-device=mobile] .formation-lane--front{--mobile-rise:4%}[data-device=mobile] .unit-art-wrap{bottom:var(--mobile-rise)!important}[data-device=mobile] .battle-unit--hero .unit-art-wrap{width:min(25cqw,88cqh);height:min(25cqw,88cqh)}[data-device=mobile] .battle-unit--enemy .unit-art-wrap{width:min(23cqw,72cqh - 24px);height:min(23cqw,72cqh - 24px)}[data-device=mobile] .battle-unit--enemy:is([data-rank=boss],[data-rank=guardian]) .unit-art-wrap{width:min(36cqw,72cqh - 40px);height:min(36cqw,72cqh - 40px)}[data-device=mobile] .enemy-role-badge{gap:2px;min-width:34px;height:32px;padding:2px 4px}[data-device=mobile] .enemy-role-badge:before{content:"";position:absolute;inset:-6px 0}[data-device=mobile] .enemy-role-symbol{width:26px;height:26px}[data-device=mobile] .enemy-role-value{font-size:13px}[data-device=mobile] .unit-hp{font-variant-numeric:tabular-nums;text-shadow:0 1px 2px #221b19,0 0 2px #221b19;font-size:11px;font-weight:700}[data-device=mobile] .enemy-role-value{font-variant-numeric:tabular-nums;text-shadow:none;font-weight:800}[data-device=mobile] .round-label{text-shadow:none;letter-spacing:.02em;font-weight:700}[data-device=mobile] .battle-unit--enemy .unit-hp{bottom:calc(var(--enemy-head-clearance,89%) + 46px)}[data-device=mobile] .battle-unit--enemy .unit-effects--battle{bottom:calc(var(--enemy-head-clearance,89%) + 69px);max-width:clamp(92px,18cqw,150px)}[data-device=mobile] .enemy-intent-tooltip{font-size:12px}[data-device=mobile] .command-tracker{left:max(4px,env(safe-area-inset-left));flex-direction:column;width:112px;max-height:calc(100dvh - 46px);padding:4px 0;position:fixed;top:42px;bottom:auto;overflow:hidden;display:flex!important}[data-device=mobile] #command-sequence{flex:0 auto;gap:4px;min-height:0;padding-top:3px;overflow:auto}[data-device=mobile] .potion-inventory{left:max(23px,calc(env(safe-area-inset-left) + 23px));bottom:max(8px,env(safe-area-inset-bottom));gap:2px;width:112px;padding:0;position:fixed;overflow:visible}[data-device=mobile] .potion-slot{flex:0 0 36px;width:36px;height:36px;padding:2px}[data-device=mobile] .battle-sidebar .battle-log-button{left:max(4px,env(safe-area-inset-left));bottom:max(4px,env(safe-area-inset-bottom));width:44px;height:44px;padding:0}[data-device=mobile] #potion-description{font:10px/1.3 var(--body);gap:2px;padding:4px 8px}[data-device=mobile] #potion-description strong{font-size:12px}[data-device=mobile] .hero-select-row{background-image:url(../assets/images/items/ui/hero-nameplate-paper-mobile-v1.png);grid-template-columns:30px minmax(0,1fr);gap:4px;min-height:clamp(44px,15dvh,56px);padding:6px 8px 4px 4px}[data-device=mobile] .hero-select-row.is-selected{background-image:url(../assets/images/items/ui/hero-nameplate-selected-paper-mobile-v1.png);transform:none}[data-device=mobile] .hero-select-row,[data-device=mobile] .hero-select-row.is-selected{filter:drop-shadow(1px 2px 1px #43352355)}[data-device=mobile] .hero-select-row.is-selected:after{padding:1px 8px;font-size:8px;top:-3px;left:40px}[data-device=mobile] .hero-face{width:30px;height:32px}[data-device=mobile] .hero-face img{width:90px}[data-device=mobile] .hero-face-status{gap:2px}[data-device=mobile] .hero-face-status strong{font-size:12px}[data-device=mobile] .hero-face-status small{font-size:9px}[data-device=mobile] .hero-face-status .unit-chip{padding:1px 2px;font-size:9px}[data-device=mobile] .battle-console{background:linear-gradient(#0000,#dfccaa70);grid-area:3/1/auto/-1;grid-template-columns:176px minmax(0,1fr);height:94px;padding:2px 6px;position:relative;inset:auto}[data-device=mobile] .hand-zone{min-width:0;height:90px;padding:0}[data-device=mobile] .hand-grid{justify-content:center;align-items:flex-start;gap:0;height:90px;padding:6px 12px 0;overflow:visible}[data-device=mobile] #hand-grid .battle-card{--hand-card-width:90px;flex:0 0 var(--hand-card-width);width:90px;height:136px;min-height:0;margin:0 0 0 min(-10px,calc((100% - 126px) / max(1,var(--hand-card-count) - 1) - 90px));transform-origin:50% 100%;grid-template-rows:minmax(0,1fr) 24px;transform:translateY(calc(var(--fan-y,0px) - 6px)) rotate(var(--fan-angle,0deg))!important}[data-device=mobile] #hand-grid .battle-card:first-child{margin-left:0}[data-device=mobile] #hand-grid .battle-card[aria-pressed=true]{outline-offset:-3px;outline:3px solid #b47724}[data-device=mobile] #hand-grid .battle-card[aria-pressed=true] .battle-card__copy{display:block}[data-device=mobile] #hand-grid .battle-card[aria-pressed=true] .battle-card__performance{display:none}[data-device=mobile] .battle-card__name{font-size:var(--mobile-name-size,11px);text-shadow:none;box-shadow:none;letter-spacing:0;white-space:nowrap;writing-mode:horizontal-tb;background:#303644e8;width:auto;padding:1px;font-weight:700;top:8px;left:2px;right:21px}[data-device=mobile] .battle-card__role-symbol{width:26px;height:26px;bottom:14px}[data-device=mobile] #hand-grid .battle-card__role-symbol{top:40px;bottom:auto;left:30px}[data-device=mobile] .drag-ghost{grid-template-rows:36% minmax(0,1fr);grid-template-columns:minmax(0,1fr);transform:none}[data-device=mobile] .drag-ghost .card-art{width:100%;height:100%}[data-device=mobile] .drag-ghost .battle-card__performance{grid-area:2/1;gap:3px;padding:5px}[data-device=mobile] .drag-ghost .battle-card__performance :is(small,.battle-card__performance-target){font-size:10px;line-height:1.25}[data-device=mobile] .drag-ghost .battle-card__name{width:auto;font-size:var(--mobile-name-size,11px);padding:1px;top:8px;left:2px;right:21px}[data-device=mobile] .app[data-screen=battle] .audio-toggle{top:max(5px,env(safe-area-inset-top));right:max(5px,env(safe-area-inset-right));width:25px;height:25px;padding:0;font-size:0}[data-device=mobile] .app[data-screen=battle] .audio-toggle:after{content:"♪";font-size:11px}[data-device=mobile] .map-viewport{--map-track-width:1600px;touch-action:none;overflow:auto hidden}[data-device=mobile] .map-sketch,[data-device=mobile] .map-links,[data-device=mobile] .map-nodes{height:100%;min-height:0;min-width:var(--map-track-width);width:var(--map-track-width)}[data-device=mobile] .map-node{width:80px;height:60px}[data-device=mobile] .map-node span{font-size:11px}[data-device=mobile] .map-progress-baseline{display:none}[data-device=mobile] dialog:not(.story-cutscene){max-height:calc(100dvh - 16px);overflow:auto}[data-device=mobile] .map-hero-dialog__summary{grid-template-columns:102px minmax(0,1fr);min-height:110px}[data-device=mobile] .map-hero-dialog__summary>img{width:90px;height:110px}[data-device=mobile] .map-hero-dialog{gap:8px;padding:12px}}body:not(:has(>.drag-ghost)) #hand-grid .battle-card.is-card-hover{z-index:90;grid-template-rows:34% minmax(0,1fr);transform:translateY(-22px) rotate(var(--fan-angle,0deg)) scale(1.08)!important}body:not(:has(>.drag-ghost)) #hand-grid .battle-card.is-card-hover .battle-card__performance{opacity:1;visibility:visible;pointer-events:none;background:#f8edcf;border:0;flex-direction:column;grid-row:2;gap:5px;width:100%;max-width:none;height:100%;min-height:0;padding:8px;display:flex;position:relative;inset:auto;overflow:auto;transform:none}body:not(:has(>.drag-ghost)) #hand-grid .battle-card.is-card-hover :is(.battle-card__copy,.battle-card__role-symbol){display:none}body:has(>.drag-ghost:not(.is-returning-card)) #hand-grid .is-chain-group-active{opacity:.28}.drag-ghost{transform-origin:0 0;transform:none}.drag-ghost.card-chain-layer{filter:brightness(.92)}.drag-ghost.is-returning-card{pointer-events:none}.hero-select-row.is-incapacitated{filter:saturate(.35)}.hero-select-row.is-incapacitated .hero-face-status small{color:#943d35;font-weight:900}html[data-device=mobile] .drag-ghost.battle-card--ultimate{grid-template-rows:36% minmax(0,1fr)}@media (orientation:landscape) and (max-height:420px){[data-device=mobile] .formation--enemy>.boss-status-panel{--boss-panel-height:32px;border-width:1px;grid-template-rows:14px 14px;grid-template-columns:minmax(0,1fr) auto auto;gap:0 6px;width:min(300px,43vw);padding:1px 6px;top:44px}[data-device=mobile] .boss-status-panel__heading{display:contents}[data-device=mobile] .boss-status-panel__heading strong{grid-area:1/1;font-size:11px}[data-device=mobile] .boss-status-panel__heading span{grid-area:1/2;padding:0 2px;font-size:9px}[data-device=mobile] .boss-status-panel .unit-effects{grid-area:1/3;gap:2px;height:15px;min-height:15px}[data-device=mobile] .boss-status-panel .unit-chip{padding:0 2px;font-size:9px}[data-device=mobile] .boss-status-panel .unit-vital{grid-area:2/1/auto/-1}[data-device=mobile] .boss-status-panel .unit-vital b{font-size:10px}[data-device=mobile] .boss-vital-count{align-items:center;gap:4px;display:flex}[data-device=mobile] .boss-vital-count .unit-shield-number{font-size:10px;line-height:1}[data-device=mobile] .boss-status-panel progress{height:7px}[data-device=mobile] .boss-status-panel .unit-intent{grid-area:2/3;max-width:110px;min-height:0}[data-device=mobile] .boss-status-panel .unit-intent strong{font-size:10px}}html[data-device=desktop] .battle-card__name,html[data-device=desktop] .drag-ghost .battle-card__name{top:8px;right:32px}.battle-card__role-badge{z-index:8;pointer-events:none;grid-template:100%/100%;place-items:center;width:24px;height:24px;display:grid;position:absolute;top:8px;right:5px}.battle-card__role-badge .battle-card__role-symbol{grid-area:1/1;width:100%;height:100%;display:block;position:static;transform:none}.battle-card__role-value{z-index:9;color:#fff9e7;font:900 16px/1 var(--body);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 1px 2px #272332,1px 0 #272332,-1px 0 #272332,0 -1px #272332;grid-area:1/1;position:relative}.drag-ghost .battle-card__role-badge{display:grid}body:not(:has(>.drag-ghost)) #hand-grid .is-card-hover .battle-card__role-badge{display:none}@media (orientation:landscape){html[data-device=mobile] .battle-card__role-badge{width:17px;height:17px;top:8px;right:2px}html[data-device=mobile] #hand-grid .battle-card__role-badge .battle-card__role-symbol{width:100%;height:100%;position:static;transform:none}html[data-device=mobile] .battle-card__role-value{font-size:var(--compact-value-size,12px)}}.unit-status-art{aspect-ratio:1;z-index:6;pointer-events:none;position:absolute;transform:translate(-50%,-50%)}.unit-status-art svg{pointer-events:none;position:absolute;overflow:visible;transform:translate(-50%,-50%)}.unit-status-art .status-slot--seal{width:74%;height:44%;top:50%;left:50%}.unit-status-art .status-slot--pathfinder-mark{width:58%;height:58%;top:50%;left:50%}.unit-status-art .status-slot--stun{width:29%;height:29%;top:18%;left:18%}.unit-status-art .status-slot--confusion,.unit-status-art .status-slot--forgetfulness{width:29%;height:29%;top:18%;left:82%}.unit-status-art .status-slot--poison{width:34%;height:38%;top:78%;left:50%}.unit-status-art .status-slot--curse{width:43%;height:43%;top:76%;left:79%}.unit-frozen-snowflakes{z-index:4;pointer-events:none;position:absolute}.unit-frozen-snowflakes img{aspect-ratio:1;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;display:block;position:absolute;transform:translate(-50%,-50%)}.unit-frozen-snowflakes img:first-child{width:30%;top:30%;left:25%}.unit-frozen-snowflakes img:nth-child(2){width:34%;top:46%;left:75%}.unit-frozen-snowflakes img:nth-child(3){width:28%;top:68%;left:30%}.unit-frozen-snowflakes img:nth-child(4){width:32%;top:86%;left:65%}.unit-status-art .status-art-group{pointer-events:none;position:absolute;inset:0}.unit-status-art .status-art-group .status-slot{aspect-ratio:1;height:auto}.unit-status-art .status-art-group .status-slot:nth-child(n+6){width:28%;top:55%;left:50%}.unit-status-art .status-art-group--poison .status-slot:first-child{width:30%;top:30%;left:25%}.unit-status-art .status-art-group--poison .status-slot:nth-child(2){width:34%;top:46%;left:75%}.unit-status-art .status-art-group--poison .status-slot:nth-child(3){width:28%;top:68%;left:30%}.unit-status-art .status-art-group--poison .status-slot:nth-child(4){width:32%;top:86%;left:65%}.unit-status-art .status-art-group--poison .status-slot:nth-child(5){width:30%;top:58%;left:50%}.unit-status-art .status-art-group--curse .status-slot:first-child{width:30%;top:32%;left:29%}.unit-status-art .status-art-group--curse .status-slot:nth-child(2){width:34%;top:48%;left:72%}.unit-status-art .status-art-group--curse .status-slot:nth-child(3){width:28%;top:70%;left:34%}.unit-status-art .status-art-group--curse .status-slot:nth-child(4){width:32%;top:88%;left:68%}.unit-status-art .status-art-group--curse .status-slot:nth-child(5){width:30%;top:62%;left:52%}.status-paper-frame{opacity:0;animation:status-paper-frame 1.8s steps(1,end) var(--frame-delay,0s) infinite}.status-paper-frame--0{opacity:1}@keyframes status-paper-frame{0%,24.999%{opacity:1}25%,to{opacity:0}}.potion-flight--trail{pointer-events:none}@media (prefers-reduced-motion:reduce){.unit-status-art *{animation:none!important}}#map-screen{grid-template-rows:66px minmax(0,1fr) 184px}#map-screen .map-topbar{z-index:20;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:20px}#map-relics{grid-area:1/1}#map-screen .map-stage-title{grid-row:1}#map-screen .map-layout{grid-template-columns:minmax(0,1fr);min-width:0}#map-screen .map-progress-baseline{left:var(--map-reading-baseline,128px)}.map-party-dock{z-index:10;background:#f1dfb8;border-top:3px solid #8c704a;grid-template-columns:324px minmax(0,1fr);align-items:center;gap:24px;padding:14px 22px;display:grid}#map-party{grid-template-columns:repeat(3,minmax(0,1fr));justify-self:center;gap:16px;width:100%;min-width:0;max-width:1350px;display:grid}#map-party .map-hero{grid-template-columns:minmax(0,1fr);min-width:0;min-height:104px;padding:10px}#map-party .map-hero__profile{grid-template-columns:64px minmax(0,1fr);gap:12px;width:100%;display:grid}#map-party .map-hero__profile img{width:64px;height:76px}#map-party .map-hero__copy{gap:3px}#map-party .map-hero__copy>strong{font-size:24px;font-weight:900}#map-party .map-hero__copy>span,#map-party .map-hero__copy>small{font-variant-numeric:tabular-nums;font-size:18px;font-weight:800;line-height:1.35}#map-potions{width:max-content;margin:0;position:relative;inset:auto}#map-potions .potion-slot{touch-action:manipulation;min-height:0;box-shadow:none;cursor:help;background:linear-gradient(135deg,#f7e6b8da 0 84%,#b79c70da 85%);border:1px solid #775a3970;flex:0 0 62px;margin:0;padding:4px}#map-potions .potion-slot:disabled{cursor:default}#map-screen .map-relic__tooltip{font-family:var(--body);width:min(420px,100vw - 16px)}#map-screen .map-relic__tooltip strong{font-size:21px}#map-screen .map-relic__tooltip small{font:800 18px/1.5 var(--body)}#map-screen .map-node{width:126px;height:102px}#map-screen .map-node i{width:38px;height:38px;font-size:26px}#map-screen .map-node span{letter-spacing:0;font-size:18px}#map-screen .map-node[data-state=future]{opacity:1;filter:saturate(.45)}html[data-device=mobile] #map-screen{grid-template-rows:38px minmax(0,1fr) 108px}html[data-device=mobile] #map-screen .map-topbar{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:0 42px 0 8px}html[data-device=mobile] #map-screen .map-stage-title strong{font-size:14px}html[data-device=mobile] .app[data-screen=map] .audio-toggle{top:6px;right:6px}html[data-device=mobile] .map-party-dock{border-top-width:2px;grid-template-columns:168px minmax(0,1fr);gap:10px;padding:6px 8px}html[data-device=mobile] #map-party{gap:6px}html[data-device=mobile] #map-party .map-hero{min-height:70px;padding:4px}html[data-device=mobile] #map-party .map-hero__profile{grid-template-columns:30px minmax(0,1fr);gap:4px}html[data-device=mobile] #map-party .map-hero__profile img{width:30px;height:48px}html[data-device=mobile] #map-party .map-hero__copy>strong{font-size:14px}html[data-device=mobile] #map-party .map-hero__copy>span,html[data-device=mobile] #map-party .map-hero__copy>small{font-size:11px}html[data-device=mobile] #map-potions .potion-slot{flex-basis:36px;width:36px;height:36px;padding:2px}html[data-device=mobile] #map-screen .map-relic__tooltip{width:min(300px,100vw - 16px)}html[data-device=mobile] #map-screen .map-relic__tooltip strong{font-size:14px}html[data-device=mobile] #map-screen .map-relic__tooltip small{font-size:12px}html[data-device=mobile] #map-screen .map-node{width:88px;height:62px}html[data-device=mobile] #map-screen .map-node i{width:26px;height:26px;font-size:19px}html[data-device=mobile] #map-screen .map-node span{font-size:12px}html[data-device=mobile] #map-viewport[data-map-version="2"]{overflow-y:auto}html[data-device=mobile] #map-viewport[data-map-version="2"] :is(.map-sketch,.map-links,.map-nodes){height:max(100%,360px)}html[data-device=mobile] #map-viewport[data-map-version="2"] .map-node{grid-template-columns:22px minmax(0,1fr);gap:2px;height:44px;padding:2px}html[data-device=mobile] #map-viewport[data-map-version="2"] .map-node i{width:20px;height:20px;font-size:15px}@media (max-width:620px){html[data-device=mobile] #map-party .map-hero__profile{grid-template-columns:minmax(0,1fr)}html[data-device=mobile] #map-party .map-hero__profile img{display:none}}@media (max-width:460px){html[data-device=mobile] #map-screen{grid-template-rows:38px minmax(0,1fr) 108px}html[data-device=mobile] #map-party .map-hero{min-height:80px;padding:3px}html[data-device=mobile] .map-party-dock{grid-template-columns:90px minmax(0,1fr);gap:6px}html[data-device=mobile] #map-potions{gap:2px}html[data-device=mobile] #map-potions .potion-slot{flex-basis:28px;width:28px;height:32px}html[data-device=mobile] #map-party{gap:3px}html[data-device=mobile] #map-party .map-hero__copy>span{white-space:normal}}@media (max-height:320px){html[data-device=mobile] #map-screen .map-node{grid-template-columns:20px minmax(0,1fr);gap:2px;height:36px;padding:2px}html[data-device=mobile] #map-screen .map-node i{width:18px;height:18px;font-size:13px}html[data-device=mobile] #map-screen .map-node span{font-size:11px}}#map-hero-dialog[open]{grid-template-rows:max-content max-content minmax(0,1fr);align-content:stretch;overflow:hidden}#map-hero-dialog>section{min-height:0;overflow:hidden}#map-hero-cards{overscroll-behavior-inline:contain;touch-action:pan-x;grid-template-columns:none;grid-auto-columns:210px;grid-auto-flow:column;max-height:none;display:grid;overflow:auto hidden}.reward-paper-icon{object-fit:contain;align-self:center;width:96px;height:96px}@media (max-height:500px){.reward-paper-icon{width:72px;height:72px}}#map-party .map-hero__hp-label,#map-party .map-hero__copy small b{font:inherit}@media (max-width:460px){html[data-device=mobile] #map-party .map-hero__hp-label{display:none}}.audio-controls{white-space:nowrap;flex:none;align-items:center;gap:6px;display:flex}.menu-audio-bar{z-index:20;position:absolute;top:12px;right:16px}#audio-controls .audio-toggle{width:auto;min-width:78px;height:30px;font:800 12px/1 var(--body);padding:3px 8px;position:static}#audio-controls .audio-toggle:after{content:none}.map-topbar>.audio-controls{grid-column:3;justify-self:end}html[data-device=mobile] #audio-controls .audio-toggle{min-width:57px;height:26px;padding:3px 4px;font-size:10px}html[data-device=mobile] .audio-controls{gap:3px}html[data-device=mobile] .battle-topbar{gap:5px;padding-right:6px}html[data-device=mobile] #map-screen .map-topbar{grid-template-columns:minmax(0,1fr) auto auto;padding-right:6px}.battle-item-dock{pointer-events:auto;align-items:center;gap:14px;display:flex;position:fixed;bottom:8px;left:38px}html[data-device=desktop] .battle-item-dock{left:calc(max(0px,50vw - 960px) + 38px)}#battle-potions{width:auto;position:relative;inset:auto}html[data-device=desktop] #battle-potions{left:auto}html[data-device=mobile] .battle-item-dock{left:max(23px,calc(env(safe-area-inset-left) + 23px));bottom:max(8px,env(safe-area-inset-bottom));gap:9px}html[data-device=mobile] #battle-potions{width:112px;position:relative;inset:auto}html[data-device=mobile] .relic-bag-button{flex-basis:32px;width:32px;height:38px}html[data-device=mobile] .map-potion-dock{gap:8px}html[data-device=mobile] #map-party .map-hero{gap:3px}html[data-device=mobile] #map-party .relic-slot{width:24px;height:26px}html[data-device=mobile] #map-party .relic-slot .relic-art{width:22px;height:22px}html[data-device=mobile] #map-party .relic-slot-rail{gap:3px}html[data-device=mobile] .tracker-relic-rail{gap:2px;margin-top:2px}html[data-device=mobile] .tracker-relic-rail .relic-slot{width:16px;height:18px;min-height:0}html[data-device=mobile] .tracker-relic-rail .relic-slot .relic-art{width:14px;height:16px}html[data-device=mobile] .tracker-relic-rail .relic-slot__lock{font-size:6px}#battle-familiar{--familiar-base-width:80px;width:calc(var(--familiar-base-width) * 1.66667);margin-left:calc(var(--familiar-base-width) * -.333333);object-fit:contain;pointer-events:none;z-index:1;height:110px;position:absolute;bottom:24%;left:calc(11.76% - 60px);transform:scaleX(-1)}#workshop-art{object-fit:contain;width:260px;max-height:240px}.workshop-target-label{font-size:13px;display:block}.sanctuary-panel>div{min-width:620px;max-height:calc(100% - 32px);overflow:auto}.map-potion-dock{margin-left:24px}html[data-device=mobile] .map-potion-dock{margin-left:12px}html[data-device=mobile] #battle-familiar{--familiar-base-width:min(10cqw,35cqh);height:min(14cqw,48cqh);bottom:18%;left:3%}#workshop-picker{color:#302e38;width:min(640px,100vw - 24px);max-height:calc(100dvh - 24px);font-family:var(--body);background:#fff8e9;border:2px solid #b6a28c;border-radius:16px;padding:24px}#workshop-picker::backdrop{background:#261f2eaa}#workshop-picker h2{margin:0 0 20px;font-size:24px}#workshop-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.workshop-character{min-width:0;color:inherit;font:16px var(--body);cursor:pointer;background:#f5ead3;border:2px solid #b6a28c;border-radius:10px;flex-direction:column;align-items:center;gap:8px;padding:14px 8px;display:flex}.workshop-character:disabled{opacity:.45;cursor:default}.workshop-character:hover:not(:disabled){background:#fff0cb;border-color:#416c56}.workshop-character__portrait{aspect-ratio:1;background:#e9dcc2;border-radius:8px;width:88px;max-width:100%;display:block;position:relative;overflow:hidden}.workshop-character__portrait img{max-width:none;position:absolute}#workshop-picker-close{min-height:44px;font:16px var(--body);margin:20px 0 0 auto;padding:8px 20px;display:block}html[data-device=mobile] #workshop-picker{padding:16px}html[data-device=mobile] #workshop-picker h2{margin-bottom:12px;font-size:20px}html[data-device=mobile] .workshop-character{padding:8px 4px;font-size:14px}#command-sequence .tracker-relic-rail,#command-sequence .relic-slot{pointer-events:auto}.resource-wallet{z-index:72;max-width:calc(100% - 28px);font:800 17px/1.1 var(--body);color:#433d55;align-items:center;gap:8px;display:flex;position:absolute;top:8px;left:14px}.resource-wallet>span{background:#fff8e9ed;border:1px solid #b8a78b;border-radius:8px;align-items:center;gap:6px;min-height:34px;padding:3px 10px 3px 5px;display:flex;box-shadow:0 2px 3px #39263b18}.resource-wallet img{object-fit:contain;width:28px;height:28px;display:block}.resource-wallet b{font-variant-numeric:tabular-nums}.app[data-screen=title] .resource-wallet{top:62px}html[data-device=mobile] .resource-wallet{gap:5px;font-size:15px;top:7px;left:8px}html[data-device=mobile] .resource-wallet>span{min-height:30px;padding:2px 7px 2px 4px}html[data-device=mobile] .resource-wallet img{width:25px;height:25px}.result-reward--resource{grid-template-columns:64px minmax(0,1fr)}@media (max-width:780px){.result-reward--resource{grid-template-columns:48px minmax(0,1fr)}}@media (max-height:600px){.result-panel{grid-template-rows:auto auto minmax(0,1fr) auto;gap:8px;max-height:calc(100dvh - 16px);padding:16px 24px;overflow:hidden}.result-panel>.result-sigil,.result-panel>.eyebrow,.result-panel>.result-rule{display:none}.result-panel h2{margin:0;font-size:30px}.result-panel .result-rewards{min-height:0;margin-top:0;overflow-y:auto}}.special-panel.is-personality-room{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#30283799;padding:20px;inset:56px 0 0}.special-panel.is-personality-room>div{background:linear-gradient(#fff7e8f2,#fff7e8f2),url(../assets/images/dolls/common/laboratory-full-v3.webp) 50%/cover;border:2px solid #ae9271;border-radius:18px;width:1160px;min-width:0;max-width:100%;max-height:100%;padding:28px;overflow:auto;box-shadow:0 12px 36px #211a3040,inset 0 0 0 5px #fffaf0}.is-personality-room #special-title{color:#35313a;font-size:34px}.is-personality-room #special-description{max-width:none;margin-bottom:22px;font-size:20px;font-weight:500}.is-personality-room .special-actions{align-items:stretch;gap:16px}.personality-doll{border:1px solid color-mix(in srgb,var(--doll-accent) 35%,#d9c7ac);text-align:left;background:#fffaf1;border-radius:12px;min-width:0;padding:18px;box-shadow:0 4px #c9b49360}.personality-doll header{align-items:center;gap:14px;min-height:88px;display:flex}.personality-doll h3{margin:0;font-size:23px;line-height:1.35}.personality-doll__face{aspect-ratio:1;background:color-mix(in srgb,var(--doll-accent) 12%,#fff7e8);outline:1px solid color-mix(in srgb,var(--doll-accent) 30%,transparent);border-radius:9px;flex:none;width:80px;display:block;position:relative;overflow:hidden}.personality-doll__face img{max-width:none;position:absolute}.personality-doll__current{background:color-mix(in srgb,var(--doll-accent) 8%,#f5ecd7);border-radius:8px;gap:5px;margin:16px 0;padding:14px;display:grid}.is-personality-room .personality-doll__current small{color:#71645e;font-size:16px}.is-personality-room .personality-doll__current strong{color:#403443;font-size:24px}.personality-doll__current>span{font-size:18px;line-height:1.4}.personality-doll__choices{gap:9px;display:grid}.is-personality-room .personality-doll__choices button{text-align:left;background:#fff4d8;border:1px solid #baa17b;border-radius:8px;min-height:72px;padding:12px 14px;box-shadow:0 2px #d6be95}.is-personality-room .personality-doll__choices button strong{justify-content:space-between;font-size:21px;display:flex}.personality-doll__choices button>span{font-size:17px;line-height:1.4}.is-personality-room .personality-doll__empty{color:#81766d;margin:0;padding:18px 2px;font-size:18px;font-weight:500}.is-personality-room .personality-room__leave{background:#eee0c6;border:1px solid #9c8468;border-radius:9px;grid-column:1/-1;justify-self:center;width:320px;max-width:100%;min-height:54px;margin-top:6px;font-size:21px;box-shadow:0 3px #b69a73}html[data-device=mobile] .special-panel.is-personality-room{padding:8px;inset:40px 0 0}html[data-device=mobile] .special-panel.is-personality-room>div{border-radius:12px;padding:14px}html[data-device=mobile] .is-personality-room #special-kicker{display:none}html[data-device=mobile] .is-personality-room #special-title{margin:0 0 6px;font-size:23px}html[data-device=mobile] .is-personality-room #special-description{margin-bottom:12px;font-size:14px}html[data-device=mobile] .personality-doll{padding:10px}html[data-device=mobile] .personality-doll header{gap:8px;min-height:44px}html[data-device=mobile] .personality-doll h3{font-size:15px}html[data-device=mobile] .personality-doll__face{width:44px}html[data-device=mobile] .personality-doll__current{gap:3px;margin:9px 0;padding:8px}html[data-device=mobile] .personality-doll__current small,html[data-device=mobile] .personality-doll__current>span,html[data-device=mobile] .personality-doll__choices button>span,html[data-device=mobile] .is-personality-room .personality-doll__empty{font-size:14px}html[data-device=mobile] .personality-doll__current strong,html[data-device=mobile] .personality-doll__choices button strong{font-size:17px}html[data-device=mobile] .is-personality-room .personality-room__leave{z-index:2;min-height:44px;font-size:16px;position:sticky;bottom:0;box-shadow:0 -5px 12px #fff7e8,0 2px #b69a73}@media (orientation:landscape) and (min-width:1200px) and (max-width:1400px) and (min-height:650px) and (max-height:760px){html,body,.app{overflow:hidden}.formation-lane{translate:0 100px}.formation--enemy .formation-lane{translate:0 160px}#battle-familiar{translate:0 100px}.chain-cutin{height:180px;position:fixed;top:50vh}.chain-cutin--large{height:440px}.ultimate-cutin,.boss-phase-cutin{position:fixed;inset:48px 0 0}.ultimate-cutin__hero{height:78%;bottom:4%}#hand-grid .battle-card{--hand-rest-y:100px}body:not(:has(>.drag-ghost)) #hand-grid .battle-card:not(:disabled)[aria-pressed=true]{transform:translateY(calc(var(--fan-y,0px) - 54px)) rotate(0deg) scale(1.5)!important}body:not(:has(>.drag-ghost)) #hand-grid .battle-card[aria-pressed=true] .battle-card__performance{display:flex;overflow:hidden}body:not(:has(>.drag-ghost)) #hand-grid .battle-card[aria-pressed=true] :is(.battle-card__copy,.battle-card__role-symbol){display:none}.event-book{padding:18px 30px;inset:0}.event-book__sheet{box-sizing:border-box;overscroll-behavior:contain;flex-direction:column;justify-content:center;width:100%;height:100%;max-height:none;padding:32px 44px 24px;display:flex;overflow:auto}.event-book__sheet h2{margin:6px 0 10px;font-size:38px}.event-book__sheet>p{max-width:1040px;margin-bottom:14px;font-size:18px;line-height:1.55}.event-book__route{margin-top:-2px!important;font-size:16px!important}.event-book__relics{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;width:100%;max-width:none;margin:16px auto 20px}.event-book__relic{gap:12px;padding:16px}.event-book__relic i{font-size:30px}.event-book__relic small{font-size:11px}.event-book__relic strong{font-size:20px}.event-book__relic em{font-size:15px;line-height:1.5}.event-book__close{min-height:52px;font-size:17px}:is(#card-reward-dialog,#stat-reward-dialog){width:calc(100vw - 72px);height:calc(100dvh - 48px);max-height:none;padding:30px 40px;overflow:hidden}:is(#card-reward-dialog,#stat-reward-dialog)[open]{grid-template-rows:auto auto auto minmax(0,1fr) auto;display:grid}:is(#card-reward-dialog,#stat-reward-dialog) h2{margin:6px 0 8px;font-size:36px}.card-reward-kicker{font-size:17px}.card-reward-copy{margin-bottom:16px;font-size:18px}.card-reward-options{gap:18px;min-height:0}.card-reward-options.is-card-list{grid-template-rows:minmax(0,1fr) auto}.card-reward-options button{gap:12px;padding:22px}.card-reward-options.is-card-list button{min-height:0}.card-reward-options small{font-size:14px}.card-reward-options strong{font-size:25px}.card-reward-options span,.card-reward-options p,.card-reward-options b{font-size:17px}.card-reward-back{min-height:48px;font-size:17px}.stat-reward-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;min-height:0}.stat-reward-list article{align-content:center;gap:12px;padding:24px;font-size:18px}.stat-reward-list article:only-child{grid-column:1/-1}.stat-reward-list article strong{font-size:24px}.stat-reward-list article span{font-size:20px}.stat-reward-list article small{font-size:17px;line-height:1.5}.toast{text-align:center;max-width:min(900px,100vw - 48px);padding:14px 24px;font-size:18px;line-height:1.45}}.formation--enemy .battle-unit:is([data-rank=boss],[data-rank=guardian])>.unit-art-wrap>.unit-hp{display:none!important}.formation--enemy>.boss-status-panel>.enemy-role-badge{inset:50% calc(100% + 10px) auto auto;transform:translateY(-50%)}.formation--enemy>.boss-status-panel:has(>.enemy-role-badge:is(:hover,:focus)){z-index:150}:is(.chain-cutin,.ultimate-cutin,.boss-phase-cutin)[popover]{max-width:none;max-height:none;color:inherit;margin:0;padding:0;position:fixed}:is(.ultimate-cutin,.boss-phase-cutin)[popover]{box-sizing:border-box;width:100vw;height:100dvh}.chain-cutin[popover]{border:0;bottom:auto;right:auto}.ultimate-cutin[popover]{border:0}.resource-wallet>span{box-shadow:none;background:0 0;border:0}.round-label{box-shadow:none;text-shadow:none;background:0 0;border:0;padding:0}.round-paper-lettering{--copy-personal:#d8a447;width:142px;height:34px;display:block;overflow:visible}.round-paper-lettering text{letter-spacing:1px;font-size:24px}.round-paper-lettering .origami-copy__outline{stroke:#775134;stroke-width:.7px}.round-paper-lettering .origami-copy__shadow{opacity:.25;transform:translate(1px,2px)}@media (max-width:800px){.round-paper-lettering{width:102px;height:27px}#battle-speed-toggle{min-height:28px;padding:3px 7px}}.special-panel.is-personality-room>div{width:1440px;padding:24px;position:relative;overflow:hidden}.is-personality-room #special-kicker{display:none}.is-personality-room #special-title{min-height:42px;margin:0;padding-left:82px}.is-personality-room #special-title:before{content:"";background:url(../assets/images/dolls/common/workshop.webp) 50%/contain no-repeat;width:68px;height:80px;position:absolute;top:14px;left:26px}.is-personality-room #special-description{margin:6px 0 16px;padding-left:82px;font-size:17px}.is-personality-room .special-actions{flex-direction:column;gap:12px;display:flex}.is-personality-room .personality-doll{box-shadow:none;grid-template-columns:180px minmax(0,1fr);gap:12px;padding:10px;display:grid}.is-personality-room .personality-doll header{gap:9px;min-height:74px}.is-personality-room .personality-doll h3{font-size:18px}.is-personality-room .personality-doll__face{width:58px}.is-personality-room .personality-doll__choices{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;display:grid}.is-personality-room .personality-doll__choices button{min-width:0;min-height:86px;box-shadow:none;padding:10px}.is-personality-room .personality-doll__choices button strong{font-size:18px}.is-personality-room .personality-doll__choices button>span{font-size:14px}.is-personality-room .personality-doll__choices button[aria-pressed=true]{background:#e5eed9;border-color:#4e7964;box-shadow:inset 0 0 0 1px #4e7964}.is-personality-room .personality-room__leave{color:#fffaf0;background:#456f59;align-self:center;width:220px;min-height:44px;margin:0}html[data-device=mobile] .special-panel.is-personality-room>div{padding:9px}html[data-device=mobile] .is-personality-room #special-title{min-height:24px;margin:0;padding-left:45px;font-size:21px}html[data-device=mobile] .is-personality-room #special-title:before{width:38px;height:43px;top:8px;left:12px}html[data-device=mobile] .is-personality-room #special-description{margin:2px 0 6px;padding-left:45px;font-size:11px}html[data-device=mobile] .is-personality-room .special-actions{gap:5px}html[data-device=mobile] .is-personality-room .personality-doll{grid-template-columns:92px minmax(0,1fr);gap:5px;padding:4px}html[data-device=mobile] .is-personality-room .personality-doll header{gap:5px;min-height:50px}html[data-device=mobile] .is-personality-room .personality-doll h3{font-size:11px}html[data-device=mobile] .is-personality-room .personality-doll__face{width:32px}html[data-device=mobile] .is-personality-room .personality-doll__choices{gap:3px}html[data-device=mobile] .is-personality-room .personality-doll__choices button{min-height:54px;padding:4px}html[data-device=mobile] .is-personality-room .personality-doll__choices button strong{font-size:12px}html[data-device=mobile] .is-personality-room .personality-doll__choices button>span{font-size:9px;line-height:1.3;display:block}html[data-device=mobile] .is-personality-room .personality-room__leave{width:150px;min-height:28px;font-size:14px}#map-screen #special-panel.is-personality-room>div{flex-direction:column;display:flex;overflow:hidden}#map-screen .is-personality-room .special-actions{flex:1;min-height:0;margin:0}#map-screen .is-personality-room .personality-doll{flex:1;min-height:0;padding:6px}#map-screen .is-personality-room .personality-doll header{min-height:0}#map-screen .is-personality-room .personality-doll__choices button{min-height:0;padding:6px;transform:none}#map-screen .is-personality-room .personality-room__leave{flex:none}@media (max-height:500px){#map-screen #special-panel.is-personality-room>div{padding:6px 10px!important}#map-screen #special-panel.is-personality-room h2{font-size:19px!important}#map-screen .is-personality-room #special-description{margin:0 0 4px;font-size:10px}#map-screen .is-personality-room .personality-doll{padding:3px}#map-screen .is-personality-room .personality-doll__face{width:27px}#map-screen .is-personality-room .personality-doll__choices button{padding:3px}#map-screen .is-personality-room .personality-doll__choices button>span{display:none}#map-screen .is-personality-room .personality-doll__choices button strong{justify-content:center}#map-screen .is-personality-room .personality-room__leave{min-height:28px;padding:4px 12px;line-height:1.2}}#map-screen .is-personality-room .personality-doll__choices button strong{justify-content:center}#map-screen .is-personality-room .personality-doll__choices button{text-align:center;justify-content:center;align-items:center;display:flex}.personality-paper-name{pointer-events:none;width:100%;height:44px;max-height:100%;display:block;overflow:visible}.personality-paper-name text{dominant-baseline:central;font-size:44px}.personality-paper-name .origami-copy__paper{fill:var(--copy-personal)}.personality-paper-name .origami-copy__light{fill:color-mix(in srgb,var(--copy-personal) 68%,#fff4d9)}.personality-paper-name .origami-copy__dark{fill:color-mix(in srgb,var(--copy-personal) 80%,#392a32)}.personality-paper-name .origami-copy__outline{stroke:color-mix(in srgb,var(--copy-personal) 60%,#392a32);stroke-width:.7px}.personality-paper-name .origami-copy__shadow{opacity:.22;transform:translate(1px,1.5px)}html[data-device=mobile] .personality-paper-name{height:18px}html body #battle-screen .battle-console{z-index:200}html body #battle-screen #hand-grid{isolation:isolate;z-index:201}#hand-grid .battle-card{z-index:calc(210 + var(--fan-order))}#hand-grid .battle-card[data-chain-group]{margin-inline:0}#hand-grid .battle-card.is-chain-follow{margin-left:calc(var(--hand-card-width) * -.86)}body:not(:has(>.drag-ghost)) #hand-grid .battle-card.is-card-hover{z-index:calc(310 + var(--fan-order))}html body #battle-screen #hand-grid .battle-card:is(.is-card-hover,:focus-visible,[aria-pressed=true]):not(.is-hand-withdrawn){transform:translateY(calc(var(--hand-card-width) * -.75)) rotate(0deg) scale(1.12)!important;z-index:calc(400 + var(--fan-order))!important}html body #battle-screen #hand-grid .battle-card.is-card-hover:not(.is-hand-withdrawn):after{width:100%;height:calc(var(--hand-card-width) * .75 + 8px);pointer-events:auto;position:absolute;top:100%;left:0;content:""!important}html body #battle-screen .battle-item-dock{bottom:max(56px,calc(env(safe-area-inset-bottom) + 32px))}html body #potion-description{box-sizing:border-box;color:#45372a;pointer-events:auto;text-align:center;gap:8px;width:min(300px,100vw - 32px);padding:14px 18px}#potion-description .potion-preview{cursor:grab;touch-action:none;background:0 0;border:0;justify-self:center;width:112px;height:112px;padding:4px}#potion-description .potion-preview img{object-fit:contain;pointer-events:none;width:100%;height:100%}#potion-description .potion-preview.is-dragging{opacity:.35}#potion-description .potion-preview:focus-visible{outline-offset:2px;outline:2px solid #876536}#potion-description small{font-size:12px;line-height:1.4}@media (max-height:520px){html body #potion-description{gap:5px;width:250px;padding:10px 14px;font-size:13px}#potion-description .potion-preview{width:88px;height:88px}#potion-description strong{font-size:16px}}html body #potion-description{grid-template-columns:112px minmax(0,1fr);width:340px;max-width:calc(100vw - 16px)}#potion-description strong{grid-column:1/-1}#potion-description .potion-preview{grid-area:2/1/4}#potion-description :is(span,small){grid-column:2;align-self:center}@media (max-height:520px){html body #potion-description{grid-template-columns:64px minmax(0,1fr);gap:4px 8px;width:280px;padding:8px 12px;font-size:12px}#potion-description .potion-preview{width:64px;height:64px}#potion-description small{font-size:11px}}html body #potion-description{pointer-events:none;transform-origin:0 0;grid-template-rows:auto minmax(0,1fr) auto auto;grid-template-columns:1fr;gap:10px;padding:16px;font-size:14px;transform:scale(.666667)}html body #potion-description>*{grid-area:auto}html body #potion-description .potion-preview{object-fit:contain;pointer-events:none;width:100%;height:100%;min-height:0;padding:0}html body #battle-potions .potion-slot.is-dragging{opacity:.35}.enemy-role-value-wrap{align-items:center;display:flex;position:relative}.enemy-role-symbol[data-role=attack]+.enemy-role-value-wrap{translate:0 6px}html[data-device=mobile] .battle-unit--enemy .enemy-role-badge{translate:0 8px}.enemy-intent-targets{pointer-events:none;white-space:nowrap;z-index:9;justify-content:center;align-items:center;gap:2px;min-height:16px;display:flex;position:absolute;bottom:calc(100% + 2px);left:50%;transform:translate(-50%)}.enemy-intent-targets[hidden]{display:none}html[data-device=mobile] .formation--enemy>.boss-status-panel>.enemy-role-badge{top:calc(50% + 14px)}.enemy-intent-target{background:#f8edcd;border:1px solid #725735;border-radius:2px;flex:0 0 16px;width:16px;height:16px;display:block;position:relative;overflow:hidden}.enemy-intent-target img{pointer-events:none;max-width:none;height:auto;display:block;position:absolute}.enemy-intent-target-unknown{color:#332b24;font:900 13px/1 var(--display);background:#fff3d3;border:1px solid #725735;border-radius:2px;flex:0 0 16px;place-items:center;width:16px;height:16px;display:grid}#unit-status-tooltip.is-card-detail{width:min(430px,100vw - 16px);font-size:14px;line-height:1.45}
