/* Shared mobile rules for PUBGIN public pages. Existing page-specific rules still own data layout. */
@media (max-width: 760px) {
  body { max-width: 100%; }
  body .wrap, body main, body .card, body .panel { min-width: 0; }
  body .wrap { box-sizing: border-box; max-width: 100%; }
  body img { max-width: 100%; }
  body .tscroll, body .pmscroll, body .sumscroll,
  body .viewtabs, body .etabs { max-width: 100%; -webkit-overflow-scrolling: touch; }
  body .tscroll, body .pmscroll, body .sumscroll { overflow-x: auto; }
  body .findgrid, body .scards, body .ptrow { min-width: 0; }
  body .findrow { max-width: 100%; flex-wrap: wrap; }
  body .findrow input { min-width: 0; max-width: 100%; }
  body .findrow select, body .findrow button { max-width: 100%; }
  body .tabs, body .daychips, body .headacts { max-width: 100%; }
  body .modal, body .srch-box { max-width: calc(100vw - 20px); }
}
@media (max-width: 430px) {
  body .findgrid, body .scards { grid-template-columns: minmax(0, 1fr); }
  body .findrow input { flex: 1 1 100%; width: 100%; }
  body .pmhead, body .ehead { min-width: 0; }
  body .hero-primary-actions { flex-wrap: wrap; }
  body .hero-primary-actions .hero-btn { flex: 1 1 calc(50% - 4px); }
  body .nm-box { max-width: 100vw; }
}
@media (max-width: 350px) {
  body .hero-primary-actions .hero-btn { flex-basis: 100%; }
  body .pmstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 2026-10-18 리플레이 왼쪽 순위표: 화면 높이와 무관하게 16팀 모두 표시 */
html body .maprow .replay-score-dock{container-type:size}
html body .maprow .replay-score-dock .score-board{max-height:none!important;flex:none!important}
html body .maprow .replay-score-dock .live td{height:clamp(18px,calc((100cqh - 200px) / 16),30px)!important;padding:1px 3px!important;line-height:1.1!important}
html body .maprow .replay-score-dock .score-leaders{flex:1 1 0!important;min-height:110px!important}
html body .maprow .replay-score-dock .score-leaders .leader-scroll{overflow:auto}
