/* SotaramAFL — 2027 AFL Offseason Hub & Club List Profiles */
:root {
  --off-bg: #080e1b;
  --off-panel: #101a2b;
  --off-panel-2: #152238;
  --off-panel-3: #0b1424;
  --off-line: #273751;
  --off-line-strong: #3c5376;
  --off-text: #f3f6fb;
  --off-muted: #a9b9ce;
  --off-gold: #f9bd4f;
  --off-mint: #78ddba;
  --off-sky: #7cb6ff;
  --off-violet: #c59bff;
  --off-coral: #ff7a8a;
  --club-primary: #123462;
  --club-secondary: #7cb6ff;
  --club-accent: #7cb6ff;
  --display: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
}

/* Active nav state */
.main-nav a.is-active {
  color: var(--off-gold);
  position: relative;
}
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--off-gold);
  border-radius: 2px;
}

.off-main {
  padding-bottom: 64px;
  background:
    radial-gradient(ellipse 85% 420px at 85% 0%, color-mix(in srgb, var(--club-primary), transparent 62%), transparent 70%),
    radial-gradient(ellipse 60% 340px at 10% 10%, color-mix(in srgb, var(--club-accent), transparent 86%), transparent 70%),
    var(--off-bg);
}

.off-wrap {
  width: min(1224px, calc(100% - 48px));
  margin-inline: auto;
}

/* Breadcrumb */
.off-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0 14px;
  font-size: 12px;
  color: var(--off-muted);
}
.off-breadcrumb a {
  color: var(--off-gold);
  text-decoration: none;
  font-weight: 600;
}
.off-breadcrumb a:hover { text-decoration: underline; }
.off-breadcrumb span[aria-hidden="true"] { color: #566b8a; }

/* Hero */
.off-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--club-accent), var(--off-line) 55%);
  border-top: 4px solid var(--club-accent);
  border-radius: 18px;
  padding: 40px 42px 34px;
  background:
    radial-gradient(ellipse 65% 85% at 94% 12%, color-mix(in srgb, var(--club-secondary), transparent 68%), transparent 60%),
    linear-gradient(120deg, color-mix(in srgb, var(--club-primary), #0b1526 30%), #101b2e 58%, #09101d);
  box-shadow: 0 24px 60px #00000066, inset 0 1px 0 #ffffff1a;
}
.off-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(125deg, transparent 0 72px, #ffffff05 73px 75px, transparent 76px 140px);
}
.off-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48%;
  height: 3px;
  background: linear-gradient(90deg, var(--off-gold), var(--club-accent), transparent);
}
.off-hero-watermark {
  position: absolute;
  right: -12px;
  bottom: -44px;
  font-family: var(--display);
  font-size: clamp(180px, 22vw, 280px);
  font-weight: 900;
  font-style: italic;
  line-height: 0.9;
  color: #ffffff07;
  -webkit-text-stroke: 2px #ffffff12;
  transform: rotate(-7deg);
  pointer-events: none;
  user-select: none;
  z-index: -1;
}
.off-hero-logo {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%) rotate(-6deg);
  width: 240px;
  height: 240px;
  object-fit: contain;
  opacity: 0.19;
  filter: drop-shadow(0 10px 28px #0008);
  pointer-events: none;
  z-index: -1;
}
.off-hero-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.off-hero-crest {
  width: 64px;
  height: 64px;
  padding: 6px;
  border-radius: 12px;
  background: #081120cc;
  border: 1px solid color-mix(in srgb, var(--club-accent), transparent 55%);
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: 0 8px 20px #0006;
}
.off-hero .eyebrow {
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--off-gold);
}
.off-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  font-style: italic;
  max-width: 820px;
  color: #fff;
  text-shadow: 0 4px 16px #0006;
}
.off-hero h1 em {
  font-style: italic;
  color: var(--off-gold);
}
.off-hero-lead {
  margin-top: 16px;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.7;
  color: #d3e0f0;
}
.off-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.off-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid #486287;
  background: #091324cc;
  color: #cfe1f7;
}
.off-badge--gold {
  border-color: #d6a44499;
  color: #ffe399;
  background: linear-gradient(135deg, #4b3914b3, #171b2bcc);
}
.off-badge--mint {
  border-color: #50a88899;
  color: #aef2d7;
  background: #10322acc;
}
.off-badge--coral {
  border-color: #c8526399;
  color: #ffc2ca;
  background: #3d1822cc;
}
.off-badge--club {
  border-color: color-mix(in srgb, var(--club-accent), transparent 35%);
  color: #fff;
  background: color-mix(in srgb, var(--club-primary), #0a1322 45%);
}
.off-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* Club Sub-navigation Tree Bar */
.club-subnav {
  margin-top: 18px;
  padding: 12px 16px;
  border: 1px solid var(--off-line);
  border-radius: 12px;
  background: #0d1728e6;
  backdrop-filter: blur(10px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.club-subnav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.club-subnav-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #304462;
  background: #132037;
  color: #cddbf0;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.club-subnav-tabs a:hover {
  border-color: var(--club-accent);
  color: #fff;
  background: #1a2c4a;
}
.club-subnav-tabs a.is-current {
  background: linear-gradient(135deg, color-mix(in srgb, var(--club-accent), #1b2f4d 30%), color-mix(in srgb, var(--club-primary), #101c30 25%));
  border-color: var(--club-accent);
  color: #fff;
  box-shadow: 0 4px 14px #0005;
}
.club-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
}
.club-switcher label {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--off-muted);
  white-space: nowrap;
}
.club-switcher select {
  min-height: 38px;
  padding: 6px 28px 6px 12px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 7px;
  background: #091221;
  border: 1px solid #455c7e;
  color: #f3f6fb;
  width: auto;
  min-width: 195px;
}

/* Sections */
.off-section {
  margin-top: 42px;
}
.off-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 20px;
}
.off-section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  padding-left: 14px;
  border-left: 4px solid var(--club-accent);
  color: #fff;
}
.off-section-head p {
  max-width: 520px;
  font-size: 14px;
  color: var(--off-muted);
}

/* KPI Strip */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.kpi-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.kpi-card {
  position: relative;
  overflow: hidden;
  padding: 20px 20px 18px;
  border: 1px solid var(--off-line);
  border-top: 3px solid var(--kpi-accent, var(--club-accent));
  border-radius: 13px;
  background: linear-gradient(155deg, #16233a, #0c1424);
  box-shadow: 0 10px 24px #0004;
}
.kpi-card--gold { --kpi-accent: var(--off-gold); }
.kpi-card--mint { --kpi-accent: var(--off-mint); }
.kpi-card--sky { --kpi-accent: var(--off-sky); }
.kpi-card--coral { --kpi-accent: var(--off-coral); }
.kpi-card--violet { --kpi-accent: var(--off-violet); }
.kpi-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--off-muted);
}
.kpi-rank {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--kpi-accent, var(--club-accent)), transparent 82%);
  border: 1px solid color-mix(in srgb, var(--kpi-accent, var(--club-accent)), transparent 55%);
  color: #fff;
  white-space: nowrap;
}
.kpi-value {
  display: block;
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(2.1rem, 3.2vw, 2.85rem);
  font-weight: 900;
  line-height: 1;
  color: #fff;
}
.kpi-sub {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--off-muted);
  line-height: 1.45;
}

/* Spotlight Hub Navigation Grid (4 Pillar Cards) */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.pillar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 20px;
  border-radius: 14px;
  border: 1px solid var(--off-line);
  border-top: 3px solid var(--pillar-color, var(--off-gold));
  background: linear-gradient(155deg, #16243b, #0c1423);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--pillar-color, var(--off-gold));
  box-shadow: 0 16px 32px #0006;
}
.pillar-card--age { --pillar-color: var(--off-mint); }
.pillar-card--contract { --pillar-color: var(--off-coral); }
.pillar-card--height { --pillar-color: var(--off-sky); }
.pillar-card--exp { --pillar-color: var(--off-violet); }
.pillar-kicker {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pillar-color);
  margin-bottom: 10px;
}
.pillar-card h3 {
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.05;
}
.pillar-card p {
  font-size: 13px;
  color: var(--off-muted);
  margin-top: 10px;
  line-height: 1.55;
  flex: 1;
}
.pillar-stat {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #263650;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.pillar-stat strong {
  font-family: var(--display);
  font-size: 1.45rem;
  color: var(--pillar-color);
}
.pillar-stat span {
  font-size: 12px;
  font-weight: 700;
  color: #dbe8f8;
}

/* Visual Metric Distribution Cards (2-up grid) */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.metric-card {
  border: 1px solid var(--off-line);
  border-radius: 14px;
  padding: 24px;
  background: linear-gradient(155deg, #132036, #0b1322);
  box-shadow: 0 12px 26px #0004;
  display: flex;
  flex-direction: column;
}
.metric-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.metric-card-head h3 {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.05;
}
.metric-card-head p {
  font-size: 12px;
  color: var(--off-muted);
  margin-top: 4px;
}
.metric-card-link {
  font-size: 12px;
  font-weight: 750;
  color: var(--off-gold);
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #42536f;
  background: #142239;
}
.metric-card-link:hover {
  border-color: var(--off-gold);
  background: #1c2f4d;
}

/* Horizontal Distribution Bar Rows */
.dist-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.dist-row {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 8px 10px;
  margin: -4px -10px;
  border-radius: 8px;
  transition: background 0.14s;
}
.dist-row:hover {
  background: #1a2a4588;
}
.dist-row-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.dist-row-label {
  font-size: 13px;
  font-weight: 750;
  color: #e9f1fc;
}
.dist-row-vals {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--off-muted);
}
.dist-row-vals strong {
  font-family: var(--display);
  font-size: 1.25rem;
  color: #fff;
}
.delta-pill {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: #1f314c;
  color: #c7d7eb;
}
.delta-pill--up {
  background: #153e34;
  color: #8df0ca;
}
.delta-pill--down {
  background: #421d27;
  color: #ffadb8;
}
.dist-track {
  position: relative;
  height: 11px;
  border-radius: 6px;
  background: #0a1221;
  border: 1px solid #24354f;
  overflow: visible;
}
.dist-fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--bar-start, #3576d6), var(--bar-end, #7cb6ff));
  transition: width 0.35s ease;
}
.dist-avg {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 2px;
  background: var(--off-gold);
  box-shadow: 0 0 8px #f9bd4f88;
  pointer-events: none;
}
.dist-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #22324c;
  font-size: 11px;
  color: var(--off-muted);
}
.dist-legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
}
.dist-legend-tick {
  display: inline-block;
  width: 2px;
  height: 12px;
  background: var(--off-gold);
  margin-right: 6px;
  vertical-align: middle;
}

/* Stacked Proportional Bar */
.stacked-bar {
  display: flex;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
  background: #0a1221;
  border: 1px solid #253652;
  gap: 2px;
}
.stacked-bar--lg {
  height: 22px;
  border-radius: 8px;
}
.stacked-seg {
  height: 100%;
  min-width: 2px;
  transition: opacity 0.15s;
}
.stacked-seg:hover { opacity: 0.85; }
.seg-c1 { background: linear-gradient(90deg, #32a885, #78ddba); }
.seg-c2 { background: linear-gradient(90deg, #2d74d8, #7cb6ff); }
.seg-c3 { background: linear-gradient(90deg, #d99528, #f9bd4f); }
.seg-c4 { background: linear-gradient(90deg, #c94058, #ff7a8a); }
.seg-c5 { background: linear-gradient(90deg, #8354d6, #c59bff); }

/* 18-Club Card Grid */
.club-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.club-hub-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 14px;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--club-accent), #344764 58%);
  border-top: 3px solid var(--club-accent);
  background:
    radial-gradient(ellipse at 100% 0%, color-mix(in srgb, var(--club-secondary), transparent 76%), transparent 56%),
    linear-gradient(150deg, color-mix(in srgb, var(--club-primary), #152136 52%), #0c1424 72%);
  box-shadow: 0 12px 26px #0005;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.club-hub-card:hover {
  transform: translateY(-3px);
  border-color: var(--club-accent);
  box-shadow: 0 18px 34px #0007;
}
.club-hub-watermark {
  position: absolute;
  right: -10px;
  top: 44px;
  width: 132px;
  height: 132px;
  object-fit: contain;
  opacity: 0.17;
  transform: rotate(-7deg);
  pointer-events: none;
  z-index: -1;
}
.club-hub-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.club-hub-id {
  display: flex;
  align-items: center;
  gap: 11px;
}
.club-hub-id img {
  width: 38px;
  height: 38px;
  padding: 4px;
  border-radius: 8px;
  background: #081120cc;
  border: 1px solid #ffffff1a;
  object-fit: contain;
}
.club-hub-id h3 {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
}
.club-hub-id h3 a {
  color: #fff;
  text-decoration: none;
}
.club-hub-id h3 a:hover { color: var(--off-gold); }
.club-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 5px;
  background: #091324cc;
  border: 1px solid #486182;
  color: #dbe8f8;
  white-space: nowrap;
}
.club-mini-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 14px;
}
.club-mini-stat {
  padding: 8px 6px;
  border-radius: 7px;
  background: #081120aa;
  border: 1px solid #243652;
  text-align: center;
}
.club-mini-stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
}
.club-mini-stat span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: var(--off-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.club-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--off-muted);
  margin-bottom: 5px;
}
.club-sublinks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #ffffff1c;
}
.club-sublinks a {
  font-size: 11px;
  font-weight: 750;
  padding: 5px 9px;
  border-radius: 6px;
  background: #101c31;
  border: 1px solid #304564;
  color: #d6e4f7;
  text-decoration: none;
}
.club-sublinks a:hover {
  border-color: var(--club-accent);
  color: #fff;
  background: #192b48;
}
.club-sublinks a.club-sublink-main {
  background: color-mix(in srgb, var(--club-accent), #101b2e 78%);
  border-color: color-mix(in srgb, var(--club-accent), transparent 35%);
  color: #fff;
}

/* Tables (League Matrix & Squad Roster) */
.table-panel {
  border: 1px solid var(--off-line);
  border-radius: 14px;
  background: #0e1829;
  overflow: hidden;
  box-shadow: 0 14px 30px #0004;
}
.roster-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--off-line);
  background: #132037;
}
.roster-toolbar input[type="search"] {
  flex: 1 1 220px;
  min-height: 40px;
  padding: 8px 12px;
  font-size: 13px;
  background: #091120;
  border: 1px solid #3f5577;
  border-radius: 7px;
  color: #fff;
}
.roster-toolbar select {
  width: auto;
  min-width: 145px;
  min-height: 40px;
  padding: 6px 26px 6px 10px;
  font-size: 13px;
  background: #091120;
  border: 1px solid #3f5577;
  border-radius: 7px;
  color: #fff;
}
.roster-count {
  font-size: 12px;
  font-weight: 750;
  color: var(--off-mint);
  padding: 6px 10px;
  border-radius: 6px;
  background: #0e2c26;
  border: 1px solid #2b6e5a;
  margin-left: auto;
}
.off-table-scroll {
  overflow-x: auto;
  max-width: 100%;
}
.off-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 0;
}
.off-table th,
.off-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #213048;
  white-space: nowrap;
}
.off-table thead th {
  background: #14223a;
  color: #cfe0f6;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: sticky;
  top: 0;
}
.off-table tbody tr:hover {
  background: #162640;
}
.off-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.off-table .club-cell {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 750;
  color: #fff;
  text-decoration: none;
}
.off-table .club-cell:hover { color: var(--off-gold); }
.off-table .club-cell img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.sort-btn {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
}
.sort-btn:hover { color: var(--off-gold); }
.sort-btn[aria-sort="asc"]::after { content: "▲"; font-size: 9px; color: var(--off-gold); }
.sort-btn[aria-sort="desc"]::after { content: "▼"; font-size: 9px; color: var(--off-gold); }

/* Micro badges in tables & player cards */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #1b2c47;
  color: #d3e2f5;
  border: 1px solid #354c6f;
}
.tag--b23 { background: #143b31; border-color: #3b8d72; color: #9cf0cf; }
.tag--ufa { background: #461b26; border-color: #b44a60; color: #ffbbc6; }
.tag--rfa { background: #463514; border-color: #b88c34; color: #ffe097; }
.tag--aa { background: #423310; border-color: #d9a73b; color: #ffe495; }
.tag--in { background: #193458; border-color: #4f8de0; color: #b7d9ff; }
.tag--out { background: #36202a; border-color: #844559; color: #f2b7c7; }
.tag--fs { background: #2d1f4b; border-color: #7c58c8; color: #dbc8ff; }

/* Player Cohort Groups (on dedicated subpages) */
.cohort-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cohort-section {
  border: 1px solid var(--off-line);
  border-left: 4px solid var(--cohort-accent, var(--club-accent));
  border-radius: 14px;
  padding: 22px 24px;
  background: linear-gradient(155deg, #132035, #0b1322);
  scroll-margin-top: 150px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cohort-section.is-highlighted {
  border-color: var(--off-gold);
  box-shadow: 0 0 0 2px #f9bd4f55, 0 16px 36px #0006;
}
.cohort-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #22334d;
}
.cohort-head h3 {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
}
.cohort-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--off-muted);
}
.cohort-meta strong { color: var(--off-gold); }
.player-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.player-card {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #263855;
  background: #0b1526;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.player-card--b23 {
  border-color: #2f6959;
  background: linear-gradient(145deg, #0e2227, #0b1526);
}
.player-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.player-name {
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  line-height: 1.25;
}
.player-num {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--off-gold);
  line-height: 1;
}
.player-stats-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--off-muted);
}
.player-stats-line strong { color: #e8f1fc; }
.player-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

/* Turnover & Playing Style 2-col Panels */
.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.info-panel {
  border: 1px solid var(--off-line);
  border-radius: 14px;
  padding: 24px;
  background: linear-gradient(155deg, #132036, #0c1423);
}
.info-panel h3 {
  font-family: var(--display);
  font-size: 1.65rem;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.move-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.move-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #0a1323;
  border: 1px solid #22334c;
  font-size: 13px;
}
.move-list strong { color: #fff; }
.move-list span.muted { font-size: 12px; color: var(--off-muted); }

/* CTA Banner */
.off-cta-band {
  margin-top: 44px;
  padding: 32px 34px;
  border-radius: 16px;
  border: 1px solid #48638c;
  border-top: 3px solid var(--off-gold);
  background:
    radial-gradient(ellipse at 95% 15%, #f9bd4f22, transparent 58%),
    linear-gradient(125deg, #152b4c, #101b2e 55%, #0c1424);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.off-cta-band h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-transform: uppercase;
  color: #fff;
  line-height: 1.05;
}
.off-cta-band p {
  margin-top: 8px;
  max-width: 620px;
  font-size: 14px;
  color: #c7d6ea;
}
.off-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Homepage Embedded 2027 Club Explorer */
.offseason-home-band {
  background:
    radial-gradient(ellipse at 12% 10%, #1c3a6344, transparent 55%),
    radial-gradient(ellipse at 88% 90%, #123c3644, transparent 55%),
    #0a1222;
}
.home-club-explorer {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
  align-items: stretch;
}
.home-club-preview {
  --club-primary: #001e3c;
  --club-secondary: #6fa3d6;
  --club-accent: #6fa3d6;
  border: 1px solid color-mix(in srgb, var(--club-accent), #304564 50%);
  border-left: 4px solid var(--club-accent);
  border-radius: 14px;
  padding: 28px;
  background:
    radial-gradient(ellipse at 0 0, color-mix(in srgb, var(--club-primary), transparent 28%), transparent 80%),
    #101a2b;
  display: flex;
  flex-direction: column;
}
.home-club-preview-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0 18px;
}
.home-club-preview-head img {
  width: 54px;
  height: 54px;
  padding: 5px;
  border-radius: 10px;
  background: #081120;
  border: 1px solid #ffffff1c;
  object-fit: contain;
}
.home-club-preview-head strong {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  color: #fff;
}
.home-club-preview-head span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: var(--off-muted);
}
.home-club-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.home-club-metric {
  padding: 12px 14px;
  border-radius: 9px;
  background: #091221cc;
  border: 1px solid #243550;
}
.home-club-metric strong {
  display: block;
  font-family: var(--display);
  font-size: 1.75rem;
  color: #fff;
  line-height: 1.05;
}
.home-club-metric span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--off-muted);
}
.home-club-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #253652;
}
.home-club-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border-radius: 7px;
  border: 1px solid #314665;
  background: #132037;
  font-size: 12px;
  font-weight: 750;
  color: #e4eefb;
  text-decoration: none;
}
.home-club-links a:hover {
  border-color: var(--off-gold);
  color: var(--off-gold);
}
.home-pillars-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* Note / Methodology box */
.off-note {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 10px;
  border: 1px solid #2a3c59;
  border-left: 3px solid var(--off-gold);
  background: #0c1526;
  font-size: 12px;
  line-height: 1.65;
  color: var(--off-muted);
}
.off-note a { color: var(--off-gold); }

/* List Analyzer Jersey Visuals */
.off-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}
.hero-jersey-rack {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
}
.hero-jersey-rack .la-jersey {
  width: 78px;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.55));
  transition: transform 0.2s ease;
}
.hero-jersey-rack .la-jersey + .la-jersey {
  margin-left: -20px;
}
.hero-jersey-rack .la-jersey:nth-child(1) { transform: rotate(-9deg) translateY(8px); }
.hero-jersey-rack .la-jersey:nth-child(2) { transform: rotate(-4deg) translateY(2px); z-index: 2; }
.hero-jersey-rack .la-jersey:nth-child(3) { transform: scale(1.12); z-index: 4; }
.hero-jersey-rack .la-jersey:nth-child(4) { transform: rotate(4deg) translateY(2px); z-index: 2; }
.hero-jersey-rack .la-jersey:nth-child(5) { transform: rotate(9deg) translateY(8px); }
.hero-jersey-rack .la-jersey:hover {
  transform: translateY(-6px) scale(1.14);
  z-index: 6;
}
.hero-club-jersey {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 22px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--club-accent), transparent 76%), #081120c8 75%);
  border: 1px solid color-mix(in srgb, var(--club-accent), #394e6f 52%);
  box-shadow: 0 16px 36px #00000055, inset 0 1px 0 #ffffff1a;
}
.hero-club-jersey .la-jersey {
  width: 112px;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.55));
}
.hero-club-jersey-caption {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cfe0f6;
}
.club-hub-jersey {
  flex-shrink: 0;
  width: 44px;
  height: auto;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.45));
  transition: transform 0.18s ease;
}
.club-hub-card:hover .club-hub-jersey {
  transform: translateY(-2px) scale(1.06);
}
.player-card-body {
  display: flex;
  align-items: center;
  gap: 13px;
}
.player-card-jersey {
  flex-shrink: 0;
  width: 48px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.45));
}
.player-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.move-list-player {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.move-list-jersey {
  flex-shrink: 0;
  width: 28px;
  height: auto;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.45));
}
.home-club-jersey-slot {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.home-club-jersey-slot .la-jersey {
  width: 60px;
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.5));
}
.landing-jersey-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
  min-height: 240px;
  background: radial-gradient(ellipse at 50% 45%, #1d3557, #0b1424 75%);
  border-radius: 12px 12px 0 0;
}
.landing-jersey-showcase .la-jersey {
  width: 72px;
  height: auto;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.55));
}
.landing-jersey-showcase .la-jersey + .la-jersey {
  margin-left: -14px;
}
.landing-jersey-showcase .la-jersey:nth-child(odd) { transform: translateY(6px) rotate(-4deg); }
.landing-jersey-showcase .la-jersey:nth-child(even) { transform: translateY(-4px) rotate(3deg); }

