/* v27 — clear combat objectives and thumb-reachable growth controls. */
.legacy-growth{display:none!important}
.growth-intro{color:#a8bfd4;font-size:12px;line-height:1.6;margin:0 0 12px}
.growth-rows{display:grid;gap:9px;flex:none}
.growth-row{display:grid;grid-template-columns:36px minmax(0,1fr) 90px;align-items:center;gap:10px;padding:12px;border:1px solid #34485d;border-radius:12px;background:linear-gradient(110deg,#192d3f,#102030);min-height:86px}
.growth-row h2{font-size:14px;margin:0 0 5px;color:#eaf1f8}.growth-row h2 small{font-size:10px;font-weight:400;color:#9eb2c9;margin-left:4px}
.growth-row strong{font-size:15px;color:#f7e4aa}.growth-row em{font-style:normal;font-size:13px;color:#8cd9bc}.growth-row p{font-size:10px;color:#9eb1c5;margin:5px 0 0}
.growth-icon{display:grid;place-items:center;font-size:24px;color:#c9bcff}.growth-icon.hp{color:#8ce1b4}.growth-icon.fortune{color:#eac66e}.growth-icon.speed{color:#92d7fb}
.growth-row button{display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:56px;background:linear-gradient(#edce8a,#cba769);color:#162336;border:1px solid #f5dca0;border-radius:9px;font-size:13px;padding:7px}
.growth-row button span{font-size:11px}.growth-row button:disabled{background:#26394a;color:#7d91a6;border-color:#3b4c5e;opacity:1}
#page-growth{overflow-y:auto!important;overscroll-behavior:contain;padding-bottom:16px;gap:10px}
#page-growth .weapon-showcase{height:76px;min-height:76px;max-height:76px;margin:0;border:1px solid #34485d}
#page-growth .weapon-showcase canvas{height:64px;width:45%}#page-growth .weapon-showcase h2{font-size:16px}#page-growth .weapon-showcase span{font-size:10px}
#growth-equipment,#growth-detail{flex:none;min-height:40px;margin:0}
.battle-objective{flex:none;min-height:34px;margin:4px 8px 2px;padding:7px 12px;border:1px solid #607581;background:#152f3b;color:#cde8d9;font-size:11px;border-radius:8px;line-height:1.4;text-align:left}
.battle-objective::before{content:'◇';color:#e3c37b;margin-right:8px}
#retry-boss{border-color:#c7ad77;background:#2b3850;color:#ffe3a0;white-space:nowrap;font-size:11px;padding:7px 9px}
#journey-label{line-height:1.4}#journey-status{gap:6px}
#world{touch-action:manipulation}.battle-hud{pointer-events:none}
#boss-hud{background:#172231ed;border:1px solid #c5808b;border-radius:8px;padding:5px 10px}
@media(max-width:500px){.growth-row{min-height:79px;padding:10px;gap:8px;grid-template-columns:28px minmax(0,1fr) 86px}.growth-rows{gap:7px}#page-growth .weapon-showcase{height:64px;min-height:64px;max-height:64px}.growth-intro{margin-bottom:3px}#journey-status{font-size:10px}#view-story{font-size:10px;padding:6px}.battle-objective{min-height:31px;font-size:10px;margin-top:3px}}
@media(prefers-reduced-motion:reduce){.battle-objective,.growth-row{animation:none}}

#page-growth .weapon-showcase{display:grid;grid-template-columns:40% 1fr;align-items:center;padding:0 12px;gap:8px}
#page-growth .weapon-showcase>div{position:static;min-width:0}#page-growth .weapon-showcase canvas{width:100%;height:60px}#page-growth .weapon-showcase h2{margin:4px 0 0}

#page-battle{grid-template-rows:minmax(0,1fr) 32px 48px 44px}
#page-battle>.battle-objective{grid-row:2;min-height:32px;margin:0 8px;padding:5px 10px}
#page-battle>.action-row:has(#skill){grid-row:3}
#page-battle>.action-row.thirds{grid-row:4}
#page-battle>.battle-party{bottom:164px}
#page-battle #party-summary{bottom:144px;pointer-events:none}


/* v28: quiet reward presentation and readable mail amounts. */
.offline-reward{text-align:center;padding:14px 4px;color:#c0d4e5}
.offline-moon{display:block;font-size:58px;color:#e8d5a0;line-height:1.2}
.offline-reward strong{display:block;font-size:30px;color:#ffe1a0;margin:18px 0}
.offline-reward p{font-size:14px;line-height:1.6}.offline-reward small{font-size:12px;line-height:1.8;color:#9cb4cb}
.mail-description{font-size:11px!important;line-height:1.5;color:#9fb7cb;max-height:3em;overflow:auto;margin:6px 0}
.mail-bottom b{font-size:15px}.mail-bottom button{min-height:44px;min-width:70px}
