:root {
  color-scheme: dark;
  --ink: #f5f7fb;
  --muted: #9299a9;
  --muted-2: #656d7e;
  --bg: #07090e;
  --panel: rgba(16, 19, 28, 0.86);
  --panel-solid: #11151f;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.15);
  --accent: #87f6d2;
  --accent-rgb: 135, 246, 210;
  --accent-2: #8a72ff;
  --danger: #ff6b7a;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
  --radius-lg: 30px;
  --radius-md: 20px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.22, 1.45, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 48% -18%, rgba(95, 73, 190, 0.18), transparent 39%),
    linear-gradient(180deg, #090b12 0%, #07090e 100%);
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

button:not(:disabled) {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

::selection {
  color: #07100d;
  background: var(--accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ambient,
.cursor-light {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient {
  z-index: 0;
  overflow: hidden;
}

.ambient__orb {
  position: absolute;
  width: 40rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(105px);
  opacity: 0.11;
  animation: float-orb 18s ease-in-out infinite alternate;
}

.ambient__orb--one {
  top: -25rem;
  left: -12rem;
  background: #845dff;
}

.ambient__orb--two {
  right: -20rem;
  bottom: -28rem;
  background: var(--accent);
  animation-delay: -8s;
}

.ambient__grid {
  position: absolute;
  inset: 0;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.cursor-light {
  z-index: 1;
  width: 34rem;
  height: 34rem;
  inset: auto;
  left: 0;
  top: 0;
  border-radius: 50%;
  opacity: 0.08;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.62), transparent 67%);
  transform: translate3d(calc(var(--pointer-x, 50vw) - 50%), calc(var(--pointer-y, 30vh) - 50%), 0);
  transition: opacity 0.3s ease;
  will-change: transform;
}

.app-shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1460px, calc(100% - 56px));
  height: 82px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.055em;
  text-decoration: none;
}

.brand sup {
  margin: -13px 0 0 -4px;
  color: var(--muted-2);
  font-family: "DM Sans", sans-serif;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand__mark {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  filter: drop-shadow(0 8px 18px rgba(108, 79, 255, 0.22));
  transition: transform 0.5s var(--ease-spring), filter 0.45s ease;
}

.brand:hover .brand__mark {
  transform: translateY(-2px) rotate(-4deg) scale(1.06);
  filter: drop-shadow(0 10px 24px rgba(108, 79, 255, 0.34));
}

.topbar__right,
.live-count {
  display: flex;
  align-items: center;
}

.topbar__right {
  gap: 14px;
}

.live-count {
  gap: 7px;
  color: var(--muted);
  font-size: 0.86rem;
}

.live-count strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.live-count__pulse {
  position: relative;
  width: 7px;
  height: 7px;
  margin-right: 2px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.08);
}

.live-count__pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  border-radius: inherit;
  animation: live-pulse 2.2s ease-out infinite;
}

.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.icon-button:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.065);
  transform: translateY(-2px);
}

.sound-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 14px;
}

.sound-bars i {
  display: block;
  width: 2px;
  height: 7px;
  border-radius: 2px;
  background: var(--muted);
  animation: sound-wave 0.85s ease-in-out infinite alternate;
}

.sound-bars i:nth-child(2) {
  height: 13px;
  animation-delay: -0.3s;
}

.sound-bars i:nth-child(3) {
  height: 9px;
  animation-delay: -0.55s;
}

.sound-button[aria-pressed="false"] .sound-bars i {
  height: 2px;
  animation: none;
}

.workspace {
  width: min(1460px, calc(100% - 56px));
  margin: 0 auto;
}

.match-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  min-height: 84px;
  padding: 2px 4px 18px;
}

.match-toolbar__intro {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 5px;
}

.eyebrow {
  color: var(--muted-2);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow--danger {
  color: var(--danger);
}

.profession-trigger {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 228px;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: transparent;
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-align: left;
}

.profession-trigger::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.profession-trigger:hover::after {
  transform: scaleX(1);
}

.profession-trigger__icon {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  color: #07100d;
  border-radius: 8px;
  background: var(--accent);
  font-size: 0.76rem;
  box-shadow: 0 0 25px rgba(var(--accent-rgb), 0.22);
  transition: background 0.5s ease, transform 0.45s var(--ease-spring);
}

.profession-trigger:hover .profession-trigger__icon {
  transform: rotate(15deg) scale(1.08);
}

.chevron {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 1.1rem;
}

.quick-filters {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.filter-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 39px;
  padding: 0 14px;
  overflow: hidden;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.32s var(--ease-spring),
    box-shadow 0.25s ease;
}

.filter-chip span {
  color: var(--muted-2);
  transition: color 0.25s ease, transform 0.32s var(--ease-spring);
}

.filter-chip:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.filter-chip:hover span {
  transform: rotate(8deg) scale(1.1);
}

.filter-chip.is-active {
  color: #07100d;
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 8px 28px rgba(var(--accent-rgb), 0.12);
}

.filter-chip.is-active span {
  color: inherit;
}

.filter-chip--more {
  border-style: dashed;
}

.conversation-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.72fr);
  min-height: min(710px, calc(100vh - 190px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(12, 14, 21, 0.72);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(26px);
  isolation: isolate;
}

.conversation-stage::before {
  content: "";
  position: absolute;
  z-index: 6;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.profession-wave {
  position: absolute;
  z-index: 20;
  width: 28px;
  height: 28px;
  top: 0;
  left: 28%;
  pointer-events: none;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
}

.conversation-stage.is-filtering .profession-wave {
  animation: profession-wave 0.82s var(--ease-out);
}

.presence-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 46%, rgba(var(--accent-rgb), 0.105), transparent 31%),
    linear-gradient(145deg, rgba(30, 34, 46, 0.76), rgba(12, 15, 23, 0.94));
}

.presence-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(255, 255, 255, 0.035) 4px);
  mix-blend-mode: overlay;
}

.presence-panel__top {
  position: absolute;
  z-index: 5;
  top: 24px;
  right: 26px;
  left: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.connection-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(245, 247, 251, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.connection-label__dot,
.secure-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.6);
}

.connection-time {
  color: rgba(245, 247, 251, 0.48);
  font-family: "Manrope", monospace;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.signal-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.signal-field::before,
.signal-field::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 1px;
  top: 50%;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.16), transparent);
}

.signal-field::before {
  left: 0;
}

.signal-field::after {
  right: 0;
  transform: rotate(90deg);
}

.signal-field__halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.18;
  mix-blend-mode: screen;
}

.signal-field__halo--a {
  width: 28rem;
  height: 28rem;
  top: 12%;
  left: 23%;
  background: var(--accent);
  animation: halo-drift 11s ease-in-out infinite alternate;
}

.signal-field__halo--b {
  width: 20rem;
  height: 20rem;
  right: 4%;
  bottom: 7%;
  background: var(--accent-2);
  animation: halo-drift 14s ease-in-out -5s infinite alternate-reverse;
}

.signal-field__orbit {
  position: absolute;
  width: min(38vw, 470px);
  aspect-ratio: 1;
  top: 48%;
  left: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: orbit-breathe 6s ease-in-out infinite;
}

.signal-field__orbit::before,
.signal-field__orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
}

.signal-field__orbit::before {
  inset: 14%;
}

.signal-field__orbit::after {
  inset: 28%;
}

.signal-field__orbit i {
  position: absolute;
  width: 5px;
  height: 5px;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 15px var(--accent);
  transform-origin: 0 0;
}

.signal-field__orbit i:nth-child(1) {
  animation: satellite 9s linear infinite;
}

.signal-field__orbit i:nth-child(2) {
  background: var(--accent-2);
  animation: satellite-reverse 12s linear -3s infinite;
}

.signal-field__orbit i:nth-child(3) {
  width: 3px;
  height: 3px;
  animation: satellite-small 7s linear -5s infinite;
}

.signal-field__scan {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -15%;
  width: 19%;
  opacity: 0.13;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  filter: blur(20px);
  transform: skewX(-15deg);
  animation: scan-field 9s ease-in-out infinite;
}

.profile-focus {
  position: absolute;
  z-index: 3;
  top: 49%;
  left: 50%;
  display: flex;
  width: min(82%, 680px);
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translate(-50%, -50%);
  transition: filter 0.45s ease, opacity 0.45s ease, transform 0.55s var(--ease-out);
}

.profile-focus.is-leaving {
  filter: blur(12px);
  opacity: 0;
  transform: translate(-50%, -44%) scale(0.92);
}

.profile-focus.is-entering {
  animation: profile-enter 0.9s var(--ease-out) both;
}

