@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Manrope:wght@600;700;800&display=swap");

:root {
  --bg: #0a0f1e;
  --nav: #0d1424;
  --panel: #121d32;
  --panel2: #182640;
  --text: #f6f8ff;
  --cloud: #e8f0ff;
  --muted: #a9b6cb;
  --cyan: #00dfff;
  --purple: #7c3fff;
  --pink: #ff3ebb;
  --line: rgba(255, 255, 255, 0.12);
  --grad: linear-gradient(100deg, #00dfff, #7c3fff, #ff3ebb);
  --warn: #e8a54b;
  --danger: #e86a6a;
  --ok: #3ecf8e;
  --font-display: "Manrope", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --fg: var(--text);
  --accent: var(--cyan);
  --accent-2: var(--ok);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 15%, rgba(0, 223, 255, 0.11), transparent 28rem),
    radial-gradient(circle at 90% 30%, rgba(124, 63, 255, 0.13), transparent 30rem);
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

/* —— Marketing chrome —— */
.topnav {
  height: 76px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(8, 13, 25, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  overflow: visible;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.06em;
  color: var(--cloud);
  text-decoration: none;
}

.logo:hover { text-decoration: none; }

.logo-img {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.logo-img img {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(220px, 42vw);
}
.site-header .logo-img img,
.site-footer .logo-img img { height: 40px; }

.nav-post {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}
.nav-post:hover { opacity: 0.9; text-decoration: none; }
.nav-post img {
  display: block;
  height: 36px;
  width: auto;
}

.logo .sl,
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo .dotnet {
  font-size: 0.55em;
  font-style: normal;
  letter-spacing: -0.02em;
  opacity: 0.85;
}

.links {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.links a {
  color: inherit;
  text-decoration: none;
}

.links a:hover { color: var(--cloud); }

.nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  overflow: visible;
}

.btn {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 11px 18px;
  background: rgba(255, 255, 255, 0.03);
  color: white;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.06);
}

.btn.primary,
.btn-primary {
  background: var(--grad);
  border: 0;
  color: #061018;
}

.btn-secondary {
  background: transparent;
  color: var(--cloud);
  border-color: rgba(0, 223, 255, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
}

.hero-landing {
  min-height: min(710px, 92vh);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 80px 7vw 3.5rem;
  overflow: hidden;
}

.hero-landing.hero-branded {
  min-height: min(620px, 88vh);
  align-items: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(8, 13, 25, 0.95) 0%, rgba(8, 13, 25, 0.75) 38%, rgba(8, 13, 25, 0.15) 78%, rgba(8, 13, 25, 0.5)),
    url("/assets/hero.jpg?v=20260826c");
  background-size: cover;
  background-position: center;
  opacity: 0.95;
}

.hero-bg-banner {
  background-image:
    linear-gradient(180deg, rgba(8, 13, 25, 0.15) 0%, rgba(8, 13, 25, 0.05) 45%, rgba(8, 13, 25, 0.72) 100%),
    url("/assets/hero-banner.png?v=20260826n");
  background-position: center 30%;
  opacity: 1;
}

.hero-content {
  position: relative;
  max-width: 690px;
}

.hero-content-cta {
  max-width: none;
  width: 100%;
}

.hero-content-cta .ctas {
  margin-top: 0;
}

.hero-content-cta .btn.hero-welcome {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.hero-content-cta .btn.hero-welcome:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 105, 180, 0.55);
}

.tagline-strip {
  display: flex;
  justify-content: center;
  padding: 1.75rem 5vw 0.5rem;
  background: linear-gradient(180deg, rgba(8, 13, 25, 0.9), transparent);
}

.tagline-img {
  display: block;
  width: min(920px, 100%);
  height: auto;
}

.join-branded {
  align-items: center;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 410px);
  justify-content: center;
}

.join-visual {
  min-width: 0;
}

.join-banner {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 1rem;
  border: 1px solid var(--line);
}

.badge {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid var(--line);
  background: rgba(8, 13, 25, 0.58);
  backdrop-filter: blur(8px);
  border-radius: 99px;
  color: #d7e7f7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 15px var(--cyan);
}

.hero-landing h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.92;
  margin: 22px 0;
  color: var(--cloud);
}

.hero-landing p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #d4ddeb;
  max-width: 590px;
  margin: 0;
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.ctas .btn { padding: 16px 22px; }

.section {
  padding: 100px 7vw;
  border-top: 1px solid var(--line);
}

.center {
  text-align: center;
  max-width: 760px;
  margin: auto;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.98;
  margin: 15px 0;
  color: var(--cloud);
}

.muted { color: var(--muted); line-height: 1.7; }

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-template-rows: 210px 210px;
  gap: 15px;
  margin-top: 48px;
  width: 100%;
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
}

.tile {
  border-radius: 20px;
  border: 1px solid var(--line);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 210px;
  height: 100%;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 45%, rgba(5, 9, 18, 0.8));
}

.tile b {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  font-size: 16px;
  color: var(--cloud);
}

.big { grid-row: span 2; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1250px;
  margin: 50px auto 0;
}

.card {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(25, 38, 63, 0.8), rgba(11, 17, 31, 0.85));
}

.icon { font-size: 28px; color: var(--cyan); }
.card h3 {
  margin: 18px 0 8px;
  font-family: var(--font-display);
  color: var(--cloud);
}

.join {
  margin: 0 auto 90px;
  padding: 70px;
  width: min(1400px, calc(100% - 14vw));
  max-width: 1400px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(0, 223, 255, 0.12), rgba(124, 63, 255, 0.17), rgba(255, 62, 187, 0.1));
  position: relative;
  overflow: hidden;
}

.join.join-has-visual::before {
  display: none;
}

.join::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/hero.jpg?v=20260826c") right center / 38% auto no-repeat;
  opacity: 0.23;
  mask-image: linear-gradient(90deg, transparent 42%, black 78%);
}

.join-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr min(410px, 100%);
  gap: 60px;
  align-items: center;
}

.join-panel {
  background: rgba(6, 10, 20, 0.75);
  backdrop-filter: blur(15px);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
}

.join-panel h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  color: var(--cloud);
}

.join-panel .btn { width: 100%; margin-top: 0.85rem; padding: 15px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 7vw 40px;
  color: #8391a9;
  font-size: 12px;
  display: grid;
  gap: 1rem;
}

.site-footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.legal {
  max-width: 52rem;
  line-height: 1.55;
  color: #6f7d94;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0.35rem 0 0.75rem;
}

