﻿:root {
  --bg: #03070b;
  --panel: rgba(4, 10, 15, 0.9);
  --panel-soft: rgba(7, 14, 22, 0.78);
  --line: rgba(142, 176, 198, 0.2);
  --line-hot: rgba(255, 42, 137, 0.58);
  --pink: #ff2d8f;
  --pink-soft: #ff75bd;
  --teal: #20d5ff;
  --text: #f8f8fb;
  --muted: #a8adb7;
  --dim: #6f7782;
  --sidebar: 272px;
}


* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, Montserrat, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 65% 2%, rgba(22, 196, 230, 0.25), transparent 26rem),
    radial-gradient(circle at 85% 42%, rgba(255, 45, 143, 0.2), transparent 25rem),
    linear-gradient(135deg, #020408 0%, #07121a 44%, #020307 100%);
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 22px;
  border-right: 1px solid rgba(178, 203, 221, 0.25);
  background:
    linear-gradient(180deg, rgba(5, 10, 16, 0.98), rgba(3, 7, 11, 0.92)),
    radial-gradient(circle at 35% 8%, rgba(255, 45, 143, 0.3), transparent 14rem);
  overflow: hidden;
}

.sidebar::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, rgba(255, 45, 143, 0.05));
  pointer-events: none;
}

.brand {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0 0 34px;
  color: var(--pink-soft);
  font-family: Mistral, "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(2.8rem, 3vw, 3.4rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-shadow:
    0 0 8px rgba(255, 45, 143, 0.92),
    0 0 22px rgba(255, 45, 143, 0.72),
    0 0 44px rgba(255, 45, 143, 0.42);
}

.profiles-directory-mode .diamond-profiles-section,
.profiles-directory-mode .verified-section {
  display: none;
}

.main-nav {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
}

.nav-item {
  min-height: 44px;
  display: grid;
  grid-template-columns: 22px 1fr 14px;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  color: rgba(247, 248, 251, 0.62);
  border: 1px solid transparent;
  border-radius: 12px;
}

.nav-item.active,
.nav-item:hover {
  color: #ffd3e9;
  border-color: rgba(255, 45, 143, 0.35);
  background:
    linear-gradient(90deg, rgba(255, 45, 143, 0.22), rgba(255, 45, 143, 0.02)),
    rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 16px rgba(255, 45, 143, 0.12);
}

.nav-item.active svg:first-child {
  color: var(--pink-soft);
  filter: drop-shadow(0 0 8px rgba(255, 45, 143, 0.8));
}

.chevron {
  color: var(--pink);
}

.filters {
  position: relative;
  z-index: 2;
  margin-top: 20px;
}

.filter-title {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--pink);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.filter-title i {
  display: block;
  height: 1px;
  background: rgba(187, 210, 226, 0.25);
}

.filter-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(255, 45, 143, 0.62);
  border-radius: 999px;
  color: #ffe6f4;
  background:
    linear-gradient(135deg, rgba(255, 45, 143, 0.24), rgba(11, 18, 27, 0.78)),
    rgba(3, 8, 13, 0.9);
  box-shadow: 0 0 14px rgba(255, 45, 143, 0.18);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-toggle:hover,
.filter-toggle:focus-visible {
  border-color: rgba(255, 115, 190, 0.95);
  box-shadow: 0 0 18px rgba(255, 45, 143, 0.34);
  outline: none;
}

.filter-panel {
  display: grid;
  gap: 12px;
  overflow: hidden;
  max-height: 360px;
  opacity: 1;
  transform: translateY(0);
  transition:
    max-height 180ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

.filters.filters-collapsed .filter-title {
  margin-bottom: 0;
}

.filters.filters-collapsed .filter-panel {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.field select {
  width: 100%;
  height: 34px;
  color: #f3f5f8;
  padding: 0 10px;
  border: 1px solid rgba(157, 185, 207, 0.35);
  border-radius: 6px;
  background: rgba(3, 8, 13, 0.82);
}

.availability {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 4px 0 16px;
}

.availability div {
  display: grid;
  gap: 6px;
}

.availability span {
  color: var(--muted);
  font-size: 0.75rem;
}

.availability strong {
  color: #dadfe6;
  font-size: 0.76rem;
  font-weight: 500;
}

.switch {
  position: relative;
  width: 36px;
  height: 20px;
  flex: 0 0 auto;
}

.switch input {
  position: absolute;
  opacity: 0;
}

.switch span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(90deg, #d91373, #ff58a9);
  box-shadow: 0 0 13px rgba(255, 45, 143, 0.62);
}

.switch span::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f9fbff;
}

.publish-btn,
.hero-btn {
  display: inline-grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding: 0 18px;
  color: #ffd5ea;
  border: 1px solid rgba(255, 45, 143, 0.9);
  border-radius: 8px;
  background: rgba(6, 10, 16, 0.5);
  box-shadow:
    0 0 9px rgba(255, 45, 143, 0.65),
    inset 0 0 18px rgba(255, 45, 143, 0.16);
  cursor: pointer;
}

.publish-btn {
  width: 100%;
  justify-content: stretch;
}

.publish-btn svg,
.hero-btn svg {
  color: var(--pink-soft);
}

.promo-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 286px;
  bottom: 0;
  min-height: 230px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(3, 7, 11, 0.96) 0%, rgba(3, 7, 11, 0.7) 18%, rgba(3, 7, 11, 0.16) 48%, rgba(3, 7, 11, 0.9) 100%),
    linear-gradient(90deg, rgba(3, 7, 11, 0.42), transparent 42%, rgba(3, 7, 11, 0.34)),
    url("imagenes/promo-city-buildings.png?v=1") center bottom / cover no-repeat,
    #03070b;
}

.promo-city {
  display: none;
}

.promo-car {
  display: none;
}

.promo-car::before,
.promo-car::after {
  content: "";
  position: absolute;
  bottom: 8px;
  width: 38px;
  height: 15px;
  border-radius: 4px;
  background: #ff2d8f;
  box-shadow: 0 0 18px rgba(255, 45, 143, 0.9);
}

.promo-car::before {
  left: 18px;
}

.promo-car::after {
  right: 18px;
}

.road-glow {
  display: none;
}

.content {
  position: relative;
  min-width: 0;
  padding: 20px 50px 36px 26px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.65)),
    radial-gradient(circle at 72% 42%, rgba(255, 45, 143, 0.18), transparent 28rem);
}

.content::before {
  content: "";
  position: fixed;
  inset: 0 0 0 var(--sidebar);
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 10, 14, 0.42), rgba(3, 7, 10, 0.76)),
    repeating-linear-gradient(90deg, transparent 0 88px, rgba(32, 213, 255, 0.04) 88px 90px);
  opacity: 0.65;
}

.topbar,
.hero,
.stories-section,
.verified-section {
  position: relative;
  z-index: 1;
}

.topbar {
  min-height: 44px;
  display: grid;
  grid-template-columns: minmax(320px, 544px) 1fr;
  align-items: center;
  gap: 20px;
}

.search {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 16px;
  color: #dce4ec;
  border: 1px solid rgba(138, 168, 190, 0.18);
  border-radius: 24px;
  background: rgba(1, 6, 10, 0.72);
  box-shadow: inset 0 0 26px rgba(20, 46, 63, 0.36);
}

.search input {
  width: 100%;
  color: var(--text);
  border: 0;
  outline: 0;
  background: transparent;
}

.search input::placeholder {
  color: rgba(246, 248, 251, 0.78);
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 16px;
  color: #eff3f8;
  border: 1px solid rgba(138, 168, 190, 0.18);
  border-radius: 22px;
  background: rgba(3, 8, 13, 0.66);
}

.verified-pill svg,
.section-heading svg,
.profile-status svg {
  color: var(--pink);
  filter: drop-shadow(0 0 7px rgba(255, 45, 143, 0.8));
}

.bell {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #c9d2dc;
  border: 0;
  background: transparent;
}

.bell span {
  position: absolute;
  top: -2px;
  right: 0;
  min-width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.68rem;
  border-radius: 50%;
  background: rgba(255, 78, 166, 0.75);
}

.account {
  position: relative;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  display: grid;
  grid-template-columns: 40px auto;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
}

.account:disabled {
  color: inherit;
  opacity: 1;
  cursor: default;
}

.avatar {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, #f6c3a6 0 11%, transparent 12%),
    radial-gradient(circle at 50% 72%, #252b35 0 28%, transparent 29%),
    linear-gradient(140deg, #18222e, #0a0d12);
  box-shadow: 0 0 18px rgba(255, 45, 143, 0.2);
}

.avatar.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.admin-pending-badge {
  position: absolute;
  top: 50%;
  left: -34px;
  min-width: 24px;
  height: 24px;
  display: grid !important;
  place-items: center;
  margin: 0;
  padding: 0 7px;
  color: #fff !important;
  font-size: 0.72rem !important;
  font-weight: 900;
  line-height: 1;
  border: 1px solid rgba(255, 45, 143, 0.9);
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2d8f, #ff75bd);
  box-shadow:
    0 0 10px rgba(255, 45, 143, 0.72),
    inset 0 0 7px rgba(255, 255, 255, 0.42);
  transform: translateY(-50%);
}

.admin-pending-badge[hidden] {
  display: none !important;
}

.account strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
}

.account span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.74rem;
}

.account .admin-pending-badge {
  display: grid !important;
  margin-top: 0;
  color: #fff !important;
  font-size: 0.72rem !important;
}

.account .admin-pending-badge[hidden] {
  display: none !important;
}

.account-logout {
  min-height: 34px;
  padding: 0 14px;
  color: #ffd5ea;
  border: 1px solid rgba(255, 45, 143, 0.46);
  border-radius: 8px;
  background: rgba(6, 10, 16, 0.72);
  cursor: pointer;
}

.account-logout:hover {
  border-color: rgba(255, 45, 143, 0.78);
  box-shadow: 0 0 14px rgba(255, 45, 143, 0.2);
}

.hero {
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(340px, 620px);
  align-items: center;
  gap: 20px;
  margin-top: 14px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  background:
    linear-gradient(90deg, rgba(4, 9, 14, 0.9) 0%, rgba(4, 9, 14, 0.58) 38%, rgba(4, 9, 14, 0.08) 100%),
    url("imagenes/banner-diamante.png?v=3") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 43%, rgba(0, 0, 0, 0.34) 84%, rgba(0, 0, 0, 0.68));
  pointer-events: none;
}

.hero::after {
  content: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-left: 44px;
  transform: translateY(-10px);
}

.hero-logo {
  margin: 0 0 12px;
  color: var(--pink-soft);
  font-family: Mistral, "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(5rem, 8.8vw, 8rem);
  line-height: 0.82;
  letter-spacing: 0;
  text-shadow:
    0 0 8px rgba(255, 45, 143, 0.95),
    0 0 26px rgba(255, 45, 143, 0.75),
    0 0 54px rgba(255, 45, 143, 0.5);
}

.hero-logo::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 22px;
  margin-left: 14px;
  transform: translateY(-64px) rotate(45deg);
  border: 1px solid var(--pink-soft);
  box-shadow: 0 0 11px rgba(255, 45, 143, 0.75);
  clip-path: polygon(50% 0, 100% 36%, 50% 100%, 0 36%);
}