.avatar-orbit {
  position: relative;
  display: grid;
  width: 164px;
  height: 164px;
  margin-bottom: 27px;
  place-items: center;
}

.avatar-orbit__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(var(--accent-rgb), 0.32);
  border-radius: 45% 55% 48% 52% / 52% 42% 58% 48%;
  box-shadow: 0 0 45px rgba(var(--accent-rgb), 0.1), inset 0 0 25px rgba(var(--accent-rgb), 0.06);
  animation: avatar-ring 8s linear infinite;
}

.avatar-orbit__ring::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  top: 12%;
  right: 12%;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}

.profile-avatar {
  display: grid;
  width: 126px;
  height: 126px;
  place-items: center;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 42% 58% 56% 44% / 48% 43% 57% 52%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), transparent 47%),
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.36), rgba(95, 67, 181, 0.58));
  box-shadow:
    inset 0 0 40px rgba(255, 255, 255, 0.06),
    0 24px 65px rgba(0, 0, 0, 0.38);
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  transition: background 0.6s ease;
  animation: avatar-morph 9s ease-in-out infinite alternate;
}

.verified-dot {
  position: absolute;
  right: 11px;
  bottom: 18px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #06110d;
  border: 4px solid #161b24;
  border-radius: 50%;
  background: var(--accent);
  font-size: 0.65rem;
  font-weight: 900;
}

.profile-copy__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted-2);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.profile-copy__meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-2);
}

.profile-copy h1 {
  margin: 7px 0 8px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.65rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1.04;
}

.profile-role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.93rem;
}

.profile-role span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(var(--accent-rgb), 0.23);
  border-radius: 7px;
  background: rgba(var(--accent-rgb), 0.08);
  font-size: 0.68rem;
}

.profile-role strong {
  font-weight: 600;
}

.profile-copy p {
  max-width: 510px;
  margin: 20px auto 0;
  color: rgba(245, 247, 251, 0.47);
  font-size: 0.92rem;
  line-height: 1.55;
}

.self-preview {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 22px;
  width: 142px;
  height: 178px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: linear-gradient(155deg, #22283a, #10141f);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease;
}

.self-preview:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
  transform: translateY(-4px) scale(1.015);
}

.self-preview__noise {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background:
    radial-gradient(circle at 50% 45%, rgba(var(--accent-rgb), 0.28), transparent 31%),
    repeating-linear-gradient(0deg, transparent 0, transparent 2px, rgba(255, 255, 255, 0.04) 3px);
}

.self-preview__label {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 3px 6px;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.self-preview__avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 42% 58% 55% 45%;
  background: rgba(255, 255, 255, 0.055);
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transform: translate(-50%, -53%);
}

.self-preview__profession {
  position: absolute;
  right: 8px;
  bottom: 9px;
  left: 8px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.presence-actions {
  position: absolute;
  z-index: 8;
  bottom: 26px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(10, 12, 18, 0.72);
  box-shadow: 0 15px 38px rgba(0, 0, 0, 0.27);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.round-action {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.73);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.3s var(--ease-spring);
}

.round-action:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

.round-action[aria-pressed="false"] {
  color: white;
  border-color: rgba(255, 107, 122, 0.34);
  background: rgba(255, 107, 122, 0.18);
}

.round-action[aria-pressed="false"]::after {
  content: "";
  position: absolute;
  width: 23px;
  height: 2px;
  border-radius: 2px;
  background: var(--danger);
  transform: rotate(-45deg);
}

.round-action--report {
  color: rgba(255, 107, 122, 0.82);
}

.round-action--report span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
}

.round-action--report:hover {
  color: var(--danger);
  border-color: rgba(255, 107, 122, 0.28);
  background: rgba(255, 107, 122, 0.08);
}

.mic-icon {
  position: relative;
  width: 10px;
  height: 16px;
  border: 1.8px solid currentColor;
  border-radius: 7px;
}

.mic-icon::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 10px;
  top: 7px;
  left: 50%;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  border-left: 1.8px solid currentColor;
  border-radius: 0 0 9px 9px;
  transform: translateX(-50%);
}

.mic-icon::after {
  content: "";
  position: absolute;
  width: 1.8px;
  height: 4px;
  top: 18px;
  left: 50%;
  background: currentColor;
  transform: translateX(-50%);
}

.camera-icon {
  position: relative;
  width: 18px;
  height: 13px;
  border: 1.8px solid currentColor;
  border-radius: 4px;
}

.camera-icon::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 8px;
  top: 1px;
  right: -6px;
  border: 1.8px solid currentColor;
  border-left: 0;
  border-radius: 0 3px 3px 0;
}

.next-button {
  position: relative;
  display: flex;
  height: 46px;
  align-items: center;
  gap: 18px;
  padding: 0 10px 0 16px;
  overflow: hidden;
  color: #07100d;
  border-radius: 14px;
  background: var(--accent);
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.12);
  transition: background 0.5s ease, box-shadow 0.25s ease, transform 0.3s var(--ease-spring);
}

.next-button::before {
  content: "";
  position: absolute;
  width: 44px;
  height: 90px;
  top: -22px;
  left: -60px;
  opacity: 0.5;
  background: rgba(255, 255, 255, 0.9);
  filter: blur(9px);
  transform: rotate(20deg);
  transition: left 0.6s var(--ease-out);
}

.next-button:hover {
  box-shadow: 0 12px 42px rgba(var(--accent-rgb), 0.24);
  transform: translateY(-2px);
}

.next-button:hover::before {
  left: calc(100% + 20px);
}

.next-button__text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  white-space: nowrap;
}

.next-button__text small {
  padding: 2px 4px;
  border: 1px solid rgba(5, 16, 12, 0.18);
  border-radius: 4px;
  font-size: 0.5rem;
  letter-spacing: 0.04em;
}

.next-button__arrow {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 9px;
  background: rgba(5, 16, 12, 0.09);
  font-size: 1rem;
  transition: transform 0.3s var(--ease-spring);
}

.next-button:hover .next-button__arrow {
  transform: translateX(3px);
}

.chat-panel {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 0;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto auto;
  background: rgba(15, 18, 27, 0.88);
}

.chat-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 16px 22px 15px;
  border-bottom: 1px solid var(--line);
}

.chat-panel__header > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-panel__header strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(245, 247, 251, 0.72);
  font-size: 0.76rem;
  font-weight: 500;
}

.secure-dot {
  width: 6px;
  height: 6px;
}

.more-button {
  width: 38px;
  height: 38px;
  padding: 0 0 7px;
  color: var(--muted);
  border-radius: 12px;
  background: transparent;
  font-size: 1rem;
  letter-spacing: 0.08em;
  transition: color 0.2s ease, background 0.2s ease;
}

.more-button:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

.chat-context {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 11px;
  margin: 15px 15px 0;
  padding: 10px 12px;
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.07), rgba(255, 255, 255, 0.018));
  transition: border-color 0.5s ease, background 0.5s ease;
}

.chat-context__icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 11px;
  background: rgba(var(--accent-rgb), 0.08);
  font-size: 0.8rem;
}

