
:root{--red:#EE3444;--orange:#F47920;--green:#00AB4E;--line:#e8e8e8;--muted:#606060}*{box-sizing:border-box}body{margin:0;background:white;color:#171717;font:16px/1.55 -apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif}header{border-bottom:1px solid var(--line)}.bar,main{max-width:1056px;margin:auto;padding-inline:24px}.bar{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:12px;font-weight:750}.mark{position:relative;display:block;width:104px;height:32px;overflow:hidden;flex:none}.mark img{position:absolute;width:119px;max-width:none;height:auto;left:-7.5px;top:-26px}.demo{font-size:14px;color:var(--muted)}main{padding-top:42px;padding-bottom:64px}.intro{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:28px}h1{font-size:clamp(28px,5vw,44px);line-height:1.15;letter-spacing:-.055em;margin:0 0 8px}p{margin:0;color:var(--muted)}label{display:grid;gap:4px;font-size:14px;color:var(--muted)}select,button{font:inherit;color:inherit;background:white;border:1px solid var(--line);border-radius:9px;padding:9px 14px}button{cursor:pointer}button:focus-visible,select:focus-visible{outline:3px solid var(--orange);outline-offset:2px}nav{display:flex;gap:20px;border-bottom:1px solid var(--line);margin-bottom:24px}nav button{border:0;border-bottom:3px solid transparent;border-radius:0;padding:12px 3px;color:var(--muted);white-space:nowrap}nav button[aria-selected=true]{border-color:var(--red);color:#171717;font-weight:750}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:20px}.card,.panel{border:1px solid var(--line);border-radius:15px;background:white}.card{padding:16px 18px}.card small{color:var(--muted);font-size:14px}.value{display:block;font-size:25px;font-weight:750}.track{height:5px;background:#eee;border-radius:10px;margin-top:8px;overflow:hidden}.fill{background:var(--orange);height:100%}.panel{overflow:auto}.panel h2{font-size:19px;margin:0;padding:16px 18px}table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}th,td{text-align:left;padding:11px 16px;border-top:1px solid var(--line);white-space:nowrap}th{font-size:14px;color:var(--muted);background:#fafafa}td:first-child{font-weight:750}.top{box-shadow:inset 3px 0 var(--red)}.pill{display:inline-flex;align-items:center;gap:7px;font-size:14px}.pill::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--orange)}.done::before{background:var(--green)}.rounds{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.round{padding:16px}.round h2{margin:0 0 12px;font-size:18px}.game{border-top:1px solid var(--line);padding:12px 0}.game p{display:flex;justify-content:space-between;gap:8px;color:#171717}.game .pill{margin-top:4px}.filter{padding:0 18px 16px;display:flex;flex-wrap:wrap;gap:8px}.filter button[aria-pressed=true]{border-color:var(--red);box-shadow:inset 0 -2px var(--red)}@media(max-width:640px){.bar,main{padding-inline:16px}main{padding-top:26px}.intro{align-items:start;flex-direction:column}.metrics{gap:7px}.card{padding:10px}.value{font-size:18px}nav{gap:14px}th,td{padding:10px 7px;font-size:14px}.rounds{grid-template-columns:1fr}}
.brand-title{font-size:26px;line-height:1;font-weight:800;letter-spacing:-.045em}.player{border:0;border-radius:3px;padding:2px 0;text-decoration:underline;text-underline-offset:4px;font-weight:650}.profile{width:min(480px,calc(100% - 32px));border:1px solid var(--line);border-radius:16px;padding:22px;color:inherit}.profile::backdrop{background:#0006}.profile h2{margin:0;font-size:26px}.profile h3{font-size:17px;margin:20px 0 6px}.profile-head{display:flex;align-items:start;justify-content:space-between;gap:12px}.profile dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.profile dl div{border-top:2px solid var(--red);padding-top:8px}.profile dt{color:var(--muted);font-size:14px}.profile dd{margin:4px 0 0;font-weight:750}.profile ul{margin:0;padding-left:20px}.profile li{margin-bottom:4px}@media(max-width:480px){.brand{gap:8px}.brand-title{font-size:20px}.bar .demo{font-size:12px}.mark{transform:scale(.82);transform-origin:left center;margin-right:-18px}}

.controls{display:flex;flex-wrap:wrap;gap:10px;align-items:end}.action{border-color:var(--red);font-weight:750}.section{padding:18px;margin-bottom:16px}.section h2{padding:0;margin:0 0 12px}.field{font:inherit;padding:8px;border:1px solid var(--line);border-radius:8px;background:white;color:inherit;max-width:100%}fieldset{border:1px solid var(--line);border-radius:9px;margin:12px 0;padding:10px 14px}fieldset label{display:inline-flex;align-items:center;gap:5px;margin:5px 12px 5px 0}.notice{margin:10px 0;color:#171717}.score{display:flex;align-items:center;gap:8px;margin:7px 0}.score input{width:4.5em}.score span{min-width:4em}.empty{padding:18px}.admin-link{color:inherit}.section form+form{margin-top:12px}.rounds{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}details summary{cursor:pointer}
[hidden]{display:none!important}

.hero{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;min-height:205px;padding:35px 37px;border:1px solid var(--line);border-radius:16px;background:#fff;border-left:4px solid var(--red)}
.hero-copy{position:relative;z-index:1;width:min(100%,580px)}.hero-status{margin-bottom:14px}.hero h1{word-break:keep-all}
.hero-progress{display:grid;grid-template-columns:auto auto;gap:6px 20px;margin-top:20px;font-size:14px}.hero-progress span{text-align:right;color:var(--muted)}
.hero-progress progress{grid-column:1/-1;width:100%;height:6px;appearance:none;border:0;border-radius:20px;overflow:hidden;background:#e4e4e4}.hero-progress progress::-webkit-progress-bar{background:#e4e4e4}.hero-progress progress::-webkit-progress-value{background:var(--orange)}.hero-progress progress::-moz-progress-bar{background:var(--orange)}
.pingpong{display:none}
.view-controls{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:15px 0 22px;border-bottom:1px solid var(--line)}.view-controls nav{border:0;margin:0;overflow:auto}.view-controls label{margin-bottom:9px}.view-controls select{max-width:220px}
.dashboard{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.dashboard:has(.recent){grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}.recent-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 15px;border-top:1px solid var(--line)}.recent-row strong{white-space:nowrap}
.content-title{margin:0 0 12px;font-size:21px}.archive-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(178px,1fr));gap:12px}.archive-card{text-align:left;display:grid;gap:6px;padding:16px;border-left:3px solid var(--red)}.archive-card small{color:var(--muted)}.empty-state{padding:25px 18px}
@media(max-width:720px){.dashboard:has(.recent){grid-template-columns:1fr}.view-controls{flex-direction:column-reverse;align-items:stretch;gap:2px}.view-controls label{align-self:start;margin:0}.hero{min-height:175px;padding:26px 20px}.view-controls nav{gap:13px}.view-controls nav button{font-size:14px}}
@media(max-width:360px){.hero h1{font-size:25px}}

/* Public record sheets */
body:has(.hero){background:#fff}
body:has(.hero) .bar,body:has(.hero) main{max-width:1120px}
body:has(.hero) header{border-color:#ededeb}
body:has(.hero) .brand-title{font-size:18px;letter-spacing:-.055em}
body:has(.hero) .brand{gap:14px}
body:has(.hero) .brand-title::before{content:"";display:inline-block;vertical-align:-2px;width:1px;height:17px;margin-right:14px;background:#dadad7}
body:has(.hero) main{padding-top:40px}
.hero{display:block;min-height:0;padding:0 0 28px;border:0;border-radius:0;background:#fff}
.hero-copy{width:auto;max-width:none}
.hero-status{margin:0 0 12px}
.hero-status .pill{border:1px solid #e7e7e4;padding:4px 10px;border-radius:999px;font-weight:650;color:#333}
.hero h1{font-size:clamp(28px,4.2vw,44px);font-weight:800;line-height:1.16;letter-spacing:-.055em;margin:0 0 8px;max-width:14em}
.hero h1+p{font-size:clamp(14px,2vw,17px);color:#555;letter-spacing:-.025em}
.hero-progress{width:min(100%,430px);margin-top:27px}
.view-controls{margin:0 0 24px;border-top:1px solid #191919;border-bottom:1px solid #e4e4e1}
.view-controls nav{gap:28px}
.view-controls nav button{padding:17px 0 14px;font-size:15px}
.view-controls nav button[aria-selected=true]{border-color:var(--red)}
body:has(.hero) .panel{border-radius:0;border:0;border-bottom:1px solid #e4e4e1}
body:has(.hero) .panel h2{padding:10px 0 15px;font-size:19px;letter-spacing:-.045em}
body:has(.hero) th{border-top:1px solid #191919;background:#f6f6f4;font-weight:650}
body:has(.hero) th,body:has(.hero) td{padding-block:13px}
body:has(.hero) .top{box-shadow:inset 2px 0 var(--red);background:#fff8f8}
body:has(.hero) .round{padding-inline:0}
body:has(.hero) .archive-card{border:1px solid #e7e7e4;border-top:2px solid #191919;padding:18px}
body:has(.hero) .archive-card:hover{border-top-color:var(--red);background:#fafaf9}
body:has(.hero) .empty{padding:19px 0 23px;color:#666}
body:has(.hero) .empty-state strong{font-weight:500}
@media(max-width:720px){
  body:has(.hero) main{padding-top:28px}
  .hero{padding-bottom:23px}
  .hero-status{margin-bottom:10px}
  .hero h1{font-size:clamp(27px,6vw,34px)}
  .view-controls{gap:0}
  .view-controls nav{gap:clamp(12px,4vw,25px)}
  .view-controls nav button{font-size:14px;padding-block:13px 10px}
  .view-controls label{padding-top:9px}
}

.hero .league-heading{display:grid;gap:10px;justify-items:start;max-width:none}
.league-heading img{display:block;width:min(100%,302px);height:auto}
.league-heading span{display:block}
@media(max-width:720px){.league-heading img{width:min(100%,248px)}}

.demo-bar{display:flex;align-items:center;justify-content:flex-end;gap:12px;font-size:14px;margin:0 0 16px;color:#555}.demo-bar a{color:#171717;text-underline-offset:3px}
.match-filters{align-items:end;padding-inline:0}.match-count{padding-block:10px;color:#555}.match-count strong{color:#171717}
body:has(.hero) .season-summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;padding:0 0 16px;margin-bottom:18px}
body:has(.hero) .season-summary h2{padding:0;margin-bottom:3px}.season-summary ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:5px 15px}.season-summary li strong{color:#444;margin-right:4px}
.profile{max-height:85dvh;overflow:auto}
.remaining-toggle{display:flex;align-items:center;min-height:42px;gap:5px}

.equipment{width:100%;min-width:0;margin:3px 0}.equipment .equipment-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:8px;align-items:end;margin:0 0 9px}.equipment .equipment-row label{display:grid;margin:0;min-width:0}.equipment .equipment-row .field{width:100%}.equipment .equipment-row button{align-self:end}.equipment [data-add-racket]{margin-top:2px}
@media(max-width:600px){.equipment .equipment-row{grid-template-columns:repeat(2,minmax(0,1fr));padding-bottom:9px;border-bottom:1px solid var(--line)}.equipment .equipment-row label:first-child{grid-column:1/-1}}

.match-gear label{display:grid;margin:5px 0 10px}.match-gear select{width:100%;min-width:0}.match-rackets{margin:6px 0 0;padding-left:17px;white-space:normal;font-size:14px}

.highlight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.highlight-intro{margin:-4px 0 14px}
body:has(.hero) .highlight-card{padding:15px;border:1px solid var(--line);border-top:2px solid #191919}
body:has(.hero) .highlight-card h2{padding:0 0 5px}
.highlight-count{display:block;font-size:32px;line-height:1.2;letter-spacing:-.045em}
.highlight-count small{margin-left:4px;font-size:14px;font-weight:600}
.highlight-card>p{margin-top:5px;font-size:14px}
.highlight-list,.highlight-empty{margin-top:14px!important;padding-top:9px;border-top:1px solid var(--line)}
.highlight-list{max-height:260px;overflow:auto}
.highlight-match,.highlight-longest{padding:5px 0;font-size:14px}
.highlight-match summary strong,.highlight-longest strong{white-space:nowrap;color:#171717}
.highlight-match div{padding-left:12px;color:var(--muted)}
@media(max-width:720px){.highlight-grid{grid-template-columns:1fr}}

.award-leaders{list-style:none;padding:0;margin:12px 0 0;border-top:1px solid var(--line)}.award-leaders li{display:grid;gap:2px;padding-top:9px;justify-items:start}.award-leaders small{color:var(--muted);font-size:14px}

.competition-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 16px;margin-bottom:25px}
.competition-tools .demo-bar{margin:0;flex-wrap:wrap}
.competition-switch{display:inline-flex;gap:3px;margin:0;padding:4px;border:1px solid #e5e5e5;border-radius:10px;background:#f7f7f7}
.competition-switch button{border:0;border-radius:6px;padding:6px 12px;font-size:14px;font-weight:700;color:#555}
.competition-switch button[aria-pressed=true]{background:#171717;color:#fff}
body:has(.cup-hero) .bar,body:has(.cup-hero) main{max-width:1120px}
.cup-hero{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;min-height:285px;padding:32px 42px;border-radius:18px;background:radial-gradient(ellipse at 80% 40%,#414141 0,#242424 34%,#171717 72%);color:#fff}
.cup-copy{position:relative;z-index:1;max-width:66%}.cup-copy h1{font-size:clamp(33px,5.7vw,63px);font-weight:850;line-height:1.08}.cup-copy p{color:#ddd}.cup-copy .cup-format{margin-top:4px;color:#bcbcbc;font-size:14px}
.cup-state,.cup-winner{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px;font-size:14px}.cup-state{border:1px solid #777;border-radius:30px;padding:4px 9px}.cup-winner>span{color:#fff;border-left:3px solid var(--red);padding-left:8px}.cup-winner button{color:#fff;background:transparent}.cup-winner>strong{color:#ddd}
.cup-controls{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:24px 0 13px}.cup-controls h2{font-size:21px;margin:0}
@media(max-width:640px){.competition-tools{margin-bottom:17px}.cup-hero{min-height:226px;padding:24px 18px}.cup-copy{max-width:66%}.cup-copy h1{font-size:clamp(28px,7.3vw,42px)}}

/* Align competition banners across the public views. */
body:has(.cup-hero) main{padding-top:40px}
body:has(.cup-hero) header{border-color:#ededeb}
body:has(.cup-hero) .brand{gap:14px}
body:has(.cup-hero) .brand-title{font-size:18px;letter-spacing:-.055em}
body:has(.cup-hero) .brand-title::before{content:"";display:inline-block;vertical-align:-2px;width:1px;height:17px;margin-right:14px;background:#dadad7}
.competition-tools + :is(.hero,.cup-hero){display:flex;align-items:center;min-height:272px;padding:26px 38px;border-radius:18px;margin-bottom:20px}
.competition-tools + .hero{border:1px solid #ededeb}
.cup-controls{margin-top:0}
@media(max-width:720px){
  body:has(.cup-hero) main{padding-top:28px}
  .competition-tools + :is(.hero,.cup-hero){min-height:222px;padding:18px;margin-bottom:15px}
  .hero-progress{margin-top:15px}
}

.cup-copy{max-width:100%}.cup-copy .cup-lockup{display:block;width:min(302px,100%);margin:0 0 13px}.cup-lockup img{display:block;width:100%;height:auto}
@media(max-width:720px){.cup-copy .cup-lockup{width:min(248px,100%)}}

.cup-progress{display:block;width:min(335px,100%);height:6px;margin:9px 0 0;accent-color:var(--orange)}
.cup-divisions{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin-bottom:20px}
.cup-division{text-align:left;display:grid;gap:3px;padding:10px 13px}.cup-division span{font-size:14px;color:#555}.cup-division[aria-pressed=true]{border-color:var(--red);box-shadow:inset 3px 0 var(--red)}
.cup-bracket-title{align-items:center}.cup-bracket-title p{font-size:14px}.bracket-winner{border-left:3px solid var(--red);padding-left:8px}


.gtt-brand{display:inline-flex;align-items:baseline;gap:7px;border-left:1px solid #dadad7;padding-left:12px;white-space:nowrap}.gtt-brand strong{font-size:18px;font-weight:900;font-style:italic;letter-spacing:-.035em;line-height:1}.gtt-brand small{font-size:11px;font-weight:650;letter-spacing:.07em;color:#555}
@media(max-width:620px){.bar .brand{gap:8px}.bar .brand-title{font-size:15px}.bar .brand-title::before{margin-right:8px}.gtt-brand{gap:3px;padding-left:7px;flex-direction:column}.gtt-brand strong{font-size:16px}.gtt-brand small{font-size:9px;letter-spacing:.025em}}
@media(max-width:365px){.bar .mark{transform:scale(.69);margin-right:-32px}}

.header-identity,.header-wordmark,.header-company{display:flex;align-items:center;min-width:0}
.header-identity{gap:15px}.gtt-header-logo{display:block;flex:0 0 auto;width:151px}.gtt-header-logo img{display:block;width:100%;height:auto}
.header-wordmark{gap:9px;white-space:nowrap}.header-wordmark>span:first-child{font-size:11px;font-weight:400;letter-spacing:.075em;color:#555}.header-title{border-left:1px solid #d7d7d7;padding-left:9px;font-size:14px;font-weight:750}
.header-company{justify-content:flex-end;flex:0 0 auto;gap:9px}.header-company .mark{width:76px;height:24px;transform:none;margin:0}.header-company .mark img{width:87px;left:-5.5px;top:-19px}
@media(max-width:640px){.header-identity{gap:6px;flex-wrap:wrap}.gtt-header-logo{width:105px}.header-wordmark{gap:5px}.header-wordmark>span:first-child{font-size:9px;letter-spacing:.025em}.header-title{padding-left:5px;font-size:12px}.header-company .mark{width:58px;height:18px}.header-company .mark img{width:66px;left:-4px;top:-14.5px}.header-company .demo{display:none}}

.admin-access{max-width:420px;margin:24px auto}.admin-access form{display:grid;gap:10px;margin:14px 0}.admin-access form button{justify-self:start}.admin-access .notice{margin:0}.admin-access a{color:inherit}

.player-manager-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.player-manager-heading h2{margin:0}
.player-manager{display:grid;grid-template-columns:minmax(155px,1fr) minmax(0,2.5fr);gap:18px}.player-browser{min-width:0}.player-browser .field{width:100%}
.player-list{margin-top:9px;max-height:310px;overflow:auto;padding:2px}.player-list ul{list-style:none;padding:0;margin:0;display:grid;gap:5px}
.player-list button{width:100%;text-align:left;display:grid;gap:2px;padding:8px 10px}.player-list button[aria-pressed=true]{border-color:var(--red);box-shadow:inset 3px 0 var(--red)}.player-list small,.player-list-empty{color:var(--muted);font-size:14px}
.player-editor{border-left:1px solid var(--line);padding-left:16px;min-width:0}.player-editor h3{font-size:17px;margin:0 0 10px}
@media(max-width:650px){.player-manager{grid-template-columns:1fr}.player-list{max-height:200px}.player-editor{border-left:0;border-top:1px solid var(--line);padding:12px 0 0}}

.score-match-list{display:grid;gap:7px}.score-match{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:10px 0}.score-match p{font-size:14px}.score-match button{flex:none}

.player-access-status{border-top:1px solid var(--line);margin-top:14px;padding-top:12px;margin-bottom:7px}.player-access-status .pill{margin-left:8px}.player-access-status p{font-size:14px;margin-top:4px}
