:root {
  color-scheme: dark;
  --black: #02080b;
  --ink: #061115;
  --graphite: #07171d;
  --graphite-2: #0b242b;
  --petrol: #062f39;
  --petrol-soft: #073f4d;
  --line: rgba(0, 214, 242, 0.22);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f4f8fa;
  --muted: #a7b8bf;
  --soft: #d3e0e4;
  --copper: #00c8e8;
  --copper-strong: #28dcff;
  --good: #22d66f;
  --app-blue: #18aef5;
  --danger: #ed6f76;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  overscroll-behavior: none;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  touch-action: pan-y;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
}

button,
.button,
.chip,
.icon-button,
.chat-item,
.profile-card {
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    opacity 0.18s ease,
    transform 0.18s ease;
}

button:active {
  transform: translateY(1px);
}

img {
  display: block;
  max-width: 100%;
}

.app {
  min-height: 100dvh;
  background:
    linear-gradient(180deg, rgba(0, 210, 238, 0.12) 0%, rgba(0, 210, 238, 0) 24rem),
    radial-gradient(circle at 50% -16%, rgba(0, 194, 220, 0.13), transparent 18rem),
    linear-gradient(120deg, rgba(0, 77, 92, 0.16), transparent 42%),
    var(--black);
}

.shell {
  width: 100%;
  min-height: 100dvh;
  margin: 0 auto;
  padding: env(safe-area-inset-top) 0 calc(82px + env(safe-area-inset-bottom));
}

.auth-shell {
  display: grid;
  min-height: 100dvh;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: max(env(safe-area-inset-top), 24px) 20px max(env(safe-area-inset-bottom), 24px);
  align-content: center;
  gap: 28px;
}

.brand-lockup {
  display: grid;
  gap: 14px;
}

.mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(40, 220, 255, 0.72);
  border-radius: 8px;
  background: linear-gradient(145deg, #171717, #0b0b0b);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 25px;
  font-weight: 740;
}

.brand-title {
  margin: 0;
  font-size: 42px;
  line-height: 1;
  font-weight: 760;
  color: var(--copper-strong);
  letter-spacing: 0;
}

.brand-subtitle {
  margin: 0;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.35;
}

.auth-panel,
.surface {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.92);
  box-shadow: var(--shadow);
}

.auth-panel {
  padding: 14px;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.segmented button {
  min-height: 42px;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.segmented button.active {
  background: var(--copper);
  color: #160f0a;
  font-weight: 720;
}

.form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field span,
.section-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
  text-transform: uppercase;
}

.field-help,
.char-count {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.char-count {
  justify-self: end;
}

.input,
.textarea,
.select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #0b0b0b;
  color: var(--text);
  outline: 0;
  padding: 13px 14px;
}

.textarea {
  min-height: 96px;
  resize: vertical;
}

.input:focus,
.textarea:focus,
.select:focus {
  border-color: rgba(40, 220, 255, 0.85);
  box-shadow: 0 0 0 3px rgba(0, 200, 232, 0.13);
}

.field-row {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 10px;
}

.photo-input {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 12px;
}

.photo-preview {
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--graphite);
}

.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.file-control {
  position: relative;
}

.file-control input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-label {
  display: grid;
  min-height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--soft);
}

.terms {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.45;
}

.terms input {
  width: 18px;
  height: 18px;
  accent-color: var(--copper);
}

.consent-list {
  display: grid;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 11px;
}

.inline-link {
  display: inline;
  min-height: 0;
  border: 0;
  background: transparent;
  color: var(--copper-strong);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.button {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 8px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  place-items: center;
  border-radius: 7px;
  padding: 0 16px;
  border: 1px solid rgba(40, 220, 255, 0.34);
  background: linear-gradient(135deg, rgba(0, 198, 232, 0.88), rgba(0, 97, 116, 0.92));
  color: var(--text);
  cursor: pointer;
  font-weight: 760;
  box-shadow: 0 16px 32px rgba(0, 159, 190, 0.12);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(0, 33, 42, 0.52);
  color: var(--text);
}

.button.ghost {
  min-height: 38px;
  padding: 0 10px;
  background: transparent;
  color: var(--soft);
}

.button.danger {
  border: 1px solid rgba(217, 111, 99, 0.32);
  background: rgba(217, 111, 99, 0.08);
  color: #f2b2aa;
}

.button.wave-button {
  border-color: rgba(40, 220, 255, 0.22);
}

.button.wave-button.is-return,
.button.wave-button.is-mutual {
  border-color: rgba(40, 220, 255, 0.34);
  background: rgba(0, 188, 218, 0.14);
  color: #c9f6ff;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.link-button {
  min-height: 36px;
  padding: 0;
  background: transparent;
  color: var(--copper-strong);
  cursor: pointer;
  text-align: left;
}

.topbar {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 4px 0 16px;
  background: linear-gradient(180deg, rgba(2, 8, 11, 0.96) 70%, transparent);
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--copper-strong);
  font-size: 12px;
  font-weight: 740;
  text-transform: uppercase;
}

.brand-topbar .eyebrow {
  font-size: 28px;
  line-height: 1;
  font-weight: 820;
}

.screen-title {
  margin: 0;
  color: var(--soft);
  font-size: 17px;
  font-weight: 560;
  line-height: 1.18;
}

.brand-topbar .screen-title {
  font-size: 17px;
  font-weight: 560;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.icon {
  width: 20px;
  height: 20px;
}

.content {
  display: grid;
  gap: 16px;
}

.shell-chat {
  height: 100dvh;
  min-height: 0;
  padding-top: env(safe-area-inset-top);
  padding-bottom: calc(74px + env(safe-area-inset-bottom));
  overflow: hidden;
}

.shell-chat .content {
  gap: 0;
  height: 100%;
  min-height: 0;
}

.shell-chat-open {
  padding-bottom: 0;
}

.loading-strip,
.notice {
  border: 1px solid rgba(40, 220, 255, 0.34);
  border-radius: 8px;
  background: rgba(0, 200, 232, 0.1);
  color: var(--soft);
  padding: 11px 13px;
}

.loading-strip {
  margin-bottom: 12px;
  font-size: 13px;
}

.notice {
  display: grid;
  gap: 4px;
}

.notice strong {
  color: var(--text);
}

.notice span {
  color: var(--muted);
  line-height: 1.4;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.trust-filter-row {
  grid-template-columns: repeat(3, 1fr);
}

.chip {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 7px;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 25, 33, 0.58);
  color: var(--soft);
  cursor: pointer;
  font-weight: 700;
}

.chip.active {
  border-color: rgba(40, 220, 255, 0.74);
  background: rgba(0, 190, 224, 0.14);
  color: var(--text);
}

.chip .icon {
  width: 18px;
  height: 18px;
  color: var(--copper-strong);
}

.discover-identity {
  display: grid;
  gap: 13px;
}

.city-pulse {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin-top: -2px;
  padding: 0 13px;
  border: 1px solid rgba(0, 214, 242, 0.24);
  border-radius: 9px;
  background:
    linear-gradient(90deg, rgba(9, 42, 48, 0.78), rgba(3, 20, 25, 0.82)),
    rgba(0, 18, 24, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 8px 26px rgba(0, 188, 218, 0.06);
  color: rgba(244, 248, 250, 0.92);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.25;
}

.city-pulse span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.city-pulse i {
  position: relative;
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 12px rgba(34, 214, 111, 0.58);
}

.city-pulse i {
  z-index: 0;
}

.city-pulse i::before,
.city-pulse i::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(34, 214, 111, 0.34), rgba(34, 214, 111, 0.02) 62%, transparent 72%);
  animation: cityPulseGlow 1.8s ease-out infinite;
  z-index: -1;
}

.city-pulse i::after {
  inset: -12px;
  animation-delay: 0.42s;
}

@keyframes cityPulseGlow {
  0% {
    opacity: 0.88;
    transform: scale(0.55);
  }

  70% {
    opacity: 0;
    transform: scale(1.45);
  }

  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

.city-pulse-medium,
.city-pulse-high,
.city-pulse-very-high {
  border-color: rgba(40, 220, 255, 0.34);
}

.mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid rgba(0, 214, 242, 0.42);
  border-radius: 999px;
  background: rgba(0, 15, 20, 0.64);
  padding: 4px;
}

.mode-switch button {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 8px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: transparent;
  color: var(--soft);
  cursor: pointer;
  font-weight: 760;
}

.mode-switch button.active {
  background: linear-gradient(135deg, rgba(0, 188, 218, 0.22), rgba(0, 64, 78, 0.56));
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(40, 220, 255, 0.08);
}

.discover-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.discover-toolbar h3,
.discover-toolbar p {
  margin: 0;
}

.discover-toolbar h3 {
  font-size: 15px;
}

.discover-toolbar p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.refresh-elegant {
  color: var(--copper-strong);
}

.favorites-strip {
  display: grid;
  gap: 9px;
}

.mini-section-title {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
}

.favorite-list {
  display: grid;
  grid-auto-columns: minmax(92px, 1fr);
  grid-auto-flow: column;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.favorite-chip {
  display: grid;
  gap: 6px;
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--soft);
  padding: 8px;
  cursor: pointer;
}

.favorite-chip img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.favorite-chip span {
  overflow: hidden;
  max-width: 78px;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.profile-list {
  display: grid;
  gap: 18px;
}

.lounge-feed {
  scroll-snap-type: y proximity;
}

.profile-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(5, 22, 28, 0.96), rgba(2, 10, 14, 0.98));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  animation: cardIn 0.24s ease both;
}

.app-stable .profile-card,
.app-stable .interests-view {
  animation: none;
}

.lounge-card {
  scroll-snap-align: start;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 360px;
  max-height: min(68dvh, 620px);
  background: radial-gradient(circle at center, rgba(0, 188, 218, 0.08), #071217 62%);
}

.password-field {
  position: relative;
  display: block;
}

.password-field .input {
  width: 100%;
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 38px;
  height: 38px;
  padding: 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  transform: translateY(-50%);
  cursor: pointer;
}

.password-toggle:hover,
.password-toggle:focus-visible,
.password-toggle.is-visible {
  color: var(--primary);
  background: rgba(0, 178, 255, 0.08);
}

.password-toggle svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.discover-tool-actions {
  display: flex;
  gap: 7px;
}

.discover-tool-actions .icon-button {
  width: 42px;
  height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--copper-strong);
}

.discover-tool-actions .icon-button .icon {
  width: 24px;
  height: 24px;
}

.discover-filters-modal {
  gap: 14px;
}

.photo-hitbox {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: transparent;
  cursor: pointer;
}

.favorite-float {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(0, 214, 242, 0.32);
  border-radius: 50%;
  background: rgba(0, 15, 20, 0.82);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.favorite-float.active {
  border-color: rgba(40, 220, 255, 0.7);
  color: var(--copper-strong);
}

.profile-unread-badge {
  position: absolute;
  z-index: 4;
  top: 58px;
  right: 14px;
  display: grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  border: 2px solid rgba(1, 10, 13, 0.94);
  border-radius: 999px;
  background: var(--copper-strong);
  color: #001014;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 0 0 5px rgba(40, 220, 255, 0.14), 0 12px 32px rgba(0, 0, 0, 0.36);
}

.profile-unread-badge.compact-unread {
  top: 47px;
  right: 11px;
  min-width: 23px;
  height: 23px;
  font-size: 11px;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.profile-photo.is-discreet {
  display: grid;
  place-items: center;
}

.profile-photo.is-discreet img {
  width: 96px;
  height: 96px;
  opacity: 0.72;
  object-fit: contain;
}

.distance-badge,
.presence-badge,
.online-badge,
.verified-badge,
.trust-pill,
.verified-pill {
  position: absolute;
  display: inline-grid;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.76);
  color: var(--text);
  font-size: 12px;
  font-weight: 720;
  backdrop-filter: blur(12px);
}

.verified-badge,
.verified-pill {
  grid-template-columns: 16px auto;
  gap: 6px;
  border-color: rgba(40, 220, 255, 0.36);
  background: rgba(0, 50, 62, 0.82);
  color: #bff5ff;
}

.verified-badge {
  z-index: 3;
  top: 12px;
  left: 12px;
  padding: 0 11px;
}

.distance-badge,
.presence-badge {
  z-index: 3;
  right: 12px;
  bottom: 12px;
  padding: 0 12px;
  border-color: rgba(0, 214, 242, 0.28);
  background: rgba(0, 32, 40, 0.86);
}

.presence-badge.is-online {
  border-color: rgba(34, 214, 111, 0.34);
  color: #54ed94;
  background: rgba(3, 35, 24, 0.86);
}

.compact-presence-badge {
  top: 10px;
  right: auto;
  bottom: auto;
  left: 10px;
  min-height: 28px;
  padding: 0 9px;
  font-size: 11px;
}

.online-badge {
  z-index: 3;
  left: 12px;
  bottom: 12px;
  grid-template-columns: 8px auto;
  gap: 8px;
  padding: 0 11px;
}

.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 4px rgba(101, 197, 154, 0.15);
}

.profile-body {
  display: grid;
  gap: 14px;
  padding: 17px;
}

.profile-name {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.profile-name h3,
.chat-person h3 {
  margin: 0;
  font-size: 22px;
}

.profile-name .icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.profile-name span,
.chat-person span,
.muted {
  color: var(--muted);
}

.profile-bio {
  margin: 0;
  color: var(--soft);
  line-height: 1.48;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.trust-row .trust-pill,
.trust-card .trust-pill,
.trust-card .verified-pill {
  position: static;
  min-height: 28px;
  display: inline-grid;
  grid-auto-flow: column;
  gap: 6px;
  padding: 0 10px;
  font-size: 12px;
}

.trust-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 25, 33, 0.42);
  padding: 13px;
}

.trust-card-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.trust-card h3 {
  margin: 3px 0 0;
  font-size: 20px;
}

.trust-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.38;
}

.criteria-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.criteria-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.criteria-list li.active {
  color: var(--soft);
}

.criteria-list .icon {
  width: 15px;
  height: 15px;
  color: var(--good);
}

.score-track {
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.score-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--copper), var(--app-blue), var(--good));
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: center;
  position: relative;
}

.profile-actions {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.05fr) minmax(0, 0.95fr) 40px;
  gap: 6px;
}

.profile-actions .button {
  min-width: 0;
  min-height: 42px;
  gap: 5px;
  padding: 0 6px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.profile-actions .button .icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.profile-actions .button span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-menu-wrap {
  position: relative;
}

.menu-button {
  width: 40px;
  min-width: 40px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
}

.card-menu {
  position: absolute;
  z-index: 12;
  right: 0;
  bottom: calc(100% + 8px);
  display: grid;
  width: 178px;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.98);
  padding: 8px;
  box-shadow: var(--shadow);
}

.card-menu .button {
  width: 100%;
  justify-content: start;
}

.empty-state {
  display: grid;
  gap: 10px;
  min-height: 240px;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  text-align: center;
  padding: 24px;
}

.empty-state.elegant {
  background:
    linear-gradient(180deg, rgba(0, 207, 235, 0.11), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
}

.compact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.compact-profile-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  height: clamp(230px, 42vw, 340px);
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--graphite);
  cursor: pointer;
}

.compact-profile-card::before,
.compact-profile-card::after,
.compact-photo::before,
.compact-photo::after {
  display: none !important;
  content: none !important;
}

.compact-profile-card:focus-visible {
  outline: 2px solid rgba(40, 220, 255, 0.72);
  outline-offset: 3px;
}

.compact-photo {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #071217;
  cursor: pointer;
  outline: 0;
  padding: 0;
}

.compact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.compact-photo.is-discreet {
  display: grid;
  place-items: center;
}

.compact-avatar-placeholder {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(1, 10, 13, 0.78);
  color: var(--copper-strong);
  font-size: 34px;
  font-weight: 860;
  line-height: 1;
  box-shadow: none;
}

.compact-fade {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 8, 12, 0.88));
  pointer-events: none;
}

.compact-favorite {
  z-index: 20;
  top: 9px;
  right: 9px;
  width: 32px;
  height: 32px;
}

.compact-favorite .icon {
  width: 17px;
  height: 17px;
}

.compact-info {
  position: absolute;
  z-index: 10;
  right: 52px;
  bottom: 14px;
  left: 14px;
  display: grid;
  gap: 4px;
  color: #fff;
  pointer-events: none;
}

.compact-profile-name,
.compact-profile-meta {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
  white-space: nowrap;
}

.compact-profile-name {
  color: #fff;
  font-size: 19px;
  font-weight: 850;
  line-height: 1.05;
}

.compact-profile-meta {
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
}

.compact-status-online {
  color: var(--good);
}

.status-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin: 0 4px;
  border-radius: 50%;
  background: var(--app-blue);
  box-shadow: 0 0 0 3px rgba(24, 174, 245, 0.12);
  vertical-align: middle;
}

.status-dot.online {
  background: var(--good);
  box-shadow: 0 0 0 3px rgba(34, 214, 111, 0.12);
}

.status-dot.offline {
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.compact-actions {
  position: absolute;
  z-index: 20;
  top: 48px;
  right: 9px;
  display: grid;
  gap: 7px;
  opacity: 0.88;
  transform: translateX(0);
}

.compact-profile-card:focus-within .compact-actions,
.compact-profile-card:hover .compact-actions {
  opacity: 1;
  transform: translateX(0);
}

.skeleton-card {
  display: grid;
  gap: 12px;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0, 25, 33, 0.42);
  padding: 16px;
}

.skeleton-card.compact {
  min-height: 216px;
  border-radius: 13px;
}

.compact-grid .skeleton-card.compact {
  display: none !important;
}

.compact-grid .skeleton-card,
.compact-grid .skeleton-card span {
  display: none !important;
  animation: none !important;
  background: none !important;
}

.skeleton-card span {
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(40,220,255,0.13), rgba(255,255,255,0.05));
  background-size: 220% 100%;
  animation: shimmer 1.2s linear infinite;
}

.skeleton-card span:first-child {
  min-height: 70%;
}

@keyframes shimmer {
  to {
    background-position: -220% 0;
  }
}

.empty-state.compact {
  min-height: 72px;
  padding: 12px;
}

.subtle-empty {
  color: var(--muted);
  font-size: 13px;
}

.chat-list {
  display: grid;
  grid-auto-rows: min-content;
  align-content: start;
  gap: 0;
  height: 100%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border-top: 0;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.chat-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(40, 220, 255, 0.08);
  color: rgba(233, 241, 243, 0.62);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.chat-list-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: end;
  min-width: 0;
}

.chat-list-actions .compact-button {
  min-height: 34px;
  white-space: nowrap;
}

