:root {
  --bg1: #061f1c;
  --bg2: #0b3d35;
  --panel: rgba(255,255,255,.09);
  --panel2: rgba(255,255,255,.13);
  --line: rgba(255,255,255,.18);
  --text: #f7fbf7;
  --muted: rgba(247,251,247,.72);
  --orange: #f5a332;
  --cream: #fff4df;
  --danger: #ff6b6b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(255,122,26,.28), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(0,127,130,.24), transparent 35%),
    linear-gradient(135deg, var(--bg1), var(--bg2));
}

a {
  color: var(--cream);
  font-weight: 800;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-card,
.panel,
.app-header {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,.32);
  backdrop-filter: blur(18px);
}

.auth-card {
  width: min(520px, 100%);
  padding: 30px;
}

.brand-link {
  display: inline-block;
  text-decoration: none;
  font-size: 26px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.05em;
  color: var(--text);
}

.brand-link span {
  color: var(--orange);
}

h1 {
  margin: 22px 0 10px;
  font-size: clamp(34px, 7vw, 54px);
  line-height: .95;
  letter-spacing: -0.06em;
}

h2 {
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.muted,
.app-header p {
  color: var(--muted);
  line-height: 1.5;
}

.form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--cream);
  font-weight: 800;
}

input {
  width: 100%;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  padding: 14px 15px;
  background: rgba(0,0,0,.2);
  color: var(--text);
  font: inherit;
  outline: none;
}

input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,122,26,.18);
}

.check {
  grid-template-columns: 22px 1fr;
  align-items: start;
  font-weight: 700;
  color: var(--muted);
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  background: var(--orange);
  color: #1a1008;
  text-decoration: none;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(255,122,26,.28);
}

.alert {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,107,107,.4);
  background: rgba(255,107,107,.14);
  color: #ffe8e8;
  font-weight: 800;
}

.swap {
  margin: 18px 0 0;
  color: var(--muted);
}

.app-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 24px;
}

.app-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 22px;
  margin-bottom: 20px;
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(0,0,0,.18);
  font-weight: 900;
}

.user-pill a {
  color: var(--orange);
}

.grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 20px;
}

.panel {
  padding: 24px;
}

.hero-panel {
  grid-row: span 2;
}

.eyebrow {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--cream);
  background: rgba(0,0,0,.18);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.status-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.status-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding-bottom: 10px;
}

.status-list dt {
  color: var(--muted);
  font-weight: 800;
}

.status-list dd {
  margin: 0;
  font-weight: 950;
  color: var(--cream);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: var(--cream);
  font-weight: 800;
  font-size: 14px;
}

@media (max-width: 820px) {
  .app-header,
  .user-pill {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .auth-card,
  .panel,
  .app-header {
    border-radius: 22px;
  }
}

.lead {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
  max-width: 680px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn-secondary {
  background: rgba(255,255,255,.11);
  color: var(--cream);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: none;
}

.page-title-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.notice {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(80, 220, 150, .42);
  background: rgba(80, 220, 150, .14);
  color: #eafff3;
  font-weight: 900;
}

.profile-form {
  margin-top: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.wide {
  grid-column: 1 / -1;
}

textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  padding: 14px 15px;
  background: rgba(0,0,0,.2);
  color: var(--text);
  font: inherit;
  outline: none;
  resize: vertical;
  min-height: 150px;
}

textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,122,26,.18);
}

.form-section {
  margin-top: 22px;
}

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

.choice {
  position: relative;
  display: block;
  cursor: pointer;
}

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

.choice span {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-radius: 16px;
  padding: 12px 13px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: var(--cream);
  font-weight: 900;
}

.choice input:checked + span {
  background: rgba(255,122,26,.92);
  border-color: rgba(255,122,26,.95);
  color: #1a1008;
}

.muted-pills {
  opacity: .7;
}

@media (max-width: 900px) {
  .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-title-row {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .action-row .btn {
    width: 100%;
  }
}

.admin-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.review-card {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.16);
  border-radius: 22px;
  padding: 18px;
}

.review-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.review-top h2 {
  margin-bottom: 4px;
}

.status-badge {
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.1);
}

.status-pending {
  background: rgba(255,122,26,.18);
  color: #ffe0c2;
}

.status-approved {
  background: rgba(80,220,150,.18);
  color: #dfffee;
}

.status-rejected {
  background: rgba(255,107,107,.18);
  color: #ffe3e3;
}

.review-body {
  color: var(--muted);
  line-height: 1.55;
}

.review-pills {
  margin-top: 16px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 620px) {
  .review-top {
    flex-direction: column;
  }

  .admin-actions .btn {
    width: 100%;
  }
}

.discover-filter {
  display: grid;
  grid-template-columns: 1.2fr .8fr auto;
  gap: 12px;
  align-items: end;
  margin: 22px 0;
}

select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  padding: 14px 15px;
  background: rgba(0,0,0,.2);
  color: var(--text);
  font: inherit;
  outline: none;
}

select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,122,26,.18);
}

.discover-list {
  display: grid;
  gap: 16px;
}

.empty-state {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.14);
  border-radius: 22px;
  padding: 22px;
}

.profile-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.16);
  border-radius: 24px;
  padding: 18px;
}

.profile-avatar {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,122,26,.95), rgba(0,127,130,.95));
  box-shadow: 0 14px 36px rgba(0,0,0,.24);
  color: white;
  font-size: 38px;
  font-weight: 950;
}

.profile-card-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.profile-card-top h2 {
  margin-bottom: 4px;
}

.compact-list {
  margin-top: 12px;
}

.compact-list div {
  border-bottom: 0;
  padding-bottom: 0;
}

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

  .profile-card {
    grid-template-columns: 1fr;
  }

  .profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    font-size: 32px;
  }

  .profile-card-top {
    flex-direction: column;
  }
}

.photo-manager {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 20px;
  align-items: start;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.14);
  border-radius: 22px;
  padding: 18px;
  margin: 20px 0;
}

.photo-upload-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

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

.photo-tile {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
}

.photo-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.photo-tile figcaption {
  padding: 9px 10px;
  color: var(--cream);
  font-weight: 900;
  font-size: 13px;
  text-transform: capitalize;
}

.empty-photo {
  display: grid;
  place-items: center;
  min-height: 160px;
  border: 1px dashed rgba(255,255,255,.25);
  border-radius: 18px;
  color: var(--muted);
  font-weight: 800;
}

.profile-avatar {
  overflow: hidden;
}

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

.admin-photo-review {
  margin-top: 18px;
}

.admin-photo-review h3 {
  margin: 0 0 12px;
  color: var(--cream);
}

.photo-actions {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.small-btn {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .photo-manager {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 520px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}

.profile-view {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 20px;
  align-items: start;
}

.profile-view-photo-panel {
  padding: 14px;
}

.profile-view-photo,
.profile-view-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255,122,26,.95), rgba(0,127,130,.95));
  color: white;
  font-size: clamp(72px, 18vw, 140px);
  font-weight: 950;
}

.profile-view-main h1 {
  margin-top: 18px;
}

.profile-bio {
  margin-top: 22px;
  color: var(--muted);
  line-height: 1.6;
}

.profile-bio h2 {
  color: var(--text);
}

.inline-form {
  margin: 0;
}

button[disabled] {
  opacity: .65;
  cursor: not-allowed;
}

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

.admin-message-panel {
  margin-top: 20px;
}

.compact-profile-card {
  grid-template-columns: 70px 1fr;
}

.compact-profile-card .profile-avatar {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  font-size: 30px;
}

.message-preview {
  color: var(--cream);
  font-weight: 800;
  line-height: 1.5;
}

.chat-shell {
  max-width: 980px;
}

.chat-panel {
  display: grid;
  gap: 18px;
}

.chat-person {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  align-items: center;
}

.chat-person h1 {
  margin: 12px 0 4px;
}

.message-thread {
  display: grid;
  gap: 12px;
  max-height: 58vh;
  overflow: auto;
  padding: 14px;
  border-radius: 22px;
  background: rgba(0,0,0,.16);
  border: 1px solid rgba(255,255,255,.12);
}

.message-bubble {
  max-width: min(680px, 88%);
  border-radius: 20px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.14);
}

.message-bubble.mine {
  justify-self: end;
  background: rgba(255,122,26,.92);
  color: #1a1008;
}

.message-bubble.theirs {
  justify-self: start;
  background: rgba(255,255,255,.1);
  color: var(--text);
}

.message-meta {
  font-size: 12px;
  font-weight: 900;
  opacity: .78;
  margin-bottom: 6px;
}

.message-body {
  line-height: 1.5;
  font-weight: 700;
}

.message-form {
  display: grid;
  gap: 12px;
}

@media (max-width: 620px) {
  .chat-person {
    grid-template-columns: 1fr;
  }

  .message-bubble {
    max-width: 100%;
  }
}

.status-admin {
  background: rgba(120, 170, 255, .18);
  color: #dbe8ff;
}

.btn-danger {
  background: rgba(255,107,107,.92);
  color: #2b0707;
  box-shadow: 0 14px 36px rgba(255,107,107,.2);
}

.status-open {
  background: rgba(255,122,26,.18);
  color: #ffe0c2;
}

.status-reviewing {
  background: rgba(120,170,255,.18);
  color: #dbe8ff;
}

.status-resolved {
  background: rgba(80,220,150,.18);
  color: #eafff3;
}

.status-dismissed {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.75);
}

.report-admin-form {
  margin-top: 18px;
}

.mmo-app-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: min(1180px, calc(100% - 24px));
  margin: 12px auto 0;
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(4, 24, 21, .76);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(0,0,0,.28);
}

.mmo-app-nav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(255,255,255,.76);
  font-size: 14px;
  font-weight: 950;
  border: 1px solid transparent;
}

.mmo-app-nav a span {
  font-size: 16px;
  line-height: 1;
}

.mmo-app-nav a.active {
  color: #1a1008;
  background: var(--orange);
  border-color: rgba(255,122,26,.95);
  box-shadow: 0 10px 28px rgba(255,122,26,.2);
}

.mmo-app-nav a:not(.active):hover {
  background: rgba(255,255,255,.09);
  color: var(--cream);
}

@media (max-width: 820px) {
  body {
    padding-bottom: 82px;
  }

  .mmo-app-nav {
    position: fixed;
    top: auto;
    bottom: 10px;
    left: 10px;
    right: 10px;
    width: auto;
    margin: 0;
    border-radius: 24px;
    justify-content: flex-start;
    padding: 9px;
  }

  .mmo-app-nav a {
    flex-direction: column;
    gap: 3px;
    min-width: 68px;
    min-height: 54px;
    padding: 7px 9px;
    font-size: 11px;
  }

  .mmo-app-nav a span {
    font-size: 18px;
  }

  .app-shell {
    padding-bottom: 110px;
  }
}

.discover-hero-panel {
  margin-bottom: 20px;
}

.discover-filter-polished {
  grid-template-columns: 1.2fr .8fr auto auto;
}

.discover-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.discover-card {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(0,0,0,.26);
  backdrop-filter: blur(14px);
  min-width: 0;
}

.discover-photo-link {
  position: relative;
  display: block;
  min-height: 360px;
  color: white;
  text-decoration: none;
  overflow: hidden;
  background: rgba(0,0,0,.22);
}

.discover-photo-link img,
.discover-photo-placeholder {
  width: 100%;
  height: 360px;
  display: grid;
  place-items: center;
  object-fit: cover;
  background: linear-gradient(145deg, rgba(255,122,26,.95), rgba(0,127,130,.95));
  color: white;
  font-size: 96px;
  font-weight: 950;
}

.discover-photo-link img {
  transition: transform .28s ease;
}

.discover-card:hover .discover-photo-link img {
  transform: scale(1.035);
}

.discover-photo-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,.78), transparent 48%),
    linear-gradient(to bottom, rgba(0,0,0,.25), transparent 28%);
  pointer-events: none;
}

.discover-photo-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
}

.discover-photo-copy h2 {
  margin: 0 0 4px;
  font-size: 34px;
  line-height: .95;
  letter-spacing: -.05em;
  color: white;
  text-shadow: 0 4px 22px rgba(0,0,0,.45);
}

.discover-photo-copy p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-weight: 900;
}

.discover-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(80,220,150,.92);
  color: #062016;
  font-weight: 950;
  font-size: 13px;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}

.discover-badge.liked {
  background: rgba(255,122,26,.94);
  color: #1a1008;
}

.discover-card-body {
  padding: 18px;
}

.discover-headline {
  margin: 0 0 8px;
  color: var(--cream);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 950;
}

.discover-bio {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 650;
}

.discover-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.discover-meta span {
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.13);
  color: var(--cream);
  font-size: 13px;
  font-weight: 900;
}

.discover-card-pills {
  margin-top: 14px;
}

.discover-card-pills .pill {
  font-size: 12px;
  padding: 8px 10px;
}

.discover-card-actions {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.discover-card-actions .btn,
.discover-card-actions form,
.discover-card-actions button {
  width: 100%;
}

.discover-card-actions form {
  margin: 0;
}

@media (max-width: 1080px) {
  .discover-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .discover-filter-polished {
    grid-template-columns: 1fr 1fr;
  }

  .discover-filter-polished .btn {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .discover-results {
    grid-template-columns: 1fr;
  }

  .discover-filter-polished {
    grid-template-columns: 1fr;
  }

  .discover-photo-link,
  .discover-photo-link img,
  .discover-photo-placeholder {
    min-height: 420px;
    height: 420px;
  }

  .discover-photo-copy h2 {
    font-size: 38px;
  }

  .discover-card {
    border-radius: 24px;
  }
}

@media (max-width: 430px) {
  .discover-photo-link,
  .discover-photo-link img,
  .discover-photo-placeholder {
    min-height: 370px;
    height: 370px;
  }

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

.swipe-card {
  position: relative;
  touch-action: pan-y;
  transition: transform .18s ease, opacity .18s ease;
  will-change: transform;
}

.swipe-card.is-dragging {
  transition: none;
  cursor: grabbing;
}

.swipe-card::before,
.swipe-card::after {
  position: absolute;
  top: 22px;
  z-index: 5;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 950;
  font-size: 15px;
  letter-spacing: .04em;
  opacity: 0;
  transform: scale(.96);
  transition: opacity .12s ease, transform .12s ease;
  pointer-events: none;
}

.swipe-card::before {
  content: "👍 LIKE";
  left: 18px;
  background: rgba(80,220,150,.95);
  color: #062016;
}

.swipe-card::after {
  content: "👎 HIDE";
  right: 18px;
  background: rgba(255,107,107,.95);
  color: #2b0707;
}

.swipe-card.swiping-like::before,
.swipe-card.swiping-hide::after {
  opacity: 1;
  transform: scale(1);
}

.swipe-card.swipe-accepted {
  transform: translateX(120%) rotate(12deg) !important;
  opacity: 0;
}

.swipe-card.swipe-rejected {
  transform: translateX(-120%) rotate(-12deg) !important;
  opacity: 0;
}

.swipe-actions {
  grid-template-columns: 58px 1fr 58px;
  align-items: stretch;
}

.swipe-actions .btn {
  min-height: 52px;
}

.swipe-btn {
  font-size: 22px;
  padding-left: 10px;
  padding-right: 10px;
}

.dislike-btn {
  background: rgba(255,255,255,.11);
}

.like-btn {
  font-size: 22px;
}

.already-liked {
  opacity: .72;
}

.swipe-hint {
  display: none;
  margin-top: 10px;
  text-align: center;
  color: rgba(255,255,255,.55);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 820px) {
  .swipe-hint {
    display: block;
  }

  .swipe-actions {
    grid-template-columns: 60px 1fr 60px;
  }
}

.safety-hidden-panel {
  margin-top: 20px;
}

.discover-status-strip {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.16);
}

.discover-status-strip strong {
  display: block;
  color: var(--cream);
  font-size: 18px;
  letter-spacing: -.02em;
}

.discover-status-strip span {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.discover-status-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.discover-status-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--cream);
  font-weight: 950;
}

@media (max-width: 700px) {
  .discover-status-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .discover-status-stats {
    justify-content: flex-start;
  }
}

.likely-match-card {
  border-color: rgba(80,220,150,.38);
  box-shadow:
    0 20px 70px rgba(0,0,0,.26),
    0 0 0 1px rgba(80,220,150,.12);
}

.discover-badge.likely {
  background: rgba(80,220,150,.95);
  color: #062016;
}

.match-score {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(80,220,150,.28);
  background: rgba(80,220,150,.12);
}

.match-score strong {
  color: #eafff3;
  font-weight: 950;
}

.match-score span {
  color: rgba(234,255,243,.78);
  font-size: 13px;
  font-weight: 900;
}

.matched-interest-pills {
  margin: 0 0 14px;
}

.matched-pill {
  background: rgba(80,220,150,.16);
  border-color: rgba(80,220,150,.32);
  color: #eafff3;
}

@media (max-width: 520px) {
  .match-score {
    align-items: flex-start;
    flex-direction: column;
  }
}

.profile-match-panel {
  margin: 18px 0;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.14);
}

.profile-match-panel.likely {
  border-color: rgba(80,220,150,.34);
  background: rgba(80,220,150,.11);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 20px;
}

.dashboard-hero {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.25fr .55fr;
  gap: 22px;
  align-items: stretch;
}

.dashboard-hero-copy {
  min-width: 0;
}

.dashboard-photo-card {
  position: relative;
  min-height: 280px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
}

.dashboard-photo-card img,
.dashboard-photo-card .profile-view-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 0;
}

.dashboard-photo-card span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(0,0,0,.62);
  color: var(--cream);
  font-size: 13px;
  font-weight: 950;
  text-transform: capitalize;
}

.next-step-card {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,122,26,.34);
  background: rgba(255,122,26,.13);
}

.next-step-card.complete {
  border-color: rgba(80,220,150,.34);
  background: rgba(80,220,150,.12);
}

.next-step-card span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 12px;
  font-weight: 950;
}

.next-step-card strong {
  color: var(--cream);
  font-size: 18px;
}

.next-step-card .btn {
  width: fit-content;
}

.progress-wrap {
  display: grid;
  gap: 10px;
  margin: 14px 0 18px;
}

.progress-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--cream);
  font-weight: 950;
}

.progress-top span {
  color: var(--muted);
}

.progress-bar {
  height: 13px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.12);
}

.progress-bar div {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,122,26,.95), rgba(80,220,150,.95));
}

.checklist {
  display: grid;
  gap: 9px;
}

.checklist-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  padding: 11px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  color: var(--cream);
  font-weight: 850;
}

.checklist-item.done {
  background: rgba(80,220,150,.11);
  border-color: rgba(80,220,150,.26);
}

.check-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: var(--cream);
  font-weight: 950;
}

.checklist-item.done .check-icon {
  background: rgba(80,220,150,.9);
  color: #062016;
}

.dashboard-wide {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .dashboard-grid,
  .dashboard-hero {
    grid-template-columns: 1fr;
  }

  .dashboard-photo-card {
    min-height: 360px;
  }

  .dashboard-photo-card img,
  .dashboard-photo-card .profile-view-placeholder {
    min-height: 360px;
  }
}

.location-discover-panel {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(120,170,255,.22);
  background: rgba(120,170,255,.10);
}

.location-discover-panel strong {
  display: block;
  color: var(--cream);
  font-size: 17px;
  font-weight: 950;
}

.location-discover-panel span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.location-discover-panel button[disabled] {
  opacity: .7;
}

@media (max-width: 700px) {
  .location-discover-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .location-discover-panel .btn {
    width: 100%;
  }
}

.mobile-app-menu {
  display: none;
}

.mobile-menu-backdrop,
.mobile-menu-drawer {
  display: none;
}

@media (max-width: 820px) {
  body {
    padding-bottom: 96px;
  }

  .desktop-app-nav {
    display: none;
  }

  .mobile-app-menu {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 80;
    display: grid;
    grid-template-columns: 1.05fr 1fr 1fr 1fr;
    gap: 8px;
    padding: 9px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 24px;
    background: rgba(4, 24, 21, .84);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 50px rgba(0,0,0,.32);
  }

  .mobile-menu-button,
  .mobile-quick-link {
    min-height: 56px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(255,255,255,.08);
    color: var(--cream);
    text-decoration: none;
    display: grid;
    place-items: center;
    gap: 3px;
    padding: 7px 6px;
    font: inherit;
    font-size: 11px;
    font-weight: 950;
    cursor: pointer;
  }

  .mobile-menu-button span,
  .mobile-quick-link span {
    display: block;
    font-size: 18px;
    line-height: 1;
  }

  .mobile-menu-button {
    background: var(--orange);
    color: #1a1008;
  }

  .mobile-quick-link.active {
    background: rgba(255,122,26,.22);
    border-color: rgba(255,122,26,.4);
    color: var(--cream);
  }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 85;
    background: rgba(0,0,0,.58);
    backdrop-filter: blur(4px);
  }

  .mobile-menu-drawer {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 88px;
    z-index: 90;
    max-height: min(620px, calc(100vh - 120px));
    overflow: auto;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 28px;
    background:
      radial-gradient(circle at 20% 0%, rgba(255,122,26,.18), transparent 34%),
      rgba(6, 31, 28, .96);
    box-shadow: 0 30px 90px rgba(0,0,0,.46);
    padding: 16px;
  }

  .mobile-app-menu.open .mobile-menu-backdrop,
  .mobile-app-menu.open .mobile-menu-drawer {
    display: block;
  }

  .mobile-menu-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    margin-bottom: 14px;
  }

  .mobile-menu-head strong {
    display: block;
    color: var(--text);
    font-size: 22px;
    letter-spacing: -.04em;
  }

  .mobile-menu-head span {
    color: var(--muted);
    font-weight: 800;
  }

  .mobile-menu-head button {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: var(--cream);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-menu-links {
    display: grid;
    gap: 10px;
  }

  .mobile-menu-links a {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    min-height: 58px;
    padding: 10px 12px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.08);
    color: var(--cream);
    text-decoration: none;
  }

  .mobile-menu-links a.active {
    background: rgba(255,122,26,.22);
    border-color: rgba(255,122,26,.42);
  }

  .mobile-menu-links a span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(0,0,0,.2);
    font-size: 21px;
  }

  .mobile-menu-links a strong {
    font-size: 17px;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .app-shell {
    padding-bottom: 122px;
  }
}

/* MMO_SIMPLE_PAGE_TITLE_V1
   Remove the large top header card now that navigation/actions live in the shared menu. */
.app-header {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  border-radius: 0;
  padding: 8px 2px 18px;
  margin-bottom: 8px;
}

.app-header .brand-link {
  font-size: clamp(30px, 6vw, 52px);
  line-height: .95;
}

.app-header p {
  margin: 8px 0 0;
  max-width: 760px;
}

.app-header .user-pill {
  display: none;
}

@media (max-width: 820px) {
  .app-header {
    padding: 4px 2px 14px;
  }

  .app-header .brand-link {
    font-size: clamp(28px, 9vw, 42px);
  }

  .app-header p {
    font-size: 14px;
  }
}

/* MMO_OUTDOOR_THEME_POLISH_V1
   Earth / grass / sun / camping refinement layer.
   Keeps functionality intact while making cards cleaner and buttons/pills clearer.
*/

:root {
  --mmo-forest: #062a22;
  --mmo-forest-2: #0f3b2d;
  --mmo-moss: #2f6b3f;
  --mmo-grass: #5f9f4b;
  --mmo-sun: #f5a332;
  --mmo-sunset: #dd6b32;
  --mmo-earth: #6f4e37;
  --mmo-soil: #2a2018;
  --mmo-cream: #fff4df;
  --mmo-sage: #dce8c8;
  --mmo-card: rgba(255, 244, 223, .085);
  --mmo-card-strong: rgba(255, 244, 223, .13);
  --mmo-card-line: rgba(255, 244, 223, .18);
  --mmo-shadow: 0 22px 70px rgba(0, 0, 0, .28);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(246, 162, 58, .30), transparent 30%),
    radial-gradient(circle at 85% 18%, rgba(95, 159, 75, .22), transparent 34%),
    radial-gradient(circle at 50% 105%, rgba(111, 78, 55, .20), transparent 42%),
    linear-gradient(145deg, #041d18 0%, var(--mmo-forest) 48%, #102e22 100%);
}

/* Simple page title area */
.app-header {
  max-width: 980px;
}

.app-header .brand-link {
  color: var(--mmo-cream);
  text-shadow: 0 12px 38px rgba(0,0,0,.24);
}

.app-header .brand-link span {
  color: var(--mmo-sun);
}

.app-header p {
  color: rgba(255,244,223,.72);
}

/* Panels/cards: warmer, less glassy, more earthy */
.panel,
.auth-card,
.review-card,
.profile-card,
.discover-card,
.empty-state,
.next-step-card,
.photo-manager,
.location-discover-panel,
.discover-status-strip {
  border-color: var(--mmo-card-line);
  background:
    linear-gradient(180deg, rgba(255,244,223,.10), rgba(255,244,223,.055));
  box-shadow: var(--mmo-shadow);
}

.panel {
  border-radius: 26px;
}

.review-card,
.profile-card,
.discover-card {
  border-radius: 24px;
}

/* Buttons: make CTAs clearly button-like */
.btn {
  min-height: 48px;
  border: 1px solid rgba(246,162,58,.34);
  background:
    linear-gradient(180deg, #ffb14e, var(--mmo-sun));
  color: #241307;
  box-shadow:
    0 12px 28px rgba(246,162,58,.25),
    inset 0 1px 0 rgba(255,255,255,.28);
  letter-spacing: -.01em;
}

.btn:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid rgba(255,244,223,.22);
  background:
    linear-gradient(180deg, rgba(255,244,223,.13), rgba(255,244,223,.075));
  color: var(--mmo-cream);
  box-shadow: none;
}

