:root {
  --ink: #0e0a0b;
  --ink-2: #1a1114;
  --paper: #f0e8e6;
  /* Lightened from #a89896 — small labels were dipping under comfortable contrast. */
  --mute: #b5a6a4;
  --brass: #c9a27a;
  --brass-deep: #9a7350;
  --crimson: #b4233a;
  --crimson-bright: #d6354c;
  --crimson-soft: rgba(180, 35, 58, 0.22);
  --line: rgba(240, 232, 230, 0.1);
  --font-display: "Syne", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --space: clamp(0.85rem, 2vw, 1.35rem);
  --max: 1040px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--paper);
  background:
    radial-gradient(900px 520px at 8% -8%, var(--crimson-soft), transparent 55%),
    radial-gradient(700px 420px at 100% 0%, rgba(201, 162, 122, 0.1), transparent 48%),
    linear-gradient(180deg, #161012 0%, var(--ink) 42%, #090607 100%);
  line-height: 1.45;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Consistent keyboard-focus ring: brass ring + soft crimson halo.
   :focus-visible only — mouse clicks stay clean. */
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.btn:focus-visible,
.card__link:focus-visible,
.site-nav a:focus-visible,
.like-btn:focus-visible,
.react-btn:focus-visible,
.pagination a.page-numbers:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--crimson-soft);
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: var(--space);
  top: var(--space);
  z-index: 100;
  background: var(--crimson);
  color: #fff;
  padding: 0.5rem 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 10, 11, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(180, 35, 58, 0.25);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
  flex: 1 1 auto;
}

.site-nav .menu {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pv-ui-preview-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  justify-content: center;
  padding: 0.55rem var(--space);
  background: linear-gradient(90deg, rgba(180, 35, 58, 0.35), rgba(201, 162, 122, 0.22));
  border-bottom: 1px solid rgba(201, 162, 122, 0.35);
  color: var(--paper);
  font-size: 0.8rem;
  text-align: center;
}

.pv-ui-preview-banner a {
  color: var(--brass);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nav-user__stats--preview {
  outline: 1px dashed rgba(201, 162, 122, 0.35);
  outline-offset: 3px;
  padding: 2px;
}

.nav-user {
  display: grid;
  gap: 0.4rem;
  align-content: center;
  max-width: min(32rem, 100%);
  min-width: 0;
  flex: 1 1 12rem;
}

.nav-user__name {
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  line-height: 1.2;
}

.nav-user__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-width: 0;
}

.nav-chip {
  display: inline-grid;
  gap: 0.05rem;
  max-width: 100%;
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(240, 232, 230, 0.06), transparent 70%),
    rgba(14, 10, 11, 0.72);
  line-height: 1.15;
  animation: nav-chip-in 0.45s ease both;
}

.nav-chip:nth-child(2) {
  animation-delay: 0.06s;
}

.nav-chip:nth-child(3) {
  animation-delay: 0.12s;
}

.nav-chip__label {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

.nav-chip__value {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--paper);
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.nav-chip--tier {
  border-color: rgba(201, 162, 122, 0.35);
  background:
    linear-gradient(160deg, rgba(201, 162, 122, 0.16), transparent 72%),
    rgba(14, 10, 11, 0.55);
}

.nav-chip--tier .nav-chip__value {
  color: var(--brass);
}

.nav-chip--skibidi {
  position: relative;
  border-color: rgba(201, 162, 122, 0.65);
  background:
    linear-gradient(135deg, rgba(180, 35, 58, 0.35), rgba(201, 162, 122, 0.22) 45%, transparent 78%),
    rgba(14, 10, 11, 0.7);
  box-shadow: inset 0 0 0 1px rgba(240, 168, 178, 0.12);
  overflow: hidden;
}

.nav-chip--skibidi::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(240, 232, 230, 0.14) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  animation: skibidi-sheen 3.2s ease-in-out infinite;
  pointer-events: none;
}

.nav-chip--skibidi .nav-chip__label {
  color: rgba(240, 168, 178, 0.85);
  letter-spacing: 0.12em;
}

.nav-chip--skibidi .nav-chip__value {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
}

.nav-chip--role {
  border-color: rgba(214, 53, 76, 0.4);
  background:
    linear-gradient(160deg, rgba(180, 35, 58, 0.28), transparent 70%),
    rgba(14, 10, 11, 0.55);
  padding: 0.35rem 0.6rem;
}