.chat-refresh,
.chat-search {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: var(--copper-strong);
  background: rgba(2, 18, 24, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.chat-search {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.chat-search .icon {
  width: 24px;
  height: 24px;
}

.interactions-panel {
  display: grid;
  gap: 7px;
}

.interests-view {
  display: grid;
  align-content: start;
  gap: 22px;
  min-height: calc(100dvh - 82px - env(safe-area-inset-bottom));
  padding: clamp(18px, 4vw, 28px) clamp(16px, 4vw, 26px) 18px;
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 218, 255, 0.12), transparent 19rem),
    radial-gradient(circle at 88% 18%, rgba(0, 103, 124, 0.18), transparent 16rem),
    linear-gradient(155deg, rgba(0, 16, 22, 0.98), rgba(0, 4, 7, 0.98) 68%);
  animation: softViewIn 0.28s ease both;
}

.interests-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.interests-hero h2,
.interests-hero p {
  margin: 0;
}

.interests-hero h2 {
  font-size: clamp(34px, 7vw, 46px);
  line-height: 0.96;
  font-weight: 850;
  color: var(--text);
}

.interests-hero p {
  max-width: 440px;
  margin-top: 8px;
  color: rgba(233, 241, 243, 0.76);
  font-size: clamp(15px, 3.5vw, 18px);
  line-height: 1.32;
}

.interests-hero-actions {
  display: flex;
  gap: 10px;
  padding-top: 4px;
}

.interest-tool-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(40, 220, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(233, 241, 243, 0.86);
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.interest-tool-button .icon {
  width: 18px;
  height: 18px;
}

.interests-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  align-self: start;
  padding: 4px;
  border: 1px solid rgba(40, 220, 255, 0.11);
  border-radius: 16px;
  background: rgba(3, 18, 25, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.interests-tab {
  display: inline-flex;
  min-width: 0;
  height: 44px;
  min-height: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 13px;
  background: transparent;
  color: rgba(233, 241, 243, 0.78);
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.interests-tab .icon {
  width: 22px;
  height: 22px;
}

.interests-tab.is-active {
  background: linear-gradient(135deg, rgba(0, 202, 232, 0.74), rgba(0, 74, 88, 0.92));
  color: var(--text);
  box-shadow: 0 12px 30px rgba(0, 205, 238, 0.14);
}

.interests-section {
  display: grid;
  gap: 12px;
}

.interest-list {
  display: grid;
  gap: 14px;
}

.interest-spotlight {
  display: grid;
  gap: 12px;
}

.interest-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.interest-section-heading > div {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.interest-section-heading span {
  color: rgba(233, 241, 243, 0.76);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.interest-section-heading strong {
  display: inline-grid;
  min-width: 28px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(0, 184, 216, 0.22);
  color: var(--copper-strong);
  font-size: 13px;
}

.is-mutual-section .interest-section-heading strong {
  background: rgba(15, 125, 186, 0.22);
  color: #0a84c6;
}

.interest-see-all {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  min-height: 32px;
  color: var(--copper-strong);
  font-weight: 800;
  padding: 0;
}

.interest-see-all.ocean {
  color: #0a84c6;
}

.interest-quick-scroll {
  display: grid;
  grid-auto-columns: minmax(124px, 156px);
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.interest-quick-scroll::-webkit-scrollbar {
  display: none;
}

.interest-mini-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  border: 1px solid rgba(40, 220, 255, 0.13);
  border-radius: 16px;
  background: rgba(0, 17, 23, 0.92);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.interest-mini-card:hover,
.interest-card:hover {
  transform: translateY(-1px);
  border-color: rgba(40, 220, 255, 0.3);
}

.interest-mini-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(4, 22, 28, 0.98);
  cursor: pointer;
}

.interest-mini-photo img,
.interest-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interest-mini-placeholder,
.interest-card-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--copper-strong);
  font-weight: 880;
}

.interest-mini-placeholder {
  font-size: 42px;
}

.interest-card-placeholder {
  font-size: 54px;
}

.interest-mini-gradient {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 62%;
  background: linear-gradient(180deg, transparent, rgba(0, 6, 10, 0.94));
  pointer-events: none;
}

.interest-mini-wave {
  position: absolute;
  z-index: 4;
  top: 8px;
  right: 8px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(40, 220, 255, 0.35);
  border-radius: 10px;
  background: rgba(0, 191, 220, 0.26);
  color: var(--copper-strong);
}

.interest-mini-wave .icon {
  width: 17px;
  height: 17px;
}

.interest-mini-info {
  position: absolute;
  z-index: 5;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: grid;
  gap: 4px;
  color: var(--text);
}

.interest-mini-info strong {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.interest-mini-info span {
  overflow: hidden;
  color: rgba(233, 241, 243, 0.82);
  font-size: 12px;
  font-weight: 740;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.interest-card {
  display: grid;
  grid-template-columns: minmax(112px, 28%) minmax(0, 1fr);
  overflow: hidden;
  min-height: 0;
  height: clamp(132px, 15vw, 172px);
  border: 1px solid rgba(40, 220, 255, 0.11);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(0, 68, 82, 0.34), rgba(2, 14, 19, 0.92)),
    rgba(2, 15, 21, 0.94);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.interest-card.mutual {
  border-color: rgba(15, 125, 186, 0.24);
  background:
    linear-gradient(135deg, rgba(15, 125, 186, 0.2), rgba(2, 14, 19, 0.94)),
    rgba(2, 15, 21, 0.94);
}

.interest-card-photo {
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: 100%;
  padding: 0;
  background: rgba(4, 22, 28, 0.98);
  cursor: pointer;
}

.interest-card-body {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
  padding: 12px 14px;
}

.interest-card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.interest-card-topline h3 {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--text);
  font-size: clamp(19px, 3.4vw, 24px);
  line-height: 1.02;
}

.interest-card-topline h3 span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.interest-card-topline > span {
  flex: 0 0 auto;
  color: rgba(233, 241, 243, 0.56);
  font-size: 13px;
}

.verified-mini {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--copper-strong);
  color: #01222b;
}

.verified-mini .icon {
  width: 14px;
  height: 14px;
}

.interest-meta,
.interest-message {
  margin: 0;
}

.interest-meta {
  overflow: hidden;
  color: rgba(233, 241, 243, 0.76);
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.interest-message {
  color: var(--copper-strong);
  font-size: 14px;
  font-weight: 760;
}

.interest-message.mutual {
  color: #0a84c6;
}

.interest-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 8px;
  margin-top: 0;
}

.interest-action {
  display: inline-flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(40, 220, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  cursor: pointer;
  font-weight: 820;
  padding: 0 14px;
}

.interest-action span {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(40, 220, 255, 0.2);
  border-radius: 50%;
  color: var(--copper-strong);
}

.interest-action .icon {
  width: 16px;
  height: 16px;
}

.interest-action.primary {
  background: linear-gradient(135deg, rgba(0, 196, 228, 0.76), rgba(0, 77, 92, 0.78));
  box-shadow: 0 14px 28px rgba(0, 205, 238, 0.13);
}

.interest-action.primary:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.interest-photo-online {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: block;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(0, 7, 10, 0.92);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.interest-photo-online.online {
  background: var(--good);
  box-shadow: 0 0 0 4px rgba(34, 214, 111, 0.15);
}

@media (max-width: 520px) {
  .interests-view {
    gap: 18px;
    padding-inline: 14px;
  }

  .interests-hero-actions {
    gap: 8px;
  }

  .interest-tool-button {
    width: 40px;
    height: 40px;
  }

  .interests-tab {
    height: 42px;
    font-size: 14px;
  }

  .interest-card {
    grid-template-columns: minmax(104px, 34%) minmax(0, 1fr);
    height: 156px;
    min-height: 0;
  }

  .interest-card-photo {
    min-height: 0;
  }

  .interest-card-body {
    gap: 6px;
    padding: 12px 10px;
  }

  .interest-card-topline h3 {
    font-size: 20px;
  }

  .interest-actions {
    gap: 8px;
  }

  .interest-action {
    min-height: 40px;
    padding-inline: 10px;
    font-size: 13px;
  }

  .interest-action span {
    width: 26px;
    height: 26px;
  }
}

@keyframes softViewIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.interaction-list {
  display: grid;
  gap: 8px;
}

.interaction-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 8px;
}

.interaction-item.mutual {
  border-color: rgba(101, 197, 154, 0.24);
  background: rgba(101, 197, 154, 0.07);
}

.interaction-item h3,
.interaction-item p {
  margin: 0;
}

.interaction-item h3 {
  font-size: 15px;
}

.interaction-item p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.interaction-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.interaction-actions .button {
  min-height: 40px;
}

.chat-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 58px;
  border: 0;
  border-bottom: 1px solid rgba(40, 220, 255, 0.075);
  border-radius: 0;
  background: linear-gradient(90deg, rgba(0, 178, 218, 0.025), transparent 42%);
  box-shadow: none;
  color: var(--text);
  padding: 5px 12px;
  cursor: pointer;
  text-align: left;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    transform 0.16s ease;
}

.chat-item.unread {
  border-color: rgba(40, 220, 255, 0.18);
  background:
    linear-gradient(90deg, rgba(0, 188, 218, 0.11), rgba(255, 255, 255, 0.018) 54%),
    rgba(0, 188, 218, 0.018);
}

.chat-item:hover,
.chat-item:focus-visible {
  border-color: rgba(40, 220, 255, 0.2);
  background:
    linear-gradient(90deg, rgba(0, 188, 218, 0.12), rgba(255, 255, 255, 0.018) 58%),
    rgba(255, 255, 255, 0.016);
  box-shadow: inset 3px 0 0 rgba(40, 220, 255, 0.42);
  transform: translateX(1px);
}

.chat-item:focus-visible {
  outline: 2px solid rgba(40, 220, 255, 0.34);
  outline-offset: 2px;
}

.chat-item .chat-list-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(40, 220, 255, 0.12),
    0 10px 18px rgba(0, 0, 0, 0.24);
}

.chat-avatar-online {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 9px;
  height: 9px;
  border: 2px solid #061115;
  border-radius: 50%;
  background: var(--good);
  box-shadow:
    0 0 0 2px rgba(34, 214, 111, 0.16),
    0 0 12px rgba(34, 214, 111, 0.48);
  animation: onlineBreath 2.4s ease-in-out infinite;
}

@keyframes onlineBreath {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(34, 214, 111, 0.14),
      0 0 8px rgba(34, 214, 111, 0.36);
  }

  50% {
    box-shadow:
      0 0 0 5px rgba(34, 214, 111, 0.08),
      0 0 16px rgba(34, 214, 111, 0.58);
  }
}

.avatar {
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--graphite-2);
}

.avatar.small {
  width: 38px;
  height: 38px;
}

.avatar-button {
  padding: 0;
  border: 0;
  cursor: pointer;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-person {
  min-width: 0;
}

.chat-person p {
  overflow: hidden;
  margin: 3px 0 0;
  color: rgba(233, 241, 243, 0.62);
  font-size: 12.5px;
  line-height: 1.22;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-item .chat-person h3 {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  color: #f8fbfc;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.16;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-person h3 .verified-mini {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.chat-person h3 .verified-mini .icon {
  width: 10px;
  height: 10px;
}

.chat-meta {
  display: grid;
  gap: 6px;
  justify-items: end;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
}

.chat-meta time {
  color: rgba(211, 224, 228, 0.72);
  font-size: 12px;
  font-weight: 520;
  white-space: nowrap;
}

.unread-dot {
  display: grid;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #20dfff, #0a8cff);
  box-shadow:
    0 0 0 3px rgba(24, 174, 245, 0.08),
    0 6px 14px rgba(0, 157, 255, 0.18);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1;
}

.chat-view {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
  min-height: 0;
  gap: 0;
}

.chat-header {
  display: grid;
  grid-template-columns: 42px 52px minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: center;
  min-height: 70px;
  border-bottom: 1px solid rgba(40, 220, 255, 0.09);
  padding: 5px 10px 8px;
}

.chat-back-button,
.chat-menu-button {
  width: 42px;
  height: 48px;
  border: 0;
  border-color: transparent;
  background: transparent;
  color: rgba(233, 241, 243, 0.86);
  box-shadow: none;
}

.chat-back-button .icon {
  width: 29px;
  height: 29px;
}

.chat-menu-button .icon {
  width: 27px;
  height: 27px;
}

.chat-header .avatar {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  box-shadow:
    0 0 0 1px rgba(40, 220, 255, 0.12),
    0 10px 20px rgba(0, 0, 0, 0.24);
}

.chat-header .chat-person {
  min-width: 0;
}

.chat-person-button {
  display: grid;
  justify-items: start;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.chat-person-button:disabled {
  cursor: default;
}

.chat-header .chat-person h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  margin: 0;
  max-width: 100%;
  font-size: 16px;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-header .chat-person > span {
  display: block;
  min-height: 18px;
}

.presence-ticker {
  position: relative;
  overflow: hidden;
  width: min(210px, 100%);
  height: 18px;
  color: rgba(233, 241, 243, 0.58);
  font-size: 12px;
}

.presence-ticker span {
  position: absolute;
  inset: 0 auto auto 0;
  max-width: 100%;
  overflow: hidden;
  opacity: 0;
  text-overflow: ellipsis;
  transform: translateY(8px);
  white-space: nowrap;
  animation: presence-cycle 8s ease-in-out infinite;
}

.presence-ticker span:nth-child(2) {
  animation-delay: 4s;
}

@keyframes presence-cycle {
  0%,
  12% {
    opacity: 0;
    transform: translateY(8px);
  }

  18%,
  45% {
    opacity: 1;
    transform: translateY(0);
  }

  55%,
  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.message-list {
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 10px 10px;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(40, 220, 255, 0.055), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 24%);
  -webkit-overflow-scrolling: touch;
}

.chat-empty-hint {
  justify-self: center;
  width: min(74%, 270px);
  border: 1px solid rgba(0, 214, 242, 0.09);
  border-radius: 999px;
  background: rgba(2, 18, 24, 0.58);
  color: rgba(233, 241, 243, 0.58);
  font-size: 11px;
  line-height: 1.25;
  margin: 6px 0;
  padding: 7px 11px;
  text-align: center;
}

.message {
  display: grid;
  justify-self: start;
  width: fit-content;
  min-width: 0;
  max-width: min(74%, 304px);
  gap: 2px;
  border: 1px solid rgba(40, 220, 255, 0.105);
  border-radius: 15px 15px 15px 5px;
  background: rgba(4, 20, 26, 0.82);
  color: rgba(233, 241, 243, 0.86);
  font-size: 13.5px;
  line-height: 1.28;
  padding: 6px 9px 5px;
  overflow-wrap: anywhere;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.message time {
  color: rgba(233, 241, 243, 0.46);
  font-size: 9.5px;
}

.message.me time {
  justify-self: end;
}

.message.me {
  justify-self: end;
  border-color: rgba(40, 220, 255, 0.32);
  border-radius: 15px 15px 5px 15px;
  background: linear-gradient(135deg, rgba(0, 178, 218, 0.26), rgba(0, 92, 114, 0.22));
  color: var(--text);
}

.message.has-media {
  padding: 4px;
}

.message.location-media {
  width: min(76%, 292px);
  padding: 4px;
}

.message.location-media .message-footer {
  padding: 0 3px;
}

.message-image-button {
  overflow: hidden;
  width: min(236px, 64vw);
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #0b0b0b;
  cursor: pointer;
  padding: 0;
}

.message-image-button img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}

.message-footer {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: space-between;
  min-height: 14px;
}

.message-actions {
  display: flex;
  gap: 4px;
  opacity: 0.72;
}

.mini-action {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.14);
  color: var(--muted);
  cursor: pointer;
}

.mini-action .icon {
  width: 14px;
  height: 14px;
}

.audio-message {
  display: grid;
  grid-template-columns: 34px minmax(104px, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: min(238px, 66vw);
}

.audio-play {
  width: 34px;
  height: 34px;
}

.audio-track {
  overflow: hidden;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.audio-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--copper-strong);
  transition: width 0.12s linear;
}

.audio-message small {
  color: var(--muted);
  font-size: 11px;
}

.typing-indicator {
  display: inline-grid;
  grid-template-columns: repeat(3, 6px) auto;
  gap: 5px;
  align-items: center;
  justify-self: start;
  color: var(--muted);
  font-size: 11px;
  padding: 8px 10px;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.42;
  animation: typingPulse 1s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.12s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.24s;
}

@keyframes typingPulse {
  0%,
  100% {
    opacity: 0.28;
    transform: translateY(0);
  }

  50% {
    opacity: 0.82;
    transform: translateY(-2px);
  }
}

.composer-panel {
  position: sticky;
  bottom: 0;
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 7px 10px max(6px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(40, 220, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(0, 4, 7, 0), rgba(0, 4, 7, 0.96) 18%),
    rgba(0, 4, 7, 0.96);
  backdrop-filter: blur(12px);
}

.official-channel-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(40, 220, 255, 0.16);
  background: rgba(2, 12, 16, 0.98);
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
}

.official-channel-footer > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.official-channel-footer strong {
  color: var(--text);
  font-size: 13px;
}

.official-channel-footer span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.official-channel-footer .button {
  width: auto;
  min-height: 38px;
  white-space: nowrap;
}

@media (max-width: 430px) {
  .official-channel-footer {
    grid-template-columns: 1fr;
  }

  .official-channel-footer .button {
    width: 100%;
  }
}

.composer {
  display: grid;
  grid-template-columns: 36px 36px minmax(0, 1fr) 36px 36px 42px;
  gap: 5px;
  align-items: center;
}

.composer .input {
  min-width: 0;
}

.composer-input {
  min-height: 40px;
  max-height: 108px;
  border-radius: 16px;
  background: rgba(5, 22, 29, 0.92);
  resize: none;
  overflow-y: hidden;
  line-height: 1.35;
  padding: 9px 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.composer-action {
  width: 36px;
  height: 40px;
  border: 0;
  border-radius: 0;
  color: rgba(233, 241, 243, 0.82);
  background: transparent;
  min-width: 0;
  box-shadow: none;
}

.composer-action .icon {
  width: 24px;
  height: 24px;
}

.composer-action:hover,
.composer-action:focus-visible {
  background: transparent;
  color: var(--copper-strong);
}

.composer-send {
  min-width: 42px;
  height: 40px;
  border-radius: 15px;
  padding: 0;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 10px 24px rgba(0, 202, 232, 0.2);
}

.location-message {
  position: relative;
  display: block;
  overflow: hidden;
  width: min(100%, 280px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #06161c;
  color: var(--text);
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.location-map-preview {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  min-height: 168px;
  background:
    linear-gradient(90deg, rgba(40, 220, 255, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(40, 220, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 64% 38%, rgba(40, 220, 255, 0.24), transparent 28%),
    #06161c;
  background-size: 22px 22px, 22px 22px, auto, auto;
}

.map-tile-layer {
  position: absolute;
  top: calc(50% - var(--map-offset-y));
  left: calc(50% - var(--map-offset-x));
  display: grid;
  grid-template-columns: repeat(3, 256px);
  grid-template-rows: repeat(3, 256px);
  width: 768px;
  height: 768px;
  opacity: 0.86;
}

.map-tile-layer > img {
  display: block;
  width: 256px;
  height: 256px;
}

.map-attribution {
  position: absolute;
  right: 4px;
  bottom: 3px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.76);
  font-size: 8px;
  text-shadow: 0 1px 2px #000;
}

.map-pin {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: var(--copper-strong);
  color: #001014;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.48);
  transform: translate(-50%, -50%);
}

.location-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  padding: 24px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(0, 8, 12, 0.92));
}

.location-copy strong {
  display: block;
  font-size: 14px;
}

.location-preview-modal {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.location-preview-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 4px;
}

.location-preview-head h2,
.location-preview-head p {
  margin: 0;
}

.location-preview-head p {
  margin-top: 4px;
}

.location-confirm-map {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 52dvh;
  border: 1px solid rgba(40, 220, 255, 0.28);
  border-radius: 8px;
  background: #06161c;
}

.location-confirm-map .map-tile-layer {
  opacity: 0.92;
}

.location-confirm-map .map-grid {
  position: absolute;
  inset: 0;
}

.location-preview-coordinates {
  display: grid;
  gap: 2px;
  padding: 0 4px;
}

.location-preview-coordinates span {
  color: var(--text);
  font-weight: 650;
}

.location-preview-coordinates small {
  color: var(--muted);
}

.media-preview,
.recording-bar {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 9px;
}

.media-preview img,
.audio-preview-icon {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: #0b0b0b;
  object-fit: cover;
}

.audio-preview-icon {
  display: grid;
  place-items: center;
  color: var(--copper-strong);
}

.media-preview strong,
.media-preview span,
.recording-bar strong {
  display: block;
}

.media-preview span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.compact-term {
  margin-top: 8px;
  font-size: 12px;
}

.view-once-placeholder {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 8px;
  align-items: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 8px 10px;
  font-size: 13px;
}

.view-once-placeholder .icon {
  width: 17px;
  height: 17px;
}

.view-once-button {
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.view-once-button:hover,
.view-once-button:focus-visible {
  border-color: rgba(40, 220, 255, 0.42);
  color: var(--cyan);
}

.viewer-note {
  max-width: 360px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.preview-actions {
  display: flex;
  gap: 7px;
  align-items: center;
}

.preview-actions .button {
  min-height: 42px;
}

.recording-bar {
  grid-template-columns: 12px 1fr auto auto;
}

.recording-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 6px rgba(217, 111, 99, 0.12);
  animation: recordPulse 1s infinite ease-in-out;
}

@keyframes recordPulse {
  0%,
  100% {
    opacity: 0.45;
  }

  50% {
    opacity: 1;
  }
}

.profile-editor,
.settings-list {
  display: grid;
  gap: 12px;
}

.settings-list {
  border: 1px solid rgba(40, 220, 255, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(0, 200, 232, 0.035), rgba(255, 255, 255, 0.018)),
    rgba(0, 15, 20, 0.42);
  padding: 12px;
}

.profile-form-section,
.about-section {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 25, 33, 0.32);
  padding: 13px;
}

.profile-form-section p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.sensitive-section {
  border-color: rgba(40, 220, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(0, 200, 232, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(0, 25, 33, 0.28);
}

.about-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.about-chip {
  display: inline-grid;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(40, 220, 255, 0.24);
  border-radius: 999px;
  background: rgba(0, 200, 232, 0.07);
  color: var(--soft);
  font-size: 12px;
  padding: 0 10px;
}

.profile-summary-card,
.profile-preview-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 25, 33, 0.42);
  padding: 13px;
}

.profile-summary-card {
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
}

.profile-summary-photo {
  overflow: hidden;
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--graphite-2);
  cursor: pointer;
  padding: 0;
}

.profile-summary-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-summary-info h2 {
  margin: 2px 0 3px;
  font-size: 21px;
  line-height: 1.1;
}

.profile-summary-info p,
.profile-preview-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.profile-summary-actions {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
  gap: 8px;
}

.profile-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.profile-preview-meta span,
.view-once-label {
  display: inline-grid;
  min-height: 26px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  font-size: 12px;
  padding: 0 9px;
}

.settings-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  padding: 13px;
}

.settings-item h3 {
  margin: 0 0 3px;
  font-size: 15px;
}

.settings-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.38;
}

.settings-status-pill {
  border: 1px solid rgba(37, 211, 102, 0.32);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  color: var(--success);
  background: rgba(37, 211, 102, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.profile-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(0, 214, 242, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(0, 196, 232, 0.12), rgba(255, 255, 255, 0.025) 48%),
    rgba(0, 18, 24, 0.66);
  padding: 14px;
  box-shadow: inset 0 0 20px rgba(40, 220, 255, 0.035);
}

.profile-settings-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-color: rgba(40, 220, 255, 0.14);
  background: rgba(0, 8, 12, 0.42);
  color: var(--soft);
}

.profile-settings-button .icon {
  width: 18px;
  height: 18px;
}

.profile-settings-button > span {
  margin-top: -1px;
  color: var(--copper-strong);
  font-size: 24px;
  font-weight: 820;
  line-height: 1;
  letter-spacing: 0;
}

.profile-hero-photo {
  overflow: hidden;
  width: 104px;
  height: 128px;
  border: 1px solid rgba(40, 220, 255, 0.22);
  border-radius: 13px;
  background: var(--graphite-2);
  cursor: pointer;
  padding: 0;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

.profile-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-hero-info {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding-right: 36px;
}

.profile-hero-info h2,
.profile-section-head h3,
.profile-edit-head h2 {
  margin: 0;
}

.profile-hero-info h2 {
  overflow: hidden;
  color: #fff;
  font-size: 24px;
  line-height: 1.06;
  text-overflow: ellipsis;
}

.profile-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.profile-status-row .trust-pill,
.profile-status-row .verified-pill {
  position: static;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 24px;
  padding: 0 9px;
  white-space: nowrap;
}

.profile-online-pill {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 24px;
  border: 1px solid rgba(40, 220, 255, 0.16);
  border-radius: 999px;
  background: rgba(0, 8, 12, 0.32);
  color: var(--soft);
  padding: 0 9px;
  white-space: nowrap;
}

.profile-discreet-pill {
  max-width: none;
  line-height: 1;
}

.profile-status-row .status-dot {
  margin: 0;
}

.profile-edit-button {
  width: min(180px, 100%);
  min-height: 38px;
}

.identity-card,
.profile-photos-card,
.profile-edit-head {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(0, 214, 242, 0.16);
  border-radius: 12px;
  background: rgba(0, 18, 24, 0.44);
  padding: 13px;
}

.profile-section-head {
  display: grid;
  gap: 3px;
}

.profile-section-head h3,
.profile-edit-head h2 {
  color: var(--text);
  font-size: 17px;
}

.profile-bio-block {
  display: grid;
  gap: 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.026);
  padding: 11px;
}

.profile-photos-card {
  background:
    linear-gradient(180deg, rgba(0, 200, 232, 0.055), rgba(255, 255, 255, 0.022)),
    rgba(0, 18, 24, 0.42);
}

.profile-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.profile-photo-tile {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 108px;
  place-items: center;
  border: 1px solid rgba(40, 220, 255, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  cursor: pointer;
  padding: 0;
}

.profile-photo-tile.main {
  grid-row: span 2;
  min-height: 224px;
}

.profile-photo-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.profile-photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-photo-tile span,
.profile-photo-frame span {
  position: absolute;
  right: 7px;
  bottom: 7px;
  left: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 8, 12, 0.68);
  color: var(--soft);
  font-size: 11px;
  padding: 4px 7px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-photo-tile.placeholder {
  gap: 6px;
  min-height: 108px;
  background:
    linear-gradient(145deg, rgba(0, 188, 218, 0.09), rgba(255, 255, 255, 0.024)),
    rgba(255, 255, 255, 0.025);
}

.profile-photo-tile.placeholder strong {
  color: var(--copper-strong);
  font-size: 26px;
}

.profile-photo-tile.placeholder span {
  position: static;
  max-width: 92%;
  background: transparent;
  color: var(--muted);
  white-space: normal;
}

.muted-tile {
  opacity: 0.78;
}

.profile-crop-preview {
  width: 104px;
  height: 104px;
  border-radius: 12px;
}

.profile-editor .photo-input {
  grid-template-columns: 104px 1fr;
}

.profile-crop-preview img {
  transform-origin: center;
}

.photo-change-button {
  width: 100%;
  min-height: 48px;
}

.photo-remove-chip {
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 7px;
  min-height: 24px;
  border: 1px solid rgba(237, 111, 118, 0.34);
  border-radius: 999px;
  background: rgba(0, 8, 12, 0.72);
  color: #ffd2d5;
  cursor: pointer;
  font-size: 11px;
  font-weight: 760;
  padding: 0 8px;
}

.photo-main-chip {
  position: absolute;
  z-index: 2;
  right: 7px;
  bottom: 34px;
  left: 7px;
  min-height: 26px;
  border: 1px solid rgba(40, 220, 255, 0.32);
  border-radius: 999px;
  background: rgba(0, 20, 27, 0.82);
  color: #d7f9ff;
  cursor: pointer;
  font-size: 10px;
  font-weight: 780;
  padding: 0 7px;
}

.photo-editor-backdrop {
  position: fixed;
  inset: 0;
  align-items: stretch;
  padding: 0 !important;
}

.photo-editor {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(100vw, 560px);
  height: 100dvh;
  min-height: 0;
  margin: 0 auto;
  background: #02080b;
}

.photo-editor-tools {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px 44px;
  gap: 8px;
  align-items: center;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(40, 220, 255, 0.12);
  background: rgba(2, 8, 11, 0.98);
  color: var(--muted);
}

.photo-editor-tool {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(40, 220, 255, 0.17);
  border-radius: 50%;
  background: rgba(0, 20, 27, 0.82);
  color: var(--soft);
  cursor: pointer;
}

.photo-editor-tool .icon {
  width: 20px;
  height: 20px;
}

.photo-editor-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  min-width: 0;
  border: 1px solid rgba(40, 220, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 20, 27, 0.68);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  padding: 0 12px;
  text-align: center;
}

.photo-editor-head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  min-height: 60px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(40, 220, 255, 0.16);
  padding: max(10px, env(safe-area-inset-top)) 16px 10px;
  background: rgba(2, 8, 11, 0.98);
}

.photo-editor-head > div {
  display: grid;
  gap: 1px;
  text-align: center;
}

.photo-editor-head strong {
  color: var(--text);
  font-size: 15px;
}

.photo-editor-head span {
  color: var(--muted);
  font-size: 11px;
}

.photo-editor-save {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 780;
  padding: 0 8px;
}

.photo-editor-stage {
  position: relative;
  overflow: hidden;
  min-height: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(40, 220, 255, 0.1), transparent 260px),
    #02080b;
  touch-action: none;
  user-select: none;
}

