/* =====================================================================
   Quini '26 — Design tokens, primitives & screen styles
   Plain CSS. Drop into your Go static dir as /static/styles.css
   ===================================================================== */

:root {
  --bg: #FBF6EE;
  --surface: #FFFFFF;
  --surface-2: #F4EEE2;
  --ink: #15110E;
  --ink-2: #4A423C;
  --ink-3: #8B8278;
  --line: rgba(21, 17, 14, 0.08);
  --line-2: rgba(21, 17, 14, 0.16);

  --brand: #FF4D2E;
  --brand-ink: #2A0F08;
  --gold: #FFB627;
  --green: #1D9F5E;
  --red: #E03E3E;
  --blue: #2C6BE3;

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 0 rgba(21,17,14,0.04), 0 1px 2px rgba(21,17,14,0.04);
  --shadow-md: 0 1px 0 rgba(21,17,14,0.04), 0 8px 24px -8px rgba(21,17,14,0.12);
  --shadow-lg: 0 1px 0 rgba(21,17,14,0.04), 0 24px 48px -16px rgba(21,17,14,0.18);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-num: "Space Grotesk", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }

/* =====================================================================
   PRIMITIVES
   ===================================================================== */

/* Each screen is a 1440-wide design surface */
.q-screen {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  position: relative;
}

/* --- Brand mark --- */
.q-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font: 800 24px/1 var(--font-display);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.q-brand__dot {
  display: inline-block;
  width: 9px; height: 9px;
  background: var(--brand);
  border-radius: 999px;
  transform: translateY(-2px);
  margin-right: 2px;
}
.q-brand__26 { color: var(--brand); font-weight: 800; }

/* --- Top app bar --- */
.q-appbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: relative;
  z-index: 2;
}
.q-appbar__left { display: flex; align-items: center; gap: 40px; }
.q-appbar__nav { display: flex; align-items: center; gap: 28px; }
.q-appbar__nav a {
  font: 500 15px/1 var(--font-body);
  color: var(--ink-2);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.q-appbar__nav a.is-active { color: var(--ink); font-weight: 600; }
.q-appbar__right { display: flex; align-items: center; gap: 14px; }

/* --- Buttons --- */
.q-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  font: 600 15px/1 var(--font-body);
  letter-spacing: -0.005em;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  transition: transform .08s ease;
}
.q-btn--primary {
  background: var(--brand); color: white;
  box-shadow: 0 1px 0 rgba(0,0,0,0.12), inset 0 -2px 0 rgba(0,0,0,0.12);
}
.q-btn--ghost  { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.q-btn--dark   { background: var(--ink); color: white; }
.q-btn--lg     { height: 56px; padding: 0 28px; font-size: 17px; border-radius: var(--r-lg); }
.q-btn--icon   { width: 44px; padding: 0; }
.q-btn--sm     { height: 38px; padding: 0 14px; font-size: 14px; }
.q-btn--block  { width: 100%; }

/* --- Chips --- */
.q-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--ink-2);
  font: 600 12px/1 var(--font-body);
  letter-spacing: 0.01em;
  border: 0;
  cursor: default;
}
.q-chip--brand { background: rgba(255,77,46,0.10); color: var(--brand); }
.q-chip--gold  { background: rgba(255,182,39,0.18); color: #6B4400; }
.q-chip--green { background: rgba(29,159,94,0.12); color: var(--green); }
.q-chip--red   { background: rgba(224,62,62,0.10); color: var(--red); }
.q-chip--ink   { background: var(--ink); color: white; }
.q-chip--ghost { background: transparent; border: 1px solid var(--line-2); }

/* --- Card --- */
.q-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

/* --- Avatar --- */
.q-ava {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink);
  font: 700 13px/1 var(--font-display);
}
.q-ava--lg { width: 56px; height: 56px; font-size: 19px; }
.q-ava--xl { width: 88px; height: 88px; font-size: 30px; }

/* --- Utility --- */
.q-flag { font-size: 20px; line-height: 1; font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif; }
.q-num { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.q-mono { font-family: var(--font-num); }
.q-display { font-family: var(--font-display); letter-spacing: -0.02em; }
.q-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); font-weight: 700; }

/* =====================================================================
   01 · LOGIN / ONBOARDING
   ===================================================================== */
.login {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  max-width: 1440px; width: 100%; min-height: 900px;
}
.login__hero {
  position: relative;
  background: var(--ink); color: white;
  padding: 56px 64px;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
}
.login__emblem {
  position: absolute; top: -26px; right: -26px;
  width: 288px; height: 288px;
  object-fit: cover;
  opacity: 0.88;
  pointer-events: none;
}
.login__brand { position: relative; z-index: 2; }
.login__brand .q-brand { color: white; font-size: 28px; }
.login__brand .q-brand__26 { color: var(--gold); }

