/* Modern dashboard shell for /admin and /me — icon sidebar + topbar layout,
   bento-card content. Loaded alongside style.css (shares its tokens). */

:root {
  --dash-sidebar-w: 232px;
  --dash-sidebar-w-rail: 84px;
  --dash-bg: #f5f6f8;
  --dash-card: #ffffff;
  --dash-border: #ececf1;
  --dash-text: #14171f;
  --dash-muted: #8a8f9c;
  --dash-accent: #10233f;
  --dash-accent-soft: #e8ebf1;
  --dash-radius: 22px;
  --dash-radius-sm: 14px;
  --dash-radius-lg: 28px;
  --dash-shadow: 0 1px 2px rgba(20,23,31,0.04), 0 12px 28px -16px rgba(20,23,31,0.16);

  --side-bg: #081527;
  --side-bg-2: #10233f;
  --side-text: rgba(255,255,255,0.6);
  --side-text-active: #10233f;
  --side-accent: #d9e14a;
}

.dash-body { background: var(--dash-bg); margin: 0; }

.dash-shell { display: flex; min-height: 100vh; }

/* Sidebar */
.dash-sidebar {
  width: var(--dash-sidebar-w); flex: 0 0 var(--dash-sidebar-w);
  background: var(--side-bg); border-right: 1px solid var(--dash-border);
  display: flex; flex-direction: column; padding: 20px 14px;
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 30;
  transform: translateX(-100%); transition: transform 0.2s ease;
  /* The nav list has grown past what fits in one screen on shorter
     viewports (laptop windows, landscape mobile) — without this, the
     overflow was just clipped outside the fixed box with no way to
     reach it, including the "public site" / "log out" links at the
     bottom of the sidebar footer. */
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.dash-sidebar.open { transform: translateX(0); }

.dash-brand {
  display: flex; align-items: center; gap: 10px; padding: 6px 10px 22px;
  text-decoration: none; color: #fff; font-weight: 800; font-family: var(--display); font-size: 1.05rem;
}
.dash-brand:hover { text-decoration: none; }
.dash-brand-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--side-accent); color: var(--side-bg);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex: 0 0 auto;
}
.dash-brand-logo { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; }

.dash-nav { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.dash-nav-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--dash-radius-sm);
  color: var(--side-text); font-weight: 600; font-size: 0.92rem; text-decoration: none; position: relative;
}
.dash-nav-item:hover { background: rgba(255,255,255,0.08); color: #fff; text-decoration: none; }
.dash-nav-item.active { background: var(--side-accent); color: var(--side-text-active); }
.dash-nav-icon { font-size: 1.05rem; width: 22px; text-align: center; flex: 0 0 auto; }

.dash-nav-section-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); padding: 14px 12px 2px;
}
.dash-nav-section-label:first-child { padding-top: 4px; }

.dash-sidebar-footer { display: flex; flex-direction: column; gap: 3px; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 12px; margin-top: 12px; }

/* Main column */
.dash-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.dash-topbar {
  display: flex; align-items: center; gap: 12px; padding: 16px 22px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--dash-border);
  position: sticky; top: 0; z-index: 20;
}
.dash-menu-toggle {
  display: flex; align-items: center; justify-content: center;
  background: var(--dash-accent-soft); color: var(--dash-accent);
  border: 1px solid var(--dash-border); border-radius: var(--dash-radius-sm);
  width: 40px; height: 40px; padding: 0; cursor: pointer; flex: 0 0 auto;
}
.dash-menu-toggle-icon { flex: 0 0 auto; }
.dash-menu-toggle:hover, .dash-menu-toggle:focus, .dash-menu-toggle:active { background: var(--dash-border); color: var(--dash-accent); }
.dash-sidebar-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(8,21,39,0.55); z-index: 25;
  opacity: 0; transition: opacity 0.2s ease;
}
.dash-sidebar-backdrop.visible { display: block; opacity: 1; }
.dash-page-title {
  font-size: 1.15rem; margin: 0; flex: 1; min-width: 0; font-family: var(--display); font-weight: 700;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dash-topbar-right { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; }
.dash-user { display: flex; align-items: center; gap: 8px; }
.dash-user-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--dash-accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem;
}
.dash-user-name { font-weight: 600; font-size: 0.9rem; }

