:root {
  --bg-1: #fff7f8;
  --bg-2: #ffdbe0;
  --bg-3: #ffeef1;
  --accent: #f04458;
  --accent-2: #ff7584;
  --text: #2f2a2c;
  --muted: #8d8185;
  --line: #f7cbd2;
  --card: rgba(255, 255, 255, 0.93);
  --green: #4bb889;
  --orange: #f2994a;
  --shadow: 0 14px 38px rgba(240, 68, 88, 0.12);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: #f6f6f6;
}

button,
input,
select,
textarea {
  border: 0;
  outline: 0;
  color: inherit;
  font: inherit;
  background: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 29px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  font-size: 18px;
  font-weight: 900;
}

h3 {
  font-size: 16px;
  font-weight: 900;
}

.app {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: 100dvh;
  margin: 0 auto;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 84% 10%, rgba(255, 177, 187, 0.62), transparent 31%),
    radial-gradient(circle at 2% 90%, rgba(255, 194, 201, 0.55), transparent 34%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 34%, var(--bg-3) 100%);
}

.screen {
  min-height: 100dvh;
  padding: 22px 18px 92px;
}

.screen.no-tab {
  padding-bottom: 28px;
}

.screen.with-action {
  padding-bottom: 102px;
}

.nav-row,
.top-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
}

.page-title {
  position: absolute;
  top: 8px;
  left: 70px;
  right: 70px;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
}

.back {
  width: 34px;
  height: 34px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  font-size: 24px;
  line-height: 1;
  z-index: 2;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 900;
}

.logo-mark {
  width: 31px;
  height: 31px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 18px rgba(240, 68, 88, 0.22);
  font-size: 16px;
}

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.badge,
.tag,
.chip,
.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
}

.badge {
  height: 28px;
  padding: 0 12px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(240, 68, 88, 0.18);
  font-weight: 800;
}

.tag {
  height: 21px;
  padding: 0 8px;
  color: var(--accent);
  background: #fff1f3;
  border: 1px solid #ffd0d7;
  font-weight: 800;
}

.chip {
  height: 30px;
  padding: 0 12px;
  color: #a4515c;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #f6cbd2;
  font-weight: 800;
}

.status {
  height: 24px;
  padding: 0 9px;
  font-weight: 900;
}

.status-pending {
  color: var(--orange);
  background: #fff7ec;
  border: 1px solid #ffdcb2;
}

.status-success {
  color: var(--green);
  background: #eefbf5;
  border: 1px solid #c9f0df;
}

.muted {
  color: var(--muted);
}

.meta {
  color: #897d82;
  font-size: 12px;
  line-height: 1.55;
}

.copy {
  color: #5d5358;
  font-size: 14px;
  line-height: 1.75;
}

.btn {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 30px rgba(240, 68, 88, 0.24);
  font-size: 16px;
  font-weight: 900;
}

