:root {
  --ink: #18232b;
  --muted: #687780;
  --red: #d83f3b;
  --blue: #227b95;
  --line: #e3e8eb;
  --paper: #fff;
  --ground: #f5f7f8;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.65;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button,
input,
select {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  color: var(--ink);
  min-height: 40px;
  padding: 8px 13px;
}
button:hover {
  border-color: #aab8c0;
  background: #f5f7f8;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--red);
}
:focus-visible {
  outline: 3px solid #2982a9;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: -90px;
  left: 15px;
  z-index: 99;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}
.center-shell {
  max-width: 1240px;
  padding: 0 36px;
  margin: auto;
}
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 44px 0 28px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--red);
  margin: 0 0 12px;
}
.masthead h1 {
  font-size: 38px;
  letter-spacing: -1.5px;
  line-height: 1.2;
  margin: 0 0 12px;
  font-weight: 750;
}
.muted {
  color: var(--muted);
}
.masthead p {
  margin-bottom: 0;
}
.edition {
  text-align: right;
  font-size: 12px;
  color: var(--muted);
  line-height: 2;
}
.edition small {
  font-size: 11px;
}
.account-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  margin-bottom: 24px;
  color: var(--muted);
  gap: 10px;
}
.account-strip > div {
  display: flex;
  align-items: center;
  gap: 18px;
}
.account-strip button {
  padding: 0;
  border: 0;
  background: transparent;
  min-height: 30px;
  color: var(--muted);
}
.connection-dot {
  display: inline-block;
  background: #288563;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin: 0 8px 2px 0;
}
.scope-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.scope-tabs button {
  padding: 10px 1px 15px;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 16px;
  font-weight: 650;
  position: relative;
  color: var(--muted);
}
.scope-tabs [aria-pressed="true"] {
  color: var(--ink);
}
.scope-tabs [aria-pressed="true"]:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
}
.filters {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.date-control {
  display: flex;
  align-items: center;
  gap: 5px;
}
.date-control input {
  width: 152px;
}
.date-control button {
  min-width: 38px;
}
.date-control #today {
  background: #eaf0f3;
  border-color: #eaf0f3;
}
.search {
  flex: 1;
  min-width: 190px;
}
.search input {
  width: 100%;
}
.filters select {
  max-width: 140px;
}
.list-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  padding: 4px 0;
}
.list-meta > span {
  align-self: center;
}
.league-group {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 17px;
  overflow: hidden;
}
.league-group h2 {
  margin: 0;
  background: #f0f3f5;
  padding: 12px 20px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.league-group h2 small {
  font-weight: 400;
  color: var(--muted);
  margin-left: auto;
}
.league-marker {
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: var(--red);
}
.match-row {
  display: grid;
  grid-template-columns: 100px 85px minmax(0, 1fr) 96px minmax(0, 1fr) 65px;
  gap: 12px;
  align-items: center;
  padding: 19px 20px;
  min-height: 89px;
  border-top: 1px solid #edf0f2;
  transition: background 0.15s;
}
.match-row:hover {
  background: #fff9f7;
  color: inherit;
}
.match-time {
  display: flex;
  flex-direction: column;
}
.match-time strong {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.3px;
  font-size: 15px;
}
.match-time small {
  color: var(--muted);
  font-size: 11px;
}
.match-state {
  font-size: 11px;
  color: var(--muted);
}
.match-state.live,
.status-pill.live {
  color: #137c54;
}
.live:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 5px;
}
.team {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.team.home {
  justify-content: flex-end;
  text-align: right;
}
.badge {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f0f3f5;
  border-radius: 50%;
  font-size: 12px;
  color: #6e7b84;
}
.badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.score {
  text-align: center;
  font-size: 21px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: 2px;
}
.row-action {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}
.row-action span {
  color: var(--red);
  font-size: 17px;
  margin-left: 5px;
}
.load-more {
  display: block;
  margin: 20px auto;
  min-width: 200px;
}
.coverage {
  font-size: 12px;
  color: var(--muted);
  margin: 30px 0;
}
.coverage summary {
  cursor: pointer;
  color: var(--ink);
}
.center-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  padding: 30px 0;
  border-top: 1px solid var(--line);
  margin-top: 36px;
}
.center-footer strong {
  font-size: 20px;
  color: var(--red);
}
.center-footer a {
  margin-left: auto;
}
.empty {
  text-align: center;
  padding: 40px 24px;
  color: var(--muted);
  background: #fff;
  border-radius: 9px;
}
.empty h3 {
  color: #43545e;
  font-size: 16px;
  margin: 10px 0 5px;
}
.empty p {
  font-size: 13px;
  margin: 0 auto;
  max-width: 440px;
}
.empty-symbol {
  display: inline-grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #8c9da6;
  font-size: 22px;
}
.error-box {
  background: #fff6f3;
  color: #884332;
  border: 1px solid #efd8cf;
  padding: 22px;
  border-radius: 8px;
}
.error-box p {
  font-size: 13px;
}
.skeleton {
  padding: 25px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 16px;
}
.skeleton i {
  display: block;
  background: #edf1f3;
  height: 18px;
  margin-bottom: 15px;
  border-radius: 4px;
  animation: shimmer 1.4s ease-in-out infinite alternate;
}
.skeleton i:nth-child(2) {
  width: 70%;
}
.skeleton i:nth-child(3) {
  width: 42%;
  margin-bottom: 0;
}
@keyframes shimmer {
  to {
    opacity: 0.35;
  }
}
.detail-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.detail-toolbar > a {
  font-size: 13px;
  color: var(--muted);
}
.detail-toolbar > div {
  display: flex;
  gap: 8px;
}
.detail-toolbar button {
  font-size: 12px;
  min-height: 34px;
  padding: 5px 11px;
}
.match-hero {
  border-radius: 12px;
  background: #1d2e39;
  color: #fff;
  overflow: hidden;
  position: relative;
}
.match-hero:after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  border: 1px solid #ffffff08;
  border-radius: 50%;
  top: 0;
  left: calc(50% - 155px);
  pointer-events: none;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 28px;
  border-bottom: 1px solid #ffffff14;
  font-size: 12px;
  color: #becad1;
}
.scoreboard {
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  align-items: center;
  text-align: center;
  padding: 30px 30px 36px;
  position: relative;
  z-index: 1;
}
.hero-team .badge {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #fff;
  font-size: 23px;
}
.hero-team h1 {
  font-size: 23px;
  margin: 14px 0 1px;
}
.hero-team > span:last-child {
  font-size: 11px;
  color: #a9bac5;
}
.hero-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-score > strong {
  font-size: 54px;
  line-height: 1.15;
  letter-spacing: 4px;
  font-variant-numeric: tabular-nums;
}
.hero-score small {
  color: #b6c4cd;
  font-size: 11px;
}
.status-pill {
  font-size: 11px;
  color: #d8e2e8;
  border-radius: 20px;
  padding: 3px 12px;
  background: #ffffff0e;
}
.status-pill.live {
  color: #89e5ba;
}
.detail-tabs {
  display: flex;
  gap: 4px;
  background: var(--ground);
  padding: 16px 0;
  margin-bottom: 8px;
  position: sticky;
  top: 0;
  z-index: 5;
  overflow: auto;
}
.detail-tabs button {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  padding: 10px 18px;
}
.detail-tabs [aria-current="page"] {
  background: var(--ink);
  color: white;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  padding: 24px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.panel-heading h2 {
  font-size: 17px;
  margin: 0;
  letter-spacing: -0.3px;
}
.panel-heading > span {
  font-size: 11px;
  color: var(--muted);
}
.team-legend {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin: 8px 0 24px;
  gap: 20px;
}
.home-dot:before,
.away-dot:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 7px;
}
.away-dot:before {
  background: var(--blue);
}
.stat-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 50px;
  row-gap: 19px;
}
.stat-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  font-size: 13px;
  text-align: center;
  gap: 6px;
}
.stat-row strong:first-child {
  text-align: left;
}
.stat-row strong:nth-child(3) {
  text-align: right;
}
.stat-row strong {
  font-variant-numeric: tabular-nums;
}
.stat-row > span {
  font-size: 12px;
  color: var(--muted);
}
.stat-row svg {
  grid-column: 1/-1;
  height: 4px;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}
