/* ============================================================================
   BFL Hub — UI V2 · the league site

   Part 1 — the chrome: the frame, the glass island and the phone's dock, the
   account menu, dialogs and sheets, the search popup, toasts, the loader, and
   the live site's furniture in V2's clothes.
   Part 2 — the pages, one block each.
   ========================================================================= */

/* ------------------------------------------------------------ the frame */
html.v2 { --bar-h: 88px; --v2-tabbar-h: 0px; }
@media (max-width: 899px) {
  html.v2 { --bar-h: 58px; --v2-tabbar-h: 82px; }
  html.v2.v2-league-only { --v2-tabbar-h: 0px; }
}
html.v2:not(.v2-ready) #site { visibility: hidden; animation: v2-failsafe 0s linear 2.5s forwards; }
@keyframes v2-failsafe { to { visibility: visible; } }
html.v2 #site { position: relative; min-height: 100vh; display: flex; flex-direction: column; }
.v2-page {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  width: 100%;
  max-width: calc(var(--v2-max) + var(--v2-gut) * 2);
  margin: 0 auto;
  padding: calc(var(--bar-h) + 18px) var(--v2-gut) calc(72px + var(--v2-tabbar-h) + env(safe-area-inset-bottom, 0px));
  outline: none;
}
@media (max-width: 899px) {
  .v2-page { padding-top: calc(var(--bar-h) + env(safe-area-inset-top, 0px) + 12px); }
  html.v2.v2-livebar-on .v2-page { padding-bottom: calc(132px + var(--v2-tabbar-h) + env(safe-area-inset-bottom, 0px)); }
}
/* THE APPLICATION WIZARD SITS ABOVE THE CHROME. `#page` is a positioned element
   with z-index 1, so it is a stacking context: a full-screen child inside it is
   painted with the PAGE, underneath the island (80) and the mobile tab bar
   (70). While the wizard is open it locks the document (`html.apw-lock`), and
   the page itself has to rise above that chrome; dialogs (120) and toasts (200)
   still sit above it. */
html.apw-lock #page.v2-page { z-index: 101; }

.v2-skip { position: fixed; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 999px; background: #fff; color: #050608; font-weight: 800; text-decoration: none; }
.v2-skip:focus { top: 12px; }

/* ------------------------------------------------------------ the island

   A capsule of dark glass at the top of the screen. Scrolled into a page, its
   tabs fade back and where you are fades in, in the same place — the island
   keeps its size, so nothing about it jumps; rest the pointer on a tab and it
   grows a panel downwards. */
.v2-island {
  position: fixed;
  z-index: 80;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  white-space: nowrap;
}
/* The glass is the bar's, not the island's: the panel under it is its own
   pane, and blurs the page behind it rather than the bar. */
.v2-is-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 56px;
  padding: 0 7px 0 9px;
  border-radius: 28px;
  background: rgba(14, 16, 19, .58);
  -webkit-backdrop-filter: var(--v2-blur);
  backdrop-filter: var(--v2-blur);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -1px 0 rgba(0, 0, 0, .3), 0 18px 50px -12px rgba(0, 0, 0, .75);
  transition: background-color var(--v2-t) var(--v2-ease);
}
.v2-island[data-state="compact"] .v2-is-bar { background: rgba(14, 16, 19, .72); }
.v2-is-mark { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; transition: background-color var(--v2-t-fast); }
.v2-is-mark img { width: 32px; height: 32px; display: block; filter: drop-shadow(0 0 8px rgba(255, 255, 255, .35)); }
.v2-is-mark:hover { background: rgba(255, 255, 255, .08); }
/* Tabs and "where you are" share one cell and swap by fading. */
.v2-is-mid { display: grid; align-items: center; margin: 0 6px 0 2px; }
.v2-is-mid > * { grid-area: 1 / 1; }
.v2-is-tabs {
  position: relative;
  display: flex;
  align-items: center;
  height: 42px;
  isolation: isolate;
  transition: opacity 260ms var(--v2-ease), transform 360ms var(--v2-ease-out);
}
.v2-is-tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .62);
  font: 600 .78125rem/1 var(--v2-display);
  letter-spacing: 0;
  text-decoration: none;
  transition: color 120ms var(--v2-ease);
}
.v2-is-tab:hover, .v2-is-tab.is-peek { color: #fff; }
.v2-is-tab.active { color: #fff; text-shadow: 0 0 14px rgba(255, 255, 255, .45); }
.v2-is-ind {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  height: 42px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 6px 18px -6px rgba(0, 0, 0, .7);
  transition: transform 520ms var(--v2-ease-out), width 520ms var(--v2-ease-out), opacity var(--v2-t-fast);
  pointer-events: none;
}
.v2-is-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--v2-live); color: #fff; font: 800 11px/1 var(--v2-font); box-shadow: 0 0 10px rgba(255, 71, 71, .7); }
.v2-is-ctx {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 12px;
  color: #fff;
  font: 600 .78125rem/1 var(--v2-display);
  overflow: hidden;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 260ms var(--v2-ease), transform 360ms var(--v2-ease-out);
}
.v2-is-ctx span { overflow: hidden; text-overflow: ellipsis; }
.v2-is-ctx .v2-ic { color: rgba(255, 255, 255, .7); flex: none; }
.v2-island[data-state="compact"] .v2-is-tabs { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.v2-island[data-state="compact"] .v2-is-ctx { opacity: 1; transform: none; }
.v2-is-livehost:empty { display: none; }
.v2-is-live, .v2-lb-go {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 71, 71, .2), rgba(255, 71, 71, .08));
  box-shadow: inset 0 0 0 1px rgba(255, 71, 71, .3), inset 0 1px 0 rgba(255, 255, 255, .1);
  color: #fff;
  text-decoration: none;
  font: 700 .8125rem/1 var(--v2-font);
}
.v2-live-t { display: inline-flex; align-items: center; gap: 7px; font-variant-numeric: tabular-nums; }
.v2-live-s { font-family: var(--v2-display); font-weight: 800; text-shadow: var(--v2-neon-soft); }
.v2-live-t em { font-style: normal; color: #ff8a8a; font-weight: 800; }
.v2-live-more { color: rgba(255, 255, 255, .6); font-weight: 800; }
.v2-is-search {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 8px 0 14px;
  margin-left: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .7);
  font: 700 .8125rem/1 var(--v2-font);
  cursor: pointer;
  transition: background-color var(--v2-t-fast), color var(--v2-t-fast);
}
.v2-is-search:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.v2-is-me { display: grid; place-items: center; width: 44px; height: 44px; margin-left: 4px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; flex: none; }
html.v2 .v2-is-me .v2-av { width: 36px; height: 36px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .22), 0 0 16px rgba(255, 255, 255, .12); transition: box-shadow var(--v2-t); }
html.v2 .v2-is-me:hover .v2-av, html.v2 .v2-is-me[aria-expanded="true"] .v2-av { box-shadow: 0 0 0 2px rgba(255, 255, 255, .7), 0 0 22px rgba(255, 255, 255, .3); }
.v2-island[data-state="compact"] .v2-is-search span, .v2-island[data-state="compact"] .v2-is-search kbd { display: none; }
.v2-island[data-state="compact"] .v2-is-search { width: 42px; padding: 0; justify-content: center; }
@media (max-width: 1240px) {
  .v2-is-search span, .v2-is-search kbd { display: none; }
  .v2-is-search { width: 42px; padding: 0; justify-content: center; }
  .v2-is-tab { padding: 0 13px; }
}
@media (max-width: 899px) { .v2-island { display: none; } }

/* The island's panel: its own pane of glass under the bar. It fades and
   slides a few pixels; nothing is laid out again while it moves. */
