:root {
  --navy: #1b3a5c;
  --navy-soft: #2a4d73;
  --navy-deep: #163049;
  --accent: #f56c8d;
  --accent-deep: #e4577a;
  --accent-soft: #fff0f4;
  --ink: #2c3340;
  --body: #515a66;
  --muted: #6b7380;
  --line: #ece7ea;
  --card: #ffffff;
  --bg: #fffbfc;
  --shadow: 0 10px 28px rgba(27, 58, 92, 0.08);
  --shadow-hover: 0 14px 36px rgba(27, 58, 92, 0.12);
  --radius-card: 16px;
  --radius-cta: 8px;
  --header-h: 72px;
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-display: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }

.page-bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 50% at 10% -10%, rgba(245, 108, 141, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 45% at 95% 15%, rgba(27, 58, 92, 0.07), transparent 50%),
    linear-gradient(180deg, #fff8fa 0%, #ffffff 42%, #f7fafc 100%);
}

.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; overflow-x: hidden; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(230, 233, 239, 0.9);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff 0 18%, transparent 19%),
    linear-gradient(135deg, var(--accent) 0%, #ff9bb3 55%, var(--navy) 130%);
  box-shadow: 0 4px 12px rgba(245, 108, 141, 0.28);
}
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.08em; color: var(--navy); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 0.92rem; font-weight: 500; color: var(--muted); transition: color 0.25s ease; }
.nav a:hover { color: var(--navy); }
.nav-cta {
  padding: 0.55rem 1.1rem; border-radius: var(--radius-cta);
  background: var(--accent-soft); color: var(--accent) !important; font-weight: 600;
}
.nav-cta:hover { background: #fbe0e8; }
.menu-toggle { display: none; width: 40px; height: 40px; place-items: center; gap: 6px; flex-direction: column; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 1.7rem; border-radius: var(--radius-cta);
  font-weight: 700; letter-spacing: 0.04em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-primary {
  background: linear-gradient(180deg, #ff8da6 0%, var(--accent) 100%); color: #fff;
  box-shadow: 0 6px 16px rgba(245, 108, 141, 0.18);
}
.btn-primary:hover { transform: translateY(-2px); background: linear-gradient(180deg, #ff9bb3 0%, var(--accent-deep) 100%); box-shadow: 0 10px 22px rgba(245, 108, 141, 0.25); }
.btn-outline {
  background: #fff; color: var(--accent); border: 1px solid var(--accent);
  min-height: 52px;
}
.btn-outline:hover { background: var(--accent-soft); }
.btn-navy {
  width: 100%; min-height: 42px; border-radius: var(--radius-cta);
  background: var(--navy); color: #fff; font-size: 0.86rem; font-weight: 600;
}
.btn-navy:hover { background: var(--navy-soft); transform: translateY(-1px); }

/* ===== Hero ===== */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { opacity: 0; transform: translateY(18px); animation: rise-in 0.9s ease forwards 0.1s; }
.hero-brand {
  margin: 0 0 12px; font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: 0.14em;
  color: var(--navy); line-height: 1;
}
.hero-brand::after {
  content: ""; display: block; width: 42px; height: 3px; margin-top: 12px; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(245, 108, 141, 0.2));
}
.hero-title { margin: 0 0 22px; font-family: var(--font-display); font-weight: 700; line-height: 1.25; letter-spacing: 0.04em; }
.hero-title span { display: block; }
.title-accent { font-size: clamp(1.45rem, 2.8vw, 1.95rem); color: var(--accent); }
.title-main { font-size: clamp(1.7rem, 3.4vw, 2.45rem); color: var(--navy); }
.hero-lead { margin: 0 0 28px; max-width: 34em; color: var(--body); font-size: 1rem; line-height: 1.85; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero-btns-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-btns-row .btn-outline {
  background: #fff; color: var(--navy); border: 1.5px solid var(--line);
  min-height: 52px; padding: 0 28px; font-weight: 600;
}
.hero-btns-row .btn-outline:hover { border-color: var(--navy); background: #f8f9fb; }
.hero-note { margin: 0; font-size: 0.8rem; color: var(--muted); }
.hero-visual {
  margin: 0; opacity: 0; transform: translateY(22px) scale(0.985); animation: rise-in 1s ease forwards 0.28s;
  border-radius: 20px; overflow: hidden; box-shadow: 0 24px 48px rgba(27, 58, 92, 0.12);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* ===== Region ===== */
.region { padding: 8px 0 20px; }
.region-panel { padding: clamp(28px, 4vw, 40px); border-radius: var(--radius-card); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.region-intro { margin-bottom: 28px; overflow: hidden; }
.region-intro .section-lead { word-break: break-all; }
.region-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.nearby-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; color: var(--accent); letter-spacing: 0.06em; margin-bottom: 6px; }
.region-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; align-items: end; margin-bottom: 28px; }
.region-step { display: grid; gap: 8px; }
.region-label { font-size: 0.82rem; font-weight: 600; color: var(--navy); letter-spacing: 0.04em; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.select-wrap select {
  width: 100%; appearance: none; -webkit-appearance: none; min-height: 52px; padding: 0 42px 0 16px;
  border: 1px solid #dfe3ea; border-radius: var(--radius-cta); background: #fff; color: var(--navy);
  font-family: var(--font-sans); font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.select-wrap select:hover, .select-wrap select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245, 108, 141, 0.12); }
.region-result {
  padding: clamp(22px, 3vw, 30px); border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgba(245, 108, 141, 0.06), rgba(27, 58, 92, 0.04)), #fff;
  border: 1px solid #f3d7df; text-align: center;
}
.result-place { margin: 0 0 6px; font-size: 1rem; color: var(--ink); font-weight: 500; }
.result-count { margin: 0 0 4px; font-family: var(--font-display); color: var(--navy); line-height: 1.2; }
.count-number { display: inline-block; font-size: clamp(2.4rem, 6vw, 3.4rem); font-weight: 700; color: var(--accent); letter-spacing: 0.02em; min-width: 4.5ch; transition: opacity 0.25s ease, transform 0.25s ease; }
.count-unit { margin-left: 6px; font-size: clamp(1.05rem, 2.4vw, 1.25rem); font-weight: 700; color: var(--navy); }
.result-message { margin: 0 0 20px; font-size: 1rem; color: var(--ink); font-weight: 500; }
.result-cta { min-width: 220px; }
.region-result.is-updating .count-number { opacity: 0.45; transform: translateY(4px); }

/* ===== About ===== */
.about { padding: 28px 0 12px; }
.about-inner { padding: 28px 32px; border-radius: var(--radius-card); background: rgba(255, 255, 255, 0.72); border: 1px solid var(--line); }
.about-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.about-points li { display: grid; gap: 8px; padding: 4px 30px; }
.about-points li + li { border-left: 1px solid var(--line); }
.point-label { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.08rem; letter-spacing: 0.02em; }
.point-label::before { content: ""; display: block; width: 30px; height: 2px; margin-bottom: 12px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), rgba(245,108,141,0.25)); }
.point-text { font-size: 0.92rem; color: var(--muted); line-height: 1.75; }

/* ===== Section common ===== */
.section-title { margin: 0 0 10px; font-family: var(--font-display); font-size: clamp(1.55rem, 3vw, 2rem); font-weight: 700; color: var(--navy); letter-spacing: 0.04em; }
.section-lead { margin: 0; max-width: 36em; color: var(--muted); font-size: 0.95rem; }

/* ===== Nearby members ===== */
.nearby { padding: clamp(48px, 7vw, 88px) 0 64px; }
.nearby-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; padding: 0.55rem 0.95rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-size: 0.86rem; font-weight: 600; white-space: nowrap; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ecf8e; box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.55); animation: pulse-dot 1.8s ease infinite; }
.member-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.member-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 0 0 16px; text-align: center; overflow: hidden; transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease; opacity: 0; transform: translateY(16px); position: relative; }
.online-badge { position: absolute; left: 12px; top: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 0.3rem 0.75rem; border-radius: 999px; background: #fff; color: var(--accent); font-size: 0.72rem; font-weight: 700; box-shadow: 0 4px 12px rgba(27, 58, 92, 0.08); }
.member-card.is-visible { opacity: 1; transform: translateY(0); }
.member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #f3d4dc; }
.avatar-wrap { position: relative; width: 100%; aspect-ratio: 3 / 4; margin: 0 0 14px; overflow: hidden; background: #eef1f5; }
.avatar-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.member-card:hover .avatar-wrap img { transform: scale(1.03); }
.status-pill { position: absolute; left: 10px; top: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 0.28rem 0.7rem; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--accent-deep); font-size: 0.72rem; font-weight: 600; backdrop-filter: blur(6px); box-shadow: 0 4px 12px rgba(27, 58, 92, 0.08); }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill.is-recent { color: var(--navy-soft); }
/* 在线状态：绿色圆点 + 无圆角胶囊 */
.status-pill[data-status="online"] {
  background: rgba(62, 207, 142, 0.12);
  color: #2a9d5e;
  border: 1px solid rgba(62, 207, 142, 0.25);
}
.status-pill[data-status="online"]::before {
  background: #3ecf8e;
  box-shadow: 0 0 6px rgba(62, 207, 142, 0.5);
}
.member-body { padding: 0 14px; }
.member-name { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--navy); letter-spacing: 0.04em; }
.member-meta { margin: 0 0 14px; font-size: 0.82rem; color: var(--muted); }
.member-meta span + span::before { content: "·"; margin: 0 0.35em; color: #c4c0c4; }

/* ===== Video section ===== */
.video-section { padding: clamp(40px, 6vw, 72px) 0 64px; }
.main-video-box {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-card);
  overflow: hidden; background: #0e1726; box-shadow: var(--shadow); margin-bottom: 36px;
}
.main-video-box img, .main-video-box video { width: 100%; height: 100%; object-fit: cover; }
.play-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(14, 23, 38, 0.35); cursor: pointer; }
.play-btn-circle {
  width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); position: relative; transition: transform 0.2s ease;
}
.play-btn-circle::after { content: ""; position: absolute; left: 28px; top: 22px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--navy); }
.play-overlay:hover .play-btn-circle { transform: scale(1.08); }
.author-badge { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(14, 23, 38, 0.6); color: #fff; font-size: 0.8rem; backdrop-filter: blur(6px); }
.author-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ecf8e; }
.author-badge .name { font-weight: 600; }
.author-badge .meta { color: #cfd6e2; }

.video-sub-header { margin-bottom: 20px; }
.section-header { display: flex; align-items: center; justify-content: space-between; }
.sh-tag { display: inline-block; font-size: 0.74rem; font-weight: 700; color: #fff; background: var(--accent); padding: 3px 10px; border-radius: 999px; margin-right: 8px; }
.refresh-btn { border: 1px solid var(--line); background: #fff; border-radius: var(--radius-cta); padding: 8px 14px; font-size: 0.84rem; font-weight: 600; color: var(--navy); }
.refresh-btn:hover { border-color: var(--accent); color: var(--accent); }

.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.vcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; cursor: pointer; transition: transform 0.28s ease, box-shadow 0.28s ease; }
.vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.vcard-thumb { position: relative; width: 100%; aspect-ratio: 9 / 13; background: #0e1726; overflow: hidden; }
.vcard-thumb img, .vcard-thumb video { width: 100%; height: 100%; object-fit: cover; }
.vcard-thumb .dur { position: absolute; right: 8px; bottom: 8px; background: rgba(14, 23, 38, 0.8); color: #fff; font-size: 0.72rem; padding: 2px 8px; border-radius: 999px; }
.vcard-info { padding: 10px 12px 14px; }
.vcard-title { font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.vcard-meta { display: flex; gap: 12px; margin-top: 6px; font-size: 0.78rem; color: var(--muted); }
.vm-ic { display: inline-flex; align-items: center; gap: 4px; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 28px 0 36px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-brand p { margin: 4px 0 0; font-size: 0.82rem; color: var(--muted); }
.footer-copy { margin: 0; font-size: 0.78rem; color: #9aa1ab; }

/* ===== Preview flag ===== */
.preview-flag { position: fixed; top: 80px; left: 50%; transform: translateX(-50%) translateY(-20px); z-index: 200; background: var(--accent); color: #fff; font-size: 0.78rem; padding: 6px 14px; border-radius: 999px; opacity: 0; transition: opacity 0.3s, transform 0.3s; pointer-events: none; }
.preview-flag.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== Video modal ===== */
.vmodal-mask { position: fixed; inset: 0; z-index: 300; background: rgba(8, 14, 26, 0.82); display: none; align-items: center; justify-content: center; padding: 20px; }
.vmodal-mask.open { display: flex; }
.vmodal { position: relative; width: min(880px, 100%); background: #000; border-radius: 12px; overflow: hidden; }
.vmodal video { width: 100%; display: block; max-height: 80vh; }
.vmodal-close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: #111; font-size: 16px; }

/* ===== Animations ===== */
@keyframes rise-in { to { opacity: 1; transform: none; } }
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.5); } 70% { box-shadow: 0 0 0 8px rgba(62, 207, 142, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 207, 142, 0); } }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .member-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-points { grid-template-columns: 1fr; }
  .about-points li { padding: 20px 4px; }
  .about-points li + li { border-left: none; border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .region-selector { grid-template-columns: 1fr; gap: 12px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img { aspect-ratio: 16 / 11; }
  .nearby-header { flex-direction: column; align-items: flex-start; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 18px; background: rgba(255, 255, 255, 0.98); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 4px; }
  .menu-toggle { display: inline-flex; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .container { width: min(1120px, calc(100% - 28px)); }
  .member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .member-card { padding: 0 0 12px; }
  .about-inner { padding: 22px 18px; }
  .btn-primary { width: 100%; }
  .hero-btns-row { flex-direction: column; width: 100%; }
  .hero-btns-row .btn-outline { width: 100%; }
  /* 手机端文字溢出修复 */
  .region-panel { padding: 20px 16px; }
  .result-place { font-size: 0.9rem; word-break: break-all; }
  .campaign-text { font-size: 0.88rem !important; line-height: 1.7; word-break: break-all; }
  .campaign-text--sub { font-size: 0.82rem !important; }
  .campaign-heading { font-size: 1.05rem !important; }
  .section-lead { font-size: 0.85rem !important; word-break: break-all; }
  .count-number { font-size: clamp(2rem, 10vw, 2.8rem) !important; }
}

/* ========== Campaign 活动横幅 ========== */
.campaign { padding: 0 0 28px; }
.campaign-panel {
  padding: clamp(24px, 3.5vw, 32px) clamp(22px, 4vw, 36px);
  border-radius: 20px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(245, 108, 141, 0.10), rgba(27, 58, 92, 0.06)),
    #fff;
  border: 1px solid #f0d9e0;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.campaign-heading {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: 0.04em;
}
.campaign-text {
  margin: 0 0 12px;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.75;
}
.campaign-text--sub {
  margin-bottom: 0;
  font-weight: 500;
  color: var(--ink);
}

/* ========== 咨询弹窗（注册引导） ========== */
body.modal-open { overflow: hidden; }
.modal[hidden] { display: none !important; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 58, 92, 0.45);
  backdrop-filter: blur(4px);
}
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  padding: 28px 24px 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 48px rgba(27, 58, 92, 0.18);
  animation: modal-in 0.25s ease;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
}
.modal-close:hover { background: var(--accent-soft); color: var(--accent-deep); }
.modal-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
}
.modal-description {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}
.modal-links { display: flex; flex-direction: column; gap: 10px; }
.modal-links--secondary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 4px;
}
.modal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 48px;
}
/* 主操作按钮：大、醒目 */
.modal-link--primary {
  min-height: 54px;
  padding: 0 24px;
  background: linear-gradient(180deg, #ff7a9a 0%, var(--accent) 100%);
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 20px rgba(245, 108, 141, 0.28);
}
.modal-link--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 108, 141, 0.38);
}
/* 次要按钮：小、轻量 */
.modal-link--secondary {
  background: #f8f5f6;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--line);
  min-height: 44px;
}
.modal-link--secondary:hover {
  background: var(--accent-soft);
  border-color: #f3d4dc;
  transform: translateY(-1px);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
