:root {
  --gold: #e8b53c;
  --gold-bright: #ffd76a;
  --gold-deep: #b8860b;
  --ink: #0a0a0b;
  --ink-2: #141416;
  --ink-3: #1d1d20;
  --line: rgba(232, 181, 60, 0.22);
  --text: #f4efe4;
  --muted: #a49e90;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Keep section anchors from hiding under the sticky nav */
#today, #feed, #follow { scroll-margin-top: 84px; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: "Didot", "Bodoni MT", "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 0.9rem;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.2rem, 5vw, 3rem);
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 0.6rem; }

.brand__mark { color: var(--gold); font-size: 1.1rem; }

.brand__word {
  font-family: "Didot", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
}

.nav__links { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 2rem); }

.nav__links a {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--text); }

.nav__right { display: flex; align-items: center; gap: clamp(0.8rem, 2.4vw, 2rem); }

.nav__auth { display: flex; align-items: center; gap: 0.5rem; }

.btn.btn--sm { padding: 0.28rem 0.7rem; font-size: 0.66rem; letter-spacing: 0.03em; }

.nav .btn--ghost { border-color: rgba(255, 255, 255, 0.28); color: var(--text); }
.nav .btn--ghost:hover { border-color: var(--gold); color: var(--gold); background: transparent; }
.nav .btn--solid { box-shadow: 0 6px 16px rgba(201, 111, 116, 0.35); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 2.6rem);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.4rem, 6vw, 4.5rem) clamp(1.2rem, 5vw, 3rem) clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(217, 139, 139, 0.35), transparent 60%),
    linear-gradient(180deg, #141416 0%, #1d1d20 55%, #2a2a2e 100%);
  border-radius: 0 0 32px 32px;
  text-align: center;
}

.hero__glow {
  position: absolute;
  top: 6%;
  right: -8%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(217, 139, 139, 0.35), transparent 62%);
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Glitter "WE GOLDEN" overlay (gold, animated, floats down the page) ---------- */
.glitter {
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.glitter__names { position: absolute; inset: 0; }
.glitter__name {
  position: absolute;
  top: -8%;
  font-family: "Snell Roundhand", "Brush Script MT", "Segoe Script", cursive;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.01em;
  background: linear-gradient(100deg,
    rgba(184, 134, 11, 0.30) 0%, rgba(247, 224, 138, 0.36) 20%, rgba(255, 248, 214, 0.42) 38%,
    rgba(212, 167, 44, 0.34) 56%, rgba(255, 244, 192, 0.42) 74%, rgba(227, 181, 63, 0.34) 88%,
    rgba(198, 151, 31, 0.30) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  will-change: transform, opacity;
  animation-name: nameFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: var(--dur, 12s);
  animation-delay: var(--delay, 0s);
}

/* Some names periodically flash / glow. The glow is a solid-gold copy of the
   word behind the gradient text (text-shadow on gradient text is masked in
   WebKit, so we glow a solid-colored duplicate instead). */
.glitter__name.is-glow {
  will-change: transform, opacity;
}
.glitter__name.is-glow::before {
  content: "WE GOLDEN";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffe07a;
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 0 10px rgba(255, 246, 200, 1),
               0 0 34px rgba(255, 214, 100, 1),
               0 0 80px rgba(255, 196, 60, 1);
  animation: nameGlow var(--glow, 3s) ease-in-out infinite;
  animation-delay: var(--glow-delay, 0s);
}

@keyframes nameGlow {
  0%, 100% { opacity: 0; }
  10%      { opacity: 1; }
  60%      { opacity: 0.12; }
}

@keyframes nameFall {
  0%   { transform: translate(-50%, 0) translateY(0) translateX(0) rotate(var(--rot, 0deg));                     opacity: 0; }
  10%  {                                                                                                          opacity: 1; }
  90%  {                                                                                                          opacity: 1; }
  100% { transform: translate(-50%, 0) translateY(112vh) translateX(var(--sway, 0px)) rotate(var(--rot, 0deg));  opacity: 0; }
}

.glitter__sparkles { position: absolute; inset: 0; }
.sparkle {
  position: absolute;
  background: radial-gradient(circle, #ffffff 0%, #ffe9a8 40%, rgba(255, 215, 120, 0) 72%);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  opacity: 0;
  animation: sparkleTwinkle 3s ease-in-out infinite;
}

@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg);
             filter: drop-shadow(0 0 0 rgba(255, 231, 150, 0)) brightness(1); }
  50%      { opacity: 1; transform: scale(1.2) rotate(25deg);
             filter: drop-shadow(0 0 7px rgba(255, 231, 150, 0.95)) brightness(1.6); }
}

