.player-identity { display: grid; gap: 3px; min-width: 0; }
.player-uid { display: block; color: #aebfa4; font: 8px/1.35 Consolas,monospace; font-variant-numeric: tabular-nums; letter-spacing: 0; text-shadow: none; white-space: nowrap; overflow-wrap: normal; user-select: text; -webkit-user-select: text; max-width: 160px; }
.paper .player-uid,.paper-dialog .player-uid { color: #617361; }
.biji-seat-person .player-uid { max-width: 122px; font-size: 8px; line-height: 1.2; }
.profile-pill .player-uid { max-width: 170px; font-size: 8px; }
.profile-card .uid-field { display: block; width: 100%; min-height: 42px; padding: 7px; border: 1px solid #d0c59f; border-radius: 5px; font: 11px/1.5 Consolas,monospace; text-align: center; background: #f9f3dd; user-select: all; overflow-wrap: anywhere; }
.data-table .player-uid { margin-left: auto; margin-right: auto; font-size: 8px; }
.data-table td:first-child { min-width: 170px; }
.hand-result-person .player-identity { margin-right: auto; }
@media(orientation:landscape) and (max-height:600px) {
  .biji-seat-person .player-uid { max-width: 95px; font-size: 7.5px; }
  .profile-pill .player-uid { font-size: 7px; }
  .player-uid { font-size: 7px; }
  .receipt-wrap:has(.receipt-many-players) { padding-top: 22px; padding-bottom: 6px; }
  .receipt-many-players { padding: 15px 14px 7px; }
  .receipt-many-players .receipt-meta { margin-bottom: 4px; }
  .receipt-many-players .data-table th { padding: 5px 7px; font-size: 9px; }
  .receipt-many-players .data-table td { padding: 3px 6px; }
  .receipt-many-players .data-table .avatar { width: 18px; height: 18px; }
  .receipt-many-players .data-table .player-uid { max-width: none; font-size: 6px; line-height: 1.1; white-space: nowrap; }
  .receipt-many-players .data-table .score { font-size: 16px; }
  .receipt-many-players .receipt-note { padding-top: 4px; font-size: 9px; }
  .receipt-many-players .receipt-note > p { display: none; }
  .receipt-many-players .modal-actions { margin-top: 5px; gap: 8px; }
  .receipt-many-players .modal-actions .btn { min-height: 30px; padding: 4px 10px; font-size: 10px; }
  .receipt-many-players .fineprint { font-size: 7px!important; margin-top: 3px; }
}
@media(orientation:portrait) and (max-width:700px) {
  .opponent-strip { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); height: auto; min-height: 0; gap: 7px 10px; justify-content: stretch; }
  .opponent-strip > span { min-width: 0; }
  .opponent-strip .player-uid { display: block; max-width: 125px; font-size: 6px; }
  .opponent-strip b { font-size: 9px; font-weight: 400; }
}

