﻿:root {
  --primary: #b80049;
  --primary-dark: #900038;
  --primary-soft: #ffd9de;
  --secondary: #4355b9;
  --tertiary: #006a34;
  --danger: #c72c48;
  --background: #fff8f7;
  --surface: #ffffff;
  --surface-soft: #fff0f1;
  --surface-strong: #ffe1e4;
  --outline: #e4bdc2;
  --text: #28171a;
  --muted: #5b3f43;
  --shadow-1: 0 4px 20px rgba(44, 62, 80, 0.08);
  --shadow-2: 0 12px 32px rgba(44, 62, 80, 0.14);
  --radius: 24px;
  --radius-small: 14px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 217, 222, 0.82), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(224, 182, 255, 0.42), transparent 24%),
    linear-gradient(180deg, #fff8f7 0%, #fff 48%, #fff7f9 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  gap: 12px;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 217, 222, 0.98), transparent 32%),
    linear-gradient(135deg, #fff8f7, #fff);
  color: var(--primary);
  font-family: Quicksand, Inter, sans-serif;
  font-size: 30px;
  font-weight: 700;
  pointer-events: none;
  animation: introFade 1.8s var(--ease) forwards;
}

.lotus-svg {
  display: inline-block;
  fill: currentColor;
}

.lotus-svg--intro {
  width: 92px;
  height: 92px;
  animation: lotusBloom 1.2s var(--ease) both;
}

.intro-lotus-scene {
  position: relative;
  width: 190px;
  height: 160px;
  display: grid;
  place-items: center;
  color: var(--primary);
}

.intro-lotus-scene .lotus-svg--intro {
  position: relative;
  z-index: 2;
  width: 118px;
  height: 118px;
  filter: drop-shadow(0 18px 26px rgba(184, 0, 73, 0.22));
  animation: lotusBloom 1.2s var(--ease) both, introLotusFloat 2.8s ease-in-out 0.4s infinite;
}

.intro-waves {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 210px;
  height: 76px;
  transform: translateX(-50%);
  overflow: hidden;
  pointer-events: none;
}

.intro-waves span {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 230px;
  height: 82px;
  border: 3px solid rgba(67, 85, 185, 0.3);
  border-color: rgba(67, 85, 185, 0.32) transparent transparent transparent;
  border-radius: 48%;
  transform: translateX(-50%);
  animation: introWave 2.4s ease-in-out infinite;
}

.intro-waves span:nth-child(2) {
  bottom: 10px;
  width: 190px;
  border-top-color: rgba(0, 106, 52, 0.24);
  animation-delay: -0.7s;
}

.intro-waves span:nth-child(3) {
  bottom: 21px;
  width: 150px;
  border-top-color: rgba(184, 0, 73, 0.22);
  animation-delay: -1.3s;
}

body.no-scroll {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 248, 247, 0.9);
  border-bottom: 1px solid rgba(228, 189, 194, 0.75);
  backdrop-filter: blur(16px);
}

.topbar__inner,
.footer__inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.topbar__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-family: Quicksand, Inter, sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.brand__lotus {
  width: 32px;
  height: 32px;
  color: var(--primary);
  filter: drop-shadow(0 6px 10px rgba(184, 0, 73, 0.16));
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav__link:hover,
.nav__link.is-active {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.nav__link:active {
  transform: scale(0.96);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-status {
  max-width: 180px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-balance-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid rgba(67, 85, 185, 0.2);
  border-radius: 999px;
  background: #fff;
  color: var(--secondary);
  font: inherit;
  font-weight: 900;
  box-shadow: var(--shadow-1);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.top-balance-button:hover {
  transform: translateY(-1px);
  background: #eef0ff;
  box-shadow: var(--shadow-2);
}

.top-balance-button .material-symbols-outlined {
  color: var(--primary);
  font-size: 20px;
}

.logout-button {
  min-height: 40px;
  padding: 0 14px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--surface);
  box-shadow: var(--shadow-1);
}

.avatar--small {
  width: 42px;
  height: 42px;
}

.button,
.icon-button,
.send-button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), background 0.24s var(--ease), color 0.24s var(--ease), opacity 0.24s var(--ease);
}

.button {
  padding: 0 22px;
}

.button--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(184, 0, 73, 0.2);
}

.button--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(184, 0, 73, 0.28);
}

.button--secondary {
  background: #fff;
  color: var(--secondary);
  border: 1px solid rgba(67, 85, 185, 0.24);
}

.button--secondary:hover {
  background: #eef0ff;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.button--ghost:hover {
  background: #fff;
  transform: translateY(-1px);
}

.button--large {
  min-height: 54px;
  padding: 0 28px;
}

.button__arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 24px;
  height: 16px;
  flex: 0 0 24px;
  transition: transform 0.24s var(--ease);
}

.button__arrow::before,
.button__arrow::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.button__arrow::before {
  left: 1px;
  right: 3px;
  top: 50%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translateY(-50%);
}

.button__arrow::after {
  right: 2px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 1px;
  transform: translateY(-50%) rotate(45deg);
}

.button:hover .button__arrow {
  transform: translateX(3px);
}.button--full {
  width: 100%;
}

.icon-button {
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  color: var(--muted);
}

.icon-button:hover {
  background: var(--surface-soft);
  color: var(--primary);
}

.nav-toggle {
  display: none;
}

.view {
  display: none;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 32px 0 72px;
}

.view.is-visible {
  display: block;
  animation: viewIn 0.36s var(--ease) both;
}

.hero {
  position: relative;
  min-height: clamp(560px, 76vh, 760px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-2);
  isolation: isolate;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero__shade {
  z-index: -1;
  background: linear-gradient(180deg, rgba(40, 23, 26, 0.06) 0%, rgba(255, 248, 247, 0.52) 38%, rgba(255, 248, 247, 0.94) 72%, rgba(255, 248, 247, 1) 100%);
}

.hero__content {
  width: min(760px, 100%);
  padding: 0 28px 80px;
  text-align: center;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-anim-fadeup {
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow__icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  color: #f5a623;
}

.button__heart {
  display: inline-block;
  vertical-align: middle;
  margin-right: 2px;
  animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.2); }
  28% { transform: scale(1); }
  42% { transform: scale(1.15); }
  70% { transform: scale(1); }
}

.eyebrow,
.online-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary-dark);
  border: 1px solid rgba(228, 189, 194, 0.64);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  backdrop-filter: blur(12px);
}

.hero h1,
.page-title h1,
.profile-heading h1 {
  margin: 0;
  font-family: Quicksand, Inter, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(38px, 7vw, 66px);
  line-height: 1.04;
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.6);
}

.hero p {
  width: min(640px, 100%);
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
}

.button--glow {
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(184, 0, 73, 0.32), 0 4px 8px rgba(184, 0, 73, 0.14);
}

.button--glow::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.34), transparent 60%);
  pointer-events: none;
  animation: glowPulse 2.8s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.button--glass {
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 28px rgba(40, 23, 26, 0.1);
  font-weight: 700;
}

.button--glass:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(40, 23, 26, 0.14);
}

.button--glass .material-symbols-outlined {
  color: #f5a623;
  font-variation-settings: "FILL" 1;
  font-size: 20px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: min(800px, 100%);
  margin: 28px auto 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(40, 23, 26, 0.06);
  backdrop-filter: blur(14px);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), background 0.28s var(--ease);
}

.hero-badge:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: 0 14px 32px rgba(40, 23, 26, 0.12);
}

.hero-badge__icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-soft), #ffe8ed);
  flex-shrink: 0;
}

.hero-badge__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-badge__icon--accent {
  background: linear-gradient(135deg, #e8ecff, #dde4ff);
}

.hero-badge__icon--accent svg {
  stroke: var(--secondary);
}

.section {
  padding: 96px 0 40px;
}

.section__head {
  width: min(650px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.section__head h2,
.feature-band h2,
.panel h2,
.filters h2,
.chat-list h1,
.modal h2 {
  margin: 0;
  font-family: Quicksand, Inter, sans-serif;
  font-size: 32px;
  line-height: 1.2;
}

.section__head p,
.feature-band p,
.panel p,
.trust-card p,
.page-title p,
.modal p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card,
.panel,
.trust-card {
  background: var(--surface);
  border: 1px solid rgba(228, 189, 194, 0.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.step-card:hover,
.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}

.step-card {
  padding: 30px;
}

.step-card__icon {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 30px;
}

.step-card h3 {
  margin: 22px 0 10px;
  font-family: Quicksand, Inter, sans-serif;
  font-size: 24px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.audience-section {
  padding: 44px 0 10px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.audience-card {
  min-height: 214px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(228, 189, 194, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(255, 240, 241, 0.86)),
    var(--surface);
  box-shadow: var(--shadow-1);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.audience-card:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 0, 73, 0.32);
  box-shadow: var(--shadow-2);
}

.audience-card .material-symbols-outlined {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-size: 28px;
  box-shadow: var(--shadow-1);
}

.audience-card:nth-child(2) .material-symbols-outlined {
  color: var(--secondary);
}

.audience-card:nth-child(3) .material-symbols-outlined {
  color: var(--tertiary);
}

.audience-card h3 {
  margin: 18px 0 8px;
  font-family: Quicksand, Inter, sans-serif;
  font-size: 23px;
}

.audience-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.feature-band {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding: 44px;
  margin: 38px 0 34px;
  border-radius: 28px;
  background: var(--surface-strong);
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 20px;
  padding: 0;
  margin: 26px 0 0;
}

.feature-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.feature-list .material-symbols-outlined {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-1);
}

.feature-list strong {
  display: block;
  margin-top: 1px;
}

.feature-list p {
  margin-top: 4px;
}

.feature-band__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow-2);
}

.page-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
}

.filters {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.panel {
  padding: 24px;
}

.field {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field select,
.signup-form input,
.signup-form select,
.signup-form textarea,
.composer input,
.input-icon input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--outline);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  outline: 0;
  padding: 0 16px;
}

.field input:focus,
.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus,
.composer input:focus,
.input-icon input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(67, 85, 185, 0.12);
}

.signup-form textarea {
  min-height: 92px;
  border-radius: 18px;
  padding: 12px 16px;
  resize: vertical;
}

input[type="range"] {
  accent-color: var(--primary);
}

.input-icon {
  position: relative;
  display: block;
}

.input-icon .material-symbols-outlined {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 21px;
  pointer-events: none;
}

.input-icon input {
  padding-left: 44px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-interest-input {
  margin-top: 10px;
}

.interest-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(228, 189, 194, 0.72);
  border-radius: 18px;
  background: rgba(255, 240, 241, 0.62);
}

.chip {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--outline);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  padding: 0 13px;
  font-size: 13px;
  font-weight: 800;
}

.chip.is-selected {
  border-color: rgba(67, 85, 185, 0.2);
  background: #eef0ff;
  color: var(--secondary);
}

.trust-card {
  padding: 24px;
  text-align: center;
  background: linear-gradient(180deg, #fff, #fff0f1);
}

.trust-card .material-symbols-outlined {
  color: var(--primary);
  font-size: 46px;
  font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 48;
}

.trust-card h3 {
  margin: 8px 0 0;
  font-family: Quicksand, Inter, sans-serif;
  font-size: 24px;
}

.page-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.page-title h1,
.profile-heading h1 {
  font-size: clamp(34px, 5vw, 48px);
}

.online-strip {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.online-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
}

.online-user {
  min-width: 220px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(228, 189, 194, 0.72);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  text-align: left;
  scroll-snap-align: start;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.online-user:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 106, 52, 0.28);
  box-shadow: var(--shadow-1);
}

