/* ═══════════════════════════════════════════════════════════════
   TANIDIK  ·  Profile Ultra v3
   3D Premium · Apple-Grade · Next-Gen
   ═══════════════════════════════════════════════════════════════ */

/* ── Page Foundation ──────────────────────────────────────────── */
body.profile-page {
  background: #060508;
  color: #f0f0f5;
  font-family: "Syne", system-ui, -apple-system, sans-serif;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 3-layer ambient mesh background */
body.profile-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 15% -5%,  rgba(110, 50, 220, 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 70% 40% at 88%  5%,  rgba(240,192, 96, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 35% at 50% 108%, rgba( 40,200,255, 0.07) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
  animation: pv3-mesh-breathe 12s ease-in-out infinite alternate;
}

@keyframes pv3-mesh-breathe {
  0%   { opacity: 0.85; }
  100% { opacity: 1; }
}

/* ── Fixed Header ─────────────────────────────────────────────── */
.pv3-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 54px !important;
  display: grid !important;
  grid-template-columns: 50px 1fr 94px !important;
  align-items: center !important;
  padding: 0 8px !important;
  background: rgba(6, 5, 8, 0.82) !important;
  backdrop-filter: blur(32px) saturate(1.6) !important;
  -webkit-backdrop-filter: blur(32px) saturate(1.6) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  z-index: 300 !important;
  box-sizing: border-box !important;
}

/* Live prismatic top edge */
.pv3-header::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(110,50,220,0.5) 20%,
    rgba(240,192,96,0.8) 50%,
    rgba(40,200,255,0.5) 80%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: pv3-top-bar-slide 5s linear infinite;
}

@keyframes pv3-top-bar-slide {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.pv3-hdr-btn {
  width: 38px !important;
  height: 38px !important;
  border-radius: 12px !important;
  /* 3D glass button */
  background:
    linear-gradient(
      160deg,
      rgba(255,255,255,0.10) 0%,
      rgba(255,255,255,0.04) 50%,
      rgba(0,0,0,0.06) 100%
    ) !important;
  border-top:    1px solid rgba(255,255,255,0.18) !important;
  border-left:   1px solid rgba(255,255,255,0.10) !important;
  border-right:  1px solid rgba(0,0,0,0.15) !important;
  border-bottom: 1px solid rgba(0,0,0,0.28) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 -1px 0 rgba(0,0,0,0.18) inset,
    0 4px 12px rgba(0,0,0,0.45),
    0 1px 3px rgba(0,0,0,0.3) !important;
  color: rgba(255,255,255,0.82) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  position: relative !important;
  text-decoration: none !important;
  font-size: 1.1rem !important;
  transition: box-shadow 150ms, transform 110ms !important;
  flex-shrink: 0 !important;
}

.pv3-hdr-btn:active {
  transform: translateY(1.5px) scale(0.95) !important;
  box-shadow:
    0 0px 0 rgba(255,255,255,0.06) inset,
    0 2px 5px rgba(0,0,0,0.35) !important;
}

.pv3-hdr-btn:hover {
  background:
    linear-gradient(
      160deg,
      rgba(255,255,255,0.15) 0%,
      rgba(255,255,255,0.07) 50%,
      rgba(0,0,0,0.03) 100%
    ) !important;
  color: #fff !important;
}

.pv3-hdr-title {
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pv3-hdr-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.pv3-notif-dot {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #f0c060 !important;
  border: 2px solid #060508 !important;
  box-shadow: 0 0 6px rgba(240,192,96,0.8) !important;
}

/* ── Scroll Wrapper ───────────────────────────────────────────── */
.pv3-scroll {
  padding-top: 54px;
  padding-bottom: 102px; /* nav 78px + 12px bottom + 12px buffer */
  position: relative;
  z-index: 1;
}

/* ── Avatar Zone (3D Hero) ────────────────────────────────────── */
.pv3-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px 0;
  text-align: center;
  position: relative;
}

.pv3-avatar-zone {
  position: relative;
  width: 110px;
  height: 110px;
  margin-bottom: 18px;
  /* subtle 3D tilt */
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.7)) drop-shadow(0 4px 8px rgba(240,192,96,0.15));
}