.hero h1 {
  margin: 0 0 12px;
  color: #f1f3f7;
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.hero-text {
  max-width: 530px;
  margin: 0 0 24px;
  color: rgba(244, 247, 250, 0.72);
  font-size: clamp(0.95rem, 1.05vw, 1rem);
  line-height: 1.55;
}

.hero-btn {
  width: 212px;
  min-height: 50px;
  justify-content: center;
  color: #ffd4ea;
  font-size: 1.1rem;
  border-radius: 10px;
  background: rgba(7, 10, 15, 0.72);
}

.verified-section {
  margin-top: -4px;
}

.diamond-profiles-section {
  position: relative;
  z-index: 1;
  margin: -4px 0 26px;
  padding: 14px;
  border: 1px solid rgba(255, 45, 143, 0.32);
  border-radius: 10px;
  background:
    radial-gradient(circle at 76% 0, rgba(32, 213, 255, 0.1), transparent 22rem),
    rgba(14, 4, 14, 0.46);
  box-shadow: inset 0 0 24px rgba(255, 45, 143, 0.08);
}

.gold-profiles-section {
  position: relative;
  z-index: 1;
  margin: -4px 0 26px;
  padding: 14px;
  border: 1px solid rgba(255, 196, 92, 0.36);
  border-radius: 10px;
  background:
    radial-gradient(circle at 76% 0, rgba(255, 196, 92, 0.1), transparent 22rem),
    rgba(16, 10, 3, 0.46);
  box-shadow: inset 0 0 24px rgba(255, 196, 92, 0.08);
}

.diamond-heading a {
  position: relative;
  z-index: 1;
  color: rgba(247, 248, 251, 0.68);
  font-size: 0.86rem;
}

.gold-heading a {
  position: relative;
  z-index: 1;
  color: rgba(247, 248, 251, 0.68);
  font-size: 0.86rem;
}

.gold-heading svg {
  color: #ffc45c;
}

.diamond-carousel {
  position: relative;
  z-index: 1;
}

.diamond-profile-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 27%);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.gold-profile-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 27%);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.gold-profile-grid .profile-card {
  scroll-snap-align: start;
}

.diamond-profile-grid .profile-card {
  scroll-snap-align: start;
}

.diamond-carousel-arrow {
  position: absolute;
  z-index: 6;
  top: 43%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 98, 179, 0.72);
  border-radius: 50%;
  background: rgba(8, 4, 12, 0.84);
  box-shadow: 0 0 14px rgba(255, 45, 143, 0.46);
  cursor: pointer;
  transform: translateY(-50%);
}

.diamond-carousel-arrow.previous {
  left: -4px;
}

.diamond-carousel-arrow.next {
  right: -4px;
}

.diamond-carousel-arrow svg {
  width: 24px;
  height: 24px;
}

.gold-carousel {
  position: relative;
  z-index: 1;
}

.gold-carousel-arrow {
  position: absolute;
  z-index: 6;
  top: 43%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 196, 92, 0.74);
  border-radius: 50%;
  background: rgba(12, 8, 3, 0.86);
  box-shadow: 0 0 14px rgba(255, 196, 92, 0.34);
  cursor: pointer;
  transform: translateY(-50%);
}

.gold-carousel-arrow.previous {
  left: -4px;
}

.gold-carousel-arrow.next {
  right: -4px;
}

.gold-carousel-arrow svg {
  width: 24px;
  height: 24px;
}

.diamond-card {
  min-height: 348px;
  border-color: rgba(255, 72, 169, 0.9);
  box-shadow:
    0 0 15px rgba(255, 45, 143, 0.6),
    0 0 36px rgba(32, 213, 255, 0.12),
    inset 0 0 18px rgba(255, 45, 143, 0.18);
}

.diamond-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 220, 242, 0.28);
  border-radius: inherit;
  box-shadow: inset 0 0 22px rgba(255, 45, 143, 0.16);
}

.gold-card {
  min-height: 348px;
  border-color: rgba(255, 196, 92, 0.86);
  box-shadow:
    0 0 15px rgba(255, 196, 92, 0.46),
    0 0 32px rgba(255, 45, 143, 0.1),
    inset 0 0 18px rgba(255, 196, 92, 0.14);
}

.gold-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 232, 183, 0.3);
  border-radius: inherit;
  box-shadow: inset 0 0 22px rgba(255, 196, 92, 0.14);
}

.diamond-ribbon {
  position: absolute;
  z-index: 4;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  color: #fff;
  border: 1px solid rgba(255, 125, 195, 0.74);
  border-radius: 5px;
  background: rgba(168, 9, 88, 0.76);
  box-shadow: 0 0 12px rgba(255, 45, 143, 0.48);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gold-ribbon {
  position: absolute;
  z-index: 4;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  color: #fff;
  border: 1px solid rgba(255, 222, 146, 0.76);
  border-radius: 5px;
  background: rgba(161, 100, 4, 0.82);
  box-shadow: 0 0 12px rgba(255, 196, 92, 0.42);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-grid-empty {
  color: rgba(244, 247, 250, 0.56);
}

.profiles-directory {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 76px);
  padding: 22px 0 40px;
}

.directory-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 45, 143, 0.32);
}

.directory-heading span,
.directory-heading h2 {
  display: block;
  margin: 0;
  text-transform: uppercase;
}

.directory-heading span {
  margin-bottom: 7px;
  color: var(--pink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.directory-heading h2 {
  color: rgba(247, 248, 251, 0.84);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.directory-profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.directory-profile-grid .profile-card {
  min-height: 340px;
}

.directory-profile-grid .diamond-card,
.directory-profile-grid .gold-card {
  width: 100%;
  min-height: 420px;
  padding: 0 18px 20px;
  border-radius: 18px;
}

.directory-profile-grid .diamond-card .card-top,
.directory-profile-grid .gold-card .card-top {
  inset: 18px auto auto 18px;
}

.directory-profile-grid .diamond-card .profile-info,
.directory-profile-grid .gold-card .profile-info {
  width: calc(100% - 14px);
  padding-left: 0;
}

.directory-profile-grid .empty-state {
  grid-column: 1 / -1;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-heading div,
.section-heading a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-heading h2 {
  margin: 0;
  color: rgba(247, 248, 251, 0.72);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading a {
  color: rgba(247, 248, 251, 0.68);
  font-size: 0.86rem;
}

.stories-section {
  margin-top: -8px;
  margin-bottom: 26px;
}

.section-action {
  min-height: 34px;
  padding: 0 16px;
  color: #ffd5ea;
  border: 1px solid rgba(255, 45, 143, 0.72);
  border-radius: 8px;
  background: rgba(6, 10, 16, 0.58);
  box-shadow:
    0 0 9px rgba(255, 45, 143, 0.42),
    inset 0 0 18px rgba(255, 45, 143, 0.12);
  cursor: pointer;
}

.stories-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 2px 0 8px;
  scrollbar-width: thin;
}

.story-bubble {
  position: relative;
  width: 112px;
  flex: 0 0 112px;
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 0;
  color: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.story-ring {
  position: relative;
  width: 82px;
  height: 82px;
  display: block;
  overflow: hidden;
  padding: 3px;
  border-radius: 50%;
  background:
    conic-gradient(from 220deg, var(--pink), var(--teal), var(--pink-soft), var(--pink));
  box-shadow:
    0 0 14px rgba(255, 45, 143, 0.56),
    0 0 24px rgba(32, 213, 255, 0.16);
}

.story-ring img,
.story-ring video,
.story-placeholder {
  width: 100%;
  height: 100%;
  display: block;
  border: 3px solid #050a0f;
  border-radius: 50%;
  object-fit: cover;
}

.story-placeholder {
  background:
    linear-gradient(90deg, transparent 12%, rgba(255, 45, 143, 0.32) 13% 15%, transparent 16% 48%, rgba(32, 213, 255, 0.24) 49% 51%, transparent 52% 76%, rgba(255, 45, 143, 0.2) 77% 79%, transparent 80%),
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.16), transparent 3rem);
}

.story-count {
  position: absolute;
  top: 58px;
  right: 18px;
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  background: rgba(255, 45, 143, 0.88);
  box-shadow:
    0 0 10px rgba(255, 45, 143, 0.7),
    0 0 16px rgba(32, 213, 255, 0.28);
}

.story-info {
  width: 100%;
  display: grid;
  gap: 3px;
  text-align: center;
}

.story-info strong {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-info small {
  color: rgba(244, 247, 250, 0.55);
  font-size: 0.68rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-empty {
  min-height: 148px;
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 28px;
  text-align: center;
  border: 1px solid rgba(255, 45, 143, 0.32);
  border-radius: 10px;
  background: rgba(5, 10, 16, 0.72);
}

.story-empty span {
  color: var(--pink-soft);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story-empty strong {
  color: rgba(247, 248, 251, 0.72);
  font-size: 0.92rem;
  font-weight: 500;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 16px;
}

.verified-carousel {
  position: relative;
}

.verified-profile-grid {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 19%);
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.verified-profile-grid .profile-card {
  scroll-snap-align: start;
}

.verified-carousel-arrow {
  position: absolute;
  z-index: 6;
  top: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--pink-soft);
  border: 1px solid rgba(255, 45, 143, 0.54);
  border-radius: 50%;
  background: rgba(5, 9, 14, 0.86);
  box-shadow: 0 0 12px rgba(255, 45, 143, 0.28);
  cursor: pointer;
  transform: translateY(-50%);
}

.verified-carousel-arrow.previous {
  left: 8px;
}

.verified-carousel-arrow.next {
  right: 8px;
}

.verified-carousel-arrow svg {
  width: 22px;
  height: 22px;
}

.profile-card {
  position: relative;
  min-height: 312px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  color: inherit;
  text-align: left;
  overflow: hidden;
  border: 1px solid rgba(255, 45, 143, 0.42);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(4, 8, 13, 0.94)),
    radial-gradient(circle at 50% 18%, rgba(255, 45, 143, 0.38), transparent 9rem),
    #050a0f;
  cursor: pointer;
}

.profile-card.active {
  border-color: rgba(255, 69, 161, 0.96);
  box-shadow:
    0 0 14px rgba(255, 45, 143, 0.95),
    0 0 34px rgba(255, 45, 143, 0.42),
    inset 0 0 16px rgba(255, 45, 143, 0.22);
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0 44%, rgba(2, 5, 8, 0.18) 58%, rgba(2, 5, 8, 0.95) 82%),
    linear-gradient(90deg, transparent 8%, rgba(255, 45, 143, 0.36) 9% 11%, transparent 12% 42%, rgba(32, 213, 255, 0.24) 43% 45%, transparent 46% 74%, rgba(255, 45, 143, 0.2) 75% 77%, transparent 78%);
  clip-path: polygon(0 100%, 0 0, 100% 0, 100% 100%);
}

.profile-photo {
  position: absolute;
  left: 50%;
  bottom: 92px;
  width: 74%;
  height: 70%;
  transform: translateX(-50%);
}

.profile-photo::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 12%;
  width: 42%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, #f2c8ae 0 34%, transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(20, 12, 14, 0.95), rgba(8, 10, 15, 0.98) 70%);
  box-shadow: 0 0 20px rgba(255, 45, 143, 0.2);
}

.profile-photo::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 78%;
  height: 64%;
  transform: translateX(-50%);
  border-radius: 46% 46% 12px 12px;
  background:
    linear-gradient(90deg, transparent 0 24%, rgba(247, 248, 251, 0.82) 24% 37%, transparent 37% 63%, rgba(247, 248, 251, 0.82) 63% 76%, transparent 76%),
    linear-gradient(150deg, #161d27, #06080d 70%);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.04);
}

.profile-photo.has-image {
  inset: 0;
  width: 100%;
  height: 100%;
  bottom: auto;
  left: 0;
  transform: none;
  background-size: cover;
  background-position: center;
}

.profile-photo.has-image::before,
.profile-photo.has-image::after {
  display: none;
}

.profile-photo.has-image,
.detail-photo.has-real-photo,
.viewer-media img,
.viewer-media video,
.profile-video-card video {
  -webkit-user-drag: none;
  user-select: none;
}

.profile-card::after,
.detail-photo.has-real-photo::after,
.viewer-phone::after,
.profile-video-card::after {
  content: "Di'Amante";
  position: absolute;
  z-index: 9;
  right: 14px;
  bottom: 12px;
  padding: 4px 8px;
  color: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 45, 143, 0.28);
  border-radius: 999px;
  background: rgba(4, 8, 14, 0.38);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
  text-shadow: 0 0 6px rgba(255, 45, 143, 0.42);
}

.profile-info {
  position: relative;
  z-index: 2;
  padding: 0 16px 14px;
}

.profile-name {
  margin: 0 0 4px;
  font-size: 1.08rem;
  line-height: 1.1;
  font-weight: 500;
  text-transform: uppercase;
}

.profile-city,
.profile-region {
  margin: 0;
  color: rgba(244, 247, 250, 0.66);
  font-size: 0.85rem;
  line-height: 1.4;
}

.profile-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: #fff;
  font-size: 0.86rem;
}