.btn-outline {
  width: 100%;
  height: 40px;
  border-radius: 20px;
  border: 1px solid rgba(240, 68, 88, 0.24);
  background: rgba(255, 255, 255, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.form-card {
  padding: 24px 18px 20px;
}

.form-title {
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 900;
}

.field {
  min-height: 50px;
  border-radius: 14px;
  background: #fff8f9;
  border: 1px solid #f6cdd3;
  display: flex;
  align-items: center;
  padding: 0 14px;
  margin-top: 12px;
  color: #8d8185;
  font-size: 14px;
}

.field label {
  min-width: 62px;
  margin-right: 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.field input,
.field textarea {
  flex: 1;
  min-width: 0;
}

.field textarea {
  height: 64px;
  padding-top: 2px;
  resize: none;
}

.textarea {
  height: 84px;
  align-items: flex-start;
  padding-top: 13px;
}

.hint {
  margin-top: 13px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.login-screen {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 70px 24px 30px;
}

.login-logo {
  margin-bottom: 38px;
  text-align: center;
}

.login-logo .logo {
  justify-content: center;
  font-size: 28px;
}

.login-logo .logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  font-size: 20px;
}

.login-sub {
  margin-top: 10px;
  color: #a46b72;
  font-size: 14px;
  font-weight: 700;
}

.login-btn {
  margin-top: 20px;
}

.agree {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 18px;
  color: #8f8589;
  font-size: 12px;
  line-height: 1.6;
}

.check {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  margin-top: 2px;
  flex: 0 0 auto;
}

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

.agree input:checked + .check {
  background: var(--accent);
  box-shadow: inset 0 0 0 3px #fff;
}

.link {
  color: var(--accent);
  font-weight: 800;
}

.safe-note {
  margin-top: auto;
  color: #a46b72;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.login-footer {
  margin-top: 16px;
  text-align: center;
  color: #9f8890;
  font-size: 12px;
  line-height: 1.7;
}

.login-footer:empty {
  display: none;
}

.login-footer__copy {
  margin-bottom: 4px;
}

.login-footer__beian {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #9f8890;
  text-decoration: none;
}

.login-footer__icon {
  position: relative;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background: linear-gradient(135deg, #ff8f97, #ff6371);
  box-shadow: 0 4px 10px rgba(255, 99, 113, 0.18);
  flex: 0 0 auto;
}

.login-footer__icon::before,
.login-footer__icon::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
}

.login-footer__icon::before {
  left: 4px;
  top: 3px;
  width: 7px;
  height: 9px;
  border-radius: 3px 3px 4px 4px;
}

.login-footer__icon::after {
  left: 5px;
  top: 1px;
  width: 5px;
  height: 3px;
  border-radius: 3px 3px 0 0;
}

.hero {
  margin-top: 30px;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.sub {
  margin-top: 10px;
  color: #b85f69;
  font-size: 14px;
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 20px;
  overflow: hidden;
}

.stat {
  padding: 13px 6px;
  text-align: center;
  background: rgba(255, 255, 255, 0.68);
}

.stat strong {
  display: block;
  color: var(--accent);
  font-size: 19px;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  margin-top: 16px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 12px;
}

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

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

.profile-card {
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(247, 203, 210, 0.7);
  box-shadow: 0 10px 24px rgba(240, 68, 88, 0.10);
  text-align: left;
}

.photo {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  border-radius: 14px;
  object-fit: cover;
  display: block;
  background: #f6d4da;
}

.profile-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
  font-size: 15px;
  font-weight: 900;
}

.small-id {
  margin-top: 7px;
  color: #9d8c91;
  font-size: 11px;
}

.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: calc(72px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(247, 203, 210, 0.72);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #a99ca1;
  font-size: 12px;
  font-weight: 800;
}

.tab i {
  width: 22px;
  height: 22px;
  border-radius: 9px;
  border: 2px solid currentColor;
  display: block;
}

.tab.active {
  color: var(--accent);
}

.detail-main {
  margin-top: 16px;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 284px;
  object-fit: cover;
  display: block;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.58);
}

.thumbs img {
  width: 100%;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
}

.identity {
  padding: 15px 16px 17px;
}

.identity h1 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 25px;
}

.phone-mask {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #6c6266;
  font-size: 14px;
  font-weight: 800;
}

.audit-note {
  margin-top: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.section-card {
  margin-top: 14px;
  padding: 16px;
}

.section-card h2 {
  margin-bottom: 12px;
}

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

.info-item {
  min-height: 48px;
  border-radius: 13px;
  background: #fff8f9;
  border: 1px solid #f8d7dd;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.info-item.is-long {
  grid-column: 1 / -1;
}

.info-item span {
  display: block;
  margin-bottom: 0;
  color: #9a8c91;
  font-size: 11px;
  flex: 0 0 auto;
}

.info-item b {
  display: block;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
}

.hobby-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bottom-action {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  max-width: 394px;
  z-index: 11;
}

.target-card,
.profile-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin-top: 16px;
}

.avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #f6d4da;
}

.male-avatar {
  width: 78px;
  height: 78px;
  border-radius: 24px;
  object-fit: cover;
  flex: 0 0 auto;
}

.form-section {
  padding: 16px;
  margin-top: 14px;
}

.result-panel {
  margin-top: 14px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(255, 241, 243, 0.95), rgba(255, 255, 255, 0.88));
  border: 1px solid #ffd1d8;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.result-panel h2 {
  margin-top: 12px;
  margin-bottom: 8px;
  color: var(--accent);
}

.record-entry {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 16px;
  text-align: left;
}

.arrow {
  color: #c3aeb5;
  font-size: 24px;
}

.record-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.record-item {
  padding: 14px;
}

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

.record-main {
  flex: 1;
  min-width: 0;
}

.record-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.record-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f5d6dc;
}

.phone-text {
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
}

.mini-btn {
  height: 32px;
  padding: 0 12px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: #fff1f3;
  border: 1px solid #ffcbd3;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 900;
}

.mini-btn.disabled {
  color: #b0a4a8;
  background: #faf5f6;
  border-color: #eadde1;
}

.summary-strip {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 13px 14px;
  margin-top: 16px;
  color: #8d747b;
  font-size: 12px;
  line-height: 1.45;
}

.empty {
  margin-top: 18px;
  padding: 24px 18px;
  color: var(--muted);
  text-align: center;
}