.chat-context > div {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.chat-context small {
  color: var(--muted-2);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chat-context strong {
  overflow: hidden;
  color: rgba(245, 247, 251, 0.78);
  font-size: 0.77rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-score {
  flex: 0 0 auto;
  padding: 4px 7px;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  border-radius: 7px;
  background: rgba(var(--accent-rgb), 0.055);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.messages {
  min-height: 0;
  padding: 17px 18px 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
  scrollbar-width: thin;
}

.messages::-webkit-scrollbar {
  width: 5px;
}

.messages::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
}

.day-divider {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 18px;
  color: var(--muted-2);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.day-divider::before,
.day-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.message-row {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  margin-bottom: 15px;
  opacity: 0;
  animation: message-in 0.55s var(--ease-out) forwards;
}

.message-row--out {
  justify-content: flex-end;
}

.message-row > div:last-child {
  max-width: min(82%, 340px);
}

.mini-avatar {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  color: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.2), rgba(128, 96, 226, 0.25));
  font-size: 0.55rem;
  font-weight: 700;
}

.message-bubble {
  padding: 10px 13px;
  color: rgba(245, 247, 251, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px 15px 15px 5px;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.82rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.message-row--out .message-bubble {
  color: #07100d;
  border-color: transparent;
  border-radius: 15px 15px 5px 15px;
  background: var(--accent);
}

.message-row time {
  display: block;
  margin: 4px 3px 0;
  color: var(--muted-2);
  font-size: 0.57rem;
}

.message-row--out time {
  text-align: right;
}

.typing-indicator {
  display: flex;
  height: 0;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  overflow: hidden;
  opacity: 0;
  transition: height 0.3s var(--ease-out), opacity 0.25s ease;
}

.typing-indicator.is-visible {
  height: 39px;
  opacity: 1;
}

.typing-indicator span {
  color: var(--muted-2);
  font-size: 0.62rem;
}

.typing-dots {
  display: flex;
  gap: 3px;
}

.typing-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing 1s ease-in-out infinite;
}

.typing-dots i:nth-child(2) {
  animation-delay: 0.15s;
}

.typing-dots i:nth-child(3) {
  animation-delay: 0.3s;
}

.message-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0 15px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.message-form:focus-within {
  border-color: rgba(var(--accent-rgb), 0.28);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.045);
}

.message-form textarea {
  width: 100%;
  max-height: 96px;
  min-height: 35px;
  padding: 7px 4px 5px;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.82rem;
  line-height: 1.4;
}

.message-form textarea::placeholder {
  color: var(--muted-2);
}

.attach-button,
.send-button {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  padding: 0;
  place-items: center;
  border-radius: 11px;
}

.attach-button {
  color: var(--muted);
  background: transparent;
  font-size: 1.15rem;
  transition: color 0.2s ease, background 0.2s ease, transform 0.25s var(--ease-spring);
}

.attach-button:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  transform: rotate(90deg);
}

.send-button {
  color: #06100d;
  background: var(--accent);
  font-size: 1.15rem;
  font-weight: 700;
  transition: opacity 0.2s ease, background 0.5s ease, transform 0.25s var(--ease-spring);
}

.send-button:disabled {
  opacity: 0.22;
}

.send-button:not(:disabled):hover {
  transform: translateY(-2px) scale(1.04);
}

.keyboard-hint {
  margin: 8px 15px 13px;
  color: var(--muted-2);
  font-size: 0.59rem;
  text-align: center;
}

kbd {
  padding: 2px 5px;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom-color: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.035);
  font-family: inherit;
  font-size: 0.57rem;
}

.match-transition {
  position: absolute;
  z-index: 30;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(var(--accent-rgb), 0.16), transparent 30%),
    rgba(7, 10, 16, 0.9);
  backdrop-filter: blur(18px);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.match-transition.is-active {
  opacity: 1;
  visibility: visible;
}

.match-transition::before,
.match-transition::after {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid rgba(var(--accent-rgb), 0.08);
  border-radius: 50%;
  animation: search-ripple 2.6s ease-out infinite;
}

.match-transition::after {
  animation-delay: 1.3s;
}

.match-transition__particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  opacity: 0;
  animation: particle-fly var(--duration, 2s) var(--delay, 0s) ease-in-out infinite;
  transform: rotate(var(--angle)) translateX(var(--distance));
}

.scanner {
  position: relative;
  display: grid;
  width: 128px;
  height: 128px;
  margin-bottom: 28px;
  place-items: center;
}

.scanner__ring {
  position: absolute;
  border-radius: 50%;
}

.scanner__ring--outer {
  inset: 0;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-top-color: var(--accent);
  animation: scanner-spin 1.4s linear infinite;
}

.scanner__ring--outer::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: 6px;
  right: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}

.scanner__ring--inner {
  inset: 17px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  animation: scanner-spin 3s linear reverse infinite;
}

.scanner__core {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: #07100d;
  border-radius: 43% 57% 50% 50%;
  background: var(--accent);
  box-shadow: 0 0 48px rgba(var(--accent-rgb), 0.26);
  font-size: 1.25rem;
  animation: scanner-core 1.6s ease-in-out infinite alternate;
}

.match-transition strong {
  z-index: 2;
  font-family: "Manrope", sans-serif;
  font-size: 1.12rem;
  letter-spacing: -0.025em;
}

.match-transition > span {
  z-index: 2;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.77rem;
}

.search-progress {
  z-index: 2;
  width: 190px;
  height: 2px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.search-progress i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: progress-search 1.15s ease-in-out infinite alternate;
}

.site-footer {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--muted-2);
  font-size: 0.68rem;
}

.site-footer button {
  padding: 0;
  color: var(--muted);
  background: transparent;
  font-size: inherit;
}

.site-footer button:hover {
  color: var(--ink);
}

.footer-separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-2);
}

.modal {
  width: min(620px, calc(100% - 32px));
  max-height: min(780px, calc(100vh - 38px));
  padding: 0;
  overflow: visible;
  color: var(--ink);
  border: 0;
  border-radius: 26px;
  background: transparent;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transition: opacity 0.3s ease, transform 0.44s var(--ease-out), overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}

.modal[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@starting-style {
  .modal[open] {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
}

.modal::backdrop {
  opacity: 0;
  background: rgba(3, 5, 9, 0.76);
  backdrop-filter: blur(12px);
  transition: opacity 0.3s ease, overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}

.modal[open]::backdrop {
  opacity: 1;
}

@starting-style {
  .modal[open]::backdrop {
    opacity: 0;
  }
}

.modal__surface {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: inherit;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 22%),
    rgba(15, 18, 27, 0.98);
  box-shadow: 0 44px 120px rgba(0, 0, 0, 0.62);
}

.modal__surface::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  top: -180px;
  left: 25%;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(90px);
  opacity: 0.12;
  pointer-events: none;
}

.modal__header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 27px 28px 20px;
}

.modal__header h2 {
  margin: 3px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.65rem;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.modal__header p {
  margin: 8px 35px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.modal__close {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0 0 2px;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 1.2rem;
  transition: color 0.2s ease, background 0.2s ease, transform 0.28s var(--ease-spring);
}

.modal__close:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  transform: rotate(6deg);
}

.profession-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 28px 22px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.profession-search:focus-within {
  border-color: rgba(var(--accent-rgb), 0.34);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.05);
}

.profession-search > span {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 1.5px solid var(--muted);
  border-radius: 50%;
}

.profession-search > span::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 1.5px;
  right: -5px;
  bottom: -2px;
  border-radius: 2px;
  background: var(--muted);
  transform: rotate(45deg);
}

.profession-search input {
  width: 100%;
  min-height: 49px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.88rem;
}

.profession-search input::placeholder {
  color: var(--muted-2);
}

.modal-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 29px 10px;
  color: var(--muted-2);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.modal-section-title small {
  color: var(--muted-2);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.profession-list {
  display: grid;
  max-height: min(420px, 52vh);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 28px 24px;
  overflow-y: auto;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
  scrollbar-width: thin;
}

.profession-option {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 58px;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  overflow: hidden;
  color: rgba(245, 247, 251, 0.73);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.022);
  text-align: left;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.3s var(--ease-spring);
  animation: option-enter 0.45s var(--ease-out) both;
  animation-delay: calc(var(--index, 0) * 24ms);
}

.profession-option::after {
  content: "→";
  margin-left: auto;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.25s ease, transform 0.3s var(--ease-spring);
}

.profession-option:hover,
.profession-option[aria-selected="true"] {
  color: var(--ink);
  border-color: rgba(var(--accent-rgb), 0.26);
  background: rgba(var(--accent-rgb), 0.06);
  transform: translateY(-2px);
}

.profession-option:hover::after,
.profession-option[aria-selected="true"]::after {
  opacity: 1;
  transform: translateX(0);
}

.profession-option__icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.14);
  border-radius: 10px;
  background: rgba(var(--accent-rgb), 0.055);
  font-size: 0.73rem;
}

.profession-option__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.profession-option__copy strong {
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profession-option__copy small {
  color: var(--muted-2);
  font-size: 0.6rem;
}

.profession-loading {
  grid-column: 1 / -1;
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.profession-loading i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: typing 0.8s ease-in-out infinite;
}

.profession-loading i:nth-child(2) {
  animation-delay: 0.14s;
}

.profession-loading i:nth-child(3) {
  animation-delay: 0.28s;
}

.profession-empty {
  grid-column: 1 / -1;
  padding: 52px 20px;
  color: var(--muted);
  text-align: center;
}

.profession-empty strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
}

.profession-empty span {
  font-size: 0.76rem;
}

.modal__footer {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
}

.api-source {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.65rem;
}

.api-source > span:first-child {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #697080;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.api-source > span:first-child.is-live {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.55);
}

.modal__footer > small {
  font-size: 0.61rem;
}

.report-modal {
  width: min(570px, calc(100% - 32px));
}

.report-options {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 28px 22px;
  border: 0;
}

.report-options label {
  cursor: pointer;
}