.dash-content { padding: 22px; max-width: 1240px; width: 100%; margin: 0 auto; }

/* Below 960px: sidebar stays a full-width, fully-labeled off-canvas drawer
   opened by the hamburger — the clearest pattern for touch/mobile nav.
   At 960px+ it collapses into a slim icon-only rail with hover tooltips,
   trading labels for desktop density once there's a pointer to hover with. */
@media (min-width: 960px) {
  .dash-menu-toggle { display: none; }

  .dash-sidebar {
    transform: translateX(0);
    width: var(--dash-sidebar-w-rail); flex: 0 0 var(--dash-sidebar-w-rail);
    align-items: center; padding: 20px 12px;
  }
  .dash-brand { padding: 6px 0 22px; justify-content: center; }
  .dash-nav, .dash-sidebar-footer { width: 100%; align-items: center; }
  .dash-nav-item { justify-content: center; padding: 12px; width: 100%; }
  .dash-nav-section-label { display: none; }

  /* Visually hide the labels on the icon rail without removing them from
     the accessibility tree — plain display:none did that, leaving
     keyboard/screen-reader users with unlabeled emoji-only links. */
  .dash-brand-text, .dash-nav-item span:last-child {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }

  .dash-main { margin-left: var(--dash-sidebar-w-rail); }
}

/* Icon-rail tooltips are positioned in JS (fixed, not absolute) because the
   sidebar needs overflow-y:auto to scroll long nav lists — and per the CSS
   overflow spec, setting only one axis to auto forces the other to auto too,
   which clips anything, including an absolutely-positioned tooltip, that
   tries to escape the rail's right edge. */
.dash-tooltip {
  display: none; position: fixed; z-index: 50; pointer-events: none;
  background: var(--green-dark); color: #fff; padding: 7px 12px; border-radius: 8px;
  font-size: 0.8rem; font-weight: 600; white-space: nowrap; box-shadow: 0 8px 20px -6px rgba(8,21,39,0.5);
}