.online-user .avatar {
  width: 52px;
  height: 52px;
}

.online-user strong,
.online-user small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.online-user small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 360px));
  justify-content: start;
  align-items: start;
  gap: 22px;
}

.match-card {
  position: relative;
  min-height: 560px;
  width: 100%;
  max-width: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 28px;
  background: #21171a;
  color: #fff;
  box-shadow: 0 22px 54px rgba(40, 23, 26, 0.22);
  isolation: isolate;
  animation: cardIn 0.42s var(--ease) both;
  animation-delay: calc(var(--stagger, 0) * 45ms);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.match-card__photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #21171a;
}

.match-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), filter 0.28s var(--ease);
}

.match-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 0, 73, 0.22);
  box-shadow: var(--shadow-2);
}

.match-card:hover .match-card__image {
  transform: scale(1.04);
}

.match-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20, 12, 15, 0.18) 0%, transparent 28%, rgba(20, 12, 15, 0.16) 48%, rgba(20, 12, 15, 0.9) 100%),
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.18), transparent 24%);
  pointer-events: none;
}

.match-card__details {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 98px;
  z-index: 2;
  min-width: 0;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 24px;
  pointer-events: none;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.38);
}

.match-card__details h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Quicksand, Inter, sans-serif;
  font-size: 36px;
  line-height: 1.04;
}

.match-card__topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.match-card__topline span,
.is-away,
.is-online {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.match-card .match-card__topline span {
  background: rgba(255, 255, 255, 0.9);
  color: #56363d;
  text-shadow: none;
  box-shadow: 0 8px 20px rgba(20, 12, 15, 0.16);
}

.match-card .is-online {
  color: var(--tertiary);
}

.is-online {
  color: var(--tertiary);
}

.is-online::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--tertiary);
  box-shadow: 0 0 0 4px rgba(0, 106, 52, 0.12);
}

.verified-mark {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #eaf4ff;
  color: #1976d2;
}

.verified-mark .material-symbols-outlined {
  font-variation-settings: "FILL" 1, "wght" 650, "GRAD" 0, "opsz" 24;
  font-size: 21px;
}

.verified-mark--title {
  vertical-align: middle;
}

.match-card__section {
  display: grid;
  gap: 3px;
}

.match-card__section small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  text-shadow: none;
}

.match-card__section strong {
  max-width: 100%;
  color: #fff;
  font-size: 19px;
  line-height: 1.2;
}

.match-card__city {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #fff;
  font-weight: 900;
  line-height: 1.25;
}

.match-card__city .material-symbols-outlined {
  color: #ffcfda;
}

.match-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.match-card__facts li {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  backdrop-filter: blur(10px);
}

.match-card__facts .material-symbols-outlined {
  color: #ffcfda;
  font-size: 17px;
}

.match-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.match-card__chips span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
  text-shadow: none;
}

.match-card__actions {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 18px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
  z-index: 3;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-2);
  backdrop-filter: blur(12px);
}

.match-card__open {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.decision-badge {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
  box-shadow: var(--shadow-1);
}

.match-card.is-decided .match-card__image {
  filter: saturate(0.75);
}

.round-action {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  box-shadow: 0 8px 22px rgba(40, 23, 26, 0.14);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
}

.round-action .material-symbols-outlined {
  font-size: 28px;
}

.round-action--like {
  background: var(--primary);
  color: #fff;
}

.round-action--chat {
  background: #fff;
  color: var(--text);
}

.round-action:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.empty-state {
  padding: 56px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--outline);
  border-radius: var(--radius);
}

.empty-state .material-symbols-outlined {
  color: var(--primary);
  font-size: 52px;
}

.messenger {
  height: calc(100vh - 170px);
  min-height: 650px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 18px;
}

.chat-list,
.chat-window {
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

.chat-list {
  display: flex;
  flex-direction: column;
}

.chat-list__head {
  padding: 22px;
  border-bottom: 1px solid var(--outline);
}

.chat-list__head h1 {
  margin-bottom: 16px;
}

.chat-list__items {
  overflow: auto;
}

.empty-chat {
  margin: auto;
  padding: 28px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.chat-item {
  width: 100%;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 0;
  border-left: 4px solid transparent;
  background: transparent;
  padding: 14px 18px 14px 14px;
  text-align: left;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.chat-item:hover,
.chat-item.is-active {
  background: var(--surface-soft);
  border-left-color: var(--primary);
}

.chat-item:hover {
  transform: translateX(2px);
}

.chat-item h3 {
  margin: 0;
  font-size: 15px;
}

.chat-item p {
  margin: 4px 0 0;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-item__time {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.chat-item--support {
  background: linear-gradient(90deg, rgba(67, 85, 185, 0.08), transparent);
}

.support-avatar,
.support-avatar-img {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--secondary), var(--tertiary));
  color: #fff;
  box-shadow: var(--shadow-1);
}

.support-avatar-img {
  display: block;
  object-fit: cover;
  border: 0;
  background: var(--secondary);
}

.chat-window {
  display: flex;
  flex-direction: column;
}

.chat-window__head {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--outline);
}

.chat-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-person h2 {
  margin: 0;
  font-family: Quicksand, Inter, sans-serif;
  font-size: 23px;
}

.chat-person p {
  margin: 3px 0 0;
  color: var(--tertiary);
  font-size: 13px;
  font-weight: 800;
}

.chat-actions {
  display: flex;
  gap: 4px;
}

.messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: auto;
  padding: 22px;
  background:
    radial-gradient(circle at 8% 8%, rgba(67, 85, 185, 0.08), transparent 28%),
    linear-gradient(180deg, #fff, #fff5f6);
}

.message {
  max-width: min(72%, 620px);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: messageIn 0.28s var(--ease) both;
  line-height: 1.48;
}

.message__bubble {
  display: grid;
  gap: 8px;
  padding: 12px 14px 10px;
  border: 1px solid rgba(228, 189, 194, 0.54);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(44, 62, 80, 0.08);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.message:hover .message__bubble,
.message:focus-within .message__bubble {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(44, 62, 80, 0.12);
}

.message__body {
  overflow-wrap: anywhere;
}

.message__author {
  font-size: 12px;
  font-weight: 900;
  opacity: 0.76;
}

.message-attachment {
  display: block;
  overflow: hidden;
  border-radius: 16px;
}

.message-attachment--image img {
  display: block;
  width: min(360px, 100%);
  max-height: 360px;
  object-fit: cover;
  background: var(--surface-soft);
}

.message__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.message__meta small {
  opacity: 0.68;
  font-size: 11px;
  font-weight: 700;
}

.message-copy-btn,
.message-reaction-option,
.message-reaction-count,
.quick-replies button {
  border: 0;
  font: inherit;
}

.message-copy-btn {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  color: currentColor;
  opacity: 0.56;
  transition: opacity 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.message-copy-btn:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.message-copy-btn .material-symbols-outlined {
  font-size: 15px;
}

.message-reaction-picker,
.message-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.message-reaction-picker {
  position: absolute;
  z-index: 4;
  top: -18px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px) scale(0.96);
  padding: 5px;
  border: 1px solid rgba(228, 189, 194, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(44, 62, 80, 0.14);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.message:hover .message-reaction-picker,
.message:focus-within .message-reaction-picker {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.message--incoming .message-reaction-picker {
  left: 10px;
}

.message--outgoing .message-reaction-picker {
  right: 10px;
}

.message-reaction-option,
.message-reaction-count {
  min-width: 30px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.82);
  color: currentColor;
  font-size: 14px;
  font-weight: 900;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.message-reaction-option:hover,
.message-reaction-count:hover,
.message-reaction-option.is-selected,
.message-reaction-count.is-mine {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(184, 0, 73, 0.18);
  color: var(--primary-dark);
  box-shadow: 0 6px 16px rgba(44, 62, 80, 0.12);
}

.message-reaction-count strong {
  font-size: 12px;
}

.message--incoming {
  align-self: flex-start;
  color: #fff;
}

.message--incoming .message__bubble {
  background: linear-gradient(135deg, #4355b9, #31419a);
  border-bottom-left-radius: 5px;
  border-color: rgba(67, 85, 185, 0.18);
}

.message--outgoing {
  align-self: flex-end;
  color: var(--text);
}

.message--outgoing .message__bubble {
  background: #fff;
  border-bottom-right-radius: 5px;
}

.message--support.message--incoming .message__bubble,
.message--from-support .message__bubble {
  background: linear-gradient(135deg, #fff, #eef0ff);
  color: var(--text);
  border-color: rgba(67, 85, 185, 0.18);
}

.message--outgoing .message-reaction-option,
.message--outgoing .message-reaction-count {
  background: var(--surface-soft);
}

.message--outgoing .message-copy-btn:hover {
  background: var(--surface-soft);
}

.composer {
  display: grid;
  grid-template-columns: 44px 1fr 48px;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--outline);
}

.composer-attach {
  grid-column: 1;
  grid-row: 2;
  cursor: pointer;
}

.composer-file-input {
  position: absolute;
  width: 1px !important;
  height: 1px;
  min-height: 1px !important;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.quick-replies {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.quick-replies button {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--secondary);
  font-size: 13px;
  font-weight: 900;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.quick-replies button:hover {
  background: #eef0ff;
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.composer input {
  min-height: 48px;
  background: var(--surface-soft);
}

.composer #messageInput {
  grid-column: 2;
  grid-row: 2;
}

.composer-attachment-preview {
  grid-column: 2 / 4;
  grid-row: 3;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(67, 85, 185, 0.16);
  border-radius: 16px;
  background: #f6f7ff;
}

.composer-attachment-preview img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.composer-attachment-preview span {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.composer-attachment-preview .icon-button {
  width: 34px;
  height: 34px;
  min-height: 34px;
}

.send-button {
  grid-column: 3;
  grid-row: 2;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(184, 0, 73, 0.24);
}

.send-button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.send-button--fancy {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 12px 26px rgba(67, 85, 185, 0.22), 0 8px 18px rgba(184, 0, 73, 0.18);
}

.send-button--fancy::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.46), transparent 62%);
  transform: translateX(-70%) rotate(12deg);
  transition: transform 0.52s var(--ease);
}

.send-button--fancy:hover::before {
  transform: translateX(42%) rotate(12deg);
}

.send-button--fancy .material-symbols-outlined {
  position: relative;
  z-index: 1;
}

.messenger {
  background: transparent;
  border-radius: var(--radius);
}

.chat-list,
.chat-window {
  border-color: rgba(228, 189, 194, 0.72);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-1);
}

.chat-list__head,
.chat-window__head,
.composer {
  border-color: rgba(228, 189, 194, 0.72);
  background: #fff;
}

.chat-list__head h1,
.chat-person h2,
.chat-item h3 {
  color: var(--text);
}

.chat-list input,
.chat-list .input-icon input {
  background: var(--surface-soft);
  border-color: rgba(228, 189, 194, 0.72);
  color: var(--text);
}

.chat-list input::placeholder,
.composer input::placeholder {
  color: #8d6b70;
}

.chat-item {
  color: var(--text);
  border-left-width: 3px;
}

.chat-item:hover,
.chat-item.is-active {
  background: #f3f7fb;
  border-left-color: #4a96c7;
}

.chat-item p {
  color: var(--muted);
}

.chat-item__time,
.chat-person p {
  color: #2f86bd;
}

.chat-item--support {
  background: linear-gradient(90deg, rgba(67, 85, 185, 0.08), transparent);
}

.chat-window__head .icon-button,
.composer-attach {
  background: var(--surface-soft);
  color: var(--secondary);
}

.chat-window__head .icon-button:hover,
.composer-attach:hover {
  background: #eef0ff;
  color: var(--primary);
}

.messages,
.support-admin-messages {
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 255, 255, 0.64) 0 1px, transparent 2px),
    linear-gradient(180deg, #edf4fa, #f6fbff);
  background-size: 18px 18px, auto;
}

.message {
  max-width: min(74%, 640px);
}

.message__bubble {
  position: relative;
  border: 1px solid rgba(120, 162, 204, 0.14);
  border-radius: 18px;
  box-shadow: 0 5px 14px rgba(39, 82, 117, 0.08);
}

.message:hover .message__bubble,
.message:focus-within .message__bubble {
  box-shadow: 0 9px 20px rgba(39, 82, 117, 0.12);
}

.message__author {
  color: #2f86bd;
  opacity: 1;
}

.message__meta small {
  color: #7c97aa;
  opacity: 1;
}

.message--incoming {
  color: #17212b;
}

.message--incoming .message__bubble {
  background: #fff;
  border-color: rgba(120, 162, 204, 0.14);
  border-bottom-left-radius: 6px;
}

.message--outgoing {
  color: #17212b;
}

.message--outgoing .message__bubble {
  background: linear-gradient(135deg, #dff2ff, #cdefff);
  border-color: rgba(74, 150, 199, 0.16);
  border-bottom-right-radius: 6px;
}

.message--support.message--incoming .message__bubble,
.message--from-support .message__bubble {
  background: #fff;
  color: #17212b;
  border-color: rgba(67, 85, 185, 0.16);
}

.message-copy-btn:hover,
.message--outgoing .message-copy-btn:hover {
  background: rgba(74, 150, 199, 0.12);
}

.message-reaction-picker {
  border-color: rgba(120, 162, 204, 0.2);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(39, 82, 117, 0.16);
}

.message-reaction-option,
.message-reaction-count,
.message--outgoing .message-reaction-option,
.message--outgoing .message-reaction-count {
  background: #f4f9fd;
  color: #17212b;
}

.message-reaction-option:hover,
.message-reaction-count:hover,
.message-reaction-option.is-selected,
.message-reaction-count.is-mine {
  background: #fff;
  border-color: rgba(74, 150, 199, 0.26);
  color: #2f86bd;
  box-shadow: 0 8px 18px rgba(39, 82, 117, 0.12);
}

.composer {
  grid-template-columns: 44px 1fr 48px;
}

.quick-replies button {
  background: #f3f7fb;
  color: #2f86bd;
}

.quick-replies button:hover {
  background: #e4f2fc;
  color: var(--primary-dark);
}

.composer input {
  background: #f3f7fb;
  border-color: rgba(120, 162, 204, 0.18);
  color: var(--text);
}

.composer-attachment-preview {
  border-color: rgba(120, 162, 204, 0.16);
  background: #f3f7fb;
}

.composer-attachment-preview span {
  color: var(--muted);
}

.send-button--fancy {
  background: linear-gradient(135deg, #4a96c7, #2f86bd);
  box-shadow: 0 12px 28px rgba(74, 150, 199, 0.24);
}

.profile-page__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  margin-top: 0;
}

.profile-main,
.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.profile-heading p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  color: var(--muted);
}

.profile-view-hero {
  display: grid;
  grid-template-columns: minmax(240px, 36%) minmax(0, 1fr);
  gap: 22px;
  overflow: hidden;
  border: 1px solid rgba(228, 189, 194, 0.72);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 10%, rgba(67, 85, 185, 0.12), transparent 30%),
    linear-gradient(135deg, #fff, #fff2f4);
  box-shadow: var(--shadow-2);
}

.profile-view-photo {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: var(--surface-soft);
}

.profile-view-photo > img,
.profile-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-gallery {
  position: absolute;
  inset: 0;
}

.profile-gallery__image {
  position: absolute;
  inset: 0;
}

.profile-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary);
  box-shadow: 0 10px 24px rgba(40, 23, 26, 0.22);
  transform: translateY(-50%);
}

.profile-gallery__nav--prev {
  left: 14px;
}

.profile-gallery__nav--next {
  right: 14px;
}

.profile-gallery__dots {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 58px;
  z-index: 3;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 2px;
}

.profile-gallery__dots button {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.58);
  border-radius: 12px;
  background: #fff;
  opacity: 0.78;
}

.profile-gallery__dots button.is-active {
  border-color: #fff;
  opacity: 1;
  box-shadow: 0 8px 20px rgba(40, 23, 26, 0.28);
}

.profile-gallery__dots img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-view-photo .is-online,
.profile-view-photo .is-away {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(40, 23, 26, 0.18);
}

.profile-view-info {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 28px 28px 28px 6px;
}

.profile-view-info h1 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  font-family: Quicksand, Inter, sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.profile-view-info p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.profile-view-info p .material-symbols-outlined {
  color: var(--primary);
}

.profile-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-hero-tags span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(228, 189, 194, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.compat-score {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(67, 85, 185, 0.18);
  border-radius: 22px;
  background: linear-gradient(135deg, #eef0ff, #fff);
  box-shadow: var(--shadow-1);
}

.compat-score strong {
  color: var(--secondary);
  font-family: Quicksand, Inter, sans-serif;
  font-size: 40px;
  line-height: 1;
}

.compat-score span {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.4;
}

.compat-score--compact {
  width: min(100%, 460px);
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: none;
}

.compat-score--compact strong {
  font-size: 32px;
}

.profile-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.action-panel {
  display: grid;
  gap: 12px;
}

.info-list {
  list-style: none;
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 20px 0 0;
}

.info-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 12px;
  align-items: center;
}

.info-list .material-symbols-outlined {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary);
}

.info-list strong {
  font-size: 15px;
}

.info-list small {
  color: var(--muted);
  font-size: 12px;
}

.profile-completion-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(67, 85, 185, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 10%, rgba(67, 85, 185, 0.12), transparent 30%),
    linear-gradient(135deg, #fff, #f6f7ff);
  box-shadow: var(--shadow-1);
}

.profile-completion-card > div:first-child {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.profile-completion-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.profile-completion-card strong {
  color: var(--secondary);
  font-family: Quicksand, Inter, sans-serif;
  font-size: 34px;
  line-height: 1;
}

.profile-completion-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.profile-completion-bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(67, 85, 185, 0.1);
}

.profile-completion-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.profile-facts-panel {
  display: grid;
  gap: 18px;
}

.profile-fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 10px;
}

.profile-fact-card {
  min-width: 0;
  min-height: 78px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(228, 189, 194, 0.58);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fff8f9);
}

