/* HTT 官网样式。颜色照旧官网：白、浅灰、黑，粉色和淡紫点缀。 */
:root {
  --ink: #111111;
  --ink-2: #333333;
  --muted: #5c5c5c;
  --line: #e6e6e6;
  --card: #f4f4f4;
  --panel: #e6e6e6;
  --paper: #ffffff;
  --pink: #f7c6dc;
  --lilac: #e7a6ee;
  --wa: #1fae5b;
  --radius: 20px;
  --wrap: 1240px;
  /* 弹簧曲线：先冲过头一点再回弹 */
  --spring: linear(0, 0.009, 0.035 2.1%, 0.141 4.4%, 0.723 12.9%, 0.938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163 27%, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%, 0.975 57.1%, 0.997 69.8%, 1.003 76.9%, 1);
  --spring-soft: linear(0, 0.06 3.2%, 0.25 7.4%, 0.79 18.5%, 0.96 24.6%, 1.03 30.5%, 1.04 35.4%, 1.01 46%, 0.995 58%, 1);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: 'Archivo', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --display: 'Archivo Black', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.28s var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in 0.42s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; filter: blur(8px); transform: scale(0.99); } }
@keyframes vt-in { from { opacity: 0; filter: blur(8px); transform: scale(1.01); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--muted); }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.section { padding-top: 72px; padding-bottom: 56px; }
.display { font-family: var(--display); font-weight: 400; letter-spacing: 0.3px; line-height: 1.15; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.lead { font-size: 18px; color: var(--ink-2); margin: 0 0 28px; }
.page-title { font-size: clamp(32px, 5vw, 48px); margin: 0 0 12px; }
.eyebrow { font-size: 13px; letter-spacing: 3px; color: var(--lilac); }
[hidden] { display: none !important; }

/* 水印背景：砂纸上的 HTT 平铺 */
.wm { background-color: var(--panel); background-image: url(/img/pattern.png); background-size: 220px; background-blend-mode: multiply; }
.wm-dark { position: relative; isolation: isolate; background: var(--ink); }
.wm-dark::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url(/img/pattern.png) 0 0 / 220px; filter: invert(1); opacity: 0.07; animation: wm-drift 60s linear infinite; }
@keyframes wm-drift { to { background-position: 220px 220px; } }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 34px; border-radius: 999px; border: 1.5px solid transparent; font-size: 16px; font-weight: 500; letter-spacing: 0.4px; text-decoration: none; cursor: pointer; transition: transform 0.5s var(--spring), background-color 0.25s, color 0.25s, box-shadow 0.4s var(--ease-out); will-change: transform; }
.btn:active { transform: scale(0.96); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--ink); }
.btn-outline { border-color: var(--ink); background: #fff; color: var(--ink); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.6); color: #fff; background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(10px); }
.btn-ghost-light:hover { color: #fff; background: rgba(255, 255, 255, 0.14); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { color: #fff; box-shadow: 0 14px 30px rgba(31, 174, 91, 0.35); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.icon-btn { width: 48px; height: 48px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; cursor: pointer; transition: transform 0.5s var(--spring); }
.icon-btn:hover { transform: rotate(-8deg) scale(1.06); }
.pill { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--pink); font-size: 13px; font-weight: 600; }
.pill-dark { background: var(--ink); color: #fff; }

/* ---------- 顶部 ---------- */
.announce { background: var(--pink); text-align: center; font-size: 14px; font-weight: 500; padding: 9px 16px; letter-spacing: 0.4px; }
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.78); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid rgba(0, 0, 0, 0.06); transition: box-shadow 0.4s; }
.top.scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06); }
.top-in { max-width: var(--wrap); margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 16px; }
.logo img { height: 58px; width: auto; transition: transform 0.6s var(--spring); }
.logo:hover img { transform: rotate(-4deg) scale(1.04); }
.top-links { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.top-links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 10px 0; }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.cart-count.bump { animation: bump 0.6s var(--spring); }
@keyframes bump { 0% { transform: scale(0.4); } 100% { transform: scale(1); } }
@media (max-width: 560px) { .top-links span { display: none; } .logo img { height: 48px; } }

