/* ============================================================
   观化茶院 · 品牌官网
   意境：慢、真、近 —— 烟雨、茶烟、墨晕、呼吸
   ============================================================ */

:root {
  --tea-deep: #0F6E56;
  --tea-mid: #5DCAA5;
  --tea-mist: #E1F5EE;
  --rice: #F1EFE8;
  --rice-warm: #EDEAE0;
  --ink: #2C2C2A;
  --ink-soft: #4a4a46;
  --amber: #BA7517;
  --amber-light: #FAC775;
  --seal: #A63A2B;
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "Noto Sans SC", "PingFang SC", sans-serif;
  --brush: "Ma Shan Zheng", "Noto Serif SC", cursive;
  --ease-slow: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* 自适应核心：根字号随视口等比缩放（16px@1920，0.8334vw），全站 rem 尺寸跟随，
   1440-3600px 之间与设计稿等比（同老站 vw 方案效果）；12px 下限保笔记本可读，30px 上限防超大屏失控 */
html { scroll-behavior: smooth; font-size: clamp(12px, 0.8334vw, 30px); }
body {
  font-family: var(--sans);
  background: var(--rice);
  color: var(--ink);
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* 图片裁切：隐藏右下角水印 */
.img-crop { overflow: hidden; }
.img-crop img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.09); }

/* ---------- 开场墨幕 ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: radial-gradient(ellipse at center, #2A4231 0%, #1B3224 55%, #0C1F15 100%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 1.2s var(--ease-slow), visibility 1.2s;
}
.preloader.done { opacity: 0; visibility: hidden; }
/* 返回访客态：从二级页/内容页回到首页（或浏览器后退、刷新）时跳过开场墨幕与首屏墨字入场，
   由 main.js 恢复离开时的滚动位置；视口以下的滚动浮现动效仍保留 */
html.returning .preloader { display: none; }
html.returning .ink-char,
html.returning .reveal-ink,
html.returning .hero-divider,
html.returning .hero-vertical,
html.returning .hero-scroll { animation: none; opacity: 1; filter: none; transform: none; }
/* 开屏 logo：竖排「观化 GuanTea」标准书法标，三段（观/化/英文）从上到下逐段显现 */
.preloader-logo {
  position: relative;
  height: min(44vh, 20rem);
  aspect-ratio: 192 / 446;
}
.pre-seg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; filter: blur(0.875rem);
  animation: inkIn .9s var(--ease-slow) forwards;
  animation-delay: calc(var(--i) * .45s);
}
@keyframes inkIn { to { opacity: 1; filter: blur(0); } }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 4vw, 3.5rem);
  transition: background .6s, box-shadow .6s, padding .6s;
}
.nav.scrolled {
  background: rgba(241, 239, 232, .92);
  backdrop-filter: blur(0.875rem);
  box-shadow: 0 1px 0 rgba(44,44,42,.08);
  padding-top: .7rem; padding-bottom: .7rem;
}
.nav-brand { display: flex; align-items: center; gap: .7rem; }
/* 页脚品牌章（红方块「观」） */
.nav-seal {
  flex: none; display: grid; place-items: center;
  width: 2.3rem; height: 2.3rem;
  background: var(--seal); color: #fff;
  font-family: var(--brush); font-size: 1.35rem;
  border-radius: 0.25rem;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}
.nav-title {
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem;
  letter-spacing: .35em; color: var(--rice); transition: color .6s;
}
.nav.scrolled .nav-title { color: var(--ink); }
.nav-logo {
  flex: none; height: 2.7rem; width: auto; display: block;
  border-radius: 0.25rem; object-fit: contain;
  filter: drop-shadow(0 2px 0.3125rem rgba(0,0,0,.4));
}
.nav-links { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav-links a {
  font-size: .92rem; letter-spacing: .15em; color: rgba(241,239,232,.9);
  position: relative; padding: .3rem 0; transition: color .6s;
}
.nav.scrolled .nav-links a { color: var(--ink-soft); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--amber);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-slow);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover, .nav-links a.active { color: var(--amber-light); }
.nav.scrolled .nav-links a:hover, .nav.scrolled .nav-links a.active { color: var(--tea-deep); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav-burger span { display: block; width: 1.5rem; height: 2px; background: var(--rice); margin: 0.3125rem 0; transition: .4s; }
.nav.scrolled .nav-burger span { background: var(--ink); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--ink);
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-img {
  width: 100%; height: 100%; object-fit: cover; transform: scale(1.12);
  animation: kenburns 70s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.12) translate(0, 0); }
  to   { transform: scale(1.22) translate(-1.5%, -2%); }
}
.hero-rain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .5; }
.hero-fog {
  position: absolute; width: 140%; height: 45%;
  left: -20%; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(241,239,232,.35) 0%, rgba(241,239,232,0) 65%);
  filter: blur(1.875rem);
}
.hero-fog-a { top: 32%; animation: fogDrift 46s ease-in-out infinite alternate; }
.hero-fog-b { top: 58%; animation: fogDrift 62s ease-in-out infinite alternate-reverse; opacity: .7; }
@keyframes fogDrift {
  from { transform: translateX(-6%) translateY(0); }
  to   { transform: translateX(6%) translateY(-4%); }
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(44,44,42,.42) 0%, rgba(44,44,42,.12) 34%, rgba(44,44,42,.16) 66%, rgba(44,44,42,.6) 100%);
}
.hero-content { position: relative; z-index: 3; text-align: center; padding: 0 1.5rem; }
.hero-eyebrow {
  font-size: clamp(.85rem, 1.4vw, 1rem); letter-spacing: .5em; text-indent: .5em;
  color: rgba(241,239,232,.85); margin-bottom: 1.3rem;
}
.hero-title {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(3.4rem, 10vw, 7.5rem);
  color: var(--rice); letter-spacing: .18em;
  text-shadow: 0 0.375rem 2.5rem rgba(0,0,0,.35);
  line-height: 1.15;
}
.ink-char {
  display: inline-block; opacity: 0; filter: blur(1.375rem);
  transform: translateY(1.5rem) scale(1.06);
  animation: charIn 1.8s var(--ease-slow) forwards;
  animation-delay: calc(1.2s + var(--i) * .3s);
}
@keyframes charIn { to { opacity: 1; filter: blur(0); transform: none; } }
.hero-slogan {
  margin-top: 1.3rem;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.15rem, 2.6vw, 1.8rem);
  letter-spacing: .5em; text-indent: .5em; color: var(--rice);
}
.hero-divider {
  width: 1px; height: 2.4rem; margin: 1rem auto .9rem;
  background: linear-gradient(to bottom, transparent, var(--amber-light), transparent);
  opacity: 0; animation: fadeIn 1.5s ease 2.2s forwards;
}
.hero-sub {
  font-size: clamp(.8rem, 1.3vw, .95rem); letter-spacing: .45em; text-indent: .45em;
  color: rgba(250, 199, 117, .92);
}
.reveal-ink { opacity: 0; filter: blur(0.625rem); animation: revealInk 1.8s var(--ease-slow) forwards; animation-delay: var(--d, .4s); }
@keyframes revealInk { to { opacity: 1; filter: blur(0); } }
@keyframes fadeIn { to { opacity: 1; } }

