: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);
}

/* Tema azul secundario: se activa únicamente cuando el perfil propio es hombre. */
body.unified-page.theme-male {
  --bg: #f8faff;
  --line: rgba(72, 108, 255, 0.18);
  --primary: #2453ff;
  --primary-strong: #163fe6;
  --primary-soft: rgba(36, 83, 255, 0.12);
  --shadow: 0 20px 50px rgba(36, 83, 255, 0.11);
  background:
    radial-gradient(circle at top center, rgba(36, 83, 255, 0.09), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
}

body.unified-page.theme-male .hero-avatar,
body.unified-page.theme-male .topbar-avatar {
  box-shadow: 0 18px 34px rgba(36, 83, 255, 0.18);
}

body.unified-page.theme-male .hero-card {
  box-shadow: var(--shadow);
}

body.unified-page.theme-male .ghost-action {
  border-color: rgba(36, 83, 255, 0.3);
}

body.unified-page.theme-male .stat-card {
  border-color: rgba(72, 108, 255, 0.2);
}

body.unified-page.theme-male .stat-icon.pink,
body.unified-page.theme-male .stat-icon.purple {
  background: rgba(36, 83, 255, 0.11);
  color: #2453ff;
}

body.unified-page.theme-male .boost-feature-card,
body.unified-page.theme-male .rewards-feature-card {
  background:
    linear-gradient(135deg, rgba(238, 243, 255, 0.97), rgba(255, 255, 255, 0.99)),
    var(--surface);
  border-color: rgba(107, 136, 255, 0.3);
  box-shadow: 0 24px 54px rgba(36, 83, 255, 0.11);
}

body.unified-page.theme-male .boost-feature-btn,
body.unified-page.theme-male .rewards-feature-link {
  box-shadow: 0 18px 36px rgba(36, 83, 255, 0.22);
}

body.unified-page.theme-male .rewards-journey-badge {
  border-color: rgba(111, 140, 255, 0.24);
  box-shadow: 0 10px 20px rgba(36, 83, 255, 0.075);
}

body.unified-page.theme-male .rewards-prize-cta {
  border-left-color: rgba(95, 127, 255, 0.28);
}

body.unified-page.theme-male .rewards-prize-gift {
  background: radial-gradient(circle at 50% 30%, #fff 0%, #edf2ff 52%, #dbe5ff 100%);
  box-shadow: 0 14px 28px rgba(36, 83, 255, 0.17);
}

body.unified-page.theme-male .rewards-prize-gift::after {
  background: radial-gradient(circle, rgba(121, 151, 255, 0.58) 0%, rgba(121, 151, 255, 0) 68%);
}

body.unified-page.theme-male .rewards-gift-chevron {
  box-shadow: 0 7px 16px rgba(36, 83, 255, 0.3);
}

body.unified-page.theme-male .rewards-final-action:focus-visible {
  outline-color: rgba(36, 83, 255, 0.42);
}

body.unified-page.theme-male .rewards-final-action:hover .reward-art-3d {
  filter: drop-shadow(0 14px 17px rgba(24, 63, 209, 0.23));
}

@keyframes rewards-gift-glow-male {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(170, 190, 255, 0.68), 0 0 0 rgba(36, 83, 255, 0); }
  50% { box-shadow: inset 0 0 0 1px rgba(170, 190, 255, 0.78), 0 0 24px rgba(36, 83, 255, 0.25); }
}

body.unified-page.theme-male .rewards-feature-card.rewards-attention .rewards-prize-gift {
  animation:
    rewards-gift-pop 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 260ms both,
    rewards-gift-glow-male 2.8s ease-in-out 1.15s infinite;
}

@keyframes rewards-gift-glow-mobile-male {
  0% { box-shadow: inset 0 0 0 1px rgba(170, 190, 255, 0.62), 0 0 0 rgba(36, 83, 255, 0); }
  55% { box-shadow: inset 0 0 0 1px rgba(170, 190, 255, 0.8), 0 0 30px rgba(36, 83, 255, 0.34); }
  100% { box-shadow: inset 0 0 0 1px rgba(170, 190, 255, 0.62), 0 8px 18px rgba(36, 83, 255, 0.12); }
}

@media (max-width: 780px) {
  body.unified-page.theme-male .rewards-feature-card.rewards-attention .rewards-final-gift {
    animation:
      rewards-gift-pop-mobile 1000ms cubic-bezier(0.2, 0.8, 0.2, 1) 180ms both,
      rewards-gift-glow-mobile-male 1350ms ease-out 260ms both;
  }
}

@media (max-width: 720px) {
  #rewardsModal {
    align-items: center;
    padding:
      max(12px, env(safe-area-inset-top, 0px))
      12px
      max(12px, env(safe-area-inset-bottom, 0px));
  }

  #rewardsModal .rewards-panel-modal {
    width: 100%;
    max-width: 520px;
    max-height: min(78vh, 620px);
    max-height: min(78dvh, 620px);
    padding: 18px 14px 14px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  #rewardsModal .rewards-panel-modal h2 {
    margin: 0 42px 4px 0;
    font-size: 1.35rem;
    line-height: 1.1;
    flex: 0 0 auto;
  }

  #rewardsModal .rewards-panel-modal > p {
    margin: 0 42px 12px 0;
    font-size: 0.82rem;
    line-height: 1.4;
    flex: 0 0 auto;
  }

  #rewardsModal .rewards-modal-close {
    top: 8px;
    right: 8px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 245, 249, 0.96);
    font-size: 1.15rem;
    line-height: 1;
    z-index: 3;
  }

  #rewardsModal .rewards-packages-grid {
    min-height: 0;
    flex: 1 1 auto;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 2px 2px max(4px, env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
  }

  #rewardsModal .profile-reward-card {
    border-radius: 18px;
    padding: 14px 12px;
    box-shadow: 0 8px 18px rgba(224, 140, 171, 0.12);
  }

  #rewardsModal .profile-reward-card.available {
    box-shadow:
      0 12px 24px rgba(239, 76, 128, 0.2),
      inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  }

  #rewardsModal .profile-reward-card strong {
    font-size: 0.98rem;
  }

  #rewardsModal .profile-reward-card span,
  #rewardsModal .profile-reward-card small {
    margin-top: 3px;
    font-size: 0.76rem;
    line-height: 1.25;
  }
}

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-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 .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: 8px 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: 28px;
}

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

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

