@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/dm-sans-latin-400-normal-CW0RaeGs.woff2) format("woff2"),url(/assets/dm-sans-latin-400-normal-BwCSEQnW.woff) format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/dm-sans-latin-500-normal-B9HHJjqV.woff2) format("woff2"),url(/assets/dm-sans-latin-500-normal-Dr3UlScf.woff) format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/dm-sans-latin-600-normal-Aqo67rzb.woff2) format("woff2"),url(/assets/dm-sans-latin-600-normal-BmdmIIQ2.woff) format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/dm-sans-latin-700-normal-DvUfVpUG.woff2) format("woff2"),url(/assets/dm-sans-latin-700-normal-CUSSCpQX.woff) format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/manrope-latin-400-normal-PaqtzbVb.woff2) format("woff2"),url(/assets/manrope-latin-400-normal-8tf8FM3T.woff) format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/manrope-latin-500-normal-BYYD-dBL.woff2) format("woff2"),url(/assets/manrope-latin-500-normal-DMZssgOp.woff) format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/manrope-latin-700-normal-BZp_XxE4.woff2) format("woff2"),url(/assets/manrope-latin-700-normal-DGRFkw-m.woff) format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/manrope-latin-800-normal-BfWYOv1c.woff2) format("woff2"),url(/assets/manrope-latin-800-normal-uHUdIJgA.woff) format("woff")}@font-face{font-family:Cinzel;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/cinzel-latin-600-normal-Dd5YO2UX.woff2) format("woff2"),url(/assets/cinzel-latin-600-normal-CH_LB4su.woff) format("woff")}@font-face{font-family:Lilita One;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/lilita-one-latin-400-normal-87r-Z-Re.woff2) format("woff2"),url(/assets/lilita-one-latin-400-normal-DXkechA3.woff) format("woff")}:root{font-family:DM Sans,system-ui,-apple-system,sans-serif;color:#edece4;background:#101918;font-synthesis:none;--accent:#e7c484;--muted:#8c9a93;--line:#ffffff12;--panel:#182320;--display:"Manrope","DM Sans",sans-serif;color-scheme:dark}*{box-sizing:border-box}body{margin:0}button{font:inherit;color:inherit;cursor:pointer;border:0;background:none;touch-action:manipulation}button:disabled{cursor:not-allowed;opacity:.4}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:5px}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}h1,h2,h3,p{margin:0}.icon{width:22px;height:22px;flex-shrink:0;display:inline-block;vertical-align:middle}.app-shell{max-width:1800px;margin:auto;padding:0 42px}.topbar{height:104px;display:flex;align-items:center;gap:44px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;text-align:left;gap:13px;padding:0;white-space:nowrap;font-family:var(--display);font-size:12px;font-weight:700;letter-spacing:1.7px;line-height:1.8}.brand b{color:var(--accent);font-weight:800}.brand small{display:block;color:#7f9690;font-size:8px;letter-spacing:3.4px}.brand-symbol{display:grid;place-items:center;width:43px;height:48px;color:var(--accent);background:linear-gradient(140deg,#e7c48413,transparent);border:1px solid #e7c48425;clip-path:polygon(50% 0,100% 24%,100% 76%,50% 100%,0 76%,0 24%)}.brand-symbol .icon{width:29px;height:33px}.topnav{display:flex;gap:30px;align-self:stretch;align-items:center;margin-left:42px}.nav-link{font-size:12px;color:#8d9a93;height:100%;padding:0 2px;position:relative}.nav-link.active{color:#eeeade}.nav-link.active:after{content:"";height:2px;background:var(--accent);position:absolute;bottom:-1px;left:0;right:0}.top-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.build-label{font-size:8px;color:#819189;letter-spacing:1.7px;margin-right:17px;display:flex;align-items:center;gap:8px}.build-label i,.status-dot,.panel-live i{height:5px;width:5px;border-radius:50%;background:#89c9a2;box-shadow:0 0 10px #89c9a235}.icon-button{width:39px;height:39px;display:grid;place-items:center;color:#a9b6ac;border:1px solid #ffffff0c;border-radius:5px;transition:.2s}.icon-button:hover{color:var(--accent);border-color:#ffffff28;background:#ffffff05}.icon-button .icon{width:18px;height:18px}.install-button{font-size:10px;letter-spacing:1px;padding:10px 14px;background:#e7c4841a;color:var(--accent);border:1px solid #e7c48440;border-radius:4px}.home-hero{position:relative;min-height:550px;height:clamp(470px,41vw,650px);margin-top:26px;border-radius:9px;overflow:hidden;border:1px solid #afc4aa16;background:#223e31;isolation:isolate}.home-hero canvas{position:absolute;width:84%;height:100%;right:-11%;top:0;filter:saturate(.87) brightness(.93)}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#15221ffa,#15221ff3 25%,#15221f70 51%,#101c1812 75%),linear-gradient(0deg,#10211dda,transparent 25%,transparent 80%,#1f34282a);z-index:1}.home-grid{position:absolute;inset:0;opacity:.13;background-image:linear-gradient(#c3d8be10 1px,transparent 1px),linear-gradient(90deg,#c3d8be10 1px,transparent 1px);background-size:45px 45px;pointer-events:none;z-index:2;-webkit-mask-image:linear-gradient(90deg,#000,transparent 65%);mask-image:linear-gradient(90deg,#000,transparent 65%)}.hero-copy{position:relative;z-index:3;padding:64px 58px;width:56%;max-width:650px}.eyebrow{font-size:9px;font-weight:600;letter-spacing:2.1px;color:var(--accent);line-height:1.8}.hero-copy>.eyebrow{display:flex;gap:13px;align-items:center;font-size:8px;letter-spacing:2.7px;color:#c3c9ac}.little-line{width:26px;height:1px;background:var(--accent)}h1{font-family:var(--display);font-size:clamp(48px,5.9vw,86px);line-height:1.12;letter-spacing:-4.4px;font-weight:500;margin:25px 0 21px}h1 em{font-family:Georgia,Times New Roman,serif;color:var(--accent);font-weight:400;letter-spacing:-3px}.hero-copy p{font-size:13px;color:#a5b2a7;line-height:1.9;font-weight:400}.primary-button{background:var(--accent);color:#16221d;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:28px;border-radius:4px;padding:17px 22px;min-height:50px;transition:background .2s,box-shadow .2s;box-shadow:0 3px 18px #0000001a}.primary-button:hover:not(:disabled){background:#f6d9a0;box-shadow:0 3px 28px #e7c48424}.primary-button .icon{width:18px;height:18px}.hero-cta{margin-top:29px;min-width:233px;justify-content:space-between}.hero-caption{font-size:9px;color:#8b9f91;margin-top:17px;display:flex;align-items:center;gap:7px}.status-dot{background:#9abb97;width:4px;height:4px}.scene-label{position:absolute;z-index:3;bottom:35px;right:32px;display:flex;align-items:center;gap:12px}.scene-dot{width:7px;height:7px;border:1px solid #b9d5ac;border-radius:50%;box-shadow:0 0 0 5px #b9d5ac0c}.scene-label small{display:block;font-size:7px;letter-spacing:2.5px;color:#a3b49c;margin-bottom:7px}.scene-label strong{font-size:11px;font-weight:500;color:#dddcca}.coordinates{color:#819782;font-size:8px;letter-spacing:1.5px;margin-left:22px}.hero-corner{position:absolute;z-index:3;top:34px;right:35px;display:flex;align-items:center;gap:7px;font-size:9px;color:#a6b7a0;letter-spacing:1px}.hero-corner span:first-child{font-size:19px;color:#e8e6d4}.hero-corner small{font-size:7px;letter-spacing:1.7px}.corner-line{width:32px;height:1px;background:#b3c7a63b;margin:0 8px}.campaign-section{padding:36px 0 0}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.section-heading .eyebrow{font-size:8px;color:#8ea093;letter-spacing:2.4px}.section-heading h2{font-family:var(--display);font-size:21px;letter-spacing:-.6px;font-weight:500;margin-top:7px}.progress-label{font-size:8px;letter-spacing:1.7px;color:#899a8d;padding-top:25px}.era-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.era-card{text-align:left;border:1px solid #c6d6b916;border-radius:6px;background:linear-gradient(155deg,#1c2924,#15201d);position:relative;overflow:hidden;padding:18px 20px 17px;transition:.2s;min-height:205px}.era-card:hover{background:linear-gradient(155deg,#26362a,#17221e);border-color:#e7c48450}.era-card.selected{border-color:#d0b0798a;background:linear-gradient(150deg,#3d3b27aa,#1a2921)}.era-card.selected:before{content:"";position:absolute;height:2px;background:var(--accent);top:0;left:20px;right:20px}.era-card-top{display:flex;align-items:center;justify-content:space-between;font-size:7px;font-weight:600;letter-spacing:2px;color:var(--era-accent)}.era-card-top .icon{height:13px;width:13px}.era-art{width:105px;height:80px;display:block;margin:9px auto 3px}.era-card>strong{display:block;font-size:14px;letter-spacing:-.2px;margin-top:3px;font-weight:500;color:#dbdfd2}.era-card>small{display:block;font-size:9px;color:#89958b;margin-top:5px}.era-card-status{display:block;font-size:6px;letter-spacing:1.2px;margin-top:16px;color:#859789;white-space:nowrap}.era-card.selected .era-card-status{color:var(--accent)}.era-card.locked{background:#131e1b}.era-card.locked>.era-art{opacity:.35}.era-card.locked>.era-card-top{color:#718079}.era-card.locked>strong{color:#94a094}.era-card.locked .era-card-status{color:#5d7263}.medal-stars{font-size:10px;letter-spacing:2px}.home-bottom{display:flex;justify-content:space-between;align-items:center;color:#788c7d;font-size:9px;margin-top:20px;padding-bottom:35px}.home-bottom>span:first-child{display:flex;align-items:center;gap:8px}.home-bottom .icon{width:13px;height:13px;color:#b8af82}.home-bottom i{margin:0 10px;color:#435b4b}.app-footer{border-top:1px solid var(--line);padding:22px 0;display:flex;justify-content:space-between;color:#587266;font-size:7px;letter-spacing:1.7px}.app-footer i{font-style:normal;color:#bbab7b;padding:0 7px}.mission-bar{display:flex;align-items:center;justify-content:space-between;padding:26px 0;gap:20px}.mission-title{display:flex;align-items:center;gap:15px}.mission-title .icon-button{width:33px;height:42px;border:0}.mission-title .eyebrow{font-size:8px;letter-spacing:2px}.mission-title h2{font-family:var(--display);font-size:21px;letter-spacing:-.6px;font-weight:500;margin-top:4px}.resources{display:flex;gap:35px;margin-left:auto;margin-right:30px}.resource{display:flex;align-items:center;gap:10px}.resource>.icon{width:24px;height:24px;color:#9dac98}.resource.gold>.icon{color:#e1c484}.resource.health>.icon{color:#b2c39e}.resource b{font-family:var(--display);font-size:18px;letter-spacing:-.6px;font-weight:500;display:block;font-variant-numeric:tabular-nums}.resource small{font-size:6px;letter-spacing:1.7px;color:#71857a;display:block;margin-top:4px}.game-controls{display:flex;gap:8px}.speed-button{height:38px;width:42px;border:1px solid #ffffff14;font-size:12px;border-radius:4px;color:#c7ccbc}.battle-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;margin-bottom:35px}.battle-area{min-width:0}.map-wrap{position:relative;border-radius:7px;overflow:hidden;border:1px solid #b0c7a224;background:#213a2c;isolation:isolate}.map-wrap>#game-canvas{display:block;width:100%;aspect-ratio:5/3;touch-action:none;cursor:crosshair}.map-wrap>#game-canvas.targeting{cursor:crosshair}.map-pads{position:absolute;inset:0;pointer-events:none}.pad-hit{pointer-events:auto;position:absolute;transform:translate(-50%,-50%);width:5.5%;height:8%;min-width:38px;min-height:38px;background:transparent;border-radius:50%;padding:0}.pad-hit:active:not(:disabled){transform:translate(-50%,-50%)}.pad-hit:focus-visible{outline:2px solid #f8dc99;outline-offset:1px;background:#e7c48420}.map-heading{position:absolute;z-index:1;top:22px;left:25px;right:25px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.map-heading .eyebrow{color:#d2d9bf;font-size:7px;letter-spacing:2.7px}.map-state{font-size:6px;letter-spacing:1.8px;color:#bfd6ad;background:#10231b8a;border:1px solid #ced8b61a;padding:7px 10px;border-radius:3px}.map-notice{position:absolute;top:58px;left:50%;transform:translate(-50%,-8px);font-size:10px;color:#e8dfbc;background:#12251de0;border:1px solid #e7c48420;padding:8px 14px;border-radius:4px;opacity:0;transition:.25s;pointer-events:none;max-width:90%;text-align:center}.map-notice.visible{opacity:1;transform:translate(-50%)}.map-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;position:absolute;bottom:16px;left:22px;right:22px;font-size:8px;color:#b8c6ad;pointer-events:none}.map-footer>span:first-child{padding:7px 10px;background:#16271cba;border-radius:3px}.path-key{display:flex;align-items:center;gap:7px;font-size:6px;letter-spacing:1.5px;white-space:nowrap;opacity:.8}.path-key i{width:17px;height:3px;background:#d1c09260;border-radius:2px}.paused-overlay{position:absolute;inset:0;background:#10201bcc;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:grid;place-items:center;z-index:5;text-align:center}.paused-overlay>div>.icon{width:36px;height:36px;color:var(--accent);margin-bottom:15px}.paused-overlay h2{font-family:var(--display);font-weight:500;font-size:28px;letter-spacing:-1px}.paused-overlay p{font-size:11px;color:#9eaf9d;margin:12px 0 25px}.paused-overlay button{margin:auto}.power-bar{margin-top:12px;display:flex;border:1px solid #b0c7a218;background:#17241f;border-radius:5px;overflow:hidden;min-height:86px}.hero-power{width:205px;flex-shrink:0;display:flex;align-items:center;gap:12px;padding:15px;border-right:1px solid #ffffff0d;text-align:left;background:linear-gradient(140deg,#29362a,#18251f)}.hero-power>span:nth-child(2){flex:1}.hero-power small{display:block;color:#889c87;font-size:6px;letter-spacing:1.4px}.hero-power strong{display:block;font-size:12px;font-weight:500;margin-top:5px}.hero-power>.icon{width:14px;height:14px;color:#8c9c7d}.hero-avatar{width:40px;height:46px;display:grid;place-items:center;background:#e7c4840a;clip-path:polygon(50% 0,100% 20%,100% 80%,50% 100%,0 80%,0 20%);border:1px solid #e7c48439;color:var(--accent)}.hero-avatar .icon{width:29px;height:33px}.hero-hp{height:3px;background:#050a0670;border-radius:2px;display:block;margin-top:9px;max-width:85px;overflow:hidden}.hero-hp i{display:block;height:100%;width:100%;background:#b4c27c;transition:width .15s}.abilities{display:flex;flex:1;min-width:0}.ability-button{display:flex;flex:1;text-align:left;align-items:center;gap:9px;padding:14px 12px;border-right:1px solid #ffffff09;min-width:0;position:relative}.ability-button:last-child{border:0}.ability-button:hover,.hero-power:hover{background:#ffffff06}.ability-button strong{display:block;font-size:9px;font-weight:500;white-space:nowrap}.ability-button small{display:block;font-size:6px;color:#789580;margin-top:6px;white-space:nowrap}.ability-symbol{color:#bdaf80;width:24px;display:grid;place-items:center;flex-shrink:0}.ability-symbol.fire{color:#eaa772}.ability-symbol.ice{color:#8ac6c6}.ability-symbol .icon{width:23px;height:26px}kbd{font-family:inherit;font-size:7px;border:1px solid #ffffff15;color:#889587;padding:3px 4px;border-radius:2px;min-width:15px;display:inline-block;text-align:center}.ability-button kbd{position:absolute;right:7px;top:7px;font-size:5px;padding:1px 3px;opacity:.7}.targeting{box-shadow:inset 0 0 0 1px var(--accent);background:#e7c4840c}.battle-caption{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-top:15px;color:#788f7b;font-size:8px;line-height:1.7}.battle-caption>span:first-child{display:flex;gap:8px;max-width:75%}.battle-caption .icon{width:13px;height:13px;color:#a8b08b;flex-shrink:0;margin-top:1px}.keyboard-tip{font-size:6px;letter-spacing:.6px;white-space:nowrap;color:#56755f;line-height:2.4}.defense-panel{border:1px solid #b4c5a515;border-radius:6px;background:linear-gradient(150deg,#1d2a24,#14211c);padding:22px;display:flex;flex-direction:column;min-height:0}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-bottom:28px}.panel-heading .eyebrow{font-size:6px;letter-spacing:1.7px;color:#96ac96}.panel-live{font-size:6px;letter-spacing:1.3px;color:#668d72;display:flex;gap:5px;align-items:center}.panel-live i{height:3px;width:3px}.defense-panel h3{font-family:var(--display);font-size:21px;line-height:1.3;letter-spacing:-.7px;font-weight:500;margin-bottom:10px}.panel-intro{font-size:10px;color:#8a9e8d;line-height:1.7;margin-bottom:23px}.tower-list{display:flex;flex-direction:column;gap:9px}.tower-card{display:flex;align-items:center;text-align:left;gap:10px;padding:13px 10px;border:1px solid #ffffff0e;border-radius:4px;background:#c5ddb704;transition:.2s;width:100%}.tower-card:hover:not(:disabled){border-color:#e7c4846e;background:#e7c48408}.tower-card-icon{width:33px;height:34px;display:grid;place-items:center;color:var(--tower-color);flex-shrink:0;background:linear-gradient(140deg,#cddca90a,transparent);border-radius:4px}.tower-card-icon .icon{width:25px;height:25px}.tower-card-name{flex:1;min-width:0}.tower-card-name small{display:block;color:#788d7d;font-size:6px;letter-spacing:1px;text-transform:uppercase;margin-bottom:5px}.tower-card-name strong{font-size:10px;font-weight:500;display:block}.tower-cost{text-align:center;font-size:11px;color:#c8c294;font-variant-numeric:tabular-nums}.tower-cost small{display:block;margin-top:4px}.tower-cost .icon{width:9px;height:9px}.tactical-note{display:flex;gap:10px;border-top:1px solid #ffffff0a;margin-top:24px;padding-top:19px}.tactical-note>.icon{width:17px;height:22px;color:var(--accent);flex-shrink:0}.tactical-note p{color:#7f9884;font-size:8px;line-height:1.8}.tactical-note strong{display:block;color:#b4c29f;font-size:9px;font-weight:500;margin-bottom:4px}.wave-command{margin-top:auto;padding-top:26px}.wave-dots{display:flex;gap:5px;margin-bottom:13px}.wave-dots i{display:block;flex:1;height:3px;border-radius:1px;background:#ffffff12}.wave-dots i.complete{background:var(--accent)}.wave-dots i.current{background:#d7c19070;animation:pulse 1.5s infinite}.wave-command .primary-button{width:100%;font-size:11px;justify-content:space-between;gap:8px;min-height:48px;padding:15px}.wave-command .primary-button:disabled{background:#304536;color:#a2b391;opacity:1;cursor:default;box-shadow:none}.wave-command p{font-size:8px;color:#6e8c75;line-height:1.7;text-align:center;margin-top:12px;padding:0 3px}.pulse-dots{letter-spacing:3px;animation:pulse 1s infinite}.selected-tower-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.tower-big-icon{display:grid;place-items:center;width:55px;height:55px;background:#d5dda208;border:1px solid #d5dda215;border-radius:6px}.tower-big-icon .icon{width:36px;height:36px}.tower-level{font-size:7px;color:var(--accent);letter-spacing:1.2px}.tower-stats{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #ffffff0b;background:#0000000d;padding:17px 8px;border-radius:4px;margin:23px 0}.tower-stats span{text-align:center;border-right:1px solid #ffffff0d}.tower-stats span:last-child{border:0}.tower-stats small{display:block;font-size:6px;letter-spacing:1.1px;color:#6f8b77}.tower-stats b{font-size:17px;font-weight:500;margin-top:8px;display:block;font-family:var(--display)}.upgrade-button,.branch-button{display:flex;align-items:center;gap:10px;text-align:left;width:100%;padding:13px 10px;background:#e7c4840b;border:1px solid #e7c48438;border-radius:4px;margin:8px 0;color:#d7c492;font-size:10px}.upgrade-button>.icon,.branch-button>.icon{height:22px;width:22px;flex-shrink:0}.upgrade-button span,.branch-button span{flex:1}.upgrade-button small,.branch-button small{display:block;font-size:7px;margin-top:4px;color:#8a9e7f}.upgrade-button b,.branch-button b{display:flex;align-items:center;gap:3px;font-size:10px;font-weight:500}.upgrade-button b .icon{height:11px;width:11px}.branch-label{font-size:6px;color:#8ba17d}.max-level{font-size:6px;color:#bbce93;background:#b2c87e08;padding:14px 9px;border:1px solid #b2c87e25;border-radius:3px;letter-spacing:.6px;display:flex;align-items:center;gap:8px}.max-level .icon{height:14px;width:14px}.sell-button{display:flex;align-items:center;width:100%;gap:9px;color:#849a80;border:1px solid #ffffff0b;border-radius:4px;margin-top:13px;padding:12px 10px;font-size:8px}.sell-button .icon{width:16px;height:16px}.sell-button span{margin-left:auto;color:#bbaa7b}.text-button{display:flex;align-items:center;gap:4px;color:#8c9f86;font-size:9px;margin-top:16px;padding:8px 0}.text-button .icon{width:13px;height:13px}.text-button:hover{color:var(--accent)}.centered{margin:14px auto 0}.modal-backdrop{position:fixed;inset:0;background:#08110fbd;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);display:flex;align-items:center;justify-content:center;padding:30px;z-index:20;overflow-y:auto}.modal-card{position:relative;background:linear-gradient(135deg,#223229,#15231f);border:1px solid #c1cca731;border-radius:9px;width:min(520px,100%);padding:40px 43px;box-shadow:0 20px 100px #00000075;text-align:center;max-height:calc(100dvh - 60px);overflow:auto;scrollbar-width:thin;animation:appear .3s ease-out}.modal-close{position:absolute;right:14px;top:14px;width:29px;height:29px;border:0;color:#839984}.modal-close .icon{height:15px;width:15px}.modal-emblem{margin:0 auto 20px;display:grid;place-items:center;color:var(--accent)}.modal-emblem>.icon{width:50px;height:64px}.modal-emblem .era-art{width:100px;height:76px;margin:0}.modal-card h2{font-family:var(--display);font-size:33px;font-weight:500;letter-spacing:-1.3px;line-height:1.2;margin-top:14px}.modal-subtitle{font-size:11px;line-height:1.8;color:#9eb29d;margin:14px 0 23px}.modal-card blockquote{font-family:Georgia,serif;font-size:16px;font-style:italic;line-height:1.8;letter-spacing:-.2px;color:#d2d7c2;margin:0;padding:0 5px}.story-signer{display:flex;justify-content:center;align-items:center;gap:10px;font-size:10px;color:#d6c99f;margin:22px 0 28px;text-align:left}.story-signer>.icon{width:22px;height:24px}.story-signer small{display:block;font-size:8px;color:#7c977f;margin-top:4px}.story-rule{background:#060c090e;border:1px solid #ffffff09;border-radius:4px;padding:18px 20px;text-align:left;margin-bottom:24px}.story-rule>span{color:#7e9a80;font-size:6px;letter-spacing:1.7px;display:block}.story-rule strong{font-size:11px;font-weight:500;display:block;color:var(--accent);margin:8px 0}.story-rule p{font-size:9px;line-height:1.8;color:#91a78b}.wide{width:100%;justify-content:space-between}.help-list{text-align:left;display:flex;flex-direction:column;gap:18px;margin:20px 0}.help-list>div{display:flex;gap:14px}.help-list .icon{width:22px;height:24px;color:var(--accent);flex-shrink:0;margin-top:2px}.help-list p{font-size:10px;line-height:1.8;color:#8fa68b}.help-list strong{display:block;font-size:11px;font-weight:500;color:#d4dcc8;margin-bottom:3px}.help-keys{display:flex;flex-wrap:wrap;gap:10px 18px;text-align:left;padding:18px 0;margin-bottom:14px;border-top:1px solid #ffffff0b;color:#79947d;font-size:8px}.help-keys kbd{margin-right:4px}.lore-text{text-align:left;font-size:12px;line-height:1.9;color:#abbba4;margin-bottom:18px}.lore-eras{display:flex;justify-content:space-between;margin:25px 0 32px;font-family:Georgia,serif;font-size:21px}.lore-eras small{display:block;font-family:var(--display);font-size:7px;margin-top:8px;color:#7e9680}.result-symbol{width:75px;height:90px;display:grid;place-items:center;margin:0 auto 23px;color:var(--accent);background:radial-gradient(#e7c48415,transparent 65%)}.result-symbol .icon{width:60px;height:75px}.result-symbol.loss{color:#d99376}.result-stars{display:flex;justify-content:center;gap:15px;margin:25px 0;color:#405e46}.result-stars .icon{width:32px;height:32px}.result-stars .earned{color:var(--accent);filter:drop-shadow(0 0 10px #e7c48422)}.result-stars .earned svg{fill:#e7c48418}.result-stats{display:flex;justify-content:space-around;border-top:1px solid #ffffff0b;border-bottom:1px solid #ffffff0b;padding:22px 0;margin:25px 0}.result-stats b{font-family:var(--display);font-size:21px;font-weight:500;display:block}.result-stats small{font-size:6px;letter-spacing:1px;display:block;color:#7d997f;margin-top:8px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);z-index:30;background:#263a2fed;color:#e4dabc;box-shadow:0 4px 30px #00000040;font-size:12px;line-height:1.7;border:1px solid #e7c48440;border-radius:5px;padding:13px 22px;opacity:0;transition:.2s;pointer-events:none;text-align:center;max-width:90vw;min-width:240px}.toast.visible{opacity:1;transform:translate(-50%)}@keyframes pulse{50%{opacity:.45}}@keyframes appear{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1550px){.app-shell{padding:0 60px}.topbar{height:115px}.home-hero{margin-top:32px}.hero-copy{padding:78px 70px}.battle-layout{grid-template-columns:minmax(0,1fr) 320px}.defense-panel{padding:27px}.tower-card{padding:17px 13px}.tower-card-name strong{font-size:12px}.ability-button{padding:18px}.ability-button strong{font-size:11px}.ability-button small{font-size:8px}.hero-power{width:230px}.hero-power strong{font-size:14px}.hero-power small{font-size:8px}.hero-power .hero-avatar{width:46px;height:53px}.map-heading .eyebrow{font-size:9px}.map-state{font-size:8px}.map-footer,.home-bottom{font-size:10px}}@media(max-width:1180px){.app-shell{padding:0 25px}.topbar{height:86px;gap:20px}.topnav{margin-left:20px;gap:24px}.build-label{display:none}.home-hero{height:500px;min-height:0}.hero-copy{padding:52px 42px;width:58%}h1{font-size:67px;letter-spacing:-3px}.era-card{padding:17px 14px}.era-card-status{font-size:5px;letter-spacing:.8px}.era-card>strong{font-size:13px}.era-cards{gap:10px}.battle-layout{grid-template-columns:minmax(0,1fr) 268px;gap:13px}.defense-panel{padding:18px}.defense-panel h3{font-size:19px}.resources{gap:22px;margin-right:16px}.resource b{font-size:17px}.hero-power{width:157px;padding:12px;gap:8px}.hero-power strong{font-size:10px}.hero-power>.icon{display:none}.hero-avatar{width:31px;height:38px}.ability-button{padding:12px 8px;gap:5px}.ability-button strong{font-size:8px}.ability-button small{font-size:5px}.ability-symbol{width:20px}.ability-symbol .icon{height:21px;width:19px}.keyboard-tip{display:none}.battle-caption>span:first-child{max-width:100%}.path-key{display:none}.panel-heading{margin-bottom:22px}.tactical-note{margin-top:18px;padding-top:14px}.wave-command{padding-top:21px}.tower-card{padding:11px 8px;gap:7px}.tower-card-icon{width:28px}.tower-card-name strong{font-size:9px}.power-bar{min-height:76px}.app-footer{font-size:6px}}@media(max-width:950px){.topbar{gap:10px}.topnav{margin-left:14px;gap:20px}.brand{font-size:10px;letter-spacing:1px}.brand small{font-size:7px;letter-spacing:2px}.brand-symbol{height:40px;width:36px}.top-actions{gap:5px}.hero-copy{width:65%;padding:45px 35px}.hero-corner small{display:none}.home-hero{height:470px}.hero-copy p{font-size:12px}h1{font-size:62px}.era-card>strong{font-size:11px}.era-card-status{font-size:5px;letter-spacing:.3px}.home-bottom>span:last-child{font-size:8px}.scene-label .coordinates{display:none}.battle-layout{grid-template-columns:1fr}.defense-panel{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:0 25px;padding:21px}.panel-heading{grid-column:1/-1;margin-bottom:18px}#tower-panel{grid-column:1}.wave-command{grid-column:2;grid-row:2;padding-top:15px;align-self:center}.tower-list{display:grid;grid-template-columns:1fr 1fr}.tactical-note{margin-top:16px}.panel-intro{margin-bottom:17px}.selected-tower-heading{float:right}.tower-stats{margin:15px 0}.power-bar{min-height:82px}.hero-power{width:190px}.ability-button{padding:15px 13px;gap:9px}.ability-button strong{font-size:10px}.ability-button small{font-size:7px}.resources{gap:25px}.resource>.icon{height:21px;width:21px}.mission-title h2{font-size:18px}.map-footer{font-size:9px}.map-state{font-size:7px}.map-heading .eyebrow{font-size:8px}.map-wrap{max-height:none}}@media(max-width:650px){.app-shell{padding:0 16px}.topbar{height:76px;gap:8px}.brand{font-size:9px;letter-spacing:.6px;gap:9px}.brand small{font-size:6px;letter-spacing:1.7px}.brand-symbol{height:34px;width:30px}.brand-symbol .icon{height:25px;width:21px}.topnav{display:none}.top-actions .icon-button{width:32px;height:32px;border:0}.top-actions .icon{height:16px;width:16px}.install-button{font-size:8px;padding:8px}.home-hero{margin-top:16px;height:550px;min-height:0}.home-hero canvas{width:150%;height:69%;right:-29%;top:auto;bottom:-1%;opacity:.74}.hero-shade{background:linear-gradient(180deg,#15221ff5 0% 29%,#15221f70 57%,#15221f08 82%,#122119b0),linear-gradient(90deg,#15221f60,transparent)}.hero-copy{width:100%;padding:35px 28px;max-width:none}.hero-copy>.eyebrow{font-size:7px;letter-spacing:1.6px;gap:9px}h1{font-size:59px;line-height:1.06;letter-spacing:-3.4px;margin:21px 0 20px}.hero-copy p{font-size:11px;line-height:1.75;color:#aebbaa}.hero-cta{margin-top:23px;min-width:219px;padding:14px 19px;font-size:11px;min-height:47px}.hero-caption{font-size:8px}.hero-corner{top:22px;right:22px;font-size:7px}.hero-corner span:first-child{font-size:15px}.hero-corner .corner-line{display:none}.scene-label{bottom:23px;right:23px}.scene-label small{font-size:6px;letter-spacing:2px}.scene-label strong{font-size:9px}.scene-dot{width:5px;height:5px}.campaign-section{padding-top:26px}.section-heading{align-items:flex-end;gap:12px;margin-bottom:17px}.section-heading .eyebrow{font-size:7px;letter-spacing:1.8px}.section-heading h2{font-size:18px;line-height:1.4;max-width:190px;margin-top:4px}.progress-label{font-size:6px;letter-spacing:1px;max-width:108px;line-height:1.8;padding-bottom:4px}.era-cards{display:flex;gap:10px;overflow-x:auto;padding:3px 0 10px;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#8a957849 transparent}.era-card{flex:0 0 155px;min-height:200px;padding:17px 14px;scroll-snap-align:start}.era-card>strong{font-size:13px}.era-card-status{font-size:5px;letter-spacing:.6px}.era-card .era-art{width:100px;height:76px}.home-bottom{flex-direction:column;gap:13px;align-items:flex-start;margin-top:14px;padding-bottom:25px;font-size:8px}.home-bottom>span:last-child{font-size:7px}.app-footer{padding:18px 0;gap:13px;font-size:5px;letter-spacing:1.1px}.app-footer>span:nth-child(2){display:none}.mission-bar{padding:20px 0 17px;flex-wrap:wrap;gap:16px 9px}.mission-title{gap:7px;flex:1}.mission-title h2{font-size:17px}.mission-title .eyebrow{font-size:7px;letter-spacing:1.2px}.mission-title .icon-button{width:22px;height:36px;padding:0}.game-controls{gap:5px}.game-controls .icon-button{width:34px;height:34px}.speed-button{width:34px;height:34px;font-size:10px}.resources{order:3;flex-basis:100%;justify-content:space-between;margin:0;padding:13px 15px;background:#18261f;border:1px solid #ffffff08;border-radius:4px}.resource b{font-size:17px}.resource small{font-size:6px;margin-top:4px}.resource>.icon{width:20px;height:20px}.resource{gap:8px}.battle-layout{gap:15px;margin-bottom:23px}.map-wrap{border-radius:5px}.map-wrap>#game-canvas{aspect-ratio:5/3;min-height:225px}.map-heading{top:12px;left:13px;right:13px;gap:10px}.map-heading .eyebrow{font-size:5px;letter-spacing:1.4px}.map-state{font-size:5px;letter-spacing:.9px;padding:5px 7px}.map-footer{bottom:10px;left:9px;right:9px;font-size:6px}.map-footer>span:first-child{padding:5px 7px;max-width:100%;line-height:1.6}.map-notice{top:40px;font-size:8px;padding:5px 9px}.pad-hit{min-width:36px;min-height:36px;width:6%;height:8%}.power-bar{flex-wrap:wrap;margin-top:10px;min-height:0;overflow:visible}.hero-power{width:100%;border-bottom:1px solid #ffffff08;border-right:0;padding:9px 13px;gap:10px;border-radius:5px 5px 0 0}.hero-avatar{width:29px;height:33px}.hero-avatar .icon{height:25px;width:23px}.hero-power small{font-size:6px}.hero-power strong{font-size:11px;margin-top:3px}.hero-power .hero-hp{max-width:100px;margin-top:5px}.hero-power>.icon{display:block;margin-left:auto;width:17px;height:17px}.hero-power>span:nth-child(2){flex:initial}.abilities{flex-basis:100%}.ability-button{padding:14px 7px;gap:7px;min-height:65px}.ability-button strong{font-size:7px;white-space:normal;line-height:1.4}.ability-button small{font-size:5px;white-space:normal;line-height:1.6;min-height:15px;margin-top:4px}.ability-button kbd{display:none}.ability-symbol .icon{width:20px;height:23px}.battle-caption{margin-top:11px;font-size:7px;line-height:1.8;gap:7px}.battle-caption>span:first-child{max-width:100%}.battle-caption .icon{width:12px}.defense-panel{display:flex;padding:20px 17px;gap:0}.panel-heading{margin-bottom:20px}.defense-panel h3{font-size:21px}.panel-intro{font-size:10px;margin-bottom:19px}.tower-list{gap:8px}.tower-card{padding:12px 8px;gap:8px}.tower-card-name strong{font-size:9px}.tower-card-name small{font-size:5px;letter-spacing:.7px}.tower-card-icon{width:24px}.tower-card-icon .icon{height:23px;width:22px}.tower-cost{font-size:10px}.tower-cost .icon{height:8px;width:8px}.wave-command{padding-top:25px;width:100%}.wave-command .primary-button{font-size:12px;min-height:48px}.wave-command p{font-size:8px}.tactical-note{padding-top:15px;margin-top:19px}.tactical-note p{font-size:9px}.tactical-note strong{font-size:10px}.tactical-note>.icon{height:24px;width:18px}.selected-tower-heading{float:none}.tower-big-icon{height:48px;width:48px}.modal-backdrop{padding:15px;align-items:center}.modal-card{padding:32px 24px;max-height:calc(100dvh - 30px)}.modal-card h2{font-size:29px}.modal-card blockquote{font-size:14px;line-height:1.75}.story-rule{padding:15px}.modal-subtitle{font-size:10px;margin-bottom:20px}.help-list{gap:15px}.help-list p{font-size:9px}.help-list strong{font-size:10px}.lore-text{font-size:11px}.lore-eras small{font-size:6px}.toast{font-size:10px;padding:12px 17px}.paused-overlay h2{font-size:23px}.paused-overlay>div>.icon{height:24px;width:24px;margin-bottom:9px}.paused-overlay p{margin:9px 0 14px;font-size:10px}.paused-overlay button{min-height:40px;padding:10px 17px;font-size:10px}}@media(max-width:380px){.app-shell{padding:0 10px}.brand{font-size:8px}.brand small{font-size:5px}.hero-copy{padding:32px 23px}h1{font-size:54px}.tower-card{gap:5px;padding:11px 6px}.tower-card-name strong{font-size:8px}.ability-button{gap:4px}.ability-symbol{width:16px}.ability-symbol .icon{width:16px;height:21px}.mission-title h2{font-size:15px}.top-actions{gap:0}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.world-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#162721ee;z-index:6}.world-loading strong{font-family:var(--display);font-size:23px;font-weight:500;letter-spacing:-.8px}.world-loading small{font-size:10px;color:#a3b39c;max-width:75%;text-align:center;line-height:1.8}.loading-crystal{color:var(--accent);animation:pulse 1.6s infinite}.loading-crystal .icon{width:43px;height:52px}.zoom-controls{position:absolute;right:20px;bottom:50px;display:flex;align-items:center;border:1px solid #ced5b626;border-radius:4px;background:#17261edb;overflow:hidden;color:#d5d7b8;font-size:9px;z-index:2}.zoom-controls button{height:31px;width:31px;font-size:17px;padding:0}.zoom-controls span{padding:0 5px;min-width:32px;text-align:center}.zoom-controls button:hover{background:#ffffff0d}.map-wrap>#game-canvas{background:#607d70}.home-hero canvas{filter:saturate(1.03) brightness(1.12)}.resource b{white-space:nowrap}.mission-selection{padding-top:33px;margin-top:23px;border-top:1px solid #c1cca717}.mission-selection .section-heading{margin-bottom:12px}.chapter-stars{display:flex;align-items:center;gap:8px;color:var(--accent);font-size:15px;white-space:nowrap}.chapter-stars .icon{width:19px;height:19px}.chapter-gate{font-size:11px;color:#a5b49d;line-height:1.8;margin:0 0 19px}.mission-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.mission-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:14px;padding:20px 17px;background:linear-gradient(140deg,#24332a,#19271f);border:1px solid #c1cca71a;border-radius:6px;min-height:186px;transition:border-color .2s,background .2s}.mission-card:hover,.mission-card.selected{border-color:#e7c4847d;background:linear-gradient(140deg,#344031,#213027)}.mission-card.locked{opacity:.45}.mission-card.locked:hover{border-color:#c1cca71a;background:linear-gradient(140deg,#24332a,#19271f)}.mission-number{display:flex;align-items:center;justify-content:space-between;width:100%;font-family:var(--display);color:#b8bd9f;font-size:18px}.mission-number .icon{width:17px;height:17px;color:var(--accent)}.mission-card>strong{font-family:var(--display);font-size:13px;font-weight:600;line-height:1.5;min-height:40px}.mission-card>small{font-size:8px;color:#97a991}.mission-stars{display:flex;gap:5px;color:#49624b;font-size:19px;line-height:1}.mission-stars .earned{color:#e7c484}.mission-status{font-size:6px;letter-spacing:.7px;color:#a9b493;margin-top:auto}.mission-brief{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:18px;padding:20px 23px;background:#c1cca707;border:1px solid #c1cca715;border-radius:5px}.mission-brief strong{font-size:13px;font-weight:600}.mission-brief p{font-size:11px;line-height:1.8;color:#99ab92;margin:7px 0 0;max-width:700px}.mission-brief .primary-button{min-width:190px;justify-content:space-between;flex-shrink:0}.research-section{margin-top:39px;border-top:1px solid #c1cca717;padding-top:33px}.research-section .section-heading{margin-bottom:10px}.knowledge-balance{display:flex;align-items:center;gap:7px;color:#c5cea4;font-size:10px;letter-spacing:1px;white-space:nowrap}.knowledge-balance b{font-family:var(--display);font-size:22px;font-weight:600;color:#e7c484}.knowledge-balance .icon{width:20px;height:23px;color:#e7c484}.research-intro{font-size:11px;color:#99ab92;line-height:1.8;margin-bottom:21px}.research-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.research-card{display:flex;flex-direction:column;padding:23px;border:1px solid #c1cca71a;border-radius:6px;background:linear-gradient(140deg,#213027,#18261f);gap:14px}.research-card-heading{display:flex;align-items:center;gap:12px}.research-card-heading>.icon{width:30px;height:33px;color:#e7c484;flex-shrink:0}.research-card-heading strong{font-family:var(--display);font-weight:600;font-size:14px;line-height:1.5;display:block}.research-card-heading small{display:block;color:#8ca184;letter-spacing:1.2px;font-size:7px;margin-top:6px}.research-card>p{font-size:11px;line-height:1.8;color:#9aab94;margin:0;min-height:40px}.research-ranks{display:flex;gap:5px}.research-ranks i{flex:1;display:block;height:4px;background:#ffffff12;border-radius:2px}.research-ranks i.earned{background:#e7c484}.research-bonus{font-size:12px;font-weight:500;color:#d3d8b8;margin-top:3px}.research-button{width:100%;display:flex;align-items:center;gap:8px;margin-top:8px;border:1px solid #e7c48450;border-radius:4px;padding:12px;font-size:11px;background:#e7c4840c;color:#e7c484}.research-button>.icon{width:17px;height:19px}.research-button span{margin-left:auto;display:flex;align-items:center;gap:5px}.research-button span>.icon{width:13px;height:17px}.research-button:disabled{opacity:.42}.research-next{font-size:8px;color:#8eaa84;line-height:1.7}.research-max{display:flex;align-items:center;gap:8px;padding:14px;background:#7faf7c0c;border:1px solid #7faf7c30;color:#b9d0a7;font-size:11px;border-radius:4px}.research-max .icon{width:17px;height:17px}.rally-button{display:flex;align-items:center;gap:9px;width:100%;padding:12px 10px;border:1px solid #c5d6a938;background:#91b07e0e;color:#c3d3a6;border-radius:4px;text-align:left;font-size:10px}.rally-button .icon{height:18px;width:18px}.rally-button.active{border-color:#e7c484;color:#e7c484}.camp-hint{font-size:9px;line-height:1.8;color:#91a489;margin:11px 0 17px}.star-objective{font-size:9px;line-height:1.8;color:#b6c19e;margin:0 0 21px}.result-reward{font-size:11px;line-height:1.8;color:#cfceaa;display:flex;align-items:center;justify-content:center;gap:9px}.result-reward .icon{width:17px;height:22px;flex-shrink:0}@media(max-width:950px){.mission-cards{gap:9px}.mission-card{padding:16px 12px;min-height:191px}.mission-card>strong{font-size:11px;min-height:49px}.mission-card>small{font-size:7px}.mission-status{font-size:5px;letter-spacing:.4px}.research-cards{gap:11px}.research-card{padding:18px 15px}.research-card-heading strong{font-size:12px}.research-card-heading>.icon{width:25px;height:28px}.research-card>p{font-size:10px;min-height:53px}.research-bonus{font-size:10px}.research-button{font-size:10px;padding:11px 8px}.mission-brief{padding:17px}.mission-brief p{font-size:10px}}@media(max-width:650px){.mission-selection{margin-top:20px;padding-top:25px}.mission-selection .section-heading h2{font-size:18px;max-width:230px}.chapter-stars{font-size:13px;gap:5px}.chapter-gate{font-size:10px;margin-bottom:15px}.mission-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mission-card{min-height:177px;padding:17px 15px;gap:11px}.mission-card:last-child{grid-column:1/-1;min-height:150px}.mission-card>strong{font-size:12px;min-height:37px}.mission-card:last-child>strong{min-height:0}.mission-number{font-size:19px}.mission-card>small{font-size:8px}.mission-status{font-size:6px}.mission-brief{align-items:stretch;flex-direction:column;gap:17px;padding:19px 17px}.mission-brief strong{font-size:12px}.mission-brief p{font-size:10px}.mission-brief .primary-button{width:100%;font-size:11px;min-height:45px}.research-section{margin-top:27px;padding-top:25px}.research-section .section-heading h2{max-width:none;font-size:18px}.knowledge-balance{font-size:7px;gap:5px;letter-spacing:.6px}.knowledge-balance b{font-size:21px}.knowledge-balance .icon{width:17px;height:21px}.research-intro{font-size:10px;line-height:1.8}.research-cards{grid-template-columns:1fr;gap:12px}.research-card{padding:20px 18px;gap:13px}.research-card-heading strong{font-size:14px}.research-card-heading>.icon{height:33px;width:29px}.research-card>p{font-size:11px;min-height:0}.research-bonus{font-size:12px}.research-button{font-size:11px;padding:13px 12px}.research-next{font-size:9px}.rally-button{font-size:11px;padding:13px 11px}.camp-hint,.result-reward{font-size:10px}.star-objective{font-size:9px}.hero-copy>.eyebrow{font-size:6px;letter-spacing:1px}}@media(max-width:650px){.zoom-controls{right:10px;bottom:38px;font-size:7px}.zoom-controls button{width:29px;height:29px}.zoom-controls span{min-width:28px}.world-loading strong{font-size:18px}.world-loading small{font-size:8px}}.company-shortcuts{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:20px 0;border-bottom:1px solid var(--line)}.company-shortcuts>span{font-size:8px;letter-spacing:1.5px;color:#9aab94;margin-right:auto}.company-shortcuts button{padding:12px 15px;border:1px solid #c1cca730;border-radius:5px;color:#d5ddc5;font-size:11px;background:#c1cca707}.company-shortcuts button:hover{border-color:#e7c484;color:#e7c484}@media(max-width:650px){.company-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:18px 0}.company-shortcuts>span{grid-column:1/-1;margin-bottom:5px}.company-shortcuts button{min-height:43px;font-size:10px;padding:10px 5px}}.story-comic canvas{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:contain;border-radius:14px;background:#879a6b}.progression-dashboard{margin:30px 0 0;padding:24px;border:1px solid #ead8b3;border-radius:22px;background:linear-gradient(145deg,#fff9ec,#f8eedb);color:#343a36;box-shadow:0 14px 38px #44351910;text-align:left}.prog-hero-art{position:relative}.prog-hero-portrait{position:relative;width:min(100%,225px);aspect-ratio:1}.prog-hero-seal{position:absolute;right:13px;top:12px;min-width:27px;height:29px;display:grid;place-items:center;font-size:10px;font-weight:800;color:#425856;background:#fff4d7dd;border:1.5px solid #ac9871;border-radius:6px 8px 11px 5px;box-shadow:0 2px #ccb790}.prog-header,.prog-section-head,.prog-subheading,.prog-card-heading,.prog-card-foot{display:flex;align-items:center;justify-content:space-between;gap:14px}.prog-header{margin-bottom:20px}.progression-dashboard h2,.progression-dashboard h3,.progression-dashboard h4,.progression-dashboard h5,.progression-dashboard p{margin:0}.progression-dashboard h2{font-size:24px;line-height:1.25}.progression-dashboard h3{font-size:20px}.progression-dashboard h4{font-size:15px;line-height:1.4}.progression-dashboard p{font-size:13px;line-height:1.55;color:#697063}.prog-eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:1.3px;color:#897445;margin-bottom:5px}.prog-wallet{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.prog-wallet>span,.prog-currency{font-size:13px;padding:10px 13px;border-radius:12px;background:#efe2c4;border:1px solid #decb9f;color:#584724;white-space:nowrap}.prog-wallet strong{font-size:17px}.prog-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:5px;border-radius:14px;background:#ece1ca;margin-bottom:24px}.prog-button{font:inherit;font-size:12px;font-weight:750;line-height:1.3;min-height:37px;padding:9px 12px;border:1px solid #bdab78;border-radius:9px;background:#485848;color:#fff9e9;cursor:pointer;transition:background .16s,transform .16s,box-shadow .16s}.prog-button:hover:not(:disabled){background:#617159;box-shadow:0 4px 10px #39473120;transform:translateY(-1px)}.prog-button:focus-visible{outline:3px solid #77aebb;outline-offset:2px}.prog-button:disabled{cursor:default;color:#8c8a7b;background:#e9e5d9;border-color:#dcd7c8;box-shadow:none}.prog-button-subtle{background:#f0e8d5;color:#55604c;border-color:#d4c8ac}.prog-button-subtle:hover:not(:disabled){background:#e6dbc2}.prog-tabs .prog-button{background:none;border:none;color:#6d725d;font-size:13px}.prog-tabs .is-active{background:#fff9ec;color:#374a3c;box-shadow:0 3px 10px #5c4d2520}.prog-section-head{margin-bottom:20px;align-items:flex-start}.prog-section-head p{margin-top:5px}.prog-subheading{margin:26px 0 13px;align-items:baseline}.prog-subheading>span{font-size:11px;color:#7b806d;text-align:right}.prog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.prog-card{min-width:0;padding:17px;border:1px solid #e0d3b8;border-radius:14px;background:#fffdf6;box-shadow:0 3px 9px #574b2710}.prog-card p{margin:8px 0 13px}.prog-card-heading{gap:8px;align-items:baseline}.prog-badge{display:inline-block;flex-shrink:0;font-size:10px;font-weight:750;color:#8a7543;border:1px solid #e2d4b3;padding:4px 7px;border-radius:20px;white-space:nowrap}.prog-meter{height:6px;background:#e8e2d3;border-radius:6px;overflow:hidden;margin-bottom:13px}.prog-meter>i{display:block;height:100%;background:linear-gradient(90deg,#668674,#c3a45f);border-radius:6px;transition:width .35s}.prog-card-foot{align-items:flex-end;gap:8px}.prog-reward{font-size:11px;font-weight:700;color:#85713d;line-height:1.5}.prog-quest .prog-button{flex-shrink:0}.prog-note{margin-top:18px!important;font-size:11px!important;color:#848571!important;line-height:1.6!important}.prog-card.is-claimed{background:#f2f3e8;box-shadow:none}.prog-pass-banner{display:flex;gap:20px;align-items:center;padding:23px;background:linear-gradient(115deg,#2d413d,#4d6350);border-radius:17px;color:#fff3d3;box-shadow:inset 0 0 0 1px #b89c5550}.prog-pass-banner .prog-eyebrow{color:#dac18b;font-size:9px}.prog-pass-banner h3{color:#fff1d0;font-size:23px;margin-bottom:6px}.prog-pass-banner p{color:#c9d3bb}.prog-pass-crest{width:65px;height:65px;display:grid;place-items:center;flex-shrink:0;border:1px solid #bea267;border-radius:50%;font-size:40px;color:#e0c789}.prog-pass-level{margin-left:auto;text-align:right;flex-shrink:0}.prog-pass-level strong{display:block;font-size:36px;color:#f6d98d;line-height:1}.prog-pass-level small{font-size:15px;color:#bbc9ac}.prog-pass-level span{display:block;font-size:10px;margin-top:8px;color:#c9d3bb}.prog-pass-progress{margin:17px 0 20px}.prog-pass-progress>span{display:block;font-size:12px;color:#797c62;margin-bottom:8px}.prog-pass-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.prog-pass-card{text-align:center;padding:15px 12px;display:flex;flex-direction:column;align-items:center}.prog-pass-card h4{min-height:42px}.prog-pass-card p{font-size:11px;min-height:34px}.prog-pass-card .prog-button{width:100%;margin-top:auto}.prog-pass-card.is-ready{border-color:#b79a50;background:#fff8e7}.prog-loot-icon{font-size:36px;margin:12px 0 7px;color:#a28543}.prog-heroes{grid-template-columns:repeat(3,minmax(0,1fr))}.prog-hero{padding:0;overflow:hidden;display:flex;flex-direction:column}.prog-hero.is-active,.prog-magic.is-active{border-color:var(--hero-color);box-shadow:0 0 0 2px var(--hero-color)}.prog-hero-art{height:180px;display:flex;justify-content:center;align-items:flex-end;background:radial-gradient(ellipse at 50% 80%,var(--hero-color),#ece8d810 67%),linear-gradient(#eaeddd,#f1eedb);overflow:hidden}.prog-hero-art img{display:block;width:170px;height:190px;object-fit:contain;filter:drop-shadow(0 8px 9px #31433940)}.prog-hero-info{padding:16px;display:flex;flex-direction:column;flex:1}.prog-hero-title{font-size:11px;font-weight:750;color:#849070;margin-top:2px}.prog-hero-info p{font-size:12px;margin:8px 0 10px}.prog-hero-traits{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:13px}.prog-hero-traits span{font-size:10px;background:#eef0e5;color:#667455;border-radius:5px;padding:4px 6px}.prog-hero-info>.prog-button{margin-top:auto;width:100%}.prog-loadout-summary{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:12px}.prog-loadout-summary span{font-size:11px;color:#657456;background:#e7ebdc;padding:6px 9px;border-radius:7px}.prog-slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.prog-item-choices{display:flex;flex-direction:column;gap:6px;margin-top:8px}.prog-item-choices .prog-button{font-size:10px}.prog-slot p{font-size:11px}.prog-slot>.prog-button{width:100%}.prog-defense-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.prog-defense-grid .prog-card{padding:13px}.prog-defense-grid .prog-button{font-size:11px;width:100%;padding:8px}.prog-defense-grid p{font-size:11px;min-height:33px}.prog-ranks{display:flex;gap:4px;margin:10px 0 13px}.prog-ranks i{flex:1;height:5px;background:#e1dfd2;border-radius:4px}.prog-ranks i.filled{background:#a29159}.prog-magic-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.prog-magic{position:relative;padding-top:20px}.prog-magic-icon{font-size:30px;color:var(--hero-color);text-shadow:0 1px 1px #48584150}.prog-magic p{min-height:60px}.prog-magic-actions{display:flex;flex-direction:column;gap:7px;margin-top:13px}.prog-talent-tree{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.prog-talent-branch{position:relative;display:flex;flex-direction:column;gap:14px}.prog-talent-branch h5{text-align:center;font-size:14px;color:#75603d;margin-bottom:0}.prog-talent-branch:before{content:"";position:absolute;width:2px;top:32px;bottom:50px;left:50%;background:#cbbf9e}.prog-talent{position:relative;background:#fffbf0;padding:14px}.prog-talent.is-locked{background:#f4f1e6}.prog-talent p{font-size:11px;margin-bottom:7px;min-height:34px}.prog-prereq{display:block;font-size:10px;line-height:1.5;color:#8d8a72;margin-bottom:12px;min-height:30px}.prog-talent .prog-button{width:100%;font-size:11px}.prog-shop-item h4{margin-top:9px}.prog-shop-item p{font-size:12px}.prog-shop-item .prog-button{width:100%}.rarity-raro .prog-badge{border-color:#a2c5c5;color:#528a91}.rarity-epico .prog-badge{border-color:#c0add3;color:#9674a8}.progression-dashboard .prog-button:disabled{opacity:1}@media(max-width:900px){.progression-dashboard{padding:19px}.prog-defense-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.prog-heroes,.prog-slots,.prog-magic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.prog-card-foot{align-items:flex-start;flex-direction:column}.prog-quest .prog-button{width:100%}.prog-pass-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.prog-hero-art{height:175px}}@media(max-width:600px){.progression-dashboard{padding:15px;margin-top:22px;border-radius:17px}.prog-header{align-items:flex-start;flex-direction:column;gap:11px;margin-bottom:14px}.progression-dashboard h2{font-size:21px}.progression-dashboard h3{font-size:18px}.prog-wallet{justify-content:flex-start;gap:7px}.prog-wallet>span{font-size:11px;padding:7px 10px}.prog-wallet strong{font-size:14px}.prog-tabs{gap:2px;padding:4px}.prog-tabs .prog-button{font-size:11px;padding:8px 4px;min-height:40px}.prog-grid{grid-template-columns:1fr;gap:10px}.prog-card{padding:14px}.prog-card-foot{flex-direction:row;align-items:center}.prog-quest .prog-button{width:auto}.prog-section-head{flex-direction:column;gap:12px}.prog-subheading{align-items:flex-start;gap:6px;flex-direction:column;margin-top:24px}.prog-subheading>span{text-align:left}.prog-pass-banner{padding:16px;gap:12px;flex-wrap:wrap}.prog-pass-crest{width:45px;height:45px;font-size:27px}.prog-pass-banner>div:nth-child(2){flex:1;min-width:155px}.prog-pass-banner h3{font-size:20px}.prog-pass-banner p{font-size:11px}.prog-pass-level{display:flex;align-items:center;gap:10px;margin-left:57px;text-align:left}.prog-pass-level strong{font-size:26px}.prog-pass-level span{margin:0}.prog-pass-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.prog-pass-card{padding:12px 10px}.prog-pass-card h4{font-size:12px;min-height:35px}.prog-pass-card .prog-button{font-size:11px}.prog-heroes{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.prog-hero{padding:0}.prog-hero-art{height:135px}.prog-hero-art img{width:140px;height:155px}.prog-hero-info{padding:11px}.prog-hero-info h4{font-size:14px}.prog-hero-info .prog-card-heading{align-items:flex-start;flex-wrap:wrap;gap:5px}.prog-hero-info p{font-size:11px}.prog-hero-title{font-size:10px}.prog-hero-info>.prog-button{font-size:11px;padding:8px}.prog-hero-traits span{font-size:9px;padding:3px 4px}.prog-slots{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.prog-slot h4{font-size:12px}.prog-slot p{font-size:10px}.prog-defense-grid,.prog-magic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.prog-talent-tree{grid-template-columns:1fr;gap:20px}.prog-talent-branch{gap:10px}.prog-talent p,.prog-prereq{min-height:0}.prog-shop{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.prog-shop-item h4{font-size:12px}.prog-shop-item p{font-size:11px;min-height:34px}.prog-shop-item .prog-button{font-size:10px;padding:8px}.prog-shop-item .prog-card-heading{flex-wrap:wrap;gap:2px}}.hero-skill-description{padding:10px 0;border-top:1px solid #6e81783d}.hero-skill-description strong{color:var(--hero-color)}.hero-skill-description p{font-size:12px;margin:5px 0}.hero-skill-description small{font-size:11px;color:#bfcbbf;line-height:1.6;display:block}.legacy-history{margin-top:28px;padding:24px;border:1px solid #698c73;border-radius:18px;background:#21392e;color:#dbe6d4}.legacy-history>p,.legacy-story{color:#b9ceb8;line-height:1.7;font-size:13px}.legacy-choice{margin:18px 0}.legacy-choice h3{font-size:20px}.legacy-choice>p{line-height:1.6}.legacy-options,.legacy-research{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.legacy-options button,.legacy-research article{border:1px solid var(--legacy-color,#719180);background:#1b3029;border-radius:12px;padding:16px;color:#dce8d2;text-align:left}.legacy-options strong,.legacy-options span,.legacy-options small,.legacy-research strong{display:block}.legacy-options strong{color:var(--legacy-color);margin-bottom:8px}.legacy-options small{color:#b7cdb9;font-size:11px;line-height:1.6;margin-top:8px}.legacy-consequence{font-size:11px;color:#a9c4ad;display:block;margin:8px 0}.legacy-research{margin-top:18px}.legacy-research p{font-size:12px;line-height:1.6}.legacy-research button{padding:8px 12px;border:0;border-radius:7px;color:#2d372d;background:#ddcb86}.legacy-research small{font-size:10px;color:#8bbc9d}.resume-battle{max-width:1180px;margin:24px auto 0;padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #bd9d6170;border-radius:14px;background:#262e2d}.resume-battle div{display:grid;gap:7px}.resume-battle strong{color:#faeaca;font-size:18px}.resume-battle small{color:#b9b5aa}.tutorial-panel{display:flex;align-items:center;gap:13px;margin:8px 0;padding:12px 16px;border:1px solid #deb56e;border-radius:10px;background:#303b38;color:#fff0cb}.tutorial-panel p{margin:4px 0;font-size:12px;line-height:1.55;color:#dfdccb}.tutorial-number{color:#edbd68;font-weight:800;white-space:nowrap}.tutorial-panel .text-button{margin-left:auto;min-height:44px}.tutorial-focus{outline:2px solid #ffd986!important;outline-offset:3px;animation:tutorial-pulse 1.6s infinite}@keyframes tutorial-pulse{50%{box-shadow:0 0 0 7px #ffd98618}}.settings-grid{display:grid;gap:20px;text-align:left;margin:22px 0}.settings-grid label{display:grid;grid-template-columns:1fr auto;gap:10px;color:#eee1c4}.settings-grid select,.settings-grid input{grid-column:1/-1;width:100%;min-height:44px;accent-color:#e7c484}.settings-grid select{padding:10px;background:#283332;color:#fff0d0;border:1px solid #c8ac6d;border-radius:8px;font:inherit}.settings-grid p{font-size:12px;line-height:1.6;color:#a8b4b0}.settings-grid output{color:#e7c484}.resume-battle[hidden],.tutorial-panel[hidden]{display:none}@media(max-width:640px){.resume-battle{margin:14px 16px 0;padding:16px;align-items:stretch;flex-direction:column}.tutorial-panel{gap:9px;padding:10px}.tutorial-panel p{font-size:11px}.tutorial-panel strong{font-size:13px}.tutorial-number{font-size:11px}.top-actions{gap:3px}}@media(max-width:640px){.top-actions [data-action=help]{display:none}.topbar{gap:8px}.ability-button small{line-height:1.35}}.progression-dashboard .rarity-leggendario{border-color:#bc9445;background:linear-gradient(150deg,#fffdf6,#fff1d3)}.progression-dashboard .rarity-leggendario .prog-badge{border-color:#c49b46;color:#8a5f17;background:#fff4d8}.progression-dashboard .prog-item-effect{padding:10px;border-left:3px solid #bc9445;border-radius:5px;background:#f6e7c5;color:#634c29;font-size:12px;line-height:1.6}.progression-dashboard .prog-item-effect strong{color:#806018}.progression-dashboard .evolution-track .art-icon{width:58px;height:58px;display:block;margin:0 auto 8px}.progression-dashboard .evolution-track .tower-portrait{display:block;max-width:160px;margin:0 auto}.progression-dashboard .evolution-track .prog-badge{white-space:normal;line-height:1.45}.progression-dashboard .prog-wall-discoveries{grid-template-columns:repeat(4,minmax(0,1fr))}.progression-dashboard .prog-wall-discoveries .art-icon{display:block;width:78px;height:78px;margin:0 auto 10px}.progression-dashboard .prog-wall-discoveries .prog-card{border:0;border-radius:0;background:none;box-shadow:none;text-align:center;padding:12px 10px}.progression-dashboard .prog-wall-discoveries .art-icon{width:100px;height:100px;border-radius:50%;background:radial-gradient(circle,#fff2ca,#d2ad6b);border:3px solid #49331c;box-shadow:0 4px #3c26144d}.progression-dashboard .prog-wall-discoveries .is-locked .art-icon{filter:grayscale(.8)}.progression-dashboard .evolution-card p{overflow-wrap:anywhere}@media(max-width:640px){.progression-dashboard .prog-wall-discoveries,.progression-dashboard .evolution-track{grid-template-columns:repeat(2,minmax(0,1fr))}.progression-dashboard .prog-item-effect{font-size:11px;padding:8px}.progression-dashboard .prog-wall-discoveries .prog-badge{white-space:normal}}:root{color:#3b2b25;background:#334832;color-scheme:light;--accent: #cf743e;--muted: #716453;--line: #94734f40;--panel: #fff1d3;--display: "Manrope", "DM Sans", sans-serif}body{background:#334832}.app-shell{background:#f6e9ca;box-shadow:0 0 0 2px #3b2b25,8px 0 #263821}button:focus-visible,a:focus-visible{outline:3px solid #c76535;outline-offset:4px}.topbar{height:94px;border-bottom:2px solid #6f523b}.brand{font-family:Manrope,DM Sans,sans-serif;color:#3b2b25;font-weight:800}.brand b{color:#a85132}.brand small{color:#78634d}.brand-symbol{background:#eed18a;border:2px solid #6f523b;color:#528158}.nav-link{font-size:13px;color:#698077}.nav-link.active{color:#28474b}.nav-link.active:after{height:3px;background:#3b827b}.build-label{color:#677e73}.build-label i,.status-dot,.panel-live i{background:#4a9a87;box-shadow:none}.icon-button,.speed-button{border:1.5px solid #b9ab8e;color:#4a736c;background:#fcf1d9;border-radius:7px 10px 7px 9px}.icon-button:hover,.speed-button:hover{color:#234e55;border-color:#3a706e;background:#fffae9}.install-button{color:#3d7066;border:1.5px solid #779286;background:#e5ecd2;border-radius:7px 11px 7px 9px}.home-hero{background:#98bb68;border:2px solid #6f523b;border-radius:12px;box-shadow:0 5px #9e7950}.home-hero canvas{filter:none}.hero-shade{background:linear-gradient(90deg,#fff1d6fc,#fff1d6f5 25%,#fff1d680 48%,#fff1d608 70%),linear-gradient(0deg,#263e4b40,transparent 24%)}.home-grid{display:none}.hero-copy{padding:65px 52px}.hero-copy>.eyebrow{color:#678575;font-weight:800}.little-line{background:#b77642;height:2px}h1{font-size:clamp(48px,5.65vw,85px);line-height:1.04;letter-spacing:-3px;font-weight:800;color:#3b2b25}h1 em{color:#bd6439;font-weight:800;font-style:normal;letter-spacing:-2px}.hero-copy p{color:#70614f;font-size:14px;line-height:1.85}.primary-button{color:#fff7df;background:#568353;border:2px solid #3b4d2f;border-radius:8px;box-shadow:0 4px #35412a;font-size:13px;font-weight:800;min-height:44px}.primary-button:hover:not(:disabled){background:#658f5b;box-shadow:0 4px #35412a}.hero-caption{color:#758674;font-size:10px}.scene-label{color:#fff6de;padding:12px 15px;background:#25464ddb;border:1px solid #f3e3bb66;border-radius:8px 11px 8px 10px}.scene-label small{color:#dae6c7;font-size:8px}.scene-label strong{color:#fff1cf;font-size:12px}.scene-dot{border-color:#f5dda5;box-shadow:0 0 0 4px #f5dda510}.coordinates{color:#cee1cb}.hero-corner{color:#314f56;background:#fff0d5bb;border:1px solid #a5957240;padding:8px 11px;border-radius:7px 11px 8px 10px}.hero-corner span:first-child{color:#b56e43}.corner-line{background:#8f9e813b}.company-shortcuts>span{color:#708571;font-weight:700}.company-shortcuts button{padding:11px 16px;color:#426b66;background:#e9edd6;border:1.5px solid #a3b496;border-radius:7px 12px 8px 10px;box-shadow:0 2px #c4c6a4}.company-shortcuts button:hover{background:#f7f8e5;border-color:#50887b;color:#2b5c59}.section-heading .eyebrow{color:#6d8a76;font-weight:800}.section-heading h2{color:#3b2b25;font-size:25px;font-weight:700;letter-spacing:-.5px}.progress-label{color:#7d8069;font-size:9px}.era-card{border:1.5px solid #b9ac89;border-radius:10px 16px 12px 8px;background:#fff4db;box-shadow:0 3px #c3b294}.era-card:hover{background:#fff8e8;border-color:#678c78}.era-card.selected{border:2px solid #458379;background:#f2f2da;box-shadow:0 4px #739583}.era-card.selected:before{height:3px;background:#579786}.era-card-top{color:#568279}.era-card>strong{color:#49382c;font-size:16px;font-family:var(--display);font-weight:700}.era-card>small{color:#83907b;font-size:10px}.era-card-status{color:#77876d;font-size:7px}.era-card.selected .era-card-status{color:#3e786b}.era-card.locked,.era-card.locked:hover{background:#e9e0c9;border-color:#c3b89b;box-shadow:0 3px #cec3a6}.era-card.locked>strong{color:#818873}.era-card.locked .era-card-status{color:#8a8e76}.era-card.locked>.era-card-top{color:#8a947c}.era-art{stroke:#557c6d;filter:drop-shadow(1px 2px 0 #dbc9a640)}.medal-stars{color:#ba8341}.chapter-stars{color:#b67b3e}.chapter-gate,.research-intro{color:#716453;font-size:12px}.mission-card{background:#fbf2dc;border:1.5px solid #bead85;border-radius:9px 14px 10px 12px;box-shadow:0 3px #d0bd96}.mission-card:hover,.mission-card.selected{background:#e9eed7;border-color:#568f7f}.mission-card.selected{box-shadow:0 3px #8fa88c}.mission-card.locked,.mission-card.locked:hover{background:#e8dfc8;border-color:#c8bda1;opacity:.68}.mission-number{color:#b18245;font-weight:700}.mission-number .icon{color:#5a8d78}.mission-card>strong{color:#49382c;font-size:14px}.mission-card>small{color:#716453;font-size:10px}.mission-stars{color:#cbbd93}.mission-stars .earned{color:#d89b45}.mission-status{color:#688774;font-size:8px;letter-spacing:.5px}.mission-brief{background:#fff3d8;border:1.5px solid #ccba95;border-radius:9px 16px 11px 9px}.mission-brief strong{color:#3f6961}.mission-brief p{color:#716453;font-size:12px}.knowledge-balance{color:#899079}.knowledge-balance b,.knowledge-balance .icon{color:#b57e43}.research-card{background:#fff3d9;border:1.5px solid #bca987;border-radius:9px 15px 10px 12px;box-shadow:0 3px #ccb793}.research-card-heading strong{color:#49382c;font-size:17px}.research-card-heading>.icon{color:#b4804a}.research-card-heading small{color:#839078;font-size:9px}.research-card>p{color:#716453;font-size:12px}.research-ranks i{height:5px;border:1px solid #c2b08a;background:#e6d8b6}.research-ranks i.earned{background:#5ca68e;border-color:#407f6f}.research-bonus{color:#537c65}.research-button{color:#2f7169;background:#dfe9ca;border:1.5px solid #90ad87;border-radius:6px 9px 6px 8px}.research-button:disabled{opacity:.6}.research-next{color:#7b8b71;font-size:10px}.research-max{color:#447b66;background:#deebd0;border-color:#9abd91}.home-bottom{color:#86917c;font-size:10px}.home-bottom .icon{color:#b38245}.app-footer{color:#7d8b79;font-size:8px;letter-spacing:1.2px}.app-footer i{color:#b87842}.mission-title h2{color:#3b2b25;font-weight:700;font-size:24px}.mission-title .eyebrow{color:#899277;font-size:9px}.resource b{color:#3b2b25;font-weight:700}.resource small{color:#73836c;font-size:8px;letter-spacing:1.1px}.resource>.icon{color:#5e8d7e}.resource.gold>.icon{color:#c79643}.resource.health{padding:8px 11px;background:#f9dfcc;border:1.5px solid #c2775f;border-radius:7px 12px 7px 10px}.resource.health>.icon{color:#d33e47}.resource.health b{color:#b92f40}.resource.health small{color:#a75a57}.map-wrap{background:#afc49c;border:2px solid #6f523b;border-radius:10px 17px 12px 15px;box-shadow:0 5px #b6a582}.map-wrap>#game-canvas{background:#b9cba1;aspect-ratio:1200 / 768}.map-heading .eyebrow{color:#f8f1cf;font-size:8px;letter-spacing:1.7px;background:#254a54dc;padding:7px 10px;border:1px solid #9eb3a370;border-radius:6px 9px 6px 8px}.map-state{font-size:8px;color:#f8f1cf;background:#254a54dc;border:1px solid #9eb3a370;border-radius:5px 8px 5px 7px}.map-footer{color:#f7efd0;font-size:9px}.map-footer>span:first-child{padding:8px 11px;background:#294b54e6;border:1px solid #c7d0ae60;border-radius:6px 9px 7px 8px}.path-key{padding:5px 8px;background:#264f51d9;border-radius:5px;color:#eaeace;font-size:7px}.path-key i{background:#dec394}.map-notice{color:#fff0c9;background:#264c55ed;border:1.5px solid #beae7b;border-radius:6px 10px 6px 8px}.zoom-controls{color:#fff3cf;background:#2d5860e6;border:1.5px solid #dcd1a57f;border-radius:6px 9px 6px 8px}.zoom-controls button:hover{background:#f0ead222}.paused-overlay{background:#244450d9}.paused-overlay h2{color:#fff0cb}.paused-overlay p{color:#d3e0c3}.world-loading{color:#fff0cd;background:#244a55f5}.world-loading small{color:#cee0cc}.power-bar{color:#3b2b25;background:#fff3d9;border:1.5px solid #ae9c79;border-radius:9px 13px 8px 11px;box-shadow:0 3px #c3b18c;margin-top:15px}.hero-power{background:#e6ebd1;border-color:#b9bea0}.hero-power strong{color:#49382c;font-size:13px;font-weight:700}.hero-power small{color:#64816d;font-size:8px;letter-spacing:1px}.hero-power>.icon{color:#477768}.hero-power:hover,.ability-button:hover{background:#d9e7c7}.hero-avatar{width:42px;height:42px;color:#3a8078;background-color:#f3e9c9;border-color:#8aac91;clip-path:none;border-radius:8px 12px 9px 10px}.hero-avatar .icon{display:none}.hero-hp{height:7px;margin-top:7px;max-width:95px;background:#542c3c;border:1px solid #71334a;border-radius:4px;box-shadow:0 0 0 1px #fff7df}.hero-hp i{background:#f0444f;border-top:1px solid #ff9a8b}.ability-button{border-color:#bcbb9e}.ability-button strong{color:#49382c;font-size:11px;font-weight:700}.ability-button small{color:#78886c;font-size:8px;line-height:1.5}.ability-symbol{color:#b88b4b}.ability-symbol.fire{color:#d17d4c}.ability-symbol.ice{color:#448e94}kbd{color:#7a8971;border-color:#bcbea1;background:#fffaf0}.targeting{box-shadow:inset 0 0 0 2px #ce8052;background:#ffe2b2}.battle-caption{color:#716453;font-size:10px}.battle-caption .icon{color:#a6864c}.keyboard-tip{color:#8d957d;font-size:8px}.defense-panel{color:#3b2b25;background:#fff3d9;border:2px solid #6f523b;border-radius:13px 19px 11px 16px;box-shadow:0 5px #bca987}.panel-heading{margin-bottom:24px}.panel-heading .eyebrow{color:#75624d;font-size:8px}.panel-live{color:#588672;font-size:8px}.defense-panel h3{color:#3b2b25;font-size:25px;font-weight:700}.panel-intro{color:#716453;font-size:12px;line-height:1.7}.tower-card{color:#49382c;padding:13px 10px;background:#f8eed3;border:1.5px solid #c6b58e;border-radius:7px 12px 8px 10px;box-shadow:0 2px #d3c19c}.tower-card:hover:not(:disabled){border-color:#58957e;background:#e9edcf}.tower-card-icon{width:40px;height:40px;border-radius:12px 15px 10px 14px;border:1.5px solid #667e69;background:radial-gradient(ellipse at 30% 25%,#fff4cd 0,#ecd8a7 70%);color:#416f66;box-shadow:1px 2px #c4af83;transform:rotate(-4deg)}.tower-card-icon .icon{width:28px;height:28px;transform:rotate(4deg);stroke-width:1.8}.tower-card-name strong{font-size:12px;font-weight:700;line-height:1.35}.tower-card-name small{color:#869379;font-size:8px;letter-spacing:.6px}.tower-cost{color:#ab7d3b;font-size:13px;font-weight:700}.tower-card:disabled{opacity:.57}.tactical-note{border-color:#b9b59570}.tactical-note>.icon{color:#bd904b}.tactical-note p{color:#7a8b73;font-size:10px}.tactical-note strong{color:#5a7863;font-size:11px}.wave-dots i{background:#dccaa5;height:5px;border:1px solid #b4a17b}.wave-dots i.complete{background:#599c85;border-color:#45836f}.wave-dots i.current{background:#dfaa5d;border-color:#ae854f}.wave-command .primary-button{font-size:12px}.wave-command .primary-button:disabled{color:#647964;background:#dde3ca;border-color:#a2b18f;box-shadow:none}.wave-command p{color:#899279;font-size:10px}.tower-big-icon{color:#4b8778;background:#e8e8c7;border-color:#a7b696;border-radius:11px 15px 10px 13px}.tower-level{color:#a37c41;font-size:9px}.tower-stats{background:#efe4c5;border-color:#c2b18a}.tower-stats span{border-color:#c8b996}.tower-stats small{color:#7a886d;font-size:8px}.tower-stats b{color:#436f60}.upgrade-button,.branch-button{color:#437868;background:#e1e9c9;border:1.5px solid #9cb78b;border-radius:7px 10px 7px 9px;font-size:12px}.upgrade-button small,.branch-button small{color:#7c8e6d;font-size:9px;line-height:1.5}.upgrade-button b,.branch-button b{color:#a47c40;font-size:12px}.branch-label{color:#79936f;font-size:9px}.max-level{color:#538269;background:#e1ecd2;border-color:#aec7a0;font-size:9px}.sell-button{color:#8b8270;border-color:#c9bb99;font-size:10px}.sell-button span{color:#ac8348}.text-button{color:#73896f;font-size:11px}.text-button:hover{color:#3a7869}.rally-button{color:#518a72;background:#e8edd4;border-color:#a7be94;font-size:12px;border-radius:7px 10px 7px 9px}.rally-button.active{color:#af7543;border-color:#ce925b;background:#f9e5bd}.camp-hint{color:#7c8f74;font-size:11px}.modal-backdrop{background:#16343dc9}.modal-card{color:#3b2b25;background:#fff0d0;border:2px solid #6f523b;border-radius:14px 23px 16px 19px;box-shadow:0 6px #112f39,inset 0 0 0 5px #dfcba84d}.modal-card h2{font-weight:700;color:#3b2b25}.modal-close{color:#71907b}.modal-emblem{color:#b98949}.modal-subtitle,.lore-text{color:#716453;font-size:12px}.modal-card blockquote{color:#a57c4a;font-size:18px}.story-signer{color:#527c66}.story-signer small{color:#829272}.story-rule{background:#e7ecd2;border-color:#a9b690;border-radius:8px 13px 9px 11px}.story-rule span{color:#788e71}.story-rule strong{color:#3f725f}.story-rule p{color:#7b8d72}.star-objective{color:#928661;font-size:11px}.help-list strong{color:#417763}.help-list p{color:#716453}.help-key{color:#ae8345}.lore-eras{border-color:#b7b994}.lore-eras strong{color:#5a7e64}.lore-eras small{color:#869674}.result-symbol{color:#ba8743;background:radial-gradient(#dfbd7440,transparent 68%)}.result-symbol.loss{color:#c8765d}.result-stars{color:#c8bf95}.result-stars .earned{color:#d09b4d;filter:none}.result-stars .earned svg{fill:#d9b57655}.result-stats{border-color:#c0b08a}.result-stats b{color:#436958;font-weight:700}.result-stats small{color:#849272;font-size:8px}.result-reward{color:#947847}.toast{color:#fff3d1;background:#28535e;border:2px solid #e5c28a;border-radius:8px 13px 9px 11px;box-shadow:0 4px #193d4a}.progression-dashboard{padding:26px;border:2px solid #6f523b;border-radius:17px 23px 15px 20px;background:radial-gradient(ellipse at 0 0,#fffdf2 0,transparent 45%),#f4e4c4;color:#3b2b25;box-shadow:0 5px #b5a17f,inset 0 0 0 5px #fff6e477}.progression-dashboard h2{font-family:var(--display);font-size:29px;color:#3b2b25;font-weight:700}.progression-dashboard h3{font-family:var(--display);font-size:23px;color:#49382c}.progression-dashboard p{color:#716453;line-height:1.6}.prog-eyebrow{color:#a47a43}.prog-wallet>span,.prog-currency{background:#ffefbe;border:1.5px solid #b18f59;color:#8c6835;border-radius:9px 13px 10px 8px;box-shadow:0 2px #cab283}.prog-tabs{gap:7px;border:1.5px solid #bca986;background:#e8d6b6}.prog-button{min-height:39px;border:1.5px solid #345a59;border-radius:8px 11px 8px 10px;background:#3f837b;color:#fff7e5;box-shadow:0 2px #2c5959}.prog-button:hover:not(:disabled){background:#4b9687;box-shadow:0 3px #2c5959}.prog-button:focus-visible{outline-color:#df8865}.prog-button:disabled{color:#78806c;background:#e4dfcb;border-color:#bbb29a;box-shadow:none;opacity:1}.prog-button-subtle{background:#f5e8c9;color:#607e67;border-color:#bda780;box-shadow:0 2px #c8b690}.prog-button-subtle:hover:not(:disabled){background:#eddbb1;box-shadow:0 2px #c8b690}.prog-tabs .prog-button{color:#6b7e66;border-color:transparent;box-shadow:none}.prog-tabs .is-active{color:#315f59;background:#fff7e5;border:1.5px solid #678575;box-shadow:0 3px #c0a885}.prog-subheading>span{color:#83866e;line-height:1.5}.prog-grid{gap:14px}.prog-card{border:1.5px solid #c6b491;border-radius:10px 15px 12px 9px;background:#fff7e5;box-shadow:0 3px #cfbd97}.prog-card h4{color:#49382c}.prog-badge{color:#a57b41;background:#fbefce;border-color:#cfb891;border-radius:6px 9px 6px 8px}.prog-meter{height:8px;background:#e1d6b8;border:1px solid #baa886;border-radius:5px}.prog-meter>i{background:#599e8a}.prog-reward{color:#a37d43}.prog-note{color:#716453!important}.prog-card.is-claimed{background:#e9eedc;border-color:#b2bc99;box-shadow:0 2px #c2c9a6}.prog-pass-banner{background:radial-gradient(circle at 90% -45%,#467f83,transparent 55%),#284d58;border:2px solid #31545d;border-radius:13px 18px 10px 15px;box-shadow:inset 0 0 0 4px #dabb7130,0 3px #b9a17b}.prog-pass-banner h3{color:#fff0c3;font-size:27px}.prog-pass-banner p{color:#c8dfd6}.prog-pass-crest{border:2px solid #d7b36f;border-radius:21px 30px 18px;transform:rotate(-7deg);color:#f1d28b;background:#214553}.prog-pass-level strong{font-family:var(--display)}.prog-pass-level span{font-size:11px;color:#c9ded5}.prog-pass-progress>span{color:#818b71}.prog-pass-card.is-ready{border-color:#b68341;background:#fff0c8;box-shadow:0 3px #c49a59}.prog-loot-icon{color:#be934e;text-shadow:1px 2px 0 #edd49c}.prog-hero{padding:0}.prog-hero.is-active,.prog-magic.is-active{border-color:#4c8c7c;box-shadow:0 0 0 2px #4c8c7c,0 5px #b8b994}.prog-hero-art{height:225px;align-items:center;background:radial-gradient(ellipse at 50% 70%,#ffffff10 34%,#edddbc 75%),#f8edce;border-bottom:1.5px solid #c6b491}.prog-hero-art:before{content:"";position:absolute;height:75%;aspect-ratio:1;border-radius:45% 50%;background:var(--hero-color);opacity:.2;transform:rotate(-12deg)}.prog-hero-info{padding:17px}.prog-hero-title{color:#739075}.prog-hero-traits span{background:#e7eedb;color:#678469;border:1px solid #bcccad;border-radius:4px 7px 4px 5px}.prog-loadout-summary span{color:#648568;background:#e3ebd3;border:1px solid #b1c3a1;border-radius:5px 8px 5px 7px}.prog-slot .prog-eyebrow:before{content:"◇";font-size:20px;display:block;margin-bottom:9px;color:#7a9a87}.prog-slot:nth-child(2) .prog-eyebrow:before{content:"⬡"}.prog-slot:nth-child(3) .prog-eyebrow:before{content:"✧"}.prog-slot:nth-child(4) .prog-eyebrow:before{content:"❖"}.prog-defense-grid .prog-card:before{content:"⌁";display:grid;place-items:center;width:39px;height:38px;margin-bottom:14px;border:1.5px solid #bca177;border-radius:10px 15px 9px 13px;background:#f1dfad;color:#5a887c;font-size:28px}.prog-defense-grid .prog-card:nth-child(2):before{content:"◉";background:#f5dbb2;color:#b67b43}.prog-defense-grid .prog-card:nth-child(3):before{content:"❄";background:#d7e9e2;color:#50939a}.prog-defense-grid .prog-card:nth-child(4):before{content:"⚑";background:#f5dfad;color:#aa864d}.prog-defense-grid .prog-card:nth-child(5):before{content:"△";background:#dce4c7;color:#7b9565}.prog-ranks i{height:6px;background:#e3d7b7;border:1px solid #b8a885;border-radius:3px}.prog-ranks i.filled{background:#67ad92;border-color:#4a907c}.prog-magic-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:14px;color:#49766c;background:var(--hero-color);border:1.5px solid #85a293;border-radius:16px 21px 13px 20px;text-shadow:1px 1px 0 #ffffff60;box-shadow:0 2px #c7c1a1}.prog-talent-branch h5{color:#a17e4e}.prog-talent-branch:before{width:3px;background:#a4b99a;border-left:1px solid #81a085}.prog-talent{background:#fff6df}.prog-talent.is-locked{background:#eee5cb;border-style:dashed;box-shadow:none}.prog-prereq{color:#8e9178}.rarity-raro .prog-badge{border-color:#98c0b6;color:#568a86;background:#dceee5}.rarity-epico .prog-badge{border-color:#b6a0c1;color:#9573a1;background:#ece1ee}@media(min-width:1550px){.topbar{height:105px}.hero-copy{padding:76px 67px}.tower-card-name strong{font-size:13px}.ability-button strong{font-size:12px}.ability-button small{font-size:9px}}@media(max-width:1180px){.hero-copy{padding:55px 42px}.resources{gap:15px;margin-right:10px}.tower-card-icon{width:34px;height:34px}.tower-card-name strong{font-size:11px}.tower-card-name small{font-size:7px}.ability-button{gap:5px;padding:12px 8px}.ability-button strong{font-size:9px}.ability-button small{font-size:7px}.hero-power strong{font-size:11px}.hero-power small{font-size:7px}.hero-power{width:160px}}@media(max-width:950px){.hero-copy{padding:46px 35px}.tower-card-name strong{font-size:12px}.ability-button{padding:15px 12px;gap:8px}.ability-button strong{font-size:11px}.ability-button small{font-size:8px}.hero-power{width:185px}.resources{gap:17px}.prog-hero-art{height:200px}.prog-hero-portrait{width:min(100%,200px)}.mission-card>strong{font-size:12px}.mission-card>small{font-size:9px}.mission-status{font-size:7px}}@media(max-width:650px){.app-shell{padding:0 15px}.topbar{height:78px}.brand{font-size:9px}.brand small{font-size:6px}.brand-symbol{width:29px;height:34px}.home-hero{margin-top:17px;height:558px;border-radius:12px 19px 14px 15px}.home-hero canvas{width:153%;height:64%;top:auto;right:-29%;bottom:-1%;opacity:1}.hero-shade{background:linear-gradient(180deg,#fff1d6fc,#fff1d6f9 28%,#fff1d660 52%,#fff1d605 77%,#29444c35)}.hero-copy{padding:33px 25px}.hero-copy>.eyebrow{font-size:7px;letter-spacing:1px}h1{font-size:62px;letter-spacing:-2.5px;margin:19px 0 18px}.hero-copy p{font-size:12px;line-height:1.7}.hero-cta{min-height:46px;font-size:12px;margin-top:22px}.hero-caption{font-size:9px}.hero-corner{top:17px;right:15px;font-size:8px;padding:5px 7px}.hero-corner span:first-child{font-size:15px}.scene-label{bottom:16px;right:14px;padding:9px 12px}.scene-label small{font-size:7px}.scene-label strong{font-size:10px}.company-shortcuts button{font-size:11px}.company-shortcuts>span{font-size:8px}.section-heading h2{font-size:23px;line-height:1.3}.progress-label{font-size:7px}.era-card{min-height:206px}.era-card>strong{font-size:16px}.era-card-status{font-size:7px;letter-spacing:.25px}.mission-card>strong{font-size:13px}.mission-card>small{font-size:9px}.mission-status{font-size:7px}.chapter-gate,.mission-brief p,.research-intro{font-size:11px}.research-card-heading strong{font-size:17px}.research-card>p{font-size:12px}.research-card-heading small{font-size:8px}.research-next{font-size:10px}.mission-title h2{font-size:20px}.mission-title .eyebrow{font-size:8px}.resources{padding:10px 12px;gap:8px;background:#fff3d9;border:1.5px solid #c7b996;border-radius:8px 12px 7px 10px}.resource.health{padding:6px 8px}.resource small{font-size:7px}.map-wrap{border-radius:10px 16px 11px 13px}.map-heading{top:9px;left:9px;right:9px;gap:6px}.map-heading .eyebrow{font-size:6px;letter-spacing:.6px;padding:5px 7px}.map-state{font-size:6px;letter-spacing:.4px;padding:5px 6px}.map-footer{font-size:7px}.map-footer>span:first-child{padding:5px 7px;max-width:75%}.map-notice{font-size:9px}.zoom-controls{font-size:8px}.hero-power{width:100%;padding:11px 13px;border-bottom-color:#bcc3a1}.hero-power strong{font-size:13px}.hero-power small{font-size:8px}.hero-avatar{width:37px;height:37px}.hero-power .hero-hp{max-width:115px}.ability-button{min-height:73px;padding:13px 7px;gap:6px}.ability-button strong{font-size:8px;white-space:normal}.ability-button small{font-size:7px;white-space:normal;line-height:1.4}.ability-symbol{width:18px}.battle-caption{font-size:9px}.defense-panel{padding:22px 18px}.defense-panel h3{font-size:25px}.panel-intro{font-size:12px}.tower-card{padding:12px 8px}.tower-card-icon{width:31px;height:34px}.tower-card-icon .icon{width:24px;height:25px}.tower-card-name strong{font-size:10px}.tower-card-name small{font-size:7px;letter-spacing:.25px}.tower-cost{font-size:11px}.wave-command p{font-size:10px}.tactical-note p{font-size:11px}.tactical-note strong,.upgrade-button,.branch-button{font-size:12px}.upgrade-button small,.branch-button small{font-size:10px}.camp-hint{font-size:11px}.modal-card{padding:34px 23px}.modal-card h2{font-size:30px}.modal-card blockquote{font-size:16px}.star-objective{font-size:10px}.help-list p,.lore-text{font-size:11px}.help-list strong{font-size:12px}.story-rule p{font-size:10px}.result-reward{font-size:11px}.app-footer{font-size:6px;letter-spacing:.7px}.progression-dashboard{padding:15px;border-radius:12px 19px 14px 16px}.progression-dashboard h2{font-size:25px}.progression-dashboard h3{font-size:21px}.prog-tabs{gap:3px}.prog-tabs .prog-button{font-size:10px;min-height:42px;padding:8px 3px}.prog-heroes{gap:11px}.prog-hero-art{height:auto;aspect-ratio:1}.prog-hero-portrait{width:100%}.prog-hero-seal{top:8px;right:8px;min-width:23px;height:25px}.prog-hero-info{padding:11px}.prog-pass-banner h3{font-size:23px}.prog-pass-crest{border-radius:13px 19px 12px 16px}}.wave-preview{margin:0 0 16px;padding:13px 14px;border:1.5px solid #c5b58e;border-radius:8px 13px 9px 11px;background:#efe5c9;text-align:left}.wave-preview:empty{display:none}.wave-preview>small{display:block;color:#726d59;font-size:8px;font-weight:800;letter-spacing:1px}.wave-preview>strong{display:block;margin:6px 0 9px;font:700 18px/1.2 var(--display);color:#49382c}.wave-preview>p{margin:7px 0 0}.wave-enemies{display:flex;flex-wrap:wrap;gap:5px}.wave-enemies>span{padding:4px 6px;border-radius:5px;background:#fcf4df;color:#535a47;border:1px solid #d8cba7;font-size:9px;line-height:1.3}.nav-link.active{color:#3b2b25;font-weight:800}.nav-link.active:after{background:#af633a}.icon-button,.speed-button{min-width:44px;min-height:44px;border-color:#9d7b54;color:#65503b;border-radius:8px}.icon-button:hover,.speed-button:hover{color:#3b2b25;border-color:#6f523b}.company-shortcuts button{min-height:44px;border-color:#85774e;border-radius:8px;font-weight:700;background:#ecebbd;color:#52653c;box-shadow:0 3px #b3a175}.section-heading h2,.mission-title h2,.defense-panel h3,.modal-card h2,.progression-dashboard h2,.progression-dashboard h3{font-weight:800}.era-card,.mission-card,.research-card,.prog-card{border-color:#ab855a;border-radius:9px;box-shadow:0 3px #c2a377}.era-card.selected,.mission-card.selected{border-color:#557046;background:#ebedc3;box-shadow:0 4px #869365}.mission-brief{border-color:#ae875e;border-radius:10px}.map-wrap,.defense-panel{border-radius:11px;box-shadow:0 4px #aa8658}.tower-card{border:1.5px solid #b08b60;border-radius:8px;box-shadow:0 3px #ccb28a;min-height:60px}.tower-card-icon{border:2px solid #69503b;border-radius:9px;background:#f2ddb3;color:#69503b;transform:none;box-shadow:0 2px #b59c75}.tower-card-icon .icon{transform:none;stroke-width:2.2}.tower-card[data-build=bolt] .tower-card-icon{background:#e0d3aa;color:#6d5635}.tower-card[data-build=blast] .tower-card-icon{background:#efbe89;color:#a45231}.tower-card[data-build=frost] .tower-card-icon{background:#bee2e4;color:#3f8392}.tower-card[data-build=relay] .tower-card-icon{background:#f2d787;color:#aa6131}.tower-card[data-build=camp] .tower-card-icon{background:#d0db97;color:#60753f}.tower-card-name strong{font-weight:800}.tower-card-name small{color:#7b674f}.tower-card:hover:not(:disabled){border-color:#557046;background:#edf0ce}.tower-cost{color:#9b642c}.power-bar{border-color:#9d7b54;border-radius:9px;background:#fff2d6;box-shadow:0 3px #c2a377}.hero-power{background:#e9e6be}.hero-avatar{width:44px;height:44px;border:2px solid #79583e;border-radius:8px}.ability-button{min-height:64px}.ability-symbol{color:#ad742d}.ability-symbol.fire{color:#ce693a}.ability-symbol.ice{color:#438f9a}.upgrade-button,.branch-button,.rally-button,.research-button{min-height:44px;border-color:#869560;border-radius:8px;color:#526c3c;background:#e7eabc;font-weight:700}.text-button,.sell-button,.modal-close{min-height:44px}.modal-card{border-radius:12px;box-shadow:0 6px #3b2b25}.progression-dashboard{border-radius:12px;background:#f5e5c1;box-shadow:0 4px #ac8858,inset 0 0 0 4px #fff5dd}.prog-tabs{border-color:#aa8358;border-radius:9px;background:#e7d3ac}.prog-button{min-height:44px;border:1.5px solid #3b4d2f;border-radius:7px;background:#568353;color:#fff7df;box-shadow:0 3px #35412a;font-weight:800}.prog-button:hover:not(:disabled){background:#658f5b;box-shadow:0 3px #35412a}.prog-button-subtle{color:#65513a;border-color:#b5976d;background:#f5e7c5;box-shadow:0 2px #c2a377}.prog-button-subtle:hover:not(:disabled){background:#efdcb5;box-shadow:0 2px #c2a377}.prog-tabs .prog-button{color:#765c40;min-height:44px}.prog-tabs .is-active{color:#3b2b25;border-color:#9b7951;background:#fff3d4;box-shadow:0 2px #b79364}.prog-wallet>span,.prog-currency,.prog-badge{color:#8d5c2e;border-color:#b28d55;background:#f9e7ae;border-radius:7px}.prog-hero.is-active,.prog-magic.is-active{border-color:#587849;box-shadow:0 0 0 2px #587849,0 4px #afaa74}.prog-hero-art{background:#f5e9ca;border-color:#ab855a}.prog-hero-art:before{display:none}.prog-hero-portrait{background:none}.prog-hero-seal{color:#5d402b;background:#fff0cb;border:1.5px solid #9b7045;border-radius:6px;box-shadow:0 2px #b58e60}.prog-hero-info h4{font-family:var(--display);font-weight:800}.prog-hero-title{color:#796048}.prog-hero-traits span,.prog-loadout-summary span{color:#52683f;background:#e5ebc5;border-color:#a7b17e}.prog-pass-banner{background:#3f6443;border-color:#3b4d2f;border-radius:11px;box-shadow:inset 0 0 0 3px #70925a,0 3px #aa8658}.prog-pass-crest{border-radius:13px;transform:none;background:#324f35;border-color:#e3b660;color:#f1c665}.wave-preview{background:#ede0ba;border-color:#ad885c;border-radius:8px}.wave-preview>small{color:#756044;font-size:9px;letter-spacing:.7px}.wave-preview>strong{color:#49382c;font:800 16px/1.35 var(--display)}.wave-enemies>span{padding:5px 7px;border-radius:5px;border-color:#bd9e70;color:#68513a;background:#fff2d3;font-size:10px;font-weight:700}@media(max-width:650px){.top-actions .icon-button,.game-controls .icon-button,.speed-button{width:44px;height:44px;min-width:44px;min-height:44px}.top-actions .icon-button{border:1.5px solid #ac8b60}.company-shortcuts button,.prog-tabs .prog-button{min-height:44px}.hero-copy{padding:32px 24px}h1{font-size:clamp(43px,13vw,60px);letter-spacing:-2.7px}h1 em{letter-spacing:-2.7px}.hero-cta{min-width:0;max-width:100%;min-height:48px}.hero-avatar{width:42px;height:42px}.map-footer>span:first-child{max-width:100%}.zoom-controls{bottom:44px}.zoom-controls button{width:44px;height:44px}.tower-card{min-height:62px}.ability-button strong{font-size:9px}.ability-button small{font-size:8px}.progression-dashboard h3{font-size:20px}.prog-hero-art{aspect-ratio:1}.prog-hero-portrait{width:100%}.prog-card p{color:#716453}}@media(max-width:380px){.app-shell{padding:0 11px}.hero-copy{padding:32px 20px}h1{font-size:clamp(37px,13vw,50px)}.tower-card{gap:5px;padding:11px 6px}.tower-card-icon{width:27px;height:32px}.tower-card-name strong{font-size:9px}.ability-button{gap:4px}.ability-button small{font-size:8px}.prog-hero-info{padding:9px}.prog-tabs .prog-button{font-size:9px}}@media(max-width:340px){.app-shell{padding:0 10px}.topbar{gap:4px}.brand{font-size:8px;letter-spacing:0;gap:5px}.brand-symbol{width:25px;height:31px}.brand small{font-size:5px;letter-spacing:.5px}.top-actions{gap:3px}.hero-copy{padding:30px 16px}h1{font-size:clamp(34px,13vw,43px);letter-spacing:-2px}h1 em{letter-spacing:-2px}.hero-copy p{font-size:11px}.hero-corner{display:none}.company-shortcuts{grid-template-columns:1fr}.section-heading{flex-wrap:wrap}.progress-label{max-width:none}.mission-title h2{font-size:15px}.mission-bar{column-gap:5px}.mission-title{min-width:0}.resources{padding:10px 7px}.resource{gap:4px}.resource.health{padding:5px}.resource b{font-size:15px}.resource small{font-size:6px}.resource>.icon{width:16px}.hero-power{padding:11px}.abilities{flex-wrap:wrap}.abilities .ability-button{flex:1 1 100%;padding:11px;min-height:55px;border-bottom:1px solid #c4b390}.abilities .ability-button:last-child{border-bottom:0}.ability-button strong{font-size:11px}.ability-button small{font-size:9px}.tower-list,.prog-heroes,.prog-slots,.prog-defense-grid,.prog-magic-grid,.prog-shop,.prog-pass-grid{grid-template-columns:minmax(0,1fr)}.tower-card-name strong{font-size:12px}.tower-card-name small{font-size:9px}.tower-card-icon{width:36px;height:36px}.tower-cost{font-size:14px}.defense-panel{padding:18px 13px}.progression-dashboard{padding:11px}.prog-tabs{grid-template-columns:1fr 1fr}.prog-tabs .prog-button{font-size:11px}.prog-hero-info{padding:15px}.prog-hero-info h4{font-size:17px}.prog-wallet>span{padding:7px;font-size:10px}.prog-pass-banner>div:nth-child(2){min-width:0}.prog-pass-banner{padding:13px;gap:10px}.prog-pass-crest{width:38px;height:38px}.prog-pass-banner h3{font-size:18px}.prog-pass-level{margin-left:0;flex-wrap:wrap}.modal-card{padding:32px 17px}.modal-card h2{font-size:25px}}.discovery-box{margin:10px 0;padding:10px 12px;border-radius:10px;background:linear-gradient(180deg,#f4ecff,#e3d4fb);border:1.5px solid #a789d6;text-align:left}.discovery-box .eyebrow{display:flex;align-items:center;gap:6px;color:#6b4aa8}.discovery-box .eyebrow .icon,.discovery-box .eyebrow .inline-art{width:16px;height:16px}.discovery-box p{margin:6px 0 0;font-size:12px;line-height:1.4;color:#4c3d63}.discovery-box strong{display:block;color:#3d2a66}:root{--display:"Cinzel","Manrope",serif;--ink:#323f3e;--accent:#327d78;--muted:#727662}body{background:#243b3c}.app-shell{background:#f4eedc;box-shadow:0 0 0 1px #dbc69f,0 0 65px #14272988}.topbar{background:#f7f1e3;border-bottom:1px solid #b5a385}.brand{color:#2d4848}.brand b{color:#327d78}.brand small{color:#817a64}.brand-symbol{background:#e2e8d1;border-color:#9baf92}.brand-symbol .art-icon{width:37px;height:37px}h1{font-family:var(--display);font-size:clamp(40px,4.8vw,72px);line-height:1.15;letter-spacing:-1.8px;color:#2d4142}h1 em{color:#327d78;font-family:var(--display);letter-spacing:-1px}.home-hero{border:1px solid #b6ad8b;box-shadow:0 5px #bdad88;border-radius:15px}.hero-shade{background:linear-gradient(90deg,#f7f1e3fc 0%,#f7f1e3ec 28%,#f7f1e362 49%,transparent 68%)}.hero-copy p{color:#627168}.section-heading h2,.progression-dashboard h2{font-family:var(--display);font-weight:600}.primary-button{background:#346d67;border-color:#264e4c;box-shadow:0 4px #1d4141}.primary-button:hover:not(:disabled){background:#408079;box-shadow:0 4px #1d4141}.art-icon{display:inline-block;width:60px;height:60px;vertical-align:middle;object-fit:contain;flex-shrink:0}.inline-art{width:24px;height:24px}.tower-cost .art-icon{width:20px;height:20px}.tower-portrait{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}.prog-hero-portrait{background:none!important;width:100%;height:100%;aspect-ratio:auto;object-fit:contain}.hero-avatar{background:none!important;overflow:hidden}.hero-avatar .prog-hero-portrait{width:100%;height:100%}.ability-symbol .art-icon{width:40px;height:40px}.prog-wallet>span{display:flex;gap:5px;align-items:center}.prog-wallet .art-icon{width:30px;height:30px}.prog-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}.prog-tabs .prog-button{min-width:0}.prog-hero-art{height:230px;background:radial-gradient(ellipse at 50% 85%,#d5c59099,transparent 67%),linear-gradient(#dfe9d8,#f1eedc)}.prog-hero-seal{z-index:1}.prog-item-picture,.prog-magic-picture{width:100%;height:135px;margin:10px 0 4px}.prog-slot>.art-icon{display:block;width:100%;height:90px;margin:5px auto}.prog-loot-icon .art-icon{width:90px;height:90px}.prog-pass-crest .art-icon{width:52px;height:52px}.prog-defense-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.prog-defense-picture{height:135px;aspect-ratio:auto}.prog-card{background:#fffbef;border-color:#d5c7a7}.prog-hero-info h4{color:#314a49}.prog-hero-info>.prog-button,.prog-button{min-height:44px}.codex-eras{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 20px}.codex-eras .prog-button{flex:1;min-width:90px;background:#f0e7cf;color:#567165;border-color:#b6b298}.codex-eras .is-active{background:#386f69;color:#fff2d5;border-color:#386f69}.codex-eras .prog-button:disabled{color:#8d8f80;background:#e5e2d4}.evolution-family{margin:20px 0 30px}.evolution-family h5{font:600 18px var(--display);color:#46685e;margin-bottom:12px}.evolution-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.evolution-card{display:flex;flex-direction:column;align-items:flex-start;padding:14px;position:relative}.evolution-card>.tower-portrait{height:155px;aspect-ratio:auto}.evolution-card .prog-badge{margin:2px 0 10px}.evolution-card p{font-size:11px;flex:1}.evolution-card h4{font-size:13px}.evolution-card .prog-button{width:100%;font-size:11px}.evolution-card.is-unlocked{border-color:#87a699;background:#f3f6e7}.evolution-available{display:block;font-size:11px;color:#367669;margin-top:auto;min-height:44px;padding-top:14px}.evolution-card.is-locked>.tower-portrait{opacity:.75}.evolution-card.is-locked{background:#f4f0e2}.codex-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.codex-card{display:flex;flex-direction:column}.codex-art{height:155px;position:relative;display:grid;place-items:center;margin:-5px 0 12px;background:radial-gradient(ellipse at 50% 88%,#becfb28c,transparent 70%)}.codex-portrait{display:block;height:155px;width:100%;object-fit:contain}.codex-art .prog-badge{position:absolute;right:0;top:0;background:#fff8e6eb}.codex-art:has(.codex-poses){height:auto;grid-template-rows:auto auto}.codex-poses{display:flex;gap:6px;width:100%;justify-content:center;margin-top:8px}.codex-poses .prog-button{min-height:44px;flex:1;max-width:95px;padding:7px 4px;font-size:13px}.codex-poses [aria-pressed=true]{background:#e7c484;color:#2d2820;border-color:#785e38;box-shadow:inset 0 0 0 1px #fff0c2}.codex-poses .prog-button:focus-visible{outline:3px solid #69d9ec;outline-offset:2px}.codex-card h4{color:#3a5854}.codex-card p{font-size:12px;margin:8px 0}.codex-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;font-size:11px;margin:12px 0}.codex-stats span{display:flex;justify-content:space-between;background:#eee8d2;padding:7px;border-radius:5px;gap:6px}.codex-counter{color:#4a6a60!important}.codex-matchups{display:flex;flex-direction:column;gap:5px;border-top:1px solid #dcd0b3;margin-top:auto;padding-top:12px}.codex-matchups span{display:flex;flex-direction:column;gap:2px;font-size:11px}.codex-matchups small{font-size:10px;color:#778171}.codex-card footer{font-size:10px;color:#8a876b;margin-top:12px;border-top:1px solid #dfd7bb;padding-top:10px}#codex-body{margin:22px 0}.modal-card:has(#codex-body){width:min(1120px,96vw);max-width:1120px;text-align:left}.tower-list{gap:12px}.tower-choice{min-width:0}.tower-card{min-height:100px;border-radius:12px;grid-template-columns:74px minmax(0,1fr) auto;gap:9px;padding:8px 10px}.tower-card-icon{width:74px;height:82px;aspect-ratio:auto;background:none;border:none;box-shadow:none;border-radius:0}.tower-card-name strong{font-size:12px;line-height:1.35}.tower-card-name small{font-size:9px}.tower-cost{font-size:12px;display:flex;align-items:center;gap:2px}.build-forms{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:4px 0 0}.build-forms button{min-height:44px;border:1px solid #bcb997;background:#eee8d2;border-radius:5px;color:#5d7265;font:700 11px DM Sans,sans-serif}.build-forms button.active{background:#3e796f;color:#f9f2dc;border-color:#3e796f}.build-forms button:disabled{color:#97998b;background:#e6e2d6;opacity:.7}.selected-tower-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.selected-defense-art{width:140px;height:155px}.selected-tower-heading .tower-level{line-height:1.8;white-space:nowrap;font-size:9px;color:#688170}.evolution-trait{font-size:11px;line-height:1.6;color:#50756c;padding:10px;background:#e9edda;border-radius:7px}.game-head h2{font-family:var(--display)}.tower-panel h3{font-family:var(--display);font-size:19px;line-height:1.4}.research-card-heading>.art-icon{width:40px;height:40px}.research-button .art-icon{width:20px;height:20px}.health-status{color:#be3c44}.hero-hp>i{background:#ed3e45!important}@media(max-width:900px){.prog-hero-art{height:200px}.codex-grid,.evolution-track,.prog-defense-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){h1{font-size:38px;letter-spacing:-1px}.hero-copy{padding:32px 24px}.prog-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.prog-hero-art{height:160px}.prog-item-picture,.prog-magic-picture{height:105px}.evolution-track{gap:9px}.evolution-card{padding:11px}.evolution-card>.tower-portrait{height:125px}.codex-grid{grid-template-columns:1fr}.codex-art,.codex-portrait{height:175px}.tower-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tower-card{display:flex;flex-wrap:wrap;justify-content:center;text-align:center;padding:8px;min-height:164px}.tower-card-icon{width:100%;height:87px}.tower-card-name{width:100%;flex:auto}.tower-cost{justify-content:center}.build-forms button{min-height:40px}.selected-defense-art{height:125px;width:110px}.selected-tower-heading{justify-content:flex-start}.modal-card:has(#codex-body){padding:24px 16px}.prog-wallet{gap:5px}.prog-wallet>span{font-size:10px;padding:6px}.prog-wallet .art-icon{width:24px;height:24px}.codex-eras{gap:5px}.codex-eras .prog-button{min-width:75px;padding:8px;font-size:11px}.top-actions{gap:5px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}@media(max-width:600px){.build-forms button{min-height:44px}.modal-card:has(#codex-body) #modal-title{font-size:20px;padding-right:36px;overflow-wrap:break-word}}.app-shell:has(#game-screen:not([hidden])){padding:0 20px}.app-shell:has(#game-screen:not([hidden])) .topbar{height:62px;gap:24px}.app-shell:has(#game-screen:not([hidden])) .app-footer{display:none}#game-screen .mission-bar{padding:12px 0;gap:12px}#game-screen .mission-title{gap:8px;min-width:0}#game-screen .mission-title h2{font-size:18px;letter-spacing:-.4px;margin-top:2px;line-height:1.25}#game-screen .mission-title .icon-button{width:44px;height:44px;min-width:44px;min-height:44px}#game-screen .resources{gap:20px;margin-right:12px}#game-screen .resource{gap:7px}#game-screen .resource b{font-size:17px}#game-screen .resource>.icon{width:20px;height:20px}#game-screen .battle-layout{grid-template-columns:minmax(0,1fr) 244px;gap:14px;margin-bottom:12px;align-items:start}#game-screen .defense-panel{padding:12px;border-width:1px;border-radius:9px;box-shadow:0 2px #aa8658;min-width:0}#game-screen .panel-heading{margin-bottom:10px}#game-screen #tower-panel>.panel-heading{margin-bottom:7px}#game-screen .defense-panel h3{font-size:17px;letter-spacing:-.3px;margin-bottom:7px;line-height:1.3}#game-screen .panel-intro{font-size:11px;line-height:1.45;margin-bottom:12px}#game-screen .tower-list{gap:8px}#game-screen .tower-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:6px;padding:4px 6px;min-height:58px;border-radius:7px;box-shadow:0 1px #ccb28a}#game-screen .tower-card-icon{width:44px;height:48px;aspect-ratio:auto}#game-screen .tower-card-name strong{font-size:11px;line-height:1.25;overflow-wrap:anywhere}#game-screen .tower-card-name small{font-size:8px;letter-spacing:.25px;margin-bottom:3px;line-height:1.2}#game-screen .tower-cost{font-size:11px;gap:1px}#game-screen .tower-cost .art-icon{width:16px;height:16px}#game-screen .build-forms{gap:4px;padding-top:4px}#game-screen .build-forms button{min-width:44px;min-height:44px;font-size:11px}#game-screen .selected-tower-heading{float:none;justify-content:flex-start;gap:10px;margin-bottom:7px}#game-screen .selected-defense-art{width:72px;height:80px;flex-shrink:0}#game-screen .selected-tower-heading .tower-level{font-size:9px;letter-spacing:.5px}#game-screen .evolution-trait{padding:7px 8px;font-size:11px;line-height:1.45}#game-screen .tower-stats{margin:10px 0;padding:9px 3px}#game-screen .tower-stats small{font-size:7px;letter-spacing:.45px}#game-screen .tower-stats b{font-size:16px;margin-top:4px}#game-screen .upgrade-button,#game-screen .branch-button{padding:8px;gap:7px;margin:6px 0;min-height:44px;font-size:11px}#game-screen .upgrade-button small,#game-screen .branch-button small{font-size:9px;margin-top:2px;line-height:1.3}#game-screen .upgrade-button>.icon,#game-screen .branch-button>.icon{width:17px;height:17px}#game-screen .branch-button .branch-art{width:38px;height:38px;flex:none;border:0;background:none;box-shadow:none}#game-screen .branch-button.locked,#game-screen .tower-card.locked{filter:grayscale(.85);opacity:.75}#game-screen .upgrade-button b,#game-screen .branch-button b{font-size:11px}#game-screen .sell-button{min-height:44px;margin-top:7px;padding:8px;font-size:10px}#game-screen .text-button{min-height:44px;margin-top:6px;font-size:11px}#game-screen .camp-hint{font-size:11px;line-height:1.45}#game-screen .wave-command{padding-top:14px}#game-screen .wave-preview{padding:8px;margin-bottom:9px;box-shadow:none}#game-screen .wave-preview>strong{font-size:13px;margin:4px 0 6px}#game-screen .wave-preview>small{font-size:8px;letter-spacing:.4px}#game-screen .wave-enemies{gap:4px}#game-screen .wave-enemies>span{font-size:9px;padding:3px 5px}#game-screen .wave-dots{margin-bottom:9px}#game-screen .wave-command .primary-button{min-height:44px;font-size:11px;padding:11px 10px}#game-screen .wave-command p{font-size:10px;margin-top:8px;line-height:1.4}#game-screen .power-bar{min-height:56px;margin-top:8px;border-radius:8px;box-shadow:0 2px #c2a377}#game-screen .hero-power{width:164px;min-height:56px;padding:7px 9px;gap:8px}#game-screen .hero-avatar{width:32px;height:36px;flex-shrink:0;border-width:1px;border-radius:6px}#game-screen .hero-power strong{font-size:11px;margin-top:2px}#game-screen .hero-power small{font-size:7px;letter-spacing:.5px}#game-screen .hero-hp{margin-top:5px}#game-screen .ability-button{min-height:56px;padding:7px 9px;gap:7px}#game-screen .ability-button strong{font-size:10px;line-height:1.25;white-space:normal}#game-screen .ability-button small{font-size:8px;line-height:1.3;white-space:normal;margin-top:3px}#game-screen .ability-symbol{width:24px}#game-screen .ability-symbol .art-icon{width:27px;height:27px}#game-screen .ability-symbol .icon{width:21px;height:23px}#game-screen .battle-caption{margin-top:7px;gap:10px;font-size:9px;line-height:1.45}#game-screen .map-heading{top:12px;left:14px;right:14px}#game-screen .map-heading .eyebrow{font-size:7px;letter-spacing:1px}#game-screen .map-state{font-size:7px;letter-spacing:.7px;padding:5px 7px}#game-screen .map-footer{left:12px;right:12px;bottom:10px;font-size:8px}#game-screen .map-footer>span:first-child{padding:5px 7px}#game-screen .zoom-controls{right:12px;bottom:42px}#game-screen .zoom-controls button{min-width:44px;min-height:44px;width:44px;height:44px}#game-screen .pad-hit{min-width:44px;min-height:44px}@media(min-width:951px){#game-screen .map-wrap{width:100%;height:auto;aspect-ratio:25/16;max-height:clamp(380px,calc(100dvh - 240px),760px)}#game-screen .map-wrap>#game-canvas{height:100%;min-height:0;aspect-ratio:auto}}@media(min-width:651px)and (max-width:950px){#game-screen .battle-layout{grid-template-columns:minmax(0,1fr)}#game-screen .defense-panel{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:0 14px}#game-screen .defense-panel>.panel-heading{grid-column:1/-1}#game-screen .tower-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#game-screen .wave-command{grid-column:2;grid-row:2;align-self:center}#game-screen .resources{gap:12px;margin-right:0}}@media(min-width:651px)and (max-width:700px){#game-screen .build-forms{grid-template-columns:repeat(2,minmax(44px,1fr))}}@media(max-width:650px){.app-shell:has(#game-screen:not([hidden])){padding:0 10px}.app-shell:has(#game-screen:not([hidden])) .topbar{height:58px;gap:6px}#game-screen .mission-bar{padding:8px 0;gap:7px}#game-screen .mission-title h2{font-size:15px}#game-screen .mission-title .eyebrow{font-size:7px;letter-spacing:.6px}#game-screen .game-controls{gap:4px}#game-screen .resources{flex-basis:100%;padding:7px 9px;gap:6px;margin:0;border-width:1px}#game-screen .resource{gap:5px}#game-screen .resource b{font-size:16px}#game-screen .resource.health{padding:3px 6px}#game-screen .resource small{font-size:6px;letter-spacing:.7px;margin-top:2px}#game-screen .resource>.icon{width:18px;height:18px}#game-screen .battle-layout{grid-template-columns:minmax(0,1fr);gap:10px}#game-screen .map-wrap>#game-canvas{min-height:225px}#game-screen .map-heading{top:8px;left:8px;right:8px;gap:6px}#game-screen .map-heading .eyebrow{font-size:6px;letter-spacing:.35px;padding:4px 5px}#game-screen .map-state{font-size:6px;letter-spacing:.25px;padding:4px 5px}#game-screen .map-footer{left:8px;right:8px;bottom:7px;font-size:7px}#game-screen .zoom-controls{right:8px;bottom:35px}#game-screen .power-bar{display:grid;grid-template-columns:minmax(0,1fr);overflow:hidden}#game-screen .hero-power{width:100%;padding:6px 9px;min-height:48px}#game-screen .hero-avatar{width:30px;height:34px}#game-screen .hero-power>span:nth-child(2){flex:1}#game-screen .hero-power .hero-hp{max-width:100px}#game-screen .abilities{display:flex;flex-wrap:nowrap;min-width:0}#game-screen .ability-button{flex:1 1 0;min-width:0;min-height:52px;padding:6px 5px;gap:4px;border-bottom:0}#game-screen .ability-button strong{font-size:9px}#game-screen .ability-button small{font-size:8px;line-height:1.25;min-height:0}#game-screen .ability-symbol{width:18px}#game-screen .ability-symbol .art-icon{width:22px;height:22px}#game-screen .ability-symbol .icon{width:18px;height:20px}#game-screen .battle-caption{font-size:8px;margin-top:5px}#game-screen .defense-panel{display:flex;padding:10px;gap:0}#game-screen .tower-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#game-screen .tower-card{grid-template-columns:30px minmax(0,1fr);gap:4px;padding:5px;min-height:66px;text-align:left}#game-screen .tower-card-icon{width:30px;height:38px;grid-row:1/3}#game-screen .tower-card-name{width:auto;grid-column:2}#game-screen .tower-card-name strong{font-size:10px}#game-screen .tower-card-name small{font-size:7px;margin-bottom:2px}#game-screen .tower-cost{grid-column:2;font-size:10px;justify-content:flex-start}#game-screen .build-forms{grid-template-columns:repeat(2,minmax(44px,1fr))}#game-screen .selected-defense-art{width:62px;height:68px}#game-screen .wave-command{width:100%;padding-top:12px}}.target-priority{margin:12px 0}.target-priority>div{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:7px}.target-priority button{border:1px solid #65786d;background:#243c34;color:#e6e9da;border-radius:8px;font:600 11px DM Sans;padding:8px}.target-priority button.active{border-color:#e4c778;background:#655a36}.ability-button small{max-width:200px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.mission-objective,.boss-panel{margin:8px 0;padding:12px 15px;border:1px solid #789b8c;border-radius:12px;background:#233d35;color:#e1e7d7;font-size:12px}.mission-objective p{margin:6px 0;color:#bdcabe}.mission-objective span{margin-right:12px;font-size:11px}.mission-objective button{padding:8px 12px;margin-top:6px;border:0;border-radius:7px;background:#e3c984;color:#333a30}.boss-panel{border-color:#b7817b;background:#432e37}.boss-meter{height:6px;background:#201d26;border-radius:6px;overflow:hidden;margin:7px 0}.boss-meter i{display:block;height:100%;background:#ed3e45}.boss-panel small{line-height:1.5;display:block}.mission-brief{font-size:13px;color:#bed5c3;line-height:1.7}.app-shell{--shell-gutter:42px;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);padding-left:calc(var(--shell-gutter) + env(safe-area-inset-left,0px));padding-right:calc(var(--shell-gutter) + env(safe-area-inset-right,0px))}.modal-backdrop{padding-top:max(15px,env(safe-area-inset-top,0px));padding-bottom:max(15px,env(safe-area-inset-bottom,0px));padding-left:max(15px,env(safe-area-inset-left,0px));padding-right:max(15px,env(safe-area-inset-right,0px))}.modal-card{max-height:calc(100vh - 30px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 30px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}.toast{bottom:calc(25px + env(safe-area-inset-bottom,0px));max-width:calc(100% - 32px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px))}.install-steps{padding-left:24px;line-height:1.65;color:#ced9ca;font-size:14px}.install-steps li{margin:14px 0}.install-note{font-size:12px;line-height:1.65;color:#b0c5b5;margin:20px 0}.map-wrap>#game-canvas{-webkit-touch-callout:none;touch-action:none;user-select:none;-webkit-user-select:none}.pad-hit{-webkit-touch-callout:none;touch-action:manipulation;user-select:none;-webkit-user-select:none}.settings-grid select{font-size:16px}@media(max-width:1200px){.app-shell{--shell-gutter:28px}}@media(max-width:650px){.app-shell{--shell-gutter:16px}.app-shell.battle-active{--shell-gutter:10px;padding-left:calc(10px + env(safe-area-inset-left,0px));padding-right:calc(10px + env(safe-area-inset-right,0px))}.install-button{display:none}.top-actions{gap:4px}.top-actions .icon-button{min-width:36px;min-height:44px}}@media(orientation:landscape)and (max-height:500px)and (min-width:651px)and (max-width:1000px){.app-shell.battle-active{--shell-gutter:16px}.app-shell.battle-active .topbar{height:46px;gap:8px}.app-shell.battle-active .topnav,.app-shell.battle-active .build-label{display:none}.app-shell.battle-active .brand{font-size:9px;gap:8px}.app-shell.battle-active .brand-symbol{width:28px;height:32px}.app-shell.battle-active .top-actions{gap:4px}.app-shell.battle-active .top-actions .icon-button{width:36px;height:44px}#game-screen .mission-bar{padding:4px 0;gap:6px}#game-screen .mission-title h2{font-size:13px}#game-screen .mission-title .eyebrow{font-size:6px;letter-spacing:.4px}#game-screen .resources{gap:8px;margin:0}#game-screen .resource{gap:4px}#game-screen .resource b{font-size:13px}#game-screen .resource small{font-size:5px}#game-screen .resource>.icon{width:14px;height:14px}#game-screen .battle-layout{grid-template-columns:minmax(0,1fr) 190px;gap:10px;margin-bottom:4px}#game-screen .map-wrap{height:calc(100vh - 160px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));height:calc(100dvh - 160px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));min-height:150px;aspect-ratio:auto;max-height:none}#game-screen .map-wrap>#game-canvas{height:100%;min-height:0;aspect-ratio:auto}#game-screen .map-heading{top:5px;left:5px;right:5px}#game-screen .map-heading .eyebrow,#game-screen .map-state{font-size:5px}#game-screen .map-footer{bottom:5px;left:5px;right:5px;font-size:6px}#game-screen .power-bar{min-height:44px;margin-top:5px}#game-screen .hero-power{width:95px;min-width:95px;padding:5px;gap:4px}#game-screen .hero-avatar{width:24px;height:28px}#game-screen .hero-power strong{font-size:9px}#game-screen .hero-power small{font-size:5px}#game-screen .ability-button{padding:5px;min-height:44px;gap:4px;min-width:0}#game-screen .ability-button strong{font-size:7px;white-space:normal}#game-screen .ability-button small{font-size:6px}#game-screen .ability-button kbd,#game-screen .battle-caption{display:none}#game-screen .defense-panel{display:flex;padding:8px;max-height:calc(100vh - 112px);max-height:calc(100dvh - 112px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overflow-y:auto;overscroll-behavior:contain}#game-screen .defense-panel>.panel-heading,#game-screen .panel-intro,#game-screen .tactical-note{display:none}#game-screen .defense-panel h3{font-size:13px}#game-screen .wave-command{position:sticky;bottom:-8px;background:#f4eedc;padding:8px 0;z-index:4}}.orientation-lock{display:none}@media(orientation:portrait){.orientation-lock{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 40%,#2d4430f5,#101a13fb);color:#fff3d1;text-align:center;touch-action:none}.orientation-lock>div{max-width:320px;padding:24px 22px;border-radius:18px;background:linear-gradient(180deg,#f6e7c4,#e4cf9f);border:4px solid #2b2420;color:#2b2420;box-shadow:0 10px 30px #0008}.orientation-lock strong{display:block;font-size:26px;line-height:1.1;margin-top:6px}.orientation-lock p{font-size:15px;margin:10px 0 0;color:#4b3320}.orientation-lock .orientation-icon{display:inline-block;font-size:48px;line-height:1;animation:orientation-turn 2.2s ease-in-out infinite}}@keyframes orientation-turn{0%,30%{transform:rotate(0)}55%,85%{transform:rotate(-90deg)}to{transform:rotate(0)}}@media(prefers-reduced-motion:reduce){.orientation-lock .orientation-icon{animation:none}}:root{--ink:#2a1b10;--parch:#f6e6bf;--parch-lo:#e5cb92;--wood:#6e4627;--wood-hi:#a87444;--wood-lo:#43291a;--title-font:"Lilita One","Manrope",system-ui,sans-serif}.topbar{background:linear-gradient(180deg,var(--wood-hi) 0%,var(--wood) 52%,var(--wood-lo) 100%)!important;border-bottom:4px solid var(--ink)!important;box-shadow:inset 0 2px #d9a46c66,0 6px #00000026;border-radius:0 0 18px 18px;padding-inline:18px}.topbar .brand{color:#fff3d1!important;text-shadow:0 2px 0 var(--ink)}.topbar .brand b{color:#ffd45c!important}.topbar .brand small{color:#f2d9a8!important;text-shadow:none}.topbar .brand-symbol{background:radial-gradient(circle at 40% 30%,#fff1c9,#e7b45a)!important;border:3px solid var(--ink)!important;box-shadow:0 3px #0005}.topbar .nav-link{font-family:var(--title-font);font-weight:400;font-size:17px!important;color:#f6e6bf!important;text-shadow:0 2px 0 var(--ink)}.topbar .nav-link.active{color:#ffd45c!important}.topbar .nav-link.active:after{background:#ffd45c!important;height:4px!important;border-radius:3px}.topbar .icon-button{background:radial-gradient(circle at 38% 30%,#c08a55,#8a5a32 48%,#5a3820)!important;color:#fff3d1!important;border:3px solid var(--ink)!important;border-radius:50%!important;box-shadow:inset 0 2px #f1c38d99,0 3px #0005}.topbar .build-label{color:#f2d9a8!important}.topbar .install-button{font-family:var(--title-font);background:linear-gradient(180deg,#6cc07c,#2f7344);color:#fff3d1;border:3px solid var(--ink);border-radius:12px}#home-screen .section-heading h2,#home-screen .progression-dashboard h2,.modal-card h2{font-family:var(--title-font)!important;font-weight:400!important;letter-spacing:.2px!important;text-transform:none;color:var(--ink)!important}#home-screen .hero-copy h1{font-family:var(--title-font);font-weight:400;letter-spacing:0;color:#3a2516;text-shadow:0 3px 0 #ffffff80}#home-screen .hero-copy h1 em{font-style:normal;color:#c2541f}.primary-button{font-family:var(--title-font)!important;font-weight:400!important;font-size:19px!important;letter-spacing:.3px;color:#fff6dc!important;background:linear-gradient(180deg,#78c784,#3f9152 55%,#2c6e3d)!important;border:3px solid var(--ink)!important;border-radius:16px!important;box-shadow:inset 0 2px #c8f5cf,inset 0 -3px #1f5530,0 5px #00000059!important;text-shadow:0 2px 0 #1d4a27}.primary-button:hover:not(:disabled){filter:brightness(1.08)}.primary-button:active:not(:disabled){transform:translateY(3px);box-shadow:inset 0 2px #c8f5cf,0 2px #00000059!important}.primary-button .icon{stroke-width:2.6}#home-screen .era-card,#home-screen .mission-card{position:relative;overflow:hidden;padding:0 0 12px!important;border:3.5px solid var(--ink)!important;border-radius:16px!important;background:linear-gradient(180deg,var(--parch),var(--parch-lo))!important;box-shadow:inset 0 0 0 2px #fff8e3aa,0 6px #00000040!important;transition:transform .15s,box-shadow .15s}#home-screen .era-card:hover:not(.locked),#home-screen .mission-card:hover:not(.locked){transform:translateY(-3px)}#home-screen .era-card.selected,#home-screen .mission-card.selected{box-shadow:inset 0 0 0 2px #fff8e3aa,0 0 0 4px #ffd45c,0 6px #00000040!important}#home-screen .era-card:before{display:none!important}#home-screen .era-thumb,#home-screen .mission-thumb{display:block;width:100%;height:auto;aspect-ratio:320/190;border-bottom:3px solid var(--ink);background:#7a9a58}#home-screen .era-card.locked .era-thumb,#home-screen .mission-card.locked .mission-thumb{filter:grayscale(.85) brightness(.75) sepia(.3)}#home-screen .era-card-top{position:absolute;top:8px;left:8px;right:8px;display:flex;justify-content:space-between;align-items:center;z-index:2;pointer-events:none}#home-screen .era-card-top>span:first-child{font-family:var(--title-font);font-size:14px;color:#fff3d1;padding:2px 9px;border-radius:9px;background:#2a1b10b0;letter-spacing:.5px}#home-screen .era-card-top .medal-stars{font-family:var(--title-font);font-size:15px;color:#ffd45c;padding:2px 9px;border-radius:9px;background:#2a1b10b0}#home-screen .era-card-top .icon{width:30px;height:30px;padding:5px;border-radius:50%;background:#2a1b10c0;color:#ffd45c}#home-screen .era-card>strong,#home-screen .mission-card>strong{display:block;margin:10px 12px 0;font-family:var(--title-font)!important;font-weight:400!important;font-size:19px!important;line-height:1.15;color:var(--ink)!important;text-transform:none}#home-screen .era-card>small,#home-screen .mission-card>small{display:block;margin:2px 12px 0;font-size:12px!important;font-weight:700;color:#7a5532!important}#home-screen .era-card-status,#home-screen .mission-status{display:block;margin:8px 12px 0;font-size:10px!important;font-weight:800;letter-spacing:.6px;color:#5f7b3f!important}#home-screen .era-card.locked .era-card-status,#home-screen .mission-card.locked .mission-status{color:#8a6a4a!important}#home-screen .mission-card.locked{opacity:1!important}#home-screen .mission-number{position:absolute;top:8px;left:8px;right:8px;display:flex;justify-content:space-between;align-items:center;font-family:var(--title-font);font-size:16px;color:#fff3d1;z-index:2}#home-screen .mission-number{text-shadow:0 2px 0 var(--ink),2px 0 0 var(--ink),-2px 0 0 var(--ink),0 -2px 0 var(--ink)}#home-screen .mission-number .icon{width:28px;height:28px;padding:5px;border-radius:50%;background:#2a1b10c0;color:#ffd45c;text-shadow:none}#home-screen .mission-stars{display:flex;gap:2px;margin:6px 12px 0}#home-screen .mission-stars span{font-size:22px;color:#00000026;-webkit-text-stroke:1.5px #2a1b1066}#home-screen .mission-stars span.earned{color:#ffd45c;-webkit-text-stroke:1.5px var(--ink);text-shadow:0 2px 0 #00000040}#home-screen .mission-brief{border:3.5px solid var(--ink)!important;border-radius:18px!important;background:linear-gradient(180deg,var(--parch),var(--parch-lo))!important;box-shadow:inset 0 0 0 2px #fff8e3aa,0 6px #00000040!important}#home-screen .mission-brief strong{font-family:var(--title-font);font-weight:400;font-size:22px;color:var(--ink)}#home-screen .mission-brief p{color:#4b3320}#home-screen .chapter-gate{font-weight:700;color:#5b4026}#home-screen .research-card,#home-screen .resume-battle{border:3.5px solid var(--ink)!important;border-radius:16px!important;background:linear-gradient(180deg,var(--parch),var(--parch-lo))!important;box-shadow:inset 0 0 0 2px #fff8e3aa,0 6px #00000040!important}#home-screen .research-card strong{font-family:var(--title-font);font-weight:400;font-size:19px;color:var(--ink)}#home-screen .research-button{font-family:var(--title-font);font-size:16px;color:#fff6dc;background:linear-gradient(180deg,#ffd45c,#c98a1c);border:3px solid var(--ink);border-radius:12px;box-shadow:0 4px #00000052;text-shadow:0 2px 0 #7a4d0e}#home-screen .research-button:disabled{filter:grayscale(.7) brightness(.9)}#home-screen .company-shortcuts button{font-family:var(--title-font)!important;font-size:16px!important;color:#fff3d1!important;background:linear-gradient(180deg,var(--wood-hi),var(--wood) 55%,var(--wood-lo))!important;border:3px solid var(--ink)!important;border-radius:14px!important;box-shadow:inset 0 2px #d9a46c66,0 4px #00000045!important;text-shadow:0 2px 0 var(--ink)}#home-screen .home-hero{border:4px solid var(--ink)!important;border-radius:22px!important;box-shadow:0 8px #00000040!important}.modal-backdrop{background:#140c06b8!important;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-card{border:4px solid var(--ink)!important;border-radius:22px!important;background:linear-gradient(180deg,#fbefcf 0%,var(--parch) 40%,var(--parch-lo) 100%)!important;box-shadow:inset 0 0 0 3px #fff8e3aa,0 10px #00000059,0 24px 60px #000a!important;color:var(--ink)}.modal-card h2{font-size:32px!important;line-height:1.1}.modal-card .modal-subtitle,.modal-card p{color:#4b3320!important}.modal-card .eyebrow{color:#8a5428!important;font-weight:800}.modal-card blockquote{color:#5a3a1e!important}.modal-card .story-rule,.modal-card .mission-brief,.modal-card .star-objective{border:2.5px solid #2a1b1055!important;border-radius:12px!important;background:#fff8e488!important;color:#3d2a1a!important}.modal-card .story-rule strong{font-family:var(--title-font);font-weight:400;font-size:18px;color:#5d1d14}.modal-card .mission-brief{padding:10px 14px;font-weight:700}.modal-card .legacy-story{color:#6b5236!important}.modal-card .text-button{color:#6b3d18!important;font-weight:800}.modal-card .modal-close{background:radial-gradient(circle at 38% 30%,#c08a55,#8a5a32 48%,#5a3820)!important;color:#fff3d1!important;border:3px solid var(--ink)!important;border-radius:50%!important}.modal-card .result-stars span .icon{width:64px;height:64px;color:#00000026;fill:#00000014;stroke:var(--ink);stroke-width:1.6}.modal-card .result-stars span.earned .icon{color:var(--ink);fill:#ffd45c;filter:drop-shadow(0 3px 0 #0005);animation:star-in .5s cubic-bezier(.3,1.7,.6,1) both}.modal-card .result-stars span.earned:nth-child(2) .icon{animation-delay:.25s}.modal-card .result-stars span.earned:nth-child(3) .icon{animation-delay:.5s}@keyframes star-in{0%{transform:scale(0) rotate(-40deg);opacity:0}}.modal-card .result-stats span{border:2.5px solid #2a1b1044;border-radius:12px;background:#fff8e488}.modal-card .result-stats b{font-family:var(--title-font);font-weight:400;font-size:24px;color:var(--ink)}.modal-card .settings-grid label{font-weight:700;color:#3d2a1a}.modal-card .settings-grid select{border:2.5px solid var(--ink);border-radius:10px;background:#fffaf0;padding:6px 8px;font-weight:700;color:var(--ink)}.modal-card .toggle-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.modal-card .toggle-row input{width:22px;height:22px;accent-color:#3f9152}.modal-card .toggle-row small{flex-basis:100%;margin-left:32px;font-weight:600;color:#6b5236}#home-screen .era-card-status,#home-screen .mission-status{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.35}#home-screen .hero-copy h1 em{font-family:var(--title-font)!important;font-weight:400!important;text-transform:none!important;letter-spacing:0!important}.modal-backdrop{z-index:60!important}.toast{z-index:70!important}.modal-card .result-stars{display:flex;justify-content:center;gap:6px;margin:6px 0 4px}.modal-card .result-stars span:nth-child(2){transform:translateY(-12px)}.modal-card .big-star{width:74px;height:74px;fill:#2a1b1022;stroke:#2a1b1066}.modal-card .big-star .star-shine{fill:none;stroke:transparent}.modal-card .result-stars span.earned .big-star{fill:#ffd45c;stroke:var(--ink);filter:drop-shadow(0 4px 0 #00000059);animation:star-in .55s cubic-bezier(.3,1.7,.6,1) both}.modal-card .result-stars span.earned .star-shine{stroke:#fff8d8}.modal-card .result-stars span.earned:nth-child(2) .big-star{animation-delay:.3s}.modal-card .result-stars span.earned:nth-child(3) .big-star{animation-delay:.6s}.trophy-toast{position:fixed;left:50%;top:calc(14px + env(safe-area-inset-top,0px));z-index:80;display:flex;align-items:center;gap:12px;min-width:min(380px,90vw);padding:10px 16px;border:4px solid var(--ink);border-radius:18px;background:linear-gradient(180deg,#fff2c4,#ffd45c 55%,#d99a26);box-shadow:inset 0 2px #fffbe6,0 6px #00000059,0 16px 40px #0007;color:var(--ink);transform:translate(-50%,-140%);transition:transform .45s cubic-bezier(.3,1.5,.6,1);pointer-events:none}.trophy-toast.visible{transform:translate(-50%)}.trophy-toast small{display:block;font-size:10px;font-weight:800;letter-spacing:1.4px;color:#7a4d0e}.trophy-toast strong{display:block;font-family:var(--title-font);font-weight:400;font-size:21px;line-height:1.1}.trophy-toast em{display:block;font-style:normal;font-size:12px;font-weight:600;color:#5b3c12}.trophy-icon{flex:0 0 auto;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;border:3px solid var(--ink);background:radial-gradient(circle at 40% 30%,#fff8de,#e8b046 60%,#a3661a);font-size:26px;color:var(--ink);box-shadow:0 3px #0005}.trophy-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;margin:14px 0 18px;max-height:min(60vh,560px);overflow:auto;padding:4px;text-align:left}.trophy-card{display:flex;gap:10px;align-items:flex-start;padding:10px;border:2.5px solid #2a1b1055;border-radius:14px;background:#fff8e488;filter:grayscale(.9);opacity:.75}.trophy-card.unlocked{filter:none;opacity:1;border-color:var(--ink);background:linear-gradient(180deg,#fffbe9,#ffe9a8);box-shadow:0 3px #0003}.trophy-card .trophy-icon{width:44px;height:44px;font-size:21px}.trophy-card strong{display:block;font-family:var(--title-font);font-weight:400;font-size:17px;color:var(--ink)}.trophy-card p{margin:2px 0 4px;font-size:12px!important}.trophy-card small{font-size:11px;font-weight:700;color:#6b5236}.trophy-meter{height:8px;border:2px solid var(--ink);border-radius:6px;background:#3b2a20;overflow:hidden;margin:2px 0}.trophy-meter i{display:block;height:100%;background:linear-gradient(180deg,#ffe07a,#d39a1d)}.modal-card:has(.trophy-grid){width:min(980px,96vw);max-width:980px}.modal-card .save-code{width:100%;margin:10px 0 12px;padding:10px;border:3px solid var(--ink);border-radius:12px;background:#fffaf0;font:12px/1.4 ui-monospace,Consolas,monospace;color:var(--ink);resize:vertical;word-break:break-all}.modal-card .settings-transfer{display:flex;justify-content:center;gap:18px;flex-wrap:wrap}.toast{font-weight:700!important;font-size:14px!important;color:var(--ink)!important;background:linear-gradient(180deg,var(--parch),var(--parch-lo))!important;border:3px solid var(--ink)!important;border-radius:14px!important;box-shadow:0 5px #00000052,0 12px 30px #0006!important;padding:10px 18px!important}.modal-card .challenge-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.modal-card .challenge-button{display:flex;flex-direction:column;gap:3px;padding:10px 12px;text-align:left;border:3px solid var(--ink);border-radius:14px;color:#fff6dc;box-shadow:inset 0 2px #fff5,0 4px #00000052;cursor:pointer}.modal-card .challenge-button.eroica{background:linear-gradient(180deg,#d65a4c,#9b2d22)}.modal-card .challenge-button.ferro{background:linear-gradient(180deg,#7d8794,#47505c)}.modal-card .challenge-button strong{font-family:var(--title-font);font-weight:400;font-size:18px;text-shadow:0 2px 0 #0006}.modal-card .challenge-button small{font-size:11.5px;font-weight:600;line-height:1.35;color:#fff1dc}.modal-card .challenge-button.done{outline:3px solid #ffd45c;outline-offset:2px}.modal-card .challenge-lock{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:12px;font-size:12.5px;font-weight:700;color:#6b5236!important}.modal-card .challenge-lock .icon{width:16px;height:16px}#home-screen .challenge-badge{display:inline-grid;place-items:center;width:22px;height:22px;margin-left:5px;border-radius:50%;border:2px solid #2a1b1055;font-style:normal;font-size:12px;color:#2a1b1055;background:#00000010;vertical-align:middle}#home-screen .challenge-badge.done.eroica{background:#d65a4c;color:#fff;border-color:var(--ink)}#home-screen .challenge-badge.done.ferro{background:#6b7480;color:#fff;border-color:var(--ink)}@media(max-width:560px){.modal-card .challenge-row{grid-template-columns:1fr}}.modal-card:has(.story-comic){width:min(1000px,95vw);max-width:1000px}.story-comic{position:relative;margin:10px 0;background:#102329;border:3px solid var(--ink);border-radius:14px;overflow:hidden}.story-comic img{display:block;width:100%;height:auto;max-height:56vh;aspect-ratio:8/5;object-fit:contain}.story-comic figcaption{position:relative;margin-top:-11%;padding:10px 18px;background:#102329;color:#fff6dc;font-size:clamp(12px,1.4vw,17px);line-height:1.4;text-align:left}@media(max-height:500px){.story-comic,.story-comic img{max-height:58vh}.story-comic figcaption{padding:5px 10px;font-size:11px}.modal-card:has(.story-comic)>h2{display:none}}.story-comic canvas{max-height:56vh;width:auto;max-width:100%;margin:0 auto}@media(max-height:500px){.story-comic{max-height:none}.story-comic canvas{max-height:44vh}.story-comic figcaption{margin-top:-7vh}}:root{--hud-ink:#2a1b10;--hud-wood:#6e4627;--hud-wood-hi:#a87444;--hud-wood-lo:#43291a;--hud-parchment:#f6e6bf;--hud-parchment-lo:#e2c88f;--hud-gold:#ffd45c;--hud-gold-lo:#c98a1c;--hud-red:#d8443a;--hud-teal:#3d8c8a;--hud-font:"Lilita One","Manrope",system-ui,sans-serif;--safe-t:env(safe-area-inset-top,0px);--safe-r:env(safe-area-inset-right,0px);--safe-b:env(safe-area-inset-bottom,0px);--safe-l:env(safe-area-inset-left,0px)}body.in-battle{overflow:hidden;overscroll-behavior:none;touch-action:none;background:#1c2a20}.app-shell.battle-active{padding:0!important;margin:0!important;max-width:none!important}.app-shell.battle-active>.topbar,.app-shell.battle-active>.app-footer{display:none!important}#game-screen.battle-stage:not([hidden]){position:fixed;inset:0;z-index:20;display:block;margin:0;padding:0;width:100vw;height:100vh;height:100dvh;overflow:hidden;background:#1c2a20;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}#game-screen.battle-stage .map-wrap{position:absolute;inset:0;margin:0;border:0;border-radius:0;box-shadow:none;max-height:none;width:100%;height:100%;background:#1c2a20}#game-screen.battle-stage .map-wrap>#game-canvas{position:absolute;inset:0;width:100%!important;height:100%!important;aspect-ratio:auto;min-height:0;border-radius:0;cursor:pointer}#game-screen.battle-stage .map-wrap>#game-canvas.panning{cursor:grabbing}#game-screen.battle-stage .map-wrap>#game-canvas.targeting{cursor:crosshair}#game-screen.battle-stage .pad-hit{width:var(--pad,58px);height:calc(var(--pad,58px)*.62);min-width:44px;min-height:44px;border-radius:50%}#game-screen.battle-stage .hud{position:absolute;z-index:8;display:flex;gap:10px;pointer-events:none}#game-screen.battle-stage .hud>*{pointer-events:auto}#game-screen.battle-stage .hud-plate,#game-screen.battle-stage .zoom-controls{background:linear-gradient(180deg,var(--hud-wood-hi) 0%,var(--hud-wood) 46%,var(--hud-wood-lo) 100%);border:3px solid var(--hud-ink);border-radius:16px;box-shadow:inset 0 2px #d9a46c80,inset 0 -3px #2b1a0f,0 4px #0000004d,0 10px 22px #00000052}.hud-num,#game-screen.battle-stage .resource b,#game-screen.battle-stage .ring-cost,#game-screen.battle-stage .wave-call-bonus,#game-screen.battle-stage .speed-button,#game-screen.battle-stage #zoom-label{font-family:var(--hud-font);font-weight:400;letter-spacing:.3px;color:#fff3d1;text-shadow:0 2px 0 var(--hud-ink),2px 0 0 var(--hud-ink),-2px 0 0 var(--hud-ink),0 -2px 0 var(--hud-ink),1.5px 1.5px 0 var(--hud-ink),-1.5px 1.5px 0 var(--hud-ink),1.5px -1.5px 0 var(--hud-ink),-1.5px -1.5px 0 var(--hud-ink),0 4px 0 #0000004a}#game-screen.battle-stage .hud-btn,#game-screen.battle-stage .zoom-controls button{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;padding:0;color:var(--hud-parchment);background:radial-gradient(circle at 38% 30%,#c08a55,#8a5a32 48%,#5a3820);border:3px solid var(--hud-ink);box-shadow:inset 0 2px #f1c38d99,inset 0 -3px #3a2313,0 4px #00000057;transition:transform .12s,filter .12s}#game-screen.battle-stage .hud-btn .icon{width:22px;height:22px;stroke-width:2.4}#game-screen.battle-stage .hud-btn:hover:not(:disabled),#game-screen.battle-stage .zoom-controls button:hover{filter:brightness(1.12)}#game-screen.battle-stage .hud-btn:active:not(:disabled),#game-screen.battle-stage .zoom-controls button:active{transform:translateY(2px) scale(.96)}#game-screen.battle-stage .speed-button{font-size:19px;border-color:var(--hud-ink)}#game-screen.battle-stage .speed-button.fast{background:radial-gradient(circle at 38% 30%,#ffd977,#d9921f 52%,#94570c)}#game-screen.battle-stage .hud-top-left{top:calc(10px + var(--safe-t));left:calc(12px + var(--safe-l));flex-direction:column;align-items:flex-start;gap:6px}#game-screen.battle-stage .hud-plate{display:flex;align-items:center;gap:4px;padding:6px 14px 6px 8px}#game-screen.battle-stage .resource{display:flex;align-items:center;gap:6px;padding:0 8px;border:0;background:none;min-width:0;border-radius:0;box-shadow:none}#game-screen.battle-stage .resource+.resource{border-left:2px solid #2a1b1066;padding-left:12px}#game-screen.battle-stage .resource>.icon,#game-screen.battle-stage .resource>.inline-art{width:28px;height:28px;flex:0 0 auto;filter:drop-shadow(0 2px 0 var(--hud-ink))}#game-screen.battle-stage .resource.health>.icon{color:#ff5f57;fill:#e8443c;stroke:var(--hud-ink);stroke-width:2}#game-screen.battle-stage .resource.waves>.icon{color:#cfe6ff;stroke:var(--hud-ink);stroke-width:2.6}#game-screen.battle-stage .resource b{font-size:25px;line-height:1;min-width:1.4ch}#game-screen.battle-stage .resource.waves b{font-size:21px}#game-screen.battle-stage .resource.bump b{animation:hud-bump .32s ease-out}#game-screen.battle-stage .resource.hurt{animation:hud-hurt .5s ease-out}#game-screen.battle-stage .resource.hurt b{color:#ffb4ad}@keyframes hud-bump{0%{transform:scale(1)}40%{transform:scale(1.28)}to{transform:scale(1)}}@keyframes hud-hurt{0%,to{transform:none}20%{transform:translate(-4px)}40%{transform:translate(4px)}60%{transform:translate(-3px)}80%{transform:translate(2px)}}#game-screen.battle-stage .hud-mission{display:flex;flex-direction:column;padding:5px 12px 6px;background:linear-gradient(180deg,var(--hud-parchment),var(--hud-parchment-lo));border:2.5px solid var(--hud-ink);border-radius:10px;box-shadow:0 3px #0000004a;color:var(--hud-ink);max-width:min(300px,40vw)}#game-screen.battle-stage .hud-mission span{font-size:10px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;color:#7a4b25}#game-screen.battle-stage .hud-mission strong{font-family:var(--hud-font);font-weight:400;font-size:16px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#game-screen.battle-stage .hud-top-right{top:calc(10px + var(--safe-t));right:calc(12px + var(--safe-r));gap:8px}#game-screen.battle-stage .hud-top-center{top:calc(10px + var(--safe-t));left:50%;transform:translate(-50%);flex-direction:column;align-items:center;gap:6px;width:min(420px,40vw)}#game-screen.battle-stage .boss-panel,#game-screen.battle-stage .mission-objective{position:static;width:100%;margin:0;padding:8px 14px;background:linear-gradient(180deg,var(--hud-parchment),var(--hud-parchment-lo));border:3px solid var(--hud-ink);border-radius:12px;box-shadow:0 4px #00000052;color:var(--hud-ink);text-align:center;font-size:12px}#game-screen.battle-stage .boss-panel strong,#game-screen.battle-stage .mission-objective strong{font-family:var(--hud-font);font-weight:400;font-size:17px;color:#5d1d14;display:block}#game-screen.battle-stage .boss-panel small,#game-screen.battle-stage .mission-objective p,#game-screen.battle-stage .mission-objective span{font-size:11.5px;color:#4b3320;margin:2px 0 0}#game-screen.battle-stage .boss-meter{height:12px;margin:5px 0 3px;border:2.5px solid var(--hud-ink);border-radius:8px;background:#3b2a20;overflow:hidden}#game-screen.battle-stage .boss-meter i{display:block;height:100%;background:linear-gradient(180deg,#ff6b5f,#c22d24);transition:width .2s}#game-screen.battle-stage .mission-objective button{margin-top:6px;padding:6px 12px;font-family:var(--hud-font);font-size:14px;color:#fff3d1;background:linear-gradient(180deg,#5aa86b,#2f7344);border:2.5px solid var(--hud-ink);border-radius:10px;box-shadow:0 3px #0000004d}#game-screen.battle-stage .power-bar{left:calc(12px + var(--safe-l));bottom:calc(12px + var(--safe-b));top:auto;right:auto;margin:0;min-height:0;border:0;background:none;box-shadow:none;overflow:visible;align-items:flex-end;gap:12px;flex-wrap:nowrap;border-radius:0}#game-screen.battle-stage .power-bar:before,#game-screen.battle-stage .power-bar:after{content:none;display:none}#game-screen.battle-stage .hero-power{position:relative;width:84px;height:84px;padding:0;border:0;background:none;display:block;border-radius:50%;flex:0 0 auto}#game-screen.battle-stage .hero-power .hero-avatar{position:absolute;inset:0;width:84px;height:84px;clip-path:none;border-radius:50%;overflow:hidden;border:4px solid var(--hud-ink);background:radial-gradient(circle at 50% 35%,#fff1cf,#d9b277);box-shadow:inset 0 0 0 3px var(--hud-gold),0 5px #00000057;display:block}#game-screen.battle-stage .hero-power .hero-avatar canvas,#game-screen.battle-stage .hero-power .hero-avatar img{width:100%;height:100%;object-fit:cover}#game-screen.battle-stage .hero-power .hero-hp{position:absolute;left:6px;right:6px;bottom:-9px;height:12px;max-width:none;margin:0;border:2.5px solid var(--hud-ink);border-radius:8px;background:#3a2620;overflow:hidden;box-shadow:0 2px #00000052}#game-screen.battle-stage .hero-power .hero-hp i{display:block;height:100%;background:linear-gradient(180deg,#ff7066,#d1312a);transition:width .2s}#game-screen.battle-stage .hero-power .hero-meta{position:absolute;left:50%;top:-24px;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;white-space:nowrap;pointer-events:none}#game-screen.battle-stage .hero-power .hero-meta strong{font-family:var(--hud-font);font-weight:400;font-size:15px;color:#fff3d1;text-shadow:0 2px 0 var(--hud-ink),2px 0 0 var(--hud-ink),-2px 0 0 var(--hud-ink),0 -2px 0 var(--hud-ink);margin:0}#game-screen.battle-stage .hero-power .hero-meta small{font-size:10px;font-weight:700;letter-spacing:.5px;color:#ffe2a8;text-shadow:0 1px 0 var(--hud-ink),1px 0 0 var(--hud-ink),-1px 0 0 var(--hud-ink)}#game-screen.battle-stage .hero-power.targeting .hero-avatar{box-shadow:inset 0 0 0 3px #8ff3e3,0 0 0 4px #8ff3e3aa,0 5px #00000057;animation:hud-pulse 1s infinite}#game-screen.battle-stage .abilities{display:flex;gap:10px;align-items:flex-end;border:0;background:none}#game-screen.battle-stage .ability-button{position:relative;width:64px;height:64px;padding:0;flex:0 0 auto;min-height:0;display:grid;place-items:center;border-radius:50%;border:3.5px solid var(--hud-ink);background:radial-gradient(circle at 40% 30%,#ffe7b0,#e3a95a,#a96526);box-shadow:inset 0 2px #fff4d299,inset 0 -3px #6a3a14,0 4px #00000057;overflow:visible}#game-screen.battle-stage .ability-button[data-action=target-slow]{background:radial-gradient(circle at 40% 30%,#e6fbff,#82cfe6,#3a7fa6);box-shadow:inset 0 2px #fffa,inset 0 -3px #23506b,0 4px #00000057}#game-screen.battle-stage .ability-button[data-action=target-ultimate]{background:radial-gradient(circle at 40% 30%,#fbefff,#c49ae8,#6a3f99);box-shadow:inset 0 2px #fffa,inset 0 -3px #3e2163,0 4px #00000057}#game-screen.battle-stage .ability-button[data-action=target-reinforce]{background:radial-gradient(circle at 40% 30%,#fbf6e4,#cdb27a,#7c6235);box-shadow:inset 0 2px #fffa,inset 0 -3px #4d3a1c,0 4px #00000057}#game-screen.battle-stage .ability-gap{width:10px;flex:0 0 auto}#game-screen.battle-stage .ability-button[data-action=hero-ability]{background:radial-gradient(circle at 40% 30%,#f3ffe9,#9fd88a,#4a8b3f);box-shadow:inset 0 2px #fffa,inset 0 -3px #2d5a27,0 4px #00000057}#game-screen.battle-stage .ability-button .ability-symbol{width:38px;height:38px;display:grid;place-items:center;border:0;background:none;color:var(--hud-ink)}#game-screen.battle-stage .ability-button .ability-symbol .icon{width:30px;height:30px;stroke-width:2.6;color:var(--hud-ink)}#game-screen.battle-stage .ability-button .ability-symbol .inline-art{width:38px;height:38px}#game-screen.battle-stage .ability-button:after{content:"";position:absolute;inset:-1px;border-radius:50%;background:conic-gradient(#1b120bb8 calc(var(--cd,0)*360deg),transparent 0);pointer-events:none}#game-screen.battle-stage .ability-button:disabled{opacity:1;filter:saturate(.45) brightness(.86);cursor:default}#game-screen.battle-stage .ability-button.ready{animation:hud-ready 2.4s ease-in-out infinite}#game-screen.battle-stage .ability-button.targeting{box-shadow:0 0 0 4px #fff3d1,0 0 18px 6px #ffd45ccc,0 4px #00000057;transform:translateY(-3px)}#game-screen.battle-stage .ability-button .ability-text{position:absolute;bottom:calc(100% + 10px);left:50%;transform:translate(-50%) translateY(4px);min-width:150px;padding:7px 10px;background:linear-gradient(180deg,var(--hud-parchment),var(--hud-parchment-lo));border:2.5px solid var(--hud-ink);border-radius:10px;box-shadow:0 4px #0000004d;color:var(--hud-ink);text-align:center;opacity:0;pointer-events:none;transition:.15s;white-space:normal}#game-screen.battle-stage .ability-button .ability-text strong{font-family:var(--hud-font);font-weight:400;font-size:15px;white-space:nowrap}#game-screen.battle-stage .ability-button .ability-text small{font-size:11px;color:#5b4026;white-space:normal;margin-top:2px}#game-screen.battle-stage .ability-button:hover .ability-text,#game-screen.battle-stage .ability-button:focus-visible .ability-text{opacity:1;transform:translate(-50%)}#game-screen.battle-stage .ability-button kbd{position:absolute;right:-6px;top:-6px;font-family:var(--hud-font);font-size:12px;padding:1px 6px;border-radius:7px;background:var(--hud-parchment);border:2px solid var(--hud-ink);color:var(--hud-ink);opacity:1;display:block}@keyframes hud-ready{0%,to{box-shadow:inset 0 2px #fff4d299,inset 0 -3px #00000040,0 4px #00000057,0 0 #ffd45c00}50%{box-shadow:inset 0 2px #fff4d299,inset 0 -3px #00000040,0 4px #00000057,0 0 14px 3px #ffd45c99}}@keyframes hud-pulse{50%{transform:scale(1.05)}}#game-screen.battle-stage .zoom-controls{right:calc(12px + var(--safe-r));bottom:calc(14px + var(--safe-b));left:auto;top:auto;display:flex;gap:6px;padding:6px;align-items:center;overflow:visible}#game-screen.battle-stage .zoom-controls button{width:44px;height:44px;font-family:var(--hud-font);font-size:22px;line-height:1;color:#fff3d1}#game-screen.battle-stage .zoom-controls #zoom-label{width:46px;border-radius:12px;font-size:15px}#game-screen.battle-stage .hud-bottom-center{bottom:calc(14px + var(--safe-b));left:50%;transform:translate(-50%)}#game-screen.battle-stage .map-hint{display:block;padding:8px 16px;background:#20140cd9;border:2px solid #f6e6bf55;border-radius:999px;color:#fff3d1;font-weight:700;font-size:13px;box-shadow:0 4px 12px #0006;white-space:nowrap}#game-screen.battle-stage .map-hint[hidden]{display:none}#game-screen.battle-stage .map-notice{top:calc(120px + var(--safe-t));padding:8px 16px;font-size:14px;font-weight:700;color:var(--hud-ink);background:linear-gradient(180deg,var(--hud-parchment),var(--hud-parchment-lo));border:2.5px solid var(--hud-ink);border-radius:12px;box-shadow:0 4px #0000004d;z-index:9;max-width:min(560px,80vw)}#game-screen.battle-stage .defence-menu-open .map-notice{visibility:hidden;pointer-events:none}#game-screen.battle-stage .ring-menu{position:absolute;z-index:7;width:0;height:0;--r:66px;pointer-events:none}#game-screen.battle-stage .ring-menu[hidden]{display:none}#game-screen.battle-stage .ring-halo{position:absolute;left:0;top:0;width:calc(var(--r)*2);height:calc(var(--r)*2);transform:translate(-50%,-50%);border-radius:50%;border:3px dashed #fff3d1cc;background:radial-gradient(circle,#20140c33 40%,#20140c66);box-shadow:0 0 0 2px #2a1b1088;animation:ring-open .18s ease-out}#game-screen.battle-stage .ring-btn{--a:-90deg;position:absolute;left:0;top:0;width:var(--ring-button,60px);height:var(--ring-button,60px);padding:0;border-radius:50%;display:grid;place-items:center;pointer-events:auto;color:var(--hud-ink);background:radial-gradient(circle at 40% 30%,#fffaf0 0%,var(--hud-parchment) 50%,var(--hud-parchment-lo) 100%);border:3.5px solid var(--hud-ink);box-shadow:inset 0 -3px #b9935a,0 4px #00000059;transform:translate(-50%,-50%) rotate(var(--a)) translate(var(--r)) rotate(calc(var(--a)*-1));animation:ring-pop .22s cubic-bezier(.3,1.6,.6,1) both;transition:filter .12s,box-shadow .12s}#game-screen.battle-stage .ring-btn .icon{width:28px;height:28px;stroke-width:2.6}#game-screen.battle-stage .ring-btn:hover:not(:disabled){filter:brightness(1.08);box-shadow:inset 0 -3px #b9935a,0 0 0 3px #ffd45c,0 4px #00000059}#game-screen.battle-stage .ring-btn:disabled{filter:grayscale(.7) brightness(.82);cursor:not-allowed}#game-screen.battle-stage .ring-build{--a:calc(-135deg + var(--i) * 90deg);background:radial-gradient(circle at 40% 30%,#fffaf0 0%,var(--hud-parchment) 55%,var(--tower-color,#e2c88f) 140%)}#game-screen.battle-stage .ring-build .ring-art,#game-screen.battle-stage .ring-spec .ring-art{width:50px!important;height:50px!important;max-width:none;margin:0;padding:0;border:0;border-radius:50%;background:none!important;box-shadow:none;pointer-events:none;transform:scale(1.55) translateY(-6%);filter:drop-shadow(0 2px 0 #2a1b1066)}#game-screen.battle-stage .ring-build.poor .ring-art{filter:grayscale(.85) brightness(.85)}#game-screen.battle-stage .ring-btn.locked{filter:grayscale(.9) brightness(.8);cursor:help}#game-screen.battle-stage .power-bar button.locked{filter:grayscale(1) brightness(.7);opacity:.8}#game-screen.battle-stage .ring-btn.locked .ring-cost{background:linear-gradient(180deg,#5c5146,#3a3029)}#game-screen.battle-stage .ring-build.poor .ring-cost{color:#ffb8b0}#game-screen.battle-stage .ring-btn.armed{box-shadow:0 0 0 4px #ffd45c,0 0 22px 6px #ffd45caa,0 4px #00000059;z-index:2}#game-screen.battle-stage .ring-cost{position:absolute;left:50%;bottom:-13px;transform:translate(-50%);min-width:40px;padding:1px 7px 2px;border-radius:9px;background:linear-gradient(180deg,#7a4d28,#4b2c16);border:2px solid var(--hud-ink);font-size:15px;line-height:1.1;white-space:nowrap}#game-screen.battle-stage .ring-cost .icon{width:15px;height:15px;color:#9ff08d;stroke-width:3;vertical-align:-2px}#game-screen.battle-stage .ring-btn[data-slot=top]{--a:-90deg}#game-screen.battle-stage .ring-btn[data-slot=bottom]{--a:90deg}#game-screen.battle-stage .ring-btn[data-slot=left]{--a:150deg}#game-screen.battle-stage .ring-btn[data-slot=right]{--a:30deg}#game-screen.battle-stage .ring-btn[data-slot=top-left]{--a:-150deg}#game-screen.battle-stage .ring-btn[data-slot=top-right]{--a:-30deg}#game-screen.battle-stage .ring-upgrade{background:radial-gradient(circle at 40% 30%,#fff7d9,#ffd45c 55%,#c98a1c)}#game-screen.battle-stage .ring-spec{overflow:visible;background:radial-gradient(circle at 40% 30%,#f7ecff,#c6a3ff 55%,#7a4fc4)}#game-screen.battle-stage .ring-back{width:46px;height:46px}#game-screen.battle-stage .ring-sell{background:radial-gradient(circle at 40% 30%,#fff2ee,#f2a28f 55%,#b54b38)}#game-screen.battle-stage .ring-sell.armed .icon{color:#14530f}#game-screen.battle-stage .ring-max{background:radial-gradient(circle at 40% 30%,#f3ffe9,#a9dc8f 55%,#4f8c3c)}#game-screen.battle-stage .ring-info{font-family:var(--hud-font);font-size:28px;width:44px;height:44px}#game-screen.battle-stage .ring-letter{font-family:var(--hud-font);font-size:24px}#game-screen.battle-stage .ring-label{position:absolute;left:0;top:calc(var(--r) + 34px);transform:translate(-50%);padding:5px 12px;border-radius:10px;white-space:nowrap;text-align:center;color:var(--hud-ink);background:linear-gradient(180deg,var(--hud-parchment),var(--hud-parchment-lo));border:2.5px solid var(--hud-ink);box-shadow:0 3px #0000004d;pointer-events:none;animation:ring-open .2s ease-out}#game-screen.battle-stage .ring-label strong{display:block;font-family:var(--hud-font);font-weight:400;font-size:16px}#game-screen.battle-stage .ring-label small{display:block;font-size:11px;font-weight:700;color:#6f4826}@keyframes ring-pop{0%{opacity:0;transform:translate(-50%,-50%) scale(.3)}to{opacity:1}}@keyframes ring-open{0%{opacity:0;transform:translate(-50%,-50%) scale(.6)}}#game-screen.battle-stage .ring-label{animation:none}#game-screen.battle-stage .wave-call{position:absolute;z-index:7;width:0;height:0}#game-screen.battle-stage .wave-call[hidden]{display:none}#game-screen.battle-stage .wave-call-button{position:absolute;left:0;top:0;transform:translate(-50%,-50%);width:70px;height:70px;padding:0;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 40% 30%,#fff1d8,#e9c58d,#a36f39);border:3.5px solid var(--hud-ink);box-shadow:inset 0 -3px #6a4222,0 5px #00000059;animation:wave-bob 1.6s ease-in-out infinite}#game-screen.battle-stage .wave-call-button:disabled{animation:none;filter:grayscale(.5)}#game-screen.battle-stage .wave-call-icon{width:44px;height:44px;position:relative;z-index:1}#game-screen.battle-stage .wave-call-icon svg{width:100%;height:100%}#game-screen.battle-stage .wave-timer{position:absolute;inset:-9px;width:calc(100% + 18px);height:calc(100% + 18px);transform:rotate(-90deg)}#game-screen.battle-stage .wave-timer-track{fill:none;stroke:#2a1b1088;stroke-width:6}#game-screen.battle-stage .wave-timer-fill{fill:none;stroke:#ffd45c;stroke-width:6;stroke-linecap:round;stroke-dasharray:0 100;transition:stroke-dasharray .2s linear}#game-screen.battle-stage .wave-call.early .wave-timer-fill{stroke:#ff8a5c}#game-screen.battle-stage .wave-call.first .wave-call-button{animation:wave-bob 1.1s ease-in-out infinite,wave-glow 1.1s ease-in-out infinite}#game-screen.battle-stage .wave-call.armed .wave-call-button{box-shadow:0 0 0 4px #ffd45c,0 0 24px 8px #ff8a5caa,0 5px #00000059}#game-screen.battle-stage .wave-call-bonus{position:absolute;right:-18px;top:-12px;padding:1px 7px 2px;border-radius:9px;background:linear-gradient(180deg,#5aa86b,#2f7344);border:2px solid var(--hud-ink);font-size:15px;z-index:2}#game-screen.battle-stage .wave-tip{position:absolute;left:var(--tip-left,52px);top:var(--tip-top,-30px);width:var(--tip-width,250px);max-height:var(--tip-height,260px);box-sizing:border-box;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;padding:10px 12px;border-radius:12px;background:linear-gradient(180deg,var(--hud-parchment),var(--hud-parchment-lo));border:3px solid var(--hud-ink);box-shadow:0 5px #00000052,0 10px 24px #0005;color:var(--hud-ink);opacity:0;pointer-events:none;transition:opacity .15s}#game-screen.battle-stage .wave-call.armed .wave-tip,#game-screen.battle-stage .wave-call:hover .wave-tip{opacity:1;pointer-events:auto}#game-screen.battle-stage .wave-tip small{display:block;font-size:10.5px;font-weight:800;letter-spacing:1px;color:#8a5428}#game-screen.battle-stage .wave-tip strong{display:block;font-family:var(--hud-font);font-weight:400;font-size:18px;line-height:1.15;margin:2px 0 6px}#game-screen.battle-stage .wave-enemies{display:flex;flex-wrap:wrap;gap:4px}#game-screen.battle-stage .wave-enemies span{font-size:11px;font-weight:700;padding:2px 7px;border-radius:7px;background:#2a1b100f;border:1.5px solid #2a1b1033}#game-screen.battle-stage .wave-warn{margin:6px 0 0;font-size:11px;font-weight:700;color:#8c2c1c}#game-screen.battle-stage .wave-cta{margin:7px 0 0;font-size:12px;font-weight:800;color:#2f6b3b}@keyframes wave-bob{0%,to{transform:translate(-50%,-50%)}50%{transform:translate(-50%,-58%)}}@keyframes wave-glow{50%{box-shadow:0 0 0 4px #ffd45c,0 0 26px 10px #ffd45c88,0 5px #00000059}}#game-screen.battle-stage .coin-layer{position:absolute;inset:0;pointer-events:none;z-index:9;overflow:hidden}#game-screen.battle-stage .flying-coin{position:absolute;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff6c4,#ffd45c 45%,#c98a1c);border:2px solid var(--hud-ink);box-shadow:0 2px #0005;animation:coin-fly .75s cubic-bezier(.45,-.25,.6,1) forwards}@keyframes coin-fly{0%{transform:translate(0) scale(.6);opacity:0}12%{opacity:1;transform:translateY(-22px) scale(1.15)}to{transform:translate(var(--dx),var(--dy)) scale(.7);opacity:.9}}#game-screen.battle-stage .paused-overlay{position:absolute;inset:0;z-index:14;background:#120c08a8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}#game-screen.battle-stage .pause-card{display:flex;flex-direction:column;align-items:center;gap:8px;padding:22px 30px 18px;max-height:calc(100dvh - 24px);overflow:auto;min-width:min(340px,86vw);background:linear-gradient(180deg,var(--hud-parchment),var(--hud-parchment-lo));border:4px solid var(--hud-ink);border-radius:20px;box-shadow:inset 0 0 0 3px #fff8e3aa,0 8px #00000059,0 20px 40px #0008;color:var(--hud-ink)}#game-screen.battle-stage .pause-card h2{font-family:var(--hud-font);font-weight:400;font-size:32px;letter-spacing:0;margin:2px 0 0;color:var(--hud-ink)}#game-screen.battle-stage .pause-card p{color:#5b4026;margin:0 0 6px;font-size:13px}#game-screen.battle-stage .pause-card .eyebrow{color:#8a5428}#game-screen.battle-stage .pause-card .primary-button{font-family:var(--hud-font);font-size:20px;font-weight:400;color:#fff3d1;background:linear-gradient(180deg,#6cc07c,#2f7344);border:3px solid var(--hud-ink);border-radius:14px;box-shadow:inset 0 2px #b5f2bf,0 4px #00000059;padding:10px 26px;margin:4px 0}#game-screen.battle-stage .pause-card .text-button{color:#5b3418;font-weight:800;font-size:14px;margin:0}#game-screen.battle-stage .info-drawer{position:absolute;z-index:12;top:calc(76px + var(--safe-t));right:calc(12px + var(--safe-r));bottom:calc(76px + var(--safe-b));width:min(340px,88vw);overflow:auto;padding:16px 16px 14px;background:linear-gradient(180deg,var(--hud-parchment),var(--hud-parchment-lo));border:4px solid var(--hud-ink);border-radius:18px;box-shadow:inset 0 0 0 3px #fff8e3aa,0 8px #00000052,0 18px 40px #0007;color:var(--hud-ink);animation:drawer-in .2s ease-out}#game-screen.battle-stage .info-drawer[hidden]{display:none}#game-screen.battle-stage .info-drawer h3{font-family:var(--hud-font);font-weight:400;font-size:22px;color:var(--hud-ink)}#game-screen.battle-stage .info-drawer .panel-intro,#game-screen.battle-stage .info-drawer p,#game-screen.battle-stage .info-drawer small{color:#5b4026}#game-screen.battle-stage .info-drawer .drawer-close{position:sticky;top:0;float:right;margin:-6px -6px 0 0;width:36px;height:36px;border-radius:50%;background:var(--hud-wood);color:#fff3d1;border:2.5px solid var(--hud-ink)}#game-screen.battle-stage .era-rule-note{display:flex;gap:6px;font-size:12px;margin-top:12px;color:#5b4026}#game-screen.battle-stage .era-rule-note .icon{flex:0 0 16px;width:16px;height:16px}@keyframes drawer-in{0%{opacity:0;transform:translate(24px)}}#game-screen.battle-stage .tutorial-panel{position:absolute;z-index:10;left:50%;bottom:calc(112px + var(--safe-b));transform:translate(-50%);width:min(520px,62vw);margin:0;padding:10px 14px;display:flex;align-items:center;gap:12px;background:linear-gradient(180deg,var(--hud-parchment),var(--hud-parchment-lo));border:3px solid var(--hud-ink);border-radius:14px;box-shadow:0 5px #00000052;color:var(--hud-ink)}#game-screen.battle-stage .tutorial-panel[hidden]{display:none}#game-screen.battle-stage .tutorial-panel{pointer-events:none}#game-screen.battle-stage .tutorial-panel strong{font-family:var(--hud-font);font-weight:400;font-size:17px;color:var(--hud-ink)}#game-screen.battle-stage .tutorial-panel p{margin:2px 0 0;font-size:12.5px;color:#4b3320}#game-screen.battle-stage .tutorial-number{font-family:var(--hud-font);font-size:18px;padding:6px 10px;border-radius:12px;background:var(--hud-wood);color:#fff3d1;border:2.5px solid var(--hud-ink)}#game-screen.battle-stage .tutorial-panel .text-button{color:#6b3d18;font-weight:800;pointer-events:auto;flex-shrink:0;margin:0}#game-screen.battle-stage .tutorial-focus{outline:4px solid #ffd45c!important;outline-offset:3px;animation:tutorial-pulse 1s infinite}.ring-wall-art{width:42px;height:42px;pointer-events:none}#game-screen.battle-stage .ring-wall-visual{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;overflow:hidden;pointer-events:none}#game-screen.battle-stage .ring-wall-visual canvas,#game-screen.battle-stage .ring-wall-visual .inline-art{position:static;width:90%;height:90%;aspect-ratio:1;background:none;pointer-events:none}#game-screen.battle-stage .ring-wall-action{background:radial-gradient(circle at 40% 30%,#fff7d9,#d9b277);border-radius:50%}#game-screen.battle-stage .ring-compact .ring-cost{font-size:12px;min-width:30px;padding:1px 4px;bottom:-12px}#game-screen.battle-stage .ring-menu.ring-compact .ring-label{top:0;transform:translate(-50%,-50%);display:grid;place-items:center;width:calc(var(--r)*1.12);height:calc(var(--r)*1.12);padding:4px;border-radius:50%;white-space:normal;overflow:hidden}#game-screen.battle-stage .ring-menu.ring-compact .ring-label strong{font-size:11px;line-height:1.15}#game-screen.battle-stage .ring-menu.ring-compact .ring-label small{display:none}#game-screen.battle-stage .ring-compact .ring-build .ring-art,#game-screen.battle-stage .ring-compact .ring-spec .ring-art{width:35px!important;height:35px!important}.wall-control-art{width:30px;height:30px;pointer-events:none}#game-screen.battle-stage .world-loading{z-index:40;background:radial-gradient(circle,#2d4430,#142017)}#game-screen.battle-stage .world-loading strong{font-family:var(--hud-font);font-weight:400;font-size:30px;color:#fff3d1}@media(orientation:portrait)and (max-width:900px){#game-screen.battle-stage .hud-top-center{top:calc(118px + var(--safe-t));width:88vw}#game-screen.battle-stage .hud-mission{display:none}}@keyframes rotate-phone{0%,30%{transform:rotate(0)}60%,to{transform:rotate(-90deg)}}@media(max-height:520px){#game-screen.battle-stage .hud-btn{width:44px;height:44px}#game-screen.battle-stage .hud-btn .icon{width:19px;height:19px}#game-screen.battle-stage .speed-button{font-size:16px}#game-screen.battle-stage .resource b{font-size:20px}#game-screen.battle-stage .resource.waves b{font-size:17px}#game-screen.battle-stage .resource>.icon,#game-screen.battle-stage .resource>.inline-art{width:22px;height:22px}#game-screen.battle-stage .hud-plate{padding:4px 10px 4px 6px}#game-screen.battle-stage .hud-mission{display:none}#game-screen.battle-stage .hero-power,#game-screen.battle-stage .hero-power .hero-avatar{width:64px;height:64px}#game-screen.battle-stage .hero-power .hero-meta strong{font-size:12px}#game-screen.battle-stage .ability-button{width:52px;height:52px}#game-screen.battle-stage .ability-button .ability-symbol .icon{width:24px;height:24px}#game-screen.battle-stage .ability-button kbd{display:none}#game-screen.battle-stage .zoom-controls{display:flex;padding:0;border:0;background:none;box-shadow:none}#game-screen.battle-stage .zoom-controls button:not([data-action=wall-open]){display:none}#game-screen.battle-stage .ring-btn{width:52px;height:52px}#game-screen.battle-stage .ring-build .ring-art,#game-screen.battle-stage .ring-spec .ring-art{width:42px!important;height:42px!important}#game-screen.battle-stage .wave-call-button{width:58px;height:58px}#game-screen.battle-stage .wave-call-icon{width:36px;height:36px}#game-screen.battle-stage .hud-top-center{width:min(340px,44vw)}#game-screen.battle-stage .boss-panel,#game-screen.battle-stage .mission-objective{padding:5px 10px}#game-screen.battle-stage .mission-objective p{display:none}#game-screen.battle-stage .tutorial-panel{bottom:calc(76px + var(--safe-b));width:min(460px,56vw);padding:5px 9px;gap:8px}#game-screen.battle-stage .tutorial-panel strong{font-size:14px;line-height:1.2}#game-screen.battle-stage .tutorial-panel p{font-size:11px;line-height:1.35}#game-screen.battle-stage .tutorial-number{font-size:12px;padding:4px 6px;white-space:nowrap}#game-screen.battle-stage .map-notice{top:calc(64px + var(--safe-t));font-size:12px}#game-screen.battle-stage .info-drawer{top:calc(60px + var(--safe-t));bottom:calc(10px + var(--safe-b))}}@media(hover:none){#game-screen.battle-stage .ability-button .ability-text{display:none}}html.large-text #game-screen.battle-stage .hud,html.large-text #game-screen.battle-stage .tutorial-panel,html.large-text #game-screen.battle-stage .info-drawer{scale:1.18}html.large-text #game-screen.battle-stage .hud-top-left{transform-origin:top left}html.large-text #game-screen.battle-stage .hud-top-right,html.large-text #game-screen.battle-stage .info-drawer{transform-origin:top right}html.large-text #game-screen.battle-stage .power-bar{transform-origin:bottom left}html.large-text #game-screen.battle-stage .zoom-controls{transform-origin:bottom right}html.large-text #game-screen.battle-stage .hud-top-center{transform-origin:top center}html.large-text #game-screen.battle-stage .hud-bottom-center,html.large-text #game-screen.battle-stage .tutorial-panel{transform-origin:bottom center}html.large-text #game-screen.battle-stage .ring-menu,html.large-text #game-screen.battle-stage .wave-call{scale:1.15;transform-origin:0 0}@media(prefers-reduced-motion:reduce){#game-screen.battle-stage .wave-call-button,#game-screen.battle-stage .ability-button.ready,#game-screen.battle-stage .ring-btn,#game-screen.battle-stage .flying-coin{animation:none!important}}#game-screen.battle-stage .ring-tower .ring-label{top:calc(var(--r) + 56px)}#game-screen.battle-stage .ring-skill{background:radial-gradient(circle at 40% 30%,#fffbe8,#ffe08a 55%,#d2961f)}#game-screen.battle-stage .ring-skill.maxed{background:radial-gradient(circle at 40% 30%,#fffbe8,#bfe6a2 55%,#5e9a43)}#game-screen.battle-stage .skill-glyph{font-size:24px;line-height:1;color:var(--hud-ink);margin-top:-6px}#game-screen.battle-stage .skill-pips{position:absolute;top:-9px;left:50%;transform:translate(-50%);display:flex;gap:3px}#game-screen.battle-stage .skill-pips i{width:9px;height:9px;border-radius:50%;border:2px solid var(--hud-ink);background:#5b4026}#game-screen.battle-stage .skill-pips i.on{background:#ffd45c;box-shadow:0 0 6px #ffd45c}#game-screen.battle-stage .skill-list{margin:12px 0 8px;display:grid;gap:8px}#game-screen.battle-stage .skill-row{display:flex;align-items:center;gap:10px;padding:8px;border:2px solid #2a1b1044;border-radius:12px;background:#fff8e488}#game-screen.battle-stage .skill-row .skill-glyph{display:grid;place-items:center;width:36px;height:36px;margin:0;border-radius:50%;border:2.5px solid var(--hud-ink);background:radial-gradient(circle at 40% 30%,#fffbe8,#ffd45c 60%,#c98a1c);font-size:18px}#game-screen.battle-stage .skill-row strong{display:block;font-family:var(--hud-font);font-weight:400;font-size:15px;color:var(--hud-ink)}#game-screen.battle-stage .skill-row small{display:block;font-size:11.5px;color:#5b4026}#game-screen.battle-stage .skill-row>span:nth-child(2){flex:1}#game-screen.battle-stage .skill-buy{font-family:var(--hud-font);font-size:15px;padding:5px 10px;color:#fff6dc;background:linear-gradient(180deg,#ffd45c,#c98a1c);border:2.5px solid var(--hud-ink);border-radius:10px;box-shadow:0 3px #0004;text-shadow:0 1px 0 #7a4d0e}#game-screen.battle-stage .skill-buy:disabled{filter:grayscale(.7)}.encounter-art{width:96px;height:100px;margin:8px auto}.encounter-art .art-portrait{width:100%;height:100%}.encounter-name{text-align:center;font-family:Lilita One,sans-serif;font-size:25px}@media(max-height:480px){.encounter-art{float:left;margin:0 18px 4px 0;width:78px;height:85px}.encounter-name{text-align:left;margin:8px 0}}#game-screen.battle-stage .ring-menu.ring-compact .ring-btn{width:var(--ring-button,44px);height:var(--ring-button,44px)}#game-screen.battle-stage .drawer-close{min-width:44px;min-height:44px}@media(orientation:portrait)and (max-width:600px){#game-screen.battle-stage .hud-top-left{left:calc(12px + var(--safe-l));right:calc(12px + var(--safe-r));max-width:none}#game-screen.battle-stage .hud-top-left .hud-plate{padding:4px 8px;width:100%;justify-content:space-around}#game-screen.battle-stage .resource{padding:0 3px;gap:4px}#game-screen.battle-stage .resource+.resource{padding-left:8px}#game-screen.battle-stage .resource b{font-size:20px}#game-screen.battle-stage .resource.waves b{font-size:17px}#game-screen.battle-stage .resource>.icon,#game-screen.battle-stage .resource>.inline-art{width:22px;height:22px}#game-screen.battle-stage .hud-top-right{top:calc(62px + var(--safe-t));right:calc(12px + var(--safe-r));gap:8px}#game-screen.battle-stage .hud-top-right .hud-btn{width:44px;height:44px}#game-screen.battle-stage .power-bar{bottom:calc(82px + var(--safe-b));left:calc(12px + var(--safe-l));right:calc(12px + var(--safe-r));width:auto;gap:10px;align-items:flex-end}#game-screen.battle-stage .hero-power,#game-screen.battle-stage .hero-power .hero-avatar{width:64px;height:64px}#game-screen.battle-stage .hero-power .hero-meta strong{font-size:12px}#game-screen.battle-stage .abilities{display:grid;grid-template-columns:repeat(3,minmax(44px,1fr));gap:8px;flex:1;min-width:0}#game-screen.battle-stage .ability-button{width:48px;height:48px;justify-self:center}#game-screen.battle-stage .ability-button .ability-symbol{width:40px;height:40px}#game-screen.battle-stage .ability-button .ability-symbol canvas,#game-screen.battle-stage .ability-button .ability-symbol img{width:100%;height:100%}#game-screen.battle-stage .ability-button kbd,#game-screen.battle-stage .ability-button .ability-description{display:none}#game-screen.battle-stage .zoom-controls{bottom:calc(12px + var(--safe-b));gap:6px}#game-screen.battle-stage .zoom-controls button{width:44px;height:44px}#game-screen.battle-stage .tutorial-panel{bottom:calc(220px + var(--safe-b));width:calc(100% - 24px);font-size:11px}#game-screen.battle-stage .tutorial-panel p{font-size:11px}#game-screen.battle-stage .info-drawer{top:calc(122px + var(--safe-t));bottom:calc(220px + var(--safe-b));right:12px;width:calc(100% - 24px)}}@media(orientation:portrait)and (max-width:600px){html.large-text #game-screen.battle-stage .hud,html.large-text #game-screen.battle-stage .tutorial-panel,html.large-text #game-screen.battle-stage .info-drawer{scale:1}html.large-text #game-screen.battle-stage .resource b{font-size:24px}html.large-text #game-screen.battle-stage .resource.waves b{font-size:20px}html.large-text #game-screen.battle-stage .hud-top-right .hud-btn{width:48px;height:48px}html.large-text #game-screen.battle-stage .hero-power,html.large-text #game-screen.battle-stage .hero-power .hero-avatar{width:72px;height:72px}html.large-text #game-screen.battle-stage .hero-power .hero-meta strong{font-size:14px}html.large-text #game-screen.battle-stage .ability-button{width:52px;height:52px}html.large-text #game-screen.battle-stage .zoom-controls button{width:48px;height:48px}}#game-screen .flight-trail{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}#game-screen .flight-trail path{fill:none;stroke:#b48cff;stroke-width:5;stroke-linecap:round;stroke-dasharray:.5 13;filter:drop-shadow(0 0 1.5px #2b1660) drop-shadow(0 0 1px #2b1660);animation:flight-trail 1.1s linear infinite}@keyframes flight-trail{to{stroke-dashoffset:-13.5}}@media(prefers-reduced-motion:reduce){#game-screen .flight-trail path{animation:none}}.battle-camera-v19{position:absolute;inset:0;pointer-events:none;z-index:5}.battle-camera-v19[hidden]{display:none}#game-screen .camera-clipped-v19{visibility:hidden!important;pointer-events:none!important}.battle-camera-v19 button{pointer-events:auto;min-width:44px;min-height:44px;padding:3px 9px;color:#fff3d1;background:#574029ec;border:2px solid #251e24;border-radius:12px;box-shadow:inset 0 1px #f4ce83,0 3px #251e2455;font-family:var(--hud-font);font-size:22px;touch-action:manipulation}.battle-camera-entries{position:absolute;top:calc(119px + var(--safe-t));left:calc(8px + var(--safe-l));right:calc(8px + var(--safe-r));display:flex;justify-content:space-between;gap:4px}.battle-camera-entries .flying{background:#514466ee;color:#e7d6ff}.battle-camera-pan{position:absolute;top:53%;left:calc(5px + var(--safe-l));right:calc(5px + var(--safe-r));display:flex;justify-content:space-between}.battle-camera-pan button{font-size:30px;background:#574029bb}@media(orientation:portrait)and (max-width:600px){#game-screen.battle-stage .hud-mission{max-width:calc(100vw - 220px);padding:3px 7px}#game-screen.battle-stage .hud-mission span{font-size:9px;letter-spacing:.4px}#game-screen.battle-stage .hud-mission strong{font-size:12px}#game-screen.battle-stage .hud-top-center{top:calc(166px + var(--safe-t));width:calc(100% - 108px)}#game-screen.battle-stage .boss-panel,#game-screen.battle-stage .mission-objective{padding:4px 7px;font-size:10px}#game-screen.battle-stage .boss-panel strong,#game-screen.battle-stage .mission-objective strong{font-size:12px}#game-screen.battle-stage .mission-objective p{display:none}#game-screen.battle-stage .mission-objective button{min-height:44px;font-size:12px;margin-top:3px}#game-screen.battle-stage .ability-gap{display:none}#game-screen.battle-stage .tutorial-panel{bottom:calc(198px + var(--safe-b));padding:5px 8px;max-height:90px;overflow:auto}#game-screen.battle-stage .hud-bottom-center{bottom:calc(12px + var(--safe-b));left:12px;transform:none;max-width:calc(100% - 220px)}#game-screen.battle-stage .map-hint{font-size:10px;padding:5px 8px;white-space:normal}#game-screen.battle-stage .map-notice{top:calc(116px + var(--safe-t));font-size:11px;padding:5px 8px;max-width:70vw;pointer-events:none}}@media(orientation:landscape)and (max-height:430px){#game-screen.battle-stage .hud-mission{display:none}#game-screen.battle-stage .hud-top-center{top:calc(65px + var(--safe-t));width:min(290px,38vw)}#game-screen.battle-stage .hud-top-center .boss-panel,#game-screen.battle-stage .hud-top-center .mission-objective{padding:3px 7px}#game-screen.battle-stage .hud-top-center .mission-objective p,#game-screen.battle-stage .hud-top-center .boss-panel small{display:none}#game-screen.battle-stage .mission-objective button{min-height:44px;min-width:44px;padding:3px 8px;font-size:12px}}@media(min-width:601px)and (max-width:1100px)and (min-height:431px){#game-screen.battle-stage .hud-mission{display:none}#game-screen.battle-stage .hud-top-center{top:calc(74px + var(--safe-t));width:min(480px,65vw)}#game-screen.battle-stage .mission-objective p{display:none}#game-screen.battle-stage .boss-panel,#game-screen.battle-stage .mission-objective{padding:5px 9px}#game-screen.battle-stage .mission-objective button{min-height:44px}}.menu-shell{--m-ink:#2a1b10;--m-wood:#6e4627;--m-wood-hi:#a87444;--m-wood-lo:#43291a;--m-parch:#f6e6bf;--m-parch-lo:#e2c88f;--m-gold:#ffd45c;--m-green:#5fb46f;--m-green-lo:#2f7344;--m-font:"Lilita One","Manrope",system-ui,sans-serif;position:fixed;inset:0;z-index:5;overflow:hidden;background:#1d2a1f;color:var(--m-ink);font-family:Manrope,system-ui,sans-serif;padding:env(safe-area-inset-top,0) env(safe-area-inset-right,0) env(safe-area-inset-bottom,0) env(safe-area-inset-left,0)}.menu-shell[hidden]{display:none}body:has(#home-screen:not([hidden])) .app-footer{display:none}.app-shell:has(#home-screen:not([hidden])){padding:0;background:#1d2a1f;box-shadow:none}.menu-backdrop{position:absolute;inset:0;width:100%;height:100%;display:block}.menu-shade{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 42%,#0000 0 32%,#1a120a8c)}.menu-shell .round-button{width:46px;height:46px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;border:3px solid var(--m-ink);background:radial-gradient(circle at 40% 30%,var(--m-wood-hi),var(--m-wood) 60%,var(--m-wood-lo));color:#fde9bd;font-size:20px;box-shadow:inset 0 2px #ffffff40,0 4px #0000005c;cursor:pointer}.menu-shell .round-button .icon{width:22px;height:22px;color:#fde9bd}.menu-shell .round-button:hover{filter:brightness(1.1)}.menu-shell .round-button:active{transform:translateY(2px);box-shadow:inset 0 2px #ffffff40,0 2px #0000005c}.title-page{position:absolute;inset:0;display:none;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:16px;text-align:center}.menu-shell[data-page=title] .title-page{display:flex}.title-plate{position:relative;padding:22px 46px 18px;border:4px solid var(--m-ink);border-radius:22px;background:linear-gradient(180deg,var(--m-wood-hi),var(--m-wood) 55%,var(--m-wood-lo));box-shadow:inset 0 3px #ffffff3d,inset 0 -5px #00000040,0 10px #00000059,0 22px 40px #0000006b;color:#fff1cf}.title-plate h1{margin:0;font-family:var(--m-font);font-weight:400;font-size:clamp(24px,min(6.4vw,10vh),64px);line-height:1;letter-spacing:1px;text-shadow:0 4px 0 #2a1b10,0 0 18px #00000059}.title-plate h1 b{color:var(--m-gold);font-weight:400}.title-plate p{margin:8px 0 0;font-family:var(--m-font);font-size:clamp(14px,2.2vw,22px);letter-spacing:4px;text-transform:uppercase;color:#f2d9a6;text-shadow:0 2px 0 #2a1b10}.title-crest{position:absolute;left:50%;top:-34px;transform:translate(-50%);width:62px;height:62px;display:grid;place-items:center;border-radius:50%;border:4px solid var(--m-ink);background:radial-gradient(circle at 40% 30%,#fff3c4,#e6b04f 60%,#9b6420);box-shadow:0 5px #00000059}.title-crest .inline-art,.title-crest .icon{width:40px;height:40px}.menu-shell .hero-cta{min-width:220px;min-height:62px;padding:12px 34px;font-family:var(--m-font);font-weight:400;font-size:28px;letter-spacing:1px;color:#fff6dc;border:4px solid var(--m-ink);border-radius:18px;background:linear-gradient(180deg,#8fdc8f,var(--m-green) 45%,var(--m-green-lo));box-shadow:inset 0 3px #ffffff70,inset 0 -4px #1d4a2a,0 7px #0006;text-shadow:0 3px 0 #1e4428;animation:menu-breathe 2.6s ease-in-out infinite}.menu-shell .hero-cta .icon,.menu-shell .hero-cta .inline-art{width:26px;height:26px}.menu-shell .hero-cta:hover{filter:brightness(1.08)}@keyframes menu-breathe{50%{transform:scale(1.04)}}.title-actions{display:flex;gap:12px;align-items:center}#home-screen.menu-shell .title-page .resume-battle{max-width:min(560px,92vw);margin:0;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 10px 8px 14px;border:3px solid var(--m-ink)!important;border-radius:14px!important;background:linear-gradient(180deg,var(--m-parch),var(--m-parch-lo))!important;box-shadow:0 5px #00000059!important;text-align:left}#home-screen.menu-shell .title-page .resume-battle[hidden]{display:none}#home-screen.menu-shell .title-page .resume-battle div{display:grid;gap:1px}#home-screen.menu-shell .title-page .resume-battle .eyebrow{font-size:10px;letter-spacing:1.5px;color:#7a5a2c}#home-screen.menu-shell .title-page .resume-battle strong{display:block;font-family:var(--m-font);font-weight:400;font-size:17px;color:var(--m-ink)}#home-screen.menu-shell .title-page .resume-battle small{font-size:11px;color:#5b4026}#home-screen.menu-shell .title-page .resume-battle .primary-button{min-height:42px;padding:6px 14px;font-family:var(--m-font);font-weight:400;font-size:16px;white-space:nowrap;border:3px solid var(--m-ink);border-radius:12px;background:linear-gradient(180deg,#8fdc8f,var(--m-green) 45%,var(--m-green-lo));box-shadow:0 4px #00000059;color:#fff6dc}.title-version{position:absolute;bottom:12px;left:0;right:0;font-size:12px;font-weight:700;color:#f6e6bfcc;text-shadow:0 1px 2px #000}.map-page{position:absolute;inset:env(safe-area-inset-top,0) env(safe-area-inset-right,0) env(safe-area-inset-bottom,0) env(safe-area-inset-left,0);display:none;grid-template-rows:auto minmax(0,1fr) auto;background:radial-gradient(ellipse at 50% 40%,#3a4b2c,#1d2a1f 75%)}.menu-shell[data-page=map] .map-page{display:grid}.menu-shell[data-page=map] .menu-backdrop,.menu-shell[data-page=map] .menu-shade{display:none}.map-top{display:flex;align-items:center;gap:10px;padding:8px 12px;background:linear-gradient(180deg,var(--m-wood),var(--m-wood-lo));border-bottom:4px solid var(--m-ink);box-shadow:0 4px #00000040;z-index:2}.era-tabs{flex:1;display:flex;gap:6px;justify-content:safe center;min-width:0;overflow-x:auto;scrollbar-width:none}.era-tab{display:flex;align-items:center;gap:7px;padding:4px 12px 4px 4px;border:3px solid var(--m-ink);border-radius:30px;background:linear-gradient(180deg,#8a5a33,#5a3720);color:#f8dfae;cursor:pointer;flex:0 0 auto;box-shadow:0 3px #00000059}.era-tab.selected{background:linear-gradient(180deg,var(--m-parch),var(--m-parch-lo));color:var(--m-ink);box-shadow:0 0 0 2px var(--era-accent),0 3px #00000059}.era-tab.locked{filter:grayscale(.8) brightness(.75);cursor:not-allowed}.era-medal{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;border:2px solid var(--m-ink);background:radial-gradient(circle at 40% 30%,#fff1c4,var(--era-accent));font-family:var(--m-font);font-size:13px;color:var(--m-ink)}.era-medal .icon{width:15px;height:15px}.era-tab-text{display:grid;text-align:left;line-height:1.05}.era-tab-text strong{font-family:var(--m-font);font-weight:400;font-size:14px}.era-tab-text small{font-size:10px;font-weight:700;opacity:.85}.map-wallet{display:flex;gap:8px}.map-wallet span{display:flex;align-items:center;gap:5px;padding:4px 10px 4px 6px;border:3px solid var(--m-ink);border-radius:20px;background:#2a1b10b3;color:#fff0c8;font-family:var(--m-font);font-size:15px}.map-wallet .inline-art,.map-wallet .icon{width:20px;height:20px}.world-map{position:relative;min-height:0;display:grid;place-items:center;padding:10px calc(min(300px,34vw) + 34px) 10px 12px}.world-frame{position:relative;width:min(100%,calc((100vh - 170px)*1.6667));aspect-ratio:1200/720;max-height:100%;border:5px solid var(--m-ink);border-radius:16px;overflow:hidden;box-shadow:0 0 0 4px var(--m-wood),0 10px 0 4px #00000059,0 18px 40px #00000080}.world-frame canvas{position:absolute;inset:0;width:100%;height:100%;display:block}.mission-flags{position:absolute;inset:0}.mission-flag{position:absolute;width:64px;height:84px;transform:translate(-50%,-88%);border:0;padding:0;background:none;cursor:pointer;filter:drop-shadow(0 4px 0 #00000059)}.flag-pole{position:absolute;left:13px;top:6px;bottom:8px;width:5px;border-radius:3px;background:linear-gradient(90deg,#5a3720,#a87444);border:1px solid var(--m-ink)}.flag-cloth{position:absolute;left:17px;top:6px;width:42px;height:32px;display:grid;place-items:center;border:3px solid var(--m-ink);border-left:0;border-radius:0 8px 8px 0;background:linear-gradient(180deg,#e5574c,#a52f2a);color:#fff2d2;font-family:var(--m-font);font-size:19px;text-shadow:0 2px 0 #4a1310;clip-path:polygon(0 0,100% 0,82% 50%,100% 100%,0 100%);transform-origin:left center;animation:flag-wave 2.4s ease-in-out infinite}.flag-cloth .icon{width:15px;height:15px;color:#fff2d2}.mission-flag.won .flag-cloth{background:linear-gradient(180deg,#f2c75a,#b97d1d);text-shadow:0 2px 0 #5a3a0a}.mission-flag.special .flag-cloth{background:linear-gradient(180deg,#61b7c9,#2d6f86)}.mission-flag.final .flag-cloth{background:linear-gradient(180deg,#9b6ad1,#5b3592)}.mission-flag.chief .flag-cloth{background:linear-gradient(180deg,#d07a3a,#8a4317)}.mission-flag.locked{cursor:not-allowed;filter:grayscale(1) brightness(.7) drop-shadow(0 4px 0 #00000059)}.mission-flag.locked .flag-cloth{animation:none}.mission-flag.selected .flag-cloth{box-shadow:0 0 0 3px #fff3c4;animation-duration:1.2s}.mission-flag.selected:after{content:"";position:absolute;left:15px;bottom:2px;width:34px;height:12px;transform:translate(-50%);margin-left:0;border-radius:50%;border:3px solid #fff3c4;animation:flag-ring 1.2s ease-out infinite}@keyframes flag-wave{50%{transform:skewY(-4deg) scaleX(.94)}}@keyframes flag-ring{0%{opacity:1;transform:translate(-50%) scale(.6)}to{opacity:0;transform:translate(-50%) scale(1.5)}}.flag-stars{position:absolute;left:0;bottom:0;width:36px;display:flex;justify-content:center;gap:0;font-size:13px;line-height:1;color:#3a2c1c;text-shadow:0 1px 0 #ffffff60}.flag-stars i{font-style:normal}.flag-stars i.earned{color:var(--m-gold);text-shadow:0 0 2px #2a1b10,0 1px 0 #2a1b10}.flag-name{position:absolute;left:50%;top:100%;transform:translate(-50%);margin-top:2px;white-space:nowrap;padding:2px 8px;border-radius:8px;background:#2a1b10cc;color:#fff2d2;font-size:11px;font-weight:800;opacity:0;pointer-events:none;transition:.15s}.mission-flag:hover .flag-name,.mission-flag.selected .flag-name,.mission-flag:focus-visible .flag-name{opacity:1}.chapter-banner{padding:0 0 6px;border-bottom:2px dashed #b99b62}.mission-sheet .chapter-banner p{max-height:none;overflow:visible}.chapter-banner strong{display:block;font-family:var(--m-font);font-weight:400;font-size:18px}.chapter-banner .chapter-stars{display:flex;align-items:center;gap:4px;font-weight:800;font-size:13px}.chapter-banner .chapter-stars .inline-art{width:16px;height:16px}.chapter-banner .chapter-gate{margin:4px 0 0;font-size:11px;line-height:1.3;color:#5b4026}.mission-sheet{position:absolute;right:18px;top:64px;bottom:76px;margin:auto 0;height:max-content;max-height:calc(100% - 140px);overflow:auto;align-content:start;width:min(300px,34vw);display:grid;gap:8px;padding:12px;border:4px solid var(--m-ink);border-radius:16px;background:linear-gradient(180deg,var(--m-parch),var(--m-parch-lo));box-shadow:0 6px #00000059,0 18px 30px #00000059;z-index:2}.mission-sheet .mission-thumb{width:100%;max-height:24vh;object-fit:contain;aspect-ratio:320/190;height:auto;border:3px solid var(--m-ink);border-radius:10px;background:#7d9a5c}.mission-sheet strong{font-family:var(--m-font);font-weight:400;font-size:20px;line-height:1.1}.mission-sheet p{margin:0;font-size:12px;line-height:1.4;color:#4b3520;max-height:7.2em;overflow:auto}.mission-sheet .mission-stars{display:flex;gap:3px;font-size:20px;color:#9a8662}.mission-sheet .mission-stars i{font-style:normal}.mission-sheet .mission-stars i.earned{color:var(--m-gold);text-shadow:0 0 2px #2a1b10}.mission-sheet .challenge-badge{font-size:14px;margin-left:4px;color:#7b4b9a}.menu-shell .map-play{min-height:52px;font-family:var(--m-font);font-weight:400;font-size:22px;color:#fff6dc;border:4px solid var(--m-ink);border-radius:14px;background:linear-gradient(180deg,#8fdc8f,var(--m-green) 45%,var(--m-green-lo));box-shadow:inset 0 3px #ffffff70,0 5px #0006;text-shadow:0 2px 0 #1e4428}.map-bottom{display:flex;justify-content:center;gap:10px;padding:8px 12px;background:linear-gradient(180deg,var(--m-wood),var(--m-wood-lo));border-top:4px solid var(--m-ink)}.map-bottom button{display:flex;align-items:center;gap:7px;min-height:48px;padding:6px 16px 6px 8px;border:3px solid var(--m-ink);border-radius:26px;background:linear-gradient(180deg,var(--m-parch),var(--m-parch-lo));color:var(--m-ink);font-family:var(--m-font);font-size:16px;box-shadow:inset 0 2px #ffffff80,0 4px #00000059;cursor:pointer}.map-bottom button .inline-art,.map-bottom button .icon{width:30px;height:30px}.map-bottom button:hover{filter:brightness(1.06)}.menu-panel{position:absolute;inset:3% 4%;z-index:6;display:grid;grid-template-rows:auto 1fr;border:5px solid var(--m-ink);border-radius:18px;background:var(--m-parch);box-shadow:0 0 0 100vmax #0000008c,0 12px #00000059}.menu-panel[hidden]{display:none}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:8px 14px;background:linear-gradient(180deg,var(--m-wood),var(--m-wood-lo));border-bottom:4px solid var(--m-ink);border-radius:12px 12px 0 0}.panel-head h2{margin:0;font-family:var(--m-font);font-weight:400;font-size:24px;color:#fff1cf;text-shadow:0 3px 0 #2a1b10}.panel-body{overflow:auto;padding:14px 18px;-webkit-overflow-scrolling:touch}.panel-body [hidden]{display:none}.panel-body .progression-dashboard{margin:0}@media(max-height:520px),(max-width:820px){.map-top{padding:5px 8px;gap:6px}.menu-shell .round-button{width:44px;height:44px;font-size:16px}.era-tab{padding:2px 8px 2px 2px}.era-tab-text small{display:none}.era-tab-text strong{font-size:12px}.era-medal{width:24px;height:24px}.map-wallet span{font-size:12px;padding:2px 8px 2px 4px}.world-map{padding:6px calc(min(230px,38vw) + 18px) 6px 6px}.era-tab:not(.selected) .era-tab-text{display:none}.era-tab:not(.selected){padding:2px}.world-frame{width:min(100%,calc((100vh - 120px)*1.6667));border-width:3px}.chapter-banner{display:none}#home-screen.menu-shell .mission-sheet{right:8px;width:min(230px,38vw);min-width:0;grid-template-columns:minmax(0,1fr);gap:3px;padding:7px}#home-screen.menu-shell .mission-sheet>*{min-width:0}#home-screen.menu-shell .mission-sheet .mission-thumb,#home-screen.menu-shell .mission-sheet p{display:none}#home-screen.menu-shell .mission-sheet strong{font-size:14px}#home-screen.menu-shell .mission-sheet .mission-stars{font-size:15px}.title-version{display:none}.menu-shell .map-play{min-height:44px;min-width:0;padding:6px 8px;font-size:17px;gap:5px}.map-bottom{gap:6px;padding:5px 8px}.map-bottom button{min-height:44px;padding:3px 10px 3px 4px;font-size:13px}.map-bottom button .inline-art,.map-bottom button .icon{width:22px;height:22px}.mission-flag{width:48px;height:64px}.flag-cloth{left:13px;width:32px;height:25px;font-size:15px}.flag-pole{left:10px}.flag-stars{width:28px;font-size:10px}.title-page{gap:10px;padding-top:30px}.title-plate{padding:14px 28px 10px}.title-plate p{letter-spacing:2px}.title-crest{width:46px;height:46px;top:-26px}.title-crest .inline-art,.title-crest .icon{width:28px;height:28px}.menu-shell .hero-cta{min-height:46px;font-size:21px;padding:6px 26px}.title-actions .round-button{width:44px;height:44px}.title-version{bottom:4px;font-size:10px}.menu-panel{inset:2%}}@media(max-height:640px)and (min-height:521px)and (min-width:821px){#home-screen.menu-shell .mission-sheet .mission-thumb{display:none}#home-screen.menu-shell .mission-sheet p{max-height:4.4em}}#home-screen.menu-shell .mission-sheet .map-play{position:sticky;bottom:0;z-index:1}@media(max-width:600px)and (orientation:portrait){.map-page{grid-template-rows:auto minmax(0,1fr) auto auto}.map-top{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:5px 8px;padding:6px 8px}.map-top>.round-button:first-child{grid-column:1;grid-row:1}.map-top>.round-button:last-child{grid-column:3;grid-row:1}.era-tabs{grid-column:2;grid-row:1;justify-content:flex-start;padding:2px}.era-tab{min-width:44px;min-height:44px;justify-content:center}.era-tab.selected{padding:2px 8px 2px 4px}.era-tab:not(.selected){padding:2px}.map-wallet{grid-column:1/-1;grid-row:2;justify-content:center;min-width:0;gap:6px}.map-wallet span{min-width:0;padding:3px 8px;font-size:13px;white-space:nowrap}.world-map{padding:12px 10px 16px;min-width:0}.world-frame{width:100%;border-width:3px;border-radius:12px}#home-screen.menu-shell .mission-sheet{position:static;inset:auto;width:auto;height:auto;max-height:none;overflow:visible;margin:0 8px 10px;gap:5px;padding:8px;grid-template-columns:minmax(0,1fr);border-width:3px;border-radius:12px;box-shadow:0 5px #00000059}#home-screen.menu-shell .mission-sheet strong{font-size:17px;line-height:1.15;overflow-wrap:anywhere}#home-screen.menu-shell .mission-sheet .mission-stars{font-size:17px;line-height:1}#home-screen.menu-shell .mission-sheet .map-play{position:static;min-height:48px;width:100%;padding:6px 10px;font-size:20px;justify-content:center}.map-bottom{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:6px 8px 8px;min-width:0}.map-bottom button{min-width:0;min-height:52px;flex-direction:column;justify-content:center;gap:2px;padding:3px;border-radius:13px;font-size:13px;line-height:1.15;text-align:center}.map-bottom button span{min-width:0;overflow-wrap:anywhere}.map-bottom button .inline-art,.map-bottom button .icon{width:22px;height:22px;flex:none}.large-text #home-screen.menu-shell .mission-sheet strong{font-size:20px}.large-text #home-screen.menu-shell .mission-sheet .map-play{font-size:23px;min-height:52px}.large-text .map-wallet span{font-size:15px}.large-text .map-bottom button{font-size:16px;min-height:56px}}@media(prefers-reduced-motion:reduce){.menu-shell .hero-cta,.flag-cloth,.mission-flag.selected:after{animation:none!important}}.item-level{display:flex;gap:2px;font-size:15px;line-height:1;color:#b8a57d}.item-level i{font-style:normal}.item-level i.on{color:#f1b62c;text-shadow:0 0 1px #2a1b10}.prog-sets{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;margin:12px 0}.prog-set{padding:10px 12px}.prog-set h4{margin:0 0 4px}.prog-set p{margin:2px 0;font-size:12px;color:#8b7a5c}.prog-set p.on{color:#2f6b3a;font-weight:800}.prog-set.is-active{box-shadow:inset 0 0 0 2px #e2b04a}.prog-loadout-summary{flex-wrap:wrap}.hero-ultimate-name{display:block;margin-top:6px;color:#6a3f99}.mission-flag{width:44px;height:58px}.mission-flag .flag-pole{left:9px;top:4px;bottom:7px;width:4px}.mission-flag .flag-cloth{left:12px;top:4px;width:29px;height:22px;font-size:13px;border-width:2px}.mission-flag .flag-cloth .icon{width:11px;height:11px}.mission-flag .flag-stars{width:24px;font-size:9px}.mission-flag.selected:after{left:10px;width:24px;height:9px}.mission-flag{width:22px;height:22px;transform:translate(-50%,-50%)}.mission-flag .flag-pole{display:none}.mission-flag .flag-cloth{left:0;top:0;width:22px;height:22px;border:2px solid var(--m-ink);border-radius:50%;clip-path:none;font-size:11px;animation:none}.mission-flag .flag-cloth .icon{width:9px;height:9px}.mission-flag.locked .flag-cloth{transform:scale(.72)}.mission-flag .flag-stars{display:none}.mission-flag.won .flag-stars{display:flex;left:50%;top:100%;bottom:auto;width:auto;transform:translate(-50%);font-size:7px}.mission-flag.final .flag-cloth,.mission-flag.chief .flag-cloth{left:-3px;top:-3px;width:28px;height:28px;font-size:13px}.mission-flag.selected{z-index:2}.mission-flag.selected .flag-cloth{transform:scale(1.3);box-shadow:0 0 0 3px #fff3c4}.mission-flag.selected:after{left:50%;bottom:-6px;width:30px;height:10px}.mission-flag .flag-name{margin-top:8px}.battle-report{margin:14px 0 4px;text-align:left;font-size:12px}.battle-report summary{cursor:pointer;font-weight:700;letter-spacing:.4px;padding:8px 0;list-style-position:inside}.battle-report-rows{display:grid;gap:6px;margin-top:4px}.battle-report-row{display:grid;grid-template-columns:minmax(90px,1.3fr) 2fr auto auto;align-items:center;gap:8px}.battle-report-row span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.battle-report-row i{display:block;height:8px;border-radius:4px;background:linear-gradient(90deg,#d79a3a var(--share),#0000001f var(--share))}.battle-report-row b{min-width:34px;text-align:right}.battle-report-row small{opacity:.75;white-space:nowrap}.battle-report-leaks{margin-top:8px;opacity:.85}
