/* v280 home only; active practice and game typography stays independent. */
.home-entry-cards{width:100%;max-width:720px;margin:12px auto 24px;display:grid;grid-template-columns:1fr;gap:18px;}
.home-entry-cards>section{width:100%!important;max-width:none!important;margin:0!important;padding:22px!important;border-radius:16px!important;box-sizing:border-box;box-shadow:0 3px 12px rgba(0,0,0,.05)!important;text-align:left;}
.home-entry-cards>section[hidden]{display:none!important;}
.home-entry-cards:has(>section:not([hidden]):only-child){grid-template-columns:1fr;}
.home-entry-cards h2{font-size:21px!important;line-height:1.45;margin:0 0 10px!important;}
.home-entry-cards p{font-size:14px!important;line-height:1.65!important;}
.home-entry-cards button{min-height:46px;}
.home-entry-cards #visitorQuickStart,.home-entry-cards #dailyStart{width:100%;border-radius:10px!important;font-size:16px!important;font-weight:700;}
.home-entry-cards .hint{color:var(--ink)!important;opacity:.75;}
.home-header{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;grid-template-rows:auto auto;align-items:center;gap:14px 12px;width:100%;max-width:720px;margin:16px auto 22px!important;padding:0!important;}
.home-header .brand{grid-column:2;grid-row:1;text-align:center;min-width:0;}
.home-header .brand .mark{display:none;}
.home-header #siteTitle{margin:0!important;font-size:clamp(25px,4vw,34px)!important;line-height:1.35;}
.home-header #menuToggleBtn,.home-header .top-home-btn{position:static!important;transform:none!important;width:44px!important;height:44px!important;min-width:44px!important;margin:0!important;}
.home-header #menuToggleBtn{grid-row:1;grid-column:1;}
.home-header .top-home-btn{grid-row:1;grid-column:3;}
.home-header #siteLanguageBar{grid-row:2;grid-column:1 / 3;position:static!important;transform:none!important;margin:0!important;justify-self:start;}
.home-header .title-theme-slot{grid-row:2;grid-column:3;position:static!important;justify-self:end;}
.home-header #themeBtn{width:44px!important;height:44px!important;min-width:44px!important;}
.home-header .lang-icon{min-height:40px;min-width:48px;}
body .sheet.home-start-sheet{padding:22px!important;border-radius:16px!important;min-height:0!important;height:auto!important;box-shadow:0 4px 14px rgba(0,0,0,.06)!important;}
body .sheet.home-start-sheet::before{display:none!important;}
body .home-start-sheet #startScreen{padding:4px!important;min-height:0!important;display:flex!important;flex-direction:column;align-items:stretch;gap:14px;}
body .home-start-sheet #startScreen #startBtn{order:-1;width:100%!important;max-width:none!important;min-height:50px;border-radius:10px!important;font-family:inherit!important;font-size:17px!important;letter-spacing:normal!important;margin:0!important;box-shadow:none!important;}
body .home-start-sheet #startDesc{margin:0!important;font-size:14px!important;line-height:1.65!important;}
body .home-records{width:100%;max-width:720px;margin:20px auto!important;padding:16px 20px;border:1px solid rgba(139,131,117,.3);border-radius:16px;background:var(--paper);color:var(--ink);box-sizing:border-box;}
.home-records>summary{font-size:16px;font-weight:600;cursor:pointer;padding:6px 0;}
.home-records-heading{font-size:17px;margin:18px 0 8px;}
.home-records #statsPanel{margin:0 0 20px!important;width:100%!important;}
.home-records #returnHub{margin:0!important;padding:0!important;}
body .settings-card{box-shadow:0 4px 14px rgba(0,0,0,.06)!important;border-radius:16px!important;}
@media(min-width:821px){.home-entry-cards{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;}.home-entry-cards:has(>section[hidden]){grid-template-columns:1fr;}}
@media(max-width:820px){
 .home-entry-cards{gap:14px;margin-bottom:18px;}
 .home-entry-cards>section{padding:18px!important;}
 body .home-start-sheet,body .home-records{padding:16px!important;}
 body .settings-card #modeSeg button{font-size:14px!important;line-height:1.45;min-height:48px;padding:10px 5px!important;}
 body .settings-card .step-label{font-size:15px!important;}
 body .settings-card .typing-setting-help{font-size:14px!important;line-height:1.65!important;}
 .home-header{margin-top:12px!important;}
}
.home-records summary:focus-visible,.home-entry-cards button:focus-visible{outline:2px solid var(--brass);outline-offset:4px;}
.home-entry-cards:not(:has(>section:not([hidden]))){display:none;}
