:root {
  --prph-green: #1B8F4E;
  --prph-dark: #0D1117;
  --prph-light: #F5F7FA;
  --prph-neon: #C6FF00;
  --prph-orange: #FF6B35;
  --prph-white: #ffffff;
  --prph-radius: 14px;
  --prph-shadow: 0 10px 30px rgba(13, 17, 23, 0.12);
}

* { box-sizing: border-box; }
body.prph-public {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--prph-dark);
  background: var(--prph-light);
}
a { color: inherit; text-decoration: none; }

.prph-container { width: min(1120px, 92vw); margin: 0 auto; }

.prph-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,247,250,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(13,17,23,.08);
}
.prph-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; gap: 1rem; }
.prph-logo img { height: 36px; width: auto; max-width: 160px; object-fit: contain; }
.prph-logo { display: flex; align-items: center; gap: .75rem; font-weight: 800; }
.prph-nav { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.prph-live-link { color: var(--prph-green); font-weight: 700; }

.prph-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .65rem 1.1rem; border-radius: 999px; font-weight: 700; border: 2px solid transparent;
}
.prph-btn-primary { background: var(--prph-green); color: var(--prph-white); }
.prph-btn-outline { border-color: var(--prph-dark); }

.prph-hero {
  background: linear-gradient(135deg, #0D1117 0%, #1B8F4E 100%);
  color: var(--prph-white); padding: 4rem 0;
}
.prph-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.prph-badge { display: inline-block; background: rgba(198,255,0,.15); color: var(--prph-neon); padding: .35rem .75rem; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.prph-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; margin: 1rem 0; }
.prph-hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.prph-hero-visual img, .prph-hero-visual svg { width: 100%; border-radius: var(--prph-radius); box-shadow: var(--prph-shadow); }

.prph-section { padding: 3.5rem 0; }
.prph-section-alt { background: #eef2f6; }
.prph-section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 1.25rem; }
.prph-section-head h2 { margin: 0; }

.prph-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.prph-card { background: var(--prph-white); border-radius: var(--prph-radius); padding: 1.25rem; box-shadow: var(--prph-shadow); }
.prph-tag { display: inline-block; margin-top: .5rem; padding: .2rem .55rem; border-radius: 999px; background: rgba(27,143,78,.12); color: var(--prph-green); font-size: .8rem; font-weight: 700; }
.prph-link { display: inline-block; margin-top: .75rem; color: var(--prph-green); font-weight: 700; }

.prph-table-wrap { overflow: auto; background: var(--prph-white); border-radius: var(--prph-radius); box-shadow: var(--prph-shadow); }
.prph-table { width: 100%; border-collapse: collapse; }
.prph-table th, .prph-table td { padding: .85rem 1rem; border-bottom: 1px solid #e5e9ef; text-align: left; }
.prph-table th { background: #f0f4f8; }

.prph-section-live { background: #101820; color: var(--prph-white); }
.prph-section-live .prph-match-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: var(--prph-white); }
.prph-section-live .prph-match-card-meta a,
.prph-section-live .prph-match-card-meta span,
.prph-section-live .prph-match-card-name,
.prph-section-live .prph-match-player-chip-body small,
.prph-section-live .prph-match-player-chip-meta { color: rgba(255,255,255,.72); }
.prph-section-live .prph-match-card-name:hover,
.prph-section-live .prph-match-card-meta a:hover { color: var(--prph-neon); }
.prph-section-live .prph-link { color: var(--prph-neon); }
.prph-section-live .prph-empty-note,
.prph-section-live p { color: rgba(255,255,255,.75); }
.prph-live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--prph-neon); display: inline-block; margin-right: .5rem; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.prph-live-item { padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }

.prph-live-pill {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .25rem .65rem; border-radius: 999px;
  background: rgba(198,255,0,.15); color: #d7ff4d;
  font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
}
.prph-live-pill-hero { margin-bottom: .85rem; }
.prph-live-hero {
  background: linear-gradient(135deg, #0D1117 0%, #1B8F4E 100%);
  color: var(--prph-white);
  padding: 2.5rem 0 2rem;
}
.prph-live-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 2rem;
  align-items: end;
}
.prph-live-hero h1 { margin: 0 0 .65rem; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.08; }
.prph-live-hero p { margin: 0; opacity: .88; max-width: 560px; line-height: 1.55; }
.prph-live-hero-stats { display: flex; gap: .85rem; flex-wrap: wrap; }
.prph-live-stat {
  min-width: 96px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(198,255,0,.22);
  border-radius: var(--prph-radius);
  padding: .85rem 1rem;
  text-align: center;
}
.prph-live-stat strong { display: block; font-size: 1.6rem; line-height: 1; color: var(--prph-neon); }
.prph-live-stat span { display: block; margin-top: .35rem; font-size: .78rem; opacity: .8; }

.prph-live-tournaments-strip { padding: 1rem 0; background: #eef2f6; }
.prph-live-tournament-chips { display: flex; gap: .75rem; overflow-x: auto; padding-bottom: .25rem; }
.prph-live-tournament-chip {
  flex: 0 0 auto;
  min-width: 220px;
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  padding: .85rem 1rem;
}
.prph-live-tournament-chip strong { display: block; margin-bottom: .2rem; }
.prph-live-tournament-chip span { font-size: .82rem; color: #64748b; }

.prph-live-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: 1.5rem; align-items: start; }
.prph-live-main { min-width: 0; }
.prph-live-sidebar-card,
.prph-match-info-card,
.prph-match-team-panel {
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  padding: 1.25rem;
}
.prph-live-empty {
  text-align: center;
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  padding: 2.5rem 1.5rem;
}
.prph-live-empty h3 { margin: .85rem 0 .35rem; }
.prph-live-empty p { margin: 0; color: #64748b; }

.prph-match-card-grid { display: grid; gap: 1rem; }
.prph-match-card {
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  padding: 1rem 1.1rem;
  border-left: 4px solid transparent;
}
.prph-match-card-live { border-left-color: var(--prph-neon); }
.prph-match-card-final { border-left-color: var(--prph-green); }
.prph-match-card-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: .85rem; }
.prph-match-card-badges { display: flex; flex-wrap: wrap; gap: .45rem; }
.prph-match-card-score { font-size: 1.75rem; font-weight: 800; line-height: 1; }
.prph-match-card-score-live { color: #5a7300; }
.prph-match-card-score .is-leading { color: var(--prph-green); }
.prph-match-card-score-sep { opacity: .35; margin: 0 .15rem; }
.prph-match-card-body { display: grid; gap: .55rem; }
.prph-match-card-team { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.prph-match-card-team.is-winner .prph-match-card-name,
.prph-match-card-team.is-winner .prph-match-player-chip strong { color: var(--prph-green); }
.prph-match-card-team-names { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.prph-match-card-name { font-weight: 700; }
.prph-match-card-name.is-empty { color: #94a3b8; font-weight: 500; }
.prph-match-card-vs { font-size: .75rem; font-weight: 800; color: #94a3b8; text-transform: uppercase; letter-spacing: .08em; }
.prph-match-card-team-tag {
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 800;
  padding: .18rem .5rem;
  border-radius: 999px;
  background: rgba(27,143,78,.12);
  color: var(--prph-green);
}
.prph-match-card-team-tag.is-leading { background: rgba(198,255,0,.18); color: #5a7300; }
.prph-match-card-players { display: grid; gap: .55rem; flex: 1; min-width: 0; }
.prph-match-player-chip {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
}
.prph-match-player-chip-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(27,143,78,.15);
  flex-shrink: 0;
}
.prph-match-player-chip-body { min-width: 0; display: grid; gap: .08rem; }
.prph-match-player-chip-body strong { line-height: 1.2; }
.prph-match-player-chip-body small { color: #64748b; font-size: .78rem; }
.prph-match-player-chip-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .65rem;
  font-size: .76rem;
  color: #64748b;
}
.prph-match-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: .9rem;
  padding-top: .85rem;
  border-top: 1px solid #e5e9ef;
}
.prph-match-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  font-size: .82rem;
  color: #64748b;
}
.prph-match-card-meta a { color: var(--prph-green); font-weight: 700; }
.prph-tag-muted { background: #eef2f6; color: #64748b; }
.prph-tag-verified { background: rgba(27,143,78,.12); color: var(--prph-green); font-size: .72rem; }

.prph-court-board { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.prph-court-board-item {
  border: 1px solid #e5e9ef;
  border-radius: 12px;
  padding: .85rem;
  background: #f8fafc;
}
.prph-court-board-item.is-active { border-color: rgba(27,143,78,.25); background: rgba(27,143,78,.04); }
.prph-court-board-top { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: .35rem; }
.prph-court-board-tournament { display: block; font-size: .78rem; color: #64748b; margin-bottom: .55rem; }
.prph-court-board-match {
  display: grid;
  gap: .15rem;
  font-size: .88rem;
  color: inherit;
}
.prph-court-board-vs { font-size: .72rem; color: #94a3b8; text-transform: uppercase; font-weight: 800; }
.prph-court-board-score { color: var(--prph-green); margin-top: .25rem; }

.prph-match-hero {
  background: linear-gradient(135deg, #0D1117 0%, #1B8F4E 100%);
  color: var(--prph-white);
  padding: 2rem 0 2.25rem;
}
.prph-match-hero-top { display: flex; justify-content: space-between; align-items: start; gap: 1rem; flex-wrap: wrap; margin-top: .75rem; }
.prph-match-hero-badges { display: flex; flex-wrap: wrap; gap: .45rem; }
.prph-match-hero-tournament { font-weight: 700; opacity: .92; }
.prph-match-hero-tournament:hover { color: var(--prph-neon); }
.prph-match-hero-score {
  margin-top: 1.25rem;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}
.prph-match-hero-score.is-live .is-leading { color: var(--prph-neon); }
.prph-match-hero-score .is-leading { color: #d7ff4d; }
.prph-match-hero-score-sep { opacity: .35; margin: 0 .2rem; }

.prph-match-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.prph-match-detail-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: 0 .5rem;
}
.prph-match-detail-vs {
  font-size: 1.1rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: .12em;
}
.prph-match-detail-label { margin: 0; font-size: .82rem; color: #64748b; text-align: center; }
.prph-match-team-panel-head {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid #e5e9ef;
}
.prph-match-team-panel-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: #64748b; font-weight: 700; }
.prph-match-team-panel-badge {
  font-size: .72rem;
  font-weight: 800;
  padding: .18rem .5rem;
  border-radius: 999px;
  background: rgba(27,143,78,.12);
  color: var(--prph-green);
}
.prph-match-team-panel-badge.is-leading { background: rgba(198,255,0,.18); color: #5a7300; }
.prph-match-team-panel-score { margin-left: auto; font-size: 1.5rem; color: var(--prph-green); }
.prph-match-team-panel.is-winner { box-shadow: 0 0 0 2px rgba(27,143,78,.18); }
.prph-match-team-panel.is-leading { box-shadow: 0 0 0 2px rgba(198,255,0,.25); }
.prph-match-team-players { display: grid; gap: .85rem; }
.prph-match-team-player {
  display: flex;
  gap: .85rem;
  align-items: start;
  color: inherit;
}
.prph-match-team-player-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(27,143,78,.18);
  flex-shrink: 0;
}
.prph-match-team-player-body strong { display: block; line-height: 1.25; }
.prph-match-team-player-nick { display: block; font-size: .82rem; color: #64748b; margin-top: .1rem; }
.prph-match-team-player-meta {
  list-style: none;
  margin: .45rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  font-size: .82rem;
  color: #64748b;
}
.prph-match-team-player-meta strong { color: var(--prph-green); }
.prph-match-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.prph-match-info-card h2 { margin: 0 0 1rem; font-size: 1.1rem; }
.prph-match-info-list { display: grid; gap: .85rem; margin: 0; }
.prph-match-info-list dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: #64748b; margin-bottom: .15rem; }
.prph-match-info-list dd { margin: 0; font-weight: 600; color: #0f172a; }
.prph-match-info-list a { color: var(--prph-green); }
.prph-section-head-spaced { margin-top: 2rem; }

.prph-cta { background: linear-gradient(90deg, var(--prph-green), #146b3a); color: white; }
.prph-cta-inner { text-align: center; }
.prph-sponsors { display: flex; gap: 1rem; flex-wrap: wrap; opacity: .85; }

.prph-footer { background: var(--prph-dark); color: #cbd5e1; padding: 2.5rem 0 1.5rem; margin-top: 2rem; }
.prph-footer-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 1rem; }
.prph-footer a { display: block; margin: .35rem 0; color: #cbd5e1; }
.prph-copy { margin-top: 1.5rem; font-size: .85rem; opacity: .7; }

.prph-page-head { padding: 2.5rem 0 1rem; }
.prph-form { background: white; padding: 1.5rem; border-radius: var(--prph-radius); box-shadow: var(--prph-shadow); max-width: 640px; }
.prph-form label { display: block; margin: .75rem 0 .35rem; font-weight: 600; }
.prph-form input, .prph-form select, .prph-form textarea { width: 100%; padding: .65rem .75rem; border: 1px solid #d7dde5; border-radius: 10px; }

/* Admin theme overrides */
:root {
  --theme-default: #1B8F4E;
  --theme-secondary: #C6FF00;
}
.page-wrapper .sidebar-wrapper { border-right: 1px solid rgba(27,143,78,.15); }
.sidebar-wrapper .sidebar-link.active, .sidebar-wrapper .sidebar-title.active { color: var(--theme-default) !important; }
.sidebar-wrapper .logo-wrapper a,
.sidebar-wrapper .logo-icon-wrapper a { display: flex; align-items: center; }
.sidebar-wrapper .logo-wrapper img,
.sidebar-wrapper .logo-icon-wrapper img {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.prph-admin-header-status { padding: 0 1rem; min-height: 100%; }
.prph-admin-header-pills { gap: .5rem; align-items: center; }
.prph-admin-header-pills .badge { font-weight: 600; }

/* Admin header profile — keep avatar + name inside header bounds */
.page-wrapper .page-header .header-wrapper .nav-right.right-header {
  padding-right: 0.75rem;
  min-width: 0;
}
.page-wrapper .page-header .header-wrapper .nav-right.right-header > ul {
  flex-wrap: nowrap;
  min-width: 0;
}
.page-wrapper .page-header .header-wrapper .nav-right.right-header ul li.profile-nav {
  flex-shrink: 0;
  max-width: 170px;
}
.page-wrapper .page-header .header-wrapper .nav-right.right-header ul li .profile-media {
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.page-wrapper .page-header .header-wrapper .nav-right.right-header ul li .profile-media img {
  width: 36px;
  height: 36px;
  min-width: 36px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 10px;
}
.page-wrapper .page-header .header-wrapper .nav-right.right-header ul li .profile-media .media-body {
  margin-left: 0;
  min-width: 0;
  overflow: hidden;
}
.page-wrapper .page-header .header-wrapper .nav-right.right-header ul li .profile-media .media-body span,
.page-wrapper .page-header .header-wrapper .nav-right.right-header ul li .profile-media .media-body p {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}

@media (max-width: 1199px) {
  .prph-admin-header-status .f-light {
    display: none;
  }
}

@media (max-width: 991px) {
  .page-wrapper .page-header .header-wrapper .nav-right.right-header ul li.profile-nav {
    max-width: 140px;
  }
  .page-wrapper .page-header .header-wrapper .nav-right.right-header ul li .profile-media .media-body span,
  .page-wrapper .page-header .header-wrapper .nav-right.right-header ul li .profile-media .media-body p {
    max-width: 90px;
  }
}

/* Admin dashboard — pickleball theme assets */
.prph-dashboard-hero {
  color: #fff;
  border: none;
  overflow: hidden;
  background: linear-gradient(135deg, #0D1117 0%, #1B8F4E 100%) !important;
}
.prph-dashboard-hero-content { position: relative; z-index: 1; }
.prph-dashboard-hero-badge {
  display: block;
  margin-bottom: .75rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}
.prph-dashboard-hero-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(198, 255, 0, 0.35);
}
.prph-neon-badge { background: var(--prph-neon) !important; color: var(--prph-dark) !important; font-weight: 700; }

/* KPI widget cards — replace missing Cuba widget-bg.png */
.prph-kpi-card {
  margin-bottom: 25px;
  border: 1px solid rgba(27, 143, 78, 0.12);
  border-radius: 14px;
  overflow: hidden;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  position: relative;
  min-height: 118px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.prph-kpi-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 45%, rgba(255, 255, 255, 0.55) 72%, rgba(255, 255, 255, 0.15) 100%);
  pointer-events: none;
}
.prph-kpi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(13, 17, 23, 0.12);
}
.prph-kpi-card .card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 118px;
  padding: 16px 18px !important;
}
.prph-kpi-card-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.prph-kpi-card-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(27, 143, 78, 0.2));
}
.prph-kpi-card-text h4 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--prph-dark);
}
.prph-kpi-card-sub {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(27, 143, 78, 0.1);
}

.prph-stat-card { border-left: 3px solid var(--prph-green); }
.prph-stat-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  padding: 4px;
  border-radius: 12px;
  background: rgba(27, 143, 78, 0.08);
}
.prph-page-icon { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(27, 143, 78, 0.25)); }

/* Rankings podium */
.prph-podium-card { border-top: 3px solid var(--prph-green); }
.prph-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1rem 0 0.5rem;
}
.prph-podium-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(220px, 100%);
  padding: 1.25rem 1rem 1rem;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(27, 143, 78, 0.06) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid rgba(27, 143, 78, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.prph-podium-slot:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(13, 17, 23, 0.1);
}
.prph-podium-rank-1 { order: 2; min-height: 240px; border-color: rgba(255, 215, 0, 0.45); background: linear-gradient(180deg, rgba(255, 215, 0, 0.12) 0%, rgba(255, 255, 255, 1) 100%); }
.prph-podium-rank-2 { order: 1; min-height: 210px; }
.prph-podium-rank-3 { order: 3; min-height: 195px; }
.prph-podium-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.prph-rank-gold, .prph-rank-badge.prph-rank-gold { background: linear-gradient(135deg, #ffd700, #ffb800); color: #5c4a00; }
.prph-rank-silver, .prph-rank-badge.prph-rank-silver { background: linear-gradient(135deg, #e8e8e8, #b8b8b8); color: #444; }
.prph-rank-bronze, .prph-rank-badge.prph-rank-bronze { background: linear-gradient(135deg, #e8a86b, #cd7f32); color: #4a2f12; }
.prph-podium-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(27, 143, 78, 0.25);
  margin-bottom: 0.65rem;
}
.prph-podium-rank-1 .prph-podium-avatar { width: 88px; height: 88px; border-color: rgba(255, 215, 0, 0.55); }
.prph-podium-name { display: block; font-size: 1rem; line-height: 1.25; margin-bottom: 0.15rem; }
.prph-podium-mmr {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--prph-green);
  margin: 0.35rem 0;
}

/* Player profile */
.prph-back-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  font-size: 0.9rem;
}
.prph-back-link:hover { color: var(--prph-neon); }

.prph-player-hero {
  background: linear-gradient(135deg, #0D1117 0%, #1B8F4E 100%);
  color: var(--prph-white);
  padding: 2rem 0 2.5rem;
}
.prph-player-hero-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.prph-player-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(198, 255, 0, 0.45);
  box-shadow: var(--prph-shadow);
}
.prph-player-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.prph-tag-verified { background: rgba(198, 255, 0, 0.2); color: var(--prph-neon); }
.prph-tag-rank { background: rgba(255, 215, 0, 0.2); color: #ffd700; }
.prph-player-hero h1 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.15; }
.prph-player-nickname { margin: 0.35rem 0 0; opacity: 0.8; font-style: italic; }
.prph-player-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0.75rem 0 0;
  opacity: 0.85;
  font-size: 0.95rem;
}
.prph-player-meta span:not(:last-child)::after {
  content: '·';
  margin-left: 1rem;
  opacity: 0.5;
}
.prph-player-mmr-highlight {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(198, 255, 0, 0.3);
  border-radius: var(--prph-radius);
  padding: 1rem 1.5rem;
  min-width: 130px;
}
.prph-player-mmr-label { display: block; font-size: 0.8rem; opacity: 0.75; margin-bottom: 0.25rem; }
.prph-player-mmr-value { font-size: 2rem; font-weight: 800; color: var(--prph-neon); }

.prph-player-stats-section { padding-top: 0; margin-top: -1.25rem; }
.prph-player-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.prph-stat-box {
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  padding: 1.25rem;
  text-align: center;
}
.prph-stat-box strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--prph-green); line-height: 1.1; }
.prph-stat-box span { display: block; margin-top: 0.35rem; font-size: 0.85rem; color: #64748b; font-weight: 600; }

.prph-rating-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.prph-rating-card {
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  padding: 1.25rem;
  border-top: 3px solid var(--prph-green);
}
.prph-rating-card h3 { margin: 0 0 0.5rem; font-size: 0.95rem; color: #64748b; font-weight: 600; }
.prph-rating-mmr { margin: 0; font-size: 2rem; font-weight: 800; color: var(--prph-green); line-height: 1.1; }
.prph-rating-meta { list-style: none; margin: 0.75rem 0 0; padding: 0; font-size: 0.85rem; color: #64748b; }
.prph-rating-meta li + li { margin-top: 0.25rem; }
.prph-rating-provisional { color: var(--prph-orange); font-weight: 700; }

.prph-player-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.prph-mmr-change { font-weight: 700; }
.prph-mmr-up { color: var(--prph-green); }
.prph-mmr-down { color: #dc2626; }

.prph-match-list { display: flex; flex-direction: column; gap: 0.75rem; }
.prph-match-item {
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  padding: 1rem 1.15rem;
}
.prph-match-item-top { display: flex; align-items: center; gap: 0.85rem; }
.prph-match-item p { margin: 0.2rem 0 0; font-size: 0.85rem; color: #64748b; }
.prph-match-result {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.prph-match-win { background: rgba(27, 143, 78, 0.15); color: var(--prph-green); }
.prph-match-loss { background: rgba(220, 38, 38, 0.12); color: #dc2626; }
.prph-match-draw { background: rgba(100, 116, 139, 0.15); color: #64748b; }
.prph-match-scheduled { background: rgba(100, 116, 139, 0.1); color: #64748b; font-size: 0.75rem; }
.prph-match-live { width: auto; padding: 0 0.5rem; background: rgba(198, 255, 0, 0.15); color: #5a7300; font-size: 0.75rem; }
.prph-match-score { margin-left: auto; font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.prph-match-score-final { color: var(--prph-green); }
.prph-match-item-live { border-left: 3px solid var(--prph-neon); }
.prph-match-item-final { border-left: 3px solid var(--prph-green); }
.prph-match-teams { flex: 1; min-width: 0; }
.prph-match-team-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.prph-match-player {
  font-weight: 600;
  color: var(--prph-navy);
  text-decoration: none;
}
a.prph-match-player:hover { color: var(--prph-green); text-decoration: underline; }
.prph-match-team-winner .prph-match-player { color: var(--prph-green); font-weight: 800; }
.prph-match-team-leading .prph-match-player { color: #5a7300; }
.prph-match-vs { font-size: 0.75rem; color: #94a3b8; margin: 0.1rem 0; display: block; }
.prph-match-meta { margin: 0.35rem 0 0; font-size: 0.8rem; color: #64748b; }
.prph-match-winner-tag,
.prph-match-leading-tag {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}
.prph-match-winner-tag { background: rgba(27, 143, 78, 0.15); color: var(--prph-green); }
.prph-match-leading-tag { background: rgba(198, 255, 0, 0.2); color: #5a7300; }
.prph-match-time { margin-left: auto; font-size: 0.8rem; color: #94a3b8; white-space: nowrap; }

.prph-badge-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.prph-empty-note { color: #64748b; margin: 0; }

/* Players directory */
.prph-players-hero {
  background: linear-gradient(135deg, #0D1117 0%, #1B8F4E 100%);
  color: var(--prph-white);
  padding: 3rem 0 2.5rem;
}
.prph-players-hero h1 { margin: 0.75rem 0; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.1; }
.prph-players-hero p { margin: 0; max-width: 620px; opacity: 0.88; line-height: 1.55; }
.prph-players-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}
.prph-players-stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(198, 255, 0, 0.22);
  border-radius: var(--prph-radius);
  padding: 0.85rem 1.15rem;
  min-width: 110px;
}
.prph-players-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--prph-neon); line-height: 1.1; }
.prph-players-stat span { display: block; margin-top: 0.2rem; font-size: 0.82rem; opacity: 0.8; font-weight: 600; }

.prph-players-filters-section { padding-top: 0; margin-top: -1.25rem; }
.prph-players-filters {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(120px, 1fr)) auto;
  gap: 0.85rem;
  align-items: end;
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  padding: 1.25rem;
}
.prph-players-filter-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.prph-players-filter-field input,
.prph-players-filter-field select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d7dde5;
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
.prph-players-filter-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.prph-players-count { font-size: 0.92rem; color: #64748b; font-weight: 600; }

.prph-players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.prph-player-card {
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.prph-player-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(13, 17, 23, 0.14);
}
.prph-player-card-link {
  display: block;
  padding: 1.15rem;
  color: inherit;
}
.prph-player-card-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.prph-player-card-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(27, 143, 78, 0.2);
  flex-shrink: 0;
}
.prph-player-card-head { min-width: 0; flex: 1; }
.prph-player-card-head h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prph-player-card-nick { margin: 0.15rem 0 0; font-size: 0.85rem; color: #64748b; }
.prph-player-card-rank {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--prph-green);
  background: rgba(27, 143, 78, 0.1);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}
.prph-player-card-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; }
.prph-tag-verified-dark { background: rgba(27, 143, 78, 0.12); color: var(--prph-green); }
.prph-tag-provisional { background: rgba(255, 107, 53, 0.12); color: var(--prph-orange); }
.prph-tag-skill-secondary { background: #eef2f6; color: #64748b; }
.prph-tag-skill-info { background: rgba(59, 130, 246, 0.12); color: #2563eb; }
.prph-tag-skill-primary { background: rgba(27, 143, 78, 0.12); color: var(--prph-green); }
.prph-tag-skill-warning { background: rgba(245, 158, 11, 0.15); color: #b45309; }
.prph-tag-skill-success { background: rgba(22, 163, 74, 0.12); color: #15803d; }
.prph-player-card-meta {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
}
.prph-player-card-meta strong { color: var(--prph-green); }

.prph-players-empty {
  text-align: center;
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  padding: 3rem 1.5rem;
}
.prph-players-empty p { margin: 0 0 1rem; color: #64748b; }

.prph-players-table-wrap { margin-top: 1rem; }
.prph-table-player {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  font-weight: 600;
}
.prph-table-player small { display: block; font-weight: 500; color: #64748b; }
.prph-table-avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; }

.prph-players-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.prph-players-cta h2 { margin: 0 0 0.35rem; }
.prph-players-cta p { margin: 0; color: #64748b; max-width: 480px; }

/* Club profile */
.prph-club-hero {
  background: linear-gradient(135deg, #0D1117 0%, #1B8F4E 100%);
  color: var(--prph-white);
  padding: 2rem 0 2.5rem;
}
.prph-club-hero-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.prph-club-logo {
  width: 112px;
  height: 112px;
  border-radius: 18px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.12);
  border: 3px solid rgba(198, 255, 0, 0.35);
  padding: 0.75rem;
  box-shadow: var(--prph-shadow);
}
.prph-tag-featured { background: rgba(255, 215, 0, 0.2); color: #ffd700; }
.prph-club-hero h1 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.15; }
.prph-club-tagline { margin: 0.65rem 0 0; opacity: 0.9; line-height: 1.5; max-width: 560px; }
.prph-club-address { margin: 0.5rem 0 0; opacity: 0.8; font-size: 0.95rem; }
.prph-club-hero-meta {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.92rem;
  opacity: 0.88;
}
.prph-club-hero-meta a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.prph-club-mmr-highlight {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(198, 255, 0, 0.3);
  border-radius: var(--prph-radius);
  padding: 1rem 1.5rem;
  min-width: 130px;
}

.prph-club-stats-section { padding-top: 0; margin-top: -1.25rem; }

.prph-club-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0.85rem;
}
.prph-club-member-card {
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.prph-club-member-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 17, 23, 0.12);
}
.prph-club-member-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  color: inherit;
}
.prph-club-member-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(27, 143, 78, 0.18);
  flex-shrink: 0;
}
.prph-club-member-body { min-width: 0; flex: 1; }
.prph-club-member-body strong { display: block; line-height: 1.25; }
.prph-club-member-nick { display: block; font-size: 0.85rem; color: #64748b; margin-top: 0.1rem; }
.prph-club-member-meta {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  font-size: 0.85rem;
  color: #64748b;
}
.prph-club-member-meta strong { color: var(--prph-green); }
.prph-club-member-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}
.prph-tag-admin { background: rgba(27, 143, 78, 0.12); color: var(--prph-green); font-size: 0.72rem; }
.prph-club-member-rank {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--prph-green);
}

.prph-club-announcements { display: flex; flex-direction: column; gap: 1rem; }
.prph-club-announcement {
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  padding: 1.25rem;
}
.prph-club-announcement h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.prph-club-announcement time { display: block; font-size: 0.82rem; color: #64748b; margin-bottom: 0.65rem; }
.prph-club-announcement p { margin: 0; color: #475569; line-height: 1.55; white-space: pre-line; }

.prph-club-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  text-align: left;
}
.prph-club-cta h2 { margin: 0 0 0.35rem; }
.prph-club-cta p { margin: 0; opacity: 0.9; max-width: 520px; }

.prph-club-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}
.prph-club-gallery-item {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--prph-radius);
  overflow: hidden;
  box-shadow: var(--prph-shadow);
  background: #e2e8f0;
}
.prph-club-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.prph-club-gallery-item:hover img { transform: scale(1.03); }

.prph-club-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.prph-club-about-text {
  margin: 0 0 1.25rem;
  color: #475569;
  line-height: 1.65;
  max-width: 680px;
}
.prph-club-contact-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}
.prph-club-contact-item dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 0.15rem;
}
.prph-club-contact-item dd { margin: 0; font-weight: 600; color: #0f172a; }
.prph-club-contact-item a { color: var(--prph-green); }

.prph-club-amenities-card {
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  padding: 1.25rem;
}
.prph-club-amenities-card h3 { margin: 0 0 1rem; font-size: 1.05rem; }
.prph-club-amenities-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.prph-club-amenity {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: #334155;
}
.prph-club-amenity-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(27, 143, 78, 0.12);
  color: var(--prph-green);
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

.prph-club-location-grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.prph-club-location-info {
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.prph-club-location-address,
.prph-club-location-coords {
  margin: 0;
  color: #475569;
  line-height: 1.55;
  font-size: 0.95rem;
}
.prph-club-location-address strong,
.prph-club-location-coords strong { color: #0f172a; }
.prph-btn-sm { padding: 0.45rem 0.9rem; font-size: 0.88rem; }

.prph-club-map {
  min-height: 320px;
  border-radius: var(--prph-radius);
  overflow: hidden;
  box-shadow: var(--prph-shadow);
  background: #e2e8f0;
}
.prph-club-map-loading,
.prph-club-map-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 0.95rem;
  text-align: center;
  padding: 1rem;
}

/* Tournament profile */
.prph-tournament-hero {
  background: linear-gradient(135deg, #0D1117 0%, #1B8F4E 100%);
  color: var(--prph-white);
  padding: 2rem 0 2.5rem;
}
.prph-tournament-hero-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.prph-tournament-banner {
  width: 120px;
  height: 120px;
  border-radius: 18px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.12);
  border: 3px solid rgba(198, 255, 0, 0.35);
  padding: 0.75rem;
  box-shadow: var(--prph-shadow);
}
.prph-tag-status-published { background: rgba(59, 130, 246, 0.2); color: #93c5fd; }
.prph-tag-status-ongoing { background: rgba(198, 255, 0, 0.2); color: var(--prph-neon); }
.prph-tag-status-completed { background: rgba(255, 255, 255, 0.15); color: #e2e8f0; }
.prph-tag-verified { background: rgba(198, 255, 0, 0.2); color: var(--prph-neon); }
.prph-tournament-hero h1 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.15; }
.prph-tournament-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0.75rem 0 0;
  opacity: 0.88;
  font-size: 0.95rem;
}
.prph-tournament-meta span:not(:last-child)::after {
  content: '·';
  margin-left: 1rem;
  opacity: 0.5;
}
.prph-tournament-host { margin: 0.65rem 0 0; opacity: 0.9; }
.prph-tournament-host a { color: var(--prph-neon); font-weight: 700; }
.prph-tournament-fee-highlight {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(198, 255, 0, 0.3);
  border-radius: var(--prph-radius);
  padding: 1rem 1.5rem;
  min-width: 140px;
}
.prph-tournament-fee-value { display: block; font-size: 1.75rem; font-weight: 800; color: var(--prph-neon); line-height: 1.1; }
.prph-tournament-prize { display: block; margin-top: 0.35rem; font-size: 0.82rem; opacity: 0.8; }

.prph-tournament-stats-section { padding-top: 0; margin-top: -1.25rem; }
.prph-tournament-capacity {
  margin-top: 1rem;
  background: #e2e8f0;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
  position: relative;
}
.prph-tournament-capacity span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 600;
}
.prph-tournament-capacity-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--prph-green), #146b3a);
  border-radius: 999px;
  min-width: 4px;
}
.prph-tournament-capacity-sm { height: 6px; margin-top: 0.5rem; }
.prph-tournament-capacity-sm span { display: none; }

.prph-tournament-leader {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 1.25rem;
  padding: 0.85rem 1.1rem;
  background: linear-gradient(135deg, rgba(27, 143, 78, 0.08) 0%, rgba(198, 255, 0, 0.12) 100%);
  border: 1px solid rgba(27, 143, 78, 0.2);
  border-radius: var(--prph-radius);
}
.prph-tournament-leader-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}
.prph-tournament-leader strong { font-size: 1.05rem; }
.prph-tournament-leader strong a { color: var(--prph-green); text-decoration: none; }
.prph-tournament-leader strong a:hover { text-decoration: underline; }
.prph-tournament-leader-record { font-size: 0.85rem; color: #64748b; font-weight: 600; }

.prph-standings-division + .prph-standings-division { margin-top: 1.5rem; }
.prph-standings-table .prph-table-player { gap: 0; }
.prph-standings-leader { background: rgba(27, 143, 78, 0.06); }
.prph-standings-leader-badge {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(27, 143, 78, 0.15);
  color: var(--prph-green);
  vertical-align: middle;
}
.prph-standings-rank-leader {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--prph-green);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
}
.prph-standings-diff-up { color: var(--prph-green); font-weight: 700; }
.prph-standings-diff-down { color: #dc2626; font-weight: 700; }

.prph-tournament-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.prph-tournament-about {
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  padding: 1.25rem;
}
.prph-tournament-about p { margin: 0 0 1rem; line-height: 1.6; color: #475569; }
.prph-tournament-details { margin: 0; }
.prph-tournament-details dt { font-size: 0.78rem; color: #64748b; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 0.85rem; }
.prph-tournament-details dt:first-child { margin-top: 0; }
.prph-tournament-details dd { margin: 0.2rem 0 0; font-weight: 600; }

.prph-tournament-divisions { display: flex; flex-direction: column; gap: 0.85rem; }
.prph-tournament-division-card {
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  padding: 1.15rem;
  border-left: 4px solid var(--prph-green);
}
.prph-tournament-division-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.prph-tournament-division-head h3 { margin: 0; font-size: 1rem; }
.prph-tournament-division-card p { margin: 0; color: #64748b; font-size: 0.9rem; }

.prph-tag-entry-approved, .prph-tag-entry-checked_in { background: rgba(27, 143, 78, 0.12); color: var(--prph-green); }
.prph-tag-entry-pending { background: rgba(245, 158, 11, 0.15); color: #b45309; }
.prph-match-scheduled { width: auto; padding: 0 0.5rem; background: #eef2f6; color: #64748b; font-size: 0.75rem; }

.prph-tournament-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  text-align: left;
}
.prph-tournament-cta h2 { margin: 0 0 0.35rem; }
.prph-tournament-cta p { margin: 0; opacity: 0.9; max-width: 520px; }
.prph-tournament-cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.prph-btn-light { border-color: rgba(255, 255, 255, 0.65); color: #fff; }

/* Tournaments directory */
.prph-tournaments-hero {
  background: linear-gradient(135deg, #0D1117 0%, #1B8F4E 100%);
  color: var(--prph-white);
  padding: 3rem 0 2.5rem;
}
.prph-tournaments-hero h1 { margin: 0.75rem 0; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.1; }
.prph-tournaments-hero p { margin: 0; max-width: 640px; opacity: 0.88; line-height: 1.55; }
.prph-tournaments-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}
.prph-tournaments-stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(198, 255, 0, 0.22);
  border-radius: var(--prph-radius);
  padding: 0.85rem 1.15rem;
  min-width: 110px;
}
.prph-tournaments-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--prph-neon); line-height: 1.1; }
.prph-tournaments-stat span { display: block; margin-top: 0.2rem; font-size: 0.82rem; opacity: 0.8; font-weight: 600; }

.prph-tournaments-filters-section { padding-top: 0; margin-top: -1.25rem; }
.prph-tournaments-filters {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, minmax(110px, 1fr)) auto;
  gap: 0.85rem;
  align-items: end;
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  padding: 1.25rem;
}
.prph-tournaments-filter-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.prph-tournaments-filter-field input,
.prph-tournaments-filter-field select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d7dde5;
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
.prph-tournaments-filter-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.prph-tournaments-empty { text-align: center; padding: 2rem 0; color: #64748b; }
.prph-tournaments-empty p { margin: 0 0 1rem; }

.prph-tournaments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.15rem;
}
.prph-tournament-list-card {
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.prph-tournament-list-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(13, 17, 23, 0.14);
}
.prph-tournament-list-link { display: block; color: inherit; }
.prph-tournament-list-banner-wrap { position: relative; aspect-ratio: 16 / 7; overflow: hidden; background: #e2e8f0; }
.prph-tournament-list-banner { width: 100%; height: 100%; object-fit: cover; }
.prph-tournament-list-verified {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  background: rgba(27, 143, 78, 0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.prph-tournament-list-body { padding: 1.1rem 1.15rem 1.2rem; }
.prph-tournament-list-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.65rem; }
.prph-tournament-list-body h3 { margin: 0 0 0.55rem; font-size: 1.12rem; line-height: 1.25; }
.prph-tournament-list-meta {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
}
.prph-tournament-list-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 0.65rem;
}
.prph-tournament-list-stats strong { color: var(--prph-green); }
.prph-tournament-list-fee { margin-left: auto; font-weight: 700; color: var(--prph-dark); }

.prph-tournaments-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Tournament registration form */
.prph-alert {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  margin-bottom: 1rem;
}
.prph-alert-success { background: rgba(27, 143, 78, 0.12); color: #166534; border: 1px solid rgba(27, 143, 78, 0.25); }
.prph-alert-error { background: rgba(239, 68, 68, 0.1); color: #b91c1c; border: 1px solid rgba(239, 68, 68, 0.25); }

.prph-tournament-register-wrap { max-width: 760px; }
.prph-tournament-register-intro h2 { margin: 0 0 0.35rem; }
.prph-tournament-register-intro p { margin: 0 0 1.25rem; opacity: 0.9; line-height: 1.55; }
.prph-tournament-register-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--prph-radius);
  padding: 1.25rem;
}
.prph-tournament-register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.prph-tournament-register-form label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
}
.prph-tournament-register-form label small {
  display: block;
  margin-top: 0.35rem;
  font-weight: 500;
  font-size: 0.78rem;
  opacity: 0.75;
}
.prph-tournament-register-form input,
.prph-tournament-register-form select {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  font: inherit;
  background: rgba(255, 255, 255, 0.95);
  color: var(--prph-dark);
}
.prph-tournament-partner-field { grid-column: 1 / -1; }
.prph-tournament-register-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.15rem;
}
.prph-tournament-register-fee { font-size: 0.92rem; opacity: 0.9; }
.prph-tournament-register-fee strong { color: var(--prph-neon); }
.prph-tournament-register-note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  opacity: 0.85;
}
.prph-tournament-register-note a { color: var(--prph-neon); font-weight: 700; }

/* Auth & profile */
.prph-auth-page {
  padding: 3rem 0 4rem;
  min-height: calc(100vh - 180px);
}
.prph-auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.prph-auth-grid-narrow { grid-template-columns: minmax(280px, 440px); justify-content: center; }
.prph-auth-copy h1 { margin: 0.75rem 0; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.1; }
.prph-auth-copy p { margin: 0; line-height: 1.6; color: #475569; max-width: 480px; }
.prph-auth-benefits {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  color: #334155;
  font-weight: 600;
}
.prph-auth-benefits li::before {
  content: "✓";
  color: var(--prph-green);
  font-weight: 800;
  margin-right: 0.5rem;
}
.prph-auth-card {
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  padding: 1.75rem;
}
.prph-auth-card h2 { margin: 0 0 0.35rem; font-size: 1.5rem; }
.prph-auth-sub { margin: 0 0 1.25rem; color: #64748b; font-size: 0.92rem; }
.prph-auth-form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.92rem;
}
.prph-auth-form input {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #d7dde5;
  border-radius: 10px;
  font: inherit;
}
.prph-auth-submit { width: 100%; margin-top: 0.5rem; }
.prph-auth-switch { margin: 1.25rem 0 0; text-align: center; font-size: 0.92rem; color: #64748b; }
.prph-auth-switch a { color: var(--prph-green); font-weight: 700; }
.prph-auth-error-list { margin: 0; padding-left: 1.1rem; }
.prph-auth-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.35rem;
  background: #f1f5f9;
  border-radius: 12px;
}
.prph-auth-type-btn {
  display: block;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.prph-auth-type-btn.is-active {
  background: var(--prph-white);
  color: var(--prph-green);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.prph-auth-form select {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #d7dde5;
  border-radius: 10px;
  font: inherit;
  background: var(--prph-white);
}
.prph-auth-note {
  margin: 0 0 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.5;
}

.prph-profile-hero {
  background: linear-gradient(135deg, #0D1117 0%, #1B8F4E 100%);
  color: var(--prph-white);
  padding: 2.5rem 0;
}
.prph-profile-hero-grid {
  display: grid;
  grid-template-columns: auto 1fr minmax(160px, 220px);
  gap: 1.25rem 1.5rem;
  align-items: center;
}
.prph-profile-hero-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(198, 255, 0, 0.35);
}
.prph-profile-hero h1 { margin: 0.5rem 0 0; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.prph-profile-hero-sub { margin: 0.5rem 0 0; opacity: 0.88; line-height: 1.55; max-width: 560px; font-size: 0.95rem; }
.prph-profile-completion {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(198, 255, 0, 0.22);
  border-radius: var(--prph-radius);
  padding: 1rem 1.1rem;
}
.prph-profile-completion-label { display: block; font-size: 0.78rem; opacity: 0.8; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.prph-profile-completion strong { display: block; font-size: 1.75rem; color: var(--prph-neon); line-height: 1.1; margin: 0.2rem 0 0.65rem; }
.prph-profile-completion-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  overflow: hidden;
}
.prph-profile-completion-fill {
  height: 100%;
  background: var(--prph-neon);
  border-radius: 999px;
}

.prph-profile-section { padding-top: 2rem; }
.prph-profile-welcome { margin-bottom: 1rem; }
.prph-profile-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.25rem;
  align-items: start;
}
.prph-profile-fieldset {
  border: none;
  margin: 0 0 1.25rem;
  padding: 0;
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
}
.prph-profile-fieldset legend {
  padding: 1rem 1.15rem 0;
  font-weight: 800;
  font-size: 1rem;
}
.prph-profile-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
  padding: 0.85rem 1.15rem 1.15rem;
}
.prph-profile-fields label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: #334155;
}
.prph-profile-fields label small {
  display: block;
  margin-top: 0.35rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.4;
}
.prph-profile-fields input,
.prph-profile-fields select {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d7dde5;
  border-radius: 10px;
  font: inherit;
}
.prph-profile-field-wide { grid-column: 1 / -1; }
.prph-required { color: #dc2626; }

.prph-profile-sidebar { display: flex; flex-direction: column; gap: 1rem; }
.prph-profile-side-card {
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  padding: 1.1rem;
}
.prph-profile-side-card h3 { margin: 0 0 0.65rem; font-size: 1rem; }
.prph-profile-side-card p { margin: 0 0 0.75rem; font-size: 0.88rem; color: #64748b; line-height: 1.45; }
.prph-profile-side-photo {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.85rem;
  border: 2px solid rgba(27, 143, 78, 0.2);
}
.prph-profile-file-label input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.prph-profile-file-label {
  display: block;
  text-align: center;
  margin-bottom: 0.5rem;
}
.prph-profile-side-card small { display: block; text-align: center; color: #94a3b8; font-size: 0.78rem; }
.prph-profile-doc-status { color: var(--prph-green); font-weight: 700; font-size: 0.85rem; }
.prph-profile-ratings { list-style: none; margin: 0; padding: 0; }
.prph-profile-ratings li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eef2f6;
  font-size: 0.9rem;
}
.prph-profile-ratings li:last-child { border-bottom: none; }
.prph-profile-ratings strong { color: var(--prph-green); }
.prph-profile-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.prph-profile-hero-grid-rich {
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
}
.prph-profile-hero-info { min-width: 0; }
.prph-profile-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  opacity: 0.85;
}
.prph-profile-hero-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 0.85rem;
  opacity: 0.55;
}
.prph-profile-completion-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--prph-neon);
}

.prph-profile-stats-section { padding-top: 0; margin-top: -1.25rem; }
.prph-profile-stats-section .prph-player-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.prph-profile-tabs-section {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: rgba(245, 247, 250, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(13, 17, 23, 0.08);
  padding: 0.65rem 0;
}
.prph-profile-tabs {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.prph-profile-tabs a {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.prph-profile-tabs a:hover { color: var(--prph-dark); background: rgba(13, 17, 23, 0.05); }
.prph-profile-tabs a.is-active {
  background: var(--prph-green);
  color: #fff;
}

.prph-profile-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-top: 2rem;
}
.prph-profile-panel {
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  padding: 1.15rem 1.2rem;
}
.prph-profile-panel-full { margin-top: 1.15rem; }
.prph-profile-details { margin: 0 0 1rem; }
.prph-profile-details dt {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.75rem;
}
.prph-profile-details dt:first-child { margin-top: 0; }
.prph-profile-details dd { margin: 0.15rem 0 0; font-weight: 600; color: #334155; }
.prph-profile-account-email { font-weight: 700; color: var(--prph-dark); word-break: break-all; }

.prph-match-list-compact .prph-match-item + .prph-match-item { margin-top: 0.65rem; }
.prph-match-item-full {
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  padding: 1rem 1.1rem;
}
.prph-match-item-full + .prph-match-item-full { margin-top: 0.75rem; }
.prph-match-item-full .prph-link { display: inline-block; margin-top: 0.65rem; font-size: 0.88rem; }

.prph-profile-empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
}
.prph-profile-empty-state p { margin: 0 0 1rem; color: #64748b; }

.prph-profile-clubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.prph-profile-club-card {
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  padding: 1.15rem;
}
.prph-profile-club-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.45rem;
}
.prph-profile-club-head h3 { margin: 0; font-size: 1.05rem; }
.prph-profile-club-card p { margin: 0 0 0.75rem; color: #64748b; font-size: 0.88rem; }

.prph-profile-edit-section { scroll-margin-top: 120px; }
#overview, #matches, #tournaments, #clubs { scroll-margin-top: 120px; }

/* Tournament bracket */
.prph-tournament-bracket-section { overflow: hidden; }
.prph-bracket-division + .prph-bracket-division { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #e2e8f0; }
.prph-bracket-division-title { margin: 0 0 1rem; font-size: 1.05rem; color: var(--prph-navy); }

.prph-bracket-tree-wrap {
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}
.prph-bracket-tree {
  display: flex;
  gap: 2rem;
  min-width: min-content;
  padding: 0.5rem 0;
}
.prph-bracket-round {
  display: flex;
  flex-direction: column;
  min-width: 220px;
}
.prph-bracket-round-label {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  text-align: center;
}
.prph-bracket-round-matches {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  flex: 1;
  gap: 1.25rem;
}

.prph-bracket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.prph-bracket-match {
  position: relative;
  background: var(--prph-white);
  border-radius: var(--prph-radius);
  box-shadow: var(--prph-shadow);
  overflow: hidden;
  border: 1px solid #e8edf2;
}
.prph-bracket-match-label {
  position: absolute;
  top: 0.45rem;
  left: 0.55rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  z-index: 1;
}
.prph-bracket-match-done { border-color: rgba(27, 143, 78, 0.35); }
.prph-bracket-match-live {
  border-color: var(--prph-green);
  box-shadow: 0 0 0 1px rgba(27, 143, 78, 0.25), var(--prph-shadow);
}
.prph-bracket-live-badge {
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--prph-green);
  background: rgba(27, 143, 78, 0.12);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  z-index: 1;
}

.prph-bracket-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid #eef2f6;
  min-height: 2.75rem;
}
.prph-bracket-slot:last-of-type { border-bottom: none; }
.prph-bracket-slot-winner {
  background: rgba(27, 143, 78, 0.08);
}
.prph-bracket-slot-winner .prph-bracket-player { font-weight: 700; color: var(--prph-green); }
.prph-bracket-slot-leading {
  background: rgba(198, 255, 0, 0.08);
}
.prph-bracket-slot-leading .prph-bracket-player { font-weight: 700; color: #5a7300; }
.prph-bracket-winner-tag,
.prph-bracket-leading-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 800;
}
.prph-bracket-winner-tag { background: var(--prph-green); color: #fff; }
.prph-bracket-leading-tag { background: rgba(198, 255, 0, 0.35); color: #5a7300; }
.prph-bracket-status-final { color: var(--prph-green); font-weight: 700; }
.prph-bracket-status-live { color: #5a7300; font-weight: 700; }
.prph-bracket-slot-empty .prph-bracket-player { color: #94a3b8; font-style: italic; }

.prph-bracket-slot-main {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}
.prph-bracket-seed {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 4px;
}
.prph-bracket-player {
  color: var(--prph-navy);
  text-decoration: none;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
a.prph-bracket-player:hover { color: var(--prph-green); text-decoration: underline; }
.prph-bracket-score {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 1rem;
  min-width: 1.5rem;
  text-align: right;
}
.prph-bracket-mmr {
  flex-shrink: 0;
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 600;
}
.prph-bracket-status {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  color: #94a3b8;
  padding: 0.35rem;
  background: #f8fafc;
  border-top: 1px solid #eef2f6;
}

/* Admin bracket page */
.admin-bracket-wrap {
  background: #f8fafc;
  border-radius: 8px;
  padding: 1rem;
}
.admin-bracket-wrap .prph-bracket-match {
  min-width: 220px;
}
.admin-bracket-match-id {
  position: absolute;
  top: 0.45rem;
  left: 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  z-index: 1;
}
.admin-bracket-wrap .prph-bracket-match-live .admin-bracket-match-id {
  top: 1.65rem;
}

.prph-command-center .admin-bracket-wrap {
  max-height: 280px;
  overflow: auto;
}
.prph-command-center .prph-bracket-grid {
  grid-template-columns: 1fr;
}
.prph-command-center .prph-bracket-tree {
  gap: 1rem;
}
.prph-command-center .prph-bracket-round {
  min-width: 180px;
}
.award-option input[type="radio"] {
  vertical-align: middle;
}
.award-option:has(input:checked) {
  border-color: var(--theme-default, #7366ff) !important;
  background: rgba(115, 102, 255, 0.06);
}

/* Admin dark theme (Cuba dark-only body) — contrast fixes */
body.dark-only .prph-kpi-card::before {
  background: linear-gradient(
    105deg,
    rgba(38, 41, 50, 0.97) 0%,
    rgba(38, 41, 50, 0.92) 45%,
    rgba(38, 41, 50, 0.55) 72%,
    rgba(38, 41, 50, 0.15) 100%
  );
}
body.dark-only .prph-kpi-card {
  border-color: rgba(55, 69, 88, 0.85);
}
body.dark-only .prph-kpi-card-text h4 {
  color: rgba(255, 255, 255, 0.95);
}
body.dark-only .prph-kpi-card .f-light,
body.dark-only .prph-kpi-card-sub {
  color: rgba(255, 255, 255, 0.65) !important;
}
body.dark-only .prph-kpi-card-sub {
  border-top-color: rgba(255, 255, 255, 0.12);
}

body.dark-only .page-body .btn-light {
  background-color: #374558 !important;
  border-color: #374558 !important;
  color: rgba(255, 255, 255, 0.88) !important;
}
body.dark-only .page-body .btn-light:hover,
body.dark-only .page-body .btn-light:focus {
  background-color: #4a5568 !important;
  border-color: #4a5568 !important;
  color: #fff !important;
}

body.dark-only .prph-command-center .admin-bracket-wrap {
  background: #1d1e26;
  border: 1px solid #374558;
}
body.dark-only .prph-command-center .prph-bracket-match {
  background: #262932;
  border-color: #374558;
  box-shadow: none;
}
body.dark-only .prph-command-center .prph-bracket-round-label,
body.dark-only .prph-command-center .prph-bracket-match-label,
body.dark-only .prph-command-center .admin-bracket-match-id {
  color: rgba(255, 255, 255, 0.55);
}
body.dark-only .prph-command-center .admin-bracket-match-id {
  background: #374558;
}
body.dark-only .prph-command-center .prph-bracket-player {
  color: rgba(255, 255, 255, 0.92);
}
body.dark-only .prph-command-center a.prph-bracket-player:hover {
  color: var(--prph-neon, #c6ff00);
}
body.dark-only .prph-command-center .prph-bracket-seed {
  background: #374558;
  color: rgba(255, 255, 255, 0.75);
}
body.dark-only .prph-command-center .prph-bracket-slot {
  border-bottom-color: #374558;
}
body.dark-only .prph-command-center .prph-bracket-status {
  background: #1d1e26;
  border-top-color: #374558;
  color: rgba(255, 255, 255, 0.55);
}
body.dark-only .prph-command-center .prph-bracket-mmr {
  color: rgba(255, 255, 255, 0.45);
}
body.dark-only .prph-command-center .border.rounded {
  border-color: #374558 !important;
}
body.dark-only .prph-command-center .award-option .text-muted {
  color: rgba(255, 255, 255, 0.55) !important;
}

@media (max-width: 768px) {
  .prph-hero-grid { grid-template-columns: 1fr; }
  .prph-nav { display: flex; }
  .prph-player-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .prph-player-avatar { margin: 0 auto; }
  .prph-player-badges { justify-content: center; }
  .prph-player-meta { justify-content: center; }
  .prph-player-mmr-highlight { margin: 0 auto; }
  .prph-player-stats { grid-template-columns: repeat(2, 1fr); }
  .prph-rating-cards { grid-template-columns: 1fr; }
  .prph-player-two-col { grid-template-columns: 1fr; }
  .prph-players-filters { grid-template-columns: 1fr; }
  .prph-players-filter-actions { padding-top: 0.25rem; }
  .prph-players-cta { flex-direction: column; align-items: flex-start; }
  .prph-club-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .prph-club-logo { margin: 0 auto; }
  .prph-player-badges { justify-content: center; }
  .prph-club-tagline, .prph-club-address { margin-left: auto; margin-right: auto; }
  .prph-club-mmr-highlight { margin: 0 auto; }
  .prph-club-cta { flex-direction: column; align-items: flex-start; }
  .prph-club-details-grid,
  .prph-club-location-grid { grid-template-columns: 1fr; }
  .prph-club-gallery { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .prph-tournament-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .prph-tournament-banner { margin: 0 auto; }
  .prph-player-badges { justify-content: center; }
  .prph-tournament-meta { justify-content: center; }
  .prph-tournament-fee-highlight { margin: 0 auto; }
  .prph-tournament-two-col { grid-template-columns: 1fr; }
  .prph-tournament-cta { flex-direction: column; align-items: flex-start; }
  .prph-tournaments-filters { grid-template-columns: 1fr; }
  .prph-tournaments-cta { flex-direction: column; align-items: flex-start; }
  .prph-tournament-register-grid { grid-template-columns: 1fr; }
  .prph-auth-grid { grid-template-columns: 1fr; }
  .prph-profile-hero-grid-rich { grid-template-columns: 1fr; text-align: center; }
  .prph-profile-hero-avatar { margin: 0 auto; }
  .prph-profile-completion { max-width: 280px; margin: 0 auto; }
  .prph-profile-hero-meta { justify-content: center; }
  .prph-profile-stats-section .prph-player-stats { grid-template-columns: repeat(2, 1fr); }
  .prph-profile-overview-grid { grid-template-columns: 1fr; }
  .prph-profile-layout { grid-template-columns: 1fr; }
  .prph-profile-fields { grid-template-columns: 1fr; }
  .prph-live-hero-grid { grid-template-columns: 1fr; }
  .prph-live-layout { grid-template-columns: 1fr; }
  .prph-match-detail-grid { grid-template-columns: 1fr; }
  .prph-match-detail-center { padding: .5rem 0; }
  .prph-match-card-foot { flex-direction: column; align-items: flex-start; }
}

/* Landing page redesign overrides */
:root {
  --prph-neon: #C7FF00;
  --prph-black: #0A0A0A;
  --prph-charcoal: #111315;
  --prph-gray: #A0A7B1;
}

body.prph-public {
  background: var(--prph-black);
  color: #fff;
}

body.prph-public .prph-section-alt {
  background: #0f141a;
  border-top: 1px solid rgba(199, 255, 0, 0.08);
  border-bottom: 1px solid rgba(199, 255, 0, 0.08);
}

body.prph-public .prph-section-alt .prph-section-head h2 {
  color: #e5eaf2;
}

/* Dark surfaces — white cards/tables from light theme */
body.prph-public .prph-table-wrap,
body.prph-public .prph-stat-box,
body.prph-public .prph-rating-card,
body.prph-public .prph-match-item,
body.prph-public .prph-match-card,
body.prph-public .prph-match-item-full,
body.prph-public .prph-match-info-card,
body.prph-public .prph-match-team-panel,
body.prph-public .prph-live-sidebar-card,
body.prph-public .prph-live-empty,
body.prph-public .prph-live-tournament-chip,
body.prph-public .prph-tournament-about,
body.prph-public .prph-tournament-division-card,
body.prph-public .prph-bracket-match,
body.prph-public .prph-card,
body.prph-public .prph-player-card,
body.prph-public .prph-players-filters,
body.prph-public .prph-tournaments-filters,
body.prph-public .prph-tournament-list-card,
body.prph-public .prph-profile-panel,
body.prph-public .prph-profile-club-card,
body.prph-public .prph-profile-empty-state,
body.prph-public .prph-players-empty,
body.prph-public .prph-shop-empty,
body.prph-public .prph-shop-card,
body.prph-public .prph-club-details-main,
body.prph-public .prph-club-contact-card,
body.prph-public .prph-club-member-card,
body.prph-public .prph-club-announcement,
body.prph-public .prph-club-amenities-card,
body.prph-public .prph-club-location-info {
  background: #111315;
  border: 1px solid rgba(199, 255, 0, 0.15);
  box-shadow: none;
  color: #e5eaf2;
}

body.prph-public .prph-table th {
  background: #0f141a;
  color: #95a1b2;
}

body.prph-public .prph-table td {
  color: #e5eaf2;
  border-bottom-color: #242b34;
}

body.prph-public .prph-table-player small {
  color: #8d99ab;
}

body.prph-public .prph-stat-box strong {
  color: var(--prph-neon);
}

body.prph-public .prph-stat-box span,
body.prph-public .prph-tournament-about p,
body.prph-public .prph-tournament-division-card p,
body.prph-public .prph-tournament-details dt,
body.prph-public .prph-tournament-leader-label,
body.prph-public .prph-tournament-leader-record,
body.prph-public .prph-tournament-capacity span,
body.prph-public .prph-players-count,
body.prph-public .prph-shop-count,
body.prph-public .prph-empty-note,
body.prph-public .prph-bracket-round-label,
body.prph-public .prph-match-card-meta,
body.prph-public .prph-match-card-vs,
body.prph-public .prph-tournament-list-meta,
body.prph-public .prph-tournament-list-stats,
body.prph-public .prph-profile-details dt,
body.prph-public .prph-profile-club-card p,
body.prph-public .prph-club-contact-item dt,
body.prph-public .prph-club-about-text,
body.prph-public .prph-club-member-nick,
body.prph-public .prph-club-member-meta,
body.prph-public .prph-club-location-address,
body.prph-public .prph-club-location-coords,
body.prph-public .prph-club-announcement time,
body.prph-public .prph-club-announcement p,
body.prph-public .prph-club-map-empty,
body.prph-public .prph-club-map-loading {
  color: #95a1b2;
}

body.prph-public .prph-tournament-details dd,
body.prph-public .prph-tournament-division-head h3,
body.prph-public .prph-bracket-division-title,
body.prph-public .prph-bracket-player,
body.prph-public .prph-match-card-name,
body.prph-public .prph-match-card-score,
body.prph-public .prph-tournament-list-body h3,
body.prph-public .prph-profile-details dd,
body.prph-public .prph-profile-club-head h3,
body.prph-public .prph-rating-card h3,
body.prph-public .prph-club-contact-item dd,
body.prph-public .prph-club-amenities-card h3,
body.prph-public .prph-club-amenity,
body.prph-public .prph-club-location-address strong,
body.prph-public .prph-club-location-coords strong,
body.prph-public .prph-club-member-body strong,
body.prph-public .prph-club-announcement h3,
body.prph-public .prph-card h3,
body.prph-public .prph-card p {
  color: #e5eaf2;
}

body.prph-public .prph-tournament-leader strong a {
  color: var(--prph-neon);
}

body.prph-public .prph-tournament-capacity {
  background: #242b34;
}

body.prph-public .prph-bracket-division + .prph-bracket-division {
  border-top-color: #242b34;
}

body.prph-public .prph-bracket-match {
  border-color: #242b34;
}

body.prph-public .prph-standings-leader {
  background: rgba(199, 255, 0, 0.06);
}

body.prph-public .prph-tournament-list-fee {
  color: var(--prph-neon);
}

body.prph-public .prph-tournament-list-stats strong {
  color: var(--prph-neon);
}

body.prph-public .prph-rating-mmr {
  color: var(--prph-neon);
}

body.prph-public .prph-players-cta h2,
body.prph-public .prph-tournaments-cta h2,
body.prph-public .prph-tournament-cta h2 {
  color: #e5eaf2;
}

body.prph-public .prph-players-cta p,
body.prph-public .prph-tournaments-cta p,
body.prph-public .prph-tournament-cta p {
  color: #95a1b2;
}

/* Clubs directory & profile — dark theme */
body.prph-public .prph-card a,
body.prph-public .prph-section-head a {
  color: var(--prph-neon);
  font-weight: 700;
}

body.prph-public .prph-card a:hover,
body.prph-public .prph-section-head a:hover {
  color: #e9ffc1;
}

body.prph-public .prph-club-member-meta strong {
  color: var(--prph-neon);
}

body.prph-public .prph-club-member-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

body.prph-public .prph-club-hero .prph-tag:not(.prph-tag-featured) {
  background: rgba(255, 255, 255, 0.14);
  color: #e5eaf2;
}

body.prph-public .prph-club-map {
  background: #0f141a;
  border: 1px solid rgba(199, 255, 0, 0.15);
}

/* Live page dark theme */
body.prph-public .prph-live-tournaments-strip {
  background: #0f141a;
  border-top: 1px solid rgba(199, 255, 0, 0.08);
  border-bottom: 1px solid rgba(199, 255, 0, 0.08);
}

body.prph-public .prph-live-tournament-chip span {
  color: #95a1b2;
}

body.prph-public .prph-live-empty h3 {
  color: #e5eaf2;
}

body.prph-public .prph-live-empty p {
  color: #95a1b2;
}

body.prph-public .prph-section-head h2,
body.prph-public .prph-section-head h3 {
  color: #e5eaf2;
}

body.prph-public .prph-court-board-item {
  background: #0f141a;
  border-color: #242b34;
  color: #e5eaf2;
}

body.prph-public .prph-court-board-item.is-active {
  border-color: rgba(199, 255, 0, 0.25);
  background: rgba(199, 255, 0, 0.06);
}

body.prph-public .prph-court-board-tournament,
body.prph-public .prph-court-board-vs {
  color: #95a1b2;
}

body.prph-public .prph-court-board-score {
  color: var(--prph-neon);
}

body.prph-public .prph-match-player-chip-body small,
body.prph-public .prph-match-player-chip-meta {
  color: #b0bac9;
}

body.prph-public .prph-match-card-foot {
  border-top-color: #242b34;
}

body.prph-public .prph-tag-muted {
  background: #242b34;
  color: #95a1b2;
}

body.prph-public .prph-match-card-score .is-leading,
body.prph-public .prph-match-card-score-live,
body.prph-public .prph-match-card-score-live .is-leading {
  color: var(--prph-neon);
}

body.prph-public .prph-match-card-team.is-winner .prph-match-card-name,
body.prph-public .prph-match-card-team.is-winner .prph-match-player-chip strong {
  color: var(--prph-neon);
}

body.prph-public .prph-match-card-team-tag.is-leading {
  background: rgba(199, 255, 0, 0.18);
  color: var(--prph-neon);
}

body.prph-public .prph-match-card-name.is-empty {
  color: #8d99ab;
}

body.prph-public .prph-match-card-meta a,
body.prph-public .prph-match-card .prph-link {
  color: var(--prph-neon);
}

body.prph-public .prph-match-card-meta a:hover,
body.prph-public .prph-match-card .prph-link:hover {
  color: #e9ffc1;
}

/* Hero badges — default green tags fade on gradient backgrounds */
body.prph-public .prph-tournament-hero .prph-tag:not(.prph-tag-status-published):not(.prph-tag-status-ongoing):not(.prph-tag-status-completed):not(.prph-tag-verified),
body.prph-public .prph-player-hero .prph-tag:not(.prph-tag-verified):not(.prph-tag-rank) {
  background: rgba(255, 255, 255, 0.14);
  color: #e5eaf2;
}

/* Brighter muted labels on dark tournament surfaces */
body.prph-public .prph-tournament-leader-label,
body.prph-public .prph-tournament-leader-record,
body.prph-public .prph-tournament-details dt,
body.prph-public .prph-tournament-about p,
body.prph-public .prph-tournament-division-card p {
  color: #b0bac9;
}

body.prph-public .prph-tournament-leader {
  background: linear-gradient(135deg, rgba(27, 143, 78, 0.14) 0%, rgba(199, 255, 0, 0.1) 100%);
  border-color: rgba(199, 255, 0, 0.22);
}

/* Bracket — dark-theme slot/status styling */
body.prph-public .prph-bracket-slot {
  border-bottom-color: #242b34;
}

body.prph-public .prph-bracket-seed {
  background: #1a2028;
  color: #95a1b2;
}

body.prph-public .prph-bracket-status {
  background: #0f141a;
  border-top-color: #242b34;
  color: #95a1b2;
}

body.prph-public .prph-bracket-status-final {
  color: #6ee7a0;
}

body.prph-public .prph-bracket-status-live {
  color: var(--prph-neon);
}

body.prph-public .prph-bracket-slot-winner .prph-bracket-player {
  color: #6ee7a0;
}

body.prph-public .prph-bracket-slot-leading .prph-bracket-player {
  color: var(--prph-neon);
}

body.prph-public .prph-bracket-mmr,
body.prph-public .prph-bracket-match-label {
  color: #b0bac9;
}

body.prph-public .prph-tag-entry-approved,
body.prph-public .prph-tag-entry-checked_in {
  background: rgba(199, 255, 0, 0.14);
  color: var(--prph-neon);
}

body.prph-public .prph-tag-skill-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #b0bac9;
}

body.prph-public .prph-match-scheduled {
  background: rgba(255, 255, 255, 0.08);
  color: #b0bac9;
}

.prph-header {
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid rgba(199, 255, 0, 0.18);
}

.prph-header-inner { gap: 1.25rem; }
body.prph-public .prph-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}
body.prph-public .prph-nav {
  justify-content: center;
  flex-wrap: nowrap;
  gap: .7rem;
  font-size: .88rem;
}
body.prph-public .prph-header-actions { margin-left: 0; }
.prph-nav a { color: #dbe0e8; font-weight: 600; }
.prph-nav a:hover { color: var(--prph-neon); }
.prph-header-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.prph-live-link {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  background: #141a0d;
  border: 1px solid rgba(199, 255, 0, 0.4);
  border-radius: 999px;
  color: #e9ffc1;
  font-size: .82rem;
  padding: .4rem .7rem;
}

.prph-btn-outline { border-color: #3b4350; color: #e8edf5; }
.prph-btn-primary { background: var(--prph-neon); color: #111315; }

.prph-home-hero {
  position: relative;
  background:
    linear-gradient(90deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.55) 48%, rgba(10,10,10,.92) 100%),
    var(--hero-image) center/cover no-repeat;
  padding: 3.2rem 0;
  border-bottom: 1px solid rgba(199, 255, 0, 0.15);
}
.prph-home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 320px;
  gap: 1.2rem;
}
.prph-home-hero-side { display: grid; gap: .75rem; align-content: start; }
.prph-home-hero-copy h1 {
  margin: 0;
  font-family: "Bebas Neue", Inter, sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: .95;
}
.prph-home-hero-copy h1 span { color: var(--prph-neon); }
.prph-home-hero-copy p { color: #d6dce6; max-width: 640px; margin: .75rem 0 1rem; }
.prph-home-hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.prph-home-stat-card {
  border: 1px solid rgba(199, 255, 0, 0.28);
  background: rgba(14, 18, 22, 0.92);
  border-radius: 14px;
  padding: 1rem;
}
.prph-home-stat-card h4 {
  margin: 0 0 .6rem;
  color: #fff;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.prph-home-stat-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.prph-home-stat-card li { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; color: #c5cedb; }
.prph-home-stat-card li > div { text-align: right; }
.prph-home-stat-card strong { display: block; color: var(--prph-neon); font-size: 1.3rem; line-height: 1; }
.prph-home-stat-card small { display: block; margin-top: .2rem; color: #8d99ab; font-size: .68rem; }

.prph-home-hero-brand {
  border: 1px solid rgba(199, 255, 0, 0.22);
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
  background: rgba(14, 18, 22, 0.88);
}
.prph-home-hero-logo {
  height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.prph-home-hero-brand p {
  margin: .35rem 0 0;
  color: #d7deea;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.prph-home-dashboard { padding: 1rem 0 2rem; background: var(--prph-black); }
.prph-home-grid-top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .9rem;
}
.prph-home-grid-bottom {
  margin-top: .9rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: .9rem;
}

.prph-dash-card,
.prph-home-news,
.prph-home-community {
  background: var(--prph-charcoal);
  border: 1px solid #242a31;
  border-radius: 12px;
  overflow: hidden;
}
.prph-dash-card { padding: .8rem; }
.prph-dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .6rem;
}
.prph-dash-head h3 { margin: 0; font-size: .9rem; color: #f7f8fa; text-transform: uppercase; letter-spacing: .05em; }
.prph-dash-head a { color: var(--prph-neon); font-size: .76rem; text-transform: uppercase; font-weight: 700; }
.prph-dash-title { margin: .55rem 0 .25rem; font-size: 1.04rem; }
.prph-dash-meta { margin: .15rem 0; color: #a7b2c2; font-size: .84rem; }
.prph-dash-empty { margin: .7rem 0; color: #8d99ab; font-size: .85rem; }
.prph-btn-block { display: block; width: 100%; margin-top: .65rem; text-align: center; }

.prph-rank-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; margin-bottom: .5rem; }
.prph-rank-tabs button {
  background: #0f141a;
  color: #92a0b3;
  border: 1px solid #2a323c;
  border-radius: 999px;
  padding: .33rem .4rem;
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
}
.prph-rank-tabs button.is-active { color: #111315; background: var(--prph-neon); border-color: var(--prph-neon); }
.prph-rank-panel { display: none; }
.prph-rank-panel.is-active { display: block; }

.prph-home-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.prph-home-table th, .prph-home-table td { padding: .4rem .35rem; border-bottom: 1px solid #262d36; text-align: left; }
.prph-home-table th { color: #95a1b2; font-weight: 600; font-size: .74rem; }
.prph-home-table td { color: #e5eaf2; }
.prph-home-table a { color: #e5eaf2; font-weight: 600; }
.prph-home-player-cell { display: flex; align-items: center; gap: .55rem; }
.prph-home-player-photo { border-radius: 50%; object-fit: cover; border: 1px solid #2f3742; }
.prph-home-player-cell small { display: block; color: #8d99ab; font-size: .68rem; margin-top: .08rem; }
.prph-home-rank { color: #95a1b2; font-weight: 700; width: 2rem; }
.prph-home-mmr { color: var(--prph-neon); font-weight: 700; }
.prph-dash-footer-btn { margin-top: .65rem; }

.prph-tourney-banner img,
.prph-club-cover img { width: 100%; height: 130px; object-fit: cover; border-radius: 8px; border: 1px solid #242b34; }

.prph-tournament-countdown {
  margin: .55rem 0 .65rem;
  padding: .55rem;
  border: 1px solid #2a323c;
  border-radius: 8px;
  background: #0f141a;
}
.prph-tournament-countdown-label {
  display: block;
  color: #95a1b2;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .35rem;
}
.prph-tournament-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .35rem;
  text-align: center;
}
.prph-tournament-countdown-grid strong { display: block; color: var(--prph-neon); font-size: 1.05rem; }
.prph-tournament-countdown-grid small { color: #8d99ab; font-size: .62rem; text-transform: uppercase; }

.prph-club-title-row { display: flex; align-items: center; justify-content: space-between; gap: .45rem; }
.prph-club-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; font-size: .72rem; color: #a9b3c1; margin-top: .4rem; }

.prph-live-mini-list .prph-match-card { background: #0f141a; border: 1px solid #262d36; box-shadow: none; padding: .65rem; }
.prph-live-mini-list .prph-match-card + .prph-match-card { margin-top: .45rem; }

.prph-home-news { padding: .8rem; }
.prph-news-featured { display: grid; grid-template-columns: 220px 1fr; gap: .7rem; }
.prph-news-featured img { width: 100%; height: 160px; object-fit: cover; border-radius: 8px; border: 1px solid #262d36; }
.prph-news-featured-copy h4 { margin: .45rem 0; font-size: 1.2rem; }
.prph-news-featured-copy h4 a { color: #fff; }
.prph-news-featured-copy p { margin: 0; color: #aeb7c5; font-size: .86rem; }
.prph-news-list { margin-top: .6rem; display: grid; gap: .45rem; }
.prph-news-list-item { display: grid; grid-template-columns: 92px 1fr; gap: .55rem; align-items: center; }
.prph-news-list-item img { width: 92px; height: 56px; object-fit: cover; border-radius: 6px; border: 1px solid #262d36; }
.prph-news-list-item a { color: #e8edf6; font-size: .88rem; font-weight: 600; }
.prph-news-list-item span { display: block; color: #9aa5b5; font-size: .72rem; margin-top: .15rem; }

/* News landing & article pages */
.prph-news-hero,
.prph-news-article-hero {
  background: linear-gradient(135deg, #0D1117 0%, #1B8F4E 100%);
  color: var(--prph-white);
  padding: 3rem 0 2.5rem;
}
.prph-news-hero h1,
.prph-news-article-hero h1 {
  margin: 0.75rem 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
}
.prph-news-hero p,
.prph-news-article-hero p {
  margin: 0;
  max-width: 680px;
  opacity: 0.88;
  line-height: 1.55;
}
.prph-news-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}
.prph-news-stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(198, 255, 0, 0.22);
  border-radius: var(--prph-radius);
  padding: 0.85rem 1.15rem;
  min-width: 110px;
}
.prph-news-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--prph-neon);
  line-height: 1.1;
}
.prph-news-stat span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  opacity: 0.8;
  font-weight: 600;
}
.prph-news-featured-page {
  background: #121820;
  border: 1px solid #262d36;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 1rem;
  align-items: start;
}
.prph-news-featured-card {
  background: #121820;
  border: 1px solid #262d36;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 1rem;
  align-items: start;
}
.prph-news-featured-page img,
.prph-news-featured-card img,
.prph-news-featured-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #262d36;
  display: block;
}
.prph-news-featured-media { display: block; }
.prph-news-featured-page h2,
.prph-news-featured-card h2 {
  margin: 0.45rem 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}
.prph-news-featured-page h2 a,
.prph-news-featured-card h2 a { color: #fff; }
.prph-news-featured-copy p { margin: 0; color: #aeb7c5; font-size: 0.92rem; line-height: 1.55; }
.prph-news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.85rem;
}
.prph-news-meta span { color: #9aa5b5; font-size: 0.82rem; font-weight: 600; }
.prph-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.prph-news-card {
  background: #121820;
  border: 1px solid #262d36;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.prph-news-card:hover {
  border-color: rgba(198, 255, 0, 0.35);
  transform: translateY(-2px);
}
.prph-news-card-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.prph-news-card-media { display: block; }
.prph-news-card img,
.prph-news-card-media img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-bottom: 1px solid #262d36;
}
.prph-news-card-body { padding: 1rem; }
.prph-news-card-date {
  display: block;
  color: #9aa5b5;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.prph-news-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #fff;
}
.prph-news-card h3 a,
.prph-news-card-link h3 { color: #fff; }
.prph-news-card p {
  margin: 0 0 0.75rem;
  color: #aeb7c5;
  font-size: 0.86rem;
  line-height: 1.5;
}
.prph-news-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  border: 1px dashed #262d36;
  border-radius: 12px;
  color: #aeb7c5;
}
.prph-news-empty p { margin: 0 0 1rem; }
.prph-news-back {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}
.prph-news-back:hover { color: var(--prph-neon); }
.prph-news-article-date { margin-top: 0.75rem !important; font-size: 0.92rem !important; opacity: 0.75 !important; }
.prph-news-article { max-width: 820px; }
.prph-news-article-card {
  background: #121820;
  border: 1px solid #262d36;
  border-radius: 12px;
  padding: 1.25rem;
}
.prph-news-article-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #262d36;
  margin-bottom: 1.25rem;
}
.prph-news-article-excerpt {
  font-size: 1.08rem;
  line-height: 1.6;
  color: #d7dee8;
  margin: 0 0 1.25rem;
  font-weight: 600;
}
.prph-news-article-body {
  color: #c5ceda;
  line-height: 1.75;
  font-size: 1rem;
}
.prph-news-article-body p { margin: 0 0 1rem; }
.prph-news-article-body a { color: var(--prph-neon); }

.prph-home-community {
  min-height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}
.prph-home-community-overlay {
  min-height: 100%;
  padding: 1rem;
  background: linear-gradient(145deg, rgba(10,10,10,.75), rgba(10,10,10,.9));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.prph-home-community-overlay h3 {
  margin: 0;
  font-family: "Bebas Neue", Inter, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: .95;
  color: var(--prph-neon);
}
.prph-home-community-overlay p { margin: .55rem 0 .8rem; color: #d7deea; max-width: 320px; }

.prph-featured-stack {
  margin-top: .75rem;
  padding-top: .65rem;
  border-top: 1px solid #2a323c;
  display: grid;
  gap: .45rem;
}
.prph-featured-stack-label {
  margin: 0 0 .15rem;
  color: #8d99ab;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.prph-featured-stack-item {
  display: block;
  padding: .55rem .65rem;
  border: 1px solid #2a323c;
  border-radius: 8px;
  background: #0f141a;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}
.prph-featured-stack-item strong {
  display: block;
  color: #eef2f7;
  font-size: .82rem;
  line-height: 1.25;
  margin-bottom: .15rem;
}
.prph-featured-stack-item span {
  display: block;
  color: #95a1b2;
  font-size: .72rem;
}
.prph-featured-stack-item:hover {
  border-color: rgba(198, 255, 0, 0.35);
  background: #121820;
}
.prph-featured-stack-item:hover strong { color: var(--prph-neon); }

.prph-home-merchandise {
  padding: 1.2rem 0 1.6rem;
  background: #07090c;
  border-top: 1px solid #20262d;
}
.prph-home-merch-sub {
  margin: .25rem 0 0;
  color: #95a1b2;
  font-size: .82rem;
}
.prph-home-merch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}
.prph-home-merch-card {
  display: block;
  background: #101419;
  border: 1px solid #242b34;
  border-radius: .75rem;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.prph-home-merch-card:hover {
  border-color: #3a4654;
  transform: translateY(-2px);
}
.prph-home-merch-image {
  aspect-ratio: 1;
  background: #171c23;
  overflow: hidden;
}
.prph-home-merch-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prph-home-merch-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667384;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: .08em;
  font-size: 1.4rem;
}
.prph-home-merch-copy {
  padding: .75rem .85rem .9rem;
}
.prph-home-merch-copy h4 {
  margin: 0 0 .35rem;
  font-size: .92rem;
  color: #e5eaf2;
}
.prph-home-merch-copy strong {
  color: var(--prph-neon);
  font-size: .88rem;
}

.prph-shop-hero {
  background: linear-gradient(135deg, #0D1117 0%, #1B8F4E 100%);
  color: var(--prph-white);
  padding: 3rem 0 2.5rem;
}
.prph-shop-hero h1 {
  margin: 0.75rem 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
}
.prph-shop-hero p {
  margin: 0;
  max-width: 640px;
  opacity: 0.88;
  line-height: 1.55;
}
.prph-shop-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}
.prph-shop-stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(198, 255, 0, 0.22);
  border-radius: var(--prph-radius);
  padding: 0.85rem 1.15rem;
  min-width: 110px;
}
.prph-shop-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--prph-neon);
  line-height: 1.1;
}
.prph-shop-stat span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  opacity: 0.8;
  font-weight: 600;
}

.prph-shop-page { padding-top: 0; margin-top: -1.25rem; }
.prph-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.prph-shop-toolbar h2 {
  margin: 0;
  font-size: 1.15rem;
  color: #e5eaf2;
}
.prph-shop-count {
  font-size: 0.92rem;
  color: #95a1b2;
  font-weight: 600;
}
.prph-shop-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #111315;
  border: 1px dashed #2a323c;
  border-radius: var(--prph-radius);
}
.prph-shop-empty-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.prph-shop-empty h2 {
  margin: 0 0 0.65rem;
  color: #e5eaf2;
  font-size: 1.35rem;
}
.prph-shop-empty p {
  margin: 0 auto 1.25rem;
  max-width: 420px;
  color: #95a1b2;
  line-height: 1.55;
}
.prph-shop-empty-actions {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.prph-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.15rem;
}
.prph-shop-card {
  display: flex;
  flex-direction: column;
  background: #101419;
  border: 1px solid #242b34;
  border-radius: var(--prph-radius);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.prph-shop-card-link:hover {
  border-color: rgba(198, 255, 0, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.prph-shop-card-image {
  position: relative;
  aspect-ratio: 1;
  background: #171c23;
  overflow: hidden;
}
.prph-shop-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.prph-shop-card-link:hover .prph-shop-card-image img {
  transform: scale(1.04);
}
.prph-shop-featured {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 1;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(198, 255, 0, 0.18);
  color: var(--prph-neon);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.prph-shop-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667384;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: .08em;
  font-size: 1.6rem;
}
.prph-shop-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1rem 1.1rem;
}
.prph-shop-card-body h3 {
  margin: 0 0 .45rem;
  font-size: 1rem;
  color: #e8edf5;
  line-height: 1.3;
}
.prph-shop-card-body p {
  margin: 0 0 .85rem;
  color: #95a1b2;
  font-size: .86rem;
  line-height: 1.45;
  flex: 1;
}
.prph-shop-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-top: auto;
  padding-top: 0.15rem;
}
.prph-shop-price {
  color: var(--prph-neon);
  font-size: 1rem;
}
.prph-shop-buy {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(198, 255, 0, 0.12);
  color: var(--prph-neon);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.prph-shop-card-link:hover .prph-shop-buy {
  background: rgba(198, 255, 0, 0.22);
}

.prph-home-partners { border-top: 1px solid #20262d; padding: .8rem 0 1.4rem; background: #07090c; }
.prph-home-partners span {
  display: block;
  color: #8c97a8;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .7rem;
  margin-bottom: .45rem;
}
.prph-home-partners-row { display: flex; flex-wrap: wrap; gap: .75rem 1.2rem; align-items: center; }
.prph-home-partners-row a { color: #d6dce8; font-size: .83rem; }
.prph-home-partners-row img { height: 26px; width: auto; object-fit: contain; filter: grayscale(100%); opacity: .92; }

.prph-footer { background: #07090c; border-top: 1px solid #1f252d; }
.prph-footer-grid h4 { color: #dce2ea; }
.prph-footer-grid a, .prph-footer-grid p { color: #95a0af; }
.prph-copy { color: #7d8898; border-top: 1px solid #1b2027; padding-top: .8rem; margin-top: .8rem; }

/* Public rankings page */
.prph-rankings-hero {
  background: linear-gradient(135deg, #0D1117 0%, #1B8F4E 100%);
  color: var(--prph-white);
  padding: 3rem 0 2.5rem;
}
.prph-rankings-hero h1 {
  margin: 0.75rem 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
}
.prph-rankings-hero p {
  margin: 0;
  max-width: 620px;
  opacity: 0.88;
  line-height: 1.55;
}
.prph-rankings-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}
.prph-rankings-stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(198, 255, 0, 0.22);
  border-radius: var(--prph-radius);
  padding: 0.85rem 1.15rem;
  min-width: 110px;
}
.prph-rankings-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--prph-neon);
  line-height: 1.1;
}
.prph-rankings-stat span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  opacity: 0.8;
  font-weight: 600;
}
.prph-rankings-stat-muted strong { font-size: 1.15rem; color: #e5eaf2; }

.prph-rankings-filters-section { padding-top: 0; margin-top: -1.25rem; }
.prph-rankings-filters {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, minmax(120px, 1fr)) auto;
  gap: 0.85rem;
  align-items: end;
  background: #141a0d;
  border: 1px solid rgba(199, 255, 0, 0.22);
  border-radius: var(--prph-radius);
  padding: 1.25rem;
}
.prph-rankings-filter-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #95a1b2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.prph-rankings-filter-field input,
.prph-rankings-filter-field select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #2a323c;
  border-radius: 10px;
  background: #0f141a;
  color: #e5eaf2;
}
.prph-rankings-filter-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.prph-rankings-type-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.85rem;
}
.prph-rankings-type-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #2a323c;
  background: #0f141a;
  color: #95a1b2;
  font-weight: 700;
  font-size: 0.88rem;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.prph-rankings-type-tabs a span {
  font-size: 0.72rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #8d99ab;
}
.prph-rankings-type-tabs a.is-active,
.prph-rankings-type-tabs a:hover {
  color: #111315;
  background: var(--prph-neon);
  border-color: var(--prph-neon);
}
.prph-rankings-type-tabs a.is-active span,
.prph-rankings-type-tabs a:hover span {
  background: rgba(17, 19, 21, 0.12);
  color: #111315;
}

.prph-rankings-count { font-size: 0.92rem; color: #95a1b2; font-weight: 600; }
.prph-rankings-podium-section { padding-top: 0; }
.prph-rankings-podium-card {
  background: #111315;
  border: 1px solid rgba(199, 255, 0, 0.18);
  border-radius: var(--prph-radius);
  padding: 1.25rem;
}
.prph-rankings-podium-card .prph-podium-slot {
  text-decoration: none;
  color: inherit;
}
.prph-rankings-podium-card .prph-podium-nick,
.prph-rankings-podium-card .prph-podium-region { color: #64748b; }

.prph-rankings-table-wrap {
  overflow: auto;
  background: #111315;
  border: 1px solid rgba(199, 255, 0, 0.15);
  border-radius: var(--prph-radius);
}
.prph-rankings-table {
  width: 100%;
  border-collapse: collapse;
}
.prph-rankings-table th,
.prph-rankings-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #242b34;
  text-align: left;
}
.prph-rankings-table th {
  background: #0f141a;
  color: #95a1b2;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.prph-rankings-table td { color: #e5eaf2; }
.prph-rankings-table tbody tr:last-child td { border-bottom: none; }
.prph-rankings-row-top { background: rgba(199, 255, 0, 0.04); }
.prph-rankings-player {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
}
.prph-rankings-player:hover strong { color: var(--prph-neon); }
.prph-rankings-player small {
  display: block;
  font-weight: 500;
  color: #8d99ab;
}
.prph-rankings-avatar {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #2f3742;
}
.prph-rankings-mmr {
  font-weight: 800;
  color: var(--prph-neon);
  white-space: nowrap;
}
.prph-rankings-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
}

.prph-rankings-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #111315;
  border: 1px dashed #2a323c;
  border-radius: var(--prph-radius);
}
.prph-rankings-empty p { margin: 0 0 1rem; color: #95a1b2; }

.prph-rankings-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.prph-rankings-cta h2 { margin: 0 0 0.35rem; color: #e5eaf2; }
.prph-rankings-cta p { margin: 0; color: #95a1b2; max-width: 480px; }
.prph-rankings-cta-actions { display: flex; gap: 0.65rem; flex-wrap: wrap; }

@media (max-width: 860px) {
  .prph-rankings-filters { grid-template-columns: 1fr; }
  .prph-rankings-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 1200px) {
  .prph-home-grid-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prph-home-grid-bottom { grid-template-columns: 1fr; }
  .prph-home-merch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  body.prph-public .prph-header-inner {
    display: flex;
    flex-wrap: wrap;
  }
  .prph-header-inner { flex-wrap: wrap; }
  .prph-nav { display: flex; order: 3; width: 100%; overflow-x: auto; padding-bottom: .2rem; }
  .prph-header-actions { width: 100%; }
  .prph-home-hero-grid { grid-template-columns: 1fr; }
  .prph-news-featured { grid-template-columns: 1fr; }
  .prph-news-featured-page,
  .prph-news-featured-card { grid-template-columns: 1fr; }
  .prph-news-grid { grid-template-columns: 1fr; }
  .prph-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .prph-home-grid-top { grid-template-columns: 1fr; }
  .prph-shop-grid { grid-template-columns: 1fr; }
  .prph-shop-stats { gap: 0.65rem; }
  .prph-shop-stat { min-width: calc(50% - 0.35rem); flex: 1; }
  .prph-shop-card-footer { flex-wrap: wrap; }
}
