:root {
  --paper: #fffaf6;
  --surface: #ffffff;
  --surface-soft: #fff1ea;
  --ink: #2f2020;
  --muted: #7f6863;
  --line: #e8c9b0;
  --brand: #c41e3a;
  --brand-dark: #8b1a2b;
  --gold: #c9a96e;
  --rose: #eac1b4;
  --shadow: 0 24px 70px rgba(91, 39, 35, .14);
  --soft-shadow: 0 14px 34px rgba(91, 39, 35, .10);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
}

input,
textarea,
button {
  font: inherit;
}

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

.auth-body,
.public-body {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(196, 30, 58, .10), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(201, 169, 110, .18), transparent 28%),
    var(--paper);
}

.auth-shell,
.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.auth-panel,
.not-found-panel {
  width: min(440px, 100%);
  padding: 42px;
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(234, 212, 202, .86);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  text-align: center;
  backdrop-filter: blur(18px);
}

.auth-emblem,
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--brand);
  color: #fff7ef;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(196, 30, 58, .28);
}

.auth-panel h1,
.not-found-panel h1 {
  margin: 18px 0 8px;
  font-size: 34px;
  color: var(--brand-dark);
}

.auth-panel p,
.not-found-panel p {
  color: var(--muted);
  line-height: 1.8;
}

.form-stack,
.settings-panel {
  display: grid;
  gap: 18px;
  text-align: left;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  background: #fffdfb;
  color: var(--ink);
  outline: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
}

textarea {
  min-height: 118px;
  resize: vertical;
  line-height: 1.75;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(196, 30, 58, .62);
  box-shadow: 0 0 0 4px rgba(196, 30, 58, .10);
  background: #fff;
}

button,
.primary-btn,
.ghost-btn {
  border: 0;
  border-radius: var(--radius);
  padding: 12px 18px;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s;
}

button:hover,
.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-1px);
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff8f1;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 12px 24px rgba(196, 30, 58, .22);
}

.ghost-btn {
  border: 1px solid var(--line);
  background: #fffaf7;
  color: var(--brand-dark);
}

.alert,
.success {
  margin: 16px 0;
  padding: 13px 15px;
  border-radius: var(--radius);
}

.alert {
  background: #fff0ee;
  color: var(--brand-dark);
  border: 1px solid #f2beb8;
}

.success {
  background: #f4fbf1;
  color: #32662f;
  border: 1px solid #c6e6bf;
}

.admin-body {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 224px 1fr;
  background: #fbf3ee;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 26px 18px;
  background: linear-gradient(180deg, #2d1015 0%, #1a0a0e 100%);
  color: #fff5eb;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.brand strong {
  display: block;
  font-size: 20px;
}

.brand small {
  color: #e6c5ba;
}

.sidebar nav {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.sidebar nav a {
  padding: 12px 14px;
  color: #f4ddd5;
  border-radius: var(--radius);
}

.sidebar nav a:hover {
  background: rgba(255, 255, 255, .10);
}

.admin-main {
  padding: 32px 28px 32px 18px;
  min-width: 0;
}

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

.page-head h1 {
  margin: 5px 0 0;
  font-size: 34px;
  color: var(--brand-dark);
}

.eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .08em;
}

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

.filter-bar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 150px 150px auto auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  margin-bottom: 18px;
}

.filter-bar button {
  background: var(--brand);
  color: #fff;
}

.filter-bar a {
  color: var(--muted);
}

.table-panel,
.form-panel,
.share-panel,
.settings-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.table-panel {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid #f2dfd7;
  text-align: left;
}

th {
  color: var(--muted);
  background: #fff8f4;
  font-size: 13px;
}

.actions {
  display: flex;
  gap: 12px;
}

.actions a {
  color: var(--brand);
  font-weight: 700;
}

.empty {
  padding: 48px;
  text-align: center;
  color: var(--muted);
}

.edit-grid {
  display: grid;
  gap: 18px;
}

.form-panel {
  padding: 22px;
}

.form-panel h2,
.share-panel h2,
.settings-panel h2 {
  margin: 0 0 18px;
  color: var(--brand-dark);
}

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

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

.photo-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.photo-strip img {
  width: 86px;
  height: 106px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--line);
}

.photo-manage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.photo-manage-item {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fffaf7;
}

.photo-manage-item img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: #f5dfd6;
  border-radius: 5px;
}

.danger-mini,
.share-actions button,
.share-row-actions button {
  border: 1px solid rgba(196, 30, 58, .28);
  background: #fff0ee;
  color: var(--brand-dark);
  padding: 7px 10px;
  border-radius: 6px;
}

.keep-photo span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.keep-photo input {
  width: auto;
}

.detail-layout {
  display: grid;
  grid-template-columns: 900px minmax(520px, 1fr);
  gap: 12px;
  align-items: start;
}

.guest-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 250, 246, .96), rgba(255, 255, 255, .98)),
    repeating-linear-gradient(135deg, rgba(196, 30, 58, .035) 0 2px, transparent 2px 20px);
  border: 1px solid #e8c9b0;
  box-shadow: var(--shadow);
}

.share-page-refined {
  position: relative;
  overflow: hidden;
}

.page-watermark {
  position: fixed;
  inset: -80px;
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 34px 42px;
  transform: rotate(-18deg);
  opacity: .07;
  pointer-events: none;
  z-index: 0;
}

.page-watermark span {
  color: #8b1a2b;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.admin-card {
  padding: 26px;
}

.public-card {
  padding: 18px;
}

.compact-card {
  max-width: 820px;
  margin: 0 auto;
}

.watermark {
  display: none;
}

.watermark-grid {
  position: absolute;
  inset: -64px -42px;
  display: grid;
  grid-template-columns: repeat(6, minmax(90px, 1fr));
  gap: 20px 28px;
  transform: rotate(-18deg);
  opacity: .24;
  pointer-events: none;
  z-index: 0;
}

.watermark-grid span {
  color: rgba(139, 26, 43, .42);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.refined-card {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(145deg, rgba(255, 252, 248, .96), rgba(255, 247, 240, .92)),
    radial-gradient(circle at 86% 12%, rgba(201, 169, 110, .16), transparent 24%),
    #fffaf6;
  border: 1px solid rgba(201, 130, 98, .28);
}

.refined-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 169, 110, .22);
  border-radius: 6px;
  pointer-events: none;
  z-index: 1;
}

.profile-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.profile-photo {
  position: relative;
  width: 252px;
  height: 336px;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(180deg, #f9e2d8, #efc7ba);
  border: 1px solid rgba(196, 30, 58, .20);
  box-shadow: 0 12px 28px rgba(139, 26, 43, .12);
  flex: 0 0 auto;
}

.profile-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .25s ease;
}

.profile-photo img.active {
  opacity: 1;
}

.profile-main {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  align-content: start;
}

.profile-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--gold);
}

.profile-kicker span {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 110, .36);
  background: rgba(255, 248, 239, .82);
  font-size: 13px;
  font-weight: 700;
}

.profile-kicker em {
  font-style: normal;
  color: #8b625c;
  font-size: 14px;
}

.profile-name {
  margin: 12px 0 16px;
  color: var(--brand-dark);
  font-size: 43px;
  line-height: 1.05;
  font-weight: 800;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 15px;
}

.trust-strip div {
  padding: 12px 10px;
  border: 1px solid rgba(201, 169, 110, .28);
  border-radius: 6px;
  background: rgba(255, 255, 255, .64);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}

.trust-strip strong {
  display: block;
  color: #c41e3a;
  font-size: 24px;
  line-height: 1.1;
}

.trust-strip span {
  display: block;
  margin-top: 4px;
  color: #7b625d;
  font-size: 12px;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
  margin: 0;
  align-self: end;
}

.profile-facts div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(201, 130, 98, .26);
}

.profile-facts div:nth-last-child(-n + 2) {
  grid-column: 1 / -1;
}

.profile-facts dt {
  color: var(--gold);
  font-weight: 800;
  white-space: nowrap;
}

.profile-facts dd {
  margin: 0;
  min-width: 0;
  color: #3d2b2a;
}

.privacy-mask {
  position: relative;
  display: inline-block;
  max-width: min(260px, 100%);
  padding: 1px 8px 2px;
  border-radius: 999px;
  color: rgba(62, 43, 40, .48);
  filter: blur(4px);
  user-select: none;
  overflow: hidden;
  vertical-align: middle;
  background:
    repeating-linear-gradient(90deg, rgba(139, 26, 43, .12) 0 6px, rgba(255, 255, 255, .55) 6px 12px),
    rgba(255, 244, 238, .78);
}

.privacy-mask.wide {
  max-width: min(380px, 100%);
}

.profile-facts small {
  margin-left: 10px;
  color: #9a726b;
  font-size: 12px;
  white-space: nowrap;
}

.card-top {
  position: relative;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 26px;
  z-index: 1;
}

.compact-top {
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.photo-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f3d7cf;
  border: 1px solid #e9c6ba;
}

.compact-photo {
  width: 100%;
  height: auto;
  min-height: 0;
}

.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .25s ease;
}

.photo-frame img.active {
  opacity: 1;
}

.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 0;
  background: rgba(58, 32, 33, .62);
  color: #fff;
  font-size: 24px;
}