.report-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.report-options label > span {
  display: grid;
  min-height: 63px;
  grid-template-columns: 35px 1fr;
  align-items: center;
  column-gap: 10px;
  padding: 9px 13px;
  color: rgba(245, 247, 251, 0.75);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.022);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.3s var(--ease-spring);
}

.report-options label > span:hover {
  color: var(--ink);
  border-color: rgba(255, 107, 122, 0.25);
  transform: translateX(3px);
}

.report-options input:focus-visible + span {
  outline: 2px solid var(--danger);
  outline-offset: 2px;
}

.report-options input:checked + span {
  color: var(--ink);
  border-color: rgba(255, 107, 122, 0.42);
  background: rgba(255, 107, 122, 0.075);
}

.report-options label i {
  grid-row: 1 / 3;
  color: var(--muted-2);
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.report-options input:checked + span i {
  color: var(--danger);
}

.report-options strong,
.report-options small {
  grid-column: 2;
}

.report-options strong {
  align-self: end;
  font-size: 0.8rem;
  font-weight: 600;
}

.report-options small {
  align-self: start;
  color: var(--muted-2);
  font-size: 0.65rem;
}

.report-submit {
  display: flex;
  width: calc(100% - 56px);
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 28px 28px;
  color: #fff;
  border-radius: 14px;
  background: var(--danger);
  font-size: 0.8rem;
  font-weight: 700;
  transition: opacity 0.2s ease, transform 0.3s var(--ease-spring), box-shadow 0.25s ease;
}

.report-submit:disabled {
  opacity: 0.25;
}

.report-submit:not(:disabled):hover {
  box-shadow: 0 12px 36px rgba(255, 107, 122, 0.19);
  transform: translateY(-2px);
}

.report-submit span {
  transition: transform 0.3s var(--ease-spring);
}

.report-submit:not(:disabled):hover span {
  transform: translateX(4px);
}

.toast-region {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 9px;
  pointer-events: none;
}

.toast {
  display: flex;
  min-width: min(340px, calc(100vw - 32px));
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  color: rgba(245, 247, 251, 0.85);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(18, 22, 32, 0.94);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  font-size: 0.76rem;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  animation: toast-in 0.45s var(--ease-out) forwards, toast-out 0.35s ease 3.4s forwards;
}

.toast::before {
  content: "✓";
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  color: #07100d;
  border-radius: 8px;
  background: var(--accent);
  font-size: 0.65rem;
  font-weight: 900;
}

.ripple {
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 0.65s ease-out forwards;
}

@keyframes float-orb {
  to { transform: translate3d(9rem, 5rem, 0) scale(1.12); }
}

@keyframes live-pulse {
  0% { opacity: 0.7; transform: scale(0.4); }
  80%, 100% { opacity: 0; transform: scale(1.5); }
}

@keyframes sound-wave {
  from { transform: scaleY(0.45); }
  to { transform: scaleY(1); }
}

@keyframes profession-wave {
  0% { opacity: 0.75; transform: translate(-50%, -50%) scale(0); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(70); }
}

@keyframes halo-drift {
  to { transform: translate(17%, -10%) scale(1.15); }
}

@keyframes orbit-breathe {
  0%, 100% { opacity: 0.65; transform: translate(-50%, -50%) scale(0.96) rotate(-3deg); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04) rotate(3deg); }
}

@keyframes satellite {
  to { transform: rotate(360deg) translateX(min(19vw, 235px)) rotate(-360deg); }
}

@keyframes satellite-reverse {
  to { transform: rotate(-360deg) translateX(min(14vw, 170px)) rotate(360deg); }
}

@keyframes satellite-small {
  to { transform: rotate(360deg) translateX(min(9vw, 112px)) rotate(-360deg); }
}

@keyframes scan-field {
  0%, 14% { left: -26%; opacity: 0; }
  38% { opacity: 0.17; }
  67%, 100% { left: 110%; opacity: 0; }
}

@keyframes avatar-ring {
  to { transform: rotate(360deg); }
}

@keyframes avatar-morph {
  0% { border-radius: 42% 58% 56% 44% / 48% 43% 57% 52%; transform: rotate(-1deg); }
  100% { border-radius: 56% 44% 43% 57% / 42% 58% 44% 56%; transform: rotate(2deg); }
}