.profile-fact-card .material-symbols-outlined {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary);
}

.profile-fact-card small,
.profile-fact-card strong {
  min-width: 0;
  display: block;
}

.profile-fact-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.profile-fact-card strong {
  color: var(--text);
  overflow-wrap: anywhere;
}

.profile-split-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
  gap: 20px;
}

.profile-story-card {
  min-height: 156px;
}

.profile-story-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

.profile-side-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.profile-side-card .material-symbols-outlined {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary);
  font-size: 28px;
}

.profile-side-card strong {
  color: var(--secondary);
  font-family: Quicksand, Inter, sans-serif;
  font-size: 34px;
  line-height: 1;
}

.profile-side-card small {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.4;
}

.profile-social-card {
  display: grid;
  gap: 14px;
}

.profile-social-panel {
  display: grid;
  gap: 14px;
}

.social-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.social-summary-grid div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(67, 85, 185, 0.16);
  border-radius: 16px;
  background: #f6f7ff;
}

.social-summary-grid strong,
.social-summary-grid span {
  display: block;
}

.social-summary-grid strong {
  color: var(--secondary);
  font-family: Quicksand, Inter, sans-serif;
  font-size: 28px;
  line-height: 1;
}

.social-summary-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.social-columns {
  display: grid;
  gap: 14px;
}

.social-columns section {
  display: grid;
  gap: 8px;
}

.social-columns h3 {
  margin: 0;
  font-family: Quicksand, Inter, sans-serif;
  font-size: 17px;
}

.social-user {
  grid-template-columns: 42px minmax(0, 1fr);
}

.premium-page {
  display: grid;
  gap: 24px;
}

.rules-page {
  display: grid;
  gap: 22px;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rules-list {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
}

.rules-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.55;
}

.rules-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(184, 0, 73, 0.1);
}

.premium-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px;
  border-radius: 28px;
  background: linear-gradient(135deg, #fff, #ffe1e4 56%, #eef0ff);
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-2);
}

.premium-hero h1 {
  max-width: 720px;
  margin: 18px 0 0;
  font-family: Quicksand, Inter, sans-serif;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.04;
}

.premium-hero p {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.premium-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.account-stats div {
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
  background: var(--surface-soft);
}

.account-stats strong {
  color: var(--primary);
  font-family: Quicksand, Inter, sans-serif;
  font-size: 28px;
  line-height: 1;
}

.account-stats span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.feature-list--compact {
  margin-top: 18px;
  gap: 14px;
}

.section-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.section-row h2,
.tariff-panel h2,
.service-grid h2 {
  margin: 0;
  font-family: Quicksand, Inter, sans-serif;
  font-size: 30px;
}

.section-row p,
.tariff-panel p,
.service-grid p,
.price-card p {
  color: var(--muted);
  line-height: 1.55;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.plan-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-grid--balance {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.price-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 220px;
  padding: 18px;
  border: 1px solid rgba(228, 189, 194, 0.76);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-1);
  transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease), border-color 0.26s var(--ease);
}

.price-card--compact {
  min-height: 158px;
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}

.price-card.is-featured {
  border-color: rgba(184, 0, 73, 0.38);
  background: linear-gradient(180deg, #fff, var(--surface-soft));
}

.price-card__term {
  color: var(--secondary);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card strong {
  color: var(--primary);
  font-family: Quicksand, Inter, sans-serif;
  font-size: 38px;
  line-height: 1;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.gift-button {
  min-height: 132px;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 1px solid rgba(228, 189, 194, 0.8);
  border-radius: 20px;
  background: var(--surface-soft);
  color: var(--text);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), background 0.24s var(--ease);
}

.gift-button:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: var(--shadow-1);
}

.gift-button .material-symbols-outlined {
  color: var(--primary);
  font-size: 34px;
  font-variation-settings: "FILL" 1, "wght" 700, "GRAD" 0, "opsz" 40;
}

.gift-button strong {
  font-family: Quicksand, Inter, sans-serif;
  font-size: 20px;
}

.gift-button small {
  color: var(--muted);
  font-weight: 900;
}

.gift-info-panel {
  align-content: start;
}

.gift-preview-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.gift-preview-row span {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 16px;
  background: var(--surface-soft);
  color: var(--primary);
  font-weight: 900;
}

.gift-picker-dialog {
  max-width: 560px;
}

.gift-picker-balance {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef0ff;
  color: var(--secondary);
  font-weight: 900;
}

.gift-grid--picker {
  margin: 18px 0;
}

.balance-page {
  display: grid;
  gap: 20px;
}

.balance-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, #fff, #eef0ff 54%, #fff1f4);
}

.balance-hero h1 {
  margin: 16px 0 0;
  font-family: Quicksand, Inter, sans-serif;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.04;
}