.hero-vertical {
  position: absolute; right: clamp(1rem, 4vw, 3.2rem); top: 50%;
  transform: translateY(-50%); z-index: 3;
  writing-mode: vertical-rl;
  font-family: var(--serif); font-size: .95rem; letter-spacing: .35em;
  color: rgba(241,239,232,.65);
  border-right: 1px solid rgba(241,239,232,.25); padding-right: .9rem;
  opacity: 0; animation: fadeIn 2s ease 2.6s forwards;
}
.hero-scroll {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .7rem;
  opacity: 0; animation: fadeIn 2s ease 2.8s forwards;
}
.hero-scroll-line {
  width: 1px; height: 3rem; overflow: hidden; position: relative;
  background: rgba(241,239,232,.25);
}
.hero-scroll-line::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--amber-light); animation: scrollLine 2.4s var(--ease-slow) infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 60%, 100% { top: 100%; } }
.hero-scroll-text { font-size: .78rem; letter-spacing: .5em; color: rgba(241,239,232,.8); }

/* ---------- 通用章节 ---------- */
section { position: relative; }
.sec-head { text-align: center; max-width: 46rem; margin: 0 auto; padding: 0 1.5rem 3.2rem; }
.sec-eyebrow {
  font-size: .82rem; letter-spacing: .5em; text-indent: .5em;
  color: var(--tea-deep); margin-bottom: 1.1rem;
}
.sec-eyebrow.light { color: var(--tea-mid); }
.sec-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  letter-spacing: .12em; color: var(--ink); line-height: 1.5;
}
.sec-title.light { color: var(--rice); }
.sec-sub { margin-top: .9rem; font-size: .95rem; color: var(--ink-soft); letter-spacing: .1em; }
.sec-sub.light { color: rgba(241,239,232,.65); }

/* 滚动浮现：墨晕式 */
.reveal {
  opacity: 0; transform: translateY(2.125rem); filter: blur(0.5rem);
  transition: opacity 1.3s var(--ease-slow), transform 1.3s var(--ease-slow), filter 1.3s var(--ease-slow);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; filter: blur(0); }

/* ---------- 引言 ---------- */
.intro { padding: clamp(5rem, 12vw, 9rem) 1.5rem; background: var(--rice); }
.intro-inner {
  max-width: 64rem; margin: 0 auto;
  display: flex; align-items: flex-start; gap: 3rem;
  text-align: left;
}
.intro-avatar {
  flex: none;
  width: 11rem; height: 11rem; border-radius: 50%;
  overflow: hidden; /* 圆形裁切，外圆尺寸不变 */
  border: 3px solid rgba(15,110,86,.22);
  box-shadow: 0 0.75rem 2rem rgba(20,50,40,.14);
  /* 用背景图 + background-size 放大面部，避免子元素 transform 导致圆角裁切失效 */
  background-image: url("../assets/images/li-yapeng.jpg");
  background-repeat: no-repeat;
  background-size: 130%;            /* 放大面部 */
  background-position: center 28%;  /* 竖构图照片，取景下移到面部中心 */
}
.intro-body { flex: 1; min-width: 0; }
.intro-quote {
  font-family: "楷体", "KaiTi", "STKaiti", "KaiTi_GB2312", var(--serif); font-weight: 400;
  font-size: clamp(.9rem, 1.45vw, 1.04rem);
  line-height: 2.1; letter-spacing: .05em; color: var(--ink);
  text-align: justify; text-indent: 2em;
}
.intro-quote + .intro-quote { margin-top: 1.05rem; }
@media (max-width: 768px) {
  .intro-inner { flex-direction: column; gap: 1.8rem; }
  .intro-avatar { width: 8.5rem; height: 8.5rem; }
}
.intro-mark {
  display: block; width: fit-content; margin: 2.2rem 0 0 auto; /* 随文字区居右 */
  font-family: var(--brush); font-size: 1.3rem; color: var(--seal);
  letter-spacing: .2em;
  border: 1.5px solid var(--seal); border-radius: 0.25rem; padding: .25rem .9rem;
  opacity: .85; transform: rotate(-3deg);
}