.login__pitch { position: relative; z-index: 2; max-width: 480px; }
.login__chip {
  background: rgba(255,182,39,0.18); color: var(--gold);
  margin-bottom: 24px;
}
.login__title {
  font-family: var(--font-display);
  font-weight: 800; font-size: 76px;
  line-height: 0.95; letter-spacing: -0.03em;
  margin: 0; color: white;
}
.login__title em { font-style: normal; color: var(--brand); }
.login__sub { font-size: 17px; line-height: 1.5; color: rgba(255,255,255,0.72); margin-top: 24px; max-width: 440px; }

.login__stats { position: relative; z-index: 2; display: flex; gap: 48px; }
.login__stat-n {
  font-family: var(--font-num); font-size: 36px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--gold);
}
.login__stat-l {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5); margin-top: 4px;
}

.login__form { padding: 56px 80px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.login__help { position: absolute; top: 56px; right: 48px; }
.login__form-inner { max-width: 420px; width: 100%; margin: 0 auto; }
.login__form-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 40px; letter-spacing: -0.025em;
  margin: 0; color: var(--ink);
}
.login__form-sub { color: var(--ink-2); font-size: 16px; margin: 10px 0 32px; }
.login__social { display: flex; flex-direction: column; gap: 10px; }
.login__social .q-btn { width: 100%; justify-content: center; gap: 14px; }
.login__google-icon {
  width: 22px; height: 22px; border-radius: 4px;
  background: conic-gradient(from 90deg, #4285F4, #34A853, #FBBC05, #EA4335, #4285F4);
  display: inline-block;
}
.login__divider {
  display: flex; align-items: center; gap: 14px;
  margin: 28px 0; color: var(--ink-3);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
}
.login__divider hr { flex: 1; height: 1px; border: 0; background: var(--line); }

.q-field { display: block; }
.q-field + .q-field { margin-top: 14px; }
.q-field__label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px;
}
.q-field__label a { color: var(--brand); text-decoration: none; font-weight: 600; }
.q-field__input {
  width: 100%; height: 52px; padding: 0 18px;
  border-radius: var(--r-md); border: 1.5px solid var(--line-2);
  background: var(--surface); font: 500 16px/1 var(--font-body);
  color: var(--ink); outline: none;
}
.q-field__input--pw { letter-spacing: 0.1em; }

.login__footer { margin-top: 28px; text-align: center; font-size: 14px; color: var(--ink-2); }
.login__footer a {
  color: var(--ink); font-weight: 700; text-decoration: underline;
  text-decoration-color: var(--brand); text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* =====================================================================
   02 · GROUPS OVERVIEW
   ===================================================================== */
.groups__header {
  padding: 40px 48px 28px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.groups__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: 56px; line-height: 0.95; letter-spacing: -0.03em; margin: 0;
}
.groups__title em { font-style: normal; color: var(--brand); }
.groups__progress {
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.groups__progress-card {
  padding: 14px 18px; display: flex; align-items: center; gap: 18px;
}
.groups__progress-num {
  font-family: var(--font-num); font-size: 28px; font-weight: 700;
  letter-spacing: -0.02em;
}
.groups__progress-bar {
  width: 80px; height: 8px; border-radius: 999px;
  background: var(--surface-2); overflow: hidden;
}
.groups__progress-bar > i { display: block; height: 100%; background: var(--brand); }

.groups__filters {
  padding: 0 48px 20px;
  display: flex; gap: 8px; align-items: center;
}
.groups__grid {
  padding: 0 48px 48px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}

.gcard { padding: 20px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.gcard__head { display: flex; justify-content: space-between; align-items: flex-start; }
.gcard__letter {
  font-family: var(--font-display); font-weight: 800;
  font-size: 56px; line-height: 0.9; letter-spacing: -0.04em;
}
.gcard__teams { display: flex; flex-direction: column; gap: 6px; }
.gcard__team {
  display: flex; align-items: center; gap: 10px; padding: 6px 0;
}
.gcard__team-name {
  font-size: 14px; font-weight: 600; color: var(--ink); flex: 1;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.gcard__team-code {
  font-family: var(--font-num); font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.05em; font-weight: 600;
}
.gcard__foot {
  display: flex; align-items: center; gap: 6px;
  padding-top: 12px; border-top: 1px dashed var(--line);
}
.gcard__pill {
  display: inline-flex; align-items: center; justify-content: center;
  height: 24px; padding: 0 9px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  background: var(--surface-2); color: var(--ink-3);
}
.gcard__pill--done    { background: var(--brand); color: white; }
.gcard__pill--partial { background: rgba(255,77,46,0.18); color: var(--brand); }
.gcard__cta { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--ink); }

/* =====================================================================
   03 · MATCH PREDICTION
   ===================================================================== */
.match__crumbs {
  padding: 24px 48px 0;
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--ink-2);
}
.match__crumbs a { color: var(--ink-2); text-decoration: none; }
.match__crumbs span.sep { color: var(--ink-3); }
.match__crumbs strong { color: var(--ink); font-weight: 600; }

.match__layout {
  padding: 20px 48px 48px;
  display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: flex-start;
}
.match__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }

.match__card {
  padding: 24px 32px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF6EE 100%);
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.match__watermark {
  position: absolute; top: -40px; right: -10px;
  font-family: var(--font-display); font-size: 280px; font-weight: 800;
  color: rgba(21,17,14,0.04); line-height: 1; letter-spacing: -0.06em;
  pointer-events: none;
}
.match__when {
  position: relative; text-align: center; margin-bottom: 20px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-3); font-weight: 600;
}
.match__row {
  position: relative;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 20px;
}
.match__vs {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.match__vs-lbl {
  font-family: var(--font-display); font-size: 28px; font-weight: 800;
  color: var(--ink-3); letter-spacing: -0.02em;
}

.tside { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tside__flag {
  width: 72px; height: 72px; border-radius: 999px;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; line-height: 1; box-shadow: var(--shadow-sm);
}
.tside__name {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1; text-align: center;
}
.tside__sub {
  font-family: var(--font-num); font-size: 12px;
  color: var(--ink-3); letter-spacing: 0.1em; margin-top: 4px;
  font-weight: 600; text-align: center;
}

.stepper { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.stepper__btn {
  width: 44px; height: 44px; border-radius: 999px; cursor: pointer;
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  background: var(--surface); color: var(--ink);
  border: 1.5px solid var(--line-2);
  box-shadow: var(--shadow-sm);
}
.stepper__btn--plus {
  background: var(--brand); color: white; border: 0;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,0.18), 0 4px 14px -2px rgba(255,77,46,0.4);
}
.stepper__score {
  width: 132px; height: 132px; border-radius: 28px;
  background: var(--ink); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-num); font-size: 88px; font-weight: 700;
  letter-spacing: -0.04em;
  box-shadow: inset 0 -6px 0 rgba(0,0,0,0.25), 0 8px 24px -8px rgba(21,17,14,0.4);
}

.match__hint {
  margin-top: 36px; padding: 14px 18px;
  background: rgba(255,182,39,0.10);
  border: 1px dashed rgba(255,182,39,0.5);
  border-radius: var(--r-md);
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--ink-2); line-height: 1.4;
}
.match__hint strong { color: var(--ink); }
.match__hint-bulb { font-size: 22px; }

