.player-shot-profile {
  margin: 18px 16px 24px;
  overflow: hidden;
  border: 1px solid #d8e2ee;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .09);
}

.player-shot-profile[hidden] { display: none !important; }

.player-shot-profile__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px 20px;
}

.player-shot-profile__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #075ea9;
  font-size: .69rem;
  font-weight: 950;
  letter-spacing: .14em;
}

.player-shot-profile__head h2 {
  margin: 0;
  color: #071426;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.player-shot-profile__head p {
  margin: 7px 0 0;
  color: #617189;
  font-size: .88rem;
}

.player-shot-profile__phase,
.player-shot-profile__toolbar {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 999px;
  background: #f3f7fb;
}

.player-shot-profile__phase button,
.player-shot-profile__toolbar button {
  min-height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #54657a;
  font: inherit;
  font-size: .73rem;
  font-weight: 900;
  cursor: pointer;
}

.player-shot-profile__phase button.is-active,
.player-shot-profile__toolbar button.is-active {
  background: #071b34;
  color: #fff;
  box-shadow: 0 4px 12px rgba(7, 27, 52, .2);
}

.player-shot-profile__status {
  margin: 0 26px 24px;
  padding: 18px;
  border-radius: 14px;
  background: #f5f8fc;
  color: #617189;
  font-size: .84rem;
  font-weight: 750;
  text-align: center;
}

.player-shot-profile__content[hidden] { display: none !important; }

.player-shot-profile__toolbar {
  margin: 0 26px 14px;
}

.player-shot-profile__toolbar span {
  padding: 0 10px 0 7px;
  color: #65758a;
  font-size: .72rem;
  font-weight: 800;
}

.player-shot-profile__visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  min-height: 520px;
  background:
    radial-gradient(circle at 50% 18%, rgba(var(--acR), var(--acG), var(--acB), .2), transparent 38%),
    linear-gradient(145deg, #02060d 0%, #06101f 58%, #02050a 100%);
  border-top: 1px solid rgba(63, 118, 173, .3);
  border-bottom: 1px solid rgba(63, 118, 173, .24);
}

.player-shot-profile__court {
  min-width: 0;
  padding: 18px 12px 14px;
}

.player-shot-profile__court svg {
  display: block;
  width: 100%;
  max-width: 780px;
  margin: auto;
}

.psp-court-line {
  fill: none;
  stroke: rgba(226, 235, 245, .58);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.psp-court-dashed {
  stroke-dasharray: 7 6;
}

.psp-court-faint {
  fill: none;
  stroke: rgba(226, 235, 245, .13);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.psp-cell {
  stroke: rgba(255,255,255,.2);
  stroke-width: 1;
  filter: drop-shadow(0 0 5px rgba(26, 152, 210, .2));
  transition: opacity .15s, transform .15s;
  transform-box: fill-box;
  transform-origin: center;
}

.psp-cell:hover,
.psp-cell:focus { opacity: 1 !important; transform: scale(1.12); outline: none; }

.psp-cell.is-three {
  stroke: rgba(92, 211, 255, .72);
  stroke-width: 1.6;
}

.psp-court-logo { opacity: .42; filter: drop-shadow(0 0 16px rgba(7, 94, 169, .65)); }

.player-shot-profile__summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 25px 23px;
  border-left: 1px solid rgba(148, 184, 220, .18);
  color: #fff;
}

.psp-summary-kicker {
  color: #7ca6ce;
  font-size: .65rem;
  font-weight: 950;
  letter-spacing: .14em;
}

.psp-summary-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.psp-summary-stat {
  padding: 12px 10px;
  border: 1px solid rgba(124, 166, 206, .19);
  border-radius: 12px;
  background: rgba(4, 13, 26, .62);
}

.psp-summary-stat strong { display: block; font-size: 1.32rem; line-height: 1; }
.psp-summary-stat span { display: block; margin-top: 5px; color: #8faac5; font-size: .62rem; font-weight: 900; }

.psp-summary-volume {
  padding: 11px 12px;
  border: 1px solid rgba(43, 188, 239, .22);
  border-radius: 12px;
  background: rgba(7, 94, 169, .13);
  color: #b9cfe2;
  font-size: .68rem;
  font-weight: 750;
  line-height: 1.45;
}

.psp-summary-volume strong { color: #42c9f5; font-size: .88rem; }

.psp-legend { display: grid; gap: 7px; margin-top: 5px; }
.psp-legend-row { display: flex; align-items: center; gap: 8px; color: #aabed1; font-size: .68rem; font-weight: 750; }
.psp-legend-row i { width: 13px; height: 13px; border-radius: 4px; box-shadow: 0 0 10px currentColor; }
.psp-legend-row .psp-three-ring {
  border: 2px solid #5cd3ff;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 8px rgba(92, 211, 255, .45);
}

.player-shot-profile__table { padding: 20px 26px 12px; overflow-x: auto; }
.player-shot-profile__table table { width: 100%; border-collapse: collapse; color: #18263a; font-size: .78rem; }
.player-shot-profile__table caption { margin-bottom: 10px; color: #0b1930; font-size: .91rem; font-weight: 950; text-align: left; }
.player-shot-profile__table th { padding: 8px 10px; border-bottom: 1px solid #dce5ef; color: #6b7c91; font-size: .65rem; letter-spacing: .08em; text-align: right; text-transform: uppercase; }
.player-shot-profile__table th:first-child,
.player-shot-profile__table td:first-child { text-align: left; }
.player-shot-profile__table td { padding: 10px; border-bottom: 1px solid #edf1f6; font-weight: 750; text-align: right; }
.player-shot-profile__table td strong { color: #075ea9; }

.player-shot-profile__method {
  margin: 0;
  padding: 5px 26px 22px;
  color: #708095;
  font-size: .69rem;
  line-height: 1.5;
}

@media (max-width: 780px) {
  .player-shot-profile { margin: 14px 10px 20px; border-radius: 18px; }
  .player-shot-profile__head { align-items: flex-start; flex-direction: column; padding: 20px 18px 16px; }
  .player-shot-profile__phase { max-width: 100%; overflow-x: auto; }
  .player-shot-profile__toolbar { margin: 0 14px 12px; max-width: calc(100% - 28px); overflow-x: auto; }
  .player-shot-profile__visual { grid-template-columns: 1fr; min-height: 0; }
  .player-shot-profile__court { padding: 10px 4px 4px; }
  .player-shot-profile__summary { border-top: 1px solid rgba(148,184,220,.18); border-left: 0; padding: 18px; }
  .player-shot-profile__table { padding: 16px 14px 9px; }
  .player-shot-profile__method { padding: 4px 16px 18px; }
}

@media (max-width: 420px) {
  .player-shot-profile__head h2 { font-size: 1.32rem; }
  .player-shot-profile__phase button,
  .player-shot-profile__toolbar button { padding: 0 10px; font-size: .68rem; }
  .player-shot-profile__toolbar span { display: none; }
  .psp-summary-main { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .psp-summary-stat { padding: 10px 5px; text-align: center; }
  .psp-summary-stat strong { font-size: 1rem; }
  .psp-summary-stat span { font-size: .55rem; }
}
