:root {
  --gold: #d7c4a3;
  --gold-soft: #e6d3b2;
  --gold-dim: rgba(215, 196, 163, 0.55);
  --text: #e9ecef;
  --text-muted: rgba(233, 236, 239, 0.68);
  --ink: #06070b;
  --frame: rgba(215, 196, 163, 0.42);
  --accent-2: #8eb6b8;
  --glow: none;
  --font-display: "Syne", "Avenir Next", sans-serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  background: var(--ink);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(6, 7, 11, 0.25), rgba(6, 7, 11, 0.55)),
    url("assets/nebula-bg.jpg") center / cover no-repeat,
    linear-gradient(180deg, #10131a 0%, #06070b 100%);
  transform: scale(1.04);
  animation: drift 36s ease-in-out infinite alternate;
}

.veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 7, 11, 0.3) 0%, rgba(6, 7, 11, 0.58) 45%, rgba(6, 7, 11, 0.86) 100%),
    radial-gradient(ellipse 70% 50% at 50% 12%, rgba(142, 182, 184, 0.1), transparent 60%);
  pointer-events: none;
}

@keyframes drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, 1%, 0); }
}

.site-header {
  position: relative;
  z-index: 10;
  padding: 1.35rem 2rem 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.35rem 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

.nav__link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 1;
  transition: color 0.25s ease;
}

.nav__link:hover,
.nav__link.is-active {
  opacity: 1;
  color: var(--text);
  text-shadow: none;
}

.nav__link.is-active {
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.15rem;
  color: var(--gold);
}

.page {
  width: min(920px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.5rem 0 4rem;
}

.hero {
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: rise 0.9s ease forwards 0.1s;
}

.ornament {
  display: inline-block;
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  position: relative;
}

.ornament::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border: 1px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
}

.ornament--flip {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.ornament--flip::after {
  right: auto;
  left: 0;
}

.hero__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: var(--glow);
  opacity: 0;
  animation: rise 0.9s ease forwards 0.25s;
}

.hero__lead {
  margin: 0 0 2rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  animation: rise 0.9s ease forwards 0.4s;
}

.frame {
  position: relative;
  margin: 0 auto 2rem;
  padding: 1.6rem 1.7rem;
  border: 1px solid var(--frame);
  box-shadow: var(--glow), inset 0 0 0 1px rgba(212, 181, 106, 0.15);
  background: rgba(10, 6, 18, 0.28);
  backdrop-filter: blur(2px);
  opacity: 0;
  animation: rise 0.95s ease forwards 0.55s;
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--gold);
}

.frame::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.frame::after {
  right: -1px;
  bottom: -1px;
  border-left: none;
  border-top: none;
}

.frame--text p {
  margin: 0;
  font-size: clamp(0.92rem, 1.7vw, 1.02rem);
  color: var(--text-muted);
  text-align: center;
}

.join {
  display: block;
  width: min(420px, 100%);
  margin: 0 auto 3.5rem;
  padding: 1.35rem 1.25rem 1.15rem;
  border: 1px solid var(--frame);
  box-shadow: var(--glow);
  background: rgba(12, 7, 22, 0.35);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  opacity: 0;
  animation: rise 0.95s ease forwards 0.7s;
}

.join:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 0 28px rgba(212, 181, 106, 0.28);
}

.join__icon {
  display: inline-flex;
  color: var(--gold);
  margin-bottom: 0.45rem;
  filter: drop-shadow(0 0 8px rgba(212, 181, 106, 0.35));
}

.join__title {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.join__sub {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.5rem;
  opacity: 0;
  animation: rise 1s ease forwards 0.9s;
}

.value {
  text-align: center;
}

.value__icon {
  color: var(--gold);
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 0 10px rgba(212, 181, 106, 0.25));
}

.value h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.value p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.site-footer {
  width: min(920px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 0 0 2.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--gold-dim);
}

.site-footer p {
  margin: 0.2rem 0;
}

.langs .is-active {
  color: var(--gold);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 1rem 1rem 0;
  }

  .nav {
    justify-content: center;
    gap: 0.85rem 1.1rem;
  }

  .page {
    width: min(100% - 1.5rem, 920px);
    padding-top: 2.4rem;
  }

  .values {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .ornament {
    width: 28px;
  }
}

