:root{color:#303a2d;font-synthesis:none;--ink:#303a2d;--paper:#eff0d5;--blue:#304e96;--violet:#68429b;--gold:#f2cf71;--line:#bec59c;--muted:#566044;background:#bfc69e;font-family:ui-rounded,SF Pro Rounded,Arial Rounded MT Bold,system-ui,sans-serif;font-weight:650}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{overscroll-behavior:none;width:100%;height:100%;margin:0;overflow:hidden}body{justify-content:center;display:flex}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;border:0}button:disabled{cursor:default}button:focus-visible,[role=button]:focus-visible{outline-offset:4px;outline:3px solid #a22e3b}button:active:not(:disabled){filter:brightness(.94)}button svg{flex-shrink:0;width:24px;height:24px}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.045em;font-weight:900}h1{font-size:29px;line-height:1.08}h2{font-size:24px;line-height:1.15}button.primary,button.secondary{border-radius:16px;justify-content:space-between;align-items:center;width:100%;min-height:53px;padding:13px 20px;font-size:17px;font-weight:850;display:flex}button.primary{background:var(--blue);color:#fff6d7;box-shadow:0 4px #213971}button.secondary{color:var(--ink);background:#dce0bb;justify-content:center;margin-top:16px}.text-button{text-underline-offset:3px;color:var(--muted);background:0 0;padding:7px 10px;font-size:12px;text-decoration:underline}.icon-button{background:#eff0d5;border:1.5px solid #aeb990;border-radius:14px;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid}.close-button{background:#dce1bd;border-radius:50%;flex-shrink:0;width:36px;height:36px;margin-left:auto;font-size:25px;line-height:1}[hidden]{display:none!important}#app{isolation:isolate;background:#dfe3c5;width:100%;max-width:480px;height:100dvh;position:relative;overflow:hidden}.map-screen,.battle-screen,.result-screen,.reward-screen,.error-screen{height:100%;padding-top:max(14px,env(safe-area-inset-top));padding-bottom:max(10px,env(safe-area-inset-bottom));flex-direction:column;display:flex;overflow:hidden}.wordmark{letter-spacing:-.075em;color:#303f31;font-size:43px;font-weight:950;line-height:1}.wordmark-dot{color:#6a744b;vertical-align:top;margin-left:7px;padding-top:3px;font-size:23px;display:inline-block;transform:rotate(-12deg)}.map-header{justify-content:space-between;align-items:center;padding:8px 22px 14px;display:flex}.map-header p{color:var(--muted);padding-top:5px;font-size:12px}.hero-chip{align-items:center;gap:9px;margin:0 22px 12px;font-size:12px;display:flex}.hero-chip b{color:var(--muted);padding-top:1px;font-size:11px;display:block}.hero-mini{background:var(--violet);color:#fff6d7;border:2px solid #fff4cf;border-radius:50%;outline:2px solid #73588c;flex-shrink:0;place-items:center;width:33px;height:33px;font-size:11px;font-weight:900;display:grid}.hero-leaf{color:#6f7f50;margin-left:auto;font-size:31px;line-height:1}.map-scroll{scrollbar-width:none;background:#d4dcb4;flex:1;min-height:0;overflow:hidden auto;box-shadow:inset 0 5px 10px #64704410;-webkit-mask-image:linear-gradient(#0000,#000 15px calc(100% - 15px),#0000);mask-image:linear-gradient(#0000,#000 15px calc(100% - 15px),#0000)}.map-scroll::-webkit-scrollbar{display:none}.map-land{width:100%;max-width:430px;margin:auto;position:relative}.map-drawing{width:100%;height:100%;position:absolute;inset:0;overflow:visible}.river-bank{stroke:#b5c5a2;stroke-width:49px;fill:none}.map-river{stroke:#8fbab1;stroke-width:33px;fill:none;stroke-dasharray:5 1}.trail-shadow{stroke:#aab387;stroke-width:24px;stroke-linecap:round;stroke-linejoin:round;fill:none}.trail{stroke:#e4d5a2;stroke-width:16px;stroke-linecap:round;stroke-linejoin:round;fill:none;stroke-dasharray:5 5}.map-fort{fill:#8e9877;stroke:#647451;stroke-width:3px;stroke-linejoin:round}.map-node{z-index:1;background:0 0;flex-direction:column;align-items:center;min-width:135px;padding:0;display:flex;position:absolute;transform:translate(-50%,-50%)}.node-disc{color:#566341;background:#eef0d6;border:3px solid #a5ae7a;border-radius:22px;place-items:center;width:57px;height:57px;font-size:25px;font-weight:900;display:grid;transform:rotate(-5deg);box-shadow:0 5px #9ca677}.node-disc svg{width:22px;height:22px}.map-node.open .node-disc{background:var(--blue);color:#fff6ce;border:4px solid #fff0bc;outline:3px solid #607958;box-shadow:0 5px #607958}.map-node.cleared .node-disc{color:#fff8d9;background:#627d55;border-color:#eef0ce}.map-node.locked .node-disc{color:#647254;background:#c0c8a8;border-color:#b1bb97;box-shadow:0 4px #aab592}.map-node.locked .node-name{color:#58694b}.stars{color:#7e8965;letter-spacing:0;gap:3px;font-size:15px;line-height:1;display:inline-flex}.stars .earned{color:#79551a;text-shadow:0 1px #fff0b3}.map-node .stars{margin-top:9px;font-size:14px}.node-name{white-space:nowrap;background:#d4dcb4d9;border-radius:7px;margin-top:1px;padding:3px 7px;font-size:12px;font-weight:850}.you-are-here{color:#54472b;background:#fff0bf;border-radius:10px;margin-top:3px;padding:3px 8px;font-size:11px;box-shadow:0 1px #aaad7c}.map-start{text-align:center;width:100%;font-size:13px;font-weight:850;position:absolute;bottom:15px}.map-start span{color:var(--muted);padding-top:3px;font-size:11px;display:block}.map-footer{color:var(--muted);align-items:center;gap:9px;padding:12px 22px 2px;font-size:11px;display:flex}.map-footer>span:last-child{margin-left:auto}.tiny-flag svg{fill:#8c9a69;stroke:#617449;stroke-width:1.5px;width:19px;height:19px;display:block}.sheet-backdrop{z-index:50;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#25332370;align-items:flex-end;animation:.15s ease-out fade-in;display:flex;position:absolute;inset:0}.sheet{width:100%;max-height:calc(100% - 30px - env(safe-area-inset-top));padding:12px 24px max(27px,env(safe-area-inset-bottom));background:var(--paper);border-radius:28px 28px 0 0;animation:.2s ease-out sheet-up;overflow:auto;box-shadow:0 -8px 40px #26322720}.sheet-grip{background:#c3c9a7;border-radius:4px;width:36px;height:4px;margin:0 auto 23px}.sheet-heading{align-items:center;gap:12px;display:flex}.sheet-heading h1{font-size:26px}.sheet-heading p{color:var(--muted);margin-bottom:4px;font-size:11px}.level-tag{background:#d8dfb8;border-radius:13px;flex-shrink:0;place-items:center;width:40px;height:45px;font-size:23px;font-weight:900;display:grid;transform:rotate(-5deg)}.story{font-size:calc(14px * var(--type,1));color:#566044;margin:20px 0;line-height:1.55}.objective-line{align-items:center;gap:9px;margin-bottom:12px;font-size:15px;display:flex}.objective-line svg{fill:#718859;stroke:#4f6745;stroke-width:1.6px;width:20px;height:24px}.star-rules{font-size:calc(13px * var(--type,1));margin:12px 0 20px;padding:0;line-height:1.5;list-style:none}.star-rules li{align-items:center;gap:9px;padding:3px 0;display:flex}.star-rules li>span{color:#6c734e;width:19px;font-size:20px;line-height:1}.unlocks{color:#533c7c;background:#ddd9ea;border-radius:10px;margin-bottom:17px;padding:9px 12px;font-size:12px}.deck-heading{justify-content:space-between;align-items:baseline;gap:8px;font-size:13px;display:flex}.deck-heading small{color:var(--muted);font-size:11px;font-weight:600}.deck-chips{flex-wrap:wrap;gap:6px;margin:10px 0 23px;display:flex}.deck-chips span{background:var(--blue);color:#fff4d5;border-radius:9px;padding:8px 9px;font-size:11px;font-weight:850}.sheet>h2{margin-bottom:15px}.sheet>h3{margin-top:26px;font-size:16px}.sheet>p{color:var(--muted);margin-bottom:18px;font-size:14px;line-height:1.5}.reset-button{margin:22px auto 0;display:block}.battle-screen{touch-action:none;padding-top:max(10px,env(safe-area-inset-top));padding-bottom:max(8px,env(safe-area-inset-bottom));background:#d3d9b7}.battle-header{flex-shrink:0;align-items:center;gap:12px;min-height:92px;padding:0 16px 8px;display:flex}.objective-copy{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.objective-status{align-items:center;gap:10px;display:flex}.objective-status strong{letter-spacing:-.04em;font-size:22px;font-weight:900;line-height:1.1}.hero-rosters{gap:10px;display:flex}.hero-roster{flex-direction:column;flex:1;align-items:flex-start;gap:3px;min-width:0;display:flex}.roster-label{color:var(--muted);flex-shrink:0;width:29px;font-size:11px}.roster-badges{gap:4px;display:flex}.roster-hero{background:var(--violet);color:#fff6d7;border:1px solid #fff1bf;border-radius:50%;outline:1px solid #71669b;flex-shrink:0;justify-content:center;align-items:center;width:23px;height:24px;font-size:11px;font-weight:950;display:flex;position:relative}.enemy .roster-hero{background:#8b2346;outline-color:#a76865}.roster-hp{background:#172628;border-radius:1px;height:2px;position:absolute;bottom:3px;left:3px;right:3px;overflow:hidden}.roster-hp i{background:#bcd989;height:100%;display:block}.roster-hero.fallen{color:#fff8df;background:#848574;outline-color:#8b8e79}.roster-hero.fallen:after{content:"";border-radius:inherit;background:linear-gradient(45deg,#0000 45%,#fff3cf 47% 53%,#0000 55%),linear-gradient(-45deg,#0000 45%,#fff3cf 47% 53%,#0000 55%);position:absolute;inset:1px}.battle-header .icon-button{border-radius:12px;width:38px;height:38px}.dusk-mark{color:#593b30;white-space:nowrap;font-size:12px}.dusk-mark.active{color:#5e4152;font-weight:700}.battlefield{background:#77815f;border-radius:24px 24px 18px 18px;flex:1;justify-content:center;min-height:0;margin:0 8px;display:flex;position:relative;overflow:hidden;box-shadow:inset 0 2px #64714e}.board-wrap{justify-content:center;align-items:center;width:100%;height:100%;padding:7px;display:flex}#board{touch-action:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;overflow:visible}.cell polygon{fill:#a7b86f;stroke:#6f7d4f;stroke-width:1.3px;stroke-linejoin:round}.cell.road polygon{fill:#d8c59a;stroke:#8d7a52}.cell.rock polygon{fill:#6d7d4b;stroke:#55623f}.rock-face{fill:#797e75;stroke:#b5b8a6;stroke-width:1.4px;stroke-linejoin:round}.ripples{stroke:#bad5c7;stroke-width:1.5px;fill:none;stroke-linecap:round}.cell.bridge polygon{fill:#d8c59a;stroke:#8d7a52}.planks{stroke:#d5c08b;stroke-width:6px;stroke-linecap:square}.deploy-anchor{fill:none;stroke:#f6ffa8;stroke-width:2.8px;stroke-dasharray:5 3;filter:drop-shadow(0 0 3px #eeffb6);pointer-events:none}.unit{cursor:pointer;outline-offset:0;touch-action:none}.unit .badge{transform-box:view-box}.hp-track{fill:#172628}.hp-fill{fill:#bcd989}.enemy .hp-fill{fill:#f0a3a3}.hero-ring{fill:none;stroke:#fff1bf;stroke-width:1.6px}.ready-ring{fill:none;stroke:#ffea8c;stroke-width:2px;filter:drop-shadow(0 0 3px #fff2a5)}.cooldown{fill:#344537;stroke:#e7e9c8;stroke-width:.45px}.cooldown.filled{fill:#fff0a5;stroke:#fff5c9}.shield path:first-child{fill:#eff0d5;stroke:#344b66;stroke-width:1px}.shield path:last-child{fill:none;stroke:#344b66;stroke-width:1px}.hold-mark circle{fill:#fff4d2;stroke:#576649;stroke-width:.7px}.hold-mark path{stroke:#3c4c3c;stroke-width:1.2px;fill:none;stroke-linecap:round;stroke-linejoin:round}.hold-mark rect{fill:#a67f57;stroke:#644e37;stroke-width:.6px}.crosshair{fill:none;stroke:#fff4bd;stroke-width:1.6px;pointer-events:none}.target-thread{fill:none;stroke:#f5e3ac;stroke-width:1px;stroke-dasharray:3 3;opacity:.7;pointer-events:none}#preview{pointer-events:none}.ghost{opacity:.7;filter:drop-shadow(0 0 4px #fff6d7);pointer-events:none}.preview-arrow{stroke:#fff6bb;stroke-width:2.3px;fill:none;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 1px #34462b)}.preview-number,.preview-guard{fill:#fff4d7;paint-order:stroke;stroke:#4d4433;stroke-width:3px;stroke-linejoin:round;font-size:11px;font-weight:950}.preview-number.heal{fill:#bcf3c8;stroke:#355b3b}.preview-death{stroke:#fff3c4;stroke-width:3px;stroke-linecap:round;filter:drop-shadow(0 1px 1px #642e31)}.event-number{text-anchor:middle;paint-order:stroke;stroke:#3b3c2b;stroke-width:3px;stroke-linejoin:round;font-size:13px;font-weight:950}.splash-ring{stroke:#ffe6a3;stroke-width:3px;fill:#fbe4a455}.turn-banner{text-align:center;color:#fff4cf;pointer-events:none;opacity:0;background:#2a468f;border-radius:15px;padding:13px 10px;font-size:19px;font-weight:900;position:absolute;top:43%;left:16px;right:16px;box-shadow:0 4px #26332350}.turn-banner.visible{opacity:1}.turn-banner[data-side=dusk]{background:#5e4152;font-size:14px}.dusk-active .battlefield{background:#6f6652}.dusk-active #terrain{filter:sepia(.3)brightness(.81)}.battle-hint{color:#465337;text-align:center;flex-shrink:0;place-items:center;min-height:29px;padding:3px 12px;font-size:11px;display:grid}.battle-footer{background:#e9eccd;border-radius:20px 20px 15px 15px;flex-shrink:0;margin:0 8px;padding:10px 10px 3px}.hand-caption{color:#566044;justify-content:space-between;padding:0 1px 8px;font-size:11px;display:flex}.hand-caption span:first-child{color:#303a2d;font-weight:900}.hand-row{align-items:center;gap:7px;display:flex}.hand{flex:1;gap:5px;min-width:0;display:flex}.card-disc{background:var(--blue);color:#fff4d7;border:1.5px solid #fff1ce;border-radius:50%;flex-shrink:0;place-items:center;width:33px;height:33px;font-size:11px;font-weight:900;display:grid}.card-disc.violet{background:var(--violet)}.next-card{flex-direction:column;flex-shrink:0;justify-content:center;align-self:stretch;align-items:center;gap:5px;width:32px;display:flex}.next-card>div{color:#3d4f38;background:#cbd4b5;border:1.5px dashed #7f916a;border-radius:8px;place-items:center;width:28px;height:39px;font-size:11px;font-weight:850;display:grid}.wait-button{background:#d4d8b5;border-radius:12px;flex-direction:column;flex-shrink:0;justify-content:center;align-self:stretch;align-items:center;gap:6px;width:46px;font-size:11px;font-weight:900;display:flex;box-shadow:0 3px #acb48c}.wait-button span{color:#61724a;letter-spacing:-3px;margin-right:3px;font-size:11px}.wait-button:disabled{opacity:.65}.battle-bottom{color:#59644c;justify-content:space-between;align-items:center;min-height:27px;padding-left:1px;font-size:11px;display:flex}.battle-bottom .text-button{padding:5px 1px;font-size:11px}.drag-token{z-index:60;background:var(--blue);color:#fff6d7;pointer-events:none;border:3px solid #fff0be;border-radius:14px;place-items:center;width:53px;height:62px;font-size:16px;font-weight:950;display:grid;position:fixed;transform:translate(-50%,-50%)rotate(-7deg);box-shadow:0 9px 18px #25352e66}.command-chooser{z-index:20;white-space:nowrap;background:#fff0c6;border:2px solid #62734e;border-radius:13px;align-items:center;gap:3px;padding:4px;display:flex;position:absolute;box-shadow:0 4px #314b3333}.command-chooser strong{padding:0 5px;font-size:11px}.command-chooser button{background:#e1dfb7;border-radius:7px;padding:7px;font-size:11px}.inspection{z-index:70;perspective:1100px;pointer-events:none;background:#1f2340b8;flex-direction:column;justify-content:center;align-items:center;gap:14px;display:flex;position:absolute;inset:0}.flip-card{width:min(310px,100% - 44px);height:480px;max-height:calc(100% - 110px);transform-style:preserve-3d;transition:transform var(--flip-turn,.3s) cubic-bezier(.45,0,.55,1);position:relative}.inspection.flipped .flip-card{transition-delay:var(--flip-delay,0s);transform:rotateY(180deg)}.inspection.flipped .card-front{visibility:hidden;transition:visibility 0s calc(var(--flip-delay,0s) + var(--flip-turn,.3s))}.card-front,.card-back{backface-visibility:hidden;background:#eff0d5;border:4px solid #f6e8b9;border-radius:25px;position:absolute;inset:0;overflow:hidden;box-shadow:0 12px 25px #1c2d3440}.card-front{background:var(--blue);color:#fff1ca;place-items:center;font-size:70px;font-weight:950;display:grid;transform:translateZ(0)}.card-back{flex-direction:column;padding:20px;display:flex;transform:rotateY(180deg)}.back-heading{align-items:center;gap:10px;margin-bottom:19px;display:flex}.back-heading .card-disc{width:43px;height:43px;font-size:12px}.back-heading h2{font-size:24px}.back-heading p{color:var(--muted);margin-top:3px;font-size:12px}.stats{border-top:1.5px solid #c1c8a2;border-bottom:1.5px solid #c1c8a2;justify-content:space-between;padding:12px 0;display:flex}.stats>div{flex-direction:column;align-items:center;gap:3px;min-width:38px;display:flex}.stats strong{font-size:21px;font-weight:900;line-height:1}.stats span{color:var(--muted);font-size:11px}.move-mode{margin:13px 0 9px;font-size:12px;font-weight:850}.traits{flex-wrap:wrap;gap:4px;margin-bottom:12px;display:flex}.traits span{background:#dae0ba;border-radius:5px;padding:4px 6px;font-size:11px}.special-info{color:#49366c;background:#ddd9eb;border-radius:10px;margin-bottom:10px;padding:10px}.special-info>strong{justify-content:space-between;align-items:center;gap:6px;font-size:12px;display:flex}.special-info small{font-size:11px;font-weight:650}.special-info p{margin-top:4px;font-size:11px;line-height:1.4}.deploy-rule{margin-bottom:7px;font-size:11px;font-weight:900}.card-text{color:var(--muted);font-size:12px;line-height:1.45}.no-upgrade{color:var(--muted);margin-top:auto;padding-top:10px;font-size:11px}.upgrade-list{border-top:1px solid #c1c8a2;flex-wrap:wrap;gap:5px;margin-top:10px;padding-top:10px;display:flex}.upgrade-chip{background:#f3e3b4;border-radius:7px;padding:4px 8px 4px 5px;font-size:12px;line-height:1.3;display:inline-block}.upgrade-chip strong{font-weight:900}.stats strong{position:relative}.stat-gain{color:#3f7d2c;white-space:nowrap;margin-left:2px;font-size:11px;font-style:normal;font-weight:900;position:absolute;top:-3px;left:100%}.inspection-hint{color:#fff1d1;text-align:center;font-size:12px}.inspection.tapped{pointer-events:auto;cursor:pointer}.inspection.closing{pointer-events:none}.result-screen,.reward-screen{text-align:center;background:#e6e9c9;align-items:center;padding-left:26px;padding-right:26px;position:relative}.result-road{z-index:-1;background:repeating-linear-gradient(#0000 0 20px,#acba8b44 20px 32px) 50%/12px 100% no-repeat;position:absolute;inset:0;transform:rotate(17deg)}.result-emblem{color:#fff0bd;background:#58754d;border:5px solid #f4e7b7;border-radius:32px;outline:2px solid #829565;place-items:center;width:90px;height:90px;margin-top:auto;margin-bottom:26px;display:grid;transform:rotate(-7deg);box-shadow:0 6px #bcc69b}.result-emblem svg{fill:#fff0bd;stroke:#fff0bd;stroke-width:1.8px;width:49px;height:49px}.lost .result-emblem{background:#7c5262;font-size:56px}.result-screen h1{font-size:37px}.result-reason{color:var(--muted);max-width:280px;margin-top:10px;font-size:13px;line-height:1.5}.result-stars .stars span{animation:.4s .1s both star-in;display:inline-block}.result-screen .star-rules{text-align:left;margin-bottom:22px;font-size:14px}.hero-result{text-align:left;background:#d4dcba;border-radius:15px;align-items:center;gap:12px;margin-bottom:auto;padding:13px 20px;font-size:12px;display:flex}.hero-result strong{color:#566044;margin-top:3px;font-size:11px;display:block}.result-screen>.primary{margin:25px 0 19px}.reward-screen{justify-content:center;gap:12px}.reward-kicker{color:var(--muted);font-size:11px}.reward-screen>p:not(.reward-kicker){color:var(--muted);font-size:13px;line-height:1.5}.reward-options{perspective:1000px;justify-content:center;gap:12px;width:100%;margin:20px 0 22px;display:flex}.reward-option{background:#f6f2d9;border:3px solid #b7c398;border-radius:24px;flex-direction:column;align-items:center;width:240px;min-width:0;max-width:100%;padding:24px 18px;display:flex;box-shadow:0 5px #9ba981}.reward-disc{background:var(--violet);color:#fff2cf;border:3px solid #fff0c1;border-radius:50%;outline:2px solid #8466a1;place-items:center;width:82px;height:82px;margin:5px 0 23px;font-size:24px;font-weight:950;display:grid}.reward-option>small{color:var(--muted);margin-bottom:6px;font-size:11px}.reward-option h2{margin-bottom:10px;font-size:25px}.reward-option p{font-size:calc(13px * var(--type,1));color:var(--muted);line-height:1.5}.choose-label{background:var(--blue);color:#fff2d0;border-radius:10px;width:100%;margin-top:22px;padding:9px 12px;font-size:13px}.card-reveal{transform-style:preserve-3d;animation:.7s ease-out both reward-flip}.reward-screen .reward-footnote{max-width:230px;font-size:11px!important}.error-screen{justify-content:center;gap:24px;padding:50px 24px}.error-screen p{font-size:calc(14px * var(--type,1));line-height:1.5}.error-toast{z-index:90;bottom:max(20px,env(safe-area-inset-bottom));color:#fff5d5;background:#8a293d;border-radius:15px;align-items:center;gap:8px;padding:14px 10px 14px 16px;font-size:12px;display:flex;position:absolute;left:15px;right:15px;box-shadow:0 5px 20px #34413450}.error-toast>span{overflow-wrap:anywhere;flex:1}.error-toast button{color:#fff2d1;background:0 0;padding:4px;font-size:24px}#landscape{z-index:200;text-align:center;background:#dfe3c5;flex-direction:column;justify-content:center;align-items:center;gap:14px;display:none;position:fixed;inset:0}#landscape>svg{width:78px;height:78px;color:var(--blue)}#landscape h1{font-size:27px}#landscape p{color:var(--muted);font-size:13px}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes sheet-up{0%{transform:translateY(35px)}to{transform:translateY(0)}}@keyframes star-in{0%{opacity:0;transform:scale(.3)}to{opacity:1;transform:scale(1)}}@keyframes reward-flip{0%{opacity:0;transform:rotateY(-180deg)}to{opacity:1;transform:rotateY(0)}}@media (height<=790px){.battle-header{min-height:88px}.battle-footer{padding-top:8px}.hand-caption{padding-bottom:6px}.battle-hint{min-height:25px;font-size:11px}.result-emblem{width:76px;height:76px;margin-bottom:18px}.result-stars{margin-top:20px}.result-screen h1{font-size:33px}.sheet-grip{margin-bottom:16px}.story{margin:15px 0}.sheet .star-rules{margin-bottom:15px}.deck-chips{margin-bottom:18px}}@media (width<=370px){.hand-row{gap:5px}.hand{gap:4px}.battle-footer{padding-left:8px;padding-right:8px}.wait-button{width:41px}.next-card{width:27px}.sheet{padding-left:20px;padding-right:20px}.sheet-heading h1{font-size:24px}.reward-screen{padding-left:20px;padding-right:20px}.deck-heading small{font-size:11px}}@media (orientation:landscape){#landscape{display:flex}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation-duration:.12s!important;animation-delay:0s!important}.sheet,.card-reveal,.result-stars .stars span{animation-name:fade-in}.flip-card{transform:none!important}.inspection.flipped .card-front,.inspection:not(.flipped) .card-back{display:none}.card-back{backface-visibility:visible;transform:none}}.cell.water polygon{fill:#8fb9b3;stroke:#78a49e}.cell.legal polygon{fill:#cae5a0;stroke:#f7f1c0;stroke-width:2.4px}.cell.hovered.legal polygon{fill:#f5e7a6;stroke:#fff5d7;stroke-width:3px}.objective-status strong.banked{animation:.1s cubic-bezier(.2,.8,.3,1) objective-bank;display:inline-block}@keyframes objective-bank{50%{transform:scale(1.08)}}@media (prefers-reduced-motion:reduce){.objective-status strong.banked{animation:.117s linear objective-bank-fade}}@keyframes objective-bank-fade{0%{opacity:.4}}:root{--ink:#343c39;--paper:#fff4d8;--blue:#5265bc;--violet:#7555ad;--gold:#ecc679;--muted:#65705c;color:var(--ink);background:#243d3d}button.primary{background:linear-gradient(#667ace,#4657a8);border:1px solid #8494de;border-bottom:3px solid #394784;border-radius:15px;min-height:56px;box-shadow:0 4px #293769,0 7px 14px #26375822}.icon-button{color:#535c83;background:#fff3d8;border:1px solid #fff8e8;box-shadow:0 3px #a1a17d}.map-screen{padding-top:max(22px,env(safe-area-inset-top));background:radial-gradient(at 50% 35%,#f3e5bc,#e8dfbd)}.wordmark{letter-spacing:-3px;color:#385359;text-shadow:0 2px #fff9e6;font-family:Georgia,serif;font-size:48px;font-style:italic}.wordmark-dot{color:#8eac71;letter-spacing:0;font-size:25px}.map-header p{color:#62725e;font-size:13px}.map-scroll{background:linear-gradient(90deg,#c1d0a8,#e7e4b8 48%,#c2cea4);border-radius:22px;margin:0 12px;box-shadow:inset 0 0 40px #4d775d25}.map-land:before,.map-land:after{content:"";opacity:.45;pointer-events:none;background:radial-gradient(#427862 0 14%,#648c6c 15% 24%,#0000 25%) 0 0/64px 122px;width:35%;position:absolute;top:0;bottom:40px}.map-land:before{left:-30px;transform:rotate(3deg)}.map-land:after{right:-30px;transform:rotate(-4deg)}.hero-chip{background:#fff3d575;border:1px solid #f9f2d9;border-radius:16px;margin:0 22px 12px;padding:9px 12px;font-size:13px}.hero-chip b{font-size:12px}.hero-mini{width:39px;height:39px}.trail-shadow{stroke:#b9aa79;stroke-width:29px}.trail{stroke:#f8e7bd;stroke-width:21px;stroke-dasharray:2 4}.node-disc{color:#5b6e56;background:#eee8c8;border-color:#f6efd2;border-radius:20px;width:62px;height:64px;box-shadow:0 6px #91a17b,0 12px 14px #344d3c25}.map-node.open .node-disc{background:linear-gradient(#7f8bcc,#5365b2);border-color:#fff0c4;outline:0;box-shadow:0 6px #3e4d84,0 10px 24px #5b70c54d}.map-node.locked .node-disc{color:#445941;background:#a8bb97;border-color:#c7d0ae}.node-name{white-space:normal;text-align:center;color:#42513b;background:#e4e6bbd9;max-width:190px;font-size:13px}.you-are-here{color:#67552f;background:#fff0c9;margin-top:5px;padding:4px 11px;font-size:12px}.map-footer{padding:15px 23px 5px;font-size:12px}.map-start{color:#4e634a;font-family:Georgia,serif;font-size:18px}.map-start span{margin-top:4px;font:12px system-ui}.sheet{background:linear-gradient(135deg,#fff7e4,#f5e8c6);border:1px solid #fff9e9;padding-top:11px}.sheet-heading h1{letter-spacing:-1px;font-family:Georgia,serif;font-weight:700}.sheet-heading p{font-size:12px}.level-tag{color:#fff1c7;background:#6879b7;border:2px solid #f6d687}.deck-heading{font-size:14px}.deck-heading small{font-size:11px}.deck-chips span{background:linear-gradient(#9cadd1,#5b6db3);border:2px solid #f0cf87;border-radius:10px;width:43px;height:57px;padding:3px;box-shadow:0 3px #6b6e79}.deck-chips img{object-fit:contain;width:100%;height:100%}.star-rules{font-size:13px}.battle-screen{padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(9px,env(safe-area-inset-bottom));background:#e8e6ca}.battle-header{z-index:3;gap:10px;min-height:102px;padding:0 18px 10px;position:relative}.objective-status strong{color:#454f46;letter-spacing:-.7px;font-family:Georgia,serif;font-size:23px}.objective-status{flex-wrap:wrap;row-gap:4px}.roster-label{color:#535f52;width:28px;font-size:11px}.roster-hero{border-width:2px;outline-width:0;width:29px;height:29px;overflow:hidden;box-shadow:0 2px #7c80a0}.roster-hero>span:first-child{width:25px;height:25px}.roster-hero img{object-fit:contain;filter:drop-shadow(0 1px 1px #2228);width:100%;height:100%}.roster-hero:not(.tower) img{object-fit:cover;object-position:50% 6%;transform-origin:50% 16%;transform:scale(1.6)}.roster-hp{height:3px;bottom:1px;left:2px;right:2px}.battle-screen{position:relative}.battlefield{z-index:0;box-shadow:none;isolation:isolate;background:#a7cbb5;border-radius:0;margin:0;position:absolute;inset:0;overflow:hidden}.world-host{z-index:1;touch-action:none;position:absolute;inset:0}.world-host canvas{width:100%;height:100%;display:block}.battlefield:before{content:"";z-index:2;pointer-events:none;height:calc(96px + env(safe-area-inset-top));background:linear-gradient(#f4e8cf59,#f4e8cf00);position:absolute;top:0;left:0;right:0}.world-labels{z-index:3;pointer-events:none;position:absolute;inset:0;overflow:hidden}.world-hero{white-space:nowrap;text-shadow:0 1px 2px #f6f6d6,0 -1px 2px #f6f6d6;color:#354e54;font-size:11px;font-weight:850;position:absolute;top:0;left:0}.board-wrap{opacity:0;pointer-events:none;z-index:-1;padding:0;position:absolute;inset:0}.turn-banner{z-index:6;background:#5664aee8;border:2px solid #ecddbc;font-size:17px;top:35%;left:55px;right:55px;box-shadow:0 4px #38487e55}.battle-screen:after{content:attr(data-chapter);z-index:4;pointer-events:none;color:#6c5b3c;clip-path:polygon(0 0,100% 0,96% 50%,100% 100%,0 100%,4% 50%);white-space:nowrap;background:#fff1d8ed;padding:5px 19px 7px;font:italic 16px Georgia,serif;position:absolute;top:108px;left:50%;transform:translate(-50%)}.battle-hint{color:#596756;z-index:4;background:#e8e6ca;border-top:1px solid #d4dbba;height:36px;min-height:36px;padding:0 8px;font-size:13px}.battle-footer{z-index:4;background:linear-gradient(#fff2d8,#f0e4c5);border:1px solid #fff9e6;border-radius:19px 19px 14px 14px;margin:0 9px;padding:11px 10px 4px;box-shadow:0 -3px 15px #42634e14}.hand-caption{color:#74735f;padding-bottom:9px;font-size:12px}.hand-row{align-items:stretch;gap:6px}.hand{gap:5px}.next-card{opacity:.85;gap:3px;width:29px}.next-card>span{color:#5e6756;font-size:11px}.next-card>div{background:#d8ddc1;border-color:#a1ad84;width:28px;height:50px}.next-card img{object-fit:contain;width:100%;height:100%}.wait-button{color:#526047;background:#e1dabb;border-radius:11px;width:44px;font-size:12px;box-shadow:0 3px #a7a486}.battle-bottom{color:#68705f;min-height:29px;padding-top:3px;font-size:11px}.battle-bottom .text-button{min-height:27px;padding:4px 5px;font-size:12px}.dusk-mark{font-size:12px}.dusk-mark.active{color:#8e4e57;background:#edc8ae;border-radius:8px;padding:4px 6px}.drag-token{opacity:.85;z-index:45;background:#6984adcf;border:2px solid #eafaff;width:50px;height:58px;box-shadow:0 8px 16px #204f5370}.drag-token img{object-fit:contain;width:100%;height:100%}.drag-aim{pointer-events:none;z-index:46;width:100%;height:100%;position:fixed;inset:0;overflow:visible}.drag-aim path{fill:none;stroke-linecap:round}.aim-shadow{stroke:#3b2d16;stroke-width:5px}.aim-stem{stroke:#fff3b8;stroke-width:2px}.aim-finger{fill:#fff3b8;stroke:#3b2d16;stroke-width:2px}.aim-point{fill:#4d3a3f;stroke:#ffd3c2;stroke-width:2px}.drag-aim[data-legal=true] .aim-point{fill:#ffcf4a;stroke:#3b2d16}.drag-aim[data-denied=true] .aim-point{fill:#ff4d55;stroke:#3a1013}.drag-aim[data-denied=true] .aim-stem{stroke:#ffd0d2}.drag-token.denied{background:#7a3a4acf;border-color:#ff4d55;box-shadow:0 0 0 2px #3a1013,0 8px 16px #3a101370}.drag-token.denied:after{content:"";background:#ff4d55 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 6l8 8M14 6l-8 8' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 50%/100% no-repeat;border:2px solid #3a1013;border-radius:50%;width:20px;height:20px;position:absolute;top:-9px;right:-9px}.drag-token.returning{transition:none}.drag-reason{z-index:47;pointer-events:none;color:#ffe3e4;white-space:nowrap;background:#3a1013;border:2px solid #ff4d55;border-radius:999px;padding:4px 9px;font-size:13px;font-weight:850;line-height:1.15;position:fixed;box-shadow:0 4px 10px #3a101366}.card-back .card-disc{overflow:hidden}.command-chooser{z-index:30;background:#fff1d5;border-color:#8192a6}.inspection{z-index:70}.result-screen,.reward-screen{color:#3c5148;background:radial-gradient(at 50% 35%,#fff5d4,#d8dfb9)}.result-emblem{background:linear-gradient(#95b78c,#4c7a64);border-color:#fff4d2;box-shadow:0 7px #acb998,0 13px 25px #5d7e6630}.result-stars .stars .earned{color:#c08d3e;text-shadow:0 2px #fff8d1}.hero-result{background:#edf0d4;border:1px solid #fff7db}@media (height<=740px){.battle-header{min-height:92px}.battle-screen:after{top:98px}.battle-footer{padding-top:7px}.hand-caption{padding-bottom:6px}.battle-hint{height:32px;min-height:32px}}@media (prefers-reduced-motion:reduce){.sheet-backdrop,.sheet{animation:.12s fade-in}.inspection .flip-card{transition:opacity .12s;transform:none}.inspection.flipped .flip-card{transform:none}.inspection.flipped .card-front,.inspection:not(.flipped) .card-back{display:none}.inspection .card-back{transform:none}.result-stars .stars span,.card-reveal{animation:.12s both fade-in}}.battle-hint{pointer-events:none;background:linear-gradient(#e8e6ca00 30%,#e8e6cae0 72%);border-top:0;gap:3px;height:54px;min-height:54px;margin-top:auto;padding:4px 8px;position:relative}.battle-hint>span{font-size:12px;line-height:15px}.wave-strip{color:#65725e;justify-content:center;align-items:center;gap:7px;font-size:12px;line-height:19px;display:flex}.wave-strip>span{text-align:left;min-width:105px}.wave-strip b{color:#6b654c;background:#e2d9b5;border-radius:50%;place-items:center;width:17px;height:17px;margin-right:3px;font-size:11px;display:inline-grid}.is-playing .wave-strip>span.active{color:#4d55a3;font-weight:850}.world-hero{font-size:12px}.hand-row{width:100%}.battle-bottom{gap:10px;min-height:48px;padding-top:6px;font-size:12px}.next-card{opacity:1;flex-direction:row;gap:6px;width:auto}.next-card>span{font-size:12px}.wait-button{flex-direction:row;align-self:center;gap:7px;width:83px;min-height:40px;font-size:13px}.wait-button span{font-size:12px}.deck-heading small,.stats span,.traits span,.special-info small,.special-info p,.deploy-rule,.no-upgrade,.reward-screen .reward-footnote{font-size:13px!important}.roster-label{width:auto;font-size:12px}.hero-roster{flex-direction:column;align-items:flex-start;gap:3px}.hero-rosters{gap:12px}.roster-badges{gap:3px}.flip-card{height:600px;max-height:calc(100% - 150px)}.battle-header{min-height:112px}.battle-screen:after{white-space:normal;text-align:center;max-width:90%;top:114px}@media (height<=740px){.battle-header{min-height:104px}.battle-screen:after{top:106px}.battle-bottom{min-height:44px}.hand-caption{padding-bottom:5px}}@media (width<=370px){.deck-heading{align-items:center}.deck-heading small{text-align:right;max-width:150px}}.icon-button,.battle-header .icon-button,.close-button{width:44px;min-width:44px;height:44px;min-height:44px}.wait-button{min-height:44px}.turn-banner{padding:9px 12px;font-size:15px;top:12px;left:30px;right:30px;box-shadow:0 2px #38487e40}.turn-banner[data-side=enemy]{background:#873e50}.world-hero{text-shadow:none;color:#344d45;white-space:nowrap;text-align:center;background:#fff5d9e8;border-radius:5px;max-width:150px;padding:0 4px;font-size:12px;line-height:15px}.world-hero.enemy{color:#63344c}.map-node.locked{opacity:1}.wait-button:disabled{opacity:1;color:#617056;box-shadow:0 2px #b4b197}.battle-screen.is-playing:after{visibility:hidden}.result-screen{padding:0 22px max(22px,env(safe-area-inset-bottom));gap:0;overflow-y:auto}.result-scene{background:#c8cf9e;flex-shrink:0;width:calc(100% + 44px);height:190px;margin-bottom:17px;position:relative;overflow:hidden}.result-scene>img{object-fit:cover;object-position:center bottom;opacity:.9;width:100%;height:100%;display:block;-webkit-mask-image:linear-gradient(#000 76%,#0000);mask-image:linear-gradient(#000 76%,#0000)}.result-scene .result-emblem{border-width:3px;border-radius:18px;outline-width:1px;width:51px;height:51px;margin:0;position:absolute;bottom:8px;right:25px;box-shadow:0 4px #acb998}.result-scene .result-emblem svg{width:28px;height:28px}.lost .result-scene .result-emblem svg{fill:none;stroke-width:2.2px}.result-level{color:#596a55;margin-bottom:5px;font-size:13px}.result-screen h1{font-size:34px;line-height:1.1}.result-reason{max-width:310px;margin:8px auto 0;font-size:14px}.result-stars{margin:19px 0 10px}.result-stars .stars{gap:12px;font-size:43px}.result-stars .stars span{animation:.3s cubic-bezier(.2,.75,.3,1) .24s both star-settle}.result-stars .stars span:nth-child(2){animation-delay:.42s}.result-stars .stars span:nth-child(3){animation-delay:.6s}.result-stars .stars span:not(.earned){animation:.2s .24s both fade-in}.result-screen .star-rules{width:100%;margin:0 0 15px;font-size:13px}.result-screen .star-rules li{animation:outcome-in .22s calc(.57s + var(--order)*.18s) ease-out both;gap:8px;padding:5px 0;line-height:1.35}.result-screen .star-rules li>span{flex-shrink:0}.result-health{border-top:1px solid #b9c79d;border-bottom:1px solid #b9c79d;flex-wrap:wrap;justify-content:center;gap:12px;width:100%;padding:10px 0;animation:.24s ease-out 1.05s both outcome-in;display:flex}.result-hero-health{text-align:left;color:#53624e;align-items:center;gap:6px;font-size:12px;display:flex}.result-hero-health>span:first-child{width:30px;height:34px}.result-hero-health img{object-fit:contain;width:100%;height:100%}.result-hero-health strong{color:#344e46;margin-top:2px;font-size:13px;display:block}.result-hero-health.fallen>span:first-child,.hero-result.fallen .hero-mini{filter:grayscale()}.hero-result{gap:12px;width:100%;margin:14px 0 auto;padding:10px 15px;animation:.24s ease-out 1.15s both outcome-in}.hero-result strong{color:#3d574a;margin-top:2px;font-size:14px}.hero-result small{color:#586950;margin-top:3px;font-size:12px;display:block}.result-screen>.primary{flex-shrink:0;width:100%;margin:20px 0 0;animation:.24s ease-out 1.25s both outcome-in}.reward-screen{gap:10px;padding-left:22px;padding-right:22px;overflow-y:auto}.reward-kicker{font-size:13px}.reward-screen h1{font-size:34px}.reward-screen>h1,.reward-kicker{animation:.26s ease-out both outcome-in}.reward-options{flex-shrink:0;margin:16px 0 18px}.reward-screen>.primary{flex-shrink:0;width:100%;animation:.24s ease-out .5s both outcome-in}@keyframes outcome-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes star-settle{0%{opacity:0;transform:scale(.55)rotate(-12deg)}65%{opacity:1;transform:scale(1.12)rotate(3deg)}to{opacity:1;transform:scale(1)rotate(0)}}@keyframes card-arrive{0%{opacity:0;transform:translateY(22px)rotate(-4deg)scale(.94)}70%{opacity:1;transform:translateY(-3px)rotate(1deg)scale(1.015)}to{opacity:1;transform:translateY(0)rotate(0)scale(1)}}@media (height<=740px){.result-scene{height:145px;margin-bottom:9px}.result-screen h1{font-size:30px}.result-stars{margin-top:12px}.result-screen .star-rules{margin-bottom:9px}.hero-result{margin-top:10px}.result-screen>.primary{margin-top:14px}.reward-options{margin:10px 0 12px}.result-screen,.reward-screen{overflow-y:auto}}@media (prefers-reduced-motion:reduce){.result-screen :is(.result-scene,.result-heading,.result-health,.hero-result,.primary),.result-screen .star-rules li,.result-stars .stars span,.reward-screen :is(h1,.reward-kicker,.primary),.reward-reveal,.reward-row{animation:.12s both fade-in!important}}.world-callout{white-space:nowrap;color:#fff2c9;paint-order:stroke fill;-webkit-text-stroke:3px #334754;text-shadow:0 1px 1px #334754;font-variant-numeric:lining-nums tabular-nums;width:max-content;padding:1px 3px;font-weight:900;line-height:1.2;display:block;position:absolute;top:0;left:0}.world-callout[data-kind=forecast]{color:#fff6df;-webkit-text-stroke-width:2.5px;font-weight:850}.world-callout[data-kind=heal]{color:#c4f2b9}.world-callout[data-kind=intent]{color:#ffe0d6;-webkit-text-stroke-color:#5a1d1a;text-shadow:0 1px 1px #5a1d1a}.world-callout[data-kind=aura-attack]{color:#ffd59c;font-weight:900}.world-callout[data-kind=aura-heal]{color:#c4f2b9;font-weight:900}.world-callout-link{transform-origin:0;pointer-events:none;background:#334754;height:1px;display:block;position:absolute;top:0;left:0}.new-road{fill:none;stroke:#6776ba;stroke-width:7px;stroke-linecap:round;stroke-dasharray:1;animation:.7s ease-in-out both road-open}.map-traveller{z-index:2;pointer-events:none;filter:drop-shadow(0 2px 1px #344e4660);width:34px;height:40px;margin-left:-17px;position:absolute}.map-traveller img{object-fit:contain;width:100%;height:100%}.map-node.arriving .node-disc{animation:.3s ease-out .6s both road-arrival}@keyframes road-open{0%{stroke-dashoffset:1px}to{stroke-dashoffset:0}}@keyframes road-arrival{0%{transform:rotate(-5deg)scale(1)}45%{transform:rotate(-5deg)scale(1.12)}to{transform:rotate(-5deg)scale(1)}}@media (prefers-reduced-motion:reduce){.new-road,.map-node.arriving .node-disc{animation:.12s both fade-in}}.level-rewards{margin:14px 0;font-size:13px}.reward-screen.has-choices{justify-content:flex-start;padding-top:28px}.reward-screen.has-choices h3{color:#596a55;margin-top:8px;font-size:13px;font-weight:700}.has-choices .reward-options{margin:6px 0}.reward-instruction{color:#52624f;font-size:13px;line-height:1.4}.mystery-card{color:#3d5549;text-align:center;background:#fff4d8;border:3px solid #f0d595;border-radius:22px;width:300px;padding:30px}.mystery-card>span{color:#6473a8;margin-bottom:20px;font:80px Georgia,serif;display:block}.mystery-card p{margin-top:12px;font-size:15px}.world-heart{pointer-events:none;opacity:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 24'%3E%3Cpath d='M13 22S2 15.4 2 8.2A5.6 5.6 0 0 1 13 6.1a5.6 5.6 0 0 1 11 2.1C24 15.4 13 22 13 22Z' fill='%23ff7d9f' stroke='%23334754' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='M7.4 7.6a2.6 2.6 0 0 1 3-1.4' fill='none' stroke='%23ffd3df' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") 50%/contain no-repeat;width:13px;height:12px;position:absolute;top:-6px;left:-6.5px}.hand-row{position:relative}.play-count{z-index:3;color:#4a2706;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;pointer-events:none;background:linear-gradient(#ffe478,#f6b52c);border:1.5px solid #fff6dc;border-radius:9px;align-items:center;gap:4px;padding:2px 8px 2px 6px;font-size:11px;font-weight:950;line-height:12px;display:flex;position:absolute;top:-12px;left:50%;transform:translate(-50%);box-shadow:0 2px #b8650f}.play-count[hidden]{display:none}.play-count .slot{box-sizing:border-box;border:1.5px solid #4a2706;border-radius:50%;width:8px;height:8px}.play-count .slot.done{background:#4a2706}.play-count .slot.next{background:#fff6dc;animation:.9s ease-in-out infinite slot-pulse}.hand-row.double{background:linear-gradient(#2a1c0540,#5a3d0080 30%,#2a1c05d9)}.hand-row.double:before{background:linear-gradient(#2a1c0500,#2a1c0540)}@keyframes slot-pulse{0%,to{transform:scale(1);box-shadow:0 0 #ffd85a}50%{transform:scale(1.3);box-shadow:0 0 0 3px #fff6dc99}}@media (prefers-reduced-motion:reduce){.play-count .slot.next{animation:none;box-shadow:0 0 0 2px #fff6dc}}.world-anchor{pointer-events:none;width:0;height:0;position:absolute;top:0;left:0}.world-levelup{pointer-events:none;white-space:nowrap;letter-spacing:.03em;color:#ffd24a;paint-order:stroke fill;-webkit-text-stroke:5px #151a2b;text-shadow:0 3px #151a2b,0 0 12px #ffc928bf;opacity:0;padding:0 2px;font:italic 900 19px/1 system-ui,sans-serif;position:absolute;top:0;left:0}.world-spark{pointer-events:none;opacity:0;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);filter:drop-shadow(0 0 1px #8a4b00)drop-shadow(0 0 1px #8a4b00);background:#ffcf3f;width:14px;height:14px;position:absolute;top:0;left:0}.world-petal{width:var(--size);height:calc(var(--size) * .62);pointer-events:none;opacity:0;background:linear-gradient(135deg,#fff3f6,#ffb3c8 55%,#f27fa3);border-radius:100% 0;position:absolute;top:0;left:0;box-shadow:0 0 0 1px #b4466f66}.world-chip{pointer-events:none;opacity:0;background:#fff6dc;border-radius:2px;width:9px;height:3px;position:absolute;top:0;left:0;box-shadow:0 0 0 1px #151a2b}.world-hit-flash{width:var(--size);height:var(--size);pointer-events:none;opacity:0;background:radial-gradient(circle,#fffdf2 0,#fff3c4 28%,#ffd6788c 48%,#ffd67800 70%);border-radius:50%;position:absolute;top:0;left:0}.world-hit-flash.is-spark{background:radial-gradient(circle,#f6ffe9 0,#c9f3b6 30%,#78dc7880 50%,#78dc7800 72%)}.world-dust{width:var(--size);height:var(--size);pointer-events:none;opacity:0;background:radial-gradient(circle at 45% 40%,#efe2c6 0,#cdb994 45%,#b09a7600 72%);border-radius:50%;position:absolute;top:0;left:0}@media (height<=700px){.result-reason{margin-top:4px;line-height:1.3}}.world-wave-flash{pointer-events:none;background:radial-gradient(#fff9d6,#ffc23ecc 40%,#ff7a1a00 70%);border-radius:50%;width:84px;height:84px;position:absolute;top:0;left:0}.world-wave-ray{pointer-events:none;background:linear-gradient(#fff9d6,#ffb52e);border-radius:3px;width:6px;height:34px;margin:-17px 0 0 -3px;position:absolute;top:0;left:0;box-shadow:0 0 6px #ffcf4a}.bark-toast{z-index:31;bottom:calc(var(--hud-bottom) + 30px);color:#fff6dc;pointer-events:none;background:#2b2350f2;border:2px solid #ffcf4a;border-radius:16px;align-items:center;gap:10px;padding:8px 14px 8px 8px;display:flex;position:absolute;left:12px;right:12px;box-shadow:0 3px #161d63,0 8px 18px #0b103a55}.bark-toast .story-face{background:#cfe0ff;border:2px solid #ffcf4a;border-radius:50%;flex:0 0 40px;width:40px;height:40px;overflow:hidden}.bark-toast .story-face img{object-fit:cover;width:100%;height:100%;display:block}.bark-toast p{font-size:calc(15px * var(--type,1));margin:0;font-weight:850;line-height:1.27}.battle-screen.is-decided .hand-row{pointer-events:none}.battle-screen.is-decided .hand-row .wait-pill{animation:.16s ease-out both hand-rest}@keyframes hand-rest{0%{filter:none;translate:0}to{filter:saturate(.3)brightness(.9);translate:0 6px}}.battle-screen.is-finale :is(.battle-hint,.hand-row){opacity:0;pointer-events:none;transition:opacity .18s ease-in,translate .18s ease-in;translate:0 16px}@media (prefers-reduced-motion:reduce){.battle-screen.is-finale :is(.battle-hint,.hand-row){transition:opacity .1s linear;translate:none}}:root{--ink:#2b2350;--paper:#fff6dc;--cream:#fff6dc;--cream-2:#ffeab4;--gold:#ffc93c;--gold-deep:#f29d1e;--gold-edge:#b8650f;--royal:#3346c8;--royal-deep:#222d8f;--royal-edge:#161d63;--violet:#7a4fd6;--grass:#7cc442;--grass-deep:#3f8a2b;--crimson:#c8283c;--rust:#e0762a;--muted:#6b6290;--blue:#3346c8;--danger:#e8323f;--danger-ring:#ff7a6b;--plate-gap:6px;--plate-pad:3px 10px 3px 3px;--plate-hold:3px 10px;--dial:36px;--hud-gap:4px;--hud-side:8px;--pip-gap:1.5px;--pip-w:9px;--pip-h:6px;--pips-min:40px;--pip-min:5px;--slot-min:22px;--slot:38px;--avatar:34px;color:var(--ink);background:#161d63;font-family:ui-rounded,SF Pro Rounded,Arial Rounded MT Bold,system-ui,sans-serif}#app{background:linear-gradient(#2a3aa8,#222d8f 60%,#1b2475);box-shadow:0 0 100px #0b103a90}h1,h2,h3{letter-spacing:-.03em}button.primary{color:#4a2706;box-shadow:0 5px 0 var(--gold-edge),0 10px 18px #1b247555;text-shadow:0 1px #fff4c4;background:linear-gradient(#ffe478,#ffc93c 48%,#f6a21f);border:2px solid #fff3b8;border-radius:18px;min-height:56px;font-size:18px;font-weight:900}button.primary span{opacity:.75;font-size:13px}button.primary:active:not(:disabled){box-shadow:0 2px 0 var(--gold-edge),0 5px 10px #1b247555;filter:none;transform:translateY(3px)}button.secondary{color:var(--royal);background:linear-gradient(#fffaf0,#f6e8c4);border:2px solid #fff;border-radius:16px;font-weight:900;box-shadow:0 4px #c8b07a}.text-button{color:var(--muted)}.icon-button,.battle-header .icon-button{color:var(--royal);background:linear-gradient(#fff,#e8ebff);border:0;border-radius:15px;box-shadow:0 4px #8f9ad8,0 7px 12px #0b103a40}.icon-button svg{stroke-width:2.8px}.close-button{color:#6a5a33;background:#f0e2bd;box-shadow:0 3px #cdb680}.sheet-heading .close-button{box-shadow:none;color:#7a6a45;background:0 0;font-size:30px;font-weight:700}.sheet-heading .close-button:active:not(:disabled){box-shadow:none;filter:none;opacity:.7;transform:scale(.9)}.title-screen{background:linear-gradient(#2a3aa8,#222d8f 60%,#1b2475);flex-direction:column;justify-content:space-between;height:100%;display:flex;position:relative;overflow:hidden}.title-art{object-fit:cover;object-position:50% 70%;width:100%;height:100%;animation:1.4s cubic-bezier(.2,.7,.25,1) both title-drift,.3s ease-out both fade-in;position:absolute;inset:0}.title-screen:after{content:"";pointer-events:none;background:linear-gradient(#0000,#1b2475d9 70%);height:34%;position:absolute;inset:auto 0 0}.title-logo{z-index:1;text-align:center;padding-top:max(46px,calc(env(safe-area-inset-top) + 26px));flex-direction:column;align-items:center;animation:.7s cubic-bezier(.2,.8,.3,1.25) .15s both logo-drop;display:flex;position:relative}.title-kicker{letter-spacing:.22em;text-transform:uppercase;color:#fff6dc;background:#2b2350b8;border-radius:99px;padding:5px 12px;font-size:13px;font-weight:900}.title-name{letter-spacing:-.04em;color:#fff6dc;-webkit-text-stroke:9px var(--royal-deep);paint-order:stroke fill;filter:drop-shadow(0 7px #161d63)drop-shadow(0 12px 18px #0b103a66);margin-top:10px;font-size:76px;font-weight:950;line-height:.86}.title-name span{display:inline-block}.title-name span:first-child{color:#ffd85a;transform:rotate(-4deg)}.title-name span:last-child{transform:rotate(2deg)}.title-actions{z-index:1;padding:0 26px max(30px,calc(env(safe-area-inset-bottom) + 18px));flex-direction:column;gap:12px;animation:.4s ease-out .55s both outcome-in;display:flex;position:relative}.title-actions button.title-play{justify-content:center;gap:12px;min-height:62px;font-size:20px}.title-progress{text-align:center;color:#fff6dc;text-shadow:0 1px 2px #0b103a;font-size:13px;font-weight:800}.title-screen:not(.lit) :is(.title-art,.title-logo,.title-actions),.title-screen.booting .title-actions,.title-screen.launch.booting :is(.title-art,.title-logo){animation-play-state:paused}.title-screen.booting .title-actions{visibility:hidden}.title-screen.launch .title-art{animation-name:title-drift}@keyframes title-drift{0%{transform:scale(1.08)}to{transform:scale(1)}}@keyframes logo-drop{0%{opacity:0;transform:translateY(-26px)scale(.9)}to{opacity:1;transform:none}}:is(.menu-sheet,.pause-sheet,.reset-sheet){padding-bottom:max(27px,calc(env(safe-area-inset-bottom) + 14px))}:is(.menu-sheet,.pause-sheet,.reset-sheet) .sheet-heading p{font-size:12px}button.secondary:active:not(:disabled){filter:none;transform:translateY(3px);box-shadow:0 1px #c8b07a}.pause-sheet button:disabled{opacity:.45;filter:grayscale(.6);cursor:default}.menu-sheet .menu-summary{font-size:calc(15px * var(--type,1));color:var(--royal);margin:14px 0 2px;font-weight:850;line-height:1.4}.menu-sheet .menu-note{margin:0 0 18px!important}.menu-sheet .reset-button{color:#a3263a;border-radius:14px;min-width:44px;min-height:44px;margin:10px auto 0;padding:0 18px;font-size:14px;font-weight:850;text-decoration-color:#a3263a66}.menu-sheet .reset-button:active{filter:none;background:#c8283c14}button.danger{color:#fff6dc;text-shadow:0 1px #6e1020;background:linear-gradient(#d8394c,#a81d30);border:2px solid #ffb3bc;border-radius:18px;justify-content:center;align-items:center;width:100%;min-height:56px;padding:13px 20px;font-size:18px;font-weight:900;display:flex;box-shadow:0 5px #6e1020,0 10px 18px #1b247555}button.danger:active:not(:disabled){filter:none;transform:translateY(3px);box-shadow:0 2px #6e1020,0 5px 10px #1b247555}.pause-sheet h3{margin-top:18px}.attempt-pill{gap:3px;margin-top:20px;display:flex}.attempt-pill button.primary{width:auto}.attempt-pill button.primary:first-child{border-radius:18px 7px 7px 18px;flex:1}.attempt-pill button.retry{border-radius:7px 18px 18px 7px;flex:none;justify-content:center;gap:6px;padding:0 18px}.attempt-pill .retry svg{stroke-width:2.8px;width:20px;height:20px}.pause-sheet .secondary{margin-top:14px}.map-screen{padding-top:max(12px,env(safe-area-inset-top));background:linear-gradient(#2a3aa8,#222d8f);padding-bottom:0}.map-header{align-items:center;gap:10px;padding:4px 14px 10px}.map-banner{color:var(--ink);background:linear-gradient(#fffaf0,#ffeab4);border:3px solid #ffd45c;border-radius:18px;flex-direction:column;flex:1;align-items:center;padding:4px 10px 6px;display:flex;box-shadow:0 4px #c88a1d,0 8px 14px #0b103a40}.map-banner small{letter-spacing:.16em;text-transform:uppercase;color:#a3741b;font-size:13px;font-weight:900}.map-banner strong{letter-spacing:-.02em;font-size:22px;font-weight:950;line-height:1.05}.map-scroll{overscroll-behavior:contain;background:#d58a3f;border-radius:24px 24px 0 0;margin:0;box-shadow:inset 0 0 0 3px #4152d0,inset 0 6px 18px #0b103a55;-webkit-mask-image:none;mask-image:none}.map-land{isolation:isolate;--reveal-step:40ms;--reveal-road:.3s;--reveal-dust:.12s;--reveal-pop:.24s;max-width:none;margin:0}.map-land:before,.map-land:after{display:none}.map-art{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;pointer-events:none;width:100%;height:100%;display:block;position:absolute;inset:0}.map-drawing{overflow:visible}.road.hint{opacity:.34}.road.new-road{stroke:none;stroke-width:0;animation:none}.road-lock{pointer-events:none;background:#8f8574;border:2.5px solid #fff6dc;border-radius:50%;place-items:center;width:28px;height:28px;margin:-14px 0 0 -14px;display:grid;position:absolute;box-shadow:0 2px #5d554a,0 4px 8px #1b247540}.road-lock svg{stroke:#fff6dc;stroke-width:3px;width:14px;height:14px}.road-lock.gated{background:#c9962b;box-shadow:0 2px #7a5614,0 4px 8px #1b247540}.gate-tag{text-align:left;color:#5a3d0c;width:max-content;max-width:7.5em;font:700 12px/1.3 var(--ui-font,system-ui);background:#fff6dc;border-radius:10px;padding:3px 8px;position:absolute;top:50%;left:calc(100% + 6px);transform:translateY(-50%);box-shadow:0 1px #c9962b}.road-lock.tag-left .gate-tag{text-align:right;left:auto;right:calc(100% + 6px)}.road-lock.placed .gate-tag{left:calc(50% + var(--tag-x,0px));right:auto;top:calc(50% + var(--tag-y,0px));transform:none}.road-lock.optional{background:var(--violet);box-shadow:0 2px #4a2f8f,0 4px 8px #1b247540}.road-lock.optional .gate-tag{color:#3f3170;width:7.5em;box-shadow:0 1px 0 var(--violet)}.gate-tag small{letter-spacing:.08em;white-space:nowrap;text-transform:uppercase;color:var(--violet);font-size:11px;font-weight:950;display:block}.act-exit{background:var(--royal);color:#fff6dc;white-space:nowrap;cursor:pointer;border:2.5px solid #fff6dc;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:1px;min-width:44px;min-height:44px;padding:5px 14px 6px;font:900 14px/1.1 ui-rounded,system-ui;display:flex;position:absolute;transform:translate(-50%,-50%);box-shadow:0 3px #161d63,0 6px 14px #0b103a55}.act-exit small{letter-spacing:.14em;text-transform:uppercase;opacity:.85;font-size:11px;font-weight:950}.act-exit.onward{color:#3b2a06;background:#ffd85a;border-color:#fff6dc;box-shadow:0 3px #b98a2c,0 0 0 4px #ffd85a55,0 6px 14px #0b103a55}.act-exit:active{transform:translate(-50%,-50%)scale(.96)}.act-exit.closed{color:#e6e2d4;cursor:default;background:#5b5f7a;border-color:#c9c3ad;box-shadow:0 3px #2e3147,0 6px 14px #0b103a44}.act-exit.closed:active{transform:translate(-50%,-50%)}.act-exit.closed span{align-items:center;gap:4px;display:flex}.act-exit.closed svg{stroke-width:3px;width:13px;height:13px}.map-screen{position:relative}.map-outgoing{pointer-events:none;z-index:1;border-radius:24px 24px 0 0;position:absolute;overflow:hidden}.result-comeback{color:#ffe6a6;max-width:30ch;margin:6px auto 0;font-weight:700}.road-rim circle{fill:#5b4630;fill-opacity:.26}.road-dust circle{fill:#dcc59a}.road-dust circle:nth-child(3n){fill:#cfb487}.road-dust circle:nth-child(7n+2){fill:#e6d4ac}.road-stones>g:nth-child(4n) .stone{fill:#bdb3a0}.road-wear{fill:none;stroke:#efe2bf;stroke-opacity:.6;stroke-width:11px;stroke-linecap:round;stroke-linejoin:round}.stone{fill:#cfc8b7;stroke:#8f8573;stroke-width:1.4px}.stone-shade{fill:#4a3c2a;fill-opacity:.35}.road-pebbles circle{fill:#9c8c70;fill-opacity:.8}.road.revealing circle,.road.revealing .road-stones>g{animation:dust-in var(--reveal-dust) calc(var(--order,0)*var(--reveal-step) + var(--i)*var(--step,5ms)) ease-out both}.road.revealing .road-wear{stroke-dasharray:1 1;stroke-dashoffset:1px;animation:road-open var(--reveal-road) calc(var(--order,0)*var(--reveal-step)) ease-in-out both}@keyframes dust-in{0%{opacity:0}to{opacity:1}}.home-shadow{fill:#0b103a33}.map-node{z-index:auto;width:76px;min-width:0;height:70px;margin:-35px 0 0 -38px;display:block;transform:none}.map-node:active:not(:disabled){filter:none}.map-node:active:not(:disabled) .node-mark{filter:brightness(.94)drop-shadow(0 5px 3px #2b1a0a59)}.map-node .node-mark{z-index:var(--mark)}.map-node .node-stars,.map-node .node-name{z-index:var(--label)}.map-node:disabled{cursor:default}.node-mark{filter:drop-shadow(0 5px 3px #2b1a0a59);height:80px;display:block;position:absolute;bottom:4px;left:-4px;right:-4px}.mark-art{object-fit:contain;object-position:50% 100%;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;width:100%;height:100%;display:block;position:absolute;inset:0}.map-node.locked .mark-art{filter:brightness(0)invert()sepia(.45)drop-shadow(1px 0 #5b4630)drop-shadow(-1px 0 #5b4630)drop-shadow(0 1px #5b4630)drop-shadow(0 -1px #5b4630);opacity:.42}.map-node.locked .node-mark{filter:none}.map-node.secret .node-mark{height:60px;animation:3.2s ease-in-out infinite secret-breathe;bottom:8px;left:6px;right:6px}.node-stars{background:#2b2350;border:2px solid #fff6dc;border-radius:99px;gap:1px;padding:2px 5px;display:flex;position:absolute;top:auto;bottom:-14px;left:50%;transform:translate(-50%)}:root{--star-gold-hi:#fff4b0;--star-gold-mid:#ffc83a;--star-gold-lo:#e08a12;--star-gold-lit:#ffef9a;--star-gold-dark:#e08a12;--star-gold-rim:#8a4a0c;--star-kept-hi:#f8efcf;--star-kept-mid:#e6cd8c;--star-kept-lo:#c39f5a;--star-kept-lit:#fff7dc;--star-kept-dark:#a8843f;--star-kept-rim:#7a5a2c;--star-glint:#fffdf2;--star-shadow:#7a3d0673;--star-socket-fill:#8a6a2a2e;--star-socket-rim:#7a5f35b3;--star-socket-lip:#fffc;--star-night-fill:#8f88c45c;--star-night-rim:#120c30;--star-night-lip:#ddd8ffa6}.star-mark{width:100%;height:100%;display:block;overflow:visible}svg.star-inline{vertical-align:-.17em;width:1.05em;height:1.05em;margin:0 .04em;display:inline-block}:is(.node-stars,.goal-card,.best-stars){--star-socket-fill:var(--star-night-fill);--star-socket-rim:var(--star-night-rim);--star-socket-lip:var(--star-night-lip)}.node-stars i{width:12px;height:12px;position:relative}.node-stars i .star-mark{position:absolute;inset:0}.node-stars i:not(.earned) .star-gold{visibility:hidden}.node-name{white-space:nowrap;max-width:none;color:var(--ink);text-align:left;background:linear-gradient(#fffaf0,#ffeab4);border:2px solid #f2c64f;border-radius:12px;flex-direction:column;align-items:flex-start;gap:2px;margin:0;padding:3px 9px 4px;font-size:13px;font-weight:900;display:flex;position:absolute;top:50%;transform:translateY(-40%);box-shadow:0 3px #b98a2c55}.map-node .node-name{translate:0 var(--drop,0px)}.map-node.label-right .node-name,.map-node.label-left .node-name{translate:var(--shift,0px) var(--drop,0px)}.map-node.label-right .node-name{left:74px}.map-node.label-left .node-name{text-align:right;align-items:flex-end;right:74px}.you-are-here,.node-tag{letter-spacing:.08em;text-transform:uppercase;background:var(--royal);color:#fff6dc;box-shadow:none;border-radius:7px;margin:0;padding:2px 6px;font-size:12px;font-weight:950}.node-tag.side{background:var(--violet)}.map-node.arriving:not(.current) .node-mark{animation:node-pop var(--reveal-pop) calc(var(--order,0)*var(--reveal-step)) cubic-bezier(.3,1.6,.5,1) both}.map-land.revealing .road-lock{animation:fade-in var(--reveal-dust) calc(var(--span,0)*var(--reveal-step) + var(--reveal-dust)*2) ease-out both}@keyframes node-pop{0%{transform:scale(.9)}to{transform:none}}.map-mote{z-index:20;pointer-events:none;filter:drop-shadow(0 0 4px #fff6dc);width:16px;height:16px;position:absolute;top:0;left:0}.map-footer .hero-bar{background:#0b103a66;border-radius:3px;width:96px;height:5px;margin-top:4px;display:block;overflow:hidden;box-shadow:inset 0 0 0 1px #fff6dc40}.map-footer .hero-bar i{transform-origin:0;width:100%;height:100%;transform:scaleX(var(--fill,0));background:#ffd85a;display:block}.map-footer .hero-chip.leveled b{color:#fff6dc;text-shadow:0 0 8px #ffd85a}@keyframes secret-breathe{0%,to{transform:scale(1)}50%{transform:scale(1.04,.97)}}.map-hero,.map-traveller{pointer-events:none;filter:none;width:80px;height:88px;margin:-80px 0 0 -40px;position:absolute}.map-hero{transition:opacity .2s}.map-hero:before,.map-traveller:before{content:"";background:radial-gradient(closest-side,#16203a8c,#16203a59 60%,#16203a00);border-radius:50%;width:34px;height:12px;position:absolute;top:74px;left:23px}.map-hero-canvas{width:100%;height:100%;display:block;position:absolute;inset:0}.map-start{letter-spacing:.14em;text-transform:uppercase;color:#fff6dc;background:var(--royal);width:auto;box-shadow:0 3px 0 var(--royal-edge);border:2px solid #fff6dc;border-radius:99px;padding:5px 14px;font:950 13px ui-rounded,system-ui;position:absolute;bottom:auto;left:50%;transform:translate(-50%,-50%)}.map-footer{padding:10px 16px max(12px,env(safe-area-inset-bottom));color:#fff6dc;background:linear-gradient(#3a4bd0,#25309a);border-top:3px solid #6f80f2;align-items:center;gap:10px;font-size:12px;display:flex}.map-footer .hero-chip{color:#fff6dc;background:0 0;border:0;margin:0;padding:0;font-size:14px;font-weight:900}.map-footer .hero-chip b{color:#ffd85a;font-size:13px}.map-footer .hero-progress{color:#fff6dc;opacity:.9;margin-left:6px;font-size:12px;font-weight:800}.map-footer .hero-mini{background:linear-gradient(#a17ae8,#6a3fc4);border:3px solid #ffd85a;outline:0;width:44px;height:44px;overflow:hidden}.map-count{flex-direction:column;align-items:flex-end;margin-left:auto;line-height:1;display:flex}.map-count strong{color:#ffd85a;font-size:24px;font-weight:950}.map-count small{color:#fff6dc;font-size:14px}.map-count span{letter-spacing:.06em;text-transform:uppercase;color:#cdd3ff;margin-top:3px;font-size:13px;font-weight:800}.sheet-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#161d6399}.sheet{color:var(--ink);background:linear-gradient(#fffaf0,#fff1cf);border:0;border-top:4px solid #ffd45c;border-radius:30px 30px 0 0;box-shadow:0 -10px 40px #0b103a66}.sheet-grip{background:#e2c98b}.sheet-heading h1,.sheet h2{letter-spacing:-.03em;color:var(--ink);font-family:inherit;font-weight:950}.sheet-heading p{letter-spacing:.14em;text-transform:uppercase;color:#a3741b;font-size:13px;font-weight:900}.level-tag{background:var(--royal);color:#fff6dc;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);width:46px;height:50px;box-shadow:none;border:0;border-radius:0;font-size:22px;font-weight:950;transform:none}.story{color:#4d4570;font-weight:650}.objective-line{color:#fff6dc;background:#2b2350;border-radius:14px;padding:10px 12px}.objective-line svg{fill:#ffd85a;stroke:#ffd85a}.star-rules li>span{color:#e8a21f;font-weight:900}.star-rules .met>span{color:var(--grass-deep)}.unlocks{color:#4a2c9a;background:#e9e0ff;font-weight:800}.deck-chips span{background:linear-gradient(#5d72ec,#2f3fb4);border:2px solid #fff6dc;box-shadow:0 3px #1b2475}.menu-note{margin:14px 0 18px!important}.menu-sheet .secondary{margin-top:14px}.battle-screen{background:linear-gradient(#2a3aa8,#222d8f 30%)}.battle-header{color:#fff6dc}.objective-status strong{color:#fff6dc;letter-spacing:-.02em;font-family:inherit;font-weight:950}.roster-label{color:#cdd3ff;font-weight:850}.roster-hero{box-shadow:0 2px #0b103a}.dusk-mark{color:#ffe0b0}.dusk-mark.active{color:#fff6dc;background:#7a3a8a}.battle-hint{color:#dfe3ff;background:#222d8f;border-top:0}.wave-strip{color:#cdd3ff}.wave-strip b{color:#fff6dc;background:#3a4bd0}.is-playing .wave-strip>span.active{color:#ffd85a}.battle-footer{background:linear-gradient(#4352d8,#2a33a6);border:0;border-top:3px solid #7384f4;box-shadow:0 -6px 18px #0b103a40}.hand-caption{color:#cdd3ff}.hand-caption span:first-child{color:#fff6dc}.next-card>span{color:#cdd3ff}.next-card>div{background:#2a33a6;border-color:#8a97f0}.wait-button{color:var(--royal);background:linear-gradient(#fffaf0,#efe1bc);font-weight:900;box-shadow:0 3px #b49a5c}.wait-button span{color:var(--royal)}.battle-bottom{color:#cdd3ff}.turn-banner{color:#fff6dc;background:linear-gradient(#4f66e6,#3346c8);border:2px solid #ffd85a;box-shadow:0 3px #161d63}.turn-banner[data-side=enemy]{background:linear-gradient(#e2394f,#b31f33);border-color:#ffb38a}.turn-banner[data-side=ambush]{letter-spacing:.04em;background:linear-gradient(#e2394f,#7c1424);border-color:#ffb38a;font-size:26px}.command-chooser{background:#fff6dc;border-color:#ffd45c}.command-chooser button{background:var(--royal);color:#fff6dc}.card-back{background:linear-gradient(#fffaf0,#fff1cf)}.card-front{background:#30365e}.special-info{color:#4a2c9a;background:#e9e0ff}.result-screen{color:var(--ink);background:linear-gradient(#fff8e6,#ffefc8)}.result-screen.lost{background:linear-gradient(#f7eff6,#eee1ec)}.result-screen h1,.reward-screen h1{letter-spacing:-.03em;font-family:inherit;font-weight:950}.result-scene{background:#8fb85a;border-radius:0 0 28px 28px;flex:150px;height:auto;min-height:120px;max-height:340px;margin-bottom:48px;overflow:visible;box-shadow:0 6px #ffd45c}.lost .result-scene{background:#9a8fae;max-height:420px;box-shadow:0 6px #c58fb0}.result-scene>img:not(.result-emblem){border-radius:inherit;opacity:1;object-position:50% clamp(100%,calc(50% + var(--focus) - 30px),0%);-webkit-mask-image:none;mask-image:none}.result-lift{z-index:5;pointer-events:none;position:fixed;inset:0}.result-scene img.result-emblem{z-index:6}.result-lift>img{transform-origin:0 0;max-width:none;position:absolute}.result-scene img.result-emblem{width:auto;height:104px;box-shadow:none;object-fit:contain;opacity:1;filter:drop-shadow(0 6px 4px #1b247555);background:0 0;border:0;border-radius:0;outline:0;margin:0;padding:0;animation:.5s cubic-bezier(.3,1.5,.5,1) .15s both emblem-in;position:absolute;bottom:-38px;left:50%;right:auto;transform:none;-webkit-mask-image:none;mask-image:none}.lost .result-scene img.result-emblem{filter:drop-shadow(0 5px 3px #2b235040);height:86px;bottom:-30px;rotate:-6deg}@keyframes emblem-in{0%{opacity:0;transform:translateY(20px)scale(.6)}60%{opacity:1;transform:translateY(-4px)scale(1.06)}to{opacity:1;transform:none}}.result-heading{animation:.26s ease-out .28s both outcome-in}.result-level{letter-spacing:.14em;text-transform:uppercase;color:#8a5f12;margin-bottom:4px;font-size:12px;font-weight:900}.lost .result-level{color:var(--muted)}.won h1{color:var(--royal)}.lost h1{color:#5a2f7a}.result-reason{color:#4d4570;margin-top:6px}.result-grant{color:#5a3a06;animation:fade-in .2s calc(var(--after,1.2s) + .2s) both;background:linear-gradient(#fff3c4,#ffd96b);border-radius:999px;align-items:center;gap:6px;margin:8px auto 0;padding:5px 12px;font-size:13px;display:inline-flex;box-shadow:0 2px #b8650f}.result-grant strong{color:#8a4b00;text-transform:uppercase;letter-spacing:.05em;font-size:11px}.book-chip{color:#5a3a06;animation:fade-in .2s calc(var(--after,1.2s) + .2s) both;background:linear-gradient(#fff3c4,#ffd96b);border-radius:999px;align-items:center;gap:6px;margin:8px auto 0;padding:5px 12px 5px 8px;font-size:13px;font-weight:900;line-height:1.2;display:inline-flex;box-shadow:0 2px #b8650f}.book-chip svg{fill:#fff6dc;stroke:#8a4b00;stroke-width:1.6px;flex:none;width:20px;height:20px}.result-tally{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 10px;margin:6px 0 0;display:flex}.result-tally :is(.result-total,.book-chip){margin:0}.result-goals{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:8px;width:100%;margin:14px 0 4px;padding:0;list-style:none;animation:.2s .3s both fade-in;display:grid}.result-goal{text-align:center;--at:calc(.55s + var(--n) * .33s);--hit:calc(var(--at) + .15s);flex-direction:column;align-items:center;gap:3px;min-width:0;display:flex}.result-goal .goal-text{font-size:calc(13px * var(--type,1));color:#2b2350;text-wrap:balance;overflow-wrap:anywhere;font-weight:850;line-height:1.25}.result-goal small{color:#6f5730;font-size:12px;font-weight:900;line-height:1.2}.result-goal.new small{color:#8a4b00}.result-goal.again small{color:#2f6b34}.result-goal.kept .goal-text{color:#5b4f75}.result-goal:is(.new,.again) .goal-text{animation:goal-ink .12s var(--hit) both}.result-goal:is(.new,.again) small{animation:fade-in .12s var(--hit) both}.result-star{width:52px;height:52px;margin-bottom:4px;position:relative}.result-star svg{width:100%;height:100%;position:absolute;inset:0;overflow:visible}.result-goal:is(.new,.again) .star-gold{opacity:0}.result-goal.new .star-gold{animation:star-fall var(--fall) var(--at) cubic-bezier(.55,0,.85,.35) forwards,star-rebound var(--slam) var(--hit) cubic-bezier(.2,.8,.3,1) forwards}.result-goal.again .star-gold{animation:star-again .15s var(--at) ease-out forwards}.result-goal:is(.new,.again,.kept) .star-socket{animation:socket-out 0s var(--hit) forwards}.result-goal.kept .star-socket{opacity:0;animation:none}.star-ring{opacity:0;pointer-events:none;animation:star-ring var(--ring) var(--hit) cubic-bezier(.15,.7,.3,1) forwards;border:3px solid #ffc83a;border-radius:50%;position:absolute;inset:-6%;box-shadow:0 0 8px 1px #ffd85acc,inset 0 0 6px #fff4b0}.star-sparks i{clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);opacity:0;pointer-events:none;width:12px;height:12px;animation:star-spark var(--life) var(--hit) cubic-bezier(.2,.7,.3,1) forwards;background:#f29d1e;margin:-6px;position:absolute;top:54%;left:50%}.star-sparks i.warm{background:#ffc83a;width:9px;height:9px;margin:-4.5px}.result-star .star-glint{pointer-events:none}.glint-band{fill:#fffdf2;opacity:.8;animation:star-glint var(--glint) calc(var(--hit) + var(--slam)) ease-in-out both}.result-total{color:#2b2350;animation:total-in .18s var(--after) ease-out both;margin:6px 0 0;font-size:15px;font-weight:850;line-height:1.3}.result-total span{color:#8a4b00}@keyframes star-fall{0%{opacity:0;transform:scale(1.6)rotate(-12deg)}45%{opacity:1}to{opacity:1;transform:scale(var(--dip)) rotate(0)}}@keyframes star-rebound{0%{opacity:1;transform:scale(var(--dip))}to{opacity:1;transform:none}}@keyframes star-again{0%{opacity:1;transform:scale(.94)}to{opacity:1;transform:scale(1)}}@keyframes star-ring{0%{opacity:.95;transform:scale(.45)}to{opacity:0;transform:scale(1.75)}}@keyframes star-spark{0%{opacity:1;transform:translate(0)scale(1.15)}70%{opacity:1}to{opacity:0;transform:translate(var(--dx),var(--dy)) scale(.35)}}@keyframes star-glint{0%{transform:translate(0)}to{transform:translate(150px)}}@keyframes star-fade{0%{opacity:0}to{opacity:1}}@keyframes socket-out{to{opacity:0}}@keyframes goal-ink{0%{opacity:.55}to{opacity:1}}@keyframes total-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.result-screen .opens-line{animation:fade-in .16s calc(var(--after) + .16s) both}.result-health{border-color:#ecd9a4;animation:.24s ease-out 1.5s both outcome-in}.lost .result-health{border-color:#dcc6da;margin-top:18px;animation-delay:.45s}.result-hero-health{color:var(--muted)}.result-hero-health strong{color:var(--ink)}.hero-result{background:#fff;border:2px solid #f2d37a;border-radius:18px;margin:12px 0 0;animation:.24s ease-out 1.6s both outcome-in;box-shadow:0 3px #e0bf68}.lost .hero-result{border-color:#e2cde0;animation-delay:.55s;box-shadow:0 3px #cfb3cc}.hero-result strong{color:var(--royal)}.hero-result small{color:var(--muted)}.result-actions{width:100%;animation:outcome-in .24s calc(var(--after,1.4s) + .3s) ease-out both;flex-direction:column;flex-shrink:0;gap:12px;margin-top:auto;padding-top:16px;display:flex}.lost .result-actions{animation-delay:.65s}.result-actions button{margin:0}.result-actions .secondary{min-height:48px}@media (height<=740px){.result-scene{min-height:110px;margin-bottom:40px}.result-scene img.result-emblem{height:86px;bottom:-32px}.lost .result-scene img.result-emblem{height:72px;bottom:-26px}.result-goals{margin:10px 0 2px}.result-star{width:46px;height:46px}}@media (prefers-reduced-motion:reduce){.result-scene img.result-emblem,.result-goals{animation:.12s both fade-in!important}.result-goal:is(.new,.again) .star-gold{animation:star-fade .12s var(--at) both!important}.result-goal:is(.new,.again) .star-socket{animation:socket-out 0s var(--hit) forwards!important}.result-goal:is(.new,.again) .goal-text{animation:goal-ink .12s var(--hit) both!important}.result-goal:is(.new,.again) small{animation:fade-in .12s var(--hit) both!important}.result-goal.new :is(.star-ring,.star-sparks,.star-glint){display:none}.result-total{animation:fade-in .12s var(--after) both!important}.result-screen .opens-line{animation:fade-in .12s calc(var(--after) + .16s) both!important}.result-screen .result-actions{animation:fade-in .12s calc(var(--after,1.4s) + .3s) both!important}}.hero-result .hero-mini{background:linear-gradient(#a17ae8,#6a3fc4);border:3px solid #ffd85a;outline:0}.reward-screen{color:#fff6dc;isolation:isolate;background:radial-gradient(circle at 50% 30%,#4f66e6 0,#2a3aa8 45%,#1b2475 100%)}.reward-screen:before{content:"";z-index:-1;background:repeating-conic-gradient(from 0deg at 50% 38%,#ffffff12 0 9deg,transparent 9deg 18deg);pointer-events:none;animation:40s linear infinite sunburst;position:absolute;inset:-30%}.reward-kicker{color:#ffd85a;letter-spacing:.14em;text-transform:uppercase;font-size:14px;font-weight:900}.reward-screen h1{color:#fff6dc;-webkit-text-stroke:6px var(--royal-edge);paint-order:stroke fill}.reward-screen.has-choices h3,.reward-instruction{color:#cdd3ff}.reward-screen{padding-bottom:0;position:static}.reward-screen>p.reward-count{color:#fff6dc;white-space:nowrap;flex-shrink:0;justify-content:center;align-items:center;gap:8px;height:28px;margin:4px 0 0;font-size:13px;font-weight:850;line-height:1;display:flex}.reward-count.refused .reward-count-text{color:#ffd0a8}.reward-count.nudge{animation:.32s ease-in-out label-nudge}.reward-pips{gap:5px;display:flex}.reward-pips i{background:#1b247580;border:2px solid #ffd85a;border-radius:50%;width:14px;height:14px}.reward-pips i.on{background:#ffd85a;animation:.24s cubic-bezier(.3,1.6,.5,1) pick-pop;box-shadow:0 0 0 2px #ffd85a55}.reward-footer{z-index:2;width:calc(100% + 44px);padding:22px 22px max(12px,env(safe-area-inset-bottom));background:linear-gradient(#1b247500,#1b2475e6 26px,#1b2475);flex-shrink:0;margin-inline:-22px;animation:.24s ease-out .5s both outcome-in;position:sticky;bottom:0}.has-choices .reward-footer{margin-top:auto}.reward-footer>.primary{width:100%;animation:none!important}.reward-footer>.primary:disabled{color:#e4e7ff;text-shadow:none;background:#3a4486;border-color:#5a64a8;font-weight:800;box-shadow:0 5px #161d63}.mystery-card{color:var(--ink);background:linear-gradient(#fffaf0,#fff1cf);border:3px solid #ffd45c;box-shadow:0 5px #b8650f,0 12px 22px #0b103a55}.mystery-card>span{color:var(--violet);-webkit-text-stroke:5px #fff6dc;paint-order:stroke fill;filter:drop-shadow(0 4px #d9c38a);font:950 84px/1 ui-rounded,SF Pro Rounded,Arial Rounded MT Bold,system-ui,sans-serif}.mystery-card h2{letter-spacing:-.03em;font-weight:950}.mystery-card p{color:#4d4570;font-weight:800}@keyframes sunburst{to{transform:rotate(360deg)}}@keyframes pick-pop{0%{transform:scale(.86)}to{transform:none}}@keyframes label-nudge{0%,to{transform:none}25%{transform:translate(-4px)}75%{transform:translate(4px)}}@media (prefers-reduced-motion:reduce){.reward-footer,.choice-mark.nudge,.choice.selected .choice-mark,.reward-count.nudge,.reward-reveal,.reward-row,.reward-pips i.on{animation:.12s both fade-in}}#landscape{color:#fff6dc;background:#222d8f}#landscape>svg{color:#ffd85a}#landscape p{color:#cdd3ff}.error-screen{background:#fff6dc}.fatal-screen{padding:max(28px,env(safe-area-inset-top)) 20px max(20px,env(safe-area-inset-bottom));background:radial-gradient(120% 80% at 50% 0,#3346c8 0%,#222d8f 55%,#161d63 100%);justify-content:center;gap:16px;overflow-y:auto}.fatal-mark{filter:drop-shadow(0 6px #161d63)drop-shadow(0 12px 18px #0b103a66);align-self:center;width:min(64%,250px)}.fatal-card{background:var(--cream);border:2px solid #fff;border-radius:24px;flex-direction:column;gap:12px;padding:22px 20px 20px;display:flex;box-shadow:0 8px #0f1550,0 18px 30px #0b103a80}.fatal-card h1{color:var(--royal-deep);text-wrap:balance;font-size:26px;font-weight:950;line-height:1.1}.fatal-card p,.error-screen.fatal-screen p{color:var(--ink);font-size:16px;line-height:1.4}.fatal-card .primary{justify-content:center;gap:10px;margin-top:6px}.fatal-fresh .text-button{text-underline-offset:3px;width:100%;min-height:44px;font-size:15px;font-weight:800;text-decoration:underline}.fatal-confirm{flex-direction:column;gap:12px;display:flex}.fatal-confirm[hidden]{display:none}.fatal-confirm .secondary{margin-top:0}.fatal-code{color:#fff6dc;background:#0f1550b3;border:1px solid #ffffff30;border-radius:18px;align-items:center;gap:12px;padding:10px 10px 10px 16px;display:flex}.fatal-code div{flex-direction:column;flex:1;gap:2px;display:flex}.fatal-code small{opacity:.75;text-transform:uppercase;letter-spacing:.06em;font-size:12px;font-weight:800}.fatal-code code{letter-spacing:.06em;-webkit-user-select:all;user-select:all;font:900 21px/1.2 ui-monospace,SF Mono,Menlo,monospace}.fatal-code .secondary{width:auto;min-width:88px;min-height:46px;margin:0;padding:8px 18px}.fatal-code .secondary.copied{color:var(--grass-deep)}.error-screen.fatal-screen .fatal-help{color:#dfe3ff;text-align:center;font-size:13px}@media (height<=740px){.title-name{font-size:64px}.map-banner strong{font-size:19px}}@media (prefers-reduced-motion:reduce){.title-art,.title-logo,.title-actions{animation:.12s both fade-in}.map-node.secret .node-mark,.reward-screen:before{animation:none}.road.revealing circle,.road.revealing .road-stones>g,.road.revealing .road-wear{stroke-dasharray:none;animation:.12s both fade-in}.map-node.arriving:not(.current) .node-mark,.map-land.revealing .road-lock{animation:.12s both fade-in}}.map-node.label-below .node-name{transform:translateX(calc(-50% + var(--shift,0px)));text-align:center;align-items:center;top:76px;left:50%}.map-node.label-below.cleared .node-name{top:84px}.map-node.label-above .node-name{transform:translateX(calc(-50% + var(--shift,0px)));text-align:center;align-items:center;top:auto;bottom:86px;left:50%}.title-name{-webkit-text-stroke:0;filter:drop-shadow(0 10px 14px #0b103a66);margin-top:6px}.title-name img{width:min(340px,86vw);height:auto;display:block}.reward-chest{filter:drop-shadow(0 8px 10px #0b103a80);flex-shrink:0;width:150px;height:auto;margin-bottom:-6px;animation:.55s cubic-bezier(.3,1.5,.5,1) both chest-in}@keyframes chest-in{0%{opacity:0;transform:translateY(24px)scale(.7)}60%{opacity:1;transform:translateY(-6px)scale(1.05)}to{opacity:1;transform:none}}@media (height<=740px){.reward-chest{width:110px}}@media (prefers-reduced-motion:reduce){.reward-chest{animation:.12s both fade-in}}.reward-screen>p.reward-instruction{color:#cdd3ff}.map-hero.waiting{opacity:0;transition:none}.level-mark{filter:drop-shadow(0 5px 3px #2b1a0a40);flex-shrink:0;width:84px;height:72px;margin:-8px 0 -6px -6px;position:relative}.level-mark img{object-fit:contain;object-position:50% 100%;width:100%;height:100%;display:block}.level-mark b{background:var(--royal);width:28px;height:28px;box-shadow:0 2px 0 var(--royal-edge);color:#fff6dc;border:2.5px solid #fff6dc;border-radius:50%;place-items:center;font-size:15px;font-weight:950;display:grid;position:absolute;bottom:0;left:-2px}.roster-hero{background:linear-gradient(#a17ae8,#6a3fc4);border:2.5px solid #fff6dc;outline:0;width:36px;height:36px;overflow:visible;box-shadow:0 3px #0b103a}.enemy .roster-hero{background:linear-gradient(#e2394f,#9e2235)}.roster-hero.tower{border-radius:11px}.roster-hero>span:first-child{border-radius:inherit;width:100%;height:100%;display:block;overflow:hidden}.roster-hp{background:#161d63;border:1.5px solid #fff6dc;border-radius:5px;height:7px;bottom:-9px;left:1px;right:1px}.roster-hp i{background:#7cc442;border-radius:3px}.enemy .roster-hp i{background:#ff6b6b}.roster-hero.fallen{background:#6b6290}.roster-hero.fallen>span:first-child{filter:grayscale()brightness(.85)}.wave-strip{gap:8px}.wave-strip>span{color:#cdd3ff;background:#161d63;border-radius:99px;align-items:center;min-width:105px;height:22px;padding:0 10px 0 3px;font-weight:850;display:inline-flex}.wave-strip>span:first-child{color:#4a2706;background:linear-gradient(#ffe478,#f6b52c)}.wave-strip b{width:17px;height:17px}.wave-strip>span:first-child b{color:#ffd85a;background:#4a2706}.is-playing .wave-strip>span.active{color:#fff6dc;box-shadow:0 0 0 2px #ffd85a}.is-playing .wave-strip>span:first-child.active{color:#4a2706}.hero-roster{flex:none}.battle-screen{background:linear-gradient(#c98a4e,#b9a466 48%,#8fb85a);padding:0;display:block;position:relative}.battle-screen:after{content:none}.battlefield{box-shadow:none;z-index:1;background:0 0;border-radius:0;margin:0;position:absolute;inset:0}.battle-header{z-index:5;min-height:0;padding:max(10px,env(safe-area-inset-top)) 12px 10px;pointer-events:none;background:linear-gradient(#0b103a59,#0b103a00);align-items:flex-start;gap:8px;display:flex;position:absolute;top:0;left:0;right:0}.battle-header>*{pointer-events:auto}.objective-copy{flex:1;min-width:0}.hero-rosters{flex-wrap:wrap;gap:10px;display:flex}.hero-roster{flex-direction:row;gap:0}.roster-label{display:none}.roster-badges{gap:4px;padding-bottom:10px}.roster-hero{width:var(--avatar);height:var(--avatar);box-shadow:0 2px #0b103a,0 4px 8px #0b103a40}.round-pill{min-width:84px;max-width:150px;color:var(--ink);text-align:center;background:linear-gradient(#fffaf0,#ffeab4);border-radius:16px;flex-direction:column;flex:none;align-items:center;padding:4px 12px 5px;display:flex;box-shadow:0 3px #b49a5c,0 6px 12px #0b103a40}.round-pill small{letter-spacing:.06em;text-transform:uppercase;color:#9a6a1c;white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:12px;font-weight:900;line-height:13px;overflow:hidden}.round-pill .objective-status strong{color:var(--royal);letter-spacing:-.02em;font-size:19px;line-height:22px}.round-pill .dusk-mark{color:#7a3a8a;background:0 0;min-height:14px;padding:0;font-size:11px;font-weight:850;line-height:14px}.round-pill .dusk-mark.active{color:#7a3a8a;background:0 0}.battle-header .icon-button{width:44px;height:44px}.turn-banner{top:calc(var(--hud-top) + 8px)}.battle-footer{z-index:5;box-shadow:none;pointer-events:none;background:0 0;border:0;border-radius:0;margin:0;padding:0;position:absolute;bottom:0;left:0;right:0}.battle-footer>*{pointer-events:auto}.battle-hint{pointer-events:none;background:0 0;border:0;align-items:center;gap:8px;height:30px;min-height:30px;margin:0;padding:0 10px 4px;display:flex;position:static}.battle-hint>span{color:#fff6dc;text-shadow:0 1px #0b103a,0 0 6px #0b103a99;text-align:left;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:13px;font-weight:850;line-height:16px;overflow:hidden}.battle-hint .wave-strip{flex:none;gap:5px}.battle-hint .wave-strip>span{min-width:0;height:24px;padding:0 9px 0 3px;font-size:12px;box-shadow:0 2px #0b103a66}.hand-row{padding:9px 9px max(9px,env(safe-area-inset-bottom));background:linear-gradient(#0b103a40,#0b103a8c 30%,#0b103ad9);align-items:stretch;gap:6px;display:flex}.hand-row:before{content:"";pointer-events:none;background:linear-gradient(#0b103a00,#0b103a40);height:28px;position:absolute;bottom:100%;left:0;right:0}.hand{flex:1;gap:5px;min-width:0}.hand-side{flex-direction:column;flex:0 0 58px;justify-content:space-between;align-items:stretch;gap:6px;display:flex}.next-card{opacity:1;flex-direction:row;justify-content:center;align-items:center;gap:4px;width:auto}.next-card>span{font-size:11px;font-weight:850}.next-card>div{width:30px;height:40px}.wait-button{flex-direction:row;gap:3px;width:auto;min-height:44px;padding:0 4px;font-size:13px}.wait-button span{letter-spacing:-3px;font-size:11px}@media (height<=740px){.next-card>div{height:32px}}.world-hero{box-shadow:0 0 0 1.5px #2b2350,0 2px 0 1.5px #2b2350,0 4px 7px #0b103a73}.world-callout{text-shadow:0 2px #334754,0 3px 6px #0b103a8c}.world-callout[data-kind=intent]{text-shadow:0 2px #5a1d1a,0 3px 6px #0b103a8c}.battle-hint>span{-webkit-text-stroke:3px #0b103a;paint-order:stroke fill;text-shadow:0 2px #0b103a,0 3px 6px #0b103a99}.battle-hint .wave-strip>span{box-shadow:0 0 0 1.5px #0b103a,0 2px 0 1.5px #0b103a,0 4px 7px #0b103a66}.drag-reason{box-shadow:0 0 0 1.5px #1a0608,0 2px 0 1.5px #1a0608,0 4px 10px #3a101399}.reward-options.pick{grid-template-columns:1fr;gap:12px;margin:12px 0;display:grid}.reward-row{text-align:left;width:100%;min-height:112px;color:var(--ink);animation:outcome-in .28s calc(.12s + var(--order)*.1s) ease-out both;background:linear-gradient(#fffaf0,#fff1cf);border:3px solid #ffd45c;border-radius:18px;grid-template-columns:68px 1fr 34px;align-items:center;gap:0 12px;padding:8px 10px 8px 8px;display:grid;box-shadow:0 5px #b8650f,0 12px 22px #0b103a55}.upgrade-seal{align-self:start;width:68px;height:92px;margin-top:2px;position:relative}.upgrade-rosette{filter:drop-shadow(0 3px #8a4a0a)drop-shadow(0 6px 8px #0b103a40);width:68px;height:92px;position:absolute;inset:0;overflow:visible}.upgrade-rosette .rim{fill:#ffc43a;stroke:#5a2d06;stroke-width:2px;stroke-linejoin:round}.upgrade-rosette .ring{fill:#fff3c4;stroke:#b8650f;stroke-width:1.4px}.upgrade-rosette .tail{fill:#fff1cf;stroke:#b8650f;stroke-width:1.8px;stroke-linejoin:round}.upgrade-face{background:#d6dde8;border-radius:50%;width:50px;height:50px;position:absolute;top:9px;left:9px;overflow:hidden;box-shadow:0 0 0 2px #1f2340}.upgrade-face img{object-fit:cover;object-position:50% 10%;width:100%;height:100%}.upgrade-plus{color:#1f2340;background:linear-gradient(#fff3b8,#ffd45c 60%,#e9a426);border:2px solid #1f2340;border-radius:50%;place-items:center;width:22px;height:22px;font-size:18px;font-weight:950;line-height:1;display:grid;position:absolute;top:-1px;right:-1px;box-shadow:0 2px #11143a}.upgrade-plus.done{background:#2f8a4a;border-color:#fff6dc;box-shadow:0 2px #11143a}.upgrade-plus.done svg{fill:none;stroke:#fff;stroke-width:3.4px;stroke-linecap:round;stroke-linejoin:round;width:13px;height:13px}.upgrade-gate .star-mark{vertical-align:-1px;width:12px;height:12px;margin-left:1px;display:inline-block}.upgrade-gate{color:#fff6dc;text-align:center;white-space:nowrap;background:#1f2340;border:1.5px solid #e9e2cc;border-radius:10px;min-width:30px;height:20px;padding:0 6px;font-size:12px;font-weight:950;line-height:17px;position:absolute;bottom:-2px;left:50%;transform:translate(-50%)}.reward-copy{flex-direction:column;gap:3px;min-width:0;display:flex}.reward-copy h2{color:var(--ink);margin:0;font-size:21px;line-height:1.15}.reward-copy p{color:#4d4570;margin:0;font-size:15px;line-height:1.3}.upgrade-unit{color:#6b6290;font-size:14px;font-weight:800;line-height:1.1}.reward-row.upgrade .reward-copy h2{font-size:21px;line-height:1.1}.reward-copy .upgrade-change{color:#2b2350;align-items:flex-start;gap:5px;margin-top:2px;font-size:15px;font-weight:850;line-height:19px;display:flex}.upgrade-glyph{fill:currentColor;flex:none;width:17px;height:17px;margin-top:1px}.upgrade-glyph.health{color:#d8404f}.upgrade-glyph.attack{color:#3346c8}.upgrade-glyph.speed{color:#1f8fb8}.upgrade-glyph.range{color:#2f9a52}.upgrade-glyph.reach{color:#d9790c}.upgrade-glyph.aim,.upgrade-glyph.volley{color:#7b4be0}.reward-options.reveal{justify-content:center;margin:12px 0 18px;display:flex}.reward-reveal{text-align:center;flex-direction:column;align-items:center;width:274px;animation:.5s cubic-bezier(.2,.75,.3,1) .12s both card-arrive;display:flex}.reward-reveal h2{color:#fff6dc;-webkit-text-stroke:5px var(--royal-edge);paint-order:stroke fill;margin:16px 0 6px;font-size:28px}.reward-reveal p{color:#cdd3ff;margin:0;font-size:14px;line-height:1.45}:root{--choice-ring:#e2c36e;--choice-on:#3f8a2b;--choice-on-glow:#7cc442;--choice-on-fill:#eaf7dc;--choice-off:#e9d9a6}.choice{cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .12s ease-out,box-shadow .12s ease-out,background .12s ease-out;position:relative}.choice:active:not([aria-disabled=true]):not(.locked):not(.earned){transform:translateY(3px);box-shadow:0 2px #b8650f,0 6px 12px #0b103a44}.choice:focus-visible{outline-offset:3px;outline:3px solid #fff6dc}.choice-mark{border:3px solid var(--choice-ring);color:#8a7a55;background:#fffaf0;border-radius:50%;justify-self:end;place-items:center;width:34px;height:34px;display:grid;box-shadow:inset 0 2px #0000000f}.choice-mark:after{content:"";opacity:0;border:0 solid #fff;border-width:0 0 4px 4px;width:13px;height:7px;margin-top:-3px;transform:rotate(-45deg)}.choice-mark svg{width:17px;height:17px}.choice.locked .choice-mark:after,.choice.passed .choice-mark:after{display:none}.choice.selected,.choice.earned{border-color:var(--choice-on-glow);background:linear-gradient(#f6fff0,var(--choice-on-fill))}.choice.selected{box-shadow:0 0 0 3px var(--choice-on-glow),0 5px 0 var(--choice-on)}.choice.selected .choice-mark,.choice.earned .choice-mark{background:var(--choice-on);border-color:var(--choice-on)}.choice.selected .choice-mark:after,.choice.earned .choice-mark:after{opacity:1}.choice.selected .choice-mark{animation:.24s cubic-bezier(.3,1.6,.5,1) pick-pop}.choice.full,.choice.locked,.choice.passed{border-color:var(--choice-off);box-shadow:0 5px #c9a46a,0 12px 22px #0b103a33}.choice.full .choice-mark,.choice.locked .choice-mark,.choice.passed .choice-mark{border-color:var(--choice-off);background:#f3ead2}.choice-mark.nudge{animation:.32s ease-in-out label-nudge}.choice-note{color:#8a5c0e;letter-spacing:.02em;margin-top:2px;font-size:12px;font-weight:900}.choice.earned .choice-note{color:#2e6b1f}@media (prefers-reduced-motion:reduce){.title-screen.launch .title-art{animation:none}}.story-toast{z-index:30;top:calc(var(--hud-top) + 8px);color:#2b2350;pointer-events:none;background:#fff6dc;border:2px solid #ffd85a;border-radius:16px;align-items:center;gap:10px;padding:10px 14px 10px 10px;animation:.32s cubic-bezier(.2,.8,.3,1.2) both story-in;display:flex;position:absolute;left:12px;right:12px;box-shadow:0 3px #161d63,0 8px 18px #0b103a55}.story-toast .story-face{background:#cfe0ff;border:2px solid #3346c8;border-radius:50%;flex:0 0 48px;width:48px;height:48px;overflow:hidden}.story-toast .story-face img{object-fit:cover;width:100%;height:100%;display:block}.story-toast strong{font-size:calc(15px * var(--type,1));color:#3346c8;font-weight:900;line-height:1.2;display:block}.story-toast p{font-size:calc(14px * var(--type,1));margin:2px 0 0;font-weight:750;line-height:1.29}.story-toast small{font-size:calc(12px * var(--type,1));color:#6b6390;margin-top:4px;font-weight:800;display:block}.lesson-hand{z-index:40;pointer-events:none;filter:drop-shadow(0 3px 4px #0b082066);width:44px;height:44px;margin:-6px 0 0 -12px;position:fixed}.lesson-hand svg{width:100%;height:100%;display:block}@keyframes story-in{0%{opacity:0;transform:translateY(-10px)scale(.96)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.story-toast{animation:none}}.map-banner{flex-direction:row;justify-content:space-between;gap:6px}.act-name{flex-direction:column;align-items:center;min-width:0;display:flex}.map-banner .act-name strong{white-space:nowrap;font-size:20px}.act-name small{align-items:center;gap:5px;display:inline-flex}.act-stars{letter-spacing:0;border:1.5px solid #0000;border-radius:99px;gap:1px;margin:-4px 0;padding:1px 3px;display:inline-flex}.act-stars i{width:14px;height:14px;position:relative}.act-stars i .star-mark{position:absolute;inset:0}.act-stars i:not(.earned) .star-gold{visibility:hidden}.act-stars.complete{background:#2b2350;border-color:#ffd45c;position:relative;overflow:hidden;box-shadow:0 1px #a3741b,0 0 8px #ffc83acc}.act-stars.complete:after{content:"";background:linear-gradient(100deg,#0000,#fffdf2cc,#0000);width:30%;animation:1.1s ease-out .35s both act-sheen;position:absolute;inset:-2px auto -2px -40%;transform:skew(-20deg)}@keyframes act-sheen{0%{left:-40%}to{left:120%}}@media (prefers-reduced-motion:reduce){.act-stars.complete:after{animation:none;display:none}}.act-step{color:#7a4e0c;background:#fff6dc;border:2px solid #c88a1d;border-radius:50%;flex:0 0 34px;place-items:center;width:34px;height:34px;padding:0 0 3px;font:950 22px/1 ui-rounded,system-ui;display:grid}.act-step:disabled{opacity:.25}.act-step.onward{background:#ffd85a;animation:.7s ease-in-out infinite alternate act-onward}@keyframes act-onward{to{transform:scale(1.18);box-shadow:0 0 0 4px #ffd85a66}}.map-land.palette-briars .map-art{filter:hue-rotate(-32deg)saturate(.9)brightness(.9)}.map-land.palette-thornwood .map-art{filter:hue-rotate(150deg)saturate(.6)brightness(.78)}@media (prefers-reduced-motion:reduce){.act-step.onward{animation:none}}.opens-line{color:#5b3b06;background:#fff1c9;border:2px dashed #a8760f;border-radius:12px;margin:8px 0 0;padding:6px 10px;font-size:13px;font-weight:800;line-height:1.25}.opens-line b{color:#8a4b00;letter-spacing:.04em}.opens-line.met{color:#27551a;background:#e3f6d2;border-style:solid;border-color:#7fc45a}.result-screen .opens-line{text-align:center;text-wrap:balance;max-width:34ch;margin:8px auto 0}.map-node[aria-disabled=true]{cursor:default}.mark-rim,.mark-shine{pointer-events:none;-webkit-mask:var(--art) 50% 100%/contain no-repeat;-webkit-mask:var(--art) 50% 100%/contain no-repeat;mask:var(--art) 50% 100%/contain no-repeat;position:absolute;inset:0}.mark-rim{transform-origin:50% 64%;filter:blur(2.5px);opacity:.45;will-change:opacity;background:#ffe27a;animation:2.4s ease-in-out infinite tile-rim;transform:scale(1.07)}.mark-shine{overflow:hidden}.mark-shine i{will-change:transform;background:linear-gradient(104deg,#fff8d800 0,#fff8d826 26%,#fffbe6c7 50%,#fff8d826 74%,#fff8d800 100%);width:46%;animation:2.4s cubic-bezier(.45,.05,.4,1) infinite tile-sweep;position:absolute;top:0;bottom:0;left:0;transform:translate(-100%)}@keyframes tile-sweep{0%{transform:translate(-100%)}38%,to{transform:translate(218%)}}@keyframes tile-rim{0%,to{opacity:.45}22%{opacity:1}}.map-node.guide-pop .node-mark,.act-step.guide-pop{animation:.9s cubic-bezier(.2,.8,.3,1.3) 2 guide-pop}@keyframes guide-pop{0%,to{transform:scale(1)}35%{filter:drop-shadow(0 0 10px #fff3a6)drop-shadow(0 0 20px #ffc928);transform:scale(1.22)}}.map-guide{z-index:40;left:16px;right:16px;bottom:calc(86px + env(safe-area-inset-bottom));color:#fff6dc;font-size:calc(14px * var(--type,1));text-align:center;pointer-events:none;background:#2b2350f2;border:2px solid #ffcf4a;border-radius:14px;margin:0;padding:8px 14px;font-weight:850;animation:.28s cubic-bezier(.2,.8,.3,1.2) both story-in;position:absolute;box-shadow:0 3px #161d63,0 8px 18px #0b103a55}@media (prefers-reduced-motion:reduce){.mark-rim,.mark-shine i,.map-node.guide-pop .node-mark,.act-step.guide-pop,.map-guide{animation:none}.mark-rim{opacity:.9}.mark-shine i{opacity:.55;transform:translate(59%)}}.sound-switches{gap:10px;margin:0 0 16px;display:flex}.sound-switches .switch{min-height:44px;color:inherit;font:inherit;background:#0b103a14;border:0;border-radius:14px;flex:1;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;font-weight:700;display:flex}.sound-switches .switch i{background:#0b103a40;border-radius:12px;width:40px;height:24px;transition:background .15s;position:relative}.sound-switches .switch i:after{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .15s;position:absolute;top:3px;left:3px}.sound-switches .switch[aria-checked=true] i{background:#2f8f4e}.sound-switches .switch[aria-checked=true] i:after{transform:translate(16px)}.result-blow{font-size:calc(14px * var(--type,1));text-wrap:balance;color:var(--ink);max-width:310px;margin:8px auto 0;font-weight:700;animation:.24s ease-out .35s both outcome-in}.result-gap{flex-wrap:wrap;justify-content:center;gap:12px;width:100%;padding:10px 0 2px;animation:.24s ease-out .4s both outcome-in;display:flex}.result-foe>span:first-child{background:linear-gradient(#e2394f,#9c1f33)}.gap-bar{background:#e9dcc0;border-radius:3px;width:72px;height:6px;margin-top:4px;display:block;overflow:hidden}.gap-bar i{border-radius:inherit;background:#e2394f;height:100%;display:block}@media (prefers-reduced-motion:reduce){.result-blow,.result-gap{animation:.12s both fade-in!important}}.road-screen{justify-content:center;gap:10px}.reward-screen.road-screen>p.road-act{color:#cdd3ff;margin:0;font-size:15px;font-weight:850}.road-stops{justify-content:center;gap:18px;margin:8px 0 4px;display:flex}.road-stop{max-width:260px;animation:road-stop-in .5s calc(.15s + var(--order,0)*.18s) cubic-bezier(.3,1.4,.5,1) both;flex-direction:column;align-items:center;gap:4px;display:flex}.road-stop small{color:#ffd85a;letter-spacing:.08em;text-transform:uppercase;font-size:12px;font-weight:900}.road-stop h1{margin:0;font-size:32px;line-height:1.05}.road-stops.fork .road-stop h1{font-size:22px}.road-mark{filter:drop-shadow(0 10px 12px #0b103a80);width:190px;display:block}.road-stops.fork .road-mark{width:140px}.road-mark img{width:100%;height:auto;display:block}.reward-screen.road-screen>p.road-side{color:#cdd3ff;max-width:280px;margin:4px 0 0;font-size:13px;line-height:1.45}.road-side b{background:var(--violet);color:#fff;letter-spacing:.1em;text-transform:uppercase;border-radius:9px;margin-right:6px;padding:1px 7px;font-size:11px;display:inline-block}.road-screen .reward-footer{margin-top:18px}@keyframes road-stop-in{0%{opacity:0;transform:translateY(18px)scale(.8)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.road-stop{animation:.12s both fade-in}}.debug-sheet .debug-log{color:#3a2a14;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;background:#fff8e6;border-radius:12px;max-height:46vh;margin:0 0 14px;padding:8px 10px 8px 30px;font:11px/1.35 ui-monospace,Menlo,monospace;overflow:auto}.debug-sheet .debug-log li{margin:0 0 5px}.debug-sheet .secondary{margin-top:10px}.debug-button{opacity:.75;min-height:44px;margin:-12px 0 6px;font-size:13px;display:block}.lost:has(.result-goals) .result-actions{animation-delay:calc(var(--after) + .3s)}.pause-sheet .goal-stack{margin:14px 0 4px}.pause-sheet .best-line{color:#b3add9;border-top:1.5px solid #ffffff1f;justify-content:space-between;align-items:center;gap:10px;margin:0;padding:6px 12px 7px;font-size:12px;font-weight:850;line-height:1.2;display:flex}.pause-sheet .best-row{gap:2px;display:flex}.pause-sheet .best-row svg{width:16px;height:16px;overflow:visible}.pause-sheet .best-row svg:not(.on){opacity:.55}.pause-sheet .attempt{margin-bottom:10px}.pause-sheet .attempt h3{letter-spacing:.12em;text-transform:uppercase;color:#a8760f;margin:12px 2px 6px;font-size:12px;font-weight:900;line-height:1.2}.attempt-goals{gap:5px;margin:0;padding:0;list-style:none;display:grid}.attempt-goals li{box-sizing:border-box;background:#fff3d6;border-radius:12px;align-items:center;gap:10px;min-height:44px;padding:5px 11px 5px 9px;display:flex;box-shadow:inset 0 0 0 1.5px #ecd9a6}.attempt-goals svg{flex-shrink:0;width:24px;height:24px;overflow:visible}.attempt-goals span{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.attempt-goals strong{color:#2b2350;font-size:14px;font-weight:900;line-height:1.2}.attempt-goals small{color:#574f7d;font-variant-numeric:tabular-nums;font-size:12px;font-weight:800;line-height:1.2}.attempt-goals em{text-align:right;color:#6f5730;flex-shrink:0;max-width:86px;font-size:12px;font-style:normal;font-weight:900;line-height:1.15}.attempt-goals .banked{background:#eaf5d9;box-shadow:inset 0 0 0 1.5px #b5dc9c}.attempt-goals .banked em{color:#2f7d3a}.attempt-goals .short small{color:#b5531a}.attempt-goals .missed{box-shadow:none;background:#f4eee2}.attempt-goals .missed svg{opacity:.4}.attempt-goals .missed strong{color:#6e6787}.attempt-goals .missed em{color:#a3263a}.battle-header{--mine:1;--foes:1;grid-template-columns:minmax(calc((var(--mine) - 1) * var(--slot-min) + var(--avatar)),calc((var(--mine) - 1) * var(--slot) + var(--avatar))) minmax(min-content,1fr) minmax(calc((var(--foes) - 1) * var(--slot-min) + var(--avatar)),calc((var(--foes) - 1) * var(--slot) + var(--avatar))) auto;align-items:start;column-gap:var(--hud-gap);padding-inline:var(--hud-side);grid-template-areas:"mine status foes menu""chips chips chips chips";row-gap:2px;padding-bottom:2px;display:grid}.battle-header .objective-copy{flex:none;grid-area:mine;min-width:0}.battle-header .round-status{justify-self:center;align-items:center;gap:var(--plate-gap);min-width:min-content;max-width:100%;padding:var(--plate-pad);color:var(--ink);background:linear-gradient(#fffaf0,#ffeab4);border-radius:21px;grid-area:status;display:flex;box-shadow:inset 0 0 0 2px #f6c544,0 3px #b8650f,0 6px 12px #0b103a40}.battle-header .round-status.hold{padding:var(--plate-hold);border-radius:16px}.round-dial{width:var(--dial);height:var(--dial);flex:none;place-items:center;display:grid;position:relative}.round-dial .dial-ring{width:100%;height:100%;position:absolute;inset:0;overflow:visible}.round-dial .dial-track{stroke:#ecd49c}.round-dial .dial-fill{stroke:#f29d1e}.round-dial .dial-fill.met{stroke:#ffc93c}.round-dial .dial-disc{fill:var(--royal);stroke:var(--royal-edge);stroke-width:1px}.round-dial b{font-variant-numeric:tabular-nums;letter-spacing:-.05em;color:#fff6dc;font-size:16px;font-weight:950;line-height:1;position:relative}.round-dial{--star-socket-fill:#f3dfae;--star-socket-rim:#b8650f;--star-socket-lip:#fffaf0}.round-dial .star-mark{filter:drop-shadow(0 1px #8a4a0c);width:17px;height:17px;position:absolute;top:-5px;right:-5px}.goal-meter{flex:0 1 calc(var(--pips) * var(--pip-w));flex-direction:column;gap:3px;min-width:min-content;max-width:100%;display:flex}.round-status .objective-status{flex-wrap:nowrap;justify-content:center;gap:4px}.round-status .hud-glyph{flex:none;width:20px;height:18px}.round-status .objective-status strong{white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--royal);letter-spacing:-.03em;font-size:19px;font-weight:950;line-height:19px}.round-status .goal-pips{gap:var(--pip-gap);width:100%;min-width:max(var(--pips-min),calc(var(--pips) * var(--pip-min) + (var(--pips) - 1) * var(--pip-gap)));height:var(--pip-h);display:flex}.goal-pips i{background:#ecd49c;border-radius:1.5px;flex:7px;min-width:3px;box-shadow:inset 0 1px #c9a24f}.goal-pips i.on{background:linear-gradient(#ffd45c,#f29d1e);box-shadow:inset 0 0 0 1px #b8650f}.goal-pips i.now{background:#fffaf0;box-shadow:inset 0 0 0 1.5px #b8650f}.roster-hero.danger,.roster-hero.danger .roster-hp{border-color:var(--danger-ring)}.roster-hero.danger .roster-hp i{background:var(--danger)}.roster-hero.danger .roster-num{background:var(--danger);color:#fff6dc}.roster-hero.danger:after{content:"!";z-index:2;background:var(--danger);color:#fff6dc;text-align:center;border:2px solid #fff6dc;border-radius:50%;width:17px;height:17px;font-size:12px;font-weight:950;line-height:13px;position:absolute;top:-6px;left:-6px;box-shadow:0 1px #0b103a}.status-chips .dusk-mark{color:#7a3a8a;background:#fffaf0;border-radius:99px;align-items:center;gap:3px;height:18px;padding:0 7px 0 5px;font-size:12px;font-weight:950;line-height:1;display:inline-flex;box-shadow:inset 0 0 0 1.5px #c9a6d6,0 2px #4a1f5a66}.status-chips .dusk-mark .hud-glyph{flex:none;width:12px;height:12px}.status-chips .dusk-mark i{background:currentColor;border-radius:50%;width:5px;height:5px}.status-chips .dusk-mark.active{color:#fff6dc;background:linear-gradient(#8f4aa0,#6a2f7a);box-shadow:inset 0 0 0 1.5px #e2c4ec,0 2px #3c1846}.status-chips .dusk-mark:empty{display:none}.battle-header .goal-copy{grid-area:foes;min-width:0}.battle-header .roster-badges{isolation:isolate;flex-wrap:nowrap;flex:1;gap:0;min-width:0}.battle-header .roster-slot{z-index:var(--z);flex:0 1 var(--slot);min-width:var(--slot-min);height:var(--avatar);position:relative}.battle-header .roster-slot:last-child{width:var(--avatar);flex:none}.battle-header .roster-slot>.roster-hero{position:absolute;top:0;left:0}.battle-header>.icon-button{grid-area:menu}.goal-copy .roster-badges{justify-content:flex-end}.battle-header .status-chips{z-index:1;grid-area:chips;justify-self:center;align-items:center;gap:6px;margin-top:-8px;display:flex;position:relative}.goal-banner{z-index:20;top:calc(var(--hud-top) + 8px);text-align:center;pointer-events:none;background:linear-gradient(#fffaf0,#ffeab4);border-radius:16px;flex-direction:column;align-items:center;width:max-content;max-width:calc(100% - 32px);padding:5px 18px 7px;display:flex;position:absolute;left:50%;transform:translate(-50%);box-shadow:inset 0 0 0 2.5px #f6c544,0 3px #b8650f,0 6px 12px #0b103a40}.goal-banner[hidden]{display:none}.goal-banner small{letter-spacing:.12em;text-transform:uppercase;color:#9a6a1c;text-wrap:balance;font-size:11px;font-weight:900;line-height:13px}.goal-banner .goal-end{letter-spacing:-.01em;max-width:100%;color:var(--ink);text-wrap:balance;font-size:20px;font-weight:950;line-height:24px;display:block}.battle-hint{box-sizing:border-box;height:44px;min-height:44px;padding:0 9px 6px}.battle-hint>span.hint-plate{box-sizing:border-box;color:#fff6dc;text-align:center;white-space:normal;-webkit-text-stroke:0;height:36px;text-shadow:none;text-wrap:balance;background:#0b103af2;border-radius:18px;flex:auto;justify-content:center;align-items:center;gap:8px;padding:3px 12px;font-size:13px;font-weight:850;line-height:15px;animation:.18s ease-out both hint-in;display:flex;overflow:hidden;box-shadow:0 0 0 1.5px #7384f4,0 3px 8px #0b103a8c}.battle-hint.coaching>span.hint-plate{color:#ffe478}.hint-glyph{color:#ffe478;flex:none;place-items:center;width:20px;height:20px;display:inline-grid}.hint-glyph svg{width:20px;height:20px}@keyframes hint-in{0%{opacity:0;transform:translateY(4px)}}@media (prefers-reduced-motion:reduce){.battle-hint>span.hint-plate{animation:none}}.finale-skip{left:50%;bottom:calc(var(--hud-bottom,96px) - 35px);z-index:30;box-sizing:border-box;color:#fff6dc;letter-spacing:.01em;white-space:nowrap;pointer-events:none;background:#0b103ad9;border-radius:15px;align-items:center;height:30px;padding:0 14px;font-size:13px;font-weight:850;line-height:15px;animation:.22s ease-out both hint-in;display:flex;position:absolute;translate:-50%;box-shadow:0 0 0 1.5px #7384f4b3,0 3px 8px #0b103a73}@media (prefers-reduced-motion:reduce){.finale-skip{animation:none}}.battle-footer .next-card>.next-label{color:#fff6dc;letter-spacing:.08em;text-shadow:none;background:#0b103af2;border:1.5px solid #7384f4;border-radius:9px;padding:2px 7px 3px;font-size:12px;line-height:12px;top:-18px}.map-node.name-none .node-name{display:none}.map-node.name-more .node-name{opacity:0;pointer-events:none;transition:opacity var(--name-out) ease-in}.map-land[data-names=on] .map-node.name-more .node-name{opacity:var(--near,0);transition-duration:var(--name-in);transition-timing-function:ease-out}.map-node.locked .node-name{color:#6f5f49;background:linear-gradient(#f8f2e4,#ece1c8);border-color:#cdb98e;box-shadow:0 3px #8a734a33}.names-b .map-node .node-name{opacity:var(--near,0);pointer-events:none;transition:opacity var(--name-in) ease-out}.names-c .map-scroll{touch-action:pan-y}.names-c .map-land[data-names=on] .map-node.name-more .node-name{opacity:var(--spread,0);scale:calc(var(--name-small) + (1 - var(--name-small)) * var(--spread,0));transition-duration:60ms}.names-d .map-node.name-more .node-name{opacity:1;scale:var(--name-small);pointer-events:auto}@media (prefers-reduced-motion:reduce){.map-node .node-name{transition-property:opacity!important}.names-c .map-land[data-names=on] .map-node.name-more .node-name{scale:1}}.map-banner .act-name{background:0 0;border-radius:12px;flex:auto;justify-content:center;min-height:44px;margin:-2px 0;padding:2px 6px;transition:transform .12s ease-out,background-color .12s}.map-banner .act-name:active:not(:disabled){filter:none;background:#ffd45c40;transform:scale(.96)}.act-more{color:#b59a5c;place-items:center;width:20px;height:20px;margin-left:-1px;display:inline-grid}.act-more svg{width:20px;height:20px}.act-more.earned{color:var(--grass-deep)}.act-sheet{padding-top:10px}.act-sheet .sheet-heading p{font-size:calc(12px * var(--type,1));letter-spacing:.16em;text-transform:uppercase;color:#a3741b;align-items:center;gap:6px;font-weight:900;display:flex}.act-sheet .sheet-heading .act-stars{margin:0}.act-tally{grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0 12px;display:grid}.act-tally.world{grid-template-columns:repeat(4,1fr);gap:6px;margin-top:8px}.act-tally>span{font-size:calc(12px * var(--type,1));color:#7a6a45;text-align:center;background:#fff;border-radius:14px;flex-direction:column;align-items:center;gap:1px;padding:8px 4px 7px;font-weight:800;line-height:1.15;display:flex;box-shadow:inset 0 0 0 2px #f2dfa7}.act-tally b{font-size:calc(22px * var(--type,1));letter-spacing:-.02em;color:var(--royal);font-weight:950;line-height:1}.act-tally.world b{font-size:calc(18px * var(--type,1))}.act-tally b small{font-size:calc(13px * var(--type,1));color:#a39466;font-weight:900}.act-levels{border-collapse:collapse;width:100%;font-size:calc(13px * var(--type,1));font-variant-numeric:tabular-nums}.act-levels thead th{font-size:calc(12px * var(--type,1));letter-spacing:.08em;text-transform:uppercase;color:#a3741b;text-align:center;padding:0 2px 5px;font-weight:900}.act-levels thead th:first-child{text-align:left}.act-levels thead svg{vertical-align:middle;color:#a3741b;width:16px;height:16px}.act-levels tbody tr{border-top:1.5px solid #f2dfa7}.act-levels tbody th{text-align:left;color:var(--ink);padding:7px 4px 7px 0;font-weight:850;line-height:1.2}.act-levels tbody th>span{vertical-align:middle}.act-levels tbody th small{color:#5a3fb0;font-size:calc(12px * var(--type,1));vertical-align:middle;background:#ece5ff;border-radius:6px;margin-left:5px;padding:1px 5px;font-weight:900;display:inline-block}.act-levels tbody th svg{vertical-align:-2px;color:#a39466;width:14px;height:14px;margin-right:4px}.act-levels td{text-align:center;color:var(--royal);white-space:nowrap;padding:7px 2px;font-weight:900}.act-levels td.not-won{font-size:calc(12px * var(--type,1));color:#a39466;font-weight:800}.act-levels tr.locked th,.act-levels tr.hidden-road th{color:#a39466;font-weight:800}.act-levels tr.hidden-road th span{font-style:italic}.mini-stars{vertical-align:middle;gap:0;display:inline-flex}.mini-stars i{width:14px;height:14px;position:relative}.mini-stars i .star-mark{position:absolute;inset:0}.mini-stars i:not(.earned) .star-gold{visibility:hidden}.act-sheet .act-section{font-size:calc(13px * var(--type,1));letter-spacing:.12em;text-transform:uppercase;color:#a3741b;margin:18px 0 0;font-weight:950}.badge-list{gap:8px;margin:8px 0 0;padding:0;list-style:none;display:grid}.badge-stamp{color:#cbbd97;flex:0 0 44px;place-items:center;width:44px;height:44px;display:grid}.badge-stamp svg{width:44px;height:44px;overflow:visible}.badge-row.earned .badge-stamp{color:var(--grass-deep)}.badge-row.earned .badge-stamp svg{rotate:-12deg}.stamp-ring{stroke-width:1.6px;stroke-dasharray:2.4 1.7}.stamp-disc{stroke-width:1.2px}.stamp-tick{stroke:none}:is(.act-more.earned,.badge-row.earned .badge-stamp) .stamp-ring{stroke-dasharray:none}:is(.act-more.earned,.badge-row.earned .badge-stamp) .stamp-disc{fill:currentColor;stroke:none}:is(.act-more.earned,.badge-row.earned .badge-stamp) .stamp-tick{stroke:#fff;stroke-width:2.8px}.badge-row{background:#fff;border-radius:16px;align-items:center;gap:12px;padding:9px 12px 9px 9px;display:flex;box-shadow:inset 0 0 0 2px #f2dfa7}.badge-copy{flex:1;grid-template-columns:1fr auto;align-items:center;gap:2px 8px;min-width:0;display:grid}.badge-copy b{font-size:calc(15px * var(--type,1));color:var(--ink);grid-column:1/-1;align-items:center;gap:6px;font-weight:950;line-height:1.15;display:flex}.badge-copy>small{font-size:calc(12px * var(--type,1));color:#7a6a45;grid-column:1/-1;font-weight:750;line-height:1.3}.badge-row.locked .badge-copy b{color:#5d5478}.badge-pips{gap:3px;margin-left:auto;display:inline-flex}.badge-pips i{background:#e9dfc2;border-radius:50%;width:9px;height:9px;box-shadow:inset 0 1px 1px #0000001a}.badge-pips i.bronze{background:#c47a3a}.badge-pips i.silver{background:#a9b5c6}.badge-pips i.gold{background:#f2b52e}.badge-meter{background:#efe5c8;border-radius:99px;height:7px;margin-top:4px;display:block;position:relative;overflow:hidden}.badge-meter>i{border-radius:inherit;background:linear-gradient(90deg,var(--royal),#6b7dff);position:absolute;inset:0 auto 0 0}.badge-count{font-size:calc(12px * var(--type,1));color:var(--royal);font-variant-numeric:tabular-nums;margin-top:4px;font-weight:900}.badge-row.teaser{background:linear-gradient(110deg,#2b2350,#4a2f8a);box-shadow:inset 0 0 0 2px #7a4fd6,0 3px 10px #2b235040}.badge-lock{border-radius:50%;flex:0 0 44px;place-items:center;width:44px;height:44px;display:grid}.badge-lock svg{width:24px;height:24px}.badge-row.teaser .badge-lock{color:#ffd45c;background:radial-gradient(circle at 50% 30%,#8a6be0,#3a2678 70%);box-shadow:inset 0 -3px #00000040,0 0 0 2px #ffd45c88}.badge-row.teaser .badge-copy b{color:#fff6dc}.badge-row.teaser .badge-copy>small{color:#d9ceff}.badge-row.teaser .soon{color:#3a2678;font-size:calc(12px * var(--type,1));letter-spacing:.06em;text-transform:uppercase;background:#ffd45c;border-radius:99px;padding:2px 7px;font-weight:950}.badge-row.teaser .badge-meter{background:#ffffff26}.badge-row.teaser .badge-meter>i{background:linear-gradient(90deg,#ffc93c,#ffe98a)}.badge-row.teaser .badge-count{color:#ffd45c}.share-button{width:68px;color:var(--royal);font:inherit;letter-spacing:.01em;background:linear-gradient(#fffaf0,#f6e8c4);border:2px solid #fff;border-radius:18px;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:2px;padding:4px 0 2px;font-size:12px;font-weight:900;line-height:1;display:flex;box-shadow:0 5px #c8b07a,0 10px 18px #1b247533}.share-button svg{stroke-width:2.6px;width:26px;height:26px}.share-button:active:not(:disabled){transform:translateY(3px);box-shadow:0 2px #c8b07a,0 5px 10px #1b247533}.share-button[aria-busy=true]{opacity:.7}.level-sheet .sheet-actions.with-share,.reward-footer.with-share{align-items:stretch;gap:10px;display:flex}.level-sheet .sheet-actions.with-share .primary,.reward-footer.with-share>.primary{flex:1;width:auto;min-width:0}.level-sheet .share-button{border-radius:20px}.share-toast{z-index:95;left:50%;bottom:max(28px,calc(env(safe-area-inset-bottom) + 16px));color:#fff6dc;border:2px solid var(--gold);text-align:center;background:#161d63f0;border-radius:999px;width:max-content;max-width:calc(100% - 40px);padding:12px 18px;font-size:15px;font-weight:850;animation:.22s cubic-bezier(.2,.8,.3,1.2) both share-toast-in;position:fixed;transform:translate(-50%);box-shadow:0 8px 24px #0b103a66}.share-toast.leaving{animation:.22s ease-in both share-toast-out}@keyframes share-toast-in{0%{opacity:0;transform:translate(-50%,12px)}}@keyframes share-toast-out{to{opacity:0;transform:translate(-50%,8px)}}@media (prefers-reduced-motion:reduce){.share-toast,.share-toast.leaving{animation-duration:.12s}}:root{--card-ink:#30365e;--card-ink-deep:#1f2340;--card-hair:#c9c3e6;--card-bone:#e9e2cc;--card-holo:#9fe9ff;--metal-silver:linear-gradient(165deg,#f4f7fb 0%,#c3ccd8 40%,#97a3b6 68%,#8792a8 100%);--metal-gold:linear-gradient(160deg,#fff3c4 0%,#ffd45c 30%,#e9a426 64%,#a8650c 100%);--metal-crimson:linear-gradient(160deg,#ec5468 0%,#b8283c 40%,#8a1b2d 72%,#5c0f1d 100%);--pip-silver:linear-gradient(135deg,#fff,#c3ccd8 60%,#8a96ab);--pip-gold:linear-gradient(135deg,#fff7d6,#ffd45c 55%,#e9a426)}.mini-card{--card-h:118px;--card-w:auto;--card-r:13px;--card-border:1.5px;--card-pad:1.5px;--card-inner:calc(var(--card-r) - var(--card-border) - var(--card-pad));--card-outline:1.5px;--card-foot:var(--card-stat-h);--card-name:12px;--card-name-lh:13px;--card-name-h:28px;--card-stat:12px;--card-stat-h:20px;--card-icon:11px;--card-badge:22px;--card-badge-icon:14px;--card-badge-at:-1px;--card-gem-icon:13px;--card-tab:10px;--card-tab-lh:11px;--card-tab-top:-8px;--card-tab-w:auto;--card-tab-pad:1px 5px 2px 4px;--card-tab-narrow-pad:1px 3px 2px;--card-tab-narrow-sprout:none;--card-tab-r:8px;--card-tab-word:inline;--card-sprout:10px;--card-seal:15px;--card-lift:0px;--card-halo:0 0 #0000;box-sizing:border-box;height:var(--card-h);width:var(--card-w);touch-action:none;-webkit-user-select:none;user-select:none;min-width:0;padding:var(--card-pad);border:var(--card-border) solid var(--card-edge);border-radius:var(--card-r);background:var(--card-bg) border-box;box-shadow:0 0 0 var(--card-outline) var(--card-ring),0 4px 0 var(--card-drop),var(--card-halo);transform:translateY(var(--card-lift));color:#fff6dc;flex-direction:column;flex:1;justify-content:flex-start;align-items:stretch;gap:0;transition:transform .14s ease-out,box-shadow .14s ease-out;display:flex;position:relative;container:card/inline-size}.tier-base{--card-bg:var(--card-ink);--card-edge:var(--card-hair);--card-ring:var(--card-ink-deep);--card-drop:#11143a;--card-stack:var(--card-ink);--card-pip-bg:none}.tier-silver{--card-bg:var(--metal-silver);--card-edge:transparent;--card-ring:var(--card-ink-deep);--card-drop:#2a3046;--card-stack:#c3ccd8;--card-pip-bg:var(--pip-silver)}.tier-gold{--card-bg:var(--metal-gold);--card-edge:transparent;--card-ring:var(--card-ink-deep);--card-drop:#5e3405;--card-stack:#e9a426;--card-pip-bg:var(--pip-gold)}.tier-enemy{--card-bg:var(--metal-crimson);--card-edge:transparent;--card-ring:#2a0710;--card-drop:#2a0710;--card-pip-bg:none}.size-hand{--card-h:auto;aspect-ratio:78/108}.size-next{--card-r:11px;--card-pad:1.5px;--card-foot:0px;--card-name:11px;--card-name-lh:12px;--card-name-h:26px;--card-badge:18px;--card-gem-icon:11px;height:auto;position:absolute;inset:0}.mini-card.size-next :is(.card-stats,.role-badge){display:none}.size-token{--card-h:80px;--card-w:60px;--card-r:11px;--card-pad:1.5px;--card-foot:0px;--card-gem-icon:12px}.mini-card.size-token :is(.card-stats,.card-name,.role-badge){display:none}:is(.size-next,.size-token,.reward-row .size-teaser){--card-tab-w:var(--card-seal);--card-tab-pad:0;--card-tab-narrow-pad:0;--card-tab-narrow-sprout:block;--card-tab-r:50%;--card-tab-word:none;--card-sprout:calc(var(--card-seal) - 4px)}.size-pack{--card-h:108px}.size-teaser{--card-h:108px;--card-foot:19px}.size-teaser .card-name{padding-bottom:0}.reward-row .size-teaser{--card-h:96px;--card-w:68px;--card-r:12px;margin:0}.size-grid{--card-h:156px;--card-r:15px;--card-border:2px;--card-pad:2px;--card-name:14px;--card-name-lh:15px;--card-name-h:34px;--card-stat:15px;--card-stat-h:24px;--card-icon:13px;--card-badge:26px;--card-badge-icon:16px;--card-gem-icon:15px;--card-tab:11px;--card-tab-lh:12px;--card-sprout:11px}.size-big{--card-h:208px;--card-w:150px;--card-r:20px;--card-border:2px;--card-pad:2px;--card-name:16px;--card-name-lh:18px;--card-name-h:40px;--card-stat:15px;--card-stat-h:26px;--card-icon:13px;--card-badge:30px;--card-badge-icon:18px;--card-badge-at:-8px;--card-gem-icon:17px;--card-tab:12px;--card-tab-lh:13px;--card-sprout:12px;box-shadow:0 0 0 var(--card-outline) var(--card-ring),0 6px 0 var(--card-drop),0 16px 30px #0b103a66}@media (height<=740px){.size-hand{--card-stat-h:18px}.size-hand .card-name{padding-bottom:2px}}.card-body{border-radius:var(--card-inner);background:var(--card-ink-deep);flex-direction:column;flex:1;min-height:0;display:flex;position:relative;overflow:hidden}.card-body:after{content:"";z-index:2;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 0 1.5px var(--card-ink-deep);position:absolute;inset:0}.card-portrait{background:linear-gradient(#e8edf3,#c7d0dd);flex:1;width:100%;min-height:0;display:block;position:relative;overflow:hidden}.card-portrait .portrait{object-fit:cover;object-position:50% 14%;width:100%;height:100%;display:block}.mini-card .card-name{z-index:1;height:var(--card-name-h);min-height:var(--card-name-h);text-align:center;font-size:var(--card-name);line-height:var(--card-name-lh);color:#fff;text-shadow:0 1px #10124a,0 0 4px #10124acc;text-wrap:balance;overflow-wrap:anywhere;background:linear-gradient(#10124a00,#10124ac4);align-content:unsafe end;padding:0 2px 3px;font-weight:900;display:block;position:absolute;bottom:0;left:0;right:0}.card-stats{height:var(--card-stat-h);background:var(--card-ink-deep);flex-shrink:0;justify-content:space-between;align-items:center;gap:2px;padding:0 3px;display:flex}.stat{white-space:nowrap;font-size:var(--card-stat,12px);color:#fff6dc;align-items:center;gap:1px;font-weight:900;line-height:1;display:flex}.stat b{font-weight:900}.stat-icon{width:var(--card-icon,11px);height:var(--card-icon,11px);flex-shrink:0}.stat-icon.hp{fill:#ff7d9f}.stat-icon.atk{fill:none;stroke:#e8e4ff;stroke-width:2.2px;stroke-linecap:round}.stat-icon.atk.boost{stroke:#ffe08a}.stat-icon.armor{fill:#9fc9ff}.stat-icon.heal{fill:#5ad47e}.stat-icon.heal .cross{fill:none;stroke:#fffaf0;stroke-width:1.9px;stroke-linecap:round}.stat.boost.attack b{color:#ffe08a}.stat.boost.armor b{color:#cfe4ff}.stat.boost.heal b{color:#a6f5b9}.role-badge,.special-gem{top:var(--card-badge-at,-6px);z-index:3;width:var(--card-badge,22px);height:var(--card-badge,22px);border-radius:50%;place-items:center;display:grid;position:absolute}.role-badge{right:var(--card-badge-at,-6px);border:2px solid var(--card-ink-deep);background:radial-gradient(circle at 50% 35%,#fff,#f3ecdc);box-shadow:0 2px #11143a}.special-gem{left:var(--card-badge-at,-6px);box-shadow:0 2px 0 #11143a,0 0 0 1.5px var(--card-ink-deep);background:radial-gradient(circle at 40% 32%,#d2bcff,#9b6bff 55%,#5b33c4);border:2px solid #fff}.role-icon{width:var(--card-badge-icon,14px);height:var(--card-badge-icon,14px);fill:currentColor;stroke:none;overflow:visible}.role-icon .ln{fill:none;stroke:currentColor;stroke-width:1.75px;stroke-linecap:round;stroke-linejoin:round}.role-icon .w2{stroke-width:2.1px}.role-icon .w3{stroke-width:2.3px}.role-icon .thin{stroke-width:1.1px}.role-icon .cut{fill:none;stroke:#fffaf0;stroke-width:1.3px;stroke-linecap:round;stroke-linejoin:round}.role-icon .ck{fill:#fffaf0}.spark-icon{width:var(--card-gem-icon,13px);height:var(--card-gem-icon,13px);fill:#fff}.role-badge.melee{color:#d8404f}.role-badge.ranged{color:#2f9a52}.role-badge.guard{color:#2f68d8}.role-badge.aura{color:#e28a10}.role-badge.healer{color:#21a868}.role-badge.rider{color:#a3561f}.role-badge.marksman{color:#1f7f86}.role-badge.siege{color:#585d78}.role-badge.hero{color:#2b2fa8}.card-new{top:var(--card-tab-top);z-index:3;box-sizing:border-box;width:var(--card-tab-w);height:var(--card-tab-w);padding:var(--card-tab-pad);border-radius:var(--card-tab-r);border:1.5px solid var(--card-ink-deep);color:#2b2fa8;font-size:var(--card-tab);line-height:var(--card-tab-lh);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;background:#fffaf0;justify-content:center;align-items:center;gap:2px;font-weight:950;display:flex;position:absolute;left:50%;transform:translate(-50%);box-shadow:0 2px #11143a}.card-new-word{display:var(--card-tab-word)}@container card (width<72px){.card-new{padding:var(--card-tab-narrow-pad);letter-spacing:.02em}.card-new .sprout-icon{display:var(--card-tab-narrow-sprout)}}.sprout-icon{width:var(--card-sprout);height:var(--card-sprout);fill:#3d9a3a;flex-shrink:0;display:block}.sprout-icon .stem{fill:none;stroke:#2f7d2c;stroke-width:1.9px;stroke-linecap:round}.card-shine{z-index:2;border-radius:calc(var(--card-r) - var(--card-border));pointer-events:none;background:linear-gradient(160deg,#ffffff8c 0%,#fff0 22%);position:absolute;inset:0;overflow:hidden}.card-shine:before{content:"";background:linear-gradient(100deg,#fff8e000 38%,#fff8e0b3 50%,#fff8e000 62%);position:absolute;inset:0;transform:translate(-130%)}.sheen .card-shine:before{animation:card-sheen .6s cubic-bezier(.45,0,.2,1) var(--sheen-delay,0s) both;will-change:transform}@keyframes card-sheen{0%{transform:translate(-130%)}to{transform:translate(130%)}}.mini-card.selected{--card-lift:-7px;--card-halo:0 0 0 4.5px var(--card-holo),0 0 14px 6px #7fe6ff99}.mini-card:disabled{filter:none}.mini-card:disabled :is(.card-portrait,.card-stats){filter:saturate(.45)brightness(.82)}.mini-card.dragging,.mini-card.dragging.selected{--card-lift:0px;border:var(--card-border) dashed var(--card-holo);box-shadow:none;background:#141c7a66}.mini-card.dragging .card-body,.mini-card.dragging .card-stats{background:0 0}.mini-card.dragging .card-portrait{opacity:.38;filter:saturate(.3)}.mini-card.dragging :is(.card-stats,.role-badge,.special-gem,.card-new,.card-shine){visibility:hidden}.pack-count{z-index:3;background:var(--card-ink-deep);border:1.5px solid var(--card-bone);color:#fff6dc;text-align:center;white-space:nowrap;min-width:28px;height:19px;box-shadow:none;border-radius:10px;padding:0 6px;font-size:12px;font-weight:950;line-height:16px;position:absolute;inset:auto auto -11px 50%;transform:translate(-50%)}.star-gate{justify-content:center;align-items:center;gap:1px;display:inline-flex}.star-gate .star-mark{flex:none;width:13px;height:13px;margin-left:-2px}.mini-card.stacked{box-shadow:0 0 0 var(--card-outline) var(--card-ring),0 4px 0 var(--card-drop),5px -4px 0 -1px var(--card-stack),5px -4px 0 .5px var(--card-ink-deep),var(--card-halo)}.reward-kind{text-align:center;color:#ffd45c;letter-spacing:.02em;white-space:nowrap;background:var(--card-ink-deep);flex-shrink:0;height:19px;padding:0 2px 2px;font-size:12px;font-weight:950;line-height:17px;display:block}.choice.full .reward-teaser .card-body,.choice.locked .reward-teaser .card-body,.choice.passed .reward-teaser .card-body{filter:saturate(.35)}.reward-teaser.claimed .card-body,.reward-teaser.missed .card-body{filter:saturate(.2)brightness(.92);opacity:.72}.reward-teaser.claimed .reward-kind{color:#bfe8a8}.reward-teaser.missed .reward-kind{color:#c9c3b4}.claim-check{z-index:3;border:2px solid var(--card-bone);width:21px;height:21px;box-shadow:0 2px 0 var(--card-ink-deep);background:#2f8a4a;border-radius:50%;place-items:center;display:grid;position:absolute;bottom:-11px;left:50%;transform:translate(-50%)}.claim-check svg{fill:none;stroke:#fff;stroke-width:3.4px;stroke-linecap:round;stroke-linejoin:round;width:13px;height:13px}.reward-teaser.secret .card-portrait{background:repeating-linear-gradient(45deg,#3a4170 0 8px,#30365e 8px 16px);place-items:center;display:grid}.drag-token{width:60px;height:80px;box-shadow:none;opacity:.95;filter:drop-shadow(0 10px 10px #0b103a80);background:0 0;border:0;border-radius:13px;padding:0}.drag-token .mini-card{width:100%;height:100%}.drag-token.denied{box-shadow:none;background:0 0;border:0}.drag-token.waiting{opacity:.6;filter:grayscale(.6)drop-shadow(0 10px 10px #0b103a80)}.drag-token.denied .mini-card{--card-ring:#ff4d55;--card-halo:0 0 0 3.5px #3a1013}.card-front,.card-back{--card-r:25px;border-radius:var(--card-r)}.card-front{--card-border:2px;--card-pad:3px;--card-inner:calc(var(--card-r) - var(--card-border) - var(--card-pad));--card-badge:46px;--card-badge-icon:28px;--card-gem-icon:26px;--card-badge-at:-12px;border:var(--card-border) solid var(--card-edge);background:var(--card-bg) border-box;box-shadow:0 0 0 1.5px var(--card-ring),0 6px 0 var(--card-drop),0 18px 30px #0b103a80;font-size:inherit;padding:0;display:block;overflow:visible}.card-front :is(.role-badge,.special-gem){border-width:3px}.card-front>.front-art{inset:var(--card-pad);border-radius:var(--card-inner);background:linear-gradient(#e8edf3,#c7d0dd);width:auto;height:auto;position:absolute;overflow:hidden}.front-art:before{content:"";z-index:2;border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 1.5px var(--card-ink-deep);position:absolute;inset:0}.front-art:after{content:"";background:linear-gradient(#10124a00,#10124ad0);height:42%;position:absolute;bottom:0;left:0;right:0}.front-art .portrait{object-fit:cover;object-position:50% 30%;width:100%;height:100%;position:absolute;inset:0}.inspection .card-front{padding:var(--card-pad);flex-direction:column;justify-content:flex-start;align-items:stretch;gap:0;display:flex}.inspection .card-front>.front-art{border-radius:var(--card-inner) var(--card-inner) 0 0;flex:0 auto;height:min(400px,100% - 178px);position:relative;inset:auto}.inspection .card-front>.front-art:after{display:none}.inspection .front-art.arriving{background:radial-gradient(120% 90% at 50% 26%,#fff6dc 0%,#efdcae 48%,#b49d74 100%)}.inspection .front-art.arriving .portrait.full{opacity:0}.inspection .front-art.arrived .portrait.full{transition:opacity var(--art-reveal) ease-out}.inspection .front-art .stand-in{object-position:50% 22%;filter:blur(6px)saturate(1.1);transform:scale(1.14)}@media (prefers-reduced-motion:reduce){.inspection .front-art.arrived .portrait.full{transition:none}}.front-box{z-index:3;border-radius:0 0 var(--card-inner) var(--card-inner);min-height:0;box-shadow:inset 0 1.5px 0 var(--card-ink-deep);color:var(--card-ink-deep);text-align:left;background:linear-gradient(#fffaf0,#f6ead0);flex:auto;padding:11px 14px 12px;position:relative;overflow:hidden}.front-title{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.front-role{letter-spacing:.06em;text-transform:uppercase;color:#5b5f8a;white-space:nowrap;font-size:11px;font-weight:900;line-height:1}.front-stats{align-items:baseline;gap:12px;margin:7px 0 0;font-size:17px;font-weight:950;line-height:1;display:flex}.front-stats>span{align-items:center;gap:3px;display:flex}.front-stats .stat-icon{align-self:center;width:15px;height:15px}.front-stats .stat-icon.atk{stroke:#3b3f66}.front-stats .stat-icon.atk.boost{stroke:#c98a00}.front-stats .stat-icon.heal .cross{stroke:#fffaf0}.front-stats small{letter-spacing:.04em;text-transform:uppercase;color:#6a6e93;white-space:nowrap;margin-left:1px;font-size:12px;font-weight:850}.front-rule{color:#3b3f66;border-top:1px solid #1f234026;margin-top:8px;padding-top:8px;font-size:13px;font-weight:750;line-height:1.3}.front-rule em{color:#5b2fb8;font-style:normal;font-weight:900}.front-rule .spark-icon{vertical-align:-1px;fill:currentColor;width:13px;height:13px;margin-right:3px}.front-text{color:#5b5f8a;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin-top:6px;font-size:12px;font-weight:650;line-height:1.3;display:-webkit-box;overflow:hidden}.front-rule+.front-text{-webkit-line-clamp:2}.inspect-turn{height:44px;color:var(--royal);background:linear-gradient(#fffaf0,#efe1bc);border-radius:22px;align-items:center;gap:6px;padding:0 20px;font-size:15px;font-weight:900;display:flex;box-shadow:0 3px #b49a5c}.inspect-close{top:calc(env(safe-area-inset-top) + 12px);width:44px;height:44px;color:var(--card-ink-deep);background:linear-gradient(#fffaf0,#efe1bc);border-radius:22px;place-items:center;font-size:20px;font-weight:900;display:grid;position:absolute;right:14px;box-shadow:0 3px #b49a5c}.inspection:not(.tapped) :is(.inspect-turn,.inspect-close){visibility:hidden}.front-name{color:#2b2fa8;white-space:nowrap;text-overflow:ellipsis;font-size:22px;font-weight:950;line-height:24px;overflow:hidden}.tier-enemy .front-name{color:#7a1424}.upgrade-chip:before{vertical-align:middle;content:"";border:1.5px solid var(--card-ink-deep);background:var(--card-pip-bg);border-radius:1px;width:8px;height:8px;margin:0 6px 1px 2px;display:inline-block;transform:rotate(45deg)}.card-back{background:linear-gradient(#fffaf0,#fff1cf) padding-box,var(--card-bg) border-box;box-shadow:0 0 0 1.5px var(--card-ring),0 6px 0 var(--card-drop),0 12px 25px #1c2d3440;border:4px solid #0000}.special-info>strong .special-gem{--card-badge:20px;--card-gem-icon:11px;vertical-align:middle;flex-shrink:0;margin-right:6px;display:inline-grid;position:static}.special-info>strong>span{align-items:center;display:flex}@media (prefers-reduced-motion:reduce){.sheen .card-shine:before{animation:none}.mini-card.selected{--card-lift:0px}}.drag-tab,.next-card>.next-label{z-index:4;border:1.5px solid var(--card-holo);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;background:#1d2680;border-radius:8px;padding:1px 6px 2px;font-size:12px;font-weight:900;line-height:11px;position:absolute;top:-10px;left:50%;transform:translate(-50%)}.drag-tab{color:var(--card-holo)}.next-card>.next-label{color:#cdd3ff;letter-spacing:.14em;text-shadow:0 1px #10124a;background:0 0;border:0;padding:0;top:-20px}.hand-row{padding-top:16px}.battle-screen .hand{align-items:flex-start}.hand-side{flex:0 0 60px;justify-content:space-between;gap:4px}.next-card{opacity:1;cursor:pointer;-webkit-tap-highlight-color:transparent;flex:1 1 0;width:auto;min-height:0;margin-top:6px;transition:transform 80ms ease-out;display:block;position:relative}.next-card:active:not(.locked){transform:translateY(1px)scale(.97)}.next-card.locked{cursor:default}.wait-button,.wait-button:disabled{height:32px;min-height:32px;box-shadow:none;background:0 0;border:0;flex:0 0 32px;justify-content:center;align-items:center;padding:0;display:flex}.wait-button .wait-pill{height:24px;color:var(--royal);letter-spacing:0;background:linear-gradient(#fffaf0,#efe1bc);border-radius:12px;align-items:center;gap:3px;padding:0 10px 1px;font-size:12px;font-weight:900;line-height:1;display:flex;box-shadow:0 2px #b49a5c}.wait-button .wait-pill span{letter-spacing:0;color:var(--royal);margin:0;font-size:13px}.wait-button:disabled .wait-pill{opacity:.7;filter:saturate(.5)}.back-heading .card-disc{width:54px;height:54px;overflow:hidden}.back-heading .card-disc .portrait{object-fit:cover;object-position:50% 12%;width:100%;height:100%;display:block}.pack-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 10px;margin:12px 0 22px;display:grid}.level-sheet .story{font-size:calc(14px * var(--type,1));margin:10px 0 0;line-height:1.35}.level-sheet .objective-line{align-items:center;gap:10px;margin-top:14px;display:flex}.level-sheet .objective-line strong{flex:1;min-width:0}.best-stars{flex-shrink:0;gap:1px;font-style:normal;display:flex}.best-stars i{width:1em;height:1em;font-size:17px;font-style:normal;line-height:1;display:block}.level-sheet .unlocks{border-radius:12px;margin:10px 0 0;padding:8px 12px;font-size:13px;font-weight:650;line-height:1.3}.level-sheet .unlocks strong{font-weight:900;display:block}.level-sheet{--brief-gap:8px;padding-left:16px;padding-right:16px}.level-sheet :is(.size-teaser,.size-pack){--card-h:108px;--card-w:78px;flex:0 0 var(--card-w)}.reward-teasers{justify-content:center;gap:var(--brief-gap);margin:10px 0 0;padding-bottom:10px;display:flex}.secret-mark{color:#fff6dc;text-shadow:0 2px #2b2350;padding-bottom:20px;font-size:40px;font-weight:950;line-height:1}.level-sheet .sheet-heading p{color:#7a520c}.sheet-actions{align-items:stretch;gap:12px;display:flex}.sheet-actions .primary{flex:1;min-width:0;transition:filter .36s ease-out}.sheet-actions .primary:disabled{filter:saturate(0)}@media (width<=370px){.level-sheet :is(.size-teaser,.size-pack){--card-h:100px;--card-w:72px}}.back-button{margin-left:0;font-size:30px;line-height:1}.battlefield .command-chooser{background:#fff6dc;border:2px solid #ffd45c;border-radius:16px;align-items:center;gap:8px;padding:6px 6px 6px 12px;display:flex;box-shadow:0 4px #11143a55,0 8px 18px #0b082055}.battlefield .command-chooser strong{color:#2b2350;padding:0;font-size:13px;font-weight:900}.battlefield .command-chooser .command-button{background:linear-gradient(var(--royal),var(--royal-deep));color:#fff6dc;min-height:44px;box-shadow:0 3px 0 var(--royal-edge);border-radius:12px;align-items:center;gap:6px;padding:0 14px;font-size:15px;font-weight:900;display:inline-flex}.command-button svg{width:18px;height:18px}.battlefield .command-chooser .chooser-close{color:#2b2350;width:44px;height:44px;box-shadow:none;background:#f1e4c0;border-radius:12px;padding:0;font-size:20px;font-weight:900}.chooser-tail{clip-path:polygon(0 0,100% 0,50% 100%);background:#ffd45c;width:14px;height:8px;margin-left:-7px;position:absolute;bottom:-8px}.coach-hand{z-index:25;pointer-events:none;transform-origin:30% 20%;filter:drop-shadow(0 3px 4px #0b082066);width:40px;height:40px;margin:-6px 0 0 -12px;animation:1.6s ease-in-out both coach-tap;position:absolute}.coach-hand svg{width:100%;height:100%;display:block}@keyframes coach-tap{0%{opacity:0;transform:translate(10px,14px)}15%{opacity:1;transform:none}30%{transform:scale(.86)}45%{transform:none}60%{transform:scale(.86)}75%,to{opacity:1;transform:none}}@keyframes coach-fade{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.coach-hand{animation:.14s both coach-fade}}.battle-hint.coaching span{color:#ffe478}.portrait{pointer-events:none;-webkit-user-drag:none;-webkit-user-select:none;user-select:none}.hero-mini{overflow:hidden}.hero-mini .portrait,.roster-hero>span:first-child .portrait,.result-hero-health>span:first-child .portrait{object-fit:cover;object-position:50% 16%;width:100%;height:100%;display:block}.result-hero-health>span:first-child{background:linear-gradient(#a17ae8,#6a3fc4);border:2px solid #ffd85a;border-radius:50%;flex-shrink:0;width:34px;height:34px;overflow:hidden}.mini-card.stacked{--card-ring:#ffd24a;--card-halo:0 0 0 3px #5a3d00,0 0 12px 4px #ffd24a99,5px -5px 0 0 #2a35a8,5px -5px 0 2.5px #ffd24a}.mini-card.stacked .unstack{z-index:5;border-radius:var(--card-badge);color:#ffd24a;text-align:center;background:#1d2680;border:1.5px solid #ffd24a;width:20px;height:20px;font-size:14px;font-weight:900;line-height:16px;position:absolute;top:-8px;left:-7px}.drag-tab.champion-tab{color:#ffd24a;border-color:#ffd24a}.mini-card.stack-under{opacity:.28;filter:saturate(.2);pointer-events:none;border-style:dashed}.mini-card.stack-target{--card-lift:-9px;--card-halo:0 0 0 4.5px #ffd24a,0 0 16px 7px #ffd24a99}.mini-card.twin-ready:not(.stack-target){--card-ring:#ffd24a;--card-halo:0 0 0 3px #ffd24a,0 0 12px 4px #ffd24a80}.drag-token.stacked .mini-card{--card-halo:0 0 0 3px #5a3d00,5px -5px 0 0 #2a35a8,5px -5px 0 2.5px #ffd24a}.battle-screen .hand{--hand-gap:5px;gap:var(--hand-gap)}.hand-pile{flex:0 0 calc((100% - 3 * var(--hand-gap)) / 4);aspect-ratio:78/108;min-width:0;position:relative}.hand-pile>.mini-card{transform-origin:50% 100%;width:auto;height:auto;position:absolute;inset:0}.hand-pile>.pile-under{pointer-events:none}.hand-pile>.pile-under .card-body{filter:brightness(.7)saturate(.85)}.hand-pile>.pile-lifted{visibility:hidden}.hand-pile>.mini-card.stack-under{opacity:1;filter:none;border-style:solid}.hand .mini-card.stacked{--card-halo:0 0 0 3px #5a3d00,0 0 12px 4px #ffd24a99}.pile-count{z-index:5;box-sizing:border-box;border:1.5px solid var(--card-ink-deep);color:#2b2fa8;text-align:center;font-variant-numeric:lining-nums tabular-nums;white-space:nowrap;pointer-events:none;background:#fffaf0;border-radius:10px;min-width:28px;height:20px;padding:0 5px;font-size:12px;font-weight:950;line-height:17px;transition:translate .14s ease-out;position:absolute;top:-8px;right:-5px;box-shadow:0 2px #11143a}.pile-count[hidden]{display:none}.hand-pile:has(>.selected:not(.dragging)) .pile-count{translate:0 -7px}.hand-pile:has(>.stack-target) .pile-count{translate:0 -9px}.hand-pile:has(>.pressing) .pile-count{transition:none;translate:0 -6px}@media (prefers-reduced-motion:reduce){.hand-pile .pile-count{transition:none}:is(.hand-pile:has(>.selected:not(.dragging)) .pile-count,.hand-pile:has(>.pressing) .pile-count){translate:none}}.level-sheet .objective-line{margin-top:12px}.level-sheet .opens-line{margin:10px 0 0}.sheet-backdrop:has(>.level-sheet){justify-content:center;align-items:center}.sheet.level-sheet{--pop:48px;width:calc(100% - 22px);height:auto;max-height:calc(100% - 30px - var(--pop) - env(safe-area-inset-top) - env(safe-area-inset-bottom));margin-top:var(--pop);background:radial-gradient(circle at 12px 12px,#f3deb0 1.2px,#0000 1.6px) 0 0/24px 24px,linear-gradient(#fff6e0,#ffeec6);border:4px solid #4353d6;border-radius:28px;padding:0 12px 14px;animation:.2s cubic-bezier(.3,1.35,.5,1) both popup-in;display:block;position:relative;overflow:visible;box-shadow:0 0 0 3px #ffd45c,0 9px 0 3px #161d63,0 26px 40px #0b103a80}@keyframes popup-in{0%{opacity:0;transform:scale(.86)}to{opacity:1;transform:scale(1)}}.level-sheet .sheet-grip{display:none}.level-sheet .level-mark{z-index:2;left:50%;top:calc(0px - var(--pop));pointer-events:none;filter:drop-shadow(0 4px #161d63)drop-shadow(0 8px 8px #0b103a55);width:96px;height:103px;margin:0 0 0 -48px;position:absolute}.level-sheet .sheet-heading{text-align:center;padding:56px 0 0;display:block;position:relative}.level-sheet .sheet-heading p{color:#ffd85a;letter-spacing:.16em;background:#2b2350;border-radius:99px;margin:0 0 5px;padding:2px 12px 3px;font-size:12px;display:inline-block}.level-sheet .sheet-heading h1{color:#4a2706;text-shadow:0 1px #fff4c4;background:linear-gradient(#ffe478,#ffc93c 50%,#f6a21f);border-radius:6px;width:max-content;max-width:calc(100% - 44px);margin:0 auto;padding:5px 20px 7px;font-size:25px;line-height:1.1;position:relative;box-shadow:0 3px #c88a1d}.level-sheet .sheet-heading h1:before,.level-sheet .sheet-heading h1:after{content:"";z-index:-1;background:#d98b17;width:26px;position:absolute;top:7px;bottom:-7px}.level-sheet .sheet-heading h1:before{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,34% 50%);left:-14px}.level-sheet .sheet-heading h1:after{clip-path:polygon(0 0,100% 0,66% 50%,100% 100%,0 100%);right:-14px}.level-sheet .sheet-heading>div{z-index:0;position:relative}.level-sheet .act-chip{white-space:nowrap;max-width:100%}.level-sheet .close-button{z-index:3;position:absolute;top:8px;right:-2px}.level-sheet .close-button:active,.level-sheet .story-more:active{opacity:.7;transform:translateY(1px)}.level-sheet .story-more{z-index:3;min-width:44px;min-height:44px;box-shadow:none;color:#7a520c;font:inherit;letter-spacing:.02em;background:0 0;border:0;border-radius:12px;align-items:center;gap:5px;padding:0 10px;font-size:15px;font-weight:900;display:flex;position:absolute;top:8px;left:-2px}.level-sheet .story-more svg{stroke-width:2.4px;width:18px;height:18px}.goal-card{background:#2b2350;border:2px solid #ffd45c;border-radius:16px;margin:10px 0 0;overflow:hidden;box-shadow:0 3px #c88a1d}:is(.level-sheet,.pause-sheet) .goal-card .objective-line{box-shadow:none;background:0 0;border:0;border-radius:0;gap:11px;margin:0;padding:9px 12px}:is(.level-sheet,.pause-sheet) .goal-card .objective-line>svg{box-sizing:border-box;fill:none;stroke:#4a2706;background:linear-gradient(#ffe478,#f6a21f);border-radius:11px;flex-shrink:0;width:38px;height:38px;padding:7px;box-shadow:0 2px #c88a1d}:is(.level-sheet,.pause-sheet) .goal-card .objective-line svg.star-mark{width:100%;height:100%;box-shadow:none;background:0 0;border-radius:0;padding:0}.goal-card .objective-line small{letter-spacing:.14em;text-transform:uppercase;color:#ffd85a;font-size:12px;font-weight:900;line-height:1.1;display:block}.goal-card .objective-line strong{color:#fff6dc;font-size:19px;font-weight:900;line-height:1.15;display:block}.level-sheet .opens-line{margin:8px 0 0;padding-top:5px;padding-bottom:5px}.level-sheet .deck-heading{letter-spacing:.12em;text-transform:uppercase;color:#2b2350;justify-content:space-between;align-items:baseline;gap:8px;font-size:13px;font-weight:900;display:flex}.level-sheet .deck-heading small{letter-spacing:0;text-transform:none;color:#574f7d;font-weight:800;font-size:12px!important}.level-sheet .size-teaser{--card-h:96px;--card-w:68px;--card-r:12px;--card-name:11px;--card-name-lh:12px;--card-name-h:26px}.level-sheet .sheet-actions{margin:10px 0 0;display:block}.level-sheet .sheet-actions .primary{letter-spacing:-.01em;border-radius:20px;justify-content:center;gap:12px;width:100%;min-height:64px;font-size:23px}.level-sheet .sheet-actions .primary span{font-size:15px}.level-sheet .sheet-actions .primary:not(:disabled){animation:.3s ease-out both play-ready}@keyframes play-ready{0%{transform:scale(1)}45%{transform:scale(1.035)}to{transform:scale(1)}}.story-page[hidden]{display:none}.story-page .story-kicker{text-align:center;letter-spacing:.14em;text-transform:uppercase;color:#7a520c;margin:0 0 8px;font-size:13px;font-weight:900}.story-page .secondary{flex:none;justify-content:center;min-height:52px}.level-sheet.reading .story-more{color:var(--ink)}@media (height<=799px){.sheet.level-sheet{max-height:calc(100% - 30px - env(safe-area-inset-top));margin-top:0;overflow:hidden auto}.level-sheet .level-mark{display:none}.level-sheet .sheet-heading{padding-top:14px}.level-sheet .act-chip-name{display:none}}@media (prefers-reduced-motion:reduce){.sheet.level-sheet{animation:.12s both fade-in}.level-sheet *{animation:none!important}}.level-sheet .story-beat{text-align:center;font-size:calc(14px * var(--type,1));color:#4d4570;text-wrap:balance;margin:10px 6px 0;font-weight:750;line-height:1.3}.star-goals{flex-wrap:wrap;gap:4px;margin:8px 0 0;padding:0;list-style:none;display:flex}.goal-chip{color:#2b2350;background:#fff3d6;border-radius:12px;flex:1 1 0;justify-content:center;align-items:center;gap:3px;min-width:max-content;padding:5px 4px 5px 3px;display:flex;box-shadow:inset 0 0 0 1.5px #e0cd97}.goal-chip.earned{background:#f6e6ba}.chip-star{flex:none;width:17px;height:17px;margin-right:1px;position:relative}.chip-star .star-mark{width:100%;height:100%;display:block;overflow:visible}.goal-check{background:var(--grass-deep);color:#fff;border-radius:50%;place-items:center;width:12px;height:12px;display:grid;position:absolute;bottom:-5px;right:-5px;box-shadow:0 0 0 1.5px #fff6dc}.goal-check svg{stroke-width:3.8px;width:9px;height:9px}.chip-word{letter-spacing:-.01em;font-size:calc(12px * var(--type,1));white-space:nowrap;align-items:center;gap:2px;font-weight:900;line-height:1.15;display:flex}.chip-word svg{stroke-width:2.8px;color:#8a5f12;flex:none;width:12px;height:12px}@media (width<=380px){.chip-word{font-size:calc(11.5px * var(--type,1))}}.level-sheet .reward-teasers{margin:6px 0 0;padding-bottom:11px}:is(.level-sheet,.pause-sheet) .goal-card .objective-line{position:relative}.story-page{z-index:4;background:linear-gradient(#fffaf0,#fff1cf);border-radius:20px;flex-direction:column;gap:12px;padding:16px 16px 14px;animation:.16s ease-out note-in;display:flex;position:absolute;inset:62px 2px auto;box-shadow:0 0 0 2px #ffd45c,0 6px 0 2px #c88a1d,0 18px 30px #0b103a80,0 0 0 100vmax #1f234099}.story-page .story-kicker{margin:0}.story-page .story-full{font-size:calc(18px * var(--type,1));color:#2b2350;text-wrap:pretty;margin:0;font-weight:700;line-height:1.42}.level-sheet.reading>:not(.story-page,.sheet-heading){pointer-events:none}@keyframes note-in{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.level-sheet .mini-card.size-token .card-name{display:none}.sheet.level-sheet{isolation:isolate}:is(.level-sheet,.pause-sheet) .goal-card .objective-line>span:not(.best-stars){flex:1;min-width:0}.level-sheet .best-stars{color:#ffd85a;min-width:44px;min-height:44px;font:inherit;cursor:pointer;background:0 0;border:0;align-self:stretch;align-items:center;gap:4px;margin:-4px -6px -4px 0;padding:0;display:flex}.level-sheet .stars-chevron{place-items:center;width:20px;height:20px;transition:transform .16s ease-out;display:grid}.level-sheet .stars-chevron svg{fill:none;stroke:currentColor;stroke-width:3px;width:18px;height:18px}.level-sheet .best-stars[aria-expanded=true] .stars-chevron{transform:rotate(180deg)}.level-sheet .star-row{background:#ffffff14;border-radius:12px;align-self:stretch;align-items:center;gap:1px;padding:0 6px;display:flex}.level-sheet .star-row i{width:1em;height:1em;font-size:18px;line-height:1;display:block}.level-sheet .best-stars:active{transform:translateY(1px)}.star-goals[hidden]{display:none}.level-sheet .stage-rays{z-index:-1;left:50%;top:calc(4px - var(--pop));pointer-events:none;width:0;height:0;position:absolute}.level-sheet .stage-rays:before,.level-sheet .stage-rays:after{content:"";border-radius:50%;position:absolute}.level-sheet .stage-rays:before{background:repeating-conic-gradient(from 4deg,#ffe9a6 0 8deg,#ffe9a600 8deg 20deg);opacity:.4;animation:.54s cubic-bezier(.2,.7,.3,1) 40ms both rays-turn;inset:-170px;-webkit-mask:radial-gradient(closest-side,#000 18%,#0009 46%,#0000 96%);mask:radial-gradient(closest-side,#000 18%,#0009 46%,#0000 96%)}.level-sheet .stage-rays:after{background:radial-gradient(closest-side,#fff3c4cc,#ffd45c55 45%,#ffd45c00);animation:.3s ease-out 60ms both fade-in;inset:-100px}.level-sheet .level-mark{animation:.48s cubic-bezier(.3,.6,.4,1) 60ms both mark-pop}@keyframes mark-pop{0%{opacity:0;transform:translateY(54px)scale(.45)}52%{opacity:1;transform:translateY(-9px)scale(1.09)}78%{transform:translateY(3px)scale(.97)}to{opacity:1;transform:none}}@keyframes rays-turn{0%{opacity:0;transform:rotate(-50deg)scale(.4)}to{opacity:.4;transform:rotate(0)scale(1)}}.level-sheet.settled,.level-sheet.settled .level-mark,.level-sheet.settled .stage-rays:before,.level-sheet.settled .stage-rays:after{animation:none!important}.level-sheet:has(.star-goals:not([hidden])) .story-beat{display:none}@media (height<=799px){.level-sheet .stage-rays{display:none}}@media (prefers-reduced-motion:reduce){.level-sheet .stage-rays:before,.level-sheet .stage-rays:after,.level-sheet .level-mark{animation:none!important}}:is(.hero-mini,.story-face,.card-disc,.roster-hero>span:first-child,.result-hero-health>span:first-child){position:relative;overflow:hidden}:is(.hero-mini,.story-face,.card-disc,.upgrade-face,.roster-hero>span:first-child,.result-hero-health>span:first-child) .portrait.avatar{left:var(--avatar-x);top:var(--avatar-y);width:var(--avatar-w);aspect-ratio:3/4;object-fit:fill;object-position:0 0;max-width:none;height:auto;position:absolute;transform:none}:is(.hero-mini,.story-face,.card-disc,.upgrade-face,.roster-hero>span:first-child,.result-hero-health>span:first-child) .portrait.avatar.bespoke{aspect-ratio:1;object-fit:cover;width:100%;height:100%;top:0;left:0}.story-toast .story-face:has(.bespoke){border-color:#ffd85a;box-shadow:0 0 0 1.5px #161d63}.peek-source{visibility:hidden}[data-hand]{transition:transform .14s ease-out,box-shadow .14s ease-out,scale .14s ease-out}[data-hand].pressing{--card-lift:-6px;--card-halo:0 0 0 3px #ffd24a,0 0 10px 3px #ffd24a8c;transition:none;scale:1.04}@media (prefers-reduced-motion:reduce){[data-hand].pressing{--card-lift:0px;scale:none}}.battle-screen.is-decided .hand-row :is(.hand-pile,.next-card .mini-card){animation:.16s ease-out both hand-rest}.press-ring{z-index:62;pointer-events:none;width:28px;height:28px;margin:-36px 0 0 -14px;position:fixed;overflow:visible;rotate:-90deg}.press-ring circle{fill:none;stroke-width:4px}.press-ring .press-track{stroke:#1d2680;stroke-width:6px}.press-ring .press-fill{stroke:#ffd24a;stroke-linecap:round}.card-back .card-families{letter-spacing:.04em;text-transform:uppercase;opacity:.8;margin-top:2px;font-size:11px;font-weight:900}.goal-stack{margin:10px 0 0;position:relative}.goal-stack .goal-card{z-index:2;margin:0;position:relative}.goal-card .objective-line .goal-end{text-wrap:balance;font-size:21px;line-height:1.15}.goal-stack .star-goals:not([hidden]){animation:.18s ease-out goal-fan}@keyframes goal-fan{0%{opacity:0;transform:translateY(-14px)scale(.96)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.goal-stack .star-goals:not([hidden]){animation:.12s ease-out fade-in}}.reward-medal{text-align:center;flex-direction:column;flex:0 68px;align-items:center;gap:1px;min-width:0;display:flex;position:relative}.reward-medal .medal-art{flex:none;width:60px;height:81px;margin-bottom:3px;position:relative}.reward-medal .upgrade-seal{transform-origin:0 0;margin:0;position:absolute;top:0;left:0;transform:scale(.88)}.reward-medal .medal-art .pack-count{bottom:-6px}.reward-medal .medal-art .upgrade-plus.done{z-index:2;top:2px;right:2px}.reward-medal .medal-name{overflow-wrap:anywhere;color:#2b2350;text-wrap:balance;max-width:100%;font-size:12px;font-weight:900;line-height:1.1}.reward-medal.secret .upgrade-face{background:repeating-linear-gradient(45deg,#3a4170 0 8px,#30365e 8px 16px);place-items:center;display:grid}.reward-medal .secret-mark{text-shadow:none;color:#fff3c4;padding:0;font-size:30px;font-weight:950;line-height:1}.reward-medal:is(.claimed,.missed) .upgrade-seal{filter:saturate(.2)brightness(.92);opacity:.72}.reward-detail{background:#fff3c4;border:2px solid #e9c46a;border-radius:15px;flex-direction:column;flex:none;gap:1px;margin:-6px -6px 12px;padding:8px 11px 9px;display:flex;box-shadow:inset 0 -2px #e9c46a55}.reward-detail small{letter-spacing:.04em;text-transform:uppercase;color:#8a5a12;font-size:11px;font-weight:900;line-height:1.2}.reward-detail strong{color:#2b2350;font-size:17px;font-weight:950;line-height:1.15}.reward-detail p{color:#4a4060;margin:0;font-size:13px;font-weight:800;line-height:1.25}.reward-detail.claimed{background:#eaf7df;border-color:#8cc56f;box-shadow:inset 0 -2px #8cc56f55}.reward-detail.claimed small{color:#2e6b1f}.reward-detail.missed{box-shadow:none;background:#f1ece0;border-color:#cfc5ad}.reward-detail.missed small{color:#6f6656}.front-box .reward-detail{margin:-3px -4px 9px;padding:6px 10px 7px}.front-box .reward-detail strong{font-size:15px}.front-box .reward-detail p{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;display:-webkit-box;overflow:hidden}.welcome-vs{--vs-h:118px;height:var(--vs-h);isolation:isolate;background:#2b2350;border-radius:16px;grid-template-columns:1fr 1fr;margin:12px 0 0;display:grid;position:relative;overflow:hidden;box-shadow:0 0 0 2px #ffd45c,0 3px 0 2px #c88a1d}.vs-side{animation:vs-in var(--panel) cubic-bezier(.2,.8,.25,1) both;position:relative;overflow:hidden}.vs-side.ours{--vs-cx:44%;clip-path:polygon(0 0,100% 0,88% 100%,0 100%);--from:-36px;margin-right:-9%}.vs-side.foe{--vs-cx:56%;clip-path:polygon(12% 0,100% 0,100% 100%,0 100%);--from:36px;margin-left:-9%}.vs-side .portrait{--w:calc(var(--vs-scale) * var(--vs-h));left:clamp(calc(100% - var(--w)),calc(var(--vs-cx) - var(--vs-x) * var(--w)),0px);top:clamp(calc(var(--vs-h) - var(--w) * 4 / 3),calc(var(--vs-aim) * var(--vs-h) - var(--vs-y) * var(--w) * 4 / 3),0px);width:var(--w);aspect-ratio:3/4;max-width:none;height:auto;animation:vs-drift var(--drift) cubic-bezier(.3,0,.4,1) var(--panel) both;position:absolute}.vs-side.ours .portrait{--drift-to:calc(var(--drift-px) * -1)}.vs-side.foe .portrait{--drift-to:var(--drift-px)}.vs-side:after{content:"";pointer-events:none;position:absolute;inset:0}.vs-side.ours:after{background:linear-gradient(90deg,#3f63e866,#3f63e800 55%),linear-gradient(#0000 55%,#151a5ccc)}.vs-side.foe:after{background:linear-gradient(270deg,#d8423a66,#d8423a00 55%),linear-gradient(#0000 55%,#4a1414cc)}.vs-side b{z-index:1;color:#fff6dc;text-shadow:0 1px #0b103a,0 0 6px #0b103a99;max-width:70%;font-size:14px;font-weight:950;line-height:1.1;position:absolute;bottom:7px}.vs-side.ours b{left:12px}.vs-side.foe b{text-align:right;right:12px}.vs-mark{z-index:2;color:#4a2706;letter-spacing:-.04em;width:46px;height:46px;animation:vs-slam var(--slam) cubic-bezier(.3,.6,.4,1) var(--slam-at) both;background:radial-gradient(circle at 35% 30%,#fff2a8,#ffc928 55%,#e09a18);border:2.5px solid #5a3d00;border-radius:50%;place-items:center;margin:-23px 0 0 -23px;font-size:17px;font-weight:950;display:grid;position:absolute;top:50%;left:50%;box-shadow:0 3px #5a3d00,0 0 0 4px #fff6dc66}@keyframes vs-in{0%{transform:translateX(var(--from));opacity:0}to{opacity:1;transform:none}}@keyframes vs-drift{0%{transform:translate(0)}to{transform:translateX(var(--drift-to))}}@keyframes vs-slam{0%{opacity:0;transform:scale(1.8)rotate(-14deg)}55%{opacity:1;transform:scale(.9)rotate(3deg)}78%{transform:scale(1.08)rotate(0)}to{opacity:1;transform:none}}.story-beats{margin:9px 6px 0;display:grid}.story-beats .story-beat{opacity:0;animation:beat-pass var(--beat) linear calc(var(--i) * var(--beat)) both;grid-area:1/1;align-self:center;margin:0}.story-beats .story-beat.last{opacity:1;animation:beat-in var(--fade) ease-out calc(var(--i) * var(--beat)) both}@keyframes beat-pass{0%{opacity:0;transform:translateY(5px)}12%{opacity:1;transform:none}88%{opacity:1;transform:none}to{opacity:0;transform:translateY(-5px)}}@keyframes beat-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}.main-reward{background:#f6e6ba;border-radius:14px;align-items:center;gap:12px;margin:10px 0 0;padding:8px 12px 8px 8px;display:flex;box-shadow:inset 0 0 0 1.5px #e0cd97}.main-reward .reward-copy{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.main-reward .reward-copy strong{color:#2b2350;font-size:18px;font-weight:900;line-height:1.15}.main-reward .reward-copy>span:not(.deck-heading){color:#4d4570;font-size:14px;font-weight:700;line-height:1.25}.main-reward .deck-heading{justify-content:flex-start;gap:8px}.main-reward{position:relative}.reward-more{color:#3a49c9;min-height:32px;font:inherit;letter-spacing:0;cursor:pointer;background:0 0;border:0;align-items:center;gap:2px;padding:0 8px;font-size:13px;font-weight:900;display:flex;position:absolute;top:2px;right:4px}.reward-more span{margin-top:-2px;font-size:17px;line-height:1}.reward-more:active{opacity:.75;transform:translateY(1px)}.main-reward .reward-medal-slot{flex:none;display:flex}.level-sheet .welcome-vs~.story-beats .story-beat{text-wrap:balance}@media (height<=799px){.welcome-vs{--vs-h:96px;height:96px;margin-top:8px}}@media (prefers-reduced-motion:reduce){.story-beats .story-beat:not(.last){display:none}}.main-reward .medal-name{display:none}.main-reward .reward-medal-slot{font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.main-reward .reward-medal-slot:active{transform:translateY(2px)}.reward-sheet .sheet-heading{padding-top:14px}.reward-sheet .back-button{z-index:3;position:absolute;top:8px;left:-2px;right:auto}.reward-stage{border-radius:18px;min-height:236px;margin:12px 0 0;display:grid;overflow:hidden}.reward-focus{text-align:center;background:#f6e6ba;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:12px 14px 14px;display:flex;box-shadow:inset 0 0 0 1.5px #e0cd97}.reward-focus .focus-medal{transform-origin:50% 30%;margin-top:14px;margin-bottom:26px;display:flex;transform:scale(1.45)}.reward-focus .medal-name{display:none}.reward-focus .reward-kind-line{letter-spacing:.14em;text-transform:uppercase;color:#7a520c;font-size:12px;font-weight:900}.reward-focus strong{color:#2b2350;text-wrap:balance;font-size:22px;font-weight:950;line-height:1.15}.reward-focus p{color:#4d4570;text-wrap:balance;margin:0;font-size:15px;font-weight:750;line-height:1.3}.reward-focus .reward-state{color:#ffd85a;background:#2b2350;border-radius:99px;margin-top:4px;padding:2px 10px 3px;font-size:12px;font-weight:900}.reward-focus .reward-state.earned{color:#eaffdf;background:#2f7d3a}.reward-focus .reward-card-peek{flex:none;min-height:40px;margin-top:8px;padding:0 16px;font-size:14px}.reward-focus.with-card{gap:10px}.reward-focus .focus-row{text-align:left;align-items:center;gap:14px;width:100%;display:flex}.reward-focus .focus-card{flex:none;display:flex}.reward-focus .focus-card .size-teaser{--card-h:132px;--card-w:94px;--card-r:13px;--card-name:12px;--card-name-lh:13px;--card-name-h:28px;flex:0 0 var(--card-w);margin:0}.reward-focus .focus-words{flex-direction:column;flex:1;align-items:flex-start;gap:4px;min-width:0;display:flex}.reward-focus .focus-words :is(strong,p){text-align:left;text-wrap:pretty}.reward-focus.with-card .reward-card-peek{align-self:stretch;margin-top:2px}.carousel-heading{letter-spacing:.12em;text-transform:uppercase;color:#2b2350;margin:14px 4px 6px;font-size:12px;font-weight:900}.reward-carousel{scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;gap:6px;margin:0 -12px;padding:4px 12px 10px;scroll-padding:0 12px;display:flex;overflow-x:auto}.reward-carousel::-webkit-scrollbar{display:none}.carousel-item{font:inherit;scroll-snap-align:center;cursor:pointer;background:0 0;border:0;border-radius:14px;flex-direction:column;flex:0 0 76px;align-items:center;gap:2px;padding:6px 2px 4px;transition:background .14s,box-shadow .14s;display:flex}.carousel-item[aria-pressed=true]{background:#f6e6ba;box-shadow:inset 0 0 0 2px #ffc93c,0 2px #c88a1d}.carousel-item:active{transform:translateY(2px)}.carousel-item .medal-name{color:#2b2350;font-size:11px;font-weight:900}.command-medal{background:linear-gradient(var(--royal),var(--royal-deep));color:#ffd24a;border:2.5px solid #ffd24a;border-radius:50%;place-items:center;width:56px;height:56px;display:grid;box-shadow:0 3px #1b2475}.command-medal svg{width:28px;height:28px}.main-reward.command{padding:0}.main-reward.with-clue{flex-wrap:wrap;row-gap:6px}.clue-row{border-top:1.5px dashed #d2bb7d;flex:1 0 100%;align-items:center;gap:10px;margin:0 -4px -2px 2px;padding:6px 0 0;display:flex}.clue-frost{background:linear-gradient(160deg,#fffaf0,#e9dcc0 60%,#dccaa2);border-radius:8px;flex:none;place-items:center;width:42px;height:42px;display:grid;position:relative}.clue-frost i{color:#ffd85a;width:20px;height:20px;font:normal 950 13px/1 var(--ui-font,system-ui);background:#2b2350;border-radius:50%;place-items:center;display:grid;box-shadow:0 2px #11143a}.clue-row strong{color:#2b2350;flex:1;min-width:0;font-size:15px;font-weight:900;line-height:1.2}.reward-pill{color:#fff6dc;white-space:nowrap;background:#1f2340;border-radius:99px;flex:none;padding:2px 8px 3px;font-size:12px;font-weight:900;line-height:1.2}.reward-pill.win{background:#2f8a4a}.command-row{text-align:left;min-width:0;color:inherit;border-radius:14px;flex:1;align-items:center;gap:12px;display:flex;padding:8px 10px 8px 8px!important}.command-row .reward-copy .deck-heading{color:#3a49c9}.command-row .reward-copy>span:not(.deck-heading){white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.row-cue{color:#ffd85a;background:#2b2350;border-radius:50%;flex:none;align-self:flex-end;place-items:center;width:28px;height:28px;display:grid}.row-cue svg{width:16px;height:16px}.command-row:focus-visible{outline-offset:-3px;outline:3px solid #3a49c9}.risk-fix{width:100%}.rf-pair{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr);gap:8px 5px;display:grid}.rf-panel{display:contents}.rf-panel.risk>*{grid-column:1}.rf-panel.fix>*{grid-column:3}.rf-pic{grid-row:1}.rf-panel figcaption{grid-row:2}.rf-pic{aspect-ratio:1;box-shadow:0 0 0 2.5px var(--rf-edge),0 3px 0 2.5px var(--rf-shade);background:#2b2350;border-radius:14px;display:block;position:relative;overflow:hidden}.rf-pic img{object-fit:cover;width:100%;height:100%;display:block}.rf-panel.risk{--rf-edge:#e0523f;--rf-shade:#8f2a1f;--rf-ink:#a8321f}.rf-panel.fix{--rf-edge:#ffc93c;--rf-shade:#c88a1d;--rf-ink:#2b2350}.rf-mark{--rf-ring:var(--rf-edge);left:var(--x);top:var(--y);width:44px;height:44px;box-shadow:0 0 0 3px var(--rf-ring),0 0 0 5px #fff6dccc,inset 0 0 0 1.5px #fff6dccc,0 0 14px 4px var(--rf-ring);border-radius:50%;position:absolute;transform:translate(-50%,-60%)}.rf-panel.fix .rf-mark{--rf-ring:#2f9a45}.rf-mark b{background:var(--rf-ring);color:#fff;border-radius:50%;place-items:center;width:24px;height:24px;font-size:16px;font-weight:950;line-height:1;display:grid;position:absolute;top:-12px;right:-12px;box-shadow:0 0 0 2px #fff6dc,0 2px 4px #0b103a80}.rf-mark svg{width:15px;height:15px}.rf-mark.flip b{left:-12px;right:auto}.rf-panel figcaption{text-align:left;flex-direction:column;align-items:flex-start;gap:3px;display:flex}.rf-tag{background:var(--rf-edge);color:#fff;letter-spacing:.08em;text-transform:uppercase;border-radius:99px;align-items:center;gap:4px;padding:2px 8px 3px;font-size:11px;font-weight:950;line-height:1.1;display:inline-flex}.rf-panel.fix .rf-tag{color:#4a2706}.rf-tag svg{width:12px;height:12px}.rf-panel figcaption>span{color:var(--rf-ink);text-wrap:balance;font-size:13px;font-weight:800;line-height:1.25}.rf-arrow{color:#c88a1d;grid-area:1/2;align-self:center;place-items:center;display:grid}.rf-arrow svg{width:22px;height:22px}.rf-how{color:#4d4570;justify-content:center;align-items:center;gap:6px;margin:12px 0 0;font-size:14px;font-weight:850;display:flex}.rf-how svg{flex:none;width:22px;height:22px}.command-peek{z-index:6;justify-content:center;align-items:center;padding:0 15px;animation:.2s ease-out both peek-in;display:flex;position:absolute;inset:0}.command-peek.leaving{pointer-events:none;animation:.14s ease-in both peek-out}.peek-scrim{cursor:pointer;background:#161d63b8;border:0;width:100%;position:absolute;inset:0}.peek-card{background:linear-gradient(#fff6e0,#ffeec6);border-radius:22px;flex-direction:column;align-items:center;gap:4px;width:100%;padding:16px 14px;animation:.22s cubic-bezier(.3,1.35,.5,1) both popup-in;display:flex;position:relative;box-shadow:0 0 0 3px #ffd45c,0 6px 0 3px #161d63,0 20px 30px #0b103a80}.peek-card>strong{color:#2b2350;align-items:center;gap:6px;margin:0 0 10px;font-size:24px;font-weight:950;line-height:1.1;display:flex}.peek-card>strong svg,.reward-focus.command>strong svg{color:#3a49c9;flex:none;width:24px;height:24px}.peek-card .reward-kind-line{letter-spacing:.14em;text-transform:uppercase;color:#3a49c9;font-size:12px;font-weight:900}.peek-card .close-button{position:absolute;top:6px;right:6px}.reward-focus.command{gap:4px;padding:12px 12px 14px}.reward-focus.command>strong{align-items:center;gap:6px;margin-bottom:8px;display:flex}.reward-focus.command .rf-how{margin-top:8px}.reward-focus.command .reward-kind-line{color:#3a49c9}@keyframes peek-in{0%{opacity:0}to{opacity:1}}@keyframes peek-out{to{opacity:0}}@media (prefers-reduced-motion:reduce){.command-peek,.peek-card{animation:none}}.reward-sheet .sheet-actions{margin-top:6px}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.case-clue{background:#fff7dc;border-radius:14px;align-items:center;gap:10px;margin:9px 6px 0;padding:8px 12px 8px 8px;display:flex;box-shadow:inset 0 0 0 1.5px #e0cd97}.case-clue img{object-fit:contain;flex:0 0 54px;width:54px;height:54px}.case-clue figcaption{color:#2b2350;text-wrap:pretty;flex-direction:column;gap:2px;font-size:15px;font-weight:800;line-height:1.3;display:flex}.case-clue small{letter-spacing:.12em;text-transform:uppercase;color:#a06a10;font-size:11px;font-weight:900}.story-page .case-reread{margin-top:12px;font-size:16px;font-weight:600}.result-clue{color:#2b2350;text-wrap:pretty;opacity:0;max-width:310px;animation:clue-in .5s ease-out var(--after) forwards;margin:8px auto 0;font-size:15px;font-weight:800;line-height:1.35}@keyframes clue-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.result-clue{opacity:1;animation:none}}.reward-row .reward-voice{color:#6b5f8f;margin:4px 0 0;font-size:13px;font-style:italic;line-height:1.35}.reward-reveal .reward-voice{color:#fff3d8;margin:8px 0 0;font-style:italic}.battlefield .command-chooser .command-button{touch-action:none;position:relative}.command-button .dial-turns,.order-state .dial-turns{color:#2b2350;font-variant-numeric:lining-nums tabular-nums;background:#fff6dc;border-radius:999px;place-items:center;min-width:22px;height:22px;margin:0 -4px 0 2px;padding:0 4px;font-size:13px;font-weight:900;display:inline-grid}.command-button.pressing{filter:brightness(1.12)}.command-button.dialing{box-shadow:0 5px 0 var(--royal-edge,#11143a),0 0 0 3px #ffd45c;transform:translateY(-2px)}.order-dial{color:#fff6dc;pointer-events:none;background:#2b2350;border:2px solid #ffd45c;border-radius:16px;flex-direction:column;align-items:center;gap:2px;width:58px;padding:7px 0 8px;display:flex;position:absolute;bottom:calc(100% + 12px);left:50%;transform:translate(-50%);box-shadow:0 4px #11143a,0 8px 16px #0b082066}.order-dial b{font-variant-numeric:lining-nums tabular-nums;font-size:30px;font-weight:900;line-height:1}.order-dial small{letter-spacing:.06em;text-transform:uppercase;opacity:.85;font-size:10px;font-weight:900}.order-dial i{border-left:7px solid #0000;border-right:7px solid #0000;width:0;height:0}.order-dial .dial-up{border-bottom:8px solid #ffd45c}.order-dial .dial-down{border-top:8px solid #ffd45c}.order-dial i.end{opacity:.25}.order-state{color:#fffaf0;white-space:nowrap;border-radius:999px;align-items:center;gap:5px;height:28px;padding:0 10px 0 7px;font-size:13px;font-weight:900;display:inline-flex}.order-state svg{width:14px;height:14px}.order-state .dial-turns{margin:0 -6px 0 1px}.order-state.focus{background:linear-gradient(#e0453a,#a3202c)}.order-state.guard{background:linear-gradient(#24869f,#135a72)}.order-state.halt{background:linear-gradient(#3a44d0,#2b2fa8)}@media (prefers-reduced-motion:reduce){.command-button.dialing{transform:none}}.battlefield .command-chooser.stacked{flex-wrap:wrap;row-gap:6px;max-width:calc(100% - 16px);padding:8px 6px 6px 8px}.command-chooser.stacked .chooser-head{flex:1 0 calc(100% - 52px);align-items:center;gap:8px;min-width:0;display:flex}.command-chooser.stacked .chooser-head strong{text-overflow:ellipsis;overflow:hidden}.command-chooser.stacked .chooser-close{order:-1;margin-left:auto}.command-chooser.stacked .chooser-head{order:-2}.battlefield .command-chooser{flex-wrap:wrap;row-gap:6px;max-width:calc(100% - 16px)}.chooser-head.inline{align-items:center;gap:8px;min-width:0;display:inline-flex}@media (width<=389px){.battlefield .command-chooser{gap:6px;padding-left:10px}.battlefield .command-chooser .command-button{gap:5px;padding:0 10px}.battlefield .command-chooser .chooser-close{width:40px}}.order-slot{align-items:center;gap:8px;min-width:0;display:inline-flex}.command-chooser.stacked .order-slot{flex:1 0 100%}.command-chooser.stacked .order-slot .order-state{margin-right:auto}.order-none{color:#6b5f86;align-items:center;min-height:44px;padding:0 4px;font-size:14px;font-weight:850;display:inline-flex}.battlefield .command-chooser .command-button.quiet{color:#2b2350;background:#f1e4c0;border-radius:999px;min-height:44px;padding:0 12px;font-size:14px;box-shadow:inset 0 0 0 2px #d9c48e}:root{--glyph-face:ui-rounded,"SF Pro Rounded","Arial Rounded MT Bold",system-ui,sans-serif;--glyph-ink:#1b1240;--glyph-rim:#fffaf0}.world-callout{font-family:var(--glyph-face);letter-spacing:.01em;color:#fffaf0;background:var(--glyph-ink);border:2px solid var(--glyph-rim);-webkit-text-stroke:0;text-shadow:none;border-radius:999px;align-items:center;gap:4px;padding:3px 7px;font-weight:900;line-height:1;display:inline-flex;box-shadow:0 2px #0b0820,0 3px 6px #0b082040}.world-callout .glyph-damage{color:#ffc93c}.world-callout[data-kind=forecast]{-webkit-text-stroke:0;font-weight:900}.world-callout[data-kind=intent]{color:#fffaf0;-webkit-text-stroke:0;text-shadow:none}.world-callout[data-kind=heal],.world-callout[data-kind=aura-heal]{color:#fffaf0;border-color:var(--glyph-rim);background:linear-gradient(#247d32,#145b28)}.world-callout[data-kind=aura-attack]{color:#3b1d04;background:linear-gradient(#ffe27a,#f6b52c);border-color:#5a2d06;box-shadow:0 2px #5a2d06,0 3px 6px #0b082040}.world-callout:is([data-kind=aura-attack],[data-kind=aura-heal]){gap:1px;padding:2px 6px 2px 4px}.world-callout .glyph-icon.mod{flex:none;width:.8em;height:.8em}.world-callout[data-kind=hit]{box-shadow:none;color:#ffc93c;paint-order:stroke fill;-webkit-text-stroke:5px var(--glyph-ink);text-shadow:0 3px 0 var(--glyph-ink);background:0 0;border:0;padding:0 2px}.world-callout[data-kind=ability]{box-shadow:none;color:#ffe18c;paint-order:stroke fill;-webkit-text-stroke:5px var(--glyph-ink);text-shadow:0 3px 0 var(--glyph-ink);background:0 0;border:0;padding:0 2px}.world-callout[data-lethal=true]{box-shadow:none;background:0 0;border:0;padding:0}.world-callout[data-kind=hit][data-lethal=true]{color:#fffaf0;-webkit-text-stroke:6px var(--glyph-ink);text-shadow:0 3px 0 var(--glyph-ink)}.world-callout[data-lethal=true][data-kind=intent]{background:var(--glyph-ink);border:2px solid var(--glyph-rim);padding:2px 2px 2px 7px;box-shadow:0 2px #0b0820,0 3px 6px #0b082040}.glyph-ko{color:#fffaf0;border:2px solid var(--glyph-rim);background:linear-gradient(#e2394f,#c01e34);border-radius:999px;align-items:center;gap:3px;padding:2px 7px 2px 4px;display:inline-flex;box-shadow:0 2px #5c0d18}.world-callout[data-lethal=true][data-kind=intent] .glyph-ko{box-shadow:none;border-width:0}.glyph-icon{flex:none;width:1.05em;height:1.05em;display:block}.glyph-icon.shield{width:1.15em;height:1.3em}.world-callout-link{background:var(--glyph-ink);height:1.5px}.world-tag{height:16px;font:900 10px/1 var(--glyph-face);letter-spacing:.04em;color:#fffaf0;white-space:nowrap;pointer-events:none;will-change:transform;border-radius:999px;align-items:center;gap:3px;padding:0 6px 0 3px;display:inline-flex;position:absolute;top:0;left:0}.world-tag.mini{transform-origin:50%;justify-content:center;gap:0;width:15px;height:15px;padding:0;border-width:1.5px!important}.world-tag.mini span{display:none}.world-tag.mini svg{width:10px;height:10px}.world-tag.guard{background:#0f4a5e;border:2px solid #8fe3f5;box-shadow:0 2px #08303d,0 2px 5px #0b082040}.world-tag.aimed{letter-spacing:.01em;border:2px solid var(--glyph-rim);background:linear-gradient(#5a2fc0,#3b1a92);padding:0 8px;font-size:11px;box-shadow:0 2px #1b0b4a,0 2px 5px #0b082040}.roster-num{z-index:2;background:var(--glyph-ink);border:1.5px solid var(--glyph-rim);color:#fffaf0;min-width:22px;height:17px;font:900 12px/1 var(--glyph-face);font-variant-numeric:tabular-nums;border-radius:6px;place-items:center;padding:0 3px;display:grid;position:absolute;bottom:-2px;right:-8px;box-shadow:0 1.5px #0b0820}.roster-hero.fallen .roster-num{background:#6b6290}.roster-hero{border-width:3px}.enemy .roster-hero{border-color:#ffd0d6}.round-pill{box-shadow:inset 0 0 0 2.5px #f6c544,0 3px #b8650f,0 6px 12px #0b103a40}.world-tag.level{background:linear-gradient(#7a4a12,#4a2a08);border:2px solid #ffd45c;box-shadow:0 2px #2a1604,0 2px 5px #0b082040}.world-tag.mini.level svg{width:11px;height:11px}.world-tag.hold{background:#5a4a2a;border:2px solid #fff0c1;box-shadow:0 2px #2e2512,0 2px 5px #0b082040}.world-tag.halt{background:linear-gradient(#3a44d0,#2b2fa8);border:2px solid #ffd45c;box-shadow:0 2px #11143a,0 2px 5px #0b082040}.world-callout[data-kind=level],.world-callout[data-kind=level-hint]{color:#3b1d04;background:linear-gradient(#fff3b8,#ffd45c);border-color:#5a3d00;box-shadow:0 2px #5a3d00,0 3px 8px #0b082059}.world-callout[data-kind=level]{background:#fff1b0;gap:6px;padding:3px 8px 3px 4px;box-shadow:0 3px 8px #0b082059}.world-callout[data-kind=level-hint]{letter-spacing:.05em;color:#1d1a16;background:#fff;border-color:#1d1a16;gap:4px;padding:2px 7px 2px 5px;animation:1.1s ease-in-out infinite alternate level-hint;box-shadow:0 2px #1d1a16,0 3px 8px #0b082059}.world-callout .glyph-pips{gap:2px;display:inline-flex}.world-callout .glyph-pip{background:#fff;border:1.5px solid #1d1a16;border-radius:50%;width:8px;height:8px}.world-callout .glyph-pip.full{background:#1d1a16}.world-callout .glyph-skill{color:#1d1a16;font-size:1em}.world-callout[data-kind=level-hint] .glyph-up{color:#1d1a16}.world-callout .glyph-level{color:#fff3b8;letter-spacing:.04em;background:#5a3d00;border-radius:999px;padding:2px 6px;font-size:.92em}.world-callout .glyph-gain b{color:#a3300e}.world-callout .glyph-up{color:#a3300e;font-size:.85em}@keyframes level-hint{to{filter:brightness(1.05);box-shadow:0 2px #1d1a16,0 0 10px 2px #fff}}@media (prefers-reduced-motion:reduce){.world-callout[data-kind=level-hint]{animation:none}}.level-chip{z-index:30;pointer-events:none;white-space:nowrap;font-size:12px;position:fixed;transform:translate(-50%,-100%)}.world-tag.order{height:20px;font:900 13px/1 var(--glyph-face);letter-spacing:0;font-variant-numeric:lining-nums tabular-nums;border:2px solid #fff3cf;gap:2px;padding:0 6px 0 4px;box-shadow:0 2px #1b0b2a,0 2px 6px #0b082055}.world-tag.order svg{flex:none;width:13px;height:13px}.world-tag.order b{text-align:center;text-shadow:0 1px #0006;min-width:7px}.world-tag.order.focus{background:linear-gradient(#e0453a,#a3202c)}.world-tag.order.guard{background:linear-gradient(#24869f,#135a72)}.world-tag.order.halt{background:linear-gradient(#3a44d0,#2b2fa8);border-color:#ffd45c}.world-tag.order.ending{transform-origin:0;letter-spacing:.02em;font-size:11px}.world-tag.order.ending span{text-transform:uppercase}.world-tag.aimed{gap:2px;padding:0 7px 0 4px}.world-tag.aimed svg{width:12px;height:12px}
