/* Season Archive extends the existing Primetime palette and broadcast type. */
#history-announcer,
#expectations-announcer {
  width: 1px;
}
.history-view .content-layout {
  display: block;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 29px;
}

.history-view .main-footer {
  margin-top: 30px;
}
.ha {
  --blue: #9bc8ff;
  --ha-secondary: #b3c0cf;
  font-variant-numeric: tabular-nums;
}
.ha-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.ha-title {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}
.ha-heading h1 {
  font: 44px/1.08 var(--display);
  text-transform: uppercase;
  letter-spacing: -0.015em;
}
.ha-phone-break {
  display: none;
}
.ha-heading-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  text-align: right;
  padding-bottom: 3px;
}
.ha-years {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
}
.ha-years button {
  flex: 1;
  min-width: 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: 12px;
  background: transparent;
  text-align: left;
}
.ha-years button:last-child {
  border-right: 0;
}
.ha-years button strong {
  font-size: 18px;
  font-weight: 700;
  display: block;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.ha-years button span {
  font-size: 10px;
  display: block;
  margin-top: 5px;
  color: var(--muted);
}
.ha-years button:hover {
  background: var(--surface-raised);
}
.ha-years button[aria-pressed="true"] {
  background: var(--lime);
  color: var(--bg);
}
.ha-years button[aria-pressed="true"] span {
  color: #33401e;
}
.ha-years .ha-year-gap {
  color: var(--muted);
}
.ha-years button:focus-visible {
  outline-offset: -4px;
  outline-color: var(--text);
}
.ha-years button[aria-pressed="true"]:focus-visible {
  outline-color: var(--bg);
}
.ha-coverage-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  color: var(--muted);
  margin: 11px 0 24px;
}
.ha-coverage-line > span:first-child {
  color: var(--ha-secondary);
}
.ha-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 258px;
  gap: 30px;
  align-items: start;
}
.ha-main,
.ha-rail {
  min-width: 0;
}
.ha-rail {
  border-left: 1px solid var(--line);
  padding-left: 26px;
}
.ha-race {
  border: 1px solid #425239;
  background: #14202b;
  border-radius: 7px;
  overflow: hidden;
}
.ha-race-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 20px;
  color: var(--ha-secondary);
  font-size: 10px;
  letter-spacing: 0.07em;
}
.ha-race-top > span:first-child {
  color: var(--lime);
}
.ha-divider {
  color: #718197;
  margin: 0 7px;
}
.ha-race-score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 9px 22px 28px;
}
.ha-race-owner > span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 7px;
}
.ha-race-owner > strong {
  font: 34px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  display: block;
}
.ha-race-owner > small {
  font-size: 12px;
  display: block;
  margin-top: 11px;
  white-space: nowrap;
  color: var(--ha-secondary);
}
.ha-race-owner small span {
  font-size: 9px;
  margin-left: 4px;
  color: var(--muted);
}
.ha-chaser {
  text-align: right;
}
.ha-big-score {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 4px;
}
.ha-big-score b {
  font: 78px/1 var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
}
.ha-big-score b:first-child {
  color: var(--lime);
}
.ha-big-score > span {
  font-size: 26px;
  color: #718197;
}
.ha-race-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #19262b;
  border-top: 1px solid #344339;
  padding: 11px 20px;
  font-size: 11px;
}
.ha-race-bottom p {
  color: #d7e0e5;
}
.ha-race-bottom strong {
  color: var(--lime);
}
.ha-race-bottom > span {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.ha-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 25px 0 13px;
}
.ha-section-head h2 {
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.ha-section-head > span {
  font-size: 10px;
  color: var(--muted);
}
.ha-standings-labels {
  display: flex;
  justify-content: space-between;
  padding: 0 43px 8px 1px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.05em;
}
.ha-owner {
  border-top: 1px solid var(--line);
}
.ha-owner:last-child {
  border-bottom: 1px solid var(--line);
}
.ha-owner > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 8px 14px 0;
  cursor: pointer;
  min-height: 69px;
}
.ha-owner > summary::-webkit-details-marker {
  display: none;
}
.ha-owner > summary:hover {
  background: var(--surface);
}
.ha-rank {
  width: 23px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.ha-avatar {
  width: 33px;
  height: 33px;
  border: 1px solid var(--line);
  background: var(--surface-raised);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--ha-secondary);
}
.ha-owner-name {
  flex: 1;
  min-width: 0;
}
.ha-owner-name strong {
  display: block;
  font-size: 14px;
}
.ha-owner-name small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: var(--muted);
}
.ha-owner-record {
  font-size: 16px;
  white-space: nowrap;
}
.ha-owner-record b {
  color: var(--text);
  font-size: 23px;
  font-weight: 650;
}
.ha-owner:first-child .ha-owner-record b {
  color: var(--lime);
}
.ha-owner-record > span {
  color: var(--ha-secondary);
}
.ha-open {
  width: 18px;
  margin-left: 10px;
  font-size: 20px;
  color: var(--lime);
  text-align: center;
}
.ha-owner[open] .ha-open {
  transform: rotate(45deg);
}
.ha-owner[open] > summary {
  background: var(--surface);
}
.ha-roster {
  padding: 16px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  margin-bottom: 12px;
}
.ha-roster-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.ha-roster-intro strong {
  font-size: 12px;
}
.ha-roster-intro > span {
  color: var(--muted);
  font-size: 10px;
}
.ha-roster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  margin-bottom: 12px;
}
.ha-team-button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  min-height: 58px;
  padding: 8px 0;
  text-align: left;
}
.ha-team-button:hover {
  background: var(--surface-raised);
}
.ha-team-button > strong {
  font-size: 11px;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.ha-team-button > span:last-child {
  color: var(--muted);
  font-size: 12px;
}
.ha-team-name {
  font-size: 11px;
  flex: 1;
  line-height: 1.45;
  min-width: 0;
}
.ha-contribution {
  height: 2px;
  background: var(--line);
  display: block;
  width: 80%;
  margin-top: 7px;
}
.ha-contribution i {
  display: block;
  height: 100%;
  background: var(--lime);
}
.ha-team-initials {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  font-size: 9px;
  color: var(--text);
}
.ha-small {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.ha-rank-note {
  margin-top: 12px;
  max-width: 65ch;
}
.ha-totals h2 {
  font: 25px/1.1 var(--display);
  text-transform: uppercase;
  max-width: 220px;
  letter-spacing: 0.005em;
  margin: 2px 0 9px;
}
.ha-total-sub {
  font-size: 11px;
  color: var(--ha-secondary);
}
.ha-included {
  font-size: 11px;
  color: var(--muted);
  margin: 6px 0 16px;
}
.ha-total-disclosure > summary {
  display: none;
}
.ha-total-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.ha-total-rank {
  font-size: 11px;
  color: var(--muted);
}
.ha-total-row > span:nth-child(2) {
  flex: 1;
}
.ha-total-row strong {
  font-size: 12px;
}
.ha-total-row small {
  display: block;
  font: 10px var(--body);
  color: var(--muted);
  margin-top: 5px;
}
.ha-total-row > b {
  font: 27px/1 var(--display);
  text-align: right;
}
.ha-total-row:first-child > b {
  color: var(--lime);
}
.ha-total-row > b small {
  font-size: 9px;
}
.ha-total-limit {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  padding: 16px 0 20px;
  border-bottom: 1px solid var(--line);
}
.ha-total-limit strong {
  display: block;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 3px;
}
.ha-disclosure {
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.ha-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  padding: 15px 0;
  min-height: 46px;
  color: var(--ha-secondary);
}
.ha-disclosure > summary::-webkit-details-marker {
  display: none;
}
.ha-disclosure > summary:hover {
  color: var(--lime);
}
.ha-disclosure > summary > span {
  color: var(--lime);
  font-size: 16px;
}
.ha-disclosure[open] > summary > span {
  transform: rotate(45deg);
}
.ha-disclosure > div {
  padding-bottom: 15px;
}
.ha-disclosure p {
  color: var(--muted);
  margin-bottom: 10px;
}
.ha-disclosure code {
  overflow-wrap: anywhere;
}
.ha-source-list {
  list-style: none;
  padding: 0;
  margin: 6px 0;
  line-height: 1.5;
}
.ha-source-list li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
}
.ha-source-list a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ha-source-list a:hover {
  color: var(--text);
}
.ha-source-list p {
  color: var(--muted);
  font-size: 10px;
  margin: 6px 0;
}
.ha-source-list code {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ha-secondary);
  font-size: 10px;
  margin-top: 8px;
}
.ha-source-list .ha-archive-link {
  font-size: 10px;
  color: var(--blue);
}
.ha-trend {
  margin-top: 28px;
  padding-top: 1px;
  border-top: 1px solid var(--line);
}
.ha-trend .ha-section-head {
  margin-top: 20px;
  margin-bottom: 14px;
}
.ha-trend .ha-section-head p {
  margin-top: 5px;
}
.ha-owner-select select {
  font-size: 11px;
  min-height: 44px;
}
.ha-chart-legend {
  display: flex;
  gap: 23px;
  font-size: 11px;
  margin: 13px 0 4px;
}
.ha-chart-legend > span {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--ha-secondary);
}
.ha-chart-legend b {
  color: var(--text);
  margin-left: 1px;
  font-weight: 500;
}
.ha-chart-legend i {
  width: 17px;
  border-top: 2px solid var(--lime);
}
.ha-chart-legend .ha-dashed {
  border-top: 2px dashed var(--blue);
}
.ha-chart {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.ha-chart text {
  font: 10px var(--body);
  fill: var(--muted);
}
.ha-week-control {
  display: flex;
  gap: 22px;
  align-items: center;
  margin: 12px 0 8px;
}
.ha-week-control label {
  font-size: 11px;
  white-space: nowrap;
  color: var(--muted);
}
.ha-week-control output {
  font-weight: 700;
  color: var(--text);
  padding-left: 5px;
}
.ha-week-control input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  accent-color: var(--lime);
  cursor: pointer;
}
.ha-week-control input:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
.ha-week-stats {
  display: flex;
  gap: 25px;
  background: var(--surface);
  border-radius: 4px;
  padding: 14px;
  font-size: 11px;
  color: var(--muted);
}
.ha-week-stats strong {
  font-size: 14px;
  color: var(--text);
  margin-right: 6px;
}
.ha-week-note {
  margin-top: 12px;
}
.ha-week-teams button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  font-size: 11px;
  min-height: 44px;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  text-align: left;
  padding: 8px 0;
}
.ha-week-teams b {
  white-space: nowrap;
  font-weight: 500;
}
.ha-week-teams button:hover {
  color: var(--lime);
}
.ha-table-scroll {
  overflow: auto;
}
.ha-week-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 10px;
  white-space: nowrap;
}
.ha-week-table caption {
  text-align: left;
  white-space: normal;
  color: var(--muted);
  padding: 0 0 10px;
}
.ha-week-table th {
  font-weight: 500;
  color: var(--ha-secondary);
}
.ha-week-table th,
.ha-week-table td {
  padding: 10px 8px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.ha-gap {
  display: flex;
  gap: 22px;
  padding: 25px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 7px;
}
.ha-gap-mark {
  font: 46px/1 var(--display);
  color: var(--muted);
}
.ha-gap h2 {
  font: 32px/1.15 var(--display);
  text-transform: uppercase;
  margin: 7px 0 14px;
}
.ha-gap p:not(.ha-title) {
  font-size: 12px;
  color: var(--ha-secondary);
  max-width: 60ch;
}
.ha-gap-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 21px;
}
.ha-gap-facts strong {
  color: var(--text);
  font-size: 18px;
  margin-right: 4px;
}
.ha-nfl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  margin-top: 15px;
}
.ha-nfl-results .ha-team-button {
  min-height: 65px;
}
.ha-load {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 7px;
  min-height: 340px;
  padding: 34px;
  margin-top: 32px;
}
.ha-state-symbol {
  font: 38px var(--display);
  color: var(--lime);
  display: block;
  margin-bottom: 22px;
}
.ha-load h2 {
  font-size: 24px;
  margin-bottom: 12px;
}
.ha-load p {
  font-size: 13px;
  color: var(--muted);
  max-width: 60ch;
}
.ha-load .ha-small {
  font-size: 11px;
  margin-top: 15px;
}
.ha-button {
  border: 0;
  background: var(--lime);
  color: var(--bg);
  font-weight: 600;
  font-size: 12px;
  border-radius: 4px;
  padding: 0 16px;
  margin-top: 22px;
}
.ha-button:hover {
  background: #e0ff90;
}
.ha-skeleton {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  max-width: 650px;
}
.ha-skeleton span {
  height: 18px;
  background: var(--surface-raised);
  border-radius: 3px;
}
.ha-skeleton span:nth-child(2) {
  width: 87%;
}
.ha-skeleton span:nth-child(3) {
  width: 68%;
}
.ha-dialog-open {
  overflow: hidden;
}
.ha-drawer {
  --blue: #9bc8ff;
  --ha-secondary: #b3c0cf;
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(580px, 100%);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg);
  color: var(--text);
  padding: 0;
  font-variant-numeric: tabular-nums;
  overscroll-behavior: contain;
}
.ha-drawer::backdrop {
  background: #02060dc9;
}
.ha-drawer-top {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 12px 22px;
}
.ha-drawer-top > span {
  font-size: 10px;
  color: var(--lime);
  line-height: 1.5;
}
.ha-close {
  width: 42px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}