.nav-chip--role .nav-chip__value {
  color: var(--crimson-bright);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-chip--gift {
  border-color: rgba(214, 53, 76, 0.45);
  background:
    linear-gradient(160deg, rgba(180, 35, 58, 0.32), transparent 70%),
    rgba(14, 10, 11, 0.55);
  order: -1;
}

.nav-chip--gift .nav-chip__label {
  color: #f0b8c0;
}

.nav-chip--gift .nav-chip__value {
  color: #ffe4e8;
  font-weight: 700;
}

.nav-chip--pay .nav-chip__value,
.nav-chip--access .nav-chip__value {
  color: #e8dcd8;
}

.nav-chip--expired {
  border-color: rgba(180, 35, 58, 0.35);
}

.nav-chip--expired .nav-chip__value {
  color: var(--crimson-bright);
}

.nav-chip--refresh {
  cursor: pointer;
  border-style: dashed;
  border-color: rgba(201, 162, 122, 0.45);
  background: transparent;
  font: inherit;
  color: inherit;
  padding: 0.28rem 0.55rem;
}

.nav-chip--refresh:hover,
.nav-chip--refresh:focus-visible {
  border-color: var(--brass);
  color: #fff;
}

.nav-chip--refresh:disabled {
  opacity: 0.65;
  cursor: wait;
}

.nav-chip--refresh .nav-chip__value {
  color: var(--brass);
}

@keyframes nav-chip-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-chip {
    animation: none;
  }
}

.card__placeholder--video {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(180, 35, 58, 0.22), transparent 55%),
    linear-gradient(145deg, #1a1114, #0e0a0b);
}

.card__play {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(14, 10, 11, 0.65);
  color: var(--paper);
  font-size: 0.85rem;
  padding-left: 0.12rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--solid {
  background: var(--crimson);
  color: #fff;
}

.btn--solid:hover {
  background: var(--crimson-bright);
}

.btn--ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: var(--crimson);
  color: #fff;
}

.hero {
  position: relative;
  min-height: auto;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: clamp(2.2rem, 6vh, 3.4rem) var(--space) clamp(1.8rem, 4.5vh, 2.6rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, transparent 10%, rgba(9, 6, 7, 0.72) 88%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 36px,
      rgba(180, 35, 58, 0.035) 36px,
      rgba(180, 35, 58, 0.035) 37px
    );
  pointer-events: none;
}

.hero__names {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
}

.hero__names-track {
  display: flex;
  flex-direction: column;
  /* No gap — two identical sets must be exact halves for a seamless -50% loop. */
  gap: 0;
  width: 100%;
  will-change: transform;
  animation: hero-names-rise 60s linear infinite;
}

.hero__names-set {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  /* Row gap + matching bottom pad so the seam between sets matches row spacing. */
  gap: 3rem 1rem;
  padding: 0 var(--space) 3rem;
  width: 100%;
  justify-items: center;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.hero__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.62rem, 1.5vw, 0.85rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(240, 232, 230, 0.1);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 1;
  transform: rotate(calc((var(--n) % 5 - 2) * 3deg));
  user-select: none;
}

@keyframes hero-names-rise {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -50%, 0);
  }
}

.hero__mark {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 1;
  width: min(52vw, 18rem);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}

.hero__copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  animation: rise 0.9s ease both;
}

.hero__brand {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 5vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0 auto 0.45rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--mute);
  max-width: 34ch;
}

.hero__lede {
  margin: 0 auto 0.9rem;
  color: var(--paper);
  opacity: 0.9;
  max-width: 40ch;
  font-size: 0.92rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  animation: rise 1.1s ease both;
}

.gallery,
.site-main--single {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.35rem, 3.5vw, 2rem) var(--space) clamp(2rem, 4vw, 2.75rem);
}

.gallery {
  scroll-margin-top: 4.5rem;
}

.section-head {
  margin-bottom: 1rem;
  animation: rise 0.8s ease both;
}

.section-head--gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
}

.section-head__copy {
  flex: 1 1 12rem;
  min-width: 0;
}

.section-head h2 {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--mute);
  font-size: 0.9rem;
}

.gallery-search {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.45rem;
  flex: 1 1 16rem;
  max-width: 28rem;
  margin-left: auto;
}

.gallery-search__input {
  flex: 1 1 10rem;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  color: var(--paper);
  background: var(--ink-2);
  border: 1px solid var(--line);
  font: inherit;
  font-size: 16px;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.gallery-search__input::placeholder {
  color: var(--mute);
}

.gallery-search__input:focus {
  outline: none;
  border-color: var(--brass);
}

.gallery-search__input:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 0;
}

.gallery-search__submit,
.gallery-search__clear {
  flex: 0 0 auto;
}

/* Live search: typing filters the grid; keep a no-JS Search fallback. */
.gallery-search--live .gallery-search__submit {
  display: none;
}

.gallery-results.is-loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.card {
  animation: rise 0.7s ease both;
}

.card:nth-child(2) { animation-delay: 0.06s; }
.card:nth-child(3) { animation-delay: 0.12s; }
.card:nth-child(4) { animation-delay: 0.18s; }

.card__link {
  display: block;
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-2);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.card--locked .card__media img,
.card--locked .card__tease {
  filter: blur(6px) brightness(0.78) saturate(1);
  transform: scale(1.04);
}

