:root {
  --bg: #fff8fb;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #1e1b2d;
  --muted: #736c87;
  --line: rgba(244, 123, 174, 0.18);
  --primary: #ff3b85;
  --primary-strong: #ff1f71;
  --primary-soft: rgba(255, 59, 133, 0.12);
  --accent-gold: #f6c96b;
  --shadow: 0 20px 50px rgba(235, 85, 145, 0.14);
}

body.unified-page {
  background:
    radial-gradient(circle at top center, rgba(255, 66, 129, 0.12), transparent 24%),
    linear-gradient(180deg, #fffdfd 0%, #fff6fa 100%);
}

body.unified-page .header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0 22px;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,.86);
  box-shadow: 0 10px 30px rgba(255, 73, 138, 0.08);
  border-bottom: 1px solid rgba(255, 73, 138, 0.08);
}

body.unified-page .brand-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(24px, 3vw, 36px);
  color: #ff2f7a;
  font-weight: 900;
  margin: 0;
  letter-spacing: -0.04em;
}

body.unified-page .brand-mark { font-size: 0.9em; }
body.unified-page .header-actions { display: flex; align-items: center; gap: 12px; }

body.unified-page .header-icon-btn,
body.unified-page .header-avatar-btn {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 10px 24px rgba(34, 19, 30, 0.08);
}

body.unified-page .header-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 15px;
}

body.unified-page .header-menu-btn span {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: #35313b;
}

body.unified-page .header-icon { font-size: 24px; }

body.unified-page .header-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #ff2f7a;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(255, 47, 122, 0.3);
}

body.unified-page .header-avatar-btn {
  background: linear-gradient(135deg, #ff5f96, #ff2f7a);
  padding: 3px;
}

body.unified-page .header-avatar-face {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #121018;
  color: #fff;
  font-size: 24px;
}

body.unified-page .bottom-nav {
  position: sticky;
  bottom: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px 18px;
  background: linear-gradient(180deg, rgba(255,248,251,0), rgba(255,248,251,0.94) 28%, rgba(255,248,251,1) 100%);
}

body.unified-page .bottom-nav-btn {
  border: none;
  background: rgba(255,255,255,0.94);
  min-width: 138px;
  height: 72px;
  border-radius: 28px;
  box-shadow: 0 14px 32px rgba(55, 24, 40, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #767080;
  font-size: 17px;
  font-weight: 800;
}

body.unified-page .bottom-nav-btn.active {
  background: linear-gradient(180deg, rgba(255,241,247,0.96), rgba(255,255,255,0.96));
  color: #ff2f7a;
  box-shadow: 0 16px 34px rgba(255, 47, 122, 0.18);
}

body.unified-page .bottom-nav-icon { font-size: 24px; }
body.unified-page .bottom-nav-label { font-size: 16px; }

@media (max-width: 720px) {
  body.unified-page .header { height: 78px; padding: 0 16px; }
  body.unified-page .bottom-nav {
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px 16px;
  }
  body.unified-page .bottom-nav-btn {
    min-width: 0;
    flex: 1;
    height: 64px;
    gap: 8px;
    font-size: 15px;
  }
  body.unified-page .bottom-nav-label { font-size: 14px; }
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.82) 26%, transparent 58%),
    linear-gradient(180deg, #fff7fb 0%, #fff3f8 48%, #fff8fb 100%);
}

body {
  padding-bottom: 96px;
}

.hidden {
  display: none !important;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 24px 16px;
  background: rgba(255, 248, 251, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
  color: var(--primary-strong);
  letter-spacing: -0.04em;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-icon,
.topbar-avatar {
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 10px 24px rgba(221, 132, 166, 0.16);
  font-size: 1.5rem;
}

.topbar-avatar {
  border: 3px solid var(--primary);
  display: grid;
  place-items: center;
}

.count-badge {
  position: absolute;
  top: -2px;
  right: -1px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.badge-btn {
  position: relative;
}

.profile-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 24px 0;
}

.hero-card,
.content-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card {
  padding: 30px;
}

.hero-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: start;
}

.hero-avatar-wrap {
  position: relative;
}

.hero-avatar {
  width: 190px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 5px solid var(--primary);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.85), rgba(255,228,241,0.92));
  box-shadow: 0 18px 34px rgba(209, 88, 141, 0.18);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hero-avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.hero-avatar-img.is-placeholder {
  object-fit: contain;
  object-position: center;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(180deg, #111421 0%, #0d1019 100%);
}

.online-dot {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2bd95e;
  border: 4px solid #fff;
}

.hero-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.hero-title-row h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
}

.verified-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #ff5fa0, #ff2e7b);
  color: #fff;
  font-weight: 900;
}

