/* One public/app shell. Active play retains its own compact controls. */
body>.site-header{background:#113b36;color:#fff;padding:0}
body>.site-header>.bar{max-width:1200px!important;margin:auto;padding:18px 24px!important;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px 24px}
.site-header .site-title{margin:0}
.site-header .brand{display:flex;align-items:center;gap:14px;color:#fff;text-decoration:none;font:800 clamp(24px,2.7vw,32px)/1.12 system-ui,-apple-system,sans-serif;letter-spacing:-.035em;max-width:none;min-width:0}
.site-header .brand img,body[data-screen=home] .site-header h1 .brand-mark{display:block;width:64px;height:64px;flex:none;margin:0}
.site-header .brand span{max-width:none}
.site-header .bar>p{display:none}
.site-header .site-nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap;grid-column:1/-1;margin:0;width:auto;order:3}
.site-header .site-nav a{padding:10px 15px;border-radius:7px;color:#e9f1ed;text-decoration:none;font:650 16px/1.4 system-ui;min-height:44px}
.site-header .site-nav a:hover,.site-header .site-nav a[aria-current]{background:#ffffff18;color:white}
.site-header .bar>.app{grid-column:2;grid-row:1;background:#e7d8b9;color:#173d33;text-decoration:none;padding:12px 16px;border-radius:8px;font:700 15px/1.4 system-ui;white-space:nowrap}
.site-header .brand:focus-visible,.site-header a:focus-visible{outline:3px solid #e7d8b9;outline-offset:4px}
body .site-header .home-header-toolbar{grid-column:2;grid-row:1;display:flex;align-items:center;gap:12px;margin:0}
.site-header .home-header-toolbar .settings-link{position:static;width:auto;height:auto;font-size:14px;padding:10px;border-radius:8px}
.site-header #homeAccount{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px 10px;max-width:360px;font-size:12px;text-align:right}
.site-header #homeAccount .home-account-actions{order:2}
.site-header #homeAccount #cloudIdentity{flex:1 1 170px}
.site-header #homeAccount button{font-size:13px;padding:8px 12px}
.site-footer{display:block;max-width:none;margin:0;padding:28px 24px;background:#e9ede5;border-top:1px solid #d3dccc;color:#4b6156;font:14px/1.6 system-ui}
.site-footer>div{max-width:1152px;margin:auto}
.site-footer nav{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;margin:12px 0}
.site-footer nav a{padding:8px 0;color:#235540;font-size:14px;text-decoration:underline;min-height:40px}
.site-footer p{font-size:12px;margin:0;max-width:80ch}
body.solo-playing>.site-footer,body[data-screen=live]>.site-footer,body[data-screen=watch]>.site-footer{display:none}
body[data-screen=live] .site-nav,body[data-screen=watch] .site-nav{display:none}
.home-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}
.home-options .home-practice-options{display:contents}
.home-options .home-play-entry{margin:0;display:flex;flex-direction:column;min-width:0}
.home-options .home-card{margin:0;min-height:180px;height:180px;width:100%;padding:24px;display:flex;flex-direction:row;align-items:flex-start;gap:18px;border:1px solid #c9d8cd;border-radius:16px;background:#fffdf7;color:#173d34;text-align:left;box-sizing:border-box}
.home-options .home-card:hover{background:#edf5ef;border-color:#176a55}
.home-options .home-card .menu-icon,.home-options .home-choice-icon{width:64px;height:64px;margin:0;flex:none}
.home-options .home-card strong,.home-options .home-choice-copy strong{display:block;font-size:21px;line-height:1.25;margin:0}
.home-options .home-card span,.home-options .home-choice-copy>span{font-size:15px;line-height:1.5;color:#476158}
.home-options .home-card .home-choice-copy{display:flex;flex-direction:column;gap:10px}
.home-options .has-saved #homePlay{height:auto;min-height:40px;padding:8px 12px;margin:4px 0 0;width:auto;align-self:center;background:transparent;border-color:transparent}
.home-options .has-saved #homePlay .home-choice-copy strong{font-size:14px}
.welcome-scenario{font-size:14px;line-height:1.6;color:#354e42}
.welcome-answer summary{font-size:14px;font-weight:700;color:#34543f;cursor:pointer}
.welcome-example .welcome-tiles{gap:8px}
.welcome-example .welcome-tiles img{width:clamp(44px,5vw,70px);height:auto;aspect-ratio:80/108}
@media(max-width:760px){
 body>.site-header>.bar{padding:14px 16px!important;gap:12px;grid-template-columns:minmax(0,1fr) auto}
 .site-header .brand{font-size:24px;gap:10px}
 .site-header .brand img,body[data-screen=home] .site-header h1 .brand-mark{width:52px;height:52px}
 body .site-header .home-header-toolbar{grid-column:1/-1;grid-row:2;justify-content:flex-end}
 .site-header #homeAccount{max-width:none;flex:1}
 .site-header .site-nav{gap:0;justify-content:space-between}
 .site-header .site-nav a{font-size:14px;padding:10px 8px}
 .site-header .bar>.app{font-size:13px;padding:10px}
 .home-options{grid-template-columns:1fr}
 .home-options .home-card{min-height:204px;height:204px;padding:20px}
 .home-options .home-card .menu-icon,.home-options .home-choice-icon{width:56px;height:56px}
 .site-footer{padding:24px 16px}
}
@media(max-width:420px){.site-header .brand{font-size:21px}.site-header .brand img,body[data-screen=home] .site-header h1 .brand-mark{width:46px;height:46px}.site-header .bar>.app{max-width:92px;white-space:normal;text-align:center}}