.hero-avatar {
  width: 190px;
  aspect-ratio: 1;
  padding: 0;
  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: cover;
  object-position: center;
  padding: 0;
  transform: scale(1.28);
  transform-origin: center;
  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;
}

/* El mensaje de ayuda no ocupa espacio; las biografías reales sí se conservan. */
.hero-bio.is-placeholder {
  display: none;
}

.hero-bio.is-placeholder + .hero-actions {
  margin-top: 16px;
}

.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: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 24px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(255, 120, 168, 0.2);
}

.stat-card > div {
  display: grid;
  align-content: center;
  gap: 2px;
  min-width: 0;
}

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

.stat-card strong {
  font-size: 1.7rem;
  line-height: 1;
}

.stat-card span:last-child {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.2;
}

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

.stat-card > .stat-icon {
  display: grid;
  place-items: center;
}

.stat-svg {
  width: 24px;
  height: 24px;
  display: block;
  place-self: center;
  transform: none;
}

.profile-ui-icon {
  display: block;
  width: 1em;
  height: 1em;
  overflow: hidden;
}

.ghost-action .profile-ui-icon {
  width: 18px;
  height: 18px;
}

.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: 12px;
  padding: 24px;
}

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

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

.section-head p,
.promo-copy p {
  margin: 6px 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(4, minmax(0, 1fr));
  gap: 12px;
}

.photo-tile {
  position: relative;
  min-height: 208px;
  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: 10px;
  margin-top: 4px;
}

.boost-feature-card,
.rewards-feature-card {
  padding: 24px 28px;
  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: 14px;
  align-items: center;
}

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

.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;
}

/* El regalo señala el acceso a las recompensas sin alterar el tamaño de la card. */
.rewards-prize-gift {
  position: relative;
  isolation: isolate;
  overflow: visible;
  transform-origin: center bottom;
}

.rewards-feature-card.rewards-attention .rewards-prize-gift {
  animation: rewards-gift-pop 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 260ms both,
    rewards-gift-glow 2.8s ease-in-out 1.15s infinite;
}

.rewards-prize-gift::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -16px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(255, 197, 220, 0.72) 0%, rgba(255, 197, 220, 0) 68%);
  opacity: 0;
  transform: scale(0.72);
  pointer-events: none;
}

.rewards-feature-card.rewards-attention .rewards-prize-gift::after {
  animation: rewards-gift-shine 780ms ease-out 360ms both,
    rewards-gift-shine 3.2s ease-in-out 8s infinite;
}