.legal-links a {
  color: #8391a9;
  text-decoration: none;
}

.legal-links a:hover { color: var(--text, #e8eef8); text-decoration: underline; }

.legal-doc h1 { margin-top: 0; }
.legal-doc h2 { margin-top: 1.5rem; font-size: 1.1rem; }
.legal-doc ul { padding-left: 1.25rem; line-height: 1.55; }
.legal-doc .legal-nav { margin-bottom: 1rem; }
.legal-doc .legal-nav a { color: #8391a9; }

/* —— App pages (signup / claim / feed) —— */
.wrap {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.75rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.45rem;
  letter-spacing: -0.05em;
  color: var(--cloud);
  text-decoration: none;
}

.brand .sl {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand .dotnet { font-size: 0.55em; font-style: normal; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  font-size: 0.95rem;
}

.nav a { color: var(--muted); font-weight: 600; }
.nav a:hover { color: var(--cloud); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8rem;
}

.pill strong { color: var(--cloud); font-weight: 600; }

.hero {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--cloud);
}

.hero p {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .grid.two { grid-template-columns: 1fr 1fr; }
}

.panel {
  background: linear-gradient(145deg, rgba(25, 38, 63, 0.8), rgba(11, 17, 31, 0.85));
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
  backdrop-filter: blur(8px);
}

.panel h2, .panel h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--cloud);
}

.panel p, .panel li {
  color: var(--muted);
  line-height: 1.5;
}

.maturity {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.45rem;
  border-radius: 0.35rem;
  border: 1px solid var(--line);
  color: var(--muted);
}

.maturity.general { color: var(--ok); border-color: rgba(62, 207, 142, 0.35); }
.maturity.moderate { color: var(--warn); border-color: rgba(232, 165, 75, 0.4); }
.maturity.adult { color: var(--danger); border-color: rgba(232, 106, 106, 0.4); }

.locked {
  opacity: 0.72;
  border-style: dashed;
}

.code-box {
  font-family: ui-monospace, Consolas, monospace;
  font-size: clamp(1.4rem, 4vw, 2rem);
  letter-spacing: 0.18em;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  text-align: center;
  margin: 0.75rem 0;
}

.error { color: var(--danger); }
.ok { color: var(--ok); }

label {
  display: block;
  margin: 0.75rem 0 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.75rem 0 0.35rem;
  color: var(--text);
  font-size: 0.95rem;
  cursor: pointer;
}
.checkbox-row input {
  width: auto;
  margin: 0;
  accent-color: var(--cyan);
}

select,
input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  color: var(--fg);
  font: inherit;
}

select:focus,
input:focus {
  outline: none;
  border-color: var(--cyan);
}

