:root {
  --page-bg: #eef4fa;
  --page-bg-deep: #e2ecf6;
  --white: #ffffff;
  --blue: #0078d4;
  --blue-dark: #005a9e;
  --blue-soft: #e8f4fc;
  --pink: #d81b60;
  --pink-soft: #fde8f0;
  --text: #1a2b3d;
  --muted: #5a6b7d;
  --radius-lg: 18px;
  --radius-md: 14px;
  --shadow-soft: 0 8px 32px rgba(20, 60, 100, 0.07);
  --shadow-card: 0 4px 20px rgba(15, 50, 90, 0.06);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--page-bg);
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}

a.link-muted {
  color: var(--blue);
  text-decoration: underline;
}

.app {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  padding-bottom: calc(28px + var(--safe-bottom));
}

.page-home .app {
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(0, 80, 160, 0.04), 0 12px 60px rgba(25, 70, 120, 0.08);
}

/* —— 顶栏品牌区（对齐设计稿层级） —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 12px 16px 10px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 90, 158, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.site-header--compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.upload-header-title {
  font-weight: 700;
  font-size: 15px;
}

.header-spacer {
  width: 56px;
}

.brand-lockup {
  text-align: center;
}

/* —— 头部品牌条（设计稿：中英双栏 + 竖线 + 四子品牌） —— */
.site-header--kv {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(180deg, #fffdfb 0%, #fff 40%, #faf7f8 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: none;
  padding: 14px 12px 12px;
  backdrop-filter: none;
}

.brand-lockup--banner {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.brand-banner-row1 {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px 14px;
  flex-wrap: nowrap;
}

.brand-banner-col {
  flex: 0 1 auto;
  min-width: 0;
}

.brand-banner-col--en {
  text-align: right;
  padding-right: 2px;
}

.brand-banner-col--cn {
  text-align: left;
  padding-left: 2px;
}

.brand-banner-loreal {
  font-size: clamp(20px, 5.5vw, 26px);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #000;
  line-height: 1;
}

.brand-banner-sub-en {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #333;
  line-height: 1.2;
}

.brand-banner-cn-title {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(18px, 5vw, 22px);
  font-weight: 700;
  color: #000;
  letter-spacing: 0.12em;
  line-height: 1;
}

.brand-banner-sub-cn {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 600;
  color: #333;
  line-height: 1.2;
}

.brand-banner-vbar {
  flex: 0 0 1px;
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, transparent, #c8c8c8 20%, #c8c8c8 80%, transparent);
  margin-bottom: 2px;
}

.brand-banner-row2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 2px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.brand-banner-row2 .brand-banner-pipe {
  flex: 0 0 1px;
  width: 1px;
  height: 22px;
  background: rgba(0, 0, 0, 0.14);
  margin: 0 6px;
}

.brand-slot {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 4px;
}

.brand-slot-sk-dot {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5c4033;
}

.brand-slot-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1a1a1a;
}

.brand-slot-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.brand-lrp-line1 {
  font-size: 10px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.01em;
}

.brand-lrp-line1::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 3px;
  background: #0f6fde;
  vertical-align: super;
}

.brand-lrp-line2 {
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #555;
}