.car-btn:hover {
  transform: translateY(-50%) scale(1.03);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.card-summary h1,
.card-summary h2 {
  margin: 12px 0 8px;
  font-size: 38px;
  color: var(--brand-dark);
}

.compact-summary {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.region {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.compact-summary h1 {
  margin: 13px 0 4px;
  font-size: 34px;
  line-height: 1.1;
}

.compact-summary h1 em {
  font-style: normal;
  color: var(--muted);
  font-size: 22px;
  font-weight: 500;
}

.compact-summary .lead {
  margin: 0;
  font-size: 16px;
}

.card-summary p,
.lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.seal {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid rgba(201, 169, 110, .38);
  background: rgba(201, 169, 110, .10);
  color: var(--gold);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.compact-metrics {
  margin: 14px 0;
  gap: 8px;
}

.compact-metrics div {
  padding: 10px 8px;
}

.compact-metrics strong {
  font-size: 22px;
  line-height: 1.1;
}

.compact-metrics .deposit {
  background: linear-gradient(135deg, #fff8ef, #fff1e2);
  border-color: rgba(201, 169, 110, .38);
}

.metric-row div {
  padding: 16px 12px;
  background: #fff8f4;
  border: 1px solid #efd9d0;
  border-radius: var(--radius);
  text-align: center;
}

.metric-row strong {
  display: block;
  font-size: 25px;
  color: var(--brand);
}

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

.info-list {
  display: grid;
  gap: 12px;
}

.info-list div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #ebd2c7;
}

.info-list dt {
  color: var(--gold);
  font-weight: 700;
}

.info-list dd {
  margin: 0;
  color: var(--ink);
}

.muted-list dd {
  filter: blur(.2px);
}

.privacy-list {
  gap: 8px;
  margin-top: auto;
}

.privacy-list div {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
}

.privacy-list dd {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.privacy-list small {
  flex: 0 0 auto;
  color: #9b6d66;
  font-size: 12px;
}

.privacy-blur {
  position: relative;
  display: inline-block;
  max-width: 100%;
  filter: blur(5px);
  user-select: none;
  color: rgba(47, 32, 32, .72);
  text-shadow: 0 0 10px rgba(47, 32, 32, .52);
}

.privacy-blur::after {
  content: "";
  position: absolute;
  inset: -4px -8px;
  border-radius: 999px;
  background: rgba(255, 246, 241, .62);
  border: 1px solid rgba(196, 30, 58, .10);
  mix-blend-mode: normal;
  pointer-events: none;
}

.article-block,
.two-col,
.article-section {
  position: relative;
  z-index: 1;
}

.article-block {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #edd5cb;
}

.article-block h3,
.two-col h3,
.article-section h2 {
  color: var(--brand-dark);
  margin: 0 0 10px;
}

.article-block p,
.two-col p,
.article-section p {
  color: #4c3936;
  line-height: 1.95;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.two-col section {
  padding: 18px;
  background: rgba(255, 250, 246, .72);
  border: 1px solid #efd9d0;
  border-radius: var(--radius);
}

.share-panel {
  padding: 22px;
}

.share-panel p {
  color: var(--muted);
  line-height: 1.75;
}

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

.share-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.share-item {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: #fff8f4;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.share-item button {
  background: linear-gradient(180deg, #2d1015 0%, #1a0a0e 100%);
  color: #fff;
}

.share-item small {
  color: var(--muted);
}

.settings-panel {
  max-width: 720px;
  padding: 24px;
}

.share-page {
  min-height: 100vh;
  padding: 22px;
}

.share-article {
  width: min(900px, 100%);
  margin: 0 auto;
}

.share-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.share-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-dark);
  font-size: 22px;
}

.share-tag {
  color: var(--gold);
  border: 1px solid rgba(201, 169, 110, .32);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 250, 246, .7);
}

.share-article > .article-section {
  margin-top: 14px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid #efd9d0;
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.article-intro {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

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

.match-editorial,
.match-columns {
  position: relative;
  z-index: 1;
}

.match-editorial {
  max-width: 820px;
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 22px;
  padding: 24px 26px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(201, 130, 98, .22);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.editorial-label {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .08em;
  writing-mode: vertical-rl;
  justify-self: center;
  padding-top: 4px;
}

.editorial-body h2,
.match-note h2 {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 25px;
}

.editorial-body p,
.match-note p {
  margin: 0;
  color: #3f2c2a;
  line-height: 1.95;
}

.match-columns {
  max-width: 900px;
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.match-note {
  position: relative;
  min-height: 154px;
  padding: 22px 24px 22px 68px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 250, 246, .74));
  border: 1px solid rgba(201, 130, 98, .20);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(91, 39, 35, .07);
}

.match-note > span {
  position: absolute;
  left: 22px;
  top: 24px;
  color: rgba(201, 169, 110, .46);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.screenshot-card {
  width: 900px;
  max-width: 100%;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(180, 35, 48, .30);
  background:
    linear-gradient(145deg, rgba(255, 253, 248, .98), rgba(255, 246, 238, .94)),
    #fff8f2;
  box-shadow: 0 18px 46px rgba(91, 39, 35, .13);
  isolation: isolate;
}

.screenshot-card .watermark-grid {
  inset: -48px;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 28px 34px;
  opacity: .34;
}

.screenshot-card .watermark-grid span {
  color: rgba(142, 61, 25, .58);
  font-size: 15px;
  font-weight: 800;
}

.shot-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  color: var(--gold);
  font-weight: 800;
}

.shot-brand-block {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.share-qr {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 92px;
  height: 92px;
  padding: 5px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(201, 169, 110, .28);
  box-shadow: 0 8px 18px rgba(91, 39, 35, .10);
}

.share-qr img,
.share-qr canvas {
  display: block;
  width: 82px;
  height: 82px;
}

.shot-brand-block em {
  font-style: normal;
  color: #8b625c;
  font-size: 11px;
}

.shot-header span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 245, 232, .78);
  border: 1px solid rgba(201, 169, 110, .32);
}

.shot-header strong {
  color: var(--brand-dark);
  font-size: 18px;
}

.shot-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(330px, 1.05fr) minmax(240px, .95fr);
  gap: 22px;
}

.shot-photo {
  position: relative;
  width: 100%;
  min-height: 0;
  max-height: 376px;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(180deg, #f9e3da, #eebfaf);
  border: 1px solid rgba(180, 35, 48, .22);
  box-shadow: 0 12px 28px rgba(139, 26, 43, .12);
}

.shot-photo img {
  position: relative;
  display: none;
  width: 100%;
  height: auto;
  max-height: 376px;
  object-fit: cover;
  object-position: center top;
  opacity: 1;
  transition: opacity .25s ease;
}

.shot-photo img.active {
  display: block;
}

.shot-info {
  min-width: 0;
}

.shot-info h1 {
  margin: 2px 0 14px;
  color: var(--brand-dark);
  font-size: 44px;
  line-height: 1.05;
  font-weight: 900;
}

.shot-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.shot-trust div {
  position: relative;
  min-width: 0;
  padding: 10px 6px;
  border: 1px solid rgba(201, 169, 110, .34);
  border-radius: 7px;
  text-align: center;
  background: rgba(255, 252, 248, .78);
  overflow: visible;
}

.shot-trust b {
  display: block;
  color: #c41e3a;
  font-size: 24px;
  line-height: 1.08;
}

.shot-trust span {
  display: block;
  margin-top: 3px;
  color: #6f5550;
  font-size: 12px;
}

.shot-facts {
  display: grid;
  gap: 8px;
  margin: 0;
}

.shot-facts div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(180, 35, 48, .22);
}

.shot-facts dt {
  color: var(--gold);
  font-weight: 900;
}

.shot-facts dd {
  margin: 0;
  color: #332322;
  font-size: 16px;
}

.shot-story,
.shot-more {
  position: relative;
  z-index: 2;
}

.shot-story {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(201, 169, 110, .25);
  border-radius: 7px;
  background: rgba(255, 255, 255, .62);
}

.shot-story h2,
.shot-more h3 {
  margin: 0 0 7px;
  color: var(--brand-dark);
}

.shot-story p,
.shot-more p {
  margin: 0;
  color: #3d2c2a;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.shot-more {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.shot-more section {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 7px;
  background: rgba(255, 251, 246, .70);
  border: 1px solid rgba(180, 35, 48, .16);
  box-shadow: inset 3px 0 0 rgba(201, 169, 110, .36);
}

.secondary-details {
  opacity: .98;
}

.secondary-details .match-note {
  min-height: auto;
  padding-left: 24px;
}

.article-hero-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(180, 35, 48, .24);
  background:
    linear-gradient(135deg, rgba(255, 253, 249, .97), rgba(255, 247, 241, .94)),
    #fff9f4;
  box-shadow: 0 18px 44px rgba(91, 39, 35, .12);
  isolation: isolate;
}

.article-hero-card .watermark-grid {
  inset: -52px -40px;
  grid-template-columns: repeat(5, minmax(100px, 1fr));
  gap: 26px 32px;
  opacity: .28;
}

.article-hero-card .watermark-grid span {
  color: rgba(139, 66, 38, .52);
  font-size: 14px;
  font-weight: 800;
}

.article-card-head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.article-card-head span {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--gold);
  font-weight: 800;
  background: rgba(255, 247, 236, .82);
  border: 1px solid rgba(201, 169, 110, .34);
}

.article-card-head em {
  font-style: normal;
  color: #8b625c;
  font-size: 13px;
}

.article-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.article-photo {
  position: relative;
  width: 100%;
  min-height: 0;
  max-height: 430px;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(180deg, #f9e1d7, #efc1b0);
  border: 1px solid rgba(180, 35, 48, .20);
  box-shadow: 0 12px 28px rgba(139, 26, 43, .12);
}

.article-photo img {
  position: relative;
  display: none;
  width: 100%;
  height: auto;
  max-height: 430px;
  object-fit: cover;
  object-position: center top;
  opacity: 1;
  transition: opacity .25s ease;
}

.article-photo img.active {
  display: block;
}

.article-profile h1 {
  margin: 0 0 13px;
  color: var(--brand-dark);
  font-size: 42px;
  line-height: 1.06;
  font-weight: 900;
}

.article-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.article-trust div {
  position: relative;
  padding: 10px 6px;
  text-align: center;
  border-radius: 7px;
  border: 1px solid rgba(201, 169, 110, .34);
  background: rgba(255, 252, 248, .78);
}

.article-trust b {
  display: block;
  color: #c41e3a;
  font-size: 23px;
  line-height: 1.1;
}

.article-trust span {
  display: block;
  margin-top: 3px;
  color: #6f5550;
  font-size: 12px;
}

.trust-deposit {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 250, 240, .92), rgba(255, 241, 222, .86)) !important;
  border-color: rgba(201, 169, 110, .62) !important;
  box-shadow: 0 8px 18px rgba(201, 169, 110, .16), inset 0 1px 0 rgba(255, 255, 255, .72);
  overflow: visible;
}

.trust-deposit i {
  position: absolute;
  right: -9px;
  top: -14px;
  z-index: 4;
  width: 34px;
  height: 38px;
  background:
    linear-gradient(145deg, #fff1a7 0%, #d39b32 58%, #9f6b20 100%);
  border: 2px solid #fff9ee;
  border-radius: 11px 11px 14px 14px;
  clip-path: polygon(50% 0, 88% 13%, 81% 66%, 50% 100%, 19% 66%, 12% 13%);
  box-shadow: 0 8px 18px rgba(120, 76, 23, .34), 0 0 0 1px rgba(139, 26, 43, .12);
  font-style: normal;
}

.trust-deposit i::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 13px;
  width: 13px;
  height: 7px;
  border-left: 3px solid #8b1a2b;
  border-bottom: 3px solid #8b1a2b;
  transform: rotate(-45deg);
}

.trust-deposit i::after {
  content: "";
  position: absolute;
  inset: 5px 7px auto auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 249, 224, .85);
  box-shadow: 0 0 0 1px rgba(139, 26, 43, .12);
}