.steps {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.steps li { margin: 0.35rem 0; }

.kiosk-maturity-block {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.kiosk-maturity-block:first-of-type {
  border-top: 0;
  padding-top: 0.35rem;
}
.kiosk-heading {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.kiosk-heading.moderate { color: #f0b429; }
.kiosk-heading.adult { color: var(--pink, #ff3ebb); }
.kiosk-heading-note { margin: 0 0 0.75rem; font-size: 0.9rem; }
.kiosk-list { display: flex; flex-direction: column; gap: 0.65rem; }
.kiosk-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(0, 0, 0, 0.22);
}
.kiosk-row-main { flex: 1 1 12rem; min-width: 0; }
.kiosk-row-main strong { display: block; font-size: 1.05rem; }
.kiosk-region { display: block; font-size: 0.85rem; margin-top: 0.15rem; }
.kiosk-desc { margin: 0.35rem 0 0; font-size: 0.9rem; }
.kiosk-row-actions { flex: 0 0 auto; }
.kiosk-teleport { min-width: 7.5rem; text-align: center; }
.verify-explain ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.verify-explain li { margin: 0.35rem 0; }

.footer {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.feed-section {
  padding: 70px 7vw 40px;
  border-top: 1px solid var(--line);
}

.feed-section .wrap-feed {
  max-width: 1100px;
  margin: 0 auto;
}
.home-feed {
  margin-top: 0.5rem;
}
.home-feed .post-card-preview .post-body-story,
.home-feed .post-card-preview .post-body-caption {
  max-height: 11rem;
  overflow: hidden;
}
.post-read-more {
  margin: 0.35rem 0 0.65rem;
  font-size: 0.92rem;
}
.post-read-more a {
  font-weight: 600;
  color: var(--accent, #7eb8ff);
  text-decoration: none;
}
.post-read-more a:hover {
  text-decoration: underline;
}

@media (max-width: 800px) {
  .links { display: none; }
  .logo-img img { height: 40px; }
  .nav-post img { height: 32px; }
  .hero-landing {
    min-height: 650px;
    padding: 70px 24px 2rem;
  }
  .hero-landing.hero-branded {
    min-height: min(480px, 78vh);
  }
  .hero-bg { background-position: 62% center; }
  .hero-bg-banner { background-position: 70% center; }
  .tagline-strip { padding: 1.25rem 24px 0.25rem; }
  .section { padding: 75px 24px; }
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px 180px;
  }
  .big { grid-row: span 2; }
  .cards { grid-template-columns: 1fr; }
  .join {
    margin: 0 24px 60px;
    padding: 42px 22px;
  }
  .join-grid { grid-template-columns: 1fr; }
  .join-banner { max-width: 100%; }
  .join::before { display: none; }
  .site-footer { padding: 25px 24px; }
  .feed-section { padding: 50px 24px; }
}

/* Community / social */
.feed { display: grid; gap: 1rem; margin-top: 1rem; }
.post-card {
  background: linear-gradient(145deg, rgba(25, 38, 63, 0.85), rgba(11, 17, 31, 0.9));
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
}
.post-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.55rem;
}
.post-head time { color: var(--muted); font-size: 0.85rem; margin-left: auto; }
.post-body { line-height: 1.5; white-space: pre-wrap; }
.post-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.35rem 0 0.5rem;
  line-height: 1.25;
}
.post-body-story {
  white-space: normal;
}
.post-body-story p { margin: 0 0 0.85rem; }
.post-body-story h2, .post-body-story h3, .post-body-story h4 {
  font-family: var(--font-display);
  margin: 1rem 0 0.4rem;
}
.post-kind {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.post-pinned {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 223, 255, 0.45);
  background: rgba(0, 223, 255, 0.12);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.02em;
}
.compose-mode { margin: 0.35rem 0 0.5rem; }
.body-editor {
  position: relative;
  margin-bottom: 0.75rem;
}
.mention-autocomplete {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 2px);
  z-index: 60;
  max-height: 11rem;
  overflow: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  padding: 0.35rem;
}
.mention-pick.is-active {
  border-color: var(--accent);
  background: rgba(0, 223, 255, 0.1);
}
.body-editor textarea {
  margin-bottom: 0;
}
.markup-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.45rem 0.5rem;
  margin-bottom: 0.35rem;
  border-radius: 0.55rem 0.55rem 0 0;
  border: 1px solid var(--line);
  border-bottom: none;
  background: rgba(0, 0, 0, 0.22);
}
.body-editor:has(.markup-toolbar:not([hidden])) textarea {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-top: 0;
}
.markup-btn {
  min-width: 2.1rem;
  padding: 0.35rem 0.55rem;
  border-radius: 0.4rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}
.markup-btn:hover {
  border-color: var(--accent);
  background: rgba(0, 223, 255, 0.08);
}
.markup-dialog {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.55);
}
.markup-dialog[hidden],
.markup-toolbar[hidden] {
  display: none !important;
}
.markup-dialog-panel {
  width: min(100%, 22rem);
  padding: 1rem 1.1rem;
  border-radius: 0.65rem;
  border: 1px solid var(--line);
  background: var(--panel, #1a1f2e);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.markup-dialog-panel h3 {
  margin: 0 0 0.75rem;
}
.markup-dialog-panel label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.markup-dialog-panel input {
  width: 100%;
  margin-top: 0.25rem;
  margin-bottom: 0.35rem;
}
.post-body-story ul {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.35rem;
}
.post-body-story li {
  margin: 0.25rem 0;
}
.compose-mode .btn.is-active {
  border-color: var(--cyan);
  background: rgba(0, 223, 255, 0.12);
}
.lb-story .post-title { color: #fff; }
.lb-story .post-body { color: #e8eefc; }
.post-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.post-media {
  position: relative;
  margin: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: auto;
  max-height: 32rem;
  background: #0a0f1a;
}
.post-media-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.post-media img {
  width: 100%;
  height: auto;
  max-height: 32rem;
  object-fit: contain;
  display: block;
  background: #0a0f1a;
}
.post-credits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
}
.post-credits-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-right: 0.15rem;
}
.video-embed {
  position: relative;
  flex: 1 1 100%;
  width: 100%;
  max-width: 640px;
  margin: 0.35rem 0 0.1rem;
  aspect-ratio: 16 / 9;
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.profile-youtube-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.65rem 0 0.15rem;
}
.post-body-caption .mention,
.post-body-story .mention {
  color: var(--cyan);
  font-weight: 600;
  text-decoration: none;
}
.post-body-caption .mention:hover,
.post-body-story .mention:hover {
  text-decoration: underline;
}
.credit-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 0.4rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  text-decoration: none;
  font-size: 0.85rem;
}
a.credit-chip:hover {
  border-color: var(--accent, #7ec8e3);
}
.credit-role {
  opacity: 0.65;
  font-size: 0.75rem;
  text-transform: capitalize;
}
.post-media.is-blurred img,
.portfolio-tile.is-blurred img,
.masonry-tile.is-blurred img {
  filter: blur(18px);
  transform: scale(1.08);
}
.reveal-btn {
  position: absolute;
  inset: auto 50% 1rem auto;
  transform: translateX(50%);
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--grad);
  color: #061018;
}
.post-actions { margin-top: 0.75rem; }
.like-btn.liked { color: var(--pink); border-color: rgba(255, 62, 187, 0.45); }
.entity-chip {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--cyan);
  font-size: 0.8rem;
}
.entity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.entity-card {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(18, 29, 50, 0.8);
  color: inherit;
  text-decoration: none;
}
.entity-card:hover { border-color: rgba(0, 223, 255, 0.35); text-decoration: none; }
.entity-type {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--cyan);
  font-weight: 800;
}
.compose textarea,
.panel textarea,
.panel input[type="text"],
.panel input[type="search"],
.panel input:not([type]),
.compose select,
.panel select,
.search-bar input[type="search"] {
  width: 100%;
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.55rem;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  color: var(--fg);
  font: inherit;
}
.field-label {
  display: block;
  margin: 0.35rem 0 0.4rem;
  font-weight: 600;
  color: var(--cloud);
}
.dropzone {
  position: relative;
  margin-bottom: 0.75rem;
  border: 1.5px dashed rgba(0, 223, 255, 0.35);
  border-radius: 1rem;
  background:
    linear-gradient(160deg, rgba(0, 223, 255, 0.08), rgba(124, 63, 255, 0.08)),
    rgba(8, 14, 28, 0.7);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  outline: none;
}
.dropzone:hover,
.dropzone:focus-visible {
  border-color: rgba(0, 223, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(0, 223, 255, 0.12);
}
.dropzone.is-dragover {
  border-color: var(--cyan);
  border-style: solid;
  background:
    linear-gradient(160deg, rgba(0, 223, 255, 0.16), rgba(255, 62, 187, 0.1)),
    rgba(8, 14, 28, 0.85);
  box-shadow: 0 0 24px rgba(0, 223, 255, 0.18);
}
.dropzone.has-files {
  border-style: solid;
  border-color: rgba(124, 63, 255, 0.45);
}
.dropzone-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}
.dropzone-inner {
  padding: 1.6rem 1.2rem;
  text-align: center;
}
.dropzone-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 0.7rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--grad);
  color: #061018;
  box-shadow: 0 8px 20px rgba(0, 223, 255, 0.18);
}
.dropzone-icon svg { display: block; }
.dropzone-title {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cloud);
}
.dropzone-browse {
  color: var(--cyan);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.compose-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.25rem 0 0.75rem;
}
.compose-preview-item {
  position: relative;
  width: 96px;
  height: 96px;
}
.compose-preview img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 0.65rem;
  border: 1px solid var(--line);
  display: block;
}
.preview-remove {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  width: 1.5rem;
  height: 1.5rem;
  border: 0;
  border-radius: 999px;
  background: #1a2338;
  color: var(--cloud);
  border: 1px solid var(--line);
  cursor: pointer;
  line-height: 1;
}
.compose-preview-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.15rem 0.25rem;
  font-size: 0.65rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.65);
  color: #eee;
  border-radius: 0 0 0.65rem 0.65rem;
}
.compose-credits {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}
.compose-credits h2 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
}
.credit-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr 1.5fr auto;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
  align-items: center;
}
@media (max-width: 720px) {
  .credit-row {
    grid-template-columns: 1fr;
  }
}
.preview-remove:hover {
  background: var(--danger);
  border-color: transparent;
  color: #fff;
}
.search-bar {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
  margin: 1rem 0 0.85rem;
  max-width: 40rem;
}
.search-bar input[type="search"] {
  flex: 1;
  margin: 0;
}
.search-bar .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}
#type-filters .btn.is-active {
  border-color: rgba(0, 223, 255, 0.55);
  color: var(--cyan);
  box-shadow: inset 0 0 0 1px rgba(0, 223, 255, 0.2);
}
.profile-hero h1 { margin: 0 0 0.35rem; }

