:root {
  color-scheme: light;
  --paper: #f7f3ea;
  --paper-deep: #eee8dc;
  --surface: #fffdf8;
  --surface-glass: rgba(255, 253, 248, 0.82);
  --ink: #26322c;
  --ink-soft: #52635b;
  --muted: #89948e;
  --forest: #1f4a3a;
  --green: #2f6b55;
  --green-bright: #46836a;
  --sage: #eaf4ee;
  --sage-deep: #d4e9dc;
  --gold: #d2a955;
  --gold-soft: #f7edce;
  --coral: #ca7b67;
  --coral-soft: #f8e9e3;
  --line: rgba(35, 70, 55, 0.1);
  --shadow: 0 18px 46px rgba(31, 71, 55, 0.1);
  --shadow-strong: 0 24px 64px rgba(24, 55, 42, 0.16);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --nav-bottom: max(5px, env(safe-area-inset-bottom));
  --sticky-topbar-offset: max(45px, calc(env(safe-area-inset-top) + 38px));
  --font-serif: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
}

@property --black-vip-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@property --black-badge-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.expectation-profile-list,
.expectation-detail-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.expectation-editor-section {
  margin-top: 6px;
}

.expectation-editor-section .expectation-profile-list {
  margin-top: 0;
}

.expectation-profile-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.expectation-profile-card > .detail-section-head {
  margin-bottom: 11px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.expectation-profile-card > .detail-section-head h4 {
  color: var(--forest);
  font-size: 18px;
  line-height: 1.4;
}

.expectation-profile-card > .detail-section-head small {
  line-height: 1.5;
}

.expectation-profile-card[data-expect-target="single_male"] {
  border-left: 4px solid #347f78;
}

.expectation-profile-card[data-expect-target="single_female"] {
  border-left: 4px solid #b86f60;
}

.expectation-profile-card[hidden] {
  display: none;
}

.expectation-couple-members,
.expectation-detail-people {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.expectation-couple-list {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}

.expectation-couple-row {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: color-mix(in srgb, var(--surface) 86%, var(--sage));
}

.expectation-couple-row h5 {
  margin: 0 0 8px;
  color: var(--forest);
  font-size: 16px;
}

.expectation-couple-range {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  padding: 6px;
  border-left: 3px solid var(--gender-color);
  border-radius: 9px;
  background: var(--gender-soft);
}

.expectation-couple-range.is-male,
.expectation-couple-options.is-male,
.expectation-couple-detail-row > div > span.is-male {
  --gender-color: #347f78;
  --gender-soft: #eaf5f2;
}

.expectation-couple-range.is-female,
.expectation-couple-options.is-female,
.expectation-couple-detail-row > div > span.is-female {
  --gender-color: #b86f60;
  --gender-soft: #faece7;
}

.expectation-gender-badge {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--gender-color);
  font-size: 16px;
  font-weight: 700;
}

.expectation-slider-control {
  margin-top: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 253, 248, 0.78);
}

.expectation-slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.expectation-slider-head label {
  color: var(--forest);
  font-weight: 700;
}

.expectation-slider-head output {
  color: var(--green);
  font-weight: 750;
}

.expectation-dual-range {
  position: relative;
  height: 38px;
  margin: 7px 11px 0;
}

.expectation-dual-track,
.expectation-dual-fill {
  position: absolute;
  top: 50%;
  height: 7px;
  border-radius: 999px;
  transform: translateY(-50%);
  pointer-events: none;
}

.expectation-dual-track {
  right: 0;
  left: 0;
  background: var(--sage-deep);
}

.expectation-dual-fill {
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.expectation-range {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  height: 38px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.expectation-range::-webkit-slider-runnable-track {
  height: 7px;
  background: transparent;
}

.expectation-range::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  margin-top: -8px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 4px 14px rgba(31, 74, 58, 0.28);
  pointer-events: auto;
  -webkit-appearance: none;
}

.expectation-range::-moz-range-track {
  height: 7px;
  background: transparent;
}

.expectation-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 4px 14px rgba(31, 74, 58, 0.28);
  pointer-events: auto;
}

.expectation-slider-points {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
  color: var(--muted);
}

.expectation-slider-points span {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.expectation-slider-points b {
  color: var(--ink-soft);
  font-size: 16px;
}

.expectation-couple-slider {
  margin-top: 7px;
  padding: 8px;
  border-left: 3px solid var(--gender-color);
  border-radius: 10px;
  background: var(--gender-soft);
}

.expectation-couple-slider.is-male {
  --gender-color: #347f78;
  --gender-soft: #eaf5f2;
}

.expectation-couple-slider.is-female {
  --gender-color: #b86f60;
  --gender-soft: #faece7;
}

.expectation-couple-slider .expectation-slider-control {
  margin-top: 7px;
}

.expectation-couple-range .form-input {
  min-height: 38px;
  padding-inline: 8px;
  text-align: center;
}

.expectation-couple-range span,
.expectation-couple-range small {
  color: var(--muted);
  font-size: 16px;
}

.expectation-couple-options {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: start;
  gap: 5px;
  margin-top: 7px;
  padding: 6px;
  border-left: 3px solid var(--gender-color);
  border-radius: 9px;
  background: var(--gender-soft);
}

.expectation-couple-options .choice-row {
  gap: 5px;
}

.expectation-couple-options .choice-pill {
  min-height: 30px;
  padding-inline: 8px;
  font-size: 16px;
}

.expectation-couple-options.is-male .choice-pill.is-selected {
  background: #347f78;
}

.expectation-couple-options.is-female .choice-pill.is-selected {
  background: #b86f60;
}

.expectation-couple-note {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 5px;
  margin-top: 7px;
}

.expectation-couple-note b {
  padding-top: 10px;
  color: var(--green);
  font-size: 16px;
}

.expectation-couple-note .form-textarea {
  min-height: 72px;
}

.expectation-couple-detail-list {
  display: grid;
  gap: 8px;
}

.expectation-couple-detail-row {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: color-mix(in srgb, var(--surface) 88%, var(--sage));
}

.expectation-couple-detail-row h5 {
  margin: 0 0 7px;
  color: var(--forest);
  font-size: 16px;
}

.form-field-hint {
  display: block;
  margin: -3px 0 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.getalong-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.getalong-selector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 16px;
}

.getalong-selector-head small {
  color: var(--green);
  font-weight: 700;
}

.getalong-tag-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid color-mix(in srgb, var(--getalong-color) 34%, var(--line));
  border-radius: 999px;
  color: var(--getalong-color);
  background: color-mix(in srgb, var(--getalong-color) 7%, #fff);
  font-size: 16px;
  transition: transform 160ms ease, color 160ms ease, background 160ms ease;
}

.getalong-tag-option:disabled {
  cursor: not-allowed;
  opacity: 0.44;
}

.getalong-tag-option i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--getalong-color) 12%, transparent);
}

.getalong-tag-option.is-selected {
  border-color: var(--getalong-color);
  color: #fff;
  background: var(--getalong-color);
  transform: translateY(-1px);
}

.expectation-detail-getalong {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.expectation-detail-getalong > small {
  color: var(--muted);
  font-size: 16px;
}

.expectation-detail-getalong > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.expectation-detail-getalong span {
  padding: 4px 8px;
  border: 1px solid rgba(47, 107, 85, 0.16);
  border-radius: 999px;
  color: var(--forest);
  background: rgba(234, 243, 237, 0.72);
  font-size: 16px;
}

.expectation-detail-getalong.is-couple {
  margin-top: 0;
}

.expectation-couple-detail-row > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.expectation-couple-detail-row > div > span {
  display: grid;
  gap: 2px;
  padding: 7px 8px;
  border-radius: 9px;
  background: var(--gender-soft);
}

.expectation-couple-detail-row small {
  color: var(--gender-color);
  font-size: 16px;
}

.expectation-couple-detail-row b {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.expectation-couple-detail-row > p {
  margin: 0;
  padding: 7px 8px;
  border-radius: 9px;
  color: var(--ink-soft);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.65;
}

.expectation-couple-detail-row > .expectation-detail-getalong > div {
  display: flex;
  grid-template-columns: none;
}

.expectation-couple-detail-row > .expectation-detail-getalong span {
  padding: 4px 8px;
  background: rgba(234, 243, 237, 0.72);
}

.expectation-profile-member,
.expectation-detail-person {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: color-mix(in srgb, var(--surface) 84%, var(--sage));
}

.expectation-profile-member .detail-section-head {
  margin-bottom: 9px;
}

.expectation-profile-member .detail-section-head h4,
.expectation-detail-person > b {
  display: block;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
}

.expectation-profile-card .detail-section-head {
  align-items: flex-start;
}

.expectation-profile-card .detail-section-head > div {
  display: grid;
  gap: 3px;
}

.expectation-profile-card .detail-section-head small {
  color: var(--muted);
  font-size: 16px;
}

.expectation-profile-card .detail-section-head > span {
  flex: 0 0 auto;
  max-width: 42%;
  text-align: right;
}

.expectation-detail-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.expectation-detail-card > .expectation-tag-profile,
.expectation-detail-card > .expectation-couple-tag-grid {
  width: 100%;
}

.expectation-detail-card .expectation-detail-person {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.expectation-detail-card .expectation-detail-person .detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.expectation-detail-card .expectation-detail-person .detail-tags {
  margin-top: 9px;
}

.expectation-detail-card .expectation-detail-person > p {
  margin: 9px 0 0;
}

.expectation-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.expectation-detail-head b {
  color: var(--ink);
  font-size: 16px;
}

.expectation-detail-head small {
  color: var(--muted);
  font-size: 16px;
}

.expectation-detail-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.expectation-detail-list {
  padding-bottom: 4px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 10%, rgba(177, 213, 193, 0.26), transparent 27rem),
    radial-gradient(circle at 92% 52%, rgba(225, 199, 129, 0.14), transparent 24rem),
    var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

html.is-scroll-locked,
body.is-locked {
  overflow: hidden;
  overscroll-behavior: none;
}

body.is-locked {
  position: fixed;
  top: var(--scroll-lock-y, 0);
  right: 0;
  left: 0;
  width: 100%;
}

small {
  font-size: 16px;
}

body.is-page-hidden *,
body.is-page-hidden *::before,
body.is-page-hidden *::after {
  animation-play-state: paused !important;
  transition: none !important;
}

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

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(47, 107, 85, 0.24);
  outline-offset: 2px;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

[hidden] {
  display: none !important;
}

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

.ambient {
  position: fixed;
  z-index: -1;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(14px);
}

.ambient-one {
  top: -18rem;
  left: -12rem;
  background: rgba(203, 226, 211, 0.3);
}

.ambient-two {
  right: -20rem;
  bottom: -16rem;
  background: rgba(245, 226, 174, 0.2);
}

.app-shell {
  position: relative;
  width: min(100%, 520px);
  min-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  overflow: clip;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.72), rgba(247, 243, 234, 0.93)),
    var(--paper);
  box-shadow: 0 0 90px rgba(34, 63, 50, 0.11);
}

.topbar {
  position: sticky;
  z-index: 45;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--sticky-topbar-offset);
  min-height: var(--sticky-topbar-offset);
  gap: 6px;
  padding: max(4px, env(safe-area-inset-top)) 14px 4px;
  border-bottom: 1px solid rgba(35, 70, 55, 0.06);
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 8px 24px rgba(31, 66, 52, 0.035);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.public-announcement {
  position: sticky;
  z-index: 44;
  top: var(--sticky-topbar-offset);
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  margin: 0 10px 8px;
  padding: 0 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0 0 11px 11px;
  color: var(--public-announcement-text, #f4fbf6);
  box-shadow:
    0 5px 14px rgba(20, 53, 39, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.public-announcement[hidden] {
  display: none;
}

.public-announcement-icon {
  display: grid;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  place-items: center;
  border-radius: 7px;
  color: currentColor;
  background: rgba(255, 255, 255, 0.12);
}

.public-announcement-icon svg {
  width: 13px;
  height: 13px;
}

.public-announcement-window {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent);
}

.public-announcement-track {
  display: inline-block;
  min-width: max-content;
  padding-left: 100%;
  font-size: var(--public-announcement-font-size, 14px);
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
  animation: public-announcement-scroll var(--public-announcement-duration, 18s) linear infinite;
  will-change: transform;
}

@keyframes public-announcement-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

body.has-public-announcement .filter-row,
body.has-public-announcement .course-categories {
  top: calc(var(--sticky-topbar-offset) + 42px);
}

@media (prefers-reduced-motion: reduce) {
  .public-announcement-track {
    padding-left: 0;
    overflow: hidden;
    animation: none;
    text-overflow: ellipsis;
  }
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  justify-self: start;
  color: var(--forest);
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(31, 74, 58, 0.14);
}

.brand-wordmark {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.topbar-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  justify-self: end;
}

.topbar .topbar-location {
  min-width: 0;
  max-width: 112px;
  height: 30px;
  min-height: 30px;
  align-self: center;
  margin: 0;
  overflow: hidden;
  gap: 3px;
  padding: 0 8px;
  border-color: rgba(47, 107, 85, 0.12);
  background: rgba(234, 244, 238, 0.62);
  border-radius: 12px;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.64),
    0 3px 9px rgba(34, 69, 54, 0.04);
}

.topbar-location span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-location svg {
  flex: 0 0 auto;
}

.points-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  gap: 4px;
  padding: 0 9px;
  border: 1px solid rgba(47, 107, 85, 0.1);
  border-radius: 999px;
  color: var(--green);
  background: rgba(255, 253, 248, 0.74);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 3px 9px rgba(34, 69, 54, 0.045);
}

.points-gem {
  color: var(--gold);
  font-size: 16px;
  line-height: 1;
}

.round-button {
  position: relative;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.8);
}

.round-button svg {
  width: 16px;
  height: 16px;
}

.notification-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--surface);
  border-radius: 999px;
  color: #fff;
  background: #d94a67;
  box-shadow: 0 3px 8px rgba(188, 49, 81, 0.28);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.notification-badge[hidden] {
  display: none;
}

.notification-dot {
  top: -5px;
  right: -6px;
}

.app-main {
  padding: 0 18px calc(104px + env(safe-area-inset-bottom));
}

.page {
  display: none;
  min-height: calc(100dvh - 150px);
}

.page.is-active {
  display: block;
  animation: page-in 340ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

body.is-dedicated-route .topbar,
body.is-dedicated-route .bottom-nav {
  display: none;
}

body.is-dedicated-route [data-action="logout"] {
  display: none !important;
}

body.is-dedicated-route .app-main {
  padding: 0;
}

.profile-edit-page {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 100% 0, rgba(217, 234, 222, 0.62), transparent 22rem),
    var(--paper);
}

.profile-edit-header {
  position: sticky;
  z-index: 42;
  top: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: max(14px, env(safe-area-inset-top)) 20px 12px;
  border-bottom: 1px solid rgba(35, 70, 55, 0.08);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 10px 28px rgba(31, 66, 52, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.profile-edit-header .overline {
  margin-bottom: 2px;
}

.profile-edit-header h1 {
  margin: 0;
  color: var(--forest);
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 650;
}

.profile-edit-back {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--forest);
  background: rgba(255, 253, 248, 0.82);
}

.profile-edit-back svg {
  width: 20px;
  height: 20px;
}

.profile-edit-autosave {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--green);
  background: var(--sage);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

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

.profile-edit-page .profile-stepper {
  position: relative;
  top: auto;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.overline {
  margin: 0 0 9px;
  color: var(--green);
  font-size: 16px;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(136px, 0.95fr);
  align-items: center;
  gap: 12px;
  margin: 12px 0 10px;
  padding: 8px 10px;
  overflow: hidden;
  border: 1px solid rgba(47, 107, 85, 0.09);
  border-radius: 23px;
  background:
    radial-gradient(circle at 100% 0, rgba(193, 222, 205, 0.48), transparent 43%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.78), rgba(234, 244, 238, 0.68));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.72),
    0 12px 32px rgba(32, 75, 55, 0.06);
}

.home-heading-aside {
  min-width: 0;
}

.home-heading .availability-note {
  min-height: 0;
  align-items: stretch;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 6px 8px;
  border-color: rgba(47, 107, 85, 0.08);
  border-radius: 17px;
  background: rgba(255, 253, 248, 0.62);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.68);
}

.home-heading .availability-note p {
  font-size: 13px;
  line-height: 1.35;
}

.availability-heading {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.availability-heading b {
  font-weight: 750;
  letter-spacing: 0.04em;
}

.availability-heading .live-orbit {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-color: rgba(47, 107, 85, 0.14);
  background: rgba(234, 244, 238, 0.7);
}

.availability-heading .live-orbit::before {
  width: 14px;
  height: 14px;
}

.availability-heading .live-orbit::after {
  width: 24px;
  height: 24px;
}

.home-heading h1,
.page-heading h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(31px, 8.3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.home-heading h1 em {
  position: relative;
  color: var(--green);
  font-style: normal;
}

.home-heading h1 em::after {
  position: absolute;
  right: 1px;
  bottom: -8px;
  left: 3px;
  height: 9px;
  content: "";
  border-radius: 50%;
  background: rgba(184, 211, 195, 0.46);
  transform: rotate(-2deg);
}

.location-chip {
  display: grid;
  min-width: 126px;
  grid-template-columns: 16px 1fr 11px;
  align-items: center;
  gap: 7px;
  margin-bottom: 3px;
  padding: 10px 11px;
  border: 1px solid rgba(47, 107, 85, 0.1);
  border-radius: 17px;
  background: rgba(255, 253, 248, 0.7);
  text-align: left;
  box-shadow: 0 8px 24px rgba(34, 66, 53, 0.05);
}

.location-chip > svg:first-child {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.location-chip .chevron,
.compact-location svg {
  width: 12px;
  height: 12px;
  color: var(--muted);
}

.location-chip span {
  min-width: 0;
}

.location-chip b {
  display: block;
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-chip small {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.availability-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 27px 2px 20px;
  padding: 12px 14px;
  border: 1px solid rgba(47, 107, 85, 0.08);
  border-radius: 18px;
  background: rgba(234, 244, 238, 0.53);
}

.availability-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

.availability-note strong {
  color: var(--ink);
  font-size: 16px;
}

.live-orbit {
  position: relative;
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(47, 107, 85, 0.16);
  border-radius: 50%;
}

.live-orbit::before,
.live-orbit::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(47, 107, 85, 0.12);
  border-radius: 50%;
  animation: live-pulse 2.8s ease-out infinite;
}

.live-orbit::before {
  width: 23px;
  height: 23px;
}

.live-orbit::after {
  width: 39px;
  height: 39px;
  animation-delay: 0.8s;
}

.live-orbit i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 107, 85, 0.12);
}

@keyframes live-pulse {
  0% {
    opacity: 0.8;
    transform: scale(0.75);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

.black-gold-slot {
  position: relative;
  display: grid;
  width: 100%;
  margin-bottom: 24px;
  gap: 3px;
  padding: 6px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 23px;
  color: #fbf2da;
  background:
    radial-gradient(circle at 89% 18%, rgba(233, 202, 117, 0.2), transparent 32%),
    linear-gradient(128deg, #101a16, #1e352b 58%, #18251f);
  box-shadow:
    0 0 0 1px rgba(244, 210, 119, 0.34),
    0 0 24px rgba(226, 180, 76, 0.28),
    0 20px 44px rgba(25, 48, 39, 0.22);
  animation: black-vip-card-glow 2.4s ease-in-out infinite;
}

.black-gold-slot.nearby-card {
  display: grid;
  align-items: stretch;
  gap: 3px;
  padding: 6px;
}

.black-gold-slot::before {
  position: absolute;
  top: -75%;
  left: -30%;
  width: 52%;
  height: 240%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 232, 165, 0.12), transparent);
  transform: rotate(18deg);
  animation: black-gold-shine 7s ease-in-out infinite;
}

.black-gold-slot.nearby-card::before {
  display: none;
}

@keyframes black-gold-shine {
  0%,
  60% {
    transform: translateX(-140%) rotate(18deg);
  }
  90%,
  100% {
    transform: translateX(440%) rotate(18deg);
  }
}

.black-gold-label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0 0 1px;
  text-align: center;
}

.black-gold-label strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 1px 10px;
  border: 1px solid rgba(242, 209, 123, 0.34);
  border-radius: 999px;
  color: #f6d98b;
  background:
    linear-gradient(105deg, rgba(70, 53, 22, 0.36), rgba(125, 95, 37, 0.3), rgba(61, 73, 61, 0.2)),
    rgba(16, 33, 25, 0.42);
  box-shadow:
    inset 0 1px rgba(255, 244, 205, 0.12),
    0 0 12px rgba(228, 186, 83, 0.13);
  font-size: 16px;
  font-weight: 750;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-shadow: 0 1px 8px rgba(246, 207, 111, 0.25);
}

.black-gold-label strong::before,
.black-gold-label strong::after {
  width: 11px;
  height: 1px;
  flex: 0 0 11px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(243, 211, 131, 0.82));
}

.black-gold-label strong::after {
  background: linear-gradient(90deg, rgba(243, 211, 131, 0.82), transparent);
}

.black-gold-label img {
  width: 72px;
}

.black-gold-main {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  align-items: stretch;
  gap: 12px;
}

.black-gold-main .nearby-body {
  gap: 4px;
}

.black-gold-main .nearby-media {
  width: 84px;
  flex: 0 0 84px;
}

.black-gold-main .nearby-avatar {
  border: 1px solid rgba(237, 211, 145, 0.55);
  background: var(--sage);
}

.black-gold-person {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.black-gold-person img {
  width: 49px;
  height: 49px;
  border: 1px solid rgba(237, 211, 145, 0.55);
  border-radius: 17px;
  background: var(--sage);
  object-fit: contain;
}

.black-gold-person b {
  display: block;
  margin-bottom: 3px;
  color: #fff5da;
  font-size: 16px;
}

.black-gold-person small {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(249, 238, 208, 0.68);
  font-size: 16px;
}

.black-gold-arrow {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  margin-left: auto;
  border: 1px solid rgba(236, 211, 145, 0.24);
  border-radius: 50%;
}

.black-gold-arrow svg {
  width: 14px;
  height: 14px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 23px 2px 14px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.quota-tag {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--green);
  background: var(--sage);
  font-size: 16px;
  font-weight: 650;
}

.recommend-stack {
  position: relative;
  isolation: isolate;
  padding-top: 28px;
}

.recommend-stack-layer {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 50%;
  height: calc(100% - 28px);
  pointer-events: none;
  border: 1px solid rgba(47, 107, 85, 0.14);
  border-radius: 22px;
  background: #ebe6da;
  box-shadow: 0 8px 18px rgba(31, 71, 55, 0.075);
  transform: translateX(-50%);
}

.recommend-stack-layer.is-back-two {
  width: calc(100% - 42px);
  opacity: 0.92;
  transform: translateX(-50%) rotate(-0.65deg);
}

.recommend-stack-layer.is-back-one {
  z-index: 1;
  top: 13px;
  width: calc(100% - 20px);
  opacity: 0.96;
  background: #f5f0e5;
  transform: translateX(-50%) rotate(0.45deg);
}

.recommend-stack > .recommend-card {
  z-index: 2;
  filter:
    drop-shadow(0 14px 18px rgba(24, 62, 46, 0.18))
    drop-shadow(0 32px 42px rgba(24, 62, 46, 0.16));
}

.recommend-stack.is-platinum .recommend-stack-layer {
  border-color: rgba(126, 149, 160, 0.18);
  background: #e8f0f2;
}

.recommend-stack.is-black .recommend-stack-layer {
  border-color: rgba(225, 187, 91, 0.28);
  background: #25372e;
  box-shadow: 0 8px 20px rgba(15, 31, 24, 0.14);
}

.recommend-card {
  position: relative;
  min-height: 0;
  padding: 15px 16px;
  overflow: hidden;
  border: 1px solid rgba(47, 107, 85, 0.12);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 90% 5%, rgba(202, 227, 210, 0.5), transparent 31%),
    rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow);
  transition: opacity 250ms ease, transform 250ms ease;
}

