:root {
  /* Tinder flame palette */
  --tinder-pink: #fd267a;
  --tinder-orange: #ff6036;
  --flame: linear-gradient(135deg, #fd267a 0%, #ff6036 100%);
  --flame-soft: linear-gradient(135deg, rgba(253,38,122,.95), rgba(255,96,54,.95));

  --bg: #0d0b0c;
  --bg-2: #161214;
  --bg-3: #21181c;
  --text: #fff7f8;
  --muted: #b5a4a8;
  --line: rgba(255, 247, 248, 0.10);
  --gold: #fd267a;
  --gold-2: #ff6036;
  --rose: #fd267a;
  --ok: #6f9e7a;
  --danger: #fd267a;
  --shadow: 0 24px 60px rgba(253, 38, 122, .18);
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1100px 640px at 85% -8%, rgba(253,38,122,.22), transparent 55%),
    radial-gradient(900px 520px at -5% 25%, rgba(255,96,54,.16), transparent 50%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
code {
  font-size: .9em;
  background: var(--bg-3);
  padding: .1em .35em;
  border-radius: 6px;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.brand-logo {
  display: block;
  width: auto;
  height: 1.55rem;
  object-fit: contain;
}
.brand-logo--sm { height: 1.35rem; }
.brand-logo--md { height: 1.7rem; }
.brand-logo--lg { height: 2.2rem; }
.brand-logo--hero {
  height: clamp(3.2rem, 12vw, 5.6rem);
  width: auto;
  max-width: min(92vw, 420px);
}
.brand--foot .brand-logo { height: 1.25rem; opacity: .92; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.brand span {
  background: var(--flame);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand--sm { font-size: 1rem; }

.muted { color: var(--muted); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  background: var(--flame);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
  margin: 0 0 .8rem;
}

/* Loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(11,11,12,.55);
  backdrop-filter: blur(8px);
}
.page-loader[hidden] { display: none !important; }
.page-loader__ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255,247,248,.15);
  border-top-color: var(--tinder-pink);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .85rem 1.35rem;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), opacity .2s, filter .2s;
  background: var(--bg-3);
  color: var(--text);
  position: relative;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--flame);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(253, 38, 122, .35);
}
.btn--primary:hover {
  filter: brightness(1.05);
}
.btn--ghost {
  background: transparent;
  border-color: var(--line);
}
.btn--danger {
  background: rgba(253,38,122,.15);
  border-color: rgba(253,38,122,.4);
  color: #ffc1d4;
}
.toast--err { background: rgba(253,38,122,.15); color: #ffc1d4; }
.form-error { color: #ff9fbc; margin: .75rem 0 0; }
.btn--block { width: 100%; }
.btn--sm { padding: .55rem 1rem; font-size: .9rem; }
.btn--xs { padding: .35rem .7rem; font-size: .78rem; border-radius: 8px; }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin .6s linear infinite;
}

/* Home */
.site-top, .site-foot {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-nav { display: flex; gap: 1rem; color: var(--muted); font-size: .92rem; }
.site-nav a:hover { color: var(--tinder-pink); }
.site-foot { color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); margin-top: 3rem; }

.home-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(2.5rem, 8vw, 5rem) 1.25rem 2rem;
}
.brand-hero {
  margin: 0 0 1rem;
  line-height: 0;
}
.brand-hero .brand-logo--hero {
  display: block;
}
.lede {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.home-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.profile-tile {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.profile-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(253,38,122,.45);
  box-shadow: 0 16px 40px rgba(253,38,122,.18);
}
.profile-tile__media {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-3);
}
.profile-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.profile-tile:hover .profile-tile__media img { transform: scale(1.04); }
.profile-tile__meta {
  padding: .95rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.profile-tile__meta span { color: var(--muted); font-size: .9rem; }

/* Hotsite */
.page-hotsite { background: #080809; }
.hs-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.25rem;
  mix-blend-mode: difference;
}
.hs-wa-top {
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .9;
}

.hs-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hs-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  animation: heroIn 1.2s var(--ease) both;
}
.hs-hero__img--empty { background: var(--bg-3); }
.hs-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,8,9,.15) 0%, rgba(8,8,9,.2) 40%, rgba(8,8,9,.92) 100%),
    linear-gradient(90deg, rgba(8,8,9,.55), transparent 55%);
}
.hs-hero__copy {
  position: relative;
  z-index: 2;
  padding: 0 1.25rem 2.5rem;
  max-width: 720px;
  animation: rise .8s var(--ease) .15s both;
}
.hs-kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  background: var(--flame);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
  margin: 0 0 .75rem;
}
.hs-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 5.5rem);
  font-weight: 500;
  line-height: .95;
  margin: 0;
  letter-spacing: -.02em;
}
.hs-age {
  margin: .6rem 0 0;
  color: rgba(242,238,232,.75);
  font-size: 1.05rem;
}
.hs-tagline {
  margin: 1rem 0 0;
  max-width: 28rem;
  color: rgba(242,238,232,.78);
  font-size: 1.05rem;
}
.hs-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.hs-section {
  max-width: 920px;
  margin: 0 auto;
  padding: 2.75rem 1.25rem 0;
}
.hs-section h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.75rem;
  margin: 0 0 1.1rem;
  letter-spacing: -.01em;
}
.hs-bio {
  color: rgba(242,238,232,.82);
  font-size: 1.05rem;
  white-space: pre-wrap;
}