/* �� Reactions / comments / notifications �� */
.reactions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0.65rem 0 0.35rem;
}
.reaction-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.reaction-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  color: var(--cloud);
  cursor: pointer;
  font: inherit;
}
.reaction-chip.is-mine {
  border-color: rgba(0, 223, 255, 0.55);
  background: rgba(0, 223, 255, 0.12);
}
.reaction-chip:hover { border-color: rgba(0, 223, 255, 0.45); }
.reaction-add { position: relative; }
.reaction-add-btn {
  list-style: none;
  min-width: 2rem;
  padding: 0.2rem 0.55rem;
}
.reaction-add summary::-webkit-details-marker { display: none; }
.reaction-picker {
  position: absolute;
  bottom: calc(100% + 0.35rem);
  left: 0;
  display: flex;
  gap: 0.25rem;
  padding: 0.4rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: #121c30;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  z-index: 5;
}
.reaction-pick {
  border: 0;
  background: transparent;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.2rem;
  border-radius: 0.35rem;
}
.reaction-pick:hover { background: rgba(255,255,255,0.08); }
.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.5rem;
}
.notif-wrap { position: relative; overflow: visible; }
.notif-bell {
  position: relative;
  overflow: visible;
  line-height: 1;
}
.notif-badge {
  position: absolute;
  top: 0.2rem;
  right: 0.15rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  pointer-events: none;
}
.notif-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  width: min(22rem, 84vw);
  max-height: 22rem;
  overflow: auto;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: #101a2e;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  z-index: 40;
}
.notif-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--line);
}
.notif-list { display: flex; flex-direction: column; }
.notif-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.8rem;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.notif-item:hover { background: rgba(255,255,255,0.04); text-decoration: none; }
.notif-item.is-unread { background: rgba(0, 223, 255, 0.06); }
.notif-item time { font-size: 0.78rem; color: var(--muted); }
.comments { display: flex; flex-direction: column; gap: 0.75rem; margin: 0.75rem 0 1rem; }
.comment {
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.2);
}
.comment header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.35rem;
}
.comment-form textarea { width: 100%; }

.ban-banner {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 80, 80, 0.45);
  background: rgba(255, 60, 60, 0.12);
  color: #ffb4b4;
}

.plan-banner {
  margin: 0.75rem auto 1rem;
  max-width: 1100px;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  align-items: center;
  border: 1px solid rgba(0, 223, 255, 0.28);
  background: rgba(0, 40, 60, 0.45);
  color: #d7e8f8;
}
.plan-banner.is-expired {
  border-color: rgba(255, 160, 60, 0.45);
  background: rgba(255, 140, 40, 0.12);
  color: #f0dcc8;
}
.plan-banner.is-over {
  border-color: rgba(255, 100, 140, 0.4);
  background: rgba(255, 79, 163, 0.1);
}
.plan-banner .btn { margin: 0; }
.plan-callout {
  margin: 0.65rem 0 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 160, 60, 0.35);
  background: rgba(255, 140, 40, 0.08);
  color: #f0dcc8;
}

.profile-banner.is-default-banner,
.place-card.is-default-banner {
  filter: saturate(0.92);
}
.profile-avatar.is-default-avatar,
.person-avatar.is-default-avatar {
  opacity: 0.95;
}

.content-attestation {
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 160, 60, 0.45);
  background: rgba(255, 140, 40, 0.1);
  color: #f0dcc8;
}

.content-attestation h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #ffd4a8;
}

.content-attestation ul {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.2rem;
  line-height: 1.5;
  font-size: 0.92rem;
}

.content-attestation .maturity-hint {
  margin: 0.65rem 0 0;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.9rem;
  color: #e8d4bc;
}

.content-attestation label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.45;
  cursor: pointer;
  color: #f5e8dc;
}

.content-attestation input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  accent-color: #ff9f43;
}

.content-attestation a {
  color: #ffc285;
  text-decoration: underline;
}
.mod-banner {
  margin: 0 0 0.65rem;
  padding: 0.45rem 0.65rem;
  border-radius: 0.5rem;
  font-size: 0.88rem;
}
.mod-hidden { background: rgba(255, 180, 0, 0.12); border: 1px solid rgba(255, 180, 0, 0.35); color: #ffd88a; }
.mod-deleted { background: rgba(255, 60, 60, 0.12); border: 1px solid rgba(255, 80, 80, 0.35); color: #ffb4b4; }
.post-card.is-hidden { opacity: 0.85; }
.post-card.is-deleted { opacity: 0.7; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.65);
}
.modal-backdrop[hidden] { display: none; }
.flag-modal, .modal {
  width: min(100%, 420px);
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: var(--panel);
}
.flag-modal label, .modal label { display: block; margin: 0.75rem 0 0.35rem; }
.flag-modal select, .flag-modal textarea { width: 100%; }

.mod-tabs { display: flex; gap: 0.5rem; margin: 0 0 1rem; flex-wrap: wrap; }
.mod-tab.is-active { background: var(--panel2); border-color: var(--accent); }
.mod-toolbar { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: end; margin-bottom: 1rem; }
.mod-list { display: flex; flex-direction: column; gap: 0.85rem; }
.mod-card {
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.18);
}
.mod-card header { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 0.35rem; }
.mod-preview {
  margin: 0.5rem 0;
  padding: 0.65rem 0.75rem;
  border-left: 3px solid var(--line);
  color: var(--muted);
}
.mod-actions { flex-wrap: wrap; margin-top: 0.65rem; }
.mod-plan-grant {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: end;
  margin: 0.65rem 0;
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px dashed var(--line);
  background: rgba(0, 0, 0, 0.12);
}
.mod-plan-grant label { margin: 0; font-size: 0.85rem; }
.mod-plan-grant select,
.mod-plan-grant input[type="number"] {
  width: auto;
  min-width: 6rem;
  margin-left: 0.35rem;
}
.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}
.shop-card-products {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.55rem;
  position: relative;
  z-index: 1;
}
.shop-card-prod {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.4rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}
.shop-card-prod img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shop-card-more {
  align-self: center;
  font-size: 0.8rem;
  color: var(--muted);
}
.shop-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
  position: relative;
  z-index: 1;
}
.merchant-howto h2,
.merchant-howto h3 {
  margin-top: 0;
}

