.env-hero{position:relative;border-radius:30px;overflow:hidden;background:#d8f2f7;margin:1rem 0 2rem;min-height:360px}.env-hero>img{position:absolute;width:100%;height:100%;object-fit:cover;inset:0}.hero-copy{position:relative;max-width:580px;margin:2rem;padding:1.6rem;background:#ffffffed;border-radius:24px;color:#173535}.hero-copy h1{font-size:clamp(2.2rem,5vw,3.7rem);margin:.2rem 0}.hero-copy p{margin:.4rem 0}.activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.activity-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.6rem;min-height:205px;padding:1.3rem;background:var(--paper);color:var(--ink);border:2px solid var(--line);border-radius:24px;text-decoration:none;text-align:center;font-size:1.15rem;font-weight:750}.activity-card svg{width:86px;height:86px;padding:12px;background:var(--soft);border-radius:24px;color:var(--accent)}.env-switch,.experience-switch{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:1rem 0}.env-switch button,.experience-switch button{font-size:.9rem;padding:.5rem .8rem}.selected{box-shadow:0 0 0 3px var(--ink)}.env-professional .env-hero,.env-minimal .env-hero{min-height:0;background:var(--soft)}.env-professional .env-hero>img,.env-minimal .env-hero>img{display:none}.env-professional .hero-copy,.env-minimal .hero-copy{margin:0;max-width:none;background:transparent;color:var(--ink)}.env-professional .activity-card{align-items:center;text-align:left;min-height:145px;border-radius:12px;flex-direction:row;justify-content:flex-start}.env-professional .activity-card svg{width:60px;height:60px;flex-shrink:0;border-radius:10px}.env-minimal .activity-card svg{background:transparent}.scene-moving .env-hero>img{animation:ocean-drift 9s ease-in-out infinite alternate}@keyframes ocean-drift{from{transform:scale(1.015) translateY(0)}to{transform:scale(1.035) translateY(-5px)}}.game-area{max-width:850px;margin:1.5rem auto;background:var(--paper);border:2px solid var(--line);border-radius:24px;padding:1.3rem}.game-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem}.game-piece{min-height:100px;border-radius:18px;background:var(--soft);color:var(--ink);font-size:1.3rem}.game-piece svg{width:60px;height:60px}.game-piece.matched{background:#d8ecd9;border-color:#4a7652;color:#214625}.game-piece.picked{outline:4px solid #995600}.lesson-picture svg,.story-picture svg{width:150px;height:150px;color:var(--accent)}.lesson-picture,.story-picture{text-align:center;padding:1.5rem;background:var(--soft);border-radius:24px}.story-text{font-size:1.3rem;max-width:55ch;margin:1.4rem auto}.draw-canvas{display:block;width:100%;height:auto;touch-action:none;background:white;border:2px solid #456b70;border-radius:16px}.palette button{width:54px;height:54px;border:3px solid #233e42}.hold-control{min-height:80px;touch-action:none;user-select:none}.status-box{min-height:3rem;padding:.7rem;background:var(--soft);border-radius:12px}.site-domain{overflow-wrap:anywhere;font-size:.9rem}.step-count{font-weight:700}@media(max-width:800px){.activity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-copy{margin:1rem;padding:1rem}.game-grid{gap:.5rem}.game-piece{min-height:80px}.game-piece svg{width:46px;height:46px}.activity-card{padding:1rem .6rem;min-height:175px}.activity-card svg{width:72px;height:72px}.env-professional .activity-card{flex-direction:column;text-align:center}.env-hero{min-height:340px}}@media(prefers-reduced-motion:reduce){.scene-moving .env-hero>img{animation:none!important}}.stopped .env-hero>img,.quiet .env-hero>img{animation:none!important}
.high-contrast .env-hero>img{display:none}.high-contrast .env-hero,.high-contrast .hero-copy{background:#000;color:#fff}.activity-card small{font-weight:400}.game-piece:disabled{opacity:1}.story-picture svg{max-width:100%}
.dark .env-hero>img{filter:brightness(.45) saturate(.8)}.dark .hero-copy{background:#173535ed;color:#eff8f5}.high-contrast .game-piece{background:#000;color:#fff;border-color:#ffeb70}.high-contrast .game-piece.matched{background:#fff;color:#000}
.junior .activity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