.match__cta-row { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.match__cta-row .spacer { flex: 1; }
.match__cta-row .hint { font-size: 13px; color: var(--ink-3); }

.match__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.match__sub .q-card { padding: 22px; }

.h2h-row {
  display: flex; align-items: center; gap: 12px; font-size: 13px;
}
.h2h-row .date { width: 56px; color: var(--ink-3); font-family: var(--font-num); }
.h2h-row .mid { flex: 1; font-weight: 500; }
.h2h-row .mid .q-num { color: var(--brand); font-weight: 700; margin: 0 6px; }
.h2h-row .loc { color: var(--ink-3); font-size: 12px; }

.crowd-row { margin-bottom: 10px; }
.crowd-row__head {
  display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 4px;
}
.crowd-row__head .lbl { font-weight: 600; }
.crowd-row__head .pct { color: var(--ink-2); font-weight: 600; }
.crowd-row__bar { height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.crowd-row__bar > i { display: block; height: 100%; border-radius: 999px; }

.match__aside { display: flex; flex-direction: column; gap: 18px; }
.match__aside .q-card { padding: 20px; }
.match__aside h3 {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em; margin: 0 0 14px;
}
.match__aside h3.with-chip {
  display: flex; justify-content: space-between; align-items: baseline;
}
.smatch {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--r-md);
  border: 1.5px solid transparent;
}
.smatch--active {
  background: rgba(255,77,46,0.08);
  border-color: rgba(255,77,46,0.3);
}
.smatch__teams { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.smatch__row {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
}
.smatch__score {
  font-family: var(--font-num); font-size: 18px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink);
}
.smatch--active .smatch__score { color: var(--brand); }

.match__streak {
  padding: 18px; border-radius: var(--r-lg);
  background: var(--ink); color: white;
}
.match__streak .q-eyebrow { color: var(--gold); }
.match__streak h4 {
  font-size: 32px; font-weight: 700; font-family: var(--font-display);
  letter-spacing: -0.02em; margin: 6px 0 4px;
}
.match__streak p { font-size: 13px; color: rgba(255,255,255,0.65); margin: 0; }

.match__fechas { display: flex; flex-direction: column; gap: 12px; }
.match__fechas-row { display: flex; align-items: center; justify-content: space-between; }
.match__fechas-row strong { font-weight: 600; }
.match__fechas-row .dim { color: var(--ink-3); }

/* =====================================================================
   04 · DASHBOARD
   ===================================================================== */
.dash__top {
  padding: 32px 48px 24px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px;
}
.dash__hero {
  padding: 32px 36px; border-radius: var(--r-lg);
  background: var(--ink); color: white;
  position: relative; overflow: hidden;
}
.dash__hero-emblem {
  position: absolute; top: -8px; right: -8px;
  width: 150px; height: 150px;
  object-fit: cover;
  opacity: 0.82;
  pointer-events: none;
}
.dash__hero-head {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 18px; margin-bottom: 28px;
}
.dash__hero-name {
  font-family: var(--font-display); font-size: 36px; font-weight: 800;
  letter-spacing: -0.025em; margin-top: 2px;
}
.dash__hero-greet { font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); font-weight: 700; }
.dash__hero-meta { font-size: 14px; color: rgba(255,255,255,0.6); }
.dash__stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.dash__stat { padding: 14px 16px; border-radius: var(--r-md); background: rgba(255,255,255,0.06); }
.dash__stat-n {
  font-family: var(--font-num); font-size: 30px; font-weight: 700;
  letter-spacing: -0.025em; color: white;
}
.dash__stat-n--accent { color: var(--gold); }
.dash__stat-l {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55); margin-top: 2px;
}