@media (min-width: 431px) {
  body {
    padding: 0;
  }

  .app {
    min-height: 844px;
    box-shadow: none;
  }

  .tabbar {
    bottom: 0;
  }

  .bottom-action {
    bottom: 5px;
  }
}

/* Visual fidelity pass for the approved six mobile mockups. */
body {
  padding: 0 !important;
  background: #fff1f2;
}

.app {
  max-width: 425px;
  margin: 0 auto;
  background:
    radial-gradient(circle at 87% 4%, rgba(255, 191, 200, 0.72), transparent 24%),
    radial-gradient(circle at 15% 0%, rgba(255, 219, 224, 0.88), transparent 34%),
    linear-gradient(180deg, #ffd8de 0%, #fff7f7 35%, #fff0f2 100%);
}

.screen {
  padding: 29px 16px 102px;
}

.screen.no-tab {
  padding-bottom: 46px;
}

.screen.with-action {
  padding-bottom: 116px;
}

.card {
  border-radius: 18px;
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 40px rgba(246, 72, 88, 0.11);
}

.brand-header {
  width: 106px;
  height: auto;
  display: block;
}

.brand-login {
  width: 226px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.badge {
  height: 28px;
  padding: 0 16px;
  border-color: #ffc8cf;
  background: rgba(255, 247, 248, 0.88);
  box-shadow: 0 6px 16px rgba(246, 72, 88, 0.08);
  font-size: 13px;
}

.badge::before,
.tag::before {
  content: "✓";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 5px;
  color: #fff;
  background: linear-gradient(135deg, #ff5b67, #ff8b91);
  font-size: 10px;
  font-weight: 900;
}

.login-screen {
  min-height: 100dvh;
  padding: 86px 22px 44px;
  background:
    radial-gradient(circle at 85% 9%, rgba(255, 255, 255, 0.5), transparent 8%),
    radial-gradient(circle at 11% 23%, rgba(255, 255, 255, 0.5), transparent 7%);
}

.login-logo {
  margin-bottom: 72px;
}

.login-sub {
  margin-top: 16px;
  color: #866c70;
  font-size: 16px;
  letter-spacing: 4px;
  font-weight: 500;
}

.form-card {
  padding: 32px 27px 26px;
  border-radius: 18px;
}

.form-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 33px;
  text-align: center;
  font-size: 26px;
  letter-spacing: 4px;
}

.form-title::before,
.form-title::after {
  content: "‹";
  color: #ffa0a8;
  font-size: 22px;
  font-weight: 400;
}

.form-title::after {
  content: "›";
}

.login-group {
  margin-top: 24px;
}

.login-group label {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: #252327;
  font-size: 15px;
  font-weight: 500;
}

.login-group label::before {
  content: "";
  width: 4px;
  height: 14px;
  margin-right: 8px;
  border-radius: 4px;
  background: var(--accent);
}

.login-group .field {
  margin-top: 0;
}

.field {
  min-height: 46px;
  border-radius: 10px;
  border-color: #ffcfd4;
  background: rgba(255, 251, 251, 0.58);
}

.field-icon {
  width: 28px;
  margin-right: 10px;
  color: #f49ca4;
  text-align: center;
  font-size: 16px;
}

.field input,
.field textarea {
  color: #333;
  font-size: 16px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #b9b1b4;
}

.login-btn {
  margin-top: 34px;
}

.btn {
  height: 50px;
  border-radius: 15px;
  background: linear-gradient(90deg, #ff4d5b, #ff3f4d);
  box-shadow: 0 13px 22px rgba(255, 65, 78, 0.24);
  font-size: 18px;
  letter-spacing: 2px;
}

.agree {
  justify-content: center;
  margin-top: 30px;
  font-size: 14px;
}

.safe-note {
  margin-bottom: 72px;
  color: #8f777a;
  font-size: 13px;
}

.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 48px;
}

.hero h1 {
  font-size: 32px;
  line-height: 1.13;
  color: #561116;
}

.hero h1 #recommendTitle {
  margin-left: 4px;
  color: var(--accent);
}

.sub {
  margin-top: 12px;
  color: #6f6769;
  font-size: 14px;
  font-weight: 500;
}

.prefer-btn {
  flex: 0 0 auto;
  width: 116px;
  height: 31px;
  border: 1px solid var(--accent);
  border-radius: 18px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  font-weight: 700;
}

.prefer-btn.browser-logout {
  width: 88px;
  letter-spacing: 0;
}

.stats {
  min-height: 91px;
  margin-top: 44px;
  border-radius: 18px;
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
}

.stat + .stat {
  border-left: 1px solid #ead5d8;
}

.stat strong {
  margin-top: 7px;
  font-size: 31px;
  font-weight: 900;
}

.stat span {
  color: #716c70;
  font-size: 13px;
}

.chips {
  gap: 8px;
  margin-top: 16px;
}

.chip {
  height: 34px;
  padding: 0 13px;
  border-radius: 17px;
  border-color: #ffd1d6;
  background: rgba(255, 245, 246, 0.76);
  color: #631318;
  font-size: 14px;
}

.filter-chip {
  flex: 0 0 auto;
  cursor: pointer;
}

.filter-chip.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, #ff4d5b, #ff7984);
  box-shadow: 0 9px 18px rgba(255, 76, 91, 0.18);
}