.hs-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin: 0;
}
.hs-facts div {
  border-top: 1px solid var(--line);
  padding-top: .7rem;
}
.hs-facts dt {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}
.hs-facts dd { margin: .25rem 0 0; font-size: 1.02rem; }

.hs-chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.hs-chips li {
  border: 1px solid var(--line);
  padding: .45rem .85rem;
  border-radius: 999px;
  font-size: .92rem;
  color: rgba(242,238,232,.85);
}

.hs-rates {
  display: grid;
  gap: .65rem;
}
.hs-rate {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
}
.hs-rate span { color: var(--muted); }
.hs-rate strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  background: var(--flame);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hs-gal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.hs-gal-head h2 { margin: 0; }
.hs-unlocked {
  color: var(--ok);
  font-size: .9rem;
}

.hs-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  padding-bottom: 6rem;
}
.hs-shot {
  position: relative;
  border: 0;
  padding: 0;
  background: var(--bg-2);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.hs-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease), filter .35s var(--ease);
}
.hs-shot:hover img { transform: scale(1.03); }
.hs-shot.is-locked img {
  filter: blur(14px) brightness(.55);
  transform: scale(1.08);
}
.hs-shot__lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: .4rem;
  color: #fff;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(0,0,0,.2);
}

.hs-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #083;
  color: #062d16;
  box-shadow: var(--shadow);
  z-index: 20;
  transition: transform .25s var(--ease);
}
.hs-fab:hover { transform: scale(1.06); }

/* Modal / lightbox */
.modal[hidden], .lightbox[hidden] { display: none !important; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
}
.modal__panel {
  position: relative;
  width: min(420px, 100%);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  animation: rise .35s var(--ease);
}
.modal__panel h3 {
  font-family: var(--font-display);
  margin: 0 0 .4rem;
  font-weight: 500;
}
.modal__panel p { color: var(--muted); margin: 0 0 1rem; }
.modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: .6rem;
  margin-top: 1rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0,0,0,.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0 1.5rem;
  touch-action: pan-y;
}
body.lb-open { overflow: hidden; }
.lightbox__stage {
  position: relative;
  width: min(100%, 720px);
  height: min(78vh, 860px);
  display: grid;
  place-items: center;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
.lightbox__track {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  will-change: transform;
}
.lightbox__img,
.lightbox__video {
  grid-area: 1 / 1;
  max-height: 78vh;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}
/* img { display:block } global sobrescreve [hidden] sem !important */
.lightbox__img[hidden],
.lightbox__video[hidden] {
  display: none !important;
}
.lightbox__hit {
  position: absolute;
  top: 0;
  bottom: 0;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}
.lightbox__hit--prev { left: 0; width: 22%; }
.lightbox__hit--next { right: 0; width: 22%; }
.lightbox__hit--center { left: 22%; right: 22%; width: auto; cursor: zoom-out; }
.lightbox__hint {
  margin: .85rem 0 0;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,247,248,.42);
  text-align: center;
  padding: 0 1.25rem;
}
.lightbox__count {
  margin: .35rem 0 0;
  font-size: .78rem;
  color: rgba(255,247,248,.32);
  letter-spacing: .08em;
}
.lightbox__close {
  position: absolute;
  top: .8rem;
  right: 1rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 5;
  opacity: .7;
}
.lightbox__close:hover { opacity: 1; }

