@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{--ink:#11131a;--accent:#2456e8;--paper:#f3f4f7;--muted:#636a79;--line:#dce0e8;--white:#fff;--soft:#edf0f7;font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}a{color:inherit;text-decoration:none}button,a,input,summary{ -webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.skip{position:absolute;left:20px;top:-60px;background:white;padding:10px;z-index:9}.skip:focus{top:10px}.header{background:var(--white);border-bottom:1px solid var(--line)}.header-inner{max-width:1280px;margin:auto;min-height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:24px}.brand{display:flex;align-items:center;gap:12px;font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-weight:800;font-size:25px;letter-spacing:.3px;white-space:nowrap}.brand-icon{display:grid;place-items:center;background:var(--accent);color:white;width:39px;height:39px;border-radius:50%;font-size:36px}.brand-hub{margin-left:5px;color:var(--accent)}nav{display:flex;gap:32px;font-size:13px;font-weight:600}nav a{padding:34px 0 31px;border-bottom:3px solid transparent}nav a.active{color:var(--accent);border-color:var(--accent)}.location{font-size:10px;font-weight:700;letter-spacing:1.5px;display:flex;align-items:center;gap:9px}.location>span{color:var(--accent);font-size:22px}main{max-width:1280px;margin:auto;padding:30px 40px 0}.hero{min-height:342px;position:relative;overflow:hidden;background:var(--ink);color:white;display:grid;grid-template-columns:1.1fr 1fr;border-radius:5px}.hero-copy{padding:37px 42px;z-index:1}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;display:flex;gap:9px;align-items:center;margin:0 0 16px;color:#b6c1db}.eyebrow>span{width:6px;height:6px;background:#4d7bff;border-radius:50%}h1{font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif;font-size:65px;line-height:.99;letter-spacing:-.6px;margin:0 0 18px;font-weight:700}.accent{color:#668dff}.hero-description{font-size:13px;color:#c3cada;line-height:1.8;margin:0}.hero-tags{display:flex;gap:8px;margin-top:24px}.hero-tags span{font-size:10px;border:1px solid #4a5371;border-radius:4px;padding:6px 10px;color:#d8e0f3}.court{position:relative;align-self:stretch;color:#64779e;opacity:.9;overflow:hidden}.court>svg{width:115%;height:110%;transform:rotate(-17deg) translate(9%,-2%);opacity:.6}.court-caption{position:absolute;bottom:30px;right:28px;font-size:8px;letter-spacing:2px;line-height:2.4;color:#a1b1d3;text-align:right}.court-caption strong{font-size:10px;color:#e5ebfa}.ball{position:absolute;top:86px;left:45%;width:111px;height:111px;transform:rotate(-24deg);filter:drop-shadow(10px 15px 16px #0005)}.ball svg{fill:#eef2fa;stroke:#2456e8;stroke-width:1.7}.stat-bar{display:grid;grid-template-columns:repeat(3,1fr) 1.2fr;background:#fff;border:1px solid var(--line);margin-top:18px;border-radius:5px;padding:22px 0}.stat-bar>div{padding:0 28px;display:flex;align-items:center;gap:14px;border-right:1px solid var(--line)}.stat-bar>div:last-child{border:0}.stat-bar strong{font-family:'Barlow Condensed',Impact,sans-serif;font-size:34px;line-height:1}.stat-bar span{font-size:11px;color:var(--muted);line-height:1.7}.stat-bar .archive-symbol{font-size:28px;color:var(--accent)}.stat-last b{color:var(--ink);font-weight:500}.dashboard{padding-top:42px;scroll-margin-top:20px}.section-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.dark{color:var(--muted);font-size:9px;margin-bottom:8px}h2{font-family:'Barlow Condensed',Impact,sans-serif;font-size:34px;line-height:1.15;margin:0;letter-spacing:.1px}.refresh{font-size:11px;font-weight:600;color:var(--ink);background:white;border:1px solid var(--line);padding:10px 14px;border-radius:4px;display:flex;gap:8px;align-items:center}.refresh span{font-size:18px;line-height:1}.refresh:disabled{opacity:.6;cursor:wait}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 267px;gap:25px}.section-tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);font-size:12px;font-weight:600}.section-tabs a{padding:0 0 15px;border-bottom:2px solid transparent;color:var(--muted)}.section-tabs a.active{border-color:var(--accent);color:var(--ink)}.filters{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:20px 0}.grade-filters{display:flex;gap:5px}.grade-filters button{border:1px solid var(--line);background:#fff;border-radius:4px;color:var(--muted);padding:8px 12px;font-size:11px;font-weight:600;white-space:nowrap}.grade-filters button[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}.search{background:white;border:1px solid var(--line);border-radius:4px;display:flex;align-items:center;gap:7px;padding:7px 11px;width:240px}.search span{font-size:22px;line-height:1;color:var(--muted)}.search input{width:100%;min-width:0;border:0;background:transparent;font-size:11px;outline-offset:8px}.result-meta{font-size:10px;color:var(--muted);display:flex;justify-content:space-between;margin:0 0 13px}.event-card{border:1px solid var(--line);background:#fff;border-radius:5px;margin-bottom:14px;overflow:hidden}.event-top{display:flex;gap:18px;padding:22px}.date-tile{flex:0 0 60px;height:69px;background:#ecf0fc;border-radius:4px;display:flex;flex-direction:column;align-items:center;justify-content:center}.date-tile small{font-size:10px;letter-spacing:1.5px;color:var(--accent);font-weight:700}.date-tile strong{font-size:30px;line-height:1.15;font-family:'Barlow Condensed',Impact,sans-serif}.event-info{flex:1;min-width:0}.card-topline{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px}.card-topline span{font-size:9px;letter-spacing:.8px;font-weight:700;color:var(--muted)}.source-tag{background:var(--soft);padding:4px 7px;border-radius:3px;white-space:nowrap;font-size:8px!important;letter-spacing:.2px!important}.event-card h3{font-size:17px;line-height:1.3;margin:0 0 7px;font-weight:700;letter-spacing:-.2px}.event-meta{display:flex;gap:13px;font-size:10px;color:var(--muted);line-height:1.7;flex-wrap:wrap}.pills{display:flex;gap:6px;margin-top:11px;flex-wrap:wrap}.pill{font-size:9px;color:#53617b;padding:4px 7px;border:1px solid var(--line);border-radius:3px}.event-footer{border-top:1px solid var(--line);background:#fafbfe;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 22px;font-size:10px}.event-footer a{font-weight:700}.event-card details{border-top:1px solid var(--line)}.event-card summary{font-size:11px;font-weight:600;padding:13px 22px;list-style-position:inside}.team-list{padding:0 22px 15px}.team-group{margin-bottom:14px}.team-group h4{font-size:10px;letter-spacing:.5px;color:var(--muted);margin:8px 0}.team-group ul{padding:0;list-style:none;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:6px}.team-group li{font-size:11px;background:var(--paper);padding:9px;border-radius:3px}.team-group p{font-size:11px;color:var(--muted)}.side-card{background:#fff;border:1px solid var(--line);border-radius:5px;padding:23px;margin-bottom:16px}.side-card h3{font-family:'Barlow Condensed',Impact,sans-serif;font-size:29px;margin:13px 0;line-height:1.1}.side-card p{font-size:11px;line-height:1.85;color:var(--muted)}h4{font-size:11px;margin:0 0 12px}.side-rule{height:1px;background:var(--line);margin:22px 0}.league-link{display:flex;align-items:center;justify-content:space-between;margin:14px 0 0;font-size:11px;font-weight:600}.league-link>span:first-child{display:flex;gap:10px;align-items:center}.league-monogram{background:var(--soft);font-size:8px;display:grid;place-items:center;height:25px;width:25px;border-radius:50%;color:var(--ink)}.league-link>span:last-child{color:var(--muted)}.source-heading{display:flex;align-items:center;gap:8px}.source-heading h4{margin:0}.status-dot{height:6px;width:6px;border-radius:50%;background:var(--accent)}.source-card details{font-size:10px;color:var(--muted);margin-top:16px}.source-card details p{font-size:10px;overflow-wrap:anywhere}.connection{display:flex;justify-content:space-between;font-size:10px;border-top:1px solid var(--line);padding-top:11px;margin-top:11px;gap:10px}.connection b{font-weight:500;color:var(--accent)}.connection b.ok{color:#2456e8}.updated{font-size:9px!important;line-height:1.7!important}.archive-note{padding:10px 7px;display:flex;gap:12px}.archive-note>span{color:var(--accent);font-size:26px}.archive-note h4{margin-bottom:7px}.archive-note p{font-size:11px;color:var(--muted);line-height:1.8;margin:0 0 10px}.archive-note a{font-size:10px;font-weight:700}.notice{font-size:11px;line-height:1.8;color:var(--muted);margin:20px 0;min-height:20px}.empty{padding:38px 28px;border:1px solid var(--line);background:#fff;text-align:center;border-radius:5px}.empty-icon{font-size:30px;color:var(--accent)}.empty h3{font-size:19px;margin:12px 0}.empty p{font-size:12px;color:var(--muted);line-height:1.9;max-width:450px;margin:10px auto}.empty a,.text-button{font-size:11px;font-weight:700;text-decoration:underline;text-underline-offset:3px}.league-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.league-card{padding:22px;background:#fff;border:1px solid var(--line);border-radius:5px}.league-card h3{font-family:'Barlow Condensed',Impact,sans-serif;font-size:26px;margin:10px 0}.league-card p{font-size:11px;color:var(--muted);line-height:1.8}.league-card>a{font-size:11px;font-weight:600;display:inline-block;margin-top:6px}.badge{display:inline-block;color:#244aaa;background:#edf2ff;padding:5px 8px;font-size:9px;border-radius:3px}.league-selector{width:100%;padding:12px;border:1px solid var(--line);border-radius:4px;background:#fff;margin:0 0 16px;color:var(--ink);font-size:12px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px;background:#fff}th,td{text-align:left;border-bottom:1px solid var(--line);padding:12px}th{font-size:10px;color:var(--muted)}.game-row{display:flex;justify-content:space-between;gap:12px;padding:15px 22px;border-top:1px solid var(--line);font-size:12px}.game-row small{display:block;color:var(--muted);font-size:10px;margin-top:6px}.game-score{white-space:nowrap;font-weight:700}.archive-toolbar{display:flex;justify-content:space-between;align-items:center;margin:0 0 16px;font-size:11px;color:var(--muted)}footer{max-width:1200px;border-top:1px solid var(--line);padding:28px 0;margin:25px auto 0;display:flex;align-items:center;justify-content:space-between;gap:20px}footer p,footer>span{font-size:10px;color:var(--muted)}.footer-brand{font-family:'Barlow Condensed',Impact,sans-serif;font-size:19px;font-weight:700}.footer-brand span{display:block;font-family:'DM Sans',Arial,sans-serif;font-size:7px;letter-spacing:2px;margin-top:4px;color:var(--muted)}
@media(min-width:1400px){main{padding-top:36px}.hero{min-height:360px}.hero-copy{padding-top:43px}h1{font-size:72px}}
@media(max-width:1000px){.header-inner{padding:0 24px}main{padding:24px}.workspace{grid-template-columns:minmax(0,1fr) 230px;gap:18px}.hero-copy{padding:32px}.location{display:none}h1{font-size:58px}.stat-bar>div{padding:0 16px}.stat-bar span{font-size:10px}.search{width:190px}.section-tabs{gap:17px;font-size:11px}.filters{flex-wrap:wrap}.search{width:100%}.side-card{padding:18px}footer{margin:20px 24px 0}}
@media(max-width:720px){.header-inner{min-height:105px;flex-wrap:wrap;gap:0;padding-top:16px}.brand{font-size:24px}nav{width:100%;gap:24px;justify-content:center}nav a{padding:16px 0 12px;font-size:11px}main{padding:18px 16px 0}.hero{grid-template-columns:1fr;min-height:320px}.hero-copy{padding:28px 24px}.hero-description{font-size:12px}.court{position:absolute;right:-85px;bottom:0;width:330px;height:100%;opacity:.22}.court-caption{display:none}.ball{width:85px;top:120px}.hero-tags{gap:5px}.hero-tags span{font-size:9px;padding:6px 8px}h1{font-size:57px}.stat-bar{grid-template-columns:repeat(3,1fr);padding:17px 0}.stat-bar>div{display:block;padding:0 12px;text-align:center}.stat-bar strong{font-size:29px}.stat-bar span{display:block;font-size:8px}.stat-bar .stat-last{display:none}.stat-bar>div:nth-child(3){border:0}.workspace{grid-template-columns:1fr}aside{display:grid;grid-template-columns:1fr 1fr;gap:12px}aside .side-card{margin:0}.archive-note{grid-column:1/-1}.dashboard{padding-top:30px}.section-top{gap:10px}h2{font-size:30px}.refresh{font-size:10px;padding:9px}.section-tabs{gap:20px;font-size:10px}.filters{flex-wrap:nowrap}.search{width:180px}.grade-filters button{padding:8px 10px}.event-top{padding:18px 15px;gap:13px}.event-card h3{font-size:15px}.card-topline span{font-size:8px}.date-tile{flex-basis:50px;height:62px}.event-footer{padding:12px 15px;font-size:9px}.event-card summary{padding:13px 15px}.team-list{padding:0 15px 15px}.league-grid{gap:10px}.league-card{padding:17px}footer{margin:25px 16px 0;padding:22px 0;flex-wrap:wrap}footer p{display:none}}
@media(max-width:420px){.filters{flex-wrap:wrap}.search{width:100%}aside{grid-template-columns:1fr}.archive-note{grid-column:auto}.team-group ul{grid-template-columns:1fr}.section-tabs{gap:15px}.hero-tags span{font-size:8px}.league-grid{grid-template-columns:1fr}.card-topline{align-items:flex-start}.source-tag{font-size:7px!important}}

/* Jersey-inspired finish: black, white and restrained electric-blue slashes. */
.header{border-top:4px solid var(--ink)}
.dev-banner{padding:9px 20px;background:#e9efff;color:#234495;font-size:11px;text-align:center;line-height:1.5}
.refresh[hidden]{display:none}
mark.team-match{background:#d9e5ff;color:#142e80;padding:1px 2px;border-radius:2px;font-weight:700;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.team-group li.matched-team{background:#edf3ff;box-shadow:inset 3px 0 0 var(--accent)}
.hero-tags,.grade-filters{flex-wrap:wrap}
.month-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px;flex-wrap:wrap}
.month-toolbar label{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:600}
.month-toolbar select{background:white;color:var(--ink);border:1px solid var(--line);border-radius:2px;padding:9px 30px 9px 10px;min-width:170px;font-size:11px}
.month-toolbar>span{color:var(--muted);font-size:10px}
.archive-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 22px;border:0;border-top:1px solid var(--line);background:var(--soft);color:var(--ink);font-size:12px;font-weight:700;text-align:left;cursor:pointer}.archive-toggle:hover{color:var(--accent);background:#e5ebfb}.archive-toggle>span:last-child{font-size:20px;line-height:1}.archive-toggle[aria-expanded="true"]{color:var(--accent)}
.workspace.archive-workspace{grid-template-columns:minmax(0,1fr)}.archive-workspace>aside{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}.tournament-division-picker{padding:18px 22px;border-top:1px solid var(--line)}.tournament-division-picker label{display:block;font-size:12px;font-weight:700;margin-bottom:8px}.tournament-division-picker select{width:100%;max-width:440px;padding:11px 12px;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:3px;font-size:13px}.division-pools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px;align-items:start}.division-pools .standings-wrap{border:1px solid var(--line);border-radius:3px}.division-pools caption{text-align:center}.division-pools .standings-table{min-width:500px}.division-pools .standings-table td,.division-pools .standings-table th{padding:10px 7px;font-size:11px}@media(max-width:1100px){.division-pools{grid-template-columns:minmax(0,1fr)}}@media(max-width:720px){.archive-workspace>aside{grid-template-columns:minmax(0,1fr)}.division-pools{padding:10px;gap:10px}.tournament-division-picker{padding:16px}}
.archive-controls{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}.archive-controls label{display:flex;flex:1 1 150px;flex-direction:column;gap:7px;font-size:11px;font-weight:600}.archive-controls select{width:100%;min-width:0;padding:10px;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:2px;font-size:11px}.archive-division{border-top:2px solid var(--line)}.archive-division>h4{margin:0;padding:16px 22px;background:var(--ink);color:#fff;font-size:13px}.standings-table{min-width:540px}.standings-table caption{padding:12px;text-align:left;background:var(--soft);font-weight:700;font-size:12px}.standings-table td,.standings-table th{text-align:right;padding:11px 9px;font-variant-numeric:tabular-nums}.standings-table td:first-child,.standings-table th:first-child{text-align:left;width:55%;min-width:180px}.standings-table tbody tr:hover{background:var(--soft)}.standings-note{padding:12px 20px;font-size:10px;line-height:1.7;color:var(--muted)}.archive-division>.notice{padding:0 20px}
.header-inner{min-height:48px}
nav a{padding:13px 0 10px}
.header .brand{font-size:23px;gap:10px}
.header .brand-icon{width:30px;height:30px;font-size:28px}
@media(max-width:720px){.header-inner{min-height:76px;padding-top:6px}nav a{padding:10px 0 8px}}
.brand{font-style:italic;letter-spacing:.7px}
.brand-icon{border-radius:3px;transform:skew(-9deg);background:var(--ink);box-shadow:3px 3px 0 var(--accent)}
.hero{background:radial-gradient(ellipse at 85% 20%,#1c2a50 0,transparent 52%),#101116;border-radius:2px;border-bottom:4px solid var(--accent);isolation:isolate}
.hero::after{content:'';position:absolute;right:24px;top:-50px;width:180px;height:470px;background:linear-gradient(105deg,transparent 24%,#2456e8 24.5%,#2456e8 26%,transparent 26.5%,transparent 40%,#ffffff18 40.5%,#ffffff18 47%,transparent 47.5%,transparent 65%,#2456e880 65.5%,#2456e880 67%,transparent 67.5%);transform:skew(-13deg);z-index:-1;pointer-events:none}
.hero-copy{position:relative}
h1{font-style:italic;text-transform:uppercase;font-weight:800;font-size:62px;letter-spacing:-.7px;text-shadow:2px 2px 0 #2456e86b}
.hero .eyebrow{color:#c0ccec}
.hero-tags span{border-radius:1px;background:#ffffff06}
.court>svg{opacity:.42}.ball{filter:drop-shadow(6px 10px 0 #2456e855)}
.stat-bar,.event-card,.side-card,.empty{border-radius:2px}
.stat-bar strong{font-style:italic}.stat-bar{border-top:2px solid var(--ink)}
h2{text-transform:uppercase;font-style:italic;font-weight:800;letter-spacing:.4px}
.section-tabs a.active{border-bottom-width:3px}
.grade-filters button,.refresh,.search,.league-selector{border-radius:2px}
.grade-filters button[aria-pressed=true]{box-shadow:inset 0 -3px 0 var(--accent)}
.event-card{border-left:3px solid #d2d9ea}.event-card:hover{border-left-color:var(--accent)}
.date-tile{border-radius:1px;border-top:3px solid var(--accent)}
.date-tile strong{font-style:italic}
.source-tag,.pill{border-radius:2px}
.side-card:first-child{border-top:3px solid var(--ink)}
.side-card h3{font-style:italic;text-transform:uppercase}
.league-link{gap:8px;padding:11px 0;margin:0;border-bottom:1px solid var(--line)}
.league-link:last-child{border-bottom:0;padding-bottom:0}
.league-monogram{border-radius:2px;font-style:italic;font-weight:700;border-left:2px solid var(--accent)}
.league-connection{display:flex;align-items:center;gap:4px;font-size:9px;white-space:nowrap}
.league-connection i{height:5px;width:5px;background:currentColor;border-radius:50%}
.league-link .is-connected{color:#2456e8}.league-link .is-pending{color:#737b8d}
.event-card>.notice{padding:0 18px;margin:14px 0}
.main-column>#view>h3{font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-size:24px;font-weight:700;margin:24px 0 12px}
.event-footer a:hover,.league-link:hover,.archive-note a:hover{color:var(--accent)}
footer{border-top:2px solid var(--ink)}
@media(min-width:1400px){h1{font-size:67px}}
@media(max-width:1000px){h1{font-size:53px}.league-link>span:first-child{gap:6px}.league-monogram{width:22px;height:22px}.league-connection{font-size:8px}}
@media(max-width:720px){h1{font-size:52px}.hero::after{right:0;opacity:.5}.league-link{gap:5px}.league-connection{font-size:9px}aside{grid-template-columns:1fr}.side-card:first-child{padding-bottom:20px}}
@media(prefers-reduced-motion:no-preference){.event-card,.refresh,.grade-filters button{transition:border-color .15s,color .15s,background-color .15s}}

/* Approved 402 VINE presenting sponsorship. */
.header-inner{gap:20px}
.header-sponsor{display:flex;align-items:center;gap:9px;border-left:1px solid var(--line);padding-left:18px;margin-right:auto;flex-shrink:0}
.header-sponsor span{font-size:8px;line-height:1.4;letter-spacing:1px;text-transform:uppercase;color:var(--muted);max-width:55px}
.header-sponsor img{display:block;width:105px;height:35px;object-fit:contain}
.header .location{display:none}
.sponsor-footer{max-width:1200px;margin:12px auto 0;padding:26px 32px;background:white;border:1px solid var(--line);border-top:3px solid var(--accent);display:flex;align-items:center;gap:32px}
.sponsor-footer-brand{flex-shrink:0}
.sponsor-label{display:block;font-size:8px;letter-spacing:1.7px;color:var(--muted);margin-bottom:6px}
.sponsor-footer-brand img{display:block;object-fit:contain}
.sponsor-footer-copy{border-left:1px solid var(--line);padding-left:32px;flex:1}
.sponsor-footer-copy h2{font-size:26px;margin:0 0 6px}
.sponsor-footer-copy p{font-size:12px;color:var(--muted);margin:0;line-height:1.6}
.sponsor-cta{display:flex;gap:20px;align-items:center;background:var(--ink);color:white;padding:13px 18px;font-size:11px;font-weight:700;white-space:nowrap}
.sponsor-cta:hover{background:var(--accent)}
@media(max-width:1280px){.sponsor-footer{margin-left:40px;margin-right:40px}}
@media(min-width:721px) and (max-width:1000px){.header-inner{gap:14px;padding-left:24px;padding-right:24px}.header-inner nav{gap:16px;font-size:11px}.header .brand{font-size:20px}.header-sponsor{padding-left:12px;gap:5px}.header-sponsor img{width:90px}}
@media(max-width:720px){.header-inner{display:flex;flex-wrap:wrap;gap:0 12px;justify-content:space-between;padding:6px 16px 0}.header .brand{font-size:21px}.header-sponsor{margin:0;padding-left:12px;gap:5px}.header-sponsor span{font-size:7px;max-width:42px}.header-sponsor img{width:86px;height:30px}.header-inner nav{order:3;width:100%;justify-content:center}.sponsor-footer{margin:12px 16px 0;padding:22px;gap:18px;flex-wrap:wrap}.sponsor-footer-brand img{width:145px;height:48px}.sponsor-footer-copy{padding:0;border:0;flex-basis:100%;order:2}.sponsor-footer-copy h2{font-size:25px}.sponsor-cta{margin-left:auto;padding:11px;font-size:10px}}
@media(max-width:370px){.header .brand{font-size:18px}.header .brand-icon{width:24px;height:24px;font-size:23px}.header-sponsor{padding-left:8px}.header-sponsor img{width:70px}.sponsor-cta{margin-left:0}}

/* Seven boys grades remain accessible on narrow screens. */
.grade-filter-label{font-size:11px;font-weight:700;padding:8px 7px 8px 0;align-self:center}.grade-filters{flex-wrap:wrap}.filters{flex-wrap:wrap}.hero-tags{flex-wrap:wrap}
@media(max-width:720px){.filters{flex-wrap:wrap}.grade-filters{width:100%;gap:4px}.grade-filters button{padding:8px}.filters .search{width:100%}}
@media(max-width:720px){.grade-filters{display:grid;grid-template-columns:1.9fr repeat(7,minmax(0,1fr));gap:4px;min-width:0}.grade-filter-label{grid-column:1/-1;padding:0 0 4px}.grade-filters button{min-width:0;padding:10px 0;font-size:10px;white-space:nowrap}}

/* Wider desktop canvas with subtle jersey-inspired outer margins. */
@media (min-width: 1001px) {
  body {
    position: relative;
    isolation: isolate;
    background:
      repeating-linear-gradient(115deg, transparent 0 100px, #668dff09 101px 103px, transparent 104px 200px),
      radial-gradient(ellipse at 0 25%, #21345a 0, transparent 55%),
      radial-gradient(ellipse at 100% 75%, #1c2b48 0, transparent 55%),
      #171b24;
    background-attachment: fixed;
  }
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    width: min(100%, 1500px);
    margin-inline: auto;
    background: var(--paper);
    box-shadow: 0 0 70px #00000030;
    pointer-events: none;
    z-index: -1;
  }
  .header-inner, main { max-width: 1500px; }
  .sponsor-footer, footer {
    width: calc(100% - 80px);
    max-width: 1420px;
    margin-left: auto;
    margin-right: auto;
  }
  footer { padding-bottom: 36px; }
}

.suggestion-button{padding:12px 17px;background:var(--accent);color:white;border:0;font-weight:700;font-size:12px;cursor:pointer}.suggestion-button:hover{background:#1942b8}footer{gap:18px;flex-wrap:wrap}#suggestion-dialog{position:fixed;width:min(540px,calc(100% - 32px));max-height:85vh;overflow:auto;border:1px solid var(--line);border-top:4px solid var(--accent);padding:32px;background:var(--paper);color:var(--ink)}#suggestion-dialog::backdrop{background:#101116b3}#suggestion-dialog h2{font-size:30px;margin:0 0 16px}#suggestion-dialog p{font-size:13px;line-height:1.7}#suggestion-dialog label{display:block;font-size:12px;font-weight:700;margin:20px 0 8px}#suggestion-dialog textarea{box-sizing:border-box;width:100%;font:inherit;font-size:14px;padding:12px;border:1px solid var(--line);resize:vertical;background:white;color:var(--ink)}.suggestion-close{position:absolute;right:12px;top:8px;background:transparent;border:0;color:var(--ink);font-size:28px;cursor:pointer}.suggestion-help,.suggestion-email{color:var(--muted);font-size:11px!important}.suggestion-email{display:block;margin-top:20px;overflow-wrap:anywhere;text-decoration:underline}#suggestion-dialog textarea:focus-visible{outline:3px solid var(--accent);outline-offset:2px}

.gender-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 160px; max-width: 100%; margin-bottom: 12px; }

.league-section>summary{font-weight:700;background:#fafbfe}.league-section>.league-division{margin:0 14px}.league-section>summary span{color:var(--muted);font-weight:400}.league-section>.notice,.league-section>.updated{margin:12px 22px}.league-division summary span{color:var(--muted);font-weight:400}
@media(max-width:720px){.league-section>.league-division{margin:0 8px}.league-section>.notice,.league-section>.updated{margin-left:15px;margin-right:15px}}

.league-team{font:inherit;color:inherit;text-align:left;border:0;padding:0;background:transparent;cursor:pointer;text-decoration:underline;text-decoration-color:#2456e855;text-underline-offset:3px}.league-team:hover,.league-team[aria-pressed=true]{color:var(--accent)}.league-team[aria-pressed=true]{font-weight:700}.league-team-filter{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:16px 22px;background:var(--soft);font-size:12px}.league-team-filter button{border:1px solid var(--line);background:white;padding:8px 12px;color:var(--accent);cursor:pointer}.league-division[open]>summary{background:var(--ink);color:white}.league-division[open]>summary span{color:#dce0e8}

.grade-shortcut{font-family:inherit;background:white;cursor:pointer}.grade-shortcut[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:white}

.league-section{scroll-margin-top:16px}

@media(max-width:720px){
  .division-pools .standings-table{min-width:400px;table-layout:fixed}
  .division-pools .standings-table th,.division-pools .standings-table td{padding:9px 4px;font-size:11px}
  .division-pools .standings-table th:first-child,.division-pools .standings-table td:first-child{width:40%;min-width:0;overflow-wrap:anywhere}
  .division-pools .standings-table .league-team{line-height:1.45;max-width:100%;overflow-wrap:anywhere}
}

@media(hover:hover) and (pointer:fine){.grade-shortcut:hover{text-decoration:underline;text-underline-offset:3px}}

.venue-map{color:var(--accent);text-decoration:underline;text-underline-offset:3px}.venue-map:hover{text-decoration-thickness:2px}
.team-email-updates{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:12px 0 18px}.team-email-updates span{font-size:12px;color:var(--muted)}#subscription-dialog{position:fixed;width:min(540px,calc(100% - 32px));max-height:85vh;overflow:auto;border:1px solid var(--line);border-top:4px solid var(--accent);padding:32px;background:var(--paper);color:var(--ink)}#subscription-dialog::backdrop{background:#101116b3}#subscription-dialog h2{font-size:30px;margin:0 0 16px}#subscription-dialog p{font-size:13px;line-height:1.7}#subscription-team{font-weight:700}#subscription-dialog label{display:block;font-size:12px;font-weight:700;margin:20px 0 8px}#subscription-email{box-sizing:border-box;width:100%;font:inherit;font-size:16px;padding:12px;border:1px solid var(--line);background:white;color:var(--ink)}#subscription-email:focus-visible{outline:3px solid var(--accent);outline-offset:2px}#subscription-submit:disabled{opacity:.6;cursor:wait}#subscription-status{overflow-wrap:anywhere}
.team-email-updates .suggestion-button{border-radius:999px;padding:13px 22px;line-height:1.5;max-width:100%;white-space:normal;text-align:center}.team-email-updates .team-unsubscribe-note{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:14px}
.team-email-updates{padding:0 18px}.team-email-updates .suggestion-button{flex-shrink:0}.team-email-updates .team-subscribe-description{line-height:1.6;overflow-wrap:anywhere}.team-subscribe-description strong{color:var(--accent);font-weight:700}
/* Compact hero: keep decorative artwork out of the grid's height calculation. */
.hero{height:348px;min-height:0}.hero-copy{padding:36px 42px}.hero h1{font-size:clamp(44px,4.5vw,62px)}.hero .court{position:absolute;top:0;right:0;width:48%;height:100%;pointer-events:none}
@media(max-width:1000px) and (min-width:721px){.hero-copy{padding:30px 32px}}
@media(max-width:720px){.hero{height:auto;min-height:0}.hero-copy{padding:24px}.hero h1{font-size:clamp(36px,8vw,48px);margin-bottom:14px}.hero .eyebrow{margin-bottom:12px}.hero-tags{margin-top:16px}.hero .court{right:-85px;width:330px;height:100%}}
.league-team-heading{margin:0;padding:14px 22px;background:var(--ink);color:white;font-size:12px;font-weight:700;line-height:1.5}.league-team-heading span{color:#dce0e8;font-weight:400}@media(max-width:720px){.league-team-heading{padding:13px 15px}}

.game-score{display:flex;flex-direction:column;align-items:flex-end;gap:5px;text-align:right;flex-shrink:0;line-height:1.4}.game-date{font-size:12px;font-weight:700;color:var(--ink)}
.team-with-favorite{display:inline-flex;align-items:center;gap:6px;max-width:100%}.favorite-team{border:0;background:transparent;color:var(--accent);font-size:22px;line-height:1;padding:8px;cursor:pointer;flex-shrink:0;min-width:38px;min-height:38px}.favorite-team[aria-pressed="false"]{color:var(--muted)}.my-teams{background:var(--white);border:1px solid var(--line);border-radius:5px;padding:18px;margin-bottom:20px}.my-teams h3{margin:0;font-size:18px}.my-teams p{font-size:12px;color:var(--muted);line-height:1.6}.my-teams ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:8px}.my-teams li{display:flex;align-items:center;border:1px solid var(--line);border-radius:4px;padding:5px}.favorite-open{border:0;background:transparent;text-align:left;padding:8px;flex:1;min-width:0;color:var(--ink)}.favorite-open strong,.favorite-open span{display:block;overflow-wrap:anywhere}.favorite-open strong{font-size:13px;color:var(--accent)}.favorite-open span{font-size:11px;color:var(--muted);margin-top:5px;line-height:1.5}.favorite-schedule{margin-top:18px;scroll-margin-top:20px}.favorite-schedule .event-card{margin-bottom:0}
@media(max-width:480px){.game-row{flex-wrap:wrap}.game-score{margin-left:auto}}
.team-with-favorite>.favorite-team,.my-teams li>.favorite-team{order:-1}
.standings-table tr.favorite-standing{background:var(--soft)}.standings-table tr.favorite-standing td:first-child{border-left:3px solid var(--accent)}
.tournament-month-navigation{display:flex;justify-content:space-between;gap:12px;margin:24px 0}.tournament-month-navigation button{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:48px}.tournament-month-navigation button:last-child{align-items:flex-end;text-align:right}.tournament-month-navigation small{font-weight:400;color:var(--muted);font-size:11px}
.game-details{min-width:0}.game-matchup{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.game-versus{flex-shrink:0;line-height:1.5}.game-matchup .game-team{min-width:0;overflow-wrap:anywhere}.game-venue{line-height:1.6}.game-venue .venue-map{overflow-wrap:anywhere}
@media(max-width:720px){
  .game-row{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:16px 15px;font-size:13px}
  .game-row .game-score{grid-row:1;margin:0;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding-bottom:10px;border-bottom:1px solid var(--soft);font-size:14px;white-space:normal}
  .game-date{font-size:13px}
  .game-matchup{display:grid;grid-template-columns:22px minmax(0,1fr);gap:4px 6px;align-items:center}
  .game-matchup>.game-team:first-child{grid-column:2}
  .game-versus{grid-column:1;grid-row:2;font-size:10px}
  .game-matchup>.game-team:last-child{grid-column:2;grid-row:2}
  .game-team .team-with-favorite{display:flex;justify-content:flex-start;gap:8px;width:100%;min-width:0}
  .game-team .league-team{min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:left;line-height:1.5}
  .game-team .favorite-team{font-size:19px;padding:7px;min-width:36px;min-height:36px}
  .game-row .game-status{margin-top:10px;font-size:11px;line-height:1.5}
  .game-row .game-venue{margin-top:5px;font-size:12px}
}

.my-teams-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border:0;background:transparent;color:var(--ink);font:inherit;text-align:left;min-height:36px;padding:0}.my-teams [hidden]{display:none}

/* Personal dashboard includes every followed gender and grade. */
.my-teams-workspace .main-column > .gender-filters,
.my-teams-workspace .main-column > .filters { display: none; }
.my-teams-jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.my-teams-jump button { font: inherit; font-weight: 600; border: 1px solid #d7dce8; background: white; padding: 10px 14px; cursor: pointer; }
.my-teams-jump button:hover { border-color: #405cff; }
.my-teams-section { margin: 30px 0; scroll-margin-top: 24px; }
.my-teams-section > h3 { font-size: 22px; margin-bottom: 18px; }
.my-teams-section .event-card { padding: 20px; margin-bottom: 16px; }
.my-teams-section h4 { margin: 0 0 8px; font-size: 17px; }
.my-team-game { background: white; border: 1px solid #d7dce8; padding: 16px; margin: 10px 0; }
.my-team-game p { margin: 4px 0; overflow-wrap: anywhere; }
.my-teams-day { margin: 24px 0; }
.followed-team { color: #243ac3; }
.followed-registrations { padding-left: 20px; }
.followed-registrations li { margin: 10px 0; }
.followed-registrations li > span { display: block; color: #687086; margin-top: 4px; }
.section-tabs { overflow-x: auto; }
.section-tabs a { white-space: nowrap; }

/* Keep league badges compact and give seasonal names their own wrapping column. */
#league-links .league-link { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 10px; row-gap: 5px; align-items: center; padding: 13px 0; }
#league-links .league-link > span:first-child { display: contents; }
#league-links .league-monogram { grid-column: 1; grid-row: 1 / span 2; display: grid; place-items: center; width: 28px; height: 28px; min-width: 28px; font-size: 8px; line-height: 1; font-style: normal; overflow: hidden; }
#league-links .league-name { grid-column: 2; grid-row: 1; min-width: 0; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
#league-links .league-connection { grid-column: 2; grid-row: 2; font-size: 9px; line-height: 1.4; }

.my-teams-section { border: 1px solid var(--line); background: var(--white); padding: 0; }
.my-teams-section > summary { padding: 18px 20px; font-size: 20px; font-weight: 700; line-height: 1.4; cursor: pointer; }
.my-teams-section[open] > summary { border-bottom: 1px solid var(--line); }
.my-teams-section-body { padding: 20px; }
.my-teams-section-body > :first-child { margin-top: 0; }
.my-teams-section-body > :last-child { margin-bottom: 0; }
@media(max-width:480px) { .my-teams-section > summary { padding: 16px; font-size: 18px; } .my-teams-section-body { padding: 16px; } }

.my-schedule-table { width: 100%; border-collapse: collapse; font-size: 12px; line-height: 1.4; table-layout: fixed; }
.my-schedule-table caption { text-align: left; font-weight: 700; font-size: 15px; padding: 0 0 10px; color: var(--ink); }
.my-schedule-table th, .my-schedule-table td { padding: 9px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.my-schedule-table th { background: var(--soft); font-size: 10px; color: var(--muted); font-weight: 700; }
.my-schedule-table tbody tr:nth-child(even) { background: #f8f9fc; }
.my-schedule-table .schedule-time { white-space: nowrap; font-weight: 600; }
.schedule-division { display: block; color: var(--muted); margin-top: 2px; font-size: 10px; }
.my-schedule-table .venue-map { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.my-schedule-table td { overflow-wrap: anywhere; }
.my-teams-day { overflow-x: auto; }
@media(max-width:600px) { .my-schedule-table { min-width: 560px; } }

/* Use the same column grid for every day, independent of its game content. */
.my-schedule-table th:nth-child(1) { width: 82px; }
.my-schedule-table th:nth-child(2) { width: 34%; }
.my-schedule-table th:nth-child(3) { width: 30%; }
.my-schedule-table th:nth-child(4) { width: auto; }

/* iOS zooms focused inputs below 16px; keep mobile search at normal page scale. */
@media (max-width: 1000px), (hover: none) and (pointer: coarse) {
  .search input { font-size: 16px; line-height: 1.4; }
}

/* Let wide My Teams tables scroll inside the page instead of widening its grid. */
.my-teams-workspace > .main-column,
.my-teams-workspace #view,
.my-teams-workspace .my-teams-section,
.my-teams-workspace .my-teams-section-body { min-width: 0; max-width: 100%; }
.my-teams-workspace .table-wrap { max-width: 100%; overflow-x: auto; }
@media(max-width:720px) {
  .workspace.my-teams-workspace { grid-template-columns: minmax(0, 1fr); }
  .my-teams-workspace > aside { min-width: 0; grid-template-columns: minmax(0, 1fr); }
}

.mobile-schedule-game, .mobile-day-games { display: none; }
@media(max-width:720px) {
  .game-row.scheduled-game, .my-schedule-table { display: none; }
  .mobile-day-games { display: block; }
  .mobile-schedule-game { display: grid; grid-template-columns: minmax(0, 1fr) 82px; gap: 10px 12px; padding: 16px 8px; border-bottom: 1px solid var(--line); background: white; }
  .mobile-game-teams { min-width: 0; display: grid; gap: 8px; align-content: center; }
  .mobile-game-teams > div { display: flex; align-items: baseline; gap: 8px; min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
  .mobile-team-marker { flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: #249ba4; }
  .mobile-team-marker.away { background: #f07836; }
  .mobile-game-teams .team-with-favorite { min-width: 0; align-items: center; gap: 2px; }
  .mobile-game-teams .league-team { font-size: inherit; text-align: left; overflow-wrap: anywhere; min-width: 0; }
  .mobile-game-teams .favorite-team { padding: 4px; min-width: 28px; font-size: 20px; }
  .mobile-game-time { border-left: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding-left: 10px; font-size: 14px; text-align: center; }
  .mobile-game-venue { grid-column: 1 / -1; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
  .mobile-game-venue a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
  .mobile-game-event { grid-column: 1 / -1; font-size: 10px; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; }
  .my-teams-day { overflow: visible; }
  .mobile-day-games .mobile-schedule-game:first-child { border-top: 1px solid var(--line); }
}

.my-teams-share { margin: 16px 0; }
.my-teams-share p { font-size: 12px; color: var(--muted); }
.my-teams-share label { font-size: 12px; }
.my-teams-share input { display: block; width: 100%; min-width: 0; margin-top: 8px; padding: 10px; border: 1px solid var(--line); font-size: 16px; }
.my-teams-share [hidden] { display: none; }

.calendar-controls { padding: 16px; margin: 16px 0; border: 1px solid var(--line); background: white; }
.calendar-controls label { display: block; margin-top: 14px; font-size: 12px; }
.calendar-controls input { display: block; width: 100%; min-width: 0; padding: 10px; margin: 8px 0; font-size: 16px; border: 1px solid var(--line); }
.calendar-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
#calendar-status { font-size: 12px; overflow-wrap: anywhere; }

.my-teams-tools { margin: 18px 0 24px; background: white; border: 1px solid var(--line); border-radius: 5px; }
.my-teams-tools > summary { padding: 16px 18px; font-size: 16px; font-weight: 700; cursor: pointer; }
.my-teams-tools summary small { display: block; margin: 5px 0 0 18px; color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.5; }
.my-teams-tools-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; padding: 0 16px 16px; align-items: start; }
.my-teams-tool { min-width: 0; border: 1px solid var(--line); border-radius: 4px; }
.my-teams-tool > summary { padding: 14px; font-size: 13px; font-weight: 700; cursor: pointer; background: #fafbfe; }
.my-teams-tool-body { padding: 0 14px 14px; }
.my-teams-tool-body p { font-size: 12px; line-height: 1.6; color: var(--muted); }
.my-teams-tool-body .calendar-controls { border: 0; padding: 0; margin: 14px 0 0; }
.my-teams-tool-body .my-teams-share { margin: 12px 0 0; }
.my-teams-tool-body input { width: 100%; min-width: 0; font-size: 16px; padding: 10px; margin: 8px 0 12px; border: 1px solid var(--line); }
.my-teams-tool-body label { font-size: 12px; }
.my-teams-tool-body .suggestion-button { display: inline-block; line-height: 1.5; white-space: normal; text-align: center; }
@media(max-width:1000px) { .my-teams-tools-grid { grid-template-columns: minmax(0,1fr); } }

/* Give personal team controls a distinct courtside identity. */
.my-teams-tools > summary { background: #17243e; color: #fff; border-radius: 4px; padding: 18px 20px; }
.my-teams-tools > summary small { color: #ccd7ee; }
.my-teams-tools[open] > summary { border-radius: 4px 4px 0 0; margin-bottom: 16px; }
.my-teams-tools > summary:hover { background: #213455; }

@media(max-width:720px) { .header-inner nav { gap: 12px; } }

.my-teams { padding: 12px 18px; }
.my-teams-toggle { min-height: 28px; }
.my-teams-count { color: var(--accent); margin-left: 6px; }

.my-teams-tool-body .email-signup-success { background: #eaf5ee; border: 1px solid #a9d4b7; border-left: 4px solid #287344; border-radius: 4px; color: #1c5632; padding: 14px; font-size: 13px; font-weight: 600; line-height: 1.6; }
#my-teams-email-form[hidden] { display: none; }

.source-in-companion { margin-top: 20px; }
.source-in-companion .source-heading h4 { margin: 0; }
.source-in-companion > p { font-size: 12px; line-height: 1.7; }

.event-meta .event-team-count { color: var(--accent); font-weight: 700; white-space: nowrap; }

.favorite-team-group { margin: 20px 0; padding-top: 16px; border-top: 1px solid var(--line); }
.favorite-team-group h4 { margin: 0; color: #17243e; font-size: 17px; line-height: 1.4; }
.my-teams .favorite-group-meta { margin: 4px 0 12px; font-size: 11px; }
.favorite-team-group:last-child { margin-bottom: 4px; }
.favorite-team-group .favorite-open strong { font-size: 12px; line-height: 1.5; }

.team-event-suggestions { margin: 18px 0; border: 1px solid var(--line); background: white; border-radius: 5px; }
.team-event-suggestions > summary { padding: 14px 18px; font-size: 14px; font-weight: 700; cursor: pointer; }
.suggested-events-body { padding: 0 18px 16px; }
.suggested-events-body > p { color: var(--muted); font-size: 11px; line-height: 1.6; }
.suggested-team-events h4 { margin: 18px 0 8px; font-size: 15px; }
.suggested-team-events ul { list-style: none; padding: 0; margin: 0; }
.suggested-team-events li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.suggested-team-events li > div { min-width: 0; overflow-wrap: anywhere; }
.suggested-team-events strong { display: block; font-size: 12px; }
.suggested-team-events span, .suggested-team-events small { display: block; color: var(--muted); font-size: 11px; margin-top: 5px; }
.suggested-team-events button { flex-shrink: 0; padding: 9px 12px; }
@media(max-width:480px) { .suggested-team-events li { flex-wrap: wrap; } }

form.search { margin: 0; }
.search .search-go { border: 0; border-radius: 3px; padding: 8px 12px; background: var(--accent); color: white; font-size: 12px; font-weight: 700; flex-shrink: 0; cursor: pointer; }
.search .search-go:hover { background: #1942b8; }
@media(max-width:720px) { .search .search-go { min-height: 40px; } }

.result-game .game-matchup { display: grid; grid-template-columns: minmax(0,1fr) 24px minmax(0,1fr); align-items: start; width: fit-content; min-width: min(340px,100%); max-width: 100%; gap: 8px; }
.result-game .game-matchup > .game-team { display: flex; flex-direction: column; align-items: center; gap: 6px; grid-row: 1; grid-column: auto; text-align: center; }
.result-game .game-matchup > .game-versus { grid-row: 1; grid-column: 2; text-align: center; padding-top: 10px; }
.result-game .team-result-score { display: block; color: var(--ink); font-size: 22px; font-weight: 700; line-height: 1.2; }
@media(max-width:720px) { .result-game .game-matchup { width: 100%; min-width: 0; } .result-game .game-team .team-with-favorite { justify-content: center; } }

/* Compact final results with the same two team columns in every game. */
.game-row.result-game { padding: 10px 16px; gap: 8px 16px; }
.result-game .game-details { flex: 1; min-width: 0; }
.result-game .game-matchup { width: 560px; max-width: 100%; min-width: 0; grid-template-columns: minmax(0,1fr) 24px minmax(0,1fr); align-items: stretch; gap: 4px; }
.result-game .game-matchup > .game-team { gap: 2px; }
.result-game .game-team .team-with-favorite { display: flex; justify-content: center; align-items: center; width: 100%; min-width: 0; gap: 4px; }
.result-game .game-team .league-team { min-width: 0; white-space: normal; overflow-wrap: anywhere; line-height: 1.35; text-align: center; }
.result-game .game-team .favorite-team { padding: 4px; min-width: 28px; min-height: 28px; font-size: 19px; }
.result-game .game-matchup > .game-versus { padding-top: 5px; font-size: 10px; }
.result-game .team-result-score { margin-top: auto; font-size: 19px; line-height: 1.2; }
.result-game .game-status, .result-game .game-venue { display: inline-block; margin-top: 6px; font-size: 10px; line-height: 1.4; }
.result-game .game-venue { margin-left: 12px; }
.result-game .game-date { font-size: 11px; }
@media(max-width:720px) {
  .game-row.result-game { padding: 10px 12px; gap: 6px; }
  .result-game .game-matchup { width: 100%; }
  .result-game .game-score { padding-bottom: 5px; }
  .result-game .game-venue { margin-left: 0; display: block; margin-top: 3px; }
}

/* Keep each final score beside its team and emphasize the winning score. */
.result-game .game-matchup > .game-team { display: grid; grid-template-columns: minmax(0,1fr) 32px; align-items: center; column-gap: 8px; text-align: left; }
.result-game .game-team .team-with-favorite { justify-content: flex-start; }
.result-game .game-team .league-team { text-align: left; }
.result-game .team-result-score { margin: 0; text-align: right; font-size: 19px; }
.result-game .team-result-score.winning-score { color: var(--accent); }
.result-game .game-matchup > .game-versus { align-self: center; padding-top: 0; }

.return-ribbon { position: fixed; left: 20px; top: max(12px,env(safe-area-inset-top)); z-index: 50; }
.return-ribbon button { border: 1px solid #405777; border-radius: 6px; background: #17243e; color: white; padding: 12px 18px; font-size: 13px; font-weight: 700; box-shadow: 0 3px 16px #0003; cursor: pointer; }
.return-ribbon button:hover { background: #263d60; }
@media(max-width:720px) { .return-ribbon { left: 12px; } .return-ribbon button { padding: 11px 14px; font-size: 12px; } }

/* Track the visible viewport when a mobile keyboard pans the page. */
.return-ribbon { top: calc(var(--ribbon-viewport-top, 0px) + max(12px,env(safe-area-inset-top))); left: calc(var(--ribbon-viewport-left, 0px) + 20px); z-index: 1000; }
@media(max-width:720px) { .return-ribbon { left: calc(var(--ribbon-viewport-left, 0px) + 12px); } }

.registration-pool { font-size: 12px; font-weight: 700; color: var(--ink); margin: 12px 0 8px; }
.official-bracket { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 16px; margin: 0; background: var(--soft); }
.official-bracket a { color: var(--accent); font-size: 12px; font-weight: 700; text-decoration: underline; }
.official-bracket span { color: var(--muted); font-size: 10px; }
.share-view-controls{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;font-size:inherit}.event-actions{display:flex;align-items:center;justify-content:flex-end;gap:22px;margin-left:auto}.share-view-button,.event-action-link{display:inline-flex;align-items:center;gap:4px;background:transparent;color:var(--accent);border:0;border-radius:0;padding:4px 0;font:inherit;font-weight:700;line-height:1.5;white-space:nowrap;cursor:pointer}.share-view-button:hover,.event-action-link:hover{text-decoration:underline;text-underline-offset:3px}.share-view-button.is-shared{color:#707785}.share-view-controls label{flex-basis:100%;font-weight:600}.share-view-controls label[hidden]{display:none}.share-view-controls input{display:block;width:100%;min-width:0;margin-top:5px;padding:8px;border:1px solid var(--line);font:inherit}.share-view-controls [role=status]{max-width:240px}.share-view-controls [role=status]:empty{display:none}.event-footer{flex-wrap:wrap}.event-footer .share-view-controls{margin:0}.event-actions:has(label:not([hidden])){flex-wrap:wrap;min-width:0}.event-actions:has(label:not([hidden])) .share-view-controls{flex-basis:100%}@media(max-width:720px){.event-actions{gap:20px}.share-view-button,.event-action-link{min-height:40px}.event-actions:has(label:not([hidden])){flex-basis:100%}}.scout-team{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;border:0;background:transparent;color:var(--muted);padding:7px;min-width:34px;min-height:34px;flex-shrink:0;cursor:pointer}.scout-team svg{width:20px;height:20px}.scout-team:hover{color:var(--accent);background:var(--soft);border-radius:4px}.scouting-profile{background:#fff;border:1px solid var(--line);padding:18px;margin-bottom:18px;border-radius:5px}.scouting-profile h3{font-size:20px;margin:0 0 6px}.scouting-profile p{color:var(--muted);font-size:12px;margin:0}.favorite-team-group h4 .scout-team{margin-left:8px}.section-tabs{flex-wrap:wrap}.header nav{flex-wrap:wrap;gap:20px}.scout-team:focus-visible{outline:3px solid var(--accent);outline-offset:2px}@media(max-width:720px){.scout-team{min-width:36px;min-height:36px}.section-tabs{column-gap:16px;row-gap:8px}.header nav{gap:14px}}
.team-with-favorite>.scout-team{order:-1}.team-with-favorite>.favorite-team{order:-2}
@media(max-width:720px){.scout-team svg{transform:translateY(1px)}}
.schedule-matchup-team{display:flex;align-items:center;gap:5px;min-width:0;flex-wrap:wrap}.schedule-matchup-team+.schedule-matchup-team{margin-top:4px}
.scouting-profile .share-view-controls{margin-top:8px;font-size:12px}
@media(max-width:720px){.my-teams-jump{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:18px 0;width:100%}.my-teams-jump button{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:46px;width:100%;padding:12px 14px;text-align:left;font-size:12px;line-height:1.4;border-radius:4px;color:var(--ink)}.my-teams-jump button::after{content:"?";color:var(--accent);font-size:16px;line-height:1;flex-shrink:0}}
.my-teams-jump{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:24px;margin:20px 0;border-bottom:1px solid var(--line);width:100%}.my-teams-jump button{display:inline-block;flex:0 0 auto;width:auto;min-height:44px;padding:10px 0;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:12px;font-weight:600;line-height:1.4;text-align:left;white-space:nowrap}.my-teams-jump button:hover{color:var(--accent);border:0}.my-teams-jump button::after{content:none}@media(max-width:720px){.my-teams-jump{display:flex;flex-wrap:nowrap;gap:20px;margin:16px 0}.my-teams-jump button{width:auto;min-height:44px;padding:10px 0;font-size:11px}}
@media(max-width:720px){.result-game .game-matchup{grid-template-columns:minmax(0,1fr);gap:8px}.result-game .game-matchup>.game-team:first-child{grid-column:1;grid-row:1}.result-game .game-matchup>.game-team:last-child{grid-column:1;grid-row:2}.result-game .game-matchup>.game-versus{display:none}.result-game .game-matchup>.game-team{width:100%;grid-template-columns:minmax(0,1fr) 32px}.result-game .game-team .team-with-favorite{min-width:0}.result-game .team-result-score{align-self:center}}
.favorite-team-group h4{display:flex;align-items:center;gap:6px}.favorite-team-group h4>.scout-team{order:-1;margin:0}.team-with-favorite>span:not(.scout-team){min-width:0;overflow-wrap:anywhere}
.schedule-matchup-team{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:5px}.schedule-matchup-team>.team-with-favorite{grid-column:2;grid-row:1;display:grid;grid-template-columns:34px minmax(0,1fr);width:100%;align-items:center;gap:6px}.schedule-matchup-team>.muted{grid-column:1;grid-row:1;font-size:10px}.schedule-matchup-team .scout-team{grid-column:1}.schedule-matchup-team .team-with-favorite>span{grid-column:2}@media(max-width:720px){.mobile-game-teams>div{display:grid;grid-template-columns:8px minmax(0,1fr);align-items:center;gap:8px}.mobile-game-teams .team-with-favorite{display:flex;align-items:center;width:100%}}
.event-name-link{color:var(--accent);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.event-name-link:hover{color:var(--ink)}
.event-top[id]{scroll-margin-top:16px}
/* Compact mobile schedules, preserving the two-team and time-column layout. */
@media (max-width:720px) {
  .mobile-schedule-game { grid-template-columns:minmax(0,1fr) 72px; gap:5px 8px; padding:8px 6px; }
  .mobile-game-teams { gap:3px; }
  .mobile-game-teams > div { grid-template-columns:6px minmax(0,1fr); gap:5px; font-size:12px; line-height:1.3; }
  .mobile-team-marker { width:6px; height:6px; }
  .mobile-game-time { gap:2px; padding-left:8px; font-size:12px; }
  .mobile-game-venue { font-size:10px; line-height:1.35; }
  .mobile-game-event { font-size:9px; line-height:1.3; }
  .mobile-game-teams .scout-team { min-width:28px; min-height:28px; padding:4px; }
  .mobile-game-teams .scout-team svg { width:17px; height:17px; }
  .mobile-game-teams .favorite-team { min-width:28px; min-height:28px; padding:4px; font-size:18px; }
}
/* Shared compact type scale for every mobile view. */
@media (max-width:720px) {
  body { font-size:12px; }
  .event-card h3,.event-card h4,.favorite-team-group h4,.suggested-team-events h4,.scouting-profile h3 { font-size:14px; line-height:1.35; }
  .my-teams h3,.my-teams-toggle,.my-teams-section > summary,.my-teams-tools > summary { font-size:16px; line-height:1.35; }
  .league-team,.team-group li,.game-row,.favorite-open strong,.favorite-team-group .favorite-open strong,
  .followed-registrations,.my-team-game,.scouting-profile p,.my-teams p,.my-teams-tool-body p,
  .my-teams-tool > summary,.team-event-suggestions > summary,.suggested-team-events li,
  .calendar-controls,.team-email-updates span,.share-view-controls,.share-view-button,.event-action-link,
  .league-selector,.suggestion-button,.return-ribbon button { font-size:12px; line-height:1.35; }
  .game-row .game-date,.game-row .game-status,.game-row .game-venue,.favorite-open span,
  .my-teams .favorite-group-meta,.standings-note,.game-row small,.event-meta,
  .my-teams-tool-body label,.calendar-controls label,.my-teams-tools summary small { font-size:10px; line-height:1.35; }
  .event-footer,.result-meta,.source-tag,.card-topline span,.updated,.schedule-division { font-size:9px; }
  .standings-table,.division-pools .standings-table td { font-size:12px; line-height:1.35; }
  .standings-table th,.division-pools .standings-table th { font-size:10px; }
  .standings-table caption,.my-schedule-table caption,.league-team-heading { font-size:12px; line-height:1.35; }
  .result-game .team-result-score { font-size:14px; line-height:1.2; }
  .scout-team { min-width:28px; min-height:28px; padding:4px; }
  .scout-team svg { width:17px; height:17px; }
  .favorite-team,.result-game .game-team .favorite-team { min-width:28px; min-height:28px; padding:4px; font-size:18px; }
  .game-row.result-game { padding:8px; }
  .my-teams-section-body { padding:12px; }
  .my-teams-section .event-card { padding:12px; }
  .my-teams-section > summary,.my-teams-tools > summary { padding:12px; }
  /* Keep editable fields large enough to avoid automatic mobile input zoom. */
  input,select,textarea { font-size:16px; }
}
@media(max-width:720px){.my-teams-day .mobile-schedule-day-heading{font-size:12px;font-weight:700;line-height:1.4;color:var(--ink);margin:0;padding:8px 6px;background:var(--soft);border-bottom:1px solid var(--line)}.mobile-schedule-day-heading+.mobile-schedule-game{border-top:0}}
/* Scouting standings use the full card width without a horizontal scroller. */
.scouting-workspace .division-pools{grid-template-columns:minmax(0,1fr);min-width:0}
.scouting-workspace .division-pools .standings-wrap{min-width:0;max-width:100%}
.scouting-workspace .division-pools .standings-table{width:100%;min-width:0;table-layout:fixed}
.scouting-workspace .division-pools .standings-table th:first-child,.scouting-workspace .division-pools .standings-table td:first-child{width:58%;min-width:0;overflow-wrap:anywhere}
.scouting-workspace .division-pools .standings-table th:not(:first-child),.scouting-workspace .division-pools .standings-table td:not(:first-child){width:7%;padding-left:3px;padding-right:3px}
.scouting-workspace .standings-table .team-with-favorite{width:100%;min-width:0;gap:3px}
.scouting-team-heading{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px}
.scouting-team-heading h3{margin:0}
.scouting-record{font-family:'Barlow Condensed',Arial,sans-serif;font-size:24px;line-height:1.2;font-weight:700;font-variant-numeric:tabular-nums;color:var(--accent);background:var(--soft);padding:5px 10px;border-radius:4px;white-space:nowrap}
.scouting-profile .scouting-record-note{font-size:10px;color:var(--muted);margin:6px 0}
@media(max-width:720px){.scouting-record{font-size:18px}.scouting-workspace .division-pools{padding:6px}.scouting-workspace .division-pools .standings-table th,.scouting-workspace .division-pools .standings-table td{font-size:10px;padding:7px 2px}.scouting-workspace .standings-table .team-with-favorite{gap:1px}.scouting-workspace .standings-table .favorite-team,.scouting-workspace .standings-table .scout-team{min-width:24px;padding:2px}.scouting-workspace .division-pools .standings-table th:first-child,.scouting-workspace .division-pools .standings-table td:first-child{width:52%}.scouting-workspace .division-pools .standings-table th:not(:first-child),.scouting-workspace .division-pools .standings-table td:not(:first-child){width:8%}}
.scouting-workspace .division-pools .standings-table th:last-child,.scouting-workspace .division-pools .standings-table td:last-child{padding-right:12px}@media(max-width:720px){.scouting-workspace .division-pools .standings-table th:last-child,.scouting-workspace .division-pools .standings-table td:last-child{padding-right:7px}}
/* Fit My Teams pool standings to narrow screens, matching Scouting. */
@media(max-width:720px){
  #my-past-results .division-pools{grid-template-columns:minmax(0,1fr);padding:6px;min-width:0}
  #my-past-results .standings-wrap{min-width:0;max-width:100%}
  #my-past-results .standings-table{width:100%;min-width:0;table-layout:fixed}
  #my-past-results .standings-table th,#my-past-results .standings-table td{font-size:10px;line-height:1.35;padding:7px 2px}
  #my-past-results .standings-table th:first-child,#my-past-results .standings-table td:first-child{width:52%;min-width:0;overflow-wrap:anywhere}
  #my-past-results .standings-table th:not(:first-child),#my-past-results .standings-table td:not(:first-child){width:8%}
  #my-past-results .standings-table th:last-child,#my-past-results .standings-table td:last-child{padding-right:7px}
  #my-past-results .standings-table .team-with-favorite{width:100%;min-width:0;gap:1px}
  #my-past-results .standings-table .favorite-team,#my-past-results .standings-table .scout-team{min-width:24px;padding:2px}
}
/* Consistent fitted standings tables across every mobile section. */
@media(max-width:720px){
  .division-pools{grid-template-columns:minmax(0,1fr);padding:6px;min-width:0}
  .division-pools .standings-wrap{min-width:0;max-width:100%}
  .division-pools .standings-table{width:100%;min-width:0;table-layout:fixed}
  .division-pools .standings-table th,.division-pools .standings-table td{font-size:10px;line-height:1.35;padding:7px 2px}
  .division-pools .standings-table th:first-child,.division-pools .standings-table td:first-child{width:52%;min-width:0;overflow-wrap:anywhere}
  .division-pools .standings-table th:not(:first-child),.division-pools .standings-table td:not(:first-child){width:8%}
  .division-pools .standings-table th:last-child,.division-pools .standings-table td:last-child{padding-right:7px}
  .division-pools .standings-table .team-with-favorite{width:100%;min-width:0;gap:1px}
  .division-pools .standings-table .league-team{font-size:inherit}
  .division-pools .standings-table .favorite-team,.division-pools .standings-table .scout-team{min-width:24px;padding:2px}
}
/* Compact completed-tournament standings while keeping actions usable. */
.archive-division .standings-table th,.archive-division .standings-table td{padding-top:5px;padding-bottom:5px}
.archive-division .standings-table caption{padding-top:9px;padding-bottom:9px}
.archive-division .standings-table .favorite-team,.archive-division .standings-table .scout-team{min-width:28px;min-height:28px;padding:3px}
.archive-division .standings-table .favorite-team{font-size:18px}
.archive-division .standings-table .scout-team svg{width:17px;height:17px}
@media(max-width:720px){.archive-division .standings-table th,.archive-division .standings-table td{padding-top:4px;padding-bottom:4px}.archive-division .standings-table .favorite-team,.archive-division .standings-table .scout-team{min-width:24px;padding:2px}}