.recommend-card.is-changing {
  opacity: 0;
  transform: translateX(-18px) scale(0.98);
}

.recommend-card::after {
  position: absolute;
  top: -55px;
  right: -56px;
  width: 156px;
  height: 156px;
  content: "";
  border: 1px solid rgba(47, 107, 85, 0.1);
  border-radius: 50%;
}

.recommend-profile-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
}

.recommend-avatar-column {
  display: grid;
  width: 82px;
  grid-template-rows: 82px 24px;
  align-content: start;
  gap: 14px;
}

.recommend-avatar-wrap {
  position: relative;
  display: grid;
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  place-items: center;
}

.recommend-avatar-status {
  display: flex;
  width: 82px;
  height: 24px;
  align-items: center;
  justify-content: center;
}

.recommend-avatar-status .online-tag {
  max-width: 82px;
  justify-content: center;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.recommend-avatar-status .online-tag {
  padding: 3px 6px;
}

.recommend-avatar {
  width: 82px;
  height: 82px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 21px;
  background: var(--sage);
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(31, 74, 58, 0.13);
}

.recommend-avatar[hidden] {
  display: none;
}

.recommend-avatar-fallback {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 21px;
  color: var(--green);
  background: var(--sage);
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 650;
  box-shadow: 0 8px 18px rgba(31, 74, 58, 0.13);
}

.recommend-profile-copy {
  display: grid;
  min-width: 0;
  grid-template-rows: 38px 42px 24px;
  gap: 8px;
}

.recommend-name-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 8px;
}

.recommend-name-line h3 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommend-name-line .member-tier-badge {
  justify-self: end;
}

.recommend-name-copy {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  overflow: hidden;
}

.recommend-name-copy h3 {
  flex: 0 1 auto;
}

.recommend-status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.recommend-distance {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green);
  font-size: 16px;
  font-weight: 650;
}

.recommend-distance svg {
  width: 13px;
  height: 13px;
}

.recommend-target-line,
.recommend-bio-line {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommend-bio-line {
  display: -webkit-box;
  min-height: calc(2 * 1.45em);
  margin-top: 6px;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.recommend-target-line {
  color: var(--ink-soft);
  font-weight: 650;
}

.vip-mini {
  width: 62px;
  height: auto;
}

.recommend-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.recommend-meta span {
  text-align: center;
}

.recommend-meta b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 16px;
}

.recommend-meta small {
  color: var(--muted);
  font-size: 16px;
}

.recommend-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-height: 70px;
  overflow: hidden;
}

.recommend-interest-prefix {
  display: inline-flex;
  align-items: center;
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}

.recommend-interest-block {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 5px;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 15px;
  background: rgba(234, 244, 238, 0.68);
}

.recommend-interest-block .soft-tag {
  gap: 4px;
  padding: 3px 7px;
  font-size: 12px;
  line-height: 1;
}

.recommend-detail-button {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
  border: 1px solid rgba(47, 107, 85, 0.14);
  border-radius: 14px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-weight: 700;
}

.recommend-detail-button svg {
  width: 14px;
  height: 14px;
}

.detail-recommendation-actions {
  margin-top: 16px;
}

.recommend-interest-block > small {
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
}

.soft-tag,
.identity-tag,
.online-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1;
}

.soft-tag {
  color: var(--green);
  background: var(--sage);
}

.identity-tag {
  padding: 0;
  background: transparent;
}

.identity-badge {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  overflow: visible;
  vertical-align: middle;
}

.identity-badge > img {
  position: relative;
  z-index: 1;
  display: block;
  width: 78px;
  height: 31px;
  object-fit: contain;
  transform-origin: center;
  will-change: transform, filter;
  animation: identity-badge-breathe 3.4s ease-in-out infinite;
}

.identity-shine {
  position: absolute;
  z-index: 2;
  inset: 1px;
  overflow: hidden;
  border-radius: 999px;
  pointer-events: none;
}

.identity-shine::before {
  position: absolute;
  top: -35%;
  bottom: -35%;
  left: -42%;
  width: 30%;
  content: "";
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.22) 24%,
    rgba(255, 255, 255, 0.92) 50%,
    rgba(255, 255, 255, 0.2) 76%,
    transparent
  );
  transform: translateX(-180%) skewX(-20deg);
  animation: identity-badge-shine 4.2s ease-in-out infinite;
}

.identity-stars {
  position: absolute;
  z-index: 3;
  inset: -5px;
  pointer-events: none;
}

.identity-stars i {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #F04B8E;
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
  filter: drop-shadow(0 1px 3px rgba(196, 44, 105, 0.65));
  animation: identity-star-twinkle 2.4s ease-in-out infinite;
}

.identity-stars i:nth-child(1) {
  top: 0;
  left: 5px;
}

.identity-stars i:nth-child(2) {
  top: -2px;
  right: 12px;
  width: 4px;
  height: 4px;
  animation-delay: -0.8s;
}

.identity-stars i:nth-child(3) {
  right: -1px;
  bottom: 0;
  width: 5px;
  height: 5px;
  animation-delay: -1.55s;
}

.identity-badge.is-small img {
  width: 68px;
  height: 27px;
}

.identity-badge.is-large img {
  width: 90px;
  height: 36px;
}

.identity-badge.identity-couple img,
.filter-identity-icon.identity-couple {
  animation-delay: -0.4s;
}

.identity-badge.identity-single-male img,
.filter-identity-icon.identity-single-male {
  animation-delay: -1.55s;
}

.identity-badge.identity-single-female img,
.filter-identity-icon.identity-single-female {
  animation-delay: -2.7s;
}

.gender-metrics {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  vertical-align: middle;
}

.gender-metric {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  gap: 3px;
  padding: 1px 7px 1px 4px;
  border: 1px solid var(--gender-metric-line);
  border-radius: 999px;
  color: var(--gender-metric-color);
  background: var(--gender-metric-soft);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  white-space: nowrap;
}

.gender-metric.is-male,
.gender-section-title.is-male {
  --gender-metric-color: #276f9f;
  --gender-metric-soft: #eaf5fc;
  --gender-metric-line: rgba(39, 111, 159, 0.2);
}

.gender-metric.is-female,
.gender-section-title.is-female {
  --gender-metric-color: #ad4274;
  --gender-metric-soft: #fcecf4;
  --gender-metric-line: rgba(173, 66, 116, 0.2);
}

.gender-metric b {
  display: flex;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--gender-metric-color);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(0.2px);
}

.gender-metric i {
  font-style: normal;
  font-weight: 600;
}

.gender-metrics.is-compact {
  gap: 3px;
}

.gender-metrics.is-compact .gender-metric {
  min-height: 23px;
  gap: 3px;
  padding: 1px 6px 1px 4px;
  font-size: 13px;
  line-height: 1.25;
}

.gender-metrics.is-compact .gender-metric b {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
  font-size: 13px;
}

.gender-metrics.is-compact .gender-metric i::before {
  margin-right: 3px;
  content: "·";
  opacity: 0.68;
}

.gender-section-title {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gender-metric-color);
}

.filter-chip {
  white-space: nowrap;
}

.filter-chip[data-identity] {
  min-height: 44px;
  padding: 5px 9px;
}

.filter-identity-wrap {
  position: relative;
  display: inline-flex;
  width: 78px;
  height: 32px;
  flex: 0 0 78px;
  align-items: center;
  margin-right: 0;
  overflow: visible;
  vertical-align: middle;
}

.filter-identity-icon {
  width: 78px;
  height: 32px;
  margin-right: 0;
  object-fit: contain;
  transform-origin: center;
  will-change: transform, filter;
  vertical-align: middle;
  animation: identity-badge-breathe 3.4s ease-in-out infinite;
}

.filter-identity-wrap .identity-stars i {
  width: 5px;
  height: 5px;
}

.filter-identity-wrap .identity-stars i:nth-child(2) {
  width: 4px;
  height: 4px;
}

.identity-choice {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@keyframes identity-badge-breathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: saturate(1) drop-shadow(0 1px 1px rgba(19, 42, 31, 0.1));
  }
  50% {
    transform: translateY(-1px) scale(1.045);
    filter: saturate(1.12) drop-shadow(0 3px 4px rgba(19, 42, 31, 0.18));
  }
}

@keyframes identity-badge-shine {
  0%,
  56% {
    opacity: 0;
    transform: translateX(-180%) skewX(-20deg);
  }
  66% {
    opacity: 0.85;
  }
  82% {
    opacity: 0.6;
    transform: translateX(410%) skewX(-20deg);
  }
  84%,
  100% {
    opacity: 0;
    transform: translateX(410%) skewX(-20deg);
  }
}

@keyframes identity-star-twinkle {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.55) rotate(0deg);
  }
  42% {
    opacity: 1;
    transform: scale(1.12) rotate(45deg);
  }
  70% {
    opacity: 0.4;
    transform: scale(0.75) rotate(90deg);
  }
}

@media (hover: hover) {
  .identity-badge:hover > img,
  .filter-chip:hover .filter-identity-icon {
    animation-play-state: paused;
    transform: translateY(-1px) scale(1.1);
    filter: saturate(1.18) drop-shadow(0 4px 6px rgba(19, 42, 31, 0.22));
  }
}

@media (prefers-reduced-motion: reduce) {
  .identity-badge > img,
  .filter-identity-icon,
  .identity-shine::before,
  .identity-stars i {
    animation: none;
  }
}

.online-tag {
  color: var(--green);
  background: var(--sage);
}

.online-tag i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4f9a76;
  box-shadow: 0 0 0 3px rgba(79, 154, 118, 0.12);
}

.recommend-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 7px;
  margin-top: 12px;
}

.feedback-button {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-weight: 650;
  transition: transform 150ms ease, background 150ms ease;
}

.feedback-button:active {
  transform: scale(0.97);
}

.feedback-button svg {
  width: 14px;
  height: 14px;
}

.feedback-button.is-best {
  border-color: transparent;
  color: #fff;
  background: var(--green);
  box-shadow: 0 9px 18px rgba(47, 107, 85, 0.22);
}

.recommend-actions .feedback-button:disabled {
  opacity: 1;
  cursor: not-allowed;
}

.feedback-button.is-selected {
  transform: scale(0.97);
  outline: 2px solid rgba(221, 92, 120, 0.28);
  outline-offset: 2px;
}

.locked-card,
.empty-card {
  display: grid;
  min-height: 245px;
  place-items: center;
  padding: 32px 25px;
  border: 1px dashed rgba(47, 107, 85, 0.18);
  border-radius: var(--radius-xl);
  background: rgba(255, 253, 248, 0.56);
  text-align: center;
}

.guest-recommend-card {
  position: relative;
  display: grid;
  min-height: 250px;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(47, 107, 85, 0.12);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 100% 0, rgba(206, 228, 214, 0.5), transparent 35%),
    rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow);
}

.guest-blur-person {
  position: relative;
  height: 174px;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(155deg, #c9ded0, #8eae9d);
  filter: blur(3px);
}

.guest-blur-person span {
  position: absolute;
  top: 38px;
  left: 50%;
  width: 48px;
  height: 54px;
  border-radius: 48% 48% 42% 42%;
  background: rgba(255, 250, 235, 0.8);
  transform: translateX(-50%);
}

.guest-blur-person i {
  position: absolute;
  bottom: -15px;
  left: 50%;
  width: 108px;
  height: 105px;
  border-radius: 50% 50% 0 0;
  background: rgba(255, 250, 235, 0.72);
  transform: translateX(-50%);
}

.guest-blur-person i:last-child {
  top: 30px;
  bottom: auto;
  width: 70px;
  height: 35px;
  border-radius: 45% 45% 25% 25%;
  background: rgba(40, 75, 59, 0.55);
}

.guest-recommend-copy {
  position: relative;
  z-index: 1;
}

.guest-lock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--green);
  background: var(--sage);
  font-size: 16px;
}

.guest-lock svg {
  width: 11px;
  height: 11px;
}

.guest-recommend-copy h3 {
  margin: 14px 0 7px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
}

.guest-recommend-copy p {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.guest-recommend-copy .primary-button {
  width: auto;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 12px;
}

.locked-card-icon,
.empty-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin: 0 auto 15px;
  border-radius: 21px;
  color: var(--green);
  background: var(--sage);
}

.locked-card-icon svg,
.empty-icon svg {
  width: 26px;
  height: 26px;
}

.locked-card h3,
.empty-card h3 {
  margin: 0 0 7px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
}

.locked-card p,
.empty-card p {
  max-width: 280px;
  margin: 0 auto 17px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.recommend-quota-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.recommend-quota-actions button {
  width: 100%;
  padding-inline: 10px;
}

.recommend-quota-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 20px;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 700;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--green-bright), var(--forest));
  box-shadow: 0 11px 22px rgba(36, 81, 62, 0.2);
}

.secondary-button {
  border: 1px solid rgba(47, 107, 85, 0.16);
  color: var(--green);
  background: rgba(255, 255, 255, 0.7);
}

.primary-button:active,
.secondary-button:active {
  transform: scale(0.97);
}

.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 13px;
}

.quick-card {
  display: flex;
  min-width: 0;
  min-height: 74px;
  align-items: center;
  overflow: hidden;
  gap: 9px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 20px;
  text-align: left;
}

.quick-card-sage {
  background: linear-gradient(145deg, #e5f1e9, #f4f8f4);
}

.quick-card-paper {
  background: rgba(255, 253, 248, 0.78);
}

.quick-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.68);
}

.quick-icon svg {
  width: 15px;
  height: 15px;
}

.quick-copy {
  min-width: 0;
}

.quick-copy b {
  display: block;
  font-size: 16px;
  white-space: nowrap;
}

.quick-copy small {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-badge {
  display: grid;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  place-items: center;
  margin-left: auto;
  border-radius: 50%;
  color: #fff;
  background: var(--coral);
  font-size: 16px;
  font-weight: 700;
}

.quick-arrow {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--muted);
}

.member-banner {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 11px;
  margin-top: 13px;
  padding: 15px 16px;
  overflow: hidden;
  border: 1px solid rgba(198, 161, 84, 0.22);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 120%, rgba(205, 176, 107, 0.2), transparent 37%),
    linear-gradient(115deg, #1d3b2f, #2e5746);
  color: #f9f2df;
  text-align: left;
}

.member-spark {
  color: #e2bd62;
  font-size: 21px;
}

.member-banner b {
  display: block;
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.06em;
}

.member-banner small {
  display: block;
  margin-top: 3px;
  color: rgba(247, 241, 222, 0.58);
  font-size: 16px;
}

.member-cta {
  margin-left: auto;
  padding: 6px 9px;
  border: 1px solid rgba(240, 217, 155, 0.28);
  border-radius: 999px;
  color: #efd38c;
  font-size: 16px;
  white-space: nowrap;
}

.privacy-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 20px 0 3px;
  color: var(--muted);
  font-size: 16px;
}

.privacy-footnote svg {
  width: 12px;
  height: 12px;
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 2px 17px;
}

.page-heading h1 {
  font-size: clamp(31px, 8.3vw, 40px);
}

.compact-location {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  gap: 4px;
  margin-bottom: 5px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: rgba(255, 253, 248, 0.64);
  font-size: 16px;
  font-weight: 650;
}

.nearby-page-heading {
  align-items: center;
  padding: 18px 2px 14px;
}

.nearby-page-heading h1 {
  font-size: clamp(28px, 8vw, 36px);
}

.nearby-heading-summary {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.45;
  text-align: right;
  white-space: nowrap;
}

.nearby-heading-summary span {
  display: block;
}

.nearby-heading-summary strong {
  color: var(--green);
  font-family: var(--font-serif);
  font-size: 18px;
}

.filter-row {
  position: sticky;
  z-index: 32;
  top: var(--sticky-topbar-offset);
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 -18px 9px;
  padding: 4px 18px 5px;
  overflow: hidden;
  background: rgba(247, 243, 234, 0.94);
  box-shadow: 0 8px 18px rgba(31, 66, 52, 0.025);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  scrollbar-width: none;
}

.filter-row > .filter-chip {
  min-height: 38px;
  padding: 0 14px;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.identity-carousel {
  position: relative;
  min-width: 0;
  flex: 1 1 auto;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x;
}

.identity-carousel::-webkit-scrollbar {
  display: none;
}

.identity-carousel-track {
  display: flex;
  width: max-content;
  align-items: center;
  padding: 0 38px;
}

.filter-chip,
.filter-settings {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.6);
  font-size: 16px;
  font-weight: 650;
}

.filter-chip.is-active {
  border-color: transparent;
  color: #fff;
  background: var(--forest);
  box-shadow: 0 8px 16px rgba(31, 74, 58, 0.18);
}

.identity-carousel .filter-chip {
  display: grid;
  width: 84px;
  min-height: 46px;
  flex: 0 0 84px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  scroll-snap-align: center;
}

.identity-carousel .filter-chip.is-active {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.identity-carousel .filter-identity-wrap {
  transform: scale(var(--identity-carousel-scale, 0.8));
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 220ms ease;
  opacity: var(--identity-carousel-opacity, 0.62);
  will-change: transform, opacity;
}

.identity-carousel .filter-chip.is-active .filter-identity-wrap {
  opacity: 1;
}

.filter-settings {
  position: relative;
  display: inline-flex;
  width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border-radius: 50%;
}

.filter-settings svg {
  width: 18px;
  height: 18px;
}

.filter-count {
  position: absolute;
  top: -3px;
  right: -3px;
  display: grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--coral);
  font-size: 12px;
  font-weight: 750;
}

.filter-count:empty {
  display: none;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 9px;
}

.active-filter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border: 0;
  border-radius: 999px;
  color: var(--green);
  background: var(--sage);
  font-size: 16px;
  font-weight: 650;
  cursor: pointer;
}

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

.nearby-card {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 10px 30px rgba(30, 67, 52, 0.055);
  text-align: left;
  animation: card-in 320ms ease both;
}

.nearby-card.vip-frame-gold {
  border-color: rgba(196, 156, 69, 0.34);
}