.recap {
  border-left: 3px solid var(--red);
  padding: 2px 0 2px 22px;
}
.recap p {
  font-size: 15px;
  margin: 9px 0;
}
.recap small {
  font-size: 11px;
  color: var(--muted);
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.timeline time {
  width: 52px;
  text-align: right;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.timeline .event-icon {
  width: 28px;
  text-align: center;
}
.timeline li > div {
  flex: 1;
}
.timeline strong {
  font-size: 14px;
}
.timeline li > div > span {
  font-size: 12px;
  color: var(--muted);
  margin-left: 12px;
}
.timeline p {
  margin: 4px 0;
  font-size: 12px;
}
.timeline small {
  color: var(--muted);
}
.timeline b {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.home-event time {
  color: var(--red);
}
.away-event time {
  color: var(--blue);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.lineup-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--line);
  padding-bottom: 12px;
}
.lineup-title h3 {
  margin: 0;
}
.lineup-title strong {
  font-size: 18px;
}
.lineup h4 {
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0 7px;
}
.lineup ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lineup li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #edf0f2;
  align-items: center;
  font-size: 13px;
}
.lineup li small {
  margin-left: auto;
  color: var(--muted);
}
.jersey {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: #f0f3f5;
  border-radius: 4px;
  font-size: 11px;
  flex-shrink: 0;
}
.table-scroll {
  overflow: auto;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
td,
th {
  white-space: nowrap;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
thead th {
  background: #f4f6f7;
  color: var(--muted);
  font-weight: 500;
}
th button {
  border: 0;
  background: none;
  padding: 0;
  min-height: 24px;
  font-size: 12px;
}
.player-scroll th:first-child {
  position: sticky;
  left: 0;
  background: #fff;
  box-shadow: 1px 0 var(--line);
  z-index: 1;
}
.player-scroll thead th:first-child {
  background: #f4f6f7;
}
.data-note {
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 18px;
}
.data-pairs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0 25px;
  margin: 0;
}
.data-pairs > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #edf0f2;
  padding: 12px 0;
  min-width: 0;
}
.data-pairs dt {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.data-pairs dd {
  margin: 0;
  font-size: 13px;
  text-align: right;
  overflow-wrap: anywhere;
}
.data-group {
  margin: 12px 0;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.data-group > summary,
.chart-data > summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 0;
}
.data-group .data-group {
  margin-left: 12px;
}
.pitch,
.chart {
  width: 100%;
  display: block;
}
.chart text {
  font-size: 11px;
  fill: var(--muted);
}
.chart-data {
  margin-top: 18px;
}
.market-picker {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.market-picker label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.market-picker select {
  min-width: 170px;
}
.primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  font-weight: 600;
}
.primary:hover {
  background: #bd3431;
  border-color: #bd3431;
}
.more-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.login-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 50px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 300px;
  align-items: center;
}
.login-panel h2 {
  font-size: 25px;
  line-height: 1.5;
  margin: 0;
}
.login-panel p {
  color: var(--muted);
  font-size: 13px;
}
.login-panel a {
  color: var(--red);
  font-size: 13px;
}
.login-panel form {
  display: grid;
  gap: 12px;
}
.login-panel label {
  font-size: 12px;
  font-weight: 600;
}
.login-panel input {
  width: 100%;
}
.login-panel form p {
  margin: 0;
  font-size: 11px;
}
.login-panel #login-error {
  color: #ad352d;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  border-radius: 8px;
  padding: 12px 22px;
  box-shadow: 0 4px 20px #0002;
  z-index: 30;
  max-width: 90vw;
  width: max-content;
  font-size: 13px;
}
.missing {
  color: #99a5ad;
}
@media (max-width: 900px) {
  .center-shell {
    padding: 0 22px;
  }
  .edition {
    display: none;
  }
  .masthead {
    padding-top: 30px;
  }
  .masthead h1 {
    font-size: 30px;
  }
  .match-row {
    grid-template-columns: 70px 60px minmax(0, 1fr) 70px minmax(0, 1fr);
    gap: 8px;
    padding: 16px;
  }
  .row-action {
    display: none;
  }
  .team {
    gap: 8px;
    font-size: 13px;
  }
  .score {
    font-size: 19px;
  }
  .badge {
    width: 26px;
    height: 26px;
  }
  .login-panel {
    gap: 30px;
    padding: 30px;
  }
  .detail-tabs button {
    padding: 10px 13px;
  }
  .hero-team h1 {
    font-size: 20px;
  }
}
@media (max-width: 600px) {
  .center-shell {
    padding: 0 16px;
  }
  .masthead {
    padding: 28px 0 22px;
  }
  .masthead h1 {
    font-size: 29px;
  }
  .masthead .muted {
    font-size: 12px;
  }
  .eyebrow {
    font-size: 10px;
  }
  .account-detail {
    display: none;
  }
  .account-strip {
    margin-bottom: 16px;
  }
  .scope-tabs {
    gap: 22px;
    margin-bottom: 15px;
  }
  .scope-tabs button {
    font-size: 14px;
  }
  .filters {
    gap: 8px;
  }
  .date-control {
    width: 100%;
  }
  .date-control input {
    flex: 1;
  }
  .search {
    flex-basis: 100%;
  }
  .filters > label:not(.search) {
    flex: 1;
  }
  .filters select {
    width: 100%;
    max-width: none;
  }
  .list-meta {
    font-size: 10px;
    gap: 12px;
  }
  .list-meta p {
    max-width: 65%;
  }
  .league-group {
    border-radius: 8px;
  }
  .league-group h2 {
    padding: 10px 13px;
  }
  .match-row {
    grid-template-columns: 1fr 55px 1fr;
    gap: 8px 6px;
    padding: 12px 13px;
  }
  .match-time {
    grid-column: 1/3;
    grid-row: 1;
    flex-direction: row;
    gap: 10px;
    align-items: center;
  }
  .match-time strong {
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
  }
  .match-time small {
    font-size: 10px;
  }
  .match-state {
    grid-column: 3;
    grid-row: 1;
    text-align: right;
    font-size: 10px;
  }
  .team {
    font-size: 12px;
    gap: 6px;
    min-width: 0;
  }
  .team.home {
    grid-column: 1;
    grid-row: 2;
  }
  .score {
    grid-column: 2;
    grid-row: 2;
    font-size: 18px;
    letter-spacing: 0.5px;
  }
  .team.away {
    grid-column: 3;
    grid-row: 2;
  }
  .badge {
    width: 23px;
    height: 23px;
  }
  .hero-meta {
    padding: 12px 16px;
    font-size: 10px;
  }
  .scoreboard {
    grid-template-columns: 1fr 110px 1fr;
    padding: 26px 12px;
  }
  .hero-team h1 {
    font-size: 15px;
    line-height: 1.5;
  }
  .hero-team .badge {
    width: 43px;
    height: 43px;
    border-radius: 10px;
  }
  .hero-score > strong {
    font-size: 34px;
    letter-spacing: 1px;
  }
  .hero-score small {
    font-size: 9px;
  }
  .detail-toolbar button {
    font-size: 10px;
    padding: 5px 8px;
  }
  .detail-toolbar > div {
    gap: 5px;
  }
  .detail-toolbar > a {
    font-size: 11px;
  }
  .detail-tabs {
    margin: 0 -16px;
    padding: 12px 16px;
  }
  .detail-tabs button {
    font-size: 12px;
    padding: 9px 12px;
    min-height: 38px;
  }
  .panel {
    padding: 18px 15px;
    border-radius: 8px;
    margin-bottom: 14px;
  }
  .panel .panel {
    border: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0 0;
    margin: 15px 0 0;
    border-radius: 0;
  }
  .panel-heading h2 {
    font-size: 16px;
  }
  .stat-list {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .timeline li {
    gap: 9px;
  }
  .timeline time {
    width: 37px;
    font-size: 12px;
  }
  .timeline .event-icon {
    width: 20px;
  }
  .timeline li > div > span {
    display: block;
    margin: 0;
  }
  .recap {
    padding-left: 14px;
  }
  .recap p {
    font-size: 13px;
  }
  .login-panel {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 25px;
  }
  .login-panel h2 {
    font-size: 22px;
  }
  .center-footer {
    gap: 10px;
    font-size: 10px;
  }
  .center-footer strong {
    font-size: 17px;
  }
  .center-footer span {
    max-width: 130px;
  }
  .data-pairs {
    grid-template-columns: 1fr;
  }
  .market-picker label {
    flex: 1;
  }
  .market-picker select {
    min-width: 0;
    width: 100%;
  }
  .market-picker .primary {
    width: 100%;
  }
  .more-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .more-options button {
    font-size: 12px;
  }
  .coverage {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media print {
  body {
    background: white;
  }
  .qz-site-header,
  .masthead,
  .account-strip,
  .detail-toolbar,
  .detail-tabs,
  .center-footer,
  .toast,
  .coverage,
  button {
    display: none !important;
  }
  .center-shell {
    max-width: none;
    padding: 0;
  }
  .panel {
    break-inside: avoid;
    border: 0;
    border-bottom: 1px solid #ccc;
  }
  .match-hero {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .table-scroll {
    overflow: visible;
  }
  table {
    font-size: 9px;
  }
  td,
  th {
    padding: 5px;
  }
  .scoreboard {
    padding: 15px;
  }
  .stat-list {
    grid-template-columns: 1fr 1fr;
  }
}

.badge {
  position: relative;
}
.badge img {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: inherit;
}
body[data-view="detail"] .masthead {
  padding: 20px 0 16px;
}
body[data-view="detail"] .masthead h1 {
  font-size: 22px;
  letter-spacing: -0.5px;
}
body[data-view="detail"] .masthead .muted,
body[data-view="detail"] .edition {
  display: none;
}
body[data-view="detail"] .masthead .eyebrow {
  margin-bottom: 5px;
}

.detail-tabs {
  top: 70px;
}
@media (max-width: 900px) {
  .detail-tabs {
    top: 64px;
  }
}

.pitch {
  max-height: 440px;
}
.chart {
  max-height: 360px;
}
/* Completed-match review: readable player summaries with all detail one click away. */
.event-controls { display:flex; flex-wrap:wrap; align-items:center; gap:16px; padding:16px 0; }
.event-controls label { display:flex; align-items:center; gap:8px; }
.event-controls span { margin-left:auto; color:var(--muted, #63727a); }
.player-team { margin:24px 0; border-top:2px solid #e8edf0; }
.player-team h3 { display:flex; justify-content:space-between; padding-top:16px; font-size:18px; }
.player-team h3 small { font-size:14px; color:#63727a; }
.roster-heading { padding:12px 0; color:#63727a; font-weight:500; }
.player-profile { border-bottom:1px solid #e8edf0; }
.player-profile > summary { display:flex; align-items:center; gap:14px; padding:15px 8px; cursor:pointer; list-style:none; }
.player-profile > summary::-webkit-details-marker { display:none; }
.player-profile > summary:hover, .player-profile[open] > summary { background:#f5f8fa; }
.player-identity { flex:1; min-width:100px; }
.player-identity strong, .player-identity small { display:block; }
.player-identity small { margin-top:5px; color:#63727a; font-size:12px; }
.player-summary { display:flex; gap:24px; text-align:center; }
.player-summary span { min-width:42px; }
.player-summary small, .player-summary b { display:block; }
.player-summary small { color:#63727a; font-size:11px; margin-bottom:5px; }
.player-summary b { font-variant-numeric:tabular-nums; font-size:17px; }
.player-body { padding:20px; background:#fafbfc; }
.player-body > h4 { margin:24px 0 12px; }
.player-body .data-pairs { grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); }
@media(max-width:600px) {
  .player-profile > summary { gap:8px; flex-wrap:wrap; }
  .player-summary { order:2; width:100%; padding-left:40px; justify-content:space-between; gap:8px; }
  .player-summary span { min-width:0; }
  .player-body { padding:10px; }
}
.player-profile[open] > summary > span:last-child { transform:rotate(45deg); }

.match-login { max-width: 32rem; margin: 2rem auto; padding: 1.5rem; background: white; border: 1px solid #d9e1dd; border-radius: 12px; }
.match-login label { display: block; margin-bottom: .75rem; }
.match-login input { width: 100%; box-sizing: border-box; padding: .8rem; margin-bottom: .75rem; }
.match-login button { padding: .65rem 1.2rem; }
.match-login p:empty { display: none; }
#workspace[hidden], .match-login[hidden] { display: none; }