@media (min-width: 860px) {
  .lightbox__hint { font-size: .68rem; opacity: .85; }
}

/* Auth / Panel */
.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.auth-card {
  width: min(420px, 100%);
  background: rgba(18,18,20,.9);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.auth-card h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.8rem;
  margin: 1rem 0 .35rem;
}
.auth-hint { margin-top: 1.25rem; color: var(--muted); font-size: .85rem; }
.stack { display: grid; gap: .9rem; margin-top: 1.25rem; }

.field { display: grid; gap: .4rem; }
.field span {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .8rem .95rem;
  outline: none;
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus {
  border-color: rgba(253,38,122,.55);
  box-shadow: 0 0 0 3px rgba(253,38,122,.12);
}
.field--full { grid-column: 1 / -1; }
.form-actions { margin-top: .5rem; }

.panel-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px 1fr;
}
.panel-side {
  background: #0e0e10;
  border-right: 1px solid var(--line);
  padding: 1.4rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.panel-user { margin: 0; color: var(--muted); font-size: .92rem; }
.panel-nav { display: grid; gap: .35rem; }
.panel-nav a {
  padding: .7rem .85rem;
  border-radius: 10px;
  color: var(--muted);
}
.panel-nav a:hover, .panel-nav a.is-active {
  background: rgba(253,38,122,.12);
  color: var(--text);
  box-shadow: inset 3px 0 0 var(--tinder-pink);
}
.db-pill {
  margin-top: auto;
  font-size: .75rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem .7rem;
  width: fit-content;
}
.panel-main { padding: 1.4rem 1.25rem 3rem; }
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.panel-head h1 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0;
  font-size: 1.8rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.toast {
  padding: .85rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.toast--ok { background: rgba(111,158,122,.15); color: #c5e0cb; }

.upload-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: end;
  margin-bottom: 1.25rem;
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: 14px;
}
.check {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: var(--muted);
  padding-bottom: .4rem;
}
.gallery-admin__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .85rem;
}
.ga-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.ga-card img {
  aspect-ratio: 3/4;
  width: 100%;
  object-fit: cover;
}
.ga-card.is-locked img { filter: saturate(.7); }
.ga-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding: .55rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: .25rem .55rem;
  border-radius: 999px;
  font-size: .72rem;
  background: var(--bg-3);
  color: var(--muted);
}
.badge--ok { color: #c5e0cb; background: rgba(111,158,122,.15); }

.admin-create, .admin-list { margin-top: 1.5rem; }
.admin-create h2, .admin-list h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
}
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.table th, .table td {
  text-align: left;
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.table th {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255,255,255,.02);
}
.table-actions {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.inline-reset {
  display: flex;
  gap: .35rem;
  align-items: center;
}
.inline-reset input {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .35rem .55rem;
  width: 120px;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroIn {
  from { transform: scale(1.06); opacity: .6; }
  to { transform: none; opacity: 1; }
}

@media (min-width: 760px) {
  .hs-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
  .hs-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hs-hero__copy { padding: 0 3rem 3.5rem; }
  .hs-section { padding-left: 3rem; padding-right: 3rem; }
}

@media (max-width: 860px) {
  .panel-shell { grid-template-columns: 1fr; }
  .panel-side {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .panel-nav {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
  }
  .form-grid { grid-template-columns: 1fr; }
  .db-pill { display: none; }
}

/* Admin list + detail */
.admin-filters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .75rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.02);
}
.admin-filters__actions {
  display: flex;
  align-items: end;
  gap: .5rem;
  grid-column: 1 / -1;
}
.admin-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 1rem;
  align-items: start;
}
.admin-list-cards {
  display: grid;
  gap: .65rem;
  max-height: calc(100vh - 220px);
  overflow: auto;
  padding-right: .25rem;
}
.admin-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: .75rem;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: 14px;
  padding: .55rem;
  cursor: pointer;
  color: inherit;
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.admin-card:hover, .admin-card.is-active {
  border-color: rgba(253,38,122,.5);
  box-shadow: 0 10px 28px rgba(253,38,122,.12);
}
.admin-card.is-active { transform: translateY(-1px); }
.admin-card__media {
  width: 72px;
  height: 90px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-3);
}
.admin-card__media img, .admin-card__empty {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-card__body {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}
.admin-card__body span { color: var(--muted); font-size: .86rem; }
.admin-card__meta { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .35rem; }
.badge--lock {
  color: #ffc1d4;
  background: rgba(253,38,122,.16);
}

.admin-detail {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(18,18,20,.75);
  min-height: 420px;
  padding: 1rem;
  position: sticky;
  top: .75rem;
  max-height: calc(100vh - 100px);
  overflow: auto;
}
.admin-detail__empty {
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  padding: 2rem;
}

.ad-top {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
  margin-bottom: 1rem;
}
.ad-top__actions, .ad-inline { display: flex; gap: .45rem; align-items: center; flex-wrap: wrap; }
.ad-hero {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.ad-hero img, .ad-hero__empty {
  width: 140px;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  background: var(--bg-3);
}
.ad-hero__copy h2 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: .15rem 0;
  font-size: 1.8rem;
}
.ad-kicker {
  margin: 0;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--flame);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}
