
:root{
  --paper:#f3f0e9;
  --paper-2:#eae6de;
  --white:#fffefa;
  --ink:#0d1b2a;
  --ink-soft:#304055;
  --muted:#758093;
  --line:#d7d2c9;
  --line-dark:#bcb6aa;
  --blue:#2e63ff;
  --blue-dark:#1f4fd9;
  --blue-soft:#e7edff;
  --mint:#dff6ed;
  --green:#13795b;
  --amber:#f3b83f;
  --amber-soft:#fff2cf;
  --red:#c64e61;
  --red-soft:#ffe9ed;
  --rail:#102033;
  --rail-soft:#1a2d43;
  --radius:12px;
}

*{box-sizing:border-box}
html{background:var(--paper)}
body{
  margin:0;
  min-height:100vh;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
button,input{font:inherit}
button{cursor:pointer}
a{color:inherit}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{letter-spacing:-.035em}
.muted{color:var(--muted);line-height:1.55}

/* ---------- Product workspace ---------- */

.dashboard-body{background:var(--paper)}
.workspace-shell{
  min-height:100vh;
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
}

.workspace-rail{
  background:var(--rail);
  color:#fff;
  padding:28px 22px 22px;
  display:flex;
  flex-direction:column;
  gap:28px;
  position:sticky;
  top:0;
  height:100vh;
  overflow:auto;
}

.brand-lockup{
  display:flex;
  align-items:center;
  gap:12px;
  padding-bottom:24px;
  border-bottom:1px solid rgba(255,255,255,.13);
}
.brand-mark{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--blue);
  font-weight:950;
  font-size:17px;
  letter-spacing:-.04em;
}
.brand-copy{display:grid;gap:2px}
.brand-copy strong{font-size:15px;letter-spacing:-.01em}
.brand-copy span{font-size:11px;color:#aebbd0;letter-spacing:.08em;text-transform:uppercase}

.rail-block{
  display:grid;
  gap:9px;
}
.rail-label{
  font-size:10px;
  color:#8090a6;
  letter-spacing:.13em;
  text-transform:uppercase;
  font-weight:900;
}
.rail-user{
  margin-top:auto;
  border-top:1px solid rgba(255,255,255,.13);
  padding-top:20px;
  display:grid;
  gap:12px;
}
.rail-user strong{display:block;font-size:14px}
.rail-user span{display:block;font-size:12px;color:#94a3b8;margin-top:3px;word-break:break-word}

.workspace-main{
  min-width:0;
  padding:0 48px 64px;
}

.workspace-hero{
  padding:52px 0 44px;
  border-bottom:1px solid var(--line-dark);
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(340px,520px);
  gap:48px;
  align-items:end;
}
.workspace-hero-copy{max-width:720px}
.workspace-hero h1{
  margin:10px 0 12px;
  font-size:clamp(44px,6vw,78px);
  line-height:.93;
  font-weight:850;
  letter-spacing:-.065em;
}
.workspace-hero p{
  max-width:620px;
  margin-bottom:0;
  color:var(--ink-soft);
  font-size:16px;
}
.hero-kicker{
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--blue);
  font-weight:950;
}
.create-event-bar{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  border-bottom:2px solid var(--ink);
  align-items:center;
}
.create-event-bar input{
  appearance:none;
  width:100%;
  border:0;
  background:transparent;
  color:var(--ink);
  padding:15px 0;
  font-size:18px;
  font-weight:700;
  outline:none;
}
.create-event-bar input::placeholder{color:#9aa2ad;font-weight:600}
.create-event-bar .button{
  margin-left:14px;
  border-radius:999px;
}

.workspace-section{
  padding:38px 0 42px;
  border-bottom:1px solid var(--line);
}
.workspace-section:last-child{border-bottom:0}
.section-index{
  font-size:10px;
  font-weight:950;
  color:var(--blue);
  letter-spacing:.16em;
  text-transform:uppercase;
  margin-bottom:12px;
}
.workspace-section-head{
  display:flex;
  gap:24px;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom:20px;
}
.workspace-section-head h2{
  margin:0;
  font-size:31px;
  line-height:1;
}
.workspace-section-head p{margin:7px 0 0;color:var(--muted);font-size:13px}

/* event list becomes a flat index, not cards */
.event-list{
  display:block;
  margin-top:4px;
  border-top:1px solid var(--ink);
}
.event-card{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:24px;
  text-align:left;
  color:var(--ink);
  background:transparent;
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  padding:18px 2px;
  box-shadow:none;
  transition:padding .15s ease,background .15s ease;
}
.event-card:hover{
  background:rgba(255,255,255,.46);
  padding-left:12px;
  padding-right:12px;
}
.event-card.active{
  background:var(--blue-soft);
  padding-left:12px;
  padding-right:12px;
}
.event-card span:first-child{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  align-items:baseline;
}
.event-card strong{
  font-size:19px;
  color:var(--ink);
  font-weight:820;
  letter-spacing:-.025em;
}
.event-card small{
  color:var(--muted);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:850;
}
.event-card>span:last-child{
  color:var(--blue);
  font-weight:900;
  font-size:13px;
}

.event-stage{
  margin-top:2px;
}
.event-stage-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:28px;
  align-items:end;
  padding-bottom:18px;
  border-bottom:2px solid var(--ink);
}
.event-stage-head h2{
  font-size:38px;
  margin:0;
  line-height:1;
}
.event-stage-head p{
  margin:8px 0 0;
  color:var(--muted);
  font-size:12px;
}

.table-wrap{
  overflow:auto;
  margin-top:0;
  border:0;
  border-radius:0;
  background:transparent;
}
.table-wrap table{
  border-collapse:collapse;
  width:100%;
  min-width:860px;
  background:transparent;
}
th,td{
  padding:15px 10px;
  border-bottom:1px solid var(--line);
  text-align:left;
  font-size:13px;
  vertical-align:middle;
}
th{
  color:var(--muted);
  background:transparent;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.11em;
  font-weight:950;
}
tbody tr:hover td{background:rgba(255,255,255,.42)}
tbody tr:last-child td{border-bottom:0}
td strong{font-size:14px}
.score-input{display:flex;gap:6px;align-items:center}
.score-input input{
  width:54px;
  padding:9px 6px;
  border:1px solid var(--line-dark);
  background:var(--white);
  border-radius:8px;
  text-align:center;
  font-weight:900;
  color:var(--ink);
  outline:none;
}
.score-input input:focus{
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(46,99,255,.11);
}
.empty{
  padding:24px 0;
  color:var(--muted);
  background:transparent;
  border-bottom:1px solid var(--line);
}

/* Buttons are flatter and less "component-library" */
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  border:1px solid var(--line-dark);
  background:transparent;
  color:var(--ink);
  padding:9px 14px;
  border-radius:999px;
  text-decoration:none;
  font-weight:850;
  font-size:13px;
  box-shadow:none;
  transition:background .15s ease,color .15s ease,border-color .15s ease,transform .1s ease;
}
.button:hover{background:var(--white);border-color:var(--ink)}
.button:active{transform:translateY(1px)}
.button.primary{
  background:var(--blue);
  color:#fff;
  border-color:var(--blue);
}
.button.primary:hover{background:var(--blue-dark);border-color:var(--blue-dark)}
.workspace-rail .button{
  color:#fff;
  border-color:rgba(255,255,255,.24);
  background:rgba(255,255,255,.05);
}
.workspace-rail .button:hover{background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.4)}
.actions{display:flex;gap:8px;flex-wrap:wrap}