.profile-status svg {
  width: 1rem;
  height: 1rem;
}

.empty-state {
  min-height: 312px;
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 32px;
  text-align: center;
  border: 1px solid rgba(255, 45, 143, 0.4);
  border-radius: 10px;
  background:
    radial-gradient(circle at center, rgba(255, 45, 143, 0.14), transparent 18rem),
    rgba(5, 10, 16, 0.76);
  box-shadow: inset 0 0 26px rgba(255, 45, 143, 0.08);
}

.empty-state span {
  color: var(--pink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 45, 143, 0.72);
}

.empty-state strong {
  color: rgba(247, 248, 251, 0.78);
  font-size: 1rem;
  font-weight: 500;
}

.empty-state button {
  min-height: 36px;
  margin-top: 8px;
  padding: 0 18px;
  color: #ffd5ea;
  border: 1px solid rgba(255, 45, 143, 0.82);
  border-radius: 8px;
  background: rgba(6, 10, 16, 0.58);
  box-shadow:
    0 0 9px rgba(255, 45, 143, 0.48),
    inset 0 0 18px rgba(255, 45, 143, 0.12);
  cursor: pointer;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.auth-modal.open {
  opacity: 1;
  visibility: visible;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 62% 28%, rgba(255, 45, 143, 0.16), transparent 24rem),
    rgba(0, 3, 7, 0.76);
  backdrop-filter: blur(14px);
}

.auth-card {
  position: relative;
  width: min(440px, 100%);
  min-height: 520px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 45, 143, 0.45);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(7, 15, 23, 0.94), rgba(3, 7, 12, 0.97)),
    radial-gradient(circle at 50% 0, rgba(32, 213, 255, 0.2), transparent 17rem);
  box-shadow:
    0 0 28px rgba(255, 45, 143, 0.35),
    0 26px 80px rgba(0, 0, 0, 0.72),
    inset 0 0 28px rgba(255, 45, 143, 0.08);
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent),
    repeating-linear-gradient(90deg, transparent 0 78px, rgba(32, 213, 255, 0.04) 78px 80px);
  opacity: 0.55;
}

.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: rgba(247, 248, 251, 0.78);
  border: 1px solid rgba(157, 185, 207, 0.22);
  border-radius: 50%;
  background: rgba(2, 7, 12, 0.72);
  cursor: pointer;
}

.auth-brand {
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
  color: var(--pink-soft);
  font-family: Mistral, "Brush Script MT", "Segoe Script", cursive;
  font-size: 3.4rem;
  line-height: 0.9;
  text-shadow:
    0 0 8px rgba(255, 45, 143, 0.95),
    0 0 26px rgba(255, 45, 143, 0.72);
}

.auth-panel {
  position: relative;
  z-index: 1;
  display: none;
}

.auth-panel.active {
  display: block;
}

.auth-kicker {
  display: block;
  margin-bottom: 9px;
  color: var(--pink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.auth-panel h2 {
  margin: 0 0 10px;
  color: #f9fbff;
  font-size: 1.55rem;
  font-weight: 500;
}

.auth-panel p {
  margin: 0 0 22px;
  color: rgba(244, 247, 250, 0.68);
  font-size: 0.92rem;
  line-height: 1.5;
}

.auth-field {
  display: grid;
  gap: 8px;
  margin-bottom: 15px;
  color: rgba(244, 247, 250, 0.74);
  font-size: 0.78rem;
}

.auth-field input,
.auth-field select,
.auth-field textarea {
  width: 100%;
  padding: 0 13px;
  color: var(--text);
  border: 1px solid rgba(157, 185, 207, 0.28);
  border-radius: 8px;
  outline: 0;
  background: rgba(2, 7, 12, 0.72);
  box-shadow: inset 0 0 18px rgba(32, 213, 255, 0.06);
}

.auth-field input,
.auth-field select {
  height: 44px;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: rgba(244, 247, 250, 0.68);
  border: 1px solid rgba(255, 45, 143, 0.28);
  border-radius: 8px;
  background: rgba(6, 10, 16, 0.58);
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.password-toggle:hover,
.password-toggle:focus-visible,
.password-toggle.active {
  color: #fff;
  border-color: rgba(255, 45, 143, 0.7);
  outline: none;
  box-shadow: 0 0 10px rgba(255, 45, 143, 0.28);
}

.auth-field textarea {
  min-height: 112px;
  padding-top: 11px;
  resize: vertical;
}

.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus {
  border-color: rgba(255, 45, 143, 0.78);
  box-shadow:
    0 0 12px rgba(255, 45, 143, 0.28),
    inset 0 0 18px rgba(255, 45, 143, 0.08);
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 2px 0 20px;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(244, 247, 250, 0.68);
  font-size: 0.8rem;
}

.remember input {
  accent-color: var(--pink);
}

.link-button {
  padding: 0;
  color: var(--pink-soft);
  border: 0;
  background: transparent;
  font-size: 0.8rem;
  cursor: pointer;
}

.auth-submit,
.auth-secondary {
  width: 100%;
  min-height: 44px;
  border-radius: 9px;
  cursor: pointer;
}

.auth-submit {
  color: #fff;
  border: 1px solid rgba(255, 45, 143, 0.88);
  background: linear-gradient(90deg, rgba(214, 19, 115, 0.9), rgba(255, 88, 169, 0.86));
  box-shadow:
    0 0 14px rgba(255, 45, 143, 0.55),
    inset 0 0 18px rgba(255, 255, 255, 0.12);
}

.auth-secondary {
  margin-top: 10px;
  color: #ffd5ea;
  border: 1px solid rgba(255, 45, 143, 0.48);
  background: rgba(6, 10, 16, 0.54);
}

.google-login-box {
  display: grid;
  min-height: 44px;
  margin-top: 12px;
  gap: 12px;
  place-items: stretch;
}

.google-login-box[hidden] {
  display: none;
}

.google-nickname-field {
  width: 100%;
  margin-bottom: 0;
}

.google-nickname-field input {
  border-color: rgba(255, 45, 143, 0.42);
  background:
    linear-gradient(90deg, rgba(6, 10, 16, 0.94), rgba(9, 18, 28, 0.92)) !important;
  box-shadow: inset 0 0 14px rgba(255, 45, 143, 0.08);
}

.google-nickname-field span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.google-nickname-field small {
  color: rgba(244, 247, 250, 0.48);
  font-size: 0.68rem;
  font-weight: 400;
}

#googleLoginButton,
#ratingGoogleLoginButton {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-sizing: border-box;
  padding: 2px;
  border: 1px solid rgba(255, 45, 143, 0.66);
  border-radius: 999px;
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 45, 143, 0.28), transparent 6rem),
    linear-gradient(90deg, rgba(6, 10, 16, 0.92), rgba(12, 21, 32, 0.86));
  box-shadow:
    0 0 14px rgba(255, 45, 143, 0.36),
    inset 0 0 18px rgba(32, 213, 255, 0.06);
}

#googleLoginButton > div,
#ratingGoogleLoginButton > div {
  width: 100% !important;
  min-width: 0;
  display: flex;
  justify-content: center;
}

#googleLoginButton iframe,
#ratingGoogleLoginButton iframe {
  display: block;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto;
}

.google-nickname-submit {
  margin-top: 0;
}

.google-nickname-card {
  width: min(390px, calc(100vw - 32px));
  min-height: auto;
  padding: 30px 28px;
}

.google-nickname-card .auth-brand {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 8vw, 3rem);
}

.google-nickname-card .auth-panel h2 {
  font-size: 1.55rem;
}

.auth-message {
  min-height: 22px;
  margin: 14px 0 0;
  color: rgba(244, 247, 250, 0.72);
  font-size: 0.82rem;
}

.auth-message.success {
  color: #9ee8ff;
}

.story-card {
  min-height: 560px;
}

.rating-card {
  max-height: 92vh;
  overflow-y: auto;
}

.ratings-view-card {
  min-height: 360px;
  max-height: 86vh;
  overflow-y: auto;
}

#ratingModal {
  z-index: 32;
}

#ratingsViewModal {
  z-index: 33;
}

.ratings-view-list {
  display: grid;
  gap: 10px;
}

.ratings-view-list .detail-review-item {
  padding: 10px;
  border-color: rgba(32, 213, 255, 0.22);
  border-radius: 6px;
  background: rgba(2, 8, 14, 0.86);
}

.ratings-view-list .detail-review-item strong {
  color: var(--pink-soft);
  font-size: 0.86rem;
}

.rating-diamonds {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 3px;
  vertical-align: middle;
}

.rating-diamond {
  font-size: 0.78rem;
  line-height: 1;
  text-shadow: 0 0 7px rgba(255, 45, 143, 0.48);
}

.rating-diamond.diamond-1 {
  color: #ffd8ef;
}

.rating-diamond.diamond-2 {
  color: #ffafd9;
}

.rating-diamond.diamond-3 {
  color: #ff7fc1;
}

.rating-diamond.diamond-4 {
  color: #ff4da3;
}

.rating-diamond.diamond-5 {
  color: #e00072;
}

.ratings-view-list .detail-review-item p {
  color: rgba(244, 247, 250, 0.76);
  font-size: 0.82rem;
}

.rating-consent {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 5px 0 16px;
  color: rgba(244, 247, 250, 0.68);
  font-size: 0.78rem;
  line-height: 1.35;
}

.rating-consent input {
  accent-color: var(--pink);
}

.verification-modal {
  overflow-y: auto;
}

.verification-card {
  position: relative;
  width: min(820px, 100%);
  max-width: calc(100vw - 32px);
  max-height: 92vh;
  box-sizing: border-box;
  margin: auto;
  overflow-y: auto;
  padding: 28px;
  border: 1px solid rgba(255, 45, 143, 0.46);
  border-radius: 14px;
  background:
    radial-gradient(circle at 72% 0, rgba(32, 213, 255, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(7, 15, 23, 0.98), rgba(3, 7, 12, 0.99));
  box-shadow:
    0 0 28px rgba(255, 45, 143, 0.34),
    0 26px 80px rgba(0, 0, 0, 0.72);
}

.verification-card h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 500;
}

.verification-intro {
  margin: 0 0 20px;
  color: rgba(244, 247, 250, 0.68);
  font-size: 0.9rem;
  line-height: 1.5;
}

