@font-face{font-family:Fraunces;font-style:normal;font-display:swap;font-weight:600;src:url(./fraunces-vietnamese-600-normal-BjlAJixd.woff2) format("woff2"),url(./fraunces-vietnamese-600-normal-DlAl5EAR.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Fraunces;font-style:normal;font-display:swap;font-weight:600;src:url(./fraunces-latin-ext-600-normal-BtzmzP0X.woff2) format("woff2"),url(./fraunces-latin-ext-600-normal-B0Dy4lqi.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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:Fraunces;font-style:normal;font-display:swap;font-weight:600;src:url(./fraunces-latin-600-normal-BFCDtZfi.woff2) format("woff2"),url(./fraunces-latin-600-normal-DL5QCzvS.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Fraunces;font-style:normal;font-display:swap;font-weight:800;src:url(./fraunces-vietnamese-800-normal-B5-KC0PG.woff2) format("woff2"),url(./fraunces-vietnamese-800-normal-Ciifa4CI.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Fraunces;font-style:normal;font-display:swap;font-weight:800;src:url(./fraunces-latin-ext-800-normal-DYQACqvw.woff2) format("woff2"),url(./fraunces-latin-ext-800-normal-pDzgxm9I.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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:Fraunces;font-style:normal;font-display:swap;font-weight:800;src:url(./fraunces-latin-800-normal-5RM8DebB.woff2) format("woff2"),url(./fraunces-latin-800-normal-B3oGScaA.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:500;src:url(./nunito-cyrillic-ext-500-normal-BooqzoBf.woff2) format("woff2"),url(./nunito-cyrillic-ext-500-normal-ryWF3qTI.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:500;src:url(./nunito-cyrillic-500-normal-C7KGZCzc.woff2) format("woff2"),url(./nunito-cyrillic-500-normal-CsSUaxYY.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:500;src:url(./nunito-vietnamese-500-normal-BpqpEYcO.woff2) format("woff2"),url(./nunito-vietnamese-500-normal-9ShSsgIA.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:500;src:url(./nunito-latin-ext-500-normal-DpF2BH_v.woff2) format("woff2"),url(./nunito-latin-ext-500-normal-CVNQN0KE.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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:Nunito;font-style:normal;font-display:swap;font-weight:500;src:url(./nunito-latin-500-normal-EugFkASW.woff2) format("woff2"),url(./nunito-latin-500-normal-B5klmw3Q.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(./nunito-cyrillic-ext-700-normal-BuR0mlCG.woff2) format("woff2"),url(./nunito-cyrillic-ext-700-normal-DfoqN4Gs.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(./nunito-cyrillic-700-normal-DP36NgGt.woff2) format("woff2"),url(./nunito-cyrillic-700-normal-DfHRUDv-.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(./nunito-vietnamese-700-normal-Ch8EUCfz.woff2) format("woff2"),url(./nunito-vietnamese-700-normal-C9SQsXvj.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(./nunito-latin-ext-700-normal-BWeMsAzO.woff2) format("woff2"),url(./nunito-latin-ext-700-normal-D4woHhbd.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(./nunito-latin-700-normal-Dort48En.woff2) format("woff2"),url(./nunito-latin-700-normal-OcDqTBcA.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(./nunito-cyrillic-ext-800-normal-B-cvGohL.woff2) format("woff2"),url(./nunito-cyrillic-ext-800-normal-pjRatrRO.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(./nunito-cyrillic-800-normal-D3igD7Kl.woff2) format("woff2"),url(./nunito-cyrillic-800-normal-DymMgApb.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(./nunito-vietnamese-800-normal-D_CZYdm9.woff2) format("woff2"),url(./nunito-vietnamese-800-normal-Dz0hZPb5.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(./nunito-latin-ext-800-normal-CtU8tJOV.woff2) format("woff2"),url(./nunito-latin-ext-800-normal-CDcxIxx8.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(./nunito-latin-800-normal-Dz8SOQK_.woff2) format("woff2"),url(./nunito-latin-800-normal-D-J0wlBY.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--ink: #3f2e3b;--ink-soft: #725664;--paper: #fff8e9;--paper2: #f0e3c8;--pink: #f2a7b8;--pink-deep: #e07a95;--rose: #9c4563;--sage: #a9c49a;--green: #5e9460;--butter: #f7dd8a;--gold: #e9b949;--sky: #a9d3ea;--blue: #6f9fd8;--lilac: #c4b2e3;--red: #d9645b;--shadow: 0 3px 7px rgba(40, 20, 34, .14), 0 18px 48px rgba(40, 20, 34, .22);--radius: 14px;--fs: 1;--border: 1.5px;--focus: 0 0 0 3px var(--paper), 0 0 0 6px #744b80;font-size:calc(17px * var(--fs))}:root[data-text=small]{--fs: .9}:root[data-text=medium]{--fs: 1}:root[data-text=large]{--fs: 1.18}:root[data-text=xl]{--fs: 1.36}:root[data-contrast=high]{--ink-soft: #2a1d20;--paper: #ffffff;--paper2: #f4ecdc;--border: 3.5px}:root[data-motion=reduced] *,:root[data-motion=reduced] *:before,:root[data-motion=reduced] *:after{animation-duration:.001ms!important;transition-duration:.001ms!important}*{box-sizing:border-box}html,body{margin:0;height:100%;background:#2e2433;color:var(--ink);font-family:Nunito,Trebuchet MS,system-ui,sans-serif;font-weight:500;overscroll-behavior:none;-webkit-tap-highlight-color:transparent}body{overflow:hidden}button{font:inherit;color:inherit}h1,h2,h3,.serif{font-family:Fraunces,Georgia,serif;font-weight:800;letter-spacing:.01em}#app{position:fixed;inset:0}#stage{position:absolute;inset:0;overflow:hidden}#stage canvas{display:block;touch-action:none}.layer{position:absolute;inset:0;pointer-events:none;z-index:10}.layer>*{pointer-events:auto}.hidden{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.chip{display:inline-flex;align-items:center;gap:.35em;border:2px solid var(--ink);border-radius:999px;padding:.12em .6em;font-size:.8em;font-weight:800;background:#fff}.chip.recorded{background:#d6ecf7}.chip.recalled{background:#efe2f7}.chip.planned{background:#fdf0c4}.chip.adapted{background:#e4f1dc}.choices{display:flex;flex-direction:column;gap:8px;margin-top:8px}.choices .btn{justify-content:flex-start;text-align:left}.choices .btn .num{flex:none;width:1.6em;height:1.6em;display:grid;place-items:center;border-radius:50%;background:var(--butter);border:2px solid var(--ink);font-size:.8em}@keyframes pop{0%{transform:translate(-50%) translateY(10px) scale(.98);opacity:0}to{transform:translate(-50%);opacity:1}}@keyframes bob{0%,to{transform:translateY(0)}50%{transform:translateY(3px)}}@keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes rise{0%{transform:translateY(16px) scale(.96);opacity:0}to{transform:none;opacity:1}}@keyframes shimmer{0%{filter:drop-shadow(0 0 0 rgba(247,221,138,0))}50%{filter:drop-shadow(0 0 14px rgba(247,221,138,.9))}to{filter:drop-shadow(0 0 0 rgba(247,221,138,0))}}.modal h2{margin:0 0 .4em;font-size:1.5em}.row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.row.end{justify-content:flex-end}.modal p{line-height:1.5}.memcard{width:min(560px,100%);padding:20px;text-align:center}.memcard .art{width:min(360px,100%);margin:0 auto 10px;display:block;animation:shimmer 2.4s ease-in-out 1}.memcard h2{margin:.2em 0}.memcard .meta{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;font-size:.9em;margin-bottom:.6em}.memcard .quote{text-align:left;margin:.6em auto;max-width:440px;display:flex;flex-direction:column;gap:6px}.bubble{padding:.45em .8em;border-radius:16px;border:2px solid var(--ink);background:#fff;max-width:85%;line-height:1.35}.bubble.sara{align-self:flex-start;background:#fde3ea;border-bottom-left-radius:4px}.bubble.nas{align-self:flex-end;background:#e2efe0;border-bottom-right-radius:4px}.bubble b{display:block;font-size:.72em;opacity:.65;text-transform:uppercase;letter-spacing:.05em}.memcard .desc{line-height:1.5}.memcard .src{font-size:.78em;opacity:.7}.reward{width:min(440px,100%);text-align:center;padding:22px}.reward .icon{width:120px;height:120px;margin:0 auto;display:grid;place-items:center;animation:shimmer 2s}.reward .icon img{max-width:100%;max-height:100%}.reward .kind{text-transform:uppercase;letter-spacing:.1em;font-size:.75em;font-weight:800;opacity:.7}.titlecard{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(circle at 50% 45%,#fbf4e6f5,#f3e6ccfa);z-index:40;animation:fadein .4s;text-align:center;padding:20px;cursor:pointer}.titlecard h1{font-size:clamp(1.8em,5vw,3em);margin:.1em 0}.titlecard .sub{font-size:1.1em;opacity:.8}.titlecard .orn{font-size:1.6em;letter-spacing:.5em;opacity:.6}.cutscene{position:absolute;inset:0;display:grid;place-items:center;background:#2e2433d9;z-index:38;padding:14px;animation:fadein .3s}.cutscene .panel{width:min(960px,100%);padding:14px;cursor:pointer}.cutscene .pic{width:100%;aspect-ratio:16 / 9;border-radius:10px;border:var(--border) solid var(--ink);overflow:hidden;background:var(--paper2)}.cutscene .pic img{width:100%;height:100%;object-fit:cover;display:block}.cutscene .cap{margin-top:10px;font-size:1.12em;line-height:1.45;min-height:2.9em}.cutscene .cap b{font-family:Fraunces,serif}.toasts{position:absolute;top:74px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;gap:6px;align-items:center;z-index:45;pointer-events:none}.toast{padding:.45em .9em;font-size:.9em;animation:rise .25s}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.tile{border:2px solid var(--ink);border-radius:12px;background:#fff;padding:8px;text-align:center;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:.85em;min-height:46px}.tile img{width:100%;max-height:96px;object-fit:contain}.tile.locked{background:repeating-linear-gradient(45deg,#f3ecdf,#f3ecdf 8px,#ece2d0 8px 16px);color:var(--ink-soft);cursor:default}.tile.on{background:#fff6d8;box-shadow:inset 0 0 0 3px var(--gold)}.list{display:flex;flex-direction:column;gap:8px}.item{display:flex;gap:10px;align-items:center;border:2px solid var(--ink);border-radius:12px;background:#fff;padding:8px 10px}.item img{width:48px;height:48px;object-fit:contain;flex:none}.item .grow{flex:1;min-width:0}.item .desc{font-size:.85em;opacity:.8}.field{display:flex;flex-direction:column;gap:4px;margin:10px 0}.field label{font-weight:800}.seg{display:flex;gap:6px;flex-wrap:wrap}input[type=range]{width:220px;accent-color:var(--pink-deep);height:30px}input[type=text]{font:inherit;padding:.5em .7em;border:2px solid var(--ink);border-radius:10px;background:#fff;min-height:44px}.title-screen{position:absolute;inset:0;z-index:15;display:grid;place-items:center;overflow:auto;padding:16px;background:radial-gradient(circle at 50% 30%,#fff8ea,#f3e6cc 55%,#e2cfa9)}.title-wrap{width:min(980px,100%);display:grid;grid-template-columns:1.1fr .9fr;gap:24px;align-items:center}.title-art{width:100%}.title-art img{width:100%;display:block;filter:drop-shadow(0 8px 14px rgba(59,42,47,.25))}.title-text h1{font-size:clamp(2.2em,6vw,3.6em);margin:0;line-height:.95}.title-text h1 span{display:block;font-size:.42em;color:var(--rose);margin-top:.25em;text-wrap:balance}.title-text .tag{margin:.8em 0 1.2em;line-height:1.5;opacity:.85;text-wrap:pretty}.title-menu{display:flex;flex-direction:column;gap:10px;max-width:360px}.title-menu .btn{justify-content:flex-start;font-size:1.05em}.slotcard{display:flex;justify-content:space-between;gap:10px;align-items:center;width:100%}.slotcard small{opacity:.75;display:block;font-weight:700}.banner{padding:.6em .9em;border:2px solid var(--ink);border-radius:12px;background:#fff3c9;margin-bottom:10px;line-height:1.4}@media(max-width:760px){.title-wrap{grid-template-columns:1fr;gap:6px}.title-art{max-width:380px;margin:0 auto}.title-menu{max-width:none}}.battle{position:absolute;inset:0;z-index:25;display:flex;flex-direction:column;background:#2e2433;animation:fadein .25s}.b-top{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--paper);border-bottom:var(--border) solid var(--ink);flex-wrap:wrap;font-size:.9em}.b-top .chip img{width:20px;height:20px}.pips{display:inline-flex;gap:2px;color:var(--pink-deep);font-size:1.05em}.pip.on{color:var(--rose)}.chip.warn{background:#fde7c7}.chip.good{background:#dff0d4}.b-stage{position:relative;flex:1;min-height:0;display:flex;justify-content:space-between;align-items:flex-end;padding:10px 3vw 8px;overflow:hidden}.b-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}.b-heroes,.b-enemies{position:relative;z-index:1;display:flex;gap:2vw;align-items:flex-end}.b-enemies{gap:1.2vw}.b-hero,.b-enemy,.b-enemy-plans{display:flex;flex-direction:column;align-items:center;gap:4px}.b-enemy-plans>*{flex-shrink:0}.b-enemy-plans>.intent{width:100%;min-width:0;max-width:100%}.b-enemy-plans:focus-visible{outline-offset:-2px}.b-figure{position:relative}.b-hero-img{height:calc(clamp(90px,21vh,190px) * var(--actor-scale, 1));display:block;filter:drop-shadow(0 4px 0 rgba(0,0,0,.15))}.b-hero-img.dazed{opacity:.45;transform:rotate(-8deg)}.b-hero.targeted .b-figure:after{content:"";position:absolute;left:10%;right:10%;bottom:-4px;height:10px;border-radius:50%;border:3px dashed var(--red)}.b-target-badge{position:absolute;top:0;left:50%;transform:translate(-50%);background:#fff;border:2px solid var(--ink);border-radius:999px;padding:0 .5em;font-size:.75em;font-weight:900;white-space:nowrap}.b-shieldfx,.b-bracefx{position:absolute;width:48%;bottom:8%;opacity:.9;pointer-events:none}.b-shieldfx{left:26%}.b-bracefx{right:-14%}.b-card{padding:6px 10px;min-width:150px;font-size:.85em}.b-card.small{min-width:130px}.b-name{font-weight:900;display:flex;gap:6px;align-items:center;flex-wrap:wrap}.bar{position:relative;height:18px;border:2px solid var(--ink);border-radius:999px;background:#efe4d2;overflow:hidden;margin:3px 0}.bar .fill{position:absolute;inset:0 auto 0 0;background:linear-gradient(#9fd18c,#6fb35d);transition:width .35s}.bar .fill.low{background:linear-gradient(#f6b26b,#e58a3c)}.bar.enemy .fill{background:linear-gradient(#f4a6b6,#df7d95)}.bar span{position:relative;z-index:1;display:block;text-align:center;font-size:.78em;font-weight:900;line-height:14px}.b-sub{display:flex;gap:6px;align-items:center;font-size:.85em}.b-sub.wrap{flex-wrap:wrap;max-width:220px}.dot{color:var(--blue)}.b-enemy-btn{background:none;border:0;padding:0;cursor:pointer;position:relative;border-radius:14px}.b-enemy-btn:focus-visible{box-shadow:var(--focus);outline:none}.b-enemy-img{height:clamp(70px,15vh,130px);display:block}.b-enemy-img.boss{height:clamp(120px,26vh,240px)}.b-enemy-btn .e-letter{position:absolute;bottom:6%;left:4%;box-shadow:0 2px 0 var(--ink);width:1.7em;height:1.7em;border-radius:50%;background:var(--butter);border:2px solid var(--ink);display:grid;place-items:center;font-weight:900;font-size:.85em}.intent{background:#fff;border:2.5px solid var(--ink);border-radius:12px;padding:5px 8px;max-width:230px;font-size:.78em;box-shadow:0 3px #3b2a2f4d}.intent.peek{opacity:.8;border-style:dotted}.intent .i-head{display:flex;align-items:center;gap:5px}.intent .dmg{margin-left:auto;background:#fde3ea;border:1.5px solid var(--ink);border-radius:8px;padding:0 5px;font-weight:900}.intent .i-label{font-weight:800;margin-top:2px}.intent .i-tgt{color:var(--rose)}.intent .i-tip{opacity:.8;margin-top:2px;line-height:1.3}.intent.k-big{border:3.5px dashed var(--red);background:#fff4f1}.intent.k-swarm{box-shadow:3px 3px #fff,4px 4px 0 var(--ink),7px 7px #fff,8px 8px 0 var(--ink)}.intent.k-seal{border-style:double;border-width:5px}.intent.k-charge{border:3px dotted var(--gold);background:#fffbe8}.i-clue{background:#fff7d6;border:2px solid var(--ink);border-radius:10px;padding:4px 8px;font-size:.8em;max-width:230px;font-weight:800}.i-clue.big{max-width:none;font-size:.95em;margin:6px 0}.b-bottom{display:grid;grid-template-columns:1fr 260px;gap:10px;padding:10px;background:#3a2f40}.b-panel{padding:12px;min-height:150px;max-height:42vh;overflow:auto}.b-head{display:flex;align-items:center;gap:8px;margin-bottom:8px;justify-content:space-between}.b-head img.mini{width:32px;height:52px;object-fit:contain}.b-acts{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px}.b-acts .btn,.b-panel .btn.act.team{justify-content:flex-start;text-align:left}.b-panel .btn.act.team{width:100%;margin-top:8px}.a-in{display:flex;gap:8px;align-items:center}.a-in img{width:34px;height:34px;flex:none}.a-in small{display:block;font-weight:600;opacity:.8;font-size:.78em;line-height:1.25}.btn.act>span:not(.a-in)>small{display:block;font-weight:600;opacity:.8;font-size:.78em;line-height:1.25}.p-line{display:flex;gap:8px;align-items:center;padding:4px 0;flex-wrap:wrap}.p-out{background:#f6efe0;border:2px solid var(--ink);border-radius:10px;padding:6px 10px;margin:6px 0;line-height:1.5;font-size:.92em}.p-risk{color:#9a3a2a;font-weight:800;font-size:.9em}.p-note{font-size:.85em;opacity:.85}.b-log{background:var(--paper);border:2px solid var(--ink);border-radius:12px;padding:8px;font-size:.8em;line-height:1.4;overflow:hidden;max-height:42vh}.b-log div{border-bottom:1px dashed rgba(59,42,47,.2);padding:2px 0}.b-banner{position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);z-index:4;font-family:Fraunces,serif;font-weight:800;font-size:clamp(1.6em,5vw,3em);color:#fff;-webkit-text-stroke:2px var(--ink);text-shadow:0 4px 0 var(--ink);animation:rise .3s;pointer-events:none;text-align:center}.b-banner.phase{font-size:clamp(1.1em,3vw,1.8em);background:var(--paper);color:var(--ink);-webkit-text-stroke:0;text-shadow:none;border:3px solid var(--ink);border-radius:14px;padding:.4em .9em}.float{position:absolute;z-index:5;font-weight:900;font-size:1.3em;pointer-events:none;transform:translate(-50%);animation:floatup 1.1s ease-out forwards;-webkit-text-stroke:1px #fff}.float.dmg{color:#c2413a}.float.heal{color:#3f8f3a}.float.shield{color:#3d6fb5}@keyframes floatup{0%{transform:translate(-50%);opacity:1}to{transform:translate(-50%,-48px);opacity:0}}.lunge{animation:lunge .35s}.lunge-left{animation:lungel .35s}.hurt{animation:hurt .4s}.poof{animation:poof .5s forwards}@keyframes lunge{50%{transform:translate(26px) scale(1.04)}}@keyframes lungel{50%{transform:translate(-26px) scale(1.04)}}@keyframes hurt{20%{transform:translate(-6px);filter:brightness(1.6) sepia(1) hue-rotate(-40deg)}60%{transform:translate(6px)}}@keyframes poof{to{transform:scale(.2) rotate(20deg);opacity:0}}.aimboard{max-width:380px;margin:4px auto}.aimstatus{text-align:center;font-weight:800;margin:4px 0 8px}.aimstatus.good{color:#3f7f3a}.aimstatus.bad{color:#9a3a2a}@media(max-width:760px),(max-height:560px){.b-bottom{grid-template-columns:1fr}.b-log,.intent .i-tip{display:none}.intent{max-width:150px}.b-card{min-width:110px;padding:4px 6px}.b-stage{padding:6px 8px}.b-heroes{flex-direction:row;gap:4px}.b-acts{grid-template-columns:repeat(2,1fr)}.a-in small{display:none}}@media(max-width:520px){.b-stage{flex-direction:column;align-items:stretch;justify-content:flex-end;gap:6px}.b-enemies{justify-content:center;order:-1}.b-heroes{justify-content:center}.b-hero-img{height:calc(80px * var(--actor-scale, 1))}.b-enemy-img{height:64px}.b-enemy-img.boss{height:110px}}.pz-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.pz-head h2{margin:6px 0 0;font-size:1.4em}.pz-art{width:90px}.pz-intro{margin:6px 0 10px;line-height:1.45}.pz-board{margin:8px 0}.pz-status{font-weight:800;text-align:center;margin:6px 0}.pz-hint{background:#fff7d6;border:2px solid var(--ink);border-radius:12px;padding:8px 12px;margin:6px 0;line-height:1.4}.pz-label{font-weight:800;margin:8px 0 6px;font-size:.92em}.pz-boardtext{background:#f6efe0;border:2px solid var(--ink);border-radius:12px;padding:8px 12px;line-height:1.5;white-space:pre-wrap}.pz-reply{margin-top:8px;padding:8px 12px;border:2px solid var(--ink);border-radius:12px;background:#fff}.pz-match .item{align-items:flex-start}.pz-cell.hl,.pz-slot.hl,.pz-node.hl{outline:3px dashed var(--rose);outline-offset:3px}img.tiny{width:26px;height:26px;object-fit:contain;vertical-align:middle;margin-right:4px}.pz-seq{display:flex;flex-direction:column;gap:6px}.pz-slot{display:flex;gap:10px;align-items:center;border:2px dashed var(--ink-soft);border-radius:12px;padding:6px 10px;min-height:46px;background:#fffaf0}.pz-slot.filled{border-style:solid;background:#fff}.pz-slot.right{background:#e4f1dc}.pz-slot .n{width:1.7em;height:1.7em;border-radius:50%;display:grid;place-items:center;background:var(--butter);border:2px solid var(--ink);font-weight:900;flex:none}.pz-slot>span:nth-child(2){flex:1}.pz-route{position:relative;width:100%;aspect-ratio:16 / 9;max-height:52vh;border:2.5px solid var(--ink);border-radius:14px;background:radial-gradient(circle at 30% 30%,#fffaf0,#f1e5cc);overflow:hidden}.pz-lines{position:absolute;inset:0;width:100%;height:100%}.pz-node{position:absolute;transform:translate(-50%,-50%);min-height:40px;padding:.25em .6em;font-size:.82em;border-radius:999px;z-index:1}.pz-node .tag{margin-right:4px}.pz-node.here{background:var(--pink);box-shadow:0 3px 0 var(--ink),0 0 0 4px #fff}.pz-node.visited:not(.here){background:#e4f1dc}.pz-node.avoid{background:#ddd;text-decoration:line-through}.pz-node:disabled:not(.here){opacity:.75}.pz-node:disabled.here{opacity:1}.pz-legend{font-size:.82em;margin-top:6px;opacity:.85;line-height:1.4}.pz-grid{display:grid;gap:4px;justify-content:center;margin:6px auto}.pz-cell{aspect-ratio:1;border:2px solid var(--ink);border-radius:8px;background:#fff;display:grid;place-items:center;padding:0;min-width:40px;min-height:40px;font-weight:900;box-shadow:none}.pz-cell.empty{background:transparent;border-style:dashed;border-color:#3b2a2f33}.pz-cell.rock{background:repeating-linear-gradient(45deg,#d7cbb7,#d7cbb7 5px,#c9bba3 5px 10px)}.pz-cell.pipe{background:#f7f0e1;cursor:pointer}.pz-cell.pipe.on{background:#fff0f3}.pz-cell.pipe.fixed{background:#ece3d2}.pz-cell.node{font-size:1.3em;line-height:1;text-align:center}.pz-cell.node small{font-size:.45em;display:block;font-weight:800;line-height:1.05;overflow-wrap:anywhere;padding:0 2px}.pz-grid.fit{width:100%}.pz-grid.fit .pz-cell{min-width:0;min-height:0}@media(max-width:520px){.pz-grid.fit{gap:3px}.pz-cell.node small{font-size:7px}}.pz-cell.node.src{background:var(--butter)}.pz-cell.node.tgt.on{background:#ffd6e0}.pz-grid.slots{gap:8px}.pz-slotbtn{min-height:70px;border-style:dashed;background:#fffaf0;flex-direction:column}.pz-slotbtn.filled{border-style:solid;background:#fff}.slotin{display:flex;flex-direction:column;align-items:center;gap:2px}.slotin small{opacity:.7;font-size:.75em}.pz-slots-wrap{display:grid;grid-template-columns:1.4fr 1fr;gap:14px}.pz-rules .item{padding:6px 8px;font-size:.9em}.pz-rules .item.on{background:#e4f1dc}.packcell{border-radius:4px;font-size:.7em}.mini-shape{display:inline-grid;gap:1px}.mini-shape i{border:1px solid var(--ink);border-radius:2px}.pz-cell.sea{background:#e3f1f8}.pz-cell.sea.ship{background:#fbe0c7;font-size:1.2em}.pz-cell.sea.water{background:#b9dcef;color:#4a7aa3}.pz-cell.sea.given{outline:3px solid var(--gold)}.pz-cell.count{border-style:dashed;background:#fff8e6}.pz-cell.count.ok{background:#dff0d4}.pz-cell.count.over{background:#fbd5cf}.pz-beat{display:flex;flex-direction:column;gap:8px}.beat-row{display:grid;grid-template-columns:130px 1fr auto;gap:8px;align-items:center;padding:6px;border:2px solid var(--ink);border-radius:12px;background:#fff}.beat-row.ok{background:#e4f1dc}.beat-cells{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:3px}.bc{height:30px;border:1.5px solid rgba(59,42,47,.35);border-radius:6px;display:grid;place-items:center;color:var(--rose);font-size:1.1em}.bc.guide{border:2px dashed var(--ink)}.bc.on{background:#fde3ea}.pz-ferry{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.dock{border:2.5px solid var(--ink);border-radius:14px;padding:8px;background:#fff;display:flex;flex-direction:column;gap:6px;min-height:150px}.dock.here{background:#eaf4fb}.dock small{opacity:.75}.boat{border:2px dashed var(--ink);border-radius:12px;padding:6px;background:#fdf6e6;font-weight:800}@media(max-width:760px){.pz-slots-wrap,.beat-row{grid-template-columns:1fr}.pz-node{font-size:.72em;padding:.2em .45em}.pz-node .lbl{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;vertical-align:middle}.pz-route{aspect-ratio:4 / 5;max-height:58vh}}.ending{position:absolute;inset:0;z-index:35;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:16px;--glow: .2;background:radial-gradient(circle at 50% 40%,rgba(255,226,160,calc(var(--glow) * .9)),#2e2433f5 70%);animation:fadein .5s;transition:background 1s}.ending.lit{--glow: 1}.rub-stage{position:relative;width:min(720px,100%);min-height:min(46vh,340px);display:flex;flex-direction:column;justify-content:flex-end;gap:12px;padding:0 8px}.rub-bubbles{display:flex;gap:14px;align-items:flex-end;justify-content:space-between}.rub-figs{display:flex;justify-content:center;gap:4%;align-items:flex-end}.rub-figs .fig{height:calc(min(26vh,200px) * var(--actor-scale, 1));filter:drop-shadow(0 6px 4px rgba(0,0,0,.3))}.rub-figs .fig.p{height:min(10vh,80px)}.k-hug .rub-figs{gap:0}.k-hug .rub-figs .fig.b{transform:translate(14%) rotate(4deg);transition:transform .6s}.k-hug .rub-figs .fig.m{transform:translate(-14%) rotate(-4deg);transition:transform .6s}.k-reeek .rub-figs .fig{animation:hop .5s 2}@keyframes hop{50%{transform:translateY(-18px)}}.rub-bubble{flex:0 1 auto;text-align:center;line-height:1.15;padding:.4em .9em;border:3px solid var(--ink);border-radius:18px;background:#fff;font-weight:900;font-size:clamp(1rem,calc(1.1rem * var(--s, 1)),min(2rem,5.4vw));transition:font-size .6s,box-shadow 1s;max-width:48%}.rub-bubble.m{order:2;margin-left:auto;background:#e2efe0}.rub-bubble.b{order:1;background:#fde3ea}.lit .rub-bubble{box-shadow:0 0 40px 12px #ffdc8ce6}.rub-lamps{position:absolute;inset:0;pointer-events:none}.rub-lamps .lamp{position:absolute;top:16%;width:26vmin;height:26vmin;border-radius:50%;background:radial-gradient(circle,#ffe8aaf2,#ffe8aa00 70%);opacity:0;transition:opacity 1.4s}.rub-lamps .lamp.l{left:12%}.rub-lamps .lamp.r{right:12%}.lit .rub-lamps .lamp,.k-more .rub-lamps .lamp{opacity:var(--glow)}.rub-pudding{align-self:center;max-width:min(92%,460px);text-align:center;background:#fff;border:2.5px solid var(--ink);border-radius:6px;padding:.3em .8em;font-weight:800;font-size:.9em;box-shadow:3px 3px 0 var(--ink)}.rub-panel{padding:12px 16px;width:min(640px,100%);text-align:center}.rub-say{font-size:1.15em;margin:0 0 10px}.letter{width:min(640px,100%);padding:28px 32px;background:#fffaf0;line-height:1.7;font-size:1.05em;max-height:calc(100dvh - 28px);overflow:auto;background-image:repeating-linear-gradient(transparent,transparent 1.65em,rgba(140,175,210,.25) 1.65em,rgba(140,175,210,.25) calc(1.65em + 1px))}.letter .greet,.letter .sign{font-family:Fraunces,serif;font-size:1.2em}.letter .sign{text-align:right}.letter audio{width:100%;margin:8px 0}.credits{overflow:hidden;justify-content:flex-start;background:radial-gradient(circle at 50% 35%,#4a3550,#2a2030 75%)}.credits-roll h1,.credits-roll h2{text-shadow:0 2px 10px rgba(0,0,0,.45)}.credits-roll{text-align:center;color:#fbf4e6;animation:roll 26s linear forwards;padding-top:100vh;max-width:640px}:root[data-motion=reduced] .credits-roll{animation:none;padding-top:2vh}:root[data-motion=reduced] .credits{overflow-y:auto;padding-bottom:90px}:root[data-motion=reduced] .credits-roll{flex-shrink:0}:root[data-motion=reduced] .credits-skip{position:fixed;z-index:2;right:20px;bottom:20px;padding:6px;border-radius:10px;background:#33253b}.credits-roll .credit{margin:1.4em 0;line-height:1.5}.credits-roll small{text-transform:uppercase;letter-spacing:.12em;opacity:.7}.credits-roll h1{font-size:2.6em;margin:0}@keyframes roll{to{transform:translateY(-100%)}}.credits-skip{position:absolute;right:16px;bottom:16px}#overlay{z-index:20}.b-hero-img{height:calc(clamp(110px,27vh,240px) * var(--actor-scale, 1))}.b-enemy-img{height:clamp(96px,21vh,190px)}.b-enemy-img.boss{height:clamp(150px,33vh,300px)}.b-enemy-btn .e-letter{width:28px;height:28px;font-size:15px;line-height:1}@media(max-width:560px){.b-stage{overflow-y:auto;justify-content:flex-start;padding-top:8px}.b-enemies{flex-direction:column;align-items:stretch;gap:6px}.b-enemy{display:grid;grid-template-columns:auto 1fr;gap:4px 8px;align-items:start}.b-enemy-btn{grid-row:1 / span 4;grid-column:1}.b-enemy>*:not(.b-enemy-btn){grid-column:2;max-width:none}.b-enemy-plans{align-items:stretch}.b-enemy-img{height:13vh}.b-enemy-img.boss{height:19vh}.b-hero-img{height:calc(14vh * var(--actor-scale, 1))}.b-card{min-width:0}.b-heroes{margin-top:auto}.b-top{gap:4px;padding:6px 8px;font-size:.8em}.b-panel{max-height:46vh;padding:8px}.b-acts .btn{min-height:52px}}.slotcard>span{text-align:left;display:block}.modal>.row.end:last-child{position:sticky;bottom:-22px;z-index:2;background:var(--paper);margin:10px -22px -22px;padding:10px 22px 14px;border-top:1.5px dashed rgba(59,42,47,.18);border-radius:0 0 var(--radius) var(--radius)}.pz-swatch{display:inline-block;width:1.05em;height:1.05em;border-radius:50%;border:2px solid var(--ink);vertical-align:-.2em;margin-right:.4em}.scrim>.panel:not(.menu){max-height:calc(100dvh - 28px);overflow:auto}.pz-node:not(:disabled){z-index:2}.pz-route-scroll{overflow-x:auto;overscroll-behavior-x:contain}@media(max-width:760px){.pz-route{aspect-ratio:16 / 9;min-width:640px;max-height:none}.pz-node .lbl{max-width:110px}.pz-route-scroll:before{content:"↔ Swipe sideways to see the whole map";display:block;position:sticky;left:0;width:max-content;font-size:.78em;font-weight:800;opacity:.7;margin-bottom:4px}}.pz-node:disabled:not(.here){opacity:1;color:#3b2a2f9e}.pz-node:disabled:not(.here) img{opacity:.7}@media(min-width:561px){.b-stage{container-type:size;align-items:safe flex-end}.b-enemies{height:100%;max-height:100%;align-items:flex-end}.b-enemy{min-height:0;max-height:100%}.b-enemy-plans{min-height:0;overflow-y:auto;overscroll-behavior:contain}.b-enemy-btn,.b-enemy>.b-card{flex-shrink:0}@supports (height: 1cqh){.b-enemy-img{height:clamp(44px,min(21vh,calc(100cqh - 18rem)),190px)}.b-enemy-img.boss{height:clamp(60px,min(33vh,calc(100cqh - 18rem)),300px)}.b-hero-img{height:calc(clamp(56px,min(27vh,calc(100cqh - 100px)),240px) * var(--actor-scale, 1))}}}@media(max-height:560px){.pz-route{max-height:none;min-height:320px}}.item .kcol{min-width:150px}@media(max-width:520px){.item .kcol{min-width:0;flex:0 1 auto}.item[data-bind] .grow{min-width:0;overflow-wrap:anywhere}}:root{--cloth: #35283b;--brass: #aa8551;--paper-bright: #fffcf4;--line: #cfbaa0;--rose-pale: #f7dce1;--sage-pale: #e2ecd8;--blue-pale: #e0edf1;--ease-page: cubic-bezier(.16, 1, .3, 1)}::selection{color:var(--ink);background:#efc3ce}*{scrollbar-width:thin;scrollbar-color:#af937e #f0e4d0}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-track{background:#f0e4d0}::-webkit-scrollbar-thumb{background:#af937e;border:2px solid #f0e4d0;border-radius:8px}button,input,select,audio{accent-color:var(--rose)}input{caret-color:var(--rose)}a{color:var(--rose);text-underline-offset:.22em}button:focus-visible,[tabindex]:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #744b80;outline-offset:4px}h1,h2,h3,.serif{letter-spacing:-.025em;text-wrap:balance}h2{line-height:1.13}p{text-wrap:pretty}.ui-icon{flex:none;display:inline-flex;width:1.16em;height:1.16em;vertical-align:-.18em}.ui-icon svg{display:block;width:100%;height:100%}.control-label{display:inline-flex;align-items:center;gap:.6em;min-width:0}.chip{border:1px solid #baa082;background:#fffaf0;font-size:.76em;padding:.18em .6em;line-height:1.3}.chip.warn{border-color:#b78653;background:#f9e4c5}.chip.good{border-color:#8aab78;background:#e6efd9}.banner{border-color:#b29558;border-radius:9px;background:#f8edc9}.title-screen{padding:clamp(16px,4vw,56px);background:var(--cloth)}.title-screen:before{content:"";position:absolute;inset:12px;border:1px solid #9f7f58;pointer-events:none}.title-wrap{width:min(1320px,100%);min-height:min(720px,calc(100dvh - 90px));grid-template-columns:minmax(0,1.25fr) minmax(340px,.9fr);gap:0;background:var(--paper);border:1px solid #b39465;box-shadow:0 12px 55px #0f081261;align-items:stretch}.title-art{position:relative;min-height:100%;overflow:hidden;background:#846c5d}.title-art img{height:100%;width:100%;object-fit:cover;filter:none}.title-art-rule{position:absolute;inset:16px;border:1px solid rgba(255,239,196,.65);pointer-events:none}.title-text{position:relative;align-self:center;padding:clamp(28px,3.5vw,60px)}.title-text h1{font-size:clamp(2.3rem,4.6vw,4rem);line-height:.99;font-weight:600;letter-spacing:-.04em}.title-text h1 span{font-size:.39em;line-height:1.22;letter-spacing:-.015em;color:var(--rose);margin-top:.6em;max-width:19ch}.title-text .tag{margin:1.35em 0 1.5em;font-size:.91em;line-height:1.55;opacity:1;color:var(--ink-soft);max-width:33ch}.title-menu{gap:9px;max-width:none}.title-menu .btn{min-height:48px;font-size:.95em;justify-content:flex-start;padding-left:15px}.title-menu .btn.small{margin-top:5px;min-height:40px;font-size:.74em;background:transparent;border-color:#b7a08b}.title-menu .btn.primary{min-height:54px}.slotcard small{margin:5px 0 0 1.75em;font-size:.72em;line-height:1.35}.choices{gap:9px}.choices .btn{min-height:48px}.choices .btn>span{display:flex;gap:10px;align-items:center}.choices .btn .num{background:#f0dfb4;border:1px solid #a98b5e;font-variant-numeric:tabular-nums}.modal h2{font-weight:600;font-size:1.8em;margin-bottom:.6em}.modal p{line-height:1.6}.modal>.row.end:last-child{bottom:-28px;margin:16px -28px -28px;padding:14px 28px 20px;border-top:1px solid #d9c6a7}.book-section{margin:0 0 28px}.book-section h3{font-size:1.25em;font-weight:600;margin:0 0 14px;padding:0 0 8px;border-bottom:1px solid #d6c1a3}.grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px}.tile{padding:12px;gap:8px;border:1px solid #c3aa89;border-radius:10px;background:#fffaf0}.tile img{max-height:116px}.tile b{line-height:1.25}.tile.locked{background:#eee5d4;color:#796653}.tile.on{background:#fff8e5;box-shadow:inset 0 0 0 2px #e4cb93}button.tile{transition:transform .18s var(--ease-page),box-shadow .18s,border-color .18s}button.tile:hover:not(:disabled){border-color:var(--rose);transform:translateY(-2px);box-shadow:0 6px 14px #4b2d3624}.list{gap:10px}.item{padding:12px 14px;border:1px solid #cfb999;border-radius:9px;background:#fffaf0;gap:14px}.item.on{background:#e9efdc;border-color:#9caf88}.item .desc{opacity:1;color:var(--ink-soft);line-height:1.45;margin-top:3px}.item img{width:56px;height:56px}.field{gap:7px;margin:16px 0}.field label{font-size:.89em}input[type=range]{max-width:100%}input[type=text]{border:1px solid #a7876b;border-radius:7px;background:#fffdf6}.memcard{width:min(640px,100%);padding:28px}.memcard .art{width:min(430px,100%);margin:16px auto}.memcard h2{font-weight:600;font-size:1.7em}.memcard .quote{max-width:470px;gap:10px;margin:22px auto}.bubble{padding:.6em .9em;border:1px solid #b19485;border-radius:12px;line-height:1.45}.bubble b{font-size:.68em;opacity:1;color:var(--ink-soft)}.memcard .src{color:var(--ink-soft);opacity:1}.reward{width:min(480px,100%);padding:28px 32px}.reward .icon{width:156px;height:156px;margin:18px auto}.reward .icon>.ui-icon{width:78px;height:78px;color:var(--brass)}.reward .kind{color:var(--rose);opacity:1;letter-spacing:.08em}.reward h2{font-size:1.8em;margin:0}.reward p{color:var(--ink-soft);line-height:1.5}.reward .btn{margin-top:12px;min-width:180px}.titlecard{background:var(--paper);color:var(--ink);box-shadow:inset 0 0 0 14px var(--cloth),inset 0 0 0 15px #b5945d,inset 0 0 0 24px var(--paper),inset 0 0 0 25px #d7c3a3}.titlecard h1{font-weight:600;font-size:clamp(2em,6vw,4em)}.titlecard .sub{color:var(--rose);opacity:1;margin-top:12px}.orn{display:flex;justify-content:center;gap:20px;color:var(--brass);margin:12px 0 24px;opacity:1}.orn .ui-icon{width:28px;height:28px}.orn .ui-icon:first-child{transform:scaleX(-1)}.cutscene{padding:24px;background:#2a1f30}.cutscene .panel{width:min(1050px,100%);padding:16px 16px 12px;max-height:calc(100dvh - 48px);overflow:auto}.cutscene .pic{border:1px solid #9e7d5a;border-radius:8px}.cutscene .cap{padding:6px 10px 0;font-size:1.14em;line-height:1.5}.cutscene .cap b{color:var(--rose);font-weight:600}.cutscene-footer{display:flex;align-items:center;justify-content:space-between;padding:12px 10px 0}.cutscene-pages{display:flex;gap:5px}.cutscene-pages i{width:14px;height:4px;border-radius:2px;background:#d7c3a3}.cutscene-pages i.current{background:var(--rose);width:28px}.cutscene-footer .next{font-size:.8em;color:var(--ink-soft);display:flex;gap:8px;align-items:center}.toast{background:#fff8e9;border-radius:8px;border-color:#a88a5d}.b-top{padding:10px 18px;gap:8px;border-bottom:1px solid #b99b74}.b-top>.serif{font-size:1.25em;font-weight:600;margin-right:8px}.b-stage{padding-bottom:14px}.b-stage:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 -36px 40px -36px #24102080}.b-card{border-radius:10px;padding:8px 11px;min-width:154px}.b-card:after{display:none}.b-name{font-size:.97em}.bar{height:16px;border:1px solid #77555d;background:#e5d8c0;margin:6px 0}.bar .fill{background:#b8cf91}.bar .fill.low{background:#f1bd7e}.bar.enemy .fill{background:#e8a4b0}.bar span{font-size:.72em;line-height:14px;font-variant-numeric:tabular-nums}.b-sub{color:var(--ink-soft)}.dot{color:#527893}.b-figure{filter:drop-shadow(0 5px 4px rgba(53,29,36,.18))}.b-hero-img{filter:none}.b-target-badge{display:flex;gap:4px;align-items:center;border:1px solid #ac705b;background:#ffedcf;border-radius:6px;font-size:.68em;padding:3px 6px;top:-8px}.b-hero.targeted .b-figure:after{border-width:2px}.b-enemy-btn .e-letter{background:#f7e6b7;border:1px solid #8a6746;box-shadow:0 2px 5px #2c19214d}.intent{border:1px solid #8e7463;border-radius:9px;padding:7px 10px;background:#fff9ed;box-shadow:0 3px 8px #321c262e}.intent .i-head img{width:24px;height:24px}.intent .i-label{line-height:1.35}.intent .i-tgt{color:#913c51}.intent .i-tip{opacity:1;color:var(--ink-soft)}.intent .dmg{border:1px solid #be858e;border-radius:4px;background:#f7dde0;font-variant-numeric:tabular-nums}.intent.peek{border-style:dashed;opacity:.92}.intent.k-big{border:2px dashed #b04942;background:#fff0e5}.intent.k-charge{border:2px dotted #ab803c;background:#fff2cd}.intent.k-seal{border:3px double #8e6984;background:#f7edf2}.intent.k-swarm{box-shadow:0 3px 8px #321c2633;background:#f4ebd9}.i-clue{border:1px solid #b69b62;background:#fcf0cd;border-radius:8px;line-height:1.4;padding:7px 10px}.b-bottom{background:var(--cloth);padding:12px 16px 16px;grid-template-columns:minmax(0,1fr) 252px;gap:14px;border-top:1px solid #a9895c}.b-panel{padding:15px 18px;min-height:198px;max-height:43vh}.b-panel:after{display:none}.b-head{margin-bottom:12px;gap:10px}.b-head b{flex:1;line-height:1.3}.b-head img.mini{width:28px;height:38px;object-fit:contain}.b-acts{gap:9px}.b-acts .btn{padding:9px 12px;min-height:68px}.a-in{gap:12px}.a-in img{width:36px;height:36px}.a-in b{font-size:.93em}.a-in small{line-height:1.3;color:var(--ink-soft);opacity:1;font-size:.74em;margin-top:3px}.btn.primary .a-in small{color:#fff2e4}.b-log{background:transparent;border:0;border-radius:0;color:#f3e2cc;font-size:.76em;line-height:1.45;padding:4px 5px 4px 2px}.b-log:before{content:"On this page";display:block;color:#d5b47c;font-family:Fraunces,Georgia,serif;font-size:1.45em;font-weight:600;margin-bottom:10px}.b-log>div{border-bottom:1px solid #655065;padding:5px 0}.b-log>div:last-child{border:0;color:#fff9ed}.p-line{padding:9px 0;border-bottom:1px solid #d7c3a7;line-height:1.4}.p-out{background:#edf0de;border:1px solid #b4bd93;border-radius:8px;padding:10px 12px;margin-top:10px}.p-risk{background:#fbe4d9;border:1px solid #c28d74;border-radius:7px;padding:7px 10px}.p-note{color:var(--ink-soft)}.aimboard{max-width:600px;margin:0 auto}.aimstatus{line-height:1.4;border-radius:7px;padding:7px 10px;margin:8px 0}.aimstatus.good{background:#e4eed9}.aimstatus.bad{background:#f8e6d5}.big-go{min-width:140px}.b-banner{font-family:Fraunces,Georgia,serif;font-weight:600}.victory-seal{color:#9e7738;margin:8px auto 22px;width:84px;height:84px;border:1px solid #b39459;border-radius:50%;background:#f4e6ba;display:grid;place-items:center}.victory-seal .ui-icon{width:48px;height:48px}.battle-victory h2{margin-bottom:10px}.puzzle:after{display:none}.pz-head{gap:18px;align-items:center;padding-bottom:14px;border-bottom:1px solid #cfb895}.pz-head h2{margin:10px 0 0;font-weight:600;font-size:1.8em}.pz-system{color:var(--ink-soft);background:#eee3cd;font-weight:700}.pz-system .ui-icon{width:14px;height:14px}.pz-art{width:100px;max-height:100px;object-fit:contain}.pz-intro{margin:16px 0 20px;font-size:.98em;color:var(--ink-soft);line-height:1.55;max-width:76ch}.pz-board{margin:10px 0 18px}.pz-status{color:#76583a;font-size:.87em;padding:10px;border-top:1px solid #decdb3;margin:12px 0 4px}.pz-hint{border:1px solid #bd9e5c;background:#fcf0c9;border-radius:8px;line-height:1.5}.is-solved .pz-hint{border-color:#99ac7a;background:#e6eed7}.pz-label{font-size:.85em;color:var(--ink-soft);margin:16px 0 9px}.pz-boardtext{border:1px solid #c7ad85;border-radius:8px;background:#f0e5d0;padding:14px 18px}.pz-reply{background:#f5e6e7;border:1px solid #c5a0a6;border-radius:8px;padding:12px 16px}.pz-match{display:flex;flex-direction:column;gap:12px}.pz-match .item{padding:14px 16px}.pz-match .seg{margin-top:12px}.pz-seq{gap:8px}.pz-slot{background:#f2e8d4;border:1px dashed #ac8c6d;border-radius:8px;min-height:54px;padding:8px 12px}.pz-slot.filled{background:#fffaf0;border-color:#ac8c6d}.pz-slot.right{background:#e5edd7;border-color:#8da471}.pz-slot .n{border:1px solid #b5945d;background:#f1dfb0;width:27px;height:27px;font-size:.85em}.pz-slot>span>img{width:40px;height:40px;object-fit:contain;vertical-align:middle;margin-right:8px}.pz-route{border:1px solid #a88864;background:#eee4cd;border-radius:10px}.pz-node{padding:.45em .7em;border-radius:9px;min-height:42px}.pz-node.here{background:#f4d7df;border-color:var(--rose);box-shadow:0 0 0 3px var(--paper),0 3px 7px #41252d33}.pz-node.visited:not(.here){background:#deebd1}.pz-node.avoid{background:#dbd1c0}.pz-legend{opacity:1;color:var(--ink-soft);line-height:1.5}.pz-grid{gap:5px;padding:12px;background:#e7d9bf;border:1px solid #bca27f;border-radius:10px;width:fit-content;max-width:100%}.pz-grid.fit{width:100%;padding:12px}.pz-cell{border:1px solid #ac8b6c;border-radius:6px;background:#fffaf0}.pz-cell.empty{background:#f3ead6;border-color:#c6ae8b}.pz-cell.rock{background:#b5aa94;border-color:#8c7f6c;box-shadow:inset 0 0 0 4px #f5ead240}.pz-cell.pipe{background:#f5ead2;overflow:hidden;padding:0;display:block}.pz-cell.pipe>svg{display:block;width:100%;height:100%}.pz-cell.pipe.on{background:#f8dfe0}.pz-cell.pipe.fixed{background:#daceb8}.pz-cell.node.src{background:#ead591}.pz-cell.node.tgt.on{background:#eab9c5}.pz-grid.slots{gap:10px;padding:16px}.pz-slotbtn{border-color:#aa8c65;min-height:88px;border-radius:8px;background:#f8edd7}.pz-slotbtn.filled{background:#fffaf0}.slotin{gap:6px}.pz-rules .item{padding:10px 12px;line-height:1.4}.pz-rules .item.on{background:#e5edd7}.packcell{border-color:#a78e70;border-radius:3px}.pz-kind-pack .pz-grid{background:#d6c4a4}.pz-cell.sea{background:#edf5f5;border-color:#8eafbb}.pz-cell.sea.ship{background:#ead6b2;color:#604731}.pz-cell.sea.water{background:#c9e0e9;color:#456d83}.pz-cell.sea.given{outline:2px solid #a57b3a}.pz-cell.count{border-color:#bda781;background:#f3e9d1}.pz-cell.count.ok{background:#dbe9cf}.pz-cell.count.over{background:#efc9bd}.pz-kind-deduce .pz-grid{background:#bdcfd1;border-color:#869da2}.beat-row{grid-template-columns:140px 1fr auto;padding:10px 12px;border:1px solid #c3a98b;border-radius:8px;background:#fffbf2}.beat-row.ok{background:#e8eedc;border-color:#97a87c}.bc{height:36px;border:1px solid #cebcaa;border-radius:5px}.bc.guide{border:1px dashed #8b6e77}.bc.on{background:#ebbdc9;color:#6c3147;border-color:#ad7183}.pz-ferry{gap:14px}.dock{border:1px solid #ad967a;border-radius:9px;padding:14px;background:#f6ebd7;gap:10px}.dock.here{background:#e0edf0;border-color:#7e9da6}.dock small{opacity:1;color:var(--ink-soft)}.boat{border:1px dashed #a08464;border-radius:7px;background:#f9f0dd;padding:10px}.rub-panel{padding:20px 24px}.rub-bubble{border:1.5px solid #88646d;border-radius:14px;box-shadow:0 4px 12px #23131f33;padding:.6em 1em}.rub-pudding{border:1px solid #b89860;border-radius:7px;box-shadow:0 3px 10px #23131f33;padding:10px 16px}.letter{width:min(720px,100%);padding:36px 48px;background:#fff9eb;font-size:1.06em;line-height:1.8;max-height:calc(100dvh - 44px)}.letter .greet{color:var(--rose);font-weight:600;font-size:1.5em;margin:0 0 1em}.letter .sign{font-size:1.35em;color:var(--rose)}.letter .row.end{padding-top:12px;border-top:1px solid #cfb999}.credits{background:#33253b;box-shadow:inset 0 0 0 12px #33253b,inset 0 0 0 13px #b5945d}.credits-roll{color:#fff3de}.credits-roll h1{font-weight:600;font-size:clamp(2.4em,5vw,3.8em);letter-spacing:-.035em}.credits-roll h2{font-weight:600;font-size:2.2em}.credits-roll .sub{color:#ddbc9d;font-family:Fraunces,Georgia,serif;font-size:1.25em}.credits-roll small{opacity:1;color:#d8b683;font-size:.72em}.credits-roll .credit{margin:2em 0}@media(max-width:900px){.title-screen{padding:24px}.title-wrap{grid-template-columns:1.05fr minmax(300px,1fr);min-height:min(690px,calc(100dvh - 48px))}.title-text{padding:28px}.title-text h1{font-size:3em}.b-bottom{grid-template-columns:minmax(0,1fr);padding:10px}.b-log{display:none}.b-acts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.title-screen{padding:16px;align-items:safe start}.title-screen:before{inset:7px}.title-wrap{grid-template-columns:1fr;min-height:0;width:min(560px,100%)}.title-art{min-height:0;height:32vh;max-height:300px;margin:0;width:100%;max-width:none}.title-art img{object-position:50% 25%}.title-art-rule{inset:10px}.title-text{padding:26px}.title-text h1{font-size:clamp(2.5em,9vw,3.7em)}.title-text h1 span{font-size:.38em;max-width:none;margin-top:.45em}.title-text .tag{margin:16px 0 18px;max-width:none;font-size:.85em}.title-menu{gap:8px}.title-menu .btn{min-height:46px}.modal>.row.end:last-child{bottom:-22px;margin:14px -22px -22px;padding:12px 22px 18px}.grid{grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:10px}.tile{padding:10px}.cutscene{padding:12px}.cutscene .panel{padding:10px;max-height:calc(100dvh - 24px)}.cutscene .cap{font-size:1em;padding:6px 3px 0}.pz-head h2{font-size:1.45em}.pz-art{width:72px;max-height:80px}.pz-intro{font-size:.9em;margin:12px 0 16px}.pz-grid,.pz-grid.fit{padding:8px;gap:4px}.pz-slots-wrap,.beat-row{grid-template-columns:1fr}.pz-route{min-width:640px}.letter{padding:26px;line-height:1.7}}@media(max-width:560px){.title-screen{padding:10px}.title-art{height:30vh}.title-text{padding:22px}.title-text h1{font-size:2.55em}.title-text .tag{margin:14px 0 16px}.title-menu .btn{font-size:.87em}.title-menu .btn.small{font-size:.7em}.item{gap:9px;padding:10px;flex-wrap:wrap}.item .grow{flex:1 1 160px}.item img{width:44px;height:44px}.memcard{padding:22px}.memcard .quote{margin:18px auto}.bubble{max-width:94%}.b-top{padding:8px 10px;gap:5px}.b-top>.serif{font-size:1.1em;width:100%;padding-right:78px;margin-right:0}.b-top>.btn{position:absolute;right:10px;top:8px}.b-stage{gap:10px;padding:10px 10px 12px;overflow:hidden}.b-card{min-width:0;padding:6px 9px;font-size:.76em}.b-enemies{flex:1 1 auto;min-height:0;overflow-y:auto;justify-content:flex-start;padding:4px 0}.b-enemy{gap:5px 9px}.b-enemy-img{height:13vh;max-width:32vw;object-fit:contain}.b-enemy-img.boss{height:16vh}.b-hero-img{height:calc(10vh * var(--actor-scale, 1))}.b-heroes{gap:8px;flex:0 0 auto;margin-top:0}.b-hero{flex:1;min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:end;gap:4px}.b-hero .b-card{width:100%}.b-sub{font-size:.82em;gap:4px}.b-name{gap:4px}.intent{font-size:.7em;padding:6px 8px}.intent .i-head img{width:20px;height:20px}.intent .i-tip{font-size:.95em}.b-bottom{padding:8px;flex:none}.b-panel{max-height:43vh;min-height:174px;padding:12px}.b-head{font-size:.85em;margin-bottom:8px;gap:6px}.b-head img.mini{height:30px;width:24px}.b-acts{gap:7px}.b-acts .btn{min-height:54px;padding:7px}.a-in{gap:7px}.a-in img{width:28px;height:28px}.a-in b{font-size:.86em}.a-in small{display:none}.p-line{font-size:.85em;padding:6px 0}.p-out,.p-risk,.p-note{font-size:.8em}.pz-head h2{font-size:1.35em}.pz-system{font-size:.66em}.pz-art{width:58px;max-height:68px}.pz-match .item{padding:12px}.pz-cell{min-height:36px;min-width:36px}.pz-grid.fit .pz-cell{min-height:0;min-width:0}.pz-grid.slots{padding:9px;gap:7px}.pz-slotbtn{min-height:74px;padding:6px;font-size:.8em}.pz-grid{padding:6px;gap:3px}.pz-ferry{grid-template-columns:1fr}.dock{min-height:0;padding:12px}.rub-panel{padding:16px}.rub-say{font-size:1em}.rub-panel .row .btn{font-size:.86em}.letter{padding:24px;font-size:1em}.credits-roll{padding-left:22px;padding-right:22px}}@media(max-height:600px)and (min-width:761px){.title-screen{padding:18px}.title-wrap{min-height:calc(100dvh - 36px)}.title-text{padding:24px 34px}.title-text h1{font-size:2.5em}.title-text .tag{margin:12px 0 15px;font-size:.8em}.title-menu .btn{min-height:40px;padding:.45em .8em;font-size:.85em}.title-menu .btn.primary{min-height:44px}.title-menu .btn.small{min-height:36px}.b-panel{padding:10px 14px;min-height:150px}}:root[data-contrast=high]{--ink: #251a25;--ink-soft: #3b2938;--line: #634c3d}:root[data-contrast=high] .btn,:root[data-contrast=high] .tile,:root[data-contrast=high] .item,:root[data-contrast=high] .pz-cell,:root[data-contrast=high] .intent{border-color:#382633}:root[data-contrast=high] .btn.primary{color:#fff;background:#83314e}:root[data-text=xl] .title-text h1{font-size:clamp(2em,4vw,3em)}:root[data-text=xl] .title-menu .btn{min-height:52px}:root[data-text=xl] .b-panel{max-height:48vh}@media(prefers-reduced-motion:reduce){:root:not([data-motion=full]) *,:root:not([data-motion=full]) *:before,:root:not([data-motion=full]) *:after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}.skill-option{display:inline-flex;align-items:center;gap:8px}.item .skill-option img{width:26px;height:26px}.battle-reward{display:flex;justify-content:center;align-items:center;gap:10px;font-weight:800}.battle-reward img{width:38px;height:38px;object-fit:contain}.outfit-option>span{display:flex;align-items:center;gap:16px}.outfit-option img{width:48px;height:82px;object-fit:contain}.settings-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 36px;max-width:920px}.settings-layout>.field{margin:0}.settings-layout>.list,.settings-layout>p{grid-column:1/-1}.settings-layout input[type=range]{width:100%}.settings-layout .item{padding:12px 0}.battle{display:grid;grid-template-rows:44px minmax(0,1fr) 54px clamp(180px,27vh,248px);background:#32263a}.b-top{min-height:0;padding:5px 18px;gap:12px;font-size:.8em;background:#fff8e9;border:0}.b-top>.serif{font-size:1.3em;width:auto;padding:0}.b-top .chip{border:0;background:transparent;padding:0;border-radius:0;font-size:.86em}.b-top .btn{min-height:34px;padding:5px 9px;font-size:.85em}.b-top>.btn{position:static}.b-top .chip img{width:18px;height:18px}.b-stage{container-type:normal;display:flex;flex-direction:row;justify-content:space-between;align-items:end;padding:46px 7vw 30px;gap:6vw;overflow:visible;min-height:0}.b-stage:after{display:none}.b-bg{overflow:hidden}.b-heroes{width:38%;flex:0 0 38%;display:flex;gap:clamp(20px,4vw,70px);align-items:end;margin:0}.b-hero{display:flex;flex:0 1 auto;min-width:0}.b-hero-img{height:calc(clamp(150px,31vh,320px) * var(--actor-scale,1));max-width:none}.b-target-badge{top:-24px;background:#fff7dc;border:0;font-size:.65em;padding:4px 7px;box-shadow:0 2px 6px #2e16352a}.b-enemies{height:auto;max-height:none;width:49%;flex:0 1 49%;gap:14px;align-items:end;justify-content:center;overflow:visible}.b-enemy{position:relative;display:flex;flex-direction:column;flex:1 1 0;min-width:0;max-height:none;gap:8px}.b-enemy-plans{position:absolute;bottom:calc(100% + 14px);max-width:min(250px,24vw);width:max-content;overflow:visible}.b-enemy-btn{grid-column:auto;grid-row:auto;flex-shrink:0}.b-enemy-img{height:clamp(110px,24vh,230px);max-width:100%;object-fit:contain}.b-enemy-img.boss{height:clamp(170px,34vh,340px)}.b-enemy>.b-card{width:min(100%,190px);min-width:120px;padding:6px 9px;border:0;border-radius:4px;background:#fff8e9ec;box-shadow:none;font-size:.7em}.b-enemy .b-sub{font-size:.75em}.b-enemy .chip{border:0;padding:0;background:transparent}.intent{position:relative;border:0;background:#fff8ed;border-radius:5px;box-shadow:0 3px 12px #2916302b;padding:0;max-width:none;font-size:.78em}.intent summary{display:grid;grid-template-columns:22px minmax(0,1fr) auto;min-width:0;max-width:100%;align-items:center;gap:5px;padding:8px 10px;cursor:pointer;list-style:none;min-height:36px}.intent summary::-webkit-details-marker{display:none}.intent summary img{width:22px;height:22px;grid-column:1;grid-row:1}.intent summary b{grid-column:2/-1;grid-row:1;min-width:0;max-width:100%;white-space:normal;overflow-wrap:break-word;font-weight:800}.intent .dmg{grid-column:3;grid-row:2;margin-left:auto;border:0;padding:1px 4px;border-radius:3px}.intent .i-tgt{grid-column:1/3;grid-row:2;min-width:0;overflow-wrap:break-word;font-size:.88em}.intent .i-explain{padding:8px 12px 12px;border-top:1px solid #dac7a9}.i-explain p{margin:4px 0 0;line-height:1.4}.intent[open]{z-index:5}.intent[open] .i-explain{position:absolute;width:100%;background:#fff8ed;box-shadow:0 5px 12px #2916302b}.intent.peek{margin:4px 8px 8px;opacity:1;font-size:.9em;box-shadow:none}.intent.k-big,.intent.k-charge,.intent.k-seal{border:1px solid #b47854}.intent.k-swarm{box-shadow:0 3px 12px #2916302b}.b-health{display:flex;justify-content:flex-start;gap:30px;padding:9px 24px;background:#fff8e9;border-top:1px solid #d1bd9d}.b-health .b-card{display:grid;grid-template-columns:auto minmax(90px,160px) auto;align-items:center;gap:10px;background:transparent;padding:0;border:0;border-radius:0;box-shadow:none;min-width:0;font-size:.8em}.b-health .bar{margin:0;width:100%;height:15px}.b-health .bar span{line-height:13px}.b-health .b-sub{font-size:.8em;white-space:nowrap}.b-health .b-name{font-size:1em}.b-health .b-sub .chip{border:0;padding:0}.b-bottom{display:block;min-height:0;padding:0;background:#fff8e9;border-top:1px solid #d1bd9d}.b-panel,:root[data-text=xl] .b-panel{height:100%;max-height:none;min-height:0;border:0;border-radius:0;padding:12px 24px;background:#fff8e9;box-shadow:none;overflow:auto}.b-head{margin:0 0 10px;font-size:.9em}.b-head img.mini{display:none}.b-head .btn{padding:3px 10px;min-height:34px;font-size:.8em}.b-acts{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px}.b-acts .btn{min-height:58px;padding:8px 12px;background:#eee1c7;border:0;border-radius:6px}.a-in{gap:10px}.a-in img{width:32px;height:32px}.a-in b{font-size:.87em}.a-in small{display:none}.b-action-reference{font-size:.78em;margin-top:10px}.b-action-reference summary{cursor:pointer;color:#71465a}.b-action-reference p{margin:8px 0}.b-panel .team{margin-top:8px;min-height:44px;padding:8px 12px}.b-panel .team .a-in{display:inline-flex}.b-panel[data-mode=preview]{display:grid;grid-template-columns:1fr 1fr auto;gap:8px 20px;align-content:start}.b-panel[data-mode=preview] .b-head{grid-column:1/3;margin:0}.b-panel[data-mode=preview] .p-line{padding:6px 0;border:0;font-size:.86em}.b-panel[data-mode=preview] .p-line .btn{margin-left:9px;min-height:30px;padding:3px 8px;font-size:.77em}.p-out{grid-column:1/3;font-size:.8em;padding:8px 12px;margin:0;border:0;border-radius:4px}.p-note,.p-risk{grid-column:1/3;margin:0;font-size:.74em;padding:0;border:0;background:transparent}.b-confirm{grid-column:3;grid-row:1/4;align-self:end;margin:0}.big-go{min-height:50px;min-width:128px;justify-content:center!important}.b-history{position:absolute;right:24px;bottom:calc(clamp(180px,27vh,248px) + 12px);z-index:8;font-size:.72em}.b-history>summary{cursor:pointer;display:flex;align-items:center;gap:6px;padding:5px;color:#6e4c5b}.b-history>summary .ui-icon{width:16px;height:16px}.b-history .b-log{position:absolute;width:min(370px,85vw);max-height:55vh;overflow:auto;right:0;bottom:32px;padding:16px;border-radius:6px;background:#33273c;box-shadow:0 8px 28px #170c2f55;font-size:1em}.b-log:before{display:none}.i-clue.big{font-size:.9em;padding:8px 12px;margin:4px 0 10px;border:0;background:#f1dfae}.pz-head{padding:0 0 12px;border-bottom:1px solid #c8b493}.pz-head h2{font-size:1.6em;margin:0}.pz-system{display:none}.pz-art{width:54px;height:54px;object-fit:contain}.pz-instructions{margin:8px 0 12px;font-size:.8em}.pz-instructions summary,.pz-notes summary{cursor:pointer;color:#75536a;font-weight:800;min-height:36px;display:flex;align-items:center;gap:7px}.pz-intro{font-size:1em;line-height:1.5;max-width:72ch;margin:8px 0}.pz-board{margin:0}.pz-label{font-size:.78em;margin:8px 0;color:#725262}.pz-status{font-size:.8em;margin:8px 0}.pz-notes{position:relative;margin:0 0 10px;font-size:.85em}.pz-notes summary .ui-icon{width:18px;height:18px}.pz-notes>.pz-rules,.pz-notes>.pz-boardtext{margin-top:6px;padding:12px 16px;border:0;border-radius:4px;background:#f0e1c2}.pz-rules .item{border:0;border-bottom:1px solid #ceb994;border-radius:0;background:transparent;padding:9px 0}.pz-slots-wrap{display:block}.pz-placement{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(200px,1fr);gap:12px 24px;align-items:start}.pz-placement>.pz-label{grid-column:1/-1}.pz-placement>.slots{grid-column:1}.pz-placement>.pz-piece-tray{grid-column:2}.pz-grid.slots{margin:0;padding:12px;gap:8px;background:#ded1b5;border:0;border-radius:6px}.pz-slotbtn{min-height:76px;padding:8px;background:#fff8e6ae;border:1px dashed #9f835d;box-shadow:none;border-radius:4px}.pz-slotbtn .slotin small{font-size:.74em}.pz-slotbtn .slotin b{font-size:.83em}.pz-slotbtn img{width:32px;height:32px}.pz-piece-tray{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pz-piece-tray .btn{min-height:54px;padding:8px;font-size:.8em;border:0;background:#ede0c4;text-align:left;justify-content:flex-start}.pz-piece-tray .btn.selected{background:#d7b5bf;box-shadow:inset 0 -3px #96516a}.ship-rigging{background-color:#dce8e6!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 440 380'%3E%3Cpath d='M25 260L415 260 370 340 80 340Z' fill='%23c69a64' stroke='%23886342' stroke-width='3'/%3E%3Cpath d='M220 20V260M100 95V260M340 105V260' stroke='%23886342' stroke-width='7'/%3E%3Cpath d='M15 355Q50 345 85 355T155 355T225 355T295 355T365 355T435 355' fill='none' stroke='%23789fba' stroke-width='4'/%3E%3C/svg%3E");background-size:100% 100%;background-repeat:no-repeat}.pz-order-kit .seg{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.pz-order-kit .seg .btn{min-height:58px;padding:9px;font-size:.82em;background:#f0e0be;border:0}.pz-order-kit .seg .btn>span{display:flex;gap:6px;align-items:center}.pz-order-kit .seg .tiny{width:32px;height:32px}.pz-order-kit .pz-seq{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:7px;padding:12px;background:#d5dfcc;border-radius:6px}.pz-order-kit .pz-slot{display:flex;flex-direction:column;text-align:center;min-height:82px;border:1px dashed #8e9e7e;background:#f7f7e6a8;padding:6px;border-radius:4px;gap:5px;font-size:.75em}.pz-slot .n{width:22px;height:22px;border:0;background:#e5c68c}.pz-slot .btn{min-height:30px;padding:2px 9px}.pz-route{background:#e6e6cf;border:1px solid #a2a77c;box-shadow:none;border-radius:6px;min-height:320px;max-height:none}.pz-route .pz-node{border-radius:5px;border:1px solid #a8a482;min-height:44px;background:#fffbed;box-shadow:none;padding:5px 8px}.pz-route .pz-node.here{background:#d4b0bb;border-color:#9a576b;box-shadow:0 0 0 3px #fffbed}.pz-route .pz-node.visited:not(.here){background:#d9e1c4}.pz-legend{font-size:.75em}.pz-kind-connect .pz-grid{padding:16px;background:#334c45;border:8px solid #a78350;border-radius:8px}.pz-kind-connect .pz-cell{background:#c7d1b6;border-color:#526a57;border-radius:4px}.pz-kind-connect .pz-cell.on{background:#e6d296}.pz-kind-pack .pack{padding:16px;background:#dfcbb0;border:8px solid #94744d;border-radius:12px}.pz-kind-pack .packcell{border-radius:2px;border-width:1px}.pz-kind-pack .mini-shape{margin-right:8px}.pz-kind-match .pz-match{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 30px}.pz-match .item{display:flex;padding:15px 0;border:0;border-bottom:1px solid #d4bea0;border-radius:0;background:transparent}.pz-match .item .grow{min-width:0}.pz-match .seg{margin-top:9px}.pz-match .seg .btn{min-height:44px;padding:6px 12px;font-size:.8em}.pz-kind-aim .aimboard{max-width:620px;padding:14px;border-radius:50% 50% 8px 8px;background:#dae8e4}.pz-kind-aim .aimstatus{border:0;background:transparent;text-align:center;font-size:.85em}.pz-kind-deduce .pz-grid{background:#cbdde6;padding:14px;border:1px solid #8ba7b6;border-radius:6px}.pz-kind-deduce .sea{background:#f1f8f7;border-color:#8cabb8;border-radius:3px}.pz-kind-deduce .sea.ship{background:#d7b58b}.pz-kind-deduce .count{background:transparent;border:0}.pz-beat{padding:10px 20px;background:#f1e2c3;border-top:3px solid #b29161;border-bottom:3px solid #b29161}.beat-row{border:0;border-bottom:1px solid #cfb58b;border-radius:0;background:transparent;padding:14px 0}.bc{border-radius:50%;background:#fff8e8;border-color:#c6af89}.bc.on{background:#a4536e;color:#fff8e8}.pz-ferry{gap:18px;padding:22px;background:#ccdee4;border-radius:6px}.pz-ferry .dock{background:#efdfbf;border:0;border-top:6px solid #9a7950;border-radius:2px;min-height:150px}.pz-ferry .boat{border:1px solid #927251;border-radius:5px;background:#fff6df}@media(max-width:760px){.settings-layout{gap:18px}.pz-placement{grid-template-columns:minmax(0,1fr) minmax(160px,.8fr);gap:10px 16px}.pz-piece-tray{grid-template-columns:1fr}}@media(max-width:560px){.settings-layout{grid-template-columns:1fr}.settings-layout>.list,.settings-layout>p{grid-column:1}.settings-layout .item{flex-wrap:nowrap}.battle{grid-template-rows:48px minmax(0,1fr) 60px minmax(196px,34vh)}.b-top{padding:5px 10px;font-size:.68em;gap:8px;flex-wrap:nowrap;overflow-x:auto}.b-top>.serif{font-size:1.25em;white-space:nowrap;width:auto;margin:0}.b-top .chip{flex-shrink:0;font-size:.9em}.b-top .chip:nth-of-type(n+3){display:none}.b-top .btn{min-height:36px}.b-top>span[style]{display:none}.b-stage{flex-direction:row;padding:78px 14px 20px;gap:14px;overflow:visible;align-items:end}.b-heroes{flex:0 1 40%;width:40%;gap:10px}.b-hero{display:block;flex:1 1 0}.b-hero-img{height:calc(clamp(88px,17vh,135px) * var(--actor-scale,1));max-width:none}.b-heroes .b-target-badge{font-size:.52em;top:-22px;padding:4px}.b-enemies{flex:0 1 53%;width:53%;height:auto;min-height:0;max-height:none;overflow:visible;padding:0;gap:4px;flex-direction:row;align-items:end}.b-enemy{display:flex;flex:1 1 0;gap:5px;min-width:0}.b-enemy>*:not(.b-enemy-btn){grid-column:auto}.b-enemy-img{height:clamp(62px,13vh,110px);max-width:100%}.b-enemy-img.boss{height:clamp(100px,20vh,160px);max-width:100%}.b-enemy-plans{bottom:calc(100% + 9px);max-width:160px;width:max-content;align-items:center}.b-enemy .b-card{min-width:0;width:100%;padding:5px;font-size:.58em}.b-enemy .b-sub{font-size:.85em}.b-enemy .chip{white-space:normal}.b-enemy .bar{height:12px;margin:3px 0}.b-enemy .bar span{font-size:.9em;line-height:10px}.b-enemy .e-letter{width:22px;height:22px;font-size:12px}.intent{font-size:.63em}.intent summary{gap:3px;padding:6px;min-height:34px}.intent summary img{width:17px;height:17px}.intent .i-tgt{font-size:.9em}.b-enemies:has(.b-enemy:nth-child(3)) .b-enemy-plans{width:100%}.b-enemies:has(.b-enemy:nth-child(3)) .intent summary{flex-direction:column}.intent[open] .i-explain{min-width:160px;right:0}.b-health{padding:7px 12px;gap:14px}.b-health .b-card{flex:1;min-width:0;display:grid;grid-template-columns:auto 1fr;gap:3px 8px;font-size:.66em}.b-health .b-sub{grid-column:1/-1;font-size:.8em}.b-health .b-name{font-size:1em}.b-health .bar{height:14px;min-width:0}.b-health .bar span{font-size:.8em;line-height:12px}.b-panel,:root[data-text=xl] .b-panel{padding:10px 12px;max-height:none;min-height:0}.b-head{font-size:.83em;margin-bottom:8px}.b-acts{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.b-acts .btn{min-height:54px;padding:7px}.a-in{gap:6px}.a-in img{width:24px;height:24px}.a-in b{font-size:.75em;line-height:1.25}.a-in small{display:none}.b-panel .team{min-height:40px;margin-top:6px}.b-action-reference{margin-top:6px;font-size:.66em}.b-panel[data-mode=preview]{display:flex;flex-direction:column;gap:5px;padding-bottom:0}.b-panel[data-mode=preview] .b-head{position:sticky;top:-10px;z-index:2;background:#fff8e9;padding:4px 0;min-height:30px}.b-panel[data-mode=preview] .p-line{font-size:.75em;padding:3px 0}.p-out{font-size:.7em;padding:7px 9px}.p-note,.p-risk{font-size:.65em}.b-confirm{position:sticky;bottom:0;background:#fff8e9;padding:7px 0;align-self:stretch;margin-top:auto}.big-go{width:100%;min-height:44px;font-size:.86em}.b-history{bottom:calc(max(196px,34vh) + 6px);right:12px;font-size:.62em}.b-history>summary{background:#fff8e9;border-radius:4px;padding:3px 5px}.pz-head{padding-bottom:9px}.pz-head h2{font-size:1.25em}.pz-art{width:38px;height:38px}.pz-instructions{margin:4px 0 7px;font-size:.73em}.pz-instructions summary,.pz-notes summary{min-height:32px}.pz-notes{margin-bottom:6px;font-size:.76em}.pz-notes .pz-boardtext{font-size:1em;line-height:1.4}.pz-label{font-size:.69em}.pz-placement{display:flex;flex-direction:column;gap:8px}.pz-placement>.pz-label{margin:0}.pz-placement>.slots,.pz-placement>.pz-piece-tray{width:100%}.pz-grid.slots{padding:8px;gap:5px}.pz-slotbtn{min-height:54px;padding:5px;font-size:.76em}.pz-slotbtn .slotin{gap:3px}.pz-piece-tray{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.pz-piece-tray .btn{min-height:44px;padding:6px;font-size:.64em}.pz-piece-tray .tiny{width:20px;height:20px}.pz-status{font-size:.72em}.pz-order-kit .seg{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.pz-order-kit .seg .btn{min-height:50px;padding:6px;font-size:.73em}.pz-order-kit .seg .tiny{width:24px;height:24px}.pz-order-kit .pz-seq{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:8px}.pz-order-kit .pz-slot{min-height:48px;padding:5px;font-size:.65em;flex-direction:row;flex-wrap:wrap}.pz-order-kit .pz-slot .n{width:18px;height:18px}.pz-order-kit .pz-slot>span:nth-child(2){flex-basis:50%}.pz-order-kit .pz-slot .btn{min-height:26px}.pz-route{min-width:560px;min-height:310px}.pz-route-scroll:before{font-size:.7em}.pz-route .pz-node{font-size:.7em}.pz-legend{font-size:.69em}.pz-kind-match .pz-match{grid-template-columns:1fr}.pz-match .item{padding:12px 0}.pz-kind-connect .pz-grid,.pz-kind-pack .pack{padding:9px;border-width:5px}.pz-kind-deduce .pz-grid{padding:9px}.pz-ferry{padding:12px;gap:12px}.pz-beat{padding:8px 12px}.beat-row{padding:10px 0}}.b-history[open]{z-index:12}.b-history .b-reference{position:absolute;right:0;bottom:32px;width:min(370px,85vw);padding:12px 16px;color:#f8edda;background:#33273c;border-radius:6px 6px 0 0;transform:translateY(-min(39vh,280px))}.b-history .b-reference p{margin:0;line-height:1.4}.b-history .b-log{height:min(39vh,280px);border-radius:0 0 6px 6px}.pz-pack-kit{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(180px,1fr);gap:12px 24px;align-items:start}.pz-pack-kit>.pz-label{grid-column:1/-1}.pz-pack-kit>.pack{grid-column:1;grid-row:2/4}.pz-pack-kit>.seg{grid-column:2;grid-row:2}.pz-pack-kit>.row{grid-column:2;grid-row:3}@media(max-width:560px){.pz-pack-kit{display:flex;flex-direction:column;gap:8px}.pz-pack-kit>.pack{order:1}.pz-pack-kit>.seg{order:2}.pz-pack-kit>.row{order:3}.pz-pack-kit>.pz-label{order:0}}.puzzle:focus-visible{outline:none}.pz-route .pz-node:hover:not(:disabled),.pz-route .pz-node:active:not(:disabled){transform:translate(-50%,-50%)}.pz-connect-scroll{overflow-x:auto;overscroll-behavior-x:contain}@media(max-width:620px){.pz-kind-connect .pz-grid{gap:3px;min-width:calc(var(--connect-cols) * 36px + (var(--connect-cols) - 1) * 3px + 28px)}}.pz-grid.slots.ship-rigging{background-color:#dce8e6;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 440 380'%3E%3Cpath d='M25 255L415 255 370 340 80 340Z' fill='%23c69a64' stroke='%23886342' stroke-width='3'/%3E%3Cpath d='M220 20V260M100 95V260M340 105V260' stroke='%23886342' stroke-width='7'/%3E%3Cpath d='M15 355Q50 345 85 355T155 355T225 355T295 355T365 355T435 355' fill='none' stroke='%23789fba' stroke-width='4'/%3E%3C/svg%3E");background-size:100% 100%;background-repeat:no-repeat}.ship-rigging .pz-slotbtn{background:#fff9e7a8}.ship-rigging .pz-slotbtn.filled{background:#fff9e7e8}.pz-slotbtn .slotin{min-width:0}.pz-slotbtn .slotin small{overflow-wrap:anywhere}.activity-symbol{width:32px;height:32px;display:inline-flex;flex:none;color:#83536a}.activity-symbol svg{width:100%;height:100%}.pz-piece-tray .btn>span{display:flex;align-items:center;gap:6px;min-width:0;overflow-wrap:anywhere}.pz-order-kit .seg .btn>span{flex-direction:column}.pz-order-kit .seg .btn{min-height:78px}.pz-order-kit .pz-seq .activity-symbol{width:24px;height:24px}.battle{grid-template-rows:44px minmax(0,1fr) 54px auto}.b-bottom{max-height:32vh}.b-panel,:root[data-text=xl] .b-panel{height:auto;max-height:calc(32vh - 1px)}.b-stage{padding-bottom:78px}.b-enemy>.b-card{position:absolute;top:calc(100% + 8px)}.b-hero,.b-enemies{order:0}.b-history{position:static;font-size:.85em;flex-shrink:0}.b-history>summary{min-height:34px;padding:5px 7px;background:transparent}.b-history>summary .ui-icon{width:17px;height:17px}.b-history-body{position:absolute;top:44px;right:12px;width:min(370px,calc(100vw - 24px));max-height:65vh;overflow:auto;border-radius:6px;background:#33273c;color:#f8edda;box-shadow:0 8px 28px #170c2f55}.b-history .b-reference{position:static;padding:14px 16px;width:auto;transform:none;background:transparent}.b-history .b-log{position:static;width:auto;height:auto;max-height:45vh;padding:0 16px 14px;box-shadow:none;border-radius:0}@media(max-width:560px){.battle{grid-template-rows:48px minmax(0,1fr) 60px auto}.b-bottom{max-height:40vh}.b-panel,:root[data-text=xl] .b-panel{max-height:calc(40vh - 1px)}.b-stage{padding-bottom:70px}.b-heroes,.b-enemies{order:0}.b-top>.serif{max-width:125px;overflow:hidden;text-overflow:ellipsis}.b-history>summary{min-height:36px;padding:5px}.b-history>summary .control-label>span:last-child{display:none}.b-history-body{top:48px}.b-top{gap:7px}.b-top .chip{font-size:.83em}.b-top .btn{padding:5px 7px}.b-enemy>.b-card{top:calc(100% + 6px);min-height:48px}.b-enemy-plans{max-width:145px}.b-enemies:has(.b-enemy:nth-child(2)) .b-enemy-plans{width:100%}.b-enemies:has(.b-enemy:nth-child(2)) .intent summary{flex-direction:column;align-items:center}.b-enemies:has(.b-enemy:nth-child(2)) .intent summary .dmg{margin:0}.activity-symbol{width:26px;height:26px}.pz-piece-tray .btn>span{flex-direction:column;align-items:start;gap:4px}.pz-piece-tray .btn{min-height:64px}.pz-order-kit .seg .btn{min-height:70px}.pz-order-kit .seg .btn>span{gap:4px}}@media(max-width:560px){.pz-piece-tray{display:flex;flex-wrap:nowrap;gap:7px;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x proximity}.pz-piece-tray .btn{flex:0 0 calc((100% - 14px)/3);min-width:0;min-height:72px;font-size:.76em;scroll-snap-align:start}.pz-piece-tray .btn>span{align-items:start}.pz-slotbtn{font-size:.85em}.pz-slotbtn .slotin small{font-size:.86em}.pz-order-kit>.seg{display:grid;grid-template-columns:none;grid-template-rows:repeat(2,minmax(74px,auto));grid-auto-flow:column;grid-auto-columns:100px;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x proximity}.pz-order-kit .seg .btn{font-size:.77em;min-height:74px;scroll-snap-align:start}.pz-order-kit .pz-slot{height:auto;min-height:60px;font-size:.72em}.pz-order-kit .pz-slot img,.pz-order-kit .pz-slot .activity-symbol{display:none}.pz-order-kit .pz-slot .btn{min-height:24px;padding:0 5px}.pz-grid.slots{--slot-min: 88px;justify-content:start;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:12px}:root[data-text=xl] .pz-grid.slots{--slot-min: 124px}}.pz-grid.slots{width:100%}.b-history .b-log{display:block}.pz-swipe-cue{display:none}@media(max-width:560px){.pz-swipe-cue{display:block;font-size:.66em;color:#75536a;padding:0 2px 4px}.pz-placement>.pz-swipe-cue{margin-top:-5px}}.b-stage{padding-bottom:106px}.b-figure{isolation:isolate}.b-figure:before{content:"";position:absolute;z-index:0;left:30%;right:14%;bottom:-4px;height:11px;border-radius:50%;background:radial-gradient(ellipse,#231c2d70,#231c2d3d 40%,#231c2d00 74%);transform:scaleX(1.18);pointer-events:none}.b-hero-img{position:relative;z-index:1;filter:none;transform:translateY(var(--foot-padding,3.6585%))}.b-hero-img.dazed{transform:translateY(var(--foot-padding,3.6585%)) rotate(-8deg)}.b-hero.targeted .b-figure:after{z-index:0;left:27%;right:11%;bottom:-4px;height:11px;border:1px solid #a04462b0;background:#a0446214}.b-target-badge{font-size:.72rem}.b-enemy-btn{isolation:isolate}.b-enemy-btn:before{content:"";position:absolute;z-index:0;left:15%;right:15%;bottom:-3px;height:10px;border-radius:50%;background:radial-gradient(ellipse,#231c2d6b,#231c2d30 45%,#231c2d00 76%);pointer-events:none}.b-enemy-img{position:relative;z-index:1;transform:translateY(2%)}.b-enemy-btn .e-letter{z-index:2;box-shadow:none}.b-enemy[data-inspected=true] .e-letter{background:#964b65;color:#fff8e9}.b-enemy>.b-card.b-enemy-readout{top:calc(100% + 10px);width:min(100%,190px);min-width:78px;min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:.82rem}.e-health-line{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:0 10px;width:fit-content;min-width:68px;max-width:100%;margin:auto;padding:3px 8px;background:#fff8e9ed;border-radius:3px;line-height:1.35}.e-hp{font-size:.82rem;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}.e-state{font-size:.71rem;color:#714659;font-weight:800;white-space:nowrap}.b-enemy-readout .bar{height:4px;margin:4px 0 0;border:0;background:#30233866}.b-enemy-readout .bar .fill{background:#f0b2c0}.b-enemy-info{position:absolute;z-index:3;right:7vw;bottom:12px;width:49%;display:flex;align-items:center;justify-content:center;color:#3f2e3b}.b-enemy-info:empty{display:none}.b-enemy-info-inner{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:3px 14px;max-width:100%;padding:6px 10px;background:#fff8e9ed;border-radius:4px}.b-enemy-info .b-name{display:block;font-size:.88rem;font-weight:800;line-height:1.3}.e-rule,.e-rule-details{font-size:.78rem;line-height:1.35}.e-rule{display:inline-flex;align-items:center;gap:5px;font-weight:700}.e-rule-warn{color:#784b2e}.e-rule-good{color:#3c6044}.e-rule-icon{width:19px;height:19px;object-fit:contain;flex:none}.e-rule-details{position:relative;max-width:100%}.e-rule-details>summary{display:flex;align-items:center;gap:6px;cursor:pointer;min-height:30px;list-style:none;font-weight:700;color:#764859}.e-rule-details>summary::-webkit-details-marker{display:none}.e-rule-details>summary:focus-visible{outline:2px solid #744b80;outline-offset:3px}.e-rule-arrow{margin-left:2px;font-size:1rem;line-height:1}.e-rule-details[open] .e-rule-arrow{transform:rotate(180deg)}.e-rule-body{position:absolute;bottom:calc(100% + 9px);right:0;width:max-content;max-width:min(360px,82vw);padding:12px 15px;border:1px solid #c8b18e;border-radius:5px;background:#fff8e9;box-shadow:0 5px 18px #2c1c3540;line-height:1.5}.e-rule-body p{margin:4px 0 0}.b-health .bar{height:18px}.b-health .bar span{font-size:.7rem;line-height:16px}.b-health .b-sub{font-size:.68rem}@media(max-width:560px){.b-stage{padding-bottom:116px}.b-enemy>.b-card.b-enemy-readout{top:calc(100% + 9px);width:100%;min-width:0}.e-health-line{min-width:0;width:fit-content;padding:3px 6px;gap:0 7px}.e-hp{font-size:.76rem}.e-state{font-size:.68rem}.b-enemy-info{right:14px;left:14px;bottom:10px;width:auto}.b-enemy-info-inner{flex-wrap:nowrap;gap:1px 10px;padding:5px 9px}.b-enemy-info .b-name{min-width:0;font-size:.81rem;flex-shrink:1}.b-enemy-info-inner:has(>:nth-child(2)) .b-name{max-width:38%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.e-rule,.e-rule-details{font-size:.75rem;min-width:0}.e-rule-details{flex:1}.e-rule-details>summary{min-height:44px}.e-rule-icon{width:18px;height:18px}.b-figure:before,.b-hero.targeted .b-figure:after{height:7px;bottom:-3px}.b-enemy-btn:before{height:6px;bottom:-2px}.intent{font-size:.72rem}.intent summary{grid-template-columns:17px minmax(0,1fr) auto;min-height:44px}.intent .i-tgt{font-size:1em}.b-enemy-plans{position:fixed;inset:58px 14px auto;width:calc(100vw - 28px);max-width:none}.b-enemies:has(.b-enemy:nth-child(2)) .b-enemy-plans{position:fixed;left:14px;top:58px;bottom:auto;width:calc(50vw - 21px);max-width:none}.b-enemies:has(.b-enemy:nth-child(2)) .b-enemy:nth-child(2) .b-enemy-plans{right:14px;left:auto}.b-enemies:has(.b-enemy:nth-child(2)) .intent summary{flex-direction:row;align-items:center;justify-content:center}.b-top .btn,.b-history>summary{min-height:44px}.b-top>.serif{min-width:0}:root[data-text=xl] .b-top>.btn{flex:0 0 auto}.b-health .b-sub{font-size:.62rem}:root[data-text=xl] .b-hero-img{height:calc(clamp(82px,14vh,106px) * var(--actor-scale,1))}:root[data-text=xl] .b-enemy-img.boss{height:clamp(80px,14vh,106px)}}.title-art-rule{display:none}.title-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px}.title-menu>.btn{grid-column:1/-1}.title-menu>.btn.title-utility{grid-column:auto;min-height:44px;border:0;padding:8px 3px;background:transparent;color:#725664;font-size:.8em;box-shadow:none}.title-menu>.btn.title-utility:hover{background:#f2e6d0;color:#3f2e3b}.title-menu>.btn.title-utility:focus-visible{box-shadow:var(--focus)}.title-menu .slotcard{width:100%}.title-menu .slotcard small{display:block;margin-top:6px;font-weight:500;line-height:1.4}.title-load .list{gap:0}.title-load .title-slot{padding:18px 0;border:0;border-bottom:1px solid #dac8aa;border-radius:0;background:transparent;box-shadow:none;align-items:center;gap:16px}.load-slot-number{display:block;margin-bottom:5px;color:#93624a;font-size:.7em;font-weight:800}.load-slot-title{display:block;font-size:1.02em;line-height:1.35;font-weight:800}.title-slot .desc{margin-top:6px;font-size:.77em;line-height:1.5}.title-slot .btn{min-height:44px}@media(max-width:560px){.title-text .tag{margin:13px 0 17px}.title-menu{gap:8px 12px}.title-menu>.btn.title-utility{font-size:.77em;padding:8px 2px}.title-menu>.btn.title-utility .control-label{gap:7px;text-align:left}.title-load .title-slot{gap:8px;padding:15px 0}.title-load .title-slot .grow{flex-basis:100%}.load-slot-title{font-size:.93em}.title-load .title-slot .btn{font-size:.77em}}.b-aim-layout{display:grid;grid-template-columns:minmax(240px,320px) minmax(0,1fr);grid-template-rows:auto auto;gap:10px 24px;align-items:center;max-width:1080px;margin:0 auto}.b-aim-layout .aimboard{grid-column:1;grid-row:1/3;width:100%;max-width:320px;margin:0}.b-aim-layout .aimboard svg{display:block;width:100%;height:auto}.b-aim-layout .aimstatus{grid-column:2;grid-row:1;margin:0;font-size:.85em;line-height:1.35}.b-aim-controls{grid-column:2;grid-row:2;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;align-items:stretch}.b-aim-controls .btn{min-width:0;min-height:44px;padding:7px 8px;justify-content:center;font-size:.82em;line-height:1.2}@media(max-width:560px){.b-aim-head{font-size:.79em;line-height:1.35;margin-bottom:6px}.b-aim-head>b{min-width:0}.b-aim-head>.btn{flex:none}.b-aim-layout{grid-template-columns:minmax(0,1fr) minmax(130px,.7fr);gap:6px 10px;align-items:center}.b-aim-layout .aimboard{grid-column:1;grid-row:1}.b-aim-layout .aimstatus{grid-column:1;grid-row:2;padding:5px 6px;font-size:.75em;line-height:1.3}.b-aim-controls{grid-column:2;grid-row:1/3;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.b-aim-controls .btn{min-height:44px;padding:6px 4px;font-size:.75em}.b-aim-controls .btn:last-child{grid-column:1/-1}:root[data-text=xl] .b-aim-layout{grid-template-columns:minmax(0,1fr);max-width:420px}:root[data-text=xl] .b-aim-layout .aimboard,:root[data-text=xl] .b-aim-layout .aimstatus,:root[data-text=xl] .b-aim-controls{grid-column:1;grid-row:auto;width:100%;margin:0 auto}:root[data-text=xl] .b-aim-controls .btn{font-size:.85em}}:root{--ink: #382d3e;--ink-soft: #705968;--paper: #fff6e3;--paper2: #eee0c2;--rose: #93475f;--edge: #a78b63;--frame-ink: #392c40;--frame-light: #d5b989;--radius: 8px;--shadow: 0 8px 28px #24172940;--focus: 0 0 0 2px var(--paper), 0 0 0 4px var(--rose)}::selection{background:#e4bac1;color:#382d3e}*{scrollbar-color:#ae8e6a #f0e2c6;scrollbar-width:thin}input,textarea{caret-color:var(--rose)}a{text-underline-offset:.2em}.frame{position:absolute;inset:0;z-index:5;pointer-events:none;border:4px solid var(--frame-ink);box-shadow:inset 0 0 0 1px var(--frame-light)}.panel{position:relative;background:var(--paper);color:var(--ink);border:1px solid var(--edge);border-radius:var(--radius);box-shadow:var(--shadow)}.panel:after{content:none}.btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:.5em;min-width:44px;min-height:44px;padding:.55em .9em;border:1px solid #b59b77;border-radius:5px;background:#f5e8ce;color:var(--ink);font-weight:800;line-height:1.25;text-align:center;cursor:pointer;box-shadow:none;transition:background .15s ease-out,border-color .15s ease-out}.btn:hover:not(:disabled){background:#fffcf1;border-color:#826b4f;transform:none;box-shadow:none}.btn:active:not(:disabled){background:#e5d2af;transform:none;box-shadow:none}.btn:focus-visible{outline:2px solid var(--rose);outline-offset:3px;box-shadow:none}.btn:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}.btn.primary,.btn.selected{background:var(--rose);border-color:var(--rose);color:#fff8eb}.btn.primary:hover:not(:disabled),.btn.selected:hover:not(:disabled){background:#77374d;border-color:#77374d}.btn.green{background:#d5e2c5}.btn.gold{background:#efdb9f}.btn.blue{background:#d9e8eb}.btn.small{min-height:44px;padding:.4em .7em;font-size:.82em}.btn .key{display:inline-grid;place-items:center;min-width:20px;height:22px;margin-left:.5em;padding:0 5px;border:1px solid currentColor;border-radius:3px;font-size:.7em;opacity:.85}#hud{z-index:12}#app:has(#overlay>:is(.dialogue,.scrim,.battle,.puzzle,.cutscene,.titlecard)) #hud{visibility:hidden}.objective{position:absolute;top:16px;left:16px;width:max-content;max-width:min(410px,calc(100vw - 290px));display:flex;padding:11px 15px;border:1px solid #b69a70;border-radius:5px;background:#392c40f2;color:#fff6e3;box-shadow:0 4px 14px #23162b30;font-size:.82rem;line-height:1.4}.objective:hover{background:#4b3851}.objective:focus-visible{outline:2px solid #fff4d5;outline-offset:3px}.objective small{display:block;margin-bottom:4px;color:#e4c899;font-family:Fraunces,Georgia,serif;font-size:1.05em;font-weight:600}.hud-right{position:absolute;top:16px;right:16px;display:flex;gap:2px;padding:3px;border:1px solid #b69a70;border-radius:5px;background:#392c40f2;box-shadow:0 4px 14px #23162b30}.hud-right .btn,.hud-right .btn.gold{padding:8px 10px;border:0;color:#fff6e3;background:transparent;font-size:.78rem}.hud-right .btn:hover{background:#63465c}.hud-right .btn:focus-visible{outline-color:#f2cf94;outline-offset:-2px}.hud-right .ui-icon{width:19px;height:19px}.hud-bottom{position:absolute;left:16px;right:16px;bottom:16px;display:flex;align-items:end;justify-content:space-between;gap:12px;pointer-events:none}.hud-bottom .btn{pointer-events:auto;min-height:44px;max-width:min(400px,65vw);font-size:.82rem;box-shadow:0 4px 14px #23162b30}.leader-badge{background:#392c40f2;color:#fff6e3;border-color:#b69a70}.leader-badge:hover:not(:disabled){background:#63465c}.leader-full{display:none}.leader-short{display:inline}.hud-bottom .btn.unavailable,#hud .prompt{display:none}.saved{position:absolute;left:18px;bottom:70px;padding:4px 9px;border:0;background:#392c40e8;color:#fff6e3;font-size:.72rem;opacity:0;pointer-events:none;transition:opacity .3s ease-out}.saved.show{opacity:1}.dialogue{position:absolute;left:50%;bottom:18px;transform:translate(-50%);width:min(960px,calc(100vw - 40px));min-height:148px;max-height:calc(100dvh - 36px);display:flex;align-items:center;gap:22px;padding:20px 26px;overflow:auto;cursor:pointer;border:3px solid var(--frame-ink);border-radius:8px;outline:1px solid var(--frame-light);box-shadow:0 8px 30px #23162b50;animation:dialogue-arrive .2s ease-out}.dialogue .portrait{flex:none;align-self:center;width:106px;height:106px;overflow:hidden;border-radius:50%;background:var(--paper2)}.dialogue .portrait svg,.dialogue .portrait img{display:block;width:100%;height:100%}.dialogue .body{display:flex;flex-direction:column;flex:1;min-width:0}.dialogue .name{display:flex;gap:.5em;align-items:baseline;margin-bottom:7px;font:800 1.13rem Fraunces,Georgia,serif;color:var(--rose)}.dialogue .name .tag{font:700 .7rem Nunito,sans-serif}.dialogue .text{flex:1;max-width:66ch;font-size:1rem;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.dialogue .next{display:flex;align-self:end;gap:9px;margin-top:12px;color:var(--ink-soft);font-size:.72rem;font-weight:800}.dialogue.narrate{min-height:0;padding:24px 32px}.dialogue.narrate .text{font:600 1.08rem/1.55 Fraunces,Georgia,serif;text-align:left}@keyframes dialogue-arrive{0%{opacity:.6;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%)}}.scrim{position:absolute;inset:0;z-index:30;display:grid;place-items:safe center;padding:24px;overflow:auto;background:#241b2bb5;animation:fadein .18s ease-out}.modal{width:min(760px,100%);max-height:calc(100dvh - 48px);padding:28px;overflow:auto}@media(max-width:700px){.objective{left:12px;top:12px;max-width:calc(100vw - 162px);padding:9px 11px;font-size:.76rem}.objective small{font-size:.93em}.hud-right{right:12px;top:12px;padding:2px}.hud-right .btn{width:44px;min-width:44px;padding:9px}.hud-right .control-label>span:last-child{display:none}.hud-bottom{left:12px;right:12px;bottom:12px;gap:8px}.hud-bottom .btn{font-size:.76rem;padding:8px 11px}.hud-bottom .key{display:none}.saved{left:12px;bottom:66px}.dialogue{width:calc(100vw - 24px);bottom:12px;min-height:0;gap:13px;padding:16px;max-height:calc(100dvh - 24px);align-items:start}.dialogue .portrait{width:68px;height:68px}.dialogue .name{font-size:1rem}.dialogue .text{font-size:.92rem;line-height:1.5}.dialogue.narrate{padding:20px}.dialogue.narrate .text{font-size:1rem}.scrim{padding:12px}.modal{max-height:calc(100dvh - 24px);padding:20px}:root[data-text=xl] .objective{top:68px;max-width:calc(100vw - 24px)}:root[data-text=xl] .dialogue .portrait{width:54px;height:54px}}:root[data-contrast=high]{--ink: #241923;--ink-soft: #463342;--paper: #fffdf5;--edge: #70543c}:root[data-contrast=high] .panel{border-color:#382d3e}.menu{display:grid;grid-template-columns:166px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);width:min(1120px,100%);height:min(830px,calc(100dvh - 48px));padding:0;overflow:hidden;border:3px solid var(--frame-ink);outline:1px solid var(--frame-light);border-radius:8px}.book-header{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 26px;border-bottom:1px solid var(--edge)}.menu h2{margin:0;font-size:1.7rem;font-weight:600}.book-controls{flex-wrap:nowrap;gap:8px}.book-controls .btn{white-space:nowrap}.menu .tabs{display:flex;flex-direction:column;gap:4px;min-width:0;min-height:0;overflow:auto;margin:0;padding:22px 12px;background:var(--frame-ink);border-right:1px solid var(--edge)}.menu .tabs .btn{flex:none;justify-content:flex-start;padding:12px;border:0;background:transparent;color:#f2dfbf;border-radius:3px;font-size:.8rem;text-align:left}.menu .tabs .btn:hover{background:#61465b}.menu .tabs .btn.selected{color:var(--ink);background:var(--paper);box-shadow:inset 3px 0 var(--rose)}.menu .tabs .btn:focus-visible{outline-color:#e4bf83;outline-offset:0}.menu .content{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;padding:24px 30px 30px;scrollbar-gutter:stable}.menu .content:focus-visible{outline:2px solid var(--rose);outline-offset:-5px}.menu .book-section{margin-top:28px}.menu .book-section:first-child{margin-top:0}.menu .book-section>h3{font-size:1.2rem;font-weight:600}.menu .item{border:0;border-bottom:1px solid #d5c4a9;border-radius:0;background:transparent;padding:12px 0;box-shadow:none}.menu .field{margin:14px 0 0}.menu .field>label{margin-bottom:6px}.book-disclosure{margin-top:20px;border-top:1px solid #d5c4a9}.book-disclosure>summary{min-height:44px;padding:12px 0;color:var(--ink-soft);font-weight:800;cursor:pointer}.book-disclosure>summary:focus-visible{outline:2px solid var(--rose);outline-offset:2px}.journal-stats{font-size:.82rem;color:var(--ink-soft)}.binding-collection{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.binding-collection .tile{padding:12px 8px;font-size:.75rem}.binding-collection .tile img{height:96px;object-fit:contain}.binding-collection .tile span{font-size:.72rem;line-height:1.4}.collection-title{font-size:1.3rem;font-weight:600;margin:0 0 16px}.collection-tools{display:flex;gap:10px;align-items:center;margin-bottom:20px}.collection-tools select{min-height:44px;min-width:0;max-width:100%;flex:1;padding:8px 10px;border:1px solid var(--edge);border-radius:4px;background:var(--paper);color:var(--ink);font:inherit;font-size:.82rem}.collection-tools select:focus-visible{outline:2px solid var(--rose);outline-offset:2px}.collection-empty{padding:24px 0}.party-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.party-heading h3{margin:0;font-size:1.4rem;font-weight:600}.party-selectors{display:flex;gap:4px;padding:4px;background:var(--paper2);border-radius:5px}.party-selectors .btn{min-width:100px;border:0;background:transparent;font-size:.83rem}.party-selectors .btn[aria-pressed=true]{color:#fff6e3;background:var(--rose)}.party-spread{min-width:0}.party-spread[data-active-hero=bunny] [data-party-hero=muffin],.party-spread[data-active-hero=muffin] [data-party-hero=bunny]{display:none}.party-hero{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(0,1.5fr);gap:28px;align-items:start}.hero-display{padding:20px 10px 24px;text-align:center;border-block:1px solid #d5c4a9}.hero-display>img{display:block;margin:0 auto 16px;width:132px;height:192px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 5px 0 #4b30401a)}.hero-display h3{font-size:1.55rem;font-weight:600;margin:0}.hero-stats{font-size:.8rem;margin:8px 0;font-weight:800}.hero-actions{font-size:.73rem;color:var(--ink-soft);line-height:1.6;margin:0}.menu .equipment-slot{margin:0;min-width:0}.equipment-slot+.equipment-slot{margin-top:14px}.equipment-slot>label{display:block;font-size:.72rem;color:var(--ink-soft);font-weight:800}.equipment-slot .gear-current{width:100%;padding:10px 12px;text-align:left;background:#f5e8ce;border:1px solid #ddc9a7}.equipment-slot .gear-current:hover{background:#fffdf4;border-color:var(--edge)}.equipment-value{display:flex;align-items:center;width:100%;gap:12px;min-width:0}.equipment-value>img{width:36px;height:44px;object-fit:contain;flex:none}.equipment-value>span:not(.equipment-arrow):not(.empty-slot){min-width:0;flex:1}.equipment-value b{display:block;font-size:.85rem;line-height:1.3}.equipment-value small{display:block;font-size:.72rem;font-weight:500;line-height:1.45;margin-top:5px;color:var(--ink-soft)}.equipment-arrow{color:var(--rose);font-size:1.4rem}.empty-slot{width:36px;flex:none;text-align:center;font-size:1.3rem;color:var(--ink-soft)}.party-shared{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:26px;padding-top:20px;border-top:1px solid #d5c4a9}.party-shared .equipment-slot{margin:0}.party-shared .gear-current{height:calc(100% - 25px)}.party-assist{font-size:.85rem}.gear-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.gear-option{min-height:80px;text-align:left;justify-content:flex-start}.gear-option small{display:block;font-size:.8em;font-weight:500;line-height:1.4;margin-top:7px}.gear-option img{width:46px;height:50px;object-fit:contain;float:left;margin-right:14px}.gear-option.outfit-option img{height:82px;width:52px}.gear-option.selected{border-color:var(--rose)}@media(max-width:800px){.menu{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);height:calc(100dvh - 24px)}.book-header{padding:14px 18px;gap:8px}.menu h2{font-size:1.45rem}.book-controls .btn{font-size:.72rem;padding:8px 10px}.menu .tabs{flex-direction:row;padding:6px 12px;gap:3px;border-right:0;border-bottom:1px solid var(--edge);overflow-x:auto;scrollbar-width:thin}.menu .tabs .btn{padding:10px 12px;font-size:.77rem;white-space:nowrap}.menu .tabs .btn.selected{box-shadow:inset 0 -3px var(--rose)}.menu .tabs .ui-icon{width:17px;height:17px}.menu .content{padding:20px}.party-heading{margin-bottom:20px}.party-heading h3{font-size:1.2rem}.party-selectors .btn{min-width:80px;padding:8px}.party-hero{gap:20px;grid-template-columns:minmax(120px,.7fr) minmax(0,1.5fr)}.hero-display>img{height:156px;width:110px}.party-shared{gap:14px}}@media(max-width:560px){.binding-collection{grid-template-columns:1fr 1fr}.binding-collection .tile{display:grid;grid-template-columns:44px 1fr;gap:4px 8px;text-align:left}.binding-collection .tile img{width:44px;height:64px;grid-row:1/3}.binding-collection .tile b{align-self:end}.binding-collection .tile span{align-self:start}.collection-tools{flex-wrap:wrap}.collection-tools select{flex-basis:100%}.book-header{padding:10px 14px}.menu h2{font-size:1.3rem}.book-controls{gap:5px}.book-controls .btn{padding:7px 9px;font-size:.68rem}.book-controls .control-label .ui-icon{display:none}.menu .content{padding:18px 16px 24px;scrollbar-gutter:auto}.party-heading{gap:10px;margin-bottom:16px}.party-heading h3{font-size:1.05rem}.party-selectors .btn{min-width:72px;font-size:.78rem}.party-hero{display:block}.hero-display{display:grid;grid-template-columns:92px minmax(0,1fr);gap:2px 16px;text-align:left;padding:12px 0 16px;margin-bottom:16px}.hero-display>img{width:92px;height:118px;margin:0;grid-row:1/4;align-self:end}.hero-display h3{align-self:end;font-size:1.4rem}.hero-stats{margin:3px 0}.hero-actions{max-width:24ch}.party-shared{grid-template-columns:1fr;gap:18px}.party-shared .gear-current{height:auto}.gear-options{grid-template-columns:1fr}:root[data-text=xl] .book-header{flex-wrap:wrap}:root[data-text=xl] .book-controls{margin-left:auto}:root[data-text=xl] .party-heading{align-items:start;flex-direction:column}:root[data-text=xl] .party-selectors{align-self:stretch}:root[data-text=xl] .party-selectors .btn{flex:1}}.scrim.pz-scrim{z-index:28;padding:20px;place-items:safe center}.scrim.pz-scrim>.panel.puzzle{width:min(1100px,100%);max-height:calc(100dvh - 40px);margin:0;padding:20px 26px;overflow:auto;background:var(--paper);border:3px solid var(--frame-ink);outline:1px solid var(--frame-light);border-radius:8px;animation:rise .22s}.pz-head{border-bottom-color:var(--edge)}.pz-head h2{font-weight:600}.pz-instructions summary,.pz-notes summary{min-height:44px;color:var(--ink-soft)}.pz-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;position:sticky;z-index:3;bottom:-20px;margin:14px -26px -20px;padding:10px 26px;background:var(--paper2);border-top:1px solid var(--edge)}.pz-tools .btn{padding:7px 12px;font-size:.76rem}.pz-tools .btn,.pz-slot .btn,.pz-order-kit .pz-slot .btn{min-width:44px;min-height:44px}.pz-node{min-height:44px}.pz-status{color:var(--ink-soft)}.pz-feedback{position:sticky;top:-20px;z-index:4;margin:10px -26px;padding:10px 26px;border-block:1px solid #ad6978;background:#f7dbe0;color:#713044;font-size:.85rem;font-weight:800}.pz-hint{background:#efe2bf;color:var(--ink);border-color:var(--edge);font-size:.9rem}.puzzle.is-solved .pz-hint{background:#dce8cd;border-color:#83946a}.puzzle .pz-cell{padding:0}.pz-grid-scroll{overflow-x:auto;overscroll-behavior-x:contain;padding:3px 0}.puzzle .pz-grid.fit{min-width:calc(var(--grid-cols) * 44px + (var(--grid-cols) - 1) * 4px + 40px);max-width:none;gap:4px;padding:12px}.puzzle .pz-grid.deduce{min-width:calc((var(--grid-cols) - 1) * 47px + 44px);gap:3px;padding:9px}.puzzle .pz-grid.deduce .count{aspect-ratio:auto}.puzzle .pz-order-kit .seg .btn.selected{background:var(--rose);color:#fff8eb;opacity:1}.puzzle .pz-order-kit .btn.selected .activity-symbol{color:inherit}.puzzle .aimstatus.neutral{color:var(--ink-soft)}.pz-board[aria-busy=true] button:disabled,.puzzle.is-solved .pz-board button:disabled{opacity:1}@media(max-width:560px){.scrim.pz-scrim{padding:12px}.scrim.pz-scrim>.panel.puzzle{padding:16px;max-height:calc(100dvh - 24px)}.pz-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;bottom:-16px;margin:10px -16px -16px;padding:8px 12px}.pz-tools>span{display:none}.pz-tools>.btn:last-child{grid-column:1/-1;margin-left:0}.pz-tools .btn{padding:7px 4px;font-size:.72rem}.pz-tools .control-label{gap:4px}.pz-tools .ui-icon{width:15px;height:15px}.pz-feedback{top:-16px;margin-inline:-16px;padding-inline:16px}.pz-order-kit .pz-slot .btn{padding:5px 9px}.pz-order-kit .pz-slot{min-height:88px}}.b-top{background:#392c40;color:#fff6e3;border-bottom:1px solid #c1a475}.b-top .btn,.b-top .b-history>summary{background:transparent;color:#fff6e3;border:0}.b-top .btn:hover:not(:disabled){background:#63465c}.b-top .pips{color:#f3acc1}.b-bottom{display:flex;flex-direction:column;min-height:0;max-height:43vh;background:var(--paper);border-top:1px solid var(--edge)}.b-panel,:root[data-text=xl] .b-panel{flex:1;min-height:0;max-height:none;overflow:auto;background:var(--paper)}.b-progress{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 14px;padding:0 0 12px;border-bottom:1px solid #ccb58f}.b-order.btn{min-width:0;min-height:48px;justify-content:start;text-align:left;padding:7px 12px;border-color:transparent;background:#ece0c6;font-size:.78rem}.b-order>span{display:block;min-width:0}.b-order b{color:#5b3b50}.b-order small{display:block;margin-top:3px;font-size:.9em;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.b-order.btn.current{background:#e5c7bd;border-color:#ac7180}.b-order.btn:disabled{opacity:.7}.b-order.btn.complete{background:#e2e8ce}.b-callout{flex:none;padding:9px 20px;border:0;border-bottom:1px solid #c8b18e;background:#eee0c2;color:var(--ink);font-size:.82rem;font-weight:700;text-align:center}.b-wait{display:grid;place-items:center;min-height:120px;padding:20px;text-align:center;font:600 1.2rem Fraunces,Georgia,serif;color:var(--rose)}.b-acts .act{border:1px solid #cbb591;background:#f2e5cb}.b-acts .act:hover:not(:disabled){border-color:#8d6a64;background:#fff9ed}.b-health{background:var(--paper)}.b-health .bar{background:#e3d6b8;border:1px solid #9e8b68}.b-health .bar .fill{background:#afc690}.b-health .bar .fill.low{background:#dfa28c}.b-enemy-readout .bar .fill.low{background:#e9b581}.battle .bar .fill{transform-origin:left center;transition:transform .22s ease-out}.battle{grid-template-rows:44px minmax(0,1fr) auto auto}.b-health{min-height:64px;gap:24px;align-items:start}.b-health .b-card{flex:1;max-width:550px;grid-template-columns:auto minmax(0,1fr);gap:5px 12px}.b-health .b-sub{grid-column:1/-1;flex-wrap:wrap;white-space:normal;gap:4px 10px}.hero-focus,.hero-shield,.hero-braced{white-space:nowrap}.p-health{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px;margin-top:5px;font-variant-numeric:tabular-nums}.p-health>span{white-space:nowrap}@media(max-width:560px){.battle{grid-template-rows:48px minmax(0,1fr) auto auto}.b-health{gap:14px}.b-health .b-card{gap:4px 8px}.b-health .b-sub{gap:3px 6px}.b-bottom{max-height:48vh}.b-panel,:root[data-text=xl] .b-panel{max-height:none}.b-progress{gap:7px;margin-bottom:10px;padding-bottom:9px}.b-order.btn{padding:6px 9px;font-size:.72rem}.b-order small{font-size:.88em}.b-callout{padding:8px 12px;font-size:.73rem}.b-wait{min-height:125px;font-size:1.06rem}}.b-panel[data-mode=preview] .b-progress{grid-column:1/-1}.b-panel[data-mode=special]:has(.b-aim-layout) .b-progress{display:none}.b-banner{width:max-content;max-width:calc(100% - 48px);animation:battle-banner-arrive .22s ease-out}.b-banner.phase{max-width:min(600px,calc(100% - 48px));padding:12px 20px;border-radius:8px;font-size:1.15rem;line-height:1.3}@keyframes battle-banner-arrive{0%{opacity:0;transform:translate(-50%,calc(-50% + 6px)) scale(.98)}to{opacity:1;transform:translate(-50%,-50%)}}.b-panel,:root[data-text=xl] .b-panel{border:0;border-radius:0;box-shadow:none}@media(max-width:560px){.b-stage{container-type:size;padding:72px 14px 96px}.b-hero-img,:root[data-text=xl] .b-hero-img{height:calc(clamp(54px,100cqh,124px) * var(--actor-scale,1))}.b-enemy-img,.b-enemy-img.boss,:root[data-text=xl] .b-enemy-img.boss{height:clamp(54px,100cqh,130px)}.b-acts{grid-template-columns:repeat(2,minmax(0,1fr))}.b-acts .btn{min-height:54px}.a-in b{font-size:.82em}}.b-stage{container-type:size;padding-top:110px;padding-bottom:116px}.b-hero-img{height:calc(clamp(64px,100cqh,250px) * var(--actor-scale,1))}.b-enemy-img{height:clamp(64px,100cqh,210px)}.b-enemy-img.boss{height:clamp(64px,100cqh,270px)}.b-panel[data-mode=preview]{grid-template-columns:minmax(0,1fr) auto}.b-panel[data-mode=preview] .b-progress{grid-column:1/-1;grid-row:1}.b-panel[data-mode=preview] .b-head,.b-panel[data-mode=preview] .p-line,.b-panel[data-mode=preview] .p-out,.b-panel[data-mode=preview] .p-note,.b-panel[data-mode=preview] .p-risk{grid-column:1}.b-panel[data-mode=preview] .b-confirm{grid-column:2;grid-row:2/span 4;align-self:center}@media(max-width:560px){.b-stage{padding-top:72px;padding-bottom:116px}.b-hero-img,:root[data-text=xl] .b-hero-img{height:calc(clamp(48px,100cqh,124px) * var(--actor-scale,1))}.b-enemy-img,.b-enemy-img.boss,:root[data-text=xl] .b-enemy-img.boss{height:clamp(48px,100cqh,130px)}.b-panel[data-mode=preview] .b-confirm{align-self:stretch}:root[data-text=xl] .b-stage{padding-bottom:128px}:root[data-text=xl] .b-hero-img{height:calc(clamp(60px,100cqh,124px) * var(--actor-scale,1))}:root[data-text=xl] .b-enemy-img,:root[data-text=xl] .b-enemy-img.boss{height:clamp(60px,100cqh,130px)}.b-enemy-info-inner:has(>:nth-child(2)) .b-name{max-width:52%;white-space:normal;overflow:visible;text-overflow:clip}.p-health{gap:4px 10px}.p-health>span{white-space:normal}}