.v2-is-drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 12px;
  border-radius: 26px;
  background: rgba(14, 16, 19, .76);
  -webkit-backdrop-filter: var(--v2-blur);
  backdrop-filter: var(--v2-blur);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), var(--v2-depth-3);
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -6px) scale(.985);
  transform-origin: 50% 0;
  transition: opacity 120ms var(--v2-ease), transform 160ms var(--v2-ease), visibility 0s linear 120ms;
}
/* The gap between the bar and the pane still counts as the island. */
.v2-is-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.v2-island[data-drop] .v2-is-drop { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition: opacity 160ms var(--v2-ease), transform 260ms var(--v2-ease-out), visibility 0s; }
.v2-is-drop-in { padding: 0; }
.v2-drop-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 14px; min-width: 660px; }
.v2-drop-col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v2-drop-h { margin: 6px 12px 6px; color: rgba(255, 255, 255, .4); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.v2-drop-l { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; color: #fff; text-decoration: none; transition: background-color var(--v2-t-fast); }
.v2-drop-l:hover { background: rgba(255, 255, 255, .07); }
.v2-drop-l > .v2-ic, .v2-drop-l > .v2-comp-mark { justify-self: center; color: rgba(255, 255, 255, .7); }
.v2-drop-l > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v2-drop-l b { font-weight: 700; font-size: .875rem; }
.v2-drop-l > span > span { color: rgba(255, 255, 255, .45); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-drop-feature {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: radial-gradient(120% 120% at 0% 0%, rgba(var(--v2-club-rgb), .45), rgba(var(--v2-club-rgb), .06) 60%), rgba(255, 255, 255, .03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .16);
}
.v2-drop-feature > span:not(.v2-drop-kpi) { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.v2-drop-feature b { font-family: var(--v2-display); font-weight: 800; font-size: 1.15rem; overflow-wrap: anywhere; text-shadow: var(--v2-neon-soft); }
.v2-drop-feature > span > span { color: rgba(255, 255, 255, .65); font-size: 12px; }
html.v2 .v2-drop-feature .v2-crest.is-xl { width: 60px; height: 60px; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .5)); }
.v2-drop-kpi { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.v2-drop-kpi b { font-family: var(--v2-display); font-size: 1.6rem; font-variant-numeric: tabular-nums; text-shadow: var(--v2-neon-soft); }
.v2-drop-kpi b i { font-style: normal; font-family: var(--v2-font); font-size: 12px; color: rgba(255, 255, 255, .6); margin: 0 6px 0 2px; }
.v2-drop-kpi > span { color: rgba(255, 255, 255, .6); font-size: 12px; }
.v2-drop-match { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; margin: 0 4px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); color: #fff; text-decoration: none; }
.v2-drop-match:hover { background: rgba(255, 255, 255, .08); }
.v2-drop-match > span { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12px; }
.v2-drop-match > span:nth-child(3) { justify-content: flex-end; }
.v2-drop-match b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.v2-drop-match em { font-style: normal; font-family: var(--v2-display); font-weight: 800; font-variant-numeric: tabular-nums; text-shadow: var(--v2-neon-soft); }
.v2-drop-match em.is-live { color: #ff8a8a; }
.v2-drop-match small { grid-column: 1 / -1; text-align: center; color: rgba(255, 255, 255, .45); font-size: 11px; }
.v2-drop-empty { display: flex; align-items: center; gap: 12px; padding: 8px 12px; color: rgba(255, 255, 255, .65); font-size: var(--v2-fs-small); min-width: 440px; }

/* ------------------------------------------------------------ the phone */
.v2-topbar, .v2-tabbar, .v2-livebar { display: none; }
@media (max-width: 899px) {
  .v2-topbar {
    position: fixed;
    z-index: 50;
    inset: 0 0 auto 0;
    display: grid;
    /* The title keeps the middle; the game's star and search take a cell each
       once the desk opens Fantasy (see has-fan below). */
    grid-template-columns: 58px minmax(0, 1fr) 58px;
    align-items: center;
    height: calc(var(--bar-h) + env(safe-area-inset-top, 0px));
    padding: env(safe-area-inset-top, 0px) 4px 0;
    background: linear-gradient(180deg, rgba(5, 6, 8, .85), rgba(5, 6, 8, 0));
    border-bottom: 1px solid transparent;
    transition: background-color var(--v2-t) var(--v2-ease), border-color var(--v2-t) var(--v2-ease);
  }
  .v2-topbar.has-fan { grid-template-columns: 58px minmax(0, 1fr) 58px 58px; }
  .v2-topbar.scrolled {
    background: rgba(12, 14, 17, .66);
    -webkit-backdrop-filter: var(--v2-blur);
    backdrop-filter: var(--v2-blur);
    border-bottom-color: rgba(255, 255, 255, .08);
  }
  .v2-tb-left { display: flex; align-items: center; padding-left: 8px; }
  .v2-tb-mark img { width: 32px; height: 32px; display: block; filter: drop-shadow(0 0 8px rgba(255, 255, 255, .35)); }
  .v2-tb-title { text-align: center; font: 700 .875rem/1.2 var(--v2-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity var(--v2-t), transform var(--v2-t) var(--v2-ease-out); }
  .v2-topbar.titled .v2-tb-title { opacity: 1; transform: none; }
  .v2-tb-btn { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; }
  .v2-tb-left .v2-tb-btn { margin: 0; }
  /* ...and Fantasy sits there like search, in the same white: one more way into
     the game, drawn with the same hand as the rest of the bar. */

  /* The dock: a floating capsule of glass where the thumb is. */
  .v2-tabbar {
    position: fixed;
    z-index: 70;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: repeat(var(--v2-tabn, 5), 1fr);
    height: 66px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(18, 20, 24, .66);
    -webkit-backdrop-filter: var(--v2-blur);
    backdrop-filter: var(--v2-blur);
    border: 1px solid rgba(255, 255, 255, .13);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 18px 40px -10px rgba(0, 0, 0, .85);
  }
  .v2-tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, .5);
    font: 700 11px/1 var(--v2-font);
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color var(--v2-t-fast), background-color var(--v2-t);
  }
  .v2-tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .v2-tab.on { color: #fff; background: linear-gradient(180deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .06)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
  /* FANTASY IS THE SIXTH ICON AND NOT A SPECIAL ONE: it wears the same white as
     the rest of the dock. A second colour on one tab is noise, not a signpost. */
  .v2-tab.on .v2-ic { filter: drop-shadow(0 0 6px rgba(255, 255, 255, .6)); }
  .v2-tab .v2-ic, html.v2 .v2-tab .v2-av { transition: transform var(--v2-t-press) var(--v2-ease); }
  .v2-tab:active .v2-ic, html.v2 .v2-tab:active .v2-av { transform: scale(.9); }
  html.v2 .v2-tab .v2-av { width: 24px; height: 24px; }
  .v2-tab-badge { position: absolute; top: 5px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--v2-live); color: #fff; font: 800 11px/16px var(--v2-font); font-style: normal; text-align: center; box-shadow: 0 0 10px rgba(255, 71, 71, .6); }
  .v2-livebar:not([hidden]) {
    position: fixed;
    z-index: 70;
    left: 12px;
    right: 12px;
    bottom: calc(86px + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    gap: 4px;
    height: 50px;
    padding: 0 5px 0 6px;
    border-radius: 999px;
    background: rgba(18, 20, 24, .7);
    -webkit-backdrop-filter: var(--v2-blur);
    backdrop-filter: var(--v2-blur);
    border: 1px solid rgba(255, 71, 71, .3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 14px 30px -10px rgba(0, 0, 0, .8);
    animation: v2-fade-up var(--v2-t-slow) var(--v2-ease-out) both;
  }
  .v2-lb-go { flex: 1 1 auto; min-width: 0; height: 40px; background: transparent; box-shadow: none; padding: 0 10px; }
  .v2-lb-comp { color: rgba(255, 255, 255, .6); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 30%; }
  .v2-lb-x { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .7); cursor: pointer; }
}

/* ------------------------------------------------------------ the foot */
.v2-foot { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .06); }
.v2-foot-in { max-width: calc(var(--v2-max) + var(--v2-gut) * 2); margin: 0 auto; padding: 26px var(--v2-gut); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--v2-text-3); font-size: var(--v2-fs-small); }
.v2-foot-in img { width: 26px; height: 26px; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .3)); }
.v2-foot-in > span:nth-child(2) { color: #fff; font-weight: 800; }
.v2-foot-link { color: var(--v2-text-2); text-decoration: underline; text-underline-offset: 3px; }
.v2-foot-link:hover { color: #fff; }
@media (max-width: 899px) { .v2-foot { display: none; } }

/* ------------------------------------------------------------ the account menu
   A list, not a dashboard: one quiet header, three figures in a line, then plain
   rows. Nothing in it is bolder than Medium. */
html.v2 #accountmenu.v2-menu {
  position: fixed;
  z-index: 90;
  padding: 0;
  border-radius: 22px;
  background: rgba(13, 15, 18, .86);
  -webkit-backdrop-filter: var(--v2-blur);
  backdrop-filter: var(--v2-blur);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .9);
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #fff;
  font-family: var(--v2-font);
  animation: none;
}
.v2-am { padding: 6px 6px 4px; }
.v2-am-who { display: flex; align-items: center; gap: 14px; padding: 14px 12px 14px; }
html.v2 .v2-am-who .v2-av.is-lg { width: 48px; height: 48px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.v2-am-id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.v2-am-name { font-family: var(--v2-display); font-weight: 600; font-size: 1rem; letter-spacing: -.005em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-am-sub { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--v2-text-2); font-size: 13px; font-weight: 400; white-space: nowrap; }
.v2-am-sub > span { overflow: hidden; text-overflow: ellipsis; }
.v2-am-role { display: inline-flex; align-items: center; gap: 5px; min-width: 0; font-weight: 500; }
.v2-am-role img { flex: none; width: 14px; height: 14px; border-radius: 3px; object-fit: contain; }
.v2-am-link { display: inline-flex; align-items: center; gap: 7px; color: var(--v2-text-3); font-size: 12.5px; font-weight: 400; }
.v2-am-link i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.v2-am-link.is-on i { background: #34d399; box-shadow: 0 0 8px rgba(52, 211, 153, .7); }
.v2-am-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 6px 4px; padding: 12px 0; border-radius: 14px; background: rgba(255, 255, 255, .035); color: var(--v2-text-3); font-size: 12px; font-weight: 400; text-decoration: none; transition: background-color var(--v2-t-fast); }
.v2-am-stats:hover { background: rgba(255, 255, 255, .06); }
.v2-am-stats > span { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.v2-am-stats > span + span { border-left: 1px solid rgba(255, 255, 255, .06); }
.v2-am-stats b { color: #fff; font-family: var(--v2-display); font-weight: 400; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.v2-am-group { padding-top: 6px; }
.v2-am-group + .v2-am-group, .v2-am-stats + .v2-am-group { margin-top: 4px; border-top: 1px solid rgba(255, 255, 255, .06); }
.v2-am-h { padding: 10px 12px 4px; color: var(--v2-text-3); font-size: 12px; font-weight: 500; }
.v2-am-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, .9);
  font: 400 .9375rem/1.2 var(--v2-font);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--v2-t-fast), color var(--v2-t-fast);
}
.v2-am-row:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.v2-am-row.is-fact { cursor: default; }
.v2-am-row.is-fact:hover { background: transparent; }
.v2-am-ic { display: grid; place-items: center; flex: none; width: 20px; color: var(--v2-text-2); }
.v2-am-ic svg { display: block; }
.v2-am-row:hover .v2-am-ic { color: #fff; }
.v2-am-row.is-fact .v2-am-ic { color: #34d399; }
.v2-am-label { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-am-val { flex: none; max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--v2-text-3); font-size: 13px; font-weight: 400; }
.v2-am-go { flex: none; color: var(--v2-text-3); opacity: .55; transition: opacity var(--v2-t-fast), transform var(--v2-t) var(--v2-ease-out); }
.v2-am-row:hover .v2-am-go { opacity: 1; transform: translateX(2px); }
.v2-am-row.is-phone { display: none; }
/* A switch: a track and a knob, lit when on. */
.v2-sw { position: relative; flex: none; width: 34px; height: 20px; border-radius: 999px; background: rgba(255, 255, 255, .14); transition: background-color var(--v2-t) var(--v2-ease); }
.v2-sw i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); transition: transform var(--v2-t) var(--v2-ease-out); }
.v2-sw.on { background: #34d399; }
.v2-sw.on i { transform: translateX(14px); }
.v2-am-foot { display: flex; align-items: center; gap: 16px; margin-top: 6px; padding: 12px 12px 8px; border-top: 1px solid rgba(255, 255, 255, .06); font-size: 13px; font-weight: 400; }
.v2-am-foot a { color: var(--v2-text-3); text-decoration: none; transition: color var(--v2-t-fast); }
.v2-am-foot a:hover { color: #fff; }
.v2-am-foot .v2-am-out { display: inline-flex; align-items: center; gap: 6px; color: var(--v2-text-2); font-weight: 500; }
.v2-grab { display: block; width: 42px; height: 5px; margin: 10px auto 2px; border-radius: 3px; background: rgba(255, 255, 255, .25); flex: none; }
html.v2 #accountmenu > .v2-grab { display: none; }
.v2-scrim { position: fixed; inset: 0; z-index: 89; background: rgba(2, 3, 5, .55); animation: v2-fade var(--v2-t) var(--v2-ease) both; }
@media (max-width: 899px) {
  .v2-am-row.is-phone { display: flex; }
  html.v2 #accountmenu.v2-menu { inset: auto 8px calc(8px + env(safe-area-inset-bottom, 0px)) 8px; width: auto; max-height: min(84vh, 760px); border-radius: 26px; }
  html.v2 #accountmenu > .v2-grab { display: block; }
  .v2-am-row { min-height: 48px; }
}

/* ------------------------------------------------------------ dialogs and sheets */
html.v2 .modalwrap.v2-modal { background: rgba(2, 3, 5, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 24px; }
html.v2 .v2-modal .modal {
  background: rgba(16, 18, 22, .86);
  -webkit-backdrop-filter: var(--v2-blur);
  backdrop-filter: var(--v2-blur);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), var(--v2-depth-3);
  color: #fff;
}
html.v2 .v2-modal .modal > .v2-grab { display: none; }
html.v2 .modalwrap.v2-modal .modal { transform: translateY(14px) scale(.97); opacity: 0; transition: transform 460ms var(--v2-ease-out), opacity 220ms var(--v2-ease); }
html.v2 .modalwrap.v2-modal.show .modal { transform: none; opacity: 1; }
@media (min-width: 900px) {
  html.v2 .modalwrap.v2-modal-side { justify-content: flex-end; align-items: stretch; padding: 14px; }
  html.v2 .v2-modal-side .modal { width: min(560px, 100%); max-height: none; height: 100%; overflow-y: auto; transform: translateX(40px); border-radius: 30px; }
}
@media (max-width: 899px) {
  html.v2 .modalwrap.v2-modal { padding: 8px; align-items: flex-end; }
  html.v2 .v2-modal .modal { width: 100%; max-width: none; max-height: 90vh; margin: 0; border-radius: 30px; padding-bottom: env(safe-area-inset-bottom, 0px); transform: translateY(60px); overscroll-behavior: contain; }
  html.v2 .v2-modal .modal > .v2-grab { display: block; position: sticky; top: 0; }
}
html.v2 .v2-modal .modal { padding: 26px; }
html.v2 .v2-modal .modal h2, html.v2 .v2-modal .modal h3 { font-family: var(--v2-display); font-weight: 800; letter-spacing: -.01em; }
html.v2 .v2-modal .modal h2 { font-size: 1.5rem; text-shadow: var(--v2-neon-soft); }
html.v2 .v2-modal .modal .sub, html.v2 .v2-modal .modal .hint, html.v2 .v2-modal .modal .rhint, html.v2 .v2-modal .modal .sighint { color: var(--v2-text-2); }
html.v2 .v2-modal .field label, html.v2 .v2-modal .field > span:first-child { color: var(--v2-text-3); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
html.v2 .v2-modal .modal-actions { gap: 10px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); }
html.v2 .v2-modal .panel, html.v2 .v2-modal .kv, html.v2 .v2-modal .tfr-summary { border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); box-shadow: none; }

/* ------------------------------------------------------------ the search & card popup */
html.v2 .modalwrap.qwrap,
html.v2 .modalwrap.teamwrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 16px;
  padding-top: calc(var(--bar-h, 54px) + 16px + env(safe-area-inset-top, 0px));
}
html.v2 .qwrap .modal,
html.v2 .teamwrap .modal {
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border-radius: 26px;
  background: rgba(14, 16, 21, 0.94);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 64px -8px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateY(-10px) scale(0.98);
  opacity: 0;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), opacity 180ms ease;
}
html.v2 .qwrap.show .modal,
html.v2 .teamwrap.show .modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}
html.v2 .qwrap .qpal,
html.v2 .teamwrap .qpal { background: transparent; border: 0; box-shadow: none; }
html.v2 .qwrap .qpal-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
html.v2 .qwrap #qs {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  border: 0;
  background: transparent;
  color: #fff;
  font: 600 1.125rem/1 var(--v2-font);
  outline: none;
  box-shadow: none;
}
html.v2 .qwrap #qs::placeholder { color: rgba(255, 255, 255, .35); }
html.v2 .qwrap .qp-ico { color: rgba(255, 255, 255, .6); }
html.v2 .qwrap .qp-hint { color: var(--v2-text-3); font-size: 11px; }
html.v2 .qwrap .qp-hint kbd { border: 1px solid rgba(255, 255, 255, .15); border-radius: 6px; padding: 1px 5px; background: rgba(255, 255, 255, .04); color: var(--v2-text-2); font-size: 11px; }
html.v2 .qwrap .qp-x, html.v2 .qwrap .qstep { border: 0; background: rgba(255, 255, 255, .07); color: var(--v2-text-2); border-radius: 999px; min-height: 36px; padding: 0 12px; cursor: pointer; transition: background .14s; }
html.v2 .qwrap .qp-x:hover, html.v2 .qwrap .qstep:hover { background: rgba(255, 255, 255, .14); color: #fff; }
html.v2 .qwrap .qpal-body { max-height: min(72vh, 660px); overflow-y: auto; padding: 10px; }
html.v2 .qwrap .qhead { display: flex; align-items: center; padding: 8px 12px 4px; color: var(--v2-text-3); font-size: 11px; }
html.v2 .qwrap .qhead b { color: var(--v2-text-2); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
html.v2 .qwrap .qhead .lbl { text-transform: none; letter-spacing: 0; }
html.v2 .qwrap .qgroup { display: flex; align-items: center; gap: 8px; padding: 14px 12px 6px; color: var(--v2-text-3); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
html.v2 .qwrap .qgroup .qg-line { display: none; }
.v2-qrow { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 7px 12px; border: 0; border-radius: 16px; background: transparent; box-shadow: none; color: #fff; text-align: left; cursor: pointer; transition: background-color var(--v2-t-fast); }
.v2-qrow.on, .v2-qrow:hover { background: rgba(255, 255, 255, .08); }
.v2-qr-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .75); }
html.v2 .v2-qr-mark .v2-crest { width: 28px; height: 28px; }
html.v2 .v2-qr-mark .v2-av { width: 38px; height: 38px; }
.v2-qr-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v2-qr-body b { font-weight: 700; font-size: .9375rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.v2-qr-body > span { display: flex; align-items: center; gap: 6px; color: var(--v2-text-2); font-size: var(--v2-fs-small); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.v2-qr-end { display: flex; align-items: baseline; gap: 4px; color: var(--v2-text-2); font-size: var(--v2-fs-small); }
.v2-qr-end b { color: #fff; font-weight: 800; }
.v2-qr-end i { font-style: normal; color: var(--v2-text-3); margin-right: 6px; }
html.v2 .qwrap .qstate { padding: 36px 20px; color: var(--v2-text-2); text-align: center; }
html.v2 .qwrap .qstate h3 { color: #fff; font-size: 1.15rem; margin: 0 0 6px; }
@media (max-width: 899px) {
  html.v2 .modalwrap.qwrap,
  html.v2 .modalwrap.teamwrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 10px 10px calc(14px + env(safe-area-inset-bottom, 0px));
    padding-top: calc(var(--bar-h, 50px) + 8px + env(safe-area-inset-top, 0px));
  }
  html.v2 .qwrap .modal,
  html.v2 .teamwrap .modal {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    max-height: calc(88dvh - env(safe-area-inset-top, 0px));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 48px -6px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
    transform: translateY(-8px) scale(0.98);
  }
  html.v2 .qwrap.show .modal,
  html.v2 .teamwrap.show .modal {
    transform: translateY(0) scale(1);
  }
  html.v2 .qwrap .qpal,
  html.v2 .teamwrap .qpal {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: calc(88dvh - env(safe-area-inset-top, 0px));
  }
  html.v2 .qwrap .qpal-bar {
    padding: 8px 12px;
    gap: 8px;
  }
  html.v2 .qwrap #qs {
    height: 38px;
    font-size: 15px;
  }
  html.v2 .qwrap .qp-x, html.v2 .qwrap .qstep {
    min-height: 30px;
    height: 30px;
    padding: 0 10px;
    font-size: 11px;
  }
  html.v2 .qwrap .qp-x {
    width: 30px;
    padding: 0;
    font-size: 17px;
    line-height: 1;
    display: inline-grid;
    place-items: center;
  }
  html.v2 .qwrap .qpal-body,
  html.v2 .teamwrap .qpal-body {
    max-height: calc(88dvh - 54px - env(safe-area-inset-top, 0px));
    flex: 1 1 auto;
    padding: 6px;
    -webkit-overflow-scrolling: touch;
  }
  html.v2 .qwrap .qp-hint { display: none; }
  html.v2 .qwrap .modal > .v2-grab,
  html.v2 .teamwrap .modal > .v2-grab { display: none; }

  /* Concise mobile player & club cards */
  html.v2 .px {
    padding: 2px;
  }
  html.v2 .px .px-top {
    padding: 14px 14px 12px;
    border-radius: 18px;
    gap: 10px;
  }
  html.v2 .px .px-who {
    gap: 12px;
  }
  html.v2 .px .px-face .av,
  html.v2 .px .px-mark .av {
    width: 52px;
    height: 52px;
    font-size: 18px;
  }
  html.v2 .px .px-mark {
    width: 90px;
    height: 90px;
    top: -10px;
    right: -8px;
    opacity: 0.08;
  }
  html.v2 .px .kicker {
    font-size: 9.5px;
    margin-bottom: 2px;
    letter-spacing: .1em;
  }
  html.v2 .px .px-id h2 {
    font-size: 1.35rem;
    line-height: 1.1;
    margin: 2px 0 3px;
  }
  html.v2 .px .px-sub {
    font-size: 11px;
    gap: 6px;
    margin-top: 3px;
  }
  html.v2 .px .px-club {
    padding: 2px 7px;
    font-size: 10.5px;
  }
  html.v2 .px .px-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 5px;
    margin-top: 2px;
  }
  html.v2 .px .px-tile,
  html.v2 .px .v2-pt {
    padding: 8px 3px;
    border-radius: 12px;
    gap: 2px;
  }
  html.v2 .px .px-tile b,
  html.v2 .px .v2-pt b {
    font-size: 1.12rem;
    line-height: 1.05;
  }
  html.v2 .px .px-tile i,
  html.v2 .px .px-tile span,
  html.v2 .px .v2-pt span {
    font-size: 8px;
    letter-spacing: .06em;
  }
  html.v2 .px .px-grid {
    gap: 8px;
    margin-top: 8px;
  }
  html.v2 .px .px-block {
    padding: 12px 14px;
    border-radius: 16px;
  }
  html.v2 .px .px-block .kicker {
    font-size: 9.5px;
    margin-bottom: 8px;
  }
  html.v2 .px .px-note {
    font-size: 11.5px;
    line-height: 1.45;
  }
  html.v2 .px .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px 12px;
    margin-top: 6px;
  }
  html.v2 .px .facts span {
    font-size: 8.5px;
  }
  html.v2 .px .facts b {
    font-size: 12px;
  }
  html.v2 .px .ph-hon {
    padding: 4px 10px 4px 8px;
    font-size: 11px;
  }
  html.v2 .px .ph-hon .ph-art {
    width: 15px;
    height: 15px;
  }
  html.v2 .px .px-squad {
    padding: 12px 14px;
    border-radius: 16px;
    margin-top: 8px;
  }
  html.v2 .px .px-squad-head {
    margin-bottom: 8px;
  }
  html.v2 .px .px-squad-head b {
    font-size: 12.5px;
  }
  html.v2 .px .px-squad-list {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  html.v2 .px .px-teammate {
    padding: 6px 10px;
    font-size: 11.5px;
  }
}

/* ------------------------------------------------------------ toasts */
html.v2 .toasts { z-index: 200; }
@media (max-width: 899px) { html.v2 .toasts { bottom: calc(var(--v2-tabbar-h) + env(safe-area-inset-bottom, 0px) + 14px); } }
html.v2 .toast { background: rgba(18, 20, 24, .8); -webkit-backdrop-filter: var(--v2-blur); backdrop-filter: var(--v2-blur); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), var(--v2-depth-2); color: #fff; }
html.v2 .toast .tx b { font-weight: 800; }
html.v2 .toast .tx span { color: var(--v2-text-2); }
html.v2 .toast.ok .tx b { color: #6ee7b7; }
html.v2 .toast.err .tx b { color: #fca5a5; }

/* ------------------------------------------------------------ the loader

   The league's mark, lit: it comes up out of the dark with its white halo, a
   band of light runs across the letters, and a hairline under it fills as the
   page loads. Transform and opacity only. */
.v2-boot {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 30px;
  background: radial-gradient(700px 420px at 50% 42%, rgba(255, 255, 255, .06), transparent 70%), #050608;
  transition: opacity 420ms var(--v2-ease), visibility 420ms;
}
.v2-boot.done { opacity: 0; visibility: hidden; }
.v2-boot-mark { position: relative; width: 210px; height: 96px; animation: v2-boot-in 900ms var(--v2-ease-out) both; }
.v2-boot-mark img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 16px rgba(255, 255, 255, .45)) drop-shadow(0 0 44px rgba(255, 255, 255, .18)); }
.v2-boot-sheen {
  position: absolute;
  inset: 0;
  -webkit-mask: url("/assets/bfl-logo.svg") center / contain no-repeat;
  mask: url("/assets/bfl-logo.svg") center / contain no-repeat;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .95) 50%, transparent 70%) -140% 0 / 60% 100% no-repeat;
  animation: v2-boot-sheen 1.6s var(--v2-ease-io) .35s infinite;
}
.v2-boot-line { width: 140px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.v2-boot-line i { display: block; width: 40%; height: 100%; border-radius: 2px; background: #fff; box-shadow: 0 0 12px rgba(255, 255, 255, .8); animation: v2-boot-run 1.2s var(--v2-ease-io) infinite; }
.v2-boot.ready .v2-boot-line i { animation: none; width: 100%; transition: width 200ms var(--v2-ease); }
@keyframes v2-boot-in { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: none; } }
@keyframes v2-boot-sheen { from { background-position: -140% 0; } to { background-position: 240% 0; } }
@keyframes v2-boot-run { from { transform: translateX(-110%); } to { transform: translateX(260%); } }

/* ------------------------------------------------------------ the live site's furniture, in V2's clothes */
html.v2 .crumbs { display: none; }
html.v2 .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 6px 20px -10px rgba(0, 0, 0, .8);
  color: #fff;
  font: 700 .8125rem/1 var(--v2-font);
  letter-spacing: .02em;
  text-transform: none;
  text-shadow: none;
  transition: background-color var(--v2-t-fast), border-color var(--v2-t-fast), transform var(--v2-t-press) var(--v2-ease);
}
html.v2 .btn:hover { border-color: rgba(255, 255, 255, .28); background: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .06)); }
html.v2 .btn:active { transform: scale(.97); }
html.v2 .btn.sm { min-height: 34px; padding: 0 14px; font-size: .75rem; }
html.v2 .btn.primary { border-color: transparent; background: #fff; color: #050608; box-shadow: 0 0 0 1px rgba(255, 255, 255, .4), 0 10px 30px -10px rgba(255, 255, 255, .45); }
html.v2 .btn.primary:hover { background: #fff; }
html.v2 .btn.ghost { background: transparent; box-shadow: none; }
html.v2 .btn.danger, html.v2 .btn.warn { color: #fca5a5; }
html.v2 .btn::before, html.v2 .btn::after { display: none; }
html.v2 .modal input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
html.v2 .modal textarea,
html.v2 .modal select,
html.v2 .v2-page input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not(.v2-input),
html.v2 .v2-page textarea,
html.v2 .v2-page select {
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .4);
  color: #fff;
  font-family: var(--v2-font);
}
html.v2 .modal input:focus, html.v2 .modal textarea:focus, html.v2 .modal select:focus,
html.v2 .v2-page input:focus, html.v2 .v2-page textarea:focus, html.v2 .v2-page select:focus { outline: none; border-color: rgba(255, 255, 255, .35); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .4), 0 0 0 4px rgba(255, 255, 255, .06); }
html.v2 .tag { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--v2-text-2); font: 800 11px/1 var(--v2-font); letter-spacing: .08em; text-transform: uppercase; box-shadow: none; text-shadow: none; }
html.v2 .tag.open { background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .3); color: #6ee7b7; }
html.v2 .tag.closed { background: rgba(255, 107, 107, .1); border-color: rgba(255, 107, 107, .3); color: #fca5a5; }
html.v2 .pill { border-radius: 999px; box-shadow: none; text-shadow: none; }
html.v2 .empty { border-radius: var(--v2-r-lg); border: 1px dashed rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .015); box-shadow: none; }
html.v2 .empty .ico { display: none; }
html.v2 .panel, html.v2 .card { border-radius: var(--v2-r-lg); }
html.v2 .tblwrap { border-radius: var(--v2-r-lg); border-color: rgba(255, 255, 255, .08); }
html.v2 .section-head h2, html.v2 .strip h2 { font-family: var(--v2-display); letter-spacing: -.01em; }
html.v2 .neon { color: #fff; -webkit-text-fill-color: currentColor; background: none; filter: none; text-shadow: var(--v2-neon); }
html.v2 .installsheet {
  left: 10px;
  right: 10px;
  bottom: calc(var(--v2-tabbar-h) + env(safe-area-inset-bottom, 0px) + 12px);
  width: auto;
  max-width: 560px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 26px;
  background: rgba(18, 20, 24, .78);
  -webkit-backdrop-filter: var(--v2-blur);
  backdrop-filter: var(--v2-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), var(--v2-depth-2);
  padding: 18px;
}
html.v2.bf-lock .installsheet { opacity: 0; pointer-events: none; }

/* ============================================================================
   Part 2 — the pages
   ========================================================================= */

/* ------------------------------------------------------------ the page's glass

   Cards on the page are glass without the blur: a white film over the night
   sky, an edge of light and a long soft shadow. The blur is kept for the
   layers that float (the island, the dock, menus), so a long page of cards
   still scrolls at the screen's own rate. */
.v2-panel, .v2-oc, .v2-inbox, .v2-yw, .v2-table-wrap, html.v2 .fxlist, .v2-sc-list, .v2-sc-lead, .v2-roster,
.v2-funds-sum, .v2-spark, .v2-strip, .v2-comm, .v2-rf-k, .v2-ws-card, .v2-ws-nav, html.v2 .v2-rf .ref-rows,
.v2-player, .v2-board-p, .v2-note, html.v2 .v2-crest-tile, .v2-tile, .v2-hh-season, html.v2 .v2-hero,
.v2-cp-hero, .v2-cp-board {
  background: var(--v2-card);
  box-shadow: var(--v2-card-edge), var(--v2-card-lift);
  border: 0;
}

/* ------------------------------------------------------------ page heads */
.v2-phead { position: relative; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin: 8px 0 clamp(28px, 3vw, 44px); }
.v2-phead-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 28px;
  background: radial-gradient(90% 90% at 30% 15%, rgba(var(--v2-club-rgb), .55), rgba(var(--v2-club-rgb), .08) 70%), rgba(255, 255, 255, .03);
  box-shadow: var(--v2-card-edge), 0 24px 60px -24px rgba(var(--v2-club-rgb), .65);
}
.v2-phead-mark img, .v2-phead-mark .v2-comp-mark, html.v2 .v2-phead-mark .v2-crest { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .5)); }
.v2-phead-id { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.v2-phead .v2-title { font-size: clamp(2.1rem, 1.2rem + 2.8vw, 3.9rem); }
.v2-phead .v2-meta { font-size: .9375rem; }
.v2-phead-act { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) {
  .v2-phead { gap: 16px; }
  .v2-phead-mark { width: 68px; height: 68px; border-radius: 22px; }
  .v2-phead-mark img, .v2-phead-mark .v2-comp-mark, html.v2 .v2-phead-mark .v2-crest { width: 44px; height: 44px; }
}
.v2-comp-mark { width: 28px; height: 28px; object-fit: contain; flex: none; }
.v2-comp-mark.is-xs { width: 18px; height: 18px; }
.v2-comp-mark.is-sm { width: 22px; height: 22px; }
.v2-comp-mark.is-lg { width: 64px; height: 64px; }
span.v2-comp-mark { display: grid; place-items: center; border-radius: 8px; background: rgba(255, 255, 255, .06); color: var(--v2-text-2); }
.v2-brand { display: block; flex: none; }
/* A page's own tabs stay in reach under the island, as a capsule of glass. */
.v2-subnav { position: sticky; top: 84px; z-index: 20; margin: -10px 0 28px; padding: 4px 0; }
@media (max-width: 899px) { .v2-subnav { top: calc(var(--bar-h) + env(safe-area-inset-top, 0px) + 4px); } }
.v2-subnav .v2-seg { background: rgba(14, 16, 19, .66); -webkit-backdrop-filter: var(--v2-blur); backdrop-filter: var(--v2-blur); border-color: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 14px 34px -14px rgba(0, 0, 0, .85); }
.v2-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 clamp(24px, 2.4vw, 44px); }
.v2-cols > .v2-sec { margin-top: var(--v2-sec-gap); min-width: 0; }
@media (min-width: 1000px) { .v2-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ------------------------------------------------------------ a club's name, as a door */
html.v2 .v2-club {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
html.v2 .v2-club b { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: text-shadow var(--v2-t-fast); }
html.v2 .v2-club:hover b { text-shadow: 0 0 14px rgba(255, 255, 255, .45); }
html.v2 .v2-club::before, html.v2 .v2-club::after { display: none; }

/* ------------------------------------------------------------ fixtures, as lines */
html.v2 .day { margin: 0 0 22px; }
html.v2 .day:last-child { margin-bottom: 0; }
html.v2 .day-head { position: static; display: flex; align-items: baseline; gap: 10px; margin: 0; padding: 0 6px 10px; border: 0; background: none; }
html.v2 .day-head::before, html.v2 .day-head::after { display: none; }
html.v2 .day-head b { color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
html.v2 .day-head .lbl { color: var(--v2-text-3); font-size: 12px; letter-spacing: 0; text-transform: none; }
html.v2 .day-more { margin: 0; padding: 12px 6px 0; border: 0; background: none; color: var(--v2-text-3); font-size: 12px; text-align: left; }
html.v2 .fxlist { display: flex; flex-direction: column; gap: 0; border-radius: var(--v2-r-lg); overflow: hidden; }
html.v2 .fxlist > * + * { border-top: 1px solid var(--v2-line); }
.v2-fx {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px 16px 13px 18px;
  cursor: pointer;
  transition: background-color var(--v2-t-fast) var(--v2-ease);
}
.v2-fx:hover { background: rgba(255, 255, 255, .04); }
.v2-fx-when { display: flex; flex-direction: column; gap: 4px; padding-right: 12px; border-right: 1px solid var(--v2-line); align-self: stretch; justify-content: center; }
.v2-fx-when b { font-family: var(--v2-display); font-weight: 800; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.v2-fx-when small { color: var(--v2-text-3); font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-fx-when .is-live { color: #ff8a8a; }
.v2-fx-sides { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.v2-fx-side { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; min-width: 0; }
html.v2 .v2-fx-side .v2-crest { width: 24px; height: 24px; }
.v2-fx.is-res .v2-fx-side.is-lose { color: var(--v2-text-3); }
.v2-fx.is-res .v2-fx-side.is-win b { font-weight: 800; }
.v2-fx-side.is-me .v2-club b { font-weight: 800; text-shadow: var(--v2-neon-soft); }
.v2-fx-g { font-family: var(--v2-display); font-weight: 800; font-size: 1.05rem; font-variant-numeric: tabular-nums; min-width: 1.2em; text-align: right; }
.v2-fx.is-res .v2-fx-side.is-win .v2-fx-g { text-shadow: var(--v2-neon-soft); }
.v2-fx.is-res .v2-fx-side.is-lose .v2-fx-g { color: var(--v2-text-3); }
.v2-fx-end { display: flex; align-items: center; gap: 8px; color: var(--v2-text-3); }
.v2-fx-comp { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: rgba(var(--v2-club-rgb), .16); box-shadow: inset 0 0 0 1px rgba(var(--v2-club-rgb), .32); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.v2-fx-go { transition: transform var(--v2-t) var(--v2-ease-out); }
.v2-fx:hover .v2-fx-go { transform: translateX(3px); color: #fff; }
@media (max-width: 520px) {
  .v2-fx { grid-template-columns: 56px minmax(0, 1fr) auto; padding: 12px 12px 12px 14px; gap: 10px; }
  .v2-fx-end .v2-btn { display: none; }
}

/* ------------------------------------------------------------ the fixture poster */
html.v2 .v2-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 22px 24px;
  border-radius: var(--v2-r-lg);
  background: radial-gradient(120% 90% at 50% -10%, rgba(var(--v2-club-rgb), .2), transparent 60%), var(--v2-card);
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow var(--v2-t) var(--v2-ease);
}
html.v2 .v2-hero:hover { box-shadow: var(--v2-card-edge-hi), var(--v2-card-lift); }
html.v2 .v2-hero.is-live { box-shadow: inset 0 0 0 1px rgba(255, 71, 71, .38), 0 0 50px -16px rgba(255, 71, 71, .5), var(--v2-card-lift); }
html.v2 .v2-hero-top { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 0; border: 0; background: none; }
.v2-hero-comp { display: inline-flex; align-items: center; gap: 9px; color: var(--v2-text-2); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; min-width: 0; }
.v2-hero-comp span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-hero-body { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; }
.v2-hero-team { display: flex; justify-content: center; min-width: 0; }
html.v2 .v2-hero-club { appearance: none; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; max-width: 100%; }
html.v2 .v2-hero-club b { font-family: var(--v2-display); font-weight: 800; font-size: 1.05rem; text-align: center; line-height: 1.15; overflow-wrap: anywhere; }
html.v2 .v2-hero-club .v2-crest.is-xl { width: 80px; height: 80px; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .55)); }
html.v2 .v2-hero-team.is-lose { opacity: .5; }
html.v2 .v2-hero-mid { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 120px; padding: 0; background: none; }
html.v2 .v2-hero .match-score { font-family: var(--v2-display); font-weight: 800; font-size: clamp(2.6rem, 1.6rem + 3vw, 3.9rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #fff; text-shadow: var(--v2-neon); }
html.v2 .v2-hero .match-score .dash { margin: 0 .14em; color: rgba(255, 255, 255, .3); text-shadow: none; }
html.v2 .v2-hero .match-time { font-family: var(--v2-display); font-weight: 800; font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; color: #fff; text-shadow: var(--v2-neon); }
html.v2 .v2-hero .match-sub { color: var(--v2-text-2); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
html.v2 .v2-hero .match-sub.live { color: #ff8a8a; }
html.v2 .v2-hero-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 16px 0 0; border-top: 1px solid var(--v2-line); color: var(--v2-text-2); font-size: var(--v2-fs-small); background: none; }
html.v2 .v2-hero-foot .venue:empty { display: none; }
html.v2 .v2-hero-foot .venue { color: #fff; font-weight: 650; }
.v2-hero-line { color: var(--v2-text-2); }
.v2-hero-open { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; }
.v2-hero-open .v2-ic { transition: transform var(--v2-t) var(--v2-ease-out); }
html.v2 .v2-hero:hover .v2-hero-open .v2-ic { transform: translateX(3px); }
/* The live chip the live painter writes into the corner. */
html.v2 .live-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 71, 71, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 71, 71, .32);
  color: #ff8a8a;
  font: 800 11px/1 var(--v2-font);
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 0;
}
html.v2 .live-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--v2-live); box-shadow: 0 0 10px rgba(255, 71, 71, .9); }
html.v2 .live-chip em { font-style: normal; color: #fff; }
html.v2 .live-chip.lost { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--v2-line-2); color: var(--v2-text-2); }
html.v2 .live-chip.lost i { background: var(--v2-text-3); box-shadow: none; }
html.v2 .v2-hero .where, html.v2 .v2-hero .countdown { color: var(--v2-text-2); font-size: var(--v2-fs-small); font-weight: 650; }
html.v2 .v2-hero .countdown { color: #fff; font-weight: 800; }
html.v2 .v2-hero .countdown::before, html.v2 .v2-hero .where::before { display: none; }
@media (max-width: 560px) {
  html.v2 .v2-hero { padding: 18px 16px; gap: 16px; }
  html.v2 .v2-hero-club .v2-crest.is-xl { width: 58px; height: 58px; }
  html.v2 .v2-hero-club b { font-size: .8125rem; font-family: var(--v2-font); }
  html.v2 .v2-hero-mid { min-width: 92px; }
}

/* ------------------------------------------------------------ live rows */
html.v2 .liverows { display: flex; flex-direction: column; gap: 10px; }
.v2-lr {
  display: grid;
  grid-template-columns: minmax(0, 140px) minmax(0, 1fr) auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: var(--v2-r);
  background: radial-gradient(80% 140% at 50% 0%, rgba(255, 71, 71, .1), transparent 70%), var(--v2-card);
  box-shadow: inset 0 0 0 1px rgba(255, 71, 71, .26), var(--v2-card-lift);
  color: #fff;
  text-decoration: none;
  transition: box-shadow var(--v2-t-fast);
}
.v2-lr:hover { box-shadow: inset 0 0 0 1px rgba(255, 71, 71, .5), 0 0 40px -14px rgba(255, 71, 71, .5), var(--v2-card-lift); }
.v2-lr-comp { display: inline-flex; align-items: center; gap: 8px; color: var(--v2-text-2); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; overflow: hidden; white-space: nowrap; }
.v2-lr-side { display: flex; align-items: center; gap: 10px; min-width: 0; }
.v2-lr-side b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.v2-lr-side.is-away { justify-content: flex-end; text-align: right; }
.v2-lr-score { font-family: var(--v2-display); font-weight: 800; font-size: 1.6rem; font-variant-numeric: tabular-nums; text-shadow: var(--v2-neon); }
.v2-lr-score i { font-style: normal; color: rgba(255, 255, 255, .3); margin: 0 .15em; text-shadow: none; }
.v2-lr-clock { display: inline-flex; align-items: center; gap: 8px; color: #ff8a8a; font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .v2-lr { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); row-gap: 10px; padding: 12px 14px; }
  .v2-lr-comp { grid-column: 1 / 3; }
  .v2-lr-clock { grid-column: 3; justify-self: end; grid-row: 1; }
}

/* ------------------------------------------------------------ the table */
.v2-table-wrap { border-radius: var(--v2-r-lg); overflow-x: auto; }
.v2-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.v2-table th {
  padding: 14px 10px 12px;
  background: transparent;
  color: var(--v2-text-3);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid var(--v2-line-2);
}
.v2-table td { padding: 11px 10px; text-align: right; white-space: nowrap; border-top: 1px solid var(--v2-line); font-size: .875rem; color: var(--v2-text-2); transition: background-color var(--v2-t-fast); }
.v2-table tbody tr:first-child td { border-top: 0; }
.v2-table .v2-t-pos { width: 64px; text-align: left; padding-left: 16px; }
.v2-table .v2-t-club { text-align: left; width: 100%; max-width: 0; color: #fff; }
.v2-t-clubin { display: flex; align-items: center; gap: 10px; min-width: 0; }
.v2-t-clubin .v2-club { flex: 0 1 auto; min-width: 0; }
html.v2 .v2-t-clubin .v2-crest { width: 26px; height: 26px; }
.v2-table td.v2-t-club { min-width: 160px; }
.v2-table .v2-t-gd, .v2-table .v2-t-w { color: var(--v2-text-3); }
.v2-table .v2-t-pts { font-family: var(--v2-display); font-weight: 800; color: #fff; padding-right: 14px; font-size: .9375rem; }
.v2-table th.v2-t-pts { font-family: var(--v2-font); font-size: 11px; color: var(--v2-text-2); }
.v2-table .v2-t-pts.is-ded { color: #fca5a5; }
.v2-ded { margin-left: 3px; color: #fca5a5; font: 600 11px/1 var(--v2-quiet); vertical-align: super; }
/* The deductions under a table: who was docked, how many and why. */
html.v2 .deductions { margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--v2-line); }
html.v2 .ded-h { margin-bottom: 6px; color: var(--v2-text-3); font: 700 11px/1 var(--v2-font); letter-spacing: .14em; text-transform: uppercase; }
html.v2 .ded-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
html.v2 .ded-row + .ded-row { border-top: 1px solid var(--v2-line); }
html.v2 .ded-row b { min-width: 36px; color: #fca5a5; font: 800 .9375rem/1 var(--v2-display); font-variant-numeric: tabular-nums; }
html.v2 .ded-club { font-weight: 700; }
html.v2 .ded-why { flex: 1; min-width: 0; color: var(--v2-text-3); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-table .v2-t-form { padding-right: 16px; }
.v2-table tbody tr:hover td { background: rgba(255, 255, 255, .035); }
/* The reader's own row: lit, not coloured. */
.v2-table tr.is-me td { background: rgba(255, 255, 255, .075); color: #fff; }
.v2-table tr.is-me td:first-child { box-shadow: inset 3px 0 0 #fff; }
.v2-table tr.is-me .v2-club b { font-weight: 800; text-shadow: var(--v2-neon-soft); }
.v2-table tr.is-me .v2-t-pts { text-shadow: var(--v2-neon); }
.v2-pos {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 26px;
  padding: 0 6px;
  border-radius: 8px;
  font-weight: 800;
  font-size: .8125rem;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.v2-pos.is-up { background: rgba(52, 211, 153, .12); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .28); color: #6ee7b7; }
.v2-pos.is-play { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.v2-pos.is-down { background: rgba(255, 107, 107, .11); box-shadow: inset 0 0 0 1px rgba(255, 107, 107, .26); color: #fca5a5; }
.v2-pos.is-me { background: #fff; color: #050608; box-shadow: 0 0 16px rgba(255, 255, 255, .45); }
.v2-mv { display: inline-flex; align-items: center; gap: 1px; margin-left: 4px; font-style: normal; font-size: 11px; font-weight: 800; vertical-align: middle; }
.v2-mv.is-up { color: #6ee7b7; }
.v2-mv.is-down { color: #fca5a5; }
.v2-form { display: inline-flex; gap: 4px; }
.v2-form i {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
}
.v2-form .is-w { background: rgba(52, 211, 153, .15); color: #6ee7b7; }
.v2-form .is-d { background: rgba(255, 255, 255, .08); color: var(--v2-text-2); }
.v2-form .is-l { background: rgba(255, 107, 107, .13); color: #fca5a5; }
.v2-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; color: var(--v2-text-3); font-size: 12px; }
.v2-legend span { display: inline-flex; align-items: center; gap: 8px; }
.v2-legend .v2-pos { min-width: 12px; height: 12px; padding: 0; border-radius: 4px; }
@media (max-width: 640px) {
  .v2-table .v2-t-form { display: none; }
  .v2-table-wrap.is-full .v2-t-w { display: none; }
  .v2-table .v2-t-pos { width: 50px; padding-left: 12px; }
  .v2-t-clubin .v2-badge { display: none; }
  .v2-table td { padding: 10px 8px; }
}

/* ------------------------------------------------------------ the reader's place */
.v2-strip {
  display: flex;
  align-items: stretch;
  margin: 0 0 14px;
  border-radius: var(--v2-r);
  overflow-x: auto;
  scrollbar-width: none;
}
.v2-strip::-webkit-scrollbar { display: none; }
.v2-strip > * { flex: none; padding: 14px 20px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.v2-strip > * + * { border-left: 1px solid var(--v2-line); }
.v2-strip-who { flex-direction: row; align-items: center; gap: 12px; min-width: 0; }
.v2-strip-who > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v2-strip-who b { font-weight: 800; white-space: nowrap; }
.v2-strip-who > span > span, .v2-strip-c > span { color: var(--v2-text-3); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.v2-strip-c b { font-family: var(--v2-display); font-weight: 800; font-size: 1.2rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; text-shadow: var(--v2-neon-soft); }
.v2-strip-c.is-next { flex: 1 0 auto; }
.v2-strip-c.is-next b { font-family: var(--v2-font); font-size: .9375rem; font-weight: 700; text-shadow: none; }

/* ------------------------------------------------------------ scoring charts */
.v2-sc { display: flex; flex-direction: column; gap: 10px; }
/* Given the room, the leader stands beside the chase rather than over it. */
:has(> .v2-sc) { container-type: inline-size; }
@container (min-width: 1080px) {
  .v2-sc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 14px; align-items: stretch; }
  .v2-sc > .v2-sc-lead { position: sticky; top: 92px; align-self: start; grid-template-columns: 34px auto minmax(0, 1fr); row-gap: 28px; padding: 26px; }
  .v2-sc > .v2-sc-lead .v2-sc-big { grid-column: 1 / 3; align-items: flex-start; }
  .v2-sc > .v2-sc-lead .v2-sc-other { grid-column: 3; align-items: flex-end; align-self: end; }
  .v2-sc > .v2-sc-lead .v2-sc-big b { font-size: 4.4rem; }
  html.v2 .v2-sc > .v2-sc-lead .v2-av { width: 72px; height: 72px; }
  .v2-sc > :only-child { grid-column: 1 / -1; }
}
.v2-sc-lead {
  appearance: none;
  position: relative;
  display: grid;
  grid-template-columns: 34px auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--v2-r-lg);
  background: radial-gradient(90% 160% at 0% 50%, rgba(233, 194, 122, .14), transparent 60%), var(--v2-card);
  color: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: box-shadow var(--v2-t);
}
.v2-sc-lead:hover { box-shadow: var(--v2-card-edge-hi), var(--v2-card-lift); }
.v2-sc-lead .v2-sc-rank { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(160deg, rgba(233, 194, 122, .3), rgba(233, 194, 122, .1)); box-shadow: inset 0 0 0 1px rgba(233, 194, 122, .4), 0 0 20px -4px rgba(233, 194, 122, .5); color: #f6dfb0; font-weight: 800; }
html.v2 .v2-sc-lead .v2-av { width: 56px; height: 56px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .2), 0 0 24px rgba(255, 255, 255, .12); }
.v2-sc-id { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.v2-sc-id b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-sc-id > span { display: inline-flex; align-items: center; gap: 6px; color: var(--v2-text-2); font-size: var(--v2-fs-small); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.v2-sc-lead .v2-sc-id b { font-family: var(--v2-display); font-weight: 800; font-size: 1.3rem; text-shadow: var(--v2-neon-soft); }
.v2-sc-big, .v2-sc-other { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.v2-sc-big b { font-family: var(--v2-display); font-weight: 800; font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: var(--v2-neon); }
.v2-sc-other b { font-family: var(--v2-display); font-weight: 800; font-size: 1.3rem; color: var(--v2-text-2); font-variant-numeric: tabular-nums; }
.v2-sc-big span, .v2-sc-other span { color: var(--v2-text-3); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.v2-sc-list { display: flex; flex-direction: column; border-radius: var(--v2-r-lg); overflow: hidden; }
.v2-sc-list > * + * { border-top: 1px solid var(--v2-line); }
.v2-sc-row {
  appearance: none;
  display: grid;
  grid-template-columns: 28px auto minmax(0, 1fr) minmax(40px, 160px) 44px 44px;
  align-items: center;
  gap: 14px;
  padding: 11px 18px;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--v2-t-fast);
}
.v2-sc-row[hidden] { display: none; }
.v2-sc-row:hover { background: rgba(255, 255, 255, .04); }
.v2-sc-rank { color: var(--v2-text-3); font-weight: 800; font-variant-numeric: tabular-nums; text-align: center; }
.v2-sc-row:nth-child(1) .v2-sc-rank { color: var(--v2-silver); }
.v2-sc-row:nth-child(2) .v2-sc-rank { color: var(--v2-bronze); }
.v2-sc-bar { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.v2-sc-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, rgba(255, 255, 255, .45), #fff); box-shadow: 0 0 10px rgba(255, 255, 255, .45); transform-origin: left; animation: v2-grow 700ms var(--v2-ease-out) both; }
.v2-sc-n { display: flex; align-items: baseline; justify-content: flex-end; gap: 3px; font-variant-numeric: tabular-nums; }
.v2-sc-n b { font-family: var(--v2-display); font-weight: 800; }
.v2-sc-n i { font-style: normal; color: var(--v2-text-3); font-size: 11px; }
@media (max-width: 560px) {
  .v2-sc-lead { grid-template-columns: 30px auto minmax(0, 1fr) auto; padding: 16px; gap: 12px; }
  html.v2 .v2-sc-lead .v2-av { width: 44px; height: 44px; }
  .v2-sc-other { display: none; }
  .v2-sc-big b { font-size: 2rem; }
  .v2-sc-row { grid-template-columns: 24px auto minmax(0, 1fr) 36px 36px; padding: 10px 12px; gap: 10px; }
  .v2-sc-bar { display: none; }
}
.v2-skel { display: flex; flex-direction: column; gap: 10px; }
.v2-skel-row { display: block; height: 56px; border-radius: var(--v2-r); background: linear-gradient(90deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)) 0 0 / 200% 100%; animation: v2-sheen 1.4s linear infinite; }
@keyframes v2-sheen { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ------------------------------------------------------------ the League */
.v2-comp-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1.3fr) minmax(0, 1.4fr) 120px 160px 18px;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  color: #fff;
  text-decoration: none;
  transition: background-color var(--v2-t-fast) var(--v2-ease);
}
.v2-comp-row:hover { background: rgba(255, 255, 255, .04); }
.v2-comp-row .v2-comp-mark { width: 44px; height: 44px; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .45)); }
.v2-cr-id, .v2-cr-lead > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.v2-cr-id b { font-family: var(--v2-display); font-weight: 800; font-size: 1.05rem; }
.v2-cr-id > span, .v2-cr-lead > span > span, .v2-cr-me > span:last-child { color: var(--v2-text-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-cr-lead { display: flex; align-items: center; gap: 12px; min-width: 0; }
.v2-cr-lead b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-cr-me { display: flex; align-items: center; gap: 8px; }
.v2-cr-prog { display: grid; grid-template-columns: 1fr 38px; align-items: center; gap: 10px; color: var(--v2-text-2); font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; }
.v2-cr-go { color: var(--v2-text-3); transition: transform var(--v2-t) var(--v2-ease-out), color var(--v2-t-fast); }
.v2-comp-row:hover .v2-cr-go { color: #fff; transform: translateX(3px); }
@media (max-width: 860px) {
  .v2-comp-row { grid-template-columns: 40px minmax(0, 1fr) auto 18px; row-gap: 10px; padding: 14px 16px; }
  .v2-comp-row .v2-comp-mark { width: 36px; height: 36px; }
  .v2-cr-lead { grid-column: 2 / 4; grid-row: 2; }
  .v2-cr-prog { display: none; }
  .v2-cr-me:empty { display: none; }
}
.v2-chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.v2-chips-row .v2-chip { min-height: 40px; padding: 0 16px 0 10px; color: #fff; font-size: var(--v2-fs-small); }
.v2-soon { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px 28px; }
.v2-soon-i { display: flex; gap: 14px; align-items: flex-start; color: var(--v2-text-2); }
.v2-soon-i > .v2-ic { color: #fff; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .4)); }
.v2-soon-i > span { display: flex; flex-direction: column; gap: 3px; }
.v2-soon-i b { color: #fff; font-weight: 700; }
.v2-soon-i > span > span { font-size: var(--v2-fs-small); }

/* ------------------------------------------------------------ a competition's calendar */
.v2-fxbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; }
.v2-weeks { display: flex; gap: 6px; margin: 0 0 22px; padding: 4px 2px 8px; overflow-x: auto; scrollbar-width: none; }
.v2-weeks::-webkit-scrollbar { display: none; }
.v2-wk {
  appearance: none;
  flex: none;
  min-width: 42px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--v2-edge);
  background: rgba(255, 255, 255, .035);
  color: var(--v2-text-2);
  font: 800 var(--v2-fs-small)/1 var(--v2-font);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: color var(--v2-t-fast), border-color var(--v2-t-fast), background-color var(--v2-t-fast), box-shadow var(--v2-t);
}
.v2-wk:hover { color: #fff; border-color: var(--v2-edge-2); }
.v2-wk.on { background: #fff; border-color: #fff; color: #050608; box-shadow: 0 0 22px -4px rgba(255, 255, 255, .6); }

/* ------------------------------------------------------------ standings on the home page */
.v2-stand-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 14px; }
.v2-stand-name { display: inline-flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.v2-stand-name .v2-comp-mark { width: 40px; height: 40px; }
.v2-stand-name > span { display: flex; flex-direction: column; gap: 2px; }
.v2-stand-name b { font-family: var(--v2-display); font-weight: 800; font-size: 1.15rem; }
.v2-stand-name > span > span { color: var(--v2-text-3); font-size: 12px; }
.v2-stand-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.v2-stand-foot .v2-legend, .v2-stand-foot .v2-more { margin-top: 14px; }

/* ------------------------------------------------------------ a cup's insides (the live bracket, restyled) */
html.v2 .v2-cupsub .bracket, html.v2 .v2-cupsub .brk { gap: 18px; }
html.v2 .v2-cupsub .tie, html.v2 .v2-cupsub .brk-tie { background: var(--v2-card); border: 0; border-radius: 14px; box-shadow: var(--v2-card-edge), var(--v2-card-lift); }
html.v2 .v2-cupsub .round-name, html.v2 .v2-cupsub .brk-round h3 { color: var(--v2-text-3); font-family: var(--v2-font); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
html.v2 .v2-comp .standcard-btn, html.v2 .v2-sec-head .btn.sm { min-height: 34px; font-size: 12px; }

/* ============================================================ Home */
.v2-live-word { color: #ff8a8a; font-weight: 800; }
.v2-hh { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin: 10px 0 clamp(22px, 2.4vw, 34px); }
.v2-hh-id { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.v2-hh .v2-display { font-size: clamp(2.8rem, 1.5rem + 4.8vw, 6.4rem); }
.v2-hh .v2-hh-greet { font-size: clamp(2.2rem, 1.3rem + 3vw, 4.2rem); line-height: 1.02; }
.v2-hh-season {
  display: grid;
  grid-template-columns: repeat(3, minmax(84px, auto));
  gap: 14px 0;
  padding: 16px 6px 14px;
  border-radius: var(--v2-r-lg);
}
.v2-hh-k { display: flex; flex-direction: column; gap: 5px; padding: 0 20px; }
.v2-hh-k + .v2-hh-k { border-left: 1px solid var(--v2-line); }
.v2-hh-k b { font-family: var(--v2-display); font-weight: 800; font-size: 1.85rem; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: var(--v2-neon-soft); }
.v2-hh-k span, .v2-hh-bar > span:last-child { color: var(--v2-text-3); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.v2-hh-bar { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 20px 0; border-top: 1px solid var(--v2-line); }
@media (max-width: 899px) { .v2-hh-season { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .v2-hh { gap: 16px; }
  .v2-hh-season { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v2-hh-k { padding: 0 14px; }
  .v2-hh-k b { font-size: 1.45rem; }
}

/* The stage: the match that matters to you, under floodlights. The stadium's
   photograph, the two clubs' colours as light coming up from their own sides,
   and the crests and the score standing off it in depth as the stage leans. */
.v2-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: clamp(360px, 28vw, 500px);
  padding: clamp(16px, 1.8vw, 28px) clamp(16px, 2.6vw, 40px);
  border-radius: 32px;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 50px 110px -46px rgba(0, 0, 0, 1);
  transition: transform 600ms var(--v2-ease-out), box-shadow var(--v2-t) var(--v2-ease);
}
.v2-stage.is-live { box-shadow: 0 0 0 1px rgba(255, 71, 71, .5), 0 0 80px -20px rgba(255, 71, 71, .45), 0 50px 110px -46px rgba(0, 0, 0, 1); }
.v2-st-bg { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: #07080a; pointer-events: none; }
.v2-st-bg i { position: absolute; inset: 0; }
.v2-st-photo { background: var(--img) center 45% / cover no-repeat; filter: saturate(.7) brightness(.56) contrast(1.06); transform: scale(1.03); transition: transform 1.4s var(--v2-ease-out); }
.v2-stage:hover .v2-st-photo { transform: scale(1.07); }
.v2-st-light {
  background:
    radial-gradient(60% 95% at 0% 100%, rgba(var(--h-rgb), .62), transparent 62%),
    radial-gradient(60% 95% at 100% 100%, rgba(var(--a-rgb), .62), transparent 62%),
    radial-gradient(60% 50% at 50% 0%, rgba(255, 255, 255, .12), transparent 70%),
    radial-gradient(32% 55% at 50% 58%, rgba(5, 6, 8, .55), transparent 75%),
    linear-gradient(180deg, rgba(5, 6, 8, .45) 0%, rgba(5, 6, 8, .05) 38%, rgba(5, 6, 8, .2) 62%, rgba(5, 6, 8, .9) 100%);
}
.v2-st-bg::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(255, 255, 255, .06); }
/* Older stage markup (the light slants) still lands somewhere sensible. */
.v2-st-h { background: radial-gradient(60% 95% at 0% 100%, rgba(var(--h-rgb), .6), transparent 62%); }
.v2-st-a { background: radial-gradient(60% 95% at 100% 100%, rgba(var(--a-rgb), .6), transparent 62%); }
.v2-stage > :not(.v2-st-bg):not(.v2-shine) { position: relative; z-index: 1; }
.v2-stage .v2-st-body, .v2-stage .v2-st-side, .v2-stage .v2-st-club, .v2-stage .v2-st-mid { transform-style: preserve-3d; }
.v2-st-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.v2-st-why { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; text-shadow: var(--v2-neon-soft); }
.v2-st-comp, .v2-st-chip, .v2-st-foot > span:not(.v2-btn):not(.v2-spacer) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  background: rgba(5, 6, 8, .38);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13), inset 0 1px 0 rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.v2-st-comp i { width: 3px; height: 3px; margin: 0 2px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.v2-st-chip .v2-ic, .v2-st-foot > span:not(.v2-btn) .v2-ic { color: rgba(255, 255, 255, .7); flex: none; }
.v2-st-body { flex: 1 1 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; }
.v2-st-side { display: flex; justify-content: center; min-width: 0; }
html.v2 .v2-st-club { appearance: none; display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.v2-st-crest { display: block; width: clamp(88px, 8.2vw, 144px); height: clamp(88px, 8.2vw, 144px); }
html.v2 .v2-st-crest .v2-crest { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 0; filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .6)) drop-shadow(0 0 34px rgba(var(--h-rgb), .45)); }
html.v2 .v2-st-side.is-away .v2-st-crest .v2-crest { filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .6)) drop-shadow(0 0 34px rgba(var(--a-rgb), .45)); }
html.v2 .v2-st-crest span.v2-crest { display: grid; border-radius: 28px; font-size: 44px; background: rgba(255, 255, 255, .08); }
html.v2 .v2-st-club b { color: #fff; font-family: var(--v2-display); font-weight: 800; font-size: clamp(1rem, .75rem + .9vw, 1.6rem); text-align: center; line-height: 1.1; overflow-wrap: break-word; hyphens: auto; max-width: 100%; text-shadow: 0 2px 24px rgba(0, 0, 0, .7), var(--v2-neon-soft); }
.v2-st-side.is-lose .v2-st-club > * { opacity: .5; }
.v2-st-mid { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 180px; text-align: center; }
.v2-st-score { display: flex; align-items: center; gap: 18px; font-family: var(--v2-display); font-weight: 800; font-size: clamp(4rem, 2.2rem + 5.4vw, 8.4rem); line-height: .88; font-variant-numeric: tabular-nums; letter-spacing: -.03em; text-shadow: var(--v2-neon); }
.v2-st-score i { font-style: normal; color: rgba(255, 255, 255, .35); font-size: .55em; text-shadow: none; }
.v2-st-score i:empty { width: .3em; height: .07em; border-radius: 2px; background: rgba(255, 255, 255, .5); box-shadow: 0 0 12px rgba(255, 255, 255, .4); }
.v2-st-time { font-family: var(--v2-display); font-weight: 800; font-size: clamp(3rem, 1.7rem + 3.8vw, 5.6rem); line-height: .88; letter-spacing: -.03em; font-variant-numeric: tabular-nums; text-shadow: var(--v2-neon); }
.v2-st-state { display: inline-flex; align-items: center; gap: 9px; margin: 0; color: rgba(255, 255, 255, .78); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.v2-st-state.is-live { color: #ff8a8a; }
.v2-st-state em { font-style: normal; text-transform: none; letter-spacing: 0; }
.v2-st-tick { display: flex; gap: 6px; margin-top: 2px; }
.v2-tk-u { display: inline-flex; align-items: baseline; gap: 1px; padding: 7px 10px 6px; border-radius: 12px; background: rgba(5, 6, 8, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .1); }
.v2-tk-d { display: inline-block; min-width: .62em; font-style: normal; font-family: var(--v2-display); font-weight: 800; font-size: 1.25rem; line-height: 1; text-align: center; font-variant-numeric: tabular-nums; text-shadow: var(--v2-neon-soft); }
.v2-tk-d.is-tick { animation: v2-tick 380ms var(--v2-ease-out); }
.v2-tk-u small { margin-left: 4px; color: rgba(255, 255, 255, .5); font-size: 11px; font-weight: 700; }
@keyframes v2-tick { from { transform: translateY(-50%); opacity: 0; } to { transform: none; opacity: 1; } }
.v2-st-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.v2-stage:hover .v2-st-foot .v2-ic-go { transform: translateX(3px); }
@media (max-width: 640px) {
  .v2-stage { min-height: 0; padding: 18px 14px 16px; gap: 18px; border-radius: 26px; }
  .v2-st-crest { width: 76px; height: 76px; }
  html.v2 .v2-st-club { gap: 10px; }
  html.v2 .v2-st-club b { font-size: .8125rem; font-family: var(--v2-font); font-weight: 800; }
  .v2-st-time { font-size: 3rem; }
  .v2-st-score { font-size: 3.4rem; gap: 10px; }
  .v2-tk-d { font-size: 1rem; }
  .v2-st-mid { min-width: 0; gap: 10px; }
  .v2-st-tick { flex-wrap: wrap; justify-content: center; }
  .v2-tk-u { padding: 5px 7px; }
  .v2-st-foot .v2-st-chip { height: 32px; font-size: 11px; }
  .v2-st-foot .v2-btn { width: 100%; }
}

/* A matchweek, sideways. */
.v2-ribbon { position: relative; }
.v2-rb-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 12px; margin: -8px -4px; padding: 8px 4px 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 4px; scrollbar-width: none; overscroll-behavior-x: contain; }
.v2-rb-track::-webkit-scrollbar { display: none; }
.v2-rb-track.is-drag { scroll-snap-type: none; cursor: grabbing; }
.v2-rb-track[data-v2-drag] { cursor: grab; }
@media (min-width: 1100px) { .v2-rb-track { grid-auto-columns: calc((100% - 36px) / 4); } }
@media (min-width: 1500px) { .v2-rb-track { grid-auto-columns: calc((100% - 48px) / 5); } }
.v2-rb-arrow {
  position: absolute;
  top: calc(50% - 24px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: rgba(16, 18, 22, .7);
  -webkit-backdrop-filter: var(--v2-blur);
  backdrop-filter: var(--v2-blur);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), var(--v2-depth-2);
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--v2-t) var(--v2-ease), transform var(--v2-t-press);
}
.v2-rb-arrow:active { transform: scale(.94); }
.v2-rb-arrow.is-prev { left: -16px; }
.v2-rb-arrow.is-next { right: -16px; }
.v2-ribbon:hover .v2-rb-arrow { opacity: 1; }
@media (pointer: coarse) { .v2-rb-arrow { display: none; } }
.v2-tile {
  appearance: none;
  position: relative;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 16px 16px 14px;
  border-radius: 20px;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 600ms var(--v2-ease-out), box-shadow var(--v2-t) var(--v2-ease);
}
.v2-tile:hover { box-shadow: var(--v2-card-edge-hi), 0 30px 60px -30px rgba(0, 0, 0, 1); }
.v2-tile.is-me { background: radial-gradient(130% 100% at 0% 0%, rgba(var(--v2-club-rgb), .3), transparent 60%), var(--v2-card); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .14), var(--v2-card-lift); }
.v2-tile.is-live { background: radial-gradient(130% 100% at 100% 0%, rgba(255, 71, 71, .16), transparent 60%), var(--v2-card); box-shadow: inset 0 0 0 1px rgba(255, 71, 71, .4), var(--v2-card-lift); }
.v2-tl-top { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.v2-tl-comp { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: rgba(var(--v2-club-rgb), .2); box-shadow: inset 0 0 0 1px rgba(var(--v2-club-rgb), .38); color: #fff; font-weight: 800; letter-spacing: .06em; }
.v2-tl-when { display: inline-flex; align-items: center; gap: 6px; color: var(--v2-text-2); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.v2-tl-when.is-live { color: #ff8a8a; }
.v2-tl-r { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
html.v2 .v2-tl-r .v2-crest { width: 24px; height: 24px; }
.v2-tl-r b { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-tl-r em { font-style: normal; font-family: var(--v2-display); font-weight: 800; font-variant-numeric: tabular-nums; }
.v2-tile .v2-tl-r:not(.is-win) em { color: var(--v2-text-2); }
.v2-tl-r.is-win b { font-weight: 800; }
.v2-tl-r.is-win em { text-shadow: var(--v2-neon-soft); }

/* The dashboard under the stage. */
.v2-dash { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 2.4vw, 40px); margin-top: var(--v2-sec-gap); align-items: start; }
@media (min-width: 1040px) { .v2-dash { grid-template-columns: minmax(0, 1.75fr) minmax(320px, 1fr); } }
.v2-dash-main { min-width: 0; }
.v2-dash-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (min-width: 1040px) { .v2-dash-side { position: sticky; top: 92px; } }
.v2-panel { border-radius: var(--v2-r-lg); overflow: hidden; }
.v2-panel-h { display: flex; align-items: center; gap: 8px; padding: 16px 18px 8px; }
.v2-panel-h b, .v2-inbox-h { color: var(--v2-text-2); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.v2-yw {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px 22px;
  padding: 18px 20px;
  border-radius: var(--v2-r-lg);
  background: radial-gradient(140% 120% at 0% 0%, rgba(var(--v2-club-rgb), .32), transparent 58%), var(--v2-card);
  color: #fff;
  text-decoration: none;
  transition: box-shadow var(--v2-t);
}
.v2-yw:hover { box-shadow: var(--v2-card-edge-hi), var(--v2-card-lift); }
.v2-yw-club { display: flex; align-items: center; gap: 14px; min-width: 0; }
html.v2 .v2-yw-club .v2-crest { width: 44px; height: 44px; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .45)); }
.v2-yw-club > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.v2-yw-club b { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-yw-club > span > span, .v2-yw-n span, .v2-yw-form > span { color: var(--v2-text-3); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.v2-yw-n { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.v2-yw-n b { font-family: var(--v2-display); font-weight: 800; font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: var(--v2-neon-soft); }
.v2-yw-form { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--v2-line); }
.v2-inbox { border-radius: var(--v2-r-lg); overflow: hidden; }
.v2-inbox-h { display: flex; align-items: center; gap: 8px; margin: 0; padding: 16px 18px 10px; }
.v2-inbox-i {
  appearance: none;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 16px 12px 18px;
  border: 0;
  border-top: 1px solid var(--v2-line);
  background: transparent;
  color: #fff;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--v2-t-fast);
}
.v2-inbox-i:hover { background: rgba(255, 255, 255, .04); }
.v2-inbox-i > .v2-ic:last-child { color: var(--v2-text-3); }
.v2-inbox-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: #fff; }
.v2-inbox-ic.is-warn { background: rgba(245, 184, 75, .12); box-shadow: inset 0 0 0 1px rgba(245, 184, 75, .3); color: #fcd34d; }
.v2-inbox-ic.is-live { background: rgba(255, 71, 71, .12); box-shadow: inset 0 0 0 1px rgba(255, 71, 71, .3); color: #ff8a8a; }
.v2-inbox-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v2-inbox-t b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-inbox-t > span { color: var(--v2-text-2); font-size: var(--v2-fs-small); }
.v2-mini-sc { display: flex; flex-direction: column; padding: 0 8px 8px; }
.v2-msc { appearance: none; display: grid; grid-template-columns: 18px auto minmax(0, 1fr) 76px; align-items: center; gap: 12px; padding: 9px 10px; border: 0; border-radius: 14px; background: transparent; color: #fff; font: inherit; text-align: left; cursor: pointer; transition: background-color var(--v2-t-fast); }
.v2-msc:hover { background: rgba(255, 255, 255, .05); }
.v2-msc-r { color: var(--v2-text-3); font-weight: 800; font-size: 12px; text-align: center; }
.v2-msc:first-child .v2-msc-r { color: var(--v2-gold); }
.v2-msc-id { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.v2-msc-id b { font-weight: 700; font-size: var(--v2-fs-small); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-msc-id span { color: var(--v2-text-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-msc-g { position: relative; display: flex; justify-content: flex-end; }
.v2-msc-g b { position: relative; z-index: 1; font-family: var(--v2-display); font-weight: 800; text-shadow: var(--v2-neon-soft); }
.v2-msc-g i { position: absolute; right: 0; top: 50%; height: 3px; margin-top: 10px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, .2), #fff); box-shadow: 0 0 8px rgba(255, 255, 255, .4); }
.v2-scb { display: flex; flex-direction: column; gap: 14px; }
.v2-scb-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
/* Every club, as a wall of crests. */
.v2-crests { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; }
html.v2 .v2-crest-tile {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 20px 10px 16px;
  border-radius: var(--v2-r);
  color: var(--v2-text-2);
  font: 700 12px/1.25 var(--v2-font);
  text-align: center;
  cursor: pointer;
  transition: box-shadow var(--v2-t) var(--v2-ease), color var(--v2-t-fast);
}
html.v2 .v2-crest-tile:hover { box-shadow: var(--v2-card-edge-hi), var(--v2-card-lift); color: #fff; }
html.v2 .v2-crest-tile .v2-crest { width: 50px; height: 50px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .5)); transition: transform 420ms var(--v2-ease-out); }
html.v2 .v2-crest-tile:hover .v2-crest { transform: translateY(-3px) scale(1.06); }
html.v2 .v2-crest-tile span { overflow-wrap: anywhere; }
@media (max-width: 520px) { .v2-crests { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }
/* Where the league lives off the site: the brands' own marks, in white. */
.v2-community { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.v2-comm {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: var(--v2-r-lg);
  color: #fff;
  text-decoration: none;
  transition: transform 600ms var(--v2-ease-out), box-shadow var(--v2-t) var(--v2-ease);
}
.v2-comm::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(120% 140% at 0% 0%, rgba(var(--brand), .32), transparent 60%); opacity: 0; transition: opacity 420ms var(--v2-ease); pointer-events: none; }
.v2-comm:hover::before { opacity: 1; }
.v2-comm:hover { box-shadow: var(--v2-card-edge-hi), var(--v2-card-lift); }
.v2-comm.is-discord { --brand: 88, 101, 242; }
.v2-comm.is-roblox { --brand: 255, 255, 255; }
.v2-comm.is-tiktok { --brand: 255, 0, 80; }
.v2-comm > * { position: relative; }
.v2-comm-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .18); color: #fff; }
.v2-comm-mark svg { filter: drop-shadow(0 0 10px rgba(255, 255, 255, .35)); }
.v2-comm > span:not(.v2-comm-mark) { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.v2-comm b { font-family: var(--v2-display); font-weight: 800; font-size: 1.05rem; }
.v2-comm > span > span { color: var(--v2-text-2); font-size: var(--v2-fs-small); }
.v2-comm > .v2-ic:last-child { color: var(--v2-text-3); transition: color var(--v2-t-fast), transform var(--v2-t) var(--v2-ease-out); }
.v2-comm:hover > .v2-ic:last-child { color: #fff; transform: translate(2px, -2px); }

/* The reader's own corner under the stage: their next match, their place in
   the table, and anything waiting on them. */
.v2-mine { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
.v2-mine > * { flex: 1 1 340px; min-width: 0; }
.v2-mine > .v2-ym { flex: 1.8 1 560px; }
.v2-mine > .v2-yw { flex: 0 1 460px; align-content: center; }
.v2-mine > .v2-ym + .v2-yw { flex: 1 1 360px; }
.v2-mine > .v2-inbox { flex: 1 1 100%; }
@media (max-width: 700px) { .v2-mine > * { flex-basis: 100%; } }
.v2-ym {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
  padding: 18px 22px 16px;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  background: var(--v2-card);
  box-shadow: var(--v2-card-edge), var(--v2-card-lift);
  transition: transform 600ms var(--v2-ease-out), box-shadow var(--v2-t) var(--v2-ease);
}
.v2-ym:hover { box-shadow: var(--v2-card-edge-hi), 0 30px 60px -30px rgba(0, 0, 0, 1); }
.v2-ym.is-live { background: radial-gradient(130% 100% at 100% 0%, rgba(255, 71, 71, .16), transparent 60%), var(--v2-card); box-shadow: inset 0 0 0 1px rgba(255, 71, 71, .4), var(--v2-card-lift); }
.v2-ym.is-live { box-shadow: 0 0 0 1px rgba(255, 71, 71, .5), 0 0 50px -16px rgba(255, 71, 71, .45), 0 34px 70px -40px rgba(0, 0, 0, 1); }
.v2-ym-bg { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: #07080a; pointer-events: none; }
.v2-ym-bg i { position: absolute; inset: 0; }
.v2-ym-photo, .v2-ym-light { display: none; }
.v2-ym-photo { background: var(--img) center 45% / cover no-repeat; filter: saturate(.6) brightness(.42); transform: scale(1.04); transition: transform 1.2s var(--v2-ease-out); }
.v2-ym:hover .v2-ym-photo { transform: scale(1.08); }
.v2-ym-light { background: radial-gradient(55% 120% at 0% 100%, rgba(var(--h-rgb), .55), transparent 62%), radial-gradient(55% 120% at 100% 100%, rgba(var(--a-rgb), .55), transparent 62%), linear-gradient(180deg, rgba(5, 6, 8, .35), rgba(5, 6, 8, .2) 45%, rgba(5, 6, 8, .78)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); border-radius: inherit; }
.v2-ym > :not(.v2-ym-bg):not(.v2-shine) { position: relative; z-index: 1; }
.v2-ym-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.v2-ym-label { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; text-shadow: var(--v2-neon-soft); }
.v2-ym-comp { display: inline-flex; align-items: center; gap: 7px; height: 22px; padding: 0 9px; border-radius: 999px; background: rgba(var(--v2-club-rgb), .2); box-shadow: inset 0 0 0 1px rgba(var(--v2-club-rgb), .38); font-size: 11px; font-weight: 800; white-space: nowrap; }
.v2-ym-body { flex: 1 1 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; }
.v2-ym-club { display: flex; align-items: center; gap: 14px; min-width: 0; }
.v2-ym-club.is-away { flex-direction: row-reverse; text-align: right; }
html.v2 .v2-ym-club .v2-crest { width: 36px; height: 36px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
.v2-ym-club b { font-family: var(--v2-display); font-weight: 800; font-size: clamp(.95rem, .8rem + .4vw, 1.2rem); line-height: 1.1; overflow-wrap: anywhere; }
.v2-ym-club.is-me b { text-shadow: var(--v2-neon-soft); }
.v2-ym-club.is-me b::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 9px 2px 0; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .9); vertical-align: middle; }
.v2-ym-mid { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.v2-ym-big { display: inline-flex; align-items: center; gap: 10px; font-family: var(--v2-display); font-weight: 800; font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); line-height: .9; font-variant-numeric: tabular-nums; text-shadow: var(--v2-neon); }
.v2-ym-big i { width: .3em; height: .07em; border-radius: 2px; background: rgba(255, 255, 255, .5); }
.v2-ym-mid small { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .75); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.v2-ym-mid small.is-live { color: #ff8a8a; }
.v2-ym-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: rgba(255, 255, 255, .72); font-size: 12px; font-weight: 600; }
.v2-ym-foot > span { display: inline-flex; align-items: center; gap: 6px; }
.v2-ym-go { color: #fff; font-weight: 800; }
.v2-ym-go .v2-ic { transition: transform var(--v2-t) var(--v2-ease-out); }
.v2-ym:hover .v2-ym-go .v2-ic { transform: translateX(3px); }
.v2-ym { min-height: 0; padding: 14px 18px; gap: 10px; }
.v2-ym-club b { font-size: .875rem; }
@media (max-width: 640px) {
  .v2-ym { min-height: 0; padding: 16px 14px 14px; border-radius: 22px; gap: 12px; }
  .v2-ym-club { flex-direction: column; gap: 8px; text-align: center; }
  .v2-ym-club.is-away { flex-direction: column; text-align: center; }
  html.v2 .v2-ym-club .v2-crest { width: 44px; height: 44px; }
  .v2-ym-club b { font-family: var(--v2-font); font-size: .8125rem; }
  .v2-ym-club.is-me b::before { display: none; }
  .v2-ym-foot > span:first-child:not(:last-child) { display: none; }
}

/* The latest results, as lines beside the table. */
html.v2 .v2-res-list .v2-fx { grid-template-columns: 78px minmax(0, 1fr) auto; padding: 12px 14px 12px 16px; }

.v2-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; }
.v2-pod {
  appearance: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 30px 14px 18px;
  border: 0;
  border-radius: 26px;
  background: radial-gradient(120% 70% at 50% 0%, rgba(var(--pod), .26), transparent 68%), var(--v2-card);
  box-shadow: inset 0 0 0 1px rgba(var(--pod), .28), inset 0 1px 0 rgba(255, 255, 255, .12), var(--v2-card-lift);
  color: #fff;
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: transform 600ms var(--v2-ease-out), box-shadow var(--v2-t) var(--v2-ease);
}
.v2-pod:hover { box-shadow: inset 0 0 0 1px rgba(var(--pod), .55), inset 0 1px 0 rgba(255, 255, 255, .16), var(--v2-card-lift), 0 0 50px -18px rgba(var(--pod), .6); }
.v2-pod.is-1 { --pod: 233, 194, 122; min-height: 320px; padding-top: 40px; }
.v2-pod.is-2 { --pod: 211, 216, 222; min-height: 286px; }
.v2-pod.is-3 { --pod: 211, 154, 104; min-height: 266px; }
.v2-pod-rank { position: absolute; top: 14px; left: 14px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: rgba(var(--pod), .16); box-shadow: inset 0 0 0 1px rgba(var(--pod), .4); color: rgb(var(--pod)); font-weight: 800; font-size: .875rem; }
html.v2 .v2-pod-face .v2-av.is-xl { width: 84px; height: 84px; font-size: 22px; box-shadow: 0 0 0 3px rgba(var(--pod), .5), 0 0 34px rgba(var(--pod), .3), 0 18px 30px -14px rgba(0, 0, 0, .9); }
html.v2 .v2-pod.is-1 .v2-pod-face .v2-av.is-xl { width: 104px; height: 104px; }
.v2-pod-name { max-width: 100%; margin-top: 6px; font-family: var(--v2-display); font-weight: 700; font-size: .9375rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-pod-club { display: inline-flex; align-items: center; justify-content: center; gap: 6px; max-width: 100%; color: var(--v2-text-2); font-size: 12px; }
.v2-pod-club > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-pod-n { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: auto; padding-top: 10px; }
.v2-pod-n b { font-family: var(--v2-display); font-weight: 800; font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: var(--v2-neon); }
.v2-pod.is-1 .v2-pod-n b { font-size: 3.4rem; }
.v2-pod-n span, .v2-pod-o { color: var(--v2-text-3); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 640px) {
  .v2-podium { gap: 8px; }
  .v2-pod { padding: 34px 6px 14px; border-radius: 20px; gap: 6px; }
  .v2-pod.is-1 { min-height: 250px; }
  .v2-pod.is-2 { min-height: 226px; }
  .v2-pod.is-3 { min-height: 210px; }
  .v2-pod-rank { top: 10px; left: 10px; width: 24px; height: 24px; border-radius: 8px; font-size: .75rem; }
  html.v2 .v2-pod-face .v2-av.is-xl { width: 56px; height: 56px; font-size: 16px; }
  html.v2 .v2-pod.is-1 .v2-pod-face .v2-av.is-xl { width: 66px; height: 66px; }
  .v2-pod-name { font-size: .8125rem; }
  .v2-pod-club { font-size: 11px; }
  .v2-pod-club .v2-crest { display: none; }
  .v2-pod-n b { font-size: 1.8rem; }
  .v2-pod.is-1 .v2-pod-n b { font-size: 2.2rem; }
  .v2-pod-o { display: none; }
}

.v2-sc .v2-sc-row:nth-child(1) .v2-sc-rank { color: var(--v2-silver); }
.v2-sc .v2-sc-row:nth-child(2) .v2-sc-rank { color: var(--v2-bronze); }

/* The top scorers on home: a leaderboard on a desk, the podium on a phone. */
html.v2 .v2-sc.is-board { display: block; }
.v2-sc.is-board .v2-podium { display: none; }
.v2-gb { border-radius: var(--v2-r-lg); background: var(--v2-card); box-shadow: var(--v2-card-edge), var(--v2-card-lift); overflow: hidden; }
.v2-gb-h { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 16px 22px 14px; border-bottom: 1px solid var(--v2-line); color: var(--v2-text-2); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.v2-gb-h span + span { color: var(--v2-text-3); letter-spacing: .08em; }
.v2-gb-list { display: grid; grid-template-columns: minmax(0, 1fr); }
@container (min-width: 900px) {
  .v2-sc.is-two .v2-gb-list { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; }
  .v2-sc.is-two .v2-gb-r:nth-child(n + 6) { box-shadow: inset 1px 0 0 var(--v2-line); }
  .v2-sc.is-two .v2-gb-r:nth-child(6) { border-top: 0; }
}
.v2-gb-r {
  appearance: none;
  position: relative;
  display: grid;
  grid-template-columns: 34px 44px minmax(0, 1fr) minmax(60px, 170px) 52px 40px;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 22px 12px 18px;
  border: 0;
  border-top: 1px solid var(--v2-line);
  background: transparent;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--v2-t-fast);
}
.v2-gb-r:first-child { border-top: 0; }
.v2-gb-r:hover { background-color: rgba(255, 255, 255, .04); }
.v2-gb-r.is-r1 { --m: 233, 194, 122; }
.v2-gb-r.is-r2 { --m: 211, 216, 222; }
.v2-gb-r.is-r3 { --m: 211, 154, 104; }
.v2-gb-r.is-top { background-image: radial-gradient(70% 140% at 0% 50%, rgba(var(--m), .14), transparent 62%); }
.v2-gb-rank { font-family: var(--v2-display); font-weight: 800; font-size: 1.15rem; color: var(--v2-text-3); text-align: center; font-variant-numeric: tabular-nums; }
.v2-gb-r.is-top .v2-gb-rank { color: rgb(var(--m)); text-shadow: 0 0 14px rgba(var(--m), .5); }
html.v2 .v2-gb-r .v2-av { width: 44px; height: 44px; }
html.v2 .v2-gb-r.is-top .v2-av { box-shadow: 0 0 0 2px rgba(var(--m), .7), 0 0 18px rgba(var(--m), .35); }
.v2-gb-id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.v2-gb-id b { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-gb-r.is-r1 .v2-gb-id b { font-size: 1.05rem; }
.v2-gb-id > span { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--v2-text-2); font-size: 12px; }
.v2-gb-id > span > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-gb-bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.v2-gb-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, rgba(255, 255, 255, .35), #fff); box-shadow: 0 0 10px rgba(255, 255, 255, .45); transform-origin: left; animation: v2-grow 700ms var(--v2-ease-out) both; }
.v2-gb-n, .v2-gb-o { display: flex; align-items: baseline; justify-content: flex-end; gap: 3px; font-variant-numeric: tabular-nums; }
.v2-gb-n b { font-family: var(--v2-display); font-weight: 800; font-size: 1.35rem; text-shadow: var(--v2-neon-soft); }
.v2-gb-r.is-r1 .v2-gb-n b { font-size: 1.6rem; text-shadow: var(--v2-neon); }
.v2-gb-o b { font-family: var(--v2-display); font-weight: 800; color: var(--v2-text-2); }
.v2-gb-n i, .v2-gb-o i { font-style: normal; color: var(--v2-text-3); font-size: 11px; }
@container (max-width: 640px) {
  .v2-gb-r { grid-template-columns: 26px 38px minmax(0, 1fr) 44px 34px; gap: 10px; min-height: 64px; padding: 10px 14px 10px 10px; }
  .v2-gb-bar { display: none; }
  html.v2 .v2-gb-r .v2-av { width: 38px; height: 38px; }
}
/* A phone: the top three on the podium, the board carries on from fourth. */
@media (max-width: 640px) {
  html.v2 .v2-sc.is-board { display: flex; flex-direction: column; gap: 12px; }
  .v2-sc.is-board .v2-podium { display: grid; }
  .v2-sc.is-board .v2-gb-r.is-top { display: none; }
  .v2-sc.is-board .v2-gb-r:nth-child(4) { border-top: 0; }
}

/* Every club, a row per division. */
.v2-cw { display: flex; flex-direction: column; gap: 10px; }
.v2-cw-row { display: grid; grid-template-columns: 184px minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 22px; background: var(--v2-card); box-shadow: var(--v2-card-edge), var(--v2-card-lift); }
.v2-cw-h { display: flex; align-items: center; gap: 12px; min-width: 0; color: #fff; text-decoration: none; }
.v2-cw-h .v2-comp-mark { width: 30px; height: 30px; }
.v2-cw-h > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.v2-cw-h b { font-family: var(--v2-display); font-weight: 800; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-cw-h > span > span { color: var(--v2-text-3); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.v2-cw-list { display: flex; flex-wrap: wrap; gap: 2px; }
html.v2 .v2-cw .v2-crest-tile { flex: 1 0 74px; max-width: 124px; min-width: 0; gap: 7px; padding: 10px 4px 9px; border-radius: 14px; background: transparent; box-shadow: none; font-size: 11px; }
html.v2 .v2-cw .v2-crest-tile:hover { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--v2-line-2); }
html.v2 .v2-cw .v2-crest-tile .v2-crest { width: 36px; height: 36px; }
html.v2 .v2-cw .v2-crest-tile span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 100%; }
@media (max-width: 760px) {
  .v2-cw-row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 14px 8px 8px 14px; }
  .v2-cw-list { flex-wrap: nowrap; gap: 2px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain; margin-left: -6px; }
  .v2-cw-list::-webkit-scrollbar { display: none; }
  html.v2 .v2-cw .v2-crest-tile { flex: 0 0 82px; max-width: none; scroll-snap-align: start; }
}

/* The league's forms. */
#home-apps > .v2-sec { margin-top: var(--v2-sec-gap); }
.v2-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.v2-app {
  position: relative;
  border-radius: var(--v2-r-lg);
  background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--f1, #8c96a5) 30%, transparent), transparent 62%), var(--v2-card);
  box-shadow: var(--v2-card-edge), var(--v2-card-lift);
  transition: box-shadow var(--v2-t) var(--v2-ease);
}
.v2-app:hover { box-shadow: var(--v2-card-edge-hi), var(--v2-card-lift); }
.v2-app.is-shut { opacity: .6; }
.v2-app { display: flex; flex-direction: column; }
.v2-app-open { flex: 1 1 auto; width: 100%; display: flex; flex-direction: column; gap: 8px; padding: 20px; color: #fff; text-decoration: none; }
.v2-app-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.v2-app:has(.v2-app-edit) .v2-app-top { padding-right: 44px; }
html.v2 .v2-app .ap-chip { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(160deg, color-mix(in srgb, var(--c1, #8c96a5) 55%, transparent), color-mix(in srgb, var(--c2, #8c96a5) 22%, transparent)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 1px 0 rgba(255, 255, 255, .2); animation: none; }
html.v2 .v2-app .ap-chip img { width: 30px; height: 30px; object-fit: contain; }
html.v2 .v2-app .ap-chip b { font-family: var(--v2-display); font-size: 1.2rem; color: #fff; }
.v2-app-t { font-family: var(--v2-display); font-weight: 800; font-size: 1.15rem; line-height: 1.15; }
.v2-app-for { color: var(--v2-text-2); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.v2-app-blurb { color: var(--v2-text-2); font-size: var(--v2-fs-small); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v2-app-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--v2-line); color: var(--v2-text-3); font-size: 12px; }
.v2-app-foot > span { display: inline-flex; align-items: center; gap: 6px; }
.v2-app-mine { color: #fff; font-weight: 700; }
.v2-app-go { color: #fff; font-weight: 800; }
.v2-app-go .v2-ic { transition: transform var(--v2-t) var(--v2-ease-out); }
.v2-app:hover .v2-app-go .v2-ic { transform: translateX(3px); }
.v2-app-dot { width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px rgba(52, 211, 153, .8); }
.v2-app-edit { position: absolute; top: 20px; right: 18px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--v2-line-2); color: var(--v2-text-2); transition: color var(--v2-t-fast), background-color var(--v2-t-fast); }
.v2-app-edit:hover { color: #fff; background: rgba(255, 255, 255, .12); }

/* ------------------------------------------------------------ the identity header (the shop, fantasy, a free agent's card) */
.v2-id { position: relative; margin: -2px 0 32px; }
.v2-id-photo { position: relative; height: clamp(170px, 17vw, 260px); border-radius: 30px; background: #07080a; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 90px -46px rgba(0, 0, 0, 1); }
.v2-id-photo::before { content: ""; position: absolute; inset: 0; background: var(--img) center 45% / cover no-repeat; filter: saturate(.7) brightness(.55); }
.v2-id-photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 140% at 0% 100%, rgba(var(--v2-club-rgb), .55), transparent 60%), linear-gradient(180deg, rgba(5, 6, 8, .2), rgba(5, 6, 8, .78)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); border-radius: inherit; }
.v2-id-photo.is-none { height: 110px; background: radial-gradient(80% 160% at 0% 0%, rgba(var(--v2-club-rgb), .4), transparent 60%), var(--v2-card); }
.v2-id-photo.is-none::before { display: none; }
.v2-id-photo.is-none::after { background: none; }
.v2-id-main { position: relative; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 24px; padding: 0 clamp(16px, 2.2vw, 30px); }
.v2-id-marks { position: relative; display: flex; align-items: flex-end; flex: none; margin-top: -56px; }
html.v2 .v2-id-face .v2-av.is-xl { width: 112px; height: 112px; font-size: 28px; box-shadow: 0 0 0 4px var(--v2-bg), 0 0 0 5px rgba(255, 255, 255, .2), 0 0 40px rgba(255, 255, 255, .14); }
.v2-id-badge { display: grid; place-items: center; margin-left: -20px; margin-bottom: -2px; width: 60px; height: 60px; border-radius: 18px; background: rgba(14, 16, 19, .9); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), var(--v2-depth-1); }
.v2-id-badge img, html.v2 .v2-id-badge .v2-crest { width: 54px; height: 54px; object-fit: contain; }
.v2-id-marks:not(:has(.v2-id-face)) .v2-id-badge { margin-left: 0; width: 104px; height: 104px; border-radius: 28px; }
.v2-id-marks:not(:has(.v2-id-face)) .v2-id-badge img, html.v2 .v2-id-marks:not(:has(.v2-id-face)) .v2-id-badge .v2-crest { width: 76px; height: 76px; }
.v2-id-text { flex: 1 1 320px; min-width: 0; padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.v2-id-text .v2-display { font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.9rem); }
.v2-id-meta { display: block; margin: 0; color: var(--v2-text-2); font-size: var(--v2-fs-small); line-height: 1.6; }
.v2-id-meta > span + span::before { content: "\00b7"; margin: 0 .5em; color: var(--v2-text-3); }
.v2-id-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 20px; }
.v2-id-actions .tag { height: 36px; padding: 0 14px; }
.v2-id-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin-top: 26px; border-radius: var(--v2-r-lg); background: var(--v2-card); box-shadow: var(--v2-card-edge), var(--v2-card-lift); }
.v2-id-stat { display: flex; flex-direction: column; gap: 6px; padding: 18px clamp(16px, 2vw, 28px); }
.v2-id-stat + .v2-id-stat { border-left: 1px solid var(--v2-line); }
.v2-id-stat b { font-family: var(--v2-display); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); line-height: 1; font-variant-numeric: tabular-nums; text-shadow: var(--v2-neon-soft); }
.v2-id-stat span { color: var(--v2-text-3); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 640px) {
  .v2-id-photo { height: 150px; border-radius: 26px; }
  .v2-id-main { gap: 12px; }
  .v2-id-marks { margin-top: -46px; }
  .v2-id-text { padding-top: 4px; flex-basis: 100%; }
  .v2-id-actions { padding-top: 0; width: 100%; }
  html.v2 .v2-id-face .v2-av.is-xl { width: 88px; height: 88px; }
  .v2-id-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-id-stat:nth-child(3) { border-left: 0; }
  .v2-id-stat:nth-child(n + 3) { border-top: 1px solid var(--v2-line); }
}

/* ------------------------------------------------------------ notes */
.v2-asstaff { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 20px; padding: 10px 12px 10px 16px; border-radius: var(--v2-r); border: 1px dashed var(--v2-line-3); color: var(--v2-text-2); }
.v2-asstaff .v2-input { flex: 1 1 220px; min-height: 38px; width: auto; }
.v2-note { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 20px; padding: 16px 18px; border-radius: var(--v2-r); color: var(--v2-text-2); }
.v2-note p { margin: 0; }
.v2-note .v2-ic { flex: none; color: #fff; margin-top: 2px; }

/* ------------------------------------------------------------ players, as tiles */
.v2-players { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.v2-player {
  appearance: none;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: var(--v2-r);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 600ms var(--v2-ease-out), box-shadow var(--v2-t);
}
.v2-player:hover { box-shadow: var(--v2-card-edge-hi), var(--v2-card-lift); }
.v2-player-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v2-player-id b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-player-id > span { color: var(--v2-text-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-player.is-listed .v2-player-id > span { color: #fcd34d; }
.v2-player-n { display: flex; align-items: baseline; gap: 2px; font-variant-numeric: tabular-nums; }
.v2-player-n b { font-family: var(--v2-display); font-weight: 800; }
.v2-player-n i { font-style: normal; color: var(--v2-text-3); font-size: 11px; }

/* ============================================================ the workspace (My club, My career)

   A rail on the left with who this is (a card with the stadium behind it)
   and the rooms of the workspace; the room itself on the right. On a phone
   the card shrinks to a band and the rooms become a capsule of tabs that
   stays under the top bar. */
.v2-ws { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 980px) { .v2-ws { grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 2.6vw, 48px); } }
@media (min-width: 1500px) { .v2-ws { grid-template-columns: 330px minmax(0, 1fr); } }
.v2-ws-rail { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (min-width: 980px) { .v2-ws-rail { position: sticky; top: 92px; max-height: calc(100vh - 108px); overflow-y: auto; scrollbar-width: none; padding-bottom: 4px; } .v2-ws-rail::-webkit-scrollbar { display: none; } }
.v2-ws-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 0 20px 20px; border-radius: 26px; overflow: hidden; }
.v2-ws-photo { position: relative; align-self: stretch; height: 150px; margin: 0 -20px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent); mask-image: linear-gradient(180deg, #000 45%, transparent); }
.v2-ws-photo::before { content: ""; position: absolute; inset: 0; background: var(--img) center 45% / cover no-repeat; filter: saturate(.7) brightness(.6); transform: scale(1.04); }
.v2-ws-photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 120% at 0% 0%, rgba(var(--v2-club-rgb), .6), transparent 65%); }
.v2-ws-marks { position: relative; display: flex; align-items: flex-end; margin-top: -54px; margin-bottom: 14px; }
.v2-ws-crest { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 26px; background: rgba(14, 16, 19, .82); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .16), 0 20px 40px -16px rgba(0, 0, 0, .9), 0 0 40px -10px rgba(var(--v2-club-rgb), .6); }
html.v2 .v2-ws-crest .v2-crest.is-xl { width: 64px; height: 64px; }
html.v2 .v2-ws-face .v2-av.is-xl { width: 92px; height: 92px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .22), 0 0 34px rgba(255, 255, 255, .16), 0 20px 40px -16px rgba(0, 0, 0, .9); }
/* The club's seal, tucked against the face: round, and the crest fills it
   (crest files carry their own transparent margin, so a small box made them tiny). */
.v2-ws-badge { position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 50px; height: 50px; margin: 0 0 -2px -30px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #1c1f24, #0b0c0f 75%); box-shadow: 0 0 0 3px #0e1013, inset 0 0 0 1px rgba(255, 255, 255, .16), 0 8px 18px -6px rgba(0, 0, 0, .8); }
html.v2 .v2-ws-badge .v2-crest { width: 44px; height: 44px; object-fit: contain; border-radius: 0; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); }
html.v2 .v2-ws-badge span.v2-crest { width: 36px; height: 36px; border-radius: 50%; }
.v2-ws-name { position: relative; margin: 0; font-family: var(--v2-display); font-weight: 800; font-size: 1.7rem; line-height: 1.04; letter-spacing: -.015em; overflow-wrap: anywhere; text-shadow: var(--v2-neon); }
.v2-ws-meta { position: relative; margin: 8px 0 0; color: var(--v2-text-2); font-size: var(--v2-fs-small); }
.v2-ws-kpis { position: relative; align-self: stretch; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--v2-line); }
.v2-ws-kpis > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.v2-ws-kpis > div + div { padding-left: 14px; border-left: 1px solid var(--v2-line); }
.v2-ws-kpis b { font-family: var(--v2-display); font-weight: 800; font-size: 1.3rem; font-variant-numeric: tabular-nums; text-shadow: var(--v2-neon-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-ws-kpis span { color: var(--v2-text-3); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.v2-ws-nav { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 7px; border-radius: 24px; }
.v2-ws-ind {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 7px;
  right: 7px;
  height: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), inset 0 0 0 1px rgba(255, 255, 255, .07), 0 8px 20px -8px rgba(0, 0, 0, .8);
  transition: transform 480ms var(--v2-ease-out), height 480ms var(--v2-ease-out), width 480ms var(--v2-ease-out);
  pointer-events: none;
}
.v2-ws-item { position: relative; z-index: 1; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 48px; padding: 0 14px; border-radius: 16px; color: var(--v2-text-2); text-decoration: none; font-weight: 700; font-size: .875rem; transition: color var(--v2-t-fast) var(--v2-ease); }
.v2-ws-item:hover { color: #fff; }
.v2-ws-item.on { color: #fff; text-shadow: 0 0 14px rgba(255, 255, 255, .35); }
.v2-ws-item.on .v2-ic { filter: drop-shadow(0 0 6px rgba(255, 255, 255, .7)); }
.v2-ws-item .v2-ic { transition: transform var(--v2-t) var(--v2-ease-out); }
.v2-ws-item:hover .v2-ic { transform: translateX(2px); }
.v2-ws-count { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: var(--v2-text-2); font-size: 11px; font-weight: 800; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }
.v2-ws-count.is-live { background: var(--v2-live); color: #fff; box-shadow: 0 0 12px rgba(255, 71, 71, .6); }
.v2-ws-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.v2-ws-tools .btn, .v2-ws-tools .v2-btn { min-height: 34px; font-size: 12px; }
.v2-ws-main { min-width: 0; }
.v2-ws-panel { min-width: 0; }
@media (max-width: 979px) {
  .v2-ws-card { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 16px 18px; border-radius: 24px; }
  .v2-ws-photo { position: absolute; inset: 0; height: auto; margin: 0; opacity: .5; -webkit-mask-image: linear-gradient(90deg, #000, transparent 85%); mask-image: linear-gradient(90deg, #000, transparent 85%); }
  .v2-ws-marks { margin: 0; }
  .v2-ws-crest { width: 64px; height: 64px; border-radius: 20px; }
  html.v2 .v2-ws-crest .v2-crest.is-xl { width: 48px; height: 48px; }
  html.v2 .v2-ws-face .v2-av.is-xl { width: 64px; height: 64px; }
  .v2-ws-badge { width: 38px; height: 38px; margin-left: -22px; }
  html.v2 .v2-ws-badge .v2-crest { width: 33px; height: 33px; }
  .v2-ws-name { font-size: 1.4rem; flex: 1 1 140px; }
  .v2-ws-meta { flex-basis: 100%; margin: 0; }
  .v2-ws-kpis { flex-basis: 100%; margin-top: 10px; padding-top: 12px; }
  .v2-ws-nav {
    position: sticky;
    top: calc(var(--bar-h) + env(safe-area-inset-top, 0px) + 6px);
    z-index: 20;
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 5px;
    border-radius: 999px;
    background: rgba(14, 16, 19, .7);
    -webkit-backdrop-filter: var(--v2-blur);
    backdrop-filter: var(--v2-blur);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .12), var(--v2-depth-2);
  }
  .v2-ws-nav::-webkit-scrollbar { display: none; }
  .v2-ws-ind { top: 5px; left: 0; right: auto; border-radius: 999px; }
  .v2-ws-item { flex: none; display: inline-flex; min-height: 40px; padding: 0 16px; gap: 8px; border-radius: 999px; }
  .v2-ws-item .v2-ic { display: none; }
  /* The club's tools (Switch club, Walk-through) are the phone's only way to
     reach those two, so the row stays, as one line that scrolls sideways. */
  .v2-ws-tools { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 0 4px; }
  .v2-ws-tools::-webkit-scrollbar { display: none; }
  .v2-ws-tools > * { flex: none; }
}

@media (max-width: 979px) {
  /* One identity at a time on a phone: where a room opens on the player's
     poster, the band above the tabs steps aside for it. */
  .v2-ws:has(.v2-poster) .v2-ws-card { display: none; }
  /* Staff reading a career: one line, not a box. */
  .v2-asstaff { flex-wrap: nowrap; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 999px; border-style: solid; border-color: var(--v2-line-2); background: rgba(255, 255, 255, .03); }
  .v2-asstaff .v2-input { flex: 1 1 auto; min-width: 0; min-height: 36px; padding: 0 10px; border: 0; background: transparent; box-shadow: none; }
  .v2-asstaff > .v2-faint { display: none; }
}
/* A room's own head. */
.v2-ph { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 18px; margin: 0 0 22px; }
.v2-ph-t { margin: 0; font-family: var(--v2-display); font-weight: 800; font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.8rem); line-height: 1; letter-spacing: -.02em; text-shadow: var(--v2-neon); }
.v2-ph-m { flex: 1 1 260px; margin: 0 0 4px; color: var(--v2-text-2); font-size: var(--v2-fs-small); }
.v2-ph-tools { display: flex; gap: 8px; }

/* The overview: cards of different sizes, laid out by what they hold. */
.v2-ws-main { container-type: inline-size; }
.v2-ov { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@container (min-width: 700px) { .v2-ov { grid-template-columns: repeat(2, minmax(0, 1fr)); } .v2-oc.is-wide { grid-column: 1 / -1; } }
@container (min-width: 1180px) { .v2-ov { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.v2-oc { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 20px; border-radius: var(--v2-r-lg); }
.v2-oc-h { display: flex; align-items: baseline; gap: 10px; }
.v2-oc-h b { color: var(--v2-text-2); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.v2-oc-h > span:not(.v2-spacer) { color: var(--v2-text-3); font-size: 12px; }
.v2-oc-go { display: inline-flex; align-items: center; gap: 5px; color: var(--v2-text-2); font-size: 12px; font-weight: 700; text-decoration: none; transition: color var(--v2-t-fast); }
.v2-oc-go:hover { color: #fff; }
.v2-oc-go .v2-ic { transition: transform var(--v2-t) var(--v2-ease-out); }
.v2-oc-go:hover .v2-ic { transform: translateX(3px); }
.v2-oc-sub { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid var(--v2-line); }
.v2-oc-sub > span { color: var(--v2-text-3); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.v2-oc-foot { display: flex; flex-wrap: wrap; gap: 6px; }
.v2-oc.is-match { background: radial-gradient(120% 120% at 0% 0%, rgba(var(--v2-club-rgb), .26), transparent 60%), var(--v2-card); }
.v2-nm { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; color: #fff; text-decoration: none; }
html.v2 .v2-nm .v2-crest { width: 44px; height: 44px; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .45)); }
.v2-nm-id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.v2-nm-id b { font-weight: 800; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-nm-id span, .v2-nm-when span { color: var(--v2-text-3); font-size: 12px; }
.v2-nm-when { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.v2-nm-when b { font-family: var(--v2-display); font-weight: 800; font-size: 1.4rem; font-variant-numeric: tabular-nums; text-shadow: var(--v2-neon-soft); }
.v2-nm-when span { display: inline-flex; align-items: center; gap: 5px; }
.v2-res.is-w { color: #6ee7b7; }
.v2-res.is-l { color: #fca5a5; }
.v2-slice { display: flex; flex-direction: column; }
.v2-slice-r { display: grid; grid-template-columns: 32px 22px minmax(0, 1fr) 24px 36px 30px; align-items: center; gap: 8px; padding: 8px 8px; border-radius: 10px; font-size: var(--v2-fs-small); font-variant-numeric: tabular-nums; }
.v2-slice-r b { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-slice-r > span:not(.v2-pos) { color: var(--v2-text-3); text-align: right; }
.v2-slice-r em { font-style: normal; font-family: var(--v2-display); font-weight: 800; text-align: right; }
.v2-slice-r.is-me { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.v2-slice-r.is-me b { font-weight: 800; text-shadow: var(--v2-neon-soft); }
.v2-slice-form { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--v2-line); color: var(--v2-text-3); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.v2-money { display: flex; align-items: baseline; gap: 10px; }
.v2-money b { font-family: var(--v2-display); font-weight: 800; font-size: 2.9rem; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: var(--v2-neon); }
.v2-money span { color: var(--v2-text-2); font-weight: 700; }
.v2-oc.is-money .v2-spark { padding: 0; background: none; box-shadow: none; }
.v2-tx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.v2-tx > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 16px; background: var(--v2-inset); box-shadow: inset 0 0 0 1px var(--v2-line); }
.v2-tx b { font-family: var(--v2-display); font-weight: 800; font-size: 1.6rem; font-variant-numeric: tabular-nums; text-shadow: var(--v2-neon-soft); }
.v2-tx span { color: var(--v2-text-3); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.v2-leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.v2-ld { appearance: none; display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 14px; background: var(--v2-inset); box-shadow: inset 0 0 0 1px var(--v2-line); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: background-color var(--v2-t-fast), box-shadow var(--v2-t-fast); }
.v2-ld:hover { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--v2-line-2); }
.v2-ld-r { color: var(--v2-text-3); font-weight: 800; font-size: 12px; width: 12px; }
.v2-ld:first-child .v2-ld-r { color: var(--v2-gold); }
.v2-ld > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v2-ld b { font-weight: 700; font-size: var(--v2-fs-small); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-ld > span:last-child > span { color: var(--v2-text-3); font-size: 12px; }
.v2-ending { display: flex; flex-direction: column; gap: 2px; }
.v2-end { appearance: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 12px; background: transparent; color: #fff; font: inherit; text-align: left; cursor: pointer; transition: background-color var(--v2-t-fast); }
.v2-end:hover { background: rgba(255, 255, 255, .05); }
.v2-end b { font-weight: 650; font-size: var(--v2-fs-small); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* The squad room: players as cards you can turn in the light. */
.v2-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 18px; }
.v2-search { flex: 1 1 240px; position: relative; display: flex; align-items: center; }
.v2-search .v2-ic { position: absolute; left: 16px; color: var(--v2-text-3); pointer-events: none; }
.v2-search .v2-input { padding-left: 44px; min-height: 44px; }
.v2-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(184px, 1fr)); gap: 14px; }
.v2-pc {
  appearance: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 22px 14px 0;
  border: 0;
  border-radius: 18px;
  background: radial-gradient(110% 60% at 50% 0%, rgba(var(--v2-club-rgb), .26), transparent 72%), linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .02));
  box-shadow: inset 0 0 0 1px var(--v2-line-2), 0 20px 40px -32px rgba(0, 0, 0, 1);
  color: #fff;
  font: 400 14px/1.3 var(--v2-quiet);
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: transform 600ms var(--v2-ease-out), box-shadow var(--v2-t) var(--v2-ease), background-color var(--v2-t) var(--v2-ease);
}
/* The club is a line of light along the top edge, nothing more. */
.v2-pc::before { content: ""; position: absolute; left: 22%; right: 22%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--v2-club-rgb), .9), transparent); opacity: .7; }
.v2-pc:hover { box-shadow: inset 0 0 0 1px var(--v2-line-3), 0 26px 48px -30px rgba(0, 0, 0, 1); }
/* A faint sheen that follows the pointer while the card leans. */
.v2-pc-holo {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .06) 46%, transparent 62%) var(--mx, 50%) var(--my, 50%) / 250% 250% no-repeat;
  transition: opacity var(--v2-t) var(--v2-ease);
}
.v2-pc.is-tilting .v2-pc-holo { opacity: 1; }
.v2-pc-face { position: relative; }
html.v2 .v2-pc-face .v2-av.is-lg { width: 72px; height: 72px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 12px 24px -12px rgba(0, 0, 0, .9); }
.v2-pc-tag { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); max-width: 150px; padding: 2px 8px; border-radius: 999px; background: #17140c; color: #f5d27a; box-shadow: inset 0 0 0 1px rgba(245, 210, 122, .45); font: 500 11px/1.35 var(--v2-quiet); font-style: normal; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-pc-name { position: relative; margin-top: 16px; max-width: 100%; font-family: var(--v2-display); font-weight: 700; font-size: .8125rem; letter-spacing: .01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-pc-nums { position: relative; align-self: stretch; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 16px -14px 0; border-top: 1px solid var(--v2-line); }
.v2-pc-nums > span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px 12px; min-width: 0; }
.v2-pc-nums > span + span { border-left: 1px solid var(--v2-line); }
.v2-pc-nums b { color: #fff; font-family: var(--v2-display); font-weight: 400; font-size: .9375rem; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.v2-pc-nums small { color: var(--v2-text-3); font-size: 11px; font-weight: 400; white-space: nowrap; }
.v2-pc-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; }
.v2-pc-bar i { display: block; height: 100%; background: rgba(255, 255, 255, .55); transform-origin: left; animation: v2-grow 600ms var(--v2-ease-out) both; }
@media (max-width: 520px) { .v2-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .v2-pc { padding: 18px 10px 0; } .v2-pc-nums { margin: 14px -10px 0; } .v2-pc-nums > span { padding: 9px 1px 11px; } .v2-pc-nums small { font-size: 11px; letter-spacing: -.01em; } html.v2 .v2-pc-face .v2-av.is-lg { width: 60px; height: 60px; } }
.v2-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.v2-facts > div { display: flex; flex-direction: column; gap: 5px; padding: 14px 16px; border-radius: 16px; background: var(--v2-inset); box-shadow: inset 0 0 0 1px var(--v2-line); }
.v2-facts > div.is-wide { grid-column: 1 / -1; }
.v2-facts span { color: var(--v2-text-3); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.v2-facts b { font-weight: 700; overflow-wrap: anywhere; }
.v2-board { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.v2-board-p { display: flex; align-items: center; gap: 14px; padding: 14px 22px 14px 14px; border-radius: 20px; }
.v2-board-p > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.v2-board-p b { font-weight: 800; }
.v2-board-p > span:last-child > span { color: var(--v2-text-3); font-size: 12px; }
/* The squad as a list. */
.v2-roster { display: flex; flex-direction: column; border-radius: var(--v2-r-lg); overflow: hidden; }
.v2-roster-h, .v2-roster-r { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 48px 48px; align-items: center; gap: 14px; padding: 11px 18px; }
.v2-roster-h { color: var(--v2-text-3); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--v2-line-2); }
.v2-roster-h span:nth-child(n + 3), .v2-roster-n { text-align: right; }
.v2-roster-r { appearance: none; width: 100%; border: 0; background: transparent; color: #fff; font: inherit; text-align: left; cursor: pointer; transition: background-color var(--v2-t-fast); }
.v2-roster-r + .v2-roster-r { border-top: 1px solid var(--v2-line); }
.v2-roster-r:hover { background: rgba(255, 255, 255, .04); }
.v2-roster-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.v2-roster-who > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v2-roster-who b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-roster-who > span > span { color: var(--v2-text-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-roster-r.is-listed .v2-roster-who > span > span { color: #fcd34d; }
.v2-roster-c { display: grid; grid-template-columns: 60px minmax(0, 1fr); align-items: center; gap: 10px; color: var(--v2-text-2); font-size: var(--v2-fs-small); }
.v2-roster-c > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-roster-n { font-family: var(--v2-display); font-weight: 800; font-variant-numeric: tabular-nums; }
.v2-meter.is-thin { height: 3px; }
@media (max-width: 640px) {
  .v2-roster-h { display: none; }
  .v2-roster-r { grid-template-columns: minmax(0, 1fr) 34px 34px; row-gap: 6px; padding: 11px 14px; }
  .v2-roster-c { grid-column: 1 / -1; grid-row: 2; grid-template-columns: 40px minmax(0, 1fr); padding-left: 50px; }
}
/* Funds. */
.v2-funds { display: flex; flex-direction: column; gap: 14px; }
.v2-funds-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: var(--v2-r-lg); }
.v2-funds-sum > div { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px; }
.v2-funds-sum > div + div { border-left: 1px solid var(--v2-line); }
.v2-funds-sum b { font-family: var(--v2-display); font-weight: 800; font-size: 1.5rem; font-variant-numeric: tabular-nums; text-shadow: var(--v2-neon-soft); }
.v2-funds-sum span { color: var(--v2-text-3); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.is-in { color: #6ee7b7; }
.is-out { color: #fca5a5; }
.v2-spark { margin: 0; padding: 18px 20px 12px; border-radius: var(--v2-r-lg); }
.v2-spark svg { display: block; width: 100%; height: 140px; overflow: visible; }
.v2-spark-line { fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .6)); animation: v2-draw 1s var(--v2-ease-out) forwards; }
.v2-spark-zero { stroke: rgba(255, 255, 255, .14); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.v2-spark-dot { fill: #fff; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .9)); }
.v2-spark figcaption { display: flex; justify-content: space-between; margin-top: 8px; color: var(--v2-text-3); font-size: 12px; }
.v2-spark figcaption b { color: #fff; }
@keyframes v2-draw { to { stroke-dashoffset: 0; } }
.v2-ledger-r { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto 150px; align-items: center; gap: 14px; padding: 13px 18px; font-size: var(--v2-fs-small); }
.v2-ledger-d { color: var(--v2-text-3); font-variant-numeric: tabular-nums; }
.v2-ledger-w { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v2-ledger-w b { font-weight: 700; }
.v2-ledger-w span { color: var(--v2-text-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-ledger-a { font-family: var(--v2-display); font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.v2-ledger-b { color: var(--v2-text-3); font-variant-numeric: tabular-nums; text-align: right; }
@media (max-width: 640px) {
  .v2-ledger-r { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 14px; }
  .v2-ledger-d { grid-column: 1 / -1; }
  .v2-ledger-b { display: none; }
  .v2-funds-sum > div { padding: 14px 12px; }
  .v2-funds-sum b { font-size: 1.15rem; }
}
/* Loans. */
.v2-loan { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 16px; }
.v2-loan-open { appearance: none; flex: 1 1 320px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: #fff; font: inherit; text-align: left; cursor: pointer; }
.v2-loan-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v2-loan-who b { font-weight: 700; }
.v2-loan-who span { color: var(--v2-text-3); font-size: 12px; }
.v2-loan-to { display: inline-flex; align-items: center; gap: 8px; color: var(--v2-text-2); }
.v2-loan-crest img, .v2-loan-crest .crest { width: 24px; height: 24px; object-fit: contain; }
.v2-loan-act { display: inline-flex; align-items: center; gap: 8px; }

/* The transfer room and the live site's sections, inside a workspace. */
html.v2 .v2-room > .section, html.v2 #career-room, html.v2 #career-fa { margin-top: 0; }
html.v2 .v2-ws-main .section + .section { margin-top: var(--v2-sec-gap); }
html.v2 .v2-ws-main .section-head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 16px; padding: 0; border: 0; background: none; }
html.v2 .v2-ws-main .section-head h2 { font-family: var(--v2-display); font-weight: 800; font-size: var(--v2-fs-h2); letter-spacing: -.01em; color: #fff; text-shadow: none; }
html.v2 .v2-ws-main .section-head .lbl { color: var(--v2-text-3); font-size: var(--v2-fs-small); letter-spacing: 0; text-transform: none; }
html.v2 .v2-ws-main .panel, html.v2 .v2-ws-main .panel.accent, html.v2 .v2-ws-main .panel.lit { background: var(--v2-card); border: 0; border-radius: var(--v2-r-lg); box-shadow: var(--v2-card-edge), var(--v2-card-lift); }
html.v2 .v2-ws-main .kicker { color: var(--v2-text-3); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
html.v2 .v2-ws-main .roomtabs, html.v2 .v2-ws-main .room-tabs { gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--v2-edge); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35); width: max-content; max-width: 100%; overflow-x: auto; }
html.v2 .v2-ws-main .roomtab { border: 0; border-radius: 999px; background: transparent; color: var(--v2-text-2); font: 700 var(--v2-fs-small)/1 var(--v2-font); min-height: 34px; padding: 0 16px; box-shadow: none; transition: color var(--v2-t-fast), background-color var(--v2-t-fast); }
html.v2 .v2-ws-main .roomtab:hover { color: #fff; }
html.v2 .v2-ws-main .roomtab.on, html.v2 .v2-ws-main .roomtab[aria-selected="true"] { background: linear-gradient(180deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .07)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); color: #fff; }
html.v2 .v2-ws-main .tfr-steps .tfr-step.now { color: #fff; text-shadow: var(--v2-neon-soft); }
html.v2 .v2-ws-main .policy-card, html.v2 .v2-ws-main .rules { border-radius: var(--v2-r-lg); }

/* The career's poster: the player, under the lights of their club's ground. */
.v2-poster {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px 34px;
  min-height: 260px;
  margin: 0 0 16px;
  padding: clamp(24px, 3vw, 42px);
  border-radius: 32px;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 46px 100px -46px rgba(0, 0, 0, 1);
  transition: transform 600ms var(--v2-ease-out);
}
.v2-poster::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--img) center 40% / cover no-repeat #07080a; filter: saturate(.7) brightness(.5); }
.v2-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(80% 140% at 0% 50%, rgba(var(--v2-club-rgb), .62), transparent 62%), linear-gradient(90deg, rgba(5, 6, 8, .1), rgba(5, 6, 8, .72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.v2-poster > * { position: relative; z-index: 1; }
html.v2 .v2-poster-face .v2-av.is-xl { width: 132px; height: 132px; font-size: 32px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .3), 0 0 50px rgba(255, 255, 255, .2), 0 30px 50px -18px rgba(0, 0, 0, .9); }
.v2-poster-id { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.v2-poster-club { display: inline-flex; align-items: center; gap: 9px; color: rgba(255, 255, 255, .85); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
html.v2 .v2-poster-club .v2-crest { width: 24px; height: 24px; }
.v2-poster-name { font-family: var(--v2-display); font-weight: 800; font-size: clamp(2.2rem, 1.3rem + 3vw, 4.4rem); line-height: .98; letter-spacing: -.025em; overflow-wrap: anywhere; text-shadow: var(--v2-neon); }
.v2-poster-meta { color: rgba(255, 255, 255, .7); font-size: var(--v2-fs-small); }
.v2-poster-nums { display: flex; gap: 26px; }
.v2-poster-nums > div { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.v2-poster-nums b { font-family: var(--v2-display); font-weight: 800; font-size: clamp(2.2rem, 1.4rem + 2.2vw, 3.6rem); line-height: 1; font-variant-numeric: tabular-nums; text-shadow: var(--v2-neon); }
.v2-poster-nums span { color: rgba(255, 255, 255, .7); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 760px) {
  .v2-poster { grid-template-columns: auto minmax(0, 1fr); padding: 20px; gap: 16px 18px; border-radius: 26px; }
  html.v2 .v2-poster-face .v2-av.is-xl { width: 80px; height: 80px; }
  .v2-poster-nums { grid-column: 1 / -1; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .15); }
  .v2-poster-nums > div { align-items: flex-start; }
}
.v2-ring { position: relative; width: 116px; height: 116px; flex: none; }
.v2-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.v2-ring-bg { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 7; }
.v2-ring-fg { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); filter: drop-shadow(0 0 6px rgba(255, 255, 255, .6)); animation: v2-ring 1s var(--v2-ease-out) 120ms forwards; }
@keyframes v2-ring { to { stroke-dashoffset: var(--off); } }
.v2-ring > span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.v2-ring b { font-family: var(--v2-display); font-weight: 800; font-size: 1.5rem; line-height: 1; text-shadow: var(--v2-neon-soft); }
.v2-ring i { font-style: normal; color: var(--v2-text-3); font-size: 11px; font-weight: 700; margin-top: 4px; }
.v2-rings { display: flex; justify-content: space-around; gap: 16px; flex-wrap: wrap; }
.v2-ct-mini { display: flex; align-items: center; gap: 20px; }
.v2-ct-mini > span { display: flex; flex-direction: column; gap: 4px; }
.v2-ct-mini > span > span { color: var(--v2-text-3); font-size: 12px; }
.v2-ct-club { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
html.v2 .v2-ct-club .v2-crest { width: 48px; height: 48px; }
.v2-ct-club > span { display: flex; flex-direction: column; gap: 2px; }
.v2-ct-club b { font-family: var(--v2-display); font-weight: 800; font-size: 1.35rem; text-shadow: var(--v2-neon-soft); }
.v2-ct-club > span > span { color: var(--v2-text-3); font-size: 12px; }
.v2-cmp { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr) 44px; align-items: center; gap: 16px; padding: 7px 0; font-size: var(--v2-fs-small); }
.v2-cmp > span:first-child { color: var(--v2-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-cmp-bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.v2-cmp-bar i { display: block; height: 100%; border-radius: 4px; background: rgba(255, 255, 255, .3); transform-origin: left; animation: v2-grow 800ms var(--v2-ease-out) both; }
.v2-cmp-bar.is-me i { background: linear-gradient(90deg, rgba(255, 255, 255, .55), #fff); box-shadow: 0 0 12px rgba(255, 255, 255, .6); }
.v2-cmp b { font-family: var(--v2-display); font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .v2-cmp { grid-template-columns: minmax(0, 110px) minmax(0, 1fr) 32px; gap: 10px; } }
/* A contract, as a line from the day it was signed to the day it ends. */
.v2-contract { display: flex; flex-direction: column; gap: 14px; }
.v2-contract-big { display: flex; align-items: baseline; gap: 12px; }
.v2-contract-big b { font-family: var(--v2-display); font-weight: 800; font-size: 3.2rem; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: var(--v2-neon); }
.v2-contract-big span { color: var(--v2-text-2); font-weight: 700; }
.v2-contract-line { position: relative; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); }
.v2-contract-line i { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: linear-gradient(90deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .6)); transform-origin: left; animation: v2-grow 700ms var(--v2-ease-out) both; }
.v2-contract-line i::after { content: ""; position: absolute; right: -6px; top: -5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .15), 0 0 16px rgba(255, 255, 255, .8); }
.v2-contract-ends { display: flex; justify-content: space-between; gap: 12px; color: var(--v2-text-3); font-size: 12px; }

/* ------------------------------------------------------------ the match page */
.v2-mh { cursor: default; min-height: clamp(380px, 30vw, 540px); margin-bottom: 8px; }
.v2-mh-bell .bellbtn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(5, 6, 8, .4); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.v2-mh-bell .bellbtn.on { background: #fff; color: #050608; box-shadow: 0 0 20px rgba(255, 255, 255, .5); }
.v2-mh .v2-st-foot .v2-btn { background: rgba(5, 6, 8, .4); }
.v2-mcols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 clamp(24px, 2.4vw, 44px); }
@media (min-width: 1000px) { .v2-mcols { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
html.v2 .v2-mcols .section { margin-top: var(--v2-sec-gap); }
html.v2 .v2-mcols .section-head { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 0; border: 0; }
html.v2 .v2-mcols .section-head h2 { font-family: var(--v2-display); font-weight: 800; font-size: var(--v2-fs-h2); color: #fff; text-shadow: none; }
html.v2 .v2-mcols .section-head .lbl { color: var(--v2-text-3); font-size: var(--v2-fs-small); text-transform: none; letter-spacing: 0; }
html.v2 .v2-mcols .tl { display: flex; flex-direction: column; gap: 0; padding: 0; border: 0; border-radius: var(--v2-r-lg); background: var(--v2-card); box-shadow: var(--v2-card-edge), var(--v2-card-lift); overflow: hidden; }
.v2-tl { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: stretch; }
.v2-tl + .v2-tl { border-top: 1px solid var(--v2-line); }
.v2-tl-m { display: grid; place-items: center; color: var(--v2-text-2); font-family: var(--v2-display); font-weight: 800; font-variant-numeric: tabular-nums; border-right: 1px solid var(--v2-line); font-size: var(--v2-fs-small); }
.v2-tl-line { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 16px; }
.v2-tl.is-quiet .v2-tl-line { display: block; color: var(--v2-text-3); font-size: 12px; text-align: center; padding: 9px 16px; }
.v2-tl.is-quiet .v2-tl-line b { font-weight: 700; }
.v2-tl.is-goal .v2-tl-line { background: linear-gradient(90deg, rgba(var(--v2-club-rgb), .2), transparent 70%); }
.v2-tl.is-goal.is-away .v2-tl-line { background: linear-gradient(270deg, rgba(var(--v2-club-rgb), .2), transparent 70%); }
.v2-tl.is-goal .v2-tl-m { color: #fff; text-shadow: var(--v2-neon-soft); }
.v2-tl-mark { display: grid; place-items: center; color: #fff; }
.v2-tl.is-goal .v2-tl-mark { filter: drop-shadow(0 0 8px rgba(255, 255, 255, .6)); }
.v2-tl.is-off .v2-tl-who { text-decoration: line-through; color: var(--v2-text-3); }
.v2-tl-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; min-width: 0; }
.v2-tl-who > span { flex-basis: 100%; color: var(--v2-text-3); font-size: 12px; }
.v2-tl-who em { font-style: normal; color: var(--v2-text-2); font-size: 12px; font-weight: 800; }
.v2-tl-p { appearance: none; padding: 0; border: 0; background: none; color: #fff; font: 700 .9375rem/1.2 var(--v2-font); cursor: pointer; text-align: left; }
.v2-tl-p:hover { text-shadow: 0 0 14px rgba(255, 255, 255, .5); }
html.v2 .v2-tl-club .v2-crest { width: 22px; height: 22px; }
.v2-cardmark { display: block; width: 12px; height: 16px; border-radius: 2px; background: #f2c94c; transform: rotate(-6deg); box-shadow: 0 0 10px rgba(242, 201, 76, .5); }
.v2-cardmark.is-red { background: var(--v2-live); box-shadow: 0 0 10px rgba(255, 71, 71, .6); }
html.v2 .v2-mcols .empty { padding: 24px; }
html.v2 .v2-mcols .pitch, html.v2 .v2-mcols .impact, html.v2 .v2-mcols .nlist, html.v2 .v2-mcols .nform { border: 0; border-radius: var(--v2-r-lg); background: var(--v2-card); box-shadow: var(--v2-card-edge), var(--v2-card-lift); }
html.v2 .v2-mcols .impact { padding: 16px; }
html.v2 .v2-mcols .pitch-mid { display: none; }
html.v2 .v2-mcols .pitch.pitch-view-sheet .pp, html.v2 .v2-mcols .imp-club { border: 0; border-radius: 14px; background: var(--v2-inset); box-shadow: inset 0 0 0 1px var(--v2-line); }
html.v2 .v2-mcols .pitch.pitch-view-sheet .pp:hover { background: rgba(255, 255, 255, .07); }
html.v2 .v2-mcols .pitch.pitch-view-formation .pp { border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; }
html.v2 .v2-mcols .pitch.pitch-view-formation .pp:hover { background: transparent !important; box-shadow: none !important; }
html.v2 .v2-mcols .pitch-side-head b { font-family: var(--v2-font); font-weight: 800; }
html.v2 .v2-mcols .impact-words { color: var(--v2-text-2); font-size: var(--v2-fs-small); }
/* The goal: a band of glass that drops out from under the island. */
.v2-goal {
  position: fixed;
  z-index: 88;
  top: 84px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: min(580px, calc(100vw - 24px));
  padding: 14px 24px 14px 14px;
  border-radius: 26px;
  background: radial-gradient(120% 200% at 0% 50%, rgba(var(--v2-club-rgb), .75), rgba(var(--v2-club-rgb), .2) 60%), rgba(16, 18, 22, .78);
  -webkit-backdrop-filter: var(--v2-blur);
  backdrop-filter: var(--v2-blur);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .24), var(--v2-depth-3), 0 0 60px -10px rgba(var(--v2-club-rgb), .6);
  color: #fff;
  transform: translate(-50%, -24px) scale(.96);
  opacity: 0;
  transition: transform 460ms var(--v2-ease-out), opacity 220ms var(--v2-ease);
  pointer-events: none;
}
.v2-goal.show { transform: translate(-50%, 0) scale(1); opacity: 1; }
.v2-goal-crest { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: rgba(5, 6, 8, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
html.v2 .v2-goal-crest .v2-crest { width: 42px; height: 42px; }
.v2-goal-t { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; min-width: 0; }
.v2-goal-t b { font-family: var(--v2-display); font-weight: 800; font-size: 2.1rem; line-height: 1; letter-spacing: -.01em; text-shadow: var(--v2-neon); }
.v2-goal-t span { font-weight: 700; opacity: .85; }
.v2-goal-s { font-family: var(--v2-display); font-weight: 800; font-size: 2.1rem; font-variant-numeric: tabular-nums; text-shadow: var(--v2-neon); }
.v2-goal.is-off { background: rgba(16, 18, 22, .86); }
@media (max-width: 899px) { .v2-goal { top: calc(var(--bar-h) + env(safe-area-inset-top, 0px) + 8px); } }

/* ------------------------------------------------------------ a person's and a club's card */
html.v2 .px { color: #fff; background: none; border: 0; box-shadow: none; padding: 4px; }
html.v2 .px .team-rule { display: block; height: 3px; border-radius: 2px; margin-bottom: 8px; background: linear-gradient(90deg, var(--c1, #fff), var(--c2, var(--c1, #fff))); }
html.v2 .px .px-top {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border-radius: 22px;
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--c1, #888) 45%, transparent), transparent 62%), rgba(20, 22, 28, 0.85);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .16);
  border: 0;
}
html.v2 .px .px-mark {
  position: absolute;
  top: -16px;
  right: -12px;
  width: 140px;
  height: 140px;
  opacity: 0.12;
  pointer-events: none;
  transform: rotate(-6deg);
}
html.v2 .px .px-mark .ch-logo, html.v2 .px .px-mark img, html.v2 .px .px-mark .crest {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .5));
}
html.v2 .px .px-who {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
}
html.v2 .px .px-face { flex: none; }
html.v2 .px .px-face .av, html.v2 .px .px-mark .av {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .2), 0 0 24px -2px color-mix(in srgb, var(--c1, #fff) 50%, transparent);
}
html.v2 .px .px-id {
  min-width: 0;
  flex: 1;
}
html.v2 .px .px-id h2 {
  font-family: var(--v2-display);
  font-weight: 800;
  font-size: 1.85rem;
  line-height: 1.08;
  color: #fff;
  -webkit-text-fill-color: currentColor;
  background: none;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.25);
  margin: 2px 0 6px;
}
html.v2 .px .kicker {
  color: var(--v2-text-3);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
html.v2 .px .px-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--v2-text-2);
  font-size: var(--v2-fs-small);
}
html.v2 .px .px-club {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.14s ease;
}
html.v2 .px .px-club:hover {
  background: rgba(255, 255, 255, 0.16);
}
html.v2 .px .px-club img, html.v2 .px .px-club .crest {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
html.v2 .px .px-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}
html.v2 .px .px-tile, html.v2 .px .v2-pt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 13px 8px;
  border-radius: 16px;
  background: rgba(5, 6, 8, .4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  border: 0;
  text-align: center;
}
html.v2 .px .px-tile b, html.v2 .px .v2-pt b {
  font-family: var(--v2-display);
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff;
  text-shadow: var(--v2-neon-soft);
}
html.v2 .px .px-tile i, html.v2 .px .px-tile span, html.v2 .px .v2-pt span {
  font-style: normal;
  color: var(--v2-text-3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
html.v2 .px .px-since {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--v2-text-3);
  margin-top: 2px;
}
html.v2 .px .px-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
  padding: 0;
}
html.v2 .px .px-block {
  padding: 18px 22px;
  border-radius: 20px;
  background: rgba(18, 20, 26, 0.65);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  border: 0;
}
html.v2 .px .px-block .kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
html.v2 .px .px-note {
  color: var(--v2-text-3);
  font-size: 12.5px;
  line-height: 1.6;
}
html.v2 .px .facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 16px;
  margin-top: 10px;
}
html.v2 .px .facts > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 0;
}
html.v2 .px .facts span {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--v2-text-3);
}
html.v2 .px .facts b {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html.v2 .px .ph-hon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
html.v2 .px .ph-hon .ph-art {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
html.v2 .px .ph-hon b {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.6);
}
html.v2 .px .px-squad {
  margin-top: 12px;
  padding: 18px 22px;
  border-radius: 20px;
  background: rgba(18, 20, 26, 0.65);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  border: 0;
}
html.v2 .px .px-squad-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
html.v2 .px .px-squad-head b {
  font-family: var(--v2-display);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}
html.v2 .px .px-squad-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 6px;
}
html.v2 .px .px-teammate {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: all 0.16s ease;
}
html.v2 .px .px-teammate:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}
html.v2 .v2-modal-side .modal { padding: 16px; }
html.v2 .v2-modal-side .modal .fxlist { box-shadow: var(--v2-card-edge); }
@media (max-width: 560px) {
  html.v2 .px .px-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.v2 .px .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Animations for swap and skeleton */
.qbody-swap {
  animation: v2-qbody-in 180ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes v2-qbody-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
.px-loading .skel-text,
.px-loading .skel-dot {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.04) 75%);
  background-size: 200% 100%;
  animation: v2-card-shimmer 1.8s infinite;
}
@keyframes v2-card-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skel-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

/* ------------------------------------------------------------ the referee control room */
.v2-rf-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin: 8px 0 24px; }
.v2-rf-id { display: flex; align-items: center; gap: 18px; min-width: 0; }
.v2-rf-mark { display: grid; place-items: center; width: 72px; height: 72px; flex: none; border-radius: 22px; background: radial-gradient(90% 90% at 30% 15%, rgba(var(--v2-club-rgb), .5), rgba(var(--v2-club-rgb), .08) 70%), rgba(255, 255, 255, .03); box-shadow: var(--v2-card-edge), 0 20px 50px -20px rgba(var(--v2-club-rgb), .6); color: #fff; }
.v2-rf-mark img { width: 46px; height: 46px; object-fit: contain; }
.v2-rf-id .v2-meta { margin-top: 8px; }
.v2-rf-act { display: flex; gap: 10px; }
.v2-rf-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; }
.v2-rf-k { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: var(--v2-r-lg); }
.v2-rf-k b { font-family: var(--v2-display); font-weight: 800; font-size: 2.3rem; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: var(--v2-neon-soft); }
.v2-rf-k span { color: var(--v2-text-3); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.v2-rf-k.is-hot { background: radial-gradient(120% 120% at 0% 0%, rgba(245, 184, 75, .16), transparent 60%), var(--v2-card); box-shadow: inset 0 0 0 1px rgba(245, 184, 75, .34), var(--v2-card-lift); }
.v2-rf-k.is-hot b { color: #fcd34d; text-shadow: 0 0 20px rgba(252, 211, 77, .35); }
@media (max-width: 760px) { .v2-rf-band { grid-template-columns: repeat(2, minmax(0, 1fr)); } .v2-rf-k b { font-size: 1.8rem; } }
html.v2 .v2-rf-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
@media (min-width: 1100px) { html.v2 .v2-rf-grid { grid-template-columns: minmax(0, 1fr) 360px; } }
@media (min-width: 1500px) { html.v2 .v2-rf-grid { grid-template-columns: minmax(0, 1fr) 400px; } }
html.v2 .v2-rf .ref-card { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
html.v2 .v2-rf-side .ref-card, html.v2 .v2-rf-side > * { border: 0; border-radius: var(--v2-r-lg); background: var(--v2-card); box-shadow: var(--v2-card-edge), var(--v2-card-lift); }
@media (min-width: 1100px) { html.v2 .v2-rf-side { position: sticky; top: 92px; } }
html.v2 .v2-rf .ref-card-head { padding: 16px 18px 8px; border: 0; }
html.v2 .v2-rf .ref-card-head h2 { font-family: var(--v2-display); font-size: 1.05rem; color: #fff; text-shadow: none; }
html.v2 .v2-rf .ref-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; padding: 0; border: 0; }
html.v2 .v2-rf .ref-tabs { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--v2-edge), inset 0 1px 2px rgba(0, 0, 0, .35); border: 0; }
html.v2 .v2-rf .ref-tab { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--v2-text-2); font: 700 var(--v2-fs-small)/1 var(--v2-font); letter-spacing: 0; text-transform: none; box-shadow: none; cursor: pointer; transition: color var(--v2-t-fast), background-color var(--v2-t-fast); }
html.v2 .v2-rf .ref-tab:hover { color: #fff; }
html.v2 .v2-rf .ref-tab::after, html.v2 .v2-rf .ref-tab::before { display: none; }
html.v2 .v2-rf .ref-tab.on { background: linear-gradient(180deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .07)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); color: #fff; }
html.v2 .v2-rf .ref-tab i { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 11px; display: inline-grid; place-items: center; }
html.v2 .v2-rf .ref-free { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--v2-edge-2); color: var(--v2-text-2); font: 700 12px/1 var(--v2-font); }
html.v2 .v2-rf .ref-free.on { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4), 0 0 16px -4px rgba(255, 255, 255, .4); }
html.v2 .v2-rf .ref-comps { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; border: 0; }
html.v2 .v2-rf .ref-cpick { min-height: 34px; padding: 0 14px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--v2-edge); color: var(--v2-text-2); font: 700 12px/1 var(--v2-font); cursor: pointer; transition: color var(--v2-t-fast), box-shadow var(--v2-t-fast); }
html.v2 .v2-rf .ref-cpick:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--v2-edge-2); }
html.v2 .v2-rf .ref-cpick.on { background: #fff; color: #050608; box-shadow: 0 0 18px -4px rgba(255, 255, 255, .55); }
html.v2 .v2-rf .ref-cpick b { margin-left: 4px; color: inherit; opacity: .55; }
html.v2 .v2-rf .ref-rows { display: flex; flex-direction: column; border-radius: var(--v2-r-lg); overflow: hidden; gap: 0; }
.v2-rr { display: grid; grid-template-columns: 88px minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px 16px; border: 0; background: none; transition: background-color var(--v2-t-fast); }
.v2-rr:hover { background: rgba(255, 255, 255, .03); }
.v2-rr + .v2-rr { border-top: 1px solid var(--v2-line); }
.v2-rr.needs { background: linear-gradient(90deg, rgba(245, 184, 75, .08), transparent 45%); }
.v2-rr-when { display: flex; flex-direction: column; gap: 3px; padding-right: 14px; border-right: 1px solid var(--v2-line); }
.v2-rr-when b { font-family: var(--v2-display); font-weight: 800; font-variant-numeric: tabular-nums; }
.v2-rr-when span { color: var(--v2-text-3); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-rr-teams { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.v2-rr-teams > span { display: flex; align-items: center; gap: 9px; min-width: 0; }
.v2-rr-teams b { font-weight: 700; font-size: var(--v2-fs-small); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-rr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--v2-text-3); font-size: 12px; }
.v2-rr-comp { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: rgba(var(--v2-club-rgb), .18); box-shadow: inset 0 0 0 1px rgba(var(--v2-club-rgb), .34); color: #fff; font-size: 11px; font-weight: 800; }
.v2-rr-who { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
html.v2 .v2-rr-ref { appearance: none; padding: 4px 12px 4px 4px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--v2-line-2); color: #fff; cursor: pointer; transition: background-color var(--v2-t-fast); }
html.v2 .v2-rr-ref:hover { background: rgba(255, 255, 255, .1); }
@media (max-width: 760px) {
  .v2-rr { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; padding: 12px 14px; }
  .v2-rr-meta { grid-column: 2 / -1; grid-row: 2; }
}
/* The log, the bookings, the bans and the ties: the live markup, restyled. */
html.v2 .v2-rf .ref-log, html.v2 .v2-rf .ref-logrep, html.v2 .v2-rf .ref-recover, html.v2 .v2-rf .ref-prof, html.v2 .v2-rf .ref-tablewrap, html.v2 .v2-rf .ref-ban, html.v2 .v2-rf .ref-tie {
  border: 0;
  border-radius: var(--v2-r-lg);
  background: var(--v2-card);
  box-shadow: var(--v2-card-edge), var(--v2-card-lift);
}
html.v2 .v2-rf .ref-ban, html.v2 .v2-rf .ref-tie { border-radius: var(--v2-r); }
html.v2 .v2-rf .ref-tablewrap { overflow-x: auto; }
html.v2 .v2-rf .ref-table th { color: var(--v2-text-3); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: transparent; }
html.v2 .v2-rf .ref-table td { border-color: var(--v2-line); }
html.v2 .v2-rf .ref-kindbtn, html.v2 .v2-rf .ref-fixbtn { border-radius: 999px; }
html.v2 .v2-rf .ref-fixmenu { border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; background: rgba(16, 18, 22, .8); -webkit-backdrop-filter: var(--v2-blur); backdrop-filter: var(--v2-blur); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), var(--v2-depth-3); }
html.v2 .v2-rf .ref-search input, html.v2 .v2-rf #ref-q { border-radius: 999px; }
html.v2 .v2-rf .empty { border: 1px dashed var(--v2-line-2); background: none; }
.v2-rf-foot { margin: 30px 0 0; color: var(--v2-text-3); font-size: 12px; max-width: 80ch; }
@media (max-width: 899px) {
  html.v2 .v2-rf .ref-tabs { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  html.v2 .v2-rf .ref-tabs::-webkit-scrollbar { display: none; }
  html.v2 .v2-rf .ref-tab { flex: none; }
}

/* ------------------------------------------------------------ coming soon, and the page that is not there */
html.v2 .soon-hero, html.v2 .soon-note, html.v2 .soon-card { border: 0; border-radius: var(--v2-r-lg); background: var(--v2-card); box-shadow: var(--v2-card-edge), var(--v2-card-lift); }
.v2-soon-page { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 680px; margin: 7vh auto 0; text-align: center; }
.v2-soon-art {
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
  margin-bottom: 10px;
  border-radius: 44px;
  background: radial-gradient(90% 90% at 30% 15%, rgba(var(--v2-club-rgb), .5), rgba(var(--v2-club-rgb), .06) 70%), rgba(255, 255, 255, .03);
  box-shadow: var(--v2-card-edge), 0 40px 80px -30px rgba(var(--v2-club-rgb), .6);
  color: #fff;
  animation: v2-fade-up 700ms var(--v2-ease-out) both;
}
.v2-soon-art .v2-ic { stroke-width: 1.2; filter: drop-shadow(0 0 14px rgba(255, 255, 255, .5)); }
.v2-soon-body { margin: 0; color: var(--v2-text-2); font-size: 1rem; max-width: 52ch; }
.v2-soon-count { margin: 0; color: var(--v2-text-3); font-size: var(--v2-fs-small); }
.v2-soon-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }

/* ------------------------------------------------------------ small things */
html.v2 .v2-sec-head .btn, html.v2 .v2-sec-head .v2-btn { white-space: nowrap; flex: none; }
@media (max-width: 520px) { html.v2 .v2-sec-head .btn[data-act="standpng"] { display: none; } }
html.v2 .installsheet .in-body b { font-weight: 800; }
html.v2 .installsheet .in-body p { color: var(--v2-text-2); }

/* ------------------------------------------------------------ signed out: the front door

   The first thing a stranger sees, so it is the redesign at its most itself:
   the ground's photograph, lit from two sides, a pane of glass over it, the
   league's mark with its glow and one white way in. */
html.v2 .login { position: fixed; inset: 0; z-index: 5; display: grid; place-items: center; min-height: 100vh; padding: 24px; overflow: hidden; background: #050608; }
html.v2 .login .ph-img { display: block; position: absolute; inset: -3%; background-size: cover; background-position: center 55%; opacity: 1; filter: saturate(.65) brightness(.3); transform: scale(1.04); animation: none; }
html.v2 .login .ph-shade { display: block; position: absolute; inset: 0; background: radial-gradient(70% 90% at 0% 100%, rgba(232, 84, 44, .38), transparent 60%), radial-gradient(60% 80% at 100% 0%, rgba(84, 120, 255, .22), transparent 60%), linear-gradient(180deg, rgba(5, 6, 8, .5), rgba(5, 6, 8, .88)), radial-gradient(ellipse 60% 60% at 50% 50%, rgba(5, 6, 8, .5), transparent 80%); }
html.v2 .logincard {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: 40px 34px 26px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 30px;
  background: rgba(14, 16, 19, .6);
  -webkit-backdrop-filter: var(--v2-blur);
  backdrop-filter: var(--v2-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), var(--v2-depth-3);
  text-align: center;
  animation: v2-fade-up 700ms var(--v2-ease-out) both;
}
html.v2 .logincard::before { display: none; }
html.v2 .logincard > * { animation: v2-fade-up 600ms var(--v2-ease-out) both; animation-delay: calc(120ms + var(--i, 0) * 70ms); }
html.v2 .logincard .mark { display: block; width: 168px; height: auto; margin: 0 auto 22px; filter: drop-shadow(0 0 14px rgba(255, 255, 255, .5)) drop-shadow(0 0 44px rgba(255, 255, 255, .2)); }
html.v2 .logincard h1 { margin: 0 0 10px; font-family: var(--v2-display); font-weight: 800; font-size: 1.9rem; letter-spacing: -.015em; color: #fff; text-shadow: var(--v2-neon); }
html.v2 .logincard p { margin: 0; color: var(--v2-text-2); font-size: .9375rem; line-height: 1.6; }
html.v2 .logincard .warn { margin-top: 16px; padding: 12px 14px; border-radius: 16px; background: rgba(245, 184, 75, .1); box-shadow: inset 0 0 0 1px rgba(245, 184, 75, .3); color: #fcd34d; font-size: var(--v2-fs-small); }
html.v2 .logincard .btn.discord-cta {
  width: 100%;
  min-height: 54px;
  margin-top: 26px;
  gap: 11px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #050608;
  font: 800 .9375rem/1 var(--v2-font);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .4), 0 14px 40px -12px rgba(255, 255, 255, .55);
  transition: box-shadow var(--v2-t) var(--v2-ease), transform var(--v2-t-press) var(--v2-ease);
}
html.v2 .logincard .btn.discord-cta svg { color: #5865f2; }
html.v2 .logincard .btn.discord-cta .lbl { color: #050608; }
html.v2 .logincard .btn.discord-cta:hover { background: #fff; transform: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), 0 18px 50px -10px rgba(255, 255, 255, .7); }
html.v2 .logincard .btn.discord-cta:active { transform: scale(.98); }
html.v2 .logincard .btn.discord-cta::after { display: none; }
html.v2 .login-help { margin-top: 16px; color: var(--v2-text-2); font-size: var(--v2-fs-small); text-align: center; }
html.v2 .login-help summary { cursor: pointer; text-align: center; color: var(--v2-text-2); font-weight: 700; list-style: none; }
html.v2 .login-help summary::-webkit-details-marker { display: none; }
html.v2 .login-help summary:hover { color: #fff; }
html.v2 .login-help p { margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--v2-line); text-align: left; }
html.v2 .login-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--v2-line); color: var(--v2-text-3); font-size: 12px; }
html.v2 .login-links a { color: var(--v2-text-2); text-decoration: none; }
html.v2 .login-links a:hover { color: #fff; }
@media (max-width: 520px) { html.v2 .logincard { padding: 32px 22px 22px; border-radius: 26px; } html.v2 .logincard .mark { width: 140px; } }

/* The deduction dialog's club picker (see deductPointsDialog). */
html.v2 .ded-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; max-height: 280px; overflow: auto; margin-top: 8px; padding: 2px; }
html.v2 .ded-opt { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); color: inherit; font: inherit; text-align: left; cursor: pointer; }
html.v2 .ded-opt:hover { background: rgba(255, 255, 255, .07); }
html.v2 .ded-opt.on { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1.5px #fff; }
html.v2 .ded-opt[hidden] { display: none; }
html.v2 .ded-crest { flex: none; display: grid; place-items: center; width: 26px; height: 26px; }
html.v2 .ded-crest img { width: 26px; height: 26px; object-fit: contain; }
html.v2 .ded-name { flex: 1; min-width: 0; font-family: var(--v2-display); font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.v2 .ded-pts { flex: none; opacity: .6; font-size: 12px; font-variant-numeric: tabular-nums; }

/* Dialog titles are titles: Builder Extended, like every other heading. */
html.v2 .modal h3 { font-family: var(--v2-display); font-weight: 700; letter-spacing: -.005em; }

/* ---------------------------------------------------------------- the database editor's fields
   UI V2 gives every field inside .v2-page a SHAPE — the inset glass, the 14px
   radius, the white focus ring — but no SIZE at all (see the .v2-page input
   rule above). That was fine for the site's own search boxes and card dialogs,
   which are sized by their components; the database editor's fields are not, so
   every one of them fell back to the browser's ~20px default and its 11px type.
   The editor is the one screen where those boxes ARE the work: contracts, usernames,
   clauses, policy figures, the calculator. So they get a size here, once.

   Scoped to #dbe (and its own dialogs) so the rest of the site keeps the compact
   fields its cards were drawn around. `height: auto` + `min-height` rather than
   a fixed height, because a textarea is one of these controls too. */
html.v2 #dbe .inp,
html.v2 #dbe input.in,
html.v2 #dbe input[type="text"],
html.v2 #dbe input[type="number"],
html.v2 #dbe input[type="search"],
html.v2 #dbe input[type="email"],
html.v2 #dbe select,
html.v2 #dbe textarea,
html.v2 .modal .dbe-modal .inp,
html.v2 .modal .dbe-modal input[type="text"],
html.v2 .modal .dbe-modal input[type="number"],
html.v2 .modal .dbe-modal input[type="search"],
html.v2 .modal .dbe-modal select,
html.v2 .modal .dbe-modal textarea {
  min-height: 42px;
  height: auto;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 12px;
  background: rgba(0, 0, 0, .38);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .45);
  color: #fff;
  font-family: var(--v2-font);
  font-size: .8125rem;
  line-height: 1.4;
}

html.v2 #dbe textarea,
html.v2 .modal .dbe-modal textarea { min-height: 96px; padding: 12px 13px; }

/* The player search reserves the right-hand end for its clear button (see
   .dbe-search-inp in site.css). The field padding above would otherwise write
   over that reservation and put the text under the ×. */
html.v2 #dbe .dbe-search-inp { padding-right: 40px; }

html.v2 #dbe input::placeholder,
html.v2 #dbe textarea::placeholder,
html.v2 .modal .dbe-modal input::placeholder,
html.v2 .modal .dbe-modal textarea::placeholder { color: rgba(255, 255, 255, .3); opacity: 1; }

html.v2 #dbe .inp:focus,
html.v2 #dbe input.in:focus,
html.v2 #dbe input[type="text"]:focus,
html.v2 #dbe input[type="number"]:focus,
html.v2 #dbe input[type="search"]:focus,
html.v2 #dbe select:focus,
html.v2 #dbe textarea:focus,
html.v2 .modal .dbe-modal .inp:focus,
html.v2 .modal .dbe-modal input:focus,
html.v2 .modal .dbe-modal select:focus,
html.v2 .modal .dbe-modal textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, .42);
  background: rgba(0, 0, 0, .46);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .45), 0 0 0 4px rgba(255, 255, 255, .1);
}

/* A field nobody may type in should look like a fact, not a box waiting for a
   cursor. The squad table's Roblox id is the one everybody sees first. */
html.v2 #dbe input[readonly],
html.v2 #dbe input:disabled,
html.v2 .modal .dbe-modal input[readonly] {
  border-color: rgba(255, 255, 255, .06);
  background: rgba(255, 255, 255, .035);
  box-shadow: none;
  color: var(--v2-text-2);
  cursor: default;
}
html.v2 #dbe input[readonly]:focus,
html.v2 #dbe input:disabled:focus { border-color: rgba(255, 255, 255, .1); box-shadow: none; }

/* Labels used to be the same weight as the value beside the box. One step up,
   so a field reads as label-then-control rather than two lines of grey. */
html.v2 #dbe .dbe-label { color: var(--v2-text-2); font-size: 11.5px; font-weight: 700; letter-spacing: .01em; }

/* ---------------------------------------------------------------- the squad table
   The table is the screen: eight columns of live inputs in one row, and the
   default browser table gives each of them the smallest box it can. Fixed
   layout + a floor width keeps the columns from crushing each other on a
   laptop, and every inline field is the same height as the row's own controls. */
html.v2 #dbe .dbe-table-wrap {
  border-radius: 16px;
  border-color: rgba(255, 255, 255, .1);
  background: rgba(10, 14, 22, .55);
}
html.v2 #dbe .dbe-table { font-size: .8125rem; }
html.v2 #dbe .dbe-table th {
  height: 46px;
  padding: 0 14px;
  color: rgba(255, 255, 255, .46);
  font-size: 10.5px;
  letter-spacing: .12em;
}
html.v2 #dbe .dbe-table td { padding: 11px 14px; vertical-align: middle; }
html.v2 #dbe .dbe-squad-table { min-width: 1180px; table-layout: fixed; }
/* The name is the one flexible column: give it a real share of a wide desk rather
   than letting it swallow every spare pixel (a 500px username box reads as a
   mistake). Everything else keeps the width its content needs. */
html.v2 #dbe .dbe-squad-table th:nth-child(2) { width: 250px; }
html.v2 #dbe .dbe-squad-table th:first-child,
html.v2 #dbe .dbe-squad-table td:first-child { padding-left: 18px; }
html.v2 #dbe .dbe-squad-table tbody tr { transition: background-color 120ms var(--v2-ease); }
html.v2 #dbe .dbe-squad-table tbody tr:hover { background: rgba(255, 255, 255, .035); }
html.v2 #dbe .dbe-squad-table .dbe-cell-flex { gap: 9px; min-width: 0; }
html.v2 #dbe .dbe-squad-table .dbe-cell-flex .inp { flex: 1 1 auto; min-width: 0; }

/* The inline box: slightly shorter than a page field, because there is one per
   row and eight of them make a column. It is still a real target — 38px is the
   thumb-sized floor the rest of V2 uses. */
html.v2 #dbe input.dbe-sq-inp {
  width: 100%;
  height: 38px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: .78125rem;
  font-variant-numeric: tabular-nums;
}

/* Actions: the old 110px column wrapped "Swap / Edit" onto two lines and left
   the remove button as a squashed pill. One row now, and the × is square. */
html.v2 #dbe .dbe-squad-table td:last-child .dbe-btn-row { flex-wrap: nowrap; gap: 6px; }
html.v2 #dbe .dbe-squad-table .btn.sm {
  min-height: 36px;
  padding: 0 12px;
  font-size: 11.5px;
  white-space: nowrap;
}
html.v2 #dbe .dbe-squad-table [data-act="dbe-squad-del-row"] {
  flex: none;
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  font-size: 17px;
  line-height: 1;
}

html.v2 #dbe .dbe-status-pill {
  padding: 5px 10px;
  font-size: 11px;
  line-height: 1.25;
}

/* The save bar sits over the table it saves; give it the same radius as the
   sheets around it and room for the taller buttons. */
html.v2 #dbe .dbe-savebar { bottom: 16px; padding: 13px 16px; border-radius: 16px; }
html.v2 #dbe .dbe-savebar .btn.sm { min-height: 38px; }
html.v2 #dbe .dbe-savebar .muted { font-size: 12px; }

/* Filters, calculator and policy forms: the same 42px field, laid out with air
   between them rather than a wall of boxes. */
html.v2 #dbe .dbe-form-stack { display: flex; flex-direction: column; gap: 12px; }
html.v2 #dbe .dbe-form-row { display: flex; flex-wrap: wrap; gap: 12px; }
html.v2 #dbe .dbe-filterbar, html.v2 #dbe .dbe-filters-row { gap: 10px; }

@media (max-width: 720px) {
  html.v2 #dbe .inp,
  html.v2 #dbe input[type="text"],
  html.v2 #dbe input[type="number"],
  html.v2 #dbe input[type="search"],
  html.v2 #dbe select,
  html.v2 #dbe textarea { min-height: 46px; font-size: 16px; }
  html.v2 #dbe input.dbe-sq-inp { height: 42px; min-height: 42px; font-size: 16px; }
  html.v2 #dbe .dbe-savebar { bottom: 8px; padding: 12px; }
}

/* ---------------------------------------------------------------- division one champions (RZD Zelitex)
   Gold name across all V2 standings tables and strips, and the champions'
   card at the top of the home page (see `champCard` in v2/home.js). */
html.v2 .v2-table tr.is-champ .v2-club b,
html.v2 .v2-table .v2-club.is-champ b,
html.v2 .v2-strip-who.is-champ b,
html.v2 .v2-cr-lead .is-champ b {
  color: #f7e7b0;
  text-shadow: 0 0 14px rgba(217, 178, 106, .45);
  font-weight: 800;
}


/* ------------------------------------------------------------ a club's sheet

   The bar, its crest and the scrolling body (see `.ts` in site.css, and
   `teamSheet` in site.js). Only the dressing lives here: the surface, the hue
   behind the crest and the hairline the bar draws once the card has gone under
   it. The club's card itself is unchanged — this is the frame it scrolls in. */
html.v2 .teamwrap .modal { max-height: calc(100dvh - var(--bar-h, 54px) - 32px); }
html.v2 .ts-bar { height: 58px; padding: 0 12px 0 18px; }
html.v2 .ts-crest {
  background: rgba(var(--v2-club-rgb, 154, 161, 168), .18);
  box-shadow: inset 0 0 0 1px rgba(var(--v2-club-rgb, 154, 161, 168), .3), 0 8px 20px -10px rgba(var(--v2-club-rgb, 154, 161, 168), .8);
}
html.v2 .ts-who b { font-family: var(--v2-display); font-weight: 800; letter-spacing: -.01em; color: #fff; }
html.v2 .ts-who span { color: var(--v2-text-3); }
html.v2 .ts.is-stuck .ts-bar {
  background: rgba(14, 16, 21, .82);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: rgba(255, 255, 255, .09);
}
html.v2 .ts-x {
  width: 34px;
  height: 34px;
  border: 0;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
  color: rgba(255, 255, 255, .8);
  font-family: var(--v2-font);
}
html.v2 .ts-x:hover, html.v2 .ts-x:focus-visible { background: rgba(255, 255, 255, .16); color: #fff; }
html.v2 .ts-body {
  padding-bottom: env(safe-area-inset-bottom, 0px);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .2) transparent;
}
html.v2 .ts-body::-webkit-scrollbar { width: 10px; }
html.v2 .ts-body::-webkit-scrollbar-track { background: transparent; }
html.v2 .ts-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .16);
  border: 3px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}
html.v2 .ts-body::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .28); background-clip: padding-box; }
@media (max-width: 899px) {
  html.v2 .teamwrap .modal {
    max-height: calc(100dvh - var(--bar-h, 50px) - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  }
  html.v2 .ts-bar { height: 52px; padding: 0 10px 0 14px; }
}

/* ============================================================================
   RESCHEDULES — the desk's page and the club's card (see v2/reschedule.js)

   THE SAME GLASS AS EVERY OTHER PAGE, with one job: make three dates easy to
   compare. The three slots sit side by side so the differences are visible
   without reading, and the report under each one is small on purpose — it is
   there when somebody asks "why this slot?", not before.
   ========================================================================= */
.rs-desk, .rs-club { color: var(--v2-text); }
.rs-mount { min-height: 220px; }

.rs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 4px 0 18px; border-bottom: 1px solid var(--v2-line); margin-bottom: 20px; }
.rs-head-main { min-width: 0; flex: 1 1 460px; }
.rs-kicker { display: block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--v2-text-3); margin-bottom: 8px; }
.rs-title { margin: 0; font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; letter-spacing: -.02em; text-shadow: var(--v2-neon-soft); }
.rs-sub { margin: 8px 0 0; max-width: 74ch; color: var(--v2-text-2); font-size: 14px; line-height: 1.55; }
.rs-head-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.rs-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; flex: 1 1 100%; }
.rs-stat { display: flex; align-items: baseline; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--v2-line-2); background: var(--v2-glass); }
.rs-stat b { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rs-stat span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--v2-text-3); }

.rs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--v2-edge-2); background: var(--v2-glass); color: var(--v2-text); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: transform .18s var(--v2-ease-out, ease), background .18s, border-color .18s; }
.rs-btn:hover:not(:disabled) { background: var(--v2-glass-hi); border-color: var(--v2-edge-3); }
.rs-btn:active:not(:disabled) { transform: scale(.97); }
.rs-btn:disabled { opacity: .45; cursor: default; }
.rs-btn.is-primary { background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .1)); border-color: rgba(255, 255, 255, .34); color: #fff; }
.rs-btn.is-ghost { background: transparent; border-color: var(--v2-line-2); color: var(--v2-text-2); }
.rs-btn.is-sm { padding: 7px 12px; font-size: 12px; border-radius: 10px; }

.rs-note { margin: 0 0 18px; padding: 12px 16px; border-radius: 14px; font-size: 13px; line-height: 1.5; border: 1px solid var(--v2-line-2); }
.rs-note.is-ok { background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .35); color: #c8f7e4; }
.rs-note.is-err { background: rgba(255, 107, 107, .1); border-color: rgba(255, 107, 107, .35); color: #ffd3d3; }

.rs-list { display: grid; gap: 16px; }
.rs-case { border: 1px solid var(--v2-line-2); border-radius: 20px; background: var(--v2-glass); box-shadow: var(--v2-shine), var(--v2-depth-1); padding: 20px; }
.rs-case-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rs-fixture { min-width: 0; }
.rs-comp { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--v2-text-3); }
.rs-fixture h3 { margin: 6px 0 4px; font-size: 20px; font-weight: 700; letter-spacing: -.015em; }
.rs-fixture h3 .rs-v { color: var(--v2-text-3); font-weight: 500; font-size: .8em; padding: 0 4px; }
.rs-issue { margin: 0; font-size: 12.5px; color: var(--v2-text-2); }
.rs-case-side { display: flex; align-items: center; gap: 10px; }
.rs-slots { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--v2-text-3); }

.rs-pill { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border: 1px solid transparent; }
.rs-pill.is-draft { background: rgba(255, 255, 255, .08); border-color: var(--v2-line-3); color: var(--v2-text-2); }
.rs-pill.is-sent { background: rgba(245, 184, 75, .12); border-color: rgba(245, 184, 75, .4); color: #ffd79a; }
.rs-pill.is-dead { background: rgba(255, 107, 107, .12); border-color: rgba(255, 107, 107, .4); color: #ffc7c7; }
.rs-pill.is-agreed, .rs-pill.is-booked { background: rgba(52, 211, 153, .13); border-color: rgba(52, 211, 153, .42); color: #b7f3dd; }
.rs-pill.is-closed { background: rgba(255, 255, 255, .05); border-color: var(--v2-line); color: var(--v2-text-3); }

.rs-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.rs-opt { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; border: 1px solid var(--v2-line-2); background: rgba(10, 12, 15, .45); }
.rs-opt.is-picked { border-color: rgba(255, 255, 255, .38); background: var(--v2-glass-hi); box-shadow: var(--v2-shine); }
.rs-opt-main { display: flex; gap: 10px; align-items: flex-start; }
.rs-opt-n { flex: none; width: 22px; height: 22px; border-radius: 999px; border: 1px solid var(--v2-line-3); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--v2-text-2); }
.rs-opt-when { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.rs-opt-where { display: block; margin-top: 2px; font-size: 12px; color: var(--v2-text-2); line-height: 1.4; }
.rs-why { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 11.5px; line-height: 1.45; color: var(--v2-text-2); }
.rs-why li::before { content: "·"; color: var(--v2-text-3); margin-right: 6px; }
.rs-why li.is-dim { color: var(--v2-text-3); }
.rs-opt-foot { margin-top: auto; }

.rs-votes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rs-vote { font-size: 12px; color: var(--v2-text-2); padding: 6px 10px; border-radius: 10px; border: 1px solid var(--v2-line); background: rgba(255, 255, 255, .03); }
.rs-vote b { color: var(--v2-text); font-weight: 600; }
.rs-vote.is-waiting { color: #ffd79a; border-color: rgba(245, 184, 75, .3); }

/* Dates to avoid: the desk's own calendar, above the cases it governs. */
.rs-blocks { border: 1px solid var(--v2-line-2); border-radius: 18px; background: rgba(255, 255, 255, .03); padding: 16px 18px; margin: 0 0 18px; }
.rs-blocks-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.rs-blocks-head b { font-size: 13px; font-weight: 700; letter-spacing: .01em; }
.rs-blocks-head span { font-size: 12px; color: var(--v2-text-3); }
.rs-blocks-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.rs-block { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 107, 107, .32); background: rgba(255, 107, 107, .09); font-size: 12px; color: #ffd3d3; }
.rs-block b { font-weight: 600; color: #fff; }
.rs-block span { color: var(--v2-text-2); }
.rs-block-x { border: 0; background: transparent; color: inherit; font-size: 16px; line-height: 1; padding: 0 4px; cursor: pointer; opacity: .7; }
.rs-block-x:hover:not(:disabled) { opacity: 1; }
.rs-blocks-none { margin: 12px 0 0; font-size: 12px; color: var(--v2-text-3); }
.rs-blocks-form { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.rs-blocks-form label, .rs-range label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--v2-text-3); }
.rs-blocks-form input, .rs-range input { font: inherit; font-size: 13px; color: var(--v2-text); background: rgba(10, 12, 15, .5); border: 1px solid var(--v2-line-2); border-radius: 10px; padding: 7px 10px; }
.rs-blocks-form input[type="date"], .rs-range input[type="date"] { min-width: 148px; }
.rs-range { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--v2-line-2); }
.rs-range-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--v2-text-3); padding-bottom: 8px; }
.rs-range-hint { font-size: 11.5px; color: var(--v2-text-3); padding-bottom: 8px; }
.rs-opt-local, .rs-pick-local { display: block; margin-top: 2px; font-size: 11px; color: var(--v2-text-3); letter-spacing: .02em; }

/* A club naming its own time, and the desk holding what they asked for. */
.rs-pick.is-off { opacity: .6; }
.rs-pick.is-off .rs-pick-box { border-style: dashed; }

.rs-suggest { margin-top: 16px; padding: 14px 16px; border-radius: 16px; border: 1px dashed var(--v2-line-3); background: rgba(255, 255, 255, .02); display: grid; gap: 4px; }
.rs-suggest > b { font-size: 13px; font-weight: 700; }
.rs-suggest > span { font-size: 12px; color: var(--v2-text-3); }
.rs-suggest-form { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.rs-suggest-form label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--v2-text-3); }
.rs-suggest-form input { font: inherit; font-size: 13px; color: var(--v2-text); background: rgba(10, 12, 15, .5); border: 1px solid var(--v2-line-2); border-radius: 10px; padding: 7px 10px; }
.rs-suggest-form input[type="date"] { min-width: 148px; }
.rs-suggest-mine { margin: 8px 0 0; font-size: 12px; color: var(--v2-text-2); }
.rs-suggests { margin-top: 14px; display: grid; gap: 8px; }
.rs-suggest-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(245, 184, 75, .35); background: rgba(245, 184, 75, .08); }
.rs-suggest-said { font-size: 12.5px; color: var(--v2-text-2); display: grid; gap: 2px; }
.rs-suggest-said b { color: #ffd79a; font-weight: 700; }
.rs-suggest-said span { font-size: 11.5px; color: var(--v2-text-3); }
.rs-suggest-note { font-style: italic; }

.rs-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.rs-hint { font-size: 12px; color: var(--v2-text-3); }
.rs-clock { margin: 10px 0 0; font-size: 12.5px; color: var(--v2-text-2); }
.rs-clock b { color: #fff; font-weight: 700; }
.rs-clock.is-warn { color: var(--v2-warn); }

.rs-empty { margin: 16px 0 0; font-size: 13px; color: var(--v2-text-2); padding: 14px; border-radius: 12px; border: 1px dashed var(--v2-line-2); }
.rs-loading { font-size: 13px; color: var(--v2-text-2); padding: 24px 0; }
.rs-none { display: grid; gap: 6px; padding: 26px; border-radius: 18px; border: 1px dashed var(--v2-line-2); text-align: center; }
.rs-none b { font-size: 16px; }
.rs-none span { font-size: 13px; color: var(--v2-text-2); }
.rs-subhead { display: flex; align-items: center; gap: 10px; margin: 28px 0 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--v2-text-3); font-weight: 600; }
.rs-subhead span { padding: 2px 8px; border-radius: 999px; border: 1px solid var(--v2-line-2); }
.rs-plain { display: grid; gap: 8px; }
.rs-plain-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--v2-line); background: rgba(255, 255, 255, .02); }
.rs-plain-row b { display: block; font-size: 14px; }
.rs-plain-row span { font-size: 12px; color: var(--v2-text-2); }
.rs-receipts { margin-top: 8px; }
.rs-receipt { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--v2-line); font-size: 13px; }
.rs-receipt span { color: var(--v2-text-2); font-size: 12px; }
.rs-receipt ul { margin: 4px 0 0; padding-left: 18px; color: #ffd3d3; font-size: 12px; }

/* ---- the club's card (inside My club) */
.rs-club { margin-top: 34px; }
.rs-club-head { margin-bottom: 16px; }
.rs-club .rs-title { font-size: clamp(20px, 2vw, 26px); }
.rs-opts.is-picks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rs-pick { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 10px 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--v2-line-2); background: rgba(10, 12, 15, .45); cursor: pointer; transition: border-color .18s, background .18s, transform .18s var(--v2-ease-out, ease); }
.rs-pick:hover { border-color: var(--v2-edge-3); }
.rs-pick.is-on { border-color: rgba(52, 211, 153, .55); background: rgba(52, 211, 153, .08); box-shadow: var(--v2-shine); }
.rs-pick input { position: absolute; opacity: 0; pointer-events: none; }
.rs-pick-box { width: 22px; height: 22px; border-radius: 7px; border: 1px solid var(--v2-line-3); display: grid; place-items: center; margin-top: 1px; }
.rs-pick.is-on .rs-pick-box { background: #34d399; border-color: #34d399; }
.rs-pick.is-on .rs-pick-box::after { content: "✓"; font-size: 14px; font-weight: 800; line-height: 1; color: #04120d; }
.rs-pick-main { display: grid; gap: 3px; }
.rs-pick-main b { font-size: 15px; letter-spacing: -.01em; }
.rs-pick-main span { font-size: 12px; color: var(--v2-text-2); }
.rs-pick-why { grid-column: 2; font-size: 11.5px; line-height: 1.45; color: var(--v2-text-3); }
.rs-said { margin: 12px 0 0; font-size: 12.5px; color: var(--v2-text-2); }
.rs-booked { display: grid; gap: 4px; margin-top: 16px; padding: 18px; border-radius: 16px; border: 1px solid rgba(52, 211, 153, .4); background: rgba(52, 211, 153, .09); }
.rs-booked-k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #9fe9cd; }
.rs-booked b { font-size: 20px; }
.rs-booked span { font-size: 13px; color: var(--v2-text-2); }
.rs-booked small { font-size: 12px; color: var(--v2-text-3); }

@media (max-width: 980px) {
  .rs-opts, .rs-opts.is-picks { grid-template-columns: 1fr; }
  .rs-case { padding: 16px; border-radius: 18px; }
  .rs-head { gap: 14px; }
}
@media (max-width: 640px) {
  .rs-head-actions { width: 100%; }
  .rs-head-actions .rs-btn { flex: 1 1 auto; }
  .rs-fixture h3 { font-size: 18px; }
}

/* An empty reschedule section (a club with nothing owed, or a page that has not
   been read yet) takes no room at all. */
.rs-club:empty { display: none; margin: 0; }

/* BFL Coins: the official coin and the balance (home header, account menu). */
.v2-coins { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(245, 192, 74, 0.08); border: 1px solid rgba(245, 192, 74, 0.32); font-variant-numeric: tabular-nums; line-height: 1; }
.v2-coins img { width: 22px; height: 22px; display: block; flex: none; }
.v2-coins b { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.01em; }
.v2-am-coins { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.v2-am-coins img { width: 15px; height: 15px; display: block; flex: none; }

/* The BFL Coins leaderboard on the home page. */
.v2-coinboard-empty { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 14px; background: rgba(245, 192, 74, 0.05); border: 1px solid rgba(245, 192, 74, 0.18); opacity: 0.85; }
.v2-coinboard-empty img { flex: none; }
.v2-coinboard { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 16px; }
.v2-coinboard li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); min-width: 0; }
.v2-coinboard li.is-top { border-color: rgba(245, 192, 74, 0.28); background: rgba(245, 192, 74, 0.05); }
.v2-cb-rank { width: 22px; flex: none; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; opacity: 0.7; }
.v2-coinboard li.is-top .v2-cb-rank { color: #f5c04a; opacity: 1; }
.v2-coinboard .v2-av { width: 34px; height: 34px; flex: none; }
.v2-cb-name { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.2; }
.v2-cb-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-cb-name span { font-size: 0.78rem; opacity: 0.6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-coins.is-sm { padding: 3px 10px 3px 3px; gap: 6px; align-self: center; }
.v2-coins.is-sm img { width: 18px; height: 18px; }
.v2-coins.is-sm b { font-size: 0.85rem; }

/* ------------------------------------------------------------ BFL Coins (#/coins, coins.js) */
.v2-comm.is-coins { --brand: 245, 192, 74; }
a.v2-coins.is-link { color: #fff; text-decoration: none; transition: border-color var(--v2-t-fast) var(--v2-ease), background var(--v2-t-fast) var(--v2-ease); }
a.v2-coins.is-link:hover { border-color: rgba(245, 192, 74, .6); background: rgba(245, 192, 74, .14); }
a.v2-coins.is-link .v2-ic { color: var(--v2-text-3); margin-left: -2px; }
a.v2-am-coins { color: #f5c04a; text-decoration: none; }
a.v2-am-coins:hover { color: #fff; }
.v2-am-row.is-coins .v2-am-val { color: #f5c04a; font-weight: 700; font-variant-numeric: tabular-nums; }

/* The way in, on the home page */
.v2-coinentry { margin-top: 16px; grid-template-columns: auto minmax(0, 1fr) auto auto; }
.v2-coinentry .v2-comm-mark { background: rgba(245, 192, 74, .08); box-shadow: inset 0 0 0 1px rgba(245, 192, 74, .28); }
.v2-comm.v2-coinentry > .v2-coins, .v2-comm.v2-coinentry > .v2-coinentry-go { flex-direction: row; white-space: nowrap; }
.v2-coinentry-go { display: inline-flex; align-items: center; gap: 6px; color: var(--v2-text-2); font-size: var(--v2-fs-small); font-weight: 600; }
.v2-coinentry:hover .v2-coinentry-go { color: #fff; }
@media (max-width: 560px) {
  .v2-coinentry { grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; padding: 16px; }
  .v2-coinentry .v2-coinentry-go { display: none; }
  .v2-coinentry .v2-comm-mark { width: 46px; height: 46px; border-radius: 14px; }
}

/* The page */
.v2-coinpage { display: flex; flex-direction: column; gap: var(--v2-sec-gap, 40px); }
.v2-coinpage .v2-phead { margin-bottom: 0; }
.v2-cp-top { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px; }
.v2-cp-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.v2-cp-grid .v2-sec { margin: 0; }
@media (max-width: 960px) {
  .v2-cp-top, .v2-cp-grid { grid-template-columns: minmax(0, 1fr); }
}
.v2-cp-hero.is-loading, .v2-cp-daily.is-loading { min-height: 220px; opacity: .5; }

.v2-cp-hero { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(20px, 2.4vw, 32px); border-radius: var(--v2-r-lg); }
.v2-cp-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 120% at 0% 0%, rgba(245, 192, 74, .16), transparent 60%); pointer-events: none; }
.v2-cp-hero > * { position: relative; }
.v2-cp-bal { display: flex; flex-direction: column; gap: 10px; }
.v2-cp-big { display: flex; align-items: center; gap: 14px; line-height: 1; }
.v2-cp-big img { width: clamp(36px, 4vw, 48px); height: auto; filter: drop-shadow(0 6px 14px rgba(245, 192, 74, .3)); }
.v2-cp-big b { font-family: var(--v2-display); font-size: clamp(2.6rem, 1.6rem + 3vw, 4.2rem); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.v2-cp-sub { margin: 0; color: var(--v2-text-2); font-size: var(--v2-fs-small); }
.v2-cp-rank { color: #f5c04a; font-weight: 700; }
.v2-cp-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 520px) { .v2-cp-split { grid-template-columns: minmax(0, 1fr); } }
.v2-cp-src { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: var(--v2-r); background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); min-width: 0; }
.v2-cp-src-h { display: inline-flex; align-items: center; gap: 7px; color: var(--v2-text-2); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.v2-cp-src > b { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.v2-cp-src > span:not(.v2-cp-src-h):not(.v2-cp-bar) { color: var(--v2-text-3); font-size: 12px; }
.v2-cp-bar { display: block; height: 4px; margin-top: 4px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.v2-cp-bar i { display: block; height: 100%; border-radius: inherit; background: #f5c04a; }

.v2-cp-daily { gap: 14px; }
.v2-cp-use { display: flex; align-items: baseline; gap: 8px; line-height: 1; }
.v2-cp-use b { font-family: var(--v2-display); font-size: 2.4rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.v2-cp-use span { color: var(--v2-text-3); font-size: 1rem; font-weight: 600; }
.v2-cp-daily .v2-meter { display: block; }
.v2-cp-daily .v2-meter.is-full i { background: var(--v2-warn); }
.v2-cp-reset { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: var(--v2-fs-small); }
.v2-cp-tick { font-variant-numeric: tabular-nums; color: #fff; }
.v2-cp-soon { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgba(245, 192, 74, .08); box-shadow: inset 0 0 0 1px rgba(245, 192, 74, .28); color: #f5c04a; font-weight: 600; }
.v2-cp-rules { list-style: none; margin: 4px 0 0; padding: 12px 0 0; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .07); }
.v2-cp-rules li { display: flex; justify-content: space-between; gap: 12px; font-size: var(--v2-fs-small); color: var(--v2-text-2); }
.v2-cp-rules b { color: #fff; font-variant-numeric: tabular-nums; }
.v2-cp-link .v2-empty { margin: 0; }

/* Match history */
.v2-cp-filter { margin-bottom: 10px; }
.v2-cp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.v2-cp-row { display: grid; grid-template-columns: auto minmax(0, 1fr) 26px 88px 96px; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.v2-cp-row:last-child { border-bottom: 0; }
.v2-cp-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: rgba(255, 255, 255, .05); color: var(--v2-text-2); }
.v2-cp-ic.is-duel { background: rgba(100, 240, 130, .08); color: #7cf29a; }
.v2-cp-what { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.v2-cp-what b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.v2-cp-what > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--v2-text-3); font-size: 12px; }
.v2-cp-score { color: var(--v2-text-2); font-variant-numeric: tabular-nums; padding: 0 4px; }
.v2-cp-res { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; font-size: 11px; font-weight: 800; }
.v2-cp-res.is-win { background: rgba(52, 211, 153, .14); color: var(--v2-win); }
.v2-cp-res.is-draw { background: rgba(255, 255, 255, .08); color: var(--v2-text-2); }
.v2-cp-res.is-loss { background: rgba(248, 113, 113, .14); color: var(--v2-loss); }
.v2-cp-when { display: flex; flex-direction: column; gap: 2px; color: var(--v2-text-2); font-size: 12px; text-align: right; }
.v2-cp-when span { color: var(--v2-text-3); font-variant-numeric: tabular-nums; }
.v2-cp-amt { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; color: #f5c04a; font-weight: 800; font-variant-numeric: tabular-nums; }
.v2-cp-amt span { color: var(--v2-text-3); font-size: 11px; font-weight: 500; }
@media (max-width: 560px) {
  .v2-cp-row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ic what amt" "ic when amt"; row-gap: 2px; }
  .v2-cp-ic { grid-area: ic; }
  .v2-cp-what { grid-area: what; }
  .v2-cp-res { display: none; }
  .v2-cp-when { grid-area: when; flex-direction: row; gap: 6px; text-align: left; }
  .v2-cp-amt { grid-area: amt; }
}

/* Most coins: a clean table */
.v2-cp-board { border-radius: var(--v2-r-lg); padding: 6px 0; overflow: hidden; }
.v2-cp-bh, .v2-cp-br { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 0 18px; }
.v2-cp-bh { height: 38px; color: var(--v2-text-3); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.v2-cp-bh span:last-child { text-align: right; }
.v2-cp-br { min-height: 56px; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.v2-cp-br:last-child { border-bottom: 0; }
.v2-cp-br.is-me { background: rgba(245, 192, 74, .07); }
.v2-cp-pos { color: var(--v2-text-3); font-weight: 800; font-variant-numeric: tabular-nums; }
.v2-cp-br.is-top .v2-cp-pos { color: #f5c04a; }
.v2-cp-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.v2-cp-who .v2-av { width: 34px; height: 34px; flex: none; }
.v2-cp-who > span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.v2-cp-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.v2-cp-who > span > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--v2-text-3); font-size: 12px; }
.v2-cp-val { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-variant-numeric: tabular-nums; }
.v2-cp-val img { width: 16px; height: 16px; }
.v2-cp-hub { margin-top: 4px; }
