/* ============================================================
   v2 homepage shell — the 5-zone layout
   (1) top bar  (2) right bar  (3) left bar  (4) bottom bar  (5) centre
   ============================================================ */

.v2-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(16, 185, 129, 0.07), transparent 70%),
    radial-gradient(900px 420px at 10% 0%, rgba(245, 158, 11, 0.06), transparent 70%),
    #f8fafc;
}
html.dark .v2-body {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(16, 185, 129, 0.10), transparent 70%),
    radial-gradient(900px 420px at 10% 0%, rgba(245, 158, 11, 0.05), transparent 70%),
    #0b1220;
}

/* ── (1) TOP BAR ─────────────────────────────────────────── */
.v2-top {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
html.dark .v2-top { background: rgba(15, 23, 42, 0.85); border-color: #1e293b; }

.v2-top__inner {
  max-width: 1560px;
  margin: 0 auto;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.v2-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  font-size: 17px;
  color: #0f172a;
  text-decoration: none;
  flex: none;
}
html.dark .v2-brand { color: #f1f5f9; }
.v2-brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: #fff;
  background: linear-gradient(140deg, #34d399, #047857);
  box-shadow: 0 6px 14px -5px rgba(5, 150, 105, 0.7);
}
.v2-brand__sub { display: block; font-size: 9px; font-weight: 700; color: #94a3b8; line-height: 1; margin-top: 2px; }

.v2-nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.v2-nav::-webkit-scrollbar { display: none; }
.v2-nav a {
  padding: 7px 11px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}
.v2-nav a:hover { background: #ecfdf5; color: #047857; }
.v2-nav a.is-live { color: #dc2626; }
.v2-nav a.is-live:hover { background: #fef2f2; color: #b91c1c; }
html.dark .v2-nav a { color: #cbd5e1; }
html.dark .v2-nav a:hover { background: rgba(6, 78, 59, 0.5); color: #6ee7b7; }

.v2-top__right { display: flex; align-items: center; gap: 8px; flex: none; }

/* admin button — was missing from the v2 top bar */
.v2-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #78350f;
  box-shadow: 0 4px 12px -4px rgba(245, 158, 11, 0.7);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.v2-admin-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -6px rgba(245, 158, 11, 0.8); color: #78350f; }
.v2-admin-btn--ghost {
  background: #f1f5f9;
  color: #475569;
  box-shadow: none;
}
.v2-admin-btn--ghost:hover { background: #e2e8f0; color: #334155; }
.v2-admin-btn--warn { background: linear-gradient(135deg, #fb7185, #e11d48); color: #fff; }
.v2-admin-btn__n {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0 6px;
  font-size: 10px;
  font-weight: 900;
}
html.dark .v2-admin-btn--ghost { background: #334155; color: #cbd5e1; }
html.dark .v2-admin-btn--ghost:hover { background: #475569; color: #f1f5f9; }

/* ── shell ───────────────────────────────────────────────── */
.v2-shell {
  flex: 1;
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 18px 20px 44px;
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr) 272px;
  gap: 18px;
  align-items: start;
}
@media (max-width: 1420px) {
  .v2-shell { grid-template-columns: 240px minmax(0, 1fr) 240px; gap: 14px; }
}
@media (max-width: 1180px) {
  .v2-shell { grid-template-columns: minmax(0, 1fr); }
  .v2-main { order: 1; }
  .v2-aside--right { order: 2; }
  .v2-aside--left { order: 3; }
  .v2-aside { position: static !important; }
}

.v2-aside { position: sticky; top: 74px; display: flex; flex-direction: column; gap: 14px; }

/* Simple shell — pages that must NOT have the two sidebars
   (admin console, auth pages, the video player…). Top bar + centred
   column + bottom bar, same look, no side columns. */
.v2-main-simple {
  flex: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 20px 44px;
  min-width: 0;
}
@media (max-width: 640px) {
  .v2-main-simple { padding: 12px 12px 32px; }
}

/* ── cards ───────────────────────────────────────────────── */
.v2-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}
html.dark .v2-card { background: #1e293b; border-color: #334155; }
.v2-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
html.dark .v2-card__head { background: #172033; border-color: #334155; }
.v2-card__title { font-size: 12.5px; font-weight: 900; color: #0f172a; }
html.dark .v2-card__title { color: #f1f5f9; }
.v2-card__count {
  margin-inline-start: auto;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
}
html.dark .v2-card__count { background: rgba(6, 78, 59, 0.6); color: #6ee7b7; }
.v2-card__body { padding: 10px 12px; }
.v2-card__scroll { max-height: 330px; overflow-y: auto; }

/* ── match card ──────────────────────────────────────────── */
.mcard {
  display: block;
  padding: 9px 11px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  transition: background 0.16s ease;
}
.mcard:last-child { border-bottom: 0; }
.mcard:hover { background: #f8fafc; }
html.dark .mcard { border-color: #334155; }
html.dark .mcard:hover { background: #172033; }

.mcard__top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
  color: #94a3b8;
  margin-bottom: 5px;
}
.mcard__comp { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.mcard__time { margin-inline-start: auto; flex: none; font-weight: 800; color: #64748b; }
html.dark .mcard__time { color: #94a3b8; }

.mcard__body { display: flex; align-items: center; gap: 8px; }
.mcard__team { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; }
.mcard__team--away { flex-direction: row-reverse; }
.mcard__name {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html.dark .mcard__name { color: #e2e8f0; }
.mcard__badge {
  width: 22px; height: 22px; flex: none;
  border-radius: 50%;
  display: inline-grid; place-items: center;
  font-size: 8px; font-weight: 900; color: #fff;
  overflow: hidden;
}
.mcard__badge img { width: 100%; height: 100%; object-fit: cover; }
.mcard__score { flex: none; min-width: 58px; text-align: center; }
.mcard__num {
  display: inline-block;
  font-size: 13px; font-weight: 900;
  padding: 3px 9px; border-radius: 9px;
  background: #ecfdf5; color: #047857;
}
.mcard__live {
  display: inline-block;
  font-size: 9px; font-weight: 900;
  padding: 3px 8px; border-radius: 999px;
  background: #fee2e2; color: #b91c1c;
}
.mcard__vs { font-size: 13px; color: #cbd5e1; font-weight: 900; }

/* standings navigator in the sidebar */
.v2-stand-nav { padding-bottom: 8px !important; border-bottom: 1px solid #f1f5f9; }
html.dark .v2-stand-nav { border-color: #334155; }
.v2-stand-nav .v2-picks { margin-bottom: 5px; }
.v2-stand-nav .v2-pick { font-size: 11px; padding: 4px 11px; }

.v2-stand-panel { padding: 9px 11px 10px; }
.v2-stand-panel[hidden] { display: none !important; }
.v2-stand-panel__title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 800;
  margin-bottom: 4px;
  color: #0f172a;
}
html.dark .v2-stand-panel__title { color: #e2e8f0; }
.v2-stand-panel__title a { color: #047857; text-decoration: none; font-weight: 900; }
.v2-stand-panel__title a:hover { text-decoration: underline; }
.v2-stand-panel__lg { font-size: 9px; font-weight: 700; color: #94a3b8; margin-inline-start: auto; }
.v2-stand-panel__more {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 800;
  color: #059669;
  text-decoration: none;
  text-align: center;
}
.v2-stand-panel__more:hover { text-decoration: underline; }

/* rows in the "boring middle" are collapsed by JS (default view) */
.v2-stand-row.is-collapsed { display: none; }
.v2-stand-row.is-hidden-row { display: none !important; }
.v2-stand-row { cursor: pointer; transition: background 0.15s ease; }
.v2-stand-row:hover { background: #f0fdf4; }
html.dark .v2-stand-row:hover { background: rgba(6, 78, 59, 0.45); }
.v2-stand-row.is-focus-row {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.18), rgba(16, 185, 129, 0.04));
  box-shadow: inset 3px 0 0 #10b981;
}
html.dark .v2-stand-row.is-focus-row { background: rgba(6, 78, 59, 0.6); box-shadow: inset 3px 0 0 #34d399; }
.v2-stand-row.is-focus-row .v2-pos { color: #047857; }
.v2-stand-sep td {
  text-align: center;
  font-size: 9.5px;
  font-weight: 700;
  color: #94a3b8;
  padding: 3px 0 !important;
  letter-spacing: 0.5px;
}
.v2-stand-sep.is-hidden-row { display: none !important; }
.v2-stand-hint {
  padding: 6px 11px 9px;
  font-size: 9.5px;
  font-weight: 700;
  color: #94a3b8;
  text-align: center;
  line-height: 1.5;
}

/* ── mini standings table ────────────────────────────────── */
.v2-table { width: 100%; font-size: 11.5px; border-collapse: collapse; }
.v2-table th {
  text-align: right; font-size: 9px; font-weight: 800; color: #94a3b8;
  padding: 4px 5px; border-bottom: 1px solid #e2e8f0;
}
.v2-table td { padding: 5px; border-bottom: 1px solid #f8fafc; color: #334155; }
html.dark .v2-table td { border-color: #334155; color: #cbd5e1; }
.v2-table td.num { text-align: center; font-weight: 900; color: #047857; }
.v2-table tr:last-child td { border-bottom: 0; }
.v2-pos { font-weight: 900; text-align: center; color: #94a3b8; }
.v2-pos--top { color: #d97706; }

/* ── league list in the left bar ─────────────────────────── */
.v2-lg { border-bottom: 1px solid #f1f5f9; }
.v2-lg:last-child { border-bottom: 0; }
html.dark .v2-lg { border-color: #334155; }
.v2-lg__row { display: flex; align-items: center; gap: 8px; padding: 8px 11px; }
.v2-lg__name { font-size: 12px; font-weight: 800; color: #0f172a; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
html.dark .v2-lg__name { color: #e2e8f0; }
.v2-lg__name:hover { color: #047857; }
.v2-lg__tag { font-size: 9px; font-weight: 800; color: #94a3b8; flex: none; }
.v2-lg__sections { list-style: none; margin: 0; padding: 0 11px 8px 11px; display: flex; flex-wrap: wrap; gap: 4px; }
.v2-lg__sections a {
  font-size: 10px; font-weight: 700; text-decoration: none;
  padding: 3px 9px; border-radius: 999px;
  background: #f1f5f9; color: #475569;
  transition: background .16s ease, color .16s ease;
}
.v2-lg__sections a:hover { background: #10b981; color: #fff; }
html.dark .v2-lg__sections a { background: #334155; color: #cbd5e1; }

/* ── centre column ───────────────────────────────────────── */
.v2-hero {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 22px 24px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #0f172a 0%, #134e4a 55%, #065f46 100%);
  color: #fff;
  box-shadow: 0 18px 40px -22px rgba(2, 44, 34, 0.9);
}
.v2-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 220px at 85% 0%, rgba(52, 211, 153, 0.22), transparent 65%);
  pointer-events: none;
}
.v2-hero__inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.v2-hero h1 { font-size: 26px; font-weight: 900; line-height: 1.25; margin: 0 0 6px; }
.v2-hero h1 span { color: #34d399; }
.v2-hero p { font-size: 13px; color: rgba(226, 232, 240, 0.85); margin: 0; max-width: 520px; }
.v2-hero__cta { display: flex; gap: 8px; margin-inline-start: auto; flex-wrap: wrap; }
.v2-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 12px;
  font-size: 13px; font-weight: 800; text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.v2-btn:hover { transform: translateY(-1px); }
.v2-btn--primary { background: linear-gradient(135deg, #34d399, #059669); color: #fff; box-shadow: 0 10px 22px -10px rgba(16, 185, 129, 0.9); }
.v2-btn--ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); }
.v2-btn--ghost:hover { background: rgba(255, 255, 255, 0.2); }

.v2-stats { display: flex; gap: 18px; margin-top: 14px; position: relative; z-index: 1; flex-wrap: wrap; }
.v2-stat__n { font-size: 19px; font-weight: 900; color: #fff; line-height: 1; }
.v2-stat__l { font-size: 10px; color: rgba(203, 213, 225, 0.75); margin-top: 3px; }

/* star card */
.v2-star-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 18px 16px 10px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
html.dark .v2-star-card { background: #1e293b; border-color: #334155; }
.v2-star-card__top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.v2-star-card__head { text-align: center; margin-bottom: 6px; flex: 1; }
.v2-star-card__head h2 { font-size: 16px; font-weight: 900; color: #0f172a; margin: 0 0 3px; }
html.dark .v2-star-card__head h2 { color: #f1f5f9; }
.v2-star-card__head p { font-size: 11.5px; color: #64748b; margin: 0; }
html.dark .v2-star-card__head p { color: #94a3b8; }
.v2-star-card__toggle {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, transform 0.2s ease;
}
.v2-star-card__toggle:hover { background: #ecfdf5; color: #047857; }
html.dark .v2-star-card__toggle { background: #0f172a; border-color: #334155; color: #94a3b8; }
.v2-star-card.is-collapsed .star-stage { display: none; }
.v2-star-card.is-collapsed .v2-star-card__toggle { transform: rotate(180deg); }
.v2-star-card.is-collapsed .v2-star-card__head p::after {
  content: " — اضغط على ⬆ باش تفتحها";
  color: #059669;
  font-weight: 800;
}

/* ── browse widget: دوري → قسم → جولة ────────────────────── */
.v2-browse {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
html.dark .v2-browse { background: #1e293b; border-color: #334155; }

.v2-pickrow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 2px;
  border-bottom: 1px dashed #e2e8f0;
}
.v2-pickrow:last-of-type { border-bottom: 0; }
html.dark .v2-pickrow { border-color: #334155; }
.v2-pickrow__label {
  flex: none;
  font-size: 11.5px;
  font-weight: 900;
  color: #64748b;
  padding-top: 6px;
  min-width: 68px;
}
html.dark .v2-pickrow__label { color: #94a3b8; }
.v2-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.v2-pick {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 13px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.v2-pick:hover { border-color: #10b981; color: #047857; transform: translateY(-1px); }
.v2-pick.is-active {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(5, 150, 105, 0.8);
}
.v2-pick--empty {
  background: transparent;
  border-style: dashed;
  color: #94a3b8;
  cursor: default;
  font-weight: 700;
}
.v2-pick--empty:hover { border-color: #e2e8f0; color: #94a3b8; transform: none; }
.v2-pick__n {
  display: inline-block;
  margin-inline-start: 4px;
  font-size: 9.5px;
  font-weight: 900;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
}
.v2-pick.is-active .v2-pick__n { background: rgba(255, 255, 255, 0.28); }
html.dark .v2-pick { background: #0f172a; border-color: #334155; color: #cbd5e1; }
html.dark .v2-pick:hover { border-color: #10b981; color: #6ee7b7; }

.v2-round-panel { margin-top: 12px; }
.v2-round-panel[hidden] { display: none !important; }

/* warning shown when lib/home.js is an older build */
.v2-browse__warn {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 11.5px;
  font-weight: 700;
}
.v2-browse__warn code {
  background: rgba(146, 64, 14, 0.12);
  padding: 1px 5px;
  border-radius: 5px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
}
html.dark .v2-browse__warn { background: rgba(120, 53, 15, 0.35); border-color: #b45309; color: #fcd34d; }

/* ── tabs ────────────────────────────────────────────────── */
.v2-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #e2e8f0;
  border-radius: 13px;
  margin-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.v2-tabs::-webkit-scrollbar { display: none; }
html.dark .v2-tabs { background: #1e293b; }
.v2-tab {
  flex: 1;
  min-width: max-content;
  border: 0;
  cursor: pointer;
  padding: 8px 15px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 800;
  color: #64748b;
  background: transparent;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.v2-tab:hover { color: #047857; }
.v2-tab.is-active {
  background: #fff;
  color: #047857;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
}
html.dark .v2-tab.is-active { background: #0f172a; color: #6ee7b7; }
.v2-tab__n { font-size: 10px; opacity: 0.7; margin-inline-start: 3px; }

.v2-panel { display: none; }
.v2-panel.is-active { display: block; animation: fadeUp .28s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.v2-panel-head {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 9px;
}
.v2-panel-head h3 { font-size: 14px; font-weight: 900; color: #0f172a; margin: 0; }
html.dark .v2-panel-head h3 { color: #f1f5f9; }
.v2-panel-head a { margin-inline-start: auto; font-size: 11.5px; font-weight: 800; color: #059669; text-decoration: none; }
.v2-panel-head a:hover { text-decoration: underline; }

/* section block (per league/section) */
.v2-block { margin-bottom: 18px; }
.v2-block__head {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg, #ecfdf5, #f0fdfa);
  border: 1px solid #d1fae5;
  border-bottom: 0;
}
html.dark .v2-block__head { background: linear-gradient(90deg, rgba(6, 78, 59, .45), rgba(15, 23, 42, .3)); border-color: #334155; }
.v2-block__title { font-size: 12.5px; font-weight: 900; color: #065f46; }
html.dark .v2-block__title { color: #6ee7b7; }
.v2-block__sub { font-size: 10px; color: #64748b; }
.v2-block__body { border: 1px solid #e2e8f0; border-radius: 0 0 12px 12px; background: #fff; overflow: hidden; }
html.dark .v2-block__body { border-color: #334155; background: #1e293b; }

.v2-empty { padding: 26px 14px; text-align: center; font-size: 12px; color: #94a3b8; }

/* ── (4) BOTTOM BAR ──────────────────────────────────────── */
.v2-bottom {
  margin-top: auto;
  background: #0f172a;
  color: #94a3b8;
  border-top: 1px solid #1e293b;
}
.v2-bottom__inner {
  max-width: 1560px;
  margin: 0 auto;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11.5px;
}
.v2-bottom__links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.v2-bottom__links a { color: #94a3b8; text-decoration: none; font-weight: 700; }
.v2-bottom__links a:hover { color: #34d399; }
.v2-bottom__copy { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.v2-bottom__copy strong { color: #e2e8f0; }

.v2-logo {
  width: 22px; height: 22px; border-radius: 7px;
  display: inline-grid; place-items: center;
  font-size: 11px; color: #fff;
  background: linear-gradient(140deg, #34d399, #047857);
}

/* scrollbars */
.v2-card__scroll::-webkit-scrollbar, .star-teams::-webkit-scrollbar { width: 6px; }
.v2-card__scroll::-webkit-scrollbar-thumb, .star-teams::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; }
html.dark .v2-card__scroll::-webkit-scrollbar-thumb, html.dark .star-teams::-webkit-scrollbar-thumb { background: #475569; }

@media (max-width: 900px) {
  /* the nav drops to its own scrollable row so it never gets squeezed out */
  .v2-top__inner { flex-wrap: wrap; row-gap: 6px; }
  .v2-nav {
    order: 3;
    flex-basis: 100%;
    margin: 0 -20px;
    padding: 0 20px 2px;
  }
  .v2-nav a { padding: 6px 9px; font-size: 12.5px; }
}

@media (max-width: 640px) {
  .v2-top__inner { padding: 8px 12px; gap: 8px; }
  .v2-brand { font-size: 14px; gap: 7px; }
  .v2-brand__mark { width: 30px; height: 30px; font-size: 14px; border-radius: 9px; }
  .v2-top__right { gap: 6px; }
  .v2-top__right a[href="/register"] { font-size: 12px; padding: 6px 10px; }
  .v2-brand__sub { display: none; }
  .v2-nav { margin: 0 -12px; padding: 0 12px 2px; }
  .v2-shell { padding: 12px 12px 32px; }
  .v2-hero { padding: 18px 16px; }
  .v2-hero h1 { font-size: 21px; }
  .v2-hero__cta { margin-inline-start: 0; width: 100%; }
}