.nearby-card.vip-frame-silver {
  border-color: rgba(135, 151, 160, 0.38);
  background:
    radial-gradient(circle at 96% 0, rgba(255, 255, 255, 0.96), transparent 34%),
    linear-gradient(132deg, #fbfcfc, #eef2f3 58%, #f9fbfb);
  box-shadow:
    0 0 0 1px rgba(148, 164, 172, 0.13),
    0 10px 30px rgba(74, 92, 101, 0.08);
}

.recommend-card.vip-frame-silver,
.detail-hero.vip-frame-silver {
  border-color: rgba(135, 151, 160, 0.32);
  background:
    radial-gradient(circle at 94% 0, rgba(255, 255, 255, 0.97), transparent 34%),
    linear-gradient(135deg, #fcfdfd, #eef3f4 62%, #fafcfc);
}

.nearby-card.vip-frame-platinum {
  border-color: transparent;
  background:
    radial-gradient(circle at 94% 0, rgba(255, 255, 255, 0.95), transparent 31%),
    radial-gradient(circle at 4% 100%, rgba(184, 202, 209, 0.34), transparent 40%),
    linear-gradient(128deg, #f9fcfd, #e6eef1 52%, #f5f9fa);
  box-shadow:
    0 0 0 1px rgba(126, 149, 160, 0.26),
    0 0 18px rgba(158, 181, 190, 0.22),
    0 14px 34px rgba(43, 72, 84, 0.11);
}

.nearby-card.vip-frame-platinum::before,
.recommend-card.vip-frame-platinum::before,
.detail-hero.vip-frame-platinum::before {
  position: absolute;
  z-index: 4;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(
      120deg,
      #ffffff 0%,
      #8399a3 18%,
      #f9ffff 34%,
      #c8d7dc 50%,
      #718891 68%,
      #ffffff 84%,
      #b8c9cf 100%
    );
  background-size: 240% 240%;
  filter: drop-shadow(0 0 4px rgba(204, 224, 231, 0.72));
  animation: platinum-vip-border-flow 7s linear infinite;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.recommend-card.vip-frame-platinum,
.detail-hero.vip-frame-platinum {
  border-color: transparent;
  background:
    radial-gradient(circle at 90% 7%, rgba(255, 255, 255, 0.95), transparent 34%),
    radial-gradient(circle at 0 100%, rgba(174, 196, 204, 0.3), transparent 42%),
    linear-gradient(135deg, #fbfdfe, #e7eff2 55%, #f7fafb);
  box-shadow:
    0 0 0 1px rgba(126, 149, 160, 0.24),
    0 0 22px rgba(158, 181, 190, 0.2),
    var(--shadow);
}

@keyframes platinum-vip-border-flow {
  to {
    background-position: 240% 50%;
  }
}

.nearby-card.vip-frame-black {
  border-color: transparent;
  background:
    radial-gradient(circle at 100% 0, rgba(230, 198, 112, 0.15), transparent 37%),
    linear-gradient(120deg, #17251f, #273a31);
  color: #f4ecda;
  box-shadow:
    0 0 0 1px rgba(244, 210, 119, 0.34),
    0 0 24px rgba(226, 180, 76, 0.28),
    0 16px 42px rgba(15, 31, 24, 0.24);
  animation:
    card-in 320ms ease both,
    black-vip-card-glow 2.4s ease-in-out infinite 320ms;
}

.nearby-card.vip-frame-black .nearby-sub,
.nearby-card.vip-frame-black .nearby-extra,
.nearby-card.vip-frame-black .nearby-online-status,
.nearby-card.vip-frame-black .nearby-bio,
.nearby-card.vip-frame-black .distance-label {
  color: rgba(247, 240, 220, 0.58);
}

.nearby-card.vip-frame-black .nearby-name {
  color: #fff6df;
}

.nearby-card.vip-frame-black .unlock-hint.is-unlocked {
  color: #a8d8b9;
}

.nearby-card.vip-frame-black::before,
.recommend-card.vip-frame-black::before,
.detail-hero.vip-frame-black::before,
.black-gold-slot::after {
  position: absolute;
  z-index: 4;
  inset: 0;
  padding: 3px;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  background:
    conic-gradient(
      from var(--black-vip-angle),
      #62481d 0deg,
      #d8aa4d 42deg,
      #fff7d6 72deg,
      #f3d887 96deg,
      #8a6225 135deg,
      #4c3718 185deg,
      #c18d37 230deg,
      #fff2bd 258deg,
      #d7a643 285deg,
      #62481d 330deg,
      #62481d 360deg
    );
  filter: drop-shadow(0 0 5px rgba(255, 220, 123, 0.66));
  animation: black-vip-border-spin 2.7s linear infinite;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.recommend-card.vip-frame-black,
.detail-hero.vip-frame-black {
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(244, 210, 119, 0.34),
    0 0 24px rgba(226, 180, 76, 0.26),
    var(--shadow);
  animation: black-vip-card-glow 2.4s ease-in-out infinite;
}

.recommend-card.vip-frame-black {
  color: #f4ecda;
  background:
    radial-gradient(circle at 100% 0, rgba(230, 198, 112, 0.15), transparent 37%),
    linear-gradient(120deg, #17251f, #273a31);
}

.recommend-card.vip-frame-black .recommend-name-line h3 {
  color: #fff6df;
}

.recommend-card.vip-frame-black .recommend-target-line,
.recommend-card.vip-frame-black .recommend-bio-line {
  color: rgba(247, 240, 220, 0.7);
}

.recommend-card.vip-frame-black .recommend-distance {
  color: #f0d28b;
}

.recommend-card.vip-frame-black .recommend-avatar-status .online-tag {
  color: #f0d28b;
  background: rgba(255, 255, 255, 0.07);
}

.recommend-card.vip-frame-black .recommend-interest-block {
  background: rgba(255, 255, 255, 0.065);
}

.recommend-stack.is-black .recommend-interest-block {
  background: rgba(255, 255, 255, 0.065);
}

.recommend-card.vip-frame-black .recommend-interest-block > small {
  color: #f0d28b;
}

.recommend-card.vip-frame-black .recommend-detail-button {
  border-color: rgba(250, 170, 108, 0.34);
  color: #ffc998;
  background: rgba(237, 130, 70, 0.13);
  box-shadow:
    0 1px 0 rgba(255, 224, 193, 0.08) inset,
    0 8px 18px rgba(151, 69, 31, 0.14);
}

.recommend-stack-layer {
  height: var(--recommend-card-height, 350px);
}

.recommend-card {
  display: grid;
  height: var(--recommend-card-height, 350px) !important;
  min-height: var(--recommend-card-height, 350px) !important;
  max-height: var(--recommend-card-height, 350px) !important;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 101px 48px 60px 40px 46px;
  align-content: center;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 4%, rgba(192, 226, 205, 0.44), transparent 33%),
    radial-gradient(circle at 0 100%, rgba(241, 223, 169, 0.16), transparent 38%),
    linear-gradient(155deg, #fffefa 0%, #f6faf5 58%, #edf5ef 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 20px 46px rgba(24, 60, 45, 0.12);
}

.recommend-card::after {
  top: -64px;
  right: -48px;
  width: 174px;
  height: 174px;
  border-color: rgba(47, 107, 85, 0.075);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.42), transparent 67%);
}

.recommend-profile-row {
  display: grid;
  min-width: 0;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  height: 105px;
  align-items: center;
  padding: 4px 2px 10px;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid rgba(47, 107, 85, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
}

.recommend-profile-copy {
  display: grid;
  min-width: 0;
  grid-template-rows: 24px 22px 22px;
  align-content: center;
  gap: 4px;
}

.recommend-avatar-column {
  position: relative;
  display: block;
  width: 82px;
  height: 82px;
  align-self: center;
}

.recommend-avatar-wrap,
.recommend-avatar,
.recommend-avatar-fallback {
  width: 82px;
  height: 82px;
  border-radius: 10px;
}

.recommend-avatar-status {
  position: absolute;
  right: 50%;
  bottom: -3px;
  width: 78px;
  height: 18px;
  transform: translateX(50%);
}

.recommend-avatar-status .online-tag {
  max-width: 78px;
  min-height: 18px;
  padding: 2px 2px;
  gap: 2px;
  color: #eff9f2;
  background: transparent;
  box-shadow: none;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-shadow:
    0 1px 2px rgba(4, 18, 11, 1),
    0 2px 6px rgba(4, 18, 11, 0.88),
    0 0 10px rgba(4, 18, 11, 0.58);
}

.recommend-avatar-status .online-tag i {
  width: 5px;
  height: 5px;
  background: #8fe1a8;
}

.recommend-name-line {
  height: 24px;
  align-self: center;
  overflow: hidden;
}

.recommend-name-line h3 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-shadow: none;
}

.recommend-card .member-tier-badge {
  min-height: 18px;
  gap: 2px;
  padding: 0 5px;
  font-size: 10px;
  line-height: 1;
}

.recommend-card .member-tier-badge i {
  font-size: 8px;
}

.recommend-status-line {
  min-width: 0;
  height: 22px;
  flex: 1 1 auto;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2px;
  overflow: hidden;
}

.recommend-status-line .gender-metrics {
  align-items: center;
  flex-wrap: nowrap;
}

.recommend-status-line .gender-metric {
  min-height: 15px;
  gap: 2px;
  padding: 0 4px 0 2px;
  font-size: 10px;
  line-height: 1;
}

.recommend-status-line .gender-metric b {
  width: 13px;
  height: 13px;
  flex-basis: 13px;
  font-size: 9px;
}

.recommend-compact-meta {
  display: flex;
  min-width: 0;
  height: 22px;
  align-items: center;
  padding-left: 1px;
  overflow: hidden;
}

.recommend-compact-meta .gender-metrics {
  min-width: 0;
  flex-wrap: nowrap;
  align-items: center;
  overflow: hidden;
}

.recommend-compact-meta .gender-metric {
  min-height: 20px;
  gap: 3px;
  padding: 0 5px 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  line-height: 1;
}

.recommend-compact-meta .gender-metric.is-male {
  color: #276f9f;
  background: transparent;
}

.recommend-compact-meta .gender-metric.is-female {
  color: #ad4274;
  background: transparent;
}

.recommend-compact-meta .gender-metric b {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  font-size: 11px;
}

.recommend-target-line {
  min-width: 0;
  height: 22px;
  max-width: none;
  padding-left: 1px;
  overflow: hidden;
  color: #607069;
  font-size: 12px;
  font-weight: 600;
  line-height: 22px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommend-bottom-row {
  display: grid;
  min-width: 0;
  height: 12px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.12fr) minmax(90px, 0.88fr);
  align-items: center;
  gap: 6px;
  overflow: hidden;
}

.recommend-bio-line {
  display: -webkit-box;
  min-height: 40px;
  max-height: 40px;
  align-self: center;
  margin: 0;
  padding: 2px 8px 2px 11px;
  overflow: hidden;
  border: 0;
  border-left: 2px solid rgba(47, 107, 85, 0.42);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #607069;
  font-size: 15px;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.recommend-interest-block {
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  margin: 0;
  padding: 5px 2px;
  overflow: hidden;
  border: 0;
  border-top: 1px solid rgba(47, 107, 85, 0.09);
  border-bottom: 1px solid rgba(47, 107, 85, 0.09);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.recommend-tags {
  max-height: 40px;
  flex-wrap: wrap;
  gap: 3px 7px;
  overflow: hidden;
}

.recommend-interest-prefix {
  color: #286047;
  font-size: 12px;
  font-weight: 750;
  line-height: 16px;
}

.recommend-interest-block .soft-tag {
  min-height: 16px;
  gap: 0;
  padding: 1px 0;
  border: 0;
  border-radius: 0;
  color: #405f52;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  line-height: 14px;
}

.recommend-card > .recommend-detail-button {
  min-height: 40px;
  height: 40px;
  margin-top: 0;
  width: 40%;
  padding: 0 8px;
  justify-self: center;
  gap: 7px;
  border: 1px solid rgba(220, 117, 58, 0.26);
  border-radius: 999px;
  color: #c9632d;
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.94), rgba(255, 239, 225, 0.88));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.86) inset,
    0 7px 16px rgba(191, 91, 39, 0.1);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.recommend-card > .recommend-detail-button svg {
  width: 12px;
  height: 12px;
  padding: 4px;
  box-sizing: content-box;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #ee975d, #dc7038);
  box-shadow: 0 3px 8px rgba(196, 87, 38, 0.2);
}

.recommend-card > .recommend-actions {
  position: relative;
  z-index: 1;
  min-height: 42px;
  margin-top: 0;
  padding: 0;
  gap: 5px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.recommend-card > .recommend-actions .feedback-button {
  min-height: 42px;
  height: 42px;
  gap: 4px;
  padding: 0 4px;
  border: 1px solid rgba(47, 107, 85, 0.11);
  border-radius: 12px;
  color: #52645b;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 3px 9px rgba(34, 70, 54, 0.055);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.recommend-card > .recommend-actions .feedback-button svg {
  width: 13px;
  height: 13px;
  padding: 2px;
  box-sizing: content-box;
  border-radius: 50%;
  background: rgba(47, 107, 85, 0.07);
}

.recommend-card > .recommend-actions .feedback-button[data-feedback="no"] {
  border-color: rgba(190, 103, 83, 0.14);
  color: #a15d4e;
  background: rgba(252, 240, 235, 0.76);
}

.recommend-card > .recommend-actions .feedback-button[data-feedback="no"] svg {
  background: rgba(202, 123, 103, 0.12);
}

.recommend-card > .recommend-actions .feedback-button.is-best {
  border-color: rgba(196, 61, 89, 0.3);
  color: #fff;
  background: linear-gradient(135deg, #ee6a82 0%, #d94a67 58%, #c63d5b 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 8px 18px rgba(198, 61, 91, 0.23);
}

.recommend-card > .recommend-actions .feedback-button.is-best svg {
  background: rgba(255, 255, 255, 0.14);
}

.recommend-card.vip-frame-gold {
  border-color: rgba(196, 156, 69, 0.3);
  background:
    radial-gradient(circle at 100% 0, rgba(237, 209, 137, 0.34), transparent 36%),
    linear-gradient(145deg, #fffdf7, #f8f1df 58%, #fcfaf3);
}

.recommend-card.vip-frame-gold .recommend-profile-row {
  border-bottom-color: rgba(174, 132, 43, 0.18);
  background: transparent;
}

.recommend-card.vip-frame-silver .recommend-profile-row {
  border-bottom-color: rgba(105, 129, 140, 0.18);
  background: transparent;
}

.recommend-card.vip-frame-platinum .recommend-profile-row {
  border-bottom-color: rgba(60, 137, 153, 0.18);
  background: transparent;
}

.recommend-card.vip-frame-black .recommend-profile-row {
  border-bottom-color: rgba(242, 209, 123, 0.14);
  background: transparent;
  box-shadow: none;
}

.recommend-card.vip-frame-black .recommend-compact-meta .gender-metric.is-male {
  color: #b9e5ff;
}

.recommend-card.vip-frame-black .recommend-compact-meta .gender-metric.is-female {
  color: #ffc5dc;
}

.recommend-card.vip-frame-black .recommend-bio-line {
  border: 0;
  border-left-color: rgba(242, 209, 123, 0.42);
  background: transparent;
  box-shadow: none;
}

.recommend-card.vip-frame-black .recommend-interest-block {
  border: 0;
  border-top: 1px solid rgba(242, 209, 123, 0.1);
  border-bottom: 1px solid rgba(242, 209, 123, 0.1);
  background: transparent;
}

.recommend-card.vip-frame-black .recommend-interest-block .soft-tag {
  color: #f0d28b;
  background: transparent;
}

.recommend-card.vip-frame-black .recommend-avatar-status .online-tag {
  color: #f5edda;
  background: transparent;
  box-shadow: none;
}

.recommend-card.vip-frame-black .recommend-actions {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.recommend-card.vip-frame-black > .recommend-actions .feedback-button {
  border-color: rgba(242, 209, 123, 0.12);
  color: rgba(255, 246, 223, 0.76);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 1px 0 rgba(255, 238, 185, 0.05) inset;
}

.recommend-card.vip-frame-black > .recommend-actions .feedback-button svg {
  background: rgba(255, 255, 255, 0.08);
}

.recommend-card.vip-frame-black > .recommend-actions .feedback-button.is-best {
  border-color: rgba(255, 154, 173, 0.32);
  color: #fff;
  background: linear-gradient(135deg, #f07a91 0%, #dc526f 58%, #c84261 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 8px 18px rgba(173, 44, 74, 0.28);
}

.detail-hero.vip-frame-black {
  color: #f8efd7;
  background:
    radial-gradient(circle at 92% 4%, rgba(231, 196, 107, 0.25), transparent 38%),
    linear-gradient(128deg, #132019, #20352c 58%, #18271f);
}

.detail-hero.vip-frame-black .detail-hero-heading h3 {
  color: #fff4d1;
}

.detail-hero.vip-frame-black .detail-hero-activity {
  color: rgba(248, 239, 215, 0.68);
}

.detail-hero.vip-frame-black .detail-hero-bio,
.detail-hero.vip-frame-black .detail-online-status {
  color: rgba(248, 239, 215, 0.66);
}

.detail-hero.vip-frame-black .distance-label,
.detail-hero.vip-frame-black .unlock-hint.is-unlocked {
  color: #efd28b;
}

.detail-hero.vip-frame-black .new-user-tag {
  color: #4b3510;
  background: linear-gradient(135deg, #f7e2a3, #d5aa4c);
}

@keyframes black-vip-border-spin {
  to {
    --black-vip-angle: 360deg;
  }
}

@keyframes black-vip-card-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(244, 210, 119, 0.32),
      0 0 17px rgba(226, 180, 76, 0.22),
      0 16px 42px rgba(15, 31, 24, 0.2);
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(255, 227, 143, 0.54),
      0 0 34px rgba(239, 194, 83, 0.46),
      0 18px 48px rgba(15, 31, 24, 0.25);
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nearby-avatar-wrap {
  position: relative;
  flex: 0 0 auto;
}

.nearby-media {
  display: grid;
  width: 84px;
  flex: 0 0 84px;
  align-content: start;
  gap: 6px;
}

.nearby-avatar {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  background: var(--sage);
  object-fit: cover;
}

.guest-avatar-blur {
  position: relative;
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(circle at 32% 28%, rgba(122, 173, 148, 0.72), transparent 28%),
    radial-gradient(circle at 72% 70%, rgba(220, 161, 120, 0.65), transparent 35%),
    linear-gradient(145deg, #dce9e0, #efe4d8);
  filter: blur(0.2px);
}

.guest-avatar-blur .nearby-avatar {
  width: 100%;
  height: 100%;
  opacity: 0.22;
  filter: blur(7px);
  transform: scale(1.16);
}

.guest-avatar-blur i {
  position: absolute;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #fff;
  background: rgba(27, 67, 49, 0.62);
  backdrop-filter: blur(7px);
}

.guest-avatar-blur svg {
  width: 15px;
  height: 15px;
}

.nearby-card.is-guest-blurred {
  background:
    linear-gradient(100deg, rgba(255, 253, 248, 0.92), rgba(239, 243, 240, 0.78));
}

.guest-redacted-name {
  filter: blur(1.4px);
  letter-spacing: 0.08em;
  user-select: none;
}

.guest-blur-note {
  color: var(--green) !important;
  background: rgba(47, 107, 85, 0.1) !important;
}

.nearby-online-status {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
}

.nearby-online-status > i {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  margin-top: 7px;
  border-radius: 50%;
  background: #8da098;
}

.nearby-online-status.is-online > i {
  background: #55a27d;
  box-shadow: 0 0 0 3px rgba(85, 162, 125, 0.12);
}

.nearby-online-status.is-guest > i {
  display: none;
}

.nearby-body {
  display: grid;
  min-width: 0;
  flex: 1 1 auto;
  align-content: start;
  gap: 6px;
}

.nearby-card-head {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.nearby-name {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  gap: 5px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
}

.nearby-name-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nearby-new-corner {
  display: inline-flex;
  min-height: 15px;
  align-items: center;
  gap: 2px;
  overflow: hidden;
  padding: 1px 8px 1px 5px;
  border: 1px solid rgba(255, 246, 211, 0.74);
  border-radius: 3px 9px 9px 3px;
  color: #674006;
  background:
    linear-gradient(105deg, #fff9e8 0%, #f4d98f 42%, #dcad4c 72%, #fff0b8 100%);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.78),
    0 3px 9px rgba(144, 91, 18, 0.2);
  clip-path: polygon(0 0, 100% 0, calc(100% - 5px) 50%, 100% 100%, 0 100%);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-overflow: ellipsis;
  pointer-events: none;
  white-space: nowrap;
}

.nearby-new-corner::before {
  color: #a56d0d;
  content: "✦";
  font-size: 8px;
  line-height: 1;
}

.member-tier-badge {
  display: inline-flex;
  min-height: 22px;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  padding: 1px 7px 1px 5px;
  border: 1px solid var(--member-badge-line);
  border-radius: 999px;
  color: var(--member-badge-color);
  background: var(--member-badge-bg);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.38);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.15;
  white-space: nowrap;
}

.member-tier-badge.is-nearby {
  margin-left: auto;
}

.member-tier-badge.is-detail {
  margin-left: auto;
}

.member-tier-badge i {
  font-size: 10px;
  font-style: normal;
}

.member-tier-badge.is-normal {
  --member-badge-color: #5d6663;
  --member-badge-line: rgba(93, 102, 99, 0.28);
  --member-badge-bg: linear-gradient(135deg, #ffffff, #e7ece9);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.82);
}

.member-tier-badge.is-gold {
  --member-badge-color: #795615;
  --member-badge-line: rgba(164, 116, 25, 0.5);
  --member-badge-bg: linear-gradient(120deg, #fff8df, #d5a744 48%, #f8e6ad);
}

.member-tier-badge.is-silver {
  --member-badge-color: #3f535d;
  --member-badge-line: rgba(112, 134, 145, 0.48);
  --member-badge-bg:
    linear-gradient(
      120deg,
      #ffffff 0%,
      #d2dadd 32%,
      #f5f8f9 53%,
      #b8c5ca 78%,
      #eef3f5 100%
    );
  background-size: 205% 100%;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.92),
    0 2px 7px rgba(92, 111, 120, 0.14);
  animation: platinum-member-badge-shine 4.8s ease-in-out infinite;
}

.member-tier-badge.is-platinum {
  --member-badge-color: #1f5366;
  --member-badge-line: rgba(47, 126, 151, 0.58);
  --member-badge-bg:
    linear-gradient(
      122deg,
      #f8feff 0%,
      #c1e7f1 28%,
      #e9faff 48%,
      #79b7ca 76%,
      #dff6fb 100%
    );
  background-size: 210% 100%;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.86),
    0 0 0 1px rgba(124, 165, 181, 0.08),
    0 2px 7px rgba(89, 131, 148, 0.16);
  animation: platinum-member-badge-shine 4.2s ease-in-out infinite;
}

@keyframes platinum-member-badge-shine {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.member-tier-badge.is-black {
  position: relative;
  isolation: isolate;
  --member-badge-color: #f0d18a;
  --member-badge-line: rgba(226, 190, 99, 0.4);
  --member-badge-bg:
    linear-gradient(
      120deg,
      #14251d 0%,
      #33483c 28%,
      #735c2c 48%,
      #344b3e 66%,
      #14251d 100%
    );
  border-color: transparent;
  background-size: 220% 100%;
  box-shadow:
    inset 0 1px rgba(255, 236, 180, 0.14),
    0 0 7px rgba(221, 181, 80, 0.2);
  animation: platinum-member-badge-shine 3.8s ease-in-out infinite;
}

.member-tier-badge.is-black::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: 1.5px;
  border-radius: 999px;
  background: conic-gradient(
    from var(--black-badge-angle),
    #704b12 0deg,
    #d9a63f 48deg,
    #fff8d7 82deg,
    #f5d47d 112deg,
    #9a6a1b 155deg,
    #4d3510 210deg,
    #d7a13a 262deg,
    #fff3bf 294deg,
    #ba8328 326deg,
    #704b12 360deg
  );
  content: "";
  pointer-events: none;
  filter:
    drop-shadow(0 0 1.5px rgba(255, 224, 133, 0.66))
    drop-shadow(0 0 4px rgba(225, 174, 62, 0.3));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: black-badge-border-spin 2.2s linear infinite;
}

@keyframes black-badge-border-spin {
  to {
    --black-badge-angle: 360deg;
  }
}

.member-tier-badge.is-membership-preview {
  min-height: 32px;
  gap: 5px;
  margin-bottom: 8px;
  padding: 2px 14px 2px 11px;
  font-size: 16px;
}

.member-tier-badge.is-membership-preview i {
  font-size: 13px;
}

.member-tier-badge.is-membership-checkout {
  min-height: 23px;
  gap: 3px;
  padding: 1px 7px 1px 6px;
  font-size: 13px;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.72),
    0 1px 4px rgba(23, 38, 30, 0.12);
}

.member-tier-badge.is-membership-checkout i {
  font-size: 9px;
}

.nearby-vip-img {
  width: 82px;
  max-height: 34px;
  height: auto;
  flex: 0 0 auto;
  margin-left: auto;
  object-fit: contain;
}

.new-user-tag {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 1px 5px;
  border: 1px solid rgba(210, 139, 37, 0.28);
  border-radius: 999px;
  color: #9a6419;
  background: linear-gradient(135deg, rgba(255, 244, 211, 0.96), rgba(255, 230, 177, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nearby-person-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.nearby-bio {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nearby-footer {
  display: grid;
  grid-template-columns: max-content max-content minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  margin-top: 1px;
}

.nearby-footer .distance-label {
  justify-self: start;
  white-space: nowrap;
}

.nearby-footer .unlock-hint {
  justify-self: end;
  white-space: nowrap;
}

.nearby-new-corner-placeholder {
  width: 1px;
  height: 1px;
}

.distance-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
}

.distance-label svg {
  width: 12px;
  height: 12px;
}

.unlock-hint {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  font-size: 16px;
}

.unlock-hint.is-unlocked {
  color: #79b995;
  font-weight: 650;
}

.unlock-hint.is-locked {
  color: var(--muted);
  font-weight: 500;
}

.unlock-hint svg {
  width: 11px;
  height: 11px;
}

.course-feature {
  position: relative;
  min-height: 230px;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: #f9f2df;
  background:
    linear-gradient(120deg, rgba(13, 31, 24, 0.23), rgba(13, 31, 24, 0.76)),
    radial-gradient(circle at 80% 24%, rgba(224, 197, 126, 0.25), transparent 33%),
    linear-gradient(135deg, #5d806e, #213d31);
  box-shadow: var(--shadow-strong);
}

.course-categories {
  position: sticky;
  z-index: 32;
  top: var(--sticky-topbar-offset);
  display: flex;
  gap: 7px;
  margin: -3px -18px 14px;
  padding: 8px 18px;
  overflow-x: auto;
  background: rgba(247, 243, 234, 0.94);
  box-shadow: 0 8px 18px rgba(31, 66, 52, 0.025);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  scrollbar-width: none;
}

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

.course-category {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.6);
  font-size: 16px;
}

.course-category.is-active {
  border-color: transparent;
  color: #fff;
  background: var(--forest);
}

.course-feature::before,
.course-feature::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(247, 237, 208, 0.13);
  border-radius: 50%;
}

.course-feature::before {
  top: -55px;
  right: -40px;
  width: 205px;
  height: 205px;
}

.course-feature::after {
  top: -20px;
  right: -8px;
  width: 138px;
  height: 138px;
}

.course-feature-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 182px;
  flex-direction: column;
  align-items: flex-start;
}

.feature-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: auto;
  color: #e5ca89;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.feature-label::before {
  width: 15px;
  height: 1px;
  content: "";
  background: currentColor;
}

.course-feature h2 {
  max-width: 280px;
  margin: 26px 0 9px;
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.24;
}

.course-feature p {
  margin: 0 0 16px;
  color: rgba(248, 241, 222, 0.64);
  font-size: 16px;
}

.course-play-button {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid rgba(248, 236, 204, 0.25);
  border-radius: 13px;
  color: #fff7e5;
  background: rgba(255, 255, 255, 0.08);
  font-size: 16px;
  font-weight: 650;
}

.course-play-button svg {
  width: 14px;
  height: 14px;
}

.course-feature-duration {
  position: absolute;
  right: 24px;
  bottom: 24px;
  color: rgba(248, 241, 222, 0.55);
  font-size: 16px;
}

.course-list-heading {
  margin-top: 26px;
}

.text-muted {
  color: var(--muted);
  font-size: 16px;
}

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

.course-card {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 13px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: rgba(255, 253, 248, 0.8);
  text-align: left;
}

.course-cover {
  position: relative;
  display: grid;
  min-height: 0;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  color: rgba(255, 249, 232, 0.86);
  background: linear-gradient(145deg, #a99a7b, #535e55);
}

.course-cover::before {
  position: absolute;
  width: 70px;
  height: 70px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.course-cover svg {
  position: relative;
  width: 24px;
  height: 24px;
}

.course-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-cover:has(img)::before {
  display: none;
}

.course-cover.green {
  background: linear-gradient(145deg, #719780, #31503f);
}

.course-cover.coral {
  background: linear-gradient(145deg, #c99886, #79554e);
}

.course-cover.night {
  background: linear-gradient(145deg, #687678, #243535);
}

.course-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 4px 3px 3px 0;
}

.course-directory {
  display: grid;
  gap: 6px;
}

.course-directory button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 11px;
  border-radius: 12px;
  background: rgba(234, 244, 238, 0.62);
  text-align: left;
}

.course-directory button > span:first-child {
  min-width: 0;
}

.course-directory small {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 16px;
}

.course-directory b {
  display: block;
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.course-directory button > span:last-child {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 16px;
}

.course-info b {
  display: -webkit-box;
  overflow: hidden;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.course-info small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 16px;
}

.course-price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin-top: auto;
}

.course-price {
  color: var(--coral);
  font-size: 16px;
  font-weight: 700;
}

.course-original-price {
  margin-left: 5px;
  color: var(--muted);
  font-size: 16px;
  text-decoration: line-through;
}

.course-vip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--green);
  font-size: 16px;
}

.course-vip svg {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
}

.notice-groups {
  display: grid;
  gap: 18px;
}

.notification-page-heading {
  align-items: center;
  padding: 15px 2px 11px;
}

.notification-page-heading .overline {
  margin: 0;
}

.notice-group-title {
  margin: 0 0 9px 3px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.notice-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
}

.notice-row {
  position: relative;
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.notice-row:last-child {
  border-bottom: 0;
}

.notice-row .notice-item {
  min-width: 0;
  flex: 1;
  border-bottom: 0;
}

.notice-delete {
  display: grid;
  width: 56px;
  min-height: 56px;
  align-self: stretch;
  place-items: center;
  padding: 0;
  flex: 0 0 auto;
  color: var(--muted);
  border-radius: 14px;
  font-size: 24px;
  line-height: 1;
  touch-action: manipulation;
}

.notice-delete:active {
  color: var(--coral);
  background: var(--coral-soft);
}

.notice-item:first-of-type {
  border-radius: 19px 19px 0 0;
}

.notice-item:last-of-type {
  border-bottom: 0;
  border-radius: 0 0 19px 19px;
}

.notice-group {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.68);
}

.notice-avatar {
  position: relative;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  border-radius: 15px;
  background: var(--sage);
  object-fit: contain;
}

.notice-type-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 15px;
  color: var(--green);
  background: var(--sage);
}

.notice-type-icon.gold {
  color: #8d6d27;
  background: var(--gold-soft);
}

.notice-type-icon.coral {
  color: var(--coral);
  background: var(--coral-soft);
}

.notice-type-icon svg {
  width: 19px;
  height: 19px;
}

.notice-copy {
  min-width: 0;
  flex: 1;
}

.notice-copy b {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.notice-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.notice-side {
  align-self: flex-start;
  color: var(--muted);
  font-size: 16px;
}

.notice-detail-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(255, 253, 248, 0.82);
}

.notice-detail-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notice-detail-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 16px;
  object-fit: cover;
}

.notice-detail-head > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.notice-detail-head small {
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.notice-detail-head b {
  color: var(--ink);
  font-size: 18px;
}

.notice-detail-head span {
  color: var(--muted);
  font-size: 14px;
}

.notice-detail-body {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
  word-break: break-word;
}

.notice-detail-findings {
  margin-top: 16px;
  padding: 13px 14px;
  border: 1px solid rgba(189, 112, 94, 0.24);
  border-radius: 14px;
  background: rgba(189, 112, 94, 0.06);
}

.notice-detail-findings h4 {
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 16px;
}

.notice-detail-findings ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice-detail-findings li {
  display: grid;
  gap: 4px;
  padding-left: 12px;
  border-left: 3px solid var(--coral);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

.notice-detail-findings li b {
  color: var(--ink);
}

.notice-detail-findings li small {
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.notice-detail-actions {
  display: grid;
  margin-top: 16px;
}

.notice-detail-actions .primary-button {
  width: 100%;
}

.unread-dot {
  display: block;
  width: 6px;
  height: 6px;
  margin: 6px 0 0 auto;
  border-radius: 50%;
  background: var(--coral);
}

.profile-cover {
  position: relative;
  margin: 0 -18px;
  padding: 24px 20px 26px;
  overflow: hidden;
  border-radius: 0 0 35px 35px;
  color: #f9f2df;
  background:
    radial-gradient(circle at 90% 8%, rgba(224, 198, 128, 0.16), transparent 34%),
    linear-gradient(130deg, #173a2b, #2e604a);
  box-shadow: 0 20px 42px rgba(25, 61, 45, 0.2);
}

.profile-orbit {
  position: absolute;
  border: 1px solid rgba(231, 241, 232, 0.09);
  border-radius: 50%;
}

.orbit-one {
  top: -76px;
  right: -55px;
  width: 230px;
  height: 230px;
}

.orbit-two {
  top: -35px;
  right: -14px;
  width: 145px;
  height: 145px;
}

.profile-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-topline .overline {
  color: rgba(236, 245, 238, 0.62);
}

.profile-self-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(238, 214, 154, 0.16);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.055);
}

.profile-self-media {
  display: grid;
  width: 84px;
  flex: 0 0 84px;
  align-content: start;
  gap: 6px;
}

.profile-self-main {
  display: grid;
  min-width: 0;
  flex: 1 1 auto;
  align-content: start;
  gap: 6px;
}

.profile-self-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.profile-self-heading h1 {
  min-width: 0;
  flex: 1 1 auto;
  margin: 0;
  overflow: hidden;
  color: #fff6df;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-self-heading .member-tier-badge {
  margin-left: auto;
}

.profile-self-gender {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.profile-self-bio {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: rgba(244, 241, 222, 0.68);
  font-size: 14px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-self-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1px;
}

.profile-self-footer .distance-label {
  color: #efd28b;
  justify-self: start;
  white-space: nowrap;
}

.profile-self-card .nearby-online-status {
  color: rgba(244, 241, 222, 0.6);
}

.profile-self-card .nearby-online-status.is-online > i {
  background: #6fc294;
  box-shadow: 0 0 0 3px rgba(111, 194, 148, 0.14);
}

.profile-self-card .profile-avatar-wrap > img {
  width: 84px;
  height: 84px;
  border: 1px solid rgba(255, 249, 230, 0.42);
  border-radius: 20px;
  object-fit: cover;
}

.settings-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(244, 239, 217, 0.18);
  border-radius: 50%;
  color: rgba(255, 249, 233, 0.83);
  background: rgba(255, 255, 255, 0.05);
}

.settings-button svg {
  width: 17px;
  height: 17px;
}

.profile-identity {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 17px;
}

.profile-avatar-wrap {
  position: relative;
  flex: 0 0 auto;
}

.profile-avatar-wrap > img {
  width: 75px;
  height: 75px;
  border: 2px solid rgba(255, 249, 230, 0.57);
  border-radius: 25px;
  background: var(--sage);
  object-fit: contain;
}

.verified-mark {
  position: absolute;
  right: -5px;
  bottom: -5px;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 2px solid #244735;
  border-radius: 50%;
  color: var(--forest);
  background: #f3e5b7;
}

.verified-mark svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.4;
}

.profile-identity h1 {
  margin: 0 0 7px;
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.identity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: rgba(244, 241, 222, 0.63);
  font-size: 16px;
}

.identity-meta span + span::before {
  margin-right: 7px;
  content: "·";
}

.membership-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  padding: 5px 8px;
  border: 1px solid rgba(238, 211, 138, 0.18);
  border-radius: 999px;
  color: #efd796;
  background: rgba(255, 255, 255, 0.06);
  font-size: 16px;
}

.membership-line img {
  width: 48px;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: -12px 0 15px;
  position: relative;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 10px 24px rgba(30, 66, 51, 0.07);
}

.profile-stats button {
  position: relative;
  min-height: 70px;
  padding: 13px 5px 10px;
}

.profile-stats button + button::before {
  position: absolute;
  top: 17px;
  bottom: 17px;
  left: 0;
  width: 1px;
  content: "";
  background: var(--line);
}

.profile-stats b {
  display: block;
  color: var(--green);
  font-family: var(--font-serif);
  font-size: 19px;
}

.profile-stats span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 16px;
}

.small-outline {
  padding: 6px 11px;
  border: 1px solid rgba(47, 107, 85, 0.17);
  border-radius: 999px;
  color: var(--green);
  font-size: 16px;
  font-weight: 650;
}

.profile-menu {
  margin-top: 13px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.75);
}

.profile-menu + .profile-menu {
  margin-top: 13px;
}

.settings-group + .settings-group {
  margin-top: 16px;
}

.settings-group-title {
  margin: 0 0 8px 4px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.settings-group .profile-menu {
  margin-top: 0;
}

.profile-menu > button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.profile-menu > button:last-child {
  border-bottom: 0;
}

.menu-icon {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
}

.menu-icon svg {
  width: 16px;
  height: 16px;
}

.menu-icon.sage {
  color: var(--green);
  background: var(--sage);
}

.menu-icon.gold {
  color: #997326;
  background: var(--gold-soft);
}

.menu-icon.coral {
  color: var(--coral);
  background: var(--coral-soft);
}

.menu-icon.paper {
  color: var(--ink-soft);
  background: var(--paper-deep);
}

.profile-menu button > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.profile-menu button.is-disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.profile-menu button.is-quota-empty {
  opacity: 0.72;
}

.profile-menu button.is-quota-empty small {
  color: var(--coral);
}

.profile-menu button.is-disabled .chevron {
  display: none;
}

.profile-menu b {
  display: block;
  font-size: 16px;
}

.profile-menu small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.profile-menu .chevron,
.sheet-content .chevron {
  width: 13px;
  height: 13px;
  color: var(--muted);
}

.profile-menu > button > svg:last-child {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  color: var(--muted);
}

.visibility-rule {
  display: flex;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(47, 107, 85, 0.12);
  border-radius: 18px;
  color: var(--ink-soft);
  background: rgba(233, 243, 236, 0.72);
  font-size: 16px;
  line-height: 1.7;
}

.visibility-rule svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
  color: var(--green);
}

.visibility-section {
  margin-top: 13px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.78);
}

.visibility-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.visibility-section-head small {
  color: var(--coral);
  font-size: 16px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.visibility-section-head h3 {
  margin: 3px 0 0;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
}

.visibility-section-head > span {
  color: var(--muted);
  font-size: 16px;
}

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

.visibility-identity-option,
.visibility-tier-option {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.visibility-identity-option {
  display: grid;
  min-height: 58px;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
}

.visibility-identity-option .identity-badge {
  transform: scale(0.9);
}

.visibility-identity-option > i,
.visibility-tier-option > i {
  position: absolute;
  top: 5px;
  right: 5px;
  display: none;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 16px;
  font-style: normal;
}

.visibility-tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.visibility-tier-option {
  display: flex;
  min-height: 63px;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border-radius: 15px;
  text-align: left;
}

.visibility-tier-option img {
  width: 57px;
  height: 22px;
  flex: 0 0 57px;
  object-fit: contain;
}

.visibility-tier-option b {
  font-size: 16px;
}

.free-tier-mark {
  display: grid;
  width: 57px;
  height: 22px;
  flex: 0 0 57px;
  place-items: center;
  border: 1px solid rgba(47, 107, 85, 0.16);
  border-radius: 8px;
  color: var(--green);
  background: var(--sage);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.visibility-identity-option.is-selected,
.visibility-tier-option.is-selected {
  border-color: rgba(47, 107, 85, 0.5);
  background: rgba(233, 243, 236, 0.9);
  box-shadow: inset 0 0 0 1px rgba(47, 107, 85, 0.12);
  transform: translateY(-1px);
}

.visibility-identity-option.is-selected > i,
.visibility-tier-option.is-selected > i {
  display: grid;
}

.visibility-preview {
  margin-top: 13px;
  padding: 13px 15px;
  border-radius: 17px;
  background: var(--paper-deep);
}

.visibility-preview small {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.visibility-preview p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

.logout-button {
  display: block;
  min-height: 40px;
  margin: 16px auto 4px;
  padding: 0 18px;
  color: var(--muted);
  font-size: 16px;
}

.bottom-nav {
  position: fixed;
  z-index: 35;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  width: min(100%, 520px);
  min-height: calc(58px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  margin: 0 auto;
  padding: 5px 10px var(--nav-bottom);
  border-top: 1px solid rgba(35, 70, 55, 0.08);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 -12px 35px rgba(31, 66, 52, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body.course-feature-hidden #page-course,
body.course-feature-hidden .bottom-nav [data-route="course"] {
  display: none !important;
}

body.course-feature-hidden .bottom-nav {
  grid-template-columns: repeat(4, 1fr);
}

.nav-item {
  position: relative;
  display: flex;
  min-height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #89948e;
  font-size: 11px;
  font-weight: 600;
}

.nav-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 10px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.65;
}

.nav-item.is-active {
  color: var(--forest);
}

.nav-item.is-active .nav-icon {
  color: #fff;
  background: var(--forest);
  box-shadow: 0 7px 15px rgba(31, 74, 58, 0.2);
  transform: translateY(-2px);
}

.nav-notification-badge {
  position: absolute;
  top: 1px;
  left: calc(50% + 5px);
}

.text-button {
  min-height: 34px;
  padding: 0 8px;
  color: var(--green);
  font-size: 16px;
  font-weight: 650;
}

.soft-round {
  background: var(--sage);
}

.sheet-layer {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.sheet-layer.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 31, 24, 0.46);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.bottom-sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(89dvh, 850px);
  overflow: hidden;
  border-radius: 30px 30px 0 0;
  background:
    radial-gradient(circle at 100% 0, rgba(217, 234, 222, 0.56), transparent 25%),
    var(--paper);
  box-shadow: 0 -24px 65px rgba(19, 44, 32, 0.22);
  transform: translateY(104%);
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sheet-layer.is-open .bottom-sheet {
  transform: translateY(0);
}

.unlock-quota-modal {
  position: fixed;
  z-index: 220;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

.unlock-quota-modal[hidden] {
  display: none;
}

.unlock-quota-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 31, 24, 0.58);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.unlock-quota-card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 430px);
  max-height: min(40dvh, 240px);
  gap: 9px;
  padding: 17px 16px 15px;
  overflow: auto;
  border: 1px solid rgba(47, 107, 85, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(214, 234, 219, 0.7), transparent 34%),
    #fbfaf5;
  box-shadow: 0 30px 80px rgba(15, 37, 25, 0.34);
}

.unlock-quota-card h2 {
  margin: 0;
  color: var(--ink);
  padding-right: 38px;
  font-size: 22px;
  line-height: 1.25;
}

.unlock-quota-balance {
  margin: -3px 0 0;
  color: #5f7669;
  font-size: 12px;
  line-height: 1.3;
}

.unlock-quota-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #53655b;
  background: rgba(47, 107, 85, 0.08);
  font-size: 20px;
  line-height: 1;
}

.unlock-quota-option-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.unlock-quota-option-list > button {
  display: grid;
  min-height: 58px;
  align-content: center;
  justify-items: center;
  gap: 2px;
  padding: 6px;
  border: 1px solid rgba(47, 107, 85, 0.24);
  border-radius: 13px;
  color: #fff;
  text-align: center;
  background: linear-gradient(145deg, #34775d, #245843);
  box-shadow:
    0 7px 15px rgba(36, 88, 67, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.18) inset;
  cursor: pointer;
  transition: transform 140ms ease, filter 140ms ease;
}

.unlock-quota-option-list > button:nth-child(2) {
  border-color: rgba(161, 111, 25, 0.3);
  background: linear-gradient(145deg, #efd172, #dcb047);
  box-shadow:
    0 7px 15px rgba(161, 111, 25, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.28) inset;
}

.unlock-quota-option-list > button:active {
  transform: scale(0.97);
  filter: brightness(0.94);
}

.unlock-quota-option-list > button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.unlock-quota-option-list span {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 2px;
}

.unlock-quota-option-list b {
  color: #fff;
  font-size: 16px;
}

.unlock-quota-option-list > button:nth-child(2) b {
  color: #684814;
}

.unlock-quota-option-list small {
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  line-height: 1.25;
}

.unlock-quota-option-list > button:nth-child(2) small {
  color: rgba(104, 72, 20, 0.82);
}

.sheet-handle {
  width: 38px;
  height: 4px;
  margin: 9px auto 0;
  border-radius: 999px;
  background: rgba(49, 73, 62, 0.18);
}

.sheet-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 20px 12px;
}

.sheet-heading > div:first-child {
  min-width: 0;
}

.sheet-heading h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.sheet-title-line {
  display: flex;
  align-items: center;
  gap: 9px;
}

.sheet-title-action {
  position: relative;
  display: flex;
  align-items: center;
}

.sheet-title-action[hidden],
.profile-safety-menu[hidden] {
  display: none;
}

.profile-safety-wrap {
  position: relative;
}

.profile-safety-trigger {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(215, 91, 93, 0.3);
  border-radius: 50%;
  color: #c95157;
  background: rgba(255, 244, 241, 0.92);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 5px 14px rgba(142, 70, 63, 0.08);
}

.profile-safety-trigger[aria-expanded="true"] {
  color: #fff;
  background: #c95157;
  border-color: #c95157;
}

.profile-safety-menu {
  position: absolute;
  z-index: 30;
  top: 34px;
  left: -42px;
  width: 238px;
  padding: 6px;
  border: 1px solid rgba(55, 81, 69, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 251, 0.98);
  box-shadow: 0 18px 46px rgba(43, 67, 56, 0.18);
  backdrop-filter: blur(14px);
}

.profile-safety-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  padding: 10px 11px;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.profile-safety-menu button + button {
  margin-top: 2px;
}

.profile-safety-menu button:active {
  background: rgba(47, 107, 85, 0.08);
}

.profile-safety-menu button span {
  display: grid;
  gap: 3px;
}

.profile-safety-menu button b {
  font-size: 16px;
}

.profile-safety-menu button small,
.profile-safety-menu > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.profile-safety-menu > p {
  margin: 2px 6px 5px;
  padding: 7px 8px;
  border-radius: 8px;
  background: #f7f3e9;
}

.sheet-heading .overline:empty {
  display: none;
}

.sheet-heading-tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
}

.sheet-header-action[hidden] {
  display: none;
}

.membership-county-change-button {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid rgba(47, 107, 85, 0.2);
  border-radius: 999px;
  color: var(--green);
  background: var(--sage);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.sheet-close {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.7);
}

.sheet-close svg {
  width: 15px;
  height: 15px;
}

.sheet-content {
  max-height: calc(min(89dvh, 850px) - 85px);
  overflow-y: auto;
  padding: 0 20px calc(25px + env(safe-area-inset-bottom));
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.sheet-content::-webkit-scrollbar {
  display: none;
}

.detail-hero {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin: 2px 0 12px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(47, 107, 85, 0.1);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.76);
}

.detail-hero-media {
  display: grid;
  width: 84px;
  flex: 0 0 84px;
  align-content: space-between;
  gap: 6px;
}

.detail-hero::after {
  position: absolute;
  top: -44px;
  right: -34px;
  width: 130px;
  height: 130px;
  content: "";
  border: 1px solid rgba(47, 107, 85, 0.08);
  border-radius: 50%;
}

.detail-hero .detail-avatar-button img {
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  border-radius: 20px;
  background: var(--sage);
  object-fit: cover;
}

.detail-avatar-button {
  display: block;
  flex: 0 0 auto;
  padding: 0;
  border-radius: 20px;
  cursor: zoom-in;
}

.detail-avatar-button img {
  display: block;
}

.detail-hero-main {
  display: grid;
  min-width: 0;
  flex: 1 1 auto;
  align-content: space-between;
  gap: 5px;
}

.detail-hero-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 8px;
}

.detail-hero-heading h3 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-hero-heading .member-tier-badge.is-detail {
  margin-left: 0;
}

.detail-hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.detail-hero-activity,
.detail-hero-bio {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.detail-hero-bio {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-hero-footer {
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: center;
  gap: 6px;
}

.detail-hero-footer .distance-label {
  justify-self: start;
  white-space: nowrap;
}

.detail-hero-wanted {
  min-width: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.detail-bio-block {
  margin: 0 0 12px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(255, 253, 248, 0.7);
}

.detail-bio-block p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.detail-hero .vip-mini {
  width: 62px;
  height: auto;
  max-height: 26px;
  flex: 0 0 auto;
  object-fit: contain;
}

.detail-section {
  margin-top: 12px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: rgba(255, 253, 248, 0.73);
}

.profile-detail-group {
  margin-top: 12px;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}

.profile-detail-group.is-black-vip {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(225, 187, 91, 0.4);
  color: #f5ecd5;
  background:
    radial-gradient(circle at 100% 0, rgba(222, 183, 84, 0.18), transparent 32%),
    radial-gradient(circle at 0 100%, rgba(72, 118, 93, 0.2), transparent 38%),
    linear-gradient(145deg, #111d17, #1c3027 55%, #14231c);
  box-shadow:
    inset 0 1px rgba(255, 236, 180, 0.08),
    0 18px 42px rgba(17, 38, 28, 0.16);
}

.profile-detail-group.is-black-vip::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 45%, rgba(255, 228, 151, 0.05) 48%, transparent 52%),
    repeating-linear-gradient(135deg, transparent 0 16px, rgba(255, 255, 255, 0.018) 16px 17px);
}

.profile-detail-group.is-black-vip > .detail-section,
.profile-detail-group.is-black-vip > .detail-lock {
  border-top-color: rgba(226, 190, 102, 0.18);
}

.profile-detail-group.is-black-vip > .detail-lock {
  background:
    radial-gradient(circle at 50% 0, rgba(230, 192, 98, 0.11), transparent 50%),
    rgba(9, 18, 13, 0.36);
}

.profile-detail-group.is-black-vip .detail-section-head h4,
.profile-detail-group.is-black-vip .detail-lock h4 {
  color: #eed28b;
}

.profile-detail-group.is-black-vip .detail-section-head > span,
.profile-detail-group.is-black-vip .detail-section-head small,
.profile-detail-group.is-black-vip .detail-lock p,
.profile-detail-group.is-black-vip .detail-interest-section > small,
.profile-detail-group.is-black-vip .expectation-detail-head small,
.profile-detail-group.is-black-vip .expectation-detail-getalong > small {
  color: rgba(245, 236, 213, 0.64);
}

.profile-detail-group.is-black-vip .detail-section > p {
  color: rgba(245, 236, 213, 0.72) !important;
}

.profile-detail-group.is-black-vip .detail-lock-content > div > svg {
  color: #e6c878;
}

.profile-detail-group.is-black-vip .detail-grid div {
  border: 1px solid rgba(228, 193, 104, 0.16);
  background: rgba(255, 243, 207, 0.065);
}

.profile-detail-group.is-black-vip .detail-grid b {
  color: #fff1c8;
}

.profile-detail-group.is-black-vip .detail-grid small {
  color: rgba(239, 211, 145, 0.7);
}

.profile-detail-group.is-black-vip .detail-tags span,
.profile-detail-group.is-black-vip .expectation-detail-getalong span {
  border-color: rgba(228, 193, 104, 0.2);
  color: #f0d592;
  background: rgba(222, 183, 84, 0.1);
}

.profile-detail-group.is-black-vip .expectation-couple-detail-row {
  border-color: rgba(228, 193, 104, 0.16);
  background: rgba(255, 247, 221, 0.045);
}

.profile-detail-group.is-black-vip .expectation-detail-head b,
.profile-detail-group.is-black-vip .expectation-detail-person > b,
.profile-detail-group.is-black-vip .expectation-couple-detail-row h5,
.profile-detail-group.is-black-vip .expectation-couple-detail-row b {
  color: #f2dda2;
}

.profile-detail-group.is-black-vip .expectation-couple-detail-row > div > span,
.profile-detail-group.is-black-vip .expectation-couple-detail-row > p {
  background: rgba(255, 255, 255, 0.055);
}

.profile-detail-group.is-black-vip .detail-contact-inline {
  border-top-color: rgba(226, 190, 102, 0.18);
  background: rgba(8, 17, 12, 0.34);
}

.profile-detail-group.is-black-vip .detail-contact-inline h4 {
  color: #eed28b;
}

.profile-detail-group.is-black-vip .detail-contact-inline p {
  color: rgba(245, 236, 213, 0.64);
}

.profile-detail-group.is-black-vip .detail-contact-inline-icon {
  color: #edcf83;
  background: rgba(225, 187, 91, 0.12);
}

.profile-detail-group.is-black-vip .contact-qr-detail-grid figure {
  border-color: rgba(228, 193, 104, 0.18);
  background: rgba(255, 253, 244, 0.96);
}

.profile-detail-group.is-black-vip .contact-qr-detail-grid figcaption {
  color: #4b3a19;
}

.profile-detail-group > .detail-section,
.profile-detail-group > .detail-lock {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.profile-detail-group > :first-child {
  border-top: 0;
}

.profile-detail-group > .detail-lock {
  min-height: 176px;
}

.profile-detail-group > .detail-people-section {
  border-left: 4px solid rgba(74, 137, 110, 0.45);
  background:
    linear-gradient(145deg, rgba(234, 244, 238, 0.72), rgba(255, 253, 248, 0.42));
}

.profile-detail-group > .detail-expectation-section {
  border-left: 4px solid rgba(205, 161, 72, 0.48);
  background:
    linear-gradient(145deg, rgba(255, 247, 222, 0.62), rgba(255, 253, 248, 0.4));
}

.profile-detail-group.is-black-vip > .detail-people-section {
  border-left-color: rgba(102, 174, 139, 0.62);
  background:
    linear-gradient(145deg, rgba(84, 137, 111, 0.12), rgba(255, 255, 255, 0.025));
}

.profile-detail-group.is-black-vip > .detail-expectation-section {
  border-left-color: rgba(225, 187, 91, 0.58);
  background:
    linear-gradient(145deg, rgba(222, 183, 84, 0.11), rgba(255, 255, 255, 0.025));
}

.profile-detail-group .detail-lock-content {
  min-height: 176px;
}

.detail-contact-inline {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border-top: 1px solid var(--line);
  background: rgba(247, 243, 234, 0.5);
}

.detail-contact-inline-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  color: var(--green);
  background: var(--sage);
}

.detail-contact-inline-icon svg {
  width: 16px;
  height: 16px;
}

.detail-contact-inline h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
}

.detail-contact-inline p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.detail-contact-inline .small-outline {
  white-space: nowrap;
}

.detail-contact-inline .small-outline:disabled {
  opacity: 0.55;
}

.detail-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
}

.detail-section-head h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
}

.detail-section-head span {
  color: var(--muted);
  font-size: 16px;
}

.detail-people-grid {
  display: grid;
  gap: 9px;
}

.detail-people-grid.is-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-person-profile {
  --person-accent: #276f9f;
  --person-soft: rgba(234, 245, 252, 0.92);
  --person-line: rgba(39, 111, 159, 0.22);
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--person-line);
  border-radius: 17px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.72), transparent 32%),
    var(--person-soft);
}

.detail-person-profile.is-male {
  --person-accent: #276f9f;
  --person-soft: rgba(234, 245, 252, 0.92);
  --person-line: rgba(39, 111, 159, 0.22);
}

.detail-person-profile.is-female {
  --person-accent: #ad4274;
  --person-soft: rgba(252, 236, 244, 0.94);
  --person-line: rgba(173, 66, 116, 0.22);
}

.detail-person-profile-head {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  margin-bottom: 11px;
}

.detail-person-gender-symbol {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--person-accent);
  box-shadow: 0 4px 12px var(--person-line);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.detail-person-profile-head > span:last-child {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.detail-person-profile-head b {
  color: var(--person-accent);
  font-size: 14px;
  line-height: 1.25;
}

.detail-person-profile-head small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
}

.expectation-gender-word {
  color: var(--muted);
  font-weight: 600;
}

.detail-profile-tag-list {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 6px;
}

.detail-profile-tag {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border: 1px solid var(--person-line);
  border-radius: 10px;
  color: var(--person-accent);
  background: rgba(255, 255, 255, 0.72);
}

.detail-profile-tag:nth-child(6) {
  flex: 1 1 100%;
}

.detail-profile-tag small {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.25;
}

.detail-profile-tag b {
  min-width: 0;
  color: var(--person-accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.detail-person-profile .detail-interest-section {
  margin-top: 11px;
}

.detail-person-profile .detail-tags span {
  border: 1px solid var(--person-line);
  color: var(--person-accent);
  background: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.detail-people-section > .detail-section-head h4,
.detail-people-section > .detail-section-head span {
  font-size: 14px;
}

.detail-profile-getalong {
  display: grid;
  gap: 7px;
  margin-top: 11px;
}

.detail-target-identities {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: -2px 0 12px;
}

.detail-target-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid var(--target-tag-line);
  border-radius: 999px;
  color: var(--target-tag-color);
  background: var(--target-tag-bg);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.detail-target-tag b {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 14px;
  line-height: 1;
}

.detail-target-tag.is-couple {
  --target-tag-color: #6d5120;
  --target-tag-line: rgba(181, 137, 41, 0.26);
  --target-tag-bg: #fff5d9;
}

.detail-target-tag.is-single_male {
  --target-tag-color: #276f9f;
  --target-tag-line: rgba(39, 111, 159, 0.22);
  --target-tag-bg: #eaf5fc;
}

.detail-target-tag.is-single_female {
  --target-tag-color: #ad4274;
  --target-tag-line: rgba(173, 66, 116, 0.22);
  --target-tag-bg: #fcecf4;
}

.detail-target-tag.is-empty {
  --target-tag-color: var(--muted);
  --target-tag-line: var(--line);
  --target-tag-bg: rgba(247, 243, 234, 0.7);
}

.detail-profile-getalong > small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.detail-getalong-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.detail-getalong-tags span {
  padding: 5px 8px;
  border: 1px solid rgba(47, 107, 85, 0.16);
  border-radius: 999px;
  color: var(--green);
  background: var(--sage);
  font-size: 13px;
  line-height: 1.25;
}

.profile-detail-group.is-black-vip .detail-person-profile {
  --person-soft: rgba(255, 255, 255, 0.045);
  --person-line: rgba(228, 193, 104, 0.16);
  background:
    radial-gradient(circle at 100% 0, rgba(225, 187, 91, 0.08), transparent 34%),
    var(--person-soft);
}

.profile-detail-group.is-black-vip .detail-person-profile.is-male {
  --person-accent: #78b8e2;
  --person-line: rgba(120, 184, 226, 0.3);
}

.profile-detail-group.is-black-vip .detail-person-profile.is-female {
  --person-accent: #e68bb5;
  --person-line: rgba(230, 139, 181, 0.3);
}

.profile-detail-group.is-black-vip .detail-person-profile-head small,
.profile-detail-group.is-black-vip .detail-profile-tag small,
.profile-detail-group.is-black-vip .detail-profile-getalong > small {
  color: rgba(245, 236, 213, 0.68);
}

.profile-detail-group.is-black-vip .expectation-gender-word {
  color: rgba(245, 236, 213, 0.68);
}

.profile-detail-group.is-black-vip .detail-profile-tag,
.profile-detail-group.is-black-vip .detail-person-profile .detail-tags span {
  background: rgba(255, 255, 255, 0.055);
}

.profile-detail-group.is-black-vip .detail-getalong-tags span {
  border-color: rgba(228, 193, 104, 0.2);
  color: #f0d592;
  background: rgba(222, 183, 84, 0.1);
}

.profile-detail-group.is-black-vip .detail-target-tag {
  border-color: rgba(228, 193, 104, 0.2);
  color: #f0d592;
  background: rgba(222, 183, 84, 0.1);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.detail-grid div {
  padding: 10px 7px;
  border-radius: 12px;
  background: rgba(234, 244, 238, 0.6);
  text-align: center;
}

.detail-grid b {
  display: block;
  margin-bottom: 3px;
  font-size: 16px;
}

.detail-grid small {
  color: var(--muted);
  font-size: 16px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.detail-interest-section {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.detail-interest-section > small {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.detail-tags span {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--green);
  background: var(--sage);
  font-size: 16px;
}

.detail-lock {
  position: relative;
  min-height: 193px;
  overflow: hidden;
  border: 1px dashed rgba(47, 107, 85, 0.19);
  border-radius: 21px;
  background: rgba(255, 253, 248, 0.68);
}

.detail-lock-content {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 193px;
  place-items: center;
  padding: 23px;
  text-align: center;
}

.detail-lock-content > div > svg {
  width: 29px;
  height: 29px;
  margin: 0 auto 9px;
  color: var(--green);
  stroke-width: 1.5;
}

.detail-lock h4 {
  margin: 0 0 5px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
}

.detail-lock p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.lock-cost {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 650;
}

.detail-footer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 15px;
}

.detail-footer-actions .primary-button,
.detail-footer-actions .secondary-button {
  width: 100%;
}

.relation-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  color: var(--ink-soft);
  background: var(--sage);
  font-size: 16px;
  line-height: 1.55;
}

.relation-note svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--green);
}

.relation-note b {
  color: var(--green);
}

.relation-note.is-danger {
  color: #744447;
  background: #fff1ee;
}

.relation-note.is-danger svg {
  color: #c95157;
}

.danger-button {
  background: #c95157;
  box-shadow: 0 10px 24px rgba(166, 61, 67, 0.2);
}

.danger-button:active {
  background: #ad3e44;
}

.auth-required-panel {
  display: grid;
  justify-items: center;
  gap: 11px;
  padding: 6px 2px 2px;
  text-align: center;
}

.auth-required-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(47, 107, 85, 0.14);
  border-radius: 18px;
  color: var(--green);
  background: var(--sage);
}

.auth-required-icon svg {
  width: 28px;
  height: 28px;
}

.auth-required-panel h3 {
  margin: 2px 0 0;
  color: var(--forest);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
}

.auth-required-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.auth-required-panel .primary-button {
  width: 100%;
  min-height: 48px;
  margin-top: 5px;
}

.auth-required-panel .text-button {
  width: 100%;
}

.filter-block {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.filter-block:first-child {
  padding-top: 3px;
}

.filter-block h4 {
  margin: 0 0 10px;
  font-size: 16px;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.choice-pill {
  min-height: 35px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.48);
  font-size: 16px;
}

.choice-pill.is-selected {
  border-color: transparent;
  color: #fff;
  background: var(--forest);
}

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

.profile-level-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.profile-level-choice {
  min-height: 36px;
  padding: 0 12px;
}

.sheet-primary {
  width: 100%;
  margin-top: 16px;
}

.location-breadcrumb {
  display: flex;
  gap: 5px;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.location-breadcrumb::-webkit-scrollbar {
  display: none;
}

.breadcrumb-item {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--green);
  background: var(--sage);
  font-size: 16px;
}

.breadcrumb-item.is-current {
  color: #fff;
  background: var(--green);
}

.location-level-list {
  display: grid;
  gap: 7px;
}

.location-option {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.7);
  font-size: 16px;
  text-align: left;
}

.location-option span {
  color: var(--muted);
  font-size: 16px;
}

.location-option svg {
  width: 13px;
  height: 13px;
  color: var(--muted);
}

.location-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.map-pick-entry {
  margin-bottom: 12px;
}

.map-picker-stage {
  position: relative;
  width: 100%;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #dfe9df;
}

.map-picker-stage img {
  display: block;
  width: 100%;
  min-height: 240px;
  object-fit: cover;
  cursor: crosshair;
}

.map-picker-stage.is-interactive {
  height: 300px;
}

.amap-picker-canvas {
  width: 100%;
  height: 100%;
}

.map-picker-stage.is-interactive .map-picker-label {
  top: auto;
  bottom: 28px;
  left: 12px;
  transform: none;
}

.map-address-card {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 253, 248, 0.86);
}

.map-address-card b {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.5;
}

.map-address-card small {
  color: var(--muted);
  font-size: 16px;
  letter-spacing: 0.04em;
}

.map-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  border: 2px solid var(--green);
  border-radius: 50% 50% 50% 0;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 8px 18px rgba(21, 58, 43, 0.2);
  transform: translate(-50%, -70%) rotate(-45deg);
}

.map-crosshair::after {
  position: absolute;
  top: 9px;
  left: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.map-picker-label {
  position: absolute;
  top: calc(50% + 22px);
  left: 50%;
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(26, 58, 43, 0.8);
  font-size: 16px;
  transform: translateX(-50%);
}

.map-fallback-grid {
  display: grid;
  min-height: 240px;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 24px;
  color: var(--green);
  background:
    linear-gradient(rgba(47, 107, 85, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 107, 85, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, #f8f5e9, #dfe9df);
  background-size: 24px 24px, 24px 24px, auto;
  text-align: center;
}

.map-fallback-grid span svg {
  width: 28px;
  height: 28px;
}

.map-fallback-grid b {
  font-family: var(--font-serif);
  font-size: 16px;
}

.map-fallback-grid p {
  max-width: 240px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

.map-nudge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 10px 0;
}

.map-nudge-grid button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--green);
  background: rgba(255, 253, 248, 0.84);
  font-size: 16px;
}

.membership-hero {
  position: relative;
  padding: 22px;
  overflow: hidden;
  border-radius: 25px;
  color: #fbf3df;
  background:
    radial-gradient(circle at 92% 14%, rgba(227, 192, 103, 0.22), transparent 32%),
    linear-gradient(130deg, #192f25, #355e4c);
}

.membership-hero::after {
  position: absolute;
  top: -68px;
  right: -57px;
  width: 205px;
  height: 205px;
  content: "";
  border: 1px solid rgba(238, 220, 166, 0.13);
  border-radius: 50%;
}

.membership-hero h3 {
  position: relative;
  z-index: 1;
  margin: 4px 0 7px;
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 600;
}

.membership-hero p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(248, 241, 219, 0.6);
  font-size: 16px;
  line-height: 1.7;
}

.membership-levels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 14px 0;
}

.membership-level {
  padding: 11px 5px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 650;
}

.membership-level.is-active {
  border-color: var(--green);
  color: var(--green);
  background: var(--sage);
}

.membership-card-preview {
  position: relative;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(205, 171, 92, 0.36);
  border-radius: 21px;
  background: linear-gradient(135deg, #eee6d1, #fdfbf4 62%, #e6d9b7);
  text-align: center;
}

.membership-card-preview img {
  width: 112px;
  margin-bottom: 8px;
}

.membership-card-preview h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
}

.membership-card-preview p {
  margin: 4px 0 0;
  color: #7c735f;
  font-size: 16px;
}

.duration-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 14px;
}

.duration-button {
  min-height: 51px;
  padding: 7px 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 253, 248, 0.7);
}

.duration-button b {
  display: block;
  font-size: 16px;
}

.duration-button span {
  display: block;
  margin-top: 3px;
  color: var(--coral);
  font-size: 16px;
}

.duration-button.is-selected {
  border-color: var(--green);
  color: var(--green);
  background: var(--sage);
}

.benefit-list {
  display: grid;
  gap: 7px;
  margin-top: 13px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 253, 248, 0.62);
}

.benefit-icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: var(--green);
  background: var(--sage);
}

.benefit-icon.is-off {
  color: var(--muted);
  background: var(--paper-deep);
}

.benefit-icon svg {
  width: 13px;
  height: 13px;
}

.benefit-item b {
  flex: 1;
  font-size: 16px;
}

.benefit-item span {
  color: var(--green);
  font-size: 16px;
  font-weight: 650;
}

.benefit-item span.is-off {
  color: var(--muted);
}

.benefit-item .benefit-copy {
  min-width: 0;
  flex: 1;
  color: var(--ink);
}

.benefit-copy b {
  display: block;
  font-size: 16px;
  font-weight: 650;
}

.benefit-copy small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 450;
  line-height: 1.45;
}

.member-buy-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0 2px;
}

.member-price {
  flex: 1;
}

.member-price small {
  display: block;
  color: var(--muted);
  font-size: 16px;
}

.member-price b {
  color: var(--coral);
  font-size: 22px;
}

.course-member-included {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--green);
  background: var(--sage);
  font-size: 16px;
  font-weight: 650;
}

