/* 顶部导航 */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header);
  backdrop-filter: blur(12px);
}
.header .wrap { display: flex; align-items: center; height: 68px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--round); font-weight: 900; font-size: 20px; }
.logo b { color: var(--coral); }
.nav { display: flex; gap: 6px; }
.nav a { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); }
.nav a.on { background: var(--ink); color: var(--bg); }
.nav a:not(.on):hover { color: var(--ink); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--border); display: grid; place-items: center; background: var(--card);
}
.acct-btn { padding: 7px 13px; font-size: 14px; font-weight: 700; border-radius: 999px; text-decoration: none; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 480px) { .acct-btn { width: 36px; height: 36px; padding: 0; justify-content: center; } .acct-btn span { display: none; } }
.agent-btn { padding: 7px 13px; font-size: 14px; font-weight: 700; border-radius: 999px; text-decoration: none; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; background: var(--butter, #fff0c2); }
@media (max-width: 480px) { .agent-btn { padding: 7px 11px; font-size: 13px; } .agent-btn svg { display: none; } }
.contact-btn { padding: 7px 14px; font-size: 14px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; border-radius: 999px; }

/* 首屏 */
.hero { padding: 40px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hi-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px 5px 5px; border-radius: 999px;
  background: var(--card); border: 1.5px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.hi-pill i {
  width: 24px; height: 24px; border-radius: 50%; background: var(--sun);
  display: grid; place-items: center; font-style: normal; font-weight: 800; color: #201c30; font-size: 12px;
}
.hero h1 { margin: 22px 0 18px; line-height: 1.1; font-weight: 900; font-size: clamp(42px, 6vw, 72px); letter-spacing: -1px; }
.hero h1 .hello { font-family: var(--round); color: var(--coral); display: block; }
.hero h1 .underline { position: relative; white-space: nowrap; }
.hero h1 .underline svg { position: absolute; left: -4px; right: -4px; bottom: -10px; width: calc(100% + 8px); height: 16px; }
.hero p.lead { font-size: 16px; color: var(--muted); max-width: 440px; }

.search {
  margin-top: 28px; display: flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 18px; max-width: 520px; border-radius: 999px;
}
.search input { flex: 1; border: 0; outline: 0; background: none; font: inherit; color: var(--ink); font-size: 15px; min-width: 0; }
.search input::placeholder { color: var(--muted); }
.search .go { width: 40px; height: 40px; border-radius: 50%; background: var(--coral-strong); color: #fff; display: grid; place-items: center; }
.quick { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.quick button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: var(--card); border: 1.5px solid var(--border);
}
.quick button:hover { border-color: var(--edge); }

/* 网站公告：贴纸区顶部的票据贴纸（后台填写），贴纸由 app.js 在它下面交错排，贴纸区高度不变 */
.hero-ann {
  position: absolute; top: 8px; left: 6px; right: 6px; z-index: 2; padding: 0;
  transform: rotate(-1.6deg); animation: an-in .7s cubic-bezier(.2, 1.4, .4, 1) both;
}
.hero-ann[hidden] { display: none; }
.hero-ann::before {  /* 胶带 */
  content: ""; position: absolute; top: -13px; left: 50%; width: 92px; height: 24px; margin-left: -46px; z-index: 3;
  background: rgba(255, 201, 62, .78); border-radius: 3px; transform: rotate(3deg);
  box-shadow: 0 1px 2px rgba(32, 28, 48, .12);
}
.an-head {  /* 顶部警示条：斜纹缓慢流动 */
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 16px 8px; border-radius: 16px 16px 0 0; border-bottom: 2px solid var(--edge);
  background: var(--coral-strong) repeating-linear-gradient(-45deg, rgba(255, 255, 255, .13) 0 10px, transparent 10px 20px);
  background-size: 28.28px 28.28px; animation: an-stripes 1.6s linear infinite; color: #fff;
}
.an-tag { font-size: 13px; font-weight: 900; letter-spacing: .5px; }
/* 打开全站弹窗公告的入口：公告贴纸顶部条 + 页头导航；没看过的带小红点 */
.an-open { position: relative; margin-right: auto; padding: 2px 11px; border-radius: 999px; background: #fff; color: var(--coral-strong);
  border: 1.5px solid #201c30; font-size: 12px; font-weight: 900; cursor: pointer; box-shadow: 0 2px 0 #201c30; }
.an-open:hover { transform: translateY(-1px); }
.an-open[hidden], .nav-notice[hidden], .ndot[hidden] { display: none; }
.nav a.nav-notice { position: relative; }
/* 手机上导航藏起来了：公告入口放在「hi 欢迎来到」旁边 */
.hi-notice { position: relative; display: none; margin-left: 8px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--card);
  font-size: 13px; font-weight: 800; color: var(--coral-strong); cursor: pointer; vertical-align: middle; }
@media (max-width: 640px) { .hi-notice:not([hidden]) { display: inline-block; } }
.ndot { position: absolute; top: 2px; right: 2px; width: 9px; height: 9px; border-radius: 50%; background: #ff3b30; border: 2px solid var(--bg); }
.an-open .ndot { top: -4px; right: -4px; border-color: #fff; }
.an-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; }
.an-live[hidden] { display: none; }
.an-live i { width: 8px; height: 8px; border-radius: 50%; background: #7dff9f; animation: an-pulse 1.8s ease-out infinite; }
.an-stats { display: grid; grid-template-columns: 1fr 1fr; }
.an-stats.n1 { grid-template-columns: 1fr; }
.an-stat { min-width: 0; padding: 12px 16px 14px; }
.an-stat + .an-stat { border-left: 2px dashed var(--border); }
.an-cap { font-size: 12px; line-height: 1.5; font-weight: 700; color: var(--muted); }
.an-cap s { color: var(--ink); text-decoration: line-through 2px var(--coral-strong); }
.an-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 4px; margin-top: 4px; font-family: var(--round); }
.an-big b { font-size: 44px; line-height: 1; font-weight: 900; letter-spacing: -1px; color: var(--coral-strong); }
/* 倒计时天数：放大 + 每隔一会儿抖一下 */
.an-stat:not(.an-msg) .an-big b:not(.ended) { display: inline-block; font-size: 66px; transform-origin: 50% 85%; animation: an-shake 2.6s ease-in-out infinite; }
@keyframes an-shake {
  0%, 68%, 100% { transform: none; }
  72% { transform: rotate(-9deg) scale(1.1); }
  76% { transform: rotate(8deg) scale(1.1); }
  80% { transform: rotate(-6deg) scale(1.06); }
  84% { transform: rotate(4deg) scale(1.03); }
  88% { transform: rotate(-2deg); }
}
/* 警示文字栏 */
.an-msg { display: flex; align-items: center; gap: 10px; }
.an-msg p { font-size: 16px; line-height: 1.6; font-weight: 800; }
.an-fire { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--coral-soft); animation: an-blink 1.6s ease-in-out infinite; }
.an-big span { font-size: 15px; font-weight: 900; }
.an-big b.ended { font-size: 26px; letter-spacing: 0; color: var(--muted); }
.an-big .cur { font-size: 22px; color: var(--coral-strong); }
.an-up {
  align-self: center; margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: var(--coral-strong);
  color: #fff; font: 900 12px/1.4 var(--font); font-style: normal; white-space: nowrap;
}
.an-dots { display: flex; gap: 2px; margin-top: 10px; }  /* 本月日历条：已过灰、剩余黄、今天闪 */
.an-dots i { flex: 1; height: 8px; border-radius: 2px; background: var(--sun); }
.an-dots i.past { background: rgba(32, 28, 48, .12); }
.an-dots i.today { background: var(--coral-strong); animation: an-blink 1.2s ease-in-out infinite; }
.an-dots i.end { background: var(--ink); }  /* 月底最后一天：截止 */
.an-plain { padding: 0 16px 12px; font-size: 13px; font-weight: 700; }
.hero-ann a { color: var(--coral-strong); text-decoration: underline; }
:root[data-theme="dark"] .hero-ann a, :root[data-theme="dark"] .an-big b, :root[data-theme="dark"] .an-big .cur { color: var(--coral); }
:root[data-theme="dark"] .an-dots i.past { background: rgba(255, 255, 255, .14); }
@keyframes an-in { from { opacity: 0; transform: translateY(-14px) rotate(-6deg); } }
@keyframes an-stripes { to { background-position: 28.28px 0; } }
@keyframes an-pulse { 0% { box-shadow: 0 0 0 0 rgba(125, 255, 159, .7); } 70%, 100% { box-shadow: 0 0 0 7px rgba(125, 255, 159, 0); } }
@keyframes an-blink { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .hero-ann, .an-head, .an-live i, .an-dots i.today, .an-big b, .an-fire { animation: none !important; } }
/* 有公告时贴纸改单行紧凑款（不显示小字），由 app.js 在公告下面左右交错排 */
.stage.with-ann .float-card { min-width: 0; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; }
.stage.with-ann .float-card::after { left: 22px; }
.stage.with-ann .float-card .ico { width: 30px; height: 30px; border-radius: 50%; font-size: 12px; }
.stage.with-ann .float-card strong { font-size: 14px; white-space: nowrap; }
.stage.with-ann .float-card small { display: none; }
.stage.with-ann .float-card .price { font-size: 15px; padding-left: 8px; }
.stage.with-ann .float-card.f1 { right: 6%; left: auto; }  /* 公告左低右高，第一张放右边 */
.stage.with-ann .float-card.f2 { left: 2%; right: auto; }
.stage.with-ann .float-card.f3 { right: 0; left: auto; }

/* 右侧插画：色块 + 浮动贴纸 */
.stage { position: relative; height: 440px; }
.blob { position: absolute; border-radius: 50%; }
.blob.a { width: 380px; height: 380px; background: var(--coral-soft); right: 30px; top: 10px; }
.blob.b { width: 240px; height: 240px; background: var(--butter); right: -10px; bottom: -10px; }
.spark { position: absolute; color: var(--sun); animation: twinkle 2.4s ease-in-out infinite; }
.spark.c { color: var(--coral); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; min-width: 210px;
  animation: bob 5s ease-in-out infinite;
  cursor: pointer;
}
.float-card::after {
  content: ""; position: absolute; left: 26px; bottom: -11px;
  width: 16px; height: 16px; background: var(--card);
  border-right: 2px solid var(--edge); border-bottom: 2px solid var(--edge);
  transform: rotate(45deg) skew(8deg, 8deg);
}
.float-card .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; font-size: 13px; }
.float-card .ico img { width: 64%; height: 64%; object-fit: contain; }
.float-card strong { display: block; font-size: 15px; }
.float-card small { color: var(--muted); font-size: 12px; }
.float-card .price { margin-left: auto; font-size: 17px; padding-left: 14px; }
.float-card.f1 { top: 20px; left: 0; transform: rotate(-3deg); }
.float-card.f2 { top: 165px; right: 0; transform: rotate(3deg); animation-delay: -1.6s; }
.float-card.f3 { top: 315px; left: 40px; transform: rotate(-2deg); animation-delay: -3.2s; }

@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes twinkle { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.7); opacity: .6; } }

/* 首屏信任标识 */
.trust { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #1d7a4a; }
.trust span { width: 20px; height: 20px; border-radius: 50%; background: #1d7a4a; color: #fff; display: grid; place-items: center; font-size: 11px; }
:root[data-theme="dark"] .trust { color: #6fd39f; }

.logo-img { width: 36px; height: 36px; border-radius: 10px; display: block; }
.logo-text { white-space: nowrap; letter-spacing: -.2px; }
@media (max-width: 640px) { .logo { font-size: 17px; gap: 8px; } .logo-img { width: 32px; height: 32px; } }
@media (max-width: 340px) { .logo { font-size: 15px; } .header-right { gap: 6px; } .contact-btn { padding: 6px 10px; } }

/* 首屏：信任标识 + 视频入口 */
.trust-row { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; margin-top: 14px; }
.trust-row .trust { margin-top: 0; }
.trust { align-items: flex-start; line-height: 1.55; }  /* 文字长、会换行：勾号对齐第一行 */
.trust span { flex: none; margin-top: 1px; }