/* ---------- 观化之道（墨夜） ---------- */
.dao {
  background: radial-gradient(ellipse 120% 90% at 70% 20%, #3a3a36 0%, var(--ink) 55%, #222220 100%);
  color: var(--rice); overflow: hidden;
  padding: clamp(5.5rem, 12vw, 9.5rem) clamp(1.2rem, 5vw, 4rem);
}
.dao-smoke { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .55; }
.dao-inner {
  position: relative; z-index: 2;
  max-width: 75rem; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center;
}
.dao-heading { display: flex; gap: 1.6rem; margin: 1.4rem 0 2.6rem; }
.dao-char {
  font-family: var(--brush);
  font-size: clamp(5rem, 11vw, 8rem); line-height: 1;
  color: var(--rice);
  animation: breathe 6s ease-in-out infinite;
}
.dao-char:nth-child(2) { color: var(--tea-mid); animation-delay: 3s; }
@keyframes breathe {
  0%, 100% { opacity: .92; text-shadow: 0 0 1.875rem rgba(93,202,165,0); }
  50% { opacity: 1; text-shadow: 0 0 2.875rem rgba(93,202,165,.35); }
}
.dao-def { margin-bottom: 2rem; padding-left: 1.3rem; border-left: 2px solid rgba(93,202,165,.35); }
.dao-def h3 {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 600;
  letter-spacing: .25em; color: var(--amber-light); margin-bottom: .6rem;
}
.dao-def p { font-size: .98rem; color: rgba(241,239,232,.78); max-width: 30rem; }
.dao-slogan {
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid rgba(93,202,165,.18);
}
.slogan-1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(.95rem, 1.6vw, 1.1rem);
  letter-spacing: .35em; text-indent: .35em;
  color: rgba(241,239,232,.55); margin-bottom: 1.1rem;
}
.slogan-2 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  letter-spacing: .26em; text-indent: .26em; line-height: 1.45;
  color: var(--amber-light); margin-bottom: 1.1rem;
}
.slogan-3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  letter-spacing: .3em; text-indent: .3em;
  color: var(--tea-mid);
}
.dao-img-wrap {
  border-radius: 2px; aspect-ratio: 2 / 3;
  box-shadow: 0 2.5rem 5.625rem rgba(0,0,0,.5);
}
.dao-img { animation: imgSway 14s ease-in-out infinite alternate; }
@keyframes imgSway { from { transform: scale(1.09) translateX(-1%); } to { transform: scale(1.13) translateX(1%); } }
.dao-img-caption {
  margin-top: 1rem; text-align: center;
  white-space: nowrap;
  font-size: .7rem; letter-spacing: .02em;
  color: rgba(241,239,232,.45);
}

/* ---------- 万里溯源（全幅视差） ---------- */
.story {
  min-height: 100dvh; display: flex; align-items: center;
  overflow: hidden; color: var(--rice);
  padding: clamp(6rem, 14vw, 10rem) clamp(1.2rem, 5vw, 4rem);
}
.story-bg { position: absolute; inset: -12% 0; z-index: 0; overflow: hidden; }
.story-img { width: 100%; height: 100%; object-fit: cover; object-position: center; /* 底图为用户定稿雾中栈道图 1920x1200（1.6），cover 居中仅左右微裁约 19%、上下零裁，人物居中不受损 */ transform: scale(1); will-change: transform; }
.story-veil {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(30,30,28,.82) 0%, rgba(30,30,28,.45) 55%, rgba(30,30,28,.25) 100%);
}
.story-content { position: relative; z-index: 2; max-width: 75rem; margin: 0 auto; width: 100%; }
.story-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  letter-spacing: .1em; line-height: 1.7; margin: 1.2rem 0 1.6rem;
  text-shadow: 0 0.25rem 1.875rem rgba(0,0,0,.4);
}
.story-desc { max-width: 34rem; font-size: 1rem; color: rgba(241,239,232,.85); }
.story-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem; margin-top: 3.6rem; max-width: 46rem;
}
.stat { border-top: 1px solid rgba(250,199,117,.45); padding-top: 1rem; white-space: nowrap; }
.stat-num {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--amber-light);
}
.stat-unit { font-size: .9rem; color: rgba(241,239,232,.7); margin-left: .2rem; }
.stat p { font-size: .85rem; letter-spacing: .25em; color: rgba(241,239,232,.65); margin-top: .2rem; }