.dash__next {
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
  background: linear-gradient(180deg, #FFFFFF, #FBF6EE);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.dash__next-head { display: flex; align-items: center; justify-content: space-between; }
.dash__next-time {
  font-family: var(--font-num); font-size: 12px; color: var(--ink-3);
  font-weight: 600; letter-spacing: 0.05em;
}
.dash__next-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
.dash__next-side {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
}
.dash__next-vs {
  font-family: var(--font-display); font-size: 30px; font-weight: 800;
  color: var(--ink-3); letter-spacing: -0.02em; flex: 1; text-align: center;
}

.dash__bottom {
  padding: 0 48px 36px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px;
}
.dash__results, .dash__chart-card { padding: 24px; }
.dash__h3 {
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  letter-spacing: -0.02em; margin: 0;
}
.dash__h3-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.dash__h3-row a { color: var(--brand); font-size: 14px; font-weight: 600; text-decoration: none; }
.dash__chart-sub { font-size: 13px; color: var(--ink-3); margin-top: 2px; }

.rrow {
  display: grid; grid-template-columns: 1fr auto auto auto; gap: 18px;
  align-items: center; padding: 14px 0; border-top: 1px solid var(--line);
}
.rrow__teams { display: flex; align-items: center; gap: 12px; }
.rrow__teams .code { font-weight: 600; font-size: 14px; }
.rrow__teams .vs { color: var(--ink-3); font-size: 13px; }
.rrow__lbl {
  font-size: 11px; color: var(--ink-3); text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 600; margin-right: 6px;
}
.rrow__score { font-family: var(--font-num); font-size: 16px; font-weight: 700; }
.rrow__mine {
  font-family: var(--font-num); font-size: 16px; font-weight: 700;
  padding: 2px 8px; border-radius: 8px; border: 1.5px solid var(--ink-3);
}
.rrow__mine--exact { border-color: var(--green); color: var(--ink); }
.rrow__mine--side  { border-color: var(--blue);  color: var(--ink); }
.rrow__mine--diff  { border-color: var(--gold);  color: var(--ink); }
.rrow__mine--miss  { border-color: var(--ink-3); color: var(--ink-3); }
.rrow__pts {
  min-width: 64px; height: 36px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-num); font-size: 14px; font-weight: 700;
  letter-spacing: 0.02em; padding: 0 12px;
}
.rrow__pts--exact { background: var(--green); color: white; }
.rrow__pts--side  { background: var(--ink); color: white; }
.rrow__pts--diff  { background: var(--gold); color: var(--ink); }
.rrow__pts--miss  { background: var(--surface-2); color: var(--ink-3); }

.dash__results-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.dash__page-info { font-size: 13px; color: var(--ink-2); }
.q-btn:disabled { opacity: 0.4; cursor: default; pointer-events: none; }

.bar-chart { display: flex; align-items: flex-end; gap: 10px; height: 180px; margin-top: 14px; }
.bar-chart__col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bar-chart__bar {
  width: 100%; min-height: 16px;
  border-radius: var(--r-sm) var(--r-sm) 4px 4px;
  position: relative;
}
.bar-chart__bar--brand  { background: var(--brand); }
.bar-chart__bar--ink    { background: var(--ink); }
.bar-chart__bar--ghost  { background: var(--surface-2); }
.bar-chart__val {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-num); font-size: 12px; font-weight: 700; color: var(--ink);
}
.bar-chart__lbl {
  font-size: 11px; font-weight: 600; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.06em;
}