@keyframes profile-enter {
  0% { filter: blur(16px); opacity: 0; transform: translate(-50%, -56%) scale(0.9); }
  65% { filter: blur(0); opacity: 1; transform: translate(-50%, -49%) scale(1.015); }
  100% { filter: blur(0); opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes message-in {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes typing {
  0%, 70%, 100% { opacity: 0.35; transform: translateY(0); }
  35% { opacity: 1; transform: translateY(-3px); }
}

@keyframes search-ripple {
  0% { opacity: 0; transform: scale(0.25); }
  20% { opacity: 0.55; }
  100% { opacity: 0; transform: scale(1.25); }
}

@keyframes particle-fly {
  0% { opacity: 0; transform: rotate(var(--angle)) translateX(25px) scale(0.3); }
  40% { opacity: 0.75; }
  100% { opacity: 0; transform: rotate(var(--angle)) translateX(var(--distance)) scale(1.1); }
}

@keyframes scanner-spin {
  to { transform: rotate(360deg); }
}

@keyframes scanner-core {
  to { border-radius: 58% 42% 44% 56%; transform: scale(1.08) rotate(6deg); }
}

@keyframes progress-search {
  0% { transform: translateX(-20%); }
  100% { transform: translateX(165%); }
}

@keyframes option-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toast-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toast-out {
  to { opacity: 0; transform: translateY(8px) scale(0.97); }
}

@keyframes ripple {
  to { opacity: 0; transform: translate(-50%, -50%) scale(14); }
}

@media (max-width: 1180px) {
  .quick-filters .filter-chip:nth-child(6) {
    display: none;
  }

  .conversation-stage {
    grid-template-columns: minmax(0, 1.25fr) minmax(345px, 0.75fr);
  }

  .self-preview {
    width: 118px;
    height: 148px;
  }

  .presence-actions {
    left: 47%;
  }
}

@media (max-width: 980px) {
  .topbar,
  .workspace {
    width: min(100% - 32px, 900px);
  }

  .match-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 16px;
  }

  .quick-filters {
    width: calc(100vw - 32px);
    justify-content: flex-start;
    margin: 0 -16px;
    padding: 0 16px 3px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .quick-filters::-webkit-scrollbar {
    display: none;
  }

  .quick-filters .filter-chip:nth-child(6) {
    display: inline-flex;
  }

  .conversation-stage {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .presence-panel {
    min-height: 620px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .chat-panel {
    min-height: 560px;
  }

  .signal-field__orbit {
    width: min(58vw, 470px);
  }

  @keyframes satellite {
    to { transform: rotate(360deg) translateX(min(29vw, 235px)) rotate(-360deg); }
  }

  @keyframes satellite-reverse {
    to { transform: rotate(-360deg) translateX(min(22vw, 170px)) rotate(360deg); }
  }
}

@media (max-width: 620px) {
  .topbar,
  .workspace {
    width: calc(100% - 20px);
  }

  .topbar {
    height: 70px;
  }

  .live-count > span:last-child {
    display: none;
  }

  .match-toolbar {
    padding: 4px 4px 14px;
  }

  .profession-trigger {
    min-width: min(100%, 280px);
    font-size: 1.08rem;
  }

  .quick-filters {
    width: calc(100vw - 10px);
    margin: 0 -9px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .conversation-stage {
    border-radius: 22px;
  }

  .presence-panel {
    min-height: 560px;
  }

  .presence-panel__top {
    top: 18px;
    right: 18px;
    left: 18px;
  }

  .profile-focus {
    top: 43%;
  }

  .avatar-orbit {
    width: 140px;
    height: 140px;
    margin-bottom: 20px;
  }

  .profile-avatar {
    width: 108px;
    height: 108px;
    font-size: 1.7rem;
  }

  .verified-dot {
    right: 7px;
    bottom: 15px;
  }

  .profile-copy h1 {
    font-size: 2.25rem;
  }

  .profile-copy p {
    max-width: 82vw;
    margin-top: 14px;
    font-size: 0.8rem;
  }

  .self-preview {
    width: 92px;
    height: 118px;
    right: 13px;
    bottom: 80px;
    border-radius: 16px;
  }

  .self-preview__avatar {
    width: 52px;
    height: 52px;
  }

  .presence-actions {
    right: 12px;
    bottom: 16px;
    left: 12px;
    justify-content: center;
    gap: 6px;
    padding: 6px;
    transform: none;
  }

  .round-action {
    width: 42px;
    height: 42px;
  }

  .next-button {
    height: 42px;
    gap: 10px;
    padding-left: 12px;
  }

  .next-button__text small {
    display: none;
  }

  .next-button__text {
    font-size: 0.72rem;
  }

  .next-button__arrow {
    width: 26px;
    height: 26px;
  }

  .chat-panel {
    min-height: 540px;
  }

  .site-footer {
    flex-wrap: wrap;
    padding: 15px 10px 20px;
    text-align: center;
  }

  .profession-list {
    grid-template-columns: 1fr;
    padding-right: 18px;
    padding-left: 18px;
  }

  .profession-search {
    margin-right: 18px;
    margin-left: 18px;
  }

  .modal__header {
    padding-right: 19px;
    padding-left: 19px;
  }

  .modal-section-title {
    margin-right: 19px;
    margin-left: 19px;
  }

  .modal__footer {
    padding: 0 19px;
  }

  .modal__footer > small {
    display: none;
  }

  .report-options {
    padding-right: 18px;
    padding-left: 18px;
  }

  .report-submit {
    width: calc(100% - 36px);
    margin-right: 18px;
    margin-left: 18px;
  }

  .toast-region {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .toast {
    min-width: 0;
  }
}

@media (max-width: 400px) {
  .round-action:nth-child(2) {
    display: none;
  }

  .self-preview {
    display: none;
  }
}

@media (hover: none) {
  .cursor-light {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Ome PLUS — production-empty experience */
.workspace--with-ads,
.topbar {
  width: min(1580px, calc(100% - 56px));
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
}

.brand--ome {
  width: max-content;
  letter-spacing: 0;
}

.brand__word {
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
}

.brand__word b {
  font-size: 1.33rem;
  font-weight: 800;
  letter-spacing: -0.065em;
}

.brand__word em {
  color: var(--accent);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.13em;
  transition: color 0.45s ease;
}

.preference-button {
  position: relative;
  display: flex;
  min-width: 204px;
  height: 48px;
  align-items: center;
  gap: 10px;
  padding: 0 11px;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  text-align: left;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.3s var(--ease-spring);
}

.preference-button:hover {
  border-color: rgba(var(--accent-rgb), 0.28);
  background: rgba(var(--accent-rgb), 0.055);
  transform: translateY(-2px);
}

.preference-button__glyph {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  color: #07100d;
  border-radius: 9px;
  background: var(--accent);
  font-size: 0.72rem;
  transition: background 0.45s ease, transform 0.4s var(--ease-spring);
}

.preference-button:hover .preference-button__glyph {
  transform: rotate(9deg) scale(1.06);
}

.preference-button__copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  line-height: 1.15;
}

.preference-button__copy small {
  color: var(--muted-2);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preference-button__copy strong {
  max-width: 165px;
  overflow: hidden;
  color: rgba(245, 247, 251, 0.82);
  font-size: 0.74rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preference-button__chevron {
  color: var(--muted-2);
  font-size: 0.9rem;
}

.topbar__right {
  justify-self: end;
}

.privacy-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.privacy-label > span {
  position: relative;
  width: 9px;
  height: 7px;
  border: 1.4px solid var(--muted-2);
  border-radius: 2px;
}

.privacy-label > span::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  top: -6px;
  left: 50%;
  border: 1.4px solid var(--muted-2);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  transform: translateX(-50%);
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 18px;
}

.conversation-stage--fixed {
  height: clamp(620px, calc(100svh - 142px), 780px);
  min-height: 0;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.72fr);
}

.conversation-stage--fixed .presence-panel,
.conversation-stage--fixed .chat-panel {
  height: 100%;
  min-height: 0;
}

.presence-panel--empty {
  isolation: isolate;
}

.presence-panel--empty::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0.15;
  background:
    linear-gradient(120deg, transparent 30%, rgba(var(--accent-rgb), 0.07) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: opacity 0.4s ease;
}

.conversation-stage.is-waiting .presence-panel--empty::before {
  animation: waiting-sweep 3.2s ease-in-out infinite;
}

.connection-label__dot--idle {
  background: #646b79;
  box-shadow: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.connection-label__dot--idle.is-waiting {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.55);
  animation: waiting-dot 1.6s ease-in-out infinite;
}

.room-label {
  color: rgba(245, 247, 251, 0.28);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.signal-field--idle {
  opacity: 0.55;
  transition: opacity 0.5s ease;
}

.conversation-stage.is-waiting .signal-field--idle {
  opacity: 0.92;
}

.empty-presence {
  position: absolute;
  z-index: 4;
  top: 47%;
  left: 50%;
  display: flex;
  width: min(560px, 78%);
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translate(-50%, -50%);
}

.empty-presence__symbol {
  position: relative;
  width: 100px;
  height: 76px;
  margin-bottom: 24px;
}

.empty-presence__symbol > span {
  position: absolute;
  width: 62px;
  height: 62px;
  top: 7px;
  border: 1px solid rgba(var(--accent-rgb), 0.32);
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.035);
  box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.07);
  transition: border-color 0.45s ease, background 0.45s ease;
}

.empty-presence__symbol > span:first-child {
  left: 4px;
}

.empty-presence__symbol > span:nth-child(2) {
  right: 4px;
  border-color: rgba(138, 114, 255, 0.3);
}

.empty-presence__symbol > i {
  position: absolute;
  width: 8px;
  height: 8px;
  top: 34px;
  left: 46px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
  transition: background 0.45s ease;
}

.conversation-stage.is-waiting .empty-presence__symbol > span:first-child {
  animation: empty-orbit-left 2.4s ease-in-out infinite alternate;
}

.conversation-stage.is-waiting .empty-presence__symbol > span:nth-child(2) {
  animation: empty-orbit-right 2.4s ease-in-out infinite alternate;
}

.empty-presence h1 {
  max-width: 530px;
  margin: 7px 0 11px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1.08;
}

.empty-presence p {
  max-width: 455px;
  margin: 0;
  color: rgba(245, 247, 251, 0.47);
  font-size: 0.84rem;
  line-height: 1.55;
}

.start-button {
  position: relative;
  display: flex;
  min-height: 49px;
  align-items: center;
  gap: 22px;
  margin-top: 25px;
  padding: 0 10px 0 19px;
  overflow: hidden;
  color: #07100d;
  border-radius: 14px;
  background: var(--accent);
  box-shadow: 0 14px 38px rgba(var(--accent-rgb), 0.13);
  font-size: 0.78rem;
  font-weight: 700;
  transition: background 0.45s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.3s var(--ease-spring);
}

.start-button::before {
  content: "";
  position: absolute;
  width: 35px;
  height: 80px;
  top: -15px;
  left: -50px;
  opacity: 0.5;
  background: white;
  filter: blur(10px);
  transform: rotate(18deg);
  transition: left 0.6s var(--ease-out);
}

.start-button:hover {
  box-shadow: 0 17px 46px rgba(var(--accent-rgb), 0.22);
  transform: translateY(-3px);
}

.start-button:hover::before {
  left: calc(100% + 20px);
}

.start-button i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: rgba(7, 16, 13, 0.09);
  font-style: normal;
  transition: transform 0.3s var(--ease-spring);
}

.start-button:hover i {
  transform: translateX(3px);
}

.start-button.is-stop {
  color: rgba(245, 247, 251, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.start-button.is-stop i {
  transform: rotate(180deg);
  background: rgba(255, 255, 255, 0.06);
}

.self-preview--neutral {
  background:
    radial-gradient(circle at 50% 42%, rgba(var(--accent-rgb), 0.1), transparent 32%),
    linear-gradient(155deg, #1b202c, #0f131c);
}

.self-preview--neutral .self-preview__avatar {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
}

.self-preview--neutral .self-preview__avatar span {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
}

.self-preview--neutral .self-preview__avatar span::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 17px;
  top: 24px;
  left: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.36);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  transform: translateX(-50%);
}

.self-preview.is-camera-off {
  opacity: 0.62;
  filter: grayscale(1) brightness(0.58);
}

.presence-actions--idle {
  right: auto;
  left: 22px;
  transform: none;
}

.chat-panel--empty {
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  overflow: hidden;
}

.secure-dot--idle {
  background: #646b79;
  box-shadow: none;
}

.messages--scroll {
  position: relative;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.chat-empty-state {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: min(270px, calc(100% - 40px));
  flex-direction: column;
  align-items: center;
  color: var(--muted-2);
  text-align: center;
  transform: translate(-50%, -50%);
}

.chat-empty-state__icon {
  position: relative;
  width: 48px;
  height: 39px;
  margin-bottom: 17px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
}

.chat-empty-state__icon::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  right: 6px;
  bottom: -5px;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: #11151f;
  transform: rotate(45deg);
}

.chat-empty-state__icon i {
  position: absolute;
  width: 4px;
  height: 4px;
  top: 17px;
  border-radius: 50%;
  background: var(--muted-2);
}

.chat-empty-state__icon i:first-child {
  left: 16px;
}

.chat-empty-state__icon i:last-child {
  right: 16px;
}

.chat-empty-state strong {
  margin-bottom: 5px;
  color: rgba(245, 247, 251, 0.68);
  font-size: 0.8rem;
  font-weight: 600;
}

.chat-empty-state > span {
  font-size: 0.7rem;
  line-height: 1.5;
}

.message-form--disabled {
  opacity: 0.58;
}

.message-form--disabled textarea:disabled {
  color: var(--muted-2);
  cursor: not-allowed;
}

.ad-rail {
  position: sticky;
  top: 16px;
  min-width: 0;
}

.ad-slot {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 600px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.02), transparent 35%),
    rgba(13, 16, 24, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.ad-slot::before {
  content: "";
  position: absolute;
  inset: 9px;
  pointer-events: none;
  border: 1px dashed rgba(255, 255, 255, 0.055);
  border-radius: 18px;
}

.ad-slot__label {
  position: absolute;
  top: 17px;
  left: 50%;
  color: rgba(245, 247, 251, 0.22);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  transform: translateX(-50%);
}

.ad-slot__placeholder {
  position: relative;
  display: flex;
  padding: 28px;
  flex-direction: column;
  align-items: center;
  color: var(--muted-2);
  text-align: center;
}

.ad-slot__mark {
  display: flex;
  height: 27px;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 18px;
  opacity: 0.46;
}

.ad-slot__mark i {
  display: block;
  width: 5px;
  border-radius: 3px;
}

.ad-slot__mark i:nth-child(1) { height: 15px; background: #4285f4; }
.ad-slot__mark i:nth-child(2) { height: 25px; background: #ea4335; }
.ad-slot__mark i:nth-child(3) { height: 19px; background: #fbbc05; }
.ad-slot__mark i:nth-child(4) { height: 11px; background: #34a853; }

.ad-slot__placeholder strong {
  color: rgba(245, 247, 251, 0.5);
  font-size: 0.76rem;
  font-weight: 600;
}

.ad-slot__placeholder > span {
  margin-top: 4px;
  font-size: 0.66rem;
}

.ad-slot__placeholder small {
  margin-top: 14px;
  padding: 3px 6px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  font-size: 0.55rem;
  letter-spacing: 0.05em;
}

.ad-rail > p {
  margin: 9px 0 0;
  color: rgba(245, 247, 251, 0.22);
  font-size: 0.58rem;
  text-align: center;
}

.profession-modal--refined {
  width: min(660px, calc(100% - 32px));
}

.profession-modal__header {
  padding-bottom: 17px;
}

.current-preference {
  position: relative;
  display: flex;
  width: calc(100% - 56px);
  min-height: 64px;
  align-items: center;
  gap: 12px;
  margin: 0 28px 13px;
  padding: 8px 12px;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  border-radius: 15px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.09), rgba(255, 255, 255, 0.018));
  text-align: left;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.3s var(--ease-spring);
}

.current-preference:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.14), rgba(255, 255, 255, 0.025));
  transform: translateY(-2px);
}

.current-preference__icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: #07100d;
  border-radius: 11px;
  background: var(--accent);
  font-size: 0.82rem;
}

.current-preference > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.current-preference small {
  color: var(--muted-2);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.current-preference strong {
  font-size: 0.8rem;
  font-weight: 600;
}

.current-preference > i {
  color: var(--accent);
  font-style: normal;
}

.profession-modal--refined .profession-search {
  margin-bottom: 13px;
}

.profession-categories {
  display: flex;
  gap: 6px;
  margin: 0 28px 19px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.profession-categories::-webkit-scrollbar {
  display: none;
}

.profession-category {
  position: relative;
  min-height: 32px;
  padding: 0 11px;
  overflow: hidden;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.66rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.profession-category:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.profession-category.is-active {
  color: #07100d;
  border-color: var(--accent);
  background: var(--accent);
}

@keyframes waiting-sweep {
  0%, 12% { transform: translateX(-110%); }
  75%, 100% { transform: translateX(110%); }
}

@keyframes waiting-dot {
  0%, 100% { opacity: 0.55; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes empty-orbit-left {
  to { transform: translateX(7px) rotate(8deg); }
}

@keyframes empty-orbit-right {
  to { transform: translateX(-7px) rotate(-8deg); }
}

@media (max-width: 1180px) {
  .experience-layout {
    grid-template-columns: 1fr;
  }

  .ad-rail {
    position: static;
  }

  .ad-slot {
    min-height: 122px;
  }

  .ad-slot__placeholder {
    flex-direction: row;
    gap: 10px;
  }

  .ad-slot__mark {
    height: 22px;
    margin: 0 5px 0 0;
  }

  .ad-slot__placeholder > span,
  .ad-slot__placeholder small {
    margin: 0;
  }
}

@media (max-width: 980px) {
  .workspace--with-ads,
  .topbar {
    width: min(100% - 32px, 900px);
  }

  .conversation-stage--fixed {
    height: auto;
    grid-template-columns: 1fr;
  }

  .conversation-stage--fixed .presence-panel--empty {
    height: 570px;
    min-height: 570px;
  }

  .conversation-stage--fixed .chat-panel--empty {
    height: 490px;
    min-height: 0;
  }
}

@media (max-width: 740px) {
  .topbar {
    min-height: 118px;
    height: auto;
    grid-template-columns: 1fr auto;
    padding: 14px 0;
  }

  .preference-button {
    width: 100%;
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .privacy-label {
    display: none;
  }

  .workspace--with-ads {
    width: calc(100% - 20px);
  }
}

@media (max-width: 620px) {
  .conversation-stage--fixed .presence-panel--empty {
    height: 520px;
    min-height: 520px;
  }

  .conversation-stage--fixed .chat-panel--empty {
    height: 440px;
  }

  .empty-presence {
    top: 43%;
    width: 86%;
  }

  .empty-presence__symbol {
    transform: scale(0.86);
    margin-bottom: 14px;
  }

  .empty-presence h1 {
    font-size: 2rem;
  }

  .empty-presence p {
    font-size: 0.78rem;
  }

  .presence-actions--idle {
    right: 12px;
    left: 12px;
    transform: none;
  }

  .self-preview--neutral {
    bottom: 78px;
  }

  .current-preference,
  .profession-categories {
    width: calc(100% - 36px);
    margin-right: 18px;
    margin-left: 18px;
  }

  .profession-categories {
    width: auto;
  }

  .ad-slot__placeholder {
    flex-direction: column;
    gap: 3px;
  }

  .ad-slot__mark {
    margin: 0 0 8px;
  }

  .ad-slot__placeholder small {
    margin-top: 7px;
  }
}

/* Captură locală reală și selector de dispozitive */
.self-preview--neutral {
  width: 206px;
  height: 132px;
  background: #0b0e15;
}

.self-preview.is-camera-off {
  opacity: 1;
  filter: none;
}

.self-preview__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scaleX(-1) scale(1.04);
  transition: opacity 0.45s ease, transform 0.65s var(--ease-out);
}

.self-preview.is-camera-live .self-preview__video {
  opacity: 1;
  transform: scaleX(-1) scale(1);
}

.self-preview.is-camera-live::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 6, 10, 0.3), transparent 34%, transparent 62%, rgba(4, 6, 10, 0.72));
}

.camera-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  padding: 28px 14px 17px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(var(--accent-rgb), 0.11), transparent 31%),
    repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(255, 255, 255, 0.018) 4px),
    #11151e;
  text-align: center;
}

.camera-placeholder[hidden],
.live-capture-badge[hidden] {
  display: none;
}

.camera-placeholder__icon {
  position: relative;
  width: 25px;
  height: 18px;
  margin-bottom: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  border-radius: 6px;
}

.camera-placeholder__icon::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 11px;
  top: 2px;
  right: -8px;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  border-left: 0;
  border-radius: 0 4px 4px 0;
}

.camera-placeholder__icon::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 1.5px;
  top: 7px;
  left: -6px;
  border-radius: 2px;
  background: var(--danger);
  transform: rotate(-42deg);
}

.camera-placeholder strong {
  color: rgba(245, 247, 251, 0.7);
  font-size: 0.68rem;
  font-weight: 600;
}

.camera-placeholder small {
  max-width: 150px;
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 0.55rem;
  line-height: 1.35;
}

.self-preview__label,
.self-preview__profession,
.live-capture-badge {
  z-index: 3;
}

.self-preview__profession {
  right: 10px;
  bottom: 9px;
  left: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  text-align: left;
}

.live-capture-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  color: #07100d;
  border-radius: 6px;
  background: var(--accent);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.live-capture-badge i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #07100d;
  animation: live-pulse 1.8s ease-out infinite;
}

.self-preview.is-requesting::before {
  content: "";
  position: absolute;
  z-index: 6;
  width: 26px;
  height: 26px;
  top: calc(50% - 13px);
  left: calc(50% - 13px);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: media-spin 0.75s linear infinite;
}

.self-preview.is-requesting .camera-placeholder {
  opacity: 0.32;
}

.round-action--settings {
  color: rgba(255, 255, 255, 0.62);
}

.settings-icon {
  display: grid;
  width: 19px;
  gap: 4px;
}

.settings-icon i {
  position: relative;
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
}

.settings-icon i::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  top: 50%;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: #171b24;
  transform: translateY(-50%);
}