/* ---------- 菜单抽屉 ---------- */
.drawer-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(17, 17, 17, 0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.35s; }
.drawer-scrim.open { opacity: 1; }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; z-index: 41; width: min(380px, 88vw); background: #fff; padding: 20px 28px 28px; display: flex; flex-direction: column; overflow-y: auto; transform: translateX(-105%); transition: transform 0.7s var(--spring-soft); border-radius: 0 28px 28px 0; }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.drawer-head img { height: 52px; width: auto; }
.drawer-link, .drawer-label { display: block; font-size: 22px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid #efefef; text-decoration: none; }
.drawer.open .drawer-link, .drawer.open .drawer-group { animation: drawer-item 0.6s var(--spring) both; }
.drawer.open > :nth-child(2) { animation-delay: 0.05s; } .drawer.open > :nth-child(3) { animation-delay: 0.1s; } .drawer.open > :nth-child(4) { animation-delay: 0.15s; } .drawer.open > :nth-child(5) { animation-delay: 0.2s; } .drawer.open > :nth-child(6) { animation-delay: 0.25s; } .drawer.open > :nth-child(7) { animation-delay: 0.3s; }
@keyframes drawer-item { from { opacity: 0; transform: translateX(-24px); filter: blur(6px); } }
.drawer-group { padding-bottom: 12px; border-bottom: 1px solid #efefef; }
.drawer-label { border: 0; padding-bottom: 6px; }
.drawer-sub { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; margin-top: 8px; background: var(--card); border-radius: 14px; text-decoration: none; font-size: 17px; transition: transform 0.5s var(--spring), background 0.2s; }
.drawer-sub:hover { transform: translateX(6px); background: var(--pink); color: var(--ink); }
.drawer-sub small { color: var(--muted); }
.drawer-foot { margin-top: auto; padding-top: 24px; }

/* ---------- 社交链接 ---------- */
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none; font-size: 14px; background: #fff; transition: transform 0.5s var(--spring), background 0.2s; }
.socials a:hover { transform: translateY(-3px); background: var(--pink); color: var(--ink); }
.socials-sm a { padding: 0; width: 44px; height: 44px; justify-content: center; }
.socials-sm span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.socials-big { flex-direction: column; }
.socials-big a { width: 100%; padding: 16px 20px; font-size: 17px; border-radius: 18px; }

/* ---------- 开场动画 ---------- */
.intro { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.intro-top, .intro-bot { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); }
.intro-top { top: 0; } .intro-bot { bottom: 0; }
.intro-mark { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.intro-mark img { width: min(320px, 68vw); opacity: 0; }
.intro-mark span { color: #fff; letter-spacing: 6px; font-size: 12px; opacity: 0; }
.intro.play .intro-mark img { animation: logo-in 1.1s var(--spring) 0.15s forwards; }
.intro.play .intro-mark span { animation: fade-in 0.6s ease 0.8s forwards; }
.intro.play .intro-mark { animation: fade-out 0.35s ease 1.75s forwards; }
.intro.play .intro-top { animation: curtain-up 0.95s cubic-bezier(0.76, 0, 0.24, 1) 1.9s forwards; }
.intro.play .intro-bot { animation: curtain-down 0.95s cubic-bezier(0.76, 0, 0.24, 1) 1.9s forwards; }
@keyframes logo-in { from { opacity: 0; transform: scale(0.55) rotate(-14deg); filter: blur(14px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes fade-out { to { opacity: 0; filter: blur(8px); } }
@keyframes curtain-up { to { transform: translateY(-101%); } }
@keyframes curtain-down { to { transform: translateY(101%); } }

/* ---------- 进场与滚动浮现：模糊变清晰 + 弹簧位移 ---------- */
.fade-up, .reveal { opacity: 0; transform: translateY(36px) scale(0.985); filter: blur(10px); }
.fade-up.in, .reveal.in { opacity: 1; transform: none; filter: none; transition: opacity 0.7s ease var(--d, 0ms), transform 1s var(--spring-soft) var(--d, 0ms), filter 0.8s ease var(--d, 0ms); }
.no-js .fade-up, .no-js .reveal { opacity: 1; transform: none; filter: none; }

/* ---------- 首页主视觉 ---------- */
/* 首页轮播：所有幻灯片叠在同一格，切换时文字逐行弹出、图片模糊变清晰再慢慢推近 */
.hero { position: relative; overflow: hidden; }
.hero-track { display: grid; }
.slide { grid-area: 1 / 1; display: flex; flex-wrap: wrap; min-height: min(78vh, 680px); visibility: hidden; pointer-events: none; transition: visibility 0s linear 0.9s; }
.slide.is-on { visibility: visible; pointer-events: auto; transition: none; z-index: 1; }
.hero-copy { flex: 1 1 420px; display: flex; align-items: flex-end; padding: 64px clamp(24px, 5vw, 64px) 88px; }
.hero-title { font-size: clamp(44px, 7vw, 76px); margin: 0 0 18px; line-height: 1.04; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 4px; }
.hero-title .line > span { display: inline-block; transform: translateY(110%) rotate(4deg); transition: transform 0.5s cubic-bezier(0.5, 0, 0.75, 0); }
.hero-tag { font-size: 19px; margin: 0 0 30px; opacity: 0; transform: translateY(20px); filter: blur(8px); transition: opacity 0.35s, transform 0.35s, filter 0.35s; }
.hero-btn { opacity: 0; transform: translateY(20px) scale(0.9); filter: blur(6px); transition: opacity 0.35s, transform 0.35s, filter 0.35s; }
.hero-media { flex: 1.4 1 520px; min-height: 360px; background: #1e1e1e; overflow: hidden; display: block; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.18); filter: blur(18px) saturate(1.3); transition: opacity 0.7s ease, transform 0.9s ease, filter 0.7s ease; }
.hero.in .slide.is-on .hero-title .line > span { transform: none; transition: transform 1.1s var(--spring-soft) 0.12s; }
.hero.in .slide.is-on .hero-title .line:nth-child(2) > span { transition-delay: 0.2s; }
.hero.in .slide.is-on .hero-tag { opacity: 1; transform: none; filter: none; transition: opacity 0.6s ease 0.3s, transform 0.9s var(--spring-soft) 0.3s, filter 0.6s ease 0.3s; }
.hero.in .slide.is-on .hero-btn { opacity: 1; transform: none; filter: none; transition: opacity 0.6s ease 0.4s, transform 0.9s var(--spring) 0.4s, filter 0.6s ease 0.4s, background-color 0.25s, box-shadow 0.4s; }
.hero.in .slide.is-on .hero-media img { opacity: 1; filter: none; transform: scale(1.04); transition: opacity 0.8s ease, filter 0.9s ease, transform 3.2s cubic-bezier(0.2, 0.6, 0.3, 1); }
.hero.in .slide.is-on .hero-media:hover img { transform: scale(1.08); }
.hero-dots { position: absolute; z-index: 3; left: clamp(24px, 5vw, 64px); bottom: 32px; display: flex; gap: 10px; }
.dot { width: 36px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; transition: width 0.6s var(--spring); }
.dot i { display: block; position: relative; width: 100%; height: 5px; border-radius: 999px; background: rgba(17, 17, 17, 0.18); overflow: hidden; }
.dot i::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; border-radius: inherit; }
.dot.is-on { width: 64px; }
.dot.is-on i::after { animation: dot-fill var(--slide-ms, 2500ms) linear forwards; }
.hero.paused .dot.is-on i::after { animation-play-state: paused; }
@keyframes dot-fill { to { transform: scaleX(1); } }
@media (max-width: 900px) {
  .hero-copy { padding-bottom: 40px; }
  .hero-dots { left: auto; right: 20px; bottom: auto; top: 16px; }
  .hero-media { min-height: 300px; }
}

/* ---------- 产品 ---------- */
.welcome { text-align: center; font-size: 18px; color: var(--ink-2); margin: 0 0 40px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.section-head h2, .section-head h1 { font-size: clamp(26px, 3.4vw, 34px); margin: 0; }
.section-head span, .section-head a { color: var(--muted); font-size: 15px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 24px; }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr 1fr; gap: 14px; } .card { padding: 10px 10px 14px; } .card-name { font-size: 16px; } .card-specs { display: none; } .card-price s { display: block; margin: 0; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); padding: 18px 18px 22px; text-decoration: none; transition: transform 0.7s var(--spring), box-shadow 0.5s var(--ease-out), opacity 0.7s ease var(--d, 0ms), filter 0.8s ease var(--d, 0ms); }
.card.in { transition: transform 0.7s var(--spring), box-shadow 0.5s var(--ease-out), opacity 0.7s ease var(--d, 0ms), filter 0.8s ease var(--d, 0ms); }
.card:hover { transform: translateY(-8px) rotate(-0.6deg); box-shadow: 0 22px 44px rgba(0, 0, 0, 0.1); color: var(--ink); }
.card-media { background: #fff; border-radius: 12px; overflow: hidden; }
.card-img { overflow: hidden; aspect-ratio: 220 / 308; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--spring-soft); }
.card:hover .card-img img { transform: scale(1.06); }
.card-specs { display: flex; justify-content: space-around; padding: 9px 4px; font-size: 12px; font-weight: 700; }
.ribbon { position: absolute; top: 0; left: 10px; width: 26px; padding: 8px 0 10px; background: var(--ink); color: var(--lilac); font-size: 15px; line-height: 1.25; text-align: center; }
.ribbon-out { color: #fff; background: #777; }
.card-name { font-size: 20px; font-weight: 600; letter-spacing: 1px; margin: 18px 0 2px; }
.card-sub { font-size: 13px; color: var(--muted); margin: 0; }
.card-price { font-size: 18px; margin: 8px 0 0; }
s { color: #6b6b6b; font-size: 0.85em; margin-left: 6px; }

/* ---------- 定制横幅 ---------- */
.custom-banner { display: flex; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: 28px; overflow: hidden; margin: 40px 0; }
.custom-copy { flex: 1 1 420px; padding: clamp(36px, 5vw, 56px); display: flex; flex-direction: column; gap: 16px; }
.custom-copy h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 0; }
.custom-copy p { color: #cfcfcf; margin: 0; }
.custom-art { flex: 1 1 340px; min-height: 300px; display: flex; align-items: center; justify-content: center; }
.custom-art img { width: 58%; max-width: 280px; animation: float 5s ease-in-out infinite; }

/* ---------- 服务承诺 ---------- */
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding-top: 8px; padding-bottom: 80px; }
.promise { display: flex; align-items: center; gap: 16px; padding: 22px 24px; background: var(--card); border-radius: 18px; }
.promise b { display: block; font-weight: 600; }
.promise span { font-size: 14px; color: var(--muted); }

/* ---------- 关于：logo 循环动画 + 跑马灯 ---------- */
.about-band { background: var(--ink); color: #fff; overflow: hidden; }
.about-hero { max-width: var(--wrap); margin: 0 auto; padding: 96px 24px 80px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.about-quote { font-weight: 500; line-height: 1.5; letter-spacing: 1px; margin: 24px 0 0; max-width: 22em; text-wrap: balance; }
.about-quote.q-s { font-size: clamp(17px, 1.8vw, 20px); }
.about-quote.q-m { font-size: clamp(20px, 2.4vw, 26px); }
.about-quote.q-l { font-size: clamp(24px, 3.4vw, 34px); }
.about-quote.f-sans { font-family: var(--font); }
.about-quote.f-serif { font-family: 'Songti SC', 'STSong', 'Noto Serif SC', 'Source Han Serif SC', SimSun, serif; font-weight: 600; }
.about-quote.f-kai { font-family: 'Kaiti SC', 'STKaiti', KaiTi, 'BiauKai', serif; }
.about-quote.f-display { font-family: var(--display); font-weight: 400; }
.orbit { position: relative; width: min(520px, 82vw); aspect-ratio: 506 / 308; }
.orbit-logo { position: absolute; inset: 0; width: 100%; height: 100%; animation: float 5s ease-in-out infinite; filter: drop-shadow(0 0 28px rgba(231, 166, 238, 0.25)); }
.orbit-rings { position: absolute; inset: -18%; width: 136%; height: 136%; overflow: visible; }
.orbit-rings ellipse { fill: none; }
.ring { transform-origin: 50% 50%; transform-box: fill-box; }
.ring-a ellipse { stroke: var(--lilac); stroke-width: 1.2; stroke-dasharray: 2 10; opacity: 0.8; }
.ring-b ellipse { stroke: #fff; stroke-width: 0.8; opacity: 0.25; }
.ring-a { animation: spin 22s linear infinite; }
.ring-b { animation: spin 34s linear infinite reverse; }
.orbit-star { fill: #fff; }
.orbit-star-2 { fill: var(--lilac); }
.twinkle { fill: #fff; transform-box: fill-box; transform-origin: center; animation: twinkle 2.4s ease-in-out infinite; }
.twinkle-2 { fill: var(--lilac); animation-delay: 1.2s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(0.4); opacity: 0.3; } 50% { transform: scale(1.15); opacity: 1; } }
.marquee { border-top: 1px solid #2a2a2a; border-bottom: 1px solid #2a2a2a; padding: 16px 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; gap: 40px; font-family: var(--display); font-size: 22px; letter-spacing: 3px; white-space: nowrap; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(calc(-50% - 20px)); } to { transform: translateX(0); } }
.about-card { background: #fff; color: var(--ink); border-radius: 40px 40px 0 0; padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 48px; margin-top: 64px; }
.about-side { flex: 1 1 300px; }
.about-side h2 { font-size: 28px; margin: 0 0 16px; }
.about-card .prose { flex: 1.3 1 380px; }
.about-page .about-hero { padding-top: 72px; }

/* ---------- 文章 ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.post-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.post-card img, .post-cover-empty { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; border-radius: 18px; transition: transform 0.8s var(--spring-soft); }
.post-card:hover img, .post-card:hover .post-cover-empty { transform: scale(1.03); }
.post-card h2, .post-card h3 { font-size: 20px; margin: 8px 0 0; }
.post-card p { margin: 0; color: var(--muted); font-size: 15px; }
.post-card time { font-size: 13px; color: var(--muted); }
.article-cover { border-radius: 24px; margin: 24px 0; width: 100%; }
.prose { font-size: 17px; line-height: 1.9; color: var(--ink-2); }
.prose h2, .prose h3, .prose h4 { color: var(--ink); line-height: 1.35; margin: 1.6em 0 0.5em; }
.prose p { margin: 0 0 1.1em; }
.prose img { border-radius: 16px; margin: 1em 0; }
.prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--lilac); color: var(--ink); }
.prose a { text-decoration: underline; }
.about-band .prose { color: var(--ink-2); }

/* ---------- 产品页 ---------- */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 24px; font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.product { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 24px; padding-bottom: 48px; align-items: flex-start; }
.gallery { flex: 1 1 440px; min-width: 0; position: sticky; top: 100px; }
.gallery-main { background: var(--card); border-radius: 24px; overflow: hidden; aspect-ratio: 220 / 308; max-height: 78vh; margin: 0 auto; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s, filter 0.4s, transform 0.6s var(--spring-soft); }
.gallery-main img.swap { opacity: 0; filter: blur(12px); transform: scale(1.03); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumb { flex: 0 0 72px; height: 96px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--card); cursor: pointer; transition: transform 0.5s var(--spring); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.on { border-color: var(--ink); }
.thumb:hover { transform: translateY(-3px); }
.buy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.buy-name { font-size: clamp(32px, 4vw, 44px); margin: 4px 0 0; }
.buy-sub { margin: 0; color: var(--muted); }
.buy-price { font-size: 26px; margin: 0; }
.spec-row { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-row span { padding: 6px 14px; border-radius: 999px; background: var(--card); font-size: 14px; font-weight: 600; }
.buy-form { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 999px; flex: 0 0 auto; }
.qty button { width: 46px; height: 50px; border: 0; background: none; font-size: 20px; cursor: pointer; }
.qty input { width: 36px; border: 0; text-align: center; font-weight: 600; background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.buy-form .btn { flex: 1; }
.buy-promise { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: 18px; }
.buy-promise li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; font-size: 15px; }
.buy-promise li + li { border-top: 1.5px solid var(--line); }
.buy-promise svg { width: 22px; height: 22px; }
.buy-desc { margin-top: 12px; }
@media (max-width: 900px) { .gallery { position: static; } }

/* ---------- 定制页 ---------- */
.custom-hero { color: #fff; }
.custom-hero-in { padding-top: 96px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 18px; max-width: 820px; }
.custom-hero h1 { font-size: clamp(34px, 5.4vw, 60px); margin: 0; }
.custom-hero p { color: #d8d8d8; font-size: 18px; margin: 0; }
.custom-price { font-family: var(--display); font-size: 40px !important; color: #fff !important; }
.custom-price small { font-family: var(--font); font-size: 15px; color: #bdbdbd; margin-left: 12px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step { background: var(--card); border-radius: 24px; padding: 28px; }
.step b { font-family: var(--display); font-size: 40px; font-weight: 400; color: var(--lilac); }
.step h3 { margin: 6px 0; font-size: 20px; }
.step p { margin: 0; color: var(--muted); }

/* ---------- 表单 ---------- */
.panel { background: var(--card); border-radius: 28px; padding: clamp(24px, 4vw, 44px); }
.panel-title { font-size: 30px; margin: 0 0 6px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 14px; }
.form legend { font-size: 22px; font-weight: 600; margin-bottom: 14px; padding: 0; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.form input:not([type='radio']):not([type='file']), .form textarea, .form select { min-height: 50px; border: 1.5px solid #cfcfcf; border-radius: 14px; padding: 12px 16px; font-size: 16px; background: #fff; transition: border-color 0.2s, box-shadow 0.3s; width: 100%; }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(231, 166, 238, 0.35); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.form-grid-3 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.form-msg { min-height: 1.4em; margin: 0; font-size: 15px; }
.form-msg.err { color: #b42318; }
.form-msg.ok { color: #13723d; }
.file-drop { position: relative; display: block; border: 2px dashed #bdbdbd; border-radius: 18px; background: #fff; padding: 28px; text-align: center; cursor: pointer; transition: border-color 0.2s, transform 0.5s var(--spring); }
.file-drop:hover { border-color: var(--ink); transform: scale(1.01); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.file-drop small { color: var(--muted); font-weight: 400; }
.file-list { display: flex; gap: 10px; flex-wrap: wrap; }
.file-list img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { flex-direction: row; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--ink); cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.5s var(--spring); }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.pay-options { display: flex; flex-direction: column; gap: 10px; }
.pay-opt { flex-direction: row !important; align-items: center; gap: 14px !important; padding: 16px 20px; border: 1.5px solid #cfcfcf; border-radius: 18px; background: #fff; cursor: pointer; transition: border-color 0.2s, transform 0.5s var(--spring); }
.pay-opt:has(input:checked) { border: 2px solid var(--ink); }
.pay-opt input { width: 20px; height: 20px; accent-color: var(--ink); }
.pay-opt span { display: flex; flex-direction: column; }
.pay-opt b { font-size: 17px; }
.pay-opt small { color: var(--muted); font-weight: 400; }
.pay-opt.is-off { opacity: 0.5; cursor: not-allowed; }

/* ---------- 购物车 / 结账 ---------- */
.cart-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.cart-layout > :first-child { flex: 999 1 540px; min-width: 0; }
.summary { flex: 1 1 300px; min-width: 0; border: 1.5px solid var(--ink); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 100px; }
.summary h2 { font-size: 20px; margin: 0 0 4px; }
.sum-row { display: flex; justify-content: space-between; }
.sum-total { border-top: 1px solid var(--line); padding-top: 12px; align-items: baseline; font-weight: 600; }
.sum-total b { font-family: var(--display); font-size: 24px; font-weight: 400; }
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item { display: flex; gap: 18px; align-items: center; background: var(--card); border-radius: 20px; padding: 14px; animation: item-in 0.7s var(--spring-soft) both; }
.cart-item.out { animation: item-out 0.4s ease forwards; }
@keyframes item-in { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
@keyframes item-out { to { opacity: 0; transform: translateX(-40px); filter: blur(6px); } }
.cart-item img { width: 88px; height: 124px; object-fit: cover; border-radius: 12px; }
.cart-item .ci-main { flex: 1; min-width: 0; }
.cart-item .ci-name { font-weight: 600; font-size: 18px; }
.cart-item .ci-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.link-btn { background: none; border: 0; padding: 6px 0; text-decoration: underline; color: var(--muted); cursor: pointer; font-size: 14px; }
.mini { display: flex; gap: 12px; align-items: center; }
.mini img { width: 52px; height: 72px; object-fit: cover; border-radius: 8px; }
.mini div { flex: 1; }
.mini small { color: var(--muted); display: block; }
.empty { background: var(--card); border-radius: 20px; padding: 48px 24px; text-align: center; }
.empty .kao { font-size: 28px; margin-bottom: 8px; }
.progress { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.progress li { padding: 8px 16px; border-radius: 999px; background: var(--card); color: var(--muted); transition: background 0.3s, color 0.3s; }
.progress li.on { background: var(--ink); color: #fff; }
.progress li.done::before { content: '✓ '; }
.pay-step { animation: item-in 0.8s var(--spring-soft) both; display: flex; flex-direction: column; gap: 16px; }
.pay-box { background: var(--ink); color: #fff; border-radius: 26px; padding: 28px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.qr { width: 220px; height: 220px; flex: 0 0 auto; background: #fff; color: var(--muted); border-radius: 18px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 10px; }
.qr img { width: 100%; height: 100%; object-fit: contain; }
.pay-info { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; }
.pay-info p { margin: 0; }
.pay-amount { font-family: var(--display); font-size: 36px; }
.order-no { display: inline-block; align-self: flex-start; background: #fff; color: var(--ink); border-radius: 10px; padding: 6px 14px; font-family: var(--display); letter-spacing: 1px; font-size: 20px; }
.pay-info .muted { color: #a9a9a9; }

/* ---------- 查订单 ---------- */
.lookup { margin-bottom: 32px; }
.lookup .btn { align-self: flex-start; }
.order-card { border: 1.5px solid var(--ink); border-radius: 26px; padding: 28px; display: flex; flex-direction: column; gap: 20px; animation: item-in 0.8s var(--spring-soft) both; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; }
.timeline li { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.timeline li::before { content: ''; height: 6px; border-radius: 999px; background: var(--line); }
.timeline li.done::before { background: var(--ink); }
.timeline li.now::before { background: var(--lilac); animation: pulse 1.6s ease-in-out infinite; }
.timeline li small { font-weight: 400; color: var(--muted); }
@keyframes pulse { 50% { opacity: 0.45; } }

/* ---------- 页脚 ---------- */
.foot { background: var(--card); margin-top: 40px; }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 56px 24px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px; }
.foot-brand img { height: 60px; width: auto; }
.foot-brand p { color: var(--muted); font-size: 14px; }
.foot-col { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.foot-col h2 { font-size: 13px; letter-spacing: 2px; color: var(--muted); margin: 0 0 4px; font-weight: 600; }
.foot-col a { text-decoration: none; }
.foot-copy { text-align: center; color: var(--muted); font-size: 13px; padding: 0 24px 28px; margin: 0; }

/* ---------- WhatsApp 浮动按钮 ---------- */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 25; display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 12px 30px rgba(31, 174, 91, 0.35); animation: wa-in 0.9s var(--spring) 2.6s both; transition: transform 0.5s var(--spring); }
.wa-float:hover { color: #fff; transform: translateY(-4px) scale(1.04); }
@keyframes wa-in { from { opacity: 0; transform: translateY(40px) scale(0.6); } }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 0; width: 54px; justify-content: center; } }

/* ---------- 提示 ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translate(-50%, 30px); opacity: 0; background: rgba(17, 17, 17, 0.88); backdrop-filter: blur(12px); color: #fff; padding: 14px 22px; border-radius: 999px; display: flex; gap: 14px; align-items: center; transition: transform 0.6s var(--spring), opacity 0.3s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast a { color: var(--pink); }

.notfound { text-align: center; padding: 120px 24px; }

/* 系统设置了「减少动画」的人：关掉所有动效 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .fade-up, .reveal, .hero-title .line > span, .hero-media img, .hero-tag, .hero-btn { opacity: 1 !important; transform: none !important; filter: none !important; }
  .intro { display: none; }
}
.buy > .pill { align-self: flex-start; }

/* 首页现货板面：一排 5 个，从右往左慢慢滚动循环；按住可以拖，松手继续自动滚 */
.rail { --gap: 24px; --per: 5; --pad: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); overflow-x: auto; overflow-y: hidden; padding: 12px 0 40px; scrollbar-width: none; cursor: grab; touch-action: pan-y; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.rail::-webkit-scrollbar { display: none; }
.rail.is-live { overflow: hidden; }
.rail.dragging { cursor: grabbing; }
.rail.dragging .card { pointer-events: none; }
.rail-track { display: flex; gap: var(--gap); width: max-content; padding: 0 var(--pad); will-change: transform; }
.rail.is-live .rail-track { padding: 0; }
.rail .card { flex: 0 0 calc((min(100vw, var(--wrap)) - 48px - var(--gap) * (var(--per) - 1)) / var(--per)); user-select: none; -webkit-user-drag: none; }
.rail .card img { -webkit-user-drag: none; pointer-events: none; }
.section#boards { padding-bottom: 8px; }
@media (max-width: 1100px) { .rail { --per: 4; } }
@media (max-width: 820px) { .rail { --per: 3; --gap: 16px; } }
@media (max-width: 560px) { .rail { --per: 2.2; --gap: 14px; } .rail .card { flex-basis: calc((100vw - 32px - 14px * 2) / 2.2); } }
.section-head .eyebrow { display: block; color: var(--lilac); font-size: 12px; margin-bottom: 6px; }
.section-head:has(.eyebrow) { align-items: flex-end; }
@media (max-width: 560px) { .rail .card { padding: 10px 10px 14px; } .rail .card-name { font-size: 16px; letter-spacing: 0; margin-top: 12px; } .rail .card-specs { display: none; } .rail .card-price s { display: block; margin: 0; } }

.custom-art { overflow: hidden; }
.custom-art-photo { padding: 0; background: #1e1e1e; }
.custom-art-photo img { width: 100%; max-width: none; height: 100%; min-height: 300px; object-fit: cover; animation: none; transition: transform 1.2s var(--spring-soft); }
.custom-banner:hover .custom-art-photo img { transform: scale(1.05); }
.custom-art-photo { position: relative; min-height: 320px; } .custom-art-photo img { position: absolute; inset: 0; min-height: 0; }

/* 关于 HTT：去掉轨道线条，只留 logo（默认轻轻浮动；换成动画 logo 后就照原样播放） */
.orbit { position: relative; width: min(460px, 78vw); aspect-ratio: auto; }
.orbit-logo { position: static; display: block; width: 100%; height: auto; filter: none; animation: none; }
.orbit-float .orbit-logo { animation: float 5s ease-in-out infinite; }
.about-eyebrow { font-size: 12px; letter-spacing: 4px; color: #9a9a9a; }
@media (max-width: 560px) { .custom-art { min-height: 180px; flex-basis: 100%; } .custom-art img { width: 46%; } .custom-art-photo { min-height: 220px; } .custom-art-photo img { width: 100%; } }