/* ---------- 访茶地图 ---------- */
.map-sec { padding: clamp(5.5rem, 12vw, 9rem) clamp(1.2rem, 5vw, 4rem) clamp(4rem, 9vw, 7rem); background: var(--rice); }
.map-wrap {
  max-width: 86.25rem; margin: 0 auto;
  display: grid; grid-template-columns: 2.1fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start;
}
.map-svg { width: 100%; height: auto; }
.map-marker { cursor: pointer; }
.map-marker circle.pulse {
  animation: markerPulse 2.6s ease-out infinite;
  transform-origin: center; transform-box: fill-box;
}
@keyframes markerPulse {
  0% { transform: scale(.4); opacity: .9; }
  100% { transform: scale(2.6); opacity: 0; }
}
.map-marker text {
  font-family: var(--serif); font-size: 13px; fill: var(--ink);
  letter-spacing: 1px; pointer-events: none;
  /* 标签常显：白色描边垫底（halo），压住山形线也清晰 */
  paint-order: stroke; stroke: rgba(241,239,232,.85); stroke-width: 3px; stroke-linejoin: round;
  transition: fill .2s;
}
.map-marker:hover text, .map-marker.on text { fill: var(--tea-deep); font-weight: 700; }
.map-card {
  background: #fff; border-radius: 2px;
  padding: 2rem 1.7rem;
  border-top: 3px solid var(--tea-deep);
  box-shadow: 0 1.5rem 3.75rem rgba(44,44,42,.1);
  align-self: start;
  width: 100%; max-width: 18.125rem;
  justify-self: end;
  min-height: 16rem;
  transition: opacity .4s;
}
.map-card-tag { font-size: .78rem; letter-spacing: .4em; color: var(--amber); margin-bottom: .8rem; }
.map-card h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; letter-spacing: .15em; }
.map-card-meta { font-size: .85rem; color: var(--ink-soft); margin: .3rem 0 1rem; letter-spacing: .1em; }
.map-card-desc { font-size: .94rem; color: var(--ink-soft); }
.map-card-tea { margin-top: 1.1rem; font-size: .88rem; color: var(--tea-deep); letter-spacing: .05em; }