.plan-pill { border-color: rgba(0, 223, 255, 0.35); color: var(--cyan); }

.content-gate {
  max-width: 36rem;
  margin: 2rem auto;
  text-align: left;
}
.content-gate h1 {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.45rem;
}
.content-gate .actions {
  margin-top: 1.25rem;
}

.mod-browse-intro { margin: 0 0 1rem; max-width: 52rem; line-height: 1.5; }
.mod-browse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 0.75rem;
}
.mod-browse-tile.has-multi-media {
  grid-column: span 2;
}
@media (max-width: 560px) {
  .mod-browse-tile.has-multi-media { grid-column: span 1; }
}
.mod-browse-tile {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
}
.mod-browse-tile:hover,
.mod-browse-tile:focus-visible {
  border-color: var(--accent);
  outline: none;
}
.mod-browse-tile.is-hidden { border-color: rgba(255, 180, 0, 0.45); }
.mod-browse-tile.is-removed { opacity: 0.72; border-color: rgba(255, 80, 80, 0.45); }
.mod-browse-thumb {
  aspect-ratio: 1;
  background: #0b1220;
  overflow: hidden;
  display: grid;
  place-items: stretch;
}
.mod-browse-thumb > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mod-browse-thumb-grid {
  display: grid;
  width: 100%;
  height: 100%;
  gap: 2px;
  background: #0b1220;
}
.mod-browse-thumb-grid--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.mod-browse-thumb-grid--2 { grid-template-columns: repeat(2, 1fr); grid-template-rows: 1fr; }
.mod-browse-thumb-grid--3 { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr; }
.mod-browse-thumb-grid--4 { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); }
.mod-browse-thumb-grid--5,
.mod-browse-thumb-grid--6 { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); }
.mod-browse-thumb-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mod-browse-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.mod-browse-media-item {
  margin: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b1220;
}
.mod-browse-media-item--mismatch {
  border-color: rgba(255, 80, 80, 0.65);
  box-shadow: 0 0 0 1px rgba(255, 80, 80, 0.35);
}
.mod-browse-media-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.mod-browse-media-item figcaption {
  padding: 0.25rem 0.4rem;
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  justify-content: center;
}
.mod-media-maturity {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  width: 100%;
  justify-content: center;
}
.mod-media-maturity select {
  font-size: 0.72rem;
  padding: 0.15rem 0.25rem;
  max-width: 6.5rem;
}
.mod-media-maturity .btn {
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
}
.mod-maturity-edit {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.15);
}
.mod-maturity-edit h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}
.mod-maturity-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.mod-maturity-row label {
  font-size: 0.88rem;
  color: var(--muted);
}
.mod-maturity-row select {
  min-width: 7rem;
}
.mod-maturity-sync {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.55rem;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
}
.mod-warn-box {
  margin: 0.85rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 165, 0, 0.35);
  background: rgba(255, 165, 0, 0.06);
}
.mod-warn-box h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}
.mod-warn-box textarea {
  width: 100%;
  min-height: 4.5rem;
  margin: 0.45rem 0 0.55rem;
  resize: vertical;
}
.notif-body {
  margin: 0.2rem 0 0.15rem;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--muted);
  white-space: pre-wrap;
}
.mod-browse-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mod-browse-text {
  padding: 0.65rem;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--muted);
  overflow: hidden;
  max-height: 100%;
}
.mod-browse-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 0.55rem 0.55rem;
  font-size: 0.78rem;
}
.mod-browse-meta .pill { align-self: flex-start; }
.mod-browse-author {
  font-weight: 600;
  color: var(--text, #e8eef8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mod-browse-more { margin-top: 1rem; justify-content: center; }
.mod-badge-hidden { background: rgba(255, 180, 0, 0.18); border: 1px solid rgba(255, 180, 0, 0.35); color: #ffd88a; }
.mod-badge-removed { background: rgba(255, 60, 60, 0.15); border: 1px solid rgba(255, 80, 80, 0.35); color: #ffb4b4; }
.mod-badge-report { background: rgba(255, 79, 163, 0.15); border: 1px solid rgba(255, 79, 163, 0.35); color: #ffb8de; }
.mod-browse-modal {
  position: relative;
  width: min(640px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  margin: auto;
}
.mod-browse-modal .modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.mod-browse-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.5rem 0 0.75rem;
}
.mod-browse-detail-img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 0.65rem;
  background: #0b1220;
  margin-bottom: 0.75rem;
}

.mod-comment-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
}
.mod-comment-card:hover,
.mod-comment-card:focus-visible {
  border-color: var(--accent);
  outline: none;
}
.mod-comment-card.is-hidden { border-color: rgba(255, 180, 0, 0.45); }
.mod-comment-card.is-removed { opacity: 0.72; border-color: rgba(255, 80, 80, 0.45); }
.mod-comment-post-thumb {
  width: 72px;
  height: 72px;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #0b1220;
  display: grid;
  place-items: stretch;
  flex-shrink: 0;
}
.mod-comment-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mod-comment-post-thumb .mod-browse-thumb-grid {
  gap: 1px;
}
.mod-comment-no-thumb {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mod-comment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.35rem;
}
.mod-comment-text {
  margin: 0;
  line-height: 1.45;
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mod-comment-meta {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
}
.mod-comment-post-context {
  margin: 1rem 0;
  padding: 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.15);
}
.mod-comment-post-context h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}
.mod-comment-context-img {
  max-height: 220px;
  margin-bottom: 0.5rem;
}

.comment.is-hidden { opacity: 0.75; border-color: rgba(255,180,0,0.35); }
.comment.is-deleted { opacity: 0.6; }

.profile-shell { margin-bottom: 1.25rem; }
.profile-banner {
  width: 100%;
  aspect-ratio: 4 / 1;
  height: auto;
  min-height: 120px;
  border-radius: 1rem 1rem 0 0;
  background: linear-gradient(135deg, rgba(0,223,255,0.15), rgba(168,85,247,0.18), rgba(255,79,163,0.12));
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  border-bottom: none;
}
.profile-banner.has-image { background-color: #0b1220; }
.profile-main {
  border-radius: 0 0 1rem 1rem;
  margin-top: 0;
  border-top: none;
}
.profile-identity {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: -2.5rem;
  margin-bottom: 0.75rem;
}
.profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  border: 3px solid var(--panel);
  background: var(--panel2);
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.profile-avatar.has-image { color: transparent; }
.entity-banner {
  /* Same 4∶1 as upload target (1920×480) — do not force a shorter box. */
}
.entity-avatar { width: 72px; height: 72px; font-size: 1.5rem; }
.profile-uploads {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
  align-items: center;
}
.upload-hints {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  line-height: 1.35;
}
.upload-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px dashed var(--line);
  cursor: pointer;
  font-size: 0.9rem;
}
.upload-chip:hover { border-color: var(--accent); color: var(--accent); }

.sl-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}
.sl-link {
  font-size: 0.9rem;
}
.sl-map-wrap {
  margin: 1rem 0;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a1218;
}
.sl-map {
  width: 100%;
  height: 280px;
  border: 0;
}
.entity-body {
  margin: 1rem 0;
}
.entity-edit label {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
}
.entity-edit input,
.entity-edit textarea {
  width: 100%;
  margin-top: 0.35rem;
}
.product-grid-wrap { margin: 1.25rem 0; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}
.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.65rem;
  border-radius: 0.65rem;
  border: 1px solid var(--line);
  text-decoration: none;
  background: rgba(0,0,0,0.2);
}
.product-card:hover { border-color: var(--accent); }
.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.4rem;
}
.product-placeholder {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.05);
  border-radius: 0.4rem;
  font-weight: 700;
  color: var(--muted);
}
.product-admin-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}
.product-add {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.product-add input { width: 100%; }

.verified-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(0, 223, 255, 0.15);
  color: var(--accent);
  border: 1px solid rgba(0, 223, 255, 0.35);
  vertical-align: middle;
}
.entity-card.is-verified { border-color: rgba(0, 223, 255, 0.25); }
.event-when { margin: 0.75rem 0; padding: 0.75rem 1rem; }
.event-fields { margin-top: 1rem; border: 1px solid var(--line); border-radius: 0.65rem; padding: 0.75rem; }
.member-admin { margin-top: 1rem; }
.member-row, .member-invite {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}
.member-invite input { flex: 1 1 140px; }
.invite-handle-wrap {
  position: relative;
  flex: 1 1 200px;
  min-width: 180px;
}
.invite-handle-wrap input { width: 100%; }
.member-admin-panel { margin-bottom: 1rem; }
.member-admin-panel h2 { margin-top: 0; }

