.stadium-board {
  background: #102328;
  color: #f8f5ed;
  border: 1px solid #36535a;
  border-radius: 12px;
  overflow: hidden;
}
.stadium-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 12px 20px;
  background: #20383d;
  font-size: .73rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}
#scorecard .stadium-board .simple-score {
  gap: 1px;
  margin: 0;
  background: #36535a;
}
#scorecard .stadium-board article {
  margin: 0;
  padding: clamp(14px, 2.3vw, 30px);
  border: 0;
  background: #102328;
  color: inherit;
}
#scorecard .stadium-board strong {
  display: block;
  margin: 0 0 8px;
  color: #caef8a;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: clamp(1.85rem, 4vw, 3.65rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.07em;
  line-height: 1.05;
}
.stadium-board strong small { font-size: .48em; letter-spacing: 0; }
#scorecard .stadium-board :is(p, button) { color: #d9e8e7; }
#scorecard .stadium-board button { min-height: 30px; text-underline-offset: 3px; }
#scorecard .stadium-board button:focus-visible { outline: 2px solid #caef8a; outline-offset: 3px; }
.agency-stats { margin-block: 28px; }
.agency-stats > h2 { margin-bottom: 8px; }
.box-score-scroll { overflow-x: auto; border-block: 1px solid var(--line); }
.box-score { width: 100%; border-collapse: collapse; font-size: .875rem; font-variant-numeric: tabular-nums; }
.box-score :is(th, td) { padding: 11px 13px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.box-score :is(thead, tfoot) { background: #e2e8dc; }
.box-score tr > :first-child { text-align: left; }
.box-score caption { text-align: left; padding: 8px 13px; font-size: .75rem; }
@media (max-width: 540px) {
  #scorecard .stadium-board .simple-score { grid-template-columns: 1fr; }
}

.record-board { border: 1px solid #36535a; border-radius: 12px; overflow: hidden; }
.record-board .stadium-strip { color: #f8f5ed; }
#fixes .record-board .fix-summary { margin: 0; padding: 12px 20px; background: #eef0e5; }
.record-rundown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-block: 22px;
  padding: 16px 20px;
  border-inline-start: 3px solid var(--orange);
  background: #f8f3e9;
}
.record-rundown h2 { margin: 0 0 6px; }
.record-rundown p { margin: 0 0 8px; }
#fixes .record-meta { margin: 0 0 4px; font-size: .76rem; font-weight: 650; color: #4c554b; }
.podcast-episode > div { max-width: 74ch; }
#podcast-status { display: block; margin-top: 6px; }

.arena-view {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 34px clamp(8px, 2.5vw, 34px) 26px;
  border-radius: 16px;
  background: #132930;
}
.arena-seats {
  position: absolute;
  inset: 0 0 28%;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 0%, #d4eae946, transparent 65%),
    radial-gradient(circle at 4px 4px, #a9c4cc35 1px, transparent 1.8px) 0 0 / 10px 8px,
    repeating-linear-gradient(0deg, transparent 0 15px, #47656e50 15px 16px);
  mask-image: linear-gradient(#000, transparent);
}
.arena-floor {
  position: absolute;
  z-index: -1;
  inset: auto -4% -38px;
  height: 84px;
  border: 1px solid #c0d4c35c;
  background: repeating-linear-gradient(90deg, #34504a 0 1px, #29463f 1px 15px);
  transform: perspective(140px) rotateX(25deg);
  transform-origin: center top;
}
.arena-floor::before, .arena-floor::after, .arena-floor span {
  content: '';
  position: absolute;
  inset: 10px 8%;
  border: 1px solid #c0d4c36b;
  border-radius: 25px;
}
.arena-floor::after { inset: 10px 50% 10px auto; border-radius: 0; border-inline-end: 0; }
.arena-floor span { inset: 17px calc(50% - 22px) auto; width: 44px; height: 44px; border-radius: 50%; }
.arena-view .stadium-board { box-shadow: 0 5px 22px #081519a0; }
#scorecard:not([hidden]) .stadium-board strong { animation: board-light .48s ease-out both; }
@keyframes board-light { from { opacity: .58; } to { opacity: 1; } }
.broadcast-label {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 7px;
  color: #71371f;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.broadcast-label span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px #ad542f25;
}

.score-sound {
  margin-inline-start: auto;
  padding: 3px 9px;
  background: transparent;
  border: 1px solid #acc2c6;
  border-radius: 4px;
  font: inherit;
  min-height: 30px;
}
#scorecard .stadium-board .score-sound[aria-pressed="true"] { color: #caef8a; }

#scorecard .welcome-copy, #fixes .welcome-copy { text-align: left; margin-inline: 0; }
#scorecard .welcome-copy h1, #fixes .welcome-copy h1 { margin-block: 8px; }
.score-period { font-weight: 400; }
.arena-view { padding-block: 23px 19px; border-radius: 8px; }
.arena-view .stadium-board, .record-board { border-radius: 6px; }
#scorecard .stadium-board article { display: grid; align-content: start; gap: 7px; }
#scorecard .stadium-board h2 { font-size: clamp(.95rem, 1.55vw, 1.25rem); line-height: 1.2; margin: 0; }
#scorecard .stadium-board article button { justify-self: start; margin: 4px 0 0; font-size: .83rem; }
#scorecard .stadium-board strong { margin-bottom: 0; }
.box-return { color: var(--ink); background: none; border: 0; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; }
#fix-list { border-top: 1px solid var(--line); }
#fix-list .fix-card { padding: 14px 0; }
#fix-list .fix-card h2 { font-size: clamp(1.05rem, 2vw, 1.45rem); margin: 0 0 4px; }
#fix-list .fix-card p { margin-bottom: 6px; }

.app-preview { display: grid; grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); gap: clamp(22px, 5vw, 64px); align-items: start; max-width: 850px; margin: 0 auto 34px; }
.app-phone {
  box-sizing: border-box;
  width: min(100%, 21rem);
  min-height: 34rem;
  display: flex;
  flex-direction: column;
  padding: 10px 16px 12px;
  border: 8px solid #202425;
  border-radius: 42px;
  background: var(--soft);
  color: var(--ink);
  box-shadow: 0 0 0 1px #858989, 0 14px 30px #0003;
}
.app-status { position: relative; display: flex; justify-content: space-between; align-items: center; min-height: 32px; padding-inline: 9px; font-size: .72rem; font-weight: 700; }
.app-camera { position: absolute; left: 50%; transform: translateX(-50%); width: 74px; height: 19px; border-radius: 20px; background: #202425; }
.app-battery { width: 16px; height: 8px; border: 1px solid currentColor; border-radius: 2px; background: currentColor; box-shadow: inset 0 0 0 1px var(--soft); }
.app-screen-header, .app-gio { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.app-screen-header { border-bottom: 1px solid var(--line); padding: 16px 0 11px; }
.app-screen-header strong { font-size: 1.22rem; }
.app-gio { justify-content: flex-start; margin: 24px 0 19px; }
.app-gio img { flex: 0 0 auto; width: clamp(44px, 12vw, 76px); height: auto; }
.app-gio p { margin: 2px 0 0; font-size: .86rem; line-height: 1.35; }
.app-phone-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-block: 18px 24px; }
.app-phone-actions :is(button,a) { display: flex; align-items: center; min-height: 56px; text-align: start; border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: var(--paper); color: var(--ink); font: inherit; font-size: .8rem; line-height: 1.25; }
.app-home-indicator { margin: auto auto 0; width: 35%; height: 4px; border-radius: 4px; background: var(--ink); }
.app-library { scroll-margin-top: 125px; }
.app-library :is(a,button) { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.app-library button { border: 0; padding: 0; background: transparent; font: inherit; }
@media (max-width: 690px) { .app-preview { grid-template-columns: 1fr; } .app-phone { width: min(100%, 21rem); margin-inline: auto; } }

#scorecard .scorecard-panel {
  border-radius: 10px;
  background: #101f26;
  box-shadow: 0 10px 30px #101f261a;
}
#scorecard .scorecard-panel .stadium-strip, #fixes .record-board .stadium-strip {
  padding: 11px clamp(12px, 2vw, 26px);
  align-items: center;
  background: #1a3440;
  color: #eef4f4;
  border-bottom: 2px solid #8ec6ad;
}
#scorecard .scorecard-panel article { background: #101f26; gap: 10px; }
#scorecard .scorecard-panel h2 { color: #c6d9de; font-size: .89rem; font-weight: 650; }
#scorecard .scorecard-panel strong { color: #e0f7be; font-size: clamp(2.2rem, 5.7vw, 4.5rem); }
.score-meter { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; max-width: 10rem; padding-top: 8px; }
.score-meter i { height: 4px; border-radius: 4px; background: #526c73; }
.score-meter i:nth-child(-n+2) { background: #bfe890; }
#fixes .record-board { margin-bottom: 20px; }
#fixes .record-board .fix-filters {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--line);
}
#fixes .record-board .fix-filters button {
  margin: 0;
  min-height: 60px;
  padding: 7px;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: var(--soft);
}
#fixes .record-board .fix-filters button b { display: block; font-size: 1.4rem; font-variant-numeric: tabular-nums; }
#fixes .record-board .fix-filters button[aria-pressed="true"] { box-shadow: inset 0 -3px var(--orange); background: var(--wash); }
#fixes .record-board .fix-filters button:focus-visible { outline-offset: -4px; }
#fix-list .fix-card { padding: 18px 0; gap: 10px 20px; }
#fix-list .fix-status { align-self: start; width: fit-content; }
@media (max-width: 385px) {
  #fixes .record-board .fix-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

.outreach-channels { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,15rem),1fr)); gap: 16px; margin-block: 20px; }
.outreach-channels article { border-top: 2px solid var(--orange); padding: 10px 0 4px; }
.outreach-channels h2 { font-size: 1.08rem; margin: 0 0 6px; }
.outreach-channels p { color: var(--muted); font-size: .88rem; margin: 0; }

.score-console { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--paper); }
.score-console-head { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 14px; padding: 12px 20px; background: #142630; color: #edf5f6; font-size: .83rem; font-weight: 650; }
.score-sample { color: #c0d0d6; font-weight: 400; }
.score-console-head .score-sound { color: inherit; }
.score-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; background: var(--line); }
.score-metrics button { position: relative; display: grid; gap: 10px; text-align: start; background: var(--paper); color: var(--ink); border: 0; padding: clamp(16px,3vw,34px); font: inherit; cursor: pointer; }
.score-metrics button:is(:hover,[aria-expanded="true"]) { background: var(--soft); }
.score-metrics button[aria-expanded="true"] { box-shadow: inset 0 -3px var(--orange); }
.score-metrics button:focus-visible { outline: 2px solid var(--orange); outline-offset: -4px; }
.score-metrics button > span { font-size: .87rem; font-weight: 600; }
.score-metrics strong { color: var(--orange); font-size: clamp(2rem,5vw,4.4rem); line-height: 1; letter-spacing: -.07em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.score-metrics strong em { font-size: .46em; font-style: normal; letter-spacing: 0; }
.score-metrics small { position: absolute; inset: auto 12px 6px auto; color: var(--muted); transition: transform .2s ease; }
.score-metrics [aria-expanded="true"] small { transform: rotate(45deg); }
.score-explainer { padding: 14px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
@media (max-width: 560px) {
  .score-metrics { grid-template-columns: 1fr; }
  .score-metrics button { gap: 5px; }
}

.app-gio-art { position: relative; display: grid; flex: none; }
.app-gio-glass {
  position: absolute;
  width: 48%;
  right: -4%;
  bottom: 6%;
  color: var(--ink);
  opacity: 0;
  transform: translate(-10%, 40%) rotate(24deg);
  transition: transform .26s ease-out, opacity .18s ease-out;
}
.app-phone:is(:hover, :focus-within) .app-gio-glass {
  opacity: 1;
  transform: translate(0, -20%) rotate(-10deg);
}
@media (prefers-reduced-motion: no-preference) {
  .app-phone:is(:hover, :focus-within) .app-gio-art img {
    animation: app-gio-inspect .45s ease-out;
  }
  @keyframes app-gio-inspect {
    25% { transform: rotate(-9deg); }
    55% { transform: rotate(8deg); }
    80% { transform: rotate(-3deg); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .app-gio-glass { transition: none; }
}