.brand-slot--cerave {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.cerave-mark {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.cerave-ve {
  display: inline-block;
  margin-left: 1px;
  padding: 0 3px 1px;
  background: #0f6fde;
  color: #fff;
  font-size: 11px;
  border-radius: 1px;
}

.cerave-cn {
  font-size: 7px;
  font-weight: 600;
  color: #333;
  margin-top: 1px;
}

.brand-vichy-line1 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #1a1a1a;
}

.brand-vichy-line2 {
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #444;
}

.brand-vichy-cn {
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-lockup--banner--compact .brand-banner-loreal {
  font-size: clamp(16px, 4.2vw, 20px);
}

.brand-lockup--banner--compact .brand-banner-cn-title {
  font-size: clamp(15px, 4vw, 18px);
}

.brand-lockup--banner--compact .brand-banner-vbar {
  height: 32px;
}

.brand-lockup--banner--compact .brand-banner-row2 {
  margin-top: 10px;
  padding-top: 8px;
}

.brand-lockup--banner--compact .brand-slot-name,
.brand-lockup--banner--compact .brand-lrp-line1 {
  font-size: 9px;
}

.brand-lockup--banner--compact .cerave-mark {
  font-size: 10px;
}

.header-user-stack.header-user--corner {
  position: absolute;
  right: 8px;
  bottom: 6px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  max-width: 46%;
  text-align: right;
}

.header-user-line {
  margin: 0;
  font-size: 10px;
  color: #9aa5b1;
  line-height: 1.3;
  word-break: break-all;
}

.btn-reauth {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 10px;
  font-weight: 600;
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.page-home .site-header--kv .header-user--corner {
  margin-top: 0;
}

.brand-lockup--compact {
  padding: 8px 12px 4px;
}

.brand-en {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #111;
}

.brand-en-sub {
  font-weight: 500;
  letter-spacing: 0.12em;
  font-size: 9px;
  color: #444;
}

.brand-cn {
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

.brand-subrow {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  font-size: 9px;
  color: #3d4d5c;
  line-height: 1.3;
}

.brand-subrow span {
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  border: 1px solid rgba(15, 111, 222, 0.12);
}

.brand-subrow--mini span {
  font-size: 8px;
  padding: 2px 6px;
}

.header-user {
  margin-top: 8px;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}

.site-header--compact .header-user {
  display: none;
}

.page-home .site-header:not(.site-header--compact) .header-user:not(.header-user--corner) {
  margin-top: 6px;
}

/* —— 主视觉卡片 —— */
.main-flow {
  padding: 0 16px 28px;
}

.hero-card {
  position: relative;
  margin: 0 -16px 0;
  padding: 0;
  background: var(--white);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.hero-kv {
  position: relative;
  margin: 0;
  min-height: 220px;
  background: linear-gradient(160deg, #f0f6fc 0%, #e5edf7 100%);
}

.hero-kv-img {
  display: block;
  width: 100%;
  height: clamp(240px, 52vw, 300px);
  object-fit: cover;
  /* 本地 KV 多为竖版长图：优先露出上半主视觉；横图可改为 center */
  object-position: center top;
}

.hero-kv-scrim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 35%,
    rgba(255, 255, 255, 0.65) 72%,
    #fff 100%
  );
}

.hero-kv-titles {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10%;
  padding: 0 14px;
  text-align: center;
  z-index: 3;
  pointer-events: none;
}

.hero-kv-titles .hero-title-cn {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.95), 0 2px 8px rgba(255, 255, 255, 0.8);
}

.hero-kv-titles .hero-title-en {
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.9), 0 1px 4px rgba(255, 255, 255, 0.85);
}

.hero-kv.is-fallback .hero-kv-scrim {
  display: none;
}

.hero-text-block {
  position: relative;
  padding: 18px 20px 22px;
  background: #fff;
}

.hero-kv.is-fallback .hero-kv-img {
  display: none;
}

.hero-kv-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 16px;
}

.hero-kv.is-fallback .hero-kv-fallback {
  display: flex;
}

.heart-hands {
  width: 100%;
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(80, 120, 180, 0.2));
}

.hero-title-cn {
  margin: 0;
  text-align: center;
  font-family: "Ma Shan Zheng", "STXingkai", "KaiTi", "STKaiti", "PingFang SC", serif;
  font-size: clamp(36px, 10.5vw, 46px);
  font-weight: 400;
  color: #004f8c;
  letter-spacing: 0.02em;
  line-height: 1.12;
}

.hero-title-cn--sm {
  margin-top: 8px;
  font-size: clamp(22px, 6vw, 28px);
}

.hero-title-en {
  margin: 6px 0 0;
  text-align: center;
  font-family: "Segoe Script", "Snell Roundhand", "Bradley Hand ITC", "Apple Chancery", cursive;
  font-size: clamp(22px, 6vw, 28px);
  color: #c2185b;
  font-weight: 600;
}

.hero-title-en--sm {
  font-size: clamp(17px, 4.8vw, 22px);
}

.hero-copy {
  margin: 16px 0 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 500;
  color: #005a9e;
}

.hero-copy-muted {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  color: #7a8a9c;
}

.hero-copy-accent {
  margin-top: 10px;
  font-weight: 600;
  color: #0078d4;
}

.hero-gift {
  margin: 12px 18px 0;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
  background: var(--blue-soft);
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 111, 222, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.15s, opacity 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-cta {
  margin: 16px 20px 0;
  width: calc(100% - 40px);
  background: linear-gradient(180deg, #0b93f6 0%, #0078d4 48%, #0066b8 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 120, 212, 0.32);
}

.btn-cta-ico {
  width: 22px;
  height: 22px;
  opacity: 0.95;
}

.btn-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 14px;
  width: auto;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue);
  border: 1px solid rgba(15, 111, 222, 0.35);
  box-shadow: 0 4px 12px rgba(30, 80, 140, 0.08);
}