.dash__note {
  margin-top: 18px; padding: 14px 16px; border-radius: var(--r-md);
  background: var(--surface-2);
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--ink-2); line-height: 1.4;
}
.dash__note .emoji { font-size: 22px; }
.dash__note strong { color: var(--ink); }

/* =====================================================================
   05 · LEADERBOARD
   ===================================================================== */
.lb__header {
  padding: 32px 48px 20px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.lb__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: 52px; line-height: 0.95; letter-spacing: -0.03em; margin: 0;
}
.lb__title em { font-style: normal; color: var(--brand); }
.lb__tabs {
  display: flex; gap: 6px; padding: 4px; border-radius: var(--r-pill);
  background: var(--surface-2);
}
.lb__tabs .q-btn {
  height: 36px; padding: 0 18px; font-size: 14px;
  border-radius: 999px; font-weight: 600;
  background: transparent; color: var(--ink-2);
}
.lb__tabs .q-btn.is-active { background: var(--ink); color: white; }

.lb__strip {
  padding: 0 48px 24px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
}
.lb__strip .lbl { color: var(--ink-3); }
.lb__strip .spacer { flex: 1; }

.lb__podium {
  padding: 0 48px 28px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; align-items: end;
}
.podium { display: flex; flex-direction: column; align-items: center; }
.podium__person { position: relative; margin-bottom: 14px; }
.podium__crown { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-size: 28px; }
.podium__ava {
  border-radius: 999px; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em;
  border: 4px solid var(--bg); box-shadow: var(--shadow-md);
}
.podium__ava--1 { width: 96px; height: 96px; font-size: 30px; background: var(--gold); }
.podium__ava--2 { width: 80px; height: 80px; font-size: 24px; background: #C7C5BD; }
.podium__ava--3 { width: 80px; height: 80px; font-size: 24px; background: #D29B6E; }
.podium__name { font-weight: 700; font-size: 16px; text-align: center; }
.podium__delta { font-size: 12px; color: var(--ink-3); text-align: center; margin-bottom: 12px; }
.podium__delta .up { color: var(--green); font-family: var(--font-num); font-weight: 700; }
.podium__block {
  width: 100%;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: inset 0 -6px 0 rgba(0,0,0,0.12);
}
.podium__block--1 { height: 200px; background: var(--gold); }
.podium__block--2 { height: 160px; background: #C7C5BD; }
.podium__block--3 { height: 140px; background: #D29B6E; }
.podium__rank {
  font-family: var(--font-display); font-weight: 800; color: var(--ink);
  letter-spacing: -0.04em; line-height: 0.9;
}
.podium__rank--1 { font-size: 88px; }
.podium__rank--2, .podium__rank--3 { font-size: 64px; }
.podium__pts {
  font-family: var(--font-num); font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em;
}
.podium__pts--1 { font-size: 22px; }

.lb__table-wrap { padding: 0 48px 24px; }
.lb-table { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.lb-table__head {
  display: grid; grid-template-columns: 56px 1fr 80px 90px 70px 70px;
  padding: 14px 22px; border-bottom: 1px solid var(--line);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  font-weight: 700; color: var(--ink-3);
}
.lb-table__head .ra { text-align: right; }
.lb-row {
  display: grid; grid-template-columns: 56px 1fr 80px 90px 70px 70px;
  align-items: center; padding: 14px 22px;
  border-top: 1px solid var(--line);
  border-left: 3px solid transparent;
}
.lb-row--you { background: rgba(255,77,46,0.06); border-left-color: var(--brand); }
.lb-row--dim { opacity: 0.5; }
.lb-row__rank { font-family: var(--font-num); font-size: 18px; font-weight: 700; }
.lb-row--you .lb-row__rank { color: var(--brand); }
.lb-row__player { display: flex; align-items: center; gap: 12px; }
.lb-row__name { font-weight: 600; font-size: 15px; }
.lb-row__name .q-chip { margin-left: 8px; height: 20px; padding: 0 8px; font-size: 10px; }
.lb-row__num { font-family: var(--font-num); font-weight: 600; }
.lb-row__pts { font-family: var(--font-num); font-weight: 700; font-size: 17px; text-align: right; letter-spacing: -0.01em; }
.lb-row__streak--hot { color: var(--brand); }

.lb__you {
  margin: 0 48px 24px;
  padding: 16px 22px; border-radius: var(--r-lg);
  background: var(--ink); color: white;
  display: flex; align-items: center; gap: 18px;
  box-shadow: var(--shadow-lg);
}
.lb__you-rank {
  font-family: var(--font-display); font-size: 36px; font-weight: 800;
  color: var(--gold); letter-spacing: -0.02em; min-width: 64px;
}
.lb__you-name { font-weight: 700; font-size: 16px; }
.lb__you-meta { font-size: 13px; color: rgba(255,255,255,0.6); }
.lb__you-pts-n {
  font-family: var(--font-num); font-size: 28px; font-weight: 700;
  letter-spacing: -0.02em;
}
.lb__you-pts-l {
  font-size: 11px; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.12em;
}

/* =====================================================================
   TOAST
   ===================================================================== */
@keyframes q-toast-in-out {
  0%   { opacity: 0; transform: translateY(12px); }
  12%  { opacity: 1; transform: translateY(0); }
  75%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(0); }
}
.q-toast {
  position: fixed;
  bottom: 28px; right: 28px;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 20px;
  background: var(--ink); color: #fff;
  border-radius: var(--r-pill);
  font: 600 14px/1 var(--font-body);
  box-shadow: var(--shadow-lg);
  animation: q-toast-in-out 3s ease forwards;
  pointer-events: none;
  z-index: 100;
}
.q-toast__icon { font-size: 16px; line-height: 1; }

.lb__rules { padding: 0 48px 24px; }
.lb__rules-card { padding: 20px 24px; }
.lb__rules-head {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3);
  margin-bottom: 14px;
}
.lb__rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.lb__rules-note { margin-top: 10px; font-size: 12px; color: var(--ink-3); line-height: 1.4; }
.lb__rules-section {
  font-weight: 700; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 8px;
}
.lb__rules-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0; border-bottom: 1px solid var(--line);
  font-size: 14px; font-weight: 500;
}
.lb__rules-row:last-child { border-bottom: none; }
.lb__rules-pts {
  font-family: var(--font-num); font-weight: 700; font-size: 13px;
  color: var(--ink-2);
}
.lb__rules-pts--gold { color: var(--gold); }
.lb-row__view { font-size: 13px; color: var(--brand); font-weight: 600; text-decoration: none; margin-left: 8px; }
.lb-row__view:hover { text-decoration: underline; }

/* =====================================================================
   PLAYER PREDICTIONS PAGE
   ===================================================================== */
.player__hero { display: flex; align-items: center; gap: 16px; padding: 24px 20px 16px; flex-wrap: wrap; max-width: 1100px; margin: 0 auto; }
.player__hero-name { font-size: 20px; font-weight: 700; }
.player__hero-sub { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.player__content { padding: 0 20px 48px; max-width: 1100px; margin: 0 auto; }
.player__stage-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin: 24px 0 12px; }
.player__groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 8px; }
.player__knockout { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.player__section { padding: 14px 16px; }
.player__section-title { font-weight: 700; font-size: 14px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.player__row { display: flex; align-items: center; justify-content: space-between; padding: 5px 0; gap: 8px; }
.player__row:not(:last-child) { border-bottom: 1px solid var(--surface-2); }
.player__teams { display: flex; align-items: center; gap: 5px; font-size: 13px; min-width: 0; flex: 1; }
.player__code { font-weight: 600; font-size: 13px; }
.player__vs { color: var(--ink-3); font-size: 11px; flex-shrink: 0; }
.player__score { font-family: var(--font-num); font-weight: 700; font-size: 15px; white-space: nowrap; }
.player__no-pred { color: var(--ink-3); font-size: 14px; }
@media (max-width: 900px) { .player__groups { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .player__groups, .player__knockout { grid-template-columns: 1fr; } }

/* =====================================================================
   OVERVIEW / INDEX PAGE
   ===================================================================== */
.ov {
  max-width: 1200px; margin: 0 auto; padding: 56px 32px 80px;
}
.ov__head { margin-bottom: 48px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ov__title {
  font-family: var(--font-display); font-weight: 800; font-size: 56px;
  line-height: 0.95; letter-spacing: -0.03em; margin: 14px 0 0;
}
.ov__title em { font-style: normal; color: var(--brand); }
.ov__sub { font-size: 16px; color: var(--ink-2); max-width: 520px; margin-top: 14px; }
.ov__legend { display: flex; gap: 12px; flex-wrap: wrap; }
.ov__section { margin-top: 56px; }
.ov__section-title {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  letter-spacing: -0.02em; margin: 0 0 4px;
  display: flex; align-items: baseline; gap: 12px;
}
.ov__section-title .num { color: var(--brand); }
.ov__section-sub { font-size: 14px; color: var(--ink-3); margin-bottom: 20px; }

.ov__cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
  gap: 24px;
}
.ov__card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .12s ease, box-shadow .12s ease;
}
.ov__card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ov__card-frame {
  position: relative;
  background: var(--surface-2);
  height: 360px;
  overflow: hidden;
}
.ov__card-frame iframe {
  width: 1440px; height: 1280px; border: 0;
  transform: scale(0.32); transform-origin: top left;
  pointer-events: none;
}
.ov__card-body { padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ov__card-title { font-weight: 700; font-size: 16px; }
.ov__card-meta { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.ov__card a { text-decoration: none; color: inherit; display: block; }

/* =====================================================================
   06 · KNOCKOUT BRACKET
   ===================================================================== */

.ko__header {
  padding: 40px 48px 20px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 32px;
}
.ko__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: 52px; line-height: 0.95; letter-spacing: -0.03em; margin: 0;
}
.ko__title em { font-style: normal; color: var(--brand); }
.ko__sub { font-size: 15px; color: var(--ink-2); line-height: 1.5; margin: 12px 0 0; max-width: 360px; }
.ko__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; padding-top: 4px; }

.ko__panel { padding: 0 32px 48px; overflow-x: auto; }
.ko__panel-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink-3); font-weight: 700; text-align: center; padding: 0 0 10px;
}
.ko__panel-label .accent { color: var(--brand); }

/* Grid: R32(168) conn(32) R16(148) conn(32) QF(128) CENTER(1fr,min 260px) QF(128) conn(32) R16(148) conn(32) R32(168) */
.ko__rounds {
  display: grid;
  grid-template-columns: 168px 32px 148px 32px 128px minmax(260px, 1fr) 128px 32px 148px 32px 168px;
  width: 100%; min-width: 1100px; padding-bottom: 8px;
}
.ko__rounds > span {
  text-align: center; font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--ink-3); font-weight: 700;
}
.ko__rounds > span.is-center { color: var(--ink); }

