body.arcade-site.games .site-home.games-content { width: min(1200px, 92%); margin: 0 auto; padding: 20px 0 40px; background: transparent; border: 0; border-radius: 0; box-shadow: none; color: var(--site-ink); }
.site-home { --home-muted: #585858; line-height: 1.5; }
.site-home p { padding: 0; }
.dark-mode .site-home { --home-muted: #b9c8cd; }
.site-home .home-topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 20px; }
.site-home .home-topbar button { flex-shrink: 0; }
/* Home-only artwork: shared game hubs retain their original hero. */
body.games .site-home .games-hero { grid-template-columns: 1.35fr 1fr; gap: 24px; padding: 32px 28px; }
body.games .site-home .games-hero h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; margin: 8px 0 12px; padding: 0; }
.site-home .home-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.site-home .home-actions .games-hero-button { padding: 12px 18px; }
.site-home .home-secondary { background: #fff; box-shadow: 0 4px 0 #c3ccbd; }
.site-home .home-hero-art { width: 100%; max-width: 460px; margin: auto; }
.site-home .home-hero-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.site-home .home-hero-art { --art-orbit: #c5cdbd; --art-paper: #fffdf7; --art-edge: #e0e3d8; --art-grid: #f5f6ed; --art-ink: #293e35; --art-muted: #718173; }
.dark-mode .site-home .home-hero-art { --art-orbit: #3d5556; --art-paper: #eaf0e7; --art-edge: #bdcfbf; --art-grid: #dce7db; --art-ink: #253c33; --art-muted: #5c7163; }
.site-home .home-language-art { overflow: hidden; font-family: system-ui, "Noto Sans", sans-serif; }
.site-home .home-language-art text { dominant-baseline: alphabetic; }
.site-home .home-language-art:lang(hi) { font-family: "Noto Sans Devanagari", "Nirmala UI", sans-serif; }
.site-home .home-language-art:lang(th) { font-family: NotoSansThai, "Noto Sans Thai", Tahoma, sans-serif; }
.site-home > section[id] { margin-top: 44px; scroll-margin-top: 20px; }
body.first .site-home > section[id] { padding: 0; }
.site-home .games-section-heading { margin-bottom: 12px; gap: 16px; }
.site-home .games-section-heading h2 { font-size: clamp(24px, 3vw, 32px); margin: 6px 0 0; line-height: 1.2; }
.site-home .games-section-count { white-space: nowrap; }
.site-home .home-section-intro, .site-home #home-hints-description { color: var(--home-muted); line-height: 1.6; margin: 0 0 20px; }
.site-home .games-card { min-width: 0; }
.site-home .games-card h3, .site-home .games-language-games { overflow-wrap: anywhere; }
.site-home .home-language-card .games-card-image { background: #edf3e8; }
.site-home .games-language-games { color: #455465; line-height: 1.6; padding-left: 0; margin: 0 0 20px; font-size: 14px; }
body.games .site-home .games-eyebrow { letter-spacing: normal; }
.site-home .home-hints-form { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 22px 0 12px; }
.site-home .home-hints-form label { font-weight: 700; }
.site-home .home-hints-form select, .site-home .home-hints-form button { font: inherit; padding: 10px 14px; min-height: 44px; border: 1px solid #889580; border-radius: 8px; background: #fff; color: #253329; }
.site-home .home-hints-form select {
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    width: 15rem;
    max-width: 100%;
    min-height: 48px;
    padding: 10px 42px 10px 14px;
    line-height: 1.5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23253329' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
    cursor: pointer;
}
.site-home .home-hints-form button { background: #c2fa6b; cursor: pointer; }
/* Editorial introduction to WordCh, after the language selectors. */
body.games .site-home .home-about { max-width: 80ch; margin-inline: auto; }
body.games .site-home .home-about h2 { color: var(--site-ink); font-size: clamp(24px, 3vw, 30px); line-height: 1.25; margin: 0 0 18px; padding: 0; }
body.games .site-home .home-about h3 { color: var(--site-ink); font-size: 20px; line-height: 1.4; font-weight: 600; margin: 28px 0 10px; padding: 0; }
body.games .site-home .home-about p { color: var(--home-muted); font-size: 16px; line-height: 1.8; margin: 0; padding: 0; }
body.games .site-home .home-about a { color: #427323; text-decoration: underline; text-underline-offset: 3px; }
body.games .site-home .home-about a:hover { text-decoration-thickness: 2px; }
body.games.dark-mode .site-home .home-about a { color: #c2fa6b; }
.site-home .resume-game:not([hidden]) { margin: 20px 0; }
.site-home :is(a, button, select):focus-visible { outline: 3px solid #558333; outline-offset: 4px; }
.dark-mode .site-home :is(a, button, select):focus-visible { outline-color: #c2fa6b; }
@media (max-width: 1000px) {
    body.games .site-home .games-hero { grid-template-columns: 1.15fr 1fr; gap: 16px; padding: 20px; }

}
@media (max-width: 600px) {
    .site-home .home-topbar { margin-bottom: 12px; }
    .site-home .games-brand span { display: none; }
    body.games .site-home .games-hero { display: block; padding: 14px 18px; }
    body.games .site-home .games-hero h1 { font-size: 30px; margin: 6px 0 10px; }
    body.games .site-home .games-hero .games-eyebrow { margin: 0; font-size: 10px; line-height: 1.5; }
    body.games .site-home .games-hero .games-intro { font-size: 14px; line-height: 1.5; }
    .site-home .home-hero-art { max-width: 310px; margin: 10px auto 0; }
    .site-home .home-actions .games-hero-button { padding: 10px 12px; }
    body.games .site-home .games-hero .games-hero-note { margin-top: 10px; font-size: 11px; line-height: 1.5; }
    .site-home .games-hero-button { padding: 12px 14px; gap: 10px; font-size: 14px; }
    .site-home .home-actions { margin-top: 16px; }
    .site-home > section[id] { margin-top: 28px; }
    .site-home .games-section-heading { align-items: flex-start; flex-wrap: wrap; gap: 8px; }
    .site-home .home-hints-form label { flex-basis: 100%; }
}