.btn-text {
  background: transparent;
  color: var(--blue);
  box-shadow: none;
  font-weight: 600;
}

.hero-wave {
  display: block;
  width: 100%;
  height: 22px;
  margin-top: 10px;
}

/* —— 列表区 —— */
.gallery-section {
  margin-top: 28px;
}

.gallery-head {
  padding: 0 6px 10px;
}

.gallery-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #005a9e;
}

.gallery-sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 55, 100, 0.07);
  border: 1px solid rgba(0, 100, 180, 0.06);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px 8px;
}

.card-head img.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  background: #e8edf3;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.name-tag {
  flex: 1;
  min-width: 0;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #0f6fde, #3a9cff);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-photo-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  background: linear-gradient(180deg, #e3ecf7, #d4dff0);
}

.card-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zoom-hint {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zoom-hint svg {
  width: 18px;
  height: 18px;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 10px 12px;
}

.votes {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.rules {
  margin: 18px 6px 0;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.55;
}

.load-more {
  margin: 14px 0 0;
  display: flex;
  justify-content: center;
}

/* —— 上传页（设计稿：品牌 + 叠字主图 + 引导条 + 模糊医院背景 + 方框+胶囊） —— */
.page-upload {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-upload.hidden {
  display: none;
}

.upload-scroll {
  flex: 1;
  overflow: auto;
  padding-bottom: var(--safe-bottom);
}

.site-header--upload {
  background: #fff;
  border-bottom: 1px solid rgba(0, 90, 158, 0.06);
}

.upload-brand-strip {
  padding: 10px 12px 12px;
  text-align: center;
  background: linear-gradient(180deg, #fffdfb 0%, #fff 100%);
}

.upload-brand-en {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #111;
}

.upload-brand-cn {
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

.upload-hero-visual {
  position: relative;
  margin: 0;
  min-height: 200px;
  max-height: 280px;
  overflow: hidden;
  background: #e8eef5;
}

.upload-hero-bg {
  display: block;
  width: 100%;
  height: clamp(200px, 48vw, 260px);
  object-fit: cover;
  object-position: center 35%;
}

.upload-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, transparent 55%, rgba(0, 40, 80, 0.12) 100%);
  pointer-events: none;
}

.upload-hero-titles {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 56%;
  text-align: left;
  z-index: 2;
}

.upload-hero-cn {
  margin: 0;
  font-family: "Ma Shan Zheng", "STXingkai", "KaiTi", "STKaiti", serif;
  font-size: clamp(32px, 9vw, 42px);
  font-weight: 400;
  line-height: 1.08;
  color: #004f8c;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.65);
}

.upload-hero-en {
  margin: 6px 0 0;
  font-family: "Segoe Script", "Snell Roundhand", cursive;
  font-size: clamp(18px, 5vw, 24px);
  font-weight: 600;
  color: #c2185b;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.upload-lead-bar {
  padding: 14px 18px 16px;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  border-bottom: 1px solid rgba(0, 120, 200, 0.06);
}

.upload-lead {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: #0078d4;
}

.upload-stage {
  position: relative;
  padding: 20px 0 32px;
  min-height: 320px;
}

.upload-stage-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=900&q=70");
  background-size: cover;
  background-position: center;
  filter: blur(14px);
  transform: scale(1.06);
  opacity: 0.88;
}

.upload-stage .upload-panel {
  position: relative;
  z-index: 1;
  margin: 0 14px 20px;
  padding: 22px 16px 24px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(20, 60, 100, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
}

.upload-panel .btn-cta {
  margin: 12px 0 0;
  width: 100%;
}

.hint {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  line-height: 1.5;
}

.hint-spaced {
  margin-top: 18px;
}

.upload-box-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  margin-bottom: 4px;
}

.upload-square {
  position: relative;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  border: 2px solid #7ec8ea;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 120, 200, 0.08);
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: var(--muted);
}

.upload-plus {
  font-size: clamp(48px, 14vw, 64px);
  font-weight: 200;
  line-height: 1;
  color: #b8c8d8;
}

.upload-pill-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 28px;
  border-radius: 999px;
  border: 2px solid #5eb8e8;
  background: #fff;
  color: #0078d4;
  font-size: 15px;
  font-weight: 600;
  pointer-events: none;
}

.upload-square img.preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #f3f6fa;
}

.hidden-input {
  display: none;
}

textarea.field {
  width: 100%;
  min-height: 128px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 111, 222, 0.22);
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.55;
  resize: vertical;
  background: #fff;
}