/* Outermost ambient glow */
.pv3-avatar-glow {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(240,192,96,0.28) 0%,
    rgba(110,50,220,0.12) 50%,
    transparent 75%
  );
  filter: blur(10px);
  animation: pv3-glow-pulse 3.5s ease-in-out infinite;
  z-index: 0;
}

@keyframes pv3-glow-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.7; }
  50%       { transform: scale(1.08); opacity: 1;   }
}

/* Outer spinning conic ring */
.pv3-avatar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #f8d36b 0%,
    #c99422 20%,
    #6e32dc 40%,
    #f8d36b 60%,
    #ffe087 80%,
    #f8d36b 100%
  );
  animation: pv3-ring-spin 5s linear infinite;
  z-index: 1;
  padding: 3.5px;
  border-radius: 50%;
}

@keyframes pv3-ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Avatar itself */
.pv3-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3.5px solid #060508;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,0.12) 0%, transparent 50%),
    rgba(18, 14, 24, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 2.4rem;
  color: #f0c060;
  overflow: hidden;
  z-index: 2;
  position: relative;
}

.pv3-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Level / tier badge on avatar */
.pv3-level-badge {
  position: absolute;
  bottom: 2px;
  right: 0px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  border: 2.5px solid #060508;
  z-index: 3;
  box-shadow: 0 4px 14px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08);
  overflow: hidden;
}

.pv3-level-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.35) 0%, transparent 60%);
  border-radius: 50%;
}

/* Level tiers */
.pv3-level-badge[data-level="bronze"] {
  background: linear-gradient(145deg, #e8963a, #cd7f32, #b8601a);
  color: #fff8f0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.pv3-level-badge[data-level="silver"] {
  background: linear-gradient(145deg, #e0e4ea, #b0bac6, #9ba3b2);
  color: #1a1a2e;
}
.pv3-level-badge[data-level="gold"] {
  background: linear-gradient(145deg, #ffe087, #f8d36b, #c99422);
  color: #0a0700;
}
.pv3-level-badge[data-level="platinum"] {
  background: linear-gradient(145deg, #e0f8ff, #b9f2ff, #80e4f8);
  color: #0a2030;
}
.pv3-level-badge[data-level="diamond"] {
  background: linear-gradient(145deg, #e8b8ff, #a8b8ff, #c8d8ff);
  color: #12052a;
  animation: pv3-diamond-shimmer 2s ease-in-out infinite;
}

@keyframes pv3-diamond-shimmer {
  0%, 100% { box-shadow: 0 0 0 0 rgba(168,184,255,0.5), 0 4px 14px rgba(0,0,0,0.6); }
  50%       { box-shadow: 0 0 0 4px rgba(168,184,255,0), 0 4px 14px rgba(0,0,0,0.6); }
}

/* ── Identity Text ────────────────────────────────────────────── */
.pv3-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin: 0 0 3px;
  line-height: 1.2;
}

.pv3-username {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.42);
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}

/* Premium tier badge below name */
.pv3-badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(248,211,107,0.14) 0%,
    rgba(110, 50,220,0.08) 100%
  );
  border: 1px solid rgba(240,192,96,0.3);
  color: #f8d36b;
}

.pv3-badge-premium::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 50%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  animation: pv3-badge-sweep 3.5s ease-in-out infinite;
}

@keyframes pv3-badge-sweep {
  0%, 55% { left: -60%; }
  100%     { left: 160%; }
}

.pv3-bio {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.56);
  line-height: 1.55;
  max-width: 300px;
  margin: 0 0 4px;
}

.pv3-email {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.26);
  margin: 0;
}

/* ── Stats Row (4 columns) ────────────────────────────────────── */
.pv3-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 20px 16px 0;
  background: linear-gradient(
    175deg,
    rgba(255,255,255,0.06) 0%,
    rgba(255,255,255,0.025) 50%,
    rgba(0,0,0,0.04) 100%
  );
  border-top:    1px solid rgba(255,255,255,0.13);
  border-left:   1px solid rgba(255,255,255,0.08);
  border-right:  1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.22);
  border-radius: 20px;
  overflow: hidden;
  /* Multilayer 3D card shadow */
  box-shadow:
    0 1px 0 rgba(255,255,255,0.1) inset,
    0 -1px 0 rgba(0,0,0,0.22) inset,
    0 8px 32px rgba(0,0,0,0.5),
    0 3px 10px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.04);
}

