/* Home v4 (2026-11-22, design canvas “Ziyo 主页（紧凑版）”). Loaded last on index.html (after tokens.css).
   body.home-page = the home page; body.home-member = signed in (home-dashboard.js).
   Order — signed out: intro (hero, Why Ziyo, How Ziyo works) → install card → sign up.
           signed in:  search → dashboard (next game, after game, my games, my clubs) → nearby games → shortcuts. */
body.home-page main{display:flex;flex-direction:column;gap:10px;max-width:640px;margin:0 auto;padding:10px 12px 18px;box-sizing:border-box}
body.home-page main>*{margin:0;min-width:0}
body.home-page main>[hidden],body.home-page main>.hidden{display:none!important}

/* What each state shows. Old blocks stay in the page (scripts look them up by id) but are hidden. */
body.home-page .hero,body.home-page #homeWhy,body.home-page #assessmentInvite,body.home-page #homeCourts{display:none!important}
body.home-page:not(.home-member) #homeSearch,body.home-page:not(.home-member) #homeUpcoming,body.home-page:not(.home-member) #homeShortcuts{display:none!important}
body.home-page.home-member .hv4-guest,body.home-page.home-member #installAppCard:not(.install-help-open){display:none!important}
body.home-page #homeGuestIntro{order:1}
body.home-page:not(.home-member) #installAppCard{order:2}
body.home-page #homeGuestSignup{order:3}
body.home-page.home-member #homeSearch{order:1}
body.home-page.home-member #homeDashboard{order:2}
body.home-page.home-member #homeUpcoming{order:3}
body.home-page.home-member #homeShortcuts{order:4}
/* Signed in with no games yet: the dashboard drops Next game / My games, and nearby games come first. */
body.home-page.home-member.home-no-games #homeUpcoming{order:2}
body.home-page.home-member.home-no-games #homeDashboard{order:3}
body.home-page.home-member #installAppCard{order:5}
body.home-page.app-installed .hv4-shortcut--install{display:none}