.article-facts {
  display: grid;
  gap: 7px;
  margin: 0;
}

.article-facts div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(180, 35, 48, .22);
}

.article-facts dt {
  color: var(--gold);
  font-weight: 900;
}

.article-facts dd {
  margin: 0;
  color: #332322;
}

.admin-preview-card {
  max-width: 900px;
  padding: 18px;
}

.admin-preview-card .shot-header {
  margin-bottom: 12px;
}

.admin-preview-card .shot-layout {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
}

.admin-preview-card .shot-photo {
  max-height: 376px;
}

.admin-preview-card .shot-more {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.admin-preview-card .shot-more section {
  min-height: auto;
}

.admin-preview-card .shot-info h1 {
  font-size: 46px;
}

.admin-preview-card .shot-story {
  margin-top: 14px;
}

.card-only-header strong {
  color: var(--brand-dark);
  font-size: 18px;
}

.side-actions {
  margin-bottom: 18px;
}

.side-actions .ghost-btn {
  flex: 1;
}

.share-filter-bar {
  grid-template-columns: minmax(220px, 1fr) 160px auto auto;
}

.share-url-cell input {
  min-width: 320px;
  padding: 9px 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status-pill.active,
.active-text {
  color: #2e7134;
}

.status-pill.active {
  background: #edf8eb;
  border: 1px solid #c8e8c3;
}

.status-pill.expired,
.expired-text {
  color: #9b2d2d;
}

.status-pill.expired {
  background: #fff0ee;
  border: 1px solid #efc2bd;
}

.share-actions {
  align-items: center;
  min-width: 190px;
  white-space: nowrap;
}

.share-actions form {
  margin: 0;
}

.share-actions button {
  font-weight: 700;
  white-space: nowrap;
}

.share-actions a {
  white-space: nowrap;
}

.share-snapshot-meta {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 160px 240px;
  gap: 12px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.share-snapshot-meta div {
  display: grid;
  gap: 7px;
}

.share-snapshot-meta span {
  color: var(--muted);
  font-size: 13px;
}

.share-mini-table {
  margin-top: 18px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.share-mini-table table {
  min-width: 0;
  table-layout: fixed;
}

.share-mini-table th,
.share-mini-table td {
  padding: 9px 8px;
  font-size: 12px;
}

.share-mini-table th:nth-child(1),
.share-mini-table td:nth-child(1) {
  width: 70px;
}

.share-mini-table th:nth-child(2),
.share-mini-table td:nth-child(2) {
  width: 86px;
}

.share-mini-table th:nth-child(3),
.share-mini-table td:nth-child(3) {
  width: 62px;
}

.share-mini-table th:nth-child(4),
.share-mini-table td:nth-child(4) {
  width: 236px;
}

.share-mini-table input {
  min-width: 0;
  padding: 7px 8px;
  font-size: 12px;
}

.mini-open-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(196, 30, 58, .18);
  background: rgba(255, 248, 244, .92);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.share-row-picker {
  display: block;
  color: inherit;
}

.share-mini-table tbody tr {
  cursor: pointer;
}

.share-mini-table tbody tr:hover {
  background: rgba(255, 250, 246, .90);
}

.selected-share-row {
  background: rgba(255, 246, 236, .92);
  box-shadow: inset 3px 0 0 var(--gold);
}

.share-row-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.share-row-actions form {
  margin: 0;
}

.share-row-actions a {
  color: var(--brand);
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
}

.share-row-actions button {
  padding: 6px 7px;
  font-size: 12px;
}

.status-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-dot.active {
  background: #4ead55;
  box-shadow: 0 0 0 3px rgba(78, 173, 85, .14);
}

.status-dot.expired {
  background: #c74444;
  box-shadow: 0 0 0 3px rgba(199, 68, 68, .13);
}

.card-capture-page {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(196, 30, 58, .08), transparent 34%),
    radial-gradient(circle at 84% 12%, rgba(201, 169, 110, .14), transparent 28%),
    var(--paper);
}

.capture-card {
  width: min(940px, 100%);
}

.admin-preview-card {
  padding: 14px 18px;
}

.admin-preview-card .shot-story {
  margin-top: 10px;
  padding: 12px 16px;
}

.admin-preview-card .shot-story h2 {
  margin-bottom: 5px;
  font-size: 24px;
}

.admin-preview-card .shot-story p {
  line-height: 1.66;
  font-size: 14px;
}

.admin-preview-card .shot-more {
  gap: 10px;
  margin-top: 10px;
}

.admin-preview-card .shot-more section {
  min-height: auto;
  padding: 10px 14px;
}

.admin-preview-card .shot-more h3 {
  margin-bottom: 5px;
  font-size: 19px;
  line-height: 1.28;
}

.admin-preview-card .shot-more p {
  line-height: 1.68;
  font-size: 14px;
}

@media (max-width: 760px) {
  .article-card-head {
    display: grid;
    justify-content: start;
    gap: 6px;
  }

  .article-card-head em {
    font-size: 12px;
  }

  .article-hero-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .article-photo {
    width: min(100%, 330px);
    margin: 0 auto;
    aspect-ratio: 4 / 5;
  }

  .article-profile h1 {
    font-size: 34px;
    text-align: center;
  }

  .article-trust {
    gap: 7px;
  }

  .article-trust div {
    padding: 8px 4px;
  }

  .article-trust b {
    font-size: 18px;
  }

  .article-trust span {
    font-size: 11px;
  }

  .article-facts div {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .article-hero-card .watermark-grid {
    grid-template-columns: repeat(4, minmax(86px, 1fr));
    opacity: .30;
  }

  .article-hero-card .watermark-grid span {
    font-size: 12px;
  }
}

.share-footer {
  padding: 28px 0;
  text-align: center;
  color: var(--muted);
}

.not-found-panel {
  width: min(620px, 100%);
}

.not-found-panel h1 {
  font-size: 40px;
}

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

  .sidebar {
    position: static;
    height: auto;
  }

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

  .detail-layout,
  .card-top {
    grid-template-columns: 1fr;
  }

  .article-top.compact-top {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .photo-frame {
    min-height: auto;
  }

  .filter-bar,
  .field-grid,
  .two-col,
  .article-section.split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .admin-main,
  .share-page {
    padding: 12px;
  }

  .page-head,
  .share-header {
    display: grid;
  }

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

  .card-summary h1,
  .card-summary h2 {
    font-size: 30px;
  }

  .metric-row:not(.compact-metrics) {
    grid-template-columns: 1fr;
  }

  .auth-panel,
  .not-found-panel {
    padding: 30px 22px;
  }

  .share-header {
    gap: 8px;
    margin-bottom: 10px;
  }

  .share-brand {
    font-size: 18px;
  }

  .share-tag {
    justify-self: start;
    padding: 6px 10px;
    font-size: 12px;
  }

  .public-card {
    padding: 10px;
  }

  .article-top.compact-top {
    grid-template-columns: 38% minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
  }

  .compact-photo {
    height: auto;
  }

  .compact-summary h1 {
    margin-top: 8px;
    font-size: 25px;
  }

  .compact-summary h1 em {
    font-size: 16px;
  }

  .compact-summary .lead {
    font-size: 13px;
    line-height: 1.35;
  }

  .summary-line {
    align-items: flex-start;
    display: grid;
    gap: 5px;
  }

  .seal {
    padding: 5px 8px;
    font-size: 11px;
  }

  .region {
    font-size: 12px;
  }

  .compact-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin: 9px 0;
  }

  .compact-metrics div {
    padding: 7px 4px;
  }

  .compact-metrics strong {
    font-size: 16px;
  }

  .compact-metrics span {
    font-size: 10px;
  }

  .privacy-list {
    gap: 4px;
  }

  .privacy-list div {
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 5px 0;
    gap: 6px;
  }

  .privacy-list dt,
  .privacy-list dd {
    font-size: 12px;
  }

  .privacy-list small {
    display: none;
  }

  .privacy-blur {
    filter: blur(4px);
  }

  .watermark-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 22px;
    opacity: .16;
  }

  .watermark-grid span {
    font-size: 10px;
  }

  .share-article > .article-section {
    margin-top: 10px;
    padding: 16px;
  }

  .article-section h2 {
    font-size: 18px;
  }

  .article-section p {
    line-height: 1.85;
    font-size: 14px;
  }
}

@media (max-width: 980px) {
  .profile-card {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 18px;
  }

  .profile-photo {
    width: 210px;
    height: 280px;
  }

  .profile-name {
    font-size: 36px;
  }

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

@media (max-width: 640px) {
  .refined-card::before {
    inset: 7px;
  }

  .profile-card {
    grid-template-columns: 36% minmax(0, 1fr);
    gap: 10px;
  }

  .profile-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .profile-kicker {
    display: grid;
    gap: 4px;
  }

  .profile-kicker span {
    justify-self: start;
    padding: 4px 8px;
    font-size: 11px;
  }

  .profile-kicker em {
    font-size: 12px;
  }

  .profile-name {
    margin: 7px 0 8px;
    font-size: 25px;
  }

  .trust-strip {
    gap: 5px;
    margin-bottom: 7px;
  }

  .trust-strip div {
    padding: 7px 3px;
  }

  .trust-strip strong {
    font-size: 15px;
  }

  .trust-strip span {
    margin-top: 2px;
    font-size: 10px;
  }

  .profile-facts {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .profile-facts div {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 6px;
    padding: 4px 0;
  }

  .profile-facts div:nth-last-child(-n + 2) {
    grid-column: auto;
  }

  .profile-facts dt,
  .profile-facts dd {
    font-size: 12px;
  }

  .profile-facts small {
    display: none;
  }

  .privacy-mask {
    max-width: 132px;
    filter: blur(3.6px);
    padding-inline: 5px;
  }

  .privacy-mask.wide {
    max-width: 138px;
  }

  .watermark-grid {
    inset: -72px -54px;
    grid-template-columns: repeat(5, minmax(76px, 1fr));
    gap: 18px 20px;
    opacity: .22;
  }

  .watermark-grid span {
    font-size: 9px;
  }

  .page-watermark {
    grid-template-columns: repeat(4, minmax(100px, 1fr));
    gap: 28px 32px;
    opacity: .075;
  }

  .match-editorial {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 16px;
    margin-top: 12px;
  }

  .editorial-label {
    writing-mode: horizontal-tb;
    justify-self: start;
    font-size: 13px;
  }

  .editorial-body h2,
  .match-note h2 {
    font-size: 20px;
  }

  .editorial-body p,
  .match-note p {
    font-size: 14px;
    line-height: 1.85;
  }

  .match-columns {
    margin-top: 12px;
    gap: 10px;
  }

  .match-note {
    min-height: auto;
    padding: 18px 16px 18px 52px;
  }

  .match-note > span {
    left: 16px;
    top: 20px;
    font-size: 23px;
  }
}

/* ============================================
   幸福约定 v3.0 — 红金配色整体UI升级
   ============================================ */

/* --- 全局微调 --- */
body {
  -webkit-font-smoothing: antialiased;
}
a { transition: color .2s; }

/* --- 侧边栏升级 --- */
.sidebar {
  border-right: 1px solid rgba(201, 169, 110, .12);
  box-shadow: 2px 0 30px rgba(0,0,0,.18);
}
.sidebar nav a {
  transition: all .22s;
  border-left: 3px solid transparent;
  margin-left: -3px;
}
.sidebar nav a:hover {
  background: rgba(201, 169, 110, .10);
  border-left-color: var(--gold);
}
.brand { border-bottom-color: rgba(201, 169, 110, .18); }
.brand small { color: #d4b896; }

/* --- 后台顶部标题 --- */
.page-head h1 {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 11px;
}

/* --- 卡片式仪表盘网格 --- */
  border-radius: 12px;
  border: 1px solid rgba(201, 169, 110, .16);
  background: linear-gradient(180deg, #fffdf9, #fffaf4);
}
.filter-bar input {
  border-radius: 10px;
}
.filter-bar button {
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  font-weight: 700;
}

/* --- 卡片全局美化 --- */
.guest-card {
  border-radius: 14px;
  border: 1px solid rgba(201, 169, 110, .20);
  background: linear-gradient(160deg, #fffdf9 0%, #fffaf2 40%, #fff7ed 100%);
  box-shadow: 0 8px 40px rgba(139, 26, 43, .08), 0 2px 8px rgba(0,0,0,.04);
}
.guest-card::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201, 169, 110, .10);
  border-radius: 10px;
  pointer-events: none;
  z-index: 0;
}

/* --- 照片区域金色边框 --- */
.shot-photo, .article-photo {
  border-radius: 12px;
  border: 2px solid rgba(201, 169, 110, .35);
  box-shadow: 0 8px 24px rgba(139, 26, 43, .10), 0 0 0 4px rgba(201, 169, 110, .06);
  overflow: hidden;
}

/* --- 姓名英雄区升级 --- */
.shot-info h1, .article-profile h1 {
  background: linear-gradient(180deg, var(--brand-dark) 0%, var(--brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  padding-bottom: 12px;
}
.shot-info h1::after, .article-profile h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
}

/* --- 信任指标卡片升级 --- */
.shot-trust div, .article-trust div {
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 110, .30);
  background: linear-gradient(180deg, rgba(255,253,248,1), rgba(255,249,238,.92));
  transition: transform .2s;
}
.shot-trust div:hover, .article-trust div:hover {
  transform: translateY(-2px);
}
.shot-trust b, .article-trust b {
  color: var(--brand);
}
.trust-deposit {
  background: linear-gradient(135deg, #fffcf0, #fff7e0) !important;
  border-color: rgba(201, 169, 110, .55) !important;
  box-shadow: 0 4px 16px rgba(201, 169, 110, .18), inset 0 1px 0 #fff;
}

/* --- 保障金盾牌图标升级 --- */
.trust-deposit i {
  right: -8px;
  top: -12px;
  width: 36px;
  height: 40px;
  background: linear-gradient(145deg, #ffe699 0%, #c9a96e 48%, #8b6914 100%);
  border: 2px solid #fff9e8;
  clip-path: polygon(50% 0, 88% 13%, 81% 66%, 50% 100%, 19% 66%, 12% 13%);
  box-shadow: 0 6px 16px rgba(139, 26, 43, .22), 0 0 0 2px rgba(201, 169, 110, .20);
}

/* --- 信息列表升级 --- */
.shot-facts div {
  border-bottom-color: rgba(201, 169, 110, .20);
  transition: background .18s;
}
.shot-facts div:hover {
  background: rgba(255,250,244,.6);
}
.shot-facts dt, .article-facts dt {
  color: var(--gold);
  position: relative;
}
.shot-facts dt::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

/* --- 内容区块左侧红色竖线 --- */
.shot-story {
  border-radius: 10px;
  border-left: 4px solid var(--brand);
  border-top: 1px solid rgba(201, 169, 110, .18);
  border-right: 1px solid rgba(201, 169, 110, .18);
  border-bottom: 1px solid rgba(201, 169, 110, .18);
  background: linear-gradient(90deg, rgba(255,250,244,1), rgba(255,255,255,.72));
}
.shot-story h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
}
.shot-story h2::before {
  content: '♥';
  color: var(--brand);
  font-size: 14px;
}

.shot-more section {
  border-radius: 10px;
  border-left: 4px solid var(--brand);
  border-top: 1px solid rgba(201, 169, 110, .16);
  border-right: 1px solid rgba(201, 169, 110, .16);
  border-bottom: 1px solid rgba(201, 169, 110, .16);
  background: linear-gradient(90deg, rgba(255,252,247,1), rgba(255,255,255,.78));
  transition: transform .18s, box-shadow .18s;
}
.shot-more section:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(139, 26, 43, .06);
}
.shot-more h3 {
  color: var(--brand);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* --- 卡片头部标签 --- */
.shot-header span, .article-card-head span {
  background: linear-gradient(135deg, rgba(201,169,110,.15), rgba(201,169,110,.08));
  border: 1px solid rgba(201, 169, 110, .30);
  color: #8b6914;
  font-weight: 800;
}
.shot-header strong {
  color: var(--brand-dark);
}

/* --- 品牌标识条（卡片底部） --- */
.brand-slogan-strip {
  position: relative;
  z-index: 2;
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(196,30,58,.06), rgba(201,169,110,.08));
  border: 1px solid rgba(201, 169, 110, .16);
  text-align: center;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
}
.brand-slogan-strip::before,
.brand-slogan-strip::after {
  content: '✦';
  color: var(--gold);
  margin: 0 10px;
}

/* --- 后台详情页右侧面板升级 --- */
.share-panel {
  border-radius: 14px;
  border: 1px solid rgba(201, 169, 110, .18);
  background: linear-gradient(180deg, #fffdf9, #fffaf3);
  box-shadow: 0 4px 24px rgba(139, 26, 43, .06);
}
.share-panel h2 {
  color: var(--brand-dark);
  border-bottom: 2px solid rgba(201, 169, 110, .22);
  padding-bottom: 10px;
}
.share-panel .primary-btn {
  border-radius: 10px;
  font-weight: 700;
}
.share-mini-table {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, .16);
}
.share-mini-table th {
  background: linear-gradient(180deg, #fff8f0, #fff4e8);
  color: var(--gold);
}

/* --- 按钮升级 --- */
.primary-btn {
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 6px 20px rgba(196, 30, 58, .25);
  transition: transform .18s, box-shadow .18s;
}
.primary-btn:hover {
  box-shadow: 0 10px 28px rgba(196, 30, 58, .35);
}
.ghost-btn {
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 110, .30);
  color: var(--brand-dark);
  font-weight: 600;
}
.ghost-btn:hover {
  background: rgba(201, 169, 110, .08);
  border-color: var(--gold);
}

/* --- 分享页文章卡片升级 --- */
.article-hero-card {
  border-radius: 14px;
  border: 1px solid rgba(201, 169, 110, .22);
  background: linear-gradient(160deg, #fffdf9 0%, #fffaf3 40%, #fff7ed 100%);
  box-shadow: 0 12px 44px rgba(139, 26, 43, .10);
}

/* --- 红娘说明区块升级 --- */
.match-editorial {
  border-radius: 12px;
  border-left: 5px solid var(--brand);
  border-top: 1px solid rgba(201,169,110,.18);
  border-right: 1px solid rgba(201,169,110,.18);
  border-bottom: 1px solid rgba(201,169,110,.18);
  background: linear-gradient(90deg, rgba(255,252,246,1), rgba(255,255,255,.78));
}
.editorial-label {
  color: var(--brand);
  font-size: 15px;
}

/* --- 编号内容块升级 --- */
.match-note {
  border-radius: 12px;
  border-left: 5px solid var(--brand);
  border-top: 1px solid rgba(201,169,110,.16);
  border-right: 1px solid rgba(201,169,110,.16);
  border-bottom: 1px solid rgba(201,169,110,.16);
  background: linear-gradient(90deg, rgba(255,252,247,1), rgba(255,255,255,.78));
  transition: transform .18s;
}
.match-note:hover {
  transform: translateY(-2px);
}
.match-note > span {
  color: rgba(201, 169, 110, .52);
}
.match-note h2 {
  color: var(--brand);
}

/* --- 分享页header升级 --- */
.share-header {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201, 169, 110, .16);
}
.share-brand strong {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.share-tag {
  background: linear-gradient(135deg, rgba(201,169,110,.18), rgba(201,169,110,.06));
  border: 1px solid rgba(201, 169, 110, .35);
  color: #8b6914;
}

/* --- 分享页底部 --- */
.share-footer {
  padding: 32px 0 24px;
  border-top: 1px solid rgba(201, 169, 110, .16);
  color: var(--muted);
  font-size: 14px;
}

/* --- 登录页升级 --- */
.auth-panel {
  border-radius: 16px;
  border: 1px solid rgba(201, 169, 110, .22);
  background: rgba(255,255,255,.88);
  box-shadow: 0 16px 48px rgba(139, 26, 43, .10);
}
.auth-emblem {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 8px 24px rgba(196, 30, 58, .35);
  font-size: 20px;
}
.auth-panel h1 {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- 404页升级 --- */
.not-found-panel {
  border-radius: 16px;
  border: 1px solid rgba(201, 169, 110, .22);
}

/* --- 表格行hover --- */
.table-panel {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, .14);
}
.table-panel tbody tr {
  transition: background .18s;
}
.table-panel tbody tr:hover {
  background: rgba(255,250,244,.6);
}
.table-panel th {
  background: linear-gradient(180deg, #fff8f0, #fff4e6);
  color: var(--gold);
  font-weight: 700;
}

/* --- 状态标签升级 --- */
.status-pill {
  font-weight: 700;
  letter-spacing: .02em;
}

/* --- 表单元素升级 --- */
input:focus, select:focus, textarea:focus {
  border-color: rgba(196, 30, 58, .45);
  box-shadow: 0 0 0 4px rgba(196, 30, 58, .08);
}

/* --- 动画 --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   🏆 红金主题升级（页面全局美化）
   ======================================== */

/* --- 筛选栏优化 --- */
.filter-bar {
  border-radius: 12px;
  border: 1px solid rgba(201, 169, 110, .16);
  background: linear-gradient(180deg, #fffdf9, #fffaf4);
}
.filter-bar input { border-radius: 10px; }
.filter-bar button {
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  font-weight: 700;
}

/* --- 表格行hover --- */
.table-panel {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, .14);
}
.table-panel tbody tr { transition: background .18s; }
.table-panel tbody tr:hover { background: rgba(255,250,244,.6); }
.table-panel th {
  background: linear-gradient(180deg, #fff8f0, #fff4e6);
  color: var(--gold);
  font-weight: 700;
}

/* --- 按钮升级 --- */
.primary-btn {
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(196, 30, 58, .25);
  transition: transform .18s, box-shadow .18s;
}
.primary-btn:hover { box-shadow: 0 10px 28px rgba(196, 30, 58, .35); }
.ghost-btn {
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 110, .30);
  color: var(--brand-dark);
  font-weight: 600;
}
.ghost-btn:hover { background: rgba(201, 169, 110, .08); border-color: var(--gold); }

/* --- 状态标签升级 --- */
.status-pill { font-weight: 700; letter-spacing: .02em; }

/* --- 自定义滚动条 --- */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: #fdf8f2; }
::-webkit-scrollbar-thumb { background: rgba(201, 169, 110, .40); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(201, 169, 110, .60); }

/* --- 水印颜色升级 --- */
.watermark-grid span { color: rgba(139, 26, 43, .36) !important; }
.page-watermark span { color: rgba(139, 26, 43, .28) !important; }

/* --- 截图卡片@media打印优化 --- */
@media print {
  .guest-card { box-shadow: none !important; border: 1px solid #ddd; }
  .watermark-grid { opacity: .35; }
  .shot-header { background: #f5f0eb !important; color: #333 !important; }
  .shot-header span { background: #e8e0d8 !important; }
  .shot-header strong { color: #333 !important; }
  .brand-slogan-strip { background: #f5f0eb !important; color: #333 !important; }
  .car-btn { display: none !important; }
  .qrcode-placeholder { display: none !important; }
}
/* =============================================
   UI15 — 截图卡 v2（左侧照片 + 右侧信息）
   红娘截图发给客户微信专用
   ============================================= */

.card-v2 {
  --card-radius: 14px;
  width: 640px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  border: 1px solid rgba(180, 35, 48, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(255, 246, 238, 0.94)),
    #fff8f2;
  box-shadow: 0 18px 46px rgba(91, 39, 35, 0.13);
  isolation: isolate;
  border-radius: var(--card-radius);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.card-v2 .watermark-grid {
  inset: -48px;
  grid-template-columns: repeat(5, minmax(100px, 1fr));
  gap: 28px 34px;
  opacity: 0.22;
}

.card-v2 .watermark-grid span {
  color: rgba(142, 61, 25, 0.50);
  font-size: 14px;
  font-weight: 800;
}

/* ----- 顶部品牌条 ----- */
.cv2-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: linear-gradient(135deg, #c41e3a, #a0182e);
  color: #fff;
  position: relative;
  z-index: 2;
}

.cv2-badge {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cv2-brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
}

/* ----- 主区域：左侧照片 + 右侧信息 ----- */
.cv2-main {
  display: flex;
  gap: 28px;
  padding: 28px 24px 20px;
  position: relative;
  z-index: 2;
}

/* 左侧照片 */
.cv2-photo {
  flex: 0 0 240px;
  position: relative;
  width: 240px;
  min-height: 320px;
  max-height: 400px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(180deg, #f9e3da, #eebfaf);
  border: 1px solid rgba(180, 35, 48, 0.20);
  box-shadow: 0 12px 28px rgba(139, 26, 43, 0.12);
}

.cv2-photo img {
  position: relative;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.cv2-photo img.active {
  display: block;
}

.cv2-photo-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.cv2-photo-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: all 0.2s;
}

.cv2-photo-dots .dot.active {
  background: #fff;
  box-shadow: 0 0 6px rgba(196, 30, 58, 0.4);
  width: 18px;
  border-radius: 4px;
}

/* 右侧信息区 */
.cv2-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 姓名 */
.cv2-name {
  margin: 0;
  font-size: 42px;
  font-weight: 900;
  color: #2d1015;
  line-height: 1.1;
  letter-spacing: 2px;
}

.cv2-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c9a96e;
  font-size: 14px;
  margin: 2px 0;
}

.cv2-divider::before,
.cv2-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9a96e, transparent);
}

/* 基础信息三行 */
.cv2-basics {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 2px 0;
}

.cv2-basic-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(201, 169, 110, 0.25);
}

.cv2-icon {
  font-size: 16px;
  flex: 0 0 auto;
}

.cv2-label {
  font-size: 13px;
  color: #9b7a6a;
  font-weight: 600;
  flex: 0 0 auto;
  min-width: 42px;
}

.cv2-value {
  font-size: 16px;
  color: #2f2020;
  font-weight: 600;
}

/* 三指标 */
.cv2-metrics {
  display: flex;
  gap: 10px;
  margin: 4px 0;
}

.cv2-metric {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  background: #fff8f4;
  border: 1px solid #efd9d0;
  border-radius: 10px;
  position: relative;
  overflow: visible;
}

.cv2-metric strong {
  display: block;
  font-size: 24px;
  color: #c41e3a;
  line-height: 1.1;
  font-weight: 800;
}

.cv2-metric span {
  display: block;
  margin-top: 3px;
  color: #6f5550;
  font-size: 12px;
  font-weight: 600;
}

.cv2-metric-deposit {
  background: linear-gradient(135deg, #fff8ef, #fff1e2) !important;
  border-color: rgba(201, 169, 110, 0.50) !important;
}

.cv2-shield {
  position: absolute;
  right: -8px;
  top: -12px;
  z-index: 4;
  width: 32px;
  height: 36px;
  background: linear-gradient(145deg, #fff1a7 0%, #d39b32 58%, #9f6b20 100%);
  border: 2px solid #fff9ee;
  border-radius: 10px 10px 13px 13px;
  clip-path: polygon(50% 0, 88% 13%, 81% 66%, 50% 100%, 19% 66%, 12% 13%);
  box-shadow: 0 6px 14px rgba(120, 76, 23, 0.30);
}

.cv2-shield::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 12px;
  width: 12px;
  height: 6px;
  border-left: 2.5px solid #8b1a2b;
  border-bottom: 2.5px solid #8b1a2b;
  transform: rotate(-45deg);
}

/* 隐私信息 */
.cv2-privacy {
  display: flex;
  gap: 20px;
  padding: 8px 12px;
  background: rgba(255, 246, 241, 0.50);
  border: 1px dashed rgba(201, 169, 110, 0.30);
  border-radius: 8px;
  margin-top: 2px;
}

.cv2-privacy-item {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.cv2-plabel {
  font-size: 12px;
  color: #9b7a6a;
  font-weight: 600;
  flex: 0 0 auto;
}

.cv2-pvalue {
  font-size: 14px;
  color: #5a3a35;
  font-weight: 500;
}

.cv2-privacy-item small {
  font-size: 11px;
  color: #c41e3a;
  font-weight: 700;
  background: rgba(196, 30, 58, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ----- 嘉宾介绍 ----- */
.cv2-section {
  position: relative;
  z-index: 2;
  padding: 0 24px 16px;
}

.cv2-section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.cv2-section-num {
  font-size: 18px;
  color: #c41e3a;
}

.cv2-section-head h2 {
  margin: 0;
  font-size: 20px;
  color: #2d1015;
  font-weight: 800;
}

.cv2-intro-text {
  margin: 0;
  color: #4a3a35;
  line-height: 1.9;
  font-size: 15px;
  padding: 14px 16px;
  background: rgba(255, 250, 246, 0.60);
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 110, 0.16);
}

/* ----- 四列网格（两行两列） ----- */
.cv2-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 24px 20px;
}

.cv2-grid-item {
  padding: 16px 18px;
  background: rgba(255, 251, 246, 0.70);
  border: 1px solid rgba(180, 35, 48, 0.14);
  border-left: 3px solid #c41e3a;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(91, 39, 35, 0.04);
}

.cv2-grid-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.cv2-grid-num {
  font-size: 13px;
  font-weight: 800;
  color: rgba(201, 169, 110, 0.50);
}

.cv2-grid-head h3 {
  margin: 0;
  font-size: 15px;
  color: #2d1015;
  font-weight: 700;
}

.cv2-grid-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #4a3a35;
}

/* ----- 底部标语 ----- */
.cv2-footer {
  position: relative;
  z-index: 2;
  padding: 14px 24px;
  background: linear-gradient(135deg, #c41e3a, #a0182e);
  color: #f5ecd7;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* =============================================
   UI15 — 分享页手机优化 v2
   客户手机端查看专用
   ============================================= */

/* 手机端重新布局分享页 */
.share-v2 .sv2-header {
  background: linear-gradient(135deg, #c41e3a, #a0182e);
  border-radius: 14px 14px 0 0;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.share-v2 .sv2-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.share-v2 .sv2-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.20);
}

/* 手机端主卡片 - 左头像右信息 */
.share-v2 .sv2-card {
  border-radius: 0 0 14px 14px;
  border-top: none;
  padding: 16px;
  background: #fffaf5;
  border: 1px solid rgba(201, 169, 110, 0.18);
  box-shadow: 0 10px 28px rgba(91, 39, 35, 0.06);
}

.share-v2 .sv2-profile {
  display: flex;
  gap: 14px;
  align-items: stretch;
}

.share-v2 .sv2-avatar {
  flex: 0 0 120px;
  width: 120px;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #f9e3da, #eebfaf);
  border: 1px solid rgba(180, 35, 48, 0.16);
  box-shadow: 0 6px 16px rgba(139, 26, 43, 0.10);
}

.share-v2 .sv2-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: none;
}

.share-v2 .sv2-avatar img.active {
  display: block;
}

.share-v2 .sv2-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.share-v2 .sv2-meta h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: #2d1015;
  line-height: 1.2;
}

.share-v2 .sv2-trust-row {
  display: flex;
  gap: 6px;
  margin: 4px 0;
}

.share-v2 .sv2-trust-item {
  flex: 1;
  padding: 6px 4px;
  text-align: center;
  background: #fff8f4;
  border: 1px solid #efd9d0;
  border-radius: 6px;
}

.share-v2 .sv2-trust-item b {
  display: block;
  font-size: 16px;
  color: #c41e3a;
  line-height: 1.1;
}

.share-v2 .sv2-trust-item span {
  display: block;
  font-size: 10px;
  color: #6f5550;
  margin-top: 1px;
}

.share-v2 .sv2-info-grid {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.share-v2 .sv2-info-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #3d2c2a;
  line-height: 1.6;
}

.share-v2 .sv2-info-row .sv2-ilabel {
  color: #9b7a6a;
  font-weight: 600;
  flex: 0 0 auto;
  min-width: 36px;
  font-size: 12px;
}

.share-v2 .sv2-info-row .sv2-ivalue {
  font-weight: 500;
}

/* 分享页 - 信息主体 */
.share-v2 .sv2-body {
  margin-top: 14px;
}

.share-v2 .sv2-body-section {
  padding: 14px 16px;
  background: #fffaf5;
  border: 1px solid rgba(201, 169, 110, 0.16);
  border-radius: 12px;
  margin-bottom: 10px;
}

.share-v2 .sv2-body-section h2 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #2d1015;
  display: flex;
  align-items: center;
  gap: 6px;
}

.share-v2 .sv2-body-section p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #4a3a35;
}

.share-v2 .sv2-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.share-v2 .sv2-grid-item {
  padding: 12px;
  background: #fffaf5;
  border: 1px solid rgba(180, 35, 48, 0.12);
  border-left: 3px solid #c41e3a;
  border-radius: 8px;
}

.share-v2 .sv2-grid-item h3 {
  margin: 0 0 4px;
  font-size: 13px;
  color: #2d1015;
  font-weight: 700;
}

.share-v2 .sv2-grid-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #4a3a35;
}

/* 分享页 - 联系红娘按钮 */
.share-v2 .sv2-cta {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 12px;
  background: linear-gradient(135deg, #c41e3a, #a0182e);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(196, 30, 58, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}

.share-v2 .sv2-cta:active {
  transform: scale(0.97);
  box-shadow: 0 3px 10px rgba(196, 30, 58, 0.18);
}

.share-v2 .sv2-footer {
  text-align: center;
  padding: 14px;
  background: linear-gradient(135deg, #c41e3a, #a0182e);
  border-radius: 14px;
  margin-top: 14px;
}

.share-v2 .sv2-footer span {
  color: #f5ecd7;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* 手机端页面水印调低密度 */
.share-v2 .page-watermark {
  opacity: 0.10 !important;
}

.share-v2 .page-watermark span {
  font-size: 10px !important;
}

/* =============================================
   UI15 — 列表页卡片化
   ============================================= */

.guest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.guest-grid-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(91, 39, 35, 0.05);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
  text-decoration: none;
  color: inherit;
}

.guest-grid-card:hover {
  box-shadow: 0 8px 24px rgba(91, 39, 35, 0.10);
  transform: translateY(-2px);
}

.guest-grid-card:active {
  transform: translateY(0);
}

.ggc-photo {
  flex: 0 0 80px;
  width: 80px;
  height: 104px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, #f9e3da, #eebfaf);
  border: 1px solid rgba(180, 35, 48, 0.12);
}

.ggc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.ggc-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 36px;
}

.ggc-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ggc-name {
  font-size: 18px;
  font-weight: 800;
  color: #2d1015;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ggc-age {
  font-size: 13px;
  color: #9b7a6a;
  font-weight: 600;
}

.ggc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.ggc-tag {
  font-size: 11px;
  padding: 2px 8px;
  background: #fff8f4;
  border: 1px solid #efd9d0;
  border-radius: 999px;
  color: #5a3a35;
  font-weight: 600;
}

.ggc-tag-gold {
  background: rgba(201, 169, 110, 0.12);
  border-color: rgba(201, 169, 110, 0.30);
  color: #8b6e3d;
}

.ggc-tag-red {
  background: rgba(196, 30, 58, 0.08);
  border-color: rgba(196, 30, 58, 0.16);
  color: #c41e3a;
}

.ggc-stats {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px dashed rgba(201, 169, 110, 0.20);
}

.ggc-stat {
  font-size: 11px;
  color: #6f5550;
  font-weight: 600;
}

.ggc-stat strong {
  color: #c41e3a;
  font-weight: 800;
}

.ggc-actions {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.ggc-actions a {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.ggc-action-view {
  background: #c41e3a;
  color: #fff;
}

.ggc-action-edit {
  background: #fff8f4;
  border: 1px solid #efd9d0;
  color: #5a3a35;
}

/* 适配暗色模式下也行 */
@media (prefers-color-scheme: dark) {
  .guest-grid-card { background: #1a1212; border-color: #2f2020; }
  .ggc-name { color: #f0e0d8; }
  .ggc-tag { background: #2a1a16; border-color: #3f2a24; color: #c0a8a0; }
  .ggc-stat { color: #a08880; }
}
/* =============================================
   UI15 — 截图卡 v2（左侧照片 + 右侧信息）
   红娘截图发给客户微信专用
   ============================================= */

.card-v2 {
  --card-radius: 14px;
  width: 640px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  border: 1px solid rgba(180, 35, 48, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(255, 246, 238, 0.94)),
    #fff8f2;
  box-shadow: 0 18px 46px rgba(91, 39, 35, 0.13);
  isolation: isolate;
  border-radius: var(--card-radius);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.card-v2 .watermark-grid {
  inset: -48px;
  grid-template-columns: repeat(5, minmax(100px, 1fr));
  gap: 28px 34px;
  opacity: 0.22;
}

.card-v2 .watermark-grid span {
  color: rgba(142, 61, 25, 0.50);
  font-size: 14px;
  font-weight: 800;
}

/* ----- 顶部品牌条 ----- */
.cv2-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: linear-gradient(135deg, #c41e3a, #a0182e);
  color: #fff;
  position: relative;
  z-index: 2;
}

.cv2-badge {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cv2-brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
}

/* ----- 主区域：左侧照片 + 右侧信息 ----- */
.cv2-main {
  display: flex;
  gap: 28px;
  padding: 28px 24px 20px;
  position: relative;
  z-index: 2;
}

/* 左侧照片 */
.cv2-photo {
  flex: 0 0 240px;
  position: relative;
  width: 240px;
  min-height: 320px;
  max-height: 400px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(180deg, #f9e3da, #eebfaf);
  border: 1px solid rgba(180, 35, 48, 0.20);
  box-shadow: 0 12px 28px rgba(139, 26, 43, 0.12);
}

.cv2-photo img {
  position: relative;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.cv2-photo img.active {
  display: block;
}

.cv2-photo-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.cv2-photo-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: all 0.2s;
}

.cv2-photo-dots .dot.active {
  background: #fff;
  box-shadow: 0 0 6px rgba(196, 30, 58, 0.4);
  width: 18px;
  border-radius: 4px;
}

/* 右侧信息区 */
.cv2-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 姓名 */
.cv2-name {
  margin: 0;
  font-size: 42px;
  font-weight: 900;
  color: #2d1015;
  line-height: 1.1;
  letter-spacing: 2px;
}

.cv2-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c9a96e;
  font-size: 14px;
  margin: 2px 0;
}

.cv2-divider::before,
.cv2-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9a96e, transparent);
}

/* 基础信息三行 */
.cv2-basics {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 2px 0;
}

.cv2-basic-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(201, 169, 110, 0.25);
}

.cv2-icon {
  font-size: 16px;
  flex: 0 0 auto;
}

.cv2-label {
  font-size: 13px;
  color: #9b7a6a;
  font-weight: 600;
  flex: 0 0 auto;
  min-width: 42px;
}

.cv2-value {
  font-size: 16px;
  color: #2f2020;
  font-weight: 600;
}

/* 三指标 */
.cv2-metrics {
  display: flex;
  gap: 10px;
  margin: 4px 0;
}

.cv2-metric {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  background: #fff8f4;
  border: 1px solid #efd9d0;
  border-radius: 10px;
  position: relative;
  overflow: visible;
}

.cv2-metric strong {
  display: block;
  font-size: 24px;
  color: #c41e3a;
  line-height: 1.1;
  font-weight: 800;
}

.cv2-metric span {
  display: block;
  margin-top: 3px;
  color: #6f5550;
  font-size: 12px;
  font-weight: 600;
}

.cv2-metric-deposit {
  background: linear-gradient(135deg, #fff8ef, #fff1e2) !important;
  border-color: rgba(201, 169, 110, 0.50) !important;
}

.cv2-shield {
  position: absolute;
  right: -8px;
  top: -12px;
  z-index: 4;
  width: 32px;
  height: 36px;
  background: linear-gradient(145deg, #fff1a7 0%, #d39b32 58%, #9f6b20 100%);
  border: 2px solid #fff9ee;
  border-radius: 10px 10px 13px 13px;
  clip-path: polygon(50% 0, 88% 13%, 81% 66%, 50% 100%, 19% 66%, 12% 13%);
  box-shadow: 0 6px 14px rgba(120, 76, 23, 0.30);
}

.cv2-shield::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 12px;
  width: 12px;
  height: 6px;
  border-left: 2.5px solid #8b1a2b;
  border-bottom: 2.5px solid #8b1a2b;
  transform: rotate(-45deg);
}

/* 隐私信息 */
.cv2-privacy {
  display: flex;
  gap: 20px;
  padding: 8px 12px;
  background: rgba(255, 246, 241, 0.50);
  border: 1px dashed rgba(201, 169, 110, 0.30);
  border-radius: 8px;
  margin-top: 2px;
}

.cv2-privacy-item {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.cv2-plabel {
  font-size: 12px;
  color: #9b7a6a;
  font-weight: 600;
  flex: 0 0 auto;
}

.cv2-pvalue {
  font-size: 14px;
  color: #5a3a35;
  font-weight: 500;
}

.cv2-privacy-item small {
  font-size: 11px;
  color: #c41e3a;
  font-weight: 700;
  background: rgba(196, 30, 58, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ----- 嘉宾介绍 ----- */
.cv2-section {
  position: relative;
  z-index: 2;
  padding: 0 24px 16px;
}

.cv2-section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.cv2-section-num {
  font-size: 18px;
  color: #c41e3a;
}

.cv2-section-head h2 {
  margin: 0;
  font-size: 20px;
  color: #2d1015;
  font-weight: 800;
}

.cv2-intro-text {
  margin: 0;
  color: #4a3a35;
  line-height: 1.9;
  font-size: 15px;
  padding: 14px 16px;
  background: rgba(255, 250, 246, 0.60);
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 110, 0.16);
}

/* ----- 四列网格（两行两列） ----- */
.cv2-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 24px 20px;
}

.cv2-grid-item {
  padding: 16px 18px;
  background: rgba(255, 251, 246, 0.70);
  border: 1px solid rgba(180, 35, 48, 0.14);
  border-left: 3px solid #c41e3a;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(91, 39, 35, 0.04);
}

.cv2-grid-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.cv2-grid-num {
  font-size: 13px;
  font-weight: 800;
  color: rgba(201, 169, 110, 0.50);
}

.cv2-grid-head h3 {
  margin: 0;
  font-size: 15px;
  color: #2d1015;
  font-weight: 700;
}

.cv2-grid-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #4a3a35;
}

/* ----- 底部标语 ----- */
.cv2-footer {
  position: relative;
  z-index: 2;
  padding: 14px 24px;
  background: linear-gradient(135deg, #c41e3a, #a0182e);
  color: #f5ecd7;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* =============================================
   UI15 — 分享页手机优化 v2
   客户手机端查看专用
   ============================================= */

/* 手机端重新布局分享页 */
.share-v2 .sv2-header {
  background: linear-gradient(135deg, #c41e3a, #a0182e);
  border-radius: 14px 14px 0 0;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.share-v2 .sv2-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.share-v2 .sv2-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.20);
}

/* 手机端主卡片 - 左头像右信息 */
.share-v2 .sv2-card {
  border-radius: 0 0 14px 14px;
  border-top: none;
  padding: 16px;
  background: #fffaf5;
  border: 1px solid rgba(201, 169, 110, 0.18);
  box-shadow: 0 10px 28px rgba(91, 39, 35, 0.06);
}

.share-v2 .sv2-profile {
  display: flex;
  gap: 14px;
  align-items: stretch;
}

.share-v2 .sv2-avatar {
  flex: 0 0 120px;
  width: 120px;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #f9e3da, #eebfaf);
  border: 1px solid rgba(180, 35, 48, 0.16);
  box-shadow: 0 6px 16px rgba(139, 26, 43, 0.10);
}

.share-v2 .sv2-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: none;
}

.share-v2 .sv2-avatar img.active {
  display: block;
}

.share-v2 .sv2-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.share-v2 .sv2-meta h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: #2d1015;
  line-height: 1.2;
}

.share-v2 .sv2-trust-row {
  display: flex;
  gap: 6px;
  margin: 4px 0;
}

.share-v2 .sv2-trust-item {
  flex: 1;
  padding: 6px 4px;
  text-align: center;
  background: #fff8f4;
  border: 1px solid #efd9d0;
  border-radius: 6px;
}

.share-v2 .sv2-trust-item b {
  display: block;
  font-size: 16px;
  color: #c41e3a;
  line-height: 1.1;
}

.share-v2 .sv2-trust-item span {
  display: block;
  font-size: 10px;
  color: #6f5550;
  margin-top: 1px;
}

.share-v2 .sv2-info-grid {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.share-v2 .sv2-info-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #3d2c2a;
  line-height: 1.6;
}

.share-v2 .sv2-info-row .sv2-ilabel {
  color: #9b7a6a;
  font-weight: 600;
  flex: 0 0 auto;
  min-width: 36px;
  font-size: 12px;
}

.share-v2 .sv2-info-row .sv2-ivalue {
  font-weight: 500;
}

/* 分享页 - 信息主体 */
.share-v2 .sv2-body {
  margin-top: 14px;
}

.share-v2 .sv2-body-section {
  padding: 14px 16px;
  background: #fffaf5;
  border: 1px solid rgba(201, 169, 110, 0.16);
  border-radius: 12px;
  margin-bottom: 10px;
}

.share-v2 .sv2-body-section h2 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #2d1015;
  display: flex;
  align-items: center;
  gap: 6px;
}

.share-v2 .sv2-body-section p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #4a3a35;
}

.share-v2 .sv2-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.share-v2 .sv2-grid-item {
  padding: 12px;
  background: #fffaf5;
  border: 1px solid rgba(180, 35, 48, 0.12);
  border-left: 3px solid #c41e3a;
  border-radius: 8px;
}

.share-v2 .sv2-grid-item h3 {
  margin: 0 0 4px;
  font-size: 13px;
  color: #2d1015;
  font-weight: 700;
}

.share-v2 .sv2-grid-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #4a3a35;
}

/* 分享页 - 联系红娘按钮 */
.share-v2 .sv2-cta {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 12px;
  background: linear-gradient(135deg, #c41e3a, #a0182e);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(196, 30, 58, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}

.share-v2 .sv2-cta:active {
  transform: scale(0.97);
  box-shadow: 0 3px 10px rgba(196, 30, 58, 0.18);
}

.share-v2 .sv2-footer {
  text-align: center;
  padding: 14px;
  background: linear-gradient(135deg, #c41e3a, #a0182e);
  border-radius: 14px;
  margin-top: 14px;
}

.share-v2 .sv2-footer span {
  color: #f5ecd7;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* 手机端页面水印调低密度 */
.share-v2 .page-watermark {
  opacity: 0.10 !important;
}

.share-v2 .page-watermark span {
  font-size: 10px !important;
}

/* =============================================
   UI15 — 列表页卡片化
   ============================================= */

.guest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.guest-grid-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(91, 39, 35, 0.05);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
  text-decoration: none;
  color: inherit;
}

.guest-grid-card:hover {
  box-shadow: 0 8px 24px rgba(91, 39, 35, 0.10);
  transform: translateY(-2px);
}

.guest-grid-card:active {
  transform: translateY(0);
}

.ggc-photo {
  flex: 0 0 80px;
  width: 80px;
  height: 104px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, #f9e3da, #eebfaf);
  border: 1px solid rgba(180, 35, 48, 0.12);
}

.ggc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.ggc-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 36px;
}

.ggc-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ggc-name {
  font-size: 18px;
  font-weight: 800;
  color: #2d1015;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ggc-age {
  font-size: 13px;
  color: #9b7a6a;
  font-weight: 600;
}

.ggc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.ggc-tag {
  font-size: 11px;
  padding: 2px 8px;
  background: #fff8f4;
  border: 1px solid #efd9d0;
  border-radius: 999px;
  color: #5a3a35;
  font-weight: 600;
}

.ggc-tag-gold {
  background: rgba(201, 169, 110, 0.12);
  border-color: rgba(201, 169, 110, 0.30);
  color: #8b6e3d;
}

.ggc-tag-red {
  background: rgba(196, 30, 58, 0.08);
  border-color: rgba(196, 30, 58, 0.16);
  color: #c41e3a;
}

.ggc-stats {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px dashed rgba(201, 169, 110, 0.20);
}

.ggc-stat {
  font-size: 11px;
  color: #6f5550;
  font-weight: 600;
}

.ggc-stat strong {
  color: #c41e3a;
  font-weight: 800;
}

.ggc-actions {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.ggc-actions a {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.ggc-action-view {
  background: #c41e3a;
  color: #fff;
}

.ggc-action-edit {
  background: #fff8f4;
  border: 1px solid #efd9d0;
  color: #5a3a35;
}

/* 适配暗色模式下也行 */
@media (prefers-color-scheme: dark) {
  .guest-grid-card { background: #1a1212; border-color: #2f2020; }
  .ggc-name { color: #f0e0d8; }
  .ggc-tag { background: #2a1a16; border-color: #3f2a24; color: #c0a8a0; }
  .ggc-stat { color: #a08880; }
}

/* --- 新式嘉宾卡片网格 --- */
/* --- 新式嘉宾卡片网格（长方形左图右文） --- */
.guest-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 6px 0 20px;
}
@media (max-width: 1200px) {
  .guest-grid-new { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .guest-grid-new { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .guest-grid-new { grid-template-columns: 1fr; }
}
.gg-card {
  display: flex;
  flex-direction: row;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(201,169,110,.18);
  box-shadow: 0 2px 12px rgba(139,26,43,.04);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform .15s, box-shadow .2s;
  min-height: 100px;
}
.gg-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(139,26,43,.1);
  border-color: rgba(201,169,110,.35);
}
.gg-photo-wrap {
  width: 110px;
  min-width: 110px;
  height: 100px;
  overflow: hidden;
  background: #f5f0eb;
  flex-shrink: 0;
}
.gg-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gg-photo-placeholder-full {
  display: flex;
  align-items: center;
  justify-content: center;
}
.gg-no-photo-icon {
  font-size: 36px;
  opacity: .25;
}
.gg-body {
  padding: 10px 14px 10px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  min-width: 0;
}
.gg-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.gg-name {
  font-size: 16px;
  font-weight: 800;
  color: #2f2020;
  white-space: nowrap;
}
.gg-age {
  font-size: 13px;
  color: #8b1a2b;
  font-weight: 700;
  background: rgba(196,30,58,.06);
  padding: 0 8px;
  border-radius: 999px;
  line-height: 20px;
  white-space: nowrap;
}
.gg-region-tag {
  font-size: 11px;
  color: #8b1a2b;
  background: rgba(201,169,110,.12);
  padding: 0 6px;
  border-radius: 4px;
  line-height: 20px;
  white-space: nowrap;
  margin-left: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90px;
}
.gg-intro {
  font-size: 12px;
  color: #6b5b5b;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 2px;
}


/* --- AI 智能生成按钮 --- */
.ai-gen-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid rgba(201,169,110,.3);
  background: linear-gradient(135deg, #fff8f0, #fff0e0);
  color: #8b1a2b;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  margin-right: 8px;
}
.ai-gen-btn:hover {
  background: linear-gradient(135deg, #fff0e0, #ffe8d0);
  border-color: #c9a96e;
  box-shadow: 0 2px 8px rgba(201,169,110,.2);
}
.ai-gen-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* --- AI 加载动画 --- */
.ai-loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 999;
  backdrop-filter: blur(3px);
}
.ai-loading-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  background: #fff;
  border-radius: 20px;
  padding: 40px 50px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  border: 1px solid rgba(201,169,110,.2);
  min-width: 320px;
}
.ai-spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border: 4px solid rgba(201,169,110,.15);
  border-top-color: #c9a96e;
  border-radius: 50%;
  animation: ai-spin .8s linear infinite;
}
@keyframes ai-spin {
  to { transform: rotate(360deg); }
}
.ai-loading-text {
  font-size: 18px;
  font-weight: 800;
  color: #2f2020;
  margin-bottom: 6px;
}
.ai-loading-sub {
  font-size: 13px;
  color: #8b7a6a;
}

/* --- 顶部操作栏 --- */
.page-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- 介绍内容双列网格 --- */
.textarea-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.textarea-grid .full { grid-column: 1 / -1; }
.textarea-grid label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.textarea-grid label textarea {
  min-height: 100px;
  width: 100%;
  box-sizing: border-box;
}

/* --- AI生成内容文本域加高 --- */
.form-panel textarea {
  min-height: 100px;
}
.form-panel textarea[name="economic_status"],
.form-panel textarea[name="marriage_history"],
.form-panel textarea[name="partner_requirements"] {
  min-height: 130px;
}

/* --- 女嘉宾详情·匹配度条（强制一行） --- */
.shot-facts .match-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  width: 100%;
  padding: 5px 10px;
  margin: 14px 0 4px;
  background: linear-gradient(135deg, rgba(220,40,40,.06), rgba(201,169,110,.08));
  border: 1px solid rgba(201,169,110,.25);
  border-radius: 6px;
  overflow: hidden;
  box-sizing: border-box;
}
.mb-label {
  color: #444;
  font-size: 17px;
  font-weight: 700;
  flex-shrink: 0;
}
.mb-rate {
  color: #c0392b;
  font-size: 25px;
  font-weight: 900;
  flex-shrink: 0;
}
.mb-have {
  color: #777;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.mb-num {
  color: #b8860b;
  font-size: 32px;
  font-weight: 900;
  flex-shrink: 0;
  line-height: 1;
}
.mb-num-unit {
  color: #b8860b;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.mb-unit {
  color: #444;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

/* --- 后台设置与自适应布局（2026-08-27） --- */
.admin-body {
  overflow-x: hidden;
}

.mobile-admin-bar,
.sidebar-backdrop,
.sidebar-close {
  display: none;
}

.settings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 2px solid #f0e8e4;
}

.settings-tab {
  margin-bottom: -2px;
  padding: 10px 18px;
  border: 2px solid transparent;
  border-radius: 8px 8px 0 0;
  color: #766563;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.settings-tab:hover {
  color: var(--brand);
  background: rgba(255, 255, 255, .65);
}

.settings-tab.active {
  border-color: #f0e8e4;
  border-bottom-color: #fff;
  background: #fff;
  color: var(--brand);
}

.settings-card {
  padding: 24px;
  border: 1px solid #f0e8e4;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.settings-card-narrow {
  max-width: 720px;
}

.settings-card-compact {
  max-width: 460px;
}

.settings-form {
  display: grid;
  gap: 16px;
}

.settings-field {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.settings-field > span {
  color: #554644;
  font-size: 13px;
  font-weight: 700;
}

.settings-field input,
.settings-field textarea,
.settings-field select {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 2px solid #eee5e1;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
  font: inherit;
}

.settings-field input:focus,
.settings-field textarea:focus,
.settings-field select:focus {
  outline: none;
  border-color: #c9a96e;
  box-shadow: 0 0 0 3px rgba(201, 169, 110, .14);
}

.settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.settings-key-status {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 6px;
  background: #fff4ea;
  color: #99541d;
  font-size: 12px;
  font-weight: 700;
}

.settings-key-status.configured {
  background: #edf8ef;
  color: #31713b;
}

.accounts-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.accounts-heading h2,
.new-account-panel h3 {
  margin: 0;
  color: #3d2d2d;
  font-size: 17px;
}

.new-account-panel {
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid #efd9d0;
  border-radius: 8px;
  background: #fff9f5;
}

.new-account-panel h3 {
  margin-bottom: 14px;
}

.new-account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(130px, .45fr);
  gap: 12px;
  align-items: end;
}

.inline-actions {
  margin-top: 14px;
}

.account-list {
  display: grid;
  gap: 8px;
}

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

.account-row.current {
  background: #fffaf7;
}

.account-identity,
.account-actions {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.account-identity > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.account-identity strong {
  overflow-wrap: anywhere;
}

.account-identity small,
.account-identity time {
  color: #948684;
  font-size: 11px;
}

.account-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  background: #f2ddd4;
  color: #7f3540;
  font-size: 13px;
  font-weight: 800;
}

.account-actions form {
  margin: 0;
}

.account-actions select {
  padding: 6px 8px;
  border: 1px solid #e0d6d0;
  border-radius: 6px;
  background: #fff;
}

.role-badge {
  padding: 5px 11px;
  border-radius: 999px;
  background: #eaf6ed;
  color: #31713b;
  font-size: 12px;
  font-weight: 700;
}

.icon-button {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.danger-icon {
  color: #a74646;
}

.danger-icon:hover {
  background: #fff0ef;
}

@media (max-width: 1280px) {
  .field-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filter-bar {
    grid-template-columns: minmax(180px, 1fr) minmax(110px, .55fr) minmax(110px, .55fr);
  }

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

@media (max-width: 980px) {
  .admin-body {
    display: block;
    min-height: 100vh;
    padding-top: 58px;
  }

  .mobile-admin-bar {
    position: fixed;
    z-index: 1100;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    height: 58px;
    padding: 0 16px;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #eadbd5;
    background: rgba(255, 252, 249, .97);
    box-sizing: border-box;
    box-shadow: 0 4px 18px rgba(73, 35, 34, .08);
  }

  .mobile-menu-toggle,
  .sidebar-close {
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    line-height: 1;
  }

  .mobile-menu-toggle {
    background: #f4e9e3;
    color: #5a252d;
    font-size: 23px;
  }

  .mobile-brand {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    color: var(--brand-dark);
  }

  .mobile-brand .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }

  .mobile-brand strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sidebar {
    position: fixed;
    z-index: 1200;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(284px, 86vw);
    height: 100dvh;
    padding: 22px 18px;
    overflow-y: auto;
    box-sizing: border-box;
    transform: translateX(-105%);
    transition: transform .22s ease;
    box-shadow: 18px 0 50px rgba(24, 9, 12, .26);
  }

  .sidebar-close {
    position: absolute;
    top: 14px;
    right: 12px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 27px;
  }

  .sidebar .brand {
    padding-right: 42px;
  }

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

  .sidebar-backdrop {
    position: fixed;
    z-index: 1150;
    inset: 0;
    display: block;
    border: 0;
    background: rgba(23, 10, 13, .45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
  }

  .admin-body.nav-open {
    overflow: hidden;
  }

  .admin-body.nav-open .sidebar {
    transform: translateX(0);
  }

  .admin-body.nav-open .sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .admin-main {
    width: 100%;
    padding: 22px 18px 30px;
    box-sizing: border-box;
  }

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

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

  .filter-bar input:first-child {
    grid-column: 1 / -1;
  }

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

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

  .new-account-grid .settings-field:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .admin-main {
    padding: 16px 12px 26px;
  }

  .page-head {
    gap: 12px;
    margin-bottom: 18px;
  }

  .page-head h1 {
    font-size: 28px;
  }

  .page-head-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .page-head-actions .ai-gen-btn {
    margin-right: 0;
  }

  .page-head-actions > * {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
  }

  .field-grid,
  .textarea-grid,
  .filter-bar,
  .guest-grid-new,
  .new-account-grid {
    grid-template-columns: 1fr;
  }

  .filter-bar input:first-child,
  .new-account-grid .settings-field:last-child {
    grid-column: auto;
  }

  .form-panel,
  .settings-card,
  .new-account-panel {
    padding: 16px;
  }

  .settings-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    border-bottom: 0;
  }

  .settings-tab,
  .settings-tab.active {
    margin: 0;
    padding: 10px 8px;
    border: 1px solid #eadfd9;
    border-radius: 7px;
    text-align: center;
  }

  .settings-tab.active {
    border-color: #c9a96e;
  }

  .accounts-heading,
  .account-row {
    align-items: stretch;
    flex-direction: column;
  }

  .accounts-heading .primary-btn {
    width: 100%;
    text-align: center;
  }

  .account-actions {
    justify-content: flex-end;
  }

  .gg-card {
    min-width: 0;
  }

  .gg-name-row {
    flex-wrap: wrap;
  }

  .gg-region-tag {
    max-width: 100%;
    margin-left: 0;
  }

  .ai-loading-box {
    width: calc(100vw - 32px);
    min-width: 0;
    padding: 28px 20px;
    box-sizing: border-box;
  }
}

@media (max-width: 390px) {
  .gg-photo-wrap {
    width: 96px;
    min-width: 96px;
  }

  .gg-body {
    padding-right: 10px;
  }

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

/* --- 后台嘉宾详情页自适应（2026-08-27） --- */
.detail-layout,
.detail-layout > * {
  min-width: 0;
}

.detail-layout {
  grid-template-columns: minmax(0, 900px) minmax(0, 1fr);
}

.detail-layout > .guest-card,
.detail-tools-panel {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 1600px) {
  .detail-layout {
    grid-template-columns: minmax(0, 900px);
    justify-content: center;
  }

  .detail-tools-panel {
    width: min(900px, 100%);
    justify-self: center;
  }
}

@media (max-width: 980px) {
  .detail-layout {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
  }

  .share-snapshot-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .share-snapshot-meta > div,
  .share-snapshot-meta input {
    min-width: 0;
  }

  .admin-preview-card .shot-layout,
  .admin-preview-card .shot-more {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-preview-card .shot-photo {
    width: min(100%, 420px);
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .detail-layout > .admin-preview-card {
    padding: 14px 16px 18px !important;
  }

  .admin-preview-card .shot-layout {
    gap: 14px;
  }

  .admin-preview-card .shot-info {
    padding-top: 0 !important;
  }

  .admin-preview-card .shot-trust {
    gap: 6px;
  }

  .admin-preview-card .shot-trust div {
    padding: 9px 3px;
  }

  .admin-preview-card .shot-trust b {
    font-size: 18px;
    overflow-wrap: anywhere;
  }

  .admin-preview-card .shot-facts div {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 8px;
  }

  .admin-preview-card .shot-facts .match-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 6px;
    white-space: normal;
  }

  .admin-preview-card .match-bar .mb-label {
    font-size: 14px;
  }

  .admin-preview-card .match-bar .mb-rate {
    font-size: 22px;
  }

  .admin-preview-card .match-bar .mb-have,
  .admin-preview-card .match-bar .mb-unit {
    font-size: 13px;
  }

  .admin-preview-card .match-bar .mb-num {
    font-size: 26px;
  }

  .admin-preview-card .match-bar .mb-num-unit {
    font-size: 14px;
  }

  .admin-preview-card .shot-more section {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .detail-tools-panel .side-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-tools-panel .share-mini-table {
    overflow-x: auto;
  }
}