.bracket {
  display: grid;
  grid-template-columns: 168px 32px 148px 32px 128px minmax(260px, 1fr) 128px 32px 148px 32px 168px;
  width: 100%; min-width: 1100px; align-items: stretch;
}

.bracket__col {
  display: flex; flex-direction: column;
  justify-content: space-around; padding: 4px 3px;
}

.bracket__connector { display: flex; flex-direction: column; align-self: stretch; }
.bracket__connector .pair { flex: 1; min-height: 0; }
.bracket__connector .pair svg {
  display: block; width: 100%; height: 100%; overflow: visible;
  stroke: var(--line-2); stroke-width: 1.5; fill: none;
}

.bracket__center {
  display: flex; flex-direction: column;
  justify-content: center; align-items: stretch;
  gap: 8px; padding: 4px 8px;
}
.ko__trophy {
  width: 80px; height: auto;
  display: block; margin: 0 auto;
  border-radius: var(--r-sm);
  filter: drop-shadow(0 4px 12px rgba(255,182,39,0.35));
}
.ko__trophy-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.ko__champion-label {
  font-size: 13px; font-weight: 700; text-align: center;
  color: var(--ink); letter-spacing: 0.01em;
}
.ko__bronze-label {
  font-size: 9px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink-3); font-weight: 700; text-align: center; margin-bottom: 4px;
}

