/* RinkDraft unified typography — safe geometry repair, 2026-11-06.
   IMPORTANT: This sheet intentionally does NOT alter outer page/container
   widths, positions, transforms, margins, paddings or min-heights.
   Each existing PHP page retains its original full-bleed layout geometry.
   This supersedes the earlier broken version of rinkdraft-unified.css. */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Inter:wght@400;500;600;700;800;900&display=swap');
:root{
  --rdu-heading:'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  --rdu-body:'Inter',Arial,sans-serif;
  --rdu-orange:#ff801e;
  --rdu-panel:#173a50;
  --rdu-border:#365a70;
}
/* Typography is shared. Page geometry is owned by each page's layout CSS. */
html body :is(.page,.rd-hq,.rdc-reimagined,.rdc-public-home){
  font-family:var(--rdu-body)!important;
}
html body :is(.page,.rd-hq,.rdc-reimagined,.rdc-public-home) :is(p,li,td,th,label,input,select,textarea,button){
  font-family:var(--rdu-body)!important;
}
html body .page :is(h1,h2,h3),
html body :is(.rd-hq,.rdc-reimagined,.rdc-public-home) :is(h1,h2,h3){
  font-family:var(--rdu-heading)!important;
  font-weight:900!important;
  line-height:1.05!important;
}
html body .page h1 :is(span,strong,em),
html body :is(.rd-hq,.rdc-reimagined,.rdc-public-home) h1 :is(span,strong,em){
  font-family:inherit!important;font-weight:inherit!important;
}
/* Desktop headings: consistent font scales but do not resize artwork or numbers. */
html body .page h1,html body :is(.rd-hq,.rdc-reimagined,.rdc-public-home) h1{font-size:60px!important;}
html body .page h2,html body :is(.rd-hq,.rdc-reimagined,.rdc-public-home) h2{font-size:30px!important;}
html body .page h3,html body :is(.rd-hq,.rdc-reimagined,.rdc-public-home) h3{font-size:24px!important;}
/* Sidebox's long reward status must fit within the existing narrow column. */
html body .rdc-reimagined .rdc-sidebox.highlight .rdc-sidebox-value{
  font-family:var(--rdu-heading)!important;
  font-size:clamp(28px,2.2vw,40px)!important;
  line-height:1!important;
  white-space:nowrap!important;
}
/* Controls: font only, do not override display, box sizes or grid properties. */
html body :is(.rd-hq,.rdc-reimagined,.rdc-public-home,#rd-store,.rdm,.rd-collection-app,.rd-score-app,.rd-leaderboard,.rd-scouting-page,.rd-transfers-modern,.rd-squad-modern,.rd-info-modern)
:is(.btn,button:not(.rd-collect-card):not([class*='card-flip']),a[class*='-btn']){
  font-family:var(--rdu-body)!important;
  font-size:12px!important;
  font-weight:800!important;
}
@media(max-width:700px){
 html body .page h1,html body :is(.rd-hq,.rdc-reimagined,.rdc-public-home) h1{font-size:42px!important;}
 html body .page h2,html body :is(.rd-hq,.rdc-reimagined,.rdc-public-home) h2{font-size:25px!important;}
 html body .page h3,html body :is(.rd-hq,.rdc-reimagined,.rdc-public-home) h3{font-size:21px!important;}
 html body .rdc-reimagined .rdc-sidebox.highlight .rdc-sidebox-value{font-size:clamp(26px,8vw,36px)!important;}
}

/* 2026-11-06: remove the exposed dark strip between the global deadline banner
   and the full-bleed Fantasy page backgrounds. Dashboard already uses -28px. */
@media (min-width:701px){
  html body :is(.rd-squad-modern,.rd-transfers-modern,.rd-scouting-page,
    .rd-points-page,.rd-league-modern,.rd-leaderboard,.topstats-page){
    margin-top:-28px!important;
  }
}
@media (max-width:700px){
  html body :is(.rd-squad-modern,.rd-transfers-modern,.rd-scouting-page,
    .rd-points-page,.rd-league-modern,.rd-leaderboard,.topstats-page){
    margin-top:-16px!important;
  }
}