.btn-danger {
  border-color: rgba(221,107,50,.38);
  background: linear-gradient(180deg, #f08a58, var(--mmo-sunset));
  color: #2b0d05;
}

/* Interest pills: make them distinctly NOT buttons */
.pill,
.discover-card-pills .pill,
.review-pills .pill,
.muted-pills .pill {
  min-height: auto;
  border-radius: 999px;
  border: 1px solid rgba(220,232,200,.22);
  background: rgba(220,232,200,.09);
  color: var(--mmo-sage);
  box-shadow: none;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .01em;
  padding: 7px 10px;
}

.matched-pill {
  border-color: rgba(95,159,75,.38);
  background: rgba(95,159,75,.16);
  color: #efffe8;
}

.pills {
  gap: 8px;
}

/* Discovery cards: cleaner, calmer, less cluttered */
.discover-results {
  gap: 20px;
}

.discover-card {
  background:
    linear-gradient(180deg, rgba(255,244,223,.10), rgba(255,244,223,.055));
  overflow: hidden;
}

.discover-card-body {
  padding: 16px;
}

.discover-photo-link {
  min-height: 345px;
  background: rgba(0,0,0,.18);
}

.discover-photo-link img,
.discover-photo-placeholder {
  height: 345px;
}

.discover-photo-gradient {
  background:
    linear-gradient(to top, rgba(4,20,16,.84), transparent 52%),
    linear-gradient(to bottom, rgba(4,20,16,.22), transparent 28%);
}

.discover-photo-copy {
  left: 16px;
  right: 16px;
  bottom: 16px;
}

.discover-photo-copy h2 {
  font-size: 31px;
  letter-spacing: -.055em;
}

.discover-photo-copy p {
  color: rgba(255,244,223,.80);
}

.discover-headline {
  color: var(--mmo-cream);
  font-size: 17px;
  margin-bottom: 8px;
}

.discover-bio {
  color: rgba(255,244,223,.66);
  font-size: 14px;
  line-height: 1.48;
}

.discover-meta {
  margin-top: 12px;
}

.discover-meta span {
  background: rgba(42,32,24,.26);
  color: rgba(255,244,223,.82);
  border-color: rgba(255,244,223,.13);
  font-size: 12px;
  padding: 7px 10px;
}

/* Likely match: visible but not noisy */
.likely-match-card {
  border-color: rgba(95,159,75,.36);
  box-shadow:
    var(--mmo-shadow),
    0 0 0 1px rgba(95,159,75,.10);
}

.discover-badge,
.status-approved {
  background: rgba(95,159,75,.92);
  color: #081d10;
}

.discover-badge.likely {
  background: rgba(95,159,75,.95);
  color: #081d10;
}

.discover-badge.liked {
  background: rgba(246,162,58,.96);
  color: #241307;
}

.match-score {
  border-color: rgba(95,159,75,.28);
  background: rgba(95,159,75,.12);
  padding: 9px 11px;
  margin-bottom: 10px;
}

.match-score strong {
  color: #efffe8;
}

.match-score span {
  color: rgba(239,255,232,.72);
}

/* Swipe buttons: obvious actions without looking like pills */
.swipe-actions {
  gap: 9px;
  margin-top: 16px;
}

.swipe-actions .btn {
  min-height: 50px;
  border-radius: 18px;
}

.dislike-btn {
  background:
    linear-gradient(180deg, rgba(255,244,223,.14), rgba(255,244,223,.08));
  border-color: rgba(255,244,223,.2);
  color: var(--mmo-cream);
}

.like-btn:not(.already-liked) {
  background:
    linear-gradient(180deg, #ffb14e, var(--mmo-sun));
}

/* Profile view: cleaner spacing */
.profile-view {
  gap: 22px;
}

.profile-view-photo-panel {
  background: rgba(255,244,223,.075);
}

.profile-view-photo,
.profile-view-placeholder {
  border-radius: 22px;
}

.profile-view-main .lead {
  color: rgba(255,244,223,.78);
}

.profile-bio {
  color: rgba(255,244,223,.68);
}

.profile-match-panel {
  background: rgba(95,159,75,.10);
  border-color: rgba(95,159,75,.28);
}

/* Forms */
input,
textarea,
select {
  border-color: rgba(255,244,223,.20);
  background: rgba(18, 31, 24, .58);
  color: var(--mmo-cream);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--mmo-sun);
  box-shadow: 0 0 0 4px rgba(246,162,58,.16);
}

/* Nav: earthier and cleaner */
.desktop-app-nav,
.mobile-app-menu {
  border-color: rgba(255,244,223,.18);
  background: rgba(4, 29, 24, .88);
}

.mmo-app-nav a.active,
.mobile-menu-button {
  background: var(--mmo-sun);
  color: #241307;
}

.mobile-menu-drawer {
  background:
    radial-gradient(circle at 20% 0%, rgba(246,162,58,.18), transparent 34%),
    linear-gradient(180deg, rgba(10,48,38,.98), rgba(5,30,24,.98));
}

/* Status strip: softer */
.discover-status-strip,
.location-discover-panel {
  background: rgba(42,32,24,.20);
}

.location-discover-panel {
  border-color: rgba(95,159,75,.25);
}

.location-discover-panel strong,
.discover-status-strip strong {
  color: var(--mmo-cream);
}

/* Dashboard checklist/progress */
.progress-bar div {
  background: linear-gradient(90deg, var(--mmo-sun), var(--mmo-grass));
}

.checklist-item.done .check-icon {
  background: var(--mmo-grass);
  color: #071d0f;
}

.next-step-card {
  border-color: rgba(246,162,58,.30);
  background: rgba(246,162,58,.11);
}

.next-step-card.complete {
  border-color: rgba(95,159,75,.30);
  background: rgba(95,159,75,.11);
}

/* Admin/report statuses */
.status-open {
  background: rgba(246,162,58,.18);
  color: #ffe2b6;
}

.status-reviewing,
.status-admin {
  background: rgba(94,145,125,.20);
  color: #dff5ec;
}

.status-rejected {
  background: rgba(221,107,50,.18);
  color: #ffd8c8;
}

/* Mobile: give cards breathing room */
@media (max-width: 700px) {
  .discover-card-body {
    padding: 15px;
  }

  .discover-photo-link,
  .discover-photo-link img,
  .discover-photo-placeholder {
    min-height: 390px;
    height: 390px;
  }

  .discover-photo-copy h2 {
    font-size: 36px;
  }

  .panel {
    border-radius: 22px;
  }

  .btn {
    min-height: 50px;
  }
}

@media (max-width: 430px) {
  .discover-photo-link,
  .discover-photo-link img,
  .discover-photo-placeholder {
    min-height: 345px;
    height: 345px;
  }

  .discover-meta,
  .discover-card-pills {
    gap: 7px;
  }
}

.profile-inline-check {
  align-self: end;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid rgba(255,244,223,.14);
  border-radius: 16px;
  background: rgba(255,244,223,.06);
}

.location-profile-tool {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(95,159,75,.25);
  background: rgba(95,159,75,.10);
}

.location-profile-tool strong {
  display: block;
  color: var(--mmo-cream, #fff4df);
  font-weight: 950;
}

.location-profile-tool span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
}

.profile-photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.profile-photo-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,244,223,.16);
}

.photo-tile .photo-actions {
  padding: 10px;
}

@media (max-width: 700px) {
  .location-profile-tool {
    align-items: stretch;
    flex-direction: column;
  }

  .location-profile-tool .btn {
    width: 100%;
  }
}

/* MMO_DISCOVER_FILTER_MODAL_V1 */

.discover-filter-launch {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.filter-icon-btn {
  gap: 8px;
  position: relative;
}

.filter-icon-btn span {
  font-size: 18px;
}

.filter-icon-btn em {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #241307;
  color: var(--mmo-sun, #f6a23a);
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
}

.active-filter-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.active-filter-summary span,
.filter-helper {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 10px;
  border: 1px solid rgba(255,244,223,.14);
  background: rgba(255,244,223,.07);
  color: rgba(255,244,223,.78);
  font-size: 13px;
  font-weight: 850;
}

.filter-helper {
  margin: 0;
}

.filter-modal {
  display: none;
}

.filter-modal.open {
  display: block;
}

.filter-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(5px);
}

.filter-modal-panel {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 130;
  width: min(560px, calc(100% - 28px));
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  transform: translate(-50%, -50%);
  border-radius: 30px;
  border: 1px solid rgba(255,244,223,.18);
  background:
    radial-gradient(circle at 18% 0%, rgba(246,162,58,.16), transparent 32%),
    linear-gradient(180deg, rgba(10,48,38,.98), rgba(5,30,24,.98));
  box-shadow: 0 34px 100px rgba(0,0,0,.52);
  padding: 18px;
}

.filter-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,244,223,.12);
}

.filter-modal-head strong {
  display: block;
  color: var(--mmo-cream, #fff4df);
  font-size: 26px;
  line-height: 1;
  letter-spacing: -.05em;
}

.filter-modal-head span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.filter-modal-head button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,244,223,.16);
  border-radius: 999px;
  background: rgba(255,244,223,.08);
  color: var(--mmo-cream, #fff4df);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.discover-filter-modal-form {
  display: grid;
  gap: 14px;
}

.filter-age-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.filter-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

body.filter-modal-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .discover-filter-launch {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-icon-btn,
  .active-filter-summary,
  .filter-helper {
    width: 100%;
  }

  .active-filter-summary span {
    width: fit-content;
  }

  .filter-modal-panel {
    left: 10px;
    right: 10px;
    top: auto;
    bottom: 94px;
    width: auto;
    max-height: calc(100vh - 120px);
    transform: none;
    border-radius: 28px;
  }

  .filter-age-grid {
    grid-template-columns: 1fr;
  }

  .filter-modal-actions .btn {
    width: 100%;
  }
}

/* MMO_DISCOVER_COMPACT_MENU_STRIP_V1
   Removes the large Discover header card and puts controls into a compact menu-style strip.
*/

.discover-menu-strip {
  position: sticky;
  top: 76px;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 14px;
  align-items: center;
  margin: 0 0 18px;
  padding: 12px;
  border: 1px solid rgba(255,244,223,.16);
  border-radius: 24px;
  background: rgba(4, 29, 24, .86);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(0,0,0,.24);
}