.row-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.upload-privacy-link {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.upload-status-wrap {
  margin: 8px 0 4px;
}

.upload-status-card {
  padding: 20px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #eff6ff 0%, #f8fafc 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  text-align: center;
}

.upload-status-msg {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.65;
}

.modal-card--privacy {
  width: 100%;
  max-width: 400px;
  max-height: min(78vh, 620px);
  display: flex;
  flex-direction: column;
  padding: 18px 16px 16px;
}

.privacy-title {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  flex-shrink: 0;
}

.privacy-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  font-size: 14px;
  line-height: 1.65;
  color: #334155;
  white-space: pre-wrap;
  word-break: break-word;
}

/* —— 弹窗（设计稿：磨砂底 + 白卡片） —— */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.hidden {
  display: none;
}

.modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(35, 55, 80, 0.42);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  max-height: 88vh;
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(20, 50, 90, 0.25);
}

.card-foot .btn-cta {
  margin: 0;
  width: auto;
  flex: 1;
  min-width: 0;
  font-size: 12px;
  padding: 9px 8px;
  box-shadow: 0 6px 16px rgba(15, 111, 222, 0.28);
  white-space: nowrap;
}

.modal--story .modal-card--story {
  padding-bottom: 4px;
}

.story-photo-frame {
  margin: 0;
  background: #e8eef5;
}

.modal-img {
  display: block;
  width: 100%;
  max-height: 46vh;
  object-fit: cover;
}

.modal-body--story {
  position: relative;
  padding: 18px 20px 20px;
}

.quote-mark {
  position: absolute;
  left: 12px;
  top: 4px;
  font-family: Georgia, serif;
  font-size: 56px;
  line-height: 1;
  color: rgba(15, 111, 222, 0.18);
  pointer-events: none;
}

.quote {
  position: relative;
  padding: 8px 6px 4px 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.65;
}