.ad-tagline { color: rgba(255,247,248,.78); margin: .5rem 0 0; }
.ad-badges { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .7rem; }
.ad-block { margin-top: 1.35rem; }
.ad-block h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  margin: 0 0 .75rem;
}
.ad-reset {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: end;
  margin-top: 1rem;
}
.ad-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: .55rem;
}
.ad-shot {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-3);
  border: 1px solid var(--line);
}
.ad-shot img { width: 100%; height: 100%; object-fit: cover; }
.ad-shot .badge {
  position: absolute;
  left: .4rem;
  bottom: .4rem;
}
.ad-shot--private { box-shadow: inset 0 0 0 1px rgba(253,38,122,.35); }
.ad-back { display: none; }

@media (max-width: 980px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-list-cards { max-height: none; }
  .admin-detail { position: static; max-height: none; }
  .admin-detail.is-open .ad-back { display: inline-flex; }
  .ad-hero { grid-template-columns: 110px 1fr; }
  .ad-hero img, .ad-hero__empty { width: 110px; height: 140px; }
}

/* Admin overview & menus */
.panel-head__right { display:flex; align-items:center; gap:.75rem; flex-wrap:wrap; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .85rem;
  margin-bottom: 1.5rem;
}
.stat-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  background: rgba(255,255,255,.02);
}
.stat-card span {
  display: block;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  margin: .35rem 0;
  background: var(--flame);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}