.card__placeholder--locked {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 40%, rgba(180, 35, 58, 0.18), transparent 50%),
    linear-gradient(160deg, #241418, #0e0a0b 70%);
}

.card__lock-icon,
.drop__locked-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid rgba(214, 53, 76, 0.85);
  border-radius: 50%;
  position: relative;
  opacity: 0.95;
  background: rgba(14, 10, 11, 0.35);
}

/* Padlock drawn in CSS: ::before is the shackle, ::after is the body. */
.card__lock-icon::before,
.drop__locked-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 24%;
  width: 0.72rem;
  height: 0.62rem;
  transform: translateX(-50%);
  border: 2px solid rgba(240, 168, 178, 0.95);
  border-bottom: 0;
  border-radius: 0.6rem 0.6rem 0 0;
  background: transparent;
}

.card__lock-icon::after,
.drop__locked-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 44%;
  width: 1.1rem;
  height: 0.82rem;
  transform: translateX(-50%);
  border-radius: 2px;
  background: rgba(240, 168, 178, 0.95);
}

.drop__locked-icon {
  width: 3.25rem;
  height: 3.25rem;
}

.drop__locked-icon::before {
  top: 25%;
  width: 0.85rem;
  height: 0.74rem;
}

.drop__locked-icon::after {
  width: 1.3rem;
  height: 0.98rem;
}

.drop__locked-media {
  position: relative;
  overflow: hidden;
  min-height: 200px;
  margin-bottom: 1rem;
  background: #0e0a0b;
  border: 1px solid var(--line);
}

.drop__locked-blur-panel {
  display: grid;
  place-items: center;
  min-height: 200px;
  background:
    radial-gradient(700px 280px at 50% 30%, rgba(180, 35, 58, 0.18), transparent 60%),
    linear-gradient(180deg, #1a1114, #0e0a0b);
}

.drop__locked-blur {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  filter: blur(7.5px) brightness(0.78) saturate(0.95);
  transform: scale(1.06);
}

.card__link:hover .card__media img {
  transform: scale(1.03);
}

.card--locked .card__link:hover .card__media img {
  transform: scale(1.06);
}

.card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1a1114, #0e0a0b);
}

.card__lock {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  padding: 0.28rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(14, 10, 11, 0.82);
  border: 1px solid rgba(180, 35, 58, 0.45);
  color: #f0a8b2;
}

.card__lock--skibidi {
  border-color: rgba(201, 162, 122, 0.7);
  background:
    linear-gradient(135deg, rgba(180, 35, 58, 0.55), rgba(14, 10, 11, 0.9) 70%);
  letter-spacing: 0.04em;
  text-transform: none;
  padding: 0.32rem 0.55rem;
}

.card__body {
  padding: 0.55rem 0.05rem 0;
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.35rem 0.05rem 0;
}

.engagement-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  width: 100%;
  max-width: 100%;
}

.engagement-actions {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: nowrap;
  width: 100%;
  min-width: 0;
}

.engagement-actions .like-btn {
  flex-shrink: 0;
}

.engagement-actions .react-bar {
  flex: 1 1 auto;
  flex-wrap: nowrap;
  min-width: 0;
}

.engagement-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

.view-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  min-height: 1.7rem;
  padding: 0.15rem 0.35rem;
  border: 0;
  background: transparent;
  color: var(--mute);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
}

.view-stat--single {
  min-height: 1.85rem;
  padding: 0.2rem 0.4rem;
}

.view-stat__icon::before {
  content: "◎";
  font-size: 0.78rem;
  line-height: 1;
  color: inherit;
  opacity: 0.85;
}

.view-stat__count {
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}

/* Admin-only “who viewed” eyes button */
.viewers-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85rem;
  min-height: 1.7rem;
  padding: 0.15rem 0.35rem;
  margin: 0;
  border: 1px solid rgba(201, 162, 122, 0.35);
  background:
    linear-gradient(160deg, rgba(201, 162, 122, 0.14), transparent 70%),
    rgba(26, 17, 20, 0.65);
  color: var(--brass);
  cursor: pointer;
  line-height: 1;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.viewers-btn--single {
  min-height: 1.85rem;
  padding: 0.2rem 0.4rem;
}

.viewers-btn:hover,
.viewers-btn:focus-visible,
.viewers-btn.is-open {
  border-color: var(--brass);
  background:
    linear-gradient(160deg, rgba(180, 35, 58, 0.22), transparent 70%),
    rgba(26, 17, 20, 0.9);
  transform: translateY(-1px);
}

.viewers-btn__eyes {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
}

.viewers-btn__eye {
  position: relative;
  width: 0.72rem;
  height: 0.72rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: rgba(240, 232, 230, 0.08);
}

.viewers-btn__eye::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--crimson-bright);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 1px rgba(14, 10, 11, 0.35);
}

.viewers-btn--single .viewers-btn__eye {
  width: 0.82rem;
  height: 0.82rem;
}