.pv3-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 16px 4px;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  position: relative;
  font-family: "Syne", sans-serif;
  transition: background 150ms;
}

.pv3-stat:active { background: rgba(255,255,255,0.05); }

.pv3-stat + .pv3-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  height: 56%;
  width: 1px;
  background: rgba(255,255,255,0.08);
}

.pv3-stat-num {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  transition: color 200ms;
}

.pv3-stat-lbl {
  display: block;
  font-size: 0.62rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.pv3-stat.is-active .pv3-stat-num { color: #f8d36b; }

/* ── Action Buttons (Apple style) ─────────────────────────────── */
.pv3-actions {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  padding: 16px 16px 12px;
}

.pv3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 14px;
  font-family: "Syne", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: 12px 18px;
  position: relative;
  overflow: hidden;
  transition:
    transform 110ms cubic-bezier(0.2,0,0,1),
    box-shadow 160ms cubic-bezier(0.2,0,0,1);
  white-space: nowrap;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

/* Specular top-half highlight */
.pv3-btn::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 52%;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.14) 0%,
    rgba(255,255,255,0.04) 100%
  );
  border-radius: 14px 14px 0 0;
  pointer-events: none;
  z-index: 1;
}

/* Physical press: sink + lose elevation */
.pv3-btn:active {
  transform: translateY(2px) scale(0.97);
}

/* ── Primary "Profili Düzenle" ─────────────────────────────── */
.pv3-btn-primary {
  background: linear-gradient(
    175deg,
    rgba(255,255,255,0.14) 0%,
    rgba(255,255,255,0.07) 45%,
    rgba(0,0,0,0.05) 100%
  );
  border-top:    1px solid rgba(255,255,255,0.26);
  border-left:   1px solid rgba(255,255,255,0.16);
  border-right:  1px solid rgba(0,0,0,0.12);
  border-bottom: 1px solid rgba(0,0,0,0.26);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  box-shadow:
    /* inset top specular */
    0 1px 0 rgba(255,255,255,0.18) inset,
    /* inset bottom depth */
    0 -1px 0 rgba(0,0,0,0.22) inset,
    /* ambient elevation */
    0 6px 20px rgba(0,0,0,0.55),
    0 2px 6px  rgba(0,0,0,0.38),
    /* subtle outer glow */
    0 0 0 1px rgba(255,255,255,0.07);
}

.pv3-btn-primary:hover {
  background: linear-gradient(
    175deg,
    rgba(255,255,255,0.2) 0%,
    rgba(255,255,255,0.1) 45%,
    rgba(0,0,0,0.02) 100%
  );
  box-shadow:
    0 1px 0 rgba(255,255,255,0.22) inset,
    0 -1px 0 rgba(0,0,0,0.22) inset,
    0 8px 28px rgba(0,0,0,0.55),
    0 2px 8px  rgba(0,0,0,0.38),
    0 0 0 1px rgba(255,255,255,0.1);
}

.pv3-btn-primary:active {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 2px 6px rgba(0,0,0,0.4);
}

/* ── Secondary "Mesajlar" ──────────────────────────────────── */
.pv3-btn-secondary {
  background: linear-gradient(
    175deg,
    rgba(255,255,255,0.09) 0%,
    rgba(255,255,255,0.03) 50%,
    rgba(0,0,0,0.04) 100%
  );
  border-top:    1px solid rgba(255,255,255,0.16);
  border-left:   1px solid rgba(255,255,255,0.09);
  border-right:  1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.2);
  color: rgba(255,255,255,0.82);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.1) inset,
    0 -1px 0 rgba(0,0,0,0.18) inset,
    0 4px 14px rgba(0,0,0,0.45),
    0 1px 4px  rgba(0,0,0,0.3);
}

.pv3-btn-secondary:active {
  box-shadow:
    0 0 0 rgba(255,255,255,0.06) inset,
    0 2px 5px rgba(0,0,0,0.35);
}

/* ── Icon "···" ────────────────────────────────────────────── */
.pv3-btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  font-weight: 900;
  color: rgba(255,255,255,0.7);
  /* Same 3D glass as primary but less prominent */
  background: linear-gradient(
    175deg,
    rgba(255,255,255,0.09) 0%,
    rgba(255,255,255,0.03) 50%,
    rgba(0,0,0,0.04) 100%
  );
  border-top:    1px solid rgba(255,255,255,0.16);
  border-left:   1px solid rgba(255,255,255,0.09);
  border-right:  1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.2);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.1) inset,
    0 -1px 0 rgba(0,0,0,0.18) inset,
    0 4px 14px rgba(0,0,0,0.45),
    0 1px 4px  rgba(0,0,0,0.3);
}

