:root {
  --newsprint: #f7f5ed;
  --newsprint-deep: #ebe6d7;
  --ink: #101827;
  --muted: #5f6571;
  --rule: #bdb8aa;
  --blue: #125cff;
  --green: #7bbf13;
  --red: #b42318;
  --gold: #b98518;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(16, 24, 39, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.62), transparent 30%),
    var(--newsprint);
  background-size: 100% 25px, auto, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.live-paper-shell {
  width: min(1500px, calc(100% - 28px));
  margin: 0 auto;
  padding-bottom: 48px;
}

.live-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  margin-top: 0;
  padding: 12px 20px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 9px),
    #07101c;
  color: #f7f5ed;
}

.live-wordmark {
  display: grid;
  gap: 2px;
  width: max-content;
}

.live-wordmark span {
  color: #fff;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.95;
}

.live-wordmark em {
  color: #8fd923;
  font-style: normal;
  font-weight: 500;
}

.live-wordmark small {
  color: #8fd923;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.22em;
  line-height: 1.2;
  text-transform: uppercase;
}

.masthead-right {
  display: grid;
  justify-items: end;
  gap: 3px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.masthead-right strong {
  color: #8fd923;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.live-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  border-bottom: 1px solid #1d2a3a;
  background: #07101c;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-nav a {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-bottom: 3px solid transparent;
}

.live-nav a:hover,
.live-nav .active {
  color: #fff;
  border-bottom-color: #8fd923;
}

.section-switch {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 10px;
  text-align: center;
  border-bottom: 1px solid rgba(143, 217, 35, 0.28);
  background:
    linear-gradient(90deg, rgba(5, 12, 22, 0.98), rgba(11, 27, 46, 0.98) 50%, rgba(5, 12, 22, 0.98)),
    #07101c;
}

.section-switch a {
  min-width: 160px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(59, 130, 246, 0.42);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(19, 42, 73, 0.96), rgba(7, 16, 28, 0.96)),
    #07101c;
  color: #e5edf7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.2);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-switch a:hover,
.section-switch a.active {
  border-color: rgba(143, 217, 35, 0.95);
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 1), rgba(29, 78, 216, 1)),
    var(--blue);
  color: #fff;
  box-shadow: inset 0 -4px 0 rgba(143, 217, 35, 0.95), 0 14px 30px rgba(37, 99, 235, 0.28);
}

.live-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-weight: 950;
}

.live-dateline {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 8px 20px;
  text-align: center;
  border-top: 1px solid #1a2a3a;
  border-bottom: 1px solid #1a2a3a;
  background: #07101c;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.archive-date-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.76);
}

.archive-date-copy {
  display: grid;
  gap: 2px;
}

.archive-date-copy span,
.archive-date-controls label span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.archive-date-copy strong {
  display: inline-flex;
  align-items: baseline;
  min-height: 28px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 24px;
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
}

.archive-date-copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.archive-date-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: end;
  gap: 8px;
}

.archive-date-controls label {
  display: grid;
  gap: 4px;
}

.archive-date-controls input,
.archive-date-controls select {
  min-height: 36px;
  min-width: 170px;
  border: 1px solid var(--rule);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.archive-date-controls input {
  padding: 0 10px;
}

.archive-date-controls select {
  padding: 0 32px 0 10px;
}

.archive-date-controls .newspaper-button {
  min-height: 36px;
}

.archive-date-controls .newspaper-button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.newspaper-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 26px;
  align-items: end;
  padding: 24px 0 14px;
  border-bottom: 4px double var(--ink);
}

.newspaper-masthead h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 9vw, 124px);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
}

.newspaper-masthead p {
  max-width: 960px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 750;
}

.warehouse-card {
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.72);
  padding: 13px;
}

.warehouse-card b {
  display: block;
  color: var(--blue);
  font-size: 11px;
  text-transform: uppercase;
}

.warehouse-card strong {
  display: block;
  margin-top: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

.warehouse-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 750;
}

.live-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid var(--rule);
  background: var(--newsprint-deep);
}

.live-toolbar .lane-switch {
  margin-left: auto;
  text-transform: uppercase;
}

