/* heisman.css — standalone "prestige" palette for the Heisman page.
 *
 * REDESIGN (2026-06-06): full layout overhaul to concept quality.
 * Hero: trophy as focal element, gold-dominant prestige hub.
 * Frontrunner spotlight: large player card pulled out of the race panel.
 * Two-panel: race tracker + ballot as distinct composed sections.
 *
 * SCOPED to html[data-route="/heisman"] so it CANNOT affect any other page.
 * Loaded last in index.html so it wins.
 */

/* ---- Palette tokens ---- */
html[data-route="/heisman"] {
  --hm-bronze:       #C7884A;
  --hm-bronze-deep:  #8A5A2B;
  --hm-bronze-dim:   rgba(199,136,74,.35);
  --hm-gold-leaf:    #E8C77A;
  --hm-gold-bright:  #F5D987;
  --hm-gold-dim:     rgba(232,199,122,.18);
  --hm-wood:         #0f0f0f;
  --hm-wood-2:       #141414;
  --hm-wood-3:       #070707;
  --hm-ivy:          #8a5a2b;
  --hm-ivy-dim:      rgba(199,136,74,.35);
  --hm-ivory:        #F4ECD8;
  --hm-ivory-dim:    rgba(244,236,216,.65);
  --hm-shadow:       rgba(0,0,0,.72);
}

/* ---- Page background ---- */
html[data-route="/heisman"] .content {
  background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%) !important;
  padding-top: 0 !important;
}

/* ==================================================================
   HERO SECTION
   ================================================================== */

html[data-route="/heisman"] .ht-hero-section {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
  margin-bottom: 0;
}

/* Radial spotlight bg */
html[data-route="/heisman"] .ht-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 100%, rgba(199,136,74,.22) 0%, transparent 65%),
    radial-gradient(ellipse 100% 80% at 50% -10%, #211c15 0%, transparent 55%),
    linear-gradient(180deg, #0e0e0e 0%, #050505 100%);
  z-index: 0;
}

/* Diagonal gold accent lines (concept art texture) */
html[data-route="/heisman"] .ht-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(232,199,122,.06) 0%, transparent 40%),
    linear-gradient(225deg, rgba(199,136,74,.04) 0%, transparent 40%);
  z-index: 1;
}

/* Trophy image */
html[data-route="/heisman"] .ht-hero-trophy-wrap {
  position: absolute;
  right: 0;
  bottom: -20px;
  width: 220px;
  z-index: 2;
  pointer-events: none;
}

html[data-route="/heisman"] .ht-trophy-photoreal {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 8px 32px rgba(0,0,0,.8))
    drop-shadow(0 0 40px rgba(199,136,74,.5))
    drop-shadow(0 0 80px rgba(232,199,122,.2));
}

html[data-route="/heisman"] .ht-trophy-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 60px;
  background: radial-gradient(ellipse, rgba(199,136,74,.4) 0%, transparent 70%);
  filter: blur(16px);
}

/* Hero text */
html[data-route="/heisman"] .ht-hero-content {
  position: relative;
  z-index: 3;
  padding: 48px 20px 32px;
  max-width: calc(100% - 200px);
}

html[data-route="/heisman"] .ht-hero-eyebrow-row {
  margin-bottom: 10px;
}

html[data-route="/heisman"] .ht-eyebrow-badge {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--hm-bronze, #C7884A);
  text-transform: uppercase;
  border: 1px solid rgba(199,136,74,.4);
  border-radius: 3px;
  padding: 3px 8px;
  background: rgba(199,136,74,.1);
}

