/* NFLS AI ARENA · Rio Hub modules
   Tokens: navy #081A33 · red #E0444A · cyan #21D4FD · paper #F3F5F7
   Progressive enhancement on top of rio-nfl-game.css
*/
.rio-hub-root {
  --rh-navy: #081A33;
  --rh-red: #E0444A;
  --rh-cyan: #21D4FD;
  --rh-paper: #F3F5F7;
  --rh-steel: #8fa3bc;
  --rh-rule: rgba(255, 255, 255, 0.12);
}

.rio-hub-module {
  padding: 72px 5vw;
  background: #06172c;
  color: #fff;
}
.rio-hub-module--paper {
  background: var(--rh-paper);
  color: var(--rh-navy);
}
.rio-hub-module__head {
  max-width: 780px;
  margin-bottom: 32px;
}
.rio-hub-module__head h2 {
  margin: 0 0 12px;
  font: 900 clamp(36px, 5vw, 64px) / 1.05 var(--display, system-ui);
  text-transform: uppercase;
  letter-spacing: -0.04em;
}
.rio-hub-module__head > p {
  color: inherit;
  opacity: 0.85;
  line-height: 1.55;
  max-width: 640px;
}
.rio-hub-module--paper .rio-hub-module__head > p {
  color: #43546a;
  opacity: 1;
}

.rio-hub-grid {
  display: grid;
  gap: 14px;
}
.rio-hub-grid--2 { grid-template-columns: repeat(2, 1fr); }
.rio-hub-grid--3 { grid-template-columns: repeat(3, 1fr); }

.rio-hub-card {
  padding: 24px;
  background: #0a2748;
  border: 1px solid var(--rh-rule);
}
.rio-hub-module--paper .rio-hub-card {
  background: #fff;
  border-color: #cdd6e0;
}
.rio-hub-card small {
  color: var(--rh-red);
  font-weight: 900;
  letter-spacing: 0.12em;
  font-size: 11px;
}
.rio-hub-card h3 {
  margin: 10px 0;
  font: 900 26px / 1.1 var(--display, system-ui);
  text-transform: uppercase;
}
.rio-hub-card p,
.rio-hub-card li {
  color: var(--rh-steel);
  line-height: 1.5;
  font-size: 14px;
}
.rio-hub-module--paper .rio-hub-card p,
.rio-hub-module--paper .rio-hub-card li {
  color: #53647a;
}
.rio-hub-card a {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 900;
  color: var(--rh-cyan);
  text-decoration: none;
}
.rio-hub-module--paper .rio-hub-card a { color: var(--rh-navy); }

.rio-hub-callout {
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 4px solid var(--rh-red);
  background: rgba(224, 68, 74, 0.12);
}
.rio-hub-module--paper .rio-hub-callout {
  background: #e4eaf0;
}
.rio-hub-callout b {
  display: block;
  margin-bottom: 8px;
  font: 900 18px var(--display, system-ui);
  text-transform: uppercase;
}
.rio-hub-callout ul,
.rio-hub-callout ol {
  margin: 0;
  padding-left: 1.2em;
  line-height: 1.55;
  color: var(--rh-steel);
}
.rio-hub-module--paper .rio-hub-callout ul,
.rio-hub-module--paper .rio-hub-callout ol {
  color: #43546a;
}
.rio-hub-callout--flag {
  border-left-color: var(--rh-cyan);
}