.live-chip,
.live-tab {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--rule);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.live-chip.active,
.live-tab.active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.sport-filter-empty {
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
  font-weight: 950;
  text-transform: uppercase;
}

.sport-filter-empty[hidden] {
  display: none;
}

.feature-callout {
  display: grid;
  gap: 7px;
  margin: 16px 0;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-left: 5px solid var(--green);
  background: rgba(255, 255, 255, 0.82);
}

.feature-callout strong {
  font-size: 15px;
}

.feature-callout p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 750;
}

.new-tag {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 20px;
  padding: 0 7px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: rgba(123, 191, 19, 0.15);
  color: #397200;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.new-tag[hidden] { display: none; }

.details-link {
  width: max-content;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.live-info-drawer {
  margin: 0 0 14px;
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.76);
}

.live-info-drawer summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.live-info-drawer .rail-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 0;
  border-top: 1px solid rgba(16, 24, 39, 0.14);
}

.live-info-drawer .rail-item {
  padding: 12px 14px;
  border-right: 1px solid rgba(16, 24, 39, 0.14);
  border-bottom: 0;
}

.live-info-drawer .rail-item:last-child {
  border-right: 0;
}

.sports-layout,
.dfs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 22px;
  align-items: start;
}

.sports-layout > *,
.dfs-layout > *,
.newspaper-grid > *,
.dfs-team-grid > *,
.box-columns > *,
.box-score-card,
.dfs-panel,
.sports-rail,
.team-block,
.dfs-team {
  min-width: 0;
}

[hidden] {
  display: none !important;
}

.newspaper-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.newspaper-grid[data-card-count="0"],
.newspaper-grid[data-card-count="1"] {
  grid-template-columns: minmax(0, 1fr);
}

.mobile-game-focus {
  display: none;
}

.box-score-card,
.dfs-panel,
.sports-rail {
  border: 1px solid var(--rule);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 245, 237, 0.88));
  overflow: hidden;
  max-width: 100%;
}

.box-score-card > *,
.dfs-panel > *,
.sports-rail > *,
.newspaper-box > *,
.classic-boxscore > *,
.stat-board > *,
.warehouse-card > * {
  min-width: 0;
  max-width: 100%;
}

.affiliate-rail {
  min-height: 360px;
  display: grid;
  place-items: center;
  border-style: dashed;
  background:
    repeating-linear-gradient(135deg, rgba(16, 24, 39, 0.04) 0 1px, transparent 1px 10px),
    rgba(255, 255, 255, 0.55);
}