.connected-panel { margin: 1.25rem 0; }
.connected-panel h2 { margin-bottom: 0.75rem; }
.connected-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.connected-card {
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(0,0,0,0.18);
  overflow: hidden;
}
.connected-card-main {
  display: flex;
  gap: 0.65rem;
  padding: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.connected-card-main:hover { background: rgba(0, 223, 255, 0.06); }
.connected-avatar {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}
.connected-avatar.has-image { background-size: cover; background-position: center; color: transparent; }
.connected-label {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 0.15rem;
}
.connected-mini-products {
  display: flex;
  gap: 0.35rem;
  padding: 0 0.75rem 0.75rem;
  flex-wrap: wrap;
}
.connected-mini-products a {
  width: 44px;
  height: 44px;
  border-radius: 0.35rem;
  overflow: hidden;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  text-decoration: none;
  color: var(--muted);
}
.connected-mini-products img { width: 100%; height: 100%; object-fit: cover; }
.connected-promo h3 { margin: 0.5rem 0; font-size: 1rem; }
.link-admin, .link-row, .link-add { margin-top: 0.75rem; }
.link-search-results {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.5rem 0;
}
.link-pick {
  text-align: left;
  padding: 0.45rem 0.65rem;
  border-radius: 0.45rem;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.2);
  color: inherit;
  cursor: pointer;
}
.link-pick:hover { border-color: var(--accent); }
.link-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}

.post-category {
  display: inline-block;
  margin: 0.35rem 0 0.15rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
}
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.5rem 0 0.25rem;
}
.post-tag {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.post-filters {
  margin: 1rem 0 0.5rem;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.filter-row .btn.is-active {
  border-color: var(--accent);
  color: var(--accent);
}

.gallery-module { margin: 1.25rem 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.55rem;
  margin-top: 0.75rem;
}
.gallery-tile {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  text-decoration: none;
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.35rem 0.45rem;
  font-size: 0.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: #fff;
}
.gallery-admin-block {
  margin: 0.75rem 0;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}
.gallery-admin-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.5rem 0;
}
.gallery-admin-thumb {
  position: relative;
  width: 72px;
  height: 72px;
}
.gallery-admin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.35rem;
  border: 1px solid var(--line);
}
.gallery-admin-thumb .item-del {
  position: absolute;
  top: 2px;
  right: 2px;
  padding: 0 0.35rem;
  line-height: 1.2;
  background: rgba(0,0,0,0.65);
}
.gallery-dropzone {
  margin-top: 0.5rem;
  padding: 1rem 1.1rem;
  border: 1px dashed rgba(0, 223, 255, 0.35);
  border-radius: 0.75rem;
  background: rgba(0, 40, 60, 0.25);
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.gallery-dropzone.is-dragover {
  border-color: var(--accent);
  background: rgba(0, 223, 255, 0.12);
}
.gallery-dropzone p { margin: 0.25rem 0; }
.gallery-browse-chip { display: inline-flex; vertical-align: middle; margin: 0 0.25rem; }

.gallery-picker-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.72);
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.gallery-picker {
  width: min(720px, 100%);
  max-height: min(80vh, 720px);
  overflow: auto;
  margin: 0;
}
.gallery-picker-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.gallery-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}
.gallery-picker-tile {
  position: relative;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.45rem;
  overflow: hidden;
  background: #0b1220;
  cursor: pointer;
  aspect-ratio: 1;
}
.gallery-picker-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-picker-tile.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.gallery-picker-tile.is-used {
  opacity: 0.45;
  cursor: not-allowed;
}
.gallery-picker-actions { justify-content: flex-end; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.88);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.lightbox img,
.lightbox-img {
  max-width: min(96vw, 1100px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: 0.35rem;
}
.lightbox-advanced {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3.5rem 1.25rem 1.25rem;
}
.lightbox-stage {
  flex: 1;
  display: grid;
  place-items: center;
  width: 100%;
  overflow: auto;
  max-height: calc(100vh - 7rem);
}
.lightbox-advanced .lightbox-img {
  max-width: min(96vw, 1600px);
  max-height: calc(100vh - 8rem);
  transform-origin: center center;
  transition: transform 0.12s ease-out;
  user-select: none;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}
.lightbox-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: min(96vw, 40rem);
}
.lightbox-toolbar .btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  z-index: 2;
}
.lightbox-caption {
  color: #ddd;
  margin: 0;
  text-align: center;
  flex: 1 1 8rem;
}