.ha-drawer-body {
  padding: 28px 25px;
}
.ha-team-heading {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 25px;
}
.ha-team-heading img {
  width: 55px;
  height: 55px;
}
.ha-team-heading h2 {
  font: 33px/1.1 var(--display);
  text-transform: uppercase;
  margin-top: 6px;
}
.ha-team-record {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 0 0 20px;
}
.ha-team-record > strong {
  font: 50px/1 var(--display);
  color: var(--lime);
}
.ha-team-record > span {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
.ha-game-log-title {
  font-size: 17px;
  margin: 30px 0 9px;
}
.ha-game-log {
  margin-top: 20px;
}
.ha-game-log > details {
  border-top: 1px solid var(--line);
}
.ha-game-log summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  list-style: none;
  cursor: pointer;
  font-size: 11px;
}
.ha-game-log summary::-webkit-details-marker {
  display: none;
}
.ha-game-log summary:hover {
  color: var(--lime);
}
.ha-log-week {
  color: var(--muted);
  width: 24px;
  flex-shrink: 0;
}
.ha-log-opponent {
  flex: 1;
  line-height: 1.5;
}
.ha-log-opponent small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.ha-game-result {
  white-space: nowrap;
  font-size: 11px;
}
.ha-game-result b {
  font-weight: 600;
  margin-left: 6px;
}
.ha-win {
  color: var(--lime);
}
.ha-bye {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.ha-bye span:nth-child(2) {
  flex: 1;
}
.ha-game-log details > div {
  padding: 0 12px 12px;
  background: var(--surface);
}
@media (max-width: 1200px) and (min-width: 1001px) {
  .ha-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 24px;
  }
  .ha-rail {
    padding-left: 22px;
  }
  .ha-big-score b {
    font-size: 63px;
  }
  .ha-race-score {
    gap: 12px;
    padding: 13px 16px 25px;
  }
  .ha-race-owner > strong {
    font-size: 29px;
  }
  .ha-race-owner small span {
    display: none;
  }
  .ha-heading-note {
    display: none;
  }
}
@media (max-width: 1000px) {
  .ha-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .ha-rail {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 23px;
  }
  .ha-totals h2 {
    max-width: none;
  }
  .ha-total-disclosure > summary {
    display: flex;
    justify-content: space-between;
    color: var(--lime);
    font-size: 12px;
    cursor: pointer;
    padding: 12px 0;
    list-style: none;
  }
  .ha-total-disclosure > summary::-webkit-details-marker {
    display: none;
  }
  .ha-total-rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
  }
  .ha-total-limit {
    padding-top: 12px;
  }
  .ha-heading-note {
    display: none;
  }
}
@media (max-width: 650px) {
  .history-view .topbar {
    padding: 15px 16px 12px;
    gap: 8px;
  }
  .history-view .content-layout {
    padding: 22px 16px;
  }
  .ha-heading {
    margin-bottom: 19px;
  }
  .ha-title {
    font-size: 10px;
    margin-bottom: 9px;
  }
  .ha-heading h1 {
    font-size: 35px;
    line-height: 1.05;
    letter-spacing: -0.01em;
  }
  .ha-phone-break {
    display: block;
  }
  .ha-years button {
    padding: 11px 4px;
    text-align: center;
  }
  .ha-years button strong {
    font-size: 15px;
  }
  .ha-years button span {
    font-size: 8px;
    margin-top: 5px;
  }
  .ha-coverage-line {
    font-size: 9px;
    gap: 7px;
    margin: 10px 0 19px;
    line-height: 1.6;
    flex-wrap: wrap;
  }
  .ha-layout {
    gap: 25px;
  }
  .ha-race-top {
    padding: 12px 12px 8px;
    font-size: 8px;
    letter-spacing: 0.045em;
  }
  .ha-race-top > span:last-child {
    font-size: 7px;
  }
  .ha-divider {
    margin: 0 4px;
  }
  .ha-race-score {
    gap: 7px;
    padding: 12px 12px 19px;
    grid-template-columns: 1fr auto 1fr;
  }
  .ha-race-owner > span {
    font-size: 8px;
    margin-bottom: 6px;
  }
  .ha-race-owner > strong {
    font-size: 25px;
  }
  .ha-race-owner > small {
    font-size: 10px;
    margin-top: 8px;
  }
  .ha-race-owner small span {
    display: none;
  }
  .ha-big-score {
    gap: 5px;
    padding-top: 1px;
  }
  .ha-big-score b {
    font-size: 52px;
  }
  .ha-big-score > span {
    font-size: 16px;
  }
  .ha-race-bottom {
    padding: 10px 12px;
    font-size: 10px;
    gap: 5px;
    min-height: 37px;
  }
  .ha-race-bottom > span {
    display: none;
  }
  .ha-section-head {
    margin: 22px 0 12px;
    gap: 8px;
  }
  .ha-section-head h2 {
    font-size: 15px;
  }
  .ha-section-head > span {
    font-size: 8px;
    max-width: 95px;
    text-align: right;
  }
  .ha-standings-labels {
    font-size: 8px;
    padding-right: 30px;
  }
  .ha-owner > summary {
    gap: 9px;
    min-height: 65px;
    padding: 12px 2px 12px 0;
  }
  .ha-rank {
    font-size: 12px;
    width: 19px;
  }
  .ha-avatar {
    height: 29px;
    width: 29px;
    font-size: 9px;
  }
  .ha-owner-name strong {
    font-size: 13px;
  }
  .ha-owner-name small {
    font-size: 9px;
    margin-top: 5px;
  }
  .ha-owner-record {
    font-size: 13px;
  }
  .ha-owner-record b {
    font-size: 21px;
  }
  .ha-open {
    margin-left: 4px;
    width: 16px;
    font-size: 18px;
  }
  .ha-rank-note {
    font-size: 10px;
    margin-top: 10px;
  }
  .ha-roster {
    padding: 12px;
  }
  .ha-roster-intro {
    display: block;
  }
  .ha-roster-intro > span {
    display: block;
    margin-top: 5px;
    font-size: 10px;
  }
  .ha-roster-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ha-team-name {
    font-size: 11px;
  }
  .ha-team-button > strong {
    font-size: 11px;
  }
  .ha-team-button {
    gap: 10px;
  }
  .ha-contribution {
    max-width: 100px;
  }
  .ha-trend {
    margin-top: 23px;
  }
  .ha-trend .ha-section-head {
    margin-top: 19px;
  }
  .ha-owner-select select {
    font-size: 10px;
    padding: 0 20px 0 9px;
    min-height: 44px;
  }
  .ha-chart-legend {
    font-size: 10px;
    gap: 18px;
  }
  .ha-chart {
    margin-top: 8px;
  }
  .ha-week-stats {
    gap: 13px;
    font-size: 9px;
    padding: 12px 10px;
  }
  .ha-week-stats strong {
    display: block;
    font-size: 15px;
    margin: 0 0 6px;
  }
  .ha-week-note {
    font-size: 10px;
  }
  .ha-week-table {
    font-size: 9px;
  }
  .ha-week-table th,
  .ha-week-table td {
    padding: 10px 6px;
  }
  .ha-total-rows {
    grid-template-columns: minmax(0, 1fr);
  }
  .ha-gap {
    padding: 19px 16px;
    gap: 12px;
  }
  .ha-gap-mark {
    font-size: 30px;
  }
  .ha-gap h2 {
    font-size: 26px;
    margin-bottom: 14px;
  }
  .ha-gap p:not(.ha-title) {
    font-size: 11px;
  }
  .ha-gap-facts {
    font-size: 10px;
  }
  .ha-nfl-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 10px;
  }
  .ha-load {
    padding: 25px 20px;
    margin-top: 24px;
    min-height: 310px;
  }
  .ha-load h2 {
    font-size: 22px;
  }
  .ha-load p {
    font-size: 12px;
  }
  .ha-drawer-top {
    padding: 9px 16px;
  }
  .ha-drawer-top > span {
    font-size: 9px;
  }
  .ha-drawer-body {
    padding: 23px 16px;
  }
  .ha-team-heading h2 {
    font-size: 29px;
  }
  .ha-team-heading img {
    width: 44px;
    height: 44px;
  }
  .ha-team-record > strong {
    font-size: 44px;
  }
  .ha-game-log summary {
    gap: 10px;
  }
  .ha-game-result {
    font-size: 10px;
  }
  .ha-log-week {
    width: 21px;
  }
  .ha-drawer .ha-small {
    font-size: 10px;
  }
}
@media (max-width: 375px) {
  .ha-heading h1 {
    font-size: 33px;
  }
  .ha-big-score b {
    font-size: 46px;
  }
  .ha-race-owner > strong {
    font-size: 23px;
  }
  .ha-race-score {
    gap: 6px;
  }
  .ha-coverage-line {
    font-size: 8px;
  }
  .ha-race-top > span:last-child {
    font-size: 6.5px;
  }
  .ha-drawer .ha-team-record {
    gap: 12px;
  }
  .ha-team-record > span {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ha *,
  .ha-drawer * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 650px) {
  .history-view .content-layout {
    padding-top: 20px;
  }
  .ha-heading {
    margin-bottom: 16px;
  }
  .ha-coverage-line {
    margin-bottom: 16px;
  }
}

.ha-draft-pick {
  display: block;
  margin-top: 4px;
  color: var(--ha-secondary);
  font-size: 11px;
  font-weight: 400;
}
.ha-draft-detail {
  margin: 16px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ha-secondary);
}
.ha-draft-detail strong {
  color: var(--text);
}