.affiliate-rail span {
  color: rgba(16, 24, 39, 0.38);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.box-score-card {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.box-score-card.linked-box-score-card {
  border-color: #1262ff;
  box-shadow: 0 0 0 3px rgba(18, 98, 255, 0.16);
}

.box-score-card h2,
.dfs-panel h2,
.sports-rail h2 {
  margin: 0;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 0.98;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: normal;
  max-width: 100%;
}

.kicker {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.meta-line,
.box-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 750;
}

.box-note strong { color: var(--ink); }

.newspaper-box {
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 2px solid rgba(16, 24, 39, 0.78);
  background:
    repeating-linear-gradient(0deg, rgba(16, 24, 39, 0.035) 0 1px, transparent 1px 23px),
    rgba(255, 255, 255, 0.78);
}

.newspaper-box-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 3px double var(--ink);
  text-transform: uppercase;
}

.newspaper-box-head span {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 950;
  letter-spacing: 0;
}

.newspaper-box-head b {
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.boxscore-stat-pack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.classic-boxscore {
  margin: 10px 0 0;
  padding: 9px 10px;
  border: 2px solid rgba(16, 24, 39, 0.78);
  background:
    repeating-linear-gradient(0deg, rgba(16, 24, 39, 0.035) 0 1px, transparent 1px 18px),
    rgba(255, 255, 255, 0.74);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.boxside-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(16, 24, 39, 0.72);
}

.boxside-tab {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(16, 24, 39, 0.45);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.boxside-tab span {
  color: var(--muted);
}

.boxside-tab.active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.boxside-tab.active span {
  color: #fff;
}

.classic-stat-section {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 9px;
  padding: 0 0 7px;
  border-bottom: 1px solid rgba(16, 24, 39, 0.38);
  background: transparent;
}

.classic-stat-section h3 {
  margin: 0 0 3px;
  padding: 0 0 2px;
  border-bottom: 2px solid rgba(16, 24, 39, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 0.92;
  text-transform: uppercase;
}

.classic-stat-table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
  font-size: 11px;
  line-height: 1.1;
}

.classic-stat-table th,
.classic-stat-table td {
  padding: 2px 4px;
  border-bottom: 1px solid rgba(16, 24, 39, 0.1);
}

.classic-stat-table th {
  font-size: 9px;
}

.classic-stat-table th:first-child,
.classic-stat-table td:first-child {
  min-width: 92px;
}

.stat-board {
  min-width: 0;
  border: 1px solid rgba(16, 24, 39, 0.22);
  background: rgba(247, 245, 237, 0.68);
}

.stat-board h3 {
  margin: 0;
  padding: 6px 7px 5px;
  border-bottom: 1px solid rgba(16, 24, 39, 0.5);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1;
  text-transform: uppercase;
}

.mini-score,
.box-table,
.dfs-table,
.line-score {
  width: 100%;
  border-collapse: collapse;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.mini-score th,
.mini-score td,
.box-table th,
.box-table td,
.dfs-table th,
.dfs-table td,
.line-score th,
.line-score td {
  padding: 4px 5px;
  border-bottom: 1px solid rgba(16, 24, 39, 0.14);
  text-align: right;
  white-space: nowrap;
}

.mini-score th:first-child,
.mini-score td:first-child,
.box-table th:first-child,
.box-table td:first-child,
.dfs-table th:first-child,
.dfs-table td:first-child,
.line-score th:first-child,
.line-score td:first-child {
  text-align: left;
}

.mini-score th,
.box-table th,
.dfs-table th,
.line-score th {
  color: #273143;
  font-size: 10px;
  text-transform: uppercase;
}

.mini-score,
.box-table,
.dfs-table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
}

.classic-stat-table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
}

.line-score {
  display: table;
  table-layout: fixed;
  border-top: 1px solid rgba(16, 24, 39, 0.35);
  border-bottom: 1px solid rgba(16, 24, 39, 0.35);
  max-width: 100%;
  overflow: visible;
  font-size: 10px;
}

.line-score th,
.line-score td {
  min-width: 0;
  padding: 4px 3px;
  background: rgba(255, 255, 255, 0.4);
}

.line-score th:first-child,
.line-score td:first-child {
  width: 38%;
  min-width: 0;
  font-weight: 950;
  white-space: normal;
}

.dfs-newspaper-box {
  margin: 12px 0;
}

.box-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.team-block h3,
.dfs-team h3 {
  margin: 0 0 5px;
  border-bottom: 1px solid var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  text-transform: uppercase;
}

.box-actions,
.dfs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.newspaper-button {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid var(--blue);
  border-radius: 5px;
  background: #fff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
}

.newspaper-button.primary {
  background: var(--blue);
  color: #fff;
}

.sports-rail,
.dfs-panel {
  padding: 14px;
}

.rail-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.rail-item {
  display: grid;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(16, 24, 39, 0.14);
  font-size: 13px;
  line-height: 1.35;
}

.rail-item b { color: var(--ink); }
.rail-item span { color: var(--muted); font-weight: 750; }
.green { color: var(--green); font-weight: 950; }
.red { color: var(--red); font-weight: 950; }
.blue { color: var(--blue); font-weight: 950; }

.proof-receipt {
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(18, 92, 255, 0.28);
  border-left: 5px solid var(--blue);
  background: rgba(255, 255, 255, 0.68);
}

.proof-receipt-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.proof-receipt-head b {
  color: var(--gold);
}

.proof-receipt dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid rgba(16, 24, 39, 0.12);
}

.proof-receipt dl div {
  display: grid;
  gap: 2px;
  padding: 7px;
  background: rgba(247, 245, 237, 0.84);
  min-width: 0;
}

.proof-receipt dt {
  color: var(--muted);
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
}

.proof-receipt dd {
  margin: 0;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.proof-receipt p,
.warehouse-copy {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 750;
}

.system-sheet-analysis {
  background: #fdfcf7;
  border: 2px solid rgba(16, 24, 39, 0.78);
  display: grid;
  gap: 8px;
  padding: 10px;
}

.system-sheet-analysis-head {
  align-items: flex-start;
  border-bottom: 2px solid var(--ink);
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding-bottom: 6px;
}

.system-sheet-analysis-head div {
  display: grid;
  gap: 3px;
}

.system-sheet-analysis-head span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-sheet-analysis-head b {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
}

.system-sheet-analysis-head a {
  background: var(--blue);
  border-radius: 5px;
  color: #fff;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 950;
  padding: 7px 10px;
  text-decoration: none;
  text-transform: uppercase;
}

.system-sheet-table {
  border-collapse: collapse;
  width: 100%;
}

.system-sheet-table th,
.system-sheet-table td {
  border-bottom: 1px solid rgba(16, 24, 39, 0.16);
  color: var(--ink);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  padding: 5px 4px;
  text-align: left;
  vertical-align: top;
}

.system-sheet-table th {
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
}

.system-outcome-grid {
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.system-outcome-grid span {
  background: rgba(247, 245, 237, 0.95);
  border: 1px solid rgba(16, 24, 39, 0.14);
  display: grid;
  gap: 1px;
  min-width: 0;
  padding: 4px;
}

.system-outcome-grid b {
  color: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
}

.system-sheet-analysis p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}

.admin-id-details {
  border: 1px dashed rgba(16, 24, 39, 0.22);
  background: rgba(247, 245, 237, 0.72);
}

.admin-id-details summary {
  padding: 7px 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-id-details dl {
  border-width: 1px 0 0;
}

.admin-id-details p {
  margin: 0;
  padding: 8px;
  border-top: 1px solid rgba(16, 24, 39, 0.12);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 750;
}

.boxscore-admin-note {
  margin-top: 2px;
}

.dfs-scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  padding: 13px;
  border: 3px double var(--ink);
  background: rgba(255, 255, 255, 0.76);
}

.dfs-scoreboard strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.dfs-scoreboard span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.versus {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 950;
}

.dfs-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dfs-team {
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.72);
  padding: 12px;
}

.dfs-matchup-board {
  border: 2px solid var(--ink);
  background: #fdfcf7;
  display: grid;
  gap: 10px;
  padding: 10px;
}

.dfs-matchup-board .dfs-scoreboard {
  margin: 0;
}

.dfs-matchup-board .dfs-team-grid {
  margin-top: 0;
}

.dfs-live-score-board {
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.72);
  padding: 8px 10px;
}