.photo-editor-stage > img[data-photo-editor-image] {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  max-width: none;
  transform-origin: center;
  will-change: transform;
}

.photo-editor-shade {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.photo-editor-frame {
  position: absolute;
  z-index: 3;
  top: calc(50% + var(--photo-editor-frame-y, 0px));
  left: calc(50% + var(--photo-editor-frame-x, 0px));
  width: var(--photo-editor-frame, 320px);
  height: var(--photo-editor-frame, 320px);
  border: 2px solid rgba(244, 248, 250, 0.96);
  border-radius: 4px;
  box-shadow:
    0 0 0 9999px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(40, 220, 255, 0.42),
    0 0 24px rgba(40, 220, 255, 0.15);
  cursor: move;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  touch-action: none;
}

.photo-editor-frame::before,
.photo-editor-frame::after {
  content: "";
  position: absolute;
  inset: 33.333%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-width: 0 1px 0 1px;
}

.photo-editor-frame::after {
  inset: 33.333% 0;
  border-width: 1px 0 1px;
}

.photo-crop-handle {
  position: absolute;
  z-index: 2;
  display: block;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(244, 248, 250, 0.96);
  border-radius: 999px;
  background: rgba(2, 8, 11, 0.86);
  box-shadow: 0 0 0 2px rgba(40, 220, 255, 0.24);
  touch-action: none;
}

.photo-crop-handle.top-left {
  top: -12px;
  left: -12px;
  cursor: nwse-resize;
}

.photo-crop-handle.top-right {
  top: -12px;
  right: -12px;
  cursor: nesw-resize;
}

.photo-crop-handle.bottom-left {
  bottom: -12px;
  left: -12px;
  cursor: nesw-resize;
}

.photo-crop-handle.bottom-right {
  right: -12px;
  bottom: -12px;
  cursor: nwse-resize;
}

.photo-crop-handle.top,
.photo-crop-handle.bottom {
  left: 50%;
  width: 42px;
  height: 14px;
  border-radius: 999px;
  transform: translateX(-50%);
  cursor: ns-resize;
}

.photo-crop-handle.top {
  top: -9px;
}

.photo-crop-handle.bottom {
  bottom: -9px;
}

.photo-crop-handle.left,
.photo-crop-handle.right {
  top: 50%;
  width: 14px;
  height: 42px;
  border-radius: 999px;
  transform: translateY(-50%);
  cursor: ew-resize;
}

.photo-crop-handle.left {
  left: -9px;
}

.photo-crop-handle.right {
  right: -9px;
}

.cropper-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
  touch-action: none;
}

.cropper-stage > img[data-photo-editor-image] {
  position: static;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  transform: none;
}

.cropper-stage.is-manual-editor > img[data-photo-editor-image] {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  max-width: none;
  max-height: none;
  transform-origin: center;
  will-change: transform;
}

.cropper-stage .cropper-container {
  max-width: 100%;
  max-height: 100%;
}

.cropper-stage.is-cropper-ready > .photo-editor-shade,
.cropper-stage.is-cropper-ready > .photo-editor-frame {
  display: none;
}

.cropper-stage .cropper-modal {
  background: rgba(0, 0, 0, 0.56);
}

.cropper-stage .cropper-view-box {
  outline: 2px solid rgba(244, 248, 250, 0.96);
  box-shadow:
    0 0 0 1px rgba(40, 220, 255, 0.45),
    0 0 24px rgba(40, 220, 255, 0.12);
}

.cropper-stage .cropper-face {
  background: rgba(40, 220, 255, 0.04);
}

.cropper-stage .cropper-line,
.cropper-stage .cropper-point {
  background-color: #28dcff;
}

.cropper-stage .cropper-point {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(244, 248, 250, 0.9);
  border-radius: 999px;
  opacity: 1;
}

.cropper-stage .cropper-line {
  opacity: 0.85;
}

.cropper-stage .cropper-dashed {
  border-color: rgba(255, 255, 255, 0.24);
}

.profile-trust-card {
  border-color: rgba(0, 214, 242, 0.16);
  background:
    linear-gradient(180deg, rgba(0, 200, 232, 0.05), rgba(255, 255, 255, 0.025)),
    rgba(0, 18, 24, 0.44);
}

.trust-score {
  color: var(--copper-strong);
  font-size: 24px;
  line-height: 1;
}

.profile-edit-head {
  background:
    linear-gradient(145deg, rgba(0, 196, 232, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(0, 18, 24, 0.5);
}

.profile-edit-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.support-ticket-card {
  align-items: start;
}

.support-ticket-card > div {
  display: grid;
  gap: 8px;
}

.compact-notice {
  padding: 9px 10px;
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.settings-link {
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--soft);
  cursor: pointer;
  padding: 0 10px;
  text-align: center;
}

.account-email-item {
  min-height: 46px;
}

.account-email-item p {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-button {
  min-height: 40px;
}

.danger-zone {
  border-color: rgba(255, 76, 76, 0.45);
  background:
    linear-gradient(90deg, rgba(255, 48, 72, 0.12), rgba(255, 255, 255, 0.025)),
    rgba(255, 48, 72, 0.035);
}

.danger-icon {
  border-color: rgba(255, 76, 76, 0.38);
  background: rgba(255, 48, 72, 0.12);
  color: #ff5c6c;
  box-shadow: 0 0 18px rgba(255, 48, 72, 0.18);
}

.switch {
  position: relative;
  width: 48px;
  height: 28px;
}

.switch input {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #333;
  cursor: pointer;
  transition: 0.2s ease;
}

.switch span::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text);
  content: "";
  transition: 0.2s ease;
}

.switch input:checked + span {
  background: var(--copper);
}

.switch input:checked + span::after {
  transform: translateX(20px);
}

.bottom-nav {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 8px 0 max(env(safe-area-inset-bottom), 8px);
  background: rgba(1, 10, 13, 0.88);
  border-top: 0;
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.bottom-nav-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.nav-button {
  display: grid;
  min-height: 52px;
  place-items: center;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
}

.nav-icon-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
}

.nav-unread-dot {
  position: absolute;
  top: -3px;
  right: -7px;
  width: 9px;
  height: 9px;
  border: 2px solid rgba(1, 10, 13, 0.94);
  border-radius: 50%;
  background: var(--copper-strong);
  box-shadow: 0 0 0 4px rgba(40, 220, 255, 0.14);
}

.nav-button svg {
  margin-bottom: 3px;
}

.nav-button[data-view="interests"] .icon {
  width: 27px;
  height: 27px;
  margin-bottom: 1px;
}

.nav-button.active {
  background: linear-gradient(135deg, rgba(0, 188, 218, 0.18), rgba(0, 40, 50, 0.72));
  color: var(--copper-strong);
}

.nav-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.modal-backdrop {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  place-items: end center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.68);
}

.profile-screen-backdrop {
  z-index: 80;
  place-items: stretch center;
  padding: 0;
}

.public-profile {
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  max-width: 760px;
  max-height: 100dvh;
  min-height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--black);
}

.public-profile-photo {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(360px, 56dvh, 580px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at center, rgba(0, 188, 218, 0.08), #071217 64%);
}

.public-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.public-photo-open {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  padding: 0;
}

.public-photo-open img {
  display: block;
}

.public-profile-photo.is-discreet img {
  width: 110px;
  height: 110px;
  opacity: 0.72;
  object-fit: contain;
}

.public-close {
  position: absolute;
  z-index: 4;
  top: max(env(safe-area-inset-top), 14px);
  left: 14px;
}

.public-profile-body {
  display: grid;
  gap: 14px;
  padding: 16px clamp(14px, 4vw, 22px) calc(34px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(0, 18, 24, 0.98), rgba(2, 8, 10, 1));
}

.public-profile-body h2 {
  margin: 0;
  font-size: 26px;
}

.expanded-bio {
  margin: 0;
  color: var(--soft);
  line-height: 1.52;
}

.profile-extra-info {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}

.profile-extra-info p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.public-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.public-gallery {
  display: grid;
  gap: 8px;
}

.public-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.public-gallery-grid button {
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid rgba(40, 220, 255, 0.18);
  border-radius: 8px;
  background: var(--graphite);
  cursor: pointer;
  padding: 0;
}

.public-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-actions .button {
  min-height: 42px;
  gap: 6px;
  padding: 0 10px;
  font-size: 13px;
}

.public-actions .button.ghost {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  min-height: 44px;
}

.public-profile .trust-row {
  align-items: start;
}

.public-profile .trust-pill,
.public-profile .verified-pill {
  position: static;
}

.settings-screen {
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(100%, 480px);
  max-height: 100dvh;
  background: var(--black);
}

.deletion-screen {
  width: min(100%, 560px);
}

.settings-screen-head {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: max(env(safe-area-inset-top), 14px) 16px 12px;
  border-bottom: 1px solid var(--line-soft);
}

.settings-screen-head h2 {
  margin: 2px 0 0;
  font-size: 20px;
}

.settings-screen-body {
  display: grid;
  gap: 14px;
  overflow-y: auto;
  padding: 16px 16px calc(24px + env(safe-area-inset-bottom));
}

.settings-user {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.settings-user img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  object-fit: cover;
}

.settings-user h3,
.settings-user p {
  margin: 0;
}

.settings-user p {
  color: var(--muted);
  font-size: 13px;
}

.blocked-user-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.modal {
  width: min(100%, 480px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #071217;
  padding: 16px;
  box-shadow: var(--shadow);
}

.chat-actions-backdrop {
  place-items: start end;
  padding: calc(max(env(safe-area-inset-top), 10px) + 48px) 10px 0;
  background: rgba(0, 0, 0, 0.18);
}

.chat-actions-menu {
  width: min(78vw, 286px);
  border-color: rgba(40, 220, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(12, 26, 31, 0.98), rgba(6, 14, 18, 0.98)),
    #071217;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  padding: 8px;
}

.chat-actions-menu h2 {
  overflow: hidden;
  margin: 0;
  padding: 8px 10px 6px;
  color: rgba(233, 241, 243, 0.58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.chat-menu-actions {
  display: grid;
  gap: 2px;
}

.chat-menu-item {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(233, 241, 243, 0.9);
  cursor: pointer;
  font-size: 15px;
  font-weight: 620;
  padding: 0 12px;
  text-align: left;
}

.chat-menu-item:hover,
.chat-menu-item:focus-visible {
  background: rgba(40, 220, 255, 0.075);
  outline: 0;
}

.chat-menu-item.danger-text {
  color: #ffb4bc;
}

.document-modal {
  display: grid;
  max-height: min(82dvh, 720px);
  gap: 14px;
}

.document-head h2,
.document-head p {
  margin: 0;
}

.document-head h2 {
  margin-top: 4px;
}

.document-head p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.48;
}

.document-scroll,
.faq-list {
  display: grid;
  gap: 10px;
  overflow-y: auto;
  padding-right: 2px;
}

.document-scroll {
  max-height: 48dvh;
}

.faq-list {
  max-height: 54dvh;
}

.document-section,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 12px;
}

.document-section h3,
.faq-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.document-section p,
.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.46;
}

.support-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(40, 220, 255, 0.2);
  border-radius: 8px;
  background: rgba(0, 200, 232, 0.07);
  color: var(--soft);
  padding: 10px;
}

.support-inline span {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 13px;
}

.support-form {
  margin-top: 0;
}

.delete-confirm {
  margin: 12px 0;
}

.media-backdrop {
  place-items: center;
  padding: 0;
}

