:root{color-scheme:dark;font-family:system-ui,-apple-system,sans-serif;font-size:16px;color:#fff1da;background:#081c30}*{box-sizing:border-box}html,body{margin:0;min-height:100%;overflow:hidden}body{display:grid;place-items:center;height:100dvh;background:radial-gradient(ellipse at 20% 20%,#284d6655,transparent 45%),radial-gradient(ellipse at 85% 70%,#6b719e30,transparent 50%),linear-gradient(#0a1c30,#153b53 55%,#101a2d)}body:before,body:after{content:"";position:fixed;z-index:-1;border-radius:50%;width:60vw;height:30vw;background:#95bdd40a;filter:blur(50px);left:-20vw;top:50vh;transform:rotate(-25deg)}body:after{left:auto;right:-15vw;top:8vh}.arena{position:relative;isolation:isolate;overflow:hidden;width:min(100vw,calc(100dvh * 480 / 860));height:min(100dvh,calc(100vw * 860 / 480));background:#143a52;box-shadow:0 0 80px #0005;touch-action:none;user-select:none;-webkit-user-select:none}canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}.vignette{pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 65px #071d3b55}.hud{position:absolute;top:max(18px,env(safe-area-inset-top));left:21px;right:21px;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none;text-shadow:0 2px 9px #09203e}.tiny{display:block;letter-spacing:2px;font-size:.65rem;color:#c9e0e3}.score-box strong{font-size:2rem;line-height:1.1;display:block;font-weight:650;font-variant-numeric:tabular-nums}.best{font-size:.65rem;display:block;margin-top:5px;letter-spacing:1px;color:#b2cbd4}.hud-right{text-align:right}.hearts{letter-spacing:2px;color:#f8c4a3;font-size:1.15rem;white-space:nowrap}.hearts .lost{color:#d1dee037}.hud-actions{display:flex;align-items:center;gap:12px;justify-content:flex-end;margin-top:5px}.coins{font-size:1rem;font-variant-numeric:tabular-nums;display:flex;gap:5px;align-items:center}.coins>span{color:#eec375;font-size:.85rem}.coins b{font-weight:600}.round-button{width:44px;height:44px;border-radius:50%;background:#0c294a99;color:#e1e8dd;font-size:1.1rem;border:1px solid #e5ddb53d;pointer-events:auto;backdrop-filter:blur(8px)}button{font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible{outline:3px solid #fff3bc;outline-offset:4px}button:disabled{cursor:default;opacity:.5}[hidden]{display:none!important}.evo-bar{position:absolute;bottom:23px;left:21px;right:111px;pointer-events:none}.evo-top{display:flex;justify-content:space-between;gap:6px;font-size:.75rem;color:#eeeadd;text-shadow:0 1px 6px #10273c;margin-bottom:8px;align-items:center}.evo-top>span:last-child{font-size:.55rem;letter-spacing:1.3px;color:#bad4da}.energy{height:5px;background:#091d3e66;border-radius:7px;overflow:hidden}.energy>div{height:100%;width:0;background:linear-gradient(90deg,#65c4c8,#d7e6ad);box-shadow:0 0 12px #91dcc2;transition:width .15s}.pulse{position:absolute;bottom:14px;right:17px;width:73px;height:73px;border-radius:50%;border:1px solid #f4df9f88;background:radial-gradient(circle,#41687688,#0c2448c9);color:#fff0c9;display:grid;align-content:center;justify-items:center;gap:1px;box-shadow:0 0 24px #72c8db30;overflow:hidden}.pulse-symbol{font-size:2rem;line-height:1.1}.pulse>span:nth-child(2){font-size:.6rem;letter-spacing:1px;z-index:1}.pulse-sweep{position:absolute;inset:0;border-radius:50%;pointer-events:none;background:#061d3c90;transform-origin:bottom;scale:1 0}.pulse:disabled{opacity:.7}.steer-hint{position:absolute;top:19%;left:0;right:0;text-align:center;font-size:.875rem;color:#d1e2df;text-shadow:0 2px 8px #072546}.steer-hint span{padding:0 8px}.screen{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px}.screen .overline{font-size:.7rem;letter-spacing:3px;color:#d5d9be;margin:0 0 13px}.start-screen{justify-content:space-between;padding-top:15%;background:linear-gradient(#0a254229,transparent 40%,#071b3d77)}.title-block h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.4rem,10vw,3.6rem);font-weight:400;letter-spacing:7px;color:#f6e6c6;margin:0;text-shadow:0 3px 20px #0a203b55}.tagline{font-size:.875rem;color:#c8ddd9;letter-spacing:1.4px;margin:13px 0}.start-bottom{width:100%;padding-bottom:25px}.gold-button{width:100%;max-width:280px;min-height:56px;background:linear-gradient(#f0d38b,#d4aa60);border:1px solid #ffe6a6;border-radius:14px;color:#283d44;font-weight:750;letter-spacing:.5px;box-shadow:0 5px 0 #6a764770,0 12px 30px #05182a50;padding:14px 24px}.gold-button:hover{filter:brightness(1.08)}.gold-button:active{transform:translateY(2px)}.controls-line{font-size:.8rem;color:#d5e2dc;margin:20px 0 0}.controls-line span,.keyboard-line span{padding:0 7px}.keyboard-line{font-size:.65rem;color:#b4cbd2;margin:10px 0 0}.load-status{font-size:.8rem;color:#f5d49b;line-height:1.5;margin:12px auto 0;max-width:280px}.scrim{background:#071b39b8;backdrop-filter:blur(7px)}h2{font-family:Georgia,'Times New Roman',serif;font-size:2.7rem;font-weight:400;margin:0 0 30px;color:#f3e8d4}.pause-content,.over-content{width:100%}.pause-content .gold-button{display:block;margin:0 auto 18px}.quiet-button{display:block;margin:10px auto;padding:12px 18px;min-height:44px;background:transparent;border:0;color:#d2e0d9;font-size:.875rem}.pause-content .controls-line{display:block;font-size:.7rem;margin-top:32px}.evolution-content{width:100%}.evolve-screen{padding:20px 14px;background:#09243ace}.evolution-content h2{font-size:2.2rem;margin-bottom:25px}.choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:440px;margin:auto}.evolution-choice{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0;min-height:265px;padding:12px 8px 18px;border:1px solid #bbdcc75e;border-radius:18px;background:linear-gradient(#183e5755,#173b50dd);color:#e6ede0;box-shadow:0 12px 26px #001b2b33}.evolution-choice:hover{background:#2e5a6cbd;border-color:#e9d197}.evolution-choice canvas{position:relative;inset:auto;width:100%;max-width:180px;height:175px;pointer-events:none}.evolution-choice b{font-family:Georgia,serif;font-size:1.15rem;font-weight:400;display:block;margin-top:7px}.evolution-choice>span{font-size:.75rem;color:#b6d5d5;display:block;margin-top:8px}.final-score{font-size:3.5rem;line-height:1.1;font-weight:500;display:block;font-variant-numeric:tabular-nums;color:#e6d7ac}.over-content h2{margin-bottom:22px}.result-row{display:flex;justify-content:center;gap:16px;margin:18px 0 28px;font-size:.8rem;color:#bcd4d5}.new-best{color:#f1d18e;font-size:.75rem;letter-spacing:3px;margin-bottom:25px}.toast{position:absolute;z-index:3;top:24%;left:12%;right:12%;text-align:center;font-family:Georgia,serif;font-size:1.5rem;color:#f4ebd7;text-shadow:0 3px 13px #082b38;opacity:0;pointer-events:none;transition:opacity .2s}.toast.show{opacity:1}.active-boost{position:absolute;left:21px;bottom:57px;color:#d6f6df;font-size:.7rem;text-transform:uppercase;letter-spacing:1px;text-shadow:0 2px 7px #0c1b31}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@media(min-width:750px){.keyboard-line{font-size:.75rem}.start-screen{padding-top:16%}}@media(max-width:360px){.hud{left:16px;right:16px;top:14px}.score-box strong{font-size:1.6rem}.title-block h1{font-size:2.5rem;letter-spacing:4px}.choices{gap:8px}.evolution-choice{min-height:235px;padding:10px 4px 16px}.evolution-choice canvas{height:145px}.evolution-choice b{font-size:1rem}.evolution-choice>span{font-size:.7rem}.evo-bar{left:16px;right:100px}.pulse{width:66px;height:66px;right:15px}.keyboard-line{font-size:.6rem}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.flight-time{position:absolute;top:24px;left:35%;right:24%;font-size:.75rem;letter-spacing:1px;color:#c6dcde;text-align:center;pointer-events:none;text-shadow:0 2px 8px #072546}.pet-status{position:absolute;top:48px;left:35%;right:24%;font-size:.875rem;color:#efd5a1;text-align:center;pointer-events:none}.skill-strip{position:absolute;left:21px;bottom:65px;display:flex;gap:8px;pointer-events:none}.skill-slot{width:32px;height:32px;border-radius:50%;border:1px dashed #c5d9d04d;color:#c1d5d13b;display:grid;place-items:center;font-size:1.35rem;background:#102a4666}.skill-slot.owned{color:#f9e7b2;border:1px solid #e9d2a5;background:conic-gradient(#7da7a588 calc(var(--charge)*1turn),#102a46aa 0);box-shadow:0 0 12px #d5e6c422}.active-boost{bottom:106px}.evo-top{font-size:.75rem}.evo-top>span:last-child{font-size:.625rem}.evo-bar{right:110px}.steer-hint{font-size:.875rem}.flight-time:empty{display:none}.toast{font-size:1.35rem;top:23%}
.evo-top>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.evo-top>span:last-child{flex-shrink:0}
/* Sanctuary and chapter selection stay outside the flying playfield. */
.secondary-button{display:block;width:100%;max-width:280px;min-height:49px;margin:12px auto 0;border:1px solid #dfd3a677;border-radius:13px;background:#153a56d9;color:#f4e6c4;font-weight:650;padding:12px 15px}.start-bottom{padding-bottom:0}.start-bottom .quiet-button{margin:5px auto;padding:9px 15px}.start-bottom .controls-line{margin-top:9px}.start-bottom .keyboard-line{margin-top:6px}.start-screen{padding-top:11%}.home-wallet{font-size:.75rem;color:#efd395;margin-top:4px}.credit-link{color:#bad0d1;font-size:.65rem;background:none;border:0;min-height:30px;padding:5px 15px}.panel-screen{justify-content:flex-start;background:linear-gradient(#0b233ef2,#173b54ed);text-align:left;padding:20px 18px;gap:14px;touch-action:pan-y}.panel-head{display:flex;align-items:center;width:100%;gap:12px;flex-shrink:0}.panel-head h2{font-size:1.8rem;margin:0}.panel-head .overline{font-size:.55rem;letter-spacing:2px;margin-bottom:6px}.back-button{width:44px;height:44px;flex-shrink:0;border:1px solid #d4dec34d;border-radius:50%;background:#22465b;color:#f5e9c8;font-size:2rem;line-height:1}.bank{font-size:.85rem;white-space:nowrap;margin-left:auto;color:#ecd28b}.panel-intro{font-size:.8rem;color:#c6dad8;line-height:1.5;margin:0;width:100%;flex-shrink:0}.chapter-list,.collection-list{width:100%;display:flex;flex-direction:column;gap:12px;min-height:0;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;padding:3px 4px 12px}.chapter-card{width:100%;text-align:left;display:flex;gap:7px;align-items:center;padding:12px 6px;border:1px solid #b9d8d25c;border-radius:16px;background:linear-gradient(110deg,#345d7199,#15364c);color:#eee8cd;min-height:148px;flex-shrink:0}.chapter-card.complete{border-color:#b4db99}.portrait{position:static;width:94px;height:100px;object-fit:contain;flex-shrink:0;pointer-events:none}.chapter-card span{flex:1;min-width:0}.chapter-card small,.shop-card small{display:block;letter-spacing:1px;color:#e7cb8e;font-size:.58rem;margin-bottom:7px}.chapter-card b{display:block;font-family:Georgia,serif;font-weight:400;font-size:1.4rem}.chapter-card em{font-style:normal;display:block;margin:7px 0;color:#b7d4d5;font-size:.75rem;line-height:1.35}.chapter-card strong{display:block;color:#e5ddac;font-size:.65rem;line-height:1.4;font-weight:500}.tabs{display:flex;gap:6px;width:100%;flex-shrink:0}.tabs button{flex:1;min-height:44px;background:#18374e;color:#c4dad7;border:1px solid #a5cbc13a;border-radius:10px;font-size:.8rem}.tabs button.selected{background:#e7c987;color:#1a3544;border-color:#f7dfa3}.shop-card{display:flex;align-items:center;gap:6px;min-height:142px;padding:10px 6px;background:#103149d9;border:1px solid #b9d8d24d;border-radius:14px;flex-shrink:0}.shop-card.equipped{border-color:#dac58d;background:#3455547d}.shop-card>div{flex:1;min-width:0}.shop-card b,.upgrade-card b,.slot-card b{font-family:Georgia,serif;font-size:1.15rem;font-weight:400;display:block}.shop-card p,.upgrade-card p{font-size:.7rem;color:#c0d8d6;margin:6px 0 10px;line-height:1.4}.shop-card button,.upgrade-card button,.slot-card button{min-height:44px;min-width:85px;border:1px solid #d8c48c99;background:#385764;color:#fff0c6;border-radius:9px;font-size:.73rem;padding:9px 11px}.shop-card button{width:100%}.shop-message{font-size:.75rem;line-height:1.5;color:#e9ce93;margin:0;min-height:18px;flex-shrink:0}.upgrade-card{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:20px 14px;background:#14344b;border:1px solid #afccc34a;border-radius:14px;flex-shrink:0}.slot-card{padding:16px;background:#204957;border:1px solid #cbd8ac55;border-radius:14px;flex-shrink:0;display:grid;gap:10px}.slot-card small{font-size:.7rem;color:#b6d3d1}.slot-card button{width:100%}.boss-bar{position:absolute;top:111px;left:24px;right:24px;pointer-events:none;text-align:center;z-index:2}.boss-bar>span{font-family:Georgia,serif;color:#ffe4b8;font-size:.9rem;text-shadow:0 2px 5px #071a30}.boss-bar>div{height:6px;background:#122940;border:1px solid #e2b17970;margin-top:7px;border-radius:10px;overflow:hidden}.boss-bar i{display:block;height:100%;background:linear-gradient(90deg,#ca6e63,#f2c383);width:100%}.pet-status{font-size:.55rem;top:53px;left:29%;right:24%;line-height:1.5}.result-row{flex-direction:column;gap:7px;margin:16px 0 22px}.credits-copy{font-size:.85rem;line-height:1.6;overflow-y:auto;touch-action:pan-y;color:#c9ddda}.credits-copy a{color:#f3d399}.over-content h2{font-size:2.2rem}.start-bottom .load-status:empty{display:none}.start-bottom .quiet-button{font-size:.85rem}@media(max-width:360px){.panel-screen{padding:16px 12px;gap:10px}.portrait{width:78px;height:95px}.panel-head h2{font-size:1.55rem}.shop-card b{font-size:1.05rem}.boss-bar{top:108px}.start-screen{padding-top:9%}.title-block .tagline{margin:8px 0}.start-bottom .keyboard-line{display:none}}@media(max-height:650px){.start-screen{padding-top:6%}.start-bottom .keyboard-line,.start-bottom .controls-line{display:none}.start-bottom .gold-button{min-height:48px}.start-bottom .secondary-button{min-height:44px;margin-top:9px}.panel-head h2{font-size:1.5rem}.panel-intro{font-size:.7rem}.panel-screen{gap:8px;padding:12px}.shop-card{min-height:124px}.chapter-card{min-height:128px}.start-screen .tagline{margin:6px 0}.title-block h1{font-size:2.5rem}.start-bottom .quiet-button{min-height:40px;margin:2px auto;padding:7px}.start-bottom .credit-link{min-height:25px}}
.flight-time{left:28%;right:35%;font-size:.65rem;letter-spacing:.6px}@media(max-width:360px){.hearts{font-size:1rem;letter-spacing:0}}
.tech-button{min-width:46px;min-height:52px;display:grid;place-items:center;gap:0;border:1px solid #d2c38d88;border-radius:10px;background:conic-gradient(#406c6e calc(var(--charge,0)*1turn),#0d2b45 0);color:#ecdfb5;padding:4px 9px;font-size:1.4rem;pointer-events:auto}.tech-button small{font-size:.5rem;letter-spacing:.6px}.tech-button:disabled{opacity:.65}.tech-button.charged{border-color:#f9de99;box-shadow:0 0 14px #e4ce793b;color:#fff0bb}.skill-strip{bottom:65px;gap:7px}.tabs{gap:4px}.tabs button{font-size:.72rem;padding:7px 5px}.trait-row{display:flex;gap:3px;margin-top:7px}.trait-row button{padding:6px 4px;font-size:.58rem;min-width:0;width:auto;flex:1;min-height:44px}.trait-row button[aria-pressed=true]{background:#b8cdab;color:#173c47}.shop-card{min-height:150px}.shop-card>div>small:last-child{font-size:.5rem;margin:7px 0 0;letter-spacing:.4px;color:#b9d7ce}.swap-content{width:100%}.swap-content h2{font-size:2rem;margin-bottom:12px}.swap-content>small{display:block;font-size:.7rem;color:#bbd5d3;line-height:1.6;max-width:280px;margin:16px auto 0}#swap-art .portrait{width:150px;height:125px;margin:auto}#swap-description{font-size:.85rem;color:#e4d4a6;line-height:1.5}.evo-top>span:last-child{max-width:50%}.tech-button:focus-visible{outline-offset:2px}@media(max-width:360px){.tech-button{min-width:42px;padding:4px 7px}.trait-row button{font-size:.5rem}.shop-card b{font-size:1rem}.shop-card small{font-size:.53rem}.tabs button{font-size:.65rem}}
.swap-content{max-height:100%;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y}@media(max-height:650px){.swap-content #swap-art .portrait{width:100px;height:80px}.swap-content h2{font-size:1.7rem;margin-bottom:10px}.swap-content .overline{margin-bottom:8px}#swap-description{margin:10px 0;font-size:.8rem}.swap-content .secondary-button{min-height:48px;margin-top:8px;font-size:.8rem}.swap-content .quiet-button{margin:4px auto}.swap-content>small{margin-top:8px;font-size:.65rem;line-height:1.4}}
/* Living memories: material vault, compact chapter scenes and forge. */
.tabs{flex-wrap:wrap}.tabs button{flex:1 1 27%;min-height:44px}.home-wallet{font-size:.75rem}.start-bottom{padding-bottom:0}.start-bottom .secondary-button{min-height:44px;margin:7px auto}.start-bottom .quiet-button{margin:3px auto;padding:9px}.credit-link{margin-top:0}.controls-line{margin-top:10px}.flight-gems{font-size:.8rem;color:#bbd9ff}.hud-actions{gap:8px}.panel-head h2{font-size:1.7rem}.journal-link{min-height:44px;border:1px solid #a1ccdb66;background:#15364b;color:#e4ede4;border-radius:10px;margin-bottom:8px;padding:8px 14px}.story-content{width:100%;overflow:auto;min-height:0;flex:1;text-align:left;line-height:1.55;padding:0 3px 14px}.story-content>.portrait{position:relative;display:block;inset:auto;margin:0 auto;width:160px;height:125px}.story-content p{font-size:1rem;color:#d4e4e5}.mission-note{border-left:3px solid #e7cb8c;padding:12px;background:#183d5266;margin-bottom:14px}.mission-note p{margin:5px 0}.story-content small{font-size:.875rem;color:#b7d1d9}.memory-card{padding:15px 0;border-bottom:1px solid #a3c7d344}.memory-card h3{font-family:Georgia,serif;font-size:1.4rem;color:#f0dba8;margin:8px 0}.memory-card p{font-size:.9rem}.ending-note{color:#ead5a4!important}.chapter-card p{font-size:.75rem;margin:3px 0;color:#b9d1d5}.gem-wallet{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:12px}.gem-wallet>div{border:1px solid #adcdd044;background:#13334ec9;border-radius:12px;text-align:center;padding:9px 3px}.gem-wallet img{display:block;width:32px;height:36px;object-fit:contain;margin:auto}.gem-wallet b{display:block;font-size:1.25rem}.gem-wallet small{font-size:.7rem;color:#ccdedc}.forge-recipe,.nurture-card,.forge-result{padding:16px 12px;margin-bottom:14px;border:1px solid #b3d6dc55;background:linear-gradient(#24455d,#102d49);border-radius:16px;text-align:left}.forge-recipe h3,.nurture-card h3,.forge-result h3{font:1.45rem Georgia,serif;color:#f3dba7;margin:0 0 10px}.forge-recipe p,.nurture-card p,.forge-result p{font-size:.875rem;line-height:1.5;color:#d5e3e3}.forge-recipe small,.nurture-card small{display:block;font-size:.8rem;line-height:1.5;color:#bbd2d8}.recipe-selectors{display:flex;gap:7px;align-items:center}.recipe-selectors label{flex:1;min-width:0}.recipe-selectors label,.nurture-card label{font-size:.8rem;color:#c3dade}select{display:block;width:100%;min-height:44px;margin:5px 0;border:1px solid #b3d2d66b;border-radius:9px;background:#0f2c45;color:#f3e7d1;padding:8px 22px 8px 8px;font:inherit;appearance:none;background-image:linear-gradient(45deg,transparent 50%,#b3d2d6 50%),linear-gradient(135deg,#b3d2d6 50%,transparent 50%);background-position:calc(100% - 13px) 18px,calc(100% - 8px) 18px;background-size:5px 5px;background-repeat:no-repeat}.recipe-outcomes{display:flex;gap:8px;margin:9px 0}.recipe-outcomes>div{min-width:0;flex:1;text-align:center;border-radius:12px;background:#0a233e88;padding:7px}.recipe-outcomes .portrait{position:relative;inset:auto;display:block;width:100%;height:90px}.recipe-outcomes b{display:block;font-size:.85rem}.recipe-outcomes span{color:#efd6a0;font-size:.875rem}.forge-recipe .gold-button{font-size:.85rem;margin:14px auto 0;display:block;padding:12px 8px}.forge-result{text-align:center}.forge-result .portrait{position:relative;inset:auto;width:190px;height:150px;display:block;margin:auto}.forge-result>small{font-size:.7rem;letter-spacing:2px;color:#c0e4da}.nurture-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:12px 0}.nurture-buttons button{min-height:46px;display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid #bfd4d44d;border-radius:9px;background:#183d57;color:#ebdfc3;font-size:.8rem}.nurture-buttons img{width:18px;height:27px;object-fit:contain}.attunement{color:#ebd194!important}.over-content{max-height:100%;overflow:auto;padding:10px 2px}.final-story{font-size:.9rem;line-height:1.5;color:#d2e2df;text-align:left}.gem-summary{font-size:.85rem;color:#bdd9f6}.game-over .result-row{flex-wrap:wrap}.shop-card button{max-width:100%}@media(max-width:360px){.panel-screen{padding:16px 12px}.panel-head h2{font-size:1.5rem}.recipe-selectors{gap:4px}.forge-recipe{padding:13px 9px}.tabs button{font-size:.8rem}.start-screen{padding:20px 16px 10px}.start-bottom .gold-button{min-height:46px;padding:12px}.keyboard-line,.start-bottom>.controls-line{display:none}.start-bottom .home-wallet{margin:6px 0}.flight-time{left:31%;right:27%;font-size:.65rem}.pet-status{left:30%;right:29%;font-size:.65rem}.gem-wallet small{font-size:.65rem}}
.memory-content{width:100%;max-height:100%;overflow:auto;text-align:left;padding:6px}.memory-content h2{font-size:2rem;margin:8px 0 20px}.memory-content>p:not(.overline){font-size:1rem;line-height:1.65;color:#d7e5e2}.memory-content .gold-button{display:block;margin:24px auto 5px}
.form-preview{background:#183c53!important;color:#cde5e5!important;border:1px solid #8ab6c455!important;margin-top:7px!important;font-size:.7rem!important}.form-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.form-gallery article{border:1px solid #a5cdd555;border-radius:12px;background:#0a233e66;padding:10px 3px;text-align:center;min-width:0}.form-gallery .portrait{position:relative;inset:auto;width:100%;height:155px;display:block;margin:auto}.form-gallery b{display:block;font-size:.85rem;color:#f4dcaa}.form-gallery small{font-size:.7rem;display:block;margin-top:7px}@media(max-width:360px){.form-gallery .portrait{height:125px}.form-gallery b{font-size:.75rem}.form-gallery small{font-size:.65rem}}
.form-gallery{grid-template-columns:1fr}.form-gallery article{display:flex;align-items:center;gap:12px;text-align:left;padding:6px 10px}.form-gallery .portrait{flex:0 0 145px;width:145px;height:130px;margin:0}.form-gallery b{font-size:1rem}.form-gallery small{font-size:.8rem}@media(max-width:360px){.form-gallery .portrait{flex-basis:125px;width:125px;height:120px}.form-gallery b{font-size:.9rem}.form-gallery small{font-size:.75rem}}
.pet-status{top:88px;left:16px;right:16px;font-size:.65rem;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.boss-bar{top:120px}

/* Short in-engine reveals freeze gameplay and keep a persistent skip control. */
.cinematic-panel{position:absolute;inset:0;z-index:4;pointer-events:none;text-align:center;background:linear-gradient(#02152b33,transparent 30%,transparent 60%,#03152b66)}.cinematic-copy{position:absolute;left:18px;right:18px;bottom:18%;text-shadow:0 2px 12px #001529}.cinematic-copy p{font-size:.75rem;letter-spacing:3px;color:#ffe0a6;margin:0 0 10px}.cinematic-copy h2{font-size:2rem;line-height:1.15;margin:0 0 12px}.cinematic-copy span{font-size:.8rem;line-height:1.5;color:#d8e6df;display:block}#skip-scene{position:absolute;right:18px;bottom:12px;min-height:44px;padding:9px 14px;border:1px solid #e4d8ad66;background:#102c42;color:#f4e4c0;border-radius:10px;pointer-events:auto;font-size:.8rem}.boss-bar small{display:block;margin-top:5px;font-size:.65rem;letter-spacing:1px;color:#f4c69e}.boss-bar.exposed small{color:#b8f7d5}.boss-bar.exposed i{background:linear-gradient(90deg,#75c5b0,#d6ffe0)}.home-loadout{display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px;width:100%;max-width:330px;margin:auto 0 10px;align-self:center}.home-loadout .portrait{position:relative;inset:auto;width:100%;height:66px;display:block;margin:auto}.home-pet,.home-hero{border:1px solid #b7d7cc55;border-radius:12px;background:#0b2c46ba;color:#e8e1c9;min-width:0;padding:5px 3px;font-size:.65rem;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:90px}.home-hero{border-color:#e5cd8a88}.home-pet small{font-size:.55rem;line-height:1.4;display:block}.lock-icon{display:block;font-size:2.5rem;color:#a0bebd;height:63px;line-height:63px}.start-screen{gap:5px}.start-bottom .controls-line,.start-bottom .keyboard-line{display:none}.home-hero span{font-size:.6rem}@media(max-width:360px){.home-loadout .portrait{height:49px}.home-pet,.home-hero{min-height:70px}.lock-icon{height:45px;line-height:45px;font-size:2rem}.home-loadout{margin-bottom:5px}.cinematic-copy h2{font-size:1.6rem}.cinematic-copy p{font-size:.65rem}.cinematic-copy span{font-size:.75rem}}@media(max-height:650px){.home-loadout{margin-top:auto;margin-bottom:4px}.home-loadout .portrait{height:45px}.home-pet,.home-hero{min-height:62px;padding:2px}.lock-icon{height:40px;line-height:40px}.start-screen{padding-bottom:8px}.start-bottom .credit-link{min-height:22px}.home-pet small{font-size:.5rem}}

.toast{top:31%;font-size:1.15rem}

/* Living Skies: art, direct manipulation and compact visual feedback. */
.vi{display:inline-block;width:23px;height:23px;vertical-align:middle;flex-shrink:0;pointer-events:none}.gold-button,.secondary-button{display:flex;align-items:center;justify-content:center;gap:10px}.gold-button .vi,.secondary-button .vi{width:24px;height:24px}.gold-button{border-radius:17px;background:linear-gradient(#ffe2a3,#dfb46d);box-shadow:0 3px 0 #69563f,0 8px 25px #020f27aa;letter-spacing:.2px}.secondary-button{background:linear-gradient(#285267ed,#102f48ed);border-color:#97cab080}.quiet-button{display:flex;align-items:center;justify-content:center;gap:7px}.screen{padding:22px}.panel-screen{background:linear-gradient(#061a2fec,#102b43ed);padding:18px 14px;gap:10px}.panel-head .overline{display:none}.panel-head h2{font-size:1.6rem}.panel-intro{font-size:.9rem;color:#bedbdc}.back-button{border-color:#b2c5c258;background:#12364cc4}.bank{display:flex;gap:5px;align-items:center;color:#f0d49b;font-size:.95rem}.bank .vi{width:21px;height:21px}.title-block .overline{display:none}.title-block h1{font-size:clamp(2.5rem,10vw,3.4rem);letter-spacing:5px;text-shadow:0 4px 25px #021c32,0 1px #fff0bf}.title-block{padding-top:5px}.tagline{font-size:.85rem;color:#def2eb;text-shadow:0 2px 6px #041b30;margin:9px 0}.start-screen{padding:9% 20px 12px;background:linear-gradient(#071d3b22,transparent 38%,#06192dce 75%,#061a32f5)}.home-loadout{grid-template-columns:1.16fr 1fr 1fr;max-width:350px;gap:8px;margin:auto 0 12px}.home-hero,.home-loadout .loadout-orb{border-radius:18px;border:1px solid #b2d8d34d;background:linear-gradient(#143e58ab,#071e36ed);padding:5px 2px;min-height:103px;width:100%;color:#e2e9db}.home-hero{border-color:#e5c994aa}.home-hero .portrait,.home-loadout .portrait{height:76px;width:100%;object-fit:contain}.home-hero span,.orb-label{font-size:.7rem;line-height:1.2;text-align:center;display:block;color:#e1e9df;max-width:100%;overflow:hidden;text-overflow:ellipsis}.home-loadout .locked{border-style:dashed}.home-loadout .locked>.vi{height:48px;width:35px;color:#8db0b7;opacity:.75;margin:7px 0}.home-loadout .locked small{display:flex;justify-content:center;align-items:center;gap:3px;color:#eed09d;font-size:.75rem;margin-top:5px}.home-loadout .locked small .vi{width:14px;height:14px}.home-wallet{position:absolute;top:14px;left:16px;right:16px;display:flex;justify-content:space-between;align-items:center;margin:0;pointer-events:none}.home-wallet>span{display:flex;gap:6px;align-items:center;background:#061a31bd;border:1px solid #b4cbb83d;border-radius:20px;padding:6px 10px;min-height:34px;font-size:.9rem}.home-wallet .vi{width:19px;height:19px;color:#efd18e}.home-wallet>span+span .vi{color:#a8e9f0}.start-bottom{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%;max-width:350px}.start-bottom>#fly,.start-bottom>#campaign{min-height:56px;padding:9px 5px;margin:0;width:100%;max-width:none;font-size:.95rem;grid-column:span 1}.start-bottom>#collection,.start-bottom>#forge-home{min-height:48px;border:1px solid #bad6cc44;border-radius:13px;background:#102e45cf;margin:0;width:100%;padding:8px 5px;font-size:.85rem}.start-bottom>#credits{grid-column:span 2;margin:0;padding:1px;min-height:24px}.start-bottom>#load-status{grid-column:span 2}.start-bottom>p{display:none}.credit-link{font-size:.7rem}.home-wallet:empty{display:none}
.tabs{display:flex;flex-wrap:nowrap;gap:4px}.tabs button{flex:1 1 0;min-width:0;min-height:60px;border-radius:13px;display:flex;flex-direction:column;align-items:center;gap:5px;padding:7px 1px;background:#0c2b428c;border-color:#a3c9c236;color:#b8d5d6;font-size:.72rem}.tabs button .vi{width:22px;height:22px}.tabs button.selected{background:linear-gradient(#e9d198,#c39d66);color:#112c40;border-color:#f5dcaa}.collection-list{gap:12px;padding:2px 2px 15px}.roster-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.roster-card{position:relative;min-width:0;border:1px solid #a5ccc54d;border-radius:18px;background:radial-gradient(ellipse at 50% 35%,#5974927d,transparent 65%),linear-gradient(#18374bb8,#0b2239f5);overflow:hidden;min-height:216px;box-shadow:0 5px 14px #03122644}.roster-card.chosen{border-color:#ffe0a0;box-shadow:inset 0 0 15px #e5d3931c,0 0 13px #c9d2a726}.roster-art{position:relative;background:none;border:0;display:block;width:100%;height:140px;padding:0;color:#d9efec;touch-action:none}.roster-art .portrait{height:142px;width:100%;pointer-events:none;filter:drop-shadow(0 4px 8px #03142a77)}.unowned .roster-art .portrait{filter:saturate(.4) brightness(.63)}.card-caption{padding:3px 9px 11px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px}.card-caption b{font-size:.9rem;font-weight:650;line-height:1.2;color:#f5e6c9}.tier-stars{display:inline-flex;gap:2px;align-items:center;color:#e6c580;line-height:1}.tier-stars .vi{width:12px;height:12px;fill:currentColor;stroke-width:.8}.chosen-badge,.lock-badge{position:absolute;right:8px;top:8px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#102b3add;border:1px solid #c5dfbf77;color:#cde8be}.lock-badge{left:8px;right:auto;color:#c3d2cc;border-color:#adbdc433}.chosen-badge .vi,.lock-badge .vi{width:14px;height:14px}.card-info{position:absolute;right:4px;bottom:2px;width:33px;height:33px;min-height:33px;border:0;background:none;color:#95b7c2;display:grid;place-items:center}.card-info .vi{width:18px;height:18px}.growth-track{height:5px;background:#061c30;border-radius:6px;display:block;overflow:hidden;width:100%;max-width:180px}.growth-track>i{display:block;height:100%;background:linear-gradient(90deg,#65b7b4,#d5ecc2);border-radius:6px}.growth-meta{display:flex;align-items:center;gap:4px;width:100%;max-width:180px;justify-content:center}.growth-meta small{font-size:.7rem;color:#b7cece;margin:0 0 0 4px}.growth-dot{display:block;width:5px;height:5px;border:1px solid #8eafb0;transform:rotate(45deg);opacity:.4}.growth-dot.on{opacity:1;background:#b8ddbf;border-color:#d6ebbd}.unlock-chip{display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:.8rem;color:#e4c690;min-height:24px}.unlock-chip .vi{width:17px;height:17px}.team-rack{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:7px;flex-shrink:0;padding:8px 5px;border:1px solid #a6cabe4a;border-radius:18px;background:linear-gradient(125deg,#2d4c5788,#0c273d)}.loadout-orb{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:91px;border:1px solid #afd2c269;border-radius:16px;background:#08253b8f;color:#dce9dc;padding:4px}.loadout-orb .portrait{width:100%;height:66px;pointer-events:none}.loadout-orb.locked{border-style:dashed}.loadout-orb.locked>.vi{height:31px;width:31px;color:#8eafb7}.loadout-orb small{font-size:.7rem;color:#d9c294;display:flex;align-items:center;gap:2px}.loadout-orb small .vi{width:13px;height:13px}.hero-orb{border-color:#e0c38c99}.gesture-caption{font-size:.75rem;color:#aac9ce;display:flex;align-items:center;justify-content:center;gap:6px;margin:0 0 5px;flex-shrink:0;line-height:1.45}.gesture-caption .vi{width:17px;height:17px}.unlock-strip{display:flex;align-items:center;gap:7px;border:1px solid #a5bda83f;border-radius:12px;padding:8px;color:#dbcfb0;font-size:.8rem;flex-shrink:0}.unlock-strip>.vi{width:18px;height:18px;color:#a8bec5}.unlock-route{font-size:.7rem;margin-left:auto;display:flex;align-items:center;gap:3px;color:#b3cacc}.unlock-route .vi{width:14px;height:14px}.unlock-strip button,.training-tile button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;min-width:62px;border:1px solid #e4c88e8c;border-radius:10px;background:#284750;color:#f8dfaa;padding:8px;font-size:.85rem}.unlock-strip button .vi,.training-tile button .vi{width:18px;height:18px}
.move-rack{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:14px;border:1px solid #c0d1bb44;border-radius:18px;background:#14354abf;flex-shrink:0}.move-socket{border:1px dashed #9dbab977;position:relative;display:grid;place-items:center;border-radius:15px;background:#09253bbd;color:#96b4bd;min-height:76px}.move-socket.filled{border-style:solid;border-color:#e4cb91;color:#f4db9b;background:radial-gradient(#537166,#122a40)}.move-socket .vi{width:36px;height:36px}.move-socket small{position:absolute;left:5px;top:3px;font-size:.65rem;color:#b9d6d0}.move-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.move-card{position:relative;border:1px solid #9fc2c04a;border-radius:16px;background:#112e45c4;min-height:150px;overflow:hidden}.move-card.chosen{border-color:#e4ce93;background:radial-gradient(#37656a77,#102c43)}.move-card>button:first-child{width:100%;padding:18px 8px 14px;background:none;border:0;display:flex;flex-direction:column;align-items:center;gap:9px;color:#ede7cc;touch-action:none}.move-card>button:first-child>.vi{width:39px;height:39px;color:#cfdec6}.move-card b{font-size:.9rem;font-weight:600}.move-card small{display:flex;align-items:center;gap:5px;color:#a8ccce;font-size:.75rem}.move-card small .vi{width:16px;height:16px}.move-unlock{display:flex;align-items:center;justify-content:center;gap:4px;font-size:.7rem;color:#c8bd9e;margin-bottom:8px}.move-unlock .vi{width:13px;height:13px}.training-tile{display:flex;align-items:center;gap:10px;min-height:115px;padding:12px;border:1px solid #afd1c441;border-radius:18px;background:linear-gradient(120deg,#254859aa,#0a243bf0);flex-shrink:0}.training-art{display:grid;place-items:center;width:59px;height:64px;flex-shrink:0;border-radius:15px;background:#6d81742e;border:1px solid #b8c8aa33;color:#e4cf91}.training-art .vi{width:35px;height:35px}.training-tile>div:nth-child(2){flex:1;min-width:0}.training-tile b{font-size:.95rem;color:#efdfbc;font-weight:600}.training-tile small{font-size:.75rem;line-height:1.4;color:#aac8cc;display:block;margin-top:7px}.training-pips{display:flex;gap:4px;margin:8px 0}.training-pips i{width:18px;height:5px;background:#062134;border-radius:2px}.training-pips i.on{background:#c6e1ab}
.gem-shelf{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;flex-shrink:0}.gem-tile{display:flex;flex-direction:column;align-items:center;gap:3px;min-height:100px;padding:8px 2px;border-radius:15px;border:1px solid #9dcbc25a;background:radial-gradient(at 50% 30%,#45627680,#0b253c);color:#e5ebdb;touch-action:none}.gem-tile img{height:43px;width:40px;object-fit:contain;pointer-events:none;filter:drop-shadow(0 0 8px #b9ddfd33)}.gem-tile b{font-size:1.15rem;font-variant-numeric:tabular-nums}.gem-tile small{font-size:.65rem;color:#bad2d3}.gem-tile.selected{border-color:#ffdfa0;box-shadow:0 0 12px #f0d29333}.forge-workbench{position:relative;flex-shrink:0;padding:13px 10px 10px;border:1px solid #b6cbc047;border-radius:22px;background:radial-gradient(ellipse at 50% 30%,#486a7255,transparent 50%),linear-gradient(#17394bbd,#0b2138f0)}.forge-sockets{display:grid;grid-template-columns:1fr 50px 1fr;align-items:center;gap:6px;margin:14px auto;max-width:320px}.forge-socket{position:relative;display:flex;align-items:center;justify-content:center;border:2px solid #b6ded4a6;border-radius:50%;background:radial-gradient(#50778580,#0b253c 67%);aspect-ratio:1;min-height:85px;width:100%;max-width:110px;justify-self:center;box-shadow:0 0 0 5px #add7d311,inset 0 0 20px #c9ede722;color:#f5dfad;padding:5px}.forge-socket img{width:50px;height:60px;object-fit:contain;pointer-events:none}.forge-socket span{position:absolute;bottom:0;right:-3px;background:#133049;border:1px solid #b7cdbd77;border-radius:10px;padding:4px 6px;font-size:.75rem}.forge-core{color:#edd29e;display:grid;place-items:center;position:relative}.forge-core:before{content:'';position:absolute;width:47px;height:47px;border:1px dashed #c9d9b255;border-radius:50%;animation:forge-orbit 18s linear infinite}.forge-core .vi{width:33px;height:33px}.recipe-reel{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0}.recipe-reel>div{position:relative;display:flex;flex-direction:column;align-items:center;border:1px solid #b1c5bc32;border-radius:14px;background:#071d32a6;padding:5px 2px 8px;min-width:0}.recipe-reel .portrait{width:100%;height:93px}.recipe-reel b{font-size:.85rem;color:#e4d9b7}.recipe-reel span{position:absolute;right:7px;top:5px;font-size:.8rem;color:#e4d09d}.attribute-odds{display:flex;justify-content:center;gap:20px;margin:11px 0;color:#c0d4cb}.attribute-odds>span{display:flex;align-items:center;gap:5px;font-size:.8rem}.attribute-odds .vi{width:19px;height:19px}.forge-workbench>.gold-button{width:100%;max-width:none;min-height:52px;font-size:1rem;padding:10px}.fuse-cost{display:inline-flex;align-items:center;gap:4px;padding-left:5px;font-size:.85rem;font-weight:600}.fuse-cost img{width:18px;height:26px;object-fit:contain}.lore-details{font-size:.85rem;color:#aac8cc;text-align:left;margin:12px 0 0;width:100%;line-height:1.55}.lore-details summary{cursor:pointer;min-height:36px;display:flex;align-items:center;gap:6px;justify-content:center;color:#bdd7d2}.lore-details summary .vi{width:17px;height:17px}.lore-details summary:after{content:'⌄';font-size:1rem;margin-left:4px}.lore-details[open] summary:after{content:'⌃'}.lore-details p{font-size:.85rem!important;line-height:1.55;color:#c7dcd9}.nurture-bench{border:1px solid #a1c4c347;border-radius:18px;background:#0c2b40e5;padding:12px;flex-shrink:0}.nurture-bench header{display:flex;align-items:center;justify-content:space-between;font-size:.9rem;color:#d5e6cb;margin-bottom:10px}.nurture-bench header b{display:flex;gap:6px;align-items:center;font-weight:600}.nurture-bench header .vi{width:19px;height:19px}.nurture-bench header>span{font-size:.8rem;color:#b8d6b9}.nurture-roster{display:flex;gap:6px;overflow-x:auto;touch-action:pan-x;padding:3px 2px 10px}.nurture-roster button{border:1px solid #9ebfba33;border-radius:11px;background:#143c4f;min-width:60px;padding:0;height:58px}.nurture-roster button.selected{border-color:#edcf92;background:#2c5660}.nurture-roster .portrait{height:54px;width:58px}.nurture-pay{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:9px}.nurture-pay button{display:flex;align-items:center;justify-content:center;min-height:45px;gap:3px;border:1px solid #bfd4c747;border-radius:10px;background:#17394d;color:#dfdfc4;font-size:.85rem;padding:4px 1px}.nurture-pay img{width:20px;height:28px;object-fit:contain}.hatch-result{display:flex;flex-direction:column;align-items:center;border:1px solid #d6d8a87a;background:radial-gradient(ellipse at 50% 20%,#728a7755,#0c2d44 55%);border-radius:22px;padding:16px 13px;gap:11px;text-align:center;flex-shrink:0}.hatch-aura{width:100%;height:170px;position:relative;display:grid;place-items:center}.hatch-aura:before{content:'';position:absolute;width:135px;height:135px;border-radius:50%;background:radial-gradient(#b6dcad44,transparent 70%);border:1px solid #cedfac55;box-shadow:0 0 40px #b0cfa333;animation:hatch-reveal .65s ease-out}.hatch-aura .portrait{width:210px;height:180px;position:relative}.result-kicker{text-transform:uppercase;font-size:.7rem;letter-spacing:2px;color:#b4d9c2}.hatch-result h3{font:1.6rem Georgia,serif;margin:0;color:#f6dfb5}.attribute-badge{display:flex;justify-content:center;align-items:center;gap:6px;border-radius:20px;background:#17394ed9;border:1px solid #a9c7c348;padding:7px 12px;color:#cfe4d1;font-size:.8rem}.attribute-badge b{font-weight:500}.attribute-badge .vi{width:20px;height:20px}.attribute-compare{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;margin:3px 0}.attribute-compare>div{display:flex;flex-direction:column;gap:7px;min-width:0}.attribute-compare small{font-size:.7rem;color:#abc6cb}.attribute-compare .attribute-badge{padding:7px 3px;font-size:.7rem}.reward-chips{display:flex;justify-content:center;gap:12px}.reward-chips>span{display:flex;align-items:center;gap:5px;padding:7px 12px;border-radius:11px;background:#15374a;border:1px solid #afc8b443;color:#e5d4a3;font-size:.9rem}.reward-chips .vi{width:20px;height:20px}
.inspect-screen{z-index:12;background:#031324bd;backdrop-filter:blur(7px);justify-content:flex-end;padding:13px}.inspect-screen>div{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;width:100%;max-height:94%;overflow-y:auto;touch-action:pan-y;background:radial-gradient(ellipse at 50% 10%,#405b6e,#102d43 65%);border:1px solid #abcac570;border-radius:25px 25px 17px 17px;padding:20px 15px}.inspect-screen h2{font-size:1.7rem;margin:0;padding:10px 25px}.inspect-close{position:absolute;right:7px;top:7px;min-width:44px;min-height:44px;border:0;background:none;color:#cce1da;padding:10px;z-index:1}.inspect-screen .portrait{width:190px;height:150px}.inspect-screen p{font-size:.9rem;margin:2px 0 8px;color:#cce0dd;line-height:1.5}.inspect-screen small{font-size:.8rem;color:#aac8c9;display:flex;align-items:center;gap:5px}.inspect-screen .quiet-button{margin:0;padding:8px}.inspect-screen .gold-button{min-height:48px;padding:10px;margin:4px 0;flex-shrink:0}.detail-stats{display:flex;align-items:center;gap:7px;color:#e4cf9c;margin-bottom:6px}.inspect-symbol{width:100px;height:110px;display:grid;place-items:center;color:#d4e6c8}.inspect-symbol .vi{width:80px;height:80px}.trait-tiles{display:flex;gap:6px;margin:5px 0;width:100%}.trait-tiles button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;flex:1;min-height:90px;border:1px solid #adc9c452;border-radius:13px;background:#122f42;color:#c0d6d1;font-size:.75rem;padding:7px 3px}.trait-tiles button>.vi:first-child{width:28px;height:28px}.trait-tiles button>.vi:last-child{width:13px;height:13px}.trait-tiles button[aria-pressed=true]{border-color:#dce3a4;background:#31524e;color:#f1e2ad}.drag-ghost{position:fixed!important;z-index:30;width:92px;height:96px;transform:translate(-50%,-55%) scale(1.06);pointer-events:none;padding:5px;background:#173c52dd;border:2px solid #f3d99c;border-radius:18px;box-shadow:0 10px 30px #020d23aa;display:grid;place-items:center;color:#fff0c7;overflow:hidden}.drag-ghost .portrait{width:80px;height:80px}.drag-ghost img{width:48px;height:60px;object-fit:contain}.drag-ghost b,.drag-ghost small,.drag-ghost .chosen-badge,.drag-ghost .lock-badge{display:none}.drag-ghost>.vi{width:45px;height:45px}.drop-ready{box-shadow:0 0 0 2px #a1e3d760!important}.drop-hover{border-color:#fff2b8!important;box-shadow:0 0 0 4px #edd99c77,0 0 25px #d9e6b26b!important;background-color:#577969!important}.visual-feedback{position:absolute;z-index:16;pointer-events:none;top:12%;left:50%;transform:translateX(-50%);border-radius:50%;background:#163d4ee0;color:#d5edb4;border:1px solid #d9e4af88;width:49px;height:49px;display:grid;place-items:center;opacity:0}.visual-feedback.ping{animation:visual-ping .65s ease-out}.visual-feedback .vi{width:26px;height:26px}
.chapter-list{position:relative;gap:15px;padding-top:5px}.chapter-list:before{content:'';position:absolute;top:40px;bottom:40px;left:50%;border-left:2px dashed #d9d6a760}.chapter-node{position:relative;isolation:isolate;overflow:hidden;min-height:153px;border:1px solid #bdd4c968;border-radius:22px;display:flex;align-items:center;gap:3px;padding:12px 8px;color:#efdec2;background:#173a4b;flex-shrink:0;text-align:left;box-shadow:0 5px 18px #00142977}.chapter-node.complete{border-color:#d4d498a6}.chapter-scenery{position:absolute;inset:0;z-index:-1;background-size:300% 100%;filter:brightness(.63)}.chapter-node:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,transparent,#061a2e66 60%,#061a2ee8)}.chapter-creature .portrait{width:108px;height:120px;filter:drop-shadow(0 0 15px #0008)}.chapter-caption{min-width:0;flex:1;display:flex;flex-direction:column;gap:7px;padding-left:5px}.chapter-caption>small{font-size:.65rem;letter-spacing:1px;display:flex;gap:4px;align-items:center;color:#e5cfa3}.chapter-caption>small .vi{width:16px;height:16px}.chapter-caption>b{font:1.45rem Georgia,serif;color:#ffedc8;line-height:1.1}.chapter-rewards{display:flex;align-items:center;gap:5px}.chapter-rewards .portrait{width:41px;height:37px;background:#102e48aa;border:1px solid #bad5c349;border-radius:9px}.chapter-rewards>.vi{width:23px;height:23px;color:#c2e5c4}.mission-art{display:flex;align-items:center;justify-content:center;position:relative;width:100%;height:200px;background-size:300% 100%;border:1px solid #a7c7b956;border-radius:20px;overflow:hidden}.mission-art .portrait{width:200px;height:180px;filter:drop-shadow(0 3px 14px #031528)}.mission-art>span{position:absolute;bottom:9px;right:10px;color:#efd4a1;display:flex;gap:3px;background:#132d42b8;border-radius:12px;padding:5px}.mission-route{display:flex;align-items:center;justify-content:center;margin:16px 0;gap:3px}.mission-route>div{position:relative;width:28%;height:82px;background:#183b4b77;border:1px solid #a9cabe60;border-radius:50%;display:grid;place-items:center}.mission-route .portrait{width:75px;height:72px}.mission-route>i{width:10px;flex:0 0 10px;height:2px;background:#b8c9ae77}.mission-route span{position:absolute;right:-3px;bottom:-3px;background:#15344b;border-radius:50%;border:1px solid #d4d9af66;padding:4px;display:grid;place-items:center}.mission-route span .vi{width:15px;height:15px}.mission-goal{display:flex;align-items:center;justify-content:center;gap:7px;font-size:1rem;color:#e6d8b6;margin:14px 0}.story-content .lore-details>p{font-size:.9rem!important}.panel-intro:empty{display:none}.map-screen .panel-intro{display:none}.journal-link{background:#173b4cbb;color:#c9e1d8;border-color:#afcbbd44;font-size:.8rem}.reward-art{display:flex;align-items:center;justify-content:center;position:relative;margin:8px auto;width:165px;height:135px;background:radial-gradient(#a5c7bf33,transparent 68%)}.reward-art .portrait{width:165px;height:135px}.over-content .result-row{display:flex;flex-direction:row;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;margin:12px 0 7px}.over-content .result-row>span{display:flex;align-items:center;gap:5px;font-size:.95rem;color:#f1d394}.over-content .gem-summary{display:flex;align-items:center;justify-content:center;gap:5px;font-size:.95rem;margin:7px 0;color:#b9e6f2}.over-content .final-score{font-size:2.5rem}.over-content h2{font-size:2rem;margin-bottom:10px}.over-content .overline{font-size:.65rem;letter-spacing:2px;margin-bottom:10px}.over-content .lore-details{margin:5px 0 12px}.over-content .gold-button{margin:9px auto}.over-content .secondary-button{margin-top:10px}.over-content .quiet-button{margin:3px auto}.over-content{padding:8px 2px}.hud{top:14px;left:16px;right:16px}.tiny{display:none}.score-box strong{font-size:1.65rem;color:#f0d6a0}.best{font-size:.6rem;margin-top:4px}.hud-right .hearts{font-size:1.1rem;line-height:1.2}.hud-actions{margin-top:7px;gap:8px}.coins{font-size:.9rem}.round-button{width:40px;height:40px}.flight-time{top:18px;left:31%;right:30%;font-size:.65rem}.flight-gems{font-size:.9rem}.pet-status{top:80px;left:16px;right:16px;display:flex;align-items:center;justify-content:center;gap:10px;height:32px;overflow:visible;white-space:normal}.pet-chip{display:flex;align-items:center;gap:5px;min-width:70px;height:32px;padding:3px 7px 3px 3px;border:1px solid #a9ccbb44;border-radius:12px;background:#071f35c7}.pet-chip .portrait{height:29px;width:30px}.pet-hp{display:flex;align-items:center;gap:2px}.hp-pip{display:block;width:5px;height:11px;transform:skewX(-12deg);border-radius:1px;background:#9fbab72b;border:1px solid #bed3c326}.hp-pip.full{background:#9bd8b6;border-color:#daf1bf88;box-shadow:0 0 4px #b8ecc627}.pet-chip.low .hp-pip.full{background:#f0a38b;border-color:#f5c29c}.pet-empty .vi{width:18px;height:18px;color:#9fbcc6}.pet-empty{border-style:dashed;justify-content:center;min-width:65px}.boss-bar{top:121px;left:24px;right:24px}.boss-bar>span{font-size:.8rem}.boss-bar small{font-size:.6rem;letter-spacing:.6px;display:flex;align-items:center;justify-content:center;gap:5px;min-height:18px}.boss-bar small .vi{width:15px;height:15px}.boss-bar>div{height:8px;margin-top:5px}.skill-strip{bottom:68px;left:17px;gap:8px}.tech-button{min-width:48px;min-height:52px;border-radius:13px;font-size:1.4rem}.tech-button span .vi{width:25px;height:25px}.tech-button small{font-size:.6rem;letter-spacing:0}.active-boost{bottom:128px;font-size:.8rem;display:flex;align-items:center;gap:5px}.active-boost .vi{width:20px;height:20px}.evo-label{font-size:.7rem}.pulse-label{font-size:.65rem}.steer-hint{top:auto;bottom:21%;pointer-events:none;display:flex;justify-content:center;align-items:center;gap:8px;color:#c1e6dd;font-size:.8rem}.steer-hint .vi{width:30px;height:30px;animation:steer-gesture 1.8s ease-in-out infinite}.toast{top:28%;font-size:1rem}.cinematic-copy p{font-size:.7rem;letter-spacing:2px}.cinematic-copy h2{font-size:1.8rem}.cinematic-copy span{display:flex;align-items:center;justify-content:center;gap:8px;color:#d8e6ca}.cinematic-copy span .vi{width:22px;height:22px}.memory-peek{position:absolute;z-index:3;left:16px;top:128px;min-width:44px;min-height:44px;border:1px solid #d4d9ae7d;border-radius:50%;background:#173e50e6;color:#d8e5c6;display:grid;place-items:center;box-shadow:0 0 15px #b4e3c244}.memory-peek .vi{width:22px;height:22px}.scenery-badge{position:absolute;pointer-events:none;top:19%;left:0;right:0;text-align:center;color:#e4ebd5;font-size:.8rem;opacity:0;transition:opacity .3s;text-shadow:0 2px 10px #03162d}.scenery-badge.show{opacity:1}.scenery-badge>span{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border:1px solid #bdd2c44a;border-radius:20px;background:#092338c7}.scenery-badge .vi{width:18px;height:18px}.atlas-count{display:flex;align-items:center;justify-content:center;gap:4px;font-size:.65rem;color:#b9d7d3;margin-top:6px}.atlas-count .vi{width:15px;height:15px}
@keyframes visual-ping{0%{opacity:0;transform:translateX(-50%) scale(.65)}20%,55%{opacity:1;transform:translateX(-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-20px) scale(.9)}}@keyframes forge-orbit{to{transform:rotate(360deg)}}@keyframes hatch-reveal{from{transform:scale(.4);opacity:0}to{transform:scale(1);opacity:1}}@keyframes steer-gesture{0%,100%{transform:translateX(-10px) rotate(-8deg)}50%{transform:translateX(10px) rotate(8deg)}}
@media(max-width:360px){.screen{padding-left:13px;padding-right:13px}.panel-screen{padding:13px 11px;gap:8px}.start-screen{padding-top:11%;padding-bottom:10px}.title-block h1{font-size:2.5rem}.home-hero,.home-loadout .loadout-orb{min-height:80px}.home-hero .portrait,.home-loadout .portrait{height:52px}.home-loadout{gap:5px;margin-bottom:8px}.home-loadout .locked>.vi{height:32px;width:25px;margin:3px 0}.home-loadout .orb-label,.home-hero span{font-size:.65rem}.home-loadout .locked small{font-size:.65rem;margin-top:2px}.start-bottom{gap:8px}.start-bottom>#fly,.start-bottom>#campaign{min-height:50px;font-size:.9rem;gap:6px}.start-bottom>#collection,.start-bottom>#forge-home{min-height:45px;font-size:.8rem}.home-wallet{top:9px;left:12px;right:12px}.home-wallet>span{padding:5px 8px;min-height:31px;font-size:.8rem}.roster-grid{gap:8px}.roster-card{min-height:191px;border-radius:14px}.roster-art,.roster-art .portrait{height:117px}.card-caption{padding:3px 6px 9px}.card-caption b{font-size:.8rem}.growth-meta small{font-size:.65rem}.card-info{width:30px;height:30px;bottom:1px;right:1px}.tier-stars .vi{width:10px;height:10px}.tabs button{min-height:54px;font-size:.65rem;gap:3px}.tabs button .vi{width:20px;height:20px}.team-rack{padding:6px 4px;gap:5px}.loadout-orb{min-height:78px;border-radius:12px}.loadout-orb .portrait{height:52px}.orb-label{font-size:.6rem}.gesture-caption{font-size:.65rem;gap:5px}.unlock-strip{padding:6px;gap:4px;font-size:.7rem}.unlock-route{font-size:.6rem}.unlock-strip button{min-width:54px;padding:7px;font-size:.75rem}.panel-head h2{font-size:1.5rem}.training-tile{padding:10px 8px;gap:7px;min-height:102px}.training-art{width:43px;height:55px}.training-art .vi{width:29px;height:29px}.training-tile b{font-size:.85rem}.training-tile small{font-size:.7rem}.training-tile button{min-width:55px;padding:6px}.gem-shelf{gap:5px}.gem-tile{min-height:90px;padding:6px 1px}.gem-tile img{height:36px;width:33px}.gem-tile b{font-size:1rem}.gem-tile small{font-size:.6rem}.forge-sockets{grid-template-columns:1fr 39px 1fr;gap:4px}.forge-socket{min-height:77px}.forge-socket img{width:40px;height:48px}.forge-core .vi{width:27px;height:27px}.forge-core:before{width:35px;height:35px}.recipe-reel .portrait{height:78px}.recipe-reel b{font-size:.75rem}.forge-workbench{padding:12px 8px 10px}.forge-workbench>.gold-button{font-size:.9rem}.fuse-cost{font-size:.75rem}.chapter-node{min-height:140px;border-radius:18px}.chapter-creature .portrait{width:90px;height:110px}.chapter-caption>b{font-size:1.25rem}.chapter-caption>small{font-size:.6rem}.mission-art{height:175px}.pet-status{top:77px;gap:7px;left:13px;right:13px}.pet-chip{padding-right:5px;gap:3px;min-width:60px}.pet-chip .portrait{width:25px;height:26px}.hp-pip{width:4px;height:10px}.boss-bar{top:116px;left:18px;right:18px}.boss-bar>span{font-size:.75rem}.boss-bar small{font-size:.55rem}.skill-strip{left:13px;bottom:63px;gap:5px}.tech-button{min-width:42px;min-height:49px;padding:3px 6px}.tech-button span .vi{width:22px;height:22px}.hud-right .hearts{font-size:1rem}.score-box strong{font-size:1.5rem}.flight-time{left:32%;right:29%;font-size:.6rem}.cinematic-copy h2{font-size:1.5rem}.memory-peek{top:122px;left:12px}}
@media(max-height:650px){.start-screen{padding-top:10%;gap:2px}.home-loadout{margin-top:auto;margin-bottom:8px}.home-hero,.home-loadout .loadout-orb{min-height:70px}.home-hero .portrait,.home-loadout .portrait{height:44px}.home-loadout .locked>.vi{height:28px;width:23px}.home-loadout .locked small{margin-top:0}.start-bottom>#fly,.start-bottom>#campaign{min-height:47px}.start-bottom>#collection,.start-bottom>#forge-home{min-height:44px}.title-block .tagline{margin:6px 0}.home-loadout .orb-label,.home-hero span{font-size:.6rem}.start-bottom>#credits{min-height:22px}.atlas-count{font-size:.6rem}.inspect-screen>div{gap:6px;padding:13px}.inspect-screen .portrait{height:115px;width:155px}.inspect-screen h2{font-size:1.4rem}.trait-tiles button{min-height:77px}.inspect-screen p{font-size:.8rem}.chapter-list{gap:10px}.chapter-node{min-height:132px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.visual-feedback.ping{opacity:1}.drag-ghost{transform:translate(-50%,-55%)}.hatch-aura:before{transform:none}}
#evo-label{display:flex;align-items:center;gap:5px}#evo-label .vi{width:13px;height:13px}.boss-bar>span>.vi{width:14px;height:14px}.hud .score-box{background:#071e3570;padding:6px 9px;border-radius:12px;border:1px solid #9cc3b52e}.cinematic-copy{bottom:18%}.memory-content .gold-button{margin-top:15px}
.collection-action{flex-shrink:0;width:100%;padding:5px 2px 0;background:linear-gradient(transparent,#09233880)}.collection-action .gold-button{width:100%;max-width:none;min-height:52px;padding:10px;font-size:1rem}.card-info{top:3px;right:3px;bottom:auto;width:44px;height:44px;background:#0a243b22;border-radius:50%}.chosen-badge{top:auto;bottom:6px}.card-caption b{font-size:.9rem}.forge-sockets{margin:12px auto;max-width:285px}.forge-socket{max-width:96px;min-height:82px}.recipe-reel .portrait{height:84px}.forge-workbench{padding-top:10px}.shop-message{font-size:.8rem;min-height:0}.shop-message:empty{display:none}@media(max-width:360px){.card-caption b{font-size:.875rem}.card-info{width:44px;height:44px}.forge-socket{max-width:83px;min-height:77px}.recipe-reel .portrait{height:78px}.collection-action .gold-button{min-height:48px;font-size:.9rem}.team-rack .orb-label{font-size:.65rem}.gem-tile small{font-size:.65rem}}

@font-face{font-family:SkyGame;src:url('game-font.f5b641c45c69.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
/* Forged interface. Frame artwork uses Kenney's CC0 Adventure pack. */
:root{--ink:#09131f;--cream:#fff5d6;--rim:#87adc0;--gold:#f5c255;color:var(--cream)}
body{background:#101925}body:before,body:after{display:none}
button,h1,h2,h3,.score-box strong,.final-score,.bank,.card-caption b,.gem-tile b,.home-wallet,.tagline,.chapter-caption b,.training-tile b{font-family:SkyGame,system-ui,sans-serif;font-weight:400;letter-spacing:.2px}
h2,h3,.score-box strong,.final-score,.card-caption b,.tagline,.chapter-caption b{text-shadow:0 2px 0 #07101f,1px 0 #07101f,-1px 0 #07101f}
button{border-radius:7px;transition:transform .1s,filter .1s;filter:none}button:active:not(:disabled){transform:translateY(3px);filter:brightness(1.08)}button:focus-visible{outline:3px solid #fff5a4;outline-offset:3px}button:disabled{opacity:.56}
.vi.model-icon{display:inline-block;width:32px;height:32px;background-image:var(--model-icons);background-size:800% 3400%;background-repeat:no-repeat;animation:model-turn 1.34s steps(8,end) infinite;vertical-align:middle;filter:drop-shadow(0 2px 1px #0008);flex:none;pointer-events:none}
@keyframes model-turn{from{background-position-x:0}to{background-position-x:114.285714%}}
.vi[data-icon=lock],.vi[data-icon=info],.vi[data-icon=check],.vi[data-icon=close],.vi[data-icon=plus],.vi[data-icon=pause],.tier-stars .vi{animation:none}
button:hover>.vi,button:focus-visible>.vi{animation:model-turn 1.34s steps(8,end) infinite}
.back-icon{transform:rotate(180deg)}
.gold-button,.secondary-button,.quiet-button,.round-button,.back-button{backdrop-filter:none}
.gold-button{color:#fff9db;border:2px solid #44291e;border-top-color:#fff0a5;background:linear-gradient(#fbd769 0%,#ecac36 55%,#d88520 56%,#efa82b 100%);border-radius:8px;box-shadow:inset 0 2px 0 #fff4ba,inset 0 -3px 0 #bb7016,0 5px 0 #694117,0 7px 0 #182232;min-height:54px;text-shadow:0 2px 0 #965016,1px 0 #965016,-1px 0 #965016;font-size:1.2rem}
.secondary-button{border:2px solid #112330;border-top-color:#c4e7ed;background:linear-gradient(#548ba9,#315573 65%,#203c58);box-shadow:inset 0 2px #8dc9de,inset 0 -3px #1b354b,0 4px #101e2e;border-radius:8px;text-shadow:0 2px #102b42}
.quiet-button{border:1px solid #60809a;background:#192d43;color:#dfeafa;border-radius:6px;text-shadow:0 1px #071420}
.round-button,.back-button{border:2px solid #9cb4c4;background:linear-gradient(#42637b,#1a3049);box-shadow:inset 0 2px #c5dfdf66,0 3px #091726;border-radius:9px;display:grid;place-items:center}
.back-button .vi{width:34px;height:34px}.back-button{font-size:1rem;min-width:44px}
.screen{padding:18px 16px}.panel-screen{background:repeating-linear-gradient(135deg,#172a3c 0 28px,#182d41 28px 56px);border:3px solid #253f55;gap:8px}
.panel-head{padding-bottom:9px;border-bottom:2px solid #051321;box-shadow:0 1px #5a7a8d55;min-height:60px;flex-shrink:0;gap:10px}.panel-head h2{font-size:1.8rem;line-height:1;margin:0}.panel-head .bank{margin-left:auto}.panel-intro{font-size:.78rem;margin:0;color:#b9cfdb}.panel-head .back-button{width:44px;height:44px}.bank .vi{width:30px;height:30px}.bank{font-size:1.1rem}
.start-screen{padding:64px 18px 14px;display:flex;flex-direction:column;gap:8px;background:linear-gradient(#06142211 20%,#07172900 36%,#071321d9 65%,#07111ff5)}
.title-block{padding:0;text-align:center;flex-shrink:0}.title-block h1{font:clamp(2.9rem,12vw,4.1rem)/.95 SkyGame, sans-serif;letter-spacing:-1px;color:#fce4a2;-webkit-text-stroke:1px #67442a;text-shadow:0 2px #fff1b8,0 5px #8a5428,0 8px #122139,3px 8px #122139,-3px 8px #122139;transform:rotate(-3deg);margin:0 0 6px}
.tagline{display:flex;align-items:center;justify-content:center;gap:5px;margin:0;font-size:.88rem;color:#fff7df;text-shadow:0 2px 2px #102239}.tagline .tier-stars{gap:0}.tagline .vi{width:19px;height:19px}
.atlas-count{position:absolute;right:18px;top:70px;display:flex;align-items:center;gap:2px;font:12px SkyGame;color:#d1e7e9}.atlas-count .vi{width:24px;height:24px}
.home-wallet{left:18px;right:18px;top:15px;justify-content:space-between;gap:12px}.home-wallet>span{flex:1;max-width:44%;justify-content:flex-start;min-height:36px;padding:1px 9px;border:2px solid #0a1829;border-radius:5px;background:#0d2032;box-shadow:inset 0 2px 0 #416479,0 2px 0 #476277;font-size:1rem}.home-wallet .vi{width:35px;height:35px;margin:-5px 0 -5px -5px}.home-wallet>span+span{justify-content:flex-end}
.home-loadout{width:100%;max-width:none;gap:8px;margin:auto 0 0;grid-template-columns:1.08fr 1fr 1fr}
.home-hero,.home-loadout .loadout-orb{min-height:83px;position:relative;border:7px solid transparent;border-image:var(--frame-metal) 12 fill stretch;background:radial-gradient(ellipse at 50% 35%,#36576d,#101c2b);border-radius:0;box-shadow:0 5px 3px #0005;padding:0;overflow:visible}
.home-hero{border-image-source:var(--frame-brown)}.home-hero .portrait,.home-loadout .portrait{height:61px;margin-top:-5px;position:relative;z-index:1}.home-hero span,.orb-label{font:11px SkyGame,sans-serif;color:#f6ead1;position:relative;z-index:2;text-shadow:0 2px #132039}.home-loadout .locked{border-style:solid;filter:saturate(.6)}.home-loadout .locked>.vi{height:37px;width:37px;margin:0}.home-loadout .locked small{margin:0;font:11px SkyGame}.home-loadout .locked small .vi{height:19px;width:19px}
.start-bottom{display:grid;grid-template-columns:1fr 1fr;gap:9px;width:100%;max-width:none;margin:1px 0 0}
.start-bottom>#fly,.start-bottom>#campaign{grid-row:1;border-radius:5px;min-height:43px;font-size:.95rem;padding:2px 8px;background:linear-gradient(#334d62,#162b40);color:#a6bccb;box-shadow:inset 0 2px #7393a144,0 3px #061223;border:2px solid #071726;border-bottom:3px solid #0d1c2c;text-shadow:0 1px #13263c}
.start-bottom>#fly.mode-selected,.start-bottom>#campaign.mode-selected{background:linear-gradient(#567b8b,#2b4a65);border-color:#c9e3df;color:#fff2cf;box-shadow:inset 0 -3px #1c3449,0 3px #061223}.start-bottom>#fly .vi,.start-bottom>#campaign .vi{width:34px;height:34px}
.start-bottom>#launch{grid-row:2;grid-column:1 / -1;width:100%;max-width:none;min-height:64px;margin:0 0 3px;font-size:1.85rem;gap:3px}.launch-button .vi{width:45px;height:45px}
.start-bottom>#collection,.start-bottom>#forge-home{grid-row:3;display:flex;justify-content:center;align-items:center;gap:5px;min-height:56px;font-size:1rem;background:linear-gradient(#335066,#172b40);border:2px solid #071726;border-top-color:#7394a4;border-radius:6px;box-shadow:inset 0 -3px #102135,0 3px #06111e;padding:2px;color:#e5e0ce;text-shadow:0 2px #111a2b}
.start-bottom>#collection .vi,.start-bottom>#forge-home .vi{width:44px;height:44px}
.start-bottom>#credits{position:absolute;left:18px;top:67px;width:37px;height:37px;min-height:37px;padding:0;grid-column:auto;display:grid;place-items:center;border:0;background:transparent}.start-bottom>#credits .vi{width:33px;height:33px}.start-bottom .controls-line,.start-bottom .keyboard-line{display:none}
.tabs{order:5;flex-shrink:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;padding:7px 0 0;margin:0;border-top:2px solid #071321;background:none;overflow:visible}.tabs button{min-width:0;min-height:59px;padding:3px 0;gap:0;background:linear-gradient(#29465d,#0c1d2f);border:2px solid #081726;border-top-color:#65869b;border-radius:6px;box-shadow:0 3px #06101f;color:#a7bdcb;font-size:.65rem;display:flex;flex-direction:column;align-items:center;justify-content:center}.tabs button .vi{width:34px;height:34px}.tabs button.selected{color:#fff4cb;background:linear-gradient(#6b644c,#383c3c);border-color:#e8c575;box-shadow:inset 0 -3px #2e2924,0 3px #050e1c}.collection-list{padding:4px 4px 9px;order:2;min-height:0;flex:1}.collection-action{order:3;background:none;padding:0 3px 3px}.shop-message{order:4;margin:0}.collection-action .gold-button{border-radius:6px;min-height:48px;font-size:1.15rem}.collection-action .vi{width:29px;height:29px}.collection-action .fuse-cost .vi{width:25px;height:25px}
.roster-grid{gap:12px 10px;padding:2px 0 0}.roster-card{border:3px solid #0c1828;border-top:3px solid var(--rarity,#6595ab);border-radius:9px;box-shadow:inset 0 0 0 2px #658399,0 4px 0 #06101e;background:radial-gradient(ellipse at 50% 30%,#42637a55,transparent 64%),repeating-linear-gradient(135deg,#1b3147 0 15px,#1d3449 15px 30px);overflow:hidden;position:relative}.roster-card:before{content:'';position:absolute;top:5px;bottom:5px;left:5px;right:5px;border:1px solid var(--rarity,#6595ab);opacity:.45;pointer-events:none;border-radius:5px}.roster-card.chosen{border-color:#f8d575;background:radial-gradient(ellipse at 50% 25%,#9a8d4e65,transparent 70%),#263a49;box-shadow:inset 0 0 0 2px #8d693d,0 4px #674824}.roster-art{height:139px;padding:0 3px;background:none;border:0}.roster-art .portrait{height:141px;width:100%;filter:drop-shadow(0 4px 2px #06111e99);transition:transform .25s}.roster-art:hover .portrait,.roster-art:focus-visible .portrait{transform:translateY(-3px) scale(1.04)}.card-caption{padding:1px 10px 12px;gap:3px;position:relative;background:linear-gradient(transparent,#0c1a2fe6 23%)}.card-caption b{font-size:1rem;min-height:20px;line-height:1.15;color:#fbecd4}.tier-stars{gap:0;min-height:18px}.tier-stars .vi{width:18px;height:18px}.growth-track{height:8px;border:2px solid #07101f;background:#071b28;border-radius:4px;box-shadow:0 1px #577283}.growth-track i{background:linear-gradient(#beef7b,#69b84a);box-shadow:inset 0 1px #e8ffb8;border-radius:2px}.growth-meta{margin-top:3px;font-size:.65rem;color:#b9d8e5}.growth-meta small{font:10px SkyGame}.growth-dot{width:6px;height:6px}.card-info{width:40px;height:40px;top:1px;right:1px;background:none;border:0;display:grid;place-items:center}.card-info .vi{width:30px;height:30px;opacity:.85}.chosen-badge{bottom:3px;right:5px;background:#163f2c;border:2px solid #a7dd78;width:27px;height:27px;border-radius:5px}.chosen-badge .vi{width:29px;height:29px}.lock-badge{background:#152336cc;border:1px solid #788fa7;border-radius:5px}.lock-badge .vi{width:35px;height:35px}.unowned .roster-art>.portrait{filter:grayscale(.65) brightness(.65)}
.team-rack{border:0;background:none;padding:0;gap:7px}.team-rack .loadout-orb{border:6px solid transparent;border-image:var(--frame-metal) 12 fill stretch;border-radius:0;background:#152a3f;min-height:83px;padding:0}.team-rack .portrait{height:61px}.team-rack .loadout-orb>.vi{width:33px;height:33px}.gesture-caption{font-size:.67rem;margin:6px 0;color:#b7cfdd}.gesture-caption>.vi{width:22px;height:22px}
.unlock-strip{border:2px solid #3e546a;background:#101e2e;border-radius:5px;padding:5px;gap:3px;font-size:.74rem}.unlock-strip .vi{width:25px;height:25px}.unlock-strip button,.training-tile>button{background:linear-gradient(#f6d66f,#c58a33);border:2px solid #634a25;box-shadow:inset 0 1px #ffefad,0 3px #071321;color:#fff7db;text-shadow:0 1px #845c25;border-radius:5px}.unlock-route{font-size:.65rem}
.gem-shelf{gap:7px;margin:0 0 8px}.gem-tile{border:2px solid #0a1628;border-top-color:#7c9eac;border-radius:7px;background:linear-gradient(#345066,#172b41);padding:3px 0 6px;box-shadow:inset 0 -3px #112034,0 3px #061021;min-height:88px}.gem-tile>.gem-icon{width:51px;height:51px;margin:-3px 0 -1px}.gem-tile b{font-size:1.2rem;color:#fff0c9}.gem-tile small{display:none}.gem-tile.selected{border-color:#fae08c;box-shadow:inset 0 0 0 1px #695437,0 3px #061021}.forge-workbench{border:8px solid transparent;border-image:var(--frame-metal) 12 fill stretch;border-radius:0;background:repeating-linear-gradient(45deg,#14273b 0 20px,#182c40 20px 40px);padding:5px 4px}.forge-workbench .gesture-caption{margin:2px 0;font-size:.66rem;justify-content:center}.forge-sockets{margin:6px auto 7px;max-width:290px;gap:0;align-items:center}.forge-socket{border:4px solid #aab7aa;border-radius:50%;width:83px;min-height:79px;background:radial-gradient(#355973,#0d1e30 70%);box-shadow:inset 0 0 0 3px #081c30,0 4px #091423;display:grid;place-items:center;padding:0}.forge-socket .gem-icon{width:68px;height:68px;filter:drop-shadow(0 4px 3px #030b16)}.forge-socket>span:not(.vi){font:12px SkyGame;position:absolute;right:0;bottom:0;background:#0b2036;border:1px solid #a4b3b3;border-radius:5px;padding:0 5px}.forge-core .vi{width:57px;height:57px}.recipe-reel{gap:8px;margin:2px 0}.recipe-reel>div{background:#0c1b2ab0;border-radius:6px;padding:0 0 5px;border-bottom:2px solid #456879}.recipe-reel .portrait{height:76px}.recipe-reel b{font:12px SkyGame}.recipe-reel span{font:12px SkyGame;color:#f5d487}.attribute-odds .vi{width:26px;height:26px}.attribute-odds{margin:0;gap:20px;font:12px SkyGame}.lore-details{font-size:.75rem;border-color:#58758a;border-radius:4px;background:#0b1a2b55}.lore-details summary{font-family:SkyGame;font-size:.8rem;padding:7px}.lore-details summary .vi{width:23px;height:23px}.nurture-bench{border:2px solid #476779;border-radius:6px;background:#102439;padding:8px;margin-top:10px}.nurture-bench header{font:15px SkyGame}.nurture-pay .gem-icon{width:32px;height:32px}.nurture-pay button{background:#233e52;border:2px solid #52768b;border-radius:5px}.fuse-cost .gem-icon{width:27px;height:27px}.hatch-result{border:7px solid transparent;border-image:var(--frame-brown) 12 fill stretch;border-radius:0;background:#172e43}.hatch-result h3{font-size:1.7rem}.attribute-badge{font-size:.75rem}.hatch-result .gold-button{font-size:1.2rem}.hatch-aura{height:140px}.hatch-aura .portrait{height:140px}
.move-socket{border:3px solid #7898a7;border-radius:6px;background:linear-gradient(#142438,#294960);box-shadow:inset 0 0 0 2px #0a1725,0 4px #061222;min-height:73px}.move-socket>.vi{width:52px;height:52px}.move-card{border:2px solid #53758c;border-radius:7px;background:linear-gradient(#29465d,#102137);box-shadow:0 4px #061220}.move-card.chosen{border-color:#ebc97b}.move-card button>.vi{width:58px;height:58px}.move-card b{font:16px SkyGame}.move-card small{font-size:12px}.move-card .card-info .vi{width:29px;height:29px}.move-card .card-info{padding:0}.move-card button small .vi{width:21px;height:21px}.training-tile{border:3px solid #587587;background:#192f43;border-radius:6px}.training-art>.vi{width:62px;height:62px}.training-tile b{font-size:1rem}.training-tile small{font-size:.7rem}.training-tile>button .vi{width:27px;height:27px}.training-tile>button{min-width:62px}
.inspect-screen{background:#06111dbf;backdrop-filter:none}.inspect-screen>div{border:8px solid transparent;border-image:var(--frame-metal) 12 fill stretch;background:#192e44;border-radius:0;box-shadow:0 8px 0 #071321;padding:18px 13px 13px}.inspect-screen h2{font-size:1.7rem}.inspect-close{background:transparent;border:0}.inspect-close .vi{width:35px;height:35px}.detail-stats .vi{width:31px;height:31px}.inspect-screen .gold-button{font-size:1.2rem;border-radius:6px}.trait-tiles button{background:#102338;border:2px solid #55768b;border-radius:5px}.trait-tiles button .vi{width:39px;height:39px}.inspect-symbol .vi{width:97px;height:97px}.inspect-screen p{font-size:.84rem;line-height:1.4}
.hud{left:15px;right:15px;top:12px}.hud .score-box{border:0;background:#06132699;border-radius:4px;padding:4px 7px;min-width:75px}.score-box strong{font-size:1.9rem;color:#fff3cf;line-height:1}.best{font-size:9px;letter-spacing:0;margin:3px 0 0}.hud-right .hearts{display:flex;justify-content:flex-end;gap:0;letter-spacing:0;line-height:1}.hearts .vi{width:23px;height:23px;animation:none}.hearts .lost .vi{filter:grayscale(1) brightness(.4)}.hud-actions{gap:8px;margin-top:4px}.coins>span .vi,.flight-gems .vi{width:25px;height:25px}.coins,.flight-gems{font:14px SkyGame;color:#fff0cd;gap:0;display:inline-flex;align-items:center}.flight-gems{color:#d6f4ff}.hud-actions .round-button{height:37px;width:37px;border-radius:7px}.hud-actions .round-button .vi{height:27px;width:27px}.flight-time{font:10px SkyGame;top:15px;color:#c2d9e4;letter-spacing:.2px}.pet-status{top:76px;gap:5px}.pet-chip{background:#0c1e31d9;border:1px solid #6991a3;border-radius:5px;padding:1px 6px;min-height:31px}.pet-hp .hp-pip{border-radius:2px;background:#294052;border:1px solid #081321}.pet-hp .hp-pip.full{background:linear-gradient(#c5ec89,#6bb94e);border-color:#223a2a}.pet-empty .vi{height:25px;width:25px}.boss-bar{top:114px;border:0;background:#091423a8;padding:4px 8px;border-radius:4px}.boss-bar>span{font:13px SkyGame}.boss-bar>div{border:2px solid #081627;border-radius:3px;background:#152436;height:10px}.boss-bar>div i{background:linear-gradient(#ffac70,#d94239);border-radius:1px}.boss-bar>span .vi{width:23px;height:23px}.boss-bar small .vi{height:20px;width:20px}.boss-bar small{font:10px SkyGame;line-height:20px}.boss-bar.exposed>div i{background:linear-gradient(#ffe89c,#e8b54f)}
.evo-bar{left:18px;bottom:24px;right:112px}.evo-top{font:12px SkyGame;min-height:18px}.energy{border:2px solid #0a182b;height:9px;box-shadow:0 1px #83a1ac77;border-radius:3px}.energy>div{border-radius:1px}.skill-strip{left:18px;bottom:84px;gap:6px}.tech-button{border:2px solid #8ca5a8;border-radius:7px;background:linear-gradient(#294b64,#0c1d30);box-shadow:inset 0 0 0 1px #123248,0 3px #061220;height:60px;width:52px;overflow:hidden}.tech-button>span .vi{width:43px;height:43px}.tech-button>small{font:11px SkyGame;background:#061729aa;border-radius:2px;padding:0 3px;z-index:2;position:relative}.tech-button.charged{border-color:#fbe68d;box-shadow:0 0 0 1px #9b6c32,0 3px #061220}.tech-button.charged:before{border-radius:3px}.pulse{right:18px;bottom:25px;width:76px;height:76px;border-radius:9px;border:3px solid #e4cb8f;background:linear-gradient(#385776,#152942);box-shadow:inset 0 0 0 3px #102137,0 4px #081522;overflow:hidden}.pulse-symbol{display:block;line-height:1}.pulse-symbol .vi{width:48px;height:48px}.pulse>span:nth-child(2){font:11px SkyGame;letter-spacing:.5px}.pulse-sweep{border-radius:3px}.active-boost{font:12px SkyGame;border-radius:5px;background:#0c2238de}.active-boost .vi{width:30px;height:30px}.memory-peek{border:2px solid #e8cc7d;background:#183b52;border-radius:6px}.memory-peek .vi{width:31px;height:31px}
.scrim{background:#051120b8;backdrop-filter:none}.scrim h2{font-size:2.4rem}.pause-content,.over-content,.memory-content,.swap-content{background:#152b40;border:8px solid transparent;border-image:var(--frame-metal) 12 fill stretch;border-radius:0;padding:20px 13px}.over-content h2{font-size:2rem}.scrim .overline:empty{display:none}.over-content .final-score{font-size:2.8rem}.reward-art .portrait{height:115px}.result-row .vi,.gem-summary .vi{width:29px;height:29px}.new-best{font:16px SkyGame;color:#f9d776}.cinematic-copy{bottom:18%}.cinematic-copy h2{font-size:2rem}.cinematic-copy>p{font:14px SkyGame;letter-spacing:1px}.cinematic-copy .vi{width:29px;height:29px}.cinematic-copy>span{font:16px SkyGame}.cinematic-panel>button{border-radius:6px;font:14px SkyGame;background:#18384e;border:2px solid #9bb8bc}.travel-panel{position:absolute;inset:0;z-index:55;display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:auto;gap:8px;text-align:center;padding:25px}.travel-emblem .vi{width:94px;height:94px}.travel-panel small{font:14px SkyGame;color:#e5c980;letter-spacing:3px;text-shadow:0 2px #071421}.travel-panel h2{font:2.2rem/1.05 SkyGame;margin:0;color:#fff2c9;-webkit-text-stroke:1px #101e30;text-shadow:0 4px #071321;max-width:290px}.travel-panel>button{position:absolute;right:18px;bottom:25px;min-width:80px;min-height:44px;font-size:.9rem}.scenery-badge{display:none!important}
.chapter-node{border:3px solid #607e91;border-radius:7px;box-shadow:0 4px #061422;min-height:155px}.chapter-node.complete{border-color:#a5ca86}.chapter-caption b{font-size:1.4rem}.chapter-caption small{font:12px SkyGame}.chapter-caption .vi{width:27px;height:27px}.chapter-scenery{filter:brightness(.7)}.journal-link{font:14px SkyGame;background:#294354;border:2px solid #597a8e;border-radius:5px;min-height:40px;color:#f6edce}.form-gallery>article{border:3px solid #5a7c95;border-radius:6px;background:#142a40}.form-gallery b{font:17px SkyGame}.form-gallery small{font:12px SkyGame}.mission-art,.mission-route{border-radius:5px}.mission-goal{font:18px SkyGame}.mission-goal .vi{width:31px;height:31px}
@media(max-width:360px){.screen{padding:13px 11px}.start-screen{padding-top:57px;padding-bottom:12px;gap:6px}.home-wallet{left:12px;right:12px;top:12px}.start-bottom>#credits{top:59px;left:12px}.atlas-count{top:63px;right:12px}.title-block h1{font-size:2.8rem}.tagline{font-size:.74rem}.home-loadout{gap:6px}.home-hero,.home-loadout .loadout-orb{min-height:72px}.home-hero .portrait,.home-loadout .portrait{height:49px}.start-bottom>#fly,.start-bottom>#campaign{min-height:39px;font-size:.85rem;padding:1px 4px}.start-bottom>#launch{min-height:56px;font-size:1.65rem}.start-bottom>#collection,.start-bottom>#forge-home{min-height:49px;font-size:.95rem}.start-bottom>#collection .vi,.start-bottom>#forge-home .vi{height:37px;width:37px}.home-hero span,.home-loadout .orb-label{font-size:9px}.panel-head h2{font-size:1.65rem}.panel-head{min-height:53px}.tabs button{min-height:55px;font-size:.6rem}.tabs button .vi{height:30px;width:30px}.roster-grid{gap:10px 8px}.roster-art{height:124px}.roster-art .portrait{height:126px}.card-caption{padding:1px 8px 10px}.card-caption b{font-size:.88rem}.gem-tile{min-height:76px}.gem-tile>.gem-icon{width:43px;height:43px}.gem-tile b{font-size:1.05rem}.forge-socket{width:75px;min-height:72px}.forge-socket .gem-icon{width:62px;height:62px}.forge-core .vi{width:48px;height:48px}.recipe-reel .portrait{height:67px}.recipe-reel b{font-size:11px}.forge-workbench .gesture-caption{font-size:.6rem}.collection-action .gold-button{min-height:47px}.team-rack .portrait{height:48px}.team-rack .loadout-orb{min-height:70px}.travel-panel h2{font-size:1.9rem}}
@media(max-height:650px){.start-screen{padding-top:54px;gap:5px}.title-block h1{font-size:2.7rem}.tagline{font-size:.7rem}.home-hero,.home-loadout .loadout-orb{min-height:69px}.home-hero .portrait,.home-loadout .portrait{height:46px}.start-bottom>#launch{min-height:53px}.start-bottom>#collection,.start-bottom>#forge-home{min-height:47px}.start-bottom>#fly,.start-bottom>#campaign{min-height:36px}.start-bottom>#fly .vi,.start-bottom>#campaign .vi{height:28px;width:28px}.atlas-count{top:59px}.start-bottom>#credits{top:55px}.pause-content,.over-content{padding:12px}.over-content .reward-art{display:none}.scrim h2{font-size:1.8rem}.travel-emblem .vi{width:77px;height:77px}}
@media(prefers-reduced-motion:reduce){.vi.model-icon,button:hover>.vi,button:focus-visible>.vi{animation:none!important;background-position-x:0}.roster-art:hover .portrait{transform:none}}

.forge-socket>.vi{position:static!important;border:0;border-radius:0;background-color:transparent;box-shadow:none;padding:0;max-width:none;right:auto;bottom:auto}.forge-socket>.vi{height:68px;width:68px}.start-bottom>#credits{z-index:2}.hud .tiny{display:none}
@media(max-width:360px){.forge-socket>.vi{height:62px;width:62px}}

.title-block h1{font-size:clamp(2.45rem,10vw,3.5rem);line-height:.85;letter-spacing:-.5px}.title-block h1 span{display:block}.title-block h1 small{display:block;font:inherit;font-size:.64em;letter-spacing:.18em;line-height:1.4;margin-left:.18em}.title-block .tagline{margin-top:5px}@media(max-width:360px),(max-height:650px){.title-block h1{font-size:2.35rem}}

/* Keep the title clear on compact screens; discoveries remain saved. */
@media(max-width:360px){.start-screen .atlas-count{display:none}}

/* Sound controls stay separate from the loadout and currency panels. */
.audio-open{position:absolute;z-index:12;top:13px;left:calc(50% - 21px);width:42px;height:42px;border:2px solid #d8ad57;border-radius:13px;background:linear-gradient(#386683,#11283d);box-shadow:0 3px 0 #081728;color:#ffdf8e;padding:9px;cursor:pointer}.audio-open svg{width:100%;height:100%;fill:currentColor;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}.audio-unlock{position:absolute;top:61px;left:50%;transform:translateX(-50%);z-index:13;border:1px solid #c7a361;border-radius:12px;background:#11283de8;color:#ffe1a2;padding:4px 10px;font:12px system-ui;white-space:nowrap}.audio-panel{z-index:60!important}.audio-content{width:min(340px,87%);padding:26px;border:3px solid #d6ae68;border-radius:22px;background:linear-gradient(#244867,#101f38);box-shadow:0 15px 65px #000a;display:grid;gap:16px}.audio-content h2{margin:0;color:#ffe3a9;font-size:32px}.audio-content p{font:13px system-ui;margin:0;color:#c1d6e7}.audio-content label{font:19px 'Game',system-ui;display:flex;justify-content:space-between;color:#fff0d5}.audio-content input{width:100%;height:28px;accent-color:#ffd477;touch-action:pan-x}.audio-content button{width:100%}.audio-content output{font:14px system-ui;color:#e5cf9a}button[hidden]{display:none!important}