/* 茶农纪实 */
.farmer {
  max-width: 75rem; margin: clamp(4rem, 9vw, 7rem) auto 0;
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.farmer-img-wrap { aspect-ratio: 1 / 1; border-radius: 2px; box-shadow: 0 1.875rem 4.375rem rgba(44,44,42,.16); }
.farmer-quote {
  font-family: var(--serif); font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-weight: 600; line-height: 2; letter-spacing: .08em;
  margin: 1.1rem 0 1.3rem; color: var(--ink);
}
.farmer-text p { color: var(--ink-soft); font-size: .98rem; max-width: 32rem; }
.farmer-sign {
  display: inline-flex; align-items: center; gap: .35em;
  margin-top: 1.6rem; font-size: .9rem;
  color: var(--seal); letter-spacing: .1em;
  text-decoration: none; cursor: pointer;
  background: none; border: 0; padding: 0; font-family: inherit;
  transition: gap .3s, opacity .3s;
}
.farmer-sign:hover { gap: .7em; opacity: .75; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 观化好茶 ---------- */
.tea { padding: clamp(5.5rem, 12vw, 9rem) clamp(1.2rem, 5vw, 4rem); background: var(--rice-warm); }
.tea-tabs { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; margin-bottom: 3.2rem; }
.tea-tab {
  font-family: var(--serif); font-size: .98rem; letter-spacing: .25em; text-indent: .25em;
  padding: .55rem 1.6rem; border-radius: 999px;
  border: 1px solid rgba(15,110,86,.35); background: transparent; color: var(--tea-deep);
  cursor: pointer; transition: all .45s var(--ease-slow);
}
.tea-tab:hover { background: rgba(15,110,86,.08); }
.tea-tab.active { background: var(--tea-deep); color: var(--rice); border-color: var(--tea-deep); }
.tea-grid {
  max-width: 75rem; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem;
}
.tea-card {
  background: #fff; border-radius: 3px; overflow: hidden;
  box-shadow: 0 0.875rem 2.5rem rgba(44,44,42,.07);
  transition: transform .6s var(--ease-slow), box-shadow .6s var(--ease-slow), opacity .5s, filter .5s;
}
.tea-card:hover { transform: translateY(-0.5rem); box-shadow: 0 1.875rem 4.375rem rgba(44,44,42,.14); }
.tea-card.hidden { display: none; }
.tea-card-img { aspect-ratio: 1 / 1; }
.tea-card-img img { transition: transform 1.2s var(--ease-slow); }
/* 竖图产品：完整显示不裁切（contain），白底留白居中 */
.tea-card-img img.fit-full { object-fit: contain; transform: none; background: #fff; }
.tea-card:hover .tea-card-img img.fit-full { transform: scale(1.03); }
.tea-card:hover .tea-card-img img { transform: scale(1.16); }
.tea-card-body { padding: 1.3rem 1.3rem 1.5rem; }
.tea-tag { font-size: .75rem; letter-spacing: .2em; color: var(--amber); }
.tea-card h3 { font-family: var(--serif); font-size: 1.12rem; font-weight: 700; letter-spacing: .08em; margin: .5rem 0 .6rem; }
.tea-taste { font-size: .88rem; color: var(--ink); line-height: 1.8; }
.tea-origin { font-size: .78rem; color: var(--ink-soft); margin-top: .6rem; opacity: .8; }
.tea-card-foot {
  display: flex; align-items: center; justify-content: center;
  margin-top: 1rem; padding-top: .9rem; border-top: 1px dashed rgba(44,44,42,.15);
}
.tea-price { font-family: var(--serif); font-weight: 700; color: var(--tea-deep); }
/* 进入店铺按钮：琥珀描边胶囊，悬停轻微填充 */
.tea-badge {
  font-size: .78rem; letter-spacing: .14em; text-indent: .14em;
  color: var(--amber);
  border: 1px solid rgba(186,117,23,.5); border-radius: 999px; padding: .18rem 1.15rem;
  transition: background .25s ease, border-color .25s ease;
}
.tea-badge a { display: inline-block; }
.tea-badge:hover { background: rgba(186,117,23,.08); border-color: var(--amber); }
.tea-note { text-align: center; margin-top: 3rem; font-size: .9rem; color: var(--ink-soft); letter-spacing: .1em; }
.tea-more-wrap { display: flex; justify-content: center; margin-top: 2.6rem; }
.tea-more {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--serif); font-size: 1rem; letter-spacing: .2em; text-indent: .2em;
  color: var(--tea-deep); border: 1px solid rgba(15,110,86,.4);
  padding: .7rem 2.4rem; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: all .4s var(--ease-slow);
}
.tea-more:hover { background: var(--tea-deep); color: var(--rice); gap: .95em; }
/* 箭头为内联 SVG：不依赖字体字形，永远垂直居中，颜色随按钮 currentColor */
.tea-more-arrow, .life-more-arrow { display: block; width: 0.4375rem; height: 0.6875rem; flex: none; }

/* ---------- 茶生活（墨夜） ---------- */
.life {
  background: linear-gradient(170deg, #232321 0%, var(--ink) 60%);
  padding: clamp(5.5rem, 12vw, 9rem) clamp(1.2rem, 5vw, 4rem);
  color: var(--rice);
}
.life-grid {
  max-width: 75rem; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem;
}
.life-card {
  background: rgba(241,239,232,.045);
  border: 1px solid rgba(241,239,232,.09);
  border-radius: 3px; overflow: hidden;
  transition: transform .6s var(--ease-slow), border-color .6s, background .6s;
}
.life-card:hover { transform: translateY(-0.375rem); border-color: rgba(93,202,165,.4); background: rgba(241,239,232,.07); }
.life-card-img { aspect-ratio: 16 / 10; }
.life-card-img img { transition: transform 1.4s var(--ease-slow); filter: saturate(.92); }
.life-card:hover .life-card-img img { transform: scale(1.14); }
.life-card-body { padding: 1.5rem 1.5rem 1.7rem; }
.life-tag { font-size: .75rem; letter-spacing: .3em; color: var(--tea-mid); }
.life-card h3 {
  font-family: var(--serif); font-size: 1.12rem; font-weight: 600;
  line-height: 1.8; letter-spacing: .05em; margin: .7rem 0 .7rem;
}
.life-card p { font-size: .88rem; color: rgba(241,239,232,.62); }
.life-more {
  display: inline-block; margin-top: 1.1rem;
  font-size: .82rem; letter-spacing: .25em; color: var(--amber-light);
  border-bottom: 1px solid rgba(250,199,117,.4); padding-bottom: .15rem;
  transition: letter-spacing .4s;
}
.life-card:hover .life-more { letter-spacing: .4em; }
.life-more-wrap { display: flex; justify-content: center; margin-top: 3rem; }
.life-more-btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--serif); font-size: 1rem; letter-spacing: .2em; text-indent: .2em;
  color: var(--rice); border: 1px solid rgba(241,239,232,.4);
  padding: .7rem 2.4rem; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: all .4s var(--ease-slow);
}
.life-more-btn:hover { background: var(--rice); color: var(--ink); gap: .95em; }

/* ---------- 观化资讯 · 两板块重写 ---------- */
.news-block { max-width: 75rem; margin: 0 auto; }
.news-cols {
  max-width: 80rem; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem;
  align-items: start;
}
.news-block + .news-block { margin-top: 0; }
.news-block-head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.8rem; }
.news-block-head::before {
  content: ""; width: 1.875rem; height: 2px; background: var(--tea-mid); border-radius: 2px;
}
.news-block-title {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  letter-spacing: .18em; color: var(--rice);
}
/* 媒体报道：高亮突出 */
.news-media {
  background: linear-gradient(135deg, rgba(186,117,23,.12), rgba(15,110,86,.10));
  border: 1px solid rgba(250,199,117,.30);
  border-radius: 0.5rem;
  padding: 2.2rem clamp(1.2rem, 3vw, 2.6rem);
  box-shadow: 0 1.125rem 3.125rem rgba(0,0,0,.28);
}
.news-media .news-block-head::before { background: var(--amber-light); }
.news-media .news-block-title { color: var(--amber-light); }

.news-feature {
  display: grid; grid-template-columns: 1.45fr 1fr; gap: 2rem; align-items: center;
}
.news-cols .news-feature { grid-template-columns: 1fr; gap: 1.2rem; }
.news-cols .news-feature h3 { font-size: 1.28rem; }
.news-cols .news-feature p { font-size: .9rem; }
.news-feature-img { aspect-ratio: 16 / 10; border-radius: 0.3125rem; overflow: hidden; }
.news-feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-slow); }
.news-feature:hover .news-feature-img img { transform: scale(1.06); }
.news-feature-body { padding: .2rem 0; }
.news-tag {
  display: inline-block; font-size: .76rem; letter-spacing: .3em;
  color: var(--amber-light); margin-bottom: .7rem;
}
.news-tag-tea { color: var(--tea-mid); }
.news-feature h3 {
  font-family: var(--serif); font-size: 1.45rem; font-weight: 600;
  line-height: 1.7; letter-spacing: .04em; margin-bottom: .8rem;
}
.news-feature p { font-size: .92rem; line-height: 1.95; color: rgba(241,239,232,.72); }
a.news-feature { color: inherit; text-decoration: none; }