.stat-card small { color: var(--muted); }
.overview-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.25rem;
}
.overview-grid .panel-head { margin-bottom: .75rem; }
.overview-grid h2, .quick-links h2, .ad-block > h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0;
}
.overview-list { display: grid; gap: .55rem; }
.overview-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: .7rem;
  align-items: center;
  padding: .45rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
}
.overview-row__media {
  width: 52px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-3);
}
.overview-row__media img { width:100%; height:100%; object-fit:cover; }
.quick-links__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .55rem;
}
.quick-links__grid a {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .85rem 1rem;
  background: var(--bg-2);
  transition: border-color .2s, transform .2s var(--ease);
}
.quick-links__grid a:hover {
  border-color: rgba(253,38,122,.45);
  transform: translateY(-1px);
}
.photo-mod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .85rem;
}
.photo-mod {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-2);
}
.photo-mod img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.photo-mod__meta { padding: .7rem; display: grid; gap: .45rem; }
.photo-mod__actions { display: flex; flex-wrap: wrap; gap: .35rem; }
.photo-mod.is-locked { box-shadow: inset 0 0 0 1px rgba(253,38,122,.25); }

@media (max-width: 980px) {
  .overview-grid { grid-template-columns: 1fr; }
}

/* Icons */
.icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: -0.15em;
  opacity: .85;
}
.btn .icon { opacity: .9; }
.badge .icon { margin-right: .2rem; vertical-align: -0.1em; }
.panel-nav a {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.panel-nav a .icon { opacity: .55; }
.panel-nav a.is-active .icon,
.panel-nav a:hover .icon { opacity: .95; color: var(--tinder-pink); }

/* Form controls fix */
.field { min-width: 0; }
.field > span {
  display: block;
  line-height: 1.2;
  margin-bottom: .15rem;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 44px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .7rem .9rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  color: var(--text);
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 2px), calc(100% - 11px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(253,38,122,.55);
  box-shadow: 0 0 0 3px rgba(253,38,122,.12);
}
.field-control {
  position: relative;
  display: flex;
  align-items: center;
}
.field-control > .icon {
  position: absolute;
  left: .85rem;
  z-index: 1;
  opacity: .45;
  pointer-events: none;
}
.field-control input,
.field-control select {
  padding-left: 2.25rem;
}

.btn {
  white-space: nowrap;
  line-height: 1.2;
  min-height: 42px;
}
.btn--sm { min-height: 38px; padding: .55rem 1rem; }
.btn--xs { min-height: 32px; padding: .4rem .7rem; font-size: .78rem; border-radius: 10px; }
.btn--icon {
  gap: .4rem;
  min-height: 36px;
  padding: .45rem .75rem;
  font-size: .82rem;
  border-radius: 10px;
  width: 100%;
  justify-content: center;
}

.admin-filters {
  align-items: end;
}
.admin-filters--media {
  grid-template-columns: minmax(220px, 1.4fr) minmax(180px, 1fr) auto;
}
.admin-filters__actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  grid-column: auto;
  padding-bottom: 1px;
}
.admin-filters__actions .btn { margin: 0; }

/* Media feed cards */
.media-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.media-feed__empty {
  grid-column: 1 / -1;
  padding: 2rem 0;
}
.media-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-2);
  min-width: 0;
}
.media-card.is-locked {
  border-color: rgba(253,38,122,.28);
}
.media-card__preview {
  position: relative;
  display: block;
  aspect-ratio: 3/4;
  background: #0a0a0b;
  overflow: hidden;
}
.media-card__preview img,
.media-card__preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.22);
  color: #fff;
}
.media-card__play .icon {
  width: 38px;
  height: 38px;
  opacity: .95;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.35));
}
.media-card__kind {
  position: absolute;
  top: .55rem;
  left: .55rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .28rem .5rem;
  border-radius: 999px;
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(0,0,0,.55);
  color: #fff;
  backdrop-filter: blur(6px);
}
.media-card__body {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: .75rem .8rem .85rem;
  flex: 1;
}
.media-card__who {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
}
.media-card__who strong {
  font-size: .95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.media-card__who span {
  font-size: .75rem;
  color: var(--muted);
}
.media-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}
.media-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
  margin-top: auto;
}
.media-card__actions form { margin: 0; min-width: 0; }