.settings-icon i:nth-child(1)::after,
.settings-icon i:nth-child(3)::after {
  left: 3px;
}

.settings-icon i:nth-child(2)::after {
  right: 3px;
}

.round-action:disabled,
.start-button:disabled {
  opacity: 0.54;
}

.media-modal {
  width: min(590px, calc(100% - 32px));
}

.media-modal .modal__surface {
  max-height: min(760px, calc(100vh - 38px));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.media-device-list {
  display: grid;
  gap: 11px;
  padding: 0 28px 18px;
}

.device-field {
  display: grid;
  gap: 8px;
}

.device-field > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(245, 247, 251, 0.7);
  font-size: 0.71rem;
}

.device-field > span i {
  display: inline-block;
  width: 19px;
  height: 19px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.device-field__camera,
.device-field__mic {
  position: relative;
}

.device-field__camera::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 6px;
  top: 5px;
  left: 4px;
  border: 1px solid currentColor;
  border-radius: 2px;
}

.device-field__camera::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 5px;
  top: 6px;
  right: 2px;
  border: 1px solid currentColor;
  border-left: 0;
  border-radius: 0 2px 2px 0;
}

.device-field__mic::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 8px;
  top: 3px;
  left: 6px;
  border: 1px solid currentColor;
  border-radius: 4px;
}