/* --- Stat cards --- */
.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px;
  margin-bottom: 20px;
}
.stat-card {
  background: var(--dash-card); border: 1px solid var(--dash-border); border-radius: var(--dash-radius);
  box-shadow: var(--dash-shadow); padding: 20px;
}
.stat-card .stat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px; background: var(--dash-accent-soft); margin-bottom: 8px;
}
.stat-card .stat-label {
  color: var(--dash-muted); font-size: 0.76rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; margin: 0 0 8px;
}
.stat-card .stat-value { font-family: var(--mono-font); font-size: 1.7rem; font-weight: 600; color: var(--dash-text); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-card .stat-sub { color: var(--dash-muted); font-size: 0.82rem; margin-top: 7px; }
.stat-card.accent { background: var(--dash-accent); color: #fff; }
.stat-card.accent .stat-label, .stat-card.accent .stat-value, .stat-card.accent .stat-sub { color: #fff; }

/* --- Profile summary card --- */
.profile-summary-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.profile-avatar {
  width: 52px; height: 52px; border-radius: 50%; background: var(--dash-accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem;
  flex-shrink: 0; text-transform: uppercase;
}
.profile-summary-status { margin-left: auto; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* --- Achievement badges --- */
.badge-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px;
  margin-bottom: 4px;
}
.badge-tile {
  border-radius: var(--dash-radius); box-shadow: var(--dash-shadow); border: 1px solid var(--dash-border);
  padding: 20px; text-align: center; background: var(--dash-card);
}
.badge-tile.earned {
  background: linear-gradient(160deg, var(--dash-accent) 0%, var(--hero-navy-dark) 100%); color: #fff;
  border-color: transparent;
}
.badge-tile .badge-icon { font-size: 2.4rem; line-height: 1; filter: grayscale(1); opacity: 0.4; }
.badge-tile.earned .badge-icon { filter: none; opacity: 1; }
.badge-tile .badge-label { font-weight: 700; margin: 10px 0 4px; }
.badge-tile .badge-desc { font-size: 0.8rem; opacity: 0.85; margin: 0; }
.badge-tile .badge-detail { font-size: 0.78rem; margin: 6px 0 0; font-weight: 600; }

/* --- Dashboard-flavored cards (override plain .card look) --- */
.dash-content .card {
  border-radius: var(--dash-radius); box-shadow: var(--dash-shadow); border-color: var(--dash-border);
}

/* Highlight banner (next match, etc.) */
.dash-hero {
  background: linear-gradient(135deg, var(--dash-accent) 0%, var(--hero-navy-dark) 100%);
  color: #fff; border-radius: var(--dash-radius-lg); padding: 22px 24px; margin-bottom: 20px;
  box-shadow: var(--dash-shadow); position: relative; overflow: hidden;
}
.dash-hero::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,225,74,0.22), transparent 70%);
}
.dash-hero .muted { color: rgba(255,255,255,0.75); }
.dash-hero a.btn { background: var(--side-accent); color: var(--hero-navy-dark); }
.dash-hero a.btn:hover { background: #c8d13e; }

/* Section heading row with action button on the right */
.dash-section-head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin-bottom: 10px; flex-wrap: wrap;
}

/* Deadline urgency variants for .dash-hero */
.dash-hero.urgency-soon { background: linear-gradient(135deg, #b8860b 0%, #7a5a06 100%); }
.dash-hero.urgency-urgent { background: linear-gradient(135deg, #b3391b 0%, #7a2712 100%); }
.dash-hero.urgency-overdue { background: linear-gradient(135deg, #6c757d 0%, #495057 100%); }

.urgency-pill {
  display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 0.75rem; font-weight: 700;
}
.urgency-pill.ok { background: var(--dash-accent-soft); color: var(--dash-accent); }
.urgency-pill.soon { background: #fdf0d5; color: #8a5a10; }
.urgency-pill.urgent { background: #fbe3de; color: #8a2f14; }
.urgency-pill.overdue { background: #e9ecef; color: #495057; }

/* Recent-form chips (W/L) */
.form-chips { display: flex; gap: 4px; }
.form-chip {
  width: 22px; height: 22px; border-radius: 6px; display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800; color: #fff;
}
.form-chip.win { background: #2e9e5b; }
.form-chip.loss { background: #c1592c; }

/* --- Home page hero ------------------------------------------------------ */
:root {
  --hero-navy: #10233f;
  --hero-navy-dark: #081527;
  --hero-accent: #d9e14a;
}

.hero-section {
  position: relative;
  border-radius: var(--dash-radius-lg);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 32px;
  margin-bottom: 0;
  color: #fff;
  background: radial-gradient(circle at 15% 15%, rgba(217,225,74,0.16), transparent 45%),
              linear-gradient(135deg, var(--hero-navy) 0%, var(--hero-navy-dark) 100%);
  box-shadow: var(--dash-shadow);
}
.hero-section.has-image {
  background-size: cover;
  background-position: center;
}
.hero-section.has-image::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,21,39,0.35) 0%, rgba(8,21,39,0.88) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 640px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.14); backdrop-filter: blur(4px);
  color: #fff; padding: 5px 14px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; margin-bottom: 14px;
  font-family: var(--mono-font); text-transform: uppercase;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hero-accent); display: inline-block; }
.hero-title { font-family: var(--display); font-size: 2.1rem; font-weight: 800; margin: 0 0 10px; line-height: 1.12; color: #fff; }
.hero-desc { font-size: 1.02rem; color: rgba(255,255,255,0.82); margin: 0 0 20px; max-width: 520px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-cta .btn { background: var(--hero-accent); color: var(--hero-navy-dark); font-weight: 700; border: none; }
.hero-cta .btn:hover { background: #c8d13e; }
.hero-cta .btn-ghost {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5);
  padding: 10px 20px; border-radius: 999px; font-weight: 700; font-family: var(--display);
}
.hero-cta .btn-ghost:hover { background: rgba(255,255,255,0.1); text-decoration: none; }
.hero-subcta { margin: 14px 0 0; font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.hero-subcta a { color: var(--hero-accent); font-weight: 600; }
.hero-subcta a:hover { text-decoration: underline; }
.hero-logo {
  position: absolute; top: 28px; right: 28px; z-index: 1;
  height: 56px; width: 56px; object-fit: contain; background: #fff; border-radius: 14px; padding: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

@media (max-width: 620px) {
  .hero-section { min-height: 260px; padding: 26px 20px; }
  .hero-title { font-size: 1.5rem; }
  .hero-logo { height: 44px; width: 44px; top: 18px; right: 18px; padding: 6px; }
}

/* --- Live scoreboard mini card (pairs with the landing hero) -------------- */
.mini-card {
  background: var(--dash-card); border: 1px solid var(--dash-border); border-radius: var(--dash-radius-lg);
  box-shadow: var(--dash-shadow); padding: 22px; height: 100%; display: flex; flex-direction: column; gap: 14px;
}
.mini-card .mini-card-label {
  font-family: var(--mono-font); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.7rem;
  color: var(--dash-muted); font-weight: 600;
}
.mini-card-stat { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.mini-card-stat .ic {
  width: 34px; height: 34px; border-radius: 10px; background: var(--dash-accent-soft);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; flex: 0 0 auto;
}
.mini-card-stat .name { font-weight: 700; font-size: 0.92rem; flex: 1; }
.mini-card-stat .val { font-family: var(--mono-font); font-weight: 600; color: var(--dash-accent); }

/* --- Sponsor box ----------------------------------------------------------- */
.sponsor-box {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(90deg, var(--hero-navy) 0%, #1a3a63 100%);
  border-radius: var(--dash-radius-lg); padding: 18px 22px; margin-bottom: 0;
  box-shadow: var(--dash-shadow);
}
.sponsor-box .sponsor-logo-wrap {
  background: #fff; border-radius: 12px; padding: 8px 14px;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.sponsor-box .sponsor-logo-wrap img { height: 40px; width: auto; display: block; }
.sponsor-box .sponsor-logo-wrap-dark { background: var(--hero-navy-dark); }
.sponsor-box .sponsor-copy { color: #fff; flex: 1; min-width: 160px; }
.sponsor-box .sponsor-eyebrow { font-size: 0.72rem; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin: 0 0 2px; font-family: var(--mono-font); }
.sponsor-box .sponsor-name { font-weight: 700; font-size: 1.05rem; margin: 0; }
.sponsor-box a.btn { background: var(--hero-accent); color: var(--hero-navy-dark); font-weight: 700; }
.sponsor-box a.btn:hover { background: #c8d13e; }

.sponsor-box-carousel { flex-wrap: nowrap; align-items: center; }
.sponsor-carousel-viewport {
  overflow: hidden; flex: 1 1 auto; min-width: 0;
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.sponsor-carousel {
  display: flex; gap: 10px; width: max-content;
  animation: sponsor-carousel-scroll 28s linear infinite;
}
/* Pausing on hover/focus is what keeps this from being purely
   decorative — a visitor who actually wants to click a logo (or is
   tabbing through with a keyboard) gets a stationary target instead of
   chasing a moving one. */
.sponsor-carousel-viewport:hover .sponsor-carousel,
.sponsor-carousel:focus-within { animation-play-state: paused; }
.sponsor-carousel .sponsor-logo-wrap a { display: flex; align-items: center; }
.sponsor-carousel-name { font-weight: 700; color: var(--hero-navy-dark); white-space: nowrap; padding: 0 4px; }
.sponsor-logo-wrap-dark .sponsor-carousel-name { color: #fff; }

@keyframes sponsor-carousel-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .sponsor-carousel { animation: none; }
  .sponsor-carousel-viewport { overflow-x: auto; }
}

/* --- Landing page quick links ---------------------------------------------- */
.landing-links {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px; margin-bottom: 0;
}
.landing-link-card {
  display: flex; flex-direction: column; gap: 5px;
  background: var(--dash-card); border: 1px solid var(--dash-border); border-radius: var(--dash-radius);
  padding: 20px; box-shadow: var(--dash-shadow); color: var(--text); text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.landing-link-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(16,35,63,0.28); text-decoration: none; }
.landing-link-icon {
  font-size: 1.25rem; width: 40px; height: 40px; border-radius: 12px; background: var(--dash-accent-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.landing-link-title { font-family: var(--display); font-weight: 700; font-size: 1.02rem; }
.landing-link-desc { font-size: 0.85rem; }

/* --- Public page header (Classificacions / Normativa / Històric) ----------- */
.page-header {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(135deg, var(--hero-navy) 0%, var(--hero-navy-dark) 100%);
  border-radius: var(--dash-radius-lg); padding: 26px 28px; margin-bottom: 18px;
  color: #fff; box-shadow: var(--dash-shadow);
}
.page-header-icon {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px;
  background: rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.page-header h1 { color: #fff; margin: 0 0 2px; }
.page-header p { color: rgba(255,255,255,0.75); margin: 0; font-size: 0.92rem; }

@media (max-width: 560px) {
  .page-header { padding: 18px 18px; gap: 12px; }
  .page-header-icon { width: 42px; height: 42px; font-size: 1.3rem; }
}

/* --- Auth pages (login / signup): form + branded visual panel -------------- */
.auth-grid {
  display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: 24px;
  align-items: stretch; margin-top: 4px;
}
.auth-visual {
  position: relative; overflow: hidden; border-radius: var(--dash-radius-lg);
  background:
    radial-gradient(circle at 85% 15%, rgba(217,225,74,0.18), transparent 40%),
    radial-gradient(circle at 15% 85%, rgba(217,225,74,0.10), transparent 45%),
    linear-gradient(135deg, var(--hero-navy) 0%, var(--hero-navy-dark) 100%);
  background-size: 160% 160%, 160% 160%, 100% 100%;
  animation: auth-visual-drift 18s ease-in-out infinite;
  color: #fff; padding: 36px 34px; display: flex; flex-direction: column; justify-content: center;
  box-shadow: var(--dash-shadow); min-height: 420px;
}
@keyframes auth-visual-drift {
  0%   { background-position: 85% 15%, 15% 85%, 0 0; }
  50%  { background-position: 70% 30%, 30% 70%, 0 0; }
  100% { background-position: 85% 15%, 15% 85%, 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-visual { animation: none; }
}
.auth-visual-logo {
  width: 64px; height: 64px; border-radius: 16px; background: #fff; padding: 10px;
  object-fit: contain; margin-bottom: 22px; box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.auth-visual h2 { color: #fff; font-size: 1.4rem; margin: 0 0 10px; }
.auth-visual p.muted { color: rgba(255,255,255,0.72); margin: 0 0 22px; max-width: 380px; }
.auth-visual-tagline {
  color: var(--hero-accent); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.03em;
  text-transform: uppercase; margin: 0 0 10px; font-family: var(--mono-font);
}
.auth-hint {
  margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.14);
}
.auth-hint summary {
  cursor: pointer; font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.85);
  list-style: none;
}
.auth-hint summary::-webkit-details-marker { display: none; }
.auth-hint summary::before { content: "ℹ️ "; }
.auth-hint[open] summary { margin-bottom: 8px; }
.auth-hint p { color: rgba(255,255,255,0.68); font-size: 0.82rem; margin: 0; max-width: 380px; }
.auth-benefits { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.auth-benefits li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: rgba(255,255,255,0.9); }
.auth-benefits .icon {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
}
.auth-season-chip {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16); border-radius: 999px; padding: 7px 14px;
  font-size: 0.82rem; font-weight: 600; width: fit-content;
}
.auth-season-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hero-accent); }

@media (max-width: 860px) {
  .auth-grid { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
}

/* --- Dev-only quick login (DEV_LOGIN_ENABLED=1) ---------------------------- */
.dev-login-box {
  margin-top: 20px; padding: 14px; border-radius: var(--dash-radius);
  background: #fff8e1; border: 1px dashed #d9a441;
}
.dev-login-warning { margin: 0 0 10px; font-size: 0.8rem; color: #7a5300; }
.dev-login-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 6px 0; border-top: 1px solid rgba(0,0,0,0.06); font-size: 0.88rem;
}
.dev-login-row:first-of-type { border-top: none; }