.verification-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.verification-form label {
  display: grid;
  gap: 7px;
  color: rgba(244, 247, 250, 0.72);
  font-size: 0.78rem;
}

.verification-form input,
.verification-form select,
.verification-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  color: var(--text);
  border: 1px solid rgba(157, 185, 207, 0.28);
  border-radius: 8px;
  outline: 0;
  background: rgba(2, 7, 12, 0.72);
}

.verification-form textarea {
  padding-top: 10px;
  resize: vertical;
}

.verification-form input:focus,
.verification-form select:focus,
.verification-form textarea:focus {
  border-color: rgba(255, 45, 143, 0.78);
  box-shadow: 0 0 12px rgba(255, 45, 143, 0.22);
}

.verification-form small {
  min-height: 14px;
  color: #ff8cbf;
}

.verification-form small.valid {
  color: #9ee8ff;
}

.verification-wide {
  grid-column: 1 / -1;
}

.verification-consent {
  grid-template-columns: 18px 1fr;
  align-items: center;
  line-height: 1.45;
}

.verification-consent input {
  min-height: auto;
  margin-top: 3px;
  accent-color: var(--pink);
}

.story-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 2px 0 16px;
}

.story-tab {
  min-height: 38px;
  color: rgba(244, 247, 250, 0.7);
  border: 1px solid rgba(157, 185, 207, 0.24);
  border-radius: 9px;
  background: rgba(2, 7, 12, 0.72);
  cursor: pointer;
}

.story-tab.active {
  color: #fff;
  border-color: rgba(255, 45, 143, 0.78);
  box-shadow:
    0 0 12px rgba(255, 45, 143, 0.28),
    inset 0 0 18px rgba(255, 45, 143, 0.08);
}

.story-mode {
  display: none;
}

.story-mode.active {
  display: block;
}

.story-hint {
  display: block;
  margin: -8px 0 14px;
  color: rgba(244, 247, 250, 0.58);
  font-size: 0.76rem;
}

.camera-preview {
  position: relative;
  aspect-ratio: 9 / 14;
  max-height: 260px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 45, 143, 0.38);
  border-radius: 12px;
  background:
    radial-gradient(circle at center, rgba(255, 45, 143, 0.2), transparent 10rem),
    #03070b;
}

.camera-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera-preview span {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  color: #fff;
  font-size: 0.76rem;
  border-radius: 999px;
  background: rgba(255, 45, 143, 0.78);
}

.record-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.record-actions button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.native-story-camera {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.native-camera-button {
  width: 100%;
  margin: 0 0 14px;
}

.story-viewer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  background: rgba(0, 2, 5, 0.9);
  backdrop-filter: blur(16px);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.story-viewer.open {
  opacity: 1;
  visibility: visible;
}

.story-viewer.paused .viewer-phone::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.08);
}

.viewer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(2, 7, 12, 0.74);
  cursor: pointer;
}

.viewer-navigation {
  position: absolute;
  top: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--pink-soft);
  border: 1px solid rgba(255, 45, 143, 0.44);
  border-radius: 50%;
  background: rgba(2, 7, 12, 0.72);
  box-shadow:
    0 0 16px rgba(255, 45, 143, 0.32),
    inset 0 0 14px rgba(255, 45, 143, 0.1);
  cursor: pointer;
  transform: translateY(-50%);
}

.viewer-navigation svg {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 7px rgba(255, 45, 143, 0.82));
}

.viewer-navigation.previous {
  left: max(24px, calc(50% - 270px));
}

.viewer-navigation.next {
  right: max(24px, calc(50% - 270px));
}

.viewer-phone {
  position: relative;
  width: min(390px, 94vw);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(255, 45, 143, 0.46);
  border-radius: 18px;
  background: #03070b;
  box-shadow:
    0 0 28px rgba(255, 45, 143, 0.35),
    0 26px 80px rgba(0, 0, 0, 0.72);
}

.viewer-progress {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  gap: 3px;
  height: 3px;
}

.viewer-progress-segment {
  flex: 1 1 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
}

.viewer-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: #fff;
}

.viewer-progress-segment.viewed .viewer-progress-fill {
  width: 100%;
}

.viewer-replay {
  position: absolute;
  z-index: 4;
  top: 26px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(2, 7, 12, 0.58);
  cursor: pointer;
}

.viewer-replay svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@keyframes storyProgress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.viewer-header {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 14px;
  right: 14px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
}

.viewer-avatar {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 2px solid rgba(255, 45, 143, 0.8);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, #f6c3a6 0 22%, transparent 23%),
    linear-gradient(140deg, #18222e, #0a0d12);
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 12px rgba(255, 45, 143, 0.34);
  cursor: pointer;
}

.viewer-avatar.has-image {
  background-color: #050a0f;
}

.viewer-avatar:hover,
.viewer-avatar:focus-visible {
  border-color: rgba(83, 229, 255, 0.9);
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255, 45, 143, 0.22),
    0 0 16px rgba(83, 229, 255, 0.42);
}

.viewer-header strong,
.viewer-header span {
  display: block;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.82);
}

.viewer-header strong {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
}

.viewer-header span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
}

.viewer-media,
.viewer-media img,
.viewer-media video,
.viewer-placeholder {
  width: 100%;
  height: 100%;
}

.viewer-media img,
.viewer-media video {
  display: block;
  object-fit: cover;
}

.viewer-placeholder {
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 45, 143, 0.42), transparent 9rem),
    linear-gradient(135deg, rgba(32, 213, 255, 0.24), rgba(255, 45, 143, 0.24)),
    #050a0f;
}

.viewer-phone p {
  position: absolute;
  z-index: 3;
  left: 18px;
  right: 18px;
  bottom: 18px;
  margin: 0;
  color: var(--pink-soft);
  font-family: Mistral, "Brush Script MT", "Segoe Script", cursive;
  font-size: 1.8rem;
  line-height: 1;
  text-shadow:
    0 0 8px rgba(255, 45, 143, 0.95),
    0 0 18px rgba(255, 45, 143, 0.78),
    0 1px 12px rgba(0, 0, 0, 0.92);
}

.profile-viewer {
  position: fixed;
  inset: 0;
  z-index: 28;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.profile-viewer.open {
  opacity: 1;
  visibility: visible;
}

.profile-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(32, 213, 255, 0.16), transparent 25rem),
    radial-gradient(circle at 30% 48%, rgba(255, 45, 143, 0.14), transparent 28rem),
    rgba(0, 3, 7, 0.82);
  backdrop-filter: blur(15px);
}

.profile-detail {
  position: relative;
  width: min(1100px, calc(100vw - 40px));
  box-sizing: border-box;
  height: min(760px, 94vh);
  max-height: min(760px, 94vh);
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 18px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 45, 143, 0.6);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(4, 9, 16, 0.97), rgba(2, 5, 9, 0.98)),
    radial-gradient(circle at 76% 8%, rgba(32, 213, 255, 0.18), transparent 18rem);
  box-shadow:
    0 0 28px rgba(255, 45, 143, 0.28),
    0 28px 90px rgba(0, 0, 0, 0.74),
    inset 0 0 28px rgba(255, 45, 143, 0.06);
}

.profile-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(2, 7, 12, 0.74);
  cursor: pointer;
}

.detail-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.detail-header {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 82px;
  align-items: center;
  gap: 12px;
}

.detail-avatar {
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 2px solid var(--pink);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 30%, #f1c1a7 0 17%, transparent 18%),
    radial-gradient(circle at 50% 78%, #101722 0 30%, transparent 31%),
    linear-gradient(135deg, rgba(32, 213, 255, 0.26), rgba(255, 45, 143, 0.3)),
    #070c13;
  box-shadow: 0 0 16px rgba(255, 45, 143, 0.44);
}

.detail-avatar.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.detail-header h2 {
  margin: 0 0 8px;
  color: var(--pink-soft);
  font-family: Mistral, "Brush Script MT", "Segoe Script", cursive;
  font-size: 2.4rem;
  line-height: 0.8;
  text-shadow: 0 0 14px rgba(255, 45, 143, 0.72);
}

.detail-rating {
  display: flex;
  gap: 5px;
}

.detail-rating span {
  width: 12px;
  height: 12px;
  background: var(--pink);
  clip-path: polygon(50% 0, 61% 36%, 100% 36%, 68% 57%, 80% 100%, 50% 74%, 20% 100%, 32% 57%, 0 36%, 39% 36%);
  filter: drop-shadow(0 0 6px rgba(255, 45, 143, 0.74));
}

.detail-rating .muted {
  background: rgba(255, 255, 255, 0.22);
  filter: none;
}

.detail-contact-row,
.detail-status,
.detail-stats,
.detail-about {
  border: 1px solid rgba(32, 213, 255, 0.14);
  border-radius: 8px;
  background: rgba(2, 8, 14, 0.72);
}

.detail-contact-row {
  min-height: 40px;
  display: grid;
  grid-template-columns: 1fr 18px 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  color: rgba(244, 247, 250, 0.82);
  font-size: 0.84rem;
}

.detail-contact-row i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10d76d;
  box-shadow: 0 0 10px rgba(16, 215, 109, 0.7);
}

.detail-contact-row strong {
  color: var(--pink-soft);
  font-weight: 500;
}

.detail-status {
  margin: 0;
  padding: 9px 12px;
  color: rgba(136, 255, 213, 0.78);
  font-size: 0.76rem;
}

.detail-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
}