.viewers-btn--single .viewers-btn__eye::after {
  width: 0.32rem;
  height: 0.32rem;
}

.download-stat__icon::before {
  content: "↓";
  font-size: 0.78rem;
  line-height: 1;
  color: inherit;
  font-weight: 700;
  opacity: 0.85;
}

.card__title {
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}

.card__date {
  margin: 0;
  color: var(--mute);
  font-size: 0.78rem;
}

.like-btn {
  --like-ink: #ff8a9a;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 1.85rem;
  min-width: 1.85rem;
  padding: 0.2rem 0.55rem 0.2rem 0.4rem;
  margin: 0;
  border: 1px solid rgba(214, 53, 76, 0.4);
  border-radius: 0.45rem;
  background:
    linear-gradient(180deg, rgba(214, 53, 76, 0.18), rgba(180, 35, 58, 0.08));
  color: var(--like-ink);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.like-btn:hover,
.like-btn:focus-visible {
  border-color: rgba(232, 90, 108, 0.85);
  background:
    linear-gradient(180deg, rgba(214, 53, 76, 0.32), rgba(180, 35, 58, 0.18));
  color: #ffc4cc;
  box-shadow: 0 0 0 1px rgba(214, 53, 76, 0.12);
}

.like-btn.is-liked {
  --like-ink: #fff;
  border-color: #d6354c;
  background: linear-gradient(180deg, #e0455c 0%, #b4233a 100%);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 180, 190, 0.2) inset,
    0 4px 12px rgba(180, 35, 58, 0.28);
}

.like-btn.is-liked:hover,
.like-btn.is-liked:focus-visible {
  border-color: #e85a6c;
  background: linear-gradient(180deg, #eb5a6e 0%, #c12a40 100%);
  color: #fff;
}

.like-btn.is-busy {
  opacity: 0.65;
}

.like-btn__heart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  font-size: 0.95rem;
  line-height: 1;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.2));
  transition: transform 0.16s ease;
}

.like-btn__heart::before {
  content: "♥";
}

.like-btn:hover .like-btn__heart,
.like-btn:focus-visible .like-btn__heart {
  transform: scale(1.1);
}

.like-btn.is-liked .like-btn__heart {
  transform: scale(1.06);
  filter: drop-shadow(0 1px 2px rgba(80, 0, 20, 0.35));
}

.like-btn__count,
.react-btn__count,
.view-stat__count {
  display: inline-block;
}

.like-btn__count {
  color: inherit;
  font-variant-numeric: tabular-nums;
  min-width: 0.65rem;
}

.like-btn__count.is-count-tick,
.react-btn__count.is-count-tick,
.view-stat__count.is-count-tick {
  animation: pv-count-tick-up 0.34s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.like-btn__count.is-count-tick--up,
.react-btn__count.is-count-tick--up,
.view-stat__count.is-count-tick--up {
  animation-name: pv-count-tick-up;
}

.like-btn__count.is-count-tick--down,
.react-btn__count.is-count-tick--down,
.view-stat__count.is-count-tick--down {
  animation-name: pv-count-tick-down;
}

@keyframes pv-count-tick-up {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  40% {
    transform: translateY(-5px);
    opacity: 0.45;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pv-count-tick-down {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  40% {
    transform: translateY(4px);
    opacity: 0.45;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.like-btn--single {
  min-height: 2rem;
  padding: 0.25rem 0.65rem 0.25rem 0.45rem;
  font-size: 0.78rem;
}

.like-btn.is-pop,
.react-btn.is-pop {
  animation: pv-pop 0.32s cubic-bezier(0.2, 1.4, 0.3, 1);
}

@keyframes pv-pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.14);
  }
  100% {
    transform: scale(1);
  }
}

.react-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  flex-wrap: nowrap;
}

.react-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  min-height: 1.75rem;
  min-width: 1.75rem;
  padding: 0.12rem 0.28rem;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  background: rgba(14, 10, 11, 0.35);
  color: var(--paper);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  flex-shrink: 0;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    transform 0.15s ease;
}

.react-btn.is-empty {
  opacity: 0.72;
}

.react-btn:hover,
.react-btn:focus-visible {
  border-color: rgba(240, 232, 230, 0.16);
  background: rgba(26, 17, 20, 0.75);
  opacity: 1;
}

.react-btn.is-active {
  border-color: rgba(214, 53, 76, 0.45);
  background: rgba(180, 35, 58, 0.22);
  opacity: 1;
}

.react-btn.is-busy {
  opacity: 0.65;
}

.react-btn__emoji {
  font-size: 0.95rem;
  line-height: 1;
  display: inline-block;
}

.react-btn.is-active .react-btn__emoji {
  animation: pv-emoji-bounce 0.4s ease;
}

@keyframes pv-emoji-bounce {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  35% {
    transform: translateY(-2px) scale(1.15);
  }
}