.pv3-btn-icon:active {
  box-shadow:
    0 0 0 rgba(0,0,0,0.1) inset,
    0 2px 5px rgba(0,0,0,0.3);
}

/* ── Story Highlights (visual flair strip) ─────────────────────
   Horizontal scroll row of circular "topics" like Instagram stories
   We use these as category shortcuts.
   ─────────────────────────────────────────────────────────────── */
.pv3-highlights {
  display: flex;
  gap: 18px;
  padding: 16px 20px 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pv3-highlights::-webkit-scrollbar { display: none; }

.pv3-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 110ms cubic-bezier(0.2,0,0,1);
}

.pv3-highlight:active { transform: translateY(2px) scale(0.92); }

/* Outer ring: spinning gradient + 3D shadow */
.pv3-highlight__ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  padding: 2.5px;
  background: conic-gradient(
    from var(--ring-deg, 0deg),
    #f8d36b 0%, #6e32dc 33%, #28c8ff 66%, #f8d36b 100%
  );
  flex-shrink: 0;
  position: relative;
  box-shadow:
    /* elevation */
    0 6px 20px rgba(0,0,0,0.55),
    0 2px 6px  rgba(0,0,0,0.38),
    /* color glow */
    0 0 16px rgba(240,192,96,0.2),
    /* specular top */
    0 1px 0 rgba(255,255,255,0.2) inset;
  animation: pv3-highlight-spin 6s linear infinite;
}

@keyframes pv3-highlight-spin {
  from { --ring-deg: 0deg;   }
  to   { --ring-deg: 360deg; }
}

/* Fallback for browsers not supporting @property */
@supports not (animation-timeline: scroll()) {
  .pv3-highlight__ring {
    animation: pv3-highlight-spin-fallback 6s linear infinite;
  }
}

