:root{--bg:#07111f;--panel:#0d1c30;--panel2:#102742;--text:#f5f8ff;--muted:#91a7c2;--cyan:#00e5ff;--lime:#a7ff3f;--orange:#ff7a18;--pink:#ff3cac;--line:rgba(255,255,255,.1)}*{box-sizing:border-box}html{background:var(--bg);color-scheme:dark}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:radial-gradient(circle at 85% 5%,rgba(0,229,255,.13),transparent 26rem),radial-gradient(circle at 10% 30%,rgba(255,60,172,.09),transparent 28rem),var(--bg);color:var(--text);min-height:100vh}a{color:inherit;text-decoration:none}.topbar{height:76px;padding:10px clamp(16px,4vw,56px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:rgba(7,17,31,.86);backdrop-filter:blur(18px);position:sticky;top:0;z-index:50}.brand{display:flex;align-items:center;min-width:0}.brand img{display:block;max-width:min(240px,42vw);height:48px;object-fit:contain;object-position:left center}.brand span{font-size:28px;font-weight:950;letter-spacing:-1.5px}.brand b{color:var(--lime)}.nav{display:flex;gap:18px;align-items:center;font-weight:700;font-size:14px}.nav>a,.nav>button{display:flex;align-items:center;min-height:44px;padding:4px 0}.nav form{margin:0}.linkbtn{border:0;background:none;color:inherit;padding:0;font:inherit;cursor:pointer}.page{width:min(1440px,100%);margin:auto;padding:0 clamp(14px,3vw,40px) 60px}.hero{min-height:330px;display:flex;align-items:center;justify-content:space-between;gap:35px;padding:55px 0 38px}.eyebrow{font-size:12px;letter-spacing:2.2px;color:var(--lime);font-weight:900}.hero h1,.watchHeader h1,.auth h1,.adminHead h1{font-size:clamp(38px,6vw,76px);line-height:.96;margin:10px 0 16px;letter-spacing:-3px}.hero h1 em{font-style:normal;color:var(--cyan)}.hero p,.watchHeader p,.auth p,.adminPanel p{color:var(--muted)}.search{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;background:rgba(13,28,48,.78);border:1px solid var(--line);padding:14px;border-radius:20px;min-width:min(600px,50vw)}input,select,textarea{width:100%;background:#081526;border:1px solid rgba(255,255,255,.13);color:#fff;border-radius:12px;padding:13px 14px;font:inherit}button,.btn,.primary,.small{cursor:pointer;border:1px solid rgba(255,255,255,.14);background:#142b48;color:#fff;border-radius:11px;padding:11px 15px;font-weight:800}.primary,.search button,.btn{background:linear-gradient(135deg,var(--cyan),#1c7cff);color:#00131c;border:0}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.card{display:block;background:linear-gradient(180deg,rgba(16,39,66,.96),rgba(10,25,43,.98));border:1px solid var(--line);border-radius:22px;overflow:hidden;transition:transform .2s,border-color .2s;content-visibility:auto;contain-intrinsic-size:390px}.card:hover{transform:translateY(-3px);border-color:rgba(0,229,255,.4)}.media{aspect-ratio:16/9;background:linear-gradient(135deg,#142b48,#06101d);position:relative;overflow:hidden}.cardvid{width:100%;height:100%;object-fit:cover;display:block;background:#07111f}.cardPoster{position:absolute;inset:0;background:#07111f center center/cover no-repeat;z-index:2;opacity:1;pointer-events:none}.media.card-preview-playing .cardPoster{opacity:0;transition:opacity .22s ease}.playBadge{position:absolute;right:12px;bottom:12px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.55);backdrop-filter:blur(8px);font-size:13px;z-index:3}.meta{padding:16px}.league{font-size:11px;letter-spacing:1.6px;font-weight:900;color:var(--cyan);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.teams{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;margin:12px 0;font-weight:800}.teams span:last-child{text-align:right}.teams strong{font-size:22px;background:#07111f;border:1px solid var(--line);border-radius:10px;padding:6px 9px}.teams i{font-style:normal;color:var(--muted);padding:0 3px}.date{font-size:12px;color:var(--muted)}.watchHeader{text-align:center;padding:48px 0 26px}.watchHeader h1{font-size:clamp(30px,5vw,58px)}.watchHeader h1 strong{color:var(--lime);white-space:nowrap}.playerCard{position:relative;background:#000;border-radius:22px;overflow:hidden;border:1px solid var(--line);box-shadow:0 30px 80px rgba(0,0,0,.35)}#player{width:100%;display:block;max-height:76vh}.unmute-btn{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);background:rgba(0,0,0,.72)}
/* v71: .playerInfoRow wraps the player quality badge + unmute button.
   display:contents on desktop/tablet means it renders NO box of its own —
   both children stay exactly where they were (independently absolute-
   positioned overlays on the video), regardless of where in the DOM this
   wrapper sits. Only under the phone breakpoint below does it become a
   real flex row. */
.playerInfoRow{display:contents}
.shareBox{margin:22px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:20px}.shareBox h2{margin:0 0 5px}.shareBox p{margin:0;color:var(--muted)}.auth{min-height:calc(100vh - 150px);display:grid;place-items:center;padding:40px 0}.authCard{width:min(480px,100%);background:rgba(13,28,48,.92);border:1px solid var(--line);border-radius:24px;padding:30px}.auth h1{font-size:44px}.auth form{display:grid;gap:14px;margin:22px 0}.auth label{display:grid;gap:7px;font-size:13px;font-weight:800}.alert,.success{padding:12px 14px;border-radius:12px;margin:12px 0}.alert{background:rgba(255,80,80,.14);border:1px solid rgba(255,80,80,.35)}.success{background:rgba(167,255,63,.11);border:1px solid rgba(167,255,63,.28)}.adminHead{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:38px 0 22px}.adminHead h1{font-size:48px;margin-bottom:0}.adminNav{display:flex;gap:8px;flex-wrap:wrap}.adminNav a{padding:10px 14px;border-radius:10px;background:var(--panel)}.adminNav a.active{background:var(--cyan);color:#00131c}.adminPanel{background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:20px;margin-bottom:20px}.rowForm{display:grid;grid-template-columns:1fr 1.4fr 1fr auto;gap:10px}.tableWrap{overflow:auto}.tableWrap table,.table{width:100%;border-collapse:collapse}.tableWrap th,.tableWrap td,.table th,.table td{text-align:left;padding:13px;border-bottom:1px solid var(--line)}.actions{display:flex;flex-wrap:wrap;gap:6px}.actions form{margin:0}.danger{background:rgba(239,68,68,.16)!important;border-color:rgba(239,68,68,.55)!important;color:#fecaca!important}.optBadge{display:inline-block;padding:5px 11px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid var(--line);font-size:12px;font-weight:700}.optNote{display:block;margin-top:4px;font-size:12px;color:var(--muted);overflow-wrap:anywhere;max-width:100%}.status{font-weight:800;font-size:12px}.status.on{color:var(--lime)}.status.off{color:#ff8181}.brandGrid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.brandPreview,.favPreview{min-height:120px;display:grid;place-items:center;background:#081526;border:1px dashed rgba(255,255,255,.18);border-radius:15px;margin:15px 0;padding:15px}.brandPreview img{max-width:100%;max-height:90px;object-fit:contain}.favPreview img{width:72px;height:72px;object-fit:contain}.adminPanel input[type=file]{margin-bottom:12px}.adminPanel form{display:inline-block;margin:10px 0}.brandActions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.brandActions form{margin:0}.footer{padding:30px;text-align:center;color:var(--muted);border-top:1px solid var(--line)}
@media(max-width:900px){.hero{display:block;min-height:auto;padding:38px 0 28px}.search{min-width:0;width:100%;margin-top:25px;grid-template-columns:1fr}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rowForm{grid-template-columns:1fr 1fr}.brandGrid{grid-template-columns:1fr}.adminHead{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.topbar{height:64px;padding:8px 14px}.brand img{height:38px;max-width:42vw}.brand span{font-size:22px}.nav{gap:11px;font-size:12px}.page{padding-left:12px;padding-right:12px}.hero h1{letter-spacing:-2px}.grid{grid-template-columns:1fr;gap:14px}.card{border-radius:18px}.meta{padding:14px}.shareBox{align-items:stretch;flex-direction:column}.shareBox .primary{width:100%}.authCard{padding:22px}.rowForm{grid-template-columns:1fr}.adminHead h1{font-size:40px}.watchHeader{padding-top:30px}}

/* Consistent score color + improved Add/Edit Game layout */
.teams strong{color:var(--lime);font-weight:950;text-shadow:0 0 18px rgba(167,255,63,.16)}
.adminGameFormCard{width:min(860px,100%);margin:42px auto 54px;padding:32px}
.adminGameFormCard h1{margin:0 0 24px;font-size:clamp(30px,4vw,44px);letter-spacing:-1.5px}
.adminGameForm{display:grid;gap:20px;margin:0}
.adminGameForm .row2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.adminGameForm .row2>div{display:grid;gap:8px;min-width:0}
.adminGameForm label{display:block;margin:0 0 8px;font-size:13px;font-weight:800;color:var(--text)}
.adminGameForm input{min-height:48px}
.adminGameForm .notificationOption{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#081526;cursor:pointer}.adminGameForm .notificationOption input{width:18px;min-height:18px;margin:2px 0 0;accent-color:var(--cyan);flex:0 0 auto}.adminGameForm .notificationOption span{display:grid;gap:4px}.adminGameForm .notificationOption small{color:var(--muted);font-weight:500;line-height:1.4}
.formActions{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding-top:4px}
.formActions .primary{min-width:132px}
.secondaryBtn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border:1px solid rgba(255,255,255,.14);border-radius:11px;background:#0a192b;color:var(--text);font-weight:800}
.secondaryBtn:hover{border-color:rgba(0,229,255,.4)}
@media(max-width:700px){.adminGameFormCard{margin:24px auto 36px;padding:22px}.adminGameForm .row2{grid-template-columns:1fr;gap:16px}.adminGameForm{gap:16px}.formActions{align-items:stretch}.formActions .primary,.secondaryBtn{flex:1}}


/* Goal timestamps + player quick-seek controls */
.goalEditor{border:1px solid rgba(167,255,63,.18);background:rgba(7,17,31,.5);border-radius:18px;padding:18px;margin:2px 0}
.goalEditorHead{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.goalEditorHead h2{margin:0 0 4px;font-size:20px}.goalEditorHead p{margin:0;color:var(--muted);font-size:13px}.goalHint{font-size:11px;font-weight:900;color:var(--lime);border:1px solid rgba(167,255,63,.25);border-radius:999px;padding:6px 9px;white-space:nowrap}
.goalColumns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.goalColumns h3{margin:0 0 10px;font-size:14px}.goalTimeList{display:grid;gap:9px}.goalTimeRow{display:grid;grid-template-columns:82px 1fr;align-items:center;gap:10px}.goalTimeRow span{font-size:12px;font-weight:850;color:var(--muted)}.goalTimeRow input{min-height:42px}.noGoals{margin:0;color:var(--muted);font-size:12px}
.goalMoments{margin:22px 0;background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:20px}.goalMomentsHead{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:15px}.goalMomentsHead h2{margin:4px 0 0;font-size:26px}.goalMomentsHead p{margin:0;color:var(--muted);font-size:13px}.matchMomentsGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.matchMomentsGridSingle{grid-template-columns:1fr}.matchSide{min-width:0;background:#081526;border:1px solid var(--line);border-radius:16px;padding:16px}.matchSideTeam{border-color:rgba(167,255,63,.3);box-shadow:inset 3px 0 0 rgba(167,255,63,.72)}.matchSideOpponent{border-color:rgba(255,91,91,.3);box-shadow:inset -3px 0 0 rgba(255,91,91,.72)}.matchSideHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.matchSideHead h3{min-width:0;margin:0;font-size:clamp(16px,2vw,21px);line-height:1.15;overflow-wrap:anywhere}.matchSideHead span{flex:0 0 auto;font-size:11px;font-weight:950;letter-spacing:.8px;white-space:nowrap}.matchSideTeam .matchSideHead span{color:var(--lime)}.matchSideOpponent .matchSideHead{text-align:right}.matchSideOpponent .matchSideHead span{color:#ff7777;order:-1}.matchSideGoals{display:grid;gap:9px}.goalJump{display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:48px;background:rgba(13,28,48,.84);border:1px solid rgba(255,255,255,.1);padding:11px 13px}.goalJump strong{font-size:16px;font-variant-numeric:tabular-nums;white-space:nowrap}.goalJump .goalBall{font-size:20px}.goalJumpTeam{text-align:left;justify-content:flex-start}.goalJumpTeam strong{color:var(--lime)}.goalJumpTeam:hover{border-color:rgba(167,255,63,.55);transform:translateY(-1px)}.goalJumpOpponent{text-align:right;justify-content:flex-end}.goalJumpOpponent strong{color:#ff7777}.goalJumpOpponent:hover{border-color:rgba(255,91,91,.55);transform:translateY(-1px)}
@media(max-width:700px){.matchMomentsGrid{grid-template-columns:1fr}.goalColumns{grid-template-columns:1fr}.goalEditorHead,.goalMomentsHead{display:block}.goalHint{display:inline-block;margin-top:10px}.goalMoments{padding:16px}.matchSide{padding:15px}.matchSideHead h3{font-size:18px}}
@media(max-width:360px){.goalMoments{padding:13px}.matchSide{padding:13px}.matchSideHead{gap:8px}.matchSideHead span{font-size:10px}.goalJump{font-size:16px;padding:10px 12px}}

/* Activity audit v4 */.activityFilters{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr)) auto auto;gap:12px;align-items:center}.activityFilters input,.activityFilters select{width:100%;min-height:44px}.buttonLike{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 15px;border:1px solid #334155;border-radius:10px;text-decoration:none}.activityTable small{display:block;margin-top:4px;color:#94a3b8}.activityAction{font-weight:700;white-space:nowrap}.activityTable .mono{font-family:monospace;white-space:nowrap}.activityTable .ua{max-width:280px;font-size:.82rem;color:#94a3b8;word-break:break-word}@media(max-width:800px){.activityFilters{grid-template-columns:1fr 1fr}.activityTable{min-width:920px}}@media(max-width:520px){.activityFilters{grid-template-columns:1fr}}

/* Signup + approval v5 */
.authLinks{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:16px}
.authLinks a{font-weight:700}
.pendingBadge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:rgba(245,158,11,.14);border:1px solid rgba(245,158,11,.35);font-weight:800}
.userMeta{display:block;margin-top:4px;color:#94a3b8;font-size:.82rem}
.approveBtn{font-weight:800}

/* Login secondary actions v7 */
.authLinks{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:18px;
}
.authLinks a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:12px 16px;
  border:1px solid rgba(148,163,184,.22);
  border-radius:14px;
  background:rgba(15,35,57,.72);
  color:#f8fafc;
  text-decoration:none;
  font-weight:800;
  text-align:center;
  transition:transform .16s ease,border-color .16s ease,background .16s ease;
}
.authLinks a:hover{
  transform:translateY(-1px);
  border-color:rgba(34,197,94,.55);
  background:rgba(17,45,70,.92);
}
@media(max-width:520px){
  .authLinks{grid-template-columns:1fr;gap:10px}
  .authLinks a{min-height:48px}
}

/* Login secondary action + partner logos v8 */
.authLinks a{
  background:linear-gradient(135deg,rgba(16,185,129,.26),rgba(34,197,94,.16) 48%,rgba(5,150,105,.28));
  border-color:rgba(74,222,128,.42);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
.authLinks a:hover{
  border-color:rgba(74,222,128,.82);
  background:linear-gradient(135deg,rgba(16,185,129,.42),rgba(34,197,94,.28) 48%,rgba(5,150,105,.42));
}
.loginPartners{
  width:min(760px,calc(100% - 28px));
  margin:18px auto 0;
}
.loginPartnersInner{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:12px 16px;
  border:1px solid rgba(148,163,184,.14);
  border-radius:16px;
  background:rgba(7,20,34,.48);
}
.loginPartnersLabel{
  flex:0 0 auto;
  font-size:.68rem;
  line-height:1;
  letter-spacing:.15em;
  font-weight:800;
  color:#7f8fa3;
  white-space:nowrap;
}
.loginPartnerLogos{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  min-width:0;
}
.loginPartnerLogos img{
  display:block;
  width:auto;
  height:34px;
  max-width:150px;
  object-fit:contain;
  filter:saturate(.94);
  opacity:.92;
}
.loginPartnerLogos img:first-child{height:38px;max-width:92px}
.loginPartnerLogos img:last-child{height:38px;max-width:88px}
@media(max-width:640px){
  .loginPartners{width:min(100% - 20px,520px);margin-top:14px}
  .loginPartnersInner{display:block;padding:10px 12px}
  .loginPartnersLabel{display:block;text-align:center;margin-bottom:9px;font-size:.61rem}
  .loginPartnerLogos{gap:12px;justify-content:space-evenly}
  .loginPartnerLogos img{height:27px;max-width:108px}
  .loginPartnerLogos img:first-child{height:31px;max-width:70px}
  .loginPartnerLogos img:last-child{height:31px;max-width:68px}
}
@media(max-width:380px){
  .loginPartnerLogos{gap:8px}
  .loginPartnerLogos img{height:24px;max-width:92px}
  .loginPartnerLogos img:first-child,.loginPartnerLogos img:last-child{height:28px;max-width:62px}
}

/* v9 login action buttons + larger partner logos */
.authLinks{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:18px;
}
.authLinks a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:11px 18px;
  border:0;
  border-radius:12px;
  background:linear-gradient(135deg,#22c55e 0%,#16a34a 55%,#059669 100%);
  color:#06140d;
  box-shadow:0 8px 22px rgba(34,197,94,.18),inset 0 1px 0 rgba(255,255,255,.28);
  font-weight:900;
  text-decoration:none;
  text-align:center;
  transition:transform .15s ease,filter .15s ease,box-shadow .15s ease;
}
.authLinks a:hover{
  transform:translateY(-1px);
  filter:brightness(1.08);
  box-shadow:0 10px 26px rgba(34,197,94,.28),inset 0 1px 0 rgba(255,255,255,.3);
}
.loginPartners{
  width:min(980px,calc(100% - 28px));
  margin:20px auto 0;
}
.loginPartnersInner{
  display:block;
  padding:10px 14px;
  border:1px solid rgba(148,163,184,.12);
  border-radius:18px;
  background:rgba(7,20,34,.42);
}
.loginPartnersLabel{display:none!important}
.loginPartnerLogos{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(20px,4vw,52px);
  min-width:0;
}
.loginPartnerLogos img,
.loginPartnerLogos img:first-child,
.loginPartnerLogos img:last-child{
  display:block;
  width:auto;
  height:auto;
  max-height:180px;
  max-width:min(28vw,260px);
  object-fit:contain;
  opacity:1;
  filter:none;
}
@media(max-width:640px){
  .authLinks{grid-template-columns:1fr;gap:10px}
  .loginPartners{width:calc(100% - 18px);margin-top:14px}
  .loginPartnersInner{padding:8px 9px}
  .loginPartnerLogos{gap:10px;justify-content:space-evenly}
  .loginPartnerLogos img,
  .loginPartnerLogos img:first-child,
  .loginPartnerLogos img:last-child{
    max-height:105px;
    max-width:30%;
  }
}

/* v10 login cleanup */
.authLinks a,
.authLinks a:visited,
.authLinks a:hover,
.authLinks a:focus,
.authLinks a:active{
  color:#fff !important;
}

/* v13 signup validation */
.fieldError{
  margin:-2px 0 4px;
  padding:10px 12px;
  border:1px solid rgba(248,113,113,.42);
  border-radius:10px;
  background:rgba(127,29,29,.18);
  color:#fecaca;
  font-size:.9rem;
  font-weight:700;
}

/* v14 mobile horizontal-scroll fix */
html,body{
  max-width:100%;
  overflow-x:hidden;
}
*,
*::before,
*::after{
  box-sizing:border-box;
}
.page,
.auth,
.authCard,
.topbar,
.nav,
.footer{
  min-width:0;
  max-width:100%;
}
.auth{
  width:100%;
  padding-left:14px;
  padding-right:14px;
}
.authCard{
  width:min(100%,560px);
  margin-left:auto;
  margin-right:auto;
  overflow:hidden;
}
.authCard form,
.authCard label,
.authCard input,
.authCard button,
.authLinks,
.authLinks a{
  min-width:0;
  max-width:100%;
}
.authCard input{
  width:100%;
}
.authLinks{
  width:100%;
}
.topbar{
  width:100%;
}
.topbar .brand,
.topbar .nav{
  min-width:0;
}
.topbar .brand img{
  max-width:min(52vw,180px);
  height:auto;
}
.nav{
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav a,
.nav button,
.nav form{
  max-width:100%;
}
@media(max-width:640px){
  .topbar{
    padding-left:12px;
    padding-right:12px;
    gap:10px;
  }
  .topbar .brand{
    flex:1 1 auto;
    min-width:0;
  }
  .topbar .nav{
    flex:0 1 auto;
    gap:8px;
  }
  .topbar .brand img{
    max-width:min(46vw,180px);
  }
  .auth{
    padding-left:10px;
    padding-right:10px;
  }
  .authCard{
    width:100%;
    border-radius:16px;
  }
  .authLinks{
    grid-template-columns:1fr;
  }
}

/* v15 login viewport/scrollbar correction */
body.loginPage{
  min-height:100vh;
}
body.loginPage .page{
  padding-bottom:0;
}
body.loginPage .auth{
  min-height:calc(100vh - 125px);
  padding-top:24px;
  padding-bottom:24px;
}
body.loginPage .footer{
  padding-top:14px;
  padding-bottom:14px;
}
@supports (height:100svh){
  body.loginPage{
    min-height:100svh;
  }
  body.loginPage .auth{
    min-height:calc(100svh - 125px);
  }
}
@media(max-width:600px){
  body.loginPage .auth{
    min-height:calc(100vh - 110px);
    padding-top:18px;
    padding-bottom:18px;
  }
  body.loginPage .footer{
    padding-top:12px;
    padding-bottom:12px;
  }
  @supports (height:100svh){
    body.loginPage .auth{
      min-height:calc(100svh - 110px);
    }
  }
}

/* v18 iPhone form-focus zoom fix */
@media (max-width: 768px){
  .authCard input,
  .authCard select,
  .authCard textarea{
    font-size:16px !important;
  }
}

/* v65 automatic video quality badges.
   Card (.qualityBadge) = archive/original full-game quality, bottom-left, never a preview.
   Player (.playerQualityBadge) = the source ACTUALLY playing, top-left inside the player.
   Score green (var(--lime)); compact, rounded, translucent, readable over video/poster. */
.qualityBadge,.playerQualityBadge{
  position:absolute;z-index:3;display:inline-flex;align-items:center;
  padding:4px 9px;border-radius:999px;
  font-size:11px;font-weight:900;letter-spacing:.4px;line-height:1;white-space:nowrap;
  color:var(--lime);background:rgba(6,16,29,.66);
  border:1px solid rgba(167,255,63,.42);backdrop-filter:blur(8px);
  text-shadow:0 1px 2px rgba(0,0,0,.65);pointer-events:none;
}
.qualityBadge{left:12px;bottom:12px;max-width:calc(100% - 60px)}
.playerQualityBadge{left:14px;top:14px;z-index:4;font-size:12px;padding:5px 11px;max-width:calc(100% - 28px)}
.qualityBadge.q-sd,.playerQualityBadge.q-sd{color:#e8ffce;border-color:rgba(167,255,63,.32)}
.playerQualityBadge[hidden]{display:none!important}
/* v72: keyed on .mobilePlayer (a class the page adds once, from the SAME
   isMobileLike() check used for the landscape/theater and overlay-disable
   logic — see game.ejs/landscape-fullscreen.js), NOT a max-width media
   query. A phone's landscape CSS width is often well over 480/900px, so a
   plain width breakpoint would silently revert to the desktop top-left
   badge overlay and the absolute unmute overlay on rotation — this class
   does not care about viewport width at all, so the badge/unmute stay in
   the lower info row, off the video, in BOTH orientations. */
.playerCard.mobilePlayer .playerInfoRow{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:10px auto 14px;padding:0 16px}
.playerCard.mobilePlayer .playerQualityBadge{position:static;left:auto;top:auto;z-index:auto;font-size:11px;padding:5px 11px;max-width:none}
.playerCard.mobilePlayer .unmute-btn{position:static;left:auto;bottom:auto;transform:none;display:inline-flex;align-items:center;justify-content:center;width:auto;max-width:none;margin:0;border-radius:999px;padding:11px 22px;min-height:44px;text-align:center}
/* v98 fix — this display:inline-flex above has higher specificity (3
   classes) than the UA stylesheet's own "[hidden]{display:none}" (1
   attribute selector), so on .mobilePlayer it silently won regardless of
   the hidden attribute: the JS-driven show/hide (unmuteBtn's onclick +
   volumechange listener, both correct — verified live, .hidden flips
   exactly as expected in every case) was always overridden right back to
   visible, in BOTH portrait and landscape/theaterMode. The button stayed
   on screen, taking up video space, even after a successful unmute.
   .playerQualityBadge[hidden] and .csForm/.csResult[hidden] elsewhere in
   this file already carry this exact override for the same reason; this
   was the one place it was missing. */
.playerCard.mobilePlayer .unmute-btn[hidden]{display:none!important}
/* Landscape theater mode: same lower row, made a little more compact so it
   takes less of the fullscreen viewport away from the video — never moved
   back onto the video itself. */
.playerCard.mobilePlayer.theaterMode .playerInfoRow{margin:6px auto;gap:8px;padding:0 12px}
.playerCard.mobilePlayer.theaterMode .playerQualityBadge,
.playerCard.mobilePlayer.theaterMode .unmute-btn{font-size:10px;padding:6px 14px;min-height:36px}
@media(max-width:480px){
  .qualityBadge{left:8px;bottom:8px;font-size:10px;padding:3px 7px;max-width:calc(100% - 46px)}
}

/* v67 custom goal-marker timeline + mobile landscape theater mode */
.customTimeline{padding:10px 16px 4px;display:grid;gap:6px}
.ctBarWrap{position:relative;padding:12px 0;cursor:pointer;touch-action:none;-webkit-tap-highlight-color:transparent}
.ctBarWrap:focus-visible{outline:2px solid var(--cyan);outline-offset:4px;border-radius:8px}
.ctBar{position:relative;height:6px;border-radius:999px;background:rgba(255,255,255,.18)}
.ctFill{position:absolute;top:0;left:0;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--cyan),#1c7cff);width:0%;pointer-events:none}
.ctDots{position:absolute;inset:0;pointer-events:none}
.goalDot{position:absolute;top:50%;width:24px;height:24px;margin:-12px 0 0 -12px;border:0;border-radius:50%;background:transparent;padding:0;cursor:pointer;pointer-events:auto;display:grid;place-items:center;-webkit-tap-highlight-color:transparent}
.goalDot::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--lime);border:2px solid #07111f;box-shadow:0 0 0 1px rgba(255,255,255,.35);transition:transform .15s}
.goalDotOpponent::after{background:#ff7777}
.goalDotNeutral::after{background:var(--cyan)}
.goalDot:hover::after,.goalDot:focus-visible::after{transform:scale(1.35)}
.goalDotActive::after{transform:scale(1.7)}
.ctTime{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;text-align:right}
@media (max-width:480px){.goalDot{width:32px;height:32px;margin:-16px 0 0 -16px}}

/* v68 in-player overlay seek controls (-5/+5), shown briefly on interaction
   and auto-hidden. The button row stops short of the bottom of the video
   (bottom:56px, widened in theater mode below) so the browser's own
   native control bar — play/pause, volume, scrubber, fullscreen — keeps
   receiving clicks/taps directly underneath; this is an ADDITIONAL
   affordance layered on top of native controls, not a replacement for
   them.
   v73 fix: #playerGestureLayer used to be a full-bleed hit layer (default
   pointer-events:auto) for desktop double-click-to-seek — that silently
   intercepted every click over the video, including plain clicks meant to
   toggle native play/pause. Double-click-to-seek was removed for exactly
   that reason; this layer is now pointer-events:none unconditionally, so
   every point over the video except the two visible buttons below hits
   the raw <video> element. Kept in the DOM only as a class-toggle target
   for the mobile-disabled state (see overlay-controls.js) — it was never
   interactive on mobile either. */
.playerGestureLayer{position:absolute;left:0;right:0;top:0;bottom:56px;z-index:2;background:transparent;pointer-events:none}
.playerOverlaySeek{position:absolute;left:0;right:0;top:0;bottom:56px;z-index:3;display:flex;align-items:center;justify-content:center;gap:32px;opacity:0;pointer-events:none;transition:opacity .25s ease}
.playerOverlaySeek.visible{opacity:1}
.overlaySeekBtn{pointer-events:auto;min-width:56px;min-height:56px;border-radius:50%;display:grid;place-items:center;background:rgba(3,10,20,.62);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.28);color:#fff;font:inherit;font-weight:800;font-size:.85rem;line-height:1.1;cursor:pointer;-webkit-tap-highlight-color:transparent}
.overlaySeekBtn:hover,.overlaySeekBtn:focus-visible{border-color:var(--lime);color:var(--lime)}
.overlaySeekBtn:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
.seekFeedback{position:absolute;top:50%;left:20%;transform:translateY(-50%) scale(.75);z-index:4;font-size:1.5rem;font-weight:950;color:#fff;text-shadow:0 3px 14px rgba(0,0,0,.65);opacity:0;pointer-events:none;transition:opacity .18s ease,transform .18s ease}
.seekFeedbackRight{left:auto;right:20%}
.seekFeedback.show{opacity:1;transform:translateY(-50%) scale(1)}
@media (max-width:480px){.overlaySeekBtn{min-width:64px;min-height:64px;font-size:.95rem}.playerOverlaySeek{gap:20px}}
/* v69: on phones the whole overlay-seek feature is disabled in JS (see
   overlay-controls.js) — this backs that up so the layers are inert even
   before/without JS, never sitting between a tap and native video controls
   (notably iOS Safari's "Tap to Unmute"). */
.playerGestureLayer.mobileDisabled,.playerOverlaySeek.mobileDisabled{display:none!important;pointer-events:none!important}

/* Mobile landscape auto-fullscreen: real Element.requestFullscreen() when
   supported (video + custom timeline both stay visible inside it); a
   CSS-only "theater mode" fallback everywhere else (notably iOS Safari,
   whose native video fullscreen would hide our overlay entirely). Only the
   #playerCard subtree is affected — nothing else on the page changes size. */
.playerCard.theaterMode{position:fixed;inset:0;z-index:1000;border-radius:0;border:0;box-shadow:none;display:flex;flex-direction:column;justify-content:center;background:#000}
.playerCard.theaterMode #player{max-height:100vh;flex:1 1 auto;min-height:0}
.playerCard.theaterMode .customTimeline{position:absolute;left:0;right:0;bottom:0;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));background:linear-gradient(transparent,rgba(0,0,0,.8));margin:0}
.playerCard.theaterMode .playerGestureLayer,.playerCard.theaterMode .playerOverlaySeek{bottom:76px}
.playerCard:not(.theaterMode) #player{max-height:76vh}
body.theaterActive{overflow:hidden}
/* v97 wrapped the page in .gameLayout>.gameMain>.playerCard (for the
   Related Videos rail), so .playerCard is no longer a direct child of
   .page -- .page's only direct child is now .gameLayout, which itself
   doesn't match :not(.playerCard) and would get hidden, taking the
   fixed-position .playerCard down with it (display:none on an ancestor
   hides descendants regardless of position:fixed). display:contents on
   both wrappers keeps them out of the render tree without touching their
   children, so the hide-siblings selector can target .gameMain's actual
   content children directly; .relatedRail is .gameMain's SIBLING, not its
   child, so it needs its own explicit hide. .watchHeader moved OUT of
   .gameMain too (so Related Games can align with the player's top edge
   instead of the title) -- it's now a .page-level sibling of .gameLayout,
   so it also needs its own explicit hide here. */
body.theaterActive .gameLayout,body.theaterActive .gameMain{display:contents}
body.theaterActive .relatedRail,body.theaterActive .watchHeader{display:none!important}
body.theaterActive .topbar,body.theaterActive .footer,body.theaterActive .gameMain>*:not(.playerCard){display:none!important}
body.theaterActive .page{width:100%;padding:0;margin:0}

/* v88 -- admin table -> mobile card layout for Admin Games / Admin Users /
   Admin Activity. Opt-in via .cardTable (added only to these 3 tables), so
   no other table/page is affected. Desktop (>800px) is completely
   unchanged -- .cardTable renders as an ordinary table exactly as
   .table/.activityTable already did. Templates add data-label="..." to
   reconstruct column headers once thead is hidden, class="cardPrimary" on
   the row's main identifying cell (kept label-free, shown first, bordered
   off from the rest of the card), and class="actions" on the actions cell
   (already used this way on admin-users; now consistent across all three
   tables) so buttons get their own bordered-off, wrapping button row. */
.optErr{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:800px){
  table.cardTable.activityTable{min-width:0}
  .cardTable thead{display:none}
  .cardTable,.cardTable tbody,.cardTable tr,.cardTable td{display:block;width:100%}
  .cardTable tr{background:var(--panel);border:1px solid var(--line);border-radius:16px;margin-bottom:14px;padding:14px}
  .cardTable td{border-bottom:none;padding:6px 0;text-align:left;overflow-wrap:anywhere}
  .cardTable td[data-label]::before{content:attr(data-label);display:block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-bottom:2px}
  .cardTable td.cardPrimary{padding:0 0 10px;margin-bottom:8px;font-size:17px;font-weight:800;border-bottom:1px solid var(--line)}
  .cardTable td.actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:10px;margin-top:4px;border-top:1px solid var(--line)}
  .cardTable td.actions form{margin:0}
  .cardTable .optErr{white-space:normal;overflow:visible;text-overflow:clip;max-width:100%}
  .cardTable .ua{max-width:100%}
  .cardTable tr.emptyStateRow{background:none;border:none;padding:0;margin-bottom:0}
  .cardTable td.emptyRow{text-align:center;padding:20px 0;color:var(--muted)}
}

/* v92 -- public (non-admin) site nav: hamburger drawer at narrow widths.
   .topbar is already position:sticky (a positioned value), so the dropdown
   below needs no extra positioning context added to it. Desktop (>640px)
   is unchanged: .nav-toggle stays hidden and .nav renders exactly as it
   always has. This is the SAME site header used on admin pages too (one
   shared partials/head.ejs), so admins viewing the public site get this
   too -- the existing adminAuthed/userAuthed/else EJS conditionals inside
   <nav> are untouched, only wrapped. */
.nav-toggle{display:none;background:transparent;border:1px solid var(--line);border-radius:12px;width:44px;height:44px;align-items:center;justify-content:center;flex-direction:column;gap:4px;cursor:pointer;flex-shrink:0}
.nav-toggle span{display:block;width:22px;height:2px;background:#fff;border-radius:2px;transition:transform .15s,opacity .15s}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
@media(max-width:640px){
  .nav-toggle{display:flex}
  .nav{display:none;flex-direction:column;align-items:stretch;gap:2px;position:absolute;top:100%;left:0;right:0;background:var(--panel,#0d1c30);border:1px solid var(--line);border-radius:0 0 16px 16px;padding:10px;box-shadow:0 20px 40px rgba(0,0,0,.35);z-index:5}
  .nav.nav-open{display:flex}
  .nav>a,.nav>button,.nav>form{width:100%}
  .nav>a,.nav>button{justify-content:flex-start;padding:12px 14px}
  .nav>form{margin:0}
  .nav>form>.linkbtn{display:flex;align-items:center;width:100%;justify-content:flex-start;padding:12px 14px;min-height:44px;text-align:left}
}

/* v93 -- landscape "Tap to Unmute" fix. Root cause: .unmute-btn is reset to
   position:static on mobile (so it lays out inline with the quality badge
   in .playerInfoRow), but in theaterMode (landscape auto-fullscreen)
   .customTimeline becomes position:absolute, spanning the full width and
   pinned to the bottom -- and nothing repositioned .playerInfoRow to clear
   it. The two ended up fully overlapping (confirmed via
   document.elementFromPoint at the button's visible center, which returned
   #ctTime -- the timeline's own time display -- not the button). This
   restores absolute positioning for just this state, at the same 76px
   bottom clearance already used by .playerGestureLayer/.playerOverlaySeek
   in theaterMode, so it sits in the existing gap above the timeline rather
   than on top of it. */
.playerCard.mobilePlayer.theaterMode .unmute-btn{position:absolute;left:50%;transform:translateX(-50%);bottom:calc(76px + env(safe-area-inset-bottom,0px));z-index:5}

/* v95 — landscape/theaterMode (mobile auto-fullscreen): the quality badge
   (HD/1080p) is JS-driven to hidden=false whenever a quality source is
   known (applyQualityBadge() in game.ejs), so on a mobile-optimized game it
   sat permanently in the small gap above the timeline alongside "Tap to
   Unmute", eating real video space. Tap-to-Unmute already self-hides via
   its own volumechange listener once unmuted, so it never persists after
   audio is enabled; the badge has no such listener, so it's hidden
   unconditionally in this state instead. Deliberately NOT a JS
   tap-to-reveal-controls layer: v69/overlay-controls.js already found that
   pattern silently steals taps meant for native iOS video controls (most
   visibly Tap to Unmute itself) when built as a full-bleed mobile gesture
   layer, so this pass doesn't reintroduce one. Portrait/embedded and
   desktop are both untouched — the badge still shows there as before. */
.playerCard.mobilePlayer.theaterMode .playerQualityBadge{display:none!important}

/* v96 — Desktop/tablet Theater Mode: a wider, centered, page-context-
   preserving view (the player expands; the page/site around it stays put
   and scrollable). Deliberately a DIFFERENT class name (.theaterWide) from
   .theaterMode (the existing MOBILE landscape auto-fullscreen overlay --
   position:fixed;inset:0;z-index:1000, hides the rest of the page
   entirely) so the two mechanisms can never collide; :not(.mobilePlayer)
   on the layout rule is defense in depth on top of the toggle button
   itself being display:none below the breakpoint, so this can't be
   triggered from a touch/mobile session at all. #player already resizes
   itself to fill .playerCard's width while preserving aspect ratio via
   max-height (proven by the existing width:100%;max-height:76vh base
   rule) -- widening .playerCard is therefore sufficient on its own for
   the video and every absolutely-positioned overlay on it (seek buttons,
   timeline, quality badge, unmute button) to scale/reposition together,
   with no per-child changes needed. left:50%+translateX(-50%) breaks the
   card out of .page's centered max-width column without needing to
   restructure the page -- min(96vw,1680px) guarantees it can never exceed
   the viewport (and therefore never causes horizontal overflow) by
   construction, not by a viewport-width media query. .page already has no
   sidebar (single-column, width:min(1440px,100%);margin:auto), so there
   is nothing beside the player that Theater needs to squeeze out; Clips
   already renders below the player, not beside it. Sized at 96vw/1680px
   rather than the initially-suggested 92vw/1600px because .page's own
   padding is already narrow (clamp(14px,3vw,40px) each side) -- at
   typical laptop widths (1280-1440px) .page already fills ~94% of the
   viewport, so 92vw/1600px came out NARROWER than normal there. The wider
   figures keep Theater a real (if modest, ~3-5%) improvement at
   1280-1440px, growing substantially larger past ~1440px where .page's
   own 1440px cap otherwise leaves increasing unused space untouched. */
.theaterToggleBtn{display:none;align-items:center;gap:6px;position:absolute;top:14px;right:14px;z-index:6;min-height:36px;padding:6px 12px;border-radius:999px;background:rgba(6,16,29,.7);border:1px solid var(--line);color:#fff;font:inherit;font-size:12px;font-weight:800;cursor:pointer;backdrop-filter:blur(8px)}
.theaterToggleBtn .theaterIcon{width:16px;height:11px;border:2px solid currentColor;border-radius:2px;flex:0 0 auto}
.theaterToggleBtn[aria-pressed="true"] .theaterIcon{background:currentColor}
/* Desktop-only auto-hide, like a real player control: JS toggles
   .controlsVisible on mouse activity/idle (see the theaterToggleBtn
   script in game.ejs); :focus-visible is a pure-CSS safety net so keyboard
   users always see it regardless of any JS/timer state. Mobile is
   untouched -- the button stays display:none there per the rule above,
   so none of this opacity/pointer-events machinery ever applies. */
@media(min-width:901px) and (hover:hover) and (pointer:fine){
  .theaterToggleBtn{display:flex;opacity:0;pointer-events:none;transition:opacity .25s ease}
  .theaterToggleBtn.controlsVisible,.theaterToggleBtn:focus-visible{opacity:1;pointer-events:auto}
}
.playerCard.theaterWide:not(.mobilePlayer){width:min(96vw,1680px);max-width:min(96vw,1680px);position:relative;left:50%;transform:translateX(-50%)}
.playerCard.theaterWide:not(.mobilePlayer) #player{max-height:85vh}

/* v97 — Desktop/tablet Related Videos rail + two-column game-page layout.
   .gameMain wraps EVERYTHING the game page already rendered (watchHeader
   through shareBox) with zero styling of its own below the tablet
   breakpoint -- a plain, unstyled block div is a visual no-op, so mobile
   is provably unchanged there. .relatedRail is its sibling (not a
   descendant), which matters for two independent reasons: (1) grid
   stacking order in Theater/tablet mode is free -- .gameMain simply comes
   first in source order, so collapsing to a single column puts Related
   below the player with no explicit "order" needed; (2) true browser
   Fullscreen (the native <video controls> button -- desktop has no
   separate custom fullscreen trigger, unlike mobile's orientation-driven
   landscape-fullscreen.js) promotes ONLY the <video> element itself to the
   top layer, never any ancestor/sibling, so Related Videos and all page
   chrome are already completely hidden during real fullscreen by native
   browser behavior alone -- nothing here needs to detect fullscreenchange
   or hide anything itself. Same reasoning covers "return to
   Theater/Normal correctly on exit": fullscreen never touches
   .theaterWide/.theaterWideActive at all, so whichever was active before
   is still exactly what's active after, automatically.
   Cards reuse the EXACT .card/.media/.cardvid/.playBadge/.qualityBadge
   markup + CSS already proven on the main games grid (views/games.ejs) --
   same content-visibility:auto lazy-rendering, same bounded-pool
   hover-preview manager (public/js/autoplay-cards.js queries
   `video.cardvid` document-wide, not scoped to .grid), so Related cards
   get the exact same already-vetted performance characteristics for free,
   with no new component. */
.gameMain{min-width:0}
.relatedRail{display:none}
.relatedTitle{font-size:20px;margin:0 0 16px}
.relatedEmpty{color:var(--muted)}
@media(min-width:901px){
  .relatedRail{display:block;margin-top:32px}
  .relatedList{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
}
@media(min-width:1280px){
  .gameLayout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,380px);gap:28px;align-items:start}
  .relatedRail{margin-top:0}
  .relatedList{display:flex;flex-direction:column;gap:14px}
  .relatedCard .media{aspect-ratio:16/9}
}
/* Theater: the narrow side rail would eat directly into the width Theater
   Mode is trying to gain, so it collapses to the same single-column,
   Related-below-the-player layout used at tablet widths, regardless of
   how wide the viewport actually is. */
body.theaterWideActive .gameLayout{display:block}
body.theaterWideActive .relatedRail{margin-top:32px}
body.theaterWideActive .relatedList{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
/* v85 — duplicate-game notice on the Add Game form. Reuses .alert/.secondaryBtn
   (already proven mobile-safe elsewhere) rather than any new component; this
   just stacks the message above a full-width-on-mobile action link so neither
   ever needs horizontal scroll or can end up clipped off-screen. */
.duplicateAlert p{margin:0 0 10px}
.duplicateAlert .secondaryBtn{display:inline-flex}
@media(max-width:600px){.duplicateAlert .secondaryBtn{width:100%}}


/* Player controls: desktop means a hover-capable, fine primary pointer.
   Width alone includes landscape phones and tablets. */
@media (hover:none), (pointer:coarse), (max-width:900px) {
  .theaterToggleBtn,.playerOverlaySeek,.seekFeedback{display:none!important}
}
.playerCard.mobilePlayer .theaterToggleBtn,
.playerCard.mobilePlayer .playerOverlaySeek{display:none!important}
.playerOverlaySeek:not(.visible) .overlaySeekBtn{pointer-events:none}
.playerOverlaySeek:has(.overlaySeekBtn:focus-visible){opacity:1}
.playerOverlaySeek .overlaySeekBtn:focus-visible{pointer-events:auto}
/* The brief autoplay hint belongs at the top, never over the goal timeline. */
.playerCard .unmute-btn,
.playerCard.mobilePlayer .unmute-btn,
.playerCard.mobilePlayer.theaterMode .unmute-btn{
  position:absolute;top:12px;bottom:auto;left:50%;transform:translateX(-50%);
  z-index:5;margin:0;min-height:36px;padding:8px 14px
}
.playerCard .unmute-btn[hidden]{display:none!important}

/* Official GotSport/CSL match crests. Logo fields are populated only for an exact official schedule match. */
.teamsWithLogos{align-items:center}.teamSide{min-width:0;display:grid;justify-items:start;gap:7px}.teamSideAway{justify-items:end;text-align:right}.teamCrest{width:48px;height:48px;display:grid;place-items:center;filter:drop-shadow(0 7px 8px rgba(0,0,0,.42))}.teamCrest img,.gameCrest img{width:100%;height:100%;object-fit:contain}.teamLabel{line-height:1.15;overflow-wrap:anywhere}.watchHeaderWithLogos{padding-bottom:24px}.gameMatchup{width:min(760px,100%);margin:17px auto 0;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:22px}.gameTeam{min-width:0;display:grid;justify-items:center;gap:9px;font-size:clamp(18px,2.2vw,28px);font-weight:900;line-height:1.12}.gameCrest{width:78px;height:78px;display:grid;place-items:center;filter:drop-shadow(0 10px 12px rgba(0,0,0,.45))}.gameMatchup>strong{font-size:clamp(28px,4vw,46px);color:var(--lime);white-space:nowrap}.gameMatchup>strong i{font-style:normal;color:var(--muted);padding:0 5px}@media(max-width:600px){.teamCrest{width:42px;height:42px}.gameMatchup{gap:8px;margin-top:14px}.gameCrest{width:56px;height:56px}.gameTeam{font-size:14px}.gameMatchup>strong{font-size:24px}.watchHeaderWithLogos{padding-left:4px;padding-right:4px}}


/* v100 TV-device controls beside the playing-quality badge. */
.playerBadgeTools{position:absolute;left:14px;top:14px;z-index:6;display:flex;align-items:center;gap:7px;max-width:calc(100% - 28px)}
.playerBadgeTools .playerQualityBadge{position:static;left:auto;top:auto;max-width:none;flex:0 0 auto}
.streamControlGroup{display:flex;align-items:center;gap:6px;min-width:0}
.streamIconBtn{-webkit-appearance:none;appearance:none;width:28px;height:28px;min-width:28px;padding:0;border-radius:7px;display:grid;place-items:center;background:transparent;border:0;color:#fff;box-shadow:none;backdrop-filter:none;opacity:.95}
.streamIconBtn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.streamIconBtn:hover,.streamIconBtn:focus-visible{color:var(--lime);background:rgba(167,255,63,.08);outline:1px solid rgba(167,255,63,.45);outline-offset:0}
.streamIconBtn.active,.streamIconBtn[data-connected="1"]{color:var(--lime);background:rgba(167,255,63,.10);outline:1px solid rgba(167,255,63,.65)}
.streamIconBtn[hidden],.remotePlaybackStatus[hidden]{display:none!important}
.remotePlaybackStatus{font-size:11px;color:var(--lime);font-weight:800}
.desktopMediaControls{display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px 12px;background:#000;border-top:1px solid rgba(255,255,255,.08)}
.mobileMediaBtn{min-height:44px;min-width:52px;padding:8px 12px;border-radius:999px;background:rgba(7,17,31,.86);border:1px solid rgba(255,255,255,.22);color:#fff;font:inherit;font-size:13px;font-weight:850;line-height:1;backdrop-filter:blur(8px)}
.mobilePlayPause{min-width:48px}
.playerCard.mobilePlayer .desktopMediaControls{display:none!important}
.playerCard.mobilePlayer .playerBadgeTools{position:static;left:auto;top:auto;z-index:auto;display:flex;align-items:center;gap:7px;max-width:100%}
.playerCard.mobilePlayer .streamIconBtn{width:30px;height:30px;min-width:30px;padding:0}
.playerCard.mobilePlayer .remotePlaybackStatus{display:none!important}
.playerCard.mobilePlayer:not(.theaterMode) .playerInfoRow{opacity:1;visibility:visible;pointer-events:auto}
.playerCard.mobilePlayer.theaterMode .playerInfoRow{position:absolute;left:max(12px,env(safe-area-inset-left,0px));right:max(12px,env(safe-area-inset-right,0px));bottom:calc(70px + env(safe-area-inset-bottom,0px));z-index:9;margin:0;padding:0;display:flex;justify-content:center;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px) scale(.98);transition:opacity .16s ease,transform .16s ease,visibility 0s linear .16s}
.playerCard.mobilePlayer.theaterMode .playerInfoRow.controlsVisible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1);transition-delay:0s}
.playerCard.mobilePlayer.theaterMode .playerInfoRow.controlsVisible .playerQualityBadge{display:inline-flex!important}
.playerCard.mobilePlayer.theaterMode .playerInfoRow:not(.controlsVisible) *{pointer-events:none!important}
.playerCard.mobilePlayer.theaterMode .playerBadgeTools{background:rgba(0,0,0,.38);border-radius:999px;padding:5px 7px;backdrop-filter:blur(8px)}
.playerCard.mobilePlayer.theaterMode{width:100vw;width:100dvw;height:100vh;height:100dvh;max-width:none;max-height:none}
.playerCard.mobilePlayer.theaterMode #player{width:100%;height:100%;max-height:none;min-height:0;object-fit:contain}
@media(max-width:430px){.streamControlGroup{gap:5px}.streamIconBtn{width:28px;height:28px;min-width:28px;padding:0}}


/* v101 expiring public game-share UI */
body.shareModalOpen{overflow:hidden}
.shareModal[hidden]{display:none!important}.shareModal{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;padding:18px}.shareModalBackdrop{position:absolute;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(5px)}.shareModalCard{position:relative;z-index:1;width:min(760px,100%);max-height:min(90dvh,900px);overflow:auto;background:linear-gradient(180deg,rgba(16,39,66,.99),rgba(7,17,31,.99));border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:0 30px 90px rgba(0,0,0,.55)}.shareModalCard h2{margin:7px 42px 6px 0;font-size:30px}.shareModalIntro{margin:0 0 18px;color:var(--muted)}.shareModalClose{position:absolute;right:14px;top:14px;width:38px;height:38px;padding:0;border-radius:50%;font-size:26px;line-height:1}.shareLinkPanel{display:grid;gap:10px;padding:14px;border:1px solid var(--line);background:#081526;border-radius:16px}.shareLinkPanel label,.shareSendCard label{display:grid;gap:7px;font-size:12px;font-weight:850}.shareLinkPanel input{font-size:13px}.shareExpiryText{margin:0;color:var(--lime);font-size:12px;font-weight:800}.shareQuickActions{display:flex;gap:8px;flex-wrap:wrap}.shareQuickActions button{min-height:44px}.shareSendGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.shareSendCard{display:grid;gap:10px;padding:14px;border:1px solid var(--line);border-radius:16px;background:rgba(7,17,31,.55)}.shareSendCard button{min-height:44px}.shareModalStatus{min-height:20px;margin:14px 0 0;color:var(--muted);font-weight:750}.shareModalStatus[data-kind="error"]{color:#ffb4a2}.publicShareBanner{margin:20px auto 0;width:min(820px,100%);display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:11px 16px;border:1px solid rgba(167,255,63,.32);border-radius:14px;background:rgba(167,255,63,.08);text-align:center}.publicShareBanner strong{color:var(--lime)}.publicShareBanner span{color:var(--muted);font-size:13px}.shareExpiredWrap{min-height:calc(100vh - 180px);display:grid;place-items:center;padding:40px 0}.shareExpiredCard{width:min(680px,100%);padding:34px;border:1px solid var(--line);border-radius:24px;background:var(--panel);text-align:center}.shareExpiredCard h1{font-size:clamp(34px,6vw,58px);margin:10px 0 14px}.shareExpiredCard p{margin:0 auto;color:var(--muted);font-size:17px;line-height:1.6;max-width:560px}
@media(max-width:640px){.shareModal{padding:8px}.shareModalCard{padding:20px 14px 18px;border-radius:18px;max-height:96dvh}.shareModalCard h2{font-size:26px}.shareSendGrid{grid-template-columns:1fr}.shareQuickActions{display:grid;grid-template-columns:1fr 1fr}.shareQuickActions .primary{grid-column:1/-1}.shareBox{gap:14px}.shareBox>button{width:100%}.shareExpiredCard{padding:24px 18px}}

.publicSharePage .relatedRail{display:none!important}

/* v103 — Public-share desktop alignment. The guest banner and matchup header
   occupy the exact same left/main column as the player when Related Games
   becomes a desktop side rail. This keeps the entire top section centered
   over the video instead of centered across video + rail. */
@media(min-width:1280px){
  body.publicSharePage .page{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,380px);column-gap:28px;align-items:start}
  body.publicSharePage .publicShareBanner{grid-column:1;width:min(820px,100%);margin-left:auto;margin-right:auto}
  body.publicSharePage .watchHeader{grid-column:1;width:100%;margin-left:0;margin-right:0}
  body.publicSharePage .gameLayout{grid-column:1/-1;width:100%}
}

/* v104 — focused public-share shell: keep team branding, remove account/admin navigation, and give guest-access notice breathing room. */
body.publicSharePage .nav,body.publicSharePage .nav-toggle{display:none!important}
body.publicSharePage .topbar{justify-content:center}
body.publicSharePage .topbar .brand{justify-content:center}
body.publicSharePage .topbar .brand img{object-position:center}
body.publicSharePage .publicShareBanner{margin-top:28px;margin-bottom:4px}
.publicShareCountdown{color:var(--lime)!important;font-weight:900}
.publicShareUntil{color:var(--muted);font-size:12px}
@media(max-width:600px){body.publicSharePage .publicShareBanner{margin-top:18px}.publicShareUntil{width:100%}}
/* generic standings system */
/* v105 — Ventura Surf official National 1 standings. Same site theme; compact preview expands in place so it also works inside 24-hour guest links. */
.standingsCard{margin:22px 0;background:linear-gradient(180deg,rgba(13,28,48,.96),rgba(8,21,38,.98));border:1px solid var(--line);border-radius:20px;padding:20px;overflow:hidden}.standingsHead{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}.standingsHead h2{margin:4px 0 3px;font-size:22px}.standingsHead p{margin:0;color:var(--muted);font-size:13px}.standingsHeadMeta{display:grid;justify-items:end;gap:4px;font-size:12px}.standingsHeadMeta a{color:var(--cyan);font-weight:850}.standingsHeadMeta span{color:var(--muted)}.standingsTableWrap{overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:rgba(2,12,24,.38)}.standingsTable{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}.standingsTable th{padding:10px 12px;text-align:center;color:var(--muted);font-size:10px;letter-spacing:.8px;text-transform:uppercase;background:rgba(255,255,255,.035);white-space:nowrap}.standingsTable th.stTeam{text-align:left}.standingsTable td{padding:11px 12px;text-align:center;border-top:1px solid rgba(255,255,255,.07);white-space:nowrap}.standingsTable td.stTeam{text-align:left;white-space:normal}.stTeamName{font-weight:780}.stYourTeam{display:inline-flex;margin-left:8px;padding:3px 7px;border-radius:999px;border:1px solid rgba(0,229,255,.55);color:var(--cyan);font-size:9px;font-weight:950;letter-spacing:.55px;vertical-align:1px}.standingsRow.standingOurTeam{background:linear-gradient(90deg,rgba(0,229,255,.18),rgba(167,255,63,.08));box-shadow:inset 3px 0 0 var(--cyan),inset -1px 0 0 rgba(167,255,63,.65)}.standingsRow.standingOurTeam td{border-top-color:rgba(0,229,255,.34);border-bottom:1px solid rgba(0,229,255,.3)}.standingsRow.standingOurTeam .stTeamName,.standingsRow.standingOurTeam .stRank,.standingsRow.standingOurTeam .stPts{color:#fff;font-weight:950}.standingsTable .positive{color:var(--lime)}.standingsTable .negative{color:#ff8181}.standingsRow.standingExtra{display:none}.standingsExpanded .standingsRow.standingExtra{display:table-row}.standingsToggle{width:100%;margin-top:10px;min-height:42px;display:flex;align-items:center;justify-content:center;gap:8px;background:transparent;border-color:rgba(0,229,255,.25);color:var(--cyan)}.standingsToggle:hover{border-color:rgba(0,229,255,.6);background:rgba(0,229,255,.06)}
@media(max-width:700px){.standingsCard{padding:15px 12px;border-radius:17px}.standingsHead{align-items:flex-start;flex-direction:column;gap:8px}.standingsHeadMeta{justify-items:start}.standingsTable th,.standingsTable td{padding:10px 7px}.standingsTable .stW,.standingsTable .stD,.standingsTable .stL,.standingsTable .stGF,.standingsTable .stGA{display:none}.standingsTable .stTeam{min-width:160px}.stYourTeam{display:block;width:max-content;margin:4px 0 0}.standingsTable{font-size:12px}}
@media(max-width:420px){.standingsTable .stMP,.standingsTable .stGD{display:none}.standingsTable .stTeam{min-width:0}.standingsCard{margin-left:0;margin-right:0}}

/* v106 — compact standings on Games landing + dedicated standings page. */
.landingStandings{margin:18px 0 0;border:1px solid rgba(0,229,255,.2);border-radius:16px;background:linear-gradient(180deg,rgba(13,28,48,.9),rgba(8,21,38,.94));overflow:hidden}.landingStandingsToggle{width:100%;min-height:72px;padding:12px 16px;border:0;border-radius:0;background:transparent;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;text-align:left}.landingStandingsToggle:hover{background:rgba(0,229,255,.045)}.landingStandingsTitle{display:grid;gap:2px;min-width:0}.landingStandingsTitle .eyebrow{font-size:9px}.landingStandingsTitle strong{font-size:16px}.landingStandingsTitle small{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.landingStandingsRank{display:flex;align-items:center;gap:8px;padding:7px 11px;border:1px solid rgba(167,255,63,.25);border-radius:999px;background:rgba(167,255,63,.06)}.landingStandingsRank b{font-size:18px;color:var(--lime)}.landingStandingsRank span{font-size:11px;color:var(--muted);font-weight:850}.landingStandingsAction{color:var(--cyan);font-size:12px;font-weight:900;white-space:nowrap}.landingStandingsBody{padding:0 14px 14px}.landingStandingsBody[hidden]{display:none!important}.landingStandingsTableWrap{overflow-x:auto;border:1px solid var(--line);border-radius:13px}.landingStandingsFull{display:flex;justify-content:center;margin-top:10px;padding:10px;color:var(--cyan);font-size:12px;font-weight:900}.standingsPageHead{padding:42px 0 8px}.standingsPageHead h1{margin:5px 0 7px;font-size:clamp(36px,6vw,62px);letter-spacing:-2px}.standingsPageHead p{margin:0;color:var(--muted)}.standingsStandalone .standingsCard{margin-top:14px}.standingsStandalone .standingExtra{display:table-row}.standingsStandalone .standingsToggle{display:none}
@media(max-width:700px){.landingStandings{margin-top:12px}.landingStandingsToggle{grid-template-columns:minmax(0,1fr) auto;gap:10px;min-height:66px;padding:11px 12px}.landingStandingsRank{grid-column:2;grid-row:1}.landingStandingsAction{grid-column:1/-1;border-top:1px solid var(--line);padding-top:8px;text-align:center}.landingStandingsBody{padding:0 8px 10px}.landingStandingsTable .stW,.landingStandingsTable .stD,.landingStandingsTable .stL{display:none}.standingsPageHead{padding-top:28px}}
@media(max-width:430px){.landingStandingsTable .stMP,.landingStandingsTable .stGD{display:none}}

/* v107 standings placement + team crests */
.stTeamCell{display:flex;align-items:center;gap:9px;min-width:0}.stTeamLogo{width:28px;height:28px;flex:0 0 28px;object-fit:contain;object-position:center}.landingStandings{margin:0 0 24px;background:linear-gradient(180deg,rgba(13,28,48,.94),rgba(8,21,38,.98));border:1px solid var(--line);border-radius:18px;padding:16px 18px}.landingStandingsHead{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px}.landingStandingsHead>div{display:grid;gap:2px}.landingStandingsHead strong{font-size:18px}.landingStandingsHead small{color:var(--muted)}.landingStandingsRank{display:flex;align-items:baseline;gap:8px}.landingStandingsRank b{font-size:24px;color:var(--cyan)}.landingStandingsRank span{color:var(--muted);font-weight:850}.landingStandingsTableWrap{overflow-x:auto;border:1px solid var(--line);border-radius:13px}.landingStandings .landingStandingExtra{display:none}.landingStandings.landingStandingsExpanded .landingStandingExtra{display:table-row}.landingStandingsActions{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:10px}.landingStandingsActions button,.landingStandingsActions a{min-height:40px;display:inline-flex;align-items:center;justify-content:center;padding:8px 13px;border:1px solid rgba(0,229,255,.25);border-radius:10px;background:transparent;color:var(--cyan);font-weight:850;font-size:12px}.landingStandingsActions button{gap:7px}.landingStandingsActions a:hover,.landingStandingsActions button:hover{background:rgba(0,229,255,.06);border-color:rgba(0,229,255,.6)}
@media(max-width:700px){.stTeamLogo{width:24px;height:24px;flex-basis:24px}.landingStandings{padding:13px 10px;margin-bottom:18px}.landingStandingsHead{align-items:flex-start}.landingStandingsHead strong{font-size:16px}.landingStandingsTable .stW,.landingStandingsTable .stD,.landingStandingsTable .stL{display:none}.landingStandingsActions{align-items:stretch;flex-direction:column;gap:7px}.landingStandingsActions button,.landingStandingsActions a{width:100%}}

.standingsPane,.landingStandingsPane{display:none}.standingsPane.active,.landingStandingsPane.active{display:block}.standingsTabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}.standingsTab{min-height:38px;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid var(--line);color:var(--muted);font-weight:850}.standingsTab.active{color:var(--cyan);border-color:rgba(0,229,255,.55);background:rgba(0,229,255,.09)}.landingStandingsCollection{margin:16px 0 24px}.landingStandingsTabs{margin-bottom:8px}

.stTeamLogoFallback{display:inline-flex!important;align-items:center;justify-content:center;background:rgba(255,255,255,.08);border:1px solid var(--line);color:var(--muted);font-size:10px;font-weight:950}
/* v106 — themed league dropdown */
.themedSelect{position:relative;min-width:0}.themedSelectNative{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}.themedSelectTrigger{width:100%;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;background:#081526;border:1px solid rgba(255,255,255,.13);color:#fff;border-radius:12px;padding:13px 42px 13px 14px;font:inherit;font-weight:700;position:relative;box-shadow:none}.themedSelectTrigger:after{content:'';position:absolute;right:16px;top:50%;width:8px;height:8px;border-right:2px solid var(--cyan);border-bottom:2px solid var(--cyan);transform:translateY(-65%) rotate(45deg);transition:transform .18s ease}.themedSelect.open .themedSelectTrigger{border-color:rgba(0,229,255,.58);box-shadow:0 0 0 3px rgba(0,229,255,.08)}.themedSelect.open .themedSelectTrigger:after{transform:translateY(-30%) rotate(225deg)}.themedSelectMenu{display:none;position:absolute;z-index:120;top:calc(100% + 8px);left:0;right:0;max-height:min(420px,60vh);overflow:auto;padding:7px;background:linear-gradient(180deg,rgba(13,28,48,.99),rgba(7,17,31,.99));border:1px solid rgba(0,229,255,.28);border-radius:14px;box-shadow:0 24px 65px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.02);backdrop-filter:blur(18px);overscroll-behavior:contain}.themedSelect.open .themedSelectMenu{display:block}.themedSelectOption{width:100%;min-height:42px;display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:7px;text-align:left;padding:9px 10px;background:transparent;border:0;border-radius:9px;color:var(--text);font:inherit;font-size:14px;font-weight:700}.themedSelectOption:hover,.themedSelectOption.active{background:#10243d;color:#fff}.themedSelectOption.selected{background:linear-gradient(135deg,#0b69ff,#08a4ff);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}.themedSelectCheck{color:#fff;font-weight:950;opacity:0;text-align:center}.themedSelectOption.selected .themedSelectCheck{opacity:1}.themedSelectLabel{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.themedSelectMenu::-webkit-scrollbar{width:10px}.themedSelectMenu::-webkit-scrollbar-track{background:transparent}.themedSelectMenu::-webkit-scrollbar-thumb{background:rgba(145,167,194,.32);border:3px solid transparent;background-clip:padding-box;border-radius:999px}
@media(max-width:760px){.themedSelectMenu{position:fixed;left:14px;right:14px;top:auto;bottom:18px;max-height:min(56vh,460px);border-radius:18px}.themedSelectOption{min-height:46px}.themedSelectTrigger{min-height:48px}}
/* v108 — dark league dropdown; only selected option is blue. Full labels on desktop/mobile. */
.search .themedSelectTrigger{background:#081526;color:#fff;border:1px solid rgba(255,255,255,.13);box-shadow:none}
.search .themedSelectTrigger:hover,.search .themedSelectTrigger:focus-visible{background:#0b1b2e;border-color:rgba(0,229,255,.48);color:#fff}
.search .themedSelect.open .themedSelectTrigger{background:#081526;border-color:rgba(0,229,255,.58);box-shadow:0 0 0 3px rgba(0,229,255,.08)}
.search .themedSelectMenu{background:#07111f;border-color:rgba(0,229,255,.28);min-width:max(100%,420px);width:max-content;max-width:min(620px,calc(100vw - 28px))}
.search .themedSelectOption{background:#081526;color:var(--text);box-shadow:none;border:1px solid transparent}
.search .themedSelectOption:hover,.search .themedSelectOption.active{background:#10243d;color:#fff;border-color:rgba(0,229,255,.16)}
.search .themedSelectOption.selected{background:linear-gradient(135deg,#0b69ff,#08a4ff);color:#fff;border-color:rgba(255,255,255,.16);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.search .themedSelectLabel{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.25;overflow-wrap:anywhere}
@media(max-width:760px){.search .themedSelectMenu{width:auto;min-width:0;max-width:none;left:14px;right:14px}.search .themedSelectOption{min-height:48px}.search .themedSelectLabel{font-size:14px}}

/* v110 — Admin standings management */
.standingsAdminIntro{display:flex;align-items:center;justify-content:space-between;gap:20px}.standingsAdminIntro h2{margin:0 0 6px}.standingsAdminIntro p{margin:0;max-width:850px}.standingsAdminGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.standingsAdminCard{margin:0}.standingsAdminCardHead{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.standingsAdminCardHead h2{margin:7px 0 3px}.standingsAdminCardHead p{margin:0}.standingsAdminRank{display:grid;justify-items:end;min-width:76px}.standingsAdminRank b{font-size:28px;color:var(--cyan)}.standingsAdminRank span{font-size:11px;color:var(--muted);font-weight:850}.statusPill{display:inline-flex;padding:4px 9px;border-radius:999px;border:1px solid var(--line);font-size:10px;font-weight:950;letter-spacing:.6px;text-transform:uppercase}.statusActive{color:var(--lime);border-color:rgba(167,255,63,.35);background:rgba(167,255,63,.07)}.statusScheduled{color:var(--cyan);border-color:rgba(0,229,255,.35);background:rgba(0,229,255,.07)}.statusArchived,.statusEnded,.statusDisabled,.statusInactive{color:var(--muted)}.standingsAdminMeta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0;padding:12px;border:1px solid var(--line);border-radius:13px;background:rgba(7,17,31,.45);font-size:12px;color:var(--muted)}.standingsAdminMeta b{color:var(--text)}.standingsAdminError{margin:0 0 12px;padding:10px 12px;border-radius:11px;background:rgba(255,90,90,.09);border:1px solid rgba(255,90,90,.25);color:#ffb4a2;font-size:12px}.standingsAdminActions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.standingsAdminActions form{margin:0}.standingsAdminEdit{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}.standingsAdminEdit summary{cursor:pointer;color:var(--cyan);font-weight:850}.standingsAdminForm{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.standingsAdminForm label{display:grid;gap:6px;font-size:12px;font-weight:850}.standingsAdminForm .span2{grid-column:1/-1}.standingsAdminForm textarea{resize:vertical;min-height:80px}.standingsAdminForm .checkLabel{display:flex;align-items:center;gap:9px}.standingsAdminForm .checkLabel input{width:auto;margin:0}.buttonLike{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.14);background:#142b48;color:#fff;border-radius:11px;padding:11px 15px;font-weight:800}.standingsAdminEdit[open] summary{margin-bottom:4px}
@media(max-width:900px){.standingsAdminGrid{grid-template-columns:1fr}.standingsAdminMeta{grid-template-columns:1fr}.standingsAdminIntro{align-items:flex-start;flex-direction:column}.standingsAdminForm{grid-template-columns:1fr}.standingsAdminForm .span2{grid-column:auto}}