.react-btn__count {
  font-variant-numeric: tabular-nums;
  color: var(--mute);
  min-width: 0.55rem;
}

.react-btn.is-active .react-btn__count {
  color: #ffd0d7;
}

.react-bar--single .react-btn {
  min-height: 1.9rem;
  padding: 0.18rem 0.35rem;
}

@media (prefers-reduced-motion: reduce) {
  .like-btn.is-pop,
  .react-btn.is-pop,
  .react-btn.is-active .react-btn__emoji,
  .like-btn__count.is-count-tick,
  .react-btn__count.is-count-tick,
  .view-stat__count.is-count-tick {
    animation: none;
  }
}

.drop__header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}

.drop__header-row .engagement-row {
  align-items: flex-end;
  width: auto;
  margin-left: auto;
}

.drop__header-row .engagement-actions {
  justify-content: flex-end;
}

.drop__header-row .drop__meta {
  flex-shrink: 0;
  margin: 0;
}

.drop__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin: 0 0 0.85rem;
}

.drop__toolbar-note {
  margin: 0;
  color: var(--mute);
  font-size: 0.82rem;
}

.drop__download-all {
  margin-left: auto;
  white-space: nowrap;
}

/* Drop media strip — keep natural size; don't squeeze to column width (that was the crop). */
.drop__scroller {
  margin: 0 0 1.15rem;
}

.drop__scroller--multi {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 clamp(0.85rem, 2vw, 1.35rem) 0.65rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
}

.drop__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 1rem;
  width: max-content;
  /* Centered when the strip fits on screen; scrolls from the left when it overflows. */
  margin-inline: auto;
}

.drop__scroller:not(.drop__scroller--multi) .drop__track {
  display: block;
  width: auto;
}

.drop__slide {
  flex: 0 0 auto;
  margin: 0;
  width: max-content;
  max-width: none;
  min-width: 0;
  background: transparent;
  scroll-snap-align: start;
}

/* Intrinsic size inside a modest contain box — full image visible, not viewport-blown. */
.drop__scroller--multi .drop__slide .drop__image,
.drop__scroller--multi .drop__slide img.drop__image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(85vw, 26rem);
  max-height: min(50vh, 26rem);
  object-fit: contain;
  object-position: center;
  margin: 0;
}

.drop__scroller:not(.drop__scroller--multi) .drop__slide {
  width: auto;
  max-width: 100%;
  text-align: center;
}

.drop__scroller:not(.drop__scroller--multi) .drop__slide .drop__image {
  width: auto;
  height: auto;
  max-width: min(100%, 26rem);
  max-height: min(50vh, 26rem);
  object-fit: contain;
  margin-inline: auto;
}

.drop__figure img {
  margin-inline: auto;
}

.drop__slide--video {
  width: min(85vw, 26rem);
}

.drop__slide--video .wp-video,
.drop__slide--video video {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(50vh, 26rem);
}

.drop__download {
  margin: 0.55rem 0 0;
}

.drop__header {
  margin-bottom: 1rem;
}

.drop__meta {
  margin: 0 0 0.35rem;
  color: var(--mute);
  font-size: 0.82rem;
}