/* Shared pieces */
.home-page .hv4-guest{display:flex;flex-direction:column;gap:10px}
.home-page .hv4-card{background:#fff;border:0;border-radius:18px;padding:14px;box-shadow:0 1px 2px rgba(16,38,28,.06);min-width:0}
.home-page .hv4-card h2,.home-page .hv4-head h2{margin:0;font-family:inherit;font-style:normal;font-weight:700;font-size:15px;line-height:1.3;letter-spacing:0;text-transform:none;color:#0e2e20}
.home-page .hv4-card h2::after,.home-page .hv4-head h2::after{display:none}
.home-page .hv4-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.home-page .hv4-head a{color:var(--z-brand,#075438);font-size:13px;font-weight:600;text-decoration:none}
.home-page .hv4-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border-radius:999px;border:0;font:inherit;font-size:14px;font-weight:700;text-decoration:none;cursor:pointer;box-sizing:border-box;white-space:nowrap}
.home-page .hv4-btn--lime{background:var(--z-lime,#c4f32b);color:#0e2e20}
.home-page .hv4-btn--lime:hover{background:var(--z-lime-strong,#b3e31a);color:#0e2e20}
.home-page .hv4-btn--dark{background:var(--z-brand,#075438);color:#fff}
.home-page .hv4-btn--dark:hover{background:var(--z-brand-strong,#053f2a);color:#fff}
.home-page .hv4-btn--ghost{background:#fff;border:1.5px solid #cbd8cf;color:var(--z-brand,#075438)}
.home-page .hv4-btn--outline{background:transparent;border:1.5px solid rgba(255,255,255,.45);color:#fff}
.home-page .hv4-btn--outline:hover{background:rgba(255,255,255,.08);color:#fff}
.home-page .hv4-btn--small{min-height:36px;padding:0 12px;font-size:13px;font-weight:600}
.home-page .hv4-btn--big{min-height:48px;font-size:16px}
.home-page .hv4-tag{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:10px;background:var(--z-lime,#c4f32b);color:#0e2e20;font-size:11px;font-weight:700;white-space:nowrap}

/* Signed out · hero */
.home-page .hv4-hero{overflow:hidden;display:flex;flex-direction:column;gap:10px;padding:20px 18px 18px;border-radius:22px;background:#0b4f35;color:#fff;text-align:center}
.home-page .hv4-hero h1{max-width:100%;overflow:hidden;margin:0;font-family:var(--z-font-display,'Barlow Condensed',sans-serif);font-style:normal;font-weight:700;font-size:30px;line-height:1;letter-spacing:0;text-transform:uppercase;color:#fff;white-space:nowrap}
.home-page .hv4-hero h1::after{display:none}
.home-page .hv4-hero-sub{margin:0;font-size:14px;line-height:1.45;color:#dcebe2}
.home-page .hv4-hero-actions{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.home-page .hv4-hero-actions .hv4-btn{width:100%}
.home-page .hv4-hero-note{font-size:12px;color:#cfe3d7;text-align:center}
/* Signed out · section titles “Why Ziyo?” and “What You Can Do on Ziyo?”: same style, centered, bold, 20px (two sizes up, 2026-11-24). */
.home-page .hv4-card .hv4-section-title{display:block;margin:0 0 2px;font-family:inherit;font-style:normal;font-size:20px;font-weight:800;line-height:1.3;letter-spacing:0;text-transform:none;text-align:center;color:#0e2e20}
/* Signed out · Why Ziyo */
/* 2 × 2 light cells with dark text; the glowing sun Z (logo/ziyo-sun-soft-320.webp, transparent background)
   sits on the crossing in the middle. Text runs toward the outer corners — left column left-aligned, right column
   right-aligned, top row to the top, bottom row to the bottom — so the middle stays clear for the sun.
   Layers inside the grid: cell backgrounds (row::before, z 0) → sun (z 1) → text (z 2). */
.home-page .hv4-why{display:flex;flex-direction:column;gap:8px}
.home-page .hv4-why-grid{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.home-page .hv4-why-row{position:relative;min-width:0;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:2px;min-height:76px;padding:14px 24px 22px 14px;text-align:left}
.home-page .hv4-why-row::before{content:"";position:absolute;inset:0;z-index:0;border-radius:14px;background:#f3f6f2}
.home-page .hv4-why-row>*{position:relative;z-index:2}
.home-page .hv4-why-row:nth-child(even){align-items:flex-end;padding:14px 14px 22px 24px;text-align:right}
.home-page .hv4-why-row:nth-child(n+3){justify-content:flex-end;padding-top:22px;padding-bottom:14px}
/* Bottom row text sits low, well below the sun, so its inner padding can be narrow (room for longer notes). */
.home-page .hv4-why-row:nth-child(3){padding-right:12px}
.home-page .hv4-why-row:nth-child(4){padding-left:12px}
.home-page .hv4-why-title{max-width:100%;font-size:14px;line-height:1.25;color:#0e2e20;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-page .hv4-why-body{font-size:12px;line-height:1.35;color:#55665d}
.home-page .hv4-why-mark{position:absolute;z-index:1;left:50%;top:50%;width:132px;height:132px;transform:translate(-50%,-50%);pointer-events:none}
/* Narrow phones: smaller text and sun so each note stays on one line. */
@media(max-width:380px){
 .home-page .hv4-why-row{padding:12px 18px 20px 10px}
 .home-page .hv4-why-row:nth-child(even){padding:12px 10px 20px 18px}
 .home-page .hv4-why-row:nth-child(n+3){padding-top:20px;padding-bottom:12px}
 .home-page .hv4-why-row:nth-child(3){padding-right:8px}
 .home-page .hv4-why-row:nth-child(4){padding-left:8px}
 .home-page .hv4-why-title{font-size:13px}
 .home-page .hv4-why-body{font-size:11px}
 .home-page .hv4-why-mark{width:116px;height:116px}
}
@media(max-width:340px){
 .home-page .hv4-why{padding:12px 10px}
 .home-page .hv4-why-body{font-size:10.5px}
 .home-page .hv4-why-mark{width:104px;height:104px}
 .home-page .hv4-why-grid{gap:6px}
 .home-page .hv4-why-row{padding-left:8px;padding-right:14px}
 .home-page .hv4-why-row:nth-child(even){padding-left:14px;padding-right:8px}
 .home-page .hv4-why-row:nth-child(3){padding-right:4px}
 .home-page .hv4-why-row:nth-child(4){padding-left:4px}
}
/* Signed out · How Ziyo works */
.home-page .hv4-how{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;gap:4px;padding:18px 16px 16px;border-radius:22px}
/* Large faded sun Z behind the steps, bleeding off the right edge. */
.home-page .hv4-how::before{content:"";position:absolute;z-index:-1;top:50%;right:-110px;width:300px;height:300px;transform:translateY(-50%);background:url("logo/ziyo-z-512.png") center/contain no-repeat;opacity:.14;pointer-events:none}
.home-page .hv4-eyebrow{font-size:11px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:#5e8f14}
.home-page .hv4-how h2{max-width:100%;overflow:hidden;margin:0 0 10px;font-family:var(--z-font-display,'Barlow Condensed',sans-serif);font-style:italic;font-weight:800;font-size:26px;line-height:1;text-transform:uppercase;white-space:nowrap;text-align:center}
.home-page .hv4-steps{list-style:none;margin:0;padding:0;counter-reset:hv4step}
.home-page .hv4-steps li{position:relative;display:flex;flex-direction:column;gap:3px;min-height:48px;padding:4px 0 16px 48px;counter-increment:hv4step}
.home-page .hv4-steps li::before{content:counter(hv4step);position:absolute;left:2px;top:0;width:32px;height:32px;border-radius:50%;background:#0b4f35;color:#fff;display:flex;align-items:center;justify-content:center;font-family:var(--z-font-display,'Barlow Condensed',sans-serif);font-weight:700;font-size:17px}
.home-page .hv4-steps li:first-child::before{background:var(--z-lime,#c4f32b);color:#0e2e20}
.home-page .hv4-steps li::after{content:"";position:absolute;left:17px;top:34px;bottom:0;width:2px;background:#dce5df}
.home-page .hv4-steps li:last-child::after{display:none}
.home-page .hv4-steps b{font-size:15px;color:#0e2e20}
.home-page .hv4-steps span{font-size:13px;line-height:1.45;color:#55665d}
.home-page .hv4-how-tip{display:flex;align-items:center;gap:8px;margin:0;padding:10px 12px;border-radius:12px;background:#eaf3e2;color:#2f5a0c;font-size:12px;font-weight:600}
.home-page .hv4-how-tip svg{flex-shrink:0}
/* Install card (install-app.js) — lime card on the signed-out home; also opened from the member shortcut. */
.home-page #installAppCard.install-app{display:flex;flex-direction:column;gap:14px;padding:18px 16px;border:0;border-radius:22px;background:var(--z-lime,#c4f32b);color:#0e2e20}
.home-page #installAppCard .install-app-row{flex-wrap:nowrap;gap:14px}
.home-page #installAppCard .install-app-badge{width:64px;height:64px;flex-shrink:0;border-radius:16px;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(16,38,28,.15)}
.home-page #installAppCard .install-app-icon{width:52px;height:auto}
.home-page #installAppCard h2{margin:0 0 3px;font-family:var(--z-font-display,'Barlow Condensed',sans-serif);font-style:italic;font-weight:800;font-size:24px;line-height:1;text-transform:uppercase;color:#0e2e20}
.home-page #installAppCard h2::after{display:none}
.home-page #installAppCard .install-app-text p{font-size:13px;line-height:1.4;color:#24452f}
.home-page #installAppCard .install-app-button{width:100%;min-height:50px;border:0;border-radius:25px;background:#0b4f35;color:#fff;font-size:16px;font-weight:700}
.home-page #installAppCard .install-app-note{margin:0;font-size:12px;text-align:center;color:#24452f}
.home-page #installAppCard .install-app-help{margin:0;padding-top:12px;border-top:1px solid rgba(14,46,32,.18)}
/* Signed out · Browse games (above the sign-up card) */
.home-page .hv4-browse{width:100%;min-height:46px;font-size:15px}
/* Signed out · sign up */
.home-page .hv4-signup{display:flex;flex-direction:column;align-items:center;gap:12px;padding:18px 16px;border-radius:22px;text-align:center}
.home-page .hv4-signup h2{font-family:var(--z-font-display,'Barlow Condensed',sans-serif);font-style:italic;font-weight:800;font-size:26px;line-height:1;text-transform:uppercase}
.home-page .hv4-signup p{margin:0;font-size:13px;color:#55665d}
/* Inline login (social-auth.js renders .unified-login into .hv4-auth): Google / Facebook, then email. */
.home-page .hv4-auth{width:100%;text-align:left}
.home-page .hv4-auth .unified-login{max-width:none;margin:0}
.home-page .hv4-auth .unified-providers{gap:8px}
.home-page .hv4-auth .unified-providers .oauth-login{min-height:46px;margin:0;border:1.5px solid #cbd8cf;border-radius:999px;background:#fff;color:#0e2e20;font-size:15px;font-weight:700}
.home-page .hv4-auth .unified-email{margin-top:12px}
.home-page .hv4-auth .unified-email summary{display:flex;align-items:center;gap:10px;padding:0;border:0;border-radius:0;font-size:12px;color:#55665d;list-style:none;pointer-events:none}
.home-page .hv4-auth .unified-email summary::-webkit-details-marker{display:none}
.home-page .hv4-auth .unified-email summary::before,.home-page .hv4-auth .unified-email summary::after{content:"";flex:1;height:1px;background:#dce5df}
.home-page .hv4-auth .unified-email-form{gap:8px;margin-top:10px}
.home-page .hv4-auth .unified-email-form label{gap:4px;font-size:12px;font-weight:600;color:#55665d}
.home-page .hv4-auth .unified-email-form input{min-height:46px;margin:0;padding:0 14px;border:1px solid #dce5df;border-radius:12px;background:#fff;font-size:16px;color:#10261c}
.home-page .hv4-auth .unified-email-form .primary-btn{min-height:46px;margin:0;border:0;border-radius:999px;background:var(--z-brand,#075438);color:#fff;font-size:15px;font-weight:700}
.home-page .hv4-auth .unified-email-form .ghost-btn{min-height:32px;margin:0;padding:0;border:0;background:transparent;color:var(--z-brand,#075438);font-size:13px;font-weight:600}
.home-page .hv4-auth .form-message{margin:8px 0 0;font-size:13px;text-align:center}
.home-page .hv4-auth .unified-explore{display:none}

/* Signed out · header: logo, language chip, Log in, Sign up (no city picker). */
body.home-page:not(.home-member) .home-nav .city-bar{display:none!important}
.home-page .hv4-lang{display:none}
body.home-page:not(.home-member) .hv4-lang{display:inline-flex;align-items:center;gap:5px;height:36px;padding:0 10px;border:1px solid #dce5df;border-radius:18px;background:#f3f7f1;color:#10261c;font:inherit;font-size:12px;font-weight:600;cursor:pointer}
body.home-page.home-member .hv4-lang{display:none!important}
body.home-page:not(.home-member) .home-nav .home-account-row{display:flex;align-items:center;justify-content:flex-end;gap:6px}
body.home-page:not(.home-member) .home-nav #loginBtn{min-height:36px;padding:0 12px;border:0;border-radius:18px;background:transparent;color:var(--z-brand,#075438);font-size:13px;font-weight:600}
body.home-page:not(.home-member) .home-nav .hv4-header-signup{display:inline-flex}
.home-page .hv4-header-signup{display:none;align-items:center;min-height:36px;padding:0 14px;border:0;border-radius:18px;background:var(--z-brand,#075438);color:#fff;font:inherit;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap}

/* Signed in · search */
.home-page #homeSearch.section{padding:0;background:transparent}
.home-page .home-search-form{display:flex;gap:6px;margin:0}
.home-page #homeSearch .home-search-box{display:flex!important;flex-direction:row!important;font-size:inherit;font-weight:400;flex:1;min-width:0;height:44px;display:flex;align-items:center;gap:8px;margin:0;padding:0 12px;border-radius:22px;background:#fff;border:1px solid #dce5df;box-sizing:border-box;color:#55665d}
.home-page #homeSearch .home-search-box input{flex:1;width:auto;min-width:0;height:auto;min-height:0;margin:0;padding:0;border:0!important;border-radius:0;outline:0;background:transparent!important;font-size:15px;color:#10261c;box-shadow:none!important;-webkit-appearance:none;appearance:none}
.home-page #homeSearch .home-search-box:focus-within{outline:2px solid var(--z-focus,#7fb39a);outline-offset:1px}
.home-page .home-search-chip{flex-shrink:0;height:44px;padding:0 12px;border:1px solid #dce5df;border-radius:22px;background:#fff;color:#0b4f35;font:inherit;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap}
/* Signed in · dashboard */
body.home-page #homeDashboard{display:flex;flex-direction:column;gap:10px;margin:0}
body.home-page #homeDashboard section{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
body.home-page #homeDashboard .hv4-card{background:#fff;border-radius:18px;padding:14px;box-shadow:0 1px 2px rgba(16,38,28,.06)}
body.home-page #homeDashboard h2,body.home-page .hv4-head h2{margin:0;font-family:inherit;font-style:normal;font-weight:700;font-size:15px;line-height:1.3;letter-spacing:0;text-transform:none;color:#0e2e20}
.home-page #homeDashboard .hv4-card p{margin:0 0 8px}
body.home-page #homeDashboard .hv4-next{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:18px;background:#0b4f35;color:#fff}
body.home-page #homeDashboard .hv4-next-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
body.home-page #homeDashboard .hv4-next-label{font-size:11px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;color:var(--z-lime,#c4f32b)}
body.home-page #homeDashboard .hv4-pill{flex-shrink:0;display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:11px;background:rgba(255,255,255,.14);font-size:11px;font-weight:600}
body.home-page #homeDashboard .hv4-next-title{font-family:var(--z-font-display,'Barlow Condensed',sans-serif);font-style:italic;font-weight:800;font-size:24px;line-height:1.05;text-transform:uppercase;color:#fff;text-decoration:none;overflow-wrap:anywhere}
body.home-page #homeDashboard .hv4-next-title:hover{color:#fff;text-decoration:underline}
.home-page #homeDashboard .hv4-next-meta{margin:-6px 0 0;font-size:12px;color:#cfe3d7}
body.home-page #homeDashboard .hv4-next-actions{display:flex;gap:8px}
body.home-page #homeDashboard .hv4-next-actions .hv4-btn{flex:1;font-size:15px}
body.home-page #homeDashboard .hv4-round{width:44px;height:44px;flex-shrink:0;border-radius:22px;background:rgba(255,255,255,.12);color:#fff;display:flex;align-items:center;justify-content:center}
body.home-page #homeDashboard .hv4-round:hover{background:rgba(255,255,255,.22);color:#fff}
body.home-page #homeDashboard .hv4-next-empty{display:flex;align-items:center;gap:12px}
body.home-page #homeDashboard .hv4-next-empty-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
body.home-page #homeDashboard .hv4-next-empty-text b{font-size:14px;color:#0e2e20}
body.home-page #homeDashboard .hv4-next-empty-text small{font-size:12px;color:#55665d}
body.home-page #homeDashboard .hv4-after{display:flex;align-items:center;gap:8px;padding:8px 8px 8px 12px;border-radius:14px;background:#fff;box-shadow:0 1px 2px rgba(16,38,28,.06)}
body.home-page #homeDashboard .hv4-after-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
body.home-page #homeDashboard .hv4-after-label{font-size:11px;color:#55665d}
body.home-page #homeDashboard .hv4-after-line{font-size:13px;font-weight:600;color:#0e2e20;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.home-page #homeDashboard .hv4-after-z{color:#2f7a12;text-decoration:none}
body.home-page #homeDashboard .hv4-after-game{color:#0e2e20}
body.home-page #homeDashboard .hv4-mygames{display:flex;flex-direction:column;gap:8px;padding:12px 14px 6px}
body.home-page #homeDashboard .hv4-seg{display:flex;gap:4px;padding:3px;border-radius:12px;background:#f0f4f1}
body.home-page #homeDashboard .hv4-seg button{flex:1;min-width:0;height:32px;padding:0 4px;border:0;border-radius:9px;background:transparent;color:#55665d;font:inherit;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap}
body.home-page #homeDashboard .hv4-seg button[aria-pressed="true"]{background:#fff;color:#0e2e20;font-weight:700;box-shadow:0 1px 2px rgba(16,38,28,.12)}
body.home-page #homeDashboard .hv4-games{display:flex;flex-direction:column}
body.home-page #homeDashboard .hv4-game{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:52px;padding:6px 0;border-top:1px solid #edf1ee;color:#0e2e20;text-decoration:none}
body.home-page #homeDashboard .hv4-game:hover{color:#0e2e20;background:#f8fbf7}
body.home-page #homeDashboard .hv4-game-when{display:flex;flex-direction:column;line-height:1.15}
body.home-page #homeDashboard .hv4-game-when small{font-size:11px;font-weight:600;color:#55665d}
body.home-page #homeDashboard .hv4-game-when b{font-size:13px;white-space:nowrap}
body.home-page #homeDashboard .hv4-game-main{min-width:0;display:flex;flex-direction:column;gap:1px}
body.home-page #homeDashboard .hv4-game-main b{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.home-page #homeDashboard .hv4-game-main small{font-size:11px;color:#55665d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.home-page #homeDashboard .hv4-game-side{display:flex;flex-direction:column;align-items:flex-end;gap:3px}
body.home-page #homeDashboard .hv4-game-side .home-tag{font-size:10px;padding:2px 7px}
body.home-page #homeDashboard .hv4-game-side small{font-size:11px;color:#55665d;font-variant-numeric:tabular-nums}
.home-page #homeDashboard .hv4-games-empty{padding:8px 0 10px;font-size:13px}
body.home-page #homeDashboard .hv4-games-empty a{color:var(--z-brand,#075438);font-weight:700}
body.home-page #homeDashboard .hv4-clubs{display:flex;flex-direction:column;gap:6px}
body.home-page #homeDashboard .hv4-clubs .hv4-head{padding:0 4px}
.home-page #homeDashboard .hv4-clubs .home-clubs{display:flex;gap:10px;padding:2px 4px;overflow-x:auto;scrollbar-width:none}
body.home-page #homeDashboard .hv4-clubs .home-club{flex:0 0 64px}
body.home-page #homeDashboard .hv4-clubs .home-club-mark{width:52px;height:52px;font-size:20px}
body.home-page #homeDashboard .hv4-clubs .home-club-name{max-width:64px;font-size:11px;-webkit-line-clamp:1}
/* Signed in · nearby games */
.home-page #homeUpcoming.section{padding:0;background:transparent}
.home-page #homeUpcoming .section-head{margin:0 0 6px;padding:0 4px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.home-page #homeUpcoming .section-head h2{margin:0;font-family:inherit;font-style:normal;font-weight:700;font-size:15px;letter-spacing:0;text-transform:none;color:#0e2e20}
.home-page #homeUpcoming .section-head h2::after{display:none}
.home-page #homeUpcoming .section-head a{font-size:13px;font-weight:600;text-decoration:none}
.home-page #homeUpcoming .status:empty{display:none}
.home-page #homeUpcoming #gamesList{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 4px;margin:0;scrollbar-width:none}
.home-page #homeUpcoming #gamesList::-webkit-scrollbar{display:none}
.home-page .hv4-near{flex:0 0 196px;box-sizing:border-box;display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:14px;background:#fff;color:#0e2e20;text-decoration:none;box-shadow:0 1px 2px rgba(16,38,28,.06)}
.home-page .hv4-near:hover{color:#0e2e20;box-shadow:0 2px 6px rgba(16,38,28,.12)}
.home-page .hv4-near-when{font-size:11px;font-weight:700;letter-spacing:.3px;text-transform:uppercase;color:#5e8f14}
.home-page .hv4-near b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-page .hv4-near small{font-size:11px;color:#55665d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-page .hv4-near-foot{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:2px}
.home-page .hv4-level{display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:10px;background:#eaf3e2;color:#2f5a0c;font-size:11px;font-weight:700}
.home-page .hv4-near-spots{font-size:11px;font-weight:600;color:#0b4f35}
.home-page .hv4-near-spots.is-full{color:#55665d}
/* Signed in · shortcuts */
.home-page .hv4-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.home-page .hv4-shortcut{height:68px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:0;border-radius:14px;background:#fff;color:#0b4f35;font:inherit;font-size:12px;font-weight:600;text-decoration:none;cursor:pointer;box-shadow:0 1px 2px rgba(16,38,28,.06)}
.home-page .hv4-shortcut:hover{color:#0b4f35;box-shadow:0 2px 6px rgba(16,38,28,.12)}
body.home-page.app-installed .hv4-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}

@media(max-width:360px){
 .home-page .hv4-hero h1{font-size:26px}
 .home-page .hv4-how h2{font-size:22px}
 .home-page .hv4-hero-sub{font-size:13px}
 .home-page .home-search-chip{padding:0 9px}
}
@media(max-width:360px){
 body.home-page:not(.home-member) .home-nav .home-account-row{gap:4px}
 body.home-page:not(.home-member) .hv4-lang{padding:0 8px}
 body.home-page:not(.home-member) .home-nav #loginBtn{padding:0 8px}
 .home-page .hv4-header-signup{padding:0 12px}
}
