.nav01-row{display:flex;gap:2px;align-items:center;min-width:0}.nav01-row>.fa-shell-link{min-width:0;flex:1}.nav01-expand{width:29px;min-width:29px;height:34px;display:grid;place-items:center;background:transparent;border:1px solid transparent;border-radius:8px;color:inherit;cursor:pointer}.nav01-expand .language-chevron{color:inherit}.nav01-expand[aria-expanded=true] .language-chevron{transform:rotate(180deg)}.nav01-children{display:grid;gap:2px;padding-left:18px}.nav01-children[hidden]{display:none}.nav01-children a{display:flex;align-items:center;gap:8px;color:inherit;text-decoration:none;padding:9px 7px;font-size:11px;border-radius:8px}.nav01-children .fa-icon{flex:none}.nav01-children a:focus-visible,.nav01-expand:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.fa-shell-nav{overflow-y:auto;scrollbar-width:thin}
.nav01-competition-section{min-width:0;margin-top:var(--app-page-section-gap)}.nav01-competition-section>h2{margin:0 0 14px;font-size:20px}.nav01-competition-section>.app-world-countries{margin-top:0}

/* Match the existing sidebar link hover; no submenu-specific movement. */
.nav01-children a{transition:background-color 150ms ease,color 150ms ease}
@media(min-width:721px) and (hover:hover) and (pointer:fine){.nav01-children a:not(.is-active):not([aria-current]):not([aria-disabled=true]):hover{background:#1b3838;color:#e5f5ed}}
@media(min-width:721px) and (hover:hover) and (pointer:fine){html[data-theme="light"] .nav01-children a:not(.is-active):not([aria-current]):not([aria-disabled=true]):hover{background:#EAF2ED;color:#17664E}}
@media(prefers-reduced-motion:reduce){.nav01-children a{transition:none}}


/* Height animation must clip child links until the submenu has revealed them. */
.nav01-children.nav01-is-animating{overflow:hidden}

/* The shared drawer leaves the entire phone viewport available to page content.
   Explicit entrance keyframes also run when visibility and focus change in
   the same task (mobile WebKit); the closed state retains its exit transition. */
@keyframes shell-drawer-enter{from{transform:translate3d(-100%,0,0)}to{transform:translate3d(0,0,0)}}
@keyframes shell-backdrop-enter{from{opacity:0}to{opacity:1}}
#shell-menu,.shell-close,.shell-backdrop,[data-shell-club-menu][hidden]{display:none}
#shell-menu,.shell-close,.shell-wallet-menu summary{border:0;background:transparent;color:inherit;cursor:pointer}
.fa-shell-nav{overflow-y:auto;overscroll-behavior:contain}
.fa-shell-club a,.fa-shell-primary{display:flex;align-items:center;gap:8px;min-width:0;color:inherit}
.fa-shell-club a img{object-fit:contain}
.fa-shell-link[aria-disabled=true]{opacity:.55;cursor:default}
.fa-shell-primary #app-nav-profile{width:auto}
@media(max-width:720px){
 .fa-career-shell:has(#shell-menu){grid-template-columns:minmax(0,1fr)}
 .fa-career-shell:has(#shell-menu) .fa-shell-workspace{grid-column:1}
 #shell-sidebar{display:flex;position:fixed;inset:0 auto 0 0;width:min(260px,85vw);padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom) env(safe-area-inset-left);z-index:100;transform:translate3d(-100%,0,0);will-change:transform;visibility:hidden;pointer-events:none;transition:transform 320ms cubic-bezier(.2,.75,.25,1),visibility 0s linear 320ms}
 #shell-sidebar[data-open]{transform:translate3d(0,0,0);visibility:visible;pointer-events:auto;transition:visibility 0s;animation:shell-drawer-enter 320ms cubic-bezier(.2,.75,.25,1)}
 .shell-backdrop{display:block;position:fixed;inset:0;background:#0008;z-index:99;will-change:opacity;opacity:0;visibility:hidden;pointer-events:none;transition:opacity 320ms ease,visibility 0s linear 320ms}
 #shell-sidebar[data-open]+.shell-backdrop{opacity:1;visibility:visible;pointer-events:auto;transition:visibility 0s;animation:shell-backdrop-enter 320ms ease}
 /* With the runtime loaded, reveal the closed geometry before committing the
    open transform. This avoids coalescing visibility, focus and movement into
    one rendered frame on mobile. Keyframes above remain the no-runtime fallback. */
 #shell-sidebar[data-drawer-motion-ready][data-open]{animation:none;transform:translate3d(-100%,0,0);transition:transform 320ms cubic-bezier(.2,.75,.25,1),visibility 0s}
 #shell-sidebar[data-drawer-motion-ready][data-open][data-drawer-entered]{transform:translate3d(0,0,0)}
 #shell-sidebar[data-drawer-motion-ready][data-open]+.shell-backdrop{animation:none;opacity:0;transition:opacity 320ms ease,visibility 0s}
 #shell-sidebar[data-drawer-motion-ready][data-open][data-drawer-entered]+.shell-backdrop{opacity:1}
 @media(prefers-reduced-motion:reduce){
  #shell-sidebar,.shell-backdrop{transition:none!important;animation:none!important}
  #shell-sidebar[data-drawer-motion-ready][data-open]{transform:translate3d(0,0,0)}
  #shell-sidebar[data-drawer-motion-ready][data-open]+.shell-backdrop{opacity:1}
 }
 #shell-menu,.shell-close{display:grid;place-items:center;min-width:36px;height:40px;flex:none}
 .shell-close{margin-left:auto;font-size:22px}
 #shell-sidebar .fa-shell-link,#shell-sidebar .nav01-children a{width:100%;justify-content:flex-start;padding-inline:12px;gap:9px}
 #shell-sidebar .fa-shell-link span,#shell-sidebar .nav01-children a span,#shell-sidebar .app-brand-copy{display:inline}
 #shell-sidebar .fa-shell-link{font-size:13px;line-height:16px}
 #shell-sidebar .nav01-children a{font-size:13px;line-height:16px;height:34px;padding-block:0;box-sizing:border-box}
 #shell-sidebar .fa-shell-nav-group-title{font-size:11px;line-height:18px;height:20px;border:0;margin:3px 0}
 #shell-sidebar .nav01-row{display:flex}
 #shell-sidebar .nav01-expand{display:inline-flex}
 .shell-wallet-menu{position:relative;font-size:11px}
 .shell-wallet-menu>span{position:absolute;right:0;top:100%;background:var(--panel);width:max-content}
}

#shell-sidebar .fa-shell-link[aria-disabled=true]{cursor:default}
#shell-sidebar [data-shell-club-menu] .fa-shell-link svg{flex:none}

/* #824: World precedes the managed club. CSS also preserves initial visual order. */
.fa-shell-nav>[aria-labelledby="app-nav-world-title"]{order:-2}
.fa-shell-nav>[data-shell-club-menu]{order:-1}
.fa-shell-primary{display:grid;grid-template-columns:112px 112px;gap:6px;flex:0 0 230px;min-width:0}
.fa-shell-primary #app-nav-profile{grid-column:2;grid-row:1;width:100%;min-width:0;justify-content:center;gap:6px;padding-inline:6px}
.fa-shell-primary [data-shell-item="wallet"]{grid-column:1;grid-row:1;min-width:0;width:100%;justify-content:center;padding-inline:4px;gap:5px}
.fa-shell-primary [data-shell-item="wallet"] span{overflow:hidden;text-overflow:ellipsis;min-width:0}
.fa-shell-primary #app-nav-profile span{overflow:hidden;text-overflow:ellipsis;min-width:0}
.fa-shell-club a img{flex:none}
.fa-shell-club a{max-width:100%}
.fa-shell-time{flex-shrink:0}
@media(min-width:1025px){.fa-shell-time{flex:1 1 0;min-width:0}}
@media(max-width:1024px){
 .fa-shell-primary{grid-template-columns:36px 44px;gap:4px;flex-basis:84px}
 .fa-shell-primary #app-nav-profile,.fa-shell-primary [data-shell-item="wallet"]{padding:0;justify-content:center}
 .fa-shell-primary .fa-shell-link span{display:none}
}
@media(max-width:420px){.fa-shell-primary{grid-template-columns:26px 36px;gap:2px;flex-basis:64px}}
/* Keep shared search/date foregrounds readable: two approved crest colours
   tint the theme's neutral surface without replacing its text palette. */
html[data-preview-club-colors] .fa-shell-topbar,
html .fa-shell-topbar[data-club-colors]{
 background:linear-gradient(110deg,color-mix(in srgb,var(--club-primary) 16%,var(--surface)),color-mix(in srgb,var(--club-secondary) 28%,var(--surface)));
 border-bottom-color:color-mix(in srgb,var(--club-secondary) 42%,var(--border))
}
html[data-theme="light"][data-preview-club-colors] .fa-shell-topbar,
html[data-theme="light"] .fa-shell-topbar[data-club-colors]{
 background:linear-gradient(110deg,color-mix(in srgb,var(--club-primary) 14%,var(--surface)),color-mix(in srgb,var(--club-secondary) 12%,var(--surface)));
 border-bottom-color:color-mix(in srgb,var(--club-secondary) 35%,var(--border))
}

/* The managed club palette covers both persistent shell surfaces and the mobile drawer.
   Keep the same text palette and neutral body; only the chrome is personalized. */
html[data-preview-club-colors] .fa-shell-sidebar,
html .fa-shell-sidebar[data-club-colors]{
 background:linear-gradient(165deg,color-mix(in srgb,var(--club-primary) 16%,var(--surface)),color-mix(in srgb,var(--club-secondary) 28%,var(--surface)));
 border-right-color:color-mix(in srgb,var(--club-secondary) 42%,var(--border))
}
html[data-theme="light"][data-preview-club-colors] .fa-shell-sidebar,
html[data-theme="light"] .fa-shell-sidebar[data-club-colors]{
 background:linear-gradient(165deg,color-mix(in srgb,var(--club-primary) 14%,var(--surface)),color-mix(in srgb,var(--club-secondary) 12%,var(--surface)));
 border-right-color:color-mix(in srgb,var(--club-secondary) 35%,var(--border))
}
.fa-shell-sidebar[data-club-colors] :is(.fa-shell-sidebar-head,.fa-shell-nav-secondary){border-color:color-mix(in srgb,var(--club-secondary) 35%,var(--border))}
/* Overlay the actual club gradient, rather than replacing it with a nearly
   identical primary tint. The foreground contrast works on either theme,
   including white, black and near-identical crest palettes. */
@media(min-width:721px) and (hover:hover) and (pointer:fine){
html .fa-shell-sidebar[data-club-colors] :is(.fa-shell-link,.nav01-children a):not(.is-active):not([aria-current]):not([aria-disabled=true]):hover{
 background:color-mix(in srgb,var(--text) 18%,transparent);
 color:var(--text)!important;
 box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--text) 30%,transparent)
}
}
html .fa-shell-sidebar[data-club-colors] .fa-shell-link.is-active{
 background:linear-gradient(90deg,color-mix(in srgb,var(--club-primary) 26%,var(--surface)),color-mix(in srgb,var(--club-secondary) 26%,var(--surface)));
 border-color:color-mix(in srgb,var(--club-secondary) 45%,var(--border));color:var(--text)!important;box-shadow:none
}
html[data-theme="light"] .fa-shell-sidebar[data-club-colors] .fa-shell-link.is-active{
 background:linear-gradient(90deg,color-mix(in srgb,var(--club-primary) 16%,var(--surface)),color-mix(in srgb,var(--club-secondary) 16%,var(--surface)))
}
.shell-club-crest-fallback{display:block;flex:0 0 28px;width:28px;height:28px;background:var(--surface);border:1px solid var(--border);border-radius:50%}

/* White or very bright club colours can lighten the dark shell gradient.
   Use the canonical high-contrast foreground instead of petrol-specific muted
   navigation colours. The same foreground also works on the Light gradient. */
html .fa-shell-sidebar[data-club-colors] :is(.fa-shell-nav-group-title,.app-brand-copy,.app-brand-copy b,.app-brand-copy small,.nav01-children a,.nav01-expand),
html .fa-shell-topbar[data-club-colors] :is(.fa-shell-time,.fa-shell-time .fa-icon){color:var(--text)}
html .fa-shell-sidebar[data-club-colors] .fa-shell-link,
html .fa-shell-topbar[data-club-colors] .fa-shell-link{color:var(--text)!important}

/* Account and Sign in share one stable hit target; avoid native tap flashes. */
.fa-shell-primary #app-nav-profile{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.fa-shell-primary #app-nav-profile[aria-busy=true]{cursor:progress}

/* Avoid the platform tap highlight flashing over custom navigation states. */
.fa-shell-sidebar :is(a,button){-webkit-tap-highlight-color:transparent}

/* #824: touch scrolling must not leave sticky hover or native tap rectangles.
   Keep the route's selected appearance and keyboard-only focus indication. */
@media(max-width:720px){
 #shell-menu,.shell-close{ -webkit-tap-highlight-color:transparent; background:transparent;box-shadow:none;border:0 }
 #shell-menu:focus:not(:focus-visible),.shell-close:focus:not(:focus-visible){outline:none}
 html[data-shell-pointer-focus] #shell-menu:focus,html[data-shell-pointer-focus] #shell-sidebar :is(a,button):focus{outline:none}
 /* Explicit ring is present only while a keyboard-focused control owns
    actual focus. No reliance on WebKit's :focus-visible heuristic. */
 #shell-menu[data-shell-keyboard-ring],#shell-sidebar .shell-close[data-shell-keyboard-ring]{outline:2px solid var(--focus)!important;outline-offset:2px}
 #shell-sidebar .fa-shell-nav{-webkit-user-select:none;user-select:none}
}