.media-viewer {
  position: relative;
  display: grid;
  width: min(100%, 480px);
  min-height: 100dvh;
  place-items: center;
  background: rgba(8, 8, 8, 0.96);
  padding: 18px;
}

.media-viewer img {
  max-height: 86dvh;
  border-radius: 8px;
  object-fit: contain;
}

.media-close {
  position: absolute;
  z-index: 2;
  top: max(env(safe-area-inset-top), 16px);
  right: 16px;
}

.media-picker-modal {
  display: grid;
  max-height: min(86dvh, 680px);
  gap: 12px;
  overflow-y: auto;
}

.compact-head {
  display: grid;
  gap: 4px;
}

.media-picker-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.library-view-once {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 10px;
}

.media-library-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.media-library-head small {
  color: var(--muted);
  font-size: 12px;
}

.media-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-height: min(42dvh, 360px);
  overflow-y: auto;
  padding-right: 2px;
}

.media-library-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--graphite);
}

.media-library-thumb {
  display: block;
  width: 100%;
  height: 100%;
  background: #071217;
  cursor: pointer;
}

.media-library-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-library-delete {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0, 8, 12, 0.72);
  backdrop-filter: blur(8px);
}

.modal h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.modal p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.42;
}

.profile-modal {
  display: grid;
  gap: 13px;
}

.modal-profile-head {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
}

.modal-profile-head img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--graphite-2);
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.app-choice-actions {
  grid-template-columns: 1fr;
}

