/* Creator profile page */
.profile-page { background: #0a0a0f; }
.topbar-solid { position: sticky; background: rgba(10, 10, 15, 0.86); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); pointer-events: auto; }

.pbanner {
  height: clamp(140px, 24vw, 240px);
  background-size: cover; background-position: center 30%;
  filter: blur(18px) brightness(0.55) saturate(1.15); transform: scale(1.08);
}
.cprofile { overflow: hidden; }
.pwrap { max-width: 920px; margin: 0 auto; padding: 0 16px 80px; position: relative; }

.phead { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 20px; margin-top: -56px; }
.pavatar {
  width: 112px; height: 112px; border-radius: 28px; object-fit: cover;
  border: 4px solid #0a0a0f; background: #14141f;
}
.pavatar-mono { display: grid; place-items: center; background: #c6ff3d; color: #101014; font: 800 52px var(--display); }
.pid h1 { font-size: clamp(28px, 4vw, 40px); }
.phandle { color: #c9c6d8; margin-top: 4px; font-size: 15px; }
.pchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pchip { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.18); color: #dcd9e8; }
.pchip-new { color: #c6ff3d; border-color: rgba(198, 255, 61, 0.4); }
.pactions { display: flex; gap: 10px; padding-bottom: 4px; }
.picon { width: 48px; padding: 0; }
.picon svg { width: 20px; height: 20px; fill: currentColor; }

.pbio { margin-top: 22px; color: #dcd9e8; max-width: 62ch; font-size: 16px; }
.plinks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.plink {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600;
  color: #e9e7f2; text-decoration: none; padding: 8px 12px; border-radius: 10px; background: #14141f; border: 1px solid rgba(255, 255, 255, 0.1);
}
.plink svg { width: 14px; height: 14px; fill: currentColor; }
a.plink:hover { border-color: rgba(255, 255, 255, 0.3); }
.plink-soon { color: #c6ff3d; border-color: rgba(198, 255, 61, 0.35); }

.pperk {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 22px; padding: 16px 18px; border-radius: 16px;
  border: 1px solid rgba(198, 255, 61, 0.45); background: rgba(198, 255, 61, 0.06);
}
.pperk-title { display: flex; align-items: center; gap: 8px; font: 800 18px var(--display); color: #fff; }
.pperk-title svg { width: 20px; height: 20px; fill: #c6ff3d; }
.pperk-sub { color: #c9c6d8; font-size: 14px; margin-top: 4px; }
.pdisclosure { margin-top: 14px; font-size: 13px; color: #a8a5b8; }

.pgrid-wrap { margin-top: 36px; }
.ptab { display: inline-block; font: 700 16px var(--body); padding-bottom: 10px; border-bottom: 2px solid #fff; margin-bottom: 18px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.ptile { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: #14141f; color: #fff; text-decoration: none; }
.ptile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ptile::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgba(6, 6, 10, 0.92), rgba(6, 6, 10, 0)); }
.ptile:hover img { transform: scale(1.03); }
.ptile:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ptile-dur { position: absolute; top: 8px; right: 8px; z-index: 1; font-size: 12px; font-weight: 600; padding: 3px 7px; border-radius: 7px; background: rgba(8, 8, 12, 0.7); }
.ptile-title { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; font: 700 14px/1.3 var(--body); }

@media (max-width: 640px) {
  .phead { grid-template-columns: auto 1fr; align-items: end; }
  .pavatar { width: 88px; height: 88px; border-radius: 22px; }
  .pavatar-mono { font-size: 40px; }
  .pactions { grid-column: 1 / -1; }
  .pactions .btn:first-child { flex: 1; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .ptile img { transition: none; } }
.profile-page .btn, .profile-page .btn:hover { box-shadow: none; }
