.rift-icon{vertical-align:middle;background:0 0;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.rift-icon>.rift-icon-art{object-fit:contain;background:0 0;border:0;width:100%;height:100%;margin:0;padding:0;display:block;position:static}.card .card-type:has(.rift-icon){box-shadow:none;background:0 0;padding:0}.card .card-type .rift-icon{width:10.5cqw!important;height:10.5cqw!important}.card-facts{z-index:3;grid-template-rows:repeat(5,minmax(0,1fr));grid-template-columns:minmax(0,1fr);gap:5px;width:8cqw;display:grid;position:absolute;top:23%;bottom:43%;right:15%}.card-facts>span{justify-content:center;align-items:center;min-height:0;line-height:0;display:flex}.card-facts .rift-icon{aspect-ratio:1;max-width:100%;max-height:26px;width:auto!important;height:100%!important}.card .card-type:has(.rift-icon){flex-direction:column-reverse;gap:5px;bottom:38%;left:17%}.card .card-uses{letter-spacing:0;white-space:nowrap;top:64%;left:50%;right:auto;transform:translate(-50%,-50%)}.guide-symbols{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.guide-symbols>h3,.guide-symbols>p{grid-column:1/-1}.guide-symbols article{border-bottom:1px solid #567d7966;grid-template-columns:40px minmax(0,1fr);gap:10px;padding:10px;display:grid}.guide-symbols article .rift-icon{grid-row:span 2}.guide-symbols article p{color:#c4d4d4;margin:0;font-size:.82rem;line-height:1.5}@media (width<=600px){.guide-symbols{grid-template-columns:minmax(0,1fr)}}.card .card-uses:not(.unlimited){width:100%;height:1em;font-size:4.4cqw;top:60.8%;left:0;right:0;transform:none}.card-use-pip{line-height:1;position:absolute;top:0;transform:translate(-50%)}.card-facts .rift-icon,.card-type .rift-icon{filter:drop-shadow(0 1px 2px #000c)drop-shadow(0 0 1px #000b)}.fyruel-loading{pointer-events:none;justify-items:center;gap:9px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.fyruel-demo-preview{position:relative}.figure>.fyruel-3d .fyruel-loading{top:66.6667%}.fyruel-loading-label{color:#c9eae7;white-space:nowrap;text-shadow:0 1px 4px #090412;font-size:11px}.fyruel-hourglass{border-inline:3px solid #7f6640;border-radius:8px;width:48px;height:66px;animation:3s ease-in-out infinite fyruel-hourglass-turn;display:block;position:relative;box-shadow:0 0 16px #824be84d,inset 0 0 8px #8c64c366}.fyruel-hourglass:before,.fyruel-hourglass:after{content:"";z-index:2;background:linear-gradient(#a18752,#39273d,#a18752);border:1px solid #cfb478;border-radius:4px;height:7px;position:absolute;left:-7px;right:-7px;box-shadow:0 0 7px #a56bf288}.fyruel-hourglass:before{top:-3px}.fyruel-hourglass:after{bottom:-3px}.hourglass-glass{clip-path:polygon(0 0,100% 0,85% 30%,56% 50%,85% 70%,100% 100%,0 100%,15% 70%,44% 50%,15% 30%);background:linear-gradient(90deg,#b0fff326,#6553bb33,#b0fff350);position:absolute;inset:5px 3px}.hourglass-sand{filter:drop-shadow(0 0 3px #6bead4);background:linear-gradient(#bb90fc,#62f5df);height:23px;position:absolute;left:7px;right:7px}.hourglass-sand.upper{clip-path:polygon(0 0,100% 0,50% 100%);transform-origin:50% 100%;animation:3s linear infinite fyruel-sand-empty;top:9px}.hourglass-sand.lower{clip-path:polygon(50% 0,100% 100%,0 100%);transform-origin:50% 100%;animation:3s linear infinite fyruel-sand-fill;bottom:8px}.hourglass-stream{background:#8bffe6;width:2px;height:24px;position:absolute;top:30px;left:calc(50% - 1px);box-shadow:0 0 5px #7af4e3}@keyframes fyruel-hourglass-turn{0%,78%{transform:rotate(0)}to{transform:rotate(180deg)}}@keyframes fyruel-sand-empty{0%{transform:scaleY(1)}78%,to{transform:scaleY(.05)}}@keyframes fyruel-sand-fill{0%{transform:scaleY(.05)}78%,to{transform:scaleY(1)}}.fyruel-loading.reduced-motion *{animation:none}.fyruel-3d:not(.ready) canvas{opacity:0}@media (prefers-reduced-motion:reduce){.fyruel-loading *{animation:none}}.collection-screen{background:radial-gradient(ellipse at 50% 0%, #241a3d 0%, var(--kr-void) 70%);grid-template-rows:auto auto 1fr;gap:12px;height:100vh;padding:20px 24px;display:grid;overflow:hidden}.collection-head{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.collection-head h1{margin:0;font-size:1.8rem}.collection-tabs{flex-wrap:wrap;gap:8px;display:flex}.collection-tabs .btn.on{border-color:var(--kr-rift);color:var(--kr-text)}.collection-body{padding-bottom:24px;overflow:auto}.bestiary,.relic-list{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;display:grid}.enemy-entry,.relic-entry{align-content:start;gap:6px;padding:14px;display:grid}.enemy-entry.unknown,.relic-entry.unknown{opacity:.5}.enemy-sil{background:radial-gradient(ellipse at 50% 100%, var(--tint,#3b2f55) 0%, transparent 70%), var(--kr-ink-2);border-radius:10px;height:64px}.enemy-sil.size-large{height:84px}.enemy-sil.size-small{height:48px}.enemy-entry .tags{flex-wrap:wrap;gap:4px;display:flex}.enemy-entry .tag{background:var(--kr-ink-2);color:var(--kr-muted);border-radius:6px;padding:2px 6px;font-size:.72rem}.enemy-entry .tag.elite{color:var(--kr-ember)}.enemy-entry .tag.boss{color:var(--kr-blood)}.card-grid{flex-wrap:wrap;gap:12px;display:flex}.card-unknown{border:2px dashed var(--kr-line);width:150px;height:230px;color:var(--kr-muted);font-family:var(--font-title);border-radius:10px;place-items:center;font-size:2.4rem;display:grid}@media (width<=600px){.collection-screen{padding:16px}}.collection-sub{color:var(--kr-muted);margin:8px 0;font-size:1rem}.permanent-row{flex-wrap:wrap;gap:10px;margin-bottom:12px;display:flex}.gallery-backdrops{gap:4px;margin-left:auto;display:inline-flex}.gallery-grid{overscroll-behavior:contain;border-radius:12px;flex-wrap:wrap;align-content:flex-start;align-items:flex-start;gap:18px;min-width:0;min-height:0;padding:12px;display:flex;overflow:hidden auto}.gallery-screen{box-sizing:border-box;grid-template-rows:auto auto minmax(0,1fr);height:100dvh}.gallery-race{flex:760px;min-width:0;max-width:1000px}.gallery-race h2{margin:0 0 8px;font-size:1.05rem}.gallery-race-grid{grid-template-columns:repeat(auto-fill,minmax(min(200px,100%),200px));gap:12px;display:grid}@media (width<=600px){.gallery-screen{padding:12px}.gallery-race{flex-basis:100%}.gallery-race-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gallery-backdrops{flex-wrap:wrap;margin-left:0}}.gallery-grid.bg-dark,.gallery-lightbox.bg-dark{background:#120e1c}.gallery-grid.bg-light,.gallery-lightbox.bg-light{color:#1a1426;background:#e9e4f2}.gallery-grid.bg-checker,.gallery-lightbox.bg-checker{background:repeating-conic-gradient(#3a3348 0% 25%,#2a2436 0% 50%) 0 0/24px 24px}.gallery-tile{border:1px solid var(--kr-line);color:inherit;cursor:zoom-in;background:0 0;border-radius:10px;justify-items:center;gap:4px;padding:8px;display:grid}.gallery-tile:hover{border-color:var(--kr-rift)}.gallery-art{aspect-ratio:1;width:100%;position:relative;overflow:hidden}.gallery-art>img:first-child{object-fit:contain;object-position:center bottom;width:100%;height:100%}.gallery-portrait{border:2px solid var(--kr-line);object-fit:cover;border-radius:50%;width:44px;height:44px;position:absolute;top:4px;left:4px}.gallery-lightbox{z-index:200;cursor:zoom-out;align-content:center;place-items:center;gap:8px;padding:24px;display:grid;position:fixed;inset:0}.gallery-lightbox img{object-fit:contain;max-width:min(90vw,1024px);max-height:82vh}.gallery-nav{border:2px solid var(--kr-line);color:#fff;cursor:pointer;background:#0b0914b3;border-radius:50%;width:52px;height:52px;font-size:2rem;line-height:1;position:absolute;top:50%;transform:translateY(-50%)}.gallery-nav.prev{left:16px}.gallery-nav.next{right:16px}.collection-screen:not(.gallery-screen){box-sizing:border-box;grid-template-rows:auto auto minmax(0,1fr);gap:18px;height:100dvh;padding:clamp(16px,2vw,32px)}.collection-head,.collection-tabs,.collection-body{width:100%;min-width:0;max-width:1600px;margin-inline:auto}.collection-system{align-items:center;gap:8px;margin-left:auto;display:flex}.collection-head>.btn{width:120px}.collection-tabs .btn{flex:180px;max-width:280px;min-height:46px}.collection-tabs .btn.on .muted{color:var(--kr-text)}.collection-body{scrollbar-gutter:stable;background:linear-gradient(145deg,#21172d99,#100c1bcc);border:1px solid #a46bff45;border-radius:12px;min-height:0;padding:20px}.collection-screen.settings-screen{grid-template-rows:auto minmax(0,1fr)}.settings-screen .collection-head,.settings-screen .collection-body{max-width:800px}.settings-screen .collection-body{scrollbar-gutter:auto;background:0 0;border:0;padding:0}.settings-screen .settings-panel{box-sizing:border-box;width:calc(100% - 1px);min-width:0;max-width:none}.collection-body .journal{grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));align-items:start;gap:18px;max-width:none;display:grid}.collection-body .journal-act{background:#171021b3;border:1px solid #a46bff40;border-radius:10px;padding:18px}.collection-body .collection-sub{color:var(--kr-parchment);margin:0 0 14px}.collection-body .journal ol{gap:10px;padding-left:20px;display:grid}.collection-body .journal li{line-height:1.6}.collection-body .journal li .btn{white-space:normal;text-align:left}@media (width<=700px){.collection-screen:not(.gallery-screen){gap:12px;padding:12px}.collection-head{gap:10px}.collection-head h1{font-size:1.35rem}.collection-head>.muted{flex-basis:100%;order:3;font-size:.8rem}.collection-system{flex-basis:100%;order:-1;justify-content:flex-end}.collection-tabs{gap:6px}.collection-tabs .btn{flex-basis:130px;max-width:none;font-size:.8rem}.collection-body{padding:12px}}.gallery-close{position:absolute;top:16px;right:16px}.gallery-close .close-x{top:0;right:0}.title-screen.title-landing{scrollbar-gutter:stable both-edges;overscroll-behavior:contain;height:100dvh;min-height:0;padding:0;display:block;overflow:hidden auto}.title-landing-main{box-sizing:border-box;place-items:center;min-height:100%;padding:24px 16px;display:grid;position:relative}.thanks-open,.thanks-back{min-height:44px;color:var(--kr-parchment-2);font-family:var(--font-title);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:10px;padding:8px 16px;display:inline-flex}.thanks-open{letter-spacing:.09em;font-size:.85rem}.thanks-open:hover,.thanks-back:hover{color:var(--kr-rift-cyan)}.thanks-open:focus-visible,.thanks-back:focus-visible{outline:2px solid var(--kr-rift-cyan);outline-offset:3px;border-radius:4px}.thanks-section{z-index:1;text-align:center;background:radial-gradient(at 50% 40%,#38235180,#0000 65%),linear-gradient(#100b1bf2,#0b0914);border-top:1px solid #a46bff60;flex-direction:column;justify-content:center;align-items:center;min-height:100dvh;padding:clamp(48px,8vh,100px) max(24px,50vw - 480px);display:flex;position:relative}.thanks-sigil{color:var(--kr-rift-cyan);text-shadow:0 0 30px #a46bff;font-size:4rem;line-height:1}.thanks-eyebrow{color:var(--kr-muted);letter-spacing:.25em;text-transform:uppercase;margin:24px 0 12px;font-size:.75rem}.thanks-section h1{color:var(--kr-parchment);font-size:clamp(2rem,5vw,3.5rem)}.thanks-intro{max-width:560px;color:var(--kr-muted);margin:16px 0 32px;line-height:1.7}.thanks-names{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:14px;width:100%;max-width:960px;margin:0 0 32px;padding:0;list-style:none;display:grid}.thanks-names li{min-height:132px;color:var(--kr-parchment);font-family:var(--font-title);background:linear-gradient(145deg,#38283b80,#151020);border:1px solid #c4a97740;border-radius:6px;place-items:center;gap:14px;padding:24px 14px;font-size:clamp(1rem,2vw,1.2rem);display:grid}.thanks-names li>span{color:var(--kr-rift);font-size:.9rem}.thanks-back{margin-top:8px}.credits-name{font-family:var(--font-title);color:var(--kr-parchment);margin:28px 0 8px;font-size:clamp(1.6rem,4vw,2.5rem)}.credits-role{color:var(--kr-rift-cyan);font-size:.9rem;line-height:1.5}.credits-bio{max-width:660px;color:var(--kr-parchment-2);margin:24px 0;line-height:1.8}.credits-rights{max-width:660px;color:var(--kr-muted);border-top:1px solid #a46bff40;margin:0 0 24px;padding-top:16px;font-size:.8rem;line-height:1.6}.credits-rights p{margin:6px 0}.credits-section .thanks-open{text-decoration:none}@media (width<=600px){.thanks-section{padding:40px 20px}.thanks-names{gap:10px}.thanks-names li{min-height:100px;padding:18px 12px}}.title-screen.title-landing>.title-landing-main{box-sizing:border-box;flex-direction:column;gap:24px;width:100%;max-width:none;margin:0;display:flex}.title-toolbar{z-index:5;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;width:100%;display:flex;position:relative}.title-account{max-width:100%;position:relative}.title-toolbar .account-box{border-radius:12px;flex-wrap:wrap;max-width:100%;padding:6px 10px;position:static;transform:none}.title-toolbar .account-box .btn{min-height:40px}.title-toolbar .title-system{flex-shrink:0;align-items:center;margin-left:auto;position:static}.title-landing-main>.title-inner{width:100%;margin:auto 0;padding:16px 0}.title-account .guest-notice{z-index:6;text-align:left;pointer-events:none;background:#181124f5;border-color:#a46bff80;width:min(330px,100vw - 64px);margin:0;animation:.25s ease-out guest-reminder-in;position:absolute;top:calc(100% + 12px);left:0;box-shadow:0 8px 28px #0008}.title-account .guest-notice:before{content:"";background:#181124;border-top:1px solid #a46bff80;border-left:1px solid #a46bff80;width:10px;height:10px;position:absolute;top:-6px;left:24px;transform:rotate(45deg)}@keyframes guest-reminder-in{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@media (width<=760px){.title-toolbar{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.title-toolbar .title-system{grid-row:1}.title-account{width:100%;min-width:0}.title-toolbar .account-box{box-sizing:border-box;flex-wrap:nowrap;justify-content:space-between;gap:8px;width:100%}.title-toolbar .account-box .account-guest-name{white-space:normal;overflow-wrap:anywhere;flex:1;min-width:0;font-size:.75rem}.title-toolbar .account-box .account-sign-in{display:none}.title-toolbar .account-box .btn.primary{flex:none;padding:0 10px;font-size:.72rem}.title-account .guest-notice{top:calc(100% + 8px)}.title-landing-main{gap:16px;padding:12px}.title-landing-main>.title-inner{padding-top:30px}}html.reduced-motion .guest-notice{animation:none}.restart-backdrop{box-sizing:border-box;z-index:150;padding:16px}.restart-backdrop>.confirm-modal{box-sizing:border-box;width:min(480px,100%);height:auto;min-height:0;max-height:calc(100dvh - 32px);overflow:visible}.title-landing:has(.restart-backdrop){overflow:hidden}.restart-backdrop .confirm-modal .choices{flex-wrap:wrap;display:flex}.restart-backdrop .choices>.btn{min-width:0;max-width:100%}@media (width<=600px){.restart-backdrop .confirm-modal .choices{flex-direction:column;align-items:stretch}.restart-backdrop .choices>.btn{width:100%}}.account-identity{flex-direction:column;align-items:flex-start;gap:5px;min-width:0;display:flex}.account-admin{position:relative}.account-box .admin-menu-trigger{box-sizing:border-box;border:8px solid #0000;border-image:var(--art-button-secondary) 60 110 fill / 8px 18px round stretch;color:#dfc99e;min-height:34px;font-family:var(--font-title);letter-spacing:.025em;text-shadow:0 1px 3px #000;cursor:pointer;background:0 0;border-radius:0;justify-content:center;align-items:center;gap:7px;padding:0 10px;font-size:.72rem;transition:filter .15s;display:inline-flex}.account-box .admin-menu-trigger:hover,.account-box .admin-menu-trigger[aria-expanded=true]{filter:brightness(1.25);color:#fff0c8}.admin-menu-trigger:focus-visible{outline-offset:2px;outline:1px solid #ddc089}.admin-sigil{color:#d8b77b;font-size:1rem;line-height:1}.admin-chevron{fill:none;stroke:currentColor;stroke-width:1.5px;width:12px;height:12px;transition:transform .15s}.admin-menu-trigger[aria-expanded=true] .admin-chevron{transform:rotate(180deg)}.admin-menu{z-index:180;box-sizing:border-box;border:18px solid #0000;border-image:var(--art-panel-frame) 92 stretch;filter:drop-shadow(0 12px 12px #0008);background:radial-gradient(at top,#30203f,#15101f 75%) padding-box padding-box;width:min(310px,100vw - 56px);padding:5px 4px 9px;animation:.13s ease-out admin-menu-in;position:absolute;top:calc(100% + 10px);left:0}.admin-menu-heading{color:#bba184;font-family:var(--font-title);letter-spacing:.06em;justify-content:center;align-items:center;gap:10px;margin:0 0 12px;font-size:.73rem;display:flex}.admin-menu-heading>span{color:#9b73bc;font-size:1rem}.account-box .admin-menu>button{box-sizing:border-box;color:#f0e4cd;text-align:left;width:100%;min-height:76px;font:inherit;cursor:pointer;background:linear-gradient(135deg,#352343b8,#20172d);border:1px solid #785893;border-radius:3px;grid-template-columns:44px minmax(0,1fr) 16px;align-items:center;gap:9px;padding:9px;transition:border-color .15s,background .15s;display:grid;box-shadow:inset 0 1px #e7c48e15}.admin-menu>button:hover,.admin-menu>button:focus-visible{background:linear-gradient(135deg,#4a325a,#2d1e3c);border-color:#c7a574;outline:none}.admin-gallery-icon{background:radial-gradient(#95702d22,#17121f);border:1px solid #a7865355;place-items:center;width:42px;height:48px;display:grid}.admin-gallery-icon svg{fill:none;stroke:#ceb37f;stroke-width:1.3px;stroke-linejoin:round;width:36px;height:36px}.admin-gallery-icon .icon-spark{fill:#b493c8;stroke:#b493c8}.admin-item-copy{flex-direction:column;gap:5px;min-width:0;display:flex}.admin-item-copy>strong{font-family:var(--font-title);font-size:1rem;font-weight:600}.admin-item-copy>small{color:#bba8cc;font-size:.72rem;line-height:1.4}.admin-item-arrow{fill:none;stroke:#c9ab76;stroke-width:1.5px;width:16px;height:16px}@keyframes admin-menu-in{0%{opacity:0;translate:0 -4px}to{opacity:1;translate:0}}@media (prefers-reduced-motion:reduce){.admin-menu{animation:none}}html.reduced-motion .admin-menu{animation:none}.scene-screen{--scene-tint:265;background-color:var(--kr-void);background-image:var(--scene-art,none), radial-gradient(ellipse at 50% 35%, hsl(var(--scene-tint) 45% 24%) 0%, var(--kr-void) 72%);background-position:50%;background-size:cover,cover;height:100vh;animation:.5s ease-out both scene-in;position:relative;overflow:hidden}.scene-screen.bg-kenidan,.scene-screen.bg-plaza{--scene-tint:35}.scene-screen.bg-throne{--scene-tint:280}.scene-screen.bg-gate{--scene-tint:265}.scene-screen.bg-stellarium{--scene-tint:180}.scene-screen.bg-dying-land{--scene-tint:60}.scene-screen.bg-reigk{--scene-tint:5}.scene-screen.bg-hive{--scene-tint:120}.scene-screen.bg-arena,.scene-screen.bg-vault{--scene-tint:50}.scene-screen.bg-burning{--scene-tint:18}.scene-vignette{pointer-events:none;background:linear-gradient(#0b091426 0%,#0b091400 40%,#0b0914d9 100%);position:absolute;inset:0}.scene-speaker{width:calc(min(34vh, 340px) * var(--stature,1));aspect-ratio:1;animation:.26s ease-out both speaker-in;position:absolute;bottom:210px;left:8%}.scene-speaker img{object-fit:cover;border:2px solid var(--kr-line);border-radius:14px;width:100%;height:100%;box-shadow:0 0 40px #a46bff59}.scene-badge{border:2px solid var(--kr-line);background:radial-gradient(circle at 40% 35%, hsl(var(--scene-tint) 45% 38%), var(--kr-ink));width:100%;height:100%;font-family:var(--font-title);color:var(--kr-text);border-radius:50%;place-items:center;font-size:6rem;display:grid;box-shadow:0 0 40px #00000080}.scene-speaker.npc .scene-badge{border-color:var(--kr-ember)}.scene-strip{border:2px solid var(--kr-line);cursor:pointer;background:#15111feb;border-radius:12px;width:min(1100px,100% - 32px);min-height:150px;padding:18px 28px 26px;position:absolute;bottom:28px;left:50%;transform:translate(-50%);box-shadow:0 10px 40px #0009}.scene-name{font-family:var(--font-title);color:var(--kr-rift);margin-bottom:6px;font-size:1.15rem;font-weight:700}.scene-strip p{color:var(--kr-text);margin:0;font-size:1.15rem;line-height:1.55;animation:.22s ease-out both line-in}.scene-strip p.narration{color:var(--kr-parchment);font-style:italic}.scene-hint{color:var(--kr-muted);font-size:.75rem;position:absolute;bottom:8px;right:18px}.scene-choices{flex-wrap:wrap;justify-content:center;align-items:stretch;gap:10px;margin-top:6px;display:flex}.scene-choices>.btn{white-space:normal;text-align:center;flex:0 460px;width:min(460px,100%);min-height:48px}.scene-strip .scene-join{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:104px;display:flex}.scene-strip .scene-join .scene-name{margin:0}.scene-strip .scene-join>.btn{min-width:min(240px,100%);max-width:100%}.scene-strip .scene-join .scene-choices{width:100%}.scene-screen{height:100dvh}.scene-speaker.npc img.scene-figure{object-fit:contain;box-shadow:none;background:0 0;border:0}.scene-join{cursor:default}@keyframes scene-in{0%{opacity:0}to{opacity:1}}@keyframes speaker-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes line-in{0%{opacity:0}to{opacity:1}}@media (width<=760px){.scene-speaker{width:140px;bottom:230px;left:16px}}.scene-dialogue{gap:12px;display:grid}.scene-dialogue-row .scene-name{margin-bottom:2px;font-size:1rem}.scene-next{justify-content:space-between;align-items:center;gap:16px;margin-top:18px;display:flex}.scene-next .btn{flex:0 0 220px;width:220px;min-height:48px}.scene-strip{max-height:calc(100dvh - 100px);overflow-y:auto}@media (width<=760px){.scene-strip{padding:16px;bottom:12px}.scene-dialogue{gap:10px}.scene-strip p{font-size:1rem;line-height:1.45}.scene-next{align-items:flex-end}.scene-next .btn{flex-basis:160px;width:160px}}.party-screen{background:radial-gradient(ellipse at top, #241a3d 0%, var(--kr-void) 60%);height:100vh;padding:18px 24px;overflow:auto}.party-head{align-items:center;gap:16px;margin-bottom:16px;display:flex}.party-head .logo{border-radius:12px;width:72px;height:72px}.party-head h1{font-size:1.6rem}.party-layout{grid-template-columns:1fr 360px;align-items:start;gap:16px;max-width:1400px;margin:0 auto;display:grid}.roster{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;display:grid}.tile{background:var(--kr-ink);border:2px solid var(--kr-line);transition:transform var(--ease), border-color var(--ease), box-shadow var(--ease);border-radius:10px;flex-direction:column;align-items:center;gap:4px;padding:10px;display:flex;position:relative}.tile:hover,.tile.focused{border-color:var(--kr-rift-cyan);transform:translateY(-3px)}.tile.picked{border-color:var(--kr-rift);box-shadow:0 0 14px #a46bff73}.tile .portrait{aspect-ratio:1;object-fit:cover;border-radius:6px;width:100%}.tile .portrait.placeholder{font-family:var(--font-title);color:var(--kr-muted);background:var(--kr-ink-2);place-items:center;font-size:2.4rem;display:grid}.tile-name{font-family:var(--font-title);font-size:.9rem;font-weight:700}.tile-class{color:var(--kr-muted);font-size:.78rem}.badge-slot{background:var(--kr-rift);border-radius:999px;padding:2px 8px;font-size:.72rem;font-weight:800;position:absolute;top:6px;right:6px}.side-col{gap:12px;display:grid;position:sticky;top:0}.stat-panel,.party-box{padding:16px}.quals{grid-template-columns:repeat(3,1fr);gap:6px;margin:12px 0;display:grid}.qual{background:var(--kr-ink-2);text-transform:capitalize;border-radius:6px;justify-content:space-between;padding:4px 8px;font-size:.8rem;display:flex}.party-box ol{gap:6px;margin:10px 0;padding:0;list-style:none;display:grid}.party-box li{border:1px dashed var(--kr-line);border-radius:8px;grid-template-columns:90px 1fr auto;align-items:center;gap:8px;padding:6px 10px;display:grid}.party-box li.filled{border-style:solid;border-color:var(--kr-rift);background:var(--kr-ink-2)}.slot-label{color:var(--kr-muted);text-transform:uppercase;letter-spacing:.05em;font-size:.7rem}.slot-name{font-weight:700}.party-box select{background:var(--kr-ink-3);color:var(--kr-text);border:1px solid var(--kr-line-2);font:inherit;border-radius:6px;padding:4px 6px}.party-box label{gap:4px;margin:10px 0 14px;display:grid}.party-box .btn{width:100%;padding:14px;font-size:1.05rem}.tile.locked{cursor:default;opacity:.75;border-style:dashed}.tile.locked:hover{border-color:var(--kr-line);transform:none}.tile.locked .portrait{filter:brightness(0)drop-shadow(0 0 6px #a46bff8c)}.tile.locked .tile-name{letter-spacing:.2em;color:var(--kr-muted)}.roster .tile.fallen{opacity:.5;filter:grayscale();cursor:default}.party-screen{box-sizing:border-box;height:100dvh}.party-screen .party-layout{grid-template-columns:minmax(0,1fr) 380px;max-width:1600px}.party-screen .party-layout>*{min-width:0}.party-screen .party-box{grid-area:1/2;grid-template-columns:minmax(0,1fr);align-items:start;gap:0;display:grid}.party-screen .party-box h3{margin:0}.party-screen .party-box ol{grid-area:2/1;grid-template-rows:repeat(4,116px);grid-template-columns:minmax(0,1fr);gap:10px;margin:12px 0}.party-screen .party-box>.btn{grid-area:4/1;width:100%;min-width:0;min-height:54px;padding:12px 22px}.party-screen .party-box>label{grid-area:3/1/auto/-1}.party-screen .party-box li{box-sizing:border-box;grid-template-rows:22px 26px 30px;grid-template-columns:120px minmax(0,1fr);align-content:center;gap:4px 8px;height:116px;padding:10px;display:grid}.party-screen .party-box .row-tag{grid-area:1/1;justify-self:start}.party-screen .party-box .slot-name{grid-area:1/2}.party-screen .party-box .slot-label{text-align:left;grid-area:2/1}.party-screen .party-box .slot-move{grid-area:2/2;justify-content:flex-end;gap:4px;display:flex}.party-screen .party-box .slot-move .btn{width:32px;min-width:0;min-height:30px;padding:4px;font-size:.8rem}.party-screen .party-box .make-leader{grid-area:3/1;width:auto;min-width:0;padding:5px;font-size:.7rem}.party-screen .party-box select{grid-area:3/2;width:100%;min-width:0}.party-screen .roster{grid-area:1/1;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));align-content:start}.party-screen .stat-panel{grid-column:1/-1;grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr);align-items:start;column-gap:32px;display:grid}.party-screen .stat-panel h2{grid-column:1;margin:0 0 8px}.party-screen .stat-panel>p{grid-column:1;margin:0}.party-screen .stat-panel .quals{grid-column:1}.party-screen .stat-panel .stats{grid-area:1/2/4;width:100%;display:block}.party-screen .stat-panel .stats tbody{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:24px;display:grid}.party-screen .stat-panel .stats tr{border-bottom:1px solid var(--kr-line);justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.party-screen .stat-panel .stats td{border:0;padding:8px 0}.party-screen .stat-panel .stats td:last-child{white-space:nowrap;flex:none}.party-screen .tile.picked{border-color:#6ce4d5;box-shadow:0 0 12px #54d9c644}@media (width<=1100px){.party-screen .party-layout{grid-template-columns:minmax(0,1fr) 340px}.party-screen .stat-panel .stats tbody{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.party-screen .party-layout{grid-template-columns:minmax(0,1fr)}.party-screen .party-box{grid-area:2/1}.party-screen .stat-panel{grid-template-columns:minmax(0,1fr)}.party-screen .stat-panel .stats{grid-area:auto/1}.party-screen .stat-panel .stats tbody{grid-template-columns:minmax(0,1fr)}}.party-screen .party-box ol{grid-template-rows:repeat(4,auto);align-content:start;gap:8px;margin:14px 0 12px}.party-screen .party-box li{grid-template-rows:28px 30px;grid-template-columns:88px minmax(0,1fr) 60px;align-content:start;gap:4px 6px;height:80px;padding:10px 9px 6px;position:relative}.party-screen .party-box li.leader-slot{grid-template-rows:28px;align-content:center;height:50px}.party-screen .party-box ol:not(:has(.leader-slot))>li:first-child{height:50px}.party-screen .party-box .slot-label{color:#c6aedc;clip-path:polygon(0 0,100% 0,calc(100% - 5px) 100%,5px 100%);letter-spacing:.035em;white-space:nowrap;background:#352343;grid-area:auto;padding:2px 10px;font-size:.58rem;line-height:1.25;position:absolute;top:-8px;left:12px}.party-screen .party-box .leader-slot .slot-label{color:#f4c66a;background:#4b3520}.party-screen .party-box .row-tag{grid-area:1/1;font-size:.61rem}.party-screen .party-box .slot-name{grid-area:1/2;min-width:0;font-size:.88rem}.party-screen .party-box .slot-move{grid-area:1/3;align-items:center;gap:2px}.party-screen .party-box .slot-move .btn{width:28px;height:28px;min-height:28px;padding:2px;font-size:.7rem}.party-screen .party-box .make-leader{white-space:nowrap;grid-area:2/1;height:30px;min-height:30px;padding:0;font-size:.6rem}.party-screen .party-box li>select{grid-area:2/2/auto/4;height:30px;padding:3px 6px;font-size:.8rem}.party-screen .party-box>.party-encounter{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;margin:4px 0 12px;display:grid}.party-screen .party-encounter>select{grid-area:1/2;height:32px;font-size:.8rem}.party-head h1 .help-toggle{vertical-align:middle}.party-consumables{flex-wrap:wrap;align-items:center;gap:8px;min-height:48px;display:flex}.party-consumables .party-item-tile{cursor:grab;touch-action:none;width:44px;height:44px;padding:4px}.party-consumables .party-item-tile.selected{outline:2px solid #73e8df;box-shadow:0 0 12px #73e8df66}.party-screen .tile.item-target{cursor:crosshair;border-color:#73e8df;box-shadow:0 0 15px #73e8df66}.party-screen .tile-health{width:100%;margin-top:4px}.party-screen .tile-health .hp{width:100%;height:6px;margin-bottom:3px}.party-screen .tile.fallen{cursor:default}.party-screen .tile.fallen.item-target{cursor:crosshair}.party-consumables{isolation:isolate;aspect-ratio:512/296;width:140px;height:auto;min-height:0;margin-top:2px;padding:0;display:block;position:relative}.party-consumables:before,.party-consumables:after{content:"";z-index:-1;pointer-events:none;background-image:var(--art-stone-item-tray-v1);background-repeat:no-repeat;background-size:400% 100%;width:50%;position:absolute;top:0;bottom:0}.party-consumables:before{background-position:0;left:0}.party-consumables:after{background-position:100%;right:0}.party-consumables .item-slot{box-sizing:border-box;background:0 0;border:0;border-radius:4px;place-items:center;width:38%;height:72%;padding:5px;display:grid;position:absolute;top:14%}.party-consumables .item-slot:first-child{left:7%}.party-consumables .item-slot:nth-child(2){left:55%}.party-consumables .party-item-tile{cursor:grab;touch-action:none}.party-consumables .party-item-tile.selected{background:#53cfc622;outline:1px solid #73e8df;box-shadow:0 0 10px #73e8df55}.party-consumables .party-item-art{object-fit:contain;pointer-events:none;width:100%;height:100%}.party-item-count{color:#c7fff3;text-shadow:0 1px 2px #000;font-size:.65rem;position:absolute;bottom:0;right:2px}.party-item-aim{z-index:149;pointer-events:none;width:100%;height:100%;position:fixed;inset:0}.inventory-guide-open{min-width:0;min-height:36px;margin-left:18px;padding:6px 18px;font-size:.8rem}.modal-backdrop.fixed.inventory-guide-backdrop{z-index:230}.modal.panel.inventory-guide{box-sizing:border-box;flex-direction:column;width:min(900px,100vw - 32px);max-height:calc(100dvh - 32px);display:flex}.inventory-guide>h2{margin:0 28px 16px 0}.inventory-guide .modal-body{min-height:0;overflow:auto}.inventory-guide-rules{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;display:grid}.inventory-guide h3{color:#9be8dc;margin:0 0 8px;font-size:1rem}.inventory-guide p{margin:0 0 12px;font-size:.87rem;line-height:1.6}.inventory-guide hr{border:0;border-top:1px solid #578782;margin:16px 0}.inventory-guide table{border-collapse:collapse;text-align:left;width:100%;margin:14px 0;font-size:.85rem}.inventory-guide th,.inventory-guide td{border-bottom:1px solid #57878266;padding:8px}@media (width<=600px){.inventory-guide-open{margin:0}.inventory-guide-backdrop{padding:0}.modal.panel.inventory-guide{width:100%;max-width:100%;height:100dvh;max-height:100dvh;padding:22px 14px}.inventory-guide-rules{grid-template-columns:minmax(0,1fr)}}.modal-backdrop.fixed.card-guide-backdrop{z-index:240}.modal.panel.card-guide-modal,.modal.panel.card-pile-modal{box-sizing:border-box;flex-direction:column;width:min(1080px,100vw - 32px);max-width:calc(100vw - 32px);height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);display:flex}.card-guide-modal h2,.card-pile-modal h2{margin:0 0 10px;padding-right:28px}.card-guide-modal>.modal-body,.card-pile-modal>.modal-body{flex:1 1 0;min-height:0;max-height:none;overflow:auto}.card-guide-modal>p,.card-pile-modal>p{margin:0 0 14px;font-size:.85rem}.card-guide-open{min-height:40px;margin:8px 0;font-size:.8rem}.guide-examples{flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:12px;display:flex}.guide-examples .btn{min-width:0;padding:8px 16px;font-size:.8rem}.card-guide-modal .guide-examples>.btn{box-sizing:border-box;white-space:nowrap;flex:0 0 240px;width:240px;min-width:0;max-width:100%;height:60px;min-height:60px;padding:8px 16px;font-size:.8rem}.guide-board{min-width:0;height:460px;position:relative}.guide-sample{position:absolute;top:20px;left:50%;transform:translate(-50%)}.guide-sample>.card{pointer-events:none;width:280px;height:420px;margin:0}.guide-arrows{pointer-events:none;filter:drop-shadow(0 1px 2px #000);width:100%;height:100%;position:absolute;inset:0}.guide-pin{z-index:1;color:#cbf9ed;background:#132d38;border:1px solid #568e93;border-radius:4px;align-items:center;gap:6px;max-width:calc(50% - 160px);padding:5px 8px;font-size:.8rem;line-height:1.3;display:flex;position:absolute}.guide-pin.left{left:4px}.guide-pin.right{text-align:right;flex-direction:row-reverse;right:4px}.guide-pin b{color:#edfff9;border:1px solid #83e6d9;border-radius:50%;flex:none;place-items:center;width:22px;height:22px;display:grid}.guide-legend{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0;list-style:none;display:grid}.guide-legend li{background:#12222e;border:1px solid #4c686c;border-radius:5px;padding:12px}.guide-legend b{color:#b5eee1;font-size:.9rem}.guide-legend p{color:#d1d7df;margin:8px 0 0;font-size:.85rem;line-height:1.6}.guide-types>div{border-bottom:1px solid #53627555;grid-template-columns:24px 130px minmax(0,1fr);align-items:center;gap:12px;padding:10px 0;display:grid}.guide-types .icon,.guide-area-icon{color:#98e9d8;width:24px}.guide-types span,.guide-keywords p{font-size:.85rem;line-height:1.6}.modal-backdrop.fixed.card-pile-backdrop{z-index:180}.card-pile-modal .deck-card-grid{grid-template-columns:repeat(auto-fit,minmax(150px,180px));justify-content:center;gap:18px;display:grid}.card-pile-modal .deck-card-stack{width:100%}.hud-piles button.pile{min-width:0;color:var(--kr-text);text-align:left;cursor:pointer;font:inherit}.hud-piles button.pile:hover{border-color:#b4e9dd}.hud-piles button.pile:focus-visible{outline-offset:2px;outline:2px solid #8ce2d3}@media (width<=700px){.guide-pin{max-width:none;padding:4px}.guide-pin>span{display:none}.guide-sample>.card{width:240px;height:360px}.guide-board{height:400px}.guide-legend{grid-template-columns:minmax(0,1fr)}.guide-types>div{grid-template-columns:24px minmax(0,1fr);gap:8px}.guide-types>div>span:last-child{grid-column:2}}@media (width<=600px){.card-pile-modal .deck-card-grid{grid-template-columns:repeat(auto-fit,minmax(115px,140px));gap:12px}.card-guide-backdrop,.card-pile-backdrop{padding:0}.modal.panel.card-guide-modal,.modal.panel.card-pile-modal{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;padding:24px 12px}.guide-examples{gap:4px}.guide-examples .btn{flex:90px;padding:6px;font-size:.7rem}.guide-sample>.card{width:220px;height:330px}.guide-board{height:370px}.guide-pin{padding:2px}.guide-pin b{width:18px;height:18px;font-size:11px}.card-guide-modal h2{font-size:1.3rem}}.guide-rarities{flex-wrap:wrap;gap:12px;margin:18px 0;display:flex}.guide-rarities>span{align-items:center;gap:6px;font-size:.8rem;display:flex}.guide-rarities i{border-radius:50%;width:10px;height:10px}.battle-tools .battle-pile-link{display:none}@media (width<=760px),(height<=500px){.battle-tools .battle-pile-link{justify-content:center;align-items:center;min-width:0;min-height:40px;font-size:.8rem;display:inline-flex}}.modal-backdrop.fixed.analysis-result-backdrop{z-index:170}.modal.panel.analysis-result{text-align:center;box-sizing:border-box;background-position:50%;background-size:cover;justify-content:center;align-items:flex-end;width:min(900px,100vw - 32px);min-height:min(540px,80dvh);display:flex}.analysis-result>div{text-shadow:0 2px 5px #000;width:100%;padding:24px}.analysis-result h2{color:#b0e5db;margin:0 0 12px;font-size:clamp(24px,3vw,36px)}.analysis-result p{line-height:1.6}.analysis-result .btn{min-width:180px;margin-top:12px}.profile-weapon-art{object-fit:contain;width:100%;height:120px;margin-bottom:8px}.profile-equipment>section{align-content:start;gap:8px;min-width:0;display:grid}.profile-equipment .gear-tile{width:100%}.profile-equipment .gear-tile span{font-size:inherit}.modal.panel.fighter-profile{text-align:left;grid-template-columns:minmax(220px,.8fr) minmax(0,1.4fr);gap:28px;width:1040px;max-width:calc(100vw - 48px);height:min(760px,100dvh - 64px);max-height:calc(100dvh - 64px);padding:24px;display:grid;overflow:visible}.profile-eyebrow{color:var(--kr-rift-cyan);letter-spacing:.12em;text-transform:uppercase;font-size:.68rem;font-weight:600;display:block}.profile-portrait{background:radial-gradient(at 50% 48%,#a46bff40,#0000 65%),linear-gradient(160deg,#241b36,#100d19 80%);border:1px solid #a46bff38;border-radius:8px;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0;padding:24px 16px;display:grid;position:relative;overflow:hidden}.profile-portrait>img{object-fit:contain;filter:drop-shadow(0 14px 16px #0009);width:100%;height:100%;min-height:0}.profile-portrait-caption{text-align:center;overflow-wrap:anywhere;gap:8px;min-width:0;padding-top:20px;display:grid}.profile-portrait-caption b{font-family:var(--font-title);font-size:1.35rem}.profile-portrait-caption span{color:var(--kr-muted);letter-spacing:.1em;text-transform:uppercase;font-size:.75rem}.profile-placeholder{text-align:center;color:var(--kr-rift);align-self:center;font-size:6rem}.profile-details{flex-direction:column;min-width:0;min-height:0;display:flex}.profile-details>header{flex-shrink:0;gap:10px;padding:18px 48px 22px 0;display:grid;position:relative}.profile-details h2{margin:0;font-size:clamp(1.6rem,3vw,2.4rem);line-height:1.15}.profile-details h2,.profile-equipment b,.profile-moves b{overflow-wrap:anywhere}.fighter-profile .tabs{border-bottom:1px solid var(--kr-line);flex-wrap:wrap;flex-shrink:0;gap:6px;margin:0;padding:0 0 16px;display:flex}.fighter-profile .tabs button{padding:8px 10px;font-size:.8rem}.fighter-profile .tabs button:focus-visible{outline:2px solid var(--kr-rift-cyan);outline-offset:2px}.fighter-profile .modal-body{flex:1;min-height:0;padding:24px 12px 8px 0;overflow-y:auto}.profile-story h3,.profile-combat h3{margin:8px 0 16px;font-size:1.6rem}.profile-story p{color:var(--kr-muted);margin:12px 0 24px;line-height:1.8}.profile-story p.profile-biography{color:var(--kr-text);font-size:1.05rem}.profile-story h4,.profile-combat h4{margin:24px 0 10px;font-size:.9rem}.profile-facts{border-block:1px solid var(--kr-line);grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px 0;display:grid}.profile-facts>div,.profile-equipment>div{gap:8px;display:grid}.profile-facts span,.profile-equipment span{color:var(--kr-muted);font-size:.75rem}.profile-facts strong{color:var(--kr-ember);font-size:1.5rem}.profile-facts small{color:var(--kr-muted);font-size:.8rem;font-weight:400}.profile-story p.profile-resistance{color:var(--kr-rift-cyan);font-size:.8rem}.profile-equipment{grid-template-columns:1fr 1fr;gap:12px;display:grid}.profile-equipment>div,.profile-moves article{border:1px solid var(--kr-line);background:#a46bff0f;border-radius:6px;padding:14px}.profile-equipment small{color:var(--kr-muted)}.profile-moves{gap:8px;display:grid}.profile-moves p{color:var(--kr-muted);margin:6px 0 0;font-size:.85rem;line-height:1.6}.fighter-profile .battle-doll{display:block}.fighter-profile .battle-doll-slots{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));align-items:start;gap:12px}.fighter-profile .effects{padding:0}.fighter-profile .effects .effect{grid-template-columns:20px minmax(0,1fr);align-items:start;gap:4px 8px;padding:12px 0;display:grid}.fighter-profile .effect>b,.fighter-profile .effect>.muted{overflow-wrap:anywhere;grid-column:2;min-width:0}.fighter-profile .effect>.muted{line-height:1.5}.fighter-profile .modal-body{overscroll-behavior:contain;scrollbar-width:thin}@media (width<=700px){.modal.panel.fighter-profile{--panel-frame-width:10px;width:calc(100% - 16px);max-width:calc(100vw - 16px);height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-width:10px;grid-template-rows:112px minmax(0,1fr);grid-template-columns:minmax(0,1fr);gap:10px;padding:12px}.profile-portrait{grid-template-rows:minmax(0,1fr);grid-template-columns:72px minmax(0,1fr);gap:12px;padding:8px 28px 8px 8px}.profile-portrait>.profile-eyebrow{display:none}.profile-portrait-caption{text-align:left;align-self:center;padding:0}.profile-portrait-caption b{font-size:1.15rem;line-height:1.2}.profile-portrait-caption span{font-size:.65rem}.profile-details>header{gap:0;margin:0;padding:0 0 8px}.profile-details h2{display:none}.fighter-profile .modal-body{padding:12px 6px 8px 0}.fighter-profile .tabs{scrollbar-width:thin;flex-wrap:nowrap;gap:4px;padding-bottom:6px;overflow-x:auto}.fighter-profile .tabs button{flex:none;min-height:44px;padding:8px 12px;font-size:.8rem}.profile-story p{margin-bottom:16px;line-height:1.65}.profile-story h3,.profile-combat h3{margin-top:0;font-size:1.25rem}.profile-equipment{grid-template-columns:minmax(0,1fr)}.profile-facts{gap:8px}.profile-facts strong{font-size:1.2rem}.fighter-profile .stats{table-layout:fixed;width:100%}.fighter-profile .stats td{overflow-wrap:anywhere}.fighter-profile .stats td:last-child{width:36%}}@media (height<=500px) and (orientation:landscape){.modal.panel.fighter-profile{--panel-frame-width:10px;border-width:10px;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(120px,.6fr) minmax(0,1.4fr);gap:16px;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);padding:10px}.profile-portrait{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);gap:4px;padding:8px}.profile-portrait>.profile-eyebrow{display:none}.profile-portrait-caption{padding:0}.profile-portrait-caption b{font-size:1rem}.profile-details>header{margin:0;padding:0 40px 8px 0}.profile-details h2{display:none}.fighter-profile .tabs{flex-wrap:nowrap;padding-bottom:6px;overflow-x:auto}.fighter-profile .tabs button{flex:none;min-height:44px}.fighter-profile .modal-body{padding-top:10px}}.qualification-budget{border:1px solid var(--kr-line-2);background:var(--kr-ink-2);border-radius:6px;flex-wrap:wrap;align-items:center;gap:6px 16px;margin:0 0 16px;padding:10px 12px;display:flex}.qualification-budget>b{color:var(--kr-rift-cyan)}.talent-panel>section+section{margin-top:24px}.talent-panel .sheet-talents{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:10px;display:grid}.talent-panel article.chip{white-space:normal;border-radius:6px;gap:6px;padding:12px;display:grid}.talent-panel article>small{color:var(--kr-rift-cyan)}.fighter-profile .modal-body{scrollbar-color:var(--kr-rift) transparent;padding-top:14px}.fighter-profile .modal-body::-webkit-scrollbar{width:3px;height:3px}.fighter-profile .tabs::-webkit-scrollbar{width:3px;height:3px}.fighter-profile .modal-body::-webkit-scrollbar-thumb{background:var(--kr-rift);border-radius:9px}.fighter-profile .tabs::-webkit-scrollbar-thumb{background:var(--kr-rift);border-radius:9px}.fighter-profile .modal-body::-webkit-scrollbar-track{background:0 0}.fighter-profile .tabs::-webkit-scrollbar-track{background:0 0}.fighter-profile .modal-body::-webkit-scrollbar-button{width:0;height:0;display:none}.fighter-profile .tabs::-webkit-scrollbar-button{width:0;height:0;display:none}.fighter-profile .tabs{scrollbar-color:var(--kr-rift) transparent}.profile-combat-summary{grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));gap:12px;margin-top:14px;display:grid}.profile-combat-summary>section{min-width:0}.profile-combat-summary h4{margin:0 0 8px}.profile-combat>h4{margin:16px 0 8px}.profile-combat .profile-moves{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-combat .profile-moves article{min-width:0;padding:10px 12px}.profile-combat .profile-moves p{margin-top:4px;line-height:1.4}@media (width<=380px){.profile-combat .profile-moves{grid-template-columns:minmax(0,1fr)}}.fighter-profile .effects .effect{grid-template-columns:24px 16px minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px 0}.fighter-profile .effect>b{grid-column:3}.fighter-profile .effect>.muted{white-space:nowrap;grid-column:4}.effect-source{color:var(--kr-rift-cyan);display:inline-flex}@media (width<=450px){.fighter-profile .effect>.muted{grid-column:3/-1}}.profile-combat-summary{row-gap:18px;margin-bottom:24px}.inspect-party-items{margin-top:24px}.inspect-party-items>h3{margin:0 0 12px}.battle{isolation:isolate;grid-template-rows:64px 1fr 300px;height:100vh;display:grid;position:relative;overflow:hidden}.parallax{z-index:-1;--px:0;--py:0;position:absolute;inset:0;overflow:hidden}.parallax .layer{will-change:transform;background-repeat:no-repeat;background-size:cover;position:absolute;inset:-4%}.battle:has(.modal-backdrop,.surprise-backdrop) .scene *{animation-play-state:paused}.parallax .far{background:radial-gradient(ellipse at 50% 20%, hsl(var(--hue,260) 45% 22%) 0%, transparent 55%), radial-gradient(ellipse at 20% 80%, #16233a 0%, transparent 50%), linear-gradient(180deg, #0b0914 0%, #120f1f 60%, #0b0914 100%);transform:translate(calc(var(--px) * -4px), calc(var(--py) * -3px))}.parallax .mid{background:radial-gradient(circle at 70% 35%, hsl(var(--hue,260) 90% 65% / .18) 0%, transparent 25%), radial-gradient(circle at 25% 40%, #6fd3ff1a 0%, transparent 22%);transform:translate(calc(var(--px) * -10px), calc(var(--py) * -6px))}.parallax .near{transform:translate(calc(var(--px) * -18px), calc(var(--py) * -10px));background:linear-gradient(#0000 62%,#140e22e6 78%,#0b0914 100%),repeating-linear-gradient(90deg,#0000 0 46px,#3b2f5540 46px 48px)}.battle-top{border-bottom:2px solid var(--kr-line);background:linear-gradient(#15111ff2,#15111fb3);align-items:center;gap:18px;padding:8px 18px;display:flex}.small-title{font-size:1.05rem}.badge{background:var(--kr-ink-2);border:2px solid var(--kr-line);text-align:left;border-radius:8px;grid-template-rows:auto auto;grid-template-columns:34px 1fr;align-items:center;column-gap:8px;min-width:150px;padding:4px 8px;display:grid}.badge.leader{border-color:var(--kr-rift)}.badge.active{box-shadow:0 0 12px #a46bff80}.badge .portrait{object-fit:cover;background:var(--kr-ink-3);border-radius:50%;grid-row:1/span 2;place-items:center;width:34px;height:34px;font-weight:800;display:grid}.badge .hp{grid-column:2}.top-right{align-items:center;gap:10px;margin-left:auto;display:flex}.etherin{color:var(--kr-ember);font-family:var(--font-title);font-weight:700}.scene{grid-template-columns:1fr 1fr;align-items:end;padding:10px 40px 20px;display:grid}.side{align-items:flex-end;gap:18px;min-height:340px;display:flex}.party-side{grid-template-rows:repeat(2,1fr);grid-template-columns:repeat(2,170px);grid-auto-flow:column;justify-content:flex-start;align-items:end;display:grid}.party-side .sprite.front{grid-column:2}.party-side .sprite.back{opacity:.95;grid-column:1;transform:translateY(-28px)scale(.92)}.enemy-side{justify-content:flex-end}.sprite{cursor:pointer;width:160px;transition:transform var(--ease), filter var(--ease);position:relative}.sprite.dead{filter:grayscale()brightness(.4);pointer-events:none}.sprite .figure{width:130px;height:150px;margin:0 auto;animation:2.8s ease-in-out infinite kr-breathe;position:relative}.sprite.enemy .figure{transform:scaleX(-1)}.sprite .figure img{object-fit:cover;filter:drop-shadow(0 12px 10px #0009);border-radius:12px 12px 40% 40%;width:100%;height:100%}.sprite .silhouette{background:radial-gradient(ellipse at 50% 30%, var(--tint), transparent 70%), linear-gradient(180deg, var(--tint), transparent);clip-path:polygon(35% 0,65% 0,75% 25%,95% 45%,85% 100%,15% 100%,5% 45%,25% 25%);opacity:.85;filter:drop-shadow(0 12px 10px #0009);width:100%;height:100%}.sprite .ring{background:radial-gradient(#0000008c,#0000 70%);border-radius:50%;width:110px;height:22px;margin:-14px auto 0}.sprite.active .ring{background:radial-gradient(#a46bff8c,#0000 70%);box-shadow:0 0 18px #a46bff80}.sprite.targetable .figure{outline:3px solid var(--kr-blood);outline-offset:4px;cursor:crosshair;border-radius:12px}.sprite.targetable:hover{transform:translateY(-6px)scale(1.04)}.nameplate{text-align:center;gap:3px;margin-top:6px;font-size:.85rem;font-weight:700;display:grid}.intent{border:1px solid var(--kr-invader);color:var(--kr-invader);white-space:nowrap;background:#15111fe6;border-radius:999px;align-items:center;gap:6px;padding:3px 10px;font-size:.8rem;display:flex;position:absolute;top:-42px;left:50%;transform:translate(-50%)}.intent small{color:var(--kr-muted)}.thought{background:var(--kr-parchment);color:#2a2140;white-space:nowrap;text-align:center;box-shadow:var(--shadow);border-radius:12px;padding:6px 12px;animation:.6s ease-in-out infinite kr-breathe;display:grid;position:absolute;top:-58px;left:50%;transform:translate(-50%)}.thought:after{content:"";background:var(--kr-parchment);width:12px;height:12px;position:absolute;bottom:-8px;left:50%;transform:translate(-50%)rotate(45deg)}.floaters{pointer-events:none;position:absolute;top:0;left:50%}.floater{font-family:var(--font-title);text-shadow:0 2px 6px #000c;white-space:nowrap;font-size:1.5rem;font-weight:900;animation:1s ease-out forwards kr-float;position:absolute;left:0}.floater.hit{color:var(--kr-blood)}.floater.crit{color:var(--kr-ember);font-size:2.1rem}.floater.miss{color:var(--kr-rift-cyan);font-size:1.1rem}.floater.heal{color:var(--kr-necro)}.floater.fluid{color:var(--kr-necro);font-size:1rem}.floater.info{color:var(--kr-muted);font-size:.9rem}.battle-bottom{border-top:2px solid var(--kr-line);background:linear-gradient(#15111fcc,#15111ffa);grid-template-columns:180px 1fr 320px;gap:14px;padding:10px 18px 14px;display:grid}.hint{color:var(--kr-rift-cyan);font-size:.9rem;font-weight:700}.hand{justify-content:center;align-items:flex-end;gap:8px;padding:10px 0 0;display:flex}.hand-slot{transition:transform var(--ease);position:relative}.hand-slot:hover{z-index:2;transform:translateY(-14px)}.hotkey{color:var(--kr-muted);font-size:.7rem;position:absolute;bottom:-2px;left:50%;transform:translate(-50%)}.card{background:linear-gradient(180deg, var(--kr-ink-2), var(--kr-ink));border:2px solid var(--kr-line-2);text-align:left;width:150px;height:230px;transition:transform var(--ease), border-color var(--ease), box-shadow var(--ease);border-radius:10px;grid-template-rows:auto 1fr auto auto auto;gap:4px;padding:8px;display:grid;position:relative}.card.fixed{border-color:var(--kr-parchment-2);background:linear-gradient(180deg, #3a3048, var(--kr-ink))}.card.selected{border-color:var(--kr-rift-cyan);transform:translateY(-8px);box-shadow:0 0 18px #6fd3ff80}.card:disabled{opacity:.45;cursor:default}.card.type-attack{--accent:var(--kr-blood)}.card.type-defence{--accent:var(--kr-rift-cyan)}.card.type-skill{--accent:var(--kr-necro)}.card.type-buff{--accent:var(--kr-ember)}.card.type-debuff{--accent:var(--kr-rift)}.card-cost{background:var(--kr-rift);width:28px;height:28px;font-family:var(--font-title);border-radius:50%;place-items:center;font-weight:900;display:grid;position:absolute;top:-10px;left:-10px;box-shadow:0 0 10px #a46bff99}.card-name{font-family:var(--font-title);margin-left:14px;font-size:.8rem;font-weight:700}.card-art{background:radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%), var(--kr-ink-3);border:1px solid var(--kr-line);border-radius:6px;place-items:center;display:grid}.card-glyph{color:var(--accent);font-size:2rem}.card-type{color:var(--accent);text-transform:uppercase;letter-spacing:.08em;font-size:.65rem}.card-text{font-size:.78rem;line-height:1.2}.card-preview{color:var(--kr-parchment);font-size:.75rem}.right-col{grid-template-rows:1fr auto;gap:8px;display:grid}.log{padding:8px 10px;font-size:.74rem;line-height:1.35;overflow-y:auto}.log .line.round{color:var(--kr-rift);margin-top:4px;font-weight:700}.log .line.turn{color:var(--kr-muted)}.log .line.play{color:var(--kr-text);font-weight:600}.log .line.hit{color:#f0a0a8;white-space:pre-wrap}.log .line.miss{color:var(--kr-rift-cyan);white-space:pre-wrap}.log .line.heal,.log .line.fluid{color:var(--kr-necro)}.log .line.info{color:var(--kr-muted)}.log .line.death{color:var(--kr-blood);font-weight:700}.log .line.end{color:var(--kr-ember);font-size:.9rem;font-weight:800}.end-turn{width:100%;padding:14px;font-size:1.05rem}.modal-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:10;background:#0b0914b3;place-items:center;display:grid;position:absolute;inset:0}.modal{width:440px;max-height:80vh;padding:18px;overflow:auto}.modal header{grid-template-columns:1fr auto;align-items:center;gap:4px 12px;margin-bottom:10px;display:grid}.modal header .btn{grid-row:1/span 2}.tabs{gap:6px;margin-bottom:10px;display:flex}.tabs button{border:1px solid var(--kr-line);background:0 0;border-radius:6px;padding:6px 12px}.tabs button.on{border-color:var(--kr-rift);background:var(--kr-ink-3)}.stats{border-collapse:collapse;width:100%;font-size:.9rem}.stats td{border-bottom:1px solid var(--kr-line);padding:5px 4px}.stats td:last-child{text-align:right}.effects{margin:0;padding-left:18px}.effects .fluid{color:var(--kr-necro)}@media (width<=1100px){.battle-bottom{grid-template-columns:150px 1fr 240px}.card{width:125px;height:200px}}.card.rarity-uncommon:not(.fixed){border-color:var(--kr-rift-cyan)}.card.rarity-rare:not(.fixed){border-color:var(--kr-rift);box-shadow:0 0 10px #a46bff59}.card.upgraded:after{content:"";pointer-events:none;border:1px solid #7df2a673;border-radius:7px;position:absolute;inset:3px}.items{gap:4px;display:grid}.relic-rack{align-items:center;gap:4px;display:flex}.relic-chip{border:2px solid var(--q);width:24px;height:24px;color:var(--q);font-family:var(--font-title);background:var(--kr-ink-2);border-radius:50%;place-items:center;font-size:.7rem;font-weight:900;display:grid}.intent .upcoming{color:var(--kr-rift-cyan)}.battle-loss-cracks{z-index:100;pointer-events:none;opacity:.65;width:100%;height:100%;transition:color .6s;position:fixed;inset:0}@media (prefers-reduced-motion:reduce){.battle-loss-cracks{transition:none}}html.reduced-motion .battle-loss-cracks{transition:none}.rift-shockwave{z-index:65;pointer-events:none;position:absolute;inset:0;overflow:hidden}.rift-shockwave-core,.rift-shockwave-ring,.rift-shockwave-spark{pointer-events:none;position:absolute;top:55%;left:50%}.rift-shockwave-core{background:radial-gradient(circle,#fff4cf 0%,#ffd783aa 12%,#b369ff88 35%,#0000 70%);border-radius:50%;width:140px;height:140px;margin:-70px;animation:1s ease-out both rift-core}.rift-shockwave-ring{width:160px;height:160px;animation:rift-wave 1.4s cubic-bezier(.16,.6,.35,1) var(--wave-delay) both;border:3px solid #ffdf9e;border-radius:50%;margin:-80px;box-shadow:0 0 12px #ffe7b4,inset 0 0 14px #a46bff,0 0 28px #a46bff88}.rift-shockwave-spark{width:5px;height:5px;animation:rift-spark 1.1s ease-out var(--wave-delay) both;background:#ffe4b0;border-radius:50%;margin:-2px;box-shadow:0 0 8px #ffcf74,0 0 14px #c591ff}.scene.rift-opening{animation:.36s ease-out rift-entry-shake}@keyframes rift-core{0%{opacity:0;transform:scale(.2)}15%{opacity:.85}to{opacity:0;transform:scale(2)}}@keyframes rift-wave{0%{opacity:0;transform:scale(.15)}10%{opacity:.8}to{opacity:0;transform:scale(8)}}@keyframes rift-spark{0%{opacity:0;transform:rotate(var(--spark-angle)) translateX(15px)}15%{opacity:.9}to{opacity:0;transform:rotate(var(--spark-angle)) translateX(var(--spark-distance)) scale(.3)}}@keyframes rift-entry-shake{0%,to{transform:translate(0)}20%{transform:translate(-2px,1px)}40%{transform:translate(2px,-1px)}60%{transform:translate(-1px,1px)}80%{transform:translate(1px)}}.reduced-motion .rift-shockwave{display:none}.reduced-motion .scene.rift-opening{animation:none}@media (prefers-reduced-motion:reduce){.rift-shockwave{display:none}.scene.rift-opening{animation:none}}.battle-tools{display:contents}.battle-tools-toggle,.battle-tools-dismiss{display:none}@media (width<=600px){.battle .battle-top{z-index:85;flex-wrap:nowrap;grid-template-columns:minmax(0,1fr) auto;gap:8px;min-width:0;padding:8px 52px 8px 10px;display:grid;position:relative}.battle .battle-top>div:first-child{min-width:0}.battle .battle-top .small-title{white-space:nowrap;text-overflow:ellipsis;margin:0 0 3px;font-size:.82rem;overflow:hidden}.battle .battle-top .muted.small{white-space:nowrap;font-size:.65rem;display:block}.battle .battle-top .top-right{flex-wrap:nowrap;align-items:center;gap:8px;display:flex}.battle .battle-top .top-right>.relic-rack,.battle .battle-top .top-right>.relics,.battle .battle-top .top-right>.legend-rack{display:none}.battle .battle-top .etherin{white-space:nowrap;font-size:.8rem}.battle-tools-toggle{color:#eadbff;cursor:pointer;background:#271b3c;border:1px solid #765595;border-radius:6px;place-items:center;width:34px;height:34px;padding:0;display:grid}.battle .battle-tools{display:none}.battle .battle-tools.open{box-sizing:border-box;background:#171020f5;border:1px solid #9363bd;border-radius:8px;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;width:240px;padding:16px;display:flex;position:absolute;top:calc(100% + 6px);right:10px;box-shadow:0 8px 24px #000a}.battle-tools-dismiss{z-index:84;cursor:default;background:#0003;border:0;display:block;position:fixed;inset:0}.fullscreen-toggle{flex-basis:34px;width:34px;height:34px}}.foresight-reveal{z-index:70;pointer-events:none;justify-content:center;align-items:start;gap:20px;display:flex;position:absolute;inset:12% 0 auto}.foresight-reveal>div{justify-items:center;gap:8px;display:grid}.foresight-reveal>div>span{color:#eee2ff;background:#160d25ed;border:1px solid #b187dd;border-radius:6px;padding:6px 12px;font-size:.8rem}.foresight-reveal .card{opacity:1;filter:drop-shadow(0 0 12px #a46bff);width:140px;height:210px}.foresight-played{animation:2.6s both foresight-play}.foresight-stored{animation:2.6s both foresight-store}@keyframes foresight-play{0%{opacity:0;transform:translateY(40px)scale(.7)}15%,65%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(-60px)scale(1.12)}}@keyframes foresight-store{0%{opacity:0;transform:translateY(40px)scale(.7)}15%,65%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translate(-130px,180px)scale(.2)}}.sprite.fx-demoralize .figure{animation:1s both demoralize-stall}@keyframes demoralize-stall{0%,to{filter:none;transform:translateY(0)}30%,65%{filter:saturate(.3)brightness(.65);transform:translateY(5px)rotate(-3deg)}}.reduced-motion .sprite.fx-demoralize .figure{filter:saturate(.3)brightness(.65);animation:none}@media (prefers-reduced-motion:reduce){.sprite.fx-demoralize .figure{filter:saturate(.3)brightness(.65);animation:none}}.reduced-motion .foresight-reveal>div{animation:none}@media (prefers-reduced-motion:reduce){.foresight-reveal>div{animation:none}}@media (width<=600px){.foresight-reveal{gap:8px}.foresight-reveal .card{width:100px;height:150px}.foresight-reveal>div>span{padding:4px;font-size:.65rem}}.hud-action-summary{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 10px;display:flex}.hud-morale{color:#9de2bd;white-space:nowrap;cursor:help;font-size:.78rem}.hud-morale b{font-variant-numeric:tabular-nums;font-size:.95rem}.hud-morale.negative{color:#f39baf}.map-screen{background:radial-gradient(ellipse at 50% 0%, hsl(var(--hue,260) 40% 20%) 0%, transparent 60%), linear-gradient(180deg, #0f0c1a, var(--kr-void));grid-template-rows:auto 1fr auto;height:100vh;display:grid}.map-top{border-bottom:2px solid var(--kr-line);background:#15111fd9;align-items:center;gap:20px;padding:12px 22px;display:flex}.map-top h1{font-size:1.35rem}.map-actions{align-items:center;gap:10px;margin-left:auto;display:flex}.diff{background:var(--kr-blood);font-family:var(--font-title);border-radius:999px;padding:3px 10px;font-weight:900}.party-strip{gap:8px;display:flex}.strip-member{border:2px solid var(--kr-line);background:var(--kr-ink-2);border-radius:8px;grid-template-rows:auto auto auto;grid-template-columns:32px 110px;align-items:center;column-gap:8px;padding:4px 8px;display:grid}.strip-member.leader{border-color:var(--kr-rift)}.strip-member.dead{filter:grayscale()brightness(.6)}.strip-member img,.strip-member .ph{object-fit:cover;background:var(--kr-ink-3);border-radius:50%;grid-row:1/span 3;place-items:center;width:32px;height:32px;font-weight:800;display:grid}.strip-name{font-size:.8rem;font-weight:700}.map-scroll{justify-content:center;padding:20px 0;display:flex;overflow-y:auto}.map-svg .edge{stroke:var(--kr-line-2);stroke-width:2px;stroke-dasharray:5 6}.map-svg .edge.walked{stroke:var(--kr-rift);stroke-width:4px;stroke-dasharray:none;filter:drop-shadow(0 0 6px #a46bffcc)}.map-svg .node circle{fill:var(--kr-ink-2);stroke:var(--kr-line-2);stroke-width:2px;transition:all var(--ease)}.map-svg .node text{text-anchor:middle;fill:var(--kr-muted);pointer-events:none;font-size:18px}.map-svg .node.boss circle{fill:#2a1420;stroke:var(--kr-blood);stroke-width:3px}.map-svg .node.boss text{fill:var(--kr-blood);font-size:30px}.map-svg .node .boss-name{font-family:var(--font-title);fill:var(--kr-parchment);font-size:14px}.map-svg .node.elite text,.map-svg .node.rest text,.map-svg .node.shop text{fill:var(--kr-ember)}.map-svg .node.event text,.map-svg .node.unknown text{fill:var(--kr-rift-cyan)}.map-svg .node.treasure text{fill:var(--kr-necro)}.map-svg .node.rift circle{fill:#241240;stroke:var(--kr-rift);stroke-width:3px;stroke-dasharray:10 4 2 4;animation:2.4s ease-in-out infinite rift-flicker}.map-svg .node.rift text{fill:var(--kr-rift-cyan);font-size:24px;font-weight:700}.map-svg .node.rift.visited circle{animation:none}@keyframes rift-flicker{0%,to{filter:drop-shadow(0 0 4px #a46bffb3)drop-shadow(0 0 2px #6fd3ff80)}45%{filter:drop-shadow(0 0 12px #a46bfff2)drop-shadow(0 0 6px #6fd3ffe6)}50%{filter:drop-shadow(0 0 3px #6fd3ff66)}}.rift-note{border-left:3px solid var(--kr-rift);color:var(--kr-parchment);background:linear-gradient(90deg,#a46bff33,#6fd3ff14);margin-top:4px;padding:3px 10px;font-size:.82rem}.rift-note b{color:var(--kr-rift-cyan)}.rift-note .btn{margin-left:6px;padding:1px 8px;font-size:.78rem}.map-svg .node.visited circle{fill:#2b1f45;stroke:var(--kr-rift)}.map-svg .node.reachable{cursor:pointer}.map-svg .node.reachable circle{stroke:var(--kr-rift-cyan);stroke-width:3px;animation:1.6s ease-in-out infinite node-glow}.map-svg .node.reachable:hover circle{fill:#2f2653}.map-svg .node>image{transform-box:fill-box;transform-origin:50%;transition:transform .16s,filter .16s}.map-svg .node:hover>image,.map-svg .node:focus-visible>image{filter:drop-shadow(0 0 6px #b687ff);transform:scale(1.12)}@media (prefers-reduced-motion:reduce){.map-svg .node>image{transition:none}}.map-svg .node.here circle{stroke:var(--kr-parchment);stroke-width:4px}@keyframes node-glow{0%,to{filter:drop-shadow(0 0 2px #6fd3ff66)}50%{filter:drop-shadow(0 0 10px #6fd3ffe6)}}.map-legend{border-top:2px solid var(--kr-line);color:var(--kr-muted);background:#15111fd9;justify-content:center;gap:18px;padding:10px;font-size:.85rem;display:flex}.map-legend b{color:var(--kr-text)}.modal.panel.deck-modal{box-sizing:border-box;flex-direction:column;width:calc(100vw - 32px);max-width:none;height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);display:flex}.deck-modal>header{flex-wrap:wrap;align-items:center;gap:16px;padding-right:32px;display:flex}.deck-modal>header h2{margin:0}.deck-modal .modal-body{flex:1;min-height:0;padding-bottom:32px;overflow-y:auto}.deck-controls{flex-wrap:wrap;align-items:center;gap:12px;margin-left:auto;display:flex}.deck-controls label{color:var(--kr-muted);align-items:center;gap:6px;font-size:.8rem;display:flex}.deck-controls select{background:var(--kr-ink-2);color:var(--kr-text);border:1px solid var(--kr-line-2);border-radius:5px;padding:6px 8px}.deck-modal .deck-hero-heading{flex-wrap:wrap;align-items:center;gap:8px;margin-top:20px;display:flex}.deck-hero-heading img{object-fit:cover;border:1px solid var(--kr-rift);border-radius:50%;width:42px;height:42px}.deck-category h4{border-bottom:1px solid var(--kr-line-2);margin:16px 0 0;padding-bottom:6px}.deck-modal .deck-card-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}@media (width<=600px){.modal.panel.deck-modal{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);padding:16px}.deck-controls{gap:8px;margin-left:0}.deck-modal .deck-card-grid{grid-template-columns:repeat(auto-fill,minmax(115px,1fr))}}.deck-card-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:18px 12px;padding:10px 4px 18px;display:grid}.deck-card-stack{justify-content:center;min-width:0;display:flex;position:relative}.deck-card-stack .card{aspect-ratio:2/3;width:100%;max-width:180px;height:auto}.deck-copy-count{z-index:2;border:1px solid var(--kr-rift);background:#20152f;border-radius:50%;place-items:center;width:30px;height:30px;display:grid;position:absolute;bottom:4px;right:4px;box-shadow:0 0 10px #a46bff80}@media (width<=600px){.deck-card-grid{grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:12px 6px}}.deck-section{margin:12px 0}.deck-modal .modal-body{container:deck-layout/inline-size}.deck-categories{grid-template-columns:minmax(0,1fr);gap:12px 24px;display:grid}.deck-categories>.deck-category{min-width:0}@container deck-layout (width>=900px){.deck-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.deck-categories>.deck-category:last-child:nth-child(odd){grid-column:1/-1}}.deck-section h3{margin-bottom:6px;font-size:1rem}.deck-chips{flex-wrap:wrap;gap:6px;display:flex}.chip{border:1px solid var(--kr-line-2);background:var(--kr-ink-2);border-radius:999px;padding:4px 10px;font-size:.8rem}.chip.type-attack{border-color:var(--kr-blood)}.chip.type-defence{border-color:var(--kr-rift-cyan)}.chip.type-skill{border-color:var(--kr-necro)}.chip.type-buff{border-color:var(--kr-ember)}.chip.type-debuff{border-color:var(--kr-rift)}.map-notifications{z-index:110;left:50%;bottom:max(76px,env(safe-area-inset-bottom));pointer-events:none;flex-direction:column;gap:8px;width:min(520px,100vw - 32px);display:flex;position:fixed;transform:translate(-50%)}.map-toast{pointer-events:auto;width:100%;color:var(--kr-text);font:inherit;text-align:left;cursor:pointer;background:#21172fee;border:1px solid #a66bff88;border-radius:12px;align-items:center;gap:12px;padding:12px 16px;font-size:.85rem;line-height:1.4;display:flex;box-shadow:0 6px 24px #0008}.map-toast>span{color:var(--kr-muted);flex:none;margin-left:auto;font-size:1.2rem}.map-toast>b{color:var(--kr-rift-cyan)}.map-toast.fallen-toast{border-color:#e3658188}.map-toast:hover{background:#302140}.deck-card-grid>.card{aspect-ratio:2/3;width:100%;max-width:180px;height:auto}.map-svg .node[data-hint]:focus-visible{outline:none}.map-svg .node-selection-aura{opacity:0;pointer-events:none;transform-origin:0 0}.map-svg .node:focus-visible .node-selection-aura{opacity:1;animation:2.4s ease-in-out infinite selection-radiance}@keyframes selection-radiance{0%,to{filter:drop-shadow(0 0 4px #a46bff88);transform:scale(.95)rotate(-5deg)}50%{filter:drop-shadow(0 0 12px #be8aff)brightness(1.25);transform:scale(1.08)rotate(5deg)}}@media (prefers-reduced-motion:reduce){.map-svg .node .node-selection-aura{animation:none}}.reduced-motion .map-svg .node .node-selection-aura{animation:none}.party-strip .strip-member{isolation:isolate;background:radial-gradient(at 20%,#55337370,#0000 75%),linear-gradient(120deg,#20172e,#130f20);border:0;border-radius:0;grid-template-rows:auto 9px auto;grid-template-columns:48px minmax(88px,1fr);gap:4px 10px;min-width:0;padding:13px 18px;position:relative;box-shadow:inset 0 0 16px #0008}.party-strip .strip-member:before{content:"";pointer-events:none;z-index:2;border:10px solid #0000;border-image:var(--art-panel-frame-talent) 90 stretch;position:absolute;inset:0}.party-strip .strip-member.leader:before{filter:sepia(.65)saturate(1.8)}.party-strip .strip-member.leader{box-shadow:0 0 12px #a46bff35,inset 0 0 20px #60368a30}.party-strip .strip-portrait{grid-row:1/span 3;place-items:center;width:48px;height:48px;display:grid;position:relative}.party-strip .strip-portrait:after{content:"";pointer-events:none;border:1px solid #be91ee;border-radius:50%;position:absolute;inset:-3px;box-shadow:0 0 8px #a46bff70,inset 0 0 5px #a46bff60}.party-strip .strip-member .strip-portrait img,.party-strip .strip-member .strip-portrait .ph{border-radius:50%;grid-row:auto;width:46px;height:46px}.party-strip .strip-name{font-family:var(--font-title);color:#f2e7ff;text-shadow:0 1px 3px #000;font-size:.85rem}.party-strip .strip-member .hp{background:#090710;border:1px solid #604773;border-radius:5px;width:100%;height:8px;overflow:hidden}.party-strip .strip-member .hp>i{background:linear-gradient(90deg,#3ab87a,#88ed91);box-shadow:0 0 6px #76e69380}.party-strip .strip-member>.muted.small{color:#c8b9d9;font-variant-numeric:tabular-nums;font-size:.72rem}.party-strip .strip-member:hover,.party-strip .strip-member:focus-visible{transform:translateY(-2px)scale(1.025);box-shadow:0 0 18px #a46bff60}@media (width<=600px){.party-strip .strip-member{grid-template-rows:auto auto 8px;grid-template-columns:minmax(0,1fr);justify-items:center;gap:4px;padding:10px 8px}.party-strip .strip-portrait{grid-row:auto;width:36px;height:36px}.party-strip .strip-member .strip-portrait img,.party-strip .strip-member .strip-portrait .ph{width:34px;height:34px}.party-strip .strip-name{font-size:.65rem}}.analysis-modal{width:min(720px,100vw - 32px);max-height:calc(100dvh - 48px);overflow-y:auto}.analysis-choices{flex-wrap:wrap;gap:12px;margin:20px 0;display:flex}.analysis-mark{cursor:pointer}.analysis-mark circle{fill:#201334;stroke:#c4a0ff;stroke-width:2px}.analysis-mark text{fill:#e5d4ff;text-anchor:middle;font-size:18px}.analysis-foes{flex-wrap:wrap;justify-content:center;gap:16px;display:flex}.analysis-foes>div{background:#241831;border:1px solid #76528f;border-radius:12px;justify-items:center;gap:8px;width:150px;padding:12px;display:grid}.analysis-foes img{object-fit:contain;width:100px;height:100px}.modal.panel.analysis-modal{width:min(820px,100vw - 48px);height:auto;min-height:0;max-height:calc(100dvh - 48px);padding:30px;overflow:visible}.analysis-body{min-height:0;max-height:calc(100dvh - 180px);padding:0 4px 8px;overflow:hidden auto}.analysis-team{border-bottom:1px solid #75519766;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 0;display:flex}.analysis-team>span{align-items:center;gap:7px;font-size:.85rem;display:inline-flex}.analysis-team img{object-fit:cover;border:1px solid #a46bff;border-radius:50%;width:34px;height:34px}.analysis-relic-total{color:#ffc85a}.analysis-choices{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:16px 0;display:grid}.analysis-node-choice{color:var(--kr-text);cursor:pointer;background:radial-gradient(at top,#342049,#151020);border:1px solid #759;border-radius:8px;justify-items:center;gap:8px;padding:12px;display:grid}.analysis-node-choice img{object-fit:contain;filter:drop-shadow(0 0 7px #9860ff66);width:86px;height:86px}.analysis-node-choice small{color:var(--kr-muted)}.analysis-node-choice:hover,.analysis-node-choice.selected{background:radial-gradient(at top,#57387a,#1d132b);border-color:#c6a0ff}.analysis-body>.btn.primary{width:min(420px,100%);margin:22px auto 0;display:block}.modal.panel.social-relic-setup{width:min(1100px,100vw - 48px);height:auto;min-height:0;max-height:calc(100dvh - 48px)}.social-relic-setup .modal-body{max-height:60dvh;overflow-y:auto}.social-relic-effect{text-align:center;color:#bbd9f5;max-width:210px}.social-relic-setup>.btn{flex-shrink:0;width:min(440px,100%);margin:18px auto 0}@media (width<=600px){.modal.panel.analysis-modal{padding:20px 14px}.analysis-team>span{font-size:.75rem}}.map-svg .node{outline:none}.map-svg .node .node-selection-aura.click-wave{animation:.65s ease-out both node-click-wave}@keyframes node-click-wave{0%{opacity:1;transform:scale(.6)}to{opacity:0;transform:scale(1.5)}}.map-svg .node.here,.map-svg .node.here>image{opacity:1}.node-screen{background:radial-gradient(ellipse at center, #241a3d 0%, var(--kr-void) 70%);place-items:center;height:100vh;padding:24px;display:grid;overflow:auto}.node-screen.rest{background:radial-gradient(ellipse at 50% 70%, #4a2a12 0%, var(--kr-void) 65%)}.node-screen.shop{background:radial-gradient(ellipse at 50% 30%, #3d2f12 0%, var(--kr-void) 65%)}.node-screen.death{background:radial-gradient(ellipse at center, #3a1220 0%, var(--kr-void) 65%)}.node-screen.won{background:radial-gradient(ellipse at center, #1d3a3a 0%, var(--kr-void) 65%)}.node-panel{text-align:center;justify-items:center;gap:14px;min-width:560px;max-width:1000px;padding:28px 36px;display:grid}.node-panel h1{font-size:2rem}.node-panel h3{color:var(--kr-muted);font-size:1rem}.reward-gold{color:var(--kr-ember);font-family:var(--font-title);margin:0;font-size:1.3rem;font-weight:700}.event-text{max-width:520px;color:var(--kr-parchment);font-size:1.05rem;line-height:1.5}.card-pick{justify-items:center;gap:12px;display:grid}.offer{flex-wrap:wrap;justify-content:center;gap:14px;padding-top:10px;display:flex}.holders{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.choices{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.choices.column{flex-direction:column;align-items:stretch;min-width:420px}.btn.choice{text-transform:none;font-family:var(--font-ui);letter-spacing:0;text-align:left}.btn.ghost{border-color:var(--kr-line);background:0 0}.shop-item{justify-items:center;gap:6px;display:grid}.shop-item.sold{opacity:.4}.price{color:var(--kr-ember);font-family:var(--font-title);font-weight:700}.act-card{cursor:pointer;background:radial-gradient(ellipse at center, hsl(var(--hue,260) 50% 22%) 0%, var(--kr-void) 70%)}.act-title{text-align:center;width:min(800px,100%);min-width:0;animation:.9s ease-out both act-in;container-type:inline-size}.act-num{font-family:var(--font-title);letter-spacing:.4em;text-transform:uppercase;color:var(--kr-muted)}.act-title h1{overflow-wrap:anywhere;background:linear-gradient(180deg, #fff, hsl(var(--hue,260) 80% 70%));color:#0000;-webkit-background-clip:text;background-clip:text;margin:8px 0;font-size:clamp(2rem,12cqw,4rem)}.act-title p{overflow-wrap:anywhere;color:var(--kr-parchment);font-size:1.15rem}@keyframes act-in{0%{opacity:0;letter-spacing:.2em;transform:scale(.94)}to{opacity:1;transform:scale(1)}}.title-screen{background:radial-gradient(circle at 50% 38%, #a46bff47, transparent 40%), radial-gradient(ellipse at 50% 100%, #1a1430, var(--kr-void) 70%);place-items:center;height:100vh;display:grid}.title-inner{justify-items:center;gap:18px;display:grid}.title-logo{filter:drop-shadow(0 0 30px #6fd3ff59);border-radius:24px;width:320px;max-width:70vw;animation:4s ease-in-out infinite logo-glow}@keyframes logo-glow{0%,to{filter:drop-shadow(0 0 10px #a46bff73)}50%{filter:drop-shadow(0 0 26px #6fd3ffa6)}}.title-menu{gap:10px;min-width:280px;display:grid}.title-menu .btn{padding:14px;font-size:1.05rem}.title-foot{color:var(--kr-muted);font-size:.8rem}.guest-notice{border:1px solid var(--kr-line);text-align:center;background:#0b09148c;border-radius:10px;justify-items:center;gap:8px;max-width:420px;margin:6px auto 0;padding:10px 14px;display:grid}.guest-notice p{color:var(--kr-parchment-2);margin:0}.relic-tile,.item-tile{background:linear-gradient(180deg, var(--kr-ink-2), var(--kr-ink));border:2px solid var(--q,var(--kr-line-2));text-align:center;width:170px;transition:transform var(--ease), box-shadow var(--ease);border-radius:10px;justify-items:center;gap:4px;padding:12px 10px;display:grid}.relic-tile:hover:not(:disabled),.item-tile:hover:not(:disabled){box-shadow:0 0 16px color-mix(in srgb, var(--q,var(--kr-rift)) 50%, transparent);transform:translateY(-3px)}.relic-tile:disabled,.item-tile:disabled{opacity:.45;cursor:default}.relic-tile.inactive{opacity:.55;border-style:dashed}.relic-tile.selected{box-shadow:0 0 16px var(--q)}.relic-tile.permanent{outline:none}.relic-tile.permanent:disabled{opacity:1}.relic-gem{border:2px solid var(--q);width:40px;height:40px;color:var(--q);font-family:var(--font-title);background:radial-gradient(circle, color-mix(in srgb, var(--q) 30%, transparent), transparent 70%);border-radius:50%;place-items:center;font-size:1.1rem;font-weight:900;display:grid}.item-tile{--q:var(--kr-necro)}.relic-modal{width:min(1480px,100vw - 48px);max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px)}.modal.panel.relic-modal>.relic-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:14px 0;display:grid}.relic-tabs>button{border:1px solid var(--kr-line);min-width:0;min-height:48px;color:var(--kr-muted);cursor:pointer;font:inherit;background:#181121;border-radius:6px;padding:8px}.relic-tabs>button[aria-selected=true]{color:var(--kr-rift-cyan);border-color:var(--kr-rift);background:#352247}.relic-tabs>button small{margin-top:4px;display:block}.relic-tabs>button:focus-visible{outline:2px solid var(--kr-rift-cyan);outline-offset:2px}@media (width<=600px){.modal.panel.relic-modal{width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);padding:20px 12px}.modal.panel.relic-modal>header{padding-right:32px}.modal.panel.relic-modal>header h2{font-size:1.6rem}.relic-tabs>button{overflow-wrap:anywhere;padding:6px 3px;font-size:.75rem}}.hidden-shelf{border:1px dashed var(--kr-ember);background:#ffb3470f;border-radius:10px;padding:10px 14px}.remove-box{width:100%}.upgrade-list{text-align:left;gap:10px;width:100%;display:grid}.upgrade-list .chip{cursor:pointer}.upgrade-list .chip:disabled{opacity:.4;cursor:default}.chance{float:right;color:var(--kr-rift-cyan);font-size:.8rem;font-weight:700}.event-result{max-width:520px;margin:0;font-size:1.05rem}.event-result.ok{color:var(--kr-necro)}.event-result.fail{color:var(--kr-blood)}.event-lines{color:var(--kr-parchment);margin:0;padding:0;list-style:none}.talk{border-left:3px solid var(--kr-ember);text-align:left;background:#ffb3470f;max-width:520px;margin:0;padding:14px 18px}.talk p{color:var(--kr-parchment);margin:6px 0 0;font-style:italic}.lang-row{justify-content:center;gap:8px;display:flex}.lang-row .btn{padding:6px 12px;font-size:.75rem}.lang-row .btn.on{border-color:var(--kr-rift);color:var(--kr-text)}.relic-tile.relic-picture-tile{aspect-ratio:1;border-radius:3px;grid-template-rows:minmax(0,1fr) 2.5em 1.2em;gap:4px;width:170px;min-height:0;padding:8px;display:grid;position:relative;overflow:hidden}.relic-picture-tile>.relic-gem{background:radial-gradient(ellipse,color-mix(in srgb,var(--q) 12%,transparent),transparent 75%);border:0;border-radius:0;width:100%;height:100%;min-height:0}.relic-picture-tile>.relic-gem img{object-fit:contain;border-radius:0;width:100%;max-width:none;height:100%;max-height:none}.relic-picture-tile>b{font-family:var(--font-title);justify-content:center;align-items:center;font-size:.78rem;line-height:1.2;display:flex;overflow:hidden}.relic-picture-tile>.muted{font-size:.65rem;line-height:1.2}.relic-picture-tile>.price{background:#100c1de6;border-radius:3px;padding:3px 5px;font-size:.75rem;position:absolute;top:6px;right:6px}.relic-modal .relic-picture-grid{grid-template-columns:repeat(auto-fit,minmax(min(145px,100%),1fr));gap:14px;width:100%;padding:4px;display:grid}.relic-picture-grid .relic-picture-tile{width:100%}.relic-bag{text-align:center;margin-top:20px;margin-bottom:32px;padding-bottom:8px}.relic-bag h3{margin:0 0 12px}.relic-bag h3 small{font-family:var(--font-body);color:var(--kr-muted);font-size:.75rem}.relic-bag-slots{justify-content:center;gap:12px;display:flex}.relic-bag-slots .party-item-tile,.relic-bag-slots .relic-bag-empty{aspect-ratio:1;width:clamp(64px,16vw,90px);height:auto}.relic-bag-empty{border:1px dashed var(--kr-line-2);color:var(--kr-muted);background:#100c1d80;border-radius:5px;place-items:center;font-size:2rem;display:grid}.relic-picture-tile.inactive{opacity:1;background:linear-gradient(#17121f,#100c18)}.relic-picture-tile.inactive>.relic-gem{opacity:.65}.relic-picture-tile.active{box-shadow:inset 0 0 8px var(--q)}.levelup .offer{grid-template-columns:repeat(3,minmax(0,170px));justify-content:center;gap:14px;padding:4px;display:grid}.levelup .relic-tile.talent-tile{--q:var(--kr-necro);grid-template-rows:minmax(0,1fr) 2.5em;width:100%}.levelup .talent-tile>b{font-size:.78rem}.levelup .relic-tile.talent-tile{background:radial-gradient(#281c3c,#100d1b 75%);border:0;padding:20px;overflow:visible}.levelup .relic-tile.talent-tile:after{content:"";background:var(--art-panel-frame-talent) center / 100% 100% no-repeat;pointer-events:none;position:absolute;inset:0}.levelup .relic-tile.talent-tile:hover{filter:brightness(1.15)}.levelup .talent-tile>.relic-gem{box-sizing:border-box;padding:4px}@media (width<=480px){.levelup .offer{gap:8px}.levelup .relic-tile.talent-tile{padding:14px}.levelup .talent-tile>b{font-size:.65rem}}.node-screen.camp-world{background:radial-gradient(at 50% 65%,#3b2544,#0d0915 80%);padding:20px}.camp-world-panel{width:min(1440px,96vw);padding:0;overflow:visible}.camp-world-head{z-index:20;text-align:center;pointer-events:none;position:absolute;top:8px;left:0;right:0}.camp-world-head h1{text-shadow:0 3px 10px #000;margin:0;font-size:clamp(20px,3vw,38px)}.camp-resources{z-index:20;background:linear-gradient(135deg,#251a32f2,#100c1ee8);border:1px solid #a6895a;border-radius:4px;gap:6px;padding:10px 14px;font-size:.8rem;display:grid;position:absolute;top:16px;left:16px;box-shadow:inset 0 0 0 3px #49304f66,0 3px 12px #0008}.camp-resources:before,.camp-resources:after{content:"";pointer-events:none;border-style:solid;border-color:#dabb80;width:10px;height:10px;position:absolute}.camp-resources:before{border-width:1px 0 0 1px;top:3px;left:3px}.camp-resources:after{border-width:0 1px 1px 0;bottom:3px;right:3px}.camp-currency,.camp-bag-space{align-items:center;gap:8px;display:flex}.camp-currency{color:var(--kr-gold,#ffbf4d)}.camp-currency b{font-variant-numeric:tabular-nums;font-size:1.05rem}.camp-currency small{color:#c8b598;font-size:.7rem}.camp-bag-space{color:#cbc2df;font-size:.72rem}.camp-bag-space svg{color:#72cdf6;flex:none}@media (width<=600px){.camp-resources{gap:4px;padding:8px 10px;top:48px;left:10px}}.camp-stage{aspect-ratio:16/9;isolation:isolate;background-position:50%;background-size:100% 100%;border-radius:6px;width:100%;position:relative;overflow:hidden}.camp-hero{left:var(--camp-x);top:var(--camp-feet);width:17%;height:32%;z-index:var(--camp-depth);cursor:pointer;background:0 0;border:0;padding:0;position:absolute;transform:translate(-50%,-100%)}.camp-hero img{object-fit:contain;object-position:bottom;filter:drop-shadow(0 10px 5px #000b);width:100%;height:100%;transition:filter .2s}.camp-hero:hover img{filter:drop-shadow(0 0 10px #ffb35090)}.camp-hero.fallen img{filter:grayscale()brightness(.5)}.camp-hero-label{white-space:nowrap;background:#100c19da;border:1px solid #b5915760;border-radius:4px;gap:1px;padding:4px 10px;font-size:clamp(10px,1vw,14px);display:grid;position:absolute;bottom:-25px;left:50%;transform:translate(-50%)}.camp-hero-label small{color:#bfc4b8;font-size:.8em}.camp-place{z-index:95;width:clamp(120px,18%,230px);min-width:0;font-size:clamp(10px,1.15vw,16px);position:absolute;transform:translate(-50%)}.camp-supplies{top:42%;left:16%}.camp-workbench{top:42%;left:84%}.camp-rest{top:82%;left:50%}.camp-world-actions{background:#120d1be6;border-top:1px solid #786087;justify-content:center;padding:12px;display:flex;position:relative;box-shadow:inset 0 1px #c6a56b33}.camp-fire-glow{mix-blend-mode:screen;pointer-events:none;background:radial-gradient(#ffa63c45,#0000 70%);border-radius:50%;width:18%;height:25%;animation:2s ease-in-out infinite alternate camp-fire-breathe;position:absolute;top:51%;left:41%}@keyframes camp-fire-breathe{to{opacity:.5;transform:scale(.9)}}@media (width<=600px){.node-screen.camp-world{padding:14px}.camp-stage{aspect-ratio:4/5;background-size:100% 100%}.camp-hero{width:23%;height:25%}.camp-place{width:33%;min-height:36px;padding:4px}.camp-world-head{top:10px}.camp-hero-label{padding:3px 6px;bottom:-20px}}html.reduced-motion .camp-fire-glow{animation:none}.camp-merchant{z-index:60;cursor:pointer;background:0 0;border:0;width:12%;height:27%;padding:0;position:absolute;top:29%;left:12%}.camp-merchant img{object-fit:contain;filter:drop-shadow(0 6px 5px #0009);width:100%;height:100%}.camp-supplies{top:57%}.camp-workbench{top:54%}.camp-shop-modal header{justify-content:space-between;align-items:center;gap:16px;display:flex}.camp-shop-grid{text-align:center;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:16px;display:grid}.camp-shop-grid .gear-tile{width:100%}.camp-world-actions{flex-wrap:wrap;gap:12px}.camp-merchant.race-reigk,.camp-merchant.race-ibeds{height:19%;top:37%}.camp-merchant.race-megok{height:30%;top:26%}.camp-stage>.camp-place{box-sizing:border-box;text-align:center;white-space:normal;justify-content:center;align-items:center;min-height:44px;margin:0;padding:8px 12px;line-height:1.2;display:flex;position:absolute;transform:translate(-50%)}.camp-stage>.camp-workbench{width:20%;top:44%;left:85%}.camp-stage>.camp-rest{width:18%;top:86%;left:50%}.camp-world-panel{isolation:isolate;box-sizing:border-box;max-width:100%;position:relative}.camp-stage>.camp-hero{width:16%;height:29%}@media (width<=600px){.camp-stage>.camp-place{min-height:40px;padding:6px;font-size:11px}.camp-stage>.camp-supplies{width:30%;top:44%;left:17%}.camp-stage>.camp-workbench{width:30%;top:44%;left:83%}.camp-stage>.camp-rest{width:36%;top:91%}.camp-stage>.camp-hero{width:24%;height:24%}}.relic-tile.relic-picture-tile>.relic-gem.has-art{aspect-ratio:auto;border-radius:0;justify-content:center;align-items:center;width:100%;height:100%;min-height:0;display:flex;overflow:hidden}.relic-tile.relic-picture-tile>.relic-gem.has-art img{object-fit:contain;border-radius:0;width:100%;max-width:100%;height:100%;max-height:100%;position:static;inset:auto;transform:none}.relic-tile.relic-picture-tile.active{border-style:solid;box-shadow:0 0 9px #ffbf4d55}.relic-tile.relic-picture-tile.active:after{content:"";pointer-events:none;background:linear-gradient(135deg,#ffd777,#0000 22%) 0 0/20px 20px no-repeat,linear-gradient(225deg,#ffd777,#0000 22%) 100% 0/20px 20px no-repeat,linear-gradient(45deg,#ffd777,#0000 22%) 0 100%/20px 20px no-repeat,linear-gradient(315deg,#ffd777,#0000 22%) 100% 100%/20px 20px no-repeat;border:2px solid #ffe1a0;border-radius:2px;position:absolute;inset:3px;box-shadow:inset 0 0 0 1px #7b4d18}.relic-tile.relic-picture-tile.inactive{box-shadow:none;border-style:solid}.relic-tile.relic-picture-tile.inactive:after{content:none}.relic-modal>header{justify-content:space-between;align-items:center;gap:12px;padding-right:28px;display:flex}.relic-modal>header h2{margin-bottom:0}.relic-modal .relic-picture-grid{box-sizing:border-box;grid-template-columns:repeat(auto-fill,minmax(min(160px,100%),1fr));gap:12px}.relic-modal .relic-tile.relic-picture-tile{background:radial-gradient(ellipse,color-mix(in srgb,var(--q) 14%,#21182c),#100c18 80%);box-shadow:none;border:0;padding:18px;overflow:visible}.relic-modal .relic-tile.relic-picture-tile:before{content:"";background:var(--art-panel-frame-talent) center / 100% 100% no-repeat;pointer-events:none;z-index:1;position:absolute;inset:0}.relic-modal .relic-tile.relic-picture-tile.active:before{filter:sepia()saturate(3)}.relic-modal .relic-tile.relic-picture-tile.active:after{content:none}.relic-modal .relic-tile.relic-picture-tile.active{box-shadow:0 0 12px #ffc85a44}.relic-modal .relic-tile.relic-picture-tile.inactive:before{opacity:.65}@media (width<=600px){.relic-modal .relic-picture-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.relic-modal .relic-tile.relic-picture-tile{padding:14px}}.camp-stage>button.camp-place:hover:not(:disabled),.camp-stage>button.camp-place:active:not(:disabled){transform:translate(-50%)}.camp-stage>.camp-upgrade-help{padding:0}.camp-upgrade-help>.btn{width:100%;min-height:44px;font-size:inherit;white-space:normal;margin:0}.camp-upgrade-help:focus-visible{outline:2px solid var(--kr-rift-cyan);outline-offset:4px;border-radius:12px}.relic-tile.relic-picture-tile.collectible-relic{box-sizing:border-box;background:radial-gradient(ellipse,color-mix(in srgb,var(--q) 14%,#21182c),#100c18 80%) center / calc(100% - 16px) calc(100% - 16px) no-repeat;border:0;grid-template-rows:minmax(0,1fr) 2em 1em;grid-template-columns:minmax(0,1fr);justify-items:stretch;gap:3px;padding:12px 12px 14px;overflow:visible}.relic-tile.relic-picture-tile.collectible-relic:before{content:"";background:var(--art-panel-frame-talent) center / 100% 100% no-repeat;pointer-events:none;z-index:1;position:absolute;inset:0}.relic-tile.relic-picture-tile.collectible-relic:after{content:none}.relic-tile.relic-picture-tile.collectible-relic{grid-template-rows:minmax(0,1fr) 3.2em;gap:0}.relic-art-stage{background:radial-gradient(ellipse at 50% 35%,color-mix(in srgb,var(--q) 58%,#17121f),color-mix(in srgb,var(--q) 35%,#100c18));justify-content:center;align-items:stretch;width:100%;min-width:0;min-height:0;display:flex;overflow:hidden}.relic-art-stage>.relic-gem{aspect-ratio:auto;background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:0;display:flex;overflow:hidden}.collectible-relic .relic-art-stage>.relic-gem>img{object-fit:contain;box-sizing:border-box;border-inline:1px solid var(--q);border-radius:0;width:auto;max-width:100%;height:100%;max-height:100%;display:block;position:static;inset:auto;transform:none}.relic-quality-band{box-sizing:border-box;background:#100d18;grid-template-rows:minmax(0,1fr) auto;align-items:center;gap:4px;width:100%;min-width:0;min-height:0;padding:6px 3px 2px;display:grid}.collectible-relic.inactive .relic-art-stage>.relic-gem{opacity:.65}.relic-quality-band>b{font-family:var(--font-title);justify-content:center;align-items:center;font-size:.78rem;line-height:1.2;display:flex;overflow:hidden}.relic-quality-band>.muted{font-size:.65rem;line-height:1.2}.relic-trade-modal .modal-body{min-height:0;overflow:auto}.relic-trade-modal{flex-direction:column;gap:10px;display:flex}.relic-trade-modal>p{margin:0}.relic-rack .relic-overflow{--q:var(--kr-rift);cursor:pointer}.feedback-tabs{gap:12px;margin:16px 0 12px;display:flex}.feedback-tabs .selected{border-bottom:2px solid var(--kr-rift);color:var(--kr-text)}.feedback-history-heading{justify-content:space-between;align-items:center;margin-top:20px;display:flex}.feedback-history article{border:1px solid var(--kr-line-2);background:var(--kr-ink-2);border-radius:8px;margin:10px 0;padding:12px}.feedback-history article header{flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:.75rem;display:flex}.feedback-history article p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0}.ticket-status{color:var(--kr-rift-cyan)}.ticket-status.status-resolved{color:var(--kr-verdant)}.ticket-reply{border-left:2px solid var(--kr-rift);padding-left:10px}.upgrade-choice-backdrop{z-index:160}.scroll-top-button{z-index:10;color:#eadbff;background:var(--art-panel-frame-talent) center / 100% 100% no-repeat,radial-gradient(ellipse,#432761,#160e24);filter:drop-shadow(0 2px 5px #0009);cursor:pointer;border:0;border-radius:5px;place-items:center;width:38px;height:38px;padding:0;transition:transform .15s,filter .15s;display:grid;position:absolute;bottom:12px;right:12px}.scroll-top-button:hover,.scroll-top-button:focus-visible{filter:brightness(1.25)drop-shadow(0 0 6px #a46bff80);transform:scale(1.08)}.modal.panel.upgrade-choice-modal{box-sizing:border-box;width:min(660px,100vw - 32px);max-height:calc(100dvh - 32px);overflow-y:auto}.upgrade-choice-modal h2{text-align:center;padding-right:20px;font-size:1.2rem}.upgrade-choice-modal .upgrade-paths{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:12px 0;display:grid}.upgrade-choice-modal .upgrade-path{text-align:center;flex-direction:column;align-items:center;gap:8px;min-width:0;display:flex}.upgrade-choice-modal .upgrade-path .card{aspect-ratio:2/3;width:min(100%,200px);height:auto}@media (width<=480px){.upgrade-choice-modal .upgrade-paths{gap:10px}.upgrade-choice-modal .upgrade-path .card{width:100%}}.relic-tile.relic-picture-tile.collectible-relic.active:before{filter:sepia()saturate(3)}.relic-tile.relic-picture-tile.collectible-relic.inactive:before{opacity:.65}.relic-tile.relic-picture-tile.collectible-relic>.relic-gem.has-art{height:calc(100% - 3px);margin-top:3px}.relic-tile.relic-picture-tile.collectible-relic>.relic-gem.has-art img{filter:drop-shadow(1px 0 #000)drop-shadow(-1px 0 #000)drop-shadow(0 1px #000)drop-shadow(0 -1px #000)}.camp-upgrade-panel{flex-direction:column;max-height:calc(100dvh - 48px);display:flex;position:relative;overflow:visible}.camp-upgrade-panel .upgrade-list{width:100%;min-height:0;padding:6px;overflow:hidden auto}.camp-upgrade-panel .deck-card-grid{grid-template-columns:repeat(auto-fill,minmax(125px,1fr))}.camp-upgrade-panel .deck-card-grid .card{aspect-ratio:2/3;width:100%;max-width:165px;height:auto}.shop .node-panel.wide{box-sizing:border-box;width:min(1180px,100%);min-width:0;max-width:100%}.shop .node-panel>.offer,.shop .hidden-shelf>.offer{box-sizing:border-box;scroll-snap-type:x proximity;overscroll-behavior-x:contain;flex-wrap:nowrap;justify-content:flex-start;align-items:start;width:100%;min-width:0;max-width:100%;padding:12px 8px 18px;overflow:auto hidden}.shop .offer>.shop-item{scroll-snap-align:start;flex:none}.shop .hidden-shelf{width:100%;min-width:0}.camp-shop-grid{scroll-snap-type:x proximity;flex-wrap:nowrap;padding:12px 8px 18px;display:flex;overflow-x:auto}.camp-shop-grid>div{scroll-snap-align:start;flex:0 0 170px}.relic-modal .relic-tile.relic-picture-tile.collectible-relic{background:radial-gradient(ellipse,color-mix(in srgb,var(--q) 14%,#21182c),#100c18 80%) center / calc(100% - 16px) calc(100% - 16px) no-repeat}.camp-stage>.camp-hero{height:calc(29% * var(--camp-scale,1));overflow:visible}.camp-stage>.camp-hero img{object-fit:contain;width:auto;max-width:none;height:100%;transform:translate(calc(-1 * var(--camp-foot-x,50%)),-99%);position:absolute;top:100%;left:50%}.camp-stage>.camp-supplies{width:19%;top:18%;left:18%}@media (width<=600px){.camp-stage>.camp-hero{height:calc(24% * var(--camp-scale,1))}.camp-stage>.camp-supplies{width:32%;top:31%;left:19%}}.social-selection{background-image:linear-gradient(90deg,#07161f70,#07161f30),var(--social-art);color:#edf9f7;background-position:50%;background-size:cover;height:100dvh;min-height:100dvh;overflow-y:auto}.social-selection-shell{box-sizing:border-box;flex-direction:column;gap:24px;width:min(1440px,100%);min-height:100%;margin:0 auto;padding:clamp(18px,3vw,44px);display:flex}.social-selection-head{text-shadow:0 2px 8px #000;max-width:850px}.social-selection-head small{color:#8fe7dd;letter-spacing:.16em;font-size:.75rem}.social-selection-head h1{margin:6px 0 12px;font-size:clamp(26px,3.5vw,44px)}.social-selection-head p{color:#e2efec;margin:0;line-height:1.6}.social-selection-layout{flex:1;grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:24px;display:grid}.social-selection-stock,.social-selection-analysis{background:linear-gradient(130deg,#0b202bef,#0b1820ef);border:1px solid #5aaea484;border-radius:12px;min-width:0;padding:20px;box-shadow:0 10px 30px #0004,inset 0 1px #90ede726}.social-selection-stock>header{justify-content:space-between;align-items:center;gap:12px;display:flex}.social-selection h2{margin:0;font-size:1.15rem}.social-selection-stock>header b{color:#99f1df;font-variant-numeric:tabular-nums;font-size:1.15rem}.social-selection-note,.social-selection-analysis>p{color:#b9cfce;margin:10px 0 18px;font-size:.85rem;line-height:1.55}.social-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.social-choice{color:#edf6f2;text-align:left;cursor:pointer;background:linear-gradient(145deg,#26363c,#10252c);border:1px solid #557573;border-radius:8px;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:14px;display:grid;position:relative}.social-choice.selected{background:linear-gradient(145deg,#24594d,#11313d);border-color:#88edda;box-shadow:inset 0 0 20px #61e1d51a,0 0 12px #61e1d529}.social-choice:disabled{opacity:.55;cursor:default}.social-choice:focus-visible{outline-offset:3px;outline:2px solid #92f9e6}.social-choice .relic-gem{width:48px;height:48px}.social-choice .relic-gem img{object-fit:contain;width:100%;height:100%}.social-choice-heading{flex-direction:column;gap:4px;min-width:0;display:flex}.social-choice-heading strong{font-family:var(--font-title);overflow-wrap:anywhere;font-size:.95rem}.social-choice-heading small{color:#b7d3d0;font-size:.7rem}.social-choice-bonus{color:#9beedc;font-size:1.1rem}.social-choice p{color:#c9dcda;grid-column:1/-1;margin:4px 0;font-size:.79rem;line-height:1.55}.social-choice-state{color:#95dfd2;grid-column:1/-1;justify-self:end;font-size:.75rem}.social-metrics{gap:8px;display:grid}.social-metrics>div{border-bottom:1px solid #718e8b44;padding:10px 0}.social-metrics>div>span{color:#c7dbd6;font-size:.8rem}.social-metrics>div>div{font-variant-numeric:tabular-nums;align-items:center;gap:10px;margin-top:6px;display:flex}.social-metrics small{color:#aabbb9;font-size:.95rem}.social-metrics strong{font-size:1.2rem}.social-metrics .improved strong,.social-metrics b{color:#97f3cc}.social-metrics b{border:1px solid #83cfad55;border-radius:20px;padding:2px 5px;font-size:.7rem}.social-metrics>div>div{min-height:30px}.social-metrics b{box-sizing:border-box;text-align:center;flex:none;min-width:2em}.social-metrics b.no-change{visibility:hidden}.social-guide{color:#c1d7d4;margin-top:18px;font-size:.8rem;line-height:1.65}.social-guide summary{cursor:pointer;color:#a5eee1}.social-guide p{margin:12px 0}.social-selection-footer{background:#0b202bf5;border:1px solid #5aaea484;border-radius:10px;justify-content:space-between;align-items:center;gap:18px;padding:14px 18px;display:flex;position:sticky;bottom:0}.social-selection-footer p{color:#c2d6d3;max-width:760px;margin:0;font-size:.78rem;line-height:1.55}.social-confirm{color:#edfff9;min-height:48px;font-family:var(--font-title);cursor:pointer;background:linear-gradient(#285e59,#153a42);border:1px solid #9eeee0;border-radius:6px;flex:none;padding:12px 24px;font-size:1rem;box-shadow:inset 0 0 15px #72e1d226}.social-confirm:focus-visible{outline-offset:3px;outline:2px solid #fff2b7}@media (width<=900px){.social-selection-layout{grid-template-columns:minmax(0,1fr);gap:14px}.social-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.social-selection-footer{flex-direction:column;align-items:stretch;gap:10px}.social-confirm{width:100%}}@media (width<=600px){.social-selection-shell{padding:calc(16px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom));gap:16px}.social-selection-stock,.social-selection-analysis{padding:14px}.social-choice-grid{grid-template-columns:minmax(0,1fr)}.social-selection-layout{flex-direction:column;display:flex}.social-selection-stock,.social-selection-analysis{box-sizing:border-box;width:100%}.social-selection-analysis{order:-1}.social-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px}.social-selection-analysis>p{margin-bottom:6px}.social-metrics>div{padding:6px 0}.social-metrics strong{font-size:1rem}.social-selection-footer{padding:12px;position:static}.social-selection-head p{font-size:.85rem}}.social-selection{scrollbar-color:#64cfc0 #10242e}.social-selection::-webkit-scrollbar-thumb{background:#64cfc0}@media (width>=901px){.social-selection{overflow:hidden}.social-selection-shell{gap:18px;height:100%;min-height:0;padding:clamp(16px,2vw,32px)}.social-selection-head{flex:none;grid-template-columns:minmax(240px,.65fr) minmax(0,1fr);align-items:center;gap:40px;max-width:none;display:grid}.social-selection-head h1{margin:6px 0 0}.social-selection-head>p{margin:0;font-size:.9rem}.social-selection-layout{flex:1 1 0;grid-template-rows:minmax(0,1fr);min-height:0}.social-selection-stock,.social-selection-analysis{box-sizing:border-box;scrollbar-color:#64cfc0 #10242e;min-height:0;max-height:100%;overflow-y:auto}.social-selection-footer{flex:none;padding:12px 16px;position:static}}@media (width>=1400px){.social-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width>=901px) and (height<=850px){.social-selection-shell{gap:12px;padding:16px 24px}.social-selection-head{gap:24px}.social-selection-head h1{font-size:30px}.social-selection-stock,.social-selection-analysis{padding:16px}.social-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px}.social-metrics>div{padding:7px 0}.social-metrics>div>div{gap:6px}.social-metrics strong{font-size:1.05rem}.social-selection-analysis>p{margin:8px 0 10px;font-size:.8rem}.social-guide{margin-top:12px}.social-selection-footer p{max-width:none}}.node-screen.scout{place-items:start center}.node-screen.scout.has-art{background:radial-gradient(ellipse at center, #0b091473 0%, #0b0914e6 75%), var(--node-art) center / cover no-repeat, var(--kr-void)}.node-panel.wide.scout-panel{text-align:left;justify-items:stretch;gap:28px;width:min(1180px,100%);min-width:0;max-width:100%}.scout-head{text-align:left;border-bottom:1px solid var(--kr-line);gap:8px;padding-bottom:20px;display:grid}.scout-head h1{margin:0}.scout-foe-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px;display:grid}.scout-foe{text-align:left;color:inherit;font:inherit;background:radial-gradient(ellipse at 12% 60%, #a46bff21, transparent 60%), var(--kr-ink-2);border:1px solid var(--kr-line-2);cursor:pointer;border-radius:10px;grid-template-columns:minmax(90px,.7fr) minmax(0,1fr);align-items:center;gap:20px;padding:20px;display:grid}.scout-foe:hover,.scout-foe:focus-visible{border-color:var(--kr-ember)}.scout-foe-art{place-items:center;width:100%;height:210px;display:grid;overflow:hidden}.scout-foe-art img{object-fit:contain;filter:drop-shadow(0 12px 12px #0008);width:100%;max-width:100%;height:100%;max-height:100%}.scout-foe-name{font-family:var(--font-title);font-size:1.35rem;line-height:1.15}.scout-foe-numbers{grid-template-columns:1fr 1fr;gap:16px;margin:6px 0;display:grid}.scout-foe-numbers>span{gap:4px;display:grid}.scout-foe-numbers small{color:var(--kr-muted);font-size:.7rem}.scout-foe-numbers strong{color:var(--kr-ember);font-size:1.35rem}.scout-profile-link{border-top:1px solid var(--kr-line);color:var(--kr-rift-cyan);justify-content:space-between;gap:8px;margin-top:8px;padding-top:12px;font-size:.75rem;display:flex}.scout-help{margin:16px 0 0;line-height:1.7}.scout-party>h3,.scout-foes>h3{margin-bottom:14px}.scout-controls select{color:var(--kr-text);background:var(--kr-ink);border:1px solid var(--kr-line-2);font:inherit;border-radius:6px;padding:7px 10px;font-size:.8rem}.scout-slot .scout-controls{flex:none;grid-template-columns:32px 32px 130px 140px 80px;align-items:center;gap:8px;display:grid}.scout-controls>.btn{width:100%;min-width:0;padding:6px;font-size:.8rem}.scout-controls select{width:100%;min-width:0}.scout-leader-label{text-align:center;color:#e9ae54;font-family:var(--font-title);font-size:.8rem}.scout-style-placeholder{width:140px}.scout-bench-hero{position:relative;overflow:hidden}.scout-bench-hero .scout-grade{background:#281e38e8;border-radius:4px 0 0;padding:2px 8px;font-size:.65rem;position:absolute;top:auto;bottom:0;right:0}@media (width<=1100px){.scout-slot .scout-controls{grid-template-columns:28px 28px 105px 120px 65px;gap:4px}.scout-style-placeholder{width:120px}}@media (width<=700px){.scout-slot .scout-controls{grid-template-columns:28px 28px minmax(70px,1fr) minmax(90px,1fr) 60px;width:100%}.scout-style-placeholder{width:100%}}.scout-foe-body,.scout-hero{gap:3px;min-width:0;display:grid}.scout-glyph{background:var(--kr-ink-3);border-radius:50%;place-items:center;width:48px;height:48px;font-weight:700;display:grid}.scout-chips,.scout-match{flex-wrap:wrap;gap:4px;display:flex}.scout-chip{border:1px solid var(--kr-line-2);white-space:nowrap;border-radius:999px;padding:1px 7px;font-size:.72rem}.scout-chip.good{border-color:var(--kr-necro);color:var(--kr-necro)}.scout-chip.mixed{border-color:var(--kr-ember);color:var(--kr-ember)}.scout-chip.poor{border-color:var(--kr-blood);color:var(--kr-blood)}.scout-slots{gap:10px;margin:0;padding:0;list-style:none;display:grid}.scout-slot{background:var(--kr-ink-2);border:1px solid var(--kr-line);cursor:pointer;border-radius:10px;grid-template-columns:auto 40px minmax(120px,1fr) minmax(120px,1fr) auto;align-items:center;gap:10px;padding:14px;display:grid}.scout-slot.selected{border-color:var(--kr-rift-cyan);box-shadow:0 0 0 1px var(--kr-rift-cyan) inset}.scout-slot.fallen,.scout-bench-hero.fallen{opacity:.6}.scout-face{object-fit:cover;object-position:top;border-radius:50%;width:40px;height:40px}.scout-controls{flex-wrap:wrap;justify-content:end;align-items:center;gap:4px;display:inline-flex}.scout-controls .btn{min-width:0;height:28px;padding:0 8px}.scout-hp{align-items:center;gap:6px;display:flex}.scout-hp-bar{background:var(--kr-ink-3);border-radius:3px;flex:1;min-width:60px;max-width:120px;height:6px;overflow:hidden}.scout-hp-bar span{background:var(--kr-necro);height:100%;display:block}.scout-reserve-list{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:6px;display:grid}.scout-reserve{border-top:1px solid var(--kr-line);margin-top:24px;padding-top:20px}.scout-bench-hero{text-align:left;color:inherit;font:inherit;background:var(--kr-ink-2);border:1px dashed var(--kr-line-2);cursor:pointer;border-radius:10px;grid-template-columns:40px 1fr auto;align-items:center;gap:8px;padding:6px 8px;display:grid}.scout-bench-hero:disabled{cursor:not-allowed;opacity:.5}.scout-grade{font-size:.72rem}.scout-grade.good{color:var(--kr-necro)}.scout-grade.mixed{color:var(--kr-ember)}.scout-grade.poor{color:var(--kr-blood)}.scout-go{justify-self:center;min-width:220px}@media (width<=760px){.node-panel.wide.scout-panel{padding:16px}.scout-slot{grid-template-columns:auto 40px 1fr}.scout-foe{gap:14px;padding:14px}.scout-foe-art{height:180px}.scout-match,.scout-controls{grid-column:1/-1;justify-content:start}}.scout-inspect .modal-backdrop{z-index:60;position:fixed}@media (width<=600px){.node-screen.scout{height:100dvh;padding:8px}.node-panel.wide.scout-panel{border-width:10px;gap:20px;width:100%;max-width:100%;padding:12px}.scout-panel>section,.scout-head{min-width:0}.scout-head h1{overflow-wrap:anywhere;font-size:1.4rem}.scout-head p{line-height:1.6}.scout-foe-list{grid-template-columns:minmax(0,1fr)}.scout-foe{grid-template-columns:76px minmax(0,1fr);gap:12px;padding:12px}.scout-foe-art{height:140px}.scout-foe-name{overflow-wrap:anywhere;font-size:1.1rem}.scout-foe .profile-eyebrow{letter-spacing:.06em;font-size:.6rem}.scout-foe-numbers{gap:8px}.scout-slot{grid-template-columns:40px minmax(0,1fr);gap:10px;padding:12px}.scout-slot>.row-tag{grid-column:1/-1;justify-self:start}.scout-slot .scout-hero{overflow-wrap:anywhere}.scout-controls{gap:8px;width:100%}.scout-controls .btn,.scout-controls select{height:auto;min-height:44px}.scout-controls .btn{min-width:44px}.scout-reserve-list{grid-template-columns:minmax(0,1fr)}.scout-go{width:100%;min-width:0;min-height:48px}}.node-panel.wide.scout-panel{gap:18px}.scout-head{grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding-bottom:12px}.scout-head>.muted{grid-column:1/-1}.scout-head h1{font-size:clamp(1.2rem,2.5vw,1.85rem)}.scout-foe-list{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}.scout-foe{grid-template-columns:86px minmax(0,1fr);gap:14px;padding:12px}.scout-foe-art{height:112px}.scout-foe .scout-foe-body{gap:5px}.scout-foe-name{font-size:1.1rem}.scout-foe-numbers{gap:22px;margin:2px 0;display:flex}.scout-foe-numbers>span{align-items:baseline;gap:6px;display:flex}.scout-foe-numbers strong{font-size:1rem}.scout-profile-link{margin-top:0;padding-top:5px}@media (width<=600px){.scout-foe{grid-template-columns:64px minmax(0,1fr);gap:10px}.scout-foe-art{height:100px}.scout-foe .profile-eyebrow{font-size:.65rem}}.scout-head{grid-template-columns:minmax(0,1fr);padding-right:270px;position:relative}.scout-head-actions{align-items:center;gap:12px;display:flex;position:absolute;top:0;right:0}.scout-head .scout-gear{width:220px;max-width:100%}@media (width<=600px){.scout-head{padding-top:54px;padding-right:0}.scout-head .scout-gear{width:180px}}.scout-slot{position:relative}.formation-grip{color:var(--kr-muted);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;font-size:16px;position:absolute;top:50%;left:5px;transform:translateY(-50%)}.scout-slot.formation-dragging{opacity:.6;cursor:grabbing}.scout-slot.formation-drop{border-color:var(--kr-rift-cyan);box-shadow:inset 0 0 0 1px var(--kr-rift-cyan),0 0 14px #6fd3ff30}.scout-reserve>h3{align-items:center;gap:6px;margin-bottom:12px;display:flex}.scout-slot[data-formation-hero]{touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab}.scout-slot[data-formation-hero] img{-webkit-user-drag:none;-webkit-user-select:none;user-select:none;pointer-events:none}.scout-slot[data-formation-hero].formation-dragging{cursor:grabbing}@media (width<=700px){.scout-slot .scout-controls{grid-template-columns:30px 30px minmax(0,1fr) minmax(0,1.2fr) 56px;gap:4px;width:100%}.scout-slot .scout-controls>.btn{min-width:0;max-width:100%;padding:4px;font-size:.65rem}.scout-controls select{width:100%;min-width:0;font-size:.7rem}.scout-controls .scout-style-placeholder{width:auto}.scout-leader-label{font-size:.65rem}}.scout-bench-hero{grid-template-columns:40px minmax(0,1fr);padding-bottom:24px}.scout-bench-hero .scout-hero{min-width:0}.defeat-rescue{box-sizing:border-box;color:#e3f5f0;background-position:50%;background-size:cover;align-items:center;min-height:100dvh;padding:clamp(24px,5vw,72px);display:grid}.rescue-sanctum{box-sizing:border-box;background:linear-gradient(120deg,#0b1c23ec,#10252cbb);border:1px solid #6fb6af80;width:min(680px,100%);padding:clamp(20px,3vw,36px);box-shadow:0 0 35px #46d6c31a}.rescue-sanctum h1{font-family:var(--font-title);margin:12px 0;font-size:clamp(28px,4vw,46px)}.rescue-sanctum>small{color:#80e5db;letter-spacing:.12em;text-transform:uppercase}.rescue-sanctum p{line-height:1.6}.rescue-sanctum hr{border:0;border-top:1px solid #639a9699;margin:22px 0}.rescue-scroll{float:right;width:100px;height:100px;margin:0 0 14px 20px}.rescue-scroll img{object-fit:contain;width:100%;height:100%}.rescue-heroes{gap:12px;display:grid}.rescue-heroes button{color:#e3f5f0;font:inherit;text-align:left;cursor:pointer;background:#0e242be8;border:1px solid #527b79;grid-template-columns:70px minmax(0,1fr) auto;align-items:center;gap:16px;padding:10px;display:grid}.rescue-heroes button:hover,.rescue-heroes button:focus-visible{border-color:#8cf4e3;outline:none;box-shadow:0 0 20px #51e3cf66}.rescue-heroes img{object-fit:contain;width:70px;height:76px}.rescue-heroes span{gap:7px;display:grid}.rescue-heroes small,.rescue-rule{color:#a4c3c3}.rescue-heroes b{color:#8cf4e3;font-size:.8rem}.rescue-end{margin-top:12px}@media (width>=601px) and (height<=800px){.defeat-rescue{padding:20px}.rescue-sanctum{padding:24px}.rescue-sanctum h1{font-size:36px}.rescue-sanctum p{font-size:.9rem}.rescue-scroll{width:80px;height:80px}}@media (width<=600px){.defeat-rescue{background-position:65%;padding:16px}.rescue-scroll{width:70px;height:70px}.rescue-heroes button{grid-template-columns:56px minmax(0,1fr);gap:10px}.rescue-heroes img{width:56px}.rescue-heroes b{grid-column:2}}:root{--kr-void:#0b0914;--kr-ink:#15111f;--kr-ink-2:#1f1830;--kr-ink-3:#2a2140;--kr-line:#3b2f55;--kr-line-2:#54457a;--kr-parchment:#e9dcc3;--kr-parchment-2:#d9c9a8;--kr-text:#f1ebff;--kr-muted:#9a8fb5;--kr-rift:#a46bff;--kr-rift-cyan:#6fd3ff;--kr-necro:#7df2a6;--kr-ember:#ffb347;--kr-blood:#e24b5a;--kr-invader:#d6c21f;--kr-invader-2:#0ff0ff;--font-title:"Cinzel", "Times New Roman", serif;--font-ui:"Nunito", system-ui, sans-serif;--radius:10px;--shadow:0 10px 30px #00000073;--ease:.18s cubic-bezier(.2, .8, .2, 1);color:var(--kr-text);background:var(--kr-void);font-family:var(--font-ui);font-variant-numeric:tabular-nums}*{box-sizing:border-box}html,body,#root{height:100%}body{background:var(--kr-void);margin:0;overflow:hidden}h1,h2,h3{font-family:var(--font-title);letter-spacing:.04em;margin:0;font-weight:700}button{font:inherit;color:inherit;cursor:pointer}.muted{color:var(--kr-muted)}.small{font-size:.85rem}.panel{background:var(--kr-ink);border:2px solid var(--kr-line);border-radius:var(--radius);box-shadow:var(--shadow);position:relative}.panel:before,.panel:after{content:"";border:2px solid var(--kr-rift);opacity:.7;pointer-events:none;width:10px;height:10px;position:absolute}.panel:before{border-top-left-radius:var(--radius);border-bottom:0;border-right:0;top:-2px;left:-2px}.panel:after{border-bottom-right-radius:var(--radius);border-top:0;border-left:0;bottom:-2px;right:-2px}.btn{background:var(--kr-ink-2);border:2px solid var(--kr-line-2);font-family:var(--font-title);letter-spacing:.06em;text-transform:uppercase;transition:transform var(--ease), border-color var(--ease), box-shadow var(--ease);border-radius:8px;padding:10px 18px;font-size:.95rem}.btn:hover:not(:disabled){border-color:var(--kr-rift-cyan);transform:translateY(-2px);box-shadow:0 0 16px #6fd3ff59}.btn:disabled{opacity:.4;cursor:default}.btn.primary{border-color:var(--kr-rift);background:linear-gradient(#4a2d85,#2b1a52)}.btn.primary:hover:not(:disabled){box-shadow:0 0 20px #a46bff80}.hp{background:#2a1c24;border:1px solid #3f2a35;border-radius:999px;height:10px;position:relative;overflow:hidden}.hp>i{background:linear-gradient(90deg,#c23b4b,#e86b6b);height:100%;transition:width .35s ease-out;display:block}@keyframes kr-float{0%{opacity:0;transform:translate(-50%)scale(.8)}15%{opacity:1;transform:translate(-50%,-10px)scale(1.15)}to{opacity:0;transform:translate(-50%,-70px)scale(1)}}@keyframes kr-shake{0%,to{transform:translate(0)}25%{transform:translate(-4px,2px)}50%{transform:translate(4px,-2px)}75%{transform:translate(-2px,-1px)}}@keyframes kr-breathe{0%,to{transform:translateY(0)scale(1)}50%{transform:translateY(-4px)scale(1.01)}}@keyframes kr-pulse{0%,to{box-shadow:0 0 #a46bff99}50%{box-shadow:0 0 0 10px #a46bff00}}@media (prefers-reduced-motion:reduce){*{transition-duration:.01ms!important;animation-duration:.01ms!important}}.result-screen{background:radial-gradient(ellipse at center, #241a3d 0%, var(--kr-void) 65%);place-items:center;height:100vh;display:grid}.result{text-align:center;min-width:420px;padding:36px 48px}.result h1{background:linear-gradient(180deg, #fff, var(--kr-rift-cyan));color:#0000;-webkit-background-clip:text;background-clip:text;margin-bottom:8px;font-size:2.6rem}.result-actions{justify-content:center;gap:10px;margin-top:22px;display:flex}.node-screen.leaderboard-screen{box-sizing:border-box;height:100dvh;min-height:0;padding:24px;overflow:hidden}.node-panel.wide.leaderboard{box-sizing:border-box;flex-direction:column;width:min(1100px,100%);min-width:0;max-width:100%;max-height:calc(100dvh - 48px);padding:28px 36px;display:flex;position:relative;overflow:visible}.leaderboard-body{width:100%;min-width:0;min-height:0;overflow:hidden auto}.leaderboard-body>h1{margin:0 32px 24px}.leaderboard-body>p{margin:0 0 24px}.leaderboard .board-counts{width:min(100%,670px);margin:24px auto}.leaderboard .board-table{width:100%;min-width:0}@media (width<=600px){.node-screen.leaderboard-screen{padding:16px}.node-panel.wide.leaderboard{max-height:calc(100dvh - 32px);padding:20px 12px}.leaderboard-body>h1{font-size:1.5rem}}.board-counts{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0;display:grid}.board-counts>div{background:#21182f;border:1px solid #51406d;border-radius:10px;gap:8px;padding:16px;display:grid}.board-counts strong{color:#ffc34b;font-size:2rem}.board-counts span{color:var(--muted);font-size:.85rem}.board-table{overflow-x:auto}.board-table table{border-collapse:collapse;width:100%}.board-table th,.board-table td{text-align:left;border-bottom:1px solid #3a2c50;padding:12px 8px}.board-table td small{color:#ab9cc0;margin-top:4px;font-size:.75rem;display:block}@media (width<=520px){.board-counts{gap:6px}.board-counts>div{padding:10px 6px}.board-counts strong{font-size:1.5rem}.board-table th,.board-table td{padding:9px 5px;font-size:.8rem}}.battle-log-toggle{display:none}.log .line[data-hint]{cursor:help;-webkit-touch-callout:none}.log .line[data-hint]:hover,.log .line[data-hint]:focus-visible{background:#ffffff0a;outline:1px solid #a66bff55}:fullscreen{background:#130f20}.fullscreen-toggle{color:#c8b8df;cursor:pointer;background:linear-gradient(#281d35,#15101f);border:2px solid #6f587f;border-radius:5px;flex:0 0 38px;place-items:center;width:38px;height:38px;padding:0;transition:transform .15s,color .15s,box-shadow .15s;display:grid;position:static;box-shadow:inset 0 0 0 2px #100b18}.fullscreen-toggle:hover,.fullscreen-toggle:focus-visible{color:#fff;transform:scale(1.08);box-shadow:0 0 12px #a46bff66,inset 0 0 0 2px #100b18}@media (width<=1100px),(pointer:coarse){.battle-log-toggle{display:inline-flex}}.card{background:var(--art-card-frame-common,url(/art/web/card-frame-common.webp)) center / 100% 100% no-repeat;filter:drop-shadow(0 6px 10px #0000008c);border:none;border-radius:0;width:168px;height:252px;padding:0;display:block;container-type:size}.card.fixed{background:var(--art-card-frame-common,url(/art/web/card-frame-common.webp)) center / 100% 100% no-repeat;filter:drop-shadow(0 6px 10px #0000008c)saturate(.75)}.card.rarity-uncommon:not(.fixed){background-image:var(--art-card-frame-uncommon,url(/art/web/card-frame-uncommon.webp))}.card.rarity-rare:not(.fixed){background-image:var(--art-card-frame-rare,url(/art/web/card-frame-rare.webp));box-shadow:none}.card.selected{box-shadow:none;filter:drop-shadow(0 0 14px #6fd3ffd9)}.card:hover:not(:disabled){transform:translateY(-6px)}.card-cost{aspect-ratio:1;width:19%;height:auto;box-shadow:none;color:#fff;text-shadow:0 0 6px var(--kr-rift), 0 0 2px #000;background:0 0;place-items:center;font-size:11cqw;line-height:1;display:grid;top:5%;left:4.4%}.card-name{color:#2a1f38;text-align:center;white-space:nowrap;text-overflow:ellipsis;place-items:center;height:8.6%;margin:0;font-size:7.2cqw;display:grid;position:absolute;top:9.6%;left:27%;right:15%;overflow:hidden}.card.upgraded .card-name{color:#1f6b3d}.card-art{background:radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%);border:none;border-radius:12px;position:absolute;inset:20% 14% 38% 16%}.card-glyph{filter:drop-shadow(0 0 8px var(--accent));font-size:22cqw}.card-type{text-align:center;text-shadow:0 1px 2px #000;font-size:5.2cqw;position:absolute;top:55.5%;left:16%;right:14%}.card-text{color:#2a1f38;font-size:6.6cqw;font-weight:700;line-height:1.15;position:absolute;inset:66.5% 16% 20% 17%;overflow:hidden}.card-preview{color:#5a2c14;font-size:5.6cqw;line-height:1.1;position:absolute;top:80%;left:17%;right:16%}.card-preview .muted{color:#6b5a48}.card.upgraded:after{border-radius:12px;inset:6% 7%}@media (width<=1100px){.card{width:132px;height:198px}}.node-panel,.modal.panel,.result.panel{--panel-frame-width:22px;border:22px solid #0000;border-image:var(--art-panel-frame,url(/art/web/panel-frame.webp)) 92 round;background-clip:padding-box}.btn.primary{border:12px solid #0000;border-image:var(--art-button-primary,url(/art/web/button-primary.webp)) 60 110 fill / 12px 30px round stretch;text-shadow:0 0 6px #000c;background:0 0;padding:6px 22px}.btn.primary:disabled{filter:grayscale(.8)}.title-screen{background:linear-gradient(180deg, #0b091440, #0b0914bf), var(--art-bg-title,url(/art/web/bg-title.webp)) center / cover no-repeat, var(--kr-void)}.map-screen{background:linear-gradient(180deg, #0b091466, #0b091499), var(--art-bg-map,url(/art/web/bg-map.webp)) center / cover no-repeat, var(--kr-void)}.map-svg .node image{pointer-events:none;filter:drop-shadow(0 2px 4px #0009)}.map-svg .node.has-icon circle{fill:#0b091459;stroke-width:0}.map-svg .node.has-icon.reachable circle{stroke-width:3px}.map-svg .node.has-icon:not(.reachable):not(.visited):not(.here) image{opacity:.55}.legend-icon{vertical-align:middle;width:22px;height:22px}.battle.has-art .parallax .far{background:linear-gradient(180deg, #0b091440 0%, #0b091400 30%, #0b091400 75%, #0b091459 100%), var(--battle-art) center / cover no-repeat}.battle.has-art .parallax .near{display:none}.node-screen.rest.has-art,.node-screen.shop.has-art,.node-screen.event.has-art{background:radial-gradient(ellipse at center, #0b091459 0%, #0b0914d9 75%), var(--node-art) center / cover no-repeat, var(--kr-void)}.settings-panel{gap:12px;max-width:720px;padding:20px 24px;display:grid}.settings-panel h3{color:var(--kr-rift);margin:8px 0 0}.setting-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.setting-row>span:first-child{min-width:160px}.setting-row input[type=range]{min-width:160px;accent-color:var(--kr-rift);flex:1}.setting-value{text-align:right;width:48px}.btn.danger{border-color:var(--kr-blood);color:var(--kr-blood)}html.reduced-motion *,html.reduced-motion :before,html.reduced-motion :after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.crit-flash{z-index:5;pointer-events:none;background:radial-gradient(circle at 50% 45%,#ffb34773,#0000 60%);animation:.26s ease-out forwards crit-flash;position:absolute;inset:0}@keyframes crit-flash{0%{opacity:1}to{opacity:0}}html.reduced-motion .crit-flash{display:none}.battle.slowmo .sprite.enemy.dead{filter:grayscale()brightness(.6);transition:filter .9s ease-out,opacity .9s ease-out,transform .9s ease-out;transform:scale(.94)}.battle.slowmo{animation:.9s ease-out both slowmo-dim}@keyframes slowmo-dim{50%{filter:saturate(.4)brightness(.85)}to{filter:none}}.title-logo{animation:4s ease-in-out infinite logo-glow}.node-screen.act-card.has-art{background:radial-gradient(ellipse at center, #0b091433 0%, #0b0914d9 80%), var(--node-art) center / cover no-repeat, var(--kr-void);animation:14s ease-in-out infinite alternate act-drift}@keyframes act-drift{0%{background-position:50%,48%,50%}to{background-position:50%,52% 48%,50%}}.card-glyph .icon{width:30cqw;height:30cqw;color:var(--accent)}img.figure-crop{object-fit:cover;object-position:50% 12%}.sprite .figure img.full-figure{object-fit:contain;object-position:50% 100%;filter:drop-shadow(0 6px 8px #0009);background:0 0;border:none;border-radius:0;width:100%;height:100%}.scene-speaker img.scene-figure{box-shadow:none;object-fit:contain;object-position:50% 100%;filter:drop-shadow(0 0 30px #a46bff59);border:none}.enemy-entry .enemy-art{object-fit:contain;height:96px}.icon-btn{min-width:38px;padding:6px 10px;font-size:1.05rem;line-height:1}.icon-btn.off{color:var(--kr-muted);text-decoration:line-through}.title-system{gap:8px;display:flex;position:absolute;top:16px;right:16px}.title-screen{position:relative}.scene-top{z-index:2;gap:8px;display:flex;position:absolute;top:16px;right:16px}.modal{box-sizing:border-box;flex-direction:column;height:min(620px,84vh);max-height:none;display:flex;position:relative;overflow:visible}.modal>header,.modal>nav{flex:none}.modal-body{flex:auto;min-height:0;padding-right:6px;overflow:hidden auto}.modal header{grid-template-columns:1fr;padding-right:44px}.modal-backdrop.fixed{z-index:60;position:fixed}.settings-modal{width:min(640px,94vw)}.settings-body{gap:12px;display:grid}.settings-body h3{color:var(--kr-rift);margin:8px 0 0}.close-x{top:calc(-1 * var(--panel-frame-width,22px));right:calc(-1 * var(--panel-frame-width,22px));z-index:3;border:2px solid var(--kr-line);background:radial-gradient(circle at 50% 40%, #2a1f42, var(--kr-ink));width:44px;height:44px;color:var(--kr-rift);transition:transform var(--ease), box-shadow var(--ease);border-radius:50%;place-items:center;font-size:1.1rem;font-weight:900;display:grid;position:absolute;box-shadow:0 0 10px #a46bff59}.close-x:hover{color:#fff;box-shadow:0 0 18px #a46bffd9,0 0 4px #6fd3ffe6}.close-x.has-art:hover{box-shadow:none;filter:drop-shadow(0 0 10px #a46bffe6)brightness(1.15)}.close-x.has-art{box-shadow:none;background:0 0;border:none;padding:0}.close-x.has-art img{width:calc(var(--panel-frame-width,22px) * 1.32);height:calc(var(--panel-frame-width,22px) * 1.32);min-width:30.8px;min-height:30.8px;transition:transform var(--ease);position:absolute;top:0;right:0}.close-x.has-art:hover img{transform:scale(1.12)rotate(90deg)}@supports ((-moz-appearance:none)){*{scrollbar-width:thin;scrollbar-color:var(--kr-rift) transparent}}::-webkit-scrollbar-button{width:0;height:0;display:none}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:linear-gradient(180deg, var(--kr-rift), #6b3fb8);background-clip:padding-box;border:2px solid #0000;border-radius:8px}::-webkit-scrollbar-corner{background:0 0}.btn{position:relative;overflow:hidden}.btn:after{content:"";pointer-events:none;background:linear-gradient(110deg,#0000 30%,#ffffff2e 48%,#a46bff40 52%,#0000 70%);position:absolute;inset:-2px;transform:translate(-120%)}.btn:hover:not(:disabled):after{animation:.7s ease-out btn-shimmer}@keyframes btn-shimmer{to{transform:translate(120%)}}.btn:hover:not(:disabled){text-shadow:0 0 8px #a46bffcc}.btn.primary:hover:not(:disabled){filter:brightness(1.15)drop-shadow(0 0 10px #a46bffb3);box-shadow:none}.icon-btn:hover:not(:disabled){color:#fff;box-shadow:0 0 14px #a46bff99,inset 0 0 8px #a46bff66}.card:hover:not(:disabled){filter:drop-shadow(0 0 12px color-mix(in srgb, var(--accent) 70%, transparent)) drop-shadow(0 6px 10px #0000008c)}.tile:hover{box-shadow:0 0 16px #a46bff73}.relic-tile:hover:not(:disabled){filter:brightness(1.1)}.card-uses{letter-spacing:.1em;color:var(--kr-ember);text-shadow:0 0 4px #000000e6;font-size:6cqw;position:absolute;top:50.5%;right:16%}.chip-uses{color:var(--kr-muted);font-weight:400}.battle.has-art .battle-bottom{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:linear-gradient(#15111f59,#15111fd1)}.battle.has-art .battle-top{background:linear-gradient(#15111fd9,#15111f66)}.scene{align-items:end;padding-bottom:1.5vh;position:relative}.party-side{grid-template-rows:auto;grid-template-columns:repeat(4,auto);grid-auto-flow:row;justify-content:start;align-items:end;gap:0 4px;display:grid}.party-side .sprite.front,.party-side .sprite.back{grid-row:1}.party-side .sprite.back{z-index:0;opacity:1;transform:translateY(-3vh)scale(.88)}.party-side .sprite.front{z-index:1}.party-side .sprite{width:clamp(110px,15vh,160px)}.sprite .ring{z-index:-1;width:80%;height:18px;margin:-12px auto 2px;position:relative}.turn-banner{z-index:4;font-family:var(--font-title);letter-spacing:.05em;border:2px solid var(--turn,var(--kr-line));color:var(--turn,var(--kr-text));box-shadow:0 0 16px color-mix(in srgb, var(--turn,transparent) 45%, transparent);pointer-events:none;background:#15111fd9;border-radius:999px;padding:6px 18px;font-weight:700;animation:.26s ease-out both banner-in;position:absolute;top:10px;left:50%;transform:translate(-50%)}.turn-banner.party{--turn:#5fe08a}.turn-banner.enemy{--turn:var(--kr-blood)}@keyframes banner-in{0%{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%)}}.sprite.party{--turn:#5fe08a}.sprite.enemy{--turn:var(--kr-blood)}.sprite.active .ring{background:radial-gradient(ellipse, color-mix(in srgb, var(--turn) 75%, transparent), transparent 70%);box-shadow:0 0 22px color-mix(in srgb, var(--turn) 60%, transparent);animation:1.2s ease-in-out infinite turn-ring}.sprite.active .figure{filter:drop-shadow(0 0 10px color-mix(in srgb, var(--turn) 70%, transparent))}.sprite.active .nameplate span:first-child{color:var(--turn);text-shadow:0 0 8px color-mix(in srgb, var(--turn) 60%, transparent)}@keyframes turn-ring{50%{opacity:.75;transform:scale(1.15)}}.hp>i{background:linear-gradient(90deg,#2f9e5b,#5fe08a)}.hp.enemy>i{background:linear-gradient(90deg,#a52a3a,#e2505e)}html,body,#root{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;cursor:default}img,svg,a{-webkit-user-drag:none;user-drag:none}button,.node,.sprite,.tile,.card,.chip,label,input[type=range],input[type=checkbox]{cursor:pointer}button:disabled,.card:disabled{cursor:default}input[type=text],textarea{-webkit-user-select:text;user-select:text;cursor:text}.battle{grid-template-rows:auto minmax(0,1fr) clamp(210px,34vh,300px);height:100dvh}.battle-bottom{grid-template-columns:minmax(120px,170px) minmax(0,1fr) minmax(190px,300px);min-height:0}.battle-bottom>*{min-width:0;min-height:0}.right-col{grid-template-rows:minmax(0,1fr) auto;min-height:0}.log{min-height:0}.hand{gap:6px;min-width:0}.hand-slot{flex:0 168px;min-width:0}.hand .card{aspect-ratio:2/3;width:100%;max-width:min(168px,21vh);height:auto}.battle-top{flex-wrap:wrap;row-gap:6px}.map-top{flex-wrap:wrap;row-gap:8px}.map-actions{flex-wrap:wrap}.title-screen{height:auto;min-height:100dvh;padding:24px 16px;overflow-y:auto}.title-logo{width:min(320px,60vw,36vh)}.node-panel{min-width:min(560px,100%)}.node-panel.wide{min-width:min(900px,100%)}.node-screen{padding:16px}@media (width<=760px){.battle{grid-template-rows:auto minmax(0,1fr) auto}.battle-bottom{grid-template-columns:1fr;padding:8px}.log{display:none}.right-col{grid-template-rows:auto}.hand .card{max-width:112px}.offer{flex-wrap:wrap;justify-content:center}}.side{min-height:min(340px,45vh)}.sprite .figure{width:clamp(64px,12.5vh,130px);height:clamp(72px,14vh,150px)}.sprite.size-small .figure{width:clamp(54px,10vh,90px);height:clamp(60px,11vh,100px)}.sprite.size-large .figure{width:clamp(100px,21vh,180px);height:clamp(120px,26vh,230px)}.sprite.enemy .figure:has(img.full-figure){transform:none}.scene{padding:0;display:block;position:relative}.scene .side{min-height:0;display:block;position:absolute;inset:0}.scene .side .sprite{left:calc(var(--x,50) * 1%);bottom:max(var(--ground-clearance,58px), calc(100dvh - (var(--gF) * 100dvh + (var(--line) - var(--gF)) * max(100dvh, 66.667vw)) - clamp(210px, 34vh, 300px) + var(--dy,0) * 1vh));z-index:var(--z,1);transform:translateX(-50%) scale(var(--s,1));transform-origin:50% 100%;position:absolute}.scene .side .sprite.targetable:hover,.scene .side .sprite.drop-over{transform:translateX(-50%) scale(calc(var(--s,1) * 1.06))}.sprite.drop-over .figure{filter:drop-shadow(0 0 14px var(--kr-blood)) brightness(1.15)}.hand .card{touch-action:none}.drag-ghost{z-index:70;pointer-events:none;transform-origin:50% 100%;width:150px;transform:translate(-50%, -100%) rotate(-4deg) scale(var(--ghost-scale,.95));filter:drop-shadow(0 12px 18px #0009);transition:transform .22s cubic-bezier(.22,1,.36,1),filter .22s ease-out;position:fixed}.drag-ghost.on-target{transform:translate(-50%, calc(-100% - 18px)) rotate(0deg) scale(var(--ghost-scale));filter:drop-shadow(0 0 14px var(--kr-blood))}.drag-ghost .card{width:150px;max-width:none;height:225px}.scene.dragging{cursor:grabbing}.modal-backdrop{z-index:100}.scene .side .sprite.back{flex-direction:column;display:flex}.scene .side .sprite.back .nameplate{order:-1;margin:0 0 4px}.scene .side .sprite.back .intent{top:-78px}.scene .side .sprite.back .thought{top:-96px}.battle.has-art .parallax .far{background-position:center, center calc(var(--gF) * 100%);inset:0}.scene .side .sprite.front .nameplate{position:absolute;top:100%;left:0;right:0}.battle.compact-ground{--ground-clearance:8px;--ground-lift:max(0px,calc(clamp(210px,34vh,300px) - (1 - var(--gF)) * 100dvh + 8px))}.battle.compact-ground .parallax .far{background-position:center,center calc(var(--gF) * 100% - var(--ground-lift))}.battle.compact-ground .scene .sprite.front .nameplate{margin-bottom:4px;top:auto;bottom:100%}.battle.compact-ground .scene .sprite.front .intent{top:-78px}.battle.compact-ground .scene .sprite.front .thought{top:-96px}@media (width<=600px) and (orientation:portrait){.battle.compact-ground{--ground-lift:calc((var(--gF) - .605) * 100dvh)}.battle.compact-ground .scene .side .sprite.back{bottom:calc(clamp(92px,12vh,112px) + clamp(40px,6vh,60px) + var(--dy,0) * .6vh)}}.battle-bottom.hud{grid-template-columns:minmax(190px,230px) minmax(0,1fr) minmax(220px,300px);align-items:stretch;gap:16px;padding:10px 16px 12px}.hud-left{border:1px solid var(--kr-line);background:linear-gradient(#1f1830eb,#15111feb);border-radius:14px;grid-template-rows:auto auto auto auto 1fr;gap:10px;min-height:0;padding:12px 14px;display:grid;overflow:hidden;box-shadow:inset 0 0 0 1px #a46bff1f,0 6px 18px #0006}.hud-leader{grid-template-columns:44px 1fr;align-items:center;gap:10px;display:grid}.hud-leader .portrait{object-fit:cover;border:2px solid #5fe08a;border-radius:50%;width:44px;height:44px;box-shadow:0 0 10px #5fe08a66}.hud-leader .portrait.placeholder{background:var(--kr-ink-2);font-family:var(--font-title);place-items:center;display:grid}.hud-leader-info{gap:3px;min-width:0;display:grid}.hud-leader-info b{font-family:var(--font-title);white-space:nowrap;text-overflow:ellipsis;font-size:.95rem;overflow:hidden}.hud-leader-info .hp{height:7px}.hud-action{gap:4px;display:grid}.action-gems{gap:7px;display:flex}.action-gems i{background:radial-gradient(circle at 50% 60%,#1a1428,#0d0a16);border:2px solid #4a3b6b;border-radius:50%;width:22px;height:22px;transition:background .25s,box-shadow .25s,transform .25s;box-shadow:inset 0 2px 4px #0009}.action-gems i.on{background:radial-gradient(circle at 38% 32%,#fff 0 8%,#c79bff 18%,#8b4ff0 55%,#4b1f9e 100%);border-color:#c9a7ff;animation:2.4s ease-in-out infinite gem-pulse;box-shadow:0 0 10px #a46bffd9,inset 0 -2px 4px #00000059}@keyframes gem-pulse{50%{box-shadow:0 0 16px #a46bff,inset 0 -2px 4px #00000059}}.hud-label{letter-spacing:.08em;text-transform:uppercase;color:var(--kr-muted);font-size:.72rem}.hud-piles{grid-template-columns:1fr 1fr;gap:8px;display:grid}.pile{border:1px solid var(--kr-line);background:#0b09148c;border-radius:10px;grid-template-rows:auto auto;grid-template-columns:30px 1fr;align-items:center;column-gap:8px;padding:6px 8px;display:grid;position:relative}.pile-cards{background:var(--card-back,linear-gradient(160deg, #3d2a6b, #1c1430));background-size:cover;border:1px solid #b08a4a;border-radius:4px;grid-row:span 2;width:26px;height:36px;box-shadow:3px -3px 0 -1px #2a1f42,3px -3px #8a6a3a,6px -6px 0 -1px #241a38,6px -6px #6d5530}.discard-pile .pile-cards{filter:grayscale(.7)brightness(.7)}.pile b{font-family:var(--font-title);font-size:1.05rem;line-height:1}.pile small{letter-spacing:.08em;text-transform:uppercase;color:var(--kr-muted);font-size:.65rem}.hud-items{gap:8px;display:flex}.item-slot{width:38px;height:38px;color:var(--kr-necro);transition:transform var(--ease), box-shadow var(--ease);background:radial-gradient(circle at 40% 35%,#3a2a55,#15111f);border:2px solid #b08a4a;border-radius:50%;font-size:1.05rem;box-shadow:0 0 8px #00000080}.item-slot:hover:not(:disabled){transform:translateY(-2px)scale(1.06);box-shadow:0 0 14px #7df2a699}.item-slot:disabled{opacity:.45}.hud-status{align-self:end;min-height:1.2em;font-size:.8rem}.hand.fan{--cw:clamp(96px, min(9.5vw, 17vh), 156px);--spread:5deg;--arc:4px;justify-content:center;align-items:center;min-width:0;padding:0;display:flex;position:relative;container-type:inline-size}.hand.fan:hover{--spread:1.6deg;--arc:1.5px}.hand.fan .hand-slot{--fit:calc((100cqw - var(--n) * var(--cw)) / max(var(--n) - 1, 1));min-width:0;margin-left:min(calc(var(--cw) * -.5), var(--fit));transform-origin:50% 120%;transform:translateY(calc(var(--off2) * var(--arc))) rotate(calc(var(--off) * var(--spread)));z-index:var(--i);flex:none;transition:margin .26s cubic-bezier(.22,1,.36,1),transform .26s cubic-bezier(.22,1,.36,1)}.hand.fan:hover .hand-slot{margin-left:min(10px, var(--fit))}.hand.fan .hand-slot:first-child{margin-left:0}.hand.fan .hand-slot:hover{z-index:30;transform:translateY(-26px)rotate(0)scale(1.1)}.hand.fan .hand .card,.hand.fan .card{width:var(--cw);aspect-ratio:2/3;max-width:none;height:auto}.hand.fan .hotkey{opacity:0;transition:opacity .2s;bottom:-14px}.hand.fan:hover .hotkey{opacity:1}.hand.fan .deal{animation:.42s cubic-bezier(.22,1,.36,1) both deal-in;animation-delay:calc(var(--i) * 55ms)}@keyframes deal-in{0%{opacity:0;transform:translate(-36vw,30px)rotate(-24deg)scale(.45)}}.battle-bottom.hud .right-col{grid-template-rows:auto minmax(0,1fr);gap:8px;min-height:0;display:grid}.battle-bottom.hud .log{overflow-wrap:anywhere;word-break:break-word;overflow:hidden auto}@media (width<=760px){.battle-bottom.hud{grid-template-columns:1fr}.hud-left{display:none}.hand.fan{--overlap:-40px}}.action-gems.has-art i{box-shadow:none;background:var(--orb-off) center / contain no-repeat;filter:brightness(.7);border:none}.action-gems.has-art i.on{background:var(--orb-on) center / contain no-repeat;filter:drop-shadow(0 0 6px #a46bffe6);animation:none}.stats.graded td:last-child{font-weight:700}.grade-low{color:var(--kr-muted)}.grade-normal{color:var(--kr-text)}.grade-good{color:#ffd36a}.grade-great{color:#ff9a3d;text-shadow:0 0 8px #ff9a3d73}.stats.graded tr{cursor:help}.stats.graded tr:hover td{background:#a46bff14}.effects .effect{align-items:baseline;gap:6px;padding:4px 0;list-style:none;display:flex}.effects .effect-icon{text-align:center;width:16px}.effects .effect.buff .effect-icon,.effects .effect.buff b{color:#5fe08a}.effects .effect.debuff .effect-icon,.effects .effect.debuff b{color:var(--kr-blood)}.effects .effect.fluid b,.effects .effect.fluid .effect-icon{color:var(--kr-necro)}.fx-badges{justify-content:center;gap:4px;min-height:0;display:flex}.fx{cursor:help;background:#0b0914cc;border-radius:6px;padding:0 5px;font-size:.68rem;font-style:normal;font-weight:800;line-height:1.5}.fx.buff{color:#5fe08a;border:1px solid #5fe08a80}.fx.debuff{color:var(--kr-blood);border:1px solid #e24b5a80}.fx.fluid{color:var(--kr-necro);border:1px solid #7df2a666}.fx.fluid.mental,.fx.fluid.elemental{color:var(--kr-rift-cyan);border-color:#6fd3ff66}:root{--fs-display-xl:clamp(44px, 5.5vw, 76px);--fs-display:clamp(30px, 2.8vw, 44px);--fs-h1:1.75rem;--fs-h2:1.25rem;--fs-overline:.75rem;--fs-btn-lg:1.125rem;--fs-btn:.9375rem;--fs-body-lg:1.1875rem;--fs-body:1rem;--fs-body-sm:.875rem;--fs-caption:.75rem;--fs-num-xl:2.5rem;--fs-num:1.25rem;--sp-1:4px;--sp-2:8px;--sp-3:12px;--sp-4:16px;--sp-5:24px;--sp-6:32px;--sp-7:48px;--sp-8:64px;--gutter:clamp(16px, 2.5vw, 40px);--r-xs:4px;--r-sm:8px;--r-md:12px;--r-lg:16px;--r-pill:999px;--elev-1:0 2px 6px #00000073;--elev-2:0 8px 20px #00000080;--elev-3:0 18px 48px #000000a6;--glow-rgb:164 107 255;--glow-sm:0 0 8px rgb(var(--glow-rgb) / .55);--glow-md:0 0 16px rgb(var(--glow-rgb) / .65);--glow-lg:0 0 28px rgb(var(--glow-rgb) / .8), 0 0 6px #ffffff59;--text-on-art:0 1px 0 #000, 0 0 3px #000000f2, 0 2px 10px #000000bf;--dur-instant:80ms;--dur-fast:.14s;--dur-base:.22s;--dur-slow:.36s;--dur-epic:.7s;--ease-out:cubic-bezier(.22, 1, .36, 1);--ease-in:cubic-bezier(.55, 0, 1, .45);--ease-inout:cubic-bezier(.65, 0, .35, 1);--ease-back:cubic-bezier(.34, 1.56, .64, 1)}.btn,.title-menu .btn,.btn.primary{box-sizing:border-box;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:0 28px;display:inline-flex}.btn{border:12px solid #0000;border-image:var(--art-button-secondary,url(/art/web/button-secondary.webp)) 60 110 fill / 12px 30px round stretch;font-size:var(--fs-btn);letter-spacing:.07em;text-shadow:var(--text-on-art);box-shadow:none;transition:transform var(--dur-fast) var(--ease-out), filter var(--dur-fast) var(--ease-out);background:0 0;border-radius:0}.btn.primary{border-image-source:var(--art-button-primary,url(/art/web/button-primary.webp))}.btn.lg,.title-menu .btn.lg{min-width:260px;min-height:56px;font-size:var(--fs-btn-lg)}.btn:hover:not(:disabled){filter:brightness(1.12)drop-shadow(0 0 10px #a46bffa6);box-shadow:none;border-color:#0000;transform:translateY(-2px)}.btn:active:not(:disabled){filter:brightness(.92);transition-duration:var(--dur-instant);transform:translateY(1px)scale(.98)}.btn:focus-visible{outline:2px solid var(--kr-rift-cyan);outline-offset:4px}.btn:disabled{opacity:1;filter:grayscale(.85)brightness(.6);cursor:default}.btn.ghost{min-height:36px;color:var(--kr-muted);background:0 0;border:none;border-image:;padding:0 12px}.btn.ghost:hover:not(:disabled){color:var(--kr-text);filter:none;box-shadow:inset 0 -2px #a46bffb3}.btn.ghost.on{color:var(--kr-text);box-shadow:inset 0 -2px 0 var(--kr-rift)}.btn.icon-btn{border:2px solid var(--kr-line);background:var(--icon-disc,radial-gradient(circle at 50% 40%, #2a1f42, var(--kr-ink)));background-size:cover;border-image:;border-radius:50%;width:40px;min-width:40px;height:40px;min-height:40px;padding:0}.btn.danger{color:var(--kr-blood)}.btn.choice{min-height:56px}img.img-broken{visibility:hidden}.scene .side .sprite{width:max-content}.scene .side .sprite .figure{--fig-base:clamp(100px, min(30vh, 16vw), 330px);height:calc(var(--fig-base) * var(--stature,1));aspect-ratio:.85;width:auto}.scene .side .sprite .nameplate{width:148px;box-shadow:var(--elev-1);text-shadow:var(--text-on-art);background:#0b0914b8;border:1px solid #5fe08a73;border-radius:10px;gap:2px;margin:4px auto 0;padding:3px 10px 4px;position:relative}.scene .side .sprite.enemy .nameplate{border-color:#e24b5a80}.scene .side .sprite.active .nameplate{border-color:var(--turn);box-shadow:0 0 12px color-mix(in srgb, var(--turn) 50%, transparent)}.scene .side .sprite .nameplate>span:first-child{font-size:.875rem;font-weight:800}.scene .side .sprite .nameplate .hp{height:8px}.scene .side .sprite .nameplate>span:last-of-type:not(.hp){font-size:var(--fs-caption);font-variant-numeric:tabular-nums}.scene .side .sprite .nameplate .fx-badges{position:absolute;bottom:calc(100% + 4px);left:0;right:0}.scene .side .sprite.front .nameplate{margin-top:2px;position:absolute;top:100%;left:50%;transform:translate(-50%)}.hand.fan .hand-slot{transition:margin .26s var(--ease-out), transform var(--dur-fast) var(--ease-back), translate var(--dur-base) var(--ease-out)}.hand.fan .hand-slot:hover{transform-origin:50% 100%;transform:translateY(-14%) rotate(0deg) scale(var(--zoom,1.6));z-index:50}.hand.fan .hand-slot:has(+.hand-slot:hover){translate:-26px}.hand.fan .hand-slot:hover+.hand-slot{translate:26px}.hand.fan .hand-slot:has(.card.selected){z-index:40;transform:translateY(-30px)rotate(0)scale(1.08)}.hand.fan .card.selected{filter:drop-shadow(0 0 16px #6fd3ffe6)drop-shadow(0 0 4px #fff6)}.card-name{font-size:7.2cqw}.card-type{font-size:6cqw}.card-text{font-size:7.4cqw}.card-preview{font-size:6.4cqw}.card-cost{font-size:12cqw}.hand.fan .hand-slot:hover .hotkey{opacity:0}.floater{font:900 var(--fs-num-xl) / 1 var(--font-title);color:#fff;-webkit-text-stroke:2px #1e060c;paint-order:stroke fill;text-shadow:0 0 14px rgb(var(--glow-rgb) / .9), 0 3px 0 #0009;animation:dmg-pop var(--floater-duration,3.2s) ease-out forwards}.floater.hit{--glow-rgb:226 75 90}.floater.crit{--glow-rgb:255 179 71;color:#ffe2a8;font-size:56px}.floater.miss{--glow-rgb:111 211 255;color:#d9f4ff;font-size:28px}.floater.heal{--glow-rgb:125 242 166;color:#d8ffe6}.floater.fluid{--glow-rgb:125 242 166;font-size:24px}.floater.info{--glow-rgb:164 107 255;-webkit-text-stroke:1px #0a0614;font-size:18px}.floater:nth-child(2){margin-top:-26px;margin-left:14px}.floater:nth-child(3){margin-top:-52px;margin-left:-16px}@keyframes dmg-pop{0%{opacity:0;transform:translate(-50%,64px)scale(.4)}2%{opacity:1;transform:translate(-50%,32px)scale(1.15)}6%,85%{opacity:1;transform:translate(-50%,-24px)scale(1)}to{opacity:0;transform:translate(-50%,-36px)scale(1)}}.sprite.party{--knock:-1}.sprite.enemy{--knock:1}.sprite.shake .figure{animation:hit-react .28s var(--ease-out)}@keyframes hit-react{0%{filter:brightness(2.4)saturate(.4);translate:calc(var(--knock) * 12px) 0}25%{filter:brightness(1.2)}to{filter:none;translate:0}}html.reduced-motion .sprite.shake .figure{animation:none}.sprite.fx-dodge .figure{transform-origin:50% 100%;animation:dodge-lean 1s var(--ease-out)}@keyframes dodge-lean{0%{rotate:0deg}20%{rotate:calc(var(--knock) * 28deg)}75%{rotate:calc(var(--knock) * 28deg)}to{rotate:0deg}}.sprite.fx-ambush .figure:after{content:"";pointer-events:none;background:radial-gradient(#e2283cbf,#e2283c00 70%);border-radius:50%;animation:.45s ease-out forwards ambush-flash;position:absolute;inset:-6% -10%}@keyframes ambush-flash{0%{opacity:1;transform:scale(.8)}to{opacity:0;transform:scale(1.15)}}html.reduced-motion .sprite.fx-dodge .figure{animation:none}html.reduced-motion .sprite.fx-ambush .figure:after{display:none}.hp{position:relative}.hp>.hp-chip{transition:width .4s var(--ease-inout) .25s;background:#ffffffbf;position:absolute;inset:0 auto 0 0}.hp>i{z-index:1;transition:width 90ms linear;position:relative}.scene .side .sprite.enemy.dead{animation:enemy-death .7s var(--ease-out) forwards}@keyframes enemy-death{0%{filter:brightness(2.5)}12%{filter:brightness(1.4);opacity:1}to{filter:grayscale()blur(4px);opacity:0;translate:0 10px}}.turn-strip{z-index:4;border-radius:var(--r-pill);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0b09148c;align-items:center;gap:6px;padding:4px 10px;display:flex;position:absolute;top:58px;left:50%;transform:translate(-50%)}.turn-disc{background:var(--kr-ink-2);width:34px;height:34px;transition:transform var(--dur-base) var(--ease-out), width var(--dur-base) var(--ease-out), height var(--dur-base) var(--ease-out);border:2px solid #5fe08a;border-radius:50%;padding:0;overflow:hidden;box-shadow:0 0 6px #5fe08a66}.turn-disc.enemy{border-color:var(--kr-blood);box-shadow:0 0 6px #e24b5a66}.turn-disc.current{border-color:#fff;width:48px;height:48px;box-shadow:0 0 14px #a46bffe6,0 0 4px #fff}.turn-disc img{object-fit:cover;object-position:50% 12%;width:100%;height:100%}.turn-disc span{height:100%;font-family:var(--font-title);place-items:center;font-size:.8rem;display:grid}.turn-disc:hover{transform:translateY(-2px)}.turn-sep{color:var(--kr-muted);padding:0 4px}.battle:not(.my-turn) .hand.fan{filter:saturate(.5)brightness(.75);pointer-events:none;transform:translateY(8px)scale(.97)}.hand.fan{transition:transform .26s var(--ease-inout), filter .26s ease}.sprite.targetable .figure{outline:none}.sprite .reticle{aspect-ratio:3;pointer-events:none;z-index:-1;background:radial-gradient(#e24b5a40,#0000 70%);border:3px solid #e24b5ad9;border-radius:50%;width:120%;animation:1.4s ease-in-out infinite reticle-pulse;position:absolute;bottom:6px;left:50%;transform:translate(-50%);box-shadow:0 0 18px #e24b5a99,inset 0 0 12px #e24b5a80}.sprite .reticle:after{content:"";border:2px dashed #ff7882cc;border-radius:50%;animation:6s linear infinite reticle-spin;position:absolute;inset:18%}.sprite.drop-over .reticle,.sprite.targetable:hover .reticle{border-color:#ff6b78;box-shadow:0 0 26px #ff4d5ee6,inset 0 0 14px #ff4d5eb3}@keyframes reticle-pulse{50%{opacity:.7}}@keyframes reticle-spin{to{transform:rotate(360deg)}}.sprite .predict{border-radius:var(--r-pill);border:1px solid var(--kr-blood);color:#fff;font:900 1.1rem / 1 var(--font-title);text-shadow:var(--text-on-art);pointer-events:none;z-index:6;background:#0b0914d9;padding:3px 10px;position:absolute;top:30%;left:50%;transform:translate(-50%);box-shadow:0 0 12px #e24b5a99}.aim-arrow{z-index:69;pointer-events:none;position:fixed;inset:0}.drag-ghost.aiming{transform:translate(-50%,-100%)rotate(0)scale(.9)}.banner-hint{font-family:var(--font-body,inherit);font-size:var(--fs-caption);letter-spacing:.04em;color:var(--kr-rift-cyan);margin-top:2px;display:block}.map-svg .node .reach-ring{fill:none;stroke:var(--kr-rift-cyan);stroke-width:2px;opacity:.8;transform-box:fill-box;transform-origin:50%;animation:reach-pulse 1.6s var(--ease-out) infinite;pointer-events:none}@keyframes reach-pulse{0%{opacity:.9;transform:scale(.85)}to{opacity:0;transform:scale(1.35)}}.map-svg .node.reachable image{filter:drop-shadow(0 0 8px #6fd3ffcc)}.map-svg .node.reachable:hover image{filter:drop-shadow(0 0 14px #6fd3ff)brightness(1.15)}.map-svg .party-token .token-rim{fill:var(--kr-ink);stroke:#5fe08a;stroke-width:3px;filter:drop-shadow(0 0 6px #5fe08ab3)}.map-svg .party-token{animation:2.4s ease-in-out infinite token-bob}@keyframes token-bob{50%{translate:0 -4px}}.lives{color:#ff6b8a;letter-spacing:.15em;text-shadow:0 0 8px #ff6b8a99;cursor:help}.lives-line{font-weight:700}.lives-line.last{color:var(--kr-blood)}.sprite.out-of-reach .figure{filter:grayscale(.6)brightness(.65)}.sprite .reach-note{border-radius:var(--r-pill);border:1px solid var(--kr-line);color:var(--kr-muted);font-size:var(--fs-caption);white-space:nowrap;pointer-events:none;z-index:6;background:#0b0914cc;padding:2px 8px;position:absolute;top:38%;left:50%;transform:translate(-50%)}.map-svg .story-mark circle{fill:#2a1a45;stroke:var(--kr-ember);stroke-width:2px;filter:drop-shadow(0 0 6px #ffb347cc)}.map-svg .story-mark text{fill:var(--kr-ember);text-anchor:middle;font-size:13px}.map-svg .story-mark{animation:2s ease-in-out infinite beat-glow}@keyframes beat-glow{50%{opacity:.6}}.journal{gap:var(--sp-4);max-width:720px;display:grid}.journal ol{padding-left:var(--sp-5);gap:2px;margin:0;display:grid}.journal li.locked{padding:6px 12px;list-style:none}.journal-reader{z-index:80;position:fixed;inset:0}.gear-tile{background:linear-gradient(180deg, var(--kr-ink-2), var(--kr-ink));border:2px solid var(--q,var(--kr-line-2));width:168px;color:var(--kr-text);text-align:center;font:inherit;transition:transform var(--ease), box-shadow var(--ease), filter var(--ease);border-radius:10px;align-content:start;justify-items:center;gap:3px;padding:10px 10px 8px;display:grid}.gear-tile:enabled{cursor:pointer}.gear-tile:hover:enabled{box-shadow:0 0 16px color-mix(in srgb, var(--q,var(--kr-rift)) 50%, transparent);transform:translateY(-3px)}.gear-tile.selected,.gear-tile.selected:hover:enabled{border-color:var(--kr-ember);box-shadow:0 0 0 1px var(--kr-ember), 0 0 18px #ffb34773;transform:translateY(-3px)}.gear-tile:disabled{opacity:1}.gear-tile .gear-glyph{background:radial-gradient(circle at 40% 35%, color-mix(in srgb, var(--q,var(--kr-rift)) 45%, var(--kr-ink-3)), var(--kr-ink));border:1px solid var(--q,var(--kr-line-2));width:34px;height:34px;color:var(--q,var(--kr-text));border-radius:50%;place-items:center;font-size:17px;display:grid}.gear-tile .gear-name{color:var(--q,var(--kr-text));line-height:1.15}.gear-tile .gear-head{color:var(--kr-parchment)}.gear-lines{gap:1px;display:grid}.gear-lines .pos{color:var(--kr-necro)}.gear-lines .neg{color:var(--kr-blood)}.gear-tile.empty{border-style:dashed;border-color:var(--kr-line);background:#00000040;place-content:center}.gear-tile.compact{width:136px;min-height:92px;padding:6px 6px 5px;font-size:.86em}.gear-tile.compact .gear-glyph{width:26px;height:26px;font-size:14px}.gear-wearers{flex-wrap:wrap;justify-content:center}.loadout{background:#0003;border-radius:10px;grid-template-columns:110px repeat(3,auto);justify-content:start;align-items:center;gap:8px;padding:6px;display:grid}.loadout.dead{opacity:.55}.modal.confirm-modal{width:min(480px,92vw);height:auto}.confirm-modal .modal-body p{font-size:var(--fs-body,1rem);margin:0 0 var(--sp-4,16px)}.confirm-modal .choices{flex-wrap:wrap;justify-content:center}.fx-layer{pointer-events:none;z-index:60;position:fixed;inset:0;overflow:hidden}.fx-sprite,.fx-shot{background-repeat:no-repeat;background-size:calc(var(--frames) * 100%) 100%;background-position:0 0;display:block;position:fixed}.fx-sprite.screen,.fx-shot.screen{mix-blend-mode:screen}.fx-sprite{opacity:0;animation:fx-frames var(--dur) steps(var(--frames), jump-none) var(--delay) forwards, fx-show var(--dur) linear var(--delay) forwards}@keyframes fx-frames{0%{background-position:0 0}to{background-position:100% 0}}@keyframes fx-show{0%{opacity:1}to{opacity:1}}.fx-shot{opacity:0;transform:translate(0, 0) rotate(var(--rot));animation:fx-fly var(--travel) cubic-bezier(.35, 0, .75, 1) var(--delay) forwards, fx-frames var(--dur) steps(var(--frames), jump-none) var(--delay) infinite}@keyframes fx-fly{0%{opacity:1;transform:translate(0, 0) rotate(var(--rot))}92%{opacity:1}to{opacity:0;transform:translate(var(--dx), var(--dy)) rotate(var(--rot))}}.fx-shot.single{animation:fx-fly var(--travel) cubic-bezier(.35, 0, .75, 1) var(--delay) forwards}.crash-sent{margin:0 0 var(--sp-4,16px);color:var(--kr-muted)}.crash-sent.sent{color:var(--kr-necro)}.crash-sent.failed{color:var(--kr-ember)}.bug-form{margin-top:var(--sp-4,16px);gap:8px;display:grid}.bug-form textarea{box-sizing:border-box;resize:vertical;border:1px solid var(--kr-line-2);background:var(--kr-ink);width:100%;color:var(--kr-text);font:inherit;-webkit-user-select:text;user-select:text;border-radius:8px;padding:8px 10px}.bug-row{align-items:center;gap:12px;display:flex}.bug-row .ok{color:var(--kr-necro)}.bug-row .bad{color:var(--kr-ember)}.title-logo.wordmark{width:min(680px,92vw,105vh);height:auto;box-shadow:none;background:0 0;border-radius:0;animation:5s ease-in-out infinite wordmark-rift}@keyframes wordmark-rift{0%,to{filter:drop-shadow(0 0 8px #a46bff8c)drop-shadow(0 4px 10px #000000b3)}50%{filter:drop-shadow(0 0 22px #6fd3ff99)drop-shadow(0 0 40px #a46bff73)drop-shadow(0 4px 10px #000000b3)}}.logo.wordmark{width:min(360px,60vw);height:auto}.btn .btn-sub{color:var(--kr-parchment);letter-spacing:.06em;text-shadow:none;background:#0b091473;border-radius:999px;margin-left:.6em;padding:1px 8px;font-size:.72em}.gear-wearers .btn.warn{border-color:var(--kr-ember);color:var(--kr-ember)}.gear-tile.compact .gear-lines{font-size:.82em;line-height:1.15}.intent.danger{border-color:var(--kr-ember);color:var(--kr-ember);animation:1s ease-in-out infinite intent-danger;box-shadow:0 0 12px #ffb3478c}@keyframes intent-danger{50%{box-shadow:0 0 22px #ffb347d9}}.party-strip .strip-member{cursor:pointer;transition:box-shadow var(--ease), transform var(--ease)}.party-strip .strip-member:hover,.party-strip .strip-member:focus-visible{outline:none;transform:translateY(-2px);box-shadow:0 0 12px #a46bff8c}.modal.character-sheet{width:min(880px,95vw)}.modal header.sheet-head{grid-template-columns:auto 1fr auto;align-items:center;gap:14px;display:grid}.sheet-portrait img,.sheet-portrait .ph{object-fit:cover;object-position:top;border:2px solid var(--kr-rift);background:var(--kr-ink-3);border-radius:50%;place-items:center;width:72px;height:72px;display:grid}.sheet-hp{align-items:center;gap:8px;max-width:260px;margin-top:4px;display:flex}.sheet-hp .hp{background:#0006;border-radius:4px;flex:1;height:8px;overflow:hidden}.sheet-hp .hp i{background:linear-gradient(90deg, #3fae5a, var(--kr-necro));height:100%;display:block}.qual-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin-bottom:14px;display:grid}.qual-group{border:1px solid var(--kr-line);background:#00000038;border-radius:10px;padding:8px 10px}.qual-group h4,.stat-groups h4{letter-spacing:.08em;text-transform:uppercase;color:var(--kr-muted);margin:0 0 6px;font-size:.8em}.qual-row{cursor:help;grid-template-columns:1fr auto;column-gap:8px;padding:3px 0;display:grid}.qual-row .qual-value{color:var(--kr-ember);text-align:right;font-weight:700}.qual-row .muted{grid-column:1/-1}.qual-row.zero{opacity:.45}.qual-row.zero .qual-value{color:var(--kr-muted)}.stat-groups{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px 16px;display:grid}.stat-groups table{width:100%}.stat-groups .sheet-racial-resists{border:1px solid var(--kr-line-2);background:#161020;border-radius:6px;flex-direction:column;gap:8px;margin-top:20px;padding:12px;display:flex}.stat-groups .sheet-racial-resists h4{margin:0;font-size:.72rem}.racial-resist-lines{flex-direction:column;gap:6px;font-size:.85rem;line-height:1.4;display:flex}.stat-groups tr{cursor:help}.floater-icon{vertical-align:-.12em;object-fit:contain;filter:drop-shadow(0 0 4px #000000e6);width:.95em;height:.95em;margin-right:4px}.floater-glyph{margin-right:4px;font-style:normal}.floater.type,.floater.resist{-webkit-text-stroke:1px #0a0614;font-size:20px;animation-delay:90ms}.floater.resist{--glow-rgb:111 211 255;color:#cdeaff;font-size:16px}.floater.k-slash{--glow-rgb:233 220 195;color:#f4ead6}.floater.k-crush{--glow-rgb:201 162 122;color:#f0d2b0}.floater.k-pierce{--glow-rgb:159 211 255;color:#d7efff}.floater.k-wound{--glow-rgb:226 75 90;color:#ffc2c9}.floater.k-blast{--glow-rgb:164 107 255;color:#e3d0ff}.floater.k-unbalance{--glow-rgb:255 179 71;color:#ffe0b0}.floater.k-crit{--glow-rgb:255 179 71;color:#ffe2a8;letter-spacing:.08em;font-size:18px}.floater.k-acid{--glow-rgb:160 182 205;color:#d3deeb}.floater.k-poison{--glow-rgb:125 242 166;color:#c8ffd9}.floater.k-mental{--glow-rgb:200 120 255;color:#efd6ff}.floater.k-elemental{--glow-rgb:255 140 70;color:#ffd2b0}.floater:nth-child(4){margin-top:-78px;margin-left:22px}.floater:nth-child(5){margin-top:-104px;margin-left:-20px}.floater:nth-child(6){margin-top:-130px;margin-left:10px}.fx-sweep{width:100vw;height:100vh;position:fixed;inset:0;overflow:visible}.fx-sweep path{fill:none;stroke-width:10px;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1px;filter:drop-shadow(0 0 8px #ffb347e6)drop-shadow(0 0 18px #a46bff99);animation:fx-sweep .62s cubic-bezier(.3, 0, .2, 1) var(--delay,0s) forwards}.fx-layer.fast .fx-sweep path{animation-duration:.38s}@keyframes fx-sweep{0%{stroke-dashoffset:1px;opacity:1;stroke-width:4px}55%{stroke-dashoffset:0;opacity:1;stroke-width:12px}to{stroke-dashoffset:0;opacity:0;stroke-width:2px}}.fx-badges .fx.fluid img{vertical-align:-3px;width:14px;height:14px;margin-right:2px}.fx-badges .fx.fluid small{opacity:.75;margin-left:2px;font-size:.75em}.inventory-heading{justify-content:space-between;align-items:center;gap:12px;padding-right:34px;display:flex}.inventory-heading>h2{margin-bottom:0}.inventory-roster-count{white-space:nowrap}.inventory-roster-count small{margin-left:8px}.modal.inventory-modal{width:min(1040px,96vw)}.inventory{grid-template-columns:auto minmax(300px,1fr) minmax(300px,1.2fr) minmax(200px,.8fr);grid-template-areas:"heroes doll bag compare";align-items:start;gap:14px;display:grid}.inv-heroes{grid-area:heroes}.paperdoll{grid-area:doll}.inv-bag{grid-area:bag}.inv-compare{grid-area:compare}@media (width<=1200px){.inventory{grid-template-columns:auto minmax(300px,1fr) minmax(200px,.8fr);grid-template-areas:"heroes doll compare""heroes bag bag"}}.inventory .gear-tile{pointer-events:none}.inv-heroes{gap:8px;display:grid}.inv-hero{border:2px solid var(--kr-line-2);background:var(--kr-ink-3);cursor:pointer;width:56px;height:56px;transition:box-shadow var(--ease), border-color var(--ease);border-radius:50%;padding:0;overflow:hidden}.inv-hero img{object-fit:cover;object-position:top;width:100%;height:100%}.inv-hero.on{border-color:var(--kr-ember);box-shadow:0 0 12px #ffb34799}.inv-hero.dead{filter:grayscale()brightness(.6)}.paperdoll h3,.inv-bag h3{margin:0 0 8px}.doll{border:1px solid var(--kr-line);background:radial-gradient(at 50% 70%,#a46bff2e,#0000 70%),#00000040;border-radius:12px;min-width:290px;height:380px;position:relative;overflow:hidden}.doll-figure{opacity:.85;filter:drop-shadow(0 6px 12px #000000b3);pointer-events:none;height:96%;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.doll-slot{transition:box-shadow var(--ease), background var(--ease);cursor:grab;border-radius:12px;justify-items:center;gap:2px;padding:4px;display:grid;position:absolute}.doll-slot.s-weapon{top:10px;left:6px}.doll-slot.s-offhand{top:10px;right:6px}.doll-slot.s-armour{bottom:8px;left:50%;transform:translate(-50%)}.doll-slot .slot-label{letter-spacing:.08em;text-transform:uppercase;color:var(--kr-muted);font-size:.7em}.doll-slot .gear-tile.compact{background:#0f0b19e0;width:120px;min-height:86px}.doll-slot.can-drop{background:#7df2a61f;box-shadow:0 0 0 2px #7df2a699}.doll-slot.over,.inv-bag.over{box-shadow:0 0 0 2px var(--kr-ember), 0 0 18px #ffb34780}.inv-bag{transition:box-shadow var(--ease);border-radius:12px;padding:6px}.inv-bag.can-drop{box-shadow:0 0 0 2px #7df2a680}.inv-bag header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.inv-sort{align-items:center;gap:4px;display:flex}.inv-sort .btn.on{color:var(--kr-ember)}.bag-grid{grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:8px;display:grid}.bag-cell{cursor:grab;transition:transform var(--ease);border-radius:10px}.bag-cell:hover{transform:translateY(-2px)}.bag-cell .gear-tile.compact{width:100%}.bag-cell.empty{border:1px dashed var(--kr-line);cursor:default;background:#0000002e;min-height:92px}.bag-cell.unusable{opacity:.55}.bag-cell.lifted{opacity:.3}.inv-compare{border:1px solid var(--kr-line);background:#00000040;border-radius:12px;min-height:120px;padding:10px}.inv-compare h4{margin:0}.delta-list{gap:2px;margin:6px 0 0;padding:0;list-style:none;display:grid}.delta-list li{justify-content:space-between;gap:8px;font-size:.9em;display:flex}.delta-list li.up b{color:var(--kr-necro)}.delta-list li.down b{color:var(--kr-blood)}.inv-ghost{z-index:200;pointer-events:none;filter:drop-shadow(0 10px 18px #000000b3);position:fixed;transform:translate(-50%,-60%)rotate(-4deg)scale(.9)}.inventory.dragging,.inventory.dragging *{cursor:grabbing!important}@media (width<=700px){.inventory{grid-template-columns:1fr;grid-template-areas:"heroes""doll""compare""bag"}.inv-heroes{grid-auto-flow:column;justify-content:start}}.bag-cell.picked .gear-tile{border-color:var(--kr-ember);box-shadow:0 0 0 1px var(--kr-ember), 0 0 14px #ffb34780}.inv-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.price.sell{color:var(--kr-necro)}.map-svg g[role=button]:focus{outline:none}.map-svg g[role=button]:focus-visible>circle:first-of-type{stroke:var(--kr-ember);stroke-width:4px;filter:drop-shadow(0 0 10px #ffb347e6)}.btn:focus-visible,.strip-member:focus-visible{outline:2px solid var(--kr-rift-cyan);outline-offset:4px}.rotate-hint{display:none}@media (width<=600px){.battle-top{flex-wrap:wrap;gap:6px;padding:6px 8px}.battle-top .small-title{font-size:1rem}.top-right{flex-wrap:wrap;justify-content:flex-end;gap:4px}.top-right .btn{min-width:0;height:34px;padding:0 12px;font-size:.8rem}.top-right .relic-rack,.top-right .muted{display:none}.turn-strip{scrollbar-width:none;max-width:calc(100vw - 16px);overflow-x:auto}.turn-strip img{width:30px;height:30px}.scene .side .sprite .figure{--fig-base:clamp(70px, 24vw, 120px)}.scene .side .sprite .nameplate{width:92px;padding:2px 6px 3px;font-size:.7rem}.scene .side .sprite .intent{padding:2px 6px;font-size:.65rem}.scene .side .sprite .intent small{display:none}.floater{font-size:30px}.floater.crit{font-size:36px}.floater.type,.floater.resist,.floater.info,.floater.miss,.floater.fluid{font-size:13px}.scene .side .sprite .nameplate{width:78px;font-size:.62rem}.rotate-hint{z-index:70;color:var(--kr-parchment);pointer-events:none;background:#0b0914cc;border-radius:999px;padding:4px 12px;font-size:.75rem;display:block;position:fixed;top:132px;left:50%;transform:translate(-50%)}}@media (width<=600px) and (orientation:landscape){.rotate-hint{display:none}}@media (height<=500px){.battle{grid-template-rows:auto minmax(0,1fr) clamp(96px,30vh,130px)}.battle-top{padding:2px 8px}.battle-top .muted.small,.top-right .relic-rack,.top-right .relics{display:none}.top-right .btn{min-width:0;height:28px;padding:0 10px;font-size:.75rem}.turn-strip{transform-origin:top;transform:scale(.75)}.scene .side .sprite .figure{--fig-base:clamp(60px, 30vh, 130px)}.battle-bottom.hud{grid-template-columns:minmax(120px,170px) minmax(0,1fr) minmax(120px,170px);gap:8px;padding:4px 8px}.hud-left .hud-piles,.hud-left .hud-items,.hud-left .hud-status,.hud-left>:not(.hud-leader):not(.hud-action),.battle-bottom.hud .right-col .log{display:none}.battle-bottom.hud .right-col{grid-template-rows:auto;align-content:center}.hand.fan{--cw:clamp(56px, 13vh, 84px)}.hud-left{grid-template-rows:auto auto;gap:2px}.hud-leader .muted.small{display:none}}.map-scroll .map-svg{max-width:100%;height:auto}@media (width<=600px){.map-screen,.node-screen{max-width:100vw;overflow-x:hidden}.party-strip{grid-template-columns:1fr 1fr;gap:6px;width:100%;display:grid}.party-strip .strip-member{min-width:0}.map-top{grid-template-columns:1fr}.map-actions{flex-wrap:wrap}.map-legend{flex-wrap:wrap;justify-content:center;gap:4px 10px;font-size:.75rem}.node-panel,.node-panel.wide{box-sizing:border-box;width:calc(100vw - 12px);min-width:0;max-width:calc(100vw - 12px);padding-left:12px;padding-right:12px}.party-strip .strip-member .hp{max-width:100%}}.party-box li{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.row-tag{letter-spacing:.06em;text-transform:uppercase;cursor:help;border:1px solid;border-radius:999px;padding:1px 7px;font-size:.65rem}.row-tag.front{color:var(--kr-ember)}.row-tag.back{color:var(--kr-rift-cyan)}.slot-move{gap:2px;margin-left:auto;display:inline-flex}.slot-move .btn{min-width:0;height:26px;padding:0 8px;font-size:.7rem}.legend-rack{gap:4px;display:inline-flex}.legend-chip{color:gold;cursor:help;background:radial-gradient(circle at 40% 35%,#ffd70059,#281c0a);border:1px solid gold;border-radius:50%;place-items:center;width:26px;height:26px;font-style:normal;display:grid;box-shadow:0 0 10px #ffd70073}.legend-tile{--q:gold;width:210px}.legend-tile .relic-gem{color:gold;font-size:22px}.card-text .kw{color:#3a2410;cursor:help;background:linear-gradient(#ffd27a,#e8a33a);border-radius:4px;margin:2px 3px 0 0;padding:0 4px;font-size:.85em;display:inline-block}.card-text .kw-reaction{background:linear-gradient(#ffb08a,#e86a3a)}.card-text .kw-mark{background:linear-gradient(#f2d0ff,#b77ae8)}.card-text .kw-bounce{background:linear-gradient(#c9f1ff,#6fc3e8)}.card-text .kw-thrust{background:linear-gradient(#e2e2e2,#a8a8a8)}.upgrade-paths{flex-wrap:wrap;justify-content:center;gap:18px;margin-top:12px;display:flex}.upgrade-path{text-align:center;justify-items:center;gap:4px;max-width:180px;display:grid}.upgrade-path .card{width:150px}.deck-chips .chip.on{box-shadow:0 0 0 2px var(--kr-ember)}.talent-tile{width:220px;min-height:257px;color:var(--kr-text);cursor:pointer;background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20240%20280'%20fill='none'%3e%3cdefs%3e%3clinearGradient%20id='silver'%20x2='0'%20y2='1'%3e%3cstop%20stop-color='%23dbe6ed'/%3e%3cstop%20offset='.5'%20stop-color='%23697e93'/%3e%3cstop%20offset='1'%20stop-color='%23c2aa7e'/%3e%3c/linearGradient%3e%3clinearGradient%20id='light'%20x2='0'%20y2='1'%3e%3cstop%20stop-color='%23a6eafa'/%3e%3cstop%20offset='1'%20stop-color='%238471b5'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath%20d='M120%208%20147%2026H213L230%2044V248L211%20270H29L10%20248V44L27%2026H93Z'%20fill='%23151420'%20stroke='url(%23silver)'%20stroke-width='2'/%3e%3cpath%20d='M120%2019%20144%2035H207L221%2049V244L207%20261H33L19%20244V49L33%2035H96Z'%20stroke='%23719ca5'%20stroke-opacity='.6'/%3e%3cpath%20d='M120%2029%20130%2039%20120%2049%20110%2039Z'%20fill='%234e7285'%20stroke='%23baeafa'/%3e%3cpath%20d='M120%2031v16m-8-8h16M29%2063h9m-9%200v14M211%2063h-9m9%200v14M29%20233h9m-9%200v-14M211%20233h-9m9%200v-14'%20stroke='url(%23light)'%20stroke-width='2'/%3e%3cpath%20d='M45%20170h50l25%208%2025-8h50M45%20174h50l25%208%2025-8h50'%20stroke='%237399ae'%20stroke-opacity='.65'/%3e%3cpath%20d='M105%20251h30m-23%204h16M8%20122l5%205-5%205M232%20122l-5%205%205%205'%20stroke='%23c4aa7c'/%3e%3c/svg%3e") 50%/100% 100% no-repeat;border:0;flex-direction:column;align-items:center;gap:10px;padding:54px 30px 30px;transition:filter .18s,transform .18s;display:flex;position:relative}.talent-tile:hover{filter:brightness(1.18)drop-shadow(0 0 8px #8bd2e333);transform:translateY(-3px)}.talent-tile:focus-visible{outline:2px solid var(--kr-rift-cyan);outline-offset:3px}.talent-tile .relic-gem{color:#ade4f3;border:2px solid #86afc4;border-radius:50%;flex:0 0 86px;width:86px;height:86px;box-shadow:0 0 20px #80bedd25}.talent-tile b,.levelup .talent-tile>b{font-family:var(--font-title);margin-top:17px;font-size:.96rem}.talent-description{color:#b4bccd;font-size:.74rem;line-height:1.4}.level-hero .talent-offer{flex-wrap:wrap;justify-content:center;align-items:stretch;gap:16px;display:flex}.level-hero .talent-offer>.talent-tile{flex:0 0 220px;margin:0}@media (width<=600px){.talent-tile{width:min(220px,100%)}}.level-hero h3{margin-bottom:6px}.sheet-talents{flex-wrap:wrap;align-items:center;gap:4px;margin-top:4px;font-size:.85em;display:flex}.card-art .card-illustration{object-fit:cover;border-radius:inherit;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.title-screen,.map-screen,.node-screen,.battle,.scene-screen,.result-screen,.party-screen,.collection-screen{animation:screen-in .26s var(--ease-out,ease-out) both}@keyframes screen-in{0%{opacity:0;filter:brightness(.5)blur(3px);transform:scale(1.012)}}html.reduced-motion .title-screen,html.reduced-motion .map-screen,html.reduced-motion .node-screen,html.reduced-motion .battle,html.reduced-motion .scene-screen,html.reduced-motion .result-screen,html.reduced-motion .party-screen,html.reduced-motion .collection-screen{animation:none}.battle-bottom.hud{z-index:55;position:relative}.end-turn-wrap{position:relative}.end-turn-wrap .end-turn{width:100%}.auto-end{cursor:pointer;z-index:2;place-items:center;display:grid;position:absolute;top:50%;right:36px;transform:translateY(-50%)}.auto-end input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute}.auto-end-box{width:20px;height:20px;color:var(--kr-parchment);opacity:1;font:700 20px/1 var(--font-title,serif);transition:opacity var(--ease), text-shadow var(--ease);background:#171021cc;border:2px solid #eadbff;border-radius:5px;place-items:center;display:grid;box-shadow:0 0 0 1px #120a1c,inset 0 0 5px #a46bff40}.auto-end:hover .auto-end-box,.auto-end input:focus-visible+.auto-end-box{opacity:1;text-shadow:0 0 8px #eadbff}.auto-end.on .auto-end-box{opacity:1;background:#51258dcc;box-shadow:0 0 6px #a46bff80}.title-screen{position:relative;overflow:hidden}.title-inner{z-index:1;position:relative}.title-logo-wrap{place-items:center;display:grid;position:relative}.title-inner.intro .title-logo.wordmark{animation:1.5s cubic-bezier(.2,.8,.2,1) .35s both wordmark-reveal,5s ease-in-out 1.85s infinite wordmark-rift}@keyframes wordmark-reveal{0%{opacity:0;clip-path:inset(46% 50%);filter:brightness(3)blur(6px)drop-shadow(0 0 30px #6fd3ffe6)}35%{opacity:1;clip-path:inset(46% 0)}to{opacity:1;clip-path:inset(-20% -10%);filter:drop-shadow(0 0 8px #a46bff8c)drop-shadow(0 4px 10px #000000b3)}}.title-inner.intro .title-logo-wrap:before{content:"";pointer-events:none;background:linear-gradient(90deg,#0000,#6fd3fff2 25%,#fff 50%,#a46bfff2 75%,#0000);border-radius:3px;width:min(760px,96vw);height:3px;animation:1.6s ease-out both rift-line;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scaleX(0);box-shadow:0 0 18px #6fd3ffe6,0 0 42px #a46bffb3}@keyframes rift-line{0%{opacity:1;transform:translate(-50%,-50%)scaleX(0)}30%{opacity:1;transform:translate(-50%,-50%)scaleX(1)}60%{opacity:.55;transform:translate(-50%,-50%)scaleX(1)scaleY(14)}to{opacity:0;transform:translate(-50%,-50%)scaleX(1.05)scaleY(40)}}.title-inner.intro .title-menu>*{animation:.52s cubic-bezier(.2,.8,.2,1) both menu-in}.title-inner.intro .title-menu>:first-child{animation-delay:1.25s}.title-inner.intro .title-menu>:nth-child(2){animation-delay:1.33s}.title-inner.intro .title-menu>:nth-child(3){animation-delay:1.41s}.title-inner.intro .title-menu>:nth-child(4){animation-delay:1.49s}.title-inner.intro .title-menu>:nth-child(5){animation-delay:1.57s}.title-inner.intro .title-menu>:nth-child(6){animation-delay:1.65s}.title-inner.intro .title-menu>:nth-child(n+7){animation-delay:1.73s}@keyframes menu-in{0%{opacity:0;transform:translateY(14px)}}.title-motes{pointer-events:none;z-index:0;position:absolute;inset:0;overflow:hidden}.title-motes .mote{opacity:0;border-radius:50%;animation:linear infinite mote-rise;position:absolute;bottom:-12px}.title-motes .mote.violet{background:#c4a0ff;box-shadow:0 0 8px 2px #a46bffcc}.title-motes .mote.cyan{background:#bef0ff;box-shadow:0 0 8px 2px #6fd3ffcc}@keyframes mote-rise{0%{opacity:0;transform:translate(0)}12%{opacity:.9}50%{transform:translate(18px,-50vh)}85%{opacity:.6}to{opacity:0;transform:translate(-10px,-105vh)}}html.reduced-motion .title-motes,html.reduced-motion .title-inner.intro .title-logo-wrap:before{display:none}html[data-act] body:before,html[data-act] body:after{content:"";pointer-events:none;z-index:60;position:fixed;inset:0}html[data-act="1"] body:before{background:radial-gradient(40% 30% at 0 0,#6fd3ff1f,#0000 70%),radial-gradient(35% 28% at 100% 100%,#7df2a61a,#0000 70%);animation:7s ease-in-out infinite bleed-shimmer}html[data-act="1"] .hp>i{filter:hue-rotate(-18deg)saturate(1.15)}@keyframes bleed-shimmer{50%{opacity:.55}}html[data-act="2"] body:before{opacity:.16;background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2728%27 height=%2748%27 viewBox=%270 0 28 48%27%3E%3Cpath d=%27M14 0 L28 8 L28 24 L14 32 L0 24 L0 8 Z M14 32 L14 48%27 fill=%27none%27 stroke=%27%237df2a6%27 stroke-width=%271.2%27 opacity=%270.9%27/%3E%3C/svg%3E");background-size:28px 48px;-webkit-mask-image:radial-gradient(75% 70%,#0000 55%,#000 100%);mask-image:radial-gradient(75% 70%,#0000 55%,#000 100%)}html[data-act="2"] body:after{background:radial-gradient(80% 75%,#0000 60%,#e24b5a24 100%)}html[data-act="2"] .panel:before,html[data-act="2"] .panel:after{border-color:var(--kr-necro)}html[data-act="3"] body:before{background:repeating-linear-gradient(0deg,#d6c21f0d 0 1px,#0000 1px 4px);-webkit-mask-image:linear-gradient(90deg,#000,#0000 14% 86%,#000);mask-image:linear-gradient(90deg,#000,#0000 14% 86%,#000)}html[data-act="3"] .panel{border-color:color-mix(in srgb, var(--kr-line) 70%, var(--kr-invader))}html[data-act="3"] .panel:before,html[data-act="3"] .panel:after{border-color:var(--kr-invader)}html[data-act="3"] h1,html[data-act="3"] h2{animation:9s step-end infinite rune-glitch}@keyframes rune-glitch{0%,96%,to{text-shadow:none;transform:none}97%{text-shadow:-2px 0 #0ff0ffb3,2px 0 #d6c21fb3;transform:translate(1px)}98%{text-shadow:2px 0 #0ff0ffb3,-2px 0 #d6c21fb3;transform:translate(-1px)}}html[data-act="4"] body:after{background:radial-gradient(80% 75%,#0000 58%,#ff782829 92%,#0ff0ff1a 100%)}html[data-act="4"] .panel{border-color:color-mix(in srgb, var(--kr-line) 60%, var(--kr-invader-2))}html[data-act="4"] .panel:before,html[data-act="4"] .panel:after{border-color:var(--kr-invader-2)}html[data-act="4"] h1,html[data-act="4"] h2{animation:6s step-end infinite rune-glitch}@keyframes bleed-flicker{0%,to{opacity:.45}91%{opacity:.15}93%{opacity:.6}}html.reduced-motion[data-act] body:before,html.reduced-motion[data-act] h1,html.reduced-motion[data-act] h2{animation:none}.glyph{vertical-align:-.15em;flex:none}.floater .glyph.floater-glyph{filter:drop-shadow(0 0 2px #0a0614)drop-shadow(0 0 1px #0a0614);margin-right:4px}.intent .intent-glyph{filter:drop-shadow(0 0 2px #000c)}.ach-toasts{z-index:300;pointer-events:none;gap:8px;display:grid;position:fixed;top:14px;left:50%;transform:translate(-50%)}.ach-toast{border-color:var(--kr-ember);min-width:min(340px,100vw - 32px);box-shadow:0 0 22px #ffb34759, var(--shadow);align-items:center;gap:12px;padding:10px 16px;animation:4.2s both ach-in;display:flex}.ach-toast small{color:var(--kr-ember);letter-spacing:.14em;text-transform:uppercase;font-size:.68rem;font-weight:800;display:block}.ach-toast b,.ach-entry b{font-family:var(--font-title);display:block}@keyframes ach-in{0%{opacity:0;transform:translateY(-16px)scale(.96)}8%,88%{opacity:1;transform:none}to{opacity:0;transform:translateY(-8px)}}.ach-medal{border:2px solid var(--kr-ember);width:40px;height:40px;color:var(--kr-ember);background:radial-gradient(circle at 35% 30%,#ffb34759,#281608e6);border-radius:50%;flex:none;place-items:center;display:grid;box-shadow:0 0 10px #ffb34766}.ach-list{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;display:grid}.ach-entry{align-items:center;gap:12px;padding:10px 14px;display:flex}.ach-entry.locked{opacity:.5}.ach-entry.locked .ach-medal{border-color:var(--kr-line);background:var(--kr-ink-2);color:var(--kr-muted);box-shadow:none}.fallen-note{border-left:3px solid var(--kr-blood);color:var(--kr-parchment);background:#e24b5a1f;margin-top:4px;padding:3px 10px;font-size:.82rem}.node.beckon circle,.node.beckon image{filter:drop-shadow(0 0 8px #7df2a6f2)drop-shadow(0 0 16px #7df2a699);animation:1.6s ease-in-out infinite beckon}@keyframes beckon{50%{filter:drop-shadow(0 0 3px #7df2a699)}}@media (width<=600px) and (orientation:portrait){.scene .side .sprite{bottom:calc(clamp(92px, 12vh, 112px) + var(--dy,0) * .6vh)}.scene .side .sprite.back{bottom:calc(clamp(92px, 12vh, 112px) + clamp(84px, 13vh, 120px) + var(--dy,0) * .6vh)}.hand.fan{--cw:clamp(60px, 19vw, 92px);--spread:2deg;--arc:1.5px;padding-inline:12px}.rotate-hint{animation:.6s 5s forwards hint-away}}@keyframes hint-away{to{opacity:0;visibility:hidden}}@media (width<=600px) and (orientation:portrait) and (height<=700px){.scene .side .sprite .figure{--fig-base:clamp(56px, min(22vw, 13vh), 100px)}.scene .side .sprite.back{bottom:calc(clamp(92px, 12vh, 112px) + clamp(44px, 9vh, 64px) + var(--dy,0) * .6vh)}}@media (width<=600px) and (orientation:portrait){.turn-banner{white-space:nowrap;text-overflow:ellipsis;max-width:calc(100vw - 24px);padding:3px 12px;font-size:.78rem;top:4px;overflow:hidden}.turn-strip{padding:2px 8px;top:34px}.turn-strip img{width:24px;height:24px}}.sound-split{border:2px solid var(--kr-line);background:radial-gradient(circle at 50% 40%, #2a1f42, var(--kr-ink));border-radius:999px;flex:none;align-items:stretch;height:40px;display:inline-flex;overflow:hidden}.sound-half{width:36px;color:var(--kr-text);cursor:pointer;transition:color var(--ease), background var(--ease);background:0 0;border:0;place-items:center;padding:0;display:grid}.sound-half+.sound-half{border-left:2px solid var(--kr-line)}.sound-half:hover{color:#fff;background:#a46bff38}.sound-half:focus-visible{outline:2px solid var(--kr-rift-cyan);outline-offset:-3px}.sound-half.off{color:var(--kr-muted)}@media (width<=600px){.sound-split{height:34px}.sound-half{width:30px}}.account-box{z-index:2;border:1px solid var(--kr-line);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0b091499;border-radius:999px;align-items:center;gap:10px;padding:4px 6px 4px 12px;display:flex;position:absolute;top:16px;left:16px}.account-box .btn{min-height:32px;padding:0 12px;font-size:.8rem}.account-form{gap:12px;min-width:min(360px,100vw - 64px);display:grid}.account-form label{gap:4px;display:grid}.account-form input{border:2px solid var(--kr-line);background:var(--kr-ink-2);color:var(--kr-text);font:inherit;border-radius:8px;padding:8px 10px}.account-form input:focus{border-color:var(--kr-rift);outline:none}@media (width<=600px){.account-box{white-space:nowrap;top:64px;left:50%;transform:translate(-50%)}}.relic-chip.permanent{box-shadow:0 0 0 2px var(--kr-ember), 0 0 8px #ffb34780;position:relative}.relic-chip.permanent:after{content:"★";color:var(--kr-ember);text-shadow:0 0 2px #000;font-size:9px;position:absolute;top:-7px;right:-6px}.fx-beam{transform-origin:0;height:4px;transform:rotate(var(--rot)) scaleX(0);background:linear-gradient(90deg, color-mix(in srgb, var(--beam) 30%, transparent), #fff 40%, var(--beam) 70%, #fff);box-shadow:0 0 8px 2px var(--beam), 0 0 18px 4px color-mix(in srgb, var(--beam) 60%, transparent);opacity:0;pointer-events:none;animation:fx-beam .34s ease-out var(--delay,0s) forwards;border-radius:4px;margin-top:-2px;position:fixed}.fx-layer.fast .fx-beam{animation-duration:.21s}@keyframes fx-beam{0%{opacity:1;transform:rotate(var(--rot)) scaleX(0)}25%{opacity:1;transform:rotate(var(--rot)) scaleX(1);height:5px}to{opacity:0;transform:rotate(var(--rot)) scaleX(1);height:1px}}.floater.buff{--glow-rgb:95 224 138;color:#d8ffe6;-webkit-text-stroke:1px #0a0614;font-size:18px}.floater.debuff{--glow-rgb:226 75 90;color:#ffd0d6;-webkit-text-stroke:1px #0a0614;font-size:20px}.floater.debuff .floater-glyph{color:#ff6b7d}.floater.buff .floater-glyph{color:#5fe08a}.fx-badges .fx.debuff{background:#e24b5a40;font-weight:800}.surprise-backdrop{z-index:250;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.surprise-card{text-align:center;background:radial-gradient(circle at 50% 0%, #a46bff59, transparent 60%), var(--kr-ink);border:3px solid var(--kr-rift);border-radius:18px;justify-items:center;gap:10px;width:min(380px,100vw - 32px);padding:26px 22px 20px;animation:.52s cubic-bezier(.2,1.4,.4,1) both surprise-in;display:grid;position:relative;box-shadow:0 0 40px #a46bff99,0 20px 50px #0009}.surprise-card.bad{background:radial-gradient(circle at 50% 0%, #e24b5a59, transparent 60%), var(--kr-ink);border-color:var(--kr-blood);box-shadow:0 0 40px #e24b5a8c,0 20px 50px #0009}.surprise-card h2{font-family:var(--font-title);margin:0;font-size:1.6rem}.surprise-card p{margin:0;line-height:1.45}.surprise-kicker{letter-spacing:.18em;text-transform:uppercase;color:var(--kr-rift-cyan);font-weight:800}.surprise-card.bad .surprise-kicker{color:var(--kr-blood)}.surprise-medal{width:84px;height:84px;color:var(--kr-ember);background:radial-gradient(circle at 35% 30%,#ffb34759,#140c1ee6);border:3px solid;border-radius:50%;place-items:center;animation:2.4s ease-in-out infinite surprise-spin;display:grid;box-shadow:0 0 24px #ffb3478c}.surprise-card.bad .surprise-medal{color:var(--kr-blood);box-shadow:0 0 24px #e24b5a8c}.surprise-card .choices{gap:8px;width:100%;display:grid}@keyframes surprise-in{0%{opacity:0;transform:scale(.6)rotate(-6deg)}}@keyframes surprise-spin{50%{transform:rotateY(180deg)}}html.reduced-motion .surprise-card,html.reduced-motion .surprise-medal{animation:none}.relic-gem.has-art{padding:0;overflow:hidden}.relic-gem.has-art img,.legend-chip img,.relic-chip img{object-fit:cover;border-radius:50%;width:100%;height:100%}.surprise-art{aspect-ratio:1;object-fit:cover;border:2px solid;border-radius:12px;width:min(220px,60vw);box-shadow:0 0 24px #a46bff80}.btn.end-turn:hover:not(:disabled),.btn.end-turn:active:not(:disabled){transform:none}.card-name.arched{display:block;overflow:visible}.card-name.arched svg{width:100%;height:100%;display:block;overflow:visible}.card-name.arched text{fill:currentColor;font-family:var(--font-title);letter-spacing:.02em;font-weight:700}.inspect-gear{gap:12px;display:grid}.battle-doll{border:1px solid var(--kr-line);background:radial-gradient(at 30% 70%,#a46bff2e,#0000 70%),#00000040;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:12px;padding:10px;display:grid}.battle-doll-figure{place-items:end center;min-height:260px;display:grid;overflow:hidden}.battle-doll-figure img{object-fit:contain;filter:drop-shadow(0 6px 12px #000000b3);max-width:100%;max-height:320px}.battle-doll-slots{align-content:center;gap:8px;display:grid}.battle-doll-slot{justify-items:center;gap:2px;display:grid}.battle-doll-slot .slot-label{letter-spacing:.08em;text-transform:uppercase;color:var(--kr-muted);font-size:.7em}.battle-doll-slot .gear-tile.compact{background:#0f0b19e0;width:140px;min-height:80px}.modal>header{position:relative}.modal>header:has(.inspect-bag){padding-right:70px}.inspect-bag{border:2px solid var(--kr-line);background:radial-gradient(circle at 50% 40%, #2a1f42, var(--kr-ink));width:40px;height:40px;color:var(--kr-gold,#e8c77a);cursor:pointer;transition:border-color var(--ease), box-shadow var(--ease), color var(--ease);border-radius:10px;place-items:center;padding:0;display:grid;position:absolute;top:0;right:18px}.inspect-bag:hover,.inspect-bag.on{border-color:var(--kr-rift);color:#fff;box-shadow:0 0 12px #a46bff99}.modal .tabs{flex-wrap:wrap}@media (width<=600px){.battle-doll{grid-template-columns:1fr}.battle-doll-figure{min-height:0;max-height:200px}.battle-doll-slots{grid-template-columns:1fr}.battle-doll-figure img{max-height:180px}.battle-doll-slot .gear-tile.compact{width:100%}}.inspect-items{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;display:grid}.inspect-items .item-tile{text-align:center;border:1px solid var(--kr-line);background:var(--kr-ink-2);border-radius:10px;justify-items:center;gap:4px;padding:8px;display:grid}.hud-leader{grid-template-columns:74px 1fr}.portrait-framed{width:70px;height:70px;display:block;position:relative}.portal-swirl{filter:blur(1.5px)drop-shadow(0 0 6px #6fd3ff99);background:conic-gradient(#6fd3ffe6,#a46bff26,#a46bffd9,#6fd3ff26,#6fd3ffe6);border-radius:50%;animation:9s linear infinite portal-turn;position:absolute;inset:0;-webkit-mask:radial-gradient(circle,#0000 56%,#000 58% 70%,#0000 72%);mask:radial-gradient(circle,#0000 56%,#000 58% 70%,#0000 72%)}.portal-stone{pointer-events:none;background:radial-gradient(circle at 50% 3%,#bfe9ff 0 1.6px,#0000 2.2px),radial-gradient(circle at 97%,#d5b8ff 0 1.6px,#0000 2.2px),radial-gradient(circle at 50% 97%,#bfe9ff 0 1.6px,#0000 2.2px),radial-gradient(circle at 3%,#d5b8ff 0 1.6px,#0000 2.2px);border:3px solid #4a4458;border-radius:50%;position:absolute;inset:5px;box-shadow:inset 0 0 0 1px #ffffff14,inset 0 0 10px #6fd3ff59,0 0 0 1px #0009}.portrait-framed .portrait-face{width:calc(100% - 16px);max-width:none;height:calc(100% - 16px);box-shadow:none;object-fit:cover;background:radial-gradient(circle at 50% 40%,#2c3d6b,#120d1e 75%);border:0;border-radius:50%;position:absolute;top:8px;left:8px}.portrait-face.placeholder{font-family:var(--font-title);color:var(--kr-parchment);place-items:center;display:grid}.portrait-ring{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}@keyframes portal-turn{to{transform:rotate(360deg)}}html.reduced-motion .portal-swirl{animation:none}img.portrait-crop{object-fit:cover;object-position:50% 30%}.card .card-art{border-radius:6px;inset:18.2% 12.7% 39.3% 13.8%}.portrait-framed.has-frame .portrait-face{width:70%;height:70%;top:15%;left:15%}.card,.card.fixed,.card.rarity-uncommon:not(.fixed),.card.rarity-rare:not(.fixed){background:0 0}.card .card-frame{z-index:2;pointer-events:none;background:var(--art-card-frame-common,url(/art/web/card-frame-common.webp)) center / 100% 100% no-repeat;position:absolute;inset:0}.card.rarity-uncommon:not(.fixed) .card-frame{background-image:var(--art-card-frame-uncommon,url(/art/web/card-frame-uncommon.webp))}.card.rarity-rare:not(.fixed) .card-frame{background-image:var(--art-card-frame-rare,url(/art/web/card-frame-rare.webp))}.card.fixed .card-frame{filter:saturate(.75)}.card .card-art{z-index:1;border-radius:0;inset:16.5% 10.5% 35.5% 11.5%}.card .card-cost,.card .card-uses,.card .card-name,.card .card-type,.card .card-text,.card .card-preview,.card .hotkey{z-index:3}.card .card-type{box-shadow:0 0 0 .5cqw color-mix(in srgb, var(--accent) 70%, transparent), 0 .6cqw 2cqw #00000080;color:color-mix(in srgb, var(--accent) 45%, #fff);background:#0a0614c7;border-radius:999px;gap:1.2cqw;padding:1.1cqw;font-size:0;line-height:0;display:flex;inset:auto auto 38.5% 15.5%;transform:none}.card .card-type .icon{width:10.5cqw;height:10.5cqw}.card .card-preview{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.card .card-preview.long{font-size:4.7cqw}@media (width<=600px) and (orientation:portrait){.scene .side .sprite.back{bottom:calc(clamp(92px, 12vh, 112px) + clamp(56px, 8vh, 80px) + var(--dy,0) * .6vh)}.scene .side .sprite.back .thought{top:-40px}.scene .side .sprite .nameplate{width:72px}.scene .side .sprite .nameplate>span:first-child{white-space:nowrap;text-overflow:ellipsis;font-size:min(.8rem,13px);display:block;overflow:hidden}.scene .side .sprite.back .intent{top:-20px}}@media (width<=600px){.map-scroll{align-items:flex-start;padding:8px 0}.map-top{gap:6px;padding:6px 10px}.map-top h1{font-size:1rem}.map-top>div>p.muted.small{display:none}.map-actions{gap:6px}.map-actions .btn{min-height:30px;padding:0 10px;font-size:.72rem}.party-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.party-strip .strip-member{grid-template-columns:1fr;justify-items:center;row-gap:2px;padding:3px 4px}.party-strip .strip-member img,.party-strip .strip-member .ph{grid-row:auto;width:28px;height:28px}.party-strip .strip-member .hp{width:100%}.party-strip .strip-name{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:.62rem;overflow:hidden}.party-strip .strip-member .muted.small{display:none}.map-legend{white-space:nowrap;flex-wrap:nowrap;justify-content:flex-start;padding:4px 10px;font-size:.68rem;overflow-x:auto}}.modal{max-width:calc(100vw - 64px)}html,body{overflow-x:clip}.party-box .btn.make-leader{width:auto;min-width:0;height:26px;color:var(--kr-text);padding:0 10px;font-size:.7rem}.party-box .slot-move .btn{width:auto;padding:0 8px;font-size:.8rem}.slot-move .btn{color:var(--kr-text)}.slot-move .btn:disabled{opacity:.25;cursor:default}@media (width<=700px){.party-screen{padding:10px 12px}.party-head{flex-wrap:wrap;gap:8px}.party-head .logo{width:44px;height:44px}.party-head h1{font-size:1.2rem}.party-layout{grid-template-columns:minmax(0,1fr)}.party-layout>*{min-width:0}}.hand.fan{flex-wrap:wrap;align-content:center;row-gap:0}@media (width>=601px){@container (width<=560px){.hand.fan:has(>.hand-slot:nth-child(5)) .hand-slot{--per-row:round(up, var(--n) / 2, 1);--cw:clamp(78px, calc((100cqw - 6px * var(--per-row) - 2px) / var(--per-row)), 110px);margin:calc(var(--cw) * -.275) 3px;transform:none}.hand.fan:has(>.hand-slot:nth-child(5)) .hand-slot:hover{transform:translateY(-8px)scale(1.06)}}}.sound-split{background:linear-gradient(135deg,#41304f,#191020 65%);border-color:#77608d;border-radius:6px;height:44px;box-shadow:inset 0 0 0 2px #110b1c,inset 0 0 0 3px #80679060,0 3px 8px #0007}.sound-half{width:42px}.btn.system-settings{background:linear-gradient(135deg,#41304f,#191020 65%);border:2px solid #77608d;border-radius:6px;place-items:center;width:44px;min-width:44px;height:44px;padding:0;font-size:22px;line-height:1;display:grid;box-shadow:inset 0 0 0 2px #110b1c,inset 0 0 0 3px #80679060,0 3px 8px #0007}.map-actions{justify-content:center;align-items:center}.map-top{grid-template-columns:auto minmax(0,1fr) auto;align-items:start;display:grid}.map-system-tools{justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.map-tools{display:contents}.map-tools-toggle,.map-tools-scrim{display:none}.map-navigation{flex-wrap:wrap;grid-column:1/-1;justify-content:center;gap:8px;display:flex}.map-command-row{flex-wrap:wrap;grid-column:1/-1;justify-content:center;align-items:center;gap:10px 18px;min-width:0;display:flex}.map-command-row>.map-navigation,.map-command-row>.map-actions{flex-wrap:nowrap;justify-content:center;align-items:center;gap:8px;margin:0;display:flex}.map-mobile-status{display:none}.map-top>div{min-width:0}.map-top>.map-actions{grid-column:1/-1;margin-left:0}.btn.system-settings.fullscreen-toggle{flex-basis:44px}@media (width<=1000px){.map-top{grid-template-columns:minmax(0,1fr) auto}.map-top>.party-strip{grid-area:2/1/auto/-1}.map-system-tools{grid-area:1/2}}@media (width<=600px){.map-top{grid-template-columns:minmax(0,1fr)}.map-system-tools{flex-wrap:wrap;grid-area:2/1}.map-top>.party-strip{grid-row:3}.btn.system-settings.fullscreen-toggle{flex-basis:38px}}@media (width<=760px){.map-screen>.map-top{grid-template-columns:minmax(0,1fr) 44px;gap:8px;padding:10px 12px;position:relative}.map-top>div:first-child{grid-area:1/1;align-self:center}.map-top>div:first-child>h1{overflow-wrap:anywhere;margin:0;font-size:clamp(.9rem,3.8vw,1.3rem)}.map-top>div:first-child>p{display:none}.map-top>.party-strip{grid-area:2/1/auto/-1;width:100%}.map-top>.party-strip .strip-member{box-sizing:border-box;padding:10px 8px}.map-top>.party-strip .strip-name{text-align:center;width:100%}.map-top>.map-actions{grid-area:3/1/auto/-1;gap:8px;margin:0}.map-top>.map-mobile-status{display:flex}.map-top .map-command-row{display:block}.map-top .map-command-row>.map-actions{display:none}.map-top>.map-tools-toggle{width:44px;height:44px;color:var(--kr-parchment);border:1px solid var(--kr-line);cursor:pointer;z-index:71;background:#251932;border-radius:8px;grid-area:1/2;place-items:center;padding:0;display:grid}.map-top .map-tools{display:none}.map-top .map-tools.open{box-sizing:border-box;border:1px solid var(--kr-rift);z-index:70;background:#191121fa;border-radius:12px;flex-direction:column;gap:16px;width:min(360px,100vw - 24px);max-height:calc(100dvh - 80px);padding:16px;display:flex;position:fixed;top:64px;right:12px;overflow-y:auto;box-shadow:0 12px 35px #0009}.map-top .map-tools .map-system-tools{flex-wrap:wrap;justify-content:center;display:flex}.map-top .map-tools .map-navigation{grid-template-columns:1fr;gap:10px;display:grid}.map-top .map-tools .map-navigation>.btn{width:100%;min-width:0}.map-top .map-tools-scrim{z-index:69;background:#09051180;display:block;position:fixed;inset:0}}@media (width<=600px){.sound-split{height:38px}.sound-half{width:34px}.btn.system-settings{width:38px;min-width:38px;height:38px;font-size:20px}}.card .card-text{overflow-wrap:anywhere;font-size:6cqw;line-height:1.18;top:66%;bottom:15%}.card.has-preview .card-text{bottom:24%}.card .card-text.long{font-size:5.7cqw}.card .card-text.longer{font-size:5.3cqw;line-height:1.15}.card .card-text.longest{font-size:4.8cqw;line-height:1.15}.card .card-preview{font-size:5cqw;line-height:1.2;top:auto;bottom:17%}.card .card-preview .muted{display:none}.card .card-text{box-sizing:border-box;align-items:flex-start;padding:1cqw 0;display:flex;top:68%;bottom:16%}.card.has-preview .card-text{font-size:5.3cqw;top:67%;bottom:22%}.card .card-description{flex-shrink:0;width:100%;line-height:1.25;display:block;transform:translateY(0)}.card:hover .card-text[data-overflow=true] .card-description,.card:focus-visible .card-text[data-overflow=true] .card-description{animation:card-copy-pan var(--copy-duration,6s) linear .7s infinite alternate both}@keyframes card-copy-pan{0%,15%{transform:translateY(0)}85%,to{transform:translateY(calc(-1 * var(--copy-distance,0px)))}}html.reduced-motion .card:hover .card-text[data-overflow=true] .card-description,html.reduced-motion .card:focus-visible .card-text[data-overflow=true] .card-description{animation:none}@media (prefers-reduced-motion:reduce){.card:hover .card-text[data-overflow=true] .card-description,.card:focus-visible .card-text[data-overflow=true] .card-description{animation:none}}.card.has-preview .card-text.long{font-size:5.3cqw}.card.has-preview .card-text.longer{font-size:4.8cqw}.card.has-preview .card-text.longest{font-size:4.3cqw}.modal.panel.upgrade-choice-modal{width:min(660px,100vw - 48px);max-width:calc(100vw - 48px);height:auto;max-height:calc(100dvh - 48px);padding:18px;overflow:visible}.upgrade-choice-modal h2{text-align:center;margin:0 0 12px;padding:0 12px}.upgrade-choice-modal .upgrade-paths{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;width:100%;min-width:0;margin:0;display:grid}.upgrade-choice-modal .upgrade-path{text-align:center;flex-direction:column;justify-content:flex-start;align-items:center;gap:8px;width:100%;min-width:0;max-width:none;display:flex}.upgrade-choice-modal .upgrade-path .card{aspect-ratio:2/3;flex:none;width:min(100%,200px,66.6667dvh - 153.333px);height:auto}.upgrade-choice-modal>.close-x{z-index:12}.card.upgraded:after{content:none}@media (width<=480px){.modal.panel.upgrade-choice-modal{padding:12px 8px}.upgrade-choice-modal .upgrade-paths{gap:12px}.upgrade-choice-modal .upgrade-path{font-size:.85rem}}.card .card-name.arched{height:8%;top:10%;left:27%;right:14%}.relic-tile.relic-picture-tile.collectible-relic{border:0;outline:none}.relic-tile.relic-picture-tile.collectible-relic:focus-visible{filter:brightness(1.2) drop-shadow(0 0 6px var(--kr-rift))}.relic-trade-backdrop{z-index:150;position:fixed;inset:0}.scroll-top-button[hidden]{display:none}.camp-upgrade-panel{padding-bottom:18px}.camp-upgrade-panel>.btn{flex:none;align-self:center;width:min(480px,100% - 100px);max-width:480px;margin:14px 50px 0}.camp-upgrade-panel>.scroll-top-button{bottom:22px;right:16px}.upgrade-hero-heading{align-items:center;gap:10px;display:flex}.upgrade-hero-heading img{object-fit:cover;border:1px solid var(--kr-rift);background:var(--kr-ink-2);border-radius:50%;flex:none;width:36px;height:36px}.node-screen.camp-world{isolation:isolate;position:relative}.figure>.fyruel-3d{pointer-events:none;width:200%;height:150%;position:absolute;inset:auto auto 0 -50%}.sprite .figure .fyruel-3d>img.full-figure{width:50%;height:66.6667%;position:absolute;bottom:0;left:25%}.sprite,.sprite .figure{overflow:visible}.fyruel-3d{width:100%;height:100%;position:relative}.fyruel-3d canvas{pointer-events:none;width:100%;height:100%;display:block}.camp-world:before{content:"";z-index:-1;pointer-events:none;opacity:.2;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48' viewBox='0 0 28 48'%3E%3Cpath d='M14 0 L28 8 L28 24 L14 32 L0 24 L0 8 Z M14 32 L14 48' fill='none' stroke='%23ad80ed' stroke-width='1.2'/%3E%3C/svg%3E");background-size:28px 48px;position:absolute;inset:0;-webkit-mask-image:radial-gradient(#0000 25%,#000 85%);mask-image:radial-gradient(#0000 25%,#000 85%)}.camp-rest-wave{z-index:90;pointer-events:none;background:radial-gradient(at 50% 60%,#ffcd7840,#0000 60%);animation:2s ease-out both camp-rest-flash;position:absolute;inset:0}.camp-rest-wave i{aspect-ratio:1;border:2px solid #ffdd9b;border-radius:50%;width:14%;animation:1.8s ease-out both camp-rest-ring;position:absolute;top:60%;left:50%;box-shadow:0 0 22px #ffc16a,inset 0 0 20px #b68aff}.camp-rest-wave i:nth-child(2){animation-delay:.18s}.camp-rest-wave i:nth-child(3){animation-delay:.35s}.camp-resting .camp-hero:not(.fallen) img{animation:2s ease-out camp-rest-hero}.camp-rest-heal{z-index:2;white-space:nowrap;color:#b5ffcc;text-shadow:0 2px 4px #000,0 0 12px #63ffaa;pointer-events:none;font-size:clamp(14px,1.5vw,24px);font-weight:800;animation:2s ease-out both camp-rest-number;position:absolute;top:15%;left:50%}@keyframes camp-rest-flash{0%,to{opacity:0}20%{opacity:1}}@keyframes camp-rest-ring{0%{opacity:1;transform:translate(-50%,-50%)scale(.3)}to{opacity:0;transform:translate(-50%,-50%)scale(9)}}@keyframes camp-rest-hero{30%{filter:drop-shadow(0 0 18px #95ffc6)brightness(1.25)}}@keyframes camp-rest-number{0%{opacity:0;transform:translate(-50%,10px)}20%,65%{opacity:1}to{opacity:0;transform:translate(-50%,-40px)}}html.reduced-motion .camp-rest-wave{animation-duration:1.2s}html.reduced-motion .camp-rest-wave i{display:none}html.reduced-motion .camp-resting .camp-hero img{animation:none}html.reduced-motion .camp-rest-heal{animation:1.2s ease-out both camp-rest-flash;transform:translate(-50%)}.modal.panel.relic-trade-modal{width:min(1440px,100vw - 48px);max-width:calc(100vw - 48px);height:min(780px,100dvh - 48px);max-height:calc(100dvh - 48px);overflow:visible}.relic-trade-modal .modal-body{flex:1 1 0;min-height:0;overflow:hidden auto}.relic-trade-count{flex-wrap:wrap;gap:12px 28px;display:flex}.relic-quality-group+.relic-quality-group{margin-top:24px}.relic-trade-modal>.btn{flex:none;align-self:center;width:min(520px,100%);max-width:520px}.horizontal-shelf{grid-template-columns:38px minmax(0,1fr) 38px;align-items:center;gap:10px;width:100%;min-width:0;display:grid}.horizontal-shelf>.shelf-track{box-sizing:border-box;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:auto;scrollbar-color:auto;flex-wrap:nowrap;justify-content:flex-start;align-items:flex-start;gap:20px;width:100%;min-width:0;margin:0;padding:12px 6px 20px;display:flex;overflow:auto hidden}.horizontal-shelf>.shelf-track>*{scroll-snap-align:start;flex:none}.horizontal-shelf .shelf-track::-webkit-scrollbar{height:18px}.horizontal-shelf .shelf-track::-webkit-scrollbar-track{background:#2c203b;border-radius:9px}.horizontal-shelf .shelf-track::-webkit-scrollbar-thumb{background:linear-gradient(#c49cff,#8550d2) padding-box padding-box;border:3px solid #2c203b;border-radius:9px}.shelf-arrow{color:#eadbff;cursor:pointer;background:linear-gradient(#3e2858,#1c122b);border:1px solid #76538e;border-radius:8px;place-items:center;width:38px;height:64px;padding:0;font-size:38px;line-height:1;display:grid}.shelf-arrow:disabled{opacity:.3;cursor:default}.shelf-arrow:hover:not(:disabled),.shelf-arrow:focus-visible{box-shadow:0 0 12px #aa6aff90}@media (width<=480px){.horizontal-shelf{grid-template-columns:30px minmax(0,1fr) 30px;gap:4px}.shelf-arrow{width:30px}.relic-trade-modal .modal-body{max-height:calc(100dvh - 390px)}}.character-sheet .qual-grid{flex-wrap:wrap;align-items:stretch;gap:10px;display:flex}.character-sheet .qual-group{flex:170px;min-width:0}.character-sheet .stat-groups{columns:240px 3;column-gap:16px;display:block}.character-sheet .stat-groups>section{break-inside:avoid;margin-bottom:16px}.sheet-racial-resists p{margin:0;font-size:.85rem;line-height:1.5}.character-sheet .sheet-head{padding-right:100px}.character-sheet .sheet-qp{position:absolute;top:16px;right:24px}.character-sheet .sheet-qp .qualification-budget{background:0 0;border:0;margin:0;padding:0;font-size:1rem}.log .line.fluid{border-left:3px solid;border-radius:5px;align-items:center;gap:6px;margin:3px 0;padding:3px 8px;font-weight:600;display:flex}.log .line.fluid.k-poison{color:#b4f7cc;background:#173d29}.log .line.fluid.k-acid{color:#d3deeb;background:#34404e}.log .line.fluid.k-mental{color:#e9c8ff;background:#352047}.log .line.fluid.k-elemental{color:#ffcd9c;background:#462a1b}.log-fluid-icon{object-fit:contain;flex:0 0 20px;width:20px;height:20px;line-height:20px;display:inline-block}.battle-log-dock{min-width:0;min-height:0;position:relative}.battle-log-window{z-index:40;border:2px solid var(--kr-line);background:#191522f5;border-radius:10px;width:100%;height:100%;transition:width .28s,height .28s,box-shadow .28s;position:absolute;bottom:0;right:0;overflow:hidden}.battle-log-heading{box-sizing:border-box;height:32px;color:var(--kr-muted);align-items:center;padding:0 42px 0 10px;font-size:.72rem;display:flex}.battle-log-content{position:absolute;inset:32px 0 0}.battle-bottom.hud .battle-log-window .log{background:0 0;border:0;border-radius:0;height:100%;display:block}.battle-log-toggle{color:#d6bee9;cursor:pointer;background:#231b31;border:1px solid #a985c966;border-radius:5px;place-items:center;width:26px;height:26px;padding:0;display:grid;position:absolute;top:3px;right:6px}.battle-log-toggle:hover{color:#fff;background:#39274e}.battle-log-toggle:focus-visible{outline:2px solid var(--kr-rift-cyan);outline-offset:2px}.battle-log-dock.expanded .battle-log-window{width:min(720px,100vw - 32px);height:min(640px,70dvh);box-shadow:0 12px 45px #0009}.battle-log-dock.expanded .log{font-size:.88rem;line-height:1.5}.log .line.miss{color:#bcaa9b}@media (width<=760px){.battle-bottom.hud .right-col{grid-template-rows:auto 32px}.battle-log-dock.expanded .battle-log-window{width:calc(100vw - 32px)}}@media (prefers-reduced-motion:reduce){.battle-log-window{transition:none}}html.reduced-motion .battle-log-window{transition:none}.floater.fluid{-webkit-text-stroke:0;background:#15101ee8;border:1px solid;border-radius:7px;padding:5px 9px;font-size:18px}.floater.fluid.k-poison{background:#173d29ed}.floater.fluid.k-acid{background:#34404eed}.floater.fluid.k-mental{background:#352047ed}.floater.fluid.k-elemental{background:#462a1bed}@media (width<=600px){.node-screen:not(.leaderboard-screen):not(.camp-world){box-sizing:border-box;padding:12px}.node-screen>.node-panel,.node-screen>.node-panel.wide{width:100%;min-width:0;max-width:100%}.node-screen .party-strip{grid-template-columns:repeat(4,minmax(0,1fr));width:100%;min-width:0;max-width:100%;display:grid}.node-screen .party-strip .strip-member{box-sizing:border-box;width:100%;min-width:0;padding:10px 6px}.party-strip .strip-portrait{width:32px;height:32px}.party-strip .strip-member .strip-portrait img,.party-strip .strip-member .strip-portrait .ph{width:30px;height:30px}.party-strip .strip-name{text-overflow:ellipsis;white-space:nowrap;width:100%;min-width:0;max-width:100%;overflow:hidden}.battle-log-window>.battle-log-toggle{display:grid}}.adventurer-bag,.hud-items.adventurer-bag{background:linear-gradient(#63462d,#302218);border:2px solid #87643d;border-radius:13px 13px 19px 19px;grid-template-columns:repeat(4,48px);gap:7px;padding:15px 12px 10px;display:grid;position:relative;box-shadow:inset 0 0 0 3px #291c15,inset 0 8px 12px #a57b4a44,0 4px 9px #0009}.hud-items.adventurer-bag:before{content:"";pointer-events:none;border:1px dashed #b18b5866;border-radius:9px 9px 14px 14px;position:absolute;inset:5px}.adventurer-bag .item-slot{box-sizing:border-box;background:radial-gradient(#392a20,#16110e);border:1px solid #a4814c;border-radius:7px;place-items:center;width:48px;height:48px;padding:5px;display:grid;box-shadow:inset 0 3px 6px #0009}.adventurer-bag .party-item-art{object-fit:contain;width:100%;height:100%;margin:0;display:block}.adventurer-bag .empty{opacity:.55}.hud-morale{color:#e9ce83;flex-direction:column;align-items:stretch;gap:4px;min-width:84px;display:flex}.morale-meter{background:#352e24;border:1px solid #776236;border-radius:8px;height:8px;display:block;overflow:hidden}.morale-meter i{background:linear-gradient(90deg,#c49a2c,#ffe68a);height:100%;transition:width .3s;display:block}.item-target-picker{width:min(520px,96vw)}.item-target-picker .choices{flex-wrap:wrap;gap:10px;display:flex}.price s{opacity:.7;margin-right:.5em;font-size:.8em}.hidden-shelf:has(.hidden-purchased):not(:has(.gear-tile)){padding:0}.hidden-shelf.hidden-purchased{box-shadow:none;color:var(--kr-muted);background:0 0;border:0;border-radius:0;margin:8px 0;padding:0;font-size:.8rem}.hidden-purchased{margin:4px 0;font-size:.9rem}.modal.panel.item-target-picker{height:auto;min-height:0;max-height:90dvh;padding:30px}.adventurer-bag .item-slot{touch-action:none}.relic-bag-slots.adventurer-bag{width:max-content;max-width:100%;margin:16px auto}.relic-bag-slots.adventurer-bag .relic-bag-empty{place-items:center;width:48px;height:48px;display:grid}.hud-left.panel{min-width:0}.hud-action-summary{box-sizing:border-box;width:100%;min-width:0}.hud-action-summary .hud-morale{flex:0 64px;width:64px;min-width:0}.hud-items.adventurer-bag{box-sizing:border-box;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;width:100%;min-width:0;padding:13px 9px 9px}.hud-items.adventurer-bag .item-slot{aspect-ratio:1;width:100%;min-width:0;height:auto}.relic-bag-slots.adventurer-bag .item-slot{position:relative}.relic-bag-slots.adventurer-bag .item-slot>.party-item-art{object-fit:contain;width:100%;max-width:100%;height:100%;max-height:100%;position:static;inset:auto;transform:none}.card.rarity-epic,.card.rarity-legendary,.card.rarity-unique{background:0 0}.card.rarity-epic .card-frame{background-image:var(--art-card-frame-rare,url(/art/web/card-frame-rare.webp));filter:sepia()saturate(2)hue-rotate(-15deg)}.card.rarity-legendary .card-frame{background-image:var(--art-card-frame-rare,url(/art/web/card-frame-rare.webp));filter:sepia()saturate(1.6)brightness(1.12)}.card.rarity-unique .card-frame{background-image:var(--art-card-frame-rare,url(/art/web/card-frame-rare.webp));filter:sepia()saturate(2.5)hue-rotate(-40deg)brightness(1.1)}.card.rarity-epic .card-uses{color:#ffb76f}.card.rarity-legendary .card-uses{color:#ffe599}.card.rarity-unique .card-uses{color:#ff9da9}.sprite.dead.targetable{pointer-events:auto;cursor:pointer;opacity:.7}.gear-action{appearance:none;color:#f3e8ff;font:inherit;white-space:normal;cursor:pointer;background:linear-gradient(#39254d,#1d142b);border:1px solid #a778d3;border-radius:6px;min-width:0;min-height:36px;padding:8px 6px;font-size:.78rem;line-height:1.25}.gear-action:disabled{opacity:.45;cursor:default}.gear-action:focus-visible{outline-offset:2px;outline:2px solid #ffd26e}.gear-trade-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:6px;display:grid}.gear-trade-actions small{grid-column:1/-1}.gear-info-backdrop{z-index:200}.modal.panel.gear-info-modal{flex-direction:column;width:min(760px,94vw);max-height:90dvh;display:flex}.gear-info-modal h2{padding-right:24px}.gear-info-modal .modal-body{min-height:0;overflow:auto}.gear-info-modal p{white-space:pre-line;line-height:1.65}.gear-info-modal p+p{border-top:1px solid #59436e;padding-top:16px}.camp-mobile-action{display:none}.help-toggle{color:#f8e7ff;width:30px;height:30px;font:inherit;cursor:pointer;background:#2e1f43;border:1px solid #ad80da;border-radius:50%;flex:none;font-size:18px}.relic-trade-heading{align-items:center;gap:12px;padding-right:28px;display:flex}.trade-help{background:#20162d;border:1px solid #725092;border-radius:6px;flex:none;max-height:30dvh;padding:10px;overflow:auto}.trade-help p{margin:0;font-size:.9rem;line-height:1.5}@media (width<=600px){.gear-info-backdrop{padding:0}.modal-backdrop.fixed:has(>.character-sheet){padding:0}.modal-backdrop.fixed:has(>.relic-trade-modal){padding:0}.modal-backdrop.fixed:has(>.camp-shop-modal){padding:0}.modal.panel.character-sheet,.modal.panel.relic-trade-modal,.modal.panel.camp-shop-modal,.modal.panel.gear-info-modal{box-sizing:border-box;width:100%;max-width:100%;height:100dvh;max-height:100dvh;padding:calc(22px + env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom));flex-direction:column;min-height:0;margin:0;display:flex}.character-sheet>.modal-body,.camp-shop-modal>.modal-body,.relic-trade-modal>.modal-body{flex:1 1 0;min-height:0;max-height:none;overflow:hidden auto}.character-sheet .sheet-qp{align-self:flex-start;margin:0 0 8px 78px;position:static}.modal.character-sheet header.sheet-head{grid-template-columns:64px minmax(0,1fr);gap:12px;padding-right:0}.character-sheet .sheet-head h2{overflow-wrap:anywhere;margin:0 0 5px;font-size:clamp(20px,6vw,28px)}.character-sheet .sheet-head .small{font-size:.75rem}.character-sheet .sheet-portrait img{width:60px;height:60px}.character-sheet .sheet-hp{max-width:100%}.character-sheet>.tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:12px 0;display:grid}.character-sheet>.tabs button{min-width:0;padding:8px 4px;font-size:.8rem}.relic-trade-modal .choices{flex:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.relic-trade-modal .choices .btn{width:100%;min-width:0;min-height:40px;margin:0;padding:8px 4px;font-size:.78rem}.relic-trade-modal h2{margin:8px 0;font-size:1.3rem}.relic-trade-count{gap:4px;font-size:.8rem}.relic-trade-modal>.btn{white-space:normal;min-height:48px;font-size:.85rem}.inventory .inv-inline-equip{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;display:grid}.inventory .inv-inline-equip .gear-action{min-height:36px;padding:6px 3px;font-size:clamp(10px,2.8vw,13px)}.node-screen.camp-world{align-items:start;width:100%;min-width:0;padding:0}.camp-world .camp-world-panel{border-radius:0;width:100%;max-width:none;margin:0}.camp-world .camp-world-head{padding:12px 8px 4px;position:relative;top:auto}.camp-world .camp-resources{flex-wrap:wrap;justify-content:space-between;margin:8px 12px;display:flex;position:relative;top:auto;left:auto}.camp-world .camp-stage{aspect-ratio:16/9;background-size:contain;border-radius:0}.camp-world .camp-stage>.camp-supplies,.camp-world .camp-stage>.camp-workbench{display:none}.camp-world .camp-stage>.camp-hero{height:calc(29% * var(--camp-scale,1))}.camp-world .camp-hero-label{padding:2px 4px;font-size:9px;bottom:-13px}.camp-world .camp-stage>.camp-rest{width:38%;height:40px;min-height:40px;padding:4px;font-size:12px;top:calc(100% - 44px)}.camp-world .camp-world-actions{flex-direction:column;align-items:center;gap:8px;padding:14px 12px;display:flex}.camp-world-actions .camp-mobile-action{display:block}.camp-world-actions>.btn{width:min(360px,100%);max-width:100%;min-height:48px;margin:0}.map-screen .map-legend,.map-legend{white-space:normal;padding:8px 4px calc(8px + env(safe-area-inset-bottom));grid-template-columns:repeat(5,minmax(0,1fr));gap:5px 2px;font-size:10px;display:grid;overflow:visible}.map-legend>span{text-align:center;overflow-wrap:anywhere;flex-direction:column;align-items:center;gap:2px;min-width:0;display:flex}.map-legend .legend-icon{flex:none;width:22px;height:22px}}.adventurer-bag,.hud-items.adventurer-bag,.relic-bag-slots.adventurer-bag{aspect-ratio:1024/296;background:var(--art-stone-item-tray-v1) center / 100% 100% no-repeat;width:250px;max-width:100%;height:auto;box-shadow:none;box-sizing:border-box;border:0;border-radius:0;padding:0;display:block;position:relative}.hud-items.adventurer-bag{width:100%}.hud-items.adventurer-bag:before{content:none}.adventurer-bag .item-slot,.hud-items.adventurer-bag .item-slot,.relic-bag-slots.adventurer-bag .item-slot,.adventurer-bag .relic-bag-empty,.relic-bag-slots.adventurer-bag .relic-bag-empty{aspect-ratio:auto;width:20%;min-width:0;height:72%;box-shadow:none;background:0 0;border:0;border-radius:4px;place-items:center;margin:0;padding:4px;display:grid;position:absolute;top:14%}.adventurer-bag>:first-child{left:4%}.adventurer-bag>:nth-child(2){left:28%}.adventurer-bag>:nth-child(3){left:52%}.adventurer-bag>:nth-child(4){left:76%}.adventurer-bag .item-slot>.party-item-art,.relic-bag-slots.adventurer-bag .item-slot>.party-item-art{object-fit:contain;width:100%;max-width:100%;height:100%;max-height:100%;margin:0;display:block;position:static;inset:auto;transform:none}.adventurer-bag .item-slot:hover:not(:disabled),.adventurer-bag .item-slot:focus-visible{background:#53cfc622;outline:1px solid #90ede2;box-shadow:0 0 8px #53cfc64d}.adventurer-bag .empty,.adventurer-bag .relic-bag-empty{color:#0000;opacity:1}@media (width>=901px) and (height<=800px){.hud-left.panel{gap:3px;padding:8px 10px;overflow-y:auto}.hud-left .hud-leader{grid-template-columns:40px minmax(0,1fr);gap:8px;height:44px}.hud-left .hud-leader .portrait,.hud-left .hud-leader .portrait-framed{width:40px;height:40px}.hud-left .hud-action{gap:2px}.hud-left .action-gems i{border-width:1px;width:16px;height:16px}.hud-left .pile{padding:4px 6px}.hud-left .pile-cards{width:22px;height:28px}.hud-left .hud-status:empty{display:none}}.battle-bottom.hud{padding-bottom:0;padding-left:0}.hud-left.panel{--commander-inset:14px;isolation:isolate;padding:16px var(--commander-inset) 0;box-shadow:none;scrollbar-color:#568c83 #11242a;background:0 0;border:0;border-radius:0;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:6px;position:relative;overflow-y:auto}.hud-left.panel:before{content:"";aspect-ratio:3/4;opacity:1;z-index:-1;background:var(--art-commander-stone-panel-v1) center / contain no-repeat;pointer-events:none;border:0;width:104%;height:auto;position:absolute;inset:auto -2% 0}.hud-left.panel .hud-items.adventurer-bag{width:calc(100% + 2 * var(--commander-inset));max-width:none;margin:0 calc(0px - var(--commander-inset));grid-row:5;align-self:end}.hud-left .hud-status{grid-row:4;align-content:start;min-height:0;overflow:auto}.hud-left .pile{background:linear-gradient(135deg,#10222b99,#08141c99);border-color:#65878080;border-radius:2px;box-shadow:inset 0 1px #c5eee51a}.hud-left .portal-swirl{background:conic-gradient(#6de2dccc,#225e6526,#58bfb5cc,#225e6526,#6de2dccc)}@media (width>=901px) and (height<=800px){.hud-left.panel{--commander-inset:10px;gap:3px;padding-top:10px}}.hud-left.panel:after{content:none}.item-drag-ghost{z-index:150;pointer-events:none;filter:drop-shadow(0 0 6px #58bdb588);width:48px;height:48px;position:fixed}.item-drag-ghost img{object-fit:contain;width:100%;height:100%}.hud-left .hud-piles .pile{grid-template-columns:26px minmax(0,1fr);column-gap:8px}.hud-left .hud-piles .pile small{white-space:normal;overflow-wrap:anywhere}.hud-left .hud-status{text-align:center;overflow-wrap:anywhere;place-content:center;width:100%;display:grid}.relic-tile.selected,.relic-tile.active,.relic-tile:hover:not(:disabled),.gear-tile.selected,.gear-tile.selected:hover:enabled{border-color:#7cecdf;box-shadow:0 0 0 1px #72dccc,0 0 18px #50d9c866}.relic-tile-wrap{flex-direction:column;align-items:center;gap:6px;width:170px;max-width:100%;display:flex}.relic-info-button{width:100%;min-height:32px;font-size:.75rem}.relic-info-copy{box-sizing:border-box;text-align:left;background:#10252dee;border:1px solid #5c9b94;width:100%;padding:12px;font-size:.8rem;line-height:1.5}.relic-info-copy p{margin:8px 0}.relic-info-copy hr{border:0;border-top:1px solid #5c9b94;margin:12px 0}.relic-tile.relic-picture-tile.active{box-shadow:0 0 16px #50d9c866}.relic-tile.relic-picture-tile.active:after{background:0 0;border-color:#8af5e3;box-shadow:inset 0 0 0 1px #3a7e76}.relic-tile.selected,.relic-tile.active,.relic-tile:hover:not(:disabled),.relic-tile.relic-picture-tile.active,.gear-tile.selected,.gear-tile.selected:hover:enabled{border-color:#4f8d8770;box-shadow:0 0 8px #56a49b33}.relic-tile.relic-picture-tile.active:after{content:none}.modal.panel.relic-modal .relic-tabs>.btn{border:10px solid #0000;border-image:var(--art-button-secondary) 60 110 fill / 10px 24px round stretch;min-height:58px;font-family:var(--font-title);background:0 0;border-radius:0;padding:2px 14px;font-size:.85rem}.modal.panel.relic-modal .relic-tabs>.btn small{display:block}@media (width>=601px){.modal.panel.relic-modal{flex-direction:column;height:calc(100dvh - 40px);max-height:calc(100dvh - 40px);display:flex}.relic-modal>.modal-body{flex:1;min-height:0;max-height:none;overflow:auto}}.social-empty-confirm{z-index:210}.relic-trade-modal .collectible-relic.selected:before{filter:drop-shadow(0 0 7px #57dccc)}.battle-bottom.hud{overflow:visible}.hud-left.panel{--commander-inset:14px;aspect-ratio:3/4;box-sizing:border-box;height:auto;padding:18px var(--commander-inset) 0;z-index:45;align-self:end;gap:7px;overflow:visible}.hud-left .hud-leader{grid-template-columns:70px minmax(0,1fr);gap:10px;height:auto}.hud-left .hud-leader .portrait,.hud-left .hud-leader .portrait-framed{width:70px;height:70px}.hud-left .hud-leader-info .hp{box-sizing:border-box;width:100%;max-width:100%}.hud-left .hud-action{gap:4px}.hud-left .pile{grid-template-columns:26px minmax(0,1fr);column-gap:6px;padding:6px}.hud-left .pile-cards{width:26px;height:36px}.hud-left .hud-piles .pile{column-gap:6px}.hud-left .hud-piles .pile small{letter-spacing:.04em}.hud-left .action-gems i,.hud-left .action-gems.has-art i{background:var(--art-orb-action-rift-v1) center / contain no-repeat;width:28px;height:28px;box-shadow:none;filter:grayscale()brightness(.32);opacity:.8;border:0;border-radius:0;flex:none;animation:none}.hud-left .action-gems i.on,.hud-left .action-gems.has-art i.on{background:var(--art-orb-action-rift-v1) center / contain no-repeat;filter:drop-shadow(0 0 3px #62d8cc55);opacity:1}.battle-log-window{box-sizing:border-box;border:24px solid #0000;border-image:var(--art-panel-stone-log-v1) 160 fill / 24px stretch;background:#101c22 padding-box padding-box;border-radius:0;flex-direction:column;display:flex;overflow:visible}.battle-log-heading{color:#a2c5c2;flex:none;height:26px;padding:0 32px 0 3px}.battle-log-content{flex:1;min-height:0;margin:0 -8px -8px;position:relative;inset:auto;overflow:hidden}.battle-log-window .log.panel:before,.battle-log-window .log.panel:after{content:none}.battle-log-window .log{scrollbar-color:#568c83 #11242a;padding:6px 8px}.battle-log-toggle{color:#b3eee4;background:#14282c;border-color:#608d8980;border-radius:2px;top:1px;right:1px}.battle-log-toggle:hover,.battle-log-toggle:focus-visible{color:#effffb;background:#25454a;border-color:#a4ece0}.social-empty-confirm>.modal.panel{width:min(480px,100vw - 32px);height:auto;min-height:0;max-height:calc(100dvh - 40px)}.modal.panel.relic-modal .relic-tabs>.btn[aria-selected=true]{border-image-source:var(--art-button-primary)}.modal.panel.relic-modal .relic-tabs>.btn{flex-direction:column;gap:0}.modal.panel.relic-modal .relic-tabs>.btn[aria-selected=true]{color:#fff2cf}.gear-tile:hover:not(:disabled){box-shadow:0 0 6px #56a49b33}.hud-left .hud-status .hint{white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%;padding-top:3px}.relic-chip.relic-overflow{box-sizing:border-box;aspect-ratio:auto;white-space:nowrap;width:auto;min-width:28px;height:28px;font-family:var(--font-title);font-variant-numeric:tabular-nums;background:var(--kr-rift);color:#fff;border:0;border-radius:999px;align-self:center;margin:0;padding:0 10px;font-size:.95rem;font-weight:900;line-height:1}.modal.panel.relic-modal .relic-tabs>.btn{flex-direction:row;align-items:center;gap:10px;min-height:46px}.modal.panel.relic-modal .relic-tabs>.btn small{white-space:nowrap;font:inherit;line-height:inherit;margin:0;display:inline}.relic-modal #relic-tab-content>section:has(.choices){padding-inline:10px;padding-bottom:10px}.modal.panel.item-target-picker>.btn{margin-bottom:8px;margin-left:10px}.holder-thumb{object-fit:cover;border-radius:50%;flex:none;width:28px;height:28px}.camp-shop-modal{width:min(1080px,100vw - 48px)}.camp-shop-modal>.camp-inventory-button{box-sizing:border-box;flex:none;align-self:center;width:240px;max-width:100%;min-height:48px}.sprite.party .reticle{border-color:#76e6d6;box-shadow:0 0 12px #76e6d633}.sprite.party .reticle:after{border-color:#76e6d6}.sprite.party.drop-over .reticle,.sprite.party.targetable:hover .reticle{border-color:#a8fff0}.sprite.party .reticle{background:radial-gradient(#76e6d633,#0000 70%);box-shadow:0 0 18px #76e6d666,inset 0 0 12px #76e6d644}.sprite.party.drop-over .reticle,.sprite.party.targetable:hover .reticle{box-shadow:0 0 26px #76e6d6aa,inset 0 0 14px #76e6d677}.surprise-medal.has-art{box-shadow:none;background:0 0;border:0;width:100px;height:100px}.surprise-medal.has-art img{object-fit:contain;filter:drop-shadow(0 2px 4px #0008);width:100%;height:100%}.starfall-effects{pointer-events:none;z-index:8;position:absolute;inset:0}.starfall-impact{position:absolute;inset:0}.starfall-impact i{color:#ffedb0;font:40px var(--font-title);text-shadow:0 0 12px #e3b1ff;animation:.65s ease-in both starfall-flight;position:absolute;top:38%;left:50%}.starfall-impact i:nth-child(2){font-size:28px;animation-delay:80ms;left:30%}.starfall-impact i:nth-child(3){font-size:32px;animation-delay:.14s;left:70%}.starfall-impact b{border:2px solid #ffdf9e;border-radius:50%;width:110px;height:110px;margin:-55px;animation:.5s ease-out .35s both starfall-burst;position:absolute;top:48%;left:50%;box-shadow:0 0 24px #a46bff}@keyframes starfall-flight{0%{opacity:0;transform:translate(100px,-250px)scale(.4)}20%{opacity:1}75%{opacity:1;transform:translate(-10px)scale(1.2)}to{opacity:0;transform:translate(-30px,30px)scale(.4)}}@keyframes starfall-burst{0%{opacity:0;transform:scale(.2)}30%{opacity:1}to{opacity:0;transform:scale(1.5)}}html.reduced-motion .starfall-impact i,html.reduced-motion .starfall-impact b{opacity:.65;animation:none}@media (prefers-reduced-motion:reduce){.starfall-impact i,.starfall-impact b{opacity:.65;animation:none}}.modal-backdrop.fixed.relic-trade-backdrop{z-index:250}.tile-health{color:#c8dcd9;font-size:.78rem}.relic-tab-short{display:none}.modal.panel.relic-modal{flex-direction:column;min-height:0;display:flex}.relic-modal>.modal-body{flex:1;min-height:0;max-height:none;overflow:auto}.relic-rules{flex:none;max-height:min(24dvh,200px);line-height:1.55;overflow:auto}.relic-modal>.relic-tabs{flex:none}@media (width<=600px){.modal.panel.relic-modal .relic-tabs>.btn{white-space:nowrap;border-width:8px;gap:4px;height:40px;min-height:40px;padding:2px 3px;font-size:.66rem}.relic-tab-label{display:none}.relic-tab-short{display:inline}.modal.panel.relic-modal>.btn{white-space:normal;overflow-wrap:anywhere;box-sizing:border-box;min-width:0;max-width:100%;height:auto;min-height:54px;padding:6px 10px;font-size:.75rem;line-height:1.2}}.relic-chip img.medal-icon{object-fit:contain;border-radius:0}.relic-chip.relic-social-summary{box-sizing:border-box;border-color:var(--kr-rift);width:28px;height:28px;color:var(--kr-rift);cursor:pointer;flex:none;margin:0;padding:2px}.relic-chip.relic-social-summary img{object-fit:contain;width:100%;height:100%}.level-hero-heading{justify-content:center;align-items:center;gap:10px;display:flex}.level-hero-heading>img{object-fit:cover;border:1px solid #a46bff;border-radius:50%;width:44px;height:44px}@media (width>=601px){.modal.panel.character-sheet{height:min(840px,100dvh - 40px);max-height:calc(100dvh - 40px)}}.node-screen.leaderboard-screen{background:linear-gradient(#0c0914a6,#0c0914d9),var(--art-bg-act3-arena) center / cover fixed}.node-panel.wide.leaderboard{background:#10151ee8;box-shadow:0 12px 48px #0008}.leaderboard .board-counts{width:min(100%,800px)}.leaderboard .board-counts>div{box-sizing:border-box;border:18px solid #0000;border-image:var(--art-panel-stone-log-v1) 160 fill / 18px stretch;background:0 0;border-radius:0;gap:10px;padding:12px 6px}.leaderboard .board-counts strong{text-shadow:0 2px 4px #000}@media (width<=600px){.leaderboard .board-counts>div{border-width:12px;border-image-width:12px;padding:10px 2px}.leaderboard .board-counts span{font-size:.72rem}}.relic-trade-modal .collectible-relic.trade-unavailable{cursor:not-allowed;box-shadow:none}.relic-trade-modal .collectible-relic.trade-unavailable:before{filter:grayscale();opacity:.5}.relic-denied-wave{z-index:3;pointer-events:none;background:url(/art/web/node-selection-aura.png) 50%/contain no-repeat;animation:.65s ease-out both relic-denied-wave;position:absolute;inset:-20%}@keyframes relic-denied-wave{0%{opacity:1;transform:scale(.6)}to{opacity:0;transform:scale(1.5)}}@keyframes relic-denied-fade{0%{opacity:.6}to{opacity:0}}@media (prefers-reduced-motion:reduce){.relic-denied-wave{animation:.3s ease-out both relic-denied-fade}}html.reduced-motion .relic-denied-wave{animation:.3s ease-out both relic-denied-fade}.fyruel-demo{align-items:center;gap:20px;margin:12px 0 24px;display:flex}.fyruel-demo-preview{flex:0 0 240px;width:240px;height:320px}.fyruel-demo-preview img{object-fit:contain;width:100%;height:100%}.fyruel-demo-controls{flex-wrap:wrap;gap:6px;display:flex}.fyruel-demo-controls p{flex-basis:100%}.fyruel-demo-controls .btn{width:128px;min-height:40px}@media (width<=620px){.fyruel-demo{flex-direction:column}.fyruel-demo-controls{justify-content:center}}.modal.panel.inventory-modal{width:min(1760px,100vw - 32px);max-width:calc(100vw - 32px);height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);padding:16px}.modal.panel.inventory-modal>header.inventory-heading{align-items:center;min-height:32px;padding-right:170px;display:flex;position:relative}.modal.panel.inventory-modal>header.inventory-heading>h2{margin:0}.modal.panel.inventory-modal>header.inventory-heading>.inventory-roster-count{white-space:nowrap;margin:0;position:absolute;top:50%;right:32px;transform:translateY(-50%)}.inventory{grid-template-columns:minmax(260px,1fr) minmax(280px,1.15fr) minmax(190px,.7fr);grid-template-areas:"heroes heroes heroes""doll bag compare";gap:20px;min-width:0;display:grid}.inventory>*{min-width:0}.inventory .inv-heroes{grid-area:heroes;display:block}.inv-roster-heading{color:var(--kr-muted);margin-bottom:8px;display:block}.inv-roster-heading small{margin-left:8px}.inv-hero-list{scrollbar-width:auto;scrollbar-color:auto;gap:8px;padding:2px 2px 8px;display:flex;overflow-x:auto}.inv-hero-list::-webkit-scrollbar{height:18px}.inv-hero-list::-webkit-scrollbar-track{background:#2c203b;border-radius:9px}.inv-hero-list::-webkit-scrollbar-thumb{background:linear-gradient(#c49cff,#8550d2) padding-box padding-box;border:3px solid #2c203b;border-radius:9px}.inventory .inv-hero{text-align:left;border-radius:10px;flex:0 0 132px;gap:8px;width:auto;height:auto;min-height:56px;padding:6px;display:flex}.inventory .inv-hero img{border-radius:50%;flex:none;width:40px;height:40px}.inv-hero-label{flex-direction:column;min-width:0;display:flex}.inv-hero-label b{overflow-wrap:anywhere;font-size:.85rem}.inv-hero-label small{color:var(--kr-muted);font-size:.7rem}.inventory .paperdoll{grid-area:doll}.inventory .inv-bag{grid-area:bag}.inventory .inv-compare{overflow-wrap:anywhere;grid-area:compare}.inventory .doll{background:linear-gradient(145deg,#28203980,#120e1e);grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px;width:100%;min-width:0;height:auto;padding:10px;display:grid}.inventory .doll-figure{object-fit:contain;grid-area:auto/1/auto/-1;width:100%;height:180px;max-height:180px;position:static;transform:none}.inventory .doll-slot,.inventory .doll-slot.s-armour{grid-column:auto;width:100%;min-width:0;padding:0;position:static;transform:none}.inventory .doll-slot .gear-tile.compact{width:100%}.inventory .doll-slot.s-offhand{position:relative;inset:auto}.inventory .inv-offhand-unequip{z-index:2;border-radius:4px;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;font-size:1.3rem;line-height:1;display:grid;position:absolute;top:6px;right:6px}.inventory .inv-offhand-unequip:focus-visible{outline:2px solid var(--kr-rift);outline-offset:2px}.gear-art{object-fit:contain;filter:drop-shadow(0 4px 5px #0008);width:100%;height:100px;margin:0 auto 6px;display:block}.inventory .bag-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media (width>=1500px){.inventory{grid-template-columns:minmax(340px,.9fr) minmax(0,1.6fr) minmax(230px,.6fr)}.inventory .bag-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}.inventory .gear-tile{overflow-wrap:anywhere;width:100%;min-width:0}.inventory .bag-cell{touch-action:pan-y}.inventory .inv-remove{width:100%;min-height:36px;margin-top:4px;font-size:.8rem}@media (width<=600px){.modal.panel.inventory-modal>header.inventory-heading{flex-direction:column;align-items:flex-start;gap:4px;padding-right:36px}.modal.panel.inventory-modal>header.inventory-heading>.inventory-roster-count{white-space:normal;font-size:.8rem;position:static;transform:none}}.inventory .inv-actions{flex-direction:column;gap:8px;display:flex}.inventory .inv-actions .btn{min-height:44px}@media (width<=1000px){.inventory{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"heroes heroes""doll bag""compare compare"}}@media (width<=600px){.modal.panel.inventory-modal{--panel-frame-width:10px;border-width:10px;width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);padding:12px}.inventory-modal>header h2{font-size:1.5rem}.inventory{grid-template-columns:minmax(0,1fr);grid-template-areas:"heroes""doll""bag""compare";gap:16px}.inv-hero-list{scroll-snap-type:x proximity;padding:2px 2px 8px;display:flex;overflow-x:auto}.inventory .inv-hero{scroll-snap-align:start;flex:0 0 120px}.inventory .doll{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory .doll-figure{height:140px;max-height:140px}.inventory .inv-remove{min-height:44px}.inventory .inv-sort .btn{min-height:44px;padding:6px 10px}.inventory .inv-compare{padding:12px}.inventory .gear-tile.compact{padding:8px}.gear-tile.compact .gear-art{height:64px}}.inventory:not(.has-comparison){grid-template-columns:minmax(260px,.9fr) minmax(0,1.6fr);grid-template-areas:"heroes heroes""doll bag"}@media (width<=600px){.inventory:not(.has-comparison){grid-template-columns:minmax(0,1fr);grid-template-areas:"heroes""doll""bag"}}.inventory .inv-locked-slot{aspect-ratio:1;color:#807487;background:repeating-linear-gradient(135deg,#0000 0 12px,#82728e0b 12px 14px),#100d18;border:1px solid #53485b;flex-direction:column;justify-content:center;align-items:center;gap:12px;font-size:.8rem;display:flex}.inventory .inv-lock-icon{filter:grayscale();opacity:.65;font-size:1.8rem}.inventory .slot-locked{cursor:not-allowed}.inventory .slot-locked:focus-visible{outline:2px solid var(--kr-rift);outline-offset:2px}.inventory .inv-split-slot{aspect-ratio:1;color:#92ded4;background:#102623;border:1px solid #5c7976;font-size:.8rem;position:relative;overflow:hidden}.inventory .inv-split-slot:before{content:"";clip-path:polygon(100% 0,100% 100%,0 100%);background:repeating-linear-gradient(135deg,#0000 0 12px,#82728e15 12px 14px),#100d18;position:absolute;inset:0}.inventory .inv-split-slot:after{content:"";pointer-events:none;background:linear-gradient(135deg,#0000 calc(50% - 1px),#5c7976 50%,#0000 calc(50% + 1px));position:absolute;inset:0}.inventory .inv-catalyst-half{text-align:center;width:48%;position:absolute;top:22%;left:4%}.inventory .inv-hand-half{text-align:center;color:#807487;flex-direction:column;align-items:center;gap:8px;width:48%;display:flex;position:absolute;bottom:18%;right:4%}.inventory .slot-catalyst-only:focus-visible{outline:2px solid var(--kr-rift);outline-offset:2px}.inv-hero{position:relative}.inv-upgrade-dot{z-index:2;background:#ff9b23;border-radius:50%;width:9px;height:9px;position:absolute;top:6px;right:6px;box-shadow:0 0 5px #ff9b23,0 0 12px #ff7b00}.inventory .bag-cell{position:relative}.inventory .bag-cell.has-inline-equip .gear-footer{visibility:hidden}.inventory .inv-inline-equip{z-index:2;justify-content:center;gap:4px;display:flex;position:absolute;bottom:8px;left:8px;right:8px}.inventory .inv-inline-equip .btn{box-sizing:border-box;border-width:4px;letter-spacing:.03em;white-space:nowrap;border-image-width:4px 12px;flex:0 140px;justify-content:center;align-items:center;min-width:0;height:28px;min-height:28px;padding:0 8px;font-size:.7rem;line-height:1.2;display:flex}@media (width>=1001px){.inventory .bag-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:min(960px,100%,133.333dvh - 383.333px);margin-inline:auto}.inventory .inv-bag .gear-tile{--gear-name-size:clamp(.65rem,.8vw,.85rem);padding:7px}.inventory .inv-bag .gear-details{font-size:clamp(.6rem,.7vw,.75rem)}.inventory .inv-bag .gear-details .gear-head{margin-bottom:3px}}.inventory .inv-inline-equip{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.inventory .inv-inline-equip>.gear-action:only-child{grid-column:1/-1}.inventory .inv-inline-equip .gear-action{box-sizing:border-box;width:100%}.inv-upgrade-dot.offhand-optional{opacity:.6;background:#927ba9;width:6px;height:6px;box-shadow:0 0 4px #9478b055}.inventory .inv-hero-list{scrollbar-width:auto}.inventory .inv-hero-list::-webkit-scrollbar{height:8px}.gear-tile{isolation:isolate;--gear-name-size:.9rem;aspect-ratio:1;grid-template-rows:minmax(0, 1fr) calc(var(--gear-name-size) * 2.6) 18px;border:1px solid color-mix(in srgb, var(--q) 65%, #51405d);background:radial-gradient(ellipse at top, color-mix(in srgb, var(--q) 12%, #21182d), #110e1b 75%);height:auto;min-height:0;box-shadow:inset 0 0 0 3px #110d19, inset 0 0 0 4px color-mix(in srgb, var(--q) 25%, #291f35), 0 5px 14px #0005;border-radius:3px;align-content:stretch;gap:4px;padding:10px;position:relative}.gear-tile:before,.gear-tile:after{content:"";border:solid var(--q,#796685);pointer-events:none;width:12px;height:12px;position:absolute}.gear-tile:before{border-width:2px 0 0 2px;top:3px;left:3px}.gear-tile:after{border-width:0 2px 2px 0;bottom:3px;right:3px}.gear-art-stage{background:radial-gradient(ellipse, color-mix(in srgb, var(--q) 16%, transparent), transparent 70%);border-bottom:1px solid color-mix(in srgb, var(--q) 35%, transparent);place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid;position:relative;overflow:hidden}.gear-tile .gear-art{object-fit:contain;filter:drop-shadow(0 6px 6px #0009);width:100%;min-width:0;max-width:100%;height:100%;min-height:0;max-height:100%;margin:0;padding:4px;position:absolute;inset:0}.gear-tile.compact .gear-art{height:100%}.gear-tile .gear-art.gear-art-offhand{transform:scaleX(-1)}.gear-tile .gear-name{width:100%;min-width:0;min-height:0;font-family:var(--font-title);font-size:var(--gear-name-size);text-wrap:balance;justify-content:center;align-items:center;font-weight:700;line-height:1.3;display:flex}.gear-name>span{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.gear-tile .gear-footer{white-space:nowrap;border:0;width:100%;min-width:0;padding:0;font-size:.7rem;line-height:1.25;display:block}.gear-tile.compact{--gear-name-size:.78rem;gap:4px;min-height:0;padding:8px}.profile-equipment .gear-tile{--gear-name-size:1rem;width:100%}.profile-equipment>section>span{font-family:var(--font-title);color:var(--kr-muted);letter-spacing:.08em;font-size:.75rem}.profile-equipment .gear-tile span.gear-footer{font-size:.7rem}.profile-combat .profile-equipment{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(6px,1vw,12px)}.profile-combat .profile-equipment .gear-tile{--gear-name-size:clamp(.55rem,1.4vw,.85rem);grid-template-rows:minmax(0,1fr) calc(var(--gear-name-size)*2.6) clamp(10px,1.5vw,16px);gap:3px;padding:clamp(4px,.7vw,8px)}.profile-combat .profile-equipment .gear-tile .gear-footer{font-size:clamp(.5rem,1.1vw,.65rem)}.profile-position{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.inspect-items{flex-wrap:wrap;gap:10px;display:flex}.party-item-tile{background:radial-gradient(#443356,#161020 80%);border:1px solid #a46bff70;border-radius:5px;place-items:center;width:76px;height:76px;padding:7px;display:grid;box-shadow:inset 0 0 0 3px #1a1224}.party-item-art{object-fit:contain;filter:drop-shadow(0 3px 4px #0008);pointer-events:none;width:100%;min-width:0;height:100%;display:block}.item-slot .party-item-art{object-fit:contain;box-sizing:border-box;width:calc(100% - 8px);max-width:calc(100% - 8px);height:calc(100% - 8px);min-height:0;max-height:calc(100% - 8px);padding:0;position:absolute;inset:4px}.hud-items .item-slot{border-radius:5px;flex:0 0 44px;place-items:center;width:44px;min-width:44px;height:44px;padding:0;display:grid;position:relative;overflow:hidden}.hud-left .hud-items{justify-content:center;width:100%}.party-item-tile:focus-visible{outline:2px solid var(--kr-rift-cyan);outline-offset:2px}.shop-item-picture{width:64px;height:64px;margin:auto;display:block}.gear-tile:focus-visible{outline:2px solid var(--kr-rift);outline-offset:3px}@media (width<=600px){.gear-tile.compact{--gear-name-size:.7rem;padding:7px}.profile-equipment{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-equipment .gear-tile{--gear-name-size:.75rem}}@media (width<=360px){.profile-equipment{grid-template-columns:minmax(0,1fr)}}.gear-tile.empty{grid-template-rows:none;align-content:center}.inventory .doll{grid-template-areas:"portrait armour""weapon offhand";align-items:stretch}.inventory .doll-portrait{aspect-ratio:1;border:1px solid var(--kr-line);background:radial-gradient(#35284680,#0000);border-radius:3px;grid-area:portrait;min-width:0;position:relative;overflow:hidden}.inventory .doll-portrait .doll-figure{object-fit:contain;width:100%;height:100%;max-height:none;position:absolute;inset:0}.inventory .doll-slot{aspect-ratio:1;min-height:0}.inventory .doll-slot.s-weapon{grid-area:weapon}.inventory .doll-slot.s-armour{grid-area:armour}.inventory .doll-slot.s-offhand{grid-area:offhand}.inventory .doll-slot .gear-tile.compact{height:100%;min-height:0}.inventory .bag-cell{min-height:0}.inventory .bag-cell.empty{aspect-ratio:2/3}.inventory .gear-tile.with-details{aspect-ratio:2/3;grid-template-rows:minmax(0,1fr) calc(var(--gear-name-size)*2.6) minmax(0,.8fr) 18px;min-height:0}.inventory .gear-details{pointer-events:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:var(--kr-rift) transparent;border-top:1px solid var(--kr-line);min-height:0;padding:3px 5px;font-size:clamp(.65rem,.7vw,.8rem);line-height:1.35;overflow:hidden auto}.inventory .gear-details .gear-head{margin-bottom:6px}.inventory .gear-details::-webkit-scrollbar{width:3px}.inventory .gear-details::-webkit-scrollbar-thumb{background:var(--kr-rift);border-radius:9px}.inventory .gear-details::-webkit-scrollbar-track{background:0 0}.inventory .gear-details::-webkit-scrollbar-button{width:0;height:0;display:none}.inventory .gear-details:focus-visible{outline:1px solid var(--kr-rift);outline-offset:-1px}.inventory .doll-slot .gear-tile{pointer-events:auto}.gear-wearers .btn.gear-compatible{background:linear-gradient(160deg,#294535,#14251e);border:1px solid #679579;border-radius:5px}.gear-wearers .btn.gear-beneficial,.btn.bag-recommended{filter:brightness(1.2);background:radial-gradient(#28635d,#112d31);border:1px solid #76e5d6;border-radius:5px;box-shadow:inset 0 0 24px #52d8c640,0 0 16px #52d8c660}.holders.gear-wearers{grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:10px;width:min(760px,100%);margin:18px auto;display:grid}.gear-wearers>.muted{text-align:center;grid-column:1/-1}.gear-wearer{min-width:0;color:var(--kr-text);text-align:left;cursor:pointer;background:linear-gradient(135deg,#2c203d,#171021);border:1px solid #6e568e;border-radius:8px;align-items:center;gap:12px;padding:10px 14px;transition:transform .15s,box-shadow .15s;display:flex}.gear-wearer img{object-fit:cover;border:1px solid #8e70b3;border-radius:50%;flex:none;width:50px;height:50px}.gear-wearer-label{flex-direction:column;gap:4px;min-width:0;display:flex}.gear-wearer-label strong{font-family:var(--font-title);font-size:1rem}.gear-wearer-label small{color:var(--kr-muted);font-family:var(--font-body);overflow-wrap:anywhere;font-size:.72rem}.gear-wearers .gear-wearer.gear-beneficial{border-color:#ffbd57;box-shadow:inset 0 0 16px #ffad3b20}.gear-wearer:hover:not(:disabled),.gear-wearer:focus-visible{transform:scale(1.03);box-shadow:0 0 12px #a46bff66}.gear-wearer:disabled{opacity:.5;cursor:default}.camp-shop-modal{width:min(1440px,100vw - 48px);height:min(920px,100dvh - 48px);max-height:calc(100dvh - 48px)}.camp-shop-modal .modal-body{flex:1 1 0;min-height:0;max-height:none;overflow:hidden auto}.merchant-gear-grid,.camp-shop-grid.merchant-gear-grid{text-align:center;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),240px));justify-content:center;gap:18px;padding:12px 0 20px;display:grid;overflow:visible}.merchant-gear-grid>div{min-width:0}.merchant-gear-grid .gear-tile{--gear-name-size:.9rem;aspect-ratio:auto;width:100%;height:270px}.gear-tile.with-comparison{aspect-ratio:auto;grid-template-rows:minmax(0,1fr) calc(var(--gear-name-size)*2.6) 18px auto;height:270px}.gear-upgrade-dot{z-index:2;background:#ffc85a;border:2px solid #4a2d12;border-radius:50%;width:12px;height:12px;position:absolute;top:9px;right:9px;box-shadow:0 0 9px #ffbd5780}.gear-shop-wearers{color:var(--kr-muted);border-top:1px solid #69537850;flex-wrap:wrap;justify-content:center;gap:4px 8px;padding-top:3px;font-size:.7rem;display:flex}.gear-shop-wearers>span{align-items:center;gap:4px;display:inline-flex}.gear-shop-wearers .useful{color:#ffc85a}.gear-shop-wearers img{object-fit:cover;border:1px solid;border-radius:50%;width:22px;height:22px}@media (width<=600px){.merchant-gear-grid,.camp-shop-grid.merchant-gear-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.merchant-gear-grid .gear-tile{--gear-name-size:.75rem;height:240px}.camp-shop-modal{width:calc(100vw - 24px)}}.card-pick{box-sizing:border-box;width:100%;min-width:0}.holders.gear-wearers{justify-content:center;align-items:stretch;width:min(760px,100%);display:flex}.gear-wearers>.muted{flex:0 0 100%}.gear-wearers>.gear-wearer{box-sizing:border-box;flex:0 240px}@media (width<=600px){.gear-wearers>.gear-wearer{flex-basis:calc(50% - 5px);gap:7px;padding:8px}.gear-wearer img{width:34px;height:34px}.gear-wearer-label strong{font-size:.8rem}.gear-wearer-label small{font-size:.65rem}}@media (width<=340px){.gear-wearers>.gear-wearer{flex-basis:100%;max-width:280px}}.gear-trade-actions{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:4px;margin-top:5px}.gear-trade-action{isolation:isolate;appearance:none;width:100%;min-width:0;min-height:48px;box-shadow:none;color:#c2f4ed;font-family:var(--font-title);text-align:center;text-shadow:0 2px 2px #000,0 0 8px #3fc8ba55;cursor:pointer;background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;gap:4px;padding:10px 12px;font-size:clamp(11px,1vw,14px);font-weight:700;line-height:1.15;transition:filter .15s,transform .15s;display:flex;position:relative}.gear-trade-action:before{content:"";z-index:-1;pointer-events:none;border:9px solid #0000;border-width:9px 13px;border-image:var(--art-button-secondary,url(/art/web/button-secondary.webp)) 60 110 fill / 9px 13px round stretch;filter:sepia()saturate(1.8)hue-rotate(130deg)brightness(.9)drop-shadow(0 3px 3px #0009);position:absolute;inset:0}.gear-trade-action.trade-buy{color:#ffe4a7;text-shadow:0 2px 2px #000,0 0 8px #e4a74455}.gear-trade-action.trade-buy:before{filter:sepia()saturate(2.2)brightness(1.05)drop-shadow(0 3px 3px #0009)}.trade-action-rune{text-shadow:0 0 6px;flex:none;font-size:1.15em;line-height:1}.gear-trade-action>span:last-child{min-width:0}.gear-trade-action:hover:not(:disabled){filter:brightness(1.2);transform:translateY(-1px)}.gear-trade-action:active:not(:disabled){transform:translateY(1px)}.gear-trade-action:focus-visible{outline-offset:2px;outline:1px solid #e8ddaa}.gear-trade-action:disabled{opacity:.4;cursor:default;filter:saturate(.3)}.gear-trade-action.trade-info{min-height:42px;padding-top:7px;padding-bottom:7px}.camp-shop-modal .merchant-gear-grid,.shop .merchant-gear-grid{grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),270px));justify-content:center;align-items:start;gap:20px;padding:14px 8px 70px;display:grid;overflow:visible}.merchant-gear-grid .gear-trade-tile{width:100%;min-width:0;padding-bottom:8px}.camp-shop-modal .merchant-gear-grid .gear-tile,.shop .merchant-gear-grid .gear-tile{--gear-name-size:.9rem;width:100%;height:340px}.gear-trade-actions{min-height:48px}@media (width<=600px){.camp-shop-modal .merchant-gear-grid,.shop .merchant-gear-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-inline:0}.camp-shop-modal .merchant-gear-grid .gear-tile,.shop .merchant-gear-grid .gear-tile{--gear-name-size:.72rem;height:280px}.gear-trade-action{gap:3px;min-height:46px;padding:9px 10px;font-size:11px}}@media (width<=360px){.gear-trade-action{flex-direction:column;gap:1px;min-height:52px;padding:7px 8px}}.merchant-gear-grid .gear-tile{grid-template-rows:minmax(0,1fr) calc(var(--gear-name-size)*2.6) 18px 52px}.merchant-gear-grid .gear-shop-wearers{align-content:center}@media (width<=600px){.merchant-gear-grid .gear-tile{grid-template-rows:minmax(0,1fr) calc(var(--gear-name-size)*2.6) 18px 28px}.merchant-gear-grid .gear-shop-wearers{align-items:center;gap:4px}.merchant-gear-grid .gear-shop-wearers>span{gap:0;font-size:0}}.camp-shop-modal .merchant-gear-grid,.shop .merchant-gear-grid{box-sizing:border-box;width:100%}.hint-trigger{border:1px solid var(--kr-line-2);background:var(--kr-ink-2);width:32px;height:32px;color:var(--kr-rift-cyan);font:inherit;cursor:help;vertical-align:middle;border-radius:50%;place-items:center;padding:0;display:inline-grid}.game-hint{z-index:200;border:1px solid var(--kr-rift);width:min(320px,100vw - 24px);color:var(--kr-text);white-space:pre-line;pointer-events:none;pointer-events:auto;background:#171122;border-radius:6px;max-height:calc(100dvh - 24px);padding:12px 14px;font-size:.85rem;line-height:1.6;position:fixed;overflow-y:auto;box-shadow:0 8px 30px #0009}[data-hint]:focus-visible{outline:2px solid var(--kr-rift);outline-offset:2px}.stat-explanation{white-space:normal}.stat-explanation header{border-bottom:1px solid var(--kr-line-2);justify-content:space-between;align-items:center;gap:12px;padding-bottom:8px;display:flex}.stat-explanation header>b{color:var(--kr-rift-cyan);white-space:nowrap;font-size:1.15rem}.stat-explanation p{margin:9px 0;line-height:1.45}.stat-formula{border-left:3px solid var(--kr-rift);overflow-wrap:anywhere;background:#292039;border-radius:3px;gap:3px;padding:9px;display:grid}.stat-formula small,.stat-source-list small{color:var(--kr-muted);font-size:.7rem;display:block}.stat-source-list{margin-top:8px}.stat-source-list>div{border-bottom:1px solid #ffffff12;justify-content:space-between;gap:12px;padding:7px 0;line-height:1.35;display:flex}.stat-source-list b{text-align:right;color:#9beac0;flex-shrink:0;max-width:48%}.stat-source-list .included{font-size:.78rem}.stat-source-list .included b{color:var(--kr-rift-cyan)}.stat-source-list .negative b{color:#ff8995}.stat-source-list .inactive b{color:#bcaa9b}.stat-health-track{background:#563049;border-radius:4px;height:7px;margin:12px 0 6px;overflow:hidden}.stat-health-track i{background:#88efae;height:100%;display:block}.stat-health-state>span{justify-content:space-between;display:flex}.stat-explanation .stat-note{color:var(--kr-muted);margin-bottom:0;font-size:.75rem}.game-hint{scrollbar-width:thin;scrollbar-color:var(--kr-rift) transparent}.game-hint::-webkit-scrollbar{width:3px}.game-hint::-webkit-scrollbar-thumb{background:var(--kr-rift);border-radius:3px}.game-hint::-webkit-scrollbar-button{width:0;height:0;display:none}.game-hint{overflow-wrap:anywhere;width:max-content;max-width:min(400px,100vw - 24px)}.game-hint:has(.stat-explanation){width:min(400px,100vw - 24px)}.hint-trigger{letter-spacing:0;text-align:center;box-sizing:border-box;width:26px;min-width:26px;height:26px;min-height:26px;padding:0;font-size:17px;line-height:1}.collection-explanation section+section{margin-top:16px}.collection-explanation section>small,.collection-explanation section>strong{display:block}.collection-explanation section>small{color:#aa96bf;margin-bottom:4px}.collection-explanation hr{border:0;border-top:1px solid #70558a;margin:8px 0}.collection-explanation p{margin:8px 0;line-height:1.5}.btn{width:fit-content}.btn:not(.ghost):not(.icon-btn):not(.system-settings){white-space:normal;overflow-wrap:break-word;border-image-repeat:round stretch;flex-grow:0;place-self:center;min-width:0;max-width:min(360px,100%)}.title-menu>.btn{justify-self:center;width:280px;max-width:100%}.title-menu>.btn.continue-run{white-space:nowrap;flex-wrap:nowrap;gap:10px;padding-inline:12px}.continue-run .continue-label{white-space:nowrap;font-size:.85em}.continue-run .continue-act{letter-spacing:0;white-space:nowrap;color:var(--kr-parchment);font-variant-numeric:tabular-nums;flex:none;align-items:baseline;gap:2px;font-size:.56em;display:inline-flex}.continue-run .continue-act sup{font-size:.75em;line-height:1;position:relative;top:-.45em}.choices.column{align-items:center;width:min(420px,100%);min-width:0}.choices.column>.btn{width:100%}.btn.card-guide-open{flex:0 320px;align-self:center;width:320px;max-width:100%;min-height:52px}.card-pile-modal>header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 20px;padding-right:28px;display:flex}.card-pile-modal>header>h2{flex:260px;min-width:0;padding:0}.modal.panel.relic-modal>.relic-tabs{grid-template-columns:repeat(3,minmax(0,280px));justify-content:center}.modal.panel.relic-modal .relic-tabs>.btn{width:100%}.account-box .admin-menu-trigger,.gear-trade-action:before{border-image-repeat:round stretch}@media (width<=600px){.card-pile-modal>header{justify-content:center;padding-right:16px}.card-pile-modal>header>h2{flex-basis:100%}.modal.panel.relic-modal>.relic-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
