.site-actions{display:flex;align-items:center;justify-content:flex-end;gap:.25rem;flex:none;flex-wrap:wrap;max-width:100%}
/* Product navigation and company attribution are separate, generous tap targets. */
.sitebar{align-items:flex-start}
.sitebar .powered-brand{display:grid;flex:1 1 10rem;min-width:0;gap:0;align-content:start}
.sitebar .ganak-home{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;min-height:3rem;color:var(--ink);text-decoration:none;width:fit-content;max-width:100%}
.sitebar .ganak-home strong{font-size:1.25rem;white-space:nowrap}.sitebar .ganak-home img{width:1.75rem;height:1.75rem}
.sitebar .ganak-home:hover strong{text-decoration:underline;text-underline-offset:.2rem}
.sitebar .brand-credit{display:flex;align-content:center;align-items:center;flex-wrap:wrap;column-gap:.25em;min-height:2.75rem;min-width:0;font-size:.875rem;line-height:1.3;color:var(--muted);text-decoration:none;width:fit-content;max-width:100%}
.sitebar .brand-credit span{white-space:nowrap}.sitebar .brand-credit:hover{text-decoration:underline;text-underline-offset:.2rem}
@media(max-width:700px){.sitebar .powered-brand{flex-basis:5.5rem}.sitebar .ganak-home{gap:.375rem}.sitebar .ganak-home strong{font-size:1.125rem}.sitebar .ganak-home img{width:1.5rem;height:1.5rem}}
.site-actions .header-courts{display:inline-flex;align-items:center;justify-content:center;width:3rem;height:3rem;min-width:3rem;padding:0;box-shadow:none;border-color:transparent;color:var(--muted);text-decoration:none}
.header-courts svg{width:1.375rem;height:1.375rem;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.site-actions .header-courts{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
.site-actions .header-courts[aria-current=true]{background:var(--chipS);color:var(--win);border-color:var(--line)}
.site-actions .header-courts:hover{background:var(--hover)}
.report-header{flex-wrap:wrap}.report-header .site-actions{gap:.5rem}
/* Shared navigation: stable destinations and account control on every app page. */
.sitebar:has(.primary-nav){display:grid;grid-template-columns:minmax(8rem,1fr) auto auto;align-items:start;gap:.5rem 1rem;container-type:normal}
.sitebar .primary-nav{display:flex;align-items:center;gap:.25rem;flex-wrap:nowrap;width:auto;order:initial}
.sitebar .primary-nav>a,.sitebar .nav-explore{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;min-height:3rem;padding:.5rem .75rem;color:var(--muted);font:inherit;font-weight:600;white-space:nowrap;border:1px solid transparent;background:transparent;border-radius:var(--radius);text-decoration:none}
.sitebar .primary-nav>[aria-current]{background:var(--chipS);color:var(--ink)}
.sitebar .primary-nav>a:hover,.sitebar .nav-explore:hover{background:var(--hover)}
.sitebar .site-actions{order:initial;flex-wrap:nowrap}
.sitebar .brand-credit{font-size:.875rem}
.sitebar .header-account{min-height:3rem;min-width:5rem;white-space:nowrap}
.navigation-sheet{width:min(28rem,calc(100% - 2rem));max-height:calc(100dvh - 2rem);padding:1.25rem;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.navigation-sheet::backdrop{background:color-mix(in srgb,var(--ink) 35%,transparent)}
.navigation-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.75rem;position:sticky;top:-1.25rem;background:var(--surface);padding:.5rem 0;z-index:1}
.navigation-head h2{font-size:1.25rem;line-height:1.3;margin:0;flex:1;min-width:min(12ch,100%)}
.navigation-sheet button,.navigation-sheet a.primary{min-height:3rem;font:inherit;white-space:nowrap}
.navigation-head button{flex-shrink:0}
.navigation-sheet :focus-visible,.primary-nav :focus-visible{outline:3px solid var(--navigation-focus);outline-offset:3px}
.nav-group{margin:.75rem 0}.nav-group h3{font-size:.875rem;color:var(--muted);margin:1.25rem 0 .5rem}
.nav-destination{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.25rem .75rem;padding:.75rem .5rem;border-radius:var(--radius);color:var(--ink);text-decoration:none;min-height:3rem;font-weight:600}
.nav-destination small{grid-column:1;font-size:.875rem;font-weight:400;color:var(--muted);line-height:1.4}.nav-arrow{grid-column:2;grid-row:1/3;align-self:center}
.nav-destination:hover,.nav-destination[aria-current]{background:var(--hover)}
.navigation-identity{padding:1rem .5rem;border-bottom:1px solid var(--line)}.navigation-identity strong{font-size:1.125rem;overflow-wrap:anywhere}.navigation-identity p{margin:.5rem 0 0;color:var(--muted)}
.navigation-signin,.navigation-signout{display:flex;align-items:center;justify-content:center;width:100%;margin-top:1rem;text-decoration:none;padding:.75rem}
.navigation-note{font-size:.875rem;line-height:1.5;color:var(--muted)}#navigationStatus{font-size:.875rem;line-height:1.5;margin:.5rem 0 0}#navigationStatus:empty{margin:0}.navigation-loading{min-height:5rem}
@media(max-width:1100px){
 .sitebar:has(.primary-nav){display:flex;flex-wrap:wrap;gap:4px 8px;padding:8px 16px}
 .sitebar .powered-brand{flex:1 1 5rem;min-width:0}
 .sitebar .site-actions{flex:0 1 auto;flex-wrap:wrap;order:2}
 .sitebar .primary-nav{display:flex;flex-wrap:wrap;order:3;width:100%;gap:4px}
 .sitebar .primary-nav>a,.sitebar .nav-explore{flex:1 0 0;min-width:max-content;min-height:48px;padding:8px 4px;font-size:.875rem}
 /* Text grows naturally; touch-target minima and chrome spacing do not double. */
 .sitebar .ganak-home{min-height:48px}.sitebar .brand-credit{min-height:44px}
 .sitebar .site-actions{gap:4px;margin-left:auto}.sitebar .header-account{min-height:48px}
 .sitebar .header-courts,.sitebar .theme-toggle{width:48px;height:48px;min-width:48px;min-height:48px}
 .sitebar .header-courts svg,.sitebar .theme-toggle svg{width:22px;height:22px}
 .sitebar #theme{padding:0}
 .sitebar .brand-credit{line-height:1.3}
 .navigation-sheet{margin:auto auto 1rem}
}
@media(max-width:380px){
 .sitebar:has(.primary-nav){gap:4px;padding-inline:8px}
 .sitebar .ganak-home strong{font-size:1.05rem}.sitebar .ganak-home img{width:1.25rem;height:1.25rem}
 .sitebar .site-actions{gap:.125rem}.sitebar .header-account{min-width:4.5rem}
 .sitebar .primary-nav>a,.sitebar .nav-explore{flex-basis:calc(50% - 2px)}
}
@media(prefers-reduced-motion:no-preference){.navigation-sheet[open]{animation:navigation-enter 160ms ease-out}.nav-destination{transition:background-color 140ms ease}.sitebar .primary-nav>*{transition:background-color 140ms ease}}
@keyframes navigation-enter{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.navigation-sheet,.nav-destination{animation:none!important;transition:none!important}}

:root{--navigation-focus:var(--court2)}:root[data-theme=dark]{--navigation-focus:var(--ball)}
.navigation-scroll-cue{display:block;visibility:hidden;position:sticky;bottom:0;margin:0;padding:.5rem;background:var(--surface);color:var(--muted);font-size:.875rem;text-align:center;border-top:1px solid var(--line);pointer-events:none}.has-more-navigation .navigation-scroll-cue{visibility:visible}

/* Explore is the single navigation entry; allow the brand and account to breathe. */
@media(max-width:1100px){
 .sitebar:has(.primary-nav){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
 .sitebar .powered-brand{grid-column:1;grid-row:1}
 .sitebar .site-actions{grid-column:2;grid-row:1}
 .sitebar .primary-nav{grid-column:1/-1;grid-row:2;width:auto;justify-content:flex-end}
 .sitebar .nav-explore{flex:0 0 auto;min-width:6rem;padding-inline:1rem}
}
@media(min-width:541px) and (max-width:1100px){
 .sitebar:has(.primary-nav){grid-template-columns:minmax(0,1fr) auto auto}
 .sitebar .primary-nav{grid-column:2;grid-row:1}
 .sitebar .site-actions{grid-column:3}
}

.sitebar .nav-explore .explore-chevron{display:block;width:1em;height:1em;flex:none;align-self:center;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}

/* Compact screens get an intentional utility row, not a stranded Explore button. */
.mobile-toolbar[hidden]{display:none}
@media(max-width:540px){
 .sitebar:has(.primary-nav){grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;padding:8px 16px 12px}
 .sitebar .powered-brand{grid-column:1;grid-row:1}.sitebar .site-actions{grid-column:2;grid-row:1}
 .sitebar .mobile-toolbar{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:4px;min-width:0}
 .sitebar .mobile-toolbar .primary-nav{width:auto;flex:1 1 auto;justify-content:flex-start;order:0}
 .sitebar .mobile-toolbar .nav-explore{min-width:0;min-height:48px;padding:8px;flex:none}
 .mobile-toolbar .header-courts,.mobile-toolbar .theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:48px;height:48px;min-width:48px;min-height:48px;padding:0;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--muted);text-decoration:none}
 .mobile-toolbar .header-courts:hover,.mobile-toolbar .theme-toggle:hover{background:var(--hover)}
 .mobile-toolbar .header-courts[aria-current=true]{background:var(--chipS);color:var(--win)}
 .mobile-toolbar .header-courts svg,.mobile-toolbar .theme-toggle svg{width:22px;height:22px}
 .sitebar .home-tagline{font-size:.875rem;line-height:1.4;max-width:34ch;margin:0 0 4px}
 .sitebar .ganak-home{min-height:44px}
}

/* Keep the destination visible, including at enlarged text; the utility row may wrap. */
.sitebar .header-courts{flex-direction:column;gap:1px;width:max-content;min-width:48px;height:auto;min-height:48px;padding:2px 4px;flex-shrink:0}
.sitebar .header-courts svg{width:18px;height:18px;flex:none}
.sitebar .header-courts-label{display:block;font-size:.75rem;font-weight:600;line-height:1.2;white-space:nowrap}

/* One compact language control in the shared header, with its native label retained. */
.sitebar .app-language{display:flex;flex:0 1 auto;align-items:center;align-self:auto;position:relative;min-width:0;max-width:100%;margin:0;gap:0}
.sitebar .app-language>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sitebar .app-language select{font:inherit;font-size:.875rem;appearance:none;-webkit-appearance:none;min-height:48px;width:6.5em;max-width:100%;padding:8px 22px 8px 8px;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:right 13px center,right 9px center;background-size:4px 4px;background-repeat:no-repeat;border:1px solid var(--line);border-radius:var(--radius);background-color:var(--surface);color:var(--ink)}
.sitebar .app-language select:focus-visible{outline:3px solid var(--navigation-focus);outline-offset:3px}
@media(max-width:540px){.sitebar .mobile-toolbar .app-language{margin-left:auto}}

/* One Ganak header on every page; secondary tools live in the Account sheet. */
.sitebar:has(.primary-nav){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:.75rem}
.sitebar .powered-brand{grid-column:1;grid-row:1}
.sitebar .site-actions{grid-column:2;grid-row:1;justify-content:flex-end}
.sitebar .primary-nav,.sitebar .mobile-toolbar,.sitebar .header-courts,.sitebar .theme-toggle,.sitebar .app-language,.sitebar .powered-brand .brand-credit{display:none!important}
.sitebar .home-tagline{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:clamp(.875rem,1vw,1rem);font-weight:400;line-height:1.3;letter-spacing:.01em;color:var(--muted);max-width:38ch;margin:0 0 .25rem;text-wrap:balance}
.navigation-utilities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--line)}
.navigation-utilities>button,.navigation-utilities>a.secondary{display:flex;align-items:center;justify-content:center;min-width:0;min-height:3rem;padding:.5rem;text-align:center;text-decoration:none;white-space:normal}
.navigation-language{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:3rem;font-weight:600}
.navigation-language select{min-height:3rem;padding:.5rem .75rem;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--ink);font:inherit}
.navigation-credit{grid-column:1/-1;color:var(--muted);font-size:.875rem;text-align:center;text-decoration:none}
.navigation-credit:hover{text-decoration:underline}
.report-header .report-account{display:inline-flex;align-items:center;justify-content:center;min-height:3rem;padding:.5rem .9rem;border:1px solid var(--line);border-radius:var(--radius);background:var(--white,var(--surface));color:var(--ink);font-weight:650;text-decoration:none;box-shadow:0 2px 10px rgba(0,0,0,.035)}
.report-header .report-account:hover{background:var(--vp,var(--hover))}
.report-actions{display:flex;justify-content:flex-end;margin-bottom:1rem}
/* At intermediate widths or enlarged text, utilities reflow rather than cover the brand. */
@media(min-width:541px) and (max-width:1100px){
 .sitebar:has(.primary-nav){grid-template-columns:minmax(0,1fr) auto}
 .sitebar .site-actions{grid-column:2;grid-row:1;flex-wrap:wrap;max-width:65vw}
 .sitebar .primary-nav{grid-column:1/-1;grid-row:2;justify-content:flex-end}
}