.discover-menu-title strong {
  display: block;
  color: var(--mmo-cream, #fff4df);
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.05em;
}

.discover-menu-title span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.discover-menu-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.discover-menu-actions .btn {
  min-height: 42px;
  padding: 10px 14px;
}

.location-menu-btn {
  white-space: nowrap;
}

.discover-menu-filters {
  grid-column: 1 / -1;
}

.discover-menu-notice {
  grid-column: 1 / -1;
  margin-top: 0;
}

.discover-results {
  margin-top: 0;
}

@media (max-width: 820px) {
  .discover-menu-strip {
    position: sticky;
    top: 8px;
    grid-template-columns: 1fr;
    margin-bottom: 14px;
    border-radius: 22px;
    padding: 10px;
  }

  .discover-menu-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .discover-menu-actions .btn {
    width: 100%;
    min-height: 46px;
  }

  .discover-menu-title strong {
    font-size: 20px;
  }
}

@media (max-width: 430px) {
  .discover-menu-actions {
    grid-template-columns: 1fr;
  }
}

/* MMO_DISCOVER_MULTI_INTEREST_FILTERS_V1 */

.filter-interest-section {
  display: grid;
  gap: 8px;
}

.filter-interest-section > strong {
  color: var(--mmo-cream, #fff4df);
  font-size: 15px;
  font-weight: 950;
}

.filter-interest-section > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.filter-interest-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 230px;
  overflow: auto;
  padding: 8px;
  border: 1px solid rgba(255,244,223,.14);
  border-radius: 18px;
  background: rgba(0,0,0,.14);
}

.filter-check-pill {
  cursor: pointer;
}

.filter-check-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.filter-check-pill span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border-radius: 999px;
  padding: 8px 11px;
  border: 1px solid rgba(220,232,200,.22);
  background: rgba(220,232,200,.08);
  color: var(--mmo-sage, #dce8c8);
  font-size: 13px;
  font-weight: 900;
}

.filter-check-pill input:checked + span {
  border-color: rgba(246,162,58,.58);
  background: rgba(246,162,58,.18);
  color: var(--mmo-cream, #fff4df);
  box-shadow: inset 0 0 0 1px rgba(246,162,58,.18);
}

.filter-check-pill input:focus + span {
  box-shadow: 0 0 0 4px rgba(246,162,58,.16);
}

@media (max-width: 700px) {
  .filter-interest-grid {
    max-height: 260px;
  }
}

/* MMO_FILTER_SETTINGS_ICON_V1 */
.filter-icon-btn span {
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
}

/* MMO_GENDER_MULTI_FILTER_AND_MATCHED_INTEREST_HIGHLIGHT_V1 */

.compact-filter-grid {
  max-height: 170px;
}

.discover-card-pills .matched-pill,
.profile-bio .matched-pill,
.matched-pill {
  border-color: rgba(246,162,58,.46);
  background: rgba(246,162,58,.16);
  color: var(--mmo-cream, #fff4df);
}

.discover-card-pills .matched-pill {
  font-weight: 950;
}

/* MMO_CHAT_BACK_BUTTON_V1 */
.chat-back-row {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 2px;
}

.chat-back-row .btn {
  min-height: 42px;
  padding: 9px 14px;
}

/* MMO_PROFILE_PUBLIC_PREVIEW_STRIP_V1 */
.profile-public-preview-strip {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(246,162,58,.28);
  border-radius: 22px;
  background: rgba(246,162,58,.11);
  box-shadow: 0 14px 42px rgba(0,0,0,.18);
}

.profile-public-preview-strip strong {
  display: block;
  color: var(--mmo-cream, #fff4df);
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -.03em;
}

.profile-public-preview-strip span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 700px) {
  .profile-public-preview-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-public-preview-strip .btn {
    width: 100%;
  }
}

/* MMO_PROFILE_CLICKABLE_GALLERY_V1 */
.profile-gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 16px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.profile-gallery-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 13px;
  transition: transform .16s ease, opacity .16s ease;
}

.profile-gallery-thumb:hover img {
  transform: scale(1.035);
}

.profile-gallery-thumb.active {
  border-color: var(--mmo-sun, #f6a23a);
  box-shadow: 0 0 0 3px rgba(246,162,58,.14);
}

.profile-gallery-thumb.active img {
  opacity: .96;
}

/* MMO_SELF_PREVIEW_CLICKABLE_GALLERY_V1 */
.profile-gallery-thumb {
  position: relative;
}

.gallery-status {
  position: absolute;
  left: 6px;
  bottom: 6px;
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(0,0,0,.68);
  color: var(--mmo-cream, #fff4df);
  font-size: 10px;
  font-weight: 950;
  text-transform: capitalize;
}

/* MMO_LIKED_PROFILES_PAGE_V1 */
.liked-profile-card {
  border-color: rgba(246,162,58,.24);
}

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

.liked-waiting-pill {
  min-height: 50px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255,244,223,.14);
  background: rgba(255,244,223,.07);
  color: rgba(255,244,223,.76);
  font-size: 13px;
  font-weight: 950;
  text-align: center;
}

@media (max-width: 430px) {
  .liked-card-actions {
    grid-template-columns: 1fr;
  }
}

/* MMO_DISCOVER_TOOLBAR_ONE_LINE_V1 */

.discover-menu-strip {
  grid-template-columns: auto auto 1fr;
  align-items: center;
}

.discover-menu-title {
  min-width: max-content;
}

.discover-menu-actions {
  justify-content: flex-start;
}

.discover-menu-filters {
  grid-column: auto;
  justify-content: flex-end;
  min-width: 0;
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 2px;
}

.discover-menu-filters span {
  white-space: nowrap;
}

.discover-menu-notice {
  grid-column: 1 / -1;
}

@media (max-width: 980px) {
  .discover-menu-strip {
    grid-template-columns: 1fr auto;
  }

  .discover-menu-filters {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

@media (max-width: 700px) {
  .discover-menu-strip {
    grid-template-columns: 1fr;
  }

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

/* MMO_NAV_COUNT_BADGES_V1 */

.nav-count-badge {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  margin-left: 6px;
  border-radius: 999px;
  padding: 0 7px;
  background: var(--mmo-sun, #f6a23a);
  color: #241307;
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}

.mobile-quick-link {
  position: relative;
}

.mobile-quick-link .nav-count-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  margin: 0;
  min-width: 20px;
  height: 20px;
  font-size: 11px;
}

.mobile-menu-links a {
  grid-template-columns: 42px 1fr auto;
}

.mobile-menu-links .nav-count-badge {
  margin-left: auto;
}

.mobile-combined-count {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(246,162,58,.16);
  border: 1px solid rgba(246,162,58,.28);
  color: var(--mmo-cream, #fff4df);
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
}

/* MMO_NAV_COUNTS_CLEARABLE_AND_SETTINGS_ICON_V1 */

.settings-icon {
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
}

.mobile-menu-button {
  position: relative;
}

.mobile-menu-button .nav-count-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  margin: 0;
  min-width: 24px;
  height: 24px;
  border: 2px solid rgba(4, 29, 24, .95);
}

.mobile-menu-links a[href="/liked.php"] .nav-count-badge {
  display: none;
}

/* MMO_MESSAGES_MOBILE_COMPACT_V1
   Compact message list layout for mobile screens.
*/

@media (max-width: 700px) {
  body:has(.messages-list),
  body:has(.conversation-list) {
    padding-bottom: 88px;
  }

  .messages-list,
  .conversation-list,
  .matches-list {
    gap: 10px;
  }

  .message-card,
  .conversation-card,
  .match-card {
    border-radius: 18px;
    padding: 10px;
  }

  .message-card .profile-avatar,
  .conversation-card .profile-avatar,
  .match-card .profile-avatar,
  .message-card img,
  .conversation-card img,
  .match-card img {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 16px;
    object-fit: cover;
  }

  .message-card h2,
  .conversation-card h2,
  .match-card h2,
  .message-card h3,
  .conversation-card h3,
  .match-card h3 {
    margin: 0 0 3px;
    font-size: 17px;
    line-height: 1.05;
    letter-spacing: -.03em;
  }

  .message-card p,
  .conversation-card p,
  .match-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.25;
  }

  .message-card .muted,
  .conversation-card .muted,
  .match-card .muted {
    font-size: 12px;
    line-height: 1.25;
  }

  .message-card .btn,
  .conversation-card .btn,
  .match-card .btn {
    min-height: 38px;
    padding: 8px 11px;
    border-radius: 14px;
    font-size: 13px;
  }

  .message-card .action-row,
  .conversation-card .action-row,
  .match-card .action-row,
  .message-card .discover-card-actions,
  .conversation-card .discover-card-actions,
  .match-card .discover-card-actions {
    gap: 7px;
    margin-top: 8px;
  }

  .message-card .discover-meta,
  .conversation-card .discover-meta,
  .match-card .discover-meta {
    gap: 5px;
    margin-top: 6px;
  }

  .message-card .discover-meta span,
  .conversation-card .discover-meta span,
  .match-card .discover-meta span {
    padding: 5px 8px;
    font-size: 11px;
  }

  .message-preview,
  .conversation-preview {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

/* Extra compact phone layout */
@media (max-width: 430px) {
  .message-card,
  .conversation-card,
  .match-card {
    padding: 9px;
  }

  .message-card .profile-avatar,
  .conversation-card .profile-avatar,
  .match-card .profile-avatar,
  .message-card img,
  .conversation-card img,
  .match-card img {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }

  .message-card .btn,
  .conversation-card .btn,
  .match-card .btn {
    width: auto;
    min-height: 36px;
    padding: 7px 10px;
  }
}

/* MMO_MESSAGES_MATCHES_COMPACT_ACTIONS_V2 */
.delete-chat-form {
  display: inline-flex;
  margin: 0;
}

.delete-chat-form .btn {
  white-space: nowrap;
}

@media (max-width: 700px) {
  .messages-page .delete-chat-form,
  .messages-page .delete-chat-form .btn {
    width: 100%;
  }

  .messages-page .action-row,
  .messages-page .discover-card-actions {
    grid-template-columns: 1fr 1fr;
  }
}

/* MMO_MESSAGES_DELETE_BUTTON_FORCE_VISIBLE_V1 */
.messages-page .action-row {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.messages-page .delete-chat-form {
  display: inline-flex !important;
  margin: 0 !important;
}

.messages-page .delete-chat-btn {
  display: inline-flex !important;
  min-height: 42px;
  background: linear-gradient(180deg, #f08a58, var(--mmo-sunset, #dd6b32)) !important;
  color: #2b0d05 !important;
  border-color: rgba(221,107,50,.45) !important;
}

@media (max-width: 700px) {
  .messages-page .action-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }

  .messages-page .action-row .btn,
  .messages-page .delete-chat-form,
  .messages-page .delete-chat-form .btn {
    width: 100%;
  }
}

/* MMO_MESSAGES_COMPACT_ACTION_BAR_V1 */

.message-actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  align-items: center;
}

.message-action-form {
  display: inline-flex !important;
  margin: 0 !important;
}

.message-action-btn {
  min-height: 34px !important;
  padding: 7px 10px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  white-space: nowrap;
}

.delete-chat-btn {
  background: linear-gradient(180deg, #f08a58, var(--mmo-sunset, #dd6b32)) !important;
  border-color: rgba(221,107,50,.45) !important;
  color: #2b0d05 !important;
}

@media (max-width: 700px) {
  .messages-page .message-actions {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .messages-page .message-action-form,
  .messages-page .message-action-btn {
    width: 100% !important;
  }
}

@media (max-width: 430px) {
  .messages-page .message-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .message-action-btn {
    min-height: 32px !important;
    padding: 6px 8px !important;
    font-size: 11px !important;
  }
}

/* MMO_MESSAGES_FORCE_FORM_ACTION_BUTTONS_V2 */

.messages-page .message-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-top: 10px !important;
  align-items: center !important;
}

.messages-page .message-action-form,
.messages-page .message-delete-form {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
}

.messages-page .message-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 32px !important;
  padding: 6px 9px !important;
  border-radius: 11px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.messages-page .delete-chat-btn {
  display: inline-flex !important;
  background: linear-gradient(180deg, #f08a58, var(--mmo-sunset, #dd6b32)) !important;
  color: #2b0d05 !important;
  border-color: rgba(221,107,50,.45) !important;
}

@media (max-width: 700px) {
  .messages-page .message-actions {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  .messages-page .message-action-form,
  .messages-page .message-action-btn {
    width: 100% !important;
  }
}

@media (max-width: 430px) {
  .messages-page .message-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .messages-page .message-action-btn {
    min-height: 30px !important;
    padding: 6px 7px !important;
    font-size: 11px !important;
  }
}

/* MMO_MESSAGES_VISIBLE_DELETE_LINK_V1 */
.messages-page .delete-chat-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: linear-gradient(180deg, #f08a58, var(--mmo-sunset, #dd6b32)) !important;
  color: #2b0d05 !important;
  border-color: rgba(221,107,50,.45) !important;
}

.messages-page .message-action-btn {
  min-height: 30px !important;
  padding: 6px 8px !important;
  border-radius: 10px !important;
  font-size: 11px !important;
}

@media (max-width: 700px) {
  .messages-page .message-actions {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .messages-page .message-action-btn {
    width: 100% !important;
  }
}

@media (max-width: 430px) {
  .messages-page .message-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* MMO_MESSAGES_FIXED_VISIBLE_ACTION_GRID_V1 */

.messages-page .profile-card,
.messages-page .profile-main {
  overflow: visible !important;
  max-height: none !important;
}

.messages-page .mmo-message-actions-fixed {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, auto)) !important;
  gap: 6px !important;
  align-items: center !important;
  justify-content: start !important;
  width: 100% !important;
  max-height: none !important;
  overflow: visible !important;
  margin-top: 9px !important;
  padding-top: 2px !important;
}

.messages-page .mmo-message-actions-fixed > * {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-width: 0 !important;
}

.messages-page .mmo-message-actions-fixed .message-action-form {
  margin: 0 !important;
  padding: 0 !important;
}

.messages-page .mmo-message-actions-fixed .message-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 30px !important;
  padding: 6px 8px !important;
  border-radius: 10px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.messages-page .mmo-message-actions-fixed .delete-chat-link {
  background: #ff3b30 !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.35) !important;
  font-weight: 950 !important;
}

@media (max-width: 700px) {
  .messages-page .mmo-message-actions-fixed {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .messages-page .mmo-message-actions-fixed .message-action-btn,
  .messages-page .mmo-message-actions-fixed .message-action-form {
    width: 100% !important;
  }
}

@media (max-width: 430px) {
  .messages-page .mmo-message-actions-fixed {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* MMO_MESSAGES_INLINE_ACTIONS_V3 */
.message-inline-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  overflow: visible !important;
  max-height: none !important;
}

.message-inline-actions a {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@media (max-width: 430px) {
  .message-inline-actions {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .message-inline-actions a {
    width: 100% !important;
  }
}

/* MMO_MESSAGES_ACTIONS_MENU_FINAL_V1 */
.messages-page .message-actions-menu {
  position: relative;
  display: inline-block;
  margin-top: 8px;
  width: fit-content;
  overflow: visible !important;
}

.messages-page .message-actions-menu summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(246,162,58,.36);
  background: var(--mmo-sun, #f6a23a);
  color: #241307;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
}

.messages-page .message-actions-menu summary::-webkit-details-marker {
  display: none;
}

.messages-page .message-actions-menu summary::after {
  content: " ⋯";
  font-weight: 950;
}

.messages-page .message-actions-menu[open] .message-actions-menu-list {
  display: grid;
}

.messages-page .message-actions-menu-list {
  display: none;
  position: absolute;
  z-index: 9999;
  left: 0;
  top: calc(100% + 6px);
  min-width: 190px;
  gap: 6px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255,244,223,.18);
  background: rgba(6,31,28,.98);
  box-shadow: 0 20px 60px rgba(0,0,0,.42);
}

.messages-page .message-actions-menu-list a,
.messages-page .message-actions-menu-list button {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border: 0;
  border-radius: 12px;
  padding: 8px 10px;
  background: rgba(255,244,223,.09);
  color: var(--mmo-cream, #fff4df);
  text-decoration: none;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: none;
}

.messages-page .message-actions-menu-list form {
  margin: 0;
}

.messages-page .message-actions-menu-list .danger-link {
  background: rgba(255,59,48,.92);
  color: #fff;
}

.messages-page .profile-card,
.messages-page .profile-main,
.messages-page .discover-list,
.messages-page .panel {
  overflow: visible !important;
}

@media (max-width: 700px) {
  .messages-page .message-actions-menu {
    width: 100%;
  }

  .messages-page .message-actions-menu summary {
    width: 100%;
  }

  .messages-page .message-actions-menu-list {
    position: static;
    margin-top: 8px;
    width: 100%;
  }
}

/* MMO_MESSAGES_VISIBLE_ACTION_PANEL_FINAL_V1 */
.messages-page .message-action-panel {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, auto)) !important;
  gap: 6px !important;
  align-items: center !important;
  justify-content: start !important;
  margin-top: 10px !important;
  overflow: visible !important;
  max-height: none !important;
  height: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.messages-page .message-action-panel form {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.messages-page .message-action-chip {
  width: 100% !important;
  min-height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(255,244,223,.18) !important;
  border-radius: 10px !important;
  padding: 6px 8px !important;
  background: rgba(255,244,223,.09) !important;
  color: var(--mmo-cream, #fff4df) !important;
  text-decoration: none !important;
  font: inherit !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  cursor: pointer !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.messages-page .message-action-chip.primary {
  background: var(--mmo-sun, #f6a23a) !important;
  color: #241307 !important;
  border-color: rgba(246,162,58,.38) !important;
}

.messages-page .message-action-chip.danger {
  background: #ff3b30 !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.36) !important;
}

.messages-page .profile-card,
.messages-page .profile-main,
.messages-page .discover-list,
.messages-page .panel {
  overflow: visible !important;
  max-height: none !important;
}

@media (max-width: 700px) {
  .messages-page .message-action-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 430px) {
  .messages-page .message-action-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* MMO_MESSAGES_CARD_ACTIONS_V2_FINAL
   Full-width card action buttons, isolated from old message button CSS.
*/
.messages-page .mmo-card-actions-v2 {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 7px !important;
  width: 100% !important;
  margin-top: 2px !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(255,244,223,.10) !important;
  overflow: visible !important;
  max-height: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.messages-page .mmo-card-actions-v2 form {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.messages-page .mmo-card-action-v2 {
  width: 100% !important;
  min-height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(255,244,223,.18) !important;
  border-radius: 10px !important;
  padding: 6px 7px !important;
  background: rgba(255,244,223,.09) !important;
  color: var(--mmo-cream, #fff4df) !important;
  text-decoration: none !important;
  font: inherit !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  cursor: pointer !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.messages-page .mmo-card-action-v2.primary {
  background: var(--mmo-sun, #f6a23a) !important;
  color: #241307 !important;
  border-color: rgba(246,162,58,.38) !important;
}

.messages-page .mmo-card-action-v2.danger {
  background: #ff3b30 !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.36) !important;
}

.messages-page .profile-card {
  overflow: visible !important;
  max-height: none !important;
}

@media (max-width: 700px) {
  .messages-page .mmo-card-actions-v2 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 430px) {
  .messages-page .mmo-card-actions-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* MMO_MESSAGES_CLEAN_REBUILD_V1 */
.messages-page .mmo-message-list-clean {
  display: grid !important;
  gap: 12px !important;
}

.messages-page .mmo-message-card-clean {
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) auto !important;
  gap: 12px !important;
  align-items: center !important;
  padding: 12px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255,244,223,.16) !important;
  background: rgba(0,0,0,.16) !important;
  overflow: visible !important;
  max-height: none !important;
}

.messages-page .mmo-message-avatar-clean {
  width: 64px !important;
  height: 64px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  background: linear-gradient(145deg, rgba(246,162,58,.95), rgba(95,159,75,.9)) !important;
  color: #fff !important;
  font-size: 28px !important;
  font-weight: 950 !important;
}

.messages-page .mmo-message-avatar-clean img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.messages-page .mmo-message-main-clean {
  min-width: 0 !important;
}

.messages-page .mmo-message-main-clean h2 {
  margin: 0 0 3px !important;
  font-size: 18px !important;
  line-height: 1.05 !important;
}

.messages-page .mmo-message-main-clean p {
  margin: 0 !important;
}

.messages-page .mmo-message-preview-clean {
  margin-top: 6px !important;
  color: var(--mmo-cream, #fff4df) !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
}

.messages-page .mmo-message-buttons-clean {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(58px, 1fr)) !important;
  gap: 6px !important;
  align-items: center !important;
  min-width: 330px !important;
  overflow: visible !important;
}

.messages-page .mmo-message-buttons-clean form {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.messages-page .mmo-msg-btn {
  width: 100% !important;
  min-height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(255,244,223,.18) !important;
  border-radius: 10px !important;
  padding: 6px 8px !important;
  background: rgba(255,244,223,.09) !important;
  color: var(--mmo-cream, #fff4df) !important;
  text-decoration: none !important;
  font: inherit !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.messages-page .mmo-msg-primary {
  background: var(--mmo-sun, #f6a23a) !important;
  color: #241307 !important;
}

.messages-page .mmo-msg-danger {
  background: #ff3b30 !important;
  color: #fff !important;
}

.messages-page .mmo-admin-message-panel-clean {
  margin-top: 18px !important;
}

.messages-page .admin-overview-card {
  grid-template-columns: minmax(0, 1fr) auto !important;
}

.messages-page .admin-buttons {
  grid-template-columns: repeat(3, minmax(58px, 1fr)) !important;
  min-width: 210px !important;
}

@media (max-width: 920px) {
  .messages-page .mmo-message-card-clean {
    grid-template-columns: 56px minmax(0, 1fr) !important;
  }

  .messages-page .mmo-message-buttons-clean {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  .messages-page .mmo-message-avatar-clean {
    width: 56px !important;
    height: 56px !important;
    border-radius: 16px !important;
    font-size: 24px !important;
  }
}

@media (max-width: 520px) {
  .messages-page .mmo-message-buttons-clean {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .messages-page .mmo-msg-btn {
    min-height: 28px !important;
    padding: 6px 7px !important;
    font-size: 10.5px !important;
  }
}

/* MMO_ADMIN_USER_MESSAGE_DIRECTORY_V1 */
.messages-page .mmo-admin-user-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: end;
  margin: 14px 0 12px;
}

.messages-page .mmo-admin-user-search label {
  margin: 0;
}

.messages-page .mmo-admin-user-search .btn {
  min-height: 46px;
}

.messages-page .mmo-admin-user-count {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 850;
}

.messages-page .admin-user-buttons {
  grid-template-columns: repeat(3, minmax(58px, 1fr)) !important;
  min-width: 220px !important;
}

.messages-page .mmo-admin-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
}

.messages-page .mmo-admin-pagination span {
  color: var(--mmo-cream, #fff4df);
  font-weight: 950;
}

.messages-page .mmo-admin-pagination .btn {
  min-height: 38px;
  padding: 9px 14px;
}

@media (max-width: 760px) {
  .messages-page .mmo-admin-user-search {
    grid-template-columns: 1fr;
  }

  .messages-page .admin-user-buttons {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
  }
}

/* MMO_ADMIN_TABS_POLISH_V1 */
.mmo-admin-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 20px;
  padding: 10px;
  border: 1px solid rgba(255,244,223,.16);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,244,223,.08), rgba(255,244,223,.04)),
    rgba(0,0,0,.14);
  box-shadow: 0 16px 44px rgba(0,0,0,.22);
}

.mmo-admin-tabs a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 18px;
  padding: 10px 12px;
  text-decoration: none;
  border: 1px solid rgba(255,244,223,.14);
  background: rgba(255,244,223,.075);
  color: var(--mmo-cream, #fff4df);
  font-size: 14px;
  font-weight: 950;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.mmo-admin-tabs a span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(0,0,0,.20);
  line-height: 1;
}

.mmo-admin-tabs a strong {
  line-height: 1;
}

.mmo-admin-tabs a.active {
  background: linear-gradient(180deg, #ffb14e, var(--mmo-sun, #f6a23a));
  color: #241307;
  border-color: rgba(246,162,58,.52);
  box-shadow:
    0 12px 28px rgba(246,162,58,.22),
    inset 0 1px 0 rgba(255,255,255,.25);
}

.mmo-admin-tabs a.active span {
  background: rgba(36,19,7,.14);
}

.mmo-admin-tabs a.back-tab {
  background: rgba(95,159,75,.13);
  border-color: rgba(95,159,75,.28);
}

.mmo-admin-tabs a:not(.active):hover {
  transform: translateY(-1px);
  background: rgba(255,244,223,.12);
  border-color: rgba(255,244,223,.24);
}

@media (max-width: 760px) {
  .mmo-admin-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border-radius: 22px;
  }

  .mmo-admin-tabs a {
    min-height: 48px;
    border-radius: 16px;
    font-size: 13px;
  }

  .mmo-admin-tabs a span {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 390px) {
  .mmo-admin-tabs a {
    gap: 6px;
    padding: 8px;
    font-size: 12px;
  }
}

/* MMO_ADMIN_VISUALS_ACTIVITY_MAINTENANCE_V1 */
.admin-self-pill,
.admin-role-pill,
.admin-action-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: 6px;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 950;
  vertical-align: middle;
}

.admin-self-pill {
  background: linear-gradient(180deg, #ffb14e, var(--mmo-sun, #f6a23a));
  color: #241307;
  box-shadow: 0 8px 22px rgba(246,162,58,.22);
}

.admin-role-pill {
  background: rgba(120,170,255,.18);
  border: 1px solid rgba(120,170,255,.35);
  color: #dbe8ff;
}

.admin-user-is-admin {
  border-color: rgba(120,170,255,.34) !important;
  box-shadow:
    0 22px 70px rgba(0,0,0,.28),
    0 0 0 1px rgba(120,170,255,.12) !important;
}

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

.admin-activity-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid rgba(255,244,223,.14);
  border-radius: 18px;
  padding: 12px;
  background: rgba(0,0,0,.14);
}

.admin-activity-card strong {
  color: var(--mmo-cream, #fff4df);
}

.admin-action-pill {
  margin-left: 0;
  background: rgba(255,244,223,.09);
  border: 1px solid rgba(255,244,223,.16);
  color: var(--mmo-cream, #fff4df);
  white-space: nowrap;
}

.maintenance-output {
  white-space: pre-wrap;
  overflow: auto;
  max-height: 420px;
  border-radius: 18px;
  padding: 14px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,244,223,.14);
  color: var(--mmo-cream, #fff4df);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .mmo-admin-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-activity-card {
    flex-direction: column;
  }
}

/* MMO_ADMIN_TABS_SINGLE_LINE_V1 */
.mmo-admin-tabs {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.mmo-admin-tabs a {
  flex: 0 0 auto !important;
  min-width: 132px !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .mmo-admin-tabs {
    display: flex !important;
    grid-template-columns: none !important;
  }

  .mmo-admin-tabs a {
    min-width: 120px !important;
  }
}

@media (max-width: 390px) {
  .mmo-admin-tabs a {
    min-width: 112px !important;
  }
}

/* MMO_ADMIN_USERS_QUICK_FILTERS_V1 */
.mmo-admin-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 14px;
}

.mmo-admin-quick-filters a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 12px;
  border: 1px solid rgba(255,244,223,.16);
  background: rgba(255,244,223,.08);
  color: var(--mmo-cream, #fff4df);
  text-decoration: none;
  font-size: 12px;
  font-weight: 950;
}

.mmo-admin-quick-filters a.active {
  background: var(--mmo-sun, #f6a23a);
  color: #241307;
  border-color: rgba(246,162,58,.38);
}

@media (max-width: 520px) {
  .mmo-admin-quick-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mmo-admin-quick-filters a {
    width: 100%;
  }
}

/* MMO_USER_DELETE_PROFILE_PANEL_V1 */
.danger-zone-panel {
  margin-top: 18px;
  border-color: rgba(255,59,48,.28) !important;
  background:
    linear-gradient(180deg, rgba(255,59,48,.10), rgba(255,244,223,.045)) !important;
}

.danger-zone-panel .eyebrow {
  border-color: rgba(255,59,48,.3);
  background: rgba(255,59,48,.12);
}

.danger-zone-panel h1 {
  color: #ffe4df;
}

/* MMO_DISCREET_PROFILE_DELETE_AND_ADMIN_NAME_V1 */

.profile-delete-discreet {
  margin-top: 18px;
  padding: 0 2px;
}

.profile-delete-discreet details {
  border-top: 1px solid rgba(255,244,223,.12);
  padding-top: 12px;
}

.profile-delete-discreet summary {
  width: fit-content;
  cursor: pointer;
  color: rgba(255,244,223,.58);
  font-size: 13px;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.profile-delete-discreet summary:hover {
  color: #ffe4df;
}

.profile-delete-discreet-body {
  margin-top: 12px;
  max-width: 520px;
  border: 1px solid rgba(255,59,48,.20);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,59,48,.07);
}

.profile-delete-discreet-body .form {
  margin-top: 12px;
}

.profile-delete-discreet-body .btn-danger {
  min-height: 40px;
  padding: 10px 14px;
}

.admin-users-page .admin-user-name-red {
  color: #ff6b6b;
  text-shadow: 0 0 18px rgba(255,107,107,.14);
}

/* MMO_PROFILE_PUBLIC_CHECKLIST_V1 */
.profile-public-checklist {
  border-color: rgba(246,162,58,.22) !important;
  background:
    linear-gradient(180deg, rgba(246,162,58,.08), rgba(255,244,223,.035)),
    rgba(0,0,0,.12) !important;
}

.checklist-grid {
  display: grid;
  gap: 10px;
}

.checklist-item {
  display: grid;
  gap: 4px;
  border-radius: 16px;
  padding: 12px;
  border: 1px solid rgba(255,244,223,.14);
  background: rgba(255,244,223,.06);
}

.checklist-item strong {
  color: var(--mmo-cream, #fff4df);
  font-size: 14px;
}

.checklist-item span {
  color: rgba(255,244,223,.72);
  font-size: 13px;
  line-height: 1.35;
}

.checklist-item.complete {
  border-color: rgba(95,159,75,.35);
  background: rgba(95,159,75,.11);
}

.checklist-item.attention {
  border-color: rgba(246,162,58,.35);
  background: rgba(246,162,58,.10);
}

/* MMO_TAKE_A_BREAK_PROFILE_VISIBILITY_V1 */
.profile-break-panel {
  border-color: rgba(120,170,255,.22) !important;
  background:
    linear-gradient(180deg, rgba(120,170,255,.08), rgba(255,244,223,.035)),
    rgba(0,0,0,.12) !important;
}

.profile-break-panel .eyebrow {
  border-color: rgba(120,170,255,.28);
  background: rgba(120,170,255,.10);
}

/* MMO_PROFILE_PAGE_POLISH_REORG_V1 */
.profile-form {
  margin-top: 18px;
}

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

.photo-manager {
  margin-bottom: 18px;
  border: 1px solid rgba(255,244,223,.14);
  border-radius: 24px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255,244,223,.06), rgba(255,244,223,.025)),
    rgba(0,0,0,.10);
}

.photo-manager h2 {
  margin-top: 0;
}

.photo-upload-form {
  margin-top: 12px;
}

.profile-builder-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 14px;
  margin-top: 18px;
}

.profile-builder-dashboard .panel {
  margin: 0;
}

.profile-setup-card {
  border-color: rgba(246,162,58,.24) !important;
  background:
    linear-gradient(180deg, rgba(246,162,58,.08), rgba(255,244,223,.035)),
    rgba(0,0,0,.12) !important;
}

.profile-completion-pill {
  min-width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffb14e, var(--mmo-sun, #f6a23a));
  color: #241307;
  font-size: 18px;
  font-weight: 950;
  box-shadow: 0 18px 40px rgba(246,162,58,.20);
}

.profile-checklist-compact {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.profile-check-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border-radius: 14px;
  padding: 10px;
  border: 1px solid rgba(255,244,223,.12);
  background: rgba(255,244,223,.055);
}

.profile-check-row span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 950;
  background: rgba(255,244,223,.10);
}

.profile-check-row strong {
  color: var(--mmo-cream, #fff4df);
  font-size: 13px;
}

.profile-check-row.done {
  border-color: rgba(95,159,75,.32);
  background: rgba(95,159,75,.10);
}

.profile-check-row.done span {
  background: rgba(95,159,75,.24);
}

.profile-check-row.todo {
  border-color: rgba(246,162,58,.24);
  background: rgba(246,162,58,.08);
}

.profile-stats-card,
.profile-interests-card {
  border-color: rgba(255,244,223,.14) !important;
}

.profile-status-list {
  margin-top: 8px;
}

.profile-interest-pills {
  margin-top: 8px;
}

.profile-interests-card {
  grid-column: 1 / -1;
}

.profile-break-panel {
  margin-top: 18px;
}

.profile-delete-discreet {
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .profile-builder-dashboard {
    grid-template-columns: 1fr;
  }

  .profile-completion-pill {
    width: 54px;
    height: 54px;
    min-width: 54px;
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .photo-manager {
    padding: 12px;
    border-radius: 20px;
  }

  .profile-builder-dashboard {
    gap: 12px;
  }

  .profile-check-row {
    grid-template-columns: 26px minmax(0, 1fr);
  }

  .profile-check-row span {
    width: 26px;
    height: 26px;
  }
}

/* MMO_DISCOVER_MOBILE_FILTER_SLIMLINE_FINAL_V1 */

/* Keep the discover notification compact everywhere */
.discover-menu-notice {
  width: fit-content;
  max-width: 100%;
  margin: 6px 0 8px !important;
  padding: 7px 11px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
}

/* Mobile: hide selected/applied filter summary and keep top bar compact */
@media (max-width: 700px) {
  .active-filter-summary.discover-menu-filters,
  .discover-menu-filters {
    display: none !important;
  }

  .discover-menu-strip {
    padding: 8px 9px !important;
    gap: 7px !important;
    border-radius: 18px !important;
  }

  .discover-menu-title strong {
    font-size: 14px !important;
    line-height: 1.05 !important;
  }

  .discover-menu-title span {
    font-size: 11px !important;
    line-height: 1.1 !important;
  }

  .discover-menu-actions {
    gap: 6px !important;
  }

  .discover-menu-actions .btn,
  .filter-icon-btn {
    min-height: 32px !important;
    padding: 6px 9px !important;
    border-radius: 12px !important;
    font-size: 11px !important;
  }

  .discover-menu-notice {
    margin: 4px 0 6px !important;
    padding: 5px 9px !important;
    font-size: 10.5px !important;
    opacity: .92;
  }
}

/* MMO_PROFILE_PUBLIC_STATUS_AND_ADMIN_UNPUBLISHED_V1 */
.profile-public-status-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,244,223,.14);
  background: rgba(0,0,0,.14);
}

.profile-public-status-strip div {
  display: grid;
  gap: 3px;
}

.profile-public-status-strip strong {
  color: var(--mmo-cream, #fff4df);
  font-size: 15px;
  font-weight: 950;
}

.profile-public-status-strip span {
  color: rgba(255,244,223,.72);
  font-size: 12px;
  font-weight: 850;
}

.profile-public-status-strip.is-public {
  border-color: rgba(95,159,75,.36);
  background:
    linear-gradient(180deg, rgba(95,159,75,.16), rgba(255,244,223,.035)),
    rgba(0,0,0,.12);
}

.profile-public-status-strip.is-private {
  border-color: rgba(246,162,58,.32);
  background:
    linear-gradient(180deg, rgba(246,162,58,.12), rgba(255,244,223,.035)),
    rgba(0,0,0,.12);
}

.profile-public-status-pill {
  flex: 0 0 auto;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12px !important;
  font-weight: 950 !important;
}

.is-public .profile-public-status-pill {
  background: rgba(95,159,75,.24);
  border: 1px solid rgba(95,159,75,.42);
  color: #dff7d5;
}

.is-private .profile-public-status-pill {
  background: rgba(246,162,58,.18);
  border: 1px solid rgba(246,162,58,.42);
  color: var(--mmo-cream, #fff4df);
}

.admin-unpublished-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: 6px;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(246,162,58,.16);
  border: 1px solid rgba(246,162,58,.36);
  color: var(--mmo-cream, #fff4df);
  font-size: 11px;
  font-weight: 950;
  vertical-align: middle;
}

@media (max-width: 560px) {
  .profile-public-status-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 11px 12px;
  }
}

/* MMO_PROFILE_PUBLIC_STATUS_VISIBLE_FIX_V1 */
.profile-public-status-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,244,223,.14);
  background: rgba(0,0,0,.14);
}

.profile-public-status-strip div {
  display: grid;
  gap: 3px;
}

.profile-public-status-strip strong {
  color: var(--mmo-cream, #fff4df);
  font-size: 15px;
  font-weight: 950;
}

.profile-public-status-strip span {
  color: rgba(255,244,223,.72);
  font-size: 12px;
  font-weight: 850;
}

.profile-public-status-strip.is-public {
  border-color: rgba(95,159,75,.36);
  background:
    linear-gradient(180deg, rgba(95,159,75,.16), rgba(255,244,223,.035)),
    rgba(0,0,0,.12);
}

.profile-public-status-strip.is-private {
  border-color: rgba(246,162,58,.32);
  background:
    linear-gradient(180deg, rgba(246,162,58,.12), rgba(255,244,223,.035)),
    rgba(0,0,0,.12);
}

.profile-public-status-pill {
  flex: 0 0 auto;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12px !important;
  font-weight: 950 !important;
}

.is-public .profile-public-status-pill {
  background: rgba(95,159,75,.24);
  border: 1px solid rgba(95,159,75,.42);
  color: #dff7d5;
}

.is-private .profile-public-status-pill {
  background: rgba(246,162,58,.18);
  border: 1px solid rgba(246,162,58,.42);
  color: var(--mmo-cream, #fff4df);
}

@media (max-width: 560px) {
  .profile-public-status-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 11px 12px;
  }
}

/* MMO_PROFILE_PHOTO_GALLERY_POLISH_V1 */
.photo-manager {
  display: grid;
  gap: 16px;
  margin: 18px 0;
  border: 1px solid rgba(255,244,223,.14);
  border-radius: 26px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255,244,223,.075), rgba(255,244,223,.028)),
    rgba(0,0,0,.12);
  box-shadow: 0 18px 48px rgba(0,0,0,.20);
}

.photo-manager > div:first-child {
  display: grid;
  gap: 8px;
}

.photo-manager h2 {
  margin: 0;
  color: var(--mmo-cream, #fff4df);
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: -0.02em;
}

.photo-upload-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.photo-upload-form input[type="file"] {
  flex: 1 1 260px;
  min-height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255,244,223,.14);
  background: rgba(0,0,0,.18);
  color: var(--mmo-cream, #fff4df);
  padding: 9px;
}

.photo-upload-form .btn {
  min-height: 44px;
  border-radius: 16px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 12px;
}

.empty-photo {
  grid-column: 1 / -1;
  border: 1px dashed rgba(255,244,223,.22);
  border-radius: 20px;
  padding: 18px;
  text-align: center;
  color: rgba(255,244,223,.72);
  background: rgba(255,244,223,.045);
}

.photo-tile {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 22px;
  border: 1px solid rgba(255,244,223,.14);
  background: rgba(0,0,0,.18);
  box-shadow: 0 14px 34px rgba(0,0,0,.20);
}

.photo-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: rgba(255,244,223,.08);
}

.photo-tile figcaption {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(0,0,0,.58);
  color: var(--mmo-cream, #fff4df);
  font-size: 11px;
  font-weight: 950;
  backdrop-filter: blur(8px);
}

.photo-actions {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}

.photo-actions .btn,
.photo-actions .small-btn {
  width: 100%;
  min-height: 34px;
  border-radius: 13px;
  padding: 7px 8px;
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(0,0,0,.20);
}

.photo-actions .btn:only-child,
.photo-actions button:only-child {
  grid-column: 1 / -1;
}

.photo-tile::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.62));
  pointer-events: none;
}

@media (max-width: 620px) {
  .photo-manager {
    padding: 13px;
    border-radius: 22px;
  }

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

  .photo-upload-form {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .photo-actions .btn,
  .photo-actions .small-btn {
    min-height: 32px;
    font-size: 10.5px;
  }
}

/* MMO_PROFILE_TAKING_BREAK_RED_STATUS_V1 */
.profile-public-status-strip.is-paused {
  border-color: rgba(255,59,48,.42) !important;
  background:
    linear-gradient(180deg, rgba(255,59,48,.18), rgba(255,244,223,.035)),
    rgba(0,0,0,.14) !important;
}

.profile-public-status-strip.is-paused .profile-public-status-pill {
  background: rgba(255,59,48,.24) !important;
  border: 1px solid rgba(255,59,48,.46) !important;
  color: #ffe4df !important;
}

/* MMO_PROFILE_DOB_PRIVACY_NOTE_V1 */
.field-note {
  display: block;
  margin: 4px 0 7px;
  color: rgba(255,244,223,.62);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
}

/* MMO_DISCOVER_BAR_SLIM_FINAL_V1 */

/* Desktop: keep any notice as a small chip */
.discover-menu-notice {
  width: fit-content;
  max-width: 100%;
  margin: 5px 0 8px !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
}

/* Mobile: remove filter update text entirely and slim the floating bar */
@media (max-width: 700px) {
  .discover-menu-notice {
    display: none !important;
  }

  .discover-menu-title span {
    display: none !important;
  }

  .discover-menu-strip {
    padding: 8px 9px !important;
    gap: 7px !important;
    border-radius: 18px !important;
  }

  .discover-menu-title strong {
    font-size: 14px !important;
    line-height: 1.05 !important;
  }

  .discover-menu-actions .btn,
  .filter-icon-btn {
    min-height: 32px !important;
    padding: 6px 9px !important;
    border-radius: 12px !important;
    font-size: 11px !important;
  }
}

/* MMO_DISCOVER_ACTION_BUTTONS_AND_LOCATION_BAR_V2 */
.discover-menu-strip {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  align-items: center !important;
  gap: 10px !important;
}

.discover-menu-location {
  min-width: 0;
  max-width: 240px;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255,244,223,.16);
  background: rgba(0,0,0,.18);
  color: var(--mmo-cream, #fff4df);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
}

.discover-menu-location strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discover-menu-title {
  justify-self: end;
  text-align: right;
}

.discover-menu-actions {
  justify-self: end;
}

.discover-card-actions.swipe-actions {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}

.discover-card-actions.swipe-actions form {
  margin: 0;
}

.discover-action-btn {
  width: 100%;
  min-height: 44px;
  border-radius: 16px !important;
  padding: 9px 10px !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  border: 1px solid rgba(255,244,223,.16) !important;
  box-shadow:
    0 12px 28px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.discover-like-btn,
.discover-message-btn {
  background: linear-gradient(180deg, #ffb14e, var(--mmo-sun, #f6a23a)) !important;
  color: #241307 !important;
  border-color: rgba(246,162,58,.46) !important;
}

.discover-hide-btn {
  background: rgba(255,244,223,.075) !important;
  color: var(--mmo-cream, #fff4df) !important;
}

.view-profile-btn {
  background: rgba(95,159,75,.18) !important;
  border-color: rgba(95,159,75,.34) !important;
  color: #e8ffdf !important;
}

.discover-liked-btn {
  background: rgba(95,159,75,.20) !important;
  border-color: rgba(95,159,75,.38) !important;
  color: #e8ffdf !important;
}

.discover-action-btn:hover,
.discover-menu-location:hover {
  transform: translateY(-1px);
}

@media (max-width: 700px) {
  .discover-menu-strip {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 7px !important;
  }

  .discover-menu-location {
    max-width: 155px;
    padding: 6px 8px;
    font-size: 11px;
  }

  .discover-menu-title {
    display: none !important;
  }

  .discover-menu-actions {
    grid-column: 2;
  }

  .discover-card-actions.swipe-actions {
    gap: 7px;
  }

  .discover-action-btn {
    min-height: 40px !important;
    border-radius: 14px !important;
    padding: 8px 8px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 380px) {
  .discover-menu-location {
    max-width: 125px;
  }

  .discover-action-btn {
    min-height: 38px !important;
    font-size: 12px !important;
  }
}




/* MMO_DISCOVER_TOOLBAR_CLEAN_SORT_V3 */
.discover-menu-strip {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  border-radius: 20px !important;
}

.discover-toolbar-left {
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  overflow: hidden !important;
}

.discover-toolbar-title {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  color: var(--mmo-cream, #fff4df) !important;
  font-size: 17px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.discover-menu-location.location-menu-btn {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: 280px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  border: 1px solid rgba(255,244,223,.16) !important;
  background: rgba(0,0,0,.16) !important;
  color: rgba(255,244,223,.9) !important;
  border-radius: 999px !important;
  padding: 6px 9px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.discover-menu-location.location-menu-btn span {
  flex: 0 0 auto !important;
}

.discover-menu-location.location-menu-btn strong {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.discover-menu-actions {
  min-width: max-content !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  position: static !important;
  margin-left: 0 !important;
}

.discover-menu-actions .btn,
.filter-icon-btn {
  white-space: nowrap !important;
}

.discover-menu-notice {
  grid-column: 1 / -1 !important;
}

.discover-sort-options {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.discover-sort-section {
  border-color: rgba(246,162,58,.20);
  background: rgba(246,162,58,.055);
}

@media (max-width: 700px) {
  .discover-menu-strip {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 7px !important;
    padding: 8px 9px !important;
    border-radius: 18px !important;
  }

  .discover-toolbar-left {
    gap: 6px !important;
  }

  .discover-toolbar-title {
    font-size: 14px !important;
  }

  .discover-menu-location.location-menu-btn {
    max-width: 145px !important;
    padding: 5px 7px !important;
  }

  .discover-menu-location.location-menu-btn strong {
    font-size: 10.5px !important;
  }

  .discover-menu-actions {
    gap: 6px !important;
  }

  .discover-menu-actions .btn,
  .filter-icon-btn {
    min-height: 32px !important;
    padding: 6px 8px !important;
    border-radius: 12px !important;
    font-size: 10.5px !important;
  }

  .filter-icon-btn em {
    min-width: 18px !important;
    height: 18px !important;
    font-size: 10px !important;
  }
}

@media (max-width: 380px) {
  .discover-toolbar-title {
    font-size: 13px !important;
  }

  .discover-menu-location.location-menu-btn {
    max-width: 112px !important;
  }

  .discover-menu-actions .btn,
  .filter-icon-btn {
    padding-left: 7px !important;
    padding-right: 7px !important;
  }
}

/* MMO_DISCOVER_SORT_LOCATION_FINAL_V2 */
.discover-sort-section {
  border-color: rgba(246,162,58,.22) !important;
  background: rgba(246,162,58,.06) !important;
  border-radius: 18px;
  padding: 12px;
}

.discover-sort-options {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.discover-menu-location.location-updating,
.discover-menu-location:disabled {
  opacity: .72;
  cursor: wait;
}

/* MMO_DISCOVER_SORT_LOCATION_REPAIR_V3 */
.discover-sort-section {
  border-color: rgba(246,162,58,.22) !important;
  background: rgba(246,162,58,.06) !important;
  border-radius: 18px;
  padding: 12px;
}

.discover-sort-options {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.discover-menu-location.location-updating,
.discover-menu-location:disabled {
  opacity: .72;
  cursor: wait;
}

/* MMO_DISCOVER_LOCATION_LABEL_VISIBILITY_FIX_V6 */
.discover-menu-strip {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
}

.discover-toolbar-left {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.discover-toolbar-title {
  flex: 0 0 auto !important;
  display: inline-flex !important;
}

.discover-menu-location.location-menu-btn {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 360px !important;
}

.discover-menu-location.location-menu-btn strong {
  min-width: 0 !important;
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.discover-menu-actions {
  min-width: max-content !important;
}

@media (max-width: 700px) {
  .discover-menu-location.location-menu-btn {
    max-width: 180px !important;
  }
}

@media (max-width: 390px) {
  .discover-menu-location.location-menu-btn {
    max-width: 135px !important;
  }
}

/* MMO_DISCOVER_FILTER_MODAL_COMPACT_V1 */

/* Use more available screen space */
.filter-modal-panel {
  width: min(1040px, calc(100vw - 24px)) !important;
  max-height: min(86vh, 820px) !important;
  overflow: auto !important;
  padding: 16px !important;
  border-radius: 24px !important;
}

/* Tighter modal header */
.filter-modal-head {
  gap: 10px !important;
  margin-bottom: 12px !important;
  padding-bottom: 10px !important;
}

.filter-modal-head strong {
  font-size: 20px !important;
  line-height: 1.05 !important;
}

.filter-modal-head span {
  font-size: 12px !important;
  line-height: 1.25 !important;
}

/* Compact form layout */
.discover-filter-modal-form {
  display: grid !important;
  gap: 10px !important;
}

.filter-interest-section {
  padding: 11px !important;
  border-radius: 18px !important;
}

.filter-interest-section > strong {
  display: block !important;
  margin-bottom: 3px !important;
  font-size: 14px !important;
}

.filter-interest-section > span {
  display: block !important;
  margin-bottom: 8px !important;
  font-size: 11.5px !important;
  line-height: 1.25 !important;
}

/* Make options use horizontal space better */
.filter-interest-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)) !important;
  gap: 7px !important;
}

.compact-filter-grid {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
}

.discover-sort-options {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 7px !important;
  margin-top: 8px !important;
}

.filter-check-pill {
  min-height: 34px !important;
  padding: 7px 9px !important;
  border-radius: 14px !important;
}

.filter-check-pill span {
  font-size: 12px !important;
  line-height: 1.15 !important;
}

/* Search and age fields */
.discover-filter-modal-form label {
  gap: 5px !important;
}

.discover-filter-modal-form input[type="search"],
.discover-filter-modal-form input[type="number"] {
  min-height: 38px !important;
  border-radius: 14px !important;
  padding: 8px 10px !important;
}

.filter-age-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

/* Keep Apply/Clear visible and compact */
.filter-modal-actions {
  position: sticky !important;
  bottom: -16px !important;
  z-index: 5 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 2px !important;
  padding: 10px 0 0 !important;
  background:
    linear-gradient(180deg, rgba(18,35,30,0), rgba(18,35,30,.96) 35%, rgba(18,35,30,1)) !important;
}

.filter-modal-actions .btn {
  min-height: 38px !important;
  border-radius: 14px !important;
  padding: 8px 12px !important;
  font-size: 12px !important;
}

/* Mobile: almost full-screen, but still compact */
@media (max-width: 700px) {
  .filter-modal-panel {
    width: calc(100vw - 14px) !important;
    max-height: 88vh !important;
    padding: 12px !important;
    border-radius: 22px !important;
  }

  .filter-modal-head {
    margin-bottom: 9px !important;
    padding-bottom: 8px !important;
  }

  .filter-modal-head strong {
    font-size: 18px !important;
  }

  .filter-modal-head span {
    display: none !important;
  }

  .discover-filter-modal-form {
    gap: 8px !important;
  }

  .filter-interest-section {
    padding: 9px !important;
    border-radius: 16px !important;
  }

  .filter-interest-section > span {
    display: none !important;
  }

  .filter-interest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .compact-filter-grid,
  .discover-sort-options {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .filter-check-pill {
    min-height: 32px !important;
    padding: 6px 7px !important;
  }

  .filter-check-pill span {
    font-size: 11px !important;
  }

  .filter-age-grid {
    gap: 8px !important;
  }

  .filter-modal-actions {
    bottom: -12px !important;
    padding-top: 8px !important;
  }

  .filter-modal-actions .btn {
    flex: 1 1 140px !important;
  }
}

@media (max-width: 390px) {
  .filter-interest-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .filter-check-pill span {
    font-size: 10.5px !important;
  }
}

/* MMO_DISCOVER_FILTER_MODAL_MOBILE_POLISH_V2 */

/* General compact modal polish */
.filter-modal-panel {
  width: min(1060px, calc(100vw - 22px)) !important;
  max-height: min(88vh, 820px) !important;
  overflow: auto !important;
  padding: 16px !important;
  border-radius: 24px !important;
}

.discover-filter-modal-form {
  display: grid !important;
  gap: 10px !important;
}

.filter-modal-head {
  position: sticky !important;
  top: -16px !important;
  z-index: 8 !important;
  background:
    linear-gradient(180deg, rgba(18,35,30,1), rgba(18,35,30,.96)) !important;
  padding-top: 2px !important;
  padding-bottom: 10px !important;
  margin-bottom: 10px !important;
}

.filter-interest-section {
  padding: 10px !important;
  border-radius: 16px !important;
}

.filter-interest-section > strong {
  display: block !important;
  margin-bottom: 3px !important;
  font-size: 14px !important;
}

.filter-interest-section > span {
  display: block !important;
  margin-bottom: 8px !important;
  font-size: 11.5px !important;
  line-height: 1.25 !important;
}

.filter-interest-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)) !important;
  gap: 7px !important;
}

.compact-filter-grid,
.discover-sort-options {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
  gap: 7px !important;
}

.filter-check-pill {
  min-height: 34px !important;
  padding: 7px 9px !important;
  border-radius: 14px !important;
}

.filter-check-pill span {
  font-size: 12px !important;
  line-height: 1.15 !important;
}

.filter-age-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 9px !important;
}

.filter-modal-actions {
  position: sticky !important;
  bottom: -16px !important;
  z-index: 8 !important;
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  padding: 10px 0 0 !important;
  margin-top: 0 !important;
  background:
    linear-gradient(180deg, rgba(18,35,30,0), rgba(18,35,30,.96) 35%, rgba(18,35,30,1)) !important;
}

.filter-modal-actions .btn {
  min-height: 38px !important;
  border-radius: 14px !important;
  padding: 8px 12px !important;
  font-size: 12px !important;
}

/* Mobile bottom-sheet behaviour */
@media (max-width: 700px) {
  .filter-modal {
    align-items: flex-end !important;
    padding: 0 !important;
  }

  .filter-modal-panel {
    width: 100vw !important;
    max-width: 100vw !important;
    max-height: 92dvh !important;
    margin: 0 !important;
    padding: 12px 12px 14px !important;
    border-radius: 24px 24px 0 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
  }

  .filter-modal-head {
    top: -12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 4px 0 9px !important;
    margin-bottom: 8px !important;
  }

  .filter-modal-head::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 50%;
    width: 46px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,244,223,.25);
    transform: translateX(-50%);
  }

  .filter-modal-head strong {
    margin-top: 10px !important;
    font-size: 18px !important;
    line-height: 1.05 !important;
  }

  .filter-modal-head span {
    display: none !important;
  }

  .filter-modal-head button {
    width: 38px !important;
    height: 38px !important;
    border-radius: 14px !important;
    font-size: 22px !important;
  }

  .discover-filter-modal-form {
    gap: 8px !important;
  }

  .filter-interest-section {
    padding: 9px !important;
    border-radius: 15px !important;
  }

  .filter-interest-section > span {
    display: none !important;
  }

  .filter-interest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .compact-filter-grid,
  .discover-sort-options {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .filter-check-pill {
    min-height: 32px !important;
    padding: 6px 7px !important;
  }

  .filter-check-pill span {
    font-size: 11px !important;
  }

  .discover-filter-modal-form input[type="search"],
  .discover-filter-modal-form input[type="number"] {
    min-height: 36px !important;
    border-radius: 13px !important;
    padding: 8px 9px !important;
  }

  .filter-modal-actions {
    bottom: -14px !important;
    padding: 9px 0 0 !important;
  }

  .filter-modal-actions .btn {
    flex: 1 1 130px !important;
    min-height: 38px !important;
  }
}

@media (max-width: 390px) {
  .filter-check-pill span {
    font-size: 10.5px !important;
  }

  .filter-interest-grid,
  .compact-filter-grid,
  .discover-sort-options {
    gap: 5px !important;
  }
}

/* MMO_DISCOVER_FILTER_MODAL_FULLSCREEN_MOBILE_V3 */

/* Desktop stays modal-like */
.filter-modal-panel {
  width: min(1060px, calc(100vw - 24px)) !important;
  max-height: 88vh !important;
  overflow-y: auto !important;
}

/* Mobile: make filter modal full-screen and compact */
@media (max-width: 700px) {
  .filter-modal {
    align-items: stretch !important;
    justify-content: stretch !important;
    padding: 0 !important;
  }

  .filter-modal-backdrop {
    display: none !important;
  }

  .filter-modal-panel {
    width: 100vw !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: 10px 10px 76px !important;
    border-radius: 0 !important;
    border: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
  }

  /* Header: compact sticky top bar */
  .filter-modal-head {
    position: sticky !important;
    top: -10px !important;
    z-index: 20 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 40px !important;
    align-items: center !important;
    gap: 8px !important;
    margin: -10px -10px 8px !important;
    padding: 10px 10px 8px !important;
    background:
      linear-gradient(180deg, rgba(18,35,30,1), rgba(18,35,30,.98)) !important;
    border-bottom: 1px solid rgba(255,244,223,.10) !important;
  }

  .filter-modal-head::before {
    display: none !important;
  }

  .filter-modal-head strong {
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1 !important;
  }

  .filter-modal-head span {
    display: none !important;
  }

  .filter-modal-head button {
    width: 38px !important;
    height: 38px !important;
    border-radius: 13px !important;
    font-size: 22px !important;
  }

  /* Main form: reduce all vertical space */
  .discover-filter-modal-form {
    display: grid !important;
    gap: 7px !important;
  }

  /* Search label compact */
  .discover-filter-modal-form > label {
    display: grid !important;
    gap: 4px !important;
    margin: 0 !important;
    font-size: 12px !important;
  }

  .discover-filter-modal-form input[type="search"],
  .discover-filter-modal-form input[type="number"] {
    min-height: 34px !important;
    border-radius: 12px !important;
    padding: 7px 9px !important;
    font-size: 13px !important;
  }

  /* Sections become compact blocks */
  .filter-interest-section,
  .discover-sort-section {
    padding: 8px !important;
    border-radius: 14px !important;
    margin: 0 !important;
  }

  .filter-interest-section > strong,
  .discover-sort-section > strong {
    display: block !important;
    margin: 0 0 6px !important;
    font-size: 13px !important;
    line-height: 1 !important;
  }

  .filter-interest-section > span,
  .discover-sort-section > span {
    display: none !important;
  }

  /* Sort options: two compact buttons */
  .discover-sort-options {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin: 0 !important;
  }

  /* Gender and interests: tighter two-column grid */
  .filter-interest-grid,
  .compact-filter-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 5px !important;
  }

  .filter-check-pill {
    min-height: 30px !important;
    padding: 5px 7px !important;
    border-radius: 12px !important;
    gap: 5px !important;
  }

  .filter-check-pill input {
    transform: scale(.9) !important;
  }

  .filter-check-pill span {
    font-size: 10.5px !important;
    line-height: 1.1 !important;
  }

  /* Age controls: same row, compact */
  .filter-age-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .filter-age-grid label {
    display: grid !important;
    gap: 4px !important;
    margin: 0 !important;
    font-size: 12px !important;
  }

  /* Sticky action bar at bottom of full screen */
  .filter-modal-actions {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 30 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 9px 10px calc(9px + env(safe-area-inset-bottom)) !important;
    background:
      linear-gradient(180deg, rgba(18,35,30,.88), rgba(18,35,30,1)) !important;
    border-top: 1px solid rgba(255,244,223,.10) !important;
  }

  .filter-modal-actions .btn {
    width: 100% !important;
    min-height: 38px !important;
    border-radius: 13px !important;
    padding: 8px 10px !important;
    font-size: 12px !important;
  }

  .filter-modal-actions .btn:only-child {
    grid-column: 1 / -1 !important;
  }
}

/* Very small phones: squeeze chips further */
@media (max-width: 390px) {
  .filter-modal-panel {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .filter-modal-head {
    margin-left: -8px !important;
    margin-right: -8px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .filter-check-pill {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .filter-check-pill span {
    font-size: 10px !important;
  }
}

/* MMO_DISCOVER_FILTER_FULLSCREEN_APP_V4 */

/* Desktop remains a polished modal */
.filter-modal-panel {
  width: min(1040px, calc(100vw - 24px)) !important;
  max-height: min(88vh, 820px) !important;
  overflow-y: auto !important;
}

/* Make the desktop Apply button clearer too */
.filter-apply-primary {
  background: linear-gradient(180deg, #ffb14e, var(--mmo-sun, #f6a23a)) !important;
  color: #241307 !important;
  font-weight: 950 !important;
}

/* Mobile: full-screen app-like filter page */
@media (max-width: 700px) {
  .filter-modal {
    align-items: stretch !important;
    justify-content: stretch !important;
    padding: 0 !important;
    background: rgba(9, 20, 17, .98) !important;
  }

  .filter-modal-backdrop {
    display: none !important;
  }

  .filter-modal-panel {
    width: 100vw !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 0 calc(78px + env(safe-area-inset-bottom)) !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    background:
      radial-gradient(circle at top left, rgba(246,162,58,.14), transparent 34%),
      linear-gradient(180deg, #12231e, #0b1714) !important;
  }

  /* Header becomes proper app header */
  .filter-modal-head {
    position: sticky !important;
    top: 0 !important;
    z-index: 40 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 42px !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: calc(12px + env(safe-area-inset-top)) 14px 12px !important;
    background:
      linear-gradient(180deg, rgba(18,35,30,1), rgba(18,35,30,.96)) !important;
    border-bottom: 1px solid rgba(255,244,223,.12) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.20) !important;
  }

  .filter-modal-head::before {
    display: none !important;
  }

  .filter-modal-head strong {
    margin: 0 !important;
    color: var(--mmo-cream, #fff4df) !important;
    font-size: 21px !important;
    font-weight: 950 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.05 !important;
  }

  .filter-modal-head span {
    display: block !important;
    margin-top: 3px !important;
    color: rgba(255,244,223,.62) !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
  }

  .filter-modal-head button {
    width: 40px !important;
    height: 40px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 15px !important;
    border: 1px solid rgba(255,244,223,.14) !important;
    background: rgba(255,244,223,.08) !important;
    color: var(--mmo-cream, #fff4df) !important;
    font-size: 24px !important;
    line-height: 1 !important;
  }

  /* Form content gets proper page padding */
  .discover-filter-modal-form {
    display: grid !important;
    gap: 10px !important;
    padding: 12px 12px 0 !important;
  }

  /* Search field promoted to top card */
  .discover-filter-modal-form > label {
    display: grid !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 11px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(255,244,223,.12) !important;
    background: rgba(255,244,223,.055) !important;
    color: var(--mmo-cream, #fff4df) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
  }

  .discover-filter-modal-form input[type="search"],
  .discover-filter-modal-form input[type="number"] {
    width: 100% !important;
    min-height: 40px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255,244,223,.14) !important;
    background: rgba(0,0,0,.20) !important;
    color: var(--mmo-cream, #fff4df) !important;
    padding: 9px 10px !important;
    font-size: 14px !important;
  }

  /* Filter sections as neat app cards */
  .filter-interest-section,
  .discover-sort-section {
    margin: 0 !important;
    padding: 12px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255,244,223,.12) !important;
    background:
      linear-gradient(180deg, rgba(255,244,223,.065), rgba(255,244,223,.035)),
      rgba(0,0,0,.08) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.14) !important;
  }

  .discover-sort-section {
    border-color: rgba(246,162,58,.22) !important;
    background:
      linear-gradient(180deg, rgba(246,162,58,.12), rgba(255,244,223,.035)),
      rgba(0,0,0,.10) !important;
  }

  .filter-interest-section > strong,
  .discover-sort-section > strong {
    display: block !important;
    margin: 0 0 4px !important;
    color: var(--mmo-cream, #fff4df) !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.05 !important;
  }

  .filter-interest-section > span,
  .discover-sort-section > span {
    display: block !important;
    margin: 0 0 10px !important;
    color: rgba(255,244,223,.58) !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    line-height: 1.25 !important;
  }

  /* Chips are compact but premium */
  .filter-interest-grid,
  .compact-filter-grid,
  .discover-sort-options {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
    margin: 0 !important;
  }

  .filter-check-pill {
    min-height: 38px !important;
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 8px 9px !important;
    border-radius: 15px !important;
    border: 1px solid rgba(255,244,223,.12) !important;
    background: rgba(0,0,0,.14) !important;
  }

  .filter-check-pill input {
    flex: 0 0 auto !important;
    transform: scale(.95) !important;
  }

  .filter-check-pill span {
    min-width: 0 !important;
    color: rgba(255,244,223,.86) !important;
    font-size: 11.5px !important;
    font-weight: 850 !important;
    line-height: 1.12 !important;
  }

  .filter-check-pill:has(input:checked) {
    border-color: rgba(246,162,58,.46) !important;
    background: rgba(246,162,58,.16) !important;
    box-shadow: inset 0 0 0 1px rgba(246,162,58,.14) !important;
  }

  /* Age as compact card row */
  .filter-age-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    padding: 12px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255,244,223,.12) !important;
    background: rgba(255,244,223,.045) !important;
  }

  .filter-age-grid label {
    display: grid !important;
    gap: 6px !important;
    margin: 0 !important;
    color: var(--mmo-cream, #fff4df) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
  }

  /* Sticky save bar is always visible */
  .filter-modal-actions {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 60 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
    margin: 0 !important;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
    border-top: 1px solid rgba(255,244,223,.12) !important;
    background:
      linear-gradient(180deg, rgba(18,35,30,.90), rgba(18,35,30,1)) !important;
    box-shadow: 0 -16px 36px rgba(0,0,0,.24) !important;
  }

  .filter-modal-actions .btn {
    width: 100% !important;
    min-height: 44px !important;
    border-radius: 16px !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
    font-weight: 950 !important;
  }

  .filter-modal-actions .btn:only-child,
  .filter-modal-actions .filter-apply-primary:only-child {
    grid-column: 1 / -1 !important;
  }

  .filter-modal-actions .filter-apply-primary {
    background: linear-gradient(180deg, #ffb14e, var(--mmo-sun, #f6a23a)) !important;
    color: #241307 !important;
  }
}

/* Small phones: keep full screen but tighten chips */
@media (max-width: 390px) {
  .discover-filter-modal-form {
    padding-left: 9px !important;
    padding-right: 9px !important;
  }

  .filter-interest-section,
  .discover-sort-section,
  .filter-age-grid {
    padding: 10px !important;
    border-radius: 18px !important;
  }

  .filter-check-pill {
    min-height: 36px !important;
    padding: 7px 7px !important;
  }

  .filter-check-pill span {
    font-size: 10.7px !important;
  }
}

/* MMO_DISCOVER_FILTER_SCREEN_POLISH_V5 */

/* Desktop modal polish */
.filter-modal-panel {
  width: min(1080px, calc(100vw - 24px)) !important;
  max-height: 88vh !important;
}

.filter-modal-actions {
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
}

.filter-modal-actions .btn {
  min-height: 40px !important;
  border-radius: 14px !important;
  font-weight: 950 !important;
}

.filter-apply-primary {
  background: linear-gradient(180deg, #ffb14e, var(--mmo-sun, #f6a23a)) !important;
  color: #241307 !important;
  border-color: rgba(246,162,58,.45) !important;
}

.filter-cancel-btn,
.filter-clear-btn {
  background: rgba(255,244,223,.075) !important;
  color: rgba(255,244,223,.86) !important;
  border-color: rgba(255,244,223,.14) !important;
}

/* Remove heavy selected pill/circle look.
   Selected options now highlight the text/row more subtly. */
.filter-check-pill {
  border-radius: 14px !important;
  border: 1px solid rgba(255,244,223,.10) !important;
  background: rgba(0,0,0,.10) !important;
  box-shadow: none !important;
}

.filter-check-pill span {
  border-radius: 9px !important;
  padding: 2px 4px !important;
}

.filter-check-pill:has(input:checked) {
  border-color: rgba(246,162,58,.18) !important;
  background: rgba(246,162,58,.07) !important;
  box-shadow: none !important;
}

.filter-check-pill:has(input:checked) span {
  color: #ffd08a !important;
  background: rgba(246,162,58,.16) !important;
  font-weight: 950 !important;
}

.filter-check-pill input {
  accent-color: #f6a23a !important;
}

/* Full-screen mobile filter page */
@media (max-width: 700px) {
  .filter-modal {
    align-items: stretch !important;
    justify-content: stretch !important;
    padding: 0 !important;
    background: #0b1714 !important;
  }

  .filter-modal-backdrop {
    display: none !important;
  }

  .filter-modal-panel {
    width: 100vw !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 0 calc(82px + env(safe-area-inset-bottom)) !important;
    border-radius: 0 !important;
    border: 0 !important;
    overflow-y: auto !important;
    background:
      radial-gradient(circle at 0% 0%, rgba(246,162,58,.14), transparent 34%),
      linear-gradient(180deg, #12231e 0%, #0b1714 100%) !important;
  }

  .filter-modal-head {
    position: sticky !important;
    top: 0 !important;
    z-index: 50 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 42px !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: calc(12px + env(safe-area-inset-top)) 14px 12px !important;
    background: rgba(18,35,30,.98) !important;
    border-bottom: 1px solid rgba(255,244,223,.12) !important;
    box-shadow: 0 14px 32px rgba(0,0,0,.22) !important;
  }

  .filter-modal-head::before {
    display: none !important;
  }

  .filter-modal-head strong {
    margin: 0 !important;
    font-size: 21px !important;
    line-height: 1.05 !important;
    letter-spacing: -.03em !important;
  }

  .filter-modal-head span {
    display: block !important;
    margin-top: 3px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    color: rgba(255,244,223,.62) !important;
  }

  .filter-modal-head button {
    width: 40px !important;
    height: 40px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255,244,223,.14) !important;
    background: rgba(255,244,223,.08) !important;
    color: var(--mmo-cream, #fff4df) !important;
    font-size: 24px !important;
  }

  .discover-filter-modal-form {
    display: grid !important;
    gap: 10px !important;
    padding: 12px !important;
  }

  .discover-filter-modal-form > label,
  .filter-interest-section,
  .discover-sort-section,
  .filter-age-grid {
    border-radius: 18px !important;
    border: 1px solid rgba(255,244,223,.11) !important;
    background: rgba(255,244,223,.045) !important;
    box-shadow: 0 10px 26px rgba(0,0,0,.12) !important;
  }

  .discover-filter-modal-form > label {
    display: grid !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 11px !important;
    font-size: 12px !important;
    font-weight: 900 !important;
  }

  .filter-interest-section,
  .discover-sort-section {
    padding: 11px !important;
    margin: 0 !important;
  }

  .discover-sort-section {
    border-color: rgba(246,162,58,.20) !important;
    background: rgba(246,162,58,.075) !important;
  }

  .filter-interest-section > strong,
  .discover-sort-section > strong {
    display: block !important;
    margin: 0 0 5px !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    line-height: 1.05 !important;
  }

  .filter-interest-section > span,
  .discover-sort-section > span {
    display: block !important;
    margin: 0 0 9px !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    color: rgba(255,244,223,.58) !important;
  }

  .filter-interest-grid,
  .compact-filter-grid,
  .discover-sort-options {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
    margin: 0 !important;
  }

  .filter-check-pill {
    min-height: 36px !important;
    padding: 7px 8px !important;
    border-radius: 13px !important;
    background: rgba(0,0,0,.12) !important;
  }

  .filter-check-pill span {
    min-width: 0 !important;
    font-size: 11.2px !important;
    line-height: 1.12 !important;
  }

  .discover-filter-modal-form input[type="search"],
  .discover-filter-modal-form input[type="number"] {
    width: 100% !important;
    min-height: 40px !important;
    border-radius: 13px !important;
    padding: 9px 10px !important;
    font-size: 14px !important;
    background: rgba(0,0,0,.18) !important;
    border: 1px solid rgba(255,244,223,.14) !important;
    color: var(--mmo-cream, #fff4df) !important;
  }

  .filter-age-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    padding: 11px !important;
  }

  .filter-age-grid label {
    display: grid !important;
    gap: 6px !important;
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
  }

  /* Always-visible Apply / Cancel / Clear bar */
  .filter-modal-actions {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 100 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
    margin: 0 !important;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
    background: rgba(18,35,30,.98) !important;
    border-top: 1px solid rgba(255,244,223,.12) !important;
    box-shadow: 0 -18px 38px rgba(0,0,0,.28) !important;
  }

  .filter-modal-actions .btn {
    width: 100% !important;
    min-height: 44px !important;
    border-radius: 15px !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
    font-weight: 950 !important;
  }

  .filter-clear-btn {
    grid-column: 1 / -1 !important;
    min-height: 36px !important;
    opacity: .9 !important;
  }
}

@media (max-width: 390px) {
  .discover-filter-modal-form {
    padding: 9px !important;
  }

  .filter-check-pill {
    padding: 6px 7px !important;
  }

  .filter-check-pill span {
    font-size: 10.5px !important;
  }
}

/* MMO_DISCOVER_FILTER_MOBILE_ACTIONS_AND_CHIP_FIX_V6 */

/* -------------------------------------------------------
   Fix overlapping outlines / borders on filter option text
   ------------------------------------------------------- */

.filter-check-pill,
.filter-check-pill:has(input:checked) {
  outline: none !important;
  box-shadow: none !important;
}

.filter-check-pill span,
.filter-check-pill:has(input:checked) span {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Keep selected state as a clean soft row highlight, not double borders */
.filter-check-pill:has(input:checked) {
  border-color: rgba(246,162,58,.42) !important;
  background:
    linear-gradient(180deg, rgba(246,162,58,.15), rgba(246,162,58,.08)) !important;
}

.filter-check-pill:has(input:checked) span {
  color: #ffd08a !important;
  background: transparent !important;
  font-weight: 950 !important;
}

/* Inputs should not create a second visible ring around the text */
.filter-check-pill input:focus,
.filter-check-pill input:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* -------------------------------------------------------
   Mobile: keep Apply / Cancel above floating bottom nav
   ------------------------------------------------------- */

@media (max-width: 700px) {
  .filter-modal-panel {
    /* extra room so the last controls do not sit under the action bar/nav */
    padding-bottom: calc(156px + env(safe-area-inset-bottom)) !important;
  }

  .filter-modal-actions {
    /*
      Lift above the app floating mobile menu/drawer.
      If the bottom menu changes height later, adjust this one value.
    */
    bottom: calc(72px + env(safe-area-inset-bottom)) !important;
    z-index: 9999 !important;

    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;

    padding: 10px 12px !important;
    background:
      linear-gradient(180deg, rgba(18,35,30,.94), rgba(18,35,30,1)) !important;
    border-top: 1px solid rgba(255,244,223,.14) !important;
    box-shadow: 0 -18px 38px rgba(0,0,0,.34) !important;
  }

  .filter-modal-actions .filter-apply-primary,
  .filter-modal-actions .filter-cancel-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    border-radius: 15px !important;
    font-size: 13px !important;
    font-weight: 950 !important;
  }

  .filter-modal-actions .filter-clear-btn {
    grid-column: 1 / -1 !important;
    min-height: 36px !important;
    border-radius: 13px !important;
    font-size: 12px !important;
  }

  /* Make sure the floating nav/menu does not visually sit over the filter panel */
  .filter-modal[aria-hidden="false"] {
    z-index: 10000 !important;
  }

  .filter-modal[aria-hidden="false"] .filter-modal-panel {
    z-index: 10001 !important;
  }

  .filter-modal[aria-hidden="false"] .filter-modal-actions {
    z-index: 10002 !important;
  }
}

/* Smaller phones: lift a touch more */
@media (max-width: 390px) {
  .filter-modal-actions {
    bottom: calc(78px + env(safe-area-inset-bottom)) !important;
    padding-left: 9px !important;
    padding-right: 9px !important;
  }

  .filter-modal-panel {
    padding-bottom: calc(164px + env(safe-area-inset-bottom)) !important;
  }
}

/* MMO_DISCOVER_FILTER_INTEREST_MATCH_GENDER_AND_HIDE_NAV_V7 */

/* -------------------------------------------------------
   Make Interest chips use the same clean styling as Gender
   ------------------------------------------------------- */

/* Both gender and interest grids use identical columns/gaps */
.filter-interest-grid,
.compact-filter-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
  gap: 7px !important;
}

/* One clean cell style for every checkbox/radio option */
.filter-interest-grid .filter-check-pill,
.compact-filter-grid .filter-check-pill,
.discover-sort-options .filter-check-pill {
  min-height: 36px !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 7px 9px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,244,223,.12) !important;
  background: rgba(0,0,0,.13) !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Stop text inside options from getting its own border/pill */
.filter-interest-grid .filter-check-pill span,
.compact-filter-grid .filter-check-pill span,
.discover-sort-options .filter-check-pill span {
  display: inline !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: rgba(255,244,223,.86) !important;
  font-size: 11.5px !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
}

/* Clean selected state: highlight the whole cell only */
.filter-interest-grid .filter-check-pill:has(input:checked),
.compact-filter-grid .filter-check-pill:has(input:checked),
.discover-sort-options .filter-check-pill:has(input:checked) {
  border-color: rgba(246,162,58,.42) !important;
  background: rgba(246,162,58,.15) !important;
  box-shadow: none !important;
  outline: none !important;
}

.filter-interest-grid .filter-check-pill:has(input:checked) span,
.compact-filter-grid .filter-check-pill:has(input:checked) span,
.discover-sort-options .filter-check-pill:has(input:checked) span {
  color: #ffd08a !important;
  background: transparent !important;
  font-weight: 950 !important;
}

/* Prevent browser focus outlines from creating double-rings around text */
.filter-check-pill input,
.filter-check-pill input:focus,
.filter-check-pill input:focus-visible,
.filter-check-pill span,
.filter-check-pill span:focus,
.filter-check-pill span:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* Mobile: identical two-column layout for gender and interests */
@media (max-width: 700px) {
  .filter-interest-grid,
  .compact-filter-grid,
  .discover-sort-options {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .filter-interest-grid .filter-check-pill,
  .compact-filter-grid .filter-check-pill,
  .discover-sort-options .filter-check-pill {
    min-height: 36px !important;
    padding: 7px 8px !important;
    border-radius: 13px !important;
  }

  .filter-interest-grid .filter-check-pill span,
  .compact-filter-grid .filter-check-pill span,
  .discover-sort-options .filter-check-pill span {
    font-size: 11px !important;
    line-height: 1.12 !important;
  }
}

@media (max-width: 390px) {
  .filter-interest-grid .filter-check-pill,
  .compact-filter-grid .filter-check-pill,
  .discover-sort-options .filter-check-pill {
    padding: 6px 7px !important;
  }

  .filter-interest-grid .filter-check-pill span,
  .compact-filter-grid .filter-check-pill span,
  .discover-sort-options .filter-check-pill span {
    font-size: 10.5px !important;
  }
}

/* MMO_HIDE_FLOATING_MOBILE_MENU_DURING_FILTERS_V1 */
@media (max-width: 700px) {
  body.filter-modal-is-open .mobile-nav,
  body.filter-modal-is-open .bottom-nav,
  body.filter-modal-is-open .app-bottom-nav,
  body.filter-modal-is-open .floating-menu,
  body.filter-modal-is-open .mobile-floating-menu,
  body.filter-modal-is-open .mmo-mobile-nav,
  body.filter-modal-is-open .app-nav-mobile,
  body.filter-modal-is-open .nav-drawer,
  body.filter-modal-is-open [data-mobile-nav],
  body.filter-modal-is-open [data-mobile-menu],
  body.filter-modal-is-open .app-nav {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.filter-modal-is-open {
    overflow: hidden !important;
  }

  body.filter-modal-is-open .filter-modal {
    z-index: 99999 !important;
  }

  body.filter-modal-is-open .filter-modal-panel {
    z-index: 100000 !important;
  }

  body.filter-modal-is-open .filter-modal-actions {
    bottom: 0 !important;
    z-index: 100001 !important;
  }
}

/* MMO_DISCOVER_FILTER_PAGE_MOBILE_V1 */

/* Desktop uses the modal button. Mobile uses the dedicated filter page. */
.mobile-filter-page-btn {
  display: none !important;
}

@media (max-width: 700px) {
  .desktop-filter-modal-btn {
    display: none !important;
  }

  .mobile-filter-page-btn {
    display: inline-flex !important;
  }
}

/* Full-screen mobile filter page */
.discover-filter-page-body {
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(246,162,58,.16), transparent 34%),
    linear-gradient(180deg, #12231e 0%, #0b1714 100%);
  color: var(--mmo-cream, #fff4df);
}

.discover-filter-page-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0 0 calc(82px + env(safe-area-inset-bottom));
}

.discover-filter-page-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  padding: calc(12px + env(safe-area-inset-top)) 14px 12px;
  background: rgba(18,35,30,.98);
  border-bottom: 1px solid rgba(255,244,223,.12);
  box-shadow: 0 14px 32px rgba(0,0,0,.22);
}

.discover-filter-page-header strong {
  display: block;
  color: var(--mmo-cream, #fff4df);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -.03em;
  line-height: 1.05;
}

.discover-filter-page-header span {
  display: block;
  margin-top: 3px;
  color: rgba(255,244,223,.62);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
}

.filter-page-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255,244,223,.14);
  background: rgba(255,244,223,.08);
  color: var(--mmo-cream, #fff4df);
  text-decoration: none;
  font-size: 24px;
  line-height: 1;
}

.discover-filter-page-form {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.filter-page-card {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,244,223,.11);
  background:
    linear-gradient(180deg, rgba(255,244,223,.06), rgba(255,244,223,.035)),
    rgba(0,0,0,.08);
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
}

.filter-page-card > strong,
.filter-page-search > strong {
  display: block;
  margin: 0;
  color: var(--mmo-cream, #fff4df);
  font-size: 15px;
  font-weight: 950;
  letter-spacing: -.01em;
  line-height: 1.05;
}

.filter-page-card > span,
.discover-sort-section > span {
  color: rgba(255,244,223,.58);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.25;
}

.discover-sort-section {
  border-color: rgba(246,162,58,.22);
  background:
    linear-gradient(180deg, rgba(246,162,58,.12), rgba(255,244,223,.035)),
    rgba(0,0,0,.10);
}

.filter-page-search {
  display: grid;
  gap: 7px;
}

.filter-page-search input,
.filter-age-grid input {
  width: 100%;
  min-height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,244,223,.14);
  background: rgba(0,0,0,.18);
  color: var(--mmo-cream, #fff4df);
  padding: 9px 10px;
  font-size: 14px;
}

.filter-page-grid,
.filter-interest-grid,
.compact-filter-grid,
.discover-sort-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

/* Gender and interest cells: same style, centred text */
.filter-page-grid .filter-check-pill,
.filter-interest-grid .filter-check-pill,
.compact-filter-grid .filter-check-pill,
.discover-sort-options .filter-check-pill {
  min-height: 42px !important;
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 8px 9px !important;
  border-radius: 15px !important;
  border: 1px solid rgba(255,244,223,.12) !important;
  background: rgba(0,0,0,.13) !important;
  box-shadow: none !important;
  outline: none !important;
}

.filter-page-grid .filter-check-pill input,
.filter-interest-grid .filter-check-pill input,
.compact-filter-grid .filter-check-pill input,
.discover-sort-options .filter-check-pill input {
  justify-self: center !important;
  margin: 0 !important;
  accent-color: #f6a23a !important;
}

.filter-page-grid .filter-check-pill span,
.filter-interest-grid .filter-check-pill span,
.compact-filter-grid .filter-check-pill span,
.discover-sort-options .filter-check-pill span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: rgba(255,244,223,.86) !important;
  text-align: center !important;
  font-size: 11.5px !important;
  font-weight: 850 !important;
  line-height: 1.12 !important;
}

.filter-page-grid .filter-check-pill:has(input:checked),
.filter-interest-grid .filter-check-pill:has(input:checked),
.compact-filter-grid .filter-check-pill:has(input:checked),
.discover-sort-options .filter-check-pill:has(input:checked) {
  border-color: rgba(246,162,58,.42) !important;
  background: rgba(246,162,58,.15) !important;
}

.filter-page-grid .filter-check-pill:has(input:checked) span,
.filter-interest-grid .filter-check-pill:has(input:checked) span,
.compact-filter-grid .filter-check-pill:has(input:checked) span,
.discover-sort-options .filter-check-pill:has(input:checked) span {
  color: #ffd08a !important;
  font-weight: 950 !important;
}

.filter-age-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.filter-age-grid label {
  display: grid;
  gap: 6px;
  color: var(--mmo-cream, #fff4df);
  font-size: 12px;
  font-weight: 900;
}

.filter-page-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(18,35,30,.98);
  border-top: 1px solid rgba(255,244,223,.12);
  box-shadow: 0 -18px 38px rgba(0,0,0,.28);
}

.filter-page-actions .btn {
  width: 100%;
  min-height: 44px;
  border-radius: 15px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 950;
}

.filter-clear-btn {
  grid-column: 1 / -1;
  min-height: 36px !important;
}

/* Use space dynamically on larger phones/tablets */
@media (min-width: 560px) {
  .discover-filter-page-form {
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-page-card:nth-child(3),
  .filter-page-card:nth-child(4),
  .filter-page-actions {
    grid-column: 1 / -1;
  }

  .filter-page-grid,
  .filter-interest-grid,
  .compact-filter-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 390px) {
  .discover-filter-page-form {
    padding: 9px;
  }

  .filter-page-card {
    padding: 10px;
    border-radius: 18px;
  }

  .filter-page-grid .filter-check-pill,
  .filter-interest-grid .filter-check-pill,
  .compact-filter-grid .filter-check-pill,
  .discover-sort-options .filter-check-pill {
    min-height: 39px !important;
    padding: 7px !important;
  }

  .filter-page-grid .filter-check-pill span,
  .filter-interest-grid .filter-check-pill span,
  .compact-filter-grid .filter-check-pill span,
  .discover-sort-options .filter-check-pill span {
    font-size: 10.5px !important;
  }
}

/* Hide normal app/mobile nav if this page ever includes it later */
@media (max-width: 700px) {
  body.discover-filter-page-body .app-nav,
  body.discover-filter-page-body .mobile-nav,
  body.discover-filter-page-body .bottom-nav,
  body.discover-filter-page-body .app-bottom-nav,
  body.discover-filter-page-body .floating-menu,
  body.discover-filter-page-body .mobile-floating-menu,
  body.discover-filter-page-body .mmo-mobile-nav,
  body.discover-filter-page-body [data-mobile-nav],
  body.discover-filter-page-body [data-mobile-menu] {
    display: none !important;
  }
}

/* MMO_FILTER_PAGE_BREAKPOINT_FIX_V8 */
/* Use the full filter page for mobile/tablet-style layouts */
@media (max-width: 900px) {
  .desktop-filter-modal-btn {
    display: none !important;
  }

  .mobile-filter-page-btn {
    display: inline-flex !important;
  }
}

@media (min-width: 901px) {
  .desktop-filter-modal-btn {
    display: inline-flex !important;
  }

  .mobile-filter-page-btn {
    display: none !important;
  }
}

/* MMO_FILTER_CHIP_CENTERED_BUTTONS_V8 */

/* Reset all filter option cells into clean centred buttons */
.filter-check-pill,
.filter-page-grid .filter-check-pill,
.filter-interest-grid .filter-check-pill,
.compact-filter-grid .filter-check-pill,
.discover-sort-options .filter-check-pill {
  position: relative !important;
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 10px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255,244,223,.14) !important;
  background: rgba(0,0,0,.13) !important;
  box-shadow: none !important;
  outline: none !important;
  overflow: hidden !important;
  cursor: pointer !important;
}

/* Hide checkbox/radio input so it no longer pushes text off-centre */
.filter-check-pill input,
.filter-page-grid .filter-check-pill input,
.filter-interest-grid .filter-check-pill input,
.compact-filter-grid .filter-check-pill input,
.discover-sort-options .filter-check-pill input {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  pointer-events: none !important;
}

/* Centre the visible text perfectly */
.filter-check-pill span,
.filter-page-grid .filter-check-pill span,
.filter-interest-grid .filter-check-pill span,
.compact-filter-grid .filter-check-pill span,
.discover-sort-options .filter-check-pill span {
  width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: rgba(255,244,223,.88) !important;
  text-align: center !important;
  text-wrap: balance !important;
  overflow-wrap: anywhere !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1.12 !important;
}

/* Selected state: highlight the whole cell only */
.filter-check-pill:has(input:checked),
.filter-page-grid .filter-check-pill:has(input:checked),
.filter-interest-grid .filter-check-pill:has(input:checked),
.compact-filter-grid .filter-check-pill:has(input:checked),
.discover-sort-options .filter-check-pill:has(input:checked) {
  border-color: rgba(246,162,58,.50) !important;
  background:
    linear-gradient(180deg, rgba(246,162,58,.18), rgba(246,162,58,.10)) !important;
  box-shadow: inset 0 0 0 1px rgba(246,162,58,.10) !important;
}

.filter-check-pill:has(input:checked) span,
.filter-page-grid .filter-check-pill:has(input:checked) span,
.filter-interest-grid .filter-check-pill:has(input:checked) span,
.compact-filter-grid .filter-check-pill:has(input:checked) span,
.discover-sort-options .filter-check-pill:has(input:checked) span {
  color: #ffd08a !important;
  font-weight: 950 !important;
}

/* Grids: make gender and interests use the same layout */
.filter-interest-grid,
.compact-filter-grid,
.filter-page-grid,
.discover-sort-options {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
  gap: 8px !important;
}

/* Mobile/full-page filters: two clean columns */
@media (max-width: 900px) {
  .filter-interest-grid,
  .compact-filter-grid,
  .filter-page-grid,
  .discover-sort-options {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .filter-check-pill,
  .filter-page-grid .filter-check-pill,
  .filter-interest-grid .filter-check-pill,
  .compact-filter-grid .filter-check-pill,
  .discover-sort-options .filter-check-pill {
    min-height: 42px !important;
    padding: 8px 7px !important;
    border-radius: 15px !important;
  }

  .filter-check-pill span,
  .filter-page-grid .filter-check-pill span,
  .filter-interest-grid .filter-check-pill span,
  .compact-filter-grid .filter-check-pill span,
  .discover-sort-options .filter-check-pill span {
    font-size: 11px !important;
    line-height: 1.12 !important;
  }
}

@media (max-width: 390px) {
  .filter-check-pill span,
  .filter-page-grid .filter-check-pill span,
  .filter-interest-grid .filter-check-pill span,
  .compact-filter-grid .filter-check-pill span,
  .discover-sort-options .filter-check-pill span {
    font-size: 10.4px !important;
  }
}

/* MMO_BRAND_LOGO_V1 */
.brand-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
}

.brand-logo {
  width: 34px;
  height: 34px;
  display: inline-block;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 10px;
}

@media (max-width: 560px) {
  .brand-logo {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .brand-link {
    gap: 7px !important;
  }
}

/* MMO_VIEW_PROFILE_DISCOVER_STYLE_EXISTING_V1 */

/* Turn current view profile layout into an expanded Discover-style card */
.profile-view {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: minmax(320px, .92fr) minmax(0, 1.08fr) !important;
  gap: 18px !important;
  align-items: start !important;
  border: 1px solid rgba(255,244,223,.14);
  border-radius: 32px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255,244,223,.075), rgba(255,244,223,.035)),
    rgba(0,0,0,.12);
  box-shadow: 0 24px 70px rgba(0,0,0,.26);
}

.profile-view-photo-panel,
.profile-view-main {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.profile-view-photo-panel {
  display: grid !important;
  gap: 10px !important;
  min-width: 0 !important;
}

.profile-view-photo,
.profile-view-placeholder {
  width: 100% !important;
  min-height: 520px !important;
  max-height: 680px !important;
  display: block !important;
  object-fit: cover !important;
  border-radius: 28px !important;
  border: 1px solid rgba(255,244,223,.10) !important;
  background: rgba(0,0,0,.24) !important;
}

.profile-view-placeholder {
  display: grid !important;
  place-items: center !important;
  color: var(--mmo-cream, #fff4df) !important;
  font-size: 96px !important;
  font-weight: 950 !important;
  background:
    radial-gradient(circle at 40% 20%, rgba(246,162,58,.26), transparent 34%),
    rgba(255,244,223,.06) !important;
}

/* Scrolling gallery of all approved photos */
.profile-photo-gallery {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: minmax(86px, 112px) !important;
  gap: 9px !important;
  overflow-x: auto !important;
  overscroll-behavior-x: contain !important;
  padding: 2px 2px 8px !important;
  scrollbar-width: thin !important;
}

.profile-gallery-thumb {
  position: relative !important;
  overflow: hidden !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 18px !important;
  border: 2px solid rgba(255,244,223,.12) !important;
  background: rgba(0,0,0,.20) !important;
  padding: 0 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.profile-gallery-thumb.active {
  border-color: rgba(246,162,58,.72) !important;
  box-shadow: 0 0 0 3px rgba(246,162,58,.14) !important;
}

.profile-gallery-thumb img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
}

/* Main profile info area */
.profile-view-main {
  min-width: 0 !important;
  display: grid !important;
  align-content: start !important;
  gap: 14px !important;
  padding: 6px 4px 6px 0 !important;
}

.profile-view-main .eyebrow {
  display: none !important;
}

.profile-view-main h1 {
  margin: 0 !important;
  color: var(--mmo-cream, #fff4df) !important;
  font-size: clamp(38px, 5vw, 66px) !important;
  line-height: .92 !important;
  letter-spacing: -.055em !important;
}

.profile-view-main h1::after {
  content: "";
  display: block;
  width: 68px;
  height: 4px;
  border-radius: 999px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--mmo-sun, #f6a23a), rgba(246,162,58,0));
}

.profile-view-main .lead {
  margin: 0 !important;
  color: rgba(255,244,223,.82) !important;
  font-size: clamp(16px, 2vw, 20px) !important;
  line-height: 1.35 !important;
  font-weight: 850 !important;
}

/* Match/shared interest panel */
.profile-match-panel {
  border-radius: 18px !important;
  border: 1px solid rgba(246,162,58,.24) !important;
  background: rgba(246,162,58,.09) !important;
  padding: 12px !important;
}

.profile-match-panel.likely {
  border-color: rgba(246,162,58,.42) !important;
  background:
    linear-gradient(180deg, rgba(246,162,58,.17), rgba(246,162,58,.08)) !important;
}

.match-score strong {
  color: var(--mmo-cream, #fff4df) !important;
  font-weight: 950 !important;
}

.match-score span {
  color: rgba(255,244,223,.66) !important;
  font-weight: 800 !important;
}

/* Status blocks styled like Discover info cells */
.status-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 9px !important;
  margin: 0 !important;
}

.status-list div {
  border-radius: 18px !important;
  border: 1px solid rgba(255,244,223,.10) !important;
  background: rgba(255,244,223,.045) !important;
  padding: 11px !important;
}

.status-list dt {
  color: rgba(255,244,223,.52) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
}

.status-list dd {
  margin: 4px 0 0 !important;
  color: var(--mmo-cream, #fff4df) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

/* Full About and Interests sections */
.profile-bio {
  display: grid !important;
  gap: 8px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255,244,223,.10) !important;
  background: rgba(0,0,0,.10) !important;
  padding: 14px !important;
  margin: 0 !important;
}

.profile-bio h2 {
  margin: 0 !important;
  color: var(--mmo-cream, #fff4df) !important;
  font-size: 18px !important;
  font-weight: 950 !important;
  letter-spacing: -.02em !important;
}

.profile-bio p {
  margin: 0 !important;
  color: rgba(255,244,223,.78) !important;
  font-size: 15px !important;
  line-height: 1.58 !important;
}

/* Interest pills closer to Discover cards */
.profile-bio .pills {
  gap: 7px !important;
}

.profile-bio .pill {
  border-radius: 999px !important;
  border: 1px solid rgba(255,244,223,.12) !important;
  background: rgba(255,244,223,.07) !important;
  color: rgba(255,244,223,.84) !important;
  font-weight: 850 !important;
}

.profile-bio .matched-pill {
  border-color: rgba(246,162,58,.38) !important;
  background: rgba(246,162,58,.14) !important;
  color: #ffd08a !important;
}

/* Action buttons match Discover card buttons */
.profile-view-main .action-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)) !important;
  gap: 8px !important;
  margin-top: 2px !important;
}

.profile-view-main .action-row form,
.profile-view-main .inline-form {
  margin: 0 !important;
  width: 100% !important;
}

.profile-view-main .action-row .btn {
  width: 100% !important;
  min-height: 42px !important;
  border-radius: 15px !important;
  padding: 9px 10px !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  border: 1px solid rgba(255,244,223,.16) !important;
  box-shadow:
    0 12px 28px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.profile-view-main .action-row .btn:not(.btn-secondary):not(.btn-danger) {
  background: linear-gradient(180deg, #ffb14e, var(--mmo-sun, #f6a23a)) !important;
  color: #241307 !important;
}

.profile-view-main .action-row .btn-secondary {
  background: rgba(255,244,223,.075) !important;
  color: var(--mmo-cream, #fff4df) !important;
}

.profile-view-main .action-row .btn-danger {
  background: rgba(190,55,48,.18) !important;
  border-color: rgba(190,55,48,.38) !important;
  color: #ffd4cf !important;
}

/* Mobile and tablet */
@media (max-width: 900px) {
  .profile-view {
    grid-template-columns: 1fr !important;
    padding: 12px !important;
    border-radius: 26px !important;
  }

  .profile-view-main {
    padding: 0 !important;
  }

  .profile-view-photo,
  .profile-view-placeholder {
    min-height: 460px !important;
  }
}

@media (max-width: 560px) {
  .profile-view {
    width: calc(100% + 20px) !important;
    margin-left: -10px !important;
    margin-right: -10px !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    padding: 10px !important;
  }

  .profile-view-photo,
  .profile-view-placeholder {
    min-height: 430px !important;
    border-radius: 24px !important;
  }

  .profile-photo-gallery {
    grid-auto-columns: minmax(74px, 88px) !important;
  }

  .profile-view-main h1 {
    font-size: clamp(34px, 12vw, 52px) !important;
  }

  .status-list {
    grid-template-columns: 1fr !important;
  }

  .profile-view-main .action-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .profile-view-main .action-row .btn {
    min-height: 40px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 390px) {
  .profile-view-photo,
  .profile-view-placeholder {
    min-height: 390px !important;
  }

  .profile-view-main .action-row {
    grid-template-columns: 1fr !important;
  }
}

/* MMO_VIEW_PROFILE_DISTANCE_AND_DISCOVER_BUTTONS_V1 */

/* Status list now has distance too */
.profile-view .status-list {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
}

/* Make View Profile use the same action layout as Discover */
.profile-view-discover-actions.discover-card-actions.swipe-actions {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)) !important;
  gap: 8px !important;
  margin-top: 2px !important;
}

.profile-view-discover-actions.discover-card-actions.swipe-actions form {
  margin: 0 !important;
  width: 100% !important;
}

.profile-view-discover-actions .discover-action-btn {
  width: 100% !important;
  min-height: 46px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 17px !important;
  padding: 8px 10px !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  text-decoration: none !important;
  box-shadow:
    0 12px 28px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.profile-view-discover-actions .discover-like-btn,
.profile-view-discover-actions .discover-message-btn {
  background: linear-gradient(180deg, #ffb14e, var(--mmo-sun, #f6a23a)) !important;
  color: #241307 !important;
  border-color: rgba(246,162,58,.48) !important;
  font-size: 20px !important;
}

.profile-view-discover-actions .discover-liked-btn {
  background: rgba(246,162,58,.14) !important;
  color: #ffd08a !important;
  border-color: rgba(246,162,58,.34) !important;
  font-size: 20px !important;
}

.profile-view-discover-actions .discover-hide-btn,
.profile-view-discover-actions .view-profile-btn {
  background: rgba(255,244,223,.075) !important;
  color: var(--mmo-cream, #fff4df) !important;
  border-color: rgba(255,244,223,.16) !important;
}

.profile-view-discover-actions .discover-hide-btn {
  color: #ffd4cf !important;
  border-color: rgba(190,55,48,.30) !important;
  background: rgba(190,55,48,.13) !important;
}

.profile-view-discover-actions .discover-action-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* Neutralise older view-profile button overrides only inside this new action row */
.profile-view-main .profile-view-discover-actions.action-row .btn:not(.btn-secondary):not(.btn-danger),
.profile-view-main .profile-view-discover-actions.action-row .btn-secondary,
.profile-view-main .profile-view-discover-actions.action-row .btn-danger {
  box-shadow:
    0 12px 28px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
}

@media (max-width: 560px) {
  .profile-view-discover-actions.discover-card-actions.swipe-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .profile-view-discover-actions .discover-action-btn {
    min-height: 42px !important;
    border-radius: 15px !important;
    font-size: 12px !important;
  }

  .profile-view-discover-actions .discover-like-btn,
  .profile-view-discover-actions .discover-message-btn,
  .profile-view-discover-actions .discover-liked-btn {
    font-size: 18px !important;
  }
}

@media (max-width: 390px) {
  .profile-view-discover-actions.discover-card-actions.swipe-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* MMO_VIEW_PROFILE_STATS_AND_INTEREST_SCROLL_V1 */

/* Fix overflowing Location / Looking For cells on expanded profile */
.profile-view .status-list {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
  align-items: stretch !important;
}

.profile-view .status-list div {
  min-width: 0 !important;
  overflow: hidden !important;
}

.profile-view .status-list dd {
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  line-height: 1.18 !important;
}

/* Slightly wider stat cells on desktop so Location / Looking For breathe */
@media (min-width: 901px) {
  .profile-view .status-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Make Interests scroll if a user has selected lots of interests */
.profile-view-main .profile-bio:has(.pills) {
  max-height: 190px !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  padding-right: 12px !important;
  scrollbar-width: thin !important;
}

.profile-view-main .profile-bio:has(.pills) .pills {
  align-content: start !important;
}

/* WebKit scrollbar polish for interests box */
.profile-view-main .profile-bio:has(.pills)::-webkit-scrollbar {
  width: 8px;
}

.profile-view-main .profile-bio:has(.pills)::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255,244,223,.20);
}

.profile-view-main .profile-bio:has(.pills)::-webkit-scrollbar-track {
  background: rgba(0,0,0,.12);
  border-radius: 999px;
}

/* Mobile: keep stat cells readable and interests scrollable */
@media (max-width: 560px) {
  .profile-view .status-list {
    grid-template-columns: 1fr 1fr !important;
  }

  .profile-view .status-list div {
    padding: 10px !important;
  }

  .profile-view .status-list dt {
    font-size: 10px !important;
  }

  .profile-view .status-list dd {
    font-size: 12px !important;
  }

  .profile-view-main .profile-bio:has(.pills) {
    max-height: 170px !important;
  }
}

@media (max-width: 390px) {
  .profile-view .status-list {
    grid-template-columns: 1fr !important;
  }
}

/* MMO_VIEW_PROFILE_DISTANCE_UNDER_LOCATION_V2 */
.profile-distance-under-location {
  display: block;
  margin-top: 4px;
  color: rgba(255,244,223,.58);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.15;
}

.profile-view .status-list dd {
  overflow-wrap: anywhere !important;
  white-space: normal !important;
  line-height: 1.18 !important;
}

/* MMO_PROFILE_MOBILE_PHOTO_DOB_FIX_V2 */
input[type="date"],
.profile-form input[type="date"],
.profile-card input[type="date"],
.panel input[type="date"] {
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

@media (max-width: 560px) {
  .profile-form-grid,
  .form-grid,
  .profile-edit-grid,
  .profile-details-grid {
    grid-template-columns: 1fr !important;
  }

  .profile-form label,
  .panel label,
  .profile-card label {
    min-width: 0 !important;
  }

  .profile-photo-actions,
  .photo-actions,
  .gallery-photo-actions,
  .profile-gallery-actions,
  .profile-image-actions {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin-top: 8px !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .profile-photo-actions .btn,
  .photo-actions .btn,
  .gallery-photo-actions .btn,
  .profile-gallery-actions .btn,
  .profile-image-actions .btn,
  .profile-photo-actions button,
  .photo-actions button,
  .gallery-photo-actions button,
  .profile-gallery-actions button,
  .profile-image-actions button {
    flex: 1 1 120px !important;
    min-height: 36px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
  }
}

/* MMO_PROFILE_MOBILE_DOB_INPUT_FIX_V3 */

/* Stop native date inputs overflowing cards on mobile */
@media (max-width: 560px) {
  input[type="date"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    appearance: none !important;
    -webkit-appearance: none !important;
  }

  /* Make any field wrapper containing a date input shrink properly */
  label:has(input[type="date"]),
  .form-field:has(input[type="date"]),
  .profile-field:has(input[type="date"]),
  .field:has(input[type="date"]),
  .panel:has(input[type="date"]) {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* Force profile page grids to stop creating wide columns */
  .profile-form-grid,
  .profile-edit-grid,
  .profile-details-grid,
  .form-grid,
  .settings-grid,
  .panel-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .profile-form-grid > *,
  .profile-edit-grid > *,
  .profile-details-grid > *,
  .form-grid > *,
  .settings-grid > *,
  .panel-grid > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* Safari/iOS date input internal text can still be wide */
  input[type="date"]::-webkit-date-and-time-value {
    text-align: left !important;
    min-width: 0 !important;
  }

  input[type="date"]::-webkit-calendar-picker-indicator {
    margin-left: 4px !important;
  }
}


/* MMO_PROFILE_MOBILE_PHOTO_ACTION_BUTTONS_V1 */

/* Keep desktop behaviour mostly unchanged */
.photo-tile .photo-actions {
  gap: 8px;
}

/* Mobile: make Set main / Delete buttons clean and usable */
@media (max-width: 560px) {
  .photo-grid {
    gap: 16px !important;
  }

  .photo-tile {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 18px !important;
  }

  .photo-tile img {
    width: 100% !important;
    display: block !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 18px 18px 0 0 !important;
  }

  .photo-tile figcaption {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    background: rgba(18,35,30,.92) !important;
    color: #ffd08a !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    box-shadow: none !important;
  }

  .photo-tile .photo-actions {
    position: static !important;
    inset: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 9px !important;
    background: rgba(0,0,0,.16) !important;
  }

  .photo-tile .photo-actions .btn,
  .photo-tile .photo-actions button {
    width: 100% !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 9px 10px !important;
    border-radius: 13px !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  .photo-tile .photo-actions .btn:not(.btn-secondary),
  .photo-tile .photo-actions button:not(.btn-secondary) {
    background: linear-gradient(180deg, #ffb14e, var(--mmo-sun, #f6a23a)) !important;
    color: #241307 !important;
    border-color: rgba(246,162,58,.42) !important;
  }

  .photo-tile .photo-actions .btn-secondary,
  .photo-tile .photo-actions button.btn-secondary {
    background: rgba(255,244,223,.08) !important;
    color: var(--mmo-cream, #fff4df) !important;
    border-color: rgba(255,244,223,.16) !important;
  }

  /* If only Delete exists because the image is already main, make it full width */
  .photo-tile .photo-actions button:only-child,
  .photo-tile .photo-actions .btn:only-child {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 390px) {
  .photo-tile .photo-actions {
    grid-template-columns: 1fr !important;
  }
}

/* MMO_ADMIN_PHOTO_REVIEW_ACTIONS_BELOW_V1 */
/* Admin photo approvals: keep photos inspectable by moving controls below the image */

.admin-photo-review .photo-grid {
  align-items: start !important;
  gap: 18px !important;
}

.admin-photo-review .photo-tile {
  display: flex !important;
  flex-direction: column !important;
  overflow: visible !important;
  border-radius: 20px !important;
  background: rgba(0,0,0,.10) !important;
  border: 1px solid rgba(255,244,223,.12) !important;
  padding: 8px !important;
}

.admin-photo-review .photo-tile img {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 16px !important;
}

/* Keep status visible but small, not blocking inspection */
.admin-photo-review .photo-tile figcaption {
  position: static !important;
  width: 100% !important;
  max-width: none !important;
  margin: 8px 0 0 !important;
  padding: 7px 9px !important;
  border-radius: 12px !important;
  background: rgba(18,35,30,.88) !important;
  color: #ffd08a !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  box-shadow: none !important;
}

/* Move approval/rejection controls below each photo */
.admin-photo-review .photo-tile .photo-actions {
  position: static !important;
  inset: auto !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.admin-photo-review .photo-tile .photo-actions .btn,
.admin-photo-review .photo-tile .photo-actions button,
.admin-photo-review .photo-tile .photo-actions select {
  width: 100% !important;
  min-height: 40px !important;
  margin: 0 !important;
  border-radius: 13px !important;
  font-size: 12px !important;
  font-weight: 950 !important;
}

.admin-photo-review .photo-tile .photo-actions select {
  padding: 8px 10px !important;
  border: 1px solid rgba(255,244,223,.16) !important;
  background: rgba(18,35,30,.88) !important;
  color: var(--mmo-cream, #fff4df) !important;
}

/* Desktop can use a tidier row if there is enough width */
@media (min-width: 900px) {
  .admin-photo-review .photo-tile .photo-actions {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile: keep everything stacked and readable */
@media (max-width: 560px) {
  .admin-photo-review .photo-grid {
    grid-template-columns: 1fr !important;
  }

  .admin-photo-review .photo-tile {
    padding: 10px !important;
  }

  .admin-photo-review .photo-tile img {
    border-radius: 16px !important;
  }
}

/* MMO_ADMIN_REVIEW_FILTERS_V1 */
.admin-review-filter-bar {
  position: sticky;
  top: 10px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 10px;
  border-radius: 22px;
  border: 1px solid rgba(255,244,223,.14);
  background:
    linear-gradient(180deg, rgba(10,38,31,.94), rgba(10,38,31,.86));
  box-shadow: 0 18px 42px rgba(0,0,0,.22);
  backdrop-filter: blur(14px);
}

.admin-review-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,244,223,.16);
  background: rgba(255,244,223,.07);
  color: var(--mmo-cream, #fff4df);
  text-decoration: none;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

.admin-review-filter-btn.active {
  background: linear-gradient(180deg, #ffb14e, var(--mmo-sun, #f6a23a));
  color: #241307;
  border-color: rgba(246,162,58,.55);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

@media (max-width: 560px) {
  .admin-review-filter-bar {
    top: 6px;
    gap: 7px;
    padding: 8px;
    border-radius: 18px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .admin-review-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .admin-review-filter-btn {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* MMO_ADMIN_REVIEW_FILTERS_NO_DRAFT_V2 */
.admin-review-filter-bar {
  position: sticky;
  top: 10px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 10px;
  border-radius: 22px;
  border: 1px solid rgba(255,244,223,.14);
  background:
    linear-gradient(180deg, rgba(10,38,31,.94), rgba(10,38,31,.86));
  box-shadow: 0 18px 42px rgba(0,0,0,.22);
  backdrop-filter: blur(14px);
}

.admin-review-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,244,223,.16);
  background: rgba(255,244,223,.07);
  color: var(--mmo-cream, #fff4df);
  text-decoration: none;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

.admin-review-filter-btn.active {
  background: linear-gradient(180deg, #ffb14e, var(--mmo-sun, #f6a23a));
  color: #241307;
  border-color: rgba(246,162,58,.55);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

@media (max-width: 560px) {
  .admin-review-filter-bar {
    top: 6px;
    gap: 7px;
    padding: 8px;
    border-radius: 18px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .admin-review-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .admin-review-filter-btn {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* MMO_ADMIN_APPROVAL_HIGHLIGHTS_V1 */

/* Make pending the obvious working queue */
.review-card.needs-approval {
  border-color: rgba(246,162,58,.52) !important;
  background:
    linear-gradient(180deg, rgba(246,162,58,.13), rgba(255,244,223,.045)),
    rgba(0,0,0,.12) !important;
  box-shadow:
    0 22px 58px rgba(0,0,0,.28),
    0 0 0 1px rgba(246,162,58,.12) inset !important;
}

.review-card.needs-approval .review-top {
  border-radius: 20px;
  padding: 10px;
  background: rgba(246,162,58,.08);
  border: 1px solid rgba(246,162,58,.20);
}

.admin-needs-approval-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(246,162,58,.46);
  background: linear-gradient(180deg, rgba(255,177,78,.98), rgba(246,162,58,.94));
  color: #241307;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(0,0,0,.20);
}

.admin-needs-approval-badge::before {
  content: "●";
  margin-right: 7px;
  font-size: 10px;
}

/* Pending photos stand out clearly inside each review card */
.admin-photo-review .photo-tile.admin-photo-status-pending {
  border-color: rgba(246,162,58,.55) !important;
  background:
    linear-gradient(180deg, rgba(246,162,58,.16), rgba(0,0,0,.10)) !important;
  box-shadow:
    0 18px 42px rgba(0,0,0,.25),
    0 0 0 1px rgba(246,162,58,.14) inset !important;
}

.admin-photo-review .photo-tile.admin-photo-status-pending figcaption {
  background: rgba(246,162,58,.18) !important;
  border: 1px solid rgba(246,162,58,.34) !important;
  color: #ffd08a !important;
}

.admin-photo-review .photo-tile.admin-photo-status-pending figcaption::before {
  content: "Needs approval · ";
  color: #ffb14e;
  font-weight: 950;
}

/* Approved/rejected photos are quieter so pending items are easier to spot */
.admin-photo-review .photo-tile.admin-photo-status-approved {
  opacity: .76;
}

.admin-photo-review .photo-tile.admin-photo-status-rejected {
  opacity: .68;
  border-color: rgba(190,55,48,.30) !important;
}

.review-card-status-approved:not(.needs-approval),
.review-card-status-rejected:not(.needs-approval) {
  opacity: .88;
}

/* Quick filter bar: keep Pending visually prominent */
.admin-review-filter-btn.active {
  transform: translateY(-1px);
}

.admin-review-filter-btn[href*="status=pending"] {
  border-color: rgba(246,162,58,.30);
}

@media (max-width: 560px) {
  .admin-needs-approval-badge {
    width: 100%;
    min-height: 34px;
  }

  .review-card.needs-approval .review-top {
    display: grid;
    gap: 8px;
  }
}

/* MMO_ADMIN_PHOTO_REVIEW_TIDY_STATUS_V2 */

/* Make the admin photo tiles consistent and easier to inspect */
.admin-photo-review .photo-grid {
  align-items: start !important;
  gap: 18px !important;
}

.admin-photo-review .photo-tile {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  padding: 8px !important;
  background: rgba(0,0,0,.12) !important;
  border: 1px solid rgba(255,244,223,.12) !important;
  max-width: 190px !important;
}

/* Photo first, full and inspectable */
.admin-photo-review .photo-tile img {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 14px !important;
}

/* Status text below image, not over it and not wrapping badly */
.admin-photo-review .photo-tile figcaption {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 36px !important;
  max-width: none !important;
  margin: 8px 0 0 !important;
  padding: 7px 9px !important;
  border-radius: 12px !important;
  background: rgba(18,35,30,.88) !important;
  border: 1px solid rgba(255,244,223,.10) !important;
  color: #ffd08a !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  box-shadow: none !important;
}

/* Pending photo = clear review target, without broken text layout */
.admin-photo-review .photo-tile.admin-photo-status-pending {
  border-color: rgba(246,162,58,.62) !important;
  background:
    linear-gradient(180deg, rgba(246,162,58,.14), rgba(0,0,0,.12)) !important;
  box-shadow:
    0 18px 42px rgba(0,0,0,.24),
    0 0 0 1px rgba(246,162,58,.16) inset !important;
}

.admin-photo-review .photo-tile.admin-photo-status-pending figcaption {
  background: linear-gradient(180deg, rgba(255,177,78,.98), rgba(246,162,58,.92)) !important;
  color: #241307 !important;
  border-color: rgba(246,162,58,.55) !important;
}

.admin-photo-review .photo-tile.admin-photo-status-pending figcaption::before {
  content: "Needs approval";
  display: inline-flex;
  margin-right: 6px;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(36,19,7,.16);
  color: #241307;
  font-size: 10px;
  font-weight: 950;
}

/* Approved/rejected are quieter */
.admin-photo-review .photo-tile.admin-photo-status-approved {
  opacity: .82 !important;
}

.admin-photo-review .photo-tile.admin-photo-status-approved figcaption {
  color: rgba(255,244,223,.78) !important;
}

.admin-photo-review .photo-tile.admin-photo-status-rejected {
  opacity: .76 !important;
  border-color: rgba(190,55,48,.30) !important;
}

/* Controls below each photo */
.admin-photo-review .photo-tile .photo-actions {
  position: static !important;
  inset: auto !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.admin-photo-review .photo-tile .photo-actions .btn,
.admin-photo-review .photo-tile .photo-actions button,
.admin-photo-review .photo-tile .photo-actions select {
  width: 100% !important;
  min-height: 38px !important;
  margin: 0 !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  font-weight: 950 !important;
}

.admin-photo-review .photo-tile .photo-actions select {
  padding: 8px 10px !important;
  border: 1px solid rgba(255,244,223,.16) !important;
  background: rgba(18,35,30,.88) !important;
  color: var(--mmo-cream, #fff4df) !important;
}

@media (max-width: 560px) {
  .admin-photo-review .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .admin-photo-review .photo-tile {
    max-width: none !important;
  }
}

@media (max-width: 390px) {
  .admin-photo-review .photo-grid {
    grid-template-columns: 1fr !important;
  }
}

/* MMO_ADMIN_PHOTO_TILE_FINAL_TIDY_V3 */

.admin-photo-review .photo-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important;
  gap: 18px !important;
  align-items: start !important;
}

.admin-photo-review .photo-tile {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  overflow: hidden !important;
  width: 100% !important;
  max-width: 210px !important;
  padding: 8px !important;
  border-radius: 18px !important;
  background: rgba(0,0,0,.14) !important;
  border: 1px solid rgba(255,244,223,.12) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.18) !important;
}

.admin-photo-review .photo-tile img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border-radius: 14px !important;
}

.admin-photo-review .admin-photo-caption {
  position: static !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: 100% !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 6px !important;
  border-radius: 12px !important;
  background: rgba(18,35,30,.88) !important;
  border: 1px solid rgba(255,244,223,.10) !important;
  color: var(--mmo-cream, #fff4df) !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  line-height: 1.1 !important;
  text-align: center !important;
  white-space: normal !important;
  box-shadow: none !important;
}

.admin-photo-review .admin-photo-caption::before,
.admin-photo-review .photo-tile figcaption::before {
  content: none !important;
}

.admin-photo-primary,
.admin-photo-state {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 5px 7px !important;
  border-radius: 999px !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.admin-photo-primary {
  background: rgba(255,244,223,.12) !important;
  color: rgba(255,244,223,.88) !important;
}

.admin-photo-state.pending {
  background: linear-gradient(180deg, #ffb14e, var(--mmo-sun, #f6a23a)) !important;
  color: #241307 !important;
}

.admin-photo-state.approved {
  background: rgba(86,163,69,.28) !important;
  color: #dfffd9 !important;
}

.admin-photo-state.rejected {
  background: rgba(190,55,48,.26) !important;
  color: #ffd6d2 !important;
}

.admin-photo-reason-line {
  display: block !important;
  width: 100% !important;
  padding: 7px 8px !important;
  border-radius: 11px !important;
  background: rgba(246,162,58,.12) !important;
  border: 1px solid rgba(246,162,58,.22) !important;
  color: #ffd08a !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

.admin-photo-reason-line::before {
  content: "Reason: " !important;
  opacity: .78 !important;
}

.admin-photo-review .photo-tile.admin-photo-status-pending {
  border-color: rgba(246,162,58,.62) !important;
  background:
    linear-gradient(180deg, rgba(246,162,58,.10), rgba(0,0,0,.13)) !important;
  box-shadow:
    0 18px 42px rgba(0,0,0,.24),
    0 0 0 1px rgba(246,162,58,.12) inset !important;
}

.admin-photo-review .photo-tile.admin-photo-status-approved {
  opacity: .82 !important;
}

.admin-photo-review .photo-tile .photo-actions {
  position: static !important;
  inset: auto !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.admin-photo-review .photo-tile .photo-actions .btn,
.admin-photo-review .photo-tile .photo-actions button,
.admin-photo-review .photo-tile .photo-actions select {
  width: 100% !important;
  min-height: 38px !important;
  margin: 0 !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  font-weight: 950 !important;
}

.admin-photo-review .photo-tile .photo-actions select {
  min-width: 0 !important;
  padding: 8px 10px !important;
  border: 1px solid rgba(255,244,223,.16) !important;
  background: rgba(18,35,30,.88) !important;
  color: var(--mmo-cream, #fff4df) !important;
  text-overflow: ellipsis !important;
}

@media (max-width: 560px) {
  .admin-photo-review .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .admin-photo-review .photo-tile {
    max-width: none !important;
  }
}

@media (max-width: 390px) {
  .admin-photo-review .photo-grid {
    grid-template-columns: 1fr !important;
  }
}

/* MMO_PROFILE_REJECTION_REASON_V1 */

.profile-photo-rejection-reason {
  margin: 8px 0 0;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,92,82,.30);
  background: rgba(190,55,48,.14);
  color: #ffd6d2;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.profile-photo-rejection-reason strong {
  color: #fff4df;
}

.profile-rejection-alert {
  margin-top: 12px;
}

/* Admin approval cards: no separate reason pill on pending photos */
.admin-photo-review .admin-photo-reason-line {
  display: none !important;
}


/* MMO_PROFILE_REJECTION_REASON_VISIBLE_V1 */
/* User's own profile photos: show rejected reasons clearly below the image */

.profile-owner-photo-grid {
  align-items: start !important;
  gap: 18px !important;
}

.profile-owner-photo-grid .photo-tile {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  background: rgba(0,0,0,.14) !important;
  border: 1px solid rgba(255,244,223,.12) !important;
}

.profile-owner-photo-grid .photo-tile img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border-radius: 16px 16px 0 0 !important;
}

.profile-owner-photo-grid .photo-tile figcaption {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 8px 10px !important;
  border-radius: 0 !important;
  background: rgba(18,35,30,.92) !important;
  color: #ffd08a !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  box-shadow: none !important;
}

.profile-owner-photo-grid .profile-photo-rejection-reason {
  position: static !important;
  display: block !important;
  width: auto !important;
  margin: 8px 9px 0 !important;
  padding: 9px 10px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,92,82,.35) !important;
  background: rgba(190,55,48,.18) !important;
  color: #ffd6d2 !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1.25 !important;
  text-align: left !important;
  z-index: auto !important;
}

.profile-owner-photo-grid .profile-photo-rejection-reason strong {
  color: #fff4df !important;
}

.profile-owner-photo-grid .photo-actions {
  position: static !important;
  inset: auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  width: auto !important;
  margin: 8px 9px 9px !important;
  padding: 0 !important;
  background: transparent !important;
}

.profile-owner-photo-grid .photo-actions .btn,
.profile-owner-photo-grid .photo-actions button {
  flex: 1 1 110px !important;
  min-height: 38px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  font-weight: 950 !important;
}

@media (max-width: 560px) {
  .profile-owner-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .profile-owner-photo-grid .photo-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 390px) {
  .profile-owner-photo-grid {
    grid-template-columns: 1fr !important;
  }
}


/* MMO_PROFILE_PHOTO_LIMIT_METADATA_V1 */
.profile-photo-limit-message {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(246,162,58,.32);
  background: rgba(246,162,58,.12);
  color: #ffd08a;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

button:disabled,
input[type="file"]:disabled {
  cursor: not-allowed !important;
  opacity: .58 !important;
}


/* MMO_PROFILE_GENDER_PREFERENCE_V5 */
.profile-preferred-genders-section {
  border-color: rgba(246,162,58,.22);
  background: rgba(255,244,223,.035);
}

.profile-preferred-genders-section .muted {
  margin-top: 4px;
}

.profile-choice-grid {
  margin-top: 12px;
}

.profile-choice-pill span {
  justify-content: center;
  text-align: center;
}

@media (max-width: 560px) {
  .profile-preferred-genders-section .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 380px) {
  .profile-preferred-genders-section .choice-grid {
    grid-template-columns: 1fr;
  }
}

/* MMO_SUPER_ADMIN_ROLE_UI_V7 */
.admin-user-is-super-admin {
  border-color: rgba(246,162,58,.42) !important;
  box-shadow:
    0 18px 45px rgba(0,0,0,.24),
    0 0 0 1px rgba(246,162,58,.12) inset !important;
}

.super-admin-role-pill {
  background: linear-gradient(180deg, #ffb14e, #f6a23a) !important;
  color: #241307 !important;
  border-color: rgba(246,162,58,.55) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

/* MMO_ADMIN_USERS_SEARCH_FILTERS_V5 */
.admin-users-search-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 10px;
  align-items: end;
  margin: 16px 0 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,244,223,.10);
  background: rgba(0,0,0,.10);
}

.admin-users-search-bar label {
  display: grid;
  gap: 6px;
}

.admin-users-search-bar label span {
  font-size: 12px;
  font-weight: 900;
  color: rgba(255,244,223,.72);
}

.admin-users-search-bar input[type="search"] {
  width: 100%;
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,244,223,.14);
  background: rgba(18,35,30,.88);
  color: var(--mmo-cream, #fff4df);
  padding: 10px 12px;
}

.admin-users-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.admin-users-quick-filters a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,244,223,.13);
  background: rgba(0,0,0,.12);
  color: var(--mmo-cream, #fff4df);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.admin-users-quick-filters a.active,
.admin-users-quick-filters a:hover {
  border-color: rgba(246,162,58,.42);
  background: rgba(246,162,58,.15);
  color: #ffd08a;
}

.admin-users-result-summary {
  margin: 0 0 14px;
}

@media (max-width: 680px) {
  .admin-users-search-bar {
    grid-template-columns: 1fr;
  }

  .admin-users-search-bar .btn {
    width: 100%;
  }
}

/* MMO_ADMIN_SETTINGS_MANAGER_PASSWORD_V1 */
.admin-settings-panel .settings-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,244,223,.12);
  background: rgba(0,0,0,.12);
}

.settings-card h2 {
  margin: 0 0 6px;
}

.settings-status {
  display: inline-flex;
  margin-top: 10px;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.settings-status.set {
  background: rgba(86,163,69,.18);
  color: #dfffd9;
  border: 1px solid rgba(86,163,69,.35);
}

.settings-status.not-set {
  background: rgba(246,162,58,.14);
  color: #ffd08a;
  border: 1px solid rgba(246,162,58,.35);
}

.settings-form {
  display: grid;
  gap: 12px;
  max-width: 520px;
}

.settings-form label {
  display: grid;
  gap: 6px;
}

.settings-form label span {
  font-size: 12px;
  font-weight: 900;
  color: rgba(255,244,223,.72);
}

.settings-form input[type="password"] {
  width: 100%;
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,244,223,.14);
  background: rgba(18,35,30,.88);
  color: var(--mmo-cream, #fff4df);
  padding: 10px 12px;
}

@media (max-width: 560px) {
  .settings-form .btn,
  .settings-card .btn {
    width: 100%;
  }
}

/* MMO_ADMIN_MESSAGE_REVIEW_V1 */
.admin-message-review-panel {
  min-height: 60vh;
}

.message-review-lock-card,
.message-review-privacy-note {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,244,223,.12);
  background: rgba(0,0,0,.12);
  margin: 14px 0;
}

.message-review-privacy-note {
  border-color: rgba(246,162,58,.28);
  background: rgba(246,162,58,.10);
  color: #fff4df;
}

.message-review-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.message-review-list,
.message-review-thread {
  border: 1px solid rgba(255,244,223,.10);
  background: rgba(0,0,0,.10);
  border-radius: 20px;
  padding: 14px;
}

.message-review-list h2 {
  margin: 0 0 12px;
}

.message-review-convo {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,244,223,.10);
  color: var(--mmo-cream, #fff4df);
  text-decoration: none;
  margin-bottom: 8px;
  background: rgba(18,35,30,.62);
}

.message-review-convo:hover,
.message-review-convo.active {
  border-color: rgba(246,162,58,.42);
  background: rgba(246,162,58,.12);
}

.message-review-convo span,
.message-review-convo small {
  color: rgba(255,244,223,.70);
}

.message-review-thread-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.message-review-thread-head h2 {
  margin: 0 0 4px;
}

.message-review-thread-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.message-review-transcript {
  display: grid;
  gap: 10px;
}

.message-review-message {
  padding: 13px;
  border-radius: 16px;
  border: 1px solid rgba(255,244,223,.10);
  background: rgba(18,35,30,.72);
}

.message-review-message header,
.message-review-message footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255,244,223,.65);
  font-size: 12px;
}

.message-review-message p {
  margin: 8px 0;
  color: var(--mmo-cream, #fff4df);
  line-height: 1.45;
  white-space: normal;
}

@media (max-width: 900px) {
  .message-review-layout {
    grid-template-columns: 1fr;
  }

  .message-review-thread-head {
    display: grid;
  }

  .message-review-thread-actions .btn {
    flex: 1;
  }
}

/* MMO_ADMIN_MESSAGE_REVIEW_V2 */
.message-review-filter-bar {
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 220px) auto auto;
}

.message-review-filter-bar select {
  width: 100%;
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,244,223,.14);
  background: rgba(18,35,30,.88);
  color: var(--mmo-cream, #fff4df);
  padding: 10px 12px;
}

.message-review-result-summary {
  margin: 0 0 14px;
}

@media (max-width: 760px) {
  .message-review-filter-bar {
    grid-template-columns: 1fr;
  }
}

/* MMO_ADMIN_MESSAGE_REVIEW_V3 */
.message-review-thread-actions form {
  margin: 0;
}

.message-review-danger-btn {
  border-color: rgba(255,93,93,.35) !important;
  background: rgba(255,93,93,.12) !important;
  color: #ffd1d1 !important;
}

.message-review-danger-btn:hover {
  background: rgba(255,93,93,.20) !important;
}

@media (max-width: 700px) {
  .message-review-thread-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .message-review-thread-actions .btn,
  .message-review-thread-actions form {
    width: 100%;
  }
}

/* MMO_ADMIN_MESSAGE_REVIEW_V4 */
.message-review-status-pill {
  display: inline-flex;
  align-items: center;
  margin: 0 4px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  vertical-align: middle;
}

.message-review-status-pill.active {
  background: rgba(86,163,69,.16);
  color: #dfffd9;
  border: 1px solid rgba(86,163,69,.32);
}

.message-review-status-pill.suspended {
  background: rgba(255,93,93,.14);
  color: #ffd1d1;
  border: 1px solid rgba(255,93,93,.32);
}

.message-review-danger-btn:disabled {
  opacity: .55 !important;
  cursor: not-allowed !important;
}

/* MMO_ADMIN_MESSAGE_REVIEW_V5 */
.message-review-activity-btn {
  border-color: rgba(246,162,58,.28) !important;
  background: rgba(246,162,58,.10) !important;
  color: #ffd08a !important;
}

/* MMO_ADMIN_USER_ACTIONS_DROPDOWN_FIXED_V1 */
.admin-user-card {
  align-items: flex-start;
}

.admin-user-profile-preview {
  margin: 8px 0 0;
  color: rgba(255,244,223,.78);
  line-height: 1.45;
  font-size: 13px;
}

.admin-user-actions-wrap {
  position: relative;
  justify-self: end;
  min-width: 150px;
}

.admin-user-actions-dropdown {
  position: relative;
}

.admin-user-actions-trigger {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(246,162,58,.32);
  background: rgba(246,162,58,.13);
  color: #ffd08a;
  font-weight: 950;
  user-select: none;
}

.admin-user-actions-trigger::-webkit-details-marker {
  display: none;
}

.admin-user-actions-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  width: min(260px, 82vw);
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,244,223,.14);
  background: rgba(18,35,30,.98);
  box-shadow: 0 22px 45px rgba(0,0,0,.38);
}

.admin-user-actions-menu form {
  margin: 0;
}

.admin-user-action-item {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 9px 11px;
  border-radius: 12px;
  border: 1px solid rgba(255,244,223,.10);
  background: rgba(255,255,255,.035);
  color: var(--mmo-cream, #fff4df);
  text-decoration: none;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.admin-user-action-item:hover {
  border-color: rgba(246,162,58,.36);
  background: rgba(246,162,58,.12);
  color: #ffd08a;
}

.admin-user-action-item.primary {
  background: rgba(246,162,58,.14);
  color: #ffd08a;
  border-color: rgba(246,162,58,.32);
}

.admin-user-action-item.danger {
  border-color: rgba(255,93,93,.24);
  color: #ffd1d1;
}

.admin-user-action-item.danger:hover {
  background: rgba(255,93,93,.14);
}

.admin-user-action-item:disabled {
  opacity: .48;
  cursor: not-allowed;
}

.admin-user-actions-divider {
  height: 1px;
  background: rgba(255,244,223,.10);
  margin: 3px 0;
}

@media (max-width: 760px) {
  .admin-user-actions-wrap {
    justify-self: stretch;
    width: 100%;
  }

  .admin-user-actions-trigger {
    width: 100%;
  }

  .admin-user-actions-menu {
    position: static;
    width: 100%;
    margin-top: 8px;
  }
}

/* MMO_SUSPENDED_SUPPORT_SYSTEM_V1 */
.mmo-suspended-account-banner {
  border: 1px solid rgba(255,93,93,.32);
  background: rgba(255,93,93,.12);
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 16px;
}

.mmo-suspended-account-banner strong {
  display: block;
  margin-bottom: 6px;
  color: #ffd1d1;
}

.support-thread {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.support-message {
  border: 1px solid rgba(255,244,223,.10);
  border-radius: 18px;
  padding: 13px;
  background: rgba(18,35,30,.68);
}

.support-message.support {
  border-color: rgba(246,162,58,.26);
  background: rgba(246,162,58,.10);
}

.support-message header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255,244,223,.70);
  font-size: 12px;
  margin-bottom: 7px;
}

.support-message p {
  margin: 0;
  line-height: 1.45;
}

.support-admin-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.support-admin-list,
.support-admin-thread {
  border: 1px solid rgba(255,244,223,.10);
  background: rgba(0,0,0,.10);
  border-radius: 20px;
  padding: 14px;
}

.support-thread-link {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,244,223,.10);
  color: var(--mmo-cream, #fff4df);
  text-decoration: none;
  margin-bottom: 8px;
  background: rgba(18,35,30,.62);
}

.support-thread-link:hover,
.support-thread-link.active {
  border-color: rgba(246,162,58,.42);
  background: rgba(246,162,58,.12);
}

.support-thread-link span,
.support-thread-link small {
  color: rgba(255,244,223,.70);
}

@media (max-width: 900px) {
  .support-admin-layout {
    grid-template-columns: 1fr;
  }
}

/* MMO_ADMIN_NAV_SINGLE_LINE_TABS_V1 */
.admin-nav,
.mmo-admin-nav,
.admin-tabs,
.admin-nav-tabs {
  max-width: 100%;
}

.admin-nav a,
.mmo-admin-nav a,
.admin-tabs a,
.admin-nav-tabs a {
  white-space: nowrap;
}

/* Main admin nav generated from includes/admin_nav.php */
.admin-nav-card,
.admin-nav-wrap,
.admin-nav-panel {
  overflow: hidden;
}

.admin-nav-card nav,
.admin-nav-wrap nav,
.admin-nav-panel nav,
nav.admin-nav,
nav.mmo-admin-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.admin-nav-card nav a,
.admin-nav-wrap nav a,
.admin-nav-panel nav a,
nav.admin-nav a,
nav.mmo-admin-nav a {
  flex: 0 0 auto;
  min-width: 0;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
}

.admin-nav-card nav a span,
.admin-nav-wrap nav a span,
.admin-nav-panel nav a span,
nav.admin-nav a span,
nav.mmo-admin-nav a span {
  margin-right: 4px;
}

.admin-nav-card nav a strong,
.admin-nav-wrap nav a strong,
.admin-nav-panel nav a strong,
nav.admin-nav a strong,
nav.mmo-admin-nav a strong {
  font-size: 13px;
  white-space: nowrap;
}

@media (min-width: 1000px) {
  .admin-nav-card nav,
  .admin-nav-wrap nav,
  .admin-nav-panel nav,
  nav.admin-nav,
  nav.mmo-admin-nav {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .admin-nav-card nav,
  .admin-nav-wrap nav,
  .admin-nav-panel nav,
  nav.admin-nav,
  nav.mmo-admin-nav {
    justify-content: flex-start;
  }

  .admin-nav-card nav a,
  .admin-nav-wrap nav a,
  .admin-nav-panel nav a,
  nav.admin-nav a,
  nav.mmo-admin-nav a {
    padding: 8px 10px;
    font-size: 12px;
  }

  .admin-nav-card nav a strong,
  .admin-nav-wrap nav a strong,
  .admin-nav-panel nav a strong,
  nav.admin-nav a strong,
  nav.mmo-admin-nav a strong {
    font-size: 12px;
  }
}

/* MMO_ADMIN_TABS_FIT_CARD_V2 */
.mmo-admin-tabs {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 12px !important;
  border-radius: 28px !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.mmo-admin-tabs a {
  flex: 0 0 auto !important;
  min-width: auto !important;
  white-space: nowrap !important;
  padding: 10px 14px !important;
  gap: 7px !important;
  border-radius: 22px !important;
  font-size: 14px !important;
  line-height: 1 !important;
}

.mmo-admin-tabs a span {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  font-size: 15px !important;
}

.mmo-admin-tabs a strong {
  font-size: 14px !important;
  white-space: nowrap !important;
}

@media (min-width: 1250px) {
  .mmo-admin-tabs {
    justify-content: center !important;
    gap: 9px !important;
  }

  .mmo-admin-tabs a {
    padding: 10px 16px !important;
  }
}

@media (max-width: 1180px) {
  .mmo-admin-tabs {
    gap: 7px !important;
    padding: 10px !important;
  }

  .mmo-admin-tabs a {
    padding: 9px 12px !important;
    font-size: 13px !important;
  }

  .mmo-admin-tabs a strong {
    font-size: 13px !important;
  }

  .mmo-admin-tabs a span {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
  }
}

@media (max-width: 820px) {
  .mmo-admin-tabs {
    justify-content: flex-start !important;
  }
}

/* MMO_ADMIN_TABS_FINAL_FIT_POLISH_V3 */
.mmo-admin-tabs {
  padding: 10px !important;
  gap: 7px !important;
}

.mmo-admin-tabs a {
  padding: 9px 13px !important;
  gap: 6px !important;
}

.mmo-admin-tabs a span {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
}

.mmo-admin-tabs a strong {
  font-size: 13.5px !important;
}

@media (max-width: 1300px) {
  .mmo-admin-tabs a {
    padding: 8px 11px !important;
  }

  .mmo-admin-tabs a strong {
    font-size: 13px !important;
  }

  .mmo-admin-tabs a span {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
  }
}

/* MMO_ADMIN_TAB_BADGES_V1 */
.mmo-admin-tabs a {
  position: relative;
}

.admin-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  margin-left: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffb14e, #f6a23a);
  color: #201307;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(0,0,0,.24);
}

.mmo-admin-tabs a.active .admin-tab-count {
  background: rgba(30, 24, 12, .95);
  color: #ffd08a;
  border: 1px solid rgba(255,208,138,.35);
}

@media (max-width: 1180px) {
  .admin-tab-count {
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    font-size: 11px;
  }
}

/* MMO_ADMIN_TAB_BADGES_OVERLAY_V2 */
.mmo-admin-tabs a {
  position: relative !important;
  padding-right: 18px !important;
}

.mmo-admin-tabs a .admin-tab-count {
  position: absolute !important;
  top: -7px !important;
  right: -5px !important;
  margin-left: 0 !important;
  min-width: 22px !important;
  height: 22px !important;
  padding: 0 6px !important;
  font-size: 11px !important;
  z-index: 3 !important;
  pointer-events: none !important;
}

.mmo-admin-tabs a.active .admin-tab-count {
  top: -8px !important;
  right: -6px !important;
}

@media (max-width: 1300px) {
  .mmo-admin-tabs {
    gap: 6px !important;
  }

  .mmo-admin-tabs a {
    padding: 8px 12px !important;
    padding-right: 16px !important;
  }

  .mmo-admin-tabs a .admin-tab-count {
    min-width: 20px !important;
    height: 20px !important;
    font-size: 10px !important;
    right: -4px !important;
  }
}

/* MMO_ADMIN_SUPPORT_STATUS_UI_V1 */
.support-thread-link strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.support-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.support-status-pill.open {
  background: rgba(89, 210, 151, .16);
  border: 1px solid rgba(89, 210, 151, .34);
  color: #a8ffd0;
}

.support-status-pill.closed {
  background: rgba(255, 244, 223, .08);
  border: 1px solid rgba(255, 244, 223, .16);
  color: rgba(255, 244, 223, .62);
}

.support-thread-link.support-thread-status-closed {
  opacity: .74;
  background: rgba(255, 244, 223, .035);
  border-color: rgba(255, 244, 223, .08);
}

.support-thread-link.support-thread-status-closed:hover,
.support-thread-link.support-thread-status-closed.active {
  opacity: 1;
  background: rgba(255, 244, 223, .07);
  border-color: rgba(255, 244, 223, .18);
}

.support-thread-link.support-thread-status-open {
  border-color: rgba(246,162,58,.20);
}

.support-thread-link.support-thread-status-open.active,
.support-thread-link.support-thread-status-open:hover {
  border-color: rgba(246,162,58,.46);
  background: rgba(246,162,58,.13);
}

.support-close-thread-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  border-color: rgba(89, 210, 151, .28) !important;
  background: rgba(89, 210, 151, .12) !important;
  color: #a8ffd0 !important;
  font-weight: 950;
}

.support-close-thread-btn:hover {
  border-color: rgba(89, 210, 151, .46) !important;
  background: rgba(89, 210, 151, .18) !important;
}

.support-close-thread-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(89, 210, 151, .22);
}

/* MMO_ADMIN_SUPPORT_FILTER_STATUS_V1 */
.support-summary-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.support-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,244,223,.12);
  background: rgba(255,255,255,.035);
  color: var(--mmo-cream, #fff4df);
  text-decoration: none;
  font-weight: 900;
}

.support-filter-pill strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(246,162,58,.16);
  color: #ffd08a;
}

.support-filter-pill.active {
  border-color: rgba(246,162,58,.42);
  background: rgba(246,162,58,.14);
  color: #ffd08a;
}

.support-admin-list {
  max-height: min(68vh, 760px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.support-thread-link time {
  color: rgba(255,244,223,.52);
  font-size: 11px;
  font-weight: 800;
}

.support-thread-link.support-thread-status-closed {
  opacity: .72;
  background: rgba(255,244,223,.035);
  border-color: rgba(255,244,223,.08);
}

.support-thread-link.support-thread-status-closed:hover,
.support-thread-link.support-thread-status-closed.active {
  opacity: 1;
  background: rgba(255,244,223,.07);
  border-color: rgba(255,244,223,.18);
}

.support-thread-link.support-thread-status-open {
  border-color: rgba(246,162,58,.22);
}

.support-thread-link.support-thread-status-open.active,
.support-thread-link.support-thread-status-open:hover {
  border-color: rgba(246,162,58,.46);
  background: rgba(246,162,58,.13);
}

.support-close-thread-btn {
  margin-top: 12px;
  border-color: rgba(255,93,93,.35) !important;
  background: rgba(255,93,93,.13) !important;
  color: #ffd1d1 !important;
  font-weight: 950;
}

.support-close-thread-btn:hover {
  border-color: rgba(255,93,93,.55) !important;
  background: rgba(255,93,93,.20) !important;
}

@media (max-width: 900px) {
  .support-admin-list {
    max-height: 420px;
  }
}

/* MMO_SUPPORT_THREAD_HISTORY_V1 */
.support-user-layout {
  margin-top: 14px;
}

.support-closed-notice {
  border-color: rgba(255,244,223,.14);
  background: rgba(255,244,223,.06);
}

.support-closed-notice strong {
  display: block;
  margin-bottom: 5px;
}

@media (max-width: 900px) {
  .support-user-layout {
    grid-template-columns: 1fr;
  }
}

/* MMO_PROFILE_AS_DASHBOARD_V1 */
.profile-dashboard-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  gap: 16px;
  margin: 16px 0;
}

.profile-dashboard-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .82fr);
  gap: 18px;
  align-items: center;
}

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

.profile-dashboard-stat-grid div {
  border: 1px solid rgba(255,244,223,.10);
  background: rgba(255,255,255,.035);
  border-radius: 16px;
  padding: 12px;
}

.profile-dashboard-stat-grid strong {
  display: block;
  color: #ffd08a;
  font-size: 20px;
  line-height: 1.1;
  margin-bottom: 4px;
}

.profile-dashboard-stat-grid span {
  color: rgba(255,244,223,.68);
  font-size: 12px;
  font-weight: 800;
}

.profile-dashboard-mini-panel .pills {
  margin-top: 10px;
}

.profile-dashboard-location {
  margin-top: 12px;
}

@media (max-width: 980px) {
  .profile-dashboard-summary,
  .profile-dashboard-hero-panel {
    grid-template-columns: 1fr;
  }
}

/* MMO_PROFILE_DASHBOARD_SIMPLIFY_V1 */
.profile-dashboard-summary {
  grid-template-columns: 1fr !important;
}

.profile-dashboard-hero-panel {
  grid-template-columns: 1fr !important;
}

.profile-dashboard-hero-panel .action-row {
  margin-top: 14px;
}

/* MMO_PROFILE_TOP_SUMMARY_CLEANUP_V5 */
.profile-dashboard-summary-simple,
.profile-profile-summary {
  grid-template-columns: 1fr !important;
}

.profile-dashboard-hero-simple,
.profile-profile-hero-panel {
  grid-template-columns: 1fr !important;
}

.profile-dashboard-hero-simple h1 {
  margin-bottom: 14px;
}

.profile-dashboard-hero-simple .action-row {
  margin-top: 0;
}

.profile-profile-stat-grid,
.profile-profile-mini-panel,
.profile-dashboard-stat-grid,
.profile-dashboard-mini-panel {
  display: none !important;
}

/* MMO_PROFILE_PHOTOS_AND_DUPLICATE_INTERESTS_V2 */
.profile-photo-manager-split {
  display: grid !important;
  grid-template-columns: minmax(290px, 440px) minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: start !important;
}

.profile-photo-left-column {
  display: grid;
  gap: 14px;
}

.profile-photo-upload-panel {
  display: grid;
  gap: 10px;
}

.profile-main-photo-wrap {
  width: 100%;
}

.profile-main-photo-tile {
  width: 100%;
  max-width: 440px;
}

.profile-main-photo-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
}

.profile-main-photo-empty {
  min-height: 300px;
  display: grid;
  place-items: center;
  border-radius: 24px;
}

.profile-secondary-photo-grid {
  align-self: start;
}

.profile-secondary-photo-grid .photo-tile img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 900px) {
  .profile-photo-manager-split {
    grid-template-columns: 1fr !important;
  }

  .profile-main-photo-tile {
    max-width: none;
  }
}


/* MMO_RESTORE_EARLY_INTERESTS_LAYOUT_V2 */
.profile-form > .form-section .choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.profile-form > .form-section .choice {
  position: relative;
  display: block;
  cursor: pointer;
  min-width: 0;
}

.profile-form > .form-section .choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.profile-form > .form-section .choice span {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-radius: 16px;
  padding: 12px 13px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: var(--cream);
  font-weight: 900;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

.profile-form > .form-section .choice input:checked + span {
  background: linear-gradient(180deg, #ff9f2e, #ff7a1a);
  color: #201307;
  border-color: rgba(255,190,106,.55);
}

@media (max-width: 900px) {
  .profile-form > .form-section .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .profile-form > .form-section .choice-grid {
    grid-template-columns: 1fr;
  }
}

/* MMO_PROFILE_BUTTON_SPACING_TIDY_V1 */
.profile-save-btn {
  margin-top: 14px;
  margin-bottom: 30px;
}

.profile-form {
  margin-bottom: 28px;
}

.profile-builder-profile,
.profile-builder-dashboard {
  margin-top: 28px;
  clear: both;
}

/* MMO_VIEW_PROFILE_GALLERY_ARROWS_V4 */
.profile-view-photo-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 28px;
}

.profile-view-photo-shell .profile-view-photo {
  width: 100%;
  display: block;
  border-radius: 28px;
  object-fit: cover;
}

.profile-view-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(8, 30, 24, .34);
  color: #fff4df;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 32px rgba(0,0,0,.28);
  font-size: 31px;
  line-height: 1;
  font-weight: 950;
  cursor: pointer;
}

.profile-view-gallery-arrow.prev {
  left: 14px;
}

.profile-view-gallery-arrow.next {
  right: 14px;
}

.profile-view-gallery-arrow:hover {
  background: rgba(246,162,58,.30);
  border-color: rgba(246,162,58,.62);
}

/* Equal-size public profile thumbnails */
.profile-photo-gallery {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 14px !important;
  align-items: stretch !important;
}

.profile-gallery-thumb {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 2px solid rgba(255,255,255,.16) !important;
  background: rgba(255,255,255,.06) !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

.profile-gallery-thumb img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
}

.profile-gallery-thumb.active {
  border-color: rgba(246,162,58,.95) !important;
  box-shadow:
    0 0 0 2px rgba(246,162,58,.18),
    0 12px 28px rgba(0,0,0,.22) !important;
}

@media (max-width: 760px) {
  .profile-view-gallery-arrow {
    width: 44px;
    height: 44px;
    font-size: 25px;
  }

  .profile-view-gallery-arrow.prev {
    left: 10px;
  }

  .profile-view-gallery-arrow.next {
    right: 10px;
  }

  .profile-photo-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }
}

/* MMO_VIEW_PROFILE_GALLERY_HARD_REPAIR_V7 */
.profile-view-photo-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(0,0,0,.14);
}

.profile-view-photo-shell .profile-view-photo {
  width: 100%;
  display: block;
  border-radius: 28px;
  object-fit: cover;
}

.profile-view-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(8,30,24,.36);
  color: #fff4df;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 32px rgba(0,0,0,.28);
  font-size: 31px;
  line-height: 1;
  font-weight: 950;
  cursor: pointer;
}

.profile-view-gallery-arrow.prev {
  left: 14px;
}

.profile-view-gallery-arrow.next {
  right: 14px;
}

.profile-view-gallery-arrow:hover {
  background: rgba(246,162,58,.30);
  border-color: rgba(246,162,58,.62);
}

.profile-photo-gallery {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 14px !important;
  align-items: stretch !important;
}

.profile-gallery-thumb {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 2px solid rgba(255,255,255,.16) !important;
  background: rgba(255,255,255,.06) !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

.profile-gallery-thumb img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
}

.profile-gallery-thumb.active {
  border-color: rgba(246,162,58,.95) !important;
  box-shadow:
    0 0 0 2px rgba(246,162,58,.18),
    0 12px 28px rgba(0,0,0,.22) !important;
}

@media (max-width: 760px) {
  .profile-view-gallery-arrow {
    width: 44px;
    height: 44px;
    font-size: 25px;
  }

  .profile-view-gallery-arrow.prev {
    left: 10px;
  }

  .profile-view-gallery-arrow.next {
    right: 10px;
  }

  .profile-photo-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }
}

/* MMO_SELF_PROFILE_BACK_BUTTON_V2 */
.self-profile-preview-actions {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 14px;
}

.self-profile-preview-actions .btn {
  min-width: 170px;
}

@media (max-width: 700px) {
  .self-profile-preview-actions {
    justify-content: stretch;
  }

  .self-profile-preview-actions .btn {
    width: 100%;
  }
}

/* MMO_PROFILE_WELCOME_STATUS_SIMPLIFY_V1 */
.profile-welcome-status {
  display: grid;
  gap: 4px;
  max-width: 720px;
  margin-top: 12px;
  padding: 13px 15px;
  border-radius: 18px;
  border: 1px solid rgba(255,244,223,.13);
  background: rgba(255,255,255,.04);
}

.profile-welcome-status strong {
  color: #fff4df;
  font-size: 15px;
}

.profile-welcome-status span {
  color: rgba(255,244,223,.70);
  font-size: 13px;
  line-height: 1.35;
}

.profile-welcome-status.is-public {
  border-color: rgba(89,210,151,.30);
  background: rgba(89,210,151,.10);
}

.profile-welcome-status.is-public strong {
  color: #a8ffd0;
}

.profile-welcome-status.is-private {
  border-color: rgba(246,162,58,.34);
  background: rgba(246,162,58,.10);
}

.profile-dashboard-hero-simple h1 {
  margin-bottom: 0 !important;
}

/* MMO_PROFILE_COMPACT_STATUS_AND_PHOTO_UPLOAD_V1 */
.profile-welcome-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.profile-welcome-title-row h1 {
  margin: 0 !important;
}

.profile-welcome-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.profile-welcome-status-pill.is-public {
  color: #a8ffd0;
  background: rgba(89,210,151,.13);
  border: 1px solid rgba(89,210,151,.34);
}

.profile-welcome-status-pill.is-private {
  color: #ffd08a;
  background: rgba(246,162,58,.13);
  border: 1px solid rgba(246,162,58,.38);
}

.profile-welcome-status {
  display: none !important;
}

.profile-photo-upload-below-main {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,244,223,.10);
}

.profile-photo-upload-below-main .photo-upload-form {
  display: grid;
  gap: 10px;
}

.profile-photo-upload-panel .photo-upload-form {
  display: none !important;
}

@media (min-width: 760px) {
  .profile-photo-upload-below-main .photo-upload-form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

/* MMO_PROFILE_PHOTO_MANAGER_FINAL_LAYOUT_V3 */
.profile-photo-manager-final-layout {
  display: grid !important;
  grid-template-columns: minmax(290px, 440px) minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: start !important;
}

.profile-photo-manager-final-layout .profile-photo-left-column {
  grid-column: 1 !important;
  display: grid !important;
  gap: 14px !important;
  align-items: start !important;
}

.profile-photo-manager-final-layout .profile-secondary-photo-grid {
  grid-column: 2 !important;
  align-self: start !important;
  width: 100% !important;
}

.profile-main-photo-tile {
  width: 100%;
  max-width: 440px;
}

.profile-main-photo-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
}

.profile-photo-upload-below-main {
  margin-top: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,244,223,.10);
}

.profile-photo-upload-below-main .photo-upload-form {
  display: grid !important;
  gap: 10px !important;
}

.profile-photo-upload-panel .photo-upload-form {
  display: none !important;
}

@media (min-width: 760px) {
  .profile-photo-upload-below-main .photo-upload-form {
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
  }
}

@media (max-width: 900px) {
  .profile-photo-manager-final-layout {
    grid-template-columns: 1fr !important;
  }

  .profile-photo-manager-final-layout .profile-photo-left-column,
  .profile-photo-manager-final-layout .profile-secondary-photo-grid {
    grid-column: 1 !important;
  }

  .profile-main-photo-tile {
    max-width: none;
  }
}

/* MMO_DISCOVER_CARD_PHOTO_GALLERY_V1 */
.discover-card-photo-gallery {
  position: relative;
  overflow: hidden;
}

.discover-card-photo-gallery img {
  transition: opacity .16s ease;
}

.discover-card-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(8,30,24,.34);
  color: #fff4df;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 28px rgba(0,0,0,.26);
  font-size: 25px;
  line-height: 1;
  font-weight: 950;
  cursor: pointer;
}

.discover-card-gallery-arrow.prev {
  left: 12px;
}

.discover-card-gallery-arrow.next {
  right: 12px;
}

.discover-card-gallery-arrow:hover {
  background: rgba(246,162,58,.30);
  border-color: rgba(246,162,58,.62);
}

@media (max-width: 760px) {
  .discover-card-gallery-arrow {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .discover-card-gallery-arrow.prev {
    left: 9px;
  }

  .discover-card-gallery-arrow.next {
    right: 9px;
  }
}

/* MMO_MATCH_CELEBRATION_V1 */
.match-celebration-wrap {
  padding: 24px 0 40px;
  display: grid;
  place-items: center;
}

.match-celebration-panel {
  width: min(100%, 920px);
  text-align: center;
  overflow: hidden;
  padding: 28px 24px 30px;
}

.match-celebration-panel h1 {
  margin-bottom: 10px;
}

.match-celebration-lead {
  max-width: 720px;
  margin: 0 auto 16px;
}

.match-celebration-illustration {
  max-width: 640px;
  margin: 10px auto 18px;
}

.match-campfire-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 36px rgba(0,0,0,.22));
}

.match-celebration-partner {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  margin: 0 auto 18px;
  text-align: left;
}

.match-celebration-avatar {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center;
  border: 2px solid rgba(255,255,255,.18);
  flex: 0 0 auto;
}

.match-celebration-avatar.fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 22px;
  color: #fff;
  background: rgba(255,255,255,.12);
}

.match-celebration-partner-meta {
  display: grid;
  gap: 4px;
}

.match-celebration-partner-meta strong {
  font-size: 16px;
}

.match-celebration-partner-meta span {
  color: var(--muted-text, #d5dfd8);
  font-size: 14px;
}

.match-celebration-countdown {
  margin: 8px 0 20px;
}

.match-celebration-countdown strong {
  color: #ffcf79;
  font-size: 1.15em;
}

.match-celebration-actions {
  justify-content: center;
  gap: 12px;
}

/* subtle illustration animation */
.match-person-left,
.match-person-right {
  transform-origin: center bottom;
  animation: mmoMatchSway 4.6s ease-in-out infinite;
}

.match-person-right {
  animation-delay: -2.3s;
}

.match-flame-outer,
.match-flame-inner {
  transform-origin: center bottom;
}

.match-flame-outer {
  animation: mmoFlameFlicker 1.25s ease-in-out infinite;
}

.match-flame-inner {
  animation: mmoFlameFlicker 1.05s ease-in-out infinite reverse;
}

.match-spark {
  opacity: .9;
  animation: mmoSparkFloat 3.4s linear infinite;
}

.spark-2 {
  animation-delay: .7s;
}

.spark-3 {
  animation-delay: 1.3s;
}

.match-heart {
  transform-origin: center;
  animation: mmoHeartFloat 3.6s ease-in-out infinite;
}

.heart-2 {
  animation-delay: 1.2s;
}

@keyframes mmoFlameFlicker {
  0%, 100% { transform: scale(1) translateY(0); opacity: 1; }
  25% { transform: scale(.96, 1.06) translateY(-2px); opacity: .94; }
  50% { transform: scale(1.05, .94) translateY(1px); opacity: 1; }
  75% { transform: scale(.98, 1.08) translateY(-3px); opacity: .96; }
}

@keyframes mmoSparkFloat {
  0% { transform: translateY(0) scale(.9); opacity: 0; }
  15% { opacity: .95; }
  100% { transform: translateY(-34px) scale(1.1); opacity: 0; }
}

@keyframes mmoMatchSway {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-1.4deg); }
  50% { transform: rotate(0.8deg); }
  75% { transform: rotate(-0.8deg); }
}

@keyframes mmoHeartFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: .88; }
  50% { transform: translateY(-10px) scale(1.04); opacity: 1; }
}

@media (max-width: 700px) {
  .match-celebration-panel {
    padding: 22px 16px 24px;
  }

  .match-celebration-partner {
    width: 100%;
    justify-content: flex-start;
  }

  .match-celebration-actions {
    flex-direction: column;
  }

  .match-celebration-actions .btn {
    width: 100%;
  }
}

/* MMO_ADMIN_SYSTEM_STATS_PANEL_V1 */
.admin-system-stats-card {
  margin: 0 0 14px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255,244,223,.12);
  background:
    radial-gradient(circle at top left, rgba(246,162,58,.15), transparent 38%),
    rgba(255,255,255,.055);
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
}

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

.admin-system-stats-head h2 {
  margin: 2px 0 0;
  font-size: clamp(20px, 2vw, 28px);
}

.admin-system-stats-head p {
  margin: 0;
  color: rgba(255,244,223,.68);
  font-weight: 700;
  text-align: right;
}

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

.admin-system-stat {
  min-width: 0;
  padding: 13px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,244,223,.11);
  background: rgba(0,0,0,.12);
  display: grid;
  gap: 4px;
}

.admin-system-stat strong {
  color: #fff4df;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 950;
  line-height: 1;
}

.admin-system-stat span {
  color: rgba(255,244,223,.68);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.admin-system-stat.tone-good {
  border-color: rgba(89,210,151,.26);
  background: rgba(89,210,151,.08);
}

.admin-system-stat.tone-live {
  border-color: rgba(89,210,151,.36);
  background: rgba(89,210,151,.12);
  box-shadow: 0 0 0 1px rgba(89,210,151,.12), 0 0 24px rgba(89,210,151,.08);
}

.admin-system-stat.tone-live strong::after {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-left: 8px;
  border-radius: 999px;
  background: #59d297;
  box-shadow: 0 0 14px rgba(89,210,151,.9);
  vertical-align: middle;
}

.admin-system-stat.tone-warm {
  border-color: rgba(246,162,58,.28);
  background: rgba(246,162,58,.10);
}

.admin-system-stat.tone-warn {
  border-color: rgba(255,208,138,.32);
  background: rgba(255,208,138,.10);
}

.admin-system-stat.tone-danger {
  border-color: rgba(255,104,104,.28);
  background: rgba(255,104,104,.09);
}

.admin-system-stat.tone-strong {
  border-color: rgba(255,244,223,.18);
  background: rgba(255,255,255,.08);
}

@media (max-width: 1200px) {
  .admin-system-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .admin-system-stats-head {
    display: grid;
    align-items: start;
  }

  .admin-system-stats-head p {
    text-align: left;
  }

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

/* MMO_ADMIN_SYSTEM_STATS_COMPACT_V1 */
.admin-system-stats-card {
  margin: 0 0 10px !important;
  padding: 12px !important;
  border-radius: 18px !important;
}

.admin-system-stats-head {
  margin-bottom: 10px !important;
  gap: 10px !important;
}

.admin-system-stats-head .eyebrow {
  font-size: 10px !important;
  letter-spacing: .12em !important;
}

.admin-system-stats-head h2 {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.1 !important;
}

.admin-system-stats-head p {
  font-size: 12px !important;
  line-height: 1.25 !important;
}

.admin-system-stats-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  gap: 7px !important;
}

.admin-system-stat {
  padding: 9px 8px !important;
  border-radius: 13px !important;
  gap: 3px !important;
  min-height: 58px !important;
  align-content: center !important;
}

.admin-system-stat strong {
  font-size: 20px !important;
  line-height: 1 !important;
}

.admin-system-stat span {
  font-size: 10.5px !important;
  line-height: 1.15 !important;
  font-weight: 850 !important;
}

.admin-system-stat.tone-live strong::after {
  width: 7px !important;
  height: 7px !important;
  margin-left: 5px !important;
}

@media (min-width: 1450px) {
  .admin-system-stats-grid {
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1200px) {
  .admin-system-stats-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 860px) {
  .admin-system-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .admin-system-stats-head {
    display: grid !important;
    align-items: start !important;
  }

  .admin-system-stats-head p {
    text-align: left !important;
  }
}

@media (max-width: 520px) {
  .admin-system-stats-card {
    padding: 10px !important;
  }

  .admin-system-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .admin-system-stat {
    min-height: 54px !important;
  }
}

/* MMO_ADMIN_STATS_OWN_TAB_V1 */
.admin-stats-page .admin-system-stats-card {
  margin-top: 14px !important;
}

.admin-stats-page .admin-system-stats-head h2 {
  font-size: 24px !important;
}

.admin-stats-page .admin-system-stats-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.admin-stats-page .admin-system-stat {
  min-height: 72px !important;
}

.admin-stats-page .admin-system-stat strong {
  font-size: 28px !important;
}

.admin-stats-page .admin-system-stat span {
  font-size: 12px !important;
}

@media (max-width: 1100px) {
  .admin-stats-page .admin-system-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  .admin-stats-page .admin-system-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* MMO_ADMIN_NAV_SCROLL_ARROWS_V3 */
.admin-tabs-scroll-shell {
  position: relative;
  width: 100%;
}

.admin-tabs-scroll-shell .mmo-admin-tabs {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-left: 34px !important;
  padding-right: 34px !important;
}

.admin-tabs-scroll-shell .mmo-admin-tabs::-webkit-scrollbar {
  display: none;
}

.admin-tabs-scroll-btn {
  position: absolute;
  top: 50%;
  z-index: 8;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(8,30,24,.42);
  color: #fff4df;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 26px rgba(0,0,0,.24);
  font-size: 24px;
  line-height: 1;
  font-weight: 950;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.admin-tabs-scroll-btn.prev {
  left: 0;
}

.admin-tabs-scroll-btn.next {
  right: 0;
}

.admin-tabs-scroll-btn:hover:not(:disabled) {
  background: rgba(246,162,58,.30);
  border-color: rgba(246,162,58,.58);
}

.admin-tabs-scroll-btn:disabled {
  opacity: .16;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 760px) {
  .admin-tabs-scroll-shell .mmo-admin-tabs {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }

  .admin-tabs-scroll-btn {
    width: 30px;
    height: 30px;
    font-size: 21px;
  }
}

/* MMO_PROFILE_HEADLINE_SUGGESTIONS_V1 */
.profile-headline-suggest-field {
  display: grid;
  gap: 9px;
}

.profile-field-title {
  font-weight: 900;
  color: #fff4df;
}

.profile-field-help {
  margin-top: -4px;
  color: rgba(255,244,223,.66);
  font-size: 13px;
  line-height: 1.35;
}

.profile-headline-suggest-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.profile-headline-suggest-select {
  width: 100%;
  min-width: 0;
}

.profile-headline-random-btn {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .profile-headline-suggest-row {
    grid-template-columns: 1fr;
  }

  .profile-headline-random-btn {
    width: 100%;
  }
}

/* MMO_PROFILE_UNSAVED_CHANGES_GUARD_V1 */
.profile-has-unsaved-changes .profile-save-btn {
  box-shadow:
    0 0 0 2px rgba(246,162,58,.25),
    0 12px 28px rgba(246,162,58,.16);
}

.profile-has-unsaved-changes .profile-save-btn::after {
  content: "Unsaved changes";
  display: inline-flex;
  margin-left: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,208,138,.18);
  border: 1px solid rgba(255,208,138,.32);
  color: #ffd08a;
  font-size: 11px;
  font-weight: 900;
  vertical-align: middle;
}

/* MMO_PROFILE_UNSAVED_CHANGES_STYLED_MODAL_V2 */
.profile-unsaved-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  padding: 20px;
}

.profile-unsaved-modal[aria-hidden="false"] {
  display: grid;
}

.profile-unsaved-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(246,162,58,.18), transparent 38%),
    rgba(4, 14, 10, .74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.profile-unsaved-dialog {
  position: relative;
  width: min(100%, 520px);
  border-radius: 28px;
  padding: 24px;
  border: 1px solid rgba(255,244,223,.16);
  background:
    radial-gradient(circle at top left, rgba(246,162,58,.18), transparent 42%),
    linear-gradient(180deg, rgba(32, 65, 51, .96), rgba(13, 32, 24, .98));
  box-shadow: 0 26px 80px rgba(0,0,0,.42);
  text-align: center;
  animation: profileUnsavedIn .18s ease-out;
}

.profile-unsaved-icon {
  width: 66px;
  height: 66px;
  display: inline-grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 22px;
  background: rgba(246,162,58,.16);
  border: 1px solid rgba(246,162,58,.28);
  font-size: 34px;
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
}

.profile-unsaved-copy h2 {
  margin: 0 0 8px;
  color: #fff4df;
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.05;
}

.profile-unsaved-copy p {
  margin: 0 auto 18px;
  max-width: 420px;
  color: rgba(255,244,223,.72);
  font-weight: 700;
  line-height: 1.45;
}

.profile-unsaved-actions {
  display: grid;
  gap: 10px;
}

.profile-unsaved-actions .btn {
  width: 100%;
  justify-content: center;
}

.profile-unsaved-cancel-btn {
  opacity: .9;
}

.profile-unsaved-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: rgba(255,244,223,.72);
  font-size: 13px;
  font-weight: 800;
}

.profile-unsaved-status.is-error {
  color: #ffd08a;
}

.profile-unsaved-modal-open {
  overflow: hidden;
}

.profile-has-unsaved-changes .profile-save-btn {
  box-shadow:
    0 0 0 2px rgba(246,162,58,.25),
    0 12px 28px rgba(246,162,58,.16);
}

.profile-has-unsaved-changes .profile-save-btn::after {
  content: "Unsaved changes";
  display: inline-flex;
  margin-left: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,208,138,.18);
  border: 1px solid rgba(255,208,138,.32);
  color: #ffd08a;
  font-size: 11px;
  font-weight: 900;
  vertical-align: middle;
}

@keyframes profileUnsavedIn {
  from {
    transform: translateY(10px) scale(.98);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@media (min-width: 640px) {
  .profile-unsaved-actions {
    grid-template-columns: 1.2fr 1fr;
  }

  .profile-unsaved-actions .profile-unsaved-cancel-btn {
    grid-column: 1 / -1;
  }
}

/* MMO_PROFILE_UNSAVED_MODAL_LOGO_V1 */
.profile-unsaved-logo-icon {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,244,223,.18) !important;
  padding: 10px !important;
}

.profile-unsaved-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.24));
}

/* ADMIN_PROFILE_PREVIEW_POLISH_V1 */
.admin-preview-profile-page .app-header {
  margin-bottom: 18px;
}

.admin-preview-profile-page .admin-profile-preview-notice {
  padding: 18px 20px;
  margin: 0 0 18px;
  border-radius: 18px;
}

.admin-preview-profile-page .admin-profile-preview-notice strong {
  display: inline-block;
  margin-right: 8px;
}

.admin-preview-profile-page .admin-profile-preview-notice .muted {
  display: block;
  margin-top: 6px;
}

.admin-preview-profile-page .admin-profile-preview-notice .btn {
  margin-top: 12px;
  min-height: 42px;
  padding: 10px 16px;
}

.admin-preview-profile-page .profile-view {
  align-items: stretch;
  gap: 18px;
}

.admin-preview-profile-page .profile-view-photo-panel,
.admin-preview-profile-page .profile-view-main {
  border-radius: 22px;
}

.admin-preview-profile-page .profile-view-placeholder {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(4rem, 10vw, 7rem);
}

.admin-preview-profile-page .profile-view-main {
  padding: 26px;
}

.admin-preview-profile-page .profile-view-main h1 {
  margin-top: 0;
}

.admin-preview-profile-page .profile-view-discover-actions {
  margin-top: 18px;
}

.admin-preview-profile-page .profile-view-discover-actions .btn {
  max-width: 260px;
}

@media (max-width: 800px) {
  .admin-preview-profile-page .admin-profile-preview-notice {
    padding: 16px;
  }

  .admin-preview-profile-page .profile-view {
    gap: 14px;
  }

  .admin-preview-profile-page .profile-view-placeholder {
    min-height: 260px;
  }

  .admin-preview-profile-page .profile-view-main {
    padding: 20px;
  }

  .admin-preview-profile-page .profile-view-discover-actions .btn {
    max-width: none;
    width: 100%;
  }
}

/* ADMIN_PROFILE_PREVIEW_POLISH_V2 */
.admin-preview-profile-page .admin-profile-preview-notice {
  padding: 14px 18px !important;
  margin: 0 0 18px !important;
  border-radius: 16px !important;
  max-width: none;
}

.admin-preview-profile-page .admin-profile-preview-notice p,
.admin-preview-profile-page .admin-profile-preview-notice .muted {
  margin: 4px 0 0 !important;
}

.admin-preview-profile-page .admin-profile-preview-notice .btn {
  margin-top: 10px !important;
  min-height: 40px !important;
  padding: 9px 15px !important;
  width: auto !important;
}

.admin-preview-profile-page .profile-view {
  gap: 18px !important;
}

.admin-preview-profile-page .profile-view-photo-panel {
  min-height: 0 !important;
}

.admin-preview-profile-page .profile-view-placeholder {
  min-height: 360px !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: clamp(4rem, 8vw, 6.5rem) !important;
}

.admin-preview-profile-page .profile-view-main {
  padding: 24px !important;
}

.admin-preview-profile-page .profile-view-main .lead:empty {
  display: none !important;
}

/* Hide normal member interaction controls while an admin is only previewing. */
.admin-preview-profile-page .profile-view-discover-actions form[action="/like.php"],
.admin-preview-profile-page .profile-view-discover-actions a[href^="/report.php"],
.admin-preview-profile-page .profile-view-discover-actions form[action="/block.php"],
.admin-preview-profile-page .profile-view-discover-actions a[href="/discover.php"] {
  display: none !important;
}

.admin-preview-profile-page .profile-view-discover-actions {
  justify-content: flex-start !important;
  margin-top: 18px !important;
}

.admin-preview-profile-page .profile-view-discover-actions .btn {
  max-width: 260px !important;
}

@media (max-width: 800px) {
  .admin-preview-profile-page .profile-view-placeholder {
    min-height: 240px !important;
  }

  .admin-preview-profile-page .admin-profile-preview-notice {
    padding: 13px 14px !important;
  }

  .admin-preview-profile-page .profile-view-main {
    padding: 18px !important;
  }

  .admin-preview-profile-page .profile-view-discover-actions .btn {
    max-width: none !important;
    width: 100% !important;
  }
}

/* AUTH_HELPER_LINK_V1 */
.auth-helper-link {
  margin-top: 14px;
  text-align: center;
}

.auth-helper-link a {
  font-weight: 800;
}

/* AUTH_LINKS_AND_BRAND_ORANGE_V1 */
:root {
  --mmo-brand-orange: #f5a332;
  --mmo-brand-orange-strong: #f5a332;
}

.brand-link span,
.auth-card .brand-link span,
.app-header .brand-link span,
.user-pill span,
.logo-word-outdoors {
  color: var(--mmo-brand-orange) !important;
}

.auth-card a:not(.btn),
.auth-shell a:not(.btn) {
  color: #fff7df;
  text-decoration: none;
  font-weight: 800;
}

.auth-card a:not(.btn):hover,
.auth-shell a:not(.btn):hover {
  color: var(--mmo-brand-orange);
}

.auth-helper-link {
  margin: 18px 0 0;
  text-align: center;
}

.auth-helper-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff7df !important;
  font-weight: 900;
  text-decoration: none !important;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.auth-helper-link a:hover {
  transform: translateY(-1px);
  background: rgba(245, 163, 50, 0.14);
  border-color: rgba(245, 163, 50, 0.5);
  color: var(--mmo-brand-orange) !important;
}

.auth-card .muted a,
.auth-shell .muted a {
  color: #fff7df !important;
  font-weight: 900;
  text-decoration: none !important;
  border-bottom: 2px solid rgba(245, 163, 50, 0.55);
}

.auth-card .muted a:hover,
.auth-shell .muted a:hover {
  color: var(--mmo-brand-orange) !important;
  border-bottom-color: var(--mmo-brand-orange);
}

.auth-card .muted {
  color: rgba(255, 247, 223, 0.72);
}

@media (max-width: 640px) {
  .auth-helper-link a {
    width: 100%;
  }
}

/* BRAND_ORANGE_STANDARDISE_V1 */
:root {
  --orange: #f5a332;
  --mmo-sun: #f5a332;
  --mmo-brand-orange: #f5a332;
  --mmo-brand-orange-strong: #f5a332;
}

.brand-link span,
.auth-card .brand-link span,
.app-header .brand-link span,
.logo-word-outdoors {
  color: #f5a332 !important;
}

/* ADMIN_DASHBOARD_MODERATION_OVERVIEW_V1 */
.admin-overview-panel {
  margin-bottom: 18px;
}

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

.admin-overview-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 118px;
  padding: 16px;
  border-radius: 18px;
  text-decoration: none;
  color: var(--text, #f7fbf7);
  background:
    radial-gradient(circle at top left, rgba(245, 163, 50, 0.18), transparent 45%),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.admin-overview-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 163, 50, 0.55);
  background:
    radial-gradient(circle at top left, rgba(245, 163, 50, 0.28), transparent 48%),
    rgba(255, 255, 255, 0.075);
}

.admin-overview-label {
  font-size: 0.78rem;
  line-height: 1.2;
  color: rgba(255, 247, 223, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
}

.admin-overview-card strong {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  color: #fff7df;
}

.admin-overview-hint {
  margin-top: auto;
  font-size: 0.86rem;
  color: rgba(255, 247, 223, 0.68);
  font-weight: 700;
}

.admin-overview-card-urgent strong,
.admin-overview-card-warning strong {
  color: var(--mmo-brand-orange, #f5a332);
}

.admin-overview-card-danger {
  border-color: rgba(255, 120, 120, 0.25);
}

.admin-overview-card-danger strong {
  color: #ff9f9f;
}

.admin-overview-card-good strong {
  color: #b7f7c5;
}

.admin-overview-card-info strong {
  color: #bfe2ff;
}

@media (max-width: 1100px) {
  .admin-overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .admin-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-overview-card {
    min-height: 104px;
    padding: 14px;
  }
}

/* ADMIN_STATS_COMPACT_MOBILE_TILES_V1 */
.admin-stats-page .admin-overview-panel {
  margin-bottom: 16px;
}

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

.admin-stats-page .admin-system-stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-stats-page .admin-overview-card {
  min-height: 92px;
  padding: 12px 13px;
  border-radius: 15px;
  gap: 5px;
}

.admin-stats-page .admin-overview-label {
  font-size: 0.68rem;
  line-height: 1.15;
  letter-spacing: 0.07em;
}

.admin-stats-page .admin-overview-card strong {
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1;
}

.admin-stats-page .admin-overview-hint {
  font-size: 0.76rem;
  line-height: 1.25;
}

@media (max-width: 1200px) {
  .admin-stats-page .admin-overview-grid,
  .admin-stats-page .admin-system-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .admin-stats-page .panel {
    padding-left: 14px;
    padding-right: 14px;
  }

  .admin-stats-page .admin-overview-grid,
  .admin-stats-page .admin-system-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .admin-stats-page .admin-overview-card {
    min-height: 84px;
    padding: 11px;
    border-radius: 14px;
  }

  .admin-stats-page .admin-overview-label {
    font-size: 0.63rem;
  }

  .admin-stats-page .admin-overview-card strong {
    font-size: 1.55rem;
  }

  .admin-stats-page .admin-overview-hint {
    font-size: 0.7rem;
  }
}

@media (max-width: 390px) {
  .admin-stats-page .admin-overview-grid,
  .admin-stats-page .admin-system-stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-stats-page .admin-overview-card {
    min-height: 76px;
  }
}

/* VERIFICATION_REQUIRED_ACTIONS_V1 */
.verification-required-alert p {
  margin: 8px 0 0;
}

.verification-required-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.verification-required-actions form {
  margin: 0;
}

.verification-required-actions .btn {
  min-height: 42px;
}

@media (max-width: 640px) {
  .verification-required-actions {
    flex-direction: column;
  }

  .verification-required-actions .btn,
  .verification-required-actions form,
  .verification-required-actions button {
    width: 100%;
  }
}

/* VERIFICATION_ACTION_BUTTON_EQUAL_FONT_V1 */
.verification-required-actions .btn,
.verification-required-actions button.btn,
.verification-required-actions a.btn {
  font-size: 0.95rem !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  font-family: inherit !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 11px 16px !important;
}

/* PROFILE_SETUP_CHECKLIST_V2 */
.profile-checklist-v2 {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.profile-checklist-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.profile-checklist-item.is-done {
  background:
    radial-gradient(circle at top left, rgba(183, 247, 197, 0.14), transparent 42%),
    rgba(255, 255, 255, 0.052);
}

.profile-checklist-item.is-needed {
  background:
    radial-gradient(circle at top left, rgba(245, 163, 50, 0.16), transparent 42%),
    rgba(255, 255, 255, 0.055);
}

.profile-checklist-status {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 247, 223, 0.88);
}

.profile-checklist-item.is-done .profile-checklist-status {
  background: rgba(183, 247, 197, 0.16);
  color: #b7f7c5;
}

.profile-checklist-item.is-needed .profile-checklist-status {
  background: rgba(245, 163, 50, 0.16);
  color: var(--mmo-brand-orange, #f5a332);
}

.profile-checklist-copy {
  min-width: 0;
}

.profile-checklist-copy strong {
  display: block;
  color: #fff7df;
  font-size: 0.98rem;
  line-height: 1.25;
}

.profile-checklist-copy span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 247, 223, 0.68);
  font-size: 0.84rem;
  line-height: 1.35;
}

.profile-checklist-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 900;
  color: #102316;
  background: var(--mmo-brand-orange, #f5a332);
  white-space: nowrap;
}

.profile-checklist-action.is-static {
  color: rgba(255, 247, 223, 0.78);
  background: rgba(255, 255, 255, 0.075);
}

@media (max-width: 720px) {
  .profile-checklist-item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .profile-checklist-status {
    width: 30px;
    height: 30px;
  }

  .profile-checklist-action {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* REGISTRATION_LEGAL_CONSENT_V1 */
.legal-consent-box {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.legal-consent-box .check {
  margin: 0;
  align-items: flex-start;
}

.legal-consent-box .check span {
  line-height: 1.4;
}

.legal-consent-box a {
  color: var(--mmo-brand-orange, #f5a332) !important;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 163, 50, 0.55);
}

.legal-consent-box a:hover {
  border-bottom-color: var(--mmo-brand-orange, #f5a332);
}

/* LEGAL_PAGES_V1 */
.legal-page .legal-panel {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.legal-panel h1 {
  margin-bottom: 6px;
}

.legal-panel h2 {
  margin: 26px 0 8px;
  color: #fff7df;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.legal-panel p {
  color: rgba(255, 247, 223, 0.76);
  line-height: 1.65;
}

.legal-links-panel {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.legal-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-links-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #fff7df;
  font-weight: 900;
  text-decoration: none;
}

.legal-links-row a:hover {
  color: var(--mmo-brand-orange, #f5a332);
  border-color: rgba(245, 163, 50, 0.45);
}

@media (max-width: 640px) {
  .legal-links-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .legal-links-row a {
    width: 100%;
  }
}

/* MMO_LEGAL_FOOTER_LINKS_V1 */
.mmo-site-footer {
  margin: 22px auto 0;
  width: min(1120px, 100%);
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 247, 223, 0.66);
}

.mmo-site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.mmo-site-footer-brand {
  font-weight: 900;
  color: #fff7df;
}

.mmo-site-footer-brand span {
  color: var(--mmo-brand-orange, #f5a332);
}

.mmo-site-footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.mmo-site-footer-links a {
  color: rgba(255, 247, 223, 0.76);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
}

.mmo-site-footer-links a:hover {
  color: var(--mmo-brand-orange, #f5a332);
}

@media (max-width: 700px) {
  .mmo-site-footer {
    padding: 16px;
  }

  .mmo-site-footer-inner {
    display: grid;
    gap: 12px;
    text-align: center;
  }

  .mmo-site-footer-links {
    justify-content: center;
  }
}

/* REPORT_SYSTEM_POLISH_NO_RATE_LIMIT_V1 */
.chat-report-btn {
  white-space: nowrap;
}

.chat-safety-actions {
  display: flex;
  justify-content: flex-end;
  margin: -4px 0 14px;
}

@media (max-width: 680px) {
  .chat-safety-actions {
    justify-content: stretch;
  }

  .chat-safety-actions .btn,
  .chat-report-btn {
    width: 100%;
  }
}

/* ADMIN_REPORTS_FILTERS_V1 */
.admin-report-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
}

.admin-report-filter-row .support-filter-pill {
  text-decoration: none;
}

.admin-list .review-card small {
  color: rgba(255, 247, 223, 0.62);
  font-size: 0.8rem;
}

.admin-list .review-card dd a {
  color: var(--mmo-brand-orange, #f5a332);
  font-weight: 900;
  text-decoration: none;
}

.admin-list .review-card dd a:hover {
  text-decoration: underline;
}

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

  .admin-report-filter-row .support-filter-pill {
    width: 100%;
    justify-content: center;
  }
}

/* ADMIN_REPORTS_WORKFLOW_LINKS_V1 */
.admin-report-party-list dd {
  display: grid;
  gap: 5px;
}

.admin-report-party-list dd small {
  color: rgba(255, 247, 223, 0.62);
  font-size: 0.8rem;
}

.admin-report-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.admin-report-quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(245, 163, 50, 0.12);
  border: 1px solid rgba(245, 163, 50, 0.28);
  color: var(--mmo-brand-orange, #f5a332);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.admin-report-quick-links a:hover {
  background: rgba(245, 163, 50, 0.20);
  text-decoration: none;
}

@media (max-width: 680px) {
  .admin-report-quick-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-report-quick-links a {
    justify-content: center;
    width: 100%;
  }
}

/* ADMIN_REPORTS_SUSPEND_ACTION_V2 */
.admin-report-actions {
  align-items: center;
}

.btn-danger {
  background: linear-gradient(135deg, #ff4d4d, #b9142f) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.btn-danger:hover {
  filter: brightness(1.06);
}

@media (max-width: 680px) {
  .admin-report-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-report-actions .btn {
    width: 100%;
  }
}

/* SUSPEND_REASON_PROFILE_BANNER_V1 */
.admin-suspend-reason-form {
  display: grid;
  gap: 8px;
  padding: 8px 0;
}

.admin-suspend-reason-label {
  display: grid;
  gap: 5px;
  padding: 0 10px;
  color: rgba(255, 247, 223, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-suspend-reason-label select {
  width: 100%;
  min-height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.25);
  color: #fff7df;
  padding: 7px 9px;
}

.mmo-suspension-reason-box {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(245, 163, 50, 0.12);
  border: 1px solid rgba(245, 163, 50, 0.28);
}

.mmo-suspension-reason-box span {
  display: block;
  margin-bottom: 4px;
  color: var(--mmo-brand-orange, #f5a332);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mmo-suspension-reason-box p {
  margin: 0;
  color: #fff7df;
  font-weight: 800;
  line-height: 1.45;
}

@media (max-width: 680px) {
  .admin-suspend-reason-label {
    padding: 0;
  }
}

/* MAINTENANCE_LIFECYCLE_PREVIEW_PANEL_V1 */
.maintenance-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.maintenance-preview-card {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.10);
}

.maintenance-preview-card-danger {
  border-color: rgba(255, 84, 84, 0.22);
  background: rgba(255, 84, 84, 0.06);
}

.maintenance-preview-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.maintenance-preview-card-head h2 {
  margin: 0 0 5px;
  font-size: 1rem;
}

.maintenance-preview-card-head strong {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(245, 163, 50, 0.16);
  border: 1px solid rgba(245, 163, 50, 0.30);
  color: var(--mmo-brand-orange, #f5a332);
  font-size: 1.25rem;
  font-weight: 950;
}

.maintenance-preview-list {
  display: grid;
  gap: 8px;
}

.maintenance-preview-row {
  display: grid;
  gap: 4px;
  padding: 10px 11px;
  border-radius: 12px;
  background: rgba(0,0,0,0.16);
  border: 1px solid rgba(255,255,255,0.08);
}

.maintenance-preview-row div {
  display: grid;
  gap: 2px;
}

.maintenance-preview-row span,
.maintenance-preview-row small {
  color: rgba(255,247,223,0.66);
  font-size: 0.82rem;
}

@media (max-width: 760px) {
  .maintenance-preview-grid {
    grid-template-columns: 1fr;
  }

  .maintenance-preview-card-head {
    align-items: center;
  }
}
