@font-face{font-family:Cinzel;font-style:normal;font-display:swap;font-weight:700;src:url(/_astro/cinzel-latin-ext-700-normal.C24KFjuG.woff2)format("woff2"),url(/_astro/cinzel-latin-ext-700-normal.CORa-yIv.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Cinzel;font-style:normal;font-display:swap;font-weight:700;src:url(/_astro/cinzel-latin-700-normal.Dkw14w9r.woff2)format("woff2"),url(/_astro/cinzel-latin-700-normal.C-gK7hA8.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Cinzel;font-style:normal;font-display:swap;font-weight:900;src:url(/_astro/cinzel-latin-ext-900-normal.CWXxiu5r.woff2)format("woff2"),url(/_astro/cinzel-latin-ext-900-normal.BlZZvP7K.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Cinzel;font-style:normal;font-display:swap;font-weight:900;src:url(/_astro/cinzel-latin-900-normal.BI3z7Tow.woff2)format("woff2"),url(/_astro/cinzel-latin-900-normal.t_fSDEbn.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Fredoka Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/_astro/fredoka-hebrew-wght-normal.DdnsCkLr.woff2)format("woff2-variations");unicode-range:U+307-308,U+590-5FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}@font-face{font-family:Fredoka Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/_astro/fredoka-latin-ext-wght-normal.CYrqKuxd.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fredoka Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/_astro/fredoka-latin-wght-normal.DM6njrJ3.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{color-scheme:dark;--ink:oklch(17% .025 324);--night:oklch(22% .035 325);--surface:oklch(26.5% .041 325);--surface-raised:oklch(31% .045 325);--line:oklch(48% .045 327/.65);--text:oklch(95% .014 345);--muted:oklch(78% .034 332);--coral:oklch(76% .15 4);--coral-bright:oklch(83% .13 4);--gold:oklch(85% .12 78);--mint:oklch(83% .09 163);--danger:oklch(83% .12 29);--body-font:ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;--story-font:Georgia, "Times New Roman", serif;--layer-sticky:10;--layer-overlay:20;--layer-dialog:30;--layer-toast:40;font-family:var(--body-font);background:var(--ink);color:var(--text);font-synthesis:none;text-rendering:optimizelegibility}*{box-sizing:border-box}body{min-width:320px;margin:0;line-height:1.5}button,input,select{font:inherit}button,a,select,summary,input[type=checkbox]{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,a{touch-action:manipulation}a{color:inherit}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}h1,h2,h3{text-wrap:balance}p{text-wrap:pretty}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--gold);outline-offset:4px}[hidden]{display:none!important}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.skip-link{z-index:var(--layer-toast);background:var(--gold);color:var(--ink);border-radius:8px;padding:12px 16px;position:absolute;top:-80px;left:16px}.skip-link:focus{top:12px}.game-shell{max-width:1440px;margin:0 auto;padding:0 32px}.game-topbar{justify-content:space-between;align-items:center;gap:24px;min-height:92px;display:flex}.guild-brand{font:700 1.4375rem/1.1 var(--story-font);align-items:center;gap:12px;text-decoration:none;display:flex}.guild-brand small{font:500 .6875rem/1.3 var(--body-font);color:var(--muted);letter-spacing:.15em;text-transform:uppercase;margin-top:6px;display:block}.brand-lantern{color:var(--gold);font:2.25rem var(--story-font)}.topbar-actions{align-items:center;gap:10px;display:flex}.mode-label{color:var(--muted);padding-right:10px;font-size:.875rem}.button,.icon-button,.text-button{color:inherit;border:0;transition:background .16s ease-out,color .16s ease-out,transform .16s ease-out}.button{text-align:center;background:var(--surface-raised);border-radius:9px;justify-content:center;align-items:center;gap:12px;min-height:44px;padding:12px 20px;font-size:.875rem;font-weight:650;text-decoration:none;display:inline-flex}.button:hover:not(:disabled){background:oklch(36% .045 325)}.button:active:not(:disabled){transform:translateY(1px)}.button-primary{background:var(--coral);color:var(--ink);box-shadow:0 4px 20px oklch(48% .14 4/.18)}.button-primary:hover:not(:disabled){background:var(--coral-bright)}.button-secondary{border:1px solid var(--line);background:var(--night)}.button-secondary:hover:not(:disabled){background:var(--surface)}.button-quiet{background:0 0}.button-small{padding:9px 13px;font-size:.875rem}.button-play{justify-content:space-between;min-width:280px;min-height:54px;padding:15px 20px;font-size:.9375rem}.button-play>span:last-child{font-size:1.375rem}.icon-button{background:0 0;border-radius:8px;justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:10px;font-size:1.1875rem;font-weight:600;display:inline-flex}.icon-button svg{width:21px;height:21px}.icon-button:hover{background:var(--surface)}.text-button{min-height:44px;color:var(--muted);text-underline-offset:4px;background:0 0;padding:6px 3px;font-size:.875rem;text-decoration:underline #0000}.text-button:hover{color:var(--text);text-decoration-color:currentColor}.text-warning{color:var(--danger)}.game-notice{z-index:var(--layer-toast);background:oklch(30% .07 15);border:1px solid oklch(65% .09 35);border-radius:10px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;padding:12px 16px;font-size:.875rem;display:flex;position:sticky;top:8px;box-shadow:0 8px 25px oklch(12% .025 325/.3)}.notice-actions{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:8px;display:flex}.guild-hero{isolation:isolate;border:1px solid var(--line);background:var(--night);border-radius:18px;min-height:526px;position:relative;overflow:hidden}.guild-world-art{object-fit:cover;object-position:center 58%;z-index:-3;width:100%;height:100%;position:absolute;inset:0}.guild-hero-shade{z-index:-2;background:linear-gradient(90deg,oklch(17% .03 325/.95) 0%,oklch(17% .03 325/.68) 32%,oklch(17% .03 325/.08) 76%),linear-gradient(#0000 60%,oklch(17% .03 325/.82));position:absolute;inset:0}.guild-welcome{z-index:2;width:55%;padding:55px 60px 82px;position:relative}.chapter-label{font:italic 1.0625rem/1.5 var(--story-font);color:var(--gold);margin-bottom:20px}.small-star{color:var(--gold);margin-right:8px}.guild-welcome h1{font:400 3.75rem/1.03 var(--story-font);letter-spacing:-.035em;margin-bottom:20px}.guild-promise{color:var(--muted);margin-bottom:26px;font-size:1rem;line-height:1.7}.practice-copy{color:var(--muted);max-width:36ch;margin-top:12px;font-size:.875rem}#resume-contract{margin-top:12px}.back-to-hub{color:var(--muted);margin-top:24px;font-size:.875rem;text-decoration:none;display:inline-block}.back-to-hub:hover{color:var(--text)}.hina-introduction{width:50%;position:absolute;top:0;bottom:0;right:0}.hina-portrait{object-fit:contain;object-position:bottom;filter:drop-shadow(0 10px 22px oklch(14% .02 325/.4));width:100%;height:106%;position:absolute;bottom:-17px}.hina-dialogue{z-index:3;background:oklch(23.5% .035 325/.96);border:1px solid oklch(59% .06 328/.65);border-radius:12px;padding:16px 18px;position:absolute;bottom:35px;left:5%;right:9%;box-shadow:0 12px 32px oklch(13% .02 325/.22)}.dialogue-name{color:var(--coral-bright);margin-bottom:5px;font-size:.875rem;font-weight:700;display:block}.hina-dialogue p{font:italic 1.0625rem/1.45 var(--story-font)}.guild-balance{color:var(--muted);align-items:center;gap:7px;font-size:.875rem;display:flex;position:absolute;bottom:21px;left:60px}.guild-balance>span:first-child{color:var(--gold)}.guild-balance strong{color:var(--gold);font-variant-numeric:tabular-nums;font-size:1.125rem}.guild-level{border-left:1px solid var(--line);margin-left:16px;padding-left:20px}.guild-content{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:58px;padding:38px 16px 12px;display:grid}.section-heading{justify-content:space-between;align-items:end;gap:16px;margin-bottom:16px;display:flex}.section-heading h2{font:400 1.6875rem/1.2 var(--story-font);margin-top:4px}.section-note{color:var(--muted);font-size:.875rem}.contract-list{border-top:1px solid var(--line)}.contract-row{border-bottom:1px solid var(--line);grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:15px;padding:20px 0;display:grid}.contract-seal{width:45px;height:45px;color:var(--gold);font:1.3125rem var(--story-font);background:oklch(27% .04 77/.35);border:1px solid oklch(55% .055 77);border-radius:50%;justify-content:center;align-items:center;display:flex}.contract-row.locked .contract-seal{color:var(--muted);border-color:var(--line);background:var(--night)}.contract-info h3{margin-bottom:4px;font-size:1rem;font-weight:600}.contract-info p{color:var(--muted);font-size:.875rem;line-height:1.6}.contract-info .contract-meta{color:var(--gold);margin-top:6px;font-size:.875rem}.contract-row.locked .contract-meta{color:var(--muted)}.contract-row .button{padding-left:15px;padding-right:15px}.project-list{border-top:1px solid var(--line)}.project-row{border-bottom:1px solid var(--line);grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:14px;padding:17px 0;display:grid}.project-emblem{color:var(--mint);font:1.6875rem var(--story-font);text-align:center}.project-info h3{align-items:center;gap:10px;margin-bottom:4px;font-size:.9375rem;font-weight:600;display:flex}.level-pips{gap:4px;display:inline-flex}.level-pips i{background:var(--surface-raised);border:1px solid var(--line);border-radius:50%;width:5px;height:5px;display:block}.level-pips i.filled{background:var(--gold);border-color:var(--gold)}.project-info p{color:var(--muted);max-width:37ch;font-size:.875rem;line-height:1.5}.project-info small{color:var(--mint);margin-top:5px;font-size:.875rem;display:block}.project-row .button{min-width:90px;padding:9px 12px}.loading-row{min-height:74px;color:var(--muted);padding:22px 0;font-size:.875rem}.guild-journal-area{padding:22px 16px 0}.guild-disclosure{border-top:1px solid var(--line)}.guild-disclosure summary{cursor:pointer;min-height:68px;font:1.25rem var(--story-font);justify-content:space-between;align-items:center;gap:18px;list-style:none;display:flex}.guild-disclosure summary::-webkit-details-marker{display:none}.guild-disclosure summary:after{content:"+";color:var(--muted);font:1.4375rem var(--body-font)}.guild-disclosure[open] summary:after{content:"−"}.guild-disclosure summary>span:first-child{margin-right:auto}.guild-disclosure summary>span:first-child>span{color:var(--gold);margin-right:12px}.story-chapters{flex-wrap:wrap;gap:24px;padding:8px 0 24px;display:flex}.story-chapter{flex:280px;max-width:65ch}.story-chapter h3{font:1.375rem var(--story-font);margin:8px 0}.story-chapter p{font:1rem/1.75 var(--story-font);color:var(--muted)}.story-chapter.locked p{font:.875rem/1.6 var(--body-font)}.keeper-roster{flex-wrap:wrap;gap:20px;padding-bottom:24px;display:flex}.roster-entry{flex:210px;align-items:center;gap:12px;display:flex}.roster-entry h3{margin-bottom:3px;font-size:.875rem}.roster-entry p{color:var(--muted);font-size:.875rem}.token-art{background-repeat:no-repeat;flex-shrink:0;width:56px;height:56px;display:inline-block}.roster-entry.locked .token-art{opacity:.5;filter:grayscale()}.game-footer{min-height:92px;color:var(--muted);justify-content:space-between;align-items:center;gap:20px;padding:20px 16px;font-size:.875rem;display:flex}.game-footer a{text-decoration:none}.game-footer a:hover{color:var(--text)}.battle-view{padding:2px 0 0}.battle-heading{justify-content:space-between;align-items:end;gap:16px;margin-bottom:18px;padding:0 8px;display:flex}.battle-world-layer{display:contents}.battle-heading h1{font:2.125rem/1.15 var(--story-font)}.battle-heading .text-button{margin-bottom:5px}.battle-stats{align-items:center;gap:28px;padding-bottom:6px;display:flex}.heart-stat{color:var(--muted);align-items:baseline;gap:6px;font-size:.875rem;display:inline-flex}.heart-stat>span:first-child{color:var(--coral-bright);font-size:1.75rem}.heart-stat strong{color:var(--text);font-variant-numeric:tabular-nums;font-size:1.375rem;font-weight:600}.wave-label{color:var(--gold);font-size:.875rem}.courtyard-wrap{border:1px solid var(--line);background:var(--night);border-radius:14px;width:min(100%,93.7895vh,995px);margin-inline:auto;position:relative;overflow:hidden}.courtyard{aspect-ratio:1080/760;background:url(/assets/environment/courtyard.webp) 50%/cover;width:100%;overflow:hidden}.courtyard canvas{display:block}.battle-loading,.pause-overlay{text-align:center;background:oklch(16% .025 325/.84);flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:24px;display:flex;position:absolute;inset:0}.battle-loading p{color:var(--gold);font:1.5625rem var(--story-font)}.pause-overlay{z-index:var(--layer-overlay)}.pause-overlay h2{font:2.375rem var(--story-font)}.pause-overlay p{color:var(--muted)}.battle-hint{min-height:48px;color:var(--muted);align-items:center;gap:8px;padding:9px 12px 5px;font-size:.875rem;display:flex}.battle-hint p{flex:1}.battle-hint .icon-button{min-width:44px;min-height:44px}.planning-controls{grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:35px;margin:17px 8px 0;display:grid}.control-heading{justify-content:space-between;align-items:center;gap:12px;min-height:33px;margin-bottom:7px;display:flex}.control-heading h2{font-size:.875rem;font-weight:650}.control-heading>span{color:var(--muted);font-size:.875rem}.battle-keepers{gap:8px;display:flex}.keeper-slot{border:1px solid var(--line);background:var(--night);text-align:left;border-radius:9px;flex:1;min-width:0;padding:9px}.keeper-slot.selected{border-color:var(--gold);background:oklch(30% .04 77/.3)}.keeper-slot:hover{background:var(--surface)}.keeper-select{text-align:left;width:100%;color:var(--text);background:0 0;border:0;border-radius:4px;padding:0;display:block}.keeper-slot-head{align-items:center;gap:5px;display:flex}.keeper-slot .token-art{width:45px;height:45px;margin-left:-5px}.keeper-slot .slot-number{color:var(--gold);font:1.0625rem var(--story-font);margin-right:auto}.keeper-slot strong{margin:2px 0 4px;font-size:.875rem;display:block}.keeper-slot small{color:var(--muted);font-size:.875rem;line-height:1.5;display:block}.keeper-unit-select{width:100%;min-height:36px;margin-top:7px;font-size:.875rem}select{border:1px solid var(--line);background:var(--night);color:var(--text);border-radius:6px;min-height:44px;padding:7px 8px}.placement-controls{flex-wrap:wrap;align-items:center;gap:9px;margin-top:12px;display:flex}.placement-controls label{color:var(--muted);align-items:center;gap:6px;font-size:.875rem;display:flex}.placement-controls select{width:48px}.placement-controls .button{font-size:.875rem}.thread-control{color:var(--muted);align-items:center;gap:12px;margin-top:5px;font-size:.875rem;display:flex}#thread-order{color:var(--gold);align-items:center;gap:5px;display:flex}.thread-step{border:1px solid var(--line);background:var(--night);min-width:44px;min-height:44px;color:var(--gold);border-radius:6px;font-weight:600}.focus-choices{gap:8px;display:flex}.focus-choice{text-align:left;border:1px solid var(--line);background:var(--night);min-width:0;color:var(--text);border-radius:9px;flex:1;padding:13px 12px}.focus-choice.selected{border-color:var(--coral);background:oklch(30% .07 4/.35)}.focus-choice:hover{background:var(--surface)}.focus-choice strong{margin-bottom:6px;font-size:.875rem;display:block}.focus-choice p{color:var(--muted);font-size:.875rem;line-height:1.6}.focus-symbol{font:1.5625rem var(--story-font);color:var(--gold);margin-bottom:7px;display:block}.focus-choice[data-focus=ward] .focus-symbol{color:var(--mint)}.focus-choice[data-focus=tangle] .focus-symbol{color:var(--coral-bright)}.launch-line{justify-content:space-between;align-items:center;gap:12px;margin-top:17px;display:flex}.launch-line p{max-width:29ch;color:var(--muted);font-size:.875rem}.launch-line .button{min-width:145px}.lane-forecast{background:var(--surface);border:1px solid var(--line);color:var(--muted);border-radius:7px;margin-top:10px;padding:10px 12px;font-size:.875rem}.lane-forecast strong{color:var(--gold);font-weight:600}.playback-controls{justify-content:space-between;align-items:center;gap:20px;margin:16px 8px;display:flex}.playback-controls>div:first-child{flex:1;max-width:420px}#playback-label{color:var(--muted);margin-bottom:10px;font-size:.875rem}progress{width:100%;height:5px;accent-color:var(--gold);border:0;border-radius:5px;display:block;overflow:hidden}progress::-webkit-progress-bar{background:var(--surface-raised)}progress::-webkit-progress-value{background:var(--gold)}.playback-actions{align-items:center;gap:10px;display:flex}.speed-label{color:var(--muted);align-items:center;gap:7px;font-size:.875rem;display:flex}.boon-controls{padding:22px 8px 10px}.boon-controls .section-heading>p{color:var(--muted);font-size:.875rem}.boon-choices{gap:14px;display:flex}.boon-choice{text-align:left;border:1px solid var(--line);background:var(--night);min-width:0;min-height:154px;color:var(--text);border-radius:10px;flex-direction:column;flex:1;padding:20px;transition:border-color .16s,background .16s;display:flex}.boon-choice:hover{background:var(--surface);border-color:var(--gold)}.boon-choice strong{font:1.4375rem var(--story-font);color:var(--gold);margin-bottom:9px}.boon-choice p{color:var(--muted);font-size:.875rem;line-height:1.7}.boon-choice>span{color:var(--coral-bright);margin-top:auto;padding-top:12px;font-size:.875rem;font-weight:600}.result-controls{background:var(--night);border:1px solid var(--line);border-radius:12px;justify-content:space-between;align-items:center;gap:40px;margin:26px 8px 10px;padding:25px 32px;display:flex}.result-controls h2{font:2.625rem/1.2 var(--story-font);margin:8px 0 10px}#result-dialogue{font:italic 1.1875rem/1.6 var(--story-font);color:var(--muted);max-width:48ch}#result-summary{color:var(--muted);margin-top:13px;font-size:.875rem}.result-reward{min-width:180px;color:var(--gold);flex-direction:column;align-items:center;gap:3px;display:flex}.result-reward>span:first-child{font-size:1.5rem}.result-reward strong{font:2.6875rem var(--story-font)}.result-reward>span:not(:first-child){color:var(--muted);font-size:.875rem}.result-reward .button{margin-top:17px}.battle-bottom-line{color:var(--muted);border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;margin:16px 8px 0;padding-top:8px;font-size:.875rem;display:flex}.game-dialog{color:var(--text);background:var(--night);border:1px solid var(--line);border-radius:16px;width:100%;max-width:min(540px,100vw - 32px);max-height:calc(100dvh - 48px);padding:34px;overflow-y:auto;box-shadow:0 25px 90px oklch(8% .025 325/.6)}.game-dialog::backdrop{background:oklch(12% .025 325/.78)}.dialog-close{position:absolute;top:8px;right:9px}.game-dialog h2{font:2rem/1.2 var(--story-font);margin:10px 24px 17px 0}.game-dialog>p{color:var(--muted);font-size:.875rem;line-height:1.75}.game-dialog .small-copy{margin-top:19px;font-size:.875rem}.dialog-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:23px;display:flex}.dialog-actions form{margin:0}.account-detail{background:var(--surface);color:var(--muted);border-radius:9px;margin-top:18px;padding:13px 16px;font-size:.875rem}.account-detail strong{color:var(--text);margin-bottom:4px;display:block}.settings-list{margin-top:22px}.settings-list>label{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding:16px 0;font-size:.9375rem;display:flex}.settings-list small{color:var(--muted);margin-top:4px;font-size:.875rem;line-height:1.6;display:block}.settings-list input{accent-color:var(--coral);flex-shrink:0;width:23px;height:23px}.settings-list select{max-width:150px;font-size:.875rem}.help-steps{margin:23px 0;padding-left:23px}.help-steps li{color:var(--muted);padding:0 0 16px 8px;font-size:.875rem;line-height:1.75}.help-steps strong{color:var(--text)}.help-dialog details{color:var(--muted);font-size:.875rem}.help-dialog details summary{min-height:44px;color:var(--gold);cursor:pointer;padding-top:9px}.no-script{z-index:var(--layer-toast);background:var(--surface);border:1px solid var(--gold);color:var(--text);border-radius:9px;padding:18px;position:fixed;bottom:20px;left:20px;right:20px}.is-busy .button-primary{cursor:wait}@media (width>=1600px){.game-shell{padding:0 40px}}@media (width<=1100px){.game-shell{padding:0 24px}.guild-welcome{width:60%;padding:44px 36px 82px}.guild-balance{left:36px}.guild-content{gap:30px;padding-left:4px;padding-right:4px}.guild-journal-area{padding-left:4px;padding-right:4px}.planning-controls{gap:20px}.keeper-slot{padding:7px}.keeper-slot .token-art{width:34px;height:34px}.focus-choice{padding:10px}}@media (width<=820px){.game-shell{padding:0 18px}.guild-content{grid-template-columns:1fr;gap:30px}.guild-hero{min-height:505px}.guild-welcome{width:64%;padding:40px 28px 90px}.guild-welcome h1{font-size:3.1875rem}.hina-introduction{width:48%}.hina-dialogue{padding:13px;bottom:55px;left:-12%;right:5%}.hina-dialogue p{font-size:.9375rem}.guild-balance{left:28px}.planning-controls{grid-template-columns:1fr;gap:20px;margin-top:12px}.keeper-slot .token-art{width:46px;height:46px}.keeper-slot{padding:10px}.focus-choice{padding:14px}.focus-symbol{margin-right:6px;font-size:1.125rem;display:inline}.focus-choice strong{display:inline}.focus-choice p{margin-top:6px}.courtyard-wrap{width:100%}.playback-controls{flex-direction:column;align-items:stretch;gap:14px}.playback-controls>div:first-child{max-width:none}.playback-actions{justify-content:space-between}.boon-choice{padding:17px}.result-controls{gap:20px;padding:24px}.result-controls h2{font-size:2.125rem}}@media (width<=550px){.game-shell{padding:0 12px}.game-topbar{gap:7px;min-height:78px}.guild-brand{gap:8px;font-size:1.125rem}.brand-lantern{font-size:1.625rem}.guild-brand small{font-size:.875rem}.topbar-actions{gap:0}.mode-label{display:none}.topbar-actions .button-quiet{padding:10px;font-size:.875rem}.icon-button{min-width:44px}.guild-hero{border-radius:12px;min-height:612px}.guild-world-art{object-position:67% center}.guild-hero-shade{background:linear-gradient(90deg,oklch(17% .03 325/.92),oklch(17% .03 325/.42) 57%,#0000),linear-gradient(#0000 32%,oklch(17% .03 325/.95))}.guild-welcome{width:100%;padding:32px 23px 0}.chapter-label{margin-bottom:18px;font-size:.875rem}.guild-welcome h1{max-width:5.5em;margin-bottom:19px;font-size:2.8125rem}.guild-promise{max-width:19ch;margin-bottom:20px;font-size:.875rem}.button-play{width:100%;min-width:0;min-height:50px;margin-top:150px;padding:13px 15px;font-size:.875rem;position:relative}.practice-copy{max-width:none;font-size:.875rem}.back-to-hub{margin-top:15px;font-size:.875rem}.hina-introduction{width:70%;height:270px;top:160px;right:-24px}.hina-portrait{height:100%;bottom:0}.hina-dialogue{padding:10px 12px;bottom:10px;left:-24%;right:29px}.hina-dialogue p{font-size:.875rem;line-height:1.35}.dialogue-name{margin-bottom:2px;font-size:.875rem}.guild-balance{flex-wrap:wrap;gap:5px;margin:18px 23px 20px;font-size:.875rem;position:relative;bottom:auto;left:auto}.guild-balance strong{font-size:1rem}.guild-level{margin-left:8px;padding-left:12px}.guild-content{padding:28px 6px 0}.section-heading{align-items:start;gap:12px}.section-heading h2{font-size:1.5625rem}.section-heading>.section-note{display:none}.section-note{font-size:.875rem}.contract-row{grid-template-columns:37px minmax(0,1fr) auto;gap:10px;padding:18px 0}.contract-seal{width:35px;height:35px;font-size:1.0625rem}.contract-info h3,.contract-info p,.contract-info .contract-meta{font-size:.875rem}.contract-row .button{padding:10px 12px;font-size:.875rem}.project-row{grid-template-columns:25px minmax(0,1fr) auto;gap:10px}.project-info h3,.project-info p{font-size:.875rem}.project-row .button{min-width:76px;font-size:.875rem}.guild-disclosure summary{gap:8px;font-size:1.125rem}.guild-disclosure summary>.section-note{display:none}.guild-journal-area{padding-top:27px}.battle-heading{align-items:end;margin-bottom:12px;padding:0 3px}.battle-heading h1{font-size:1.5625rem}.battle-stats{gap:12px;padding-bottom:2px}.heart-stat{gap:3px;font-size:.875rem}.heart-stat strong{font-size:1.125rem}.heart-stat>span:first-child{font-size:1.375rem}.wave-label{font-size:.875rem}.courtyard-wrap{border-radius:9px}.battle-hint{padding-left:3px;padding-right:0;font-size:.875rem;line-height:1.55}.planning-controls{margin-left:2px;margin-right:2px}.control-heading h2{font-size:.875rem}.battle-keepers{gap:5px}.keeper-slot{padding:7px}.keeper-slot .token-art{width:37px;height:37px}.keeper-slot strong,.keeper-slot small{font-size:.875rem}.keeper-unit-select{min-height:40px;padding:6px 3px;font-size:.875rem}.placement-controls{gap:7px}.placement-controls label{gap:4px;font-size:.875rem}.placement-controls .button{padding:9px;font-size:.875rem}.placement-controls .text-button{text-align:left;width:100%;min-height:36px}.focus-choices{gap:5px}.focus-choice{padding:11px 8px}.focus-choice strong{font-size:.875rem}.focus-choice p{font-size:.875rem;line-height:1.65}.launch-line{margin-top:13px}.launch-line .button{min-width:140px}.launch-line p{font-size:.875rem}.playback-actions{flex-wrap:wrap;gap:8px}.playback-actions .button{padding:11px;font-size:.875rem}.boon-controls{padding:20px 2px 6px}.boon-controls .section-heading{display:block}.boon-controls .section-heading>p{margin-top:7px;font-size:.875rem}.boon-choices{flex-direction:column;gap:9px}.boon-choice{min-height:0;padding:15px 17px}.boon-choice strong{margin-bottom:5px;font-size:1.375rem}.boon-choice p{font-size:.875rem}.boon-choice>span{padding-top:7px}.result-controls{flex-direction:column;align-items:stretch;gap:18px;margin:20px 2px 6px;padding:21px}.result-controls h2{font-size:2.0625rem}#result-dialogue{font-size:1.0625rem}.result-reward{text-align:left;grid-template-columns:28px auto 1fr;align-items:baseline;gap:8px;display:grid}.result-reward strong{font-size:2.1875rem}.result-reward .button{grid-column:1/-1;width:100%;margin-top:10px}.battle-bottom-line{gap:10px;margin:14px 2px 0;font-size:.875rem}.game-dialog{padding:28px 24px}.game-dialog h2{font-size:1.8125rem}.game-dialog>p{font-size:.875rem}.settings-list>label{gap:12px;font-size:.875rem}.settings-list small{font-size:.875rem}.settings-list select{max-width:120px;padding:7px 3px;font-size:.875rem}.game-notice{flex-direction:column;align-items:start;gap:8px;font-size:.875rem}.notice-actions{align-self:end}.game-footer{min-height:74px;padding-left:4px;padding-right:4px;font-size:.875rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}:root[data-reduced-motion=true] *,:root[data-reduced-motion=true] :before,:root[data-reduced-motion=true] :after{transition:none!important;animation:none!important}.guild-world-art{filter:brightness(var(--restoration-light,.67));transition:filter .4s}.restored-lights{pointer-events:none;position:absolute;inset:0}.room-light{color:var(--gold);opacity:0;flex-direction:column;align-items:center;gap:4px;font-size:.875rem;transition:opacity .4s,transform .4s;display:flex;position:absolute;transform:translateY(8px)}.room-light .token-art{filter:drop-shadow(0 0 14px oklch(80% .12 80/.7));width:42px;height:42px}.room-light>span:last-child{background:oklch(16% .025 325/.72);border-radius:4px;padding:3px 7px}.room-light:not([data-level="0"]){opacity:1;transform:translateY(0)}.room-light[data-level="2"] .token-art{filter:drop-shadow(0 0 22px oklch(80% .12 80/.9))}.room-light[data-level="3"] .token-art{filter:drop-shadow(0 0 30px oklch(85% .13 80))}.room-workshop{top:44%;left:47%}.room-archives{top:24%;left:68%}.room-hearth{top:49%;left:82%}.project-row[data-level="3"] .project-emblem{color:var(--mint)}select,input,.keeper-unit-select,.settings-list select{font-size:1rem}.ui-art{flex-shrink:0;width:48px;height:48px}.balance-icon,.heart-icon{vertical-align:middle;flex-shrink:0;width:28px;height:28px}.heart-stat{align-items:center}.thread-step{min-width:44px;min-height:44px}.trial-entry{border:1px solid var(--line);background:linear-gradient(115deg, var(--surface), var(--night));border-radius:12px;margin:24px 8px 0;padding:24px 26px 0}.trial-entry-main{align-items:center;gap:20px;display:flex}.trial-entry-main>.ui-art{width:72px;height:72px}.trial-entry-main>div{flex:1}.trial-entry h2{font:2rem/1.2 var(--story-font);margin:4px 0 9px}.trial-entry p{color:var(--muted);font-size:.9375rem;line-height:1.6}.trial-entry .small-copy{margin-top:6px;font-size:.875rem}.trial-entry-footer{border-top:1px solid var(--line);min-height:58px;color:var(--gold);justify-content:space-between;align-items:center;gap:16px;margin-top:20px;font-size:.875rem;display:flex}.guild-tools{gap:8px;display:flex}.guild-tools svg{width:20px;height:20px;margin-right:8px}.build-disclosure{margin:0 8px 12px;font-size:.875rem}.build-disclosure>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:44px;display:flex}#build-icons{flex-wrap:wrap;align-items:center;gap:7px 13px;display:flex}.build-chip{color:var(--gold);align-items:center;gap:5px;display:inline-flex}.build-chip .ui-art{width:26px;height:26px}.build-expand{color:var(--muted);text-underline-offset:4px;flex-shrink:0;text-decoration:underline}#build-details{background:var(--night);border-radius:8px;margin-top:8px;padding:12px 16px}#build-details p{color:var(--muted);margin:4px 0;line-height:1.6}#build-details strong{color:var(--text)}.planning-launch{border-top:1px solid var(--line);margin:12px 8px 0;padding:12px 0}.focus-symbol.token-art{width:38px;height:38px;margin:0 0 5px;padding:0;display:inline-block}.boon-choice>.boon-art{width:64px;height:64px;margin:0 0 12px;padding:0}.project-emblem.token-art{width:44px;height:44px}.chapter-art{width:58px;height:58px;margin-bottom:10px;display:block}.ranking-dialog{max-width:min(760px,100vw - 32px)}.ranking-privacy-control{background:var(--surface);border-radius:8px;align-items:center;gap:12px;min-height:50px;margin:16px 0 0;padding:12px 14px;font-size:.9375rem;display:flex}.ranking-privacy-control input{width:22px;height:22px;accent-color:var(--coral)}#ranking-privacy{margin-top:8px}.ranking-toolbar{color:var(--muted);border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;margin-top:24px;font-size:.875rem;display:flex}#ranking-status{color:var(--muted);padding:18px 0;font-size:.9375rem}.ranking-table-wrap{overflow-x:auto}#ranking-table{border-collapse:collapse;width:100%;font-size:.9375rem}#ranking-table th,#ranking-table td{text-align:left;border-bottom:1px solid var(--line);padding:12px 7px}#ranking-table thead{color:var(--muted);font-size:.875rem}#ranking-table tbody th{font-weight:500}.rank-name{overflow-wrap:anywhere;align-items:center;gap:9px;display:inline-flex}.rank-name .ui-art{width:30px;height:30px}#ranking-more{margin-top:20px}.collection-dialog{max-width:min(1160px,100vw - 32px);height:min(880px,100dvh - 48px);overflow:hidden}.collection-dialog[open]{flex-direction:column;display:flex}.collection-heading{flex-shrink:0;justify-content:space-between;align-items:start;gap:22px;padding-right:20px;display:flex}.collection-heading h2{margin-bottom:8px}.collection-heading .small-copy{color:var(--muted);margin-top:0}#collection-balance{color:var(--gold);white-space:nowrap;padding-top:10px;font-size:.9375rem}.collection-layout{flex:1;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(240px,.75fr) minmax(0,1.25fr);gap:30px;min-height:0;margin-top:24px;display:grid}#collection-items{overscroll-behavior:contain;scrollbar-color:var(--line) transparent;min-height:0;padding-inline:10px;scroll-padding-block:12px;overflow-y:auto}.collection-preview{text-align:center;background:var(--surface);border-radius:12px;align-self:start;padding:16px}#collection-hina{object-fit:contain;width:auto;height:220px;margin:4px auto 12px;display:block}.collection-preview p{color:var(--muted);font-size:.875rem;line-height:1.6}#collection-preview-world .courtyard-wrap{width:100%;margin:0}#collection-preview-world .courtyard{background:var(--night)}#collection-preview-world .pause-overlay{display:none}.collection-group{margin-bottom:24px}.collection-group>h3{font:1.5rem/1.3 var(--story-font);color:var(--gold);margin-bottom:8px}.collection-item{border-bottom:1px solid var(--line);align-items:start;gap:12px;padding:15px 0;display:flex}.collection-item.is-previewing{background:var(--surface);border-radius:8px;margin-inline:-10px;padding-inline:10px}.collection-item-copy{flex:1;min-width:0}.collection-item h4{margin-bottom:5px;font-size:.9375rem;font-weight:600}.collection-item p{color:var(--muted);margin-bottom:5px;font-size:.875rem;line-height:1.6}.collection-item .small-copy{color:var(--muted);margin:0;font-size:.875rem;line-height:1.5;display:block}.owned-label{color:var(--mint);margin-left:8px;font-size:.875rem;font-weight:500;display:inline-block}.collection-item-actions{flex-direction:column;align-items:stretch;gap:7px;min-width:100px;display:flex}.collection-item-actions .button{white-space:normal;scroll-margin-block:10px;line-height:1.4}.purchase-note{border-top:1px solid var(--line);flex-shrink:0;margin-top:18px;padding-top:18px}@media (width>=821px){.collection-preview{flex-direction:column;height:100%;min-height:0;display:flex}.collection-preview #collection-hina{flex:1;width:100%;height:auto;min-height:0;max-height:220px}.collection-preview #preview-label,.collection-preview #collection-preview-world,.collection-preview>p.small-copy,.collection-preview #cancel-preview{flex-shrink:0}}@media (width>=821px) and (height<=850px){.collection-preview{grid-template-rows:auto minmax(0,1fr) auto auto;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:8px 16px;height:100%;display:grid}.collection-preview #preview-label,.collection-preview>p.small-copy,.collection-preview #cancel-preview{grid-column:1/-1}.collection-preview #collection-hina{grid-area:2/1;width:100%;height:100%;max-height:220px;margin:0}.collection-preview #collection-preview-world{grid-area:2/2;min-height:0}.collection-preview>p.small-copy{margin-top:0}}.save-recovery{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:center;gap:20px;margin-top:18px;padding:18px;display:flex}.save-recovery>div{flex:1}.save-recovery p{color:var(--muted);margin:6px 0 0;font-size:.875rem;line-height:1.6}.save-recovery .button{flex-shrink:0}.earned-gift{border:1px solid var(--line);background:var(--surface);color:var(--mint);border-radius:10px;align-items:center;gap:12px;margin:18px 0;padding:16px;display:flex}.earned-gift p,#result-feedback,#result-next-goal{margin-top:8px;font-size:.9375rem;line-height:1.6}.earned-gift p,#result-feedback{color:var(--muted)}#trial-deadline{max-width:75ch}@media (width<=820px){.trial-entry-main{flex-wrap:wrap;gap:14px}.trial-entry-main>.button{margin-left:86px}.collection-layout{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr;gap:16px}.collection-preview{grid-template-columns:90px minmax(0,1fr);align-items:center;gap:8px 16px;display:grid;position:static}#preview-label,.collection-preview>p.small-copy,#cancel-preview{grid-column:1/-1}#collection-hina{grid-column:1;height:160px;margin:0 auto}#collection-preview-world{grid-column:2}}@media (width<=550px){.save-recovery{flex-wrap:wrap;gap:12px;padding:14px}.save-recovery>div,.save-recovery>.button{flex-basis:100%;width:100%}.room-light>span:last-child{display:none}.room-workshop{top:58%;left:52%}.room-archives{top:22%;left:78%}.room-hearth{top:55%;left:84%}.keeper-unit-select,.settings-list select{font-size:1rem}.trial-entry{margin:18px 0 0;padding:19px 17px 0}.trial-entry-main{align-items:start;gap:10px}.trial-entry-main>.ui-art{width:48px;height:48px}.trial-entry-main>div{flex-basis:calc(100% - 58px)}.trial-entry h2{font-size:1.625rem}.trial-entry p{font-size:.875rem}.trial-entry-main>.button{width:100%;margin-left:0}.trial-entry-footer{flex-wrap:wrap;gap:3px;padding-top:12px}.guild-tools{justify-content:space-between;gap:0;width:100%}.guild-tools .button{padding-inline:0;font-size:.875rem}.build-disclosure{margin:0 2px 8px}.build-chip .build-name{display:none}.build-chip .ui-art{width:28px;height:28px}.build-chip{position:relative}#build-icons{gap:5px}.planning-controls{gap:12px}.keeper-slot .keeper-select{padding:0}.keeper-slot:not(.selected) small{display:none}.keeper-unit-select{min-height:44px;padding-block:5px}.placement-controls .text-button{width:auto;margin-left:auto}.thread-control{margin-top:7px}.focus-choice{min-height:44px;padding:7px}.focus-symbol.token-art{vertical-align:middle;width:28px;height:28px;margin:0 2px 0 0}.focus-choice p{margin-top:4px;line-height:1.4}.planning-launch{z-index:3;padding:10px 4px max(10px, env(safe-area-inset-bottom));background:var(--night);margin-inline:-4px;position:sticky;bottom:0;box-shadow:0 -8px 18px oklch(10% .02 325/.22)}.planning-launch p{max-width:20ch;line-height:1.5}.boon-choice{grid-template-columns:50px minmax(0,1fr);column-gap:12px;display:grid}.boon-choice>.boon-art{grid-area:1/1/4;width:50px;height:50px;margin:0}.boon-choice strong,.boon-choice p,.boon-choice>span:last-child{grid-column:2}.project-row{grid-template-columns:37px minmax(0,1fr) auto}.project-emblem.token-art{width:35px;height:35px}.collection-dialog,.ranking-dialog{border-radius:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;padding:28px 18px}.collection-heading{display:block}#collection-balance{padding-top:12px;display:block}.collection-layout{gap:22px}.collection-preview{grid-template-columns:70px minmax(0,1fr);gap:8px;padding:12px}#collection-hina{height:130px}.collection-item{flex-wrap:wrap;gap:9px}.collection-item>.ui-art{width:42px;height:42px}.collection-item-copy{flex-basis:calc(100% - 51px)}.collection-item-actions{flex-direction:row;width:100%;padding-left:51px}.collection-item-actions .button{flex:1;min-height:44px;font-size:.875rem}.collection-dialog .collection-heading h2{margin-bottom:6px;font-size:1.625rem}.collection-dialog .collection-heading .small-copy{font-size:.875rem;line-height:1.4}.collection-dialog #collection-balance{padding-top:7px}.collection-layout{gap:12px;margin-top:14px}.collection-preview>p.small-copy{display:none}.collection-preview #cancel-preview{min-height:44px;padding-block:0}.collection-dialog .purchase-note{margin-top:10px;padding-top:10px;font-size:.875rem;line-height:1.4}.ranking-toolbar{align-items:start}#ranking-table{font-size:.875rem}#ranking-table th,#ranking-table td{padding-inline:4px}.rank-name{gap:4px}.rank-name .ui-art{width:24px;height:24px}}@media (width<=1100px),(pointer:coarse){.game-shell{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}select,.keeper-unit-select,.settings-list select{height:44px;min-height:44px;font-size:1rem}.icon-button,.text-button,.keeper-select,.thread-step{min-width:44px;min-height:44px}.game-footer a,.back-to-hub{align-items:center;min-height:44px;display:inline-flex}.settings-list>label,.ranking-privacy-control{min-height:44px}.settings-list>label>span{min-width:0}.game-dialog{max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overscroll-behavior:contain}.game-dialog>form:first-child{top:max(8px, env(safe-area-inset-top));z-index:2;pointer-events:none;justify-content:flex-end;height:0;display:flex;position:sticky}.game-dialog>form:first-child .dialog-close{pointer-events:auto;background:var(--night);flex-shrink:0;position:relative;top:-8px;right:0}.game-dialog h2{margin-right:50px}.collection-heading{padding-right:52px}.collection-preview #cancel-preview{min-height:44px}}@media (width<=900px){.planning-controls{gap:14px}.thread-control{flex-wrap:wrap;gap:6px 10px}.battle-bottom-line{flex-wrap:wrap}.game-footer{flex-wrap:wrap;gap:4px 16px}.game-dialog{padding:20px}.game-dialog h2{font-size:1.625rem}.settings-list>label{gap:12px;padding-block:12px}.settings-list select{max-width:155px}.dialog-actions .button,.dialog-actions form{flex:180px}.dialog-actions form .button{width:100%}.ranking-toolbar{flex-wrap:wrap;gap:4px 12px}#ranking-table{table-layout:fixed}#ranking-table th,#ranking-table td{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}#ranking-table th:first-child{width:12%}#ranking-table th:nth-child(2){width:38%}#ranking-table th:nth-child(3){width:23%}#ranking-table th:nth-child(4){width:27%}.ranking-privacy-control input{flex-shrink:0}}@media (width<=550px){.game-shell{padding-inline:max(10px, env(safe-area-inset-left)) max(10px, env(safe-area-inset-right))}.battle-heading{flex-wrap:wrap;gap:4px 12px}.battle-heading>div:first-child{flex-wrap:wrap;align-items:center;gap:6px 12px;display:flex}.battle-heading h1{font-size:1.375rem}.battle-heading .text-button{margin:0}.battle-stats{justify-content:space-between;width:100%;padding-bottom:0}.battle-hint{gap:6px;min-height:44px}.keeper-slot{padding:6px}.keeper-unit-select{padding-inline:3px}.placement-controls{gap:6px 10px}.placement-controls .text-button{min-height:44px}.placement-controls .button{flex:1}.thread-control>span{flex-basis:100%}.thread-control>.text-button{margin-left:auto}.focus-choice{padding:9px 7px}.focus-choice p{line-height:1.5}.planning-launch{padding:10px 0 max(10px, env(safe-area-inset-bottom));box-shadow:none;margin-inline:0;position:static}.planning-launch p{flex:1;max-width:none}.playback-controls{gap:10px;margin-inline:0}.playback-actions{gap:6px}.playback-actions .button{padding-inline:10px}.speed-label{gap:5px}.pause-overlay{gap:8px;padding:12px}.pause-overlay h2{font-size:1.625rem}.pause-overlay p{font-size:.875rem}.boon-controls{padding-top:16px}.boon-choice{padding:12px}.result-controls{padding:16px}.result-controls h2{font-size:1.875rem}.earned-gift{align-items:start;padding:12px}.game-dialog{border-radius:12px;width:calc(100% - 16px);max-width:calc(100% - 16px);padding:16px}.game-dialog h2{font-size:1.5rem}.settings-list>label:last-child{flex-wrap:wrap}.settings-list>label:last-child select{width:100%;max-width:none}.help-steps{padding-left:18px}.help-steps li{padding-left:3px}.collection-dialog,.ranking-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;padding:max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));border-radius:0;margin:0}.collection-heading{padding-right:52px}.collection-heading .section-note,.collection-title-prefix{display:none}.collection-dialog .collection-heading h2{margin:0 0 6px;font-size:1.375rem}.collection-heading .small-copy{max-width:none;font-size:.875rem;line-height:1.4}.collection-dialog #collection-balance{padding-top:4px;font-size:.875rem}.collection-layout{gap:8px;margin-top:10px}.collection-preview{grid-template-columns:48px minmax(0,1fr);gap:6px 8px;padding:8px}.collection-preview #preview-label{font-size:.875rem;line-height:1.4}#collection-hina{width:100%;height:100px}#collection-preview-world .courtyard-wrap{width:min(100%,199px,32.6842dvh);margin-inline:auto}.collection-group{margin-bottom:14px}.collection-group>h3{font-size:1.25rem}#collection-items{padding-inline:6px}.collection-item{padding-block:12px}.collection-item-actions{padding-left:0}.collection-dialog .purchase-note{margin-top:8px;padding-top:8px}.ranking-dialog .section-note{padding-right:44px}.ranking-toolbar{margin-top:14px}}@media (width>=551px) and (width<=1100px) and (height<=500px){.game-shell,.play-shell{padding-inline:max(18px, env(safe-area-inset-left)) max(18px, env(safe-area-inset-right))}.battle-view{grid-template-columns:minmax(0,1fr) minmax(280px,1fr);gap:8px 16px;display:grid}.battle-heading{grid-column:1/-1;align-items:center;gap:12px;margin:0}.battle-heading>div:first-child{align-items:center;gap:12px;display:flex}.battle-heading h1{font-size:1.375rem}.battle-heading .text-button{margin:0}.battle-stats{gap:10px;padding:0}.build-disclosure{grid-column:1/-1;margin:0}.battle-world-layer{grid-area:3/1;align-self:start;min-width:0;display:block}.courtyard-wrap{width:100%}.battle-hint{margin-top:8px;padding:0}.planning-controls,.playback-controls,.boon-controls,.result-controls{grid-area:3/2;margin:0}.planning-controls{flex-direction:column;gap:12px;display:flex}.keeper-slot{padding:6px}.keeper-slot .token-art{width:32px;height:32px}.keeper-slot:not(.selected) small{display:none}.keeper-unit-select{padding-inline:3px}.placement-controls{gap:6px}.placement-controls .button{width:100%}.focus-choice{padding:8px}.focus-choice .focus-symbol{width:24px;height:24px}.focus-choice p{line-height:1.4}.planning-launch{grid-column:2;margin:0;padding:10px 0;position:static}.playback-controls{flex-direction:column;justify-content:start;gap:10px;display:flex}.playback-actions{flex-wrap:wrap;gap:6px}.playback-actions .button{padding-inline:10px}.boon-controls{padding:0}.boon-controls .section-heading{margin-bottom:8px;display:block}.boon-controls .section-heading h2{font-size:1.375rem}.boon-choices{flex-direction:column;gap:8px}.boon-choice{grid-template-columns:44px minmax(0,1fr);gap:0 10px;min-height:0;padding:10px;display:grid}.boon-choice>.boon-art{grid-area:1/1/4;width:44px;height:44px;margin:0}.boon-choice strong,.boon-choice p,.boon-choice>span:last-child{grid-column:2}.boon-choice strong{font-size:1.25rem}.result-controls{flex-direction:column;align-items:stretch;gap:12px;padding:14px}.result-controls h2{font-size:1.5rem}.result-reward{min-width:0}.battle-bottom-line,.earned-gift,#battle-season{grid-column:1/-1}.game-dialog{max-height:calc(100dvh - 12px);padding:16px 20px}.game-dialog h2{margin-top:0;margin-bottom:10px;font-size:1.375rem}.settings-list{margin-top:8px}.collection-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;padding:12px max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));border-radius:0;margin:0}.collection-heading{gap:12px;padding-right:44px}.collection-heading .section-note,.collection-title-prefix,.collection-preview>p.small-copy{display:none}.collection-heading h2{margin-right:0}.collection-heading .small-copy{line-height:1.4}#collection-balance{white-space:normal;max-width:160px;padding-top:0;font-size:.875rem}.collection-layout{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(170px,.7fr) minmax(0,1fr);gap:12px;margin-top:10px}.collection-preview{grid-template-rows:auto auto auto;grid-template-columns:44px minmax(0,1fr);align-self:stretch;gap:6px 8px;height:100%;min-height:0;padding:8px;display:grid;overflow-y:auto}.collection-preview #preview-label{grid-column:1/-1;font-size:.875rem;line-height:1.4}.collection-preview #collection-hina{grid-area:2/1;width:44px;height:84px;margin:0}.collection-preview #collection-preview-world{grid-area:2/2}.collection-preview #cancel-preview{grid-column:1/-1;min-height:44px}#collection-preview-world .courtyard-wrap{width:min(100%,142px);margin-inline:auto}.collection-dialog .purchase-note{margin-top:6px;padding-top:6px;font-size:.875rem;line-height:1.4}}@media (width<=550px) and (height<=700px){.collection-dialog[open]{display:block;overflow-y:auto}.collection-dialog .collection-layout{min-height:0;display:block}.collection-dialog .collection-preview{height:auto;margin-bottom:16px;position:static}.collection-dialog #collection-items{overflow:visible}}@media (width>=551px) and (width<=820px) and (height>=501px){.collection-preview{grid-template-columns:70px minmax(0,1fr);padding:12px}.collection-preview>p.small-copy{display:none}#collection-hina{height:140px}#collection-preview-world .courtyard-wrap{width:min(100%,256px);margin-inline:auto}}.battle-view{--battle-wood:oklch(23.5% .033 48);--battle-wood-raised:oklch(30% .04 48);--battle-brass:oklch(64% .08 76);--battle-muted:oklch(81% .025 74);padding-top:4px;display:block}.battle-view .battle-heading{flex-wrap:wrap;align-items:center;gap:8px 20px;margin:0 0 12px;padding:0;display:flex}.battle-view .battle-contract{flex-wrap:wrap;align-items:center;gap:8px 14px;display:flex}.battle-view .battle-heading .text-button{min-height:44px;margin:0}.battle-view .battle-heading h1{font:1.625rem/1.2 var(--story-font)}.battle-phase-label{color:var(--battle-muted);font-size:.875rem}.battle-view .battle-stats{align-items:center;gap:22px;width:auto;padding:0;display:flex}.heart-health{min-width:120px}.battle-view .heart-stat{align-items:center;gap:5px;font-size:.875rem;display:flex}.battle-view .heart-stat strong{font-size:1.125rem}.battle-view .heart-icon{width:26px;height:26px}#heart-meter{appearance:none;background:var(--surface-raised);border:0;border-radius:4px;width:100%;height:6px;margin-top:3px;display:block;overflow:hidden}#heart-meter::-webkit-meter-bar{background:var(--surface-raised);border:0;border-radius:4px}#heart-meter::-webkit-meter-optimum-value{background:var(--mint)}#heart-meter::-moz-meter-bar{background:var(--mint)}.battle-workspace{grid-template-columns:minmax(0,1fr);align-items:start;gap:14px;display:grid}.battle-view .battle-world-layer{grid-area:auto;min-width:0;display:block}.battle-field-key{min-height:30px;color:var(--battle-muted);justify-content:space-between;align-items:center;gap:10px;margin-bottom:4px;font-size:.875rem;display:flex}.battle-field-key>span:last-child{color:var(--mint)}.battle-view .courtyard-wrap{border-color:var(--battle-brass);border-radius:10px;width:100%;margin-inline:auto;box-shadow:0 8px 24px oklch(10% .02 45/.25)}.battle-view .battle-hint{gap:7px;min-height:44px;margin-top:4px;padding:0 0 0 4px;font-size:.875rem;line-height:1.5}.battle-view .battle-hint .small-star{margin:0}.battle-command{background:var(--battle-wood);border:1px solid var(--battle-brass);border-radius:10px;flex-direction:column;min-width:0;padding:14px;display:flex;box-shadow:inset 0 1px oklch(78% .07 76/.15),0 8px 24px oklch(10% .02 45/.25)}.battle-command>*{flex-shrink:0}.battle-view .planning-controls{flex-direction:column;gap:12px;margin:0;display:flex}.battle-view .control-heading{gap:8px;min-height:24px;margin-bottom:6px}.battle-view .control-heading h2{font:650 .875rem/1.4 var(--body-font)}.battle-view .control-heading>span{white-space:nowrap;font-size:.875rem}.battle-view #forecast-toggle{min-height:44px;padding:0 2px;font-size:.875rem}.forecast-summary{color:var(--text);font-size:.875rem}.forecast-lanes,.forecast-enemies{flex-wrap:wrap;align-items:center;gap:4px 8px;display:flex}.forecast-caption{color:var(--battle-muted)}.forecast-lane{color:var(--gold);border:1px solid var(--battle-brass);border-radius:4px;align-items:baseline;gap:3px;padding:1px 6px;font-weight:650;display:inline-flex}.forecast-lane small{color:var(--battle-muted);font-size:.8125rem;font-weight:400}.forecast-enemies{margin-top:4px}.forecast-enemies>span{align-items:center;gap:3px;display:inline-flex}.forecast-enemy-art.token-art{flex-shrink:0;width:26px;height:26px}.battle-view .lane-forecast{border-color:var(--battle-brass);background:var(--battle-wood-raised);color:var(--battle-muted);margin-top:8px;padding:8px 10px}.battle-view .battle-keepers{gap:6px;display:flex}.battle-view .keeper-slot{background:0 0;border:1px solid #0000;border-radius:6px;flex:1;min-width:0;padding:4px}.battle-view .keeper-slot.selected{border-color:var(--gold);background:var(--battle-wood-raised)}.battle-view .keeper-slot:hover{background:var(--battle-wood-raised)}.battle-view .keeper-select{text-align:center;flex-direction:column;align-items:center;width:100%;min-width:44px;min-height:76px;padding:0;display:flex}.battle-view .keeper-slot-head{display:block;position:relative}.battle-view .keeper-slot .token-art{width:42px;height:42px;margin:0;display:block}.battle-view .slot-number{border:1px solid var(--battle-brass);background:var(--battle-wood);width:21px;height:21px;font:650 .8125rem/1 var(--body-font);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:0;right:-4px}.battle-view .keeper-slot strong{margin:1px 0;font-size:.875rem}.battle-view .keeper-slot .keeper-cell{color:var(--battle-muted);font-size:.8125rem;line-height:1.3;display:block}.battle-roster{align-items:center;gap:12px;margin-top:5px;display:flex}.battle-roster label{color:var(--battle-muted);flex-shrink:0;font-size:.875rem}.battle-view .keeper-unit-select{border-color:var(--battle-brass);background:var(--battle-wood);width:100%;height:44px;min-height:44px;margin-top:4px;padding:5px 2px;font-size:1rem}.battle-selected-keeper-copy,.selected-focus-copy{color:var(--gold);margin-top:6px;font-size:.875rem;line-height:1.4}.placement-prompt{color:var(--battle-muted);margin-top:5px;font-size:.875rem;line-height:1.4}.battle-view .focus-choices{gap:6px;display:flex}.battle-view .focus-choice{border:1px solid var(--battle-brass);text-align:center;background:0 0;border-radius:6px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;min-width:44px;min-height:54px;padding:4px;display:flex}.battle-view .focus-choice.selected{border-color:var(--coral);background:oklch(30% .07 4/.5)}.battle-view .focus-choice:hover{background:var(--battle-wood-raised)}.battle-view .focus-choice .focus-symbol{flex-shrink:0;width:28px;height:28px;margin:0;display:block}.battle-view .focus-choice strong{font:650 .875rem/1.3 var(--body-font);margin:0;display:block}.selected-focus-copy{color:var(--battle-muted);min-height:20px}.tactics-tools{border-top:1px solid var(--battle-brass);flex-wrap:wrap;justify-content:space-between;align-items:start;gap:0 8px;display:flex}.battle-view #suggest-layout{min-height:44px;color:var(--battle-muted);padding:0;font-size:.875rem}.tactics-disclosure{min-width:0;color:var(--battle-muted);flex:1;font-size:.875rem}.tactics-disclosure>summary{cursor:pointer;white-space:nowrap;justify-content:flex-end;align-items:center;gap:5px;min-height:44px;list-style:none;display:flex}.tactics-disclosure>summary::-webkit-details-marker{display:none}.tactics-disclosure[open]{flex-basis:100%}.tactics-disclosure[open]>summary{color:var(--text);justify-content:space-between}.tactics-disclosure[open]>summary>span{transform:rotate(180deg)}.battle-view .placement-controls{align-items:center;gap:6px 12px;margin-top:0;display:flex}.battle-view .placement-controls label{font-size:.875rem}.battle-view .placement-controls select{border-color:var(--battle-brass);background:var(--battle-wood);width:48px;min-height:44px;font-size:1rem}.battle-view .placement-controls .button{flex-basis:100%;width:100%}.battle-view .thread-control{flex-wrap:wrap;gap:5px 9px;margin-top:8px;display:flex}.battle-view .thread-control>span{flex-basis:100%}.battle-view .thread-control>.text-button{margin-left:auto}.battle-view .thread-step{border-color:var(--battle-brass);background:var(--battle-wood);font-size:.875rem}.battle-view .planning-launch{border-top:0;border-bottom:1px solid var(--battle-brass);box-shadow:none;background:0 0;flex-direction:column;order:-1;align-items:stretch;gap:8px;margin:0 0 12px;padding:0 0 12px;display:flex;position:static}.battle-view .planning-launch p{max-width:none;color:var(--battle-muted);font-size:.875rem;line-height:1.4}.battle-view #launch-wave{width:100%;min-height:48px;font-size:1rem}.battle-view .build-disclosure{border-top:1px solid var(--battle-brass);order:2;margin:12px 0 0;padding-top:4px;font-size:.875rem}.battle-view .build-disclosure>summary{align-items:center;gap:7px;min-height:44px}.battle-view #build-icons{gap:4px 6px}.battle-view #build-icons .small-copy{color:var(--battle-muted);font-size:.875rem;line-height:1.4}.battle-view .build-chip .build-name{display:none}.battle-view .build-chip .ui-art{width:24px;height:24px}.battle-view #build-details{background:0 0;margin-top:4px;padding:6px 0}.battle-view #build-details p{font-size:.875rem}.battle-view .playback-controls{flex-direction:column;justify-content:start;align-items:stretch;gap:14px;margin:0;display:flex}.battle-view .playback-controls h2{font:1.375rem/1.25 var(--story-font)}.battle-view .playback-note{color:var(--battle-muted);font-size:.875rem;line-height:1.5}.battle-view .playback-controls>div:first-child{max-width:none}.battle-view #playback-label{color:var(--gold);margin-bottom:7px;font-size:.875rem}.battle-view .playback-actions{flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.battle-view #skip-battle{width:100%}.battle-view .playback-actions .button{border-color:var(--battle-brass);background:var(--battle-wood-raised);min-height:44px;padding-inline:14px}.battle-view .speed-label{font-size:.875rem}.battle-view #battle-speed{background:var(--battle-wood);border-color:var(--battle-brass);min-height:44px;font-size:1rem}.battle-view .result-controls{background:0 0;border:0;margin:0;padding:0;display:block}.battle-view .result-controls .section-note{color:var(--gold);font-size:.875rem}.battle-view .result-controls h2{font:1.625rem/1.2 var(--story-font);margin:5px 0 10px}.battle-view #result-dialogue{font:italic 1rem/1.5 var(--story-font)}.battle-view #result-summary,.battle-view #result-feedback,.battle-view #result-next-goal{color:var(--battle-muted);margin-top:10px;font-size:.875rem;line-height:1.5}.battle-view .result-reward{border-top:1px solid var(--battle-brass);grid-template-columns:40px auto 1fr;justify-content:start;align-items:center;gap:8px;min-width:0;margin-top:14px;padding-top:12px;display:grid}.battle-view .result-lantern{width:40px;height:40px}.battle-view .result-reward strong{font:650 1.5rem/1.2 var(--body-font)}.battle-view .result-reward>span:not(:first-child){color:var(--battle-muted);font-size:.875rem;line-height:1.4}.battle-view .result-reward .button{grid-column:1/-1;width:100%;margin-top:4px}.battle-view .battle-bottom-line{border-color:var(--battle-brass);flex-wrap:wrap;justify-content:space-between;gap:6px 12px;margin:12px 0 0;padding-top:4px;font-size:.875rem;display:flex}.battle-view #battle-season{color:var(--battle-muted);margin-top:12px}.battle-view .earned-gift{border:0;border-top:1px solid var(--battle-brass);background:0 0;order:3;margin:10px 0 0;padding:10px 0 0;font-size:.875rem}@media (width>=980px){.battle-workspace{grid-template-columns:minmax(0,1fr) 300px;gap:18px}.battle-view .courtyard-wrap{width:min(100%,142.105dvh - 272.842px)}.battle-view .battle-field-key{width:min(100%,142.105dvh - 272.842px);margin-inline:auto}}@media (width<=979px){.battle-view .battle-heading{margin-bottom:8px}.battle-view .battle-heading h1{font-size:1.375rem}.battle-view .battle-contract{gap:5px 10px}.battle-view .battle-stats{gap:12px;margin-left:auto}.battle-view .battle-phase-label{font-size:.8125rem}.battle-view .heart-health{min-width:102px}.battle-command{padding:12px}.battle-view .planning-controls{gap:10px}.battle-view .forecast-control-group .control-heading{margin-bottom:0}.forecast-lanes,.forecast-enemies{margin:0;display:inline-flex}.forecast-enemies{margin-left:9px}.battle-view .keeper-select{min-height:70px}.battle-view .keeper-slot .token-art{width:36px;height:36px}.battle-view .keeper-unit-select{margin-top:2px}.battle-view .focus-choice{flex-direction:row;gap:4px;min-height:44px}.battle-view .focus-choice .focus-symbol{width:24px;height:24px}.battle-view .planning-launch{flex-direction:row;justify-content:space-between;align-items:center;gap:10px;padding-top:10px}.battle-view .planning-launch p{flex:1}.battle-view #launch-wave{width:auto;min-width:142px;font-size:.875rem}}@media (width<=550px){.battle-view .battle-heading{flex-wrap:nowrap;align-items:start;gap:8px}.battle-view .battle-contract{flex:1;gap:0 8px;min-width:0}.battle-view .battle-heading h1{font-size:1.25rem}.battle-view .battle-phase-label{flex-basis:auto;padding-left:0}.battle-view .battle-stats{flex-direction:column;align-items:end;gap:4px}.battle-view .battle-heading .text-button{min-height:44px}.battle-view .heart-health{min-width:91px}.battle-view .wave-label{font-size:.8125rem}.battle-view .battle-field-key{min-height:24px;margin-bottom:0;font-size:.8125rem}.battle-view .battle-hint{padding:0;font-size:.875rem}.battle-workspace{gap:8px}.battle-command{padding:10px}.battle-view .planning-controls{gap:6px}.battle-view .control-heading{margin-bottom:4px}.battle-view .forecast-control-group{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 8px;display:grid}.battle-view .forecast-control-group .control-heading{grid-area:1/2}.battle-view .forecast-control-group h2{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.battle-view .forecast-summary{grid-area:1/1}.battle-view .forecast-enemies{margin-left:0}.battle-view .lane-forecast{grid-column:1/-1}.battle-view .keeper-slot{padding:3px}.battle-view .keeper-slot .token-art{width:32px;height:32px}.battle-view .keeper-select{min-height:66px}.battle-view .keeper-slot .keeper-cell{font-size:.8125rem}.battle-selected-keeper-copy{margin-top:4px}.battle-view .placement-prompt{display:none}.battle-view #launch-wave{min-width:138px;padding-inline:13px}.battle-view .planning-launch{padding-top:8px}.battle-view .build-disclosure{margin-top:10px}}@media (width>=600px) and (width<=979px) and (height<=500px){.battle-workspace{grid-template-columns:minmax(0,1fr) 294px;gap:14px}.battle-view .battle-world-layer{position:sticky;top:8px}.battle-view .courtyard-wrap,.battle-view .battle-field-key{width:min(100%,142.105dvh - 227.368px);margin-inline:auto}.battle-view .planning-launch{flex-direction:column;align-items:stretch}.battle-view #launch-wave{width:100%}.battle-view .focus-choice{flex-direction:column}.battle-view .placement-prompt{display:none}.forecast-lanes,.forecast-enemies{margin:0;display:flex}}.boon-dialog{--boon-wood:oklch(23.5% .033 48);--boon-raised:oklch(30% .04 48);--boon-brass:oklch(64% .08 76);--boon-muted:oklch(81% .025 74);width:820px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border:1px solid var(--boon-brass);background:var(--boon-wood);overscroll-behavior:contain;border-radius:14px;margin:auto;padding:28px;overflow-y:auto;box-shadow:inset 0 1px oklch(78% .07 76/.2),0 24px 80px oklch(8% .02 45/.65)}.boon-dialog[open]{animation:.16s ease-out boon-window-in}.boon-dialog::backdrop{background:oklch(8% .02 45/.76)}.boon-dialog .dialog-close{min-width:44px;min-height:44px;color:var(--boon-muted);top:8px;right:8px}.boon-window-heading{margin-bottom:22px;padding-right:28px}.boon-window-heading .section-note{color:var(--gold);font-size:.8125rem}.boon-dialog .boon-window-heading h2{font:2rem/1.2 var(--story-font);margin:6px 0 8px}.boon-window-heading>p:last-child{color:var(--boon-muted);font-size:.875rem;line-height:1.5}.boon-dialog .boon-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.boon-dialog .boon-choice{border:1px solid var(--boon-brass);background:var(--boon-raised);border-radius:9px;flex-direction:column;align-items:start;gap:0;min-height:234px;padding:18px;display:flex;box-shadow:inset 0 1px oklch(78% .07 76/.12)}.boon-dialog .boon-choice:hover:not(:disabled){border-color:var(--gold);background:oklch(35% .044 48)}.boon-dialog .boon-choice:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.boon-dialog .boon-choice>.boon-art{flex-shrink:0;width:64px;height:64px;margin:0 0 12px;padding:0}.boon-dialog .boon-choice strong{font:1.375rem/1.25 var(--story-font);color:var(--gold);margin:0 0 8px}.boon-dialog .boon-choice p{color:var(--boon-muted);font-size:.875rem;line-height:1.5}.boon-dialog .boon-choice-action{color:var(--coral-bright);margin-top:auto;padding-top:16px;font-size:.875rem;line-height:1.4}.boon-window-footer{border-top:1px solid var(--boon-brass);color:var(--boon-muted);justify-content:space-between;align-items:center;gap:10px;margin-top:18px;padding-top:10px;font-size:.875rem;display:flex}.boon-window-footer .text-button{min-height:44px;margin:0}.boon-prompt{flex-direction:column;gap:8px;display:flex}.boon-prompt>.token-art{width:48px;height:48px}.boon-prompt h2{font:1.375rem/1.25 var(--story-font)}.boon-prompt p{color:var(--battle-muted);font-size:.875rem;line-height:1.5}.boon-prompt .button{width:100%;margin-top:8px}@keyframes boon-window-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media (width<=600px){.boon-dialog{max-width:calc(100vw - 20px);padding:18px}.boon-window-heading{margin-bottom:14px}.boon-dialog .boon-window-heading h2{font-size:1.625rem}.boon-dialog .boon-choices{grid-template-columns:minmax(0,1fr);gap:8px}.boon-dialog .boon-choice{grid-template-columns:44px minmax(0,1fr);gap:0 12px;min-height:0;padding:12px;display:grid}.boon-dialog .boon-choice>.boon-art{grid-area:1/1/4;width:44px;height:44px;margin:0}.boon-dialog .boon-choice strong,.boon-dialog .boon-choice p,.boon-dialog .boon-choice-action{grid-column:2}.boon-dialog .boon-choice strong{margin-bottom:4px;font-size:1.125rem}.boon-dialog .boon-choice-action{margin:0;padding-top:6px}.boon-window-footer{margin-top:12px;padding-top:6px}}@media (width<=360px){.boon-dialog{max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:14px}.boon-dialog .boon-choice{column-gap:8px;padding:10px}.boon-window-footer>span{max-width:12ch;line-height:1.4}}@media (width>=601px) and (height<=500px){.boon-dialog{max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:16px 20px}.boon-window-heading{margin-bottom:12px}.boon-dialog .boon-window-heading h2{margin:4px 0;font-size:1.625rem}.boon-dialog .boon-choice{min-height:180px;padding:12px}.boon-dialog .boon-choice>.boon-art{width:40px;height:40px;margin-bottom:8px}.boon-dialog .boon-choice strong{margin-bottom:4px;font-size:1.125rem}.boon-dialog .boon-choice-action{padding-top:8px}.boon-window-footer{margin-top:10px;padding-top:4px}}@media (prefers-reduced-motion:reduce){.boon-dialog[open]{animation:none}}.game-auth-gate{border:1px solid var(--gold);background:var(--night);border-radius:14px;grid-template-columns:170px minmax(0,1fr);align-items:center;gap:32px;max-width:820px;min-height:min(500px,100dvh - 150px);margin:20px auto;padding:32px;display:grid}.game-auth-gate>img{object-fit:contain;width:170px;height:255px}.game-auth-gate h1{font:2rem/1.2 var(--story-font);margin:8px 0 16px}.game-auth-gate #auth-status{color:var(--muted);font-size:1rem;line-height:1.6}.auth-actions{flex-wrap:wrap;gap:10px;margin:24px 0 16px;display:flex}.game-auth-gate .small-copy{color:var(--muted);font-size:.875rem;line-height:1.5}.is-auth-gated .guild-resource-hud{display:none}@media (width<=600px){.game-auth-gate{grid-template-columns:minmax(0,1fr);gap:8px;min-height:0;margin:12px auto;padding:20px}.game-auth-gate>img{width:72px;height:108px;margin-inline:auto}.game-auth-gate h1{margin-bottom:12px;font-size:1.625rem}.auth-actions{flex-direction:column;margin-top:16px}}@media (width>=601px) and (height<=500px){.game-auth-gate{min-height:0;margin:8px auto;padding:20px}.game-auth-gate>img{width:130px;height:195px}}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.button,.boon-choice{isolation:isolate;position:relative;overflow:hidden}.button,.icon-button,.lobby-destination,.lobby-utility,.boon-choice{transition:transform .12s cubic-bezier(.3,1.6,.5,1),box-shadow .16s,background .16s,filter .16s}.button:hover:not(:disabled),.lobby-destination:hover:not(:disabled),.lobby-utility:hover:not(:disabled){filter:brightness(1.08)}.button:active:not(:disabled),.icon-button:active:not(:disabled),.lobby-destination:active:not(:disabled),.lobby-utility:active:not(:disabled),.boon-choice:active:not(:disabled){filter:brightness(.94);transition-duration:50ms;transform:translateY(2px)}.button-primary{background:linear-gradient(180deg, oklch(86% .12 8), var(--coral) 55%, oklch(68% .16 5));text-shadow:0 1px oklch(100% 0 0/.4);box-shadow:0 4px oklch(50% .15 5),0 8px 22px oklch(55% .16 5/.35)}.button-primary:hover:not(:disabled){background:linear-gradient(180deg, oklch(90% .1 8), var(--coral-bright) 55%, oklch(72% .15 5));box-shadow:0 6px oklch(50% .15 5),0 12px 28px oklch(60% .17 5/.45)}.button-primary:active:not(:disabled){box-shadow:0 1px oklch(50% .15 5)}.button-primary:not(:disabled):after{content:"";z-index:-1;pointer-events:none;background:linear-gradient(100deg,#0000,oklch(100% 0 0/.5),#0000);width:40%;animation:3.4s ease-in-out infinite juice-shine;position:absolute;inset:-20% auto -20% -60%;transform:skew(-20deg)}@keyframes juice-shine{0%,70%{left:-60%}to{left:130%}}.juice-ripple{pointer-events:none;z-index:-1;background:oklch(100% 0 0/.35);border-radius:50%;animation:.5s ease-out forwards juice-ripple;position:absolute;transform:scale(0)}@keyframes juice-ripple{to{opacity:0;transform:scale(1)}}#launch-wave:not(:disabled),#practice-first:not(:disabled){animation:1.7s ease-in-out infinite juice-cta}@keyframes juice-cta{0%,to{box-shadow:0 4px oklch(50% .15 5),0 0 oklch(76% .15 4/.55)}50%{box-shadow:0 4px oklch(50% .15 5),0 0 0 14px oklch(76% .15 4/0)}}.juice-bump{animation:.32s cubic-bezier(.3,1.8,.5,1) juice-bump;display:inline-block}@keyframes juice-bump{35%{transform:scale(1.4)}}.juice-rolling{position:relative;color:#0000!important;text-shadow:none!important}.juice-rolling:after{content:attr(data-roll);color:var(--gold);text-shadow:0 0 12px oklch(85% .12 78/.7);position:absolute;top:0;left:0}.juice-hurt{animation:.55s ease-out juice-hurt}@keyframes juice-hurt{15%{filter:drop-shadow(0 0 10px oklch(60% .22 20));transform:translate(-6px)scale(1.12)}35%{transform:translate(6px)}55%{transform:translate(-4px)}75%{transform:translate(2px)}}.juice-shake{animation:.35s ease-out juice-shake}.juice-shake-hard{animation:.5s ease-out juice-shake-hard}@keyframes juice-shake{20%{transform:translate(-4px,2px)}40%{transform:translate(4px,-2px)}60%{transform:translate(-2px,1px)}80%{transform:translate(2px)}}@keyframes juice-shake-hard{10%{transform:translate(-9px,4px)}25%{transform:translate(8px,-5px)}40%{transform:translate(-6px,3px)}55%{transform:translate(5px,-2px)}70%{transform:translate(-3px,1px)}}#heart-meter{transition:all .2s}.courtyard-wrap{container-type:inline-size}.juice-banner{z-index:6;pointer-events:none;text-align:center;justify-items:center;gap:6px;width:max-content;max-width:96%;animation:.5s cubic-bezier(.2,1.8,.4,1) both juice-banner-in;display:grid;position:absolute;top:42%;left:50%;transform:translate(-50%,-50%)}.juice-banner strong{letter-spacing:-.02em;color:#fff5ea;-webkit-text-stroke:2px var(--ink);paint-order:stroke fill;text-shadow:0 4px 0 var(--ink), 0 0 30px oklch(85% .12 78/.55);text-transform:uppercase;font-size:clamp(1.1rem,6.5cqi,3rem);font-weight:950;line-height:1;font-family:var(--story-font)}.juice-banner small{color:var(--gold);background:oklch(17% .025 324/.88);border:1px solid oklch(85% .12 78/.4);border-radius:999px;padding:5px 12px;font-size:clamp(.6rem,1.8cqi,.85rem);font-weight:700}.juice-banner.tier-2 strong{background:linear-gradient(#fff7d6,#ffd98b 50%,#ff9a6b);color:#0000;-webkit-background-clip:text;background-clip:text;font-size:clamp(1.3rem,8cqi,3.6rem)}.juice-banner.tier-3 strong{background:linear-gradient(90deg,#ff87ae,#ffd98b,#98ecd1,#d6a1ff,#ff87ae) 0 0/300% 100%;color:#0000;-webkit-background-clip:text;background-clip:text;font-size:clamp(1.5rem,9.5cqi,4.2rem);animation:1.2s linear infinite juice-rainbow}.juice-banner.tier-3:before{content:"";z-index:-1;background:repeating-conic-gradient(from 0deg, oklch(90% .1 78/.45) 0 10deg, transparent 10deg 20deg);animation:6s linear infinite juice-spin;position:absolute;inset:-70px -110px;mask:radial-gradient(circle,#000 18%,#0000 66%)}.juice-banner.leaving{animation:.4s ease-in both juice-banner-out}@keyframes juice-banner-in{0%{opacity:0;transform:translate(-50%,-50%)scale(.2)rotate(-8deg)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}@keyframes juice-banner-out{to{opacity:0;transform:translate(-50%,-85%)scale(.85)}}@keyframes juice-rainbow{to{background-position:-300% 0}}@keyframes juice-spin{to{transform:rotate(360deg)}}.juice-token{z-index:90;pointer-events:none;margin:-9px 0 0 -9px;position:fixed;top:0;left:0}.petal-token{background:radial-gradient(circle at 30% 30%,#fff1f6,#ff9ec0 55%,#e0608f);border-radius:80% 0;width:18px;height:18px;box-shadow:0 0 12px #ff9ec0,0 0 3px #fff}.juice-confetti{pointer-events:none;z-index:95;width:100vw;height:100vh;position:fixed;inset:0}dialog[open].game-dialog{animation:.32s cubic-bezier(.2,1.5,.4,1) juice-dialog}@keyframes juice-dialog{0%{opacity:0;transform:translateY(24px)scale(.92)}}.boon-choice{box-shadow:0 5px oklch(12% .02 324)}.boon-choice:hover:not(:disabled){border-color:var(--gold);box-shadow:0 10px oklch(12% .02 324),0 0 30px oklch(85% .12 78/.4)}.boon-choice .boon-art{transition:transform .25s cubic-bezier(.3,1.6,.5,1)}.boon-choice:hover:not(:disabled) .boon-art{filter:drop-shadow(0 0 12px oklch(85% .12 78/.8));transform:scale(1.12)rotate(-4deg)}.juice-dealing{opacity:0;transform:translateY(-40px)rotateX(80deg)scale(.8)}.juice-dealt{animation:.5s cubic-bezier(.2,1.6,.4,1) both juice-deal}@keyframes juice-deal{0%{opacity:0;transform:translateY(-60px)rotateX(90deg)scale(.8)}60%{opacity:1}to{opacity:1;transform:none}}#result-reward{color:#fff1c9;text-shadow:0 3px 0 var(--ink), 0 0 24px oklch(85% .12 78/.55);font-variant-numeric:tabular-nums;font-size:clamp(2.2rem,5vw,3.4rem);font-weight:950;line-height:1;display:inline-block}.juice-enter{animation:.6s cubic-bezier(.2,1.4,.4,1) juice-enter}@keyframes juice-enter{0%{opacity:0;transform:translateY(26px)scale(.9)}}@media (prefers-reduced-motion:reduce){.juice-banner,.juice-dealt,.juice-bump,.juice-hurt,.juice-shake,.juice-shake-hard,.button-primary:after,#launch-wave,#practice-first{animation:none!important}}[data-reduced-motion=true] .juice-banner,[data-reduced-motion=true] .juice-dealt,[data-reduced-motion=true] .button-primary:after,[data-reduced-motion=true] #launch-wave,[data-reduced-motion=true] #practice-first{animation:none!important}.game-topbar{flex-wrap:wrap;gap:12px 20px;padding-block:12px}.guild-resource-hud{color:var(--muted);flex-wrap:wrap;align-items:center;gap:12px 20px;font-size:.875rem;display:flex}.guild-resource-hud>span{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.guild-resource-hud strong{color:var(--gold);font-variant-numeric:tabular-nums}.guild-resource-hud .balance-icon{width:24px;height:24px}.play-shell{max-width:1300px;padding-inline:max(18px, env(safe-area-inset-left)) max(18px, env(safe-area-inset-right))}.play-shell .guild-brand{font-size:1.25rem}.play-shell .guild-brand small{letter-spacing:.06em;font-size:.75rem}.play-shell .mode-label{max-width:19ch;padding:0}.play-shell:has(#battle-view:not([hidden])) .guild-resource-hud{display:none}.guild-brand{min-height:44px}.account-icon{width:21px;height:21px;display:none}.playable-guild{--lobby-wood:oklch(23.5% .033 48);--lobby-wood-raised:oklch(30% .04 48);--lobby-brass:oklch(64% .08 76);--lobby-warm-text:oklch(94% .022 80);--lobby-warm-muted:oklch(80% .036 74);padding-top:4px;position:relative}.lobby-scene-frame{isolation:isolate;border:1px solid var(--lobby-brass);background:var(--lobby-wood);border-radius:12px;width:100%;height:clamp(430px,100dvh - 142px,740px);position:relative;overflow:hidden;box-shadow:0 12px 32px oklch(10% .02 45/.28)}.lobby-scene-frame:after{content:"";z-index:1;pointer-events:none;background:linear-gradient(oklch(14% .03 48/.3),#0000 24% 66%,oklch(13% .035 45/.4));position:absolute;inset:0}.guild-lobby-host,.lobby-scene-fallback{position:absolute;inset:0}.guild-lobby-host canvas{display:block}.lobby-scene-fallback{pointer-events:none}.has-scene .lobby-scene-fallback{display:none}.lobby-fallback-room{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.lobby-fallback-hina{object-fit:contain;width:auto;height:70%;position:absolute;bottom:100px;left:48%}.lobby-loading{z-index:2;border:1px solid var(--lobby-brass);background:var(--lobby-wood);max-width:calc(100% - 40px);color:var(--lobby-warm-muted);border-radius:6px;padding:8px 12px;font-size:.875rem;position:absolute;top:85px;left:20px}.lobby-room-status{z-index:2;border:1px solid var(--lobby-brass);background:var(--lobby-wood);border-radius:8px;gap:5px;width:278px;padding:12px 14px;display:grid;position:absolute;top:18px;left:22px;box-shadow:0 4px 10px oklch(12% .02 45/.35)}.lobby-room-name{color:var(--gold);font:1.125rem/1.25 var(--story-font)}.lobby-next-goal{width:100%;min-height:44px;color:var(--lobby-warm-text);text-align:left;background:0 0;border:0;gap:4px;padding:3px 0;font-size:.9375rem;display:grid}.lobby-next-goal>span{color:var(--lobby-warm-muted);font-size:.875rem}.lobby-next-goal:hover strong{color:var(--gold)}.lobby-next-goal progress{appearance:none;background:var(--lobby-wood-raised);width:100%;height:5px;accent-color:var(--gold);border:0;border-radius:3px;margin-block:4px;display:block}.lobby-next-goal progress::-webkit-progress-bar{background:var(--lobby-wood-raised);border-radius:3px}.lobby-next-goal progress::-webkit-progress-value{background:var(--gold);border-radius:3px}.lobby-next-goal progress::-moz-progress-bar{background:var(--gold);border-radius:3px}#lobby-save-status{color:var(--lobby-warm-muted);font-size:.875rem}.lobby-utility-dock{z-index:2;gap:8px;display:flex;position:absolute;top:18px;right:22px}.lobby-utility{border:1px solid var(--lobby-brass);background:var(--lobby-wood);min-width:48px;min-height:48px;color:var(--lobby-warm-text);border-radius:8px 8px 5px 5px;justify-content:center;align-items:center;gap:7px;padding:5px 10px;font-size:.875rem;display:flex;box-shadow:inset 0 1px oklch(76% .08 74/.25),0 4px 12px oklch(10% .02 45/.3)}.lobby-utility .token-art{flex-shrink:0;width:34px;height:34px}.lobby-utility:hover:not(:disabled){background:var(--lobby-wood-raised)}.lobby-hina-dialogue{z-index:3;width:min(280px,100% - 44px);color:var(--lobby-warm-text);pointer-events:none;position:absolute;top:180px;left:22px}.lobby-hina-dialogue>summary,.lobby-conversation{pointer-events:auto}.lobby-hina-dialogue>summary{border:1px solid var(--lobby-brass);background:var(--lobby-wood);cursor:pointer;border-radius:22px;align-items:center;gap:8px;min-height:44px;padding:6px 12px;font-size:.875rem;list-style:none;display:inline-flex;box-shadow:0 4px 12px oklch(12% .02 45/.25)}.lobby-hina-dialogue>summary::-webkit-details-marker{display:none}.dialogue-spark{color:var(--gold);font-size:1.3125rem}.dialogue-chevron{color:var(--lobby-warm-muted);font-size:1.125rem}.lobby-hina-dialogue[open] .dialogue-chevron{transform:rotate(180deg)}.lobby-conversation{border:1px solid var(--lobby-brass);background:var(--lobby-wood);border-radius:5px 14px 14px;margin-top:7px;padding:14px;box-shadow:0 8px 24px oklch(12% .02 45/.4)}.lobby-hina-dialogue #hina-welcome{font:italic 1rem/1.55 var(--story-font)}.lobby-hina-dialogue .small-copy{color:var(--lobby-warm-muted);margin-top:9px;font-size:.875rem;line-height:1.5}.lobby-command-rail{z-index:2;border-top:1px solid var(--lobby-brass);background:oklch(20% .025 48/.97);justify-content:space-between;align-items:center;gap:18px;min-height:92px;padding:10px 22px;display:flex;position:absolute;inset:auto 0 0}.lobby-navigation{gap:10px;display:flex}.lobby-destination{width:78px;min-width:44px;min-height:68px;color:var(--lobby-warm-text);background:0 0;border:1px solid #0000;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:4px;font-size:.875rem;display:flex}.lobby-destination .token-art{width:37px;height:37px}.lobby-destination:hover,.lobby-destination[aria-expanded=true]{border-color:var(--gold);background:var(--lobby-wood-raised)}.lobby-expedition{justify-items:stretch;gap:4px;min-width:245px;display:grid}.lobby-expedition-label{color:var(--gold);font:.875rem/1.4 var(--story-font);text-shadow:0 2px 4px oklch(8% .02 45);padding-left:6px}.lobby-expedition #practice-first{border:1px solid oklch(90% .1 74);border-radius:8px 8px 14px;min-height:58px;padding:13px 24px;font-size:1rem;box-shadow:inset 0 1px oklch(97% .03 75/.45),0 6px 22px oklch(14% .055 15/.65)}.lobby-hub-exit{z-index:2;min-height:44px;color:var(--lobby-warm-text);text-underline-offset:4px;text-shadow:0 2px 5px oklch(10% .02 45);align-items:center;padding:0 4px;font-size:.875rem;text-decoration-color:oklch(80% .05 74/.55);display:inline-flex;position:absolute;bottom:111px;left:22px}.play-shell .game-footer{min-height:48px}#lobby-ledger{width:min(880px, calc(100% - max(16px, env(safe-area-inset-left)) - max(16px, env(safe-area-inset-right))));border-color:var(--lobby-brass);background:var(--lobby-wood);max-width:880px;height:min(800px,100dvh - 40px);max-height:calc(100dvh - 40px);color:var(--lobby-warm-text);border-radius:12px;padding:22px;overflow:hidden}#lobby-ledger[open]{flex-direction:column;display:flex}#lobby-ledger::backdrop{background:oklch(10% .025 48/.82)}#lobby-ledger>form:first-child{z-index:2;pointer-events:auto;height:44px;position:absolute;top:12px;right:12px}#lobby-ledger .dialog-close{background:var(--lobby-wood-raised);min-width:44px;height:44px;color:var(--lobby-warm-text);border:1px solid var(--lobby-brass);position:static}.lobby-ledger-heading{align-items:center;gap:13px;min-height:67px;padding:0 56px 12px 0;display:flex}.lobby-ledger-heading>.token-art{flex-shrink:0;width:52px;height:52px}#lobby-ledger-title{font:1.75rem/1.2 var(--story-font);margin:0 0 4px}.lobby-ledger-heading p{color:var(--lobby-warm-muted);font-size:.875rem}.lobby-ledger-navigation{border-block:1px solid var(--lobby-brass);flex-shrink:0;padding-block:6px}.lobby-ledger-navigation [role=tablist]{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;display:grid}.lobby-ledger-tab{min-width:44px;min-height:44px;color:var(--lobby-warm-muted);background:0 0;border:1px solid #0000;border-radius:5px;padding:8px 4px;font-size:.875rem}.lobby-ledger-tab:hover{background:var(--lobby-wood-raised)}.lobby-ledger-tab[aria-selected=true]{border-color:var(--lobby-brass);background:var(--lobby-wood-raised);color:var(--coral-bright)}.lobby-management-pane{flex:1;min-width:0;min-height:0;margin-top:14px}.lobby-panel{overscroll-behavior:contain;scrollbar-color:var(--lobby-brass) var(--lobby-wood);height:100%;padding:4px 10px 16px 0;scroll-padding:16px;overflow-y:auto}.lobby-panel-heading{margin-bottom:16px}#lobby-ledger .lobby-panel-heading h2{font:1.5rem/1.2 var(--story-font);margin:0 0 7px}.lobby-panel p{color:var(--lobby-warm-muted);font-size:.875rem;line-height:1.6}.lobby-panel .small-copy{margin-top:12px}.lobby-panel .contract-list,.lobby-panel .project-list{border-top:0}.lobby-panel .contract-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.lobby-contract{border:1px solid var(--lobby-brass);border-radius:8px;padding:0;display:block;overflow:hidden}.contract-landscape{background:var(--lobby-wood-raised);height:150px;position:relative}.contract-landscape:after{content:"";background:linear-gradient(#0000 35%,oklch(16% .035 48/.92));position:absolute;inset:0}.contract-landscape img{object-fit:cover;width:100%;height:100%}.contract-landscape h3{z-index:1;font:1.3125rem/1.2 var(--story-font);position:absolute;bottom:10px;left:12px;right:12px}.lobby-contract .contract-info{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:12px;display:flex}.lobby-contract .contract-meta{color:var(--gold);flex-basis:100%;font-size:.875rem}.lobby-contract .button{min-width:65px}.contract-description{border-top:1px solid var(--lobby-brass);padding:0 12px}.contract-description summary{min-height:44px;color:var(--lobby-warm-muted);cursor:pointer;align-items:center;font-size:.875rem;display:flex}.contract-description p{padding-bottom:12px}.lobby-panel .project-row{grid-template-columns:44px minmax(0,1fr) auto;gap:14px;padding-block:16px}.lobby-panel .project-row>.button{grid-area:1/3;justify-self:start}.lobby-panel .project-info h3{flex-wrap:wrap}.lobby-panel .project-row.is-selected{background:var(--lobby-wood-raised);border-radius:8px;padding-inline:8px}.lobby-panel .keeper-roster,.lobby-panel .story-chapters{padding:0;display:block}.lobby-panel .roster-entry{border-bottom:1px solid var(--lobby-brass);padding:14px 0}.keeper-inspect{min-width:60px;min-height:60px;color:inherit;background:0 0;border:1px solid #0000;border-radius:8px;padding:2px}.keeper-inspect[aria-pressed=true]{border-color:var(--gold);background:var(--lobby-wood-raised)}.lobby-panel .story-chapter{padding-bottom:24px}.lobby-panel .story-chapter p{font:.9375rem/1.7 var(--story-font)}.lobby-inspection{border:1px solid var(--lobby-brass);background:var(--lobby-wood-raised);border-radius:8px;margin-bottom:10px;padding:12px}.lobby-panel .trial-best{color:var(--gold);padding:16px 0}.lobby-panel #trial-start{min-width:230px}.lobby-panel .save-recovery{padding:12px;display:block}.lobby-panel .save-recovery .button{margin-top:10px}@media (width<=1190px){.play-shell .game-topbar{gap:8px 16px}.play-shell .topbar-actions{margin-left:auto}.play-shell .guild-resource-hud{order:3;justify-content:center;width:100%}.lobby-scene-frame{height:clamp(430px,100dvh - 172px,740px)}}@media (width>=901px) and (height<=800px){.lobby-scene-frame{height:clamp(360px,100dvh - 138px,740px)}}@media (width<=900px){.game-topbar{gap:10px 14px}.game-topbar .guild-resource-hud{order:3;width:100%}.lobby-scene-frame{height:clamp(430px,100dvh - 174px,840px)}.lobby-command-rail{gap:10px;padding-inline:16px}.lobby-navigation{gap:5px}.lobby-destination{width:65px;min-height:68px}.lobby-destination .token-art{width:39px;height:39px}.lobby-expedition{min-width:215px}.lobby-expedition #practice-first{padding-inline:15px}.lobby-room-status{top:16px;left:16px}.lobby-utility-dock{top:16px;right:16px}.lobby-hina-dialogue{left:16px}.lobby-hub-exit{bottom:99px;left:16px}.lobby-panel .contract-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.lobby-command-rail{flex-direction:column-reverse;align-items:stretch;gap:5px;padding:8px 6px;display:flex}.lobby-navigation{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;display:grid}.lobby-destination{gap:2px;width:100%;min-height:63px;padding:3px 1px;font-size:.8125rem}.lobby-destination .token-art{flex-shrink:0;width:30px;height:30px}.lobby-expedition{min-width:0;padding-inline:5px}.lobby-expedition #practice-first{min-height:50px}.lobby-expedition-label{display:none}.lobby-room-status{gap:0;width:min(165px,100% - 137px);padding:8px}.lobby-room-name,#lobby-save-status{display:none}.lobby-next-goal{gap:3px;font-size:.8125rem}.lobby-next-goal>span{font-size:.75rem}.lobby-utility{width:48px;height:48px;padding:6px}.lobby-utility>span:last-child{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.lobby-utility .token-art{width:34px;height:34px}.lobby-hub-exit{margin-top:2px;padding-inline:4px;position:static}.lobby-hina-dialogue{width:auto;top:78px;left:auto;right:16px}.lobby-hina-dialogue>summary{justify-content:center;width:48px;min-height:48px;margin-left:auto;padding:6px;display:flex}.lobby-hina-dialogue>summary>span:not(.dialogue-spark){clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.lobby-hina-dialogue[open]{width:min(280px,100% - 32px)}.lobby-fallback-hina{height:63%;bottom:165px;left:31%}}@media (width<=550px){.battle-view .planning-launch{border-top:0;border-bottom:1px solid var(--battle-brass);order:-1;margin:0 0 8px;padding:0 0 10px}.game-topbar{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:4px 8px;padding-block:8px;display:grid}.guild-brand{font-size:1.25rem}.topbar-actions{flex-wrap:wrap;justify-content:end;gap:0;width:176px;margin-left:0}.mode-label{text-align:right;flex-basis:100%;order:5;padding:1px 0 0;font-size:.875rem;line-height:1.4;display:block;max-width:100%!important}.guild-resource-hud{grid-column:1/-1;gap:4px 10px}.guild-resource-hud>span{gap:4px}.guild-resource-hud .balance-icon{width:20px;height:20px}.resource-label-long{display:none}.guild-resource-hud>span:last-child{margin-left:auto}.play-shell{padding-inline:max(10px, env(safe-area-inset-left)) max(10px, env(safe-area-inset-right))}.play-shell .game-topbar{min-height:0}.play-shell .guild-resource-hud{justify-content:start}.guild-brand{white-space:nowrap;gap:0;font-size:1.125rem}.brand-lantern{display:none}.play-shell .guild-brand{max-width:none;font-size:1.125rem}.play-shell .guild-brand small{font-size:.75rem}.play-shell .topbar-actions{max-width:176px}#account-button{width:44px;min-width:44px;min-height:44px;padding:10px}#account-button-label{display:none}.account-icon{display:block}.play-shell .guild-resource-hud{font-size:.875rem}.lobby-scene-frame{border-radius:9px;height:max(450px,100svh - 148px);max-height:800px}#lobby-ledger{width:calc(100% - max(8px, env(safe-area-inset-left)) - max(8px, env(safe-area-inset-right)));height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:14px}.lobby-ledger-heading{gap:9px;min-height:65px;padding-right:52px}.lobby-ledger-heading>.token-art{width:38px;height:38px}#lobby-ledger-title{font-size:1.5rem}.lobby-ledger-heading p{font-size:.875rem}.lobby-ledger-navigation [role=tablist]{gap:3px;padding-block:4px;display:flex;overflow-x:auto}.lobby-ledger-tab{flex:1 0 auto;padding-inline:8px}.lobby-management-pane{margin-top:12px}.lobby-panel{padding-right:5px}#lobby-ledger .lobby-panel-heading h2{font-size:1.375rem}.lobby-panel .contract-list{display:block}.lobby-contract{margin-bottom:14px}.contract-landscape{height:150px}.lobby-panel .project-row{grid-template-columns:34px minmax(0,1fr)}.lobby-panel .project-row>.button{grid-area:auto/2}.lobby-panel #trial-start{width:100%;min-width:0}}@media (width>=601px) and (width<=1100px) and (height<=500px){.battle-command{overscroll-behavior:contain;max-height:calc(100dvh - 134px);scroll-padding-block:12px;overflow-y:auto}.battle-view .planning-launch{border-top:0;border-bottom:1px solid var(--battle-brass);order:-1;margin:0 0 8px;padding:0 0 10px}.play-shell{padding-inline:max(18px, env(safe-area-inset-left)) max(18px, env(safe-area-inset-right))}.play-shell .game-topbar{gap:2px 12px;min-height:0;padding-block:4px}.play-shell .guild-brand{min-height:44px;font-size:1.125rem}.play-shell .guild-brand small{display:none}.play-shell .guild-resource-hud{order:3;justify-content:center;gap:4px 16px;width:100%}.play-shell .guild-resource-hud .balance-icon{width:18px;height:18px}.play-shell .topbar-actions{gap:0}.play-shell .mode-label{font-size:.875rem;display:block}.lobby-scene-frame{height:max(240px,100dvh - 98px)}.lobby-room-status{display:none}.lobby-utility-dock{gap:5px;top:10px;right:12px}.lobby-utility{width:44px;min-height:44px;padding:4px}.lobby-utility .token-art{width:28px;height:28px}.lobby-utility>span:last-child{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.lobby-hina-dialogue{width:250px;top:10px;left:12px}.lobby-conversation{max-height:130px;overflow-y:auto}.lobby-command-rail{min-height:75px;padding:6px 12px}.lobby-navigation{gap:5px}.lobby-destination{width:58px;min-height:63px;padding:4px 2px}.lobby-destination .token-art{width:31px;height:31px}.lobby-expedition{min-width:202px}.lobby-expedition #practice-first{min-height:48px;padding:10px 12px;font-size:.9375rem}.lobby-hub-exit{margin-top:2px;position:static}#lobby-ledger{height:calc(100dvh - max(8px, env(safe-area-inset-top)) - max(8px, env(safe-area-inset-bottom)));max-height:calc(100dvh - max(8px, env(safe-area-inset-top)) - max(8px, env(safe-area-inset-bottom)));padding:12px 16px}.lobby-ledger-heading{min-height:52px;padding-bottom:7px}.lobby-ledger-heading>.token-art{width:36px;height:36px}#lobby-ledger-title{font-size:1.375rem}.lobby-ledger-heading p{display:none}.lobby-ledger-navigation{padding-block:3px}.lobby-management-pane{margin-top:9px}}@media (width<=600px) and (height<=500px){.lobby-scene-frame{height:max(320px,100dvh - 110px)}}@media (prefers-reduced-motion:reduce){.lobby-destination,.lobby-utility{transition:none}}.progression-material{--progression-wood:oklch(23.5% .033 48);--progression-wood-raised:oklch(30% .04 48);--progression-brass:oklch(64% .08 76);--progression-text:oklch(96% .02 76);--progression-muted:oklch(82% .035 70);color:var(--progression-text)}.first-play-guide{isolation:isolate;border:1px solid var(--progression-brass);background:var(--progression-wood);border-radius:8px;align-items:stretch;gap:12px;width:100%;margin-block:12px;display:flex;position:static;box-shadow:inset 0 1px oklch(78% .07 76/.12)}.guide-hina{object-fit:cover;object-position:50% 15%;border-radius:0 0 0 7px;flex:0 0 60px;align-self:flex-end;width:60px;max-height:128px}.guide-content{flex:1;min-width:0;padding:8px 10px 6px 0}.guide-heading{justify-content:space-between;align-items:center;gap:8px;min-height:44px;display:flex}.guide-progress{color:var(--gold);font-size:.8125rem}.guide-heading .icon-button{flex:0 0 44px}.first-play-guide h2{font:650 .9375rem/1.4 var(--body-font);margin-bottom:3px}.first-play-guide p{max-width:65ch;color:var(--progression-muted);font-size:.875rem;line-height:1.5}.guide-actions{flex-wrap:wrap;justify-content:space-between;gap:0 12px;display:flex}.guide-actions .text-button{min-height:44px;color:var(--progression-text)}.battle-command>.first-play-guide{flex-shrink:0;order:-1;margin-block:0 12px}.battle-command .guide-hina{display:none}.battle-command .guide-content{padding-inline:10px}.nco-shop{border:1px solid var(--progression-brass);background:var(--progression-wood);border-radius:12px;width:min(1040px,100% - 32px);max-width:1040px;height:min(770px,100dvh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:20px;overflow:hidden}.nco-shop[open]{flex-direction:column;display:flex}.nco-shop::backdrop{background:oklch(12% .02 325/.82)}.nco-shop-heading{flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.nco-shop-heading h2{font:500 1.625rem/1.2 var(--story-font);margin-bottom:4px}.nco-shop-heading p{max-width:55ch;color:var(--progression-muted);font-size:.875rem}.nco-shop-heading .icon-button{border:1px solid var(--progression-brass);background:var(--progression-wood-raised);flex:0 0 44px}.nco-shop-currency{border-block:1px solid var(--progression-brass);color:var(--progression-muted);flex-wrap:wrap;flex-shrink:0;justify-content:space-between;gap:6px 16px;margin-block:14px;padding-block:9px;font-size:.8125rem;display:flex}.nco-shop-currency strong{color:var(--gold)}.nco-shop-currency strong span{color:var(--progression-muted);font-weight:400}.nco-shop-workspace{flex:1;grid-template-columns:minmax(230px,.82fr) minmax(0,1.25fr);gap:20px;min-height:0;display:grid}.nco-shop-preview{flex-direction:column;min-width:0;min-height:0;margin:0;display:flex}.nco-shop-stage{isolation:isolate;border:1px solid var(--progression-brass);background:var(--ink);border-radius:7px;flex:1;min-height:160px;position:relative;overflow:hidden}.nco-shop-room{object-fit:cover;object-position:70% center;opacity:.64;width:100%;height:100%;position:absolute;inset:0}.nco-shop-hina{object-fit:contain;object-position:bottom;filter:drop-shadow(0 5px 10px oklch(12% .02 45/.6));width:100%;height:98%;margin:auto;position:absolute;inset:2% 0 0}.nco-shop-crest{width:66px;height:66px;position:absolute;top:8px;left:8px}.nco-shop-thread{width:86%;height:auto;color:var(--gold);filter:drop-shadow(0 0 5px);position:absolute;bottom:4%;left:7%}.nco-shop-preview figcaption{flex-direction:column;flex-shrink:0;gap:3px;padding-top:10px;font-size:.8125rem;display:flex}.nco-shop-preview figcaption strong{color:var(--gold);font-weight:650}.nco-shop-preview figcaption span{color:var(--progression-muted)}.nco-shop-preview figcaption .text-button{align-self:start;min-height:44px}.nco-shop-ledger{flex-direction:column;min-width:0;min-height:0;display:flex}.nco-shop-categories{border-bottom:1px solid var(--progression-brass);flex-shrink:0;gap:5px;margin-bottom:5px;padding-bottom:6px;display:flex}.nco-shop-categories button{min-width:44px;min-height:44px;color:var(--progression-muted);background:0 0;border:1px solid #0000;border-radius:6px;flex:1;padding:6px 8px;font-size:.875rem}.nco-shop-categories button:hover{background:var(--progression-wood-raised)}.nco-shop-categories button[aria-pressed=true]{border-color:var(--progression-brass);background:var(--progression-wood-raised);color:var(--coral-bright)}.nco-shop-items{overscroll-behavior:contain;flex:1;min-height:0;padding:0 8px 10px 0;scroll-padding:10px;overflow-y:auto}.nco-shop-item{border-bottom:1px solid var(--progression-brass);align-items:start;gap:12px;padding:14px 2px;display:flex}.nco-shop-item.is-previewing{background:var(--progression-wood-raised);border-radius:6px}.nco-item-image{flex:0 0 80px;justify-content:center;width:80px;height:108px;display:flex;overflow:hidden}.nco-item-portrait{object-fit:contain;object-position:top;width:80px;height:108px}.nco-item-art{width:80px;height:80px}.nco-item-copy{flex:1;min-width:0}.nco-item-copy h3{font:650 .9375rem/1.4 var(--body-font);flex-wrap:wrap;align-items:baseline;gap:4px 8px;display:flex}.nco-owned-label{color:var(--mint);font-size:.75rem;font-weight:500}.nco-item-copy p{color:var(--progression-muted);margin-block:4px;font-size:.875rem;line-height:1.5}.nco-item-price{color:var(--gold);font-size:.8125rem}.nco-item-actions{flex-wrap:wrap;gap:8px;margin-top:9px;display:flex}.nco-item-actions .button{min-height:44px;padding-inline:12px}.nco-item-actions .button-secondary{background:var(--progression-wood);border-color:var(--progression-brass)}.nco-item-actions .nco-coming-soon:disabled{border:1px solid var(--progression-brass);color:var(--progression-muted);opacity:1;background:0 0}.nco-shop-footer{border-top:1px solid var(--progression-brass);color:var(--progression-muted);flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:4px 12px;margin-top:14px;padding-top:10px;font-size:.8125rem;display:flex}.nco-shop-footer p{max-width:66ch}.nco-shop-footer .text-button{min-height:44px;color:var(--progression-text)}@media (width<=650px){.nco-shop{width:calc(100% - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);padding:12px}.nco-shop-heading h2{font-size:1.3125rem}.nco-shop-heading p{font-size:.8125rem}.nco-shop-currency{margin-block:10px}.nco-shop-workspace{overscroll-behavior:contain;flex-direction:column;gap:10px;display:flex;overflow-y:auto}.nco-shop-preview{flex-shrink:0}.nco-shop-stage{flex:none;height:clamp(160px,26dvh,225px);min-height:160px}.nco-shop-hina{width:52%;right:20%}.nco-shop-thread{width:48%;bottom:14%;left:auto;right:3%}.nco-shop-crest{top:10%;left:auto;right:12%}.nco-shop-preview figcaption{padding-top:6px}.nco-shop-ledger{flex-shrink:0}.nco-shop-items{padding-right:0;overflow:visible}.nco-item-image{flex-basis:64px;width:64px;height:96px}.nco-item-portrait{width:64px;height:96px}.nco-item-art{width:64px;height:64px}.nco-shop-footer{margin-top:9px;padding-top:8px}}@media (height<=520px) and (width>=651px){.nco-shop{padding:12px}.nco-shop-heading h2{font-size:1.3125rem}.nco-shop-currency{margin-block:7px;padding-block:5px}.nco-shop-preview figcaption span{display:none}.nco-shop-preview figcaption .text-button{min-height:44px;padding-block:4px}.nco-shop-stage{min-height:100px}.nco-shop-footer{margin-top:7px;padding-top:4px}}@media (prefers-reduced-motion:reduce){.first-play-guide *,.nco-shop *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.lobby-mode-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.lobby-mode-actions .lobby-expedition{min-width:0}.lobby-survival{gap:4px;min-width:0;display:grid}#lobby-endless-start{border-color:var(--lobby-brass);min-height:58px;color:var(--gold);background:oklch(23.5% .033 48);padding-inline:16px}#lobby-endless-start .token-art{flex:0 0 32px;width:32px;height:32px}.lobby-utility small{font:.6875rem/1.2 var(--body-font);color:var(--muted);display:block}.boon-family{color:var(--gold);font:600 .75rem/1.4 var(--body-font);display:block}.boon-synergy{color:var(--mint);font:500 .8125rem/1.45 var(--body-font);margin-top:10px;display:block}.boon-dialog .boon-choice>.boon-family{margin-bottom:8px}.build-expand small{color:var(--gold);font-size:.75rem;font-weight:500}.build-relic{border-bottom:1px solid var(--line);gap:9px;padding-block:9px;display:flex}.build-relic .token-art{flex:0 0 36px;width:36px;height:36px}.build-relic strong{font-size:.875rem;display:block}.build-relic p{color:var(--battle-muted);margin:3px 0 0;line-height:1.45}.build-relic .boon-synergy{margin-top:4px}.build-disclosure #build-codex-button{min-height:44px;margin:4px 0 0;font-size:.875rem}.help-game-actions{flex-wrap:wrap;gap:8px;margin-block:14px;display:flex}.boon-codex{background:oklch(23.5% .033 48);border-color:oklch(64% .08 76);width:min(920px,100% - 24px);max-width:920px;max-height:calc(100dvh - 24px);margin:auto;padding:24px}.boon-codex header{padding-right:24px}.boon-codex header h2{font:1.75rem/1.2 var(--story-font);margin:0 0 8px}.boon-codex header p{color:oklch(81% .025 74);font-size:.875rem}.codex-filters{background:inherit;z-index:1;flex-wrap:wrap;gap:5px;padding-block:14px;display:flex;position:sticky;top:-24px}.codex-filter{color:oklch(95% .025 74);min-height:44px;font:500 .875rem var(--body-font);background:oklch(30% .04 48);border:1px solid oklch(64% .08 76);border-radius:6px;padding:8px 12px}.codex-filter[aria-pressed=true]{color:var(--ink);background:var(--gold)}.codex-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;display:grid}.codex-item{border-bottom:1px solid oklch(64% .08 76/.45);align-items:start;gap:12px;min-width:0;padding-block:15px;display:flex}.codex-art{flex:0 0 64px;width:64px;height:64px}.codex-item h3{font:600 1rem/1.35 var(--body-font);margin:3px 0 5px}.codex-item p{font:.875rem/1.5 var(--body-font);color:oklch(81% .025 74)}.codex-item small{color:var(--mint);margin-top:6px;font-size:.8125rem;display:block}.codex-footnote{margin-top:18px}@media (width<=1000px){.lobby-command-rail{gap:8px;padding-inline:12px}.lobby-mode-actions{gap:8px}.lobby-mode-actions .lobby-expedition #practice-first,#lobby-endless-start{padding-inline:10px;font-size:.875rem}.lobby-survival .lobby-expedition-label{font-size:.75rem}}@media (width<=700px){.lobby-mode-actions{gap:6px;width:100%;padding-inline:5px}.lobby-mode-actions .lobby-expedition{padding:0}#lobby-endless-start{gap:5px;min-height:50px}#lobby-endless-start .token-art{flex-basis:24px;width:24px;height:24px}.lobby-utility-dock{gap:5px}.boon-dialog .boon-choice>.boon-family,.boon-dialog .boon-choice>.boon-synergy{grid-column:2}.boon-dialog .boon-choice>.boon-art{grid-row:1/6}.boon-dialog .boon-choice>.boon-family{margin-bottom:4px}.boon-dialog .boon-choice>.boon-synergy{margin-top:5px}.boon-codex{padding:16px}.codex-filters{top:-16px}.codex-items{grid-template-columns:minmax(0,1fr)}.codex-art{flex-basis:48px;width:48px;height:48px}}.lobby-room-status>.first-play-guide{box-shadow:none;background:0 0;border:0;border-radius:0;margin:6px 0 0}.lobby-room-status .guide-hina{display:none}.lobby-room-status .guide-content{padding:0}.lobby-room-status .guide-heading{min-height:32px}.lobby-room-status .guide-heading .icon-button{min-height:44px}.lobby-room-status .guide-actions .text-button{font-size:.8125rem}.lobby-room-status .first-play-guide p{font-size:.8125rem;line-height:1.45}.lobby-scene-frame:has(.first-play-guide:not([hidden])) .lobby-hina-dialogue{display:none}:root{--display:"Cinzel", Georgia, serif;--ui:"Fredoka Variable", ui-rounded, ui-sans-serif, system-ui, sans-serif;--brass:oklch(72% .1 75);--brass-dark:oklch(45% .07 60);--wood:oklch(24% .04 40);--wood-raised:oklch(30% .05 42)}.play-shell{font-family:var(--ui);font-weight:500}.play-shell .game-footer{display:none}.guild-brand .brand-logo{filter:drop-shadow(0 4px 10px oklch(10% .03 320/.6));width:auto;height:56px;display:block}.guild-brand .brand-text{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.play-shell .game-topbar{min-height:70px}.play-shell .guild-resource-hud{gap:8px}.play-shell .guild-resource-hud>span{background:oklch(16% .03 320/.8);border:2px solid oklch(72% .1 75/.45);border-radius:999px;align-items:center;gap:6px;height:40px;padding:0 14px 0 6px;display:inline-flex;box-shadow:inset 0 -3px oklch(8% .02 320/.6)}.play-shell .guild-resource-hud strong{color:var(--gold);font-variant-numeric:tabular-nums;font-size:1.15rem;font-weight:700}.play-shell .guild-resource-hud>span>span:last-child{color:var(--muted);font-size:.8rem}.play-shell #guild-level{color:var(--muted);padding:0 14px;font-size:.85rem}.play-shell .game-topbar .icon-button{background:oklch(16% .03 320/.8);border:2px solid oklch(72% .1 75/.35);border-radius:50%}.play-shell .mode-label{opacity:.7;font-size:.75rem}.play-shell h1,.play-shell h2,.play-shell .game-dialog h2{font-family:var(--display);letter-spacing:.01em;font-weight:700}.play-shell .button{font-family:var(--ui);border-radius:14px;font-weight:650}.play-shell .button-primary{font-family:var(--display);letter-spacing:.04em;font-weight:900}.battle-view #contract-title{font:900 1.9rem/1.1 var(--display);background:linear-gradient(#fff3cf,#f2c46b 60%,#c98a3a);color:#0000;filter:drop-shadow(0 2px oklch(12% .03 320));-webkit-background-clip:text;background-clip:text}.battle-view #return-guild{background:oklch(16% .03 320/.8);border:2px solid oklch(72% .1 75/.35);border-radius:50%;width:44px;height:44px;padding:0;font-size:0}.battle-view #return-guild:before{content:"←";color:var(--gold);font-size:1.2rem}.battle-view .wave-label{border:2px solid var(--brass);font:700 .95rem/1 var(--display);color:var(--gold);background:oklch(16% .03 320/.85);border-radius:999px;padding:6px 14px}.battle-view .heart-health{background:oklch(16% .03 320/.85);border:2px solid oklch(83% .09 163/.5);border-radius:14px;padding:6px 14px 8px}.battle-view .heart-stat strong{font-size:1.3rem;font-weight:700}.battle-view #heart-meter{appearance:none;background:oklch(12% .02 320);border:0;border-radius:6px;width:100%;height:10px;overflow:hidden}.battle-view #heart-meter::-webkit-meter-bar{background:oklch(12% .02 320);border:0;border-radius:6px}.battle-view #heart-meter::-webkit-meter-optimum-value,.battle-view #heart-meter::-webkit-meter-suboptimum-value,.battle-view #heart-meter::-webkit-meter-even-less-good-value{background:linear-gradient(90deg,#5fd4a8,#b4ffe5);border-radius:6px;transition:inline-size .25s}.battle-view .battle-world-layer{position:relative}.battle-view .courtyard-wrap{border:3px solid var(--brass)!important;border-radius:16px!important;box-shadow:0 0 0 3px oklch(12% .02 320),0 14px 34px oklch(8% .02 320/.6)!important}.battle-view .battle-hint{color:oklch(20% .03 320);background:#fff7ec;border-radius:16px 16px 16px 4px;align-items:center;gap:10px;max-width:640px;min-height:0;margin:10px 0 0;padding:8px 10px 8px 8px;font-size:.85rem;font-weight:600;line-height:1.3;display:flex;position:static;box-shadow:0 4px oklch(12% .02 320/.5),0 10px 22px oklch(8% .02 320/.45)}.battle-view .battle-hint p{flex:1;margin:0}.battle-view .battle-hint .hint-avatar{border:2px solid var(--coral);background:oklch(30% .06 340) url(/assets/characters/hina.webp) 50% 6%/260% no-repeat;border-radius:50%;flex:none;width:40px;height:40px}.battle-view .battle-hint .icon-button{color:oklch(30% .03 320);background:0 0;border:0;width:44px;min-width:44px;height:44px;min-height:44px}.battle-command{background:linear-gradient(180deg, var(--wood-raised), var(--wood))!important;border:2px solid var(--brass)!important;border-radius:18px!important;box-shadow:0 0 0 3px oklch(12% .02 320),inset 0 2px oklch(85% .08 78/.18),0 14px 30px oklch(8% .02 320/.5)!important}.battle-view .planning-launch{border-bottom:1px solid oklch(72% .1 75/.3);flex-direction:column-reverse;gap:8px;padding-bottom:12px;display:flex}.battle-view #planning-summary{color:var(--gold);text-align:center;font-size:.8rem}.battle-view #launch-wave{border:3px solid oklch(12% .02 320);border-radius:18px;width:100%;min-height:62px;font-size:1.25rem}.battle-view .forecast-summary{font-size:.85rem}.battle-view .keeper-slot{border:2px solid #0000;border-radius:14px;padding:6px 2px}.battle-view .keeper-slot.selected{border-color:var(--gold);background:radial-gradient(circle at 50% 30%, oklch(42% .08 70/.5), var(--wood-raised));box-shadow:0 0 16px oklch(85% .12 78/.35)}.battle-view .keeper-slot .token-art{border:2px solid var(--brass-dark);background-color:oklch(16% .03 320);border-radius:50%;width:52px!important;height:52px!important}.battle-view .keeper-slot.selected .token-art{border-color:var(--gold)}.battle-view .keeper-slot strong{font:700 .85rem/1.2 var(--display)}.battle-view .keeper-slot .keeper-cell{display:none!important}.battle-view .slot-number{font-weight:800;background:var(--gold)!important;color:oklch(15% .03 320)!important;border:2px solid oklch(12% .02 320)!important}.battle-view #battle-selected-keeper-copy,.battle-view #selected-focus-copy{text-align:center;color:var(--gold);margin:6px 0 0;font-size:.8rem}.battle-view .focus-choice{background:oklch(18% .03 320/.6);border:2px solid oklch(72% .1 75/.35)!important;border-radius:14px!important;min-height:72px!important}.battle-view .focus-choice .focus-symbol{width:38px!important;height:38px!important}.battle-view .focus-choice strong{font:700 .85rem/1.2 var(--display)!important}.battle-view .focus-choice.selected{box-shadow:0 0 18px oklch(76% .15 4/.45);border-color:var(--coral)!important;background:radial-gradient(circle at 50% 30%,oklch(45% .12 10/.55),oklch(22% .05 340))!important}.battle-view .tactics-tools{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.battle-view .tool-chip,.battle-view .tactics-disclosure>summary{background:oklch(16% .03 320/.75);border:1px solid oklch(72% .1 75/.4);border-radius:999px;align-items:center;min-height:44px;padding:0 14px;font-size:.85rem;text-decoration:none;display:inline-flex}.battle-view .playback-controls{flex-direction:column;gap:12px;display:flex}.battle-view #playback-label{font:700 .95rem/1.3 var(--display);color:var(--mint);text-align:center}.battle-view #playback-progress{appearance:none;border:0;border-radius:6px;width:100%;height:12px;overflow:hidden}.battle-view #playback-progress::-webkit-progress-bar{background:oklch(12% .02 320);border-radius:6px}.battle-view #playback-progress::-webkit-progress-value{background:linear-gradient(90deg,#ffd98b,#ff87ae);border-radius:6px}.battle-view .result-controls{text-align:center}.battle-view #result-title{font:900 2rem/1.1 var(--display);background:linear-gradient(#fff3cf,#f2c46b 60%,#c98a3a);color:#0000;-webkit-background-clip:text;background-clip:text}.battle-view #result-note{background:var(--coral);color:oklch(15% .03 320);border-radius:6px;padding:4px 14px;font-weight:700;display:inline-block;transform:rotate(-2deg)}.battle-view #result-feedback,.battle-view #result-next-goal{color:var(--muted);font-size:.85rem}.boon-dialog{border:3px solid var(--brass)!important;border-radius:22px!important;box-shadow:0 0 0 4px oklch(12% .02 320),0 30px 80px oklch(6% .02 320/.7)!important}.boon-dialog #boon-title{font:900 2rem/1.1 var(--display);background:linear-gradient(#fff3cf,#f2c46b 60%,#c98a3a);color:#0000;-webkit-background-clip:text;background-clip:text}.boon-choice{border-width:2px!important;border-radius:18px!important}.boon-choice strong{font-family:var(--display);font-weight:700}.boon-choice .boon-art{width:64px!important;height:64px!important}@media (width<=600px){.guild-brand .brand-logo{height:38px}.play-shell .game-topbar{min-height:52px}.play-shell .guild-resource-hud>span{height:34px;padding:0 10px 0 4px}.play-shell .guild-resource-hud>span>span:last-child,.play-shell #guild-level,.play-shell .mode-label{display:none}.battle-view .battle-hint{z-index:5;opacity:.96;margin:0;padding:4px 4px 4px 6px;font-size:.75rem;position:absolute;bottom:6px;left:6px;right:6px}.battle-view .battle-hint .hint-avatar{width:30px;height:30px}.battle-view .battle-heading{flex-wrap:nowrap!important;gap:8px!important;margin-bottom:8px!important}.battle-view .battle-stats{gap:6px!important}.battle-view .heart-health{padding:4px 8px 5px}.battle-view .heart-stat strong{font-size:1.05rem}.battle-view .wave-label{white-space:nowrap;padding:5px 9px;font-size:.8rem}.battle-view #contract-title{font-size:1.15rem}.battle-view #launch-wave{min-height:54px;font-size:1.1rem}.battle-view .keeper-slot .token-art{width:44px!important;height:44px!important}.battle-view .focus-choice{min-height:60px!important}}.play-shell .first-play-guide{border:2px solid var(--gold)!important;background:linear-gradient(oklch(32% .06 60),oklch(25% .05 45))!important;border-radius:14px!important;padding:10px 12px!important}.play-shell .first-play-guide h2{color:var(--gold);font:700 .95rem/1.3 var(--display)!important}.play-shell .first-play-guide p{font-size:.82rem!important;line-height:1.35!important}.battle-view #battle-roster label{font-size:0}.battle-view #battle-roster{align-items:center;gap:6px;display:flex}