.member-buy-bar .primary-button {
  min-width: 126px;
}

.membership-page {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 100% 0, rgba(220, 235, 225, 0.72), transparent 25rem),
    var(--paper);
}

.membership-page-header {
  position: sticky;
  z-index: 42;
  top: 0;
  display: block;
  padding: max(7px, env(safe-area-inset-top)) 12px 10px;
  border-bottom: 1px solid rgba(35, 70, 55, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.99), rgba(249, 246, 238, 0.96));
  box-shadow:
    0 1px rgba(255, 255, 255, 0.86) inset,
    0 12px 32px rgba(31, 66, 52, 0.08);
  backdrop-filter: blur(20px) saturate(1.14);
  -webkit-backdrop-filter: blur(20px) saturate(1.14);
}

.membership-page-header-top {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  min-height: 34px;
  align-items: center;
  gap: 8px;
}

.membership-page-header h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.1;
}

.membership-page-header .profile-edit-back {
  width: 34px;
  height: 34px;
}

.membership-page-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid rgba(47, 107, 85, 0.18);
  border-radius: 999px;
  color: #fff;
  background: var(--forest);
  box-shadow:
    0 5px 13px rgba(31, 74, 58, 0.16),
    inset 0 1px rgba(255, 255, 255, 0.14);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.membership-page-badge b {
  color: #f0d895;
  font-size: 16px;
  font-weight: 800;
}