.dfs-live-score-board .newspaper-box-head {
  margin-bottom: 6px;
}

.dfs-live-score-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 6px;
}

.dfs-live-score-card {
  border-top: 1px solid rgba(16, 24, 39, 0.18);
  padding: 6px 2px 2px;
}

.dfs-live-score-card strong,
.dfs-live-score-card span {
  display: block;
}

.dfs-live-score-card strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.dfs-live-score-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  width: max-content;
  min-height: 22px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.warehouse-masthead h1 {
  font-size: clamp(48px, 8vw, 104px);
}

.warehouse-layout {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.warehouse-section {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.76);
}

.warehouse-section h2 {
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}

.warehouse-stat-grid,
.flow-grid,
.allowed-grid,
.decision-grid,
.provider-inventory {
  display: grid;
  gap: 10px;
}

.warehouse-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.allowed-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.decision-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.provider-inventory {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.warehouse-stat,
.flow-grid article,
.allowed-grid article,
.decision-grid article,
.provider-card {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(16, 24, 39, 0.14);
  background: rgba(247, 245, 237, 0.84);
}

.warehouse-stat span,
.flow-grid span,
.allowed-grid span,
.decision-grid span,
.provider-card header span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 750;
}

.warehouse-stat b {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.odds-api-meter {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(0, 102, 255, 0.28);
  background: #fff;
}

.odds-api-meter-head,
.odds-api-meter-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.odds-api-meter-head span,
.odds-api-meter-grid dt {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.odds-api-meter-head b {
  color: var(--green);
  font-size: 12px;
}

.odds-api-meter-main strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1;
}

.odds-api-meter-main small {
  color: var(--muted);
  font-weight: 800;
}

.odds-api-progress {
  height: 10px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.28);
  background: #ece7d8;
}