/* —— VAnonIm chat (NektoMe-style) —— */

.page-vanonim .site-footer {
  padding-top: 1rem;
}

.vanonim {
  width: min(720px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1.75rem 0 2rem;
}

.vanonim__brand {
  text-align: center;
  margin-bottom: 1.25rem;
}

.vanonim__eyebrow {
  margin-bottom: 0.55rem;
  animation: rise 0.8s ease forwards;
}

.vanonim__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: rise 0.85s ease forwards 0.12s;
}

.vanonim__lead {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  opacity: 0;
  animation: rise 0.85s ease forwards 0.22s;
}

.chat {
  display: flex;
  flex-direction: column;
  min-height: min(68vh, 640px);
  border: 1px solid var(--frame);
  background: rgba(8, 5, 16, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: var(--glow);
  opacity: 0;
  animation: rise 0.9s ease forwards 0.32s;
}

.chat__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(212, 181, 106, 0.28);
}

.chat__identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.chat__identity strong {
  display: block;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.chat__status {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42vw;
}

.chat__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7a6b4a;
  box-shadow: 0 0 0 0 rgba(212, 181, 106, 0.4);
  flex-shrink: 0;
}

.chat__dot.is-searching {
  background: var(--gold);
  animation: pulse-dot 1.2s ease-in-out infinite;
}

.chat__dot.is-online {
  background: #6ecf8e;
  box-shadow: 0 0 10px rgba(110, 207, 142, 0.55);
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 181, 106, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(212, 181, 106, 0); }
}

.chat__tg {
  flex-shrink: 0;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--frame);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.chat__tg:hover {
  background: rgba(212, 181, 106, 0.12);
  box-shadow: 0 0 16px rgba(212, 181, 106, 0.22);
  transform: translateY(-1px);
}

.chat__topics {
  padding: 0.85rem 1rem 0.35rem;
}

.chat__label {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.topic {
  appearance: none;
  border: 1px solid rgba(212, 181, 106, 0.35);
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.78rem;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.topic:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.topic.is-active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 181, 106, 0.12);
}

.chat__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.75rem 1rem 0.9rem;
}