.device-field__mic::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 6px;
  top: 7px;
  left: 4px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  border-left: 1px solid currentColor;
  border-radius: 0 0 6px 6px;
}

.device-field select {
  width: 100%;
  height: 47px;
  padding: 0 40px 0 13px;
  color: rgba(245, 247, 251, 0.86);
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
  background-color: rgba(255, 255, 255, 0.045);
  font-size: 0.77rem;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.device-field select:focus {
  border-color: rgba(var(--accent-rgb), 0.5);
  background-color: rgba(var(--accent-rgb), 0.055);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.07);
}

.device-field select option {
  color: #f5f7fb;
  background: #151923;
}

.device-field select option:disabled {
  color: #ff7d89;
}

.refresh-devices {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 7px;
  padding: 7px 0;
  color: var(--muted);
  background: transparent;
  font-size: 0.68rem;
  font-weight: 600;
}

.refresh-devices:hover {
  color: var(--accent);
}

.refresh-devices span {
  font-size: 0.9rem;
  transition: transform 0.45s var(--ease-spring);
}

.refresh-devices:hover span {
  transform: rotate(150deg);
}

.capture-protection {
  display: flex;
  gap: 12px;
  margin: 0 28px 20px;
  padding: 13px;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 14px;
  background: rgba(var(--accent-rgb), 0.045);
}

.capture-protection__mark {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  color: #07100d;
  border-radius: 9px;
  background: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
}

.capture-protection strong {
  display: block;
  color: rgba(245, 247, 251, 0.82);
  font-size: 0.72rem;
}

.capture-protection p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.48;
}

.media-modal__footer {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 28px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.media-modal__footer > span {
  color: var(--muted);
  font-size: 0.65rem;
}

.media-modal__footer > span i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted-2);
}

.media-modal__footer > span.is-active i {
  background: var(--accent);
  box-shadow: 0 0 9px rgba(var(--accent-rgb), 0.55);
}

.media-done {
  min-width: 76px;
  height: 38px;
  color: #07100d;
  border-radius: 11px;
  background: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  transition: transform 0.28s var(--ease-spring), box-shadow 0.25s ease;
}

.media-done:hover {
  box-shadow: 0 10px 26px rgba(var(--accent-rgb), 0.18);
  transform: translateY(-2px);
}

@keyframes media-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1180px) {
  .self-preview--neutral {
    width: 178px;
    height: 114px;
  }
}

@media (max-width: 620px) {
  .self-preview--neutral {
    display: block;
    width: 148px;
    height: 96px;
    right: 13px;
    bottom: 80px;
  }

  .camera-placeholder {
    padding: 18px 8px 12px;
  }

  .camera-placeholder small,
  .self-preview__profession {
    display: none;
  }

  .camera-placeholder__icon {
    margin-bottom: 6px;
    transform: scale(0.82);
  }

  .media-device-list {
    padding-right: 18px;
    padding-left: 18px;
  }

  .capture-protection {
    margin-right: 18px;
    margin-left: 18px;
  }

  .media-modal__footer {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 400px) {
  .presence-actions .round-action:nth-child(2) {
    display: grid;
  }

  .self-preview--neutral {
    display: block;
    width: 126px;
    height: 82px;
  }

  .self-preview__label,
  .live-capture-badge {
    top: 7px;
  }

  .self-preview__label {
    left: 7px;
  }

  .live-capture-badge {
    right: 7px;
  }
}

/* Preferințe extinse: profesie, țară și limbă */
.topbar {
  min-height: 94px;
  height: auto;
}

.preference-cluster {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 11px;
}

.preference-button {
  height: 60px;
  padding: 0 14px;
  border-radius: 18px;
}

.preference-button--profession {
  min-width: 280px;
}

.preference-button--country {
  min-width: 230px;
}

.preference-button__glyph {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: 0.86rem;
}

.preference-button__glyph--country {
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.065);
  font-size: 1.15rem;
}

.preference-button__copy {
  gap: 3px;
}

.preference-button__copy small {
  font-size: 0.7rem;
  letter-spacing: 0.09em;
}

.preference-button__copy strong {
  max-width: 205px;
  font-size: 0.93rem;
  line-height: 1.2;
}

.preference-button--country .preference-button__copy strong {
  max-width: 155px;
}

.preference-button__chevron {
  font-size: 1.08rem;
  transition: color 0.25s ease, transform 0.32s var(--ease-spring);
}

.preference-button:hover .preference-button__chevron {
  color: var(--accent);
  transform: translateY(2px);
}

.privacy-label b {
  font-weight: 500;
}