.balance-hero p {
  max-width: 640px;
  color: var(--muted);
  line-height: 1.6;
}

.balance-wallet-card {
  min-height: 190px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-2);
}

.balance-wallet-card .material-symbols-outlined {
  color: var(--primary);
  font-size: 42px;
}

.balance-wallet-card small {
  color: var(--muted);
  font-weight: 900;
}

.balance-wallet-card strong {
  color: var(--primary);
  font-family: Quicksand, Inter, sans-serif;
  font-size: 44px;
  line-height: 1;
}

.balance-spend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.balance-spend-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.balance-spend-card .material-symbols-outlined {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--primary);
}

.album-panel {
  display: grid;
  gap: 18px;
}

.album-form {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.album-url-field {
  display: grid;
  gap: 8px;
}

.album-url-field span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.album-preview {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(67, 85, 185, 0.16);
  border-radius: 16px;
  background: #f6f7ff;
}

.album-preview img {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
}

.album-preview span {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 12px;
}

.album-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 18px;
  background: var(--surface-soft);
}

.album-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.album-item .icon-button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  min-height: 34px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--danger);
}

.album-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.face-verify-grid--single {
  grid-template-columns: 1fr;
}

.game-panel {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(255, 178, 186, 0.28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 72% 42%, rgba(227, 27, 84, 0.3), transparent 34%),
    radial-gradient(circle at 24% 18%, rgba(224, 182, 255, 0.18), transparent 30%),
    #111415;
  color: #e1e3e4;
  box-shadow: 0 24px 54px rgba(40, 23, 26, 0.22);
}

.game-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 178, 186, 0.14);
  color: #ffb2ba;
  font-size: 12px;
  font-weight: 900;
}

.game-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.game-copy h2 {
  margin: 12px 0 0;
  font-family: Sora, Quicksand, Inter, sans-serif;
  font-size: 30px;
  line-height: 1.16;
}

.game-copy p {
  color: #e4bdc0;
  line-height: 1.6;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.game-meta span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 178, 186, 0.12);
  color: #fffdff;
  font-weight: 800;
}

.game-meta strong {
  color: #ffb2ba;
}

.game-field {
  position: relative;
  min-height: 520px;
  border-radius: 22px;
}

.fortune-game {
  display: grid;
  place-items: center;
  overflow: visible;
  background: radial-gradient(circle at center, rgba(103, 0, 32, 0.78) 0%, rgba(17, 20, 21, 0.84) 70%);
  border: 1px solid rgba(255, 178, 186, 0.22);
}

.fortune-wheel-wrap {
  position: relative;
  width: min(500px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.wheel-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 12px solid #ffb2ba;
  border-radius: 999px;
  box-shadow:
    0 0 50px rgba(227, 27, 84, 0.4),
    inset 0 0 24px rgba(0, 0, 0, 0.3);
  transform: rotate(var(--wheel-angle, 0deg));
  transition: transform 4s cubic-bezier(0.15, 0, 0.15, 1);
  will-change: transform;
}

.wheel-container::after {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.wheel-svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(-90deg);
}

.wheel-text {
  font-family: Sora, Quicksand, Inter, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  fill: #670020;
  pointer-events: none;
}

.wheel-text--light {
  fill: #fffdff;
}

.wheel-text--premium {
  font-size: 11px;
  font-weight: 900;
}

@media (min-width: 768px) {
  .wheel-text {
    font-size: 17px;
  }

  .wheel-text--premium {
    font-size: 13px;
  }
}

.wheel-indicator {
  position: absolute;
  top: -20px;
  left: 50%;
  z-index: 4;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 40px solid #ffb2ba;
  filter: drop-shadow(0 0 10px rgba(255, 178, 186, 0.8));
}

.wheel-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  border: 4px solid #ffb2ba;
  border-radius: 999px;
  background: #0c0f10;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38);
  transform: translate(-50%, -50%);
}

.wheel-hub__inner {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #e0b6ff, #e31b54);
  box-shadow: inset 0 4px 14px rgba(255, 255, 255, 0.18);
}

.wheel-hub .material-symbols-outlined {
  color: #fffdff;
  font-size: 38px;
  font-variation-settings: "FILL" 1, "wght" 700, "GRAD" 0, "opsz" 40;
}

.roulette-spin-btn {
  position: relative;
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: auto;
  padding: 0 34px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffb2ba 0%, #e31b54 100%);
  color: #fffdff;
  box-shadow: 0 8px 0 #910030, 0 15px 20px rgba(0, 0, 0, 0.5);
  font-family: Sora, Quicksand, Inter, sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.roulette-spin-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(100%);
  transition: transform 0.28s var(--ease);
}

.roulette-spin-btn:hover::before {
  transform: translateY(0);
}

.roulette-spin-btn:hover {
  box-shadow: 0 8px 0 #910030, 0 15px 20px rgba(0, 0, 0, 0.5), 0 0 30px rgba(227, 27, 84, 0.55);
}

.roulette-spin-btn:active {
  transform: translateY(8px);
  box-shadow: 0 0 0 #910030, 0 5px 10px rgba(0, 0, 0, 0.5);
}

.roulette-spin-btn:disabled {
  cursor: progress;
  opacity: 0.68;
}

.roulette-spin-btn > * {
  position: relative;
  z-index: 1;
}

.roulette-spin-btn .material-symbols-outlined {
  font-size: 34px;
  font-variation-settings: "FILL" 1, "wght" 800, "GRAD" 0, "opsz" 40;
}

.roulette-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.roulette-actions .roulette-spin-btn {
  margin-top: 0;
}

.roulette-extra-btn {
  min-height: 52px;
  white-space: nowrap;
}

.roulette-note {
  color: #ffb2ba;
  font-size: 13px;
  font-weight: 800;
}

.placement-panel--attention {
  border-color: rgba(184, 0, 73, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 217, 222, 0.74), #fff),
    var(--surface);
  box-shadow: 0 18px 36px rgba(184, 0, 73, 0.12);
}

.liked-me-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.liked-user {
  width: 100%;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(228, 189, 194, 0.76);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  padding: 10px;
  text-align: left;
}

.liked-user strong,
.liked-user small {
  display: block;
}

.liked-user small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.footer {
  background: var(--surface-soft);
  border-top: 1px solid var(--outline);
}

.footer__inner {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  color: var(--muted);
  font-weight: 700;
}

.footer__links a:hover,
.footer-link-button:hover {
  color: var(--primary);
}

.footer-link-button,
.text-button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font: inherit;
  font-weight: 800;
}

.text-button {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__copy {
  color: var(--muted);
  font-weight: 700;
}

.payment-result {
  max-width: 760px;
  margin: 80px auto;
  text-align: center;
}

.payment-result__icon {
  width: 72px;
  height: 72px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 38px;
  font-variation-settings: "FILL" 1, "wght" 700, "GRAD" 0, "opsz" 40;
}

.payment-result__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.admin-page {
  display: grid;
  gap: 22px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.admin-stats div {
  padding: 18px;
  border: 1px solid var(--outline);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

.admin-stats strong,
.admin-stats span {
  display: block;
}

.admin-stats strong {
  color: var(--primary);
  font-family: Quicksand, Inter, sans-serif;
  font-size: 30px;
}

.admin-stats span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.admin-stat--online {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff, #f0fff7);
  border-color: rgba(47, 168, 102, 0.25);
}

.admin-stat--online::after {
  content: "";
  position: absolute;
  right: -24px;
  top: -24px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 168, 102, 0.18), transparent 68%);
}

.admin-online-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff7fa, #fff 48%, #f5f7ff);
}

.admin-online-overview,
.admin-online-users { min-width: 0; }

.admin-online-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.admin-online-head h2 { margin: 0; }
.admin-online-head p { margin: 5px 0 0; color: var(--muted); font-weight: 700; }

.admin-online-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(47, 168, 102, 0.12);
  color: #16804b;
  font-weight: 900;
  white-space: nowrap;
}

.admin-online-pill::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2fa866;
  box-shadow: 0 0 0 6px rgba(47, 168, 102, 0.14);
}

.admin-online-chart {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 180px;
  padding: 16px 14px 12px;
  border: 1px solid rgba(228, 189, 194, 0.62);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.admin-online-bar {
  flex: 1;
  min-width: 14px;
  display: grid;
  align-content: end;
  justify-items: center;
  gap: 7px;
  height: 100%;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.admin-online-bar span {
  width: 100%;
  min-height: 8px;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--primary), #ff7aa8);
  box-shadow: 0 8px 18px rgba(184, 0, 73, 0.16);
}

.admin-online-bar strong { color: var(--primary-dark); font-size: 12px; }

.admin-online-list { display: grid; gap: 10px; max-height: 260px; overflow: auto; padding-right: 4px; }

.admin-online-user {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(228, 189, 194, 0.62);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.admin-online-user strong,
.admin-online-user small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-online-user small { margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 700; }
.admin-online-user em { color: #16804b; font-size: 12px; font-style: normal; font-weight: 900; }
.admin-user-online-line { color: #16804b !important; font-weight: 900; }

@media (max-width: 820px) {
  .admin-online-panel { grid-template-columns: 1fr; }
  .admin-online-chart { overflow-x: auto; }
  .admin-online-bar { min-width: 32px; }
}

.admin-panel {
  display: grid;
  gap: 16px;
}

.admin-search {
  min-width: min(100%, 320px);
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-support-workspace {
  min-height: 280px;
}

.support-admin-layout {
  display: grid;
  grid-template-columns: minmax(190px, 280px) minmax(0, 1fr);
  gap: 14px;
}

.support-thread-list,
.support-admin-chat {
  min-height: 0;
  border: 1px solid rgba(228, 189, 194, 0.72);
  border-radius: 18px;
  background: #fff;
}

.support-thread-list {
  max-height: 420px;
  overflow: auto;
  padding: 8px;
}

.support-thread {
  width: 100%;
  display: grid;
  gap: 4px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  padding: 12px;
  color: var(--text);
  text-align: left;
}

.support-thread.is-active,
.support-thread:hover {
  background: var(--surface-soft);
}

.support-thread strong,
.support-thread small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-thread small {
  color: var(--muted);
  font-weight: 700;
}

.support-admin-chat {
  display: grid;
  grid-template-rows: auto auto minmax(220px, 1fr) auto;
  overflow: hidden;
}

.support-admin-chat__head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--outline);
}

.support-admin-chat__head strong,
.support-admin-chat__head small {
  display: block;
}

.support-admin-chat__head small {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 700;
}

.support-prize-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(120px, 150px) 110px minmax(190px, 1.2fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border-bottom: 1px solid rgba(228, 189, 194, 0.62);
  background: linear-gradient(135deg, #fff7fa, #fff);
}

.support-prize-form strong,
.support-prize-form small {
  display: block;
}

.support-prize-form strong {
  color: var(--primary-dark);
  font-size: 14px;
}

.support-prize-form small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.support-prize-form input,
.support-prize-form select {
  min-height: 42px;
  border: 1px solid rgba(228, 189, 194, 0.84);
  border-radius: 14px;
  padding: 0 12px;
  background: #fff;
  color: var(--text);
  outline: 0;
}

.support-prize-form input:focus,
.support-prize-form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(184, 0, 73, 0.1);
}

.support-admin-messages {
  overflow: auto;
  display: grid;
  gap: 10px;
  align-content: end;
  padding: 14px;
  background: linear-gradient(180deg, #fff, #fff8f7);
}

.support-admin-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--outline);
}

.support-admin-form input {
  min-height: 48px;
  border: 1px solid var(--outline);
  border-radius: 999px;
  padding: 0 16px;
  outline: 0;
}

.support-admin-form input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(67, 85, 185, 0.12);
}

.admin-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(228, 189, 194, 0.72);
  border-radius: 18px;
  background: #fff;
}