html[data-route="/heisman"] .ht-eyebrow-badge--live {
  border-color: rgba(232,199,122,.5);
  color: var(--hm-gold-leaf, #E8C77A);
  background: rgba(232,199,122,.12);
}

html[data-route="/heisman"] .ht-hero-title {
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--hm-gold-leaf, #E8C77A) !important;
  text-shadow:
    0 2px 0 #5a3c12,
    0 0 40px rgba(232,199,122,.35),
    0 0 80px rgba(199,136,74,.2);
  margin: 0 0 12px;
  text-transform: uppercase;
}

html[data-route="/heisman"] .ht-hero-title-accent {
  display: block;
  color: var(--hm-ivory, #F4ECD8) !important;
  font-size: .72em;
  letter-spacing: .18em;
  text-shadow: 0 1px 0 rgba(0,0,0,.5);
}

html[data-route="/heisman"] .ht-hero-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

html[data-route="/heisman"] .ht-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hm-bronze, #C7884A);
  opacity: .7;
}

html[data-route="/heisman"] .ht-hero-week {
  font-size: 16px;
  font-weight: 600;
  color: var(--hm-ivory-dim, rgba(244,236,216,.65));
  letter-spacing: .06em;
}

html[data-route="/heisman"] .ht-season-toggle-wrap {
  display: inline-flex;
  align-items: center;
}

html[data-route="/heisman"] .ht-hero-tagline {
  font-size: 16px;
  line-height: 1.55;
  color: var(--hm-ivory-dim, rgba(244,236,216,.65)) !important;
  max-width: 380px;
  margin: 0;
}

/* ==================================================================
   FRONTRUNNER SPOTLIGHT (between hero and dual-panel)
   ================================================================== */

html[data-route="/heisman"] .ht-frontrunner-section {
  background: linear-gradient(180deg, #0c0c0c 0%, #050505 100%);
  border-top: 1px solid rgba(199,136,74,.22);
  border-bottom: 1px solid rgba(199,136,74,.18);
  padding: 24px 20px 28px;
}

/* Centered showcase: FRONT-RUNNER label above, trading card below */
html[data-route="/heisman"] .ht-frontrunner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

html[data-route="/heisman"] .ht-fr-label { flex-shrink: 0; }

html[data-route="/heisman"] .ht-leader {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* ==================================================================
   FRONT-RUNNER TRADING CARD
   Faithful to screens/heisman/ref/Heisman_Watch_Player_Tile.png:
   black outer frame → gold-rule bronze face (dot-matrix + two
   bright-edged diagonal corner facets) → gold-ring portrait →
   gold-foil name → school w/ full-width flanking rules →
   muted "HEISMAN WATCH" footer.
   ================================================================== */
html[data-route="/heisman"] .ht-leader-card {
  position: relative;
  width: 100%;
  max-width: 270px;
  aspect-ratio: 5 / 7;
  padding: 8px;                              /* black outer frame thickness */
  border-radius: 16px;
  background: #050505;
  box-shadow: 0 20px 48px rgba(0,0,0,.6), inset 0 0 0 1px rgba(199,136,74,.18);
}

/* Bronze card face + gold inner rule */
html[data-route="/heisman"] .ht-card-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 22px 18px;
  border-radius: 9px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(232,199,122,.5);
  background:
    radial-gradient(ellipse 92% 55% at 50% 28%, rgba(140,104,56,.24) 0%, transparent 62%),
    radial-gradient(ellipse 135% 120% at 50% 46%, transparent 42%, rgba(0,0,0,.66) 100%),
    linear-gradient(180deg, #151515 0%, #0d0d0d 52%, #0a0a0a 100%);
}
/* keep all card content above the texture/facet pseudo-layers */
html[data-route="/heisman"] .ht-card-inner > * { position: relative; z-index: 2; }

/* Dot-matrix texture, faded out behind the portrait */
html[data-route="/heisman"] .ht-card-inner::before {
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(232,199,122,.14) 1px, transparent 1.6px);
  background-size: 12px 12px;
  -webkit-mask-image: radial-gradient(ellipse 78% 66% at 50% 38%, transparent 28%, #000 92%);
          mask-image: radial-gradient(ellipse 78% 66% at 50% 38%, transparent 28%, #000 92%);
  opacity: .6;
}

/* Two bright-edged diagonal corner facets (top-left + bottom-right) */
html[data-route="/heisman"] .ht-card-inner::after {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    /* top-left: darkening wedge + bright edge + faint second line */
    linear-gradient(to bottom right,
      rgba(8,5,2,.34) 0, rgba(8,5,2,.34) 23%,
      rgba(232,199,122,.34) 23%, rgba(232,199,122,.34) 23.5%,
      transparent 23.5%, transparent 29%,
      rgba(232,199,122,.13) 29%, rgba(232,199,122,.13) 29.3%,
      transparent 29.3%),
    /* bottom-right: warm bronze wedge + gold edge */
    linear-gradient(to top left,
      rgba(140,102,55,.26) 0, rgba(140,102,55,.26) 28%,
      rgba(232,199,122,.36) 28%, rgba(232,199,122,.36) 28.6%,
      transparent 28.6%);
}

/* Gold-ring circular portrait */
html[data-route="/heisman"] .ht-card-portrait {
  width: 63%;
  aspect-ratio: 1;
  margin-top: 8%;
}
html[data-route="/heisman"] .ht-leader-avatar {
  position: relative;
  width: 100%; height: 100%;
  display: grid; place-items: center;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--hm-gold-leaf, #E8C77A);
  box-shadow: 0 0 0 3px rgba(0,0,0,.35), 0 10px 26px rgba(0,0,0,.55);
  background: radial-gradient(circle at 50% 35%, #141414, #070707);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(2rem, 10vw, 3.2rem);
  font-weight: 800;
  color: var(--hm-bronze, #C7884A);
}
html[data-route="/heisman"] .ht-leader-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 20%;
  border-radius: 50%;
}

/* Gold-foil player name */
html[data-route="/heisman"] .ht-card-name {
  margin-top: auto;                          /* pushes name+school into lower third */
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 8.5vw, 2.55rem);
  line-height: 1;
  letter-spacing: .005em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(180deg,
    #E0BE73 0%, #F6E29A 38%, #EBCB7E 52%, #B98232 80%, #8A5A2B 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.4));
}

/* School subtitle with full-width flanking rules */
html[data-route="/heisman"] .ht-card-school {
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  width: 88%;
  margin-top: 14px;
  color: var(--hm-ivory-dim, rgba(244,236,216,.62)) !important;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: var(--sns-fs-14, 0.85rem);
  letter-spacing: .24em;
  text-transform: uppercase;
}
html[data-route="/heisman"] .ht-card-school > span { flex: 0 0 auto; }
html[data-route="/heisman"] .ht-card-school::before,
html[data-route="/heisman"] .ht-card-school::after {
  content: ""; flex: 1 1 auto; height: 1px;
}
html[data-route="/heisman"] .ht-card-school::before {
  background: linear-gradient(90deg, transparent, rgba(199,136,74,.7));
}
html[data-route="/heisman"] .ht-card-school::after {
  background: linear-gradient(90deg, rgba(199,136,74,.7), transparent);
}

/* "HEISMAN WATCH" footer */
html[data-route="/heisman"] .ht-card-foot {
  margin-top: auto;
  padding-top: 18px;
  color: rgba(232,214,180,.55);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: var(--sns-fs-12, 0.74rem);
  letter-spacing: .34em;
  text-transform: uppercase;
}

/* "VIEW WALL" CTA link on the trading card */
html[data-route="/heisman"] .ht-view-wall-btn {
  display: block;
  margin-top: 14px;
  padding: 8px 22px;
  border: 1px solid rgba(199,136,74,.55);
  border-radius: 6px;
  background: rgba(199,136,74,.12);
  color: var(--hm-gold-leaf, #E8C77A) !important;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: background .15s, border-color .15s;
  -webkit-text-fill-color: var(--hm-gold-leaf, #E8C77A) !important;
  background-clip: unset !important;
  -webkit-background-clip: unset !important;
}
html[data-route="/heisman"] .ht-view-wall-btn:hover,
html[data-route="/heisman"] .ht-view-wall-btn:focus-visible {
  background: rgba(199,136,74,.25);
  border-color: rgba(232,199,122,.8);
}

html[data-route="/heisman"] .ht-delta {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

html[data-route="/heisman"] .mv-new  { color: var(--hm-gold-leaf, #E8C77A) !important; background: rgba(232,199,122,.12); }
html[data-route="/heisman"] .mv-up   { color: #6ecf82 !important; background: rgba(110,207,130,.1); }
html[data-route="/heisman"] .mv-dn   { color: #e06060 !important; background: rgba(224,96,96,.1); }
html[data-route="/heisman"] .mv-flat { color: var(--hm-ivory-dim, rgba(244,236,216,.65)) !important; }

/* Live / placeholder badges */
html[data-route="/heisman"] .ht-badge {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
}
html[data-route="/heisman"] .ht-badge--live {
  background: rgba(110,207,130,.15);
  color: #6ecf82;
  border: 1px solid rgba(110,207,130,.3);
}
html[data-route="/heisman"] .ht-badge--placeholder {
  background: rgba(224,96,96,.12);
  color: #e06060;
  border: 1px solid rgba(224,96,96,.25);
}

html[data-route="/heisman"] .ht-empty {
  padding: 16px 0;
  color: var(--hm-ivory-dim, rgba(244,236,216,.65));
  font-size: 16px;
}

/* ==================================================================
   TWO-PANEL LAYOUT
   ================================================================== */

html[data-route="/heisman"] .ht-dual-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px;
}

@media (max-width: 700px) {
  html[data-route="/heisman"] .ht-dual-section {
    grid-template-columns: 1fr;
  }
}

html[data-route="/heisman"] .ht-panel {
  background: linear-gradient(180deg, var(--hm-wood-2, #141414), var(--hm-wood, #0f0f0f));
  border: 1px solid rgba(199,136,74,.35);
  border-radius: 12px;
  box-shadow:
    0 1px 0 rgba(232,199,122,.1) inset,
    0 18px 40px rgba(0,0,0,.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

html[data-route="/heisman"] .ht-panel--race {
  border-top: 3px solid var(--hm-bronze, #C7884A);
}

html[data-route="/heisman"] .ht-panel--vote {
  border-left: 3px solid var(--hm-ivy, #8a5a2b);
}

html[data-route="/heisman"] .ht-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 20px 14px;
  border-bottom: 1px solid rgba(199,136,74,.18);
}

html[data-route="/heisman"] .ht-panel-head-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

html[data-route="/heisman"] .ht-panel-head-icon {
  color: var(--hm-gold-leaf, #E8C77A);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- Eyebrows, subheads ---- */
html[data-route="/heisman"] .card-eyebrow,
html[data-route="/heisman"] .ht-subhead,
html[data-route="/heisman"] .ht-source {
  color: var(--hm-bronze, #C7884A) !important;
  letter-spacing: .18em !important;
}

/* .content-scoped so it outranks components.css `.card-title{color:white!important}` */
html[data-route="/heisman"] .content .card-title,
html[data-route="/heisman"] .content .ht-hero-title {
  color: var(--hm-gold-leaf, #E8C77A) !important;
  text-shadow: 0 1px 0 #5a3c12, 0 0 22px rgba(232,199,122,.25) !important;
}

/* ---- Body copy: ivory for legibility on wood ---- */
html[data-route="/heisman"] .ht-hero-tagline,
html[data-route="/heisman"] .content p,
html[data-route="/heisman"] .content li {
  color: var(--hm-ivory, #F4ECD8) !important;
}

/* Note / source text: dimmed ivory */
html[data-route="/heisman"] .ht-note,
html[data-route="/heisman"] .ht-source {
  color: var(--hm-ivory-dim, rgba(244,236,216,.65)) !important;
}

/* ---- Odds area ---- */
html[data-route="/heisman"] .ht-odds-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 20px 8px;
  gap: 8px;
  flex-wrap: wrap;
}

html[data-route="/heisman"] .ht-subhead {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0;
}

html[data-route="/heisman"] .ht-source {
  font-size: 16px;
  letter-spacing: .04em;
}

html[data-route="/heisman"] .ht-trend-list {
  list-style: none;
  margin: 0;
  padding: 0 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

html[data-route="/heisman"] .ht-trend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid rgba(199,136,74,.16);
}

html[data-route="/heisman"] .ht-trend-item:first-child {
  border-top: none;
}

html[data-route="/heisman"] .ht-trend-rank {
  font-size: 16px;
  font-weight: 700;
  color: var(--hm-bronze, #C7884A) !important;
  width: 18px;
  flex-shrink: 0;
  text-align: center;
}

html[data-route="/heisman"] .ht-trend-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

html[data-route="/heisman"] .ht-trend-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--hm-ivory, #F4ECD8);
  letter-spacing: .02em;
}

html[data-route="/heisman"] .ht-trend-meta {
  font-size: 16px;
  color: var(--hm-ivory-dim, rgba(244,236,216,.65)) !important;
}

html[data-route="/heisman"] .ht-trend-odds {
  font-size: 16px;
  font-weight: 700;
  color: var(--hm-gold-leaf, #E8C77A) !important;
  white-space: nowrap;
  letter-spacing: .04em;
}

html[data-route="/heisman"] .ht-note {
  font-size: 16px;
  line-height: 1.5;
  padding: 12px 20px 16px;
  border-top: 1px solid rgba(199,136,74,.14);
  margin: 0;
}

/* ---- Tally bar ---- */
html[data-route="/heisman"] .ht-tally-bar {
  background: linear-gradient(90deg, var(--hm-bronze, #C7884A), var(--hm-gold-leaf, #E8C77A)) !important;
}

/* ==================================================================
   BALLOT PANEL inner
   ================================================================== */

html[data-route="/heisman"] .hm-ballot-mount {
  padding: 16px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

html[data-route="/heisman"] .hm-ballot-mount > * {
  border-color: var(--hm-bronze-dim, rgba(199,136,74,.35)) !important;
  background: linear-gradient(180deg, rgba(20,20,20,.8), rgba(12,12,12,.9)) !important;
  box-shadow: 0 1px 0 rgba(232,199,122,.10) inset, 0 6px 18px rgba(0,0,0,.4) !important;
  flex: 1;
}

html[data-route="/heisman"] .hm-ballot select,
html[data-route="/heisman"] .hm-ballot input,
html[data-route="/heisman"] .hm-ballot .field,
html[data-route="/heisman"] .hm-ballot label {
  border-color: rgba(199,136,74,.3) !important;
  outline-color: var(--hm-bronze, #C7884A) !important;
}
html[data-route="/heisman"] .hm-ballot select:focus,
html[data-route="/heisman"] .hm-ballot input:focus,
html[data-route="/heisman"] .hm-ballot select:focus-visible,
html[data-route="/heisman"] .hm-ballot input:focus-visible {
  border-color: var(--hm-bronze, #C7884A) !important;
  outline: 2px solid rgba(199,136,74,.5) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 3px rgba(199,136,74,.18) !important;
}

html[data-route="/heisman"] .hm-rank {
  color: var(--hm-gold-leaf, #E8C77A) !important;
}

/* ---- Primary button ---- */
html[data-route="/heisman"] .btn-primary {
  background: linear-gradient(180deg, var(--hm-bronze, #C7884A), var(--hm-bronze-deep, #8A5A2B)) !important;
  border-color: var(--hm-gold-leaf, #E8C77A) !important;
  color: #1a1206 !important;
}
html[data-route="/heisman"] .btn-primary:hover {
  background: linear-gradient(180deg, #d4985e, #9a6835) !important;
  box-shadow: 0 4px 18px rgba(199,136,74,.4) !important;
}

/* ==================================================================
   SEASON TOGGLE (components.css .season-toggle overrides)
   ================================================================== */

html[data-route="/heisman"] .season-toggle {
  border-color: rgba(199,136,74,.4) !important;
  background: rgba(199,136,74,.1) !important;
}

html[data-route="/heisman"] .season-toggle input:checked + label,
html[data-route="/heisman"] .season-toggle [aria-checked="true"] {
  background: var(--hm-bronze, #C7884A) !important;
  color: #1a1206 !important;
}

/* ==================================================================
   TOAST
   ================================================================== */

html[data-route="/heisman"] .ht-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--hm-wood-2, #141414);
  border: 1px solid var(--hm-bronze, #C7884A);
  color: var(--hm-ivory, #F4ECD8);
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s, transform .22s;
  z-index: 999;
  white-space: nowrap;
}

html[data-route="/heisman"] .ht-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---- Focus ring: replace site red with bronze ---- */
html[data-route="/heisman"] :focus-visible {
  outline-color: var(--hm-bronze, #C7884A) !important;
}

/* ==================================================================
   RESPONSIVE TWEAKS
   ================================================================== */

/* <=480px: shrink trophy, compress text to leave trophy room */
@media (max-width: 480px) {
  html[data-route="/heisman"] .ht-hero-trophy-wrap {
    width: 140px;
    right: -10px;
    bottom: -10px;
  }
  html[data-route="/heisman"] .ht-hero-content {
    max-width: calc(100% - 120px);
    padding: 36px 16px 24px;
  }
  html[data-route="/heisman"] .ht-dual-section {
    padding: 12px;
    gap: 12px;
  }
  html[data-route="/heisman"] .ht-frontrunner-section {
    padding: 14px 16px;
  }
}

/* <=430px (narrow phones — 390px iPhone 15, 375px SE): hide trophy,
   give hero text the full container width so it matches every other
   route instead of rendering as a squished narrow sub-column.
   The trophy is decorative; prestige reads from the gold gradient BG. */
@media (max-width: 430px) {
  html[data-route="/heisman"] .ht-hero-trophy-wrap {
    display: none;
  }
  html[data-route="/heisman"] .ht-hero-section {
    min-height: 200px;
    align-items: flex-start;
  }
  html[data-route="/heisman"] .ht-hero-content {
    max-width: 100%;
    padding: 36px 20px 28px;
  }
  html[data-route="/heisman"] .ht-dual-section {
    padding: 10px;
    gap: 10px;
  }
}

@media (min-width: 900px) {
  html[data-route="/heisman"] .ht-hero-section {
    min-height: 420px;
  }
  html[data-route="/heisman"] .ht-hero-trophy-wrap {
    width: 300px;
    bottom: -30px;
    right: 40px;
  }
  html[data-route="/heisman"] .ht-hero-content {
    padding: 60px 40px 40px;
    max-width: 560px;
  }
  html[data-route="/heisman"] .ht-dual-section {
    padding: 24px;
    gap: 20px;
  }
  html[data-route="/heisman"] .ht-frontrunner-section {
    padding: 24px 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-route="/heisman"] * { transition: none !important; }
}

/* ============================================================
   D-HEIS2 — In-Contention results grid (GET /heisman/results)
   2x2 desktop, 1-column mobile. No rank labels in-season.
   Bronze/gold prestige palette, all scoped to this route.
   ============================================================ */

/* Results card — full-width row */
html[data-route="/heisman"] .ht-results-card {
  width: 100%;
}
html[data-route="/heisman"] .ht-results-flavor {
  font-size: 16px;
  color: var(--hm-ivory-dim, rgba(244,236,216,.65));
  margin: 4px 0 0;
  font-style: italic;
}

/* Top-4 grid: 2-col desktop, 1-col mobile */
html[data-route="/heisman"] .ht-top4-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
@media (max-width: 600px) {
  html[data-route="/heisman"] .ht-top4-grid {
    grid-template-columns: 1fr;
  }
}

/* Individual player card */
html[data-route="/heisman"] .ht-player-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  background: var(--hm-wood-2, #141414);
  border: 1px solid var(--hm-bronze-dim, rgba(199,136,74,.35));
  min-height: 80px;
}
html[data-route="/heisman"] .ht-player-card--skel {
  background: rgba(255,255,255,.04);
  border-color: transparent;
}

/* Player photo / initials circle */
html[data-route="/heisman"] .ht-player-photo-wrap {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--hm-bronze-deep, #8A5A2B);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--hm-gold-dim, rgba(232,199,122,.18));
}
html[data-route="/heisman"] .ht-player-photo {
  width: 100%; height: 100%;
  object-fit: cover;
}
html[data-route="/heisman"] .ht-player-initials {
  font-size: 18px;
  font-weight: 700;
  color: var(--hm-gold-leaf, #E8C77A);
  letter-spacing: -.01em;
}

/* Player text info */
html[data-route="/heisman"] .ht-player-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
html[data-route="/heisman"] .ht-player-rank {
  font-size: 16px;
  font-weight: 700;
  color: var(--hm-gold-leaf, #E8C77A);
  letter-spacing: .08em;
}
html[data-route="/heisman"] .ht-player-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--hm-ivory, #F4ECD8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-route="/heisman"] .ht-player-meta {
  font-size: 16px;
  color: var(--hm-ivory-dim, rgba(244,236,216,.65));
}
html[data-route="/heisman"] .ht-watch-badge {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--hm-bronze, #C7884A);
  margin-top: 2px;
}

/* Others receiving votes */
html[data-route="/heisman"] .ht-others-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--hm-bronze-dim, rgba(199,136,74,.22));
}
html[data-route="/heisman"] .ht-others-head {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--hm-bronze, #C7884A) !important;
}
html[data-route="/heisman"] .ht-others-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
html[data-route="/heisman"] .ht-others-item {
  font-size: 16px;
  color: var(--hm-ivory-dim, rgba(244,236,216,.65));
}
html[data-route="/heisman"] .ht-others-school {
  color: var(--hm-bronze, #C7884A);
  font-size: 16px;
}

/* ==================================================================
   PRESTIGE ELEVATION (2026-06-07) — bring every section up to the
   same trading-card material as the front-runner card: richer bronze
   face, gold inner rule, dot-matrix texture, diagonal facet, gold-ring
   portraits, gold-foil names. Appended last so it wins by cascade
   order; all scoped to this route.
   ================================================================== */

/* ---- Panels (RACE / BALLOT): card-grade material + dot-matrix ---- */
html[data-route="/heisman"] .ht-panel {
  position: relative;
  background:
    radial-gradient(ellipse 120% 55% at 50% 0%, rgba(150,108,58,.16) 0%, transparent 60%),
    linear-gradient(180deg, #151515 0%, #0d0d0d 58%, #080808 100%);
  border-color: rgba(232,199,122,.4);
}
html[data-route="/heisman"] .ht-panel::before {
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image: radial-gradient(rgba(232,199,122,.10) 1px, transparent 1.5px);
  background-size: 13px 13px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 52%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 52%);
  opacity:.45;
}
html[data-route="/heisman"] .ht-panel > * { position:relative; z-index:1; }

/* ---- Results card: same material ---- */
html[data-route="/heisman"] .ht-results-card {
  position: relative;
  background:
    radial-gradient(ellipse 120% 55% at 50% 0%, rgba(150,108,58,.16) 0%, transparent 60%),
    linear-gradient(180deg, #151515 0%, #0d0d0d 58%, #080808 100%) !important;
  border: 1px solid rgba(232,199,122,.4) !important;
  border-radius: 12px;
  overflow: hidden;
}
html[data-route="/heisman"] .ht-results-card::before {
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image: radial-gradient(rgba(232,199,122,.10) 1px, transparent 1.5px);
  background-size: 13px 13px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 48%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 48%);
  opacity:.45;
}
html[data-route="/heisman"] .ht-results-card > * { position:relative; z-index:1; }

/* ---- IN CONTENTION top-4: prestige mini trading cards ---- */
html[data-route="/heisman"] .ht-player-card:not(.ht-player-card--skel) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(232,199,122,.45) !important;
  border-radius: 12px !important;
  background:
    radial-gradient(ellipse 110% 70% at 0% 0%, rgba(150,108,58,.20) 0%, transparent 55%),
    linear-gradient(160deg, #141414 0%, #101010 55%, #080808 100%) !important;
  box-shadow: 0 0 0 4px #050505, 0 10px 24px rgba(0,0,0,.5);
  transition: border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
html[data-route="/heisman"] .ht-player-card:not(.ht-player-card--skel):hover {
  border-color: rgba(232,199,122,.7) !important;
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px #050505, 0 14px 30px rgba(0,0,0,.6);
}
/* dot-matrix, concentrated to the right behind the text */
html[data-route="/heisman"] .ht-player-card:not(.ht-player-card--skel)::before {
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image: radial-gradient(rgba(232,199,122,.12) 1px, transparent 1.5px);
  background-size: 11px 11px; opacity:.5;
  -webkit-mask-image: radial-gradient(ellipse 95% 95% at 88% 50%, #000 0%, transparent 78%);
          mask-image: radial-gradient(ellipse 95% 95% at 88% 50%, #000 0%, transparent 78%);
}
/* bright-edged diagonal facet, bottom-right */
html[data-route="/heisman"] .ht-player-card:not(.ht-player-card--skel)::after {
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background: linear-gradient(to top left,
    rgba(140,102,55,.22) 0, rgba(140,102,55,.22) 26%,
    rgba(232,199,122,.30) 26%, rgba(232,199,122,.30) 26.6%, transparent 26.6%);
}
html[data-route="/heisman"] .ht-player-card > * { position:relative; z-index:1; }

/* gold-ring portrait */
html[data-route="/heisman"] .ht-player-card .ht-player-photo-wrap {
  width: 60px; height: 60px;
  border: 2px solid var(--hm-gold-leaf, #E8C77A) !important;
  box-shadow: 0 0 0 3px rgba(0,0,0,.3), 0 6px 14px rgba(0,0,0,.45);
  background: radial-gradient(circle at 50% 35%, #141414, #070707) !important;
}
html[data-route="/heisman"] .ht-player-card .ht-player-photo { object-position: 50% 20%; }
/* gold rank chip */
html[data-route="/heisman"] .ht-player-card .ht-player-rank {
  color: var(--hm-bronze, #C7884A) !important;
  font-weight: 800;
}
/* gold-foil name */
html[data-route="/heisman"] .ht-player-card .ht-player-name {
  font-weight: 800 !important;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .01em;
  background: linear-gradient(180deg, #E0BE73 0%, #F6E29A 45%, #B98232 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent !important;
}
html[data-route="/heisman"] .ht-player-card .ht-watch-badge {
  color: rgba(232,214,180,.5) !important;
  letter-spacing: .22em;
}

/* ---- Betting odds list: rank discs + leader highlight ---- */
html[data-route="/heisman"] .ht-trend-rank {
  width: 22px !important; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(199,136,74,.12);
  border: 1px solid rgba(199,136,74,.32);
}
html[data-route="/heisman"] .ht-trend-item:first-child .ht-trend-rank {
  background: linear-gradient(180deg, #F5D57E, #C7884A);
  border-color: var(--hm-gold-leaf, #E8C77A);
  color: #1a1206 !important;
  box-shadow: 0 0 10px rgba(232,199,122,.35);
}
html[data-route="/heisman"] .ht-trend-item:first-child .ht-trend-name {
  background: linear-gradient(180deg, #F6E29A, #E8C77A);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-weight: 800;
}

/* ---- Hero: dot-matrix tie-in so it shares the card material ---- */
html[data-route="/heisman"] .ht-hero-bg::after {
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background-image: radial-gradient(rgba(232,199,122,.08) 1px, transparent 1.5px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 60%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 30% 60%, #000 0%, transparent 75%);
  opacity:.5;
}

/* ==================================================================
   TILE + BALLOT POLISH (2026-06-10) — cleaner standings tiles and a
   more mobile-friendly ballot. CSS-only; ballot-logic.js markup and
   the in-season rank suppression are untouched. Appended last so it
   wins by cascade order; all scoped to this route.
   ================================================================== */

/* ---- Standings tiles: rank → gold corner pill, declutter the
        repeated watermark, bigger portrait. The pill only appears
        when script.js renders .ht-player-rank (trophy-case / revealed
        view) — in-season anti-stacking stays intact. ---- */
html[data-route="/heisman"] .ht-player-card:not(.ht-player-card--skel) {
  padding: 16px 16px 16px 14px;
  gap: 14px;
}
html[data-route="/heisman"] .ht-player-card .ht-player-rank {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px !important;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--hm-gold-leaf, #E8C77A) !important;
  background: rgba(199,136,74,.14);
  border: 1px solid rgba(232,199,122,.38);
}
html[data-route="/heisman"] .ht-player-card .ht-player-photo-wrap {
  width: 64px; height: 64px;
}
html[data-route="/heisman"] .ht-player-card .ht-player-name {
  padding-right: 42px;   /* keep the name clear of the corner pill */
  font-size: 17px;
}
/* soften the harsh bright diagonal facet line */
html[data-route="/heisman"] .ht-player-card:not(.ht-player-card--skel)::after {
  background: linear-gradient(to top left,
    rgba(140,102,55,.16) 0, rgba(140,102,55,.16) 26%,
    rgba(232,199,122,.18) 26%, rgba(232,199,122,.18) 26.5%, transparent 26.5%);
}
/* quiet the repeated "HEISMAN WATCH" stamp so the tile reads cleaner */
html[data-route="/heisman"] .ht-player-card .ht-watch-badge {
  font-size: 10px !important;
  color: rgba(232,214,180,.32) !important;
  letter-spacing: .28em;
  margin-top: 4px;
}

/* #1 — winner treatment: filled gold pill, brighter card edge, glow */
html[data-route="/heisman"] .ht-player-card:not(.ht-player-card--skel):first-child {
  border-color: rgba(232,199,122,.75) !important;
  box-shadow: 0 0 0 4px #050505, 0 0 22px rgba(232,199,122,.22), 0 12px 26px rgba(0,0,0,.55);
}
html[data-route="/heisman"] .ht-player-card:first-child .ht-player-rank {
  background: linear-gradient(180deg, #F5D57E, #C7884A);
  border-color: var(--hm-gold-leaf, #E8C77A);
  color: #1a1206 !important;
  box-shadow: 0 0 12px rgba(232,199,122,.4);
}
html[data-route="/heisman"] .ht-player-card:first-child .ht-player-photo-wrap {
  box-shadow: 0 0 0 3px rgba(0,0,0,.3), 0 0 16px rgba(232,199,122,.35), 0 6px 14px rgba(0,0,0,.45);
}

/* ---- Ballot fallback (ballot-logic.js) fetch-error state: distinct
        red-tinted border from the neutral .hm-ballot--empty/--locked cards,
        so a real outage never reads as "no ballot yet". ---- */
html[data-route="/heisman"] .hm-ballot--error {
  border-color: rgba(224,96,96,.5) !important;
  background: rgba(224,96,96,.08);
}
html[data-route="/heisman"] .hm-ballot--error .hm-ballot-status {
  color: #e06060;
  margin-bottom: 10px;
}

/* ---- Ballot: larger tap targets, breathing room, gold rank labels,
        custom chevron. 16px control font prevents iOS zoom-on-focus. ---- */
html[data-route="/heisman"] .hm-ballot--form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
html[data-route="/heisman"] .hm-ballot--form .field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
html[data-route="/heisman"] .hm-ballot--form .field-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--hm-gold-leaf, #E8C77A);
}
html[data-route="/heisman"] .hm-ballot--form .select,
html[data-route="/heisman"] .hm-ballot--form .input {
  width: 100%;
  min-height: 52px;
  font-size: 16px;
  padding: 0 44px 0 16px;
  border-radius: 10px;
  background-color: rgba(20,14,7,.55);
}
html[data-route="/heisman"] .hm-ballot--form .select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23E8C77A' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}
html[data-route="/heisman"] .hm-ballot--form .btn-primary {
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
  font-size: 16px;
  letter-spacing: .04em;
}

/* ---- In-Contention score line (D-HEIS3 unify-on-KGI, 2026-06-10):
        the race grid now shows the Key-Game Impact score per player,
        matching the dashboard "HEISMAN WATCH" card. Gold-foil number +
        muted unit, in place of the old "HEISMAN WATCH" stamp. ---- */
html[data-route="/heisman"] .ht-player-card .ht-player-score {
  margin-top: 5px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.1;
  background: linear-gradient(180deg, #F6E29A 0%, #E8C77A 45%, #C7884A 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
html[data-route="/heisman"] .ht-player-card .ht-score-unit {
  -webkit-text-fill-color: rgba(232,214,180,.5);
  color: rgba(232,214,180,.5);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

/* ==================================================================
   FORMATTING PASS (2026-07-02) — density + type-scale correction.
   Two problems this fixes:
     1. ~40 small labels were hard-set to 16px (body size), so every
        eyebrow / meta / rank / source / note rendered "blown up".
        Remapped to the --sns-fs-* ramp.
     2. The FRONT-RUNNER band centered one 330px card in a full-width
        row (huge L/R dead space) and stacked ABOVE the standings,
        making the page ~2770px tall at 1440. On >=900px the two now
        sit side-by-side (narrow spotlight | wide standings), which
        removes the dead band and cuts the overall page height.
   CSS-only + one HTML wrapper (.ht-showcase-row). Scoped to the route,
   appended last so it wins by cascade order.
   ================================================================== */

/* ---- 1. Type scale: pull oversized labels back onto the ramp ---- */
html[data-route="/heisman"] .ht-eyebrow-badge   { font-size: var(--sns-fs-11, 11px); }
html[data-route="/heisman"] .ht-badge           { font-size: var(--sns-fs-11, 11px); }
html[data-route="/heisman"] .content .card-eyebrow { font-size: var(--sns-fs-11, 11px); }
html[data-route="/heisman"] .ht-hero-week       { font-size: var(--sns-fs-13, 13px); }
html[data-route="/heisman"] .ht-hero-tagline    { font-size: var(--sns-fs-14, 14px); }
/* section headers (IN CONTENTION / REAL-WORLD TRACKER / CAST YOUR VOTE /
   FINAL STANDINGS) down from the sitewide 26px display size for density */
html[data-route="/heisman"] .content .card-title { font-size: var(--sns-fs-20, 20px); }
html[data-route="/heisman"] .ht-subhead         { font-size: var(--sns-fs-12, 12px); }
html[data-route="/heisman"] .ht-source          { font-size: var(--sns-fs-12, 12px); }
html[data-route="/heisman"] .ht-results-flavor  { font-size: var(--sns-fs-13, 13px); }
html[data-route="/heisman"] .ht-trend-name      { font-size: var(--sns-fs-14, 14px); }
html[data-route="/heisman"] .ht-trend-meta      { font-size: var(--sns-fs-12, 12px); }
html[data-route="/heisman"] .ht-trend-odds      { font-size: var(--sns-fs-13, 13px); }
html[data-route="/heisman"] .ht-trend-rank      { font-size: var(--sns-fs-12, 12px); }
html[data-route="/heisman"] .ht-note            { font-size: var(--sns-fs-12, 12px); }
html[data-route="/heisman"] .ht-empty           { font-size: var(--sns-fs-13, 13px); }
html[data-route="/heisman"] .ht-delta           { font-size: var(--sns-fs-12, 12px); }
html[data-route="/heisman"] .ht-player-card .ht-player-meta { font-size: var(--sns-fs-12, 12px); }
html[data-route="/heisman"] .ht-others-head     { font-size: var(--sns-fs-12, 12px); }
html[data-route="/heisman"] .ht-others-item,
html[data-route="/heisman"] .ht-others-school   { font-size: var(--sns-fs-12, 12px); }
html[data-route="/heisman"] .ht-view-wall-btn   { font-size: var(--sns-fs-12, 12px); }

/* tighten the trophy hero a touch so the fold gets to real content sooner */
html[data-route="/heisman"] .ht-trend-item      { padding: 9px 0; }

/* ---- 2. Showcase row: spotlight + standings side-by-side ---- */
/* mobile / narrow: simple stack with the sitewide row rhythm */
html[data-route="/heisman"] .ht-showcase-row {
  display: flex;
  flex-direction: column;
  gap: var(--row-gap, 24px);
}

@media (min-width: 900px) {
  html[data-route="/heisman"] .ht-showcase-row {
    display: grid;
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
  }
  /* spotlight becomes a self-contained prestige panel (was a full-bleed
     band with a lone centered card = the biggest dead-space offender) */
  html[data-route="/heisman"] .ht-showcase-row .ht-frontrunner-section {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(232,199,122,.4);
    border-radius: 12px;
    padding: 16px;
    background:
      radial-gradient(ellipse 120% 55% at 50% 0%, rgba(150,108,58,.16) 0%, transparent 60%),
      linear-gradient(180deg, #151515 0%, #0d0d0d 58%, #080808 100%);
  }
  html[data-route="/heisman"] .ht-showcase-row .ht-frontrunner-inner {
    width: 100%;
  }
  /* let the standings column own the full grid-cell height */
  html[data-route="/heisman"] .ht-showcase-row .row-ht-results,
  html[data-route="/heisman"] .ht-showcase-row .ht-results-card {
    height: 100%;
  }
}

/* ---- 3. Bottom two-panel: shrink the RACE list so the ballot's matched
   height stops opening a tall void. The tracker's ranks 7-10 are already
   listed verbatim in the standings card's "OTHERS RECEIVING VOTES", so
   capping the visible list at 6 loses no information and lets both equal-
   height columns come down together. Panels stay stretched (balanced). */
html[data-route="/heisman"] .ht-trend-list .ht-trend-item:nth-of-type(n+7) {
  display: none;
}

/* ---- 4. Winner tile: keep the trophy-icon "WINNER" pill clear of the name ----
   the retro winner badge is wider than the numeric #-pill it replaces, so
   the default 42px name gutter let it overlap "BYRUM BROWN". */
html[data-route="/heisman"] .ht-player-card--winner .ht-player-name {
  padding-right: 92px;
}
/* AUD-13: small gap between the SVG trophy glyph and "WINNER" text
   (was a raw emoji + space, no gap needed then). */
html[data-route="/heisman"] .ht-player-rank--winner {
  gap: 4px;
}

/* ==================================================================
   COLLAPSE PASS (2026-07-02b) — trophy + season toggle removed from the
   markup; shrink the hero to a compact header band and tighten the
   vertical rhythm across every section so the whole page reads denser.
   ================================================================== */

/* ---- Hero: compact band; text spans full width now the trophy's gone ---- */
html[data-route="/heisman"] .ht-hero-section { min-height: 0; }
html[data-route="/heisman"] .ht-hero-content {
  max-width: 720px;
  padding: 24px 24px 20px;
}
html[data-route="/heisman"] .ht-hero-title {
  font-size: clamp(28px, 4.2vw, 42px);
  margin-bottom: 8px;
}
html[data-route="/heisman"] .ht-hero-eyebrow-row { margin-bottom: 8px; }
html[data-route="/heisman"] .ht-hero-meta-row    { margin-bottom: 8px; }
html[data-route="/heisman"] .ht-hero-tagline     { max-width: 540px; line-height: 1.45; }

/* ---- Tighten the gaps between the big rows ---- */
html[data-route="/heisman"] .content { gap: 16px; }

/* ---- Standings: denser header + tiles ---- */
html[data-route="/heisman"] .ht-results-card .card-head { padding: 14px 16px 8px; }
html[data-route="/heisman"] .ht-top4-grid { gap: 10px; margin-top: 12px; }
html[data-route="/heisman"] .ht-player-card:not(.ht-player-card--skel) {
  padding: 11px 14px;
  gap: 12px;
}
html[data-route="/heisman"] .ht-player-card .ht-player-photo-wrap { width: 52px; height: 52px; }
html[data-route="/heisman"] .ht-others-section { margin-top: 12px; padding-top: 10px; }

/* ---- Dual panels: tighter heads, rows, and odds block ---- */
html[data-route="/heisman"] .ht-panel-head { padding: 14px 16px 10px; }
html[data-route="/heisman"] .ht-odds-head  { padding: 10px 16px 6px; }
html[data-route="/heisman"] .ht-trend-list { padding: 0 16px 12px; }
html[data-route="/heisman"] .ht-trend-item { padding: 7px 0; }
html[data-route="/heisman"] .ht-note       { padding: 10px 16px 12px; }

@media (min-width: 900px) {
  html[data-route="/heisman"] .ht-dual-section { padding: 0; gap: 16px; }
}

/* ==================================================================
   STRUCTURE PASS (2026-07-02c) — fold the front-runner card into the
   hero as its focal element (where the trophy was) and collapse the
   page to two rows: HERO(text | front-runner) then MAIN(standings |
   ballot). The old REAL-WORLD TRACKER list was a duplicate of the
   standings ranking and has been removed from the markup.
   ================================================================== */

/* ---- Hero becomes a split: text left, front-runner card right ---- */
html[data-route="/heisman"] .ht-hero-frontrunner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 20px 24px;
}
html[data-route="/heisman"] .ht-hero-frontrunner .ht-leader { width: auto; }
html[data-route="/heisman"] .ht-hero-frontrunner .ht-leader-card { max-width: 230px; }

/* ---- Below the split breakpoint: .ht-hero-section has no flex-direction
   override (it inherits the base row from the compact-hero rule at the top
   of this file), so .ht-hero-content and .ht-hero-frontrunner sit side by
   side and the card gets pushed off the right edge, clipped by the
   section's overflow:hidden. Stack them as a column so the front-runner
   card + its VIEW WALL CTA render full-width below the hero text. (AUD-13) */
@media (max-width: 759px) {
  html[data-route="/heisman"] .ht-hero-section {
    flex-direction: column;
    align-items: stretch;
  }
  html[data-route="/heisman"] .ht-hero-content {
    max-width: 100%;
  }
  html[data-route="/heisman"] .ht-hero-frontrunner {
    align-items: center;
    width: 100%;
  }
}

@media (min-width: 760px) {
  html[data-route="/heisman"] .ht-hero--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    min-height: 0;
  }
  html[data-route="/heisman"] .ht-hero--split .ht-hero-content {
    padding: 30px 8px 30px 32px;
    max-width: 620px;
  }
  html[data-route="/heisman"] .ht-hero-frontrunner {
    padding: 24px 32px 24px 0;
  }
  html[data-route="/heisman"] .ht-hero-frontrunner .ht-leader-card { max-width: 240px; }
}

/* ---- Main row: standings (ranked list) + ballot ----
   The ballot's 3-pick cast UI needs ~490px, so in the split we reserve that
   and render the STANDINGS as a single-column ranked list — every tile keeps
   the full column width, so long names (GUNNER STOCKTON, BYRUM BROWN + the
   WINNER pill) fit at the default size instead of truncating the way a
   narrow 2x2 did. Below 1100px we stack: 2x2 standings full-width, then the
   full-width ballot (no truncation, no 3-pick overflow). ---- */
html[data-route="/heisman"] .ht-main-row {
  display: flex;
  flex-direction: column;
  gap: var(--row-gap, 16px);
}
@media (min-width: 1100px) {
  html[data-route="/heisman"] .ht-main-row {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(490px, 1.35fr);
    gap: 16px;
    /* start (not stretch): each panel sizes to its own content. Stretch forced
       the ballot to the taller standings height, opening a dead gap above the
       CAST BALLOT button. */
    align-items: start;
  }
  /* standings → single-column ranked list in its (narrower) column */
  html[data-route="/heisman"] .ht-main-row .ht-top4-grid {
    grid-template-columns: 1fr;
  }
}