.gender-filters {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.gender-chip {
  flex: 1;
  justify-content: center;
  cursor: pointer;
}

.gender-chip.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, #ff4d5b, #ff7984);
  box-shadow: 0 9px 18px rgba(255, 76, 91, 0.18);
}

.search-entry {
  width: 100%;
  margin-top: 12px;
  padding: 0 14px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 198, 206, 0.92);
  border-radius: 21px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 248, 0.88));
  box-shadow: 0 8px 20px rgba(255, 76, 91, 0.08);
  color: #8d7b80;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.search-entry:active {
  transform: scale(0.985);
}

.search-entry.active {
  border-color: rgba(255, 120, 136, 0.95);
  box-shadow: 0 10px 22px rgba(255, 76, 91, 0.14);
}

.search-entry-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff 0 18%, transparent 19%),
    linear-gradient(135deg, #ff6b7f, #ff4f67);
  position: relative;
}

.search-entry-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -1px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: #ff5d6d;
  transform: rotate(45deg);
}

.search-entry-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}

.search-entry.active .search-entry-text {
  color: #631318;
}

.search-entry-arrow {
  flex: 0 0 auto;
  color: #d18b95;
  font-size: 20px;
  line-height: 1;
  transform: translateY(-1px);
}

.search-sheet-mask {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(43, 24, 28, 0);
  visibility: hidden;
  transition: background 0.28s ease, visibility 0s linear 0.32s;
}

.search-sheet-mask.is-open {
  visibility: visible;
  background: rgba(43, 24, 28, 0.34);
  transition: background 0.28s ease, visibility 0s;
}

.search-sheet {
  width: 100%;
  max-width: 425px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg, #fffdfd 0%, #fff7f8 100%);
  box-shadow: 0 -18px 42px rgba(83, 42, 49, 0.18);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-sheet-mask.is-open .search-sheet {
  transform: translateY(0);
}

.search-sheet-handle {
  width: 42px;
  height: 5px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: #f0c9cf;
}

.search-sheet-head {
  height: 54px;
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid #f6d5da;
}

.search-sheet-head strong {
  text-align: center;
  color: #29272a;
  font-size: 16px;
  font-weight: 900;
}

.search-sheet-cancel,
.search-sheet-reset {
  height: 34px;
  border-radius: 17px;
  font-size: 14px;
  font-weight: 800;
}

.search-sheet-cancel {
  color: #8f8589;
}

.search-sheet-reset {
  color: var(--accent);
}

.search-sheet-body {
  padding: 16px 16px 8px;
}

.search-sheet-tip {
  margin-bottom: 14px;
  color: #9a868b;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.search-member-no {
  margin-bottom: 14px;
  padding: 14px 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 170, 182, 0.88);
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 255, 255, 0.72), transparent 42%),
    linear-gradient(160deg, #fff7f8 0%, #ffe9ed 100%);
  box-shadow: 0 10px 22px rgba(255, 76, 91, 0.08);
}

.search-member-no__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.search-member-no__badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff5a69, #ff8590);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 12px rgba(255, 76, 91, 0.22);
}

.search-member-no__head label {
  margin: 0;
  color: #6d3d44;
  font-size: 14px;
  font-weight: 800;
}

.search-member-no__field {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 12px;
  border-radius: 15px;
  border: 1px solid rgba(255, 164, 176, 0.95);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.search-member-no__field:focus-within {
  border-color: #ff7d8c;
  box-shadow: 0 0 0 3px rgba(255, 120, 136, 0.16);
}

.search-member-no__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff6b7f, #ff4f67);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.search-member-no__field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #3f3033;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.search-member-no__field input::placeholder {
  color: #c5a9ae;
  font-weight: 600;
  letter-spacing: 0;
}

.search-member-no__hint {
  margin-top: 8px;
  color: #b07a84;
  font-size: 12px;
  line-height: 1.4;
}

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

