.player-view { width: min(100%, 760px); margin-inline: auto; }
.player-view :is(h1, h2, h3, p) { overflow-wrap: anywhere; }
.player-view h1 { margin: 0; font-size: clamp(1.55rem, 6vw, 2.15rem); }
.player-view h2 { margin: 0; font-size: 1.12rem; }
.player-view h3 { margin: 0; font-size: 1rem; }
.player-view p { margin: .45rem 0; }
.player-intro { margin-bottom: 1rem; }
.player-intro > p:empty { display: none; }
.player-venue { display: grid; gap: 5px; margin: 8px 0 0; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: .875rem; line-height: 1.45; overflow-wrap: anywhere; }
.player-venue > div { display: grid; grid-template-columns: fit-content(40%) minmax(0, 1fr); gap: .5em; }
.player-venue dt { color: var(--muted); font-weight: 700; }
.player-venue dd { margin: 0; white-space: pre-line; }
.player-back { margin-bottom: .7rem; }
.player-section, .player-invite { margin-top: 1rem; }
.player-section > .section-head { margin-bottom: .65rem; }
.player-event-card + .player-event-card, .player-match + .player-match { margin-top: .65rem; }
.player-event-links { justify-content: space-between; margin-top: .65rem; }
.player-invite .field, .player-reception .field { margin-block: .8rem; }
.player-reception form .btn, .player-invite .btn { width: 100%; }
.player-registration-actions { border-top: 1px solid #dae4d6; margin-top: .8rem; padding-top: .8rem; }
.player-number { display: grid; gap: .35rem; margin-top: 1rem; }
.player-match-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; margin-block: .65rem; }
.player-match-switch button[aria-pressed="true"] { background: #e8f1d6; border-color: #86a667; color: #164336; }
.player-own-match { border-color: #a7be7f; background: #f7fbea; }
.player-court { display: grid; border: 1px solid #a4bba3; border-radius: .6rem; background: #f1f6ec; overflow: hidden; }
.player-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.player-team + .player-team { border-top: 2px dashed #658b71; }
.player-court-name { display: grid; justify-items: center; align-content: start; padding: .65rem .35rem; min-width: 0; text-align: center; }
.player-court-name:only-child { grid-column: 1 / -1; }
.player-score-status { margin-top: .65rem; }
.player-score-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-block: .7rem; }
.player-practice .practice-timer { margin-top: .6rem; }
.player-reading .eyebrow { color: #466343; }
.player-reading-all { font-size: .88rem; font-weight: 750; text-underline-offset: .25em; }
.player-article-list { padding: 0; margin: .6rem 0; list-style: none; }
.player-article-list li { border-top: 1px solid var(--line); }
.player-article-list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding-block: 8px; text-decoration: none; font-weight: 700; }
.player-article-list a:hover span:first-child { text-decoration: underline; }
.player-promo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px; border-radius: 11px; background: var(--dark); color: #fff; }
.player-promo .badge { align-self: start; background: var(--lime); color: var(--dark); }
.player-promo > div { flex: 1 1 150px; min-width: 0; }
.player-promo p { margin: 3px 0 0; color: #d5e7dc; font-size: .82rem; }
.player-error { border-color: #d4a59c; color: #862d23; background: #fff4f1; }
.player-view .row, .player-view .section-head { flex-wrap: wrap; gap: .5rem; }
.player-view .btn { min-height: 44px; }
.player-view .field input { width: 100%; max-width: 100%; min-width: 0; font-size: 16px; }
@media (min-width: 570px) {
  .player-reception form .btn, .player-invite .btn { width: auto; }
}
@media (max-width: 569px) {
  .player-view .btn { min-width: 44px; min-height: 48px; }
  .player-event-links > .btn { margin-inline-start: auto; }
  .player-section > :is([data-player-action="join"], [data-player-action="open"]),
  .player-score-status > .btn { width: 100%; }
  .player-score-form .row, .player-cancel .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player-reading-all { display: inline-flex; align-items: center; min-height: 44px; }
}
