/* Shared identity, derived from Club Manager 6.4.2.10. */
body{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.family-header{padding:20px;background:linear-gradient(135deg,var(--club-primary,var(--primary,#0084ff)),var(--club-secondary,var(--secondary,#4da3f2)));border-bottom:8px solid var(--club-accent,var(--accent,#c9ff36));color:#fff;box-shadow:none}
.family-header>.wrap,.family-header>.shell{width:100%;max-width:1200px;margin:auto;padding:0;display:block;min-height:0}
.family-header .brand{display:flex;align-items:center;gap:12px;width:fit-content;min-width:0;color:#fff;text-decoration:none}
.family-header .brand img{width:var(--club-logo-size,var(--logo-size,52px));height:var(--club-logo-size,var(--logo-size,52px));flex:none;object-fit:contain;background:none;border-radius:0;padding:0;filter:drop-shadow(0 3px 8px #1236)}
.family-header .brand h1,.family-header .brand-name,.family-header .brand>span{font-size:clamp(var(--club-header-min-size,17.6px),2.1vw,var(--club-header-size,var(--title-size,27.2px)));font-weight:800;line-height:1.1;letter-spacing:-.02em;margin:0}
.family-header .family-site-name{display:block;font-size:14px;font-weight:600;letter-spacing:0;margin:5px 0 0;line-height:1.4}
.family-header nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px;margin:14px 0 0;padding:0;width:100%}
.family-header nav>a,.family-header .nav-chip{display:inline-flex;align-items:center;min-height:38px;margin:0;padding:var(--club-nav-padding-y,8px) var(--club-nav-padding-x,13px);border:1px solid #ffffff57;border-radius:999px;background:#ffffff21;color:#fff;box-shadow:none;font-size:var(--club-nav-size,var(--nav-size,14.4px));font-weight:750;line-height:1;text-decoration:none;white-space:nowrap}
.family-header nav>a:hover,.family-header nav>a[aria-current],.family-header .nav-chip:hover{background:var(--club-accent,var(--accent,#c9ff36));border-color:transparent;color:#16304a;box-shadow:none}
.family-header .family-sites{padding-bottom:12px;border-bottom:1px solid #ffffff57}
.family-footer{padding:20px!important;border-top:5px solid var(--club-accent,var(--accent,#c9ff36));background:var(--club-secondary,var(--secondary,#4da3f2));color:white;text-align:center;font-size:14px}
.family-footer a{color:inherit}.family-footer .footer-content{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px}
.family-footer nav{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:0}
.cookie-notice{max-width:1200px;margin:12px auto;padding:14px;border:1px solid #b9dcf8;border-radius:13px;background:#fff;color:#16304a;font-size:14px;line-height:1.5;box-shadow:0 7px 18px #2c74ad14}
.cookie-notice p{margin:0 0 10px}.cookie-notice a{color:#16619a}.cookie-notice button{font:inherit;font-weight:800;border:1px solid #a1d61c;border-radius:8px;padding:9px 14px;background:#c9ff36;color:#16304a;cursor:pointer}.cookie-notice[hidden]{display:none}
.cookie-details{max-width:1200px;margin:12px auto;text-align:left}.cookie-details summary{font-size:14px;cursor:pointer}.cookie-details p{line-height:1.6}
@media(max-width:640px){.family-header{padding:16px 20px}.family-header .brand img{width:calc(var(--club-logo-size,var(--logo-size,52px))*.8461538462);height:calc(var(--club-logo-size,var(--logo-size,52px))*.8461538462)}.family-header nav{gap:6px}.family-header nav>a,.family-header .nav-chip{min-height:36px;padding:7px 10px;font-size:13.12px}.family-header .family-site-name{font-size:13px}.cookie-notice{margin:12px 20px}}
@media print{.family-header,.family-footer,.cookie-notice{display:none!important}}

.family-header .public-nav{position:static;inset:auto;margin-top:14px}

.family-header .family-site-name{color:inherit;opacity:1}

/* Identical non-modal cookie pop-out on every club site. */
.cookie-notice{position:fixed;z-index:10000;top:20px;right:20px;bottom:auto;left:auto;width:420px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px);overflow:auto;margin:0;padding:20px;border:1px solid #b9dcf8;border-top:5px solid #c9ff36;border-radius:13px;background:#fff;color:#16304a;box-shadow:0 12px 40px #16304a40;text-align:left;font:14px/1.6 Inter,system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:normal}
.cookie-notice .cookie-notice-title{display:block;margin:0 0 10px;padding:0;border:0;color:#16304a;font-size:18px;font-weight:800;line-height:1.3;letter-spacing:normal}
.cookie-notice p{margin:0 0 14px;color:#16304a;font:inherit}.cookie-notice a{color:#16619a;text-decoration:underline}
.cookie-notice button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;width:auto;margin:0;padding:9px 14px;border:1px solid #a1d61c;border-radius:8px;background:#c9ff36;color:#16304a;font:inherit;font-weight:800;line-height:1.4;box-shadow:none;transform:none;cursor:pointer}
.cookie-notice button:hover{background:#bbed26;transform:none;filter:none}.cookie-notice button:focus-visible,.cookie-notice a:focus-visible{outline:3px solid #16619a;outline-offset:3px}
@media(max-width:640px){.cookie-notice{top:12px;left:12px;right:12px;width:auto;max-width:none;max-height:calc(100dvh - 24px);margin:0;padding:18px}}

/* Cookie preference controls share the Manager notice styling. */
.cookie-notice .cookie-notice-actions{display:flex;flex-wrap:wrap;gap:10px}
.cookie-notice [data-cookie-temporary]{background:#fff;border-color:#16619a}
.cookie-notice [data-cookie-temporary]:hover{background:#edf7ff}
.cookie-notice [data-cookie-status]:empty{display:none}
.cookie-notice [data-cookie-status]{margin:12px 0 0}
.cookie-notice .analytics-choice{margin:0 0 14px;padding:10px 12px;border:1px solid #b9dcf8;border-radius:8px}
.cookie-notice .analytics-choice legend{padding:0 5px;font-weight:750}
.cookie-notice .analytics-choice label{display:flex;align-items:center;gap:9px;cursor:pointer}
.cookie-notice .analytics-choice input{width:18px;height:18px;accent-color:#0084ff}

/* Default text-link chips, governed by Club Manager. No script/class opt-in required.
   Card/image links keep their layout; data-link-layout="card" is for structural links only. */
body a[href]:not([data-link-layout="card"]):not(:where(.brand,.skip,.skip-link,.card,.report-card,.referee-fixture-link,.history-list>a,.nav-chip,.family-header nav>a,:has(>img,>picture,>h1,>h2,>h3,>figure))){
 display:inline-flex;align-items:center;justify-content:center;gap:8px;
 box-sizing:border-box;min-height:42px;max-width:100%;margin:4px 6px 4px 0;padding:8px 13px;
 border:1px solid #78b9ec;border-radius:999px;font-size:.9rem;font-weight:800;line-height:1.35;
 text-decoration:none;vertical-align:middle;white-space:normal;overflow-wrap:anywhere;text-align:center;
 box-shadow:none;transform:none;
}
body a[href]:not([data-link-layout="card"]):not(:where(.brand,.skip,.skip-link,.card,.report-card,.referee-fixture-link,.history-list>a,.nav-chip,.family-header nav>a,.button,.store-button,.button-link,.danger,.link-chip-danger,:has(>img,>picture,>h1,>h2,>h3,>figure))){
 background:color-mix(in srgb,var(--club-primary,var(--primary,#0084ff)) 10%,white);color:var(--club-text,var(--text,#16304a));
 border-color:color-mix(in srgb,var(--club-primary,var(--primary,#0084ff)) 45%,white);
}
body a[href]:not([data-link-layout="card"]):not(:where(.brand,.skip,.skip-link,.card,.report-card,.referee-fixture-link,.history-list>a,.nav-chip,.family-header nav>a,:has(>img,>picture,>h1,>h2,>h3,>figure))):hover{
 text-decoration:none;box-shadow:none;transform:none;
}
body a[href]:not([data-link-layout="card"]):not(:where(.brand,.skip,.skip-link,.card,.report-card,.referee-fixture-link,.history-list>a,.nav-chip,.family-header nav>a,.button,.store-button,.button-link,.danger,.link-chip-danger,:has(>img,>picture,>h1,>h2,>h3,>figure))):hover{
 background:color-mix(in srgb,var(--club-primary,var(--primary,#0084ff)) 18%,white);
 border-color:var(--club-primary,var(--primary,#0084ff));
}
body a[href]:focus-visible{outline:3px solid var(--club-primary,var(--primary,#0084ff));outline-offset:3px}
body a[href][aria-current="page"]:not([data-link-layout="card"]):not(:where(.brand,.skip,.skip-link,.card,.report-card,.referee-fixture-link,.history-list>a,.nav-chip,.family-header nav>a,:has(>img,>picture,>h1,>h2,>h3,>figure))){background:var(--club-accent,var(--accent,#c9ff36));border-color:var(--club-accent,var(--accent,#c9ff36));color:#16304a}
/* Groups use one baseline and wrap rather than stretching chips across the page. */
body :is(.actions,.referee-dashboard-links,.history-links,.family-chip-group){display:flex;flex-wrap:wrap;align-items:center;gap:8px}
body :is(.actions,.referee-dashboard-links,.history-links,.family-chip-group)>a[href],body nav>a[href]{margin:0}
body .inline>a[href]{margin-block:0}
body .inline:has(>a[href]):not(:has(>label)){align-items:center}
body .family-footer a[href]{background:#ffffff21;border-color:#ffffff80;color:#fff;margin:0}
body .family-footer a[href]:hover{background:var(--club-accent,var(--accent,#c9ff36));border-color:transparent;color:#16304a}
body :is(.admin-popover,.admin-menu-items){display:flex;flex-direction:column;align-items:stretch;gap:6px}
body :is(.admin-popover,.admin-menu-items)>a[href]{margin:0;border-radius:999px;justify-content:flex-start}
body .family-footer nav{gap:8px}
body :is(.family-header,.family-footer) a[href]:focus-visible{outline-color:var(--club-accent,var(--accent,#c9ff36))}
@media(max-width:640px){
 body .family-header .admin-menu{width:100%;min-width:0;flex-basis:100%}
 body .family-header :is(.admin-popover,.admin-menu-items){position:static;width:auto;max-width:100%;margin-top:8px;box-shadow:none}
}
@media print{
 body a[href]:not([data-link-layout="card"]):not(:where(.brand,.skip,.skip-link,.card,.report-card,.referee-fixture-link,.history-list>a,:has(>img,>picture,>h1,>h2,>h3,>figure))){display:inline;min-height:0;margin:0;padding:0;border:0;background:transparent;box-shadow:none;color:inherit;font-size:inherit;text-decoration:underline}
}