@keyframes pv3-highlight-spin-fallback {
  0%   { background: conic-gradient(from 0deg, #f8d36b 0%, #6e32dc 33%, #28c8ff 66%, #f8d36b 100%); }
  50%  { background: conic-gradient(from 180deg, #f8d36b 0%, #6e32dc 33%, #28c8ff 66%, #f8d36b 100%); }
  100% { background: conic-gradient(from 360deg, #f8d36b 0%, #6e32dc 33%, #28c8ff 66%, #f8d36b 100%); }
}

.pv3-highlight__inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,0.1) 0%, transparent 60%),
    rgba(14,10,22,0.98);
  border: 2.5px solid #060508;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  /* Glass inner surface */
  box-shadow:
    0 1px 0 rgba(255,255,255,0.1) inset,
    0 -1px 0 rgba(0,0,0,0.2) inset;
}

.pv3-highlight__label {
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.52);
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
}

/* ── Tab Bar ──────────────────────────────────────────────────── */
.pv3-tabbar {
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky;
  top: 54px;
  z-index: 90;
  background: rgba(6,5,8,0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

.pv3-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 0;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.28);
  cursor: pointer;
  position: relative;
  font-family: "Syne", sans-serif;
  -webkit-tap-highlight-color: transparent;
  transition: color 180ms, background 150ms;
  border-radius: 0;
}

.pv3-tab:active {
  background: rgba(255,255,255,0.04);
}

/* Gold underline indicator */
.pv3-tab::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 22%;
  right: 22%;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: transparent;
  transition:
    background 240ms cubic-bezier(0.16,1,0.3,1),
    box-shadow 240ms cubic-bezier(0.16,1,0.3,1),
    left 240ms cubic-bezier(0.16,1,0.3,1),
    right 240ms cubic-bezier(0.16,1,0.3,1);
}

/* Active icon: brighter + gold indicator */
.pv3-tab.is-active {
  color: #fff;
}

.pv3-tab.is-active::after {
  left: 18%;
  right: 18%;
  background: linear-gradient(90deg, #c99422, #f8d36b, #ffe087, #f8d36b, #c99422);
  box-shadow:
    0 0 12px rgba(240,192,96,0.7),
    0 0 24px rgba(240,192,96,0.3);
}

/* Active tab: subtle bright background pill */
.pv3-tab.is-active::before {
  content: "";
  position: absolute;
  inset: 6px 10%;
  border-radius: 8px;
  background: rgba(240,192,96,0.07);
  box-shadow: 0 0 0 1px rgba(240,192,96,0.12);
  pointer-events: none;
}

/* ── Photo Grid (Instagram 3-col) ─────────────────────────────── */
.pv3-photo-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2px !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Force each direct child to be a square tile */
.pv3-photo-grid > * {
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  position: relative !important;
  background: rgba(255,255,255,0.04) !important;
  cursor: pointer !important;
  display: block !important;
  border-radius: 0 !important;
  min-width: 0 !important;
}

/* Any image inside fills the square */
.pv3-photo-grid > * img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 300ms !important;
}

.pv3-photo-grid > *:active img { transform: scale(0.96) !important; }

/* Hide text inside grid tiles (show only image) */
.pv3-photo-grid > * h2,
.pv3-photo-grid > * h3,
.pv3-photo-grid > * p,
.pv3-photo-grid > * .venue-card__meta,
.pv3-photo-grid > * .venue-card__name,
.pv3-photo-grid > * .venue-card__footer,
.pv3-photo-grid > * .venue-card__badges,
.pv3-photo-grid > * .venue-card__tags,
.pv3-photo-grid > * [class*="badge"],
.pv3-photo-grid > * [class*="rating"],
.pv3-photo-grid > * [class*="footer"],
.pv3-photo-grid > * [class*="meta"] {
  display: none !important;
}

/* Gold shimmer overlay on tiles with no image */
.pv3-photo-grid > *:not(:has(img))::after {
  content: "✦";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: rgba(240,192,96,0.4);
  background: linear-gradient(135deg, rgba(240,192,96,0.06), rgba(110,50,220,0.04));
}

/* ── Panels ───────────────────────────────────────────────────── */
.pv3-panels { min-height: 50vh; }

@keyframes pv3-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pv3-panel-anim { animation: pv3-panel-in 200ms cubic-bezier(0.16,1,0.3,1); }

/* ── Section Headers ──────────────────────────────────────────── */
.pv3-section-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 12px;
}

.pv3-section-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}

.pv3-section-link {
  font-size: 0.76rem;
  font-weight: 600;
  color: #f0c060;
  text-decoration: none;
  letter-spacing: 0.02em;
}

/* ── Content Card ─────────────────────────────────────────────── */
.pv3-card {
  margin: 0 16px 12px;
  background: rgba(13,12,18,0.82);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 -1px 0 rgba(0,0,0,0.3) inset,
    0 8px 24px rgba(0,0,0,0.35);
}

/* ── Link List Items ──────────────────────────────────────────── */
.pv3-group-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  padding: 18px 20px 8px;
  display: block;
}

.pv3-link-row {
  display: flex;
  flex-direction: column;
  padding: 0 16px;
  gap: 4px;
  margin-bottom: 4px;
}

.pv3-link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 16px;
  text-decoration: none;
  color: #f0f0f5;
  cursor: pointer;
  font-family: "Syne", sans-serif;
  width: 100%;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
  /* 3D glass row */
  background: linear-gradient(
    170deg,
    rgba(255,255,255,0.055) 0%,
    rgba(255,255,255,0.02) 50%,
    rgba(0,0,0,0.03) 100%
  );
  border-top:    1px solid rgba(255,255,255,0.10);
  border-left:   1px solid rgba(255,255,255,0.06);
  border-right:  1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.15);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.07) inset,
    0 -1px 0 rgba(0,0,0,0.12) inset,
    0 2px 8px rgba(0,0,0,0.28),
    0 1px 2px rgba(0,0,0,0.2);
  transition:
    background 130ms,
    transform 110ms cubic-bezier(0.2,0,0,1),
    box-shadow 130ms;
}

/* Hover shimmer */
.pv3-link-item::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transform: skewX(-15deg);
  transition: left 0.5s ease;
}

.pv3-link-item:hover::after { left: 140%; }

