*{box-sizing:border-box}.site-logo{display:block;width:min(430px,65vw);flex-shrink:1;line-height:0}.site-logo img{display:block;width:100%;height:auto}.game-nav{display:flex;gap:18px;flex-wrap:wrap;margin:16px 0}.game-nav a{color:#8ee8ff}.home{margin:0;background:radial-gradient(ellipse at 20% 0%,#173654 0%,#0a1429 65%);color:#edf6ff;font-family:system-ui,sans-serif;min-height:100vh}.home main{max-width:1080px;margin:auto;padding:28px 24px}.home header{display:flex;justify-content:center}.home .site-logo{width:min(680px,100%)}.home h1{text-align:center;font-size:clamp(22px,3.5vw,34px);line-height:1.6;margin:18px 0 10px}.welcome{text-align:center;color:#c3d9ed;line-height:1.8}.home-choices{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:28px 0}.choice{display:block;text-decoration:none;color:#edf6ff;padding:26px;border:2px solid #55c9ee;border-radius:24px;background:#132b43;transition:transform .18s,box-shadow .18s}.choice.play{border-color:#ffce57;background:#302b25}.choice small{display:block;color:#c8d9e8}.choice h2{font-size:clamp(20px,2.7vw,26px);margin:12px 0}.choice p{line-height:1.9}.choice strong{display:block;border-radius:12px;background:#79e3ff;color:#102a3b;padding:14px;text-align:center}.choice.play strong{background:#ffda70}.choice-icon{display:block;font-size:42px;color:#79e3ff;line-height:1.1;margin-bottom:14px}.play .choice-icon{color:#ffda70}.choice:hover{transform:translateY(-3px);box-shadow:0 0 24px #70dfff40}.choice:focus-visible,a:focus-visible{outline:3px solid #fff;outline-offset:5px}.device-note{text-align:center;color:#bacde1;font-size:14px;line-height:1.9;margin:24px 0 36px}.home a:not(.choice):not(.site-logo){color:#91e6ff}.home .site-about{line-height:1.8}.home summary{cursor:pointer;min-height:44px}.home .site-footer{margin-top:30px}.playing .site-logo{display:none}@media(max-width:600px){.home main{padding:18px 16px}.home-choices{grid-template-columns:1fr;gap:16px}.choice{padding:20px}.choice-icon{float:right;font-size:36px}.home h1{font-size:23px}.site-logo{width:min(330px,60vw)}header{gap:12px;flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.choice{transition:none}}
/* v0.9.1: compact home and clear secondary navigation */
.home main{padding-top:18px}.home .site-logo{width:min(520px,100%)}.home h1{font-size:clamp(22px,3vw,30px);margin:12px 0 6px}.home .welcome{margin:8px 0}.home-choices{margin:20px 0;gap:18px}.choice{padding:22px}.choice-icon{float:right;font-size:38px}.choice strong{padding:12px}.secondary-links,.lesson-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.secondary-links{justify-content:center}.secondary-links a,.lesson-controls a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid #52758e;border-radius:10px;text-decoration:none}.secondary-links a:hover,.lesson-controls a:hover{background:#28475e;box-shadow:0 0 14px #70dfff40}.lesson-controls{margin:12px 0}.lesson-controls button:disabled{opacity:.45;cursor:default}.home .device-note{margin:18px 0 26px}@media(max-width:600px){.home .site-logo{width:100%}.choice{padding:18px}.home-choices{margin:18px 0}.home h1{font-size:22px}}

.buddy-guide{display:flex;align-items:center;gap:12px;padding:10px 14px;margin:12px 0;border:1px solid #71c8ff;border-radius:16px;background:#14283b;color:#edf6ff}.buddy-guide p{margin:4px 0;line-height:1.6}.buddy-avatar{width:64px;flex:0 0 64px}.buddy-avatar svg{display:block;width:100%}.buddy-guide strong{color:#ffe083}.playing .buddy-guide{display:none}.departure{animation:launchGlow .7s ease-out}@keyframes launchGlow{from{box-shadow:0 0 0 6px #ffe083}to{box-shadow:0 0 0 0 transparent}}@media(prefers-reduced-motion:reduce){.departure{animation:none}}

/* Optional applied course: three direct, independent entrances. */
.home-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.choice.explore{border-color:#8a75aa;background:linear-gradient(145deg,#262342,#132b3e)}.choice.explore .choice-icon{color:#cd9eff}.home .choice h2{font-size:clamp(20px,2.2vw,28px)}.mission-entry{border:1px solid #586147;border-radius:12px;padding:14px;color:#ffe083}.playing .mission-entry{display:none}@media(max-width:860px){.home-choices{grid-template-columns:1fr}}