/* Instant 18-Club Logo Launch Dock (Right at the top of the homepage hero!) */
.club-dock {
  margin: 0 0 20px;
  padding: 14px 16px 15px;
  border-radius: 14px;
  border: 1px solid #3c567b;
  border-top: 3px solid var(--off-gold);
  background:
    radial-gradient(ellipse at 50% 0%, #f9bd4f18, transparent 65%),
    linear-gradient(125deg, #122139ee, #0a1324f2);
  box-shadow: 0 16px 38px #00000066, inset 0 1px 0 #ffffff14;
}
.club-dock-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 12px;
}
.club-dock-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
}
.club-dock-title strong {
  color: var(--off-gold);
}
.club-dock-title span.muted {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 12px;
  color: #b7c8dd;
}
.club-dock-modes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.dock-mode-btn {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #354c6e;
  background: #0d182b;
  color: #c5d6eb;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  transition: background 0.14s, border-color 0.14s, color 0.14s;
}
.dock-mode-btn:hover {
  border-color: var(--off-gold);
  color: #fff;
}
.dock-mode-btn.is-active {
  background: var(--off-gold);
  border-color: var(--off-gold);
  color: #0b1220;
}
.club-dock-grid {
  display: grid;
  grid-template-columns: repeat(19, minmax(0, 1fr));
  gap: 5px;
}
.club-dock-item--tas {
  position: relative;
  border-color: #f4d61188;
  background: linear-gradient(160deg, #064b46, #012523 72%);
  box-shadow: inset 0 1px 0 #f4d61144, 0 0 14px #013b3780;
}
.club-dock-item--tas span {
  color: #f4d611;
}
.club-dock-item--tas::after {
  content: "2028";
  position: absolute;
  top: -7px;
  right: -3px;
  padding: 1px 4px;
  border-radius: 4px;
  background: #d1193e;
  border: 1px solid #f4d611cc;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.15;
}
.club-dock-item--tas:hover,
.club-dock-item--tas:focus-visible {
  border-color: #f4d611;
  background: linear-gradient(160deg, #096860, #013b37);
  box-shadow: 0 10px 22px #00000080, 0 0 18px #f4d61166;
}
.club-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 3px 6px;
  border-radius: 9px;
  border: 1px solid #283a56;
  background: linear-gradient(160deg, color-mix(in srgb, var(--club-primary), #111d33 68%), #091221);
  text-decoration: none;
  color: #d6e3f5;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.club-dock-item img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.55));
  transition: transform 0.15s ease;
}
.club-dock-item span {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #c7d6ea;
}
.club-dock-item:hover,
.club-dock-item:focus-visible {
  transform: translateY(-4px) scale(1.06);
  border-color: var(--club-accent, var(--off-gold));
  background: linear-gradient(160deg, color-mix(in srgb, var(--club-primary), #1a2d4c 30%), #0d192e);
  box-shadow: 0 10px 22px #00000080, 0 0 16px color-mix(in srgb, var(--club-accent, #f9bd4f), transparent 55%);
  z-index: 2;
}
.club-dock-item:hover img {
  transform: scale(1.08);
}
.club-dock-item:hover span {
  color: #fff;
}
@media (max-width: 1120px) {
  .club-dock-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .club-dock { padding: 12px; }
  .club-dock-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
  .club-dock-item img { width: 30px; height: 30px; }
}

/* Homepage Split-Screen Hero (2027 Offseason + Mock Draft Simulator) */
.hero--split {
  padding-top: 26px;
}
.hero--split > .container {
  position: relative;
  z-index: 1;
}
/* Swap angled hero backdrops: AFL field lineup on the left, draft board behind simulator on the right */
.hero--split::before {
  background-image: url('/images/home/field-lineup-backdrop.svg?v=20261128-oval');
  left: clamp(-175px, calc(50% - 1010px), -24px);
  top: -12px;
  width: 470px;
  height: 820px;
  opacity: 0.44;
  filter: saturate(0.95);
  transform: perspective(950px) rotateY(15deg) rotate(-11deg);
  mask-image: linear-gradient(to right, #000 54%, transparent 100%), linear-gradient(to bottom, #000 62%, transparent 96%);
  mask-composite: intersect;
}
.hero--split::after {
  background-image: url('/images/home/draft-board-backdrop.webp');
  right: clamp(-150px, calc(50% - 940px), -14px);
  width: 340px;
  height: 820px;
  opacity: 0.3;
  filter: saturate(0.85);
  transform: perspective(900px) rotateY(-15deg) rotate(11deg);
  mask-image: linear-gradient(to left, #000 52%, transparent 100%), linear-gradient(to bottom, #000 50%, transparent 92%);
  mask-composite: intersect;
}
@media (max-width: 1440px) {
  .hero--split::before { opacity: 0.32; width: 410px; }
  .hero--split::after { opacity: 0.2; }
}
@media (max-width: 1050px) {
  .hero--split::before { opacity: 0.2; width: 310px; }
  .hero--split::after { opacity: 0.14; width: 260px; }
}
@media (max-width: 760px) {
  .hero--split::before { width: 240px; height: 490px; opacity: 0.15; top: 8px; left: -78px; }
  .hero--split::after { width: 190px; height: 470px; opacity: 0.11; top: 10px; right: -78px; }
}
.hero-split-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  padding-bottom: 22px;
}
.hero-split-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.hero-split-head h1 {
  font-size: clamp(2.55rem, 4.4vw, 3.85rem);
  line-height: 0.98;
  margin: 0;
}
.hero-split-head p {
  max-width: 430px;
  font-size: 14px;
  line-height: 1.6;
  color: #bfd0e4;
  margin: 0;
}
.hero-split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 26px;
}
.split-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #3c5272;
  background: #0d1728;
  box-shadow: 0 18px 46px #00000066;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.split-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px #00000080;
}
.split-card--offseason {
  border-top: 3px solid #78ddba;
}
.split-card--offseason:hover {
  border-color: #78ddba;
}
.split-card--draft {
  border-top: 3px solid #f9bd4f;
}
.split-card--draft:hover {
  border-color: #f9bd4f;
}
.split-card-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(100deg, #182942, #101a2c);
  border-bottom: 1px solid #2d405c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #bed0e6;
}
.split-card-bar > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #f1f6fd;
}
.split-dot--mint { background: #78ddba; box-shadow: 0 0 9px #78ddba88; }
.split-dot--gold { background: #f9bd4f; box-shadow: 0 0 9px #f9bd4f88; }
.split-card-stage {
  position: relative;
  display: block;
  overflow: hidden;
  background: #09101c;
  aspect-ratio: 16 / 9.2;
}
.split-card-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.25s ease;
}
.split-card:hover .split-card-stage img {
  transform: scale(1.025);
}
.split-card-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(8, 14, 27, 0.88) 100%);
  pointer-events: none;
}
.split-jersey-strip {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  pointer-events: none;
}
.split-jersey-strip .la-jersey {
  width: 56px;
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.72));
}
.split-jersey-strip .la-jersey + .la-jersey {
  margin-left: -12px;
}
.split-jersey-strip .la-jersey:nth-child(1) { transform: rotate(-6deg); }
.split-jersey-strip .la-jersey:nth-child(3) { transform: translateY(-3px) scale(1.06); z-index: 3; }
.split-jersey-strip .la-jersey:nth-child(5) { transform: rotate(6deg); }
.split-card-foot {
  padding: 18px 20px 20px;
  background: linear-gradient(120deg, #14233a, #0e1829);
  border-top: 1px solid #2b3e5a;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.split-card-foot h2 {
  font-family: var(--display);
  font-size: 1.85rem;
  line-height: 1.04;
  color: #fff;
  margin: 0;
}
.split-card-foot p {
  margin: 5px 0 0;
  font-size: 13px;
  color: #b7c8dd;
  line-height: 1.5;
}
.split-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}
.split-card-actions .button {
  min-height: 42px;
  padding: 9px 15px;
  font-size: 13px;
  gap: 10px;
}
.button-mint {
  background: #78ddba;
  color: #081814;
}
.button-mint:hover {
  background: #9ef0d2;
  color: #081814;
}

/* =========================================================================
   UPGRADES 1–4: Best 23 Oval, Depth Charts, Head-to-Head Compare,
   Free Agency Board, Movement Tracker & 2027 Draft Needs Bridge
   ========================================================================= */

/* Upgrade 1: Best 23 Field & Positional Depth */
.field-stage-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 24px;
  align-items: start;
}
.field-card {
  border: 1px solid var(--off-line);
  border-radius: 16px;
  padding: 20px;
  background: radial-gradient(ellipse at 50% 45%, #12362244, #0a1220 75%);
  box-shadow: 0 18px 40px #0006;
}
.club-oval-svg {
  width: 100%;
  max-width: 580px;
  height: auto;
  margin-inline: auto;
  display: block;
}
.bench-tray {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #091221;
  border: 1px solid #263855;
}
.bench-tray-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cfe0f5;
}
.bench-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.bench-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 10px 6px;
  border-radius: 9px;
  background: #101c31;
  border: 1px solid #2a3e5e;
}
.bench-card--exp27 {
  border-color: #c8526399;
}
.bench-card strong {
  display: block;
  font-size: 11px;
  color: #fff;
  line-height: 1.2;
}
.bench-card span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: var(--off-muted);
}
.depth-line-card {
  border: 1px solid var(--off-line);
  border-left: 4px solid var(--line-accent, var(--club-accent));
  border-radius: 14px;
  padding: 22px 24px;
  background: linear-gradient(155deg, #132036, #0b1322);
}
.depth-line-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid #243550;
}
.depth-line-head h3 {
  font-family: var(--display);
  font-size: 1.85rem;
  text-transform: uppercase;
  color: #fff;
}
.depth-sublabel {
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--off-mint);
  margin: 14px 0 10px;
}
.depth-sublabel--cover {
  color: var(--off-muted);
  margin-top: 20px;
}