/* Match card */
.kmatch {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-sm); box-shadow: var(--shadow-sm); overflow: hidden;
  margin: 2px 0;
}
.kmatch--mine { border-color: rgba(255,77,46,0.35); }
.kmatch--locked { opacity: 0.72; }
.kmatch--blank { background: var(--surface-2); border-style: dashed; box-shadow: none; color: var(--ink-3); }
.kmatch--final { border-color: var(--gold); border-width: 1.5px; }
.kmatch--bronze { background: var(--surface-2); border-style: dashed; box-shadow: none; }

.kmatch__slot {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px; min-height: 38px;
}
.kmatch__slot + .kmatch__slot { border-top: 1px solid var(--line); }
.kmatch__flag { font-size: 14px; line-height: 1; flex-shrink: 0; }
.kmatch__name {
  flex: 1; font-size: 11px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink);
}
.kmatch__score {
  width: 26px; height: 26px; flex-shrink: 0; text-align: center;
  font-family: var(--font-num); font-size: 13px; font-weight: 700;
  border-radius: 6px; border: none; outline: none;
  background: var(--ink); color: white;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.25);
  display: inline-flex; align-items: center; justify-content: center;
}
input.kmatch__score { cursor: text; line-height: 26px; }
input.kmatch__score:disabled { background: var(--surface-2); color: var(--ink-3); box-shadow: none; }
.kmatch__score--static { background: var(--surface-2); color: var(--ink-2); box-shadow: none; }
.kmatch__score--empty  { background: none; color: var(--ink-3); box-shadow: none; }

.kmatch__penalty {
  align-items: center; gap: 6px; flex-wrap: wrap;
  padding: 5px 10px; border-top: 1px dashed var(--line);
  font-size: 10px; color: var(--ink-2);
}
.kmatch__penalty label { display: inline-flex; align-items: center; gap: 3px; cursor: pointer; font-weight: 500; }

.ko__save { text-align: center; padding: 20px 0 0; }

.ko__special {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 20px 0;
}
.ko__special-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}
.ko__special-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ko__special-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ko__special-field label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}
.ko__special-field input {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  background: var(--surface);
  color: var(--ink);
}
.ko__special-field input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand-alpha);
}
.ko__special-field select {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.ko__special-field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand-alpha);
}

