:root {
  --pp-primary: #f58220;
  --pp-bg: #0f0f10;
  --pp-surface: #1b1b1f;
  --pp-surface-2: #25252b;
  --pp-text: #ffffff;
  --pp-muted: #b8b8bf;
  --pp-border: rgba(255,255,255,.12);
  --pp-radius: 20px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at top left, rgba(245,130,32,.18), transparent 32%), var(--pp-bg);
  color: var(--pp-text);
}

a { color: inherit; text-decoration: none; }

.pp-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.pp-sidebar {
  border-right: 1px solid var(--pp-border);
  background: rgba(10,10,12,.78);
  padding: 28px;
}

.pp-logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: .04em;
  margin-bottom: 6px;
}

.pp-logo span { color: var(--pp-primary); }

.pp-subtitle {
  color: var(--pp-muted);
  font-size: 13px;
  margin-bottom: 32px;
}

.pp-nav {
  display: grid;
  gap: 10px;
}

.pp-nav a {
  padding: 13px 14px;
  border-radius: 14px;
  color: var(--pp-muted);
}

.pp-nav a.active,
.pp-nav a:hover {
  background: var(--pp-surface);
  color: var(--pp-text);
}

.pp-main {
  padding: 34px;
}

.pp-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.pp-eyebrow {
  color: var(--pp-primary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .12em;
}

.pp-title {
  margin: 8px 0 8px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: .95;
}

.pp-lead {
  color: var(--pp-muted);
  max-width: 760px;
  line-height: 1.6;
}

.pp-status {
  background: var(--pp-surface);
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius);
  padding: 18px;
  min-width: 250px;
}

.pp-status strong {
  display: block;
  margin-bottom: 6px;
}

.pp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.pp-card {
  background: linear-gradient(180deg, var(--pp-surface), rgba(27,27,31,.76));
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius);
  padding: 22px;
  min-height: 150px;
}

.pp-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(245,130,32,.16);
  color: var(--pp-primary);
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 18px;
}

.pp-card h3 {
  margin: 0 0 8px;
}

.pp-card p {
  margin: 0;
  color: var(--pp-muted);
  line-height: 1.5;
  font-size: 14px;
}

.pp-section-title {
  margin: 34px 0 16px;
  font-size: 24px;
}

.pp-player-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pp-player-card {
  border: 1px solid var(--pp-border);
  background: var(--pp-surface);
  border-radius: var(--pp-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease;
}

.pp-player-card:hover {
  transform: translateY(-4px);
  border-color: var(--pp-primary);
}

.pp-player-photo {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(245,130,32,.32), transparent),
    #2c2c33;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.56);
  font-size: 54px;
  font-weight: 900;
}

.pp-player-body {
  padding: 16px;
}

.pp-player-name {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 12px;
}

.pp-sponsor {
  background: #fff;
  color: #111;
  border-radius: 12px;
  min-height: 48px;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 14px;
  padding: 8px;
}

.pp-open {
  color: var(--pp-primary);
  font-weight: 800;
  font-size: 14px;
}

.pp-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.74);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 50;
}

.pp-modal.is-open { display: flex; }

.pp-profile {
  width: min(1120px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: var(--pp-surface);
  border: 1px solid var(--pp-border);
  border-radius: 28px;
  display: grid;
  grid-template-columns: 380px 1fr;
  position: relative;
}

.pp-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  background: var(--pp-primary);
  color: #111;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}

.pp-profile-left {
  background: #111114;
  padding: 28px;
  border-right: 1px solid var(--pp-border);
}

.pp-profile-photo {
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(245,130,32,.36), transparent),
    #2c2c33;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.56);
  font-size: 80px;
  font-weight: 900;
  margin-bottom: 20px;
}

.pp-profile-name {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 10px;
}

.pp-profile-meta {
  color: var(--pp-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.pp-profile-right {
  padding: 34px;
}

.pp-accordion {
  display: grid;
  gap: 12px;
}

.pp-acc-item {
  border: 1px solid var(--pp-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--pp-surface-2);
}

.pp-acc-btn {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--pp-text);
  padding: 18px;
  text-align: left;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.pp-acc-btn.is-active {
  background: var(--pp-primary);
  color: #111;
}

.pp-acc-content {
  display: none;
  padding: 18px;
}

.pp-acc-content.is-open { display: block; }

.pp-stat-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--pp-border);
  padding: 10px 0;
  color: var(--pp-muted);
}

.pp-stat-row strong {
  color: var(--pp-text);
}

@media (max-width: 1100px) {
  .pp-shell { grid-template-columns: 1fr; }
  .pp-sidebar { border-right: 0; border-bottom: 1px solid var(--pp-border); }
  .pp-grid, .pp-player-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-profile { grid-template-columns: 1fr; }
  .pp-profile-left { border-right: 0; border-bottom: 1px solid var(--pp-border); }
}

@media (max-width: 640px) {
  .pp-main, .pp-sidebar { padding: 20px; }
  .pp-header { display: block; }
  .pp-status { margin-top: 18px; }
  .pp-grid, .pp-player-grid { grid-template-columns: 1fr; }
  .pp-modal { padding: 10px; }
  .pp-profile-right, .pp-profile-left { padding: 20px; }
}