.pv3-link-item:active {
  transform: translateY(1px) scale(0.99);
  box-shadow:
    0 0 0 rgba(255,255,255,0.04) inset,
    0 1px 4px rgba(0,0,0,0.3);
  background: linear-gradient(
    170deg,
    rgba(255,255,255,0.08) 0%,
    rgba(255,255,255,0.03) 100%
  );
}

.pv3-link-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

/* Specular highlight on icons */
.pv3-link-icon::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent);
  border-radius: 12px 12px 0 0;
}

.pv3-link-icon--gold {
  background: linear-gradient(145deg, rgba(248,211,107,0.22), rgba(200,148,34,0.08));
  border: 1px solid rgba(248,211,107,0.18);
  box-shadow: 0 3px 8px rgba(0,0,0,0.35), 0 1px 0 rgba(255,255,255,0.12) inset;
}
.pv3-link-icon--blue {
  background: linear-gradient(145deg, rgba(100,160,255,0.2), rgba(60,110,220,0.06));
  border: 1px solid rgba(100,160,255,0.16);
  box-shadow: 0 3px 8px rgba(0,0,0,0.35), 0 1px 0 rgba(255,255,255,0.1) inset;
}
.pv3-link-icon--green {
  background: linear-gradient(145deg, rgba(79,255,176,0.18), rgba(40,180,120,0.06));
  border: 1px solid rgba(79,255,176,0.14);
  box-shadow: 0 3px 8px rgba(0,0,0,0.35), 0 1px 0 rgba(255,255,255,0.1) inset;
}
.pv3-link-icon--red {
  background: linear-gradient(145deg, rgba(255,80,80,0.16), rgba(180,40,40,0.06));
  border: 1px solid rgba(255,80,80,0.14);
  box-shadow: 0 3px 8px rgba(0,0,0,0.35), 0 1px 0 rgba(255,255,255,0.1) inset;
}
.pv3-link-icon--muted {
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 3px 8px rgba(0,0,0,0.35), 0 1px 0 rgba(255,255,255,0.1) inset;
}

.pv3-link-body { flex: 1; min-width: 0; }
.pv3-link-label { font-size: 0.88rem; font-weight: 600; color: #fff; display: block; }
.pv3-link-sub   { font-size: 0.72rem; color: rgba(255,255,255,0.36); margin-top: 2px; display: block; }
.pv3-link-arrow { color: rgba(255,255,255,0.2); font-size: 1.1rem; flex-shrink: 0; }

/* ── Logout Button ────────────────────────────────────────────── */
.pv3-logout { padding: 8px 16px 16px; }

.pv3-btn-logout {
  width: 100%;
  padding: 14px;
  border-radius: 16px;
  font-family: "Syne", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  /* 3D danger glass */
  background: linear-gradient(
    175deg,
    rgba(220,50,50,0.12) 0%,
    rgba(220,50,50,0.06) 50%,
    rgba(0,0,0,0.05) 100%
  );
  border-top:    1px solid rgba(255,110,110,0.24);
  border-left:   1px solid rgba(255,110,110,0.14);
  border-right:  1px solid rgba(0,0,0,0.14);
  border-bottom: 1px solid rgba(0,0,0,0.28);
  color: rgba(255,120,120,0.92);
  text-shadow: 0 0 12px rgba(255,80,80,0.3);
  box-shadow:
    0 1px 0 rgba(255,130,130,0.14) inset,
    0 -1px 0 rgba(0,0,0,0.22) inset,
    0 5px 18px rgba(220,50,50,0.18),
    0 2px 6px  rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,80,80,0.05);
  transition:
    box-shadow 160ms,
    transform 110ms cubic-bezier(0.2,0,0,1);
}

/* Specular top half */
.pv3-btn-logout::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 52%;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.07) 0%,
    transparent 100%
  );
  border-radius: 16px 16px 0 0;
  pointer-events: none;
}

.pv3-btn-logout:active {
  transform: translateY(2px) scale(0.98);
  box-shadow:
    0 0 0 rgba(255,130,130,0.08) inset,
    0 2px 8px rgba(220,50,50,0.2),
    0 1px 3px rgba(0,0,0,0.35);
}

/* Bottom nav handled by bottom-nav.css */