.odds-api-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #65a30d, #facc15);
}

.odds-api-meter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}

.odds-api-meter-grid div {
  border: 1px solid rgba(17, 24, 39, 0.16);
  padding: 6px;
}

.odds-api-meter-grid dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.flow-grid b,
.allowed-grid b,
.decision-grid b {
  font-size: 14px;
  font-weight: 950;
}

.decision-grid b {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1;
}

.decision-grid p,
.provider-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 750;
}

.provider-card {
  gap: 12px;
}

.provider-card header {
  display: grid;
  gap: 4px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}

.provider-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1;
}

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

.provider-columns section {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 9px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(16, 24, 39, 0.1);
}

.provider-columns b {
  color: var(--ink);
  font-size: 12px;
  text-transform: uppercase;
}

.provider-columns ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 17px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 750;
}

.provider-card dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 0;
}

.provider-card dl div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 8px;
  border-left: 4px solid var(--blue);
  background: rgba(247, 245, 237, 0.92);
}

.provider-card dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.provider-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.audit-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.audit-card {
  border-left: 5px solid var(--blue);
}

.audit-status-implemented {
  border-color: #0fa36b;
}

.audit-status-partial {
  border-color: #c79212;
}

.audit-status-blocked {
  border-color: #c83345;
}

.audit-card header span,
.audit-status-implemented span,
.audit-status-partial span,
.audit-status-blocked span {
  font-weight: 950;
}

.warehouse-table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.warehouse-table th,
.warehouse-table td {
  padding: 7px 8px;
  border-bottom: 1px solid rgba(16, 24, 39, 0.14);
  text-align: left;
  white-space: nowrap;
}

.warehouse-table th {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.danger-contract {
  border-left: 5px solid var(--red);
}

.danger-contract ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.55;
}

