.np-player {
  --np-ink: #182e24;
  --np-fog: #f7f5ec;
  --np-line: #d4d8ca;
  --np-rust: #af461d;
  color: var(--np-ink);
  width: min(1136px, calc(100% - 48px));
  margin: 32px auto 72px;
  font-family: Barlow, Arial, sans-serif;
}
.np-player .np-club-signature {
  --club-ink: #28523d;
  width: fit-content;
  max-width: 100%;
  border-left: 4px solid var(--club-ink);
  padding: 2px 0 2px 9px;
  margin: 0 0 12px;
  color: var(--club-ink);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.np-club-signature[data-color="clay"] {
  --club-ink: #99401e;
}
.np-club-signature[data-color="navy"] {
  --club-ink: #2d4262;
}
.np-player * {
  box-sizing: border-box;
}
.np-player [hidden] {
  display: none !important;
}
.np-back,
.np-text-btn,
.np-create-link {
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  color: inherit;
  text-decoration: none;
}
.np-back:hover,
.np-text-btn:hover,
.np-create-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.np-heading {
  margin: 32px 0 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
.np-overline,
.np-scoretag span,
.np-baseline,
.np-net,
.np-film-meta,
.np-progress {
  font-family: ui-monospace, "Courier New", monospace;
  text-transform: uppercase;
  font-weight: 650;
  letter-spacing: 0.085em;
  font-size: 0.72rem;
}
.np-player .np-overline {
  margin: 0 0 0.7rem;
  color: var(--np-rust);
}
.np-heading h1,
.np-scorecard h1 {
  font: inherit;
  font-weight: 760;
  line-height: 1.02;
  font-size: clamp(2.2rem, 5.3vw, 4.7rem);
  letter-spacing: -0.068em;
  margin: 0;
  overflow-wrap: anywhere;
}
.np-heading h1:focus,
.np-scorecard h1:focus {
  outline: none;
}
.np-player .np-byline {
  margin: 0.65rem 0 0;
  font-size: 0.98rem;
  color: #536259;
}
.np-scoretag {
  display: grid;
  justify-items: end;
  gap: 3px;
  white-space: nowrap;
}
.np-scoretag span {
  color: #566257;
}
.np-scoretag strong {
  font-size: 1.4rem;
  font-variant-numeric: tabular-nums;
}
.np-progress {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}
.np-progress span {
  height: 4px;
  background: var(--np-line);
  flex: 1;
}
.np-progress .played {
  background: var(--np-ink);
}
.np-progress .current {
  background: var(--np-rust);
}
.np-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(265px, 1fr);
  gap: clamp(20px, 3.1vw, 42px);
  align-items: start;
}
.np-movie {
  min-width: 0;
}
.np-screen {
  background: #132019;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  isolation: isolate;
  aspect-ratio: 16/10;
}
.np-screen video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.np-film-meta {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 9px;
  color: #fff;
  padding: 12px 14px;
  pointer-events: none;
  font-size: 0.64rem;
  text-shadow: 0 1px 4px #17241a;
}
.np-round-label,
.np-state {
  background: rgba(16, 31, 24, 0.85);
  padding: 6px 8px;
  border-radius: 3px;
}
.np-state {
  display: flex;
  gap: 5px;
  align-items: center;
}
.np-state:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f7a871;
}
.np-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(15, 29, 22, 0.44),
    rgba(15, 29, 22, 0.08)
  );
  display: grid;
  place-items: center;
}
.np-play {
  border: 0;
  color: white;
  background: transparent;
  display: grid;
  justify-items: center;
  gap: 9px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  text-shadow: 0 1px 4px #16301e;
}
.np-play i {
  width: 57px;
  height: 57px;
  border-radius: 100%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 1.1rem;
  padding-left: 3px;
  background: var(--np-fog);
  color: var(--np-ink);
  text-shadow: none;
  transition: transform 0.18s;
}
.np-play:hover i {
  transform: scale(1.07);
}
.np-movie-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 1px;
  border-bottom: 1px solid var(--np-line);
}
.np-movie-caption .np-overline {
  margin: 0 0 5px;
}
.np-movie-caption h2 {
  font: inherit;
  letter-spacing: -0.035em;
  font-weight: 680;
  margin: 0;
  font-size: 1.25rem;
  overflow-wrap: anywhere;
}
.np-film-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 14px;
  max-width: 55%;
}
.np-text-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 9px 0;
  line-height: 1.25;
  min-height: 40px;
}
.np-text-btn:disabled {
  opacity: 0.55;
}
.np-call {
  border: 1px solid var(--np-line);
  border-radius: 10px;
  padding: clamp(18px, 2.6vw, 30px);
  min-width: 0;
  background: #f9f9f1;
}
.np-call h2 {
  font: inherit;
  font-weight: 740;
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.054em;
  margin: 0;
}
.np-call .np-instructions {
  font-size: 0.92rem;
  line-height: 1.45;
  color: #4c5e51;
  margin: 10px 0 16px;
}
.np-diagram {
  background: #dce7d9;
  color: #324f3d;
  border: 1px solid #bfcfbe;
  border-radius: 5px;
  text-align: center;
  padding: 9px 14px 6px;
}
.np-baseline,
.np-net {
  display: block;
  font-size: 0.63rem;
  letter-spacing: 0.16em;
}
.np-court {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 2px solid #fffefd;
  margin: 5px 0 4px;
  background: #fff;
  gap: 1px;
}
.np-zone {
  appearance: none;
  border: none;
  border-radius: 0;
  background: #597866;
  color: #fff;
  padding: 8px 2px;
  min-height: 57px;
  font: inherit;
  font-weight: 650;
  font-size: 0.8rem;
  cursor: pointer;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
.np-zone:disabled {
  opacity: 1;
  cursor: default;
  background: #678372;
  color: #fff;
}
.np-zone:not(:disabled):hover,
.np-zone:not(:disabled):focus-visible {
  background: #254c37;
  box-shadow: inset 0 0 0 2px #f9bd81;
}
.np-zone.actual:disabled {
  background: #153e2a;
}
.np-zone.wrong:disabled {
  background: #a74424;
}
.np-zone:focus-visible,
.np-btn:focus-visible,
.np-play:focus-visible,
.np-text-btn:focus-visible,
.np-back:focus-visible,
.np-create-link:focus-visible {
  outline: 3px solid #e2985a;
  outline-offset: 2px;
  z-index: 2;
}
.np-feedback {
  font-weight: 650;
  font-size: 0.94rem;
  line-height: 1.4;
  margin-top: 12px;
}
.np-feedback:empty,
.np-after:empty,
.np-file-status:empty,
.np-share-status:empty {
  display: none;
}
.np-note {
  margin: 8px 0 12px;
  color: #405548;
  font-size: 0.95rem;
  line-height: 1.5;
}
.np-after {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  align-items: center;
  margin-top: 10px;
}
.np-note,
.np-audio-note {
  width: 100%;
}
.np-audio-note {
  display: grid;
  gap: 5px;
  margin: 4px 0;
  font-size: 0.82rem;
  font-weight: 640;
}
.np-audio-note audio {
  max-width: 100%;
  width: 100%;
  height: 38px;
}
.np-btn {
  background: var(--np-ink);
  color: #fff;
  border: 1px solid var(--np-ink);
  border-radius: 5px;
  cursor: pointer;
  font: inherit;
  font-weight: 640;
  line-height: 1.25;
  padding: 12px 17px;
  transition: background 0.15s;
}
.np-btn:hover {
  background: #31523e;
}
.np-file-status,
.np-share-status {
  font-size: 0.88rem;
  margin: 12px 0;
}
.np-results {
  max-width: 680px;
}
.np-scorecard {
  border: 1px solid var(--np-line);
  background: #f8f9f1;
  border-radius: 12px;
  padding: clamp(22px, 5vw, 55px);
  margin: 24px 0 20px;
}
.np-player .np-big-score {
  font-size: clamp(4.4rem, 12vw, 8.2rem);
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.095em;
  margin: 22px 0 5px;
  color: var(--np-rust);
  font-variant-numeric: tabular-nums;
}
.np-result-title {
  margin: 8px 0 20px;
  font-weight: 600;
}
.np-answer-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.np-answer-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--np-line);
  font-size: 0.88rem;
}
.np-answer-list li > span:first-child {
  font-family: monospace;
  color: #5b665f;
}
.np-answer-list li > strong {
  overflow-wrap: anywhere;
}
.np-answer-list li.miss > span:last-child {
  color: #9a3b1e;
}
.np-answer-list li.hit > span:last-child {
  color: #1d563b;
}
.np-results-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.np-create-link {
  display: inline-flex;
  padding: 8px 0;
}
.np-share-status textarea {
  width: 100%;
  resize: vertical;
  font: inherit;
  padding: 8px;
}
@media (max-width: 760px) {
  .np-player {
    width: calc(100% - 28px);
    margin-top: 20px;
  }
  .np-heading {
    margin-top: 20px;
  }
  .np-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .np-screen {
    aspect-ratio: 16/9;
  }
  .np-court {
    min-height: 95px;
  }
  .np-zone {
    min-height: 44px;
  }
  .np-call {
    padding: 18px;
  }
  .np-movie-caption {
    padding: 10px 0;
  }
  .np-call .np-overline {
    margin-bottom: 6px;
  }
  .np-film-meta {
    padding: 8px;
  }
  .np-court {
    max-width: 390px;
    margin: 5px auto;
  }
  .np-heading h1 {
    font-size: clamp(2rem, 7vw, 3rem);
  }
}
/* Signal the handoff from watching to choosing without moving the targets. */
.np-player[data-phase="predict"] .np-diagram {
  animation: np-your-call 460ms ease-out;
}
.np-player[data-phase="reveal"] .np-zone.actual {
  animation: np-show-answer 280ms ease-out;
}
.np-scorecard {
  animation: np-score-in 260ms ease-out;
}
@keyframes np-your-call {
  0% {
    box-shadow: 0 0 0 4px #bd663b88;
  }
  100% {
    box-shadow: 0 0 0 0 #bd663b00;
  }
}
@keyframes np-show-answer {
  from {
    box-shadow: inset 0 0 0 3px #fff;
  }
  to {
    box-shadow: inset 0 0 0 0 transparent;
  }
}
@keyframes np-score-in {
  from {
    opacity: 0.4;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .np-player * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
