:root{--ink:#182232;--panel:#242d3c;--panel-2:#30384b;--panel-soft:#1f2735cc;--rim:#b89a75;--cream:#ead8b7;--muted:#c3b5a6;--gold:#dbb879;--sage:#90b39d;--danger:#c47c73;--violet:#ac92bd;--shadow:#101723;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;background:#121926;color:var(--cream);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button{font:inherit;cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,input:focus-visible{outline:3px solid #d5e4d0;outline-offset:3px}img{display:block;max-width:100%}#app{min-height:100dvh;display:grid;place-items:center;background:radial-gradient(ellipse at top,#313f53,#121926 70%)}#game-shell{width:min(100%,1220px);min-height:min(100dvh,860px);display:flex;flex-direction:column;background:linear-gradient(#202b3b,#0f1623);border-inline:1px solid #5f6670;position:relative;overflow:hidden}#topbar{height:72px;display:flex;align-items:center;gap:14px;padding:10px clamp(14px,2vw,26px);border-bottom:1px solid #726865;background:#1b2432;z-index:5}.brand{display:flex;gap:10px;align-items:center;font-family:Georgia,Times New Roman,serif;font-weight:700;letter-spacing:.12em;font-size:24px;color:#e6c79b;text-shadow:0 2px #382f36}.brand small{display:block;font:10px Inter,sans-serif;letter-spacing:.32em;color:#b8a8a2}.rune{color:#e8bc81;font-size:26px}.hud-currencies{margin-left:auto;display:flex;gap:10px}.hud-currencies span{border:1px solid #665d60;background:#2f3647;padding:7px 10px;border-radius:999px;white-space:nowrap;min-width:90px;text-align:center}.hud-currencies span:first-child{color:#ecc887}.hud-currencies span:last-child{color:#c8a8d6}.icon-button{background:#2c3445;border:1px solid #826f6a;color:var(--cream);border-radius:10px;padding:8px 12px}#view{flex:1;display:flex;min-height:640px;position:relative;overflow:hidden}#footer{display:flex;justify-content:space-around;align-items:center;border-top:1px solid #6e6465;background:#1b2532;min-height:60px}#footer button{background:none;border:0;color:#c8bdaf;padding:12px 6px;font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}#footer button:hover{color:#f5d9a3}.screen{width:100%;padding:28px;position:relative;min-height:640px}.screen.with-bg{background-size:cover;background-position:center}.screen.with-bg:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#141b29dd,#1b243458 50%,#141b28ce)}.screen>*{position:relative;z-index:1}.screen h1,.screen h2,.screen h3{font-family:Georgia,Times New Roman,serif;letter-spacing:.03em;margin:0 0 12px}.eyebrow{text-transform:uppercase;letter-spacing:.24em;color:#dcc29b;font-size:12px;font-weight:700}.helper{max-width:620px;color:#ddd0bd;line-height:1.65}.helper.compact{font-size:14px;line-height:1.55}.small{font-size:13px;color:#c4b7a8}.button{display:inline-flex;align-items:center;justify-content:center;color:#241f2d;background:linear-gradient(#e5ca96,#bf9964);border:2px solid #f0d5a3;border-radius:10px;box-shadow:0 3px #6e5949;padding:13px 20px;font-size:15px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;min-height:48px}.button.secondary{background:linear-gradient(#4c5568,#374051);color:#eadbc0;border-color:#978878;box-shadow:0 3px #222633}.button.reward{background:linear-gradient(#b7d8ae,#85b99f);border-color:#d2e4bc}.button:hover{filter:brightness(1.06)}.button-row{display:flex;gap:10px;flex-wrap:wrap}.button-row.center{justify-content:center}.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:20px}.section-head h1{font-size:clamp(30px,4vw,46px)}.card{background:linear-gradient(180deg,#2b3344ea,#232b39f0);border:1px solid #8f7c69;box-shadow:inset 0 0 0 1px #3f4758,0 10px 30px #0000003d;border-radius:18px;padding:20px}.card h3{font-size:24px;margin-bottom:10px}.dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.dashboard-grid.three-col .card{min-height:220px}.hero-home-grid{display:grid;gap:18px}.hero-banner{display:grid;grid-template-columns:1.3fr .8fr;gap:20px;align-items:center;padding:28px;border-radius:24px;background:linear-gradient(135deg,#222d3fd8,#263246b6);border:1px solid #907e69;box-shadow:0 18px 40px #00000040}.hero-title{font-size:clamp(44px,6vw,78px)!important;line-height:.92;color:#ebd2ab;text-shadow:3px 4px 0 #453a47;margin-bottom:14px}.hero-title span{display:block;font-size:.42em;letter-spacing:.12em;margin-top:10px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0 16px}.inline-meta{display:flex;gap:10px;flex-wrap:wrap}.inline-meta span{background:#1b2433c9;border:1px solid #6f6867;border-radius:999px;padding:8px 12px;font-size:13px}.hero-illustration{justify-self:end;width:min(100%,360px);filter:drop-shadow(0 18px 16px rgba(14,16,26,.45))}.stat-list,.meta-stack{display:grid;gap:10px}.stat-list div,.meta-stack div{display:flex;justify-content:space-between;gap:12px;padding-bottom:8px;border-bottom:1px solid #4b5564}.stat-list div:last-child,.meta-stack div:last-child{border-bottom:0;padding-bottom:0}.tips-list{margin:0;padding-left:18px;display:grid;gap:8px;color:#d8cbbb}.mini-progress{height:10px;border-radius:999px;background:#1a2330;border:1px solid #72665e;overflow:hidden;margin:12px 0 8px}.mini-progress span{display:block;height:100%;background:linear-gradient(90deg,#e5c18a,#8eb598)}.world-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.world-card{position:relative;min-height:220px;border:1px solid #927d6a;border-radius:18px;background-size:cover;background-position:center;overflow:hidden;padding:18px;display:flex;flex-direction:column;justify-content:flex-end;gap:6px;color:#fff;text-align:left;box-shadow:0 12px 24px #00000038}.world-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(transparent,#141d2be8)}.world-card>*{position:relative;z-index:1}.world-card strong{font-family:Georgia,Times New Roman,serif;font-size:28px;line-height:1}.world-card p{margin:0;font-size:14px;line-height:1.5;color:#e4d8c5}.world-card .world-tag{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#e6c597}.world-card.locked{filter:grayscale(1);opacity:.64}.detail-layout{display:grid;grid-template-columns:1.3fr .9fr;gap:16px;align-items:start}.stage-board{min-height:420px}.stage-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.stage-tile{min-height:92px;background:#31394c;border:2px solid #837569;border-radius:14px;color:#dfcfbb;font-weight:700;padding:10px;text-align:left;display:flex;flex-direction:column;gap:8px;justify-content:space-between}.stage-tile .stage-number{font-size:14px;letter-spacing:.08em;text-transform:uppercase;color:#f0d5aa}.stage-tile .stage-lesson{font-size:12px;line-height:1.35;color:#d2c3b4}.stage-tile.available{border-color:#e2b979;background:#4d4a57}.stage-tile.cleared{border-color:#7a9a83}.stage-tile.boss{background:#4b3945;border-color:#d59b92}.hero-layout{grid-template-columns:1.15fr .85fr .85fr}.hero-panel{display:grid;grid-template-columns:.9fr 1.1fr;gap:16px;align-items:center}.hero-portrait-large{width:100%;max-width:280px;justify-self:center}.chip-wrap{display:flex;flex-wrap:wrap;gap:8px}.chip{padding:8px 12px;border-radius:999px;background:#1d2737;border:1px solid #726762;font-size:13px}.meta-price{margin:16px 0 18px;color:#e7d2ae;font-size:18px}.settings-grid{display:grid;gap:12px}.setting{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #595461;padding-bottom:14px}.settings-help{font-size:12px;color:#b4a79b}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.cards.four{grid-template-columns:repeat(4,minmax(0,1fr))}.upgrades-panel{width:min(980px,100%);margin:auto;padding-top:30px}.upgrade-card{min-height:210px;border:2px solid #a18d7e;border-radius:16px;background:linear-gradient(#393b50,#282d3e);color:var(--cream);padding:18px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;justify-content:space-between;gap:10px;transition:transform .14s,border-color .14s}.upgrade-card:hover{transform:translateY(-5px);border-color:#e2bf8a}.upgrade-card strong{font:700 22px Georgia,Times New Roman,serif}.tier-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:#1f2837;border:1px solid #786d64;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#e9cca3}.reward-wrap{margin:auto;text-align:center;max-width:620px;padding-top:34px}.reward-hero{height:220px;width:auto;margin:0 auto}.reward-numbers{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;font-size:24px;margin:22px 0}.reward-numbers span{padding:10px 16px;background:#232e3f;border-radius:12px;border:1px solid #6c6762}.combat-screen{padding:0!important;display:flex!important;flex-direction:column;background:#182533}.combat-header{height:60px;width:100%;display:flex;justify-content:space-between;align-items:center;padding:8px 18px;background:#1b2535e8;border-bottom:1px solid #7a716d;z-index:2}.combat-subtitle{margin-top:3px}.combat-head-actions{display:flex;align-items:center;gap:10px}.combat-pill{background:#263143;border:1px solid #6f6862;border-radius:999px;padding:7px 12px;font-size:13px}.combat-center{position:relative;flex:1;width:100%;display:grid;place-items:center;min-height:0}.combat-back{position:absolute;top:0;right:0;bottom:0;left:0;background-position:center;background-size:cover;filter:brightness(.82)}.battle-frame{width:min(94%,470px);height:100%;max-height:660px;position:relative;box-shadow:0 0 0 2px #847566,0 0 0 8px #1a2435a4;overflow:hidden;background:#15243666;border-radius:8px}canvas{width:100%;height:100%;display:block;touch-action:none;cursor:crosshair}.combat-overlay-top{position:absolute;top:14px;left:14px;right:14px;display:grid;grid-template-columns:1fr 1fr;gap:10px;pointer-events:none}.intent-card,.mission-card{padding:12px 14px;border-radius:14px;background:#182232df;border:1px solid #7b716a;box-shadow:0 10px 16px #0003}.intent-card strong,.mission-card strong{display:block;font-size:14px;line-height:1.45;margin-top:4px}.combat-bottom{position:absolute;bottom:14px;left:0;right:0;display:flex;justify-content:center;gap:8px;pointer-events:none}.combat-bottom button{pointer-events:auto}.modal-card{width:min(470px,100%);text-align:center}.modal-shroud{position:absolute;top:0;right:0;bottom:0;left:0;background:#0e1425d2;display:grid;place-items:center;padding:20px;z-index:10}.toast{position:absolute;top:76px;left:50%;transform:translate(-50%);background:#222b3cea;border:1px solid #c3a47e;padding:10px 15px;border-radius:10px;z-index:25;pointer-events:none}.hint{position:absolute;bottom:82px;left:50%;transform:translate(-50%);font-size:13px;padding:8px 14px;background:#1c263ad9;border:1px solid #a99c88;border-radius:8px;white-space:nowrap}@media(max-width:900px){.dashboard-grid,.world-list,.detail-layout,.hero-layout,.hero-panel,.cards.four{grid-template-columns:1fr 1fr}.hero-banner{grid-template-columns:1fr}.hero-illustration{justify-self:center;width:min(100%,260px)}}@media(max-width:680px){#game-shell{min-height:100dvh}.brand{font-size:17px}.brand small{font-size:8px}.hud-currencies{gap:6px}.hud-currencies span{padding:5px 8px;font-size:11px;min-width:auto}.screen{padding:16px;min-height:calc(100dvh - 132px)}.section-head{flex-direction:column}.dashboard-grid,.world-list,.detail-layout,.hero-layout,.hero-panel,.cards,.cards.four{grid-template-columns:1fr}.stage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.button{font-size:13px;padding:11px 14px}.hero-title{font-size:42px!important}.combat-center{height:calc(100dvh - 192px);flex:none}.battle-frame{width:100%;max-width:470px}.combat-overlay-top{grid-template-columns:1fr}.hint{font-size:11px;bottom:78px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.boss-indicator{position:absolute;left:12px;right:12px;bottom:49px;padding:9px 11px;text-align:center;border:1px solid #94a885;background:#1b2b2ce8;color:#c6d8b9;font-weight:800;font-size:11px;letter-spacing:.09em;border-radius:8px;pointer-events:none;z-index:2}.boss-indicator.exposed{border-color:#ddb27c;color:#f3d0a0;background:#42352cdb}@media(max-width:680px){.boss-indicator{bottom:48px;font-size:10px;letter-spacing:.03em;padding:7px 8px}.combat-overlay-top .eyebrow{font-size:9px}.combat-overlay-top strong{font-size:11px}.combat-overlay-top{top:7px;left:7px;right:7px;gap:5px}.intent-card,.mission-card{padding:8px 9px}}:root{--game-paper:#f1dbb6;--game-gold:#f2c67c;--game-gold-dark:#9f6940;--game-ink:#251a28;--game-berry:#543644;--game-violet:#312538;--game-outline:#553b37;--game-sage:#b6cfab;--chrome-top:74px;--chrome-bottom:74px}html,body{width:100%;height:100%;overscroll-behavior:none}body{background:#241f2b;color:var(--game-paper)}#app{display:block;min-height:100dvh;background:none}#game-shell{width:100%;max-width:none;min-height:100dvh;height:100dvh;border:0;box-shadow:none;position:relative;isolation:isolate;overflow:hidden;background:#2c2737 url(/assets/arenas/woods.webp) center/cover no-repeat}#game-shell:before{content:none}#view{display:block;flex:none;width:100%;height:100dvh;min-height:0;position:relative;z-index:1;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-color:#a27b67 #322838;background:transparent}#view>.screen{min-height:100dvh;height:auto;width:100%;padding:calc(var(--chrome-top) + 32px + env(safe-area-inset-top,0px)) max(24px,env(safe-area-inset-right,0px)) calc(var(--chrome-bottom) + 26px + env(safe-area-inset-bottom,0px)) max(24px,env(safe-area-inset-left,0px));background-position:center center;background-size:cover;background-repeat:no-repeat;isolation:isolate}.screen.with-bg:before{background:linear-gradient(90deg,#120f1da1,#15121f3d 45%,#120f1d73)}.screen:not(.with-bg){background:linear-gradient(115deg,#19131fb3,#1f172240),url(/assets/arenas/woods.webp) center/cover no-repeat}#topbar{position:absolute;left:0;right:0;top:0;height:var(--chrome-top);z-index:20;padding:calc(10px + env(safe-area-inset-top,0px)) clamp(14px,3vw,38px) 8px;background:linear-gradient(180deg,rgba(23,15,29,.89),rgba(23,15,29,.46) 69%,transparent);border:0;display:flex;gap:12px;align-items:center;pointer-events:none}#topbar>*{pointer-events:auto}.brand{font-family:Georgia,Times New Roman,serif;font-size:clamp(19px,2.1vw,29px);letter-spacing:.07em;color:#ffe1a0;text-shadow:0 2px 3px #1c1127,0 0 14px #2515269e}.brand small{letter-spacing:.22em;color:#f6dcba;font-size:9px}.rune{color:#ffdb91;text-shadow:0 2px 6px #331b31}.hud-currencies{gap:10px}.hud-currencies span{display:inline-flex;gap:6px;align-items:center;justify-content:center;min-width:78px;padding:7px 14px;border-radius:999px;background:linear-gradient(#604051ef,#342535ec);border:2px solid #a68162;box-shadow:inset 0 1px #f7d69b55,0 3px 8px #120d1b66;color:#ffe0a6!important;font-weight:800;text-shadow:0 1px 1px #221523}.icon-button{color:#ffe3b3;min-width:46px;min-height:43px;border:2px solid #c39b6b;border-radius:12px;background:linear-gradient(150deg,#735260,#38293d);box-shadow:inset 0 2px #f8daa454,0 4px #241628,0 7px 12px #130d1790;text-shadow:0 2px #251426;font-weight:900}#footer{position:absolute;bottom:0;left:0;right:0;z-index:20;min-height:var(--chrome-bottom);padding:8px max(14px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(14px,env(safe-area-inset-left,0px));border:0;display:flex;gap:clamp(5px,2vw,22px);justify-content:center;align-items:center;background:linear-gradient(0deg,rgba(22,15,27,.94),rgba(22,15,27,.48) 72%,transparent);pointer-events:none}#footer button{pointer-events:auto;position:relative;flex:0 1 156px;min-height:46px;padding:9px clamp(9px,1.5vw,18px);border:2px solid #aa865d;border-radius:11px;background:linear-gradient(150deg,#624353,#342638);box-shadow:inset 0 1px #fbe0af61,0 3px #211424,0 5px 10px #170e1e83;color:#f7dfb6;letter-spacing:.09em;font-size:clamp(10px,1.1vw,13px);text-shadow:0 1px 2px #190f1f;transition:transform .13s,filter .13s}#footer button:hover,.icon-button:hover{filter:brightness(1.12);transform:translateY(-1px)}#footer button:active,.icon-button:active{transform:translateY(2px);box-shadow:inset 0 1px #fbe0af30,0 1px #211424}#footer button:focus-visible,.button:focus-visible,.icon-button:focus-visible{outline:3px solid #eaf4d3;outline-offset:3px}.screen h1,.screen h2,.screen h3{font-family:Georgia,Times New Roman,serif;color:#ffe1ac;text-shadow:0 2px 0 #362336,0 4px 9px #100c22ad;letter-spacing:.014em}.eyebrow{color:#f6c785;text-shadow:0 2px 4px #170f20;letter-spacing:.18em}.helper,.small,.world-card p{color:#f0dfc8;text-shadow:0 1px 3px #120c1e85}.button{position:relative;isolation:isolate;overflow:hidden;min-height:52px;padding:13px clamp(18px,2vw,31px);border:3px solid #774c34;border-radius:11px;color:#39251f;background:linear-gradient(180deg,#ffe6a3,#e7b766 37%,#d08c43 76%,#ae6a35);box-shadow:inset 0 2px #fff4cf,inset 0 -3px #985628,0 3px #4d2d2a,0 7px 14px #160e1e8c;text-shadow:0 1px #ffe6ad8c;letter-spacing:.05em;font-family:Georgia,Times New Roman,serif;font-size:clamp(14px,1.25vw,17px);font-weight:800;transition:transform .14s,filter .14s,box-shadow .14s}.button:before{content:"";position:absolute;top:5px;right:5px;bottom:5px;left:5px;z-index:-1;border:1px solid #ffe7b56b;border-radius:6px;pointer-events:none}.button:hover{filter:brightness(1.12);transform:translateY(-2px)}.button:active{transform:translateY(3px);box-shadow:inset 0 2px #fff4cf,0 1px #4d2d2a}.button.secondary{color:#f9e4c0;border-color:#6e4c50;background:linear-gradient(180deg,#7c5864,#573949 55%,#3a293b);box-shadow:inset 0 2px #eabfa65c,inset 0 -2px #342137,0 3px #30202f,0 7px 14px #160e1e8c;text-shadow:0 2px #2e1a2b}.button.reward{color:#203b30;border-color:#466c50;background:linear-gradient(#ecf2be,#b4cf92 55%,#78a87b);box-shadow:inset 0 2px #faffde,0 3px #36543b,0 7px 14px #160e1e8c}.card,.panel{color:#f4dfbe;border:3px solid #9b764e;border-radius:16px;background:linear-gradient(145deg,#3f2d3af5,#231c2bf2);box-shadow:inset 0 0 0 2px #e9c28a35,inset 0 2px #fee4b63c,0 10px 32px #100b17a3}.card h3{color:#ffddac}.hero-banner{border:2px solid #b89161;border-radius:20px;background:linear-gradient(105deg,#281b2ade,#34242f99 62%,#33243121);box-shadow:inset 0 0 0 2px #f3d6a82b,0 12px 40px #0d09179c}.hero-title{color:#ffe4ac!important;text-shadow:0 3px #533141,0 7px 14px #110b1b!important}.hero-illustration{filter:drop-shadow(0 16px 9px #190c1a8c)}.inline-meta span,.chip,.meta-price,.tier-badge{color:#f5ddb8;border-color:#9c795d;background:linear-gradient(#5d4550e8,#36293be8)}.world-card{border:3px solid #987551;border-radius:16px;min-height:235px;box-shadow:inset 0 0 0 2px #f0d1a648,0 10px 24px #100c1da3}.world-card:before{background:linear-gradient(transparent 15%,#191220c9 90%)}.world-card strong{color:#ffe3b9;text-shadow:0 3px 4px #160e1d}.stage-tile{border:2px solid #99704b;border-radius:10px;background:linear-gradient(#6c4e56eb,#392b40ed);box-shadow:inset 0 1px #f8d8a35c,0 3px #231925;color:#f6d9ae;transition:filter .15s,transform .15s}.stage-tile:hover:not(:disabled){filter:brightness(1.12);transform:translateY(-2px)}.stage-tile.available{border-color:#f5c06c;background:linear-gradient(#a37a5a,#6c4b46)}.stage-tile.cleared{border-color:#a3bd91}.stage-tile.boss{border-color:#ca7c72;background:linear-gradient(#754b51,#4b2e42)}.upgrade-card{border:3px solid #a98460;border-radius:14px;background:linear-gradient(#59404f,#352a41 65%,#292338);box-shadow:inset 0 0 0 2px #e2c39b32,0 10px 23px #100b16bd}.upgrade-card strong{color:#f9d9a7}.mini-progress,.stat-bar{border-color:#a3835e;background:#241a2d}.mini-progress span,.stat-bar span{background:linear-gradient(90deg,#e9a85f,#f6d69a,#a3c9a5)}.combat-screen{min-height:100dvh!important;height:100dvh;padding:0!important;background:none!important;display:block!important}.combat-header{position:absolute;left:clamp(12px,2vw,28px);right:clamp(12px,2vw,28px);top:calc(var(--chrome-top) + env(safe-area-inset-top,0px));z-index:7;width:auto;height:auto;min-height:58px;padding:8px 16px;border:2px solid #a47e5c;border-radius:13px;background:linear-gradient(#584053e8,#302639e9);box-shadow:inset 0 1px #f2d29a50,0 8px 18px #160c1c8a}.combat-pill{color:#f5dcad;border:1px solid #ba9565;background:#3a2b40;border-radius:8px}.combat-center{width:100%;height:100dvh;min-height:100dvh;display:grid;place-items:center;position:relative}.combat-back{top:0;right:0;bottom:0;left:0;filter:none;background-size:cover;background-position:center}.battle-frame{width:min(420px,calc((100dvh - 248px)*.689),calc(100vw - 32px));height:min(610px,calc(100dvh - 248px));max-height:none;min-height:310px;overflow:hidden;border:3px solid #9d7752;border-radius:12px;background:linear-gradient(#1a1726a8,#201c31aa);box-shadow:inset 0 0 0 3px #f0bd7e2b,0 0 0 5px #2c2239b8,0 17px 35px #130c1f9e;margin-top:24px}.combat-overlay-top{top:10px;left:10px;right:10px;gap:8px}.intent-card,.mission-card,.boss-indicator{color:#f9e0ba;border:1px solid #ad875e;border-radius:10px;background:linear-gradient(#4f3849e9,#2b2437ee);box-shadow:0 5px 12px #170c1e70}.intent-card strong,.mission-card strong{font-size:12px}.boss-indicator{background:linear-gradient(#78484b,#432d3d)}.hint{color:#f9dfac;border:2px solid #c19b61;border-radius:9px;background:linear-gradient(#664753e8,#362b40ef);box-shadow:0 4px 12px #100b1ba8}.modal-shroud{background:#140d1ebd;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.toast{color:#ffe6bd;background:#3e2c3fee;border:2px solid #b58c5d}@media(max-width:820px){:root{--chrome-top:65px;--chrome-bottom:74px}.hero-banner{grid-template-columns:1fr 160px;gap:12px}.hero-illustration{width:min(100%,170px)}.dashboard-grid,.world-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){:root{--chrome-top:60px;--chrome-bottom:67px}#topbar{padding:calc(4px + env(safe-area-inset-top,0px)) 10px 6px;gap:6px}.brand{font-size:15px;letter-spacing:.025em}.brand small{font-size:7px;letter-spacing:.12em}.rune{font-size:17px}.hud-currencies{gap:4px}.hud-currencies span{padding:5px 6px;min-width:0;font-size:11px;border-width:1px}.icon-button{min-width:38px;min-height:38px;padding:6px 8px}#view>.screen{padding:calc(var(--chrome-top) + 20px + env(safe-area-inset-top,0px)) 12px calc(var(--chrome-bottom) + 15px + env(safe-area-inset-bottom,0px))}#footer{gap:4px;padding:5px 8px calc(8px + env(safe-area-inset-bottom,0px))}#footer button{font-size:10px;min-height:42px;flex:1;padding:9px 5px;border-width:1px}.hero-banner{grid-template-columns:1fr;gap:0;padding:20px}.hero-illustration{position:absolute;width:130px;opacity:.65;right:5px;top:42px;z-index:-1}.hero-title{font-size:clamp(34px,11vw,51px)!important}.hero-banner .helper{max-width:85%}.dashboard-grid,.world-list,.detail-layout,.hero-layout,.hero-panel,.cards,.cards.four{grid-template-columns:1fr}.stage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.card{padding:16px}.combat-screen{padding:0!important}.combat-header{top:calc(var(--chrome-top) + env(safe-area-inset-top,0px));left:8px;right:8px;padding:7px 9px}.combat-head-actions{gap:5px}.combat-pill{padding:5px 7px;font-size:11px}.combat-center{height:100dvh;min-height:100dvh}.battle-frame{width:min(420px,calc((100dvh - 225px)*.689),calc(100vw - 12px));height:min(610px,calc(100dvh - 225px));margin-top:26px}.combat-overlay-top{grid-template-columns:1fr;top:8px;gap:4px}.mission-card{display:none}}@media(max-height:650px){.battle-frame{width:min(420px,calc((100dvh - 165px)*.689),calc(100vw - 12px));height:min(610px,calc(100dvh - 165px));margin-top:14px}}@media(prefers-reduced-motion:reduce){.button,#footer button,.world-card,.stage-tile,.upgrade-card{transition:none!important}}.battle-frame{aspect-ratio:420 / 610;width:min(94%,470px,calc((100dvh - 180px) * 420 / 610));height:auto;max-height:100%;flex:none}#battle{display:block;width:100%;height:100%;aspect-ratio:420 / 610;touch-action:none}@media(max-width:680px){.battle-frame{width:min(100%,calc((100dvh - 192px) * 420 / 610))}}