.meta {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  text-align: right;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.modal-card--success {
  text-align: center;
  padding: 18px 20px 22px;
}

.success-brand {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.success-kv {
  margin: 12px auto 0;
  height: 96px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #eef5ff, #f8e8f2 70%, #e8f0ff);
  border: 1px solid rgba(15, 111, 222, 0.1);
}

.success-slogan-cn {
  margin: 12px 0 0;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 20px;
  color: var(--blue-dark);
}

.success-slogan-en {
  margin: 2px 0 0;
  font-family: cursive;
  font-size: 16px;
  color: var(--pink);
}

.success-title {
  margin: 14px 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
}

.success-desc {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.modal-card--success .btn-cta {
  margin: 0 auto;
  width: 100%;
  max-width: 280px;
}

/* 分享海报预览 */
.modal--poster {
  z-index: 130;
}

.modal--poster .modal-card--poster {
  max-width: 340px;
  padding: 14px 16px 18px;
}

.poster-hint {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.poster-preview-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #e8eef5;
  line-height: 0;
  margin-bottom: 12px;
}

.poster-preview-wrap img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.modal--poster .poster-dl {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  margin: 0;
  box-sizing: border-box;
}

.modal-card--success .btn-text {
  margin-top: 10px;
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 36px 16px;
  color: var(--muted);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-md);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  max-width: 90%;
  padding: 10px 16px;
  background: rgba(25, 38, 55, 0.92);
  color: #fff;
  font-size: 13px;
  border-radius: 12px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.toast.show {
  opacity: 1;
}

.hidden {
  display: none !important;
}

/* —— 设计稿：首页整体氛围（浅底 + 中间白栏） —— */
body.page-home {
  background: linear-gradient(180deg, #e8f1fa 0%, #f2f7fc 45%, #e9f2fa 100%);
}

.brand-en-sep {
  font-weight: 500;
  opacity: 0.5;
  margin: 0 0.2em;
}

.brand-subrow.brand-subrow--logos {
  margin-top: 10px;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 4px;
}

.brand-subrow.brand-subrow--logos span {
  background: none;
  border: none;
  border-radius: 0;
  padding: 2px 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1e3a5f;
}

.brand-subrow.brand-subrow--logos .brand-pipe {
  padding: 0 2px;
  color: rgba(30, 58, 95, 0.35);
  font-weight: 400;
}

.brand-subrow.brand-subrow--logos .brand-cn-suffix {
  padding: 0;
  margin-left: 2px;
  border: none;
  background: none;
  border-radius: 0;
}

.hero-heart-visual {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 55%, rgba(255, 210, 220, 0.55) 0%, transparent 55%),
    radial-gradient(circle at 40% 45%, rgba(255, 255, 255, 0.9) 0%, transparent 45%),
    linear-gradient(165deg, #eef6ff 0%, #f8eef5 50%, #e3edf8 100%);
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.6);
}

.hero-title-cn br {
  display: block;
}

/* 获奖规则区块（设计稿：浅蓝描边 + 产品图） */
.awards-section {
  margin: 22px 0 0;
}

.awards-title {
  margin: 0 0 14px;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: #005a9e;
}

.awards-box {
  background: #f7fbff;
  border-radius: var(--radius-lg);
  border: 2px solid #c8ddf0;
  padding: 16px 12px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.awards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.awards-col {
  text-align: center;
}

.awards-visual {
  position: relative;
  height: 132px;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 100, 180, 0.12);
  background: #eef5fc;
}

.awards-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.awards-visual.is-ph.awards-visual--a {
  background: linear-gradient(135deg, #e8f2fc 0%, #f5e8f4 100%);
}

.awards-visual.is-ph.awards-visual--b {
  background: linear-gradient(135deg, #f0e8f8 0%, #e4f0fc 100%);
}

.awards-cap {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: #0a5fb8;
  font-weight: 500;
}

.btn-cta-home {
  display: flex;
  margin: 22px auto 0;
  width: calc(100% - 8px);
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-cta-hand {
  font-size: 20px;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.page-home .btn-cta-home.btn-cta {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

/* 主按钮区：设计稿浅蓝几何/光晕底 */
.cta-wrap {
  position: relative;
  margin: 10px -16px 0;
  padding: 26px 16px 6px;
  overflow: hidden;
}

.cta-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 100% 70% at 15% 30%, rgba(160, 210, 255, 0.28) 0%, transparent 52%),
    radial-gradient(ellipse 70% 55% at 92% 18%, rgba(190, 225, 255, 0.4) 0%, transparent 48%),
    radial-gradient(circle at 50% 100%, rgba(220, 236, 255, 0.55) 0%, transparent 55%),
    linear-gradient(180deg, #fafcfe 0%, #eef5fb 55%, #f7fbff 100%);
  pointer-events: none;
}

.cta-wrap .btn-cta-home {
  position: relative;
  z-index: 1;
}

.gallery-section .disclaimer {
  margin-top: 20px;
  text-align: center;
  font-size: 10px;
  color: #6a7a8c;
  line-height: 1.5;
}

.upload-foot {
  margin-top: 18px;
  text-align: center;
  font-size: 10px;
  color: #6a7a8c;
}

/* 详情弹窗：深色底 + 白卡片（故事海报） */
.modal--quote .modal-bg {
  background: radial-gradient(ellipse 120% 80% at 50% 20%, rgba(80, 120, 160, 0.35) 0%, transparent 50%),
    linear-gradient(165deg, #2a3340 0%, #3d4a5c 45%, #252b34 100%);
}

.modal-card--quote {
  max-width: 400px;
  padding: 0 0 16px;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #333;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.modal-card--quote .modal-close {
  top: 10px;
  right: 10px;
}

.modal--quote .modal-card {
  position: relative;
}

.quote-open,
.quote-close {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 12vw, 52px);
  line-height: 0.85;
  color: rgba(100, 170, 230, 0.55);
  user-select: none;
}

.quote-open {
  display: block;
  margin: 4px 0 -4px 8px;
}

.quote-close {
  display: block;
  text-align: right;
  margin: -8px 12px 0 0;
}

.modal-card--quote .quote {
  padding: 4px 22px 8px;
  font-size: clamp(16px, 4.2vw, 18px);
  font-weight: 700;
  color: #153a66;
  line-height: 1.65;
}

.modal-card--quote .meta {
  text-align: right;
  padding: 0 20px;
  font-size: 12px;
  color: #5a6b7d;
}

.modal-card--quote .modal-actions {
  padding: 0 20px;
  justify-content: center;
}

.modal-card--quote .modal-actions .btn-cta {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}

.disclaimer-inline {
  margin: 14px 16px 0;
  padding: 0 8px;
  font-size: 10px;
  line-height: 1.45;
  color: #7a8794;
  text-align: center;
}

/* 成功弹窗品牌区细化 */
.success-brand-line {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #111;
}

.success-brand-cn {
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
}

.success-subbrands {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px 0;
  font-size: 8px;
  font-weight: 700;
  color: #2c3d50;
}

.success-subbrands .brand-pipe {
  margin: 0 4px;
  color: rgba(0, 0, 0, 0.2);
  font-weight: 400;
}

.modal--success .modal-card--success {
  position: relative;
  padding-top: 44px;
}
