/* ==========================================================================
   Creator Passport, the public link-in-bio page (passport.html) and its
   preview in the dashboard. Built by passport-view.js.
   Everything is solid: the lava background must never show through.
   ========================================================================== */

.pp {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 32px 26px 26px;
  border: 1px solid rgba(243, 239, 230, .08);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.pp-head { display: flex; flex-direction: column; align-items: center; }
.pp-avatar {
  display: grid; place-items: center;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #111, #3d2c0c 70%, #7a5410);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  box-shadow: 0 0 0 4px var(--card), 0 0 0 6px var(--magenta);
}
.pp-avatar { overflow: hidden; }
.pp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pp h1 {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 18px 0 0;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(26px, 6vw, 32px);
  letter-spacing: -.03em;
  line-height: 1.05;
}
.pp-verified {
  display: inline-grid; place-items: center; flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #3b6cf6;
  color: #fff;
}
.pp-verified svg { width: 12px; height: 12px; stroke-width: 3; }
.pp-sub { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.pp-bio { margin: 14px 0 0; max-width: 380px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

.pp-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  width: 100%;
  margin-top: 22px;
  padding: 14px 0;
  border-top: 1px solid rgba(243, 239, 230, .08);
  border-bottom: 1px solid rgba(243, 239, 230, .08);
}
.pp-stats b { display: block; font-family: var(--display); font-weight: 800; font-size: 22px; }
.pp-stats span { font-size: 12px; color: var(--muted); }

/* The link buttons */
.pp-links { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.pp-link {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 16px 10px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: var(--card);
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.pp-link:hover { transform: translateY(-2px); box-shadow: 4px 4px 0 var(--ink); }
.pp-link:active { transform: none; box-shadow: none; }
.pp-ico {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--c, var(--ink));
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
}
.pp-ico-link { background: var(--accent); color: var(--magenta); }
.pp-ico-link svg { width: 22px; height: 22px; }
.pp-label { flex: 1; min-width: 0; font-weight: 600; font-size: 15px; }
.pp-label small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; font-size: 12.5px; color: var(--muted); }
.pp-link > b { font-family: var(--display); font-weight: 800; font-size: 15px; }
.pp-link > svg { width: 18px; height: 18px; flex: none; color: var(--muted); }

.pp-section { margin-top: 24px; text-align: left; }
.pp-section h2 { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pp-games { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pp-games li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 10px; background: var(--card-2); font-size: 14px; }
.pp-games span { color: var(--muted); text-align: right; }
.pp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-tags span { padding: 5px 12px; border: 1px solid rgba(243, 239, 230, .14); border-radius: 999px; background: var(--card); font-size: 13px; }

.pp-cta { display: flex; justify-content: center; width: 100%; margin-top: 26px; }

/* ---------- The public page (passport.html) ---------- */

.passport-page { display: flex; flex-direction: column; min-height: 100vh; }
.passport-page main { flex: 1; padding: 48px 16px 24px; }
.pp-foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 22px 0 32px; font-size: 13px; color: var(--ink-2); }
.pp-foot a { font-family: var(--display); font-weight: 800; color: var(--ink); text-decoration: none; }
.pp-foot .star3d { width: 18px; height: 18px; color: var(--ink); }
.pp-missing p { color: var(--muted); }
.pp-missing .btn { margin-top: 10px; }
.pp-loading { min-height: 420px; }

@media (max-width: 520px) {
  .passport-page main { padding-top: 24px; }
  .pp { padding: 26px 18px 20px; border-radius: 18px; }
}
