/* BBS-098. Neutral shared navigation; club page palettes stay outside these components. */
html.ffb-menu-scroll-ready{scroll-padding-top:calc(var(--ffb-sticky-menu-height,0px) + 12px)}
@media(max-width:1099px){
 body.ffb.figma-site .ffb-header .ffb-nav.is-menu-docked{position:fixed;z-index:90;top:0;left:0;right:0;width:auto;margin:0;padding-inline:16px;background:var(--ffb-surface);box-shadow:0 1px 0 var(--ffb-line);transform:translateY(calc(-100% - 2px));visibility:hidden;pointer-events:none;transition:transform 160ms ease,visibility 160ms}
 body.ffb.figma-site .ffb-header .ffb-nav.is-menu-docked.is-menu-visible{transform:translateY(0);visibility:visible;pointer-events:auto}
}
@media(min-width:1100px){
 body.ffb.figma-site .ffb-header[data-scroll-header].is-header-docked{position:fixed;inset:0 0 auto;z-index:90;width:100%;transform:translateY(calc(-100% - 2px));visibility:hidden;pointer-events:none;transition:transform 160ms ease,visibility 160ms}
 body.ffb.figma-site .ffb-header[data-scroll-header].is-header-docked.is-header-visible{transform:translateY(0);visibility:visible;pointer-events:auto}
}
@media(prefers-reduced-motion:reduce){body.ffb.figma-site .ffb-header .ffb-nav.is-menu-docked,body.ffb.figma-site .ffb-header[data-scroll-header].is-header-docked{transition:none}}
/* BBS-106: keep the label and opening cue inside the same tap target. */
body.ffb.figma-site .ffb-header [data-board-menu]{position:relative;flex-direction:row;flex-wrap:nowrap;gap:6px;white-space:nowrap;cursor:pointer}
body.ffb.figma-site .ffb-header [data-board-menu][aria-current]::after{position:absolute;bottom:0;left:0;right:0;width:100%;margin:0}
body.ffb.figma-site .ffb-header .ffb-board-menu-caret{display:block;flex:none;width:10px;height:6px;background:currentColor;clip-path:polygon(0 0,100% 0,50% 100%)}
body.ffb.figma-site .ffb-header [data-board-menu][aria-expanded=true] .ffb-board-menu-caret{transform:rotate(180deg)}
body.ffb.figma-site .ffb-board-directory,body.ffb.figma-site .ffb-board-dialog{color:#f2f2f2;background:#1c1c1c;border:1px solid #565656;border-radius:12px;box-shadow:0 16px 48px #0008,0 4px 12px #0004;font-family:var(--ffb-font);text-align:left;font-size:14px;line-height:1.6}
body.ffb.figma-site .ffb-board-directory{position:fixed;z-index:100;width:840px;max-width:calc(100vw - 32px);display:flex;flex-direction:column;overflow:hidden}
body.ffb.figma-site .ffb-board-directory[hidden],body.ffb.figma-site [data-board-group][hidden]{display:none!important}
body.ffb.figma-site :is(.ffb-board-directory,.ffb-board-dialog) :is(h2,h3,p,ul){margin:0}
body.ffb.figma-site :is(.ffb-board-directory__head,.ffb-board-dialog__head){display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px 16px;border-bottom:1px solid #333;flex-shrink:0;background:#1c1c1c}
body.ffb.figma-site :is(.ffb-board-directory__head,.ffb-board-dialog__head) h2{font-size:18px;line-height:1.5;color:#f2f2f2}
body.ffb.figma-site :is(.ffb-board-directory__head,.ffb-board-dialog__head) p{font-size:12px;margin-top:4px;color:#a6a6a6}
body.ffb.figma-site [data-board-close]{display:flex;align-items:center;justify-content:center;flex:none;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:6px;background:transparent;color:#a6a6a6;font-size:28px;cursor:pointer;line-height:1}
body.ffb.figma-site [data-board-close]:hover{background:#303030;color:#f2f2f2}
body.ffb.figma-site .ffb-board-directory__layout{display:grid;grid-template-columns:172px minmax(0,1fr);min-height:0;overflow-y:auto;overscroll-behavior:contain}
body.ffb.figma-site .ffb-board-directory__leagues{padding:20px 14px;background:#171717;border-right:1px solid #333;align-self:stretch}
body.ffb.figma-site .ffb-board-directory__region+ .ffb-board-directory__region{margin-top:24px}
body.ffb.figma-site .ffb-board-directory__region>p{font-size:11px;color:#a6a6a6;margin-bottom:8px;padding-left:12px}
body.ffb.figma-site .ffb-board-directory__region>div{display:grid;gap:4px;grid-template-columns:1fr}
body.ffb.figma-site [data-board-league]{font:inherit;font-size:13px;text-align:left;min-height:44px;padding:8px 12px;border:1px solid transparent;border-radius:6px;background:transparent;color:#d6d6d6;cursor:pointer;white-space:normal;overflow-wrap:anywhere}
body.ffb.figma-site [data-board-league][aria-pressed=true]{border-color:#4c6c93;box-shadow:inset 3px 0 #5ea6ff;background:#273343;color:#8abaff;font-weight:700}
body.ffb.figma-site .ffb-board-directory__results{padding:22px;min-width:0}
body.ffb.figma-site .ffb-board-directory__summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
body.ffb.figma-site .ffb-board-directory__summary h3{font-size:14px;color:#f2f2f2}
body.ffb.figma-site .ffb-board-directory__summary>span{font-size:11px;color:#a6a6a6;flex-shrink:0}
body.ffb.figma-site .ffb-board-directory__clubs{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
body.ffb.figma-site .ffb-board-directory__clubs>li{margin:0;min-width:0;padding:0}
body.ffb.figma-site .ffb-board-directory__clubs a{display:flex;gap:10px;align-items:center;min-height:76px;height:100%;padding:10px;border:1px solid #414141;border-radius:6px;background:#222;color:#d6d6d6;font-size:12px;line-height:1.65;overflow-wrap:anywhere;text-decoration:none}
body.ffb.figma-site .ffb-board-directory__clubs img{width:32px;height:38px;flex:none;object-fit:contain}
body.ffb.figma-site .ffb-board-directory__clubs a>span{min-width:0}
body.ffb.figma-site .ffb-board-directory__clubs a:hover{background:#303030;border-color:#737373;color:#8abaff}
body.ffb.figma-site .ffb-board-directory__clubs a[aria-current]{border-color:#5ea6ff;color:#8abaff}
body.ffb.figma-site .ffb-board-directory__foot{border-top:1px solid #333;background:#191919;padding:10px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}
body.ffb.figma-site .ffb-board-directory__foot>a{display:flex;align-items:center;gap:8px;color:#8abaff;font-size:12px;min-height:44px;overflow-wrap:anywhere}
body.ffb.figma-site .ffb-board-directory__foot>span:last-child{font-size:11px;color:#a6a6a6}
body.ffb.figma-site .ffb-board-dialog{padding:0;inset:0;width:calc(100vw - 48px);max-width:840px;max-height:calc(100dvh - 16px);margin:auto}
body.ffb.figma-site .ffb-board-dialog:not([open]){display:none}
body.ffb.figma-site .ffb-board-dialog[open]{display:flex;flex-direction:column;height:min(860px,calc(100dvh - 16px));overflow:hidden}
body.ffb.figma-site .ffb-board-dialog::backdrop{background:#0008}
body.ffb.figma-site [data-board-dialog-content]{flex:1;min-height:0}
body.ffb.figma-site .ffb-board-directory.is-dialog{position:static;width:100%;height:100%;max-height:none;max-width:none;border:0;border-radius:0;box-shadow:none;overflow:hidden}
body.ffb.figma-site .ffb-board-directory.is-dialog .ffb-board-directory__head{display:none}
body.ffb.figma-site .ffb-board-directory.is-dialog .ffb-board-directory__layout{display:block;flex:1}
body.ffb.figma-site .ffb-board-directory.is-dialog .ffb-board-directory__leagues{display:grid;grid-template-columns:1fr;gap:12px;border-right:0;border-bottom:1px solid #333;padding:16px 20px;background:#1c1c1c}
body.ffb.figma-site .is-dialog .ffb-board-directory__region+ .ffb-board-directory__region{margin:0}
body.ffb.figma-site .is-dialog .ffb-board-directory__region>p{padding:0;margin-bottom:6px}
body.ffb.figma-site .is-dialog .ffb-board-directory__region>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
body.ffb.figma-site .is-dialog [data-board-league]{border-color:#4b4b4b;text-align:center;padding:8px 6px}
body.ffb.figma-site .is-dialog [data-board-league][aria-pressed=true]{border-color:#5ea6ff;background:#1c2d44;box-shadow:none}
body.ffb.figma-site .is-dialog .ffb-board-directory__clubs{grid-template-columns:repeat(3,minmax(0,1fr))}
body.ffb.figma-site :is(.ffb-board-directory,.ffb-board-dialog,.ffb-board-footer) :is(a,button,summary):focus-visible{outline:2px solid #8abaff;outline-offset:3px}
html.ffb-board-modal-open{overflow:hidden}
body.ffb.figma-site .ffb-board-footer{width:100%;text-align:left;margin-bottom:24px;color:#d6d6d6}
body.ffb.figma-site .ffb-board-footer__heading{margin-bottom:28px}
body.ffb.figma-site .ffb-board-footer__heading h2{font-size:20px;color:#f2f2f2;margin:0}
body.ffb.figma-site .ffb-board-footer__heading p{font-size:12px;color:#a6a6a6;margin-top:6px}
body.ffb.figma-site .ffb-board-footer__regions{display:grid;grid-template-columns:1fr 1fr;gap:40px}
body.ffb.figma-site .ffb-board-footer__region{min-width:0}
body.ffb.figma-site .ffb-board-footer__region:only-child{grid-column:1/-1}
body.ffb.figma-site .ffb-board-footer__region>h3{font-size:14px;color:#f2f2f2;border-bottom:1px solid #737373;margin:0 0 18px;padding-bottom:12px}
body.ffb.figma-site .ffb-board-footer__leagues{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body.ffb.figma-site .ffb-board-footer details{min-width:0}
body.ffb.figma-site .ffb-board-footer summary{display:flex;align-items:center;gap:6px;min-height:44px;color:#f2f2f2;font-weight:700;font-size:12px;list-style:none;cursor:pointer}
body.ffb.figma-site .ffb-board-footer summary::-webkit-details-marker{display:none}
body.ffb.figma-site .ffb-board-footer summary>span{font-size:10px;color:#a6a6a6;font-weight:400;white-space:nowrap}
body.ffb.figma-site .ffb-board-footer ul{display:grid;list-style:none;margin:0;padding:0;gap:0}
body.ffb.figma-site .ffb-board-footer li{min-width:0;margin:0;padding:0}
body.ffb.figma-site .ffb-board-footer li>a{display:block;font-size:11px;line-height:1.6;padding:7px 0;color:#d6d6d6;overflow-wrap:anywhere}
body.ffb.figma-site .ffb-board-footer li>a:hover{color:#8abaff}
@media(min-width:1100px){
 body.ffb.figma-site .ffb-header .ffb-nav{display:flex;align-self:stretch;flex:none;gap:0}
 body.ffb.figma-site .ffb-header .ffb-nav__item:not([data-board-menu]){display:none}
 body.ffb.figma-site .ffb-header [data-board-menu]{min-width:76px;min-height:44px;padding-inline:12px;font-size:14px;color:var(--a2-header-ink,#f2f2f2);background:transparent}
 body.ffb.figma-site .ffb-header [data-board-menu][aria-current]::after{background:currentColor}
}
@media(max-width:1099px){body.ffb.figma-site .ffb-board-footer__regions{grid-template-columns:1fr;gap:28px}}
@media(max-width:599px){
 body.ffb.figma-site .ffb-board-dialog{inset:auto 0 0;width:100%;max-width:none;border-radius:16px 16px 0 0;border-bottom:0;margin:0}
 body.ffb.figma-site .ffb-board-dialog__head{padding:18px 20px 14px;gap:8px}
 body.ffb.figma-site .ffb-board-directory__results{padding:16px 16px 20px}
 body.ffb.figma-site .ffb-board-directory.is-dialog .ffb-board-directory__leagues{padding:16px;border-bottom:0}
 body.ffb.figma-site .is-dialog .ffb-board-directory__clubs{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.ffb.figma-site .ffb-board-directory__clubs a{font-size:13px;padding:10px 8px;gap:8px}
 body.ffb.figma-site .ffb-board-directory__clubs img{width:28px;height:34px}
 body.ffb.figma-site .ffb-board-directory__summary h3{font-size:14px}
 body.ffb.figma-site .ffb-board-directory__foot{padding:8px 20px max(8px,env(safe-area-inset-bottom,0px));gap:8px}
 body.ffb.figma-site .ffb-board-directory__foot>span:last-child{font-size:10px}
 body.ffb.figma-site .ffb-board-footer__heading{margin-bottom:24px}
 body.ffb.figma-site .ffb-board-footer__region>h3{font-size:15px;margin-bottom:8px}
 body.ffb.figma-site .ffb-board-footer__leagues{grid-template-columns:1fr;gap:0}
 body.ffb.figma-site .ffb-board-footer details{border-bottom:1px solid #333}
 body.ffb.figma-site .ffb-board-footer summary{min-height:56px;font-size:14px;padding:10px 0}
 body.ffb.figma-site .ffb-board-footer summary>span{font-size:11px}
 body.ffb.figma-site .ffb-board-footer summary:after{content:'＋';margin-left:auto;font-size:20px;color:#a6a6a6;font-weight:400}
 body.ffb.figma-site .ffb-board-footer details[open]>summary:after{content:'−'}
 body.ffb.figma-site .ffb-board-footer ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;padding-bottom:16px}
 body.ffb.figma-site .ffb-board-footer li>a{font-size:13px;min-height:44px;padding:10px 0}
}