.empty-state {
  text-align: center;
  padding: 2.5rem 1.25rem;
  border-radius: 1rem;
  border: 1px dashed var(--line);
  background: rgba(0,0,0,0.15);
}
.empty-state-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}
.empty-state-art {
  display: block;
  width: min(100%, 420px);
  max-height: 220px;
  object-fit: cover;
  border-radius: 0.85rem;
  margin: 0 auto 1rem;
  border: 1px solid rgba(255,255,255,0.08);
}
.empty-state h3 { margin: 0 0 0.35rem; }
.empty-state .btn { margin-top: 1rem; }

/* Discover */
.discover-hero h1 { margin-bottom: 0.35rem; }
.topic-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}
.topic-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--cloud);
  font-size: 0.9rem;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.topic-pill:hover { text-decoration: none; border-color: var(--cyan); }
.topic-pill.is-active {
  border-color: var(--cyan);
  background: rgba(0, 223, 255, 0.12);
}
.discover-section { margin: 2.25rem 0; }
.section-head { margin-bottom: 0.85rem; }
.section-head h2 { margin: 0 0 0.2rem; }
.section-head .muted { margin: 0; }
.masonry-grid {
  column-count: 3;
  column-gap: 0.75rem;
}
@media (max-width: 900px) { .masonry-grid { column-count: 2; } }
@media (max-width: 560px) { .masonry-grid { column-count: 1; } }
.masonry-tile {
  break-inside: avoid;
  display: block;
  width: 100%;
  margin: 0 0 0.75rem;
  padding: 0;
  border: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #0a0f1a;
  border: 1px solid var(--line);
}
.masonry-tile img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.masonry-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.75rem 0.75rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: flex-start;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
  color: #fff;
  opacity: 0;
  transform: translateY(0.35rem);
  transition: opacity 0.18s ease, transform 0.18s ease;
  text-align: left;
  font-size: 0.85rem;
}
.masonry-tile:hover .masonry-meta,
.masonry-tile:focus-visible .masonry-meta {
  opacity: 1;
  transform: translateY(0);
}
@media (hover: none) {
  .masonry-meta { opacity: 1; transform: none; padding-top: 2.5rem; }
}
.place-row, .person-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 280px);
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}
.place-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.25rem;
  min-height: 11rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  scroll-snap-align: start;
}
.place-card.has-image {
  background-image: var(--place-bg);
  background-size: cover;
  background-position: center;
}
.place-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,10,20,0.15), rgba(6,10,20,0.88));
  pointer-events: none;
}
.place-card > *:not(.place-card-shade) { position: relative; z-index: 1; }
.place-card:hover { text-decoration: none; border-color: rgba(0,223,255,0.45); }
.place-card-hop { margin-top: 0.5rem; align-self: flex-start; }
.person-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.9rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: var(--panel);
  text-decoration: none;
  color: var(--text);
  scroll-snap-align: start;
}
.person-card:hover { text-decoration: none; border-color: rgba(0,223,255,0.4); }
.person-avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--panel2);
  font-weight: 700;
  background-size: cover;
  background-position: center;
}
.lovense-pill {
  font-size: 0.72rem;
  background: rgba(232, 67, 147, 0.14);
  border: 1px solid rgba(232, 67, 147, 0.45);
  color: #f7a8ce;
}
.lovense-pill.is-on,
.lovense-pill.is-available {
  background: rgba(46, 204, 113, 0.18);
  border-color: rgba(46, 204, 113, 0.55);
  color: #b8f0cc;
}
.lovense-pill.is-busy {
  background: rgba(230, 126, 34, 0.2);
  border-color: rgba(230, 126, 34, 0.6);
  color: #ffd0a8;
}
.profile-lovense-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
}
.discover-directory { margin: 2.5rem 0 1rem; }
.discover-directory summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--cloud);
}

.place-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin: 0.35rem 0 0.5rem;
}
.place-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0,223,255,0.08);
  color: var(--cloud);
  text-decoration: none;
  font-size: 0.9rem;
}
.place-chip:hover { text-decoration: none; border-color: var(--cyan); }
.place-hop { font-size: 0.85rem; }

