.court-page {
  min-height: calc(100svh - var(--nav-h));
  background: radial-gradient(ellipse at 12% 1%, #283d31 0%, #15271f 41%, #101b17 100%);
  color: #f7f7ed;
}
.court-wrap {
  width: min(100% - 64px, 1220px);
  margin-inline: auto;
  padding: clamp(22px, 3.2vw, 42px) 0 clamp(44px, 7vw, 90px);
}
.court-intro {
  padding-top: clamp(36px, 6vw, 76px);
}
.court-series {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 24px;
  color: #dbf0ab;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .12em;
}
.court-series::before {
  content: '';
  width: 24px;
  height: 1px;
  background: #dbf0ab;
}
.court-intro h1 {
  margin: 0;
  font: 700 clamp(49px, 6.1vw, 92px)/1.13 "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.court-h1-second {
  white-space: nowrap;
}
.court-intro h1 .court-period {
  color: #d9eea7;
}
.court-lede {
  max-width: 25em;
  margin: 26px 0 0;
  color: #d0d8ca;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.95;
}
.court-replays {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(12px, 1.7vw, 22px);
  min-width: 0;
}
.court-replays:has(> :only-child) { grid-template-columns: minmax(0, 750px); }
.court-history {
  margin-top: clamp(32px, 6vw, 64px);
}
.court-history > h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 4vw, 36px);
}
.court-team-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.court-team-nav a {
  padding: 8px 15px;
  border: 1px solid #70836f;
  border-radius: 100px;
  color: #eef5de;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.court-team-nav a:hover,
.court-team-nav a[aria-current="page"] {
  background: #e4f3b9;
  border-color: #e4f3b9;
  color: #18241b;
}
.court-team-nav a:focus-visible {
  outline: 2px solid #e4f3b9;
  outline-offset: 3px;
}
.court-empty {
  color: #d0d8ca;
  margin: 5px 0 0;
}
.court-replay {
  min-width: 0;
  padding: clamp(9px, 1.2vw, 15px);
  border: 1px solid #526252;
  border-radius: 20px;
  background: #f4f4eb;
  color: #18231a;
  box-shadow: 0 18px 55px #09140c55;
}
.court-replay-head {
  display: grid;
  gap: 5px;
  margin: 13px 3px 0;
}
.court-date {
  margin: 0 3px 9px;
  color: #4d604e;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.court-replay h2 {
  margin: 0;
  font-size: clamp(18px, 1.65vw, 24px);
  line-height: 1.19;
  letter-spacing: -.045em;
}
.court-duration, .court-caption, .court-matchup {
  color: #4d604e;
  font-size: 14px;
}
.court-matchup {
  margin: 0;
}
.court-duration {
  margin: 0 0 2px;
}
.court-caption {
  margin: 7px 3px 2px;
  line-height: 1.7;
}
.court-player {
  overflow: hidden;
  border-radius: 12px;
  background: #08150e;
  color: #f7f8ef;
}
.court-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #07110b;
}
.court-screen-pending {
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #d3e4cc;
  background: linear-gradient(134deg, #1e3427, #101f16);
  font-size: 14px;
  font-weight: 600;
}
.court-share {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 3px 3px 0;
  color: #31523b;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.court-share:focus-visible {
  outline: 2px solid #31523b;
  outline-offset: 2px;
}
.court-screen video, .court-cover, .court-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.court-screen video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(var(--court-angle, 0deg));
}
.court-screen[data-rotation="90"] { --court-angle: 90deg; }
.court-screen[data-rotation="180"] { --court-angle: 180deg; }
.court-screen[data-rotation="270"] { --court-angle: -90deg; }
.court-screen:is([data-rotation="90"], [data-rotation="270"]) video {
  width: 56.25%;
  height: 177.778%;
}
.court-cover {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #0d2117;
  color: #17241c;
}
.court-cover img {
  object-fit: cover;
}
.court-play-pill {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 28px;
  background: #e4f3b9;
  color: #18241b;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 18px #0005;
}
.court-play-icon {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}
.court-cover:hover .court-play-pill {
  background: #f0ffce;
}
.court-cover:focus-visible {
  outline: 3px solid #e4f3b9;
  outline-offset: -5px;
}
.court-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 6px 9px;
  background: #11261b;
}
.court-controls button {
  min-height: 36px;
  padding: 4px 8px;
  border: 0;
  border-radius: 6px;
  color: #eef6df;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}
.court-controls button:hover {
  background: #ffffff20;
}
.court-controls button:focus-visible {
  outline: 2px solid #e4f3b9;
  outline-offset: 1px;
}
.court-controls button:disabled {
  opacity: .55;
  cursor: default;
}
.court-orientation {
  display: flex;
  flex: 0 0 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 5px;
  padding-top: 3px;
  border-top: 1px solid #ffffff24;
}
.court-orientation-label {
  padding-inline: 5px;
  color: #dbe4d7;
  font-size: 12px;
}
.court-controls input {
  flex: 1 1 82px;
  min-width: 40px;
  margin: 0;
  accent-color: #e0f0a9;
}
.court-clock {
  flex: 0 0 auto;
  color: #dbe4d7;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.court-status {
  margin: 0;
  padding: 8px 12px;
  color: #f4e2b7;
  font-size: 13px;
}
.court-player [hidden] {
  display: none;
}
.court-player:fullscreen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0;
}
.court-player:fullscreen .court-screen {
  width: min(100vw, calc((100vh - 104px) * 16 / 9));
  margin: auto;
}
.court-player:fullscreen .court-controls {
  flex: 0 0 auto;
}
@supports (width: 1cqh) {
  .court-player:fullscreen .court-screen {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    margin: 0;
    aspect-ratio: auto;
    container-type: size;
  }
  .court-player:fullscreen .court-screen:is([data-rotation="90"], [data-rotation="270"]) video {
    width: 100cqh;
    height: 100cqw;
  }
}
@media (max-width: 820px) {
  .court-wrap {
    width: min(100% - 36px, 660px);
    padding-block: 22px 44px;
  }
  .court-replays { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .court-intro h1 { font-size: clamp(45px, 9vw, 67px); }
  .court-series { margin-bottom: 14px; }
  .court-lede { margin-top: 13px; }
}
@media (max-width: 520px) {
  .court-replays { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 450px) {
  .court-play-pill { bottom: 11px; left: 11px; min-height: 39px; padding: 0 14px; }
  .court-controls { column-gap: 5px; padding-inline: 5px; }
  .court-controls button { padding-inline: 5px; }
}