.chat__start,
.chat__stop,
.chat__next {
  appearance: none;
  border: 1px solid var(--gold);
  background: rgba(212, 181, 106, 0.14);
  color: var(--gold);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.chat__start:hover,
.chat__next:hover {
  background: rgba(212, 181, 106, 0.22);
  box-shadow: 0 0 18px rgba(212, 181, 106, 0.25);
  transform: translateY(-1px);
}

.chat__stop {
  border-color: rgba(220, 120, 120, 0.7);
  color: #e8a0a0;
  background: rgba(180, 60, 60, 0.12);
}

.chat__stop:hover {
  background: rgba(180, 60, 60, 0.2);
}

.is-hidden {
  display: none !important;
}

.chat__log {
  flex: 1;
  min-height: 220px;
  max-height: 360px;
  overflow-y: auto;
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(212, 181, 106, 0.2);
  border-bottom: 1px solid rgba(212, 181, 106, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  scroll-behavior: smooth;
}

.msg {
  max-width: 82%;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  line-height: 1.45;
  word-wrap: break-word;
  animation: msg-in 0.28s ease;
}

@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.msg--system {
  align-self: center;
  max-width: 94%;
  text-align: center;
  color: var(--gold-dim);
  font-size: 0.8rem;
  padding: 0.35rem 0.5rem;
  background: transparent;
}

.msg--partner {
  align-self: flex-start;
  background: rgba(90, 50, 120, 0.45);
  border: 1px solid rgba(212, 181, 106, 0.22);
  color: var(--text);
  border-radius: 2px 14px 14px 14px;
}

.msg--me {
  align-self: flex-end;
  background: rgba(212, 181, 106, 0.18);
  border: 1px solid rgba(212, 181, 106, 0.45);
  color: var(--text);
  border-radius: 14px 2px 14px 14px;
}

.chat__composer {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 0.85rem;
}

.chat__input {
  flex: 1;
  min-width: 0;
  appearance: none;
  border: 1px solid rgba(212, 181, 106, 0.35);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.chat__input:focus {
  border-color: var(--gold);
}

.chat__input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.chat__input::placeholder {
  color: rgba(243, 233, 210, 0.4);
}

.chat__send {
  appearance: none;
  width: 46px;
  border: 1px solid var(--frame);
  background: rgba(212, 181, 106, 0.14);
  color: var(--gold);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.chat__send:hover:not(:disabled) {
  background: rgba(212, 181, 106, 0.25);
}

.chat__send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.vanonim__note {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.vanonim__note a {
  color: var(--gold);
  border-bottom: 1px solid rgba(212, 181, 106, 0.45);
}

@media (max-width: 640px) {
  .chat__bar {
    flex-direction: column;
    align-items: stretch;
  }

  .chat__tg {
    text-align: center;
  }

  .chat__status {
    max-width: none;
    white-space: normal;
  }

  .chat__log {
    max-height: 42vh;
  }
}

/* —— Community post —— */

.page--community {
  width: min(720px, calc(100% - 2.5rem));
}

.hero--compact {
  margin-bottom: 1.5rem;
}

.hero--compact .hero__lead {
  margin-bottom: 0;
}

.post {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.35s;
}

.post__media {
  display: block;
  border: 1px solid var(--frame);
  box-shadow: var(--glow);
  overflow: hidden;
  line-height: 0;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.post__media:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(212, 181, 106, 0.28);
}

.post__media img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.post__body {
  margin: 0;
  text-align: left;
}

.post__body p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: clamp(0.92rem, 1.7vw, 1.02rem);
}

.post__body p:last-child {
  margin-bottom: 0;
}

.post .join {
  margin-bottom: 0;
}

/* —— Vanonim under Velvet Space —— */

.page--vanonim {
  width: min(640px, calc(100% - 2.5rem));
}

.vs-panel {
  border: 1px solid var(--frame);
  border-radius: 0;
  background: rgba(8, 10, 16, 0.62);
  backdrop-filter: blur(8px);
  box-shadow: none;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.3s;
  overflow: hidden;
}

.vs-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid rgba(215, 196, 163, 0.2);
}

.vs-panel__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--text);
}

.vs-panel__head span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.vs-panel__body {
  padding: 1.15rem 1.15rem 1.4rem;
}

.vs-row {
  margin-bottom: 1rem;
}

.vs-label {
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.vs-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.vs-btns--stack {
  flex-direction: column;
}

.vs-btn {
  appearance: none;
  border: 1px solid rgba(215, 196, 163, 0.28);
  border-radius: 4px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.84rem;
  padding: 0.5rem 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.vs-btns--stack .vs-btn {
  width: 100%;
  text-align: center;
  border-radius: 4px;
}

.vs-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.vs-btn.is-on {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--gold);
}

.vs-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.vs-btns.is-locked .vs-btn:disabled:hover {
  border-color: rgba(212, 181, 106, 0.35);
  color: var(--text-muted);
}

#agesBlock.is-locked {
  opacity: 0.45;
  pointer-events: none;
}

/* —— Single-screen app (no page scroll) —— */

html.app-lock,
html.app-lock body.app-screen {
  height: 100%;
  overflow: hidden;
}

body.app-screen {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.app-header {
  flex: 0 0 auto;
  padding: 0.55rem 1rem 0;
}

.app-header .nav {
  gap: 0.85rem 1.1rem;
  justify-content: center;
}

.app-main {
  flex: 1 1 auto;
  min-height: 0;
  width: min(560px, calc(100% - 1.25rem));
  margin: 0 auto;
  padding: 0.35rem 0 0.6rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.app-hero {
  flex: 0 0 auto;
  margin: 0 0 0.35rem;
  text-align: center;
}

.app-hero .hero__title {
  font-size: clamp(1.15rem, 3.5vw, 1.55rem);
  letter-spacing: 0.14em;
  margin: 0;
  animation: none;
  opacity: 1;
}

.app-hero .hero__lead {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  animation: none;
  opacity: 1;
}

.app-panel {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: none;
  opacity: 1;
  margin: 0;
}

.app-panel.is-hidden {
  display: none !important;
}

.app-panel .vs-panel__head {
  flex: 0 0 auto;
  padding: 0.55rem 0.85rem;
}

.app-panel .vs-panel__head h2 {
  font-size: 0.95rem;
}

.app-panel__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding: 0.55rem 0.85rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.app-panel .vs-row {
  margin-bottom: 0;
}

.app-panel .vs-row--inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.app-panel .vs-hint {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.3;
}

.app-panel .vs-label {
  margin-bottom: 0.25rem;
  font-size: 0.65rem;
}

.app-panel .vs-btn {
  font-size: 0.75rem;
  padding: 0.28rem 0.65rem;
}

.app-panel .vs-btns {
  gap: 0.3rem;
}

.app-panel .vs-btns--stack .vs-btn {
  border-radius: 10px;
  padding: 0.28rem 0.5rem;
  text-align: center;
}

.app-panel .vs-ages {
  gap: 0.55rem;
  margin-bottom: 0.15rem;
  flex: 1 1 auto;
  min-height: 0;
}

.app-panel .vs-age {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.app-panel .vs-age .vs-btns--stack {
  flex: 1 1 auto;
  justify-content: stretch;
}

.app-panel .vs-toggle {
  padding: 0.2rem 0.55rem 0.2rem 0.2rem;
  font-size: 0.75rem;
}

.app-panel .vs-toggle__knob {
  width: 22px;
  height: 22px;
}

.app-panel .vs-start {
  margin-top: auto;
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  flex: 0 0 auto;
}

.app-panel .vs-note {
  margin: 0.15rem 0 0;
  font-size: 0.68rem;
  flex: 0 0 auto;
}

.vs-captcha-count {
  margin-top: 0.75rem !important;
  color: var(--gold) !important;
}

.vs-captcha-input {
  width: 100%;
  margin: 0.25rem 0;
  flex: 0 0 auto;
}

.app-panel .vs-genders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.app-panel .vs-rules {
  margin-bottom: 0.35rem;
  padding: 0.7rem 0.85rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.app-panel .vs-rules ul {
  margin: 0.25rem 0 0.45rem;
}

.app-panel .vs-rules li,
.app-panel .vs-rules p {
  font-size: 0.78rem;
  margin-bottom: 0.25rem;
}

.vs-btn--wide {
  width: 100%;
  border-radius: 4px;
  margin-top: 0.35rem;
  text-align: center;
  flex: 0 0 auto;
}

.app-chat {
  display: flex;
  flex-direction: column;
}

.app-chat .vs-chat__log {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  padding: 0.55rem 0.75rem;
}

.app-chat .vs-chat__composer,
.app-chat .vs-chat__actions {
  flex: 0 0 auto;
  padding: 0.45rem 0.75rem;
}

.app-chat .vs-chat__actions {
  padding-bottom: 0.65rem;
}

@media (max-height: 720px) {
  .app-hero .hero__lead {
    display: none;
  }

  .app-panel .vs-hint {
    display: none;
  }

  .app-panel .vs-panel__head span {
    display: none;
  }
}

@media (max-width: 640px) {
  .app-panel .vs-genders {
    grid-template-columns: 1fr;
  }

  .app-panel .vs-ages {
    grid-template-columns: 1fr 1fr;
  }
}


.vs-ages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.vs-start {
  appearance: none;
  display: block;
  width: 100%;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: var(--gold);
  color: var(--ink);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95rem 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.vs-start:hover {
  background: var(--gold-soft);
  box-shadow: none;
  transform: translateY(-2px);
}

.vs-note {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.vs-rules {
  text-align: left;
  margin-bottom: 1.25rem;
}

.vs-rules ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.vs-rules li {
  margin-bottom: 0.35rem;
}


.vs-toggle-wrap {
  display: flex;
}

.vs-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(212, 181, 106, 0.35);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-muted);
  font: inherit;
  font-size: 0.84rem;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  cursor: pointer;
}

.vs-toggle__knob {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(212, 181, 106, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.vs-toggle.is-on {
  border-color: var(--gold);
  color: var(--gold);
}

.vs-toggle.is-on .vs-toggle__knob {
  background: var(--gold);
  transform: translateX(4px);
}

.vs-chat__log {
  min-height: 240px;
  max-height: 42vh;
  overflow-y: auto;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(212, 181, 106, 0.2);
}

.vs-msg {
  max-width: 85%;
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
  line-height: 1.45;
  word-wrap: break-word;
  border-radius: 14px;
}

.vs-msg--system {
  align-self: center;
  max-width: 95%;
  text-align: center;
  color: var(--gold-dim);
  font-size: 0.8rem;
  background: transparent;
  border-radius: 0;
  padding: 0.25rem;
}

.vs-msg--partner {
  align-self: flex-start;
  background: rgba(142, 182, 184, 0.14);
  border: 1px solid rgba(142, 182, 184, 0.28);
}

.vs-msg--me {
  align-self: flex-end;
  background: rgba(215, 196, 163, 0.16);
  border: 1px solid rgba(215, 196, 163, 0.4);
}

.vs-chat__composer {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
}

.vs-chat__input {
  flex: 1;
  min-width: 0;
  appearance: none;
  border: 1px solid rgba(215, 196, 163, 0.28);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font: inherit;
  padding: 0.7rem 1rem;
  outline: none;
}

.vs-chat__input:focus {
  border-color: var(--gold);
}

.vs-chat__input:disabled {
  opacity: 0.45;
}

.vs-chat__send {
  appearance: none;
  width: 44px;
  border: 1px solid var(--frame);
  border-radius: 4px;
  background: rgba(215, 196, 163, 0.14);
  color: var(--gold);
  cursor: pointer;
}

.vs-chat__send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.vs-chat__actions {
  display: flex;
  gap: 0.55rem;
  padding: 0 1rem 1rem;
}

.is-hidden {
  display: none !important;
}

.vs-end-msg {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.45;
}

.vs-end-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: stretch;
}

.vs-report-icon {
  align-self: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 110, 0.45);
  background: rgba(20, 16, 12, 0.55);
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.vs-report-icon:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 110, 0.12);
}

.vs-btn.is-blocked,
.vs-btn.is-blocked:disabled {
  opacity: 0.28;
  cursor: not-allowed;
  text-decoration: line-through;
}

.vs-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(6, 4, 3, 0.72);
}

.vs-modal__card {
  width: min(100%, 22rem);
  padding: 1.1rem 1rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(212, 175, 110, 0.35);
  background: linear-gradient(160deg, rgba(28, 22, 16, 0.96), rgba(14, 11, 8, 0.98));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.vs-modal__card h3 {
  margin: 0 0 0.35rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.45rem;
}

.vs-modal__card .vs-btns {
  margin: 0.75rem 0 0.85rem;
}

.vs-rules p {
  margin: 0 0 0.7rem;
}

.vs-rules p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .vs-ages {
    grid-template-columns: 1fr;
  }

  .vs-panel__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* —— 2026 app chrome —— */

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(560px, 100%);
  margin: 0 auto;
}

.app-logo {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.app-header .nav {
  justify-content: flex-end;
}

.app-hero .hero__title {
  font-family: var(--font-display);
  font-weight: 750;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--text);
  text-shadow: none;
  font-size: clamp(1.55rem, 4.5vw, 2rem);
}

.app-hero .hero__lead {
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.app-panel .vs-btns--stack .vs-btn {
  border-radius: 4px;
}

.vs-modal__card {
  border-radius: 0;
  border: 1px solid var(--frame);
  background: rgba(8, 10, 16, 0.96);
  box-shadow: none;
}

.vs-modal__card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.vs-note.is-ok {
  color: var(--accent-2);
}

.nav__link--cta {
  color: var(--gold);
}

.app-footer {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 calc(1.75rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
  color: var(--text-muted, #8b8796);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.55;
}

.app-footer p {
  margin: 0.25rem 0;
}

.app-footer a {
  color: var(--gold, #d7c4a3);
  text-decoration: none;
}

.app-footer a:hover {
  text-decoration: underline;
}

.app-footer__note {
  opacity: 0.75;
  font-size: 0.68rem;
}

.app-footer__legal {
  margin-top: 0.55rem !important;
}

.app-footer__legal a {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  opacity: 0.8;
}