.profile-tabs { margin: 1.25rem 0 0.75rem; }
.profile-tabs .btn.is-active {
  border-color: var(--cyan);
  background: rgba(0, 223, 255, 0.12);
}
.portfolio-grid {
  column-count: 3;
  column-gap: 0.65rem;
  margin-top: 0.5rem;
}
@media (max-width: 900px) { .portfolio-grid { column-count: 2; } }
@media (max-width: 560px) { .portfolio-grid { column-count: 1; } }
.portfolio-tile {
  break-inside: avoid;
  width: 100%;
  margin: 0 0 0.65rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  overflow: hidden;
  background: #0a0f1a;
  cursor: pointer;
  position: relative;
}
.portfolio-tile img {
  display: block;
  width: 100%;
  height: auto;
}
.portfolio-pin {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  z-index: 2;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(10, 14, 24, 0.85);
  border: 1px solid rgba(0, 223, 255, 0.45);
  color: var(--cyan);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.lightbox-advanced.has-inspector {
  padding: 3rem 1rem 1rem;
}
.lightbox-layout {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: min(96vw, 1400px);
  max-height: calc(100vh - 7rem);
  flex: 1;
}
.lightbox-advanced.has-inspector .lightbox-stage {
  flex: 1 1 auto;
  max-height: none;
  width: auto;
}
.lightbox-advanced.has-inspector .lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 8rem);
}
.lightbox-panel {
  flex: 0 0 min(22rem, 38vw);
  max-width: 24rem;
  background: rgba(10, 14, 24, 0.96);
  border-left: 1px solid rgba(255,255,255,0.12);
  overflow: auto;
  color: #e8eefc;
}
.lb-panel-inner { padding: 1.1rem 1.15rem 1.5rem; }
.lb-author { margin: 0 0 0.75rem; }
.lb-author a { color: #fff; }
.lb-place {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}
.lb-hop { align-self: flex-start; }
.lb-story {
  line-height: 1.5;
  margin-bottom: 0.85rem;
  white-space: pre-wrap;
}
.lb-panel-head { margin-bottom: 0.75rem; }
.lb-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
}
.lb-panel-engage {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.lb-panel-engage .reactions { margin-top: 0; }
.lightbox-panel .post-actions .btn { color: #e8eefc; border-color: rgba(255,255,255,0.18); }
.lightbox-panel .post-actions .btn:hover { border-color: rgba(0, 223, 255, 0.45); }
.lightbox-panel .reaction-picker {
  bottom: auto;
  top: calc(100% + 0.35rem);
  z-index: 30;
}
.lb-panel-nav {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.lb-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}
@media (max-width: 800px) {
  .lightbox-layout { flex-direction: column; max-height: calc(100vh - 6.5rem); overflow: auto; }
  .lightbox-panel { flex: none; max-width: none; width: 100%; border-left: 0; border-top: 1px solid rgba(255,255,255,0.12); max-height: 40vh; }
  .lightbox-advanced.has-inspector .lightbox-img { max-height: 45vh; }
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.plan-card h2 { margin-top: 0; }
.plan-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0.35rem 0 0.5rem;
}
.plan-pill {
  text-transform: capitalize;
  border-color: rgba(0, 223, 255, 0.45);
  color: var(--cyan);
}
.plan-coming-soon {
  border-color: rgba(255, 180, 80, 0.45);
  color: #ffb450;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.plan-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.plan-card-head h2 { margin: 0; }
.plan-card-active {
  border-color: rgba(0, 223, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 223, 255, 0.12);
}

/* Lovense panel (site-wide side panel) */
.lovense-nav-btn {
  border-color: rgba(255, 105, 180, 0.45) !important;
  color: #ff69b4 !important;
}
.lovense-panel {
  --lovense-panel-w: min(400px, 100vw);
  --lovense-handle-w: 36px;
  position: fixed;
  top: 0;
  right: 0;
  width: var(--lovense-panel-w);
  height: 100vh;
  z-index: 90;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow: visible;
  transform: translateX(0);
  transition: transform 0.28s ease, width 0.28s ease;
  pointer-events: none;
}
.lovense-panel > * { pointer-events: auto; }
.lovense-panel[hidden] { display: none !important; }
.lovense-panel-handle {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-100%, -50%);
  width: var(--lovense-handle-w);
  min-height: 120px;
  padding: 0.75rem 0.2rem;
  border: 1px solid rgba(255, 105, 180, 0.45);
  border-right: none;
  border-radius: 10px 0 0 10px;
  background: linear-gradient(180deg, #2a0f1c 0%, #1a0a14 100%);
  box-shadow: -6px 0 20px rgba(0, 0, 0, 0.35);
  color: #ff69b4;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  z-index: 2;
}
.lovense-panel-handle:hover {
  background: linear-gradient(180deg, #3a1528 0%, #220e18 100%);
  color: #ffb6d9;
}
.lovense-handle-chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); /* points right when open (= click to shut) */
  transition: transform 0.28s ease;
}
.lovense-panel.is-collapsed .lovense-handle-chevron {
  transform: rotate(135deg); /* points left when collapsed (= click to open) */
}
.lovense-handle-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lovense-panel-shell {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(165deg, #120814 0%, #1a0a14 45%, #0c0812 100%);
  border-left: 1px solid rgba(255, 105, 180, 0.35);
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 20, 147, 0.08);
  transition: opacity 0.2s ease;
}
.lovense-panel.is-collapsed {
  width: 0;
  transform: translateX(0);
}
.lovense-panel.is-collapsed .lovense-panel-shell {
  opacity: 0;
  pointer-events: none;
  border: none;
  box-shadow: none;
}
.lovense-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 105, 180, 0.2);
  background: rgba(255, 20, 147, 0.08);
  flex-shrink: 0;
}
.lovense-head-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.lovense-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ff69b4 0%, #ff1493 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lovense-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffb6d9, #ff1493);
  box-shadow: 0 0 10px rgba(255, 20, 147, 0.8);
  -webkit-text-fill-color: initial;
}
.lovense-icon-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}
.lovense-panel-body {
  flex: 1;
  overflow: auto;
  padding: 1rem;
}
.lovense-section {
  margin-bottom: 1.25rem;
}
.lovense-section h3 {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff69b4;
}
.lovense-status-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
}
.lovense-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #64748b;
}
.lovense-dot.is-on {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
}
.lovense-btn {
  background: linear-gradient(135deg, #ff69b4, #ff1493) !important;
  border: none !important;
  color: #fff !important;
}
.lovense-qr-box {
  margin-top: 0.75rem;
  text-align: center;
}
.lovense-qr-box img {
  max-width: 220px;
  width: 100%;
  background: #fff;
  border-radius: 8px;
  padding: 0.5rem;
}
.lovense-field-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.25rem;
}
.lovense-select {
  width: 100%;
  margin-bottom: 0.5rem;
}
.lovense-tray-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.75rem 0 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.lovense-stop-btn {
  background: #dc2626;
  border: none;
  color: #fff;
  border-radius: 6px;
  padding: 0.25rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
.lovense-stop-btn:hover { filter: brightness(1.1); }
.lovense-control-group {
  margin-bottom: 0.85rem;
}
.lovense-control-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.9);
}
.lovense-control-value {
  color: #ff69b4;
  font-variant-numeric: tabular-nums;
}
.lovense-slider {
  width: 100%;
  accent-color: #ff1493;
  height: 0.45rem;
  cursor: pointer;
}
.lovense-controller-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.lovense-active-pill {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #04120a;
  background: #10b981;
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
}
.lovense-target-list {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
  max-height: 160px;
  overflow: auto;
}
.lovense-target-row {
  margin: 0.15rem 0;
}
.lovense-request {
  display: grid;
  gap: 0.35rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 105, 180, 0.12);
}
.lovense-footnote {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}
.lovense-details {
  border: 1px solid rgba(255, 105, 180, 0.2);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  background: rgba(255, 20, 147, 0.05);
}
.lovense-details summary {
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #ff69b4;
  list-style: none;
}
.lovense-details summary::-webkit-details-marker { display: none; }
.lovense-details[open] summary { margin-bottom: 0.55rem; }
/* Panel is fixed overlay — never shift page layout */

/* legacy alias */
.toys-panel { /* kept for old caches — unused */ }