.hero-meta,
.hero-bio {
  margin: 0;
}

.hero-meta {
  color: var(--muted);
  font-size: 1.18rem;
}

.hero-bio {
  margin-top: 14px;
  font-size: 1.25rem;
  line-height: 1.5;
  max-width: 720px;
}

.hero-actions {
  margin-top: 24px;
}

.ghost-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 2px solid rgba(255, 59, 133, 0.28);
  color: var(--primary-strong);
  text-decoration: none;
  font-weight: 700;
  background: rgba(255,255,255,0.7);
}

.vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  padding: 16px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff6e3, #ffe5a8);
  color: #9e6600;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(229, 177, 65, 0.18);
}

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

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(255, 120, 168, 0.2);
}

.stat-card strong,
.stat-card span {
  display: block;
}

.stat-card strong {
  font-size: 2rem;
}

.stat-card span:last-child {
  color: var(--muted);
  font-size: 1.1rem;
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  line-height: 1;
  text-align: center;
  padding: 0;
}

.stat-svg {
  width: 28px;
  height: 28px;
  display: block;
  transform: translateY(10px);
}

.pink { background: rgba(255, 79, 147, 0.14); color: #ff4187; }
.purple { background: rgba(161, 92, 255, 0.14); color: #8b4cff; }
.green { background: rgba(45, 208, 108, 0.14); color: #1db954; }
.flame { background: rgba(255, 139, 61, 0.14); color: #ff7a00; }
.gold { background: rgba(246, 201, 107, 0.18); color: #cb8f00; }
.coral { background: rgba(255, 120, 92, 0.14); color: #ff6a47; }
.violet { background: rgba(168, 109, 255, 0.14); color: #8a57f7; }
.blue { background: rgba(92, 161, 255, 0.14); color: #3a7dff; }
.slate { background: rgba(132, 132, 154, 0.14); color: #6d6d83; }
.danger { background: rgba(255, 87, 87, 0.14); color: #e43d3d; }

.photos-card,
.account-card {
  margin-top: 18px;
  padding: 28px;
}

.section-head,
.promo-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.section-head h3,
.promo-copy h3 {
  margin: 0;
  font-size: 1.8rem;
}

.section-head p,
.promo-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.text-action {
  border: none;
  background: none;
  color: var(--primary-strong);
  font-weight: 800;
  font-size: 1.05rem;
}

.reorder-toolbar {
  margin: 18px 0 20px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 241, 247, 0.92);
  border: 1px dashed rgba(255, 59, 133, 0.26);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.reorder-toolbar span {
  color: var(--muted);
}

.reorder-toolbar-actions,
.confirm-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toolbar-btn {
  border: 1px solid rgba(255, 59, 133, 0.2);
  background: #fff;
  color: var(--text);
  padding: 11px 16px;
  border-radius: 14px;
  font-weight: 700;
}

.toolbar-btn.primary,
.promo-btn {
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 14px 28px rgba(255, 59, 133, 0.28);
}

.toolbar-btn.danger {
  border: none;
  background: linear-gradient(135deg, #f55d5d, #d93333);
  color: #fff;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.photo-tile {
  position: relative;
  min-height: 230px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 120, 168, 0.18);
  background: linear-gradient(140deg, #fff, #ffeef5);
  box-shadow: 0 12px 26px rgba(224, 140, 171, 0.14);
}

.photo-tile.has-media {
  background-size: cover;
  background-position: center;
}

.photo-tile.has-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(23, 18, 34, 0.55) 100%);
}

.photo-tile.add-slot {
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--primary-strong);
  border-style: dashed;
}

.photo-tile button {
  position: absolute;
  z-index: 2;
  border: none;
}

.tile-main-badge,
.tile-video-badge,
.reorder-controls,
.tile-actions {
  position: absolute;
  z-index: 2;
}

.tile-main-badge {
  left: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  font-weight: 800;
}

.tile-video-badge {
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(20, 17, 29, 0.64);
  color: #fff;
  display: grid;
  place-items: center;
}

.tile-actions {
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.tile-actions .delete-btn {
  position: static;
}

.tile-btn,
.reorder-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.96);
  color: var(--text);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.tile-btn.delete-btn {
  width: 28px;
  height: 28px;
  font-size: 0.72rem;
  background: rgba(210, 61, 61, 0.92);
  color: #fff;
  box-shadow: 0 6px 14px rgba(210, 61, 61, 0.22);
  border-color: rgba(255, 255, 255, 0.24);
}

.tile-btn.main-btn {
  position: static;
  width: 28px;
  height: 28px;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.98);
  color: #2b2738;
}

.reorder-controls {
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reorder-controls .reorder-btn {
  position: static;
}

.promo-btn {
  padding: 18px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.06rem;
  white-space: nowrap;
}

.monetization-stack {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.boost-feature-card,
.rewards-feature-card {
  padding: 30px 34px;
  background:
    linear-gradient(135deg, rgba(255, 240, 246, 0.96), rgba(255,255,255,0.98)),
    var(--surface);
  border: 1px solid rgba(255, 215, 230, 0.9);
  box-shadow: 0 24px 54px rgba(243, 108, 162, 0.12);
}

.boost-feature-card {
  display: grid;
  gap: 10px;
}

.boost-feature-main {
  display: grid;
  grid-template-columns: minmax(320px, 0.98fr) auto minmax(0, 1.12fr);
  gap: 18px;
  align-items: center;
}

.boost-feature-copy {
  display: flex;
  align-items: center;
  gap: 20px;
}

.boost-feature-icon,
.rewards-feature-icon {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: 30px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 218, 233, 0.9);
  font-size: 2rem;
}

.boost-feature-icon.rocket {
  width: 112px;
  height: 112px;
  border-radius: 34px;
  font-size: 3.6rem;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.96), rgba(255, 241, 246, 0.92));
  box-shadow:
    inset 0 0 0 1px rgba(255, 214, 230, 0.95),
    0 20px 40px rgba(255, 91, 156, 0.14);
}

.boost-feature-copy h3,
.rewards-feature-copy h3 {
  margin: 0;
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  letter-spacing: -0.04em;
}

.boost-feature-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.35;
  max-width: 360px;
}

.boost-feature-pill {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 244, 247, 0.96);
  color: var(--primary-strong);
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 214, 229, 0.8);
}

.boost-feature-divider {
  width: 1px;
  height: 100%;
  min-height: 128px;
  background: linear-gradient(180deg, rgba(255, 204, 223, 0), rgba(255, 204, 223, 0.95), rgba(255, 204, 223, 0));
}

.boost-feature-flow {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.boost-feature-flow strong {
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  line-height: 1.12;
  max-width: 560px;
}

.boost-flow-steps {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.boost-flow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.boost-flow-step {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 82px;
}

.boost-flow-step small {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.boost-flow-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 900;
}

.boost-flow-badge.purple { background: rgba(161, 92, 255, 0.12); color: #8b4cff; }
.boost-flow-badge.pink { background: rgba(255, 79, 147, 0.12); color: #ff4187; }
.boost-flow-badge.gold { background: rgba(246, 201, 107, 0.18); color: #cb8f00; }

.boost-flow-arrow {
  color: var(--primary-strong);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}

.boost-feature-btn {
  flex-shrink: 0;
  min-width: 176px;
  padding: 15px 22px;
  font-size: 0.96rem;
  box-shadow: 0 18px 36px rgba(255, 43, 122, 0.22);
}

.rewards-feature-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.rewards-feature-copy {
  display: flex;
  align-items: center;
  gap: 24px;
}

.rewards-chips {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.reward-chip {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.02rem;
}

.reward-chip.whatsapp { background: rgba(136, 92, 255, 0.12); color: #6f3fff; }
.reward-chip.unlock { background: rgba(255, 79, 147, 0.12); color: #ff2f7a; }
.reward-chip.superlike { background: rgba(246, 201, 107, 0.2); color: #b67d00; }

.rewards-feature-link {
  color: var(--primary-strong);
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
  padding-left: 34px;
  border-left: 1px solid rgba(255, 206, 225, 0.9);
}

.account-card {
  padding: 8px 0;
}

.account-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(223, 217, 232, 0.42);
  background: transparent;
}

.subtle-button {
  width: 100%;
  border: none;
  text-align: left;
  font: inherit;
}

.danger-row strong,
.danger-row .row-end {
  color: #d23d3d;
}

.row-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.row-copy strong,
.row-copy small {
  display: block;
}

.row-copy small {
  margin-top: 4px;
  color: var(--muted);
}

.pill {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 59, 133, 0.1);
  color: var(--primary-strong);
  font-size: 0.95rem;
  font-weight: 800;
}

.pill.secondary {
  background: rgba(255, 232, 242, 0.9);
}

.row-end {
  color: #8c88a1;
  font-size: 1.5rem;
}

.bottom-nav {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 14px;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: 28px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 16px 40px rgba(206, 125, 160, 0.22);
  backdrop-filter: blur(18px);
}

.nav-btn {
  border: none;
  background: transparent;
  padding: 12px;
  border-radius: 20px;
  color: var(--muted);
  display: grid;
  place-items: center;
  gap: 6px;
}

.nav-btn span {
  font-size: 1.7rem;
}

.nav-btn small {
  font-size: 1rem;
}

.nav-btn.active {
  background: linear-gradient(180deg, rgba(255, 242, 248, 0.96), rgba(255,255,255,0.96));
  color: var(--primary-strong);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(21, 17, 29, 0.76);
}

.modal-content {
  position: relative;
  z-index: 2;
}

.media-modal-content {
  width: min(94vw, 1320px);
  height: min(90vh, 940px);
  padding: 32px 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-media {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.modal-media img,
.modal-media video {
  width: auto;
  height: auto;
  max-width: calc(94vw - 168px);
  max-height: calc(90vh - 64px);
  border-radius: 24px;
  display: block;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.panel-modal-content {
  width: min(92vw, 420px);
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 56px rgba(0,0,0,0.24);
}

.modal-close-btn {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 247, 251, 0.96);
  box-shadow: 0 14px 32px rgba(255, 83, 148, 0.12);
  display: grid;
  place-items: center;
  line-height: 1;
}

.close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 1.6rem;
  color: #fff;
  cursor: pointer;
}

.media-close-btn {
  top: 20px;
  right: 24px;
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 50%;
  background: rgba(20, 17, 29, 0.68);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.close.dark {
  color: var(--text);
}

.boost-modal-content {
  width: min(92vw, 760px);
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top center, rgba(255, 61, 132, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,250,252,0.98));
  border: 1px solid rgba(255, 207, 227, 0.9);
  box-shadow: 0 30px 80px rgba(255, 43, 122, 0.16);
}

.boost-modal-head {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  padding-right: 64px;
}

.boost-modal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 235, 243, 0.96);
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.boost-modal-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  text-transform: none;
}

.boost-modal-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.55;
  max-width: 560px;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.94);
  font-size: 2rem;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
  z-index: 3;
}

.prev { left: 12px; }
.next { right: 12px; }

.boost-options {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.boost-plan-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 214, 231, 0.95);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(255, 43, 122, 0.08);
}

.boost-plan-main {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.boost-plan-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  background: linear-gradient(180deg, #fff4f7 0%, #ffe5ef 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 207, 227, 0.92);
}

.boost-plan-copy {
  display: grid;
  gap: 8px;
}

.boost-plan-copy strong {
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.boost-plan-copy span {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.45;
  max-width: 290px;
}

.boost-plan-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.boost-pay-btn {
  min-width: 156px;
  padding: 14px 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 204, 223, 0.96);
  background: #fff;
  color: var(--text);
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
  box-shadow: 0 12px 26px rgba(255, 43, 122, 0.08);
}

.boost-pay-btn small {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.boost-pay-btn strong {
  font-size: 1.12rem;
  line-height: 1.1;
}

.boost-pay-btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #ff4f94, #ff2b7a);
  color: #fff;
  box-shadow: 0 18px 34px rgba(255, 43, 122, 0.24);
}

.boost-pay-btn.primary small {
  color: rgba(255,255,255,0.82);
}

.boost-pay-btn:hover {
  transform: translateY(-1px);
}

.boost-pay-btn:active {
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero-main {
    grid-template-columns: 1fr;
  }

  .vip-badge {
    justify-self: start;
  }

  .stats-grid,
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .boost-plan-card {
    grid-template-columns: 1fr;
  }

  .boost-plan-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .media-modal-content {
    width: min(100vw, 100%);
    height: min(100vh, 100%);
    padding: 64px 18px 28px;
  }

  .modal-media img,
  .modal-media video {
    max-width: calc(100vw - 36px);
    max-height: calc(100vh - 92px);
    border-radius: 18px;
  }

  .media-close-btn {
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
  }

  .nav {
    width: 52px;
    height: 52px;
  }

  .prev { left: 8px; }
  .next { right: 8px; }

  .topbar,
  .profile-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand {
    font-size: 1.55rem;
  }

  .topbar-icon,
  .topbar-avatar {
    width: 48px;
    height: 48px;
  }

  .hero-card,
  .photos-card {
    padding: 20px;
    border-radius: 26px;
  }

  .hero-avatar {
    width: 144px;
  }

  .hero-meta,
  .hero-bio {
    font-size: 1rem;
  }

  .stats-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .reorder-toolbar,
  .account-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .boost-feature-main {
    grid-template-columns: 1fr;
  }

  .boost-feature-divider {
    display: none;
  }

  .boost-flow-row {
    flex-direction: column;
    align-items: stretch;
  }

  .boost-flow-steps {
    flex-wrap: wrap;
  }

  .boost-feature-btn,
  .rewards-feature-link {
    justify-self: stretch;
    width: 100%;
    text-align: center;
    padding-left: 0;
    border-left: none;
  }

  .rewards-feature-card {
    flex-direction: column;
    align-items: stretch;
  }

  .promo-btn {
    width: 100%;
  }

  .account-row {
    gap: 10px;
  }

  .boost-modal-content {
    width: min(92vw, 420px);
    max-width: 420px;
    max-height: min(84vh, 680px);
    overflow-y: auto;
    padding: 18px 16px;
    border-radius: 24px;
  }

  .boost-modal-head {
    padding-right: 42px;
    gap: 8px;
  }

  .boost-modal-head h2 {
    font-size: 1.5rem;
    line-height: 1.05;
  }

  .boost-modal-head p {
    font-size: 0.92rem;
    line-height: 1.4;
  }

  .boost-plan-card {
    padding: 14px;
    border-radius: 20px;
    gap: 12px;
  }

  .boost-plan-main {
    align-items: center;
    gap: 12px;
  }

  .boost-plan-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 1.35rem;
  }

  .boost-plan-copy {
    gap: 4px;
  }

  .boost-plan-copy strong {
    font-size: 1.05rem;
    line-height: 1.08;
  }

  .boost-plan-copy span {
    font-size: 0.84rem;
    line-height: 1.3;
    max-width: none;
  }

  .boost-plan-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 8px;
  }

  .boost-pay-btn {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .boost-pay-btn strong {
    font-size: 1rem;
  }
}

@media (max-width: 720px) {
  .profile-page {
    padding: 8px 14px 0;
  }

  .hero-card,
  .photos-card,
  .promo-card,
  .account-card {
    border-radius: 26px;
  }

  .hero-card {
    padding: 14px;
  }

  .hero-main {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .hero-avatar {
    width: 108px;
    border-width: 4px;
  }

  .online-dot {
    width: 18px;
    height: 18px;
    right: 10px;
    bottom: 10px;
    border-width: 3px;
  }

  .hero-title-row {
    margin-bottom: 6px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .hero-title-row h2 {
    font-size: 1.5rem;
    line-height: 1;
  }

  .hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 10px;
    row-gap: 6px;
    align-items: start;
  }

  .hero-title-row {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }

  .hero-actions {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    align-self: center;
    justify-self: end;
  }

  .hero-meta,
  .hero-bio {
    grid-column: 1 / -1;
  }

  .hero-meta {
    font-size: 0.88rem;
    line-height: 1.28;
  }

  .hero-bio {
    margin-top: 6px;
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .ghost-action {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 0.76rem;
    line-height: 1;
    white-space: nowrap;
  }

  .vip-badge {
    justify-self: auto;
    padding: 10px 12px;
    gap: 6px;
    font-size: 0.86rem;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(229, 177, 65, 0.16);
  }

  .stats-grid {
    margin-top: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .stat-card {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 10px;
    border-radius: 17px;
    justify-content: center;
    text-align: center;
    min-height: 110px;
  }

  .stat-card > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 3px;
    width: 100%;
  }

  .stat-card strong {
    font-size: 1.16rem;
    line-height: 1;
    width: 100%;
    text-align: center;
  }

  .stat-card span:last-child {
    font-size: 0.76rem;
    line-height: 1.1;
    width: 100%;
    text-align: center;
  }

  .stat-icon {
    width: 38px;
    height: 38px;
  }

  .stat-svg {
    width: 18px;
    height: 18px;
    transform: none;
  }

  .section-head,
  .promo-copy {
    align-items: flex-start;
    gap: 10px;
  }

  .section-head h3,
  .promo-copy h3 {
    font-size: 1.22rem;
  }

  .section-head p,
  .promo-copy p {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .text-action {
    min-height: 44px;
    padding: 0 4px;
  }

  .reorder-toolbar {
    margin: 10px 0 12px;
    padding: 11px 12px;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .photo-tile {
    min-height: 154px;
    border-radius: 18px;
  }

  .boost-feature-card,
  .rewards-feature-card {
    padding: 16px;
    border-radius: 22px;
  }

  .monetization-stack {
    gap: 14px;
    margin-top: 14px;
  }

  .boost-feature-copy,
  .rewards-feature-copy {
    align-items: center;
    gap: 12px;
  }

  .boost-feature-icon,
  .rewards-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 1.15rem;
  }

  .boost-feature-icon.rocket {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 1.8rem;
  }

  .boost-feature-copy h3,
  .rewards-feature-copy h3,
  .boost-feature-flow strong {
    font-size: 1.1rem;
  }

  .boost-feature-copy p {
    font-size: 0.84rem;
    line-height: 1.3;
  }

  .boost-feature-pill {
    margin-top: 8px;
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .boost-feature-main {
    gap: 12px;
  }

  .boost-feature-flow {
    gap: 10px;
  }

  .boost-feature-flow strong {
    font-size: 0.98rem;
    line-height: 1.12;
  }

  .boost-flow-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .boost-flow-steps {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .boost-flow-step {
    min-width: 0;
    gap: 6px;
  }

  .boost-flow-step small {
    font-size: 0.68rem;
    line-height: 1.15;
  }

  .boost-flow-badge {
    width: 36px;
    height: 36px;
    font-size: 0.84rem;
  }

  .boost-flow-arrow {
    display: none;
  }

  .boost-feature-btn {
    width: auto;
    min-width: 124px;
    min-height: 40px;
    padding: 10px 14px;
    font-size: 0.84rem;
    border-radius: 18px;
    justify-self: auto;
    flex-shrink: 0;
  }

  .rewards-feature-card {
    gap: 12px;
  }

  .rewards-feature-copy {
    align-items: center;
    gap: 10px;
  }

  .rewards-feature-copy > div {
    min-width: 0;
    display: grid;
    gap: 8px;
  }

  .rewards-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 0;
    width: 100%;
  }

  .reward-chip {
    min-height: 30px;
    padding: 0 8px;
    font-size: 0.65rem;
    border-radius: 999px;
    letter-spacing: 0;
    justify-content: center;
    white-space: nowrap;
  }

  .rewards-feature-link {
    width: 100%;
    align-self: flex-start;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1;
    margin-top: 4px;
  }

  .photos-card,
  .account-card {
    margin-top: 14px;
  }

  .photos-card {
    padding: 18px;
  }

  .section-head {
    gap: 8px;
  }

  .section-head h3,
  .promo-copy h3 {
    font-size: 1.16rem;
  }

  .section-head p,
  .promo-copy p {
    margin-top: 6px;
    font-size: 0.88rem;
    line-height: 1.36;
  }

  .text-action {
    min-height: 40px;
    font-size: 0.94rem;
  }

  .promo-btn {
    min-height: 44px;
    padding: 11px 16px;
  }

  .account-row {
    grid-template-columns: auto 1fr auto;
    padding: 9px 14px;
    gap: 10px;
    min-height: 62px;
  }

  .row-icon {
    width: 32px;
    height: 32px;
    font-size: 0.94rem;
  }

  .row-copy strong {
    line-height: 1.08;
    font-size: 0.92rem;
  }

  .row-copy small {
    margin-top: 2px;
    font-size: 0.74rem;
    line-height: 1.16;
  }

  .row-end {
    font-size: 1.05rem;
  }
}