.drop__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.drop-meta-tier {
  margin: 0 0 0.55rem;
  color: var(--crimson-bright);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.drop-meta-tier--skibidi {
  letter-spacing: 0.03em;
  text-transform: none;
  font-size: 0.9rem;
}

/* Top-tier flex: Skibidi Shawerma */
.tier-skibidi {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(
    105deg,
    #f0a8b2 0%,
    #e8c49a 28%,
    #d6354c 55%,
    #c9a27a 78%,
    #f0e8e6 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: skibidi-shine 4s ease-in-out infinite;
  text-shadow: none;
}

@keyframes skibidi-shine {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

@keyframes skibidi-sheen {
  0%,
  55% {
    transform: translateX(-120%);
  }
  75%,
  100% {
    transform: translateX(120%);
  }
}

.drop__figure {
  margin: 0 0 1rem;
  overflow: visible;
  background: transparent;
}

.drop__figure img,
.drop__image {
  width: auto;
  max-width: min(100%, 26rem);
  height: auto;
  max-height: min(50vh, 26rem);
  display: block;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
}

.drop__content {
  max-width: 42rem;
  color: rgba(240, 232, 230, 0.92);
  font-size: 0.95rem;
}

.drop-manage {
  margin: 0.75rem 0 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  background: rgba(26, 17, 20, 0.65);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
}

.drop-manage__label {
  margin: 0;
  color: var(--mute);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drop-manage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.drop-manage__delete {
  border-color: rgba(180, 35, 58, 0.55);
  color: #f0a8b2;
}

.drop-manage__delete:hover {
  border-color: var(--crimson-bright);
  color: #fff;
  background: rgba(180, 35, 58, 0.28);
}

.patreon-share {
  margin: 0.85rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px dashed rgba(201, 162, 122, 0.45);
  background: rgba(26, 17, 20, 0.75);
  display: grid;
  gap: 0.45rem;
  justify-items: start;
}

.patreon-share__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.patreon-share__btn {
  background: #e85c4a !important;
  border-color: #e85c4a !important;
  color: #fff !important;
  text-decoration: none;
}

.patreon-share__btn:hover,
.patreon-share__btn:focus-visible {
  background: #f06a58 !important;
  border-color: #f06a58 !important;
}

.patreon-share__hint {
  margin: 0;
  color: var(--brass);
  font-size: 0.85rem;
  font-weight: 600;
}

.patreon-share__fallback {
  display: block;
  margin-top: 0.35rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  background: rgba(14, 10, 11, 0.85);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: pre-wrap;
  word-break: break-word;
  user-select: all;
  -webkit-user-select: all;
}

.patreon-share__btn:disabled,
.patreon-share__btn.is-busy {
  opacity: 0.75;
  cursor: wait;
}

.patreon-share__note {
  margin: 0;
  color: var(--mute);
  font-size: 0.8rem;
  line-height: 1.4;
  max-width: 36rem;
}

.lock-banner {
  margin-top: 1.25rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(180, 35, 58, 0.35);
  background: rgba(26, 17, 20, 0.92);
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.lock-banner p {
  margin: 0;
  color: var(--mute);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem var(--space) 1.75rem;
}

.site-footer__brand {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-footer__note {
  margin: 0;
  color: var(--mute);
  font-size: 0.82rem;
}

.pagination {
  margin-top: 1.5rem;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(240, 232, 230, 0.05), transparent 70%),
    rgba(26, 17, 20, 0.72);
  color: var(--paper);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.pagination a.page-numbers:hover {
  border-color: var(--brass);
  transform: translateY(-1px);
}

.pagination .page-numbers.current {
  background: var(--crimson);
  border-color: var(--crimson-bright);
  color: #fff;
}

.pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  color: var(--mute);
  min-width: auto;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  color: var(--brass);
}

.empty-state {
  color: var(--mute);
  padding: 2rem 0;
}

.card__badge {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  padding: 0.3rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(12, 13, 15, 0.8);
  border: 1px solid var(--line);
  color: var(--paper);
}

.card__badge--new {
  left: 0.75rem;
  right: auto;
  top: 0.75rem;
  background: var(--crimson);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  animation: pv-new-pulse 1.8s ease-in-out infinite;
}

.card__badge--new + .card__badge,
.card__badge--new ~ .card__badge:not(.card__badge--new) {
  top: 0.75rem;
}

@keyframes pv-new-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(180, 35, 58, 0.45);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(180, 35, 58, 0);
  }
}

.pv-celebrate {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  overflow: hidden;
}

.pv-celebrate__toast {
  position: absolute;
  left: 50%;
  top: 18%;
  transform: translateX(-50%) scale(0.92);
  padding: 0.75rem 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(180, 35, 58, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  opacity: 0;
  animation: pv-celebrate-toast 2.8s ease forwards;
}

.pv-celebrate__bit {
  position: absolute;
  top: -8px;
  width: 8px;
  height: 8px;
  border-radius: 1px;
  opacity: 0.95;
  animation: pv-celebrate-fall 2.4s ease-in forwards;
}

@keyframes pv-celebrate-toast {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(8px) scale(0.92);
  }
  12%,
  70% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-12px) scale(0.98);
  }
}

@keyframes pv-celebrate-fall {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--dx), 110vh, 0) rotate(var(--rot));
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card__badge--new {
    animation: none;
  }

  .pv-celebrate__bit,
  .pv-celebrate__toast {
    animation: none;
  }

  .pv-celebrate__toast {
    opacity: 1;
  }

  .is-unlock-pulse {
    animation: none;
  }
}

.is-unlock-pulse {
  animation: pv-unlock-pulse 1.6s ease;
}

@keyframes pv-unlock-pulse {
  0%,
  100% {
    filter: none;
    transform: scale(1);
  }
  40% {
    filter: drop-shadow(0 0 18px rgba(214, 53, 76, 0.65));
    transform: scale(1.03);
  }
}

.drop__video {
  margin: 0 0 1rem;
  background: #050607;
}

