/* ============================================================
   Participant — public contestant profile (app/participant.html)
   Creator-style: identity header, contest stats, a featured
   main entry and the rest of their entries as a grid.
   ============================================================ */

.pp-back { margin-bottom: 14px; }

/* ---------- identity header (no card — whitespace-based) ---------- */
.pp-header {
  display: flex;
  gap: 18px;
  align-items: center;
}
.pp-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  border: 1.5px solid rgba(244, 176, 33, 0.5);
  object-fit: cover;
  flex: none;
}
.pp-info { min-width: 0; }
.pp-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pp-city { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.pp-status { margin-top: 9px; }
.pp-status .badge svg { width: 12px; height: 12px; }

.pp-stats { margin-top: 18px; }

/* ---------- featured main entry ----------
   Always the media's native portrait 9:16 — never stretched into a
   banner. Desktop caps its size so a single entry reads as a
   purposeful card, not a billboard. */
.pp-feature {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #0d0906;
  border: 1px solid rgba(244, 176, 33, 0.25);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.pp-feature:hover { border-color: rgba(244, 176, 33, 0.5); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5); }
.pp-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.pp-feature:hover img { transform: scale(1.04); }
.pp-feature-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 4, 3, 0.2), rgba(5, 4, 3, 0) 40%, rgba(5, 4, 3, 0.82) 100%);
}
.pp-feature-rank { position: absolute; top: 10px; left: 10px; }
.pp-feature-cat { position: absolute; top: 10px; right: 10px; }
.pp-now {
  position: absolute;
  top: 42px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(12, 8, 5, 0.6);
  border: 1px solid rgba(244, 176, 33, 0.45);
  color: var(--gold);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pp-feature-info {
  position: absolute;
  left: 14px; right: 14px; bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pp-feature-title { font-size: 16px; font-weight: 700; line-height: 1.3; }
.pp-feature-meta { font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; font-weight: 600; }
.pp-feature-meta svg { width: 11px; height: 11px; color: var(--gold); }
.pp-feature-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(12, 8, 5, 0.6);
  border: 1px solid rgba(244, 176, 33, 0.5);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pp-feature-play svg { width: 22px; height: 22px; margin-left: 2px; }

/* ---------- remaining entries ---------- */
.pp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.pp-entries-head { margin-top: 4px; }

.pp-empty {
  padding: 20px;
  font-size: 13.5px;
  color: var(--muted);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: var(--r-md);
  text-align: center;
}

/* ---------- responsive ---------- */
@media (min-width: 768px) {
  .pp-avatar { width: 104px; height: 104px; }
  .pp-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .pp-layout { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); gap: 28px; align-items: start; }
  .pp-feature-col { position: sticky; top: calc(var(--topbar-h) + 16px); }
  .pp-feature { height: min(64vh, 480px); width: auto; }
  .pp-feature-col .empty-state { border: 1px dashed rgba(255, 255, 255, 0.12); border-radius: var(--r-md); }
}