@media (max-width: 1120px) {
  .sports-layout,
  .dfs-layout,
  .newspaper-masthead,
  .live-header,
  .dfs-team-grid,
  .warehouse-stat-grid,
  .flow-grid,
  .allowed-grid,
  .decision-grid,
  .provider-inventory,
  .provider-columns {
    grid-template-columns: 1fr;
  }

  .live-nav { justify-content: flex-start; }

  .live-info-drawer .rail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .live-paper-shell {
    width: 100%;
    padding-bottom: 34px;
  }

  .live-header {
    gap: 9px;
    padding: 13px 16px 11px;
  }

  .live-wordmark {
    width: 100%;
  }

  .live-wordmark span {
    font-size: 24px;
  }

  .live-wordmark small {
    max-width: 280px;
    letter-spacing: 0.14em;
    line-height: 1.35;
  }

  .masthead-right {
    justify-items: start;
    gap: 2px;
  }

  .live-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 0 12px;
    scroll-padding-inline: 12px;
    scrollbar-width: none;
  }

  .live-nav::-webkit-scrollbar {
    display: none;
  }

  .live-nav a {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 12px;
    white-space: nowrap;
  }

  .live-nav a:last-child,
  .live-toolbar > *:last-child {
    margin-right: 12px;
  }

  .section-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
    justify-content: center;
    text-align: center;
  }

  .section-switch a {
    min-width: 0;
    min-height: 42px;
    font-size: 11px;
  }

  .live-dateline {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 4px;
    padding: 10px 16px;
    font-size: 11px;
    line-height: 1.25;
  }

  .archive-date-bar {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .archive-date-controls {
    justify-content: stretch;
  }

  .archive-date-controls label,
  .archive-date-controls input,
  .archive-date-controls select,
  .archive-date-controls .newspaper-button {
    width: 100%;
  }

  .newspaper-masthead {
    gap: 14px;
    padding: 18px 10px 13px;
    border-bottom-width: 3px;
  }

  .newspaper-grid,
  .box-columns,
  .boxscore-stat-pack,
  .dfs-scoreboard {
    grid-template-columns: 1fr;
  }

  .mobile-game-focus {
    display: grid;
    gap: 8px;
    margin: 0 10px 12px;
    padding: 10px;
    border: 2px solid var(--ink);
    background: rgba(255, 255, 255, 0.84);
  }

  .mobile-game-focus > div:first-child {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }

  .mobile-game-focus span,
  .mobile-game-focus b {
    color: var(--muted);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.08em;
    line-height: 1.15;
    text-transform: uppercase;
  }

  .mobile-game-focus b {
    color: var(--blue);
    white-space: nowrap;
  }

  .mobile-game-focus select {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 0 10px;
    border: 1px solid rgba(16, 24, 39, 0.45);
    border-radius: 4px;
    background: #fff;
    color: var(--ink);
    font: 850 13px/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
  }

  .mobile-game-focus-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mobile-game-focus button {
    min-height: 38px;
    border: 1px solid var(--blue);
    border-radius: 4px;
    background: #fff;
    color: var(--blue);
    font: 950 12px/1 Inter, ui-sans-serif, system-ui, sans-serif;
  }

  .mobile-game-focus button:not(:disabled) {
    cursor: pointer;
  }

  .mobile-game-focus button:disabled {
    border-color: var(--rule);
    color: #9ca3af;
  }

  .newspaper-grid[data-sports-grid] .box-score-card {
    display: none;
  }

  .newspaper-grid[data-sports-grid] .box-score-card.mobile-active-game {
    display: grid;
  }

  .newspaper-masthead h1 {
    font-size: clamp(38px, 13vw, 50px);
    line-height: 0.92;
    overflow-wrap: anywhere;
  }

  .newspaper-masthead p {
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.38;
  }

  .warehouse-card {
    padding: 12px;
  }

  .warehouse-card strong {
    font-size: 24px;
  }

  .live-toolbar {
    gap: 7px;
    padding: 12px 10px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scroll-padding-inline: 10px;
    scrollbar-width: none;
  }

  .live-toolbar::-webkit-scrollbar {
    display: none;
  }

  .live-chip,
  .live-tab {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 12px;
    white-space: nowrap;
  }

  .feature-callout {
    margin: 14px 10px;
  }

  .live-info-drawer {
    margin: 0 10px 14px;
  }

  .live-info-drawer summary {
    min-height: 38px;
    padding: 0 12px;
    font-size: 17px;
  }

  .live-info-drawer .rail-list {
    grid-template-columns: 1fr;
  }

  .live-info-drawer .rail-item {
    border-right: 0;
    border-bottom: 1px solid rgba(16, 24, 39, 0.14);
  }

  .sports-layout,
  .dfs-layout {
    padding: 0 10px;
    gap: 14px;
  }

  .warehouse-masthead h1 {
    font-size: clamp(38px, 13vw, 52px);
    line-height: 0.9;
  }

  .warehouse-masthead p {
    font-size: 14px;
  }

  .warehouse-section h2 {
    font-size: 18px;
    line-height: 1.05;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .box-score-card,
  .sports-rail,
  .dfs-panel {
    padding: 11px;
    width: 100%;
    max-width: 100%;
    contain: layout paint;
  }

  .box-score-card h2,
  .dfs-panel h2,
  .sports-rail h2 {
    font-size: clamp(18px, 6vw, 22px);
    line-height: 1.05;
    inline-size: 100%;
    width: auto;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .box-score-card > *,
  .dfs-panel > *,
  .sports-rail > *,
  .newspaper-box > *,
  .classic-boxscore > *,
  .stat-board > * {
    inline-size: auto;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .kicker,
  .meta-line,
  .box-note,
  .newspaper-box-head b {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .mini-score,
  .box-table,
  .dfs-table,
  .line-score {
    display: block;
    overflow-x: auto;
  }

  .line-score {
    table-layout: auto;
    min-width: 320px;
  }

  .classic-stat-table {
    font-size: 10px;
  }

  .admin-id-details,
  .proof-receipt,
  .box-actions {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .box-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .newspaper-button {
    justify-content: center;
    max-width: 100%;
    text-align: center;
    white-space: normal;
  }

  .proof-receipt dl {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .proof-receipt dl {
    grid-template-columns: 1fr;
  }
}
