/* Additive visual layer. Existing game logic and CSP remain unchanged. */
:root{--discovery-ink:#163d43;--discovery-paper:#f5f0e4;--discovery-teal:#205c62;--discovery-gold:#ad782c}
body{margin:0;background:var(--discovery-paper);color:var(--discovery-ink);font-family:system-ui,-apple-system,sans-serif;line-height:1.6}
h1,h2,h3{font-family:Georgia,serif;line-height:1.15}a{color:inherit}button,input{font:inherit}button,a,input{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #b57318;outline-offset:4px}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:16px 5%;background:#f5f0e4;border-bottom:1px solid #163d4326}.site-brand,.top-nav{display:flex;align-items:center;gap:22px}.world-emblem{width:46px;height:46px;padding:0;border:0;background:transparent}.world-emblem img{width:100%;height:100%;object-fit:contain}.brand{font-family:Georgia,serif;font-size:1.4rem;text-decoration:none}.top-nav{flex-wrap:wrap;font-size:.9rem}.side-toggle{border:1px solid #9aab9f;background:transparent;border-radius:6px;padding:8px 12px}
.hero{position:relative;isolation:isolate;min-height:570px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;box-sizing:border-box;padding:80px max(6%,24px);color:white;background:linear-gradient(90deg,#082b35bd,#082b3520),linear-gradient(0deg,#082b35c9,transparent 70%),url('../img/discovery/sky-city.webp') center/cover}.hero>.sun,.hero>.ridge,.hero>.mist{display:none}.hero h1{max-width:700px;font-size:clamp(2.5rem,5vw,4.8rem);margin:0 0 18px;text-wrap:balance}.hero>p{max-width:560px;font-size:1.15rem}.hero-controls,.game-row{display:flex;flex-wrap:wrap;gap:12px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;box-sizing:border-box;border:1px solid var(--discovery-teal);border-radius:8px;padding:10px 18px;background:var(--discovery-teal);color:#fff;text-decoration:none;font-weight:650;cursor:pointer}.button-ghost{background:#fff9ec;color:var(--discovery-ink)}.hero .button-ghost{background:#f5f0e4ed}.cards-wrap,.lab,.water-systems,.games,.hatchery-preview{max-width:1240px;margin:0 auto;padding:50px 24px}.cards,.games-grid,.hatchery-places{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.card{border-top:2px solid #b58d51;padding:12px 8px}.card h2{font-size:1.55rem}.lab-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.lab-group{border:1px solid #163d4330;border-radius:8px;margin-bottom:16px}.lab-buttons{display:flex;flex-wrap:wrap;gap:8px}.lab-button{padding:10px;border:1px solid #163d4350;border-radius:6px;background:#fff9ec;color:var(--discovery-ink)}.lab-button[aria-pressed=true]{background:var(--discovery-teal);color:white}.lab-scene{min-height:270px;border-radius:14px;overflow:hidden}.water-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding-left:24px}.water-stack li{padding:10px}.section-heading{max-width:720px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:.75rem;color:#79603b;font-weight:700}.hatchery-preview h2,.games>h2{font-size:clamp(2rem,3vw,3rem)}.hatchery-places figure{margin:0;background:#fffaf0;border:1px solid #163d4326;border-radius:14px;overflow:hidden}.hatchery-places img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}.hatchery-places figcaption{padding:18px 24px}.hatchery-places h3{margin:0;font-size:1.5rem}.development-note{font-size:.85rem;color:#50666a}.game-card{overflow:hidden;padding:0 26px 24px;background:#fffaf0;border:1px solid #163d4326;border-radius:14px;box-shadow:0 8px 30px #163d4309}.game-landscape{display:block;width:calc(100% + 52px);max-width:none;margin:0 -26px 24px;height:auto;aspect-ratio:16/9;object-fit:cover}.game-card h3{font-size:1.7rem}.game-clue{padding:16px;background:#e8eee5;border-left:3px solid #ad782c;border-radius:0 8px 8px 0}.game-input{min-height:44px;min-width:0;max-width:100%;box-sizing:border-box;border:1px solid #78908a;border-radius:6px;padding:8px}.game-input-label{display:block}.game-feedback{min-height:1.6em}.game-card>.button{margin-top:14px}.site-footer{padding:32px 6%;background:#163d43;color:#f5f0e4}.skip-link{position:absolute;top:-100px}.skip-link:focus{top:5px;z-index:100;background:white;padding:12px}.side-nav[hidden]{display:none}
@media(max-width:720px){.cards,.games-grid,.hatchery-places,.lab-grid,.water-stack{grid-template-columns:1fr}.hero{min-height:500px;padding:40px 24px;background-position:42% center}.top-nav{gap:12px}.cards-wrap,.lab,.water-systems,.games,.hatchery-preview{padding:30px 18px}.game-row>.button{flex:1}.game-input{width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