.membership-level-selector {
  --active-index: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 8px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid rgba(47, 107, 85, 0.11);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(218, 232, 222, 0.92), rgba(235, 242, 236, 0.78));
  box-shadow:
    inset 0 1px 3px rgba(31, 74, 58, 0.08),
    0 1px rgba(255, 255, 255, 0.8);
  isolation: isolate;
}

.membership-level-selector::before {
  position: absolute;
  z-index: 0;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 5);
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  background: rgba(255, 254, 250, 0.98);
  box-shadow:
    0 5px 15px rgba(31, 66, 52, 0.13),
    0 1px 2px rgba(31, 66, 52, 0.08);
  content: "";
  transform: translateX(calc(var(--active-index) * 100%));
  transition: transform 300ms cubic-bezier(0.22, 0.78, 0.2, 1);
}

.membership-level-selector-button {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  min-height: 46px;
  align-content: center;
  justify-items: center;
  gap: 3px;
  padding: 5px 2px 4px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--tier-color, #607069);
  background: transparent;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.membership-selector-badge {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  height: 18px;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 1px 4px;
  overflow: hidden;
  border: 1px solid var(--badge-border, rgba(131, 145, 138, 0.2));
  border-radius: 999px;
  color: var(--badge-ink, #53625b);
  background: var(--badge-background, #f3f6f4);
  box-shadow:
    0 1px 3px rgba(35, 60, 48, 0.08),
    inset 0 1px rgba(255, 255, 255, 0.84);
  white-space: nowrap;
}

.membership-selector-badge::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    108deg,
    transparent 24%,
    rgba(255, 255, 255, 0.58) 46%,
    transparent 66%
  );
  opacity: 0;
  transform: translateX(-130%);
  pointer-events: none;
}

.membership-selector-badge b {
  min-width: 0;
  display: block;
  overflow: hidden;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  text-overflow: ellipsis;
}

.membership-selector-emblem {
  flex: 0 0 auto;
  color: var(--badge-emblem, #708078);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.membership-selector-price {
  display: block;
  color: var(--tier-price-color, #6d7873);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  white-space: nowrap;
}

.membership-selector-meta {
  display: flex;
  max-width: 100%;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  line-height: 1;
  white-space: nowrap;
}

.membership-selector-duration {
  color: #8b9691;
  font-size: 9px;
  font-weight: 550;
  letter-spacing: -0.05em;
  line-height: 1.15;
}

.membership-selector-meta > i {
  margin: 0 1px;
  color: rgba(111, 124, 117, 0.45);
  font-size: 8px;
  font-style: normal;
  line-height: 1;
}

.membership-level-selector-button.is-normal {
  --tier-color: #6d7873;
  --tier-price-color: #65716b;
  --badge-background: linear-gradient(135deg, #ffffff, #e7ece9);
  --badge-border: rgba(117, 133, 125, 0.24);
  --badge-ink: #53625b;
  --badge-emblem: #7b8982;
}

.membership-level-selector-button.is-silver {
  --tier-color: #788b94;
  --tier-price-color: #4f616a;
  --badge-background: linear-gradient(
    120deg,
    #ffffff 0%,
    #d2dadd 32%,
    #f5f8f9 53%,
    #b8c5ca 78%,
    #eef3f5 100%
  );
  --badge-border: rgba(112, 134, 145, 0.48);
  --badge-ink: #3f535d;
  --badge-emblem: #667e89;
}

.membership-level-selector-button.is-gold {
  --tier-color: #b8862f;
  --tier-price-color: #9b6d18;
  --badge-background: linear-gradient(120deg, #fff8df, #d5a744 48%, #f8e6ad);
  --badge-border: rgba(164, 116, 25, 0.5);
  --badge-ink: #704b10;
  --badge-emblem: #90651b;
}

.membership-level-selector-button.is-platinum {
  --tier-color: #28718b;
  --tier-price-color: #1f637b;
  --badge-background: linear-gradient(
    122deg,
    #f8feff 0%,
    #c1e7f1 28%,
    #e9faff 48%,
    #79b7ca 76%,
    #dff6fb 100%
  );
  --badge-border: rgba(47, 126, 151, 0.58);
  --badge-ink: #1f5366;
  --badge-emblem: #1e6f88;
}

.membership-level-selector-button.is-black {
  --tier-color: #2d3b34;
  --tier-price-color: #6f5520;
  --badge-background:
    radial-gradient(circle at 82% 0, rgba(236, 197, 102, 0.24), transparent 42%),
    linear-gradient(135deg, #17241d, #30463a 58%, #17231d);
  --badge-border: rgba(212, 174, 79, 0.52);
  --badge-ink: #f2d994;
  --badge-emblem: #f0cb71;
}

.membership-level-selector-button.is-black .membership-selector-badge {
  overflow: visible;
  border-color: transparent;
}

.membership-level-selector-button.is-black .membership-selector-badge::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: 1.5px;
  border-radius: 999px;
  background: conic-gradient(
    from var(--black-badge-angle),
    #704b12 0deg,
    #d9a63f 48deg,
    #fff8d7 82deg,
    #f5d47d 112deg,
    #9a6a1b 155deg,
    #4d3510 210deg,
    #d7a13a 262deg,
    #fff3bf 294deg,
    #ba8328 326deg,
    #704b12 360deg
  );
  content: "";
  pointer-events: none;
  filter:
    drop-shadow(0 0 1.5px rgba(255, 224, 133, 0.7))
    drop-shadow(0 0 3.5px rgba(225, 174, 62, 0.34));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: black-badge-border-spin 2.2s linear infinite;
}

.membership-level-selector-button.is-active {
  border-color: rgba(255, 255, 255, 0.88);
}

.membership-level-selector-button.is-active .membership-selector-badge {
  box-shadow:
    0 2px 7px color-mix(in srgb, var(--tier-color) 22%, transparent),
    inset 0 1px rgba(255, 255, 255, 0.9);
}

.membership-level-selector-button.is-active .membership-selector-price {
  font-weight: 800;
}

.membership-level-selector-button.is-active .membership-selector-duration {
  color: var(--tier-color);
  opacity: 0.64;
}

.membership-level-selector-button.is-active.is-normal {
  background: linear-gradient(145deg, #ffffff, #edf1ef);
  animation: membership-selector-normal 2.8s ease-in-out infinite;
}

.membership-level-selector-button.is-active.is-silver {
  background: linear-gradient(145deg, #ffffff, #dce6ea 54%, #f8fbfc);
  animation: membership-selector-silver 3s ease-in-out infinite;
}

.membership-level-selector-button.is-active.is-silver .membership-selector-badge::after {
  animation: membership-selector-silver-sheen 2.8s ease-in-out infinite;
}

.membership-level-selector-button.is-active.is-gold {
  background: linear-gradient(145deg, #fffdf6, #f5e4b7 56%, #fff8e7);
  animation: membership-selector-gold 2.3s ease-in-out infinite;
}

.membership-level-selector-button.is-active.is-gold .membership-selector-badge {
  animation: membership-selector-gold-badge 2.3s ease-in-out infinite;
}

.membership-level-selector-button.is-active.is-platinum {
  border-color: rgba(99, 170, 194, 0.62);
  background:
    linear-gradient(
      115deg,
      #f5fdff 0%,
      #c8ebf3 28%,
      #eefbfe 48%,
      #a6d8e4 68%,
      #e7f8fc 100%
    );
  background-size: 220% 100%;
  box-shadow:
    0 4px 16px rgba(42, 126, 154, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.86);
  animation: membership-selector-platinum 3.2s linear infinite;
}

.membership-level-selector-button.is-active.is-platinum .membership-selector-badge::after {
  animation: membership-selector-silver-sheen 3.2s linear infinite;
}

.membership-level-selector-button.is-active.is-platinum .membership-selector-emblem {
  animation: membership-selector-platinum-emblem 1.9s ease-in-out infinite;
}

.membership-level-selector-button.is-active.is-black {
  --tier-price-color: #f2d58e;
  border-color: rgba(231, 194, 104, 0.72);
  background:
    radial-gradient(circle at 80% 0, rgba(236, 197, 102, 0.26), transparent 48%),
    linear-gradient(145deg, #18261f, #2d4035 58%, #17231d);
  animation: membership-selector-black 2.4s ease-in-out infinite;
}

.membership-level-selector-button.is-active.is-black .membership-selector-duration {
  color: #f5eddb;
  opacity: 1;
}

.membership-level-selector-button.is-active.is-black .membership-selector-badge {
  animation: membership-selector-black-badge 2.4s ease-in-out infinite;
}

.membership-level-selector-button:active {
  transform: scale(0.96);
}

@keyframes membership-selector-normal {
  0%,
  100% {
    box-shadow: 0 3px 9px rgba(61, 75, 68, 0.08);
  }
  50% {
    box-shadow: 0 4px 13px rgba(61, 75, 68, 0.17);
  }
}

@keyframes membership-selector-silver {
  0%,
  100% {
    box-shadow: 0 3px 10px rgba(84, 108, 119, 0.12);
  }
  50% {
    box-shadow: 0 4px 15px rgba(91, 124, 138, 0.22);
  }
}

@keyframes membership-selector-silver-sheen {
  0%,
  58% {
    opacity: 0;
    transform: translateX(-130%);
  }
  68% {
    opacity: 0.78;
  }
  84%,
  100% {
    opacity: 0;
    transform: translateX(130%);
  }
}

@keyframes membership-selector-gold {
  0%,
  100% {
    box-shadow: 0 3px 10px rgba(184, 134, 47, 0.14);
  }
  50% {
    box-shadow:
      0 4px 16px rgba(184, 134, 47, 0.28),
      0 0 10px rgba(236, 199, 105, 0.2);
  }
}

@keyframes membership-selector-gold-badge {
  0%,
  100% {
    filter: drop-shadow(0 1px 2px rgba(123, 83, 15, 0.14));
    transform: translateY(0);
  }
  50% {
    filter: drop-shadow(0 2px 5px rgba(201, 146, 39, 0.36));
    transform: translateY(-1px);
  }
}

@keyframes membership-selector-platinum {
  0% {
    background-position: 0 50%;
  }
  100% {
    background-position: 220% 50%;
  }
}

@keyframes membership-selector-platinum-emblem {
  0%,
  100% {
    color: #286f86;
    filter: drop-shadow(0 0 1px rgba(53, 149, 177, 0.2));
    transform: rotate(0deg) scale(0.94);
  }
  50% {
    color: #0f647f;
    filter: drop-shadow(0 0 4px rgba(45, 153, 188, 0.5));
    transform: rotate(45deg) scale(1.1);
  }
}

@keyframes membership-selector-black {
  0%,
  100% {
    box-shadow:
      0 4px 12px rgba(18, 29, 23, 0.24),
      0 0 0 1px rgba(221, 180, 82, 0.1);
  }
  50% {
    box-shadow:
      0 5px 17px rgba(18, 29, 23, 0.35),
      0 0 0 1px rgba(228, 190, 98, 0.38),
      0 0 13px rgba(221, 180, 82, 0.22);
  }
}

@keyframes membership-selector-black-badge {
  0%,
  100% {
    filter: brightness(0.98) drop-shadow(0 1px 2px rgba(224, 187, 94, 0.18));
  }
  50% {
    filter: brightness(1.14) drop-shadow(0 2px 5px rgba(239, 204, 118, 0.45));
  }
}

.membership-page-content {
  padding: 16px 18px calc(178px + env(safe-area-inset-bottom));
}

.membership-page-panel {
  --preview-background: linear-gradient(135deg, #eee6d1, #fdfbf4 62%, #e6d9b7);
  --preview-border: rgba(205, 171, 92, 0.36);
  --preview-title: #3d3b33;
  --preview-copy: #7c735f;
  --benefit-panel-background: rgba(255, 253, 248, 0.78);
  --benefit-panel-border: var(--line);
  --benefit-item-background: rgba(255, 253, 248, 0.62);
  --benefit-item-border: var(--line);
  --benefit-title: var(--ink);
  --benefit-copy: var(--ink);
  --benefit-muted: var(--muted);
  --benefit-value: var(--green);
  --benefit-accent: var(--green);
  --benefit-icon-background: var(--sage);
  --benefit-icon-color: var(--green);
  display: grid;
  gap: 14px;
}

.membership-page-panel.is-normal {
  --preview-background: linear-gradient(135deg, #ffffff, #edf1ef 64%, #dfe5e2);
  --preview-border: rgba(117, 133, 125, 0.28);
  --preview-title: #39453f;
  --preview-copy: #68766f;
  --benefit-panel-background: linear-gradient(145deg, #fffefb, #eef2ef);
  --benefit-panel-border: rgba(117, 133, 125, 0.2);
  --benefit-item-background: linear-gradient(135deg, #ffffff, #f1f4f2);
  --benefit-item-border: rgba(117, 133, 125, 0.18);
  --benefit-title: #39453f;
  --benefit-copy: #4f5d56;
  --benefit-muted: #7c8781;
  --benefit-value: #5d6663;
  --benefit-accent: #93a09a;
  --benefit-icon-background: #edf2ef;
  --benefit-icon-color: #6d7d75;
}

.membership-page-panel.is-silver {
  --preview-background:
    linear-gradient(125deg, #ffffff 0%, #d8e0e3 34%, #f8fafb 56%, #c1cdd2 100%);
  --preview-border: rgba(112, 134, 145, 0.38);
  --preview-title: #35474f;
  --preview-copy: #64757d;
  --benefit-panel-background:
    linear-gradient(145deg, #fbfcfc, #dce4e7 58%, #f7f9fa);
  --benefit-panel-border: rgba(112, 134, 145, 0.24);
  --benefit-item-background:
    linear-gradient(125deg, #ffffff, #e8edef 58%, #f9fbfc);
  --benefit-item-border: rgba(112, 134, 145, 0.2);
  --benefit-title: #35474f;
  --benefit-copy: #465960;
  --benefit-muted: #718188;
  --benefit-value: #4f616a;
  --benefit-accent: #718c98;
  --benefit-icon-background: #e5ecef;
  --benefit-icon-color: #58727d;
}

.membership-page-panel.is-gold {
  --preview-background:
    radial-gradient(circle at 90% 8%, rgba(255, 255, 255, 0.72), transparent 32%),
    linear-gradient(135deg, #fff9e7, #f3dfaa 62%, #fff5d9);
  --preview-border: rgba(178, 128, 35, 0.36);
  --preview-title: #5d4517;
  --preview-copy: #816d3f;
  --benefit-panel-background:
    linear-gradient(145deg, #fffdf7, #f8ebc9 62%, #fffaf0);
  --benefit-panel-border: rgba(190, 143, 38, 0.26);
  --benefit-item-background:
    linear-gradient(125deg, #fffefb, #f8edcf 62%, #fffdf8);
  --benefit-item-border: rgba(190, 143, 38, 0.22);
  --benefit-title: #5d4517;
  --benefit-copy: #463c27;
  --benefit-muted: #897a5f;
  --benefit-value: #9b6d18;
  --benefit-accent: #c89a3d;
  --benefit-icon-background: #fff3d0;
  --benefit-icon-color: #9b6d18;
}

.membership-page-panel.is-platinum {
  --preview-background:
    radial-gradient(circle at 92% 4%, rgba(255, 255, 255, 0.96), transparent 31%),
    linear-gradient(125deg, #f6fdff, #c9eaf2 42%, #eefbfe 67%, #9fd1df);
  --preview-border: rgba(47, 126, 151, 0.4);
  --preview-title: #205264;
  --preview-copy: #557b88;
  --benefit-panel-background:
    linear-gradient(145deg, #f7fdff, #d9f0f5 58%, #eefaff);
  --benefit-panel-border: rgba(47, 126, 151, 0.25);
  --benefit-item-background:
    linear-gradient(125deg, #fbfeff, #ddf2f7 62%, #f5fcfe);
  --benefit-item-border: rgba(47, 126, 151, 0.2);
  --benefit-title: #205264;
  --benefit-copy: #2e5562;
  --benefit-muted: #6b8791;
  --benefit-value: #1f637b;
  --benefit-accent: #68adc1;
  --benefit-icon-background: #dff4f9;
  --benefit-icon-color: #27748c;
}

.membership-page-panel.is-black {
  --preview-background:
    radial-gradient(circle at 88% 6%, rgba(231, 193, 100, 0.24), transparent 36%),
    linear-gradient(135deg, #17261f, #30473b 58%, #1a2921);
  --preview-border: rgba(224, 185, 86, 0.46);
  --preview-title: #f4e6c5;
  --preview-copy: #c9bd9f;
  --benefit-panel-background:
    radial-gradient(circle at 94% 0, rgba(225, 183, 82, 0.13), transparent 32%),
    linear-gradient(145deg, #17251e, #263a30 56%, #1a2921);
  --benefit-panel-border: rgba(222, 184, 86, 0.3);
  --benefit-item-background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.075), rgba(210, 171, 70, 0.055));
  --benefit-item-border: rgba(225, 190, 101, 0.2);
  --benefit-title: #f5e7c5;
  --benefit-copy: #f0ead9;
  --benefit-muted: #bdb49c;
  --benefit-value: #f1ca6b;
  --benefit-accent: #d9ad50;
  --benefit-icon-background: rgba(226, 185, 83, 0.12);
  --benefit-icon-color: #efc967;
}

.membership-page-panel .membership-levels {
  margin: 0;
}

.membership-page-panel .membership-card-preview {
  margin: 0;
  border-color: var(--preview-border);
  background: var(--preview-background);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.56),
    0 12px 28px rgba(37, 61, 49, 0.08);
}

.membership-page-panel .membership-card-preview h4 {
  color: var(--preview-title);
}

.membership-page-panel .membership-card-preview p {
  color: var(--preview-copy);
}

.membership-black-config,
.membership-benefits-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.78);
}

.membership-page-panel .membership-benefits-panel {
  border-color: var(--benefit-panel-border);
  background: var(--benefit-panel-background);
  box-shadow:
    inset 3px 0 var(--benefit-accent),
    0 12px 28px rgba(37, 61, 49, 0.08);
}

.membership-page-panel .membership-benefits-panel .overline,
.membership-page-panel .membership-benefits-panel .membership-section-heading h2 {
  color: var(--benefit-title);
}

.membership-page-panel .membership-benefits-panel .membership-section-heading > span {
  color: var(--benefit-muted);
}

.membership-page-panel .benefit-item {
  border-color: var(--benefit-item-border);
  background: var(--benefit-item-background);
  box-shadow:
    inset 3px 0 color-mix(in srgb, var(--benefit-accent) 70%, transparent),
    0 1px rgba(255, 255, 255, 0.42);
}

.membership-page-panel .benefit-item .benefit-icon {
  color: var(--benefit-icon-color);
  background: var(--benefit-icon-background);
}

.membership-page-panel .benefit-item .benefit-copy {
  color: var(--benefit-copy);
}

.membership-page-panel .benefit-item .benefit-copy b {
  color: var(--benefit-title);
}

.membership-page-panel .benefit-item .benefit-copy small,
.membership-page-panel .benefit-item span.is-off {
  color: var(--benefit-muted);
}

.membership-page-panel .benefit-item > span:last-child {
  color: var(--benefit-value);
}

.membership-black-config {
  display: grid;
  gap: 14px;
}

.membership-black-config .form-group {
  margin: 0;
}

.membership-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.membership-section-heading h2 {
  margin: 2px 0 0;
  font-family: var(--font-serif);
  font-size: 22px;
}

.membership-section-heading > span {
  color: var(--muted);
  font-size: 16px;
}

.membership-benefits-panel .benefit-list {
  margin-top: 12px;
}

.membership-purchase-dock {
  position: fixed;
  z-index: 48;
  left: 50%;
  bottom: 0;
  width: min(100%, 520px);
  padding: 11px 18px calc(11px + env(safe-area-inset-bottom));
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: translateX(-50%);
}

.membership-checkout-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  min-height: 66px;
  align-items: center;
  gap: 18px;
  padding: 8px 18px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 10px 24px rgba(47, 107, 85, 0.2);
  text-align: left;
}

.membership-checkout-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.membership-checkout-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.membership-checkout-badge {
  width: 72px;
  max-height: 24px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(22, 47, 36, 0.16));
}

.membership-checkout-main b {
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.membership-checkout-main small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.membership-checkout-action {
  display: flex;
  min-width: 78px;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.membership-checkout-action strong {
  color: #fff;
  font-size: 20px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.membership-checkout-action em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.membership-checkout-action em i {
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

.membership-checkout-button:active {
  transform: scale(0.99);
}

.membership-payment-options {
  display: grid;
  gap: 10px;
}

.membership-payment-options button {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.84);
  text-align: left;
}

.membership-payment-options button:disabled {
  opacity: 0.46;
}

.membership-payment-options span {
  min-width: 0;
}

.membership-payment-options b,
.membership-payment-options small {
  display: block;
}

.membership-payment-options b {
  font-size: 18px;
}

.membership-payment-options small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 16px;
}

.membership-payment-options strong {
  flex: 0 0 auto;
  color: var(--coral);
  font-size: 22px;
}

.payment-channel-options {
  display: grid;
  gap: 10px;
}

.payment-channel-option {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 253, 248, 0.9);
  text-align: left;
}

.payment-channel-option:active {
  transform: scale(0.985);
}

.payment-channel-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  font-size: 19px;
  font-weight: 750;
}

.payment-channel-option.is-alipay .payment-channel-mark {
  background: linear-gradient(145deg, #2b8cff, #1268d8);
}

.payment-channel-option.is-wxpay .payment-channel-mark {
  background: linear-gradient(145deg, #32b35c, #178847);
}

.payment-channel-option > span:nth-child(2) {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 3px;
}

.payment-channel-option b {
  color: var(--ink);
  font-size: 17px;
}

.payment-channel-option small {
  color: var(--muted);
  font-size: 14px;
}

.payment-channel-option > i {
  color: var(--green);
  font-size: 19px;
  font-style: normal;
}

.points-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.points-stat {
  padding: 17px;
  border-radius: 18px;
  background: var(--sage);
}

.points-stat b {
  display: block;
  color: var(--green);
  font-family: var(--font-serif);
  font-size: 26px;
}

.points-stat span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 16px;
}

.points-section {
  margin-top: 18px;
}

.points-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.points-section-head h4 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
}

.points-section-head small {
  display: none;
  color: var(--muted);
  font-size: 16px;
  text-align: right;
}

.points-rule-list {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.points-rule-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.7);
}

.points-rule-item:last-child {
  border-bottom: 0;
}

.points-rule-item > span:nth-child(2) {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 3px;
}

.points-rule-item b {
  font-size: 16px;
}

.points-rule-item small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.points-rule-item > strong {
  flex: none;
  color: var(--green);
  font-size: 18px;
}

.points-rule-item.is-disabled {
  opacity: 0.55;
}

.points-purchase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.points-purchase-card {
  position: relative;
  display: flex;
  min-height: 118px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  overflow: hidden;
  padding: 13px 14px 11px;
  border: 1px solid rgba(47, 107, 85, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.9), transparent 42%),
    linear-gradient(145deg, #f5faf6, #dfeddf);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  color: var(--ink);
  text-align: left;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.points-purchase-card::after {
  position: absolute;
  right: -18px;
  bottom: -24px;
  width: 62px;
  height: 62px;
  border: 10px solid rgba(47, 107, 85, 0.06);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.points-purchase-card:active:not(:disabled) {
  transform: scale(0.975);
}

.points-purchase-card:focus-visible {
  border-color: var(--green);
  outline: 2px solid rgba(47, 107, 85, 0.2);
  outline-offset: 2px;
  box-shadow: 0 8px 22px rgba(31, 74, 53, 0.12);
}

.points-pack-kicker {
  color: rgba(33, 76, 54, 0.62);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.points-purchase-card b {
  color: #214c36;
  font-size: 22px;
  line-height: 1.1;
}

.points-purchase-card strong {
  color: var(--coral);
  font-size: 19px;
  line-height: 1.15;
}

.points-purchase-card strong em {
  margin-right: 1px;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.points-pack-action {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(47, 107, 85, 0.12);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.points-pack-action i {
  font-size: 16px;
  font-style: normal;
  line-height: 1;
}

.points-purchase-card:disabled {
  filter: grayscale(0.35);
  opacity: 0.58;
}

.points-purchase-card:disabled .points-pack-action {
  color: var(--muted);
  font-weight: 500;
}

.points-inline-empty {
  padding: 18px;
  border: 1px dashed rgba(47, 107, 85, 0.2);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(246, 249, 247, 0.7);
  font-size: 16px;
  text-align: center;
}

.exchange-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.exchange-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.64);
}

.exchange-item:last-child {
  border-bottom: 0;
}

.exchange-item b {
  display: block;
  margin-bottom: 3px;
  font-size: 16px;
}

.exchange-item small {
  color: var(--muted);
  font-size: 16px;
}

.exchange-item > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.exchange-button {
  padding: 6px 9px;
  border-radius: 9px;
  color: var(--green);
  background: var(--sage);
  font-size: 16px;
  font-weight: 650;
}

.invite-poster {
  position: relative;
  padding: 22px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 15%, rgba(246, 231, 184, 0.45), transparent 25%),
    linear-gradient(145deg, #2c5a47, #17372a);
  color: #fcf5e3;
  text-align: center;
}

.invite-poster h3 {
  margin: 12px 0 7px;
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 600;
}

.invite-poster p {
  margin: 0;
  color: rgba(249, 242, 222, 0.65);
  font-size: 16px;
  line-height: 1.7;
}

.qr-placeholder {
  display: grid;
  width: 126px;
  height: 126px;
  place-items: center;
  margin: 19px auto 13px;
  border: 8px solid rgba(255, 253, 246, 0.94);
  border-radius: 16px;
  background:
    linear-gradient(90deg, #22382e 7px, transparent 7px) 0 0 / 14px 14px,
    linear-gradient(#22382e 7px, transparent 7px) 0 0 / 14px 14px,
    #fffdf6;
  color: var(--forest);
  font-weight: 800;
}

.qr-placeholder span {
  padding: 4px 6px;
  border-radius: 6px;
  background: #fffdf6;
  font-size: 16px;
}

.invite-code {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px dashed rgba(248, 232, 191, 0.35);
  border-radius: 999px;
  color: #edd18c;
  font-size: 16px;
  letter-spacing: 0.08em;
}

.list-simple {
  display: grid;
  gap: 8px;
}

.list-person {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.7);
  text-align: left;
}

.list-person img {
  width: 44px;
  height: 50px;
  border-radius: 13px;
  background: var(--sage);
  object-fit: contain;
}

.list-person-avatar {
  position: relative;
  display: grid;
  width: 44px;
  height: 50px;
  flex: 0 0 44px;
  place-items: center;
  overflow: hidden;
  border-radius: 13px;
  color: var(--green);
  background: var(--sage);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
}

.list-person-avatar > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.list-person-avatar img {
  position: absolute;
  inset: 0;
  width: 44px;
  height: 50px;
  object-fit: cover;
}

.list-person-avatar img[hidden] {
  display: none;
}

.list-person b {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.list-person small {
  color: var(--muted);
  font-size: 16px;
}

.list-person-detail {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 11px;
  text-align: left;
}

.list-person-detail > span {
  min-width: 0;
}

.list-person > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.small-state {
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--green);
  background: var(--sage);
  font-size: 16px;
}

.choice-stack {
  display: grid;
  gap: 9px;
}

.choice-stack .secondary-button {
  justify-content: flex-start;
  min-height: 48px;
  text-align: left;
}

.choice-stack .secondary-button.is-selected {
  border-color: var(--green);
  color: var(--green);
  background: var(--sage);
}

.form-group {
  margin-top: 13px;
}

.form-group label {
  display: block;
  margin: 0 0 7px 2px;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 650;
}

.form-input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
  background: rgba(255, 253, 248, 0.8);
  font-size: 16px;
}

.sheet-password-field {
  position: relative;
}

.sheet-password-field .form-input {
  padding-right: 50px;
}

.sheet-password-toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  color: var(--muted);
  transform: translateY(-50%);
}

.sheet-password-toggle svg {
  width: 19px;
  height: 19px;
}

.sheet-password-toggle.is-visible {
  color: var(--green);
  background: var(--sage);
}

.password-change-hint {
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.password-change-hint.is-invalid {
  color: #b55743;
}

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

.form-textarea {
  min-height: 90px;
  padding-top: 12px;
  resize: vertical;
}

.interest-field-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 2px 7px;
}

.interest-field-heading label {
  margin: 0;
}

.interest-field-heading span {
  color: var(--coral);
  font-size: 16px;
  font-weight: 700;
}

.interest-selection-summary {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.78);
}

.interest-selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 27px;
  align-items: center;
}

.interest-selected-tags span {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--green);
  background: var(--sage);
  font-size: 16px;
}

.interest-selected-tags small {
  color: var(--muted);
  font-size: 16px;
}

.interest-picker-trigger {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border: 1px solid var(--sage-deep);
  border-radius: 12px;
  color: var(--forest);
  background: var(--surface);
  font-size: 16px;
  font-weight: 700;
}

.interest-picker-trigger b {
  color: var(--green);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.interest-selection-note {
  margin: 6px 2px 0;
  color: var(--coral);
  font-size: 16px;
}

.interest-selection-note.is-complete {
  color: var(--green);
}

.interest-picker {
  position: fixed;
  z-index: 130;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px 10px max(10px, env(safe-area-inset-bottom));
}

.interest-picker[hidden] {
  display: none;
}

.interest-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 31, 24, 0.56);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.interest-picker-card {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 520px);
  max-height: min(92dvh, 880px);
  flex-direction: column;
  overflow: hidden;
  border-radius: 27px;
  background:
    radial-gradient(circle at 100% 0, rgba(217, 234, 222, 0.55), transparent 28%),
    var(--paper);
  box-shadow: 0 -24px 70px rgba(16, 42, 30, 0.25);
  animation: interest-picker-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes interest-picker-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.interest-picker-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 20px 14px;
  border-bottom: 1px solid var(--line);
}

.interest-picker-head h2 {
  margin: 0;
  color: var(--forest);
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
}

.interest-picker-head p:not(.overline) {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.interest-picker-count {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 11px;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.8);
}

.interest-picker-count strong {
  color: var(--green);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.interest-picker-body {
  overflow-y: auto;
  padding: 16px 20px 12px;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.interest-picker-body::-webkit-scrollbar {
  display: none;
}

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

.interest-category-card {
  display: flex;
  min-height: 94px;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.78);
  text-align: left;
}

.interest-category-card b {
  margin-top: auto;
  color: var(--forest);
  font-size: 16px;
}

.interest-category-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 16px;
}

.interest-category-index {
  color: var(--muted);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.interest-category-view[hidden],
.interest-tag-view[hidden] {
  display: none;
}

.interest-category-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.interest-category-tab {
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.82);
  font-size: 16px;
}

.interest-category-tab span {
  margin-left: 4px;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.interest-category-tab.is-active {
  border-color: var(--green);
  color: var(--green);
  background: var(--sage);
  font-weight: 700;
}

.interest-tag-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 2px 10px;
}

.interest-tag-heading h3 {
  margin: 0;
  color: var(--forest);
  font-size: 16px;
}

.interest-tag-heading span {
  color: var(--muted);
  font-size: 16px;
}

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

.interest-option {
  min-height: 47px;
  padding: 7px 4px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.82);
  font-size: 16px;
  line-height: 1.35;
}

.interest-option.is-selected {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
  font-weight: 700;
}

.interest-option:disabled {
  opacity: 0.42;
}

.interest-picker-hint {
  min-height: 18px;
  margin: 12px 2px 0;
  color: var(--coral);
  font-size: 16px;
  line-height: 1.5;
}

.interest-picker-hint.is-complete {
  color: var(--green);
  font-weight: 700;
}

.interest-picker-actions {
  display: grid;
  grid-template-columns: minmax(90px, 0.75fr) minmax(0, 1.6fr);
  gap: 9px;
  padding: 12px 20px max(16px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(247, 243, 234, 0.96);
}

.interest-picker-actions button {
  min-height: 46px;
}

.interest-picker-actions .primary-button:disabled {
  color: var(--muted);
  background: var(--paper-deep);
  box-shadow: none;
}

.content-policy-alert {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 2px 0 14px;
  padding: 13px;
  border: 1px solid rgba(189, 92, 76, 0.22);
  border-radius: 16px;
  color: #6e342d;
  background:
    radial-gradient(circle at 100% 0, rgba(212, 132, 104, 0.12), transparent 36%),
    #fff5f0;
}

.content-policy-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 10px;
  color: #a8493b;
  background: #f9ddd5;
}

.content-policy-icon svg {
  width: 17px;
  height: 17px;
}

.content-policy-alert b {
  display: block;
  font-size: 16px;
}

.content-policy-alert p {
  margin: 4px 0 0;
  color: #8b5b53;
  font-size: 16px;
  line-height: 1.65;
}

.media-policy-warning {
  margin-top: 10px;
  padding: 10px 11px;
  border: 1px dashed rgba(174, 118, 39, 0.3);
  border-radius: 13px;
  color: #775421;
  background: #fff9ec;
  font-size: 14px;
}

.media-policy-warning b {
  display: block;
  font-size: 14px;
}

.media-policy-warning p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

.text-policy-warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 13px;
  padding: 10px 11px;
  border-radius: 13px;
  color: #7d4b2d;
  background: #fff7ed;
  font-size: 16px;
  line-height: 1.6;
}

.text-policy-warning svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin-top: 1px;
}

.content-policy-confirm {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 13px 0 8px;
  padding: 11px;
  border: 1px solid rgba(47, 107, 85, 0.16);
  border-radius: 13px;
  color: var(--ink-soft);
  background: rgba(232, 241, 235, 0.66);
  font-size: 16px;
  line-height: 1.65;
  cursor: pointer;
}

.content-policy-confirm input {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin-top: 1px;
  accent-color: var(--green);
}

.account-identity-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 13px;
  padding: 14px;
  border: 1px solid rgba(47, 107, 85, 0.14);
  border-radius: 17px;
  background:
    linear-gradient(135deg, rgba(232, 241, 235, 0.84), rgba(255, 253, 248, 0.92));
}

.account-identity-card > span {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.account-identity-card small {
  color: var(--muted);
  font-size: 16px;
}

.account-identity-card b {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 16px;
}

.account-identity-card p {
  grid-column: 1 / -1;
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

.profile-stepper {
  position: sticky;
  z-index: 8;
  top: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin: 0 -20px 15px;
  padding: 12px 18px 10px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.profile-stepper span {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--muted);
}

.profile-stepper span:not(:last-child)::after {
  position: absolute;
  z-index: -1;
  top: 13px;
  left: calc(50% + 15px);
  width: calc(100% - 30px);
  height: 1px;
  content: "";
  background: var(--line);
}

.profile-stepper i {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: var(--surface);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
}

.profile-stepper small {
  font-size: 16px;
  white-space: nowrap;
}

.profile-stepper span.is-active {
  color: var(--forest);
}

.profile-stepper span.is-active i {
  color: #fff;
  border-color: var(--forest);
  background: var(--forest);
}

.profile-stepper span.is-complete i {
  color: var(--green);
  border-color: var(--sage-deep);
  background: var(--sage);
}

.profile-step-panel {
  animation: profile-step-in 220ms ease both;
}

.profile-step-panel[hidden] {
  display: none;
}

.profile-validation-target {
  scroll-margin-block: 120px;
}

.profile-revision-target {
  position: relative;
  scroll-margin-block: 120px;
  border-radius: 16px;
  outline: 3px solid rgba(185, 77, 57, 0.58);
  outline-offset: 6px;
  background-color: rgba(255, 235, 226, 0.72);
  animation: profile-revision-pulse 1.4s ease-out 3;
}

.profile-validation-target.is-invalid {
  position: relative;
  border-radius: 16px;
  outline: 2px solid rgba(202, 123, 103, 0.72);
  outline-offset: 6px;
  background-color: rgba(248, 233, 227, 0.52);
  animation: profile-validation-shake 420ms cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

.profile-validation-target.is-invalid .form-input,
.profile-validation-target.is-invalid .interest-selection-summary,
.profile-validation-target.is-invalid .choice-pill,
.profile-validation-target.is-invalid .contact-upload-button {
  border-color: rgba(202, 123, 103, 0.62);
}

.profile-validation-target.is-invalid .interest-field-heading span,
.profile-validation-target.is-invalid .interest-selection-note {
  color: #a94f42;
}

.profile-validation-message {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 8px 1px 0;
  color: #a94f42;
  font-size: 16px;
  font-weight: 720;
  line-height: 1.55;
}

.profile-validation-message::before {
  flex: 0 0 auto;
  content: "!";
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  color: #fff;
  background: #b85f50;
  font-size: 15px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}

.content-policy-confirm {
  flex-wrap: wrap;
}

.contact-qr-list > .profile-validation-message {
  grid-column: 1 / -1;
}

@keyframes profile-validation-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  18% {
    transform: translateX(-7px) rotate(-0.25deg);
  }
  36% {
    transform: translateX(6px) rotate(0.25deg);
  }
  54% {
    transform: translateX(-5px);
  }
  72% {
    transform: translateX(4px);
  }
  86% {
    transform: translateX(-2px);
  }
}

@keyframes profile-revision-pulse {
  0%,
  100% {
    outline-color: rgba(185, 77, 57, 0.45);
    box-shadow: 0 0 0 0 rgba(185, 77, 57, 0);
  }
  45% {
    outline-color: rgba(185, 77, 57, 0.82);
    box-shadow: 0 0 0 8px rgba(185, 77, 57, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-validation-target.is-invalid,
  .profile-revision-target {
    animation: none;
  }
}

@keyframes profile-step-in {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.profile-step-title {
  display: grid;
  gap: 4px;
  margin: 4px 2px 15px;
}

.profile-step-title > span {
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.profile-step-title h3 {
  margin: 0;
  color: var(--forest);
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 600;
}

.profile-step-title p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.profile-step-actions {
  display: grid;
  grid-template-columns: minmax(92px, 0.7fr) minmax(0, 1.6fr);
  gap: 9px;
  margin-top: 20px;
}

.profile-step-actions button {
  min-height: 48px;
}

.profile-step-actions [data-action="save-profile"][aria-busy="true"] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

[data-action="submit-report"][aria-busy="true"] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.submit-spinner {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #fff;
  border-radius: 50%;
  animation: submit-spinner-rotate 720ms linear infinite;
}

@keyframes submit-spinner-rotate {
  to {
    transform: rotate(360deg);
  }
}

.profile-step-actions .sheet-primary {
  margin-top: 0;
}

.profile-step-actions .primary-button:only-child {
  grid-column: 1 / -1;
}

.avatar-editor {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.72);
}

.avatar-editor-preview {
  position: relative;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  overflow: hidden;
  border: 1px dashed rgba(47, 107, 85, 0.26);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(237, 246, 240, 0.96), rgba(249, 244, 231, 0.88));
}

.avatar-editor-preview > img {
  position: absolute;
  inset: 0;
  width: 96px;
  height: 96px;
  object-fit: cover;
}

.avatar-editor-preview.is-empty::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 24%, rgba(47, 107, 85, 0.1), transparent 42%),
    linear-gradient(145deg, transparent, rgba(255, 255, 255, 0.42));
}

.avatar-upload-overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px;
  color: var(--green);
  background: transparent;
  font-size: 16px;
  font-weight: 700;
}

.avatar-upload-overlay b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 19px;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(47, 107, 85, 0.2);
}

.avatar-editor-preview.has-avatar .avatar-upload-overlay {
  justify-content: flex-end;
  color: #fff;
  background: linear-gradient(180deg, transparent 42%, rgba(15, 40, 29, 0.78));
}

.avatar-editor-preview.has-avatar .avatar-upload-overlay b {
  display: none;
}

.avatar-editor-copy {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.avatar-editor-copy > b {
  width: 100%;
  font-size: 16px;
}

.avatar-editor-copy > b em {
  margin-left: 5px;
  padding: 2px 6px;
  border-radius: 999px;
  color: #b54b58;
  background: #fff0f1;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
}

.avatar-editor-copy > small {
  width: 100%;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.avatar-crop-intro,
.avatar-crop-note {
  margin: 0 auto 12px;
  color: var(--muted);
  text-align: center;
}

.avatar-crop-stage {
  position: relative;
  width: min(280px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(45deg, #edf2f8 25%, transparent 25%),
    linear-gradient(-45deg, #edf2f8 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #edf2f8 75%),
    linear-gradient(-45deg, transparent 75%, #edf2f8 75%),
    #f8fafc;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
  touch-action: none;
  user-select: none;
  cursor: grab;
}

.avatar-crop-stage:active {
  cursor: grabbing;
}

.avatar-crop-stage > img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  pointer-events: none;
  transform-origin: 0 0;
}

.avatar-crop-grid {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      transparent 33.2%,
      rgba(255, 255, 255, 0.62) 33.2%,
      rgba(255, 255, 255, 0.62) 33.5%,
      transparent 33.5%,
      transparent 66.4%,
      rgba(255, 255, 255, 0.62) 66.4%,
      rgba(255, 255, 255, 0.62) 66.7%,
      transparent 66.7%
    ),
    linear-gradient(
      transparent 33.2%,
      rgba(255, 255, 255, 0.62) 33.2%,
      rgba(255, 255, 255, 0.62) 33.5%,
      transparent 33.5%,
      transparent 66.4%,
      rgba(255, 255, 255, 0.62) 66.4%,
      rgba(255, 255, 255, 0.62) 66.7%,
      transparent 66.7%
    );
  pointer-events: none;
}

.avatar-crop-circle {
  position: absolute;
  z-index: 3;
  inset: 22px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 0 0 999px rgba(9, 22, 42, 0.34);
  pointer-events: none;
}

.avatar-crop-stage.is-qr .avatar-crop-circle {
  inset: 10px;
  border-radius: 14px;
  box-shadow: 0 0 0 999px rgba(9, 22, 42, 0.16);
}

.avatar-crop-zoom {
  display: flex;
  width: min(280px, 100%);
  align-items: center;
  gap: 10px;
  margin: 13px auto 0;
  color: var(--muted);
}

.avatar-crop-zoom input {
  flex: 1;
  accent-color: var(--green);
}

.avatar-crop-note {
  margin-top: 10px;
}

.image-crop-actions {
  display: grid;
  grid-template-columns: minmax(90px, 0.8fr) minmax(0, 1.4fr);
  gap: 10px;
  margin-top: 16px;
}

.image-crop-actions button {
  min-height: 48px;
}

.contact-qr-list {
  display: grid;
  gap: 12px;
}

.contact-qr-editor {
  --platform-color: var(--green);
  --platform-soft: var(--sage);
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.8);
}

.contact-qr-editor.is-qq {
  --platform-color: #149bd7;
  --platform-soft: #e8f8ff;
}

.contact-qr-editor.is-wechat {
  --platform-color: #07a950;
  --platform-soft: #e8f8ed;
}

.contact-qr-editor.is-verified {
  border-color: color-mix(in srgb, var(--platform-color) 36%, transparent);
  background: color-mix(in srgb, var(--platform-soft) 72%, white);
}

.contact-qr-main {
  display: grid;
  grid-template-columns: 50px 68px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
}

.contact-platform-mark {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 9px 20px color-mix(in srgb, var(--platform-color) 23%, transparent);
}

.contact-platform-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-qr-preview {
  display: grid;
  width: 68px;
  height: 68px;
  overflow: hidden;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--platform-color) 24%, transparent);
  border-radius: 14px;
  color: var(--platform-color);
  background: #fff;
}

.contact-qr-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-qr-preview svg {
  width: 27px;
  height: 27px;
}

.contact-qr-copy {
  min-width: 0;
}

.contact-qr-copy b,
.contact-qr-copy small {
  display: block;
}

.contact-qr-copy b {
  font-size: 16px;
}

.contact-qr-copy small {
  margin-top: 5px;
  color: var(--platform-color);
  font-size: 16px;
  font-weight: 700;
}

.contact-upload-button {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid color-mix(in srgb, var(--platform-color) 24%, transparent);
  border-radius: 14px;
  color: var(--platform-color);
  background: var(--platform-soft);
  font-size: 16px;
  font-weight: 750;
}

.contact-upload-button svg {
  width: 19px;
  height: 19px;
}

.contact-upload-button:active {
  transform: translateY(1px);
}

.contact-qr-detail-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.contact-qr-detail-grid figure {
  width: calc(50% - 5px);
  min-width: 125px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.contact-qr-detail-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  object-fit: contain;
}

.contact-qr-detail-grid figcaption {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 650;
}

.contact-qr-missing {
  margin: 0;
  padding: 16px;
  color: var(--muted);
  font-size: 16px;
  text-align: center;
}

@media (max-width: 370px) {
  .contact-qr-main {
    grid-template-columns: 44px 58px minmax(0, 1fr);
    gap: 8px;
  }

  .contact-platform-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .contact-qr-preview {
    width: 58px;
    height: 58px;
  }

  .detail-contact-inline {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .detail-contact-inline .small-outline {
    grid-column: 2;
    justify-self: start;
  }
}

.photo-editor {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.72);
}

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

.photo-draft,
.photo-add {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 14px;
}

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

.photo-draft button {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(20, 39, 29, 0.72);
  font-size: 16px;
  line-height: 1;
}

.photo-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(47, 107, 85, 0.25);
  color: var(--green);
  background: var(--sage);
}

.photo-add b {
  font-size: 24px;
  font-weight: 400;
}

.photo-add span {
  margin-top: 3px;
  font-size: 16px;
}

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

.report-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

.report-evidence-thumb {
  position: relative;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(47, 107, 85, 0.16);
  border-radius: 14px;
  background: var(--sage);
}

.report-evidence-thumb > button:first-child {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.report-evidence-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.report-evidence-remove {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(20, 39, 29, 0.78);
  font-size: 17px;
  line-height: 1;
}

.photo-gallery img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
}

.photo-gallery button,
.contact-qr-detail-grid button {
  display: block;
  padding: 0;
  border-radius: inherit;
  cursor: zoom-in;
}

.photo-gallery button {
  overflow: hidden;
}

.h5-image-preview {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding:
    max(58px, calc(env(safe-area-inset-top) + 42px))
    18px
    max(82px, calc(env(safe-area-inset-bottom) + 68px));
}

.h5-image-preview[hidden] {
  display: none;
}

.h5-image-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 17, 12, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.h5-image-preview-stage {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  height: 100%;
  align-items: start;
  justify-items: center;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.h5-image-preview img {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  -webkit-touch-callout: default;
  -webkit-user-select: auto;
  user-select: auto;
}

.h5-image-preview-nav {
  position: fixed;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  background: rgba(18, 35, 27, 0.64);
  font-size: 30px;
  line-height: 1;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.h5-image-preview-nav[hidden] {
  display: none;
}

.h5-image-preview-nav.is-previous {
  left: 8px;
}

.h5-image-preview-nav.is-next {
  right: 8px;
}

.h5-image-preview-counter,
.h5-image-preview-hint {
  position: fixed;
  z-index: 3;
  left: 50%;
  color: #fff;
  font-size: 16px;
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.58);
  transform: translateX(-50%);
  white-space: nowrap;
}

.h5-image-preview-counter {
  bottom: max(72px, calc(env(safe-area-inset-bottom) + 62px));
}

.h5-image-preview-hint {
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 10px));
  max-width: calc(100vw - 36px);
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  background: rgba(18, 35, 27, 0.82);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  font-size: 16px;
  font-weight: 600;
  white-space: normal;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.h5-image-preview-hint[hidden] {
  display: none;
}

.h5-image-preview-close {
  position: fixed;
  z-index: 2;
  top: max(16px, env(safe-area-inset-top));
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  font-size: 25px;
  line-height: 1;
}

.support-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.support-cards.is-single {
  grid-template-columns: 1fr;
}

.support-card {
  display: grid;
  align-content: start;
  padding: 17px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.7);
  text-align: center;
}

.support-card svg {
  width: 26px;
  height: 26px;
  margin: 0 auto 8px;
  color: var(--green);
}

.support-card b {
  display: block;
  font-size: 16px;
}

.support-card > span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 16px;
}

.support-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 13px;
}

.support-card-actions button,
.support-card-actions a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(47, 107, 85, 0.22);
  border-radius: 999px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.support-card-actions button:last-child,
.support-card-actions a:last-child {
  color: #fff;
  background: var(--green);
}

.support-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.order-help-list {
  display: grid;
  gap: 11px;
}

.order-help-card {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid #e4ebe7;
  border-radius: 15px;
  background: #fff;
}

.order-help-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.order-help-card-head > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.order-help-card-head b {
  color: #20392e;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.order-help-card-head small,
.order-help-card p,
.order-refund-state span,
.order-refund-state small {
  color: #718078;
  font-size: 16px;
  line-height: 1.45;
}

.order-help-card-head em {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  color: #24664f;
  background: #e8f3ed;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
}

.order-help-card p {
  margin: 0;
  overflow-wrap: anywhere;
}

.order-refund-state {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #f7f9f8;
}

.order-refund-state b {
  color: #755d22;
  font-size: 16px;
}

.order-refund-state.is-approved b {
  color: #237052;
}

.order-refund-state.is-rejected b {
  color: #a34e43;
}

.order-refund-button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #dce7e1;
  border-radius: 11px;
  color: #1b684f;
  background: #f4faf7;
  font-size: 16px;
  font-weight: 700;
}

.order-refund-button:disabled {
  color: #8a9690;
  background: #f5f6f5;
}

.support-qr-card {
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.support-qr-card img {
  width: min(260px, 80vw);
  height: auto;
  border-radius: 16px;
  background: #fff;
}

.support-qr-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.course-player {
  position: relative;
  display: grid;
  min-height: 195px;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  color: rgba(255, 249, 232, 0.88);
  background:
    linear-gradient(120deg, rgba(15, 34, 25, 0.35), rgba(15, 34, 25, 0.82)),
    linear-gradient(145deg, #6d8b79, #20382b);
}

.course-player::before {
  position: absolute;
  width: 160px;
  height: 160px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.course-player button {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 248, 229, 0.25);
  border-radius: 50%;
  color: #fff8e6;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.course-player button svg {
  width: 24px;
  height: 24px;
}

.course-player small {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: rgba(255, 248, 229, 0.57);
  font-size: 16px;
}

.watermark {
  position: absolute;
  top: 12px;
  right: 13px;
  color: rgba(255, 255, 255, 0.2);
  font-size: 16px;
  letter-spacing: 0.08em;
}

.age-gate {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 12% 10%, rgba(211, 231, 217, 0.36), transparent 25rem),
    var(--paper);
}

.profile-gate {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  overflow: auto;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 12% 8%, rgba(188, 222, 201, 0.7), transparent 20rem),
    radial-gradient(circle at 92% 88%, rgba(231, 204, 139, 0.2), transparent 16rem),
    var(--paper);
}

.profile-gate-card {
  width: min(100%, 400px);
  padding: 26px 22px;
  border: 1px solid rgba(49, 103, 77, 0.12);
  border-radius: 28px;
  text-align: center;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 25px 70px rgba(26, 61, 43, 0.14);
}

.profile-gate-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 17px;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(145deg, #214c39, #4b896a);
}

.profile-gate-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.profile-gate-card h1 {
  margin: 5px 0 13px;
  font-family: var(--font-serif);
  font-size: 31px;
  font-weight: 600;
  line-height: 1.2;
}

.profile-gate-card > p:not(.overline) {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.profile-gate-list {
  display: grid;
  gap: 7px;
  margin: 17px 0 20px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.profile-gate-list li {
  padding: 9px 12px;
  border-radius: 11px;
  color: var(--ink-soft);
  background: var(--green-soft);
  font-size: 16px;
}

.profile-gate-list li::before {
  margin-right: 7px;
  color: var(--green);
  content: "✓";
  font-weight: 700;
}

.profile-gate-list.is-violations li {
  position: relative;
  padding: 12px 13px 12px 38px;
  border: 1px solid rgba(177, 70, 53, 0.16);
  color: var(--ink);
  background: #fff4ef;
}

.profile-gate-list.is-violations li::before {
  position: absolute;
  top: 13px;
  left: 13px;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #b94d39;
  content: "!";
  font-size: 12px;
  line-height: 1;
}

.profile-gate-finding-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.profile-gate-finding-head b {
  font-size: 16px;
  line-height: 1.5;
}

.profile-gate-finding-head span {
  flex: 0 0 auto;
  color: #a53f2e;
  font-size: 13px;
  font-weight: 700;
}

.profile-gate-list.is-violations p {
  margin: 5px 0 0;
  color: #71463d;
  font-size: 14px;
  line-height: 1.6;
}

.profile-gate-list.is-violations small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.profile-gate-card .primary-button,
.profile-gate-card .secondary-button {
  width: 100%;
  margin-top: 8px;
}

.profile-gate-card .text-button {
  margin-top: 7px;
}

.profile-gate-card > small {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 16px;
}

.age-gate-card {
  width: min(100%, 390px);
  text-align: center;
}

.age-brand-mark img {
  width: 62px;
  height: 62px;
  margin: 0 auto 22px;
  border-radius: 20px;
  box-shadow: 0 14px 32px rgba(31, 74, 58, 0.19);
}

.age-gate-card h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 37px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.18;
}

.age-gate-card > p:not(.overline) {
  max-width: 330px;
  margin: 18px auto 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.age-gate-card .primary-button {
  width: 100%;
}

.age-gate-card .text-button {
  margin-top: 4px;
}

.age-gate-card small {
  display: block;
  margin-top: 24px;
  color: var(--muted);
  font-size: 16px;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
  font-size: 16px;
}

.legal-links a,
.location-note a {
  color: var(--green);
  text-underline-offset: 2px;
}

.video-overlay {
  position: fixed;
  z-index: 280;
  inset: 0;
  display: grid;
  width: min(100%, 520px);
  max-height: 100dvh;
  grid-template-rows: auto minmax(220px, 1fr) auto auto;
  margin: 0 auto;
  padding: max(14px, env(safe-area-inset-top)) 16px max(14px, env(safe-area-inset-bottom));
  color: #f9f3e2;
  background:
    radial-gradient(circle at 100% 0, rgba(211, 180, 100, 0.13), transparent 31%),
    #101914;
}

.video-overlay.is-pseudo-full {
  width: 100%;
  max-width: none;
  padding: 0;
  grid-template-rows: minmax(0, 1fr) auto;
}

.video-overlay.is-pseudo-full.is-css-landscape {
  top: 0;
  left: 0;
  width: 100vh;
  height: 100vw;
  max-height: none;
  transform: rotate(90deg) translateY(-100%);
  transform-origin: top left;
}

@supports (height: 100dvh) {
  .video-overlay.is-pseudo-full.is-css-landscape {
    width: 100dvh;
    height: 100dvw;
  }
}

.video-overlay.is-pseudo-full .video-overlay-head,
.video-overlay.is-pseudo-full .video-overlay-foot {
  display: none;
}

.video-overlay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 2px 14px;
  transition: opacity 180ms ease;
}

.video-overlay-head .overline {
  color: #d5b768;
}

.video-overlay-head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
}

.video-overlay-head > button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #f8f2df;
}

.video-overlay-head svg {
  width: 16px;
  height: 16px;
}

.video-shell {
  position: relative;
  display: grid;
  min-height: 220px;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  background: #050806;
}

.is-pseudo-full .video-shell {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  overflow: hidden;
}

.video-shell video {
  width: 100%;
  height: 100%;
  max-height: calc(100dvh - 165px);
  background: #050806;
  object-fit: contain;
}

.is-pseudo-full .video-shell video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-height: 100%;
  object-fit: contain;
}

.video-watermark {
  position: absolute;
  top: 13px;
  right: 14px;
  color: rgba(255, 255, 255, 0.26);
  font-size: 16px;
  letter-spacing: 0.07em;
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.video-marquee {
  position: absolute;
  z-index: 4;
  inset: 0;
  overflow: hidden;
  color: var(--video-marquee-color, #e8d29a);
  font-size: max(16px, var(--video-marquee-size, 16px));
  line-height: 1.4;
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.video-marquee span {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  min-width: max-content;
  white-space: nowrap;
  will-change: transform, opacity;
}

.video-copyright {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 8px;
  color: var(--video-copyright-color, #cdbb8d);
  font-size: max(16px, var(--video-copyright-size, 16px));
  line-height: 1.4;
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.video-rotate-hint {
  position: absolute;
  z-index: 5;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 248, 230, 0.8);
  background: rgba(8, 15, 11, 0.72);
  font-size: 16px;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.video-rotate-hint svg {
  width: 14px;
  height: 14px;
}

@media (orientation: landscape) {
  .video-overlay.is-pseudo-full {
    max-height: 100svh;
  }

  .is-pseudo-full .video-controls {
    padding-top: 6px;
    padding-bottom: max(6px, env(safe-area-inset-bottom));
  }
}

.video-tap-play {
  position: absolute;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(255, 248, 230, 0.26);
  border-radius: 50%;
  color: #fff8e6;
  background: rgba(29, 55, 42, 0.76);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

.video-tap-play svg {
  width: 25px;
  height: 25px;
}

.video-tap-play.is-playing {
  opacity: 0;
  pointer-events: none;
}

.video-trial-hint {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 15, 11, 0.86);
  text-align: center;
  backdrop-filter: blur(8px);
}

.video-trial-hint b {
  font-family: var(--font-serif);
  font-size: 24px;
}

.video-trial-hint p {
  margin: 7px 0 0;
  color: rgba(249, 243, 226, 0.62);
  font-size: 16px;
}

.video-controls {
  display: grid;
  gap: 8px;
  padding: 12px 2px 8px;
}

.video-progress-row,
.video-control-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.video-control-spacer {
  min-width: 0;
  flex: 1;
}

.video-controls button {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  color: #f9f2df;
}

.video-controls button svg {
  width: 18px;
  height: 18px;
}

.video-time {
  flex: 0 0 auto;
  color: rgba(249, 243, 226, 0.62);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

#videoProgress {
  min-width: 0;
  flex: 1;
  accent-color: #d7b86d;
}

#videoRate,
#videoQuality {
  width: 66px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: #f8f0da;
  background: #1a2d23;
  font-size: 16px;
}

.is-pseudo-full .video-controls {
  position: relative;
  z-index: 6;
  min-height: 74px;
  margin: 0;
  padding: 8px max(12px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom));
  background: #101914;
  transition: opacity 180ms ease;
}

.is-pseudo-full .video-controls.is-auto-hidden {
  opacity: 0;
  pointer-events: none;
}

.video-overlay-foot {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 2px 0;
}

.video-overlay-foot > span {
  color: rgba(249, 243, 226, 0.55);
  font-size: 16px;
}

.video-overlay-foot .secondary-button {
  min-height: 34px;
  color: #f3dfa9;
  border-color: rgba(226, 198, 123, 0.24);
  background: rgba(255, 255, 255, 0.05);
  font-size: 16px;
}

.toast {
  position: fixed;
  z-index: 300;
  top: calc(var(--sticky-topbar-offset) + 110px);
  right: 14px;
  left: 50%;
  display: grid;
  width: min(calc(100vw - 28px), 430px);
  max-width: min(calc(100vw - 28px), 430px);
  grid-template-columns: 38px minmax(0, 1fr) 26px;
  align-items: start;
  gap: 10px;
  margin: 0 auto;
  padding: 12px 11px 13px 13px;
  overflow: hidden;
  border: 1px solid rgba(47, 107, 85, 0.13);
  border-radius: 17px;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 254, 250, 0.98), rgba(246, 250, 247, 0.96));
  box-shadow:
    0 18px 42px rgba(19, 47, 34, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.86) inset;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-size: 16px;
  line-height: 1.42;
  pointer-events: auto;
  opacity: 0;
  transform: translate(-50%, -10px) scale(0.98);
  transform-origin: 50% 0;
  transition: opacity 180ms ease, transform 220ms ease;
}

.toast::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: #4e9470;
  transform-origin: left;
}

.toast.is-visible::after {
  animation: toast-progress var(--toast-duration, 2800ms) linear both;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.toast[data-tone="warning"] {
  border-color: rgba(207, 135, 53, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.99), rgba(255, 248, 235, 0.97));
}

.toast[data-tone="warning"]::after {
  background: #d88a3e;
}

.toast[data-tone="error"] {
  border-color: rgba(190, 82, 91, 0.19);
  background:
    linear-gradient(145deg, rgba(255, 253, 251, 0.99), rgba(255, 242, 241, 0.97));
}

.toast[data-tone="error"]::after {
  background: #cb5b69;
}

.toast-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #4d9070, #2f6b55);
  box-shadow: 0 7px 14px rgba(47, 107, 85, 0.2);
}

.toast[data-tone="warning"] .toast-icon {
  background: linear-gradient(135deg, #e8a458, #ca7932);
  box-shadow: 0 7px 14px rgba(202, 121, 50, 0.2);
}

.toast[data-tone="error"] .toast-icon {
  background: linear-gradient(135deg, #dc7a84, #bc4e5d);
  box-shadow: 0 7px 14px rgba(188, 78, 93, 0.2);
}

.toast-icon svg {
  width: 17px;
  height: 17px;
}

.toast-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
  padding-top: 1px;
}

.toast-title {
  color: #29483a;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.25;
}

.toast-message {
  color: #617068;
  font-size: 16px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal;
}

.toast[data-tone="warning"] .toast-title {
  color: #92531f;
}

.toast[data-tone="error"] .toast-title {
  color: #9a3f4b;
}

.toast-close {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: #7d8983;
  background: rgba(48, 79, 64, 0.06);
  font-size: 20px;
  line-height: 1;
}

@keyframes toast-progress {
  from {
    transform: scaleX(1);
  }

  to {
    transform: scaleX(0);
  }
}

@media (min-width: 440px) {
  .app-main {
    padding-right: 22px;
    padding-left: 22px;
  }

  .topbar {
    padding-right: 24px;
    padding-left: 24px;
  }

  .profile-cover {
    margin-right: -22px;
    margin-left: -22px;
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-width: 360px) {
  .home-heading {
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
  }

  .location-chip {
    width: 100%;
  }

  .home-heading .availability-note {
    width: 100%;
    min-height: 0;
    flex-direction: row;
  }

  .brand-wordmark {
    display: none;
  }

  .topbar-location {
    max-width: 104px;
  }

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

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

  .feedback-button.is-best {
    grid-column: 1 / -1;
  }

  .recommend-card > .recommend-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .recommend-card > .recommend-actions .feedback-button.is-best {
    grid-column: auto;
  }

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

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

  .guest-blur-person {
    width: 118px;
    height: 118px;
    justify-self: center;
  }
}

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

/* 移动端输入控件保持至少 16px，避免 iOS 聚焦时自动放大整个页面。 */
input:not([type="hidden"]),
select,
textarea {
  font-size: 16px !important;
}

.partner-page,
.partner-intro-page {
  min-height: calc(100dvh - 120px);
}

.partner-page-header {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) max-content;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.partner-page-header h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
}

.partner-page-header .overline {
  margin-bottom: 2px;
  font-size: 16px;
}

.partner-center-content,
.partner-intro-content {
  display: grid;
  gap: 14px;
}

.partner-overview-card,
.partner-entry-card,
.partner-history-card,
.partner-preview-card,
.partner-config-card {
  padding: 16px;
  border: 1px solid rgba(47, 107, 85, 0.1);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 10px 28px rgba(34, 68, 53, 0.06);
}

.partner-overview-card {
  color: #f7f0dc;
  background:
    radial-gradient(circle at 100% 0, rgba(222, 187, 99, 0.2), transparent 38%),
    linear-gradient(135deg, #183328, #294e3c);
}

.partner-overview-card h2 {
  font-size: 22px;
  line-height: 1.28;
}

.partner-overview-lead {
  margin: 6px 0 0;
  color: rgba(255, 249, 232, 0.72);
  font-size: 12px;
  line-height: 1.48;
}

.partner-overview-rules {
  display: grid;
  gap: 7px;
  margin: 11px 0 0;
  padding: 0;
  counter-reset: partner-rule;
  list-style: none;
}

.partner-overview-rules li {
  position: relative;
  min-height: 21px;
  padding-left: 27px;
  color: rgba(255, 249, 232, 0.84);
  font-size: 12px;
  line-height: 1.52;
  counter-increment: partner-rule;
}

.partner-overview-rules li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border: 1px solid rgba(231, 203, 137, 0.24);
  border-radius: 50%;
  color: #f2d995;
  background: rgba(255, 255, 255, 0.07);
  content: counter(partner-rule);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.partner-overview-rules b {
  color: #f2d078;
  font-size: 13px;
  font-weight: 800;
}

.partner-overview-example {
  margin: 10px 0 0;
  padding: 7px 9px;
  border: 1px solid rgba(231, 203, 137, 0.16);
  border-radius: 12px;
  color: #f2e5c4;
  background: rgba(255, 255, 255, 0.065);
  font-size: 11px;
  line-height: 1.48;
}

.partner-overview-note {
  margin: 5px 2px 0;
  color: rgba(255, 249, 232, 0.48);
  font-size: 10px;
  line-height: 1.4;
}

.partner-overview-card h2,
.partner-entry-card h3,
.partner-history-card h3,
.partner-preview-card h3,
.partner-config-card h3 {
  margin: 0;
  font-family: var(--font-serif);
}

.partner-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.partner-overview-grid span {
  display: grid;
  gap: 3px;
  padding: 10px;
  border-radius: 14px;
  color: rgba(255, 249, 232, 0.7);
  background: rgba(255, 255, 255, 0.07);
}

.partner-overview-grid b {
  color: #f8e8bd;
  font-size: 18px;
}

.partner-entry-card {
  display: grid;
  gap: 10px;
}

.partner-entry-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.partner-entry-actions button {
  display: grid;
  gap: 5px;
  min-height: 84px;
  padding: 13px;
  border: 1px solid rgba(47, 107, 85, 0.12);
  border-radius: 17px;
  color: var(--ink);
  background: linear-gradient(135deg, #edf5ef, #fbf7ed);
  text-align: left;
}

.partner-entry-actions b {
  color: var(--green);
  font-size: 17px;
}

.partner-entry-actions small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.partner-summary-list,
.partner-history-list,
.partner-rule-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.partner-summary-list li,
.partner-history-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.partner-summary-list li:last-child,
.partner-history-list li:last-child {
  border-bottom: 0;
}

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

.partner-template-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  min-height: 50px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--ink);
  background: #fffdf8;
  text-align: left;
}

.partner-template-option.is-selected {
  border-color: rgba(47, 107, 85, 0.52);
  box-shadow: 0 0 0 2px rgba(47, 107, 85, 0.1);
}

.partner-template-chip {
  width: 28px;
  height: 36px;
  flex: 0 0 28px;
  border-radius: 8px;
  background: var(--sage);
}

.partner-template-option b {
  min-width: 0;
  font-size: 14px;
  white-space: nowrap;
}

.partner-expectation-card {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(47, 107, 85, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.66);
}

.partner-expectation-head > span {
  display: grid;
  gap: 4px;
}

.partner-expectation-head b {
  color: var(--ink);
  font-size: 16px;
}

.partner-expectation-head small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.partner-expectation-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin-top: 12px;
}

.partner-expectation-list .partner-display-toggle {
  min-width: 0;
  gap: 4px;
  margin-top: 0;
  padding: 8px 5px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
}

.partner-expectation-list .partner-display-toggle > span {
  min-width: 0;
  gap: 1px;
}

.partner-expectation-list .partner-display-toggle b {
  font-size: 13px;
  white-space: nowrap;
}

.partner-expectation-list .partner-display-toggle small {
  font-size: 10px;
  white-space: nowrap;
}

.partner-expectation-list .partner-display-toggle i {
  width: 32px;
  height: 20px;
}

.partner-expectation-list .partner-display-toggle i::after {
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
}

.partner-expectation-list .partner-display-toggle.is-active {
  background: rgba(228, 240, 233, 0.9);
}

.partner-display-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-top: 14px;
  padding: 15px 17px;
  border: 1px solid rgba(47, 107, 85, 0.14);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  text-align: left;
}

.partner-display-toggle > span {
  display: grid;
  gap: 4px;
}

.partner-display-toggle b {
  font-size: 16px;
}

.partner-display-toggle small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.partner-display-toggle i {
  position: relative;
  flex: none;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #c7d2cd;
  transition: background 0.2s ease;
}

.partner-display-toggle i::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(21, 48, 35, 0.2);
  content: "";
  transition: transform 0.2s ease;
}

.partner-display-toggle.is-active {
  border-color: rgba(47, 107, 85, 0.3);
  background: rgba(228, 240, 233, 0.76);
}

.partner-display-toggle.is-active i {
  background: var(--green);
}

.partner-display-toggle.is-active i::after {
  transform: translateX(20px);
}

.partner-expectation-list .partner-display-toggle.is-active i::after {
  transform: translateX(12px);
}

.partner-preview-frame {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: #ede9de;
}

.partner-preview-viewport {
  position: relative;
  display: grid;
  width: 100%;
  height: min(58vh, 520px);
  align-items: center;
  justify-items: center;
  overflow-anchor: none;
  overflow: hidden;
  touch-action: pan-y;
}

.partner-preview-card {
  overflow-anchor: none;
}

.partner-preview-frame canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(30, 54, 43, 0.15);
}

.partner-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 12px;
}