@media (max-width: 860px) {
  .admin-filters--media {
    grid-template-columns: 1fr;
  }
  .admin-filters__actions {
    grid-column: 1 / -1;
  }
}

.hs-shot video,
.ga-card video,
.ad-shot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 0;
  background: #111;
}
.hs-shot__badge {
  position: absolute;
  top: .55rem;
  left: .55rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .28rem .55rem;
  border-radius: 999px;
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(0,0,0,.62);
  color: #fff;
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.hs-shot__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #fff;
  pointer-events: none;
  background: rgba(0,0,0,.22);
}
.hs-shot__play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(253,38,122,.92);
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
.hs-shot__play-btn .icon {
  width: 22px;
  height: 22px;
  opacity: 1;
  margin-left: 2px;
}
.hs-shot.is-locked video {
  filter: blur(14px) brightness(.45);
  transform: scale(1.08);
}
.hs-shot__lock {
  z-index: 4;
}
.lightbox__sound {
  z-index: 8 !important;
}
.lightbox__sound[hidden] {
  display: none !important;
}
.lightbox__video {
  max-height: 78vh;
  max-width: 100%;
  border-radius: 10px;
  background: #000;
}
.ga-card video { aspect-ratio: 3/4; }
.upload-bar {
  align-items: end;
}
.upload-bar .field { flex: 1; min-width: 180px; }
.upload-bar .btn { align-self: end; }

/* ===== Admin responsive overhaul ===== */
.panel-mobilebar,
.panel-backdrop,
.panel-side__close { display: none; }

.panel-side__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.panel-side__close {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: .35rem;
  border-radius: 8px;
  cursor: pointer;
}
.panel-side__close:hover { color: var(--text); background: var(--bg-3); }

body.panel-nav-lock { overflow: hidden; }

.panel-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  width: 100%;
  overflow-x: hidden;
}
.panel-side {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  background: #0e0e10;
  border-right: 1px solid var(--line);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  z-index: 40;
}
.panel-main {
  min-width: 0;
  padding: 1.35rem 1.4rem 3rem;
  width: 100%;
}
.panel-head {
  flex-wrap: wrap;
  align-items: flex-start;
}
.panel-head h1 {
  font-size: clamp(1.45rem, 3vw, 1.8rem);
  line-height: 1.15;
}
.panel-head__right {
  width: auto;
  justify-content: flex-end;
}

.admin-filters {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.admin-filters--media {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto;
}
.admin-layout {
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
}
.admin-list-cards { max-height: calc(100vh - 240px); }
.media-feed {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.overview-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table { min-width: 560px; }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
}
.ad-top {
  flex-wrap: wrap;
}
.ad-top__actions {
  width: 100%;
}
.ad-reset {
  flex-direction: column;
  align-items: stretch;
}
.ad-reset .field { width: 100%; }
.ad-reset .btn { width: 100%; max-width: 220px; }

@media (max-width: 1100px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-layout { grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); }
}

