:root {
  --navy: #071426;
  --navy-2: #0b2039;
  --navy-3: #123252;
  --court: #00a6a6;
  --court-dark: #007d82;
  --signal: #ff4d17;
  --signal-dark: #d93608;
  --lime: #c7f000;
  --paper: #eef2f5;
  --surface: #ffffff;
  --surface-2: #f6f8fa;
  --ink: #091a2c;
  --muted: #617186;
  --line: #d6dee7;
  --line-strong: #bfcbd7;
  --green: #087455;
  --amber: #a95d00;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 8px 24px rgba(7,20,38,.06);
  --shadow: 0 20px 50px rgba(7,20,38,.11);
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Arial Narrow", "Roboto Condensed", "Aptos Narrow", var(--font-body);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 144px; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select, summary { cursor: pointer; }
::selection { background: rgba(199,240,0,.45); color: var(--ink); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.sr-only, .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; transform: translateY(-150%); padding: 11px 16px; border-radius: 8px; background: white; color: var(--ink); font-weight: 850; box-shadow: var(--shadow); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 60; color: white; background: rgba(7,20,38,.97); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(16px); }
.site-header__inner { width: min(1240px, calc(100% - 48px)); min-height: 68px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: white; font-size: 21px; font-weight: 900; letter-spacing: -.045em; }
.brand strong { color: var(--signal); }
.brand__mark { position: relative; width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid var(--signal); color: white; background: transparent; font-family: var(--font-display); font-size: 17px; font-weight: 900; font-style: italic; transform: skew(-7deg); }
.brand__mark::after { content: ""; position: absolute; inset: 7px; border: 2px solid var(--signal); border-radius: 50%; }
.site-header nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-header nav a { min-height: 40px; display: grid; place-items: center; padding: 0 14px; color: #b7c4d4; font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.site-header nav a:hover { color: white; }
.live-pill, .pulse-label { display: inline-flex; align-items: center; gap: 8px; font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.live-pill { min-height: 36px; padding: 0 12px; border: 1px solid rgba(255,255,255,.15); color: #dce5ef; }
.live-pill i, .pulse-label i, .status i { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(255,77,23,.15); }

.home-hero { position: relative; min-height: 500px; overflow: hidden; display: grid; grid-template-columns: minmax(0,1fr) minmax(330px,.72fr); align-items: center; gap: clamp(44px,7vw,110px); padding: 68px max(28px,calc((100vw - 1240px)/2)); color: white; background: linear-gradient(112deg,#061326 0%,#0a263f 72%,#083947 100%); }
.home-hero::before { content: ""; position: absolute; inset: 0; opacity: .58; background-image: linear-gradient(117deg,transparent 0 68%,rgba(199,240,0,.08) 68% 69%,transparent 69%), linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size: auto,44px 44px,44px 44px; }
.home-hero::after { content: ""; position: absolute; width: 500px; height: 500px; right: -125px; top: -110px; border: 70px solid rgba(0,166,166,.08); border-radius: 50%; }
.home-hero__copy, .home-hero__score { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 9px; color: #718196; font-size: 9px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow--electric { display: flex; align-items: center; gap: 9px; color: #a9e8e4; }
.eyebrow--electric i { width: 24px; height: 3px; background: var(--signal); transform: skew(-18deg); }
.home-hero h1 { max-width: 760px; margin: 15px 0 20px; font-family: var(--font-display); font-size: clamp(60px,6.8vw,96px); font-weight: 950; line-height: .88; letter-spacing: -.06em; text-transform: uppercase; }
.home-hero h1 em { color: var(--lime); font-style: normal; }
.home-hero__copy > p:not(.eyebrow) { max-width: 580px; margin: 0; color: #c3ceda; font-size: 16px; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 26px; }
.hero-actions > span { color: #8fa1b6; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.primary-action { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 0 22px; border-radius: 4px; background: var(--signal-dark); color: white; font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; box-shadow: 8px 8px 0 rgba(199,240,0,.16); transition: transform .16s ease,background .16s ease; }
.primary-action:hover { transform: translate(-2px,-2px); background: var(--signal-dark); }
.home-hero__score { justify-self: end; width: min(390px,100%); overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 5px; background: rgba(3,14,29,.82); box-shadow: 14px 14px 0 rgba(0,166,166,.17); transform: rotate(-1deg); }
.home-hero__score header, .home-hero__score footer { min-height: 42px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; color: #81d9d6; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.home-hero__score header { border-bottom: 1px solid rgba(255,255,255,.12); }
.home-hero__score header b { display: flex; align-items: center; gap: 7px; color: white; font-size: 8px; }
.home-hero__score header i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(255,77,23,.15); }
.score-team { min-height: 94px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); }
.score-team span { font-family: var(--font-display); font-size: 20px; font-weight: 850; letter-spacing: .02em; }
.score-team strong { color: var(--lime); font-family: ui-monospace,monospace; font-size: 58px; line-height: 1; letter-spacing: -.08em; }
.home-hero__score footer { color: #95a5b8; background: rgba(255,255,255,.03); }

.tournament-index, .content-shell { width: min(1240px,calc(100% - 48px)); margin: auto; }
.tournament-index { padding: 68px 0 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.section-heading h2, .section-title h2 { margin: 0; font-family: var(--font-display); font-weight: 900; letter-spacing: -.04em; text-transform: uppercase; }
.section-heading h2 { font-size: clamp(38px,4.5vw,58px); line-height: .95; }
.section-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 11px; font-weight: 750; }
.filters { display: grid; grid-template-columns: minmax(240px,1.45fr) minmax(145px,.75fr) repeat(3,minmax(120px,.62fr)) auto auto; gap: 9px; padding: 11px; border: 1px solid var(--line); border-top: 3px solid var(--court); border-radius: 6px; background: white; box-shadow: var(--shadow-sm); }
.filter-field, .search-field { position: relative; display: block; min-width: 0; }
.filter-field input, .filter-field select, .search-field input { width: 100%; height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-2); color: var(--ink); font-size: 12px; outline: 0; }
.filter-field input:focus, .filter-field select:focus, .search-field input:focus { border-color: var(--court); background: white; box-shadow: 0 0 0 3px rgba(0,166,166,.12); }
.search-field svg { position: absolute; left: 14px; top: 14px; width: 18px; height: 18px; color: var(--court-dark); pointer-events: none; }
.search-field input { padding-left: 42px; }
.filter-more, .filter-more__fields { display: contents; }
.filter-more summary { display: none; }
.filters button, .filters > a { min-height: 46px; padding: 0 17px; border: 0; border-radius: 4px; display: grid; place-items: center; font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.filters button { background: var(--navy); color: white; }
.filters > a { color: var(--muted); background: #edf1f5; }
.featured-section, .tournament-section { margin-top: 62px; }
.section-title { display: flex; align-items: baseline; gap: 13px; padding-bottom: 12px; border-bottom: 2px solid var(--navy); margin-bottom: 18px; }
.section-title > span { color: var(--signal-dark); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.section-title h2 { font-size: 28px; line-height: 1.05; }
.section-title > b { margin-left: auto; color: #7e8da0; font-family: ui-monospace,monospace; font-size: 10px; }
.card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.tournament-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow-sm); transition: transform .18s ease,box-shadow .18s ease; }
.tournament-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tournament-card__visual { position: relative; height: 150px; padding: 15px; display: flex; align-items: flex-start; justify-content: space-between; background-color: var(--navy-2); background-image: linear-gradient(145deg,rgba(0,166,166,.28),transparent 52%),linear-gradient(117deg,transparent 0 72%,rgba(199,240,0,.13) 72% 73%,transparent 73%),linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size: cover,cover,32px 32px,32px 32px; background-position: center; }
.status { min-height: 29px; display: inline-flex; align-items: center; gap: 7px; width: max-content; padding: 0 10px; border-radius: 3px; background: white; color: var(--ink); font-size: 8px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.status--live { background: var(--signal-dark); color: white; }
.status--live i { background: white; box-shadow: 0 0 0 4px rgba(255,255,255,.2); animation: pulse 1.4s infinite; }
.status--finished, .status--closed { background: #dfe5eb; color: #536174; }
.status--finished i, .status--closed i { background: #748399; box-shadow: none; }
.status--upcoming i { background: var(--court); box-shadow: 0 0 0 4px rgba(0,166,166,.16); }
.tournament-card__date { padding: 7px 9px; border-radius: 3px; color: white; background: rgba(3,14,29,.65); font-family: ui-monospace,monospace; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.tournament-card__body { padding: 20px; }
.tournament-card__body h3 { min-height: 50px; margin: 0 0 16px; font-family: var(--font-display); color: var(--ink); font-size: 23px; font-weight: 900; line-height: 1.08; letter-spacing: -.035em; text-transform: uppercase; }
.tournament-card__meta { display: grid; gap: 9px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.tournament-card__meta span { display: flex; align-items: center; gap: 8px; }
.tournament-card__meta svg { width: 15px; height: 15px; color: var(--court-dark); }
.text-link { min-height: 28px; display: flex; align-items: center; justify-content: space-between; margin-top: 13px; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.text-link b { width: 28px; height: 28px; display: grid; place-items: center; color: white; background: var(--signal-dark); font-size: 15px; }
.tournament-card--featured { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(320px,.88fr); }
.tournament-card--featured .tournament-card__visual { height: 100%; min-height: 300px; }
.tournament-card--featured .tournament-card__body { padding: clamp(28px,4.5vw,52px); display: flex; flex-direction: column; justify-content: center; }
.tournament-card--featured .tournament-card__body h3 { min-height: 0; font-size: clamp(36px,4.2vw,54px); line-height: .94; }

.empty-state { min-height: 210px; display: grid; place-items: center; align-content: center; gap: 9px; padding: 34px 22px; border: 1px dashed #aebbc8; border-radius: 8px; text-align: center; background: rgba(255,255,255,.64); }
.empty-state__icon { width: 48px; height: 48px; margin-bottom: 4px; display: grid; place-items: center; border-radius: 50%; color: var(--court-dark); background: #dff4f3; }
.empty-state__icon svg { width: 23px; height: 23px; }
.empty-state h3 { margin: 0; font-family: var(--font-display); font-size: 21px; font-weight: 900; text-transform: uppercase; }
.empty-state p { max-width: 500px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.tournament-hero { min-height: 340px; color: white; background-color: var(--navy); background-image: linear-gradient(110deg,rgba(0,166,166,.2),transparent 50%),linear-gradient(117deg,transparent 0 76%,rgba(199,240,0,.08) 76% 77%,transparent 77%),linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px); background-size: cover,cover,40px 40px,40px 40px; background-position: center; }
.tournament-hero__inner { position: relative; width: min(1240px,calc(100% - 48px)); min-height: 340px; margin: auto; padding: 26px 0 34px; display: flex; flex-direction: column; justify-content: space-between; }
.back-link { width: max-content; min-height: 32px; display: inline-flex; align-items: center; color: #b9c7d6; font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.tournament-hero__content { max-width: 960px; }
.tournament-kicker { display: flex; align-items: center; gap: 12px; }
.tournament-kicker > span:last-child { color: #80d9d5; font-size: 8px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.tournament-hero h1 { max-width: 930px; margin: 12px 0 9px; font-family: var(--font-display); font-size: clamp(40px,5vw,66px); font-weight: 950; line-height: .93; letter-spacing: -.05em; text-transform: uppercase; }
.tournament-hero__content > p { max-width: 680px; margin: 0 0 18px; color: #c4d0dc; font-size: 13px; line-height: 1.55; }
.hero-facts { max-width: 880px; display: grid; grid-template-columns: repeat(4,minmax(125px,1fr)); gap: 1px; padding-right: 84px; background: rgba(255,255,255,.12); }
.hero-facts > span { min-width: 0; padding: 10px 12px; display: grid; gap: 4px; background: rgba(7,20,38,.82); }
.hero-facts small { color: #8294aa; font-size: 7px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.hero-facts strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: white; font-size: 10px; }
.hero-number { position: absolute; right: 0; bottom: 35px; display: grid; text-align: right; }
.hero-number strong { color: var(--lime); font-family: ui-monospace,monospace; font-size: 58px; font-weight: 900; line-height: .85; letter-spacing: -.08em; }
.hero-number span { margin-top: 9px; color: #96a6ba; font-size: 8px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.tournament-tabs { position: sticky; top: 68px; z-index: 40; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.tournament-tabs > div { width: min(1240px,calc(100% - 48px)); min-height: 56px; margin: auto; display: flex; align-items: stretch; }
.tournament-tabs a { min-height: 56px; display: grid; place-items: center; padding: 0 22px; color: #607084; border-bottom: 3px solid transparent; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.tournament-tabs a[aria-current="page"] { color: var(--ink); border-color: var(--signal); background: #fff3ee; }
.mobile-sport-nav { display: none; }
.content-shell { min-width: 0; padding: 24px 0 94px; }
.data-toolbar { min-height: 56px; margin-bottom: 22px; padding: 8px 10px 8px 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--line); border-radius: 6px; background: white; color: #69798d; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.data-toolbar__meta { display: flex; align-items: center; gap: 16px; }
.pulse-label { color: #9e320d; }
.pulse-label i { animation: pulse 1.4s infinite; }
.data-toolbar label { display: flex; align-items: center; gap: 9px; }
.data-toolbar select { min-width: 235px; max-width: 340px; height: 38px; padding: 0 11px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-2); color: var(--ink); font-size: 10px; font-weight: 750; }
.refresh-button { min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-2); color: var(--ink); font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.cache-notice { margin: -5px 0 22px; padding: 13px 15px; border: 1px solid #f0bda8; border-left: 4px solid var(--signal); border-radius: 4px; background: #fff0ea; color: #78300f; font-size: 11px; line-height: 1.5; }
.summary-stack, .round-sections, .group-stack { display: grid; gap: 46px; }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.metric { position: relative; min-height: 104px; overflow: hidden; padding: 18px 20px; display: grid; align-content: center; border: 1px solid var(--line); border-radius: 6px; background: white; }
.metric::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--court); }
.metric strong { font-family: ui-monospace,monospace; font-size: 38px; font-weight: 900; line-height: 1; letter-spacing: -.07em; }
.metric span { margin-top: 6px; color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.summary-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.match-list, .match-grid { display: grid; gap: 10px; }
.match-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.match-card { position: relative; overflow: hidden; padding: 0 15px 12px; border: 1px solid var(--line); border-radius: 6px; background: white; box-shadow: 0 5px 16px rgba(7,20,38,.045); }
.match-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--court); }
.match-card--live { border-color: #f1aa8f; box-shadow: 0 7px 22px rgba(255,77,23,.1); }
.match-card--live::before { background: var(--signal); }
.match-card header { min-height: 34px; margin: 0 -15px 8px; padding: 0 14px 0 17px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #708095; background: #f5f7f9; border-bottom: 1px solid #e5eaf0; font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.match-card footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; padding-top: 9px; border-top: 1px solid #e8edf2; color: #718095; font-size: 8px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.match-state { padding: 4px 6px; border-radius: 2px; color: #566579; background: #e6ebf0; font-size: 7px; }
.match-state--finalizado { color: var(--green); background: #def2ea; }
.match-state--en-juego { color: white; background: var(--signal-dark); }
.competitor { min-height: 34px; display: grid; grid-template-columns: minmax(0,1fr) 34px; align-items: center; gap: 10px; border-bottom: 1px solid #edf1f4; }
.competitor strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.competitor > b { min-height: 27px; display: grid; place-items: center; color: #5d6d81; background: #edf1f4; font-family: ui-monospace,monospace; font-size: 16px; }
.competitor--winner strong { font-weight: 900; }
.competitor--winner > b { color: white; background: var(--navy); }
.set-scores { display: flex; flex-wrap: wrap; gap: 5px; padding-top: 9px; }
.set-scores span { min-width: 31px; padding: 4px 5px; text-align: center; color: #5e6d80; background: #edf1f4; font-family: ui-monospace,monospace; font-size: 8px; font-weight: 800; }
.set-scores i { color: var(--signal); font-style: normal; }
.match-card--compact .set-scores, .match-card--compact footer { display: none; }
.podium-panel { padding: 25px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.podium { min-height: 220px; display: flex; justify-content: center; align-items: flex-end; gap: 8px; }
.podium__place { width: min(210px,31%); padding: 18px 10px; display: grid; place-items: center; align-content: start; gap: 7px; text-align: center; background: #e9eef2; border-top: 4px solid #9ca9b6; }
.podium__place--1 { min-height: 200px; color: white; background: var(--navy); border-color: var(--lime); }
.podium__place--2 { min-height: 155px; }.podium__place--3 { min-height: 128px; }
.podium__place > span { color: var(--signal); font-family: ui-monospace,monospace; font-size: 36px; font-weight: 900; }
.podium__place strong { font-size: 11px; line-height: 1.3; overflow-wrap: anywhere; }
.podium__place small { color: #7e8c9e; font-size: 7px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.round-section { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 22px; }
.round-heading { position: sticky; top: 142px; align-self: start; display: grid; grid-template-columns: 40px 1fr; align-items: start; gap: 11px; }
.round-heading > span { width: 40px; height: 40px; display: grid; place-items: center; color: white; background: var(--signal-dark); font-family: ui-monospace,monospace; font-size: 10px; font-weight: 900; transform: skew(-5deg); }
.round-heading p { margin: 1px 0 3px; color: #718196; font-size: 7px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.round-heading h2 { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 900; letter-spacing: -.035em; text-transform: uppercase; }
.round-heading > b { grid-column: 2; color: #728196; font-size: 8px; text-transform: uppercase; }
.group-panel { min-width: 0; max-width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow-sm); }
.group-panel__heading { display: flex; justify-content: space-between; align-items: end; padding: 21px 25px; color: white; background: linear-gradient(110deg,var(--navy),var(--navy-3)); border-bottom: 4px solid var(--court); }
.group-panel__heading span { color: #8bdedb; font-size: 7px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.group-panel__heading h2 { margin: 4px 0 0; font-family: var(--font-display); font-size: 31px; font-weight: 950; letter-spacing: -.04em; text-transform: uppercase; }
.group-panel__heading > b { color: #abb8c8; font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.table-scroll { width: 100%; min-width: 0; max-width: 100%; overflow-x: auto; }
table { width: 100%; min-width: 650px; border-collapse: collapse; }
thead { color: #6d7c90; background: #f0f3f6; }
th, td { padding: 14px 15px; border-bottom: 1px solid #e7ecf1; text-align: center; font-size: 11px; }
thead th { font-size: 8px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
thead th:nth-child(2), tbody th { text-align: left; }
tbody th { min-width: 210px; font-size: 12px; }
tbody tr:nth-child(-n+2) td:first-child strong { width: 26px; height: 26px; display: inline-grid; place-items: center; color: white; background: var(--court-dark); }
.mobile-ranking { display: none; }
.group-matches { padding: 24px; border-top: 1px solid var(--line); background: var(--surface-2); }
.group-matches h3 { margin: 0 0 14px; font-family: var(--font-display); font-size: 22px; font-weight: 900; text-transform: uppercase; }
.bracket-panel { min-width: 0; }
.bracket-hint { display: none; margin: -6px 0 14px; color: var(--muted); font-size: 10px; }
.bracket { display: grid; gap: 18px; padding: 2px 2px 18px; overflow-x: auto; align-items: stretch; scroll-snap-type: x mandatory; }
.bracket-round { position: relative; min-width: 240px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.84); scroll-snap-align: start; }
.bracket-round:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -19px; width: 18px; height: 2px; background: var(--court); }
.bracket-round > header { padding: 4px 3px 12px; border-bottom: 3px solid var(--navy); }
.bracket-round > header span { color: var(--signal-dark); font-size: 7px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.bracket-round > header h3 { margin: 3px 0 0; font-family: var(--font-display); font-size: 21px; font-weight: 900; text-transform: uppercase; }
.bracket-round > div { min-height: 100%; padding-top: 14px; display: flex; flex-direction: column; justify-content: space-around; gap: 14px; }

.site-footer { min-height: 180px; padding: 44px max(24px,calc((100vw - 1240px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 28px; color: #91a0b3; background: #041122; font-size: 10px; }
.brand--footer { color: white; }.site-footer p { margin: 10px 0 0; line-height: 1.6; }
.not-found { min-height: calc(100vh - 68px); display: grid; place-items: center; align-content: center; padding: 40px; text-align: center; color: white; background: var(--navy); }
.not-found > span, .fatal-state span { color: var(--signal); font-family: ui-monospace,monospace; font-size: 72px; font-weight: 900; }
.not-found h1, .fatal-state h1 { margin: 0; }.not-found p, .fatal-state p { color: #aebbd0; }
.loading-view, .fatal-state { min-height: calc(100vh - 250px); display: grid; place-items: center; align-content: center; gap: 16px; padding: 38px 20px; text-align: center; color: var(--muted); }
.loading-ball { width: 44px; height: 44px; border-radius: 50%; background: white; border: 5px solid var(--signal); box-shadow: inset -8px -3px 0 rgba(7,20,38,.12); animation: bounce .8s infinite alternate ease-in-out; }
.loading-view p { margin: 0; font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.fatal-state p { max-width: 550px; margin: 0; line-height: 1.6; }.fatal-state a { margin-top: 10px; }

@keyframes pulse { 50% { opacity: .35; transform: scale(.72); } }
@keyframes bounce { to { transform: translateY(-11px) rotate(18deg); } }

@media (max-width:1080px) {
  .home-hero { grid-template-columns: minmax(0,1fr) minmax(300px,.72fr); gap: 35px; }
  .filters { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .search-field { grid-column: span 2; }
  .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-number { display: none; }.hero-facts { padding-right: 0; }
}

@media (max-width:760px) {
  html { scroll-padding-top: 76px; }
  body:has(.tournament-page) { padding-bottom: 74px; }
  .site-header__inner, .tournament-index, .content-shell, .tournament-hero__inner { width: calc(100% - 28px); }
  .site-header__inner { min-height: 58px; }
  .brand { font-size: 18px; }.brand__mark { width: 31px; height: 31px; font-size: 14px; }
  .site-header nav { display: flex; margin-left: auto; }
  .site-header nav a { min-height: 34px; padding: 0 10px; border: 1px solid rgba(255,255,255,.14); font-size: 8px; }
  .site-header nav a:last-child, .live-pill { display: none; }
  .home-hero { min-height: auto; grid-template-columns: 1fr; gap: 28px; padding: 42px 18px 48px; }
  .home-hero::after { width: 310px; height: 310px; right: -210px; top: -80px; border-width: 45px; }
  .home-hero h1 { margin: 12px 0 14px; font-size: clamp(43px,13vw,58px); line-height: .9; }
  .home-hero__copy > p:not(.eyebrow) { font-size: 13px; line-height: 1.5; }
  .hero-actions { margin-top: 20px; }.hero-actions > span { display: none; }
  .home-hero__score { width: 100%; justify-self: stretch; box-shadow: 8px 8px 0 rgba(0,166,166,.17); transform: none; }
  .score-team { min-height: 55px; }.score-team span { font-size: 15px; }.score-team strong { font-size: 37px; }
  .home-hero__score header, .home-hero__score footer { min-height: 34px; }
  .tournament-index { padding: 44px 0 74px; }
  .section-heading { display: block; }.section-heading h2 { font-size: 38px; }.section-heading > p { margin-top: 9px; }
  .filters { grid-template-columns: minmax(0,1fr) 126px; padding: 9px; }
  .search-field { grid-column: 1/-1; }
  .filter-more { display: block; grid-column: 1/-1; }
  .filter-more summary { min-height: 44px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); background: var(--surface-2); font-size: 10px; font-weight: 850; letter-spacing: .08em; list-style: none; text-transform: uppercase; }
  .filter-more summary::-webkit-details-marker { display: none; }.filter-more[open] summary span { transform: rotate(45deg); }
  .filter-more__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 8px; }.filter-field--category { grid-column: 1/-1; }
  .filters button { grid-column: 1; }.filters > a { grid-column: 2; }
  .featured-section, .tournament-section { margin-top: 46px; }.card-grid { grid-template-columns: 1fr; }
  .tournament-card--featured { grid-template-columns: 1fr; }.tournament-card--featured .tournament-card__visual { min-height: 168px; }.tournament-card--featured .tournament-card__body { padding: 21px; }.tournament-card--featured .tournament-card__body h3 { font-size: 32px; }
  .tournament-card__visual { height: 130px; }.tournament-card__body { padding: 18px; }.tournament-card__body h3 { min-height: 0; font-size: 25px; }
  .tournament-hero, .tournament-hero__inner { min-height: 0; }
  .tournament-hero__inner { padding: 14px 0 18px; }
  .back-link { min-height: 25px; font-size: 8px; }
  .tournament-kicker { margin-top: 9px; }.tournament-kicker > span:last-child { display: none; }
  .tournament-hero h1 { margin: 9px 0 7px; font-size: clamp(29px,8.6vw,39px); line-height: .95; }
  .tournament-hero__content > p { max-width: 92%; margin-bottom: 14px; font-size: 11px; line-height: 1.45; }
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 1px; }
  .hero-facts > span { padding: 8px 9px; }.hero-facts small { font-size: 6px; }.hero-facts strong { font-size: 9px; }
  .tournament-tabs { display: none; }
  .mobile-sport-nav { position: fixed; inset: auto 0 0; z-index: 80; min-height: 70px; padding: 6px max(8px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left)); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: rgba(5,17,34,.98); border-top: 1px solid rgba(255,255,255,.13); box-shadow: 0 -10px 28px rgba(4,17,34,.2); backdrop-filter: blur(16px); }
  .mobile-sport-nav a { position: relative; min-width: 0; min-height: 56px; display: grid; place-items: center; align-content: center; gap: 4px; color: #91a2b5; font-size: 8px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
  .mobile-sport-nav a::before { content: ""; position: absolute; top: -6px; left: 24%; right: 24%; height: 3px; background: transparent; }
  .mobile-sport-nav svg { width: 21px; height: 21px; fill: currentColor; }
  .mobile-sport-nav a[aria-current="page"] { color: white; }.mobile-sport-nav a[aria-current="page"]::before { background: var(--lime); }.mobile-sport-nav a[aria-current="page"] svg { color: var(--lime); }
  .content-shell { padding: 12px 0 42px; }
  .data-toolbar { min-height: 40px; margin-bottom: 14px; padding: 7px 9px; gap: 8px; }
  .data-toolbar__meta { min-width: 0; gap: 8px; }.data-toolbar__meta > span:not(.pulse-label) { display: none; }.pulse-label { font-size: 7px; }.refresh-button { min-height: 30px; padding: 0 8px; }
  .data-toolbar label { margin-left: auto; }.data-toolbar label > span { display: none; }.data-toolbar select { min-width: 135px; max-width: 175px; height: 32px; font-size: 9px; }
  .summary-stack, .round-sections, .group-stack { gap: 34px; }
  .summary-stack .summary-columns { order: 1; }.summary-stack .metric-grid { order: 2; }.summary-stack .podium-panel { order: 3; }
  .summary-columns { grid-template-columns: 1fr; gap: 32px; }
  .metric-grid { grid-template-columns: repeat(4,1fr); gap: 4px; }
  .metric { min-height: 70px; padding: 10px 7px; text-align: center; }.metric::before { inset: auto 0 0; width: auto; height: 3px; }.metric strong { font-size: 25px; }.metric span { font-size: 6px; letter-spacing: .04em; }
  .section-title { gap: 8px; margin-bottom: 13px; }.section-title h2 { font-size: 24px; }.section-title > b { margin-left: auto; }
  .match-grid { grid-template-columns: 1fr; }.match-card { padding: 0 12px 10px; }.match-card header { margin: 0 -12px 7px; padding: 0 11px 0 14px; }.competitor { min-height: 38px; }.competitor strong { font-size: 13px; }.competitor > b { min-height: 29px; font-size: 17px; }
  .round-section { grid-template-columns: 1fr; gap: 12px; }.round-heading { position: static; grid-template-columns: 38px 1fr; }.round-heading > span { width: 38px; height: 38px; }.round-heading h2 { font-size: 22px; }
  .podium-panel { padding: 18px 10px; }.podium { gap: 4px; }.podium__place { padding: 12px 4px; }.podium__place strong { font-size: 9px; }
  .group-panel__heading { padding: 16px; }.group-panel__heading h2 { font-size: 27px; }
  .table-scroll { display: none; }
  .mobile-ranking { margin: 0; padding: 0; display: block; list-style: none; }
  .mobile-ranking li { min-height: 68px; padding: 9px 10px; display: grid; grid-template-columns: 31px minmax(0,1fr) 27px 27px 43px 42px; align-items: center; gap: 5px; border-bottom: 1px solid #e5eaf0; }
  .mobile-ranking__position { width: 27px; height: 27px; display: grid; place-items: center; color: #627287; background: #edf1f4; font-family: ui-monospace,monospace; font-size: 11px; }
  .mobile-ranking li:nth-child(-n+2) .mobile-ranking__position { color: white; background: var(--court-dark); }
  .mobile-ranking__player { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 12px; font-weight: 800; line-height: 1.25; }
  .mobile-ranking li > span:not(.mobile-ranking__player) { display: grid; gap: 2px; text-align: center; }.mobile-ranking small { color: #8592a2; font-size: 6px; font-weight: 900; text-transform: uppercase; }.mobile-ranking b { font-size: 10px; }
  .mobile-ranking__points { display: grid; justify-items: center; color: var(--navy); font-family: ui-monospace,monospace; font-size: 17px; }.mobile-ranking__points small { font-family: var(--font-body); }
  .group-matches { padding: 16px 12px; }.group-matches h3 { font-size: 20px; }
  .bracket-hint { display: block; }.bracket { grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: minmax(260px,86vw); scroll-padding-left: 1px; }.bracket-round { min-width: 0; }
  .site-footer { min-height: 150px; display: grid; padding: 34px 18px; }
}

@media (max-width:420px) {
  .home-hero { padding-top: 34px; }.home-hero h1 { font-size: 45px; }.home-hero__score { margin-top: 2px; }
  .filters { grid-template-columns: 1fr 112px; }.filter-more__fields { grid-template-columns: 1fr; }.filter-more__fields > * { grid-column: 1; }
  .hero-facts > span:nth-child(2) { grid-column: span 1; }
  .data-toolbar { display: flex; }.data-toolbar label { min-width: 0; }.data-toolbar select { width: 100%; min-width: 120px; }
  .mobile-ranking li { grid-template-columns: 29px minmax(0,1fr) 25px 25px 38px 38px; gap: 3px; padding-inline: 7px; }
}

@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; } }

.loading-view { min-height: calc(100vh - 260px); display: grid; place-items: center; align-content: center; gap: 18px; color: var(--muted); }
.loading-ball { width: 46px; height: 46px; border-radius: 50%; background: white; border: 5px solid var(--electric); box-shadow: inset -8px -3px 0 rgba(7,21,47,.12); animation: bounce .8s infinite alternate ease-in-out; }
.loading-view p { margin: 0; font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.fatal-state { min-height: calc(100vh - 260px); display: grid; place-items: center; align-content: center; gap: 12px; padding: 40px 20px; text-align: center; }
.fatal-state span { color: var(--electric); font-family: ui-monospace, monospace; font-size: 72px; font-weight: 850; }
.fatal-state h1 { margin: 0; font-size: clamp(30px, 6vw, 54px); text-transform: uppercase; }
.fatal-state p { max-width: 560px; margin: 0; color: var(--muted); line-height: 1.6; }
.fatal-state a { margin-top: 12px; }
.filters .filter-wide { min-width: 0; }
.filters__clear { text-decoration: underline; }
.section-spacer { margin-top: 52px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.status--closed { background: #dfe5ee; color: #58657b; }
.refresh-button { min-height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #f8fafc; color: var(--ink); cursor: pointer; font-size: 9px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.refresh-button:hover { border-color: var(--cyan); background: white; }
.group-stack, .group-panel, .table-scroll { min-width: 0; max-width: 100%; }
.table-scroll { width: 100%; }
@keyframes bounce { to { transform: translateY(-12px) rotate(18deg); } }
@media (max-width: 720px) { .loading-view, .fatal-state { min-height: calc(100vh - 230px); } }

