/* ---------- Fonts ---------- */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Archivo";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/archivo-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/archivo-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/hanken-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/hanken-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */

:root {
  color-scheme: dark;
  --bg: #08080a;
  --surface: #101014;
  --surface-raised: #16161b;
  --white: #f7f5f4;
  --pink: #ff2f74;
  --pink-hover: #ff5a90;
  --pink-deep: #d71458;
  --online: #b9f56b;
  --looking-sex: #ff5c8f;
  --looking-sex-soft: rgba(255, 92, 143, 0.13);
  --looking-sex-line: rgba(255, 92, 143, 0.46);
  --looking-flirt: #ffb26e;
  --looking-flirt-soft: rgba(255, 178, 110, 0.12);
  --looking-flirt-line: rgba(255, 178, 110, 0.42);
  --looking-relationship: #c3a6ff;
  --looking-relationship-soft: rgba(195, 166, 255, 0.12);
  --looking-relationship-line: rgba(195, 166, 255, 0.42);
  --looking-chat: #63dbe4;
  --looking-chat-soft: rgba(99, 219, 228, 0.11);
  --looking-chat-line: rgba(99, 219, 228, 0.4);
  --muted: #aaa5ae;
  --dim: #8a8590;
  --line: #26252c;
  --line-strong: #3a3942;
  --field: #121217;
  --container: 1240px;
  --header-h: 84px;
  --radius: 2px;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--pink);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 12px 18px;
  background: var(--pink);
  color: var(--bg);
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Type and links ---------- */

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  color: var(--white);
}

h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.45rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--pink);
  color: var(--pink);
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 160ms ease, border-color 160ms ease;
}

.text-link:hover {
  color: var(--white);
  border-color: var(--white);
}

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid var(--pink);
  border-radius: var(--radius);
  background: var(--pink);
  color: var(--bg);
  font-family: "Archivo", sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
  background: var(--pink-hover);
  border-color: var(--pink-hover);
}

.button--header {
  min-height: 40px;
  padding: 0 18px;
  font-size: 10.5px;
}

.button--block {
  width: 100%;
}

.button--dark {
  background: var(--bg);
  border-color: var(--bg);
  color: var(--white);
}

.button--dark:hover {
  background: #1c1b21;
  border-color: #1c1b21;
}

.button--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--white);
}

.button--ghost:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--bg);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 10, 0.94);
  backdrop-filter: blur(14px);
}

.header__inner {
  display: flex;
  height: var(--header-h);
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  flex-shrink: 0;
  align-items: center;
  gap: 7px;
}

.brand__mark {
  width: 20px;
  height: 20px;
  fill: var(--pink);
  stroke: none;
}

.brand__name {
  overflow: hidden;
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
  white-space: nowrap;
}

.brand__tld {
  margin-left: 1px;
  color: var(--pink);
  font-size: 0.56em;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.age-badge {
  display: inline-flex;
  height: 24px;
  flex-shrink: 0;
  align-items: center;
  padding: 0 7px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  font-family: "Archivo", sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  gap: 22px;
  margin-left: 9px;
}

.main-nav a {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  transition: color 160ms ease;
}

.main-nav a:hover {
  color: var(--white);
}

.nav-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 47, 116, 0.16);
  vertical-align: middle;
  animation: nav-dot-pulse 2.8s ease-in-out infinite;
}

@keyframes nav-dot-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(255, 47, 116, 0.16);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(255, 47, 116, 0.04);
  }
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.header__credits {
  display: inline-flex;
  height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid rgba(255, 47, 116, 0.45);
  border-radius: var(--radius);
  background: rgba(255, 47, 116, 0.09);
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.header__credits .icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--pink);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header__credits-count {
  min-width: 1ch;
  text-align: center;
}

.header__credits:hover {
  border-color: var(--pink);
  background: rgba(255, 47, 116, 0.16);
  color: var(--white);
}

.header__credits.is-empty {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--muted);
}

.header__credits.is-empty .icon {
  stroke: var(--muted);
}

.header__credits.is-empty:hover {
  border-color: var(--white);
  color: var(--white);
}

.header__credits.is-credited {
  animation: credit-pop 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.header__login {
  color: var(--muted);
  font-size: 13px;
  transition: color 160ms ease;
}

.header__login:hover {
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-left: auto;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.nav-toggle:hover {
  border-color: var(--white);
}

.nav-toggle .icon {
  grid-area: 1 / 1;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.nav-toggle__close {
  display: none;
}

.nav-toggle[aria-expanded="true"] {
  border-color: rgba(255, 47, 116, 0.5);
  background: rgba(255, 47, 116, 0.08);
  color: var(--pink);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: block;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  max-height: calc(100svh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
}

html.nav-open .site-header {
  z-index: 220;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav:not([hidden]) {
  animation: mobile-nav-in 180ms ease-out;
}

@keyframes mobile-nav-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav__inner {
  display: grid;
  gap: 22px;
  padding-block: clamp(18px, 4vw, 26px) 26px;
}

.mobile-nav__links {
  display: grid;
}

.mobile-nav__link {
  display: grid;
  min-height: 58px;
  grid-template-columns: 36px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--white);
  transition: color 160ms ease;
}

.mobile-nav__link:first-child {
  border-top: 1px solid var(--line);
}

.mobile-nav__link:hover {
  color: var(--white);
}

.mobile-nav__icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.mobile-nav__icon .icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-nav__label {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.mobile-nav__label .nav-dot {
  margin-left: 0;
}

.mobile-nav__count {
  display: inline-grid;
  min-width: 18px;
  height: 18px;
  flex-shrink: 0;
  place-items: center;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--pink);
  color: var(--bg);
  font-family: "Archivo", sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.mobile-nav__arrow {
  width: 14px;
  height: 14px;
  justify-self: end;
  fill: none;
  stroke: var(--dim);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease, stroke 160ms ease;
}

.mobile-nav__link:hover .mobile-nav__icon {
  border-color: var(--line-strong);
  color: var(--white);
}

.mobile-nav__link:hover .mobile-nav__arrow {
  transform: translateX(2px);
  stroke: var(--white);
}

.mobile-nav__link[aria-current="page"] {
  color: var(--pink);
}

.mobile-nav__link[aria-current="page"] .mobile-nav__icon {
  border-color: rgba(255, 47, 116, 0.5);
  background: rgba(255, 47, 116, 0.08);
  color: var(--pink);
}

.mobile-nav__link[aria-current="page"] .mobile-nav__arrow {
  stroke: var(--pink);
}

.mobile-nav__footer {
  display: grid;
  gap: 16px;
}

.mobile-nav__actions {
  display: grid;
  gap: 10px;
}

.mobile-nav__credits {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 47, 116, 0.38);
  border-radius: var(--radius);
  background: rgba(255, 47, 116, 0.07);
  color: var(--white);
  transition: border-color 160ms ease, background 160ms ease;
}

.mobile-nav__credits:hover {
  border-color: var(--pink);
  background: rgba(255, 47, 116, 0.12);
}

.mobile-nav__credits-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 47, 116, 0.4);
  border-radius: var(--radius);
  background: rgba(255, 47, 116, 0.08);
  color: var(--pink);
}

.mobile-nav__credits-icon .icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-nav__credits-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.mobile-nav__credits-copy strong {
  font-family: "Archivo", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.mobile-nav__credits-copy small {
  color: var(--muted);
  font-size: 11.5px;
}

.mobile-nav__credits .mobile-nav__arrow {
  transition: transform 160ms ease, stroke 160ms ease;
}

.mobile-nav__credits:hover .mobile-nav__arrow {
  transform: translateX(2px);
  stroke: var(--white);
}

.mobile-nav__actions .button {
  width: 100%;
  min-height: 46px;
}

.lang-switch.lang-switch--mobile {
  display: flex;
  width: 100%;
  padding: 3px;
  border-color: var(--line-strong);
}

.lang-switch.lang-switch--mobile .lang-switch__item {
  width: auto;
  flex: 1;
  height: 36px;
  font-size: 10.5px;
}

@media (min-width: 981px) {
  .mobile-nav {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav:not([hidden]) {
    animation: none;
  }

  .mobile-nav__arrow,
  .mobile-nav__icon {
    transition: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  border-bottom: 1px solid var(--line);
}

.hero__grid {
  display: grid;
  min-height: calc(100svh - var(--header-h));
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  gap: clamp(36px, 5vw, 72px);
  align-content: center;
  align-items: start;
  padding-block: 36px 44px;
}

.hero__media {
  position: relative;
  height: calc(100svh - var(--header-h) - 80px);
  min-height: 620px;
  max-height: 760px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.hero__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.hero__media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.02) 25%, rgba(8, 8, 10, 0.4) 60%, rgba(8, 8, 10, 0.95) 100%);
  content: "";
}

.hero__tag {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(247, 245, 244, 0.18);
  border-radius: var(--radius);
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(9px);
}

.hero__tag > span {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hero__tag strong {
  font-family: "Archivo", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.hero__tag > span > span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3;
}

.hero__tag > span > .hero__tag-note {
  margin-top: 1px;
  color: rgba(247, 245, 244, 0.52);
  font-size: 9px;
  letter-spacing: 0.02em;
}

.hero__overlay {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  max-width: 700px;
  padding: clamp(24px, 4vw, 42px);
}

.hero__eyebrow {
  margin: 0 0 14px;
  color: var(--pink);
  font-family: "Archivo", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.9rem, 5.4vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.91;
}

.hero__lead {
  max-width: 43ch;
  margin: 20px 0 0;
  color: rgba(247, 245, 244, 0.78);
  font-size: 16px;
  line-height: 1.55;
}

.hero__browse {
  display: inline-flex;
  margin-top: 24px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--pink);
  color: var(--pink);
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  font-weight: 600;
  transition: color 160ms ease, border-color 160ms ease;
}

.hero__browse:hover {
  color: var(--white);
  border-color: var(--white);
}

.hero__live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 40ch;
  margin: 18px 0 0;
  color: rgba(247, 245, 244, 0.72);
  font-family: "Archivo", sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
}

.hero__live .live__dot {
  width: 7px;
  height: 7px;
}

.hero__panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* ---------- Auth card ---------- */

.auth-card {
  position: relative;
  width: 100%;
  max-width: 430px;
  border-top: 2px solid var(--pink);
}

.auth-target {
  display: block;
  height: 0;
}

.auth-switch {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.auth-tab {
  margin-bottom: -1px;
  padding: 13px 0 11px;
  border-bottom: 2px solid transparent;
  color: var(--dim);
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 160ms ease, border-color 160ms ease;
}

.auth-tab:hover {
  color: var(--white);
}

.auth-tab--register {
  border-color: var(--pink);
  color: var(--white);
}

.auth-card:has(#prihlasenie:target) .auth-tab--register {
  border-color: transparent;
  color: var(--dim);
}

.auth-card:has(#prihlasenie:target) .auth-tab--login {
  border-color: var(--pink);
  color: var(--white);
}

.auth-panel {
  padding-top: 25px;
}

.auth-panel--login {
  display: none;
}

.auth-card:has(#prihlasenie:target) .auth-panel--register {
  display: none;
}

.auth-card:has(#prihlasenie:target) .auth-panel--login {
  display: block;
}

.auth-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 2.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.auth-panel__lead {
  max-width: 37ch;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 23px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--field);
  color: var(--white);
  font-size: 14px;
  transition: border-color 160ms ease, background 160ms ease;
}

.field input {
  height: 48px;
  padding: 0 13px;
}

.field textarea {
  min-height: 168px;
  padding: 13px;
  line-height: 1.6;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--dim);
}

.field input:hover,
.field textarea:hover {
  border-color: var(--line-strong);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--pink);
  background: #17151a;
  outline: none;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

.field__hint {
  margin: 0;
  color: var(--dim);
  font-size: 11px;
  line-height: 1.5;
}

.choice-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-field legend {
  margin: 0 0 7px;
  padding: 0;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.field .choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--field);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.field .choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.field .choice:hover {
  border-color: var(--line-strong);
  color: var(--white);
}

.field .choice:has(input:checked) {
  border-color: var(--pink);
  background: rgba(255, 47, 116, 0.12);
  color: var(--white);
}

.field .choice:has(input:focus-visible) {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  cursor: pointer;
}

.check input {
  width: 15px;
  height: 15px;
  flex: none;
  margin: 1px 0 0;
  accent-color: var(--pink);
  cursor: pointer;
}

.check a {
  border-bottom: 1px solid var(--line-strong);
  color: var(--white);
  transition: color 160ms ease, border-color 160ms ease;
}

.check a:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.auth-form__switch {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.auth-form__switch a {
  border-bottom: 1px solid var(--line-strong);
  color: var(--white);
  transition: color 160ms ease, border-color 160ms ease;
}

.auth-form__switch a:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.auth-demo {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 22px 0 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 11px;
  line-height: 1.45;
}

.auth-demo .icon {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Live status dot ---------- */

.live__dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--dim);
}

.live__dot--online {
  background: var(--online);
  animation: live-online-pulse 2.6s ease-out infinite;
}

.live__dot--recent {
  background: var(--online);
  box-shadow: 0 0 0 4px rgba(185, 245, 107, 0.11);
}

.live__dot--new {
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 47, 116, 0.13);
}

.live__dot--quiet {
  background: #5d5d66;
}

@keyframes live-online-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(185, 245, 107, 0.55);
  }

  55% {
    box-shadow: 0 0 0 8px rgba(185, 245, 107, 0);
  }
}

/* ---------- Locked profiles ---------- */

.locks {
  padding-block: clamp(64px, 8vw, 100px);
  border-bottom: 1px solid var(--line);
}

.locks__head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.7fr);
  gap: 40px;
  align-items: end;
}

.locks__intro {
  max-width: 47ch;
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.locks__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 36px;
}

.lock-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.lock-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(14px) saturate(0.8) brightness(0.66);
  transform: scale(1.08);
  transition: filter 350ms ease, transform 550ms ease;
}

.lock-card__veil {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.12), rgba(8, 8, 10, 0.5));
  color: var(--white);
}

.lock-card__icon {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: color 160ms ease;
}

.lock-card__veil > span {
  font-family: "Archivo", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.lock-card__meta {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 30px 14px 12px;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0), rgba(8, 8, 10, 0.9));
  pointer-events: none;
}

.lock-card__meta strong {
  font-family: "Archivo", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.lock-card__meta span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.lock-card__status {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid rgba(247, 245, 244, 0.16);
  border-radius: var(--radius);
  background: rgba(8, 8, 10, 0.72);
  color: rgba(247, 245, 244, 0.82);
  font-family: "Archivo", sans-serif;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.lock-card__status.is-online {
  border-color: rgba(185, 245, 107, 0.35);
  color: var(--online);
}

.lock-card__status .presence-dot--small {
  width: 5px;
  height: 5px;
  box-shadow: none;
}

.lock-card:hover {
  border-color: var(--pink);
}

.lock-card:hover img {
  filter: blur(10px) saturate(0.9) brightness(0.74);
}

.lock-card:hover .lock-card__icon {
  color: var(--pink);
}

.lock-card:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.locks__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}

.locks__note {
  max-width: 80ch;
  margin: 15px 0 0;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.5;
}

/* ---------- How it works ---------- */

.how {
  padding-block: clamp(64px, 8vw, 100px);
  border-bottom: 1px solid var(--line);
}

.how__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
}

