/* Sports Watch: dark, as the launcher's Sports tab. */
:root {
  --bg: #0b0d12;
  --text: #f2f4f8;
  --muted: rgba(242, 244, 248, .7);
  --faint: rgba(242, 244, 248, .45);
  --glass: rgba(255, 255, 255, .11);
  --glass-on: rgba(255, 255, 255, .2);
  --live: #ff6b6b;
  --ink: #14161c;
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font: 16px/1.3 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  background: var(--bg);
  isolation: isolate;   /* keeps the glow layer above the plain background */
  -webkit-text-size-adjust: 100%;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

header {
  position: sticky; top: 0; z-index: 5;
  padding: calc(env(safe-area-inset-top) + 10px) 16px 10px;
  background: linear-gradient(var(--bg) calc(100% - 10px), rgba(11, 13, 18, 0));   /* solid behind the pickers */
}
.top { display: flex; align-items: center; gap: 8px; }
h1 { font-size: 24px; font-weight: 700; margin: 0; flex: 1; letter-spacing: -.01em; }
.icon {
  width: 40px; height: 40px; border-radius: 20px; background: var(--glass);
  display: grid; place-items: center;
}
.icon:active { background: var(--glass-on); }

.pills {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 12px -16px 0; padding: 0 16px 2px;
}
.pills::-webkit-scrollbar { display: none; }
.pill {
  flex: none; height: 34px; padding: 0 15px; border-radius: 17px;
  background: var(--glass); font-size: 15px; font-weight: 600; color: var(--muted); white-space: nowrap;
}
.pill.on { background: var(--text); color: var(--ink); }

/* the two pickers under the title, Sport and Competition, the same size */
.pickers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.picker { display: block; min-width: 0; }
.picker select {
  -webkit-appearance: none; appearance: none; width: 100%; height: 36px; border: 0; border-radius: 18px;
  padding: 0 30px 0 14px; background: var(--glass) no-repeat right 12px center / 12px 12px; color: var(--text);
  font: 600 15px -apple-system, BlinkMacSystemFont, sans-serif; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23c8ccd4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

main { padding: 0 16px calc(env(safe-area-inset-bottom) + 40px); }
.day { font-size: 19px; font-weight: 700; margin: 18px 0 8px; }
.day:first-child { margin-top: 8px; }
.sport { font-size: 14px; font-weight: 600; color: var(--muted); margin: 14px 0 6px; }
.note { color: var(--muted); margin: 6px 0; }

/* shared: the eye (no box), channels two to a row, scores in places of their own */
.eye { width: 40px; height: 40px; display: grid; place-items: center; color: var(--muted); flex: none; }
.eye.open { color: var(--text); }
.eye:active { opacity: .6; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1; min-width: 0; }
.watch {
  display: flex; align-items: center; gap: 8px; min-height: 50px; padding: 6px 8px 6px 6px; border-radius: 12px;
  background: var(--glass); color: inherit; text-decoration: none; min-width: 0;
}
.watch:active, .iconbtn:active { background: var(--glass-on); }
.watch.off, .iconbtn.off { opacity: .45; }
.tile {
  width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; flex: none; object-fit: cover;
  font-size: 12px; font-weight: 800; background: rgba(255, 255, 255, .14); color: var(--text);
}
.w { display: flex; flex-direction: column; min-width: 0; }
.ch { font-size: 13.5px; font-weight: 600; line-height: 16px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.how { font-size: 11.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notebtn {
  grid-column: 1 / -1; display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 12px;
  font-size: 13px; color: var(--muted); background: rgba(255, 255, 255, .06);
}
.icons { display: grid; grid-template-columns: repeat(2, 32px); gap: 6px; flex: none; align-content: start; justify-content: end; width: 70px; }
.iconbtn { width: 32px; height: 32px; border-radius: 8px; display: block; }
.iconbtn .tile { width: 32px; height: 32px; border-radius: 8px; font-size: 10px; }
.tinynote { grid-column: 1 / -1; font-size: 11px; color: var(--faint); text-align: right; }
.crest { width: 22px; height: 22px; object-fit: contain; flex: none; }
.crest.none { display: inline-block; }
.sc { min-width: 44px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; flex: none; }
.blank { display: inline-block; width: 14px; height: 18px; vertical-align: middle; }   /* hidden: an empty place (the eye says so) */
.more { width: 34px; height: 34px; border-radius: 17px; background: var(--glass); font-size: 18px; line-height: 1; color: var(--muted); flex: none; }

/* Cards */
.card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .06); border-radius: 18px; padding: 12px 14px 14px; margin-bottom: 12px; }
.card .head { display: flex; align-items: center; gap: 6px; min-height: 40px; }
.comp { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.head .comp { flex: 1; margin: 0; }
.eye.none { visibility: hidden; }   /* its place kept */
.head .eye { margin: -6px 0; }
.stat { font-size: 14px; font-weight: 700; white-space: nowrap; }
.stat { min-width: 44px; text-align: right; }
.stat.live { color: #34c759; }   /* on now: green */
.stat.past { color: var(--faint); }
.sides { margin: 2px 0 4px; }
.side { display: flex; align-items: center; gap: 10px; height: 34px; font-size: 17px; font-weight: 600; }
.side .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side .sc { font-size: 18px; }
.foot { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .07); }

#toast {
  position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 24px); transform: translate(-50%, 20px);
  background: rgba(40, 44, 54, .96); padding: 10px 16px; border-radius: 20px; font-size: 14px;
  opacity: 0; transition: .25s; pointer-events: none; max-width: 90vw; text-align: center; z-index: 20;
}
#toast.on { opacity: 1; transform: translate(-50%, 0); }

/* panels from the bottom: Settings, and following a match's teams */
.sheetback {
  position: fixed; inset: 0; z-index: 10; background: rgba(0, 0, 0, .55);
  display: flex; align-items: flex-end; animation: fade .2s;
}
.sheet {
  width: 100%; max-height: 86vh; display: flex; flex-direction: column;
  background: #1a1d25; border-radius: 22px 22px 0 0;
  padding: 16px 16px calc(env(safe-area-inset-bottom) + 16px);
  animation: up .25s ease-out;
}
@keyframes up { from { transform: translateY(40px); opacity: .5; } }
@keyframes fade { from { opacity: 0; } }
.sheethead { display: flex; align-items: center; flex: none; }
.sheethead h2 { flex: 1; margin: 0; font-size: 21px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.close {   /* a round × at the top right: in the same place on every pop-up */
  flex: none; width: 34px; height: 34px; margin-left: 12px; border-radius: 17px; background: var(--glass);
  color: var(--text); font-size: 24px; line-height: 1; display: grid; place-items: center; padding: 0 0 2px;
}
.close:active { background: var(--glass-on); }
.sheetpills { margin: 14px 0 4px; padding: 0; flex: none; }
.sheetpills { gap: 4px; }
.sheetpills .pill { flex: 1; min-width: 0; padding: 0 4px; font-size: 13px; }
.sheetbody { overflow-y: auto; margin-top: 10px; -webkit-overflow-scrolling: touch; }
.sub { color: var(--muted); font-size: 13px; margin: 4px 2px 10px; }
.sub.gap { margin-top: 18px; }
.row {
  width: 100%; display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 12px;
  border-radius: 12px; text-align: left;
}
button.row:active { background: var(--glass); }
.row .label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.row .right { color: var(--muted); font-size: 14px; white-space: nowrap; }
.row .right.ok { color: #34c759; font-weight: 600; }
.rule { height: 1px; background: rgba(255, 255, 255, .08); margin: 14px 12px; }
.x { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 17px; color: var(--faint); font-size: 22px; }
.x:active { background: var(--glass); color: var(--live); }
.add { margin: 4px 0 8px; }
.add input {
  width: 100%; height: 44px; border-radius: 12px; border: 0; padding: 0 14px;
  background: var(--glass); color: var(--text); font: inherit; font-size: 16px; outline: none;
}
.add input::placeholder { color: var(--faint); }
.found { margin-bottom: 8px; }

/* pull down to refresh: a spinner over the top (the list itself stays put) */
.pull {
  position: fixed; left: 50%; top: calc(env(safe-area-inset-top) + 4px); z-index: 8; width: 40px; height: 40px;
  border-radius: 20px; background: #262a33; display: grid; place-items: center; opacity: 0; color: var(--muted);
  transform: translate(-50%, 0); box-shadow: 0 6px 20px rgba(0, 0, 0, .45); pointer-events: none;
}
.pull.ready { color: var(--text); }
.pull.spinning { opacity: 1 !important; transform: translate(-50%, 70px) !important; color: var(--text); }
.pull.spinning svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* the 30-day backup reminder: in front of everything until backed up */
.gate { position: fixed; inset: 0; z-index: 30; background: rgba(11, 13, 18, .94); display: grid; place-items: center; padding: 24px; }
.gatebox { max-width: 340px; text-align: center; }
.gateicon { width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 20px; background: var(--glass); display: grid; place-items: center; color: #7aa7ff; }
.gatebox h2 { margin: 0 0 10px; font-size: 22px; }
.gatebox p { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.gatebtn { width: 100%; height: 52px; border-radius: 14px; background: var(--text); color: var(--ink); font-size: 17px; font-weight: 700; }
.gatebox .gatehint { font-size: 12.5px; color: var(--faint); margin: 12px 0 0; }

/* Settings: the whole screen, the title and pills fixed at the top, only the list under them scrolls */
html, body { overscroll-behavior-y: none; }
.sheetback.full { align-items: stretch; background: var(--bg); animation: none; }
.sheetback.full .sheet {
  height: 100%; max-height: none; border-radius: 0; animation: none; background: #14171e;
  padding: calc(env(safe-area-inset-top) + 12px) 16px calc(env(safe-area-inset-bottom) + 16px);
}
.sheetbody { flex: 1; min-height: 0; overscroll-behavior: contain; }
.bigbtn { width: 100%; height: 52px; border-radius: 14px; background: var(--text); color: var(--ink); font-size: 17px; font-weight: 700; margin-top: 12px; }
.bigbtn.second { background: var(--glass); color: var(--text); }
.bigbtn:active { opacity: .8; }

/* the bell: notifications for a match (filled, yellow: on). Its place is kept even where there's no bell. */
.bell { width: 36px; height: 36px; display: grid; place-items: center; color: var(--muted); flex: none; border-radius: 18px; }
.bell.on { color: #ffd60a; }
.bell.none { visibility: hidden; }
.bell:active { opacity: .6; }
.head .bell { margin: -6px -4px; }

/* backup: the sign-in-style form iPhone saves to Passwords (the name, then the code as dots) */
.keyform { margin: 4px 0 6px; }
.keyform input {
  width: 100%; height: 44px; border-radius: 12px; border: 0; padding: 0 14px; margin-bottom: 8px;
  background: var(--glass); color: var(--text); font: inherit; font-size: 16px; outline: none;
}
.keyform .keyname { color: var(--muted); }
.keyform .bigbtn { margin-top: 4px; }
.keyform .bigbtn:disabled { opacity: .5; }
.row .right.code { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--text); user-select: all; -webkit-user-select: all; }
.keyform.hidden, .bigbtn.hidden { display: none; }
.keyform .bigbtn:disabled { opacity: .35; }
/* the backup password box before it's filled: the step to take first (a dashed, lit box, centred like a button) */
.keyform .keycode.first {
  border: 1.5px dashed #7aa7ff; background: rgba(122, 167, 255, .1); text-align: center; height: 52px;
}
.keyform input[autocomplete="new-password"] { caret-color: transparent; cursor: pointer; }   /* a button, not a text box */
.keyform .keycode.first::placeholder { color: #9ec0ff; font-weight: 600; }

/* opening: only the spinner shows; the header and list stay out of sight behind a spinner until it's all there, then fades in in one go */
/* the glow: a layer of its own, so it can arrive with everything else (the start-up screen is plain: iPhone can't do glows) */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; transition: opacity .4s ease;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(54, 92, 160, .28), transparent 60%),
    radial-gradient(80% 40% at 100% 100%, rgba(32, 120, 90, .14), transparent 70%);
}
header, #list { transition: opacity .4s ease; }
body.booting::before, body.booting header, body.booting #list { opacity: 0; pointer-events: none; }
#boot {
  position: fixed; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .12); border-top-color: var(--text); pointer-events: none;
  animation: spin .8s linear infinite; opacity: 0; transition: opacity .25s ease;
}
body.booting #boot { opacity: 1; animation: spin .8s linear infinite, fade .4s ease .15s backwards; }   /* eases in, never pops */

/* the top: the eye (every score) lit when on; dimmed in Scores, which always shows them */
#spoil.on { color: #34c759; }
.icon:disabled { opacity: .3; }
#views[hidden] { display: none; }

/* Scores: today's matches in the leagues followed in full, a row each (FotMob-style) */
.lg { font-size: 14px; font-weight: 700; color: var(--muted); margin: 16px 0 6px; }
.srows { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .06); border-radius: 16px; overflow: hidden; }
.srow {
  display: grid; grid-template-columns: 32px minmax(0, 1fr) 20px 44px 20px minmax(0, 1fr); align-items: center; gap: 5px; width: 100%;
  min-height: 48px; padding: 0 8px; text-align: left; border-top: 1px solid rgba(255, 255, 255, .06);
}
.srow:first-child { border-top: 0; }
.srow:active { background: var(--glass); }
.srow .st { font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.srow .st.live { color: #34c759; }
.srow .hn, .srow .an { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srow .hn { text-align: right; }
.srow .crest { width: 20px; height: 20px; }
.srow .ss { text-align: center; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* a match's pop-up: the score, goals and cards by the minute, the stats */
.mtop { display: grid; grid-template-columns: 1fr 110px 1fr; align-items: center; text-align: center; margin: 6px 0 14px; }
.mteam .crest { width: 44px; height: 44px; display: block; margin: 0 auto 6px; }
.mteam .crest.none { height: 44px; }
.mteam .nm { font-size: 14px; font-weight: 600; }
.mscore .big { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mscore .st { font-size: 13px; color: var(--muted); margin-top: 2px; }
.mscore .st.live { color: #34c759; font-weight: 600; }
.mevents, .mstats { border-top: 1px solid rgba(255, 255, 255, .08); padding: 8px 0; }
.mev, .mstat { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; min-height: 30px; font-size: 14px; }
.mev .h, .mstat .h { text-align: right; }
.mev .min { text-align: center; color: var(--muted); font-variant-numeric: tabular-nums; }
.mstat { grid-template-columns: 56px 1fr 56px; }
.mstat .h, .mstat .a { font-weight: 700; font-variant-numeric: tabular-nums; }
.mstat .h { text-align: left; }
.mstat .a { text-align: right; }
.mstat .nm { text-align: center; color: var(--muted); }

/* a switch of a few (Settings › Following's sports; the Scores view's sports) */
.segs { display: flex; gap: 2px; padding: 3px; background: rgba(255, 255, 255, .07); border-radius: 11px; }
.seg { flex: 1; height: 30px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.seg.on { background: rgba(255, 255, 255, .18); color: var(--text); }
.sheetbar { flex: none; }
.sheetbar .segs { margin: 6px 0 8px; }

/* Settings › Following › Others: the sport, and what it shows under it */
.row.two .label { white-space: normal; }
.row .what { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.3; }

/* Scores: the sports and the days, under the title */
.scorebar { margin-top: 12px; }
.dayline { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.days { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.days::-webkit-scrollbar { display: none; }
.daychip { flex: none; height: 30px; padding: 0 12px; border-radius: 15px; background: var(--glass); font-size: 13.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.daychip.on { background: var(--text); color: var(--ink); }
.daypick { position: relative; flex: none; width: 34px; height: 30px; border-radius: 15px; background: var(--glass); display: grid; place-items: center; color: var(--muted); overflow: hidden; }
.daypick input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; }

/* cricket and rugby rows: a side a line, the score at its end */
.srow.two { grid-template-columns: 58px minmax(0, 1fr); padding: 8px 12px 8px 8px; }
.twosides { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tside { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tside .tn { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tside .tsc, .mteam .tsc { font-weight: 700; font-variant-numeric: tabular-nums; }
.mteam .tsc { margin-top: 4px; font-size: 17px; }

/* the lesser sports: a slim card, the event and its channels by name (no logos) */
.slimcard { display: flex; align-items: flex-start; gap: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .06); border-radius: 14px; padding: 10px 14px; margin-bottom: 8px; }
.slimcard .sw { flex: 1; min-width: 0; }
.slimcard .sn { font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slimcard .sl { font-size: 13px; color: var(--muted); margin-top: 2px; }
.slimcard .chname { color: var(--text); font-weight: 600; font-size: 13px; margin-top: 2px; }
.slimcard:active { background: rgba(255, 255, 255, .1); }
.slimcard .stat { margin-top: 1px; }

/* Settings › Following › Football: a competition for Channels and for Scores */
.both { display: flex; gap: 6px; flex: none; }
.tog { height: 28px; padding: 0 10px; border-radius: 14px; background: var(--glass); color: var(--muted); font-size: 13px; font-weight: 600; }
.tog.on { background: var(--text); color: var(--ink); }
.sheetbar .seg { font-size: 13px; }

/* hold and move (Settings › Following: the sports' order) */
.held { opacity: .85; transform: scale(1.03); background: var(--glass-on) !important; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); position: relative; z-index: 2; }
.row .grip { color: var(--faint); font-size: 20px; padding-left: 10px; flex: none; }
.segs, .sortlist { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.days .daychip.today { position: sticky; left: 0; right: 0; z-index: 1; background: #2b2f38; box-shadow: 0 0 0 4px var(--bg); }
.days .daychip.today.on { background: var(--text); }

/* a lesser sport's pop-up */
.slimcard { cursor: pointer; }
.evwhen { font-size: 16px; font-weight: 600; margin: 0 2px 10px; }
.evabout { font-size: 14px; line-height: 1.45; color: var(--muted); margin: 0 2px 14px; }
.card.tap { cursor: pointer; }

/* a lesser event's sessions that day (its pop-up) */
.sessions { margin: 0 0 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
.session { display: flex; gap: 12px; padding: 9px 2px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 14.5px; }
.session .stime { flex: none; width: 96px; font-weight: 700; font-variant-numeric: tabular-nums; }
.session .swhere { color: var(--muted); min-width: 0; }
.session.on .stime { color: #34c759; }
.session.done { opacity: .45; }

/* not played (postponed, abandoned, cancelled): the score struck through */
.struck { text-decoration: line-through; color: var(--faint); }

/* a finished match: a slim card, quieter */
.slimcard.done .sn { color: var(--muted); }
/* a pop-up's eye, top right of it */
.sheeteye { margin-left: 8px; }   /* in the pop-up's top bar, beside the × */
/* cricket's scorecard */
.scard { border-top: 1px solid rgba(255, 255, 255, .08); padding: 10px 0 12px; }
.schead { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.srun { display: flex; align-items: baseline; gap: 8px; font-size: 14px; padding: 3px 0; }
.srun .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srun .how { color: var(--faint); font-size: 12px; }
.srun .n { width: 40px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.srun .n.wide { width: auto; }
.srun .bf { width: 44px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sbowlhead { color: var(--muted); font-size: 12.5px; margin: 10px 0 2px; }

/* golf's leaderboard (its pop-up) */
.board { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 10px; margin-top: 12px; }
.grow { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 4px 0; }
.grow.out { opacity: .45; }
.grow .gpos { width: 34px; color: var(--muted); font-variant-numeric: tabular-nums; }
.grow .gflag { width: 18px; height: 12px; object-fit: cover; border-radius: 2px; flex: none; }
.grow .gname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grow .gpar { width: 38px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.grow .gthru { width: 40px; text-align: right; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }

/* golf in the Scores view */
.srow.golfrow { grid-template-columns: 1fr; gap: 2px; padding: 10px 14px; text-align: left; }
.golfrow .gt { font-size: 15px; font-weight: 700; }
.golfrow .gs { font-size: 12.5px; color: var(--muted); }
.golfrow .gl { font-size: 13.5px; font-weight: 600; margin-top: 2px; }

/* a team event: the teams, then the sessions and their matches */
.teamside .nm { border-bottom: 3px solid var(--team); padding-bottom: 3px; display: inline-block; }
.tsession { border-top: 1px solid rgba(255, 255, 255, .08); padding: 10px 0 6px; }
.tshead { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.tsname { font-weight: 700; font-size: 14.5px; }
.tspts { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); }
.tmatch { display: grid; grid-template-columns: 1fr 74px 1fr; align-items: center; gap: 8px; padding: 6px 0; }
.tnames { font-size: 13.5px; line-height: 1.35; min-width: 0; }
.tnames div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tnames.r { text-align: right; }
.tnames.won { font-weight: 700; }
.tnames.lost { color: var(--faint); }
.tres { text-align: center; font-size: 13px; font-weight: 700; border-radius: 8px; padding: 5px 4px; background: var(--glass); color: var(--muted); }
.tres.lead { color: #fff; }
.tthru { font-size: 11px; font-weight: 600; opacity: .85; }

/* the Scores view's four sports: a little tighter, so "Rugby Union" stays on one line */
.scorebar .segs .seg { font-size: 13px; padding: 0 4px; white-space: nowrap; }
.team .mtop { grid-template-columns: 1fr 150px 1fr; }
.team .mscore .big { white-space: nowrap; font-size: 26px; }