@keyframes rewards-gift-pop {
  0% { opacity: 0; transform: scale(0.82) rotate(-5deg); }
  50% { opacity: 1; transform: scale(2) rotate(2deg); }
  74% { opacity: 1; transform: scale(0.94) rotate(-0.5deg); }
  88% { opacity: 1; transform: scale(1.05) rotate(0.25deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes rewards-gift-glow {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(255, 218, 233, 0.9), 0 0 0 rgba(255, 72, 145, 0); }
  50% { box-shadow: inset 0 0 0 1px rgba(255, 218, 233, 0.9), 0 0 24px rgba(255, 72, 145, 0.23); }
}

@keyframes rewards-gift-shine {
  0% { opacity: 0; transform: scale(0.72); }
  45% { opacity: 0.82; }
  100% { opacity: 0; transform: scale(1.28); }
}

@media (prefers-reduced-motion: reduce) {
  .rewards-prize-gift,
  .rewards-prize-gift::after {
    animation: none;
  }
}

.boost-feature-icon.rocket {
  width: 112px;
  height: 112px;
  border-radius: 34px;
  color: #ff2b7a;
  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-rocket-art {
  display: block;
  width: 82%;
  height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(184, 25, 92, 0.16));
}

.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: 10px;
  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: 12px;
  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 .profile-ui-icon {
  width: 48%;
  height: 48%;
}

.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 {
  padding: 26px 32px;
  overflow: hidden;
}

.rewards-journey {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(220px, 0.36fr);
  align-items: center;
  gap: 28px;
}

.rewards-journey-copy h3 {
  margin: 0;
  font-size: clamp(1.75rem, 2.7vw, 2.55rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.rewards-journey-copy h3 em { color: var(--primary-strong); font-style: normal; }

.rewards-title-flame {
  width: 0.88em;
  height: 0.88em;
  margin-right: 0.08em;
  color: #ff7b1d;
  vertical-align: -0.08em;
}

.rewards-journey-steps {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.3vw, 18px);
  margin-top: 24px;
}

.rewards-convergence {
  display: none;
}

.rewards-journey-step {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 76px;
}

.rewards-journey-step small {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
}

.rewards-journey-badge {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 211, 229, 0.88);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 20px rgba(231, 91, 151, 0.08);
}

.rewards-journey-badge svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rewards-journey-badge.interaction { color: #6f3fff; background: rgba(237, 227, 255, 0.82); }
.rewards-journey-badge.unlock { color: #278ad0; background: rgba(218, 237, 255, 0.8); }
.rewards-journey-badge.gift { color: #ec2772; background: rgba(255, 226, 238, 0.84); }
.rewards-journey-badge.superlike { color: #ff397f; background: rgba(255, 224, 239, 0.82); }
.rewards-journey-badge.points { color: #c28400; background: rgba(255, 239, 203, 0.85); }

.rewards-journey-arrow {
  color: var(--primary-strong);
  font-size: 1.75rem;
  font-weight: 900;
}

.reward-flow-arrow-icon {
  display: block;
  width: 1em;
  height: 1em;
}

.reward-cta-chevron {
  display: block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}

.rewards-prize-arrow {
  color: var(--primary-strong);
  font-size: 2.05rem;
  font-weight: 900;
  line-height: 1;
}

.rewards-prize-cta {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  padding-left: 26px;
  border-left: 1px solid rgba(255, 202, 223, 0.82);
}

button.rewards-prize-cta {
  appearance: none;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.rewards-link-mobile {
  display: none;
}

.rewards-prize-gift {
  display: grid;
  width: 132px;
  height: 116px;
  place-items: center;
  border-radius: 30px;
  background: radial-gradient(circle at 50% 30%, #fff 0%, #ffe9f2 52%, #ffd7e8 100%);
  box-shadow: 0 14px 28px rgba(255, 70, 143, 0.16);
}

.rewards-prize-gift svg {
  width: 124px;
  height: auto;
  filter: drop-shadow(0 8px 8px rgba(184, 25, 92, 0.2));
}

.rewards-prize-cta strong {
  font-size: 0.9rem;
  text-align: center;
}

.rewards-label-copy,
.rewards-label-copy > span {
  display: inline;
}

.rewards-label-copy > span + span::before {
  content: " ";
}

.rewards-inline-chevron {
  display: none;
}

.rewards-gift-chevron {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 3;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  background: var(--primary-strong);
  color: #fff;
  box-shadow: 0 7px 16px rgba(255, 31, 113, 0.28);
}

.rewards-gift-chevron svg {
  display: block;
  width: 14px;
  height: 14px;
}

.rewards-final-action:focus-visible {
  outline: 3px solid rgba(255, 31, 113, 0.42);
  outline-offset: 5px;
  border-radius: 24px;
}

.rewards-final-action .reward-art-3d,
.rewards-gift-chevron {
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.rewards-final-action:hover .reward-art-3d {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 14px 17px rgba(184, 25, 92, 0.22));
}

.rewards-final-action:hover .rewards-gift-chevron {
  transform: translateX(2px);
}

.rewards-final-action:active .reward-art-3d {
  transform: scale(0.98);
}

.rewards-feature-link {
  min-width: 190px;
  padding: 13px 18px;
  font-size: 0.95rem;
  box-shadow: 0 16px 30px rgba(255, 43, 122, 0.22);
}

body.modal-open {
  overflow: hidden;
}

.rewards-panel-modal {
  width: min(92vw, 680px);
  max-height: calc(100vh - 70px);
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.24);
  overflow-y: auto;
}

.rewards-panel-modal h2 {
  margin: 0 0 8px;
}

.rewards-panel-modal > p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.rewards-modal-close.dark {
  color: var(--text);
  border: none;
  background: none;
}

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

.profile-reward-card {
  border: 1px solid rgba(255, 120, 168, 0.16);
  border-radius: 24px;
  padding: 22px 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow: 0 12px 26px rgba(224, 140, 171, 0.14);
  font: inherit;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.profile-reward-card.available {
  border-color: rgba(240, 58, 126, 0.72);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.9), transparent 42%),
    linear-gradient(145deg, #fff2f7 0%, #ffd9e8 100%);
  box-shadow:
    0 16px 32px rgba(239, 76, 128, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.profile-reward-card.available:hover {
  transform: translateY(-2px);
  border-color: var(--primary-strong);
  box-shadow:
    0 20px 38px rgba(239, 76, 128, 0.26),
    inset 0 0 0 1px rgba(255, 255, 255, 0.78);
}

.profile-reward-card.available:focus-visible {
  outline: 3px solid rgba(239, 76, 128, 0.32);
  outline-offset: 3px;
}

.profile-reward-card.disabled {
  opacity: 0.5;
  pointer-events: none;
  filter: grayscale(0.35);
  cursor: not-allowed;
}

.profile-reward-card strong,
.profile-reward-card span,
.profile-reward-card small {
  display: block;
}

.profile-reward-card strong {
  font-size: 1.15rem;
}

.profile-reward-card span,
.profile-reward-card small {
  margin-top: 6px;
}

.profile-reward-card .reward-card-status {
  color: var(--muted);
  font-weight: 700;
}

.profile-reward-card.available .reward-card-status {
  color: #bc1f5d;
  font-weight: 900;
}

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

.account-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 15px 22px;
  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-icon .profile-ui-icon {
  width: 50%;
  height: 50%;
}

.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(240, 58, 126, 0.72);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.9), transparent 42%),
    linear-gradient(145deg, #fff2f7 0%, #ffd9e8 100%);
  color: var(--text);
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
  box-shadow:
    0 12px 26px rgba(239, 76, 128, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.boost-pay-btn small {
  font-size: 0.72rem;
  font-weight: 700;
  color: #bc1f5d;
  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: rgba(240, 58, 126, 0.72);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.9), transparent 42%),
    linear-gradient(145deg, #fff2f7 0%, #ffd9e8 100%);
  color: var(--text);
  box-shadow:
    0 12px 26px rgba(239, 76, 128, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.boost-pay-btn.primary small {
  color: #bc1f5d;
}

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

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

/* Mantiene el Boost dentro del viewport en desktop sin alterar móvil. */
@media (min-width: 721px) {
  .boost-modal-content {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    max-height: min(90dvh, 900px);
    overflow: hidden;
  }

  .boost-modal-head {
    flex: 0 0 auto;
  }

  .boost-options {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }
}

/* Compacta únicamente desktops con poca altura para mostrar más planes. */
@media (min-width: 721px) and (max-height: 900px) {
  .boost-modal-content {
    padding: 26px 28px;
    border-radius: 30px;
  }

  .boost-modal-head {
    gap: 8px;
    margin-bottom: 16px;
  }

  .boost-modal-head h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
  }

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

  .boost-options {
    gap: 12px;
    margin-top: 4px;
  }

  .boost-plan-card {
    padding: 16px 20px;
    border-radius: 24px;
  }

  .boost-plan-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }

  .boost-plan-copy strong {
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  }
}

@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: 780px) {
  .profile-page {
    padding: 4px 14px 0;
  }

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

  .hero-card {
    padding: 12px;
  }

  .hero-card,
  .boost-feature-card,
  .rewards-feature-card {
    box-shadow: 0 10px 26px rgba(235, 85, 145, 0.09);
  }

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

  .hero-avatar {
    width: 96px;
    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 / -1;
    grid-row: 1;
    margin: 0;
  }

  .hero-actions {
    grid-column: 1 / -1;
    grid-row: 3;
    margin: 2px 0 0;
    align-self: start;
    justify-self: start;
  }

  .hero-meta {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .hero-bio {
    grid-column: 1 / -1;
    grid-row: 4;
  }

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

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

  .hero-bio.is-placeholder {
    display: none;
  }

  .ghost-action {
    min-height: 32px;
    min-width: 132px;
    padding: 7px 16px;
    font-size: 0.76rem;
    line-height: 1;
    white-space: nowrap;
    justify-content: center;
  }

  .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: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .stat-card {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 26px minmax(24px, auto);
    justify-items: center;
    align-content: center;
    align-items: center;
    gap: 2px;
    padding: 6px 2px;
    border-radius: 14px;
    text-align: center;
    min-height: 66px;
  }

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

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

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

  .stat-icon {
    width: 26px;
    height: 26px;
    margin: 0;
    place-self: center;
  }

  .stat-card .stat-icon {
    display: grid;
    place-items: center;
  }

  .stat-card .stat-svg {
    display: block;
    width: 14px;
    height: 14px;
    margin: auto;
    place-self: center;
    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: 6px;
    margin-top: 4px;
  }

  .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 {
    margin-top: 14px;
  }

  .account-card {
    margin-top: 6px;
  }

  .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;
  }
}

/* La explicación se conserva completa en pantallas pequeñas sin crear una card alta. */
@media (max-width: 1099px) {
  .rewards-feature-card {
    padding: 15px 14px;
  }

  .rewards-journey {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .rewards-prize-arrow {
    display: none;
  }

  .rewards-journey-copy h3 {
    font-size: 1.1rem;
    line-height: 1.14;
  }

  .rewards-journey-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
  }

  .rewards-journey-arrow {
    display: none;
  }

  .rewards-journey-step {
    min-width: 0;
    gap: 5px;
  }

  .rewards-journey-badge {
    width: 46px;
    height: 46px;
    overflow: visible;
  }

  .rewards-journey-badge .reward-art-3d {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 5px 7px rgba(89, 35, 61, 0.12));
  }

  .rewards-journey-step small {
    font-size: 0.62rem;
  }

  .rewards-prize-cta {
    grid-template-columns: 76px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    column-gap: 10px;
    row-gap: 4px;
    min-height: 72px;
    padding: 7px 0 0;
    border-top: 1px solid rgba(255, 202, 223, 0.82);
    border-left: 0;
  }

  button.rewards-prize-cta {
    border-left: 0;
  }

  .rewards-prize-cta::before {
    content: none;
    position: absolute;
    top: -27px;
    right: 11%;
    color: var(--primary-strong);
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1;
  }

  .rewards-prize-gift {
    grid-row: span 2;
    width: 72px;
    height: 68px;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .rewards-prize-gift .reward-art-3d {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 7px 9px rgba(184, 25, 92, 0.16));
  }

  .rewards-prize-cta strong {
    font-size: 0.82rem;
    text-align: left;
  }

  .rewards-feature-link {
    grid-column: 2;
    width: auto;
    min-width: 0;
    min-height: 34px;
    margin: 0;
    padding: 8px 12px;
    font-size: 0.78rem;
  }
}

/* La misma identidad visual se mantiene en todos los tamaños; solo cambia la escala. */
@media (min-width: 1100px) {
  .rewards-feature-card {
    min-height: 254px;
    padding: 22px 30px;
    border: 2px solid rgba(255, 255, 255, 0.94);
    background:
      radial-gradient(circle at 84% 48%, rgba(255, 116, 176, 0.2), transparent 29%),
      radial-gradient(circle at 24% 52%, rgba(255, 255, 255, 0.92), transparent 46%),
      linear-gradient(135deg, rgba(255, 246, 250, 0.98), rgba(255, 228, 240, 0.96));
    box-shadow:
      0 24px 54px rgba(243, 108, 162, 0.16),
      inset 0 0 0 1px rgba(255, 181, 210, 0.22);
  }

  .rewards-journey {
    grid-template-columns: minmax(0, 1fr) 34px minmax(250px, 0.4fr);
    gap: 10px;
  }

  .rewards-journey-copy h3 {
    font-size: clamp(1.85rem, 2.4vw, 2.32rem);
    line-height: 1.04;
    white-space: nowrap;
  }

  .rewards-journey-steps {
    justify-content: space-between;
    gap: clamp(7px, 1vw, 14px);
    margin-top: 16px;
  }

  .rewards-journey-step {
    min-width: 76px;
    gap: 6px;
  }

  .rewards-journey-step small {
    font-size: 0.78rem;
    line-height: 1.08;
  }

  .rewards-journey-badge {
    width: 68px;
    height: 68px;
    border-color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.5);
    box-shadow:
      0 10px 22px rgba(231, 91, 151, 0.08),
      inset 0 0 0 1px rgba(255, 197, 221, 0.28);
    overflow: visible;
  }

  .rewards-journey-badge .reward-art-3d {
    width: 66px;
    height: 66px;
    object-fit: contain;
    filter: drop-shadow(0 7px 10px rgba(89, 35, 61, 0.12));
  }

  .rewards-journey-badge.interaction,
  .rewards-journey-badge.unlock,
  .rewards-journey-badge.gift,
  .rewards-journey-badge.superlike,
  .rewards-journey-badge.points {
    color: inherit;
    background: rgba(255, 255, 255, 0.54);
  }

  .rewards-journey-arrow,
  .rewards-prize-arrow {
    color: #f6156a;
    text-shadow: 0 5px 12px rgba(246, 21, 106, 0.15);
  }

  .rewards-prize-arrow {
    justify-self: center;
    font-size: 2.1rem;
  }

  .rewards-prize-cta {
    gap: 2px;
    padding-left: 0;
    border-left: 0;
  }

  .rewards-prize-gift {
    width: 224px;
    height: 142px;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .rewards-prize-gift::after {
    inset: -10px;
    background: radial-gradient(circle, rgba(255, 166, 205, 0.36), rgba(255, 197, 220, 0) 70%);
  }

  .rewards-prize-gift .reward-art-3d {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 15px rgba(184, 25, 92, 0.18));
  }

  .rewards-prize-cta strong {
    margin-top: -3px;
    font-size: 0.94rem;
  }

  .rewards-feature-link {
    min-width: 238px;
    min-height: 48px;
    padding: 11px 22px;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 32px rgba(255, 43, 122, 0.27);
  }
}

/* Tablet conserva el mismo arte 3D en una composición compacta, sin saltos altos. */
@media (min-width: 781px) and (max-width: 1099px) {
  .boost-feature-main {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .boost-flow-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .boost-feature-btn {
    width: auto;
    min-width: 160px;
  }

  .rewards-feature-card {
    min-height: 0;
    padding: 22px 24px;
  }

  .rewards-journey-copy h3 {
    font-size: 1.55rem;
  }

  .rewards-journey-badge {
    width: 58px;
    height: 58px;
  }

  .rewards-journey-badge .reward-art-3d {
    width: 56px;
    height: 56px;
  }

  .rewards-prize-cta {
    grid-template-columns: 104px minmax(0, 1fr);
    column-gap: 14px;
  }

  .rewards-prize-gift {
    width: 100px;
    height: 90px;
  }

  .rewards-prize-cta strong {
    font-size: 0.94rem;
  }

  .rewards-feature-link {
    grid-column: 2;
    width: 100%;
    min-height: 42px;
    font-size: 0.9rem;
  }
}

/* Centra el conjunto visible (icono + valor) sin modificar la versión móvil. */
@media (min-width: 781px) {
  .stat-card {
    grid-template-columns: 46px 104px;
    justify-content: center;
  }

  .stat-card > div {
    width: 104px;
    justify-items: center;
    text-align: center;
  }

  .stat-card strong,
  .stat-card span:last-child {
    width: 100%;
    text-align: center;
  }
}

/* Composición final para teléfonos: pasos legibles y acciones a ancho completo. */
@media (max-width: 780px) {
  .rewards-feature-card {
    padding: 8px 12px;
  }

  .rewards-journey {
    gap: 2px;
  }

  .rewards-journey-copy {
    position: relative;
  }

  .rewards-journey-copy h3 {
    font-size: clamp(0.96rem, 4.6vw, 1.06rem);
  }

  .rewards-journey-steps {
    grid-template-columns:
      minmax(0, 1fr) 9px
      minmax(0, 1fr) 9px
      minmax(0, 1fr) 9px
      minmax(0, 1fr) 9px
      minmax(0, 1fr);
    gap: 1px;
    margin-top: 4px;
  }

  .rewards-journey-step {
    grid-template-rows: 38px minmax(2em, auto);
    align-items: start;
    gap: 4px;
  }

  .rewards-journey-badge {
    width: 36px;
    height: 36px;
  }

  .rewards-journey-badge .reward-art-3d {
    width: 34px;
    height: 34px;
  }

  .rewards-journey-arrow {
    display: grid;
    place-items: center;
    align-self: start;
    min-width: 0;
    padding-top: 11px;
    color: var(--primary-strong);
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1;
  }

  .rewards-journey-step small {
    display: flex;
    min-height: 2em;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.12;
    font-size: 0.57rem;
  }

  .rewards-convergence {
    position: absolute;
    right: 0;
    bottom: -13px;
    left: 0;
    z-index: 2;
    display: block;
    height: 16px;
    pointer-events: none;
  }

  .rewards-convergence-map {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    color: var(--primary-strong);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
  }

  .rewards-convergence-map path {
    vector-effect: non-scaling-stroke;
  }

  .rewards-prize-cta {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 40px 34px;
    justify-items: center;
    width: 100%;
    min-height: 74px;
    height: 74px;
    padding: 0;
    border-top: 0;
    border-left: 0;
  }

  .rewards-prize-cta::before {
    content: none;
    display: none;
  }

  .rewards-prize-gift {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    z-index: 2;
    width: 52px;
    height: 40px;
    border-radius: 13px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 34%, #fff 0%, #fff0f6 55%, #ffdce9 100%);
    box-shadow:
      inset 0 0 0 1px rgba(255, 190, 216, 0.58),
      0 8px 18px rgba(219, 70, 132, 0.11);
  }

  .rewards-prize-gift .reward-art-3d {
    transform: scale(1.12);
  }

  .rewards-prize-cta strong {
    display: none;
  }

  .rewards-feature-link {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    justify-self: center;
    z-index: 1;
    width: min(100%, 270px);
    min-height: 34px;
    margin: 0;
    padding: 7px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transform: none;
  }

  .rewards-link-desktop {
    display: none;
  }

  .rewards-link-mobile {
    display: inline;
  }

  .boost-feature-card {
    padding: 14px;
  }

  .boost-feature-card,
  .boost-feature-main,
  .boost-feature-flow {
    gap: 7px;
  }

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

  .boost-feature-icon.rocket {
    width: 54px;
    height: 54px;
    border-radius: 17px;
  }

  .boost-feature-copy h3 {
    font-size: 1.04rem;
  }

  .boost-feature-copy p {
    margin-top: 5px;
    font-size: 0.8rem;
  }

  .boost-feature-flow > strong {
    max-width: none;
    font-size: 0.92rem;
    text-align: center;
  }

  .boost-flow-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 7px;
    align-items: center;
  }

  .boost-flow-steps {
    width: 100%;
    gap: 4px;
  }

  .boost-flow-badge {
    width: 32px;
    height: 32px;
  }

  .boost-flow-step small {
    display: flex;
    min-height: 3.2em;
    align-items: flex-start;
    justify-content: center;
    font-size: 0.61rem;
    line-height: 1.08;
  }

  .boost-feature-btn {
    width: 104px;
    min-width: 104px;
    min-height: 38px;
    padding: 9px 8px;
    justify-self: end;
    font-size: 0.76rem;
  }
}

/* Permite que el pico de la animación se vea completo en desktop. */
@media (min-width: 781px) {
  .rewards-feature-card.rewards-attention {
    overflow: visible;
  }

  .rewards-feature-card .rewards-final-gift {
    overflow: visible;
  }
}

/* Flujo móvil final y aislado: se declara al cierre para impedir interferencias previas. */
@media (max-width: 780px) {
  .rewards-feature-card .rewards-journey-copy > .rewards-convergence {
    position: absolute;
    inset: auto 0 -2px;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    justify-items: center;
    width: 100%;
    height: 14px;
    margin: 0;
    padding: 0;
    pointer-events: none;
  }

  .rewards-feature-card .rewards-convergence-arrow {
    display: block;
    width: 14px;
    height: 14px;
    margin: 0;
    color: var(--primary-strong);
  }

  .rewards-feature-card .rewards-convergence-arrow:first-child,
  .rewards-feature-card .rewards-convergence-arrow:last-child {
    width: 18px;
    height: 20px;
    transform-origin: top center;
  }

  .rewards-feature-card .rewards-final-action {
    appearance: none;
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
    grid-template-rows: 74px;
    align-items: center;
    gap: 0;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 74px;
    min-height: 74px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    transform: none;
  }

  .rewards-feature-card .rewards-final-gift {
    position: relative;
    inset: auto;
    grid-column: 2;
    grid-row: 1;
    place-self: center;
    z-index: 2;
    box-sizing: border-box;
    width: 92px;
    height: 72px;
    margin: 0;
    border-radius: 17px;
    overflow: visible;
  }

  .rewards-feature-card .rewards-final-action > strong {
    position: relative;
    grid-column: 3;
    grid-row: 1;
    place-self: center;
    display: flex;
    align-items: flex-end;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    color: var(--text);
    font-size: 0.7rem;
    font-weight: 900;
    line-height: 1;
    text-align: left;
    white-space: nowrap;
  }

  .rewards-feature-card .rewards-label-copy {
    display: grid;
    gap: 1px;
    line-height: 1.02;
  }

  .rewards-feature-card .rewards-label-copy > span {
    display: block;
  }

  .rewards-feature-card .rewards-label-copy > span + span::before {
    content: none;
  }

  .rewards-feature-card .rewards-gift-chevron {
    display: none;
  }

  .rewards-feature-card .rewards-inline-chevron {
    display: block;
    width: 12px;
    height: 12px;
    margin-bottom: -1px;
    margin-left: 3px;
    flex: 0 0 auto;
    color: var(--primary-strong);
  }

  .rewards-feature-card .rewards-final-action:hover .reward-art-3d {
    transform: scale(1.12);
  }

  .rewards-feature-card .rewards-final-action:active .reward-art-3d {
    transform: scale(1.04);
  }

  .rewards-feature-card.rewards-attention .rewards-final-gift {
    animation:
      rewards-gift-pop-mobile 1000ms cubic-bezier(0.2, 0.8, 0.2, 1) 180ms both,
      rewards-gift-glow-mobile 1350ms ease-out 260ms both;
  }

  .rewards-feature-card.rewards-attention .rewards-final-gift::after {
    animation: rewards-gift-shine-mobile 1080ms ease-out 240ms both;
  }
}

@keyframes rewards-gift-pop-mobile {
  0% { opacity: 0; transform: scale(0.82) rotate(-4deg); }
  52% { opacity: 1; transform: scale(2) rotate(1.5deg); }
  74% { opacity: 1; transform: scale(0.94) rotate(-0.5deg); }
  88% { opacity: 1; transform: scale(1.05) rotate(0.25deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes rewards-gift-glow-mobile {
  0% { box-shadow: inset 0 0 0 1px rgba(255, 190, 216, 0.58), 0 0 0 rgba(255, 46, 127, 0); }
  55% { box-shadow: inset 0 0 0 1px rgba(255, 190, 216, 0.74), 0 0 30px rgba(255, 46, 127, 0.32); }
  100% { box-shadow: inset 0 0 0 1px rgba(255, 190, 216, 0.58), 0 8px 18px rgba(219, 70, 132, 0.11); }
}

@keyframes rewards-gift-shine-mobile {
  0% { opacity: 0; transform: scale(0.74); }
  48% { opacity: 0.88; }
  100% { opacity: 0; transform: scale(1.36); }
}

@media (max-width: 780px) and (prefers-reduced-motion: reduce) {
  .rewards-feature-card.rewards-attention .rewards-final-gift,
  .rewards-feature-card.rewards-attention .rewards-final-gift::after {
    animation: none;
  }
}

/*
 * Modales transaccionales del tema masculino.
 * Estas reglas modifican solo color; el tema rosa sigue siendo el predeterminado.
 */
body.unified-page.theme-male #boostModal .modal-overlay,
body.unified-page.theme-male #rewardsModal .modal-overlay {
  background:
    radial-gradient(circle at 50% 12%, rgba(36, 83, 255, 0.18), transparent 34%),
    rgba(14, 20, 43, 0.76);
}

body.unified-page.theme-male .boost-modal-content,
body.unified-page.theme-male .rewards-panel-modal {
  background:
    radial-gradient(circle at top center, rgba(36, 83, 255, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 255, 0.99));
  border: 1px solid rgba(72, 108, 255, 0.24);
  box-shadow: 0 30px 80px rgba(36, 83, 255, 0.16);
}

body.unified-page.theme-male .boost-modal-kicker,
body.unified-page.theme-male #rewardsModal .rewards-modal-close {
  background: rgba(232, 238, 255, 0.96);
  color: var(--primary);
}

body.unified-page.theme-male .boost-plan-card {
  border-color: rgba(72, 108, 255, 0.24);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(36, 83, 255, 0.1);
}

body.unified-page.theme-male .boost-plan-icon {
  background: linear-gradient(180deg, #f4f7ff 0%, #e3eaff 100%);
  box-shadow: inset 0 0 0 1px rgba(72, 108, 255, 0.24);
}

body.unified-page.theme-male .boost-pay-btn {
  border-color: rgba(36, 83, 255, 0.72);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.92), transparent 42%),
    linear-gradient(145deg, #f1f5ff 0%, #dce5ff 100%);
  color: var(--text);
  box-shadow:
    0 12px 26px rgba(36, 83, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.76);
}

body.unified-page.theme-male .boost-pay-btn.primary {
  border-color: rgba(36, 83, 255, 0.72);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.92), transparent 42%),
    linear-gradient(145deg, #f1f5ff 0%, #dce5ff 100%);
  color: var(--text);
  box-shadow:
    0 12px 26px rgba(36, 83, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.76);
}

body.unified-page.theme-male .boost-pay-btn small,
body.unified-page.theme-male .boost-pay-btn.primary small {
  color: #1745e3;
}

body.unified-page.theme-male .profile-reward-card {
  border-color: rgba(72, 108, 255, 0.18);
  box-shadow: 0 12px 26px rgba(36, 83, 255, 0.1);
}

body.unified-page.theme-male .profile-reward-card.available {
  border-color: rgba(36, 83, 255, 0.72);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.92), transparent 42%),
    linear-gradient(145deg, #f1f5ff 0%, #dce5ff 100%);
  box-shadow:
    0 16px 32px rgba(36, 83, 255, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.76);
}

body.unified-page.theme-male .profile-reward-card.available:hover {
  border-color: var(--primary-strong);
  box-shadow:
    0 20px 38px rgba(36, 83, 255, 0.26),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

body.unified-page.theme-male .profile-reward-card.available:focus-visible {
  outline-color: rgba(36, 83, 255, 0.34);
}

body.unified-page.theme-male .profile-reward-card.available .reward-card-status {
  color: #1745e3;
}