.drop__video video,
.drop__video .wp-video {
  width: 100%;
  max-width: 100%;
  height: auto;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .site-nav .btn {
    min-height: 2.75rem;
    padding: 0.55rem 0.9rem;
  }

  /* Membership chips: one horizontal line that scrolls, instead of a tall
     stack pushing content under the sticky header. */
  .nav-user {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .nav-user__stats {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-user__stats::-webkit-scrollbar {
    display: none;
  }

  .nav-user__stats .nav-chip {
    flex: 0 0 auto;
  }

  .nav-user__stats .nav-chip__value {
    overflow-wrap: normal;
    word-break: normal;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    align-items: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.65rem;
  }

  .gallery-search {
    max-width: none;
    width: 100%;
    margin-left: 0;
  }

  .gallery-search__submit,
  .gallery-search__clear {
    min-height: 2.75rem;
  }

  .like-btn {
    min-height: 2rem;
    padding: 0.22rem 0.55rem 0.22rem 0.4rem;
  }

  .view-stat {
    min-height: 1.85rem;
    padding: 0.18rem 0.35rem;
  }

  .drop__scroller--multi .drop__slide .drop__image,
  .drop__scroller--multi .drop__slide img.drop__image,
  .drop__scroller:not(.drop__scroller--multi) .drop__slide .drop__image,
  .drop__figure img {
    max-width: min(85vw, 22rem);
    max-height: min(45vh, 22rem);
  }
}

@media (hover: none) and (pointer: coarse) {
  .card__link:hover .card__media img {
    transform: none;
  }

  .btn,
  .tier-chip,
  .like-btn {
    min-height: 2rem;
  }
}

/* —— Live presence (creator/admin) —— */
.pv-presence {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  font-family: var(--font-body);
  pointer-events: none;
}

.pv-presence__toggle,
.pv-presence__drawer,
.pv-presence__close {
  pointer-events: auto;
}

.pv-presence__toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 2.75rem;
  min-height: 5.5rem;
  margin: 0;
  padding: 0.65rem 0.4rem;
  border: 1px solid rgba(201, 162, 122, 0.45);
  border-right: 0;
  border-radius: 0.55rem 0 0 0.55rem;
  background: rgba(26, 17, 20, 0.94);
  color: var(--paper);
  cursor: pointer;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  box-shadow: -4px 0 18px rgba(0, 0, 0, 0.35);
}

.pv-presence__toggle-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
}

.pv-presence__toggle-count {
  writing-mode: horizontal-tb;
  transform: rotate(180deg);
  min-width: 1.4rem;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: rgba(180, 35, 58, 0.35);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.pv-presence__toggle:hover,
.pv-presence__toggle:focus-visible {
  border-color: var(--brass);
  outline: none;
}

.pv-presence__drawer {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: min(18rem, calc(100vw - 1.25rem));
  max-height: min(70vh, 28rem);
  display: none;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 0.65rem 0 0 0.65rem;
  background: rgba(14, 10, 11, 0.96);
  box-shadow: -8px 0 28px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.pv-presence.is-open .pv-presence__drawer,
.pv-presence[data-open="1"] .pv-presence__drawer {
  display: flex;
}

.pv-presence[data-open="1"] .pv-presence__toggle,
.pv-presence.is-open .pv-presence__toggle {
  display: none;
}

.pv-presence__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--line);
  padding-right: max(0.85rem, env(safe-area-inset-right));
}

.pv-presence__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.pv-presence__count {
  color: var(--mute);
  font-weight: 600;
  font-size: 0.85rem;
}

.pv-presence__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.pv-presence__close:hover,
.pv-presence__close:focus-visible {
  border-color: var(--crimson);
  color: #fff;
}

.pv-presence__list {
  list-style: none;
  margin: 0;
  padding: 0.45rem 0.55rem 0.75rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  max-height: min(58vh, 22rem);
}

.pv-presence__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.35rem;
  border-radius: 0.35rem;
}

.pv-presence__item--you {
  background: rgba(201, 162, 122, 0.1);
}

.pv-presence__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  background: #1a1114;
  border: 1px solid rgba(240, 232, 230, 0.12);
  flex-shrink: 0;
}

.pv-presence__meta {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.pv-presence__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pv-presence__sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brass);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pv-presence__you {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brass);
}