.language-button {
  display: flex;
  height: 42px;
  min-width: 70px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  color: rgba(245, 247, 251, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.3s var(--ease-spring);
}

.language-button:hover {
  color: var(--ink);
  border-color: rgba(var(--accent-rgb), 0.3);
  background: rgba(var(--accent-rgb), 0.055);
  transform: translateY(-2px);
}

.language-button > span {
  color: var(--muted-2);
  font-size: 0.78rem;
}

.language-button strong {
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

/* Selectorul de profesii este intenționat mai generos și mai lizibil. */
.profession-modal--refined {
  width: min(760px, calc(100% - 32px));
}

.profession-modal--refined .modal__surface,
.country-modal .modal__surface {
  max-height: min(850px, calc(100vh - 32px));
}

.profession-modal__header {
  padding: 32px 34px 24px;
}

.profession-modal__header h2,
.country-modal__header h2 {
  margin-top: 5px;
  font-size: 1.92rem;
}

.profession-modal__header p,
.country-modal__header p {
  max-width: 590px;
  margin-top: 10px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.profession-modal--refined .eyebrow,
.country-modal .eyebrow {
  font-size: 0.76rem;
}

.profession-modal--refined .current-preference {
  width: calc(100% - 68px);
  min-height: 76px;
  gap: 15px;
  margin: 0 34px 17px;
  padding: 10px 15px;
  border-radius: 18px;
}

.profession-modal--refined .current-preference__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  font-size: 1rem;
}

.profession-modal--refined .current-preference small {
  font-size: 0.7rem;
}

.profession-modal--refined .current-preference strong {
  font-size: 0.96rem;
}

.profession-modal--refined .profession-search {
  margin: 0 34px 17px;
  padding: 0 15px;
  border-radius: 17px;
}

.profession-modal--refined .profession-search input {
  min-height: 58px;
  font-size: 0.98rem;
}

.profession-modal--refined .profession-categories {
  gap: 8px;
  margin: 0 34px 23px;
}

.profession-modal--refined .profession-category {
  min-height: 39px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 0.8rem;
}

.profession-modal--refined .modal-section-title {
  margin: 0 35px 12px;
  font-size: 0.75rem;
}

.profession-modal--refined .modal-section-title small {
  font-size: 0.72rem;
}

.profession-modal--refined .profession-list {
  max-height: min(448px, 49vh);
  gap: 10px;
  padding: 0 34px 28px;
}

.profession-modal--refined .profession-option {
  min-height: 72px;
  gap: 13px;
  padding: 11px 13px;
  border-radius: 16px;
}

.profession-modal--refined .profession-option__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 0.88rem;
}

.profession-modal--refined .profession-option__copy {
  gap: 3px;
}

.profession-modal--refined .profession-option__copy strong {
  font-size: 0.91rem;
}

.profession-modal--refined .profession-option__copy small {
  font-size: 0.72rem;
}

.profession-modal--refined .modal__footer {
  min-height: 62px;
  padding: 0 34px;
}

.profession-modal--refined .api-source,
.profession-modal--refined .modal__footer > small {
  font-size: 0.72rem;
}

/* Selector de țară */
.country-modal {
  width: min(720px, calc(100% - 32px));
}

.country-modal__header {
  padding: 30px 32px 22px;
}

.country-featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 32px 16px;
}

.country-featured__option,
.country-option {
  position: relative;
  display: grid;
  min-width: 0;
  align-items: center;
  overflow: hidden;
  color: rgba(245, 247, 251, 0.76);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  text-align: left;
  transition: color 0.24s ease, border-color 0.24s ease, background 0.24s ease, transform 0.32s var(--ease-spring);
}

.country-featured__option {
  min-height: 72px;
  grid-template-columns: 43px 1fr 18px;
  gap: 12px;
  padding: 10px 13px;
  border-radius: 16px;
}

.country-featured__option:hover,
.country-featured__option.is-selected,
.country-option:hover,
.country-option.is-selected {
  color: var(--ink);
  border-color: rgba(var(--accent-rgb), 0.3);
  background: rgba(var(--accent-rgb), 0.06);
  transform: translateY(-2px);
}

.country-option__flag {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 1.35rem;
}

.country-option__flag--all {
  color: var(--accent);
  font-size: 1.08rem;
}

.country-featured__option > span:nth-child(2),
.country-option > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.country-featured__option strong,
.country-option strong {
  overflow: hidden;
  font-size: 0.86rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-featured__option small,
.country-option small {
  color: var(--muted-2);
  font-size: 0.69rem;
}

.country-featured__option > i,
.country-option > i {
  color: var(--accent);
  font-size: 0.72rem;
  font-style: normal;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.3s var(--ease-spring);
}

.country-featured__option.is-selected > i,
.country-option.is-selected > i {
  opacity: 1;
  transform: scale(1);
}

.country-modal .country-search {
  margin: 0 32px 18px;
}

.country-modal .country-search input {
  min-height: 54px;
  font-size: 0.92rem;
}

.country-modal .modal-section-title {
  margin-right: 33px;
  margin-left: 33px;
  font-size: 0.73rem;
}

.country-list {
  display: grid;
  max-height: min(390px, 43vh);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 32px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
  scrollbar-width: thin;
}

.country-option {
  min-height: 61px;
  grid-template-columns: 39px 1fr 16px;
  gap: 10px;
  padding: 8px 11px;
  border-radius: 14px;
  animation: option-enter 0.42s var(--ease-out) both;
  animation-delay: calc(var(--index, 0) * 18ms);
}

.country-option .country-option__flag {
  width: 39px;
  height: 39px;
  border-radius: 10px;
  font-size: 1.15rem;
}

.country-empty {
  grid-column: 1 / -1;
}

/* Selector de limbă */
.language-modal {
  width: min(580px, calc(100% - 32px));
}

.language-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 0 28px 28px;
}

.language-option {
  position: relative;
  display: grid;
  min-height: 66px;
  grid-template-columns: 39px 1fr 17px;
  align-items: center;
  overflow: hidden;
  gap: 11px;
  padding: 9px 11px;
  color: rgba(245, 247, 251, 0.73);
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
  text-align: left;
  transition: color 0.24s ease, border-color 0.24s ease, background 0.24s ease, transform 0.3s var(--ease-spring);
}

.language-option--auto {
  grid-column: 1 / -1;
}

.language-option:hover,
.language-option.is-selected {
  color: var(--ink);
  border-color: rgba(var(--accent-rgb), 0.3);
  background: rgba(var(--accent-rgb), 0.06);
  transform: translateY(-2px);
}

.language-option__mark {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.17);
  border-radius: 11px;
  background: rgba(var(--accent-rgb), 0.055);
  font-size: 0.68rem;
  font-weight: 800;
}

.language-option > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.language-option strong {
  font-size: 0.84rem;
  font-weight: 600;
}

.language-option small {
  color: var(--muted-2);
  font-size: 0.68rem;
}

.language-option > i {
  color: var(--accent);
  font-size: 0.72rem;
  font-style: normal;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.3s var(--ease-spring);
}

.language-option.is-selected > i {
  opacity: 1;
  transform: scale(1);
}

body.is-language-changing:not(.is-language-revealing) .app-shell {
  opacity: 0.34;
  filter: blur(5px);
  transform: translateY(5px) scale(0.994);
}

.app-shell {
  transition: opacity 0.26s ease, filter 0.3s ease, transform 0.38s var(--ease-out);
}

body.is-language-revealing .app-shell {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

@media (max-width: 1260px) {
  .privacy-label {
    display: none;
  }
}

@media (max-width: 1040px) {
  .topbar {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 14px 0 16px;
  }

  .preference-cluster {
    display: grid;
    width: 100%;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }

  .preference-cluster .preference-button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 740px) {
  .topbar {
    min-height: 0;
  }

  .preference-cluster .preference-button {
    grid-column: auto;
    grid-row: auto;
  }

  .preference-button__copy strong,
  .preference-button--country .preference-button__copy strong {
    max-width: calc(100vw - 190px);
  }

  .profession-modal--refined .profession-list,
  .country-list {
    grid-template-columns: 1fr;
  }

  .profession-modal--refined .profession-list {
    max-height: min(430px, 47vh);
  }
}

@media (max-width: 620px) {
  .preference-cluster {
    gap: 8px;
  }

  .preference-button {
    height: 56px;
    padding: 0 10px;
    border-radius: 16px;
  }

  .preference-button__glyph {
    width: 34px;
    height: 34px;
  }

  .preference-button__copy small {
    font-size: 0.62rem;
  }

  .preference-button__copy strong {
    max-width: calc(55vw - 92px);
    font-size: 0.8rem;
  }

  .preference-button--country .preference-button__copy strong {
    max-width: calc(45vw - 82px);
  }

  .profession-modal__header,
  .country-modal__header {
    padding: 24px 19px 18px;
  }

  .profession-modal__header h2,
  .country-modal__header h2 {
    font-size: 1.55rem;
  }

  .profession-modal__header p,
  .country-modal__header p {
    font-size: 0.81rem;
  }

  .profession-modal--refined .current-preference {
    width: calc(100% - 38px);
    margin-right: 19px;
    margin-left: 19px;
  }

  .profession-modal--refined .profession-search,
  .profession-modal--refined .profession-categories,
  .country-modal .country-search {
    margin-right: 19px;
    margin-left: 19px;
  }

  .profession-modal--refined .profession-list,
  .country-list {
    padding-right: 19px;
    padding-left: 19px;
  }

  .profession-modal--refined .modal-section-title,
  .country-modal .modal-section-title {
    margin-right: 20px;
    margin-left: 20px;
  }

  .country-featured {
    grid-template-columns: 1fr;
    margin-right: 19px;
    margin-left: 19px;
  }

  .language-list {
    grid-template-columns: 1fr;
    padding-right: 19px;
    padding-left: 19px;
  }

  .language-option--auto {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .preference-cluster {
    grid-template-columns: 1fr;
  }

  .preference-button__copy strong,
  .preference-button--country .preference-button__copy strong {
    max-width: calc(100vw - 142px);
  }
}
