:root{color-scheme:light;--ink:#18324f;--muted:#667680;--accent:#a34d3d;--paper:#edf0ee;--surface:#f8f7f1;--line:#d8ddd6;--pale:#e8ece7;--gold:#bd9658;--positive:#476e59;--display:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--body:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-width:320px;min-height:100dvh;background:var(--paper);color:var(--ink);font-family:var(--body);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
a{color:inherit}button,input,textarea,select{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}
[hidden]{display:none!important}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.skip{position:fixed;z-index:20;top:8px;left:8px;padding:11px 15px;transform:translateY(-150%);background:var(--ink);color:#fff}
.skip:focus{transform:translateY(0)}
.site-shell{width:min(100% - 42px,850px);min-height:75dvh;margin:0 auto;padding:10px 0 30px}
.loading{margin:100px auto;text-align:center;color:var(--muted);font-size:14px}
.preview-label{display:flex;justify-content:space-between;gap:15px;padding:9px 13px;background:#efe8dc;color:#665947;font-size:9px;line-height:1.45;letter-spacing:.06em;text-transform:uppercase}
.preview-label strong{font-weight:850}.preview-label span{text-align:right}
.paid-club-page .breadcrumbs{margin-bottom:18px}
.club-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;border-bottom:1px solid var(--line)}
.identity{display:inline-flex;min-width:0;align-items:center;gap:14px;text-decoration:none}
.identity strong,.identity small{display:block}.identity strong{font-size:21px;font-weight:800;letter-spacing:-.035em}.identity small{margin-top:3px;color:var(--muted);font-size:10px}
.crest{width:114px;height:124px;display:grid;flex:0 0 auto;place-items:center;overflow:hidden;clip-path:polygon(4% 0,96% 0,88% 75%,50% 100%,12% 75%);background:var(--ink);color:#f4e4c7;font-size:11px;font-weight:850;letter-spacing:.03em}
.crest:has(img){clip-path:none;background:transparent}
.crest img{display:block;width:100%;height:100%;object-fit:contain}
.button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0 13px;border:1px solid var(--ink);border-radius:0;background:transparent;color:var(--ink);font-size:11px;font-weight:780;text-align:center;text-decoration:none;cursor:pointer}
.button.strong{background:var(--ink);color:#f9f6ee}.button.light{background:transparent;color:var(--ink)}
.button:hover,.nav-card:hover{border-color:var(--accent)}
.view-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);color:var(--muted);font-size:10px}
.view-navigation span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.back-link{color:var(--ink);font-size:11px;font-weight:760;text-decoration:none}
.club-main{width:min(100%,760px);margin:0 auto}
.hero{padding:38px 0 24px;border-bottom:1px solid #dedfd7}
.eyebrow{margin:0 0 8px;color:var(--accent);font-size:9px;font-weight:850;letter-spacing:.15em;text-transform:uppercase}
.hero h1,.secondary-content h1{max-width:600px;margin:0;color:var(--ink);font-family:var(--display);font-size:clamp(31px,5.4vw,49px);font-weight:740;letter-spacing:-.065em;line-height:1}
.hero h1{max-width:720px;font-size:clamp(60px,7.2vw,64px);font-weight:800;line-height:1.04}
.hero>p:last-child{max-width:530px;margin:12px 0 0;color:#68777a;font-size:13px;line-height:1.65}
.club-section{margin:0}.join-section{padding:22px 0 18px}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:11px}
.section-heading h2,.club-section>h2{margin:0;color:var(--ink);font-family:var(--display);font-size:23px;letter-spacing:-.05em}
.section-heading .eyebrow{margin-bottom:5px}.text-link{color:var(--accent);font-size:10px;font-weight:800;text-decoration:none}
.season-list{display:grid;gap:8px}
.season{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px;border:1px solid var(--line);background:#fffefa}
.season h3{margin:0;color:var(--ink);font-size:13px;letter-spacing:-.02em}
.season p{max-width:390px;margin:5px 0 0;color:#738084;font-size:11px;line-height:1.5}
.season-buttons{display:grid;flex:0 0 min(190px,40%);gap:6px}
.empty{margin:0;padding:13px;background:#f0f1eb;color:#78827f;font-size:11px;line-height:1.55}
.ground{width:100%;min-height:64px;display:grid;grid-template-columns:10px max-content minmax(0,1fr) auto;align-items:center;gap:12px;margin:0 0 1px;padding:12px 14px;border:1px solid #dedfd7;background:#f0f0e9;text-align:left;text-decoration:none}
.ground-status-copy{min-width:0}.ground .ground-state,.ground .ground-label{display:block}
.ground .ground-state{color:#40545a;font-size:15px;font-weight:850;line-height:1.2;letter-spacing:.015em;text-transform:uppercase}
.ground .ground-label{margin-top:3px;color:#697b7b;font-size:10px;font-weight:600}
.ground-note{min-width:0;justify-self:end;overflow:hidden;color:#76827d;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.ground-arrow{margin-left:auto;color:#7d8982}
.status-dot{width:10px;height:10px;border-radius:50%;background:#697479}
.ground[data-status="open"]{background:#edf5ef;border-color:#d7e5da}
.ground[data-status="open"] .status-dot{background:#287043}
.ground[data-status="open"] .ground-state{color:#23683e}
.ground[data-status="closed"]{background:#fbefed;border-color:#ebd9d6}
.ground[data-status="closed"] .status-dot{background:#a03932}
.ground[data-status="closed"] .ground-state{color:#983831}
.ground[data-status="partially_open"]{background:#faf4e6}
.ground[data-status="partially_open"] .status-dot{background:#926517}
.ground[data-status="partially_open"] .ground-state{color:#805912}
.ground[data-status="not_confirmed"]{background:#f0f1ef}
.more-section{padding:0;margin-top:58px}.more-section h2{margin:0 0 10px;color:var(--ink);font-family:var(--display);font-size:22px;letter-spacing:-.045em}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:8px}
.simple-card{min-width:0;padding:14px;border:1px solid var(--line);background:#fffefa}
.nav-card{min-height:91px;text-decoration:none;transition:transform .15s ease,border-color .15s ease}
.nav-card:hover{transform:translateY(-1px)}
.tile-index{display:block;margin-bottom:6px;color:#8d9994;font-size:8px;font-weight:800;letter-spacing:.09em}
.simple-card h3{margin:0;color:var(--ink);font-family:var(--display);font-size:16px;letter-spacing:-.035em}
.simple-card p{margin:6px 0 0;color:#778386;font-size:10px;line-height:1.5}
.simple-card>a:not(.button){display:inline-block;margin-top:11px;color:var(--accent);font-size:10px;font-weight:750}
.notices-section{margin-top:50px;padding:28px 0 24px;border-top:1px solid #dedfd7}
.notices-section .section-heading{margin-bottom:7px}
.notice-list{display:grid}
.notice{display:block;padding:11px 4px;border-top:1px solid #e1e4dd;text-decoration:none}
.notice strong{display:block;color:var(--ink);font-size:12px}
.notice p{margin:5px 0 0;color:#6d7a7b;font-size:11px;line-height:1.5}
.notice:hover strong{text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:3px}
.secondary-content{min-height:340px;padding:30px 0 46px}
.secondary-content>.eyebrow{margin-bottom:8px}
.secondary-content h1{margin-bottom:18px;font-size:clamp(29px,5vw,42px)}
.secondary-content .lead{max-width:620px;color:#68777a;font-size:13px;line-height:1.7}
.secondary-content>.club-section{margin:0 0 27px}
.secondary-content .club-section>h2{margin:0 0 12px}
.competition-card,.program-grid>.simple-card{min-height:0}
.program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ground-detail,.detail-panel{padding:17px;border:1px solid var(--line);background:#fffefa;color:#68777a;font-size:12px;line-height:1.65}
.ground-detail h2{margin:22px 0 9px;color:var(--ink);font-family:var(--display);font-size:18px;letter-spacing:-.04em}
.ground-detail p{margin:7px 0}.ground-detail small{color:var(--muted);font-size:10px}
.status-line{display:flex;justify-content:space-between;gap:16px;color:var(--ink)}
.ground-caveat,.preview-readonly{margin-top:16px!important;padding:11px 13px;border-left:3px solid var(--gold);background:#f5f2e9;color:#625a49}
.field-list{display:grid;gap:7px;margin:0;padding:0;list-style:none}
.field-list li{display:grid;grid-template-columns:1fr auto;gap:3px 10px;padding:11px;border:1px solid var(--line);background:#f8f7f1}
.field-list li strong{color:var(--ink)}.field-list li>span{color:#53675a;font-size:10px;font-weight:750}.field-list li p{grid-column:1/-1;margin:0}
.division-note{margin-top:18px;color:var(--muted);font-size:11px}
.division-note{display:block;font-weight:700}.division-note select{display:block;min-height:42px;width:min(100%,320px);margin:8px 0 16px;padding:8px;border:1px solid var(--line);background:white;color:var(--ink)}
.matching-actions{display:grid;gap:9px;max-width:360px;margin-top:16px}
.detail-panel{margin:4px 0 13px}.detail-panel h2{margin:0;color:var(--ink);font-family:var(--display);font-size:19px;letter-spacing:-.04em}
.detail-panel p{margin:8px 0 0}.detail-panel .button{margin-top:12px}
.banner{display:block;width:100%;max-height:320px;aspect-ratio:16/7;margin:15px 0;object-fit:cover}
.ask-club-form-shell{max-width:680px;padding:21px;border:1px solid var(--line);background:#fffefa}
.ask-club-form-shell>p{margin:0 0 18px;color:var(--muted);font-size:12px;line-height:1.6}
.ask-club-form-shell .field{margin:0 0 14px}.ask-club-form-shell label{display:block;margin-bottom:6px;font-size:11px;font-weight:730}
.ask-club-form-shell input,.ask-club-form-shell textarea{display:block;width:100%;padding:10px;border:1px solid #c6d0d1;background:#fffefa;color:var(--ink)}
.ask-club-form-shell textarea{min-height:90px}.ask-club-form-shell .fields-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.ask-club-form-shell :disabled{opacity:.62;cursor:not-allowed}.operation-readonly{padding:12px;border-left:3px solid var(--gold);background:#f5f2e9}
#club-alerts{max-width:680px;margin-top:26px;padding-top:22px;border-top:1px solid var(--line)}
#club-alerts>p{color:var(--muted);font-size:13px;line-height:1.65}
[data-club-alert-form]{display:grid;gap:16px;padding:20px;border:1px solid var(--line);background:#fffefa}
[data-club-alert-form] .field label{display:grid;gap:7px;font-size:11px;font-weight:720}
[data-club-alert-form] input[type=email]{width:100%;min-height:42px;padding:10px;border:1px solid #c6d0d1}
[data-club-alert-form] fieldset{display:flex;flex-wrap:wrap;gap:14px;border:0;padding:0}
[data-club-alert-form] legend{margin-bottom:9px;font-size:11px;font-weight:720}
[data-club-alert-form] fieldset label{display:flex;align-items:center;gap:7px;font-size:12px}
[data-club-alert-form] :disabled{opacity:.6;cursor:not-allowed}[data-alert-feedback]{margin:0;color:var(--muted);font-size:11px;line-height:1.6}
.shop-products{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.shop-product{display:flex;flex-direction:column;gap:9px}
.shop-product img{display:block;width:100%;aspect-ratio:1;object-fit:cover;background:#f0f1ed}.shop-product p{margin:0}.shop-product .button{margin-top:auto}
.muted{color:var(--muted);font-size:10px}
.site-footer{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid var(--line);color:#87908b;font-size:9px}
.site-footer a{color:var(--muted);text-decoration:none}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;clip-path:inset(50%)!important}
/* Premium club page rhythm: separate joining, exploration and club news. */
.club-header-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}
.club-alerts-menu{position:relative}
.club-alerts-trigger{list-style:none;gap:7px;white-space:nowrap;user-select:none}
.club-alerts-trigger::-webkit-details-marker{display:none}
.club-alerts-trigger::marker{content:""}
.club-alerts-trigger:hover,.club-alerts-menu[open]>.club-alerts-trigger{background:#e9efec;border-color:var(--accent)}
.club-bell-icon{width:15px;height:15px;flex:0 0 auto;stroke:currentColor}
.club-alerts-popover{
 position:absolute;right:0;top:calc(100% + 12px);width:390px;max-width:calc(100vw - 36px);
 padding:18px;background:#fffefa;border:1px solid var(--line);
 box-shadow:0 18px 44px rgba(22,42,44,.14);z-index:10
}
.club-alerts-popover #club-alerts{max-width:none;margin:0;padding:0;border:0}
.club-alerts-popover #club-alerts h2{margin:0 0 6px;font-family:var(--display);font-size:22px;letter-spacing:-.045em}
.club-alerts-popover #club-alerts>p{font-size:12px;line-height:1.6;margin:0 0 14px}
.club-alerts-popover [data-club-alert-form]{padding:14px;gap:12px}
.club-alerts-popover [data-club-alert-form] fieldset{gap:11px}
.club-alerts-popover [data-club-alert-form] fieldset label{font-size:11px}
.club-alerts-popover [data-club-alert-form] button{justify-self:start}
.club-alerts-popover .demo-form-note{margin:0 0 14px;font-size:11px}
.notices-alert-cta{
 display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
 gap:8px 16px;margin-top:22px;padding:15px 4px 0;border-top:1px solid var(--line);
 color:var(--muted);font-size:11px;line-height:1.5
}
.notices-alert-link{
 display:inline-flex;align-items:center;gap:7px;padding:7px 0;
 border:0;background:none;color:var(--accent);font:inherit;font-size:11px;
 font-weight:800;text-decoration:none;cursor:pointer
}
.notices-alert-link:hover{text-decoration:underline;text-underline-offset:3px}
.club-alerts-trigger:focus-visible,.notices-alert-link:focus-visible{
 outline:2px solid var(--accent);outline-offset:3px
}
@media(max-width:650px){
 .club-header{flex-wrap:wrap}
 .club-header-actions{margin-left:auto;gap:7px}
 .club-header-actions>.button,.club-alerts-trigger{min-height:38px;padding-inline:10px}
 .more-section{margin-top:40px}
 .notices-section{margin-top:36px;padding-top:24px}
 .club-alerts-popover{
  position:fixed;left:15px;right:15px;top:clamp(15px,12vh,95px);
  width:auto;max-width:none;max-height:calc(100dvh - 30px);overflow-y:auto
 }
}
@media(max-width:380px){
 .club-header-actions .button{font-size:10px}
 .identity strong{font-size:16px}
 .crest{width:78px;height:86px}
}
@media(max-width:650px){
 .site-shell{width:min(100% - 30px,850px);padding-top:8px}
 .preview-label{flex-direction:column;gap:3px}.preview-label span{text-align:left}
 .club-header{padding:12px 0}.club-header>.button{min-height:36px;padding-inline:10px;flex-shrink:0}
 .identity{gap:10px}.identity strong{font-size:18px}
 .crest{width:86px;height:94px}
 .hero{padding:29px 0 20px}.hero h1{font-size:clamp(42px,9vw,46px);line-height:1.04}
 .section-heading{align-items:flex-start;flex-direction:column;gap:7px}
 .season{align-items:stretch;flex-direction:column}.season-buttons{flex-basis:auto}
 .cards,.program-grid{grid-template-columns:1fr}
 .nav-card{min-height:68px}.nav-card .tile-index{display:none}
 .ground{grid-template-columns:10px minmax(0,1fr) auto;gap:5px 12px}.ground .status-dot{grid-row:1/span 2}.ground-note{grid-column:2;justify-self:start;margin:0}.ground-arrow{grid-column:3;grid-row:1/span 2}
 .ask-club-form-shell .fields-grid{grid-template-columns:1fr;gap:0}
 .site-footer{flex-direction:column}
}
@media(max-width:380px){
 .club-header{gap:8px}
 .crest{width:78px;height:86px}
 .identity{gap:8px}
 .identity strong{overflow-wrap:anywhere}
 .club-header>.button{padding-inline:8px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* Clearly identify the fictional showcase without turning it into a different design. */
.demo-club-label{
  font-size:11px;font-weight:750;letter-spacing:.025em;
  background:#dfefe8;color:#173f35;border:1px solid #bcd8c8;
  padding:9px 16px;margin:12px 0 16px;
}
.demo-form-note{
  padding:12px 15px;background:#e8f1ed;border-left:3px solid #648d7a;
  color:#35524d;font-size:13px;line-height:1.5;
}

/* Original Team Finder noticeboard hierarchy, with an unconnected DEV matching service.
   Club divisions come from the saved club competition; no fake listings. */
.site-shell:has(.tfm-board){width:min(100% - 36px,1120px)}
.site-shell:has(.tfm-board) .club-main{width:min(100%,1050px)}
.tfm-board{color:var(--ink);font-size:14px}
.tfm-hero{padding:42px 0 45px;border-bottom:1px solid var(--line)}
.tfm-hero .eyebrow{font-size:11px;letter-spacing:.15em}
.tfm-hero h1{font-family:var(--display);font-size:clamp(42px,6.5vw,75px);
 letter-spacing:-.06em;line-height:1.05;margin:10px 0 8px;font-weight:800}
.tfm-hero h2{font-family:var(--display);font-size:21px;letter-spacing:-.025em;margin:0 0 17px}
.tfm-hero p:not(.eyebrow){margin:0;color:var(--muted);font-size:16px;line-height:1.55}
.tfm-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:27px}
.tfm-hero-actions .button{min-height:53px;min-width:250px;justify-content:space-between;
 gap:24px;padding:12px 17px;font-size:13px;font-weight:750}
.tfm-listings{padding:42px 0 55px}
.tfm-listings-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:20px}
.tfm-listings-head h2{font-family:var(--display);font-weight:800;
 letter-spacing:-.045em;line-height:1.1;font-size:clamp(29px,4vw,39px);margin:7px 0}
.tfm-listings-head p:not(.eyebrow){margin:0;color:var(--muted)}
.tfm-count{font-size:11px;letter-spacing:.08em;white-space:nowrap;text-transform:uppercase;color:var(--muted)}
.tfm-competition{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:750;margin:0 0 8px}
.tfm-competition select{min-height:44px;background:#fff;border:1px solid var(--line);
 width:100%;padding:9px 12px;color:var(--ink);font:inherit}
.tfm-filter-shell{background:#ebf0ec;border:1px solid var(--line);padding:18px;
 display:flex;gap:20px;align-items:end;flex-wrap:wrap;margin-bottom:24px}
.tfm-filter-label{display:flex;flex-direction:column;gap:8px;font-weight:750;font-size:12px;color:var(--ink)}
.tfm-filter-label select{min-height:45px;width:min(100%,280px);font:inherit;font-weight:500;
 background:#fff;border:1px solid var(--line);padding:10px 13px;color:var(--ink)}
.tfm-filter-type{display:flex;flex-direction:column;gap:8px}
.tfm-tabs{display:flex;gap:4px;background:#fff;border:1px solid var(--line);padding:3px}
.tfm-tabs button{border:0;background:transparent;color:var(--ink);font:inherit;
 font-size:12px;font-weight:720;padding:9px 21px;cursor:pointer}
.tfm-tabs button.active,.tfm-tabs button[aria-pressed="true"]{background:var(--ink);color:#fff}
.tfm-empty{max-width:380px;min-height:220px;border:1px dashed var(--line);
 background:#fff;display:flex;align-items:center;flex-direction:column;justify-content:center;
 text-align:center;padding:26px 19px}
.tfm-empty h3{font-family:var(--display);font-size:21px;letter-spacing:-.04em;margin:0 0 9px}
.tfm-empty p{color:var(--muted);font-size:12px;line-height:1.7;margin:0 0 17px}
.tfm-empty-actions{display:grid;gap:8px;justify-items:center}
.tfm-empty-actions .button{min-height:37px;font-size:11px}
.tfm-demo-caption{color:var(--muted);font-size:11px;line-height:1.6;margin:19px 0 0}
@media(max-width:620px){
 .tfm-hero{padding:28px 0 32px}.tfm-listings{padding:30px 0 40px}
 .tfm-hero-actions .button{width:100%;min-width:0}
 .tfm-listings-head{align-items:start;flex-direction:column;gap:8px}
 .tfm-filter-shell{display:grid;grid-template-columns:1fr;gap:13px}
 .tfm-filter-label select{width:100%}.tfm-tabs button{flex:1;padding:10px}
}


/* Coastal United's isolated, interactive matching tour. The live matching UI
   and all paid-club pages continue to use their existing styles and APIs. */
.tfm-demo-disclosure{margin:16px 0 0;padding:12px 15px;border:1px solid #bed9cf;background:#e4f0ea;color:#214c44;font-size:12px;line-height:1.6}
.tfm-demo-disclosure strong{font-weight:850}
.tfm-demo-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tfm-demo-card{display:flex;flex-direction:column;gap:10px;min-width:0;padding:21px;border:1px solid var(--line);background:#fffefa}
.tfm-demo-card-top,.tfm-demo-card-head{display:flex;justify-content:space-between;align-items:start;gap:10px}
.tfm-demo-kind{font-size:10px;font-weight:830;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.tfm-demo-example{font-size:10px;font-weight:700;color:#61736d;text-align:right}
.tfm-demo-card-head{align-items:center}
.tfm-demo-card h3{margin:0;font-family:var(--display);font-size:24px;letter-spacing:-.04em;color:var(--ink)}
.tfm-demo-division{padding:5px 8px;background:#e9efec;color:var(--ink);font-size:11px;font-weight:800;white-space:nowrap}
.tfm-demo-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}
.tfm-demo-card-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:9px}
.tfm-demo-card-actions .button{font-size:11px;min-height:36px;padding:9px 12px}
.tfm-demo-page{max-width:760px;padding:25px 0 55px}
.tfm-demo-page>.eyebrow{margin-top:24px}
.tfm-demo-page h1{margin:12px 0;color:var(--ink);font-family:var(--display);font-size:clamp(30px,5vw,44px);line-height:1.12;letter-spacing:-.05em}
.tfm-demo-intro{max-width:630px;margin:0 0 23px;color:var(--muted);font-size:13px;line-height:1.65}
.tfm-demo-form{padding:23px;border:1px solid var(--line);background:#fffefa}
.tfm-demo-form h2,.tfm-demo-page>h2{margin:6px 0 14px;color:var(--ink);font-family:var(--display);font-size:20px;letter-spacing:-.035em}
.tfm-demo-form h2:not(:first-child){margin-top:26px}
.tfm-demo-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.tfm-demo-field{display:flex;flex-direction:column;min-width:0;gap:7px;font-size:11px;font-weight:740;color:var(--ink)}
.tfm-demo-field input,.tfm-demo-field select,.tfm-demo-field textarea{display:block;width:100%;min-height:43px;padding:10px 12px;border:1px solid #bbc8c7;background:#fff;color:var(--ink);font:500 13px/1.45 system-ui,-apple-system,sans-serif}
.tfm-demo-field textarea{min-height:91px;resize:vertical}
.tfm-demo-wide{grid-column:1/-1}
.tfm-demo-helper{font-size:12px;color:var(--muted);line-height:1.6}
.tfm-demo-form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:23px}
.tfm-demo-form-actions .button{min-height:42px}
.tfm-demo-feedback{color:#a03932;font-size:12px;line-height:1.5}
.tfm-demo-target{display:flex;flex-direction:column;gap:5px;padding:16px;border-left:3px solid #7b9e91;background:#ebf0ed;color:var(--ink);margin:0 0 20px}
.tfm-demo-target span,.tfm-demo-target small{color:var(--muted);font-size:11px}
.tfm-demo-target strong{font-family:var(--display);font-size:21px;letter-spacing:-.03em}
.tfm-demo-result{padding:12px 14px;background:#ebf0ed;color:#35544a;font-size:13px}
.tfm-demo-inbox{padding:15px;border:1px solid var(--line);background:#fffefa;margin:12px 0;display:flex;flex-direction:column;gap:6px;color:var(--ink)}
.tfm-demo-inbox strong{font-size:13px}.tfm-demo-inbox span{font-size:11px;color:var(--muted)}
.tfm-demo-inbox p{font-size:12px;line-height:1.6;margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:650px){
 .tfm-demo-cards,.tfm-demo-fields{grid-template-columns:1fr}
 .tfm-demo-card{padding:16px}
 .tfm-demo-form{padding:17px}
 .tfm-demo-page{padding-top:13px}
 .tfm-demo-wide{grid-column:auto}
 .tfm-demo-card-head h3{font-size:22px}
 .tfm-demo-card-actions .button{flex:1}
}


/* Real club competitions now share the demo's 1120px board presentation.
   Reserve the width while data loads to prevent a layout jump. */
.site-shell:has(.club-live-competition){width:min(100% - 36px,1120px)}
.site-shell:has(.club-live-competition) .club-main{width:min(100%,1050px)}
.tfm-live-board .tfm-empty{grid-column:1/-1;max-width:none;min-height:190px}
.tfm-live-board .tfm-live-report{border:0;background:transparent;color:var(--muted);
 font:inherit;font-size:11px;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.tfm-live-board .tfm-live-report:hover{color:var(--ink)}
.tfm-live-board .tfm-live-more{margin-top:20px}
.tfm-live-form{margin:24px 0;padding:22px;border:1px solid var(--line);background:#fffefa}
.tfm-live-form h3{margin:0 0 12px;font-size:23px;letter-spacing:-.04em}
.tfm-live-form p{font-size:12px;color:var(--muted);line-height:1.6}
.tfm-live-form .tfm-demo-fields{margin:16px 0}
.tfm-live-form .tfm-demo-field{display:flex;flex-direction:column;gap:6px}
.tfm-live-form .tfm-demo-field input,
.tfm-live-form .tfm-demo-field textarea,
.tfm-live-form .tfm-demo-field select{width:100%;padding:10px;min-height:41px;
 border:1px solid #c6d0d1;background:#fff;color:var(--ink);font-size:13px}
.tfm-live-form .error{color:#9d3c31}
@media(max-width:650px){
 .site-shell:has(.club-live-competition){width:min(100% - 30px,1120px)}
 .tfm-live-form{padding:15px}
}


/* Paid club two-colour identity theme.
   The template and accessible functional states remain shared by all clubs. */
.site-shell .club-header{
 position:relative;padding-top:29px;
 border-bottom-color:var(--club-primary-wash, var(--line));
}
.site-shell .club-header::before{
 content:"";position:absolute;inset:0 0 auto;height:8px;
 background:linear-gradient(105deg,var(--club-primary,var(--ink)) 0 57%,var(--club-secondary,var(--accent)) 57% 100%);
 border-radius:0 0 3px 3px;
}
.site-shell .club-header .identity strong{color:var(--ink)}
.site-shell .club-header .identity{border-left:2px solid var(--club-secondary,var(--accent));padding-left:12px}
.site-shell .button.strong{
 background:var(--club-action,var(--ink));border-color:var(--club-action,var(--ink));
 color:var(--club-action-text,#fff);
}
.site-shell .button.strong:hover{filter:brightness(.94)}
.site-shell .button.light{background:#fffefa;border-color:var(--ink)}
.site-shell .hero{
 position:relative;isolation:isolate;overflow:hidden;padding-left:24px;
 background:linear-gradient(105deg,var(--club-secondary-wash,transparent) 0%,transparent 68%);
}
.site-shell .hero::before{
 content:"";position:absolute;z-index:0;left:0;top:39px;bottom:24px;width:5px;
 background:linear-gradient(180deg,var(--club-primary,var(--ink)) 0 62%,var(--club-secondary,var(--accent)) 62% 100%);
}
.site-shell .hero::after{
 content:"";position:absolute;z-index:0;inset:0 0 0 auto;width:37%;
 background-image:var(--club-watermark,none);background-repeat:no-repeat;
 background-size:contain;background-position:right center;opacity:.06;pointer-events:none;
}
.site-shell .hero>*{position:relative;z-index:1}
.site-shell .hero h1 .club-hero-name{display:block;color:var(--accent)}
.site-shell .eyebrow{color:var(--accent)}
.site-shell .season{
 border-left:5px solid var(--club-secondary,var(--accent));border-radius:7px;
 background:#fffefa;box-shadow:0 6px 18px rgba(20,45,62,.035);
}
.site-shell .season-buttons .button.strong{
 background:var(--club-action,var(--ink));color:var(--club-action-text,#fff);
}
.site-shell .ground{position:relative;overflow:hidden;border-radius:7px}
.site-shell .ground::after{
 content:"";position:absolute;inset:0 14% 0 auto;width:34px;
 transform:skewX(-24deg);background:var(--club-secondary-wash,transparent);
 pointer-events:none;
}
.site-shell .ground[data-status="open"]{border-left:4px solid #287043}
.site-shell .ground[data-status="closed"]{border-left:4px solid #a03932}
.site-shell .ground[data-status="partially_open"]{border-left:4px solid #926517}
.site-shell .nav-card{
 border-top:3px solid var(--club-primary,var(--ink));
 border-radius:6px;background:#fffefa;box-shadow:0 4px 14px rgba(20,45,62,.025);
}
.site-shell .nav-card:nth-child(2){border-top-color:var(--club-secondary,var(--accent))}
.site-shell .nav-card:nth-child(3){border-top-color:var(--club-primary,var(--ink))}
.site-shell .notice{
 margin-top:9px;padding:13px 14px;
 border:1px solid var(--line);border-left:4px solid var(--club-secondary,var(--accent));
 border-radius:4px;background:linear-gradient(90deg,var(--club-secondary-wash,transparent),#fffefa 86%);
}
.site-shell .notice-list{gap:3px}
.site-shell .notices-alert-link{color:var(--accent)}
@media(max-width:650px){
 .site-shell .club-header{padding-top:23px}
 .site-shell .club-header .identity{padding-left:8px}
 .site-shell .hero{padding-left:17px}
 .site-shell .hero::before{top:28px;bottom:19px;width:4px}
 .site-shell .hero::after{width:54%;opacity:.045}
}


/* M02: one distinctive club homepage template, driven by the two saved colours.
   Contrast-aware action/text variables are supplied by the existing renderer. */
.paid-club-page .paid-club-shell{max-width:1040px;margin:0 auto}
.paid-club-page .site-shell{width:min(100% - 16px,990px);max-width:990px}
.site-shell .club-header{position:relative;gap:18px;margin:0 0 14px;padding:19px 5px 21px;border-bottom:1px solid #dbe3df}
.site-shell .club-header::before{height:5px;border-radius:10px 10px 0 0}
.site-shell .identity{gap:19px}
.site-shell .identity strong{font-size:clamp(18px,2.8vw,27px);line-height:1.1;letter-spacing:-.047em}
.site-shell .identity small{margin-top:7px;font-size:12px}
.site-shell .crest{width:118px;height:126px;background:var(--club-primary,var(--ink));box-shadow:0 10px 28px rgba(21,45,59,.10)}
.site-shell .crest:has(img){background:transparent}
.site-shell .club-header-actions{gap:10px}
.site-shell .button{min-height:44px;padding:9px 16px;border-radius:11px;font-size:12px}
.site-shell .button.strong{background:var(--club-action,var(--ink));border-color:var(--club-action,var(--ink));color:var(--club-action-text,#fff)}
.site-shell .club-main{min-width:0}
.site-shell .hero{position:relative;overflow:hidden;isolation:isolate;margin:13px 0 23px;padding:clamp(24px,4.5vw,48px);border:1px solid #dce5dd;border-radius:23px;background:linear-gradient(128deg,var(--club-primary-wash,#edf3ee),#fff 54%,var(--club-secondary-wash,#eef3ed));box-shadow:0 12px 32px rgba(23,50,75,.05)}
.site-shell .hero:before{content:"";position:absolute;top:0;left:0;right:0;height:8px;background:linear-gradient(90deg,var(--club-primary,#18324f) 0 59%,var(--club-secondary,#176b70) 59% 100%)}
.site-shell .hero:after{content:"";position:absolute;right:-35px;bottom:-65px;z-index:-1;width:230px;height:230px;border:25px solid var(--club-secondary-wash,#e1eee8);border-radius:50%}
.site-shell .club-hero-banner{overflow:hidden;width:100%;height:clamp(135px,24vw,270px);margin:3px 0 clamp(20px,3vw,32px);border-radius:15px;background:linear-gradient(115deg,var(--club-primary-wash,#e5ebe7),var(--club-secondary-wash,#e9eee7))}
.site-shell .club-hero-banner img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.site-shell .hero .eyebrow{margin-bottom:14px;font-size:11px;letter-spacing:.15em}
.site-shell .hero h1{max-width:760px;font-size:clamp(40px,5.8vw,62px);line-height:1.08;letter-spacing:-.064em}
.site-shell .hero h1 .club-hero-name{color:var(--ink)}
.site-shell .hero>p:last-child{max-width:680px;color:#445e62;font-size:clamp(14px,1.8vw,16px);line-height:1.7;margin-top:17px}
.site-shell .join-section{padding:12px 0 21px}
.site-shell .section-heading{align-items:flex-end;gap:16px}
.site-shell .section-heading h2{font-size:clamp(23px,3.5vw,30px)}
.site-shell .season{border-radius:14px;margin:7px 0;padding:clamp(14px,2.4vw,22px);background:#fff;box-shadow:0 6px 15px rgba(29,56,71,.025)}
.site-shell .season h3{letter-spacing:-.035em}
.site-shell .simple-card{border-radius:15px;background:#fff;box-shadow:0 7px 18px rgba(29,56,71,.035)}
.site-shell .nav-card{border-top:4px solid var(--club-primary,#18324f);transition:transform .15s ease,box-shadow .15s ease}
.site-shell .nav-card:nth-child(2){border-top-color:var(--club-secondary,#176b70)}
.site-shell .nav-card:hover{transform:translateY(-2px);box-shadow:0 14px 25px rgba(29,56,71,.11)}
.site-shell .ground{margin:7px 0 13px;min-height:76px;padding:14px 17px;border-radius:14px}
.site-shell .ground .ground-state{font-size:17px}
.site-shell .ground .ground-label{font-size:11px}
.site-shell .ground-note{font-size:11px}
.site-shell .notices-section{margin-top:30px;padding-top:27px}
.site-shell .notice{border-radius:13px;background:#fff}
.site-shell .view-navigation{padding:15px 0}
.site-shell .site-footer{margin-top:25px}
@media(max-width:650px){
 .paid-club-page .site-shell{width:100%}
 .site-shell .club-header{gap:12px;flex-wrap:wrap;padding:15px 0 20px}
 .site-shell .identity{gap:10px}
 .site-shell .identity strong{font-size:19px}
 .site-shell .identity small{font-size:10px}
 .site-shell .crest{width:85px;height:92px}
 .site-shell .club-header-actions{width:auto;margin-left:auto}
 .site-shell .club-header-actions .button{min-height:42px;padding:8px 11px}
 .site-shell .hero{margin:11px 0 17px;padding:22px;border-radius:18px}
 .site-shell .club-hero-banner{height:150px;margin-bottom:19px;border-radius:10px}
 .site-shell .hero h1{font-size:clamp(36px,8.4vw,46px)}
 .site-shell .hero>p:last-child{font-size:13px;line-height:1.65}
 .site-shell .section-heading{align-items:flex-start;flex-direction:column;gap:8px}
 .site-shell .ground{min-height:69px;padding:11px 13px}
 .site-shell .season{display:block}
 .site-shell .season-buttons{margin-top:15px}
}
@media(prefers-reduced-motion:reduce){.site-shell .nav-card{transition:none}}
