.speaker-dialogue{--portrait-size:76px;grid-template-columns:var(--portrait-size) minmax(0,1fr);text-align:left;align-items:start;gap:18px;min-width:0;display:grid}.speaker-portrait{width:var(--portrait-size,76px);height:var(--portrait-size,76px);background:radial-gradient(at 50% 70%,#354441,#101918 75%);border:1px solid #bda871;border-radius:5px;flex:none;display:block;position:relative;overflow:hidden;box-shadow:inset 0 0 0 3px #0c1514,0 0 0 1px #050b09,0 4px 14px #0006}.speaker-portrait:after{content:"";pointer-events:none;border:1px solid #d1bd864a;border-radius:2px;position:absolute;inset:3px}.speaker-portrait[data-tone=wine]{background:radial-gradient(#43313c,#16151d)}.speaker-portrait[data-tone=emerald]{background:radial-gradient(#1a4b41,#081c18)}.speaker-portrait[data-tone=bronze]{background:radial-gradient(#4d4028,#191b16)}.speaker-portrait svg{width:100%;height:100%;display:block}.speaker-initial{color:#d6c797;place-items:center;height:100%;font:28px Georgia,serif;display:grid}.speaker-copy{min-width:0}.speaker-dialogue .speaker-name{color:#e4c98b;margin:0 0 10px;font:24px/1.15 Georgia,serif}.speaker-dialogue .speaker-line{color:#e3e2d5;overflow-wrap:anywhere;margin:0;font:23px/1.45 Georgia,serif}.speaker-dialogue-compact{--portrait-size:58px;gap:12px}.speaker-dialogue-compact .speaker-name{margin-bottom:7px;font-size:20px}.speaker-dialogue-compact .speaker-line{font-size:18px;line-height:1.5}@media (max-width:600px){.speaker-dialogue{--portrait-size:56px;gap:12px}.speaker-dialogue .speaker-name{margin-bottom:7px;font-size:20px}.speaker-dialogue .speaker-line{font-size:17px;line-height:1.45}.speaker-dialogue-compact{--portrait-size:44px;gap:10px}.speaker-dialogue-compact .speaker-name{font-size:18px}.speaker-dialogue-compact .speaker-line{font-size:16px}}@media (max-height:520px) and (min-width:520px){.speaker-dialogue{--portrait-size:48px;gap:11px}.speaker-dialogue .speaker-name{margin-bottom:5px;font-size:18px}.speaker-dialogue .speaker-line{font-size:16px;line-height:1.4}}.castle-film{--cinema-return:0}.castle-film-picture,.castle-game-scene{position:absolute;inset:0}.castle-game-scene{opacity:var(--cinema-return);overflow:hidden}.castle-film-picture{opacity:calc(1 - var(--cinema-return));pointer-events:none}.castle-film-picture>video,.castle-film-picture>img{object-fit:contain;width:100%;height:100%;display:block}.castle-handoff-dock{min-height:66px;display:grid}.castle-handoff-dock>.castle-film-dock,.castle-handoff-dock>.castle-game-controls{grid-area:1/1;min-width:0}.castle-handoff-dock>.castle-film-dock{opacity:calc(1 - var(--cinema-return))}.castle-game-controls{opacity:var(--cinema-return);justify-content:space-between;align-items:center;gap:12px;padding:10px 18px;font-size:12px;display:flex}.castle-game-controls>div{gap:8px;display:flex}.castle-film [inert]{pointer-events:none}.castle-film[data-returned=true] .castle-film-picture{visibility:hidden}.castle-film-picture>video[hidden]{display:none}.castle-film-replays{flex-direction:column;gap:8px;margin-top:16px;display:flex}.castle-film-replays h3{color:#e5d9ac;font:20px Georgia,serif}.castle-film-replays button{text-align:left;color:#e5d9ac;background:#13251f;border:1px solid #657057;border-radius:8px;padding:10px 12px}.castle-film-dock>div{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.castle-film-state{text-align:center;max-width:calc(100% - 24px)}:is(html:has(.view-court),body:has(.view-court)){overscroll-behavior:none;overflow:hidden}.tower-shell.portrait.view-court{height:100dvh;min-height:0;max-height:100dvh;padding-bottom:env(safe-area-inset-bottom);overflow:hidden}.portrait.view-court .tower-layout{flex:1 1 0;height:0;min-height:0;display:flex;overflow:hidden}.portrait.view-court .game-column{background:#08110e;flex-direction:column;width:calc(100% - 112px);max-width:none;height:100%;min-height:0;margin:0 0 0 112px;padding:0;display:flex;overflow:hidden}.portrait.view-court :is(.stats-strip,.tower-art,.page-light-pass,.motion-notice,.navigation-discovery){display:none}.portrait.view-court .main-tabs{flex:1 1 0;height:100%;min-height:0;display:flex;overflow:hidden}.portrait.view-court .main-tabs>[data-slot=tabs-content][data-state=active]{flex:1 1 0;height:100%;min-height:0;max-height:100%;padding:0;display:flex;overflow:hidden}.portrait.view-court>.sync-notice,.portrait.view-court .game-column>.error-notice{z-index:40;background:#1b261ff5;max-width:400px;position:absolute;top:62px;right:16px}.court-view{--court-border:#a49a6a40;--court-ink:#e8e3cf;--court-muted:#b3bdae;--court-dock-size:316px;width:100%;min-width:0;height:100%;min-height:0;color:var(--court-ink);isolation:isolate;flex-direction:column;gap:12px;margin:0;padding:12px 18px 18px;display:flex;position:relative}.court-view :is(button,select),.court-dialog button{cursor:pointer;touch-action:manipulation;border:1px solid var(--court-border,#65735c);color:#e0e2d0;background:#15251d;border-radius:8px;padding:10px 12px}.court-view button{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.court-view button:hover,.court-dialog button:hover{background:#293d2d;border-color:#c5b580}.court-view button:active{background:#38543a}:is(.court-view :is(button,select):focus-visible,.court-dialog button:focus-visible){outline-offset:2px;outline:2px solid #e5ce8d}.court-view button:disabled,.court-dialog button:disabled{color:#8f9d90;cursor:default;background:#111d17;border-color:#445044}.court-view button:disabled small{color:#8f9d90}.court-header{flex:none;align-items:center;gap:12px;height:52px;min-height:0;margin:0;display:flex}.court-header>div{flex:1;min-width:0}.court-header h1{color:var(--court-ink);margin:3px 0 0;font:27px/1.1 Georgia,serif}.court-header small{letter-spacing:1.7px;color:#c0ac7b;font:10px/12px Arial,sans-serif}.court-header>button{flex:none;place-items:center;width:44px;height:44px;padding:0;display:grid}.court-review{flex:none;align-items:center;gap:8px;font-size:12px;display:flex}.court-review label{align-items:center;gap:8px;min-width:0;display:flex}.court-review select{min-width:0;max-width:250px;font-size:12px}.court-review button{font-size:12px}.court-shell{border:1px solid var(--court-border);background:#09130f;border-radius:12px;flex:1 1 0;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) clamp(320px,30vw,384px);min-width:0;min-height:0;display:grid;overflow:hidden}.court-scene{grid-template-rows:minmax(0,1fr) 48px;min-width:0;min-height:0;display:grid;overflow:hidden}.court-stage,.court-stage[data-formation-frame]{isolation:isolate;background:#10140f url(/unwritten-court/court.png) 50%/cover;place-self:stretch stretch;min-width:0;position:relative;overflow:hidden;container:court-stage/size;aspect-ratio:auto!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0!important}.court-scene-shade{z-index:1;pointer-events:none;background:linear-gradient(#020906d6,#0000 42%,#02080663);position:absolute;inset:0}.court-opponent-hud{z-index:20;text-align:center;pointer-events:none;text-shadow:0 2px 8px #000;position:absolute;top:20px;left:6%;right:6%}.court-location{color:#d1bc87;justify-content:center;align-items:center;gap:12px;font:12px/16px Arial,sans-serif;display:flex}.court-location>span{letter-spacing:.08em}.court-location small{white-space:nowrap;border-left:1px solid #c5b58066;padding-left:12px;font-size:11px}.court-opponent-hud h2{color:#f0ead4;margin:7px 0 10px;font:clamp(22px,2.3vw,32px)/1.15 Georgia,serif}.court-bar{background:#243127;border:1px solid #d0bf8050;border-radius:8px;height:5px;overflow:hidden}.court-bar i{background:linear-gradient(90deg,#90804e,#e3ce8b);height:100%;transition:width .13s;display:block}.court-foe-readout{color:#c6ceb9;justify-content:space-between;gap:12px;margin-top:7px;font:12px/16px Arial,sans-serif;display:flex}.court-foe-readout strong{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:500}.court-enemy{z-index:4;width:47%;height:65%;transform:translateX(var(--court-advance,0px));translate:var(--enemy-recoil-x,0px) var(--enemy-recoil-y,0px);filter:drop-shadow(0 12px 7px #0007);position:absolute;bottom:8%;right:1%}.court-enemy canvas{object-fit:contain;width:100%;height:100%}.court-stage .battle-party{z-index:4}.court-stage .presentation-contact-canvas{z-index:12}.court-player-hud{z-index:20;background:#0b1812;border-top:1px solid #8ea77c24;align-content:center;gap:6px;min-width:0;padding:6px 18px 8px;display:grid;position:relative}.court-player-hud>span{color:#d9eccb;font-variant-numeric:tabular-nums;align-items:center;gap:8px;font:14px/18px Arial,sans-serif;display:flex}.court-player-hud small{color:#afd4c9;margin-left:auto;font-size:12px}.court-player-hud i{background:linear-gradient(90deg,#6aa481,#c7dba1)}.court-dock{border-left:1px solid var(--court-border);background:radial-gradient(at 100% 0,#4b503126,#0000 65%),#0b1711;flex-direction:column;gap:8px;min-width:0;min-height:0;padding:18px;display:flex;position:relative;container:court-dock/size}.court-combat{flex:1 1 0;grid-template-rows:90px 144px 64px minmax(34px,1fr);gap:12px;min-height:0;display:grid}.court-tell{min-width:0}.court-tell>small{letter-spacing:1.6px;color:#baab7b;margin-bottom:4px;font:10px/14px Arial,sans-serif;display:block}.court-tell strong{color:#eadcaa;font:22px/26px Georgia,serif;display:block}.court-tell p{color:var(--court-muted);margin:5px 0 0;font:13px/18px Arial,sans-serif}.court-actions{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-height:0;display:grid}.court-actions button{background:linear-gradient(#25392a,#14241b);border-color:#9caa7559;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0;min-height:0;padding:8px 5px;display:flex;box-shadow:inset 0 1px #d7d1a812}.court-actions button>span{justify-content:center;align-items:center;gap:7px;display:flex}.court-actions svg{color:#caba8e;flex:none;width:20px;height:20px}.court-actions strong{font:600 15px/20px Arial,sans-serif}.court-actions small{color:#b9c5ae;font:12px/16px Arial,sans-serif}.court-skills{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:6px;min-height:0;display:grid}.court-skills button{text-align:center;background:#13241c;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:0;padding:5px;display:flex}.court-skills button>span{justify-content:center;align-items:center;gap:5px;font:12px/15px Arial,sans-serif;display:flex}.court-skills svg{color:#becaa4;flex:none;width:14px;height:14px}.court-skills small{color:#a6b6a0;white-space:nowrap;text-overflow:ellipsis;max-width:100%;font:11px/14px Arial,sans-serif;display:block;overflow:hidden}.court-no-companions{color:#9aaa91;text-align:center;border:1px dashed #6b795549;border-radius:8px;place-items:center;padding:8px;font-size:12px;display:grid}.court-response{color:#b5c8aa;font-variant-numeric:tabular-nums;align-self:start;align-items:center;min-width:0;min-height:32px;font:12px/17px Arial,sans-serif;display:flex}.court-view button[data-queued=true]{background:#354c32;border-color:#d2bf82;box-shadow:inset 0 0 0 1px #d2bf8240}.court-dock-footer{color:#aab69f;border-top:1px solid #78856040;flex:none;justify-content:space-between;align-items:center;gap:6px;min-width:0;height:44px;font:11px/15px Arial,sans-serif;display:flex}.court-dock-footer button{background:0 0;border:0;flex:none;justify-content:center;align-items:center;gap:6px;min-width:44px;height:44px;padding:0 6px;font-size:12px;display:flex}.court-dock-footer>span{text-align:center;min-width:0}.court-inline-error{color:#e6b59d}.court-conversation{flex-direction:column;flex:1 1 0;gap:14px;min-width:0;min-height:0;display:flex}.court-conversation>p{color:#e0e4d6;min-height:0;margin:0;font:20px/1.5 Georgia,serif}.court-conversation-actions{gap:8px;margin-top:auto;display:grid}.court-conversation-actions>small{text-align:right;color:#a7b29b;font:11px/14px Arial,sans-serif}.court-primary{justify-content:space-between;align-items:center;gap:7px;min-height:44px;font-size:14px;font-weight:600;display:flex;color:#f0efd9!important;background:#294b36!important}.court-speaker{color:#c7b182;flex:none;align-items:center;gap:10px;display:flex}.court-speaker strong{letter-spacing:1px;font:small-caps 18px/24px Georgia,serif}.court-speaker[data-speaker=Vincent]{color:#c7a2ae}.court-speaker[data-speaker=Caelan]{color:#c2c8e4}.court-speaker[data-speaker=Hunter]{color:#b2ccae}.court-speaker[data-speaker=The\ court]{color:#aebfae}.court-speaker-portrait{background:#1c2922;border:1px solid #73836570;border-radius:50%;flex:none;place-items:center;width:40px;height:40px;display:grid;overflow:hidden}.court-speaker-portrait :is(svg,img){object-fit:cover;width:100%;height:100%}.court-speaker-portrait img{object-position:50% 35%}.court-art-status{z-index:30;color:#d7cfb0;background:#08120ee8;border:1px solid #7c805366;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:7px 10px;font:12px/1.4 Arial,sans-serif;display:flex;position:absolute;bottom:8px;left:8px;right:8px}.court-art-status button{flex:none;min-height:30px;text-decoration:underline}.court-entry{background:linear-gradient(90deg,#06120ff5,#06120f60),url(/unwritten-court/court.png) 50%/cover;border-radius:12px;flex-direction:column;flex:1 1 0;justify-content:center;align-items:flex-start;gap:20px;min-height:0;padding:40px;display:flex}.court-entry>span{letter-spacing:2px;color:#c7b17a;font-size:11px}.court-entry h2{color:#e5ddc5;max-width:460px;margin:0;font:36px/1.2 Georgia,serif}.court-entry p{max-width:430px;margin:0;font:17px/1.5 Georgia,serif}.court-error{color:#efc2a8;align-items:center;gap:10px;padding:10px;font-size:13px;display:flex}.court-dialog{max-height:84dvh;overflow:auto;color:#d3d9c6!important;background:#0b1711!important;border-color:#657259!important}.court-dialog article{border-top:1px solid #5b704844;padding:12px 0}.court-dialog h3{color:#d8c89d;margin:0 0 8px;font:20px Georgia,serif}.court-dialog p{font-size:14px;line-height:1.65}.court-trial{text-align:left;gap:6px;display:grid}.court-trial small{color:#b1bea9;font-size:12px;line-height:1.5}.court-trial-list{gap:10px;display:grid}.court-trial-title,.court-trial-start{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.court-trial-title strong{color:#eee3bf;font:18px/1.3 Georgia,serif}.court-trial-cleared{color:#b6cda9;border:1px solid #77986b55;border-radius:4px;flex:none;padding:2px 5px;font:10px/14px Arial,sans-serif}.court-trial-start{color:#dfcf99;border-top:1px solid #86966440;padding-top:8px;font:600 13px/18px Arial,sans-serif}.court-trial-start small{text-align:right;font-weight:400}.court-dialog .court-archive-progress{color:#c8d2b6;margin:0;font-size:12px}.court-dialog .court-archive-error{color:#efc2a8}.court-chapter-replay{text-align:left;gap:5px;display:grid}.court-chapter-replay small{color:#b1bea9;font-size:12px;line-height:1.4}.court-victory{gap:10px}.court-victory-heading>small{letter-spacing:1px;color:#c2ad7d;font:10px/14px Arial,sans-serif}.court-victory h2{color:#e2d4ac;margin:4px 0 0;font:24px/28px Georgia,serif}.court-victory .chapter-victory-xp{flex:none;justify-content:space-between;align-items:center;gap:8px;margin:0;padding:10px 0;display:flex}.court-victory .chapter-victory-xp strong{white-space:nowrap;font-size:23px}.court-victory .chapter-victory-xp span{text-align:right;font:12px/16px Arial,sans-serif}.court-keepsakes{flex:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-height:64px;display:grid}.court-keepsakes>:only-child{grid-column:1/-1}.court-keepsakes:empty{display:none}.court-keepsakes .court-relic,.court-keepsakes .amulet-reward-button{text-align:left;background:#17261c;border:1px solid #9d8c5544;border-radius:7px;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:7px;min-width:0;margin:0;padding:6px;font:14px/17px Georgia,serif;display:grid}.court-keepsakes img{object-fit:contain;width:40px;height:44px}.court-keepsakes strong{font-weight:400}.court-keepsakes small{color:#acba9e;margin-top:3px;font:11px/14px Arial,sans-serif;display:block}.court-reward-chest{flex:none;min-height:44px}.court-reward-chest:empty{display:none}.court-reward-chest .chapter-chests{margin:0}.court-victory .chapter-chest{width:100%;min-height:44px;margin:0;padding:8px;font-size:12px}.court-victory .chapter-chest strong{font-size:13px}.court-victory .chapter-chest small{font-size:11px}.court-victory .court-conversation-actions{grid-template-columns:1fr 1fr;gap:6px}.court-dock[data-state=victory] .court-dock-footer:not(:has(.court-inline-error)){display:none}.court-stage[data-phase="2"]{background-image:linear-gradient(#20351d2b,#11271c50),url(/unwritten-court/court.png)}.court-authority{z-index:24;text-align:center;pointer-events:none;background:radial-gradient(#0d211bdf,#0000 90%);flex-direction:column;justify-content:center;align-items:center;gap:13px;display:flex;position:absolute;inset:0}.court-authority small{letter-spacing:2px;color:#bca879;font-size:10px}.court-authority strong{color:#e2dec3;font:36px Georgia,serif}.court-authority p{color:#c1d0b7;font:14px Georgia,serif}.court-authority-rings{opacity:.5;scale:calc(.55 + var(--seal-progress,0) * .45);position:absolute;inset:10% 14%}.court-authority-rings i{transform:rotate(calc(var(--seal-progress,0) * 65deg));border:2px solid #b4c28a88;border-radius:50%;position:absolute;inset:12%}.court-authority-rings i:nth-child(2){border-radius:0;inset:22%;rotate:45deg}.court-authority-rings i:nth-child(3){border-color:#d0bb8299;inset:33%}.court-authority[data-phase=ready]{opacity:.65}@media (min-width:900px){.tower-shell.portrait.view-court{height:calc(100dvh - 32px);max-height:calc(100dvh - 32px)}}@media (max-width:899px){.tower-shell.portrait.view-court{width:100%;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);margin:0;position:fixed;inset:0}.portrait.view-court .topbar{flex:none;height:60px;min-height:60px;position:relative}.portrait.view-court .game-column{width:100%;margin:0;padding:0}.portrait.view-court .game-navigation{display:none!important}.court-view{gap:8px;padding:8px}.court-header{gap:8px;height:48px}.court-header h1{font-size:22px}.court-header small{letter-spacing:1.3px;font-size:10px}.court-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) var(--court-dock-size);border-radius:10px}.court-dock{border-left:0;border-top:1px solid var(--court-border);gap:6px;padding:10px 12px}.court-scene{grid-template-rows:minmax(0,1fr) 44px}.court-player-hud{gap:4px;padding:5px 12px 7px}.court-player-hud>span{font-size:13px;line-height:17px}.court-entry{padding:22px}.court-entry h2{font-size:28px}.court-review{gap:4px;font-size:10px}.court-review label{flex:1;gap:0;font-size:0}.court-review select{width:100%;max-width:none}.court-review button{padding:8px;font-size:11px}}@container court-dock (height<=500px){.court-combat{grid-template-rows:72px 56px 52px minmax(30px,1fr);gap:6px}.court-tell>small{margin-bottom:3px;font-size:10px;line-height:12px}.court-tell strong{font-size:18px;line-height:21px}.court-tell p{margin-top:4px;font-size:12px;line-height:15px}.court-actions{grid-template-rows:minmax(0,1fr);grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.court-actions button{gap:4px;padding:5px 3px}.court-actions button>span{gap:4px}.court-actions svg{width:16px;height:16px}.court-actions strong{font-size:13px;line-height:18px}.court-actions small{font-size:11px;line-height:14px}.court-skills button{gap:3px;padding:4px}.court-skills button>span{gap:3px;font-size:12px;line-height:14px}.court-skills svg{width:12px;height:12px}.court-skills small{font-size:11px;line-height:13px}.court-response{min-height:30px;font-size:12px;line-height:15px}.court-conversation{gap:8px}.court-conversation>p{font-size:16px;line-height:1.4}.court-speaker-portrait{width:30px;height:30px}.court-speaker strong{font-size:16px;line-height:20px}.court-conversation-actions{gap:5px}.court-conversation-actions>small{font-size:10px;line-height:12px}.court-primary{padding:8px 10px;font-size:13px}.court-conversation-actions>button:not(.court-primary){min-height:40px;padding:8px;font-size:12px}.court-victory{gap:6px}.court-victory-heading>small{font-size:10px;line-height:12px}.court-victory h2{margin-top:2px;font-size:20px;line-height:23px}.court-victory .chapter-victory-xp{min-height:30px;padding:2px 0}.court-victory .chapter-victory-xp strong{font-size:19px}.court-victory .chapter-victory-xp span{font-size:11px;line-height:14px}.court-keepsakes{min-height:52px}.court-keepsakes .court-relic,.court-keepsakes .amulet-reward-button{grid-template-columns:30px minmax(0,1fr);gap:5px;padding:4px;font-size:12px;line-height:14px}.court-keepsakes img{width:30px;height:36px}.court-keepsakes small{margin-top:2px;font-size:10px;line-height:12px}.court-victory .chapter-chest{padding:5px 8px}.court-victory .chapter-chest small{display:none}.court-victory .chapter-chest svg{width:20px;height:20px}.court-victory .court-conversation-actions{margin-top:auto}}@container court-stage (height<=420px){.court-opponent-hud{top:10px;left:5%;right:5%}.court-location{gap:8px;font-size:11px;line-height:14px}.court-location small{padding-left:8px;font-size:10px}.court-opponent-hud h2{margin:4px 0 7px;font-size:22px;line-height:25px}.court-foe-readout{justify-content:center;margin-top:4px;font-size:12px;line-height:15px}.court-foe-readout>span{display:none}}@container court-stage (height<=240px){.court-opponent-hud{top:6px}.court-opponent-hud h2{margin:3px 0 4px;font-size:18px;line-height:21px}.court-location{font-size:10px;line-height:12px}.court-foe-readout{margin-top:3px;font-size:11px;line-height:13px}.court-bar{height:4px}.court-authority strong{font-size:24px}.court-authority p{font-size:12px}}@media (max-width:899px) and (max-height:700px){.portrait.view-court .topbar{height:48px;min-height:48px}.court-view{--court-dock-size:294px;gap:4px;padding:4px 6px 6px}.court-header{height:44px}.court-header h1{font-size:20px}.court-dock{gap:4px;padding:8px 10px}}@media (max-height:520px) and (min-width:600px){.court-view{gap:4px;padding:4px 8px 6px}.court-header{height:44px}.court-view[data-run=true]{grid-template-rows:44px minmax(0,1fr);grid-template-columns:minmax(0,1fr) 340px;display:grid}.court-view[data-run=true] .court-header{grid-area:1/1;gap:6px}.court-header h1{margin:0;font-size:17px;line-height:19px}.court-header small,.court-title-lead{display:none}.court-shell{display:contents}.court-scene{border:1px solid var(--court-border);border-radius:8px;grid-area:2/1}.court-dock{border:1px solid var(--court-border);border-radius:8px;grid-area:1/2/-1;gap:4px;padding:8px 10px}.court-scene{grid-template-rows:minmax(0,1fr) 40px}.court-review{z-index:25;position:absolute;top:6px;right:108px}.court-review button{display:none}}@media (max-height:420px) and (min-width:600px){.portrait.view-court .topbar{display:none}}@container court-dock (height<=260px){.court-combat{grid-template-rows:64px 48px 44px minmax(28px,1fr);gap:4px}.court-tell>small{display:none}.court-tell strong{font-size:17px;line-height:20px}.court-dock-footer,.court-dock-footer button{height:40px}.court-conversation>p{font-size:14px;line-height:1.35}.court-conversation{gap:5px}.court-conversation-actions{grid-template-columns:1fr 1fr;gap:4px}.court-conversation-actions>:only-child{grid-column:1/-1}.court-conversation-actions>small{display:none}.court-speaker-portrait{width:24px;height:24px}.court-victory-heading>small{display:none}.court-victory h2{font-size:18px;line-height:22px}.court-victory .chapter-victory-xp{min-height:26px}.court-victory .chapter-victory-xp strong{font-size:17px}.court-victory .court-conversation-actions{margin-top:0}.court-keepsakes{min-height:44px}.court-keepsakes img{height:30px}.court-keepsakes small{display:none}}[data-game-motion=reduced] .court-view *{transition:none!important;animation-duration:.01ms!important}.court-result-actions{flex:none;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.court-result-actions>button{justify-content:center;min-width:0;min-height:44px}.court-result-actions .court-fight-again{grid-column:1/-1;justify-content:center;min-height:48px;padding:6px 10px}.court-fight-again>span:not(.new-feature-space){text-align:left;gap:1px;display:grid}.court-fight-again strong{font:600 14px/18px Arial,sans-serif}.court-fight-again small{color:#c5d7b8;font:11px/14px Arial,sans-serif}@container court-dock (height<=500px){.court-victory{grid-template-rows:auto auto auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) auto;align-content:start;gap:6px;display:grid}.court-victory-heading{grid-area:1/1;align-self:center}.court-victory-heading>small{letter-spacing:.5px;font-size:9px}.court-victory h2{font-size:17px;line-height:20px}.court-victory .chapter-victory-xp{flex-direction:column;grid-area:1/2;justify-content:center;align-items:flex-end;gap:2px;max-width:114px;padding:0}.court-victory .chapter-victory-xp strong{font-size:19px}.court-victory .court-keepsakes{grid-area:2/1/auto/-1;min-height:44px}.court-victory .court-reward-chest{grid-area:3/1/auto/-1;min-height:0}.court-victory .court-result-actions{grid-area:4/1/auto/-1;align-self:end;gap:5px;margin-top:0}.court-result-actions>button{min-height:40px;padding:6px}.court-result-actions .court-fight-again{min-height:44px;padding:4px 8px}}:is(html:has(.view-castle),body:has(.view-castle)){overscroll-behavior:none;overflow:hidden}.tower-shell.portrait.view-castle{height:100dvh;min-height:0;max-height:100dvh;padding-bottom:env(safe-area-inset-bottom);overflow:hidden}.portrait.view-castle .tower-layout{flex:1 1 0;height:0;min-height:0;display:flex;overflow:hidden}.portrait.view-castle .game-column{background:#08110e;flex-direction:column;width:calc(100% - 112px);max-width:none;height:100%;min-height:0;margin:0 0 0 112px;padding:0;display:flex;overflow:hidden}.portrait.view-castle :is(.stats-strip,.tower-art,.page-light-pass,.motion-notice,.navigation-discovery){display:none}.portrait.view-castle .main-tabs{flex:1 1 0;height:100%;min-height:0;display:flex;overflow:hidden}.portrait.view-castle .main-tabs>[data-slot=tabs-content][data-state=active]{flex:1 1 0;height:100%;min-height:0;max-height:100%;padding:0;display:flex;overflow:hidden}.castle-view{--court-border:#b0a77b45;--castle-command-width:clamp(278px,25vw,320px);gap:8px;padding:10px 12px 12px}.castle-view .court-header{height:48px}.castle-view .court-shell{grid-template-columns:minmax(0,1fr) var(--castle-command-width)}.castle-view .court-scene{grid-template-rows:minmax(0,1fr) 58px}.castle-view .court-player-hud{background:linear-gradient(#13251d,#0b1914);border-top:1px solid #a6c69340;gap:7px;padding:10px 18px 14px}.castle-view .court-player-hud>span{font-size:14px;font-weight:600;line-height:18px}.castle-view .court-player-hud .court-bar{background:#050d09;border-color:#b0d19c60;height:7px;min-height:7px;box-shadow:0 1px #0009}.castle-view .court-player-hud .court-bar i{background:linear-gradient(90deg,#78bd92,#d1e5aa)}.castle-view .court-header h1{font-size:clamp(18px,2.2vw,27px)}.castle-stage,.castle-empty-scene{background:#101818 url(/borrowed-castle/keep-hall-v1.png) 50%/cover}.castle-empty-scene{min-height:0}.castle-stage:is([data-stage=threshold],[data-stage=entrance],[data-stage=relic],[data-stage=ending],[data-stage=victory])>.court-opponent-hud,.castle-stage:is([data-stage=threshold],[data-stage=entrance],[data-stage=relic],[data-stage=ending],[data-stage=victory])>.castle-enemy{visibility:hidden!important}.castle-stage:is([data-stage=threshold],[data-stage=entrance]){background-image:url(/borrowed-castle/entrance-clean-v2.webp)}.castle-stage:is([data-stage=ending],[data-stage=victory]){background-image:url(/borrowed-castle/departure.jpg)}.castle-dock .castle-victory>.court-conversation-actions{flex:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:0}.castle-dock .castle-victory>.court-conversation-actions:last-child{margin-top:auto}.castle-victory>p,.castle-victory>h2,.castle-victory>.chapter-chests{flex:none}.castle-victory-heading{color:#d4c292;flex:none;justify-content:space-between;align-items:center;gap:8px;display:flex}.castle-victory-heading small{letter-spacing:.1em;font:10px/14px Arial,sans-serif}.castle-victory-heading strong{white-space:nowrap;font:14px/18px Georgia,serif}.castle-victory .chapter-chest{gap:8px;min-height:44px;padding:7px 9px}.castle-victory .chapter-chest strong{font-size:14px}.castle-victory .chapter-chest small{font-size:10px}@media (max-width:760px),(orientation:landscape) and (max-height:520px){.castle-dock .castle-victory{gap:5px!important}.castle-dock .castle-victory>p{font-size:12px!important;line-height:15px!important}.castle-dock .castle-victory h2{font-size:21px;line-height:25px}.castle-dock .castle-victory .court-conversation-actions>button{min-height:44px;padding:5px 7px;font:12px/15px Arial,sans-serif}.castle-victory .chapter-chest small{display:none}}.castle-wayglass{z-index:5;flex-direction:column;justify-content:center;align-items:center;width:37%;height:70%;display:flex;position:absolute;top:17%;right:8%}.castle-wayglass img{object-fit:contain;filter:drop-shadow(0 5px 12px #d9bd7340);width:100%;height:80%}.castle-wayglass>span{text-align:center;color:#e6ba70;text-shadow:0 2px 8px #000;font:24px Georgia,serif}.castle-wayglass small{letter-spacing:.1em;color:#cfb87f;font:11px/18px Arial,sans-serif;display:block}.castle-waystone-choices{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.castle-enemy{filter:none;width:49%;height:67%;bottom:7%;right:-2%}.castle-dock{gap:7px;padding:14px}.castle-dock h2{color:#e8dbb8;margin:0;font:25px/1.2 Georgia,serif}.castle-dock .court-conversation{overscroll-behavior:contain;gap:14px;overflow-y:auto}.castle-dock .court-conversation>*{flex-shrink:0}.castle-dock .court-conversation>small{color:#bfad7b;letter-spacing:.12em;font:10px/1.4 Arial,sans-serif}.castle-dock .court-conversation>p{font:18px/1.4 Georgia,serif}.castle-dock .speaker-dialogue{display:block}.castle-dock .speaker-dialogue .speaker-portrait{float:left;margin:0 12px 5px 0}.castle-dock .speaker-dialogue p{font-size:18px;line-height:1.45}.castle-combat{flex:1;grid-template-rows:100px 38px minmax(216px,1fr) 34px;gap:8px;min-height:0;display:grid}.castle-combat .court-tell strong{font-size:19px;line-height:23px}.castle-combat .court-tell p{font-size:12px;line-height:17px}.castle-actions{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:6px;min-height:0;display:grid}.castle-actions button,.castle-rest button,.castle-souls button{background:linear-gradient(#26382d,#15251d);border-color:#a2aa7859;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:0;min-height:0;padding:6px;display:flex}.castle-actions strong{font:600 15px/18px Arial,sans-serif}.castle-actions small{color:#bdc7b3;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font:12px/15px Arial,sans-serif;overflow:hidden}.castle-dock{position:relative}.castle-save-error{z-index:35;color:#f1c9b1;background:#251b17;border:1px solid #c78d6d;border-radius:8px;padding:12px;font:13px/1.4 Arial,sans-serif;position:absolute;bottom:58px;left:12px;right:12px;box-shadow:0 6px 20px #0008}.castle-exchange{color:#b9c9ae;align-self:center;margin:0;font:11px/16px Arial,sans-serif}.castle-rest{gap:10px;margin-top:auto;display:grid}.castle-rest button{text-align:left;align-items:flex-start;min-height:70px;padding:12px}.castle-rest small,.castle-souls small{color:#bcc8b7;font-size:11px;line-height:16px}.castle-souls{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.castle-souls button{min-height:60px;font-size:12px}@container court-dock (height<=500px){.castle-dock[data-state=rest] .court-conversation{gap:6px}.castle-dock[data-state=rest] .speaker-dialogue{--portrait-size:40px;grid-template-columns:var(--portrait-size) minmax(0,1fr);align-items:center;gap:10px;display:grid}.castle-dock[data-state=rest] .speaker-portrait{float:none;margin:0}.castle-dock[data-state=rest] .speaker-name{margin:0 0 3px;font-size:18px;line-height:21px}.castle-dock[data-state=rest] .speaker-dialogue p{font-size:14px;line-height:18px}.castle-dock[data-state=rest] .castle-rest{gap:5px}.castle-dock[data-state=rest] .castle-rest button{min-height:50px;padding:6px 8px}.castle-dock[data-state=rest] .castle-rest strong{font:600 13px/16px Arial,sans-serif}.castle-dock[data-state=rest] .castle-rest small{font:11px/14px Arial,sans-serif}}.castle-transformation{z-index:25;pointer-events:none;background:radial-gradient(#5a386360,#080f13aa);flex-direction:column;justify-content:center;align-items:center;gap:10px;animation:1.2s ease-out both castle-form-reveal;display:flex;position:absolute;inset:0}.castle-transformation strong{color:#e8dbb9;font:24px Georgia,serif}.castle-transformation span{color:#d2cbb9;font-size:12px}.castle-transformation i{aspect-ratio:1;border:1px solid #d7b48650;border-radius:50%;width:40%;position:absolute;transform:rotateX(55deg)rotate(15deg)}.castle-transformation i:nth-child(2){width:55%;transform:rotateX(55deg)rotate(-15deg)}.castle-transformation i:nth-child(3){width:70%}@keyframes castle-form-reveal{0%{opacity:0}to{opacity:1}}.castle-view>.castle-film{grid-template-columns:minmax(0,1fr) var(--castle-command-width);border:1px solid var(--court-border);background:#09130f;border-radius:12px;flex:1;grid-template-rows:minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.castle-view .castle-film-stage{min-height:0;position:relative;overflow:hidden}.castle-view .castle-game-scene>.court-scene{height:100%}.castle-view .castle-handoff-dock{min-height:0}.castle-view .castle-game-controls{height:100%;min-height:0;padding:0;display:block}.castle-view .castle-game-controls>.castle-dock{height:100%}.castle-view .castle-film-dock{border-left:1px solid var(--court-border);color:#aab9a8;background:#0b1711;flex-direction:column;justify-content:center;gap:20px;padding:24px;font-size:12px;display:flex}.castle-view .castle-film-dock button{background:#294b36;width:100%;min-height:44px}.castle-view .castle-film-name{text-align:center;text-shadow:0 2px 12px #000;position:absolute;bottom:30px;left:20px;right:20px}.castle-view .castle-film-name small{letter-spacing:.2em;font-size:10px}.castle-view .castle-film-name h2{margin-top:5px;font:30px Georgia,serif}.castle-view .castle-film-state{text-align:center;color:#e2d3af;background:#101a16ee;padding:12px;font-size:13px;position:absolute;top:20px;left:20px;right:20px}@media (max-width:899px){.portrait.view-castle .game-column{width:100%;margin:0}.portrait.view-castle .game-navigation{display:none!important}}@media (max-width:760px){.portrait.view-castle .game-column{width:100%;margin:0}.castle-view{gap:6px;padding:5px 8px 8px}.castle-view .court-header{gap:8px;height:42px}.castle-view .court-header>button{width:38px;height:38px}.castle-view .court-header small{letter-spacing:.1em;font-size:8px}.castle-view .court-header h1{font-size:18px}.castle-view .court-shell,.castle-view>.castle-film{grid-template-rows:minmax(0,1fr) 322px;grid-template-columns:minmax(0,1fr)}.castle-dock{border-left:0;border-top:1px solid var(--court-border);gap:3px;padding:8px}.castle-view .court-scene{grid-template-rows:minmax(0,1fr) 32px}.castle-view .court-player-hud{gap:3px;padding:4px 10px}.castle-view .court-player-hud>span{font-size:11px;line-height:13px}.castle-view .court-player-hud small{font-size:9px}.castle-view .court-opponent-hud{top:12px;left:5%;right:5%}.castle-view .court-opponent-hud h2{margin:4px 0 6px;font-size:18px;line-height:21px}.castle-view .court-location{font-size:9px;line-height:12px}.castle-view .court-foe-readout{margin-top:4px;font-size:10px;line-height:12px}.castle-combat{grid-template-rows:62px 32px minmax(132px,1fr) 17px;gap:4px}.castle-combat .court-tell>small{margin:0;font-size:8px;line-height:10px}.castle-combat .court-tell strong{font-size:15px;line-height:18px}.castle-combat .court-tell p{margin-top:3px;font-size:10px;line-height:13px}.castle-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.castle-actions strong{font-size:11px;line-height:13px}.castle-actions small{font-size:9px;line-height:11px}.castle-actions button{padding:4px 3px}.castle-exchange{font-size:10px;line-height:13px}.castle-view .court-dock-footer{height:36px;min-height:36px}.castle-view .court-dock-footer button{height:36px;font-size:11px}.castle-dock .court-conversation{gap:9px}.castle-dock .court-conversation>p{font-size:16px;line-height:1.3}.castle-dock .speaker-dialogue p{font-size:16px;line-height:1.4}.castle-dock h2{font-size:21px}.castle-rest{gap:6px}.castle-rest button{min-height:51px;padding:7px 10px}.castle-souls{gap:5px}.castle-souls button{min-height:40px;padding:5px}.castle-souls strong{font-size:10px}.castle-souls small{font-size:9px;line-height:11px}.castle-view .castle-film-dock{border-left:0;border-top:1px solid var(--court-border)}.castle-victory{gap:5px!important}.castle-victory>p{font-size:14px!important}}@media (max-width:760px) and (max-height:720px){.castle-view .court-shell,.castle-view>.castle-film{grid-template-rows:minmax(0,1fr) 302px}.castle-combat{grid-template-rows:57px 29px minmax(126px,1fr) 15px}.castle-dock .speaker-dialogue p{font-size:15px}.castle-view .court-location>span{letter-spacing:0}}@media (orientation:landscape) and (max-height:520px){.castle-view{gap:4px;padding:4px 7px}.castle-view .court-header{height:34px}.castle-view .court-header>button{width:32px;height:32px}.castle-view .court-header h1{font-size:19px}.castle-view .court-shell,.castle-view>.castle-film{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) 355px;display:grid}.castle-view .court-shell>.court-scene{grid-area:1/1}.castle-view .court-shell>.castle-dock{grid-area:1/2}.castle-dock{padding:6px}.castle-combat{grid-template-rows:52px 28px minmax(108px,1fr) 14px;gap:3px}.castle-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.castle-actions strong{font-size:10px;line-height:12px}.castle-actions small{font-size:9px;line-height:10px}.castle-actions button{padding:3px}.castle-combat .court-tell strong{font-size:14px;line-height:17px}.castle-combat .court-tell p{margin-top:2px;font-size:10px;line-height:12px}.castle-combat .court-tell>small{margin:0;font-size:8px;line-height:10px}.castle-view .court-dock-footer,.castle-view .court-dock-footer button{height:30px;min-height:30px}.castle-dock .speaker-dialogue p,.castle-dock .court-conversation>p{font-size:14px;line-height:1.3}.castle-dock .court-conversation{gap:7px}.castle-rest button{min-height:45px;padding:6px}.castle-souls button{min-height:37px;padding:4px}.castle-souls strong,.castle-souls small{font-size:10px;line-height:12px}}@media (prefers-reduced-motion:reduce){.castle-transformation{animation:none}}.borrowed-soul-sprite{object-fit:contain;pointer-events:none;width:100%;height:100%;display:block;position:absolute;inset:0}.castle-arrival-body,.castle-arrival-effects{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.castle-arrival-body{transform-origin:50% 92%;will-change:transform,opacity,filter}.castle-arrival-effects{z-index:3;overflow:visible}.castle-stage[data-stage=host]>.castle-enemy{visibility:hidden!important}.castle-release-canvas{z-index:18}.castle-stage[data-edras=true]{--edras-color:#d6bd7e}.castle-stage[data-edras=true][data-phase="2"]{--edras-color:#a7bcf4}.castle-stage[data-edras=true][data-phase="3"]{--edras-color:#edb2db}.castle-stage[data-edras=true] .court-scene-shade{background:radial-gradient(ellipse at 76% 45%,color-mix(in srgb,var(--edras-color) 13%,transparent),transparent 65%),linear-gradient(#0710116b,transparent 40%,#05090e60);transition:background 1.5s}.castle-stage[data-edras=true] .court-bar i{background:var(--edras-color);transition:width .3s,color 1s}.edras-transformation{z-index:16;color:#f2e5d7;pointer-events:none;background:linear-gradient(#0000 30%,#070c1399 60%,#070c13bb);flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex;position:absolute;inset:0}.edras-transformation small{letter-spacing:.2em;color:var(--edras-color);margin-top:30%;font:10px Arial}.edras-transformation strong{text-align:center;text-shadow:0 2px 12px #000;font:clamp(20px,3cqw,34px)/1.2 Georgia}.edras-transformation span{color:#c9c9d0;text-align:center;font:12px/1.4 Arial}.edras-ascension-seal{aspect-ratio:1;width:30%;transform:translate(-50%,-50%) scale(calc(.45 + var(--edras-rise,0)*.7));border:1px solid var(--edras-color);opacity:calc(1 - var(--edras-rise,0)*.75);box-shadow:0 0 60px color-mix(in srgb,var(--edras-color) 20%,transparent);border-radius:50%;position:absolute;top:43%;left:75%}.edras-ascension-seal i{transform-origin:top;width:1px;height:80%;transform:rotate(calc(var(--ray)*30deg));background:linear-gradient(var(--edras-color),transparent);position:absolute;top:50%;left:50%}@media (prefers-reduced-motion:reduce){.edras-ascension-seal{opacity:.2;transform:translate(-50%,-50%)}}.edras-turn-lore{color:#d8c5aa;font:italic 12px/1.4 Georgia;display:block}.castle-exchange:has(.edras-turn-lore) small{color:#9eb0a5;margin-top:3px;font:10px/1.2 Arial;display:block}.edras-ascension-seal{display:none}.edras-transformation{background:linear-gradient(#0000 55%,#070c1399);justify-content:flex-end;padding-bottom:8%}.edras-transformation small{margin-top:0}.court-discovery{color:#eee4ce;width:min(760px,100vw - 32px);overflow:hidden;box-shadow:0 24px 90px #000a;background:#0b1413!important;border:1px solid #86744b!important;gap:0!important;max-width:760px!important;padding:0!important}.court-discovery-stage{--opened:0;--title:0;--sealOpacity:1;--angle:0;--scale:1.065;isolation:isolate;background:radial-gradient(at 50% 60%,#273e3b,#091010 70%);height:350px;position:relative;overflow:hidden}.court-discovery-stage>img{object-fit:cover;width:100%;height:100%;opacity:var(--opened);transform:scale(var(--scale))}.court-discovery-stage:after{content:"";pointer-events:none;background:linear-gradient(#0000 35%,#0b1413),radial-gradient(#0000,#03080788);position:absolute;inset:0}.court-folio-leaf{z-index:1;width:52%;height:150%;opacity:calc(1 - var(--opened));will-change:transform,opacity;background:repeating-linear-gradient(0deg,#0000 0 29px,#b4a37112 30px 31px),linear-gradient(100deg,#111b19,#26302a,#111a16);border:1px solid #a4926066;position:absolute;top:-25%}.court-folio-leaf.left{transform-origin:0;transform:translateX(calc(var(--opened)*-40%)) rotate(calc(var(--angle)*-1deg));left:0}.court-folio-leaf.right{transform-origin:100%;transform:translateX(calc(var(--opened)*40%)) rotate(calc(var(--angle)*1deg));right:0}.court-discovery-seal{z-index:2;color:#e6d39b;width:116px;height:116px;opacity:var(--sealOpacity);background:radial-gradient(circle,#304339,#111c16);border:1px solid #c5b170;border-radius:50%;place-items:center;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 65px #d8bc5333}.court-discovery-seal i{border:1px solid #a38d57;position:absolute;inset:9px;transform:rotate(45deg)}.court-discovery-seal i+i{transform:rotate(calc(var(--angle)*2deg));border-radius:50%;inset:21px}.court-discovery-seal svg{width:31px;height:31px}.court-discovery-lettering{z-index:3;text-align:center;opacity:var(--title);transform:translateY(calc((1 - var(--title))*10px));position:absolute;inset:auto 24px 22px}.court-discovery-lettering small{letter-spacing:.25em;color:#dcc486;font-size:10px}.court-discovery-lettering h2{color:#f0e5ca;margin:12px 0;font-family:Georgia,serif;font-size:clamp(28px,5vw,43px);font-weight:400;line-height:1.12}.court-discovery-lettering p{letter-spacing:.36em;color:#cdb77f;margin:12px 0 0;font-size:11px}.court-discovery-dock{text-align:center;padding:20px 28px 24px}.court-discovery-dock>p:first-child{color:#b9c6bb;max-width:570px;margin:0 auto;font-size:14px;line-height:1.6}.court-discovery-status{color:#c4b386;min-height:38px;margin:12px 0 4px;font-size:12px}.court-discovery-status[role=alert]{color:#edbf9d}.court-discovery-actions{justify-content:center;gap:12px;display:flex}.court-discovery-actions button{flex:1;justify-content:center;min-height:46px;margin:0}.court-discovery-loading{z-index:4;text-align:center;color:#d5c79e;font-size:12px;position:absolute;bottom:16px;left:0;right:0}.court-access-wait{min-height:230px;padding:40px}.court-access-wait button{margin:16px 10px 0 0}.court-discovery-stage[data-reduced=true] .court-folio-leaf,.court-discovery-stage[data-reduced=true] .court-discovery-lettering{transform:none}.court-discovery .court-discovery-lettering h2{color:#f0e5ca;font:400 clamp(28px,5vw,43px)/1.12 Georgia,serif}.court-discovery .court-discovery-status{height:54px;min-height:54px;margin:8px 0;line-height:18px;overflow:auto}.court-discovery-actions .primary-button{color:#fff3d3;background:linear-gradient(125deg,#62583a,#887749);border:1px solid #b7a16b;box-shadow:inset 0 1px #ecdbac22}.court-discovery-actions .secondary-button{color:#d5d6bc;background:#14211b;border:1px solid #61715d}.court-discovery-actions button:disabled{opacity:.55;cursor:wait}.court-discovery-actions button:focus-visible{outline-offset:3px;outline:2px solid #edcf8b}@media (max-width:600px){.court-discovery{width:calc(100vw - 24px)}.court-discovery-stage{height:285px}.court-discovery-dock{padding:14px 16px 18px}.court-discovery-actions{flex-direction:column;gap:8px}.court-discovery-lettering{inset:auto 14px 20px}.court-discovery-status{min-height:34px;margin-top:8px}}@media (max-height:500px) and (orientation:landscape){.court-discovery{grid-template-columns:1fr 1fr;width:min(760px,100vw - 32px);max-height:calc(100dvh - 24px);display:grid!important}.court-discovery-stage{height:100%;min-height:270px}.court-discovery-dock{padding:18px}.court-discovery-actions{flex-direction:column;gap:8px}.court-discovery-lettering h2{font-size:30px}}.amulet-collection{margin:24px 0}.amulet-slot{text-align:left;color:#dfd7bd;background:linear-gradient(110deg,#211e16,#0c1713 70%);border:1px solid #65573b;border-radius:9px;align-items:center;gap:22px;width:100%;min-height:132px;padding:18px 24px;display:flex}.amulet-slot>span:nth-child(2){flex:1;gap:6px;display:grid}.amulet-slot small,.amulet-stage-caption{letter-spacing:.15em;color:#c9b27a;font-size:10px}.amulet-slot strong{font:24px Georgia,serif}.amulet-slot-frame{outline-offset:4px;background:radial-gradient(#343026,#111812 70%);border:1px solid #5e5035;border-radius:48% 48% 8% 8%;outline:1px solid #332e23;flex-shrink:0;place-items:center;width:92px;height:100px;display:grid}.amulet-slot-frame img{object-fit:contain;filter:drop-shadow(0 5px 3px #0009);width:76px;height:88px}.amulet-collection-dialog{background:#0c1814;width:min(860px,95vw);max-height:90dvh;padding:28px;overflow-y:auto}.amulet-collection-dialog header{padding-right:80px;position:relative}.amulet-collection-dialog h2,.amulet-reveal h2{color:#e6ddc1;font-family:Georgia,serif}.amulet-echoes{color:#d4b97c;align-items:center;gap:7px;margin-top:12px;display:flex}.amulet-cabinet{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:24px 0;display:grid}.amulet-cabinet-item{color:#dcd5bf;background:radial-gradient(at 50% 35%,#303128,#101c17 65%);border:1px solid #3b4537;border-radius:46% 46% 4px 4px;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-width:0;height:162px;padding:12px 6px 8px;display:flex;position:relative}.amulet-cabinet-item img{object-fit:contain;filter:drop-shadow(0 5px 3px #000b);width:80px;height:86px}.amulet-cabinet-item span{text-align:center;min-height:28px;font:12px Georgia,serif}.amulet-cabinet-item small{color:#b0bdab;min-height:12px;font-size:9px}.amulet-cabinet-item.selected{border-color:var(--amulet-color);box-shadow:inset 0 0 0 2px #121b13,0 0 0 1px var(--amulet-color)}.amulet-cabinet-item:disabled{opacity:.5}.amulet-detail{border-top:1px solid #354334;min-height:207px;padding:18px 0 0}.amulet-detail h3{margin:0 0 9px;font:25px Georgia,serif}.amulet-detail p{color:#aebbaf;max-width:620px;margin-bottom:12px;font-size:13px;line-height:1.6}.amulet-stats{color:#d8dec4;gap:20px;font-size:13px;display:flex}.amulet-stats>span{align-items:center;gap:5px;display:flex}.amulet-ranks{gap:7px;margin:15px 0;display:flex}.amulet-ranks i{background:#344135;width:22px;height:4px}.amulet-ranks i[data-lit=true]{background:#c2a36d}.amulet-buttons{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.amulet-buttons button{min-height:42px}.amulet-status{color:#d3bd9b;min-height:40px;padding:10px 0;font-size:12px;display:block}.amulet-collection-dialog footer{border-top:1px solid #354334;margin-top:12px}.amulet-reveal{text-align:center;background:#09130f;gap:12px;width:min(520px,95vw);max-height:95dvh;padding:22px;overflow-y:auto}.amulet-reveal header{min-height:82px}.amulet-reveal-stage{isolation:isolate;background:radial-gradient(at 50% 74%,#22291b,#08120e 64%);border:1px solid #4b5037;border-radius:46% 46% 3px 3px;height:286px;position:relative;overflow:hidden}.amulet-vault{border:1px solid #6d63403d;border-radius:46% 46% 2px 2px;position:absolute;inset:10px;box-shadow:inset 0 0 0 8px #060b0890}.amulet-sigil{border:1px solid var(--amulet-color);opacity:.2;background:repeating-conic-gradient(from 0deg,#0000 0deg 17deg,var(--amulet-color) 18deg 18.5deg,#0000 19deg 30deg);border-radius:50%;width:208px;height:208px;position:absolute;top:49%;left:50%;transform:translate(-50%,-50%);-webkit-mask:radial-gradient(#0000 65%,#000 66% 69%,#0000 70%);mask:radial-gradient(#0000 65%,#000 66% 69%,#0000 70%)}.amulet-reveal-art{opacity:0;filter:drop-shadow(0 10px 5px #000b);place-items:center;transition:opacity 1.1s,transform 1.8s cubic-bezier(.17,.7,.23,1);display:grid;position:absolute;inset:10px 30px 24px;transform:translateY(35px)}.amulet-reveal-art img{object-fit:contain;width:100%;height:100%;max-height:230px}.amulet-reveal-stage[data-ready=true][data-phase=form] .amulet-reveal-art,.amulet-reveal-stage[data-ready=true][data-phase=awaken] .amulet-reveal-art,.amulet-reveal-stage[data-ready=true][data-phase=rest] .amulet-reveal-art{opacity:1;transform:translateY(0)}.amulet-reveal-shadow{background:radial-gradient(#000b,#0000 70%);width:130px;height:20px;position:absolute;bottom:27px;left:50%;transform:translate(-50%)}.amulet-threads{opacity:0;position:absolute;inset:0}.amulet-threads i{transform-origin:top;background:linear-gradient(var(--amulet-color),transparent);width:1px;height:105px;transform:rotate(calc(var(--i)*30deg));opacity:.45;position:absolute;top:50%;left:50%}.amulet-reveal-stage[data-ready=true][data-phase=gather] .amulet-threads,.amulet-reveal-stage[data-ready=true][data-phase=unseal] .amulet-threads{opacity:1;animation:2.1s ease-out both amulet-converge}.amulet-impact{border:1px solid var(--amulet-color);opacity:0;border-radius:50%;position:absolute;inset:50px}.amulet-reveal-stage[data-phase=awaken] .amulet-impact{animation:1.1s ease-out both amulet-wave}.amulet-stage-caption{min-height:16px;position:absolute;bottom:9px;left:0;right:0}.amulet-reveal-lore{color:#b6c1ae;min-height:62px;margin:0;font-size:13px;line-height:1.6}.amulet-reveal .amulet-stats{justify-content:center}.amulet-reveal-actions{min-height:64px}.amulet-reveal-actions>button{width:100%;min-height:43px}.amulet-reveal-actions>span{min-height:19px;font-size:11px;display:block}.amulet-reveal-stage[data-reduced=true] *{transition:none!important;animation:none!important}.amulet-reward-button{text-align:left;color:#e0d4af;background:#24251b;border:1px solid #70603e;border-radius:5px;align-items:center;gap:12px;padding:7px 12px;display:flex}.amulet-reward-button img{object-fit:contain;width:45px;height:54px}.amulet-reward-button span{gap:5px;display:grid}.amulet-reward-button small{color:#a7b6a0;font-size:10px}.amulet-loadout-art{object-fit:contain;width:64px;height:64px}@keyframes amulet-converge{0%{opacity:0;transform:rotate(-18deg)scale(1.25)}40%{opacity:.65}to{opacity:0;transform:rotate(16deg)scale(.45)}}@keyframes amulet-wave{0%{opacity:.35;transform:scale(.35)}to{opacity:0;transform:scale(1.45)}}@media (max-width:600px){.amulet-slot{gap:14px;padding:14px}.amulet-slot strong{font-size:20px}.amulet-slot-frame{width:70px;height:84px}.amulet-slot-frame img{width:62px;height:73px}.amulet-cabinet{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:16px 0}.amulet-cabinet-item{height:126px}.amulet-cabinet-item img{width:52px;height:62px}.amulet-cabinet-item span{font-size:10px}.amulet-collection-dialog{padding:18px}.amulet-collection-dialog header{padding-right:15px}.amulet-detail{min-height:230px}.amulet-reveal{gap:8px;padding:17px}.amulet-reveal-stage{height:250px}.amulet-reveal-art img{max-height:205px}.amulet-reveal header{min-height:68px}.amulet-reveal-lore{min-height:58px;font-size:12px}.amulet-buttons{gap:8px}.amulet-buttons button{font-size:12px}}@media (max-height:460px) and (orientation:landscape){.amulet-reveal{grid-template-rows:auto auto auto auto;grid-template-columns:42% 1fr;gap:8px 20px;width:min(760px,96vw);padding:16px;display:grid}.amulet-reveal-stage{grid-area:1/1/5;height:270px}.amulet-reveal header{grid-column:2;min-height:60px;padding-right:15px}.amulet-reveal-lore,.amulet-reveal>.amulet-stats,.amulet-reveal-actions{grid-column:2}.amulet-reveal-art img{max-height:220px}.amulet-reveal-lore{min-height:0}.amulet-cabinet{grid-template-columns:repeat(7,minmax(0,1fr));margin:12px 0}.amulet-cabinet-item{height:120px}.amulet-cabinet-item img{height:58px}.amulet-collection-dialog{max-height:94dvh;padding:18px}}.amulet-reveal-stage .amulet-reveal-art,.amulet-reveal-stage[data-ready=true] .amulet-reveal-art{opacity:var(--form-opacity,0);transform:translateY(var(--form-y,35px));transition:none}.amulet-reveal-stage .amulet-threads,.amulet-reveal-stage[data-ready=true] .amulet-threads{opacity:var(--thread-opacity,0);transform:rotate(var(--thread-angle,0deg)) scale(var(--thread-scale,1));animation:none}.amulet-reveal-stage .amulet-impact,.amulet-reveal-stage[data-phase=awaken] .amulet-impact{opacity:var(--wave-opacity,0);transform:scale(var(--wave-scale,.35));animation:none}.tower-dialog.amulet-reveal [data-slot=dialog-title],.tower-dialog.amulet-collection-dialog [data-slot=dialog-title]{color:#e5dcc2;font-family:Georgia,serif;font-size:28px;font-weight:400}.tower-dialog.amulet-reveal .eyebrow,.tower-dialog.amulet-collection-dialog .eyebrow{color:#bea66d;letter-spacing:.18em}.amulet-reveal .primary-button,.amulet-collection-dialog .primary-button{color:#f0e4c2;background:linear-gradient(#675638,#453b27);border:1px solid #9c8352;box-shadow:inset 0 1px #c4ae732a}.amulet-reveal .primary-button:hover,.amulet-collection-dialog .primary-button:hover{background:linear-gradient(#786442,#50442e)}.amulet-reveal .primary-button:disabled,.amulet-collection-dialog .primary-button:disabled{opacity:.55}.tower-dialog.amulet-collection-dialog{width:min(860px,95vw);max-width:min(860px,95vw);display:block}.amulet-cabinet-item span{overflow-wrap:anywhere;line-height:1.15}.amulet-buttons .primary-button,.amulet-buttons .secondary-button{flex:1;width:auto;min-width:150px}@media (max-width:600px){.tower-dialog.amulet-collection-dialog{width:95vw;max-width:95vw}.amulet-buttons .primary-button,.amulet-buttons .secondary-button{min-width:120px}.amulet-reveal{max-width:95vw}}@media (max-height:460px) and (orientation:landscape){.tower-dialog.amulet-reveal{max-width:96vw}}@media (max-height:500px) and (min-width:651px){.caelan-view .caelan-stage,.caelan-view .caelan-dock{height:calc(100svh - 122px)}}.caelan-view{color:#d0d5cd;max-width:1320px;margin:auto;padding:16px}.caelan-header{align-items:center;gap:14px;margin-bottom:14px;display:flex}.caelan-header>div{flex:1}.caelan-header small,.caelan-dock>small{letter-spacing:2px;color:#bea976;font:10px Arial,sans-serif}.caelan-header h1{color:#e8dfce;margin:5px 0;font:30px Georgia,serif}.caelan-view button{color:#e2dfcf;cursor:pointer;touch-action:manipulation;background:#12231c;border:1px solid #53634e;border-radius:5px;padding:12px 16px}.caelan-view button:focus-visible{outline-offset:3px;outline:2px solid #dbc78f}.caelan-view button:hover{background:#263b2c}.caelan-view button:disabled{opacity:.5;cursor:default}.caelan-shell{background:#080f0e;border:1px solid #53634e77;border-radius:10px;grid-template-columns:minmax(0,1fr) 330px;display:grid;overflow:hidden}.caelan-stage{isolation:isolate;height:clamp(430px,100svh - 190px,650px);position:relative;overflow:hidden}.caelan-stage>video,.caelan-backdrop{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.caelan-stage>video{z-index:2}.caelan-vignette{z-index:3;pointer-events:none;background:linear-gradient(#0000 50%,#030907ca);position:absolute;inset:0}.caelan-film-caption{text-align:center;z-index:4;text-shadow:0 2px 8px #000;position:absolute;bottom:7%;left:8%;right:8%}.caelan-film-caption small{color:#cebc94;letter-spacing:2px;font:9px Arial,sans-serif}.caelan-film-caption p{color:#eeebdf;margin:9px 0;font:24px/1.4 Georgia,serif}.caelan-dock{background:radial-gradient(at 100% 0,#2c384433,#0000 75%),#0b1512;border-left:1px solid #52634e66;flex-direction:column;gap:18px;height:clamp(430px,100svh - 190px,650px);min-height:0;padding:26px;display:flex}.caelan-dock>p{color:#e0e3d6;min-height:0;margin:0;font:21px/1.65 Georgia,serif;overflow:auto}.caelan-dock>h2{color:#ddcca4;margin:0;font:25px Georgia,serif}.caelan-dock>.caelan-primary{background:#284b38;justify-content:space-between;align-items:center;gap:10px;min-height:44px;margin-top:auto;font-weight:600;display:flex}.caelan-speaker[data-speaker=Caelan]{font-variant:small-caps;color:#b8bfdc;letter-spacing:2.4px;font-size:13px}.caelan-speaker[data-speaker=Hunter]{color:#b1ccad}.caelan-save{color:#96a292;min-height:30px;font:10px/1.5 Arial,sans-serif}.caelan-save[role=alert]{color:#edb5a3}.caelan-choices{gap:10px;margin-top:auto;display:grid}.caelan-choices button{text-align:left;min-height:44px}@media (max-width:650px){.caelan-view{padding:8px}.caelan-header{gap:8px;margin-bottom:8px}.caelan-header h1{font-size:21px}.caelan-header small{font-size:7px}.caelan-header button{padding:10px}.caelan-shell{grid-template-columns:1fr}.caelan-stage{height:clamp(235px,36svh,325px)}.caelan-stage>video{object-fit:cover}.caelan-dock{border-top:1px solid #52634e66;border-left:0;gap:11px;height:265px;padding:17px}.caelan-dock>p{font-size:17px;line-height:1.55}.caelan-film-caption p{font-size:19px}.caelan-film-caption small{font-size:7px}.caelan-save{min-height:24px;font-size:9px}.caelan-choices{gap:6px}.caelan-choices button{min-height:36px;padding:9px 12px;font-size:12px}.caelan-dock>small{font-size:9px}.caelan-dock>.caelan-primary{padding:10px;font-size:12px}.caelan-dock>h2{font-size:22px}}@media (max-height:500px) and (min-width:651px){.caelan-view{padding:8px}.caelan-header{margin-bottom:5px}.caelan-header h1{font-size:21px}.caelan-shell{grid-template-columns:minmax(0,1fr) 300px}.caelan-stage,.caelan-dock{height:calc(100svh - 98px);min-height:230px}.caelan-dock{gap:9px;padding:13px}.caelan-dock>p{font-size:15px;line-height:1.5}.caelan-header button{padding:8px}.caelan-dock>.caelan-primary{min-height:36px;padding:8px}.caelan-save{min-height:20px;font-size:8px}.caelan-choices{gap:5px}.caelan-choices button{min-height:32px;padding:7px}}.caelan-clean-scene{z-index:0}.caelan-portrait{z-index:1}.caelan-stage[data-stage=departure]>.caelan-portrait,.caelan-stage[data-stage=departure]>video,.caelan-stage[data-stage=departure]>.caelan-film-caption{opacity:var(--departure-opacity,1)}.caelan-departure-mist{z-index:5;pointer-events:none;opacity:var(--departure-mist,0);transform:translateX(var(--departure-drift,0));background:radial-gradient(at 25% 65%,#a1bec8aa,#0000 62%),linear-gradient(115deg,#0000 15%,#65899466 52%,#0000 85%);position:absolute;inset:-4%}.caelan-stage[data-departed=true]>.caelan-departure-mist{opacity:0}.caelan-stage[data-stage=arrival]>video,.caelan-stage[data-stage=arrival]>.caelan-film-caption{opacity:var(--arrival-opacity,1)}.caelan-dock>p,.caelan-dock>.caelan-speaker{animation:.3s both caelan-dialogue-arrives}@keyframes caelan-dialogue-arrives{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.caelan-dock>p,.caelan-dock>.caelan-speaker{animation-duration:.15s}}:is(.portrait:has(.caelan-view) .stats-strip,.portrait:has(.caelan-view)>.motion-notice){display:none}.portrait:has(.caelan-view) .main-tabs>[data-slot=tabs-content][data-state=active]{flex-direction:column;min-height:0;padding:0;display:flex;overflow:hidden}.caelan-view{box-sizing:border-box;flex-direction:column;flex:1;width:100%;height:100%;min-height:0;max-height:100%;padding:10px 0;display:flex;position:relative;overflow:hidden;container-type:inline-size}.caelan-header{flex:none;gap:10px;min-width:0;margin:0 0 10px}.caelan-header>div{min-width:0}.caelan-header h1{overflow-wrap:normal;font-size:clamp(19px,3.6cqw,29px);line-height:1.12}.caelan-header button{flex:none;min-width:40px;min-height:40px;padding:10px}.caelan-header small{font-size:9px}.caelan-shell{flex:1;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:0}.caelan-view .caelan-stage,.caelan-view .caelan-dock{height:100%;min-height:0;max-height:100%}.caelan-portrait{object-position:32% center}.caelan-dock{gap:12px;min-width:0;padding:20px}.caelan-dock>p{font-size:clamp(16px,2.8cqw,21px);line-height:1.45;overflow:visible}.caelan-dock .speaker-dialogue{--portrait-size:48px;grid-template-rows:48px auto;gap:10px}.caelan-dock .speaker-copy{display:contents}.caelan-dock .speaker-name{grid-area:1/2;align-self:center;margin:0;font-size:21px}.caelan-dock .speaker-line{grid-area:2/1/auto/-1;font-size:clamp(16px,2.8cqw,21px);line-height:1.45}.caelan-save{flex:none;min-height:28px}.caelan-dock>.caelan-primary{flex:none}.caelan-entry-curtain{z-index:30;opacity:var(--caelan-entry-opacity,1);color:#e0d5b7;pointer-events:none;background:linear-gradient(#08121188,#081211ed),url(/canopy/hollow-canopy.webp) 50%/cover;flex-direction:column;justify-content:center;align-items:center;gap:16px;display:flex;position:absolute;inset:0}.caelan-entry-curtain span{text-align:center;padding:18px;font:clamp(19px,4cqw,28px)/1.4 Georgia,serif}.caelan-entry-curtain button{pointer-events:auto}@container (width<=520px){.caelan-header{gap:8px;margin-bottom:7px}.caelan-header h1{font-size:20px}.caelan-header small{letter-spacing:1px;font-size:7px}.caelan-shell{grid-template-rows:minmax(110px,1fr) 270px;grid-template-columns:minmax(0,1fr)}.caelan-dock{border-top:1px solid #52634e66;border-left:0;gap:8px;padding:12px}.caelan-portrait{object-position:32% 32%}.caelan-dock .speaker-dialogue{--portrait-size:42px;grid-template-rows:42px auto;gap:8px}.caelan-dock .speaker-name{font-size:19px}.caelan-dock .speaker-line{font-size:16px;line-height:1.4}.caelan-dock>p{font-size:17px}.caelan-save{min-height:22px;font-size:9px}.caelan-film-caption p{font-size:19px}}@media (max-width:899px){:is(.portrait:has(.caelan-view) .game-navigation,.portrait:has(.caelan-view) .navigation-discovery){display:none!important}.portrait:has(.caelan-view) .topbar{height:44px;min-height:44px}.portrait:has(.caelan-view) .game-column{max-width:none;padding:0 10px}}@media (max-height:520px) and (min-width:520px){.caelan-view{padding:5px 0}.caelan-header{margin-bottom:5px}.caelan-header small{display:none}.caelan-header h1{font-size:20px}.caelan-shell{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}.caelan-dock{gap:6px;padding:10px}.caelan-dock .speaker-dialogue{--portrait-size:32px;grid-template-rows:32px auto;gap:6px}.caelan-dock .speaker-name{font-size:18px}.caelan-dock .speaker-line{font-size:14px;line-height:1.3}.caelan-dock>p{font-size:15px}.caelan-dock>.caelan-primary{min-height:34px;padding:7px}.caelan-save{min-height:20px;font-size:8px}.caelan-choices{gap:4px}.caelan-choices button{min-height:32px;padding:6px 9px}}.lastgate-preview{color:#c3cec3;--gate-gold:#c9b681;--gate-border:#53634955;max-width:1440px;margin:auto;padding:24px 28px 20px;font-family:Arial,sans-serif}.lastgate-stage .lastgate-enemy{translate:var(--enemy-recoil-x,0px) var(--enemy-recoil-y,0px)}.lastgate-phase{z-index:14;text-align:center;pointer-events:none;background:radial-gradient(#0c261cea,#0000 70%);padding:22px;animation:1.7s both lastgate-phase;position:absolute;top:33%;left:10%;right:10%}.lastgate-phase small{letter-spacing:3px;color:#b8caa5;font-size:8px;display:block}.lastgate-phase strong{color:#e8e3c5;margin-top:8px;font:30px Georgia,serif;display:block}@keyframes lastgate-phase{0%{opacity:0;transform:translateY(8px)}18%,64%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-5px)}}.lastgate-film-dialog select{color:#cdd5bc;background:#102018;border:1px solid #536349;border-radius:5px;max-width:150px;padding:8px;font-size:11px}.lastgate-film-dialog footer{gap:8px}@media (max-width:650px){.lastgate-film-dialog select{max-width:120px;padding:5px;font-size:9px}.lastgate-film-dialog footer>span{max-width:85px;font-size:6px;line-height:1.6}}.lastgate-stage .lastgate-enemy[data-enemy=standard]{width:55%;height:82%;right:-3%}@media (max-width:650px) and (max-height:740px){.lastgate-location{top:8px!important}.lastgate-location h2{margin-top:2px!important;font-size:16px!important}.lastgate-foe-hud{top:48px!important}.lastgate-foe-hud small{display:none}.lastgate-foe-hud .lastgate-bar{margin-top:5px!important}.lastgate-foe-hud>span{font-size:7px!important}}.lastgate-preview button,.lastgate-preview select,.lastgate-film-dialog button{cursor:pointer;touch-action:manipulation;border:1px solid var(--gate-border,#56664d);color:#d9e2d5;background:#10241df0;border-radius:6px;padding:10px 14px;transition:background .15s,border-color .15s}.lastgate-preview button:hover,.lastgate-film-dialog button:hover{background:#244735;border-color:#97b297}.lastgate-preview button:active{background:#416047}:is(.lastgate-preview button:focus-visible,.lastgate-preview select:focus-visible,.lastgate-film-dialog button:focus-visible){outline-offset:3px;outline:2px solid #d7c17f}.lastgate-preview button:disabled{opacity:.4;cursor:default}.lastgate-header{align-items:center;gap:18px;margin-bottom:18px;display:flex}.lastgate-header>a{color:#aec3b6}.lastgate-header>div{flex:1}.lastgate-header h1{color:#ece3c9;margin:5px 0 0;font:36px Georgia,serif}.lastgate-eyebrow{letter-spacing:2.3px;color:#b8a977;font-size:9px}.lastgate-watch,.lastgate-review button{align-items:center;gap:8px;display:flex}.lastgate-review{align-items:center;gap:16px;margin-bottom:18px;font-size:11px;display:flex}.lastgate-review label{align-items:center;gap:10px;display:flex}.lastgate-review select{max-width:270px;font-size:12px}.lastgate-review>span{opacity:.55;margin-left:auto}.lastgate-shell{border:1px solid var(--gate-border);background:#07100e;border-radius:12px;grid-template-columns:minmax(0,1fr) 310px;display:grid;overflow:hidden;box-shadow:0 18px 70px #0008}.lastgate-stage{isolation:isolate;background:#07100e url(/last-gate/citadel.png) 50%/cover;height:570px;position:relative;overflow:hidden}.lastgate-scene-shade{pointer-events:none;z-index:1;background:linear-gradient(#02090677,#0000 45%,#020806c4);position:absolute;inset:0}.lastgate-location{text-align:center;z-index:8;pointer-events:none;position:absolute;top:23px;left:16px;right:16px}.lastgate-location small{letter-spacing:2px;color:#bba877;font-size:9px}.lastgate-location h2{color:#e6dec3;text-shadow:0 2px 10px #000;margin:8px 0 0;font:27px Georgia,serif}.lastgate-foe-hud{z-index:8;text-align:center;text-shadow:0 2px 5px #000;position:absolute;top:95px;left:23%;right:11%}.lastgate-foe-hud strong{color:#e4dcc6;font:16px Georgia,serif;display:block}.lastgate-foe-hud small{color:#b9c1ad;font-size:10px}.lastgate-foe-hud>span{font-size:10px}.lastgate-bar{background:#28332b;border-radius:8px;height:4px;overflow:hidden}.lastgate-bar i{background:linear-gradient(90deg,#a28e60,#dfc587);height:100%;transition:width .15s;display:block}.lastgate-foe-hud .lastgate-bar{margin:9px 0 4px}.lastgate-enemy{z-index:3;width:46%;height:64%;transform:translateX(var(--lastgate-advance,0px));transform-origin:50% 100%;filter:drop-shadow(0 12px 8px #0008);position:absolute;bottom:8%;right:1%}.lastgate-enemy canvas{object-fit:contain;width:100%;height:100%}.lastgate-enemy[data-enemy=arbalest],.lastgate-enemy[data-enemy=breachborn]{width:51%;height:68%;right:-1%}.lastgate-stage .battle-party{z-index:4}.lastgate-stage .presentation-contact-canvas{z-index:12}.lastgate-player-hud{z-index:9;position:absolute;bottom:20px;left:5%;right:6%}.lastgate-player-hud>span{color:#d6edc6;align-items:center;gap:8px;margin-bottom:8px;font-size:12px;display:flex}.lastgate-player-hud small{color:#abd8d1;margin-left:auto}.lastgate-player-hud i{background:linear-gradient(90deg,#538e6a,#c6dba7)}.lastgate-banner-status{color:#d3bc81;z-index:9;background:#08130bd4;border:1px solid #99815555;border-radius:4px;padding:5px 8px;font-size:10px;position:absolute;bottom:64px;right:12px}.lastgate-dock{border-left:1px solid var(--gate-border);background:radial-gradient(at 100% 0,#25433155,#0000 75%),#0a1511;flex-direction:column;height:570px;padding:22px;display:flex;overflow:hidden}.lastgate-dock-top{justify-content:space-between;align-items:center;gap:8px;margin-bottom:28px;display:flex}.lastgate-dock-top button{background:0 0;border:0;padding:7px}.lastgate-conversation{flex-direction:column;flex:1;gap:12px;min-height:0;display:flex}.lastgate-conversation>small{letter-spacing:1px;color:#c8b780;font-size:11px}.lastgate-conversation p{color:#e0e1cc;margin:0 0 12px;font:19px/1.65 Georgia,serif}.lastgate-conversation .lastgate-primary{margin-top:auto}.lastgate-primary{justify-content:space-between;align-items:center;gap:8px;min-height:44px;font-size:12px;font-weight:600;display:flex;color:#eff2df!important;background:linear-gradient(115deg,#3b6750,#254a37)!important;border-color:#98ad775e!important}.lastgate-page{color:#859983;text-align:right;min-height:12px;font-size:10px}.lastgate-dock-footer{color:#93a38d;border-top:1px solid #74836a26;justify-content:space-between;align-items:center;margin-top:15px;padding-top:14px;font-size:10px;display:flex}.lastgate-dock-footer button{background:0 0;border:0;padding:7px;font-size:11px}.lastgate-combat{flex-direction:column;flex:1;gap:12px;display:flex}.lastgate-tell{min-height:98px}.lastgate-tell strong{color:#e2d9b9;font:22px Georgia,serif}.lastgate-tell p{color:#a7b7a5;margin:10px 0 0;font-size:12px;line-height:1.65}.lastgate-actions{grid-template-columns:1fr 1fr;gap:7px;display:grid}.lastgate-actions button{text-align:left;flex-direction:column;gap:6px;padding:12px 10px;display:flex}.lastgate-actions strong{color:#e2e1be;font-size:13px}.lastgate-actions small{color:#a7b7a5;font-size:10px}.lastgate-skills{gap:6px;display:grid}.lastgate-skills button{justify-content:space-between;align-items:center;gap:6px;padding:9px 10px;font-size:10px;display:flex}.lastgate-skills small{color:#a7baa6;font-size:9px}.lastgate-preview button[data-queued=true]{background:#3b5033;border-color:#dbc57a;box-shadow:inset 0 0 14px #d4bc5814}.lastgate-banner-button{font-size:10px}.lastgate-response{color:#b8c5ab;min-height:32px;font-size:10px;line-height:1.6}.lastgate-preview-note{color:#829480;margin:14px 0;font-size:11px;line-height:1.6}.lastgate-victory h2{color:#ded4ae;margin:0;font:24px Georgia,serif}.lastgate-victory p{font-size:16px}.lastgate-reward{color:#d9cd9d;background:#b89e3810;border:1px solid #a28c4855;border-radius:8px;gap:8px;padding:15px;font-size:12px;display:grid}.lastgate-victory>small{letter-spacing:0;font:10px/1.5 Arial,sans-serif}.lastgate-preload{z-index:20;color:#cbbd92;background:#07120df5;flex-direction:column;justify-content:center;align-items:center;gap:18px;font:17px Georgia,serif;display:flex;position:absolute;inset:0}.lastgate-journal{max-height:82dvh;overflow:auto;color:#c8d2c2!important;background:#0b1812!important;border-color:#63705b!important}.lastgate-journal article{border-top:1px solid #687d5544;padding-top:12px}.lastgate-journal h3{color:#ddd1ab;margin-bottom:8px;font:20px Georgia,serif}.lastgate-journal p{font-size:13px;line-height:1.75}.lastgate-film-dialog{overflow:hidden;color:#e6ddc5!important;background:#030806!important;border:1px solid #546650!important;gap:0!important;width:min(1200px,96vw)!important;max-width:none!important;padding:0!important}.lastgate-film{aspect-ratio:16/9;background:#030806;position:relative}.lastgate-film canvas{width:100%;height:100%;display:block}.lastgate-film-caption{text-align:center;text-shadow:0 2px 12px #000,0 1px 4px #000;position:absolute;bottom:7%;left:7%;right:7%}.lastgate-film-caption small{color:#cbbd92;letter-spacing:3px;font:10px Arial,sans-serif}.lastgate-film-caption p{color:#eae6d6;margin:10px 0 0;font:clamp(14px,2vw,26px) Georgia,serif}.lastgate-film-progress{background:#4d5630;height:2px;position:absolute;bottom:0;left:0;right:0}.lastgate-film-progress>div{transform-origin:0;background:#d3be7e;height:100%;transform:scaleX(0)}.lastgate-film-end,.lastgate-film-wait{flex-direction:column;justify-content:center;align-items:center;gap:14px;display:flex;position:absolute;inset:0}.lastgate-film-end small{letter-spacing:4px;color:#cbbb8c;font-size:10px}.lastgate-film-end h2{color:#e7dec5;margin:0;font:clamp(28px,5vw,60px) Georgia,serif}.lastgate-film-end p{color:#94a48f;margin:0 0 10px;font-size:12px}.lastgate-film-dialog footer{letter-spacing:1.3px;justify-content:space-between;align-items:center;padding:12px 20px;font-size:9px;display:flex}.lastgate-film-dialog footer button{letter-spacing:0;font-size:11px}.lastgate-film-dialog>button{color:#dfdfc9}@media (min-width:901px){.lastgate-stage,.lastgate-dock{height:clamp(430px,100svh - 205px,640px)}}@media (max-width:900px){.lastgate-preview{padding:14px}.lastgate-shell{grid-template-columns:minmax(0,1fr) 280px}.lastgate-dock{padding:16px}.lastgate-stage,.lastgate-dock{height:540px}.lastgate-conversation p{font-size:17px}.lastgate-review>span{display:none}}@media (max-width:650px){.lastgate-preview{padding:9px 8px}.lastgate-header{gap:9px;margin-bottom:9px}.lastgate-header h1{font-size:23px}.lastgate-eyebrow{letter-spacing:1.5px;font-size:7px}.lastgate-header .lastgate-watch{gap:5px;padding:8px;font-size:10px}.lastgate-icon{padding:8px!important}.lastgate-review{gap:5px;margin-bottom:8px;font-size:0}.lastgate-review label{flex:1;gap:0;font-size:0}.lastgate-review select{width:100%;max-width:100%;padding:8px;font-size:10px}.lastgate-review button{gap:4px;padding:8px;font-size:9px}.lastgate-shell{border-radius:8px;flex-direction:column;display:flex}.lastgate-stage{flex:none;height:clamp(245px,37svh,340px)}.lastgate-location{top:12px}.lastgate-location h2{margin-top:4px;font-size:19px}.lastgate-location small{font-size:7px}.lastgate-foe-hud{top:63px;left:20%;right:8%}.lastgate-foe-hud strong{font-size:12px}.lastgate-foe-hud small,.lastgate-foe-hud>span{font-size:8px}.lastgate-foe-hud .lastgate-bar{height:3px;margin:5px 0 2px}.lastgate-enemy{width:45%;height:60%;bottom:8%}.lastgate-player-hud{bottom:11px}.lastgate-player-hud>span{margin-bottom:4px;font-size:10px}.lastgate-banner-status{font-size:8px;bottom:39px}.lastgate-dock{border-left:0;border-top:1px solid var(--gate-border);height:294px;padding:10px 13px}.lastgate-dock-top{min-height:19px;margin-bottom:7px}.lastgate-dock-top button{padding:2px}.lastgate-conversation{gap:8px}.lastgate-conversation p{margin:0;font-size:16px;line-height:1.55}.lastgate-conversation>small{font-size:10px}.lastgate-primary{min-height:38px;font-size:11px;padding:8px 12px!important}.lastgate-page{min-height:0;font-size:8px}.lastgate-dock-footer{margin-top:8px;padding-top:5px;font-size:9px}.lastgate-dock-footer button{padding:3px 6px;font-size:10px}.lastgate-tell{min-height:51px}.lastgate-tell strong{font-size:17px}.lastgate-tell p{margin-top:5px;font-size:10px;line-height:1.5}.lastgate-combat{gap:7px}.lastgate-actions{grid-template-columns:repeat(4,1fr);gap:5px}.lastgate-actions button{gap:4px;padding:9px 5px}.lastgate-actions strong{font-size:10px}.lastgate-actions small{font-size:8px}.lastgate-skills{grid-template-columns:1fr 1fr;gap:5px}.lastgate-skills button{gap:3px;padding:6px;font-size:9px;display:grid}.lastgate-skills small{font-size:8px}.lastgate-response{min-height:23px;font-size:9px;line-height:1.3}.lastgate-banner-button{font-size:9px;padding:5px!important}.lastgate-preview-note{margin:8px 0;font-size:9px;line-height:1.5}.lastgate-victory{gap:7px}.lastgate-victory>svg{display:none}.lastgate-victory h2{font-size:20px}.lastgate-victory p{font-size:13px}.lastgate-reward{gap:4px;padding:8px;font-size:10px}.lastgate-film-dialog footer{padding:9px;font-size:7px}.lastgate-film-caption small{letter-spacing:1.5px;font-size:6px}.lastgate-film-caption p{margin-top:5px}.lastgate-film-end{gap:8px}.lastgate-film-end p{margin:0;font-size:9px}.lastgate-film-end button{padding:7px;font-size:10px}.lastgate-film-dialog footer button{padding:6px 8px;font-size:9px}}@media (max-height:500px) and (min-width:651px){.lastgate-preview{padding:8px 12px}.lastgate-header{margin-bottom:7px}.lastgate-header h1{font-size:23px}.lastgate-header .lastgate-eyebrow{font-size:7px}.lastgate-review{margin-bottom:7px}.lastgate-review select,.lastgate-review button{padding:6px 9px}.lastgate-stage,.lastgate-dock{height:calc(100svh - 115px);min-height:250px}.lastgate-shell{grid-template-columns:minmax(0,1fr) 285px}.lastgate-dock{padding:9px 12px}.lastgate-dock-top{margin-bottom:5px}.lastgate-dock-top button{padding:2px}.lastgate-conversation{gap:6px}.lastgate-conversation p{margin:0;font-size:14px;line-height:1.5}.lastgate-dock-footer{margin-top:5px;padding-top:5px}.lastgate-tell{min-height:46px}.lastgate-tell strong{font-size:17px}.lastgate-tell p{margin-top:5px;font-size:10px}.lastgate-combat{gap:5px}.lastgate-actions{grid-template-columns:repeat(4,1fr);gap:4px}.lastgate-actions button{gap:3px;padding:8px 4px}.lastgate-actions strong{font-size:9px}.lastgate-actions small{font-size:7px}.lastgate-skills{grid-template-columns:1fr 1fr}.lastgate-skills button{gap:3px;padding:5px;font-size:8px;display:grid}.lastgate-skills small{font-size:7px}.lastgate-response{min-height:19px;font-size:8px}.lastgate-banner-button{font-size:8px;padding:5px!important}.lastgate-location{top:10px}.lastgate-location h2{margin:5px 0;font-size:18px}.lastgate-foe-hud{top:57px}.lastgate-foe-hud strong{font-size:12px}.lastgate-foe-hud small,.lastgate-foe-hud>span{font-size:8px}.lastgate-player-hud{bottom:12px}.lastgate-preview-note{display:none}.lastgate-film-dialog{width:min(85vw,178dvh - 124.6px)!important}.lastgate-victory>svg{display:none}.lastgate-victory h2{font-size:20px}.lastgate-reward{padding:6px;font-size:10px}}[data-game-motion=reduced] :is(.lastgate-preview,.lastgate-film-dialog) *{transition:none!important;animation-duration:.01ms!important}.lastgate-film-subtitles{text-align:center;background:#080f0d;height:104px;padding:12px 24px;display:block}.lastgate-film-subtitles small{letter-spacing:1.4px;color:#cbbd92;min-height:18px;font:11px/18px Arial,sans-serif;display:block}.lastgate-film-subtitles p{color:#eae6d6;max-width:54ch;margin:6px auto 0;font:18px/1.4 Georgia,serif}@media (min-width:651px) and (min-height:501px){.lastgate-film-dialog{width:min(1200px,96vw,177.778dvh - 341.333px)!important}}@media (max-width:650px){.lastgate-film-subtitles{text-align:center;background:#080f0d;height:164px;padding:16px 22px;display:block}.lastgate-film-subtitles small{letter-spacing:1.2px;color:#cbbd92;min-height:14px;font:12px/18px Arial,sans-serif;display:block}.lastgate-film-subtitles p{color:#eae6d6;margin:7px 0;font:24px/1.38 Georgia,serif}.lastgate-film-dialog footer{grid-template-columns:1fr 1fr;padding:10px!important;display:grid!important}.lastgate-film-dialog footer>span{grid-column:1/-1;max-width:none;font-size:9px}.lastgate-film-dialog footer select,.lastgate-film-dialog footer button{width:100%;min-height:44px;max-width:none!important;padding:7px!important;font-size:12px!important}}.lastgate-film video{object-fit:contain;background:#030709;width:100%;height:100%;display:block}.lastgate-film-start{text-align:center;background:linear-gradient(#03070966,#030709bb);flex-direction:column;justify-content:center;align-items:center;gap:13px;display:flex;position:absolute;inset:0 0 44px}.lastgate-film-start small{letter-spacing:3px;color:#d0bb85;font:10px Arial,sans-serif}.lastgate-film-start h2{color:#eee4c9;margin:0 0 12px;font:clamp(26px,5vw,64px) Georgia,serif}.lastgate-film-start p{color:#b8c3b5;margin:0;font-size:12px}.lastgate-film-error{color:#eedbbd;text-align:center;background:#201c17;padding:15px;position:absolute;inset:auto 10% 20%}.lastgate-film-dialog video:focus-visible{outline-offset:-3px;outline:2px solid #d7c17f}@media (max-width:650px){.lastgate-film-start{gap:7px;bottom:35px}.lastgate-film-start small{letter-spacing:1.5px;font-size:7px}.lastgate-film-start h2{margin:0;font-size:26px}.lastgate-film-start button{padding:8px;font-size:11px}.lastgate-film-start p{font-size:8px}.lastgate-film-dialog footer{letter-spacing:0}.lastgate-film-dialog footer select{min-width:0;max-width:125px}}.lastgate-film-dialog footer{font-size:11px}.lastgate-film-dialog footer button,.lastgate-film-dialog footer select{max-width:240px;font-size:13px}@media (max-height:500px) and (min-width:651px){.lastgate-film-dialog{width:min(85vw,178dvh - 267px)!important}.lastgate-film-subtitles{text-align:center;height:80px;padding:5px 12px;display:block}.lastgate-film-subtitles small{color:#cbbd92;font:11px/15px Arial}.lastgate-film-subtitles p{color:#eae6d6;margin:3px 0;font:19px/1.3 Georgia}.lastgate-film-dialog{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) 220px;align-items:stretch;max-height:calc(100dvh - 16px);width:min(780px,94vw,178dvh + 77.6px)!important;display:grid!important}.lastgate-film{grid-area:1/1;min-width:0}.lastgate-film-subtitles{flex-direction:column;grid-area:1/2;justify-content:center;height:auto;padding:26px 14px;display:flex}.lastgate-film-dialog footer{letter-spacing:.5px;grid-area:2/1/auto/-1;gap:12px;min-height:50px;padding:7px 12px;font-size:9px;display:flex!important}.lastgate-film-dialog footer>span{white-space:nowrap;flex:none}.lastgate-film-dialog footer select{flex:1;min-width:0;max-width:240px;padding:8px;font-size:11px}.lastgate-film-dialog footer button{white-space:nowrap;min-height:36px;padding:7px 10px;font-size:11px}.lastgate-film-start{gap:6px;bottom:34px}.lastgate-film-start h2{margin:0;font-size:28px}.lastgate-film-start small{letter-spacing:1.5px;font-size:7px}.lastgate-film-start button{padding:7px 10px;font-size:11px}.lastgate-film-start p{font-size:9px}}.lastgate-replay-link{color:#eff2df;letter-spacing:0;touch-action:manipulation;background:linear-gradient(115deg,#3b6750,#254a37);border:1px solid #98ad775e;border-radius:6px;justify-content:center;align-items:center;min-height:44px;padding:10px 14px;font-size:13px;text-decoration:none;display:inline-flex}.lastgate-replay-link:hover{background:#315d42;border-color:#97b297}.lastgate-replay-link:focus-visible{outline-offset:3px;outline:2px solid #d7c17f}@media (max-width:650px){.lastgate-film-dialog .lastgate-replay-link{width:100%;padding:7px;font-size:12px}}@media (max-height:500px) and (min-width:651px){.lastgate-film-dialog .lastgate-replay-link{white-space:nowrap;min-height:36px;padding:7px 10px;font-size:11px}}.lastgate-audio{justify-content:center;align-items:center;gap:8px;font-size:11px;display:flex}.lastgate-audio[aria-pressed=true]{color:#d4e9c5;border-color:#9bb98c}.lastgate-speaker{flex:none;align-items:center;gap:12px;min-height:58px;display:flex}.lastgate-speaker-portrait{color:#b9b184;background:radial-gradient(#37524488,#07100d);border:1px solid #8a80534d;border-radius:7px;flex:none;place-items:center;width:56px;height:58px;display:grid;overflow:hidden}.lastgate-speaker-portrait>svg{width:100%;height:100%;display:block}.lastgate-speaker-portrait>svg.lucide{width:23px;height:23px}.lastgate-speaker strong{color:#e4d5a7;font:19px Georgia,serif;display:block}.lastgate-speaker small{color:#98ae9f;margin-top:4px;font:10px/1.45 Arial,sans-serif;display:block}.lastgate-dialogue>p{scrollbar-width:thin;scrollbar-color:#5b7260 transparent;min-height:0;padding-right:3px;overflow:auto}.lastgate-dock:has(.lastgate-dialogue) .lastgate-dock-top{margin-bottom:14px}@media (max-width:650px){.lastgate-header{flex-wrap:wrap}.lastgate-header>div{min-width:180px}.lastgate-audio{flex:1;order:3;min-height:36px;font-size:10px;padding:7px!important}.lastgate-header .lastgate-watch{order:4;min-height:36px}.lastgate-speaker{gap:9px;min-height:38px}.lastgate-speaker-portrait{width:38px;height:38px}.lastgate-speaker strong{font-size:16px}.lastgate-speaker small{margin-top:2px;font-size:9px}.lastgate-dock:has(.lastgate-dialogue) .lastgate-dock-top{margin-bottom:6px}.lastgate-dialogue>p{font-size:15px;line-height:1.45}}@media (max-height:500px) and (min-width:651px){.lastgate-audio{padding:7px;font-size:10px}.lastgate-speaker{gap:8px;min-height:35px}.lastgate-speaker-portrait{width:35px;height:35px}.lastgate-speaker strong{font-size:15px}.lastgate-speaker small{margin-top:2px;font-size:8px}.lastgate-dock:has(.lastgate-dialogue) .lastgate-dock-top{margin-bottom:5px}.lastgate-dialogue>p{font-size:13px;line-height:1.4}}.lastgate-story-overlay{background:#000;transition:opacity .8s}.lastgate-story-film{transition:opacity .8s;background:#000!important;border:0!important;border-radius:0!important}.lastgate-film-finishing{opacity:0;pointer-events:none}.lastgate-story-film .lastgate-film{background:#000}.lastgate-story-film .lastgate-film-start{background:#0005;bottom:0}.lastgate-story-film .lastgate-film-subtitles{background:#000}.lastgate-entry{background:linear-gradient(90deg,#07100ff7,#0b1513c9 50%,#09141233),url(/last-gate/citadel.png) 65%/cover;border:1px solid #b8a57755;border-radius:14px;align-items:center;min-height:480px;padding:40px;display:flex;overflow:hidden}.lastgate-entry>div{max-width:480px}.lastgate-entry h2{color:#eee3c9;margin:16px 0;font:40px/1.15 Georgia,serif}.lastgate-entry p{color:#bbcabe;font-size:14px;line-height:1.8}.lastgate-entry-reward{border-block:1px solid #8e9a6840;align-items:center;gap:18px;margin:28px 0;padding:12px 0;display:flex}.lastgate-entry-reward img{object-fit:contain;width:96px;height:96px}.lastgate-entry-reward strong,.lastgate-entry-reward small{display:block}.lastgate-entry-reward strong{color:#e1d5b4;margin-bottom:8px;font:20px Georgia,serif}.lastgate-entry-reward small{font-size:12px;line-height:1.7}.lastgate-requirements{color:#c6b482!important}.lastgate-save-error{color:#e6d7bd;background:#2a221b;border:1px solid #9d7c52;border-radius:7px;justify-content:space-between;align-items:center;gap:16px;margin-top:10px;padding:10px 16px;font-size:12px;display:flex}.lastgate-oath{align-items:center;gap:15px;padding:10px 0;display:flex;position:relative}.lastgate-oath:before{content:"";z-index:0;pointer-events:none;background:radial-gradient(at 30%,#c6b37433,#0000 65%);animation:1.4s ease-out both gate-oath-reveal;position:absolute;inset:0}.lastgate-oath img{object-fit:contain;filter:drop-shadow(0 5px 12px #dbb65430);width:105px;height:105px;position:relative}.lastgate-oath>div{gap:7px;display:grid;position:relative}.lastgate-oath small{letter-spacing:1.4px;color:#e7ba71;font-size:8px}.lastgate-oath strong{color:#eadcbb;font:22px/1.2 Georgia,serif}.lastgate-oath span{color:#acbbab;font-size:11px;line-height:1.5}.lastgate-victory>p{margin:0;font-size:15px}.lastgate-victory .lastgate-primary{margin-top:0}.lastgate-victory .lastgate-reward{font-size:11px}.lastgate-entrance{background:linear-gradient(110deg,#15271f,#1b2018)!important;border-color:#a494614a!important}.lastgate-live{padding:12px 0}.lastgate-live .lastgate-header{margin-bottom:14px}.lastgate-live .lastgate-header .lastgate-eyebrow{letter-spacing:1.5px}@keyframes gate-oath-reveal{0%{opacity:0}to{opacity:1}}@media (max-width:650px){.lastgate-entry{min-height:450px;padding:23px}.lastgate-entry h2{font-size:33px}.lastgate-live{padding:0}.lastgate-live .lastgate-header{gap:7px;margin:6px 0 9px}.lastgate-header .lastgate-audio span{display:none}.lastgate-header .lastgate-audio{padding:9px}.lastgate-header .lastgate-audio svg{display:block}.lastgate-oath{gap:9px;padding:0}.lastgate-oath img{width:65px;height:65px}.lastgate-oath strong{font-size:16px}.lastgate-oath small{font-size:7px}.lastgate-oath span{font-size:9px}.lastgate-victory{gap:5px}.lastgate-victory>p{display:none}.lastgate-victory h2{margin:0;font-size:18px}.lastgate-victory .lastgate-reward{padding:6px;font-size:9px}.lastgate-victory .lastgate-primary{min-height:32px}.lastgate-live .lastgate-stage{height:clamp(210px,33svh,310px)}.lastgate-live .lastgate-dock{height:285px}.lastgate-dialogue p{font-size:16px;line-height:1.45}.lastgate-victory>small{font-size:8px}}@media (max-width:650px) and (max-height:740px){.lastgate-preview .lastgate-stage{height:225px}.lastgate-preview .lastgate-dock{height:284px}.lastgate-live .lastgate-stage{height:205px}.lastgate-live .lastgate-dock{height:268px}.lastgate-live .lastgate-dock-footer{margin-top:4px;padding-top:3px}.lastgate-live .lastgate-dock-top{margin-bottom:4px}}@media (max-height:500px) and (min-width:651px){.lastgate-live .lastgate-header{margin:0 0 5px}.lastgate-live .lastgate-stage,.lastgate-live .lastgate-dock{height:calc(100svh - 125px);min-height:235px}.lastgate-victory h2{margin:0;font-size:19px}.lastgate-victory{gap:5px}.lastgate-victory>p{display:none}.lastgate-oath{gap:8px;padding:0}.lastgate-oath img{width:50px;height:50px}.lastgate-oath strong{font-size:16px}.lastgate-oath span{display:none}.lastgate-victory .lastgate-reward{padding:5px;font-size:9px}.lastgate-victory .lastgate-primary{min-height:30px}}@media (prefers-reduced-motion:reduce){.lastgate-oath:before{animation:none}.lastgate-film-finishing{transition-duration:.15s!important}}.portrait.view-lastgate .stats-strip,.portrait.view-lastgate .tower-art,.portrait.view-lastgate .page-light-pass{display:none}.portrait.view-lastgate .game-column{background:#081110;width:calc(100% - 112px);max-width:none;margin:0 0 0 112px;padding:0 16px}.portrait.view-lastgate .main-tabs{flex:1;min-height:0;display:flex}.portrait.view-lastgate .main-tabs>[data-slot=tabs-content]{height:100%;min-height:0;padding:0;overflow:hidden}.view-lastgate .lastgate-live{flex-direction:column;max-width:none;height:100%;min-height:0;padding:10px 0 14px;display:flex}.view-lastgate .lastgate-header{flex:none;min-height:62px;margin:0 0 10px}.view-lastgate .lastgate-shell{flex:1;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) 310px;min-height:0;display:grid}.view-lastgate .lastgate-stage,.view-lastgate .lastgate-dock{height:100%;min-height:0}.view-lastgate .lastgate-stage[data-formation-frame]{place-self:stretch stretch;min-width:0;aspect-ratio:auto!important;width:100%!important;height:100%!important;margin:0!important}.view-lastgate .lastgate-dock{min-width:0;position:relative}.view-lastgate .lastgate-entry{flex:1;min-height:0;overflow:auto}.view-lastgate .lastgate-dock:has(.lastgate-victory) .lastgate-dock-footer{display:none}@media (max-width:899px){body:has(.view-lastgate){overflow:hidden}.tower-shell.portrait.view-lastgate{height:100svh;min-height:0;padding-bottom:calc(76px + env(safe-area-inset-bottom));overflow:hidden}.portrait.view-lastgate .tower-layout{flex:1;height:0;min-height:0;overflow:hidden}.portrait.view-lastgate .game-column{width:100%;height:100%;margin:0;padding:0 8px;overflow:hidden}.view-lastgate .lastgate-live{padding:0 0 6px}.view-lastgate .lastgate-header{flex-wrap:nowrap;gap:8px;height:52px;min-height:52px;margin:0 0 5px}.view-lastgate .lastgate-header>div{min-width:0}.view-lastgate .lastgate-header h1{font-size:23px}.view-lastgate .lastgate-header .lastgate-audio{flex:none}.view-lastgate .lastgate-shell{grid-template-rows:minmax(150px,1fr) 294px;grid-template-columns:1fr}.view-lastgate .lastgate-dock{border-top:1px solid #53634955;border-left:0}}@media (max-width:650px) and (max-height:740px){.view-lastgate .lastgate-shell{grid-template-rows:minmax(145px,1fr) 266px}.view-lastgate .lastgate-header h1{font-size:21px}}@media (max-width:899px) and (min-width:520px) and (max-height:520px){.tower-shell.portrait.view-lastgate{padding-bottom:52px}.portrait.view-lastgate .topbar{height:38px;min-height:38px}.portrait.view-lastgate .topbar .wallet-button{height:30px;min-height:30px}.portrait.view-lastgate .game-navigation.compact-navigation{height:50px;min-height:50px;padding-top:0;padding-bottom:0}.portrait.view-lastgate .game-navigation.compact-navigation button{height:46px;min-height:44px}.view-lastgate .lastgate-header{height:35px;min-height:35px;margin-bottom:3px}.view-lastgate .lastgate-header h1{font-size:19px}.view-lastgate .lastgate-shell{grid-template-rows:1fr;grid-template-columns:minmax(0,1fr) 285px}.view-lastgate .lastgate-dock{border-top:0;border-left:1px solid #53634955}}.lastgate-dialogue-footer{flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:32px;display:flex}.lastgate-dialogue-footer .lastgate-page{margin-left:auto}.lastgate-dialogue-footer .lastgate-skip{color:#cfbf90;background:0 0;border:0;min-height:32px;padding:5px 0;font-size:11px}@media (max-width:650px){.lastgate-dialogue-footer{min-height:28px}.lastgate-dialogue-footer .lastgate-skip{min-height:28px;padding:4px 0;font-size:11px}.lastgate-dialogue{gap:6px}}@media (max-height:500px) and (min-width:651px){.lastgate-dialogue-footer{min-height:24px}.lastgate-dialogue-footer .lastgate-skip{min-height:24px;padding:3px 0;font-size:10px}}.lastgate-top-hud{z-index:20;pointer-events:none;text-shadow:0 2px 6px #000;gap:10px;display:grid;position:absolute;inset:18px 5% auto}.lastgate-top-hud .lastgate-location,.lastgate-top-hud .lastgate-foe-hud{width:100%;min-width:0;position:static}.lastgate-top-hud .lastgate-foe-hud{justify-self:center;max-width:540px}.lastgate-foe-heading{flex-wrap:wrap;justify-content:center;align-items:baseline;gap:3px 9px;display:flex}.lastgate-foe-heading strong{font-size:18px;line-height:1.2}.lastgate-foe-heading small{font-size:11px;line-height:1.3}.lastgate-foe-health{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin-top:7px;display:grid}.lastgate-foe-health .lastgate-bar{height:5px;margin:0!important}.lastgate-foe-health>span{font-variant-numeric:tabular-nums;white-space:nowrap;color:#d8e4d4;font-size:12px;line-height:18px}@media (max-width:899px){.lastgate-top-hud{gap:6px;inset:9px 4% auto}.lastgate-top-hud .lastgate-location{flex-wrap:wrap;justify-content:center;align-items:baseline;gap:3px 9px;display:flex}.lastgate-top-hud .lastgate-location small{letter-spacing:1px;white-space:nowrap;font-size:8px;line-height:12px}.lastgate-top-hud .lastgate-location h2{line-height:19px;margin:0!important;font-size:16px!important}.lastgate-foe-heading strong{font-size:14px;line-height:17px}.lastgate-foe-heading small{font-size:9px;line-height:12px}.lastgate-foe-health{gap:8px;margin-top:4px}.lastgate-foe-health>span{font-size:10px;line-height:14px}.lastgate-top-hud .lastgate-bar{height:4px}.view-lastgate .lastgate-player-hud{bottom:10px}.view-lastgate .lastgate-player-hud>span{flex-wrap:wrap;row-gap:2px;margin-bottom:5px;font-size:12px;line-height:16px}.view-lastgate .lastgate-player-hud small{font-size:11px}}@media (max-width:899px) and (max-height:520px){.lastgate-top-hud{gap:3px;top:7px}.lastgate-top-hud .lastgate-location h2{line-height:17px;font-size:14px!important}.lastgate-foe-heading strong{font-size:12px;line-height:15px}.lastgate-foe-heading small{display:none}.lastgate-foe-health{margin-top:2px}}.lastgate-film-returning{pointer-events:none;transition:none!important}.inspired-craft-entry{--craft:#edb964;text-align:left;border:1px solid color-mix(in srgb,var(--craft) 40%,transparent);background:radial-gradient(ellipse at 5% 40%,color-mix(in srgb,var(--craft) 12%,transparent),transparent 70%),#0b1715;color:#ede4c9;border-radius:14px;align-items:center;gap:18px;width:100%;margin:22px 0;padding:24px;display:flex}.inspired-craft-entry.craft-pet{--craft:#97ddd0}.craft-entry-seal{border:1px solid var(--craft);height:62px;color:var(--craft);border-radius:50%;flex:0 0 62px;place-items:center;display:grid;box-shadow:inset 0 0 24px #dbc89112}.inspired-craft-entry>span:nth-child(2){flex:1}.inspired-craft-entry strong,.inspired-craft-entry em,.inspired-craft-entry small{display:block}.inspired-craft-entry small{letter-spacing:.2em;color:var(--craft);font-size:10px}.inspired-craft-entry strong{margin:6px 0;font:24px/1.3 Georgia,serif}.inspired-craft-entry em{color:#acbfb4;font-size:13px;font-style:normal}.inspired-craft-entry:focus-visible{outline-offset:3px;outline:2px solid #e6d49a}.craft-inventory button:focus-visible{outline-offset:3px;outline:2px solid #e6d49a}.armory-filters:has(.inventory-management){width:100%}.inventory-management{flex-wrap:wrap;flex:0 auto;gap:8px;width:auto;max-width:100%;margin:0;display:flex}.armory-filters .inventory-management>button{flex:none;justify-content:center;align-items:center;gap:6px;width:auto;min-width:145px;min-height:44px;margin:0;padding:8px 14px;line-height:18px;display:inline-flex}@media (max-width:600px){.inventory-management:has(.inventory-merge-button){grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.armory-filters .inventory-management:has(.inventory-merge-button)>button{width:100%;min-width:0;padding:8px}}.armory-filters .inventory-merge-button{color:#eddaaa;background:linear-gradient(135deg,#293b2c,#18291f);border-color:#b49a5b80}.inventory-merge-button>svg{color:#dbbe79;flex:none}.inventory-merge-button:focus-visible{outline-offset:2px;outline:2px solid #e6d49a}.inventory-merge-button:disabled{opacity:.5;cursor:default}.inspired-craft-dialog[data-slot=dialog-content]{color:#e4e0cb;background:#0a1715;border:1px solid #8e8153;flex-direction:column;gap:12px;width:min(790px,100vw - 24px);max-width:790px;max-height:calc(100dvh - 30px);padding:24px;display:flex;overflow:hidden}.craft-dialog-heading{flex:none;justify-content:space-between;align-items:center;padding-right:22px;display:flex}.craft-dialog-heading h2{margin:5px 0;font:28px/1.2 Georgia,serif}.craft-description{flex:none;color:#a7bbb2!important;margin:0!important;font-size:12px!important}.craft-story{flex-direction:column;justify-content:space-between;gap:32px;min-height:280px;padding:20px 4px;display:flex}.craft-story .speaker-line{font-size:20px;line-height:1.5}.craft-selection{flex:none;grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.craft-selection>button{background:#10231c;border:1px dashed #53635a;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:0;min-height:132px;padding:10px;display:flex;position:relative}.craft-selection>button.filled{border:1px solid color-mix(in srgb,var(--rarity) 55%,#1a2b24);background:radial-gradient(ellipse at 50% 30%,color-mix(in srgb,var(--rarity) 10%,transparent),#0a1715)}.craft-selection img{object-fit:contain;filter:drop-shadow(0 4px 8px #0008);width:64px;height:72px}.craft-selection span{text-align:center;font-size:12px}.craft-selection small{font-size:10px}.craft-selection .lucide-x{position:absolute;top:7px;right:7px}.craft-filter{flex:none;align-items:center;gap:12px;display:flex}.craft-filter label{align-items:center;gap:8px;font-size:12px;display:flex}.craft-filter select{background:#10231c;border:1px solid #43594d;border-radius:6px;padding:8px}.craft-filter .secondary-button{min-height:36px;padding:9px 12px}.craft-inventory{overscroll-behavior:contain;scrollbar-color:#49665a #0a1715;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-height:80px;padding-right:4px;display:grid;overflow-y:auto}.craft-inventory button{text-align:left;border:1px solid color-mix(in srgb,var(--rarity) 35%,transparent);border-left:3px solid var(--rarity);background:#10201b;border-radius:8px;align-items:center;gap:10px;min-width:0;min-height:75px;padding:10px;display:flex}.craft-inventory img{object-fit:contain;flex:none;width:45px;height:55px}.craft-inventory strong,.craft-inventory small,.craft-inventory em{display:block}.craft-inventory strong{font-size:13px;font-weight:500}.craft-inventory small,.craft-inventory em{font-size:10px;font-style:normal;line-height:1.6}.craft-confirm{border-top:1px solid #415047;flex:none;padding-top:10px}.craft-confirm p{margin:0 0 5px;font-size:13px}.craft-confirm small{color:#b5c4bb;font-size:11px;line-height:1.4;display:block}.craft-confirm .primary-button{width:100%;margin-top:8px}.craft-error{color:#ecae99;min-height:16px}.craft-outcome{text-align:center;flex:none;min-height:96px}.craft-outcome p{font-size:13px}.craft-outcome>div{justify-content:center;gap:12px;display:flex}.craft-ceremony{--gather:0;--reveal:0;--settle:0;--turn:0deg;--ritual:#efb660;isolation:isolate;background:radial-gradient(at 50% 65%,#32301b 0,#0000 60%),linear-gradient(#07100f,#14221b);border-radius:12px;flex:1;height:min(43dvh,380px);min-height:220px;position:relative;overflow:hidden}.craft-ceremony.craft-pet{--ritual:#9cddcf;background:radial-gradient(at 50% 60%,#15372f,#0000 60%),linear-gradient(#07100f,#0e2025)}.craft-orbit{border:1px solid color-mix(in srgb,var(--ritual) 60%,transparent);width:290px;height:290px;transform:translate(-50%,-50%) rotateX(63deg) rotate(var(--turn));opacity:calc(.5 - var(--settle)*.25);border-radius:50%;position:absolute;top:51%;left:50%;box-shadow:0 0 28px #afce7c20,inset 0 0 30px #90c6a319}.craft-orbit-outer:before,.craft-orbit-outer:after{content:"";border:1px dashed var(--ritual);opacity:.5;border-radius:50%;position:absolute;inset:17px}.craft-orbit-outer:after{border-style:solid;inset:35px}.craft-orbit-inner{width:190px;height:190px;transform:translate(-50%,-50%) rotateX(63deg) rotate(calc(-1 * var(--turn)));border-style:dashed}.craft-heart{width:200px;height:200px;transform:translate(-50%,-50%) scale(calc(.3 + var(--gather)*.9));background:radial-gradient(circle,color-mix(in srgb,var(--ritual) 45%,transparent),transparent 65%);opacity:calc(1 - var(--settle)*.7);position:absolute;top:48%;left:50%}.craft-offering{--x:-190px;--y:0px;width:90px;height:105px;transform:translate(calc(-50% + var(--x)*(1 - var(--gather))),calc(-50% + var(--y)*(1 - var(--gather)))) scale(calc(1 - var(--gather)*.65));opacity:calc(1 - var(--gather));filter:drop-shadow(0 0 15px var(--ritual));position:absolute;top:43%;left:50%}.offering-1{--x:0px;--y:-65px}.offering-2{--x:190px;--y:0px}.craft-offering img{object-fit:contain;width:100%;height:100%}.craft-born{width:190px;height:210px;opacity:var(--reveal);filter:drop-shadow(0 0 22px color-mix(in srgb,var(--rarity) 65%,transparent));position:absolute;top:43%;left:50%;transform:translate(-50%,-50%)}.craft-born img{object-fit:contain;width:100%;height:100%}.craft-filaments{opacity:calc(1 - var(--settle));pointer-events:none;position:absolute;inset:0}.craft-filaments i{width:2px;height:38px;transform:rotate(calc(var(--i)*15deg + var(--turn))) translateY(calc(-25px - (1 - var(--gather))*150px));background:linear-gradient(transparent,var(--ritual),transparent);opacity:calc(.1 + var(--gather)*.5);filter:blur(.5px);border-radius:50%;position:absolute;top:48%;left:50%}.craft-ceremony-caption{text-align:center;color:#eee4cd;font:18px/1.3 Georgia,serif;position:absolute;bottom:15px;left:12px;right:12px}.craft-ceremony-caption small{letter-spacing:.2em;text-transform:uppercase;margin-top:5px;font:11px/1.5 system-ui;display:block}.craft-ceremony-caption>span{display:none}.craft-ceremony-caption>span:only-child,[data-phase=gather] .craft-caption-gather,[data-phase=temper] .craft-caption-temper,[data-phase=awaken] .craft-caption-awaken,[data-phase=reveal] .craft-caption-reveal{display:block}@media (max-width:600px){.inspired-craft-dialog[data-slot=dialog-content]{gap:9px;padding:15px}.craft-dialog-heading h2{font-size:23px}.craft-selection{gap:7px}.craft-selection>button{min-height:113px;padding:6px}.craft-selection img{width:50px;height:52px}.craft-selection span{font-size:11px}.craft-filter{flex-wrap:wrap;gap:7px}.craft-filter .secondary-button{font-size:12px}.craft-inventory{grid-template-columns:1fr}.craft-inventory button{min-height:62px;padding:7px}.craft-inventory img{width:40px;height:43px}.craft-story .speaker-line{font-size:17px}.craft-offering{--x:-115px}.offering-1{--x:0px}.offering-2{--x:115px}.inspired-craft-entry{gap:12px;padding:17px}.inspired-craft-entry strong{font-size:21px}.craft-entry-seal{flex-basis:46px;height:46px}.craft-born{width:145px;height:170px}}@media (max-height:500px) and (min-width:600px){.inspired-craft-dialog[data-slot=dialog-content]{grid-template-columns:1fr 1fr;gap:8px;padding:14px;display:grid}.craft-dialog-heading,.craft-description{grid-column:1/-1}.craft-selection{grid-area:3/1}.craft-filter{grid-area:4/1}.craft-inventory{grid-area:3/2/5;grid-template-columns:1fr;max-height:150px}.craft-confirm{grid-column:1/-1}.craft-confirm .primary-button{width:40%;position:absolute;bottom:14px;right:14px}.craft-confirm>p,.craft-confirm>small{max-width:57%}.craft-ceremony{grid-column:1;height:240px}.craft-outcome{grid-column:2}.craft-story{grid-column:1/-1;gap:12px;min-height:180px}.craft-born{width:130px;height:150px}.craft-selection>button{min-height:90px}.craft-selection img{height:40px}}.craft-batch-summary{background:linear-gradient(120deg,#30351d50,#102820);border:1px solid #9b8957;border-radius:12px;flex-direction:column;grid-column:1/-1;justify-content:center;gap:5px;min-height:120px;padding:15px 22px;display:flex}.craft-batch-summary strong{font:20px Georgia,serif}.craft-batch-summary span{font-size:12px}.craft-batch-summary small{color:#aebfb5;font-size:10px}.craft-outcome .craft-batch-results{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:170px;padding:4px;display:grid;overflow:auto}.craft-batch-results>div{text-align:left;border:1px solid color-mix(in srgb,var(--rarity) 50%,transparent);animation:.4s both craft-item-reveal;animation-delay:calc(var(--order)*45ms);background:#10251d;border-radius:8px;align-items:center;gap:7px;padding:7px;display:flex}.craft-batch-results img{object-fit:contain;width:38px;height:46px}.craft-batch-results span{font-size:11px}.craft-batch-results small{font-size:10px;display:block}.craft-outcome:has(.craft-batch-results){min-height:0;max-height:40dvh;overflow:auto}.craft-batch-results+.craft-outcome{flex:1}@keyframes craft-item-reveal{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media (max-width:600px){.craft-outcome .craft-batch-results{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){.craft-batch-results>div{animation:none}}.craft-bond-changes{color:#cbd3c4;scrollbar-color:#49665a #0a1715;max-height:92px;margin-top:6px;font-size:11px;overflow:auto}.craft-bond-changes summary{cursor:pointer;color:#dfd2a2;padding:3px 0}.craft-bond-changes[open] small{padding:3px 0}@media (max-height:700px){.inspired-craft-dialog[data-slot=dialog-content]{scrollbar-color:#49665a #0a1715;overflow-y:auto}.craft-confirm{background:#0a1715;padding-bottom:8px;position:sticky;bottom:-15px}.craft-batch-summary{gap:3px;min-height:0;padding:10px 14px}.craft-batch-summary strong{font-size:17px}.craft-batch-summary small{font-size:10px}}.craft-filter label,.craft-filter .text-link{white-space:nowrap;flex:none}.craft-filter .secondary-button{flex:1;width:auto}.craft-filter .text-link{min-width:40px}.craft-inventory button:disabled{opacity:.72}.craft-batch-summary{scrollbar-color:#577060 #102820;scrollbar-width:thin;justify-content:flex-start;max-height:min(200px,28dvh);overflow-y:auto}.craft-batch-results,.craft-outcome{scrollbar-color:#577060 #0a1715;scrollbar-width:thin}.craft-batch-results::-webkit-scrollbar{width:6px}.craft-outcome::-webkit-scrollbar{width:6px}.craft-batch-results::-webkit-scrollbar-thumb{background:#577060;border-radius:6px}.craft-outcome::-webkit-scrollbar-thumb{background:#577060;border-radius:6px}.craft-result-stats{color:#d8e8dc;letter-spacing:0;text-transform:none;flex-wrap:wrap;gap:3px 10px;font:12px/18px Arial,sans-serif;display:flex!important}.craft-result-stats>span{white-space:nowrap;font:inherit!important}.craft-ceremony-caption .craft-result-stats{justify-content:center;margin-top:5px;font-size:14px}.craft-ceremony-caption .concord-grade-badge{vertical-align:middle;margin:5px auto 0}.craft-ceremony-caption .concord-grade-badge small{letter-spacing:.08em;margin:0;font:8px/12px Arial,sans-serif}.craft-ceremony-caption .concord-grade-badge b{font:16px/18px Georgia,serif}.craft-outcome .craft-batch-results{grid-template-columns:repeat(2,minmax(0,1fr));max-height:218px}.craft-outcome .craft-batch-results:has(>:only-child){grid-template-columns:minmax(0,1fr)}.craft-batch-results>div{gap:12px;min-height:105px;padding:10px}.craft-batch-results img{flex:none;width:54px;height:65px}.craft-batch-results .craft-result-detail{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.craft-result-detail>strong{font:15px/19px Georgia,serif}.craft-result-detail>small{font:11px/15px Arial,sans-serif}.craft-batch-results .craft-result-stats{font-size:12px}.craft-inventory .craft-result-stats{font-size:11px}.craft-selection .craft-result-stats{justify-content:center;font-size:10px}.craft-selection .concord-grade-badge{margin:2px 0}.craft-inventory .concord-grade-badge{margin:3px 0}.craft-inheritance-note{color:#aec9bd;line-height:1.5;font-size:12px!important}.craft-ceremony:has(+.craft-outcome .craft-batch-results){flex:0 270px;height:270px;min-height:245px}.craft-ceremony:has(+.craft-outcome .craft-batch-results) .craft-born{width:145px;height:150px;top:31%}.craft-ceremony:has(+.craft-outcome .craft-batch-results) .craft-orbit{top:35%}@media (max-width:600px){.craft-outcome .craft-batch-results{grid-template-columns:1fr;max-height:170px}.craft-batch-results>div{min-height:96px}.craft-ceremony:has(+.craft-outcome .craft-batch-results){flex:0 245px;height:245px;min-height:220px}.craft-ceremony:has(+.craft-outcome .craft-batch-results) .craft-born{width:125px;height:130px;top:29%}.craft-selection>button{min-height:150px}.craft-selection img{height:44px}}@media (max-height:500px) and (min-width:600px){.craft-ceremony:has(+.craft-outcome .craft-batch-results){height:240px;min-height:240px}.craft-outcome .craft-batch-results{grid-template-columns:1fr;max-height:130px}.craft-outcome:has(.craft-batch-results){max-height:240px}}.craft-ceremony[data-rarity]{--ritual:var(--rarity);background:radial-gradient(ellipse at 50% 38%,color-mix(in srgb,var(--rarity) 15%,transparent),transparent 67%),linear-gradient(#07100f,#10211d)}.craft-ceremony .craft-filaments i{transform:rotate(calc(var(--i)*var(--step) + var(--turn))) translateY(calc(-25px - (1 - var(--gather))*150px));height:calc(20px + var(--tier)*6px)}.craft-tier-halo{width:calc(100px + var(--tier)*24px);aspect-ratio:1;transform:translate(-50%,-50%) rotate(var(--turn));opacity:calc(var(--reveal)*(.2 + var(--tier)*.1));pointer-events:none;position:absolute;top:33%;left:50%}.craft-tier-halo i{border:1px solid color-mix(in srgb,var(--rarity) 65%,transparent);box-shadow:0 0 calc(var(--tier)*4px) color-mix(in srgb,var(--rarity) 22%,transparent);border-radius:50%;position:absolute;inset:0}.craft-tier-halo i:nth-child(2){border-style:dashed;inset:10%}.craft-tier-halo i:nth-child(3){border-radius:16%;inset:18%;transform:rotate(45deg)}.craft-tier-halo i:nth-child(4){border-style:dotted;inset:-8%}.craft-tier-halo i:nth-child(5){border-width:3px;inset:-17%;-webkit-mask-image:conic-gradient(#000 0deg,#0000 30deg,#000 60deg,#0000 90deg,#000 120deg,#0000 150deg,#000 180deg,#0000 210deg,#000 240deg,#0000 270deg,#000 300deg,#0000 330deg,#000);mask-image:conic-gradient(#000 0deg,#0000 30deg,#000 60deg,#0000 90deg,#000 120deg,#0000 150deg,#000 180deg,#0000 210deg,#000 240deg,#0000 270deg,#000 300deg,#0000 330deg,#000)}.craft-ceremony[data-rarity="1"] .craft-tier-halo i:nth-child(n+2),.craft-ceremony[data-rarity="2"] .craft-tier-halo i:nth-child(n+3),.craft-ceremony[data-rarity="3"] .craft-tier-halo i:nth-child(n+4),.craft-ceremony[data-rarity="4"] .craft-tier-halo i:nth-child(n+5){display:none}.craft-outcome>div:last-child{background:#0a1715;padding-top:6px;position:sticky;bottom:0}.craft-outcome>div:last-child>button{flex:1;min-height:42px}@media (prefers-reduced-motion:reduce){.craft-tier-halo{transform:translate(-50%,-50%)}.craft-filaments{display:none}}.craft-filter .secondary-button{white-space:nowrap;justify-content:center;align-items:center;gap:6px;display:inline-flex}.craft-filter .secondary-button svg{flex:none}.craft-confirm .primary-button:disabled{opacity:.48;cursor:default}@media (max-width:600px){.craft-selection>button{min-height:98px}.craft-selection>button.filled{min-height:132px}.craft-filter{grid-template-columns:minmax(0,1fr) auto;display:grid}.craft-filter label{grid-column:1/-1;justify-content:space-between}.craft-filter select{flex:1;min-width:0}.craft-filter .secondary-button{width:100%;min-height:40px}.craft-filter .text-link{padding:7px}.craft-inventory{flex:155px;min-height:110px}.craft-confirm p{font-size:12px}.craft-error:empty{display:none}}@media (max-height:700px){.craft-confirm{position:static}.craft-inventory{flex:none;max-height:180px}.craft-selection>button{min-height:80px}.craft-selection>button.filled{min-height:125px}}.craft-inventory{grid-auto-rows:max-content;align-content:start}@media (max-height:700px) and (max-width:600px){.craft-inventory{flex:120px;min-height:84px;max-height:150px}}@media (max-height:500px) and (min-width:600px){.inspired-craft-dialog[data-slot=dialog-content]:has(.craft-confirm){grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:6px;height:calc(100dvh - 20px);max-height:calc(100dvh - 20px);padding:12px;overflow:hidden}.craft-dialog-heading h2{margin:2px 0;font-size:22px}.craft-description{font-size:11px!important;line-height:1.35!important}.craft-selection{min-height:0;overflow-y:auto}.craft-selection>button,.craft-selection>button.filled{min-height:0;padding:5px}.craft-selection img{height:36px}.craft-selection span{font-size:10px}.craft-inventory{min-height:0;max-height:none}.craft-inventory button{min-height:70px;padding:6px}.craft-filter{gap:6px}.craft-filter .secondary-button{padding:6px;font-size:11px}.craft-filter label{gap:5px;font-size:11px}.craft-confirm{grid-template-columns:minmax(0,1fr) minmax(170px,.8fr);gap:3px 12px;padding:6px 0 0;display:grid}.craft-confirm>p,.craft-confirm>small,.craft-confirm>details{grid-column:1;max-width:none;margin:0;font-size:10px;line-height:1.35}.craft-confirm .primary-button{grid-area:1/2/span 5;align-self:center;width:100%;min-height:44px;margin:0;position:static}.craft-error:empty{display:none}}.character-stats .combat-stat-place{color:#a8bdb1;white-space:normal;flex-wrap:wrap;justify-content:center;align-items:center;gap:5px;min-height:24px;font-size:12px;line-height:1.35;display:flex}.character-stats .combat-stat-place b{color:#e6d39c;font-size:13px}.character-stats .combat-stat-place button{color:#d7c28e;text-underline-offset:3px;min-height:24px;font-size:12px;text-decoration:underline}@media (max-width:519px){.character-stats .combat-stat-place{gap:3px;min-height:30px;font-size:10px}.character-stats .combat-stat-place b{font-size:12px}}.chapter-daily-completion{flex-direction:column;align-items:flex-end;gap:4px;min-width:0;margin:0 0 10px;display:flex}.chapter-daily-completion button{color:#c4ddc8;white-space:nowrap;background:#10291f;border:1px solid #426452;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:34px;padding:5px 10px;font:500 12px/18px Arial,sans-serif;display:inline-flex}.chapter-daily-completion button:disabled{opacity:.75}.chapter-daily-completion button>svg{flex:none}.chapter-daily-completion p{color:#a9d6c1;text-align:right;max-width:360px;margin:0;font-size:11px;line-height:16px}.chapter-daily-completion p[role=alert]{color:#f2b998}.hall-season-clock{color:#d9d4b8;background:linear-gradient(110deg,#182c2466,#0a1714);border:1px solid #9eaa783d;border-radius:7px;align-items:center;gap:12px;min-height:76px;margin:14px 0 8px;padding:14px 16px;display:flex}.hall-season-clock>svg{color:#c7b87e;flex:none}.hall-season-clock>div{flex:1;gap:5px;min-width:0;display:grid}.hall-season-clock>div>span{font-size:14px;line-height:1.3}.hall-season-clock small{color:#9eafa4;font-size:11px;line-height:1.4}.hall-season-clock strong{white-space:nowrap;font-variant-numeric:tabular-nums;color:#e1d5aa;font-size:16px;font-weight:500;line-height:1.3}@media (max-width:600px){.hall-season-clock{grid-template-columns:18px minmax(0,1fr);gap:7px 10px;padding:12px;display:grid}.hall-season-clock strong{grid-column:2;font-size:16px}.hall-season-clock>div>span{font-size:12px}}.ring-loadout{background:radial-gradient(at 50% 15%,#52614a33,#0000 64%),linear-gradient(135deg,#10241d,#0b1412);border:1px solid #b5aa7545;border-radius:14px;margin:26px 0;padding:26px;box-shadow:inset 0 1px #d7c99a15,0 16px 42px #0003}.ring-loadout h2{color:#e5ddc5;margin:8px 0;font:27px Georgia,serif}.ring-loadout p{color:#aebdb3;max-width:600px;font-size:13px;line-height:1.7}.ring-hands{grid-template-columns:1fr 1fr;gap:18px;margin:24px 0;display:grid}.ring-hand{text-align:center;color:#d6decc;border-radius:10px;flex-direction:column;align-items:center;gap:9px;min-height:245px;display:flex;position:relative;background:radial-gradient(#7d8b6020,#0000 68%),#07130f!important;border:1px solid #7d8b684a!important;padding:20px 18px!important}.ring-hand.occupied:hover{border-color:#c6b57c!important}.ring-hand-label{letter-spacing:2px;color:#ada77d;font-size:9px}.ring-hand .equipment-illustration{object-fit:contain;filter:drop-shadow(0 8px 13px #000a);width:120px;height:120px}.ring-hand strong{font:18px Georgia,serif}.ring-hand small{color:#aec4b6;font-size:11px;line-height:1.5}.ring-hand .empty-ring{color:#6b795c;margin:32px}.ring-loadout footer{justify-content:space-between;align-items:center;gap:15px;display:flex}.ring-loadout footer>span{color:#a5b5a8;align-items:center;gap:7px;font-size:11px;display:flex}.ring-property{color:#d6bf84;letter-spacing:1px;margin:8px 0;font-size:11px;display:block}.ring-equip-hands{grid-template-columns:1fr 1fr;gap:10px;display:grid}.ring-equip-hands button{min-height:45px}.equipment-card .equipment-illustration[src*="/rings/"]{object-fit:contain;padding:9px}.item-detail .equipment-illustration[src*="/rings/"]{object-fit:contain;filter:drop-shadow(0 10px 24px #c9b46727);width:100%;height:210px}@media (max-width:650px){.ring-loadout{margin:18px 0;padding:17px}.ring-loadout h2{font-size:23px}.ring-hands{gap:10px}.ring-hand{min-height:215px;padding:14px 9px!important}.ring-hand strong{font-size:15px}.ring-hand .equipment-illustration{width:94px;height:94px}.ring-loadout footer{flex-direction:column;align-items:flex-start}.ring-equip-hands button{font-size:12px}}.ring-comparison-hand{color:#b8c7b8;justify-content:space-between;align-items:center;gap:14px;margin:12px 0;font-size:12px;display:flex}.ring-comparison-hand select{color:#e4dfc6;background:#10261e;border:1px solid #77907e66;border-radius:5px;padding:9px 13px}.tower-chest-batch-button{color:#acf3d7;background:linear-gradient(120deg,#163c33,#102820);border:1px solid #66d7b775;border-radius:9px;justify-content:center;align-items:center;gap:6px;width:100%;min-height:40px;margin-top:8px;padding:8px 6px;font-size:12px;font-weight:650;display:flex}.tower-chest-batch-button:disabled{opacity:.5}.tower-chest-batch-button .new-feature-space{min-width:28px;margin:0}:is(.tower-chest-batch-button:focus-visible,.batch-reward-card:focus-visible){outline-offset:2px;outline:2px solid #b0ffdd}.tower-dialog.tower-chest-batch-dialog{background:radial-gradient(at 50% 25%,#15362d 0,#091917 50%,#071211 100%);border:1px solid #baaa7770;border-radius:22px;grid-template-rows:86px minmax(130px,1fr) 50px 238px 100px;gap:10px;width:min(900px,100vw - 24px);max-width:900px;height:min(790px,100dvh - 24px);max-height:none;padding:22px;display:grid;overflow:hidden;box-shadow:0 30px 90px #000c}.tower-chest-batch-heading{text-align:center;align-self:center;padding:0 22px}.tower-chest-batch-heading .reward-eyebrow{color:#bdb28d;letter-spacing:.16em;font-size:10px}.tower-chest-batch-heading [data-slot=dialog-title]{color:#f0e2bf;margin:7px 0;font:400 34px/1.15 Georgia,serif}.tower-chest-batch-heading [data-slot=dialog-description]{color:#adbeb5;font-size:13px;line-height:1.4}.tower-chest-batch-stage{background:radial-gradient(at 50% 90%,#41645218,#0000 65%);border-radius:14px;min-height:0;position:relative;overflow:hidden}.tower-chest-batch-stage canvas{width:100%;height:100%;display:block}.tower-chest-batch-count{color:#c6cbb5;background:#071612c9;border:1px solid #9baf9c42;border-radius:100px;align-items:center;gap:6px;padding:4px 10px;font-size:12px;display:flex;position:absolute;top:8px;right:10px}.tower-chest-batch-spotlight{text-align:center;opacity:0;background:linear-gradient(#0000,#0a1b17e8);transition:opacity .6s;position:absolute;bottom:0;left:8px;right:8px}.tower-chest-batch-spotlight.is-visible{opacity:1}.tower-chest-batch-spotlight span{letter-spacing:.18em;color:var(--batch-color);font-size:8px;display:block}.tower-chest-batch-spotlight strong{color:#eddfbb;padding:2px 0;font:400 21px/1.3 Georgia,serif;display:block}.tower-chest-batch-rarities{flex-wrap:wrap;place-content:center;align-items:center;gap:6px;min-width:0;display:flex}.batch-rarity-pill{border:1px solid color-mix(in srgb,var(--item-color) 30%,transparent);color:var(--item-color);white-space:nowrap;background:#071612bb;border-radius:100px;align-items:center;gap:4px;padding:5px 9px;font-size:11px;line-height:1.1;display:inline-flex}.batch-rarity-pill.is-highest{border-color:var(--item-color);background:color-mix(in srgb,var(--item-color) 14%,#091713);box-shadow:0 0 20px color-mix(in srgb,var(--item-color) 20%,transparent)}.batch-rarity-pill small{text-transform:uppercase;letter-spacing:.06em;font-size:8px}.batch-sealed-caption{color:#bcbda6;font:italic 15px Georgia,serif}.tower-chest-batch-grid{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(5,minmax(0,1fr));align-content:start;gap:8px;min-height:0;display:grid}.batch-reward-card,.batch-reward-sealed{border:1px solid color-mix(in srgb,var(--item-color,#aabdae) 40%,transparent);background:linear-gradient(145deg,color-mix(in srgb,var(--item-color,#aabdae) 8%,#0b1b16),#0a1412);color:#e0e6d8;text-align:center;border-radius:10px;justify-content:center;align-items:center;gap:5px;min-width:0;min-height:0;padding:6px;display:flex}.batch-reward-card{flex-direction:column;transition:background .2s}.batch-reward-card:hover{background:color-mix(in srgb,var(--item-color) 16%,#0b1b16)}.batch-reward-card>.equipment-art{flex-shrink:0;width:60px!important;height:52px!important}.batch-reward-card>span{min-width:0}.batch-reward-card small{color:var(--item-color);font-size:10px;line-height:1.2;display:block}.batch-reward-card strong{overflow-wrap:anywhere;margin-top:2px;font-size:11px;font-weight:550;line-height:1.25;display:block}.batch-reward-sealed{color:#769486;border-style:dashed;border-color:#6b938332;flex-direction:column;font-size:10px}.tower-chest-batch-dock{text-align:center;border-top:1px solid #a8bea328;flex-direction:column;justify-content:end;gap:8px;min-height:0;padding-top:8px;display:flex}.tower-chest-batch-dock .primary-button{flex-shrink:0;width:100%;min-height:44px}.batch-reward-status{color:#b6cbbb;justify-content:center;align-items:center;gap:10px;min-height:24px;font-size:12px;display:flex}.batch-reward-status button{border:1px solid #87af9850;border-radius:6px;place-items:center;width:28px;height:26px;display:grid}.batch-reward-status button:disabled{opacity:.3}.tower-chest-batch-dock .error-notice,.tower-chest-batch-dock p{background:0 0;border:0;margin:0;padding:0;font-size:12px;line-height:1.3}@media (max-width:700px){.tower-dialog.tower-chest-batch-dialog{border-radius:17px;grid-template-rows:76px minmax(110px,1fr) 56px 286px 84px;gap:8px;width:calc(100vw - 16px);height:calc(100dvh - 20px);padding:14px}.tower-chest-batch-heading{padding:0 16px}.tower-chest-batch-heading .reward-eyebrow{letter-spacing:.1em;font-size:8px}.tower-chest-batch-heading [data-slot=dialog-title]{font-size:26px}.tower-chest-batch-heading [data-slot=dialog-description]{font-size:12px}.tower-chest-batch-grid{grid-template-rows:repeat(5,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.batch-reward-card,.batch-reward-sealed{text-align:left;flex-direction:row;justify-content:flex-start;gap:5px;padding:4px}.batch-reward-card>.equipment-art{width:35px!important;height:40px!important}.batch-reward-card strong{font-size:10px;line-height:1.2}.batch-reward-card small{font-size:9px}.batch-reward-sealed{justify-content:center;font-size:9px}.batch-rarity-pill{padding:5px 7px;font-size:10px}.batch-rarity-pill small{font-size:7px}.tower-chest-batch-rarities{gap:4px}.tower-chest-batch-spotlight strong{font-size:18px}}@media (max-width:700px) and (max-height:740px){.tower-dialog.tower-chest-batch-dialog{grid-template-rows:66px minmax(100px,1fr) 48px 246px 76px;gap:6px;padding:12px}.tower-chest-batch-heading [data-slot=dialog-title]{margin:5px 0;font-size:23px}.tower-chest-batch-heading [data-slot=dialog-description]{font-size:11px}.tower-chest-batch-dock{gap:4px}.tower-chest-batch-dock .primary-button{min-height:40px}.batch-reward-card>.equipment-art{width:30px!important;height:32px!important}.tower-chest-batch-spotlight strong{font-size:16px}}@media (min-width:701px) and (max-height:500px){.tower-dialog.tower-chest-batch-dialog{grid-template-rows:64px 42px minmax(100px,1fr) 70px;grid-template-columns:32% minmax(0,1fr);gap:8px;width:calc(100vw - 20px);height:calc(100dvh - 16px);padding:12px}.tower-chest-batch-heading{grid-column:1/-1;padding:0 20px}.tower-chest-batch-heading [data-slot=dialog-title]{margin:3px 0;font-size:24px}.tower-chest-batch-heading [data-slot=dialog-description]{font-size:11px}.tower-chest-batch-stage{grid-area:2/1/5}.tower-chest-batch-rarities{grid-area:2/2;gap:4px}.tower-chest-batch-grid{grid-area:3/2;gap:5px}.tower-chest-batch-dock{grid-area:4/2;gap:4px;padding-top:4px}.batch-reward-card{gap:2px;padding:3px}.batch-reward-card>.equipment-art{width:28px!important;height:27px!important}.batch-reward-card small{font-size:8px}.batch-reward-card strong{font-size:9px;line-height:1.1}.batch-rarity-pill{padding:4px 6px;font-size:9px}.batch-rarity-pill small{font-size:7px}.tower-chest-batch-dock .primary-button{min-height:36px}.batch-reward-status{min-height:20px;font-size:11px}.tower-chest-batch-spotlight strong{font-size:17px}}html[data-game-motion=reduced] .tower-chest-batch-spotlight{transition:none}@media (prefers-reduced-motion:reduce){:root:not([data-game-motion=full]) .tower-chest-batch-spotlight{transition:none}}.tower-dialog[data-slot=dialog-content].tower-chest-batch-dialog{background:radial-gradient(at 50% 25%,#15362d 0,#091917 50%,#071211 100%);gap:10px;width:min(900px,100vw - 24px);max-width:900px;height:min(790px,100dvh - 24px);max-height:none;padding:22px;overflow:hidden}.tower-chest-batch-dialog .tower-chest-batch-heading [data-slot=dialog-title]{letter-spacing:0;font:400 34px/1.15 Georgia,serif!important}.tower-chest-batch-dialog .tower-chest-batch-heading [data-slot=dialog-description]{font:13px/1.4 Arial,sans-serif!important}.tower-chest-batch-dialog .tower-chest-batch-dock .primary-button{min-height:44px;padding:8px 16px}.tower-chest-batch-dialog .batch-reward-card>.equipment-art{object-fit:contain;min-width:0;max-width:none;min-height:0;max-height:none;margin:0;padding:0}.tower-chest-batch-dialog .batch-reward-card>span{flex:1;min-width:0}.tower-chest-batch-grid.is-revealed{opacity:var(--batch-unfold,1)}@media (max-width:700px){.tower-dialog[data-slot=dialog-content].tower-chest-batch-dialog{gap:8px;width:calc(100vw - 16px);height:calc(100dvh - 20px);padding:14px}.tower-chest-batch-dialog .tower-chest-batch-heading [data-slot=dialog-title]{font-size:26px!important}.tower-chest-batch-dialog .tower-chest-batch-heading [data-slot=dialog-description]{font-size:12px!important}}@media (max-width:700px) and (max-height:740px){.tower-dialog[data-slot=dialog-content].tower-chest-batch-dialog{gap:6px;padding:12px}.tower-chest-batch-dialog .tower-chest-batch-heading [data-slot=dialog-title]{font-size:23px!important}.tower-chest-batch-dialog .tower-chest-batch-heading [data-slot=dialog-description]{font-size:11px!important}.tower-chest-batch-dialog .tower-chest-batch-dock .primary-button{min-height:40px}}@media (min-width:701px) and (max-height:500px){.tower-dialog[data-slot=dialog-content].tower-chest-batch-dialog{gap:8px;width:calc(100vw - 20px);height:calc(100dvh - 16px);padding:12px}.tower-chest-batch-dialog .tower-chest-batch-heading [data-slot=dialog-title]{font-size:24px!important}.tower-chest-batch-dialog .tower-chest-batch-heading [data-slot=dialog-description]{font-size:11px!important}.tower-chest-batch-dialog .tower-chest-batch-dock .primary-button{min-height:36px}}