.how__head p {
  max-width: 39ch;
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.step {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.step__num {
  display: block;
  color: var(--pink);
  font-family: "Archivo", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.step h3 {
  margin: 14px 0 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.how > .container > .text-link {
  margin-top: 30px;
}

/* ---------- Editorial SEO content ---------- */

.guide {
  padding-block: clamp(64px, 8vw, 100px);
  border-bottom: 1px solid var(--line);
}

.guide__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.guide__aside {
  position: sticky;
  top: calc(var(--header-h) + 30px);
}

.guide h2 {
  max-width: 12ch;
}

.guide__lede {
  max-width: 36ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.guide__aside .text-link {
  margin-top: 23px;
}

.guide__body {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.guide__body p {
  margin: 0 0 20px;
}

.guide__body p:first-child {
  color: var(--white);
  font-size: 17px;
  line-height: 1.65;
}

.guide__body h3 {
  margin: 34px 0 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.guide__body a {
  border-bottom: 1px solid var(--pink);
  color: var(--white);
  transition: color 160ms ease;
}

.guide__body a:hover {
  color: var(--pink);
}

.guide__body .text-link {
  display: inline-flex;
  margin-top: 4px;
  color: var(--pink);
}

.guide__body .text-link:hover {
  color: var(--white);
}

/* ---------- FAQ ---------- */

.faq {
  padding-block: clamp(64px, 8vw, 100px);
  border-bottom: 1px solid var(--line);
}

.faq__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  margin-top: 36px;
}

.faq__item {
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
}

.faq__item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.faq__item p {
  max-width: 50ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- Final CTA ---------- */

.final-cta {
  padding-block: clamp(56px, 8vw, 100px);
  background: var(--pink);
  color: var(--bg);
}

.final-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: center;
}

.final-cta h2 {
  margin: 0;
  color: var(--bg);
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.final-cta__body {
  max-width: 360px;
  justify-self: end;
}

.final-cta__body p {
  margin: 0 0 20px;
  color: rgba(8, 8, 10, 0.8);
  font-size: 15px;
  line-height: 1.55;
}

.final-cta__body .button {
  width: 100%;
}

.final-cta__note {
  margin: 18px 0 0 !important;
  color: rgba(8, 8, 10, 0.7) !important;
  font-size: 12px !important;
}

.final-cta__note a {
  border-bottom: 1px solid rgba(8, 8, 10, 0.55);
  color: var(--bg);
}

.final-cta__note a:hover {
  border-color: var(--bg);
}

/* ---------- Footer ---------- */

.footer {
  padding-block: 48px 28px;
  background: var(--bg);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: start;
}

.footer__brand .brand__name {
  font-size: 21px;
}

.footer__brand p {
  max-width: 36ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer__nav {
  display: flex;
  max-width: 640px;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.footer__nav a {
  color: var(--muted);
  font-size: 12px;
  transition: color 160ms ease;
}

.footer__nav a:hover {
  color: var(--white);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer__legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.footer__legal-nav a {
  color: var(--muted);
  font-size: 12px;
  transition: color 160ms ease;
}

.footer__legal-nav a:hover,
.footer__legal-nav a[aria-current="page"] {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 40px;
  margin-top: 14px;
  color: var(--dim);
  font-size: 11px;
  line-height: 1.5;
}

.footer__bottom p {
  max-width: 82ch;
  margin: 0;
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  white-space: nowrap;
}

/* ---------- Anchors ---------- */

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .header__inner {
    gap: 14px;
  }

  .main-nav {
    gap: 16px;
    margin-left: 2px;
  }

  .header__actions {
    gap: 14px;
  }

  .hero__grid {
    gap: 36px;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  }
}

@media (max-width: 1120px) and (min-width: 981px) {
  .header__inner {
    gap: 14px;
  }

  .main-nav {
    gap: 16px;
    margin-left: 4px;
  }

  .main-nav__profile {
    display: none;
  }

  .header__actions {
    gap: 12px;
  }

  .header__credits {
    padding: 0 9px;
  }
}

@media (max-width: 980px) {
  .main-nav,
  .header__login,
  .header__actions {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
  }
}

@media (max-width: 880px) {
  .hero__grid {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-block: 0;
  }

  .hero__media {
    width: 100vw;
    height: clamp(420px, 58vw, 560px);
    min-height: 0;
    max-height: none;
    margin-inline: calc(50% - 50vw);
    border-radius: 0;
  }

  .hero__media > img {
    object-position: 50% 20%;
  }

  .hero__overlay {
    max-width: none;
    padding: 24px 20px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 7vw, 4rem);
  }

  .hero__lead,
  .hero__browse {
    display: none;
  }

  .hero__panel {
    justify-content: center;
    padding-block: 34px 48px;
  }

  .auth-card {
    max-width: 560px;
    margin-inline: auto;
  }

  .locks__head,
  .how__head {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .locks__intro,
  .how__head p {
    justify-self: start;
    max-width: 54ch;
  }

  .guide__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .guide__aside {
    position: static;
  }

  .guide h2 {
    max-width: 15ch;
  }

  .guide__body {
    max-width: 65ch;
  }

  .final-cta__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }

  .final-cta__body {
    max-width: 440px;
    justify-self: start;
  }

  .footer__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .footer__nav {
    max-width: none;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .locks__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plans,
  .steps,
  .faq__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps {
    gap: 28px;
    margin-top: 32px;
  }

  .plans {
    gap: 10px;
  }

  .faq__grid {
    gap: 0;
    margin-top: 28px;
  }

  .footer__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer__meta {
    white-space: normal;
  }
}

@media (max-width: 680px) {
  :root {
    --header-h: 68px;
  }

  .header__inner {
    gap: 10px;
  }

  .brand {
    gap: 6px;
  }

  .brand__mark {
    width: 17px;
    height: 17px;
  }

  .brand__name {
    font-size: 20px;
  }

  .age-badge {
    height: 22px;
    padding: 0 6px;
    font-size: 9px;
  }

  .button--header {
    min-height: 38px;
    padding: 0 12px;
    font-size: 9.5px;
  }

  .hero__media {
    height: clamp(230px, 60vw, 340px);
  }

  .hero__overlay {
    padding: 18px 20px 22px;
  }

  .hero__eyebrow {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10vw, 3rem);
    line-height: 0.94;
  }

  .hero__live {
    margin-top: 13px;
    font-size: 11.5px;
  }

  .hero__tag {
    top: 12px;
    left: 12px;
    gap: 8px;
    padding: 7px 9px;
  }

  .hero__tag strong {
    font-size: 11px;
  }

  .hero__tag > span > span {
    font-size: 9.5px;
  }

  .hero__panel {
    padding-block: 26px 40px;
  }

  .auth-switch {
    gap: 22px;
  }

  .auth-tab {
    padding: 10px 0 9px;
    font-size: 12px;
  }

  .auth-panel {
    padding-top: 20px;
  }

  .auth-panel h2 {
    font-size: 2.1rem;
  }

  .auth-form {
    gap: 13px;
    margin-top: 18px;
  }

  .field input {
    height: 46px;
  }

  .auth-demo {
    margin-top: 17px;
    padding-top: 13px;
  }

  .locks,
  .how,
  .guide,
  .faq {
    padding-block: 64px;
  }

  .locks__grid {
    gap: 7px;
    margin-top: 28px;
  }

  .locks__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
  }

  .locks__actions .button {
    width: 100%;
  }

  .locks__note {
    margin-top: 14px;
  }

  .final-cta h2 {
    font-size: clamp(2.35rem, 10vw, 3.2rem);
  }

  .footer {
    padding-block: 38px 24px;
  }

  .footer__bottom {
    margin-top: 24px;
  }
}

@media (max-width: 380px) {
  .age-badge {
    display: none;
  }

  .brand__name {
    font-size: 19px;
  }

  .brand__mark {
    width: 16px;
    height: 16px;
  }

  .button--header {
    min-height: 36px;
    padding: 0 10px;
    font-size: 9px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .locks__grid {
    gap: 5px;
  }

  .auth-switch {
    gap: 18px;
  }

  .footer__nav {
    gap: 9px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Legal pages ---------- */

.legal-page {
  --legal-measure: 646px;
  padding-block: 28px clamp(64px, 8vw, 100px);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.4;
}

.breadcrumbs a {
  color: var(--muted);
  transition: color 160ms ease;
}

.breadcrumbs a:hover {
  color: var(--white);
}

.breadcrumbs span[aria-hidden] {
  color: var(--line-strong);
}

.legal-hero {
  padding-block: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 42px);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.legal-lede {
  max-width: 62ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.legal-updated {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
  color: var(--dim);
  font-size: 12px;
}

.legal-updated::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  content: "";
}

.legal-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr) 284px;
  gap: clamp(32px, 4vw, 48px);
  align-items: start;
  margin-top: clamp(36px, 5vw, 56px);
}

.legal-aside,
.legal-rail {
  position: sticky;
  top: calc(var(--header-h) + 34px);
}

.legal-toc {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.legal-toc__title,
.legal-card__title {
  margin: 0 0 10px;
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.legal-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.legal-toc li {
  border-bottom: 1px solid var(--line);
  counter-increment: toc;
}

.legal-toc li a {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
  transition: color 160ms ease;
}

.legal-toc li a::before {
  flex: 0 0 auto;
  color: var(--pink);
  font-family: "Archivo", sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.7;
  content: counter(toc, decimal-leading-zero);
}

.legal-toc li a:hover {
  color: var(--white);
}

.legal-card {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.legal-card + .legal-card {
  margin-top: 18px;
}

.legal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.legal-card a:not(.button) {
  color: var(--white);
  border-bottom: 1px solid var(--pink);
}

.legal-summary ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-summary li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 15px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.legal-summary li:last-child {
  margin-bottom: 0;
}

.legal-summary li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
  content: "";
}

.legal-related {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.legal-related__title {
  margin: 0 0 6px;
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.legal-related a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
  transition: color 160ms ease;
}

.legal-related a:hover {
  color: var(--white);
}

.legal-body {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  counter-reset: section;
}

.legal-notice {
  margin: 0 0 40px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--pink);
  background: var(--surface);
  color: var(--dim);
  font-size: 12.5px;
  line-height: 1.6;
}

.legal-notice strong {
  color: var(--white);
  font-weight: 600;
}

.legal-body section {
  counter-increment: section;
}

.legal-body section + section {
  margin-top: 42px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.legal-body h2 {
  display: flex;
  gap: 14px;
  margin: 0 0 14px;
  color: var(--white);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.legal-body h2::before {
  flex: 0 0 auto;
  color: var(--pink);
  font-family: "Archivo", sans-serif;
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
  content: counter(section) ".";
}

.legal-body h3 {
  margin: 26px 0 8px;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.legal-body p {
  margin: 0 0 14px;
}

.legal-body p:last-child {
  margin-bottom: 0;
}

.legal-body ul,
.legal-body ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

.legal-body li {
  margin-bottom: 7px;
  padding-left: 2px;
}

.legal-body li::marker {
  color: var(--pink);
}

.legal-body a {
  color: var(--white);
  border-bottom: 1px solid var(--pink);
  transition: color 160ms ease;
}

.legal-body a:hover {
  color: var(--pink);
}

.legal-body strong {
  color: var(--white);
  font-weight: 600;
}

.legal-table-wrap {
  margin: 18px 0 22px;
  overflow-x: auto;
}

.legal-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.5;
}

.legal-table th,
.legal-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--white);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.legal-table td:first-child {
  color: var(--white);
}

.legal-table caption {
  margin-bottom: 8px;
  color: var(--dim);
  font-size: 11.5px;
  text-align: left;
}

.legal-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-end p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-end .text-link {
  margin-top: 0;
}

@media (max-width: 1200px) {
  .breadcrumbs,
  .legal-hero,
  .legal-layout {
    max-width: var(--legal-measure);
    margin-inline: auto;
  }

  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .legal-aside,
  .legal-rail {
    position: static;
    width: 100%;
  }

  .legal-toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  .legal-body {
    max-width: none;
  }

  .legal-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .legal-card + .legal-card {
    margin-top: 0;
  }

  .legal-related {
    grid-column: 1 / -1;
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .legal-page {
    --legal-measure: 560px;
    padding-top: 20px;
  }

  .legal-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.1rem);
  }

  .legal-lede {
    font-size: 15px;
  }

  .legal-layout {
    gap: 28px;
    margin-top: 28px;
  }

  .legal-toc ol,
  .legal-rail {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-body {
    font-size: 15px;
    line-height: 1.7;
  }

  .legal-body h2 {
    gap: 10px;
    font-size: 1.35rem;
  }

  .legal-body section + section {
    margin-top: 34px;
    padding-top: 28px;
  }

  .legal-notice {
    margin-bottom: 32px;
  }

  .legal-table-wrap {
    overflow-x: visible;
  }

  .legal-table {
    min-width: 0;
    font-size: 12.5px;
    table-layout: fixed;
  }

  .legal-table th,
  .legal-table td {
    padding: 8px 7px;
    overflow-wrap: anywhere;
  }

  .legal-table--cookies th:nth-child(2),
  .legal-table--cookies td:nth-child(2) {
    display: none;
  }

  .legal-end {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ---------- Age gate and cookie consent ---------- */

html:not([data-age="ok"]),
html:not([data-age="ok"]) body {
  overflow: hidden;
}

.age-gate {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

html:not([data-age="ok"]) .age-gate {
  display: flex;
}

.age-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.9);
  backdrop-filter: blur(10px);
}

.age-gate__card {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-top: 2px solid var(--pink);
  background: var(--surface);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
  animation: gate-in 240ms ease-out both;
}

@keyframes gate-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.age-gate__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.age-gate__brand {
  font-family: "Archivo", sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.age-gate__brand span {
  color: var(--dim);
  font-weight: 600;
}

.age-gate__badge {
  display: inline-flex;
  height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--pink);
  color: var(--pink);
  font-family: "Archivo", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.age-gate h2 {
  font-size: clamp(1.75rem, 4.5vw, 2.35rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.age-gate p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.age-gate .age-gate__note {
  margin-top: 16px;
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.5;
}

.age-gate a:not(.button) {
  border-bottom: 1px solid var(--line-strong);
  color: var(--white);
  transition: color 160ms ease, border-color 160ms ease;
}

.age-gate a:not(.button):hover {
  border-color: var(--pink);
  color: var(--pink);
}

.age-gate__actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.age-gate__step[hidden] {
  display: none;
}

.cookie-card {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  display: none;
  width: min(370px, calc(100vw - 40px));
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--pink);
  background: var(--surface-raised);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
}

html[data-age="ok"]:not([data-cookies]) .cookie-card {
  display: block;
  animation: cookie-in 260ms ease-out both;
}

@keyframes cookie-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cookie-card__head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.cookie-card__head .icon {
  width: 18px;
  height: 18px;
  color: var(--pink);
}

.cookie-card h2 {
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.cookie-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.cookie-card p a {
  border-bottom: 1px solid var(--line-strong);
  color: var(--white);
  transition: color 160ms ease, border-color 160ms ease;
}

.cookie-card p a:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.cookie-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.cookie-card__actions .button {
  min-height: 40px;
  padding: 0 10px;
  font-size: 9.5px;
  letter-spacing: 0.04em;
}

@media (max-width: 480px) {
  .age-gate {
    padding: 12px;
  }

  .age-gate__card {
    max-height: calc(100svh - 24px);
    padding: 22px 18px 24px;
  }

  .age-gate__top {
    margin-bottom: 20px;
  }

  .cookie-card {
    right: 12px;
    bottom: 12px;
    width: min(370px, calc(100vw - 24px));
    padding: 17px 18px;
  }
}

@media (max-width: 380px) {
  .cookie-card__actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .age-gate__card,
  html[data-age="ok"]:not([data-cookies]) .cookie-card {
    animation: none;
  }
}

/* ---------- Account and flash messages ---------- */

.logout-form {
  display: flex;
}

.auth-errors {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 47, 116, 0.42);
  background: rgba(255, 47, 116, 0.07);
  color: var(--white);
  font-size: 12px;
  line-height: 1.5;
}

.auth-errors > .icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  fill: none;
  stroke: var(--pink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-errors ul {
  margin: 0;
  padding-left: 16px;
}

.auth-errors li + li {
  margin-top: 5px;
}

/* ---------- Hero profile picker ---------- */

.hero-picker__title {
  margin: 0;
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.hero-picker__stage {
  position: relative;
  height: 272px;
  margin-top: 18px;
}

.hero-picker__stage::before {
  position: absolute;
  inset: auto 10% -4px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 47, 116, 0.16), transparent 68%);
  content: "";
  filter: blur(20px);
  pointer-events: none;
}

.picker-card {
  --tilt: 0deg;
  --offset-x: 0px;
  position: absolute;
  bottom: 0;
  width: clamp(128px, 42%, 176px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  translate: var(--offset-x) 0;
  rotate: var(--tilt);
  animation: picker-float 6.4s ease-in-out infinite;
  transition: rotate 260ms ease, scale 260ms ease, border-color 200ms ease, box-shadow 260ms ease, filter 200ms ease;
}

.picker-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.picker-card__fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 47, 116, 0.3), transparent 52%),
    linear-gradient(155deg, #221a25 0%, #121014 60%, #0b0b0e 100%);
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.picker-card--front {
  left: 50%;
  bottom: 30px;
  z-index: 3;
  --offset-x: -50%;
  --tilt: -2deg;
}

.picker-card--left {
  left: 8px;
  z-index: 2;
  --tilt: -6deg;
  transform-origin: 80% 100%;
  animation-delay: -2.1s;
  animation-duration: 7.2s;
}

.picker-card--right {
  right: 8px;
  z-index: 2;
  --tilt: 6deg;
  transform-origin: 20% 100%;
  animation-delay: -4.2s;
  animation-duration: 6.8s;
}

.picker-card__status {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: calc(100% - 16px);
  padding: 5px 7px;
  border: 1px solid rgba(247, 245, 244, 0.16);
  border-radius: var(--radius);
  background: rgba(8, 8, 10, 0.74);
  color: rgba(247, 245, 244, 0.82);
  font-family: "Archivo", sans-serif;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.picker-card__status > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.picker-card--right .picker-card__status {
  right: 8px;
  left: auto;
}

.picker-card__status.is-online {
  border-color: rgba(185, 245, 107, 0.35);
  color: var(--online);
}

.picker-card__status .presence-dot--small {
  width: 5px;
  height: 5px;
  box-shadow: none;
}

.picker-card__meta {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 26px 10px 9px;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0), rgba(8, 8, 10, 0.92));
  pointer-events: none;
}

.picker-card__meta strong {
  font-family: "Archivo", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.picker-card__meta span {
  overflow: hidden;
  max-width: 100%;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.picker-card--right .picker-card__meta {
  align-items: flex-end;
  text-align: right;
}

.hero-picker__stage:has(.picker-card:hover) .picker-card:not(:hover) {
  filter: brightness(0.82);
}

.picker-card:hover,
.picker-card:focus-visible {
  z-index: 4;
  border-color: var(--pink);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.52), 0 0 30px rgba(255, 47, 116, 0.16);
  rotate: 0deg;
  scale: 1.045;
  animation-play-state: paused;
}

.picker-card:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.hero-picker__cta {
  margin-top: 44px;
}

@keyframes picker-float {
  0%,
  100% {
    translate: var(--offset-x) 0;
  }

  50% {
    translate: var(--offset-x) -8px;
  }
}

/* ---------- Profile browsing ---------- */

.browse {
  padding-block: clamp(38px, 5vw, 64px) clamp(64px, 8vw, 100px);
}

.browse__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  padding-bottom: clamp(24px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
}

.browse h1 {
  margin: 10px 0 0;
  font-size: clamp(2.8rem, 5.6vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.browse__lead {
  max-width: 44ch;
  margin: 0;
  justify-self: end;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.browse__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-top: 24px;
}

.browse-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.browse-filter label {
  color: var(--dim);
  font-family: "Archivo", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.browse-filter select {
  min-width: 172px;
  height: 42px;
  padding: 0 36px 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  appearance: none;
  background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23aaa5ae' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 13px center;
  color: var(--white);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 160ms ease;
}

.browse-filter select:hover,
.browse-filter select:focus {
  border-color: var(--line-strong);
}

.browse-filter select:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

.button--small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 9.5px;
  letter-spacing: 0.05em;
}

.browse__count {
  margin: 0;
  color: var(--dim);
  font-family: "Archivo", sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.browse__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.browse__meta .text-link {
  font-size: 11px;
}

.profiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(24px, 3vw, 32px);
}

.profile-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 180ms ease;
}

.profile-card:hover,
.profile-card:focus-within,
.profile-card.is-selected {
  border-color: var(--line-strong);
}

.profile-card.is-selected {
  box-shadow: inset 0 0 0 1px rgba(255, 47, 116, 0.5);
}

.profile-card__media {
  position: relative;
  display: block;
  aspect-ratio: 7 / 9;
  overflow: hidden;
  background: var(--surface-raised);
}

.profile-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.profile-card__media:hover img {
  transform: scale(1.025);
}

.profile-card__media:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: -2px;
}

.profile-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  background: var(--pink);
  color: var(--bg);
  font-family: "Archivo", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.profile-card__badge--new {
  left: auto;
  right: 12px;
  border: 1px solid rgba(247, 245, 244, 0.24);
  background: rgba(8, 8, 10, 0.82);
  color: var(--white);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.profile-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px 17px 16px;
}

.profile-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  flex-wrap: wrap;
}

.profile-card__city {
  margin: 0;
  color: var(--pink);
  font-family: "Archivo", sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* Každá kategória má vlastnú farbu a bodku. Rovnaké premenné používajú
   štítky na kartách, filtre aj zoznamy v paneloch. */

.looking-pill--sex {
  --looking-accent: var(--looking-sex);
  --looking-soft: var(--looking-sex-soft);
  --looking-line: var(--looking-sex-line);
}

.looking-pill--flirt {
  --looking-accent: var(--looking-flirt);
  --looking-soft: var(--looking-flirt-soft);
  --looking-line: var(--looking-flirt-line);
}

.looking-pill--relationship {
  --looking-accent: var(--looking-relationship);
  --looking-soft: var(--looking-relationship-soft);
  --looking-line: var(--looking-relationship-line);
}

.looking-pill--chat {
  --looking-accent: var(--looking-chat);
  --looking-soft: var(--looking-chat-soft);
  --looking-line: var(--looking-chat-line);
}

.looking-pill {
  display: inline-flex;
  max-width: 100%;
  flex: none;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--looking-line, var(--looking-sex-line));
  border-radius: var(--radius);
  background: var(--looking-soft, var(--looking-sex-soft));
  color: var(--looking-accent, var(--looking-sex));
  font-family: "Archivo", sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}

.looking-pill::before {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 7px currentColor;
  content: "";
}

.looking-pill--compact {
  gap: 5px;
  padding: 3px 7px;
  font-size: 8.5px;
}

.looking-pill--compact::before {
  width: 4px;
  height: 4px;
}

.looking-pill--mini {
  gap: 4px;
  padding: 2px 6px;
  font-size: 8px;
  letter-spacing: 0.05em;
}

.looking-pill--mini::before {
  width: 4px;
  height: 4px;
  box-shadow: none;
}

.looking-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.looking-filter--browse {
  align-items: center;
  margin-top: 18px;
}

.looking-filter__label {
  color: var(--dim);
  font-family: "Archivo", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.looking-filter--rail {
  margin-top: 12px;
}

.looking-filter--rail .looking-filter__pill {
  flex: none;
}

.looking-filter__pill--sex {
  --looking-accent: var(--looking-sex);
  --looking-soft: var(--looking-sex-soft);
  --looking-line: var(--looking-sex-line);
}

.looking-filter__pill--flirt {
  --looking-accent: var(--looking-flirt);
  --looking-soft: var(--looking-flirt-soft);
  --looking-line: var(--looking-flirt-line);
}

.looking-filter__pill--relationship {
  --looking-accent: var(--looking-relationship);
  --looking-soft: var(--looking-relationship-soft);
  --looking-line: var(--looking-relationship-line);
}

.looking-filter__pill--chat {
  --looking-accent: var(--looking-chat);
  --looking-soft: var(--looking-chat-soft);
  --looking-line: var(--looking-chat-line);
}

.looking-filter__pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid var(--looking-line, var(--line));
  border-radius: var(--radius);
  background: transparent;
  color: var(--looking-accent, var(--dim));
  font-family: "Archivo", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.looking-filter__pill::before {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.looking-filter__pill:hover {
  border-color: var(--looking-accent, var(--line-strong));
  background: var(--looking-soft, transparent);
  color: var(--white);
}

.looking-filter__pill.is-active {
  border-color: var(--looking-accent, var(--pink));
  background: var(--looking-accent, var(--pink));
  color: var(--bg);
}

.looking-filter__pill.is-active::before {
  background: var(--bg);
}

@media (max-width: 620px) {
  .looking-filter--browse {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
  }

  .looking-filter--browse .looking-filter__label {
    grid-column: 1 / -1;
  }

  .looking-filter--browse .looking-filter__pill {
    min-width: 0;
    min-height: 36px;
    gap: 4px;
    padding: 0 4px;
    font-size: 9px;
    letter-spacing: 0.03em;
  }

  .looking-filter--browse .looking-filter__pill::before {
    width: 4px;
    height: 4px;
  }
}

.profile-card__name {
  margin: 7px 0 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.profile-card__name a {
  color: var(--white);
  transition: color 160ms ease;
}

.profile-card__name a:hover {
  color: var(--pink);
}

.profile-card__bio {
  display: -webkit-box;
  overflow: hidden;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
  color: var(--dim);
  font-size: 11px;
  line-height: 1.45;
}

.quick-facts li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.quick-facts__presence {
  color: var(--muted);
  font-weight: 600;
}

.quick-facts__presence.is-online {
  color: var(--online);
}

.quick-facts .presence-dot {
  margin: 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--dim);
  font-size: 10px;
  line-height: 1.2;
}

.profile-card .tags {
  margin-bottom: 16px;
}

.profile-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.profile-card__actions .text-link {
  font-size: 11px;
}

.profile-card__actions form {
  display: flex;
}

.profile-card__heart {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-card.is-selected .profile-card__heart {
  fill: var(--pink);
  stroke: var(--pink);
}

.empty-state {
  max-width: 620px;
  margin: clamp(32px, 5vw, 56px) auto 0;
  padding: clamp(36px, 6vw, 64px) 24px;
  border: 1px dashed var(--line-strong);
  background: var(--surface);
  text-align: center;
}

.empty-state h1,
.empty-state h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
}

.empty-state p {
  max-width: 42ch;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.empty-state .button {
  margin-top: 22px;
}

.empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.empty-state__actions .button {
  margin-top: 0;
}

/* ---------- Profile detail ---------- */

.profile-detail {
  padding-block: 26px clamp(64px, 8vw, 100px);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  transition: color 160ms ease;
}

.back-link:hover {
  color: var(--white);
}

.back-link__icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(22px, 3vw, 34px);
}

.profile-detail__media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.profile-detail__media img {
  display: block;
  width: 100%;
  height: auto;
}

.profile-detail__body {
  padding-top: clamp(0px, 2vw, 22px);
}

.profile-detail__meta {
  display: flex;
  align-items: center;
  gap: 10px 16px;
  flex-wrap: wrap;
}

.profile-detail__meta .hero__eyebrow {
  margin-bottom: 0;
}

.profile-detail__orientation {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.profile-detail__presence {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dim);
  font-family: "Archivo", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.profile-detail__presence.is-online {
  color: var(--online);
}

.profile-new {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid rgba(185, 245, 107, 0.42);
  border-radius: var(--radius);
  background: rgba(185, 245, 107, 0.08);
  color: var(--online);
  font-family: "Archivo", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}

.profile-detail__body h1 {
  margin: 10px 0 0;
  font-size: clamp(3rem, 5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.profile-detail__bio {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.profile-facts {
  margin: 12px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.profile-fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.profile-fact dt {
  color: var(--dim);
  font-family: "Archivo", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-fact dd {
  margin: 0;
  color: var(--white);
  font-size: 14px;
  line-height: 1.45;
  text-align: right;
}

.profile-detail__subtitle {
  margin: 30px 0 0;
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-detail__body .tags {
  margin-top: 12px;
}

.profile-detail__body .tags li {
  font-size: 11px;
  padding: 6px 10px;
}

.profile-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.profile-detail__actions form {
  display: flex;
}

.profile-detail__note {
  margin: 26px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.5;
}

.profile-detail__similar {
  padding-block: clamp(40px, 6vw, 72px) clamp(64px, 8vw, 100px);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.profile-detail__similar-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.profile-detail__similar-head .hero__eyebrow {
  margin-bottom: 0;
}

.profile-detail__similar-head h2 {
  margin: 6px 0 0;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.profile-detail__similar-lead {
  max-width: 46ch;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.profiles--similar {
  margin-top: clamp(22px, 3vw, 30px);
}

/* ---------- Own profile ---------- */

.profile-nudge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 47, 116, 0.32);
  background: linear-gradient(90deg, rgba(255, 47, 116, 0.08), rgba(255, 47, 116, 0.02));
}

.profile-nudge > div {
  min-width: 0;
}

.profile-nudge .hero__eyebrow {
  margin: 0 0 6px;
}

.profile-nudge p:not(.hero__eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.profile-nudge strong {
  color: var(--white);
  font-weight: 600;
}

.profile-nudge .button {
  flex: none;
}

.profile-avatar {
  position: relative;
  display: grid;
  aspect-ratio: 7 / 9;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 47, 116, 0.2), transparent 45%),
    linear-gradient(150deg, #18151d 0%, #101014 55%, #0b0b0e 100%);
}

.profile-avatar::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 80%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 80%);
}

.profile-avatar__initials {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: clamp(5.5rem, 11vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 1;
  text-shadow: 0 0 60px rgba(255, 47, 116, 0.3);
}

.profile-avatar__tag {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  left: 16px;
  padding: 7px 10px;
  background: var(--pink);
  color: var(--bg);
  font-family: "Archivo", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-avatar--preview {
  width: min(100%, 280px);
  margin-top: 28px;
}

.profile-avatar__photo {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar--photo::before {
  display: none;
}

.profile-avatar--preview .profile-avatar__initials {
  font-size: clamp(4rem, 7vw, 6rem);
}

.photo-tip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 47, 116, 0.32);
  background: linear-gradient(100deg, rgba(255, 47, 116, 0.1), rgba(255, 47, 116, 0.02));
}

.photo-tip .icon {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
  fill: var(--pink);
}

.photo-tip p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.photo-tip strong {
  display: block;
  margin-bottom: 3px;
  color: var(--white);
  font-weight: 600;
}

.field input[type="file"] {
  height: auto;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 12.5px;
}

.field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--radius);
  background: var(--pink);
  color: var(--bg);
  font-family: "Archivo", sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease;
}

.field input[type="file"]::file-selector-button:hover {
  background: var(--pink-hover);
}

.profile-callout {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 47, 116, 0.34);
  background: rgba(255, 47, 116, 0.06);
}

.profile-callout p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.profile-callout strong {
  color: var(--white);
  font-weight: 600;
}

.profile-callout .button {
  margin-top: 14px;
}

.profile-editor {
  padding-block: 26px clamp(64px, 8vw, 100px);
}

.profile-editor__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(22px, 3vw, 34px);
}

.profile-editor__intro {
  padding-top: clamp(0px, 2vw, 22px);
}

.profile-editor__intro h1 {
  margin: 10px 0 0;
  font-size: clamp(2.8rem, 4.6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.profile-editor__lead {
  max-width: 34ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.profile-editor__note {
  max-width: 34ch;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.55;
}

.profile-editor__panel {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.profile-editor__panel .auth-errors {
  margin-top: 0;
  margin-bottom: 20px;
}

.profile-form {
  display: grid;
  gap: 20px;
}

.profile-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(120px, 0.6fr);
  gap: 14px;
}

.profile-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.profile-form__actions .button {
  min-width: 160px;
}

@media (max-width: 980px) {
  .profiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .browse__head {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  .browse__lead {
    max-width: 54ch;
    justify-self: start;
  }

  .profile-detail__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-detail__media {
    max-width: 520px;
  }

  .profile-editor__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-avatar--preview {
    max-width: 220px;
  }
}

@media (max-width: 600px) {
  .profiles {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-nudge {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }

  .profile-nudge .button {
    width: 100%;
  }

  .profile-form__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-form__actions {
    flex-direction: column;
  }

  .profile-form__actions .button {
    width: 100%;
  }

  .profile-editor__panel {
    padding: 18px 16px;
  }

  .browse__toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .browse-filter {
    width: 100%;
  }

  .browse-filter select {
    flex: 1;
    min-width: 0;
  }

  .profile-detail__actions .button,
  .profile-detail__actions form {
    width: 100%;
  }

  .profile-detail__actions .button {
    width: 100%;
  }

  .profile-card__body {
    padding: 16px;
  }

  .profile-detail__similar-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-fact {
    gap: 16px;
  }
}

/* ---------- Account settings ---------- */

.account-settings {
  padding-block: 26px clamp(64px, 8vw, 100px);
}

.account-settings__head {
  max-width: 64ch;
  margin-top: clamp(24px, 3vw, 34px);
}

.account-settings__head h1 {
  margin: 10px 0 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(2.7rem, 4.6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.account-settings__lead {
  max-width: 58ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.account-settings__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-top: clamp(28px, 4vw, 44px);
}

.account-card {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.account-card__avatar {
  position: relative;
  display: grid;
  width: 112px;
  aspect-ratio: 1;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 47, 116, 0.22), transparent 50%),
    linear-gradient(150deg, #18151d 0%, #101014 60%, #0b0b0e 100%);
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.account-card__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-card__name {
  margin: 20px 0 0;
  font-size: clamp(1.55rem, 2.4vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.account-card__meta {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.account-card__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: "Archivo", sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.account-card__status::before {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--pink);
  content: "";
}

.account-card__status--incomplete::before {
  background: var(--dim);
}

.account-card__actions {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.account-settings__panels {
  display: grid;
  gap: clamp(20px, 2.4vw, 28px);
}

.settings-panel {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.settings-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
}

.settings-panel h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.settings-panel__note {
  max-width: 60ch;
  margin: 10px 0 0;
  color: var(--dim);
  font-size: 12.5px;
  line-height: 1.6;
}

.settings-list {
  display: grid;
  margin: 22px 0 0;
}

.settings-list > div {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 8px 24px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.settings-list > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.settings-list dt {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.settings-list dd {
  margin: 0;
  color: var(--white);
  font-size: 13.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.settings-list__row--strong dt {
  color: var(--white);
}

.settings-list dd time {
  font-variant-numeric: tabular-nums;
}

.settings-list dd.is-empty {
  color: var(--dim);
}

.settings-list__date {
  font-family: "Archivo", sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.settings-list__empty {
  color: var(--dim);
}

.settings-list__inline-link {
  margin-left: 10px;
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(255, 47, 116, 0.5);
  color: var(--pink);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 160ms ease, border-color 160ms ease;
}

.settings-list__inline-link:hover {
  color: var(--white);
  border-color: var(--white);
}

.settings-tags {
  margin-top: 2px;
}

.settings-tags li {
  max-width: 100%;
  padding: 5px 10px;
  overflow-wrap: anywhere;
  font-size: 11px;
}

@media (max-width: 880px) {
  .account-settings__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-card {
    max-width: 520px;
  }
}

@media (max-width: 600px) {
  .account-card,
  .settings-panel {
    padding: 18px 16px;
  }

  .account-card__avatar {
    width: 96px;
    font-size: 2.1rem;
  }

  .settings-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

/* ---------- Navigation and account details ---------- */

.main-nav a {
  position: relative;
}

.main-nav a[aria-current="page"] {
  color: var(--white);
}

.main-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--pink);
  content: "";
}

.header__profile,
.header__settings,
.header__messages,
.header__notifications {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.header__messages,
.header__notifications {
  position: relative;
}

.header__profile .icon,
.header__settings .icon,
.header__messages .icon,
.header__notifications .icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header__profile:hover,
.header__settings:hover,
.header__messages:hover,
.header__notifications:hover {
  border-color: var(--white);
  color: var(--white);
}

.header__profile[aria-current="page"],
.header__settings[aria-current="page"],
.header__messages[aria-current="page"],
.header__notifications[aria-current="page"] {
  border-color: rgba(255, 47, 116, 0.5);
  background: rgba(255, 47, 116, 0.08);
  color: var(--pink);
}

.header__notification-count,
.header__message-count {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  padding: 0 4px;
  border: 2px solid var(--bg);
  border-radius: 9px;
  background: var(--pink);
  color: var(--bg);
  font-family: "Archivo", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.button__icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.profile-card__links {
  display: flex;
  align-items: center;
  gap: 11px;
}

.profile-card__message {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 47, 116, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 47, 116, 0.04);
  color: var(--pink);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.profile-card__message .icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-card__message:hover,
.profile-card__message:focus-visible {
  border-color: rgba(255, 47, 116, 0.75);
  background: rgba(255, 47, 116, 0.14);
  color: var(--pink);
}

/* ---------- Floating notices ---------- */

.toast-dock {
  position: fixed;
  top: calc(var(--header-h) + 16px);
  right: max(20px, calc((100vw - var(--container)) / 2));
  z-index: 210;
  display: flex;
  width: min(390px, calc(100vw - 32px));
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  --toast-accent: var(--white);
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 13px;
  padding: 16px 14px 18px 17px;
  border: 1px solid var(--line-strong);
  background: #131317;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.58);
  pointer-events: auto;
  animation: toast-in 380ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.toast--success {
  --toast-accent: var(--online);
}

.toast--error {
  --toast-accent: var(--pink);
}

.toast__rule {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--toast-accent);
}

.toast__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  color: var(--toast-accent);
}

.toast__icon .icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.toast__content {
  min-width: 0;
  align-self: center;
}

.toast__kicker {
  margin: 0;
  color: var(--toast-accent);
  font-family: "Archivo", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.toast__message {
  margin: 4px 0 0;
  color: var(--white);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.toast__close {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  align-self: start;
  margin: -4px -4px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--dim);
  transition: color 160ms ease, background 160ms ease;
}

.toast__close .icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.toast__close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.toast__progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--toast-accent);
  opacity: 0.75;
  transform-origin: left center;
  animation: toast-progress var(--toast-duration) linear forwards;
}

.toast.is-paused .toast__progress {
  animation-play-state: paused;
}

.toast.is-leaving {
  animation: toast-out 230ms ease forwards;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateX(18px);
  }
}

@keyframes toast-progress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

/* ---------- Messages ---------- */

.messages-page {
  padding-block: clamp(30px, 4vw, 48px) clamp(64px, 8vw, 100px);
}

.messages-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 22px clamp(28px, 5vw, 72px);
  align-items: end;
  padding-bottom: clamp(20px, 3vw, 30px);
  border-bottom: 1px solid var(--line);
}

.messages-head h1 {
  margin: 8px 0 0;
  font-size: clamp(3rem, 5.6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.messages-head__lead {
  max-width: 48ch;
  margin: 0;
  justify-self: end;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.messages-offer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 18px;
  margin-top: clamp(16px, 2.4vw, 22px);
  padding: 14px 18px;
  border: 1px solid rgba(255, 47, 116, 0.4);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(255, 47, 116, 0.115), rgba(255, 47, 116, 0.03));
  transition: border-color 160ms ease, background 160ms ease;
}

.messages-offer:hover {
  border-color: var(--pink);
  background: linear-gradient(90deg, rgba(255, 47, 116, 0.16), rgba(255, 47, 116, 0.045));
}

.messages-offer__tag {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-right: 1px solid rgba(255, 47, 116, 0.34);
  color: var(--pink);
  font-family: "Archivo", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.messages-offer__copy {
  min-width: 0;
}

.messages-offer__copy strong {
  display: block;
  overflow: hidden;
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.messages-offer__copy strong s {
  margin-left: 7px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.messages-offer__copy > span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.messages-offer__cta {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--pink);
  color: var(--pink);
  font-family: "Archivo", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.messages-offer__promo {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.messages-offer__promo [data-promo-compact] {
  color: var(--promo-accent, var(--pink));
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.messages-offer__expired {
  color: var(--muted);
}

.messages-offer--promo {
  border-color: var(--promo-line, rgba(255, 47, 116, 0.4));
  background: linear-gradient(90deg, var(--promo-soft, rgba(255, 47, 116, 0.12)), rgba(255, 255, 255, 0.015));
}

.messages-offer--promo:hover {
  border-color: var(--promo-accent, var(--pink));
  background: linear-gradient(90deg, var(--promo-glow, rgba(255, 47, 116, 0.18)), rgba(255, 255, 255, 0.025));
}

.messages-offer--promo .messages-offer__tag {
  border-right-color: var(--promo-line, rgba(255, 47, 116, 0.34));
  color: var(--promo-accent, var(--pink));
}

.messages-offer--promo .messages-offer__cta {
  border-bottom-color: var(--promo-accent, var(--pink));
  color: var(--promo-accent, var(--pink));
}

.messages-offer--promo-halloween {
  --promo-accent: #ff8a3d;
  --promo-line: rgba(255, 138, 61, 0.5);
  --promo-soft: rgba(255, 138, 61, 0.12);
  --promo-glow: rgba(255, 138, 61, 0.2);
}

.messages-offer--promo-black-friday {
  --promo-accent: #d8d2c4;
  --promo-line: rgba(216, 210, 196, 0.45);
  --promo-soft: rgba(216, 210, 196, 0.09);
  --promo-glow: rgba(216, 210, 196, 0.15);
}

.messages-offer--promo-christmas {
  --promo-accent: #ff5a5a;
  --promo-line: rgba(255, 90, 90, 0.5);
  --promo-soft: rgba(255, 90, 90, 0.12);
  --promo-glow: rgba(255, 90, 90, 0.2);
}

.messages-offer--promo-new-year {
  --promo-accent: #ffd166;
  --promo-line: rgba(255, 209, 102, 0.48);
  --promo-soft: rgba(255, 209, 102, 0.11);
  --promo-glow: rgba(255, 209, 102, 0.18);
}

.messages-offer--promo-valentine {
  --promo-accent: #ff5c8f;
  --promo-line: rgba(255, 92, 143, 0.5);
  --promo-soft: rgba(255, 92, 143, 0.12);
  --promo-glow: rgba(255, 92, 143, 0.2);
}

.messages-shell {
  display: grid;
  height: clamp(540px, calc(100svh - var(--header-h) - 240px), 720px);
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  margin-top: clamp(20px, 3vw, 28px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.messages-rail {
  display: flex;
  min-height: 0;
  flex-direction: column;
  border-right: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #121217, #0d0d11);
}

.messages-rail__head {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--line);
}

.messages-rail__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.messages-rail__title-row h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.035em;
  line-height: 1;
}

.messages-rail__count {
  display: inline-grid;
  min-width: 24px;
  height: 22px;
  padding: 0 6px;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--dim);
  font-family: "Archivo", sans-serif;
  font-size: 10px;
  font-weight: 700;
}

.messages-rail__credits {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 14px 0 0;
  color: var(--muted);
  font-family: "Archivo", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.messages-rail__credits .icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--pink);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.messages-rail__credits.is-empty {
  color: var(--pink);
}

.messages-rail__new {
  margin-top: 15px;
  font-size: 11px;
}

.thread-list {
  flex: 1;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
  scrollbar-color: var(--line-strong) transparent;
  scrollbar-width: thin;
}

.thread-list::-webkit-scrollbar,
.chat__body::-webkit-scrollbar {
  width: 7px;
}

.thread-list::-webkit-scrollbar-track,
.chat__body::-webkit-scrollbar-track {
  background: transparent;
}

.thread-list::-webkit-scrollbar-thumb,
.chat__body::-webkit-scrollbar-thumb {
  background: var(--line-strong);
}

.thread-item:not(:last-child) {
  border-bottom: 1px solid var(--line);
}

.thread-item a {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  transition: background 160ms ease;
}

.thread-item a:hover {
  background: rgba(255, 255, 255, 0.035);
}

.thread-item.is-active a {
  background: rgba(255, 47, 116, 0.065);
  box-shadow: inset 2px 0 0 var(--pink);
}

.thread-item__avatar {
  width: 46px;
  height: 56px;
  border: 1px solid var(--line-strong);
  background: var(--surface-raised);
  object-fit: cover;
}

.thread-item__copy {
  min-width: 0;
}

.thread-item__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.thread-item__name {
  overflow: hidden;
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thread-item__time {
  flex-shrink: 0;
  color: var(--dim);
  font-family: "Archivo", sans-serif;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.thread-item__snippet {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thread-item.is-active .thread-item__snippet {
  color: var(--muted);
}

.thread-list__empty {
  margin: 0;
  padding: 24px 20px;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.6;
}

.chat {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  background: var(--bg);
}

.chat__head {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line-strong);
  background: var(--surface-raised);
}

.chat__back {
  display: none;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  transition: color 160ms ease, border-color 160ms ease;
}

.chat__back .icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat__back:hover {
  border-color: var(--white);
  color: var(--white);
}

.messages-shell.messages-shell--focus {
  grid-template-columns: minmax(0, 1fr);
}

.messages-shell--focus .chat__back {
  display: inline-grid;
}

.chat__avatar {
  width: 42px;
  height: 52px;
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  object-fit: cover;
}

.chat__identity {
  min-width: 0;
  flex: 1;
}

.chat__identity h2 {
  overflow: hidden;
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat__identity p {
  overflow: hidden;
  margin: 4px 0 0;
  color: var(--dim);
  font-size: 10.5px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat__identity a {
  padding-bottom: 1px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  transition: color 160ms ease, border-color 160ms ease;
}

.chat__identity a:hover {
  border-color: var(--pink);
  color: var(--white);
}

.chat__sep {
  margin: 0 7px;
  color: var(--line-strong);
}

.chat__credits {
  flex-shrink: 0;
  padding: 7px 9px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: "Archivo", sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.chat__credits.is-empty {
  border-color: rgba(255, 47, 116, 0.45);
  color: var(--pink);
}

.chat__body {
  min-height: 0;
  flex: 1;
  padding: 26px 24px;
  overflow-y: auto;
  background-color: var(--bg);
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0 27px,
    rgba(247, 245, 244, 0.032) 27px 28px
  );
  background-attachment: local;
  scrollbar-color: var(--line-strong) transparent;
  scrollbar-width: thin;
}

.chat__day {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 16px;
  color: var(--dim);
  font-family: "Archivo", sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chat__day:first-child {
  margin-top: 0;
}

.chat__day::before,
.chat__day::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.chat__message {
  display: flex;
  margin-top: 10px;
}

.chat__message--out {
  justify-content: flex-end;
}

.chat__bubble {
  max-width: min(78%, 660px);
  padding: 13px 15px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.chat__message--in .chat__bubble {
  border-left: 2px solid var(--line-strong);
}

.chat__message--out .chat__bubble {
  border-color: rgba(255, 47, 116, 0.35);
  border-right: 2px solid var(--pink);
  background: #1a1116;
}

.chat__text {
  margin: 0;
  color: var(--white);
  font-size: 14px;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.chat__stamp {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin: 7px 0 0;
  color: var(--dim);
  font-family: "Archivo", sans-serif;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.chat__message--out .chat__stamp span {
  color: rgba(255, 95, 144, 0.75);
}

.chat__intro {
  max-width: 540px;
  margin: clamp(24px, 6vh, 56px) auto 0;
  text-align: center;
}

.chat__intro-kicker {
  margin: 0;
  color: var(--pink);
  font-family: "Archivo", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.chat__intro h2 {
  margin: 10px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.chat__intro p:not(.chat__intro-kicker):not(.chat__intro-note) {
  max-width: 42ch;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.chat__intro-note {
  max-width: 36ch;
  margin: 18px auto 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 10.5px;
  line-height: 1.5;
}

.chat__composer {
  flex-shrink: 0;
  padding: 14px 16px 12px;
  border-top: 1px solid var(--line-strong);
  background: var(--surface-raised);
}

.chat__openers {
  display: flex;
  align-items: center;
  gap: 8px 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.chat__openers-label {
  color: var(--dim);
  font-family: "Archivo", sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chat__openers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chat__opener {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.3;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.chat__opener:hover {
  border-color: rgba(255, 47, 116, 0.5);
  background: rgba(255, 47, 116, 0.08);
  color: var(--white);
}

.chat__form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.chat__field {
  min-width: 0;
  border: 1px solid var(--line-strong);
  background: var(--field);
  transition: border-color 160ms ease;
}

.chat__field:focus-within {
  border-color: var(--pink);
}

.chat__input {
  display: block;
  width: 100%;
  min-height: 46px;
  max-height: 144px;
  padding: 12px 13px;
  overflow-y: auto;
  border: 0;
  resize: none;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 13.5px;
  line-height: 1.55;
}

.chat__input::placeholder {
  color: var(--dim);
}

.chat__input:focus {
  outline: none;
}

.chat__send {
  min-height: 48px;
  padding-inline: 18px;
}

.chat__composer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  padding: 0 2px;
  color: var(--dim);
  font-family: "Archivo", sans-serif;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chat__limit {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 16px 18px 14px;
  border-top: 1px solid rgba(255, 47, 116, 0.34);
  background: rgba(255, 47, 116, 0.065);
}

.chat__limit-copy {
  flex: 1 1 260px;
}

.chat__limit-kicker {
  margin: 0;
  color: var(--pink);
  font-family: "Archivo", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chat__limit-copy > p + p {
  max-width: 50ch;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.chat__limit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat__limit-actions form {
  display: flex;
}

.chat__limit-buy {
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.chat__limit-buy small {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.78;
}

.chat__limit-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 13px 0 0;
  color: var(--pink);
  font-size: 11.5px;
  line-height: 1.45;
}

.chat__limit-promo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 47, 116, 0.14);
}

.chat__limit-promo [data-promo-compact] {
  color: var(--white);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.chat__limit-note {
  flex-basis: 100%;
  margin: 0;
  color: var(--dim);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.chat--placeholder {
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg) 70%);
}

.chat__placeholder {
  display: grid;
  height: 100%;
  place-content: center;
  padding: 40px;
  text-align: center;
}

.chat__placeholder-mark {
  margin: 0 auto 2px;
  color: var(--pink);
  font-family: "Archivo", sans-serif;
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 900;
  line-height: 0.55;
  user-select: none;
}

.chat__placeholder h2 {
  max-width: 16ch;
  margin: 10px auto 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.chat__placeholder > p:not(.hero__eyebrow):not(.chat__placeholder-mark) {
  max-width: 40ch;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.chat__placeholder .text-link {
  margin-top: 20px;
  justify-self: center;
}

.messages-empty {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(160px, 0.4fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 4vw, 56px);
  margin-top: clamp(20px, 3vw, 28px);
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 10% 50%, rgba(255, 47, 116, 0.13), transparent 46%),
    var(--surface);
}

.messages-empty__mark {
  margin: 0;
  color: var(--pink);
  font-family: "Archivo", sans-serif;
  font-size: clamp(7rem, 14vw, 13rem);
  font-weight: 900;
  line-height: 0.7;
  text-align: center;
  user-select: none;
}

.messages-empty__body {
  max-width: 560px;
}

.messages-empty__body .hero__eyebrow {
  margin-bottom: 10px;
}

.messages-empty__body h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.messages-empty__body p:not(.hero__eyebrow) {
  max-width: 48ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.messages-empty__body .button {
  margin-top: 24px;
}

.message-shop {
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: clamp(30px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.message-shop__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 22px clamp(28px, 5vw, 72px);
  align-items: end;
}

.message-shop__head h2 {
  margin: 8px 0 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.message-shop__lead {
  max-width: 46ch;
  margin: 0;
  justify-self: end;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.message-promo {
  --promo-accent: var(--pink);
  --promo-line: rgba(255, 47, 116, 0.5);
  --promo-soft: rgba(255, 47, 116, 0.12);
  --promo-glow: rgba(255, 47, 116, 0.2);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  margin-top: clamp(24px, 3vw, 32px);
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid var(--promo-line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 160% at 0% 0%, var(--promo-glow), transparent 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 62%),
    var(--surface);
}

.message-promo--halloween {
  --promo-accent: #ff8a3d;
  --promo-line: rgba(255, 138, 61, 0.5);
  --promo-soft: rgba(255, 138, 61, 0.12);
  --promo-glow: rgba(255, 138, 61, 0.2);
}

.message-promo--black-friday {
  --promo-accent: #d8d2c4;
  --promo-line: rgba(216, 210, 196, 0.45);
  --promo-soft: rgba(216, 210, 196, 0.09);
  --promo-glow: rgba(216, 210, 196, 0.15);
}

.message-promo--christmas {
  --promo-accent: #ff5a5a;
  --promo-line: rgba(255, 90, 90, 0.5);
  --promo-soft: rgba(255, 90, 90, 0.12);
  --promo-glow: rgba(255, 90, 90, 0.2);
}

.message-promo--new-year {
  --promo-accent: #ffd166;
  --promo-line: rgba(255, 209, 102, 0.48);
  --promo-soft: rgba(255, 209, 102, 0.11);
  --promo-glow: rgba(255, 209, 102, 0.18);
}

.message-promo--valentine {
  --promo-accent: #ff5c8f;
  --promo-line: rgba(255, 92, 143, 0.5);
  --promo-soft: rgba(255, 92, 143, 0.12);
  --promo-glow: rgba(255, 92, 143, 0.2);
}

.message-promo__copy {
  min-width: 0;
}

.message-promo__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--promo-accent);
  font-family: "Archivo", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.message-promo__kicker .icon {
  width: 14px;
  height: 14px;
}

.message-promo__live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--promo-accent);
  box-shadow: 0 0 0 3px var(--promo-soft);
  animation: promo-live 2.4s ease-in-out infinite;
}

.message-promo__name {
  padding-left: 9px;
  border-left: 1px solid var(--promo-line);
  color: var(--white);
  letter-spacing: 0.08em;
}

.message-promo__title {
  max-width: 22ch;
  margin: 14px 0 0;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.96;
  text-wrap: balance;
}

.message-promo__ends {
  margin: 11px 0 0;
  color: var(--promo-accent);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.message-promo__note {
  max-width: 62ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.message-promo__expired {
  max-width: 58ch;
  margin: 16px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--line-strong);
}

.message-promo__expired strong {
  display: block;
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.message-promo__expired span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.message-promo__timer {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.message-promo__unit {
  display: flex;
  min-width: 62px;
  flex-direction: column;
  align-items: center;
  padding: 13px 10px 10px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 8, 10, 0.58);
}

.message-promo__unit strong {
  color: var(--promo-accent);
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.6rem, 2.7vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.message-promo__unit small {
  margin-top: 6px;
  color: var(--dim);
  font-family: "Archivo", sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.message-promo__separator {
  align-self: flex-start;
  margin-top: 10px;
  color: var(--promo-line);
  font-family: "Archivo", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

@keyframes promo-live {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 3px var(--promo-soft);
  }

  50% {
    opacity: 0.55;
    box-shadow: 0 0 0 7px transparent;
  }
}

.is-promo-expired .message-promo {
  grid-template-columns: minmax(0, 1fr);
  border-color: var(--line-strong);
  background: var(--surface);
}

.is-promo-expired .message-promo__live {
  animation: none;
  opacity: 0.35;
  box-shadow: none;
}

.is-promo-expired .messages-offer--promo {
  border-color: var(--line-strong);
  background: var(--surface);
}

.is-promo-expired .messages-offer--promo .messages-offer__tag,
.is-promo-expired .messages-offer--promo .messages-offer__cta {
  border-color: var(--line-strong);
  color: var(--dim);
}

.is-promo-expired .message-pack--promo:not(.message-pack--featured) {
  border-color: var(--line-strong);
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .message-promo__live {
    animation: none;
  }
}

.message-shop__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 18px);
  margin-top: clamp(24px, 3vw, 32px);
}

.message-pack {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 28px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.message-pack--featured {
  border-color: rgba(255, 47, 116, 0.6);
  background: linear-gradient(180deg, rgba(255, 47, 116, 0.1), var(--surface) 46%);
  box-shadow: inset 0 2px 0 var(--pink);
}

.message-pack--promo {
  --promo-accent: var(--pink);
  --promo-line: rgba(255, 47, 116, 0.45);
  --promo-soft: rgba(255, 47, 116, 0.11);
}

.message-pack--promo-halloween {
  --promo-accent: #ff8a3d;
  --promo-line: rgba(255, 138, 61, 0.45);
  --promo-soft: rgba(255, 138, 61, 0.1);
}

.message-pack--promo-black-friday {
  --promo-accent: #d8d2c4;
  --promo-line: rgba(216, 210, 196, 0.4);
  --promo-soft: rgba(216, 210, 196, 0.08);
}

.message-pack--promo-christmas {
  --promo-accent: #ff5a5a;
  --promo-line: rgba(255, 90, 90, 0.45);
  --promo-soft: rgba(255, 90, 90, 0.1);
}

.message-pack--promo-new-year {
  --promo-accent: #ffd166;
  --promo-line: rgba(255, 209, 102, 0.42);
  --promo-soft: rgba(255, 209, 102, 0.09);
}

.message-pack--promo-valentine {
  --promo-accent: #ff5c8f;
  --promo-line: rgba(255, 92, 143, 0.45);
  --promo-soft: rgba(255, 92, 143, 0.1);
}

.message-pack--promo:not(.message-pack--featured) {
  box-shadow: inset 0 2px 0 var(--promo-accent);
}

.message-pack__top {
  display: flex;
  min-height: 24px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  row-gap: 8px;
}

.message-pack__credits {
  margin: 0;
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}

.message-pack__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin-left: auto;
}

.message-pack__flag {
  padding: 4px 7px;
  background: var(--pink);
  color: var(--bg);
  font-family: "Archivo", sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

.message-pack__badge {
  padding: 4px 8px;
  border: 1px solid rgba(255, 47, 116, 0.45);
  color: var(--pink);
  font-family: "Archivo", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
  white-space: nowrap;
}

.message-pack__promo {
  padding: 4px 8px;
  border: 1px solid var(--promo-line, rgba(255, 47, 116, 0.45));
  background: var(--promo-soft, rgba(255, 47, 116, 0.11));
  color: var(--promo-accent, var(--pink));
  font-family: "Archivo", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
  white-space: nowrap;
}

.message-pack__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 22px 0 0;
}

.message-pack__price span {
  font-family: "Archivo", sans-serif;
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.message-pack__price s {
  color: var(--dim);
  font-size: 13px;
}

.message-pack__unit {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.message-pack__saving {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--pink);
  font-family: "Archivo", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.message-pack__form {
  margin-top: auto;
  padding-top: 22px;
}

.message-shop__note {
  max-width: 82ch;
  margin: 18px 0 0;
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.55;
}

@media (max-width: 880px) {
  .message-shop__head {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }

  .message-shop__lead {
    max-width: 56ch;
    justify-self: start;
  }

  .message-promo {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .message-promo__title {
    max-width: 26ch;
  }

  .message-shop__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .messages-offer {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px 12px;
    padding: 12px 14px;
  }

  .messages-offer__tag {
    padding: 0 10px 0 0;
  }

  .messages-offer__copy strong {
    white-space: normal;
  }

  .messages-offer__cta {
    grid-column: 2;
    width: fit-content;
  }

  .message-promo {
    padding: 20px 16px;
  }

  .message-promo__title {
    max-width: none;
    font-size: clamp(1.7rem, 7.5vw, 2.2rem);
  }

  .message-promo__timer {
    gap: 4px;
  }

  .message-promo__unit {
    min-width: 0;
    flex: 1 1 0;
    padding: 10px 6px 8px;
  }

  .message-promo__unit strong {
    font-size: clamp(1.3rem, 6vw, 1.6rem);
  }

  .message-promo__unit small {
    font-size: 7px;
    letter-spacing: 0.08em;
  }

  .message-promo__separator {
    margin-top: 8px;
    font-size: 14px;
  }

  .message-shop__head h2 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .message-shop__lead {
    font-size: 13px;
  }

  .message-pack {
    padding: 22px;
  }
}

/* ---------- Notifications ---------- */

.notifications-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  margin-top: clamp(20px, 3vw, 28px);
}

.notifications-list {
  display: grid;
  gap: 12px;
}

.notification-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.notification-card.is-unread {
  border-color: rgba(255, 47, 116, 0.4);
  background:
    linear-gradient(105deg, rgba(255, 47, 116, 0.085), transparent 62%),
    var(--surface);
}

.notification-card__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--field);
  color: var(--dim);
}

.notification-card.is-unread .notification-card__icon {
  border-color: rgba(255, 47, 116, 0.38);
  color: var(--pink);
}

.notification-card__icon .icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notification-card__body {
  min-width: 0;
}

.notification-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.notification-card__type {
  color: var(--pink);
  font-family: "Archivo", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.notification-card__new {
  padding: 3px 6px;
  border-radius: var(--radius);
  background: var(--pink);
  color: var(--bg);
  font-family: "Archivo", sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.notification-card__time {
  margin-left: auto;
  color: var(--dim);
  font-size: 10px;
  line-height: 1.3;
}

.notification-card h2 {
  margin: 9px 0 0;
  font-size: 21px;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.notification-card p {
  max-width: 72ch;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.notification-card__link {
  margin-top: 14px;
}

.notification-card__action {
  display: grid;
  width: 38px;
  height: 38px;
  margin: 14px 0 0 auto;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--field);
  color: var(--muted);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.notification-card__action:hover,
.notification-card__action:focus-visible {
  border-color: rgba(255, 47, 116, 0.45);
  background: rgba(255, 47, 116, 0.08);
  color: var(--pink);
}

.notification-card__action .icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notifications-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 47, 116, 0.13), transparent 48%),
    var(--surface);
}

.notifications-aside .hero__eyebrow {
  margin-bottom: 10px;
}

.notifications-aside h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2.4vw, 2.05rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.notifications-aside > p:not(.hero__eyebrow) {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.notifications-aside .button {
  width: 100%;
  margin-top: 20px;
}

.notifications-aside .notifications-aside__note {
  color: var(--dim);
  font-size: 10.5px;
  line-height: 1.5;
}

@media (max-width: 1120px) {
  .messages-shell {
    grid-template-columns: minmax(0, 310px) minmax(0, 1fr);
  }
}

@media (max-width: 880px) {
  .messages-page {
    padding-block: 22px clamp(48px, 8vw, 72px);
  }

  .messages-page--thread {
    padding-top: 12px;
  }

  .messages-page--thread .messages-head {
    display: none;
  }

  .messages-page--thread .messages-shell {
    margin-top: 0;
  }

  .messages-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }

  .messages-head__lead {
    max-width: 56ch;
    justify-self: start;
  }

  .messages-shell {
    height: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .messages-rail {
    border-right: 0;
  }

  .thread-list {
    overflow: visible;
  }

  .messages-shell--thread .messages-rail {
    display: none;
  }

  .messages-shell:not(.messages-shell--thread) .chat {
    display: none;
  }

  .messages-page--thread .chat {
    height: calc(100svh - var(--header-h) - 36px);
    min-height: 440px;
    max-height: 760px;
  }

  .chat__back {
    display: inline-grid;
  }

  .chat__head {
    padding: 11px 14px;
  }

  .chat__body {
    padding: 20px 16px;
  }

  .chat__bubble {
    max-width: 88%;
  }

  .chat__placeholder {
    display: none;
  }

  .chat__intro {
    margin-top: 7vh;
  }

  .messages-empty {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 24px;
    row-gap: 22px;
  }

  .messages-empty__mark {
    margin-bottom: 6px;
    font-size: 6.5rem;
    line-height: 0.55;
    text-align: left;
  }

  .notifications-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .notifications-aside {
    position: static;
  }
}

@media (max-width: 600px) {
  .toast-dock {
    top: calc(var(--header-h) + 10px);
    right: 12px;
    left: 12px;
    width: auto;
  }

  .toast {
    gap: 12px;
    padding: 15px 13px 17px 15px;
  }

  .toast__message {
    font-size: 12.5px;
  }

  .messages-head h1 {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }

  .messages-head__lead {
    font-size: 13px;
  }

  .chat__identity h2 {
    font-size: 16px;
  }

  .chat__avatar {
    width: 38px;
    height: 48px;
  }

  .chat__form {
    grid-template-columns: minmax(0, 1fr);
  }

  .chat__send {
    width: 100%;
    min-height: 44px;
  }

  .chat__composer-meta {
    font-size: 9px;
  }

  .chat__limit-actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .chat__limit-actions form {
    display: block;
  }

  .chat__limit-actions .button {
    width: 100%;
    padding-inline: 6px;
    font-size: 8.5px;
  }

  .chat__limit-note {
    margin-top: 0;
  }

  .messages-empty__body h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .notification-card {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 13px;
    padding: 17px;
  }

  .notification-card__icon {
    width: 40px;
    height: 40px;
  }

  .notification-card__icon .icon {
    width: 17px;
    height: 17px;
  }

  .notification-card h2 {
    font-size: 19px;
  }

  .notification-card p {
    font-size: 12.5px;
  }

  .notifications-aside {
    padding: 22px;
  }
}

@media (max-width: 380px) {
  .chat__credits {
    display: none;
  }

  .chat__head {
    gap: 10px;
    padding-inline: 13px;
  }

  .chat__back {
    width: 33px;
    height: 33px;
  }

  .chat__composer {
    padding-inline: 13px;
  }

  .notification-card {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .notification-card__icon {
    width: 36px;
    height: 36px;
  }

  .notification-card__icon .icon {
    width: 16px;
    height: 16px;
  }

  .notification-card h2 {
    font-size: 18px;
  }

  .notifications-aside {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .toast,
  .toast.is-leaving {
    animation: none;
  }

  .toast__progress {
    display: none;
  }
}

/* ---------- Compact header on phones ---------- */

.logout-form .button {
  white-space: nowrap;
}

.logout-form__label-short {
  display: none;
}

@media (max-width: 680px) {
  .header__inner {
    gap: 12px;
  }

  .header__actions {
    gap: 12px;
  }

  .brand {
    gap: 7px;
  }

  .brand__name {
    font-size: 21px;
  }

  .age-badge {
    height: 22px;
    padding: 0 6px;
    font-size: 9px;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .header__profile,
  .header__settings,
  .header__messages,
  .header__notifications {
    width: 36px;
    height: 36px;
  }

  .header__profile .icon,
  .header__settings .icon,
  .header__messages .icon,
  .header__notifications .icon {
    width: 17px;
    height: 17px;
  }

  .logout-form .button--header {
    min-height: 36px;
    padding: 0 10px;
    font-size: 9px;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 480px) {
  .logout-form__label {
    display: none;
  }

  .logout-form__label-short {
    display: inline;
  }

  .brand__name {
    font-size: 19px;
  }

  .header__inner {
    gap: 10px;
  }

  .header__actions {
    gap: 10px;
  }

  .logout-form .button--header {
    padding: 0 8px;
    font-size: 8.5px;
  }
}

@media (max-width: 420px) {
  .age-badge {
    display: none;
  }
}

@media (max-width: 360px) {
  .age-badge {
    display: none;
  }

  .brand__name {
    font-size: 18px;
  }

  .nav-toggle {
    width: 36px;
    height: 36px;
  }

  .header__profile,
  .header__settings,
  .header__messages,
  .header__notifications {
    width: 34px;
    height: 34px;
  }

  .logout-form .button--header {
    padding: 0 7px;
    font-size: 8px;
  }
}

@media (max-width: 340px) {
  .header__notifications {
    display: none;
  }
}

/* ---------- Messages app surface ---------- */

.messages-page {
  padding-block: clamp(22px, 3vw, 36px) clamp(64px, 8vw, 100px);
}

.messages-head {
  align-items: center;
  padding-bottom: 18px;
}

.messages-head h1 {
  margin-top: 6px;
  font-size: clamp(2.5rem, 4.2vw, 3.6rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.messages-head__lead {
  max-width: 46ch;
  font-size: 12.5px;
  line-height: 1.55;
}

.messages-offer {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.messages-shell {
  height: clamp(560px, calc(100svh - var(--header-h) - 205px), 840px);
  grid-template-columns: minmax(0, 336px) minmax(0, 1fr);
  margin-top: 16px;
  border-color: var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.messages-rail {
  border-right-color: var(--line);
  background: #0c0c10;
}

.messages-rail__head {
  padding: 16px 14px 12px;
  border-bottom: 0;
}

.messages-rail__title-row {
  align-items: center;
}

.messages-rail__heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.messages-rail__heading h2 {
  font-size: 19px;
  letter-spacing: -0.03em;
}

.messages-rail__count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface-raised);
  color: var(--muted);
  font-size: 9px;
}

.messages-rail__compose {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  border-radius: var(--radius);
  background: var(--surface-raised);
  color: var(--muted);
  transition: background 160ms ease, color 160ms ease;
}

.messages-rail__compose:hover {
  background: var(--pink);
  color: var(--bg);
}

.messages-rail__compose .icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.thread-search {
  display: flex;
  height: 36px;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--field);
  transition: border-color 160ms ease, background 160ms ease;
}

.thread-search:focus-within {
  border-color: rgba(255, 47, 116, 0.55);
  background: #0b0b0f;
}

.thread-search__icon {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: var(--dim);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.thread-search input {
  width: 100%;
  height: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 12.5px;
  outline: none;
}

.thread-search input::placeholder {
  color: var(--dim);
}

.messages-rail__credits {
  margin-top: 10px;
  font-size: 9px;
}

.messages-rail__note {
  flex: none;
  margin: 0;
  padding: 11px 14px 12px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 9.5px;
  line-height: 1.45;
}

.thread-item:not(:last-child) {
  border-bottom-color: rgba(255, 255, 255, 0.04);
}

.thread-item a {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 11px;
  padding: 10px 14px;
  transition: background 140ms ease;
}

.thread-item a:hover {
  background: rgba(255, 255, 255, 0.04);
}

.thread-item.is-active a {
  background: rgba(255, 47, 116, 0.085);
  box-shadow: none;
}

.thread-item__avatar-wrap {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
}

.thread-item__avatar {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface-raised);
  object-fit: cover;
}

.thread-item__name {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0;
}

.thread-item__time {
  color: var(--dim);
  font-family: inherit;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.thread-item__snippet {
  margin-top: 3px;
  font-size: 12px;
}

.thread-item__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 7px;
  padding: 2px 6px;
  border: 1px solid var(--looking-line, var(--looking-sex-line));
  border-radius: var(--radius);
  background: var(--looking-soft, var(--looking-sex-soft));
  color: var(--looking-accent, var(--looking-sex));
  font-family: "Archivo", sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-transform: uppercase;
  vertical-align: 1px;
}

.thread-item__tag::before {
  width: 4px;
  height: 4px;
  flex: none;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.thread-item.is-active .thread-item__name {
  color: var(--white);
}

.thread-list__empty--search {
  border-top: 1px solid var(--line);
}

.presence-dot {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--online);
  box-shadow: 0 0 0 2.5px #0c0c10;
  animation: presence-blink 2.6s ease-in-out infinite;
}

.presence-dot::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--online);
  content: "";
  pointer-events: none;
  animation: presence-pulse 2.6s ease-out infinite;
}

.presence-dot--live {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: none;
  box-shadow: 0 0 0 3px rgba(185, 245, 107, 0.12);
}

.presence-dot--small {
  position: relative;
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: none;
  box-shadow: none;
}

.presence-dot--offline,
.presence-dot--offline::after {
  animation: none;
}

.presence-dot--offline {
  background: #5d5d66;
  box-shadow: 0 0 0 2.5px #0c0c10;
}

.presence-dot--offline::after {
  display: none;
}

.thread-item:nth-child(2n) .presence-dot,
.thread-item:nth-child(2n) .presence-dot::after {
  animation-delay: 0.7s;
}

.thread-item:nth-child(3n) .presence-dot,
.thread-item:nth-child(3n) .presence-dot::after {
  animation-delay: 1.3s;
}

.thread-item:nth-child(4n) .presence-dot,
.thread-item:nth-child(4n) .presence-dot::after {
  animation-delay: 0.3s;
}

@keyframes presence-pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  70%,
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

@keyframes presence-blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.55;
  }
}

.chat {
  background: #0a0a0d;
}

.chat__head {
  gap: 12px;
  padding: 12px 18px;
  border-bottom-color: var(--line);
  background: rgba(16, 16, 20, 0.94);
}

.chat__back {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface-raised);
  color: var(--muted);
}

.chat__back:hover {
  background: var(--surface);
  color: var(--white);
}

.chat__avatar-wrap {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  flex: none;
}

.chat__avatar {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  object-fit: cover;
}

.chat__avatar-wrap .presence-dot {
  bottom: 0;
  right: 0;
  box-shadow: 0 0 0 2.5px var(--surface-raised);
}

.chat__avatar-wrap .presence-dot--offline {
  box-shadow: 0 0 0 2.5px var(--surface-raised);
}

.chat__identity h2 {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.chat__status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  margin-top: 4px;
  color: var(--dim);
  font-size: 11px;
  line-height: 1.35;
}

.chat__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--online);
}

.chat__status--offline {
  color: var(--dim);
}

.chat__status-line .chat__sep {
  margin: 0 2px;
}

.chat__credits {
  padding: 6px 10px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface-raised);
  font-size: 8px;
}

.chat__body {
  padding: 20px 20px 24px;
  background-color: #0a0a0d;
  background-image: radial-gradient(circle at 50% 0%, rgba(255, 47, 116, 0.055), transparent 58%);
}

.chat__day {
  justify-content: center;
  margin: 18px 0 14px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.chat__day::before,
.chat__day::after {
  display: none;
}

.chat__day span {
  padding: 4px 10px;
  border-radius: var(--radius);
  background: var(--surface-raised);
  color: var(--dim);
}

.chat__message {
  align-items: flex-end;
  gap: 7px;
  margin-top: 6px;
}

.chat__message-avatar {
  width: 28px;
  height: 28px;
  flex: none;
  margin-bottom: 2px;
  border-radius: var(--radius);
  object-fit: cover;
}

.chat__bubble {
  max-width: min(72%, 560px);
  padding: 10px 13px 7px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.chat__message--in .chat__bubble {
  border: 0;
  border-bottom-left-radius: 0;
}

.chat__message--out .chat__bubble {
  border: 0;
  border-bottom-right-radius: 0;
  background: var(--pink);
  color: var(--bg);
}

.chat__bubble--image {
  padding: 4px 4px 6px;
}

.chat__image-link {
  display: block;
  width: 280px;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: #08080a;
}

.chat__image {
  display: block;
  width: 100%;
  max-height: 360px;
  border-radius: var(--radius);
  object-fit: cover;
}

.chat__bubble--image .chat__text {
  padding: 5px 9px 0;
}

.chat__bubble--image .chat__stamp {
  padding: 4px 8px 0;
}

.chat__text {
  color: inherit;
  font-size: 13.5px;
  line-height: 1.55;
}

.chat__stamp {
  justify-content: flex-end;
  margin-top: 4px;
  color: var(--dim);
  font-family: inherit;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.chat__message--out .chat__stamp,
.chat__message--out .chat__stamp span {
  color: rgba(8, 8, 10, 0.62);
}

.chat__intro {
  max-width: 460px;
  margin-top: clamp(28px, 7vh, 68px);
}

.chat__intro h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  letter-spacing: -0.04em;
}

.chat__intro-kicker {
  display: inline-block;
  padding: 4px 9px;
  border-radius: var(--radius);
  background: rgba(255, 47, 116, 0.12);
  font-size: 8.5px;
}

.chat__composer {
  padding: 12px 16px 10px;
  border-top-color: var(--line);
  background: var(--surface-raised);
}

.chat__attach-wrap {
  display: flex;
  align-self: end;
}

.chat__attach {
  display: grid;
  width: 42px;
  height: 42px;
  flex: none;
  place-items: center;
  border-radius: var(--radius);
  background: var(--field);
  color: var(--muted);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.chat__attach:hover {
  background: #222228;
  color: var(--white);
}

.chat__attach-wrap:focus-within .chat__attach {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

.chat__attach .icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat__attachment {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  padding: 7px 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--field);
}

.chat__attachment[hidden] {
  display: none;
}

.chat__attachment-thumb {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--radius);
  background: var(--surface);
  object-fit: cover;
}

.chat__attachment-copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 2px;
}

.chat__attachment-copy strong {
  overflow: hidden;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat__attachment-copy span {
  color: var(--dim);
  font-size: 10px;
}

.chat__attachment-remove {
  display: grid;
  width: 28px;
  height: 28px;
  flex: none;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.chat__attachment-remove:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}

.chat__attachment-remove .icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.chat__attach-error {
  margin: 7px 2px 0;
  color: #ff8aab;
  font-size: 11px;
  line-height: 1.45;
}

.chat__attach-error[hidden] {
  display: none;
}

.chat__form {
  gap: 9px;
}

.chat__field {
  border-color: transparent;
  border-radius: var(--radius);
  background: var(--field);
}

.chat__field:focus-within {
  border-color: rgba(255, 47, 116, 0.45);
}

.chat__input {
  min-height: 42px;
  max-height: 132px;
  padding: 11px 14px;
  font-size: 13.5px;
}

.chat__send {
  display: grid;
  width: 42px;
  height: 42px;
  min-height: 0;
  padding: 0;
  flex: none;
  place-items: center;
  border: 0;
  border-radius: var(--radius);
  background: var(--pink);
  color: var(--bg);
  cursor: pointer;
  transition: background 160ms ease, transform 120ms ease;
}

.chat__send:hover {
  background: var(--pink-hover);
}

.chat__send:active {
  transform: scale(0.96);
}

.chat__send:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.chat__send:disabled {
  opacity: 0.55;
  cursor: wait;
}

.chat__send .icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateX(-1px);
}

.chat__composer-meta {
  margin-top: 7px;
  font-size: 8px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.chat--placeholder {
  background: radial-gradient(circle at 50% 20%, rgba(255, 47, 116, 0.06), transparent 46%), #0a0a0d;
}

.chat__placeholder {
  padding: 32px;
}

.chat__placeholder-mark {
  display: grid;
  width: 74px;
  height: 74px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--surface-raised);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--pink);
  font-size: 0;
  line-height: 1;
}

.chat__placeholder-mark .icon {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat__placeholder h2 {
  max-width: 18ch;
  margin-top: 10px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.035em;
}

.messages-empty {
  border-radius: var(--radius);
}

@media (max-width: 1120px) {
  .messages-shell {
    grid-template-columns: minmax(0, 314px) minmax(0, 1fr);
  }
}

@media (max-width: 880px) {
  .messages-page {
    padding-block: 20px clamp(48px, 8vw, 72px);
  }

  .messages-page--thread {
    padding-top: 10px;
  }

  .messages-page--thread .messages-offer {
    display: none;
  }

  .messages-shell {
    height: auto;
    grid-template-columns: minmax(0, 1fr);
    border-radius: var(--radius);
  }

  .messages-page--thread .chat {
    height: calc(100svh - var(--header-h) - 28px);
    min-height: 460px;
    max-height: none;
  }

  .chat__head {
    padding: 9px 13px;
  }

  .chat__body {
    padding: 16px 14px 22px;
  }

  .chat__bubble {
    max-width: 82%;
  }

  .messages-rail__note {
    padding-bottom: 14px;
  }
}

@media (max-width: 600px) {
  .messages-page {
    padding-top: 16px;
  }

  .messages-head {
    gap: 10px;
    padding-bottom: 14px;
  }

  .messages-head h1 {
    font-size: clamp(2.3rem, 11vw, 3rem);
  }

  .messages-head__lead {
    font-size: 12px;
  }

  .messages-offer {
    margin-top: 10px;
  }

  .messages-shell {
    margin-top: 12px;
    border-radius: var(--radius);
  }

  .messages-rail__head {
    padding-inline: 12px;
  }

  .thread-item a {
    padding: 10px 12px;
  }

  .chat__form {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .chat__attach,
  .chat__send {
    width: 40px;
    height: 40px;
    min-height: 0;
  }

  .chat__composer {
    padding: 10px 12px 9px;
  }

  .chat__identity h2 {
    font-size: 14.5px;
  }

  .chat__status-line {
    font-size: 10px;
  }

  .chat__limit-actions {
    display: flex;
  }

  .chat__limit-actions form {
    display: flex;
  }

  .messages-empty {
    border-radius: var(--radius);
  }
}

@media (max-width: 520px) {
  .chat__city,
  .chat__status-line > .chat__sep,
  .chat__profile-link {
    display: none;
  }
}

@media (max-width: 380px) {
  .chat__avatar-wrap {
    width: 40px;
    height: 40px;
  }

  .chat__avatar {
    width: 40px;
    height: 40px;
  }

  .chat__status-line {
    font-size: 9.5px;
  }

  .chat__status-line .chat__sep,
  .chat__status-line .chat__sep ~ * {
    display: none;
  }

  .chat__composer-meta {
    font-size: 8.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .presence-dot,
  .presence-dot::after {
    animation: none;
  }

  .presence-dot::after {
    display: none;
  }

  .picker-card {
    animation: none;
  }
}


/* ---------- Profile photo fallbacks ---------- */

.profile-card__initials {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 47, 116, 0.24), transparent 48%),
    linear-gradient(155deg, #1b1720 0%, #101014 58%, #0b0b0e 100%);
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: clamp(4rem, 7vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 1;
  text-shadow: 0 0 60px rgba(255, 47, 116, 0.3);
}

.lock-card__photo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 47, 116, 0.22), transparent 50%),
    linear-gradient(155deg, #1b1720 0%, #101014 60%, #09090c 100%);
  color: rgba(247, 245, 244, 0.82);
  font-family: "Archivo", sans-serif;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 1;
  filter: blur(9px) saturate(0.8) brightness(0.78);
  transform: scale(1.08);
  transition: filter 350ms ease, transform 550ms ease;
}

.lock-card:hover .lock-card__photo-fallback {
  filter: blur(6px) saturate(0.9) brightness(0.9);
  transform: scale(1.04);
}

.profile-detail__media--initials {
  display: grid;
  aspect-ratio: 7 / 9;
  place-items: center;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 47, 116, 0.24), transparent 48%),
    linear-gradient(155deg, #1b1720 0%, #101014 58%, #0b0b0e 100%);
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 1;
  text-shadow: 0 0 60px rgba(255, 47, 116, 0.3);
}

.thread-item__avatar--initials,
.chat__avatar--initials,
.chat__message-avatar--initials {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 47, 116, 0.3), transparent 55%),
    linear-gradient(155deg, #201a23 0%, #121217 70%);
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.thread-item__avatar--initials {
  font-size: 15px;
}

.chat__avatar--initials {
  font-size: 13px;
}

.chat__message-avatar--initials {
  font-size: 9px;
}

/* ---------- Language switcher ---------- */

.lang-switch {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.lang-switch__item {
  display: inline-flex;
  min-width: 31px;
  height: 23px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: calc(var(--radius) - 1px);
  color: var(--muted);
  font-family: "Archivo", sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease;
}

a.lang-switch__item:hover {
  background: var(--surface-raised);
  color: var(--white);
}

.lang-switch__item.is-active {
  background: var(--pink);
  color: var(--bg);
}

.lang-switch--footer {
  border-color: var(--line-strong);
  background: transparent;
}

.footer__legal-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

@media (max-width: 980px) {
  .lang-switch--header {
    display: none;
  }
}

@media (max-width: 760px) {
  .footer__legal-row {
    align-items: flex-start;
    gap: 14px;
  }
}

/* ---------- Requests after registration ---------- */

.requests-panel {
  position: relative;
  margin-top: clamp(24px, 3.5vw, 36px);
  padding: clamp(20px, 3vw, 28px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% -30%, rgba(255, 47, 116, 0.18), transparent 45%),
    linear-gradient(135deg, rgba(255, 47, 116, 0.06), rgba(255, 47, 116, 0) 55%),
    var(--surface);
}

.requests-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.requests-panel__head h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0 0;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.requests-panel__count {
  display: inline-grid;
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--pink);
  color: var(--bg);
  font-family: "Archivo", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.requests-panel__lead {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.requests-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.request-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 8, 10, 0.62);
  transition: border-color 160ms ease, background 160ms ease;
}

.request-card:hover {
  border-color: rgba(255, 47, 116, 0.42);
  background: rgba(12, 12, 16, 0.9);
}

.request-card__person {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.request-card__avatar {
  width: 58px;
  height: 58px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-raised);
  object-fit: cover;
}

.request-card__avatar--initials {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 47, 116, 0.3), transparent 55%),
    linear-gradient(155deg, #201a23 0%, #121217 70%);
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.request-card__identity {
  min-width: 0;
}

.request-card__name {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.request-card__name a {
  color: var(--white);
  transition: color 160ms ease;
}

.request-card__name a:hover {
  color: var(--pink);
}

.request-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin: 5px 0 0;
  color: var(--dim);
  font-size: 11px;
  line-height: 1.4;
}

.request-card__sep {
  color: var(--line-strong);
}

.request-card__quote {
  flex: 1;
  margin: 0;
  padding: 12px 14px;
  border-left: 2px solid rgba(255, 47, 116, 0.55);
  background: rgba(255, 47, 116, 0.045);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.request-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.request-card__actions form {
  flex: 1 1 108px;
}

.request-card__actions .button {
  width: 100%;
  min-height: 38px;
  padding-inline: 10px;
}

.request-card__open {
  align-self: flex-start;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 47, 116, 0.5);
  color: var(--pink);
  font-family: "Archivo", sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 160ms ease, color 160ms ease;
}

.request-card__open:hover {
  border-color: var(--pink);
  color: var(--pink-hover);
}

.thread-item__request {
  flex: none;
  margin-right: auto;
  padding: 2px 6px;
  border: 1px solid rgba(255, 47, 116, 0.48);
  border-radius: var(--radius);
  color: var(--pink);
  font-family: "Archivo", sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-transform: uppercase;
}

.chat__request {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 18px 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 47, 116, 0.45);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 47, 116, 0.14), rgba(255, 47, 116, 0.035)),
    #0d0d11;
}

.chat__request-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  place-items: center;
  border-radius: var(--radius);
  background: var(--pink);
  color: var(--bg);
}

.chat__request-icon .icon {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: none;
}

.chat__request-copy {
  min-width: 0;
  flex: 1;
}

.chat__request-title {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.chat__request-body {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.chat__request-actions {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 8px;
}

.chat__request-actions form {
  display: flex;
}

.chat__request-actions .button {
  min-height: 36px;
  padding-inline: 12px;
}

@media (max-width: 980px) {
  .requests-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .messages-page--thread .requests-panel {
    display: none;
  }

  .chat__request {
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 10px 13px 0;
    padding: 12px 13px;
  }

  .chat__request-actions {
    width: 100%;
    padding-left: 50px;
  }
}

@media (max-width: 600px) {
  .requests-panel {
    margin-top: 18px;
    padding: 16px 14px;
  }

  .requests-panel__head {
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 14px;
  }

  .requests-panel__lead {
    font-size: 12px;
  }

  .requests-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 14px;
  }

  .request-card {
    padding: 14px;
  }

  .chat__request-actions {
    padding-left: 0;
  }

  .chat__request-actions form {
    flex: 1 1 0;
  }

  .chat__request-actions .button {
    width: 100%;
  }
}

/* ---------- Payment result ---------- */

.payment-result {
  display: flex;
  justify-content: center;
  padding-block: clamp(40px, 7vw, 92px);
}

.payment-result__card {
  max-width: 560px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.payment-result__card h1 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4.4vw, 42px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.payment-result__lead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.payment-result__note {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.65;
}

.payment-result__details {
  display: grid;
  margin: 24px 0;
  border-top: 1px solid var(--line);
}

.payment-result__details > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.payment-result__details dt {
  color: var(--dim);
  font-family: "Archivo", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-result__details dd {
  margin: 0;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-align: right;
}

.payment-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.payment-result__actions .button {
  flex: 1 1 180px;
}

/* ---------- Wheel of fortune ---------- */

.wheel-page {
  padding-block: clamp(30px, 4vw, 52px) clamp(64px, 8vw, 104px);
}

.wheel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 22px clamp(28px, 5vw, 72px);
  align-items: end;
  padding-bottom: clamp(22px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}

.wheel-head h1 {
  margin: 8px 0 0;
  font-size: clamp(3rem, 5.6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.wheel-head__lead {
  max-width: 46ch;
  margin: 0;
  justify-self: end;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.wheel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  margin-top: clamp(24px, 4vw, 42px);
}

.wheel-stage {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px) clamp(18px, 3vw, 40px) clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 47, 116, 0.1), transparent 62%),
    var(--surface);
}

.wheel-stage::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 30%);
  content: "";
  pointer-events: none;
}

.wheel-disc {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #0b0b0e;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 0 60px rgba(255, 47, 116, 0.06);
}

.wheel-rotor {
  width: 100%;
  height: 100%;
  transform: rotate(var(--wheel-rest, 0deg));
  will-change: transform;
}

.wheel-stage.is-fresh .wheel-rotor {
  animation: wheel-spin 4.2s cubic-bezier(0.12, 0.72, 0.16, 1) both;
}

.wheel {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.wheel__label {
  font-family: "Archivo", sans-serif;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.wheel-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 21%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 47, 116, 0.55);
  border-radius: 50%;
  background: var(--bg);
  box-shadow:
    0 0 0 8px rgba(8, 8, 10, 0.7),
    0 8px 20px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, -50%);
}

.wheel-hub .icon {
  width: 34%;
  height: 34%;
  fill: var(--pink);
  stroke: none;
}

.wheel-pointer {
  position: absolute;
  top: -7px;
  left: 50%;
  z-index: 3;
  width: 42px;
  height: auto;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55));
  transform: translateX(-50%);
}

.wheel-pointer path {
  fill: var(--pink);
  stroke: var(--bg);
  stroke-linejoin: round;
  stroke-width: 4;
}

.wheel-stage__hint {
  position: relative;
  margin: 0;
  color: var(--dim);
  font-size: 12px;
  text-align: center;
}

.wheel-stage__locked {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 11px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  font-family: "Archivo", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.wheel-stage__locked .icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--pink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.wheel-form {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 300px;
}

.wheel-form__button {
  width: 100%;
  min-height: 54px;
}

.wheel-form__button .icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.wheel-form__button[aria-busy="true"] .icon {
  animation: wheel-button-spin 1s linear infinite;
}

.wheel-panel {
  display: grid;
  gap: 22px;
}

.wheel-balance {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-left: 2px solid var(--pink);
  background: var(--surface);
}

.wheel-balance__label {
  margin: 0 0 8px;
  color: var(--dim);
  font-family: "Archivo", sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wheel-balance__value {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: clamp(44px, 6vw, 62px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.wheel-balance__value .icon {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--pink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.wheel-balance__unit {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.wheel-balance__note {
  margin: 10px 0 0;
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.5;
}

.wheel-balance.is-credited {
  animation: credit-pop 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.wheel-status {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  background: var(--surface-raised);
}

.wheel-status--fresh {
  animation: wheel-result-in 520ms cubic-bezier(0.2, 0.7, 0.2, 1) 4.35s both;
}

.wheel-status h2 {
  margin: 8px 0 0;
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.wheel-status p:not(.hero__eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.wheel-status p.wheel-status__next {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 12px;
}

.wheel-status__next .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  fill: none;
  stroke: var(--pink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.wheel-how {
  padding-top: 4px;
}

.wheel-how h3 {
  margin: 0 0 12px;
  color: var(--dim);
  font-family: "Archivo", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.wheel-how ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wheel-how li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.wheel-how li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 47, 116, 0.12);
  content: "";
}

.wheel-panel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.wheel-panel__actions .button {
  flex: 1 1 180px;
}

.wheel-panel__actions .text-link {
  white-space: nowrap;
}

@keyframes wheel-spin {
  from {
    transform: rotate(var(--wheel-from, 0deg));
  }
  to {
    transform: rotate(var(--wheel-to, 1800deg));
  }
}

@keyframes wheel-result-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes wheel-button-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes credit-pop {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.045);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 980px) {
  .wheel-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .wheel-head__lead {
    justify-self: start;
  }

  .wheel-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .wheel-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .wheel-panel__actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .wheel-head h1 {
    font-size: clamp(2.7rem, 11vw, 3.6rem);
  }

  .wheel-stage {
    gap: 18px;
    padding: 22px 14px 26px;
  }

  .wheel-disc {
    width: min(100%, 360px);
  }

  .wheel-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .wheel-panel__actions {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-dot {
    animation: none;
  }

  .header__credits.is-credited,
  .wheel-balance.is-credited {
    animation: none;
  }

  .wheel-stage.is-fresh .wheel-rotor {
    animation: none;
    transform: rotate(var(--wheel-rest, 0deg));
  }

  .wheel-status--fresh {
    animation: none;
  }

  .wheel-form__button[aria-busy="true"] .icon {
    animation: none;
  }
}

/* Séria točení */
.wheel-streak {
  padding: clamp(20px, 3vw, 26px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.wheel-streak.is-bonus {
  border-color: rgba(255, 47, 116, 0.45);
  background:
    linear-gradient(180deg, rgba(255, 47, 116, 0.09), transparent 70%),
    var(--surface);
}

.wheel-streak__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
}

.wheel-streak__head .wheel-balance__label {
  margin: 0;
}

.wheel-streak__value {
  margin: 0;
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wheel-streak__track {
  display: flex;
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.wheel-streak__track li {
  flex: 1 1 0;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.wheel-streak__track li.is-on {
  background: var(--pink);
}

.wheel-streak__track li.is-target {
  outline: 1px solid rgba(255, 47, 116, 0.5);
  outline-offset: 2px;
}

.wheel-streak__hint {
  margin: 14px 0 0;
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.55;
}

.wheel-streak.is-bonus .wheel-streak__hint {
  color: var(--pink);
}

/* Tabuľka výhier */
.wheel-prizes {
  padding-top: 4px;
}

.wheel-prizes h3 {
  margin: 0 0 12px;
  color: var(--dim);
  font-family: "Archivo", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.wheel-prizes ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wheel-prizes li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.wheel-prizes li.is-top {
  border-color: rgba(255, 47, 116, 0.45);
  background: rgba(255, 47, 116, 0.08);
}

.wheel-prizes__credits {
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wheel-prizes li.is-top .wheel-prizes__credits {
  color: var(--pink);
}

.wheel-prizes__share {
  color: var(--dim);
  font-size: 11.5px;
}

/* Hodnota výhry vo výsledku */
.wheel-status p.wheel-status__value {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 12.5px;
}

.wheel-status__value strong {
  color: var(--pink);
  font-family: "Archivo", sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.wheel-panel__price {
  margin: 0;
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.6;
}

.wheel-panel__promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 11px 0 0;
  color: var(--pink);
  font-size: 11.5px;
  line-height: 1.5;
}

.wheel-panel__promo-active {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.wheel-panel__promo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 47, 116, 0.14);
}

.wheel-panel__promo [data-promo-compact] {
  color: var(--white);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.wheel-panel__promo-expired {
  color: var(--muted);
}

/* Jackpot */
.wheel-stage.is-jackpot {
  border-color: rgba(255, 47, 116, 0.55);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 47, 116, 0.26), transparent 66%),
    var(--surface);
  box-shadow:
    0 0 0 1px rgba(255, 47, 116, 0.35),
    0 24px 60px rgba(255, 47, 116, 0.18);
}

.wheel-stage.is-jackpot::before {
  background: linear-gradient(180deg, rgba(255, 47, 116, 0.16), transparent 40%);
}

@media (min-width: 1081px) and (min-height: 780px) {
  /* Koleso zostáva na obrazovke, kým si človek číta výhry a ceny
     v pravom stĺpci — inak by pod ním zostala prázdna polovica.
     Na nízkych oknách by sa ale tlačidlo točenia odrezalo. */
  .wheel-stage {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

/* ---------- Discovery, attention and progress ---------- */

.profile-nav {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 22px;
}

.profile-nav__step {
  display: flex;
  flex: 0 1 268px;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.profile-nav__step:hover,
.profile-nav__step:focus-visible {
  border-color: rgba(255, 47, 116, 0.55);
  background: rgba(255, 47, 116, 0.06);
  color: var(--white);
}

.profile-nav__step--next {
  justify-content: flex-end;
  margin-left: auto;
  text-align: right;
}

.profile-nav__step--empty {
  visibility: hidden;
}

.profile-nav__arrow {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--pink);
}

.profile-nav__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.profile-nav__label {
  color: var(--dim);
  font-family: "Archivo", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.profile-nav__name {
  overflow: hidden;
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-nav__position {
  display: flex;
  flex: 1;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  color: var(--dim);
  font-family: "Archivo", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.profile-nav__position strong {
  color: var(--white);
  font-size: 17px;
  letter-spacing: -0.01em;
}

.profile-nav__hint {
  margin: 10px 0 0;
  color: var(--dim);
  font-size: 11.5px;
}

.profile-card__badge--seen {
  top: auto;
  bottom: 12px;
  border: 1px solid rgba(247, 245, 244, 0.18);
  background: rgba(8, 8, 10, 0.78);
  color: var(--muted);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.attention {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 26px 0 32px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(115deg, rgba(255, 47, 116, 0.07), rgba(255, 47, 116, 0) 48%),
    var(--surface);
}

.attention__progress {
  flex: 1;
  min-width: 0;
}

.attention__title {
  margin: 0 0 11px;
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.attention__meter {
  height: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
}

.attention__meter-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--pink-deep), var(--pink));
}

.attention__fresh {
  flex: 0 1 46%;
  min-width: 0;
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.attention__fresh-title {
  margin: 0 0 9px;
  color: var(--dim);
  font-family: "Archivo", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.attention__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.attention__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease;
}

.attention__chip strong {
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.attention__chip:hover,
.attention__chip:focus-visible {
  border-color: var(--pink);
  color: var(--white);
}

.attention__chip--message {
  border-color: rgba(255, 47, 116, 0.45);
  color: var(--pink-hover);
}

.attention__chip--message strong {
  color: var(--pink);
}

.progress {
  padding: 4px 0 88px;
}

.progress__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.progress__head h2 {
  margin: 8px 0 0;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.02em;
}

.progress__points {
  margin: 0 0 4px;
  color: var(--pink);
  font-family: "Archivo", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.progress__meter {
  height: 6px;
  margin-top: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
}

.progress__meter-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--pink-deep), var(--pink));
}

.progress__next {
  margin: 11px 0 0;
  color: var(--dim);
  font-size: 12.5px;
}

.progress__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.progress__stats li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--dim);
  font-size: 11px;
}

.progress__stats strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.progress__badges-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 42px 0 16px;
}

.progress__subtitle {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.progress__badges-count {
  margin: 0;
  color: var(--dim);
  font-family: "Archivo", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.badge-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.badge-card.is-earned {
  border-color: rgba(255, 47, 116, 0.32);
  background:
    linear-gradient(140deg, rgba(255, 47, 116, 0.08), rgba(255, 47, 116, 0) 62%),
    var(--surface);
}

.badge-card__mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--dim);
}

.badge-card.is-earned .badge-card__mark {
  border-color: rgba(255, 47, 116, 0.5);
  background: rgba(255, 47, 116, 0.1);
  color: var(--pink);
}

.badge-card__mark .icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.badge-card__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.badge-card__name {
  color: var(--muted);
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.badge-card.is-earned .badge-card__name {
  color: var(--white);
}

.badge-card__detail {
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.45;
}

.badge-card__count {
  margin-top: 2px;
  color: var(--dim);
  font-family: "Archivo", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.thread-item__unread {
  position: absolute;
  top: -6px;
  right: -6px;
  display: inline-grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  padding: 0 4px;
  border: 2px solid var(--bg);
  border-radius: 9px;
  background: var(--pink);
  color: var(--bg);
  font-family: "Archivo", sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 900px) {
  .attention {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .attention__fresh {
    flex: none;
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .badge-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .progress__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .profile-nav {
    gap: 8px;
  }

  .profile-nav__step {
    flex: 0 0 auto;
    padding: 12px;
  }

  .profile-nav__copy,
  .profile-nav__hint {
    display: none;
  }

  .profile-nav__position {
    font-size: 10px;
  }

  .profile-nav__position strong {
    font-size: 15px;
  }

  .attention {
    margin: 20px 0 26px;
    padding: 18px;
  }

  .progress {
    padding-bottom: 64px;
  }

  .progress__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .progress__points {
    margin: 0;
  }

  .badge-grid {
    grid-template-columns: 1fr;
  }

  .lock-card__status {
    top: 7px;
    left: 7px;
    gap: 5px;
    padding: 5px 6px;
    font-size: 8.5px;
  }
}

/* ---------- Živé prvky ----------
   Jemný pohyb oživí stránku, ale nič nepredstiera: pulzuje len to, čo
   naozaj niečo znamená (neprečítané správy, pripravené kolo, nový
   profil, získaný odznak), plus jednorazové oslavy. Všetko sa vypína
   pri prefers-reduced-motion. */

.header__notification-count,
.header__message-count,
.thread-item__unread {
  animation: live-badge-beat 2.8s ease-in-out infinite;
}

@keyframes live-badge-beat {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 47, 116, 0.5);
  }

  55% {
    transform: scale(1.1);
    box-shadow: 0 0 0 7px rgba(255, 47, 116, 0);
  }
}

.thread-item.is-unread a {
  box-shadow: inset 2px 0 0 rgba(255, 47, 116, 0.75);
}

.attention__chip--message {
  animation: live-soft-glow 3.4s ease-in-out infinite;
}

.attention__chip--wheel {
  position: relative;
  animation: live-soft-glow 4.2s ease-in-out 0.6s infinite;
}

.attention__chip--wheel::after {
  color: var(--pink);
  content: "✦";
  font-size: 11px;
  line-height: 1;
  animation: live-star-twinkle 2.4s ease-in-out infinite;
}

@keyframes live-soft-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 47, 116, 0);
  }

  50% {
    box-shadow: 0 0 20px -6px rgba(255, 47, 116, 0.7);
  }
}

@keyframes live-star-twinkle {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.8) rotate(0deg);
  }

  50% {
    opacity: 1;
    transform: scale(1.15) rotate(18deg);
  }
}

.attention__meter-fill,
.progress__meter-fill {
  position: relative;
  overflow: hidden;
}

.attention__meter-fill::after,
.progress__meter-fill::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, 0.45) 50%, transparent 75%);
  content: "";
  transform: translateX(-130%);
  animation: live-meter-sheen 5.6s ease-in-out infinite;
}

@keyframes live-meter-sheen {
  0%,
  60% {
    transform: translateX(-130%);
  }

  100% {
    transform: translateX(130%);
  }
}

.badge-card.is-earned .badge-card__mark {
  animation: live-soft-glow 3.8s ease-in-out infinite;
}

.brand__mark {
  transform-origin: center;
  animation: live-brand-twinkle 6.4s ease-in-out infinite;
}

@keyframes live-brand-twinkle {
  0%,
  78%,
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }

  84% {
    opacity: 0.65;
    transform: scale(0.88) rotate(-6deg);
  }

  90% {
    opacity: 1;
    transform: scale(1.1) rotate(4deg);
  }

  94% {
    opacity: 0.9;
    transform: scale(1);
  }
}

.profile-new {
  animation: live-new-glow 3.2s ease-in-out infinite;
}

@keyframes live-new-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(185, 245, 107, 0);
  }

  50% {
    box-shadow: 0 0 16px -5px rgba(185, 245, 107, 0.7);
  }
}

.profile-card__badge--new {
  animation: live-new-blink 3.6s ease-in-out infinite;
}

@keyframes live-new-blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.78;
  }
}

.wheel-form__button:not([aria-busy="true"]) {
  animation: live-soft-glow 3.6s ease-in-out infinite;
}

.wheel-status--fresh .wheel-status__value strong {
  animation: live-win-glow 3s ease-in-out 5s infinite;
}

@keyframes live-win-glow {
  0%,
  100% {
    text-shadow: 0 0 0 rgba(255, 47, 116, 0);
  }

  50% {
    text-shadow: 0 0 18px rgba(255, 47, 116, 0.65);
  }
}

.profile-card__heart {
  transition: transform 160ms ease;
}

.profile-card__actions button:hover .profile-card__heart,
.profile-detail__actions button:hover .profile-card__heart {
  transform: scale(1.16);
}

.profile-card__actions button:active .profile-card__heart,
.profile-detail__actions button:active .profile-card__heart {
  transform: scale(1.3);
}

.profile-detail__heart-form.is-selected .profile-card__heart {
  fill: var(--pink);
  stroke: var(--pink);
  animation: live-heart-beat 1.1s ease-in-out 1;
}

@keyframes live-heart-beat {
  0%,
  100% {
    transform: scale(1);
  }

  22% {
    transform: scale(1.24);
  }

  44% {
    transform: scale(1);
  }

  62% {
    transform: scale(1.14);
  }
}

/* Prvý dojem na domovskej stránke: jemný pulz pod titulkom a dýchajúci
   rám fotky. Nič nebliká rýchlo, len to na fotke "žije". */
.hero__overlay .hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__overlay .hero__eyebrow::before {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--pink);
  content: "";
  animation: live-dot-pulse 2.4s ease-in-out infinite;
}

@keyframes live-dot-pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 47, 116, 0.6);
  }

  55% {
    opacity: 0.75;
    box-shadow: 0 0 0 6px rgba(255, 47, 116, 0);
  }
}

.hero__media::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  box-shadow: inset 0 0 90px rgba(255, 47, 116, 0.3);
  content: "";
  opacity: 0;
  pointer-events: none;
  animation: live-hero-halo 7s ease-in-out infinite;
}

@keyframes live-hero-halo {
  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media::before,
  .hero__overlay .hero__eyebrow::before,
  .header__notification-count,
  .header__message-count,
  .thread-item__unread,
  .attention__chip--message,
  .attention__chip--wheel,
  .attention__chip--wheel::after,
  .attention__meter-fill::after,
  .progress__meter-fill::after,
  .badge-card.is-earned .badge-card__mark,
  .brand__mark,
  .profile-new,
  .profile-card__badge--new,
  .wheel-form__button,
  .wheel-status--fresh .wheel-status__value strong,
  .profile-detail__heart-form.is-selected .profile-card__heart,
  .live__dot--online,
  .lock-card__status .presence-dot,
  .lock-card__status .presence-dot::after {
    animation: none;
  }

  .profile-card__heart {
    transition: none;
  }
}
/* ---------- Password reset and unsubscribe ---------- */

.auth-page {
  padding-block: clamp(40px, 6vw, 76px) clamp(72px, 9vw, 120px);
}

.auth-page__card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line);
  border-top: 2px solid var(--pink);
  background: var(--surface);
}

.auth-page__card h1 {
  margin: 12px 0 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.auth-page__lead {
  max-width: 52ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.auth-page .auth-form {
  margin-top: 26px;
}

.auth-page__switch {
  margin-top: 22px;
}

.auth-page__actions {
  margin: 26px 0 0;
}

.auth-form__forgot {
  margin: -4px 0 0;
}

.check__copy {
  display: grid;
  gap: 3px;
}

.check__title {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.check__hint {
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.5;
}

.settings-form {
  margin-top: 22px;
}