.news-list { list-style: none; margin-top: 1.9rem; border-top: 1px solid rgba(241,239,232,.12); }
.news-list li {
  display: flex; align-items: baseline; gap: 1.1rem;
  padding: 1rem 0; border-bottom: 1px solid rgba(241,239,232,.10);
}
.news-list a {
  flex: 1; font-size: .98rem; letter-spacing: .03em; color: var(--rice);
  text-decoration: none; transition: color .3s, padding-left .3s;
}
.news-list a:hover { color: var(--amber-light); padding-left: .3rem; }
.news-list .news-date {
  flex: none; font-size: .8rem; letter-spacing: .06em;
  color: rgba(241,239,232,.45); white-space: nowrap;
}

/* 茶生活资讯：小图 + 标题 + 两句简介 */
.life-items { list-style: none; margin-top: .2rem; }
.life-item {
  display: grid; grid-template-columns: 6.75rem 1fr; gap: 1.1rem;
  padding: 1.05rem 0; border-bottom: 1px solid rgba(241,239,232,.10);
  align-items: start; cursor: pointer;
}
.life-item:first-child { padding-top: .3rem; }
.life-item:last-child { border-bottom: 0; }
.life-item-img { aspect-ratio: 4 / 3; border-radius: 0.25rem; overflow: hidden; }
.life-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-slow); }
.life-item:hover .life-item-img img { transform: scale(1.08); }
.life-item-body h4 {
  font-family: var(--serif); font-size: 1rem; font-weight: 600;
  letter-spacing: .04em; line-height: 1.6; margin-bottom: .35rem;
  transition: color .3s;
}
.life-item:hover .life-item-body h4 { color: var(--tea-mid); }
.life-item-body p {
  font-size: .85rem; line-height: 1.8; color: rgba(241,239,232,.58);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- 观化活动 ---------- */
.exhibit { padding: clamp(5.5rem, 12vw, 9rem) clamp(1.2rem, 5vw, 4rem); background: var(--rice); }
.exhibit-main {
  max-width: 75rem; margin: 0 auto;
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.exhibit-img-wrap { aspect-ratio: 16 / 11; border-radius: 2px; box-shadow: 0 1.875rem 5rem rgba(44,44,42,.18); }
.exhibit-badge {
  display: inline-block; font-size: .76rem; letter-spacing: .35em; text-indent: .35em;
  color: #fff; background: var(--seal); padding: .3rem 1rem; border-radius: 2px; margin-bottom: 1.2rem;
}
.exhibit-info h3 {
  font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700; letter-spacing: .08em; line-height: 1.6;
}
.exhibit-meta { font-size: .88rem; color: var(--amber); margin: .7rem 0 1.1rem; letter-spacing: .1em; }
.exhibit-info > p { font-size: .96rem; color: var(--ink-soft); max-width: 30rem; }
.btn {
  display: inline-block; margin-top: 1.8rem;
  font-family: var(--serif); font-size: .95rem; letter-spacing: .35em; text-indent: .35em;
  padding: .85rem 2.4rem; border-radius: 2px;
  transition: all .5s var(--ease-slow); cursor: pointer; border: 1px solid var(--tea-deep);
}
.btn-primary { background: var(--tea-deep); color: var(--rice); }
.btn-primary:hover { background: transparent; color: var(--tea-deep); }
.exhibit-past {
  max-width: 75rem; margin: 3.5rem auto 0;
  border-top: 1px solid rgba(44,44,42,.12);
}
.past-item {
  display: flex; align-items: baseline; gap: 2rem;
  padding: 1.2rem .4rem; border-bottom: 1px solid rgba(44,44,42,.12);
  transition: background .4s, padding-left .4s;
}
.past-item:hover { background: rgba(15,110,86,.05); padding-left: 1rem; }
.past-year { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--tea-deep); min-width: 3.5rem; }
.past-item p { font-size: .95rem; color: var(--ink-soft); line-height: 1.7; }
.past-head {
  font-family: var(--brush);
  font-size: 1.65rem;
  letter-spacing: .12em;
  color: var(--tea-deep);
  margin: 0 0 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.past-head::after {
  content: "";
  width: 1.6rem;
  height: 1rem;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M1 8 H20 M14 2 L21 8 L14 14' fill='none' stroke='%230F6E56' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  opacity: .75;
}
.past-name { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--tea-deep); min-width: 5.5rem; white-space: nowrap; }
.exhibit-more-btn { display: inline-flex; align-items: center; gap: .5em; margin-top: 2rem; padding: .7rem 1.8rem; font-family: var(--serif); font-size: .95rem; letter-spacing: .2em; text-indent: .2em; color: var(--tea-deep); border: 1px solid var(--tea-deep); border-radius: 999px; background: transparent; transition: all .4s var(--ease-slow); }
.exhibit-more-btn:hover { background: var(--tea-deep); color: var(--rice); gap: .95em; }
.exhibit-more-arrow { font-size: 1.2em; line-height: 1; }

/* ---------- 关于我们（墨夜） ---------- */
.about {
  background: radial-gradient(ellipse 110% 80% at 30% 10%, #38382f 0%, var(--ink) 60%);
  padding: clamp(5.5rem, 12vw, 9rem) clamp(1.2rem, 5vw, 4rem) clamp(4.5rem, 10vw, 8rem);
  color: var(--rice);
}
.about-timeline {
  max-width: 75rem; margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.4rem;
}
.about-node {
  text-align: center; padding: 2rem 1rem 1.6rem;
  border: 1px solid rgba(241,239,232,.1); border-radius: 3px;
  transition: border-color .5s, background .5s, transform .5s var(--ease-slow);
}
.about-node:hover { border-color: rgba(250,199,117,.45); background: rgba(250,199,117,.05); transform: translateY(-0.3125rem); }
.about-char {
  display: inline-grid; place-items: center;
  width: 3.4rem; height: 3.4rem; margin-bottom: 1rem;
  font-family: var(--brush); font-size: 1.9rem; color: var(--amber-light);
  border: 1px solid rgba(250,199,117,.5); border-radius: 50%;
}
.about-node h3 { font-family: var(--serif); font-size: 1.02rem; letter-spacing: .3em; text-indent: .3em; margin-bottom: .6rem; }
.about-node p { font-size: .82rem; color: rgba(241,239,232,.62); line-height: 1.9; }
.about-extra {
  max-width: 75rem; margin: 3.5rem auto 0;
  display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: 2rem;
  align-items: start;
}
.about-block { border-top: 2px solid rgba(93,202,165,.4); padding-top: 1.3rem; }
.about-block h4 { font-family: var(--serif); font-size: 1.02rem; letter-spacing: .3em; color: var(--tea-mid); margin-bottom: .7rem; }
/* 标题后的浅色小字备注 */
.about-block h4 .partner-note {
  font-size: .68em; font-weight: 400; letter-spacing: .06em;
  color: rgba(241,239,232,.5); margin-left: .25em; white-space: nowrap;
}
.about-block p { font-size: .88rem; color: rgba(241,239,232,.66); }
.about-list { list-style: none; margin: 0; padding: 0; }
.about-list li {
  position: relative;
  padding-left: 1.1em;
  font-size: .9rem;
  color: rgba(241,239,232,.72);
  line-height: 2.2;
  letter-spacing: .03em;
}
.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .95em;
  width: .38em;
  height: .38em;
  border-radius: 50%;
  background: var(--tea-mid);
  opacity: .85;
}
.about-list li a { color: inherit; text-decoration: none; transition: color .3s; }
.about-list li a:hover { color: var(--amber-light); }

/* 品牌共创伙伴：横向标签墙，自动换行 */
.partner-tags {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .65rem .7rem;
}
.partner-tags li {
  font-family: var(--serif); font-size: .88rem; letter-spacing: .1em;
  line-height: 1.5; color: rgba(241,239,232,.82);
  padding: .42rem 1.05rem;
  border: 1px solid rgba(93,202,165,.38); border-radius: 999px;
  background: rgba(93,202,165,.07);
  white-space: nowrap;
  transition: border-color .25s, background .25s, color .25s, transform .25s;
}
.partner-tags li:hover {
  border-color: var(--tea-mid); background: rgba(93,202,165,.16);
  color: var(--rice); transform: translateY(-2px);
}

/* ---------- Footer ---------- */
.footer { background: #1e1e1c; color: rgba(241,239,232,.72); }
.footer-inner {
  max-width: 75rem; margin: 0 auto;
  padding: 3.5rem clamp(1.2rem, 5vw, 4rem) 2.5rem;
  display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: flex-start; gap: 1rem; }
.footer-logo { display: block; height: 4rem; width: auto; flex: none; opacity: .92; }
.footer-name { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; letter-spacing: .35em; color: var(--rice); }
.footer-slogan { font-size: .82rem; letter-spacing: .2em; margin-top: .4rem; color: rgba(241,239,232,.5); }
.footer-cols { display: flex; gap: clamp(2rem, 6vw, 5rem); flex-wrap: wrap; }
.footer-col h5 { font-size: .85rem; letter-spacing: .3em; color: rgba(241,239,232,.45); margin-bottom: 1rem; font-weight: 400; }
.footer-col a { display: block; font-size: .9rem; padding: .25rem 0; transition: color .3s; }
.footer-col a:hover { color: var(--amber-light); }
.footer-col p { font-size: .9rem; padding: .25rem 0; }
/* 抖音二维码栏：标题与说明文字相对二维码居中 */
.footer-col-qr { text-align: center; }
.footer-col-qr .qr-box { margin-left: auto; margin-right: auto; }
.footer-col-qr h5 { text-indent: .3em; }
.footer-col-qr .qr-note { text-indent: .1em; }
.qr-row { display: flex; gap: .8rem; }
.footer-col .qr-box {
  display: block; width: 7.5rem; height: 7.5rem; flex: none;
  padding: .35rem; border-radius: .6rem; background: #f5f3ec;
  box-shadow: 0 .5rem 1.4rem rgba(0,0,0,.28);
  transition: transform .3s ease, box-shadow .3s ease;
}
.qr-box img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: .3rem; }
.qr-box:hover { transform: translateY(-3px); box-shadow: 0 .8rem 1.8rem rgba(0,0,0,.38); }
.qr-note { font-size: .78rem; margin-top: .6rem; color: rgba(241,239,232,.4); letter-spacing: .1em; }
.footer-base {
  border-top: 1px solid rgba(241,239,232,.08);
  text-align: center; padding: 1.4rem;
  font-size: .78rem; letter-spacing: .2em; color: rgba(241,239,232,.35);
}
/* 备案号 */
.icp-line { margin-top: .45rem; font-size: .72rem; letter-spacing: .08em; color: rgba(241,239,232,.55); }
.icp-line a { color: inherit; text-decoration: none; transition: color .2s ease; }
.icp-line a:hover { color: var(--tea-mid); }

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed; right: 1.6rem; bottom: 1.6rem; z-index: 90;
  width: 2.8rem; height: 2.8rem; border-radius: 50%;
  border: 1px solid rgba(15,110,86,.4); background: rgba(241,239,232,.9);
  color: var(--tea-deep); font-size: 1.1rem; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(0.75rem);
  transition: all .5s var(--ease-slow);
  backdrop-filter: blur(0.5rem);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--tea-deep); color: var(--rice); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .tea-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dao-inner { grid-template-columns: 1fr; }
  .dao-visual { max-width: 24rem; margin: 0 auto; }
}
@media (max-width: 768px) {
  /* 移动端根字号固定：断点布局按 16px 基准，与原设计一致 */
  html { font-size: 16px; }
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
    background: rgba(44,44,42,.97); backdrop-filter: blur(1rem);
    opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
  }
  .nav-links.open { opacity: 1; visibility: visible; z-index: 99; }
  .nav-links a { font-size: 1.3rem; color: var(--rice) !important; letter-spacing: .3em; }
  .nav-links a.active { color: var(--amber-light) !important; }
  .nav-burger { display: block; position: relative; z-index: 100; }
  .nav-burger.open span:nth-child(1) { transform: translateY(0.4375rem) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-0.4375rem) rotate(-45deg); }
  .map-wrap, .farmer, .exhibit-main { grid-template-columns: 1fr; }
  .map-card { max-width: none; justify-self: stretch; align-self: stretch; }
  .life-grid { grid-template-columns: 1fr; }
  .news-feature { grid-template-columns: 1fr; gap: 1.2rem; }
  .news-cols { grid-template-columns: 1fr; gap: 3rem; }
  .news-media { padding: 1.6rem 1.2rem; }
  .news-block + .news-block { margin-top: 3rem; }
  .story-stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .about-extra { grid-template-columns: 1fr; }
  .hero-vertical { display: none; }
  /* 看展览列表：手机改上下排，标题允许换行（横排+nowrap 会重叠溢出） */
  .past-item { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .past-name { white-space: normal; min-width: 0; }
  /* 菜单展开时：去掉导航毛玻璃——backdrop-filter 会把子级 fixed 全屏菜单
     的定位框限制成导航条自身（滚离顶端后菜单看不见）；同时锁背景滚动 */
  .nav.menu-open { backdrop-filter: none; background: transparent; box-shadow: none; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 520px) {
  .tea-grid { grid-template-columns: 1fr; }
  .about-timeline { grid-template-columns: 1fr; }
  .hero-title { letter-spacing: .1em; }
  .footer-base { font-size: .7rem; letter-spacing: .06em; padding-left: .6rem; padding-right: .6rem; }
}

/* ---------- 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .hero-rain, .dao-smoke { display: none; }
}

/* ---------- 卡片底部对齐（虚线+按钮贴底） ---------- */
.tea-card { display: flex; flex-direction: column; }
.tea-card-body { flex: 1; display: flex; flex-direction: column; width: 100%; }
.tea-card-foot { margin-top: auto !important; }
.tea-card-body .tea-origin { margin-bottom: 1rem; }

/* ---------- 页脚二维码点击大图 ---------- */
html.qr-locked, html.qr-locked body { overflow: hidden; }
.qr-lightbox[hidden] { display: none !important; }
.qr-lightbox {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center; padding: 4vh 4vw;
  background: rgba(16,18,16,.9);
  -webkit-backdrop-filter: blur(.6rem); backdrop-filter: blur(.6rem);
  opacity: 0; transition: opacity .24s ease;
}
.qr-lightbox.on { opacity: 1; }
.qr-lightbox-card {
  margin: 0; text-align: center;
  transform: scale(.96) translateY(.6rem);
  transition: transform .3s cubic-bezier(.2,.7,.3,1);
}
.qr-lightbox.on .qr-lightbox-card { transform: none; }
.qr-lightbox-img {
  display: block; width: min(82vw, 32rem); height: auto; max-height: 78vh;
  margin: 0 auto; padding: .7rem; background: #f5f3ec; border-radius: 1rem;
  box-shadow: 0 1.6rem 5rem rgba(0,0,0,.6);
}
.qr-lightbox-caption {
  margin: 1.2rem 0 0; font-family: var(--serif); font-size: 1rem;
  letter-spacing: .18em; color: rgba(241,239,232,.92);
}
.qr-lightbox-close {
  position: absolute; top: 1.2rem; right: 1.4rem;
  width: 2.6rem; height: 2.6rem; border: 1px solid rgba(241,239,232,.45);
  border-radius: 50%; background: rgba(18,20,18,.75); color: #f1efe8;
  font-size: 1.4rem; line-height: 1; cursor: pointer;
  transition: background .2s ease, transform .25s ease;
}
.qr-lightbox-close:hover { background: rgba(18,20,18,.95); transform: rotate(90deg); }
.qr-box { cursor: zoom-in; }
/* 抖音店铺海报：竖版长图，按高度放大便于扫码 */
.qr-lightbox-img.is-poster { width: auto; max-width: 86vw; max-height: 74vh; object-fit: contain; }
@media (max-width: 640px) {
  .qr-lightbox-img { width: min(86vw, 26rem); max-height: 72vh; }
  .qr-lightbox-close { top: .9rem; right: .9rem; }
  .qr-lightbox-img.is-poster { max-width: 88vw; max-height: 70vh; }
}
@media (prefers-reduced-motion: reduce) {
  .qr-lightbox, .qr-lightbox-card { transition: none; transform: none; }
}
