#language-launch{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;background:radial-gradient(ellipse at 65% 30%,#314d45,#0b1a22 65%);color:#eee9d9;text-align:center;padding:20px}#language-launch>div{width:min(420px,100%)}#language-launch h1{font:800 clamp(38px,8vw,64px)/1.05 system-ui;letter-spacing:-2px;margin:20px 0;color:#edc477}#language-launch .launch-kicker{font:700 12px system-ui;letter-spacing:4px}#language-launch label{display:block;margin:28px 0 10px}#language-launch select,#language-launch button{display:block;width:100%;min-height:48px;font:700 16px system-ui;margin:12px 0;padding:12px;border-radius:8px}#language-launch select{background:#203640;color:white;border:1px solid #789088}#language-launch button{background:#edc477;color:#14252c;border:0}#language-launch small{display:block;line-height:1.8;margin-top:22px;color:#aac1bb}.launch-error{position:fixed;inset:20%;background:#14252c;padding:24px;z-index:10001;color:white}.english{font-family:system-ui,sans-serif}.english .brand small{display:none}.english .brand{font-size:clamp(12px,2vw,19px)}.english .bottom button{font-size:13px;padding-left:10px;padding-right:10px}.english .row .details{min-width:0;overflow-wrap:anywhere}.english .mission h1{font-size:clamp(21px,3vw,36px)}.english #boss-hint{font-size:12px}.english button{white-space:normal}@media(max-width:600px){.english .bottom button{font-size:11px}.english header .brand{max-width:48%}.english .stats small{font-size:10px}.english .stats strong{font-size:20px}.english #explore-actions button{padding:6px;font-size:11px}.english .mission h1{font-size:23px}.english .toolbar{flex-wrap:wrap}}
/* Brief edge-only damage cue keeps the playfield unobstructed. */
body.damage-feedback::after{content:'';position:fixed;inset:0;pointer-events:none;z-index:12;animation:damage-edge .4s ease-out forwards;}
@keyframes damage-edge{from{box-shadow:inset 0 0 34px 8px #e47c5966}to{box-shadow:inset 0 0 0 0 transparent}}
@media(prefers-reduced-motion:reduce){body.damage-feedback::after{animation:none}}
.decoration-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.decoration-icon{width:120px;height:120px;margin:auto;background:url(decoration-atlas.png) no-repeat;background-size:300% 300%}#toast.rare-pickup{border:1px solid #f0c16b;color:#ffe2a5;background:#293a38}
body.growth-feedback #scene{animation:growth-glow 1.2s ease-out}@keyframes growth-glow{from{filter:brightness(1.3)}to{filter:brightness(1)}}@media(prefers-reduced-motion:reduce){body.growth-feedback #scene{animation:none}}

/* Keep translated objectives clear of the shop controls. */
.english .mission h1{font-size:23px;line-height:1.35}
@media(min-width:601px) and (max-height:760px){.english .mission p{font-size:12px;line-height:1.4}.english .mission-line{margin-top:12px;padding-top:10px}.english .mission h1{font-size:21px}}

@media(max-width:600px){.english #shop-actions{grid-template-columns:repeat(4,minmax(0,1fr))}.english #shop-actions button{white-space:normal;overflow-wrap:anywhere;min-width:0;font-size:11px;line-height:1.25;padding:6px 4px}.english #shop-actions button>span{display:none!important}.english #shop-actions .primary{font-size:13px}}