.partner-actions-row .primary-button,
.partner-actions-row .secondary-button {
  width: 100%;
}

.partner-action-hint {
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.partner-intro-hero {
  position: relative;
  isolation: isolate;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(221, 185, 96, 0.22);
  border-radius: 24px;
  color: #f8f1dd;
  background:
    radial-gradient(circle at 92% 2%, rgba(231, 194, 100, 0.23), transparent 37%),
    linear-gradient(140deg, #142e23, #2b503e 62%, #193328);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.08),
    0 18px 42px rgba(23, 53, 40, 0.16);
}

.partner-intro-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(110deg, rgba(22, 47, 36, 0.97), rgba(22, 47, 36, 0.86)),
    radial-gradient(circle at 100% 100%, rgba(222, 184, 91, 0.14), transparent 48%);
}

.partner-intro-hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: saturate(0.58) brightness(0.58) blur(0.6px);
  transform: scale(1.03);
}

.partner-intro-hero-content {
  position: relative;
  z-index: 1;
}

.partner-intro-hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.partner-intro-hero-meta span {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid rgba(236, 204, 127, 0.28);
  border-radius: 999px;
  color: #f2d58c;
  background: rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 750;
}

.partner-intro-hero-meta b {
  color: rgba(248, 239, 213, 0.54);
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 0.04em;
}

