/* 首页顶部（Arc 风格）：邀请、重置动态、GPT 问题入口放进一张柔光大卡片。只在 shop.html 加载，其他部分不改。 */
.arc-home {
  --arc-ink: #1f2d3b;
  --arc-paper: #f7f9fb;
  --arc-muted: #5d6c7b;
  --arc-border: #e8edf2;
  --arc-border-subtle: #f0f3f6;
  --arc-shadow-resting: 0 1px 2px rgba(20, 40, 64, .04);
  --arc-ease-enter: cubic-bezier(.16, 1, .3, 1);
  --arc-ease: cubic-bezier(.22, 1, .36, 1);
}

/* 不加 transform / filter：宽屏下重置动态是 fixed 定位 */
.arc-home.has-reward-banner main { padding-top: 92px; }
.arc-home .arc-hero {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--arc-border-subtle);
  border-radius: 30px;
  background:
    radial-gradient(46% 90% at 100% 0%, rgba(160, 196, 248, .78), rgba(160, 196, 248, 0) 100%),
    radial-gradient(36% 80% at 0% 100%, rgba(238, 206, 214, .34), rgba(238, 206, 214, 0) 100%),
    radial-gradient(44% 70% at 52% 125%, rgba(232, 222, 192, .36), rgba(232, 222, 192, 0) 100%),
    var(--arc-paper);
}
/* GPT 入口原来是绝对定位挂在分类区左边，搬进卡片后那块留的高度不用了 */
.arc-home .hero-center.catalog-compact { min-height: 0; }

/* 卡片里的三块：白色半透明玻璃 + 1px 浅边，阴影只留最轻一档 */
.arc-home .arc-hero > .reward-banner,
.arc-home .arc-hero > .gpt-help-entry {
  border: 1px solid rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--arc-shadow-resting);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.arc-home .arc-hero > .reward-banner { width: auto; max-width: none; margin: 0; border-radius: 22px; color: var(--arc-ink); }
.arc-home .arc-hero .reward-banner strong { font-weight: 600; letter-spacing: -.01em; }
.arc-home .arc-hero .reward-banner small { color: var(--arc-muted); }
.arc-home .arc-hero .reward-banner .reward-mark { border-color: var(--arc-border); box-shadow: var(--arc-shadow-resting); }
.arc-home .arc-hero .reward-banner .reward-banner-cta {
  display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 14px;
  border: 1px solid rgba(31, 45, 59, .16); border-radius: 13px; color: var(--arc-ink); font-weight: 500;
  transition: border-color .16s var(--arc-ease), background-color .16s var(--arc-ease);
}
.arc-home .arc-hero .reward-banner:hover .reward-banner-cta { border-color: rgba(31, 45, 59, .3); background: rgba(255, 255, 255, .8); }
@media (max-width: 1839px) {
  .arc-home .arc-hero > .reset-peek {
    width: auto; max-width: none; margin: 0;
    border-color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .72);
    box-shadow: var(--arc-shadow-resting);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}

/* GPT 问题入口：电脑上一行（标题在左，四个问题排开） */
.arc-home .arc-hero > .gpt-help-entry { position: static; inset: auto; width: auto; justify-self: stretch; margin: 0; border-radius: 22px; }
@media (min-width: 761px) {
  .arc-home .arc-hero > .gpt-help-entry { display: flex; align-items: center; gap: 16px; padding: 10px 12px 10px 16px; }
  .arc-home .arc-hero .gpt-help-entry h2 { flex: none; }
  .arc-home .arc-hero .gpt-help-entry-arrow { margin-left: 4px; }
  .arc-home .arc-hero .gpt-help-entry-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 0 auto; }
  .arc-home .arc-hero .gpt-help-entry-links a { min-height: 34px; padding: 0 13px; }
}
.arc-home .arc-hero .gpt-help-entry-links a {
  border: 1px solid var(--arc-border); border-radius: 12px; background: rgba(255, 255, 255, .8); box-shadow: none; color: var(--arc-muted);
}
.arc-home .arc-hero .gpt-help-entry-links a:hover { border-color: #c9dbec; background: #fff; color: var(--arc-ink); }

@media (max-width: 760px) {
  .arc-home.has-reward-banner main { padding-top: 80px; }
  .arc-home .arc-hero { gap: 10px; padding: 12px; border-radius: 24px; }
}

/* 两个标题进场：从模糊、稍低、透明到清晰；等加载页退场后再播 */
@media (prefers-reduced-motion: no-preference) {
  .page-loading-ready .arc-home :where(.arc-hero .reward-banner strong, .arc-hero .gpt-help-entry h2) {
    animation: arc-reveal .6s var(--arc-ease-enter) backwards;
  }
  .page-loading-ready .arc-home .arc-hero .gpt-help-entry h2 { animation-delay: 80ms; }
}
@keyframes arc-reveal {
  from { opacity: 0; transform: translateY(.62em); filter: blur(4px); }
}
/* 触屏设备不做模糊，只淡入上移，避免安卓卡顿 */
@media (hover: none) {
  @keyframes arc-reveal { from { opacity: 0; transform: translateY(.5em); } }
}

/* 首屏直接输出的简版商品卡：脚本渲染前、脚本没跑起来时可见，随后被完整卡片替换。 */
.seed-card { display: flex; flex-direction: column; gap: 8px; min-height: 200px; padding: 24px; border-radius: 26px; background: rgba(255, 255, 255, 0.86); box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06); }
.seed-card h2 { margin: 0; font-size: 18px; line-height: 1.35; }
.seed-card h2 a { color: var(--ink); text-decoration: none; }
.seed-card p { margin: 0; color: var(--ink-soft); line-height: 1.6; }
.seed-card .seed-price { margin-top: auto; padding-top: 10px; font-size: 22px; font-weight: 700; color: var(--ink); }
.seed-card .seed-price small { font-size: 13px; font-weight: 400; color: var(--ink-soft); }