.app-choice-button {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.route-app-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.google-maps-icon {
  background:
    conic-gradient(from 40deg, #4285f4, #34a853, #fbbc05, #ea4335, #4285f4);
}

.waze-icon {
  background: #7edcff;
  color: #043040;
}

.toast {
  position: fixed;
  z-index: 60;
  right: 16px;
  bottom: calc(96px + env(safe-area-inset-bottom));
  left: 16px;
  display: none;
  max-width: 448px;
  margin: 0 auto;
  border: 1px solid rgba(40, 220, 255, 0.34);
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.94);
  color: var(--text);
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}

.toast.show {
  display: flex;
}

.toast-action {
  min-height: 32px;
  border-radius: 6px;
  background: rgba(0, 200, 232, 0.16);
  color: var(--copper-strong);
  cursor: pointer;
  padding: 0 10px;
  font-weight: 720;
}

@media (min-width: 760px) {
  .app {
    background:
      linear-gradient(90deg, rgba(0, 200, 232, 0.07), transparent 42%),
      radial-gradient(circle at 50% -22%, rgba(255, 255, 255, 0.08), transparent 20rem),
      var(--black);
  }

  .auth-shell {
    max-width: 520px;
  }
}

.vertical-actions {
  grid-template-columns: 1fr;
}

.button.danger {
  background: rgba(237, 111, 118, 0.12);
  color: #ffd7da;
  border-color: rgba(237, 111, 118, 0.42);
}

@media (min-width: 1040px) {
  .shell {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 430px) {
  .composer {
    grid-template-columns: 34px 34px minmax(0, 1fr) 34px 34px 40px;
    gap: 4px;
  }

  .composer-action {
    width: 34px;
    height: 40px;
  }

  .composer-send {
    min-width: 40px;
  }

  .profile-actions {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr) 42px;
    gap: 6px;
  }

  .profile-actions .button {
    min-height: 46px;
    padding: 0 6px;
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .shell {
    padding-right: 0;
    padding-left: 0;
  }

  .brand-title {
    font-size: 36px;
  }

  .field-row,
  .action-row {
    grid-template-columns: 1fr;
  }

  .profile-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .composer {
    grid-template-columns: 31px 31px minmax(0, 1fr) 31px 31px 38px;
    gap: 4px;
  }

  .composer-action {
    width: 31px;
    height: 40px;
  }

  .composer-send {
    min-width: 38px;
  }

  .composer .input {
    min-height: 40px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 14px;
  }

  .media-preview,
  .recording-bar {
    grid-template-columns: 46px 1fr;
  }

  .settings-grid,
  .support-inline {
    grid-template-columns: 1fr;
  }

  .preview-actions,
  .recording-bar .button {
    grid-column: 1 / -1;
  }

  .profile-photo {
    height: 292px;
  }
}

/* Perfil: superfície nativa, hierarquia direta e edição em tela cheia. */
.shell-profile .content {
  gap: 0;
}

.shell-profile-editing {
  padding-bottom: 0;
}

.shell-profile-editing .content {
  min-height: calc(100dvh - env(safe-area-inset-top));
}

.profile-native-appbar,
.profile-edit-appbar {
  position: sticky;
  z-index: 16;
  top: 0;
  display: grid;
  min-height: 58px;
  align-items: center;
  background: rgba(1, 10, 13, 0.96);
  backdrop-filter: blur(18px);
}

.profile-native-appbar {
  grid-template-columns: minmax(0, 1fr) 44px;
  padding: 0 12px 0 18px;
}

.profile-native-appbar h1,
.profile-edit-appbar h1 {
  overflow: hidden;
  margin: 0;
  color: #f5fbfd;
  font-size: 20px;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-native-appbar .profile-settings-button,
.profile-edit-appbar .profile-edit-back {
  position: static;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: var(--soft);
  padding: 0;
}

.profile-native-appbar .profile-settings-button .icon,
.profile-edit-appbar .profile-edit-back .icon {
  width: 26px;
  height: 26px;
}

.profile-native-appbar .profile-settings-button:active,
.profile-edit-appbar .profile-edit-back:active {
  background: rgba(40, 220, 255, 0.09);
}

.profile-native-hero {
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 10px 18px 22px;
  box-shadow: none;
}

.profile-native-hero .profile-hero-photo {
  width: 116px;
  height: 142px;
  border-color: rgba(40, 220, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.profile-native-hero .profile-hero-info {
  gap: 10px;
  padding-right: 0;
}

.profile-native-hero .profile-hero-info h2 {
  font-size: 22px;
  line-height: 1.12;
}

.profile-native-hero .profile-edit-button {
  width: min(168px, 100%);
  min-height: 40px;
  border-radius: 9px;
  box-shadow: none;
}

.profile-native-section,
.identity-card.profile-native-section,
.profile-photos-card.profile-native-section,
.profile-trust-card.profile-native-section {
  display: grid;
  gap: 14px;
  border: 0;
  border-bottom: 1px solid rgba(40, 220, 255, 0.075);
  border-radius: 0;
  background: transparent;
  padding: 20px 18px;
  box-shadow: none;
}

.profile-native-section .profile-section-head {
  gap: 2px;
}

.profile-native-section .section-label {
  color: var(--muted);
  font-size: 11px;
}

.identity-card.profile-native-section .profile-bio-block {
  gap: 7px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.identity-card.profile-native-section .profile-bio-block p {
  margin: 0;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.5;
}

.identity-card.profile-native-section .about-section {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 2px 0 0;
}

.identity-card.profile-native-section .about-chip {
  min-height: 30px;
  border-color: rgba(40, 220, 255, 0.13);
  background: rgba(40, 220, 255, 0.055);
}

.identity-card.profile-native-section .profile-preview-meta span {
  min-height: auto;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
}

.identity-card.profile-native-section .profile-preview-meta span + span::before {
  margin-right: 6px;
  color: rgba(40, 220, 255, 0.42);
  content: "•";
}

.profile-photos-card.profile-native-section .profile-photo-grid {
  gap: 7px;
}

.profile-photos-card.profile-native-section .profile-photo-tile {
  border-color: rgba(40, 220, 255, 0.105);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}

.profile-photos-card.profile-native-section .profile-photo-tile.placeholder {
  background: rgba(40, 220, 255, 0.035);
}

.profile-photos-card.profile-native-section .profile-photo-tile.placeholder strong {
  color: rgba(40, 220, 255, 0.72);
  font-size: 30px;
  font-weight: 400;
}

.profile-trust-card.profile-native-section .criteria-list {
  gap: 8px;
}

.profile-edit-screen {
  min-height: calc(100dvh - env(safe-area-inset-top));
  background: #010a0d;
}

.profile-edit-appbar {
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 8px;
  padding: 0 10px 0 8px;
  box-shadow: 0 1px 0 rgba(40, 220, 255, 0.07);
}

.profile-edit-appbar h1 {
  text-align: left;
}

.profile-edit-appbar-spacer {
  width: 44px;
}

.profile-edit-save {
  min-width: 64px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #28dcff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 780;
  padding: 0 8px;
}

.profile-edit-save:active {
  background: rgba(40, 220, 255, 0.08);
}

.profile-edit-save:disabled {
  opacity: 0.48;
}

.profile-edit-content {
  padding: 0 18px calc(28px + env(safe-area-inset-bottom));
}

.profile-editor {
  gap: 0;
}

.profile-editor .profile-form-section {
  display: grid;
  gap: 15px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(40, 220, 255, 0.075);
  border-radius: 0;
  background: transparent;
  padding: 20px 0;
}

.profile-editor .sensitive-section {
  background: transparent;
}

.profile-form-heading {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  color: var(--text);
}

.profile-form-heading > span {
  font-size: 16px;
  font-weight: 720;
}

.profile-form-heading > small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-form-content {
  display: grid;
  gap: 14px;
}

.profile-editor .field {
  gap: 7px;
}

.profile-editor .field > span {
  color: var(--soft);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.profile-editor .input,
.profile-editor .select,
.profile-editor .textarea {
  min-height: 50px;
  border-color: rgba(40, 220, 255, 0.105);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
  font-size: 15px;
}

.profile-editor .textarea {
  min-height: 104px;
  padding-top: 14px;
}

.profile-editor .input:focus,
.profile-editor .select:focus,
.profile-editor .textarea:focus {
  border-color: rgba(40, 220, 255, 0.58);
  box-shadow: 0 0 0 2px rgba(40, 220, 255, 0.08);
}

.profile-editor .photo-input {
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.profile-editor .profile-crop-preview {
  width: 88px;
  height: 104px;
  border-radius: 10px;
}

.profile-photo-form-actions {
  display: grid;
  gap: 4px;
}

.profile-editor .photo-change-button {
  min-height: 44px;
  border-color: rgba(40, 220, 255, 0.18);
  border-radius: 9px;
  background: rgba(40, 220, 255, 0.07);
}

.profile-remove-photo {
  min-height: 38px;
  border: 0;
  background: transparent;
  color: #ff9ca4;
  cursor: pointer;
  font-size: 13px;
  font-weight: 680;
}

.profile-inline-option {
  min-height: 42px;
  margin: 0;
}

.profile-form-details > summary {
  min-height: 32px;
  cursor: pointer;
  list-style: none;
}

.profile-form-details > summary::-webkit-details-marker {
  display: none;
}

.profile-form-details > summary::after {
  grid-column: 3;
  color: var(--muted);
  content: "›";
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.profile-form-details[open] > summary::after {
  transform: rotate(-90deg);
}

.profile-form-details[open] > .profile-form-content {
  animation: profileSectionReveal 160ms ease-out;
}

@keyframes profileSectionReveal {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 380px) {
  .profile-native-hero {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 13px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .profile-native-hero .profile-hero-photo {
    width: 100px;
    height: 126px;
  }

  .profile-native-hero .profile-hero-info h2 {
    font-size: 20px;
  }

  .profile-edit-content,
  .profile-native-section,
  .identity-card.profile-native-section,
  .profile-photos-card.profile-native-section,
  .profile-trust-card.profile-native-section {
    padding-right: 14px;
    padding-left: 14px;
  }
}

.public-page,
.boot-screen {
  display: grid;
  min-height: 100dvh;
  padding: max(env(safe-area-inset-top), 20px) 16px max(env(safe-area-inset-bottom), 20px);
  place-items: center;
}

.boot-card,
.public-card {
  width: min(100%, 680px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(3, 19, 24, 0.92);
  box-shadow: var(--shadow);
}

.boot-card {
  padding: 34px 24px;
  text-align: center;
}

.boot-brand {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

.boot-brand img {
  width: clamp(108px, 34vw, 154px);
  height: auto;
  border-radius: 26%;
  box-shadow: 0 18px 54px rgba(0, 155, 255, 0.18);
}

.boot-brand p {
  margin: 0;
  color: var(--soft);
  font-size: 14px;
}

.boot-card h1 {
  margin: 0 0 8px;
  color: var(--copper-strong);
  font-size: clamp(34px, 9vw, 48px);
  letter-spacing: 0;
}

.boot-card p,
.public-copy p {
  margin: 0;
  color: var(--soft);
}

.public-card {
  display: grid;
  gap: 22px;
  padding: 22px;
}

.embedded-delete-card {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.embedded-delete-card .brand-stack {
  display: none;
}

.public-copy {
  display: grid;
  gap: 8px;
}

.public-copy h2,
.public-copy h3 {
  margin: 0;
}

.public-copy.small {
  padding-top: 4px;
  border-top: 1px solid var(--line-soft);
}

.admin-screen {
  display: grid;
  gap: 16px;
}

.admin-app {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100dvh;
  background:
    linear-gradient(120deg, rgba(0, 200, 232, 0.08), transparent 38rem),
    var(--black);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100dvh;
  max-height: 100dvh;
  flex-direction: column;
  gap: 12px;
  border-right: 1px solid var(--line);
  background: rgba(3, 16, 20, 0.96);
  padding: 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(24, 216, 255, 0.35) rgba(3, 16, 20, 0.96);
}

.admin-sidebar::-webkit-scrollbar {
  width: 8px;
}

.admin-sidebar::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(24, 216, 255, 0.35);
}

.admin-sidebar > div {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
}

.admin-sidebar strong {
  color: var(--copper-strong);
  font-size: 28px;
}

.admin-sidebar span {
  color: var(--muted);
}

.admin-workspace {
  width: min(100%, 1440px);
  padding: 28px;
}

.admin-login-shell {
  display: grid;
  min-height: 100dvh;
  padding: 24px;
  place-items: center;
  background:
    radial-gradient(circle at 50% -20%, rgba(0, 200, 232, 0.13), transparent 26rem),
    var(--black);
}

.admin-login-card {
  display: grid;
  width: min(100%, 440px);
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(3, 19, 24, 0.94);
  padding: 26px;
  box-shadow: var(--shadow);
}

.admin-login-card h1,
.admin-login-card p {
  margin: 0;
}

.admin-login-card h1 {
  color: var(--copper-strong);
  font-size: 34px;
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-head h2,
.admin-head p {
  margin: 0;
}

.admin-head p {
  color: var(--muted);
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-metric,
.admin-report {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5, 24, 30, 0.82);
}

.admin-metric {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.admin-metric span {
  color: var(--muted);
  font-size: 13px;
}

.admin-metric strong {
  font-size: 26px;
}

.admin-report {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.admin-report h3,
.admin-report p {
  margin: 0;
}

.admin-report small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.admin-report-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.admin-brand {
  display: grid;
  gap: 4px;
}

.admin-brand small,
.admin-role-pill,
.admin-status {
  width: fit-content;
  border: 1px solid rgba(24, 216, 255, 0.28);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--cyan);
  background: rgba(24, 216, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.admin-nav {
  display: grid;
  gap: 6px;
}

.admin-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 14px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.admin-nav-icon {
  display: inline-grid;
  width: 18px;
  min-width: 18px;
  place-items: center;
  color: var(--cyan);
}

.admin-nav-icon .icon {
  width: 17px;
  height: 17px;
}

.admin-nav button.active,
.admin-nav button:hover {
  border-color: rgba(24, 216, 255, 0.28);
  background: rgba(24, 216, 255, 0.08);
  color: var(--text);
}

.admin-sidebar-actions,
.admin-head-actions,
.admin-toolbar,
.admin-row-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.admin-vision-signals {
  display: grid;
  gap: 2px;
  margin-top: 6px;
  padding: 8px;
  border: 1px solid rgba(24, 216, 255, 0.16);
  border-radius: 10px;
  background: rgba(24, 216, 255, 0.05);
}

.admin-sidebar-actions {
  display: flex !important;
  margin-top: 0;
  margin-bottom: 0;
}

.admin-sidebar-version {
  display: grid !important;
  gap: 4px;
  margin-top: auto;
  margin-bottom: 10px !important;
  border: 1px solid rgba(24, 216, 255, 0.18);
  border-radius: 14px;
  padding: 14px;
  background: rgba(5, 28, 34, 0.78);
}

.admin-sidebar-version strong {
  color: var(--text);
  font-size: 15px;
}

.admin-sidebar-version span {
  color: var(--muted);
  font-size: 12px;
}

.admin-head-actions {
  justify-content: flex-end;
}

.admin-filter-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
}

.admin-filter-summary button {
  border: 1px solid rgba(24, 216, 255, 0.22);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(24, 216, 255, 0.07);
  color: var(--muted);
  font-weight: 800;
}

.admin-filter-summary span {
  color: var(--accent);
}

.admin-photo-thumb {
  width: 92px;
  height: 92px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(24, 216, 255, 0.22);
  background: var(--graphite);
}

.admin-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(3, 18, 21, 0.82);
  box-shadow: var(--shadow);
}

.admin-panel + .admin-panel,
.admin-metrics + .admin-panel {
  margin-top: 16px;
}

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.admin-panel-head h3,
.admin-panel-head p {
  margin: 0;
}

.admin-panel-head p,
.admin-note {
  color: var(--muted);
}

.admin-metrics.dense {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-table td strong,
.admin-table td small {
  display: block;
}

.admin-table td small {
  max-width: 280px;
  margin-top: 4px;
  color: var(--muted);
  word-break: break-word;
}

.admin-row-actions button {
  border: 1px solid rgba(24, 216, 255, 0.24);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(2, 20, 24, 0.9);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

.admin-row-actions button:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.admin-status.online {
  color: #29e68a;
  border-color: rgba(41, 230, 138, 0.28);
  background: rgba(41, 230, 138, 0.08);
}

.admin-bars {
  display: grid;
  gap: 14px;
}

.admin-bar {
  display: grid;
  gap: 8px;
}

.admin-bar > div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-weight: 800;
}

.admin-bar-track {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.admin-bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #05a9bf, #18d8ff);
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-notification-form {
  max-width: 920px;
}

.admin-inner-table {
  margin-top: 16px;
}

.admin-active-check {
  align-self: end;
  min-height: 48px;
}

.admin-exec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
}

.admin-exec-left {
  display: grid;
  gap: 10px;
}

.admin-exec-left h2,
.admin-exec-left p,
.admin-greeting {
  margin: 0;
}

.admin-greeting {
  color: var(--text);
  font-size: 18px;
  font-weight: 850;
}

.admin-exec-left h2 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0;
}

.admin-exec-left p {
  color: var(--muted);
}

.admin-mobile-menu {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(24, 216, 255, 0.18);
  border-radius: 12px;
  background: rgba(4, 20, 26, 0.8);
  color: var(--text);
}

.admin-quick-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: min(100%, 520px);
  gap: 10px;
  margin-top: 8px;
  border: 1px solid rgba(24, 216, 255, 0.18);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(2, 14, 18, 0.72);
  color: var(--muted);
}

.admin-quick-search .icon {
  width: 18px;
  height: 18px;
}

.admin-quick-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.admin-quick-search kbd {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 3px 6px;
  color: var(--muted);
  font-size: 11px;
}

.admin-exec-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.admin-system-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.admin-system-status i,
.admin-health-list i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #35d07f;
  box-shadow: 0 0 14px rgba(53, 208, 127, 0.5);
}

.admin-last-update {
  color: var(--muted);
  font-size: 12px;
}

.admin-refresh-button {
  min-width: 150px;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-kpi-card,
.admin-mini-metric,
.admin-alert-card,
.admin-text-link {
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-kpi-card {
  position: relative;
  display: grid;
  min-height: 150px;
  overflow: hidden;
  gap: 8px;
  border: 1px solid rgba(24, 216, 255, 0.2);
  border-radius: 16px;
  padding: 20px;
  background:
    radial-gradient(circle at 90% 10%, rgba(24, 216, 255, 0.11), transparent 12rem),
    rgba(7, 28, 34, 0.9);
  color: var(--text);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.admin-kpi-card:hover,
.admin-mini-metric:hover,
.admin-alert-card:hover {
  border-color: rgba(24, 216, 255, 0.48);
  transform: translateY(-1px);
}

.admin-card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(24, 216, 255, 0.11);
}

.admin-card-icon .icon {
  width: 24px;
  height: 24px;
}

.admin-card-label {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.admin-kpi-card strong {
  font-size: 34px;
  line-height: 1;
}

.admin-kpi-card small,
.admin-mini-metric small {
  color: #35d07f;
  font-size: 12px;
  font-weight: 800;
}

.admin-kpi-card.warning small,
.admin-mini-metric.warning small {
  color: #f2b84b;
}

.admin-kpi-card.danger small,
.admin-mini-metric.danger small {
  color: #ef6461;
}

.admin-sparkline {
  position: absolute;
  right: 16px;
  bottom: 18px;
  display: flex;
  align-items: end;
  width: 74px;
  height: 42px;
  gap: 4px;
}

.admin-sparkline i {
  flex: 1;
  border-radius: 999px 999px 2px 2px;
  background: linear-gradient(180deg, #18d8ff, #0f7dba);
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(330px, 0.95fr);
  gap: 14px;
}

.admin-main-column,
.admin-side-column {
  display: grid;
  gap: 14px;
  align-content: start;
}

.admin-dashboard-section,
.admin-alert-panel,
.admin-growth-panel,
.admin-feed-panel,
.admin-health-panel {
  border: 1px solid rgba(24, 216, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(8, 35, 42, 0.9), rgba(3, 16, 20, 0.9)),
    rgba(3, 18, 21, 0.82);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.admin-dashboard-section {
  padding: 16px;
}

.admin-section-title,
.admin-panel-title {
  display: flex;
  align-items: start;
  gap: 10px;
  margin-bottom: 14px;
}

.admin-section-title > span,
.admin-panel-title > h3 > .icon {
  color: var(--cyan);
}

.admin-section-title .icon {
  width: 22px;
  height: 22px;
}

.admin-section-title h3,
.admin-section-title p,
.admin-panel-title h3,
.admin-panel-title p {
  margin: 0;
}

.admin-section-title h3,
.admin-panel-title h3 {
  font-size: 18px;
}

.admin-section-title p,
.admin-panel-title p {
  color: var(--muted);
  font-size: 12px;
}

.admin-section-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.admin-mini-metric {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(24, 216, 255, 0.16);
  border-radius: 12px;
  padding: 13px;
  background: rgba(3, 20, 25, 0.82);
  color: var(--text);
  transition: border-color 160ms ease, transform 160ms ease;
}

.admin-mini-top {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-mini-top .icon {
  width: 15px;
  height: 15px;
  color: var(--cyan);
}

.admin-mini-metric strong {
  font-size: 25px;
  line-height: 1;
}

.admin-alert-panel,
.admin-growth-panel,
.admin-feed-panel,
.admin-health-panel {
  padding: 16px;
}

.admin-alert-list,
.admin-feed-list,
.admin-health-list {
  display: grid;
  gap: 10px;
}

.admin-alert-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px;
  background: rgba(2, 18, 23, 0.6);
  color: var(--text);
}

.admin-alert-card > span {
  color: #f2b84b;
}

.admin-alert-card .icon {
  width: 18px;
  height: 18px;
}

.admin-alert-card strong {
  font-size: 13px;
}

.admin-alert-card em {
  color: var(--cyan);
  font-style: normal;
}

.admin-alert-empty,
.admin-feed-empty {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.admin-growth-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-growth-legend span::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--cyan);
}

.admin-growth-legend .green::before {
  background: #35d07f;
}

.admin-growth-legend .blue::before {
  background: #0f7dba;
}

.admin-growth-chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  min-height: 220px;
  gap: 10px;
  border-radius: 14px;
  padding: 14px 10px 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 100% 25%,
    rgba(2, 12, 16, 0.45);
}

.admin-growth-day {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  height: 180px;
  gap: 3px;
}

.admin-growth-day .bar {
  display: block;
  min-height: 8px;
  border-radius: 999px 999px 2px 2px;
}

.admin-growth-day .cyan {
  background: #18d8ff;
}

.admin-growth-day .green {
  background: #35d07f;
}

.admin-growth-day .blue {
  background: #0f7dba;
}

.admin-growth-day small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.admin-side-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.admin-feed-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  color: var(--text);
}

.admin-feed-item > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: rgba(24, 216, 255, 0.1);
  color: var(--cyan);
}

.admin-feed-item > span.warning {
  color: #f2b84b;
  background: rgba(242, 184, 75, 0.1);
}

.admin-feed-item > span.success {
  color: #35d07f;
  background: rgba(53, 208, 127, 0.1);
}

.admin-feed-item .icon {
  width: 15px;
  height: 15px;
}

.admin-feed-item strong,
.admin-feed-item small {
  display: block;
}

.admin-feed-item strong {
  font-size: 13px;
}

.admin-feed-item small,
.admin-feed-item time {
  color: var(--muted);
  font-size: 11px;
}

.admin-health-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.admin-health-list .icon {
  width: 16px;
  height: 16px;
  color: var(--cyan);
}

.admin-health-list strong {
  font-size: 13px;
}

.admin-health-list small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

.admin-text-link {
  margin-top: 14px;
  padding: 0;
  background: transparent;
  color: var(--cyan);
  font-weight: 800;
}

@media (max-width: 380px) {
  .filter-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .admin-app {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-sidebar > div {
    margin-bottom: 0;
  }

  .admin-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-exec-head,
  .admin-dashboard-grid,
  .admin-side-split {
    grid-template-columns: 1fr;
  }

  .admin-exec-actions {
    align-items: stretch;
  }

  .admin-mobile-menu {
    display: inline-grid;
    place-items: center;
  }

  .admin-kpi-grid,
  .admin-section-grid {
    grid-template-columns: 1fr;
  }

  .admin-head,
  .admin-toolbar,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-head {
    display: grid;
  }

  .admin-metrics,
  .admin-metrics.dense {
    grid-template-columns: 1fr;
  }

  .admin-workspace {
    padding: 16px;
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .admin-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-dashboard-grid,
  .admin-side-split {
    grid-template-columns: 1fr;
  }

  .admin-section-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1181px) and (max-width: 1420px) {
  .admin-section-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-side-split {
    grid-template-columns: 1fr;
  }
}

/* Admin Dashboard 2.0 */
.admin-app {
  background:
    radial-gradient(circle at 78% 8%, rgba(0, 184, 217, 0.11), transparent 30%),
    radial-gradient(circle at 12% 18%, rgba(0, 159, 183, 0.1), transparent 34%),
    linear-gradient(135deg, #031014 0%, #06151a 48%, #031014 100%);
}

.admin-sidebar {
  background:
    linear-gradient(180deg, rgba(3, 16, 20, 0.98), rgba(4, 20, 26, 0.96)),
    radial-gradient(circle at 20% 8%, rgba(0, 184, 217, 0.12), transparent 32%);
  border-right: 1px solid rgba(0, 188, 212, 0.22);
  box-shadow: 18px 0 50px rgba(0, 0, 0, 0.16);
}

.admin-nav button {
  min-height: 48px;
  position: relative;
}

.admin-nav button.active {
  background:
    linear-gradient(135deg, rgba(0, 184, 217, 0.22), rgba(0, 96, 116, 0.42));
  border-color: rgba(0, 188, 212, 0.48);
  box-shadow: inset 0 0 0 1px rgba(0, 188, 212, 0.12), 0 12px 30px rgba(0, 184, 217, 0.08);
}

.admin-nav button:hover {
  border-color: rgba(0, 188, 212, 0.38);
  background: rgba(0, 188, 212, 0.08);
}

.admin-nav-badge {
  margin-left: auto;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(0, 184, 217, 0.16);
  border: 1px solid rgba(0, 188, 212, 0.3);
  color: var(--brand);
  font-size: 11px;
  font-weight: 850;
}

.admin-sidebar-version {
  gap: 3px;
}

.admin-sidebar-version small {
  color: var(--muted);
  font-size: 11px;
}

.admin-v2-head {
  display: grid;
  gap: 22px;
  margin-bottom: 20px;
}

.admin-v2-topbar {
  display: grid;
  grid-template-columns: minmax(280px, 560px) auto;
  align-items: center;
  gap: 18px;
}

.admin-v2-search {
  min-height: 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 188, 212, 0.18);
  background: rgba(3, 16, 20, 0.64);
  color: var(--muted);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.admin-v2-search input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  outline: 0;
  font: inherit;
}

.admin-v2-search kbd {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 11px;
}

.admin-v2-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.admin-v2-icon-button {
  width: 42px;
  height: 42px;
  position: relative;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(0, 188, 212, 0.2);
  background: rgba(6, 26, 33, 0.76);
  color: var(--text);
}

.admin-v2-icon-button:hover {
  border-color: rgba(0, 188, 212, 0.5);
  transform: translateY(-1px);
}

.admin-v2-notification-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #00b8d9;
  color: #031014;
  border: 2px solid #031014;
  font-size: 11px;
  font-weight: 900;
}

.admin-v2-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px 7px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 188, 212, 0.16);
  background: rgba(6, 26, 33, 0.56);
}

.admin-v2-user strong,
.admin-v2-user small {
  display: block;
}

.admin-v2-user small {
  color: var(--muted);
  font-size: 11px;
}

.admin-v2-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(0, 188, 212, 0.32);
  background: rgba(0, 184, 217, 0.08);
  color: var(--brand);
  font-weight: 900;
}

.admin-v2-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
}

.admin-v2-status-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  text-align: right;
}

.admin-v2-status-wrap .admin-refresh-button {
  min-width: 180px;
}

.admin-v2-kpis {
  margin-top: 4px;
}

.admin-v2-kpis .admin-kpi-card {
  min-height: 150px;
  background:
    radial-gradient(circle at 85% 12%, rgba(0, 184, 217, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(8, 35, 42, 0.96), rgba(5, 20, 26, 0.94));
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.18);
}

.admin-v2-kpis .admin-card-value {
  font-size: clamp(30px, 3.4vw, 42px);
}

.admin-v2-primary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.admin-v2-side-stack {
  display: grid;
  gap: 18px;
}

.admin-v2-secondary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.admin-v2-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.admin-v2-section {
  min-height: 100%;
}

.admin-section-title {
  align-items: start;
}

.admin-section-title .admin-text-link {
  margin-left: auto;
  padding-top: 2px;
  white-space: nowrap;
}

.admin-panel-badge {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(0, 184, 217, 0.13);
  border: 1px solid rgba(0, 188, 212, 0.28);
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.admin-growth-panel-large {
  min-height: 100%;
}

.admin-period-filter {
  border: 1px solid rgba(0, 188, 212, 0.18);
  background: rgba(3, 16, 20, 0.5);
  color: var(--muted);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12px;
}

.admin-growth-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: stretch;
}

.admin-period-summary {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 188, 212, 0.14);
  background: rgba(3, 16, 20, 0.34);
}

.admin-period-summary strong {
  color: var(--text);
}

.admin-period-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.admin-period-summary b {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font-size: 24px;
}

.admin-period-summary small {
  color: var(--muted);
  line-height: 1.45;
}

.admin-analytics-panel {
  min-height: 260px;
}

.admin-location-layout {
  display: grid;
  grid-template-columns: minmax(120px, 0.9fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.admin-faux-map {
  min-height: 180px;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(0, 188, 212, 0.15);
  background:
    radial-gradient(circle at 54% 34%, rgba(0, 184, 217, 0.34), transparent 10%),
    radial-gradient(circle at 42% 58%, rgba(0, 184, 217, 0.22), transparent 12%),
    radial-gradient(circle at 70% 72%, rgba(0, 184, 217, 0.18), transparent 11%),
    linear-gradient(135deg, rgba(0, 184, 217, 0.09), rgba(6, 26, 33, 0.78));
}

.admin-faux-map::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 46% 54% 42% 58% / 58% 44% 56% 42%;
  border: 1px solid rgba(0, 188, 212, 0.28);
  background: rgba(0, 184, 217, 0.04);
  transform: rotate(-12deg);
}

.admin-map-dot,
.admin-faux-map i {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00d5ff;
  box-shadow: 0 0 20px rgba(0, 213, 255, 0.95);
}

.admin-faux-map i {
  left: var(--x);
  top: var(--y);
}

.admin-map-dot:nth-child(1) { left: 57%; top: 28%; }
.admin-map-dot:nth-child(2) { left: 45%; top: 51%; }
.admin-map-dot:nth-child(3) { left: 68%; top: 62%; }

.admin-location-list {
  display: grid;
  gap: 10px;
}

.admin-location-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 13px;
}

.admin-location-row span {
  min-width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00b8d9;
  box-shadow: 0 0 12px rgba(0, 184, 217, 0.7);
}

.admin-location-row small {
  color: var(--muted);
  font-weight: 750;
}

.admin-empty-state {
  min-height: 170px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  border-radius: 16px;
  border: 1px dashed rgba(0, 188, 212, 0.2);
  background: rgba(3, 16, 20, 0.28);
  padding: 20px;
}

.admin-device-summary,
.admin-storage-state {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
  color: var(--muted);
}

.admin-donut-lite {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, #06151a 0 50%, transparent 51%),
    conic-gradient(#35d07f 0 58%, #8b5cf6 58% 86%, #00b8d9 86% 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 188, 212, 0.18);
}

.admin-donut-lite strong {
  font-size: 30px;
  color: var(--text);
}

.admin-donut-lite span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.admin-refresh-button.is-loading {
  pointer-events: none;
  opacity: 0.76;
}

.admin-refresh-button.is-loading svg {
  animation: admin-spin 0.9s linear infinite;
}

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

@media (max-width: 1280px) {
  .admin-v2-primary-grid,
  .admin-v2-bottom-grid {
    grid-template-columns: 1fr;
  }

  .admin-v2-side-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .admin-v2-topbar,
  .admin-v2-hero {
    grid-template-columns: 1fr;
  }

  .admin-v2-tools,
  .admin-v2-status-wrap {
    justify-content: flex-start;
    text-align: left;
  }

  .admin-v2-secondary-grid,
  .admin-v2-side-stack {
    grid-template-columns: 1fr;
  }

  .admin-growth-content,
  .admin-location-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .admin-v2-search kbd,
  .admin-v2-user {
    display: none;
  }

  .admin-v2-tools {
    gap: 8px;
  }

  .admin-v2-icon-button {
    width: 40px;
    height: 40px;
  }

  .admin-v2-status-wrap .admin-refresh-button {
    width: 100%;
  }

  .admin-v2-kpis {
    grid-template-columns: 1fr;
  }
}

/* Admin Dashboard 2.0 fidelity pass */
.admin-workspace {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 24px 28px 32px;
}

.admin-v2-head {
  gap: 20px;
  margin-bottom: 22px;
}

.admin-v2-hero h1 {
  font-size: clamp(30px, 2.7vw, 42px);
  line-height: 1.02;
  letter-spacing: 0;
}

.admin-v2-hero h2,
.admin-v2-hero strong {
  font-size: clamp(19px, 1.35vw, 24px);
  line-height: 1.12;
}

.admin-v2-hero p {
  font-size: 15px;
  line-height: 1.45;
}

.admin-kpi-grid.admin-v2-kpis {
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 18px;
}

.admin-v2-kpis .admin-kpi-card {
  min-height: 146px;
  padding: 20px 22px;
  gap: 9px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 86% 14%, rgba(0, 184, 217, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(9, 39, 49, 0.92), rgba(5, 18, 24, 0.96));
  border-color: rgba(0, 188, 212, 0.22);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.admin-v2-kpis .admin-kpi-card:hover {
  border-color: rgba(0, 188, 212, 0.54);
  box-shadow: 0 26px 62px rgba(0, 0, 0, 0.27), 0 0 0 1px rgba(0, 188, 212, 0.08);
}

.admin-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
}

.admin-card-icon .icon {
  width: 26px;
  height: 26px;
}

.admin-card-label {
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-kpi-card strong {
  font-size: clamp(31px, 2.35vw, 38px);
  letter-spacing: 0;
}

.admin-kpi-card small {
  font-size: 13px;
  line-height: 1.25;
  padding-right: 88px;
}

.admin-sparkline {
  right: 20px;
  bottom: 20px;
  width: 86px;
  height: 44px;
  gap: 5px;
  opacity: 0.96;
}

.admin-sparkline i {
  border-radius: 999px 999px 3px 3px;
  box-shadow: 0 0 18px rgba(0, 184, 217, 0.28);
}

.admin-v2-primary-grid {
  grid-template-columns: minmax(620px, 2.05fr) minmax(330px, 0.8fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}

.admin-v2-side-stack {
  gap: 16px;
  align-content: start;
}

.admin-dashboard-section,
.admin-alert-panel,
.admin-growth-panel,
.admin-feed-panel,
.admin-health-panel,
.admin-analytics-panel {
  border-radius: 18px;
  border-color: rgba(0, 188, 212, 0.22);
  background:
    linear-gradient(145deg, rgba(8, 35, 42, 0.86), rgba(3, 16, 20, 0.92)),
    rgba(3, 18, 21, 0.82);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.admin-dashboard-section,
.admin-alert-panel,
.admin-growth-panel,
.admin-feed-panel,
.admin-health-panel,
.admin-analytics-panel {
  padding: 18px;
}

.admin-panel-title,
.admin-section-title {
  min-height: 44px;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-section-title h3,
.admin-panel-title h3 {
  font-size: 19px;
  line-height: 1.16;
}

.admin-section-title p,
.admin-panel-title p {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.35;
}

.admin-growth-panel-large {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.admin-growth-panel-large .admin-panel-title {
  margin-bottom: 8px;
}

.admin-growth-legend {
  margin-bottom: 12px;
}

.admin-growth-content {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 255px);
  gap: 16px;
  align-items: stretch;
}

.admin-real-bars {
  display: grid;
  gap: 14px;
  align-content: center;
  min-height: clamp(230px, 24vw, 315px);
  padding: 24px;
  border: 1px solid rgba(0, 213, 255, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 78% 12%, rgba(0, 184, 217, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(0, 184, 217, 0.035), rgba(255, 255, 255, 0.01));
}

.admin-real-bars article {
  display: grid;
  gap: 8px;
}

.admin-real-bars article > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
}

.admin-real-bars strong {
  font-size: 13px;
}

.admin-real-bars span {
  font-weight: 900;
  color: #f4f8fa;
}

.admin-real-bars i {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00d5ff, #35d07f);
  box-shadow: 0 0 18px rgba(0, 213, 255, 0.28);
}

.admin-real-bars .messages i {
  background: linear-gradient(90deg, #8b5cf6, #00d5ff);
}

.admin-real-bars .active i {
  background: linear-gradient(90deg, #35d07f, #00d5ff);
}

.admin-growth-chart {
  min-height: 0;
  height: clamp(230px, 24vw, 315px);
  padding: 18px 14px 12px;
  align-items: stretch;
}

.admin-growth-line-chart {
  position: relative;
  display: block;
  height: clamp(248px, 20vw, 300px);
  padding: 4px 2px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(0, 184, 217, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(0, 184, 217, 0.035), rgba(255, 255, 255, 0.01));
}

.admin-growth-line-chart svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.admin-chart-gridline line {
  stroke: rgba(159, 183, 191, 0.13);
  stroke-width: 1;
}

.admin-chart-gridline text,
.admin-chart-x-label {
  fill: rgba(159, 183, 191, 0.82);
  font-size: 12px;
  font-weight: 700;
  text-anchor: middle;
}

.admin-chart-gridline text {
  text-anchor: end;
}

.admin-chart-line {
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(0, 184, 217, 0.26));
}

.admin-chart-line.cyan,
.admin-chart-dot.cyan {
  stroke: #00b8d9;
  fill: #00b8d9;
}

.admin-chart-line.green,
.admin-chart-dot.green {
  stroke: #35d07f;
  fill: #35d07f;
}

.admin-chart-line.blue,
.admin-chart-dot.blue {
  stroke: #8b5cf6;
  fill: #8b5cf6;
}

.admin-chart-dot {
  stroke: #061a21;
  stroke-width: 2.4;
}

.admin-growth-day {
  height: 100%;
  min-height: 0;
}

.admin-period-summary {
  gap: 9px;
  padding: 17px;
  min-height: 0;
}

.admin-period-summary h4 {
  margin: 0 0 2px;
  font-size: 14px;
}

.admin-period-summary strong {
  font-size: 24px;
  line-height: 1;
}

.admin-period-summary small {
  margin-top: 5px;
}

.admin-v2-secondary-grid {
  grid-template-columns: repeat(3, minmax(330px, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}

.admin-v2-section {
  min-height: 312px;
  display: flex;
  flex-direction: column;
}

.admin-v2-section .admin-section-grid {
  flex: 1;
}

.admin-section-grid {
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 12px;
}

.admin-mini-metric {
  min-height: 102px;
  align-content: space-between;
  gap: 9px;
  padding: 15px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 184, 217, 0.08), transparent 48%),
    rgba(4, 20, 25, 0.82);
}

.admin-mini-top {
  min-width: 0;
  gap: 7px;
  font-size: 12px;
  line-height: 1.18;
}

.admin-mini-top span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-mini-top .icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.admin-mini-metric strong {
  font-size: 25px;
  line-height: 1;
}

.admin-mini-metric small {
  font-size: 12px;
  line-height: 1.18;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-v2-bottom-grid {
  grid-template-columns: minmax(360px, 1.16fr) minmax(300px, 0.92fr) minmax(300px, 0.92fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}

.admin-analytics-panel {
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.admin-analytics-panel > .admin-text-link {
  margin-top: auto;
  padding-top: 16px;
}

.admin-location-layout {
  grid-template-columns: minmax(170px, 0.82fr) minmax(210px, 1fr);
  gap: 18px;
  align-items: center;
}

.admin-faux-map {
  min-height: 205px;
}

.admin-location-list {
  gap: 11px;
}

.admin-location-row {
  grid-template-columns: minmax(98px, 1fr) minmax(80px, 1fr) 34px 42px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}

.admin-location-city {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.admin-location-row .admin-location-city {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.admin-location-row .admin-location-city::before,
.admin-location-row .admin-location-bar::before {
  display: none !important;
  content: none !important;
}

.admin-location-bar {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.admin-location-row .admin-location-bar {
  min-width: 0;
  box-shadow: none;
}

.admin-location-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00b8d9, #35d07f);
  box-shadow: 0 0 14px rgba(0, 184, 217, 0.34);
}

.admin-location-row strong,
.admin-location-row small {
  text-align: right;
  white-space: nowrap;
}

.admin-device-summary,
.admin-storage-state {
  min-height: 184px;
  align-content: center;
  justify-items: center;
  gap: 16px;
}

.admin-device-summary p,
.admin-storage-state p {
  max-width: 300px;
  margin: 0;
  line-height: 1.45;
}

.admin-donut-lite {
  width: 156px;
  height: 156px;
}

.admin-donut-lite strong {
  font-size: 31px;
}

.admin-brazil-location-layout {
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 0.82fr);
  align-items: stretch;
}

.admin-brazil-map {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(0, 213, 255, 0.2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 213, 255, 0.11), transparent 42%),
    #030d12;
  box-shadow: inset 0 0 28px rgba(0, 213, 255, 0.08);
}

.admin-brazil-map img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
  opacity: 0.92;
  filter: saturate(1.08) contrast(1.04);
}

.admin-brazil-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 8, 11, 0.05), rgba(2, 8, 11, 0.44)),
    radial-gradient(circle at 48% 48%, transparent 42%, rgba(2, 8, 11, 0.22));
}

.admin-brazil-map-pin {
  position: absolute;
  z-index: 2;
  left: var(--x);
  top: var(--y);
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 213, 255, 0.18);
  box-shadow: 0 0 0 1px rgba(0, 213, 255, 0.44), 0 0 24px rgba(0, 213, 255, 0.75);
}

.admin-brazil-map-pin i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35d07f;
  box-shadow: 0 0 16px rgba(53, 208, 127, 0.9);
}

.admin-storage-breakdown {
  width: min(100%, 340px);
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

.admin-storage-breakdown span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(0, 213, 255, 0.12);
  border-radius: 10px;
  background: rgba(0, 213, 255, 0.04);
}

.admin-storage-breakdown strong {
  color: var(--text);
}

.admin-donut-lite.warning {
  background:
    radial-gradient(circle at center, #06151a 0 50%, transparent 51%),
    conic-gradient(#ffba4a 0 35%, #00b8d9 35% 76%, #35d07f 76% 100%);
}

.admin-alert-list,
.admin-feed-list,
.admin-health-list {
  gap: 11px;
}

.admin-alert-card {
  min-height: 44px;
  padding: 11px 12px;
}

.admin-feed-item {
  grid-template-columns: 30px minmax(0, 1fr) minmax(52px, auto);
  align-items: center;
}

.admin-feed-item time {
  text-align: right;
  white-space: nowrap;
}

.admin-health-list article {
  min-height: 34px;
}

.admin-text-link {
  font-size: 13px;
  line-height: 1.2;
}

@media (max-width: 1280px) {
  .admin-kpi-grid.admin-v2-kpis {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }

  .admin-v2-primary-grid,
  .admin-v2-bottom-grid {
    grid-template-columns: 1fr;
  }

  .admin-v2-side-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-location-layout {
    grid-template-columns: minmax(190px, 0.72fr) minmax(260px, 1fr);
  }
}

@media (max-width: 1180px) {
  .admin-v2-secondary-grid,
  .admin-v2-side-stack {
    grid-template-columns: 1fr;
  }

  .admin-v2-section {
    min-height: 0;
  }
}

@media (max-width: 980px) {
  .admin-workspace {
    padding: 18px;
  }

  .admin-growth-content,
  .admin-location-layout {
    grid-template-columns: 1fr;
  }

  .admin-location-row {
    grid-template-columns: minmax(100px, 1fr) minmax(90px, 1fr) 34px 42px;
  }
}

@media (max-width: 680px) {
  .admin-kpi-grid.admin-v2-kpis,
  .admin-section-grid {
    grid-template-columns: 1fr;
  }

  .admin-v2-kpis .admin-kpi-card {
    min-height: 132px;
  }

  .admin-growth-chart {
    height: 220px;
  }

  .admin-location-row {
    grid-template-columns: 1fr auto;
  }

  .admin-location-bar,
  .admin-location-row small {
    display: none;
  }
}
/* AFTER Premium sandbox */
.premium-screen {
  display: grid;
  gap: 18px;
  padding-bottom: 110px;
}

.premium-hero,
.premium-plan-card,
.wave-panel,
.wave-report-card,
.premium-feature-panel,
.premium-test-panel {
  border: 1px solid rgba(0, 213, 255, 0.22);
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 213, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(4, 39, 45, 0.92), rgba(0, 10, 12, 0.96));
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 213, 255, 0.08);
  padding: 18px;
}

.premium-hero h2,
.wave-panel h2,
.wave-report-card h2 {
  color: #f4fbff;
  margin: 5px 0 8px;
}

.premium-hero p,
.wave-panel p,
.premium-test-panel p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.premium-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.premium-status-row span,
.wave-live-dot {
  align-items: center;
  background: rgba(0, 15, 18, 0.76);
  border: 1px solid rgba(0, 213, 255, 0.24);
  border-radius: 999px;
  color: #dff8ff;
  display: inline-flex;
  gap: 7px;
  padding: 7px 10px;
}

.wave-live-dot::before {
  animation: onlinePulse 1.8s infinite;
  background: #27f58a;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(39, 245, 138, 0.44);
  content: "";
  height: 8px;
  width: 8px;
}

.premium-plan-grid,
.wave-offer-grid,
.premium-feature-grid,
.premium-test-actions,
.wave-report-grid {
  display: grid;
  gap: 12px;
}

.premium-plan-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.premium-plan-card {
  display: grid;
  gap: 14px;
}

.premium-plan-card.is-active {
  border-color: rgba(39, 245, 138, 0.4);
}

.premium-plan-title,
.wave-panel-head {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.premium-plan-title h3,
.wave-offer-card h3 {
  color: #fff;
  margin: 0;
}

.premium-plan-title span {
  color: #27f58a;
  font-size: 0.78rem;
  font-weight: 800;
}

.premium-plan-card > strong,
.wave-offer-card > strong,
.wave-active-card h3 {
  color: #00d5ff;
  font-size: 1.35rem;
}

.premium-plan-card ul {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.premium-plan-card li {
  align-items: flex-start;
  color: #cce7ee;
  display: flex;
  gap: 8px;
  line-height: 1.32;
}

.premium-plan-card li svg {
  color: #27f58a;
  flex: 0 0 auto;
  width: 16px;
}

.wave-icon {
  align-items: center;
  background: linear-gradient(135deg, #00d5ff, #0066ff);
  border-radius: 18px;
  color: #001114;
  display: inline-flex;
  font-size: 2.1rem;
  font-weight: 900;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.wave-offer-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: 16px;
}

.wave-offer-card,
.wave-active-card,
.wave-report-grid article,
.premium-feature-grid article {
  background: rgba(0, 10, 12, 0.55);
  border: 1px solid rgba(0, 213, 255, 0.16);
  border-radius: 14px;
  padding: 14px;
}

.wave-offer-card,
.wave-active-card {
  display: grid;
  gap: 10px;
}

.wave-metrics-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wave-metrics-mini span {
  border: 1px solid rgba(0, 213, 255, 0.16);
  border-radius: 999px;
  color: #cce7ee;
  padding: 7px 10px;
}

.wave-report-grid {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  margin: 14px 0;
}

.wave-report-grid article strong {
  color: #00d5ff;
  display: block;
  font-size: 1.5rem;
}

.wave-report-grid article span,
.premium-feature-grid small {
  color: var(--muted);
}

.premium-feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin-top: 12px;
}

.premium-feature-grid article {
  display: grid;
  gap: 6px;
}

.premium-feature-grid article.enabled {
  border-color: rgba(39, 245, 138, 0.35);
}

.premium-feature-grid article.enabled span {
  color: #27f58a;
}

.premium-test-actions {
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  margin: 12px 0;
}

.compact-settings-link {
  white-space: nowrap;
  width: auto;
}

.profile-premium-card {
  align-items: center;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 213, 255, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(1, 43, 52, 0.94), rgba(0, 9, 12, 0.96));
  border: 1px solid rgba(0, 213, 255, 0.26);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(0, 213, 255, 0.08);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 15px;
}

.profile-premium-card h3 {
  color: #f4fbff;
  font-size: 1.08rem;
  margin: 4px 0;
}

.profile-premium-card p {
  color: var(--muted);
  line-height: 1.35;
  margin: 0;
}

.profile-premium-card .button {
  flex: 0 0 auto;
}

.wave-floating-button {
  --wave-size: 68px;
  align-items: center;
  background:
    radial-gradient(circle at 35% 22%, rgba(79, 241, 255, 0.95), rgba(0, 105, 255, 0.82) 45%, rgba(0, 15, 25, 0.98) 78%);
  border: 1px solid rgba(0, 213, 255, 0.48);
  border-radius: 24px;
  box-shadow: 0 0 26px rgba(0, 213, 255, 0.28), 0 18px 36px rgba(0, 0, 0, 0.38);
  cursor: grab;
  display: inline-flex;
  height: var(--wave-size);
  justify-content: center;
  padding: 0;
  position: fixed;
  top: var(--wave-y);
  width: var(--wave-size);
  z-index: 42;
  will-change: transform, opacity;
  animation: waveFloatIdle 4.6s ease-in-out infinite, waveGlowIdle 3.4s ease-in-out infinite;
  touch-action: none;
}

.wave-floating-button.side-right {
  right: 14px;
}

.wave-floating-button.side-left {
  left: 14px;
}

.wave-floating-button.is-dragging {
  animation: none;
  cursor: grabbing;
  transition: none;
}

.wave-floating-button img {
  border-radius: 18px;
  height: 48px;
  pointer-events: none;
  width: 48px;
}

.wave-floating-button strong {
  background: rgba(0, 9, 12, 0.82);
  border: 1px solid rgba(0, 213, 255, 0.28);
  border-radius: 999px;
  bottom: -11px;
  color: #e9fbff;
  font-size: 0.68rem;
  left: 50%;
  min-width: 58px;
  padding: 3px 6px;
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
}

.wave-floating-ripple,
.wave-floating-ripple::after {
  border: 1px solid rgba(0, 213, 255, 0.38);
  border-radius: 28px;
  content: "";
  inset: -8px;
  opacity: 0;
  position: absolute;
}

.wave-floating-button.is-active {
  animation: waveFloatIdle 3.2s ease-in-out infinite, waveGlowActive 1.9s ease-in-out infinite;
}

.wave-floating-button.is-active .wave-floating-ripple {
  animation: waveRipple 2.2s ease-out infinite;
}

.wave-floating-button.is-active .wave-floating-ripple::after {
  animation: waveRipple 2.2s ease-out 0.8s infinite;
}

.wave-sheet-backdrop {
  align-items: flex-end;
}

.wave-bottom-sheet {
  background:
    radial-gradient(circle at 22% 0%, rgba(0, 213, 255, 0.14), transparent 35%),
    linear-gradient(180deg, rgba(4, 39, 45, 0.98), rgba(0, 8, 10, 0.98));
  border: 1px solid rgba(0, 213, 255, 0.26);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -18px 60px rgba(0, 213, 255, 0.12);
  max-width: 560px;
  padding: 12px 18px calc(18px + env(safe-area-inset-bottom));
  width: 100%;
}

.wave-sheet-handle {
  background: rgba(218, 246, 255, 0.28);
  border-radius: 999px;
  height: 4px;
  margin: 0 auto 14px;
  width: 46px;
}

.wave-sheet-head {
  align-items: center;
  display: flex;
  gap: 12px;
}

.wave-sheet-head img {
  border-radius: 18px;
  height: 58px;
  width: 58px;
}

.wave-sheet-head h2 {
  color: #fff;
  margin: 2px 0 4px;
}

.wave-sheet-head p {
  color: var(--muted);
  margin: 0;
}

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

.wave-sheet-metrics article {
  background: rgba(0, 10, 12, 0.56);
  border: 1px solid rgba(0, 213, 255, 0.16);
  border-radius: 14px;
  padding: 12px;
}

.wave-sheet-metrics strong {
  color: #00d5ff;
  display: block;
  font-size: 1.1rem;
}

.wave-sheet-metrics span {
  color: var(--muted);
  font-size: 0.84rem;
}

.wave-sheet-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

@keyframes waveFloatIdle {
  0%, 100% { transform: translate3d(0, -2px, 0); }
  50% { transform: translate3d(0, 5px, 0); }
}

@keyframes waveGlowIdle {
  0%, 100% { box-shadow: 0 0 18px rgba(0, 213, 255, 0.18), 0 18px 36px rgba(0, 0, 0, 0.36); }
  50% { box-shadow: 0 0 30px rgba(0, 213, 255, 0.34), 0 18px 40px rgba(0, 0, 0, 0.42); }
}

@keyframes waveGlowActive {
  0%, 100% { box-shadow: 0 0 24px rgba(0, 213, 255, 0.32), 0 0 44px rgba(0, 102, 255, 0.22); }
  50% { box-shadow: 0 0 42px rgba(0, 213, 255, 0.58), 0 0 68px rgba(0, 102, 255, 0.34); }
}

@keyframes waveRipple {
  0% { opacity: 0.8; transform: scale(0.82); }
  100% { opacity: 0; transform: scale(1.38); }
}

@media (max-width: 560px) {
  .premium-hero,
  .premium-plan-card,
  .wave-panel,
  .wave-report-card,
  .premium-feature-panel,
  .premium-test-panel {
    border-radius: 14px;
    padding: 14px;
  }

  .wave-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-premium-card {
    align-items: stretch;
    flex-direction: column;
  }

  .wave-floating-button {
    --wave-size: 62px;
  }

  .wave-floating-button img {
    height: 44px;
    width: 44px;
  }

  .wave-sheet-actions {
    grid-template-columns: 1fr;
  }
}

/* Experiência nativa Capacitor: superfícies, toque e áreas seguras. */
:root {
  --native-inline: clamp(12px, 3.6vw, 18px);
  --native-divider: rgba(40, 220, 255, 0.07);
  --native-surface: rgba(255, 255, 255, 0.032);
}

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

button,
.button,
.settings-link,
.chip,
.nav-button {
  touch-action: manipulation;
}

button:active:not(:disabled),
.button:active:not(:disabled),
.settings-link:active:not(:disabled) {
  opacity: 0.82;
}

.shell-discover .content {
  gap: 12px;
  padding: 0 var(--native-inline);
}

.city-pulse {
  min-height: 34px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--native-divider);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 5px 4px;
  font-size: 12px;
  font-weight: 680;
}

.discover-identity {
  gap: 10px;
}

.discover-toolbar {
  gap: 8px;
}

.mode-switch {
  border-color: rgba(40, 220, 255, 0.18);
  background: rgba(255, 255, 255, 0.025);
  padding: 3px;
}

.mode-switch button {
  min-height: 42px;
}

.mode-switch button.active {
  background: rgba(0, 188, 218, 0.17);
  box-shadow: none;
}

.discover-tool-actions {
  gap: 2px;
}

.discover-tool-actions .icon-button {
  width: 40px;
  height: 42px;
  border-radius: 50%;
}

.discover-tool-actions .icon-button:active {
  background: rgba(40, 220, 255, 0.08);
}

.trust-filter-row {
  gap: 6px;
}

.trust-filter-row .chip {
  min-height: 36px;
  border-color: rgba(40, 220, 255, 0.105);
  background: rgba(255, 255, 255, 0.018);
  font-size: 12px;
  font-weight: 680;
}

.trust-filter-row .chip.active {
  border-color: transparent;
  background: rgba(0, 188, 218, 0.18);
  color: #dffbff;
}

.profile-list {
  gap: 14px;
}

.lounge-card {
  position: relative;
  border-color: rgba(40, 220, 255, 0.105);
  border-radius: 14px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.25);
}

.lounge-card .profile-photo {
  min-height: 380px;
  max-height: min(64dvh, 590px);
}

.lounge-card .profile-photo::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(0, 8, 12, 0.9));
  content: "";
  pointer-events: none;
}

.lounge-card .profile-photo.is-discreet img {
  width: clamp(126px, 34vw, 168px);
  height: clamp(126px, 34vw, 168px);
  opacity: 0.86;
}

.lounge-photo-caption {
  position: absolute;
  z-index: 4;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px;
  align-items: end;
  min-width: 0;
  pointer-events: none;
}

.lounge-caption-identity {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.lounge-caption-status {
  display: inline-grid;
  min-height: 28px;
  align-items: center;
  align-self: end;
  border: 1px solid rgba(40, 220, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 20, 27, 0.7);
  color: rgba(233, 241, 243, 0.9) !important;
  font-size: 11px !important;
  font-weight: 720;
  padding: 0 10px;
  backdrop-filter: blur(10px);
}

.lounge-caption-status.is-online {
  border-color: rgba(34, 214, 111, 0.28);
  background: rgba(3, 35, 24, 0.72);
  color: #54ed94 !important;
}

.lounge-photo-caption h3,
.lounge-photo-caption span {
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
  white-space: nowrap;
}

.lounge-photo-caption h3 {
  color: #fff;
  font-size: 22px;
  line-height: 1.08;
}

.lounge-photo-caption span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 650;
}

.lounge-card .profile-body {
  gap: 10px;
  padding: 13px 14px 14px;
}

.lounge-card .profile-bio {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.lounge-card .trust-row {
  gap: 6px;
}

.lounge-card .trust-pill {
  min-height: 26px;
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.025);
  font-size: 11px;
}

.lounge-card .profile-actions .button {
  border-color: rgba(40, 220, 255, 0.11);
  box-shadow: none;
}

.lounge-card .profile-actions .button.secondary,
.lounge-card .profile-actions .menu-button {
  background: transparent;
}

.card-menu {
  border-color: rgba(40, 220, 255, 0.1);
  border-radius: 14px;
  background: rgba(7, 18, 23, 0.98);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
}

.compact-grid {
  gap: 8px;
}

.compact-profile-card {
  border-color: rgba(40, 220, 255, 0.085);
  border-radius: 11px;
  box-shadow: none;
}

.compact-avatar-placeholder {
  width: 76px;
  height: 76px;
  border-color: rgba(40, 220, 255, 0.12);
  border-radius: 18px;
  font-size: 40px;
}

.compact-favorite {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(0, 10, 14, 0.54);
}

.compact-info {
  right: 48px;
  bottom: 12px;
  left: 12px;
}

.compact-profile-name {
  font-size: 17px;
}

.compact-profile-meta {
  font-size: 12px;
}

.compact-actions {
  top: 44px;
  right: 8px;
  gap: 5px;
}

.compact-actions .mini-action {
  width: 32px;
  height: 32px;
  border: 0;
  background: rgba(0, 10, 14, 0.52);
  backdrop-filter: blur(10px);
}

.empty-state,
.empty-state.elegant,
.empty-state.compact,
.subtle-empty {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.empty-state.compact,
.subtle-empty {
  min-height: 180px;
}

.interests-view {
  gap: 18px;
  padding: 16px var(--native-inline) 22px;
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 218, 255, 0.075), transparent 18rem),
    #010a0d;
}

.interests-hero {
  align-items: center;
}

.interests-hero h2 {
  font-size: 27px;
  line-height: 1.05;
}

.interests-hero p {
  max-width: 330px;
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.35;
}

.interests-hero-actions {
  gap: 2px;
  padding-top: 0;
}

.interest-tool-button {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.interest-tool-button:active {
  background: rgba(40, 220, 255, 0.08);
}

.interest-tool-button .icon {
  width: 22px;
  height: 22px;
}

.interests-tabs {
  gap: 4px;
  border-color: rgba(40, 220, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.022);
  box-shadow: none;
  padding: 3px;
}

.interests-tab {
  height: 42px;
  border-radius: 11px;
  font-size: 13px;
}

.interests-tab.is-active {
  background: rgba(0, 188, 218, 0.18);
  box-shadow: none;
}

.interest-section-heading span {
  font-size: 12px;
  letter-spacing: 0;
}

.interest-section-heading strong {
  min-width: 24px;
  height: 22px;
  font-size: 12px;
}

.settings-screen {
  width: min(100%, 560px);
  height: 100dvh;
  min-height: 100dvh;
  max-height: 100dvh;
  background: #010a0d;
}

.settings-screen-head {
  position: sticky;
  z-index: 5;
  top: 0;
  grid-template-columns: 44px minmax(0, 1fr);
  min-height: calc(58px + env(safe-area-inset-top));
  gap: 8px;
  border: 0;
  background: rgba(1, 10, 13, 0.96);
  padding: env(safe-area-inset-top) 12px 0 8px;
  backdrop-filter: blur(18px);
}

.settings-screen-head .icon-button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

.settings-screen-head .icon-button .icon {
  width: 26px;
  height: 26px;
}

.settings-screen-head h2 {
  margin: 0;
  font-size: 20px;
}

.settings-screen-body {
  gap: 18px;
  min-height: 0;
  align-content: start;
  grid-auto-rows: max-content;
  padding: 8px var(--native-inline) calc(30px + env(safe-area-inset-bottom));
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.settings-list {
  gap: 0;
  overflow: visible;
  min-height: max-content;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

/* Acesso: formulário contínuo e controles compatíveis com o Android. */
.auth-shell {
  max-width: 500px;
  align-content: start;
  gap: 20px;
  overflow-x: hidden;
  padding: max(env(safe-area-inset-top), 22px) 20px max(env(safe-area-inset-bottom), 28px);
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 188, 218, 0.1), transparent 23rem),
    #010a0d;
}

.brand-lockup {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 12px 2px 4px;
}

.brand-lockup .mark {
  overflow: hidden;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  box-shadow: none;
}

.brand-lockup .mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-title {
  font-size: 31px;
  font-weight: 800;
}

.brand-subtitle {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.auth-panel {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.auth-panel .segmented {
  gap: 3px;
  border-color: rgba(40, 220, 255, 0.09);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
  padding: 3px;
}

.auth-panel .segmented button {
  min-height: 44px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 680;
}

.auth-panel .segmented button.active {
  background: rgba(0, 188, 218, 0.18);
  color: #e7fbff;
  box-shadow: none;
}

.auth-form {
  gap: 16px;
  margin-top: 20px;
}

.auth-form .field {
  gap: 7px;
}

.auth-form .field > span:first-child {
  color: rgba(233, 241, 243, 0.68);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.auth-form .input,
.auth-form .textarea,
.auth-form .select {
  min-height: 52px;
  border-color: rgba(40, 220, 255, 0.11);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 16px;
  box-shadow: none;
}

.auth-form .input:focus,
.auth-form .textarea:focus,
.auth-form .select:focus {
  border-color: rgba(40, 220, 255, 0.55);
  box-shadow: 0 0 0 2px rgba(40, 220, 255, 0.075);
}

.auth-form .textarea {
  min-height: 92px;
}

.auth-form .terms {
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  font-size: 13px;
}

.auth-form .terms input {
  width: 20px;
  height: 20px;
}

.auth-form .button {
  min-height: 50px;
  border-radius: 11px;
  box-shadow: none;
}

.auth-form .button.secondary {
  border-color: rgba(40, 220, 255, 0.11);
  background: transparent;
}

.auth-form .notice {
  border: 0;
  border-left: 3px solid rgba(40, 220, 255, 0.5);
  border-radius: 0;
  background: rgba(40, 220, 255, 0.055);
  padding: 12px 13px;
}

.auth-form .consent-list {
  gap: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 4px 0;
}

.auth-signup-form .photo-input {
  grid-template-columns: 64px minmax(0, 1fr);
}

.auth-signup-form .photo-preview {
  width: 64px;
  height: 64px;
  border-color: rgba(40, 220, 255, 0.12);
  border-radius: 12px;
}

.auth-signup-form .file-label {
  min-height: 48px;
  border-color: rgba(40, 220, 255, 0.11);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 13px;
}

.auth-age .brand-lockup {
  margin-top: clamp(8px, 5dvh, 40px);
}

.auth-age .age-gate {
  margin-top: 8px;
}

@media (min-height: 760px) {
  .auth-login {
    align-content: center;
  }
}

@media (max-width: 380px) {
  .auth-shell {
    padding-right: 15px;
    padding-left: 15px;
  }

  .brand-lockup {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .brand-lockup .mark {
    width: 46px;
    height: 46px;
  }

  .brand-title {
    font-size: 28px;
  }

  .auth-form .field-row {
    grid-template-columns: 0.72fr 1fr;
  }
}

.settings-list > .section-label {
  padding: 16px 4px 7px;
  color: rgba(233, 241, 243, 0.55);
  font-size: 11px;
}

.settings-item {
  min-height: 62px;
  border: 0;
  border-bottom: 1px solid var(--native-divider);
  border-radius: 0;
  background: transparent;
  padding: 11px 4px;
}

.settings-item h3 {
  font-size: 14px;
  font-weight: 680;
}

.settings-item p {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.35;
}

.settings-status-pill {
  border: 0;
  background: rgba(37, 211, 102, 0.09);
  font-size: 11px;
}

.settings-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.settings-link {
  position: relative;
  min-height: 50px;
  place-items: center start;
  border: 0;
  border-bottom: 1px solid var(--native-divider);
  border-radius: 0;
  background: transparent;
  color: var(--soft);
  font-size: 14px;
  padding: 0 36px 0 4px;
  text-align: left;
}

.settings-link::after {
  position: absolute;
  right: 9px;
  color: rgba(233, 241, 243, 0.35);
  content: "›";
  font-size: 24px;
  font-weight: 300;
}

.settings-list > .settings-link {
  width: 100%;
}

.settings-item.danger-zone {
  margin-top: 8px;
  border: 1px solid rgba(255, 76, 76, 0.18);
  border-radius: 10px;
  background: rgba(255, 48, 72, 0.045);
  padding: 11px;
}

.settings-row-action {
  width: 100%;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.settings-row-action:active {
  background: rgba(40, 220, 255, 0.045);
}

.settings-row-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--copper-strong);
}

.settings-row-icon .icon {
  width: 20px;
  height: 20px;
}

.settings-delete-action h3,
.settings-delete-action .settings-row-icon {
  color: #ff6977;
}

.settings-delete-action:active {
  background: rgba(255, 48, 72, 0.09);
}

.switch {
  width: 46px;
  height: 26px;
}

.switch span::after {
  top: 3px;
  left: 3px;
}

.switch input:checked + span::after {
  transform: translateX(20px);
}

.native-sheet-backdrop {
  place-items: end center;
  padding: 0;
  background: rgba(0, 0, 0, 0.62);
}

.native-bottom-sheet {
  width: min(100%, 560px);
  max-height: min(90dvh, 760px);
  overflow-y: auto;
  border: 1px solid rgba(40, 220, 255, 0.1);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: #071217;
  box-shadow: 0 -18px 56px rgba(0, 0, 0, 0.44);
  padding: 10px 18px calc(18px + env(safe-area-inset-bottom));
  animation: nativeSheetEnter 180ms ease-out both;
}

.native-sheet-handle {
  display: block;
  width: 42px;
  height: 4px;
  margin: 0 auto 15px;
  border-radius: 999px;
  background: rgba(233, 241, 243, 0.24);
}

.native-bottom-sheet .document-head .section-label {
  display: none;
}

.native-bottom-sheet .document-head h2,
.native-bottom-sheet > h2 {
  font-size: 21px;
}

.native-bottom-sheet .modal-actions {
  margin-top: 14px;
}

.photo-source-modal .media-picker-actions,
.location-choice-sheet .app-choice-actions {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--native-divider);
}

.photo-source-modal .media-picker-actions .button,
.location-choice-sheet .app-choice-button {
  min-height: 56px;
  justify-content: flex-start;
  border: 0;
  border-bottom: 1px solid var(--native-divider);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text);
  padding: 0 8px;
}

.photo-source-modal .media-picker-actions .button .icon {
  width: 24px;
  height: 24px;
  color: var(--copper-strong);
}

.native-bottom-sheet .button.ghost {
  border: 0;
  background: transparent;
}

.profile-preview-meta {
  gap: 7px;
}

.identity-card.profile-native-section .profile-preview-meta span + span::before {
  margin-right: 7px;
}

.public-profile {
  background: #010a0d;
  animation: nativeScreenEnter 180ms ease-out both;
}

.public-profile-photo {
  border-bottom: 0;
}

.public-profile-photo::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 18%;
  background: linear-gradient(180deg, transparent, rgba(1, 10, 13, 0.86));
  content: "";
  pointer-events: none;
}

.public-close {
  border: 0;
  background: rgba(0, 10, 14, 0.42);
  backdrop-filter: blur(12px);
}

.public-profile-body {
  gap: 12px;
  background: #010a0d;
}

.public-profile-body .profile-name h2 {
  font-size: 23px;
}

.public-profile .trust-pill,
.public-profile .verified-pill {
  border-color: rgba(40, 220, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
}

.public-actions {
  position: sticky;
  z-index: 5;
  bottom: 0;
  margin: 8px -22px calc(-34px - env(safe-area-inset-bottom));
  padding: 10px clamp(14px, 4vw, 22px) calc(10px + env(safe-area-inset-bottom));
  background: rgba(1, 10, 13, 0.94);
  backdrop-filter: blur(16px);
}

.bottom-nav {
  background: rgba(1, 10, 13, 0.94);
}

.nav-button {
  border-radius: 12px;
  transition: background-color 150ms ease, color 150ms ease, opacity 120ms ease;
}

.nav-button.active {
  background: rgba(0, 188, 218, 0.15);
  box-shadow: none;
}

@keyframes nativeSheetEnter {
  from { opacity: 0.7; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes nativeScreenEnter {
  from { opacity: 0.7; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 430px) {
  .trust-filter-row .chip {
    gap: 5px;
    padding: 0 5px;
  }

  .trust-filter-row .chip .icon {
    width: 16px;
    height: 16px;
  }

  .lounge-card .profile-actions {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.92fr) minmax(0, 0.95fr) 38px;
  }

  .lounge-card .profile-actions .button {
    min-height: 40px;
    font-size: 11px;
  }

  .interests-hero p {
    max-width: 260px;
  }

  .interests-tab {
    gap: 5px;
    font-size: 12px;
  }

  .interests-tab .icon {
    width: 19px;
    height: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-card,
  .interests-view,
  .native-bottom-sheet,
  .public-profile,
  .profile-form-details[open] > .profile-form-content {
    animation: none !important;
  }
}

/* AFTER Admin 3.0 - operational desktop interface */
.admin-app {
  --admin-surface: #071419;
  --admin-surface-raised: #0a1a20;
  --admin-line: rgba(226, 240, 244, 0.08);
  --admin-line-strong: rgba(226, 240, 244, 0.14);
  --admin-muted: #8fa4ac;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  background: #030b0e;
  color: #edf5f7;
}

.admin-sidebar {
  position: sticky;
  z-index: 30;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  padding: 20px 14px 16px;
  border-right: 1px solid var(--admin-line);
  background: #061216;
  box-shadow: none;
}

.admin-brand {
  display: grid;
  gap: 3px;
  padding: 0 10px 8px;
}

.admin-brand strong {
  color: #24d7f5;
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0;
}

.admin-brand span {
  color: var(--admin-muted);
  font-size: 12px;
}

.admin-brand small {
  width: max-content;
  margin-top: 8px;
  padding: 4px 8px;
  border: 1px solid rgba(36, 215, 245, 0.18);
  border-radius: 6px;
  background: rgba(36, 215, 245, 0.06);
  color: #b8eaf2;
  font-size: 10px;
  font-weight: 750;
}

.admin-nav {
  display: grid;
  gap: 17px;
}

.admin-nav-group {
  display: grid;
  gap: 3px;
}

.admin-nav-group-label {
  padding: 0 12px 5px;
  color: #61777f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-nav button {
  position: relative;
  min-height: 40px;
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #9eb0b7;
  font-size: 13px;
  font-weight: 680;
  text-align: left;
  box-shadow: none;
}

.admin-nav button:hover {
  background: rgba(255, 255, 255, 0.035);
  color: #eaf4f6;
}

.admin-nav button.active {
  border: 0;
  background: rgba(36, 215, 245, 0.1);
  color: #eafcff;
  box-shadow: none;
}

.admin-nav button.active::before {
  content: "";
  position: absolute;
  left: 0;
  width: 2px;
  height: 20px;
  border-radius: 0 2px 2px 0;
  background: #24d7f5;
}

.admin-nav-icon,
.admin-nav-icon .icon {
  width: 17px;
  height: 17px;
}

.admin-nav-badge {
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 0;
  border-radius: 999px;
  background: #0d7184;
  color: #eafdff;
  font-size: 10px;
}

.admin-sidebar-version {
  display: grid !important;
  gap: 3px;
  margin: auto 8px 0 !important;
  padding: 13px 4px 0;
  border: 0;
  border-top: 1px solid var(--admin-line);
  border-radius: 0;
  background: transparent;
}

.admin-sidebar-version strong { font-size: 12px; }
.admin-sidebar-version span,
.admin-sidebar-version small { color: #687d85; font-size: 10px; }

.admin-sidebar-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 0 8px;
}

.admin-sidebar-actions .button {
  min-height: 36px;
  padding: 7px 8px;
  border-color: var(--admin-line);
  border-radius: 7px;
  background: transparent;
  font-size: 11px;
  box-shadow: none;
}

.admin-sidebar-backdrop { display: none; }

.admin-workspace {
  width: 100%;
  min-width: 0;
  padding: 0 32px 40px;
  background: #030b0e;
}

.admin-screen {
  display: grid;
  gap: 22px;
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
}

.admin-topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(280px, 540px) minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  margin: 0 -32px;
  padding: 10px 32px;
  border-bottom: 1px solid var(--admin-line);
  background: rgba(3, 11, 14, 0.92);
  backdrop-filter: blur(18px);
}

.admin-global-search {
  min-height: 40px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid var(--admin-line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--admin-muted);
}

.admin-global-search:focus-within {
  border-color: rgba(36, 215, 245, 0.35);
  box-shadow: 0 0 0 3px rgba(36, 215, 245, 0.06);
}

.admin-global-search .icon { width: 17px; height: 17px; }
.admin-global-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #eaf4f6;
  font: inherit;
  font-size: 13px;
}

.admin-global-search kbd {
  padding: 2px 6px;
  border: 1px solid var(--admin-line-strong);
  border-radius: 5px;
  color: #6f848c;
  font: 10px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.admin-topbar-tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 7px;
}

.admin-icon-action {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #91a5ad;
}

.admin-icon-action:hover { background: rgba(255,255,255,.045); color: #f1fbfd; }
.admin-icon-action .icon { width: 18px; height: 18px; }
.admin-icon-action small {
  position: absolute;
  top: 1px;
  right: 1px;
  min-width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  padding: 0 3px;
  border-radius: 999px;
  background: #c7464d;
  color: white;
  font-size: 8px;
}

.admin-account-summary {
  min-width: 150px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: 7px;
  padding-left: 14px;
  border-left: 1px solid var(--admin-line);
}

.admin-account-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0d4350;
  color: #9ceffd;
  font-size: 12px;
  font-weight: 800;
}

.admin-account-summary div { display: grid; gap: 1px; }
.admin-account-summary strong { font-size: 12px; }
.admin-account-summary small { color: var(--admin-muted); font-size: 10px; }

.admin-mobile-menu { display: none; }

.admin-dashboard-head,
.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin: 6px 0 0;
  padding: 0;
}

.admin-dashboard-head h1,
.admin-head h2 {
  margin: 2px 0 5px;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.12;
  letter-spacing: 0;
}

.admin-dashboard-head p,
.admin-head p { margin: 0; color: var(--admin-muted); font-size: 13px; }
.admin-dashboard-head .admin-greeting { color: #80ddeb; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }

.admin-dashboard-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  color: #9fb0b6;
}

.admin-dashboard-status > i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #32d583;
  box-shadow: 0 0 0 4px rgba(50, 213, 131, 0.09);
}

.admin-dashboard-status.warning > i { background: #f0ad4e; box-shadow: 0 0 0 4px rgba(240,173,78,.09); }
.admin-dashboard-status div { display: grid; gap: 2px; }
.admin-dashboard-status strong { color: #dce9ec; font-size: 12px; }
.admin-dashboard-status small { color: #72868e; font-size: 10px; }

.admin-head .section-label { color: #72cddd; font-size: 10px; }
.admin-head-actions .admin-role-pill { display: none; }
.admin-head-actions .button { min-height: 36px; border-radius: 7px; box-shadow: none; }

.admin-kpi-grid.admin-v3-kpis {
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 10px;
}

.admin-v3-kpis .admin-kpi-card {
  min-height: 112px;
  align-content: start;
  gap: 6px;
  padding: 15px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: var(--admin-surface);
  color: #edf5f7;
  box-shadow: none;
  transform: none;
}

.admin-v3-kpis .admin-kpi-card:hover {
  border-color: var(--admin-line-strong);
  background: var(--admin-surface-raised);
  transform: none;
}

.admin-v3-kpis .admin-card-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(36, 215, 245, 0.07);
}

.admin-v3-kpis .admin-card-icon .icon { width: 15px; height: 15px; }
.admin-v3-kpis .admin-card-label { max-width: calc(100% - 32px); color: #8fa4ac; font-size: 11px; }
.admin-v3-kpis .admin-kpi-card strong { margin-top: 5px; font-size: 27px; font-variant-numeric: tabular-nums; }
.admin-v3-kpis .admin-kpi-card small { padding: 0; color: #7e929a; font-size: 10px; font-weight: 650; }
.admin-v3-kpis .admin-kpi-card.warning small { color: #d9a452; }
.admin-v3-kpis .admin-kpi-card.danger small { color: #e27b7f; }
.admin-v3-kpis .admin-kpi-card.success small { color: #64c995; }

.admin-operations-grid {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(460px, 1.2fr);
  gap: 12px;
}

.admin-insights-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.25fr) minmax(300px, .8fr) minmax(300px, .8fr);
  gap: 12px;
  align-items: stretch;
}

.admin-alert-panel,
.admin-feed-panel,
.admin-health-panel,
.admin-analytics-panel,
.admin-panel,
.admin-dashboard-section,
.admin-growth-panel {
  min-height: 0;
  padding: 16px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: var(--admin-surface);
  box-shadow: none;
}

.admin-panel-title,
.admin-section-title {
  min-height: 0;
  align-items: center;
  margin-bottom: 12px;
}

.admin-panel-title h3,
.admin-section-title h3 { font-size: 14px; }
.admin-panel-title p,
.admin-section-title p { margin: 3px 0 0; color: #71858d; font-size: 10px; }
.admin-panel-badge { border: 0; background: rgba(36,215,245,.1); color: #7fe8f8; }

.admin-alert-list,
.admin-feed-list,
.admin-health-list { gap: 0; }

.admin-alert-card,
.admin-feed-item,
.admin-health-list article {
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid var(--admin-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.admin-alert-card:last-child,
.admin-feed-item:last-child,
.admin-health-list article:last-child { border-bottom: 0; }
.admin-alert-card:hover { background: rgba(255,255,255,.025); transform: none; }
.admin-alert-card em { color: #647a82; font-size: 20px; }
.admin-alert-empty,
.admin-feed-empty { min-height: 100px; border: 0; background: transparent; color: #738890; }
.admin-feed-item > span { width: 27px; height: 27px; border-radius: 6px; }
.admin-feed-item strong { font-size: 11px; }
.admin-feed-item small,
.admin-feed-item time { font-size: 9px; }

.admin-health-list article { grid-template-columns: 20px minmax(0,1fr) auto; padding: 7px 4px; }
.admin-health-list article > span .icon { width: 14px; height: 14px; }
.admin-health-list article small { color: #73bd94; }
.admin-health-list article.warning small { color: #d9a452; }
.admin-health-list article.danger small { color: #e27b7f; }
.admin-health-list article.warning small i { background: #f0ad4e; box-shadow: none; }
.admin-health-list article.danger small i { background: #dd5c62; box-shadow: none; }

.admin-text-link {
  margin-top: 10px;
  padding: 0;
  background: transparent;
  color: #6fcddd;
  font-size: 10px;
  font-weight: 700;
}

.admin-analytics-panel { min-height: 280px; }
.admin-brazil-location-layout { grid-template-columns: minmax(230px, .95fr) minmax(210px, 1fr); gap: 16px; }
.admin-brazil-map { min-height: 226px; border-color: var(--admin-line); border-radius: 7px; background: #041014; box-shadow: none; }
.admin-brazil-map img { min-height: 226px; opacity: .8; }
.admin-brazil-map-pin { border: 0; cursor: pointer; }
.admin-brazil-map-pin:hover { transform: translate(-50%, -50%) scale(1.18); }
.admin-location-list { gap: 0; }
.admin-location-row {
  width: 100%;
  min-height: 36px;
  grid-template-columns: minmax(90px, 1fr) minmax(70px, .8fr) 28px 34px;
  padding: 5px 2px;
  border: 0;
  border-bottom: 1px solid var(--admin-line);
  border-radius: 0;
  background: transparent;
  color: #dce8eb;
  cursor: pointer;
  text-align: left;
}
.admin-location-row:hover { background: rgba(255,255,255,.025); }
.admin-location-row:last-child { border-bottom: 0; }
.admin-location-bar { height: 4px; background: rgba(255,255,255,.05); }
.admin-location-bar i { background: #179bb2; box-shadow: none; }
.admin-donut-lite,
.admin-donut-lite.warning {
  width: 118px;
  height: 118px;
  background: radial-gradient(circle at center, #071419 0 54%, transparent 55%), conic-gradient(#24d7f5 0 58%, #32d583 58% 86%, #f0ad4e 86% 100%);
  box-shadow: none;
}
.admin-storage-breakdown span { border: 0; border-bottom: 1px solid var(--admin-line); border-radius: 0; background: transparent; }

.admin-panel {
  overflow: hidden;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(130px, auto)) auto auto;
  gap: 8px;
  margin: -16px -16px 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--admin-line);
  background: rgba(255,255,255,.012);
}

.admin-toolbar .input,
.admin-toolbar .select,
.admin-form-grid .input,
.admin-form-grid .select,
.admin-panel .textarea {
  min-height: 38px;
  border-color: var(--admin-line-strong);
  border-radius: 6px;
  background: #061216;
  box-shadow: none;
}

.admin-toolbar .button { min-height: 38px; padding: 8px 12px; border-radius: 6px; box-shadow: none; }
.admin-filter-summary { margin: 0 0 12px; }
.admin-filter-summary button { padding: 5px 8px; border-color: var(--admin-line); border-radius: 5px; background: transparent; font-size: 10px; }

.admin-table-wrap {
  border: 1px solid var(--admin-line);
  border-radius: 7px;
  background: #051115;
}

.admin-table { min-width: 900px; }
.admin-table th {
  position: sticky;
  z-index: 2;
  top: 0;
  padding: 10px 12px;
  border-bottom-color: var(--admin-line-strong);
  background: #09171c;
  color: #748991;
  font-size: 9px;
  letter-spacing: .06em;
}
.admin-table td { padding: 11px 12px; border-bottom-color: var(--admin-line); font-size: 11px; }
.admin-table tbody tr:hover { background: rgba(255,255,255,.018); }
.admin-table td strong { font-size: 11px; }
.admin-table td small { margin-top: 2px; color: #72868e; font-size: 9px; }
.admin-photo-thumb { width: 64px; height: 64px; border-color: var(--admin-line); border-radius: 6px; }

.admin-row-actions { gap: 5px; }
.admin-row-actions button {
  min-height: 28px;
  padding: 5px 8px;
  border: 1px solid var(--admin-line-strong);
  border-radius: 5px;
  background: transparent;
  color: #aebdc2;
  font-size: 9px;
  font-weight: 700;
}
.admin-row-actions button:hover { border-color: rgba(36,215,245,.35); background: rgba(36,215,245,.06); color: #e9fbfe; }
.admin-row-actions button[data-action="blocked"],
.admin-row-actions button[data-action="suspended"],
.admin-row-actions button[data-admin-delete-user],
.admin-row-actions button[data-status="rejected"],
.admin-row-actions button[data-status="removed"] { border-color: rgba(221,92,98,.25); color: #e98a8e; }
.admin-row-actions button[data-status="approved"],
.admin-row-actions button[data-action="active"] { border-color: rgba(50,213,131,.22); color: #74d9a4; }

.admin-status {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid var(--admin-line);
  border-radius: 999px;
  background: transparent;
  color: #9eb0b7;
  font-size: 9px;
}

.admin-form-grid { gap: 10px; }
.admin-panel-head { margin-bottom: 12px; }
.admin-panel-head h3 { font-size: 14px; }
.admin-panel-head p,
.admin-note { font-size: 11px; }

@media (max-width: 1380px) {
  .admin-kpi-grid.admin-v3-kpis { grid-template-columns: repeat(3, minmax(170px, 1fr)); }
  .admin-insights-grid { grid-template-columns: 1fr 1fr; }
  .admin-insights-grid .admin-analytics-panel:first-child { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
  .admin-app { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: fixed;
    left: 0;
    transform: translateX(-104%);
    width: 252px;
    transition: transform 180ms ease;
  }
  .admin-app.sidebar-open .admin-sidebar { transform: translateX(0); }
  .admin-sidebar-backdrop {
    position: fixed;
    z-index: 25;
    inset: 0;
    border: 0;
    background: rgba(0,0,0,.56);
  }
  .admin-app.sidebar-open .admin-sidebar-backdrop { display: block; }
  .admin-mobile-menu { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 6px; background: rgba(255,255,255,.04); color: #afc0c5; }
  .admin-topbar { grid-template-columns: auto minmax(220px, 1fr) auto; }
  .admin-operations-grid { grid-template-columns: 1fr; }
  .admin-toolbar { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .admin-workspace { padding: 0 14px 28px; }
  .admin-topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 7px;
    margin: 0 -14px;
    padding: 9px 14px;
  }
  .admin-global-search {
    min-width: 0;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 7px;
    padding: 0 9px;
  }
  .admin-topbar-tools { min-width: 0; gap: 1px; }
  .admin-topbar-tools .admin-icon-action:first-child,
  .admin-topbar-tools .admin-icon-action:nth-child(3) { display: none; }
  .admin-global-search kbd,
  .admin-account-summary { display: none; }
  .admin-dashboard-head,
  .admin-head { align-items: flex-start; flex-direction: column; }
  .admin-dashboard-status { padding-left: 0; }
  .admin-kpi-grid.admin-v3-kpis { grid-template-columns: repeat(2, minmax(130px, 1fr)); }
  .admin-insights-grid { grid-template-columns: 1fr; }
  .admin-insights-grid .admin-analytics-panel:first-child { grid-column: auto; }
  .admin-brazil-location-layout { grid-template-columns: 1fr; }
  .admin-toolbar { grid-template-columns: 1fr; }
  .admin-form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
  .admin-kpi-grid.admin-v3-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .admin-v3-kpis .admin-kpi-card { min-height: 104px; padding: 12px; }
  .admin-v3-kpis .admin-kpi-card strong { font-size: 23px; }
  .admin-brazil-map { min-height: 190px; }
  .admin-brazil-map img { min-height: 190px; }
}

.admin-row-menu {
  min-width: 96px;
}

.admin-row-menu > summary {
  width: max-content;
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border: 1px solid var(--admin-line-strong);
  border-radius: 5px;
  color: #aebdc2;
  font-size: 9px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.admin-row-menu > summary::-webkit-details-marker { display: none; }
.admin-row-menu > summary::after { content: "›"; color: #657b83; transform: rotate(90deg); font-size: 14px; }
.admin-row-menu[open] > summary { border-color: rgba(36,215,245,.28); color: #e9fbfe; background: rgba(36,215,245,.05); }
.admin-row-menu[open] > summary::after { transform: rotate(-90deg); }
.admin-row-menu .admin-row-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(92px, 1fr));
  gap: 5px;
  margin-top: 7px;
  padding: 7px;
  border: 1px solid var(--admin-line);
  border-radius: 6px;
  background: #071419;
}

.admin-row-menu .admin-row-actions button { width: 100%; text-align: left; }

/* Admin geographic intelligence - IBGE vector map */
.admin-brazil-panel {
  display: grid;
  align-content: start;
  gap: 14px;
}

.admin-brazil-panel .admin-panel-title { margin-bottom: 0; }

.admin-map-metrics {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--admin-line);
  border-radius: 7px;
  background: #051115;
  overflow-x: auto;
}

.admin-map-metrics button {
  min-height: 30px;
  padding: 5px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #7f949c;
  font: inherit;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.admin-map-metrics button:hover { color: #e6f3f6; background: rgba(255,255,255,.03); }
.admin-map-metrics button.active { color: #e9fbfe; background: rgba(36,215,245,.12); }

.admin-brazil-panel .admin-brazil-location-layout {
  grid-template-columns: minmax(330px, 1.15fr) minmax(280px, .85fr);
  gap: 20px;
  align-items: stretch;
}

.admin-brazil-map-v2 {
  position: relative;
  min-height: 350px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(36,215,245,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36,215,245,.025) 1px, transparent 1px),
    radial-gradient(circle at 50% 42%, rgba(36,215,245,.06), transparent 58%),
    #041014;
  background-size: 36px 36px, 36px 36px, auto, auto;
}

.admin-brazil-svg {
  width: 100%;
  height: 350px;
  display: block;
  padding: 12px;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.24));
}

.admin-brazil-state {
  stroke: rgba(122, 190, 202, .52);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  transition: fill 150ms ease, stroke 150ms ease, filter 150ms ease;
}

.admin-brazil-state.intensity-0 { fill: #0a1b20; }
.admin-brazil-state.intensity-1 { fill: #0a3039; }
.admin-brazil-state.intensity-2 { fill: #0b4854; }
.admin-brazil-state.intensity-3 { fill: #0d6473; }
.admin-brazil-state.intensity-4 { fill: #10849a; }
.admin-brazil-state.intensity-5 { fill: #18b9d3; }

.admin-brazil-panel[data-active-map-metric="online"] .admin-brazil-state.intensity-1 { fill: #0c2e25; }
.admin-brazil-panel[data-active-map-metric="online"] .admin-brazil-state.intensity-2 { fill: #104536; }
.admin-brazil-panel[data-active-map-metric="online"] .admin-brazil-state.intensity-3 { fill: #145f48; }
.admin-brazil-panel[data-active-map-metric="online"] .admin-brazil-state.intensity-4 { fill: #1b805e; }
.admin-brazil-panel[data-active-map-metric="online"] .admin-brazil-state.intensity-5 { fill: #32b77f; }
.admin-brazil-panel[data-active-map-metric="moderation"] .admin-brazil-state.intensity-1 { fill: #302714; }
.admin-brazil-panel[data-active-map-metric="moderation"] .admin-brazil-state.intensity-2 { fill: #4d3a16; }
.admin-brazil-panel[data-active-map-metric="moderation"] .admin-brazil-state.intensity-3 { fill: #6d4d18; }
.admin-brazil-panel[data-active-map-metric="moderation"] .admin-brazil-state.intensity-4 { fill: #93651d; }
.admin-brazil-panel[data-active-map-metric="moderation"] .admin-brazil-state.intensity-5 { fill: #c58a2c; }

.admin-brazil-state:hover,
.admin-brazil-state:focus-visible {
  outline: none;
  stroke: #d9fbff;
  stroke-width: 2;
  filter: brightness(1.16) drop-shadow(0 0 5px rgba(36,215,245,.32));
}

.admin-map-loading {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #72878f;
  font-size: 11px;
}

.admin-map-loading i {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(36,215,245,.18);
  border-top-color: #24d7f5;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.admin-map-tooltip {
  position: absolute;
  z-index: 4;
  width: 178px;
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid rgba(36,215,245,.24);
  border-radius: 7px;
  background: rgba(3, 13, 17, .96);
  color: #dce9ec;
  box-shadow: 0 12px 30px rgba(0,0,0,.32);
  pointer-events: none;
}

.admin-map-tooltip[hidden] { display: none; }
.admin-map-tooltip strong { margin-bottom: 2px; color: #f1fbfd; font-size: 11px; }
.admin-map-tooltip span { display: flex; justify-content: space-between; gap: 8px; color: #80949b; font-size: 9px; }
.admin-map-tooltip span b { color: #c9dce0; font-variant-numeric: tabular-nums; }
.admin-map-tooltip small { margin-top: 4px; color: #64cadd; font-size: 8px; }

.admin-map-legend {
  position: absolute;
  left: 12px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 3px;
  color: #61767e;
  font-size: 8px;
}

.admin-map-legend i { width: 14px; height: 5px; background: #0a3039; }
.admin-map-legend i:nth-of-type(2) { background: #0b4854; }
.admin-map-legend i:nth-of-type(3) { background: #0d6473; }
.admin-map-legend i:nth-of-type(4) { background: #10849a; }
.admin-map-legend i:nth-of-type(5) { background: #18b9d3; }

.admin-map-ranking {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
}

.admin-map-ranking-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--admin-line);
}

.admin-map-ranking-head div { display: grid; gap: 3px; }
.admin-map-ranking-head strong { color: #dce9ec; font-size: 11px; }
.admin-map-ranking-head small,
.admin-map-ranking-head > span { color: #6e838b; font-size: 9px; }

.admin-brazil-panel .admin-location-row {
  grid-template-columns: minmax(120px, 1fr) minmax(74px, .72fr) 34px 36px;
  min-height: 47px;
  gap: 8px;
  padding: 7px 4px;
}

.admin-brazil-panel .admin-location-city { display: grid; gap: 2px; }
.admin-brazil-panel .admin-location-city b { color: #e6f3f6; font-size: 10px; }
.admin-brazil-panel .admin-location-city small { color: #6f848c; font-size: 9px; }
.admin-brazil-panel .admin-location-row > strong { text-align: right; font-variant-numeric: tabular-nums; }
.admin-brazil-panel .admin-location-row > small { text-align: right; color: #71868e; }

.admin-map-ranking-empty {
  min-height: 110px;
  display: grid;
  place-items: center;
  color: #6f848c;
  font-size: 10px;
  text-align: center;
}

.admin-map-unlocated {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  padding: 10px 11px;
  border: 1px dashed var(--admin-line-strong);
  border-radius: 7px;
  background: rgba(255,255,255,.014);
}

.admin-map-unlocated[hidden] { display: none; }
.admin-map-unlocated div { display: grid; gap: 2px; }
.admin-map-unlocated strong { color: #a7b7bc; font-size: 10px; }
.admin-map-unlocated small { color: #647981; font-size: 8px; }
.admin-map-unlocated b { color: #d9a452; font-size: 16px; font-variant-numeric: tabular-nums; }

/* Admin age-review workflow */
.admin-age-summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(240, 173, 78, .16);
  border-radius: 7px;
  background: rgba(240, 173, 78, .035);
}

.admin-age-summary > div { display: flex; align-items: baseline; gap: 8px; }
.admin-age-summary strong { color: #e8b45f; font-size: 20px; font-variant-numeric: tabular-nums; }
.admin-age-summary span { color: #c7d3d7; font-size: 11px; font-weight: 700; }
.admin-age-summary small { color: #71868e; font-size: 9px; }

.admin-status.warning {
  color: #e8b45f;
  border-color: rgba(240, 173, 78, .24);
  background: rgba(240, 173, 78, .06);
}

.admin-status.danger {
  color: #e98a8e;
  border-color: rgba(221, 92, 98, .24);
  background: rgba(221, 92, 98, .06);
}

.admin-age-row-actions {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-age-row-actions > button {
  min-height: 29px;
  padding: 5px 9px;
  border: 1px solid var(--admin-line-strong);
  border-radius: 5px;
  background: transparent;
  color: #aebdc2;
  font: inherit;
  font-size: 9px;
  font-weight: 750;
}

.admin-age-row-actions .admin-age-view:hover { border-color: rgba(36,215,245,.3); color: #dffaff; }
.admin-age-row-actions .admin-age-approve {
  border-color: rgba(50,213,131,.3);
  background: rgba(50,213,131,.08);
  color: #80d8aa;
}
.admin-age-row-actions .admin-age-approve:hover { background: rgba(50,213,131,.14); color: #b2f0ce; }

@media (max-width: 760px) {
  .admin-age-summary { align-items: flex-start; flex-direction: column; gap: 4px; }
}

@media (max-width: 1180px) {
  .admin-brazil-panel .admin-brazil-location-layout { grid-template-columns: 1fr; }
  .admin-brazil-map-v2,
  .admin-brazil-svg { min-height: 320px; height: 320px; }
}

@media (max-width: 620px) {
  .admin-map-metrics { width: 100%; }
  .admin-map-metrics button { flex: 1 0 auto; }
  .admin-brazil-map-v2,
  .admin-brazil-svg { min-height: 285px; height: 285px; }
  .admin-brazil-panel .admin-location-row { grid-template-columns: minmax(105px, 1fr) minmax(54px, .65fr) 30px 32px; }
}