.partner-intro-hero h2 {
  margin: 13px 0 0;
  font-family: var(--font-serif);
  font-size: 25px;
  line-height: 1.25;
}

.partner-intro-hero-lead {
  margin: 6px 0 0;
  color: rgba(248, 241, 221, 0.74);
  font-size: 12px;
  line-height: 1.5;
}

.partner-intro-benefits {
  display: grid;
  gap: 7px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.partner-intro-benefits li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  padding: 8px 9px;
  border: 1px solid rgba(235, 207, 143, 0.13);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.055);
}

.partner-intro-benefits li > i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(239, 211, 146, 0.25);
  border-radius: 8px;
  color: #efd18a;
  background: rgba(255, 255, 255, 0.07);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.partner-intro-benefits b {
  display: block;
  color: #f6e6bd;
  font-size: 13px;
  line-height: 1.4;
}

.partner-intro-benefits small {
  display: block;
  margin-top: 2px;
  color: rgba(247, 240, 220, 0.64);
  font-size: 11px;
  line-height: 1.48;
}

.partner-intro-benefits strong {
  color: #f1ca6c;
  font-size: 13px;
}

.partner-intro-commission {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  padding: 9px 10px;
  border: 1px solid rgba(235, 204, 133, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(115deg, rgba(226, 188, 93, 0.14), rgba(255, 255, 255, 0.055));
}

.partner-intro-commission > span {
  display: grid;
  place-items: center;
  padding-right: 9px;
  border-right: 1px solid rgba(235, 204, 133, 0.16);
}

.partner-intro-commission small {
  color: rgba(247, 240, 220, 0.58);
  font-size: 9px;
  line-height: 1.2;
}

.partner-intro-commission strong {
  margin-top: 2px;
  color: #f3cc70;
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1;
}

.partner-intro-commission p {
  margin: 0;
  color: #f2e5c4;
  font-size: 10px;
  line-height: 1.5;
}

.partner-intro-hero-note {
  margin: 6px 2px 0;
  color: rgba(247, 240, 220, 0.48);
  font-size: 9px;
  line-height: 1.4;
}

.partner-intro-section {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.86);
}