@media (max-width: 980px) {
  .panel-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .panel-mobilebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    position: sticky;
    top: 0;
    z-index: 50;
    padding: .7rem .9rem;
    background: rgba(11, 11, 12, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .panel-mobilebar__user {
    font-size: .82rem;
    color: var(--muted);
    max-width: 30vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .panel-menu-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--bg-2);
    display: grid;
    place-content: center;
    gap: 4px;
    padding: 0;
    cursor: pointer;
  }
  .panel-menu-btn span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
  }

  .panel-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(3px);
  }
  .panel-backdrop[hidden] { display: none !important; }

  .panel-side {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(86vw, 300px);
    height: 100vh;
    height: 100dvh;
    transform: translateX(-105%);
    transition: transform .28s var(--ease);
    border-right: 1px solid var(--line);
    border-bottom: 0;
    box-shadow: 20px 0 50px rgba(0,0,0,.35);
    z-index: 70;
    padding-top: 1rem;
  }
  .panel-shell.nav-open .panel-side { transform: translateX(0); }
  .panel-side__close { display: inline-flex; }
  .panel-side .brand { font-size: 1.05rem; }
  .panel-nav {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: unset;
    overflow: visible;
    gap: .25rem;
  }
  .panel-nav a {
    padding: .85rem .9rem;
    font-size: .95rem;
  }
  .db-pill { display: inline-flex; margin-top: 1rem; }

  .panel-main {
    padding: 1rem .9rem 5.5rem;
  }
  .panel-head {
    margin-bottom: 1rem;
    gap: .65rem;
  }
  .panel-head__right {
    width: 100%;
    justify-content: space-between;
  }
  .panel-head .btn { flex-shrink: 0; }

  .admin-filters,
  .admin-filters--media {
    grid-template-columns: 1fr;
    padding: .85rem;
    gap: .7rem;
    margin-bottom: 1rem;
  }
  .admin-filters__actions {
    grid-column: 1 / -1;
    width: 100%;
  }
  .admin-filters__actions .btn {
    flex: 1;
    justify-content: center;
  }

  .admin-layout {
    grid-template-columns: 1fr;
    gap: .85rem;
  }
  .admin-list-cards {
    max-height: none;
    padding-right: 0;
  }
  .admin-detail {
    position: static;
    max-height: none;
    min-height: 0;
    padding: .85rem;
    border-radius: 14px;
  }
  .admin-detail:not(.is-open) {
    display: none;
  }
  .admin-detail.is-open {
    display: block;
  }
  .admin-detail__empty { display: none; }
  .admin-detail.is-open .ad-back { display: inline-flex; }

  .admin-card {
    grid-template-columns: 64px 1fr;
    gap: .65rem;
    padding: .5rem;
  }
  .admin-card__media {
    width: 64px;
    height: 80px;
  }

  .ad-hero {
    grid-template-columns: 88px 1fr;
    gap: .75rem;
  }
  .ad-hero img, .ad-hero__empty {
    width: 88px;
    height: 112px;
    border-radius: 12px;
  }
  .ad-hero__copy h2 { font-size: 1.35rem; }
  .ad-top__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .ad-top__actions .btn,
  .ad-top__actions form,
  .ad-inline { width: 100%; }
  .ad-top__actions .btn { justify-content: center; }
  .ad-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .4rem;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
  }
  .stat-card { padding: .85rem; border-radius: 14px; }
  .stat-card strong { font-size: 1.55rem; }

  .overview-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .quick-links__grid {
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
  }
  .quick-links__grid a {
    padding: .75rem .7rem;
    font-size: .88rem;
  }

  .media-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
  }
  .media-card { border-radius: 14px; }
  .media-card__body { padding: .65rem .6rem .7rem; gap: .45rem; }
  .media-card__actions {
    grid-template-columns: 1fr;
  }
  .media-card__actions .btn--icon span { display: none; }
  .media-card__actions .btn--icon {
    min-height: 34px;
    padding: .4rem;
  }

  .form-grid { grid-template-columns: 1fr; gap: .85rem; }
  .form-actions .btn { width: 100%; justify-content: center; }

  .upload-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .upload-bar .btn { width: 100%; }

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

  .table { min-width: 520px; font-size: .9rem; }
  .table th, .table td { padding: .7rem .75rem; }

  .auth-shell { padding: 1rem; }
  .auth-card { padding: 1.25rem; border-radius: 16px; }
}

@media (max-width: 420px) {
  .stat-grid,
  .quick-links__grid,
  .media-feed,
  .gallery-admin__grid,
  .ad-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .panel-main { padding-left: .75rem; padding-right: .75rem; }
  .media-card__who strong { font-size: .88rem; }
}

@media (min-width: 981px) {
  .panel-mobilebar,
  .panel-backdrop,
  .panel-side__close { display: none !important; }
  .panel-side { transform: none !important; }
  .admin-detail { display: block !important; }
  .admin-detail__empty { display: grid; }
}