/* Some sparkles flash hard, then drop back low (like the glowing names) */
.sparkle.is-flash { animation-name: sparkleFlash; }
@keyframes sparkleFlash {
  0%, 100% { opacity: 0;   transform: scale(0.3) rotate(0deg);
             filter: drop-shadow(0 0 0 rgba(255, 246, 200, 0)) brightness(1); }
  8%       { opacity: 1;   transform: scale(1.9) rotate(30deg);
             filter: drop-shadow(0 0 11px rgba(255, 246, 200, 1)) brightness(2); }
  50%      { opacity: 0.2; transform: scale(0.85) rotate(12deg);
             filter: drop-shadow(0 0 2px rgba(255, 214, 100, 0.4)) brightness(1.1); }
}

/* Falling golden glitter flakes across the whole page */
.glitter__fall { position: absolute; inset: 0; }
.glitter__flake {
  position: absolute;
  top: -6%;
  background: radial-gradient(circle, #ffffff 0%, #ffe9a8 40%, rgba(255, 215, 120, 0) 72%);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  opacity: 0;
  animation-name: flakeFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes flakeFall {
  0%   { transform: translateY(0) translateX(0) rotate(0deg);          opacity: 0; }
  10%  {                                                               opacity: 1; }
  90%  {                                                               opacity: 0.9; }
  100% { transform: translateY(110vh) translateX(var(--sway, 0px)) rotate(240deg); opacity: 0; }
}

.hero__copy { position: relative; z-index: 1; max-width: 44rem; }

/* Her animated GIF banner — full size, its own space above the moving banner.
   Fixed aspect-ratio box so the crossfading images can never overflow it. */
.hero__gif {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  max-width: 980px;
  aspect-ratio: 200 / 228;
  overflow: hidden;
  border-radius: 20px;
  border: 4px solid #fff;
  box-shadow: 0 20px 44px rgba(120, 60, 70, 0.34);
}
.hero__gif img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Rotate the top banner through 3 visuals (GIF + two photos) with crossfades */
.hero__gif-a { animation: heroCycleA 15s ease-in-out infinite; }

/* Blurred fill of each photo so the contained (uncropped) photo has no empty
   bars around it. Each backdrop fades in sync with its photo. */
.hero__gif-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(16px) brightness(0.85);
  transform: scale(1.15);
  opacity: 0;
}
.hero__gif-bg--b { background-image: url("/assets/hero.png"); animation: heroCycleB 15s ease-in-out infinite; }
.hero__gif-bg--c { background-image: url("/assets/hero.png"); animation: heroCycleC 15s ease-in-out infinite; }

.hero__gif img.hero__gif-b { animation: heroCycleB 15s ease-in-out infinite; }
.hero__gif img.hero__gif-c { animation: heroCycleC 15s ease-in-out infinite; }
.hero__gif img.hero__gif-b,
.hero__gif img.hero__gif-c { object-fit: contain; object-position: center; }

@keyframes heroCycleA {
  0%, 30%   { opacity: 1; }
  36%, 94%  { opacity: 0; }
  100%      { opacity: 1; }
}
@keyframes heroCycleB {
  0%, 30%   { opacity: 0; }
  36%, 64%  { opacity: 1; }
  70%, 100% { opacity: 0; }
}
@keyframes heroCycleC {
  0%, 64%   { opacity: 0; }
  70%, 94%  { opacity: 1; }
  100%      { opacity: 0; }
}

.hero h1 {
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  background: linear-gradient(180deg, #b8860b 0%, #e8b53c 55%, #9c4a58 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 .dot { color: #e8b53c; -webkit-text-fill-color: #e8b53c; }

.hero .eyebrow { color: #b8860b; }

.hero__sub {
  max-width: 32rem;
  color: #a49e90;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  margin: 1.2rem auto 0;
}

.hero__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero__actions--center { justify-content: center; }

.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn--solid { background: #e8b53c; color: #fff; }
.btn--solid:hover { background: #b8860b; transform: translateY(-2px); }
.btn--ghost { border: 1px solid rgba(176, 86, 106, 0.35); color: #a49e90; }
.btn--ghost:hover { border-color: #e8b53c; color: #b8860b; transform: translateY(-2px); }

/* ---------- Banner / browser carousel ---------- */
.banner { position: relative; z-index: 1; width: 100%; }

.browser {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(120, 60, 70, 0.28);
  border: 1px solid rgba(176, 86, 106, 0.18);
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.9rem;
  background: #1d1d20;
  border-bottom: 1px solid rgba(176, 86, 106, 0.14);
}

.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.browser__dots i:nth-child(1) { background: #ff5f57; }
.browser__dots i:nth-child(2) { background: #febc2e; }
.browser__dots i:nth-child(3) { background: #28c840; }

.browser__url {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  color: #a49e90;
  background: #fff;
  border-radius: 999px;
  padding: 0.28rem 0.9rem;
  max-width: 320px;
  margin: 0 auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.carousel { position: relative; aspect-ratio: 16 / 9; background: #1a1416; overflow: hidden; }

.slides { position: absolute; inset: 0; }

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.carousel__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  background: linear-gradient(180deg, #e8b53c, #e8b53c);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(120, 60, 70, 0.35);
}

.carousel__play {
  position: absolute;
  left: 14px;
  bottom: 16px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: #141416;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, background 0.15s ease;
}
.carousel__play:hover { transform: scale(1.06); background: #fff; }
.carousel__play svg { width: 20px; height: 20px; fill: currentColor; }

.carousel__progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 5px;
  background: rgba(255, 255, 255, 0.28);
  z-index: 3;
}
.carousel__progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffe07a, #e8b53c);
}

.sidecard {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 120px;
  background: #fff;
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 12px 28px rgba(60, 30, 40, 0.28);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: center;
}
.sidecard img { width: 100%; height: 84px; object-fit: contain; display: block; border-radius: 8px; }
.sidecard span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #b8860b; }
.sidecard--left { left: 14px; }
.sidecard--right { right: 14px; }

/* ---------- Sections ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.2rem, 5vw, 3rem);
  border-top: 1px solid var(--line);
}

.section h2 {
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  margin-bottom: 1.4rem;
  max-width: 22ch;
}

.lede {
  color: var(--muted);
  max-width: 46rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  margin: 0 0 1rem;
}
.lede--center { margin-left: auto; margin-right: auto; text-align: center; }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }

.tag {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
}

/* ---------- Feed ---------- */
.feed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.entry {
  display: block;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.entry:hover { transform: translateY(-4px); border-color: var(--gold); }

.entry__date {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 0.7rem;
}

.entry__title {
  font-size: 1.3rem;
  margin: 0 0 0.6rem;
}

.entry__note { color: var(--muted); font-size: 0.95rem; margin: 0 0 1rem; }

/* ---------- Follow / Footer ---------- */
.section--follow { text-align: center; }
.section--follow h2 { margin-left: auto; margin-right: auto; }

.footer {
  text-align: center;
  padding: 3rem 1.2rem 4rem;
  border-top: 1px solid var(--line);
  color: var(--gold);
}
.footer p { margin: 0.2rem 0; letter-spacing: 0.14em; }
.footer__fine { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.06em; }

/* ---------- VIP sign-up modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 12, 0.62);
  backdrop-filter: blur(6px);
}
.modal__card {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  padding: clamp(1.4rem, 4vw, 2rem);
  box-shadow: 0 30px 70px rgba(60, 30, 40, 0.4);
  text-align: left;
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.modal__close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  border: none;
  background: none;
  font-size: 1.8rem;
  line-height: 1;
  color: #a49e90;
  cursor: pointer;
}
.modal__close:hover { color: #b8860b; }
.modal__title { font-size: clamp(1.6rem, 4vw, 2.1rem); color: #b8860b; margin: 0.2rem 0 0.5rem; }
.modal__lede { color: #a49e90; font-size: 0.95rem; margin: 0 0 1.2rem; }

.vip-form { display: flex; flex-direction: column; gap: 0.9rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field__label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b8860b;
}
.field__label em { font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; color: #a49e90; }
.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(176, 86, 106, 0.28);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: #141416;
  background: #141416;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #e8b53c;
  box-shadow: 0 0 0 3px rgba(201, 111, 116, 0.18);
}
.field textarea { resize: vertical; }
.btn--block { width: 100%; text-align: center; }
.form-status { min-height: 1.1em; font-size: 0.85rem; margin: 0; color: #a49e90; }
.form-status.is-error { color: #c0392b; }
.form-status.is-ok { color: #2f7d4f; }

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__right { gap: 0.5rem; }
  .hero { text-align: center; border-radius: 0 0 22px 22px; }
  .hero__copy { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .sidecard { display: none; }
  .carousel { aspect-ratio: 4 / 3; }
  .browser__url { font-size: 0.7rem; }
  .hero__gif { max-width: min(88vw, 440px); }
}

/* ---------- Auth pages (signup / login) ---------- */
.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(217, 139, 139, 0.35), transparent 60%),
    linear-gradient(180deg, #141416 0%, #2a2a2e 100%);
}

.auth {
  display: flex;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4rem) 1.2rem clamp(3rem, 8vw, 5rem);
}

.auth__card {
  width: min(100%, 440px);
  background: #fff;
  border-radius: 18px;
  padding: clamp(1.5rem, 4vw, 2.2rem);
  box-shadow: 0 30px 70px rgba(120, 60, 70, 0.25);
}

.auth__title {
  font-size: clamp(1.7rem, 4.5vw, 2.3rem);
  color: #b8860b;
  margin: 0.2rem 0 0.5rem;
}

.auth__lede { color: #a49e90; font-size: 0.95rem; margin: 0 0 1.3rem; }

.auth-form { display: flex; flex-direction: column; gap: 0.9rem; }

.auth__alt {
  color: #a49e90;
  font-size: 0.9rem;
  margin: 1.1rem 0 0;
  text-align: center;
}
.auth__alt a { color: #b8860b; font-weight: 700; }

.avatar-up { display: flex; align-items: center; gap: 0.9rem; }

.avatar-up__preview {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #1d1d20 center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e8b53c;
  font-size: 1.6rem;
  border: 2px dashed rgba(176, 86, 106, 0.4);
}
.avatar-up__preview.has-img { border-style: solid; border-color: #e8b53c; }

/* ---------- Comments / likes on feed ---------- */
.entry__actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: 0.9rem;
}

.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  color: #b8860b;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
}
.like-btn.is-liked { color: #c0392b; font-weight: 700; }
.like-btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.comment-toggle {
  background: none;
  border: none;
  color: #b8860b;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
}

.entry__comments { margin-top: 0.9rem; display: none; }
.entry__comments.is-open { display: block; }

.comment-list { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 0.7rem; }

.comment {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.comment__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1d1d20 center/cover no-repeat;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #b8860b;
  text-transform: uppercase;
}

.comment__body { font-size: 0.88rem; color: var(--text); }
.comment__body b { color: #e8b53c; font-weight: 700; }
.comment__empty { color: var(--muted); font-size: 0.82rem; }

.comment-form { display: flex; gap: 0.5rem; }
.comment-form input {
  flex: 1;
  border: 1px solid var(--line);
  background: var(--ink-2);
  color: var(--text);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font: inherit;
  font-size: 0.85rem;
}
.comment-form input:focus { outline: none; border-color: var(--gold); }
.comment-form button {
  border: none;
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.comment-hint { color: var(--muted); font-size: 0.8rem; }
.comment-hint a { color: var(--gold); font-weight: 700; }

/* Long-press comment editing */
.comment.is-editable { -webkit-touch-callout: none; }
.comment__edited { color: var(--muted); font-size: 0.72rem; }
.comment-edit { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.comment-edit__input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--ink-2);
  color: var(--text);
  border-radius: 12px;
  padding: 0.55rem 0.8rem;
  font: inherit;
  font-size: 16px;
  resize: vertical;
  min-height: 3rem;
}
.comment-edit__input:focus { outline: none; border-color: var(--gold); }
.comment-edit__actions { display: flex; gap: 0.5rem; }

.nav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e8b53c center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}

.entry__title a { color: inherit; }
.entry__title a:hover { color: var(--gold); }

.account-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.account-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e8b53c center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.6rem;
  flex: 0 0 auto;
}

/* ---------- Feed post cards ---------- */
.post-card {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.post-card:hover { transform: translateY(-4px); border-color: var(--gold); }

.post-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2)) center/cover no-repeat;
}
.post-card__lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: rgba(10, 8, 12, 0.55);
  color: #fff;
}
.post-card__lock svg {
  width: 26px; height: 26px; fill: none; stroke: #fff;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.post-card__lock span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; }

.post-card__body { padding: 1rem 1.1rem 1.2rem; }
.post-card__badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}
.post-card__badge.is-free { background: rgba(232, 181, 60, 0.16); color: var(--gold); }
.post-card__badge.is-vip { background: rgba(201, 111, 116, 0.25); color: #ffe07a; }
.post-card__title { font-size: 1.15rem; margin: 0 0 0.35rem; }
.post-card__caption { color: var(--muted); font-size: 0.88rem; margin: 0 0 0.7rem; }
.post-card__meta { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.04em; }

/* ---------- Post detail page ---------- */
.post-body { background: var(--ink); }

.post-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(1.4rem, 4vw, 2.5rem) clamp(1.1rem, 4vw, 2rem) 4rem;
}
.post-back { color: var(--muted); font-size: 0.85rem; text-decoration: none; display: inline-block; margin-bottom: 1rem; }
.post-back:hover { color: var(--gold); }

/* Bottom: back links under the comments on a post page */
.post-backbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2.2rem;
}
.post-back-home {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.post-back-home:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

.post-loading { color: var(--muted); }

.post__media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
}
.post__media img, .post__media video { width: 100%; display: block; }
.post__media.is-locked img, .post__media.is-locked video { filter: blur(10px) saturate(0.8); }
.post__media--blank { aspect-ratio: 16 / 9; background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); }

.post__lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(10, 8, 12, 0.6);
  color: #fff;
  text-align: center;
  padding: 1rem;
}
.post__lock svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.post__lock strong { font-family: "Didot", Georgia, serif; font-size: 1.2rem; }
.post__lock span { color: #d9cfc4; font-size: 0.9rem; margin-bottom: 0.6rem; }

.post__head { margin: 1.3rem 0 1rem; }
.post__badge {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}
.post__badge.is-free { background: rgba(232, 181, 60, 0.16); color: var(--gold); }
.post__badge.is-vip { background: rgba(201, 111, 116, 0.25); color: #ffe07a; }
.post__title { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 0.4rem; }
.post__caption { color: var(--muted); margin: 0; }

.post__actions { display: flex; align-items: center; gap: 1.2rem; margin: 1.1rem 0 1.4rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.post__actions .comment-toggle { font-size: 0.9rem; }

.post-card__play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* ---------- Ad slots (placeholders until an ad network is wired) ---------- */
.ad-slot {
  max-width: var(--maxw);
  margin: 2.2rem auto;
  padding: 0 clamp(1.2rem, 5vw, 3rem);
  text-align: center;
}
.ad-slot__label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.ad-slot__box {
  min-height: 100px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
}
.ad-slot--inline { margin: 1.2rem auto; padding: 0; }

/* ---------- Legal / privacy page ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.2rem; color: var(--gold); margin: 1.6rem 0 0.5rem; }
.legal p, .legal li { color: var(--muted); line-height: 1.7; }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--gold); }
.legal__note {
  margin-top: 1.8rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(232, 181, 60, 0.08);
  font-size: 0.85rem;
}

.footer__legal { margin-top: 0.8rem; }
.footer__legal a { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.06em; }
.footer__legal a:hover { color: var(--gold); }

/* ---------- Like + Share: match the nav buttons, bigger so they stand out ---------- */
.post__actions .like-btn,
.post__actions .comment-toggle,
.entry__actions .like-btn,
.entry__actions .comment-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.15rem;
  border: 1px solid rgba(244, 239, 228, 0.32);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.post__actions .like-btn:hover,
.post__actions .comment-toggle:hover,
.entry__actions .like-btn:hover,
.entry__actions .comment-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}
.post__actions .like-btn.is-liked,
.entry__actions .like-btn.is-liked {
  background: #e8b53c;
  border-color: #e8b53c;
  color: #fff;
}
.post__actions .like-btn.is-liked:hover,
.entry__actions .like-btn.is-liked:hover { background: #b8860b; color: #fff; border-color: #b8860b; }
.post__actions .like-btn:disabled { opacity: 0.6; }

.post__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  margin-top: 0.9rem;
}
.post__stats b { color: var(--text); font-weight: 700; }

/* Comment like (heart beside each comment) */
.comment-like {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.55rem;
  background: none;
  border: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.comment-like:hover { color: #e8b53c; }
.comment-like.is-liked { color: #e8b53c; font-weight: 700; }
.comment-like:disabled { opacity: 0.6; }

/* Comment like: match the post Like button (visible pill) */
.comment-like {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.6rem;
  padding: 0.5rem 1.15rem;
  border: 1px solid rgba(244, 239, 228, 0.32);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.comment-like:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.comment-like.is-liked { background: #e8b53c; border-color: #e8b53c; color: #fff; }
.comment-like.is-liked:hover { background: #b8860b; border-color: #b8860b; color: #fff; }
.comment-like:disabled { opacity: 0.6; }

/* Keep the comment input + Post button inside the screen (no horizontal scroll) */
.comment-form { width: 100%; max-width: 100%; }
.comment-form input { flex: 1 1 auto; min-width: 0; }
.comment-form button { flex: 0 0 auto; white-space: nowrap; }

/* Prevent horizontal overflow in comments + nav on small screens */
.comment { min-width: 0; }
.comment__body { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.comment-like { flex: 0 0 auto; }

/* Shop button in the top nav — only needed on mobile, where the
   nav links (including Store) are hidden. Sits next to Log in / Sign up. */
.nav-shop { display: none; }

@media (max-width: 760px) {
  .nav { padding: 0.7rem 1rem; }
  .brand__word { font-size: 0.82rem; letter-spacing: 0.1em; }
  .nav__right { gap: 0.4rem; min-width: 0; }
  .nav__auth { gap: 0.35rem; flex-shrink: 0; }
  .nav-shop {
    display: inline-block;
    background: var(--gold);
    color: var(--ink);
    font-weight: 700;
    font-size: 0.66rem;
    letter-spacing: 0.03em;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    white-space: nowrap;
  }
}

/* Contain the decorative hero glow so it can't cause horizontal scroll */
.hero { overflow: hidden; }

/* iOS zooms the page when an input's font is <16px, which shoves the Post
   button off screen. Keep inputs at 16px on mobile so no zoom happens. */
@media (max-width: 760px) {
  .comment-form input,
  .field input,
  .field textarea,
  .upload-form select,
  .upload-form input,
  .upload-form textarea {
    font-size: 1rem;
  }
}

/* ---------- Free content page ---------- */
.free-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(1.6rem, 4vw, 3rem) clamp(1.2rem, 5vw, 3rem) 4rem;
}
.free-title { font-size: clamp(1.8rem, 4.5vw, 3rem); margin: 0.2rem 0 0.5rem; }
.free-lede { color: var(--muted); margin: 0 0 1.6rem; }

/* Clickable "Golden Hour" tag in the Today section */
.tag--link {
  cursor: pointer;
  font: inherit;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.tag--link:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* Ghost buttons on <button> elements get the browser's default light
   background, making light text invisible. Force transparent. */
.btn--ghost { background: transparent; }

/* Account avatar as a clickable "+" button */
.account-avatar {
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.account-avatar__letter { line-height: 1; }
.account-avatar__plus {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #17121a;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.account-hint { color: #a49e90; font-size: 0.85rem; margin: 0 0 0.9rem; }
.account-back { margin-top: 0.6rem; }

/* Golden Hour tag/button: gold background + black text; white + gold on press */
.tag--link {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.tag--link:hover { background: var(--gold-bright); color: var(--ink); border-color: var(--gold-bright); }
.tag--link:active { background: #fff; color: var(--gold); border-color: #fff; }

/* Back links on the free-content page */
.free-backs { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-bottom: 1rem; }
.free-back { color: var(--muted); font-size: 0.85rem; text-decoration: none; }
.free-back:hover { color: var(--gold); }

/* Bottom: go back to homepage on the free-content page */
.free-backbar { margin-top: 2.4rem; text-align: center; }
.free-back-home {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.free-back-home:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ---------- Store / donations ---------- */
.store-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.2rem, 5vw, 3rem) clamp(3rem, 7vw, 5rem);
}
.store-title { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0.2rem 0 0.6rem; }
.store-lede { color: var(--muted); max-width: 46rem; font-size: clamp(1rem, 1.6vw, 1.12rem); }
.store-note { min-height: 1.3rem; margin: 0.9rem 0 0; font-size: 0.92rem; font-weight: 600; }
.store-note.is-ok { color: #7bd88f; }
.store-note.is-error { color: #e8b53c; }

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.4rem;
  margin-top: 1.6rem;
}
.store-card {
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.store-card__media { aspect-ratio: 1 / 1; background: #fff; }
.store-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.store-card__body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1rem 1.1rem 1.3rem; }
.store-card__title { font-size: 1.12rem; margin: 0; }
.store-card__color { color: var(--muted); font-size: 0.85rem; margin: 0; }
.store-card__label {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0.5rem 0 0;
}
.store-sizes { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.store-size {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.store-size:hover { border-color: var(--gold); }
.store-size.is-active { background: var(--gold); color: var(--ink); border-color: var(--gold); font-weight: 700; }
.store-card .btn--block { margin-top: 0.6rem; }
.store-fine { color: var(--muted); font-size: 0.8rem; margin-top: 1.8rem; }


/* ===== Member area styles ===== */
/* Member area — admin-style shell with pink accents */

.member-body { background: #0a0a0b; }

.member {
  display: flex;
  min-height: 100vh;
}

/* ---------- Sidebar ---------- */
.member__sidebar {
  width: 236px;
  flex: 0 0 236px;
  background: #17121a;
  color: #b9b2a4;
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
}

.member__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem 1.2rem;
  color: #f4efe4;
  text-decoration: none;
}
.member__brand .brand__mark { color: #e8b53c; font-size: 1.05rem; }
.member__brand-word {
  font-family: "Didot", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.86rem;
}

.member__nav { display: flex; flex-direction: column; gap: 0.15rem; }

.member__nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  border: none;
  border-left: 4px solid transparent;
  background: none;
  color: #b9b2a4;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1.2rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.member__nav-item svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.member__nav-item:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.member__nav-item[hidden] { display: none; }
.member__nav-item.is-active {
  background: linear-gradient(90deg, #e8b53c, #b8860b);
  color: #fff;
  border-left-color: #ffe9a8;
}

.member__side-foot { margin-top: auto; padding: 1rem 1.2rem 0.4rem; }
.member__back { color: #9b8d97; font-size: 0.82rem; text-decoration: none; }
.member__back:hover { color: #fff; }

/* ---------- Main ---------- */
.member__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.member__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border-bottom: 1px solid #2a2a2e;
  padding: 0.9rem 1.6rem;
}

.member__title {
  font-size: 1.3rem;
  color: #b8860b;
  margin: 0;
  font-family: "Didot", Georgia, serif;
}

.member__user { display: flex; align-items: center; gap: 0.6rem; }
.member__user .member-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e8b53c center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}
.member__user .member-name { font-size: 0.88rem; color: #a49e90; font-weight: 600; }

.member__content { flex: 1; padding: clamp(1.1rem, 3vw, 1.8rem); }

.member-panel { display: none; }
.member-panel.is-active { display: block; }

.member-panel__head { margin-bottom: 1.2rem; }
.member-panel__head h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: #b8860b;
  margin: 0 0 0.3rem;
}
.member-panel__head p { color: #a49e90; font-size: 0.92rem; margin: 0; }

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
}

.member-empty {
  grid-column: 1 / -1;
  border: 2px dashed #3a3a3f;
  border-radius: 14px;
  background: #fff;
  color: #a49e90;
  text-align: center;
  padding: 3rem 1.2rem;
  font-size: 0.95rem;
}

.member-loading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  color: #a49e90;
  padding: 3rem 1.2rem;
  font-size: 0.95rem;
}
.member-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid #3a3a3f;
  border-top-color: #e8b53c;
  border-radius: 50%;
  animation: memberSpin 0.8s linear infinite;
}
@keyframes memberSpin { to { transform: rotate(360deg); } }

/* ---------- Locked VIP card (used later) ---------- */
.member-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(120, 60, 70, 0.08);
}
.member-card__media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #1d1d20, #2a2a2e);
}
.member-card.is-locked .member-card__media { filter: blur(6px) saturate(0.8); }
.member-card__lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(23, 18, 26, 0.45);
  color: #fff;
  text-align: center;
  padding: 1rem;
}
.member-card__lock svg {
  width: 30px; height: 30px; fill: none; stroke: #fff;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.member-card__lock span { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .member { flex-direction: column; }
  .member__sidebar { width: 100%; flex: 0 0 auto; padding: 0.6rem 0; }
  .member__brand { padding: 0.4rem 1rem 0.8rem; }
  .member__nav { flex-direction: row; overflow: visible; gap: 0; }
  .member__nav-item {
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.55rem 0.2rem;
    font-size: 0.62rem;
    letter-spacing: 0;
    border-left: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    justify-content: center;
    overflow: hidden;
  }
  .member__nav-item svg { width: 19px; height: 19px; }
  .member__nav-item span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .member__nav-item.is-active { border-bottom-color: #ffe9a8; }
  .member__side-foot { display: none; }
}
/* ---------- Account menu ---------- */
.member__account { position: relative; }

.member__user {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: none;
  border: 1px solid #2a2a2e;
  border-radius: 999px;
  padding: 0.28rem 0.7rem 0.28rem 0.28rem;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
.member__user:hover { border-color: #d9b7c0; background: #141416; }

.member-caret { color: #a49e90; font-size: 0.66rem; line-height: 1; }

.member__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  min-width: 170px;
  background: #fff;
  border: 1px solid #2a2a2e;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(120, 60, 70, 0.18);
  padding: 0.35rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
}
.member__menu[hidden] { display: none; }

.member__menu-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font: inherit;
  font-size: 0.88rem;
  color: #a49e90;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
}
.member__menu-item:hover { background: #0a0a0b; color: #b8860b; }

/* ---------- Locked feature panel ---------- */
.member-locked {
  background: #fff;
  border: 1px solid #2a2a2e;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(120, 60, 70, 0.08);
  text-align: center;
  padding: clamp(2rem, 6vw, 3.5rem) 1.4rem;
  max-width: 560px;
}
.member-locked svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: #e8b53c;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 0.6rem;
}
.member-locked h3 { color: #b8860b; font-size: 1.35rem; margin: 0 0 0.4rem; }
.member-locked p { color: #a49e90; font-size: 0.95rem; margin: 0 0 1.3rem; }

/* Content cards inside the tabs */
.member-card { cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.member-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(120, 60, 70, 0.16); }
.member-card__media { position: relative; }
.member-card__play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
}
.member-card__body { padding: 0.9rem 1rem 1.1rem; }
.member-card__badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}
.member-card__badge.is-free { background: rgba(201, 111, 116, 0.16); color: #b8860b; }
.member-card__badge.is-vip { background: #17121a; color: #ffe07a; }
.member-card__title { font-size: 1.05rem; color: #43282e; margin: 0 0 0.25rem; }
.member-card__caption { color: #a49e90; font-size: 0.85rem; margin: 0 0 0.5rem; }
.member-card__meta { color: #b8860b; font-size: 0.78rem; letter-spacing: 0.03em; }

/* ---------- Uploader (admins) ---------- */
.upload-form { display: flex; flex-direction: column; gap: 0.9rem; max-width: 560px; }
.upload-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.upload-row .field { flex: 1 1 180px; }
.upload-form select {
  width: 100%;
  border: 1px solid rgba(176, 86, 106, 0.28);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font: inherit;
  color: #141416;
  background: #141416;
}
.upload-form select:focus {
  outline: none;
  border-color: #e8b53c;
  box-shadow: 0 0 0 3px rgba(201, 111, 116, 0.18);
}
.upload-form input[type="file"] { font-size: 0.85rem; color: #a49e90; }
.upload-preview { border-radius: 12px; overflow: hidden; max-width: 320px; }
.upload-preview img, .upload-preview video { width: 100%; display: block; }

.member-card__del {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(23, 18, 26, 0.72);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.member-card__del:hover { background: #c0392b; }

/* Top bar: "Back to Home" next to the account */
.member__account { display: flex; align-items: center; gap: 0.6rem; }
.member__home {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #a49e90;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}
.member__home svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.member__home:hover { color: #b8860b; background: #0a0a0b; }

/* Bottom: "Back to Home" on every tab */
.member__backbar { margin-top: 2.2rem; text-align: center; }
.member-back-home {
  display: inline-block;
  color: #b8860b;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px solid #3a3a3f;
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.member-back-home:hover { background: #b8860b; color: #fff; border-color: #b8860b; }

@media (max-width: 640px) {
  .member__topbar { padding: 0.7rem 0.9rem; gap: 0.5rem; }
  .member__title { font-size: 1.05rem; }
  .member__account { gap: 0.4rem; }
  .member__home { font-size: 0.74rem; padding: 0.28rem 0.45rem; gap: 0.28rem; }
  .member__home svg { width: 14px; height: 14px; }
}
