:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#f6f1dc;background:#111415;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;text-size-adjust:100%;width:100%;overflow-x:hidden;background:#0d0f10}body{margin:0;width:100%;max-width:100vw;min-width:320px;min-height:100vh;overflow-x:hidden;overscroll-behavior-x:none;background:radial-gradient(circle at 50% 0%,rgba(103,127,116,.18),transparent 42%),linear-gradient(180deg,#161b1a,#0d0f10)}#root{width:100%;max-width:100vw;overflow-x:hidden}button{font:inherit}.app{width:100%;overflow-x:clip;min-height:100vh;display:grid;place-items:center;padding:18px}.app--stageSelect{padding:0;background:radial-gradient(circle at 50% 20%,rgba(95,173,86,.22),transparent 46%),#12371f}.stageSelect{position:relative;width:min(100vw,150vh,1536px);height:min(100vh,66.67vw,1024px);aspect-ratio:3 / 2;background:url(../stage-select/stage-select-world.webp) center / contain no-repeat}.stageSelectMobileHeader,.stageHotspotMobileCopy{display:none}.stageMedalBalance{position:absolute;top:1.5%;left:1.5%;z-index:3;min-width:112px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border:2px solid rgba(255,224,112,.9);border-radius:999px;background:linear-gradient(180deg,#4e3a10f0,#1a1408f5);color:#fff1a8;box-shadow:0 4px #2b19039e;font-size:12px;font-weight:900}.stageMedalBalance strong{font-size:18px;line-height:1}.stageHotspot{position:absolute;display:grid;place-items:end center;border:0;border-radius:18px;padding:0 0 10px;background:#0000;color:transparent}.stageHotspot span{opacity:0;border:2px solid rgba(255,236,156,.92);border-radius:999px;padding:5px 13px;background:linear-gradient(180deg,#fff4a8,#c57916);color:#3d2107;font-size:13px;font-weight:900;text-shadow:0 1px 0 rgba(255,255,255,.45);box-shadow:0 3px #3619039e}@media(max-width:560px)and (orientation:portrait){.app--stageSelect{min-height:100dvh;display:block;padding:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));overflow-y:auto;background:radial-gradient(circle at 50% 12%,rgba(224,193,83,.24),transparent 34%),linear-gradient(180deg,#244f32,#0d2619 72%)}.stageSelect{width:100%;height:calc(100dvh - max(20px,env(safe-area-inset-top)) - max(20px,env(safe-area-inset-bottom)));min-height:620px;aspect-ratio:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:68px repeat(5,minmax(72px,1fr)) 58px 48px;gap:7px;padding:8px;border:3px solid #d5b75c;border-radius:18px;overflow:hidden;background:linear-gradient(180deg,#072018d1,#071611f0),url(../stage-select/stage-select-world.webp) center / cover no-repeat;box-shadow:inset 0 0 0 3px #fff1a975,0 10px 28px #0000006b}.stageSelectMobileHeader{grid-column:1 / -1;display:flex;flex-direction:column;justify-content:center;min-width:0;padding:7px 118px 7px 12px;border:2px solid rgba(247,218,124,.76);border-radius:12px;background:linear-gradient(135deg,#105642f5,#072e27f7);color:#fff4bf;box-shadow:inset 0 0 14px #70eeb11f}.stageSelectMobileHeader span{color:#8fe7c4;font-size:9px;font-weight:900;letter-spacing:.14em}.stageSelectMobileHeader h1{margin:1px 0 0;font-size:clamp(22px,7vw,29px);line-height:1;letter-spacing:.04em;text-shadow:0 2px 0 rgba(0,0,0,.52)}.stageMedalBalance{top:44px;right:20px;left:auto;min-width:96px;max-width:108px;gap:6px;padding:7px 9px;font-size:9px}.stageMedalBalance strong{min-width:0;overflow:hidden;font-size:16px;text-overflow:ellipsis}.stageHotspot{position:relative;inset:auto!important;width:auto!important;height:auto!important;min-width:0;display:block;padding:0;overflow:hidden;border:2px solid rgba(226,201,112,.74);border-radius:12px;background:radial-gradient(circle at 92% 10%,rgba(255,222,90,.2),transparent 32%),linear-gradient(145deg,#16654bf7,#07302bfa);color:#fff9d8;box-shadow:inset 0 0 0 2px #ffffff0f,0 3px #0000006b;text-align:left;touch-action:manipulation}.stageHotspot:nth-of-type(3n+1){background:radial-gradient(circle at 92% 10%,rgba(112,211,255,.2),transparent 32%),linear-gradient(145deg,#185b5df7,#072d30fa)}.stageHotspot:active{transform:translateY(2px);box-shadow:inset 0 0 0 2px #ffffff0f}.stageHotspotStatus{display:none}.stageHotspotMobileCopy{height:100%;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr;align-items:center;column-gap:8px;padding:8px 9px}.stageHotspotMobileCopy b{grid-row:1 / 3;display:grid;place-items:center;width:43px;height:43px;border:2px solid rgba(255,232,144,.68);border-radius:50%;background:#04181485;color:#ffe99d;font-size:10px;line-height:1;text-align:center}.stageHotspotMobileCopy strong{align-self:end;min-width:0;overflow:hidden;color:#fff8d6;font-size:clamp(15px,4.6vw,19px);line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.stageHotspotMobileCopy small{align-self:start;margin-top:3px;color:#a9dfc9;font-size:9px;font-weight:800}.stageSelect .stageHotspot:disabled{border-color:#a4a8977a;background:linear-gradient(145deg,#36423df5,#171d1bfa);-webkit-backdrop-filter:none;backdrop-filter:none;opacity:.78}.stageSelect .stageHotspot:disabled .stageHotspotMobileCopy strong,.stageSelect .stageHotspot:disabled .stageHotspotMobileCopy small,.stageSelect .stageHotspot:disabled .stageHotspotMobileCopy b{color:#c7cbc5}.stageSelect .stageWorldButton,.stageSelect .stageItemButton{position:relative;inset:auto;width:auto;height:auto;min-width:0;border:2px solid rgba(255,226,130,.74);border-radius:12px;background:linear-gradient(180deg,#6c4914fa,#362108fa);color:#fff1b1;font-size:16px;font-weight:900;box-shadow:0 3px #0000006b;text-shadow:0 2px 0 rgba(0,0,0,.45);touch-action:manipulation}.stageSelect .stageItemButton{padding-right:42px}.stageSelect .stageItemButton small{right:7px;bottom:auto;padding:3px 6px;font-size:9px}.stageSelect .debugUnlockPanel{position:relative;inset:auto;grid-column:1 / -1;width:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;padding:5px 7px;border-width:1px;box-shadow:none}.stageSelect .debugUnlockPanel input{height:34px;padding:5px 8px}.stageSelect .debugUnlockPanel span{min-width:50px;font-size:9px}}.stageHotspot--unlocked{cursor:pointer}.stageHotspot--unlocked:hover,.stageHotspot--unlocked:focus-visible{outline:4px solid rgba(255,230,78,.95);outline-offset:-4px;background:#ffe45c1f}.stageHotspot--unlocked:hover span,.stageHotspot--unlocked:focus-visible span{opacity:1}.stageHotspot--settings span{border-color:#9de7ffeb;background:linear-gradient(180deg,#c5f5ff,#2b8ec6);color:#08263a}.stageHotspot:disabled{cursor:not-allowed;background:#090f0e8a;-webkit-backdrop-filter:grayscale(1) brightness(.48);backdrop-filter:grayscale(1) brightness(.48)}.stageHotspot:disabled span{opacity:1;border-color:#cdd5cfc7;background:linear-gradient(180deg,#747c78,#343a37);color:#f1f3f2;box-shadow:0 3px #0b0f0dad}.stageWorldButton,.stageItemButton{position:absolute;top:86.3%;height:9.7%;display:grid;place-items:center;border:0;border-radius:18px;background:#ffdd7114;color:transparent;cursor:pointer}.stageWorldButton{left:19.5%;width:25.9%}.stageItemButton{left:45.7%;width:31.4%}.stageWorldButton:hover,.stageWorldButton:focus-visible,.stageItemButton:hover,.stageItemButton:focus-visible{outline:4px solid rgba(255,230,78,.95);outline-offset:-4px;background:#ffe45c29}.stageItemButton small{position:absolute;right:12%;bottom:10%;border:2px solid rgba(255,236,156,.92);border-radius:999px;padding:4px 10px;background:linear-gradient(180deg,#fff4a8,#c57916);color:#3d2107;font-size:12px;font-weight:900;box-shadow:0 3px #3619039e}.app--worldMap{padding:0;background:#07131b}.worldMap{position:relative;width:min(100vw,calc(100vh * 1.3333),1448px);height:min(100vh,75vw,1086px);aspect-ratio:4 / 3;overflow:hidden;background:#07131b}.worldMapViewport,.worldMapCanvas{position:absolute;inset:0}.worldMapMobileStageList{display:none}.worldMapImage{display:block;width:100%;height:100%;object-fit:contain}.worldMapStageColors{position:absolute;z-index:1;inset:0;display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.worldMapStageColors--completedShrines{filter:hue-rotate(165deg) saturate(1.35) brightness(1.02)}.worldMapStageColors--lockedCastles{filter:grayscale(1) saturate(0) contrast(1.04)}.worldStageHotspot{position:absolute;z-index:2;transform:translate(-50%,-50%);border:0;border-radius:50%;padding:0;background:transparent;color:transparent;cursor:pointer;transition:filter .16s ease,background .16s ease,box-shadow .16s ease}.worldStageHotspot--castle{width:12%;height:15%}.worldStageHotspot--shrine{width:6.2%;height:9.4%}.worldStageHotspot span{position:absolute;left:50%;bottom:-7px;transform:translate(-50%,100%);min-width:max-content;border:1px solid rgba(255,238,170,.95);border-radius:999px;padding:3px 7px;background:#131b22f0;color:#fff2b8;font-size:clamp(9px,1vw,14px);font-weight:900;opacity:0;pointer-events:none}.worldStageHotspot i{position:absolute;left:50%;top:42%;width:18%;aspect-ratio:1;transform:translate(-50%,-50%) rotate(45deg);border:2px solid rgba(255,255,224,.96);border-radius:22% 48%;background:linear-gradient(135deg,#fffbd0,#ffe437 38%,#f39b00);box-shadow:0 0 8px #fff7a4,0 0 18px #ffc400;opacity:0;pointer-events:none}.worldStageHotspot--castle.worldStageHotspot--unlocked i{opacity:1}.worldStageHotspot--unlocked{background:transparent}.worldStageHotspot--castle.worldStageHotspot--unlocked{background:radial-gradient(ellipse,rgba(255,226,56,.16),transparent 68%);box-shadow:0 0 13px #ffcd2375}.worldStageHotspot--completed,.worldStageHotspot--base.worldStageHotspot--completed{background:transparent}.worldStageHotspot--locked{cursor:default}.worldStageHotspot--base.worldStageHotspot--completed span{opacity:1}.worldStageHotspot:hover,.worldStageHotspot:focus-visible{outline:3px solid rgba(80,210,255,.96);outline-offset:2px;filter:brightness(1.18)}.worldStageHotspot--locked:hover{outline:none;background:transparent}.worldStageHotspot--debug-access{cursor:pointer}.worldStageHotspot--locked.worldStageHotspot--debug-access:hover,.worldStageHotspot--locked.worldStageHotspot--debug-access:focus-visible{outline:3px solid rgba(105,235,130,.96);outline-offset:2px;filter:brightness(1.14)}.worldStageHotspot--settings:hover,.worldStageHotspot--settings:focus-visible{outline-color:#ffd84bfa}.worldStageHotspot:hover span,.worldStageHotspot:focus-visible span{opacity:1}.worldCompleteBanner{position:absolute;z-index:4;left:50%;top:5%;transform:translate(-50%);display:grid;justify-items:center;min-width:min(62%,560px);border:3px solid #ffe982;border-radius:18px;padding:10px 24px;background:linear-gradient(180deg,#1869bef7,#052c70fa);color:#fff8ce;box-shadow:0 0 24px #3ed0ffe0,0 5px #041843bf;text-align:center;pointer-events:none}.worldCompleteBanner strong{font-size:clamp(20px,3vw,42px);letter-spacing:.08em}.worldCompleteBanner span{font-size:clamp(10px,1.2vw,16px);font-weight:800}.worldMapBackButton{position:absolute;left:2.2%;top:2.2%;min-height:42px;border:2px solid rgba(255,228,139,.9);border-radius:12px;padding:9px 16px;background:linear-gradient(180deg,#513a15f5,#221608fa);color:#fff0b2;box-shadow:0 4px #190e03b3;cursor:pointer;font-weight:900}.worldMapBackButton:hover,.worldMapBackButton:focus-visible{outline:3px solid rgba(104,209,255,.95);outline-offset:2px;filter:brightness(1.15)}@media(max-width:720px)and (orientation:portrait){.app--worldMap{min-height:100dvh;align-items:start;overflow:hidden}.worldMap{width:100vw;height:100dvh;aspect-ratio:auto;display:grid;grid-template-rows:minmax(300px,58dvh) minmax(0,1fr);overflow:hidden}.worldMapViewport{position:relative;inset:auto;width:100%;height:100%;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;scrollbar-width:none}.worldMapViewport::-webkit-scrollbar{display:none}.worldMapCanvas{position:relative;inset:auto;width:max(176vw,720px);height:auto;aspect-ratio:4 / 3}.worldMapImage,.worldMapStageColors{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}.worldStageHotspot:not(:disabled) span,.worldStageHotspot--base.worldStageHotspot--completed span{opacity:1;bottom:-3px;padding:2px 5px;font-size:10px}.worldMapMobileStageList{position:relative;z-index:5;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:7px;padding:10px 10px max(12px,env(safe-area-inset-bottom));border-top:2px solid rgba(255,228,139,.75);background:linear-gradient(180deg,#14231f,#071310);overflow:hidden}.worldMapMobileStageList h2{margin:0;padding-left:0;color:#fff1bd;font-size:15px}.worldMapMobileStageList>div{min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;align-content:start;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scroll-padding-bottom:max(16px,env(safe-area-inset-bottom));padding-bottom:max(16px,env(safe-area-inset-bottom))}.worldMapMobileStageButton{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:6px;border:2px solid #8b774c;border-radius:9px;padding:7px 9px;background:linear-gradient(180deg,#33423a,#17241f);color:#fff4ce;text-align:left;touch-action:manipulation}.worldMapMobileStageButton strong{font-size:14px}.worldMapMobileStageButton span{color:#c7d3c6;font-size:9px;white-space:nowrap}.worldMapMobileStageButton--completed{border-color:#d8bd62;background:linear-gradient(180deg,#4b4b2c,#242815)}.worldMapBackButton{position:fixed;z-index:101;left:max(8px,env(safe-area-inset-left));top:max(8px,env(safe-area-inset-top));min-height:44px;padding:7px 10px;font-size:12px}.worldMap .worldDebugUnlockPanel{display:none}}@media(max-width:560px)and (orientation:portrait){body:has(.gameShell:not(.gameShell--replay)) .headerAuxiliary{display:block}body:has(.gameShell:not(.gameShell--replay)) .headerAuxiliary .statusEffects{display:none}body:has(.gameShell:not(.gameShell--replay)) .headerAuxiliary .equipmentSlots{position:static;z-index:auto;width:100%;max-width:100%;height:auto;min-height:46px;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:5px;overflow-x:auto;overflow-y:hidden;padding:2px 0;scrollbar-width:none;box-sizing:border-box}body:has(.gameShell:not(.gameShell--replay)) .headerAuxiliary .equipmentSlots::-webkit-scrollbar{display:none}body:has(.gameShell:not(.gameShell--replay)) .headerAuxiliary .equipmentSlot,body:has(.gameShell:not(.gameShell--replay)) .headerAuxiliary .equipmentSlot .panelHeading{flex:0 0 42px;width:42px;height:42px}body:has(.gameShell:not(.gameShell--replay)) .headerAuxiliary .equipmentSlot .panelHeading{padding:2px;border:2px solid #d5bd76;border-radius:9px;background:linear-gradient(180deg,#315248,#17342e);touch-action:manipulation}body:has(.gameShell:not(.gameShell--replay)) .headerAuxiliary .equipmentSlotIcon{width:38px;height:38px}body:has(.gameShell:not(.gameShell--replay)) .headerAuxiliary .equipmentSlotTooltip{display:none}body:has(.gameShell:not(.gameShell--replay)) .equipmentExpandedOverlay{position:fixed;z-index:130;inset:0;width:100vw;height:100dvh;display:grid;place-items:center;padding:max(64px,calc(env(safe-area-inset-top) + 56px)) max(14px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));border:0;background:#030807d1;color:#fff4ca;cursor:pointer;touch-action:manipulation}body:has(.gameShell:not(.gameShell--replay)) .equipmentExpandedPanel{width:min(88vw,350px);max-height:calc(100dvh - 100px);display:grid;justify-items:center;gap:8px;overflow:hidden;padding:12px;border:3px solid #d5bd76;border-radius:14px;background:linear-gradient(180deg,#26332e,#101715);box-shadow:0 18px 48px #000000ad;text-align:center}body:has(.gameShell:not(.gameShell--replay)) .equipmentExpandedPanel img{width:auto;max-width:100%;height:min(46dvh,390px);min-height:0;object-fit:contain;border-radius:7px;image-rendering:pixelated}body:has(.gameShell:not(.gameShell--replay)) .equipmentExpandedPanel .equipmentSlotLabel{padding:3px 10px;border-radius:999px;background:#174d43;color:#9de7ff;font-size:12px}body:has(.gameShell:not(.gameShell--replay)) .equipmentExpandedPanel strong{color:#fff4ca;font-size:18px}body:has(.gameShell:not(.gameShell--replay)) .equipmentExpandedPanel small{color:#d8deca;font-size:13px;line-height:1.45}body:has(.gameShell:not(.gameShell--replay)) .equipmentExpandedPanel em{color:#ffe28e;font-size:11px;font-style:normal}}.mobileGameCanvas{display:contents}@media(max-width:560px)and (orientation:portrait){html:has(.app--gameViewport),body:has(.app--gameViewport){width:100%;height:100%;min-height:0;overflow:hidden;overscroll-behavior:none;background:#10201b}body:has(.app--gameViewport){position:fixed;inset:0}body:has(.gameShell:not(.gameShell--replay)) #root{width:100%;height:100dvh;min-height:0;overflow:hidden}body:has(.gameShell:not(.gameShell--replay)) #root:before{display:none}body:has(.gameShell:not(.gameShell--replay)) .app--gameViewport{width:100vw;height:100dvh;min-height:100dvh;position:fixed;inset:0;overscroll-behavior:none;background:#10201b;display:block;padding:max(2px,env(safe-area-inset-top)) max(2px,env(safe-area-inset-right)) max(2px,env(safe-area-inset-bottom)) max(2px,env(safe-area-inset-left));overflow:hidden}.mobileGameCanvas{display:block;overflow:hidden;background:linear-gradient(180deg,#101f1bfa,#071411f5)}body:has(.gameShell:not(.gameShell--replay)) .topPanel>.audioSettingsControl{position:absolute;z-index:100;top:-50px;right:8px}body:has(.gameShell:not(.gameShell--replay)) .topPanel>.audioSettingsControl>.panelHeading{min-width:86px;min-height:42px;display:grid;place-items:center;padding:6px 10px;border:2px solid #d5bd76;border-radius:12px;background:linear-gradient(180deg,#225f58,#0c403f);color:#fff1bd;font-size:15px;line-height:1}}@media(max-width:560px)and (orientation:portrait){body:has(.app--stageSelect) #root,body:has(.app--worldMap) #root{--mobile-common-header-height: calc(max(8px, env(safe-area-inset-top)) + 52px) }body:has(.app--stageSelect) #root:before,body:has(.app--worldMap) #root:before{content:"";position:fixed;z-index:90;top:0;right:0;left:0;height:var(--mobile-common-header-height);border-bottom:2px solid rgba(213,183,92,.72);background:linear-gradient(180deg,#101f1bfa,#071411f5);box-shadow:0 4px 12px #00000061;pointer-events:none}body:has(.app--stageSelect)>#root>.audioSettingsControl,body:has(.app--worldMap)>#root>.audioSettingsControl{position:fixed;z-index:100;top:max(8px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right))}body:has(.app--stageSelect)>#root>.audioSettingsControl>.panelHeading,body:has(.app--worldMap)>#root>.audioSettingsControl>.panelHeading{min-width:86px;min-height:44px;display:grid;place-items:center;padding:6px 10px;border:2px solid #d5bd76;border-radius:12px;background:linear-gradient(180deg,#225f58,#0c403f);color:#fff1bd;font-size:15px;line-height:1}body:has(.app--stageSelect) .app--stageSelect,body:has(.app--worldMap) .app--worldMap{padding-top:var(--mobile-common-header-height)}body:has(.app--worldMap) .worldMap{height:calc(100dvh - var(--mobile-common-header-height))}body:has(.app--stageSelect) .stageDetailOverlay,body:has(.app--stageSelect) .casinoOverlay,body:has(.app--stageSelect) .collectionOverlay{padding-top:calc(var(--mobile-common-header-height) + 8px)}}.debugUnlockPanel{position:absolute;right:1.4%;bottom:1.4%;width:min(22%,260px);display:grid;gap:5px;padding:8px;border:2px solid rgba(255,231,150,.58);border-radius:9px;background:linear-gradient(180deg,#2a1f0cd1,#0d110fe0),#141817;box-shadow:0 6px #230f0280,inset 0 0 0 2px #ffffff14}.stageDebugDetails{display:contents}.stageDebugDetails>.panelHeading{display:none}.debugUnlockPanel input{min-width:0;border:1px solid rgba(255,236,184,.48);border-radius:5px;padding:6px 8px;background:#050808db;color:#fff4ca;font-size:12px;font-weight:800}.debugUnlockPanel span{color:#d8deca;font-size:11px;font-weight:900;text-align:center}.debugUnlockPanel--active{border-color:#5cdc72eb;box-shadow:0 6px #0c310f8a,0 0 18px #5cdc723d,inset 0 0 0 2px #ffffff1a}.debugUnlockPanel--active span{color:#9dff9f}.worldDebugUnlockPanel{z-index:5;right:auto;left:1.4%}.carryInPanel{position:absolute;left:1.4%;bottom:1.4%;width:min(48%,470px);display:grid;gap:6px;padding:9px;border:2px solid rgba(255,231,150,.86);border-radius:10px;background:linear-gradient(180deg,#3a250ce0,#1d1208e6),#2a1a08;box-shadow:0 7px #230f029e,inset 0 0 0 2px #ffffff1f}.carryInHeader{display:flex;justify-content:space-between;gap:8px;color:#fff2bf;font-size:12px;font-weight:900;text-shadow:0 2px 0 #2a1204}.carryInSlots,.collectionCarrySlots{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px}.carryInSlot{position:relative;display:grid;place-items:center;min-width:0;aspect-ratio:1;border:1px solid rgba(255,236,184,.42);border-radius:5px;background:linear-gradient(135deg,rgba(255,255,255,.1),transparent 44%),#070d0cd6;overflow:hidden;cursor:pointer}.carryInSlot--filled{border-color:#97d568eb;background:#142212e6}.carryInSlot>span:not(.adventureSetArt){position:absolute;left:1px;top:1px;z-index:1;display:grid;place-items:center;width:14px;height:14px;border-radius:3px;background:#040707d1;color:#f7edbe;font-size:9px;font-weight:900}.carryInSlot img{width:132%;height:132%;max-width:none;object-fit:contain;image-rendering:pixelated}.stageCarryInArtwork{position:relative;display:block;aspect-ratio:var(--art-crop-ratio, 1);overflow:hidden;pointer-events:none;transform:scale(var(--art-display-scale, 1))}.stageCarryInArtwork.inventorySlotArtwork--portrait{width:auto;height:100%}.stageCarryInArtwork.inventorySlotArtwork--landscape{width:100%;height:auto}.carryInSlot .stageCarryInArtwork img{position:absolute;left:var(--art-image-left, -4%);top:var(--art-image-top, -30%);width:var(--art-image-width, 185%);height:auto;max-width:none;object-fit:contain}.carryInClearButton{justify-self:end;border:1px solid rgba(255,236,184,.48);border-radius:5px;padding:4px 8px;background:#0c100f9e;color:#f8edbd;cursor:pointer;font-size:11px;font-weight:900}.collectionOverlay{position:fixed;inset:0;z-index:70;display:grid;place-items:center;padding:18px;background:#050807b8}.casinoOverlay{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:18px;background:#030408d6}.casinoPanel{width:min(97vw,1080px);max-height:min(96vh,940px);overflow:auto;display:grid;gap:10px;padding:14px;border:2px solid #ffd75e;border-radius:14px;background:radial-gradient(circle at 50% 0%,rgba(97,63,174,.42),transparent 42%),linear-gradient(180deg,#25203d,#100d1d 62%,#090811);color:#f8f0d0;box-shadow:0 24px 70px #000000b8,inset 0 0 28px #ffd3521a}.casinoHeader{display:flex;align-items:start;justify-content:space-between;gap:16px}.casinoHeader div{min-width:0}.casinoHeader span{color:#d2b3ff;font-size:10px;font-weight:900;letter-spacing:.16em}.casinoHeader h2{margin:2px 0 4px;color:#ffe27c;font-size:clamp(22px,4vw,34px);line-height:1;text-shadow:0 3px 0 #4b2e08,0 0 16px rgba(255,216,82,.34)}.casinoHeader p,.casinoResults p{margin:0;color:#cec7dc;font-size:12px}.casinoHeader button,.casinoConfirm button{flex:0 0 auto;border:1px solid #a58bc9;border-radius:7px;padding:8px 12px;background:linear-gradient(180deg,#4a3b65,#241c35);color:#fff5d1;cursor:pointer;font-weight:900}.casinoHeader button:disabled{opacity:.45;cursor:wait}.casinoBalance{display:flex;align-items:baseline;gap:10px;padding:10px 14px;border:1px solid rgba(255,218,98,.42);border-radius:9px;background:#06050db3}.casinoBalance span,.casinoBalance small{color:#c6bdd5;font-size:11px;font-weight:900}.casinoBalance strong{color:#ffe16d;font-size:24px;font-variant-numeric:tabular-nums;min-width:5ch;transition:color .12s ease,text-shadow .12s ease,transform .12s ease}.casinoBalance strong.is-counting-up{color:#8dff9d;text-shadow:0 0 12px rgba(87,255,111,.8);transform:scale(1.08)}.casinoBalance strong.is-counting-down{color:#ffb0a0;text-shadow:0 0 10px rgba(255,89,63,.72);transform:scale(.96)}.casinoBalance small{margin-left:auto}.casinoControlBar{display:grid;grid-template-columns:minmax(190px,.55fr) minmax(0,1.45fr);align-items:stretch;gap:10px}.casinoControlBar .casinoBalance{min-width:0}.casinoLocked{margin:0;padding:18px;border:1px solid rgba(255,215,94,.36);border-radius:9px;background:#1e1628c7;color:#ffe7a0;text-align:center;font-weight:900}.casinoBetControls{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(150px,.7fr);align-items:stretch;gap:9px}.casinoBetControls>span{align-self:center;color:#ffe16d;font-size:17px;font-weight:1000}.casinoBetControls button{border:2px solid #74638b;border-radius:8px;background:linear-gradient(180deg,#352b47,#1d1728);color:#e7dff2;cursor:pointer;font-weight:1000}.casinoBetControls .casinoBetButton--selected{border-color:#ffe06a;background:linear-gradient(180deg,#886021,#3c270a);color:#fff2a9;box-shadow:0 0 12px #ffd74c57,inset 0 0 9px #ffefa029}.casinoBetControls .casinoTicketButton{border-color:#62d9c4;background:#153c36;color:#d9fff6}.casinoBetControls .casinoTicketButton.is-selected{background:#14745f;box-shadow:0 0 0 2px #9fffea inset}.casinoBetControls button:disabled{opacity:.45;cursor:wait}.casinoSpinButton{display:grid;place-content:center;gap:2px;min-height:56px;border-color:#ffca3d!important;background:linear-gradient(180deg,#b7342a,#5d130f)!important;color:#fff2a9!important;box-shadow:0 0 14px #ff642d47,inset 0 0 12px #ffe78526}.casinoSpinButton strong{font-size:14px}.casinoSpinButton span{font-size:10px}.casinoConfirm{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:10px;border:1px solid #ffd75e;border-radius:8px;background:#402a08c7}.casinoConfirm span{margin-right:auto;font-size:12px;font-weight:900}.casinoExchangePanel{border:1px solid rgba(114,226,175,.5);border-radius:10px;background:#081c18c2;overflow:hidden}.casinoExchangePanel>.panelHeading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;color:#baffd8;cursor:pointer;font-weight:1000;list-style:none}.casinoExchangePanel>.panelHeading::-webkit-details-marker{display:none}.casinoExchangePanel>.panelHeading strong{padding:4px 10px;border:1px solid rgba(116,255,185,.48);border-radius:999px;background:#1f64486b;color:#ecff9f;font-variant-numeric:tabular-nums}.casinoExchangeLead,.casinoExchangeRates,.casinoExchangeMessage{margin:0 12px 10px;color:#c9ddd1;font-size:11px}.casinoExchangeBody{display:grid;grid-template-columns:minmax(230px,.7fr) minmax(0,1.8fr);gap:10px;padding:0 12px 10px}.casinoRecycleSection,.casinoExchangeOffers{min-width:0;padding:11px;border:1px solid rgba(179,239,209,.23);border-radius:8px;background:#050e0e94}.casinoRecycleSection{display:grid;align-content:start;gap:9px}.casinoRecycleSection header,.casinoExchangeOffers>header{display:flex;align-items:center;justify-content:space-between;gap:9px}.casinoRecycleSection h3,.casinoExchangeOffers h3{margin:0;color:#eaffbf;font-size:15px}.casinoRecycleSection header span,.casinoExchangeOffers header span{color:#9eb9aa;font-size:9px}.casinoRecycleSection label{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:7px;color:#dce9df;font-size:11px;font-weight:900}.casinoRecycleSection select,.casinoRecycleSection input{min-width:0;width:100%;padding:7px;border:1px solid #567366;border-radius:5px;background:#101c19;color:#f5f2d6;font-weight:800}.casinoRecycleSummary{display:flex;align-items:center;justify-content:space-between;padding:8px;border-radius:6px;background:#63d0971f;font-size:11px}.casinoRecycleSummary strong{color:#9dff9f;font-size:17px}.casinoRecycleSection button,.casinoExchangeOffers button{border:1px solid #668a77;border-radius:6px;padding:7px 9px;background:linear-gradient(180deg,#315744,#183125);color:#efffd7;cursor:pointer;font-size:10px;font-weight:900}.casinoRecycleSection button:disabled,.casinoExchangeOffers button:disabled{opacity:.4;cursor:not-allowed}.casinoRecycleConfirm{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:6px;padding:7px;border:1px solid rgba(255,211,100,.5);border-radius:6px;background:#50360a66;font-size:10px}.casinoExchangeOffers{display:grid;gap:9px}.casinoExchangeOffers>header>div{min-width:0}.casinoExchangeOfferGrid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.casinoExchangeOffer{display:grid;align-content:start;gap:4px;min-width:0;padding:7px;border:1px solid #5d6570;border-radius:7px;background:#0e1018d1;text-align:center}.casinoExchangeOffer--rare{border-color:#4c9ed6}.casinoExchangeOffer--equipment{border-color:#a36bd7}.casinoExchangeOffer--special{border-color:#d8b745}.casinoExchangeOffer.is-locked{box-shadow:inset 0 0 0 2px #75ffae,0 0 12px #53ff9638}.casinoExchangeOffer.is-sold-out{border-color:#696969;background:#181818eb}.casinoExchangeOffer.is-sold-out img{filter:grayscale(1) brightness(.48)}.casinoExchangeOffer.is-sold-out>span,.casinoExchangeOffer.is-sold-out b{color:#ff8c8c}.casinoExchangeOffer>span{overflow:hidden;color:#b8c1cf;font-size:8px;font-weight:1000;text-overflow:ellipsis;white-space:nowrap}.casinoExchangeOffer img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:4px;background:#080b0b}.casinoExchangeOffer strong{min-height:2.5em;overflow:hidden;color:#f4efd3;font-size:9px;line-height:1.25}.casinoExchangeOffer small{color:#aaa8b6;font-size:8px}.casinoExchangeOffer b{color:#eaff85;font-size:12px}.casinoExchangeOffer>div{display:grid;grid-template-columns:1fr 1fr;gap:4px}.casinoExchangeOffer button.is-locked{border-color:#6cff9d;background:#285c3e}.casinoExchangeEmpty{margin:0;padding:12px;color:#aabbb1;font-size:11px;text-align:center}.casinoExchangeMessage{padding:7px 10px;border-radius:6px;background:#70e6a324;color:#c7ffd6;font-weight:900}.casinoMachine{--casino-win-color: #b9b3c6;position:relative;display:grid;gap:10px;width:min(100%,820px);margin:0 auto;padding:15px 18px;overflow:hidden;border:4px solid #d8a93c;border-radius:18px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent),linear-gradient(180deg,#79261f,#37100f 48%,#19090d);box-shadow:0 8px #170708,0 0 24px color-mix(in srgb,var(--casino-win-color) 35%,transparent),inset 0 0 22px #ffd55433}.casinoMachine:before,.casinoMachine:after{content:"";position:absolute;inset:5px;pointer-events:none;border:2px dotted rgba(255,225,126,.65);border-radius:12px}.casinoMachine--rare{--casino-win-color: #63bfff}.casinoMachine--equipment{--casino-win-color: #ce7cff}.casinoMachine--special{--casino-win-color: #ffd845}.casinoMachine--won{animation:casinoMachineWin .62s ease-out both}.casinoMachine--special.casinoMachine--won{animation:casinoMachineJackpot .85s ease-out both}.casinoMachineTop{z-index:1;display:flex;align-items:center;justify-content:center;gap:12px;color:#ffe68b;font-size:10px;font-weight:1000;letter-spacing:.12em;text-shadow:0 2px 0 #431607}.casinoMachineTop strong{font-size:27px;letter-spacing:.08em}.casinoReelArea{z-index:1;display:grid;grid-template-columns:24px minmax(0,1fr) 24px;align-items:stretch;gap:5px}.casinoLineNumbers{display:grid;grid-template-rows:repeat(5,minmax(0,1fr));align-items:center;gap:2px}.casinoLineNumbers span{display:grid;place-items:center;aspect-ratio:1;border:1px solid #756781;border-radius:50%;background:#19121f;color:#afa4bc;font-size:9px;font-weight:1000}.casinoLineNumbers span.is-winning{border-color:#ffe05f;background:#a52e1b;color:#fff4ad;box-shadow:0 0 9px #ffb02d}.casinoReels{z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:10px;border:3px solid #d4a64b;border-radius:11px;background:#09070c;box-shadow:inset 0 0 16px #000}.casinoReel{position:relative;height:276px;overflow:hidden;border:3px solid #4f435a;border-radius:10px;background:linear-gradient(180deg,#ded8e6,#fff 48%,#c2bacb);color:#2d1739;box-shadow:inset 0 10px 14px #0003,inset 0 -10px 14px #0003}.casinoReel--stopped{border-color:var(--casino-win-color);box-shadow:0 0 16px color-mix(in srgb,var(--casino-win-color) 70%,transparent),inset 0 0 20px #ffffffe6;animation:casinoReelSettle .18s ease-out}.casinoReel--spinning{border-color:#776783;box-shadow:inset 0 0 22px #00000085}.casinoReel--spinning .casinoReelColumn{filter:blur(1.15px) saturate(1.16);will-change:filter}.casinoReelColumn{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));height:100%}.casinoReelColumn span{display:grid;place-items:center;height:90px;font-size:54px;line-height:1}.casinoReelColumn span+span{border-top:1px solid rgba(64,45,72,.28)}.casinoSlotSymbol--bubble{color:#4e9ee8}.casinoSlotSymbol--potion{color:#55bd5f}.casinoSlotSymbol--sword{color:#dc6c38}.casinoSlotSymbol--shield{color:#4f72b6}.casinoSlotSymbol--gem{color:#b64ae3}.casinoSlotSymbol--seven{color:#d91e25;font-family:Georgia,serif;font-weight:1000}.casinoSlotSymbol--card{background:transparent}.casinoSlotSymbol img{width:64px;height:82px;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.48));image-rendering:auto}.casinoSlotSymbol:not(.casinoSlotSymbol--card) img{width:82px;height:82px}.casinoMachineMessage{z-index:1;min-height:25px;color:var(--casino-win-color);font-size:22px;font-weight:1000;letter-spacing:.06em;text-align:center;text-shadow:0 2px 0 #17050b,0 0 12px currentColor}.casinoPaylines{z-index:1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.casinoPaylines span{padding:4px 2px;border:1px solid #5e506a;border-radius:5px;background:#07050cb8;color:#a69cad;font-size:8px;font-weight:900;text-align:center}.casinoPaylines span.is-winning{border-color:#ffce47;background:#8f2618;color:#fff4a8;box-shadow:0 0 8px #ffbe2d94}.casinoWinScreen{position:fixed;inset:0;z-index:220;display:grid;place-items:center;padding:18px;background:#030408e6}.casinoInlineResults{display:grid;gap:10px;padding:12px;border:2px solid #ffe067;border-radius:12px;background:radial-gradient(circle at 50% 0%,rgba(129,70,197,.42),transparent 52%),#090611f0;box-shadow:inset 0 0 20px #ffdf6b1a}.casinoInlineResultsHeader{display:flex;align-items:baseline;gap:10px}.casinoInlineResultsHeader span{color:#e5c4ff;font-size:10px;font-weight:1000;letter-spacing:.14em}.casinoInlineResultsHeader h3{margin:0;color:#ffe376;font-size:22px}.casinoInlineCards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.casinoInlineResults>p{margin:0;color:#d7ccdf;font-size:10px;text-align:center}.casinoWinOverlay{position:relative;z-index:1;display:grid;grid-template-rows:auto minmax(0,1fr) auto;align-content:stretch;gap:12px;width:min(100%,920px);max-height:min(92dvh,860px);padding:18px;overflow:hidden;border:3px solid #ffe067;border-radius:14px;background:radial-gradient(circle at 50% 0%,rgba(129,70,197,.62),transparent 48%),#090611f5;box-shadow:0 0 28px #ffce3fb8,inset 0 0 24px #ffdf6b1f;animation:casinoCardReveal .42s cubic-bezier(.2,1.4,.4,1) both}.casinoWinOverlayHeader{display:flex;align-items:center;justify-content:space-between;gap:10px}.casinoWinOverlayHeader span{color:#e5c4ff;font-size:9px;font-weight:1000;letter-spacing:.14em}.casinoWinOverlayHeader h3{margin:0;color:#ffe376;font-size:28px;text-shadow:0 2px 0 #5f2d08,0 0 12px rgba(255,213,70,.72)}.casinoWinOverlayHeader button{border:1px solid #b392cf;border-radius:6px;padding:6px 9px;background:#302140;color:#fff1c2;cursor:pointer;font-size:10px;font-weight:900}.casinoWinOverlayHeader button:disabled{opacity:.42;cursor:wait}.casinoWinCards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-content:start;gap:10px;max-width:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:4px}.casinoWinOverlay .casinoResult img{max-height:170px}.casinoResult--rolling{border-color:#9b72c3;box-shadow:inset 0 0 18px #a065dd38}.casinoResult--rolling img{filter:blur(1.1px) brightness(1.2);animation:casinoCardRoulette .13s linear infinite}.casinoResult--revealed{animation:casinoCardStop .28s ease-out both}.casinoWinOverlay>p{margin:0;color:#d7ccdf;font-size:10px;text-align:center}@keyframes casinoCardReveal{0%{opacity:0;transform:scale(.78) translateY(12px);filter:brightness(2)}to{opacity:1;transform:scale(1) translateY(0);filter:brightness(1)}}@keyframes casinoReelSettle{0%{filter:blur(1px) brightness(1.16)}to{filter:blur(0) brightness(1)}}@keyframes casinoCardRoulette{0%{opacity:.72;transform:scale(.96)}to{opacity:1;transform:scale(1.02)}}@keyframes casinoCardStop{0%{opacity:.7;transform:scale(.86);filter:brightness(1.8)}to{opacity:1;transform:scale(1);filter:brightness(1)}}@keyframes casinoMachineWin{0%{transform:scale(.98);filter:brightness(.8)}48%{transform:scale(1.025);filter:brightness(1.55)}to{transform:scale(1);filter:brightness(1)}}@keyframes casinoMachineJackpot{0%{transform:scale(.96);filter:brightness(.7)}35%{transform:scale(1.04);filter:brightness(2)}58%{transform:scale(.99) rotate(-.4deg)}76%{transform:scale(1.015) rotate(.4deg)}to{transform:scale(1) rotate(0);filter:brightness(1.08)}}.casinoResults{display:grid;gap:10px;padding:12px;border:1px solid rgba(255,216,92,.54);border-radius:10px;background:#080610bd}.casinoResults h3{margin:0;color:#ffe27c}.casinoResults>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.casinoResult{position:relative;min-width:0;display:grid;gap:5px;padding:7px;border:1px solid #726985;border-radius:7px;background:#151221;text-align:center}.casinoResult--rare{border-color:#68bfff;box-shadow:inset 0 0 14px #3fa2ff26}.casinoResult--equipment{border-color:#c89cff;box-shadow:inset 0 0 14px #b570ff2e}.casinoResult--special{border-color:#ffdb54;box-shadow:0 0 12px #ffd2423d,inset 0 0 14px #ffc73033}.casinoResult span{color:#cabde0;font-size:9px;font-weight:900}.casinoResult img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:4px;background:#08070d}.casinoResult strong{min-width:0;overflow:hidden;color:#fff3c4;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.casinoPrizeList{border-top:1px solid rgba(203,179,239,.2);padding-top:10px;color:#c8bdd8;font-size:11px}.casinoPrizeList .panelHeading{cursor:pointer;color:#e2d5f3;font-weight:900}.casinoPrizeList p{margin:8px 0 0;line-height:1.5}.casinoPrizeList strong{display:inline-block;min-width:72px;color:#ffe079}.casinoProbabilitySettings{padding:9px 11px;border:1px solid rgba(255,218,98,.5);border-radius:9px;background:#080610d6;color:#ded6e9}.casinoProbabilitySettings .panelHeading{cursor:pointer;color:#ffe079;font-size:13px;font-weight:1000}.casinoPayoutRateSetting{display:grid;grid-template-columns:minmax(190px,1fr) minmax(220px,.85fr) auto;align-items:center;gap:8px;margin-top:9px;padding:9px;border:1px solid rgba(255,218,98,.38);border-radius:7px;background:#402a0861}.casinoPayoutRateSetting>strong{color:#eee4fa;font-size:11px}.casinoPayoutRateSetting>strong b{color:#ffe079;font-size:16px}.casinoPayoutRateSetting>small{grid-column:1 / -1;color:#bfb3cf;font-size:9px}.casinoProbabilitySettingsGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:9px}.casinoProbabilitySettings fieldset{min-width:0;display:grid;gap:5px;margin:0;padding:9px;border:1px solid rgba(180,151,226,.32);border-radius:7px}.casinoProbabilitySettings legend{padding:0 5px;color:#f4e7ff;font-size:11px;font-weight:900}.casinoProbabilitySettings label{display:grid;grid-template-columns:minmax(0,1fr) 86px 16px;align-items:center;gap:5px;font-size:11px}.casinoProbabilitySettings label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.casinoProbabilitySettings input{min-width:0;width:100%;border:1px solid #756687;border-radius:5px;padding:5px 6px;background:#151020;color:#fff3bf;text-align:right}.casinoProbabilitySettings label b{color:#bfb3cf;font-size:10px}.casinoProbabilitySettings fieldset p{margin:3px 0 0;color:#b8e7ba;font-size:10px;text-align:right}.casinoProbabilitySettings fieldset p.is-invalid{color:#ff8d86}.casinoIndividualCardWeights{margin-top:10px;padding:9px;border:1px solid rgba(180,151,226,.32);border-radius:7px}.casinoIndividualCardWeights>header{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:7px}.casinoIndividualCardWeights>header strong{color:#f4e7ff;font-size:11px}.casinoIndividualCardWeights>header span{color:#bfb3cf;font-size:9px}.casinoIndividualCardWeights>div{max-height:320px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-right:4px}.casinoIndividualCardWeights>div>section{align-content:start;display:grid;gap:4px;padding:7px;border-radius:6px;background:#1e172bb8}.casinoIndividualCardWeights h4{margin:0 0 2px;color:#ffe079;font-size:10px}.casinoIndividualCardWeights label{grid-template-columns:28px minmax(0,1fr) 64px;min-height:34px;padding:2px 3px;border-bottom:1px solid rgba(180,151,226,.13)}.casinoIndividualCardWeights label img{width:24px;height:30px;object-fit:contain}.casinoIndividualCardWeights label input{padding:4px 5px}.casinoIndividualCardWeights>p{margin:7px 0 0;color:#ff8d86;font-size:10px}.casinoProbabilitySettings footer{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin-top:9px}.casinoProbabilitySettings footer span{margin-right:auto;color:#b8e7ba;font-size:11px;font-weight:900}.casinoProbabilitySettings button{border:1px solid #9d83bd;border-radius:6px;padding:6px 9px;background:linear-gradient(180deg,#47375d,#241a31);color:#fff1bd;cursor:pointer;font-size:10px;font-weight:900}.casinoProbabilitySettings button:disabled{opacity:.42;cursor:not-allowed}.casinoPayoutList{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.casinoPayoutList span{display:flex;align-items:center;justify-content:center;gap:4px;padding:5px;border:1px solid rgba(203,179,239,.2);border-radius:5px;background:#07050c8c;color:#eee4fa;text-align:center}.casinoPayoutList img{width:20px;height:26px;object-fit:contain}.stageDetailOverlay{position:fixed;inset:0;z-index:21;display:grid;place-items:center;padding:18px;background:#050807c2}.stageDetailPanel{width:min(96vw,1120px);max-height:min(92vh,900px);display:grid;gap:12px;padding:16px;border:2px solid rgba(255,231,150,.9);border-radius:10px;background:linear-gradient(180deg,rgba(74,52,18,.24),transparent 28%),linear-gradient(180deg,#26352f,#121817),#151c1a;box-shadow:0 18px 52px #0000009e,inset 0 0 0 2px #ffffff14;overflow:auto}.stageDetailHeader{display:flex;align-items:center;justify-content:space-between;gap:14px}.stageDetailHeader span{color:#9de7ff;font-size:12px;font-weight:900}.stageDetailHeader h2{margin:0;color:#fff4ca;font-size:30px;line-height:1.05;text-shadow:0 2px 0 #0a0d0d}.stageDetailHeader button,.stageDetailActions button,.stageCarryCard button{border:1px solid #7a876d;border-radius:5px;padding:7px 10px;background:linear-gradient(180deg,#354333,#1d2923);color:#f4edc6;cursor:pointer;font-size:12px;font-weight:900}.stageDetailActions button:last-child{border-color:#ffe796db;background:linear-gradient(180deg,#85631f,#3d260a);color:#fff3bd}.stageCarryCard button:disabled{opacity:.42;cursor:not-allowed}.stageDetailGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:8px}.stageDetailStat{display:grid;gap:4px;padding:8px;border:1px solid rgba(255,236,184,.26);border-radius:6px;background:#080d0c7a}.stageDetailStat span{color:#cdd6bf;font-size:11px;font-weight:900}.stageDetailStat strong{color:#fff4ca;font-size:16px;line-height:1.1}.stageDetailComment{margin:0;padding:10px;border:1px solid rgba(157,231,255,.22);border-radius:7px;background:#080d0c6b;color:#e6edd7;font-size:14px;font-weight:800;line-height:1.45}.stagePlayRecord{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:8px 10px;border:1px solid rgba(126,218,255,.3);border-radius:7px;background:#0712148f;color:#dce9dd;font-size:12px;font-weight:800}.stagePlayRecord strong{margin-right:3px;color:#9de7ff}.stagePlayRecord span{padding:3px 7px;border-radius:999px;background:#ffffff12;white-space:nowrap}.audioSettingsControl{position:fixed;top:10px;right:10px;z-index:60;color:#fff4ca;font-size:12px;font-weight:900}.audioSettingsControl>.panelHeading{min-width:62px;list-style:none;padding:7px 10px;border:1px solid rgba(255,236,184,.62);border-radius:7px;background:linear-gradient(180deg,#354333f5,#18221cfa);box-shadow:0 3px 10px #00000057;cursor:pointer;text-align:center}.audioSettingsControl>.panelHeading::-webkit-details-marker{display:none}.audioSettingsPopover{position:absolute;top:calc(100% + 6px);right:0;width:210px;display:grid;gap:9px;padding:10px;border:1px solid #68766d;border-radius:8px;background:linear-gradient(180deg,#29332f,#151b19);box-shadow:0 10px 28px #0000007a}.audioSettingsPopover label{display:grid;grid-template-columns:1fr auto;gap:6px;align-items:center}.audioSettingsPopover input{grid-column:1 / -1;width:100%;accent-color:#9de7ff}.audioSettingsPopover select{grid-column:1 / -1;width:100%;min-height:38px;border:1px solid #6f7d72;border-radius:6px;padding:6px 8px;background:#17231f;color:#eef4dc;font-size:12px;font-weight:800}.audioSettingsPopover .controlLayoutSetting{padding-top:8px;border-top:1px solid rgba(238,244,220,.18)}.audioSettingsPopover .cardPickupPreviewSetting{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;padding-bottom:8px;border-bottom:1px solid rgba(238,244,220,.18)}.audioSettingsPopover .cardPickupPreviewSetting button{min-width:58px;border-color:#a16b51;background:#46271f}.audioSettingsPopover .cardPickupPreviewSetting .cardPickupPreviewSetting--active{border-color:#8fd6a4;background:#174f37;color:#dfffe9}.analyticsConsentBackdrop{position:fixed;z-index:100000;inset:0;display:grid;place-items:center;padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom));background:#0e1911a6;box-sizing:border-box}.analyticsConsentBanner{width:min(520px,100%);max-height:100%;overflow-y:auto;padding:32px 38px 38px;border:0;border-radius:26px;background:url(../ui-soft/result-frame.webp) center / 100% 100% no-repeat,#fff0c4;color:#432713;filter:drop-shadow(0 18px 25px #000a);box-sizing:border-box;font-family:Arial Rounded MT Bold,Hiragino Maru Gothic ProN,Yu Gothic,sans-serif;font-weight:900;text-align:center}.analyticsConsentTitle{margin:-12px auto 14px;min-height:60px;display:grid;place-items:center;width:min(370px,100%);background:url(../ui-soft/result-wood.webp) center / 100% 100% no-repeat;color:#fff8dc;font-size:clamp(20px,5vw,27px);text-shadow:2px 3px #381b0c,-1px -1px #381b0c}.analyticsConsentMessage{display:flex;align-items:center;gap:14px;text-align:left}.analyticsConsentMessage img{width:120px;height:120px;object-fit:cover;border-radius:24px;flex:none}.analyticsConsentMessage p{margin:0;font-size:clamp(16px,3.8vw,20px);line-height:1.5}.analyticsConsentDetails{margin:13px 0 6px;padding:12px;border:2px solid #d4b47a;border-radius:12px;background:#fffaf0;font-size:13px;line-height:1.55;text-align:left}.analyticsConsentPrivacy{color:#245b91;font-size:13px;text-decoration:underline}.analyticsConsentActions{display:flex;gap:12px;margin-top:17px}.analyticsConsentActions button{flex:1;min-height:54px;border:3px solid #8d5727;border-radius:14px;background:linear-gradient(#fff3cf,#d6ad70);color:#432713;box-shadow:0 5px #68401e;font:inherit;font-size:17px;cursor:pointer}.analyticsConsentActions .analyticsConsentAccept{background:linear-gradient(#65d654,#138740);color:#fff;text-shadow:1px 2px #135b2a}.analyticsConsentActions button:focus-visible,.analyticsConsentPrivacy:focus-visible{outline:4px solid #168bdf;outline-offset:3px}@media(max-width:430px){.analyticsConsentBanner{padding:26px 24px 30px}.analyticsConsentMessage img{width:86px;height:86px}.analyticsConsentActions{gap:8px}.analyticsConsentActions button{font-size:15px}}.audioSettingsPopover button{padding:7px;border:1px solid #6f7d72;border-radius:6px;background:#243029;color:#eef4dc;cursor:pointer;font-weight:900}.audioSettingsPopover .audioSettingsMute--active{border-color:#ff8b72;background:#51271f}.audioSettingsPopover .settingsLegalLinks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.audioSettingsPopover .settingsLegalLinks a{display:grid;place-items:center;min-height:38px;padding:6px 4px;box-sizing:border-box;border:1px solid #6f7d72;border-radius:6px;background:#243029;color:#eef4dc;font-size:10px;text-align:center;text-decoration:none}.audioSettingsPopover .settingsLegalLinks a:hover,.audioSettingsPopover .settingsLegalLinks a:focus-visible{border-color:#d5bd76;color:#fff4ca}.stageCarryInPanel{display:grid;gap:7px;padding:10px;border:2px solid rgba(255,231,150,.7);border-radius:8px;background:linear-gradient(180deg,#3a250c99,#121614c7),#161c19}.stageCarryCardGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:8px;max-height:330px;overflow:auto;padding-right:3px}.cardListFilters{display:grid;grid-template-columns:minmax(220px,1fr) minmax(150px,220px) auto auto auto;gap:8px;align-items:end;padding:9px;border:1px solid rgba(255,231,150,.38);border-radius:8px;background:#081412b8}.cardListSearch,.cardListCategory{min-width:0;display:grid;gap:4px;color:#dce5cf;font-size:10px;font-weight:900}.cardListSearch input,.cardListCategory select{width:100%;min-width:0;min-height:42px;border:1px solid #778774;border-radius:6px;padding:8px 10px;background:#111c19;color:#fff4ca;font:inherit;font-size:16px}.cardListOwnedOnly{min-height:42px;display:flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid rgba(157,231,255,.34);border-radius:6px;color:#e8f5df;font-size:11px;font-weight:900;white-space:nowrap;cursor:pointer}.cardListOwnedOnly input{width:19px;height:19px;margin:0;accent-color:#ffd96b}.cardListResultCount{min-height:42px;display:grid;place-items:center;color:#bfeeff;font-size:11px;font-weight:900;white-space:nowrap}.cardListFilterReset{min-height:42px;border:1px solid #7a876d;border-radius:6px;padding:7px 10px;background:linear-gradient(180deg,#354333,#1d2923);color:#f4edc6;cursor:pointer;font-size:11px;font-weight:900;white-space:nowrap}.cardListEmpty{grid-column:1 / -1;margin:0;padding:24px 12px;color:#cdd6bf;text-align:center;font-size:12px;font-weight:900}.stageCarryCard{display:grid;grid-template-columns:72px 1fr auto;gap:8px;align-items:center;min-width:0;padding:7px;border:1px solid rgba(255,236,184,.25);border-radius:7px;background:#080d0c8a}.stageCarryCard img{width:72px;height:72px;object-fit:contain;border-radius:4px;image-rendering:pixelated}.stageCarryCard div{display:grid;gap:3px;min-width:0}.stageCarryCard strong{color:#fff4ca;font-size:12px}.stageCarryCard span{color:#cdd6bf;font-size:11px;line-height:1.3}.stageCarryCard--locked{border-color:#aebcaf29;background:#050909b3}.stageCarryCard--locked>img{filter:grayscale(.45) brightness(.58)}.stageDetailActions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.stageDetailActions button:disabled{opacity:.42;cursor:not-allowed}.stageBetShortage{margin-right:auto;color:#ff9d82;font-size:12px;font-weight:900}.settingsOverlay{position:fixed;inset:0;z-index:70;display:grid;place-items:center;padding:18px;background:#050807c7}.settingsPanel{width:min(96vw,1120px);max-height:min(90vh,840px);display:grid;gap:12px;padding:14px;border:2px solid rgba(157,231,255,.82);border-radius:10px;background:linear-gradient(180deg,#263531,#111716),#141b19;box-shadow:0 18px 52px #0000009e,inset 0 0 0 2px #ffffff14;overflow:auto}.settingsHeader,.settingsHeaderActions,.settingsFloorCount{display:flex;align-items:center;gap:12px}.settingsStageBasics{display:grid;grid-template-columns:repeat(3,minmax(0,max-content));gap:8px}.settingsHeader{position:sticky;top:-1px;z-index:5;justify-content:space-between;padding:8px;border-radius:7px;background:#1c2724f5;box-shadow:0 5px 12px #00000047}.settingsHeader h2{margin:0 0 3px;color:#fff4ca;font-size:24px;line-height:1.1;text-shadow:0 2px 0 #0a0d0d}.settingsHeader span,.settingsFloorCount small{color:#cdd6bf;font-size:12px;font-weight:800}.settingsHeader button,.settingsFloorCount input,.settingsNumberGrid input,.settingsNumberGrid select,.settingsMultiSelect select{border:1px solid #7a876d;border-radius:5px;background:#070c0bbd;color:#f4edc6;font-weight:900}.settingsHeader button{padding:7px 10px;background:linear-gradient(180deg,#354333,#1d2923);cursor:pointer;font-size:12px}.settingsFloorCount{justify-content:start;padding:10px;border:1px solid rgba(255,236,184,.26);border-radius:7px;background:#080d0c6b}.settingsFloorCount span,.settingsNumberGrid span,.settingsMultiSelect span{color:#fff4ca;font-size:12px;font-weight:900}.settingsFloorCount input,.settingsNumberGrid input,.settingsNumberGrid select{width:72px;padding:7px 8px}.settingsStageBasics .settingsFloorCount input{width:104px}.stageVerificationPanel{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:10px;border:1px solid rgba(157,231,255,.34);border-radius:7px;background:linear-gradient(180deg,#23322fdb,#0c1211db),#080d0c94}.stageVerificationPanel strong{display:block;color:#9de7ff;font-size:15px;text-shadow:0 1px 0 #061010}.stageVerificationPanel span,.stageVerificationPanel p{color:#cdd6bf;font-size:12px;font-weight:800}.stageVerificationPanel button{padding:8px 12px;border:1px solid #9ba76f;border-radius:6px;background:linear-gradient(180deg,#53623d,#253121);color:#fff4ca;cursor:pointer;font-size:12px;font-weight:900}.stageVerificationPanel button:disabled{opacity:.52;cursor:wait}.stageVerificationAttempts{display:grid;gap:4px}.stageVerificationAttempts input,.stageVerificationCardPicker select{min-width:110px;padding:7px 8px;border:1px solid rgba(255,236,184,.24);border-radius:6px;background:#050908c7;color:#fff4ca;font-weight:900}.stageVerificationCarryIn{grid-column:1 / -1;display:grid;gap:8px;padding:9px;border:1px solid rgba(255,236,184,.18);border-radius:7px;background:#05090857}.stageVerificationCarryIn .carryInHeader{min-height:auto}.stageVerificationCardPicker{display:flex;flex-wrap:wrap;gap:8px}.stageVerificationCardPicker select{flex:1 1 240px}.stageVerificationResult{grid-column:1 / -1;display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px}.stageVerificationResult div{display:grid;gap:2px;padding:8px;border:1px solid rgba(255,236,184,.2);border-radius:6px;background:#05090870}.stageVerificationResult strong{color:#fff4ca;font-size:18px}.stageVerificationResult p{grid-column:1 / -1;margin:0}.stageVerificationLog{grid-column:1 / -1;color:#fff4ca;font-size:12px;font-weight:800}.stageVerificationResult .stageVerificationLogActions{display:flex;align-items:center;gap:8px;margin-top:8px;padding:0;border:0;background:transparent}.stageVerificationResult .stageVerificationLogActions span{color:#d8e0d1;font-weight:600}.verificationBranchPanel{display:grid;gap:8px;margin:10px 0;padding:10px;border:1px solid #63705f;background:#111811d1}.verificationBranchPanel--active{border-color:#e2b94f;box-shadow:inset 0 0 0 1px #e2b94f40}.verificationBranchPanel p{margin:0}.verificationBranchHeading,.verificationBranchActions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.verificationBranchHeading strong{color:#ffe08a}.verificationBranchActions span{color:#d8e0d1;font-weight:600}.stageVerificationLog pre{max-height:220px;overflow:auto;margin:8px 0 0;padding:10px;border:1px solid rgba(157,231,255,.18);border-radius:6px;background:#030606bd;color:#d8e0d1;white-space:pre-wrap}.verificationReplay{grid-column:1 / -1;display:grid;gap:6px;padding:8px;border:1px solid rgba(157,231,255,.24);border-radius:7px;background:linear-gradient(180deg,#152324d1,#050909d6),#0509089e}.verificationReplayHeader,.verificationReplayControls,.verificationReplayStats{align-items:center;gap:8px}.verificationReplayHeader{display:grid;grid-template-columns:minmax(180px,1fr) minmax(360px,1.25fr) auto;align-items:center}.verificationReplayControls{display:grid;grid-template-columns:repeat(4,minmax(68px,1fr));padding:4px;border:1px solid rgba(255,236,184,.26);border-radius:6px;background:linear-gradient(180deg,#25302bfa,#0e1413fa),#141a18;box-shadow:inset 0 1px #ffffff0f}.verificationReplayControls button{min-height:30px;border:1px solid #8a7e54;border-radius:5px;background:linear-gradient(180deg,#f7e7a5,#aa863b);color:#1b1308;font-size:12px;font-weight:900;cursor:pointer}.verificationReplayControls button:hover,.verificationReplayControls button:focus-visible{filter:brightness(1.1)}.verificationReplayControls input[type=range]{grid-column:1 / -1;width:100%;height:14px;accent-color:#9de7ff}.verificationReplayStats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.verificationReplayStats span{padding:4px 8px;border:1px solid rgba(255,236,184,.16);border-radius:999px;background:#03060680}.verificationReplayLayout{display:grid;grid-template-columns:minmax(0,max-content) minmax(172px,1fr);align-items:flex-start;gap:10px}.verificationReplayBoard{display:grid;grid-template-columns:repeat(11,34px);grid-template-rows:repeat(10,34px);width:max-content;overflow:hidden;border:1px solid rgba(207,232,210,.38);border-radius:6px;background:#070909}.verificationReplayBoard .cell{width:34px;height:34px}.verificationReplayBoard .playerSprite{width:52px;height:52px}.verificationReplayBoard .enemySprite{width:54px;height:54px}.verificationReplaySide{display:grid;gap:8px;min-width:0}.verificationReplayMiniMap{display:grid;grid-template-columns:repeat(40,3px);grid-template-rows:repeat(40,3px);width:120px;height:120px;border:1px solid #101514;background:#080b0b}.verificationReplayLabel{margin:0;color:#fff4ca;font-size:12px;font-weight:800;line-height:1.45;overflow-wrap:anywhere}.verificationAudit{border:1px solid rgba(157,231,255,.2);border-radius:6px;background:#03060694;color:#d8e0d1;font-size:12px}.verificationAudit .panelHeading{padding:7px 9px;color:#fff4ca;font-weight:800;cursor:pointer}.verificationAudit pre{max-height:260px;overflow:auto;margin:0;padding:0 9px 9px;color:inherit;font:inherit;line-height:1.45;white-space:pre-wrap}.replayStatusBar{display:grid;grid-template-columns:repeat(8,minmax(72px,1fr));gap:6px}.replayStatusBar span{min-width:0;padding:6px 8px;font-size:12px}.verificationReplay .gameShell{width:100%;padding:8px;gap:8px;box-shadow:inset 0 0 0 1px #ffffff0f}.gameShell--replay .topPanel{display:none}.gameShell--replay .statusBar{grid-template-columns:repeat(4,minmax(78px,auto));justify-content:start}.gameShell--replay .playArea{grid-template-columns:minmax(520px,1fr) 210px;gap:8px}.gameShell--replay .mapPanel{min-width:0;width:min(100%,640px);padding:8px}.gameShell--replay .inventorySlot:disabled{cursor:default;opacity:1}.gameShell--replay .bottomPanel{grid-template-columns:minmax(0,1fr) minmax(150px,auto)}.gameShell--replay .verificationReplayStats{align-content:start;grid-template-columns:repeat(2,auto)}.gameShell--replay .inventoryBar{gap:4px}.gameShell--replay .inventorySlot{min-height:58px}.gameShell--replay .messageWindow{min-height:34px;max-height:54px;overflow:hidden}.gameShell--replay .tile--dimmed{filter:none}.gameShell--replay .tile--dimmed:after{background:transparent}.gameShell--replay .tile--wall{background:linear-gradient(135deg,#242a2a 0 24%,#171c1c 24% 50%,#202626 50% 74%,#121615 74%),#1b2020;box-shadow:inset 0 0 0 1px #303837}.gameShell--replay .tile--floor,.gameShell--replay .tile--floor.tile--dimmed{background:linear-gradient(135deg,rgba(255,255,255,.16),transparent 38%),#9c9782}.gameShell--replay .tile--corridor,.gameShell--replay .tile--corridor.tile--dimmed{background:linear-gradient(90deg,rgba(255,255,255,.12),transparent 34%,rgba(0,0,0,.18)),#736f61}.gameShell--replay .floorMapCell--floor{background:#8f8975}.gameShell--replay .floorMapCell--corridor{background:#706a56}@media(max-width:760px){.verificationReplayLayout{grid-template-columns:1fr}.verificationReplayBoard{grid-template-columns:repeat(11,minmax(24px,1fr));grid-template-rows:repeat(10,minmax(24px,1fr));width:100%}.verificationReplayBoard .cell{width:auto;height:auto;aspect-ratio:1}.gameShell--replay .topPanel,.gameShell--replay .playArea,.gameShell--replay .bottomPanel{grid-template-columns:1fr}.gameShell--replay .statusBar{justify-content:stretch}}.settingsCsvPanel{display:grid;gap:8px;padding:10px;border:1px solid rgba(157,231,255,.24);border-radius:7px;background:linear-gradient(180deg,#1b2826db,#080d0cdb),#080d0c94}.settingsCsvPanel strong{display:block;color:#9de7ff;font-size:15px;text-shadow:0 1px 0 #061010}.settingsCsvPanel span{color:#cdd6bf;font-size:12px;font-weight:800}.settingsCsvPanel textarea{min-height:132px;resize:vertical;padding:9px;border:1px solid rgba(255,236,184,.22);border-radius:6px;background:#030606bd;color:#d8e0d1;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11px;line-height:1.5}.settingsCsvActions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.settingsCsvActions button{padding:8px 12px;border:1px solid #9ba76f;border-radius:6px;background:linear-gradient(180deg,#53623d,#253121);color:#fff4ca;cursor:pointer;font-size:12px;font-weight:900}.settingsNumberGrid select{width:100%}.settingsFloorList{display:grid;gap:10px}.settingsFloorCard{display:grid;gap:10px;padding:10px;border:1px solid rgba(255,236,184,.26);border-radius:7px;background:#080d0c8a}.settingsFloorCard>header strong{color:#9de7ff;font-size:15px;text-shadow:0 1px 0 #061010}.settingsFloorCard>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.settingsTemplateControls{display:flex;align-items:center;gap:6px}.settingsTemplateControls select,.settingsTemplateControls button{border:1px solid #7a876d;border-radius:5px;background:#070c0bbd;color:#f4edc6;font-size:11px;font-weight:900}.settingsTemplateControls select{min-width:92px;padding:5px 6px}.settingsTemplateControls button{padding:5px 7px;cursor:pointer}.settingsTemplateControls button:disabled{opacity:.42;cursor:not-allowed}.settingsNumberGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:8px}.settingsNumberGrid label,.settingsMultiSelect,.settingsCheck{display:grid;gap:5px}.settingsCheck{grid-template-columns:auto auto 1fr;align-items:center;justify-content:start;padding:8px;border:1px solid rgba(157,231,255,.24);border-radius:6px;background:#09111073}.settingsCheck input{width:18px;height:18px;accent-color:#9de7ff}.settingsCheck small{color:#aeb8aa;font-size:11px;font-weight:800}.settingsMultiSelect select{width:100%;min-height:90px;padding:7px;font-size:12px}.settingsAppearanceGroup{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(260px,1.2fr);gap:10px;align-items:start}.settingsAppearanceRates{display:grid;gap:5px;max-height:190px;overflow:auto;padding:7px;border:1px solid rgba(157,231,255,.24);border-radius:6px;background:#03080875}.settingsAppearanceRates p{display:flex;justify-content:space-between;gap:8px;margin:0 0 2px;color:#fff4ca;font-size:11px;font-weight:900}.settingsAppearanceRates p small{color:#aeb8aa;font-size:10px}.settingsAppearanceRates label{display:grid;grid-template-columns:minmax(0,1fr) 58px 52px;align-items:center;gap:6px}.settingsAppearanceRates label>span{min-width:0;overflow:hidden;color:#dce4d4;font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.settingsAppearanceRates input{width:100%;box-sizing:border-box;padding:4px 5px;border:1px solid #7a876d;border-radius:4px;background:#070c0bcc;color:#f4edc6;font-size:11px;font-weight:900}.settingsAppearanceRates label>strong{color:#9de7ff;font-size:11px;text-align:right}.settingsCardRatePanels{display:grid;gap:8px;min-width:0}.settingsCategoryRates{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:6px;padding:7px;border:1px solid rgba(255,219,121,.28);border-radius:6px;background:#120f076b}.settingsCategoryRates label:not(.settingsCategoryToggle){display:grid;grid-template-columns:minmax(0,1fr) 52px 45px;align-items:center;gap:5px}.settingsCategoryRates label>span{min-width:0;overflow:hidden;color:#f0e4b9;font-size:10px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.settingsCategoryRates input[type=number]{width:100%;box-sizing:border-box;padding:4px;border:1px solid #7a876d;border-radius:4px;background:#070c0bcc;color:#f4edc6;font-size:11px;font-weight:900}.settingsCategoryRates input:disabled{opacity:.42}.settingsCategoryRates label>strong{color:#ffd96b;font-size:10px;text-align:right}.settingsCategoryToggle{grid-column:1 / -1;display:flex;align-items:center;gap:7px;color:#fff4ca;font-size:11px;font-weight:900}.settingsCategoryToggle input{width:17px;height:17px;accent-color:#ffd96b}.settingsAppearanceRates label>span small{display:inline-block;margin-right:5px;padding:1px 4px;border-radius:3px;background:#9de7ff1f;color:#9de7ff;font-size:8px;vertical-align:1px}.cardCategoryBadge{width:fit-content;padding:2px 6px;border:1px solid rgba(157,231,255,.32);border-radius:999px;background:#9de7ff1a;color:#bfeeff;font-size:9px!important;font-weight:900;line-height:1.2!important}.cardCategoryBadge--attack{border-color:#ff6f5b73;background:#ff58441f;color:#ffb0a4}.cardCategoryBadge--status{border-color:#c571ff73;background:#a04ddb21;color:#dfb5ff}.cardCategoryBadge--support{border-color:#65beff73;background:#4091d321;color:#acdfff}.cardCategoryBadge--equipment{border-color:#ffda5b73;background:#cda62b21;color:#ffe38c}.collectionPanel{width:min(94vw,900px);max-height:min(88vh,760px);display:grid;gap:12px;padding:14px;border:2px solid rgba(255,231,150,.86);border-radius:10px;background:linear-gradient(180deg,#29352f,#121817),#151c1a;box-shadow:0 18px 52px #00000094,inset 0 0 0 2px #ffffff14;overflow:auto}.collectionHeader{position:sticky;top:-1px;z-index:5;display:flex;justify-content:space-between;gap:12px;align-items:center;padding:8px;border-radius:7px;background:#232f2af5;box-shadow:0 5px 12px #00000047}.collectionHeader h2{margin:0;color:#fff4ca;font-size:22px;line-height:1.1;text-shadow:0 2px 0 #0a0d0d}.collectionHeader button,.collectionCard button{border:1px solid #7a876d;border-radius:5px;padding:7px 10px;background:linear-gradient(180deg,#354333,#1d2923);color:#f4edc6;cursor:pointer;font-size:12px;font-weight:900}.collectionCard button:disabled{opacity:.42;cursor:not-allowed}.collectionCard .collectionCardImageButton{width:108px;height:108px;padding:0;overflow:hidden;border:1px solid rgba(157,231,255,.28);border-radius:5px;background:#030707b8;cursor:zoom-in}.collectionCard .collectionCardImageButton:hover,.collectionCard .collectionCardImageButton:focus-visible{border-color:#9de7ff;box-shadow:0 0 0 2px #9de7ff2e}.collectionCard--locked{border-color:#aebcaf29;background:#050909b8}.collectionCard--locked .collectionCardImageButton:disabled{opacity:1;cursor:default}.collectionCard--locked .collectionCardImageButton img{filter:grayscale(.45) brightness(.58)}.collectionCard .collectionUnknown,.stageCarryCard .collectionUnknown{width:fit-content;padding:2px 6px;border:1px solid rgba(174,188,175,.2);border-radius:999px;color:#8f9990;font-size:9px;font-weight:900}.collectionGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:min(62vh,600px);overflow:auto;padding-right:3px}.collectionCard{display:grid;grid-template-columns:108px 1fr auto;gap:10px;align-items:center;min-width:0;border:1px solid rgba(255,236,184,.28);border-radius:7px;padding:8px;background:#080d0c8f}.collectionCard img{width:108px;height:108px;object-fit:contain;border-radius:4px;image-rendering:pixelated}.collectionCardZoom{position:fixed;inset:0;z-index:24;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;height:100%;padding:18px;border:0;background:#020505e6;color:#fff4ca;cursor:zoom-out}.collectionCardZoom img{width:min(82vw,520px);height:min(75vh,640px);object-fit:contain;border:2px solid rgba(255,236,184,.7);border-radius:8px;background:#080b0a;box-shadow:0 18px 54px #000000b3;image-rendering:auto}.collectionCardZoom span{max-width:min(86vw,620px);overflow:hidden;font-size:13px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.collectionCard div{display:grid;gap:4px;min-width:0}.collectionCard strong{color:#fff4ca;font-size:13px}.collectionCard span{color:#cdd6bf;font-size:12px;line-height:1.35}.collectionCard span:first-of-type{color:#e6dcc0}.collectionCard .cardCategoryBadge{color:#bfeeff}.collectionCard .cardCategoryBadge--attack{color:#ffb0a4}.collectionCard .cardCategoryBadge--status{color:#dfb5ff}.collectionCard .cardCategoryBadge--support{color:#acdfff}.collectionCard .cardCategoryBadge--equipment{color:#ffe38c}.gameShell{width:min(100%,calc(100vw - 36px),1020px);max-width:100%;overflow-x:clip;display:grid;gap:12px;padding:16px;border:2px solid #64706a;border-radius:8px;background:linear-gradient(180deg,#2c3430f5,#151a19fa),#202826;box-shadow:0 22px 60px #0000007a,inset 0 0 0 1px #ffffff14}.topPanel,.bottomPanel{display:grid;align-items:center;gap:12px;border:1px solid #59645e;border-radius:8px;background:linear-gradient(180deg,#2b3430,#1a211f);box-shadow:inset 0 1px #ffffff14}.topPanel{grid-template-columns:minmax(180px,1fr) auto;padding:12px}.bottomPanel{grid-template-columns:minmax(0,1fr) auto;min-width:0;overflow:hidden;padding:10px 12px}.titleBlock h1{margin:0;color:#fff4ca;font-size:clamp(22px,4vw,34px);line-height:1.05;letter-spacing:0;text-shadow:0 2px 0 #0a0d0d}.titleBlock p{margin:5px 0 0;color:#aebcaf;font-size:13px}.topPanel>.equipmentSlots{grid-column:1 / -1;justify-self:end}.statusBar{display:grid;grid-template-columns:repeat(6,auto);gap:8px}.statusBar span{min-width:78px;border:1px solid #6e785e;border-radius:6px;padding:8px 10px;background:linear-gradient(180deg,#384231,#202a25);color:#f8f0c5;font-size:14px;font-weight:700;text-align:center;text-shadow:0 1px 0 #050606;white-space:nowrap}.equipmentSlots{width:fit-content;max-width:100%;display:flex;flex-wrap:wrap;justify-content:end;gap:5px}.equipmentSlot{position:relative;width:52px;min-width:0;color:#f8f0c5}.equipmentSlot .panelHeading{box-sizing:border-box;width:52px;height:60px;min-width:0;display:grid;place-items:center;overflow:hidden;border:1px solid #6e785e;border-radius:6px;padding:3px;background:linear-gradient(180deg,#384231,#202a25);cursor:pointer;list-style:none}.equipmentSlot .panelHeading::-webkit-details-marker{display:none}.equipmentSlot .panelHeading:focus-visible{outline:2px solid #9de7ff;outline-offset:2px}.equipmentSlotIcon{width:46px;height:54px;display:grid;place-items:center;overflow:hidden;color:#b8c2ad;font-size:22px;line-height:1}.equipmentSlotIcon img{width:100%;height:100%;object-fit:contain}.equipmentSlotLabel{color:#9de7ff;font-size:10px;font-weight:900}.equipmentSlotTooltip{position:absolute;z-index:70;top:calc(100% + 5px);right:0;width:min(230px,calc(100vw - 32px));display:none;gap:6px;border:1px solid #8a966f;border-radius:6px;padding:8px;background:#0d1210fa;box-shadow:0 8px 22px #0000007a;pointer-events:none}.equipmentSlot[open] .equipmentSlotTooltip,.equipmentSlot:hover .equipmentSlotTooltip,.equipmentSlot:focus-within .equipmentSlotTooltip{display:grid}.equipmentSlot:nth-child(-n+3) .equipmentSlotTooltip{right:auto;left:0}.equipmentSlotTooltip strong{color:#fff4ca;font-size:12px}.equipmentSlotTooltip small{color:#c8d1c3;font-size:11px;line-height:1.35}.equipmentExpandedOverlay{display:none}.verificationReplay>.equipmentSlots{justify-self:end}.playArea{display:grid;grid-template-columns:minmax(560px,1fr) 240px;align-items:start;gap:12px}.mapPanel{position:relative;width:min(100%,760px);min-width:420px;margin:0 auto;aspect-ratio:8 / 7;padding:12px;border:2px solid #768173;border-radius:8px;background:linear-gradient(180deg,rgba(238,226,169,.16),transparent 18%),#141918;box-shadow:inset 0 0 0 4px #00000038,inset 0 0 24px #0000006b;overflow:hidden}.hpHud{position:absolute;top:14px;left:16px;z-index:12;display:grid;grid-template-columns:auto auto;grid-template-rows:auto 10px;align-items:end;column-gap:9px;row-gap:3px;min-width:198px;padding:4px 7px 6px;color:#fff;font-weight:900;letter-spacing:0;text-shadow:-2px -2px 0 #050505,2px -2px 0 #050505,-2px 2px 0 #050505,2px 2px 0 #050505,0 3px 0 #050505;pointer-events:none}.hpHudLabel{font-size:18px;line-height:1}.hpHudValue{display:inline-block;font-size:34px;line-height:.9}.hpHudTrack{grid-column:1 / -1;position:relative;height:10px;border:2px solid #0a0b0b;border-radius:999px;background:linear-gradient(180deg,#f5f2dd 0 26%,#171817 26% 100%);box-shadow:0 1px #ffffff85,0 2px #050505;overflow:hidden}.hpHudFill{position:absolute;inset:2px auto 2px 2px;width:100%;border-radius:inherit;background:linear-gradient(180deg,rgba(255,255,255,.58),transparent 42%),#55ef36;box-shadow:inset -2px 0 #00000047}.hpHud--warning .hpHudFill{background:linear-gradient(180deg,rgba(255,255,255,.58),transparent 42%),#ffd739}.hpHud--danger .hpHudFill,.hpHud--critical .hpHudFill{background:linear-gradient(180deg,rgba(255,255,255,.62),transparent 42%),#ff3030;animation:hpDangerPulse .52s steps(2,end) infinite}.hpHud--critical .hpHudValue{animation:hpNumberPulse .42s steps(2,end) infinite}.board{--board-x: -13.6364%;--board-y: -15%;--board-step-x: 9.0909%;--board-step-y: 10%;position:relative;z-index:1;display:grid;grid-template-columns:repeat(11,1fr);grid-template-rows:repeat(10,1fr);width:137.5%;height:142.8571%;transform:translate(var(--board-x),var(--board-y));border:1px solid #111514;background:#0c0f0e}.board--move-up{animation:boardMoveUp .13s linear forwards}.board--move-down{animation:boardMoveDown .13s linear forwards}.board--move-left{animation:boardMoveLeft .13s linear forwards}.board--move-right{animation:boardMoveRight .13s linear forwards}.board--move-upLeft{animation:boardMoveUpLeft .13s linear forwards}.board--move-upRight{animation:boardMoveUpRight .13s linear forwards}.board--move-downLeft{animation:boardMoveDownLeft .13s linear forwards}.board--move-downRight{animation:boardMoveDownRight .13s linear forwards}.floorMapPanel{display:grid;gap:10px;padding:12px;border:2px solid #677369;border-radius:8px;background:linear-gradient(180deg,rgba(238,226,169,.11),transparent 24%),#171e1c;box-shadow:inset 0 0 0 3px #0000002e,inset 0 0 20px #00000052}.floorMapHeader{display:flex;justify-content:space-between;gap:10px;color:#efe7bf;font-size:12px;font-weight:800;text-shadow:0 1px 0 #050606}.floorMap{display:grid;grid-template-columns:repeat(40,1fr);grid-template-rows:repeat(40,1fr);width:100%;aspect-ratio:1;border:1px solid #101514;background:#080b0b}.floorMapCell{min-width:0;min-height:0;background:#080b0c}.floorMapCell--wall{background:#121717}.floorMapCell--unexplored{background:#010303}.floorMapCell--floor{background:#6d6b5e}.floorMapCell--corridor{background:#8a836c}.floorMapCell--rock{background:#3f4748;box-shadow:inset 0 0 0 1px #9ba4a2}.floorMapCell--floor.floorMapCell--mappedOnly{background:#4f5047}.floorMapCell--corridor.floorMapCell--mappedOnly{background:#625f50}.floorMapCell--player{background:#46a8ff;box-shadow:0 0 0 1px #e8f6ff}.floorMapCell--enemy{background:#e14e40;box-shadow:0 0 0 1px #ffe4d7}.floorMapCell--card{background:#4eda78;box-shadow:0 0 0 1px #dfc}.floorMapCell--shop{background:#c98cff;box-shadow:0 0 0 1px #f2d7ff}.floorMapCell--stairs{background:#ffd54f;box-shadow:0 0 0 1px #fff1a8}.floorMapCell--goal{background:#7cdcff;box-shadow:0 0 0 1px #e8fbff,0 0 6px #7cdcffd9}.floorMapLegend{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.legendItem{display:grid;place-items:center;min-width:0;height:22px;border:1px solid rgba(255,255,255,.18);border-radius:4px;color:#081010;font-size:11px;font-weight:900;line-height:1}.legendItem--player{background:#46a8ff}.legendItem--enemy{background:#e14e40}.legendItem--card{background:#4eda78}.legendItem--shop{background:#c98cff}.legendItem--rock{background:#9ba4a2}.legendItem--stairs{background:#ffd54f}.legendItem--goal{background:#7cdcff}.cell{position:relative;display:grid;place-items:center;min-width:0;min-height:0;border:1px solid rgba(0,0,0,.18);overflow:hidden}.effectCountdowns{position:absolute;left:50%;bottom:calc(124% + 10px);transform:translate(-50%);z-index:40;display:flex;flex-flow:row wrap-reverse;justify-content:center;width:max-content;max-width:160%;gap:2px;pointer-events:none}.effectCountdownBadge{display:inline-flex;align-items:center;justify-content:center;gap:1px;min-width:18px;height:16px;padding:0 3px;border:1px solid rgba(255,255,255,.84);border-radius:5px;background:#080c0ce6;color:#fff;font-size:9px;font-weight:800;line-height:1;white-space:nowrap;box-shadow:0 1px 3px #000000bf;text-shadow:0 1px 1px #000}.effectCountdownBadge strong{font-size:11px;line-height:1}.effectCountdownBadge--heal{border-color:#9bff8a;background:#165b23f0}.effectCountdownBadge--boost{border-color:#ffe777;background:#6f4c09f0}.effectCountdownBadge--guard{border-color:#8de8ff;background:#0d4969f0}.effectCountdownBadge--control{border-color:#e3a5ff;background:#4b1864f0}.tile--player{overflow:visible}.tile:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.16),transparent 35%),linear-gradient(315deg,rgba(0,0,0,.22),transparent 45%);pointer-events:none}.tile--wall{background:linear-gradient(135deg,#242a2a 0 24%,#171c1c 24% 50%,#202626 50% 74%,#121615 74%),#1b2020;box-shadow:inset 0 0 0 1px #303837}.tile--unexplored{background:radial-gradient(circle at 50% 48%,rgba(20,24,20,.54),transparent 62%),#050706;box-shadow:inset 0 0 0 1px #46524a3d}.tile--unexplored:before{opacity:.18}.tile--dimmed{filter:brightness(.48) saturate(.72)}.tile--dimmed:after{content:"";position:absolute;inset:0;background:#02040457;pointer-events:none}.tile--floor{background:linear-gradient(135deg,rgba(255,255,255,.08),transparent 38%),#706e62;box-shadow:none}.tile--corridor{background:linear-gradient(90deg,rgba(255,255,255,.07),transparent 35%,rgba(0,0,0,.14)),#817d6e;box-shadow:none}.tile--rock{background:radial-gradient(circle at 50% 62%,rgba(0,0,0,.32),transparent 50%),#625f58}.tile--slippery{background:linear-gradient(135deg,rgba(230,255,255,.32),transparent 36%),linear-gradient(315deg,rgba(72,169,255,.28),transparent 44%),#74848a}.tile--slippery:after{content:"";position:absolute;inset:1px;border:1px solid rgba(205,247,255,.32);box-shadow:inset 0 0 12px #68ceff38;pointer-events:none}.tile--stairs{background:radial-gradient(circle at 50% 42%,rgba(255,244,171,.5),transparent 52%),#776a32;overflow:visible}.tile--enemy{background:radial-gradient(circle at 50% 68%,rgba(46,24,12,.38),transparent 46%),#6b6257;overflow:visible}.tile--card{background:radial-gradient(circle at 50% 48%,rgba(132,212,73,.28),transparent 56%),#6b6b5e}.tile--shop{background:radial-gradient(circle at 50% 48%,rgba(220,156,255,.32),transparent 58%),#665b6d;overflow:visible}.tile--player{background:radial-gradient(circle at 50% 58%,rgba(50,145,255,.24),transparent 42%),#676d69;z-index:2}.tileIcon{position:relative;z-index:1;display:grid;place-items:center;width:88%;height:88%;border-radius:50%;color:#fff6d5;font-size:clamp(14px,3.4vw,26px);font-weight:900;line-height:1;text-shadow:0 2px 0 #0a0d0d}.playerSprite{--player-step-x: 86%;--player-step-y: 86%;position:relative;z-index:1;display:block;width:118%;height:118%;background-repeat:no-repeat;background-position:center;background-size:contain;image-rendering:pixelated;filter:drop-shadow(0 3px 0 rgba(0,0,0,.58));transform-origin:50% 82%}.playerSprite--up{--player-idle-size: 273.573927% 136.786963%;--player-idle-first: 12.68479% 49.682354%;--player-idle-second: 90.025005% 49.682354%;--player-standing-image: url(../player-sprites/up.webp);--player-idle-image: url(../player-sprites/idle/up-steps-v1.png);background-image:var(--player-standing-image)}.playerSprite--down{--player-idle-size: 250% 125%;--player-idle-first: 8.333333% 50%;--player-idle-second: 91.666667% 50%;--player-standing-image: url(../player-sprites/down.webp);--player-idle-image: url(../player-sprites/idle/down-steps-v1.png);background-image:var(--player-standing-image)}.playerSprite--left{--player-idle-size: 255.542017% 255.542017%;--player-idle-first: 2.441989% 10.624274%;--player-idle-second: 84.522137% 10.624274%;--player-idle-third: 2.441989% 92.638915%;--player-idle-fourth: 84.587644% 92.638915%;--player-idle-animation: playerIdleFourSteps;--player-idle-duration: .96s;--player-standing-image: url(../player-sprites/left.webp);--player-idle-image: url(../player-sprites/idle/left-steps-v2.png);background-image:var(--player-standing-image)}.playerSprite--right{--player-idle-size: 239.91716% 239.91716%;--player-idle-first: 11.644676% 11.044856%;--player-idle-second: 97.380107% 11.044856%;--player-idle-third: 11.644676% 95.412896%;--player-idle-fourth: 97.380107% 95.412896%;--player-idle-animation: playerIdleFourSteps;--player-idle-duration: .96s;--player-standing-image: url(../player-sprites/right.webp);--player-idle-image: url(../player-sprites/idle/right-steps-v2.png);background-image:var(--player-standing-image)}.playerSprite--upLeft{--player-idle-size: 240.867327% 240.867327%;--player-idle-first: 86.47488% 14.016419%;--player-idle-second: 86.47488% 90.102336%;--player-idle-third: 9.025415% 89.965982%;--player-idle-fourth: 90.701875% 89.965982%;--player-idle-animation: playerIdleSteps;--player-idle-duration: .72s;--player-standing-image: url(../player-sprites/upLeft.webp);--player-idle-image: url(../player-sprites/idle/upLeft-steps-v2.png);background-image:var(--player-standing-image)}.playerSprite--upRight{--player-idle-size: 265.962906% 132.981453%;--player-idle-first: 12.55611% 48.334036%;--player-idle-second: 88.844084% 48.334036%;--player-standing-image: url(../player-sprites/upRight.webp);--player-idle-image: url(../player-sprites/idle/upRight-steps-v1.png);background-image:var(--player-standing-image)}.playerSprite--downLeft{--player-idle-size: 230.375% 230.375%;--player-idle-first: 4.767716% 12.055841%;--player-idle-second: 93.118626% 12.055841%;--player-idle-third: 4.767716% 100.406752%;--player-idle-fourth: 93.118626% 100.406752%;--player-idle-animation: playerIdleFourSteps;--player-idle-duration: .96s;--player-standing-image: url(../player-sprites/downLeft.webp);--player-idle-image: url(../player-sprites/idle/downLeft-steps-v2.png);background-image:var(--player-standing-image)}.playerSprite--downRight{--player-idle-size: 240.332402% 120.166201%;--player-idle-first: 8.102271% 48.784542%;--player-idle-second: 93.731961% 48.784542%;--player-standing-image: url(../player-sprites/downRight.webp);--player-idle-image: url(../player-sprites/idle/downRight-steps-v1.png);background-image:var(--player-standing-image)}.playerSprite--idle{background-image:var(--player-idle-image);background-size:var(--player-idle-size);background-position:var(--player-idle-first);animation:var(--player-idle-animation, playerIdleSteps) var(--player-idle-duration, .72s) step-end infinite}@keyframes playerIdleSteps{0%,to{background-position:var(--player-idle-first)}50%{background-position:var(--player-idle-second)}}@keyframes playerIdleFourSteps{0%,to{background-position:var(--player-idle-first)}25%{background-position:var(--player-idle-second)}50%{background-position:var(--player-idle-third)}75%{background-position:var(--player-idle-fourth)}}.verificationReplay .playerSprite--idle{animation:none;background-image:var(--player-standing-image);background-size:contain;background-position:center}@media(prefers-reduced-motion:reduce){.playerSprite--idle{animation:none;background-image:var(--player-standing-image);background-size:contain;background-position:center}}.playerSlash{position:absolute;left:50%;top:50%;z-index:4;display:block;width:178%;height:178%;background-position:center;background-repeat:no-repeat;background-size:contain;image-rendering:pixelated;pointer-events:none;opacity:0;transform:translate(-50%,-50%) scale(.72);filter:drop-shadow(0 0 8px rgba(255,255,255,.9)) drop-shadow(0 0 5px rgba(114,193,255,.55)) drop-shadow(0 2px 0 rgba(0,0,0,.45));animation:playerSlash .13s ease-out forwards}.playerSlash--up{background-image:url(../player-slash/up.webp);top:28%}.playerSlash--down{background-image:url(../player-slash/down.webp);top:72%}.playerSlash--left{background-image:url(../player-slash/left.webp);left:24%}.playerSlash--right{background-image:url(../player-slash/right.webp);left:76%}.playerSlash--upLeft{background-image:url(../player-slash/upLeft.webp);left:28%;top:30%}.playerSlash--upRight{background-image:url(../player-slash/upRight.webp);left:72%;top:30%}.playerSlash--downLeft{background-image:url(../player-slash/downLeft.webp);left:28%;top:70%}.playerSlash--downRight{background-image:url(../player-slash/downRight.webp);left:72%;top:70%}.tile--player-move-up .playerSprite{animation:playerMoveUp .13s linear forwards}.tile--player-move-down .playerSprite{animation:playerMoveDown .13s linear forwards}.tile--player-move-left .playerSprite{animation:playerMoveLeft .13s linear forwards}.tile--player-move-right .playerSprite{animation:playerMoveRight .13s linear forwards}.tile--player-move-upLeft .playerSprite{animation:playerMoveUpLeft .13s linear forwards}.tile--player-move-upRight .playerSprite{animation:playerMoveUpRight .13s linear forwards}.tile--player-move-downLeft .playerSprite{animation:playerMoveDownLeft .13s linear forwards}.tile--player-move-downRight .playerSprite{animation:playerMoveDownRight .13s linear forwards}.tile--player-bump-up .playerSprite{animation:playerBumpUp 105ms ease-out}.tile--player-bump-down .playerSprite{animation:playerBumpDown 105ms ease-out}.tile--player-bump-left .playerSprite{animation:playerBumpLeft 105ms ease-out}.tile--player-bump-right .playerSprite{animation:playerBumpRight 105ms ease-out}.tile--player-bump-upLeft .playerSprite{animation:playerBumpUpLeft 105ms ease-out}.tile--player-bump-upRight .playerSprite{animation:playerBumpUpRight 105ms ease-out}.tile--player-bump-downLeft .playerSprite{animation:playerBumpDownLeft 105ms ease-out}.tile--player-bump-downRight .playerSprite{animation:playerBumpDownRight 105ms ease-out}.enemySprite{position:absolute;left:-9%;bottom:5%;z-index:1;display:block;width:118%;height:118%;object-fit:contain;object-position:center bottom;background-repeat:no-repeat;background-position:center bottom;background-size:contain;image-rendering:pixelated;filter:drop-shadow(0 2px 0 rgba(0,0,0,.55));animation:enemyIdle .86s steps(2,end) infinite;transform-origin:50% 100%}.enemyRareAura{position:absolute;z-index:2;inset:5%;border:3px solid rgba(255,225,52,.9);border-radius:50%;background:radial-gradient(circle,rgba(255,244,113,.2),transparent 62%);box-shadow:0 0 7px #fffffff2,0 0 15px #ffd72eeb,inset 0 0 12px #5be0ffa6;pointer-events:none;animation:enemyRareAuraPulse .64s ease-in-out infinite alternate}.enemyRareSparkles{position:absolute;z-index:5;inset:2%;pointer-events:none;filter:drop-shadow(0 0 4px rgba(255,249,145,.95));animation:enemyRareSparklePulse .76s ease-in-out infinite alternate}.enemyRareBadge{position:absolute;z-index:7;top:2px;left:50%;transform:translate(-50%);border:2px solid #fffbd0;border-radius:999px;padding:1px 5px;background:linear-gradient(180deg,#ffef63,#f08a00 58%,#a94000);color:#fff;box-shadow:0 0 7px #fff,0 0 14px #ffd21f;font-size:clamp(7px,1.25vw,12px);font-weight:1000;line-height:1.05;letter-spacing:.04em;text-shadow:0 1px 1px #6e2400;pointer-events:none;animation:enemyRareBadgeReveal .9s cubic-bezier(.2,1.55,.45,1),enemyRareBadgeGlow .72s ease-in-out .9s infinite alternate}.enemyRareSparkles:before,.enemyRareSparkles:after{position:absolute;color:#fffbd1;font-weight:1000;line-height:1;text-shadow:0 0 4px #fff,0 0 8px #ffe45b,0 0 13px #64ddff;content:"✦"}.enemyRareSparkles:before{top:2%;right:4%;font-size:clamp(11px,2vw,20px)}.enemyRareSparkles:after{bottom:8%;left:1%;font-size:clamp(8px,1.5vw,15px);animation:enemyRareSparkleSwap .76s ease-in-out infinite alternate}@keyframes enemyRareSparklePulse{0%{opacity:.3;transform:scale(.86) rotate(-5deg)}to{opacity:1;transform:scale(1.08) rotate(5deg)}}@keyframes enemyRareSparkleSwap{0%{opacity:1;transform:scale(1.1)}to{opacity:.35;transform:scale(.75)}}@keyframes enemyRareAuraPulse{0%{opacity:.48;transform:scale(.82)}to{opacity:1;transform:scale(1.08)}}@keyframes enemyRareBadgeReveal{0%{opacity:0;transform:translate(-50%) scale(2.4)}55%{opacity:1;transform:translate(-50%) scale(1.35)}to{opacity:1;transform:translate(-50%) scale(1)}}@keyframes enemyRareBadgeGlow{0%{filter:brightness(.92)}to{filter:brightness(1.35)}}.enemySprite--attack{animation:enemyAttack 80ms ease-out}.enemySprite--move{animation:enemyMoveIn 60ms linear}.enemySprite--move-up{--enemy-move-from-x: 0%;--enemy-move-from-y: 100%}.enemySprite--move-down{--enemy-move-from-x: 0%;--enemy-move-from-y: -100%}.enemySprite--move-left{--enemy-move-from-x: 100%;--enemy-move-from-y: 0%}.enemySprite--move-right{--enemy-move-from-x: -100%;--enemy-move-from-y: 0%}.enemySprite--move-upLeft{--enemy-move-from-x: 100%;--enemy-move-from-y: 100%}.enemySprite--move-upRight{--enemy-move-from-x: -100%;--enemy-move-from-y: 100%}.enemySprite--move-downLeft{--enemy-move-from-x: 100%;--enemy-move-from-y: -100%}.enemySprite--move-downRight{--enemy-move-from-x: -100%;--enemy-move-from-y: -100%}.enemySprite--attack-up{--enemy-attack-x: 0%;--enemy-attack-y: -20%}.enemySprite--attack-down{--enemy-attack-x: 0%;--enemy-attack-y: 3%}.enemySprite--attack-left{--enemy-attack-x: -20%;--enemy-attack-y: 0%}.enemySprite--attack-right{--enemy-attack-x: 20%;--enemy-attack-y: 0%}.enemySprite--attack-upLeft{--enemy-attack-x: -16%;--enemy-attack-y: -16%}.enemySprite--attack-upRight{--enemy-attack-x: 16%;--enemy-attack-y: -16%}.enemySprite--attack-downLeft{--enemy-attack-x: -16%;--enemy-attack-y: 3%}.enemySprite--attack-downRight{--enemy-attack-x: 16%;--enemy-attack-y: 3%}.enemySprite--up{background-image:url(../enemy-sprites/up.webp)}.enemySprite--down{background-image:url(../enemy-sprites/down.webp)}.enemySprite--left{background-image:url(../enemy-sprites/left.webp)}.enemySprite--right{background-image:url(../enemy-sprites/right.webp)}.enemySprite--upLeft{background-image:url(../enemy-sprites/upLeft.webp)}.enemySprite--upRight{background-image:url(../enemy-sprites/upRight.webp)}.enemySprite--downLeft{background-image:url(../enemy-sprites/downLeft.webp)}.enemySprite--downRight{background-image:url(../enemy-sprites/downRight.webp)}.enemySprite--bubbleBlue.enemySprite--up{background-image:url(../enemy-sprites/bubbleBlue/up.webp)}.enemySprite--bubbleBlue.enemySprite--down{background-image:url(../enemy-sprites/bubbleBlue/down.webp)}.enemySprite--bubbleBlue.enemySprite--left{background-image:url(../enemy-sprites/bubbleBlue/left.webp)}.enemySprite--bubbleBlue.enemySprite--right{background-image:url(../enemy-sprites/bubbleBlue/right.webp)}.enemySprite--bubbleBlue.enemySprite--upLeft{background-image:url(../enemy-sprites/bubbleBlue/upLeft.webp)}.enemySprite--bubbleBlue.enemySprite--upRight{background-image:url(../enemy-sprites/bubbleBlue/upRight.webp)}.enemySprite--bubbleBlue.enemySprite--downLeft{background-image:url(../enemy-sprites/bubbleBlue/downLeft.webp)}.enemySprite--bubbleBlue.enemySprite--downRight{background-image:url(../enemy-sprites/bubbleBlue/downRight.webp)}.enemySprite--bubbleYellow.enemySprite--up{background-image:url(../enemy-sprites/bubbleYellow/up.webp)}.enemySprite--bubbleYellow.enemySprite--down{background-image:url(../enemy-sprites/bubbleYellow/down.webp)}.enemySprite--bubbleYellow.enemySprite--left{background-image:url(../enemy-sprites/bubbleYellow/left.webp)}.enemySprite--bubbleYellow.enemySprite--right{background-image:url(../enemy-sprites/bubbleYellow/right.webp)}.enemySprite--bubbleYellow.enemySprite--upLeft{background-image:url(../enemy-sprites/bubbleYellow/upLeft.webp)}.enemySprite--bubbleYellow.enemySprite--upRight{background-image:url(../enemy-sprites/bubbleYellow/upRight.webp)}.enemySprite--bubbleYellow.enemySprite--downLeft{background-image:url(../enemy-sprites/bubbleYellow/downLeft.webp)}.enemySprite--bubbleYellow.enemySprite--downRight{background-image:url(../enemy-sprites/bubbleYellow/downRight.webp)}.enemySprite--ironGuy.enemySprite--up{background-image:url(../enemy-sprites/ironGuy/up.webp)}.enemySprite--ironGuy.enemySprite--down{background-image:url(../enemy-sprites/ironGuy/down.webp)}.enemySprite--ironGuy.enemySprite--left{background-image:url(../enemy-sprites/ironGuy/left.webp)}.enemySprite--ironGuy.enemySprite--right{background-image:url(../enemy-sprites/ironGuy/right.webp)}.enemySprite--ironGuy.enemySprite--upLeft{background-image:url(../enemy-sprites/ironGuy/upLeft.webp)}.enemySprite--ironGuy.enemySprite--upRight{background-image:url(../enemy-sprites/ironGuy/upRight.webp)}.enemySprite--ironGuy.enemySprite--downLeft{background-image:url(../enemy-sprites/ironGuy/downLeft.webp)}.enemySprite--ironGuy.enemySprite--downRight{background-image:url(../enemy-sprites/ironGuy/downRight.webp)}.enemySprite--samuraiBlue.enemySprite--up{background-image:url(../enemy-sprites/samuraiBlue/up.webp)}.enemySprite--samuraiBlue.enemySprite--down{background-image:url(../enemy-sprites/samuraiBlue/down.webp)}.enemySprite--samuraiBlue.enemySprite--left{background-image:url(../enemy-sprites/samuraiBlue/left.webp)}.enemySprite--samuraiBlue.enemySprite--right{background-image:url(../enemy-sprites/samuraiBlue/right.webp)}.enemySprite--samuraiBlue.enemySprite--upLeft{background-image:url(../enemy-sprites/samuraiBlue/upLeft.webp)}.enemySprite--samuraiBlue.enemySprite--upRight{background-image:url(../enemy-sprites/samuraiBlue/upRight.webp)}.enemySprite--samuraiBlue.enemySprite--downLeft{background-image:url(../enemy-sprites/samuraiBlue/downLeft.webp)}.enemySprite--samuraiBlue.enemySprite--downRight{background-image:url(../enemy-sprites/samuraiBlue/downRight.webp)}.enemySprite--shiberian.enemySprite--up{background-image:url(../enemy-sprites/shiberian/up.webp)}.enemySprite--shiberian.enemySprite--down{background-image:url(../enemy-sprites/shiberian/down.webp)}.enemySprite--shiberian.enemySprite--left{background-image:url(../enemy-sprites/shiberian/left.webp)}.enemySprite--shiberian.enemySprite--right{background-image:url(../enemy-sprites/shiberian/right.webp)}.enemySprite--shiberian.enemySprite--upLeft{background-image:url(../enemy-sprites/shiberian/upLeft.webp)}.enemySprite--shiberian.enemySprite--upRight{background-image:url(../enemy-sprites/shiberian/upRight.webp)}.enemySprite--shiberian.enemySprite--downLeft{background-image:url(../enemy-sprites/shiberian/downLeft.webp)}.enemySprite--shiberian.enemySprite--downRight{background-image:url(../enemy-sprites/shiberian/downRight.webp)}.enemySprite--tyranodon.enemySprite--up{background-image:url(../enemy-sprites/tyranodon/up.webp)}.enemySprite--tyranodon.enemySprite--down{background-image:url(../enemy-sprites/tyranodon/down.webp)}.enemySprite--tyranodon.enemySprite--left{background-image:url(../enemy-sprites/tyranodon/left.webp)}.enemySprite--tyranodon.enemySprite--right{background-image:url(../enemy-sprites/tyranodon/right.webp)}.enemySprite--tyranodon.enemySprite--upLeft{background-image:url(../enemy-sprites/tyranodon/upLeft.webp)}.enemySprite--tyranodon.enemySprite--upRight{background-image:url(../enemy-sprites/tyranodon/upRight.webp)}.enemySprite--tyranodon.enemySprite--downLeft{background-image:url(../enemy-sprites/tyranodon/downLeft.webp)}.enemySprite--tyranodon.enemySprite--downRight{background-image:url(../enemy-sprites/tyranodon/downRight.webp)}.enemySprite--bunbunBee.enemySprite--up{background-image:url(../enemy-sprites/bunbunBee/up.webp)}.enemySprite--bunbunBee.enemySprite--down{background-image:url(../enemy-sprites/bunbunBee/down.webp)}.enemySprite--bunbunBee.enemySprite--left{background-image:url(../enemy-sprites/bunbunBee/left.webp)}.enemySprite--bunbunBee.enemySprite--right{background-image:url(../enemy-sprites/bunbunBee/right.webp)}.enemySprite--bunbunBee.enemySprite--upLeft{background-image:url(../enemy-sprites/bunbunBee/upLeft.webp)}.enemySprite--bunbunBee.enemySprite--upRight{background-image:url(../enemy-sprites/bunbunBee/upRight.webp)}.enemySprite--bunbunBee.enemySprite--downLeft{background-image:url(../enemy-sprites/bunbunBee/downLeft.webp)}.enemySprite--bunbunBee.enemySprite--downRight{background-image:url(../enemy-sprites/bunbunBee/downRight.webp)}.enemySprite--honeKing.enemySprite--up{background-image:url(../enemy-sprites/honeKing/up.webp)}.enemySprite--honeKing.enemySprite--down{background-image:url(../enemy-sprites/honeKing/down.webp)}.enemySprite--honeKing.enemySprite--left{background-image:url(../enemy-sprites/honeKing/left.webp)}.enemySprite--honeKing.enemySprite--right{background-image:url(../enemy-sprites/honeKing/right.webp)}.enemySprite--honeKing.enemySprite--upLeft{background-image:url(../enemy-sprites/honeKing/upLeft.webp)}.enemySprite--honeKing.enemySprite--upRight{background-image:url(../enemy-sprites/honeKing/upRight.webp)}.enemySprite--honeKing.enemySprite--downLeft{background-image:url(../enemy-sprites/honeKing/downLeft.webp)}.enemySprite--honeKing.enemySprite--downRight{background-image:url(../enemy-sprites/honeKing/downRight.webp)}.enemySprite--honeRock.enemySprite--up{background-image:url(../enemy-sprites/honeRock/up.webp)}.enemySprite--honeRock.enemySprite--down{background-image:url(../enemy-sprites/honeRock/down.webp)}.enemySprite--honeRock.enemySprite--left{background-image:url(../enemy-sprites/honeRock/left.webp)}.enemySprite--honeRock.enemySprite--right{background-image:url(../enemy-sprites/honeRock/right.webp)}.enemySprite--honeRock.enemySprite--upLeft{background-image:url(../enemy-sprites/honeRock/upLeft.webp)}.enemySprite--honeRock.enemySprite--upRight{background-image:url(../enemy-sprites/honeRock/upRight.webp)}.enemySprite--honeRock.enemySprite--downLeft{background-image:url(../enemy-sprites/honeRock/downLeft.webp)}.enemySprite--honeRock.enemySprite--downRight{background-image:url(../enemy-sprites/honeRock/downRight.webp)}.enemySprite--yurarin.enemySprite--up{background-image:url(../enemy-sprites/yurarin/up.webp)}.enemySprite--yurarin.enemySprite--down{background-image:url(../enemy-sprites/yurarin/down.webp)}.enemySprite--yurarin.enemySprite--left{background-image:url(../enemy-sprites/yurarin/left.webp)}.enemySprite--yurarin.enemySprite--right{background-image:url(../enemy-sprites/yurarin/right.webp)}.enemySprite--yurarin.enemySprite--upLeft{background-image:url(../enemy-sprites/yurarin/upLeft.webp)}.enemySprite--yurarin.enemySprite--upRight{background-image:url(../enemy-sprites/yurarin/upRight.webp)}.enemySprite--yurarin.enemySprite--downLeft{background-image:url(../enemy-sprites/yurarin/downLeft.webp)}.enemySprite--yurarin.enemySprite--downRight{background-image:url(../enemy-sprites/yurarin/downRight.webp)}.enemySprite--yajuuKun.enemySprite--up{background-image:url(../enemy-sprites/yajuuKun/up.webp)}.enemySprite--yajuuKun.enemySprite--down{background-image:url(../enemy-sprites/yajuuKun/down.webp)}.enemySprite--yajuuKun.enemySprite--left{background-image:url(../enemy-sprites/yajuuKun/left.webp)}.enemySprite--yajuuKun.enemySprite--right{background-image:url(../enemy-sprites/yajuuKun/right.webp)}.enemySprite--yajuuKun.enemySprite--upLeft{background-image:url(../enemy-sprites/yajuuKun/upLeft.webp)}.enemySprite--yajuuKun.enemySprite--upRight{background-image:url(../enemy-sprites/yajuuKun/upRight.webp)}.enemySprite--yajuuKun.enemySprite--downLeft{background-image:url(../enemy-sprites/yajuuKun/downLeft.webp)}.enemySprite--yajuuKun.enemySprite--downRight{background-image:url(../enemy-sprites/yajuuKun/downRight.webp)}.enemySprite--miniDragon.enemySprite--up{background-image:url(../enemy-sprites/miniDragon/up.webp)}.enemySprite--miniDragon.enemySprite--down{background-image:url(../enemy-sprites/miniDragon/down.webp)}.enemySprite--miniDragon.enemySprite--left{background-image:url(../enemy-sprites/miniDragon/left.webp)}.enemySprite--miniDragon.enemySprite--right{background-image:url(../enemy-sprites/miniDragon/right.webp)}.enemySprite--miniDragon.enemySprite--upLeft{background-image:url(../enemy-sprites/miniDragon/upLeft.webp)}.enemySprite--miniDragon.enemySprite--upRight{background-image:url(../enemy-sprites/miniDragon/upRight.webp)}.enemySprite--miniDragon.enemySprite--downLeft{background-image:url(../enemy-sprites/miniDragon/downLeft.webp)}.enemySprite--miniDragon.enemySprite--downRight{background-image:url(../enemy-sprites/miniDragon/downRight.webp)}.enemySprite--mezamashin.enemySprite--up{background-image:url(../enemy-sprites/mezamashin/up.webp)}.enemySprite--mezamashin.enemySprite--down{background-image:url(../enemy-sprites/mezamashin/down.webp)}.enemySprite--mezamashin.enemySprite--left{background-image:url(../enemy-sprites/mezamashin/left.webp)}.enemySprite--mezamashin.enemySprite--right{background-image:url(../enemy-sprites/mezamashin/right.webp)}.enemySprite--mezamashin.enemySprite--upLeft{background-image:url(../enemy-sprites/mezamashin/upLeft.webp)}.enemySprite--mezamashin.enemySprite--upRight{background-image:url(../enemy-sprites/mezamashin/upRight.webp)}.enemySprite--mezamashin.enemySprite--downLeft{background-image:url(../enemy-sprites/mezamashin/downLeft.webp)}.enemySprite--mezamashin.enemySprite--downRight{background-image:url(../enemy-sprites/mezamashin/downRight.webp)}.enemySprite--moyai.enemySprite--up{background-image:url(../enemy-sprites/moyai/up.webp)}.enemySprite--moyai.enemySprite--down{background-image:url(../enemy-sprites/moyai/down.webp)}.enemySprite--moyai.enemySprite--left{background-image:url(../enemy-sprites/moyai/left.webp)}.enemySprite--moyai.enemySprite--right{background-image:url(../enemy-sprites/moyai/right.webp)}.enemySprite--moyai.enemySprite--upLeft{background-image:url(../enemy-sprites/moyai/upLeft.webp)}.enemySprite--moyai.enemySprite--upRight{background-image:url(../enemy-sprites/moyai/upRight.webp)}.enemySprite--moyai.enemySprite--downLeft{background-image:url(../enemy-sprites/moyai/downLeft.webp)}.enemySprite--moyai.enemySprite--downRight{background-image:url(../enemy-sprites/moyai/downRight.webp)}.enemySprite--dragonKing.enemySprite--up{background-image:url(../enemy-sprites/dragonKing/up.webp)}.enemySprite--dragonKing.enemySprite--down{background-image:url(../enemy-sprites/dragonKing/down.webp)}.enemySprite--dragonKing.enemySprite--left{background-image:url(../enemy-sprites/dragonKing/left.webp)}.enemySprite--dragonKing.enemySprite--right{background-image:url(../enemy-sprites/dragonKing/right.webp)}.enemySprite--dragonKing.enemySprite--upLeft{background-image:url(../enemy-sprites/dragonKing/upLeft.webp)}.enemySprite--dragonKing.enemySprite--upRight{background-image:url(../enemy-sprites/dragonKing/upRight.webp)}.enemySprite--dragonKing.enemySprite--downLeft{background-image:url(../enemy-sprites/dragonKing/downLeft.webp)}.enemySprite--dragonKing.enemySprite--downRight{background-image:url(../enemy-sprites/dragonKing/downRight.webp)}.enemySprite--bubbleBlue,.enemySprite--bubbleBlueRare,.enemySprite--bubbleYellow,.enemySprite--ironGuy,.enemySprite--samuraiBlue,.enemySprite--shiberian,.enemySprite--tyranodon,.enemySprite--bunbunBee,.enemySprite--honeKing,.enemySprite--honeRock,.enemySprite--yurarin,.enemySprite--yajuuKun,.enemySprite--miniDragon,.enemySprite--mezamashin,.enemySprite--moyai,.enemySprite--dragonKing{width:118%;height:118%}.enemySprite--rare{filter:drop-shadow(0 0 5px rgba(255,255,255,.98)) drop-shadow(0 0 11px rgba(255,218,52,.92)) drop-shadow(0 0 17px rgba(69,222,255,.78))}.enemySprite--poisoned{filter:drop-shadow(0 0 7px rgba(116,255,74,.82)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.enemySprite--sleeping{filter:drop-shadow(0 0 8px rgba(79,197,255,.9)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.enemySleepIndicator{position:absolute;top:-24%;left:50%;z-index:12;display:inline-flex;align-items:center;gap:3px;padding:2px 7px 3px;border:2px solid #d9faff;border-radius:999px;background:linear-gradient(180deg,#225b9a,#102d69);color:#fff;box-shadow:0 2px #102341,0 0 10px #71eaff;font-size:clamp(17px,2vw,24px);font-weight:1000;line-height:1;white-space:nowrap;text-shadow:0 2px 1px #09244b,0 0 5px #63dfff;pointer-events:none;animation:enemySleepingZzz 1.6s ease-in-out infinite}.enemySleepIndicator>span{color:#ffe485;font-size:1.15em}.enemySleepIndicator>strong{font-size:.8em;letter-spacing:-.03em}@keyframes enemySleepingZzz{0%,to{transform:translate(-50%,1px)}50%{transform:translate(-50%,-4px)}}.enemySprite--panicked{filter:drop-shadow(0 0 8px rgba(186,255,72,.92)) drop-shadow(0 0 5px rgba(214,74,255,.68)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.enemySprite--slowed{filter:drop-shadow(0 0 8px rgba(72,204,255,.9)) drop-shadow(0 0 5px rgba(72,112,255,.58)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.enemySprite--shocked{filter:drop-shadow(0 0 8px rgba(255,213,58,.95)) drop-shadow(0 0 5px rgba(255,120,36,.62)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.enemySprite--locked{filter:drop-shadow(0 0 8px rgba(61,194,255,.95)) drop-shadow(0 0 5px rgba(40,91,255,.62)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.enemySprite--charmed{filter:drop-shadow(0 0 8px rgba(255,92,188,.95)) drop-shadow(0 0 5px rgba(255,160,214,.62)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.enemySprite--tricked{filter:drop-shadow(0 0 8px rgba(171,255,58,.92)) drop-shadow(0 0 5px rgba(98,214,42,.62)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.cardSprite{position:absolute;z-index:1;display:block;top:3%;left:9%;width:82%;height:94%;background:url(../card-sprites/card-back.webp) center / contain no-repeat;image-rendering:pixelated;filter:drop-shadow(0 2px 0 rgba(0,0,0,.55))}.cardSprite--revealed{height:94%;object-fit:contain;background:none}.shopSprite{position:absolute;z-index:1;left:50%;bottom:0;transform:translate(-50%)}.rockSprite{position:relative;z-index:1;display:block;width:76%;height:68%;border:2px solid #242a2a;border-radius:48% 42% 38% 46%/42% 46% 38% 44%;background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.32),transparent 18%),linear-gradient(145deg,#a8aaa4 0 24%,#777c7b 25% 58%,#4b5252 59% 100%);box-shadow:inset -4px -5px #0003,0 5px #0006;transform:translateY(-2%)}.shopOverlay{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:14px;background:#040607d1}.shopPanel{width:min(94vw,920px);max-height:92vh;overflow:auto;padding:14px;border:2px solid #dca0ff;border-radius:10px;background:linear-gradient(180deg,#2b2030,#111516 38%);box-shadow:0 18px 60px #000000b3}.shopHeader,.shopSellPanel>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.shopHeader h2{margin:0;color:#ffe599;font-size:26px;letter-spacing:.12em}.shopHeader span,.shopSellPanel>header span{color:#d9d3c4;font-size:12px}.shopHeader strong{color:#ffe599;font-size:18px}.shopHeader button,.shopProduct button{border:1px solid #b890ca;border-radius:5px;background:linear-gradient(180deg,#55405e,#2d2432);color:#fff4cf;font-weight:900;cursor:pointer}.shopHeader button{padding:8px 12px}.shopShelf{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:12px}.shopProduct{position:relative;min-width:0;min-height:112px;display:grid;grid-template-columns:56px minmax(0,1fr);grid-template-rows:auto 1fr auto;align-items:center;gap:4px 7px;padding:7px;border:1px solid rgba(216,193,226,.22);border-radius:7px;background:#0509099e;color:#c6c2bb}.shopProduct--current{border-color:#ffe28b9e;background:#372b1dbd}.shopProduct img{grid-row:1 / 4;width:56px;height:86px;object-fit:contain}.shopProduct>strong:not(.shopProductState){min-width:0;overflow:hidden;color:#fff3c6;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.shopProduct>span:not(.shopProductPosition){color:#ffe28a;font-size:11px;font-weight:900}.shopProduct button{padding:4px 6px;font-size:11px}.shopProduct button:disabled{opacity:.38;cursor:not-allowed}.shopProductPosition{position:absolute;top:3px;right:5px;color:#8d8980;font-size:9px}.shopProductState{grid-column:1 / -1;place-self:center;color:#77746d;font-size:14px}.shopColumnStates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:7px}.shopColumnStates span{padding:5px;border-radius:4px;background:#00000052;color:#d7c5de;font-size:10px;font-weight:900;text-align:center}.shopNotice{margin:8px 0 0;color:#ffac8e;font-size:12px;font-weight:900}.shopSellPanel{margin-top:12px;padding-top:10px;border-top:1px solid rgba(220,160,255,.34)}.shopSellPanel>header strong{color:#f4e8ff}.shopSellSlots{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:6px;margin-top:8px}.shopSellSlots button{position:relative;min-width:0;height:104px;padding:4px;border:1px solid #69766a;border-radius:5px;background:#101716;color:#f3eccd;cursor:pointer}.shopSellSlots button:disabled{opacity:.34;cursor:default}.shopSellSlots img{width:100%;height:76px;object-fit:contain}.shopSellSlots button>span{position:absolute;top:3px;left:4px;z-index:1;font-size:10px}.shopSellSlots button>strong{display:block;color:#ffe28a;font-size:10px}.shopSellSlots i{font-size:10px;font-style:normal}.shopExitBar{display:none}.shopBody{min-height:0}@media(max-width:680px){.shopShelf{gap:4px}.shopProduct{min-height:120px;grid-template-columns:1fr;grid-template-rows:58px auto auto auto;padding:5px;text-align:center}.shopProduct img{grid-row:auto;width:100%;height:58px}.shopSellSlots{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:560px)and (orientation:portrait){.shopOverlay{align-items:stretch;padding:max(6px,env(safe-area-inset-top)) 6px max(6px,env(safe-area-inset-bottom));overflow:hidden}.shopPanel{width:100%;max-height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:8px;overflow:hidden}.shopHeader{position:relative;z-index:2;padding-bottom:8px;border-bottom:1px solid rgba(220,160,255,.34);background:#2b2030}.shopHeader h2{font-size:20px}.shopHeader button,.shopExitBar button{min-width:96px;min-height:46px;border:2px solid #d8b0e7;border-radius:8px;background:linear-gradient(180deg,#654c70,#34283a);color:#fff4cf;font:inherit;font-size:14px;font-weight:900;touch-action:manipulation}.shopBody{grid-row:2;overflow-y:auto;overscroll-behavior:contain;padding:0 2px 10px}.shopShelf{align-content:start}.shopExitBar{grid-row:3;display:grid;padding-top:8px;border-top:1px solid rgba(220,160,255,.34);background:#111516}.shopExitBar button{width:100%}}.attackEffect{position:absolute;left:50%;top:50%;z-index:5;display:block;width:132%;height:132%;transform:translate(-50%,-50%) scale(.62);background-position:center;background-repeat:no-repeat;background-size:contain;image-rendering:pixelated;pointer-events:none;animation:attackEffectPop .52s ease-out forwards}.attackEffect--fire{background-image:url(../effect-sprites/fireball.webp);filter:drop-shadow(0 0 8px rgba(255,88,18,.92)) drop-shadow(0 2px 0 rgba(0,0,0,.5))}.attackEffect--thunder{background-image:url(../effect-sprites/lightning.webp);filter:drop-shadow(0 0 8px rgba(85,196,255,.92)) drop-shadow(0 2px 0 rgba(0,0,0,.5))}.attackEffect--multiFire{background-image:url(../effect-sprites/multi-fire.webp);filter:drop-shadow(0 0 9px rgba(255,92,18,.94)) drop-shadow(0 2px 0 rgba(0,0,0,.5))}.attackEffect--multiThunder{background-image:url(../effect-sprites/multi-thunder.webp);filter:drop-shadow(0 0 9px rgba(78,191,255,.94)) drop-shadow(0 2px 0 rgba(0,0,0,.5))}.attackEffect--spear{background-image:url(../effect-sprites/spear.webp);filter:drop-shadow(0 0 9px rgba(255,190,52,.95)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.attackEffect--meteor,.attackEffect--multiMeteor{background-image:url(../effect-sprites/meteor.webp);filter:drop-shadow(0 0 10px rgba(184,70,255,.92)) drop-shadow(0 0 7px rgba(255,98,25,.86)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.attackEffect--multiMeteor{background-image:url(../effect-sprites/multi-meteor.webp)}.attackEffect--magicMissile{background-image:url(../effect-sprites/magic-missile.webp);filter:drop-shadow(0 0 9px rgba(255,68,80,.94)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.attackEffect--magicMissile10{background-image:url(../effect-sprites/magic-missile10.webp);filter:drop-shadow(0 0 9px rgba(222,76,255,.94)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.attackEffect--poison,.attackEffect--multiPoison{background-image:url(../effect-sprites/poison.webp);filter:drop-shadow(0 0 9px rgba(114,255,64,.92)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.attackEffect--multiPoison{background-image:url(../effect-sprites/multi-poison.webp)}.attackEffect--energyDrain{background-image:url(../effect-sprites/energy-drain.webp);filter:drop-shadow(0 0 10px rgba(67,192,255,.95)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.attackEffect--hyperPoison,.attackEffect--multiHyperPoison{background-image:url(../effect-sprites/hyper-poison.webp);filter:drop-shadow(0 0 10px rgba(218,74,255,.95)) drop-shadow(0 0 7px rgba(114,255,64,.55)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.attackEffect--multiHyperPoison{background-image:url(../effect-sprites/multi-hyper-poison.webp)}.attackEffect--sleep,.attackEffect--multiSleep{background-image:url(../effect-sprites/sleep.webp);filter:drop-shadow(0 0 10px rgba(78,201,255,.96)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.attackEffect--multiSleep{background-image:url(../effect-sprites/multi-sleep.webp)}.attackEffect--ultraSleep{background-image:url(../effect-sprites/ultra-sleep.webp);filter:drop-shadow(0 0 10px rgba(205,87,255,.96)) drop-shadow(0 0 7px rgba(78,201,255,.66)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.attackEffect--panic,.attackEffect--multiPanic{background-image:url(../effect-sprites/panic.webp);filter:drop-shadow(0 0 10px rgba(166,255,67,.96)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.attackEffect--multiPanic{background-image:url(../effect-sprites/multi-panic.webp)}.attackEffect--ultraPanic{background-image:url(../effect-sprites/ultra-panic.webp);filter:drop-shadow(0 0 10px rgba(211,75,255,.96)) drop-shadow(0 0 7px rgba(166,255,67,.62)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.attackEffect--slow,.attackEffect--multiSlow{background-image:url(../effect-sprites/slow.webp);filter:drop-shadow(0 0 10px rgba(70,202,255,.96)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.attackEffect--multiSlow{background-image:url(../effect-sprites/multi-slow.webp)}.attackEffect--ultraSlow{background-image:url(../effect-sprites/ultra-slow.webp);filter:drop-shadow(0 0 10px rgba(86,126,255,.96)) drop-shadow(0 0 7px rgba(205,87,255,.66)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.attackEffect--multiShock{background-image:url(../effect-sprites/multi-shock.webp);filter:drop-shadow(0 0 10px rgba(255,211,45,.96)) drop-shadow(0 0 6px rgba(255,120,30,.66)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.attackEffect--ultraShock{background-image:url(../effect-sprites/ultra-shock.webp);filter:drop-shadow(0 0 10px rgba(255,211,45,.96)) drop-shadow(0 0 7px rgba(211,75,255,.64)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.attackEffect--lock,.attackEffect--multiLock{background-image:url(../effect-sprites/lock.webp);filter:drop-shadow(0 0 10px rgba(61,194,255,.96)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.attackEffect--multiLock{background-image:url(../effect-sprites/multi-lock.webp)}.attackEffect--charm,.attackEffect--multiCharm{background-image:url(../effect-sprites/charm.webp);filter:drop-shadow(0 0 10px rgba(255,86,188,.96)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.attackEffect--multiCharm{background-image:url(../effect-sprites/multi-charm.webp)}.attackEffect--trick,.attackEffect--multiTrick{background-image:url(../effect-sprites/trick.webp);filter:drop-shadow(0 0 10px rgba(173,255,62,.96)) drop-shadow(0 0 6px rgba(87,214,42,.66)) drop-shadow(0 2px 0 rgba(0,0,0,.55))}.attackEffect--multiTrick{background-image:url(../effect-sprites/multi-trick.webp)}.goalSprite{position:relative;z-index:1;display:block;width:150%;height:150%;background:url(../goal-sprites/goal-anime-v3.webp) center / contain no-repeat;image-rendering:auto;filter:drop-shadow(0 4px 1px #0c1730) drop-shadow(0 0 4px #b7edff)}.stairsSprite{position:relative;z-index:1;display:block;width:128%;height:104%;background:url(../stair-sprites/stairs.webp) center / contain no-repeat;image-rendering:pixelated;filter:drop-shadow(0 3px 0 rgba(0,0,0,.58))}.combatFeedbackLayer{position:absolute;inset:0;z-index:30;overflow:visible;pointer-events:none}.combatFeedbackPopupAnchor,.enemyBreathWarningAnchor{position:absolute;display:block;overflow:visible;pointer-events:none}.combatFeedbackPopupAnchor{z-index:20}.enemyBreathWarningAnchor{z-index:10}.dangerWarningAnchor{position:absolute;z-index:10;pointer-events:none;overflow:visible}.dangerWarningMark{position:absolute;left:50%;top:43%;z-index:9;display:grid;place-items:center;width:54%;aspect-ratio:1;border:3px solid #2b1700;border-radius:50%;background:radial-gradient(circle at 50% 35%,#fff7a0 0 22%,#ffd52d 48%,#e17b00);color:#2b1700;font-size:clamp(34px,5vw,54px);font-weight:1000;line-height:.92;text-shadow:0 2px 0 rgba(255,255,255,.5),0 -1px 0 rgba(0,0,0,.35);box-shadow:0 0 0 3px #ffe74b61,0 0 18px #ffd026f2,0 5px #0000006b;pointer-events:none;transform:translate(-50%,-50%) scale(.72);animation:dangerWarningPop .62s ease-out forwards}.enemyBreathWarning{position:absolute;inset:5%;z-index:8;display:grid;place-items:center;border:3px solid rgba(255,86,38,.92);border-radius:10px;background:repeating-linear-gradient(-45deg,#ff43144d 0 8px,#ffb72b2e 8px 16px);color:#fff2a8;font-size:clamp(26px,4vw,42px);font-weight:1000;line-height:1;text-shadow:0 2px 0 #5d1200,0 0 10px rgba(255,64,16,.95);box-shadow:inset 0 0 16px #ff340c6b,0 0 12px #ff6016c7;pointer-events:none;animation:enemyBreathWarningPulse .76s ease-in-out infinite alternate}@keyframes enemyBreathWarningPulse{0%{opacity:.58;transform:scale(.96)}to{opacity:.96;transform:scale(1)}}.enemyHpBar{position:absolute;left:50%;bottom:124%;z-index:4;display:block;width:62%;height:6px;border:1px solid rgba(12,10,8,.92);border-radius:999px;background:#030403c2;box-shadow:0 1px #ffffff38,0 2px 4px #0000008c;overflow:hidden;pointer-events:none;transform:translate(-50%)}.enemyHpBarFill{display:block;width:100%;height:100%;border-radius:inherit;transform-origin:left center;transition:transform .18s ease-out,background-color .12s ease}.enemyHpBar--safe .enemyHpBarFill{background:linear-gradient(180deg,#9cff76,#38ce45 52%,#12902c)}.enemyHpBar--warning .enemyHpBarFill{background:linear-gradient(180deg,#fff17b,#f2c63d 54%,#b57716)}.enemyHpBar--danger .enemyHpBarFill{background:linear-gradient(180deg,#ff9182,#e93b32 54%,#9e161c)}.playerDamagePopup{position:absolute;left:50%;top:4px;z-index:8;color:#ff5148;font-size:22px;font-weight:900;line-height:1;letter-spacing:0;text-shadow:-2px -2px 0 #1a0604,2px -2px 0 #1a0604,-2px 2px 0 #1a0604,2px 2px 0 #1a0604,0 3px 4px rgba(0,0,0,.7);pointer-events:none;animation:playerDamagePopup .72s ease-out forwards}@keyframes playerDamagePopup{0%{opacity:0;transform:translate(-50%,-20%) scale(.82)}16%{opacity:1;transform:translate(-50%,-52%) scale(1.08)}to{opacity:0;transform:translate(-50%,-132%) scale(1)}}@keyframes dangerWarningPop{0%{opacity:0;transform:translate(-50%,-50%) scale(.45) rotate(-12deg)}18%{opacity:1;transform:translate(-50%,-62%) scale(1.18) rotate(7deg)}48%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(0)}to{opacity:0;transform:translate(-50%,-66%) scale(1.08) rotate(0)}}.gameOver{position:absolute;inset:12px;z-index:3;display:grid;place-items:center;border:2px solid rgba(255,218,152,.68);background:#0b0808c7;color:#ffd998;font-size:clamp(34px,8vw,72px);font-weight:900;letter-spacing:0;text-shadow:0 4px 0 #0a0d0d}.clearScreen{position:absolute;inset:12px;z-index:9;display:grid;place-items:center;align-content:center;gap:10px;border:2px solid rgba(126,210,255,.72);background:radial-gradient(circle at 50% 38%,rgba(56,162,255,.22),transparent 46%),#05080ad1;color:#dff5ff;font-size:clamp(34px,7vw,68px);font-weight:900;text-shadow:0 4px 0 #061014}.clearScreen:not(.clearScreen--illustrated) img{width:min(78%,360px);image-rendering:pixelated;filter:drop-shadow(0 8px 0 rgba(0,0,0,.42))}.clearScreen small{color:#fff1a8;font-size:clamp(14px,2.5vw,22px);text-shadow:0 2px 0 #2d2105}.firstClearReward{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:min(92%,620px);gap:5px;border:1px solid rgba(255,225,121,.76);border-radius:8px;padding:8px;background:#143336e6;color:#fff4bd;font-size:clamp(11px,1.9vw,18px);line-height:1.25;text-shadow:0 2px 0 #14201b}.firstClearReward strong{grid-column:1 / -1;color:#ffda67;font-size:1.12em}.firstClearReward>span{min-width:0;border-radius:4px;padding:3px 4px;background:#ffffff14;overflow-wrap:anywhere}.outcomeTapScreen{width:auto;height:auto;margin:0;padding:0;font-family:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}.outcomeTapScreen:focus-visible{outline:4px solid #fff2a8;outline-offset:-7px}.gameOver.outcomeTapScreen{align-content:center;gap:12px}.gameOver.outcomeTapScreen small,.clearScreen .outcomeTapHint{color:#fff1a8;font-size:clamp(12px,2.8vw,20px);line-height:1.3;text-shadow:0 2px 0 #261b04}.pickupEffect{position:absolute;left:50%;top:50%;z-index:5;transform:translate(-50%,-50%);border:1px solid rgba(177,255,180,.82);border-radius:6px;padding:6px 10px;background:#134e2fdb;color:#dfffd2;font-size:clamp(13px,3vw,18px);font-weight:900;text-shadow:0 1px 0 #07110b;pointer-events:none;animation:cardPickup .48s ease-out forwards}.aimPrompt{position:absolute;left:50%;top:14px;z-index:8;display:grid;gap:3px;min-width:min(78%,360px);transform:translate(-50%);border:2px solid rgba(255,218,124,.86);border-radius:8px;padding:8px 12px;background:linear-gradient(180deg,#3f2711f2,#16110ef2),#19100b;color:#fff1bd;text-align:center;text-shadow:0 2px 0 #120704;box-shadow:0 5px #0006;pointer-events:none}.aimPrompt strong{font-size:13px}.aimPrompt span,.cardUseHint{color:#d8deca;font-size:12px;font-weight:800}.cardModal{position:absolute;inset:12px;z-index:8;display:grid;place-items:center;overflow:hidden;background:#040707b3}.cardModalPanel,.cardModalContent{box-sizing:border-box;width:min(86%,360px);height:min(100%,560px);min-height:0;display:grid;grid-template-rows:minmax(0,1fr);grid-auto-rows:auto;gap:10px;overflow:hidden;padding:10px;border:2px solid rgba(214,193,132,.8);border-radius:8px;background:linear-gradient(180deg,#252d2a,#111716);box-shadow:0 18px 34px #00000080,inset 0 0 0 2px #ffffff0f}.cardModalImage,.cardModalContent>img{width:100%;max-width:100%;height:100%;min-height:0;max-height:100%;object-fit:contain;border-radius:4px;image-rendering:pixelated}.cardModalTitle{color:#fff4ca;font-size:14px;line-height:1.25;text-align:center}.cardUseHint{text-align:center;text-shadow:0 1px 0 #050606}.cardModalActions{display:grid;grid-template-columns:auto 1fr 1fr;gap:8px;align-items:center}.cardModalActions--single{grid-template-columns:1fr}.cardModalActions span{display:grid;place-items:center;width:26px;height:26px;border:1px solid #7d8b75;border-radius:4px;color:#f8edbd;font-size:13px;font-weight:900}.cardModalActions button,.inventorySlot{font:inherit}.cardModalActions button{min-width:0;border:1px solid #7a876d;border-radius:5px;padding:7px 9px;background:linear-gradient(180deg,#354333,#1d2923);color:#f4edc6;cursor:pointer;font-size:12px;font-weight:800}.cardModal--pickupPreview{width:auto;border:0;padding:0;font:inherit;color:inherit;cursor:pointer}.cardModalPanel--pickupPreview{width:min(90%,380px);height:min(96%,600px);grid-template-rows:auto minmax(0,1fr) auto auto auto;pointer-events:none}.pickupPreviewHeading,.pickupPreviewDismiss{color:#ffe694;font-weight:900;text-align:center;text-shadow:0 2px 0 #120704}.pickupPreviewHeading{font-size:18px}.pickupPreviewDismiss{padding:8px;border:1px solid #7a876d;border-radius:5px;background:linear-gradient(180deg,#354333,#1d2923);color:#f4edc6;font-size:12px}.replacePrompt{color:#f8edbd;font-size:12px;font-weight:900;text-align:center;text-shadow:0 1px 0 #050606}.replaceSlots{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px}.replaceSlot{position:relative;display:grid;place-items:center;min-width:0;aspect-ratio:1;border:1px solid #6f7b61;border-radius:4px;background:#121917;cursor:pointer;overflow:hidden}.replaceSlot span{position:absolute;left:1px;top:1px;z-index:1;display:grid;place-items:center;width:13px;height:13px;border-radius:3px;background:#040707d1;color:#f7edbe;font-size:9px;font-weight:900}.replaceSlot img{width:132%;height:132%;max-width:none;object-fit:contain;image-rendering:pixelated}.inventoryBar{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:6px;padding:8px;border:1px solid #59645e;border-radius:8px;background:linear-gradient(180deg,#202824,#131918);box-shadow:inset 0 1px #ffffff14}.inventorySlot{position:relative;display:grid;place-items:center;min-width:0;aspect-ratio:1;border:1px solid #435048;border-radius:5px;background:linear-gradient(135deg,rgba(255,255,255,.08),transparent 40%),#111716;cursor:pointer;overflow:hidden}.inventorySlot--filled{border-color:#879f68;background:#18221a}.inventorySlot img{width:120%;height:120%;max-width:none;object-fit:contain;image-rendering:pixelated}.inventorySlotNumber{position:absolute;left:2px;top:2px;z-index:1;display:grid;place-items:center;width:15px;height:15px;border-radius:3px;background:#040707c2;color:#f7edbe;font-size:10px;font-weight:900;line-height:1}.inventorySlotArtwork{position:relative;display:block;aspect-ratio:var(--art-crop-ratio, 1);overflow:hidden;pointer-events:none;transform:scale(var(--art-display-scale, 1))}.inventorySlotArtwork--portrait{width:auto;height:100%}.inventorySlotArtwork--landscape{width:100%;height:auto}.floorFade{position:absolute;inset:12px;z-index:6;background:#020303;pointer-events:none;animation:floorFade .22s ease-in-out forwards}.scanlines{position:absolute;inset:12px;z-index:4;background:repeating-linear-gradient(180deg,rgba(255,255,255,.035) 0,rgba(255,255,255,.035) 1px,transparent 1px,transparent 6px);mix-blend-mode:soft-light;pointer-events:none}.messageWindow{min-width:0;max-width:100%;overflow:hidden;display:flex;flex-wrap:wrap;gap:8px 14px;color:#d8deca;font-size:13px}.messageWindow span{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:keep-all}.devButton{border:1px solid #657166;border-radius:6px;background:#202922;color:#dce4d1;cursor:pointer;font-size:12px;padding:7px 9px}.devButton:hover{background:#2b382f}.devActions{display:flex;flex-shrink:0;gap:8px;justify-content:flex-end}@media(max-width:720px){.app{padding:10px}.app--stageSelect{align-content:start;padding:0}.stageDetailOverlay{align-items:start;padding:max(8px,env(safe-area-inset-top)) 8px max(96px,calc(env(safe-area-inset-bottom) + 72px));overflow:hidden}.stageDetailPanel{width:min(100%,680px);max-height:calc(100dvh - max(112px,calc(env(safe-area-inset-bottom) + 88px)));padding:10px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.stageDetailActions{position:sticky;bottom:0;z-index:8;margin:0 -10px -10px;padding:10px max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));border-top:2px solid rgba(255,231,150,.62);background:#09110ffa;box-shadow:0 -8px 18px #00000085}.stageDetailActions button{min-height:48px;padding-inline:18px;font-size:15px;touch-action:manipulation}.stageMedalBalance{min-width:84px;gap:7px;padding:5px 8px;font-size:9px}.stageMedalBalance strong{font-size:14px}.settingsStageBasics{grid-template-columns:1fr}.carryInPanel{width:58%;padding:6px}.carryInHeader,.carryInClearButton,.stageItemButton small{font-size:10px}.collectionPanel{padding:10px}.cardListFilters{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px;padding:8px}.cardListSearch{grid-column:1 / -1}.cardListOwnedOnly{justify-content:center;white-space:normal}.cardListResultCount,.cardListFilterReset{min-height:44px}.casinoOverlay{padding:8px}.casinoPanel{width:min(98vw,920px);padding:11px}.casinoHeader h2{font-size:20px}.casinoHeader p{font-size:10px}.casinoControlBar{grid-template-columns:1fr;gap:7px}.casinoControlBar .casinoBalance{padding-block:7px}.casinoExchangeBody{grid-template-columns:1fr}.casinoRecycleSection select,.casinoRecycleSection input[type=number]{font-size:16px;line-height:1.2;touch-action:manipulation}.casinoExchangeOfferGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.casinoRecycleConfirm{grid-template-columns:1fr 1fr}.casinoRecycleConfirm span{grid-column:1 / -1}.casinoProbabilitySettingsGrid,.casinoPayoutRateSetting{grid-template-columns:1fr}.casinoPayoutRateSetting>small{grid-column:auto}.casinoProbabilitySettings footer{flex-wrap:wrap}.casinoProbabilitySettings footer span{width:100%}.casinoIndividualCardWeights>header{align-items:start;flex-direction:column;gap:2px}.casinoIndividualCardWeights>div{grid-template-columns:1fr;max-height:280px}.casinoBetControls{grid-template-columns:auto minmax(0,1fr)}.casinoSpinButton{grid-column:1 / -1;min-height:48px}.casinoConfirm{flex-wrap:wrap}.casinoConfirm span{width:100%}.casinoMachine{padding:9px;border-width:3px;border-radius:13px}.casinoMachineTop strong{font-size:18px}.casinoReels{gap:5px;padding:6px}.casinoReel{height:150px;border-width:2px}.casinoReelColumn span{height:48px;font-size:30px}.casinoSlotSymbol img{width:34px;height:43px}.casinoSlotSymbol:not(.casinoSlotSymbol--card) img{width:43px;height:43px}.casinoMachineMessage{min-height:20px;font-size:15px}.casinoWinOverlay{padding:9px}.casinoWinOverlayHeader h3{font-size:18px}.casinoWinCards{grid-template-columns:repeat(5,minmax(0,1fr))}.casinoWinOverlay .casinoResult img{max-height:145px}.casinoResults>div{grid-template-columns:repeat(2,minmax(0,1fr))}.casinoPayoutList{grid-template-columns:repeat(2,minmax(0,1fr))}.settingsAppearanceGroup{grid-template-columns:1fr}.settingsAppearanceRates{max-height:160px}.collectionGrid{grid-template-columns:1fr}.collectionCard{grid-template-columns:78px 1fr auto;gap:8px;align-items:center}.collectionCard .collectionCardImageButton,.collectionCard img{width:78px;height:78px}.collectionCard div{align-content:center;overflow:hidden}.collectionCard strong,.collectionCard span{min-width:0;overflow-wrap:anywhere}.gameShell{padding:10px}.topPanel,.bottomPanel{grid-template-columns:1fr}.statusBar{grid-template-columns:repeat(2,minmax(0,1fr))}.statusBar span{min-width:0}.equipmentSlots{width:100%;justify-content:start}.equipmentSlot{width:52px}.equipmentSlotTooltip{right:0;left:auto;transform:none}.equipmentSlot:nth-child(-n+4) .equipmentSlotTooltip{right:auto;left:0}.playArea{grid-template-columns:1fr}.mapPanel{width:100%;min-width:0;padding:8px}.hpHud{top:10px;left:10px;min-width:168px}.hpHudLabel{font-size:15px}.hpHudValue{font-size:27px}.floorMapPanel{width:min(100%,320px);margin:0 auto;padding:8px}.devActions{justify-content:stretch}.devActions .devButton{flex:1}.scanlines,.gameOver{inset:8px}}.gameShell{width:min(100%,calc(100vw - 24px),1400px)}.topPanel{grid-template-columns:minmax(350px,.9fr) minmax(650px,1.55fr);padding:14px 17px;background:radial-gradient(circle at 6% 12%,rgba(255,255,255,.72),transparent 24%),linear-gradient(180deg,#fffbe0fc,#e7cf90fc)}.titleBlock{position:relative;isolation:isolate;padding:5px 10px 5px 17px}.titleBlock:before{content:"";position:absolute;z-index:-1;top:-13px;left:-8px;width:clamp(150px,19vw,265px);height:66px;background:url(../play-ui/decor/title-vine.webp) left center / contain no-repeat;opacity:.66;transform:rotate(-3deg);pointer-events:none}.titleBlock h1{font-size:clamp(31px,3.65vw,50px);line-height:1;white-space:nowrap;-webkit-text-stroke:1px rgba(9,49,48,.42)}.titleBlock p{position:relative;min-width:min(100%,260px);margin-top:11px;border:2px solid rgba(145,101,34,.58);border-radius:5px;padding:7px 22px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.5) 13% 87%,transparent),linear-gradient(180deg,#fff0b9,#e7c779);box-shadow:inset 0 0 0 2px #ffffff6b,0 3px #64401233;clip-path:polygon(3% 0,97% 0,100% 50%,97% 100%,3% 100%,0 50%);text-align:center}.gameStatusGrid{grid-template-columns:minmax(172px,1.5fr) minmax(145px,1.25fr) minmax(84px,.72fr) minmax(104px,.9fr);gap:8px}.gameStatusCard{display:flex;align-items:center;justify-content:center;gap:7px;min-height:52px;border-color:#d1a74e;background:radial-gradient(circle at 50% 0,rgba(55,151,137,.28),transparent 52%),linear-gradient(180deg,#14615e,#073c3d)}.gameStatusCard--hp{display:grid}.gameStatusCard--medal:before,.gameStatusCard--attack:before,.gameStatusCard--floor:before,.gameStatusCard--turn:before,.gameStatusCard--enemies:before,.gameStatusCard--cards:before{content:"";flex:0 0 clamp(23px,2.4vw,34px);width:clamp(23px,2.4vw,34px);aspect-ratio:1;background-position:center;background-repeat:no-repeat;background-size:contain;filter:drop-shadow(0 2px 0 rgba(0,0,0,.42))}.gameStatusCard--medal:before{background-image:url(../play-ui/icons/medal.webp)}.gameStatusCard--attack:before{background-image:url(../play-ui/icons/attack.webp)}.gameStatusCard--floor:before{background-image:url(../play-ui/icons/floor.webp)}.gameStatusCard--turn:before{background-image:url(../play-ui/icons/turn.webp)}.gameStatusCard--enemies:before{background-image:url(../play-ui/icons/enemies.webp)}.gameStatusCard--cards:before{background-image:url(../play-ui/icons/cards.webp)}.mapPanel,.gameShell--replay .mapPanel{background:linear-gradient(180deg,rgba(255,248,210,.17),transparent 16%),#173d3b}.board{background:#123533}.tile--wall{background:linear-gradient(180deg,#ffffff0f,#00000024),url(../dungeon-tiles/fantasy/wall-base.webp) center / cover no-repeat;box-shadow:inset 0 0 0 1px #bddac21f,inset 0 -5px 9px #0415163b}.tile--unexplored{background:linear-gradient(#031415c7,#020c0ee0),url(../dungeon-tiles/fantasy/wall-base.webp) center / cover no-repeat;box-shadow:inset 0 0 0 1px #507d7126}.tile--variant-1{--fantasy-floor-texture: url(../dungeon-tiles/fantasy/floor-1.webp)}.tile--variant-2{--fantasy-floor-texture: url(../dungeon-tiles/fantasy/floor-2.webp)}.tile--variant-3{--fantasy-floor-texture: url(../dungeon-tiles/fantasy/floor-3.webp)}.tile--variant-4{--fantasy-floor-texture: url(../dungeon-tiles/fantasy/floor-4.webp)}.tile--floor,.tile--corridor,.tile--player,.tile--enemy,.tile--card,.tile--shop,.tile--stairs,.tile--rock{background:linear-gradient(135deg,rgba(255,255,255,.12),transparent 40%),var(--fantasy-floor-texture) center / cover no-repeat,#d5b978}.tile--corridor{filter:saturate(.86) brightness(.95)}.tile--dimmed{filter:brightness(.5) saturate(.66)}.tile--slippery{background:linear-gradient(135deg,rgba(236,255,255,.82),transparent 36%),linear-gradient(315deg,rgba(38,174,255,.52),transparent 48%),var(--fantasy-floor-texture) center / cover no-repeat,#72bfce;filter:saturate(1.22) brightness(1.08)}.tile--slippery:after{content:"";position:absolute;inset:1px;border:2px solid rgba(178,250,255,.9);background:linear-gradient(135deg,transparent 0 20%,rgba(238,255,255,.82) 21% 25%,transparent 26% 56%,rgba(77,218,255,.65) 57% 61%,transparent 62%);box-shadow:inset 0 0 8px #159ed8c7,0 0 3px #a6f7ffbf;pointer-events:none}.tile--slippery.tile--dimmed{filter:brightness(.72) saturate(1.12)}.playerSprite,.enemySprite{filter:drop-shadow(1px 0 0 rgba(17,49,45,.88)) drop-shadow(-1px 0 0 rgba(17,49,45,.88)) drop-shadow(0 1px 0 rgba(17,49,45,.88)) drop-shadow(0 -1px 0 rgba(255,248,206,.58)) drop-shadow(0 4px 2px rgba(0,0,0,.46))}@media(max-width:1040px){.topPanel{grid-template-columns:minmax(280px,.78fr) minmax(560px,1.55fr)}.gameStatusGrid{grid-template-columns:minmax(150px,1.4fr) minmax(125px,1.1fr) minmax(76px,.7fr) minmax(92px,.82fr)}}@media(max-width:940px){.topPanel{grid-template-columns:1fr}.titleBlock h1{white-space:normal}.gameStatusGrid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:720px){.titleBlock{padding-left:8px}.titleBlock:before{width:130px;height:48px}.titleBlock p{min-width:0}.gameStatusGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.gameStatusCard{min-height:42px;gap:4px}.gameStatusCard--medal:before,.gameStatusCard--attack:before,.gameStatusCard--floor:before,.gameStatusCard--turn:before,.gameStatusCard--enemies:before,.gameStatusCard--cards:before{flex-basis:22px;width:22px}}@keyframes playerMoveUp{0%{transform:translateY(0)}to{transform:translateY(calc(var(--player-step-y) * -1))}}@keyframes playerMoveDown{0%{transform:translateY(0)}to{transform:translateY(var(--player-step-y))}}@keyframes playerMoveLeft{0%{transform:translate(0)}to{transform:translate(calc(var(--player-step-x) * -1))}}@keyframes playerMoveRight{0%{transform:translate(0)}to{transform:translate(var(--player-step-x))}}@keyframes playerMoveUpLeft{0%{transform:translate(0)}to{transform:translate(calc(var(--player-step-x) * -1),calc(var(--player-step-y) * -1))}}@keyframes playerMoveUpRight{0%{transform:translate(0)}to{transform:translate(var(--player-step-x),calc(var(--player-step-y) * -1))}}@keyframes playerMoveDownLeft{0%{transform:translate(0)}to{transform:translate(calc(var(--player-step-x) * -1),var(--player-step-y))}}@keyframes playerMoveDownRight{0%{transform:translate(0)}to{transform:translate(var(--player-step-x),var(--player-step-y))}}@keyframes boardMoveUp{0%{transform:translate(var(--board-x),var(--board-y))}to{transform:translate(var(--board-x),calc(var(--board-y) + var(--board-step-y)))}}@keyframes boardMoveDown{0%{transform:translate(var(--board-x),var(--board-y))}to{transform:translate(var(--board-x),calc(var(--board-y) - var(--board-step-y)))}}@keyframes boardMoveLeft{0%{transform:translate(var(--board-x),var(--board-y))}to{transform:translate(calc(var(--board-x) + var(--board-step-x)),var(--board-y))}}@keyframes boardMoveRight{0%{transform:translate(var(--board-x),var(--board-y))}to{transform:translate(calc(var(--board-x) - var(--board-step-x)),var(--board-y))}}@keyframes boardMoveUpLeft{0%{transform:translate(var(--board-x),var(--board-y))}to{transform:translate(calc(var(--board-x) + var(--board-step-x)),calc(var(--board-y) + var(--board-step-y)))}}@keyframes boardMoveUpRight{0%{transform:translate(var(--board-x),var(--board-y))}to{transform:translate(calc(var(--board-x) - var(--board-step-x)),calc(var(--board-y) + var(--board-step-y)))}}@keyframes boardMoveDownLeft{0%{transform:translate(var(--board-x),var(--board-y))}to{transform:translate(calc(var(--board-x) + var(--board-step-x)),calc(var(--board-y) - var(--board-step-y)))}}@keyframes boardMoveDownRight{0%{transform:translate(var(--board-x),var(--board-y))}to{transform:translate(calc(var(--board-x) - var(--board-step-x)),calc(var(--board-y) - var(--board-step-y)))}}@keyframes playerBumpUp{0%{transform:translateY(0)}48%{transform:translateY(-34%)}to{transform:translateY(0)}}@keyframes playerBumpDown{0%{transform:translateY(0)}48%{transform:translateY(34%)}to{transform:translateY(0)}}@keyframes playerBumpLeft{0%{transform:translate(0)}48%{transform:translate(-34%)}to{transform:translate(0)}}@keyframes playerBumpRight{0%{transform:translate(0)}48%{transform:translate(34%)}to{transform:translate(0)}}@keyframes playerBumpUpLeft{0%{transform:translate(0)}48%{transform:translate(-28%,-28%)}to{transform:translate(0)}}@keyframes playerBumpUpRight{0%{transform:translate(0)}48%{transform:translate(28%,-28%)}to{transform:translate(0)}}@keyframes playerBumpDownLeft{0%{transform:translate(0)}48%{transform:translate(-28%,28%)}to{transform:translate(0)}}@keyframes playerBumpDownRight{0%{transform:translate(0)}48%{transform:translate(28%,28%)}to{transform:translate(0)}}@keyframes playerSlash{0%{opacity:0;transform:translate(-50%,-50%) scale(.55) rotate(-3deg)}24%{opacity:1}to{opacity:0;transform:translate(-50%,-50%) scale(1.04) rotate(2deg)}}@keyframes enemyAttack{0%{transform:translate(0) scale(1)}42%{transform:translate(var(--enemy-attack-x, 0%),var(--enemy-attack-y, 0%)) scale(1.08)}to{transform:translate(0) scale(1)}}@keyframes enemyIdle{0%,to{transform:translateY(0) rotate(0) scale(1)}50%{transform:translateY(-1px) rotate(1deg) scale(1.012,.99)}}@keyframes enemyMoveIn{0%{transform:translate(var(--enemy-move-from-x, 0%),var(--enemy-move-from-y, 0%))}to{transform:translate(0)}}@keyframes cardPickup{0%{opacity:0;transform:translate(-50%,-38%) scale(.72)}22%{opacity:1}to{opacity:0;transform:translate(-50%,-120%) scale(1.08)}}@keyframes attackEffectPop{0%{opacity:0;transform:translate(-50%,-50%) scale(.38) rotate(-8deg)}18%{opacity:1;transform:translate(-50%,-50%) scale(1.12) rotate(3deg)}58%{opacity:1;transform:translate(-50%,-50%) scale(.96) rotate(0)}to{opacity:0;transform:translate(-50%,-50%) scale(1.26) rotate(6deg)}}@keyframes floorFade{0%{opacity:0}45%{opacity:.95}to{opacity:0}}@keyframes hpDangerPulse{0%,to{opacity:1;filter:brightness(1.18)}50%{opacity:.34;filter:brightness(.8)}}@keyframes hpNumberPulse{0%,to{color:#fff;transform:scale(1)}50%{color:#ff3b2f;transform:scale(1.04)}}.app:has(.gameShell){background:radial-gradient(circle at 50% 8%,rgba(255,244,190,.3),transparent 38%),linear-gradient(180deg,#31594b,#172e29 72%)}.gameShell{width:min(100%,calc(100vw - 24px),1200px);gap:10px;padding:12px;border:3px solid #c7a75b;border-radius:14px;background:linear-gradient(180deg,#fff8d3f7,#e0cf99fa),#eadcae;box-shadow:0 22px 60px #0000006b,inset 0 0 0 2px #ffffffb8,inset 0 0 0 5px #79572033}.topPanel{grid-template-columns:minmax(260px,.82fr) minmax(590px,1.65fr);gap:10px 16px;border:2px solid #b88b3b;border-radius:10px;padding:11px 13px;background:linear-gradient(180deg,#fffbdefa,#e8d399fa);box-shadow:inset 0 0 0 2px #ffffff94,0 3px #5c3c123d}.titleBlock h1{color:#164a49;font-size:clamp(25px,3.25vw,39px);letter-spacing:-.025em;text-shadow:0 2px 0 #fff6ce,2px 3px 0 rgba(53,38,18,.24)}.titleBlock p{width:fit-content;margin-top:8px;border:1px solid rgba(143,103,39,.48);border-radius:999px;padding:5px 12px;background:#fff6c9c2;color:#4b492b;font-size:14px;font-weight:800}.gameStatusGrid{display:grid;grid-template-columns:minmax(150px,1.4fr) minmax(130px,1.1fr) minmax(86px,.7fr) minmax(96px,.8fr);gap:7px;min-width:0}.gameStatusCard{min-width:0;min-height:47px;display:grid;place-items:center;border:2px solid #c49b4c;border-radius:9px;padding:7px 9px;background:linear-gradient(180deg,#145857,#0a3d3e);box-shadow:inset 0 0 0 2px #ffffff29,0 2px #3f270a47;color:#fff3c5;font-size:clamp(13px,1.45vw,18px);font-weight:900;text-align:center;text-shadow:0 2px 0 #082b2c;white-space:nowrap}.gameStatusCard--hp{padding:0}.gameStatusCard--hp .hpHud{position:relative;inset:auto;z-index:1;width:100%;min-width:0;grid-template-columns:auto 1fr;grid-template-rows:auto 9px;column-gap:7px;padding:6px 9px 7px}.gameStatusCard--hp .hpHudLabel{color:#ffeaa8;font-size:14px;text-shadow:0 2px 0 #082b2c}.gameStatusCard--hp .hpHudValue{justify-self:end;font-size:clamp(20px,2.2vw,29px);text-shadow:0 2px 0 #082b2c}.gameStatusCard--hp .hpHudTrack{height:9px}.headerAuxiliary{grid-column:1 / -1;min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:8px}.statusEffects{min-width:0;display:flex;flex:1;flex-wrap:wrap;gap:5px}.statusEffects:empty{display:none}.statusEffects span{border:1px solid #9c793f;border-radius:999px;padding:4px 8px;background:#fff7cfd6;color:#355044;font-size:11px;font-weight:900;white-space:nowrap}.playArea,.gameShell--replay .playArea{display:block}.mapPanel,.gameShell--replay .mapPanel{width:100%;max-width:none;min-width:0;aspect-ratio:16 / 10;margin:0;padding:10px;border:3px solid #b58a42;border-radius:11px;background:linear-gradient(180deg,rgba(255,245,190,.12),transparent 18%),#182724;box-shadow:inset 0 0 0 3px #ffffff2e,inset 0 0 28px #00000057,0 3px #58381040}.board{--board-x: .9%;--board-y: -15%;width:98.2143%;height:142.8571%;background:#10201d}.mapPanel>.floorMapPanel{position:absolute;z-index:20;top:16px;left:16px;width:clamp(116px,14vw,168px);gap:6px;padding:8px;border:2px solid #d5b567;border-radius:9px;background:linear-gradient(180deg,#155b49f5,#07302bf7);box-shadow:inset 0 0 0 2px #ffffff21,0 5px 14px #0000005c;pointer-events:none}.mapPanel>.floorMapPanel .floorMapHeader{color:#fff0b6;font-size:9px}.mapPanel>.floorMapPanel .floorMap{border-color:#d5b567;background:#061814}.mapPanel>.floorMapPanel .floorMapLegend{gap:2px}.mapPanel>.floorMapPanel .legendItem{height:15px;border-radius:3px;font-size:8px}.inventoryBar{gap:7px;border:2px solid #b58a42;border-radius:9px;padding:7px;background:linear-gradient(180deg,#315248,#17342e);box-shadow:inset 0 0 0 2px #ffffff1a,0 2px #58381033}.inventorySlot{border-color:#8e9b78;background:linear-gradient(135deg,rgba(255,255,255,.1),transparent 42%),#122a25}.inventorySlot--filled{border-color:#e1bd65;background:#1e3b2d}.bottomPanel{border:2px solid #b58a42;border-radius:9px;background:linear-gradient(180deg,#fff4c6,#dbc58d);box-shadow:inset 0 0 0 2px #fff6}.messageWindow{color:#30453b;font-weight:700}.devButton{border-color:#8e6a32;background:#17514b;color:#fff1bd;font-weight:800}.devButton:hover{background:#216a60}@media(max-width:940px){.topPanel{grid-template-columns:1fr}.gameStatusGrid{grid-template-columns:repeat(4,minmax(0,1fr))}.headerAuxiliary{justify-content:space-between}}@media(max-width:720px){.app:has(.gameShell){padding:6px}.gameShell{width:100%;padding:7px;border-width:2px;border-radius:9px}.topPanel{padding:8px}.titleBlock h1{font-size:clamp(24px,8vw,32px)}.gameStatusGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.gameStatusCard{min-height:40px;font-size:13px}.headerAuxiliary{align-items:flex-start;flex-direction:column}.statusEffects{width:100%}.mapPanel,.gameShell--replay .mapPanel{aspect-ratio:8 / 7;padding:6px}.board{--board-x: -13.6364%;width:137.5%;height:142.8571%}.mapPanel>.floorMapPanel{top:10px;left:10px;width:clamp(88px,25vw,118px);padding:5px}.mapPanel>.floorMapPanel .floorMapLegend{display:none}.inventoryBar{gap:3px;padding:4px}.bottomPanel{gap:7px;padding:7px}}.gameShell{width:min(100%,calc(100vw - 12px),1400px)}.topPanel{position:relative;grid-template-columns:minmax(315px,.88fr) minmax(0,1.62fr);gap:9px 18px;padding:14px 17px 11px}.topPanel>.audioSettingsControl{position:absolute;z-index:65;top:-14px;right:10px}.topPanel>.audioSettingsControl>.panelHeading{min-width:58px;padding:5px 9px;border:2px solid #c8a459;background:linear-gradient(180deg,#225f58,#0c403f);color:#fff1bd}.titleBlock{min-width:0;align-self:center;padding:4px 5px 4px 14px}.titleBlock h1{max-width:100%;overflow:visible;color:#164a49;font-family:Arial Rounded MT Bold,Hiragino Maru Gothic ProN,Hiragino Kaku Gothic ProN,Trebuchet MS,sans-serif;font-size:clamp(25px,2.9vw,43px);font-weight:1000;line-height:1.05;letter-spacing:-.055em;white-space:nowrap;-webkit-text-stroke:.7px rgba(8,52,50,.45);text-shadow:0 2px 0 #fff6cf,2px 3px 0 rgba(60,40,16,.22)}.titleBlock p{box-sizing:border-box;width:min(100%,285px);min-width:0;overflow:hidden;margin-top:10px;padding:7px 18px;color:#34483e;font-family:Hiragino Kaku Gothic ProN,Yu Gothic,sans-serif;font-size:14px;font-weight:900;line-height:1.2;text-align:center;text-overflow:ellipsis;white-space:nowrap}.gameStatusGrid{grid-template-columns:minmax(172px,1.52fr) minmax(136px,1.18fr) minmax(76px,.68fr) minmax(92px,.82fr);grid-auto-rows:52px;gap:8px}.gameStatusCard{min-width:0;min-height:0;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;gap:6px;padding:6px 8px;overflow:hidden;font-family:Arial Rounded MT Bold,Hiragino Kaku Gothic ProN,Trebuchet MS,sans-serif;line-height:1;white-space:nowrap}.gameStatusLabel{flex:0 0 auto;color:#ffe9a3;font-size:clamp(10px,1vw,13px);font-weight:900;letter-spacing:-.02em}.gameStatusValue{min-width:0;overflow:hidden;color:#fff9dc;font-size:clamp(15px,1.6vw,23px);font-weight:1000;letter-spacing:-.035em;text-overflow:ellipsis}.gameStatusCard--level .gameStatusValue,.gameStatusCard--attack .gameStatusValue{font-size:clamp(17px,1.75vw,25px)}.gameStatusCard--medal:before,.gameStatusCard--attack:before,.gameStatusCard--floor:before,.gameStatusCard--turn:before,.gameStatusCard--enemies:before,.gameStatusCard--cards:before{flex:0 0 clamp(22px,2.15vw,31px);width:clamp(22px,2.15vw,31px)}.gameStatusCard--hp{display:grid;padding:0}.gameStatusCard--hp .hpHud{grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto 10px;column-gap:8px;padding:5px 10px 7px}.gameStatusCard--hp .hpHudLabel{font-family:Arial Rounded MT Bold,Trebuchet MS,sans-serif;font-size:13px}.gameStatusCard--hp .hpHudValue{overflow:hidden;font-family:Arial Rounded MT Bold,Trebuchet MS,sans-serif;font-size:clamp(21px,2.15vw,31px);letter-spacing:-.04em;text-overflow:ellipsis;white-space:nowrap}.headerAuxiliary{margin-top:-1px}.mapPanel>.floorMapPanel{top:18px;left:18px;width:clamp(178px,18vw,222px);gap:7px;padding:9px;border-color:#f1cc70e6;background:linear-gradient(180deg,#196456a8,#042a2794);box-shadow:inset 0 0 0 2px #ffffff1f,0 6px 17px #00000040;-webkit-backdrop-filter:blur(1px) saturate(1.08);backdrop-filter:blur(1px) saturate(1.08)}.mapPanel>.floorMapPanel .floorMapHeader{color:#fff1ba;font-size:10px}.mapPanel>.floorMapPanel .floorMap{border-color:#f6d278d6;background:#02141452;box-shadow:inset 0 0 14px #0003}.mapPanel>.floorMapPanel .floorMapCell{background:#010c0d29}.mapPanel>.floorMapPanel .floorMapCell--wall{background:#0c272633}.mapPanel>.floorMapPanel .floorMapCell--unexplored{background:#0006081c}.mapPanel>.floorMapPanel .floorMapCell--floor{background:#a9ba7dc7}.mapPanel>.floorMapPanel .floorMapCell--corridor{background:#cac485db}.mapPanel>.floorMapPanel .floorMapCell--floor.floorMapCell--mappedOnly{background:#76875f94}.mapPanel>.floorMapPanel .floorMapCell--corridor.floorMapCell--mappedOnly{background:#9794669e}.mapPanel>.floorMapPanel .floorMapCell--player{background:#49b5ff;box-shadow:0 0 0 1px #e8f6ff}.mapPanel>.floorMapPanel .floorMapCell--enemy{background:#fa4d3d;box-shadow:0 0 0 1px #ffe4d7}.mapPanel>.floorMapPanel .floorMapCell--card{background:#55ea85;box-shadow:0 0 0 1px #dfc}.mapPanel>.floorMapPanel .floorMapCell--shop{background:#c98cff;box-shadow:0 0 0 1px #f2d7ff}.mapPanel>.floorMapPanel .floorMapCell--rock{background:#3f4748;box-shadow:inset 0 0 0 1px #9ba4a2}.mapPanel>.floorMapPanel .floorMapCell--stairs{background:#ffd54f;box-shadow:0 0 0 1px #fff1a8}.mapPanel>.floorMapPanel .floorMapCell--goal{background:#7cdcff;box-shadow:0 0 0 1px #e8fbff,0 0 6px #7cdcffd9}.mapPanel>.floorMapPanel .floorMapLegend{gap:3px}.mapPanel>.floorMapPanel .legendItem{height:18px;font-size:9px}@media(max-width:1120px){.topPanel{grid-template-columns:minmax(300px,.82fr) minmax(0,1.58fr);gap:8px 12px}.titleBlock h1{font-size:28px}.gameStatusGrid{grid-template-columns:minmax(155px,1.45fr) minmax(124px,1.1fr) minmax(72px,.66fr) minmax(86px,.78fr);gap:6px}.gameStatusCard{gap:4px;padding-inline:6px}.gameStatusValue{font-size:16px}}@media(max-width:860px){.topPanel{grid-template-columns:1fr}.titleBlock h1{font-size:clamp(29px,6vw,40px)}.titleBlock p{width:min(100%,340px)}.gameStatusGrid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:720px){.titleBlock h1{font-size:clamp(24px,7.5vw,34px);letter-spacing:-.065em}.gameStatusGrid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:44px}.gameStatusLabel{font-size:10px}.gameStatusValue{font-size:15px}.mapPanel>.floorMapPanel{top:10px;left:10px;width:clamp(132px,31vw,172px);padding:6px}.mapPanel>.floorMapPanel .floorMapLegend{display:none}}.topPanel--compact{grid-template-columns:minmax(0,1fr);padding:12px 17px 10px}.topPanel--compact .gameStatusGrid--compact{grid-template-areas:"hp medal level attack" "hp floor turn turn";grid-template-columns:minmax(250px,2fr) repeat(3,minmax(120px,1fr));grid-template-rows:repeat(2,minmax(54px,auto));gap:8px}.topPanel--compact .gameStatusCard{min-width:120px;min-height:54px;gap:clamp(4px,.65vw,8px);padding:7px clamp(7px,.85vw,12px);overflow:visible}.topPanel--compact .gameStatusLabel{font-size:clamp(11px,1.2vw,16px)}.topPanel--compact .gameStatusValue,.topPanel--compact .gameStatusCard--level .gameStatusValue,.topPanel--compact .gameStatusCard--attack .gameStatusValue{overflow:visible;font-size:clamp(16px,2vw,24px);text-overflow:clip}.topPanel--compact .gameStatusCard--medal:before,.topPanel--compact .gameStatusCard--attack:before,.topPanel--compact .gameStatusCard--floor:before,.topPanel--compact .gameStatusCard--turn:before{flex-basis:clamp(16px,1.8vw,24px);width:clamp(16px,1.8vw,24px)}.topPanel--compact .gameStatusCard--hp{grid-area:hp;min-width:250px;min-height:116px;padding:0}.topPanel--compact .gameStatusCard--medal{grid-area:medal}.topPanel--compact .gameStatusCard--level{grid-area:level}.topPanel--compact .gameStatusCard--attack{grid-area:attack}.topPanel--compact .gameStatusCard--floor{grid-area:floor}.topPanel--compact .gameStatusCard--turn{grid-area:turn;min-width:0}.topPanel--compact .gameStatusCard--turn .gameStatusValue{white-space:nowrap}@media(min-width:721px){.gameShell:not(.gameShell--replay) .clearScreen{display:flex;flex-direction:column;justify-content:center;gap:6px;padding:12px;overflow:hidden;line-height:1}.gameShell:not(.gameShell--replay) .clearScreen:not(.clearScreen--illustrated) img{width:min(58%,280px);max-width:100%;max-height:52%;object-fit:contain;flex:1 1 auto;min-height:0}.gameShell:not(.gameShell--replay) .clearScreen>span:not(.firstClearReward),.gameShell:not(.gameShell--replay) .clearScreen>strong,.gameShell:not(.gameShell--replay) .clearScreen>small{flex:0 0 auto}}.topPanel--compact .gameStatusCard--hp .hpHud{grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto 13px;column-gap:11px;padding:7px 13px 9px}.topPanel--compact .gameStatusCard--hp .hpHudLabel{font-size:clamp(16px,1.5vw,21px)}.topPanel--compact .gameStatusCard--hp .hpHudValue{overflow:visible;font-size:clamp(32px,4vw,46px);text-overflow:clip}.topPanel--compact .gameStatusCard--hp .hpHudTrack{height:13px}.mapPanel>.floorMapPanel{top:18px;left:18px;width:clamp(300px,36vw,440px);gap:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;pointer-events:none}.mapPanel>.floorMapPanel .floorMap{border:0;border-radius:0;background:transparent;box-shadow:none}.mapPanel>.floorMapPanel .floorMapCell--wall,.mapPanel>.floorMapPanel .floorMapCell--unexplored{background:transparent}@media(max-width:900px){.topPanel--compact .gameStatusGrid--compact{grid-template-areas:"hp hp hp" "medal level attack" "floor turn turn";grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(76px,auto) repeat(2,minmax(52px,auto))}.topPanel--compact .gameStatusCard{min-width:0}.topPanel--compact .gameStatusCard--hp{min-width:0;min-height:76px}}@media(max-width:560px){.topPanel--compact{padding:9px 8px 7px}.topPanel--compact .gameStatusGrid--compact{grid-template-areas:"hp hp" "medal level" "attack floor" "turn turn";grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(72px,auto) repeat(3,minmax(50px,auto));gap:5px}.topPanel--compact .gameStatusCard{min-height:50px;gap:4px;padding:6px}.topPanel--compact .gameStatusLabel{font-size:clamp(10px,2.8vw,13px)}.topPanel--compact .gameStatusValue,.topPanel--compact .gameStatusCard--level .gameStatusValue,.topPanel--compact .gameStatusCard--attack .gameStatusValue{font-size:clamp(16px,4.6vw,21px)}.topPanel--compact .gameStatusCard--medal:before,.topPanel--compact .gameStatusCard--attack:before,.topPanel--compact .gameStatusCard--floor:before,.topPanel--compact .gameStatusCard--turn:before{flex-basis:clamp(16px,5vw,22px);width:clamp(16px,5vw,22px)}.topPanel--compact .gameStatusCard--hp .hpHud{grid-template-rows:auto 9px;column-gap:4px;padding:5px 6px 7px}.topPanel--compact .gameStatusCard--hp .hpHudLabel{font-size:clamp(10px,2.5vw,14px)}.topPanel--compact .gameStatusCard--hp .hpHudValue{font-size:clamp(28px,8vw,38px)}.topPanel--compact .gameStatusCard--hp .hpHudTrack{height:9px}.mapPanel>.floorMapPanel{top:10px;left:10px;width:clamp(220px,48vw,300px)}}@media(max-width:380px){.topPanel--compact .gameStatusGrid--compact{grid-template-areas:"hp" "medal" "level" "attack" "floor" "turn";grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(72px,auto) repeat(5,minmax(48px,auto))}}.app:has(.gameShell:not(.gameShell--replay)){height:100vh;height:100dvh;min-height:0;padding:6px;overflow:hidden}.gameShell:not(.gameShell--replay){height:auto;max-height:calc(100dvh - 12px);grid-template-rows:auto auto auto auto;overflow:hidden}.gameShell:not(.gameShell--replay) .playArea{min-height:0;height:auto;display:block;overflow:hidden}.gameShell:not(.gameShell--replay) .mapPanel{width:100%;max-width:none;height:auto;max-height:none;aspect-ratio:16 / 10}@media(min-width:1100px)and (max-height:1100px){.gameShell:not(.gameShell--replay){gap:5px;padding:6px}.gameShell:not(.gameShell--replay) .topPanel--compact{padding:5px 9px}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusGrid--compact{grid-template-rows:repeat(2,minmax(38px,auto));gap:5px}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard{min-height:38px;gap:4px;padding:3px 6px}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp{min-height:81px;padding:0}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusLabel{font-size:clamp(10px,1vw,13px)}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusValue,.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--level .gameStatusValue,.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--attack .gameStatusValue{font-size:clamp(14px,1.55vw,21px)}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--medal:before,.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--attack:before,.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--floor:before,.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--turn:before{flex-basis:clamp(16px,1.45vw,21px);width:clamp(16px,1.45vw,21px)}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHud{grid-template-rows:auto 9px;padding:4px 10px 6px}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudLabel{font-size:clamp(12px,1.2vw,16px)}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudValue{font-size:clamp(28px,3.2vw,42px)}.gameShell:not(.gameShell--replay) .inventoryBar{gap:4px;padding:4px}.gameShell:not(.gameShell--replay) .inventorySlot{height:clamp(52px,6dvh,62px);aspect-ratio:auto}.gameShell:not(.gameShell--replay) .bottomPanel{min-height:38px;gap:5px;padding:4px 8px}.gameShell:not(.gameShell--replay) .devActions{gap:5px}.gameShell:not(.gameShell--replay) .devButton{padding:5px 8px;font-size:11px}}.gameShell:not(.gameShell--replay) .inventoryScroller{position:relative;min-width:0}.gameShell:not(.gameShell--replay) .inventoryBar{--inventory-scroll-gap: 7px;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - (var(--inventory-scroll-gap) * 9)) / 10);gap:var(--inventory-scroll-gap);overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scroll-snap-type:inline proximity;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.gameShell:not(.gameShell--replay) .inventoryScroller--overflowing .inventoryBar{cursor:grab;-webkit-user-select:none;user-select:none}.gameShell:not(.gameShell--replay) .inventoryScroller--overflowing .inventoryBar:active{cursor:grabbing}.gameShell:not(.gameShell--replay) .inventorySlot{width:100%;scroll-snap-align:start}.gameShell:not(.gameShell--replay) .inventorySlot img{position:absolute;left:var(--art-image-left, -4%);top:var(--art-image-top, -30%);width:var(--art-image-width, 185%);height:auto;max-width:none;object-fit:contain;-webkit-user-drag:none}.gameShell:not(.gameShell--replay) .inventorySlotArtwork{flex:0 0 auto;align-self:center}.gameShell:not(.gameShell--replay) .inventoryScrollButton{position:absolute;top:50%;z-index:5;display:grid;place-items:center;width:clamp(27px,3vw,38px);height:64%;border:2px solid #efd57e;border-radius:8px;padding:0;background:#103d34eb;color:#fff4c5;box-shadow:0 2px 7px #00000085;cursor:pointer;font-size:clamp(25px,3.2vw,40px);font-weight:900;line-height:1;transform:translateY(-50%)}.gameShell:not(.gameShell--replay) .inventoryScrollButton--previous{left:5px}.gameShell:not(.gameShell--replay) .inventoryScrollButton--next{right:5px}.gameShell:not(.gameShell--replay) .inventoryScrollButton:hover,.gameShell:not(.gameShell--replay) .inventoryScrollButton:focus-visible{background:#195b4bfa;outline:2px solid #fff2a8;outline-offset:-3px}@media(min-width:1100px)and (max-height:1100px){.gameShell:not(.gameShell--replay) .inventoryBar{--inventory-scroll-gap: 4px}}@media(min-width:900px)and (max-height:1100px){.gameShell:not(.gameShell--replay){--short-play-chrome-height: clamp(320px, 34dvh, 340px);width:min(calc(100vw - 12px),calc((100dvh - 12px - var(--short-play-chrome-height)) * 1.6),1400px);height:auto;max-height:calc(100dvh - 12px);grid-template-rows:auto auto auto auto}.gameShell:not(.gameShell--replay):has(.equipmentSlots){--short-play-chrome-height: clamp(370px, 39dvh, 400px)}.gameShell:not(.gameShell--replay) .playArea{width:100%;height:auto}.gameShell:not(.gameShell--replay) .mapPanel{width:100%;min-height:0;aspect-ratio:16 / 10}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusGrid--compact{grid-template-rows:repeat(2,minmax(48px,auto))}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard{min-height:48px}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp{min-height:101px}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudValue{font-size:clamp(32px,3.5vw,46px)}.gameShell:not(.gameShell--replay) .inventoryScroller{width:100%;margin:0}.gameShell:not(.gameShell--replay) .inventoryBar{padding:5px}.gameShell:not(.gameShell--replay) .inventorySlot{height:clamp(74px,9dvh,92px);aspect-ratio:auto}}@media(min-width:900px)and (min-height:1101px){.gameShell:not(.gameShell--replay){--tall-play-chrome-height: clamp(380px, 34dvh, 440px);width:min(calc(100vw - 12px),calc((100dvh - 12px - var(--tall-play-chrome-height)) * 1.6),1400px)}.gameShell:not(.gameShell--replay):has(.equipmentSlots){--tall-play-chrome-height: clamp(420px, 38dvh, 480px)}}@media(min-width:561px)and (max-width:899px)and (max-height:1100px){.gameShell:not(.gameShell--replay){gap:5px;padding:6px}.gameShell:not(.gameShell--replay) .topPanel--compact{padding:5px 8px}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusGrid--compact{grid-template-areas:"hp medal level attack" "hp floor turn empty";grid-template-columns:minmax(190px,1.8fr) minmax(0,1.18fr) minmax(0,.82fr) minmax(0,1fr);grid-template-rows:repeat(2,minmax(42px,auto));gap:5px}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard{min-width:0;min-height:42px;gap:3px;padding:4px 5px;overflow:hidden}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp{min-width:190px;min-height:89px;padding:0}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusLabel{font-size:clamp(9px,1.35vw,12px)}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusValue,.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--level .gameStatusValue,.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--attack .gameStatusValue{min-width:0;overflow:hidden;font-size:clamp(13px,2vw,18px);text-overflow:clip}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--medal .gameStatusLabel,.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--floor .gameStatusLabel{font-size:clamp(9px,1.2vw,11px)}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--medal .gameStatusValue,.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--floor .gameStatusValue{font-size:clamp(13px,1.85vw,17px)}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--medal:before,.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--attack:before,.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--floor:before,.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--turn:before{flex-basis:clamp(15px,2vw,19px);width:clamp(15px,2vw,19px)}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHud{grid-template-rows:auto 9px;column-gap:6px;padding:4px 9px 6px}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudLabel{font-size:clamp(11px,1.7vw,15px)}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudValue{font-size:clamp(28px,5vw,40px)}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudTrack{height:9px}.gameShell:not(.gameShell--replay) .headerAuxiliary{margin-top:0;align-items:center;flex-direction:row;gap:5px}.gameShell:not(.gameShell--replay) .statusEffects{gap:3px}.gameShell:not(.gameShell--replay) .statusEffects span{padding:2px 6px;font-size:10px}.gameShell:not(.gameShell--replay) .inventoryBar{--inventory-scroll-gap: 4px;padding:4px}.gameShell:not(.gameShell--replay) .bottomPanel{min-height:40px;gap:5px;padding:5px 8px}.gameShell:not(.gameShell--replay) .devActions{gap:5px}.gameShell:not(.gameShell--replay) .devButton{padding:5px 8px;font-size:11px}}@media(min-width:900px){.gameShell:not(.gameShell--replay) .topPanel--compact{padding:3px 5px}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusGrid--compact{gap:4px}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard{gap:4px;padding:1px 4px}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusLabel{font-size:clamp(14px,1.35vw,18px);line-height:1}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusValue,.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--level .gameStatusValue,.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--attack .gameStatusValue{font-size:clamp(22px,2.15vw,30px);line-height:.96}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--medal:before,.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--attack:before,.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--floor:before,.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--turn:before{flex-basis:clamp(22px,2vw,30px);width:clamp(22px,2vw,30px)}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHud{grid-template-rows:auto 14px;column-gap:6px;padding:2px 6px 4px}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudLabel{font-size:clamp(18px,1.7vw,23px);line-height:1}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudValue{font-size:clamp(44px,4.8vw,60px);line-height:.88}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudTrack{height:14px}}.mobileGameControls{display:none}.desktopAutoWalkStatus{position:absolute;left:50%;top:16px;z-index:8;transform:translate(-50%);border:1px solid #f3d975;border-radius:999px;padding:5px 12px;background:#07322bf0;color:#fff4b2;font-size:13px;font-weight:900;line-height:1.2;white-space:nowrap;pointer-events:none}@media(hover:none),(pointer:coarse),(max-width:720px),(max-width:900px)and (max-height:560px){.desktopAutoWalkStatus{display:none}.gameShell:not(.gameShell--replay),.gameShell:not(.gameShell--replay) *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.gameShell:not(.gameShell--replay) img{-webkit-user-drag:none;user-drag:none}.gameShell:not(.gameShell--replay) .audioSettingsPopover input,.gameShell:not(.gameShell--replay) .audioSettingsPopover select,.gameShell:not(.gameShell--replay) .audioSettingsPopover option{-webkit-user-select:auto;user-select:auto}.gameShell:not(.gameShell--replay) .dangerWarningMark{top:52%;width:68%;border-width:2px;font-size:clamp(16px,5vw,26px);box-shadow:0 0 0 2px #ffe74b61,0 0 10px #ffd026f2,0 3px #0000006b}.gameShell:not(.gameShell--replay) .clearScreen{grid-template-rows:minmax(0,1fr) repeat(4,auto);gap:3px;padding:6px;overflow:hidden;font-size:clamp(24px,7vw,38px)}.gameShell:not(.gameShell--replay) .clearScreen:not(.clearScreen--illustrated) img{width:auto;height:min(100%,142px);max-width:72%;max-height:100%;object-fit:contain}.gameShell:not(.gameShell--replay) .clearScreen small,.gameShell:not(.gameShell--replay) .clearScreen .outcomeTapHint{font-size:clamp(9px,2.6vw,14px)}.gameShell:not(.gameShell--replay) .firstClearReward{width:min(96%,560px);gap:2px;padding:4px;font-size:clamp(8px,2.2vw,12px)}.gameShell:not(.gameShell--replay) .firstClearReward>span{padding:2px}.mobileGameControls{position:absolute;z-index:32;right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(3,clamp(42px,12vw,58px));grid-template-rows:repeat(3,clamp(42px,12vw,58px));gap:4px;padding:5px;border:2px solid rgba(246,215,125,.88);border-radius:14px;background:#072622ad;box-shadow:0 3px 12px #0000007a;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.mobileGameControls *,.mobileGameControls *:before,.mobileGameControls *:after{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-user-drag:none}.mobileDirectionButton{display:grid;place-items:center;min-width:0;min-height:0;border:2px solid #e8cb70;border-radius:10px;padding:0;background:linear-gradient(#176c5d,#0a443b);color:#fff6ca;box-shadow:inset 0 1px #ffffff38,0 2px 4px #0000007a;font-size:clamp(23px,6.4vw,34px);font-weight:900;line-height:1;-webkit-tap-highlight-color:transparent;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.mobileDirectionButton:active{background:linear-gradient(#0a443b,#176c5d);transform:translateY(1px) scale(.97)}.mobileDirectionButton--autoWalk{position:relative;border-color:#fff4a8;background:linear-gradient(#2fae83,#0b5d4d);box-shadow:inset 0 1px #ffffff61,0 0 0 2px #ffee7e80,0 0 12px #ffde50eb;animation:autoWalkPulse .68s ease-in-out infinite alternate}.mobileDirectionButton--autoWalk:after{content:"AUTO";position:absolute;right:2px;bottom:2px;color:#fff8bd;font-size:7px;line-height:1;text-shadow:0 1px 0 #16352d}.autoWalkStatus{position:absolute;left:50%;top:-24px;z-index:2;transform:translate(-50%);border:1px solid #f3d975;border-radius:999px;padding:3px 8px;background:#07322bf0;color:#fff4b2;font-size:10px;font-weight:900;line-height:1.2;white-space:nowrap;pointer-events:none}.mobileDirectionButton--wait{background:linear-gradient(#9b6a16,#614008);font-size:clamp(14px,3.8vw,19px)}.gameShell:not(.gameShell--replay) .inventorySlot,.gameShell:not(.gameShell--replay) .inventoryScrollButton,.gameShell:not(.gameShell--replay) .devButton{touch-action:manipulation}}@media(max-width:900px)and (orientation:portrait){.gameShell:not(.gameShell--replay) .mobileGameControls{position:relative;right:auto;bottom:auto;justify-self:center;margin:3px auto}}@keyframes autoWalkPulse{0%{filter:brightness(1)}to{filter:brightness(1.2)}}@media(max-width:560px)and (orientation:portrait){.gameShell:not(.gameShell--replay){position:absolute;top:56px;left:0;width:430px;height:calc(var(--mobile-game-height, 932px) - 56px);min-height:0;max-height:none;grid-template-columns:minmax(0,3fr) minmax(128px,2fr);grid-template-rows:auto minmax(0,1fr) 166px auto;gap:3px;padding:3px;overflow:visible}.gameShell:not(.gameShell--replay) .topPanel--compact{grid-column:1 / -1;padding:3px 4px}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusGrid--compact{grid-template-areas:"hp medal level" "hp attack floor" "hp turn turn";grid-template-columns:minmax(100px,1.25fr) repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(30px,auto));gap:3px}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard{min-height:30px;gap:2px;padding:2px 3px}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp{min-height:96px}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusLabel{font-size:9px}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusValue,.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--level .gameStatusValue,.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--attack .gameStatusValue{font-size:clamp(12px,3.6vw,16px)}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudValue{font-size:clamp(24px,7vw,32px)}.gameShell:not(.gameShell--replay) .headerAuxiliary{display:none}.gameShell:not(.gameShell--replay) .mapPanel{width:100%;height:100%;min-height:0;max-height:100%;aspect-ratio:auto}.gameShell:not(.gameShell--replay) .playArea{grid-column:1 / -1;height:100%;min-height:0;display:flex;align-items:center;justify-content:center}.gameShell:not(.gameShell--replay) .board{--board-x: -11.1111%;--board-y: -13.6%;width:128.5714%;height:142.8571%}.gameShell:not(.gameShell--replay) .inventoryScroller{grid-column:1;grid-row:3;width:100%;min-width:0;align-self:stretch}.gameShell:not(.gameShell--replay) .inventoryBar{--inventory-scroll-gap: 4px;width:100%;height:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:unset;gap:var(--inventory-scroll-gap);padding:3px;overflow:hidden;scroll-snap-type:none}.gameShell:not(.gameShell--replay) .inventorySlot{width:100%;min-width:0;height:auto;min-height:58px;aspect-ratio:3 / 4}.gameShell:not(.gameShell--replay) .inventoryScrollButton{display:none}.gameShell:not(.gameShell--replay) .mobileGameControls{grid-column:2;grid-row:3;position:static;width:100%;height:100%;min-width:0;justify-self:stretch;align-self:stretch;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:4px;margin:0;padding:5px;transform:none}.gameShell:not(.gameShell--replay) .mobileDirectionButton{width:100%;height:100%;min-height:44px;min-width:44px;font-size:clamp(20px,7vw,30px)}.gameShell:not(.gameShell--replay) .mobileDirectionButton--wait{font-size:clamp(11px,3.2vw,15px)}.gameShell.gameShell--leftHanded:not(.gameShell--replay){grid-template-columns:minmax(128px,2fr) minmax(0,3fr)}.gameShell.gameShell--leftHanded:not(.gameShell--replay) .mobileGameControls{grid-column:1}.gameShell.gameShell--leftHanded:not(.gameShell--replay) .inventoryScroller{grid-column:2}.gameShell:not(.gameShell--replay) .cardModalPanel--replace{width:min(96%,410px);height:auto;max-height:calc(100dvh - 12px);grid-template-rows:clamp(120px,22vh,190px) auto auto auto 156px auto;gap:7px;padding:9px}.gameShell:not(.gameShell--replay) .cardModal--replace{position:fixed;inset:max(4px,env(safe-area-inset-top)) 4px max(4px,env(safe-area-inset-bottom));z-index:40}.gameShell:not(.gameShell--replay) .cardModal--pickupPreview{position:fixed;inset:max(4px,env(safe-area-inset-top)) 4px max(4px,env(safe-area-inset-bottom));z-index:40}.gameShell:not(.gameShell--replay) .cardModalPanel--pickupPreview{width:min(92%,390px);height:min(88dvh,620px);padding:12px}.gameShell:not(.gameShell--replay) .cardModalPanel--replace>.cardModalImage{height:100%;max-height:190px}.gameShell:not(.gameShell--replay) .cardModalPanel--replace .cardModalTitle{font-size:16px}.gameShell:not(.gameShell--replay) .cardModalPanel--replace .cardUseHint,.gameShell:not(.gameShell--replay) .cardModalPanel--replace .replacePrompt{font-size:12px}.gameShell:not(.gameShell--replay) .cardModalPanel--replace .replaceSlots{grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:72px;gap:6px;height:156px;min-height:156px;max-height:156px;padding:2px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.gameShell:not(.gameShell--replay) .cardModalPanel--replace .replaceSlot{width:100%;height:72px;min-height:72px;aspect-ratio:auto;border-width:2px;border-radius:7px}.gameShell:not(.gameShell--replay) .cardModalPanel--replace .replaceSlot span{width:18px;height:18px;font-size:11px}.gameShell:not(.gameShell--replay) .cardModalPanel--replace .cardModalActions button{min-height:46px;font-size:15px}.gameShell:not(.gameShell--replay) .bottomPanel{grid-column:1 / -1;min-height:34px;padding:3px 5px}.gameShell:not(.gameShell--replay) .devActions{display:none}.gameShell:not(.gameShell--replay) .messageWindow{font-size:10px}}@media(max-width:560px)and (orientation:portrait){.app--stageSelect{min-height:100dvh;display:flex;justify-content:center;align-items:flex-start;padding:0;overflow-x:hidden;overflow-y:auto;padding-bottom:max(10px,env(safe-area-inset-bottom));background:radial-gradient(circle at 50% 92%,rgba(80,145,60,.3),transparent 34%),#073c2d}.stageSelect{position:relative;flex:0 0 auto;width:min(100vw,560px);height:auto;min-height:0;aspect-ratio:941 / 1672;display:block;padding:0;overflow:visible;border:0;border-radius:0;background:url(../stage-select/stage-select-portrait-integrated-menu.webp) center top / 100% auto no-repeat;box-shadow:none}.stageSelectMobileHeader{position:absolute;z-index:3;top:4.15%;left:23%;width:47%;height:8.8%;display:flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#fff8dc;text-align:center;pointer-events:none}.stageSelectMobileHeader span{color:#fff0bb;font-size:clamp(7px,2.1vw,11px);letter-spacing:.09em;text-shadow:-1px -1px 0 #3f2107,1px -1px 0 #3f2107,-1px 1px 0 #3f2107,1px 1px 0 #3f2107}.stageSelectMobileHeader h1{margin:1% 0 0;color:#fffaf0;font-size:clamp(20px,6.4vw,32px);line-height:1;letter-spacing:.01em;text-shadow:-2px -2px 0 #41230a,2px -2px 0 #41230a,-2px 2px 0 #41230a,2px 2px 0 #41230a,0 4px 0 #1f1106}.stageMedalBalance{top:14.65%;right:auto;left:30.5%;width:39%;max-width:none;min-width:0;height:4.15%;justify-content:center;gap:2%;padding:0 3%;overflow:hidden;border:0;border-radius:0;background:none;box-shadow:none;color:#fff4d0;font-size:clamp(8px,2.25vw,12px);text-shadow:-1px -1px 0 #432309,1px 1px 0 #432309}.stageMedalBalance:before{content:"★";color:#ffd845;font-size:1.3em;line-height:1}.stageMedalBalance strong{flex:0 0 auto;min-width:max-content;overflow:visible;color:#fffaf0;font-size:clamp(14px,4vw,21px);text-overflow:clip;font-variant-numeric:tabular-nums;white-space:nowrap}.stageMedalBalance[data-digits="5"] strong{font-size:clamp(13px,3.7vw,20px)}.stageMedalBalance[data-digits="6"] strong,.stageMedalBalance[data-digits="7"] strong{font-size:clamp(11px,3.25vw,18px)}.stageHotspot{position:absolute;z-index:2;inset:auto!important;width:44.3%!important;height:14.25%!important;min-width:0;display:block;padding:0;overflow:visible;border:0;border-radius:13%;background:transparent!important;box-shadow:none;color:#fff;text-align:center;touch-action:manipulation}.stageHotspot:before{content:"";position:absolute;z-index:0;inset:0;border-radius:14%;background:#0f111029;backdrop-filter:grayscale(1) brightness(.56);-webkit-backdrop-filter:grayscale(1) brightness(.56);pointer-events:none}.stageHotspot--available:before{background-repeat:no-repeat;background-position:center;background-size:contain;backdrop-filter:none;-webkit-backdrop-filter:none}.stageHotspotStatus{display:none}.stageHotspotMobileCopy{position:absolute;z-index:1;inset:0;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:8% 5% 12%}.stageHotspotMobileCopy b{position:absolute;top:-4%;left:50%;width:clamp(32px,9vw,46px);height:clamp(32px,9vw,46px);display:grid;place-items:center;transform:translate(-50%);border:clamp(2px,.75vw,4px) solid #dfd8b7;border-radius:28% 28% 40% 40%;background:linear-gradient(155deg,#176eac,#06446e);color:#fff;font-size:0;line-height:1;box-shadow:inset 0 0 0 2px #00000061,0 3px #1f1305e6;text-shadow:-1px -1px 0 #061a25,1px 1px 0 #061a25}.stageHotspotMobileCopy b:after{content:attr(data-stage-number);font-size:clamp(16px,4.5vw,23px)}.stageHotspotMobileCopy strong{display:none}.stageHotspotMobileCopy small{align-self:center;margin:0;padding:3px 9px;border-radius:999px;background:#040c0a8f;color:#fff;font-size:clamp(10px,2.9vw,15px);font-weight:900;line-height:1;text-shadow:-1px -1px 0 #17120b,1px -1px 0 #17120b,-1px 1px 0 #17120b,1px 1px 0 #17120b}.stageSelect .stageHotspot:disabled{border:0;background:transparent!important;-webkit-backdrop-filter:none;backdrop-filter:none;opacity:1}.stageSelect .stageHotspot--locked .stageHotspotMobileCopy b{border-color:#aaa796;background:linear-gradient(155deg,#555a59,#222827)}.stageSelect .stageHotspot--available .stageHotspotMobileCopy b{border-color:#dff5ff;background:linear-gradient(155deg,#1b82c5,#07517e)}.stageSelect .stageHotspot:disabled .stageHotspotMobileCopy b{border-color:#aaa796;background:linear-gradient(155deg,#555a59,#222827);color:#fff}.stageSelect .stageHotspot:disabled .stageHotspotMobileCopy strong,.stageSelect .stageHotspot:disabled .stageHotspotMobileCopy small{color:#f0eeee}.stageHotspot--unlocked:focus-visible{outline:4px solid #ffe85c;outline-offset:-8px}.stageHotspot--unlocked:active{transform:scale(.97)}.stageSelect .stageWorldButton,.stageSelect .stageItemButton{position:absolute;z-index:3;top:86.7%;width:44.1%;height:max(6.25%,44px);display:grid;align-items:center;justify-content:center;column-gap:3px;padding:0 6%;overflow:hidden;border:0;border-radius:12%;background:transparent;box-shadow:none;color:#fff7e6;font-size:clamp(12px,3.35vw,18px);font-weight:900;text-shadow:-2px -2px 0 #452307,2px -2px 0 #452307,-2px 2px 0 #452307,2px 2px 0 #452307;white-space:nowrap}.stageSelect .stageWorldButton{left:4.8%;grid-template-columns:auto auto}.stageMenuButtonIcon{display:grid;place-items:center;width:clamp(20px,5.6vw,29px);height:clamp(20px,5.6vw,29px);font-size:clamp(17px,4.7vw,25px);line-height:1;text-shadow:none}.stageSelect .stageItemButton{left:50.8%;grid-template-columns:auto minmax(0,1fr) auto;padding:0 2.5%}.stageSelect .stageWorldButton .stageMenuButtonIcon,.stageSelect .stageWorldButton .stageMenuButtonLabel,.stageSelect .stageItemButton .stageMenuButtonIcon,.stageSelect .stageItemButton .stageMenuButtonLabel{visibility:hidden}.stageMenuButtonLabel{min-width:0;white-space:nowrap}.stageSelect .stageItemButton small{position:absolute;right:3.8%;top:53%;width:auto;min-width:23%;max-width:31%;height:48%;transform:translateY(-50%);display:grid;place-items:center;padding:0 3.5%;border:1px solid rgba(255,239,170,.96);border-radius:999px;background:linear-gradient(180deg,#fff0a0,#d79227);color:#503009;font-size:clamp(8px,2vw,11px);line-height:1;text-shadow:none;box-shadow:inset 0 1px #ffffff8a,0 2px #502a07b8}.stageDebugDetails{position:absolute;z-index:3;inset:94% auto auto 4.8%;width:90.7%;min-height:44px;display:block}.stageDebugDetails>.panelHeading{min-height:44px;display:grid;place-items:center;list-style:none;border:1px solid rgba(230,198,118,.58);border-radius:7px;background:#070705b8;color:#fff4d5;font-size:clamp(12px,3.3vw,17px);font-weight:900;cursor:pointer}.stageDebugDetails>.panelHeading::-webkit-details-marker{display:none}.stageDebugDetails>.panelHeading{display:none}.stageSelect .debugUnlockPanel{position:static;inset:auto;width:100%;height:44px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4%;padding:3px 2%;border:0;border-radius:0;background:none;box-shadow:none}.stageSelect .debugUnlockPanel input{height:36px;border:1px solid rgba(230,198,118,.58);border-radius:5px;padding:0 4%;background:#07070585;color:#fff7d8;font-size:16px;touch-action:manipulation}.worldDebugUnlockPanel input{font-size:16px;touch-action:manipulation}.stageDetailPanel .stageCarryInPanel .carryInSlots{grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,minmax(76px,auto));gap:6px}.stageDetailPanel .stageCarryInPanel{position:sticky;top:0;bottom:80px;z-index:7;margin-inline:-2px;background:linear-gradient(180deg,#3a250cfa,#121614fa),#161c19;box-shadow:0 8px 16px #00000075}.stageDetailPanel .cardListFilters,.stageDetailPanel .stageCarryCardGrid{scroll-margin-top:268px}.stageDetailPanel .stageCarryInPanel .carryInSlot{width:100%;min-height:76px;aspect-ratio:3 / 4;border-width:2px;border-radius:7px;touch-action:manipulation}.stageDetailPanel .stageCarryInPanel .carryInSlot>span{width:18px;height:18px;font-size:11px}.stageDetailPanel .stageCarryInPanel .carryInClearButton{min-height:42px;padding:8px 14px;font-size:13px;touch-action:manipulation}.stageSelect .debugUnlockPanel span{min-width:58px;color:#fff4d5;font-size:clamp(9px,2.9vw,15px)}body:has(.app--stageSelect)>#root>.audioSettingsControl,.app--stageSelect~.audioSettingsControl{top:max(1.3vw,env(safe-area-inset-top));right:max(1.3vw,env(safe-area-inset-right))}body:has(.app--stageSelect) .audioSettingsControl>.panelHeading{min-width:76px;min-height:44px;padding:7px 9px;border:3px solid #d5bd76;border-radius:14px;background:linear-gradient(#98601f,#5d320c);color:#fff8df;box-shadow:inset 0 0 0 2px #361904a3,0 3px #2d1704cc;font-size:0;text-shadow:0 2px 0 #3a1e08}body:has(.app--stageSelect) .audioSettingsControl>.panelHeading:before{content:"🔊 サウンド";font-size:12px}}@media(max-width:340px)and (orientation:portrait){.app--stageSelect{min-height:100dvh}.stageSelect .stageWorldButton,.stageSelect .stageItemButton{column-gap:2px;font-size:13px}.stageMenuButtonIcon{width:22px;height:22px;font-size:18px}.stageSelect .stageItemButton small{min-width:31px;padding-inline:2px;font-size:8px}}@media(max-width:900px)and (max-height:560px)and (orientation:landscape){.app:has(.gameShell:not(.gameShell--replay)){padding:max(2px,env(safe-area-inset-top)) max(3px,env(safe-area-inset-right)) max(2px,env(safe-area-inset-bottom)) max(3px,env(safe-area-inset-left))}.gameShell:not(.gameShell--replay){width:100%;height:calc(100dvh - 4px);max-height:calc(100dvh - 4px);gap:2px;padding:2px;grid-template-rows:54px minmax(0,1fr) 48px 28px}.gameShell:not(.gameShell--replay) .topPanel--compact{min-height:0;padding:2px 4px}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusGrid--compact{grid-template-areas:"hp medal level attack floor turn";grid-template-columns:minmax(130px,1.5fr) repeat(5,minmax(70px,1fr));grid-template-rows:48px;gap:3px}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard,.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp{min-width:0;min-height:48px;gap:2px;padding:2px 3px}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusLabel{font-size:clamp(8px,1.5vw,11px)}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusValue,.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--level .gameStatusValue,.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--attack .gameStatusValue{font-size:clamp(12px,2vw,17px)}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudValue{font-size:clamp(21px,3.7vw,31px)}.gameShell:not(.gameShell--replay) .headerAuxiliary,.gameShell:not(.gameShell--replay) .devActions{display:none}.gameShell:not(.gameShell--replay) .playArea{display:flex;min-height:0;justify-content:center}.gameShell:not(.gameShell--replay) .mapPanel{width:auto;height:100%;max-width:100%;aspect-ratio:16 / 10}.gameShell:not(.gameShell--replay) .mapPanel>.floorMapPanel{position:fixed;top:calc(max(2px,env(safe-area-inset-top)) + 59px);left:max(6px,env(safe-area-inset-left));width:min(200px,calc((100vw - 390px)/2));max-height:calc(100dvh - 126px);overflow:hidden}.gameShell:not(.gameShell--replay) .mapPanel>.floorMapPanel .floorMapHeader,.gameShell:not(.gameShell--replay) .mapPanel>.floorMapPanel .floorMapLegend{display:none}.mobileGameControls{display:grid;top:50%;right:max(16px,env(safe-area-inset-right));bottom:auto;grid-template-columns:repeat(3,clamp(38px,7dvh,48px));grid-template-rows:repeat(3,clamp(38px,7dvh,48px));gap:3px;padding:4px;transform:translateY(-50%)}.mobileDirectionButton{font-size:clamp(20px,5dvh,28px)}.mobileDirectionButton--wait{font-size:12px}.gameShell:not(.gameShell--replay) .inventoryBar{--inventory-scroll-gap: 3px;padding:2px}.gameShell:not(.gameShell--replay) .inventorySlot{height:44px}.gameShell:not(.gameShell--replay) .bottomPanel{min-height:28px;padding:2px 5px}.gameShell:not(.gameShell--replay) .messageWindow{font-size:9px}}@media(max-width:720px)and (orientation:portrait){.app.app--worldMap{width:100vw;max-width:none;padding:0}.app--worldMap .worldMap{width:100vw}}.whirlwindButton{display:grid;gap:4px;min-width:132px;padding:6px 12px;border:2px solid #c6983e;border-radius:8px;background:#115353;color:#fff1bc;font-weight:700;cursor:pointer}.whirlwindButton:disabled{opacity:.65;cursor:default}.whirlwindButton progress{width:100%;height:7px;accent-color:#f2c85b}.whirlwindEffect{position:absolute;z-index:12;pointer-events:none;left:50%;top:50%;width:34%;aspect-ratio:1;border:6px solid #fff5b0;border-left-color:transparent;border-radius:50%;box-shadow:0 0 28px #ffd36b;animation:whirlwindSweep .6s ease-out forwards}.whirlwindEffect span{position:absolute;top:-28px;left:0;width:100%;text-align:center;color:#fff4bf;font-weight:700;text-shadow:0 2px 4px #000}@keyframes whirlwindSweep{0%{transform:translate(-50%,-50%) scale(.4) rotate(-45deg);opacity:1}to{transform:translate(-50%,-50%) scale(1.2) rotate(45deg);opacity:0}}@media(prefers-reduced-motion:reduce){.whirlwindEffect{animation:none;transform:translate(-50%,-50%)}}.playerClassSelect{max-width:900px;margin:16px auto;padding:14px;border:2px solid #cfaa62;border-radius:14px;color:#fff0c7;background:#174e4a}.playerClassSelect h2{margin:0 0 10px;font-size:18px}.playerClassSelect>div{display:flex;gap:12px}.playerClassSelect button{flex:1;display:grid;grid-template-columns:64px 1fr;text-align:left;align-items:center;gap:4px 10px;padding:10px;border:2px solid #6f8a80;border-radius:10px;background:#133e3c;color:#fff0c7;cursor:pointer}.playerClassSelect button[aria-pressed=true]{border-color:#ffd574;background:#3f5062;box-shadow:0 0 0 2px #ffd57444}.playerClassSelect img{grid-row:span 2;width:64px;height:72px;object-fit:contain;image-rendering:pixelated}.playerClassSelect small{line-height:1.5}.playerClassSelect p{font-size:13px;line-height:1.6;margin:10px 0 0}.mageAttackButton{padding:8px 12px;border:2px solid #cda2f0;border-radius:8px;background:#39275c;color:#fff;font-weight:700;cursor:pointer}.mageAttackButton:disabled{opacity:.5}.whirlwindEffect--frost{width:52%;border-color:#b3f5ff;box-shadow:0 0 40px #6fe0ff,inset 0 0 30px #8ff0ff;background:#87eaff33}.whirlwindEffect--frost span{color:#d2fcff}@media(max-width:600px){.playerClassSelect{margin:8px}.playerClassSelect button{grid-template-columns:42px 1fr;padding:6px}.playerClassSelect img{width:42px;height:54px}}.playerSprite--mage.playerSprite--down{--player-standing-image: url(../player-sprites/mage/atlas-v1.webp);--player-idle-image: var(--player-standing-image);--player-idle-size: 400% 400%;--player-idle-first: 0% 0%;--player-idle-second: 33.333333% 0%;--player-idle-animation: playerIdleSteps;--player-idle-duration: .72s;background-image:var(--player-standing-image);background-size:var(--player-idle-size);background-position:var(--player-idle-first)}.playerSprite--mage.playerSprite--downLeft{--player-standing-image: url(../player-sprites/mage/atlas-v1.webp);--player-idle-image: var(--player-standing-image);--player-idle-size: 400% 400%;--player-idle-first: 66.666667% 0%;--player-idle-second: 100% 0%;--player-idle-animation: playerIdleSteps;--player-idle-duration: .72s;background-image:var(--player-standing-image);background-size:var(--player-idle-size);background-position:var(--player-idle-first)}.playerSprite--mage.playerSprite--left{--player-standing-image: url(../player-sprites/mage/atlas-v1.webp);--player-idle-image: var(--player-standing-image);--player-idle-size: 400% 400%;--player-idle-first: 0% 33.333333%;--player-idle-second: 33.333333% 33.333333%;--player-idle-animation: playerIdleSteps;--player-idle-duration: .72s;background-image:var(--player-standing-image);background-size:var(--player-idle-size);background-position:var(--player-idle-first)}.playerSprite--mage.playerSprite--upLeft{--player-standing-image: url(../player-sprites/mage/atlas-v1.webp);--player-idle-image: var(--player-standing-image);--player-idle-size: 400% 400%;--player-idle-first: 66.666667% 33.333333%;--player-idle-second: 100% 33.333333%;--player-idle-animation: playerIdleSteps;--player-idle-duration: .72s;background-image:var(--player-standing-image);background-size:var(--player-idle-size);background-position:var(--player-idle-first)}.playerSprite--mage.playerSprite--up{--player-standing-image: url(../player-sprites/mage/atlas-v1.webp);--player-idle-image: var(--player-standing-image);--player-idle-size: 400% 400%;--player-idle-first: 0% 66.666667%;--player-idle-second: 33.333333% 66.666667%;--player-idle-animation: playerIdleSteps;--player-idle-duration: .72s;background-image:var(--player-standing-image);background-size:var(--player-idle-size);background-position:var(--player-idle-first)}.playerSprite--mage.playerSprite--upRight{--player-standing-image: url(../player-sprites/mage/atlas-v1.webp);--player-idle-image: var(--player-standing-image);--player-idle-size: 400% 400%;--player-idle-first: 66.666667% 66.666667%;--player-idle-second: 100% 66.666667%;--player-idle-animation: playerIdleSteps;--player-idle-duration: .72s;background-image:var(--player-standing-image);background-size:var(--player-idle-size);background-position:var(--player-idle-first)}.playerSprite--mage.playerSprite--right{--player-standing-image: url(../player-sprites/mage/atlas-v1.webp);--player-idle-image: var(--player-standing-image);--player-idle-size: 400% 400%;--player-idle-first: 0% 100%;--player-idle-second: 33.333333% 100%;--player-idle-animation: playerIdleSteps;--player-idle-duration: .72s;background-image:var(--player-standing-image);background-size:var(--player-idle-size);background-position:var(--player-idle-first)}.playerSprite--mage.playerSprite--downRight{--player-standing-image: url(../player-sprites/mage/atlas-v1.webp);--player-idle-image: var(--player-standing-image);--player-idle-size: 400% 400%;--player-idle-first: 66.666667% 100%;--player-idle-second: 100% 100%;--player-idle-animation: playerIdleSteps;--player-idle-duration: .72s;background-image:var(--player-standing-image);background-size:var(--player-idle-size);background-position:var(--player-idle-first)}.playerSprite--mage.playerSprite--idle{background-size:var(--player-idle-size)}@media(prefers-reduced-motion:reduce){.playerSprite--mage.playerSprite--idle{animation:none;background-size:var(--player-idle-size);background-position:var(--player-idle-first)}}.verificationReplay .playerSprite--mage.playerSprite--idle{background-size:var(--player-idle-size);background-position:var(--player-idle-first)}.playerSprite--mage.playerSprite--up,.playerSprite--mage.playerSprite--upRight{clip-path:inset(0 0 4% 0)}.specialRangeTile{position:absolute;inset:2px;z-index:6;pointer-events:none;background:#70e8ef55;border:2px solid #bcfaff;box-shadow:inset 0 0 12px #5ee5ffaa}.specialConfirm{position:absolute;z-index:35;bottom:10px;left:50%;transform:translate(-50%);display:grid;gap:6px;padding:10px 16px;width:max-content;max-width:90%;text-align:center;border:2px solid #dfc57e;border-radius:10px;background:#153b3bf5;color:#fff5d7}.specialConfirm span{font-size:12px}.specialConfirm>div{display:flex;gap:12px;justify-content:center}.specialConfirm button{padding:9px 18px;color:#fff;background:#285b58;border:1px solid #dfc57e;border-radius:6px;cursor:pointer}.gameShell:has(.specialConfirm) button,.gameShell:has(.specialConfirm) .panelHeading{pointer-events:none}.gameShell:has(.specialConfirm) .specialConfirm button{pointer-events:auto}.gameShell:not(.gameShell--replay) .headerAuxiliary{flex-wrap:wrap}.gameShell:not(.gameShell--replay) .headerAuxiliary>.mageAttackButton,.gameShell:not(.gameShell--replay) .headerAuxiliary>.whirlwindButton{flex-shrink:0;max-width:100%}.gameShell:not(.gameShell--replay) .headerAuxiliary>.statusEffects{flex:1 0 140px;max-width:100%}.gameShell:not(.gameShell--replay) .headerAuxiliary>.equipmentSlots{flex-shrink:0;margin-left:auto}.trainingSchool{margin:12px auto;padding:14px;width:min(100% - 32px,1000px);box-sizing:border-box;border:2px solid #bd954c;border-radius:12px;background:#163e38;color:#fff2cb}.trainingSchool .panelHeading{cursor:pointer;font-size:18px;font-weight:700}.trainingSchool p{line-height:1.6}.trainingOptions{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.trainingOptions article{display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid #b39355;border-radius:8px;background:#245248}.trainingOptions article p{flex:1;margin:0;font-size:14px}.trainingOptions button{padding:10px;background:#f2d696;color:#163e38;border-radius:6px;border:1px solid #c09a50;cursor:pointer;font-weight:700}.trainingOptions button:disabled{opacity:.45;cursor:default}.trainingOptions button[aria-pressed=true]{background:#b4e4d1}.trainingNotice{margin:10px auto;max-width:1000px;padding:10px;background:#fff0bd;color:#193c35}.trainingNotice{position:fixed;z-index:20000;bottom:16px;left:16px;right:16px;border:2px solid #ba9751;border-radius:8px;box-shadow:0 4px 20px #0008}.trainingNotice button{margin-left:12px;padding:6px 10px}.specialDirections{flex-wrap:wrap;max-width:300px}.specialDirections button{padding:6px 10px}.specialDirections button[aria-pressed=true]{background:#a78739}.specialConfirm button:disabled{opacity:.4;cursor:default}.specialDestinationTile{position:absolute;inset:3px;z-index:9;background:#56cadb22;border:2px dashed #b2f4ff;border-radius:3px;cursor:pointer}.specialDestinationTile--selected{background:#f4d65c66;border:3px solid #ffdf50}.gameShell:has(.specialConfirm) .specialDestinationTile{pointer-events:auto}.whirlwindEffect--guard{border-color:#ffd778;background:#fc53;box-shadow:0 0 30px #ffc657}.whirlwindEffect--lightning{border-color:#ba9fff;background:#cbb3ff44;box-shadow:0 0 45px #a088ff}.whirlwindEffect--illusion{border-style:dashed;border-color:#e0c6ff;background:#b490ef33}.whirlwindEffect--dash{border-color:#ffc480;box-shadow:0 0 30px #ffad4c}.specialPhantom{position:absolute;inset:12%;z-index:10;display:grid;place-items:center;border:2px dashed #d7b6ff;border-radius:50%;background:#7954aa88;color:#fff;font-size:28px;pointer-events:none}.specialGuardAura{position:absolute;inset:8%;z-index:7;border:3px solid #ffe090;border-radius:50%;box-shadow:0 0 12px #ffcf55;pointer-events:none}.specialConfirm--illusion{top:8px;bottom:auto}.aimPrompt{z-index:36}.aimPrompt button{pointer-events:auto;cursor:pointer}.gameShell:has(.specialConfirm) .mobileDirectionButton{pointer-events:auto}.stageSelect .stageItemButton{padding:0;overflow:visible;background:transparent}.stageSelect .stageItemButton .adventurePreparationButtonImage{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:fill;pointer-events:none}.stageSelect .stageItemButton .stageMenuButtonIcon,.stageSelect .stageItemButton .stageMenuButtonLabel,.stageSelect .stageItemButton .stageMenuButtonCount{display:none}.preparationScreen{min-height:100dvh;box-sizing:border-box;padding:clamp(12px,3vw,32px);color:#fff0c6;background:radial-gradient(ellipse at top,#386444aa,#0c2419ee 80%),url(../stage-select/stage-select-portrait-integrated-menu.webp) center/cover fixed}.preparationHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:1150px;margin:0 auto 24px}.preparationHeader h1{margin:0;color:#fff0bf;text-shadow:0 3px #492912;font-size:clamp(22px,4vw,40px)}.preparationHeader button,.preparationShop button{border:2px solid #b8944c;border-radius:8px;padding:10px 16px;background:linear-gradient(#795025,#45250e);color:#fff0bf;font-weight:700;cursor:pointer}.preparationHeader>strong{padding:10px;background:#123c32;border:2px solid #bd9e59;border-radius:8px;white-space:nowrap}.preparationHome{max-width:1150px;margin:auto;text-align:center}.preparationHome>p{font-size:clamp(14px,2vw,19px)}.preparationChoices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,2vw,26px);margin:clamp(20px,5vh,50px) 0}.preparationChoices>button{display:flex;flex-direction:column;align-items:center;gap:12px;padding:20px 12px;border:6px ridge #d1a657;border-radius:22px;background:linear-gradient(#755027,#2d180dee);color:#fff2ce;cursor:pointer;box-shadow:0 8px #301b0c,inset 0 0 20px #130b04}.preparationChoices>button:hover{filter:brightness(1.15);transform:translateY(-2px)}.preparationChoices>button:focus-visible{outline:3px solid #fff1a7;outline-offset:4px}.preparationChoices strong{font-size:clamp(20px,3vw,30px);text-shadow:0 2px #251307}.preparationArt{display:flex;align-items:center;justify-content:center;height:clamp(100px,22vh,220px);width:100%;background:radial-gradient(ellipse,#d6b75755,transparent 70%)}.preparationArt img{max-width:45%;max-height:90%;object-fit:contain;filter:drop-shadow(0 5px 4px #0009)}.preparationArt img:first-child{transform:rotate(-8deg)}.preparationArt img:last-child{transform:rotate(8deg)}.preparationArt--training img{width:45%;image-rendering:pixelated}.preparationCurrent{border:1px solid #b89958;border-radius:8px;padding:14px;background:#173d30dd}.preparationTraining,.preparationShop{max-width:1100px;margin:auto}.preparationShop{background:#143a2eea;border:2px solid #bc9a51;border-radius:12px;padding:18px}.preparationShop input{padding:10px;border-radius:6px;margin-left:8px;max-width:60%}.preparationShopGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-top:20px}.preparationShopGrid article{display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid #a98b52;border-radius:10px;background:#214b3b}.preparationShopGrid img{height:130px;object-fit:contain}.preparationShopGrid p{font-size:13px;flex:1;margin:0}.preparationShop button:disabled{opacity:.45;cursor:default}@media(max-width:600px){.preparationHeader{flex-wrap:wrap;margin-bottom:12px}.preparationHeader h1{order:3;width:100%;text-align:center}.preparationChoices{grid-template-columns:1fr;gap:12px;margin:16px 0}.preparationChoices>button{display:grid;grid-template-columns:90px 1fr;gap:4px 12px;text-align:left;padding:10px;border-width:4px}.preparationArt{grid-row:1/3;height:86px}.preparationChoices strong{font-size:22px}.preparationChoices small{grid-column:2}.preparationCurrent{padding:10px;font-size:13px!important}}.preparationHeader{position:sticky;top:52px;z-index:20;padding:10px;border:1px solid #b8944c;border-radius:12px;background:#123426f5;box-shadow:0 4px 16px #0005}html:has(.preparationScreen),body:has(.preparationScreen),#root:has(.preparationScreen){overflow-x:clip;overflow-y:visible}.trainingSchool>h2{margin:0;font-size:18px;font-weight:700}.trainingNotice{pointer-events:none}.preparationScreen:has(>.preparationShop){height:100dvh;min-height:0;padding-top:52px;display:flex;flex-direction:column;overflow:hidden}.preparationScreen:has(>.preparationShop)>.preparationHeader{position:static;flex:0 0 auto;width:100%;margin-bottom:12px;background:#123426}.preparationScreen>.preparationShop{flex:1 1 auto;min-height:0;width:100%;margin:0 auto;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable}.topPanel>.specialConfirm{position:static;transform:none;width:100%;max-width:none;grid-column:1 / -1;flex:0 0 100%;margin-top:8px}.preparationChoices{grid-template-columns:repeat(4,minmax(0,1fr))}.manualBookArt{font-size:clamp(60px,9vw,120px)}.preparationScreen:has(>.gameManual){height:100dvh;min-height:0;padding-top:52px;display:flex;flex-direction:column;overflow:hidden}.preparationScreen:has(>.gameManual)>.preparationHeader{position:static;flex:0 0 auto;width:100%;margin-bottom:12px;background:#123426}.gameManual{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;max-width:1150px;margin:0 auto;border:2px solid #b99a57;border-radius:12px;overflow:hidden;background:#f7edcf;color:#233f32}.manualChapters{display:flex;flex:0 0 auto;gap:6px;padding:10px;overflow-x:auto;background:#143a2e}.manualChapters button{flex:0 0 auto;padding:10px 14px;border:1px solid #ba9856;border-radius:7px;color:#fff0bf;background:#254d3b;cursor:pointer;font-weight:700}.manualChapters button[aria-pressed=true]{background:#f2db9f;color:#283e2d}.manualChapters button:focus-visible{outline:3px solid #ffcf57;outline-offset:2px}.manualContent{overflow-y:auto;min-height:0;padding:clamp(16px,3vw,36px);line-height:1.85;overscroll-behavior:contain}.manualContent h2{font-size:clamp(24px,4vw,34px);margin:0 0 20px;border-bottom:2px solid #c4a45b}.manualContent h3{margin:22px 0 8px;color:#215b48}.manualContent p{margin:8px 0 18px}.manualEyebrow{font-size:12px;letter-spacing:.12em;color:#73613c}.manualColumns{display:grid;grid-template-columns:minmax(220px,1fr) 1.5fr;gap:24px;align-items:center}.manualFigure{margin:12px auto 24px;max-width:400px;width:100%}.manualFigure figcaption{font-size:14px;margin-top:10px}.manualFigure small{display:block;color:#655e4c}.manualTiles{display:grid;grid-template-columns:repeat(5,1fr);border:4px solid #786645;border-radius:8px;overflow:hidden;background:#d9c395}.manualTiles>span{aspect-ratio:1;display:grid;place-items:center;border:1px solid #af986d;min-width:0;font-size:clamp(14px,2vw,22px);color:#184635}.manualTiles img{width:90%;height:90%;object-fit:contain;image-rendering:pixelated}.manualTiles .manualTileWall{background:repeating-linear-gradient(0deg,#3e5750 0 12px,#30463f 12px 14px)}.manualTiles .manualTileLit{box-shadow:inset 0 0 0 3px #58aeb9;background-color:#a4d6d3}.manualTiles .manualTileWall.manualTileLit{box-shadow:inset 0 0 0 3px #8ee1e9}.manualKeys{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:16px;background:#214839;border-radius:12px}.manualKeys kbd{padding:12px 4px;text-align:center;background:#fff4ce;border:2px solid #ae915c;border-bottom-width:5px;border-radius:7px;font-size:18px;color:#263e32}.manualContent table{width:100%;border-collapse:collapse;margin:20px 0}.manualContent caption{text-align:left;font-weight:700}.manualContent th,.manualContent td{border:1px solid #c7b485;padding:12px;text-align:left}.manualContent th{background:#eaddb6;width:25%}.manualNote,.manualWarning{padding:18px;border:2px solid #b78a38;background:#fff5d8;border-radius:10px}.manualWarning>strong{color:#813d21}.manualChance{display:flex;border-radius:8px;overflow:hidden;text-align:center;color:#fff;margin:16px 0;font-weight:700}.manualChance span:first-child{width:33%;background:#944b25;padding:10px 0}.manualChance span:last-child{width:67%;background:#375946;padding:10px 0}.manualHpExample{padding:15px;border-radius:8px;background:#244d3b;color:#fff3ca;font-size:20px}.manualHpExample span{display:block;font-size:14px}.manualSpecials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.manualSpecials section{padding:16px;border:1px solid #bba36e;border-radius:10px;background:#fff5dc}.manualSpecials h3{margin-top:0}.manualSpecials small{display:block;font-size:13px;color:#665837}.manualFlow{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;margin:22px 0}.manualFlow span{padding:12px;background:#28503d;border-radius:8px;color:#fff3ce}@media(max-width:850px){.preparationChoices{grid-template-columns:repeat(2,minmax(0,1fr))}.preparationArt{height:110px}.manualColumns{grid-template-columns:1fr;gap:4px}}@media(max-width:600px){.preparationChoices,.manualSpecials{grid-template-columns:1fr}.manualContent th,.manualContent td{padding:8px}.manualChapters button{padding:8px 10px}.manualBookArt{font-size:60px}}.manualInputMode{display:flex;gap:8px;padding:10px 10px 0;flex:0 0 auto;background:#143a2e}.manualInputMode button{flex:1;min-height:44px;padding:8px;border:1px solid #c4a45b;border-radius:8px;color:#fff0bf;background:#254d3b;cursor:pointer;font-weight:700}.manualInputMode button[aria-pressed=true]{background:#f2db9f;color:#283e2d}.manualInputMode button:focus-visible{outline:3px solid #ffcf57;outline-offset:2px}.manualTouchFlow{display:flex;flex-direction:column;align-items:center;gap:8px;padding:18px;margin:20px 0;border:1px solid #bba36e;border-radius:10px;background:#fff5dc;text-align:center}.manualTouchFlow img{width:100px;height:100px;object-fit:contain}.manualTouchFlow strong{background:#28503d;color:#fff3ce;padding:10px 22px;border-radius:8px}.manualTouchFlow figcaption{font-size:13px}@media(max-width:600px){.manualChapters button{min-height:44px}.manualContent{overflow-wrap:anywhere}.manualKeys kbd{font-size:17px}.preparationScreen:has(>.gameManual){padding-left:8px;padding-right:8px}.preparationScreen:has(>.gameManual) .preparationHeader{gap:6px;padding:8px}.preparationScreen:has(>.gameManual) .preparationHeader button{padding:8px;min-height:44px}}.playerSprite.playerSprite--continuous{background-image:none}.playerSprite--continuous:before{content:"";position:absolute;inset:0;background-image:var(--player-idle-image);background-repeat:no-repeat;background-size:var(--player-idle-size);background-position:var(--player-idle-first);animation:var(--player-idle-animation, playerIdleSteps) var(--player-idle-duration, .72s) step-end infinite}.verificationReplay .playerSprite--continuous:before{animation:none}@media(prefers-reduced-motion:reduce){.playerSprite--continuous:before{animation:none}}.audioSettingsPopover .retireButton{margin-top:12px;min-height:44px;border:1px solid #d4a270;background:#71382b;color:#fff2db}.rewardWalletPanel{display:grid;gap:16px;padding:18px;color:#fff4ca}.rewardWalletBalances,.rewardRingGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.rewardWalletBalances article,.rewardRingGrid article{display:grid;gap:8px;padding:12px;border:2px solid #b49550;border-radius:12px;background:#163e35}.rewardWalletBalances strong{font-size:24px;color:#ffe47a}.rewardRingGrid img{width:100%;max-height:190px;object-fit:contain;border-radius:8px;background:#07110e}.rewardRingGrid button{min-height:44px;border:2px solid #e5c467;border-radius:9px;background:#76500e;color:#fff4ca;font-weight:900}.rewardRingGrid button:disabled{opacity:.5}.rewardWalletMessage{padding:10px;border-radius:8px;background:#0d2a24}.retireConfirmation{box-sizing:border-box;width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:26px;border:6px ridge #d1ae61;border-radius:16px;background:linear-gradient(145deg,#fff2ca,#e8d49b);color:#24473f;box-shadow:0 12px 48px #0009,inset 0 0 0 2px #fff4cf;font-family:inherit}.retireConfirmation::backdrop{background:#061d19bb}.retireConfirmation h2{margin:0 0 18px;padding-bottom:14px;border-bottom:2px solid #b79b50;font-size:clamp(20px,4vw,25px)}.retireConfirmation p{line-height:1.8;font-size:15px}.retireConfirmationActions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.retireConfirmationActions button{flex:1 1 150px;min-height:48px;padding:12px;border:2px solid #b49750;border-radius:8px;color:#fff1ca;background:linear-gradient(#25645d,#123e38);font:inherit;font-weight:700;cursor:pointer}.retireConfirmationActions .retireConfirmButton{background:linear-gradient(#8b5034,#623323)}.retireConfirmationActions button:focus-visible{outline:3px solid #258c85;outline-offset:3px}.gameShell:has(.specialConfirm) .whirlwindButton{pointer-events:auto}.playerSprite--mage.playerSprite--downRight:before{clip-path:inset(0 0 0 3%)}.giftCodePanel{position:relative;z-index:2;max-width:480px;margin:18px auto;padding:14px;border:3px ridge #c6a459;border-radius:12px;color:#fff2ce;background:#153e32}.giftCodePanel .panelHeading{cursor:pointer;font-weight:700;padding:8px;min-height:24px}.giftCodePanel form{display:grid;gap:12px;padding:8px}.giftCodePanel p{margin:0;line-height:1.7}.giftCodePanel input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:10px;border:2px solid #b49550;border-radius:6px;background:#fff3d1;color:#243c30;font-size:16px}.giftCodePanel button{min-height:46px;padding:10px;border:2px solid #b49550;border-radius:8px;color:#fff1cf;background:linear-gradient(#77502c,#4b2b16);font:inherit;cursor:pointer}.giftCodePanel button:disabled{opacity:.5;cursor:default}.giftCodeMessage{padding:12px;border:1px solid #b49550;border-radius:6px;background:#284e3b}.giftCodePanel{position:fixed;z-index:100;inset:10px 80px auto auto;margin:0;padding:0;width:174px;max-width:calc(100vw - 100px);border:0;border-radius:7px;background:transparent;font-size:12px;font-weight:900}.giftCodePanel>.panelHeading{box-sizing:border-box;list-style:none;min-height:0;padding:7px 10px;border:1px solid rgba(255,236,184,.62);border-radius:7px;background:linear-gradient(180deg,#354333f5,#18221cfa);box-shadow:0 3px 10px #0005;text-align:center}.giftCodePanel>.panelHeading::-webkit-details-marker{display:none}.giftCodePanel form{position:fixed;top:52px;right:10px;width:min(440px,calc(100vw - 20px));box-sizing:border-box;max-height:calc(100dvh - 70px);overflow-y:auto;overscroll-behavior:contain;padding:16px;border:2px solid #b49550;border-radius:10px;background:#153e32;font-weight:400;font-size:14px;box-shadow:0 8px 24px #0007}@media(max-width:560px)and (orientation:portrait){.giftCodePanel{top:max(8px,env(safe-area-inset-top));right:calc(max(8px,env(safe-area-inset-right)) + 94px)}.giftCodePanel>.panelHeading{min-height:44px;display:grid;place-items:center;padding:6px 10px;border:2px solid #d5bd76;border-radius:12px;background:linear-gradient(180deg,#225f58,#0c403f);color:#fff1bd;font-size:15px;line-height:1}.giftCodePanel form{top:calc(max(8px,env(safe-area-inset-top)) + 52px);right:max(8px,env(safe-area-inset-right));max-height:calc(100dvh - max(8px,env(safe-area-inset-top)) - 68px)}}.audioSettingsPopover>.giftCodePanel{position:static;width:100%;max-width:none;margin:8px 0 0;padding:0;border:0;font-size:inherit}.audioSettingsPopover>.giftCodePanel>.panelHeading{min-height:40px;padding:8px;font-size:14px;border:1px solid #b49550;border-radius:6px}.audioSettingsPopover .giftCodePanel form{position:static;width:100%;max-height:none;overflow:visible;padding:10px 0;border:0;box-shadow:none;background:transparent}.audioSettingsPopover:has(.giftCodePanel){max-height:calc(100dvh - 80px);overflow-y:auto;overscroll-behavior:contain}.gameOver.gameOverChoices{box-sizing:border-box;width:min(440px,92%);max-height:94%;overflow-y:auto;padding:18px;gap:8px;border:4px ridge #d1ae61;border-radius:14px;background:linear-gradient(#fff1c8,#e5cd91);color:#24473f;font-size:16px}.gameOverChoices>strong{font-size:28px}.gameOverChoices>button{min-height:44px;padding:10px 14px;border:2px solid #b49750;border-radius:8px;background:#1b5149;color:#fff2c8;font:inherit;cursor:pointer}.gameOverChoices>button:disabled{background:#706f5e;color:#eee2c7;opacity:.7;cursor:default}.gameOverChoices>small{font-size:12px}.gameOverChoices>p{margin:6px 0 0;font-size:13px}.gameOver.gameOverChoices{inset:50% auto auto 50%;transform:translate(-50%,-50%);height:auto;text-shadow:none;z-index:20}.gameOverChoices>button{width:100%}.enemySpawnSmoke{position:absolute;inset:0;pointer-events:none;z-index:4}.enemySpawnSmoke i{position:absolute;left:8%;bottom:0;width:84%;height:82%;border-radius:50%;background:radial-gradient(ellipse,rgba(255,255,255,.98) 12%,rgba(236,246,255,.92) 38%,rgba(199,219,235,.6) 58%,transparent 74%);filter:drop-shadow(0 2px 3px rgba(28,48,65,.65));animation:enemySpawnSmokeRise 2.6s ease-in-out infinite}.enemySpawnSmoke i:nth-child(2){left:-8%;animation-delay:-.85s}.enemySpawnSmoke i:nth-child(3){left:24%;animation-delay:-1.7s}@keyframes enemySpawnSmokeRise{0%{transform:translateY(10%) scale(.85);opacity:.75}45%{opacity:1}to{transform:translateY(-32%) scale(1.2);opacity:.5}}@media(prefers-reduced-motion:reduce){.enemySpawnSmoke i{animation:none;opacity:.85}}@media(max-width:560px)and (orientation:portrait){.casinoWinScreen{padding:max(6px,env(safe-area-inset-top)) max(6px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left))}.casinoWinScreen>.casinoWinOverlay{width:100%;height:100%;max-height:none;box-sizing:border-box;gap:6px;padding:8px;border-width:2px;border-radius:10px}.casinoWinScreen .casinoWinOverlayHeader{min-height:44px}.casinoWinScreen .casinoWinOverlayHeader h3{font-size:18px}.casinoWinScreen .casinoWinOverlayHeader button{min-height:44px;padding:7px 10px;font-size:11px;touch-action:manipulation}.casinoWinScreen .casinoWinCards{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:4px;overflow:hidden;padding:0}.casinoWinScreen .casinoResult{grid-template-rows:auto minmax(0,1fr) auto;min-height:0;gap:2px;padding:3px}.casinoWinScreen .casinoResult span,.casinoWinScreen .casinoResult strong{font-size:8px;line-height:1.15}.casinoWinScreen .casinoResult img{width:100%;height:100%;min-height:0;max-height:100%;aspect-ratio:auto}.casinoWinScreen .casinoWinOverlay>p{font-size:9px}.casinoInlineResults{gap:6px;padding:7px;border-radius:9px}.casinoInlineResultsHeader{gap:7px}.casinoInlineResultsHeader h3{font-size:18px}.casinoInlineCards{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.casinoInlineCards .casinoResult{gap:3px;padding:4px}.casinoInlineCards .casinoResult span,.casinoInlineCards .casinoResult strong{font-size:9px}body:has(.app--stageSelect) .app--stageSelect{height:100dvh;min-height:0;padding-bottom:max(8px,env(safe-area-inset-bottom));padding-inline:env(safe-area-inset-left) env(safe-area-inset-right);overflow:hidden}.app--stageSelect .stageSelect{width:min(100%,calc((100dvh - var(--mobile-common-header-height) - max(8px,env(safe-area-inset-bottom))) * 941 / 1672));max-height:100%}.preparationScreen{padding-top:calc(max(8px,env(safe-area-inset-top)) + 52px);padding-bottom:max(12px,env(safe-area-inset-bottom));padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}.preparationScreen>.preparationHeader{top:calc(max(8px,env(safe-area-inset-top)) + 52px);background:#123426;gap:8px}.preparationHeader>button{min-width:0;padding-inline:8px}.preparationHeader>strong{min-width:0;padding-inline:6px}.preparationScreen:has(>.preparationShop),.preparationScreen:has(>.gameManual){padding-top:calc(max(8px,env(safe-area-inset-top)) + 52px);padding-bottom:max(8px,env(safe-area-inset-bottom))}.preparationScreen .trainingSchool{width:100%;margin-inline:0}.preparationScreen .trainingOptions,.preparationShopGrid{grid-template-columns:minmax(0,1fr)}.preparationScreen input,.preparationScreen select{font-size:16px}body:not(:has(.app--gameViewport))>#root>.audioSettingsControl{top:max(8px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right))}body:not(:has(.app--gameViewport)) .audioSettingsPopover{max-width:calc(100vw - 16px - env(safe-area-inset-left) - env(safe-area-inset-right));max-height:calc(100dvh - max(8px,env(safe-area-inset-top)) - 60px - max(8px,env(safe-area-inset-bottom)));overflow-y:auto;overscroll-behavior:contain}body:not(:has(.app--gameViewport)) .audioSettingsPopover select{font-size:16px}body:not(:has(.app--gameViewport)) .collectionPanel{width:100%;min-width:0;max-height:calc(100dvh - max(20px,env(safe-area-inset-top)) - max(20px,env(safe-area-inset-bottom)))}body:not(:has(.app--gameViewport)) .collectionHeader{flex-wrap:wrap}.preparationScreen>.preparationHeader{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;font-size:13px}.preparationHeader>h1{grid-column:1 / -1;font-size:22px}.preparationHeader>button{font-size:13px;min-height:44px}.preparationScreen .playerClassSelect{margin-inline:0;padding:10px}.preparationScreen .playerClassSelect>div{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.preparationScreen .playerClassSelect button{min-width:0;grid-template-columns:48px minmax(0,1fr);padding:8px}.preparationScreen .playerClassSelect strong{font-size:16px;white-space:nowrap}.preparationScreen .playerClassSelect small{font-size:13px}.preparationChoices>button{grid-template-columns:76px minmax(0,1fr)}.preparationChoices strong{font-size:20px}.preparationChoices small{min-width:0;font-size:13px;overflow-wrap:anywhere}.preparationChoices .preparationArt{height:86px}.stageDetailPanel .stageCarryInPanel{position:static;margin-inline:0}.stageDetailPanel .cardListFilters,.stageDetailPanel .stageCarryCardGrid{scroll-margin-top:12px}.stageDetailPanel .stageCarryInPanel .carryInSlots{grid-template-rows:repeat(2,68px)}.stageDetailPanel .stageCarryInPanel .carryInSlot{height:68px;min-height:0}body:has(.app--stageSelect) .audioSettingsControl>.panelHeading:before{content:none}body:has(.app--stageSelect) .audioSettingsControl>.panelHeading{font-size:15px}}@media(max-width:560px)and (orientation:portrait){.stageSelect .stageWorldButton,.stageSelect .stageItemButton{top:87%;height:7.8%;min-height:0;width:43.5%;padding:0}.stageSelect .stageWorldButton{left:4.7%}.stageSelect .stageItemButton{left:48.5%}}@media(min-width:561px),(orientation:landscape){.stageSelect .stageItemButton{left:46.875%;top:86.328125%;width:31.25%;height:12.109375%}}.stageSelect .stageItemButton .adventurePreparationButtonImage{inset:0;width:100%;height:100%;object-fit:fill}.stageSelectHeaderRegion,.stageSelectCardGrid,.stageSelectMenu{display:contents}@media(max-width:560px)and (orientation:portrait){.app--stageSelect .stageSelect{width:min(100%,calc((100dvh - var(--mobile-common-header-height) - max(8px,env(safe-area-inset-bottom))) * 851 / 1847));aspect-ratio:851 / 1847;background:url(../stage-select/stage-select-mobile-v2.webp) center / 100% 100% no-repeat;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:350fr 1250fr 30fr 130fr 87fr;gap:0;container-type:inline-size}.stageSelectHeaderRegion{display:grid;grid-template-columns:70fr 195fr 586fr;grid-template-rows:23fr 69fr 258fr;min-height:0}.stageSelectHeaderRegion .stageSelectMobileHeader{display:none}.stageSelectHeaderRegion .stageMedalBalance{position:static;grid-column:2;grid-row:2;width:auto;height:auto;padding:0;margin:0;transform:none;background:none;border:0;box-shadow:none;gap:.8cqw;font-size:1.9cqw}.stageSelectHeaderRegion .stageMedalBalance:before{display:none}.stageSelectHeaderRegion .stageMedalBalance strong{font-size:3.6cqw}.stageSelectCardGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr));column-gap:2.8%;padding-inline:4.7%;min-height:0}.stageSelectCardGrid .stageHotspot{position:relative;inset:auto!important;width:100%!important;height:100%!important;min-height:0;margin:0;transform:none;border:0;padding:0;background:transparent;box-shadow:none}.stageSelectCardGrid .stageHotspotMobileCopy{position:absolute;inset:0;display:grid;place-items:end center;padding:0 0 2%;height:100%}.stageSelectCardGrid .stageHotspotMobileCopy b,.stageSelectCardGrid .stageHotspotMobileCopy strong{display:none}.stageSelectCardGrid .stageHotspotMobileCopy small{position:absolute;inset:auto 0 4%;text-align:center;font-size:2.5cqw;padding:0;background:transparent}.stageSelectMenu{grid-row:4;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:3%;padding-inline:4%;min-height:0;align-items:stretch}.stageSelectMenu .stageWorldButton,.stageSelectMenu .stageItemButton{position:relative;inset:auto;width:100%;height:100%;min-height:0;margin:0;padding:0;transform:none;background:transparent;border:0;box-shadow:none}.stageSelectMenu .adventurePreparationButtonImage,.stageSelectMenu .stageMenuButtonIcon,.stageSelectMenu .stageMenuButtonLabel,.stageSelectMenu .stageMenuButtonCount{display:none}}.stageDetailOverlay{background:linear-gradient(#052b4b70,#06251acc),url(../stage-select/stage-select-mobile-v2.webp) center / cover}.stageDetailPanel{background:transparent;border:0;box-shadow:none;padding:8px;gap:16px;color:#fff7db;grid-template-columns:minmax(0,1fr)}.departureOverview,.departureSupplies,.stageDetailPanel .stageCarryInPanel{min-width:0;border:3px solid #edc36b;border-radius:16px;padding:18px;box-shadow:inset 0 0 0 3px #765020,inset 0 0 0 5px #ffe3a0,0 5px #382515,0 8px 20px #0006}.departureOverview,.departureSupplies{background:radial-gradient(ellipse at top right,#18a3ceaa,transparent 65%),linear-gradient(135deg,#07568c,#042741)}.departureOverview{display:grid;gap:12px}.stageDetailHeader{padding-bottom:10px;border-bottom:2px solid #eac579}.stageDetailHeader h2{color:#fff;font-size:clamp(26px,4vw,44px);text-shadow:0 3px #00182f,0 0 8px #65cfff}.stageDetailHeader span{color:#ffe2a2}.stageDetailGrid{grid-template-columns:repeat(5,minmax(0,1fr))}.stageDetailStat{border:1px solid #29cff6;background:linear-gradient(145deg,#073859,#021d34);border-radius:12px;padding:10px;min-width:0}.stageDetailStat span{color:#ecf9ff;display:flex;align-items:center;gap:8px}.stageDetailStat i{font-size:24px;font-style:normal}.stageDetailStat strong{color:#ffe58a;font-size:22px;text-align:center;overflow-wrap:anywhere}.stageDetailComment{background:#06314d;border-color:#38cafa;color:#fff}.stagePlayRecord{border-color:#2fd4ef;background:#002b47}.stagePlayRecord span{border:1px solid #3283ab;background:#09517d}.stageDetailPanel .stageCarryInPanel{position:static;background:linear-gradient(125deg,#60241e,#311922);margin:0}.stageDetailPanel .carryInHeader{color:#fff5de;font-size:22px;text-shadow:0 2px #681b0c;border-bottom:1px solid #d2a355;padding-bottom:12px}.stageDetailPanel .carryInSlots{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));grid-template-rows:auto;gap:8px;margin-block:14px}.stageDetailPanel .carryInSlot{height:auto;min-height:0;aspect-ratio:.7;border:2px solid #ddb75d;border-radius:8px;background:linear-gradient(130deg,#252b36,#10141d)}.stageDetailPanel .carryInSlot:not(.carryInSlot--filled):after{content:"+";color:#ffffff60;font-size:28px}.departureCarryHint{font-size:13px;color:#fff0c9;margin:8px 0;line-height:1.6}.departureSupplies h3{margin:0 0 14px;font-size:26px;padding-bottom:12px;border-bottom:2px solid #edc36b}.departureSupplies .cardListFilters{background:#07324c;border-color:#258cb5;margin-bottom:12px}.departureSupplies .stageCarryCardGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.departureSupplies .stageCarryCard{border:2px solid #26bff1;border-radius:12px;background:linear-gradient(130deg,#07486e,#021b31);min-width:0}.departureSupplies .stageCarryCard>div{min-width:0}.stageDetailHeader button,.stageDetailActions button,.stageCarryCard button,.stageDetailPanel .carryInClearButton{color:#fff;border:2px solid #e8c370;border-radius:10px;background:linear-gradient(#12699d,#073150);box-shadow:inset 0 0 0 2px #00314c,0 3px #001c30;min-height:42px}.stageDetailActions{background:#03293ef5;border-radius:12px;padding:12px;margin:0}.stageDetailActions button:last-child{background:linear-gradient(#ffbf32,#b95708);color:#fff;text-shadow:0 2px #733207;font-size:20px;padding-inline:26px}@media(max-width:600px){.stageDetailOverlay{padding:max(62px,calc(env(safe-area-inset-top) + 54px)) 6px max(8px,env(safe-area-inset-bottom))}.stageDetailPanel{width:100%;max-height:calc(100dvh - max(62px,calc(env(safe-area-inset-top) + 54px)) - max(8px,env(safe-area-inset-bottom)));padding:4px;gap:12px}.departureOverview,.departureSupplies,.stageDetailPanel .stageCarryInPanel{padding:12px;border-radius:12px}.stageDetailGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.stageDetailStat{padding:7px 5px}.stageDetailStat span{gap:3px;font-size:10px}.stageDetailStat i,.stageDetailStat strong{font-size:18px}.stageDetailPanel .stageCarryInPanel .carryInSlots{grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:auto auto;gap:6px}.stageDetailPanel .stageCarryInPanel .carryInSlot{height:auto;min-height:0}.stageDetailPanel .carryInHeader{font-size:18px}.departureSupplies .stageCarryCardGrid{grid-template-columns:minmax(0,1fr)}.stageDetailActions{margin:0;padding:8px;gap:8px}.stageDetailActions button:last-child{font-size:17px;padding-inline:14px}}.stageDetailPanel .stageCarryInPanel{position:sticky;top:0;z-index:10;align-self:start}.stageDetailPanel .stageCarryInPanel .carryInSlots{margin-block:8px}.stageDetailPanel .stageCarryInPanel .departureCarryHint{display:none}.stageDetailPanel .stageCarryInPanel .carryInClearButton{min-height:28px;padding:3px 12px;font-size:12px}@media(max-width:600px){.stageDetailPanel .stageCarryInPanel{padding:9px 12px}.stageDetailPanel .stageCarryInPanel .carryInHeader{padding-bottom:5px;font-size:15px}.stageDetailPanel .stageCarryInPanel .carryInSlots{grid-template-rows:repeat(2,48px);gap:4px;margin-block:6px}.stageDetailPanel .stageCarryInPanel .carryInSlot{height:48px;aspect-ratio:auto}.stageDetailPanel .stageCarryInPanel .carryInSlot>span{font-size:10px}.stageDetailPanel .stageCarryInPanel .carryInSlot:not(.carryInSlot--filled):after{font-size:20px}}@media(max-width:560px)and (orientation:portrait){body:has(.app--stageSelect) #root{--mobile-common-header-height: calc(env(safe-area-inset-top) + 40px) }body:has(.app--stageSelect)>#root>.audioSettingsControl{top:calc(env(safe-area-inset-top) + 3px)}body:has(.app--stageSelect)>#root>.audioSettingsControl>.panelHeading{min-height:0;padding:5px 12px;font-size:12px}body:has(.app--stageSelect) .app--stageSelect{padding-bottom:env(safe-area-inset-bottom)}.app--stageSelect .stageSelect{width:min(100%,calc((100dvh - var(--mobile-common-header-height) - env(safe-area-inset-bottom)) * 851 / 1847));aspect-ratio:851 / 1847;background-image:url(../stage-select/stage-select-mobile-v2.webp);background-size:100% 100%}}@media(max-width:560px)and (orientation:portrait){.app--stageSelect .stageSelect{width:min(100%,calc((100dvh - var(--mobile-common-header-height) - env(safe-area-inset-bottom)) * 851 / 1749));aspect-ratio:851 / 1749;background-image:none;grid-template-rows:334fr 1250fr 30fr 130fr 5fr}.stageSelectHeaderRegion{grid-template-rows:7fr 69fr 258fr}}@media(max-width:560px)and (orientation:portrait){body:has(.app--stageSelect):before{content:"";position:fixed;inset:0;width:100vw;height:100dvh;background:#194a27 url(../stage-select/forest-continuous-v3.webp) center / cover no-repeat;pointer-events:none;z-index:-1}body:has(.app--stageSelect){isolation:isolate}body:has(.app--stageSelect) #root,body:has(.app--stageSelect) .app--stageSelect{background:transparent}body:has(.app--stageSelect) #root:before{background:transparent;border-bottom:0;box-shadow:none}}@media(max-width:560px)and (orientation:portrait){body:has(.app--stageSelect):before{background:#194a27 url(../stage-select/forest-continuous-v3.webp) center / cover no-repeat}.app--stageSelect .stageSelect{background:none;grid-template-rows:280fr 1250fr 20fr 130fr 69fr;overflow:visible}.app--stageSelect .stageSelect:before{content:none}.stageSelectHeaderRegion{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1cqw}.stageSelectHeaderRegion .stageSelectMobileHeader{display:block;position:relative;inset:auto;width:64%;height:auto;aspect-ratio:440 / 166;flex:0 0 auto;background:url(../stage-select/stage-select-mobile-v2.webp) 49.88% 4.16% / 193.41% 1112.65% no-repeat;clip-path:polygon(4% 25%,8% 13%,42% 13%,50% 0,58% 13%,92% 13%,98% 25%,98% 85%,92% 98%,10% 98%,4% 85%)}.stageSelectMobileHeader>span,.stageSelectMobileHeader>h1{visibility:hidden}.stageSelectHeaderRegion .stageMedalBalance{flex:0 0 auto;min-height:0;height:6cqw;padding:0 3cqw;border:1px solid #e2b94f;border-radius:999px;background:linear-gradient(#714010,#311b08);font-size:2.4cqw;gap:1cqw;overflow:hidden}.stageSelectHeaderRegion .stageMedalBalance strong{font-size:3.6cqw}.stageSelectCardGrid{padding-inline:4.3%;column-gap:2%}.stageSelectCardGrid .stageHotspot:before{inset:0;background-image:url(../stage-select/stage-select-mobile-v2.webp);background-size:221.039% 738.8%;background-position:var(--stage-art-x) var(--stage-art-y);background-repeat:no-repeat;background-color:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;border-radius:0;clip-path:polygon(0 22%,5% 10%,39% 10%,42% 3%,50% 0,58% 3%,61% 10%,92% 10%,100% 22%,100% 85%,95% 99%,5% 99%,0 88%)}.stageSelectCardGrid .stageHotspot--locked:before{filter:grayscale(1) brightness(.6)}.stageSelectCardGrid .stageHotspotMobileCopy small{bottom:6%}.stageSelectMenu .stageWorldButton{background:url(../stage-select/stage-menu-world-fixed.png) center / 100% 100% no-repeat}.stageSelectMenu .stageItemButton{background:url(../stage-select/adventure-preparation-button-v1.png) center / 100% 100% no-repeat}.stageSelectCardGrid .stageHotspot:nth-child(1){--stage-art-x: 7.7253%;--stage-art-y: 21.9161%}.stageSelectCardGrid .stageHotspot:nth-child(2){--stage-art-x: 92.7039%;--stage-art-y: 21.9161%}.stageSelectCardGrid .stageHotspot:nth-child(3){--stage-art-x: 7.7253%;--stage-art-y: 37.7583%}.stageSelectCardGrid .stageHotspot:nth-child(4){--stage-art-x: 92.7039%;--stage-art-y: 37.7583%}.stageSelectCardGrid .stageHotspot:nth-child(5){--stage-art-x: 7.7253%;--stage-art-y: 53.5379%}.stageSelectCardGrid .stageHotspot:nth-child(6){--stage-art-x: 92.7039%;--stage-art-y: 53.5379%}.stageSelectCardGrid .stageHotspot:nth-child(7){--stage-art-x: 7.7253%;--stage-art-y: 69.067%}.stageSelectCardGrid .stageHotspot:nth-child(8){--stage-art-x: 92.7039%;--stage-art-y: 69.067%}.stageSelectCardGrid .stageHotspot:nth-child(9){--stage-art-x: 7.7253%;--stage-art-y: 84.6587%}.stageSelectCardGrid .stageHotspot:nth-child(10){--stage-art-x: 92.7039%;--stage-art-y: 84.6587%}}.stageSelectMascot{display:none}@media(max-width:560px)and (orientation:portrait){.stageSelectHeaderRegion{display:grid;grid-template-columns:27fr 49fr 24fr;grid-template-rows:minmax(0,1fr) auto;gap:0;padding-bottom:1cqw;align-items:center}.stageSelectHeaderRegion .stageSelectMobileHeader{grid-column:2;grid-row:1;width:112%;justify-self:center;align-self:start;transform:translateY(-5%)}.stageSelectHeaderRegion .stageMedalBalance{grid-column:2;grid-row:2;justify-self:center}.stageSelectMascot{display:block;width:100%;grid-row:1 / 3;align-self:end;background-image:url(../stage-select/mascots-angled-v1.png);background-repeat:no-repeat;pointer-events:none;-webkit-user-select:none;user-select:none}.stageSelectMascot--hero{margin-bottom:3cqw;grid-column:1;aspect-ratio:960 / 887;background-size:184.7917% 100%;background-position:left bottom}.stageSelectMascot--dragon{grid-column:3;aspect-ratio:794 / 887;background-size:223.4257% 100%;background-position:right bottom}}.saveTransferPanel{border-top:1px solid #bb994e;padding-top:10px}.saveTransferPanel>.panelHeading{cursor:pointer;font-weight:700}.saveTransferPanel p{font-size:12px;line-height:1.6;overflow-wrap:anywhere}.saveTransferPanel button{display:block;width:100%;margin-block:8px;font-size:13px;padding:10px}.saveTransferPanel input[hidden]{display:none}.saveTransferConfirm{padding:10px;border:1px solid #e2b94f;border-radius:8px}.audioSettingsPopover:has(.saveTransferPanel){width:min(360px,calc(100vw - 24px));box-sizing:border-box}.saveTransferPanel>a{display:block;padding:12px;border:1px solid #d9bf72;border-radius:8px;text-align:center;color:#fff4cc;background:#145552;text-decoration:none}.saveTransferPanel button:disabled{opacity:.6;cursor:default}.visualWarningBorder{position:absolute;border-radius:inherit;box-sizing:border-box;inset:0;z-index:10000;pointer-events:none;border:3px solid rgba(255,70,70,.75);box-shadow:inset 0 0 22px 7px #e119238c;animation:visual-warning-pulse 2.4s ease-in-out infinite}@keyframes visual-warning-pulse{0%,to{opacity:.25}50%{opacity:.85}}@media(prefers-reduced-motion:reduce){.visualWarningBorder{animation:none;opacity:.55}}html:has(.app--gameViewport){min-height:100vh;min-height:100dvh;background:#10201b url(../dungeon-backgrounds/desktop.webp) center bottom / cover no-repeat fixed}body:has(.app--gameViewport),body:has(.app--gameViewport) #root{min-height:100vh;min-height:100dvh;background:transparent}body:has(.app--gameViewport):before{content:none}body:has(.app--gameViewport) .app--gameViewport{background:transparent}@media(max-width:560px)and (orientation:portrait){html:has(.app--gameViewport){background-image:url(../dungeon-backgrounds/mobile-forest-v2.webp);background-size:100% 100%;background-attachment:scroll;height:100%;min-height:max(100dvh,100%)}body:has(.app--gameViewport){position:static;height:auto;min-height:max(100dvh,100%);padding:0}body:has(.gameShell:not(.gameShell--replay)) #root{min-height:100dvh;background:transparent}body:has(.gameShell:not(.gameShell--replay)) .app--gameViewport,.app--gameViewport .mobileGameCanvas{background:transparent}}.enemyDamagePopup{z-index:20;color:#72ff91}.playerHealPopup{color:#65caff;left:72%}.dashStrikePresentation{position:absolute;z-index:20;pointer-events:none}.dashStrikePresentation i{position:absolute;inset:12%;border-top:5px solid #fff5b0;border-radius:50%;transform:rotate(-40deg);box-shadow:0 -3px 6px #ffbf47;animation:dashStrikeFlash .3s ease-out both}.dashStrikePresentation b{position:absolute;left:50%;top:-10%;color:#72ff91;font-size:22px;font-weight:900;text-shadow:2px 2px 2px #10201b,-1px -1px 1px #10201b;animation:dashStrikeNumber .32s ease-out both}@keyframes dashStrikeFlash{0%{opacity:1;transform:rotate(-65deg) scale(.65)}to{opacity:0;transform:rotate(20deg) scale(1.2)}}@keyframes dashStrikeNumber{0%{opacity:1;transform:translate(-50%)}to{opacity:.3;transform:translate(-50%,-14px)}}@media(prefers-reduced-motion:reduce){.dashStrikePresentation i,.dashStrikePresentation b{animation:none}}.gameShell:not(.gameShell--replay){--relic-gold: #b68b44;--relic-surface: repeating-linear-gradient(125deg, #ffffff03 0 1px, transparent 1px 5px), radial-gradient(ellipse at 20% 0, #28534666, transparent 70%), linear-gradient(160deg, #183a32, #0a211e);position:relative;border-color:var(--relic-gold);background:var(--relic-surface);box-shadow:inset 0 0 0 1px #ffe2a0,inset 0 0 0 4px #493c25,inset 0 0 22px #0008,0 18px 48px #0008}.gameShell:not(.gameShell--replay) .topPanel--compact,.gameShell:not(.gameShell--replay) .bottomPanel{border-color:var(--relic-gold);background:var(--relic-surface);box-shadow:inset 0 0 0 1px #efd28d66,inset 0 0 14px #0005}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard{border-color:#ae8747;background:linear-gradient(145deg,#244c43,#0c2c29 75%);box-shadow:inset 0 0 0 1px #ead29740,inset 0 2px 8px #0005,0 1px #0008;text-shadow:0 2px 2px #041310}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--medal{container-type:inline-size;display:flex;flex-direction:column;justify-content:center;min-width:0;gap:2px;padding:3px 4px}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--medal:before{display:none}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--medal .gameStatusLabel{font-size:10px;font-size:clamp(8px,9cqw,12px);line-height:1;letter-spacing:.06em}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--medal .gameStatusValue{flex:0 0 auto;max-width:100%;font-size:17px;font-size:clamp(12px,20cqw,26px);font-variant-numeric:tabular-nums;letter-spacing:0;line-height:1;white-space:nowrap;overflow:visible;text-overflow:clip}.gameShell:not(.gameShell--replay) .mapPanel{border-color:var(--relic-gold);background:repeating-linear-gradient(0deg,#ffffff07 0 1px,transparent 1px 22px),repeating-linear-gradient(90deg,#0003 0 1px,transparent 1px 33px),#25332f;box-shadow:inset 0 0 0 1px #efd28d88,inset 0 0 0 5px #0c1918,inset 0 0 16px #000b}.gameShell:not(.gameShell--replay):before,.gameShell:not(.gameShell--replay):after{content:"";position:absolute;left:0;width:34px;height:34px;z-index:30;background:url(../ui/relic-corner.svg) left top / contain no-repeat;pointer-events:none}.gameShell:not(.gameShell--replay):before{top:0}.gameShell:not(.gameShell--replay):after{bottom:0;transform:scaleY(-1)}.gameShell:not(.gameShell--replay) .inventoryBar{border-color:var(--relic-gold);background:repeating-linear-gradient(2deg,#d2a45b09 0 1px,transparent 1px 6px),linear-gradient(#493421,#241e16);box-shadow:inset 0 0 0 1px #e4c78266,inset 0 2px 9px #0008}.gameShell:not(.gameShell--replay) .inventorySlot{border-color:#a38650;background:linear-gradient(135deg,#244239,#0a211d 70%);box-shadow:inset 0 0 0 1px #051410,inset 0 2px 7px #0006}.gameShell:not(.gameShell--replay) .inventorySlot--filled{border-color:#edca78}.gameShell:not(.gameShell--replay) .inventorySlotNumber{color:#fff0bb;background:#0b1d19;box-shadow:inset 0 0 0 1px #bd9757}.gameShell:not(.gameShell--replay) .inventorySlot:focus-visible{outline:2px solid #75dfff;outline-offset:-3px}.gameShell:not(.gameShell--replay) .messageWindow{color:#f6e8be;text-shadow:0 1px 1px #051512}.gameShell:not(.gameShell--replay) .headerAuxiliary .mageAttackButton,.gameShell:not(.gameShell--replay) .headerAuxiliary .whirlwindButton{border-color:#bd9757;box-shadow:inset 0 0 0 1px #f4d48b40,inset 0 1px 8px #0005;color:#fff0d2;text-shadow:0 1px 2px #000}.gameShell:not(.gameShell--replay) .headerAuxiliary .mageAttackButton{background:linear-gradient(150deg,#503b6d,#261a40)}.gameShell:not(.gameShell--replay) .headerAuxiliary .whirlwindButton{background:linear-gradient(150deg,#205754,#0a3338)}.gameShell:not(.gameShell--replay) .headerAuxiliary button:disabled{opacity:1;color:#b7bca9;border-color:#796d47;filter:saturate(.55)}@media(max-width:560px)and (orientation:portrait){.gameShell:not(.gameShell--replay):before,.gameShell:not(.gameShell--replay):after{width:23px;height:23px}}.gameShell:not(.gameShell--replay) .mapPanel:before,.gameShell:not(.gameShell--replay) .mapPanel:after{content:"";position:absolute;width:32px;height:32px;z-index:25;background:url(../ui/relic-corner.svg) center / contain no-repeat;pointer-events:none}.gameShell:not(.gameShell--replay) .mapPanel:before{top:0;left:0}.gameShell:not(.gameShell--replay) .mapPanel:after{bottom:0;right:0;transform:rotate(180deg)}@media(max-width:560px)and (orientation:portrait){.gameShell:not(.gameShell--replay) .mapPanel:before,.gameShell:not(.gameShell--replay) .mapPanel:after{width:20px;height:20px}}@media(min-width:561px)and (min-height:561px){.gameShell:not(.gameShell--replay){height:calc(100dvh - 12px);grid-template-rows:auto minmax(0,1fr) auto auto}.gameShell:not(.gameShell--replay) .playArea{display:flex;align-items:center;justify-content:center;height:100%;min-height:0;container-type:size}.gameShell:not(.gameShell--replay) .mapPanel{width:min(100%,160cqh);max-width:100%;height:auto;max-height:100%;aspect-ratio:16 / 10}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusGrid--compact{grid-template-areas:"hp medal level attack" "hp floor turn turn";grid-template-columns:minmax(0,1.9fr) minmax(0,1.2fr) minmax(0,.9fr) minmax(0,1fr);grid-template-rows:repeat(2,minmax(42px,auto))}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp{min-width:0;min-height:89px}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard:not(.gameStatusCard--hp):not(.gameStatusCard--medal){min-width:0;container-type:inline-size}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard:not(.gameStatusCard--hp):not(.gameStatusCard--medal) .gameStatusLabel{font-size:clamp(9px,10cqw,16px)}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard:not(.gameStatusCard--hp):not(.gameStatusCard--medal) .gameStatusValue{font-size:clamp(12px,17cqw,26px)}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard:not(.gameStatusCard--hp):before{flex-basis:16px;width:16px}}@media(min-width:561px)and (max-width:720px)and (min-height:561px){.gameShell:not(.gameShell--replay){grid-template-rows:auto minmax(0,1fr) auto auto auto}.gameShell:not(.gameShell--replay) .mobileGameControls{width:144px;grid-template-columns:repeat(3,42px);grid-template-rows:repeat(3,42px);gap:3px;padding:4px;margin:0 auto}.gameShell:not(.gameShell--replay) .mobileDirectionButton{width:42px;height:42px;min-height:0;font-size:24px}}@media(max-width:900px)and (max-height:560px)and (orientation:landscape){.gameShell:not(.gameShell--replay) .topPanel>.audioSettingsControl{top:54px;right:6px}}@media(min-width:561px)and (min-height:561px){.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp{container-type:inline-size}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudValue{font-size:clamp(20px,18cqw,60px)}.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudLabel{font-size:clamp(10px,7cqw,23px)}}@media(min-width:561px)and (min-height:561px)and (pointer:coarse){.gameShell:not(.gameShell--replay){width:min(calc(100vw - 12px),1100px);grid-template-columns:minmax(0,1fr) 144px;grid-template-rows:auto minmax(0,1fr) 144px auto}.gameShell:not(.gameShell--replay) .topPanel--compact,.gameShell:not(.gameShell--replay) .playArea,.gameShell:not(.gameShell--replay) .bottomPanel{grid-column:1 / -1}.gameShell:not(.gameShell--replay) .inventoryScroller{grid-column:1;grid-row:3}.gameShell:not(.gameShell--replay) .inventoryBar{height:100%}.gameShell:not(.gameShell--replay) .inventoryScroller:not(.inventoryScroller--overflowing) .inventoryBar{grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));grid-auto-flow:row}.gameShell:not(.gameShell--replay) .inventorySlot{min-height:0;height:100%;aspect-ratio:auto}.gameShell:not(.gameShell--replay) .mobileGameControls{grid-column:2;grid-row:3;position:static;width:144px;height:144px;margin:0;transform:none;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:3px;padding:4px}.gameShell:not(.gameShell--replay) .mobileDirectionButton{width:auto;height:auto;min-height:0;font-size:24px}}@media(max-width:900px)and (max-height:560px)and (orientation:landscape){.gameShell:not(.gameShell--replay) .playArea{container-type:size;align-items:center}.gameShell:not(.gameShell--replay) .mapPanel{width:min(160cqh,calc(100% - 304px));height:auto;max-height:100%;flex:0 0 auto}}.gameShell:not(.gameShell--replay) .mapPanel>.floorMapPanel{position:absolute;inset:10px auto auto 10px;width:min(24%,200px);max-width:calc(50% - 20px);max-height:none;aspect-ratio:1;display:block;padding:0;overflow:hidden;pointer-events:none}.gameShell:not(.gameShell--replay) .mapPanel>.floorMapPanel .floorMap{height:auto}@media(min-width:900px)and (min-height:561px)and (max-height:650px){.gameShell:not(.gameShell--replay) .topPanel--compact .gameStatusCard:not(.gameStatusCard--hp):not(.gameStatusCard--medal):before{display:none}}.gameShell[data-stage="6"] .tile--wall{background-image:url(../dungeon-tiles/stage6/wall-atlas.webp);background-size:200% 200%;background-position:0 0;background-repeat:no-repeat;box-shadow:inset 0 0 0 1px #092b3540}.gameShell[data-stage="6"] .tile--wall:before{background:none}.gameShell[data-stage="6"] [data-wall-decoration=ivy]{background-position:100% 0}.gameShell[data-stage="6"] [data-wall-decoration=carving]{background-position:0 100%}.gameShell[data-stage="6"] [data-wall-decoration=torch]{background-position:100% 100%}.gameShell[data-stage="6"] .tile--unexplored{background-image:linear-gradient(#031415cf,#020c0ee6),url(../dungeon-tiles/stage6/wall-atlas.webp);background-size:100% 100%,200% 200%;background-position:0 0}.gameShell[data-stage="6"]{--relic-surface: repeating-linear-gradient(125deg, #ffffff03 0 1px, transparent 1px 5px), radial-gradient(ellipse at 20% 0, #74ac8660, transparent 70%), linear-gradient(160deg, #2c6356, #1a403a)}.gameShell[data-stage="6"] .topPanel--compact .gameStatusCard,.gameShell[data-stage="6"] .inventorySlot{background:linear-gradient(145deg,#326b60,#19483f 75%)}.gameShell[data-theme=forest]{--theme-atlas: url(../dungeon-tiles/themes/forest.webp);--theme-top: #285e42;--theme-bottom: #173b2c}.gameShell[data-theme=volcano]{--theme-atlas: url(../dungeon-tiles/themes/volcano.webp);--theme-top: #694429;--theme-bottom: #362820}.gameShell[data-theme=crystal]{--theme-atlas: url(../dungeon-tiles/themes/crystal.webp);--theme-top: #554574;--theme-bottom: #2d2445}.gameShell[data-theme=ruins]{--theme-atlas: url(../dungeon-tiles/themes/ruins.webp);--theme-top: #79603a;--theme-bottom: #403320}.gameShell[data-theme=mushrooms]{--theme-atlas: url(../dungeon-tiles/themes/mushrooms.webp);--theme-top: #23556b;--theme-bottom: #123443}.gameShell[data-theme=fortress]{--theme-atlas: url(../dungeon-tiles/themes/fortress.webp);--theme-top: #4d5241;--theme-bottom: #283128}.gameShell[data-theme=sanctum]{--theme-atlas: url(../dungeon-tiles/themes/sanctum.webp);--theme-top: #54365f;--theme-bottom: #302038}.gameShell[data-theme]{--relic-surface: repeating-linear-gradient(125deg, #ffffff04 0 1px, transparent 1px 5px), linear-gradient(150deg, var(--theme-top), var(--theme-bottom))}.gameShell[data-theme] .topPanel--compact .gameStatusCard,.gameShell[data-theme] .inventorySlot{background:linear-gradient(145deg,var(--theme-top),var(--theme-bottom))}.gameShell[data-theme] .tile--wall{background-image:var(--theme-atlas);background-size:200% 200%;background-position:0 0;background-repeat:no-repeat;box-shadow:inset 0 0 0 1px #10201930}.gameShell[data-theme] .tile--wall:before{background:none}.gameShell[data-theme] [data-wall-variant="1"]{background-position:100% 0}.gameShell[data-theme] [data-wall-variant="2"]{background-position:0 100%}.gameShell[data-theme] .tile--unexplored{background-image:linear-gradient(#031015df,#020a10ed),var(--theme-atlas);background-size:100% 100%,200% 200%;background-position:0 0}.gameShell[data-theme] :is(.tile--floor,.tile--corridor,.tile--player,.tile--enemy,.tile--card,.tile--shop,.tile--stairs,.tile--rock){background-image:linear-gradient(135deg,#ffffff0c,transparent 45%),var(--theme-atlas);background-size:100% 100%,200% 200%;background-position:0 0,100% 100%;background-repeat:no-repeat}.gameShell[data-theme] .tile--slippery{background-image:linear-gradient(135deg,#ecffffbb,#26aeff55),var(--theme-atlas);background-size:100% 100%,200% 200%;background-position:0 0,100% 100%}.gameShell[data-theme=world-a-field]{--theme-atlas: url(../dungeon-tiles/themes/world-a-field.webp);--theme-top: #366340;--theme-bottom: #183c2b}.gameShell[data-theme=world-a-castle]{--theme-atlas: url(../dungeon-tiles/themes/world-a-castle.webp);--theme-top: #235878;--theme-bottom: #12394f}.gameShell[data-theme=world-b-field]{--theme-atlas: url(../dungeon-tiles/themes/world-b-field.webp);--theme-top: #796235;--theme-bottom: #48371f}.gameShell[data-theme=world-b-castle]{--theme-atlas: url(../dungeon-tiles/themes/world-b-castle.webp);--theme-top: #86632a;--theme-bottom: #49341c}.gameShell[data-theme=world-c-field]{--theme-atlas: url(../dungeon-tiles/themes/world-c-field.webp);--theme-top: #516954;--theme-bottom: #293e32}.gameShell[data-theme=world-c-castle]{--theme-atlas: url(../dungeon-tiles/themes/world-c-castle.webp);--theme-top: #7a6337;--theme-bottom: #44351f}.gameShell[data-theme=world-d-field]{--theme-atlas: url(../dungeon-tiles/themes/world-d-field.webp);--theme-top: #285840;--theme-bottom: #163b2b}.gameShell[data-theme=world-d-castle]{--theme-atlas: url(../dungeon-tiles/themes/world-d-castle.webp);--theme-top: #38664c;--theme-bottom: #1c4033}.gameShell[data-theme=world-e-field]{--theme-atlas: url(../dungeon-tiles/themes/world-e-field.webp);--theme-top: #3d7160;--theme-bottom: #204a40}.gameShell[data-theme=world-e-castle]{--theme-atlas: url(../dungeon-tiles/themes/world-e-castle.webp);--theme-top: #85472b;--theme-bottom: #4b271e}.gameShell[data-theme=world-f-field]{--theme-atlas: url(../dungeon-tiles/themes/world-f-field.webp);--theme-top: #605371;--theme-bottom: #342b45}.gameShell[data-theme=world-f-castle]{--theme-atlas: url(../dungeon-tiles/themes/world-f-castle.webp);--theme-top: #654379;--theme-bottom: #362547}.gameShell[data-theme=world-g-field]{--theme-atlas: url(../dungeon-tiles/themes/world-g-field.webp);--theme-top: #376981;--theme-bottom: #203f56}.gameShell[data-theme=world-g-castle]{--theme-atlas: url(../dungeon-tiles/themes/world-g-castle.webp);--theme-top: #3e6e96;--theme-bottom: #234360}.gameShell[data-theme=world-h-field]{--theme-atlas: url(../dungeon-tiles/themes/world-h-field.webp);--theme-top: #75402c;--theme-bottom: #3d2922}.gameShell[data-theme=world-h-castle]{--theme-atlas: url(../dungeon-tiles/themes/world-h-castle.webp);--theme-top: #7b322b;--theme-bottom: #3d2021}.playerMissPopup{color:#d7f7ff;left:25%;top:-22px;font-size:20px;text-shadow:-2px -2px 0 #102b40,2px -2px 0 #102b40,-2px 2px 0 #102b40,2px 2px 0 #102b40,0 3px 4px #0009;animation-duration:.8s}.gameShell:not(.gameShell--replay) .clearScreen{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:8px;padding:10px;min-width:0;min-height:0;overflow:hidden;font-size:16px;line-height:1.3}.clearScreen .outcomeContent{flex:1 1 0;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y;text-align:center;overflow-wrap:anywhere;padding:4px}.gameShell:not(.gameShell--replay) .clearScreen .outcomeContent>*{display:block;margin:6px auto;max-width:100%}.gameShell:not(.gameShell--replay) .clearScreen .outcomeContent>img{width:min(35%,150px);height:auto;max-height:90px;object-fit:contain}.clearScreen .outcomeContent>span:not(.firstClearReward){font-size:clamp(26px,4vw,44px)}.clearScreen .outcomeContent>strong{font-size:clamp(18px,2.5vw,26px);color:#ffdf80}.gameShell:not(.gameShell--replay) .clearScreen .outcomeContent>small{font-size:clamp(12px,1.8vw,18px)}.gameShell:not(.gameShell--replay) .clearScreen .firstClearReward{display:grid;width:min(100%,620px);box-sizing:border-box;grid-template-columns:repeat(3,minmax(0,1fr));font-size:clamp(12px,1.6vw,17px);line-height:1.35;padding:8px;gap:5px}.clearScreen .outcomeReturnButton{flex:0 0 auto;min-height:44px;width:100%;padding:8px;border:1px solid #e9ca77;border-radius:8px;background:#235348;color:#fff2bd;font-size:16px;font-weight:700;line-height:1.3;font-family:inherit;cursor:pointer}.clearScreen .outcomeReturnButton:focus-visible,.clearScreen .outcomeContent:focus-visible{outline:2px solid #fff2bd;outline-offset:-3px}.gameOver.gameOverChoices{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;overscroll-behavior:contain;touch-action:pan-y;text-align:center}.gameOver.gameOverChoices>*{flex-shrink:0;overflow-wrap:anywhere}@media(max-width:480px){.gameShell:not(.gameShell--replay) .clearScreen .firstClearReward{grid-template-columns:repeat(2,minmax(0,1fr))}}.preparationScreen:has(>.preparationHome){height:100dvh;min-height:0;display:flex;flex-direction:column;padding-top:max(54px,env(safe-area-inset-top));padding-bottom:max(8px,env(safe-area-inset-bottom))}.preparationScreen:has(>.preparationHome)>.preparationHeader{position:static;flex:0 0 auto;width:100%;margin-bottom:6px}.preparationHome{flex:1;min-height:0;width:100%;display:flex;flex-direction:column}.preparationHome>p{margin:5px 0;flex-shrink:0}.preparationHome .preparationChoices{flex:1;min-height:0;margin:8px 0;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:10px}.preparationHome .preparationChoices>button{display:flex;flex-direction:column;justify-content:center;min-height:0;min-width:0;padding:8px;gap:4px;border-width:3px;border-radius:12px}.preparationHome .preparationArt{flex:1;min-height:0;height:auto;max-height:150px;font-size:40px}.preparationHome .preparationArt img{height:100%;min-height:0;max-height:100%}.preparationHome .preparationChoices strong{font-size:clamp(16px,2.5vw,26px)}.preparationHome .preparationChoices small{font-size:12px}.preparationShop .collectionCardImageButton{padding:0;background:transparent;border:0}.preparationShop .collectionCardZoom{background:#000000e6}@media(min-width:900px),(max-height:450px){.preparationHome .preparationChoices{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:minmax(0,1fr)}}@media(max-height:450px){.preparationScreen:has(>.preparationHome){padding-top:8px;padding-right:90px}.preparationScreen:has(>.preparationHome) .preparationHeader{flex-wrap:nowrap}.preparationScreen:has(>.preparationHome) .preparationHeader h1{order:0;width:auto;font-size:18px}.preparationHome>p{font-size:11px!important;padding:3px}.preparationHome .preparationChoices small{font-size:10px}.preparationHome .preparationChoices strong{font-size:14px}}.preparationHome .preparationArtIllustration img{width:auto;max-width:100%;transform:none}.gameShell:not(.gameShell--replay) .messageWindow{display:block;height:2.8em;min-height:2.8em;max-height:2.8em;line-height:1.4;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.gameShell:not(.gameShell--replay) .messageWindow span{display:block}.gameShell .gameSettingsToolbar{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding-bottom:4px;border-bottom:1px solid #bd9757;color:#ffe5a0;font-size:13px}.gameShell .gameSettingsToolbar>.audioSettingsControl,.preparationScreen .preparationHeader>.audioSettingsControl{position:relative;inset:auto;margin:0}.gameShell .gameSettingsToolbar>.audioSettingsControl>.panelHeading{min-height:28px;padding:4px 10px}.preparationScreen,.preparationScreen:has(>.preparationHome){padding-top:max(8px,env(safe-area-inset-top));padding-right:12px}.preparationScreen .preparationHeader{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px 4px;align-items:center}.preparationScreen .preparationHeader>button{grid-column:1 / 3;grid-row:1;justify-self:start}.preparationScreen .preparationHeader>.audioSettingsControl{grid-column:3;grid-row:1;justify-self:end}.preparationScreen .preparationHeader>h1,.preparationScreen:has(>.preparationHome) .preparationHeader h1{grid-column:2;grid-row:2;width:auto;margin:0;font-size:clamp(16px,3vw,26px);white-space:nowrap}.preparationScreen .preparationHeader>strong{grid-column:3;grid-row:2;justify-self:end;font-size:clamp(10px,2vw,16px);padding:5px;white-space:nowrap}@media(max-width:380px){.preparationScreen .preparationHeader{padding:8px}.preparationScreen .preparationHeader>strong{font-size:9px;padding:3px}}@media(max-height:450px){.gameShell .gameSettingsToolbar{font-size:10px;padding-bottom:2px}.gameShell .gameSettingsToolbar>.audioSettingsControl>.panelHeading{min-height:0;padding:2px 8px;font-size:10px}.preparationScreen .preparationHeader{gap:3px;padding:5px}.preparationScreen .preparationHeader>button{padding:5px 10px}}@media(max-width:900px)and (max-height:560px)and (orientation:landscape){.gameShell:not(.gameShell--replay){grid-template-rows:auto minmax(0,1fr) 48px 28px}}html:has(.preparationScreen),body:has(.preparationScreen),#root:has(.preparationScreen){height:100%;overflow:hidden}.preparationScreen.preparationScreen{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding-top:max(8px,env(safe-area-inset-top));padding-bottom:max(8px,env(safe-area-inset-bottom))}.preparationScreen.preparationScreen>.preparationHeader{position:relative;top:auto;flex:0 0 auto;width:100%;margin-bottom:8px;background:#123426}.preparationScreen>:is(.preparationTraining,.preparationShop,.rewardWalletPanel){flex:1 1 auto;min-height:0;width:100%;max-width:1150px;margin:0 auto;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}.rewardWalletPanel{align-content:start}body:has(.app--worldMap) #root{--world-header-height: calc(max(8px,env(safe-area-inset-top)) + 52px) }body:has(.app--worldMap) #root:before{content:"";position:fixed;z-index:90;inset:0 0 auto;height:var(--world-header-height);background:#10251e;border-bottom:2px solid #bd9757;pointer-events:none}body:has(.app--worldMap) .app.app--worldMap{box-sizing:border-box;height:100dvh;min-height:0;padding:var(--world-header-height) 0 0}body:has(.app--worldMap) .worldMap{width:min(100vw,calc((100dvh - var(--world-header-height)) * 4 / 3),1448px);height:min(calc(100dvh - var(--world-header-height)),75vw,1086px)}body:has(.app--worldMap) .worldMapBackButton{position:fixed;z-index:101;left:max(8px,env(safe-area-inset-left));top:max(8px,env(safe-area-inset-top));min-height:44px;max-width:calc(100vw - 116px);padding:7px 10px;font-size:12px}body:has(.app--worldMap)>#root>.audioSettingsControl{position:fixed;z-index:100;top:max(8px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right))}body:has(.app--worldMap)>#root>.audioSettingsControl>.panelHeading{min-height:44px;display:grid;place-items:center}@media(max-width:720px)and (orientation:portrait){body:has(.app--worldMap) .worldMap{width:100vw;height:calc(100dvh - var(--world-header-height));grid-template-rows:minmax(0,58%) minmax(0,1fr)}}.tile--player>.effectCountdowns{bottom:135%}:root{--soft-ink:#493019;--soft-paper:#fff3ce;--soft-stone:#eabe68;--soft-wood:repeating-linear-gradient(0deg,#0000 0 14px,#63330e33 15px 17px),linear-gradient(#be8036,#8f501e);--soft-edge:inset 0 2px 0 #fff4bc,inset 0 -3px 0 #a56727,0 3px 0 #633d1b}.preparationScreen.preparationScreen{background:#8dce66 url(../ui-soft/forest.webp) center/cover;color:var(--soft-ink)}.preparationScreen.preparationScreen>.preparationHeader{background:linear-gradient(#cae9a9,#a6d37b);border:3px solid #e9bd64;border-radius:16px;box-shadow:var(--soft-edge);padding:8px}.preparationScreen .preparationHeader>h1,.preparationScreen:has(>.preparationHome) .preparationHeader h1{background:var(--soft-wood);color:#fff5d4;border:2px solid #f4ce77;border-radius:12px;padding:4px 12px;text-shadow:0 2px #422407}.preparationScreen .preparationHeader>strong{background:#65451d;color:#fff3c0;border-color:#f9d575;border-radius:18px}.preparationScreen .preparationHeader>button,.audioSettingsControl>.panelHeading,.gameShell .gameSettingsToolbar>.audioSettingsControl>.panelHeading,body:has(.app--worldMap) .worldMapBackButton{background:var(--soft-wood);color:#fff6da;border:2px solid #f5cf79;border-radius:14px;box-shadow:var(--soft-edge);text-shadow:0 1px 2px #482407}.preparationHome>p{color:#3e3218;background:#fff1cce8;border-radius:12px}.preparationHome .preparationChoices>button{background:linear-gradient(#fff2c1,#e9c77e);border:4px solid #efc875;border-radius:26px 26px 16px 16px;box-shadow:var(--soft-edge);color:var(--soft-ink);padding:7px;gap:4px;overflow:hidden}.preparationHome .preparationArtIllustration{max-height:none;border-radius:18px 18px 8px 8px;overflow:hidden;background:#aed78b}.preparationHome .preparationArtIllustration img{width:100%;max-width:100%;height:100%;object-fit:cover;transform:none;filter:none}.preparationHome .preparationChoices strong{background:var(--soft-wood);width:100%;padding:3px;border-radius:10px;color:#fff6dc;font-size:clamp(16px,2.5vw,26px);text-shadow:0 2px #422608}.preparationHome .preparationChoices small{color:#513619}.preparationHome .preparationCurrent{background:#fff0c9;border:2px solid #d8a350;color:#533817}.preparationScreen :is(.playerClassSelect,.trainingSchool,.preparationShop,.rewardWalletBalances article,.rewardRingGrid article){color:var(--soft-ink);background:linear-gradient(#fff5d7,#f3dca5);border:3px solid #e5b761;border-radius:18px;box-shadow:inset 0 2px #fffaf0,0 3px #71502455}.preparationScreen :is(.playerClassSelect h2,.trainingSchool h2,.rewardWalletPanel h2){color:#563412}.preparationScreen :is(.trainingOptions article,.playerClassSelect button){background:linear-gradient(#fff8df,#f0d69a);border:2px solid #d9a458;border-radius:14px;color:#513719}.preparationScreen :is(.playerClassSelect button[aria-pressed=true],.trainingOptions button[aria-pressed=true]){border-color:#039ec7;background:#d7f3ec;box-shadow:inset 0 0 0 2px #b3f5ff,0 0 0 2px #50c7e8}.preparationScreen :is(.trainingOptions button,.rewardRingGrid button,.preparationShopGrid article>button:last-child){background:linear-gradient(#87cc52,#478e30);border:2px solid #edc66d;border-radius:12px;color:#fff9de;text-shadow:0 1px #295b1a;min-height:42px}.preparationScreen button:disabled{opacity:.55;text-shadow:none}.preparationShopGrid{gap:16px}.preparationShopGrid article{background:linear-gradient(#fff8dd,#f4dfae);border:3px solid #d6a35b;border-radius:16px;color:var(--soft-ink);box-shadow:0 5px #995c28}.preparationShopGrid .collectionCardImageButton{background:linear-gradient(#c9e6ae,#e4efc5);border-radius:12px;padding:6px}.preparationShopGrid .collectionCardImageButton:enabled{cursor:zoom-in}.preparationShopGrid strong{color:#563418}.preparationScreen :is(input,select){background:#fff9e6;color:#493019;border:2px solid #cca45b;border-radius:9px}.preparationScreen .cardListFilters{background:#fff0cd;color:#493019}.rewardWalletPanel{background:#fff1cbeb;border-radius:18px;color:#513619}.rewardWalletBalances strong{color:#795016}.rewardRingGrid img{background:#f7e3b5}.rewardWalletMessage{background:#dff0bd;color:#36501d}.preparationScreen .gameManual{border:4px solid #d4a356;border-radius:20px;background:#fff2ce;color:#4c341d;box-shadow:inset 8px 0 #deb776,inset -8px 0 #deb776}.preparationScreen .manualChapters{background:var(--soft-wood);gap:6px}.preparationScreen .manualChapters button{background:#f3d492;border:2px solid #d5a050;border-radius:14px 14px 5px 5px;color:#493019}.preparationScreen .manualChapters button[aria-pressed=true]{background:#fff7df;color:#245d75;border-color:#48bbe2}.preparationScreen .manualContent{background:linear-gradient(90deg,#edcc8b44,transparent 5%,transparent 95%,#edcc8b44)}.preparationScreen .manualContent h2{color:#563619;border-color:#d5b075}.preparationScreen .manualContent :is(th,td){border-color:#d9bc84}.audioSettingsPopover{background:linear-gradient(#fff7dc,#f5dfa9);color:#493019;border:3px solid #dbad58;border-radius:18px;box-shadow:0 6px #67471c66,0 12px 24px #0004}.audioSettingsPopover :is(button,select,input:not([type=range])){background:#fff5d9;border:2px solid #c99a4d;color:#513619;border-radius:10px}.audioSettingsPopover input[type=range]{accent-color:#12a4d9}.audioSettingsPopover .audioSettingsMute--active{background:#c1edfb;border-color:#1eacd5}.audioSettingsPopover a{color:#236c80}.audioSettingsPopover .retireButton,.retireConfirmationActions .retireConfirmButton{background:linear-gradient(#f3986e,#ce603f);color:#fff9de;border-color:#f6c46d}.retireConfirmation{background:linear-gradient(#fff6d7,#f2dba7);color:#50341c;border:5px solid #e6b968;border-radius:24px}.retireConfirmationActions button{background:var(--soft-wood);border:2px solid #e9c16c;border-radius:14px}@media(max-width:380px){.preparationScreen .preparationHeader>h1,.preparationScreen:has(>.preparationHome) .preparationHeader h1{padding:4px 5px;font-size:15px}.preparationHome .preparationChoices strong{font-size:16px}}@media(max-height:450px){.preparationHome .preparationChoices strong{font-size:14px}.preparationHome .preparationChoices>button{border-width:3px;padding:4px}}.preparationHome .preparationArtIllustration img{object-fit:contain}.preparationHome .preparationArtIllustration{background:linear-gradient(#c6eaa6,#94c576)}.preparationScreen .preparationHeader>h1:before{content:"◆";color:#48d5ff;margin-right:5px;text-shadow:0 1px #246b8c}.preparationScreen .cardListFilters :is(.cardListSearch,.cardListCategory,.cardListOwnedOnly,.cardListResultCount){color:#573817}.preparationScreen .cardListOwnedOnly{background:#f9e4b5;border-color:#c79d55}.preparationScreen .cardListSearch input{max-width:100%;margin-left:0}.preparationScreen .playerClassSelect img{width:72px;height:72px;border-radius:12px;image-rendering:auto}.preparationScreen .playerClassSelect button{grid-template-columns:72px minmax(0,1fr)}.preparationScreen .specialSelection .trainingOptions article>strong{background:var(--soft-wood);color:#fff4cd;border:2px solid #e8bd68;border-radius:12px;padding:8px}.audioSettingsPopover .settingsLegalLinks a{background:#ead399;color:#553918;border-color:#cba759}.preparationScreen .manualInputMode{background:var(--soft-wood)}.preparationScreen .manualInputMode button{background:#f3d492;border:2px solid #d0a357;color:#513619;border-radius:12px}.preparationScreen .manualInputMode button[aria-pressed=true]{background:#d4f1f5;border-color:#37aed4}body:has(.app--worldMap) #root:before{background:var(--soft-wood);border-bottom:3px solid #f2cb75}.worldMapTitle{position:fixed;z-index:95;top:max(8px,env(safe-area-inset-top));left:50%;transform:translate(-50%);margin:0;padding:7px 20px;border:3px solid #f3cc77;border-radius:16px;background:var(--soft-wood);color:#fff5d9;text-shadow:0 2px #603816;font-size:22px;line-height:24px;white-space:nowrap}.worldMapStageColors--unlockedShrines{filter:hue-rotate(205deg) saturate(1.2)}.app--worldMap .worldMapMobileStageList{background:linear-gradient(#fff3ce,#e8d09c);color:#503719;border-color:#dcac57}.app--worldMap .worldMapMobileStageButton{background:linear-gradient(#fcf0cd,#e8cd8a);border:2px solid #ce9e4a;color:#513719;border-radius:14px}.app--worldMap .worldMapMobileStageButton span{color:#63502a}.app--worldMap .worldMapMobileStageButton--completed{background:#d2e9b8}@media(max-width:600px){.worldMapTitle{font-size:14px;padding:7px 6px;left:57%}body:has(.app--worldMap) .worldMapBackButton{font-size:10px;max-width:43%;padding:7px 6px}}@media(max-width:380px){.worldMapTitle{font-size:12px;padding:7px 4px;left:56%}body:has(.app--worldMap)>#root>.audioSettingsControl>.panelHeading{min-width:62px;font-size:12px}}.app--worldMap .worldMapMobileStageList h2{color:#543717}.app--worldMap .worldMapStageColors--unlockedShrines{filter:none}.app--worldMap .worldMapStageColors--completedShrines{filter:sepia(1) saturate(3.8) hue-rotate(4deg) brightness(1.12)}body:has(.app--worldMap) .worldMapBackButton,body:has(.app--worldMap)>#root>.audioSettingsControl>.panelHeading,body:has(.app--worldMap) .worldMapTitle{border:0;border-radius:0;box-shadow:none;text-shadow:none;color:transparent;background-color:transparent;background-repeat:no-repeat;background-position:center;background-size:100% 100%;padding:0;height:46px;min-height:46px}body:has(.app--worldMap) .worldMapBackButton{width:240px;max-width:42vw;background-image:url(../ui-soft/world-back.webp)}body:has(.app--worldMap) .worldMapTitle{width:240px;left:50%;background-image:url(../ui-soft/world-title.webp)}body:has(.app--worldMap)>#root>.audioSettingsControl>.panelHeading{width:116px;min-width:0;background-image:url(../ui-soft/world-settings.webp)}body:has(.app--worldMap) .worldMapBackButton:focus-visible,body:has(.app--worldMap)>#root>.audioSettingsControl>.panelHeading:focus-visible{outline:3px solid #34cbff;outline-offset:1px}@media(max-width:720px){body:has(.app--worldMap) .worldMapBackButton{width:40vw}body:has(.app--worldMap) .worldMapTitle{width:31vw;left:57%}body:has(.app--worldMap)>#root>.audioSettingsControl>.panelHeading{width:22vw}}@font-face{font-family:Relic Settings Rounded;src:url(../ui-soft/relic-rounded-full.woff2) format("woff2");font-style:normal;font-weight:800;font-display:swap}.settingsScreen{position:fixed;inset:max(60px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) auto auto;margin:0;width:min(420px,calc(100vw - 24px));height:auto;max-width:none;max-height:calc(100dvh - max(60px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom)));box-sizing:border-box;padding:0;border:4px solid #e8bc6c;border-radius:20px;background:#fff0c9;color:#40260e;overflow:hidden;box-shadow:inset 0 0 0 2px #70441c,0 7px #553315,0 15px 38px #0007;font:800 14px/1.45 Relic Settings Rounded,Hiragino Maru Gothic ProN,sans-serif}.settingsScreen[open]{display:flex;flex-direction:column}.settingsScreen::backdrop{background:#10231d60}.settingsScreenHeader{display:grid;grid-template-columns:1fr 1.8fr 1fr;align-items:center;gap:2px;flex:0 0 auto;padding:8px 5px 12px;position:relative;background:#30b9e9 url(../ui-soft/forest.webp) center 20%/cover}.settingsScreenHeader:after{content:"";position:absolute;bottom:0;left:0;right:0;height:10px;background:url(../ui-soft/settings-stone.webp) center/auto 14px repeat-x}.settingsScreenHeader button,.settingsScreenHeader h2{position:relative;width:100%;min-width:0;margin:0;padding:0;border:0;box-shadow:none;background-color:transparent;background-position:center;background-repeat:no-repeat;background-size:100% 100%}.settingsScreenHeader button{min-height:44px;aspect-ratio:255/115;border-radius:18px;cursor:pointer}.settingsScreenHeader .settingsBack{background-image:url(../ui-soft/settings-back-v2.webp)}.settingsScreenHeader .settingsClose{background-image:url(../ui-soft/settings-close-v2.webp)}.settingsScreenHeader h2{aspect-ratio:465/181;background-image:url(../ui-soft/settings-title-v2.webp)}.settingsScreenHeader :is(button,h2)>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.settingsScreenBody{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c6a364 #ffefd0}.settingsScreen .audioSettingsPopover{position:static;box-sizing:border-box;width:100%;max-width:none;max-height:none;overflow:visible;display:grid;gap:0;padding:4px 12px 12px;border:0;border-radius:0;box-shadow:inset 5px 0 #efca86,inset -5px 0 #efca86;background:radial-gradient(ellipse at center,#fff7df,#f9e4b6);color:inherit;font:inherit}.settingsScreen .audioSettingsPopover>:is(label,.settingsOptionRow,.controlLayoutSetting,.cardPickupPreviewSetting){margin:0;padding:9px 0;min-height:44px;border:0;border-bottom:1px solid #dcbf86}.settingsScreen .audioSettingsPopover>.settingsVolumeRow{display:grid;grid-template-columns:42px 100px minmax(0,1fr) 30px;align-items:center;gap:7px}.settingsScreen .settingsRowIcon{display:block;width:42px;height:40px;background:center/100% 100% no-repeat;border-radius:9px}.settingsScreen .settingsRowIcon--bgm{background-image:url(../ui-soft/settings-bgm.webp)}.settingsScreen .settingsRowIcon--sound{background-image:url(../ui-soft/settings-sound.webp)}.settingsScreen .settingsRowIcon--mute{background-image:url(../ui-soft/settings-mute.webp)}.settingsScreen .settingsRowIcon--controls{background-image:url(../ui-soft/settings-controls.webp)}.settingsScreen .settingsVolumeRow strong{font-size:18px;font-weight:800;text-align:right;font-variant-numeric:tabular-nums}.settingsScreen .settingsVolumeRow>span:not(.settingsRowIcon){white-space:nowrap}.settingsScreen .audioSettingsPopover input[type=range]{grid-column:auto;min-width:0;width:100%;height:44px;padding:0;margin:0;appearance:none;-webkit-appearance:none;border:0;border-radius:0;background:transparent;cursor:pointer}.settingsScreen input[type=range]::-webkit-slider-runnable-track{box-sizing:border-box;height:15px;border:2px solid #614421;border-radius:20px;background:linear-gradient(90deg,#04bdf1 0 var(--volume-fill),#534028 var(--volume-fill) 100%);box-shadow:inset 0 2px 1px #fff6,inset 0 -2px 1px #0004,0 1px #fffbdb}.settingsScreen input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;box-sizing:border-box;width:28px;height:28px;margin-top:-8.5px;border:2px solid #51300e;border-radius:50%;background:linear-gradient(110deg,#ffe58d,#ffc440 65%,#d99515);box-shadow:inset 0 0 0 2px #fff0ae,1px 2px #ab762b}.settingsScreen input[type=range]::-moz-range-track{height:11px;border:2px solid #614421;border-radius:20px;background:#534028;box-shadow:inset 0 2px 1px #fff6}.settingsScreen input[type=range]::-moz-range-progress{height:11px;border-radius:20px;background:linear-gradient(#2fd6ff,#00a3de)}.settingsScreen input[type=range]::-moz-range-thumb{box-sizing:border-box;width:28px;height:28px;border:2px solid #51300e;border-radius:50%;background:linear-gradient(110deg,#ffe58d,#ffc440);box-shadow:inset 0 0 0 2px #fff0ae,1px 2px #ab762b}.settingsScreen :is(.settingsOptionRow,.controlLayoutSetting){display:grid;grid-template-columns:42px minmax(0,1fr) 136px;align-items:center;gap:7px}.settingsScreen .audioSettingsPopover button{font:inherit}.settingsScreen .audioSettingsPopover .settingsMuteSwitch{position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:center;height:44px;min-width:0;width:136px;margin:0;padding:0 6px 0 32px;border:2px solid #513512;border-radius:24px;background:linear-gradient(#b89b60,#917441);box-shadow:inset 0 0 0 2px #ffe6a7;color:#fff2ce;text-shadow:0 1px 1px #57371b}.settingsScreen .settingsMuteSwitch:after{content:"";position:absolute;top:4px;left:4px;width:32px;height:32px;border:2px solid #584226;border-radius:50%;background:linear-gradient(#fff3ce,#e5c58b);box-shadow:inset 0 0 0 2px #fff4d6;transition:left .15s}.settingsScreen .audioSettingsPopover .settingsMuteSwitch[aria-pressed=true]{padding:0 32px 0 6px}.settingsScreen .settingsMuteSwitch[aria-pressed=true]:before{content:"";position:absolute;inset:2px 2px 2px auto;width:62%;border-radius:22px;background:linear-gradient(#14d7fa,#0098d6);box-shadow:inset 0 0 0 1px #9aefff}.settingsScreen .settingsMuteSwitch span{position:relative}.settingsScreen .settingsMuteSwitch[aria-pressed=true]:after{left:calc(100% - 40px)}.settingsScreen .settingsMuteSwitch[aria-pressed=false] span:last-child,.settingsScreen .settingsMuteSwitch[aria-pressed=true] span:first-child{opacity:.55}.settingsSideButtons{display:flex;gap:7px}.settingsScreen .settingsSideButtons button{flex:1;min-width:0;min-height:44px;padding:0 8px;border:2px solid #654016;border-radius:17px;background:linear-gradient(#c1a36c,#a3844a);color:#fff1cd;font-size:21px;box-shadow:inset 0 0 0 2px #ffe5a1,0 2px #b47f37;text-shadow:0 2px 0 #725224}.settingsScreen .settingsSideButtons button[aria-pressed=true]{background:linear-gradient(#22d7ff,#00a3e0 70%,#087bbc);color:#fff5dc;box-shadow:inset 0 0 0 2px #c9faff,0 0 0 2px #efbc55,0 3px #a97226;text-shadow:0 2px 0 #174f69}.settingsScreen .cardPickupPreviewSetting{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}.settingsScreen .cardPickupPreviewSetting button{min-width:66px;min-height:40px;background:#c3a56d;color:#fff5d9;border:2px solid #775022;border-radius:14px;box-shadow:inset 0 0 0 2px #ffe3a3}.settingsScreen .cardPickupPreviewSetting button[aria-pressed=true]{background:linear-gradient(#29cff0,#059bcd);color:#fff;border-color:#327595}.settingsScreen .audioSettingsPopover .giftCodePanel{margin-top:8px}.settingsScreen .audioSettingsPopover:has(.saveTransferPanel){width:100%}.settingsScreen .audioSettingsPopover .giftCodePanel>.panelHeading{background:var(--soft-wood);color:#fff4d8}.settingsScreen .audioSettingsPopover .settingsLegalLinks{margin:8px 0 0;padding:0;gap:4px}.settingsScreen .audioSettingsPopover .settingsLegalLinks a{border-radius:10px;min-height:40px;font-size:10px}.settingsScreen .audioSettingsPopover .retireButton{margin:10px 0 0;min-height:44px;background:linear-gradient(#ff9970,#dc6240);color:#fff4d4;border:2px solid #9b5624;border-radius:14px;box-shadow:inset 0 0 0 2px #ffd28a;text-shadow:0 1px #853c20}.settingsScreen :is(button,input,a,.panelHeading):focus-visible{outline:3px solid #007ea9;outline-offset:2px}.retireConfirmation{font-family:Relic Settings Rounded,Hiragino Maru Gothic ProN,sans-serif}.retireConfirmation h2:before{content:"!";display:inline-grid;place-items:center;width:34px;height:34px;margin-right:8px;border-radius:50%;background:#ffd578;color:#9c4e15}.retireConfirmation:before{content:"";display:block;width:88px;height:84px;margin:0 auto 8px;background:url(../ui-soft/confirm-slime.webp) center/cover;border-radius:16px}@media(max-width:400px){.settingsScreen{font-size:12px}.settingsScreen .audioSettingsPopover{padding-inline:10px}.settingsScreen .audioSettingsPopover>.settingsVolumeRow{grid-template-columns:32px 78px minmax(0,1fr) 25px;gap:5px}.settingsScreen .settingsRowIcon{width:32px;height:31px;border-radius:7px}.settingsScreen .settingsVolumeRow strong{font-size:16px}.settingsScreen :is(.settingsOptionRow,.controlLayoutSetting){grid-template-columns:32px minmax(0,1fr) 116px;gap:5px}.settingsScreen .audioSettingsPopover .settingsMuteSwitch{width:116px}.settingsScreen .cardPickupPreviewSetting{font-size:12px}}@media(max-height:450px){.settingsScreen{inset:8px 12px auto auto;max-height:calc(100dvh - 16px)}.settingsScreenHeader{padding-block:3px 9px}}@media(prefers-reduced-motion:reduce){.settingsScreen .settingsMuteSwitch:after{transition:none}}.preparationScreen.preparationScreen--illustrated{--preparation-card-size:min( calc((100vw - 38px)/2) , calc((100dvh - 210px)*.47) ,330px);padding:max(8px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:#65a842 url(../ui-soft/preparation-forest.webp) center/cover;font-family:Relic Settings Rounded,Hiragino Maru Gothic ProN,sans-serif}.preparationScreen.preparationScreen--illustrated>.preparationHeader{max-width:1000px;margin:0 auto 8px;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;grid-template-columns:minmax(0,1fr) minmax(0,2.2fr) minmax(88px,1fr);gap:3px 6px}.preparationScreen--illustrated .preparationHeader>button,.preparationScreen--illustrated .preparationHeader>.audioSettingsControl>.panelHeading{box-sizing:border-box;width:clamp(120px,25vw,250px);height:clamp(44px,6.5vw,74px);min-height:44px;padding:0;border:0;border-radius:28px;background-color:transparent;background-position:center;background-size:contain;background-repeat:no-repeat;box-shadow:none;text-shadow:none;color:transparent}.preparationScreen--illustrated .preparationHeader>button{background-image:url(../ui-soft/preparation-back.webp)}.preparationScreen--illustrated .preparationHeader>.audioSettingsControl>.panelHeading{width:clamp(108px,23vw,215px);background-image:url(../ui-soft/preparation-settings.webp)}.preparationScreen.preparationScreen--illustrated .preparationHeader>h1{grid-column:2;grid-row:2;position:relative;width:100%;height:clamp(60px,12vw,132px);padding:0;border:0;border-radius:0;background:url(../ui-soft/preparation-title.webp) center/contain no-repeat;text-shadow:none;box-shadow:none;justify-self:center;clip-path:polygon(0 4%,44% 4%,47% 0,53% 0,56% 4%,100% 4%,100% 100%,0 100%)}.preparationScreen--illustrated .preparationHeader>h1:before{content:none}.preparationScreen--illustrated .preparationHeader>button>span,.preparationScreen--illustrated .preparationHeader>h1>span,.preparationScreen--illustrated .preparationMenuCaption{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.preparationScreen--illustrated .preparationHeader>strong{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;max-width:100%;padding:6px;border:2px solid #ffd570;border-radius:999px;background:linear-gradient(#4f3b18,#271f0d);color:#fff1ba;box-shadow:inset 0 0 0 2px #876129,0 2px 1px #453411;text-shadow:0 1px #251b09;font-size:clamp(9px,1.5vw,15px);font-weight:800}.preparationMedalCoin{display:grid;place-items:center;flex:0 0 auto;width:1.6em;height:1.6em;border:1px solid #ac6f12;border-radius:50%;background:linear-gradient(120deg,#fff69b,#ffc339 65%,#bc7917);color:#a06815;box-shadow:inset 0 0 0 2px #ffdf6f,0 0 0 1px #f7d061;font-size:1.1em;text-shadow:0 1px #ffea91}.preparationMedalValue{font-size:1.5em;font-variant-numeric:tabular-nums}.preparationScreen--illustrated .preparationHome{max-width:1100px;min-height:0;gap:6px}.preparationArtClips{position:absolute;pointer-events:none}.preparationScreen--illustrated .preparationChoices{flex:1;min-height:0;margin:0;display:grid;grid-template-columns:repeat(2,var(--preparation-card-size));grid-template-rows:repeat(2,calc(var(--preparation-card-size) * 490 / 477));gap:8px 10px;align-content:center;justify-content:center}.preparationScreen--illustrated .preparationChoices>button{position:relative;display:block;box-sizing:border-box;min-width:0;min-height:0;width:100%;height:100%;margin:0;padding:0;gap:0;border:0;border-radius:50% 50% 10% 10%/27% 27% 10% 10%;background:none;box-shadow:none;transition:filter .12s,transform .12s}.preparationScreen--illustrated .preparationChoices>button>img{display:block;width:100%;height:100%;object-fit:contain;clip-path:url(#preparation-menu-arch)}.preparationScreen--illustrated .preparationChoices>button:hover{filter:brightness(1.07);transform:translateY(-1px)}.preparationScreen--illustrated .preparationChoices>button:active{transform:translateY(1px)}.preparationScreen--illustrated :is(.preparationHeader>button,.preparationHeader .panelHeading,.preparationChoices>button):focus-visible{outline:3px solid #baf5ff;outline-offset:2px}.preparationScreen--illustrated .preparationCurrent{flex:0 0 auto;align-self:center;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;box-sizing:border-box;width:min(100%,750px);min-height:68px;margin:0;padding:12px 20px;border:0;border-radius:0;background:url(../ui-soft/preparation-status.webp) center/100% 100% no-repeat;color:#fff4ce;font-weight:800;text-align:left;text-shadow:0 2px 1px #3f240f}.preparationCurrentHero,.preparationCurrentSpecial{display:flex;align-items:center;min-width:0;gap:8px}.preparationCurrentHero{padding-right:8px}.preparationCurrentHero>img{width:clamp(34px,5vw,62px);height:clamp(34px,5vw,62px);object-fit:cover;border:2px solid #dfb052;border-radius:50%}.preparationCurrentHero>span{display:grid;gap:1px;min-width:0}.preparationCurrent :is(strong,small){color:inherit;font-size:clamp(13px,1.7vw,20px);line-height:1.35}.preparationCurrentHero small{font-size:clamp(9px,1.2vw,12px);color:#eacf93}.preparationCurrentSpecial{border-left:2px solid #d0a25b;padding-left:10px}.preparationCurrentSpecial strong{overflow-wrap:anywhere}.preparationSpecialIcon{flex:0 0 auto;width:clamp(32px,4.5vw,56px);height:clamp(32px,4.5vw,56px);object-fit:cover;border-radius:50%}.preparationSpecialIcon--drawn{display:grid;place-items:center;box-sizing:border-box;border:3px solid #f9cb66;background:radial-gradient(circle at 40% 30%,#1ebcfa,#0c538e 75%);box-shadow:inset 0 0 0 2px #072b55,0 0 0 1px #61421f;color:#ccf9ff}.preparationSpecialIcon svg{width:80%;height:80%}@media(min-aspect-ratio:3/2){.preparationScreen.preparationScreen--illustrated{--preparation-card-size:min( calc((100vw - 72px)/4) , calc((100dvh - 280px)*.95) ,320px)}.preparationScreen--illustrated .preparationChoices{grid-template-columns:repeat(4,var(--preparation-card-size));grid-template-rows:calc(var(--preparation-card-size) * 490 / 477)}}@media(max-width:400px){.preparationScreen.preparationScreen--illustrated>.preparationHeader{grid-template-columns:minmax(0,1fr) minmax(0,2.5fr) 90px;gap:2px}.preparationScreen--illustrated .preparationHeader>strong{gap:3px;padding:5px 4px;font-size:8px}.preparationScreen--illustrated .preparationCurrent{min-height:64px;padding:12px 14px}.preparationCurrentHero,.preparationCurrentSpecial{gap:5px}.preparationCurrentSpecial{padding-left:6px}.preparationCurrent :is(strong,small){font-size:12px}.preparationCurrentHero small{font-size:9px}}@media(max-height:450px){.preparationScreen.preparationScreen--illustrated{--preparation-card-size:min( calc((100vw - 70px)/4) , calc((100dvh - 164px)*.93) );padding-block:4px}.preparationScreen.preparationScreen--illustrated>.preparationHeader{max-width:760px;margin-bottom:2px}.preparationScreen--illustrated .preparationHeader>button,.preparationScreen--illustrated .preparationHeader>.audioSettingsControl>.panelHeading{height:44px;width:132px}.preparationScreen.preparationScreen--illustrated .preparationHeader>h1{height:42px}.preparationScreen--illustrated .preparationChoices{grid-template-columns:repeat(4,var(--preparation-card-size));grid-template-rows:calc(var(--preparation-card-size) * 490 / 477);gap:8px}.preparationScreen--illustrated .preparationCurrent{width:min(100%,540px);min-height:52px;padding:8px 20px}.preparationCurrentHero>img,.preparationSpecialIcon{width:30px;height:30px}}@media(prefers-reduced-motion:reduce){.preparationScreen--illustrated .preparationChoices>button{transition:none}}@media(max-width:360px){.preparationCurrentHero{padding-right:4px}.preparationCurrentHero strong{font-size:11px;white-space:nowrap}}.preparationScreen.preparationScreen--training{padding:max(8px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:#4d993b url(../ui-soft/preparation-forest.webp) center/cover;font-family:Relic Settings Rounded,Hiragino Maru Gothic ProN,sans-serif}.preparationScreen--training{--catalog-title:url(../ui-soft/training-title.webp)}.trainingIllustratedHeading>span{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.preparationScreen--training>.preparationTraining{box-sizing:border-box;max-width:960px;padding:22px 12px 24px;scrollbar-width:thin;scrollbar-color:#d5ac61 #17432266}.preparationScreen.preparationScreen--training :is(.trainingHeroSelection,.specialSelection){box-sizing:border-box;width:100%;max-width:820px;margin:22px auto 34px;padding:18px 24px 12px;border:5px solid #d5ac58;border-radius:32px;background:radial-gradient(ellipse at center,#f7dea0,#e5bf6b);box-shadow:inset 0 0 0 2px #ffedb2,inset 0 -5px #b78c40,0 5px #655023,0 8px 14px #16361677}.preparationScreen--training .trainingIllustratedHeading{position:relative;display:block;width:90%;height:clamp(46px,8vw,88px);margin:-52px auto 8px;padding:0;border:0;box-shadow:none;background-color:transparent;background-position:center;background-repeat:no-repeat;background-size:contain}.preparationScreen--training .trainingIllustratedHeading--characters{background-image:url(../ui-soft/training-characters.webp)}.preparationScreen--training .trainingIllustratedHeading--specials{width:76%;background-image:url(../ui-soft/training-specials.webp)}.preparationScreen--training .trainingHeroSelection>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;justify-items:center;gap:24px;margin:0 auto;max-width:690px}.preparationScreen--training .trainingHeroSelection .trainingHeroCard,.preparationScreen--training .trainingSpecialCard{position:relative;display:block;width:100%;min-width:0;max-width:310px;padding:0;border:0;border-radius:20px;background:none;color:#fff5d8;text-align:center;box-shadow:none;cursor:pointer;font:inherit}.preparationScreen--training .trainingHeroSelection .trainingHeroCard[aria-pressed=true],.preparationScreen--training .trainingSpecialCard[aria-pressed=true]{border:0;background:none;box-shadow:none}.preparationScreen--training .trainingHeroCard>img,.preparationScreen--training .trainingSpecialCard>img{display:block;width:100%;height:auto;border-radius:0;object-fit:contain;image-rendering:auto}.preparationScreen--training .trainingHeroCard[aria-pressed=true]>img,.preparationScreen--training .trainingSpecialCard[aria-pressed=true]>img{filter:drop-shadow(0 0 2px #fff) drop-shadow(0 0 2px #a6fbff) drop-shadow(0 0 4px #00cbf4) drop-shadow(0 0 4px #00cbf4)}.preparationScreen--training .trainingHeroCard>strong,.preparationScreen--training .trainingSpecialCard>strong{position:absolute;display:grid;place-items:center;left:8%;right:8%;bottom:7%;height:15%;padding:0;font-family:inherit;font-weight:800;line-height:1.05;color:#fff5d8;font-size:clamp(20px,3.4vw,34px);-webkit-text-stroke:4px #34210f;paint-order:stroke fill;text-shadow:0 2px 0 #34210f}.preparationScreen--training .trainingSpecialCards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.trainingSpecialChoice{min-width:0;display:flex;flex-direction:column;align-items:center;gap:6px}.preparationScreen--training .trainingSpecialCard>strong{font-size:clamp(12px,2.1vw,23px);-webkit-text-stroke:3px #34210f;letter-spacing:-.06em;white-space:nowrap}.preparationScreen--training .trainingSpecialCard:disabled{opacity:1;cursor:not-allowed}.preparationScreen--training .trainingSpecialCard:disabled>img{filter:saturate(.25) brightness(.74)}.trainingSpecialLock{font-size:clamp(9px,1.5vw,12px);line-height:1.4;text-align:center;color:#553916}.preparationScreen--training .trainingDescription{margin:10px 0 0;color:#523817;text-align:left;font-size:13px}.preparationScreen--training .trainingDescription>.panelHeading{cursor:pointer;padding:10px 6px;min-height:44px;box-sizing:border-box;font-size:13px}.preparationScreen--training .trainingDescription p{font-size:13px;line-height:1.75;margin:6px 0 12px}.preparationScreen--training .trainingDescription>div{border-top:1px solid #ba934b;padding:10px 4px}.preparationScreen--training .trainingDescription strong{color:#453018}.preparationScreen--training .trainingDescription small{display:block;color:#644a20}.preparationScreen--training .trainingSchool--upgrades{width:100%;max-width:820px;border:4px solid #ddb666;border-radius:24px;background:linear-gradient(#fff2cc,#efd292)}.preparationScreen--training .trainingSchool--upgrades>h2{background:var(--soft-wood);border:2px solid #f4d182;border-radius:12px;padding:10px;color:#fff0ce;text-align:center;text-shadow:0 2px #573613}.trainingSchool--upgrades>h2 small{display:block;margin-top:5px;font-size:12px}.preparationScreen--training .trainingSchool--upgrades>p{font-size:13px}.preparationScreen--training .trainingSchool--upgrades .trainingOptions article{border:2px solid #bd9653;background:#fff2d0;border-radius:14px}.preparationScreen--training .trainingOptions button[aria-pressed=true]{background:linear-gradient(#31c5df,#138dac);border:2px solid #d4b469;color:#fff5d1}.preparationScreen--training :is(button,.panelHeading):focus-visible{outline:3px solid #0079a3;outline-offset:4px}@media(max-width:600px){.preparationScreen.preparationScreen--training{padding-inline:8px}.preparationScreen--training>.preparationTraining{padding:18px 6px;scrollbar-gutter:auto}.preparationScreen.preparationScreen--training :is(.trainingHeroSelection,.specialSelection){padding:16px 12px 2px;border-width:3px;border-radius:23px;margin:18px auto 34px}.preparationScreen--training .trainingIllustratedHeading{height:52px;margin-top:-38px;margin-bottom:2px}.preparationScreen--training .trainingHeroSelection>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.preparationScreen--training .trainingHeroSelection .trainingHeroCard{grid-template-columns:none;padding:0}.preparationScreen--training .trainingHeroCard>strong{font-size:22px}.preparationScreen--training .trainingSpecialCards{gap:10px}.preparationScreen--training .trainingSpecialCard>strong{font-size:clamp(10px,3vw,17px);-webkit-text-stroke:2px #34210f}.preparationScreen--training .trainingDescription,.preparationScreen--training .trainingDescription>.panelHeading{font-size:12px}}.gameShell:not(.gameShell--replay) .clearScreen--illustrated{position:fixed;inset:0;transform:none;width:calc(100% - 24px);max-width:820px;height:fit-content;max-height:calc(100dvh - 24px);box-sizing:border-box;margin:auto;padding:8px 10px;gap:5px;container-type:inline-size;z-index:35;border:2px solid #ddbd70;border-radius:18px;background:linear-gradient(#153e2140,#12341b85),url(../ui-soft/preparation-forest.webp) center 55%/cover;box-shadow:0 8px 30px #071c0bd9,inset 0 0 0 2px #fff1b966;color:#452b13;font-family:Relic Settings Rounded,sans-serif;font-weight:800;text-shadow:none;letter-spacing:0;line-height:1.3}.clearScreen--illustrated::backdrop{background:#102717b8}.clearScreen--illustrated .outcomeContent{flex:0 1 auto;padding:0 3px;scrollbar-width:thin;scrollbar-color:#b77f31 #f6d997}.gameShell:not(.gameShell--replay) .clearScreen--illustrated .outcomeContent>*{margin:0 auto}.clearScreen--illustrated img{display:block;image-rendering:auto;filter:none;object-fit:contain}.clearScreen--illustrated .resultCelebration{position:relative;width:min(100%,560px)}.clearScreen--illustrated .resultCelebration>img{width:100%;height:auto}.clearScreen--illustrated .resultCelebration>h2{position:absolute;inset:43% 27% 13%;margin:0;display:grid;place-items:center;color:#fff0a3;font-size:clamp(24px,7cqw,49px);line-height:1;font-weight:800;white-space:nowrap;paint-order:stroke fill;-webkit-text-stroke:5px #55220e;text-shadow:0 4px #58220d}.clearScreen--illustrated .resultRewardPanel{position:relative;box-sizing:border-box;width:100%;padding:4px 6px 8px;border:22px solid transparent;border-image:url(../ui-soft/result-frame.webp) 85 fill / 28px / 0 stretch}.clearScreen--illustrated .resultRewardSummary{display:grid;grid-template-columns:minmax(110px,.85fr) minmax(0,1.4fr);align-items:center;gap:8px;min-width:0}.clearScreen--illustrated .resultTreasure{width:100%;max-width:230px;height:auto;margin:auto}.clearScreen--illustrated .resultPayouts{display:grid;gap:6px;min-width:0}.clearScreen--illustrated .resultMedalRow{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;justify-items:center;gap:0 4px;min-width:0;padding:10px 14px;border:12px solid transparent;border-image:url(../ui-soft/result-wood.webp) 43 95 fill / 18px 30px / 0 stretch;color:#fff2d3;font-size:clamp(13px,3.1cqw,23px)}.clearScreen--illustrated .resultMedalRow>img{grid-row:1 / 3;width:40px;height:40px}.clearScreen--illustrated .resultMedalRow>span{text-shadow:0 2px #39200c}.clearScreen--illustrated .resultMedalRow>strong{min-width:0;font-size:clamp(24px,6cqw,44px);line-height:1.2;color:#ffe58c;white-space:nowrap;text-shadow:0 2px #8b330f;font-variant-numeric:tabular-nums}.clearScreen--illustrated .resultMedalRow small{color:#fff3d6;font-size:.4em;text-shadow:0 2px #39200c}.clearScreen--illustrated .resultSectionTitle{display:table;box-sizing:border-box;margin:0 auto 3px;padding:8px 26px;border:8px solid transparent;border-image:url(../ui-soft/result-wood.webp) 43 95 fill / 15px 30px / 0 stretch;color:#fff4d6;font-size:clamp(14px,3.3cqw,24px);line-height:1.15;paint-order:stroke fill;-webkit-text-stroke:3px #3f260f}.clearScreen--illustrated .resultItems{margin-top:8px}.clearScreen--illustrated .resultItems ul{margin:6px 0 0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.clearScreen--illustrated .resultItems li{display:grid;justify-items:center;align-content:start;min-width:0;padding:8px 5px 5px;background:linear-gradient(#66411f,#a57435 65%,#f4d48e 65%);border:3px solid #a87637;border-radius:14px;box-shadow:inset 0 0 0 2px #ffe7a5;color:#fff4d8;font-size:clamp(11px,2.6cqw,17px);line-height:1.25}.clearScreen--illustrated .resultItems li>img{width:auto;max-width:100%;height:74px;border-radius:5px}.clearScreen--illustrated .resultItems li>span{align-self:center;min-height:2.5em;padding-top:4px;paint-order:stroke fill;-webkit-text-stroke:3px #452a0d}.clearScreen--illustrated .resultItems li>strong{color:#472a12;font-size:clamp(18px,4cqw,28px)}.clearScreen--illustrated .resultEscapeMessage{margin:0;font-size:clamp(16px,3.8cqw,25px)}.clearScreen--illustrated .resultEscapeMessage small{display:block;margin-top:8px;font-size:.7em;color:#674b20;text-shadow:none}.clearScreen--illustrated .outcomeReturnButton{width:min(100%,510px);align-self:center;min-height:52px;margin:0;border:10px solid transparent;border-image:url(../ui-soft/result-wood.webp) 43 95 fill / 18px 35px / 0 stretch;border-radius:0;background:none;padding:7px 16px;box-shadow:none;font-size:clamp(14px,3.7cqw,24px);color:#fff4dc;font-weight:800;paint-order:stroke fill;-webkit-text-stroke:3px #35200c;text-shadow:0 2px #35200c}.clearScreen--illustrated .outcomeReturnButton>span{color:#19cafa;font-size:1.3em;vertical-align:-.04em;-webkit-text-stroke:2px #123a51}.clearScreen--illustrated .outcomeReturnButton:focus-visible,.clearScreen--illustrated .outcomeContent:focus-visible{outline:3px solid #3edbff;outline-offset:-3px}.clearScreen--illustrated .resultCelebration>h2:focus{outline:none}.clearScreen--first .resultCelebration{width:min(100%,430px)}.clearScreen--first .resultCelebration>h2{font-size:clamp(24px,6cqw,38px)}.clearScreen--first .resultTreasure{max-width:185px}.clearScreen--first .resultMedalRow{grid-template-columns:30px minmax(0,1fr) auto;padding:7px 12px}.clearScreen--first .resultMedalRow>img{grid-row:auto;width:30px;height:30px}.clearScreen--first .resultMedalRow>span{font-size:clamp(11px,2.5cqw,18px)}.clearScreen--first .resultMedalRow>strong{font-size:clamp(21px,4.3cqw,32px)}@container (min-width:600px){.clearScreen--first .resultItems ul{grid-template-columns:repeat(6,minmax(0,1fr))}.clearScreen--first .resultItems li{font-size:13px}.clearScreen--first .resultItems li>strong{font-size:22px}}@container (max-width:470px){.clearScreen--illustrated .resultRewardPanel{border-width:17px;border-image-width:23px;padding:3px 2px 6px}.clearScreen--illustrated .resultRewardSummary{grid-template-columns:1fr;gap:0}.clearScreen--illustrated .resultTreasure{max-width:165px}.clearScreen--illustrated .resultMedalRow{grid-template-columns:26px minmax(0,1fr) auto;padding:8px 10px;gap:5px;border-width:8px}.clearScreen--illustrated .resultMedalRow>img{grid-row:auto;width:26px;height:26px}.clearScreen--illustrated .resultMedalRow>strong{font-size:clamp(21px,6.3cqw,28px)}.clearScreen--illustrated .resultMedalRow>span{font-size:clamp(11px,3.5cqw,15px)}.clearScreen--illustrated .resultItems li{padding:6px 4px;border-width:2px;border-radius:10px}.clearScreen--illustrated .resultItems li>img{height:65px}.clearScreen--illustrated .resultCelebration>h2{-webkit-text-stroke:3px #55220e;text-shadow:0 2px #58220d}.clearScreen--illustrated .resultSectionTitle{padding:6px 18px}}@media(max-height:450px){.gameShell:not(.gameShell--replay) .clearScreen--illustrated{padding:3px;width:calc(100% - 16px);max-height:calc(100dvh - 16px);gap:0}.clearScreen--illustrated .resultCelebration{width:min(100%,280px)}.clearScreen--illustrated .resultCelebration>h2{font-size:26px;-webkit-text-stroke:3px #55220e}.clearScreen--illustrated .resultTreasure{max-width:130px}.clearScreen--illustrated .resultMedalRow{padding:5px 8px;border-width:8px}.clearScreen--illustrated .resultMedalRow>strong{font-size:26px}.clearScreen--illustrated .resultMedalRow>span{font-size:15px}.clearScreen--illustrated .outcomeReturnButton{min-height:44px;padding:4px 6px;border-width:5px;font-size:12px}}.app img[src*="/item-cards/soft/"],.gameShell img[src*="/item-cards/soft/"],.gameShell:not(.gameShell--replay) img[src*="/item-cards/soft/"]{image-rendering:auto}@media(max-height:450px)and (orientation:landscape){.gameShell:not(.gameShell--replay) .cardModal[aria-label=カード詳細]{position:fixed;inset:8px;z-index:40}}.preparationScreen.preparationScreen--training .trainingSchool--upgrades{border:12px solid transparent;border-image:url(../ui-soft/result-frame.webp) 68 fill / 12px;border-radius:0;padding:14px;background:none;box-shadow:0 3px 8px #34251040}.preparationScreen.preparationScreen--training .trainingSchool--upgrades>h2{margin:0 0 12px;padding:10px 12px;border:solid transparent;border-width:7px 14px;border-image:url(../ui-soft/result-wood.webp) 40 95 fill / 7px 14px;border-radius:0;background:none;color:#fff4d5;font-size:20px}.preparationScreen.preparationScreen--training .trainingSchool--upgrades .trainingOptions{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:14px}.preparationScreen.preparationScreen--training .trainingSchool--upgrades .trainingOptions article{position:relative;min-width:0;gap:8px;padding:12px;border:3px solid #bd9252;border-radius:10px;background:linear-gradient(#fff7df,#efd9a8);box-shadow:inset 0 0 0 1px #fff9e7,0 3px #8c643933}.preparationScreen.preparationScreen--training .trainingUpgradeTitle{display:flex;align-items:center;gap:8px;min-height:38px;font-size:16px;line-height:1.4;color:#4d3015}.trainingUpgradeTitle img{flex:0 0 36px;width:36px;height:36px;object-fit:contain;filter:drop-shadow(0 2px 1px #51341650)}.trainingUpgradeTitle span{min-width:0;overflow-wrap:anywhere}.preparationScreen.preparationScreen--training .trainingUpgradeState{align-self:flex-start;padding:3px 8px;border:1px solid #aa8752;border-radius:5px;background:#e5d8b8;color:#5c482c;font-size:11px;font-weight:800}.preparationScreen.preparationScreen--training .trainingOptions article[data-unlocked=true] .trainingUpgradeState{background:#f4dc9f;color:#5a3815}.preparationScreen.preparationScreen--training .trainingOptions article[data-learned=true]{border-color:#997138}.preparationScreen.preparationScreen--training .trainingOptions article[data-learned=true] .trainingUpgradeState{background:#755126;color:#fff4d1}.preparationScreen.preparationScreen--training .trainingOptions article[data-active=true]{border-color:#785522;box-shadow:inset 0 0 0 2px #f9d786,0 3px #8c643933}.preparationScreen.preparationScreen--training .trainingSchool--upgrades .trainingOptions :is(p,small){color:#4b371e;line-height:1.6}.preparationScreen.preparationScreen--training .trainingSchool--upgrades .trainingOptions button{min-height:44px;padding:9px;border:2px solid #d5a956;border-radius:9px;background:var(--soft-wood);color:#fff5d9;box-shadow:inset 0 1px #f4d591,0 2px #65421c;text-shadow:0 1px #4c2d11}.preparationScreen.preparationScreen--training .trainingSchool--upgrades .trainingOptions button[aria-pressed=true]{background:linear-gradient(#f3d795,#c6a362);color:#4b3015;border-color:#91652e;text-shadow:none;box-shadow:inset 0 0 0 1px #fff2c1,0 2px #65421c}.preparationScreen.preparationScreen--training .trainingSchool--upgrades .trainingOptions button:disabled{opacity:1;background:#d9c9a6;color:#685438;border-color:#ac9469;box-shadow:inset 0 1px #f5e8c9;text-shadow:none;cursor:not-allowed}.preparationScreen.preparationScreen--training .trainingSchool--upgrades button:focus-visible{outline:3px solid #64421e;outline-offset:3px}@media(max-width:400px){.preparationScreen.preparationScreen--training .trainingSchool--upgrades{padding:10px 5px;border-width:9px;border-image-width:9px}.preparationScreen.preparationScreen--training .trainingSchool--upgrades .trainingOptions{gap:12px}}.settingsScreen .audioSettingsPopover .settingsLegalLinks{gap:7px}.settingsScreen .audioSettingsPopover .settingsLegalLinks a{min-height:44px;padding:7px 5px;border:2px solid #b88e4b;border-radius:9px;background:linear-gradient(#fff5d9,#ead09b);color:#4b3219;font-size:11px;line-height:1.4;box-shadow:inset 0 1px #fffaf0,0 2px #79512a33;overflow-wrap:anywhere}.settingsScreen .audioSettingsPopover .settingsLegalLinks a:hover{color:#40270e;background:#f5dfa9;border-color:#805628}.settingsScreen .audioSettingsPopover .settingsLegalLinks a:focus-visible{outline:3px solid #62421f;outline-offset:2px;color:#40270e}@media(max-width:360px){.settingsScreen .audioSettingsPopover .settingsLegalLinks{grid-template-columns:repeat(2,minmax(0,1fr))}}.stagePickerActive{position:relative}.activeWorldPreparing{position:absolute;right:4%;bottom:5%;padding:2px 8px;border:1px solid #e9c16c;border-radius:999px;background:#54361fee;color:#fff5d4;font-size:clamp(10px,1.2vw,14px);font-weight:900;line-height:1.3;pointer-events:none}.activeWorldInvite{width:min(420px,calc(100vw - 24px));padding:22px}.activeWorldInvite:before,.activeWorldInvite h2:before{display:none}.activeWorldInvite h2{padding-right:32px;font-size:clamp(18px,5vw,24px)}.activeWorldInviteClose{position:absolute;top:10px;right:10px;width:36px;height:36px;border:1px solid #b49750;border-radius:8px;background:#f2dba7;color:#50341c;font-size:24px;cursor:pointer}.activeWorldInvite label{display:block;margin-bottom:6px;font-weight:700}.activeWorldInvite input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:10px;border:2px solid #b49550;border-radius:8px;background:#fff8e5;color:#50341c;font-size:16px}.activeWorldInvite input:focus-visible,.activeWorldInviteClose:focus-visible{outline:3px solid #258c85;outline-offset:2px}.activeWorldInvite .activeWorldInviteError{min-height:2.8em;margin:8px 0 0;color:#9c3020;line-height:1.4;font-size:14px}.activeWorldInvite .retireConfirmationActions{margin-top:12px;gap:8px}.activeWorldInvite .retireConfirmationActions button{flex:1 1 90px}.preparationScreen--illustrated .preparationRewardChoice{position:relative}.preparationScreen--illustrated .preparationRewardLabel{position:absolute;z-index:1;left:14%;right:14%;top:80%;height:14%;display:grid;align-items:center;pointer-events:none}.preparationScreen--illustrated .preparationRewardLabel .unifiedWoodTitle{width:100%;height:100%;display:grid;place-items:center;padding:0;border-width:4px 10px;border-image-width:4px 10px;font-size:clamp(14px,3.5vw,26px);line-height:1}@media(max-width:700px)and (orientation:portrait){#root .preparationScreen.preparationScreen--illustrated:has(>.preparationHome)>.preparationHeader{position:relative;height:106px;box-sizing:border-box;grid-template-rows:44px 60px}#root .preparationScreen.preparationScreen--illustrated:has(>.preparationHome)>.preparationHeader>h1{position:absolute;grid-area:auto;inset:46px auto auto 50%;transform:translate(-50%);width:230px;height:80px;max-width:none;margin:0}#root .preparationScreen.preparationScreen--illustrated:has(>.preparationHome)>.preparationHeader>strong{position:absolute;grid-area:auto;inset:132px auto auto 50%;transform:translate(-50%);width:194px;height:38px;max-width:none;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:6px;padding:5px 10px;margin:0;font:800 10px/1.1 Arial,sans-serif;letter-spacing:normal}#root .preparationScreen.preparationScreen--illustrated:has(>.preparationHome) .preparationMedalCoin{width:22px;height:22px;font-size:13px;box-sizing:border-box}#root .preparationScreen.preparationScreen--illustrated:has(>.preparationHome) .preparationMedalLabel{font:700 10px/1 Arial,sans-serif;letter-spacing:normal}#root .preparationScreen.preparationScreen--illustrated:has(>.preparationHome) .preparationMedalValue{font:700 18px/1 Arial,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:normal}}@media(min-width:401px)and (max-width:700px)and (orientation:portrait){#root .preparationScreen.preparationScreen--illustrated:has(>.preparationHome)>.preparationHeader{height:107px}}.settingsScreen .audioSettingsPopover>.settingsVolumeRow{grid-template-columns:42px 100px minmax(0,1fr) 36px}@media(max-width:400px){.settingsScreen .audioSettingsPopover>.settingsVolumeRow{grid-template-columns:32px 78px minmax(0,1fr) 32px}}.settingsScreen .audioSettingsPopover .settingsMuteSwitch{padding:0 6px 0 42px}.settingsScreen .audioSettingsPopover .settingsMuteSwitch[aria-pressed=true]{padding:0 42px 0 6px}.settingsScreen .settingsMuteSwitch:after{top:50%;transform:translateY(-50%)}@media(max-width:360px){.settingsScreen .settingsScreenHeader{padding-bottom:58px}.settingsScreen .settingsScreenHeader>h2{grid-column:2;grid-row:1}:is(#root,.settingsScreen).settingsScreen .settingsScreenHeader>button:has(.preparationControlLayer){position:absolute;top:auto;bottom:12px;width:90px;height:44px}.settingsScreen .settingsScreenHeader>.settingsBack{left:5px}.settingsScreen .settingsScreenHeader>.settingsClose{right:5px}.settingsScreen .settingsScreenHeader .preparationControlLayer .preparationPlateCaption{font-size:12px;white-space:nowrap}}@media(max-width:360px)and (max-height:450px){.settingsScreen .settingsScreenHeader{padding-bottom:55px}:is(#root,.settingsScreen).settingsScreen .settingsScreenHeader>button:has(.preparationControlLayer){bottom:9px}}.retireConfirmation h2{display:flex;align-items:flex-start;gap:8px}.retireConfirmation h2:before{flex:0 0 34px;margin-right:0}.preparationScreen.preparationScreen--catalog{padding:max(8px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));background:#65a842 url(../ui-soft/preparation-forest.webp) center/cover}.preparationScreen--catalog:not(.preparationScreen--training),.preparationScreen--catalog>.preparationHeader{font:800 14px/1.4 Relic Settings Rounded,Hiragino Maru Gothic ProN,sans-serif}.preparationScreen.preparationScreen--catalog>.preparationHeader{display:grid;grid-template-columns:190px minmax(0,1fr) 190px;grid-template-rows:54px 40px;max-width:1100px;gap:3px 12px;margin:0 auto 10px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.preparationScreen--catalog .preparationHeader>button,.preparationScreen--catalog .preparationHeader>.audioSettingsControl>.panelHeading{width:140px;min-width:0;height:54px;min-height:44px;padding:0;border:0;border-radius:20px;background:transparent url(../ui-soft/settings-back-v2.webp) center/contain no-repeat;box-shadow:none;text-shadow:none;color:transparent}.preparationScreen--catalog .preparationHeader>button{grid-column:1;grid-row:1}.preparationScreen--catalog .preparationHeader>.audioSettingsControl{grid-column:3;grid-row:1;justify-self:end}.preparationScreen--catalog .preparationHeader>.audioSettingsControl>.panelHeading{width:174px;background-image:url(../ui-soft/preparation-settings.webp)}.preparationScreen.preparationScreen--catalog .preparationHeader>h1{grid-column:2;grid-row:1 / 3;width:100%;height:100%;max-width:540px;justify-self:center;padding:0;margin:0;border:0;border-radius:0;background:var(--catalog-title,url(../ui-soft/shop-title.webp)) center/contain no-repeat;box-shadow:none}.preparationScreen--catalog .preparationHeader>h1:before{content:none}.preparationScreen--catalog .preparationHeader>:is(h1,button)>span{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.preparationScreen--catalog .preparationHeader>strong{display:flex;align-items:center;justify-content:center;gap:6px;grid-column:3;grid-row:2;box-sizing:border-box;width:100%;min-width:0;padding:5px 9px;font-size:13px;border:2px solid #ffe5a0;border-radius:999px;background:linear-gradient(#4e3a19,#251c0a);color:#fff3c4;box-shadow:inset 0 0 0 2px #967039,0 2px #533613;text-shadow:0 1px #271609}.preparationScreen--catalog .preparationMedalValue{font-size:1.5em}.preparationScreen.preparationScreen--catalog>.preparationShop{display:flex;flex-direction:column;min-height:0;max-width:1100px;padding:0;margin:0 auto;background:none;border:0;border-radius:0;box-shadow:none;overflow:hidden;scrollbar-gutter:auto;color:#493019;font:inherit}.preparationScreen--catalog :is(button,input,select){font-family:inherit}.shopToolbar{position:relative;z-index:4;flex:0 0 auto;padding:0 6px 5px}.preparationShop .shopSearch{display:flex;align-items:center;gap:10px;box-sizing:border-box;width:min(100%,820px);min-height:62px;margin:0 auto 12px;padding:5px 22px;border:12px solid transparent;border-image:url(../ui-soft/result-frame.webp) 80 fill / 17px / 0 stretch;color:#39260e;filter:drop-shadow(0 4px 1px #38240b90)}.shopSearch>svg{flex:0 0 auto;width:30px;height:30px}.preparationShop .shopSearch>input{display:block;flex:1;min-width:0;max-width:none;width:100%;padding:3px 0;margin:0;border:0;border-radius:0;background:transparent;color:#473119;box-shadow:none;font-size:20px;font-weight:800}.shopSearch>input::placeholder{color:#7c6a4d;opacity:1}.shopSearch:focus-within{outline:3px solid #42caff;outline-offset:0;border-radius:25px}.shopCategoryTabs{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:0 10px 10px}.shopCategoryTabs:after{content:"";position:absolute;inset:auto 0 0;height:12px;border:2px solid #553318;border-radius:4px;background:linear-gradient(#f2c56d 0 28%,#bd7c2f 30% 65%,#84501e);box-shadow:0 3px #432a12}.preparationShop .shopCategoryTabs>button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:52px;padding:7px 5px 10px;border:3px solid #805126;border-radius:22px 22px 5px 5px;background:linear-gradient(#fff0b7,#eac479);box-shadow:inset 0 0 0 2px #ffeda8,inset 0 -3px #ce9b4c;color:#41280f;font-size:23px;font-weight:800;text-shadow:0 1px #fff7dd}.preparationShop .shopCategoryTabs>button[aria-pressed=true]{background:linear-gradient(#15c7ff,#078fd2 68%,#056b9f);color:#fff6d5;box-shadow:inset 0 0 0 2px #8ceaff,inset 0 -4px #006d9e;text-shadow:0 2px #154663}.shopCategoryTabs svg{flex:0 0 auto;width:30px;height:30px}.shopCategoryTabs span{white-space:nowrap}.shopFilterOptions{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;min-height:32px;padding:8px 8px 3px;color:#fff8d5;text-shadow:0 1px 3px #1c3813,0 1px 4px #1c3813;font-size:12px}.shopOwnedFilter{display:flex;align-items:center;gap:4px;white-space:nowrap;cursor:pointer}.preparationShop .shopOwnedFilter>input{width:17px;height:17px;max-width:none;margin:0;padding:0;accent-color:#169dba}.preparationShop .shopFilterOptions>select{width:126px;max-width:100%;min-height:28px;padding:2px 3px;margin:0;border:1px solid #a47837;border-radius:8px;background:#fff1ce;color:#51391b;font-size:11px}.shopResultCount{white-space:nowrap}.preparationShop .shopFilterReset{min-height:28px;padding:2px 9px;border:1px solid #f5d27f;border-radius:9px;background:#745025;font-size:11px}.shopHelp{position:relative;margin-left:auto}.shopHelp>.panelHeading{cursor:pointer;padding:5px 0}.shopHelp>p{position:absolute;z-index:5;top:100%;right:0;width:min(340px,calc(100vw - 40px));box-sizing:border-box;margin:0;padding:14px;max-height:180px;overflow:auto;border:3px solid #d5ac60;border-radius:12px;background:#fff3d2;box-shadow:0 6px 20px #1d281880;color:#4b341b;text-shadow:none;font-size:13px}.shopCatalog{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#ca9b4f #24381566;padding:8px 14px 32px}.shopCatalog:focus-visible{outline:2px solid #8ceaff;outline-offset:-2px}.preparationShop .preparationShopGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:32px 20px;margin:0}.preparationShopGrid .shopProduct{position:relative;isolation:isolate;container-type:inline-size;display:flex;flex-direction:column;gap:0;min-width:0;margin:0;padding:8% 0 6%;border:0;border-radius:0;background:none;box-shadow:none}.shopProduct:before{content:"";position:absolute;z-index:2;inset:0;background:url(../ui-soft/shop-product-frame.webp) center/100% 100% no-repeat;pointer-events:none}.shopProduct:after{content:"";position:absolute;z-index:3;bottom:-14px;left:-13px;right:-13px;height:24px;border:2px solid #613815;border-radius:5px;background:repeating-linear-gradient(0deg,#0000 0 7px,#532c1529 8px 9px),linear-gradient(#edb962 0 24%,#a66a2a 25% 70%,#683b18);box-shadow:0 5px #432c16,0 9px 5px #18381b6b}.shopProductSurface{position:absolute;z-index:-1;inset:3% 4% 3.5%;border-radius:18% 18% 12% 12%/10% 10% 8% 8%;background:repeating-linear-gradient(0deg,#0000 0 26px,#3f210cb0 27px 29px,#edbd6333 30px 31px),linear-gradient(#8d5728,#4c2b11);box-shadow:inset 0 0 18px #32180c}.preparationShopGrid .shopProduct .shopProductArt{display:block;position:relative;z-index:3;flex:0 0 auto;width:84%;height:clamp(100px,56cqw,210px);min-height:0;margin:0 auto;padding:0 7%;border:0;border-radius:20px 20px 0 0;background:none;box-shadow:none}.preparationShopGrid .shopProductArt>img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;image-rendering:auto;filter:drop-shadow(0 3px 2px #35170b66)}.preparationShop .shopProductArt:disabled{opacity:1}.shopZoomGlyph{position:absolute;right:-2%;top:0;display:grid;place-items:center;width:40px;height:43px;border:2px solid #523514;border-radius:12px;background:linear-gradient(#fff0ba,#e6b762);color:#30210f;box-shadow:inset 0 0 0 2px #ffeec0,0 3px #452a11}.shopZoomGlyph>svg{width:23px;height:23px}.shopProductInfo{display:flex;flex:1;flex-direction:column;align-items:stretch;gap:4px;position:relative;z-index:3;width:82%;box-sizing:border-box;margin:0 auto;padding:7px 5% 0;border:1px solid #fce3a4;border-bottom:0;border-radius:15px 15px 9px 9px;background:linear-gradient(#fff0c4,#f4d48c);text-align:center}.shopProductNumber{color:#795b2e;font-size:clamp(8px,3.3cqw,11px);line-height:1.2}.preparationShopGrid .shopProductName{display:flex;align-items:center;justify-content:center;min-height:2.4em;color:#fff6d7;font-size:clamp(17px,8.6cqw,28px);line-height:1.2;font-weight:800;letter-spacing:-.035em;-webkit-text-stroke:3px #38210d;paint-order:stroke fill;text-shadow:0 2px #38210d;overflow-wrap:anywhere}.preparationShopGrid .shopProductDescription{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;flex:none;height:4.05em;margin:0;overflow:hidden;font-size:clamp(12px,6cqw,19px);line-height:1.35;color:#4d351b;text-align:left;overflow-wrap:anywhere}.shopOwnedCount{align-self:center;display:flex;align-items:baseline;justify-content:center;gap:6px;min-width:65%;padding:2px 8px;border-radius:999px;background:linear-gradient(#8c7549,#4b381b);color:#ffeeb8;font-size:clamp(11px,4.5cqw,16px);white-space:nowrap}.preparationShopGrid .shopOwnedCount>strong{color:#fffdf0;font-size:1.2em}.shopAvailability{display:flex;flex-direction:column;justify-content:center;min-height:3.5em;font-size:clamp(9px,3.5cqw,12px);line-height:1.3;color:#74512b}.shopAvailability>small{font-size:inherit;overflow-wrap:anywhere}.preparationShop .shopBuyButton{display:flex;align-items:center;justify-content:center;gap:5px;position:relative;min-height:52px;width:112%;margin:3px -6% -4px;padding:5px 6px;border:3px solid #ffe18a;border-radius:18px;background:linear-gradient(#79dc2f,#30a820 45%,#10852b 80%);box-shadow:0 0 0 2px #704214,inset 0 0 0 2px #27702d,inset 0 3px #cfff92,0 4px #513715;color:#fff8d7;font-weight:800;font-size:clamp(13px,5cqw,19px);line-height:1.15;text-shadow:0 2px #23461b}.preparationShopGrid .shopBuyButton>img{width:30px;height:30px;flex:0 0 auto;object-fit:contain}.preparationShopGrid .shopBuyButton strong{color:#fffce4;font-size:1.5em;-webkit-text-stroke:2px #23461b;paint-order:stroke fill}.preparationShop .shopBuyButton:disabled{opacity:1;cursor:not-allowed;background:linear-gradient(#ad9b77,#7a6b4c);box-shadow:0 0 0 2px #6a4b25,inset 0 0 0 2px #8e7549,0 3px #513715;color:#fff5d7;text-shadow:0 1px #61482b}.shopUnavailableLabel{font-size:clamp(10px,4cqw,14px);overflow-wrap:anywhere}.preparationShop .shopBuyButton:enabled:hover{filter:brightness(1.1)}.preparationShop .shopBuyButton:enabled:active{transform:translateY(2px)}.preparationScreen--catalog :is(button,.panelHeading,select):focus-visible{outline:3px solid #8eeeff;outline-offset:2px}.shopEmptyMessage{padding:26px 15px;margin:18px auto;background:#fff0ce;border:3px solid #c69645;border-radius:16px;text-align:center}.shopCardDialog{box-sizing:border-box;width:fit-content;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:10px;border:3px solid #d4ae63;border-radius:18px;background:#fff0cd;color:#4b3219;overflow:auto;text-align:center;font-family:inherit}.shopCardDialog::backdrop{background:#0c1c14d9}.preparationShopGrid img{max-width:100%}.preparationShop .shopCardDialog>img{display:block;width:auto;height:min(72dvh,760px);max-width:100%;object-fit:contain;margin:auto;image-rendering:auto}.shopCardDialog>p{margin:5px 0;font-size:14px}.preparationShop .shopCardDialog>button{min-height:44px;padding:8px 30px;border:2px solid #e3b55e;border-radius:12px;background:var(--soft-wood);color:#fff6d3}@media(min-width:1000px){.preparationShop .preparationShopGrid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(min-width:700px)and (max-width:999px){.preparationShop .preparationShopGrid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:640px){.preparationScreen.preparationScreen--catalog>.preparationHeader{grid-template-columns:minmax(0,1fr) 128px;grid-template-rows:44px 66px;gap:2px 7px;margin-bottom:5px}.preparationScreen--catalog .preparationHeader>button{width:98px;height:44px}.preparationScreen--catalog .preparationHeader>.audioSettingsControl{grid-column:2}.preparationScreen--catalog .preparationHeader>.audioSettingsControl>.panelHeading{width:122px;height:44px}.preparationScreen.preparationScreen--catalog .preparationHeader>h1{grid-column:1;grid-row:2;height:66px}.preparationScreen--catalog .preparationHeader>strong{grid-column:2;grid-row:2;font-size:9px;gap:4px;padding:7px 5px}.shopToolbar{padding:0 1px 4px}.preparationShop .shopSearch{min-height:48px;padding:2px 9px;border-width:9px;border-image-width:13px;gap:8px;margin-bottom:8px}.shopSearch>svg{width:22px;height:22px}.preparationShop .shopSearch>input{font-size:16px}.shopCategoryTabs{gap:2px;padding-inline:3px;padding-bottom:8px}.preparationShop .shopCategoryTabs>button{min-height:44px;padding:5px 1px 8px;gap:3px;border-width:2px;border-radius:14px 14px 3px 3px;font-size:15px}.shopCategoryTabs svg{width:20px;height:22px}.shopCategoryTabs:after{height:9px}.shopFilterOptions{gap:3px 7px;padding:7px 3px 0;font-size:10px}.preparationShop .shopFilterOptions>select{width:105px;font-size:10px}.shopHelp>.panelHeading{font-size:9px}.shopCatalog{padding:6px 6px 28px}.preparationShop .preparationShopGrid{gap:26px 12px}.shopProduct:after{left:-8px;right:-8px;bottom:-12px;height:20px}.shopProductInfo{gap:3px;padding:5px 4% 0}.shopZoomGlyph{width:30px;height:32px;right:-3%;border-radius:9px}.shopZoomGlyph>svg{width:18px;height:18px}.preparationShop .shopBuyButton{min-height:44px;padding:4px 2px;gap:3px;border-radius:13px}.preparationShopGrid .shopBuyButton>img{width:23px;height:23px}.preparationShopGrid .shopProductName{font-size:16px;-webkit-text-stroke:2.6px #38210d}}@media(max-width:360px){.preparationScreen.preparationScreen--catalog>.preparationHeader{grid-template-columns:minmax(0,1fr) 116px}.shopCategoryTabs svg{width:16px}.preparationShop .shopCategoryTabs>button{font-size:13px}.shopFilterOptions{gap:2px 5px}.shopHelp{margin-left:0}.preparationShopGrid .shopProductName{font-size:14px}.preparationShopGrid .shopProductDescription{font-size:11px}.shopOwnedCount{font-size:10px;gap:3px}.preparationShop .shopBuyButton{font-size:11px}.preparationShopGrid .shopBuyButton>img{width:20px;height:20px}}@media(max-height:500px)and (orientation:landscape){.preparationScreen.preparationScreen--catalog{padding-block:4px}.preparationScreen.preparationScreen--catalog>.preparationHeader{grid-template-columns:90px minmax(120px,1fr) 132px 102px;grid-template-rows:50px;gap:6px;margin-bottom:4px}.preparationScreen--catalog .preparationHeader>button{grid-column:1;grid-row:1;width:90px;height:44px}.preparationScreen.preparationScreen--catalog .preparationHeader>h1{grid-column:2;grid-row:1;height:50px}.preparationScreen--catalog .preparationHeader>strong{grid-column:3;grid-row:1;font-size:9px;padding:5px}.preparationScreen--catalog .preparationHeader>.audioSettingsControl{grid-column:4;grid-row:1}.preparationScreen--catalog .preparationHeader>.audioSettingsControl>.panelHeading{width:102px;height:44px}.preparationShop .shopSearch{min-height:40px;border-width:7px;margin-bottom:4px;padding-block:0}.preparationShop .shopSearch>input{font-size:16px}.preparationShop .shopCategoryTabs>button{min-height:40px;font-size:16px;padding:3px 4px 6px}.shopCategoryTabs svg{width:22px;height:22px}.shopFilterOptions{padding-top:3px;min-height:28px}.preparationShop .preparationShopGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.preparationShop .shopCardDialog>img{height:calc(100dvh - 140px)}}.preparationShopGrid .shopProduct--unknown .shopProductArt>img{width:auto;height:100%;max-width:100%;margin:auto;clip-path:inset(2.3% 3.6% 3.1% round 3px);image-rendering:pixelated}.preparationShopGrid .shopProduct--unknown .shopProductArt{filter:drop-shadow(0 3px 2px #35170b66)}.preparationShop .shopOwnedFilter{box-sizing:border-box;min-height:44px;padding:5px 9px;gap:7px;border:2px solid #bc9250;border-radius:9px;background:linear-gradient(#fff5d9,#ead09b);box-shadow:inset 0 1px #fffaf0,0 2px #55381b55;color:#4b3219;text-shadow:none}.preparationShop .shopOwnedFilter:has(input:checked){border-color:#70501f;background:#e5ce91;box-shadow:inset 0 0 0 1px #fff2bc,0 2px #55381b55}.preparationShop .shopOwnedFilter>input{appearance:none;position:relative;flex:0 0 19px;width:19px;height:19px;border:2px solid #8d622e;border-radius:4px;background:#fff8e7}.preparationShop .shopOwnedFilter>input:checked{background:#78501f;border-color:#59391a}.preparationShop .shopOwnedFilter>input:checked:after{content:"";position:absolute;left:4px;top:1px;width:5px;height:9px;border:solid #fff3c1;border-width:0 2px 2px 0;transform:rotate(45deg)}.preparationShop .shopFilterOptions>select{min-height:44px;width:auto;max-width:100%;padding:6px 8px;border:2px solid #bc9250;border-radius:9px;background:linear-gradient(#fff5d9,#ead09b);color:#4b3219;font:inherit;box-shadow:inset 0 1px #fffaf0,0 2px #55381b55}.preparationShop .shopFilterReset{min-height:44px;padding:6px 12px;border:2px solid #c99b52;border-radius:9px;background:var(--soft-wood);color:#fff3ce}.preparationShop :is(.shopOwnedFilter input,.shopFilterOptions select,.shopFilterReset):focus-visible{outline:3px solid #fff0a8;outline-offset:2px;box-shadow:0 0 0 5px #62421f}@media(max-width:400px){.preparationShop .shopFilterOptions{gap:6px;font-size:11px}.preparationShop .shopOwnedFilter{padding-inline:6px}.preparationShop .shopFilterOptions>select{padding-inline:5px}}.preparationShop .shopHelp{position:relative}.preparationShop .preparationSupplyEntry{position:absolute;top:0;right:0;min-height:32px;padding:4px 10px;border:1px solid #ad966d;border-radius:8px;background:#fff8e7;color:#493019;font:inherit}.preparationSupplyChoices{width:min(520px,calc(100vw - 24px));box-sizing:border-box;color:#493019;font:inherit;overflow-wrap:anywhere}.preparationSupplyHeader{display:flex;align-items:center;justify-content:space-between;gap:8px}.preparationSupplyHeader h2{margin:0;font:inherit}.preparationSupplyChoices p{margin:8px 0;line-height:1.5}.preparationSupplyChoices section{border-top:1px solid #d8c8a8;margin-top:10px;padding-top:8px}.preparationSupplyChoices h3{margin:0;font:inherit}.preparationSupplyChoices ul{padding:0;margin:8px 0;list-style:none}.preparationSupplyChoices li{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0}.preparationSupplyChoices li span{min-width:0}.preparationSupplyChoices button{flex-shrink:0;min-height:44px;font:inherit}@media(max-width:480px){.preparationSupplyChoices li{align-items:stretch;flex-direction:column}}.preparationScreen--manual{--catalog-title:url(../ui-soft/manual-title.webp)}.preparationScreen--rewards{--catalog-title:url(../ui-soft/rewards-title.webp)}.preparationScreen--manual>.gameManual{max-width:1100px;border:0;border-radius:0;background:none;box-shadow:none;color:#452b12;overflow:hidden;font:inherit}.preparationScreen--manual .manualChapters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:0 6%;overflow:visible;background:none;isolation:isolate}.preparationScreen--manual .manualChapters>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:82px;padding:6px 4px 12px;border:3px solid #584022;border-radius:30px 30px 4px 4px;background:linear-gradient(#ffeabb,#e1b667);color:#fff8dc;font-size:18px;font-weight:800;box-shadow:inset 0 0 0 3px #f2cd73,0 3px 2px #1f301990;text-shadow:0 2px #543715;-webkit-text-stroke:2px #422b18;paint-order:stroke fill;line-height:1.15}.preparationScreen--manual .manualChapters>.manualChapterTab--1{background:linear-gradient(#8dc841,#3e942d);box-shadow:inset 0 0 0 3px #b5db61,0 3px 2px #1f301990}.preparationScreen--manual .manualChapters>.manualChapterTab--2{background:linear-gradient(#f89446,#c3512c);box-shadow:inset 0 0 0 3px #ffc582,0 3px 2px #1f301990}.preparationScreen--manual .manualChapters>.manualChapterTab--4{background:linear-gradient(#ac68db,#693ba2);box-shadow:inset 0 0 0 3px #d3a5f3,0 3px 2px #1f301990}.preparationScreen--manual .manualChapters>.manualChapterTab--3{background:linear-gradient(#56c9e7,#287dad);box-shadow:inset 0 0 0 3px #a3eaff,0 3px 2px #1f301990}.preparationScreen--manual .manualChapters>.manualChapterTab--5{background:linear-gradient(#e8be50,#b78528);box-shadow:inset 0 0 0 3px #ffe39a,0 3px 2px #1f301990}.preparationScreen--manual .manualChapters>button[aria-pressed=true]{background:linear-gradient(#fff7df,#ffe4aa);color:#3d2914;text-shadow:0 1px #fffce9;-webkit-text-stroke:0;border-color:#a9772c;box-shadow:inset 0 0 0 3px #ffe49d,0 0 0 2px #fff1b6;transform:translateY(-3px)}.manualChapterTab>span{white-space:nowrap}.preparationScreen--manual .manualChapters>:is(.manualChapterTab--3,.manualChapterTab--5){font-size:16px}.manualChapterTab>svg{width:34px;height:34px;flex:0 0 auto}.manualBook{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;margin-top:-6px;position:relative;padding:28px 6% clamp(46px,6vw,70px);background:url(../ui-soft/manual-book.webp) center/100% 100% no-repeat;filter:drop-shadow(0 4px 3px #17381666)}.manualReadingTools{display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;gap:6px 12px;padding-bottom:8px}.preparationScreen--manual .manualInputMode{display:flex;gap:0;padding:0;border:2px solid #af803f;border-radius:999px;background:#e5c48a;overflow:hidden}.preparationScreen--manual .manualInputMode button{flex:0 1 auto;min-height:36px;padding:5px 14px;border:0;border-radius:0;color:#5b4220;background:transparent;font-size:12px;font-weight:800}.preparationScreen--manual .manualInputMode button[aria-pressed=true]{color:#fffce7;background:linear-gradient(#21bcec,#087dad);text-shadow:0 1px #1b4c63}.preparationScreen--manual .manualContent{flex:1 1 auto;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:0 12px 12px 2px;background:none;color:#49311b;line-height:1.8;font-weight:700;scrollbar-width:thin;scrollbar-color:#c9994e #f8e3b1;overflow-wrap:anywhere}.preparationScreen--manual .manualContent>.manualEyebrow{margin:0 0 4px;font-size:10px;color:#8e6c3c;letter-spacing:.06em}.preparationScreen--manual .manualContent h2,.preparationScreen--manual .manualContent .manualWoodHeading,.preparationScreen--rewards .rewardWalletPanel .rewardWoodHeading{display:flex;justify-content:center;align-items:center;box-sizing:border-box;min-height:65px;width:min(100%,530px);margin:0 auto 12px;padding:14px clamp(24px,5vw,60px);border:0;background:url(../ui-soft/result-wood.webp) center/100% 100% no-repeat;color:#fff8dd;font-size:clamp(21px,3vw,32px);line-height:1.25;font-weight:800;text-align:center;-webkit-text-stroke:3px #38220e;paint-order:stroke fill;text-shadow:0 2px #38220e}.preparationScreen--manual .manualContent h3{color:#68401a}.manualMovementIntro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:5%;max-width:760px;margin:0 auto 14px}.manualScene,.manualDirectionGuide{min-width:0;margin:0}.manualScene{max-width:290px;width:100%;justify-self:center}.manualScene>img{display:block;width:100%;height:auto;box-sizing:border-box;border:9px solid #bca477;border-radius:24px;box-shadow:0 0 0 2px #81623a,inset 0 0 0 2px #fff7cf}.manualScene figcaption{font-size:10px;text-align:center;margin-top:3px;color:#8b6d44}.preparationScreen--manual .manualKeys{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-width:260px;margin:auto;padding:8px;background:radial-gradient(#f4d88d,#fff0 70%)}.preparationScreen--manual .manualKeys kbd{display:grid;place-items:center;min-width:0;min-height:46px;padding:8px 2px;border:2px solid #8d6434;border-bottom-width:4px;border-radius:13px;background:linear-gradient(#fff9dd,#f0ce8b);color:#048dcc;box-shadow:inset 0 0 0 2px #fff1bd,0 2px #bd955a;font:800 23px/1.1 Relic Settings Rounded,sans-serif;text-shadow:0 1px #e7f6ff}.preparationScreen--manual .manualKeys kbd:nth-child(5){font-size:14px;color:#714c24}.manualDirectionGuide figcaption{margin-top:12px;font-size:16px;text-align:center;line-height:1.5}.manualDirectionGuide figcaption>small{display:block;margin-top:5px;color:#997d52;font-size:10px}.manualCardPrimer{border-top:2px solid #d3b579;padding-top:14px}.preparationScreen--manual .manualCardPrimer>.manualWoodHeading{margin-bottom:10px}.manualCardPrimer>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:5%;max-width:760px;margin:auto}.manualExampleCards{display:flex;justify-content:center;align-items:center;min-width:0;padding:12px 5px 14px}.manualExampleCard{flex:0 0 33%;min-width:0;max-width:108px;padding:6px 3px 0;border:3px solid #ae7b35;border-radius:13px;background:linear-gradient(#fff2c3,#edc471);box-shadow:0 2px 2px #6b4b2377,inset 0 0 0 2px #ffecad;transform:rotate(-12deg) translateY(5px)}.manualExampleCard--1{z-index:1;transform:translateY(-5px)}.manualExampleCard--2{transform:rotate(12deg) translateY(5px)}.manualExampleCard>img{display:block;width:100%;height:auto;border:1px solid #8d6228;border-radius:8px;background:linear-gradient(#683920,#ad6053)}.manualExampleCard--1>img{background:linear-gradient(#ac4127,#efad52)}.manualExampleCard--2>img{background:linear-gradient(#252266,#7861bb)}.manualExampleCard>b{display:block;color:#ffc82e;font-size:24px;line-height:1.15;text-align:center;-webkit-text-stroke:1px #98601d}.preparationScreen--manual .manualCardPrimer p{margin:0;font-size:17px;line-height:1.65}.manualCardPrimer p>small{display:block;margin-top:8px;color:#8b6d40;font-size:12px}.manualExtraDetails{margin:18px 0 0;padding:0 12px;border:2px solid #ceac6d;border-radius:12px;background:#fff6da99}.preparationScreen--manual .manualExtraDetails>h3{margin:0;padding:14px 0 8px;color:#775020;font-size:20px}.preparationScreen--manual .manualContent :is(table,.manualColumns,.manualSpecials){max-width:100%}.preparationScreen--manual .manualContent table{table-layout:fixed}.preparationScreen--manual .manualContent :is(th,td){border-color:#d2af73}.preparationScreen--manual .manualContent th{background:#f0d698}.preparationScreen--manual .manualContent .manualSpecials h3{color:#68401a}.preparationScreen--manual .manualNote,.preparationScreen--manual .manualWarning{background:#fff4d5}.preparationScreen--rewards>.rewardWalletPanel{display:flex;flex-direction:column;gap:20px;max-width:1100px;padding:4px 14px 30px;background:none;color:#483018;border-radius:0;font:inherit;scrollbar-width:thin;scrollbar-color:#deb56b #31542366}.rewardWelcome{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(0,1.2fr);gap:16px;align-items:center;padding:22px 28px;border:18px solid transparent;border-image:url(../ui-soft/result-frame.webp) 80 fill / 26px / 0 stretch}.rewardWelcome>img{display:block;width:100%;max-width:320px;height:auto;justify-self:center;border:3px solid #b7863e;border-radius:22px;box-shadow:0 3px #be913f}.rewardWelcome>div{min-width:0}.rewardPreparingBadge{display:inline-block;padding:4px 14px;border:2px solid #e9bf64;border-radius:999px;background:#8f6530;color:#fff6ce;font-size:13px}.preparationScreen--rewards .rewardWelcome h2{margin:10px 0;font-size:clamp(19px,2.8vw,30px);color:#54320f;line-height:1.4}.rewardWelcome p{margin:0 0 14px;font-size:14px;line-height:1.8}.preparationScreen--rewards .rewardWelcome .rewardAdUnavailable{width:100%;min-height:44px;padding:8px;border:2px solid #ba995d;border-radius:14px;background:linear-gradient(#d7c498,#ad9566);color:#58442a;font:inherit;opacity:1;cursor:not-allowed}.preparationScreen--rewards .rewardWalletPanel .rewardWoodHeading{min-height:64px;margin-bottom:-4px;position:relative;z-index:1;width:min(100%,490px);font-size:clamp(21px,3vw,29px)}.preparationScreen--rewards .rewardWalletBalances{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.preparationScreen--rewards .rewardWalletBalances>article{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:24px 12px 20px;border:16px solid transparent;border-radius:0;border-image:url(../ui-soft/result-frame.webp) 80 fill / 22px / 0 stretch;background:none;box-shadow:none;text-align:center}.rewardTicketIcon{display:block;width:100px;height:74px;margin:0 auto 4px;overflow:visible;filter:drop-shadow(0 3px 1px #9d6d3880)}.preparationScreen--rewards .rewardBalance>span{font-size:17px;color:#664117}.preparationScreen--rewards .rewardBalance>strong{display:flex;align-items:baseline;justify-content:center;gap:6px;width:90%;max-width:250px;padding:4px 10px;border-radius:999px;background:linear-gradient(#886435,#4c331b);color:#fff2b7;font-size:32px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.rewardBalance>strong small{font-size:14px}.rewardBalance>p{margin:4px 0 0;font-size:13px}.rewardBalance>small{font-size:11px;color:#947348}.rewardExchangeHelp{margin:12px 0;padding:5px 8px;color:#fff8d7;text-align:center;text-shadow:0 1px 3px #244a1c,0 1px 4px #244a1c;font-size:14px}.preparationScreen--rewards .rewardRingGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.preparationScreen--rewards .rewardRingGrid>article{display:flex;flex-direction:column;gap:6px;min-width:0;padding:16px 12px;border:14px solid transparent;border-radius:0;border-image:url(../ui-soft/result-frame.webp) 80 fill / 20px / 0 stretch;background:none;box-shadow:none;text-align:center}.rewardRingArt{padding:4px 12%;border:2px solid #8d5e2d;border-radius:18px;background:repeating-linear-gradient(0deg,#0000 0 25px,#512d1738 26px 28px),linear-gradient(#9c6935,#533014)}.preparationScreen--rewards .rewardRingArt img{display:block;width:100%;height:auto;max-height:150px;background:none;object-fit:contain;border-radius:0;filter:drop-shadow(0 3px #3d210c66)}.rewardRingGrid article>strong{font-size:18px;line-height:1.35;color:#513414}.rewardRingGrid article>p{flex:1;margin:0;font-size:12px;line-height:1.7;text-align:left}.rewardRingOwned{display:flex;gap:5px;align-items:baseline;justify-content:center;align-self:center;padding:2px 10px;border-radius:999px;background:#dfc18a;color:#5b4020;font-size:11px}.rewardRingOwned b{font-size:14px}.preparationScreen.preparationScreen--rewards .rewardWalletPanel .rewardRingGrid button{min-height:46px;padding:6px 4px;margin:5px 0 0;border:2px solid #f6d06e;border-radius:13px;background:linear-gradient(#63c832,#218e32);box-shadow:0 0 0 1px #7d5226,inset 0 0 0 2px #4b8f28,0 3px #644014;color:#fffce5;font-size:14px;font-weight:800;text-shadow:0 1px #296123}.preparationScreen.preparationScreen--rewards .rewardWalletPanel .rewardRingGrid button:disabled{opacity:1;background:linear-gradient(#bfab85,#8f7955);color:#fff8df;box-shadow:0 0 0 1px #967142,inset 0 0 0 2px #b29868,0 3px #71532f;text-shadow:0 1px #695339;cursor:not-allowed}.preparationScreen--rewards .rewardWalletMessage{position:sticky;z-index:4;bottom:0;flex:0 0 auto;margin:0;padding:12px;border:3px solid #d1b46d;border-radius:14px;background:#f5ffe0;color:#2e5624;box-shadow:0 2px 12px #19301155;text-align:center}@media(max-width:900px){.preparationScreen--manual .manualChapters{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding-bottom:5px}.preparationScreen--manual .manualChapters>button{min-height:62px;padding:6px 4px;border-radius:18px}.preparationScreen--manual .manualChapters>button[aria-pressed=true]{transform:none}.manualChapterTab>svg{width:27px;height:27px}}@media(max-width:640px){.preparationScreen--manual .manualChapters{gap:4px;padding:0 5%}.preparationScreen--manual .manualChapters>button{min-height:58px;padding:5px 2px;border-width:2px;border-radius:14px;font-size:17px;gap:1px}.preparationScreen--manual .manualChapters>:is(.manualChapterTab--3,.manualChapterTab--5){font-size:12px}.manualChapterTab>svg{width:26px;height:26px}.manualBook{padding:23px 6% 38px}.manualReadingTools{padding-bottom:7px;gap:4px}.preparationScreen--manual .manualInputMode button{padding:5px 11px;min-height:36px;font-size:10px}.preparationScreen--manual .manualContent{font-size:13px;padding:0 5px 10px 0}.preparationScreen--manual .manualContent>.manualEyebrow{display:none}.preparationScreen--manual .manualContent h2,.preparationScreen--manual .manualContent .manualWoodHeading{min-height:51px;margin-bottom:10px;padding:12px 10%;font-size:22px;-webkit-text-stroke-width:2.5px}.manualMovementIntro{gap:4%;margin-bottom:12px}.manualScene>img{border-width:5px;border-radius:14px}.manualScene figcaption{font-size:8px}.preparationScreen--manual .manualKeys{padding:3px;gap:4px}.preparationScreen--manual .manualKeys kbd{min-height:30px;padding:6px 0;border-radius:8px;font-size:17px;border-bottom-width:3px}.preparationScreen--manual .manualKeys kbd:nth-child(5){font-size:10px}.manualDirectionGuide figcaption{margin-top:7px;font-size:12px}.manualDirectionGuide figcaption>small{font-size:8px;margin-top:3px}.manualCardPrimer{padding-top:11px}.manualCardPrimer>div{gap:4%}.preparationScreen--manual .manualCardPrimer p{font-size:13px;line-height:1.6}.manualCardPrimer p>small{font-size:10px;margin-top:5px}.manualExampleCards{padding:10px 2px}.manualExampleCard{border-width:2px;border-radius:8px;padding:4px 2px 0}.manualExampleCard>img{border-radius:4px}.manualExampleCard>b{font-size:18px}.manualExtraDetails{padding:0 8px}.preparationScreen--manual .manualExtraDetails>h3{font-size:16px}.preparationScreen--rewards>.rewardWalletPanel{padding:2px 0 24px;gap:16px}.rewardWelcome{gap:10px;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);padding:10px 7px;border-width:13px;border-image-width:20px}.rewardWelcome>img{border-width:2px;border-radius:12px}.rewardPreparingBadge{font-size:10px;padding:3px 9px;border-width:1px}.preparationScreen--rewards .rewardWelcome h2{margin:6px 0;font-size:17px}.rewardWelcome p{margin-bottom:8px;font-size:11px;line-height:1.7}.preparationScreen--rewards .rewardWelcome .rewardAdUnavailable{font-size:11px;min-height:40px;padding:4px;border-radius:10px}.preparationScreen--rewards .rewardWalletPanel .rewardWoodHeading{min-height:55px;padding:14px 35px;font-size:22px;-webkit-text-stroke-width:2.5px}.preparationScreen--rewards .rewardWalletBalances{gap:8px}.preparationScreen--rewards .rewardWalletBalances>article{padding:18px 4px 11px;border-width:11px;border-image-width:17px}.rewardTicketIcon{width:80px;height:59px}.preparationScreen--rewards .rewardBalance>span{font-size:12px}.preparationScreen--rewards .rewardBalance>strong{font-size:24px;padding:2px 8px}.rewardBalance>strong small{font-size:11px}.rewardBalance>p{font-size:10px}.rewardBalance>small{font-size:9px}.rewardExchangeHelp{margin:9px 0;font-size:11px}.preparationScreen--rewards .rewardRingGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.preparationScreen--rewards .rewardRingGrid>article{border-width:11px;border-image-width:16px;padding:9px 4px;gap:5px}.rewardRingArt{padding:2px 8%;border-radius:11px}.rewardRingGrid article>strong{font-size:13px}.rewardRingGrid article>p{font-size:11px}.rewardRingOwned{padding:2px 6px;font-size:9px}.rewardRingOwned b{font-size:12px}.preparationScreen.preparationScreen--rewards .rewardWalletPanel .rewardRingGrid button{font-size:11px;border-radius:10px}}@media(max-width:360px){.preparationScreen--manual .manualChapters>button{font-size:17px}.preparationScreen--manual .manualContent h2,.preparationScreen--manual .manualContent .manualWoodHeading{font-size:19px}.preparationScreen--manual .manualKeys kbd{font-size:14px;min-height:26px}.preparationScreen--manual .manualKeys kbd:nth-child(5){font-size:9px}.manualDirectionGuide figcaption,.preparationScreen--manual .manualCardPrimer p{font-size:11px}.rewardWelcome{grid-template-columns:1fr;gap:9px}.rewardWelcome>img{width:150px}.rewardWelcome>div{text-align:center}.rewardWelcome p{text-align:left}.preparationScreen--rewards .rewardBalance>span{font-size:11px}}@media(max-height:500px)and (orientation:landscape){.preparationScreen--manual .manualChapters{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;padding:0 2% 4px}.preparationScreen--manual .manualChapters>button{flex-direction:column;min-height:48px;padding:3px 1px 5px;border-radius:12px;font-size:13px;gap:3px}.preparationScreen--manual .manualChapters>:is(.manualChapterTab--3,.manualChapterTab--5){font-size:10px}.manualChapterTab>svg{width:20px;height:20px}.manualBook{padding-top:17px;padding-bottom:25px}.manualReadingTools{gap:4px;flex-wrap:nowrap;padding-bottom:4px}.preparationScreen--manual .manualInputMode button{min-height:32px;font-size:10px;padding:4px 9px;white-space:nowrap}.preparationScreen--manual .manualInputMode{flex-shrink:0}}.manualDirectionKey{display:flex;flex-direction:column;align-items:center;gap:2px}.manualDirectionKey>svg{width:32px;height:32px;filter:drop-shadow(0 1px #796341)}.manualDirectionKey>span{font-size:11px;line-height:1}@media(max-width:640px){.manualDirectionKey>svg{width:23px;height:23px}.manualDirectionKey>span{font-size:9px}}.manualContent:focus-visible{outline:2px solid #a87836;outline-offset:-2px;border-radius:6px}.preparationScreen--manual .manualInputMode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:max-content}.preparationScreen--manual .manualInputMode>button{white-space:nowrap}.preparationScreen--rewards .dailyLoginEntry{border-color:transparent;border-radius:0;border-image:url(../ui-soft/result-wood.webp) 40 95 fill /7px 18px;background:none;box-shadow:none}.preparationScreen--rewards .rewardBalance>small{margin-top:auto}.rewardBalance--casino[role=button]{cursor:pointer}.rewardBalance--casino[role=button]:focus-visible{outline:3px solid #258c85;outline-offset:3px}body:has(.mapSelectionScreen):before,body:has(.mapSelectionScreen) #root:before{content:none}body:has(.mapSelectionScreen) #root{min-height:100dvh}body:has(.mapSelectionScreen) .app.mapSelectionScreen{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;box-sizing:border-box;width:100%;max-width:none;height:100dvh;min-height:0;margin:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);overflow:hidden;border:0;border-radius:0;background:#68a849;color:#3a240c;font:800 16px/1.25 Relic Settings Rounded,Hiragino Maru Gothic ProN,sans-serif}.mapSelectionScreen :is(button,.panelHeading),.worldLocationDialog button{font:inherit;cursor:pointer}.mapSelectionScreen :is(button,.panelHeading):focus-visible{outline:3px solid #82f8ff;outline-offset:-3px}.mapSelectionScreen button:disabled{cursor:default}.mapVisuallyHidden{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.mapScreenHeader{position:relative;flex:none;z-index:5;width:100%;box-sizing:border-box;margin:0;padding:0}.mapScreenHeader>h1{position:absolute;margin:0;padding:0;background:none;border:0;color:transparent;font-size:0;pointer-events:none}.mapScreenHeader>h1:before,.mapScreenHeader>h1:after{content:none}.mapSelectionScreen .mapScreenHeader>.audioSettingsControl{position:absolute;inset:auto;margin:0;padding:0;transform:none;z-index:2}.mapSelectionScreen .mapScreenHeader>.audioSettingsControl>.panelHeading,.mapSelectionScreen .mapBackButton{width:100%;height:100%;min-height:44px;margin:0;padding:0;display:block;color:transparent;font-size:0;border:0;border-radius:16px;background:none;box-shadow:none;text-shadow:none;list-style:none}.mapScreenHeader>.audioSettingsControl>.panelHeading::-webkit-details-marker{display:none}.mapSelectionScreen .mapBackButton{position:absolute}.mapMedalBalance{position:absolute;container-type:size;pointer-events:none}.mapMedalBalance strong{display:grid;place-items:center;position:absolute;left:58%;top:23%;width:35%;height:54%;border-radius:4px;background:linear-gradient(#503211,#35200c);color:#fff7df;font:900 49cqh/1 Arial,Hiragino Kaku Gothic ProN,sans-serif;text-shadow:0 2px 1px #211506;font-variant-numeric:tabular-nums;letter-spacing:-.035em;white-space:nowrap}.stageSelect.stagePicker{display:block;position:relative;isolation:isolate;flex:1;width:100%;height:100%;min-height:0;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;aspect-ratio:auto;background:url(../ui-soft/maps/stage-desktop.webp) center/100% 100% no-repeat;box-shadow:none;container-type:size;overflow:hidden}.stageSelect.stagePicker:before,.stageSelect.stagePicker:after{content:none}.stagePicker>.mapScreenHeader{position:absolute;inset:0 0 auto;height:19%}.stagePicker .mapScreenHeader>h1{left:31%;top:1%;width:38%;height:97%}.stagePicker .mapMedalBalance{left:1.5%;top:10.6%;width:19.1%;height:44%}.stagePicker .mapMedalBalance strong{left:58%;top:23%;width:35%;height:54%}.stagePicker .mapScreenHeader>.audioSettingsControl{left:85.7%;top:10%;width:13.2%;height:43%}.stagePickerGrid{position:absolute;inset:0;pointer-events:none}.stagePicker .stagePickerCard{position:absolute;pointer-events:auto;display:block;margin:0;padding:0;min-height:0;min-width:0;border:0;border-radius:14%;background:transparent;box-shadow:none;color:#fff4cc;touch-action:manipulation}.stagePickerCard--locked{backdrop-filter:brightness(.62) saturate(.55);-webkit-backdrop-filter:brightness(.62) saturate(.55)}.stagePickerCard:enabled:hover{box-shadow:inset 0 0 0 3px #9efbff,0 0 9px #75ebff}.stagePickerState{position:absolute;bottom:7%;left:14%;right:14%;padding:3px;border:1px solid #e5c680;border-radius:8px;background:#453219f0;color:#fff6d3;text-align:center;font-size:clamp(10px,1.4cqw,20px)}.stagePickerMenu{position:absolute;inset:0;pointer-events:none}.stagePickerMenu>button{position:absolute;pointer-events:auto;width:34%;height:13.8%;bottom:1.8%;border:0;border-radius:30px;padding:0;margin:0;background:none;box-shadow:none}.stagePickerMenu .stagePickerWorld{left:12%}.stagePickerMenu .stagePickerPreparation{left:52%;width:36.5%}.stagePicker .stagePickerCard:nth-child(-n+5){top:19.1%;height:33%}.stagePicker .stagePickerCard:nth-child(n+6){top:52.8%;height:31%}.stagePicker .stagePickerCard:nth-child(5n+1){left:2.65%;width:18.7%}.stagePicker .stagePickerCard:nth-child(5n+2){left:21.8%;width:18.7%}.stagePicker .stagePickerCard:nth-child(5n+3){left:41%;width:18.7%}.stagePicker .stagePickerCard:nth-child(5n+4){left:60.25%;width:18.6%}.stagePicker .stagePickerCard:nth-child(5n+5){left:79.25%;width:18.5%}.mapScreenHeader--world{height:clamp(46px,5.3vw,108px);background:url(../ui-soft/maps/world-desktop.webp) left top/100% 1180.9524% no-repeat}.mapSelectionScreen .mapScreenHeader--world .mapBackButton{left:1.2%;top:3%;width:16%;height:94%}.mapScreenHeader--world>h1{left:35%;top:0;width:29.5%;height:100%}.mapSelectionScreen .mapScreenHeader--world>.audioSettingsControl{left:88.3%;top:2%;width:11.5%;height:96%}.mapScreenHeader--world .mapMedalBalance{left:71.1%;top:12%;width:17.1%;height:79%}.mapScreenHeader--world .mapMedalBalance strong{left:53%;width:35%;top:23%;height:55%;background:linear-gradient(#4d3213,#38230d)}.worldExplorer{position:relative;flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:0}.worldMapViewportFrame{position:relative;min-width:0;min-height:0;overflow:hidden;overscroll-behavior:contain;touch-action:pan-x pan-y}.worldMapViewportFrame>.worldExplorerViewport{position:absolute;inset:0;display:grid}.worldExplorerViewport{position:relative;min-width:0;min-height:0;width:100%;height:100%;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;scroll-behavior:auto;scrollbar-width:none;border:0;background:#69d7ea;cursor:grab;-webkit-user-select:none;user-select:none}.worldExplorer[data-phone-labels=tap]>.worldMapViewportFrame>.worldExplorerViewport{overscroll-behavior-y:none}.worldExplorerViewport:active{cursor:grabbing}.worldExplorerViewport::-webkit-scrollbar{display:none}.worldExplorerCanvas{position:relative;flex:none;margin:auto}.worldExplorer:not(.worldExplorer--overview) .worldExplorerCanvas{margin-block:0}.worldExplorer--overview .worldExplorerViewport{display:grid}.worldProposalMap{position:absolute;inset:0;pointer-events:none;background:url(../ui-soft/maps/world-desktop.webp) left bottom/137.826087% 109.251101% no-repeat}.worldProposalNeutralPatch{position:absolute;inset:0;pointer-events:none;background:url(../ui-soft/maps/world-desktop-alternate.webp) left bottom/137.913043% 109.251101% no-repeat;mask-image:radial-gradient(ellipse 5% 7% at 16.1% 20.7%,#000 58%,transparent 94%);-webkit-mask-image:radial-gradient(ellipse 5% 7% at 16.1% 20.7%,#000 58%,transparent 94%)}.worldProposalColor{position:absolute;inset:0;pointer-events:none;mask-size:100% 100%;-webkit-mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat}.worldColorDefinitions{position:absolute;pointer-events:none}.worldProposalColor--blue{filter:url(#worldCrystalBlue)}.worldProposalColor--gold{filter:url(#worldCrystalGold)}.worldProposalColor--gray{filter:grayscale(1) brightness(.87)}.worldExplorer .worldStageHotspot{--world-accent:#81ecff;border:0;background:transparent;box-shadow:none}.worldExplorer .worldStageHotspot--completed{--world-accent:#ffe46a}.worldExplorer .worldStageHotspot--locked{--world-accent:#d3d3d3}.worldExplorer .worldStageHotspot--castle{width:13%;height:16%}.worldExplorer .worldStageHotspot--shrine{width:6.2%;height:9%}.worldExplorer .worldStageHotspot>i{display:none}.worldExplorer .worldStageHotspot--castle:not([data-art-location-id=casino-base])>i{display:block;opacity:1;top:12%;height:auto;aspect-ratio:24/37;transform:translate(-50%,-50%);border:0;border-radius:0;box-shadow:none;background:url(../ui-soft/maps/world-desktop.webp) 78.717% 23.0969%/2419.85% 1240% no-repeat;clip-path:polygon(50% 3%,82% 22%,82% 58%,93% 71%,97% 89%,84% 99%,16% 100%,3% 89%,5% 73%,15% 59%,17% 23%)}.worldExplorer .worldStageHotspot--castle.worldStageHotspot--completed>i{background-position:89.57% 23.0969%}.worldExplorer .worldStageHotspot--castle.worldStageHotspot--locked>i{filter:grayscale(1) brightness(.8)}.worldExplorer .worldStageHotspot[aria-disabled=false]{cursor:pointer}.worldExplorer .worldStageHotspot[aria-disabled=true]{cursor:help}.worldExplorer .worldStageHotspot:is(:hover,:focus-visible){outline-color:var(--world-accent)}.worldExplorer .worldStageHotspot--selected{outline:3px solid var(--world-accent);outline-offset:0;box-shadow:0 0 14px 4px var(--world-accent),inset 0 0 6px var(--world-accent)}.worldExplorer .worldStageHotspot span{display:block;opacity:0;bottom:-3%;font-size:clamp(11px,1.15vw,20px);padding:3px 9px;border:2px solid #ffe8a6;color:#fff6d6;background:linear-gradient(#67491f,#221b0c);box-shadow:0 2px #654116}.worldExplorer .worldStageHotspot:hover span,.worldExplorer .worldStageHotspot:focus-visible span{opacity:1}.worldExplorer .worldStageHotspot--selected span{background:linear-gradient(#287a9e,#074b69)}.worldLocationPanel{position:relative;isolation:isolate;container-type:inline-size;min-width:0;min-height:0;display:flex;flex-direction:column;gap:0;padding:clamp(10px,1.25vw,24px);background:url(../ui-soft/maps/world-desktop.webp) right bottom/364.3678% 109.2511% no-repeat}.worldLocationPanel:before{content:"";position:absolute;z-index:-1;inset:2.6% 3.2% 3%;border-radius:20px;background:linear-gradient(#fff1ca,#ffe9af 55%,#ffe8ad)}.worldLocationPanel>h2{flex:none;display:block;aspect-ratio:424/112;margin:0 -1%;padding:0;border:0;width:102%;color:transparent;font-size:0;background:url(../ui-soft/maps/world-desktop.webp) 99.655% 10.9091%/373.82075% 885.71429% no-repeat}.worldLegend{display:flex;justify-content:space-around;align-items:center;flex:none;width:100%;min-height:48px;margin:0;gap:3px}.worldLegend>span{display:flex;align-items:center;gap:3px;color:#493018;font-size:clamp(10px,2.7vw,14px);white-space:nowrap}.worldLegend .worldGem{width:20px;height:31px}.worldLocationRows{display:flex;flex-direction:column;flex:1;min-height:0;gap:5px;padding:4px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bd934d transparent}.worldLocationRow{position:relative;flex:none;container-type:size;width:100%;height:auto;min-height:44px;aspect-ratio:376/66;margin:0;padding:0;border:0;border-radius:16px;box-shadow:none;color:#301c08;background:url(../ui-soft/maps/world-desktop.webp) 97.51861% 62.95896%/421.54255% 1503.0303% no-repeat}.worldLocationRow--complete{background-position:97.51861% 32.07343%}.worldLocationRow>strong{position:absolute;left:4%;top:16%;width:29%;height:65%;display:grid;place-items:center;background:linear-gradient(#fff6d8,#ffedbc);border-radius:9px;color:#2c1b08;font:900 46cqh/1 Relic Settings Rounded,sans-serif;white-space:nowrap}.worldLocationRow[data-long-name=true]>strong{font-size:32cqh}.worldLocationRow>.worldGem{display:none}.worldLocationRow>span:last-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.worldLocationRow--base>span:last-child{clip-path:none;display:grid;place-items:center;left:57%;top:22%;width:35%;height:50%;border-radius:6px;background:#996625;color:#fff7df;font-size:32cqh;text-shadow:0 2px #58390e}.worldLocationRow[aria-pressed=true]{outline:2px solid #48dcff;outline-offset:-2px;box-shadow:0 0 6px 3px #4bdcff,inset 0 0 0 5px #d4ffff}.worldPanelActions{flex:none;display:flex;flex-direction:column;gap:5px;padding-top:5px}.mapSelectionScreen .mapWoodButton{display:block;width:100%;aspect-ratio:423/130;padding:0;margin:0;border:0;border-radius:16px;background:url(../ui-soft/maps/world-desktop.webp) 99.39759% 84.22274%/374.70449% 763.07692% no-repeat}.mapSelectionScreen .mapPaperButton{display:block;width:100%;aspect-ratio:400/101;padding:0;margin:0;border:0;border-radius:16px;background:url(../ui-soft/maps/world-desktop.webp) 99.49367% 96.9697%/396.25% 982.17822% no-repeat}.worldPanelActions button>span{color:transparent;font-size:0}.worldMapDock{position:relative;flex:none;width:100%;height:clamp(150px,33vw,220px);background:url(../ui-soft/maps/world-mobile.webp) left bottom/100% 725.98425% no-repeat}.worldSelectedLocation{position:absolute;left:3.5%;top:3%;width:62%;height:44%;display:flex;align-items:center;gap:8px;margin:0;padding:10px 22px;box-sizing:border-box;border:0;border-image:url(../ui-soft/result-frame.webp) 80 fill / 26px / 0 round;color:#38220b;cursor:default;font-family:Relic Settings Rounded,Hiragino Maru Gothic ProN,sans-serif}.worldLocationInfoIcon{flex:none;display:grid;place-items:center;width:clamp(36px,7vw,70px);height:100%}.worldLocationInfoIcon .worldGem{width:30px;height:46px}.worldSelectedLocation--base .worldLocationInfoIcon{width:clamp(48px,13vw,140px)}.worldLocationInfoIcon img{display:block;width:100%;height:100%;object-fit:contain}.worldLocationInfoCopy{flex:1;min-width:0}.worldLocationInfoHeading{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px}.worldLocationInfoHeading>strong{display:block;flex:none;max-width:100%;box-sizing:border-box;padding:4px 22px 6px;border:0;border-image:url(../ui-soft/result-wood.webp) 43 95 fill / 12px 25px / 0 stretch;color:#fff5d8;font-size:clamp(19px,3vw,28px);line-height:1.1;font-weight:900;white-space:nowrap;-webkit-text-stroke:3px #39200c;paint-order:stroke fill;text-shadow:0 2px #39200c}.worldSelectedLocation--base .worldLocationInfoHeading>strong{min-width:140px;text-align:center}.worldLocationInfoHeading>span{font-size:clamp(12px,2vw,17px);line-height:1.2}.worldLocationInfoCopy>p{margin:3px 0 0;font-size:clamp(12px,1.7vw,19px);line-height:1.3;overflow-wrap:anywhere}.worldRequirementEnding{white-space:nowrap}.worldSelectedLocation--panel{position:static;flex:none;width:100%;height:auto;min-height:100px;margin:4px 0;padding:12px 17px}.worldSelectedLocation--panel .worldLocationInfoIcon{width:34px;height:58px}.worldSelectedLocation--panel.worldSelectedLocation--base .worldLocationInfoIcon{width:82px}.worldSelectedLocation--panel .worldLocationInfoHeading>strong{min-width:0;font-size:21px;padding-inline:16px}.worldSelectedLocation--panel .worldLocationInfoHeading>span{font-size:13px}.worldSelectedLocation--panel .worldLocationInfoCopy>p{font-size:13px}.worldGem{display:block;flex:none;width:24px;height:37px;background:url(../ui-soft/maps/world-desktop.webp) 78.717% 23.0969%/2419.85% 1240% no-repeat;clip-path:polygon(50% 3%,82% 22%,82% 58%,93% 71%,97% 89%,84% 99%,16% 100%,3% 89%,5% 73%,15% 59%,17% 23%)}.worldGem--complete{background-position:89.57% 23.0969%}.worldGem--locked{filter:grayscale(1) brightness(.8)}.worldPanHint{position:absolute;right:4%;top:7%;width:27%;height:32%}.worldPanHint>span{color:transparent;font-size:0}.mapSelectionScreen .mapBlueButton{position:absolute;left:4%;top:50%;width:45%;height:44%;margin:0;padding:0;min-height:44px;border:0;border-radius:16px;background:none;box-shadow:none}.mapSelectionScreen .worldOverviewButton{left:51%}.mapBlueButton>span{color:transparent;font-size:0}.worldOverviewButton--active>span{position:absolute;left:29%;top:24%;width:64%;height:47%;display:grid;place-items:center;color:#fff9dc;background:linear-gradient(#0874b8,#06568f);font-size:clamp(17px,4.5vw,28px);-webkit-text-stroke:2px #063655;paint-order:stroke fill;text-shadow:0 2px #063655}.worldLocationDialog{box-sizing:border-box;width:min(520px,calc(100vw - 20px));height:min(760px,calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));max-height:calc(100dvh - 24px);min-height:0;padding:20px;margin:auto;overflow:hidden;border:12px solid transparent;border-image:url(../ui-soft/result-frame.webp) 80 fill / 22px / 0 stretch;color:#493018;background:transparent;font:800 16px/1.4 Relic Settings Rounded,sans-serif}.worldLocationDialog[open]{display:grid;grid-template-rows:auto auto auto minmax(0,1fr);gap:8px}.worldLocationDialog::backdrop{background:#092e29b8}.worldLocationDialog>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.worldLocationDialog h2{font-size:20px;margin:0}.worldLocationDialog>p{margin:0;font-size:12px}.worldLocationDialog>header>button{flex:none;min-height:44px;padding:6px 12px;border:2px solid #cba455;border-radius:12px;background:#785022;color:#fff5cc}.worldLocationDialog .worldLocationRows{height:100%;min-height:0;max-height:none;box-sizing:border-box;-webkit-overflow-scrolling:touch}.worldLocationDialog button:focus-visible{outline:3px solid #039fd6;outline-offset:1px}.worldChallengeDialog{box-sizing:border-box;width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:22px 18px;margin:auto;overflow:auto;overscroll-behavior:contain;border:14px solid transparent;border-image:url(../ui-soft/result-frame.webp) 80 fill / 25px / 0 stretch;background:transparent;color:#492b10;text-align:center;font:800 17px/1.45 Relic Settings Rounded,Hiragino Maru Gothic ProN,sans-serif}.worldChallengeDialog[open]{display:grid;gap:12px}.worldChallengeDialog::backdrop{background:#092e299e}.worldChallengeDialog h2{margin:0;padding:8px 12px;border:10px solid transparent;border-image:url(../ui-soft/result-wood.webp) 43 95 fill / 17px 28px / 0 stretch;font-size:27px;line-height:1.15;color:#fff6dd;-webkit-text-stroke:3px #40250d;paint-order:stroke fill;text-shadow:0 2px #40250d}.worldChallengeDestination{display:grid;grid-template-columns:52px auto;justify-content:center;align-items:center;column-gap:14px;padding:7px}.worldChallengeDestination>.worldGem{grid-row:1 / 3;width:52px;height:80px;filter:drop-shadow(0 0 8px #67dbed)}.worldChallengeDestination>.worldGem--complete{filter:drop-shadow(0 0 8px #ffde6a)}.worldChallengeDestination>strong{align-self:end;font-size:36px;line-height:1.1}.worldChallengeDestination>span:last-child{align-self:start;margin-top:6px;padding:3px 12px;border:1px solid #b58135;border-radius:12px;background:#fff3ca;font-size:14px}.worldChallengeDialog p{margin:0}#worldChallengeQuestion{font-size:clamp(19px,5vw,24px);overflow-wrap:anywhere}#worldChallengeHint{font-size:13px;color:#70512b}.worldChallengeActions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:5px}.worldChallengeActions button{min-height:54px;padding:8px 10px;border:3px solid #8f5e1d;border-radius:17px;box-shadow:inset 0 0 0 2px #ffe7a6,0 3px #825318;cursor:pointer;color:#fff8e3;font:800 23px/1.2 Relic Settings Rounded,sans-serif;-webkit-text-stroke:3px #4f300d;paint-order:stroke fill;text-shadow:0 2px #4f300d}.worldChallengeNo{background:linear-gradient(#d2a251,#9f6b2e)}.worldChallengeYes{background:linear-gradient(#31cbf6,#0879c9)}.worldChallengeActions button:focus-visible{outline:3px solid #027da8;outline-offset:3px}@media(max-height:550px)and (orientation:landscape){.worldLocationDialog{padding:10px 16px}.worldLocationDialog .worldLegend{justify-self:center;width:100%}.worldChallengeDialog{padding:10px 16px}.worldChallengeDialog[open]{gap:6px}.worldChallengeDialog h2{font-size:22px;padding:5px 10px}.worldChallengeDestination{grid-template-columns:30px auto auto;column-gap:10px;padding:0}.worldChallengeDestination>.worldGem{grid-row:auto;width:30px;height:46px}.worldChallengeDestination>strong{align-self:center;font-size:25px}.worldChallengeDestination>span:last-child{align-self:center;margin:0}.worldChallengeActions button{min-height:46px}}@media(min-width:1100px)and (min-aspect-ratio:3/2){.worldExplorer{grid-template-columns:minmax(0,72.5552fr) minmax(0,27.4448fr);grid-template-rows:minmax(0,1fr)}}@media(max-width:900px)and (orientation:portrait){.stageSelect.stagePicker{background-image:url(../ui-soft/maps/stage-mobile.webp)}.stagePicker>.mapScreenHeader{height:14.2%}.stagePicker .mapScreenHeader>h1{left:23%;top:34%;width:56%;height:60%}.stagePicker .mapMedalBalance{left:3%;top:4.5%;width:35.5%;height:30%}.stagePicker .mapMedalBalance strong{left:55%;top:18%;width:35%;height:60%;background:linear-gradient(#694219,#47290e);-webkit-text-stroke:1px #39220d;paint-order:stroke fill}.stagePicker .mapScreenHeader>.audioSettingsControl{left:67%;top:2%;width:31%;height:35%}.stagePicker .stagePickerCard:nth-child(n){width:47%;height:14.35%}.stagePicker .stagePickerCard:nth-child(odd){left:2%}.stagePicker .stagePickerCard:nth-child(2n){left:51%}.stagePicker .stagePickerCard:nth-child(-n+2){top:14.3%}.stagePicker .stagePickerCard:nth-child(n+3):nth-child(-n+4){top:29.1%}.stagePicker .stagePickerCard:nth-child(n+5):nth-child(-n+6){top:43.8%}.stagePicker .stagePickerCard:nth-child(n+7):nth-child(-n+8){top:58.5%}.stagePicker .stagePickerCard:nth-child(n+9){top:73%}.stagePickerMenu>button{top:88.7%;bottom:auto;height:8.2%;border-radius:20px}.stagePickerMenu .stagePickerWorld{left:3%;width:46%}.stagePickerMenu .stagePickerPreparation{left:51%;width:46%}.stagePickerState{bottom:7%;font-size:clamp(11px,3.5cqw,22px)}.mapScreenHeader--world{height:25.791vw;background-image:url(../ui-soft/maps/world-mobile.webp);background-size:100% 838.1818%}.mapSelectionScreen .mapScreenHeader--world .mapBackButton{left:1.5%;top:5%;width:26.3%;height:48%}.mapScreenHeader--world>h1{left:29%;top:0;width:42.5%;height:73%}.mapSelectionScreen .mapScreenHeader--world>.audioSettingsControl{left:72.4%;top:5%;width:26%;height:48%}.mapScreenHeader--world .mapMedalBalance{left:65.6%;top:59.8%;width:33%;height:36.7%}.mapScreenHeader--world .mapMedalBalance strong{left:54%;width:39%;top:22%;height:57%}.worldExplorer .worldStageHotspot span{opacity:1;font-size:clamp(12px,3.4vw,21px);border-width:2px;padding:3px 8px}.worldExplorer--overview .worldStageHotspot span{opacity:0}.worldExplorer--overview .worldStageHotspot:focus-visible span{opacity:1}}@media(max-width:600px)and (orientation:portrait){.worldMapDock{height:190px}.worldSelectedLocation{left:3%;top:3%;width:65%;height:44%;padding:7px 13px;gap:4px;border-image-width:16px}.worldLocationInfoIcon{width:27px}.worldLocationInfoIcon .worldGem{width:24px;height:37px}.worldSelectedLocation--base .worldLocationInfoIcon{width:clamp(64px,21vw,82px)}.worldSelectedLocation--base .worldLocationInfoHeading>strong{min-width:82px}.worldLocationInfoHeading{gap:2px 4px}.worldLocationInfoHeading>strong{font-size:18px;padding:3px 14px 5px;border-image-width:10px 18px}.worldLocationInfoHeading>span{font-size:11px}.worldLocationInfoCopy>p{font-size:11px;line-height:1.3}.worldPanHint{right:2%;width:27%}}@media(max-width:360px)and (orientation:portrait){.worldLocationDialog{padding:12px 5px}.worldLocationDialog h2{font-size:17px}}@media(max-height:550px)and (orientation:landscape){.worldMapDock{height:68px;display:grid;grid-template-columns:minmax(180px,1fr) 170px 170px;gap:4px;padding:5px 8px;box-sizing:border-box;background:#ffe7ac;border:3px solid #cda158}.worldSelectedLocation{position:static;width:100%;height:100%;grid-column:1;padding:5px 13px;gap:4px;border-image-width:14px}.worldLocationInfoIcon{width:28px}.worldLocationInfoIcon .worldGem{width:22px;height:34px}.worldSelectedLocation--base .worldLocationInfoIcon{width:60px}.worldSelectedLocation--base .worldLocationInfoHeading>strong{min-width:85px}.worldLocationInfoHeading{gap:1px 4px}.worldLocationInfoHeading>strong{font-size:17px;padding:3px 12px 4px;border-image-width:9px 16px}.worldLocationInfoHeading>span{font-size:11px}.worldLocationInfoCopy>p{font-size:11px;margin-top:1px}.worldPanHint{display:none}.mapSelectionScreen .mapBlueButton{position:static;width:100%;height:100%;min-height:44px;grid-column:2;background:url(../ui-soft/maps/world-mobile.webp) 3.9548% 99.0654%/207.5426% 1174.5223% no-repeat}.mapSelectionScreen .worldOverviewButton{grid-column:3;position:relative;left:auto;top:auto;background-position:98.643% 99.0654%}}@media(max-width:900px)and (orientation:portrait){html:has(.mapSelectionScreen:is(.app--stageSelect,.app--worldMap)),body:has(.mapSelectionScreen:is(.app--stageSelect,.app--worldMap)),body:has(.mapSelectionScreen:is(.app--stageSelect,.app--worldMap)) #root{background:#81cdf0}body:has(.mapSelectionScreen) .app.mapSelectionScreen:is(.app--stageSelect,.app--worldMap){position:relative;background:#81cdf0;--map-day-top:url(../ui-soft/maps/stage-day-top-v1.png);--map-day-bottom:url(../ui-soft/maps/stage-day-bottom-v1.png)}body:has(.mapSelectionScreen) .app.mapSelectionScreen.app--worldMap{--map-day-top:url(../ui-soft/maps/world-day-top-v1.png);--map-day-bottom:url(../ui-soft/maps/world-day-bottom-v1.png)}.mapSelectionScreen:is(.app--stageSelect,.app--worldMap):before,.mapSelectionScreen:is(.app--stageSelect,.app--worldMap):after{content:"";position:absolute;left:env(safe-area-inset-left);right:env(safe-area-inset-right);pointer-events:none;border:0;border-radius:0;box-shadow:none;background-repeat:no-repeat;background-size:100% auto}.mapSelectionScreen:is(.app--stageSelect,.app--worldMap):before{top:0;height:env(safe-area-inset-top);background-image:var(--map-day-top);background-position:center bottom}.mapSelectionScreen:is(.app--stageSelect,.app--worldMap):after{bottom:0;height:env(safe-area-inset-bottom);background-image:var(--map-day-bottom);background-position:center top}}body:has(.stagePicker--reference) .app.mapSelectionScreen{align-items:center;background:#68a849 url(../stage-select/forest-continuous-v3.webp) center/cover;overflow:auto}.stageSelect.stagePicker--reference{--stage-reference:url(../ui-soft/maps/stage-selection-approved-20261008.png);flex:none;width:min(100%,calc(100dvh * 1672 / 941));height:auto;min-height:0;aspect-ratio:1672/941;background:var(--stage-reference) center/100% 100% no-repeat;container-type:inline-size;overflow:visible}.stagePicker--reference>.mapScreenHeader{height:32%;pointer-events:none}.stagePicker--reference .mapScreenHeader>h1{left:31.7%;top:6%;width:36%;height:53%}.stagePicker--reference .mapMedalBalance{left:1.4%;top:6.6%;width:19.2%;height:24%}.stagePicker--reference .mapMedalBalance strong{left:61%;top:23%;width:30%;height:54%;font-size:49cqh}.stagePicker--reference .mapScreenHeader>.audioSettingsControl{left:86.8%;top:5.3%;width:12%;height:25%;min-height:44px;pointer-events:auto}.stagePicker--reference .mapScreenHeader>.releaseTrigger{display:flex;pointer-events:auto;left:21.7%;top:5%;width:6.4%;height:21.3%;min-height:44px;padding:0;border:2px solid #b88943;border-radius:10px;background:linear-gradient(#704826,#452c18);box-shadow:none;font-size:1.2cqw}.stagePicker--reference .releaseTrigger small{font-size:.9cqw}.stagePicker--reference .releaseTrigger strong{font-size:1cqw}.stagePicker--reference .stagePickerGuide{display:none}.stagePicker--reference .stagePickerModes{position:absolute;left:27.5%;top:19.3%;width:45.5%;height:11.9%;display:grid;grid-template-columns:1fr 1.02fr;z-index:2}.stagePicker--reference .stagePickerModes button{min-width:0;min-height:44px;padding:0;margin:0;border:0;border-radius:12px;box-shadow:none;background:transparent;touch-action:manipulation}.stagePicker--reference .stagePickerModes button:hover{box-shadow:inset 0 0 0 3px #b7f5ff}.stagePicker--reference .stagePickerCard:nth-child(n){width:16.65%;height:24.4%;top:31.35%}.stagePicker--reference .stagePickerCard:nth-child(n+6){top:55.8%}.stagePicker--reference .stagePickerCard:nth-child(5n+1){left:7.78%;--art-x:9.326%}.stagePicker--reference .stagePickerCard:nth-child(5n+2){left:24.76%;--art-x:29.698%}.stagePicker--reference .stagePickerCard:nth-child(5n+3){left:41.69%;--art-x:50%}.stagePicker--reference .stagePickerCard:nth-child(5n+4){left:58.67%;--art-x:70.373%}.stagePicker--reference .stagePickerCard:nth-child(5n+5){left:75.54%;--art-x:90.603%}.stagePicker--reference .stagePickerCard:nth-child(-n+5){--art-y:41.491%}.stagePicker--reference .stagePickerCard:nth-child(n+6){--art-y:73.84%}.stagePicker--reference .stagePickerMenu>button{top:81.3%;bottom:auto;height:12.2%;min-height:44px}.stagePicker--reference .stagePickerMenu .stagePickerWorld{left:16.74%;width:27.87%}.stagePicker--reference .stagePickerMenu .stagePickerPreparation{left:56%;width:27.4%}.stagePicker--reference .stagePickerLogo{position:absolute;left:39%;top:93.3%;width:22%;height:5.3%;pointer-events:none}.stagePicker--reference .audioSettingsPopover{max-width:calc(100vw - 24px)}.stagePickerPortraitHero,.stagePickerPortraitDragon{display:none}@media(max-width:700px){.stageSelect.stagePicker--reference{width:100%;height:auto;aspect-ratio:auto;min-height:100dvh;padding:208px 8px 112px;box-sizing:border-box;background:#68a849 url(../stage-select/forest-continuous-v3.webp) center/cover}.stagePicker--reference>.mapScreenHeader{height:150px;background:none}.stagePicker--reference .mapScreenHeader>h1{left:19%;top:53px;width:53%;height:auto;aspect-ratio:600/160;background:var(--stage-reference) 49.44% 2.56%/278.67% 588.13% no-repeat}.stagePicker--reference .mapMedalBalance{left:1.3%;top:6px;width:36%;height:40px;background:var(--stage-reference) 1.775% 1.73%/522.5% 1254.7% no-repeat;border-radius:22px}.stagePicker--reference .mapMedalBalance strong{font-size:21px}.stagePicker--reference .mapScreenHeader>.releaseTrigger{left:39%;top:0;width:23%;height:44px;border:1px solid #b88943;border-radius:8px}.stagePicker--reference .releaseTrigger small{font-size:10px}.stagePicker--reference .releaseTrigger strong{font-size:12px}.stagePicker--reference .mapScreenHeader>.audioSettingsControl{left:64%;top:4px;width:35%;height:44px;background:var(--stage-reference) 98.841% 1.848%/815.6% 1254.7% no-repeat;border-radius:22px}.stagePicker--reference .stagePickerModes{left:4%;top:154px;width:92%;height:48px;gap:3px}.stagePicker--reference .stagePickerModes .stagePickerNormal{background:var(--stage-reference) 35.54% 22.075%/445.87% 840.18% no-repeat}.stagePicker--reference .stagePickerModes .stagePickerActive{background:var(--stage-reference) 65.22% 21.79%/435.42% 818.26% no-repeat}.stagePicker--reference .stagePickerGrid{position:relative;inset:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 5px}.stagePicker.stagePicker--reference .stagePickerCard:nth-child(n){position:relative;inset:auto;width:100%;height:auto;aspect-ratio:1.8;border-radius:12%;background:var(--stage-reference) var(--art-x) var(--art-y)/601.44% 409.13% no-repeat}.stagePicker--reference .stagePickerCard--locked{filter:brightness(.62) saturate(.55);backdrop-filter:none;-webkit-backdrop-filter:none}.stagePicker--reference .stagePickerState{font-size:12px;padding:2px;bottom:5%}.stagePicker--reference .stagePickerMenu{inset:auto 0 39px;height:66px}.stagePicker--reference .stagePickerMenu>button{top:0;height:66px;border-radius:15px}.stagePicker--reference .stagePickerMenu .stagePickerWorld{left:3%;width:46%;background:var(--stage-reference) 22.54% 92.84%/331.09% 718.32% no-repeat}.stagePicker--reference .stagePickerMenu .stagePickerPreparation{left:51%;width:46%;background:var(--stage-reference) 78.5% 93.28%/328.49% 686.86% no-repeat}.stagePicker--reference .stagePickerLogo{left:26%;top:auto;bottom:5px;width:48%;height:29px;background:var(--stage-reference) 49.51% 98.65%/479.08% 1920.4% no-repeat}.stagePicker--reference .stagePickerPortraitHero,.stagePicker--reference .stagePickerPortraitDragon{display:block;position:absolute;top:78px;width:22%;height:74px;pointer-events:none;background:url(../stage-select/mascots-angled-v1.png) left bottom/184.7917% 100% no-repeat}.stagePicker--reference .stagePickerPortraitHero{left:0}.stagePicker--reference .stagePickerPortraitDragon{right:0;top:86px;width:20%;height:66px;background-size:223.4257% 100%;background-position:right bottom}.stagePicker--reference .stagePickerSpeech{display:none}}@media(max-width:700px){.stageSelect.stagePicker--reference{min-height:100%;padding-bottom:8px}.stagePicker--reference .stagePickerSpeech,.stagePicker--reference .stagePickerLogo{display:none}.stagePicker--reference .stagePickerMenu{position:relative;inset:auto;height:66px;margin-top:8px}}@media(max-width:700px)and (max-height:740px){.stageSelect.stagePicker--reference{padding-top:190px}.stagePicker--reference>.mapScreenHeader{height:136px}.stagePicker--reference .stagePickerModes{top:136px}.stagePicker--reference .stagePickerPortraitHero{top:74px;height:60px}.stagePicker--reference .stagePickerPortraitDragon{top:78px;height:56px}.stagePicker--reference .stagePickerGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 5px}.stagePicker--reference .stagePickerCard:last-child{grid-column:2}}@media(max-width:700px){body:has(.stagePicker--reference),body:has(.stagePicker--reference) #root{min-height:0}body:has(.stagePicker--reference) .app.mapSelectionScreen{--stage-safe-top:env(safe-area-inset-top,0px);--stage-safe-bottom:env(safe-area-inset-bottom,0px);height:100vh;height:min(100svh,100dvh);padding-top:var(--stage-safe-top);padding-bottom:var(--stage-safe-bottom);container:stage-viewport / size}.stageSelect.stagePicker--reference{padding-top:174px;padding-bottom:60px}.stagePicker--reference>.mapScreenHeader{height:120px}.stagePicker--reference .stagePickerModes{top:120px}.stagePicker--reference .stagePickerPortraitHero{top:68px;height:50px}.stagePicker--reference .stagePickerPortraitDragon{top:70px;height:48px}.stagePicker--reference .stagePickerGrid{width:100%;max-width:calc((100cqh - 334px)*.72 + 5px);margin-inline:auto}.stagePicker--reference .stagePickerMenu,.stagePicker--reference .stagePickerMenu>button{height:60px}body:has(.stagePicker--reference) .monsterBoxLauncher{left:50%;right:auto;transform:translate(-50%);bottom:calc(env(safe-area-inset-bottom,0px) + 8px);width:calc(100% - 32px);max-width:340px;min-height:45px;padding:8px 12px;font-size:14px;line-height:1.2}}@media(max-width:700px)and (max-height:740px){.stagePicker--reference .stagePickerGrid{max-width:calc((100cqh - 320px)*1.35 + 10px)}}@container stage-viewport (max-height:500px){.stageSelect.stagePicker--reference{padding-top:146px}.stagePicker--reference>.mapScreenHeader{height:92px}.stagePicker--reference .mapScreenHeader>h1{top:43px}.stagePicker--reference .stagePickerModes{top:92px}.stagePicker--reference .stagePickerPortraitHero{top:44px;height:44px}.stagePicker--reference .stagePickerPortraitDragon{top:46px;height:42px}.stagePicker--reference .stagePickerGrid{max-width:calc((100cqh - 292px)*1.35 + 10px)}}@media(max-width:700px){html:has(.mapSelectionScreen.app--stageSelect .stagePicker--reference){min-height:100dvh;background:#68a849 url(../stage-select/forest-continuous-v3.webp) center/cover no-repeat}body:has(.mapSelectionScreen.app--stageSelect .stagePicker--reference),body:has(.mapSelectionScreen.app--stageSelect .stagePicker--reference) #root{min-height:100dvh;background:transparent}body:has(.mapSelectionScreen.app--stageSelect .stagePicker--reference) .app.mapSelectionScreen.app--stageSelect{height:min(100svh,100dvh);background:transparent}body:has(.mapSelectionScreen.app--stageSelect .stagePicker--reference) .app.mapSelectionScreen.app--stageSelect:before,body:has(.mapSelectionScreen.app--stageSelect .stagePicker--reference) .app.mapSelectionScreen.app--stageSelect:after{content:none}.stageSelect.stagePicker--reference{background:transparent}}.worldExplorer[data-phone-labels=tap] .worldStageHotspot span{opacity:0}.worldExplorer[data-phone-labels=tap] .worldStageHotspot[data-label-visible=true] span{opacity:1}.app--worldMap .worldExplorerViewport,.app--worldMap .worldExplorerCanvas{overflow-anchor:none}@media(max-width:700px)and (orientation:portrait){html:has(.app--worldMap.mapSelectionScreen){overflow-x:clip;overflow-y:visible}body:has(.app--worldMap.mapSelectionScreen) .app.app--worldMap.mapSelectionScreen{overflow:clip}body:has(.app--worldMap.mapSelectionScreen){height:100dvh;min-height:0;overflow:clip}body:has(.app--worldMap.mapSelectionScreen) #root{height:100%;min-height:0;overflow:clip}}.worldExplorerCanvas>.worldStageHotspot{pointer-events:none}.worldMapTargets{position:absolute;inset:0;width:100%;height:100%;z-index:3;overflow:visible;pointer-events:none}.worldMapTarget{pointer-events:auto;cursor:pointer;outline:none}.worldMapTarget[aria-disabled=true]{cursor:help}.worldMapTarget>rect{fill:transparent;stroke:transparent;stroke-width:3px;vector-effect:non-scaling-stroke}.worldMapTarget:focus-visible>rect{stroke:#82f8ff}.worldExplorer .worldStageHotspot--hinted{outline:3px solid var(--world-accent);outline-offset:2px;filter:brightness(1.18)}.worldExplorer:not([data-phone-labels=tap]) .worldStageHotspot--hinted span{opacity:1}.boardCells{position:absolute;display:grid;pointer-events:auto}.gameShell.gameShell--illustrated:not(.gameShell--replay){--play-ink: #321a08;--play-paper: #ffeab3;--play-wood: linear-gradient(100deg, #512b0d, #774312 55%, #422207);--play-outline: -1px -1px 0 #261405, 1px -1px 0 #261405, -1px 1px 0 #261405, 1px 1px 0 #261405, 0 2px 0 #261405;font-family:Relic Settings Rounded,sans-serif;font-weight:800;image-rendering:auto;color:var(--play-ink);display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) clamp(102px,14dvh,138px) 42px;gap:5px;width:min(1200px,calc(100vw - 16px),140dvh);height:calc(100dvh - 12px);max-height:none;padding:5px;border:4px solid #bd8335;border-radius:16px;background:repeating-linear-gradient(0deg,#3b200944 0 2px,transparent 2px 18px),linear-gradient(100deg,#a56122,#d5903d,#74400f);box-shadow:inset 0 0 0 2px #ffdf85,0 4px 18px #120c09aa;overflow:visible}.gameShell.gameShell--illustrated:not(.gameShell--replay):before,.gameShell.gameShell--illustrated:not(.gameShell--replay):after,.gameShell.gameShell--illustrated:not(.gameShell--replay) .mapPanel:before,.gameShell.gameShell--illustrated:not(.gameShell--replay) .mapPanel:after{display:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) button{font-family:inherit}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact{grid-area:1 / 1;display:block;min-width:0;padding:0 5px 6px;border:0;border-radius:10px;background:linear-gradient(100deg,#ffedb9,#ffdf98 55%,#fff0c7);box-shadow:inset 0 0 0 2px #d49c46,inset 0 0 0 4px #ffe5a1}.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar{height:38px;padding:0 0 3px;margin:0 -5px 4px;display:grid;grid-template-columns:1fr auto 1fr;border:none;background:repeating-linear-gradient(0deg,#37170350 0 1px,transparent 1px 10px),linear-gradient(#a16127,#68340f);border-radius:9px 9px 0 0;color:#fff2c8;text-shadow:var(--play-outline);font-size:17px}.gameShell--illustrated .gameSettingsToolbar>strong{padding-left:12px;color:#ffdc58;letter-spacing:.02em;font-size:clamp(12px,1.5vw,20px)}.gameShell--illustrated .playStageName{display:grid;align-items:center;padding:1px 35px;min-width:180px;height:36px;border:10px solid transparent;border-image:url(../ui-soft/result-wood.webp) 43 95 fill / 10px 28px;font-size:18px;white-space:nowrap;text-align:center;line-height:1;box-sizing:border-box}.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar>.audioSettingsControl{position:static;justify-self:end;margin:0}.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar>.audioSettingsControl>.panelHeading{width:106px;height:36px;min-height:0;padding:0;border:0;color:transparent;font-size:0;text-shadow:none;background:url(../ui-soft/preparation-settings.webp) center / 100% 100% no-repeat;box-shadow:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusGrid--compact{display:grid;grid-template-areas:"hp medal level attack" "hp medal floor turn";grid-template-columns:1.55fr .95fr .7fr 1fr;grid-template-rows:repeat(2,29px);gap:4px 8px;min-width:0}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard,.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard:not(.gameStatusCard--hp):not(.gameStatusCard--medal){display:flex;flex-direction:row;align-items:center;justify-content:center;min-width:0;min-height:0;height:auto;padding:2px 6px;gap:5px;border:2px solid #bb873e;border-radius:10px;background:var(--play-wood);box-shadow:inset 0 1px 2px #160a05,0 1px #fff1c8;color:#fff5d5;text-shadow:var(--play-outline)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard .gameStatusLabel,.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard:not(.gameStatusCard--hp):not(.gameStatusCard--medal) .gameStatusLabel{font-size:13px;letter-spacing:0;line-height:1;flex:0 0 auto}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard .gameStatusValue,.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard:not(.gameStatusCard--hp):not(.gameStatusCard--medal) .gameStatusValue{font-size:var(--play-status-number, 23px);line-height:1.1;min-width:0;letter-spacing:0;font-variant-numeric:tabular-nums}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard:before{display:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--medal{container-type:normal}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--medal:before{content:"";display:block;width:24px;height:28px;flex:0 0 24px;background:url(../ui-soft/result-coin.webp) center / contain no-repeat}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHud{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 8px;align-items:center;padding:0 5px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudLabel{font-size:20px;color:#fff4df;grid-column:1;grid-row:1 / 3}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudValue{font-size:33px;line-height:1;letter-spacing:-.04em;grid-column:2;white-space:nowrap}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudTrack{grid-column:2;width:100%;height:13px;margin:3px 0;border:2px solid #fff0bc;background:#26180a;box-shadow:0 0 0 1px #1f1205}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playArea{grid-area:3 / 1;width:100%;height:100%;min-height:0;padding:0;display:block;container-type:normal}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mapPanel{width:100%;height:100%;min-height:0;max-width:none;max-height:none;aspect-ratio:auto;border:4px solid #dda850;border-radius:10px;background:#202e27;box-shadow:0 0 0 1px #4c2a10,inset 0 0 0 1px #ffedaf}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mapPanel>.floorMapPanel{inset:6px auto auto 6px;width:clamp(80px,12vw,160px);max-width:22%;padding:5px;border:3px solid #d8ab51;border-radius:8px;background:#152424dc;box-shadow:0 2px 3px #0007,inset 0 0 0 1px #492b15}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playActionDock{display:contents}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary{grid-area:2 / 1;display:flex;align-items:center;flex-wrap:nowrap;flex-direction:row;gap:6px;padding:5px 9px;min-width:0;min-height:58px;margin:0;border:3px solid #c18b3a;border-radius:10px;background:linear-gradient(100deg,#fff0c7,#eecb84);box-shadow:inset 0 0 0 1px #ffeeb9}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.equipmentSlots{order:-2;margin:0 auto 0 0;gap:5px;min-width:0;max-width:35%;flex-shrink:1}.gameShell--illustrated .equipmentSlot{flex-shrink:0}.gameShell.gameShell--illustrated:not(.gameShell--replay) .equipmentSlot>.panelHeading{padding:0;border:2px solid #bd883b;border-radius:9px;background:var(--play-wood);box-shadow:inset 0 0 0 1px #301407}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary .equipmentSlotIcon{width:54px;height:48px;padding:2px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.statusEffects{flex:1 1 60px;display:flex;flex-wrap:wrap;gap:2px;margin:0;font-size:10px;min-width:0;max-height:52px;overflow-y:auto;color:#4b2c10}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.statusEffects:empty{display:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .statusEffects>span{padding:1px 4px;border-radius:4px;background:#fff1c8;color:#4b2c10;border-color:#ba8a41;text-shadow:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.mageAttackButton{min-height:38px;padding:5px 8px;max-width:145px;flex:0 1 auto;font-size:12px;line-height:1.2;border:2px solid #ca9c4e;border-radius:9px;color:#fff3db;background:linear-gradient(#7e4cb1,#412365);text-shadow:var(--play-outline)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.whirlwindButton{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:1fr 13px;align-items:center;gap:3px 8px;min-width:210px;width:34%;min-height:52px;margin-left:auto;padding:4px 9px;border:2px solid #dcac4b;border-radius:10px;background:radial-gradient(ellipse at 25% 30%,#13568b,#032a55 60%,#01192d);color:#effdff;text-shadow:var(--play-outline);font-size:14px;line-height:1.1}.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.preparationSpecialIcon{grid-area:1 / 1 / 3;width:44px;height:44px;display:block}.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.preparationSpecialIcon img,.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.preparationSpecialIcon svg{width:100%;height:100%;object-fit:contain}.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.playSpecialCaption{grid-area:1 / 2;min-width:0}.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton progress{grid-area:2 / 2;display:block;appearance:none;width:100%;height:10px;margin:0;border:1px solid #97f6ff;border-radius:10px;overflow:hidden;background:#032638;box-shadow:0 0 4px #19cafa}.gameShell--illustrated .whirlwindButton progress::-webkit-progress-bar{background:#032638}.gameShell--illustrated .whirlwindButton progress::-webkit-progress-value{background:linear-gradient(#b9ffff,#00e7ed 55%,#00a9cc)}.gameShell--illustrated .whirlwindButton progress::-moz-progress-bar{background:linear-gradient(#b9ffff,#00e7ed 55%,#00a9cc)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary button:disabled{filter:saturate(.65);opacity:1;color:#c7d9e3}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventoryScroller{grid-area:4 / 1;min-width:0;min-height:0;height:100%;margin:0;padding:0}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventoryBar{display:grid;grid-template-columns:repeat(10,calc((100% - 36px)*.1));grid-template-rows:minmax(0,1fr);grid-auto-flow:column;grid-auto-columns:calc((100% - 36px)*.1);gap:4px;width:100%;height:100%;min-height:0;padding:3px;border:2px solid #d6a448;border-radius:10px;background:#684017;box-shadow:inset 0 0 0 1px #f7d98b;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventoryBar::-webkit-scrollbar{display:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot{display:grid;grid-template-rows:minmax(0,1fr) 23px;position:relative;align-items:stretch;width:100%;height:100%;min-width:0;min-height:0;aspect-ratio:auto;padding:3px 2px 0;border:2px solid #efc976;border-radius:9px;background:radial-gradient(ellipse at 50% 50%,#9a601e,#4a2509);box-shadow:inset 0 0 0 1px #6a3f16,0 1px 1px #301b09;overflow:hidden}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotArtwork.inventorySlotArtwork--illustrated{position:relative;inset:auto;display:block;width:100%;height:100%;min-height:0;aspect-ratio:auto;transform:none;margin:0;padding:0;overflow:visible}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotArtwork--illustrated img{position:static;inset:auto;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;transform:none;image-rendering:auto}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotNumber{position:absolute;z-index:2;top:2px;left:2px;min-width:18px;padding:1px 2px;border:1px solid #6c451b;border-radius:5px;background:#fff0bf;color:#281805;font-size:14px;line-height:1.1;text-shadow:none;box-shadow:0 1px 1px #371907}.gameShell--illustrated .inventorySlotName{grid-row:2;display:flex;align-items:center;justify-content:center;align-self:stretch;margin:0 -2px;padding:0 1px;min-width:0;background:linear-gradient(#ffefc5,#f4ce80);color:#301b09;font-size:clamp(8px,.85vw,12px);line-height:1.05;text-shadow:0 1px 0 #fff5d8;overflow-wrap:anywhere}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mobileGameControls{display:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .bottomPanel{grid-area:5 / 1;padding:4px 16px;min-width:0;min-height:0;margin:0;border:3px solid transparent;border-image:url(../ui-soft/result-frame.webp) 80 fill / 16px;border-radius:10px;background:#ffe9ac;box-shadow:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .messageWindow{color:#3e220d;text-shadow:none;font-size:12px;line-height:1.3;height:2.6em;min-height:2.6em;max-height:2.6em;padding:0}.gameShell.gameShell--illustrated:not(.gameShell--replay) .messageWindow span{white-space:normal}@media(max-width:560px)and (orientation:portrait){.gameShell.gameShell--illustrated:not(.gameShell--replay){position:absolute;top:0;left:0;width:430px;height:var(--mobile-game-height, 932px);padding:2px;border-width:2px;border-radius:9px;gap:3px;grid-template-columns:minmax(0,1fr);grid-template-rows:96px minmax(0,1fr) 188px 166px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact{padding:0 4px 4px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar{height:30px;margin:0 -4px 3px;padding:0;grid-template-columns:minmax(0,1fr) auto}.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar>strong{display:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playStageName{justify-self:start;min-width:160px;height:30px;font-size:16px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar>.audioSettingsControl>.panelHeading{width:92px;height:29px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusGrid--compact{grid-template-areas:"hp medal medal level" "hp attack floor turn";grid-template-columns:1.75fr .95fr .85fr 1.2fr;grid-template-rows:repeat(2,27px);gap:3px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard,.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard:not(.gameStatusCard--hp):not(.gameStatusCard--medal){padding:1px 3px;gap:3px;border-width:1px;border-radius:7px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard .gameStatusLabel,.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard:not(.gameStatusCard--hp):not(.gameStatusCard--medal) .gameStatusLabel{font-size:9px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard .gameStatusValue,.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard:not(.gameStatusCard--hp):not(.gameStatusCard--medal) .gameStatusValue{font-size:var(--play-status-number, 14px)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--medal .gameStatusValue{font-size:21px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--medal:before{width:19px;height:23px;flex-basis:19px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHud{gap:0 3px;padding:0 1px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudLabel{font-size:15px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudValue{font-size:27px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudTrack{height:11px;margin:2px 0}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playArea{grid-area:2 / 1}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mapPanel{border-width:3px;border-radius:7px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mapPanel>.floorMapPanel{left:4px;top:4px;width:84px;max-width:22%;padding:3px;border-width:2px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventoryScroller{grid-area:3 / 1}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventoryBar{grid-template-columns:repeat(5,calc((100% - 12px)/5));grid-template-rows:repeat(2,minmax(0,1fr));grid-auto-flow:column;grid-auto-columns:calc((100% - 12px)/5);gap:3px;padding:2px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot{grid-row:1;grid-template-rows:minmax(0,1fr) 18px;padding:2px 1px 0;border-radius:7px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot:nth-child(n+6):nth-child(-n+10){grid-row:2}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot:nth-child(5n+1){grid-column:1}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot:nth-child(5n+2){grid-column:2}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot:nth-child(5n+3){grid-column:3}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot:nth-child(5n+4){grid-column:4}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot:nth-child(5n+5){grid-column:5}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot:nth-child(n+11){grid-column:auto}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotNumber{font-size:12px;min-width:15px}.gameShell--illustrated .inventorySlotName{font-size:9px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playActionDock{grid-area:4 / 1;display:grid;grid-template-columns:minmax(0,1fr) 164px;grid-template-rows:minmax(0,1fr) 35px;gap:3px;min-height:0}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary{grid-area:1 / 1;min-height:0;min-width:0;display:flex;flex-wrap:wrap;align-content:start;gap:3px;padding:3px;border-width:2px;overflow-y:auto;background:var(--play-wood)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.whirlwindButton{order:-3;width:100%;min-width:0;min-height:43px;height:43px;margin:0;padding:3px;grid-template-columns:33px minmax(0,1fr);grid-template-rows:21px 8px;gap:2px 3px;font-size:12px;flex:0 0 100%}.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.preparationSpecialIcon{width:33px;height:33px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton progress{height:8px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.equipmentSlots{order:0;margin:0;max-width:100%;flex:0 1 auto;gap:3px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary .equipmentSlotIcon{width:43px;height:40px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.mageAttackButton{flex:1 1 28%;min-width:0;min-height:29px;padding:2px;font-size:9px;line-height:1.2;max-width:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.statusEffects{order:1;max-height:24px;font-size:9px;flex:1 1 50px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .bottomPanel{grid-area:2 / 1;padding:3px 7px;border-width:2px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .messageWindow{font-size:10px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mobileGameControls{grid-area:1 / 2 / 3;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:3px;padding:2px;min-height:0;min-width:0;height:100%;border:2px solid #c89541;border-radius:9px;background:#5d320f}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mobileDirectionButton{min-width:0;min-height:0;width:100%;height:100%;padding:0;border:2px solid #cb9645;border-radius:9px;background:linear-gradient(#fff3cd,#f2cc7d);box-shadow:inset 0 0 0 1px #fff7de,0 1px 1px #301707;color:#009fe9;text-shadow:-1px -1px 0 #004176,1px 1px 0 #004176;font-size:31px;font-weight:900;line-height:1}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mobileDirectionButton--wait{color:#fff1c5;font-size:22px;background:linear-gradient(#a86622,#714112);text-shadow:var(--play-outline)}.gameShell.gameShell--illustrated:not(.gameShell--replay).gameShell--leftHanded .playActionDock{grid-template-columns:164px minmax(0,1fr)}.gameShell.gameShell--illustrated:not(.gameShell--replay).gameShell--leftHanded .headerAuxiliary{grid-column:2}.gameShell.gameShell--illustrated:not(.gameShell--replay).gameShell--leftHanded .bottomPanel{grid-column:2}.gameShell.gameShell--illustrated:not(.gameShell--replay).gameShell--leftHanded .mobileGameControls{grid-column:1}}@media(min-width:561px)and (pointer:coarse){.gameShell.gameShell--illustrated:not(.gameShell--replay){grid-template-columns:minmax(0,1fr) 154px;grid-template-rows:auto auto minmax(0,1fr) 148px 36px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact,.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary,.gameShell.gameShell--illustrated:not(.gameShell--replay) .playArea,.gameShell.gameShell--illustrated:not(.gameShell--replay) .bottomPanel{grid-column:1 / -1}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mobileGameControls{grid-area:4 / 2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));min-height:0;padding:3px;gap:3px;background:#6f4015;border:2px solid #d3a350;border-radius:9px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mobileDirectionButton{min-height:0;min-width:0;padding:0;border:2px solid #c99a4c;border-radius:8px;background:linear-gradient(#fff3c9,#f1c677);color:#009de9;text-shadow:1px 1px 0 #003b63;font-size:28px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mobileDirectionButton--wait{background:#845017;color:#fff0c7}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventoryBar{grid-template-columns:repeat(5,calc((100% - 12px)/5));grid-template-rows:repeat(2,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:calc((100% - 16px)/5)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot{grid-template-rows:minmax(0,1fr) 18px}.gameShell.gameShell--illustrated:not(.gameShell--replay).gameShell--leftHanded{grid-template-columns:154px minmax(0,1fr)}.gameShell.gameShell--illustrated:not(.gameShell--replay).gameShell--leftHanded .mobileGameControls{grid-column:1}.gameShell.gameShell--illustrated:not(.gameShell--replay).gameShell--leftHanded .inventoryScroller{grid-column:2}}@media(orientation:landscape)and (max-height:560px){.gameShell.gameShell--illustrated:not(.gameShell--replay){width:calc(100vw - 8px);height:calc(100dvh - 8px);padding:2px;gap:3px;grid-template-columns:142px minmax(0,1fr) 134px;grid-template-rows:68px minmax(0,1fr) 62px 24px;border-width:2px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact{grid-area:1 / 1 / 2 / 4;padding-bottom:3px;min-height:0}.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar{height:25px;margin-bottom:2px;font-size:11px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playStageName{height:25px;min-width:130px;font-size:13px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar>.audioSettingsControl>.panelHeading{width:79px;height:25px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusGrid--compact{grid-template-rows:repeat(2,18px);grid-template-columns:1.4fr .85fr .8fr 1fr;gap:2px 4px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard .gameStatusValue,.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard:not(.gameStatusCard--hp):not(.gameStatusCard--medal) .gameStatusValue{font-size:var(--play-status-number, 14px)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard .gameStatusLabel,.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard:not(.gameStatusCard--hp):not(.gameStatusCard--medal) .gameStatusLabel{font-size:9px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudValue{font-size:24px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudLabel{font-size:14px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudTrack{height:8px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary{grid-area:2 / 1;min-height:0;padding:2px;gap:2px;flex-wrap:wrap;align-content:start;overflow-y:auto}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.whirlwindButton{flex:0 0 100%;min-width:0;width:100%;min-height:40px;order:-3;grid-template-columns:25px minmax(0,1fr);padding:2px;gap:2px;font-size:10px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.preparationSpecialIcon{width:25px;height:25px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.mageAttackButton{min-height:25px;font-size:9px;padding:2px;flex:1 1 38%}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.equipmentSlots{max-width:100%;margin:0}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary .equipmentSlotIcon{width:34px;height:30px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.statusEffects{font-size:9px;max-height:30px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playArea{grid-area:2 / 2}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mapPanel>.floorMapPanel{width:55px;padding:2px;border-width:1px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mobileGameControls{grid-area:2 / 3}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventoryScroller{grid-area:3 / 1 / 4 / 4}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventoryBar{grid-template-columns:repeat(10,calc((100% - 36px)*.1));grid-template-rows:minmax(0,1fr);grid-auto-flow:column}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot{grid-template-rows:minmax(0,1fr) 16px;padding-top:1px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotName{font-size:8px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotNumber{min-width:13px;font-size:10px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .bottomPanel{grid-area:4 / 1 / 5 / 4;padding:0 8px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .messageWindow{font-size:9px;line-height:1.15;height:2.3em;min-height:2.3em;max-height:2.3em}.gameShell.gameShell--illustrated:not(.gameShell--replay).gameShell--leftHanded{grid-template-columns:134px minmax(0,1fr) 142px}.gameShell.gameShell--illustrated:not(.gameShell--replay).gameShell--leftHanded .headerAuxiliary{grid-column:3}.gameShell.gameShell--illustrated:not(.gameShell--replay).gameShell--leftHanded .mobileGameControls{grid-column:1}.gameShell.gameShell--illustrated:not(.gameShell--replay).gameShell--leftHanded .inventoryScroller{grid-column:1 / -1}}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudValue{justify-self:center;text-align:center}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotName{width:calc(100% + 4px);justify-self:stretch}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mapPanel:after{display:block;content:"";position:absolute;inset:-2px;width:auto;height:auto;border:2px solid transparent;border-image:url(../ui-soft/result-frame.webp) 80 / 15px;background:none;transform:none;z-index:25;pointer-events:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventoryScroller:after{content:"";position:absolute;inset:-1px;border:1px solid transparent;border-image:url(../ui-soft/result-frame.webp) 80 / 12px;pointer-events:none;z-index:3}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact{border:2px solid transparent;border-image:url(../ui-soft/result-frame.webp) 80 / 11px}.gameShell--illustrated .equipmentSlotEmpty{flex:0 0 62px;display:flex;flex-direction:column;justify-content:center;align-items:center;height:46px;padding:2px;border:2px solid #c39954;border-radius:8px;color:#dec594;background:var(--play-wood);line-height:1}.gameShell--illustrated .equipmentSlotEmpty>svg{width:27px;height:27px;opacity:.7}.gameShell--illustrated .equipmentSlotEmpty small{font-size:9px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot:active{filter:brightness(1.2)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mobileDirectionButton--autoWalk{outline:3px solid #4be6ff;outline-offset:-4px;box-shadow:inset 0 0 16px #00b5f0}.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar>strong{white-space:nowrap}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mobileGameControls{width:100%;height:100%;margin:0;align-self:stretch;justify-self:stretch}@media(max-width:560px)and (orientation:portrait){.gameShell--illustrated .equipmentSlotEmpty{flex-basis:54px;height:47px}.gameShell--illustrated .equipmentSlotEmpty small{font-size:9px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot:nth-child(n){grid-column:var(--hand-column);grid-row:var(--hand-row)}}@media(min-width:561px)and (pointer:coarse)and (min-height:561px){.gameShell.gameShell--illustrated:not(.gameShell--replay){padding-inline:3px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot:nth-child(n){grid-column:var(--hand-column);grid-row:var(--hand-row)}}@media(orientation:landscape)and (max-height:560px){.gameShell--illustrated .equipmentSlotEmpty{flex-basis:38px;height:35px}.gameShell--illustrated .equipmentSlotEmpty>svg{width:21px;height:21px}.gameShell--illustrated .equipmentSlotEmpty small{font-size:7px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mobileDirectionButton{width:100%;height:100%}}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mobileGameControls{position:relative;inset:auto;transform:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mapPanel>.floorMapPanel{position:absolute}.gameShell--illustrated .equipmentSlotEmpty small{white-space:nowrap}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.equipmentSlots{flex-wrap:nowrap;overflow-x:auto;overflow-y:visible}.gameShell.gameShell--illustrated:not(.gameShell--replay) .equipmentSlotTooltip{position:fixed;top:auto;right:auto;z-index:100}@media(min-width:561px)and (min-height:561px){.gameShell.gameShell--illustrated:not(.gameShell--replay){grid-template-rows:auto auto minmax(0,1fr) clamp(96px,13dvh,132px) 40px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudValue{font-size:34px}}@media(max-width:560px)and (orientation:portrait){.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudValue[data-length="8"],.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudValue[data-length="9"]{font-size:20px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudValue[data-length="10"],.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudValue[data-length="11"],.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudValue[data-length="12"]{font-size:17px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--turn .gameStatusValue{font-size:11px}}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playArea:has(>.specialConfirm){display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:4px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playArea:has(>.specialConfirm)>.mapPanel,.gameShell.gameShell--illustrated:not(.gameShell--replay) .playArea:has(>.specialConfirm)>.playFrame--map{grid-area:2 / 1}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playArea:has(>.specialConfirm)>.playFrame--map{position:relative;inset:auto;width:100%;height:100%}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playArea>.specialConfirm{grid-area:1 / 1;position:relative;inset:auto;transform:none;z-index:40;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 8px;width:100%;max-width:none;height:auto;min-height:0;max-height:160px;margin:0;padding:6px 10px;border:3px solid #ddb05b;border-radius:10px;background:#fff0bf;color:#352009;font-size:12px;overflow-y:auto;box-shadow:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .specialConfirm>span{font-size:11px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .specialConfirm button{padding:3px 10px;min-height:36px;border:2px solid #d7a653;border-radius:8px;background:#754617;color:#fff3d4}.gameShell.gameShell--illustrated:not(.gameShell--replay) .specialDirections{display:flex;flex-wrap:wrap;gap:2px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .specialDirections button{min-width:26px;padding:2px 5px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventoryScrollButton{width:24px;height:40%;background:#673c10ec;border-color:#ffdb8b}@media(max-width:560px)and (orientation:portrait){.gameShell.gameShell--illustrated:not(.gameShell--replay) .specialConfirm strong{font-size:13px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .specialConfirm>span{font-size:10px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .specialConfirm button{font-size:11px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--turn{gap:2px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--turn .gameStatusLabel{font-size:8px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--turn .gameStatusValue{font-size:10px}}@media(max-width:560px)and (orientation:portrait){.gameShell.gameShell--illustrated:not(.gameShell--replay).gameShell--leftHanded{grid-template-columns:minmax(0,1fr)}.gameShell.gameShell--illustrated:not(.gameShell--replay).gameShell--leftHanded .inventoryScroller,.gameShell.gameShell--illustrated:not(.gameShell--replay).gameShell--leftHanded .playArea,.gameShell.gameShell--illustrated:not(.gameShell--replay).gameShell--leftHanded .topPanel--compact,.gameShell.gameShell--illustrated:not(.gameShell--replay).gameShell--leftHanded .playActionDock{grid-column:1}}@media(min-width:561px)and (pointer:coarse)and (min-height:561px){.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventoryBar{gap:3px}}@media(orientation:landscape)and (max-height:560px){.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard,.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard:not(.gameStatusCard--hp):not(.gameStatusCard--medal){padding-block:0;border-width:1px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--medal:before{width:18px;height:23px;flex-basis:18px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--medal{gap:3px}}@media(max-width:560px)and (orientation:portrait){.gameShell.gameShell--illustrated .gameStatusCard--turn{--play-status-number: 10px}}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.equipmentSlots{width:auto}@media(max-width:560px)and (orientation:portrait){.gameShell.gameShell--illustrated:not(.gameShell--replay)[data-hero=mage]{grid-template-rows:96px minmax(0,1fr) 188px 178px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.equipmentSlots{min-height:40px;padding:0}}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playStageName{text-transform:uppercase}.gameShell.gameShell--illustrated:not(.gameShell--replay) .board{container-type:size;--board-border: 1px;border-width:var(--board-border);--board-step-x: calc((100% - 2 * var(--board-border)) / 11);--board-step-y: calc((100% - 2 * var(--board-border)) / 10)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playerSprite{--player-step-x: calc(100cqw / 11);--player-step-y: 10cqh ;position:absolute;left:calc(50% - min(calc(59cqw / 11),5.9cqh));bottom:12%}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playerSprite,.gameShell.gameShell--illustrated:not(.gameShell--replay) .enemySprite{width:min(calc(118cqw / 11),11.8cqh);height:min(calc(118cqw / 11),11.8cqh)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .enemySprite{left:calc(50% - min(calc(59cqw / 11),5.9cqh))}@media(min-width:561px)and (max-width:900px)and (min-height:561px){.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--medal .gameStatusValue{font-size:20px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--medal .gameStatusLabel{font-size:11px}}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary .equipmentSlot>.panelHeading{border-color:#d4a354;background:var(--play-wood);box-shadow:inset 0 0 0 1px #301407}@media(min-width:561px)and (min-height:561px){.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.whirlwindButton{order:2}}.playSlice{position:relative;display:block;min-width:0;min-height:0;overflow:hidden}.playIcon>.playSlice{width:100%;height:100%}.playAtlasPiece{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden}.playFrame{position:absolute;inset:0;display:grid;grid-template-columns:10px minmax(0,1fr) 10px;grid-template-rows:10px minmax(0,1fr) 10px;pointer-events:none;-webkit-user-select:none;user-select:none;z-index:3}.playFrame--stage{grid-template-columns:34px minmax(0,1fr) 32px;grid-template-rows:10px minmax(0,1fr) 9px;z-index:0}.playFrame--map{grid-template-columns:22px minmax(0,1fr) 22px;grid-template-rows:15px minmax(0,1fr) 16px;z-index:30;contain:layout paint;transform:translateZ(0)}.playFrame--hand{grid-template-columns:5px minmax(0,1fr) 5px;grid-template-rows:5px minmax(0,1fr) 9px;contain:layout paint;transform:translateZ(0)}.playFrame--card{grid-template-columns:7px minmax(0,1fr) 7px;grid-template-rows:7px minmax(0,1fr) 7px}.playFrame--special{grid-template-columns:11px minmax(0,1fr) 11px;grid-template-rows:10px minmax(0,1fr) 10px}.playFrame--equipment{grid-template-columns:6px minmax(0,1fr) 6px;grid-template-rows:6px minmax(0,1fr) 6px}.playFrame--log{grid-template-columns:19px minmax(0,1fr) 16px;grid-template-rows:10px minmax(0,1fr) 10px;z-index:0}.playIcon{display:block;flex-shrink:0;pointer-events:none;-webkit-user-select:none;user-select:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.playIcon--whirlwind{grid-area:1 / 1 / 3}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary .equipmentSlot>.panelHeading{width:100%;height:auto;padding:0}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary .equipmentSlot{width:auto;height:auto}.gameShell.gameShell--illustrated:not(.gameShell--replay){--play-wood: linear-gradient(100deg, #713c11, #532804 70%, #68370e);--play-outline: 0 2px 0 #271405;border:0;background:#633809;box-shadow:0 2px 8px #120c09aa}.gameShell.gameShell--illustrated:not(.gameShell--replay) .hpHudValue,.gameShell.gameShell--illustrated:not(.gameShell--replay) .hpHudLabel,.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameStatusCard,.gameShell.gameShell--illustrated:not(.gameShell--replay) .playStageName,.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton,.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot,.gameShell.gameShell--illustrated:not(.gameShell--replay) .messageWindow{font-family:Relic Settings Rounded,sans-serif;font-weight:800}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playStageName,.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameStatusLabel,.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameStatusValue,.gameShell.gameShell--illustrated:not(.gameShell--replay) .hpHudValue,.gameShell.gameShell--illustrated:not(.gameShell--replay) .playSpecialCaption,.gameShell.gameShell--illustrated:not(.gameShell--replay) .playEquipmentHeading{color:#fff9e7;-webkit-text-stroke:2.3px #271405;paint-order:stroke fill;text-shadow:0 2px 0 #271405}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact{border:0;border-image:none;padding:0 9px 6px;background:linear-gradient(112deg,#fff0c7,#f5dca5 50%,#ffedc0);box-shadow:inset 0 0 0 2px #d6a250,inset 0 0 0 5px #ffecb4}.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar{position:relative;margin-inline:-9px;height:42px;background:repeating-linear-gradient(0deg,#32140377 0 2px,transparent 2px 16px),linear-gradient(#ac621e,#814410)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playStageName{position:relative;height:42px;min-width:220px;border:0;border-image:none;padding:4px 34px 7px;font-size:23px}.gameShell--illustrated .playStageName>span:not(.playFrame){position:relative}.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar>.playIcon--settings{position:absolute;right:6px;top:0;width:120px;height:42px;z-index:1}.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar>.audioSettingsControl>.panelHeading{width:126px;height:42px;background:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusGrid--compact{grid-template-areas:none;grid-template-columns:repeat(24,minmax(0,1fr));grid-template-rows:repeat(2,28px);gap:4px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp{grid-area:1 / 1 / 3 / 11}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--medal{grid-area:1 / 11 / 2 / 17}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--level{grid-area:1 / 17 / 2 / 20}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--attack{grid-area:1 / 20 / 2 / 25}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--floor{grid-area:2 / 14 / 3 / 19}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--turn{grid-area:2 / 19 / 3 / 25}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard{border-color:#c4974f}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--medal:before{display:none}.gameShell--illustrated .gameStatusCard>.playIcon{width:21px;height:23px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHud{grid-template-rows:1fr 16px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudLabel{color:#fff;-webkit-text-stroke:3px #bf1609;paint-order:stroke fill}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudTrack{height:16px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .hpHudFill{height:auto;background:linear-gradient(#d7ff86 0 13%,#65ff00 16% 54%,#26b500 56% 88%,#76ea10 90%);border-radius:7px 0 0 7px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .hpHud--danger .hpHudFill,.gameShell.gameShell--illustrated:not(.gameShell--replay) .hpHud--critical .hpHudFill{background:linear-gradient(#ffb26a,#ff3f21 50%,#c01809)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playArea{position:relative;isolation:auto}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mapPanel{border:4px solid #8b5520;border-radius:6px;box-shadow:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mapPanel:after,.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventoryScroller:after{display:none;content:none;border-image:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .scanlines{display:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mapPanel>.floorMapPanel{padding:8px;border:0;border-radius:4px;background:#263437ed;box-shadow:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventoryScroller{position:relative;isolation:auto;padding:0 2px 3px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventoryBar{border:0;padding:0;gap:2px;grid-template-columns:repeat(10,calc((100% - 18px)*.1));grid-auto-columns:calc((100% - 18px)*.1);background:#5b2a07;box-shadow:none;border-radius:3px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot{border:0;padding:7px 6px 6px;border-radius:7px;box-shadow:none;background:radial-gradient(ellipse at 50% 45%,#9c591a,#542904 90%);grid-template-rows:minmax(0,1fr) 24px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotName{width:calc(100% + 4px);font-size:clamp(9px,.83vw,12px);letter-spacing:-.035em;font-weight:800;background:linear-gradient(#fff2cc,#ffe2a5);border-radius:6px;color:#1f1508;text-shadow:0 .5px 0 #1f1508}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotNumber{top:5px;left:5px;z-index:4;background:#fff7d7;color:#241a09;font-size:16px;line-height:1;border:2px solid #805721;padding:1px 2px 2px;-webkit-text-stroke:1px #fffbe8;paint-order:stroke fill;box-shadow:0 0 0 1px #fae4a6}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary{background:linear-gradient(100deg,#fae5b3,#f6d49b);border-radius:6px;border-color:#c39246;padding-block:4px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.whirlwindButton{border:0;box-shadow:none;border-radius:9px;background:radial-gradient(ellipse at 45% 60%,#0054a0,#001a46 85%);min-height:56px;padding:8px 14px;grid-template-columns:52px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 12px;gap:2px 6px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.whirlwindButton:disabled{filter:none;color:#fff9e7}.gameShell--illustrated .whirlwindButton>.playIcon--whirlwind{grid-area:1 / 1 / 3;width:52px;height:47px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.playFrame{position:absolute}.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.playSpecialCaption{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 9px;font-size:14px;min-width:0}.gameShell--illustrated .playSpecialCaption strong{font-weight:800}.gameShell--illustrated .playSpecialCaption kbd{font:inherit}.gameShell--illustrated .playSpecialCaption>span{color:#b5f9ff;-webkit-text-stroke-color:#073568;white-space:nowrap}.gameShell--illustrated .playEquipmentHeading{display:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .equipmentSlotEmpty,.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary .equipmentSlot>.panelHeading{position:relative;border:0;background:var(--play-wood);box-shadow:none;border-radius:6px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary .equipmentSlotIcon{width:68px;height:49px;padding:4px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .bottomPanel{position:relative;border:0;border-image:none;box-shadow:none;padding:8px 25px;background:#ffe8ae}.gameShell.gameShell--illustrated:not(.gameShell--replay) .messageWindow{position:relative;z-index:1;font-size:12px;color:#321c06}.gameShell.gameShell--illustrated:not(.gameShell--replay) .messageWindow span{font:inherit;letter-spacing:0}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mobileDirectionButton{position:relative;border:0;background:none;box-shadow:none}.gameShell--illustrated .mobileDirectionButton>.playIcon{position:absolute;inset:0}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mobileDirectionButton--wait{border:3px solid #cf9d48;background:linear-gradient(125deg,#ad6e19,#7c460a);box-shadow:inset 0 0 0 2px #ffe0a0,0 1px 1px #140900;-webkit-text-stroke:2px #653a08;paint-order:stroke fill;color:#fff9de}@media(max-width:560px)and (orientation:portrait){.gameShell.gameShell--illustrated:not(.gameShell--replay){padding:2px;grid-template-rows:96px minmax(0,1fr) 206px 172px}.gameShell.gameShell--illustrated:not(.gameShell--replay)[data-hero=mage]{grid-template-rows:96px minmax(0,1fr) 206px 184px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact{padding:0 6px 5px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar{height:35px;margin:0 -6px 4px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playStageName{min-width:197px;height:35px;font-size:21px;padding:3px 30px 7px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar>.playIcon--settings{right:0;width:106px;height:35px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar>.audioSettingsControl>.panelHeading{width:106px;height:35px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusGrid--compact{grid-template-rows:repeat(2,25px);gap:2px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard{border-radius:7px;gap:2px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard .gameStatusLabel,.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard:not(.gameStatusCard--hp):not(.gameStatusCard--medal) .gameStatusLabel{font-size:9px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard .gameStatusValue,.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard:not(.gameStatusCard--hp):not(.gameStatusCard--medal) .gameStatusValue{font-size:var(--play-status-number, 15px)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--turn{--play-status-number: 12px;padding-inline:2px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameStatusCard>.playIcon{width:17px;height:18px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameStatusCard--turn>.playIcon{width:14px;height:17px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHud{grid-template-rows:29px 15px;gap:0 5px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudValue{font-size:28px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudTrack{height:14px;margin:0}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playFrame--map{grid-template-columns:15px minmax(0,1fr) 15px;grid-template-rows:11px minmax(0,1fr) 12px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mapPanel>.floorMapPanel{width:89px;padding:7px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventoryBar{grid-template-columns:repeat(5,calc((100% - 8px)/5));grid-auto-columns:calc((100% - 8px)/5)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot{grid-template-rows:minmax(0,1fr) 20px;padding:5px 4px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotName{font-size:9.3px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotNumber{font-size:13px;top:4px;left:4px;min-width:15px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary{padding:0 4px 3px;gap:2px 3px;border:0;background:repeating-linear-gradient(0deg,#32160355 0 2px,transparent 2px 16px),var(--play-wood);align-content:start}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.whirlwindButton{height:55px;min-height:55px;grid-template-columns:53px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 10px;padding:6px 10px 7px 6px;gap:2px;margin:0 -4px;width:calc(100% + 8px);flex-basis:calc(100% + 8px)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.playSpecialCaption{font-size:12px;gap:2px 5px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.playFrame{grid-area:auto}.gameShell--illustrated .playSpecialCaption kbd{display:none}.gameShell--illustrated .playSpecialCaption>span{font-size:10px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.playIcon--whirlwind{width:53px;height:45px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.preparationSpecialIcon{width:45px;height:42px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playEquipmentHeading{display:block;order:-1;width:100%;font-size:11px;line-height:16px;text-align:center;margin:0}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.equipmentSlots{flex:1 1 100%;gap:4px;width:100%;min-height:52px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary .equipmentSlot{flex:1 0 calc((100% - 8px) / 3)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary .equipmentSlotIcon{width:100%;height:53px;padding:4px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .equipmentSlotEmpty{flex:1 0 calc((100% - 8px) / 3);height:53px;padding:4px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .equipmentSlotEmpty small{font-size:8px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .bottomPanel{padding:7px 12px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .messageWindow{font-size:10px;line-height:1.15;min-height:2.3em;height:2.3em;max-height:2.3em}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playFrame--log{grid-template-columns:15px minmax(0,1fr) 13px;grid-template-rows:7px minmax(0,1fr) 8px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mobileGameControls{border:0;padding:0;gap:2px}.gameShell.gameShell--illustrated:not(.gameShell--replay)[data-hero=mage] .playEquipmentHeading{line-height:13px;font-size:10px}.gameShell.gameShell--illustrated:not(.gameShell--replay)[data-hero=mage] .equipmentSlotIcon,.gameShell.gameShell--illustrated:not(.gameShell--replay)[data-hero=mage] .equipmentSlotEmpty{height:37px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.statusEffects{order:2;flex-basis:100%}}@media(min-width:561px)and (pointer:coarse)and (min-height:561px){.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventoryBar{grid-template-columns:repeat(5,calc((100% - 8px)/5));grid-auto-columns:calc((100% - 8px)/5)}}@media(orientation:landscape)and (max-height:560px){.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar{height:25px;margin-bottom:2px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playStageName{height:25px;font-size:14px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar>.playIcon--settings,.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar>.audioSettingsControl>.panelHeading{width:79px;height:25px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusGrid--compact{grid-template-rows:repeat(2,18px);gap:2px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHud{grid-template-rows:1fr 8px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--hp .hpHudTrack{height:8px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameStatusCard>.playIcon{width:15px;height:16px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.whirlwindButton{padding:6px;min-height:45px;grid-template-columns:28px minmax(0,1fr)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.playIcon--whirlwind{width:28px;height:30px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.playSpecialCaption{font-size:10px;gap:0 2px}.gameShell--illustrated .playSpecialCaption kbd{display:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary .equipmentSlotIcon{width:36px;height:31px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot{padding:4px;grid-template-rows:minmax(0,1fr) 16px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotName{font-size:8px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotNumber{font-size:10px;min-width:12px;padding:0}.gameShell.gameShell--illustrated:not(.gameShell--replay) .bottomPanel{padding:3px 14px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .messageWindow{font-size:9px;line-height:1.05}}.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.playSpecialCaption{font-size:17px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard:not(.gameStatusCard--hp){padding-block:0}@media(min-width:561px)and (min-height:561px){.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.whirlwindButton{height:60px;min-height:60px;padding-block:6px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary .equipmentSlotIcon{width:clamp(72px,9vw,116px);height:55px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard{--play-status-number: 21px}}@media(max-width:560px)and (orientation:portrait){.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.playSpecialCaption{font-size:14px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--turn:has([data-length="9"]),.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--turn:has([data-length="10"]),.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--turn:has([data-length="11"]){--play-status-number: 9px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .bottomPanel{padding-block:6px}}@media(orientation:landscape)and (max-height:560px){.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.playSpecialCaption{font-size:10px}}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary .equipmentSlotIcon{position:relative;display:block}.gameShell.gameShell--illustrated:not(.gameShell--replay) .equipmentSlotIcon img{position:absolute;inset:5px;width:calc(100% - 10px);height:calc(100% - 10px);max-width:none;object-fit:contain}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mapPanel>.floorMapPanel{background:#29343b}@media(max-width:560px)and (orientation:portrait){.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.mageAttackButton{order:-2}}@media(min-width:561px)and (pointer:coarse)and (min-height:561px){.gameShell.gameShell--illustrated:not(.gameShell--replay){grid-template-rows:auto auto minmax(0,1fr) 186px 40px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot{padding:5px 4px;grid-template-rows:minmax(0,1fr) 20px}}@media(min-width:561px)and (min-height:561px){.gameShell.gameShell--illustrated:not(.gameShell--replay) .bottomPanel{padding-block:6px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .messageWindow{line-height:1.1;height:2.2em;min-height:2.2em;max-height:2.2em}}.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar>.playBrand{position:relative;display:grid;place-items:center;width:min(100%,340px);height:42px;padding:0 25px 4px;font-family:Georgia,serif;font-size:clamp(13px,1.5vw,23px);font-weight:900;color:#ffe370;-webkit-text-stroke:1.5px #291500;paint-order:stroke fill}.gameShell--illustrated .playBrand>span:not(.playFrame){position:relative}.gameShell--illustrated .playBrand i{color:#13d5ff;font-style:normal;-webkit-text-stroke-color:#07517b}@media(max-width:560px)and (orientation:portrait){.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar>.playBrand{display:none}}@media(orientation:landscape)and (max-height:560px){.gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar>.playBrand{height:25px;font-size:12px}}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot{padding:8px;grid-template-rows:minmax(0,1fr) 28px;border-radius:9px;background:radial-gradient(ellipse at 50% 40%,#8d5019,#4c270b)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotName{width:100%;margin:0;padding:0 3px;border:1px solid #fff3ce;border-radius:4px;background:linear-gradient(#fff2ca,#ffe5ad)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotNumber{top:7px;left:7px;width:auto;height:auto}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot:focus-visible{outline:3px solid #79ebff;outline-offset:-3px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mapPanel>.floorMapPanel{inset:16px auto auto 18px;width:min(28%,240px);max-width:calc(50% - 20px);max-height:none;aspect-ratio:auto;display:block;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;pointer-events:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mapPanel>.floorMapPanel .floorMap{border:2px solid transparent;border-radius:0;background:transparent;box-shadow:none;overflow:visible}.floorMapPanel[data-map-palette=parchment]{--floor-map-color: 255 235 178}@media(max-width:560px)and (orientation:portrait),(max-height:560px)and (orientation:landscape)and (pointer:coarse){.gameShell.gameShell--illustrated:not(.gameShell--replay) .mapPanel>.floorMapPanel .floorMap{transform:scale(1.2);transform-origin:top left}}.floorMapPanel[data-map-palette=lavender]{--floor-map-color: 194 195 255}.floorMapPanel[data-map-palette=amber]{--floor-map-color: 255 199 145}.gameShell.gameShell--illustrated:not(.gameShell--replay) .floorMapPanel .floorMapCell--floor{background:rgb(var(--floor-map-color) / .6)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .floorMapPanel .floorMapCell--corridor{background:rgb(var(--floor-map-color) / .76)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .floorMapPanel .floorMapCell--floor.floorMapCell--mappedOnly{background:repeating-linear-gradient(135deg,rgb(235 240 255 / .65) 0 1px,transparent 1px 5px),#2d354f66}.gameShell.gameShell--illustrated:not(.gameShell--replay) .floorMapPanel .floorMapCell--corridor.floorMapCell--mappedOnly{background:repeating-linear-gradient(135deg,rgb(235 240 255 / .75) 0 1px,transparent 1px 5px),#2d354f7a}.playerSlowStatus{position:absolute;z-index:15;top:10px;right:10px;max-width:62%;padding:5px 8px;border:1px solid #d5b779;border-radius:6px;background:#302544f5;box-shadow:0 2px 5px #0007;color:#fff2d0;font-size:clamp(12px,1.1vw,14px);font-weight:800;line-height:1.4;pointer-events:none}.playerSlowStatus--blocked{background:#613b20f5}.cardSlowWarning{color:#8d381c;font-size:12px;font-weight:800}.gameShell.gameShell--illustrated:not(.gameShell--replay) .bottomPanel{padding:7px 34px;overflow:hidden}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playFrame--log{grid-template-columns:30px minmax(0,1fr) 27px;grid-template-rows:8px minmax(0,1fr) 9px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .messageWindow{display:block;width:100%;height:100%;min-height:0;max-height:none;margin:0;padding:2px 0 0;line-height:1.35;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.gameShell.gameShell--illustrated:not(.gameShell--replay) .messageWindow>span{display:block;max-width:100%;margin:0;white-space:normal;overflow-wrap:anywhere}@media(min-width:561px)and (min-height:561px){.gameShell.gameShell--illustrated:not(.gameShell--replay){grid-template-rows:auto auto minmax(0,1fr) clamp(96px,13dvh,132px) 52px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .bottomPanel{padding-block:8px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .messageWindow{line-height:1.4}}@media(max-width:560px)and (orientation:portrait){.gameShell.gameShell--illustrated:not(.gameShell--replay){grid-template-rows:96px minmax(0,1fr) 200px 178px}.gameShell.gameShell--illustrated:not(.gameShell--replay)[data-hero=mage]{grid-template-rows:96px minmax(0,1fr) 200px 190px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot{padding:6px;grid-template-rows:minmax(0,1fr) 23px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotName{padding:0 1px;font-size:9px;letter-spacing:-.04em}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotNumber{top:6px;left:6px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playFrame--card{grid-template-columns:6px minmax(0,1fr) 6px;grid-template-rows:6px minmax(0,1fr) 6px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playActionDock{grid-template-rows:minmax(0,1fr) 56px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.whirlwindButton{height:50px;min-height:50px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.playIcon--whirlwind{height:40px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playEquipmentHeading{line-height:14px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.equipmentSlots{min-height:0}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary .equipmentSlotIcon,.gameShell.gameShell--illustrated:not(.gameShell--replay) .equipmentSlotEmpty{height:45px}.gameShell.gameShell--illustrated:not(.gameShell--replay)[data-hero=mage] .headerAuxiliary .equipmentSlotIcon,.gameShell.gameShell--illustrated:not(.gameShell--replay)[data-hero=mage] .equipmentSlotEmpty{height:30px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .bottomPanel{padding:11px 29px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .messageWindow{font-size:11px;line-height:1.4}}@media(min-width:561px)and (pointer:coarse)and (min-height:561px){.gameShell.gameShell--illustrated:not(.gameShell--replay){grid-template-rows:auto auto minmax(0,1fr) 186px 52px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot{padding:6px;grid-template-rows:minmax(0,1fr) 22px}}@media(orientation:landscape)and (max-height:560px){.gameShell.gameShell--illustrated:not(.gameShell--replay){grid-template-rows:68px minmax(0,1fr) 62px 32px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot{padding:5px;grid-template-rows:minmax(0,1fr) 20px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotName{padding:0 1px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotNumber{top:5px;left:5px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .bottomPanel{padding:4px 29px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playFrame--log{grid-template-rows:4px minmax(0,1fr) 5px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .messageWindow{line-height:1.2}}@media(orientation:landscape)and (max-height:560px)and (max-width:640px){.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot{grid-template-rows:minmax(0,1fr) 25px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotName{font-size:7px}}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot{grid-template-rows:minmax(0,1fr)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotCardIcon{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:5px;container-type:inline-size;background:radial-gradient(ellipse,#be823e66,transparent 75%),repeating-linear-gradient(0deg,transparent 0 12px,#38190388 13px 14px,#efc17133 15px 16px),linear-gradient(#825023,#4b2d14)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotCardIcon>img{width:100%;height:100%;object-fit:cover}.gameShell--illustrated .handCardBadge{position:absolute;bottom:0;width:33.333%;height:28%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;border:1px solid #744414;border-radius:4px;background:linear-gradient(#fff6c4,#eac36d);color:#51310f;font-size:19cqw;font-weight:900;line-height:1;letter-spacing:-.04em;text-shadow:none}.gameShell--illustrated .handCardBadge--all{left:0;background:#e8faff;color:#145573;border-color:#469fb8;font-size:15cqw}.gameShell--illustrated .handCardBadge--value{right:0}@media(max-width:560px)and (orientation:portrait){.gameShell.gameShell--illustrated:not(.gameShell--replay),.gameShell.gameShell--illustrated:not(.gameShell--replay)[data-hero=mage]{grid-template-columns:minmax(0,3fr) minmax(144px,2fr);grid-template-rows:104px auto minmax(0,1fr) clamp(150px,42vw,200px) 56px;gap:3px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playActionDock{display:contents}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel,.gameShell.gameShell--illustrated:not(.gameShell--replay).gameShell--leftHanded .topPanel{grid-area:1 / 1 / 2 / -1}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary{grid-area:2 / 1 / 3 / -1;display:flex;flex-wrap:wrap;align-items:center;align-content:center;gap:3px;padding:3px;overflow:visible}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.whirlwindButton{order:0;flex:1 1 48%;width:auto;margin:0;height:52px;min-height:52px;padding:6px;grid-template-columns:34px minmax(0,1fr)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.playIcon--whirlwind{width:34px;height:38px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.playSpecialCaption{font-size:11px;gap:1px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playEquipmentHeading{display:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.equipmentSlots{order:1;flex:1 1 45%;width:auto;min-height:0;gap:2px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary .equipmentSlotIcon,.gameShell.gameShell--illustrated:not(.gameShell--replay) .equipmentSlotEmpty,.gameShell.gameShell--illustrated:not(.gameShell--replay)[data-hero=mage] .headerAuxiliary .equipmentSlotIcon,.gameShell.gameShell--illustrated:not(.gameShell--replay)[data-hero=mage] .equipmentSlotEmpty{height:48px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.mageAttackButton{order:2;flex:1 1 28%;min-height:30px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.statusEffects{order:3;flex-basis:100%}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.statusEffects:empty{display:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mapPanel{grid-area:3 / 1 / 4 / -1}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventoryScroller{grid-area:4 / 1;padding:0;min-width:0}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mobileGameControls{grid-area:4 / 2;gap:3px;padding:0}.gameShell.gameShell--illustrated:not(.gameShell--replay) .bottomPanel{grid-area:5 / 1 / 6 / -1;padding:10px 25px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot{padding:4px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playFrame--card{grid-template-columns:4px minmax(0,1fr) 4px;grid-template-rows:4px minmax(0,1fr) 4px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotNumber{top:3px;left:3px;min-width:10px;font-size:10px;padding:0 1px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotCardIcon>img{object-fit:contain}.gameShell.gameShell--illustrated:not(.gameShell--replay).gameShell--leftHanded{grid-template-columns:minmax(144px,2fr) minmax(0,3fr)}.gameShell.gameShell--illustrated:not(.gameShell--replay).gameShell--leftHanded .headerAuxiliary{grid-area:2 / 1 / 3 / -1}.gameShell.gameShell--illustrated:not(.gameShell--replay).gameShell--leftHanded .inventoryScroller{grid-area:4 / 2}.gameShell.gameShell--illustrated:not(.gameShell--replay).gameShell--leftHanded .mobileGameControls{grid-area:4 / 1}.gameShell.gameShell--illustrated:not(.gameShell--replay).gameShell--leftHanded .bottomPanel{grid-area:5 / 1 / 6 / -1}}@media(max-width:560px)and (orientation:portrait){.gameShell.gameShell--illustrated:not(.gameShell--replay) .playArea,.gameShell.gameShell--illustrated:not(.gameShell--replay).gameShell--leftHanded .playArea{grid-area:3 / 1 / 4 / -1}}.equipmentEmptyMark{display:none}@media(max-width:560px)and (orientation:portrait){.gameShell.gameShell--illustrated:not(.gameShell--replay){--mobile-panel-gap: 3px;--mobile-panel-radius: 7px;gap:var(--mobile-panel-gap)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact{border-radius:var(--mobile-panel-radius);box-shadow:inset 0 0 0 1px #c49344,inset 0 0 0 3px #ffe9ac}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusGrid--compact{grid-template-rows:repeat(2,27px);gap:4px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact{padding-bottom:7px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--floor{grid-area:2 / 11 / 3 / 18}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--turn{grid-area:2 / 18 / 3 / 25}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard:not(.gameStatusCard--hp):not(.gameStatusCard--medal){padding:3px 6px;gap:4px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--floor .gameStatusLabel,.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--turn .gameStatusLabel{font-size:10px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--floor,.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard--turn{--play-status-number: 14px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .topPanel--compact .gameStatusCard{border-radius:var(--mobile-panel-radius)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary{padding:3px;gap:var(--mobile-panel-gap);border-radius:var(--mobile-panel-radius);background:var(--play-wood);box-shadow:inset 0 0 0 1px #c49344}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.whirlwindButton{padding:10px 12px;height:60px;min-height:60px;flex-basis:53%;grid-template-columns:30px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 6px;gap:4px;border-radius:var(--mobile-panel-radius)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playFrame--special{grid-template-columns:7px minmax(0,1fr) 7px;grid-template-rows:7px minmax(0,1fr) 7px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.playIcon--whirlwind,.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.preparationSpecialIcon{width:30px;height:34px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton>.playSpecialCaption{display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:6px;font-size:14px;line-height:1.1;-webkit-text-stroke:1.5px #102a41;text-shadow:0 1px 0 #102a41}.gameShell--illustrated .playSpecialCaption>strong{min-width:0;overflow-wrap:anywhere}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playSpecialCaption>.playSpecialState{flex:0 0 auto;padding:4px 3px;border:1px solid #5595b5;border-radius:5px;font-size:11px;font-variant-numeric:tabular-nums;line-height:1;background:#072a4f;color:#ddf7ff;-webkit-text-stroke:0;text-shadow:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playSpecialState[data-ready=true]{background:linear-gradient(#0871a0,#074777);border-color:#83f6ff;box-shadow:inset 0 0 0 1px #166fa0;color:#fff}.gameShell.gameShell--illustrated:not(.gameShell--replay) .whirlwindButton progress{height:6px;box-shadow:0 0 2px #19cafa}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.equipmentSlots{gap:var(--mobile-panel-gap);flex-basis:43%}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playFrame--equipment{grid-template-columns:4px minmax(0,1fr) 4px;grid-template-rows:4px minmax(0,1fr) 4px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .equipmentSlotEmpty{justify-content:center;gap:1px;padding:5px 4px;border-radius:var(--mobile-panel-radius);color:#edcd8e}.gameShell.gameShell--illustrated:not(.gameShell--replay) .equipmentSlotEmpty>svg{width:25px;height:25px;opacity:.85}.gameShell.gameShell--illustrated:not(.gameShell--replay) .equipmentEmptyLabel{display:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .equipmentEmptyMark{display:block;font-size:13px;line-height:9px;color:#ffedbe}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventoryBar{gap:3px;grid-template-columns:repeat(5,calc((100% - 12px)/5));grid-auto-columns:calc((100% - 12px)/5)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot{padding:5px;border-radius:7px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playFrame--card{grid-template-columns:4px minmax(0,1fr) 4px;grid-template-rows:4px minmax(0,1fr) 4px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotCardIcon{background:radial-gradient(ellipse at 50% 35%,#986126,#4e290e);border-radius:4px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotCardIcon>img{position:absolute;left:-5%;top:-4%;width:110%;max-width:none;height:100%;object-fit:contain;object-position:center}.gameShell.gameShell--illustrated:not(.gameShell--replay) .handCardBadge{bottom:4px;height:17px;border-radius:3px;font-size:clamp(11px,31cqw,14px);letter-spacing:-.06em;white-space:nowrap}.gameShell.gameShell--illustrated:not(.gameShell--replay) .handCardBadge--value{right:3px;background:none;border:0;color:#fff4d6;-webkit-text-stroke:1.5px #36200b;paint-order:stroke fill;text-shadow:0 1px 0 #36200b}.gameShell.gameShell--illustrated:not(.gameShell--replay) .handCardBadge--value[data-length="3"]{font-size:clamp(9px,24cqw,11px)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .handCardBadge--value[data-value=MAX]{font-size:8px;letter-spacing:-.04em}.gameShell.gameShell--illustrated:not(.gameShell--replay) .handCardBadge--all{left:1px;font-size:16cqw;letter-spacing:-.08em;border-width:0}.gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlotNumber{top:5px;left:5px;border-width:1px;border-radius:4px;-webkit-text-stroke:0;font-size:11px;line-height:1;padding:1px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mobileGameControls{gap:var(--mobile-panel-gap);border-radius:var(--mobile-panel-radius);background:var(--play-wood)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mobileDirectionButton{border-radius:var(--mobile-panel-radius);overflow:hidden}.gameShell.gameShell--illustrated:not(.gameShell--replay) .mobileDirectionButton--wait{border-width:2px;box-shadow:inset 0 0 0 1px #ffe0a0;font-size:26px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .bottomPanel{padding:9px 20px;border-radius:var(--mobile-panel-radius)}.gameShell.gameShell--illustrated:not(.gameShell--replay) .playFrame--log{grid-template-columns:18px minmax(0,1fr) 18px;grid-template-rows:7px minmax(0,1fr) 7px}.gameShell.gameShell--illustrated:not(.gameShell--replay) .messageWindow{padding:0;font-size:13px;line-height:1.4}.gameShell.gameShell--illustrated:not(.gameShell--replay) .messageWindow>.playKeyboardHint{display:none}}@media(orientation:landscape)and (max-height:560px){.gameShell.gameShell--illustrated:not(.gameShell--replay) .messageWindow>.playKeyboardHint{display:none}}@media(orientation:landscape)and (max-height:560px){.gameShell.gameShell--illustrated:not(.gameShell--replay) .handCardBadge{height:18px;font-size:12px;white-space:nowrap}.gameShell.gameShell--illustrated:not(.gameShell--replay) .handCardBadge--all{font-size:10px}}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.specialAbilityPanel{order:2;flex:1 1 430px;min-width:min(100%,330px);max-width:600px;margin-left:auto;padding:4px 6px 5px;border:2px solid #ab7535;border-radius:10px;background:repeating-linear-gradient(0deg,#0000 0 14px,#8a592315 15px 16px),linear-gradient(#fff1c8,#e8c17f);box-shadow:inset 0 0 0 1px #fff7da,0 2px #4c2a10;color:#4c3016}.gameShell--illustrated .specialSharedGauge{display:grid;grid-template-columns:auto minmax(55px,1fr);align-items:center;gap:5px;margin-bottom:4px;font-size:12px;font-weight:900;white-space:nowrap;text-shadow:0 1px #fff4d0}.gameShell--illustrated .specialSharedGauge strong{color:#4c3016;font-variant-numeric:tabular-nums}.gameShell--illustrated .specialSharedGauge progress{width:100%;height:9px;appearance:none;border:1px solid #9defff;border-radius:8px;overflow:hidden;background:#031b2f}.gameShell--illustrated .specialSharedGauge progress::-webkit-progress-bar{background:#031b2f}.gameShell--illustrated .specialSharedGauge progress::-webkit-progress-value{background:linear-gradient(#c7ffff,#21dce9 55%,#038dbb)}.gameShell--illustrated .specialSharedGauge progress::-moz-progress-bar{background:linear-gradient(#c7ffff,#21dce9 55%,#038dbb)}.gameShell--illustrated .specialSkillButtons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.gameShell--illustrated .specialSkillButton{position:relative;display:flex;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:44px;padding:3px 4px;border:2px solid #e7bd6a;border-radius:7px;background:var(--soft-wood);box-shadow:inset 0 0 0 1px #fff0b4,inset 0 -3px #60380f,0 2px #553015;color:#fff;font:inherit;cursor:pointer;text-shadow:0 1px 1px #40250f}.gameShell--illustrated .specialSkillButton>.preparationSpecialIcon{flex:0 0 31px;width:31px;height:31px}.gameShell--illustrated .specialSkillButton>.preparationSpecialIcon img,.gameShell--illustrated .specialSkillButton>.preparationSpecialIcon svg{width:100%;height:100%;object-fit:contain}.gameShell--illustrated .specialSkillButton>span:not(.preparationSpecialIcon){min-width:0;display:grid;justify-items:center;line-height:1.05}.gameShell--illustrated .specialSkillButton strong{font-size:12px;overflow-wrap:anywhere}.gameShell--illustrated .specialSkillButton small{font-size:10px;color:#ffedb1;white-space:nowrap}.gameShell--illustrated .specialSkillButton kbd{position:absolute;top:1px;right:3px;font-size:9px;font-weight:900;color:#ffe9ad}.gameShell--illustrated .specialSkillButton:disabled{background:linear-gradient(#887254,#5b4832);border-color:#bda16e;box-shadow:inset 0 1px #d9c394;color:#fff2d7;filter:none;cursor:default}.gameShell--illustrated .specialSkillButton:disabled small{color:#f2d39b}.gameShell--illustrated .specialSkillButton[aria-pressed=true]{border-color:#fff3b3;box-shadow:0 0 0 2px #8e5b21,inset 0 0 0 2px #fff0b1}.gameShell--illustrated .specialSkillButton:focus-visible{outline:3px solid #56361a;outline-offset:2px}.gameShell.gameShell--illustrated:has(.specialConfirm) .specialSkillButton{pointer-events:auto}.gameShell--illustrated .specialSkillButton:enabled:hover{filter:brightness(1.12)}.gameShell--illustrated .specialSkillButton:enabled{border-color:#ffe49b}@media(max-width:560px)and (orientation:portrait){.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.specialAbilityPanel{order:1;flex:1 1 54%;width:auto;min-width:0;max-width:none;margin:0;padding:3px;border-width:1px}.gameShell--illustrated .specialSharedGauge{grid-template-columns:auto minmax(20px,1fr);gap:3px;margin-bottom:3px;font-size:10px}.gameShell--illustrated .specialSharedGauge progress{height:7px}.gameShell--illustrated .specialSkillButtons{gap:2px}.gameShell--illustrated .specialSkillButton{flex-direction:column;gap:0;min-height:43px;padding:1px 0;border-width:1px}.gameShell--illustrated .specialSkillButton>.preparationSpecialIcon{flex:0 0 20px;width:20px;height:20px}.gameShell--illustrated .specialSkillButton strong{font-size:clamp(9px,2.6vw,10px);line-height:1}.gameShell--illustrated .specialSkillButton small{font-size:9px}.gameShell--illustrated .specialSkillButton kbd{display:none}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.equipmentSlots{order:0;flex:1 1 42%;min-width:0;margin:0;align-self:stretch;align-items:center;border:2px solid #b77f3c;border-radius:7px;background:linear-gradient(#70401e,#41230f);box-shadow:inset 0 0 0 1px #f0c680,0 2px #3b1d0a}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.mageAttackButton{order:2}}@media(orientation:landscape)and (max-height:560px){.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.specialAbilityPanel{order:-3;flex:0 0 100%;width:100%;min-width:0;padding:2px}.gameShell--illustrated .specialSkillButton{flex-direction:column;gap:0;min-height:30px;padding:1px}.gameShell--illustrated .specialSkillButton>.preparationSpecialIcon,.gameShell--illustrated .specialSkillButton kbd{display:none}.gameShell--illustrated .specialSkillButton strong{font-size:9px}.gameShell--illustrated .specialSharedGauge{margin-bottom:2px;font-size:10px}}.inventoryChargePreview{position:absolute;bottom:3px;left:2px;right:2px;z-index:12;padding:4px 1px;border-radius:5px;background:#124d3f;color:#fff;font-size:clamp(9px,1.1vw,14px);font-weight:900;text-align:center}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.equipmentSlots[data-equipment-hero]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.equipmentSlots[data-equipment-hero=mage]{grid-template-columns:repeat(3,minmax(0,1fr))}.gameShell.gameShell--illustrated .equipmentSlots[data-equipment-hero]>:is(.equipmentSlot,.equipmentSlotEmpty){min-width:0;width:100%}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary .equipmentSlots[data-equipment-hero] .equipmentSlotIcon{width:100%;min-width:0;box-sizing:border-box}.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary .equipmentSlots[data-equipment-hero] .panelHeading{display:block;min-width:0;overflow:hidden}body:has(.gameShell:not(.gameShell--replay)) .equipmentExpandedOverlay{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;width:100%;height:100dvh;box-sizing:border-box;padding:16px;border:0;background:#07100bd9;color:#48270c;cursor:pointer;touch-action:manipulation}body:has(.gameShell:not(.gameShell--replay)) .equipmentExpandedPanel{display:grid;justify-items:center;gap:8px;width:min(88vw,350px);max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;padding:16px;border:3px solid #ba8637;border-radius:14px;background:linear-gradient(#fff2ce,#efd396);text-align:center;box-shadow:0 18px 48px #0008}body:has(.gameShell:not(.gameShell--replay)) .equipmentExpandedPanel img{width:auto;max-width:100%;height:min(42dvh,330px);object-fit:contain;image-rendering:auto}body:has(.gameShell:not(.gameShell--replay)) .equipmentExpandedPanel strong{font-size:20px;color:#48270c}body:has(.gameShell:not(.gameShell--replay)) .equipmentExpandedPanel small{font-size:14px;line-height:1.6;color:#48270c}body:has(.gameShell:not(.gameShell--replay)) .equipmentExpandedPanel em{color:#684619;font-size:12px;font-style:normal}@media(min-width:561px){.gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary>.equipmentSlots[data-equipment-hero]{width:35%;flex:0 1 35%}}.floorMapPanel .floorMapLegend{display:flex;flex-wrap:wrap;gap:3px 8px;width:max-content;max-width:120%;margin-top:5px;color:#fff5d7;font-size:10px;font-weight:800;line-height:1.4;text-shadow:0 1px 2px #111,1px 0 2px #111,-1px 0 2px #111}.floorMapLegend>span{display:inline-flex;align-items:center;gap:3px}.floorMapLegend i{display:inline-block;width:10px;height:10px;border:1px solid #f9eed2b0}.floorMapLegendVisited{background:rgb(var(--floor-map-color, 255 235 178) / .76)}.floorMapLegendUnvisited{background:repeating-linear-gradient(135deg,#ebf0ffa6 0 1px,transparent 1px 5px),#2d354f7a}@media(max-width:560px)and (orientation:portrait),(max-height:560px)and (orientation:landscape)and (pointer:coarse){.floorMapPanel .floorMapLegend{margin-top:calc(20% + 5px)}}.equipmentManageActions{display:grid;gap:8px;width:100%}.equipmentManageActions button{min-height:44px;width:100%;white-space:normal;padding:8px}.equipmentManageActions small{font-size:12px!important}body:has(.gameShell:not(.gameShell--replay)) .equipmentExpandedPanel:has(.equipmentManageActions) img{height:min(48dvh,390px)}body:has(.gameShell:not(.gameShell--replay)) .equipmentExpandedPanel:has(.equipmentManageActions){width:min(92vw,440px);gap:6px;padding:12px}body:has(.gameShell:not(.gameShell--replay)) .equipmentExpandedPanel>button{min-height:44px;width:100%}@media(max-height:560px)and (orientation:landscape){body:has(.gameShell:not(.gameShell--replay)) .equipmentExpandedPanel:has(.equipmentManageActions){width:min(94vw,760px);grid-template-columns:minmax(0,1fr) minmax(0,1fr)}body:has(.gameShell:not(.gameShell--replay)) .equipmentExpandedPanel:has(.equipmentManageActions) img{grid-column:1;grid-row:1 / span 6;height:min(78dvh,390px)}body:has(.gameShell:not(.gameShell--replay)) .equipmentExpandedPanel:has(.equipmentManageActions)>:not(img){grid-column:2}}.noCarryWarning,body:has(.gameShell:not(.gameShell--replay)) .equipmentExpandedPanel .noCarryWarning{color:#b71920;font-size:inherit;font-weight:900}.equipmentManageActions .noCarryWarning{display:block}.inventorySlot .detachedEquipmentMark{position:absolute;right:8%;bottom:24%;z-index:12;width:clamp(18px,2.3vw,27px);height:clamp(18px,2.3vw,27px);display:grid;place-items:center;pointer-events:none;border:1px solid #ffbcb0;border-radius:50%;background:#fff1dcef;box-shadow:0 1px 3px #32130799}.detachedEquipmentMark svg{width:90%;height:90%;fill:none;stroke:#cb1721;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.app--gameViewport .mobileGameCanvas{overflow-anchor:none}.app--gameViewport .mapPanel{contain:layout paint;overflow-anchor:none}.ironMine{position:absolute;inset:2%;display:block;background:url(../effect-sprites/iron-guy-mine-v1.webp) center / contain no-repeat;image-rendering:auto;filter:drop-shadow(0 1px 1px #25170d66);z-index:0;pointer-events:none}.ironMineBurst{position:absolute;inset:4%;border-radius:50%;background:radial-gradient(circle,#fff7bf,#ffc450 28%,#e84c26 48%,transparent 70%);z-index:25;pointer-events:none;animation:ironMineExplosion .6s ease-out both}@keyframes ironMineExplosion{0%{transform:scale(.3);opacity:1}45%{transform:scale(1.25);opacity:1}to{transform:scale(1.6);opacity:0}}@media(prefers-reduced-motion:reduce){.ironMineBurst{animation-duration:.15s}}.playFrame--continuous{display:block}.continuousPlayArt{display:block;width:100%;height:100%;overflow:hidden}#root .gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar>.playBrand{font-size:clamp(12px,1.2vw,18px)}#root .gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar>.audioSettingsControl>.panelHeading{position:relative;border:0;border-image:none;border-radius:0;background:none;box-shadow:none}#root .gameShell--illustrated .gameSettingsToolbar>.audioSettingsControl>.panelHeading>.relicTypographyIcon{display:none}#root .gameShell--illustrated .gameSettingsToolbar .settingsControlLabel{position:absolute;left:46%;top:16%;width:42%;height:63%;display:flex;align-items:center;justify-content:center;font:800 clamp(10px,1.3vw,18px)/1.15 var(--relic-heading-font);color:#fff8e3;white-space:nowrap;letter-spacing:normal;-webkit-text-stroke:.7px #291506;paint-order:stroke fill;text-shadow:0 1px #291506}@media(max-width:560px)and (orientation:portrait){#root .gameShell--illustrated .gameSettingsToolbar .settingsControlLabel{font-size:15px}}.continuousPlayArt--phone{display:none}@media(max-width:560px)and (orientation:portrait){#root .gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar:has(.monsterStageSummary){grid-template-columns:minmax(0,1fr) calc(84px / var(--monster-cargo-scale,1));gap:calc(4px / var(--monster-cargo-scale,1));align-items:center}#root .gameShell.gameShell--illustrated:not(.gameShell--replay) .monsterStageSummary{display:grid;grid-template-columns:minmax(0,1fr) calc(88px / var(--monster-cargo-scale,1));gap:calc(4px / var(--monster-cargo-scale,1));width:100%;min-width:0}#root .gameShell.gameShell--illustrated:not(.gameShell--replay) .monsterStageSummary .playStageName{width:100%;min-width:0;height:calc(44px / var(--monster-cargo-scale,1));padding:0;overflow:visible;place-items:center}#root .gameShell--illustrated .playStageName .continuousPlayArt--desktop{display:none}#root .gameShell--illustrated .playStageName .continuousPlayArt--phone{display:block}#root .gameShell--illustrated .monsterStageSummary .playStageName>span:not(.playFrame){width:64%;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:calc(14px / var(--monster-cargo-scale,1));line-height:1.1}#root .gameShell--illustrated .gameSettingsToolbar>.playIcon--settings{display:none}#root .gameShell--illustrated .gameSettingsToolbar>.audioSettingsControl{display:flex;align-items:center;width:100%;min-width:0;height:calc(44px / var(--monster-cargo-scale,1))}#root .gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar>.audioSettingsControl>.panelHeading{width:100%;min-width:0;height:100%;min-height:0;padding:0;background:url(../ui-soft/continuous-play-20261013/play-settings-no-text.png) center/contain no-repeat}#root .gameShell--illustrated .gameSettingsToolbar .settingsControlLabel{top:0;height:100%;font-size:calc(12px / var(--monster-cargo-scale,1))}}#root .gameShell.gameShell--illustrated:not(.gameShell--replay) .playFrame--toolbar{grid-template-columns:8px minmax(0,1fr) 8px;grid-template-rows:3px minmax(0,1fr) 3px;z-index:0;border-radius:inherit;overflow:hidden}#root .gameShell.gameShell--illustrated:not(.gameShell--replay) .gameSettingsToolbar>.monsterStageSummary{position:relative}#root .gameShell.gameShell--illustrated:not(.gameShell--replay) .equipmentSlotEmpty,#root .gameShell.gameShell--illustrated:not(.gameShell--replay) .headerAuxiliary .equipmentSlot>.panelHeading{box-shadow:inset 0 1px 3px #28130580,inset 0 -1px #e6be7440}#root .gameShell.gameShell--illustrated:not(.gameShell--replay) .playFrame--equipment{border-radius:inherit;filter:none}#root .gameShell.gameShell--illustrated:not(.gameShell--replay) .specialSkillButton{border-color:#e4b864;box-shadow:inset 0 0 0 1px #ffedb8,inset 0 2px 3px #fff2c529,inset 0 -3px #62380f,0 2px #553015}#root .gameShell.gameShell--illustrated:not(.gameShell--replay) .specialSkillButton:enabled{border-color:#ffe3a0;background:linear-gradient(105deg,#ad702d,#93551e 65%,#a96c29)}#root .gameShell.gameShell--illustrated:not(.gameShell--replay) .specialSkillButton:disabled{border-color:#b8a47d;background:linear-gradient(105deg,#786c58,#5f5547);box-shadow:inset 0 0 0 1px #d6c9a6,inset 0 -2px #443a2f,0 2px #553015}#root .gameShell.gameShell--illustrated:not(.gameShell--replay) .specialSkillButton[aria-pressed=true]{border-color:#c4ffff;box-shadow:inset 0 0 0 2px #42d7e9,inset 0 -3px #62380f,0 2px #553015}#root .gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot.spearFixedSlot{border-color:#54e0ed;box-shadow:inset 0 0 0 1px #c1fff1,inset 0 0 9px #33d1e83d}#root .gameShell.gameShell--illustrated:not(.gameShell--replay) .inventorySlot[aria-pressed=true]:after{content:"";position:absolute;inset:0;z-index:4;border:3px solid #68f1ff;border-radius:inherit;box-shadow:inset 0 0 0 1px #edffff,inset 0 0 9px #33d1e859;pointer-events:none}#root .gameShell.gameShell--illustrated:not(.gameShell--replay) .mapPanel>.floorMapPanel .floorMap{border-color:#c7c49b99;border-radius:4px;background:#142d32b8;box-shadow:0 2px 4px #10212640}#root .gameShell.gameShell--illustrated:not(.gameShell--replay) .floorMapLegend{background:#142d32c9;border-radius:3px;box-shadow:0 0 0 3px #142d32c9}@media(orientation:landscape)and (pointer:coarse)and (max-height:560px){#root .app--gameViewport{--play-safe-left:env(safe-area-inset-left,0px);--play-safe-right:env(safe-area-inset-right,0px);width:100%;min-width:0;padding-inline:var(--play-safe-left) var(--play-safe-right);box-sizing:border-box}#root .gameShell.gameShell--illustrated{width:calc(100dvw - 8px - var(--play-safe-left,0px) - var(--play-safe-right,0px));max-width:100%;min-width:0;box-sizing:border-box;margin-inline:auto;grid-template-columns:142px minmax(0,1fr) 154px}#root .headerAuxiliary>.equipmentSlots[data-equipment-hero]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));flex:0 0 100%;width:100%;max-width:100%;gap:3px}#root .headerAuxiliary .equipmentSlots .equipmentSlot{width:100%;min-width:0;height:42px}#root .headerAuxiliary .equipmentSlots .equipmentSlotIcon,#root .headerAuxiliary .equipmentSlots .equipmentSlotEmpty{height:38px;width:100%}}@media(pointer:fine)and (min-width:1000px)and (min-height:600px){@media not all and (width:1920px)and (height:1080px){html:has(.app--gameViewport[data-play-frame=fit]){--play-frame-band: calc(min(1200px, 100vw - 16px, 100dvh * 1.4)/2 + 32px) ;background-image:linear-gradient(to right,#10201b 0,#10201b calc(50% - var(--play-frame-band)),transparent calc(50% - var(--play-frame-band)),transparent calc(50% + var(--play-frame-band)),#10201b calc(50% + var(--play-frame-band)),#10201b 100%),url(../dungeon-backgrounds/desktop.webp)}#root .app--gameViewport[data-play-frame=fit] .gameShell.gameShell--illustrated{outline:2px solid #bd8335;outline-offset:2px}}}.referenceArt{display:block;width:100%;height:100%;min-width:0;overflow:hidden}.unifiedWoodTitle,.unifiedWoodButton{box-sizing:border-box;display:block;border:solid transparent;border-width:12px 28px;border-image:url(../ui-soft/result-wood.webp) 40 95 fill / 12px 28px;color:#fff8e3;font-weight:900;text-align:center;text-shadow:0 2px 1px #301708,1px 0 #301708,-1px 0 #301708;background:none;line-height:1.25}.unifiedWoodTitle{font-size:24px;padding:2px 4px}.unifiedWoodButton{min-height:52px;font:inherit;font-weight:900;cursor:pointer}.unifiedCardArt{position:relative;display:block;width:100%;min-height:0;aspect-ratio:1;overflow:hidden;border:2px solid #b48c42;border-radius:12px;background:repeating-linear-gradient(0deg,#ffffff08 0 24%,#53311425 25%),linear-gradient(125deg,#996128,#513019)}.unifiedCardArt img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:auto}.unifiedCardNumber{position:absolute;z-index:1;left:0;top:0;padding:3px 8px;border-radius:0 0 10px;background:#f4d891;color:#51300e;font-size:13px;font-weight:900}.unifiedCardArt .unifiedCardValue{position:absolute;right:5px;bottom:5px;padding:0 5px;border-radius:5px;background:#fce5ab;color:#422509;font-size:30px;line-height:1.15;text-shadow:none}.unifiedCardAll{position:absolute;left:5px;bottom:5px;background:#fff2ce;border-radius:4px;color:#175663;padding:3px;font-size:13px;font-weight:900}.unifiedCardArt--compact{border:0;border-radius:0;background:none}.unifiedCardArt--compact .unifiedCardValue{right:0;bottom:0;padding:0 2px;font-size:13px;background:#ffedbecc}.unifiedCardArt--compact .unifiedCardAll{left:0;bottom:0;padding:1px;font-size:9px}.stageDetailOverlay{padding:12px;background:linear-gradient(#173f1c30,#153c2180),url(../stage-select/forest-continuous-v3.webp) center / cover}.stageDetailPanel{box-sizing:border-box;width:min(100%,720px);max-height:calc(100dvh - 24px);padding:4px;gap:10px;color:#3e240e;scrollbar-width:thin}.departureOverview,.departureSupplies,.stageDetailPanel .stageCarryInPanel{border:14px solid transparent;border-image:url(../ui-soft/result-frame.webp) 68 fill / 14px;border-radius:0;box-shadow:none;padding:8px;background:none;color:#3e240e}.departureOverview{gap:8px}.stageDetailHeader{border:0;padding:0;gap:7px}.stageDetailHeader>div{flex:1;min-width:0;text-align:center}.stageDetailHeader h2{margin:0;font-size:26px;text-shadow:none}.stageDetailHeader .unifiedWoodTitle{font-size:26px;color:#fff8e3}.stageDetailHeader .departureDungeonName{display:block;padding-top:3px;font-size:12px;color:#694216}.stageDetailGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.stageDetailStat{display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:5px;padding:7px 5px;border:1px solid #b69a64;border-radius:9px;background:#fff1c7aa;box-shadow:inset 0 1px #fff9e9}.stageDetailStat .referenceArt{width:34px;height:36px;grid-row:1/3;mix-blend-mode:multiply}.stageDetailStat>span{display:block;color:#452b11;font-size:11px;line-height:1.35;white-space:nowrap}.stageDetailStat strong{color:#3b230d;text-align:left;font-size:21px;line-height:1.25}.stageDetailStat:last-child{grid-column:1/-1}.stageDetailComment{margin:0;padding:9px;border:1px solid #b69a64;border-radius:8px;color:#40270f;background:#fff1c790;font-size:12px}.stagePlayRecord{gap:5px;padding:7px;border:1px solid #b69a64;border-radius:8px;background:#fff3d4;color:#3e2815;font-size:11px}.stagePlayRecord strong{color:inherit}.stagePlayRecord span{border:1px solid #bbc6ac;border-radius:16px;padding:3px 7px;background:#d6eddf;color:#273e31;font-size:10px}.stagePlayRecord span:nth-of-type(3n+1){background:#d6e8f1;color:#243d54}.stageDetailPanel .stageCarryInPanel{position:static;top:auto;padding:0 4px 6px;margin:0}.stageDetailPanel .carryInHeader{border:solid transparent;border-width:10px 19px;border-image:url(../ui-soft/result-wood.webp) 40 95 fill / 10px 19px;padding:0 2px;color:#fff8e3;font-size:17px;text-shadow:0 2px 1px #321606}.stageDetailPanel .stageCarryInPanel .carryInSlots{grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:auto auto;gap:5px;margin:7px 2px}.stageDetailPanel .stageCarryInPanel .carryInSlot{height:auto;aspect-ratio:1.05;border:2px solid #b48330;border-radius:7px;background:linear-gradient(140deg,#6e451d,#412b17);box-shadow:inset 0 0 0 2px #ecd297}.stageDetailPanel .stageCarryInPanel .carryInSlot>span{font-size:11px;color:#ffedc6;background:#32220eb8}.stageDetailPanel .stageCarryInPanel .carryInSlot:not(.carryInSlot--filled):after{color:#cbaa68;font-size:28px}.stageDetailPanel .stageCarryInPanel .departureCarryHint{display:block;margin:5px 3px;color:#573818;font-size:11px;line-height:1.5}.stageDetailHeader button,.stageDetailActions button,.stageDetailPanel .carryInClearButton,.departureSupplies button{border:2px solid #9a671d;border-radius:10px;box-shadow:inset 0 0 0 2px #fff1b5,0 2px #6b3d17;background:linear-gradient(#fff3cc,#efca82);color:#452509;text-shadow:none;min-height:42px;padding:8px 13px;font-weight:900}.stageDetailPanel .stageCarryInPanel .carryInClearButton{float:right;min-height:36px;padding:4px 14px;color:#fff8df;background:linear-gradient(#96531e,#633513);box-shadow:inset 0 0 0 1px #f8d687}.departureSupplies{padding:4px 8px}.departureSupplies>.panelHeading{cursor:pointer;font-size:16px;font-weight:900;min-height:40px;align-content:center}.departureSupplies .cardListFilters{margin:8px 0;background:#f5deab;color:#442a11;border-color:#bd944d}.departureSupplies .cardListFilters :is(label,span,strong){color:#442a11}.departureSupplies .stageCarryCard{background:#fff1cc;border:1px solid #bd944d;color:#462b14}.departureSupplies .stageCarryCard :is(strong,span){color:#462b14}.departureSupplies .stageCarryCardGrid{grid-template-columns:minmax(0,1fr)}.stageDetailActions{position:sticky;bottom:0;z-index:12;display:grid;grid-template-columns:1fr 1.65fr;gap:8px;background:#f8dfaaed;border:1px solid #c39545;border-radius:10px;padding:8px}.stageDetailActions button{font-size:18px;min-height:50px}.stageDetailActions .stageTrainingShortcut{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:3px 10px;border:solid transparent;border-width:8px 18px;border-image:url(../ui-soft/result-wood.webp) 40 95 fill / 8px 18px;border-radius:0;background:none;box-shadow:none;color:#fff6d9;font-size:16px;text-shadow:0 2px #2e1809}.stageTrainingShortcut img{display:block;width:34px;height:34px;object-fit:contain}.stageDetailActions button:last-child{background:linear-gradient(#29d4ff,#009ddb 55%,#0066a1);color:#fff;text-shadow:0 2px #00436a;font-size:18px;padding:8px;box-shadow:inset 0 0 0 2px #9ef,0 2px #533817}.stageDetailActions button:disabled,.departureSupplies button:disabled{filter:grayscale(.8);opacity:.55}.stageBetShortage{grid-column:1/-1;color:#982c16}.shopOverlay,.casinoOverlay{padding:10px;background:#091c19de}.shopPanel,.casinoPanel{box-sizing:border-box;width:min(100%,740px);max-height:calc(100dvh - 20px);border:3px solid #c29643;border-radius:16px;padding:18px;background:#322413 url(../ui-unified/tavern.webp) center / cover;color:#fff3cf;box-shadow:inset 0 0 0 2px #ffe1a2,0 14px 45px #0008;scrollbar-width:thin}.shopHeader{padding:0 0 8px;border:0;background:none;align-items:center;gap:8px}.shopHeader>div{flex:1;display:grid;justify-items:center}.shopHeader h2{width:100%;letter-spacing:0}.shopHeader h2 .unifiedWoodTitle{color:#fff7de;font-size:26px}.shopHeader .unifiedMedalPill{display:flex;align-items:center;gap:5px;padding:4px 13px;border:2px solid #daa846;border-radius:18px;color:#fff6df;font-size:12px;background:#593214;box-shadow:inset 0 0 0 2px #efc774}.unifiedMedalPill .referenceArt{width:24px;height:24px;border-radius:50%}.shopHeader .unifiedMedalPill strong{color:#fff8e9;font-size:22px}.shopHeader>button,.casinoHeader>button{min-width:70px;min-height:44px;padding:7px 10px;border:2px solid #a8732f;border-radius:12px;background:linear-gradient(#fff4d1,#edc87d);box-shadow:inset 0 0 0 2px #ffeeb8,0 2px #4c2c16;color:#472910;font-size:12px}.shopBody{overflow:visible;padding:0}.shopPanel .shopShelf{gap:6px;margin:4px 0 0;align-items:stretch}.shopPanel .shopProduct{min-height:0;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:6px;border:2px solid #c79742;border-radius:9px;background:#ffecc0;box-shadow:inset 0 0 0 2px #fff6d8,0 3px 3px #170c05;color:#422711}.shopPanel .shopProduct:before,.shopPanel .shopProduct:after{display:none}.shopPanel .shopProductPosition{display:none}.shopPanel .shopProduct .unifiedCardArt{flex:none;width:100%;aspect-ratio:1.08}.shopPanel .shopProduct .unifiedCardArt img{width:100%;height:100%;object-fit:contain}.shopPanel .shopProduct>strong:not(.shopProductState){width:100%;padding:0;font-size:11px;text-align:center;min-height:29px;line-height:1.3;white-space:normal;color:#422711}.shopPanel .shopProduct>span:not(.shopProductPosition):not(.unifiedCardArt){color:#432710;font-size:11px}.shopPanel .shopProduct button{width:100%;min-height:32px;padding:3px;font-size:13px;border:2px solid #477013;border-radius:8px;color:#fff;background:linear-gradient(#60d730,#119717);box-shadow:inset 0 0 0 1px #b7ed65;text-shadow:0 1px #255600}.shopPanel .shopProduct button:disabled{opacity:1;color:#797150;border-color:#b6a579;background:#d8c69b;box-shadow:inset 0 0 0 1px #ece0c0;text-shadow:none}.shopPanel .shopProduct--hidden{padding:0;border:0;background:none;box-shadow:none;aspect-ratio:104/108}.shopPanel .shopProduct--hidden>.referenceArt{width:100%;height:100%}.shopPanel .shopProduct--sold{aspect-ratio:104/108;background:#604222}.shopPanel .shopProductState{color:#e4c888;font-size:13px}.shopColumnStates{margin-top:5px;gap:6px}.shopColumnStates span{padding:3px;background:#4a2c16c9;color:#fff0c6;font-size:10px}.shopNotice{background:#fff1cc;color:#8c3517;border:1px solid #ac7835;border-radius:6px;padding:7px;font-size:12px}.shopSellPanel{border:12px solid transparent;border-image:url(../ui-soft/result-frame.webp) 68 fill / 12px;padding:0 2px 3px;margin-top:12px}.shopSellPanel>header{border:solid transparent;border-width:9px 17px;border-image:url(../ui-soft/result-wood.webp) 40 95 fill / 9px 17px;font-size:17px;gap:4px}.shopSellPanel>header :is(span,strong){color:#fff6df;text-shadow:0 2px #32190b}.shopSellSlots{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin-top:5px}.shopSellSlots button{display:flex;flex-direction:column;align-items:center;height:auto;min-height:0;padding:3px;border:1px solid #bd954f;border-radius:7px;background:#fff0c4;color:#8b6d41}.shopSellSlots button:disabled{opacity:1;border-style:dashed}.shopSellSlots button>span:first-child{display:none}.shopSellSlots button>.unifiedCardArt{position:relative;left:auto;top:auto;width:100%;aspect-ratio:1.08}.shopSellSlots .unifiedCardArt img{height:100%}.shopSellSlots button>strong{width:100%;padding:3px 0;background:#f3cd79;border-radius:4px;color:#4b2c0c;font-size:12px}.shopSellSlots i{margin:auto;font-size:12px}.shopExitBar{display:block;padding:8px 0 0;border:0;background:none}.shopExitBar button{width:80%;margin:auto;display:block;border:solid transparent;border-width:13px 30px;border-image:url(../ui-soft/result-wood.webp) 40 95 fill / 13px 30px;min-height:52px;background:none;color:#fff6df;font-size:21px;text-shadow:0 2px #3a1d0b;font-weight:900}.cardModal{position:fixed;inset:0;z-index:120;padding:14px;background:#122d2e url(../ui-unified/card-dungeon.webp) center / auto 100% no-repeat;overflow:auto;overscroll-behavior:contain;box-sizing:border-box}.cardModalPanel,.cardModalPanel--pickupPreview,.cardModalPanel--replace{width:min(100%,390px);height:auto;max-height:calc(100dvh - 28px);min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:7px;padding:5px 12px 10px;border:18px solid transparent;border-image:url(../ui-soft/result-frame.webp) 68 fill / 18px;border-radius:0;background:none;box-shadow:none;overflow:auto;color:#3e240d}.cardModalPanel>.unifiedWoodTitle{flex:none;font-size:24px;margin:-4px -10px 2px}.cardModalPanel>.unifiedCardArt{flex:none;width:min(100%,270px);max-width:100%;align-self:center}.cardModalPanel .cardModalTitle{color:#42270e;font-size:22px;line-height:1.3;text-shadow:none}.cardModalPanel .cardUseHint{color:#4b2d12;font-size:13px;line-height:1.5;text-shadow:none;font-weight:700}.cardModalActions{display:flex;flex-direction:column;gap:8px;margin-top:4px}.cardModalActions>span{display:none}.cardModalActions button,.pickupPreviewDismiss{box-sizing:border-box;width:100%;min-height:44px;padding:7px 12px;border:2px solid #ad7e36;border-radius:13px;background:linear-gradient(#fff2ca,#e9c786);box-shadow:inset 0 0 0 2px #fff0bb,0 2px #8e5a22;color:#513010;font-size:19px;font-weight:900;text-shadow:none}.cardModalActions:not(.cardModalActions--single) button:first-of-type{min-height:50px;border-color:#7c581f;background:linear-gradient(#29d6ff,#039ed7 60%,#0268a6);color:#fff9e7;box-shadow:inset 0 0 0 2px #9ae5fc,0 0 0 2px #f4c753,0 3px #7e471a;text-shadow:0 2px #064566}.cardModalActions button:disabled{opacity:1;filter:grayscale(.9);color:#ece4cc}.cardModalPanel--replace>.unifiedCardArt{width:140px}.cardModalPanel--replace .unifiedCardNumber{font-size:10px}.cardModalPanel--replace .unifiedCardValue{font-size:22px}.replacePrompt{color:#573318;text-shadow:none;font-size:13px;padding-top:3px}.replaceSlots{flex:none;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.replaceSlot{border:2px solid #c39953;background:linear-gradient(130deg,#6e4b26,#3e2a17);border-radius:7px;box-shadow:inset 0 0 0 1px #f7d785;padding:2px}.replaceSlot img{width:100%;height:100%}.pickupPreviewDismiss{font-size:17px}.defeatScreen.gameOverChoices{position:fixed;inset:0;box-sizing:border-box;display:block;width:min(94vw,460px);height:fit-content;max-height:94dvh;margin:auto;padding:0 0 12px;border:3px solid #c89f54;border-radius:18px;overflow:auto;color:#44280f;background:#103438 url(../ui-unified/tavern.webp) center / cover;box-shadow:0 14px 60px #0009,inset 0 0 0 2px #ffe2a1;text-align:center}.defeatScreen::backdrop{background:#031611c9}.defeatScene{position:relative}.defeatScene>img{width:100%;height:auto;display:block}.defeatScene h2{position:absolute;top:2%;left:10%;width:80%;margin:0;font-size:30px;outline:none}.defeatScene .unifiedWoodTitle{font-size:30px;padding:0}.defeatRibbon{display:block;width:74%;margin:-1px auto 0;padding:3px 12px 6px;border:2px solid #00355c;border-radius:8px 8px 50% 50%/8px 8px 25% 25%;background:linear-gradient(#17bded,#007fca);box-shadow:inset 0 0 0 2px #7de9ff,0 2px #052840;color:#fff6dc;font-size:17px;text-shadow:0 1px #004c86}.defeatReturnPanel,.defeatRecoveryPanel{margin:-3px 12px 0;padding:8px 10px;border:16px solid transparent;border-image:url(../ui-soft/result-frame.webp) 68 fill / 16px}.defeatReturnPanel p{margin:0 0 10px;font-size:17px;font-weight:900}.defeatReturnPanel .unifiedWoodButton{width:100%;font-size:18px;padding:2px}.defeatRecoveryPanel{margin-top:12px;padding:0 7px 5px}.defeatRecoveryPanel h3{width:150px;margin:-20px auto 7px;position:relative}.defeatRecoveryPanel h3 .unifiedWoodTitle{padding:0;font-size:17px;border-width:9px 20px;border-image-width:9px 20px}.defeatScreen .defeatRecoveryPanel button{display:flex;align-items:center;gap:10px;width:100%;margin:7px 0;padding:10px;border:2px solid #bba16d;border-radius:12px;background:#e8d1a4;color:#81704f;opacity:1;font:inherit;font-size:15px;font-weight:900;line-height:1.4;text-align:left}.defeatRecoveryPanel button>span:first-child{width:28px;font-size:27px;flex:none;text-align:center}.defeatRecoveryPanel small{display:block;font-size:11px;font-weight:700}.defeatRecoveryPanel p{margin:9px 0 0;font-size:12px;font-weight:700}.casinoPanel{width:min(100%,650px);gap:10px;padding:22px}.casinoHeader{align-items:center;gap:6px}.casinoHeader>div{flex:1}.casinoHeader h2{margin:0;border:solid transparent;border-width:13px 23px;border-image:url(../ui-soft/result-wood.webp) 40 95 fill / 13px 23px;color:#fff2c7;font-size:clamp(16px,3vw,24px);letter-spacing:-.02em;line-height:1.1;text-align:center;text-shadow:0 2px #2f180a}.casinoHeader>div>span,.casinoHeader>div>p{display:none}.casinoControlBar{display:grid;grid-template-columns:1fr;gap:10px}.casinoBalance{justify-self:center;justify-content:center;align-items:center;gap:8px;min-width:180px;border:3px solid #e0b65d;border-radius:22px;padding:5px 18px;background:linear-gradient(#73441a,#3f250f);box-shadow:inset 0 0 0 2px #f7d487}.casinoBalance:before{content:"";width:26px;height:26px;background:url(../play-ui/icons/medal.webp) center / contain no-repeat}.casinoBalance span{font-size:12px;color:#fff1cf}.casinoBalance strong{font-size:25px;color:#fff6dc}.casinoBetControls{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:8px;border:12px solid transparent;border-image:url(../ui-soft/result-frame.webp) 68 fill / 12px;padding:3px;background:none}.casinoBetControls>span{color:#44290e;font-size:17px;font-weight:900}.casinoBetControls>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.casinoBetControls button{min-height:40px;padding:5px;border:2px solid #926128;border-radius:9px;background:linear-gradient(#87501e,#42250f);color:#fff5d9;font-size:18px;box-shadow:inset 0 0 0 1px #f4d184}.casinoBetControls .casinoBetButton--selected{background:linear-gradient(#22caff,#008ecf);border-color:#075781;box-shadow:inset 0 0 0 2px #83e7ff,0 0 0 1px #e8b650}.casinoBetControls .casinoSpinButton{grid-column:1/-1;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:16px;min-height:49px;padding:10px;border:3px solid #9c5b1c;border-radius:15px;background:linear-gradient(#ff6551,#cf0904 55%,#a90708);box-shadow:inset 0 0 0 2px #ffd56e,0 2px #54300f;color:#fff8e3}.casinoSpinButton strong{font-size:21px;letter-spacing:.05em}.casinoSpinButton span{font-size:15px}.casinoTicketButton{grid-column:1/-1;font-size:12px!important}.casinoExchangePanel{border:0;border-radius:0;padding:0;background:none}.casinoExchangePanel>.panelHeading{display:flex;align-items:center;justify-content:space-between;gap:6px;border:solid transparent;border-width:11px 18px;border-image:url(../ui-soft/result-wood.webp) 40 95 fill / 11px 18px;padding:0;color:#fff4dc;font-size:15px}.casinoExchangePanel>.panelHeading strong{background:#215b18;color:#ffffdc;padding:3px 9px;border:1px solid #d7b342;border-radius:13px;white-space:nowrap}.casinoExchangePanel{background:#ffebba;border:2px solid #bd8d3b;border-radius:12px;padding:7px;color:#452c14}.casinoExchangePanel :is(p,h3,label,.casinoExchangeLead,.casinoExchangeEmpty,.casinoRecycleSummary span){color:#4e3319}.casinoExchangeBody{gap:8px}.casinoRecycleSection,.casinoExchangeOffers{background:#fae1a6;border-color:#cba359}.casinoExchangePanel :is(select,input){background:#fff6df;border-color:#b28d52;color:#4b3117;font-size:14px}.casinoExchangePanel button,.casinoConfirm button{border:2px solid #a77835;background:linear-gradient(#f4d997,#ddb15c);border-radius:8px;color:#3c260f;min-height:40px;box-shadow:inset 0 0 0 1px #fff3c5}.casinoExchangePanel button:disabled{opacity:.55}.casinoExchangeOffer{background:#fff0c8;border-color:#c69b50}.casinoExchangeOffer :is(strong,span,p){color:#4b2c12}.casinoMachine{padding:12px 8px;border:3px solid #d2a047;border-radius:16px;background:repeating-linear-gradient(0deg,#ffffff05 0 24%,#42260e20 25%),linear-gradient(110deg,#84521d,#573113);box-shadow:inset 0 0 0 2px #f0c76b,0 5px 8px #130d09}.casinoMachine:before,.casinoMachine:after{display:none}.casinoMachineTop{justify-content:space-between;gap:4px;padding:2px 7px 8px;letter-spacing:0;color:#fff2c6}.casinoMachineTop strong{font-size:20px;letter-spacing:0}.casinoReelArea{grid-template-columns:20px minmax(0,1fr) 20px;gap:4px}.casinoReels{padding:5px;gap:6px;border:2px solid #d9b565;border-radius:12px;background:#332b21;box-shadow:inset 0 0 0 1px #8d673b}.casinoReel{height:240px;border:2px solid #897b62;border-radius:9px;background:#fff8e9;box-shadow:inset 0 8px 10px #70614322,inset 0 -8px 10px #70614322}.casinoReelColumn>span{height:auto;min-height:0;overflow:hidden}.casinoSlotSymbol .referenceArt{width:90%;height:95%;mix-blend-mode:multiply}.casinoSlotSymbol img,.casinoSlotSymbol:not(.casinoSlotSymbol--card) img{width:90%;height:70px;filter:none}.casinoSlotSymbol--card img{width:70%;height:64px}.casinoLineNumbers span{border-color:#d1b784;color:#fff2ce;background:#402b1c;font-size:10px}.casinoMachineMessage{min-height:18px;padding:5px 0;font-size:15px;text-shadow:0 1px #301604}.casinoPaylines{gap:3px}.casinoPaylines span{border:1px solid #d4ac63;background:#4b2c13;color:#fff0cc;padding:6px 2px;font-size:10px;border-radius:6px}.casinoPrizeList{padding:10px;border:2px solid #b78737;border-radius:9px;background:#ffe7ae;color:#503218}.casinoPrizeList :is(.panelHeading,h3,p,span,strong){color:#503218}.casinoWinOverlay,.casinoInlineResults{border-color:#cda451;background:#fff0c7;color:#4a2e14}.casinoInlineResults :is(p,h3,span,strong),.casinoWinOverlay :is(p,h3,span,strong){color:#4a2e14}.settingsScreen .audioSettingsPopover :is(.giftCodePanel,.saveTransferPanel){position:static;width:100%;max-width:none;box-sizing:border-box;margin:12px 0 0;padding:4px 8px 7px;border:14px solid transparent;border-image:url(../ui-soft/result-frame.webp) 68 fill / 14px;border-radius:0;background:none;color:#4a2c11}.settingsScreen .audioSettingsPopover :is(.giftCodePanel,.saveTransferPanel)>.panelHeading{display:flex;align-items:center;gap:9px;min-height:48px;padding:3px;border:0;border-bottom:1px solid #c89d4c;border-radius:0;background:none;box-shadow:none;text-align:left;color:#45270e;font-size:18px;line-height:1.4;list-style:none}.settingsScreen .audioSettingsPopover :is(.giftCodePanel,.saveTransferPanel)>.panelHeading::-webkit-details-marker{display:none}.settingArt{width:46px;height:46px;flex:none;mix-blend-mode:multiply}.settingsScreen .audioSettingsPopover :is(.giftCodePanel,.saveTransferPanel) :is(p,label,small){color:#4c3016;text-shadow:none;line-height:1.6}.settingsScreen .audioSettingsPopover .giftCodePanel form{gap:8px;padding:10px 0 4px;font-size:13px}.settingsScreen .audioSettingsPopover .giftCodePanel input{border:2px solid #b3925d;border-radius:10px;background:#fff8e5;color:#4d321c}.settingsScreen .audioSettingsPopover :is(.giftCodePanel,.saveTransferPanel) button,.settingsScreen .saveTransferPanel>a{width:100%;box-sizing:border-box;min-height:46px;padding:9px;border:2px solid #9c6d31;border-radius:12px;background:linear-gradient(#996024,#643810);box-shadow:inset 0 0 0 1px #f6d488,0 2px #ac7d3e;color:#fff2d5;font-size:14px;font-weight:900;text-align:center}.settingsScreen .audioSettingsPopover :is(.giftCodePanel,.saveTransferPanel) button:disabled{opacity:1;color:#78694e;background:#ddcba5;border-color:#b89c6c;box-shadow:inset 0 0 0 1px #eedebc}.settingsScreen .audioSettingsPopover :is(.giftCodePanel,.saveTransferPanel) p{margin:9px 0;font-size:12px}.settingsScreen .audioSettingsPopover .giftCodePanel .giftCodeMessage{padding:8px;border:1px solid #b58745;border-radius:8px;background:#fff5d9}@media(max-width:560px){.stageDetailOverlay{padding:max(5px,env(safe-area-inset-top)) 5px max(5px,env(safe-area-inset-bottom))}.stageDetailPanel{max-height:calc(100dvh - max(5px,env(safe-area-inset-top)) - max(5px,env(safe-area-inset-bottom)));gap:6px;padding:2px}.departureOverview{padding:5px;border-width:12px;border-image-width:12px;gap:5px}.stageDetailHeader .unifiedWoodTitle{font-size:22px;border-width:10px 24px;border-image-width:10px 24px}.stageDetailStat{grid-template-columns:27px minmax(0,1fr);padding:5px 3px;column-gap:3px}.stageDetailStat .referenceArt{width:27px;height:32px}.stageDetailStat>span{font-size:9px}.stageDetailStat strong{font-size:19px}.stagePlayRecord{padding:5px;gap:4px}.stageDetailPanel .stageCarryInPanel{border-width:12px;border-image-width:12px;padding:0 3px 4px}.stageDetailPanel .carryInHeader{font-size:15px;border-width:8px 16px;border-image-width:8px 16px}.stageDetailPanel .stageCarryInPanel .carryInSlot{aspect-ratio:1}.stageDetailPanel .stageCarryInPanel .departureCarryHint{font-size:10px}.departureSupplies{padding:0 5px;border-width:11px;border-image-width:11px}.departureSupplies>.panelHeading{min-height:34px;font-size:14px}.stageDetailActions{padding:6px}.stageDetailActions button{min-height:47px;font-size:16px}.stageDetailActions button:last-child{font-size:16px}.shopOverlay,.casinoOverlay{padding:max(5px,env(safe-area-inset-top)) 5px max(5px,env(safe-area-inset-bottom))}.shopPanel,.casinoPanel{width:100%;max-height:calc(100dvh - max(5px,env(safe-area-inset-top)) - max(5px,env(safe-area-inset-bottom)));padding:10px}.shopPanel{display:block;overflow:auto}.shopPanel .shopBody{overflow:visible}.shopHeader h2 .unifiedWoodTitle{font-size:23px}.shopPanel .shopShelf{gap:4px}.shopPanel .shopProduct{padding:4px;gap:2px}.shopPanel .shopProduct--hidden{padding:0}.shopPanel .shopProduct>strong:not(.shopProductState){font-size:9px;min-height:24px}.shopPanel .shopProduct>span:not(.shopProductPosition):not(.unifiedCardArt){font-size:9px}.shopPanel .shopProduct button{min-height:30px;font-size:11px}.shopSellPanel{border-width:10px;border-image-width:10px;margin-top:8px}.shopSellPanel>header{font-size:14px;border-width:8px 14px;border-image-width:8px 14px}.shopSellSlots{gap:4px}.shopSellSlots button>strong{font-size:11px}.shopColumnStates span{font-size:9px}.shopExitBar{padding-top:5px}.shopExitBar button{font-size:19px;min-height:48px}.casinoPanel{gap:8px;padding:20px 10px 18px}.casinoHeader h2{font-size:16px;border-width:12px 16px;border-image-width:12px 16px}.casinoHeader>button{min-width:54px;padding:5px;font-size:11px}.casinoExchangePanel>.panelHeading{font-size:12px;border-width:10px 12px;border-image-width:10px 12px}.casinoExchangePanel>.panelHeading strong{font-size:11px;padding:3px 7px}.casinoReel{height:222px}.casinoMachineTop strong{font-size:18px}.casinoMachine{padding:9px 5px}.casinoPaylines span{font-size:9px}.cardModalPanel{padding:5px 7px 8px}.defeatScene h2{left:8%;width:84%}}@media(max-height:680px){.cardModalPanel>.unifiedCardArt{width:190px}.cardModalPanel--replace>.unifiedCardArt{width:95px}.cardModalPanel{gap:5px}.cardModalPanel--replace .cardModalTitle{font-size:18px}.defeatScreen.gameOverChoices{width:min(94vw,380px)}}@media(prefers-reduced-motion:reduce){.defeatScreen *,.cardModal *{scroll-behavior:auto}}body:has(.app--stageSelect) .stageDetailOverlay{padding-top:max(5px,env(safe-area-inset-top))}.stageDetailPanel{align-content:start}.stageDetailStat{row-gap:1px}.stageDetailStat:last-child{grid-template-columns:30px 50px minmax(0,1fr);grid-template-rows:auto;min-height:36px}.stageDetailStat:last-child .referenceArt{grid-row:1;height:22px}.stageDetailStat:last-child strong{font-size:16px}.stageDetailPanel .stageCarryInPanel{grid-template-columns:minmax(0,1fr) auto;gap:4px}.stageDetailPanel .stageCarryInPanel>:is(.carryInHeader,.carryInSlots){grid-column:1/-1}.stageDetailPanel .stageCarryInPanel .departureCarryHint{grid-column:1;align-self:center}.stageDetailPanel .stageCarryInPanel .carryInClearButton{grid-column:2;align-self:center;float:none}.stageDetailActions{box-shadow:none}.stageDetailStat .referenceArt,.settingArt,.casinoSlotSymbol .referenceArt{mix-blend-mode:normal}.defeatScreen.gameOverChoices{background:#103438 url(../ui-unified/defeat-warrior.webp) center / cover}.casinoMachine{border:14px solid transparent;border-image:url(../ui-soft/result-frame.webp) 68 / 14px;border-radius:0;background:linear-gradient(#5e391dcc,#402612ed),url(../ui-unified/tavern.webp) center / cover;box-shadow:none}.casinoMachineMessage{color:#f4dfad}@media(max-width:560px){.stageDetailPanel .stageCarryInPanel .departureCarryHint{font-size:10px}.stageDetailPanel .stageCarryInPanel .carryInClearButton{padding:4px 8px;font-size:11px}.stageDetailPanel .stageCarryInPanel .carryInSlot{aspect-ratio:1.12}.stagePlayRecord{row-gap:3px}.stageDetailStat{row-gap:1px}.casinoMachine{padding:5px 0;border-width:11px;border-image-width:11px}.casinoReelArea{grid-template-columns:17px minmax(0,1fr) 17px;gap:2px}.casinoMachineTop strong{font-size:16px}}.stageDetailPanel .stageCarryInPanel{display:block;position:relative;padding:0;overflow:visible}.stageDetailPanel .stageCarryInSummary{position:sticky;top:0;z-index:14;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px;padding:5px 8px 7px;border-bottom:2px solid #bd8b3c;background:linear-gradient(#ffedc0,#ffdfa0);box-shadow:0 5px 9px #42240740}.stageDetailPanel .stageCarryInSummary>:is(.carryInHeader,.carryInSlots){grid-column:1/-1}.stageDetailPanel .stageCarryInSummary .carryInSlots{grid-template-rows:repeat(2,clamp(58px,7dvh,88px));margin:5px 2px}.stageDetailPanel .stageCarryInSummary .carryInSlot{height:100%;aspect-ratio:auto}.stageDetailPanel .stageCarryInSummary .carryInClearButton{grid-column:2;justify-self:end;min-height:30px}.stageDetailPanel .stageCarryInPanel .departureSupplies{display:block;padding:5px 8px 8px;border:0;border-image:none;background:none;box-shadow:none}.stageDetailPanel .stageCarryInPanel .cardListFilters{grid-template-columns:minmax(130px,1fr) auto auto auto;margin:6px 0}.stageDetailPanel .stageCarryInPanel .stageCarryCardGrid{max-height:none;overflow:visible}@media(max-width:560px){.stageDetailPanel .stageCarryInSummary{padding:4px 5px 5px}.stageDetailPanel .stageCarryInSummary .carryInSlots{grid-template-rows:repeat(2,48px);margin:4px 2px}.stageDetailPanel .stageCarryInPanel .cardListFilters{grid-template-columns:minmax(0,1fr) auto}.stageDetailPanel .stageCarryInPanel .departureSupplies{padding:4px 5px 6px}}button:has(>.illustratedButtonTrim){position:relative;isolation:isolate;border-color:transparent;background:none!important;box-shadow:none!important}.illustratedButtonTrim{position:absolute;inset:-2px;display:grid;min-width:0;min-height:0;pointer-events:none;z-index:-1;border:0;padding:0;margin:0}.illustratedButtonTrim svg{display:block;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden}.cardModalActions>button>.illustratedButtonTrim{display:grid;width:auto;height:auto;border:0;border-radius:0}.casinoSpinButton>.illustratedButtonTrim{font-size:inherit}button:disabled>.illustratedButtonTrim{filter:grayscale(.8);opacity:.6}.illustratedButtonTrim{overflow:hidden;border-radius:13px}.illustratedButtonTrim>.buttonTrimPiece{position:relative;display:block;width:auto;height:auto;min-width:0;min-height:0;padding:0;margin:0;border:0;border-radius:0;align-self:stretch;overflow:hidden}.illustratedButtonTrim>.buttonTrimPiece>svg{position:absolute;inset:0;width:100%;height:100%}.defeatScreen.gameOverChoices{background:linear-gradient(#0a2832cc,#133929c9),url(../stage-select/forest-continuous-v3.webp) center / cover}.casinoExchangePanel :is(span,small,b,strong){color:#593b1d}.casinoExchangePanel>.panelHeading :is(span,strong){color:#fff5d9}.casinoExchangePanel .casinoRecycleSummary{border:1px solid #c6a667;background:#f4e6bc}.casinoExchangePanel .casinoRecycleSummary strong,.casinoExchangePanel .casinoExchangeOffer>b{color:#326225}.casinoExchangePanel .casinoExchangeOffer small{color:#7c603f}.casinoExchangePanel .casinoExchangeOfferGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.casinoExchangeOffer .unifiedCardArt{width:100%;height:auto;aspect-ratio:1}.casinoExchangeOffer .unifiedCardArt img{width:100%;height:100%;max-height:none;background:none;border:0;border-radius:0}.casinoExchangeOffer .unifiedCardArt .unifiedCardValue{color:#422509;font-size:17px}.casinoExchangeOffer .unifiedCardArt .unifiedCardAll{color:#245868;font-size:11px}.casinoExchangeOffer>strong{min-height:2.5em;font-size:12px;line-height:1.3}.casinoExchangeOffer>div{gap:5px}.casinoExchangeOffer button{padding:6px 3px;white-space:nowrap;font-size:12px}@media(max-width:560px){.casinoExchangePanel .casinoExchangeOfferGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}.illustratedButtonTrim>.buttonTrimPiece{justify-self:stretch}.cardModalActions .illustratedButtonTrim{place-items:stretch}h3.panelHeading{margin:0;cursor:default!important}button.panelHeading{font-family:inherit}.shopHelp{position:static;margin:0 0 12px;padding:9px 12px;border:2px solid #bb944d;border-radius:10px;background:#fff0cd;color:#513716;text-shadow:none}.shopHelp>.panelHeading{padding:0 0 4px;font-size:12px}.shopHelp>p{position:static;width:auto;max-height:none;margin:0;padding:0;overflow:visible;border:0;border-radius:0;background:none;box-shadow:none;color:inherit;font-size:11px;line-height:1.6}.stageDebugDetails>.debugUnlockPanel{display:flex}.casinoExchangePanel{margin-top:4px}.shopOverlay{overflow:hidden}.shopPanel{width:min(100%,650px);height:min(940px,calc(100dvh - max(10px,env(safe-area-inset-top)) - max(10px,env(safe-area-inset-bottom))));max-height:none;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:6px;padding:clamp(6px,1.2dvh,12px);overflow:hidden}.shopPanel .shopHeader{padding:0;min-height:0}.shopHeader>div{display:flex;flex-direction:row;gap:8px;min-width:0}.shopHeader h2{flex:1;margin:0;width:auto}.shopHeader h2 .unifiedWoodTitle{padding:0;font-size:clamp(18px,2.7dvh,24px);border-width:9px 17px;border-image-width:9px 17px}.shopHeader .unifiedMedalPill{flex:none;gap:3px;padding:4px 8px;font-size:9px}.shopHeader .unifiedMedalPill .referenceArt{width:18px;height:18px}.shopHeader .unifiedMedalPill strong{font-size:clamp(17px,2.6dvh,23px)}.shopHeader>button{display:none}.shopPanel .shopBody{min-height:0;display:grid;grid-template-rows:minmax(0,1.7fr) auto minmax(0,1fr);gap:5px;overflow:visible}.shopPanel .shopBody:has(.shopNotice){grid-template-rows:minmax(0,1.7fr) auto auto minmax(0,1fr)}.shopPanel .shopShelf{min-height:0;margin:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:5px}.shopShelfColumn{min-width:0;min-height:0;display:flex;flex-direction:column;gap:5px}.shopPanel .shopProduct{flex:1 1 0;min-width:0;min-height:0;aspect-ratio:auto;padding:3px;gap:2px;overflow:hidden}.shopPanel .shopProduct--current{flex:2.3 1 0}.shopPanel .shopProduct--hidden{padding:0}.shopPanel .shopProduct .unifiedCardArt{flex:1 1 0;min-height:0;height:0;width:100%;aspect-ratio:auto}.shopPanel .shopProduct>strong:not(.shopProductState){flex:none;min-height:2.5em;font-size:clamp(9px,1.35dvh,12px);line-height:1.25}.shopPanel .shopProduct>span:not(.shopProductPosition):not(.unifiedCardArt){flex:none;font-size:clamp(9px,1.3dvh,12px);line-height:1.1}.shopPanel .shopProduct button{flex:none;min-height:clamp(27px,4dvh,36px);padding:3px;font-size:clamp(11px,1.6dvh,14px)}.shopPanel .shopProductState{font-size:clamp(9px,1.5dvh,13px)}.shopColumnStates{margin:0;gap:5px}.shopColumnStates span{padding:1px 3px;font-size:9px;line-height:1.3}.shopNotice{margin:0;padding:3px 5px;font-size:10px;line-height:1.3}.shopPanel .shopSellPanel{display:grid;grid-template-rows:auto minmax(0,1fr);gap:4px;min-height:0;margin:0;padding:0 2px 2px;border-width:9px;border-image-width:9px}.shopSellPanel>header{min-height:0;padding:0;font-size:clamp(12px,1.8dvh,16px);border-width:6px 12px;border-image-width:6px 12px}.shopSellPanel>header strong{font-size:inherit}.shopSellSlots{min-height:0;margin:0;grid-template-columns:repeat(var(--shop-hand-columns,5),minmax(0,1fr));grid-template-rows:repeat(var(--shop-hand-rows,2),minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:4px}.shopSellSlots button{min-height:0;height:100%;padding:2px;gap:1px;overflow:hidden}.shopSellSlots button>.unifiedCardArt{flex:1 1 0;min-height:0;height:0;aspect-ratio:auto}.shopSellSlots button>strong{flex:none;padding:2px 0;font-size:clamp(10px,1.5dvh,13px);line-height:1.2}.shopSellSlots .unifiedCardArt--compact .unifiedCardValue{font-size:12px}.shopSellSlots .unifiedCardArt--compact .unifiedCardAll{font-size:8px}.shopExitBar{padding:0}.shopExitBar button{min-height:0;padding:0;border-width:10px 25px;border-image-width:10px 25px;font-size:clamp(16px,2.4dvh,21px);line-height:1.3}@media(orientation:landscape)and (max-height:600px){.shopPanel{width:min(100%,960px);gap:3px;padding:5px}.shopPanel .shopBody,.shopPanel .shopBody:has(.shopNotice){grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;column-gap:8px}.shopPanel .shopShelf{grid-column:1;grid-row:1}.shopColumnStates{grid-column:1;grid-row:2}.shopPanel .shopSellPanel{grid-column:2;grid-row:1}.shopNotice{grid-column:2;grid-row:2}.shopShelfColumn{gap:3px}.shopPanel .shopProduct--current{flex:3 1 0}.shopHeader h2 .unifiedWoodTitle{font-size:18px;border-width:6px 16px;border-image-width:6px 16px}.shopHeader .unifiedMedalPill{padding:2px 8px}.shopExitBar button{width:40%;border-width:7px 20px;border-image-width:7px 20px}}.handCardOverlay{position:fixed;z-index:120;container-type:size;overflow:hidden;border-radius:12px}.handCardOverlay .cardModal{position:absolute;inset:0;width:100%;height:100%;max-height:none;min-height:0;padding:8px;overflow:hidden;display:flex;justify-content:center;align-items:center}.handCardOverlay .cardModalPanel{box-sizing:border-box;width:min(100%,400px);height:100%;max-height:100%;min-height:0;gap:5px;overflow:auto;padding:3px 9px 7px;border-width:14px;border-image-width:14px}.handCardOverlay .cardModalPanel>.unifiedWoodTitle{flex:none;font-size:22px;margin:0 -5px;border-width:9px 24px;border-image-width:9px 24px}.handCardOverlay .cardModalPanel>.unifiedCardArt{flex:1 1 0;min-height:35px;height:0;width:min(100%,290px);aspect-ratio:auto}.handCardOverlay .cardModalTitle{flex:none;font-size:20px}.handCardOverlay .cardUseHint{flex:none;font-size:12px;line-height:1.4}.cardHandHint{display:block;flex:none;color:#715027;font-size:10px;line-height:1.4;text-align:center}.handCardOverlay .cardModalActions{flex:none;margin-top:2px;gap:6px}.handCardOverlay .cardModalActions button{min-height:39px;font-size:17px;padding:5px 9px}.handCardOverlay .cardModalActions:not(.cardModalActions--single) button:first-of-type{min-height:43px}.handCardOverlay .replacePrompt{font-size:13px;line-height:1.4}.handCardOverlay .cardChargeInfo{flex:none;align-self:center;padding:2px 12px;border:1px solid #ad8141;border-radius:999px;background:#fff0c6;color:#513211;font-size:11px;font-weight:900;line-height:1.3}.handCardOverlay .cardModalActions .cardChargeButton,.handCardOverlay .cardModalActions .cardChargeButton:first-of-type{border-color:#446d25;background:linear-gradient(#6bd84e,#228e42 62%,#12673d);color:#fff9d9;box-shadow:inset 0 0 0 2px #aeef7a,0 2px #3d5120;text-shadow:0 1px #164623;font-size:15px}.handCardOverlay .cardModalActions .cardChargeButton:disabled{filter:grayscale(.9);background:#a09580;color:#f7efd8;box-shadow:inset 0 0 0 2px #c7baa2;cursor:not-allowed}.handCardOverlay .cardModalActions--pickupConvert{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.handCardOverlay .cardModalActions--pickupConvert button{min-height:39px;padding:4px 6px;font-size:13px;line-height:1.2}.handCardOverlay .cardModalActions--pickupConvert .cardChargeButton:first-of-type{font-size:13px}.handCardOverlay .cardModalActions--pickupConvert button:last-child{grid-column:1 / -1}.handCardOverlay .cardModalActions .cardChargeMode.is-active{border-color:#4385a4;background:linear-gradient(#ddf8ff,#86cfe7);box-shadow:inset 0 0 0 2px #fff5cb,0 0 0 2px #35cafa}@container (max-height:450px){.handCardOverlay .cardModal{padding:3px}.handCardOverlay .cardModalPanel{gap:3px;padding:2px 5px 4px;border-width:10px;border-image-width:10px}.handCardOverlay .cardModalPanel>.unifiedWoodTitle{font-size:18px;border-width:6px 19px;border-image-width:6px 19px}.handCardOverlay .cardModalTitle{font-size:17px}.handCardOverlay .cardModalActions{flex-direction:row;gap:7px}.handCardOverlay .cardModalActions button{min-height:37px!important;font-size:14px;padding:4px}.handCardOverlay .cardUseHint{font-size:11px}.handCardOverlay .cardChargeInfo{font-size:10px;padding:1px 8px}.handCardOverlay .cardModalActions .cardChargeButton,.handCardOverlay .cardModalActions .cardChargeButton:first-of-type{font-size:12px}.handCardOverlay .unifiedCardNumber{font-size:10px;padding:2px 5px}.handCardOverlay .unifiedCardValue{font-size:22px}}.shopSprite{display:block;width:200%;height:auto;aspect-ratio:1;padding:0;border:0;border-radius:0;background:none;box-shadow:none;pointer-events:none}.shopSprite img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:auto;filter:drop-shadow(0 2px 1px #28150870)}.casinoExchangePanel .casinoRecycleSection>header>span{color:#73542c}@media(max-width:360px){.stageDetailGrid:is([data-medal-digits="5"],[data-medal-digits="6"])>.stageDetailStat:nth-child(-n+3) .referenceArt{grid-row:1;grid-column:1}.stageDetailGrid:is([data-medal-digits="5"],[data-medal-digits="6"])>.stageDetailStat:nth-child(-n+3)>span{grid-row:1;grid-column:2}.stageDetailGrid:is([data-medal-digits="5"],[data-medal-digits="6"])>.stageDetailStat:nth-child(-n+3)>strong{grid-row:2;grid-column:1 / -1;text-align:center}}:root{--relic-body-font: "Hiragino Maru Gothic ProN", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;--relic-heading-font: "Relic Settings Rounded", "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", var(--relic-body-font)}html:lang(ja) :is(#root,body>*) *{letter-spacing:normal!important;font-stretch:normal!important}html:lang(ja) :is(.awMapDetails,.manualContent,.awScoutDialog,.crBody,.clearScreen,.defeatScreen) :is(p,li){font-family:var(--relic-body-font);font-weight:400;line-height:1.55}.awRoot.awReference .awHeader>button,.awRoot.awReference .awNav button{background:none;border:solid transparent;border-width:9px 18px;border-image:url(../ui-soft/result-wood.webp) 40 95 fill /9px 18px;color:#fff5d8;font-size:clamp(13px,1.15vw,20px);text-shadow:0 1px #301708;padding:6px 10px;display:flex;align-items:center;justify-content:center;white-space:normal;line-height:1.35;box-sizing:border-box}.awRoot.awReference .awNav button{min-height:52px;aspect-ratio:auto}.awRoot.awReference .awHeader>div{background:none;display:flex;flex-direction:column;justify-content:center;border:solid transparent;border-width:10px 20px;border-image:url(../ui-soft/result-wood.webp) 40 95 fill / 10px 20px;box-sizing:border-box;padding:2px}.awRoot.awReference .awHeader h1{color:#fff5d8;font-size:clamp(18px,2vw,34px);line-height:1.3;border:0;padding:0;text-shadow:0 2px #301708}.awRoot.awReference .awHeader>div>small{display:block;color:#ffe2a4;font-size:11px}.awRoot.awReference .awHeader>.awReferenceBalance{background:none;border:solid transparent;border-width:6px 14px;border-image:url(../ui-soft/result-wood.webp) 40 95 fill /6px 14px;border-radius:0;display:flex;align-items:center;justify-content:center;padding:4px 6px}.awRoot.awReference .awReferenceBalance strong{position:static;width:auto;height:auto;background:none;font-size:clamp(12px,1.35vw,24px);white-space:normal;overflow-wrap:anywhere}.awRoot.awReference>.awIntro{background:#fff3ce;color:#493019;font-size:14px;line-height:1.55;border:2px solid #c99c50;border-radius:8px;padding:8px 12px}#root .settingsScreenHeader :is(button,h2){background:none;color:#fff5d8;border:solid transparent;border-width:9px 18px;border-image:url(../ui-soft/result-wood.webp) 40 95 fill /9px 18px;border-radius:0;clip-path:none;display:flex;align-items:center;justify-content:center;padding:6px 8px;box-sizing:border-box;line-height:1.3;text-align:center}#root .settingsScreenHeader :is(button,h2)>span{position:static;width:auto;height:auto;margin:0;padding:0;overflow:visible;clip-path:none;white-space:normal}#root .settingsScreenHeader h2{font-size:20px}#root :is(.shopProductName,.trainingSpecialCard>strong,.inventorySlotName,.worldLocationInfoHeading>strong){letter-spacing:normal;-webkit-text-stroke:.7px #39200c;paint-order:stroke fill;text-shadow:0 1px #39200c;white-space:normal;overflow-wrap:anywhere}@media(max-width:700px){.awRoot.awReference .awHeader h1{font-size:22px}.awRoot.awReference .awHeader>button{font-size:13px}.awRoot.awReference .awNav button{font-size:15px}.awRoot.awReference .awReferenceBalance strong{font-size:12px}}.stagePickerRatioArt{display:none;pointer-events:none}@media(max-width:700px){#root .stagePicker.stagePicker--reference .stagePickerCard:nth-child(n){background:none}.stagePicker--reference .stagePickerRatioArt{display:block;width:100%;height:100%;position:absolute;inset:0;overflow:hidden}#root .stagePicker--reference .mapScreenHeader>h1,#root .stagePicker--reference .mapScreenHeader>.audioSettingsControl>.panelHeading,#root .stagePicker--reference .stagePickerModes button,#root .stagePicker--reference .stagePickerMenu>button{background:none;border:solid transparent;border-width:7px 13px;border-image:url(../ui-soft/result-wood.webp) 40 95 fill /7px 13px;border-radius:0;color:#fff5d8;font-size:clamp(13px,3.6vw,18px);display:flex;align-items:center;justify-content:center;padding:4px 8px;box-sizing:border-box;text-align:center;line-height:1.3}#root .stagePicker--reference .mapScreenHeader>h1{font-size:clamp(17px,4.6vw,22px)}#root .stagePicker--reference .mapScreenHeader>.audioSettingsControl{background:none}#root .stagePicker--reference .stagePickerMenu .mapVisuallyHidden{position:static;width:auto;height:auto;margin:0;clip-path:none;overflow:visible;white-space:normal}#root .stagePicker--reference .stagePickerModes .activeWorldPreparing{display:none}#root .stagePicker--reference .mapMedalBalance{background:none;color:#fff8e5;border:solid transparent;border-width:6px 12px;border-image:url(../ui-soft/result-wood.webp) 40 95 fill /6px 12px;border-radius:0;display:flex;align-items:center;justify-content:center;gap:5px;padding:3px 5px;box-sizing:border-box}#root .stagePicker--reference .mapMedalBalance>.mapVisuallyHidden{position:static;width:auto;height:auto;margin:0;clip-path:none;overflow:visible;font-size:12px}#root .stagePicker--reference .mapMedalBalance strong{position:static;width:auto;height:auto;font-size:18px;background:none}#root .stagePicker--reference .stagePickerLogo{background-size:contain}}#root .settingsScreen .settingsRowIcon{background-size:contain}.homeScreenGuide{min-height:100svh;padding:max(24px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:radial-gradient(ellipse at 50% 0%,#296344,#102d25 48%,#0b1c19);color:#fff4d6;font-family:system-ui,-apple-system,Hiragino Sans,Yu Gothic,sans-serif;line-height:1.65}.homeScreenGuide__card{width:min(100%,480px);margin:0 auto}.homeScreenGuide__header{text-align:center}.homeScreenGuide__icon{display:block;margin:0 auto 12px;border-radius:18px;box-shadow:0 6px 22px #0005}.homeScreenGuide__brand{margin:0 0 12px;color:#e3c97f;font-size:14px;font-weight:700;letter-spacing:.06em}.homeScreenGuide h1{margin:0;color:#fff1bc;font-size:clamp(28px,8vw,36px);line-height:1.4;font-weight:800}.homeScreenGuide__intro{margin:16px 0 0;font-size:16px}.homeScreenGuide__benefit{margin:6px 0 0;color:#c6d9cc;font-size:13px}.homeScreenGuide__free{display:inline-block;margin:16px 0 24px;padding:5px 14px;border:1px solid #71896b;border-radius:100px;color:#e8e5b9;font-size:12px}.homeScreenGuide h2{margin:0 0 12px;color:#f9e6ac;font-size:18px;font-weight:700}.homeScreenGuide__steps{display:grid;gap:12px;padding:0;margin:0;list-style:none}.homeScreenGuide__steps li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;padding:16px;border:1px solid #627052;border-radius:14px;background:#14352c}.homeScreenGuide__number{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#dec47b;color:#203629;font-size:16px;font-weight:800}.homeScreenGuide h3{margin:0;color:#fff3cf;font-size:16px;line-height:1.7}.homeScreenGuide__steps p{margin:6px 0 0;color:#d4e2d8;font-size:14px}.homeScreenGuide__share{display:inline-flex;align-items:center;gap:3px;margin:0 4px;color:#a7d7ff;white-space:nowrap}.homeScreenGuide__share svg{width:18px;height:18px}.homeScreenGuide__steps .homeScreenGuide__hint{margin-top:10px;padding-top:10px;border-top:1px solid #3f5b4c;color:#f0dfaa}.homeScreenGuide__installed{margin-top:24px;padding:0 4px}.homeScreenGuide__installed h2{font-size:15px;margin-bottom:6px}.homeScreenGuide__installed p{margin:0;color:#c6d9cc;font-size:14px}.homeScreenGuide__links{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px;margin-top:20px}.homeScreenGuide__links a{display:inline-flex;align-items:center;min-height:44px;color:#c8dcce;font-size:13px;text-underline-offset:4px}.homeScreenGuide a:focus-visible{outline:2px solid #ffe7a4;outline-offset:4px;border-radius:2px}