/* Draft receipts: same archive surface, separate loading and interaction state. */
.he {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 2px solid var(--line);
  --he-negative: #ffb3a8;
}
.he-heading h2 {
  font: 36px/1.12 var(--display);
  text-transform: uppercase;
}
.he-heading > p:last-child {
  max-width: 65ch;
  margin: 14px 0 20px;
  color: var(--ha-secondary);
  line-height: 1.65;
}
.he h3 {
  font-size: 20px;
  text-wrap: balance;
}
.he h4 {
  font-size: 16px;
}
.he p,
.he li {
  line-height: 1.6;
}
.he-note,
.he-key,
.he-coverage {
  color: var(--ha-secondary);
  font-size: 13px;
  max-width: 75ch;
}
.he-coverage {
  margin-bottom: 8px;
}
.he-key {
  margin-bottom: 28px;
}
.he-over {
  color: var(--lime);
}
.he-under {
  color: var(--he-negative);
}
.he-even {
  color: var(--ha-secondary);
}
.he-scroll {
  overflow-x: auto;
  margin-top: 16px;
}
.he table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.he caption {
  text-align: left;
}
.he th,
.he td {
  padding: 14px 12px;
  text-align: right;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.he th:first-child {
  text-align: left;
}
.he thead th {
  color: var(--ha-secondary);
  font-size: 12px;
  font-weight: 500;
  background: var(--surface);
}
.he-matrix {
  min-width: 660px;
}
.he-matrix td strong {
  display: block;
  padding: 9px 5px;
  border-radius: 4px;
}
.he-matrix .he-over {
  background: #c3f36b12;
}
.he-matrix .he-under {
  background: #ffb3a812;
}
.he-matrix td:last-child {
  border-left: 1px solid var(--line);
  font-size: 18px;
}
.he-rank {
  color: var(--ha-secondary);
  margin-right: 9px;
  font-weight: 400;
}
.he-inspect {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 28px 0 20px;
}
.he-controls {
  display: flex;
  gap: 12px;
}
.he-controls label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--ha-secondary);
}
.he-controls select {
  min-height: 44px;
  min-width: 112px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.he-controls select:hover {
  border-color: var(--ha-secondary);
}
.he :is(select, button, summary, .he-scroll):focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
.he-roster-score {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}
.he-roster-score > strong:nth-child(2) {
  font-size: 24px;
}
.he-roster-score > span {
  color: var(--ha-secondary);
  font-size: 13px;
}
.he-roster-table th small {
  display: block;
  color: var(--ha-secondary);
  font-weight: 400;
  font-size: 11px;
  margin-top: 4px;
}
.he-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin: 36px 0;
  border-top: 1px solid var(--line);
}
.he-highlight {
  padding-top: 24px;
}
.he-highlight h3 {
  margin-bottom: 7px;
}
.he-highlight-score {
  margin: 12px 0 4px;
}
.he-highlight-score strong {
  font: 54px/1.1 var(--display);
}
.he-highlight-score > span {
  color: var(--ha-secondary);
  font-size: 13px;
}
.he-highlight ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.he-highlight li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.he-highlight li span {
  display: block;
  color: var(--ha-secondary);
  font-size: 12px;
}
.he-teams {
  border-top: 1px solid var(--line);
}
.he-all-teams,
.he-method {
  margin-top: 20px;
}
.he-method p {
  color: var(--ha-secondary);
  max-width: 75ch;
  margin: 12px 0;
  font-size: 13px;
}
.he-method ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  padding: 0;
  font-size: 13px;
}
.he-method a {
  color: var(--lime);
}
.he-state {
  margin: 20px 0;
  padding: 20px;
  background: var(--surface);
}
.he-state p {
  color: var(--ha-secondary);
  margin: 10px 0 16px;
}
@media (max-width: 650px) {
  .he {
    margin-top: 36px;
    padding-top: 26px;
  }
  .he-heading h2 {
    font-size: 29px;
  }
  .he-heading > p:last-child {
    font-size: 14px;
  }
  .he h3 {
    font-size: 18px;
  }
  .he .ha-section-head {
    align-items: start;
  }
  .he .ha-section-head > span {
    font-size: 10px;
  }
  .he-inspect {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }
  .he-controls {
    width: 100%;
  }
  .he-controls label {
    flex: 1;
  }
  .he-highlights {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .he th,
  .he td {
    padding: 12px 8px;
    font-size: 12px;
  }
  .he-roster-table th:first-child {
    white-space: normal;
    min-width: 140px;
  }
  .he-matrix th:first-child {
    position: sticky;
    left: 0;
    background: var(--bg);
  }
  .he-roster-score > span {
    flex-basis: 100%;
  }
  .he-team-table {
    min-width: 510px;
  }
}
.he-mobile-hint {
  display: none;
}
@media (max-width: 800px) {
  .he-mobile-hint {
    display: block;
    color: var(--ha-secondary);
    font-size: 12px;
  }
}
