@import url("/assets/css/app.css");
:root {
  --ink: #282226;
  --muted: #84767d;
  --wine: #8f1d49;
  --line: #eadfe3;
  --cream: #fcf9f7;
  --font:
    "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}
body {
  background: var(--cream);
  font-size: 15px;
  line-height: 1.65;
}
.container {
  max-width: 1180px;
  width: calc(100% - 64px);
  margin: auto;
}
a {
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fffaf8;
}
.header-inner {
  max-width: 1340px;
  margin: auto;
  min-height: 92px;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--wine);
  white-space: nowrap;
}
.wordmark small {
  display: block;
  font: 10px var(--font);
  letter-spacing: 2px;
  margin-top: 0;
  color: var(--muted);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.main-nav a[aria-current] {
  color: var(--wine);
  font-weight: 700;
}
.main-nav form {
  margin: 0;
}
.language {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.on-hero {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  background: transparent;
  border-color: #ffffff25;
  color: white;
}
.on-hero .wordmark,
.on-hero .wordmark small {
  color: white;
}
.on-hero .language {
  border-color: #ffffff40;
}
.btn {
  border-radius: 5px;
  padding: 12px 24px;
  min-height: 48px;
  font-size: 14px;
  box-shadow: none;
  font-weight: 600;
  line-height: 1.4;
}
.btn.primary {
  background: var(--wine);
  color: #fff;
  border: 1px solid var(--wine);
}
.btn.secondary {
  border: 1px solid #cdbbc3;
  background: transparent;
  color: var(--wine);
}
.btn.light {
  background: #fff;
  color: var(--wine);
}
.btn.text {
  background: none;
  min-height: auto;
  padding: 0;
  color: inherit;
}
.btn.danger {
  background: #fff3f3;
  border: 1px solid #edc8c8;
  color: #ac3434;
}
.btn.small {
  padding: 7px 13px;
  min-height: 34px;
  font-size: 13px;
}
.btn:hover {
  transform: none;
  filter: brightness(0.96);
}
.btn:focus-visible,
a:focus-visible {
  outline: 3px solid #c58a9f;
  outline-offset: 4px;
}
.btn:disabled {
  opacity: 0.55;
  cursor: wait;
}
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 22px 0 0;
}
.actions form {
  margin: 0;
}
.home-hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, #23101bda 0%, #33182599 50%, #1d111229 100%),
    url("/images/sybj.jpg") 60% center/cover;
  color: #fff;
}
.hero-text {
  max-width: 650px;
  padding: 145px 0 75px;
}
.overline {
  text-transform: uppercase;
  color: var(--wine);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
}
.hero-text .overline {
  color: #efd1b4;
}
.hero-text h1 {
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 2px;
  margin: 24px 0;
}
.hero-text h1 em {
  color: #f5bcd0;
  font-weight: 400;
}
.hero-description {
  font-size: 17px;
  line-height: 1.95;
  color: #f3e8ec;
}
.hero-text .actions {
  margin-top: 32px;
}
.hero-note {
  font-size: 12px;
  letter-spacing: 1px;
  margin-top: 42px;
  color: #e2cfd6;
}
.home-section {
  padding: 74px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 30px;
}
.section-heading h2 {
  font-family: Georgia, "Songti SC", serif;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: 1px;
  margin: 9px 0 0;
}
.section-heading > a {
  font-size: 14px;
  color: var(--wine);
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.person-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.person-image {
  display: block;
  position: relative;
  aspect-ratio: 4/4.5;
  overflow: hidden;
}
.person-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.person-card:hover img {
  transform: scale(1.025);
}
.sample-tag {
  position: absolute;
  left: 16px;
  top: 16px;
  background: #fffdf3e8;
  padding: 3px 9px;
  color: #65524e;
  font-size: 10px;
  border-radius: 2px;
}
.person-copy {
  padding: 21px 24px 20px;
}
.person-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.person-title h2 {
  font-family: Georgia, "Songti SC", serif;
  font-size: 25px;
  font-weight: 600;
  margin: 0;
}
.person-title > span {
  font-size: 15px;
  color: #77656c;
}
.person-place {
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0 13px;
}
.goal-tag {
  display: inline-block;
  border: 1px solid #e6d5dc;
  color: #96647a;
  padding: 2px 8px;
  font-size: 11px;
}
.person-bio {
  font-size: 14px;
  color: #7a6b72;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 50px;
}
.profile-link {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #efe8eb;
  padding-top: 13px;
  font-size: 13px;
  color: var(--wine);
}
.how-section {
  background: #f2e9e7;
  padding: 64px 0;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
}
.step-number {
  font:
    34px Georgia,
    serif;
  color: #c094a2;
}
.how-grid h3 {
  font-size: 18px;
  font-weight: 500;
}
.how-grid p {
  font-size: 14px;
  color: var(--muted);
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  font-size: 12px;
  color: #9a8992;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer-inner > div {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.dot-separator {
  padding: 0 10px;
}
.page {
  padding: 40px 0 70px;
  min-height: 65vh;
}
.page-title {
  margin: 0 0 26px;
}
.page-title h1 {
  font-size: 32px;
  font-family: Georgia, "Songti SC", serif;
  font-weight: 600;
  margin: 4px 0;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
  padding: 30px;
  margin-bottom: 24px;
}
.panel h2 {
  font-size: 22px;
  font-family: Georgia, "Songti SC", serif;
  margin: 0 0 18px;
}
.panel h3 {
  margin: 12px 0;
}
.narrow {
  max-width: 610px;
  margin-left: auto;
  margin-right: auto;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  max-width: 980px;
  margin: auto;
  gap: 48px;
  align-items: stretch;
}
.auth-aside {
  background:
    linear-gradient(0deg, #24131a99, transparent 70%),
    url("/uploads/photos/match_1787002432.jpg") center/cover;
  border-radius: 9px;
  min-height: 500px;
  display: flex;
  align-items: end;
  padding: 32px;
  color: #fff;
}
.auth-aside h2 {
  font:
    28px Georgia,
    "Songti SC",
    serif;
}
.field {
  display: block;
  margin: 0 0 20px;
  font-size: 14px;
}
.field > span {
  display: block;
  margin-bottom: 7px;
  font-weight: 500;
  color: #5d4b53;
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid #dfd2d8;
  border-radius: 5px;
  padding: 11px 13px;
  outline: none;
  color: var(--ink);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 2px #8f1d4911;
}
.field textarea {
  min-height: 112px;
  resize: vertical;
}
.form-grid {
  gap: 0 22px;
}
.check-label {
  display: flex;
  gap: 9px;
  font-size: 13px;
  align-items: flex-start;
  margin: 18px 0;
}
.check-label input {
  margin-top: 6px;
}
.muted {
  color: var(--muted);
}
.hint {
  font-size: 12px;
  color: var(--muted);
}
.notice {
  border-radius: 5px;
  padding: 13px 16px;
  background: #fcf2e5;
  color: #856337;
  border: 1px solid #ebdcc7;
  font-size: 14px;
  margin: 0 0 20px;
}
.notice.error {
  background: #fff2f3;
  border-color: #edcbd1;
  color: #a03a4d;
}
.notice.success {
  background: #f0f7f1;
  border-color: #cee4d2;
  color: #427548;
}
.test-badge {
  font-size: 11px;
  letter-spacing: 1px;
  background: #f7eedf;
  color: #947546;
  padding: 4px 8px;
  border: 1px solid #eaddc2;
  border-radius: 3px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: flex-end;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-bottom: 30px;
}
.filters .field {
  margin: 0;
  flex: 1;
  min-width: 110px;
}
.filters .field.age {
  max-width: 115px;
}
.result-count {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.empty {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  padding: 60px 24px;
  border-radius: 8px;
}
.empty-symbol {
  font: 44px Georgia;
  color: #d2adbc;
}
.empty h2 {
  font-size: 23px;
}
.empty p {
  color: var(--muted);
  font-size: 14px;
}
.details-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
.portrait {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 8px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 24px 0;
}
.facts div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.facts dt {
  font-size: 12px;
  color: var(--muted);
}
.facts dd {
  margin: 4px 0 0;
  font-size: 15px;
}
.prose {
  white-space: pre-wrap;
  color: #78686f;
  line-height: 1.95;
}
.detail-name {
  font:
    38px Georgia,
    "Songti SC",
    serif;
  margin: 12px 0;
}
.preview-photo {
  width: 110px;
  height: 138px;
  object-fit: cover;
  border-radius: 5px;
  display: block;
  margin-bottom: 14px;
}
.status {
  display: inline-block;
  font-size: 11px;
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
  background: #f7f3f5;
  color: #806574;
}
.status.paid,
.status.published,
.status.active {
  background: #edf5ef;
  color: #457651;
  border-color: #d9e9de;
}
.status.review,
.status.pending,
.status.open {
  background: #faf2e6;
  color: #9c753b;
  border-color: #eadeca;
}
.status.rejected,
.status.suspended,
.status.refunded {
  background: #fbeced;
  color: #a85e68;
}
.account-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
}
.account-menu a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.account-menu h3 {
  font-size: 20px;
}
.selected-person {
  display: flex;
  gap: 18px;
  align-items: center;
  background: #faf3f5;
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 7px;
  margin-bottom: 25px;
}
.selected-person img {
  height: 88px;
  width: 70px;
  object-fit: cover;
  border-radius: 5px;
}
.selected-person h3 {
  margin: 0 0 5px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.plan-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  position: relative;
}
.plan-card:last-child {
  border-color: #a85475;
  background: #fffafc;
}
.price {
  font:
    40px Georgia,
    serif;
  color: var(--wine);
}
.plan-card ul {
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2.2;
}
.checkout-total {
  font:
    46px Georgia,
    serif;
  color: var(--wine);
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.order-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 14px;
}
.order-facts dt {
  color: var(--muted);
}
.order-facts dd {
  margin: 0;
  text-align: right;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
th {
  font-weight: 500;
  color: var(--muted);
  background: #faf8f9;
}
th,
td {
  padding: 14px 15px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
td small {
  display: block;
  color: var(--muted);
}
td .actions {
  margin: 0;
  gap: 9px;
}
.thumb {
  width: 46px;
  height: 58px;
  object-fit: cover;
  border-radius: 4px;
}
.pagination {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  font-size: 13px;
}
.admin-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 85vh;
}
.admin-sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 28px 24px;
}
.admin-sidebar > p {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  margin: 0 0 18px;
}
.admin-sidebar > a {
  display: block;
  padding: 12px 16px;
  border-radius: 4px;
  margin: 3px 0;
  font-size: 14px;
}
.admin-sidebar .current {
  color: var(--wine);
  background: #f7eef2;
  font-weight: 600;
}
.admin-main {
  padding: 35px 40px;
  max-width: 1550px;
  width: 100%;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 24px 0;
}
.metric {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.metric p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.metric strong {
  display: block;
  font:
    36px Georgia,
    serif;
  margin-top: 12px;
}
.search-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.search-row input {
  border: 1px solid var(--line);
  padding: 9px 13px;
  background: #fff;
  border-radius: 4px;
  min-width: 260px;
}
.thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
  max-height: 520px;
  overflow-y: auto;
}
.message {
  border: 1px solid var(--line);
  background: #f8f4f6;
  border-radius: 8px;
  padding: 14px 18px;
  max-width: 85%;
  align-self: flex-start;
  white-space: pre-wrap;
}
.message.mine {
  align-self: flex-end;
  background: #f6eaf0;
  border-color: #e4ccda;
}
.message small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  white-space: normal;
}
.ticket {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.code-box {
  font-family: monospace;
  overflow-wrap: anywhere;
  border: 1px dashed #c1a7b3;
  padding: 18px;
  background: #fcf4f8;
  user-select: all;
}
.split-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.profile-search {
  margin: 0 0 22px;
}
form.inline {
  display: inline;
}
.error-summary:empty {
  display: none;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1000px) {
  .main-nav {
    gap: 18px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    padding: 16px 22px;
  }
  .people-grid {
    gap: 18px;
  }
  .person-copy {
    padding: 18px;
  }
  .admin-main {
    padding: 25px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-layout {
    grid-template-columns: 180px 1fr;
  }
  .admin-sidebar {
    padding: 24px 14px;
  }
}
@media (max-width: 720px) {
  .header-inner {
    min-height: 86px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .wordmark {
    font-size: 26px;
  }
  .wordmark small {
    font-size: 9px;
  }
  .main-nav {
    width: 100%;
    gap: 19px;
    justify-content: space-between;
    font-size: 12px;
  }
  .main-nav .btn {
    font-size: 12px;
  }
  .language {
    padding-left: 13px;
  }
  .home-hero {
    min-height: 680px;
    background-position: 63% center;
  }
  .hero-text {
    padding: 175px 0 70px;
    max-width: 95%;
  }
  .hero-text h1 {
    font-size: 37px;
  }
  .hero-description {
    font-size: 15px;
  }
  .container {
    width: calc(100% - 32px);
  }
  .people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .person-copy {
    padding: 14px;
  }
  .person-title h2 {
    font-size: 22px;
  }
  .person-title {
    gap: 8px;
  }
  .person-place {
    font-size: 11px;
  }
  .person-bio {
    font-size: 12px;
    -webkit-line-clamp: 3;
    min-height: 64px;
  }
  .person-image {
    aspect-ratio: 4/5;
  }
  .sample-tag {
    left: 9px;
    top: 9px;
    font-size: 9px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .section-heading > a {
    font-size: 12px;
    white-space: nowrap;
  }
  .how-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .how-grid article {
    border-bottom: 1px solid #d9c8ce;
    padding-bottom: 18px;
  }
  .how-section {
    padding: 45px 0;
  }
  .home-section {
    padding: 42px 0;
  }
  .footer-inner {
    flex-direction: column;
  }
  .footer-inner > div {
    gap: 16px;
  }
  .auth-layout,
  .details-grid,
  .account-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .auth-aside {
    display: none;
  }
  .portrait {
    max-height: 540px;
  }
  .details-grid .panel {
    padding: 22px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .page-title h1 {
    font-size: 27px;
  }
  .panel {
    padding: 22px;
  }
  .filters {
    gap: 12px;
    padding: 16px;
  }
  .filters .field {
    min-width: 40%;
  }
  .filters .btn {
    width: 100%;
  }
  .admin-layout {
    display: block;
  }
  .admin-sidebar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px;
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .admin-sidebar > p {
    display: none;
  }
  .admin-sidebar > a {
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 12px;
  }
  .admin-main {
    padding: 24px 16px;
  }
  .metrics {
    gap: 12px;
  }
  .metric {
    padding: 18px;
  }
  .search-row input {
    min-width: 0;
    width: 100%;
  }
  .account-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }
  .account-menu h3 {
    width: 100%;
  }
  .account-menu a {
    font-size: 12px;
  }
  .actions .btn {
    width: auto;
  }
  .person-card {
    min-width: 0;
  }
  .on-hero .main-nav {
    color: #fff;
  }
  .wordmark {
    letter-spacing: 1px;
  }
  .order-facts {
    font-size: 13px;
  }
  .message {
    max-width: 94%;
  }
  .split-heading {
    align-items: flex-start;
  }
  .detail-name {
    font-size: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