.rio-hub-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--rh-steel);
  line-height: 1.45;
}
.rio-hub-module--paper .rio-hub-note { color: #53647a; }

.rio-hub-flag {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 8px;
  border: 1px solid var(--rh-cyan);
  color: var(--rh-cyan);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rio-hub-module--paper .rio-hub-flag {
  border-color: var(--rh-red);
  color: var(--rh-red);
}

.rio-hub-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--rh-steel);
}
.rio-hub-pill {
  padding: 6px 12px;
  font: 900 12px / 1 var(--display, system-ui);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.rio-hub-pill--ok { background: #1a5c3a; color: #fff; }
.rio-hub-pill--warn { background: #b45309; color: #fff; }
.rio-hub-pill--alert { background: var(--rh-red); color: #fff; }

.rio-hub-clock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.rio-hub-clock > div {
  padding: 22px;
  background: #fff;
  color: var(--rh-navy);
}
.rio-hub-module:not(.rio-hub-module--paper) .rio-hub-clock > div {
  background: #0a2748;
  color: #fff;
  border: 1px solid var(--rh-rule);
}
.rio-hub-clock b {
  display: block;
  font: 900 48px / 1 var(--display, system-ui);
}
.rio-hub-clock span {
  color: var(--rh-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rio-hub-table-wrap { max-width: 100%; overflow-x: auto; overflow-y: hidden; contain: inline-size layout paint; overscroll-behavior-inline: contain; }
.rio-hub-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 8px 0 20px;
}
.rio-hub-table th,
.rio-hub-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #cad4df;
  text-align: left;
  vertical-align: top;
}
.rio-hub-module:not(.rio-hub-module--paper) .rio-hub-table th,
.rio-hub-module:not(.rio-hub-module--paper) .rio-hub-table td {
  border-bottom-color: var(--rh-rule);
}
.rio-hub-table th {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rh-red);
}
.rio-hub-empty {
  color: var(--rh-red);
  font-weight: 900;
}

.rio-hub-timeline {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  max-width: 720px;
}
.rio-hub-timeline li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #cad4df;
  line-height: 1.45;
}
.rio-hub-timeline time {
  font: 900 14px var(--display, system-ui);
  color: var(--rh-red);
}

.rio-hub-dict {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
}
.rio-hub-dict > div {
  padding: 18px;
  background: #fff;
  border: 1px solid #cdd6e0;
}
.rio-hub-dict dt {
  font: 900 16px var(--display, system-ui);
  text-transform: uppercase;
  color: var(--rh-navy);
  margin-bottom: 6px;
}
.rio-hub-dict dd {
  margin: 0;
  color: #53647a;
  line-height: 1.45;
  font-size: 14px;
}

.rio-hub-diagram {
  margin: 0 0 20px;
  background: #06172c;
  padding: 12px;
}
.rio-hub-diagram svg { width: 100%; height: auto; display: block; }
.rio-hub-diagram figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: #53647a;
  line-height: 1.45;
}

.rio-hub-list {
  max-width: 640px;
  line-height: 1.55;
  color: #43546a;
}

.rio-hub-wires {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.rio-hub-wires a {
  padding: 8px 12px;
  border: 1px solid var(--rh-cyan);
  color: var(--rh-cyan);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}
.rio-hub-module--paper .rio-hub-wires a {
  border-color: var(--rh-navy);
  color: var(--rh-navy);
}
.rio-hub-wires a:hover { background: rgba(33, 212, 253, 0.12); }

.rio-hub-faq details {
  border-bottom: 1px solid #cad4df;
  padding: 14px 0;
}
.rio-hub-faq summary {
  cursor: pointer;
  font: 900 18px / 1.25 var(--display, system-ui);
  text-transform: uppercase;
  list-style: none;
}
.rio-hub-faq summary::-webkit-details-marker { display: none; }
.rio-hub-faq details p {
  margin: 10px 0 0;
  color: #53647a;
  line-height: 1.5;
}

.rio-hub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 5vw;
  background: #071c35;
  border-bottom: 1px solid var(--rh-rule);
  position: sticky;
  top: 0;
  z-index: 20;
}
.rio-hub-nav a {
  padding: 6px 10px;
  border: 1px solid var(--rh-rule);
  color: var(--rh-steel);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.rio-hub-nav a:hover,
.rio-hub-nav a[aria-current="true"] {
  color: var(--rh-cyan);
  border-color: var(--rh-cyan);
}

@media (max-width: 900px) {
  .rio-hub-grid--2,
  .rio-hub-grid--3,
  .rio-hub-dict,
  .rio-hub-clock { grid-template-columns: 1fr; }
  .rio-hub-timeline li { grid-template-columns: 1fr; gap: 4px; }
  .rio-hub-module { padding: 48px 5vw; }
}