.partner-intro-section h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
}

.partner-step-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  counter-reset: partner-step;
  list-style: none;
}

.partner-step-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

.partner-step-list li::before {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  content: counter(partner-step);
  counter-increment: partner-step;
}

.partner-faq-item {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.partner-faq-item:last-child {
  border-bottom: 0;
}

.partner-faq-item b {
  display: block;
  margin-bottom: 5px;
}

.partner-faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.partner-popup-layer {
  position: fixed;
  z-index: 260;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}

.partner-popup-layer[hidden] {
  display: none;
}

.partner-popup-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 27, 20, 0.55);
  backdrop-filter: blur(5px);
}

.partner-popup-card {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  padding: 22px;
  border: 1px solid rgba(47, 107, 85, 0.12);
  border-radius: 25px;
  background:
    radial-gradient(circle at 100% 0, rgba(198, 226, 208, 0.62), transparent 38%),
    #fffdf8;
  box-shadow: 0 24px 70px rgba(17, 43, 30, 0.26);
}

.partner-popup-card > img {
  width: 100%;
  max-height: 190px;
  margin-bottom: 14px;
  border-radius: 17px;
  object-fit: cover;
}

.partner-popup-card h2 {
  margin: 0 0 9px;
  font-family: var(--font-serif);
  font-size: 28px;
}

.partner-popup-card > p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.partner-popup-card .primary-button {
  width: 100%;
}

.partner-popup-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.86);
  font-size: 24px;
}
