:root {
  --bg: #ffffff;
  --band: #ffffff;
  --panel: #ffffff;
  --panel-2: #f7f7f7;
  --line: #e9e9e9;
  --line-strong: #5200ff;
  --gold: #5200ff;
  --purple: #5200ff;
  --purple-dark: #3d00bf;
  --cyan: #3cffd0;
  --green: #309875;
  --red: #ee0033;
  --text: #131313;
  --muted: #4a4a4a;
  --dim: #636363;
  --link: #5200ff;
  --radius: 0px;
}

html,
body {
  background: var(--bg);
  color: var(--text);
  letter-spacing: 0;
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(82,0,255,.28);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.topbar {
  min-height: 72px;
}

.brand img {
  width: 164px;
}

.main-nav,
.nav {
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  text-transform: none;
}

.nav-link,
.nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: inherit;
  padding: 2px 0 0;
  text-transform: none;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active,
.nav a:hover,
.nav .active {
  border-bottom-color: var(--purple);
  color: var(--purple);
}

.page-head,
.hero {
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.page-head-inner,
.hero .shell {
  position: relative;
  min-height: 300px;
  border-left: 1px solid var(--text);
  padding: 48px 320px 38px 26px;
}

.page-head-inner::after,
.hero .shell::after {
  content: "HBCU\A SCORES";
  position: absolute;
  top: 40px;
  right: 0;
  width: min(280px, 32vw);
  height: calc(100% - 80px);
  min-height: 210px;
  display: grid;
  place-items: center;
  white-space: pre-line;
  background: var(--text);
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 800;
  line-height: .82;
  text-align: center;
  text-transform: uppercase;
}

.hero-logo {
  width: min(270px, 58vw);
  height: auto;
}

.eyebrow,
.mode-label,
.module-title,
.section-note,
.breadcrumb,
.summary-item span,
.round-title,
summary,
.game-meta,
.standing-row.header-row {
  color: var(--purple);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .08em;
}

.breadcrumb a,
.module-link,
.about-card a,
footer a {
  color: var(--purple);
}

h1,
.bracket-title,
.section-title,
.module-title,
h2,
.conf-card h3 {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  font-size: clamp(56px, 10vw, 112px);
  line-height: .86;
}

.lede,
.copy,
p,
.conf-card p,
.content-block p {
  color: var(--muted);
}

main {
  background: var(--bg);
}

.module,
.about-card,
.bracket,
.round,
.game,
.summary-item,
.conf-card,
.formula-box,
.empty {
  border: 1px solid var(--text);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.module:hover,
.bracket:hover,
.game:hover,
.conf-card:hover {
  border-color: var(--purple);
  background: #fbfbfb;
}

.module-head,
.content-block,
.bracket-head,
details,
.rank-table th,
.rank-table td,
.standing-row,
.game-item {
  border-color: var(--line);
}

.filter-control,
.control,
.sport-link,
.sport-tab,
.school-chip,
.table-tab {
  min-height: 44px;
  border: 1px solid var(--text);
  border-radius: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font-body);
}

.sport-tabs {
  display: flex;
  flex-wrap: wrap;
}

.sport-tab.active,
.sport-link.active {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}

.sport-tab:hover,
.sport-link:hover,
.control:focus,
.filter-control:focus,
.school-chip:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.table-tab {
  min-height: 0;
  border: 0;
  border-bottom: 3px solid transparent;
}

.table-tab.active {
  border-bottom-color: var(--purple);
  color: var(--purple);
}

.rank-table th {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.rank-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.rank-table tbody tr:hover {
  background: var(--panel-2);
}

.team-logo,
.team-mark,
.rank-num {
  border-radius: 0;
  background: #fff;
  border-color: var(--line);
  color: var(--purple);
}

.score-cell,
.score-focus,
.team-link,
.team-name,
.module-link,
.score-line {
  color: var(--purple);
}

.team-row.winner .team-name,
.team-row.winner .team-score,
.winner,
.champion {
  color: var(--green);
}

.badge.win {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.badge.loss {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.skeleton {
  background: linear-gradient(90deg, #f5f5f5, #ededed, #f5f5f5);
  background-size: 220% 100%;
}

footer {
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .main-nav,
  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 13px;
  }

  .page-head-inner,
  .hero .shell {
    min-height: 0;
    padding: 32px 0 0 18px;
  }

  .page-head-inner::after,
  .hero .shell::after {
    position: static;
    width: 100%;
    min-height: 190px;
    margin-top: 26px;
  }

  h1 {
    font-size: clamp(46px, 15vw, 72px);
  }
}