.admin-item--stack {
  align-items: start;
}

.admin-item--photo {
  grid-template-columns: 190px minmax(0, 1fr) auto;
  align-items: stretch;
}

.verify-compare {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.verify-compare img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(228, 189, 194, 0.72);
  background: var(--surface-soft);
}

.admin-item p,
.admin-item small {
  margin: 5px 0 0;
  color: var(--muted);
}

.admin-item__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.security-event {
  border-left: 5px solid var(--secondary);
}

.security-event--high,
.security-event--blocked {
  border-left-color: var(--danger);
}

.ai-note {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(67, 85, 185, 0.18);
  border-radius: 14px;
  background: #f5f6ff;
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
}

.matched-accounts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.matched-accounts span {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-profile-dialog {
  width: min(100%, 980px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(228, 189, 194, 0.72);
}

.admin-profile-dialog > .modal__close,
.admin-profile-dialog > .auth-dialog__badge,
.admin-profile-dialog > h2 {
  margin-left: 30px;
  margin-right: 30px;
}

.admin-profile-dialog > .modal__close {
  margin-left: 0;
  margin-right: 0;
}

.admin-profile-dialog > .auth-dialog__badge {
  margin-top: 30px;
}

.admin-profile-dialog > h2 {
  margin-top: 12px;
  margin-bottom: 18px;
  font-family: Quicksand, Inter, sans-serif;
  font-size: 30px;
}

.admin-profile-content {
  max-height: calc(92vh - 112px);
  overflow: auto;
  display: grid;
  gap: 16px;
  padding: 0 30px 30px;
}

.admin-profile-hero {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(228, 189, 194, 0.72);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 12%, rgba(67, 85, 185, 0.12), transparent 30%),
    linear-gradient(135deg, #fff, #fff2f4);
}

.admin-profile-hero img {
  width: 160px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
  background: var(--surface-soft);
}

.admin-profile-hero h3 {
  margin: 0;
  font-family: Quicksand, Inter, sans-serif;
  font-size: 30px;
  line-height: 1.1;
}

.admin-profile-hero p {
  margin: 7px 0 12px;
  color: var(--muted);
  font-weight: 800;
}

.admin-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-profile-section {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(228, 189, 194, 0.72);
  border-radius: 18px;
  background: #fff;
}

.admin-profile-section:first-child {
  grid-row: span 2;
}

.admin-profile-section h4,
.admin-profile-section p {
  margin: 0;
}

.admin-profile-section h4 {
  font-family: Quicksand, Inter, sans-serif;
  font-size: 19px;
}

.admin-profile-section p {
  color: var(--muted);
  line-height: 1.5;
}

.admin-profile-facts {
  list-style: none;
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 4px 0 0;
}

.admin-profile-facts li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(228, 189, 194, 0.48);
}

.admin-profile-facts strong,
.admin-mini-row strong {
  color: var(--text);
}

.admin-profile-facts span,
.admin-mini-row span {
  min-width: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.admin-mini-row {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 14px;
  background: var(--surface-soft);
}

.admin-profile-actions {
  position: sticky;
  bottom: -30px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 24%);
}

.compact-dialog {
  width: min(100%, 470px);
}

.compact-dialog h2 {
  margin: 14px 0 8px;
  font-family: Quicksand, Inter, sans-serif;
  font-size: 28px;
}

.compact-dialog p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.compact-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.compact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.compact-form input,
.compact-form select,
.compact-form textarea {
  width: 100%;
}

.compact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.auth-helper-button {
  justify-self: start;
}

.danger-button {
  background: #93000a;
}

.danger-outline {
  color: #93000a;
  border-color: rgba(147, 0, 10, 0.24);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.26s var(--ease), visibility 0.26s var(--ease);
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(40, 23, 26, 0.5);
  backdrop-filter: blur(0);
  transition: backdrop-filter 0.32s var(--ease), background 0.32s var(--ease);
}

.modal.is-open .modal__backdrop {
  backdrop-filter: blur(8px);
}

.modal__dialog {
  position: relative;
  width: min(100%, 760px);
  max-height: min(92vh, 900px);
  max-height: min(92dvh, 900px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: 30px;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}

.auth-dialog {
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(228, 189, 194, 0.82);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 217, 222, 0.72), transparent 26%),
    radial-gradient(circle at 6% 38%, rgba(224, 182, 255, 0.22), transparent 24%),
    #fff;
}

.auth-dialog::before,
.auth-dialog::after {
  content: "";
  position: absolute;
  left: -15%;
  right: -15%;
  height: 120px;
  border-radius: 45%;
  pointer-events: none;
}

.auth-dialog::before {
  top: -58px;
  background: rgba(255, 217, 222, 0.64);
  animation: authWave 8s ease-in-out infinite;
}

.auth-dialog::after {
  top: -34px;
  background: rgba(67, 85, 185, 0.08);
  animation: authWave 10s ease-in-out infinite reverse;
}

.auth-dialog > * {
  position: relative;
  z-index: 1;
}

.auth-lotus-mark {
  position: absolute;
  top: 28px;
  right: 74px;
  z-index: 0;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  color: rgba(184, 0, 73, 0.1);
  animation: lotusFloat 5s ease-in-out infinite;
}

.auth-lotus-mark .lotus-svg {
  width: 96px;
  height: 96px;
}

.modal.is-open .modal__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.game-win-modal__backdrop {
  background: rgba(17, 20, 21, 0.9);
}

.game-win-dialog {
  width: min(100%, 390px);
  overflow: hidden;
  border: 2px solid #ffb2ba;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(227, 27, 84, 0.28), transparent 42%),
    #1d2021;
  color: #e1e3e4;
  text-align: center;
  box-shadow: 0 0 50px rgba(227, 27, 84, 0.28), 0 24px 52px rgba(0, 0, 0, 0.36);
}

.game-win-dialog h2 {
  margin: 0 0 10px;
  font-family: Sora, Quicksand, Inter, sans-serif;
  font-size: 26px;
}

.game-win-amount {
  margin: 0 0 24px;
  color: #ffb2ba;
  font-family: Sora, Quicksand, Inter, sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.15;
}

.game-win-icon {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border: 4px solid #282a2b;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffb2ba, #e31b54);
  box-shadow: 0 0 30px rgba(255, 178, 186, 0.42);
}

.game-win-icon.is-premium {
  background: linear-gradient(135deg, #e0b6ff, #9f49e4);
  box-shadow: 0 0 30px rgba(224, 182, 255, 0.42);
}

.game-win-icon .material-symbols-outlined {
  color: #fffdff;
  font-size: 48px;
  font-variation-settings: "FILL" 1, "wght" 800, "GRAD" 0, "opsz" 48;
}

.game-win-dialog__confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.game-win-dialog__confetti span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #ffb2ba;
}

.game-win-dialog__confetti span:nth-child(1) {
  left: 28px;
  top: 24px;
  background: #e0b6ff;
}

.game-win-dialog__confetti span:nth-child(2) {
  right: 48px;
  top: 54px;
  width: 16px;
  height: 16px;
}

.game-win-dialog__confetti span:nth-child(3) {
  left: 70px;
  bottom: 54px;
  width: 9px;
  height: 9px;
  background: #e31b54;
}

.game-win-dialog__confetti span:nth-child(4) {
  right: 34px;
  bottom: 30px;
  width: 18px;
  height: 18px;
  background: #e0b6ff;
}

.publish-prompt-dialog {
  width: min(100%, 440px);
}

.publish-prompt-dialog h2 {
  margin: 14px 0 8px;
  font-family: Quicksand, Inter, sans-serif;
  font-size: 30px;
}

.publish-prompt-dialog p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.publish-prompt-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.auth-dialog__header {
  padding-right: 46px;
}

.auth-dialog__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
}

.auth-providers {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.google-auth-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(228, 189, 194, 0.9);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 900;
  box-shadow: var(--shadow-1);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.google-auth-button:hover {
  transform: translateY(-1px);
  border-color: rgba(67, 85, 185, 0.28);
  box-shadow: var(--shadow-2);
}

.google-auth-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.google-logo {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.auth-providers p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 22px;
  padding: 6px;
  border-radius: 999px;
  background: var(--surface-soft);
}

.auth-tab {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}

.auth-tab.is-active {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-1);
}

.signup-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.auth-panel {
  animation: authPanelIn 0.28s var(--ease) both;
}

.auth-panel label,
.auth-panel .avatar-field,
.auth-panel .compat-block,
.auth-panel .interest-picker,
.auth-panel .checkbox-field,
.auth-panel .button {
  animation: softRise 0.45s var(--ease) both;
}

.auth-panel label:nth-of-type(2),
.auth-panel .avatar-field {
  animation-delay: 40ms;
}

.auth-panel label:nth-of-type(3),
.auth-panel .compat-block {
  animation-delay: 80ms;
}

.auth-panel label:nth-of-type(4),
.auth-panel .interest-picker {
  animation-delay: 120ms;
}

.auth-panel .button {
  animation-delay: 160ms;
}

.auth-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.signup-form label,
.profile-edit-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.signup-form select {
  appearance: none;
  border-radius: 16px;
}

.signup-form small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.signup-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-soft);
}