.pill{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:6px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:850;
  background:rgba(255,255,255,.07);
  color:#c8d3e2;
  border:1px solid rgba(255,255,255,.13);
}
.pill.ok{color:#baf2de;border-color:rgba(121,224,188,.28);background:rgba(19,121,91,.18)}
.pill.danger{color:#ffc6cf;border-color:rgba(238,123,143,.28);background:rgba(198,78,97,.18)}

.message{min-height:21px;margin-top:10px;font-size:12px;font-weight:700;color:var(--muted)}
.message.ok{color:var(--green)}
.message.danger{color:var(--red)}

/* ---------- Auth: split screen, no floating SaaS card ---------- */
.auth-page{
  min-height:100vh;
  display:grid;
  grid-template-columns:minmax(320px,46%) minmax(0,1fr);
}
.auth-brand{
  background:var(--rail);
  color:#fff;
  padding:56px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.auth-brand .brand-mark{width:46px;height:46px}
.auth-brand h1{
  margin:0;
  max-width:620px;
  font-size:clamp(52px,6vw,92px);
  line-height:.91;
  letter-spacing:-.065em;
}
.auth-brand p{
  max-width:510px;
  margin:22px 0 0;
  color:#b8c3d2;
  font-size:16px;
  line-height:1.6;
}
.auth-brand-foot{
  color:#8392a7;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:800;
}
.auth-form-side{
  background:var(--paper);
  display:grid;
  place-items:center;
  padding:48px;
}
.auth-form-wrap{
  width:min(440px,100%);
}
.auth-form-wrap .hero-kicker{margin-bottom:14px}
.auth-form-wrap h2{
  font-size:42px;
  line-height:1;
  margin:0 0 10px;
}
.auth-form{display:grid;gap:18px;margin-top:32px}
.auth-form label{
  display:grid;
  gap:8px;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.09em;
  font-weight:900;
  color:var(--muted);
}
.auth-form input{
  width:100%;
  background:transparent;
  color:var(--ink);
  border:0;
  border-bottom:1px solid var(--line-dark);
  border-radius:0;
  padding:13px 0;
  outline:none;
  font-size:16px;
}
.auth-form input:focus{border-color:var(--blue);box-shadow:none}
.auth-form .button{justify-self:start;margin-top:4px;min-width:135px}
.auth-foot{margin:22px 0 0;color:var(--muted);font-size:13px}
.auth-foot a{color:var(--blue);font-weight:850;text-decoration:none}
.auth-foot a:hover{text-decoration:underline}
.notice{
  padding:12px 0;
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  background:transparent;
  line-height:1.5;
  margin:18px 0;
  color:var(--ink-soft);
}
.notice.ok{color:var(--green);border-color:#a5d8c8}
.notice.danger{color:var(--red);border-color:#e7a8b3}

/* ---------- Install fallback ---------- */
.install-shell{max-width:760px;margin:56px auto;padding:22px}
.panel{background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}
.install-panel{background:var(--white);padding:34px;border:1px solid var(--line)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}
.form-grid label{display:grid;gap:7px;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:900}
.form-grid input{
  background:transparent;
  color:var(--ink);
  border:0;
  border-bottom:1px solid var(--line-dark);
  border-radius:0;
  padding:12px 0;
  outline:none;
}
.form-grid input:focus{border-color:var(--blue)}
.span-2{grid-column:1/-1}

/* ---------- Live board: scoreboard strips, not cards ---------- */
.live-body{background:var(--rail);color:#fff}
.live-shell{max-width:none;padding:36px 46px 54px}
.live-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
  padding-bottom:24px;
  border-bottom:1px solid rgba(255,255,255,.2);
}
.live-brandline{
  font-size:10px;
  font-weight:950;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#7fa2ff;
}
.live-head h1{
  margin:8px 0 7px;
  font-size:clamp(38px,5vw,68px);
  line-height:.95;
  letter-spacing:-.055em;
}
.live-head .muted{color:#9eacc0}
.live-version{
  font-size:12px;
  color:#c4cfdd;
  border-bottom:1px solid rgba(255,255,255,.35);
  padding-bottom:5px;
  min-width:76px;
  text-align:right;
}
.live-board{
  display:block;
  margin-top:0;
}
.live-match{
  display:grid;
  grid-template-columns:120px 210px minmax(0,1fr) 140px;
  gap:24px;
  align-items:center;
  background:transparent;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.16);
  border-radius:0;
  padding:21px 0;
  box-shadow:none;
}
.live-time{
  color:#fff;
  font-size:18px;
  font-weight:900;
}
.live-tour{
  margin:0;
  color:#92a0b4;
  font-size:12px;
  line-height:1.45;
}
.live-teams{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:16px;
  margin:0;
  font-size:18px;
  font-weight:850;
  color:#fff;
}
.live-teams span:last-child{text-align:right}
.live-teams strong{
  font-size:25px;
  min-width:94px;
  text-align:center;
  color:#fff;
  background:transparent;
  padding:0;
  border-radius:0;
  font-variant-numeric:tabular-nums;
}
.live-court{
  text-align:right;
  color:#7fa2ff;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.09em;
  font-weight:900;
}

/* ---------- Responsive ---------- */
@media(max-width:1050px){
  .workspace-shell{grid-template-columns:210px minmax(0,1fr)}
  .workspace-main{padding-left:30px;padding-right:30px}
  .workspace-hero{grid-template-columns:1fr;gap:28px}
  .auth-brand{padding:40px}
  .live-match{grid-template-columns:92px 160px minmax(0,1fr)}
  .live-court{display:none}
}

@media(max-width:760px){
  .workspace-shell{display:block}
  .workspace-rail{
    position:static;
    height:auto;
    padding:16px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:14px;
  }
  .brand-lockup{border-bottom:0;padding-bottom:0}
  .rail-block{display:none}
  .rail-user{
    margin:0;
    border-top:0;
    padding-top:0;
    display:flex;
    align-items:center;
  }
  .rail-user>div{display:none}
  .workspace-main{padding:0 18px 40px}
  .workspace-hero{padding:34px 0}
  .workspace-hero h1{font-size:52px}
  .create-event-bar{grid-template-columns:1fr}
  .create-event-bar .button{margin:10px 0 0;justify-self:start}
  .workspace-section-head,.event-stage-head{grid-template-columns:1fr;display:grid;align-items:start}
  .event-stage-head h2{font-size:32px}
  .event-card span:first-child{grid-template-columns:1fr}
  .auth-page{display:block}
  .auth-brand{
    min-height:330px;
    padding:34px 24px;
  }
  .auth-brand h1{font-size:56px}
  .auth-form-side{padding:38px 22px 48px}
  .live-shell{padding:24px 18px 40px}
  .live-head{align-items:flex-start;flex-direction:column}
  .live-match{
    grid-template-columns:72px minmax(0,1fr);
    gap:14px;
    align-items:start;
  }
  .live-tour{grid-column:2}
  .live-teams{grid-column:1/-1;margin-top:2px}
}

@media(max-width:520px){
  .workspace-hero h1{font-size:44px}
  .event-card{grid-template-columns:1fr}
  .event-card>span:last-child{display:none}
  .button{width:auto}
  .auth-brand h1{font-size:48px}
  .live-teams{font-size:15px;gap:8px}
  .live-teams strong{font-size:21px;min-width:76px}
}


/* =========================================================
   PUBLIC LANDING PAGE
   ========================================================= */

.marketing-body{
  background:var(--paper);
  color:var(--ink);
}

.marketing-nav{
  min-height:82px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:42px;
  padding:0 48px;
  border-bottom:1px solid var(--line);
  background:rgba(243,240,233,.94);
  position:sticky;
  top:0;
  z-index:30;
  backdrop-filter:blur(18px);
}

.marketing-brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  font-size:15px;
  font-weight:900;
  letter-spacing:-.02em;
}

.marketing-brand-mark{
  width:32px;
  height:32px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#fff;
  background:var(--blue);
  font-size:14px;
  font-weight:950;
}

.marketing-links{
  justify-self:center;
  display:flex;
  align-items:center;
  gap:30px;
}
.marketing-links a,
.marketing-login{
  color:var(--ink-soft);
  text-decoration:none;
  font-size:13px;
  font-weight:750;
}
.marketing-links a:hover,
.marketing-login:hover{color:var(--ink)}

.marketing-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:18px;
}
.marketing-user{
  color:var(--muted);
  font-size:12px;
  font-weight:750;
}

.marketing-hero{
  min-height:calc(100vh - 82px);
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(460px,.98fr);
  align-items:center;
  gap:7vw;
  padding:86px 6vw 92px;
  border-bottom:1px solid var(--line-dark);
  overflow:hidden;
}

.marketing-hero-copy{max-width:790px}
.marketing-hero h1{
  margin:18px 0 28px;
  font-size:clamp(64px,8.5vw,132px);
  line-height:.82;
  letter-spacing:-.075em;
  font-weight:875;
}
.marketing-hero h1 span{
  color:var(--blue);
}
.marketing-lead{
  max-width:690px;
  color:var(--ink-soft);
  font-size:clamp(17px,1.6vw,22px);
  line-height:1.52;
  letter-spacing:-.015em;
}
.marketing-hero-actions{
  display:flex;
  align-items:center;
  gap:22px;
  margin-top:35px;
  flex-wrap:wrap;
}
.marketing-main-cta{
  min-height:50px;
  padding:12px 22px;
  font-size:14px;
}
.marketing-text-link{
  color:var(--ink);
  text-decoration:none;
  font-size:13px;
  font-weight:850;
  border-bottom:1px solid var(--line-dark);
  padding-bottom:4px;
}
.marketing-text-link:hover{border-color:var(--ink)}

.marketing-hero-visual{
  position:relative;
  align-self:center;
  background:var(--rail);
  color:#fff;
  padding:0;
  box-shadow:0 35px 90px rgba(13,27,42,.18);
  transform:rotate(1.25deg);
}
.marketing-hero-visual:before{
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  border-radius:50%;
  background:var(--blue);
  filter:blur(0);
  top:-68px;
  right:-72px;
  z-index:-1;
}
.visual-topline{
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 22px;
  border-bottom:1px solid rgba(255,255,255,.18);
  color:#91a0b6;
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
}
.visual-day{
  min-height:88px;
  display:grid;
  grid-template-columns:78px minmax(0,1fr) 60px;
  align-items:center;
  gap:18px;
  padding:0 22px;
  border-bottom:1px solid rgba(255,255,255,.14);
}
.visual-time{
  font-size:18px;
  font-weight:900;
  font-variant-numeric:tabular-nums;
}
.visual-match{display:grid;gap:5px}
.visual-match small{
  color:#7e8fa7;
  font-size:9px;
  letter-spacing:.13em;
  font-weight:900;
}
.visual-match strong{
  font-size:17px;
  letter-spacing:-.02em;
}
.visual-match b{
  color:#617089;
  padding:0 7px;
}
.visual-status{
  justify-self:end;
  color:#8ee2c5;
  font-size:9px;
  letter-spacing:.12em;
  font-weight:950;
}
.visual-active{
  background:var(--blue);
}
.visual-active .visual-match small,
.visual-active .visual-status{color:#dfe7ff}
.visual-shift{
  background:#172b43;
}
.visual-shift .visual-match strong{color:#ffd787}
.visual-arrow{
  justify-self:end;
  font-size:24px;
  color:#ffd787;
}
.visual-foot{
  display:grid;
  gap:4px;
  padding:20px 22px 24px;
}
.visual-foot span{
  color:#8090a6;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:900;
}
.visual-foot strong{font-size:14px}

.marketing-statement{
  display:grid;
  grid-template-columns:110px minmax(0,1.2fr) minmax(320px,.8fr);
  gap:42px;
  padding:105px 6vw 115px;
  border-bottom:1px solid var(--line);
  align-items:start;
}
.statement-number{
  color:var(--blue);
  font-size:11px;
  font-weight:950;
  letter-spacing:.15em;
}
.statement-eyebrow{
  color:var(--muted);
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.15em;
  font-weight:900;
  margin-bottom:20px;
}
.marketing-statement h2{
  margin:0;
  font-size:clamp(40px,5.2vw,78px);
  line-height:.98;
  letter-spacing:-.06em;
}
.statement-copy{
  padding-top:33px;
  color:var(--ink-soft);
  font-size:17px;
  line-height:1.72;
  max-width:540px;
}

.marketing-flow{
  padding:105px 6vw 120px;
  background:var(--white);
  border-bottom:1px solid var(--line);
}
.marketing-section-headline{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,440px);
  gap:60px;
  align-items:end;
  padding-bottom:58px;
}
.marketing-section-headline h2{
  margin:14px 0 0;
  font-size:clamp(46px,6vw,88px);
  line-height:.93;
  letter-spacing:-.065em;
}
.marketing-section-headline p{
  color:var(--muted);
  line-height:1.65;
  margin:0;
}
.flow-row{
  display:grid;
  grid-template-columns:90px minmax(220px,.7fr) minmax(0,1.3fr);
  gap:26px;
  align-items:baseline;
  padding:25px 0 27px;
  border-top:1px solid var(--line);
}
.flow-row:last-child{border-bottom:1px solid var(--line)}
.flow-index{
  color:var(--blue);
  font-size:10px;
  letter-spacing:.12em;
  font-weight:950;
}
.flow-title{
  font-size:25px;
  font-weight:850;
  letter-spacing:-.035em;
}
.flow-copy{
  color:var(--ink-soft);
  line-height:1.65;
  max-width:760px;
}

.marketing-day{
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(500px,1.15fr);
  gap:7vw;
  padding:120px 6vw;
  background:var(--rail);
  color:#fff;
}
.marketing-day-copy h2{
  margin:15px 0 25px;
  font-size:clamp(48px,6vw,88px);
  line-height:.94;
  letter-spacing:-.065em;
}
.marketing-day-copy p{
  color:#aebbd0;
  max-width:620px;
  font-size:17px;
  line-height:1.7;
}
.marketing-day-lines{
  align-self:center;
  border-top:1px solid rgba(255,255,255,.22);
}
.marketing-day-lines>div{
  display:grid;
  grid-template-columns:90px minmax(0,1fr) auto;
  gap:22px;
  align-items:center;
  min-height:74px;
  border-bottom:1px solid rgba(255,255,255,.16);
}
.marketing-day-lines span{
  font-variant-numeric:tabular-nums;
  font-weight:900;
}
.marketing-day-lines strong{
  font-size:17px;
}
.marketing-day-lines em{
  color:#8190a5;
  font-style:normal;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-size:9px;
  font-weight:900;
}
.marketing-day-lines .day-problem{
  color:#ffd787;
}

.marketing-principle{
  padding:100px 6vw 110px;
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.principle-word{
  font-size:clamp(76px,16vw,260px);
  line-height:.75;
  letter-spacing:-.085em;
  font-weight:900;
  color:transparent;
  -webkit-text-stroke:1.5px var(--line-dark);
  white-space:nowrap;
  margin-left:-.025em;
}
.marketing-principle p{
  margin:52px 0 0 auto;
  max-width:650px;
  color:var(--ink-soft);
  font-size:20px;
  line-height:1.55;
}

.marketing-final{
  min-height:580px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:50px;
  align-items:end;
  padding:110px 6vw 100px;
}
.marketing-final h2{
  margin:14px 0 0;
  font-size:clamp(54px,7vw,106px);
  line-height:.9;
  letter-spacing:-.07em;
}
.marketing-final-action{
  display:flex;
  align-items:center;
  gap:20px;
  padding-bottom:8px;
}

.marketing-footer{
  min-height:110px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:30px;
  padding:0 48px;
  background:var(--rail);
  color:#aab7c8;
  font-size:11px;
  letter-spacing:.06em;
}
.marketing-footer .marketing-brand{color:#fff;letter-spacing:-.02em}
.marketing-footer>span:last-child{text-align:right}

@media(max-width:980px){
  .marketing-nav{grid-template-columns:1fr auto;padding:0 24px}
  .marketing-links{display:none}
  .marketing-hero{grid-template-columns:1fr;padding:68px 30px 76px}
  .marketing-hero-copy{max-width:850px}
  .marketing-hero-visual{width:min(720px,100%);transform:none}
  .marketing-statement{grid-template-columns:70px 1fr}
  .statement-copy{grid-column:2}
  .marketing-day{grid-template-columns:1fr}
  .marketing-final{grid-template-columns:1fr;min-height:520px}
  .marketing-final-action{align-self:start}
}

@media(max-width:680px){
  .marketing-nav{min-height:70px;padding:0 16px}
  .marketing-actions{gap:10px}
  .marketing-login{display:none}
  .marketing-actions .button{padding:8px 12px;font-size:11px;min-height:36px}
  .marketing-user{display:none}
  .marketing-hero{min-height:auto;padding:54px 18px 62px;gap:48px}
  .marketing-hero h1{font-size:58px;margin-top:14px}
  .marketing-lead{font-size:16px}
  .marketing-hero-visual:before{display:none}
  .visual-day{grid-template-columns:62px minmax(0,1fr) 42px;padding:0 14px;gap:10px}
  .visual-time{font-size:15px}
  .visual-match strong{font-size:14px}
  .marketing-statement{grid-template-columns:1fr;padding:72px 18px}
  .statement-number{margin-bottom:-14px}
  .statement-copy{grid-column:1;padding-top:5px}
  .marketing-statement h2{font-size:42px}
  .marketing-flow{padding:74px 18px 82px}
  .marketing-section-headline{grid-template-columns:1fr;gap:25px;padding-bottom:42px}
  .marketing-section-headline h2{font-size:48px}
  .flow-row{grid-template-columns:46px 1fr;gap:12px}
  .flow-copy{grid-column:2}
  .flow-title{font-size:20px}
  .marketing-day{padding:78px 18px}
  .marketing-day-copy h2{font-size:48px}
  .marketing-day-lines>div{grid-template-columns:62px 1fr}
  .marketing-day-lines em{display:none}
  .marketing-principle{padding:72px 18px 80px}
  .principle-word{font-size:25vw}
  .marketing-principle p{font-size:17px;margin-top:35px}
  .marketing-final{padding:80px 18px;min-height:460px}
  .marketing-final h2{font-size:52px}
  .marketing-final-action{flex-wrap:wrap}
  .marketing-footer{grid-template-columns:1fr auto;padding:24px 18px;min-height:100px}
  .marketing-footer>span:nth-child(2){display:none}
}


/* =========================================================
   V9 EVENT BUILDER
   ========================================================= */
.is-hidden{display:none!important}
.workspace-hero-compact{min-height:0}
.event-workspace-section{padding-bottom:80px}
.event-workspace{margin-top:28px}
.event-tabs{
  display:flex;
  gap:28px;
  border-bottom:1px solid var(--line-dark);
  overflow:auto;
  scrollbar-width:none;
}
.event-tabs::-webkit-scrollbar{display:none}
.event-tab{
  appearance:none;
  border:0;
  border-bottom:3px solid transparent;
  background:transparent;
  color:var(--muted);
  padding:0 0 13px;
  margin-bottom:-1px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
  white-space:nowrap;
}
.event-tab:hover{color:var(--ink)}
.event-tab.active{color:var(--ink);border-bottom-color:var(--blue)}

#eventView{padding-top:34px}
.flat-section-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,480px);
  gap:38px;
  align-items:end;
  padding-bottom:25px;
  border-bottom:1px solid var(--line);
  margin-bottom:30px;
}
.flat-section-head.compact{margin-top:32px}
.flat-section-head h3{
  margin:8px 0 0;
  font-size:36px;
  line-height:1;
}
.flat-section-head p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
  font-size:13px;
}
.event-dashboard{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:2px solid var(--ink);
  border-bottom:1px solid var(--line);
}
.dashboard-number{
  padding:28px 22px 25px 0;
  border-right:1px solid var(--line);
}
.dashboard-number:last-child{border-right:0;padding-left:22px}
.dashboard-number:not(:first-child){padding-left:22px}
.dashboard-number span{
  display:block;
  font-size:54px;
  font-weight:850;
  letter-spacing:-.06em;
  line-height:1;
}
.dashboard-number small{
  display:block;
  margin-top:8px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.1em;
  font-weight:850;
  font-size:9px;
}
.progress-line{margin-top:38px;border-top:1px solid var(--line-dark)}
.progress-line>div{
  display:grid;
  grid-template-columns:52px minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  min-height:64px;
  border-bottom:1px solid var(--line);
  color:var(--muted);
}
.progress-line b{
  color:var(--line-dark);
  font-size:10px;
  letter-spacing:.1em;
}
.progress-line strong{color:var(--ink);font-size:15px}
.progress-line span{
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.09em;
  font-weight:900;
}
.progress-line>div.done b,.progress-line>div.done span{color:var(--green)}
.workspace-callout{
  margin-top:48px;
  padding:30px 0 0;
  border-top:2px solid var(--ink);
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:30px;
}
.workspace-callout h3{
  margin:8px 0 0;
  font-size:30px;
}

.builder-form{display:grid;gap:30px}
.disabled-form{opacity:.46;pointer-events:none}
.builder-grid{display:grid;gap:22px}
.builder-grid.one{grid-template-columns:1fr}
.builder-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.builder-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.builder-form label,.day-row label{
  display:grid;
  gap:8px;
  color:var(--muted);
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.09em;
  font-weight:900;
}
.field-help{
  text-transform:none;
  letter-spacing:0;
  font-weight:600;
  color:#9aa2ad;
  margin-left:5px;
}
.builder-form input,
.builder-form textarea,
.builder-form select,
.day-row input{
  width:100%;
  border:0;
  border-bottom:1px solid var(--line-dark);
  border-radius:0;
  background:transparent;
  color:var(--ink);
  padding:11px 0;
  outline:none;
  font-size:14px;
  text-transform:none;
  letter-spacing:0;
  font-weight:650;
}
.builder-form textarea{
  border:1px solid var(--line);
  background:rgba(255,255,255,.45);
  padding:14px;
  line-height:1.5;
  resize:vertical;
}
.builder-form input:focus,
.builder-form textarea:focus,
.builder-form select:focus,
.day-row input:focus{border-color:var(--blue)}
.builder-subhead{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:20px;
  padding-top:8px;
  border-bottom:1px solid var(--line);
  padding-bottom:12px;
}
.builder-subhead strong{font-size:18px}
.builder-subhead span{color:var(--muted);font-size:12px}
.day-editor{border-top:1px solid var(--ink)}
.day-row{
  min-height:66px;
  display:grid;
  grid-template-columns:minmax(220px,1fr) 150px 150px;
  gap:24px;
  align-items:center;
  border-bottom:1px solid var(--line);
}
.day-row>strong{font-size:15px}
.day-row label{
  grid-template-columns:32px 1fr;
  align-items:center;
}
.form-actions{
  display:flex;
  align-items:center;
  gap:18px;
  padding-top:4px;
}
.form-note{
  color:var(--muted);
  font-size:11px;
  line-height:1.45;
}
.builder-divider{height:1px;background:var(--line-dark);margin:44px 0 0}

.tournament-index{border-top:1px solid var(--ink)}
.tournament-row{border-bottom:1px solid var(--line)}
.tournament-row-main{
  min-height:76px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:20px;
  align-items:center;
}
.tournament-row-main>div:first-child{display:grid;gap:4px}
.tournament-row-main strong{font-size:18px;letter-spacing:-.02em}
.tournament-row-main span{color:var(--muted);font-size:11px}
.tournament-pools-empty{
  color:var(--muted);
  font-size:12px;
  padding:0 0 18px;
}
.pool-strip{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  border-top:1px solid var(--line);
}
.pool-column{
  padding:15px 18px 18px 0;
  border-right:1px solid var(--line);
  display:grid;
  gap:7px;
}
.pool-column:not(:first-child){padding-left:18px}
.pool-column:last-child{border-right:0}
.pool-column strong{
  color:var(--blue);
  font-size:10px;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.pool-column span{font-size:12px}

.schedule-control{
  min-height:78px;
  border-top:2px solid var(--ink);
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.schedule-control>div{display:grid;gap:4px}
.schedule-control strong{font-size:18px}
.schedule-control span{font-size:11px;color:var(--muted)}
.button:disabled{
  opacity:.38;
  cursor:not-allowed;
}
.schedule-day{margin-top:34px}
.schedule-day-head{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  padding-bottom:10px;
  border-bottom:2px solid var(--ink);
}
.schedule-day-head strong{font-size:22px}
.schedule-day-head span{
  color:var(--muted);
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-weight:900;
}
.phase-tag{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:3px 8px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--ink-soft);
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:900;
  white-space:nowrap;
}
.phase-tag.final{border-color:var(--blue);color:var(--blue)}
.phase-tag.semifinal,.phase-tag.quarterfinal{border-color:#d4a645;color:#946b10}
.final-match-row td{background:rgba(46,99,255,.035)}

@media(max-width:1050px){
  .builder-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .flat-section-head{grid-template-columns:1fr;gap:12px}
  .event-dashboard{grid-template-columns:repeat(2,1fr)}
  .dashboard-number:nth-child(2){border-right:0}
  .dashboard-number:nth-child(3),.dashboard-number:nth-child(4){border-top:1px solid var(--line)}
  .builder-grid.two,.builder-grid.four{grid-template-columns:1fr}
  .day-row{grid-template-columns:1fr 1fr}
  .day-row>strong{grid-column:1/-1;padding-top:14px}
  .day-row label{grid-template-columns:32px 1fr;padding-bottom:12px}
  .tournament-row-main{grid-template-columns:1fr;padding:16px 0}
  .schedule-control,.workspace-callout{align-items:flex-start;flex-direction:column;padding-bottom:18px}
}

.live-date-section{margin-top:34px}
.live-date-title{
  padding:0 0 12px;
  border-bottom:2px solid rgba(255,255,255,.55);
  color:#d9e2ef;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:950;
}


/* =========================================================
   V9.3 GLOBAL FEEDBACK
   ========================================================= */
.workspace-alert{
  display:none;
}
.workspace-alert.visible{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:15px;
  align-items:start;
  position:sticky;
  top:16px;
  z-index:40;
  margin:18px 0 4px;
  padding:17px 19px;
  border:1px solid var(--line-dark);
  background:var(--white);
  box-shadow:0 18px 45px rgba(13,27,42,.12);
}
.workspace-alert-mark{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--blue-soft);
  color:var(--blue);
  font-size:14px;
  font-weight:950;
}
.workspace-alert strong{
  display:block;
  margin:1px 0 4px;
  font-size:14px;
  letter-spacing:-.01em;
}
.workspace-alert p{
  margin:0;
  color:var(--ink-soft);
  font-size:13px;
  line-height:1.55;
}
.workspace-alert.danger{
  border-color:#e3a5ae;
  background:#fff7f8;
}
.workspace-alert.danger .workspace-alert-mark{
  background:var(--red-soft);
  color:var(--red);
}
.workspace-alert.danger strong{color:var(--red)}
.workspace-alert.ok{
  border-color:#a9d9ca;
  background:#f5fcf9;
}
.workspace-alert.ok .workspace-alert-mark{
  background:var(--mint);
  color:var(--green);
}
.workspace-alert.ok strong{color:var(--green)}
@media(max-width:760px){
  .workspace-alert.visible{top:8px;margin-top:10px;padding:14px}
}


/* =========================================================
   V9.4 WORKSPACE FOCUS
   ========================================================= */

.event-archive-section{
  transition:padding .18s ease;
}
.event-archive-section.collapsed{
  padding-top:22px;
  padding-bottom:22px;
}
.event-archive-section.collapsed .section-index{
  margin-bottom:8px;
}
.event-archive-section.collapsed .workspace-section-head{
  margin-bottom:0;
}
.event-archive-section.collapsed .workspace-section-head h2{
  font-size:22px;
}
.event-archive-section.collapsed #eventArchiveSummary{
  margin-top:5px;
}
.event-archive-body{
  overflow:hidden;
}
.event-list-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:stretch;
  border-bottom:1px solid var(--line);
}
.event-list-row.active{
  background:var(--blue-soft);
}
.event-list-row .event-card{
  border-bottom:0;
}
.event-list-row.active .event-card{
  background:transparent;
}
.event-delete{
  appearance:none;
  border:0;
  border-left:1px solid var(--line);
  background:transparent;
  color:var(--muted);
  padding:0 18px;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
}
.event-delete:hover{
  color:var(--red);
  background:var(--red-soft);
}

.new-tournament-panel{
  margin-top:38px;
  border-top:2px solid var(--ink);
  border-bottom:1px solid var(--line);
}
.new-tournament-toggle{
  appearance:none;
  width:100%;
  min-height:82px;
  padding:0;
  border:0;
  background:transparent;
  color:var(--ink);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  text-align:left;
  cursor:pointer;
}
.new-tournament-toggle>span:first-child{
  display:grid;
  gap:5px;
}
.new-tournament-toggle small{
  color:var(--blue);
  font-size:9px;
  letter-spacing:.14em;
  font-weight:950;
}
.new-tournament-toggle strong{
  font-size:22px;
  letter-spacing:-.035em;
}
.new-tournament-icon{
  width:38px;
  height:38px;
  border:1px solid var(--line-dark);
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:22px;
  line-height:1;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.new-tournament-toggle:hover .new-tournament-icon{
  background:var(--blue);
  border-color:var(--blue);
  color:#fff;
}
.new-tournament-body{
  padding:8px 0 34px;
}
.new-tournament-panel.open .new-tournament-toggle{
  border-bottom:1px solid var(--line);
  margin-bottom:28px;
}
@media(max-width:760px){
  .event-list-row{grid-template-columns:minmax(0,1fr) 64px}
  .event-delete{padding:0 8px}
  .event-archive-head{grid-template-columns:1fr auto;display:grid}
  .event-archive-head .actions{justify-content:flex-end}
}


/* =========================================================
   V10 RESULTS + STANDINGS
   ========================================================= */
.builder-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}
.standings-area{
  padding:20px 0 26px;
  border-top:1px solid var(--line);
}
.standings-status{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:14px;
}
.standings-status strong{
  color:var(--green);
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.1em;
}
.standings-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(360px,1fr));
  gap:24px;
}
.standing-block{min-width:0}
.standing-head{
  min-height:34px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--ink);
}
.standing-head strong{font-size:13px}
.standing-head span{
  color:var(--muted);
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:850;
}
.standing-table-wrap{overflow:auto}
.standing-table{
  width:100%;
  min-width:560px;
  border-collapse:collapse;
}
.standing-table th,.standing-table td{
  padding:9px 7px;
  font-size:11px;
  border-bottom:1px solid var(--line);
  text-align:right;
}
.standing-table th{
  font-size:8px;
  letter-spacing:.08em;
}
.standing-table th:nth-child(2),
.standing-table td:nth-child(2){text-align:left}
.standing-table td:first-child,
.standing-table th:first-child{width:28px;text-align:left}
.champion-line{
  margin-top:24px;
  padding:18px 0 0;
  border-top:2px solid var(--blue);
  display:flex;
  align-items:baseline;
  gap:18px;
}
.champion-line span{
  color:var(--blue);
  font-size:9px;
  letter-spacing:.14em;
  font-weight:950;
}
.champion-line strong{
  font-size:25px;
  letter-spacing:-.035em;
}
.awaiting-participants td{
  color:#8e97a3;
  background:rgba(13,27,42,.018);
}
.awaiting-participants .phase-tag{opacity:.65}
.score-input input:disabled{
  background:var(--paper-2);
  color:var(--muted);
  cursor:not-allowed;
}
.phase-tag.final_pool{
  border-color:var(--green);
  color:var(--green);
}
@media(max-width:1200px){
  .builder-grid.five{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .builder-grid.five{grid-template-columns:1fr}
  .standings-grid{grid-template-columns:1fr}
}

.live-standings{
  margin-top:34px;
  display:grid;
  gap:36px;
}
.live-tournament-standing{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:28px;
}
.live-standing{min-width:0}
.live-standing-head{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  padding-bottom:9px;
  border-bottom:1px solid rgba(255,255,255,.38);
}
.live-standing-head strong{font-size:13px}
.live-standing-head span{
  color:#7fa2ff;
  font-size:9px;
  letter-spacing:.1em;
  font-weight:900;
}
.live-standing table{
  width:100%;
  border-collapse:collapse;
}
.live-standing th,.live-standing td{
  padding:8px 5px;
  border-bottom:1px solid rgba(255,255,255,.12);
  text-align:right;
  font-size:11px;
}
.live-standing th{
  color:#7f8da2;
  font-size:8px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.live-standing th:nth-child(2),.live-standing td:nth-child(2){text-align:left}
.live-champion{
  grid-column:1/-1;
  padding:22px 0;
  border-top:2px solid #7fa2ff;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:20px;
}
.live-champion span{
  color:#7fa2ff;
  font-size:9px;
  letter-spacing:.13em;
  font-weight:950;
}
.live-champion strong{
  font-size:30px;
  letter-spacing:-.04em;
}


/* =========================================================
   V10.1 PUBLIC LIVE APP
   ========================================================= */

.live-app-body{
  background:#0f1f32;
  color:#fff;
}
.live-app-shell{
  width:min(1500px,calc(100% - 48px));
  margin:0 auto;
  padding:34px 0 70px;
}
.live-app-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:30px;
  padding-bottom:26px;
  border-bottom:1px solid rgba(255,255,255,.18);
}
.live-app-head h1{
  margin:7px 0 8px;
  font-size:clamp(38px,6vw,78px);
  line-height:.92;
  letter-spacing:-.06em;
}
.live-app-head p{
  margin:0;
  color:#8fa0b5;
  font-size:12px;
}
.live-app-version{
  color:#8fa0b5;
  font-size:10px;
  letter-spacing:.12em;
  font-weight:900;
}
.live-app-navigation{
  padding:28px 0 0;
}
.live-selector-label{
  color:#6f83a0;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.15em;
  font-weight:950;
  margin-bottom:12px;
}
.live-tournament-tabs{
  display:flex;
  gap:8px;
  overflow:auto;
  padding-bottom:3px;
  scrollbar-width:none;
}
.live-tournament-tabs::-webkit-scrollbar{display:none}
.live-tournament-tab,
.live-view-tab{
  appearance:none;
  border:0;
  color:#a8b4c4;
  background:transparent;
  cursor:pointer;
  font:inherit;
}
.live-tournament-tab{
  flex:0 0 auto;
  min-height:42px;
  padding:0 16px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  font-size:12px;
  font-weight:850;
}
.live-tournament-tab:hover{border-color:rgba(255,255,255,.38);color:#fff}
.live-tournament-tab.active{
  background:#fff;
  color:#102033;
  border-color:#fff;
}
.live-tournament-area{
  margin-top:42px;
}
.live-tournament-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:30px;
  padding-bottom:22px;
}
.live-section-kicker{
  color:#7fa2ff;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:950;
}
.live-tournament-head h2{
  margin:7px 0 6px;
  font-size:clamp(32px,4.5vw,58px);
  line-height:.95;
}
.live-tournament-head p{
  margin:0;
  color:#8fa0b5;
  font-size:12px;
}
.live-winner{
  text-align:right;
  display:grid;
  gap:4px;
}
.live-winner span{
  color:#7fa2ff;
  font-size:9px;
  letter-spacing:.14em;
  font-weight:950;
}
.live-winner strong{
  font-size:22px;
}
.live-view-tabs{
  display:flex;
  gap:30px;
  border-bottom:1px solid rgba(255,255,255,.18);
  overflow:auto;
  scrollbar-width:none;
}
.live-view-tabs::-webkit-scrollbar{display:none}
.live-view-tab{
  flex:0 0 auto;
  padding:0 0 13px;
  border-bottom:3px solid transparent;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:900;
}
.live-view-tab.active{
  color:#fff;
  border-bottom-color:#7fa2ff;
}
#liveView{
  padding-top:30px;
}
.live-overview-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid rgba(255,255,255,.5);
  border-bottom:1px solid rgba(255,255,255,.16);
}
.live-overview-stats>div{
  min-height:118px;
  padding:24px 22px 18px 0;
  border-right:1px solid rgba(255,255,255,.13);
}
.live-overview-stats>div:not(:first-child){padding-left:22px}
.live-overview-stats>div:last-child{border-right:0}
.live-overview-stats strong{
  display:block;
  font-size:44px;
  letter-spacing:-.055em;
  line-height:1;
}
.live-overview-stats span{
  display:block;
  margin-top:9px;
  color:#7f8ea3;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-weight:850;
}
.live-overview-next,
.live-overview-standings{
  margin-top:48px;
}
.live-subhead{
  display:flex;
  align-items:baseline;
  gap:16px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,.28);
}
.live-subhead.small{margin-bottom:0}
.live-subhead span{
  color:#7fa2ff;
  font-size:9px;
  letter-spacing:.13em;
  font-weight:950;
}
.live-subhead h3{
  margin:0;
  font-size:21px;
}
.live-match-day{
  margin-top:28px;
}
.live-match-day-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:baseline;
  padding-bottom:10px;
  border-bottom:1px solid rgba(255,255,255,.35);
}
.live-match-day-head strong{
  font-size:13px;
  text-transform:capitalize;
}
.live-match-day-head span{
  color:#75859a;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.1em;
}
.live-match-row{
  min-height:72px;
  display:grid;
  grid-template-columns:70px 160px minmax(130px,1fr) 90px minmax(130px,1fr);
  gap:20px;
  align-items:center;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.live-match-row.is-playoff{
  background:rgba(127,162,255,.035);
}
.live-match-time{
  font-size:16px;
  font-weight:900;
  font-variant-numeric:tabular-nums;
}
.live-match-meta{
  display:grid;
  gap:4px;
}
.live-match-meta span{
  color:#aab6c6;
  font-size:11px;
}
.live-match-meta small{
  color:#667892;
  font-size:8px;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-weight:900;
}
.live-match-team{
  font-size:15px;
  font-weight:780;
  min-width:0;
}
.live-match-team-home{text-align:right}
.live-match-score{
  text-align:center;
  font-size:19px;
  font-variant-numeric:tabular-nums;
}
.live-score-empty{color:#62728a}
.live-pools-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(390px,1fr));
  gap:34px;
}
.live-pool-section{
  padding:0 0 50px;
  border-bottom:1px solid rgba(255,255,255,.18);
  margin-bottom:46px;
}
.live-pool-block{min-width:0}
.live-pool-head{
  padding-bottom:11px;
  border-bottom:1px solid rgba(255,255,255,.45);
}
.live-pool-head span{
  color:#7fa2ff;
  font-size:8px;
  text-transform:uppercase;
  letter-spacing:.11em;
  font-weight:950;
}
.live-pool-head h3{
  margin:5px 0 0;
  font-size:20px;
}
.live-table-scroll{overflow:auto}
.live-pool-table{
  width:100%;
  min-width:520px;
  border-collapse:collapse;
}
.live-pool-table th,
.live-pool-table td{
  padding:10px 7px;
  border-bottom:1px solid rgba(255,255,255,.11);
  text-align:right;
  font-size:11px;
}
.live-pool-table th{
  color:#697b95;
  text-transform:uppercase;
  font-size:8px;
  letter-spacing:.07em;
}
.live-pool-table th:nth-child(2),
.live-pool-table td:nth-child(2){text-align:left}
.live-pool-table td:first-child,
.live-pool-table th:first-child{
  width:28px;
  text-align:left;
}
.live-pool-matches{
  margin-top:28px;
}
.live-final-pool-grid{
  margin-bottom:44px;
}
.live-empty,
.live-empty-inline{
  color:#7f8fa6;
  padding:32px 0;
  font-size:13px;
}
.live-empty{
  border-top:1px solid rgba(255,255,255,.16);
  margin-top:34px;
}
.live-just-updated .live-app-version{
  color:#8ee2c5;
}
@media(max-width:900px){
  .live-app-shell{
    width:min(100% - 30px,1500px);
  }
  .live-match-row{
    grid-template-columns:58px 110px minmax(100px,1fr) 72px minmax(100px,1fr);
    gap:12px;
  }
  .live-overview-stats{
    grid-template-columns:repeat(2,1fr);
  }
  .live-overview-stats>div:nth-child(2){border-right:0}
  .live-overview-stats>div:nth-child(3),
  .live-overview-stats>div:nth-child(4){border-top:1px solid rgba(255,255,255,.13)}
}
@media(max-width:650px){
  .live-app-shell{
    width:calc(100% - 24px);
    padding-top:22px;
  }
  .live-app-head{
    align-items:flex-start;
  }
  .live-app-version{display:none}
  .live-tournament-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .live-winner{text-align:left}
  .live-view-tabs{gap:22px}
  .live-pools-grid{grid-template-columns:1fr}
  .live-match-row{
    grid-template-columns:52px minmax(0,1fr) 62px;
    grid-template-areas:
      "time meta score"
      "home home home"
      "away away away";
    gap:7px 12px;
    padding:14px 0;
  }
  .live-match-time{grid-area:time}
  .live-match-meta{grid-area:meta}
  .live-match-score{grid-area:score}
  .live-match-team-home{
    grid-area:home;
    text-align:left;
    padding-top:4px;
  }
  .live-match-team:not(.live-match-team-home){
    grid-area:away;
  }
  .live-overview-stats strong{font-size:34px}
}


/* =========================================================
   V10.2 BACKEND COURT FILTER
   ========================================================= */
.schedule-court-filter{
  padding:0 0 24px;
}
.schedule-filter-label{
  color:var(--muted);
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:950;
  margin-bottom:11px;
}
.schedule-court-tabs{
  display:flex;
  gap:8px;
  overflow:auto;
  scrollbar-width:none;
  padding-bottom:2px;
}
.schedule-court-tabs::-webkit-scrollbar{display:none}
.schedule-court-tab{
  appearance:none;
  flex:0 0 auto;
  min-height:39px;
  padding:0 14px;
  border:1px solid var(--line-dark);
  border-radius:999px;
  background:transparent;
  color:var(--ink-soft);
  font:inherit;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
}
.schedule-court-tab:hover{
  border-color:var(--ink);
  color:var(--ink);
  background:rgba(255,255,255,.45);
}
.schedule-court-tab.active{
  color:#fff;
  background:var(--blue);
  border-color:var(--blue);
}