.search-field label {
  display: block;
  margin-bottom: 7px;
  color: #8a7074;
  font-size: 12px;
  font-weight: 800;
}

.search-field input {
  width: 100%;
  height: 42px;
  padding: 0 13px;
  border: 1px solid #f3d2d7;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #4a3a3d;
  font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.search-field input:focus {
  outline: none;
  border-color: #ff9aa6;
  box-shadow: 0 0 0 3px rgba(255, 120, 136, 0.14);
}

.search-field input::placeholder {
  color: #c0a8ad;
}

.search-field-full {
  grid-column: 1 / -1;
}

.search-btn {
  width: 100%;
  margin-top: 18px;
  height: 46px;
  border-radius: 23px;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(255, 76, 91, 0.22);
}

body.search-sheet-open {
  overflow: hidden;
}

.section-head {
  display: none;
}

.grid {
  gap: 14px;
  margin-top: 20px;
}

.profile-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-radius: 15px;
  border: 0;
  background: #fff;
  box-shadow: 0 12px 28px rgba(245, 76, 88, 0.12);
}

.heart-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(84, 70, 73, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.88);
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
}

.heart-badge.approved {
  color: var(--accent);
  background: rgba(255, 242, 244, 0.96);
  border-color: #ffd2d8;
  box-shadow: 0 8px 18px rgba(255, 75, 91, 0.20);
}

.photo {
  aspect-ratio: 1 / 0.982;
  border-radius: 0;
}

.profile-name {
  margin: 0;
  padding: 14px 13px 0;
  font-size: 16px;
}

.profile-name .tag {
  color: #6f6b6d;
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 500;
}

.profile-name .tag::before {
  display: none;
}

.small-id {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 12px 13px 14px;
  color: #8b8588;
  font-size: 12px;
}

.small-id .verified-pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 11px;
  color: var(--accent);
  background: #ffe9ec;
  font-size: 12px;
  font-weight: 700;
}

.small-id .verified-pill::before {
  content: "✓";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 4px;
  color: #fff;
  background: var(--accent);
  font-size: 9px;
}

.page-title {
  top: 7px;
  font-size: 20px;
  font-weight: 500;
}

.back {
  width: 32px;
  height: 32px;
  background: transparent;
  font-size: 38px;
  font-weight: 300;
}

.detail-hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 19px;
  margin-top: 48px;
}

.detail-main {
  margin-top: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-photo {
  height: 202px;
  border-radius: 16px;
}

.thumbs {
  gap: 8px;
  padding: 8px 0 0;
  background: transparent;
}

.thumbs img {
  height: 65px;
  border-radius: 9px;
}

.identity {
  padding: 13px 0 0;
}

.identity h1 {
  display: block;
  font-size: 26px;
  line-height: 1.25;
}

.identity .tag {
  margin-left: 8px;
  vertical-align: 5px;
}

.phone-mask {
  display: block;
  margin-top: 22px;
  color: #272528;
  font-size: 19px;
  font-weight: 500;
}

.audit-note {
  display: inline-flex;
  align-items: center;
  height: 28px;
  margin-top: 23px;
  padding: 0 14px;
  border: 1px solid #ffd3d7;
  border-radius: 10px;
  background: #fff6f7;
  font-size: 14px;
}

.section-card {
  margin-top: 13px;
  padding: 16px 15px 17px;
  border-radius: 11px;
}

.section-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  font-size: 18px;
}

.section-card h2::before,
.form-section h2::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(135deg, #ff4454, #ff8c93);
}

.info-grid {
  gap: 8px;
}

.info-item {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 5px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff6f7, #fffafb);
  padding: 10px 12px;
  min-width: 0;
}

.info-item.is-long {
  grid-column: 1 / -1;
}

.info-item span {
  min-width: 0;
  margin: 0;
  color: #8d8185;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.info-item span::after {
  content: none;
}

.info-item b {
  width: 100%;
  color: #2f2a2c;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.hobby-row {
  justify-content: flex-start;
  gap: 8px;
  padding: 0;
}

.hobby-row .chip {
  min-width: 54px;
  justify-content: center;
  background: #fff0f2;
}

.hero-photo-btn,
.thumb-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.hero-photo-btn .hero-photo,
.thumb-btn img {
  pointer-events: none;
}

.hero-photo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b59aa0;
  background: #fff2f4;
  font-size: 14px;
}

.image-viewer-open {
  overflow: hidden;
}