/* =====================================================================
   Footer
   ===================================================================== */
.q-footer {
  text-align: center;
  padding: 24px 16px;
  font-size: 13px;
  color: var(--ink-3);
}
.q-footer__link {
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.q-footer__sep {
  margin: 0 6px;
  color: var(--ink-3);
}

/* =====================================================================
   RESPONSIVE — graceful breakpoints (no desktop styles were changed)
   ===================================================================== */

@media (max-width: 1024px) {
  /* App bar */
  .q-appbar { padding: 0 20px; }
  .q-appbar__left { gap: 20px; }
  .q-appbar__nav { gap: 16px; }

  /* Login */
  .login { grid-template-columns: 1fr; min-height: auto; }
  .login__hero { padding: 40px 36px; }
  .login__title { font-size: 48px; }
  .login__form { padding: 40px 36px; }

  /* Home — groups */
  .groups__header { padding: 28px 24px 20px; }
  .groups__filters { padding: 0 24px 16px; }
  .groups__grid { padding: 0 24px 32px; grid-template-columns: repeat(2, 1fr); }
  .groups__title { font-size: 40px; }

  /* Match prediction */
  .match__crumbs { padding: 18px 24px 0; }
  .match__layout { padding: 16px 24px 36px; grid-template-columns: 1fr; }

  /* Dashboard */
  .dash__top { padding: 24px 24px 18px; grid-template-columns: 1fr; }
  .dash__bottom { padding: 0 24px 28px; grid-template-columns: 1fr; }
  .dash__stats { grid-template-columns: repeat(2, 1fr); }

  /* Leaderboard */
  .lb__header { padding: 24px 24px 16px; }
  .lb__strip { padding: 0 24px 16px; }
  .lb__podium { padding: 0 24px 20px; }
  .lb__table-wrap { padding: 0 24px 18px; }
  .lb__you { margin: 0 24px 18px; }
  .lb__rules { padding: 0 24px 18px; }

  /* Knockout */
  .ko__header { padding: 28px 24px 16px; gap: 20px; }
  .ko__title { font-size: 38px; }
  .ko__panel { padding: 0 16px 36px; }
}

@media (max-width: 640px) {
  /* App bar */
  .q-appbar { padding: 0 16px; height: 60px; }
  .q-appbar__left { gap: 12px; }
  .q-appbar__nav { gap: 12px; }
  .q-appbar__nav a { font-size: 13px; }

  /* Login */
  .login__hero { padding: 28px 20px; }
  .login__title { font-size: 32px; }
  .login__sub { font-size: 15px; }
  .login__stats { gap: 24px; }
  .login__form { padding: 28px 20px; }

  /* Home — groups */
  .groups__header { padding: 18px 16px 14px; flex-direction: column; align-items: flex-start; }
  .groups__filters { padding: 0 16px 12px; }
  .groups__grid { padding: 0 16px 24px; grid-template-columns: 1fr; }
  .groups__title { font-size: 32px; }

  /* Match prediction */
  .match__crumbs { padding: 12px 16px 0; }
  .match__layout { padding: 12px 16px 28px; }
  .match__vs-lbl { font-size: 20px; }
  .stepper__score { width: 88px; height: 88px; font-size: 56px; border-radius: 20px; }

  /* Dashboard */
  .dash__top { padding: 16px 16px 12px; }
  .dash__bottom { padding: 0 16px 20px; }
  .dash__hero { padding: 24px 20px; }
  .dash__hero-name { font-size: 26px; }

  /* Leaderboard */
  .lb__header { padding: 16px 16px 12px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .lb__title { font-size: 36px; }
  .lb__strip { padding: 0 16px 12px; }
  .lb__podium { padding: 0 16px 16px; grid-template-columns: 1fr; }
  .lb__table-wrap { padding: 0 16px 14px; }
  .lb__you { margin: 0 16px 14px; }
  .lb__rules { padding: 0 16px 14px; }

  /* Leaderboard table — show rank, player, exactos, pts; hide aciertos and racha */
  .lb-table__head,
  .lb-row { grid-template-columns: 40px 1fr 56px 56px; padding: 10px 14px; }
  .lb-table__head > :nth-child(3),
  .lb-table__head > :nth-child(5),
  .lb-row > :nth-child(3),
  .lb-row > :nth-child(5) { display: none; }

  /* Knockout */
  .ko__header { padding: 16px 16px 12px; flex-direction: column; gap: 12px; }
  .ko__title { font-size: 30px; }
  .ko__actions { align-items: flex-start; }
  .ko__panel { padding: 0 8px 28px; }
  .ko__special-grid { grid-template-columns: repeat(2, 1fr); }

  /* Overview cards */
  .ov__cards { grid-template-columns: 1fr; }
  .ov__title { font-size: 36px; }
}