@media (max-width: 980px) {
  .admin-list-cards.is-hidden-mobile { display: none; }
  .panel-user { font-size: .88rem; }
  .panel-side__top { margin-bottom: .25rem; }
}

/* Ensure fixed elements don't break desktop grid */
@media (min-width: 981px) {
  .panel-shell > .panel-mobilebar,
  .panel-shell > .panel-backdrop { display: none !important; }
}

/* Scope drawer behavior to admin only — restore escort painel sidebar on mobile */
@media (max-width: 980px) {
  .panel-shell:not(.admin-shell) {
    grid-template-columns: 1fr;
  }
  .panel-shell:not(.admin-shell) .panel-side {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    box-shadow: none;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: .85rem .9rem;
  }
  .panel-shell:not(.admin-shell) .panel-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: .35rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .15rem;
  }
  .panel-shell:not(.admin-shell) .panel-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: .65rem .8rem;
    font-size: .88rem;
  }
  .panel-shell:not(.admin-shell) .db-pill,
  .panel-shell:not(.admin-shell) .panel-user {
    display: none;
  }
  .panel-shell:not(.admin-shell) .panel-side .brand {
    display: inline-block;
    margin-bottom: .55rem;
  }

  /* Admin drawer must win over any earlier generic rules */
  .admin-shell .panel-side {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(86vw, 300px) !important;
    height: 100dvh !important;
    transform: translateX(-105%) !important;
    z-index: 70;
    border-bottom: 0 !important;
    overflow: auto;
  }
  .admin-shell.nav-open .panel-side {
    transform: translateX(0) !important;
  }
  .admin-shell .panel-nav {
    display: grid !important;
    grid-auto-flow: row !important;
    overflow: visible !important;
  }
}

@media (min-width: 981px) {
  .admin-shell .panel-mobilebar,
  .admin-shell .panel-backdrop,
  .admin-shell .panel-side__close {
    display: none !important;
  }
}

.media-card__preview {
  width: 100%;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
}
.ad-shot {
  width: 100%;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  text-align: left;
}
.lightbox__caption {
  margin: .25rem 0 0;
  font-size: .82rem;
  color: rgba(255,247,248,.55);
  text-align: center;
  padding: 0 1rem;
}
.admin-lightbox { z-index: 120; }

/* hidden must beat display:grid on filter forms */
.admin-filters[hidden],
form.admin-filters[hidden],
.admin-filters--media[hidden] {
  display: none !important;
}

.lightbox__hit--center.is-video-mode {
  pointer-events: none;
  cursor: default;
}
.lightbox__sound {
  position: absolute;
  left: 50%;
  bottom: .85rem;
  transform: translateX(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  transition: transform .2s var(--ease), background .2s;
}
.lightbox__sound:hover {
  transform: translateX(-50%) scale(1.06);
  background: rgba(253,38,122,.85);
}
.lightbox__sound-icon {
  display: grid;
  place-items: center;
}
.lightbox__video {
  background: #000;
  pointer-events: none;
}

.media-card__preview { position: relative; }
.media-card__preview video { position: relative; z-index: 0; }
.media-card__play {
  z-index: 2 !important;
  background: rgba(0,0,0,.25) !important;
}
.media-card__kind { z-index: 3 !important; }
.media-card__play .hs-shot__play-btn {
  width: 48px;
  height: 48px;
}

.lightbox__video-controls {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 8;
  display: flex;
  gap: .55rem;
  align-items: center;
}
.lightbox__video-controls[hidden] { display: none !important; }
.lightbox__ctl {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  transition: transform .2s var(--ease), background .2s;
}
.lightbox__ctl:hover {
  transform: scale(1.06);
  background: rgba(253,38,122,.88);
}
.lightbox__hit--prev[hidden],
.lightbox__hit--next[hidden] { display: none !important; }
/* hide old single sound button styles if present */
.lightbox__sound { display: none !important; }

/* strip gallery/media play chrome — only lightbox play/mute remain */
.hs-shot__play,
.media-card__play { display: none !important; }