.signup-progress span {
  display: block;
  width: var(--signup-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.28s var(--ease);
}

.signup-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.signup-stepper span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(228, 189, 194, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.signup-stepper b {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
}

.signup-stepper span.is-active {
  border-color: rgba(184, 0, 73, 0.32);
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-1);
}

.signup-stepper span.is-active b {
  background: var(--primary);
  color: #fff;
}

.signup-stepper span.is-complete b {
  background: var(--tertiary);
  color: #fff;
}

.signup-step {
  display: grid;
  gap: 16px;
  animation: signupStepInForward 0.34s var(--ease) both;
}

.signup-form[data-signup-direction="back"] .signup-step.is-active {
  animation-name: signupStepInBack;
}

.signup-step__head {
  display: grid;
  gap: 5px;
}

.signup-step__head span {
  color: var(--secondary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.signup-step__head h3 {
  margin: 0;
  color: var(--text);
  font-family: Quicksand, Inter, sans-serif;
  font-size: 26px;
  line-height: 1.12;
}

.signup-step__head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.signup-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.signup-actions--final {
  grid-template-columns: auto auto minmax(0, 1fr);
}

.signup-actions .button {
  min-width: 0;
  white-space: nowrap;
}

.interest-picker--compact {
  padding: 10px;
  gap: 7px;
}

.password-meter {
  display: grid;
  gap: 8px;
  margin-top: -6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.password-meter__bar {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-soft);
}

.password-meter__bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--outline);
  transition: width 0.26s var(--ease), background 0.26s var(--ease);
}

.signup-form[data-strength="weak"] .password-meter__bar span {
  width: 34%;
  background: #d44a3a;
}

.signup-form[data-strength="medium"] .password-meter__bar span {
  width: 68%;
  background: #b66a00;
}

.signup-form[data-strength="strong"] .password-meter__bar span {
  width: 100%;
  background: var(--tertiary);
}

.avatar-field {
  display: grid;
  grid-template-columns: 116px 1fr;
  align-items: stretch;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(228, 189, 194, 0.72);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 240, 241, 0.92)),
    var(--surface-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.avatar-field .avatar-preview {
  width: 116px;
  height: 116px;
  border-radius: 22px;
  align-self: center;
}

.avatar-field__body {
  display: grid;
  gap: 10px;
  align-content: center;
}

.avatar-field__title {
  color: var(--text);
  font-family: Quicksand, Inter, sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.avatar-field__body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.avatar-picker {
  width: fit-content;
  min-height: 42px;
  display: inline-flex !important;
  grid-template-columns: none !important;
  align-items: center;
  justify-content: center;
  gap: 8px !important;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  box-shadow: 0 10px 22px rgba(184, 0, 73, 0.18);
  cursor: pointer;
  transition: transform 0.22s var(--ease), background 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.avatar-picker:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(184, 0, 73, 0.24);
}

.avatar-file-input {
  position: absolute;
  width: 1px !important;
  height: 1px;
  min-height: 1px !important;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.avatar-url-field {
  gap: 7px !important;
  font-size: 13px !important;
}

.avatar-url-field input {
  min-height: 42px !important;
  border-radius: 14px !important;
}

.checkbox-field {
  display: grid !important;
  grid-template-columns: 22px 1fr;
  align-items: flex-start;
  gap: 10px !important;
  color: var(--muted);
  font-size: 13px !important;
  line-height: 1.5;
}

.checkbox-field input {
  width: 22px !important;
  height: 22px;
  min-height: 22px !important;
  margin: 0;
  padding: 0 !important;
  appearance: none;
  border-radius: 999px !important;
  background: #fff;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.checkbox-field input:checked {
  border-color: var(--primary);
  background: var(--primary) url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 7.2l2.2 2.2L10.8 4' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
  box-shadow: 0 0 0 3px rgba(184, 0, 73, 0.14);
}

.signup-form[aria-busy="true"] {
  pointer-events: none;
}

.signup-form[aria-busy="true"] button[type="submit"] {
  opacity: 0.82;
}

.signup-form[aria-busy="true"] button[type="submit"]::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #fff;
  border-radius: 999px;
  animation: spin 0.8s linear infinite;
}

.terms-dialog {
  width: min(100%, 760px);
}

.terms-content {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.terms-content section {
  padding: 16px;
  border: 1px solid rgba(228, 189, 194, 0.72);
  border-radius: 18px;
  background: var(--surface-soft);
}

.terms-content h3 {
  margin: 0;
  font-family: Quicksand, Inter, sans-serif;
  font-size: 20px;
}

.terms-content p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.profile-edit-form {
  display: grid;
  gap: 14px;
}

.compat-block {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(67, 85, 185, 0.14);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #f6f7ff);
}

.compat-block h3 {
  margin: 0;
  color: var(--secondary);
  font-family: Quicksand, Inter, sans-serif;
  font-size: 22px;
}

.photo-verify-panel .avatar-field {
  grid-template-columns: 92px 1fr;
  padding: 12px;
}

.photo-verify-panel .avatar-field .avatar-preview {
  width: 92px;
  height: 92px;
  border-radius: 18px;
}

.face-camera-card {
  display: grid;
  grid-template-columns: minmax(124px, 180px) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(67, 85, 185, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 94% 8%, rgba(67, 85, 185, 0.12), transparent 32%),
    linear-gradient(135deg, #fff, #f6f7ff);
}

.face-camera-card video {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  background: #111;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.face-camera-card video[hidden] ~ div {
  grid-column: 1 / -1;
}

.face-camera-card div {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.face-camera-card strong,
.face-camera-card span {
  display: block;
}

.face-camera-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.face-camera-card .button {
  grid-column: 1 / -1;
}

.face-verify-grid {
  display: grid;
  gap: 10px;
}

.face-step {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 94px;
  padding: 10px;
  border: 1px solid rgba(228, 189, 194, 0.72);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  font: inherit;
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.face-step:hover {
  transform: translateY(-1px);
  border-color: rgba(184, 0, 73, 0.24);
  box-shadow: var(--shadow-1);
}

.face-step img {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  object-fit: cover;
  background: var(--surface-soft);
}

.face-step span,
.face-step strong,
.face-step small {
  display: block;
}

.face-step small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.face-step em {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.face-step.is-captured {
  border-color: rgba(0, 106, 52, 0.28);
  background: #f2fff7;
}

.face-step.is-captured em {
  background: rgba(0, 106, 52, 0.12);
  color: var(--tertiary);
}

.face-step.is-captured em::before {
  content: "check";
  margin-right: 5px;
  font-family: "Material Symbols Outlined";
  font-size: 15px;
  line-height: 1;
  font-variation-settings: "FILL" 1, "wght" 700, "GRAD" 0, "opsz" 20;
}

.device-panel {
  display: grid;
  gap: 14px;
}

.device-list {
  display: grid;
  gap: 10px;
}

.device-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(228, 189, 194, 0.72);
  border-radius: 16px;
  background: #fff;
}

.device-item.is-current {
  border-color: rgba(67, 85, 185, 0.34);
  background: #f6f7ff;
}

.device-item strong,
.device-item small,
.device-item span {
  display: block;
}

.device-item small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.device-item > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.device-revoke {
  color: var(--danger);
}

.device-revoke:hover {
  background: #fff1f4;
  color: var(--danger);
}

.security-alert {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(199, 44, 72, 0.26);
  border-radius: 16px;
  background: #fff1f4;
  color: var(--danger);
}

.security-alert span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.profile-edit-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.profile-edit-form input,
.profile-edit-form select,
.profile-edit-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--outline);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  outline: 0;
  padding: 0 16px;
}

.profile-edit-form textarea {
  min-height: 110px;
  border-radius: 18px;
  padding: 12px 16px;
  resize: vertical;
}

.profile-edit-form input:focus,
.profile-edit-form select:focus,
.profile-edit-form textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(67, 85, 185, 0.12);
}

.avatar-preview {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  object-fit: cover;
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-1);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 70;
  max-width: min(520px, calc(100% - 32px));
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  background: var(--text);
  color: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  box-shadow: var(--shadow-2);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introFade {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  72% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
  }
}

@keyframes lotusBloom {
  0% {
    opacity: 0;
    transform: scale(0.72) rotate(-8deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes lotusFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(8px) rotate(2deg);
  }
}

@keyframes introLotusFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(10px) rotate(1.5deg);
  }
}

@keyframes introWave {
  0%,
  100% {
    transform: translateX(-52%) translateY(0) rotate(0deg);
  }
  50% {
    transform: translateX(-48%) translateY(5px) rotate(2deg);
  }
}

@keyframes authWave {
  0%,
  100% {
    transform: translateX(-3%) rotate(0);
  }
  50% {
    transform: translateX(3%) rotate(1deg);
  }
}

@keyframes signupStepInForward {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes signupStepInBack {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes softRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes authPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes messageIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Pink messenger refresh */
.messenger {
  min-height: 660px;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 14px;
  padding: 6px;
}

.chat-list,
.chat-window {
  border-color: rgba(184, 0, 73, 0.14);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(184, 0, 73, 0.08);
}

.chat-list__head,
.chat-window__head,
.composer {
  border-color: rgba(184, 0, 73, 0.12);
  background: #fff;
}

.chat-list__head {
  padding: 24px 20px 16px;
}

.chat-list__head h1 {
  margin: 0 0 18px;
  color: #2d2528;
  font-size: 28px;
  line-height: 1.1;
}

.chat-list__items {
  padding: 8px 10px 14px;
}

.chat-item {
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 12px;
  margin-bottom: 6px;
  padding: 10px 12px;
  border-left: 0;
  border-radius: 18px;
  color: #2d2528;
}

.chat-item:hover,
.chat-item.is-active {
  background: #fff0f5;
  border-left-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(184, 0, 73, 0.08);
}

.chat-item:hover {
  transform: translateX(0);
}

.chat-item .avatar,
.chat-item .support-avatar-img {
  width: 54px;
  height: 54px;
}

.chat-item h3 {
  color: #2d2528;
  font-size: 16px;
  font-weight: 900;
}

.chat-item p {
  color: #8a6b73;
  font-size: 13px;
}

.chat-item__time {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.chat-item--support {
  background: linear-gradient(90deg, #fff3f7, #fff);
}

.chat-window__head {
  min-height: 92px;
  padding: 18px 20px;
}

.chat-person h2 {
  color: #2d2528;
  font-size: 22px;
}

.chat-person p {
  color: var(--primary);
}

.chat-actions {
  gap: 6px;
}

.chat-window__head .icon-button {
  background: transparent;
  color: #9b8990;
  box-shadow: none;
}

.chat-window__head .icon-button:hover {
  background: #fff0f5;
  color: var(--primary);
}

.messages,
.support-admin-messages {
  background:
    radial-gradient(circle at 10px 10px, rgba(184, 0, 73, 0.045) 0 2px, transparent 2px),
    linear-gradient(180deg, #fff, #fff7fa);
  background-size: 22px 22px, auto;
}

.messages {
  padding: 22px 18px;
}

.message {
  max-width: min(76%, 620px);
}

.message__bubble {
  border-color: rgba(184, 0, 73, 0.12);
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(184, 0, 73, 0.07);
}

.message:hover .message__bubble,
.message:focus-within .message__bubble {
  box-shadow: 0 12px 28px rgba(184, 0, 73, 0.11);
}

.message--incoming,
.message--outgoing {
  color: #24131a;
}

.message--incoming .message__bubble {
  background: #fff;
  border-color: rgba(184, 0, 73, 0.11);
  border-bottom-left-radius: 7px;
}

.message--outgoing .message__bubble {
  background: linear-gradient(135deg, #ffe4ee, #ffd5e4);
  border-color: rgba(184, 0, 73, 0.14);
  border-bottom-right-radius: 7px;
}

.message--support.message--incoming .message__bubble,
.message--from-support .message__bubble {
  background: linear-gradient(135deg, #fff, #fff0f5);
  border-color: rgba(184, 0, 73, 0.12);
}

.message__author {
  color: var(--primary);
}

.message__meta small {
  color: #9b7e86;
}

.message-copy-btn:hover,
.message--outgoing .message-copy-btn:hover {
  background: rgba(184, 0, 73, 0.09);
}

.message-reaction-picker {
  border-color: rgba(184, 0, 73, 0.18);
  box-shadow: 0 12px 28px rgba(184, 0, 73, 0.13);
}

.message-reaction-option,
.message-reaction-count,
.message--outgoing .message-reaction-option,
.message--outgoing .message-reaction-count {
  background: #fff3f7;
  color: #24131a;
}

.message-reaction-option:hover,
.message-reaction-count:hover,
.message-reaction-option.is-selected,
.message-reaction-count.is-mine {
  border-color: rgba(184, 0, 73, 0.24);
  color: var(--primary);
  box-shadow: 0 8px 18px rgba(184, 0, 73, 0.12);
}

.composer {
  grid-template-columns: 44px minmax(0, 1fr) 52px;
  gap: 10px;
  padding: 12px 16px 14px;
}

.composer input {
  min-height: 48px;
  border-color: rgba(184, 0, 73, 0.14);
  border-radius: 24px;
  background: #fff7fa;
  color: #24131a;
}

.composer input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(184, 0, 73, 0.1);
}

.composer input::placeholder {
  color: #9b7e86;
}

.composer-attach {
  background: transparent;
  color: #9b8990;
  box-shadow: none;
}

.composer-attach:hover {
  background: #fff0f5;
  color: var(--primary);
}

.quick-replies button {
  background: #fff0f5;
  color: var(--primary);
}

.quick-replies button:hover {
  background: #ffe0eb;
  color: var(--primary-dark);
}

.composer-attachment-preview {
  border-color: rgba(184, 0, 73, 0.14);
  background: #fff7fa;
}

.send-button--fancy {
  background: linear-gradient(135deg, var(--primary), #ee4e7e);
  box-shadow: 0 12px 28px rgba(184, 0, 73, 0.24);
}

.support-thread.is-active,
.support-thread:hover {
  background: #fff0f5;
}

.support-admin-form input {
  background: #fff7fa;
}

.support-admin-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(184, 0, 73, 0.1);
}

@media (max-width: 760px) {
  .messenger {
    min-height: 0;
    height: auto;
    grid-template-columns: 1fr;
    padding: 0;
  }

  .chat-list,
  .chat-window {
    border-radius: 18px;
  }

  .support-prize-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .topbar__cta {
    display: inline-flex;
  }

  .auth-status {
    display: none;
  }

  .logout-button {
    padding: 0 10px;
  }

  .steps,
  .feature-band,
  .page-layout,
  .messenger,
  .profile-page__content,
  .premium-grid,
  .game-panel,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .premium-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .filters {
    order: 0;
  }

  .profile-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 360px));
  }

  .profile-view-hero {
    grid-template-columns: 1fr;
  }

  .profile-view-photo {
    min-height: 520px;
  }

  .profile-view-info {
    padding: 0 22px 24px;
  }

  .profile-split-panels {
    grid-template-columns: 1fr;
  }

  .profile-fact-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .account-stats,
  .plan-grid,
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-stats {
    grid-template-columns: 1fr 1fr;
  }

  .admin-item {
    grid-template-columns: 1fr;
  }

  .admin-item__actions {
    justify-content: flex-start;
  }

  .admin-profile-grid {
    grid-template-columns: 1fr;
  }

  .admin-profile-section:first-child {
    grid-row: auto;
  }

  .device-item {
    grid-template-columns: 1fr;
  }

  .device-item > span {
    text-align: left;
  }

  .messenger {
    height: auto;
    min-height: 0;
  }

  .chat-list,
  .chat-window {
    min-height: 520px;
  }

  .profile-sidebar {
    position: static;
  }

  .game-copy {
    min-height: auto;
  }

  .fortune-wheel-wrap {
    width: min(440px, 100%);
  }
}

@media (max-width: 760px) {
  .topbar__inner {
    width: min(100% - 20px, var(--container));
    min-height: 66px;
    gap: 10px;
  }

  .brand {
    min-width: 0;
    font-size: 21px;
  }

  .topbar__actions {
    gap: 7px;
  }

  .topbar__cta,
  .logout-button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .modal {
    align-items: flex-start;
    padding: 8px;
  }

  .modal__dialog {
    width: 100%;
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    padding: 20px;
    border-radius: 18px;
  }

  .admin-profile-dialog {
    padding: 0;
  }

  .admin-profile-dialog > .modal__close,
  .admin-profile-dialog > .auth-dialog__badge,
  .admin-profile-dialog > h2 {
    margin-left: 20px;
    margin-right: 20px;
  }

  .admin-profile-dialog > .modal__close {
    margin-left: 0;
    margin-right: 0;
  }

  .admin-profile-dialog > .auth-dialog__badge {
    margin-top: 20px;
  }

  .admin-profile-content {
    max-height: calc(100vh - 104px);
    padding: 0 20px 20px;
  }

  .admin-profile-hero,
  .face-camera-card {
    grid-template-columns: 1fr;
  }

  .admin-profile-hero img {
    width: min(100%, 220px);
  }

  .profile-view-photo {
    min-height: 380px;
  }

  .auth-dialog__header {
    padding-right: 42px;
  }

  .auth-form-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    position: fixed;
    left: 10px;
    right: 10px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--outline);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-2);
  }

  .nav__link {
    min-height: 46px;
    justify-content: flex-start;
    padding: 0 14px;
    border-radius: 14px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .view {
    width: min(100% - 24px, var(--container));
    padding-top: 18px;
  }

  .hero {
    min-height: min(600px, calc(100vh - 92px));
    border-radius: 18px;
  }

  .hero__content {
    padding: 0 18px 34px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.5;
  }

  .section {
    padding-top: 54px;
  }

  .audience-section {
    padding-top: 34px;
  }

  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-card {
    min-height: 190px;
    padding: 20px;
    border-radius: 18px;
  }

  .feature-band {
    padding: 20px;
    border-radius: 18px;
  }

  .page-title,
  .profile-heading,
  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .profile-view-info {
    padding: 0 18px 20px;
  }

  .social-summary-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .account-stats,
  .plan-grid,
  .plan-grid--compact,
  .service-grid,
  .balance-hero,
  .balance-spend-grid,
  .album-form,
  .admin-stats {
    grid-template-columns: 1fr;
  }

  .online-user {
    min-width: 190px;
  }

  .match-card {
    min-height: 540px;
    max-width: none;
  }

  .match-card__photo {
    min-height: 0;
  }

  .match-card__details {
    padding: 22px;
  }

  .match-card__details h3 {
    font-size: 32px;
  }

  .verify-compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chat-actions {
    display: flex;
    gap: 4px;
  }

  .message {
    max-width: 88%;
  }

  .footer__inner {
    padding: 28px 0;
  }

  .premium-hero,
  .game-panel,
  .panel,
  .trust-card,
  .step-card {
    border-radius: 18px;
  }

  .premium-hero,
  .game-panel {
    padding: 20px;
  }

  .game-field {
    min-height: 390px;
  }

  .fortune-wheel-wrap {
    width: min(330px, 100%);
  }

  .wheel-container {
    border-width: 8px;
  }

  .wheel-hub {
    width: 82px;
    height: 82px;
    border-width: 3px;
  }

  .wheel-hub__inner {
    width: 52px;
    height: 52px;
  }

  .wheel-hub .material-symbols-outlined {
    font-size: 30px;
  }

  .roulette-spin-btn {
    width: 100%;
    min-height: 56px;
    font-size: 18px;
  }

  .chat-list,
  .chat-window {
    min-height: 420px;
  }
}

@media (max-width: 680px) {
  .intro-lotus-scene {
    width: 160px;
    height: 138px;
  }

  .intro-lotus-scene .lotus-svg--intro {
    width: 98px;
    height: 98px;
  }

  .intro-waves {
    width: 176px;
  }

  .signup-stepper {
    grid-template-columns: 1fr;
  }

  .signup-stepper span {
    padding: 7px 9px;
  }

  .signup-step__head h3 {
    font-size: 23px;
  }

  .signup-actions,
  .signup-actions--final {
    grid-template-columns: 1fr;
  }

  .signup-actions .button {
    width: 100%;
    white-space: normal;
  }

  .support-admin-layout {
    grid-template-columns: 1fr;
  }

  .support-thread-list {
    max-height: 220px;
  }
}

@media (max-width: 460px) {
  .brand {
    font-size: 19px;
  }

  .avatar--small {
    display: none;
  }

  .topbar__cta {
    padding: 0 10px;
  }

  .logout-button {
    width: 38px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    gap: 0;
  }

  .logout-button .material-symbols-outlined {
    color: var(--secondary);
  }

  .hero {
    min-height: 520px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__badges {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .hero__badges > span {
    justify-content: center;
    width: 100%;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .audience-card {
    min-height: 0;
  }

  .button--large {
    width: 100%;
  }

  .composer {
    grid-template-columns: 44px 1fr 48px;
  }

  .composer-attachment-preview {
    grid-column: 1 / -1;
  }

  .auth-tabs {
    border-radius: 18px;
  }

  .auth-tab {
    border-radius: 14px;
    font-size: 13px;
  }

  .signup-form,
  .profile-edit-form {
    gap: 12px;
  }

  .avatar-field {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .avatar-field .avatar-preview {
    width: 112px;
    height: 112px;
  }

  .avatar-picker {
    width: 100%;
  }

  .gift-grid,
  .account-stats,
  .profile-edit-form .form-grid {
    grid-template-columns: 1fr;
  }

  .profile-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .match-card {
    min-height: 520px;
  }

  .match-card__details {
    bottom: 94px;
    gap: 8px;
    padding: 20px;
  }

  .match-card__details h3 {
    font-size: 30px;
  }

  .match-card__section strong {
    font-size: 17px;
  }

  .round-action {
    width: 50px;
    height: 50px;
  }

  .profile-fact-grid,
  .social-summary-grid {
    grid-template-columns: 1fr;
  }

  .profile-fact-card {
    min-height: 70px;
  }

  .profile-completion-card strong,
  .profile-side-card strong {
    font-size: 30px;
  }

  .profile-view-photo {
    min-height: 320px;
  }

  .profile-view-info h1 {
    font-size: 30px;
  }

  .face-step {
    grid-template-columns: 62px minmax(0, 1fr);
    min-height: 82px;
    padding: 9px;
  }

  .face-step img {
    width: 62px;
    height: 62px;
    border-radius: 14px;
  }

  .admin-profile-hero {
    padding: 12px;
  }

  .admin-profile-facts li {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .match-card__badges {
    left: 14px;
    right: 14px;
    align-items: flex-start;
  }

  .game-field {
    min-height: 340px;
  }

  .fortune-wheel-wrap {
    width: min(286px, 100%);
  }

  .wheel-text {
    font-size: 12px;
  }

  .wheel-text--premium {
    font-size: 9px;
  }

  .wheel-indicator {
    top: -16px;
    border-left-width: 16px;
    border-right-width: 16px;
    border-top-width: 32px;
  }

  .price-card {
    min-height: auto;
  }

  .messageForm,
  .composer,
  .message {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .site-intro {
    display: none;
  }
}





.premium-pitch-dialog {
  width: min(100%, 560px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 191, 213, 0.7);
  background: #fff;
  box-shadow: 0 28px 80px rgba(78, 12, 45, 0.28);
}

.premium-pitch-dialog .modal__close {
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--primary-dark);
  z-index: 2;
}

.premium-pitch-hero {
  position: relative;
  padding: 34px 34px 24px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(135deg, #b80049, #ff4f8f 54%, #4355b9);
}

.premium-pitch-hero::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.premium-pitch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.premium-pitch-hero h2 {
  position: relative;
  margin: 18px 0 10px;
  max-width: 430px;
  color: #fff;
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  z-index: 1;
}

.premium-pitch-hero p {
  position: relative;
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  z-index: 1;
}

.premium-pitch-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px 22px 8px;
}

.premium-pitch-benefits span {
  display: grid;
  gap: 5px;
  min-height: 106px;
  padding: 14px;
  border: 1px solid rgba(228, 189, 194, 0.72);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #fff7fb);
}

.premium-pitch-benefits strong {
  color: var(--primary);
  font-family: Sora, Inter, sans-serif;
  font-size: 24px;
}

.premium-pitch-benefits small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.premium-pitch-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 12px 22px 0;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff1f6, #f4f6ff);
  border: 1px solid rgba(184, 0, 73, 0.14);
}

.premium-pitch-offer strong,
.premium-pitch-offer small {
  display: block;
}

.premium-pitch-offer strong {
  color: var(--primary-dark);
  font-size: 16px;
}

.premium-pitch-offer small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.premium-pitch-offer b {
  color: var(--primary);
  font-family: Sora, Inter, sans-serif;
  font-size: 30px;
  white-space: nowrap;
}

.premium-pitch-actions {
  display: grid;
  gap: 10px;
  padding: 18px 22px 0;
}

.premium-pitch-actions .button--primary {
  min-height: 58px;
  font-size: 16px;
  box-shadow: 0 16px 36px rgba(184, 0, 73, 0.26);
}

.premium-pitch-note {
  margin: 12px 22px 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 560px) {
  .premium-pitch-benefits {
    grid-template-columns: 1fr;
  }

  .premium-pitch-offer {
    align-items: flex-start;
    flex-direction: column;
  }
}


.premium-ad {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255, 191, 213, 0.8);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.34), transparent 24%),
    linear-gradient(135deg, #b80049, #ff4f8f 58%, #4355b9);
  color: #fff;
  box-shadow: 0 24px 60px rgba(184, 0, 73, 0.22);
}

.premium-ad::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -62px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.premium-ad--home {
  margin: 28px auto 0;
  width: min(1120px, calc(100% - 32px));
  padding: 26px 28px;
}

.premium-ad--discovery {
  margin-bottom: 16px;
  padding: 20px;
}

.premium-ad > * {
  position: relative;
  z-index: 1;
}

.premium-ad__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.premium-ad h2 {
  margin: 12px 0 8px;
  color: #fff;
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.premium-ad--discovery h2 {
  font-size: clamp(20px, 2.3vw, 28px);
}

.premium-ad p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  line-height: 1.55;
}

.premium-ad .button--primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 16px 34px rgba(54, 8, 33, 0.22);
  white-space: nowrap;
}

.premium-ad .button--primary:hover {
  background: #fff7fb;
  color: var(--primary-dark);
}

@media (max-width: 760px) {
  .premium-ad {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .premium-ad .button {
    width: 100%;
  }
}


.premium-pitch-tariffs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px 22px 0;
}

.premium-pitch-tariffs button,
.premium-ad__tariffs button {
  border: 1px solid rgba(184, 0, 73, 0.16);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.premium-pitch-tariffs button {
  display: grid;
  gap: 3px;
  padding: 12px 10px;
  text-align: left;
}

.premium-pitch-tariffs button:hover,
.premium-ad__tariffs button:hover {
  transform: translateY(-1px);
  border-color: rgba(184, 0, 73, 0.36);
  box-shadow: 0 12px 26px rgba(184, 0, 73, 0.13);
}

.premium-pitch-tariffs .is-best {
  background: linear-gradient(135deg, #fff1f6, #f4f6ff);
  border-color: rgba(184, 0, 73, 0.32);
}

.premium-pitch-tariffs span {
  color: var(--primary);
  font-size: 18px;
}

.premium-ad__side {
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

.premium-ad__tariffs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.premium-ad__tariffs button {
  min-height: 40px;
  padding: 8px 10px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

@media (max-width: 560px) {
  .premium-pitch-tariffs,
  .premium-ad__tariffs {
    grid-template-columns: 1fr;
  }
}

/* ===== ADMIN PANEL ===== */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}
.admin-header h1 { margin: 0; font-size: clamp(28px, 4vw, 40px); }
.admin-header p { margin: 6px 0 0; color: var(--muted); }
.admin-header__actions { display: flex; gap: 10px; align-items: center; }

.admin-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  padding: 5px;
  background: var(--surface-soft);
  border-radius: var(--radius);
  overflow-x: auto;
}
.admin-tab {
  flex: 1;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
  padding: 0 16px;
}
.admin-tab:hover { background: #fff; color: var(--text); }
.admin-tab.is-active { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(184,0,73,0.2); }

.admin-tab-content { display: none !important; }
.admin-tab-content.is-visible { display: block !important; }

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.admin-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border-radius: var(--radius-small);
  background: #fff;
  border: 1px solid rgba(228,189,194,0.6);
  box-shadow: var(--shadow-1);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  animation: statIn 0.4s ease both;
}
.admin-stat:nth-child(1) { animation-delay: 0.00s; }
.admin-stat:nth-child(2) { animation-delay: 0.04s; }
.admin-stat:nth-child(3) { animation-delay: 0.08s; }
.admin-stat:nth-child(4) { animation-delay: 0.12s; }
.admin-stat:nth-child(5) { animation-delay: 0.16s; }
.admin-stat:nth-child(6) { animation-delay: 0.20s; }
.admin-stat:nth-child(7) { animation-delay: 0.24s; }
.admin-stat:nth-child(8) { animation-delay: 0.28s; }
.admin-stat:nth-child(9) { animation-delay: 0.32s; }
.admin-stat:nth-child(10) { animation-delay: 0.36s; }
.admin-stat:nth-child(11) { animation-delay: 0.40s; }
.admin-stat:nth-child(12) { animation-delay: 0.44s; }
@keyframes statIn {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.admin-stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.admin-stat strong { font-size: 28px; font-weight: 900; }
.admin-stat span { font-size: 13px; font-weight: 700; color: var(--muted); }
.admin-stat--highlight strong { color: var(--primary); }
.admin-stat--danger strong { color: var(--danger); }
.admin-stat--accent strong { color: var(--secondary); }
.admin-stat--gold strong { color: #c78a00; }
.admin-stat--green strong { color: var(--tertiary); }
.admin-stat--purple strong { color: #7c3aed; }

.admin-revenue-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.revenue-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius-small);
  background: #fff;
  border: 1px solid rgba(228,189,194,0.6);
  box-shadow: var(--shadow-1);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  animation: statIn 0.4s ease both;
}
.revenue-card:nth-child(1) { animation-delay: 0.05s; }
.revenue-card:nth-child(2) { animation-delay: 0.10s; }
.revenue-card:nth-child(3) { animation-delay: 0.15s; }
.revenue-card:nth-child(4) { animation-delay: 0.20s; }
.revenue-card:nth-child(5) { animation-delay: 0.25s; }
.revenue-card:nth-child(6) { animation-delay: 0.30s; }
.revenue-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.revenue-card__icon {
  font-size: 36px !important;
  width: 60px !important;
  height: 60px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 16px;
  flex-shrink: 0;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.revenue-card--today .revenue-card__icon { background: #e8f5e9; color: var(--tertiary); }
.revenue-card--week .revenue-card__icon { background: #e3f2fd; color: #1976d2; }
.revenue-card--month .revenue-card__icon { background: #fce4ec; color: var(--primary); }
.revenue-card--total .revenue-card__icon { background: #fff8e1; color: #c78a00; }
.revenue-card--users .revenue-card__icon { background: #ede7f6; color: #7c3aed; }
.revenue-card--active .revenue-card__icon { background: #e8f5e9; color: var(--tertiary); }
.revenue-card strong { font-size: 22px; font-weight: 900; display: block; line-height: 1; }
.revenue-card span { font-size: 12px; color: var(--muted); font-weight: 700; margin-top: 4px; display: block; }

.admin-top-buyers { margin-bottom: 24px; }
.admin-top-panel { padding: 22px; }
.admin-top-list { display: grid; gap: 10px; margin-top: 14px; }
.admin-top-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface-soft);
  transition: background 0.2s ease;
}
.admin-top-row:hover { background: #fff; }
.admin-top-row__rank {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffd700, #ffb300);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
}
.admin-top-row__name { flex: 1; font-weight: 700; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-top-row__sum { font-size: 17px; font-weight: 900; color: var(--primary); }

.admin-grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-search-row { margin-bottom: 16px; }
.admin-search { max-width: 420px; }

/* Moderation cards */
.moderation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.moderation-grid .panel {
  animation: statIn 0.4s ease both;
}
.moderation-grid .panel:nth-child(1) { animation-delay: 0.05s; }
.moderation-grid .panel:nth-child(2) { animation-delay: 0.12s; }
.moderation-grid .panel:nth-child(3) { animation-delay: 0.19s; }
.moderation-grid .panel:nth-child(4) { animation-delay: 0.26s; }
.moderation-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(228,189,194,0.5);
}
.moderation-card-header h2 { margin: 0 0 2px; font-size: 19px; line-height: 1.2; }
.moderation-card-header p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.3; }
.moderation-card-header__icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 26px;
  flex-shrink: 0;
}
.moderation-card-header__icon--danger { background: #fce4ec; color: var(--danger); }
.moderation-card-header__icon--warn { background: #fff8e1; color: #c78a00; }
.moderation-card-header__icon--purple { background: #ede7f6; color: #7c3aed; }
.moderation-badge {
  min-width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 14px; font-weight: 900;
  padding: 0 8px;
  margin-left: auto;
}
.moderation-badge--danger { background: #fce4ec; color: var(--danger); }
.moderation-badge--warn { background: #fff8e1; color: #c78a00; }
.moderation-badge--purple { background: #ede7f6; color: #7c3aed; }
.admin-list--compact { max-height: 420px; overflow-y: auto; }

/* Security events */
.sec-event {
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(228,189,194,0.5);
  margin-bottom: 10px;
  transition: box-shadow 0.2s ease;
}
.sec-event:hover { box-shadow: var(--shadow-1); }
.sec-event__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.sec-event__sev {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.sec-event__head strong { font-size: 14px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sec-event__head small { color: var(--muted); font-size: 12px; }
.sec-event__time { margin-left: auto; font-size: 11px !important; }
.sec-event__body { margin-bottom: 10px; }
.sec-event__body p { margin: 0 0 8px; font-size: 13px; color: var(--text); line-height: 1.4; }
.sec-event__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
}
.sec-event__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
}
.sec-event__meta .material-symbols-outlined { font-size: 16px; }
.sec-event__ai {
  padding: 8px 12px;
  border-radius: 8px;
  background: #f3f0ff;
  color: #5b3f8a;
  font-size: 12px;
  line-height: 1.4;
  margin-top: 6px;
}
.sec-event__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.button--sm {
  min-height: 32px !important;
  padding: 0 12px !important;
  font-size: 12px !important;
  border-radius: 8px !important;
}

.admin-empty {
  text-align: center;
  padding: 30px;
  color: var(--muted);
}
.admin-empty .material-symbols-outlined { font-size: 40px; color: var(--tertiary); }
.admin-empty p { margin: 8px 0 0; font-size: 14px; }

/* Payments */
.admin-payments-list { display: grid; gap: 10px; }
.admin-payment-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-small);
  background: #fff;
  border: 1px solid rgba(228,189,194,0.6);
  box-shadow: var(--shadow-1);
  transition: transform 0.2s ease;
}
.admin-payment-row:hover { transform: translateY(-1px); }
.admin-payment-row__info { flex: 1; min-width: 0; }
.admin-payment-row__info strong { display: block; font-weight: 800; }
.admin-payment-row__info small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.admin-payment-row__meta { flex: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.admin-payment-row__meta span { color: var(--muted); font-size: 12px; }
.admin-payment-row__amount { font-size: 18px; font-weight: 900; color: var(--text); }
.admin-payment-row__right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 100px; }
.admin-payment-row__status { font-size: 13px; font-weight: 800; }
.admin-payment-row__right small { color: var(--muted); font-size: 11px; }
.admin-payments-filters { margin-bottom: 16px; max-width: 400px; }

@media (max-width: 900px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-revenue-cards { grid-template-columns: repeat(2, 1fr); }
  .admin-grid-2col { grid-template-columns: 1fr; }
  .admin-payment-row { flex-wrap: wrap; }
}