.detail-stats div {
  min-height: 46px;
  display: grid;
  align-content: center;
  text-align: center;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-stats div:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-stats span,
.detail-gender > span,
.detail-about span {
  display: block;
  margin-bottom: 5px;
  color: var(--pink);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-stats strong {
  color: rgba(247, 248, 251, 0.86);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.detail-gender {
  padding: 8px 0;
}

.detail-gender div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.detail-gender-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  color: rgba(244, 247, 250, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: none;
  border: 1px solid rgba(255, 45, 143, 0.38);
  border-radius: 5px;
  background: rgba(4, 9, 16, 0.7);
}

.detail-contact-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.detail-contact-actions a,
.detail-contact-actions button {
  min-height: 48px;
  display: grid;
  align-content: center;
  gap: 2px;
  text-align: center;
  text-decoration: none;
  color: #ffd5ea;
  border: 1px solid rgba(255, 45, 143, 0.82);
  border-radius: 9px;
  background: rgba(6, 10, 16, 0.58);
  box-shadow:
    0 0 10px rgba(255, 45, 143, 0.48),
    inset 0 0 18px rgba(255, 45, 143, 0.12);
}

.detail-contact-actions button {
  cursor: pointer;
}

.detail-contact-actions span {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.74rem;
}

.detail-contact-actions small {
  color: rgba(244, 247, 250, 0.68);
  font-size: 0.62rem;
}

.detail-about {
  padding: 12px;
}

.detail-reviews {
  display: grid;
  gap: 7px;
  max-height: 120px;
  overflow-y: auto;
}

.detail-reviews > span {
  color: var(--pink);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-review-item {
  display: grid;
  gap: 3px;
  padding: 8px;
  border: 1px solid rgba(32, 213, 255, 0.14);
  border-radius: 7px;
  background: rgba(2, 8, 14, 0.72);
}

.detail-review-item strong {
  color: var(--pink-soft);
  font-size: 0.72rem;
}

.detail-review-item p,
.detail-reviews small {
  margin: 0;
  color: rgba(244, 247, 250, 0.62);
  font-size: 0.7rem;
  line-height: 1.35;
}

.detail-about p {
  max-height: 72px;
  margin: 0;
  color: rgba(244, 247, 250, 0.7);
  font-size: 0.78rem;
  line-height: 1.45;
  overflow: hidden;
}

.detail-about p.expanded {
  max-height: none;
}

.detail-about button {
  margin-top: 8px;
  padding: 0;
  color: var(--pink-soft);
  border: 0;
  background: transparent;
  font-size: 0.76rem;
}

.detail-about button[hidden] {
  display: none;
}

.detail-main {
  position: relative;
  display: grid;
  grid-template-rows: 76px minmax(0, 1fr) auto auto;
  gap: 14px;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  padding: 0 42px 0 8px;
}

.detail-topline {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.recommendation {
  text-align: center;
}

.recommendation span {
  display: block;
  color: rgba(244, 247, 250, 0.58);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.recommendation strong {
  color: var(--pink-soft);
  font-size: 2rem;
  font-weight: 400;
  text-shadow: 0 0 14px rgba(255, 45, 143, 0.72);
}

.detail-diamond {
  width: 54px;
  height: 42px;
  background: linear-gradient(135deg, #ffe4f4, #fff, #ffc5e5);
  clip-path: polygon(16% 10%, 84% 10%, 100% 38%, 50% 100%, 0 38%);
  filter: drop-shadow(0 0 16px rgba(255, 197, 229, 0.62));
}

.detail-diamond.recommendation-tier-1 {
  background: linear-gradient(135deg, #fff2fa, #fff, #ffd8ef);
  filter: drop-shadow(0 0 12px rgba(255, 216, 239, 0.54));
}

.detail-diamond.recommendation-tier-2 {
  background: linear-gradient(135deg, #ffd8ef, #fff4fa, #ffafd9);
  filter: drop-shadow(0 0 14px rgba(255, 175, 217, 0.58));
}

.detail-diamond.recommendation-tier-3 {
  background: linear-gradient(135deg, #ffc5e5, #fff, #ff7fc1);
  filter: drop-shadow(0 0 16px rgba(255, 127, 193, 0.62));
}

.detail-diamond.recommendation-tier-4 {
  background: linear-gradient(135deg, #ff9bd0, #ffe8f5, #ff4da3);
  filter: drop-shadow(0 0 18px rgba(255, 77, 163, 0.7));
}

.detail-diamond.recommendation-tier-5 {
  background: linear-gradient(135deg, #ff75bd, #ffd6ec, #e00072);
  filter: drop-shadow(0 0 20px rgba(224, 0, 114, 0.82));
}

.video-button {
  position: absolute;
  top: 0;
  right: 42px;
  width: 78px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--pink-soft);
  border: 1px solid rgba(255, 45, 143, 0.58);
  border-radius: 8px;
  background: rgba(5, 10, 16, 0.76);
}

.video-button svg {
  width: 24px;
  height: 24px;
}

.video-button span {
  color: rgba(244, 247, 250, 0.72);
  font-size: 0.58rem;
  text-transform: uppercase;
}

.gallery-stage {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: 42px minmax(240px, min(380px, calc((94vh - 230px) * 0.72))) 42px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-top: 8px;
}

.detail-photo {
  position: relative;
  width: 100%;
  max-height: calc(94vh - 230px);
  aspect-ratio: 0.72;
  overflow: hidden;
  border: 1px solid rgba(255, 45, 143, 0.64);
  border-radius: 12px;
  box-shadow:
    0 0 22px rgba(255, 45, 143, 0.38),
    inset 0 0 48px rgba(0, 0, 0, 0.36);
}

.detail-photo::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 12%;
  width: 40%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, #f2c8ae 0 34%, transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(20, 12, 14, 0.95), rgba(8, 10, 15, 0.98) 70%);
}

.detail-photo::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 55%;
  height: 68%;
  transform: translateX(-50%);
  border-radius: 45% 45% 12px 12px;
  background:
    linear-gradient(90deg, transparent 0 22%, #111923 22% 41%, transparent 41% 59%, #111923 59% 78%, transparent 78%),
    linear-gradient(160deg, #111923, #020407 70%);
}

.detail-photo.has-real-photo {
  background-size: cover;
  background-position: center;
}

.detail-photo.has-real-photo::before,
.detail-photo.has-real-photo::after {
  display: none;
}

.detail-photo span {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  padding: 5px 9px;
  color: var(--pink-soft);
  font-size: 0.78rem;
  border-radius: 6px;
  background: rgba(2, 7, 12, 0.72);
}

.gallery-arrow {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--pink-soft);
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 0 8px rgba(255, 45, 143, 0.82));
}

.gallery-arrow svg {
  width: 34px;
  height: 34px;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.gallery-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.gallery-dots .active {
  background: var(--pink);
  box-shadow: 0 0 8px rgba(255, 45, 143, 0.82);
}

.detail-verification {
  width: fit-content;
  justify-self: center;
  display: grid;
  grid-template-columns: 28px auto;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 45, 143, 0.5);
  border-radius: 999px;
  background: rgba(5, 10, 16, 0.78);
}

.detail-verification svg {
  color: var(--pink);
  filter: drop-shadow(0 0 8px rgba(255, 45, 143, 0.82));
}

.detail-verification strong,
.detail-verification span {
  display: block;
}

.detail-verification strong {
  color: var(--pink-soft);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.detail-verification span {
  color: rgba(244, 247, 250, 0.56);
  font-size: 0.68rem;
}

.profile-video-modal {
  z-index: 36;
}

.profile-video-card {
  position: relative;
  width: min(720px, 94vw);
  max-width: calc(100vw - 32px);
  margin: auto;
  box-sizing: border-box;
  padding: 18px;
  border: 1px solid rgba(255, 45, 143, 0.58);
  border-radius: 12px;
  background: rgba(2, 7, 12, 0.96);
  box-shadow: 0 0 28px rgba(255, 45, 143, 0.34);
}

.profile-video-card h2 {
  margin: 0 42px 14px 0;
  color: var(--pink-soft);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-video-card video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82vh;
  border-radius: 8px;
  background: #000;
}

.profile-video-message {
  margin: 0;
  padding: 28px 16px;
  color: rgba(244, 247, 250, 0.72);
  text-align: center;
  border: 1px dashed rgba(255, 45, 143, 0.42);
  border-radius: 8px;
  background: rgba(255, 45, 143, 0.08);
}

.profile-video-message:empty {
  display: none;
}

.profile-video-card .auth-close {
  top: -14px;
  right: -14px;
}

.admin-section {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  padding-bottom: 40px;
}

.admin-locked {
  min-height: 0;
  display: none;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 32px;
  text-align: center;
  border: 1px solid rgba(255, 45, 143, 0.38);
  border-radius: 10px;
  background:
    radial-gradient(circle at center, rgba(255, 45, 143, 0.12), transparent 18rem),
    rgba(5, 10, 16, 0.78);
  box-shadow: inset 0 0 26px rgba(255, 45, 143, 0.08);
}

.admin-locked svg {
  width: 42px;
  height: 42px;
  color: var(--pink-soft);
  filter: drop-shadow(0 0 12px rgba(255, 45, 143, 0.7));
}

.admin-locked span {
  color: var(--pink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.admin-locked strong {
  max-width: 460px;
  color: rgba(247, 248, 251, 0.76);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
}

.admin-heading-actions {
  display: inline-flex;
  gap: 10px;
}

.admin-search {
  width: min(560px, 100%);
  min-height: 46px;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 12px;
  margin: -6px 0 18px;
  padding: 0 16px;
  color: rgba(244, 247, 250, 0.72);
  border: 1px solid rgba(157, 185, 207, 0.24);
  border-radius: 999px;
  background: rgba(2, 7, 12, 0.72);
  box-shadow:
    inset 0 0 18px rgba(32, 213, 255, 0.05),
    0 0 20px rgba(255, 45, 143, 0.08);
}

.admin-search svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.admin-search input {
  width: 100%;
  min-width: 0;
  color: #fff;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
}

.admin-search input::placeholder {
  color: rgba(244, 247, 250, 0.52);
}

.section-action.ghost {
  color: rgba(244, 247, 250, 0.68);
  border-color: rgba(157, 185, 207, 0.28);
  box-shadow: none;
}

.admin-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.admin-form,
.admin-table-wrap {
  border: 1px solid rgba(255, 45, 143, 0.34);
  border-radius: 10px;
  background:
    radial-gradient(circle at 70% 0, rgba(32, 213, 255, 0.08), transparent 16rem),
    rgba(5, 10, 16, 0.78);
  box-shadow: inset 0 0 24px rgba(255, 45, 143, 0.06);
}

.admin-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
}

.admin-form label {
  display: grid;
  gap: 7px;
  color: rgba(244, 247, 250, 0.72);
  font-size: 0.76rem;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  color: var(--text);
  border: 1px solid rgba(157, 185, 207, 0.28);
  border-radius: 7px;
  outline: 0;
  background: rgba(2, 7, 12, 0.72);
}

.admin-form textarea {
  padding-top: 10px;
  resize: vertical;
}

.admin-profile-photo-field {
  align-content: start;
}

.admin-profile-photo-field input {
  display: none;
}

.admin-video-field span small {
  color: rgba(244, 247, 250, 0.48);
  font-size: 0.68rem;
}

.admin-video-field input {
  display: none;
}

.admin-video-preview {
  width: 100%;
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 8px;
  color: rgba(244, 247, 250, 0.62);
  border: 1px dashed rgba(255, 45, 143, 0.5);
  border-radius: 8px;
  background: rgba(2, 7, 12, 0.72);
  cursor: pointer;
}

.admin-video-preview.has-video {
  color: #fff;
  border-style: solid;
  background: rgba(255, 45, 143, 0.14);
  box-shadow: inset 0 0 18px rgba(255, 45, 143, 0.12);
}

.admin-profile-photo-preview {
  width: 100%;
  min-height: 78px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 8px;
  color: rgba(244, 247, 250, 0.62);
  border: 1px dashed rgba(255, 45, 143, 0.5);
  border-radius: 8px;
  background:
    radial-gradient(circle at center, rgba(255, 45, 143, 0.18), transparent 4rem),
    rgba(2, 7, 12, 0.72);
  background-position: center;
  background-size: cover;
  cursor: pointer;
}

.admin-profile-photo-preview.has-image {
  align-items: end;
}

.admin-profile-photo-preview small {
  padding: 4px 7px;
  color: #fff;
  border-radius: 5px;
  background: rgba(6, 10, 16, 0.76);
}

.admin-wide,
.admin-photo-preview,
.admin-actions {
  grid-column: 1 / -1;
}

.admin-photo-preview {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  border: 1px dashed rgba(255, 45, 143, 0.34);
  border-radius: 8px;
}

.admin-photo-item {
  position: relative;
  width: 58px;
  height: 70px;
  flex: 0 0 auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 45, 143, 0.5);
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
}

.admin-photo-item span {
  display: block;
  width: 58px;
  height: 70px;
  background-size: cover;
  background-position: center;
}

.admin-photo-item i {
  position: absolute;
  inset: auto 0 0;
  padding: 5px 2px;
  color: #fff;
  font-size: 0.62rem;
  font-style: normal;
  background: rgba(185, 8, 84, 0.88);
  opacity: 0;
  transition: opacity 160ms ease;
}

.admin-photo-item:hover i,
.admin-photo-item:focus-visible i {
  opacity: 1;
}

.admin-photo-preview small {
  color: rgba(244, 247, 250, 0.54);
}

.detail-story-slot {
  justify-self: start;
}

.detail-story-slot[hidden] {
  display: none;
}

.detail-story-bubble {
  width: 74px;
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 0;
  color: rgba(244, 247, 250, 0.68);
  border: 0;
  background: transparent;
  cursor: pointer;
}

.detail-story-bubble .story-ring {
  width: 58px;
  height: 58px;
  padding: 2px;
}

.detail-story-bubble .story-ring img,
.detail-story-bubble .story-ring video,
.detail-story-bubble .story-placeholder {
  border-width: 2px;
}

.detail-story-bubble small {
  max-width: 74px;
  color: rgba(244, 247, 250, 0.56);
  font-size: 0.62rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-stories-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 45, 143, 0.34);
  border-radius: 8px;
  background: rgba(255, 45, 143, 0.04);
}

.admin-stories-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-stories-heading span {
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-stories-heading small,
.admin-stories-list > small {
  color: rgba(244, 247, 250, 0.56);
}

.admin-stories-list {
  display: grid;
  gap: 8px;
}

.admin-story-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(83, 229, 255, 0.2);
  border-radius: 8px;
  background: rgba(5, 10, 16, 0.76);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.admin-story-item:hover,
.admin-story-item:focus-visible {
  border-color: rgba(83, 229, 255, 0.48);
  background: rgba(8, 18, 26, 0.88);
  outline: none;
}

.admin-story-thumb {
  width: 54px;
  height: 62px;
  border: 1px solid rgba(255, 45, 143, 0.55);
  border-radius: 7px;
  background:
    radial-gradient(circle at 50% 45%, rgba(83, 229, 255, 0.22), transparent 42%),
    rgba(2, 7, 12, 0.92);
  background-size: cover;
  background-position: center;
}

.admin-story-thumb.video::after {
  content: "Video";
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-story-item strong,
.admin-story-item span,
.admin-story-item p {
  display: block;
}

.admin-story-item strong {
  color: var(--text);
  font-size: 0.82rem;
}

.admin-story-item span,
.admin-story-item p {
  margin: 2px 0 0;
  color: rgba(244, 247, 250, 0.62);
  font-size: 0.72rem;
}

.admin-story-delete {
  min-width: 82px;
  padding: 9px 12px;
  color: #fff;
  border: 1px solid rgba(255, 45, 143, 0.58);
  border-radius: 7px;
  background: rgba(185, 8, 84, 0.22);
  cursor: pointer;
}

.admin-story-delete:hover,
.admin-story-delete:focus-visible {
  background: rgba(255, 45, 143, 0.34);
}

.admin-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.admin-table-wrap {
  overflow: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.admin-table th,
.admin-table td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-table th {
  color: var(--pink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-table td {
  color: rgba(244, 247, 250, 0.76);
  font-size: 0.84rem;
}

.admin-table td strong,
.admin-table td span {
  display: block;
}

.admin-table td span {
  margin-top: 4px;
  color: rgba(244, 247, 250, 0.48);
  font-size: 0.72rem;
}

.admin-table mark {
  padding: 4px 8px;
  color: rgba(244, 247, 250, 0.78);
  border: 1px solid rgba(157, 185, 207, 0.26);
  border-radius: 999px;
  background: rgba(2, 7, 12, 0.72);
}

.admin-table mark.diamond-level {
  color: #fff;
  border-color: rgba(255, 45, 143, 0.72);
  background: rgba(255, 45, 143, 0.22);
  box-shadow: 0 0 10px rgba(255, 45, 143, 0.28);
}

.admin-table mark.oro-level {
  color: #fff2b8;
  border-color: rgba(255, 205, 87, 0.7);
  background: rgba(255, 205, 87, 0.14);
}

.admin-table mark.plata-level {
  color: #dce7f0;
  border-color: rgba(190, 208, 222, 0.5);
  background: rgba(190, 208, 222, 0.1);
}

.admin-table button {
  min-height: 30px;
  margin-right: 6px;
  padding: 0 10px;
  color: #ffd5ea;
  border: 1px solid rgba(255, 45, 143, 0.45);
  border-radius: 7px;
  background: rgba(6, 10, 16, 0.58);
  cursor: pointer;
}

.admin-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.admin-review-panel {
  min-height: 160px;
  padding: 14px;
  border: 1px solid rgba(255, 45, 143, 0.3);
  border-radius: 10px;
  background: rgba(5, 10, 16, 0.78);
}

.admin-review-panel h3 {
  margin: 0 0 12px;
  color: var(--pink-soft);
  font-size: 0.9rem;
  font-weight: 500;
}

.admin-review-panel small {
  color: rgba(244, 247, 250, 0.52);
}

.admin-review-item {
  display: grid;
  gap: 6px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-review-item strong,
.admin-review-item span {
  display: block;
}

.admin-review-item strong {
  color: rgba(244, 247, 250, 0.84);
  font-size: 0.82rem;
}

.admin-review-item span {
  color: rgba(244, 247, 250, 0.54);
  font-size: 0.74rem;
}

.admin-request-details {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(83, 229, 255, 0.18);
  border-radius: 8px;
  background: rgba(3, 8, 13, 0.52);
}

.admin-request-details summary {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-request-details dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 0;
}

.admin-request-details div {
  min-width: 0;
}

.admin-request-details .wide {
  grid-column: 1 / -1;
}

.admin-request-details dt {
  color: rgba(255, 117, 189, 0.82);
  font-size: 0.64rem;
  text-transform: uppercase;
}

.admin-request-details dd {
  margin: 2px 0 0;
  color: rgba(244, 247, 250, 0.78);
  font-size: 0.76rem;
  word-break: break-word;
}

.admin-review-item button {
  min-height: 26px;
  margin-right: 5px;
  padding: 0 8px;
  color: #ffd5ea;
  border: 1px solid rgba(255, 45, 143, 0.42);
  border-radius: 6px;
  background: rgba(6, 10, 16, 0.58);
  cursor: pointer;
}

.quick-exit {
  position: fixed;
  z-index: 18;
  right: 16px;
  bottom: 16px;
  min-height: 36px;
  padding: 0 13px;
  color: rgba(244, 247, 250, 0.78);
  border: 1px solid rgba(157, 185, 207, 0.3);
  border-radius: 8px;
  background: rgba(2, 7, 12, 0.82);
  cursor: pointer;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-y: auto;
  background: rgba(0, 3, 7, 0.94);
  backdrop-filter: blur(16px);
}

.age-gate.open {
  display: grid;
}

.age-gate section {
  width: min(430px, 100%);
  margin: auto;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 45, 143, 0.46);
  border-radius: 14px;
  background: rgba(5, 10, 16, 0.96);
  box-shadow: 0 0 28px rgba(255, 45, 143, 0.3);
}

.age-gate span {
  color: var(--pink-soft);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.age-gate h2 {
  margin: 12px 0 10px;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 500;
}

.age-gate p {
  margin: 0 0 18px;
  color: rgba(244, 247, 250, 0.64);
  font-size: 0.88rem;
  line-height: 1.5;
}

.age-gate footer {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  color: rgba(244, 247, 250, 0.52);
  font-size: 0.76rem;
}

.legal-footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 24px 0 70px;
  border-top: 1px solid rgba(157, 185, 207, 0.16);
}

.legal-footer > section {
  display: grid;
  align-content: start;
  gap: 10px;
}

.legal-footer strong,
.legal-footer span {
  display: block;
}

.legal-footer strong {
  color: var(--pink-soft);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255, 45, 143, 0.52);
}

.legal-footer span {
  color: rgba(244, 247, 250, 0.46);
  font-size: 0.72rem;
  line-height: 1.45;
}

.legal-policy {
  display: grid;
  gap: 10px;
}

.legal-policy h3,
.legal-policy p,
.legal-policy ul {
  margin: 0;
}

.legal-policy h3 {
  margin-top: 8px;
  color: rgba(244, 247, 250, 0.76);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-policy p,
.legal-policy li {
  color: rgba(244, 247, 250, 0.52);
  font-size: 0.72rem;
  line-height: 1.5;
}

.legal-policy ul {
  display: grid;
  gap: 4px 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-left: 18px;
}

.legal-policy-more {
  display: grid;
  gap: 10px;
}

.legal-more-toggle {
  justify-self: start;
  margin-top: 4px;
  padding: 0;
  color: var(--pink-soft);
  border: 0;
  background: transparent;
  font-size: 0.76rem;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 45, 143, 0.58);
  cursor: pointer;
}

.legal-more-toggle:hover,
.legal-more-toggle:focus-visible {
  color: #ffd5ea;
  outline: none;
}

.model-section {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  padding-bottom: 40px;
}

.model-private-mode .promo-panel {
  display: none;
}

.model-private-mode .model-section {
  margin-top: 0;
}

.model-locked {
  display: none;
}

.model-summary {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid rgba(255, 45, 143, 0.34);
  border-radius: 10px;
  background: rgba(5, 10, 16, 0.78);
}

.model-summary-avatar {
  width: 68px;
  height: 68px;
  border: 2px solid var(--pink);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, #f1c1a7 0 18%, transparent 19%),
    radial-gradient(circle at 50% 80%, #101722 0 32%, transparent 33%),
    #070c13;
  box-shadow: 0 0 16px rgba(255, 45, 143, 0.44);
}

.model-summary strong,
.model-summary span {
  display: block;
}

.model-summary strong {
  color: var(--pink-soft);
  font-size: 1.15rem;
}

.model-summary span {
  margin-top: 5px;
  color: rgba(244, 247, 250, 0.62);
  font-size: 0.82rem;
}

.model-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.model-actions-grid article {
  min-height: 178px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 45, 143, 0.3);
  border-radius: 10px;
  background:
    radial-gradient(circle at 80% 0, rgba(32, 213, 255, 0.08), transparent 12rem),
    rgba(5, 10, 16, 0.78);
}

.model-actions-grid h3 {
  margin: 0;
  color: var(--pink-soft);
  font-size: 1rem;
  font-weight: 500;
}

.model-actions-grid p {
  min-height: 52px;
  margin: 0;
  color: rgba(244, 247, 250, 0.62);
  font-size: 0.84rem;
  line-height: 1.45;
}

.model-stories-panel {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 45, 143, 0.3);
  border-radius: 10px;
  background: rgba(5, 10, 16, 0.78);
}

.model-stories-list {
  display: grid;
  gap: 9px;
}

.model-stories-list > small {
  color: rgba(244, 247, 250, 0.54);
}

.model-story-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(157, 185, 207, 0.16);
  border-radius: 8px;
  background: rgba(2, 7, 12, 0.72);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.model-story-item:hover,
.model-story-item:focus-visible {
  border-color: rgba(255, 45, 143, 0.56);
  box-shadow: 0 0 12px rgba(255, 45, 143, 0.18);
  outline: 0;
}

.model-story-thumbnail {
  width: 54px;
  height: 66px;
  display: block;
  border: 1px solid rgba(255, 45, 143, 0.48);
  border-radius: 7px;
  background:
    radial-gradient(circle at center, rgba(255, 45, 143, 0.44), transparent 3rem),
    linear-gradient(145deg, rgba(32, 213, 255, 0.2), rgba(255, 45, 143, 0.2)),
    #050a0f;
  background-size: cover;
  background-position: center;
}

.model-story-thumbnail.video::after {
  content: "Video";
  display: grid;
  height: 100%;
  place-items: center;
  color: #fff;
  font-size: 0.66rem;
  text-transform: uppercase;
}

.model-story-item strong,
.model-story-item span {
  display: block;
}

.model-story-item strong {
  color: rgba(244, 247, 250, 0.84);
  font-size: 0.84rem;
}

.model-story-item span {
  margin-top: 3px;
  color: var(--pink-soft);
  font-size: 0.72rem;
}

.model-story-item p {
  margin: 5px 0 0;
  color: rgba(244, 247, 250, 0.58);
  font-size: 0.76rem;
}

.model-story-item button {
  min-height: 32px;
  padding: 0 10px;
  color: #fff;
  border: 1px solid rgba(255, 72, 98, 0.58);
  border-radius: 7px;
  background: rgba(172, 20, 54, 0.22);
  cursor: pointer;
}

.section-action.danger {
  color: #fff;
  border-color: rgba(255, 72, 98, 0.74);
  background: rgba(172, 20, 54, 0.26);
  box-shadow: 0 0 10px rgba(255, 72, 98, 0.22);
}

.auth-field textarea {
  width: 100%;
  padding: 10px 12px;
  color: var(--text);
  border: 1px solid rgba(157, 185, 207, 0.28);
  border-radius: 8px;
  outline: 0;
  resize: vertical;
  background: rgba(2, 7, 12, 0.72);
}

@media (max-width: 1180px) {
  .directory-profile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  :root {
    --sidebar: 232px;
  }

  .content {
    padding-right: 28px;
  }

  .profile-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  .verified-profile-grid {
    grid-template-columns: none;
    grid-auto-columns: minmax(190px, 31%);
  }

  .diamond-profile-grid {
    grid-auto-columns: minmax(210px, 42%);
  }

  .gold-profile-grid {
    grid-auto-columns: minmax(210px, 42%);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 520px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .profile-detail {
    grid-template-columns: 330px minmax(0, 1fr);
  }

  .gallery-stage {
    grid-template-columns: 34px minmax(220px, min(360px, calc((94vh - 230px) * 0.72))) 34px;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .model-actions-grid {
    grid-template-columns: 1fr;
  }

  .model-story-item {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .model-story-item button {
    grid-column: 1 / -1;
  }

  .admin-review-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .directory-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-shell {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
  }

  .sidebar {
    order: 1;
    position: relative;
    height: auto;
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(178, 203, 221, 0.2);
  }

  .brand {
    margin-bottom: 18px;
  }

  .main-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav-item {
    grid-template-columns: 22px 1fr;
  }

  .nav-item .chevron {
    display: none;
  }

  .filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 18px 0 10px;
  }

  .filter-title,
  .filter-panel,
  .publish-btn {
    grid-column: 1 / -1;
  }

  .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promo-panel {
    display: none;
  }

  .content {
    order: 2;
    display: flex;
    flex-direction: column;
    padding: 18px;
  }

  .content > * {
    order: 10;
  }

  .content > .hero {
    order: 1;
  }

  .content > .filters {
    order: 2;
  }

  .content > .topbar {
    order: 3;
  }

  .content > .stories-section {
    order: 4;
    margin-top: 8px;
  }

  .content > .diamond-profiles-section {
    order: 5;
  }

  .content > .gold-profiles-section {
    order: 6;
  }

  .content > .verified-section {
    order: 7;
  }

  .content > .profiles-directory {
    order: 8;
  }

  .content::before {
    inset: 0;
  }

  .topbar {
    grid-template-columns: 1fr;
    margin-bottom: 18px;
  }

  .top-actions {
    justify-content: space-between;
  }

  .hero {
    min-height: 560px;
    background-position: 0 0, 17% center;
    background-size: auto, cover;
  }

  .hero-copy {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-logo {
    font-size: clamp(4.2rem, 16vw, 7rem);
  }

  .hero h1 {
    letter-spacing: 0.22em;
  }

  .profile-grid {
    grid-template-columns: repeat(2, minmax(155px, 1fr));
  }

  .verified-profile-grid {
    grid-template-columns: none;
    grid-auto-columns: minmax(180px, 46%);
  }

  .profile-viewer {
    align-items: start;
    overflow-y: auto;
    justify-items: center;
    padding: 16px;
  }

  .profile-detail {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 720px;
    height: auto;
    max-height: none;
    padding: 16px;
  }

  .detail-main {
    grid-template-rows: auto auto auto auto;
    padding: 0;
  }

  .video-button {
    position: static;
  }

  .detail-topline {
    justify-content: flex-start;
  }

  .gallery-stage {
    min-height: auto;
    grid-template-columns: 34px minmax(180px, min(360px, 100%)) 34px;
    align-items: center;
    padding-top: 0;
  }

  .detail-photo {
    width: 100%;
    max-height: 520px;
  }
}

@media (max-width: 560px) {
  .story-modal {
    place-items: center;
    padding:
      max(10px, env(safe-area-inset-top))
      max(10px, env(safe-area-inset-right))
      max(10px, env(safe-area-inset-bottom))
      max(10px, env(safe-area-inset-left));
  }

  .story-card {
    width: min(100%, 420px);
    min-height: 0;
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    padding: 20px 16px 16px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }

  .story-card .auth-close {
    position: sticky;
    top: 0;
    float: right;
    width: 32px;
    height: 32px;
    margin: -6px -2px -28px 0;
  }

  .story-card .auth-brand {
    margin: 0 40px 8px 0;
    font-size: 2.45rem;
  }

  .story-card .auth-kicker {
    margin-bottom: 4px;
    font-size: 0.65rem;
  }

  .story-card .auth-panel h2 {
    margin-bottom: 5px;
    font-size: 1.2rem;
  }

  .story-card .auth-panel > p {
    margin-bottom: 10px;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .story-card .story-tabs {
    margin-bottom: 10px;
  }

  .story-card .story-tab {
    min-height: 36px;
    font-size: 0.78rem;
  }

  .story-card .camera-preview {
    width: min(100%, 210px);
    max-height: none;
    margin: 0 auto 8px;
    aspect-ratio: 9 / 10;
  }

  .story-card .record-actions {
    gap: 8px;
    margin-bottom: 8px;
  }

  .story-card .record-actions .auth-secondary,
  .story-card .native-camera-button {
    min-height: 40px;
    margin-top: 0;
    font-size: 0.78rem;
  }

  .story-card .native-camera-button {
    margin-bottom: 9px;
  }

  .story-card .story-hint {
    margin: -2px 0 9px;
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .story-card .auth-field {
    gap: 5px;
    margin-bottom: 9px;
  }

  .story-card .auth-field input {
    height: 40px;
  }

  .story-card .auth-submit {
    min-height: 42px;
  }

  .story-card .auth-message {
    min-height: 18px;
    margin-top: 7px;
    font-size: 0.74rem;
  }

  .age-gate {
    place-items: center;
    padding:
      max(18px, env(safe-area-inset-top))
      max(16px, env(safe-area-inset-right))
      max(18px, env(safe-area-inset-bottom))
      max(16px, env(safe-area-inset-left));
  }

  .age-gate section {
    width: min(100%, 390px);
    max-height: calc(100vh - 36px);
    max-height: calc(100dvh - 36px);
    padding: 24px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .age-gate .auth-brand {
    font-size: clamp(2.9rem, 15vw, 4.2rem);
  }

  .age-gate h2 {
    font-size: 1.28rem;
  }

  .age-gate footer {
    flex-wrap: wrap;
  }

  .directory-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .directory-heading .section-action {
    width: 100%;
  }

  .directory-profile-grid {
    grid-template-columns: 1fr;
  }

  .story-viewer {
    align-content: center;
    padding: 56px 14px 82px;
  }

  .viewer-phone {
    width: min(82vw, calc((100vh - 160px) * 0.5625));
    width: min(82vw, calc((100dvh - 160px) * 0.5625));
    max-height: calc(100vh - 160px);
    max-height: calc(100dvh - 160px);
    border-radius: 14px;
  }

  .viewer-close {
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
  }

  .viewer-navigation {
    top: auto;
    bottom: 18px;
    width: 46px;
    height: 46px;
    transform: none;
  }

  .viewer-navigation.previous {
    left: calc(50% - 62px);
  }

  .viewer-navigation.next {
    right: calc(50% - 62px);
  }

  .viewer-navigation svg {
    width: 28px;
    height: 28px;
  }

  .viewer-header {
    right: 54px;
    grid-template-columns: 32px 1fr;
    gap: 8px;
  }

  .viewer-avatar {
    width: 32px;
    height: 32px;
  }

  .viewer-header strong {
    font-size: 0.82rem;
  }

  .viewer-header span {
    font-size: 0.68rem;
  }

  .viewer-replay {
    top: 24px;
    right: 10px;
    width: 32px;
    height: 32px;
  }

  .profile-video-modal {
    padding: 16px;
    place-items: center;
  }

  .profile-video-card {
    width: min(100%, 680px);
    max-width: calc(100vw - 32px);
    padding: 16px;
    border-radius: 12px;
  }

  .profile-video-card .auth-close {
    top: 10px;
    right: 10px;
  }

  .profile-video-card h2 {
    margin-right: 46px;
  }

  .profile-video-card video {
    max-height: min(58vh, 360px);
    object-fit: contain;
  }

  .main-nav {
    grid-template-columns: 1fr 1fr;
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    grid-template-columns: 1fr;
  }

  .availability {
    align-items: center;
  }

  .top-actions {
    gap: 10px;
    margin-bottom: 10px;
  }

  .stories-section {
    margin-top: 14px;
  }

  .verified-pill {
    padding: 0 12px;
  }

  .account {
    min-height: 48px;
    grid-template-columns: 40px auto;
    gap: 8px;
    padding: 4px 10px 4px 4px;
    color: rgba(247, 248, 251, 0.92);
    border: 1px solid rgba(255, 45, 143, 0.44);
    border-radius: 999px;
    background: rgba(4, 9, 16, 0.78);
    box-shadow: 0 0 12px rgba(255, 45, 143, 0.16);
  }

  .account div:not(.avatar) {
    display: block;
  }

  .account strong {
    font-size: 0.78rem;
  }

  .account span {
    display: none;
  }

  .account-logout {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 520px;
    margin-top: 10px;
  }

  .hero-copy {
    transform: none;
  }

  .hero-text {
    max-width: 310px;
  }

  .hero-btn {
    width: 205px;
  }

  .section-heading {
    align-items: flex-start;
    gap: 12px;
  }

  .section-heading h2 {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .verified-profile-grid {
    grid-template-columns: none;
    grid-auto-columns: minmax(0, min(84vw, 340px));
    gap: 14px;
    padding-inline: calc((100% - min(84vw, 340px)) / 2);
    scroll-padding-inline: calc((100% - min(84vw, 340px)) / 2);
  }

  .verified-profile-grid .profile-card {
    scroll-snap-align: center;
  }

  .diamond-profile-grid {
    grid-auto-columns: minmax(0, min(84vw, 340px));
    gap: 14px;
  }

  .gold-profile-grid {
    grid-auto-columns: minmax(0, min(84vw, 340px));
    gap: 14px;
  }

  .diamond-carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .diamond-carousel-arrow.previous {
    left: -14px;
  }

  .diamond-carousel-arrow.next {
    right: -14px;
  }

  .gold-carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .gold-carousel-arrow.previous {
    left: -14px;
  }

  .gold-carousel-arrow.next {
    right: -14px;
  }

  .verified-carousel-arrow {
    width: 34px;
    height: 34px;
  }

  .verified-carousel-arrow.previous {
    left: 4px;
  }

  .verified-carousel-arrow.next {
    right: 4px;
  }

  .story-bubble {
    width: 96px;
    flex-basis: 96px;
  }

  .story-ring {
    width: 72px;
    height: 72px;
  }

  .detail-stats {
    grid-template-columns: 1fr;
  }

  .detail-stats div:nth-child(odd) {
    border-right: 0;
  }

  .detail-header {
    grid-template-columns: 58px minmax(0, 1fr);
    padding-right: 122px;
    position: relative;
  }

  .detail-avatar {
    width: 58px;
    height: 58px;
  }

  .detail-header h2 {
    font-size: 2rem;
  }

  .detail-story-bubble {
    position: absolute;
    top: 8px;
    right: 64px;
    width: 58px;
  }

  .detail-story-bubble .story-ring {
    width: 48px;
    height: 48px;
  }

  .detail-story-bubble small {
    display: none;
  }

  .gallery-stage {
    grid-template-columns: 34px minmax(180px, min(300px, 100%)) 34px;
    gap: 6px;
  }

  .detail-photo {
    width: 100%;
    max-height: 420px;
  }

  .admin-form {
    grid-template-columns: 1fr;
  }

  .admin-actions {
    grid-template-columns: 1fr;
  }

  .verification-form {
    grid-template-columns: 1fr;
  }

  .verification-modal {
    padding: 14px;
    place-items: center;
  }

  .verification-card {
    width: 100%;
    max-width: calc(100vw - 28px);
    max-height: calc(100dvh - 28px);
    padding: 28px 20px 22px;
  }

  .verification-card .auth-close {
    top: 12px;
    right: 12px;
  }

  .verification-wide {
    grid-column: auto;
  }

  .legal-footer {
    grid-template-columns: 1fr;
  }

  .legal-policy ul {
    grid-template-columns: 1fr;
  }
}

/* Carruseles destacados: diseño probado en rama-carruseles-modelos. */
.diamond-profiles-section,
.gold-profiles-section {
  position: relative;
  margin: 0 0 30px;
  padding: 70px 78px 62px;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  container-type: inline-size;
}

.diamond-profiles-section::before,
.gold-profiles-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("imagenes/marco-drive-interior-limpio.png") center center / 111% 113% no-repeat;
  pointer-events: none;
}

.gold-profiles-section::before {
  filter: hue-rotate(34deg) saturate(1.18) sepia(0.16);
}

.diamond-profiles-section .section-heading,
.gold-profiles-section .section-heading {
  position: relative;
  z-index: 2;
}

.diamond-carousel,
.gold-carousel {
  position: relative;
  z-index: 2;
  overflow: visible;
  padding-inline: 48px;
  background:
    linear-gradient(90deg, rgba(255, 45, 143, 0.18), rgba(32, 213, 255, 0.12), rgba(255, 45, 143, 0.18)),
    rgba(3, 8, 14, 0.42);
  box-shadow:
    0 0 26px rgba(255, 45, 143, 0.2),
    inset 0 0 24px rgba(0, 0, 0, 0.48);
}

.diamond-profile-grid,
.gold-profile-grid {
  display: flex;
  align-items: stretch;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 30px 0 34px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(255, 45, 143, 0.82) rgba(4, 8, 14, 0.72);
  scrollbar-width: thin;
}

.diamond-profile-grid::-webkit-scrollbar,
.gold-profile-grid::-webkit-scrollbar {
  height: 12px;
}

.diamond-profile-grid::-webkit-scrollbar-track,
.gold-profile-grid::-webkit-scrollbar-track {
  border: 1px solid rgba(255, 45, 143, 0.28);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 45, 143, 0.08), rgba(255, 45, 143, 0.18)),
    rgba(4, 8, 14, 0.86);
  box-shadow:
    inset 0 0 10px rgba(0, 0, 0, 0.72),
    0 0 10px rgba(255, 45, 143, 0.18);
}

.diamond-profile-grid::-webkit-scrollbar-thumb,
.gold-profile-grid::-webkit-scrollbar-thumb {
  border: 2px solid rgba(4, 8, 14, 0.88);
  border-radius: 999px;
  background: linear-gradient(90deg, #ff75bd, #ff2d8f);
  box-shadow: 0 0 12px rgba(255, 45, 143, 0.42);
}

.diamond-profile-grid::-webkit-scrollbar-thumb:hover,
.gold-profile-grid::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #ff9bd0, #ff4aa3);
}

.diamond-profile-grid .profile-card,
.gold-profile-grid .profile-card {
  flex: 0 0 calc((100% - 48px) / 3);
  width: calc((100% - 48px) / 3);
  min-height: 520px;
  padding: 0 20px 22px;
  border-radius: 22px;
  border: 0;
  isolation: isolate;
  scroll-snap-align: start;
}

.diamond-card .profile-photo.has-image,
.gold-card .profile-photo.has-image {
  inset: 0;
  width: 100%;
  height: 100%;
  bottom: auto;
  left: 0;
  transform: none;
  opacity: 1;
  border: 2px solid rgba(255, 82, 179, 0.86);
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  box-shadow:
    0 0 16px rgba(255, 45, 143, 0.86),
    0 0 28px rgba(32, 213, 255, 0.2),
    inset 0 0 20px rgba(255, 45, 143, 0.32),
    inset 0 0 8px rgba(32, 213, 255, 0.2);
  filter: saturate(1.06) contrast(1.02);
}

.diamond-card:hover .profile-photo.has-image,
.gold-card:hover .profile-photo.has-image {
  filter: saturate(1.18) contrast(1.06);
  transform: scale(1.035);
}

.diamond-card .profile-photo.has-image::before,
.diamond-card .profile-photo.has-image::after,
.gold-card .profile-photo.has-image::before,
.gold-card .profile-photo.has-image::after {
  display: none;
}

.diamond-card::before,
.gold-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background:
    linear-gradient(180deg, transparent 0 46%, rgba(2, 5, 10, 0.74)),
    linear-gradient(135deg, rgba(32, 213, 255, 0.22), transparent 18%, transparent 78%, rgba(255, 45, 143, 0.26));
  pointer-events: none;
}

.diamond-card::after,
.gold-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  opacity: 0.7;
  pointer-events: none;
  mask:
    linear-gradient(#000 0 0) padding-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  border: 1px solid transparent;
}

.diamond-card {
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(#050b14, #050b14) padding-box,
    linear-gradient(90deg, #21dfff 0%, #27d6f0 35%, #b557d9 58%, #ff2d8f 100%) border-box,
    #050b14;
  box-shadow:
    -10px 0 20px rgba(32, 213, 255, 0.24),
    10px 0 22px rgba(255, 45, 143, 0.26),
    inset 0 0 26px rgba(32, 213, 255, 0.08);
}

.diamond-card::after {
  background:
    linear-gradient(90deg, rgba(32, 213, 255, 0.86), rgba(73, 207, 242, 0.42) 32%, rgba(186, 83, 215, 0.42) 62%, rgba(255, 45, 143, 0.9)) border-box;
}

.gold-card {
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(#070503, #070503) padding-box,
    linear-gradient(90deg, #ffd36f 0%, #ffc45c 34%, #d8799f 62%, #ff2d8f 100%) border-box,
    #070503;
  box-shadow:
    -10px 0 20px rgba(255, 196, 92, 0.26),
    10px 0 22px rgba(255, 45, 143, 0.24),
    inset 0 0 22px rgba(255, 196, 92, 0.14);
}

.gold-card::after {
  background:
    linear-gradient(90deg, rgba(255, 196, 92, 0.86), rgba(255, 196, 92, 0.38) 32%, rgba(218, 111, 153, 0.42) 62%, rgba(255, 45, 143, 0.86)) border-box;
}

.card-top {
  position: absolute;
  inset: 24px auto auto 24px;
  z-index: 8;
  pointer-events: none;
}

.diamond-ribbon,
.gold-ribbon {
  position: static;
  min-width: 110px;
  padding: 11px 15px;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.diamond-ribbon {
  color: #51efff;
  border: 1px solid rgba(40, 224, 255, 0.78);
  background: rgba(4, 23, 36, 0.72);
  box-shadow: 0 0 12px rgba(32, 213, 255, 0.34);
}

.gold-ribbon {
  color: #fff;
  border: 1px solid rgba(255, 222, 146, 0.76);
  background: rgba(161, 100, 4, 0.82);
  box-shadow: 0 0 12px rgba(255, 196, 92, 0.42);
}

.diamond-card .profile-info,
.gold-card .profile-info {
  position: relative;
  z-index: 8;
  width: calc(100% - 22px);
  padding: 0 0 0 4px;
  background: linear-gradient(90deg, rgba(2, 5, 10, 0.4), transparent);
}

.diamond-card .profile-name,
.gold-card .profile-name {
  color: #fff;
  font-size: 1.26rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow:
    0 0 8px rgba(32, 213, 255, 0.32),
    0 0 10px rgba(255, 45, 143, 0.34);
}

.diamond-card .profile-city {
  color: #26d8f0;
}

.diamond-card .profile-region {
  color: #ff3e9d;
}

.diamond-card .profile-status {
  color: #61eaff;
}

.gold-card .profile-city {
  color: #ffc45c;
}

.gold-card .profile-region {
  color: #ff3e9d;
}

.gold-card .profile-status {
  color: #ffd36f;
}

.diamond-card .profile-status::before,
.gold-card .profile-status::before {
  content: "";
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #ff2d8f 0 38%, transparent 39%),
    conic-gradient(from 0deg, #ff2d8f 0 10%, transparent 10% 18%, #ff2d8f 18% 28%, transparent 28% 36%, #ff2d8f 36% 46%, transparent 46% 54%, #ff2d8f 54% 64%, transparent 64% 72%, #ff2d8f 72% 82%, transparent 82% 90%, #ff2d8f 90% 100%);
  box-shadow: 0 0 10px rgba(255, 45, 143, 0.82);
}

@media (max-width: 1180px) {
  .diamond-profile-grid,
  .gold-profile-grid {
    gap: 22px;
  }

  .diamond-profile-grid .profile-card,
  .gold-profile-grid .profile-card {
    flex-basis: calc((100% - 22px) / 2);
    width: calc((100% - 22px) / 2);
  }
}

@media (max-width: 760px) {
  .diamond-profiles-section,
  .gold-profiles-section {
    margin-bottom: 22px;
    padding: 18px 10px 20px;
    border-radius: 14px;
  }

  .diamond-profiles-section::before,
  .gold-profiles-section::before {
    inset: 6px;
    border: 1px solid rgba(255, 45, 143, 0.34);
    border-radius: 12px;
    background:
      linear-gradient(90deg, transparent, rgba(255, 45, 143, 0.7), transparent) 50% 12px / 76% 1px no-repeat,
      linear-gradient(90deg, transparent, rgba(255, 45, 143, 0.58), transparent) 50% calc(100% - 12px) / 76% 1px no-repeat,
      rgba(4, 8, 14, 0.18);
    box-shadow:
      inset 0 0 22px rgba(255, 45, 143, 0.12),
      0 0 14px rgba(255, 45, 143, 0.16);
  }

  .diamond-carousel,
  .gold-carousel {
    padding-inline: 0;
  }

  .diamond-profile-grid,
  .gold-profile-grid {
    gap: 16px;
    padding: 18px calc((100% - min(84vw, 340px)) / 2) 24px;
    scroll-padding-inline: calc((100% - min(84vw, 340px)) / 2);
  }

  .diamond-profile-grid .profile-card,
  .gold-profile-grid .profile-card {
    flex: 0 0 min(84vw, 340px);
    width: min(84vw, 340px);
    max-width: none;
    min-height: 480px;
    padding: 0 18px 22px;
    scroll-snap-align: center;
  }

  .card-top {
    inset: 20px auto auto 20px;
  }

  .diamond-ribbon,
  .gold-ribbon {
    min-width: 96px;
    padding: 9px 12px;
    font-size: 0.76rem;
  }
}