.navigation-credit{display:flex;align-items:center;justify-content:center;min-height:44px}
.navigation-language{flex-wrap:wrap}.navigation-language select{min-width:0;max-width:100%}

/* Reserve the illustration's target before scripts load; keep both actions in one row. */
.sitebar .header-sport{display:inline-grid;grid-template-columns:34px 14px;column-gap:2px;align-items:center;justify-content:center;width:56px;height:48px;min-width:56px;padding:2px;flex:none;text-decoration:none}
.header-sport-equipment{display:block;width:34px;height:36px;background:var(--header-sport-image,none) center/contain no-repeat}
/* A new player may not have chosen a sport yet; keep the control recognizable. */
:root:not([data-header-sport]) .header-sport-equipment{display:grid;place-items:center;font-size:14px;line-height:1;color:var(--ink)}
:root:not([data-header-sport]) .header-sport-equipment::after{content:'Sport'}
:root[lang=hi]:not([data-header-sport]) .header-sport-equipment::after{content:'खेल'}
:root[lang=mr]:not([data-header-sport]) .header-sport-equipment::after{content:'खेळ'}
.sitebar .header-sport-arrow{display:block;width:14px;height:16px;fill:var(--court2);stroke:var(--surface);stroke-width:1.5;paint-order:stroke;pointer-events:none}
:root[data-theme=dark] .header-sport-arrow{fill:var(--ball)}
:root[data-header-sport=tennis]{--header-sport-image:url('/assets/ganak-sport-tennis.webp')}
:root[data-header-sport=badminton]{--header-sport-image:url('/assets/ganak-sport-badminton.webp')}
:root[data-header-sport=pickleball]{--header-sport-image:url('/assets/ganak-sport-pickleball.webp')}
:root[data-header-sport=table_tennis]{--header-sport-image:url('/assets/ganak-sport-table-tennis.webp')}
:root[data-header-sport=padel]{--header-sport-image:url('/assets/ganak-sport-padel.webp')}
:root[data-header-sport=squash]{--header-sport-image:url('/assets/ganak-sport-squash.webp')}
.sitebar .header-sport:focus-visible{outline:3px solid var(--navigation-focus);outline-offset:3px}
.sitebar:has(.header-sport) .site-actions{flex-wrap:nowrap}
@media(max-width:540px){
 /* Let enlarged text move the actions together to a new row before they
    collide with the brand. Normal-size mobile chrome stays on one row. */
 .sitebar,.sitebar:has(.primary-nav){display:flex;flex-wrap:wrap;column-gap:8px;row-gap:0}
 .sitebar .powered-brand{display:contents}
 .sitebar .ganak-home{flex:1 0 max-content;flex-wrap:nowrap;min-height:48px}
 .sitebar .site-actions{order:1;flex:0 0 auto}
 .sitebar .ganak-home strong{font-size:1.125rem}
 .sitebar .home-tagline{order:2;flex:0 0 100%;max-width:100%;margin-top:2px}
}