.image-viewer-mask {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: rgba(18, 12, 14, 0.92);
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.image-viewer-mask.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.image-viewer-stage {
  width: min(92vw, 520px);
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.image-viewer-stage img {
  max-width: 100%;
  max-height: 72vh;
  border-radius: 12px;
  object-fit: contain;
  background: #1a1416;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.image-viewer-index {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.image-viewer-close,
.image-viewer-nav {
  position: absolute;
  z-index: 2;
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}

.image-viewer-close {
  top: calc(14px + env(safe-area-inset-top));
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 38px;
}

.image-viewer-nav {
  top: 50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  line-height: 40px;
}

.image-viewer-prev {
  left: 10px;
}

.image-viewer-next {
  right: 10px;
}

.bottom-action {
  bottom: 5px;
}

.bottom-action .btn {
  height: 48px;
  border-radius: 24px;
}

.bottom-action[hidden] {
  display: none !important;
}

.target-card {
  gap: 18px;
  padding: 18px 16px;
  margin-top: 45px;
  border-radius: 15px;
}

.target-card .avatar {
  width: 109px;
  height: 126px;
  border-radius: 8px;
}

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

.target-card .meta {
  margin-top: 10px;
  color: #595456;
  font-size: 14px;
  line-height: 1.85;
}

.form-section {
  margin-top: 18px;
  padding: 23px 16px 20px;
  border-radius: 15px;
}

.form-section h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  font-size: 18px;
}

.form-section .field {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0;
  min-height: 44px;
  padding: 0;
  margin-top: 15px;
  border: 0;
  background: transparent;
}

.form-section .field label {
  min-width: auto;
  margin: 0;
  align-self: center;
  color: #29272a;
  font-size: 15px;
  font-weight: 500;
}

.form-section .field input,
.form-section .field select,
.form-section .field textarea {
  min-height: 44px;
  border: 1px solid #f5d0d4;
  border-radius: 12px;
  padding: 0 15px;
  background: rgba(255, 251, 251, 0.58);
}

.form-section .field select {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 44px;
  appearance: none;
  padding: 0 26px 0 10px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background-image:
    linear-gradient(45deg, transparent 50%, #b58b92 50%),
    linear-gradient(135deg, #b58b92 50%, transparent 50%);
  background-position:
    calc(100% - 14px) 19px,
    calc(100% - 9px) 19px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.form-section .area-field {
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
}

.form-section .area-field label {
  align-self: auto;
}

.area-picker {
  width: 100%;
  min-width: 0;
}

.area-trigger {
  width: 100%;
  min-height: 44px;
  border: 1px solid #f5d0d4;
  border-radius: 12px;
  padding: 0 38px 0 15px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  color: #333;
  background: rgba(255, 251, 251, 0.58);
  font-size: 16px;
  text-align: left;
}

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

.area-trigger i {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #b58b92;
  border-bottom: 1.5px solid #b58b92;
  transform: translateY(-65%) rotate(45deg);
}

.area-selects {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.area-selects select {
  min-width: 0;
}

@media (max-width: 360px) {
  .area-selects {
    grid-template-columns: 1fr;
  }
}

.area-sheet-mask {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(43, 24, 28, 0.28);
}

.area-sheet {
  width: 100%;
  max-width: 425px;
  padding-bottom: env(safe-area-inset-bottom);
  border-radius: 20px 20px 0 0;
  background: #fffafb;
  box-shadow: 0 -16px 38px rgba(83, 42, 49, 0.16);
  overflow: hidden;
}

.area-sheet-head {
  height: 54px;
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid #f6d5da;
}

.area-sheet-head strong {
  text-align: center;
  color: #29272a;
  font-size: 16px;
}

.area-cancel,
.area-confirm {
  height: 34px;
  border-radius: 17px;
  font-size: 14px;
  font-weight: 800;
}

.area-cancel {
  color: #8f8589;
}

.area-confirm {
  color: var(--accent);
}

.area-columns {
  height: 238px;
  display: grid;
  grid-template-columns: 0.92fr 1fr 1fr;
  gap: 0;
}

.area-column {
  min-width: 0;
  overflow-y: auto;
  padding: 8px 7px 14px;
  border-right: 1px solid #f8e1e5;
}

.area-column:last-child {
  border-right: 0;
}

.area-option {
  width: 100%;
  min-height: 38px;
  margin-top: 6px;
  border-radius: 10px;
  padding: 0 6px;
  color: #574c50;
  background: transparent;
  font-size: 14px;
  line-height: 1.25;
}

.area-option.active {
  color: var(--accent);
  background: #fff0f2;
  font-weight: 900;
}

.form-section .field textarea {
  min-height: 86px;
  padding-top: 16px;
}

.form-section .textarea {
  height: auto;
  align-items: start;
}

.result-panel {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
  padding: 17px 16px;
  border-radius: 13px;
}

.result-panel::before {
  content: "";
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6070, #ffa1a6);
}

.result-panel h2 {
  margin: 0 0 8px;
  color: #242225;
  font-size: 20px;
}

.result-text {
  grid-column: 2;
}

.result-panel .status {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  min-width: 64px;
  height: 31px;
  border-radius: 16px;
}

.result-panel .copy {
  color: #625c5f;
}

.profile-top {
  gap: 34px;
  margin-top: 47px;
  padding: 25px;
  min-height: 160px;
  border-radius: 17px;
}

.male-avatar {
  width: 112px;
  height: 112px;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(80, 40, 48, 0.13);
}

.profile-top h3 {
  font-size: 27px;
}

.profile-top .meta {
  margin-top: 14px;
  color: #1f1d20;
  font-size: 18px;
  line-height: 1.7;
}

.record-entry {
  min-height: 86px;
  padding: 20px 25px;
  border-radius: 15px;
}

.record-entry h3 {
  font-size: 20px;
}

.record-entry .meta {
  margin-top: 8px;
  font-size: 14px;
}

.summary-strip {
  min-height: 90px;
  margin-top: 52px;
  padding: 20px 26px 20px 82px;
  border-radius: 12px;
  display: block;
  position: relative;
}

.summary-strip::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 26px;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4454, #ff9ca4);
  box-shadow: 0 10px 22px rgba(255, 82, 94, 0.22);
}

.summary-strip::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 24px;
  width: 62px;
  height: 45px;
  border-radius: 55% 55% 48% 48%;
  background: linear-gradient(135deg, rgba(255, 92, 105, 0.45), rgba(255, 171, 177, 0.22));
}

.summary-strip span:first-child {
  display: block;
  color: #272528;
  font-size: 20px;
  font-weight: 800;
}

.summary-strip span:last-child {
  display: block;
  margin-top: 14px;
  color: #5f5a5d;
  font-size: 15px;
}

.record-list {
  gap: 15px;
  margin-top: 18px;
}

.record-item {
  position: relative;
  padding: 14px 13px;
  border-radius: 14px;
}

.record-head {
  display: grid;
  grid-template-columns: 104px 1fr auto;
  gap: 18px;
  align-items: start;
}

.record-item .avatar {
  width: 104px;
  height: 112px;
  border-radius: 10px;
}

.record-title h3 {
  font-size: 22px;
}

.record-title {
  display: block;
}

.record-title .status {
  position: absolute;
  right: 15px;
  top: 26px;
  min-width: 70px;
  height: 30px;
  font-size: 14px;
}

.record-main {
  padding-top: 16px;
}

.record-main .meta {
  margin-top: 14px;
  font-size: 14px;
  line-height: 2.1;
}

.record-body {
  margin-top: 14px;
  padding-top: 15px;
  border-top: 1px dashed #f0d5d8;
}

.phone-text {
  margin-top: 4px;
  font-size: 19px;
  font-weight: 500;
}

.mini-btn {
  min-width: 100px;
  height: 34px;
  border-radius: 18px;
  font-size: 15px;
}

.tabbar {
  height: calc(70px + env(safe-area-inset-bottom));
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 26px rgba(85, 50, 55, 0.08);
}

.browse-mode .tabbar {
  grid-template-columns: 1fr;
}

.browse-mode .tabbar .tab[href="mine.html"] {
  display: none;
}

.tab {
  font-size: 15px;
}

.tab i {
  width: 25px;
  height: 25px;
  position: relative;
  border-radius: 0;
  background: transparent;
  border: 0;
  opacity: 0.9;
}

.tab:first-child i::before {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 2px;
  width: 17px;
  height: 13px;
  border-radius: 4px 4px 5px 5px;
  background: currentColor;
}

.tab:first-child i::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border-left: 5px solid currentColor;
  border-top: 5px solid currentColor;
  transform: rotate(45deg);
}

.tab:nth-child(2) i::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: currentColor;
}

.tab:nth-child(2) i::after {
  content: "";
  position: absolute;
  left: 3px;
  bottom: 1px;
  width: 19px;
  height: 12px;
  border-radius: 11px 11px 5px 5px;
  background: currentColor;
}

.logout-btn {
  position: relative;
  z-index: 2;
  height: 30px;
  padding: 0 14px;
  border-radius: 15px;
  color: var(--accent);
  background: rgba(255, 247, 248, 0.88);
  border: 1px solid #ffc8cf;
  font-size: 13px;
  font-weight: 800;
}

.xq-dialog-mask {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(40, 22, 26, 0.28);
}

.xq-dialog {
  width: 100%;
  max-width: 318px;
  padding: 24px 20px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 48px rgba(94, 43, 52, 0.18);
  text-align: center;
}

.xq-dialog h3 {
  font-size: 19px;
}

.xq-dialog p {
  margin-top: 12px;
  color: #6f666a;
  font-size: 14px;
  line-height: 1.7;
}

.xq-dialog-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.xq-dialog-actions button {
  height: 40px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 900;
}

.xq-dialog-cancel {
  color: #8d8185;
  background: #f7f1f2;
}

.xq-dialog-confirm {
  color: #fff;
  background: linear-gradient(90deg, #ff4d5b, #ff7984);
  box-shadow: 0 10px 18px rgba(255, 76, 91, 0.20);
}

.xq-dialog-actions.single {
  grid-template-columns: 1fr;
}

.account-entry {
  appearance: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.88);
}

.browser-account-avatar {
  width: 112px;
  height: 112px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #ff4e5d, #ff9aa2);
  box-shadow: 0 8px 22px rgba(80, 40, 48, 0.13);
  font-size: 36px;
  font-weight: 900;
}

.password-modal-open {
  overflow: hidden;
}

.password-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: rgba(49, 27, 31, 0.34);
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.password-modal-mask.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.password-modal {
  width: 100%;
  max-width: 398px;
  padding: 24px 20px calc(22px + env(safe-area-inset-bottom));
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  background: #fffafa;
  box-shadow: 0 22px 58px rgba(89, 39, 48, 0.22);
  transform: translateY(24px);
  transition: transform 0.22s ease;
}

.password-modal-mask.is-open .password-modal {
  transform: translateY(0);
}

.password-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.password-modal-head h2 {
  font-size: 20px;
}

.password-modal-head p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.password-modal-close {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #9b8d91;
  background: #f9eef0;
  font-size: 24px;
  line-height: 30px;
}

.password-form-field {
  display: block;
  margin-top: 14px;
}

.password-form-field span {
  display: block;
  margin-bottom: 8px;
  color: #4e474a;
  font-size: 14px;
  font-weight: 800;
}

.password-form-field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #f4ccd2;
  border-radius: 11px;
  background: #fff;
  font-size: 15px;
}

.password-form-field input:focus {
  border-color: #ff7c88;
  box-shadow: 0 0 0 3px rgba(255, 94, 108, 0.1);
}

.password-submit {
  width: 100%;
  height: 48px;
  margin-top: 22px;
}

.password-submit:disabled {
  opacity: 0.62;
}

.load-more-tip {
  margin: 6px 0 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.load-more-tip.is-loading {
  color: #c86b78;
}

.contact-modal-open {
  overflow: hidden;
}

.contact-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: rgba(49, 27, 31, 0.34);
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.contact-modal-mask.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.contact-modal {
  width: 100%;
  max-width: 398px;
  padding: 24px 20px calc(22px + env(safe-area-inset-bottom));
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  background: #fffafa;
  box-shadow: 0 22px 58px rgba(89, 39, 48, 0.22);
  transform: translateY(24px);
  transition: transform 0.22s ease;
}

.contact-modal-mask.is-open .contact-modal {
  transform: translateY(0);
}

.contact-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.contact-modal-head h2 {
  font-size: 20px;
}

.contact-modal-head p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.contact-modal-close {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #9b8d91;
  background: #f9eef0;
  font-size: 24px;
  line-height: 30px;
}

.contact-modal-body {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #f4ccd2;
  border-radius: 12px;
  background: #fff;
}

.contact-info-row span {
  color: #8c7f83;
  font-size: 13px;
}

.contact-info-row strong {
  color: #2b2628;
  font-size: 16px;
  font-weight: 800;
  text-align: right;
  word-break: break-all;
}

.contact-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  text-decoration: none;
}

@media (min-width: 431px) {
  .password-modal-mask,
  .contact-modal-mask {
    align-items: center;
  }
}

@media (max-width: 400px) {
  .hero {
    gap: 8px;
  }

  .hero h1 {
    white-space: nowrap;
    font-size: 28px;
  }
}

.agreement-page {
  padding-top: 30px;
}

.agreement-card {
  margin-top: 42px;
  padding: 22px 18px;
}

.agreement-card h1 {
  color: #2b2628;
  font-size: 23px;
  text-align: center;
}

.agreement-card h2 {
  margin-top: 22px;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 16px;
}

.agreement-card p {
  color: #5f575b;
  font-size: 14px;
  line-height: 1.85;
}