.pv-presence__empty {
  margin: 0;
  padding: 1rem 1rem 1.15rem;
  color: var(--mute);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .pv-presence {
    top: auto;
    bottom: max(5.5rem, calc(env(safe-area-inset-bottom) + 4.5rem));
    transform: none;
  }

  .pv-presence__drawer {
    top: auto;
    bottom: 0;
    transform: none;
    width: min(20rem, calc(100vw - 0.75rem));
    max-height: min(60vh, 24rem);
    border-radius: 0.65rem 0 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .pv-presence__toggle {
    min-height: 4.75rem;
    box-shadow: -4px 0 14px rgba(0, 0, 0, 0.4);
  }
}

@media (max-width: 600px) {
  .pv-presence__drawer {
    width: min(100vw - 0.5rem, 19rem);
    max-height: min(55vh, 22rem);
  }

  .pv-presence__list {
    max-height: min(42vh, 16rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pv-presence__toggle,
  .pv-presence__drawer {
    transition: none;
  }
}

/* —— Admin who-viewed popover —— */
.pv-viewers {
  position: fixed;
  z-index: 120;
  display: grid;
  gap: 0.45rem;
  max-height: min(58vh, 22rem);
  padding: 0.65rem 0.7rem 0.55rem;
  border: 1px solid rgba(201, 162, 122, 0.4);
  background:
    radial-gradient(420px 160px at 10% 0%, rgba(180, 35, 58, 0.16), transparent 55%),
    rgba(18, 12, 14, 0.97);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  color: var(--paper);
  font-family: var(--font-body);
}

.pv-viewers[hidden] {
  display: none;
}

.pv-viewers__head {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.35rem 0.45rem;
}

.pv-viewers__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass);
}

.pv-viewers__count {
  min-width: 1.2rem;
  padding: 0.05rem 0.35rem;
  border: 1px solid rgba(180, 35, 58, 0.4);
  background: rgba(180, 35, 58, 0.22);
  color: #ffe4e8;
  font-size: 0.68rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.pv-viewers__count:empty {
  display: none;
}

.pv-viewers__close {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

.pv-viewers__close:hover,
.pv-viewers__close:focus-visible {
  border-color: var(--brass);
  color: #fff;
}

.pv-viewers__empty {
  margin: 0;
  padding: 0.55rem 0.15rem 0.35rem;
  color: var(--mute);
  font-size: 0.78rem;
  line-height: 1.35;
}

.pv-viewers__list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  max-height: min(46vh, 17.5rem);
  display: grid;
  gap: 0.2rem;
  scrollbar-width: thin;
}

.pv-viewers__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.38rem 0.45rem;
  border: 1px solid transparent;
  background: rgba(240, 232, 230, 0.03);
}

.pv-viewers__item:nth-child(odd) {
  background: rgba(240, 232, 230, 0.055);
}

.pv-viewers__name {
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--paper);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pv-viewers__tier {
  max-width: 9rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--brass);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pv-viewers__tier--skibidi {
  font-family: var(--font-display);
  font-weight: 800;
  color: #f0b8c0;
}

/* —— Image lightbox —— */
.pv-zoomable {
  cursor: zoom-in;
  outline: 2px solid transparent;
  outline-offset: 3px;
  transition: outline-color 0.18s ease, box-shadow 0.18s ease;
}

.pv-zoomable:hover,
.pv-zoomable:focus-visible {
  outline-color: var(--brass);
  box-shadow: 0 0 0 5px var(--crimson-soft);
}

body.pv-lightbox-open {
  overflow: hidden;
}

.pv-lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
}

.pv-lightbox[hidden] {
  display: none;
}

.pv-lightbox__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(9, 6, 7, 0.93);
}

.pv-lightbox__stage {
  position: relative;
  z-index: 1;
  margin: 0;
  display: grid;
  place-items: center;
  max-width: calc(100vw - 6rem);
  max-height: 100vh;
  pointer-events: none;
}

.pv-lightbox__img {
  max-width: min(94vw, 1400px);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #0e0a0b;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.65);
  pointer-events: auto;
  animation: pv-lightbox-in 0.18s ease both;
}

.pv-lightbox__spinner {
  position: absolute;
  width: 1.6rem;
  height: 1.6rem;
  border: 2px solid rgba(201, 162, 122, 0.25);
  border-top-color: var(--brass);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.pv-lightbox.is-loading .pv-lightbox__spinner {
  opacity: 1;
  animation: pv-lightbox-spin 0.7s linear infinite;
}

@keyframes pv-lightbox-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pv-lightbox-in {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.pv-lightbox__close,
.pv-lightbox__nav {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(201, 162, 122, 0.45);
  border-radius: 50%;
  background: rgba(26, 17, 20, 0.92);
  color: var(--paper);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pv-lightbox__close:hover,
.pv-lightbox__nav:hover {
  border-color: var(--brass);
  background: rgba(26, 17, 20, 1);
}

.pv-lightbox__close {
  top: max(0.75rem, env(safe-area-inset-top));
  right: max(0.75rem, env(safe-area-inset-right));
}

.pv-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.85rem;
  padding-bottom: 0.2rem;
}

.pv-lightbox__nav--prev {
  left: max(0.5rem, env(safe-area-inset-left));
}

.pv-lightbox__nav--next {
  right: max(0.5rem, env(safe-area-inset-right));
}

.pv-lightbox__nav[hidden],
.pv-lightbox__count[hidden] {
  display: none !important;
}

.pv-lightbox__count {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: max(0.8rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  margin: 0;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line);
  background: rgba(26, 17, 20, 0.88);
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .pv-lightbox__img {
    animation: none;
  }

  .pv-lightbox.is-loading .pv-lightbox__spinner {
    animation: none;
  }
}

@media (max-width: 640px) {
  .pv-lightbox__stage {
    max-width: 100vw;
  }

  .pv-lightbox__img {
    max-width: 100vw;
    max-height: 88vh;
    border-left: 0;
    border-right: 0;
  }

  .pv-lightbox__nav {
    width: 2.5rem;
    height: 2.5rem;
  }
}