/* ── Notifications Dropdown ───────────────────────────────────── */
.pv3-notif-dropdown {
  position: fixed;
  top: 58px;
  right: 8px;
  left: 8px;
  z-index: 400;
  background: rgba(12,10,18,0.97);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  backdrop-filter: blur(28px);
  overflow: hidden;
  max-height: 340px;
  overflow-y: auto;
  box-shadow:
    0 28px 70px rgba(0,0,0,0.75),
    0 0 0 1px rgba(255,255,255,0.04),
    0 1px 0 rgba(255,255,255,0.08) inset;
  animation: pv3-dropdown-in 200ms cubic-bezier(0.16,1,0.3,1);
}

@keyframes pv3-dropdown-in {
  from { opacity: 0; transform: translateY(-10px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Hidden legacy elements ───────────────────────────────────── */
.pv3-edit-hidden { display: none !important; }

/* ════════════════════════════════════════════════════════════════
   LEGACY CSS OVERRIDES
   (higher specificity than body.profile-page .selector = 0,2,1)
   ════════════════════════════════════════════════════════════════ */

body.profile-page .pv3-header.profile-top-bar { all: unset !important; }

body.profile-page .pv3-header {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  height: 54px !important;
  display: grid !important;
  grid-template-columns: 50px 1fr 94px !important;
  align-items: center !important;
  padding: 0 8px !important;
  background: rgba(6,5,8,0.82) !important;
  backdrop-filter: blur(32px) saturate(1.6) !important;
  -webkit-backdrop-filter: blur(32px) saturate(1.6) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  z-index: 300 !important;
  box-sizing: border-box !important;
}

body.profile-page .pv3-hdr-btn.profile-top-bar__btn {
  all: unset !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: rgba(255,255,255,0.82) !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  position: relative !important;
  background: linear-gradient(
    160deg,
    rgba(255,255,255,0.10) 0%,
    rgba(255,255,255,0.04) 50%,
    rgba(0,0,0,0.06) 100%
  ) !important;
  border-top:    1px solid rgba(255,255,255,0.18) !important;
  border-left:   1px solid rgba(255,255,255,0.10) !important;
  border-right:  1px solid rgba(0,0,0,0.15) !important;
  border-bottom: 1px solid rgba(0,0,0,0.28) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 -1px 0 rgba(0,0,0,0.18) inset,
    0 4px 12px rgba(0,0,0,0.45) !important;
  transition: box-shadow 150ms, transform 110ms !important;
}

/* Avatar ring override */
body.profile-page .pv3-avatar-ring.profile-identity-block__avatar-wrap {
  all: unset !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 50% !important;
  background: conic-gradient(
    from 0deg,
    #f8d36b 0%, #c99422 20%, #6e32dc 40%,
    #f8d36b 60%, #ffe087 80%, #f8d36b 100%
  ) !important;
  animation: pv3-ring-spin 5s linear infinite !important;
  z-index: 1 !important;
  padding: 3.5px !important;
}

/* Avatar size */
body.profile-page .pv3-avatar.profile-avatar {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  border: 3.5px solid #060508 !important;
  background: radial-gradient(circle at 35% 25%, rgba(255,255,255,0.12) 0%, transparent 50%),
              rgba(18,14,24,0.98) !important;
  font-weight: 800 !important;
  font-size: 2.4rem !important;
  color: #f0c060 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

/* Tab panels */
body.profile-page .profile-tab-panel         { display: none !important; }
body.profile-page .profile-tab-panel.is-open { display: block !important; animation: pv3-panel-in 200ms cubic-bezier(0.16,1,0.3,1) !important; }

/* Tab buttons */
body.profile-page .pv3-tab.profile-tab { color: rgba(255,255,255,0.32) !important; }
body.profile-page .pv3-tab.profile-tab.is-active { color: #fff !important; }

/* Stats row — 4 columns */
body.profile-page .pv3-stats.profile-stats-row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  padding: 0 !important;
  gap: 0 !important;
  text-align: center !important;
  border-top: none !important;
  border-bottom: none !important;
}

body.profile-page .pv3-stat.profile-quick-action {
  background: transparent !important;
  border: none !important;
  padding: 16px 4px !important;
  flex: 1 !important;
  gap: 3px !important;
}

body.profile-page .pv3-stat.profile-quick-action.is-active .pv3-stat-num { color: #f8d36b !important; }

/* Identity zone */
body.profile-page .pv3-hero {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* Bottom nav → see bottom-nav.css */