/* Upgrade 2: Head-to-Head Club Comparison */
.compare-selector-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: end;
  padding: 22px 24px;
  border-radius: 14px;
  border: 1px solid var(--off-line);
  background: linear-gradient(120deg, #13223a, #0c1424);
  margin-top: 24px;
}
.compare-vs-pill {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1b2d4a;
  border: 2px solid var(--off-gold);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--off-gold);
}
.compare-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.preset-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #384e70;
  background: #122037;
  color: #d6e4f7;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.preset-chip:hover {
  border-color: var(--off-gold);
  color: var(--off-gold);
  background: #1a2c4a;
}
.compare-banner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.compare-club-banner {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  padding: 22px 24px;
  border: 1px solid color-mix(in srgb, var(--club-accent), #364b6a 50%);
  border-top: 4px solid var(--club-accent);
  background:
    radial-gradient(ellipse at 100% 0%, color-mix(in srgb, var(--club-secondary), transparent 72%), transparent 56%),
    linear-gradient(145deg, color-mix(in srgb, var(--club-primary), #142238 48%), #0b1322 72%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.compare-club-id {
  display: flex;
  align-items: center;
  gap: 14px;
}
.compare-club-id img {
  width: 52px;
  height: 52px;
  padding: 5px;
  border-radius: 10px;
  background: #081120cc;
  object-fit: contain;
}
.compare-club-id h2 {
  font-family: var(--display);
  font-size: 2.1rem;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  border: 0;
  padding: 0;
  margin: 0;
}
.tug-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tug-row {
  padding: 12px 14px;
  border-radius: 10px;
  background: #0a1323;
  border: 1px solid #22334d;
}
.tug-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.tug-val-a {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 900;
  color: #fff;
}
.tug-val-b {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 900;
  color: #fff;
  text-align: right;
}
.tug-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--off-muted);
  text-align: center;
}
.tug-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.tug-track-left,
.tug-track-right {
  height: 10px;
  border-radius: 5px;
  background: #132138;
  overflow: hidden;
  display: flex;
}
.tug-track-left { justify-content: flex-end; }
.tug-fill-a { height: 100%; border-radius: 5px; background: var(--cmp-a, #7cb6ff); }
.tug-fill-b { height: 100%; border-radius: 5px; background: var(--cmp-b, #f9bd4f); }
.tug-win { color: var(--off-mint) !important; }

/* Upgrade 3: Free Agents & Trade Tracker */
.move-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.move-card {
  border-radius: 12px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--club-accent), #2e415e 62%);
  border-left: 4px solid var(--club-accent);
  background: linear-gradient(150deg, color-mix(in srgb, var(--club-primary), #142238 66%), #0b1424);
  display: flex;
  align-items: center;
  gap: 14px;
}
.move-card-body {
  flex: 1;
  min-width: 0;
}
.move-card-body h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.05;
  color: #fff;
}
.move-route {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 800;
  color: var(--off-gold);
}

/* Upgrade 4: 2027 Draft Hub Club Needs Cards */
.needs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.needs-card {
  border-radius: 14px;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--club-accent), #304462 58%);
  border-top: 3px solid var(--club-accent);
  background: linear-gradient(155deg, color-mix(in srgb, var(--club-primary), #142238 60%), #0b1423);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.needs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.need-pill {
  padding: 4px 9px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
  background: #3d1d28;
  border: 1px solid #b44a60;
  color: #ffc2cc;
}
.need-pill--watch {
  background: #3e3015;
  border-color: #bd8f36;
  color: #ffe29a;
}
.need-pill--ok {
  background: #13392f;
  border-color: #3d9174;
  color: #9ff0d0;
}

/* Global Club-Themed Player Contributor Hover Popover */
.has-tip {
  cursor: help;
  position: relative;
}
.has-tip:hover {
  outline: 1px solid color-mix(in srgb, var(--club-accent, #f9bd4f), transparent 45%);
  outline-offset: 2px;
  border-radius: 6px;
}
.kpi-card.has-tip:hover,
.home-club-metric.has-tip:hover,
.club-mini-stat.has-tip:hover,
.dist-row.has-tip:hover,
.tug-side.has-tip:hover,
.need-pill.has-tip:hover {
  outline-offset: 0;
}
.player-popover {
  position: fixed;
  z-index: 9999;
  width: min(360px, calc(100vw - 24px));
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px) scale(0.98);
  transition: opacity 0.14s ease, transform 0.14s ease;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--tip-accent, #f9bd4f), #41597a 42%);
  border-top: 3px solid var(--tip-accent, #f9bd4f);
  background:
    radial-gradient(ellipse at 100% 0%, color-mix(in srgb, var(--tip-primary, #142848), transparent 45%), transparent 65%),
    #0a1324f7;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px #000000aa, 0 0 0 1px #ffffff10 inset;
  padding: 13px 15px 14px;
  color: #f3f6fb;
}
.player-popover.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.player-popover-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 9px;
  margin-bottom: 9px;
  border-bottom: 1px solid #263954;
}
.player-popover-head img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  padding: 2px;
  border-radius: 6px;
  background: #07101f;
  border: 1px solid #ffffff1a;
  flex-shrink: 0;
}
.player-popover-title {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  color: #fff;
}
.player-popover-sub {
  font-size: 11px;
  color: var(--tip-accent, #f9bd4f);
  font-weight: 700;
  margin-top: 2px;
}
.player-popover-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.player-popover-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  background: #132138;
  border: 1px solid #2f4566;
  color: #e8f1fc;
  line-height: 1.25;
}
.player-popover-chip b {
  color: var(--tip-accent, #f9bd4f);
  font-family: var(--display);
  font-size: 13px;
}
.player-popover-chip small {
  color: #9bb0ca;
  font-size: 10.5px;
  font-weight: 600;
}
.player-popover-more {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  background: color-mix(in srgb, var(--tip-accent, #f9bd4f), transparent 82%);
  border: 1px solid color-mix(in srgb, var(--tip-accent, #f9bd4f), transparent 55%);
  color: #fff;
}

/* Enhanced Club-Coloured & Logo Indicators in Head-to-Head Compare */
.compare-legend-strip {
  position: sticky;
  top: 136px;
  z-index: 15;
  margin-top: 18px;
  padding: 11px 18px;
  border-radius: 12px;
  border: 1px solid #354d6f;
  background: #0a1426ee;
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 26px #00000055;
}
.cmp-legend-club {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cmp-legend-club--right {
  justify-content: flex-end;
  text-align: right;
}
.cmp-legend-club img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  padding: 2px;
  border-radius: 6px;
  background: #07101f;
  border: 1px solid color-mix(in srgb, var(--club-accent), transparent 40%);
}
.cmp-legend-swatch {
  width: 12px;
  height: 28px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--club-accent), var(--club-primary));
  border: 1px solid #ffffff30;
  flex-shrink: 0;
}
.cmp-legend-club strong {
  font-family: var(--display);
  font-size: 1.35rem;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}
.cmp-legend-club span {
  display: block;
  font-size: 11px;
  color: var(--off-muted);
}
.cmp-legend-vs {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--off-gold);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #594a24;
  background: #1b1a23;
}
.tug-row {
  padding: 12px 14px;
  border-radius: 11px;
  background: #0a1323;
  border: 1px solid #22334d;
  transition: border-color 0.15s;
}
.tug-row:hover {
  border-color: #3c567a;
}
.tug-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
}
.tug-side {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.15s;
}
.tug-side--a { justify-self: start; }
.tug-side--b { justify-self: end; flex-direction: row-reverse; }
.tug-side--win {
  background: color-mix(in srgb, var(--side-accent, #78ddba), transparent 84%);
  border: 1px solid color-mix(in srgb, var(--side-accent, #78ddba), transparent 45%);
}
.tug-side img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}
.tug-val-a,
.tug-val-b {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.tug-win-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--side-accent, #78ddba);
  box-shadow: 0 0 8px var(--side-accent, #78ddba);
}
.tug-track-left,
.tug-track-right {
  height: 12px;
  border-radius: 6px;
  background: #121f35;
  overflow: hidden;
  display: flex;
  border: 1px solid #22344f;
}
.tug-fill-a {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(270deg, var(--cmp-a-accent, #7cb6ff), var(--cmp-a-primary, #1c4c8c));
  box-shadow: 0 0 12px color-mix(in srgb, var(--cmp-a-accent, #7cb6ff), transparent 65%);
}
.tug-fill-b {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--cmp-b-accent, #f9bd4f), var(--cmp-b-primary, #7a4b12));
  box-shadow: 0 0 12px color-mix(in srgb, var(--cmp-b-accent, #f9bd4f), transparent 65%);
}
.tug-hint {
  font-size: 11px;
  color: var(--off-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 760px) {
  .compare-legend-strip { top: 108px; padding: 9px 12px; gap: 8px; }
  .cmp-legend-club strong { font-size: 1.05rem; }
  .cmp-legend-club span { display: none; }
}

/* Quick Jump Auto-Dropdown Bar (2027 Offseason Hub & League Sub-hubs) */
.hub-quick-jump {
  margin-top: 20px;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid #3c567a;
  border-left: 4px solid var(--off-gold);
  background: linear-gradient(120deg, #14243d, #0c1526);
  box-shadow: 0 14px 32px #00000055;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 1fr;
  gap: 14px;
  align-items: end;
}
.hub-quick-jump label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--off-gold);
}
.hub-quick-jump select {
  width: 100%;
  min-height: 44px;
  padding: 9px 28px 9px 12px;
  border-radius: 8px;
  background: #081120;
  border: 1px solid #4d688f;
  color: #f4f7fc;
  font-size: 14px;
  font-weight: 700;
}
.hub-quick-jump select:hover,
.hub-quick-jump select:focus-visible {
  border-color: var(--off-gold);
}
.home-explorer-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: end;
}
.home-explorer-controls label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cfe0f6;
}
.home-explorer-controls select {
  min-height: 44px;
  font-size: 13px;
  font-weight: 700;
}
@media (max-width: 900px) {
  .hub-quick-jump { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 620px) {
  .home-explorer-controls { grid-template-columns: 1fr; }
}

/* Responsive additions for Upgrades 1-4 */
@media (max-width: 1080px) {
  .field-stage-grid { grid-template-columns: 1fr; }
  .move-showcase-grid, .needs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .bench-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-selector-bar { grid-template-columns: 1fr; }
  .compare-vs-pill { justify-self: center; }
  .compare-banner-grid, .move-showcase-grid, .needs-grid { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-split-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-split-head p { max-width: 640px; }
  .off-hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-jersey-rack, .hero-club-jersey { justify-self: start; }
  .kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpi-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .club-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-club-explorer { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .hero-split-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 760px) {
  .hero--split { padding-top: 18px; }
  .hero-split-head h1 { font-size: clamp(2.4rem, 9vw, 3.2rem); }
  .split-card-foot { padding: 15px 16px 16px; }
  .split-jersey-strip .la-jersey { width: 46px; }
  .off-wrap { width: calc(100% - 32px); }
  .off-hero { padding: 26px 22px 24px; border-radius: 14px; }
  .off-hero-logo { width: 160px; height: 160px; right: -10px; opacity: 0.13; }
  .off-hero-crest { width: 50px; height: 50px; }
  .hero-jersey-rack .la-jersey { width: 58px; }
  .hero-club-jersey .la-jersey { width: 84px; }
  .kpi-grid, .kpi-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .metric-grid, .split-grid, .club-hub-grid, .pillar-grid, .player-grid, .home-pillars-stack { grid-template-columns: 1fr; }
  .club-subnav { padding: 12px; }
  .club-switcher { width: 100%; }
  .club-switcher select { flex: 1; width: 100%; }
  .off-cta-band { padding: 24px 20px; }
  .home-club-links { grid-template-columns: 1fr; }
  .landing-jersey-showcase .la-jersey { width: 54px; }
}
@media (max-width: 420px) {
  .kpi-grid, .kpi-grid--4 { grid-template-columns: 1fr; }
  .club-mini-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ================================================================
   TASMANIA DEVILS EXPANSION HUB (Myrtle Green · Gold · Rose Red)
   ================================================================ */
.tas-theme {
  --tas-green: #013B37;
  --tas-green-mid: #085c55;
  --tas-gold: #F4D611;
  --tas-red: #D1193E;
  --club-primary: #013B37;
  --club-secondary: #D1193E;
  --club-accent: #F4D611;
}
.tas-hero {
  border-top: 4px solid #F4D611;
  border-color: #1a665e;
  background:
    radial-gradient(ellipse at 85% 12%, #D1193E38, transparent 52%),
    radial-gradient(ellipse at 14% 0%, #0d7a7055, transparent 58%),
    linear-gradient(135deg, #042c29 0%, #091523 56%, #07101c 100%);
}
.tas-hero::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #F4D611 0%, #D1193E 52%, #0d7a70 100%);
  pointer-events: none;
}
.tas-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.tas-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #2b7a72;
  background: #032c29cc;
  color: #F4D611;
}
.tas-pill--red {
  border-color: #d1193eaa;
  background: #3b0d18cc;
  color: #ff9ab0;
}
.tas-pill--mint {
  border-color: #3ca384aa;
  background: #0d322acc;
  color: #8af0cf;
}
.tas-subnav {
  border-color: #1c5f58;
  background: linear-gradient(120deg, #062524f2, #0b1424f2);
}
.tas-subnav .club-subnav-tabs a.is-current {
  background: linear-gradient(135deg, #0b5a53, #04322f);
  border-color: #F4D611;
  color: #F4D611;
}
.tas-subnav .club-subnav-tabs a:hover {
  border-color: #F4D611aa;
  color: #fff;
}

/* Horizontal Road-to-2028 Milestone Strip */
.tas-roadmap {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.tas-milestone {
  position: relative;
  padding: 16px 16px 15px;
  border-radius: 12px;
  border: 1px solid #1e4b49;
  border-top: 3px solid #2e756e;
  background: linear-gradient(160deg, #092324, #0a1423);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tas-milestone--done {
  border-top-color: #78ddba;
}
.tas-milestone--active {
  border-color: #f4d61188;
  border-top-color: #F4D611;
  background: linear-gradient(160deg, #0c3532, #0b1626);
  box-shadow: 0 12px 28px #00000055;
}
.tas-milestone--launch {
  border-top-color: #D1193E;
  background: linear-gradient(160deg, #271022, #0b1526);
}
.tas-milestone-date {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 900;
  color: #F4D611;
  letter-spacing: 0.03em;
  line-height: 1;
}
.tas-milestone-status {
  align-self: flex-start;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #143633;
  color: #9bf2d6;
  border: 1px solid #2b7b6e;
}
.tas-milestone--active .tas-milestone-status {
  background: #423508;
  color: #F4D611;
  border-color: #F4D611aa;
}
.tas-milestone--launch .tas-milestone-status {
  background: #4a1020;
  color: #ff9cb0;
  border-color: #D1193Eaa;
}
.tas-milestone h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.08;
  margin-top: 2px;
}
.tas-milestone p {
  font-size: 12px;
  line-height: 1.5;
  color: #bdd0e4;
}

/* Stadium Vertical Timeline & Facility Spec Cards */
.tas-timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  padding-left: 26px;
}
.tas-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #78ddba 0%, #F4D611 45%, #D1193E 100%);
}
.tas-tl-item {
  position: relative;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid #24474e;
  background: linear-gradient(145deg, #0b2226, #0b1424);
}
.tas-tl-item::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 22px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #F4D611;
  border: 3px solid #08121f;
  box-shadow: 0 0 0 2px #F4D61166;
}
.tas-tl-item--done::before { background: #78ddba; box-shadow: 0 0 0 2px #78ddba66; }
.tas-tl-item--red::before { background: #D1193E; box-shadow: 0 0 0 2px #D1193E66; }
.tas-tl-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.tas-tl-head h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
}
.tas-tl-item p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #c5d6e9;
}

/* Front Office & Coaching Leadership Grid */
.tas-leader-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.tas-leader-card {
  padding: 20px 20px 18px;
  border-radius: 14px;
  border: 1px solid #23474e;
  border-top: 3px solid #F4D611;
  background: linear-gradient(155deg, #092627, #0b1424 68%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tas-leader-card--coach { border-top-color: #D1193E; }
.tas-leader-card--list { border-top-color: #78ddba; }
.tas-leader-card--open {
  border-style: dashed;
  border-color: #f4d61188;
  background: linear-gradient(155deg, #1b2217, #0b1424 72%);
}
.tas-leader-role {
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #F4D611;
}
.tas-leader-card--coach .tas-leader-role { color: #ff8ea5; }
.tas-leader-card--list .tas-leader-role { color: #78ddba; }
.tas-leader-card h3 {
  font-family: var(--display);
  font-size: 1.65rem;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.05;
}
.tas-leader-meta {
  font-size: 12px;
  font-weight: 700;
  color: #9ed4cb;
}
.tas-leader-card p {
  font-size: 13px;
  line-height: 1.55;
  color: #c3d4e8;
}

/* 2027 Draft Mega-Hand Pick Strip & Concession Rule Cards */
.tas-picks-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 22px;
}
.tas-pick-chip {
  padding: 14px 10px;
  border-radius: 11px;
  text-align: center;
  border: 1px solid #2d7a6f;
  background: linear-gradient(160deg, #083d38, #081826);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.tas-pick-chip strong {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 0.95;
  color: #F4D611;
}
.tas-pick-chip span {
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9bf2d6;
}
.tas-pick-chip--trade {
  border-color: #D1193Ecc;
  background: linear-gradient(160deg, #3c1020, #0c1424);
}
.tas-pick-chip--trade strong { color: #fff; }
.tas-pick-chip--trade span { color: #ff9ab0; }

/* Rumour vs Confirmed Editorial Callouts */
.tas-rumour-banner {
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid #b88c34;
  border-left: 4px solid #F4D611;
  background: linear-gradient(125deg, #2b2310, #0d1525);
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 1.6;
  color: #e6d9b8;
}
.tas-rumour-banner strong { color: #F4D611; }
.tas-rumour-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.tas-rumour-card {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid #3c4f6f;
  border-top: 3px solid var(--club-accent, #F4D611);
  background: linear-gradient(155deg, color-mix(in srgb, var(--club-primary, #13223a), #0b1424 72%), #091221);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tas-rumour-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.tas-rumour-who {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.tas-rumour-who strong {
  display: block;
  font-size: 15px;
  color: #fff;
}
.tas-rumour-who span {
  display: block;
  font-size: 11.5px;
  color: #b7c8de;
}
.tas-rumour-note {
  font-size: 12.5px;
  line-height: 1.55;
  color: #cbd9ec;
}

/* 18-Club "1-Per-Club" Raid Matrix */
.tas-raid-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.tas-raid-card {
  padding: 14px 16px;
  border-radius: 11px;
  border: 1px solid #2b405f;
  border-left: 3px solid var(--club-accent, #F4D611);
  background: linear-gradient(145deg, color-mix(in srgb, var(--club-primary, #13223a), #0b1424 76%), #0a1220);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tas-raid-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.tas-raid-club {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  text-decoration: none;
}
.tas-raid-club:hover { color: #F4D611; }
.tas-raid-lead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 7px;
  background: #081120cc;
  border: 1px solid #22344e;
  font-size: 12.5px;
}
.tas-raid-lead strong { color: #fff; }
.tas-raid-lead span { color: #9fd8ce; font-size: 11px; font-weight: 700; }

/* Homepage Tasmania Spotlight Banner */
.tas-home-callout {
  margin-top: 22px;
  padding: 20px 24px;
  border-radius: 14px;
  border: 1px solid #1d6b62;
  border-left: 4px solid #F4D611;
  background:
    radial-gradient(ellipse at 92% 20%, #D1193E30, transparent 52%),
    linear-gradient(125deg, #053531, #0a1727 62%, #081220);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 14px 36px #00000055;
}
.tas-home-callout-main {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 420px;
}
.tas-home-callout-main img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55));
}
.tas-home-callout h3 {
  font-family: var(--display);
  font-size: 1.75rem;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.02;
  margin-top: 3px;
}
.tas-home-callout p {
  font-size: 13px;
  color: #c2d7e2;
  margin-top: 4px;
  max-width: 580px;
}
.tas-home-callout-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

@media (max-width: 1080px) {
  .tas-roadmap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tas-leader-grid, .tas-rumour-grid, .tas-raid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tas-picks-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .tas-roadmap, .tas-leader-grid, .tas-rumour-grid, .tas-raid-grid { grid-template-columns: 1fr; }
  .tas-picks-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tas-home-callout { padding: 16px 18px; }
}

/* ================================================================
   NON-INTRUSIVE, ZERO-CLS ADSENSE SLOTS & SEO FAQ ACCORDIONS
   ================================================================ */
.off-ad-slot {
  margin: 28px 0;
  padding: 12px 16px 14px;
  border-radius: 12px;
  border: 1px solid #1f314d;
  background: linear-gradient(180deg, #0b1424, #09101d);
  text-align: center;
  min-height: 122px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.off-ad-label {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b809f;
}
.off-ad-inner {
  width: 100%;
  min-height: 90px;
}
.off-ad-slot ins.adsbygoogle {
  display: block;
  width: 100%;
}

/* SEO People-First FAQ Section */
.off-faq-section {
  margin-top: 38px;
  padding: 28px 30px;
  border-radius: 14px;
  border: 1px solid var(--off-line);
  background: linear-gradient(155deg, #111d32, #0a1221);
}
.off-faq-head {
  margin-bottom: 18px;
}
.off-faq-head h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  text-transform: uppercase;
  color: #fff;
  line-height: 1.06;
}
.off-faq-head p {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--off-muted);
}
.off-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.off-faq-item {
  border: 1px solid #243755;
  border-radius: 10px;
  background: #0a1323;
  overflow: hidden;
  transition: border-color 0.16s ease;
}
.off-faq-item[open] {
  border-color: color-mix(in srgb, var(--club-accent, #f9bd4f), #3a5275 45%);
}
.off-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 18px;
  font-size: 14.5px;
  font-weight: 750;
  color: #f3f7fc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.off-faq-item summary::-webkit-details-marker {
  display: none;
}
.off-faq-item summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--club-accent, var(--off-gold));
  line-height: 1;
  flex-shrink: 0;
}
.off-faq-item[open] summary::after {
  content: "−";
}
.off-faq-item summary:hover {
  color: var(--club-accent, var(--off-gold));
}
.off-faq-body {
  padding: 0 18px 16px;
  font-size: 13.5px;
  line-height: 1.65;
  color: #c2d3e8;
  border-top: 1px solid #1b2b44;
  padding-top: 12px;
}
.off-faq-body a {
  color: var(--off-gold);
  font-weight: 650;
}

/* Internal SEO Related Cluster Strip */
.off-related-strip {
  margin-top: 26px;
  padding: 18px 22px;
  border-radius: 12px;
  border: 1px solid #233552;
  background: #0b1424;
}
.off-related-strip h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #c9d9ee;
  margin-bottom: 11px;
}
.off-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.off-related-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 7px;
  border: 1px solid #2e4363;
  background: #122036;
  color: #dce8f8;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.14s, color 0.14s, transform 0.14s;
}
.off-related-links a:hover {
  border-color: var(--club-accent, var(--off-gold));
  color: var(--club-accent, var(--off-gold));
  transform: translateY(-1px);
}
@media (max-width: 720px) {
  .off-ad-slot { margin: 22px 0; padding: 10px 10px 12px; min-height: 110px; }
  .off-faq-section { padding: 20px 18px; }
  .off-faq-item summary { padding: 13px 14px; font-size: 13.5px; }
  .off-faq-body { padding: 10px 14px 14px; font-size: 13px; }
}

/* ================================================================
   MACQUARIE POINT STADIUM TIME-LAPSE ANIMATION & GANTT CHART
   ================================================================ */
.st-studio-card {
  border-radius: 16px;
  border: 1px solid #1d645c;
  border-top: 3px solid #F4D611;
  background: linear-gradient(160deg, #062123 0%, #0a1424 58%, #07101c 100%);
  box-shadow: 0 22px 54px #00000066;
  overflow: hidden;
}
.st-stage-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 0;
  border-bottom: 1px solid #1f3d44;
}
.st-svg-wrap {
  position: relative;
  background: #071324;
  border-right: 1px solid #1f3d44;
  min-height: 320px;
}
.stadium-anim-svg {
  width: 100%;
  height: auto;
  display: block;
}
.st-hud-panel {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(170deg, #082728cc, #0a1424);
}
.st-hud-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #1e3b42;
}
.st-hud-label {
  display: block;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #78ddba;
}
.st-hud-date {
  display: block;
  font-family: var(--display);
  font-size: 2.35rem;
  font-weight: 900;
  color: #F4D611;
  line-height: 0.98;
  margin-top: 4px;
}
.st-hud-pct-box {
  text-align: right;
}
.st-hud-pct {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.st-hud-sub {
  font-size: 11px;
  color: #9bb8c9;
}
.st-controls-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.st-ctrl-btn {
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid #2b6e65;
  background: #0d2b2b;
  color: #eaf7f5;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.14s, border-color 0.14s, transform 0.14s;
}
.st-ctrl-btn:hover {
  border-color: #F4D611;
  color: #fff;
  transform: translateY(-1px);
}
.st-ctrl-btn--primary {
  background: #F4D611;
  border-color: #F4D611;
  color: #071918;
  flex: 1 1 170px;
}
.st-ctrl-btn--primary:hover {
  background: #ffe347;
  color: #051413;
}
.st-scrubber-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.st-scrubber-box label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 750;
  color: #b5cbe0;
}
.st-scrubber-box input[type="range"] {
  width: 100%;
  accent-color: #F4D611;
  cursor: pointer;
  height: 8px;
}
.st-active-box {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: auto;
}
.st-active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.st-active-chip {
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid #355470;
  background: #081523;
  font-size: 11.5px;
  font-weight: 750;
  color: #d6e7f7;
}

/* Task Detail Drawer inside Studio Card */
.st-task-detail {
  padding: 18px 24px;
  background: linear-gradient(120deg, #0b1b2e, #091322);
  border-bottom: 1px solid #1f334f;
}
.st-detail-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.st-detail-phase {
  display: block;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.st-task-detail h4 {
  font-family: var(--display);
  font-size: 1.55rem;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.08;
  margin: 2px 0 0;
}
.st-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.st-detail-desc {
  font-size: 13.5px;
  line-height: 1.58;
  color: #c7d8ec;
}
.st-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #1d2f49;
  font-size: 12px;
  color: #9cb4cf;
}
.st-detail-meta strong {
  color: #F4D611;
}

/* Gantt Toolbar & Chart Body */
.st-gantt-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: #0c1728;
  border-bottom: 1px solid #1f324d;
}
.st-phase-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.st-legend-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  color: #a9bfd8;
}
.st-legend-inline span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.st-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.st-dot--confirmed {
  background: #78ddba;
  box-shadow: 0 0 8px #78ddba88;
}
.st-dot--est {
  background: #F4D611;
}
.st-gantt-scroll {
  overflow-x: auto;
  padding: 0 0 10px;
}
.st-gantt-board {
  min-width: 780px;
  position: relative;
}
.st-gantt-header {
  display: grid;
  grid-template-columns: 270px 1fr;
  border-bottom: 1px solid #263a58;
  background: #101e34;
}
.st-gantt-h-label {
  padding: 11px 18px;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cfe0f5;
  border-right: 1px solid #223552;
}
.st-gantt-years {
  display: grid;
  /* Proportional to months in 2026(6), 2027(12), 2028(12), 2029(12), 2030(12), 2031(3) = 57 */
  grid-template-columns: 6fr 12fr 12fr 12fr 12fr 3fr;
  position: relative;
}
.st-gantt-years span {
  padding: 11px 6px;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  color: #e8f2fc;
  text-align: center;
  border-left: 1px solid #223552;
}
.st-gantt-years span:first-child {
  border-left: none;
}
.st-gantt-years span.is-launch-yr {
  color: #F4D611;
  background: #2f2309;
}
.st-gantt-body {
  position: relative;
}
.st-playhead-wrap {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 270px;
  right: 0;
  pointer-events: none;
  z-index: 4;
}
.st-playhead-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #F4D611;
  box-shadow: 0 0 10px #F4D611cc;
  transform: translateX(-1px);
}
.st-gantt-row {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  display: grid;
  grid-template-columns: 270px 1fr;
  border-bottom: 1px solid #1a2a42;
  cursor: pointer;
  transition: background 0.12s ease;
}
.st-gantt-row:hover {
  background: #12233b;
}
.st-gantt-row.is-active-now {
  background: #0d262b;
}
.st-gantt-row.is-selected {
  background: #132d3b;
  box-shadow: inset 3px 0 0 #F4D611;
}
.st-gantt-label {
  padding: 10px 14px 10px 16px;
  border-right: 1px solid #223552;
  display: grid;
  grid-template-columns: 12px 1fr;
  column-gap: 8px;
  row-gap: 2px;
  align-items: center;
}
.st-gantt-name {
  font-size: 12.5px;
  font-weight: 750;
  color: #edf4fc;
  line-height: 1.25;
}
.st-gantt-dates {
  grid-column: 2;
  font-size: 10.5px;
  color: #8fa6c4;
}
.st-gantt-track {
  position: relative;
  display: block;
  min-height: 44px;
  background-image: linear-gradient(90deg, #1a2b43 1px, transparent 1px);
  background-size: calc(100% / 9.5) 100%;
}
.st-today-pin {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: #78ddba66;
  border-left: 1px dashed #78ddba99;
}
.st-gantt-bar {
  position: absolute;
  top: 50%;
  height: 18px;
  transform: translateY(-50%);
  border-radius: 999px;
  box-shadow: 0 3px 10px #00000066;
  transition: transform 0.14s ease, filter 0.14s ease;
}
.st-gantt-row:hover .st-gantt-bar,
.st-gantt-row.is-selected .st-gantt-bar {
  transform: translateY(-50%) scaleY(1.18);
  filter: brightness(1.12);
}
.st-gantt-diamond {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translate(-4px, -50%) rotate(45deg);
  border-radius: 3px;
  border: 2px solid #fff;
  box-shadow: 0 0 14px #F4D611aa;
}

/* Global Benchmark Cards */
.st-bench-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.st-bench-card {
  padding: 18px 18px 16px;
  border-radius: 12px;
  border: 1px solid #243b57;
  border-top: 3px solid #78ddba;
  background: linear-gradient(155deg, #0d1f34, #091220);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.st-bench-card--twin {
  border-top-color: #F4D611;
  background: linear-gradient(155deg, #0a2a2c, #0a1423);
}
.st-bench-loc {
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #78ddba;
}
.st-bench-card--twin .st-bench-loc {
  color: #F4D611;
}
.st-bench-card h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.05;
}
.st-bench-stat {
  font-size: 12px;
  font-weight: 800;
  color: #d9ebfa;
}
.st-bench-card p {
  font-size: 12px;
  line-height: 1.5;
  color: #a9bfd8;
}

@media (max-width: 1080px) {
  .st-stage-grid { grid-template-columns: 1fr; }
  .st-svg-wrap { border-right: none; border-bottom: 1px solid #1f3d44; }
  .st-bench-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .st-hud-panel, .st-task-detail, .st-gantt-toolbar { padding: 15px 16px; }
  .st-bench-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   BEST 23 SELECTION METHODOLOGY & RATIONALE PANEL
   ================================================================ */
.b23-method-panel {
  margin-top: 24px;
  padding: 26px 28px;
  border-radius: 16px;
  border: 1px solid #2b4263;
  border-top: 3px solid var(--club-accent, #f9bd4f);
  background:
    radial-gradient(ellipse at 92% 10%, color-mix(in srgb, var(--club-accent, #f9bd4f), transparent 86%), transparent 54%),
    linear-gradient(155deg, #112038, #0a1323 70%);
}
.b23-method-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #223654;
}
.b23-method-head h3 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  text-transform: uppercase;
  color: #fff;
  line-height: 1.05;
}
.b23-health-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #3ca384aa;
  background: #0d322acc;
  color: #9bf2d6;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.b23-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.b23-method-card {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid #243857;
  background: #091222cc;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.b23-method-num {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--club-accent, #f9bd4f);
}
.b23-method-card h4 {
  font-family: var(--display);
  font-size: 1.3rem;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
  margin: 0;
}
.b23-method-card p {
  font-size: 13px;
  line-height: 1.58;
  color: #c2d4ea;
}
.b23-method-card strong {
  color: #f3f7fc;
}
.b23-method-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #1e314d;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: #9fb5cf;
}
.b23-method-foot a {
  color: var(--off-gold);
  font-weight: 750;
}
@media (max-width: 780px) {
  .b23-method-panel { padding: 20px 18px; }
  .b23-method-grid { grid-template-columns: 1fr; }
}


/* =========================================================================
   TASMANIA DEVILS 7-FEATURE SUITE (Countdowns, Fixture, Identity/AFLW,
   Bring-Them-Home Tassie Board, GC/GWS Comparison, 2028 Team Builder & Trades)
   ========================================================================= */

/* 1. Live Road-to-2028 Countdown Clocks */
.tas-cd-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.tas-cd-card {
  border: 1px solid #244643;
  border-top: 3px solid #7cb6ff;
  border-radius: 14px;
  padding: 16px 16px 14px;
  background: linear-gradient(155deg, #0b2424, #091522);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tas-cd-card--gold { border-top-color: #F4D611; }
.tas-cd-card--launch {
  border-top-color: #D1193E;
  background: linear-gradient(155deg, #1b1724, #0a1b1d);
}
.tas-cd-card--mint { border-top-color: #78ddba; }
.tas-cd-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93b7b5;
}
.tas-cd-card h3 {
  font-family: var(--display);
  font-size: 1.32rem;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  line-height: 1.08;
}
.tas-cd-digits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 2px;
}
.tas-cd-digits > span {
  background: rgba(5, 13, 21, 0.78);
  border: 1px solid #1f3c3c;
  border-radius: 9px;
  padding: 8px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tas-cd-digits strong {
  font-family: var(--display);
  font-size: 1.48rem;
  font-weight: 900;
  color: #F4D611;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tas-cd-digits small {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #88a5bd;
}
.tas-cd-date {
  font-size: 11.5px;
  color: #9bb8c8;
  font-weight: 600;
}

/* 2. 19-Team Fixture & Blueprint Takeaway Grid */
.tas-fx-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.tas-fx-card {
  border: 1px solid #243b55;
  border-radius: 14px;
  padding: 20px 22px;
  background: linear-gradient(155deg, #102033, #0b1523);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.tas-fx-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #F4D611;
}
.tas-fx-card h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  line-height: 1.1;
}
.tas-fx-card p {
  font-size: 13.5px;
  line-height: 1.58;
  color: #c2d4ea;
  margin: 0;
}
.tas-fx-card strong { color: #f4f8fd; }

/* 3. Identity Vault (216k Founding Members) & AFLW/VFLW Card */
.tas-vault-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}
.tas-vault-jerseys {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.tas-swatch-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.tas-swatch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #233c4a;
  background: #09131f;
}
.tas-swatch i {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.22);
  flex-shrink: 0;
}
.tas-swatch strong {
  display: block;
  font-size: 12.5px;
  color: #fff;
  line-height: 1.2;
}
.tas-swatch span {
  display: block;
  font-size: 11px;
  color: #93afc9;
}

/* 4. Bring Them Home — Tasmanian-Born AFL Players Board */
.tas-tassie-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.tas-tassie-card {
  border: 1px solid #263d58;
  border-left: 3px solid var(--club-accent, #F4D611);
  border-radius: 13px;
  padding: 15px 16px;
  background: linear-gradient(155deg, #101e33, #0a1322);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.tas-tassie-card.is-raid27 {
  border-color: #2f6c5d;
  border-left-color: #78ddba;
  background: linear-gradient(155deg, #0d2526, #0a1522);
}
.tas-tassie-card.is-home {
  border-color: #2c6252;
  border-left-color: #F4D611;
  background: linear-gradient(155deg, #082927, #091620);
}
.tas-tassie-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.tas-tassie-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
  color: #9cb6d0;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(6, 13, 24, 0.72);
  border: 1px solid #1d314a;
}
.tas-tassie-meta strong { color: #F4D611; }

/* 5. Comparison Table Accent */
.tas-cmp-table td:nth-child(2) {
  background: rgba(1, 59, 55, 0.24);
  border-left: 1px solid rgba(244, 214, 17, 0.2);
  border-right: 1px solid rgba(244, 214, 17, 0.2);
}

/* 6. Interactive 2028 Devils Team Builder */
.tas-builder-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.tas-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tas-copy-btn {
  border-color: rgba(244, 214, 17, 0.55) !important;
  color: #F4D611 !important;
  background: rgba(244, 214, 17, 0.1) !important;
}
.tas-copy-btn:hover {
  background: rgba(244, 214, 17, 0.2) !important;
}
.tas-bonus-meter {
  border: 1px solid #244745;
  border-radius: 14px;
  padding: 16px 18px;
  background: linear-gradient(155deg, #0b2425, #0a1423);
  margin-bottom: 18px;
}
.tas-bonus-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 13.5px;
  color: #eef5fc;
  margin-bottom: 10px;
}
.tas-bonus-readout {
  font-family: var(--display);
  font-size: 1.48rem;
  color: #F4D611;
  letter-spacing: 0.02em;
}
.tas-bonus-track {
  height: 12px;
  border-radius: 999px;
  background: #07101c;
  border: 1px solid #213a4d;
  overflow: hidden;
  margin-bottom: 8px;
}
.tas-bonus-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2ca984, #78ddba);
  transition: width 0.2s ease, background 0.2s ease;
}
.tas-bonus-fill.is-near {
  background: linear-gradient(90deg, #e0a71b, #F4D611);
}
.tas-bonus-fill.is-over {
  background: linear-gradient(90deg, #c92246, #ff6d89);
}
.tas-bonus-status {
  font-size: 12.5px;
  font-weight: 600;
}

.tas-builder-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.18fr);
  gap: 20px;
  align-items: start;
}
.tas-oval-panel {
  position: sticky;
  top: 84px;
}
.tas-live-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.tas-live-stats > div {
  background: #081321;
  border: 1px solid #22394f;
  border-radius: 10px;
  padding: 9px 8px;
  text-align: center;
}
.tas-live-stats span {
  display: block;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8ba6c1;
}
.tas-live-stats strong {
  display: block;
  margin-top: 3px;
  font-family: var(--display);
  font-size: 1.15rem;
  color: #F4D611;
  line-height: 1.1;
}
.tas-builder-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tas-layer-toggles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.tas-layer-toggles label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 9px;
  border: 1px solid #22394f;
  background: #091321;
  font-size: 12px;
  color: #c7d9ec;
  cursor: pointer;
}
.tas-layer-toggles input {
  margin-top: 2px;
  accent-color: #78ddba;
}
.tas-raid-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.tas-pick-club {
  border: 1px solid #233852;
  border-left: 3px solid var(--club-accent, #58789e);
  border-radius: 10px;
  padding: 10px 11px;
  background: #0a1424;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.tas-pick-club.is-picked {
  border-color: #36806c;
  border-left-color: #78ddba;
  background: linear-gradient(155deg, #0d2526, #0a1524);
}
.tas-pick-club-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #fff;
}
.tas-pick-count {
  margin-left: auto;
  font-size: 11px;
  color: #8ba6c1;
  font-weight: 700;
}
.tas-pick-sel {
  width: 100%;
  padding: 7px 9px;
  border-radius: 7px;
  border: 1px solid #2a4361;
  background: #07101c;
  color: #eef5fc;
  font-size: 12px;
  font-family: inherit;
}
.tas-pick-bonus {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
  border-top: 1px dashed #244745;
}
.tas-pick-bonus label {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: #9ec0be;
}
.tas-pick-bonus strong { color: #F4D611; }
.tas-pick-bonus input[type="range"] {
  width: 100%;
  accent-color: #F4D611;
}

/* 7. Mandatory Pick Trade Planner */
.tas-dvi-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.tas-dvi-pill {
  border: 1px solid #274454;
  border-radius: 12px;
  padding: 12px 14px;
  background: #0a1625;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tas-dvi-pill--total {
  border-color: rgba(244, 214, 17, 0.55);
  background: linear-gradient(155deg, #1b281e, #0c1724);
}
.tas-dvi-pill span {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ab3cc;
}
.tas-dvi-pill strong {
  font-family: var(--display);
  font-size: 1.55rem;
  color: #F4D611;
  line-height: 1.05;
}
.tas-dvi-pill small {
  font-size: 11px;
  color: #78ddba;
  font-weight: 600;
}
.tas-trade-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.tas-trade-card {
  border: 1px solid #28415a;
  border-top: 3px solid #F4D611;
  border-radius: 13px;
  padding: 14px;
  background: linear-gradient(155deg, #102033, #0b1523);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tas-trade-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tas-dvi-pts {
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 800;
  color: #78ddba;
}
.tas-trade-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: #9db6cf;
}
.tas-trade-field select,
.tas-trade-field input {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #2a4361;
  background: #07101c;
  color: #eef5fc;
  font-size: 12.5px;
  font-family: inherit;
}
.tas-trade-meta {
  font-size: 11.5px;
  color: #8ba6c1;
}

@media (max-width: 1120px) {
  .tas-cd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tas-builder-stage { grid-template-columns: 1fr; }
  .tas-oval-panel { position: static; }
  .tas-trade-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tas-dvi-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tas-tassie-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .tas-cd-grid,
  .tas-fx-grid,
  .tas-swatch-row,
  .tas-tassie-grid,
  .tas-raid-picker-grid,
  .tas-layer-toggles,
  .tas-trade-grid { grid-template-columns: 1fr; }
  .tas-live-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tas-dvi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar-grid[style*="repeat(4"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 520px) {
  .pillar-grid[style*="repeat(4"] { grid-template-columns: 1fr !important; }
}


/* =========================================================================
   2027 INTERACTIVE OFFSEASON STUDIOS + BRANDED PNG SHARE MODAL
   ========================================================================= */
.studio-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.studio-sort-group,
.studio-share-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.studio-png-btn {
  padding: 10px 18px !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 22px rgba(249, 189, 79, 0.22);
}

/* Ladder Predictor */
.lad-summary-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #28415f;
  background: linear-gradient(155deg, #102036, #0a1424);
  font-size: 13px;
  color: #b9cee6;
  margin-bottom: 14px;
}
.lad-summary-bar strong { color: #f9bd4f; }
.lad-board {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.lad-row {
  display: grid;
  grid-template-columns: 22px 38px minmax(180px, 1.3fr) minmax(240px, 1fr) 78px;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #243955;
  background: linear-gradient(155deg, #101e33, #0b1423);
  cursor: grab;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.lad-row:active { cursor: grabbing; }
.lad-row.is-top4 { border-color: rgba(249, 189, 79, 0.45); background: linear-gradient(155deg, #1b2231, #0c1524); }
.lad-row.is-finals { border-color: rgba(120, 221, 186, 0.38); background: linear-gradient(155deg, #0e242a, #0b1524); }
.lad-row.is-bot4 { border-color: rgba(255, 122, 138, 0.3); }
.lad-row.is-dragging { opacity: 0.45; }
.lad-row.is-over { border-color: #f9bd4f; transform: translateY(-2px); }
.lad-drag-handle {
  color: #6b86a8;
  font-weight: 900;
  font-size: 14px;
  user-select: none;
  text-align: center;
}
.lad-rank {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 900;
  background: #1a2d4a;
  color: #fff;
  flex-shrink: 0;
}
.lad-row.is-top4 .lad-rank,
.pos-rank-card.is-elite .lad-rank { background: #f9bd4f; color: #08111f; }
.lad-row.is-finals .lad-rank { background: #2ca984; color: #fff; }
.lad-row.is-bot4 .lad-rank { background: #963448; color: #fff; }
.lad-club {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.lad-club strong { display: block; color: #fff; font-size: 15px; line-height: 1.2; }
.lad-club small { display: block; color: #8da7c4; font-size: 11.5px; }
.lad-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  text-align: center;
}
.lad-metrics strong { display: block; font-size: 13.5px; color: #eaf2fb; line-height: 1.15; }
.lad-metrics small { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: #809bb8; }
.lad-arrows {
  display: flex;
  gap: 5px;
  justify-content: flex-end;
}
.lad-move-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #2b4464;
  background: #0a1526;
  color: #e2eefb;
  font-weight: 800;
  cursor: pointer;
}
.lad-move-btn:hover:not(:disabled) { border-color: #f9bd4f; color: #f9bd4f; }
.lad-move-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.lad-cutline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lad-cutline::before,
.lad-cutline::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.35; }
.lad-cutline--top4 { color: #f9bd4f; }
.lad-cutline--finals { color: #78ddba; }
.lad-cutline--bot4 { color: #ff8ea5; }

/* Trade Machine */
.tm-verdict-box {
  border: 1px solid #284361;
  border-left: 4px solid #f9bd4f;
  border-radius: 14px;
  padding: 16px 20px;
  background: linear-gradient(155deg, #112138, #0b1424);
  margin-bottom: 18px;
}
.tm-verdict-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.tm-verdict-head strong { font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; color: #fff; }
.tm-verdict-box p { font-size: 14px; color: #d1e2f4; margin: 0 0 12px; }
.tm-verdict-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.tm-verdict-stats > div {
  padding: 9px 12px;
  border-radius: 9px;
  background: #081221;
  border: 1px solid #203450;
}
.tm-verdict-stats span { display: block; font-size: 10.5px; text-transform: uppercase; color: #8da6c2; font-weight: 700; }
.tm-verdict-stats strong { display: block; margin-top: 2px; font-family: var(--display); font-size: 1.25rem; color: #f9bd4f; }
.tm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.tm-side-panel { padding: 18px !important; display: flex; flex-direction: column; gap: 12px; }
.tm-club-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.tm-club-bar select,
.tm-search {
  width: 100%;
  padding: 9px 11px;
  border-radius: 9px;
  border: 1px solid #2b4464;
  background: #07101d;
  color: #eef5fc;
  font-size: 13px;
  font-family: inherit;
}
.tm-side-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tm-side-head strong { display: block; font-size: 15.5px; color: #fff; }
.tm-side-head small { display: block; font-size: 12px; color: #8fa9c5; }
.tm-chips-tray {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 44px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px dashed #2d496a;
  background: #07101c;
  align-items: center;
}
.tm-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 8px;
  border: 1px solid #356c63;
  background: #0e2428;
  font-size: 12px;
  color: #fff;
}
.tm-chip--pick { border-color: rgba(249, 189, 79, 0.55); background: rgba(249, 189, 79, 0.13); color: #f9bd4f; }
.tm-chip small { color: #a7c3d8; font-size: 11px; }
.tm-chip button {
  background: none;
  border: 0;
  color: #ff8ea5;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
}
.tm-player-list {
  max-height: 360px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-right: 4px;
}
.tm-player-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #20344f;
  background: #091322;
  color: #e6f0fb;
  font-size: 12.5px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.tm-player-row:hover { border-color: #4d709c; }
.tm-player-row.is-selected {
  border-color: #78ddba;
  background: linear-gradient(145deg, #102a2e, #0a1727);
}
.tm-player-row > span { font-size: 11.5px; color: #8fa8c4; white-space: nowrap; }

/* Positional Power Rankings */
.pos-rank-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pos-rank-card {
  border: 1px solid #253c59;
  border-radius: 13px;
  background: linear-gradient(155deg, #101f35, #0b1424);
  overflow: hidden;
}
.pos-rank-card.is-elite { border-color: rgba(249, 189, 79, 0.45); }
.pos-rank-card > summary {
  list-style: none;
  display: grid;
  grid-template-columns: 38px 34px minmax(180px, 1.3fr) minmax(260px, 1fr);
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  cursor: pointer;
}
.pos-rank-card > summary::-webkit-details-marker { display: none; }
.pos-rank-title strong { display: block; font-size: 15.5px; color: #fff; }
.pos-rank-title small { display: block; font-size: 12px; color: #9ab4d0; }
.pos-rank-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  text-align: center;
  align-items: center;
}
.pos-rank-metrics strong { display: block; font-size: 13.5px; color: #fff; }
.pos-rank-metrics small { display: block; font-size: 10px; text-transform: uppercase; color: #86a0bc; }
.pos-score-pill {
  padding: 6px 6px;
  border-radius: 8px;
  background: rgba(249, 189, 79, 0.14);
  border: 1px solid rgba(249, 189, 79, 0.4);
}
.pos-score-pill strong { color: #f9bd4f !important; font-family: var(--display); font-size: 1.15rem !important; }
.pos-rank-body {
  padding: 0 16px 15px;
  border-top: 1px solid #1d314b;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pos-starters-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Rising Star & Breakout Watchlist */
.bw-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.bw-card {
  border: 1px solid #253c59;
  border-left: 3px solid var(--club-accent, #78ddba);
  border-radius: 12px;
  padding: 13px 14px;
  background: linear-gradient(155deg, #101e33, #0a1423);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bw-card.is-pinned {
  border-color: #78ddba;
  background: linear-gradient(155deg, #0f292b, #0a1524);
}
.bw-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bw-card-top > div { min-width: 0; flex: 1; }
.bw-card-top strong { display: block; color: #fff; font-size: 14.5px; line-height: 1.2; }
.bw-card-top span { display: block; color: #91acc7; font-size: 12px; }
.bw-pin-btn {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #35547a;
  background: #0a1627;
  color: #e6f1fc;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.bw-pin-btn:hover { border-color: #f9bd4f; color: #f9bd4f; }
.bw-pin-btn.is-pinned {
  border-color: #78ddba;
  background: rgba(120, 221, 186, 0.16);
  color: #78ddba;
}
.bw-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #9eb7d2;
}

/* Branded PNG Share Modal */
.share-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 10, 20, 0.84);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.share-modal-backdrop[hidden] { display: none !important; }
.share-modal-card {
  width: min(920px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 18px;
  border: 1px solid #3c5d87;
  background: linear-gradient(160deg, #12223a, #091220);
  padding: 22px 24px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
}
.share-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.share-modal-head h3 {
  font-family: var(--display);
  font-size: 1.65rem;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.share-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid #355276;
  background: #0a1424;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.share-modal-close:hover { border-color: #f9bd4f; color: #f9bd4f; }
.share-modal-preview {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #2b4568;
  background: #060d18;
  margin-bottom: 16px;
}
.share-modal-preview img {
  display: block;
  width: 100%;
  height: auto;
}
.share-modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.share-modal-status {
  font-size: 12.5px;
  color: #78ddba;
  font-weight: 600;
  margin-left: auto;
}

@media (max-width: 960px) {
  .tm-grid { grid-template-columns: 1fr; }
  .bw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lad-row { grid-template-columns: 20px 34px 1fr 74px; }
  .lad-metrics { grid-column: 1 / -1; }
  .pos-rank-card > summary { grid-template-columns: 36px 32px 1fr; }
  .pos-rank-metrics { grid-column: 1 / -1; }
  .tm-verdict-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .bw-grid { grid-template-columns: 1fr; }
  .tm-club-bar { grid-template-columns: 1fr; }
  .share-modal-card { padding: 16px; }
}


/* =========================================================================
   MACQUARIE POINT STADIUM DEEP-DIVE (Optus Comparison, Budget Blowout & Risks)
   ========================================================================= */
.st-cmp-bars {
  border: 1px solid #244643;
  border-radius: 14px;
  padding: 18px 20px;
  background: linear-gradient(155deg, #0b2223, #091322);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.st-cmp-bar-row.is-mac {
  padding-top: 12px;
  border-top: 1px dashed rgba(244, 214, 17, 0.35);
}
.st-cmp-bar-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 7px;
  font-size: 13px;
}
.st-cmp-bar-meta strong { color: #fff; font-size: 14.5px; }
.st-cmp-bar-meta span { color: #9ab9bd; font-weight: 600; font-size: 12px; }
.st-cmp-bar-row.is-mac .st-cmp-bar-meta strong { color: #F4D611; }
.st-cmp-track {
  display: flex;
  height: 30px;
  border-radius: 8px;
  background: #06101b;
  border: 1px solid #1e3748;
  overflow: hidden;
  gap: 2px;
  padding: 2px;
}
.st-seg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  border-radius: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 6px;
}
.st-seg--haz { background: linear-gradient(90deg, #b82848, #d9415d); }
.st-seg--earth { background: linear-gradient(90deg, #b77b18, #e0a326); color: #09121e; }
.st-seg--bowl { background: linear-gradient(90deg, #1b6d9e, #3794c9); }
.st-seg--fit { background: linear-gradient(90deg, #1f8a6e, #41c49d); color: #061b17; }

/* Budget Escalation Bars & Funding Split */
.st-cost-bars {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.st-cost-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.st-cost-lbl {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  color: #dce9f8;
}
.st-cost-lbl strong { font-family: var(--display); font-size: 1.25rem; color: #fff; }
.st-cost-lbl em { font-style: normal; font-size: 11.5px; font-weight: 700; margin-left: 4px; }
.st-cost-track {
  height: 11px;
  border-radius: 999px;
  background: #07111e;
  border: 1px solid #20364f;
  overflow: hidden;
}
.st-cost-fill {
  height: 100%;
  border-radius: 999px;
}
.st-fund-stack {
  display: flex;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #274157;
  background: #07101b;
  gap: 2px;
  padding: 2px;
}
.st-fund-stack > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  padding: 0 6px;
}

/* 6 Construction Roadblocks & Risk Grid */
.st-risk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.st-risk-card {
  border: 1px solid #273e5a;
  border-top: 3px solid #f9bd4f;
  border-radius: 14px;
  padding: 18px 20px;
  background: linear-gradient(155deg, #101e33, #0a1423);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.st-risk--high { border-top-color: #D1193E; background: linear-gradient(155deg, #1e1624, #0a1322); }
.st-risk--med { border-top-color: #F4D611; }
.st-risk--watch { border-top-color: #7cb6ff; }
.st-risk-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.st-risk-num {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9bb4ce;
}
.st-risk-pill {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.st-risk-pill--high { background: rgba(209, 25, 62, 0.22); border: 1px solid rgba(255, 110, 140, 0.45); color: #ff9ab0; }
.st-risk-pill--med { background: rgba(244, 214, 17, 0.16); border: 1px solid rgba(244, 214, 17, 0.45); color: #F4D611; }
.st-risk-pill--watch { background: rgba(124, 182, 255, 0.16); border: 1px solid rgba(124, 182, 255, 0.4); color: #9cc9ff; }
.st-risk-card h3 {
  font-family: var(--display);
  font-size: 1.32rem;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  line-height: 1.1;
}
.st-risk-card p {
  font-size: 13px;
  line-height: 1.58;
  color: #c2d4ea;
  margin: 0;
}
.st-risk-card strong { color: #f6faff; }

/* Main Offseason Hub Spotlight Band for Macquarie Point Stadium */
.st-spotlight-band {
  margin-top: 20px;
  padding: 22px 26px;
  border-radius: 16px;
  border: 1px solid #2b5b54;
  border-left: 4px solid #F4D611;
  background: linear-gradient(135deg, #062a28 0%, #0b1c2d 60%, #171422 100%);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.st-spotlight-copy { max-width: 720px; }
.st-spotlight-copy h3 {
  font-family: var(--display);
  font-size: 1.65rem;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.08;
}
.st-spotlight-copy p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #c4d9e6;
  margin: 0;
}
.st-spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 1040px) {
  .st-risk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .st-risk-grid { grid-template-columns: 1fr; }
  .st-seg { font-size: 9.5px; padding: 0 3px; }
  .st-spotlight-band { padding: 18px; }
}


/* =========================================================================
   2027 AFL DRAFT PROSPECT DIRECTORY & INDIVIDUAL PROSPECT PROFILES (75)
   ========================================================================= */
.p27-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
}
.p27-toolbar input[type="search"] { flex: 1 1 240px; }
.p27-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.p27-card {
  border: 1px solid #263d5b;
  border-top: 3px solid var(--state-color, #2b5c9e);
  border-radius: 14px;
  padding: 16px 18px;
  background: linear-gradient(155deg, #101f35, #0a1322);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.p27-card:hover { border-color: #f9bd4f; transform: translateY(-2px); }
.p27-card.is-tied { border-color: #2f5b58; background: linear-gradient(155deg, #0e2429, #0a1423); }
.p27-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.p27-state {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
}
.p27-range {
  font-size: 11px;
  font-weight: 800;
  color: #f9bd4f;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.p27-card-id {
  display: flex;
  align-items: center;
  gap: 11px;
}
.p27-mono {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(249, 189, 79, 0.13);
  border: 1px solid rgba(249, 189, 79, 0.35);
  color: #f9bd4f;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.p27-card-id h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.05;
}
.p27-card-id h3 a { color: #fff; text-decoration: none; }
.p27-card-id h3 a:hover { color: #f9bd4f; }
.p27-blurb {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #78ddba;
  margin-top: 2px;
}
.p27-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.p27-meta-pills span {
  padding: 3px 8px;
  border-radius: 6px;
  background: #081221;
  border: 1px solid #1f3551;
  font-size: 11.5px;
  color: #bdd2ea;
  font-weight: 600;
}
.p27-comp-line {
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(249, 189, 79, 0.09);
  border: 1px solid rgba(249, 189, 79, 0.28);
  font-size: 12.5px;
  color: #c9dbee;
}
.p27-comp-line strong { color: #f9bd4f; }
.p27-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.p27-skill-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 7px;
  background: #0a1728;
  border: 1px solid #2b4768;
  font-size: 11px;
  font-weight: 700;
  color: #e4effb;
}
.p27-skill-badge i { font-style: normal; }
.p27-tie-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.p27-tie-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(7, 17, 30, 0.9);
  border: 1px solid var(--tie-accent, #78ddba);
  font-size: 11.5px;
  font-weight: 750;
  color: #fff;
}
.p27-oneliner {
  font-size: 12.8px;
  line-height: 1.5;
  color: #adc4dd;
  margin: 0;
  flex: 1;
}
.p27-card-link {
  font-size: 12.5px;
  font-weight: 800;
  color: #f9bd4f;
  text-decoration: none;
  padding-top: 8px;
  border-top: 1px solid #1d314b;
}
.p27-card-link:hover { text-decoration: underline; }

/* Individual 2027 Prospect Profile */
.p27-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.p27-facts-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.p27-facts-strip > div {
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(7, 15, 28, 0.86);
  border: 1px solid #243b57;
}
.p27-facts-strip span {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8da6c3;
}
.p27-facts-strip strong {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  color: #fff;
  line-height: 1.25;
}
.p27-badge-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.p27-badge-card {
  border: 1px solid #274262;
  border-top: 3px solid var(--off-gold);
  border-radius: 13px;
  padding: 16px;
  background: linear-gradient(155deg, #102037, #0a1423);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.p27-badge-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.p27-badge-icon { font-size: 1.45rem; }
.p27-badge-num {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #6d89ab;
}
.p27-badge-card h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.p27-badge-card p {
  font-size: 12.5px;
  line-height: 1.55;
  color: #b7cde4;
  margin: 0;
}
.p27-report-lead {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.62;
  color: #eef5fc;
  margin: 0 0 12px;
}
.p27-report-body {
  font-size: 14px;
  line-height: 1.65;
  color: #c2d4ea;
  margin: 0 0 16px;
}
.p27-dev-box {
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid #2a4c56;
  background: rgba(10, 32, 37, 0.78);
}
.p27-dev-kicker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #78ddba;
  margin-bottom: 4px;
}
.p27-dev-box p { margin: 0; font-size: 13px; line-height: 1.55; color: #d6e9e8; }
.p27-comp-hero {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(249, 189, 79, 0.45);
  background: linear-gradient(145deg, rgba(249, 189, 79, 0.14), rgba(10, 20, 35, 0.9));
  margin-bottom: 14px;
}
.p27-comp-hero span {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f9bd4f;
}
.p27-comp-hero strong {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.05;
  margin-top: 2px;
}
.p27-comp-why {
  font-size: 14.5px;
  line-height: 1.65;
  color: #e2edf9;
  margin: 0 0 14px;
}
.p27-comp-disclaimer {
  padding: 11px 13px;
  border-radius: 9px;
  background: #081221;
  border: 1px solid #223852;
  font-size: 12px;
  line-height: 1.55;
  color: #9bb4ce;
}
.p27-club-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.p27-club-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid #2b4969;
  background: #081322;
  text-decoration: none;
}
.p27-club-box:hover { border-color: #f9bd4f; }
.p27-club-box strong { display: block; color: #fff; font-size: 15px; }
.p27-club-box span { display: block; color: #f9bd4f; font-size: 12.5px; font-weight: 700; }

@media (max-width: 1080px) {
  .p27-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p27-badge-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p27-facts-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .p27-grid,
  .p27-badge-showcase,
  .p27-facts-strip { grid-template-columns: 1fr; }
}


/* =========================================================================
   FRONT OFFICE BIOS, STADIUM JOBS STRIP, LADDER MATCHUP & HOMEPAGE BANNER
   ========================================================================= */
.tas-bio-block {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  background: rgba(7, 15, 28, 0.78);
  border: 1px solid #20374f;
}
.tas-bio-block--fit {
  border-color: rgba(120, 221, 186, 0.35);
  background: rgba(7, 30, 32, 0.75);
}
.tas-bio-kicker {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #F4D611;
  margin-bottom: 3px;
}
.tas-bio-block--fit .tas-bio-kicker { color: #78ddba; }
.tas-bio-block p {
  margin: 0 !important;
  font-size: 12.5px !important;
  line-height: 1.52 !important;
  color: #cfe0f2 !important;
}

.st-jobs-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 8px;
}
.st-jobs-strip > div {
  padding: 12px;
  border-radius: 10px;
  background: #081522;
  border: 1px solid #244745;
  text-align: center;
}
.st-jobs-strip strong {
  display: block;
  font-family: var(--display);
  font-size: 1.55rem;
  color: #F4D611;
  line-height: 1.05;
}
.st-jobs-strip span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: #9ec0be;
  font-weight: 600;
}

/* Ladder Predictor Head-to-Head Matchup Stats Panel */
.lad-matchup-pickers {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}
.lad-matchup-pickers label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #95b1cd;
  margin-bottom: 5px;
}
.lad-matchup-pickers select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid #2c4666;
  background: #07101d;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  font-weight: 700;
}
.lad-vs-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(249, 189, 79, 0.16);
  border: 1px solid rgba(249, 189, 79, 0.48);
  color: #f9bd4f;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lad-vs-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid #1e334f;
  margin-bottom: 14px;
}
.lad-vs-club {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lad-vs-club--right { text-align: right; }
.lad-vs-club strong { display: block; color: #fff; font-size: 16px; }
.lad-vs-club small { display: block; color: #8fa9c5; font-size: 12px; }
.lad-vs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.lad-vs-grid > div {
  padding: 11px 12px;
  border-radius: 10px;
  background: #081221;
  border: 1px solid #213754;
}
.lad-vs-grid span { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em; color: #8ba5c2; font-weight: 750; }
.lad-vs-grid strong { display: block; margin-top: 3px; font-family: var(--display); font-size: 1.25rem; color: #f9bd4f; }
.lad-vs-grid small { display: block; margin-top: 2px; font-size: 11.5px; color: #a7c0da; }
.lad-vs-verdict {
  padding: 14px 16px;
  border-radius: 11px;
  background: rgba(8, 22, 36, 0.85);
  border: 1px solid #26425e;
}
.lad-vs-verdict p { font-size: 13.8px; line-height: 1.6; color: #d5e4f5; margin: 4px 0 10px; }
.lad-vs-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 12.5px;
  color: #a6bfd9;
}
.lad-vs-sub strong { color: #fff; }

/* Homepage Prominent Ladder Predictor Spotlight */
.home-ladder-banner {
  margin-bottom: 26px;
  padding: 22px 26px;
  border-radius: 16px;
  border: 1px solid rgba(249, 189, 79, 0.45);
  border-left: 4px solid #f9bd4f;
  background: linear-gradient(135deg, #16243d 0%, #0d182b 58%, #092425 100%);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
}
.home-ladder-copy { max-width: 710px; }
.home-ladder-copy h3 {
  font-family: var(--display);
  font-size: 1.75rem;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.06;
}
.home-ladder-copy p {
  font-size: 13.8px;
  line-height: 1.55;
  color: #c5d7ec;
  margin: 0;
}
.home-ladder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 900px) {
  .lad-vs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-jobs-strip { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lad-matchup-pickers { grid-template-columns: 1fr; }
  .lad-vs-badge { margin: 0 auto; }
  .lad-vs-grid { grid-template-columns: 1fr; }
  .home-ladder-banner { padding: 18px; }
}


/* =========================================================================
   BEST 23 OVAL INLINE ZOOM BAR & FULLSCREEN VECTOR LIGHTBOX
   ========================================================================= */
.tas-builder-stage {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
}
.oval-zoom-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(7, 16, 29, 0.88);
  border: 1px solid #243d5a;
}
.oval-zoom-hint {
  font-size: 11.5px;
  font-weight: 600;
  color: #8fa9c5;
}
.oval-zoom-btns,
.oval-lb-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.oval-zbtn {
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid #2e4b6c;
  background: #0b1729;
  color: #eef5fc;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  line-height: 1.2;
}
.oval-zbtn:hover { border-color: #f9bd4f; color: #f9bd4f; }
.oval-zbtn--expand {
  border-color: rgba(249, 189, 79, 0.52);
  background: rgba(249, 189, 79, 0.14);
  color: #f9bd4f;
}
.oval-zbtn--expand:hover { background: rgba(249, 189, 79, 0.24); }
.oval-zbtn--close { border-color: rgba(255, 122, 138, 0.45); color: #ff9ab0; }
.oval-zpct {
  font-size: 11.5px;
  font-weight: 800;
  color: #78ddba;
  min-width: 38px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.oval-stage-viewport {
  overflow: auto;
  border-radius: 14px;
  max-height: 78vh;
}
.oval-stage-viewport svg.club-oval-svg,
.oval-stage-viewport svg.club-field-svg {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
  transition: width 0.16s ease;
}

/* Fullscreen Vector Lightbox */
.oval-lb-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(4, 10, 19, 0.9);
  backdrop-filter: blur(7px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.oval-lb-backdrop[hidden] { display: none !important; }
.oval-lb-shell {
  width: min(1040px, 100%);
  height: min(92vh, 960px);
  border-radius: 18px;
  border: 1px solid #3c5f87;
  background: linear-gradient(160deg, #102037, #07101c);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.72);
}
.oval-lb-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #223956;
  background: #0a1526;
}
.oval-lb-head h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  line-height: 1.1;
}
.oval-lb-stage {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  touch-action: none;
  cursor: default;
}
.oval-lb-stage.is-zoomed { cursor: grab; }
.oval-lb-stage.is-zoomed:active { cursor: grabbing; }
.oval-lb-canvas {
  width: min(640px, 86vw);
  max-height: 100%;
  transform-origin: center center;
  transition: transform 0.12s ease-out;
}
.oval-lb-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 76vh;
  margin: 0 auto;
}


/* Tasmania Pre-Listed 17yo Pin Picker */
.tas-u17-picker {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #244745;
}
.tas-u17-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  color: #F4D611;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.tas-u17-head small { color: #8cb2af; font-weight: 600; text-transform: none; letter-spacing: 0; }
.tas-u17-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.tas-u17-pill {
  text-align: left;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid #233c50;
  background: #08121f;
  color: #b4cbe0;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.14s ease, background 0.14s ease;
}
.tas-u17-pill strong { display: block; font-size: 12.5px; color: #fff; line-height: 1.2; }
.tas-u17-pill span { display: block; font-size: 11px; color: #8aa5bd; margin-top: 1px; }
.tas-u17-pill.is-on {
  border-color: #ff8ea5;
  background: linear-gradient(145deg, #271524, #0a1f21);
}
.tas-u17-pill.is-on span { color: #ffb3c3; }
@media (max-width: 600px) {
  .tas-u17-pills { grid-template-columns: 1fr; }
}

/* ================================================================
   AFL CLUBROOMS HONOUR BOARDS & TROPHY CABINETS (.hb-*)
   ================================================================ */
.hb-hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background-size: cover;
  background-position: center 42%;
  border: 1px solid #8c6622;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(245, 194, 59, 0.3);
  margin-bottom: 18px;
}
.hb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 82% 40%, rgba(245, 194, 59, 0.14), transparent 55%),
    linear-gradient(95deg, rgba(16, 9, 5, 0.94) 0%, rgba(16, 10, 8, 0.80) 48%, rgba(12, 14, 22, 0.36) 100%);
}
.hb-hero-overlay {
  position: relative;
  z-index: 2;
  padding: 36px 34px 32px;
  max-width: 780px;
}
.hb-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.15rem, 4.4vw, 3.45rem);
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #fff8e6;
  margin: 4px 0 12px;
}
.hb-hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, #fff2b2 0%, #f5c23b 62%, #c98e1b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hb-club-hero-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
}
.hb-club-hero-top img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  padding: 8px;
  border-radius: 14px;
  background: rgba(16, 10, 7, 0.84);
  border: 1px solid rgba(245, 194, 59, 0.55);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}

/* League Hub 18-Club Trophy Grid */
.hb-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.hb-hub-card {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid #4a3520;
  border-top: 3px solid #d4a02c;
  background:
    radial-gradient(ellipse at 92% 0%, rgba(245, 194, 59, 0.12), transparent 55%),
    linear-gradient(165deg, #1d120c 0%, #0d1422 52%, #09101d 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.hb-hub-card:hover {
  transform: translateY(-2px);
  border-color: #f5c23b;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.52);
}
.hb-hub-cabinet {
  position: relative;
  display: block;
  margin: -18px -18px 4px;
  height: 118px;
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 151, 44, 0.35);
}
.hb-hub-cabinet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 48%;
  transition: transform 0.25s ease;
}
.hb-hub-card:hover .hb-hub-cabinet img {
  transform: scale(1.04);
}
.hb-hub-cabinet::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 9, 5, 0.12) 0%, rgba(16, 9, 5, 0.68) 100%);
}
.hb-hub-cab-tag {
  position: absolute;
  left: 12px;
  bottom: 8px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(16, 9, 5, 0.86);
  border: 1px solid rgba(245, 194, 59, 0.45);
  color: #ffe594;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hb-hub-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.hb-hub-id {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.hb-hub-id img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  padding: 4px;
  border-radius: 9px;
  background: #0b111e;
  border: 1px solid #3c3024;
  flex-shrink: 0;
}
.hb-hub-id h3 {
  font-family: var(--display);
  font-size: 1.42rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.02;
  margin: 0 0 3px;
}
.hb-hub-id h3 a { color: #fff8e8; text-decoration: none; }
.hb-hub-id h3 a:hover { color: #f5c23b; }
.hb-hub-est {
  display: block;
  font-size: 11px;
  color: #b7aa98;
  line-height: 1.3;
}
.hb-flag-tally {
  flex-shrink: 0;
  min-width: 56px;
  text-align: center;
  padding: 6px 9px;
  border-radius: 10px;
  background: linear-gradient(180deg, #332010, #1b1008);
  border: 1px solid #c9972c;
}
.hb-flag-tally strong {
  display: block;
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 0.95;
  color: #ffe388;
}
.hb-flag-tally span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d6b66f;
  margin-top: 2px;
}
.hb-mini-shelf {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 4px;
  min-height: 36px;
  padding: 8px 10px 6px;
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(16, 10, 7, 0.85) 0%, rgba(42, 24, 13, 0.7) 100%);
  border: 1px solid rgba(201, 151, 44, 0.28);
  border-bottom: 3px solid #7a5219;
}
.hb-mini-cup {
  display: inline-flex;
  line-height: 0;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6));
}
.hb-mini-empty {
  font-size: 11.5px;
  font-style: italic;
  color: #cbb89d;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px dashed #6b4e2a;
  background: rgba(20, 12, 8, 0.65);
  text-align: center;
}
.hb-hub-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.hb-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hb-pill--gold { background: rgba(245, 194, 59, 0.2); border: 1px solid #f5c23b; color: #ffe799; }
.hb-pill--mint { background: rgba(120, 221, 186, 0.14); border: 1px solid #5ac4a0; color: #9ff0d4; }
.hb-pill--coral { background: rgba(255, 122, 138, 0.14); border: 1px solid #e05d72; color: #ffa6b3; }
.hb-medal-name {
  font-size: 11px;
  color: #9cb2ce;
  font-weight: 600;
}
.hb-hub-headline {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #e6dfd3;
}
.hb-hub-star {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border-radius: 10px;
  background: #0a1426;
  border: 1px solid #243856;
  margin-top: auto;
}
.hb-hub-star span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f5c23b;
}
.hb-hub-star strong {
  display: block;
  font-size: 14px;
  color: #fff;
  line-height: 1.2;
}
.hb-hub-star small {
  display: block;
  font-size: 11.5px;
  color: #9eb5d1;
}
.hb-hub-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 9px;
  background: linear-gradient(135deg, #3c2410, #231409);
  border: 1px solid #b58425;
  color: #ffe69b;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.hb-hub-cta:hover {
  background: linear-gradient(135deg, #563417, #331e0d);
  border-color: #f5c23b;
  color: #fff;
}

/* Physical Mahogany & Gold-Leaf Clubrooms Timber Honour Board */
.hb-timber-board {
  padding: 12px;
  border-radius: 18px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 224, 178, 0.024) 0px,
      rgba(255, 224, 178, 0.024) 2px,
      transparent 2px,
      transparent 16px
    ),
    linear-gradient(160deg, #361b0f 0%, #241109 48%, #160a05 100%);
  border: 3px solid #c9972c;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 232, 153, 0.22) inset,
    0 0 42px rgba(201, 151, 44, 0.14);
}
.hb-timber-inner {
  padding: 28px 28px 30px;
  border-radius: 12px;
  border: 1.5px solid rgba(245, 194, 59, 0.58);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(245, 194, 59, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(31, 15, 8, 0.94) 0%, rgba(19, 9, 5, 0.96) 100%);
  box-shadow: inset 0 0 44px rgba(0, 0, 0, 0.62);
}
.hb-timber-crest {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: left;
  margin-bottom: 22px;
}
.hb-timber-crest img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  padding: 6px;
  border-radius: 12px;
  background: rgba(14, 7, 4, 0.8);
  border: 1px solid rgba(245, 194, 59, 0.65);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}
.hb-gold-kicker {
  display: block;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f5c23b;
}
.hb-timber-crest h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 0.98;
  margin: 3px 0;
  background: linear-gradient(180deg, #fff5c4 0%, #f5c23b 64%, #b88116 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hb-timber-sub {
  display: block;
  font-size: 12.5px;
  color: #d6c3a5;
  letter-spacing: 0.03em;
}
.hb-board-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 16px;
}
.hb-board-divider::before,
.hb-board-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 194, 59, 0.65), transparent);
}
.hb-board-divider span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f5c23b;
  text-align: center;
}

/* Illuminated Glass Premiership Trophy Shelf */
.hb-trophy-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 12px 10px;
  padding: 18px 16px 16px;
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 232, 160, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(12, 8, 6, 0.84) 0%, rgba(36, 20, 11, 0.72) 82%, rgba(72, 42, 18, 0.85) 100%);
  border: 1px solid rgba(245, 194, 59, 0.36);
  border-bottom: 5px solid #8a5b1a;
  box-shadow: inset 0 8px 24px rgba(0, 0, 0, 0.65);
}
.hb-trophy-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 4px 6px;
  border-radius: 8px;
  background: rgba(255, 232, 160, 0.03);
  border: 1px solid rgba(245, 194, 59, 0.14);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.hb-trophy-slot:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 194, 59, 0.55);
}
.hb-cup-svg {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.65));
}
.hb-trophy-year {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #ffe89e;
  padding: 1px 8px;
  border-radius: 4px;
  background: rgba(28, 15, 7, 0.9);
  border: 1px solid rgba(212, 160, 44, 0.55);
}
.hb-trophy-empty {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 12px;
  border: 1px dashed rgba(245, 194, 59, 0.45);
  background: rgba(14, 9, 6, 0.75);
}
.hb-trophy-ghost {
  opacity: 0.42;
  filter: grayscale(0.35);
  flex-shrink: 0;
}
.hb-trophy-empty strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  text-transform: uppercase;
  color: #ffe28c;
  margin-bottom: 4px;
}
.hb-trophy-empty p {
  margin: 0;
  font-size: 13.5px;
  color: #d6c5ad;
  line-height: 1.5;
}

/* Engraved Brass Record Plaques */
.hb-engraved-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.hb-engraved-col {
  padding: 14px 15px;
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(46, 25, 13, 0.72), rgba(18, 9, 5, 0.9));
  border: 1px solid rgba(212, 160, 44, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 232, 160, 0.14);
}
.hb-col-title {
  display: block;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d4a648;
  margin-bottom: 6px;
}
.hb-engraved-col strong {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  color: #fff6df;
  font-weight: 750;
}

/* Brownlow Medallists Wall */
.hb-brownlow-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.hb-brownlow-plaque {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 8px;
  background: linear-gradient(180deg, #35210e, #1e1107);
  border: 1px solid rgba(245, 194, 59, 0.52);
  color: #ffecae;
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.42);
}

/* Drought / Dynasty Editorial Panel */
.hb-story-panel {
  display: grid;
  grid-template-columns: 1.65fr auto;
  gap: 22px;
  align-items: center;
  padding: 26px 28px;
  border-radius: 16px;
  border: 1px solid #594426;
  border-left: 4px solid #f5c23b;
  background:
    radial-gradient(ellipse at 95% 0%, rgba(245, 194, 59, 0.12), transparent 55%),
    linear-gradient(135deg, #1b1513 0%, #0d1626 60%, #09101d 100%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42);
}
.hb-story-panel h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  color: #fff6e0;
  margin: 0 0 10px;
}
.hb-story-panel p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #d6deeb;
}
.hb-story-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 230px;
}

/* 2027 Current Star Players with Club Guernseys */
.hb-stars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.hb-star-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid #2b4162;
  border-left: 4px solid var(--club-accent, #f5c23b);
  background: linear-gradient(145deg, #122037 0%, #0a1322 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}
.hb-star-jersey {
  flex-shrink: 0;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5));
}
.hb-star-info { min-width: 0; }
.hb-star-num {
  display: block;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f5c23b;
  margin-bottom: 3px;
}
.hb-star-info h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 6px;
}

/* Honour Boards Spotlight Banner (Offseason Hub) */
.hb-spotlight-band {
  margin-top: 18px;
  padding: 22px 26px;
  border-radius: 16px;
  border: 1px solid #967028;
  border-left: 4px solid #f5c23b;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.46);
}
.hb-spotlight-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(22, 11, 6, 0.94) 0%, rgba(18, 12, 10, 0.84) 62%, rgba(12, 16, 28, 0.86) 100%);
}
.hb-spotlight-band > * { position: relative; z-index: 2; }
.hb-spotlight-copy { max-width: 680px; }
.hb-spotlight-copy h3 {
  font-family: var(--display);
  font-size: 1.65rem;
  text-transform: uppercase;
  color: #fff6df;
  margin: 0 0 6px;
  line-height: 1.05;
}
.hb-spotlight-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #dcd4c6;
}

@media (max-width: 1020px) {
  .hb-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-engraved-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-story-panel { grid-template-columns: 1fr; }
  .hb-story-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 680px) {
  .hb-hero-overlay { padding: 24px 20px 22px; }
  .hb-club-hero-top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hb-hub-grid, .hb-stars-grid, .hb-engraved-grid { grid-template-columns: 1fr; }
  .hb-timber-inner { padding: 20px 16px 22px; }
  .hb-timber-crest { flex-direction: column; text-align: center; }
  .hb-trophy-empty { flex-direction: column; text-align: center; }
}

/* ================================================================
   2027 MEGA-BOOST SUITE (.bs-*) & GLOBAL INSTANT SEARCH (.gs-*)
   ================================================================ */
.bs-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.bs-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #2e4569;
  background: #0b1629;
  color: #cfe0f6;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease;
}
.bs-chip:hover { border-color: #f9bd4f; color: #fff; }
.bs-chip.is-active {
  background: linear-gradient(135deg, #2b2314, #14223b);
  border-color: #f9bd4f;
  color: #ffe28c;
}

/* Memberships & Finances */
.bs-spark { display: block; }
.bs-tas-note {
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid #1e6b63;
  border-left: 4px solid #F4D611;
  background: linear-gradient(125deg, #062b28, #0c1729);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.bs-tas-note > div { flex: 1; min-width: 240px; }
.bs-tas-note strong { color: #F4D611; font-size: 15px; display: block; margin-bottom: 3px; }
.bs-tas-note p { margin: 0; font-size: 13.5px; color: #cfe6e2; line-height: 1.5; }
.bs-fin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.bs-fin-card {
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid #273c5c;
  background: linear-gradient(155deg, #101e34, #091220);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bs-fin-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.bs-fin-id { display: flex; align-items: center; gap: 12px; }
.bs-fin-id img { width: 42px; height: 42px; object-fit: contain; padding: 4px; border-radius: 9px; background: #08111f; border: 1px solid #273d5e; }
.bs-fin-id h3 { font-family: var(--display); font-size: 1.45rem; text-transform: uppercase; color: #fff; margin: 0; line-height: 1.05; }
.bs-fin-id span { font-size: 11.5px; color: #95aecb; }
.bs-tier-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.bs-tier--gold { background: rgba(249,189,79,0.16); border: 1px solid #f9bd4f; color: #ffe388; }
.bs-tier--mint { background: rgba(120,221,186,0.14); border: 1px solid #5ac4a0; color: #9ff0d4; }
.bs-tier--coral { background: rgba(255,122,138,0.14); border: 1px solid #e05d72; color: #ffa6b3; }
.bs-fin-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.bs-fin-kpis > div {
  padding: 9px 10px;
  border-radius: 9px;
  background: #08111f;
  border: 1px solid #1e314d;
}
.bs-fin-kpis strong { display: block; font-family: var(--display); font-size: 1.3rem; color: #fff; line-height: 1.05; }
.bs-fin-kpis span { font-size: 10.5px; color: #8da6c5; }
.bs-price-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(10, 21, 39, 0.9);
  border: 1px solid #223857;
  font-size: 12px;
}
.bs-price-box span { display: block; color: #8aa5c4; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em; }
.bs-price-box strong { color: #eef5ff; font-weight: 750; }
.bs-perks-line { margin: 0; font-size: 13px; color: #cad8ea; line-height: 1.5; }
.bs-money-box {
  margin-top: auto;
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(249, 189, 79, 0.06);
  border: 1px solid rgba(249, 189, 79, 0.25);
}
.bs-money-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 11.5px; color: #b5cbe4; margin-bottom: 6px; }
.bs-money-meta strong { color: #ffe388; }
.bs-money-box p { margin: 0; font-size: 12.5px; color: #dce7f7; line-height: 1.5; }

/* Daily Guess-the-Player Game */
.bs-game-shell {
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid #2c4366;
  background: linear-gradient(155deg, #0f1d34, #08101e);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}
.bs-game-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.bs-mode-tabs, .bs-game-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bs-search-wrap { position: relative; margin-bottom: 14px; }
.bs-search-input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #42608a;
  background: #07101f;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.bs-search-input:focus { outline: none; border-color: #f9bd4f; box-shadow: 0 0 0 3px rgba(249,189,79,0.2); }
.bs-suggest-list {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 4px);
  z-index: 30;
  border-radius: 11px;
  border: 1px solid #415e87;
  background: #0a162a;
  box-shadow: 0 18px 40px rgba(0,0,0,0.65);
  overflow: hidden;
}
.bs-suggest-item {
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #1a2d49;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.bs-suggest-item:hover { background: #142744; }
.bs-suggest-item span { font-size: 12px; color: #9ab5d4; }
.bs-hint-banner {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(249,189,79,0.12);
  border: 1px solid #f9bd4f;
  color: #ffecae;
  font-size: 13.5px;
}
.bs-guess-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: #9cb6d4;
  margin-bottom: 12px;
}
.bs-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: middle; }
.bs-dot--green { background: #259e6d; }
.bs-dot--yellow { background: #cf9221; }
.bs-guess-table { width: 100%; border-collapse: separate; border-spacing: 5px; }
.bs-guess-table th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: #9cb6d4; padding: 6px; text-align: center; }
.bs-guess-table th:first-child { text-align: left; }
.bs-guess-table td { padding: 10px 8px; border-radius: 8px; background: #0d1a2f; color: #fff; font-size: 13.5px; }
.bs-cell { text-align: center; font-weight: 800; white-space: nowrap; }
.bs-cell img { vertical-align: middle; margin-right: 4px; }
.bs-cell--hit { background: #1e7d56 !important; border: 1px solid #78ddba; }
.bs-cell--close { background: #9c6d14 !important; border: 1px solid #f9bd4f; }
.bs-cell--miss { background: #142239 !important; border: 1px solid #263c5e; color: #b7c8de !important; }
.bs-result-card {
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid #f9bd4f;
  background: linear-gradient(135deg, #1d1a14, #0d1a30);
}
.bs-result-top { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.bs-result-top h2 { font-family: var(--display); font-size: 1.9rem; text-transform: uppercase; color: #fff; margin: 0 0 4px; }
.bs-result-top p { margin: 0; font-size: 13.5px; color: #c7d9ee; }
.bs-result-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Jumper Numbers Locker Room */
.bs-locker-bar {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 18px;
}
.bs-num-btn {
  padding: 9px 4px;
  border-radius: 8px;
  border: 1px solid #294063;
  background: #0b1628;
  color: #cfe0f6;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 900;
  cursor: pointer;
}
.bs-num-btn:hover { border-color: #f9bd4f; color: #fff; }
.bs-num-btn.is-active { background: #f9bd4f; color: #08111f; border-color: #ffe89e; }
.bs-locker-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.bs-locker-head h2 { font-family: var(--display); font-size: 1.75rem; text-transform: uppercase; color: #fff; margin: 0 0 3px; }
.bs-num-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.bs-num-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid #273c5c;
  background: linear-gradient(145deg, #101f36, #091220);
}
.bs-num-club { display: block; font-size: 10.5px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.08em; color: #f9bd4f; }
.bs-num-info h3 { font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; margin: 2px 0 4px; line-height: 1.05; }
.bs-num-info h3 a { color: #fff; text-decoration: none; }
.bs-num-info h3 a:hover { color: #f9bd4f; }
.bs-inline-jump { background: transparent; border: 0; color: #f9bd4f; font-size: 14px; cursor: pointer; padding: 0; }

/* Premiership Window Scatter Matrix */
.bs-pw-layout { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: 18px; align-items: start; }
.bs-pw-chart-card, .bs-pw-detail {
  padding: 18px;
  border-radius: 15px;
  border: 1px solid #2b4266;
  background: linear-gradient(155deg, #0e1c33, #081120);
}
.bs-pw-svg { width: 100%; height: auto; display: block; }
.bs-pw-det-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.bs-pw-det-head h3 { font-family: var(--display); font-size: 1.7rem; text-transform: uppercase; color: #fff; margin: 0; }
.bs-pw-det-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 16px; }
.bs-pw-det-grid > div { padding: 10px; border-radius: 9px; background: #07101f; border: 1px solid #1f3350; }
.bs-pw-det-grid strong { display: block; font-family: var(--display); font-size: 1.4rem; color: #fff; }
.bs-pw-det-grid span { font-size: 11px; color: #91abc8; }
.bs-pw-det-links { display: flex; flex-direction: column; gap: 9px; }

/* Father-Son & Academy Watch */
.bs-tie-clubs { display: flex; flex-wrap: wrap; gap: 8px; }
.bs-tie-club-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid #2c4366; background: #0b1628; color: #dce8f8;
  font-size: 12.5px; font-weight: 750; cursor: pointer;
}
.bs-tie-club-btn strong { color: #f9bd4f; }
.bs-tie-club-btn.is-active { border-color: #f9bd4f; background: #1e2436; color: #fff; }
.bs-ties-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bs-tie-card {
  padding: 16px 18px; border-radius: 14px;
  border: 1px solid #294063; background: linear-gradient(155deg, #101f36, #091220);
  display: flex; flex-direction: column; gap: 10px;
}
.bs-tie-top { display: flex; align-items: flex-start; gap: 11px; }
.bs-tie-top img { width: 38px; height: 38px; object-fit: contain; padding: 3px; border-radius: 8px; background: #07101f; border: 1px solid #253b5b; flex-shrink: 0; }
.bs-tie-pill { display: inline-block; font-size: 10.5px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.06em; color: #78ddba; }
.bs-tie-top h3 { font-family: var(--display); font-size: 1.4rem; text-transform: uppercase; margin: 2px 0; line-height: 1.05; }
.bs-tie-top h3 a { color: #fff; text-decoration: none; }
.bs-tie-top h3 a:hover { color: #f9bd4f; }
.bs-tie-blurb { margin: 0; font-size: 13px; color: #cddbee; line-height: 1.5; }
.bs-tie-comp { padding: 8px 10px; border-radius: 8px; background: #081222; border: 1px solid #223757; font-size: 12px; color: #b7cce4; }
.bs-tie-comp span { color: #f9bd4f; font-weight: 800; }
.bs-tie-link { margin-top: auto; color: #f9bd4f; font-size: 12.5px; font-weight: 800; text-decoration: none; }

/* All-Australian 22 / U22 Oval Builder */
.bs-aa-layout { display: grid; grid-template-columns: 1.35fr 0.95fr; gap: 18px; align-items: start; }
.bs-aa-oval-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.bs-aa-oval-head strong { display: block; font-family: var(--display); font-size: 1.45rem; text-transform: uppercase; color: #fff; }
.bs-aa-bench-wrap { margin-top: 14px; padding-top: 12px; border-top: 1px solid #223857; }
.bs-aa-bench-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bs-aa-bench-slot {
  display: flex; align-items: center; gap: 10px; text-align: left;
  padding: 9px 11px; border-radius: 10px;
  border: 1px solid #2a4164; background: #0a1527; color: #fff; cursor: pointer;
}
.bs-aa-bench-slot.is-active { border-color: #f9bd4f; background: #1a243b; }
.bs-aa-bench-slot span { display: block; font-size: 10px; font-weight: 850; color: #f9bd4f; }
.bs-aa-bench-slot strong { display: block; font-size: 13.5px; }
.bs-aa-bench-slot small { display: block; font-size: 11px; color: #95aecb; }
.bs-aa-picker-panel {
  padding: 18px; border-radius: 15px;
  border: 1px solid #2b4266; background: linear-gradient(155deg, #0f1e35, #081120);
  display: flex; flex-direction: column; gap: 12px;
}
.bs-aa-picker-head h3 { font-family: var(--display); font-size: 1.4rem; text-transform: uppercase; color: #fff; margin: 0; }
.bs-aa-pos-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.bs-aa-candidates { max-height: 410px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding-right: 4px; }
.bs-aa-cand {
  width: 100%; text-align: left; padding: 9px 12px; border-radius: 9px;
  border: 1px solid #223654; background: #091324; color: #fff; cursor: pointer;
}
.bs-aa-cand:hover { border-color: #f9bd4f; background: #132542; }
.bs-aa-cand.is-taken { border-color: #366b5c; background: rgba(46,163,126,0.12); }
.bs-aa-cand strong { display: block; font-size: 13.5px; }
.bs-aa-cand span { display: block; font-size: 11.5px; color: #97b2d1; }
.bs-aa-breakdown-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.bs-aa-club-pill { padding: 4px 9px; border-radius: 6px; background: #081222; border: 1px solid #2a4163; font-size: 11.5px; color: #cfe0f6; }
.bs-aa-club-pill strong { color: #f9bd4f; }

/* YouTube @SotaramAFL Showcase Band */
.bs-yt-band {
  margin-top: 22px;
  padding: 22px 26px;
  border-radius: 16px;
  border: 1px solid #6b2432;
  border-left: 4px solid #ff4558;
  background: radial-gradient(ellipse at 92% 0%, rgba(255,69,88,0.16), transparent 55%), linear-gradient(135deg, #1b0f18, #0c1628 60%, #09111f);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.bs-yt-copy { max-width: 680px; }
.bs-yt-copy h3 { font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; color: #fff; margin: 0 0 6px; }
.bs-yt-copy p { margin: 0; font-size: 14px; color: #d3deee; line-height: 1.55; }

/* Global Instant Search Trigger & Modal (.gs-*) */
.gs-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #354e75;
  background: #0c172b;
  color: #dce8f8;
  font-size: 12.5px;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
}
.gs-trigger:hover { border-color: #f9bd4f; color: #fff; }
.gs-trigger kbd {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #172846;
  border: 1px solid #354f78;
  color: #9bb6d4;
}
.gs-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(4, 9, 18, 0.84);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 9vh 16px 24px;
}
.gs-backdrop[hidden] { display: none !important; }
.gs-modal {
  width: min(680px, 100%);
  border-radius: 16px;
  border: 1px solid #415e89;
  background: #0a1527;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.72);
  overflow: hidden;
}
.gs-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #213756;
}
.gs-input {
  flex: 1;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 650;
  outline: none;
}
.gs-close {
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #324c72;
  background: #13233d;
  color: #b7cce6;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.gs-body { max-height: 58vh; overflow-y: auto; padding: 8px; }
.gs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
}
.gs-row:hover { background: #142642; }
.gs-row-left { display: flex; align-items: center; gap: 11px; min-width: 0; }
.gs-row-left strong { display: block; font-size: 14px; color: #fff; }
.gs-row-left span { display: block; font-size: 12px; color: #96b0ce; }
.gs-kind-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; background: #f9bd4f; }
.gs-kind--draft { background: #78ddba; }
.gs-tag {
  font-size: 10.5px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 3px 8px; border-radius: 999px; background: #152845; color: #9ec0e6; white-space: nowrap;
}
.gs-tag--tool { background: rgba(249,189,79,0.16); color: #ffe388; }
.gs-tag--draft { background: rgba(120,221,186,0.16); color: #9ff0d4; }
.gs-empty { padding: 22px 16px; text-align: center; color: #9bb6d4; font-size: 14px; }
.gs-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 16px; border-top: 1px solid #1e324f; background: #07101f;
  font-size: 11.5px; color: #8da7c7;
}

@media (max-width: 1020px) {
  .bs-fin-grid, .bs-pw-layout, .bs-aa-layout { grid-template-columns: 1fr; }
  .bs-num-grid, .bs-ties-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bs-locker-bar { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .bs-num-grid, .bs-ties-grid, .bs-aa-bench-grid, .bs-price-box { grid-template-columns: 1fr; }
  .bs-fin-kpis { grid-template-columns: 1fr; }
  .gs-trigger kbd { display: none; }
}

/* ================================================================
   UNIVERSAL PHONE & TABLET OPTIMIZATION LAYER (320px → 1180px)
   ================================================================ */
html, body {
  overflow-x: clip;
  max-width: 100%;
}
.pillar-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.off-table-scroll,
.st-gantt-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Tablets (iPad Portrait / Landscape: 768px – 1080px) */
@media (max-width: 1080px) {
  .hero-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 14px;
  }
  .home-ladder-banner,
  .st-spotlight-band,
  .hb-spotlight-band,
  .bs-yt-band {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-ladder-actions,
  .st-spotlight-actions {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .bs-locker-bar {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }
}

/* Small Tablets & Large Phones (<= 760px) */
@media (max-width: 760px) {
  /* Native-feeling top header: logo left, Search pill right, swipeable nav below */
  .site-header .header-inner {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .site-header .wordmark { order: 1; }
  .site-header .gs-trigger {
    order: 2;
    min-height: 38px;
    padding: 6px 13px;
    font-size: 13px;
  }
  .site-header .main-nav {
    order: 3;
    flex: 1 0 100%;
    padding: 6px 0 2px;
    gap: 18px;
  }

  /* Prevent iOS Safari auto-zoom on tap (requires >= 16px) */
  input[type="text"],
  input[type="search"],
  input[type="number"],
  select,
  .bs-search-input,
  .gs-input {
    font-size: 16px !important;
  }

  .pillar-grid--2 {
    grid-template-columns: 1fr;
  }
  .hero-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  /* Clean horizontal touch-swipe tabs for Club & Tasmania subnavs */
  .club-subnav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    width: 100%;
  }
  .club-subnav-tabs::-webkit-scrollbar { display: none; }
  .club-subnav-tabs a {
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  /* Safe dynamic viewport height for all modals on mobile Safari/Chrome */
  .gs-backdrop { padding: 12px 10px calc(16px + env(safe-area-inset-bottom, 0px)); }
  .gs-modal { max-height: 88dvh; display: flex; flex-direction: column; }
  .gs-body { max-height: none; flex: 1; }
  .oval-lb-shell { height: min(92dvh, 920px); }
  .share-modal-card { max-height: 92dvh; overflow-y: auto; }

  /* Compact Guess-the-Player table & AA builder scroll area */
  .bs-game-shell { padding: 16px 14px; }
  .bs-guess-table { border-spacing: 3px; }
  .bs-guess-table th { font-size: 10px; padding: 5px 4px; }
  .bs-guess-table td { padding: 8px 6px; font-size: 12px; }
  .bs-aa-candidates { max-height: 300px; }
  .bs-locker-bar { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
  .bs-num-btn { min-height: 44px; font-size: 1.15rem; }
}

/* Standard & Small Phones (iPhone SE 375px, Galaxy S 360px, Mini <= 540px) */
@media (max-width: 540px) {
  .off-wrap { width: calc(100% - 24px); }
  .off-hero { padding: 22px 16px 20px; }
  .off-hero-actions,
  .home-ladder-actions,
  .st-spotlight-actions,
  .hb-story-actions,
  .bs-result-btns,
  .split-card-actions {
    flex-direction: column;
    width: 100%;
  }
  .off-hero-actions .button,
  .home-ladder-actions .button,
  .st-spotlight-actions .button,
  .hb-spotlight-band .button,
  .bs-yt-band .button,
  .hb-story-actions .button,
  .bs-result-btns .button,
  .split-card-actions .button {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }

  .hb-trophy-shelf {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 8px 6px;
    padding: 12px 10px;
  }
  .bs-result-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .bs-fin-card,
  .bs-pw-chart-card,
  .bs-pw-detail,
  .bs-aa-picker-panel {
    padding: 14px;
  }
  .st-seg,
  .st-fund-stack > span {
    font-size: 9.5px;
    padding: 0 3px;
  }
  .tas-cd-digits {
    gap: 5px;
  }
  .tas-cd-digits strong {
    font-size: 1.35rem;
  }
  .tas-cd-digits small {
    font-size: 9px;
  }
  .oval-zoom-bar {
    gap: 5px;
    padding: 6px 8px;
  }
  .oval-zoom-btn {
    min-height: 36px;
    padding: 4px 9px;
    font-size: 12px;
  }
}

/* Ultra-narrow screens (<= 380px) */
@media (max-width: 380px) {
  .hero-strip {
    grid-template-columns: 1fr;
  }
  .club-dock-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .bs-locker-bar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ================================================================
   18-CLUB AFL FRONT OFFICE, COACHES & LIST MANAGERS (.fo-*)
   ================================================================ */
.fo-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.fo-hub-card {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid #294063;
  border-top: 3px solid #f9bd4f;
  background: linear-gradient(155deg, #101f36, #08111f);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fo-hub-id {
  display: flex;
  align-items: center;
  gap: 11px;
}
.fo-hub-id img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  padding: 4px;
  border-radius: 9px;
  background: #07101f;
  border: 1px solid #243b5c;
  flex-shrink: 0;
}
.fo-hub-id h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  text-transform: uppercase;
  margin: 0 0 4px;
  line-height: 1.05;
}
.fo-hub-id h3 a { color: #fff; text-decoration: none; }
.fo-hub-id h3 a:hover { color: #f9bd4f; }
.fo-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.fo-mini-grid > div {
  padding: 8px 10px;
  border-radius: 8px;
  background: #081222;
  border: 1px solid #1e3250;
}
.fo-mini-grid span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8aa6c7;
}
.fo-mini-grid strong {
  display: block;
  font-size: 13px;
  color: #f4f8ff;
  margin-top: 2px;
}
.fo-hub-verdict {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #cad8ec;
}
.fo-hub-cta {
  margin-top: auto;
  display: inline-flex;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 9px;
  background: #132542;
  border: 1px solid #35527d;
  color: #ffe388;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
}
.fo-hub-cta:hover { border-color: #f9bd4f; color: #fff; }

.fo-leaders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.fo-leader-card {
  padding: 20px 22px;
  border-radius: 15px;
  border: 1px solid #2b4366;
  border-left: 4px solid var(--club-accent, #f9bd4f);
  background: linear-gradient(155deg, #102038, #091220);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fo-leader-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.fo-role-tag {
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #f9bd4f;
}
.fo-since-pill {
  padding: 3px 9px;
  border-radius: 999px;
  background: #081222;
  border: 1px solid #2c456a;
  font-size: 11px;
  font-weight: 750;
  color: #9ec0e6;
}
.fo-leader-card h3 {
  font-family: var(--display);
  font-size: 1.8rem;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  line-height: 1.04;
}
.fo-leader-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #d2e0f2;
}
.fo-verdict-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.fo-verdict-card {
  padding: 22px 24px;
  border-radius: 15px;
  border: 1px solid #443927;
  border-top: 3px solid #f9bd4f;
  background: linear-gradient(150deg, #161822, #091220);
}
.fo-verdict-card--mint {
  border-color: #214e4a;
  border-top-color: #78ddba;
  background: linear-gradient(150deg, #0d2129, #091220);
}
.fo-verdict-card h2 {
  font-family: var(--display);
  font-size: 1.7rem;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.05;
}
.fo-verdict-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.62;
  color: #d4e1f2;
}
.fo-cross-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
@media (max-width: 1020px) {
  .fo-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .fo-hub-grid, .fo-leaders-grid, .fo-verdict-grid { grid-template-columns: 1fr; }
  .fo-cross-links { flex-direction: column; }
  .fo-cross-links .button { width: 100%; min-height: 46px; }
}
@media (max-width: 420px) {
  .fo-mini-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   808-PLAYER TELEMETRY, ROLLING RATINGS & BROWNLOW STUDIO (.pt-*)
   ================================================================ */
.pt-picker-bar {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.15fr;
  gap: 12px;
  align-items: end;
}
.pt-picker-bar label {
  display: block;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f9bd4f;
  margin-bottom: 5px;
}
.pt-search-box { position: relative; }
.pt-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}
.pt-loading {
  padding: 40px 20px;
  text-align: center;
  color: #9eb6d4;
  border-radius: 14px;
  border: 1px dashed #2e466b;
  background: #091222;
}
.pt-profile-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pt-hero-row {
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid #2e476e;
  border-left: 4px solid #f9bd4f;
  background: radial-gradient(ellipse at 92% 0%, rgba(249,189,79,0.13), transparent 55%), linear-gradient(150deg, #101f37, #08111f);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.pt-hero-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  flex: 1;
}
.pt-hero-jersey { flex-shrink: 0; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.55)); }
.pt-hero-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.pt-hero-left h2 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1;
}
.pt-hero-left h2 span { font-size: 0.56em; color: #f9bd4f; margin-left: 6px; }
.pt-bio-line { margin: 2px 0; font-size: 13.5px; color: #cfe0f5; line-height: 1.45; }
.pt-bio-line strong { color: #fff; }
.pt-hero-actions { display: flex; flex-direction: column; gap: 9px; min-width: 220px; }

/* Prime vs Decline Gauge */
.pt-prime-band {
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid #284063;
  background: linear-gradient(135deg, #0d1c33, #081120);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  align-items: center;
}
.pt-prime-copy p { margin: 0; font-size: 14px; color: #d8e5f5; line-height: 1.55; }
.pt-age-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #8ea8c7;
  margin-bottom: 8px;
}
.pt-age-track {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: #14243d;
  border: 1px solid #2b4469;
}
.pt-prime-zone {
  position: absolute;
  left: 33.3%;
  width: 27.8%;
  top: 0;
  bottom: 0;
  background: rgba(120, 221, 186, 0.32);
  border-left: 1px solid #78ddba;
  border-right: 1px solid #78ddba;
}
.pt-age-pin {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 2px 8px;
  border-radius: 999px;
  background: #f9bd4f;
  color: #08111f;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0,0,0,0.6);
}

/* Interactive Dual-Tab SVG Chart Panel */
.pt-chart-panel {
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid #2b4368;
  background: linear-gradient(160deg, #0e1c33, #07101e);
}
.pt-chart-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.pt-metric-toggle { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-svg-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pt-svg { width: 100%; min-width: 520px; height: auto; display: block; }
.pt-empty-chart {
  padding: 28px 18px;
  text-align: center;
  color: #a6bdd8;
  font-size: 14px;
  border-radius: 10px;
  border: 1px dashed #2e466a;
  background: #081222;
}
.pt-match-inspector {
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  background: #081325;
  border: 1px solid #2a4266;
  font-size: 13px;
  color: #d6e4f6;
}

/* Brownlow & Advanced Two-Col */
.pt-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.pt-bl-card, .pt-pos-card, .pt-compare-card, .pt-best-card {
  padding: 18px 20px;
  border-radius: 15px;
  border: 1px solid #294164;
  background: linear-gradient(155deg, #0f1e35, #08111f);
}
.pt-bl-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.pt-bl-card h3, .pt-compare-card h3, .pt-best-card h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 10px;
}
.pt-bl-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.pt-bl-kpis > div, .pt-adv-grid > div {
  padding: 9px 8px;
  border-radius: 9px;
  background: #07101f;
  border: 1px solid #1f3350;
  text-align: center;
}
.pt-bl-kpis strong, .pt-adv-grid strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  color: #fff;
  line-height: 1.05;
}
.pt-bl-kpis span, .pt-adv-grid span { font-size: 10px; color: #8da7c6; }
.pt-bl-bar {
  display: flex;
  height: 26px;
  border-radius: 8px;
  overflow: hidden;
  background: #07101f;
  border: 1px solid #284163;
}
.pt-bl-bar > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  color: #08111f;
  white-space: nowrap;
  overflow: hidden;
}
.pt-pos-list { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.pt-pos-pill {
  padding: 5px 10px;
  border-radius: 7px;
  background: #081222;
  border: 1px solid #2b4469;
  font-size: 12px;
  color: #cfe0f6;
}
.pt-pos-pill strong { color: #78ddba; margin-right: 4px; }
.pt-adv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.pt-up { color: #78ddba; font-weight: 850; }
.pt-down { color: #ff8ea5; font-weight: 850; }
.pt-log-details {
  border-radius: 14px;
  border: 1px solid #294164;
  background: #091222;
  padding: 14px 18px;
}
.pt-log-details summary {
  cursor: pointer;
  font-weight: 800;
  color: #f9bd4f;
  font-size: 14px;
}
.pt-log-details[open] summary { margin-bottom: 12px; }

/* League Leaderboards */
.pt-lb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pt-lb-card {
  padding: 18px;
  border-radius: 15px;
  border: 1px solid #294164;
  background: linear-gradient(155deg, #0f1e35, #08111f);
}
.pt-lb-card h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 12px;
}
.pt-lb-list { display: flex; flex-direction: column; gap: 6px; }
.pt-lb-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 9px;
  border: 1px solid #1f3350;
  background: #081120;
  color: #eef5ff;
  font-size: 13px;
  cursor: pointer;
  text-align: left;
}
.pt-lb-row:hover { border-color: #f9bd4f; background: #12233f; }
.pt-lb-row small { color: #8da7c6; }
a.player-name { color: inherit; text-decoration: none; }
a.player-name:hover { color: #f9bd4f; text-decoration: underline; }

@media (max-width: 1020px) {
  .pt-picker-bar, .pt-prime-band, .pt-two-col, .pt-lb-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pt-hero-row { padding: 16px; }
  .pt-hero-left { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pt-hero-actions { width: 100%; min-width: 0; }
  .pt-hero-actions .button { width: 100%; min-height: 46px; }
  .pt-bl-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pt-adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-chart-panel, .pt-bl-card, .pt-pos-card, .pt-compare-card, .pt-best-card { padding: 14px; }
}

/* Interactive Pop-Up Stadium KPI Button (Tasmania Devils Hero) */
@keyframes tasKpiFloat {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(244, 214, 17, 0.25); }
  50% { transform: translateY(-4px) scale(1.015); box-shadow: 0 16px 32px rgba(244, 214, 17, 0.22), 0 0 0 1.5px rgba(244, 214, 17, 0.65); }
}
@keyframes tasKpiShimmer {
  0% { transform: translateX(-140%) skewX(-20deg); }
  35%, 100% { transform: translateX(260%) skewX(-20deg); }
}
a.kpi-card--pop {
  display: block;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid rgba(244, 214, 17, 0.72);
  border-top: 3px solid #F4D611;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(244, 214, 17, 0.22), transparent 58%),
    linear-gradient(155deg, #073a35 0%, #0d1d2d 100%);
  animation: tasKpiFloat 3.4s ease-in-out infinite;
  transition: transform 0.22s cubic-bezier(0.22, 1.35, 0.36, 1), border-color 0.2s ease, box-shadow 0.22s ease;
}
a.kpi-card--pop::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(244, 214, 17, 0.16), transparent);
  pointer-events: none;
  animation: tasKpiShimmer 4.5s ease-in-out infinite;
}
a.kpi-card--pop:hover,
a.kpi-card--pop:focus-visible {
  animation: none;
  transform: translateY(-7px) scale(1.04) rotate(-0.8deg);
  border-color: #fff08a;
  box-shadow: 0 20px 38px rgba(244, 214, 17, 0.32), 0 0 0 2px rgba(244, 214, 17, 0.75);
}
.kpi-pop-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #F4D611;
  color: #032220;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease;
}
a.kpi-card--pop:hover .kpi-pop-pill {
  transform: translateX(3px);
  background: #fff29a;
}
@media (prefers-reduced-motion: reduce) {
  a.kpi-card--pop, a.kpi-card--pop::after { animation: none !important; }
}

/* =========================================================================
   FINAL-BOSS UPGRADES: PIN MY AFL CLUB BAR (.mc-*), HEAD-TO-HEAD PLAYER
   COMPARE (.pc-*), 2027 AFL DVI CALCULATOR (.dvi-*) & CLUBROOMS QUIZ (.hbq-*)
   ========================================================================= */

/* 1. Site-Wide "Pin My AFL Club" Personalisation Bar */
.mc-bar {
  background: linear-gradient(90deg, rgba(11, 21, 39, 0.98) 0%, rgba(18, 31, 56, 0.98) 100%);
  border-top: 1px solid rgba(249, 189, 79, 0.2);
  border-bottom: 1px solid rgba(120, 221, 186, 0.14);
  padding: 5px 0;
  min-height: 36px;
}
.mc-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
  min-height: 26px;
}
.mc-bar.is-unset .mc-inner {
  justify-content: center;
  gap: 12px;
}
.mc-prompt {
  font-size: 12.5px;
  font-weight: 700;
  color: #cfe0f5;
  white-space: nowrap;
}
.mc-select {
  background: #0a1529;
  color: #f9bd4f;
  border: 1px solid rgba(249, 189, 79, 0.45);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  min-height: 28px;
}
.mc-select:focus-visible {
  outline: 2px solid #f9bd4f;
  outline-offset: 2px;
}
.mc-club-id {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.mc-club-id img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}
.mc-club-id strong {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #f9bd4f;
  white-space: nowrap;
}
.mc-links {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1 1 auto;
  min-width: 0;
}
.mc-links::-webkit-scrollbar { display: none; }
.mc-links a {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #dce9f9;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.mc-links a:hover {
  background: rgba(249, 189, 79, 0.16);
  border-color: rgba(249, 189, 79, 0.55);
  color: #fff;
}
.mc-change {
  background: transparent;
  color: #8ea9ca;
  border: 1px solid rgba(142, 169, 202, 0.3);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}
.mc-change:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

/* 2. Head-to-Head 808-Player Comparison Studio (.pc-*) */
.pc-picker-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: end;
  margin: 18px 0 14px;
}
.pc-picker-box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pc-picker-box label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pc-swap-btn {
  height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(249, 189, 79, 0.45);
  background: rgba(249, 189, 79, 0.12);
  color: #f9bd4f;
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease;
}
.pc-swap-btn:hover {
  background: rgba(249, 189, 79, 0.22);
  transform: translateY(-1px);
}
.pc-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pc-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(13, 25, 46, 0.96), rgba(9, 17, 32, 0.98));
  border: 1px solid rgba(148, 176, 214, 0.22);
  box-shadow: 0 18px 40px rgba(3, 8, 18, 0.45);
}
.pc-side {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.pc-side--b {
  justify-content: flex-end;
  text-align: right;
}
.pc-kicker {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.pc-side h2 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  text-transform: uppercase;
  line-height: 1.05;
}
.pc-side h2 a {
  color: #fff;
  text-decoration: none;
}
.pc-side h2 a:hover {
  color: #f9bd4f;
}
.pc-side p {
  margin: 0 0 8px;
  font-size: 13px;
  color: #a9c2df;
}
.pc-score-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 0 10px;
}
.pc-vs-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: #a9c2df;
}
.pc-score-mid strong {
  font-family: var(--display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: #fff;
}
.pc-verdict-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.pc-verdict-box {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(12, 23, 42, 0.92);
  border: 1px solid rgba(249, 189, 79, 0.34);
  border-left: 4px solid #f9bd4f;
}
.pc-verdict-box--mint {
  border-color: rgba(120, 221, 186, 0.34);
  border-left-color: #78ddba;
}
.pc-verdict-box strong {
  display: block;
  font-size: 1.08rem;
  color: #fff;
  margin-bottom: 5px;
}
.pc-verdict-box p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #b8cee6;
}
.pc-tug-card {
  padding: 20px;
  border-radius: 16px;
  background: rgba(10, 20, 38, 0.94);
  border: 1px solid rgba(148, 176, 214, 0.2);
}
.pc-tug-card h3 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 1.45rem;
  text-transform: uppercase;
  color: #fff;
}
.pc-tug-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pc-tug-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pc-tug-head {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 76px;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
}
.pc-tug-head span {
  text-align: center;
  font-weight: 700;
  color: #c5d8ee;
}
.pc-tug-head strong:last-child {
  text-align: right;
}
.pc-tug-head strong {
  color: #9cb4d1;
  font-variant-numeric: tabular-nums;
}
.pc-win-a { color: #f9bd4f !important; }
.pc-win-b { color: #78ddba !important; }
.pc-tug-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  height: 11px;
}
.pc-bar-l, .pc-bar-r {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
  display: flex;
}
.pc-bar-l { justify-content: flex-end; }
.pc-bar-r { justify-content: flex-start; }
.pc-bar-l > div, .pc-bar-r > div {
  height: 100%;
  border-radius: 999px;
  transition: width 0.28s ease;
}

/* 3. 2027 AFL Bid-Matching & Pick-Trade DVI Calculator (.dvi-*) */
.dvi-shell {
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(13, 25, 47, 0.96), rgba(9, 17, 32, 0.98));
  border: 1px solid rgba(249, 189, 79, 0.34);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dvi-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.35fr);
  gap: 14px;
  align-items: end;
}
.dvi-controls label {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a9c2df;
  margin-bottom: 6px;
}
.dvi-controls select {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #0a1529;
  color: #fff;
  border: 1px solid rgba(148, 176, 214, 0.32);
  font-size: 14.5px;
  font-weight: 700;
}
.dvi-add-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.dvi-add-row select { flex: 1 1 auto; min-width: 0; }
.dvi-add-row .button { flex-shrink: 0; white-space: nowrap; }
.dvi-preset-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dvi-hand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(7, 15, 29, 0.72);
  border: 1px dashed rgba(148, 176, 214, 0.28);
  min-height: 52px;
}
.dvi-hand-lbl {
  font-size: 12.5px;
  font-weight: 800;
  color: #b7cde6;
  margin-right: 4px;
}
.dvi-pick-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(249, 189, 79, 0.14);
  border: 1px solid rgba(249, 189, 79, 0.5);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.dvi-pick-pill strong { color: #f9bd4f; }
.dvi-pick-pill:hover {
  background: rgba(255, 110, 130, 0.2);
  border-color: #ff8ea5;
}
.dvi-verdict-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.dvi-stat {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(9, 18, 34, 0.92);
  border: 1px solid rgba(148, 176, 214, 0.22);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dvi-stat span {
  font-size: 11.5px;
  font-weight: 700;
  color: #9bb5d4;
}
.dvi-stat strong {
  font-family: var(--display);
  font-size: 1.45rem;
  color: #fff;
  letter-spacing: 0.02em;
}
.dvi-stat--wide {
  grid-column: 1 / -1;
  background: rgba(8, 22, 36, 0.96);
  border-width: 1.5px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.dvi-cta-row {
  display: flex;
  justify-content: flex-end;
}

/* 4. Interactive AFL Clubrooms & Premiership Challenge Quiz (.hbq-*) */
.hbq-card {
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(38, 19, 10, 0.96) 0%, rgba(16, 13, 18, 0.98) 100%);
  border: 1.5px solid rgba(245, 194, 59, 0.44);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
}
.hbq-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.hbq-card h3 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  color: #fff8e1;
  line-height: 1.18;
}
.hbq-opts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.hbq-opt {
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 194, 59, 0.28);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}
.hbq-opt:hover:not(:disabled) {
  background: rgba(245, 194, 59, 0.16);
  border-color: #f5c23b;
  transform: translateY(-1px);
}
.hbq-opt.is-right {
  background: rgba(37, 158, 109, 0.28);
  border-color: #78ddba;
  color: #e9fff6;
}
.hbq-opt.is-wrong {
  background: rgba(220, 53, 69, 0.25);
  border-color: #ff8ea5;
  color: #ffe8ec;
}
.hbq-feedback {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(245, 194, 59, 0.24);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.hbq-feedback p {
  margin: 0;
  font-size: 14px;
  color: #f4e4c7;
  flex: 1 1 280px;
}
.hbq-done { text-align: center; }
.hbq-done .bs-result-btns { justify-content: center; }

/* Responsive Tablet & Mobile Layer for Final-Boss Upgrades */
@media (max-width: 960px) {
  .pc-banner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .pc-side--b {
    justify-content: flex-start;
    text-align: left;
    flex-direction: row-reverse;
  }
  .pc-score-mid {
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .dvi-controls {
    grid-template-columns: 1fr;
  }
  .dvi-verdict-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .mc-bar.is-unset .mc-inner {
    justify-content: space-between;
    gap: 8px;
  }
  .mc-prompt {
    font-size: 11.5px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mc-select {
    font-size: 16px; /* prevent iOS Safari zoom */
    padding: 3px 10px;
  }
  .mc-club-id strong {
    display: none;
  }
  .pc-picker-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .pc-swap-btn {
    width: 100%;
    height: 42px;
  }
  .pc-verdict-row,
  .hbq-opts {
    grid-template-columns: 1fr;
  }
  .dvi-controls select {
    font-size: 16px; /* prevent iOS Safari zoom */
  }
  .dvi-add-row {
    flex-direction: column;
  }
  .dvi-cta-row .button,
  .hbq-feedback .button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 540px) {
  .dvi-verdict-grid {
    grid-template-columns: 1fr;
  }
  .pc-tug-head {
    grid-template-columns: 60px minmax(0, 1fr) 60px;
    font-size: 12.5px;
  }
  .pc-banner, .pc-tug-card, .dvi-shell, .hbq-card {
    padding: 15px;
  }
}

/* =========================================================================
   HONOUR BOARD INTERACTIVE MUSEUM POPOVERS (GF SCORES & BROWNLOW TOP 3)
   ========================================================================= */
.hb-interact-hint {
  margin: -4px 0 12px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(245, 214, 146, 0.82);
  letter-spacing: 0.02em;
}
button.hb-trophy-slot {
  font: inherit;
  color: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.18s cubic-bezier(0.22, 1.35, 0.36, 1), border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
button.hb-trophy-slot:hover,
button.hb-trophy-slot:focus-visible,
button.hb-trophy-slot.is-tip-open {
  transform: translateY(-4px) scale(1.06);
  border-color: #f5c23b;
  background: rgba(245, 194, 59, 0.18);
  box-shadow: 0 10px 22px rgba(245, 194, 59, 0.25), 0 0 0 1.5px rgba(245, 194, 59, 0.65);
  outline: none;
}
button.hb-mini-cup {
  padding: 2px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
button.hb-mini-cup:hover,
button.hb-mini-cup:focus-visible,
button.hb-mini-cup.is-tip-open {
  transform: translateY(-3px) scale(1.18);
  border-color: rgba(245, 194, 59, 0.7);
  background: rgba(245, 194, 59, 0.15);
  outline: none;
}
button.hb-brownlow-plaque {
  font: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}
button.hb-brownlow-plaque:hover,
button.hb-brownlow-plaque:focus-visible,
button.hb-brownlow-plaque.is-tip-open {
  transform: translateY(-2px);
  border-color: #f5c23b;
  background: rgba(245, 194, 59, 0.2);
  box-shadow: 0 8px 20px rgba(245, 194, 59, 0.22);
  outline: none;
}

.hb-pop {
  position: absolute;
  z-index: 9990;
  width: max-content;
  min-width: 264px;
  max-width: min(360px, calc(100vw - 24px));
  padding: 13px 15px;
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(35, 18, 9, 0.98) 0%, rgba(12, 16, 26, 0.99) 100%);
  border: 1.5px solid rgba(245, 194, 59, 0.72);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 240, 175, 0.16) inset;
  color: #f8eed8;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(4px) scale(0.98);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.hb-pop.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.hb-pop-kicker {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #f5c23b;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hb-pop-match {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 8px;
}
.hb-pop-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
  color: #b7c4d6;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}
.hb-pop-team.is-win {
  color: #fff8e2;
  background: rgba(245, 194, 59, 0.16);
  border: 1px solid rgba(245, 194, 59, 0.4);
  font-weight: 800;
}
.hb-pop-team strong {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hb-pop-team.is-win strong {
  color: #f9d164;
}
.hb-pop-margin {
  font-size: 12.5px;
  color: #78ddba;
  font-weight: 700;
}
.hb-pop-margin strong {
  color: #a9f4d7;
}
.hb-pop-note {
  margin: 7px 0 0;
  padding-top: 7px;
  border-top: 1px solid rgba(245, 194, 59, 0.22);
  font-size: 11.8px;
  line-height: 1.42;
  color: #d6c5a7;
}
.hb-pop-bl-year + .hb-pop-bl-year {
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid rgba(245, 194, 59, 0.3);
}
.hb-pop-bl-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hb-pop-bl-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
}
.hb-pop-bl-row.is-hl {
  background: rgba(245, 194, 59, 0.16);
  border: 1px solid rgba(245, 194, 59, 0.42);
}
.hb-pop-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 5px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 900;
  text-transform: uppercase;
}
.hb-pop-rank--1 { background: #f5c23b; color: #1f1205; }
.hb-pop-rank--2 { background: #c5d2e0; color: #101b2c; }
.hb-pop-rank--3 { background: #c68652; color: #1b0e05; }
.hb-pop-bl-name {
  color: #f4ead6;
  font-weight: 700;
  line-height: 1.25;
}
.hb-pop-bl-name small {
  color: #a9bad0;
  font-weight: 700;
}
.hb-pop-bl-v {
  color: #f9d164;
  font-variant-numeric: tabular-nums;
  font-size: 13.5px;
  white-space: nowrap;
}
.hb-pop-bl-v::after {
  content: ' v';
  font-size: 10.5px;
  font-weight: 700;
  color: #b7c4d6;
}
