/* 毛茸茸之家 - 宠物展示网站样式 */
:root{
  --cream:#fff8f0; --card:#ffffff; --line:#f3e3d3;
  --orange:#ff9a5c; --orange-dark:#f08a3c; --coral:#ff8a8a;
  --text:#4a3b32; --muted:#9c8b7e; --green:#6fbf8f; --deep:#3f2f26;
  --shadow:0 10px 30px rgba(122,82,50,.10);
  --radius:20px;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  background:var(--cream); color:var(--text); line-height:1.7; overflow-x:hidden;}
img,svg{display:block;max-width:100%;}
a{text-decoration:none;color:inherit;}
.eyebrow{display:inline-block;background:#fff1e0;color:var(--orange-dark);font-size:13px;font-weight:600;
  padding:4px 14px;border-radius:20px;margin-bottom:14px;}
.accent{color:var(--orange-dark);}

/* 按钮 */
.btn{display:inline-flex;align-items:center;gap:6px;border:none;cursor:pointer;font-size:15px;font-weight:600;
  border-radius:40px;padding:12px 26px;transition:transform .15s, box-shadow .15s;font-family:inherit;}
.btn.primary{background:linear-gradient(135deg,var(--orange),var(--orange-dark));color:#fff;box-shadow:0 8px 20px rgba(240,138,60,.35);}
.btn.primary:hover{transform:translateY(-2px);}
.btn.ghost{background:#fff;color:var(--orange-dark);border:2px solid var(--orange);}
.btn.ghost:hover{background:#fff7ef;}
.btn.sm{padding:8px 16px;font-size:13px;}
.btn.block{width:100%;justify-content:center;margin-top:6px;}

/* 导航 */
.nav{position:sticky;top:0;z-index:50;background:rgba(255,248,240,.9);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);}
.nav-inner{max-width:1140px;margin:0 auto;padding:0 20px;height:64px;display:flex;align-items:center;gap:32px;}
.brand{font-size:19px;font-weight:800;color:var(--deep);}
.menu{display:flex;align-items:center;gap:22px;margin-left:auto;font-size:14.5px;color:#7a6a5e;}
.menu a:hover{color:var(--orange-dark);}
.burger{display:none;background:none;border:none;font-size:24px;color:var(--deep);cursor:pointer;margin-left:auto;}

/* Hero */
.hero{max-width:1140px;margin:0 auto;padding:64px 20px 40px;}
.hero-inner{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center;}
.hero-text h1{font-size:52px;line-height:1.15;color:var(--deep);letter-spacing:1px;margin-bottom:18px;}
.hero-text p{font-size:16.5px;color:var(--muted);max-width:460px;margin-bottom:26px;}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:34px;}
.hero-meta{display:flex;gap:34px;}
.hero-meta b{font-size:26px;color:var(--orange-dark);display:block;line-height:1.2;}
.hero-meta span{font-size:13px;color:var(--muted);}
.hero-art{position:relative;}
.hero-art svg{width:100%;height:auto;}
.float-chip{position:absolute;background:#fff;border-radius:30px;padding:8px 16px;font-size:13px;font-weight:600;
  box-shadow:var(--shadow);}
.chip1{top:8%;left:-4%;transform:rotate(-6deg);}
.chip2{bottom:14%;right:-2%;transform:rotate(4deg);background:#fff7ef;color:var(--orange-dark);}

/* 区块通用 */
section{padding:72px 20px;}
.sec-head{max-width:1140px;margin:0 auto 44px;text-align:center;}
.sec-head h2{font-size:36px;color:var(--deep);margin-bottom:10px;}
.sec-head p{color:var(--muted);font-size:15px;}
.sec-head.light{color:#fff;}
.sec-head.light h2{color:#fff;}

/* 筛选 */
.filters{display:flex;gap:10px;justify-content:center;margin-top:26px;flex-wrap:wrap;}
.chip-filter{background:#fff;border:2px solid var(--line);border-radius:30px;padding:8px 20px;font-size:14px;
  font-weight:600;cursor:pointer;color:#7a6a5e;transition:all .15s;font-family:inherit;}
.chip-filter:hover{border-color:var(--orange);color:var(--orange-dark);}
.chip-filter.active{background:var(--orange);border-color:var(--orange);color:#fff;}

/* 宠物网格 */
.pet-grid{max-width:1140px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.pet-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  box-shadow:var(--shadow);transition:transform .2s;animation:pop .35s ease both;}
.pet-card:hover{transform:translateY(-6px);}
@keyframes pop{from{opacity:0;transform:translateY(12px);}to{opacity:1;transform:none;}}
.pet-art{background:linear-gradient(160deg,#fff6ec,#ffe9d6);padding:22px;display:flex;justify-content:center;}
.pet-art svg{width:200px;height:200px;}
.pet-info{padding:18px 20px 20px;}
.pet-info h3{font-size:19px;color:var(--deep);}
.pet-spec{font-size:13px;color:var(--muted);margin:4px 0 12px;}
.tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px;}
.tag{font-size:12px;background:#fff1e0;color:var(--orange-dark);padding:3px 10px;border-radius:20px;font-weight:600;}
.tag.g{background:#e9f7ef;color:#3f9d66;}
.tag.b{background:#eef3ff;color:#5a7fd6;}
.pet-info .btn{width:100%;justify-content:center;}

/* 为什么领养 */
.why{background:linear-gradient(135deg,#3f2f26,#5b4538);}
.why .eyebrow{background:rgba(255,255,255,.12);color:#ffd9b8;}
.why .accent{color:#ffb27a;}
.why-grid{max-width:1140px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.why-card{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:var(--radius);
  padding:26px 22px;color:#f5e9df;transition:background .2s;}
.why-card:hover{background:rgba(255,255,255,.14);}
.why-card .icon{font-size:34px;margin-bottom:12px;}
.why-card h3{font-size:17px;margin-bottom:8px;}
.why-card p{font-size:13.5px;color:rgba(245,233,223,.75);}

/* 流程 */
.steps-grid{max-width:900px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.step{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px 20px;text-align:center;
  box-shadow:var(--shadow);}
.step .num{width:44px;height:44px;margin:0 auto 14px;background:linear-gradient(135deg,var(--orange),var(--orange-dark));
  color:#fff;font-weight:800;font-size:19px;border-radius:50%;display:flex;align-items:center;justify-content:center;}
.step h3{font-size:16.5px;margin-bottom:8px;color:var(--deep);}
.step p{font-size:13.5px;color:var(--muted);}

/* 关于 */
.about-card{max-width:1140px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow);display:grid;grid-template-columns:1.1fr .9fr;overflow:hidden;}
.about-text{padding:48px 44px;}
.about-text h2{font-size:30px;color:var(--deep);margin-bottom:16px;}
.about-text p{color:#7a6a5e;margin-bottom:14px;font-size:15px;}
.about-text .quote{margin-top:18px;font-style:italic;color:var(--orange-dark);font-size:16px;border-left:3px solid var(--orange);
  padding-left:14px;}
.about-art{background:linear-gradient(160deg,#e8f7f0,#d5efe2);display:flex;align-items:center;justify-content:center;padding:30px;}
.about-art svg{width:300px;height:300px;}

/* 联系 */
.contact-card{max-width:640px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow);padding:34px 34px 30px;}
.row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px;}
.field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px;}
.field label{font-size:13.5px;font-weight:600;color:#7a6a5e;}
.field input,.field select,.field textarea{border:2px solid var(--line);border-radius:12px;padding:11px 14px;font-size:14.5px;
  font-family:inherit;outline:none;background:#fffdf9;transition:border .15s;color:var(--text);}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--orange);}
.hint{margin-top:14px;text-align:center;font-size:14px;font-weight:600;min-height:22px;}
.hint.ok{color:#3f9d66;}
.hint.err{color:var(--coral);}

/* 页脚 */
.footer{background:var(--deep);color:rgba(255,255,255,.85);text-align:center;padding:34px 20px;}
.footer .mini{color:rgba(255,255,255,.45);font-size:12.5px;margin-top:6px;}

/* 弹窗 */
.modal{position:fixed;inset:0;background:rgba(63,47,38,.55);display:none;align-items:center;justify-content:center;
  padding:20px;z-index:100;backdrop-filter:blur(4px);}
.modal.show{display:flex;}
.modal-box{background:#fff;border-radius:22px;max-width:640px;width:100%;position:relative;max-height:90vh;overflow:auto;
  animation:pop .3s ease;}
.modal-close{position:absolute;top:14px;right:14px;width:36px;height:36px;border-radius:50%;border:none;background:#f3e7da;
  font-size:15px;cursor:pointer;color:#7a6a5e;z-index:2;}
.modal-close:hover{background:#ffe4d1;}
.modal-hero{background:linear-gradient(160deg,#fff6ec,#ffe9d6);padding:30px;display:flex;justify-content:center;}
.modal-hero svg{width:240px;height:240px;}
.modal-body{padding:26px 30px 30px;}
.modal-body h2{font-size:24px;color:var(--deep);}
.modal-body .spec{color:var(--muted);font-size:14px;margin:4px 0 14px;}
.modal-body .desc{color:#6d5d51;font-size:14.5px;margin-bottom:16px;line-height:1.9;}
.modal-actions{display:flex;gap:12px;margin-top:8px;flex-wrap:wrap;}
.modal-actions .btn{flex:1;justify-content:center;}

/* 响应式 */
@media(max-width:900px){
  .hero-inner{grid-template-columns:1fr;}
  .hero-text{text-align:center;}
  .hero-text p{margin-left:auto;margin-right:auto;}
  .hero-cta,.hero-meta{justify-content:center;}
  .hero-art{max-width:420px;margin:0 auto;}
  .pet-grid{grid-template-columns:repeat(2,1fr);}
  .why-grid,.steps-grid{grid-template-columns:repeat(2,1fr);}
  .about-card{grid-template-columns:1fr;}
  .menu{display:none;position:absolute;top:64px;left:0;right:0;background:#fff;flex-direction:column;padding:20px;
    border-bottom:1px solid var(--line);box-shadow:var(--shadow);}
  .menu.open{display:flex;}
  .burger{display:block;}
}
@media(max-width:560px){
  .hero-text h1{font-size:38px;}
  .pet-grid,.why-grid,.steps-grid{grid-template-columns:1fr;}
  .row{grid-template-columns:1fr;}
}

/* ========== 升级：主题切换 ========== */
.theme-btn{background:#fff;border:2px solid var(--line);border-radius:50%;width:38px;height:38px;
  font-size:17px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;}
.theme-btn:hover{transform:rotate(15deg) scale(1.08);border-color:var(--orange);}

/* 薄荷主题 */
body[data-theme="mint"]{
  --cream:#f0faf5; --card:#ffffff; --line:#d9ece1;
  --orange:#3fbf7f; --orange-dark:#2faa6c; --coral:#ff8a8a;
  --text:#2f5547; --muted:#6f9c8a; --green:#3fbf7f; --deep:#174a38;
  --shadow:0 10px 30px rgba(40,150,105,.12);
}
body[data-theme="mint"] .nav{background:rgba(240,250,245,.9);}
body[data-theme="mint"] .pet-art{background:linear-gradient(160deg,#eefaf3,#d9f2e3);}
body[data-theme="mint"] .modal-hero{background:linear-gradient(160deg,#eefaf3,#d9f2e3);}
body[data-theme="mint"] .about-art{background:linear-gradient(160deg,#e2f4ea,#cdeede);}
body[data-theme="mint"] .why{background:linear-gradient(135deg,#174a38,#1f6a4f);}
body[data-theme="mint"] .chip-filter.active{background:var(--orange);border-color:var(--orange);}

/* 夜幕主题 */
body[data-theme="night"]{
  --cream:#1c1f27; --card:#272b35; --line:#383d49;
  --orange:#f5a472; --orange-dark:#ff9a5c; --coral:#ff8a8a;
  --text:#e9e7e1; --muted:#9aa3b2; --green:#7fcf9e; --deep:#f4f1ea;
  --shadow:0 10px 30px rgba(0,0,0,.35);
}
body[data-theme="night"] .nav{background:rgba(28,31,39,.92);border-bottom-color:#2c313c;}
body[data-theme="night"] .menu{color:#c3cad6;}
body[data-theme="night"] .brand{color:#f4f1ea;}
body[data-theme="night"] .pet-art{background:linear-gradient(160deg,#2c313d,#333a48);}
body[data-theme="night"] .modal-hero{background:linear-gradient(160deg,#2c313d,#333a48);}
body[data-theme="night"] .about-art{background:linear-gradient(160deg,#243127,#2a3a2e);}
body[data-theme="night"] .why{background:linear-gradient(135deg,#13151b,#1c2029);}
body[data-theme="night"] .chip-filter{background:#272b35;border-color:#383d49;color:#c3cad6;}
body[data-theme="night"] .chip-filter.active{background:var(--orange);border-color:var(--orange);color:#1c1f27;}
body[data-theme="night"] .theme-btn{background:#272b35;border-color:#383d49;}
body[data-theme="night"] .btn.ghost{background:#272b35;}
body[data-theme="night"] .field input,body[data-theme="night"] .field select,body[data-theme="night"] .field textarea{
  background:#20232b;color:#e9e7e1;border-color:#383d49;}
body[data-theme="night"] .field label{color:#c3cad6;}
body[data-theme="night"] .modal-close{background:#383d49;color:#e9e7e1;}
body[data-theme="night"] .modal-close:hover{background:#454b5a;}
body[data-theme="night"] .tag{background:#383d49;color:#e9c9a8;}
body[data-theme="night"] .tag.g{background:#263a30;color:#7fcf9e;}
body[data-theme="night"] .tag.b{background:#2a3350;color:#9db8f5;}
body[data-theme="night"] .step{background:#272b35;}
body[data-theme="night"] .step p{color:#9aa3b2;}
body[data-theme="night"] .story{background:#333a48 !important;color:#c3cad6;}
body[data-theme="night"] .detail-desc{color:#c3cad6;}

/* ========== 升级：真实照片支持 ========== */
.pet-art{position:relative;}
.pet-art .photo{display:none;width:200px;height:200px;object-fit:cover;border-radius:16px;}
.pet-art.has-photo .photo{display:block;}
.pet-art.has-photo svg{display:none;}
.modal-hero{position:relative;}
.modal-hero .photo{display:none;width:240px;height:240px;object-fit:cover;border-radius:18px;}
.modal-hero.has-photo .photo{display:block;}
.modal-hero.has-photo svg{display:none;}

/* ========== 升级：独立详情页 ========== */
.detail-hero{max-width:1080px;margin:48px auto 0;padding:0 20px;display:grid;
  grid-template-columns:.9fr 1.1fr;gap:40px;align-items:center;}
.detail-art{background:linear-gradient(160deg,#fff6ec,#ffe9d6);border-radius:28px;padding:40px;
  display:flex;justify-content:center;box-shadow:var(--shadow);position:relative;}
.detail-art svg{width:320px;height:320px;}
.detail-art .photo{display:none;width:320px;height:320px;object-fit:cover;border-radius:20px;}
.detail-art.has-photo .photo{display:block;}
.detail-art.has-photo svg{display:none;}
.detail-info h1{font-size:40px;color:var(--deep);margin:4px 0 6px;}
.detail-spec{color:var(--muted);font-size:15px;margin-bottom:16px;}
.detail-desc{font-size:15.5px;color:#6d5d51;line-height:1.95;margin-bottom:16px;max-width:520px;}
.story{background:#fff7ef;border-radius:14px;padding:14px 18px;font-size:14px;color:#7a6a5e;margin:14px 0 20px;line-height:1.8;}
.detail-actions{display:flex;gap:12px;flex-wrap:wrap;}
.detail-more{padding:72px 20px;}
.detail-empty{max-width:560px;margin:80px auto;text-align:center;padding:40px 24px;background:var(--card);
  border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);}
.detail-empty h2{color:var(--deep);margin:12px 0 8px;}
.detail-empty p{color:var(--muted);margin-bottom:20px;}

@media(max-width:820px){
  .detail-hero{grid-template-columns:1fr;text-align:center;}
  .detail-desc{margin-left:auto;margin-right:auto;}
  .detail-actions{justify-content:center;}
}

/* ========== 升级：真实相册 ========== */
.gallery{background:#fff6ec;}
body[data-theme="mint"] .gallery{background:#f0faf5;}
body[data-theme="night"] .gallery{background:#1c1f27;}
.gallery-grid{max-width:1140px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);
  gap:16px;padding:0 20px;}
.gallery-item{position:relative;border-radius:18px;overflow:hidden;cursor:zoom-in;box-shadow:var(--shadow);
  aspect-ratio:3/4;background:#e8d8c8;}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .35s;}
.gallery-item:hover img{transform:scale(1.08);}
.gallery-item .g-tag{position:absolute;left:10px;bottom:10px;background:rgba(0,0,0,.45);color:#fff;
  font-size:12px;padding:3px 10px;border-radius:20px;backdrop-filter:blur(4px);}
.gallery-item .g-num{position:absolute;right:10px;top:10px;background:rgba(255,255,255,.85);
  color:#8a6b52;font-size:12px;font-weight:700;width:28px;height:28px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;}

/* 灯箱 */
.lightbox{position:fixed;inset:0;background:rgba(15,12,10,.92);z-index:200;display:none;
  align-items:center;justify-content:center;flex-direction:column;padding:40px;}
.lightbox.show{display:flex;}
.lightbox img{max-width:86vw;max-height:78vh;border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.5);}
.lb-close{position:absolute;top:22px;right:26px;background:none;border:none;color:#fff;font-size:30px;
  cursor:pointer;opacity:.85;}
.lb-close:hover{opacity:1;}
.lb-nav{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.12);
  border:none;color:#fff;font-size:44px;width:56px;height:56px;border-radius:50%;cursor:pointer;
  line-height:1;transition:background .2s;}
.lb-nav:hover{background:rgba(255,255,255,.25);}
.lb-prev{left:26px;}
.lb-next{right:26px;}
.lb-caption{margin-top:18px;color:rgba(255,255,255,.8);font-size:14px;}

/* ========== 升级：视频区 ========== */
.videos{background:var(--cream);}
.video-grid{max-width:1140px;margin:0 auto;display:grid;grid-template-columns:repeat(2,1fr);gap:22px;padding:0 20px;}
.video-card{background:var(--card);border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:var(--shadow);}
.video-card video{width:100%;aspect-ratio:16/10;background:#000;display:block;}
.video-info{padding:14px 18px;}
.video-info h3{font-size:15.5px;color:var(--deep);}
.video-info .v-meta{font-size:12.5px;color:var(--muted);margin-top:4px;}

@media(max-width:820px){
  .gallery-grid{grid-template-columns:repeat(2,1fr);}
  .video-grid{grid-template-columns:1fr;}
}
@media(max-width:480px){
  .gallery-grid{grid-template-columns:repeat(2,1fr);gap:10px;}
}

/* ========== 真实化：首页/关于区真实大图 ========== */
.hero-photo{width:100%;height:auto;border-radius:28px;box-shadow:0 20px 50px rgba(122,82,50,.25);
  border:6px solid #fff;}
body[data-theme="night"] .hero-photo{border-color:#3a3f4c;}
.about-photo{width:320px;height:320px;object-fit:cover;border-radius:22px;box-shadow:var(--shadow);
  border:6px solid #fff;}
body[data-theme="night"] .about-photo{border-color:#3a3f4c;}
@media(max-width:560px){ .about-photo{width:240px;height:240px;} }

/* ========== 治愈故事 ========== */
.stories{background:linear-gradient(180deg,#fff6ec,#fffdf9);}
body[data-theme="mint"] .stories{background:linear-gradient(180deg,#f0faf5,#fdfefd);}
body[data-theme="night"] .stories{background:linear-gradient(180deg,#1c1f27,#232733);}
.story-grid{max-width:1140px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:22px;padding:0 20px;}
.story-card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:24px 22px;
  box-shadow:var(--shadow);cursor:pointer;display:flex;flex-direction:column;gap:10px;
  transition:transform .2s, box-shadow .2s;position:relative;overflow:hidden;}
.story-card::before{content:"";position:absolute;top:-40px;right:-40px;width:100px;height:100px;
  background:radial-gradient(circle,#ffd9c2 0%,transparent 70%);opacity:.5;}
.story-card:hover{transform:translateY(-6px);box-shadow:0 16px 40px rgba(122,82,50,.16);}
.story-card h3{font-size:18px;color:var(--deep);}
.story-card p{font-size:13.5px;color:var(--muted);line-height:1.8;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.story-more{color:var(--orange-dark);font-size:13px;font-weight:600;margin-top:auto;}
.story-box{max-width:440px;border-radius:24px;}
.story-box .modal-close{top:16px;right:16px;background:#f3e7da;box-shadow:0 2px 8px rgba(0,0,0,.08);}
/* 配图：顶部圆角大图，竖版居中 */
.story-img{width:100%;padding:22px 22px 0;}
.story-img img{width:100%;height:auto;max-height:300px;object-fit:cover;border-radius:20px;box-shadow:0 10px 26px rgba(122,82,50,.18);}
/* 标题区居中留白 */
.story-head{padding:24px 38px 6px;text-align:center;}
.story-head h2{font-size:24px;letter-spacing:1px;}
.story-head .tag{display:inline-block;}
/* 正文：左右大留白、行距宽松、居中 */
.story-text{padding:14px 40px 10px;}
.story-text p{font-size:15.5px;line-height:2.15;color:#5d5146;margin-bottom:18px;text-align:justify;
  letter-spacing:.3px;}
.story-text p:first-child::first-letter{font-size:28px;color:var(--orange-dark);font-weight:700;}
/* 结尾寄语 */
.story-foot{padding:6px 40px 20px;font-size:13px;}
@media(max-width:520px){
  .story-text{padding:12px 24px 8px;}
  .story-head{padding:18px 22px 4px;}
  .story-foot{padding:4px 24px 14px;}
}
.story-head{padding:8px 0 4px;}
.story-head h2{font-size:24px;color:var(--deep);margin-top:8px;}
.story-text{padding:16px 0 4px;}
.story-text p{font-size:15px;line-height:2.05;color:#5d5146;margin-bottom:14px;text-align:justify;}
body[data-theme="night"] .story-text p{color:#d4dae4;}
body[data-theme="night"] .story-img img{border:3px solid #3a3f4c;}
.story-foot{color:var(--orange-dark);font-size:13.5px;text-align:center;padding:10px 0 6px;font-weight:600;}
@media(max-width:820px){ .story-grid{grid-template-columns:1fr 1fr;} }
@media(max-width:560px){ .story-grid{grid-template-columns:1fr;} }

/* ========== 宠物用品商城 ========== */
.shop{background:var(--cream);}
.cart-btn{background:#fff;border:2px solid var(--line);border-radius:30px;padding:6px 14px;font-size:14px;
  cursor:pointer;color:var(--deep);font-family:inherit;display:flex;align-items:center;gap:6px;transition:all .2s;}
.cart-btn:hover{border-color:var(--orange);}
.cart-btn span{background:var(--orange);color:#fff;border-radius:20px;font-size:11px;padding:1px 7px;font-weight:700;}
.shop-banner{max-width:1140px;margin:0 auto 28px;border-radius:20px;overflow:hidden;position:relative;
  box-shadow:var(--shadow);}
.shop-banner img{width:100%;height:200px;object-fit:cover;}
.shop-banner-text{position:absolute;left:28px;bottom:22px;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.4);}
.shop-banner-text h3{font-size:26px;margin-bottom:4px;}
.shop-banner-text p{font-size:14px;opacity:.95;}
.shop-grid{max-width:1140px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:18px;padding:0 20px;}
.shop-card{background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;
  box-shadow:var(--shadow);display:flex;flex-direction:column;transition:transform .2s;}
.shop-card:hover{transform:translateY(-5px);}
.shop-img{position:relative;aspect-ratio:4/3;background:#f4eadf;}
.shop-img img{width:100%;height:100%;object-fit:cover;}
.shop-tag{position:absolute;top:10px;left:10px;background:rgba(255,255,255,.92);color:var(--orange-dark);
  font-size:12px;font-weight:700;padding:3px 10px;border-radius:20px;}
.shop-info{padding:14px 16px 16px;display:flex;flex-direction:column;flex:1;}
.shop-info h3{font-size:15.5px;color:var(--deep);}
.shop-info p{font-size:12.5px;color:var(--muted);margin:6px 0 12px;line-height:1.6;flex:1;}
.shop-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.price{font-size:18px;font-weight:800;color:var(--orange-dark);}

/* 购物车弹窗 */
.cart-box{max-width:480px;}
.cart-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 0;}
.cart-head h3{font-size:18px;color:var(--deep);}
.cart-list{padding:10px 20px;min-height:80px;max-height:50vh;overflow:auto;}
.cart-item{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px dashed var(--line);}
.cart-item img{width:52px;height:52px;object-fit:cover;border-radius:10px;}
.ci-info{flex:1;}
.ci-info b{display:block;font-size:14px;color:var(--deep);}
.ci-info span{font-size:13px;color:var(--orange-dark);font-weight:700;}
.ci-qty{display:flex;align-items:center;gap:8px;}
.ci-qty span{min-width:22px;text-align:center;font-weight:700;}
.cart-foot{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;
  border-top:1px solid var(--line);}
.cart-total{font-size:14px;color:var(--deep);}
.cart-total b{font-size:20px;color:var(--orange-dark);}

/* ========== 读者留言 ========== */
.guestbook{background:linear-gradient(180deg,#fffdf9,#fff6ec);}
body[data-theme="mint"] .guestbook{background:linear-gradient(180deg,#fdfefd,#f0faf5);}
body[data-theme="night"] .guestbook{background:linear-gradient(180deg,#232733,#1c1f27);}
.guestbook-box{max-width:760px;margin:0 auto;background:var(--card);border:1px solid var(--line);
  border-radius:20px;box-shadow:var(--shadow);padding:26px;}
.gb-form{display:flex;flex-direction:column;gap:12px;margin-bottom:20px;}
.gb-form input,.gb-form textarea{border:2px solid var(--line);border-radius:12px;padding:11px 14px;
  font-size:14px;font-family:inherit;outline:none;background:#fffdf9;}
.gb-form input:focus,.gb-form textarea:focus{border-color:var(--orange);}
.gb-form .btn{align-self:flex-end;}
.gb-list{display:flex;flex-direction:column;gap:10px;max-height:360px;overflow:auto;}
.gb-item{background:#fdf8f2;border:1px solid var(--line);border-radius:12px;padding:12px 16px;}
body[data-theme="night"] .gb-item{background:#2a2e38;}
.gb-item b{font-size:14px;color:var(--deep);}
.gb-item .time{float:right;font-size:11.5px;color:var(--muted);}
.gb-item p{margin-top:6px;font-size:13.5px;color:#6d5d51;line-height:1.7;}
body[data-theme="night"] .gb-item p{color:#c3cad6;}

@media(max-width:900px){ .shop-grid{grid-template-columns:repeat(2,1fr);} }
@media(max-width:520px){ .shop-grid{grid-template-columns:1fr;} .shop-banner-text{left:16px;bottom:14px;} }

/* =========================================================
   高级感全面升级（覆盖式，增强质感不改变布局）
   ========================================================= */
:root{
  --cream:#faf6f0; --card:#fffefc; --line:#ece3d6;
  --orange:#c07a52; --orange-dark:#a96a45; --coral:#d98d74;
  --text:#3d352e; --muted:#94867a; --green:#8fb89a; --deep:#46372d;
  --shadow:0 1px 2px rgba(74,58,48,.04), 0 14px 36px rgba(74,58,48,.08);
  --radius:18px;
}
body{letter-spacing:.2px;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
::selection{background:rgba(192,122,82,.22);}
html{scroll-padding-top:80px;}

/* 背景：细腻的暖色光晕，增加氛围 */
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(1100px 520px at 85% -8%, rgba(192,122,82,.07), transparent 60%),
             radial-gradient(900px 480px at -5% 35%, rgba(143,184,154,.06), transparent 55%);}

/* ---------- 导航：更精致 ---------- */
.nav{background:rgba(250,246,240,.82);box-shadow:0 1px 0 rgba(74,58,48,.04);}
.nav-inner{height:68px;}
.brand{font-size:18px;letter-spacing:.06em;}
.menu a{font-size:13.5px;letter-spacing:.03em;opacity:.85;transition:opacity .2s;}
.menu a:hover{opacity:1;}
body[data-theme="mint"] .nav{background:rgba(240,250,245,.85);}
body[data-theme="night"] .nav{background:rgba(28,31,39,.88);}

/* ---------- 标题体系：更高级的字距与层次 ---------- */
.eyebrow{font-size:11.5px;letter-spacing:.22em;padding:6px 16px;text-transform:uppercase;
  background:transparent;border:1px solid rgba(192,122,82,.35);color:var(--orange-dark);}
.sec-head h2{font-size:36px;font-weight:800;letter-spacing:.05em;line-height:1.25;}
.sec-head p{font-size:14.5px;letter-spacing:.02em;color:var(--muted);}
.sec-head::after{content:"";display:block;width:44px;height:2px;margin:18px auto 0;
  background:linear-gradient(90deg,var(--orange),transparent);border-radius:2px;}
.sec-head.light::after{background:linear-gradient(90deg,#ffd9b8,transparent);}

/* ---------- Hero：大气的排版 ---------- */
.hero{padding:84px 20px 56px;}
.hero-text h1{font-size:56px;font-weight:800;letter-spacing:.04em;line-height:1.14;}
.hero-text h1 .accent{position:relative;}
.hero-text h1 .accent::after{content:"";position:absolute;left:0;right:0;bottom:6px;height:12px;
  background:linear-gradient(90deg,rgba(192,122,82,.28),rgba(192,122,82,.06));z-index:-1;border-radius:6px;}
.hero-text p{font-size:16px;line-height:1.95;color:var(--muted);}
.hero-meta{display:flex;gap:40px;padding-top:4px;}
.hero-meta b{font-size:30px;font-weight:800;color:var(--deep);letter-spacing:.02em;}
.hero-meta span{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);}
.hero-meta div{position:relative;padding-left:16px;}
.hero-meta div::before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:2px;
  background:linear-gradient(180deg,var(--orange),transparent);border-radius:2px;}
.hero-photo{border-radius:30px;border:1px solid rgba(74,58,48,.06);
  box-shadow:0 24px 60px rgba(74,58,48,.18), 0 2px 6px rgba(74,58,48,.05);}
.float-chip{font-size:12px;letter-spacing:.05em;border:1px solid rgba(74,58,48,.06);
  box-shadow:0 10px 24px rgba(74,58,48,.10);backdrop-filter:blur(8px);}

/* ---------- 按钮：更精致 ---------- */
.btn{font-size:14px;letter-spacing:.06em;border-radius:50px;padding:13px 28px;}
.btn.primary{background:linear-gradient(135deg,#c9865e,#a96a45);
  box-shadow:0 10px 24px rgba(169,106,69,.28), inset 0 1px 0 rgba(255,255,255,.25);}
.btn.primary:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(169,106,69,.34);}
.btn.ghost{border:1px solid rgba(192,122,82,.5);background:transparent;}
.btn.ghost:hover{background:rgba(192,122,82,.08);}
.btn.sm{padding:9px 18px;font-size:12.5px;}

/* ---------- 卡片：更细腻的层次 ---------- */
.card,.pet-card,.step,.why-card,.shop-card,.script-item,.about-card,.contact-card,
.gallery-item,.video-card,.todo-item{box-shadow:var(--shadow);border-color:var(--line);}
.pet-card{transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;}
.pet-card:hover{transform:translateY(-8px);box-shadow:0 20px 44px rgba(74,58,48,.14);}
.pet-art{background:linear-gradient(160deg,#f8efe6,#f2e3d4);}
.pet-info h3{font-size:20px;letter-spacing:.03em;}
.pet-spec{letter-spacing:.04em;}

/* ---------- 筛选 chip ---------- */
.chip-filter{font-size:13px;letter-spacing:.04em;border:1px solid var(--line);background:rgba(255,254,252,.6);}
.chip-filter.active{background:var(--orange);border-color:var(--orange);color:#fff;
  box-shadow:0 8px 18px rgba(192,122,82,.3);}

/* ---------- 区块留白：呼吸感 ---------- */
section{padding:88px 20px;}
.pets{padding-top:64px;}

/* ---------- 标签 ---------- */
.tag{font-size:11.5px;letter-spacing:.05em;padding:4px 11px;border-radius:20px;}

/* ---------- 相册 ---------- */
.gallery-item{box-shadow:0 6px 20px rgba(74,58,48,.10);transition:box-shadow .3s, transform .3s;}
.gallery-item:hover{box-shadow:0 16px 36px rgba(74,58,48,.18);transform:translateY(-3px);}
.gallery-item .g-num{font-weight:600;color:#8a6b52;border:1px solid rgba(74,58,48,.08);}

/* ---------- 故事弹窗 ---------- */
.story-box{background:linear-gradient(180deg,#fffefc,#fbf6f0);}
.story-text p{color:#4c4138;font-weight:400;}
.story-foot{letter-spacing:.08em;}

/* ---------- 商城 ---------- */
.shop-banner{border-radius:24px;box-shadow:var(--shadow);}
.shop-banner img{height:220px;}
.shop-banner-text h3{font-size:30px;letter-spacing:.06em;font-weight:800;}
.shop-card{transition:transform .3s, box-shadow .3s;}
.shop-card:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(74,58,48,.14);}
.price{font-size:19px;font-weight:800;}

/* ---------- 留言 ---------- */
.gb-item{box-shadow:0 4px 14px rgba(74,58,48,.05);}

/* ---------- 页脚：更精致 ---------- */
.footer{padding:44px 20px;letter-spacing:.05em;}
.footer p:first-child{font-size:14px;}
.footer .mini{letter-spacing:.1em;}

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar{width:10px;height:10px;}
::-webkit-scrollbar-thumb{background:rgba(148,134,122,.35);border-radius:10px;border:2px solid transparent;background-clip:content-box;}
::-webkit-scrollbar-thumb:hover{background:rgba(148,134,122,.55);background-clip:content-box;}
::-webkit-scrollbar-track{background:transparent;}

/* ---------- 夜幕主题跟随升级 ---------- */
body[data-theme="night"]{--cream:#191c22;--card:#20242c;--line:#2e333e;--deep:#f1ede6;
  --text:#dcd8d0;--muted:#98a0ae;--orange:#d59a72;--orange-dark:#e0a67c;
  --shadow:0 1px 2px rgba(0,0,0,.3), 0 16px 40px rgba(0,0,0,.4);}
body[data-theme="night"] body::before{opacity:.5;}
body[data-theme="night"] .hero-photo{border-color:rgba(255,255,255,.08);}
body[data-theme="night"] .eyebrow{border-color:rgba(213,154,114,.4);color:#e0a67c;}
body[data-theme="night"] .gallery-item .g-num{color:#d5b8a0;border-color:rgba(255,255,255,.1);}
body[data-theme="mint"]{--cream:#eef7f1;--card:#fcfefd;--line:#dcebe1;
  --orange:#5fa87f;--orange-dark:#4c9470;--deep:#23533f;--text:#33483e;--muted:#7f9c8c;
  --shadow:0 1px 2px rgba(35,83,63,.04), 0 14px 36px rgba(35,83,63,.09);}

/* ---------- 高级感：移动端适配与修正 ---------- */
@media(max-width:560px){
  .hero-text h1{font-size:40px;}
  .sec-head h2{font-size:29px;}
  .hero-meta{gap:24px;}
}
body[data-theme="night"]::before{opacity:.55;}
body[data-theme="mint"]::before{opacity:.7;}

/* ========== 品牌重塑：新模块样式 ========== */
/* 导航横向不换行 */
.menu{flex-wrap:nowrap;white-space:nowrap;}
.menu a{white-space:nowrap;}
@media(max-width:1100px){
  .menu{gap:14px;font-size:13px;}
  .menu a{padding:0 4px;}
}

/* 养宠知识库 */
.knowledge{background:var(--cream);}
.knowledge-grid{max-width:1140px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:0 20px;}
.knowledge-card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:22px;
  box-shadow:var(--shadow);cursor:pointer;display:flex;flex-direction:column;gap:10px;transition:transform .3s, box-shadow .3s;}
.knowledge-card:hover{transform:translateY(-5px);box-shadow:0 16px 36px rgba(74,58,48,.13);}
.knowledge-card h3{font-size:17px;color:var(--deep);}
.knowledge-card p{font-size:13px;color:var(--muted);line-height:1.8;display:-webkit-box;
  -webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
@media(max-width:820px){ .knowledge-grid{grid-template-columns:1fr 1fr;} }
@media(max-width:560px){ .knowledge-grid{grid-template-columns:1fr;} }

/* 扫码进群 */
.join{background:linear-gradient(180deg,#fdf8f2,#fff6ec);}
body[data-theme="night"] .join{background:linear-gradient(180deg,#1c1f27,#232733);}
.join-grid{max-width:820px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:0 20px;}
.join-card{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:26px;text-align:center;
  box-shadow:var(--shadow);}
.qr{width:150px;height:150px;margin:0 auto 16px;border-radius:16px;overflow:hidden;border:1px solid var(--line);
  box-shadow:0 8px 22px rgba(74,58,48,.12);}
.qr .qr-svg{width:100%;height:100%;display:block;}
.join-card h3{font-size:17px;color:var(--deep);margin-bottom:8px;}
.join-card p{font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:16px;}

/* 0元资料钩子 */
.free-guide{max-width:820px;margin:26px auto 0;background:linear-gradient(135deg,#c9865e,#a96a45);
  border-radius:20px;padding:22px 26px;display:flex;align-items:center;justify-content:space-between;
  gap:18px;color:#fff;box-shadow:0 16px 36px rgba(169,106,69,.3);}
.fg-left{display:flex;align-items:center;gap:16px;text-align:left;}
.fg-icon{font-size:44px;background:rgba(255,255,255,.18);width:64px;height:64px;border-radius:16px;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.free-guide h3{font-size:19px;letter-spacing:.02em;}
.free-guide p{font-size:12.5px;opacity:.9;margin-top:4px;}
.free-guide .btn{background:#fff;color:var(--orange-dark);box-shadow:0 8px 20px rgba(0,0,0,.16);}
.free-guide .btn:hover{transform:translateY(-2px);}
@media(max-width:640px){
  .join-grid{grid-template-columns:1fr;}
  .free-guide{flex-direction:column;text-align:center;}
  .fg-left{flex-direction:column;}
}

/* 商城按钮组 */
.shop-btns{display:flex;gap:6px;}

/* 毛毛球 Bot 悬浮 */
.bot-float{position:fixed;right:22px;bottom:22px;z-index:300;display:flex;align-items:center;gap:10px;
  background:linear-gradient(135deg,#c9865e,#a96a45);color:#fff;border:none;border-radius:50px;
  padding:10px 18px 10px 10px;cursor:pointer;box-shadow:0 12px 30px rgba(169,106,69,.4);
  font-family:inherit;transition:transform .2s;}
.bot-float:hover{transform:translateY(-3px) scale(1.03);}
.bot-orb{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.22);
  display:flex;align-items:center;justify-content:center;font-size:22px;}
.bot-label{font-size:13px;font-weight:700;line-height:1.3;text-align:left;letter-spacing:.03em;}
.bot-label small{display:block;font-size:10.5px;font-weight:500;opacity:.85;}
.bot-panel{position:fixed;right:22px;bottom:92px;width:320px;max-height:440px;background:var(--card);
  border:1px solid var(--line);border-radius:20px;box-shadow:0 20px 50px rgba(74,58,48,.22);
  z-index:300;display:none;flex-direction:column;overflow:hidden;}
.bot-panel.show{display:flex;}
.bot-head{background:linear-gradient(135deg,#c9865e,#a96a45);color:#fff;padding:14px 16px;font-weight:700;
  font-size:15px;display:flex;align-items:center;justify-content:space-between;}
.bot-close{cursor:pointer;font-size:16px;opacity:.85;}
.bot-msgs{flex:1;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:10px;min-height:140px;}
.bm{max-width:82%;padding:9px 13px;border-radius:14px;font-size:13px;line-height:1.65;white-space:pre-line;}
.bm.bot{background:#f5efe7;color:#4c4138;align-self:flex-start;border-bottom-left-radius:4px;}
.bm.me{background:var(--orange);color:#fff;align-self:flex-end;border-bottom-right-radius:4px;}
body[data-theme="night"] .bm.bot{background:#2e333e;color:#dcd8d0;}
.bot-qs{display:flex;gap:8px;padding:10px 12px;border-top:1px solid var(--line);flex-wrap:wrap;}
.bot-qs button{border:1px solid var(--line);background:transparent;border-radius:20px;padding:6px 12px;
  font-size:12px;cursor:pointer;color:var(--text);font-family:inherit;}
.bot-qs button:hover{border-color:var(--orange);color:var(--orange-dark);}
@media(max-width:520px){
  .bot-panel{right:12px;left:12px;width:auto;}
  .bot-float{right:14px;bottom:14px;}
}

/* ========== 修复版：新样式 ========== */
/* 导航更紧凑，绝不换行 */
.menu{font-size:13.5px;}
.menu a{padding:0 4px;}
@media(max-width:1200px){ .menu{gap:10px;font-size:12.5px;} }
@media(max-width:900px){ .menu{display:none;} .menu.open{display:flex;} }
.nav-inner{height:62px;}

/* 今日推荐轮播 */
.featured{background:var(--cream);}
.featured-wrap{max-width:1140px;margin:0 auto;display:flex;align-items:center;gap:12px;padding:0 20px;}
.featured-track{flex:1;display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;
  padding:6px 2px 16px;scrollbar-width:thin;}
.featured-track::-webkit-scrollbar{height:6px;}
.featured-track::-webkit-scrollbar-thumb{background:rgba(148,134,122,.3);border-radius:6px;}
.fd-card{flex:0 0 300px;scroll-snap-align:start;background:var(--card);border:1px solid var(--line);
  border-radius:18px;overflow:hidden;box-shadow:var(--shadow);text-decoration:none;color:var(--text);
  transition:transform .3s, box-shadow .3s;}
.fd-card:hover{transform:translateY(-5px);box-shadow:0 16px 36px rgba(74,58,48,.14);}
.fd-img{position:relative;aspect-ratio:16/9;background:#f4eadf;}
.fd-img img{width:100%;height:100%;object-fit:cover;}
.fd-tag{position:absolute;left:10px;top:10px;background:rgba(255,255,255,.92);color:var(--orange-dark);
  font-size:11.5px;font-weight:700;padding:3px 10px;border-radius:20px;}
.fd-emoji{aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;font-size:54px;
  background:linear-gradient(160deg,#f8efe6,#f2e3d4);position:relative;}
.fd-info{padding:14px 16px;}
.fd-info h3{font-size:16px;color:var(--deep);}
.fd-info p{font-size:12.5px;color:var(--muted);margin-top:5px;line-height:1.6;}
.fd-nav{flex-shrink:0;width:40px;height:40px;border-radius:50%;border:1px solid var(--line);
  background:var(--card);color:var(--text);font-size:22px;cursor:pointer;box-shadow:var(--shadow);
  line-height:1;transition:all .2s;}
.fd-nav:hover{border-color:var(--orange);color:var(--orange-dark);}
@media(max-width:640px){ .fd-nav{display:none;} .fd-card{flex-basis:78vw;} }

/* 底部深色引流 CTA */
.join{background:linear-gradient(135deg,#46372d,#6b4a36);}
.join-wrap{max-width:1080px;margin:0 auto;background:linear-gradient(135deg,#3b2f27,#573f30);
  border-radius:28px;padding:46px;box-shadow:0 26px 60px rgba(46,34,28,.4);color:#fff;
  display:grid;grid-template-columns:1.1fr 1fr;gap:36px;align-items:center;}
.join-main h2{font-size:38px;line-height:1.22;color:#fff;margin-bottom:14px;letter-spacing:.02em;}
.join-main p{color:rgba(255,255,255,.85);margin-bottom:24px;line-height:1.8;}
.join-actions{display:flex;gap:14px;flex-wrap:wrap;}
.btn.ghost.light{border:1px solid rgba(255,255,255,.6);color:#fff;background:transparent;}
.btn.ghost.light:hover{background:rgba(255,255,255,.12);}
.join-codes{display:flex;gap:16px;}
.join-card{background:#fff;color:var(--text);border-radius:18px;padding:20px 16px;text-align:center;
  flex:1;box-shadow:0 16px 36px rgba(0,0,0,.25);}
.join-card .qr{width:120px;height:120px;margin:0 auto 12px;}
.join-card h3{font-size:15px;color:var(--deep);margin-bottom:6px;}
.join-card p{font-size:12px;color:var(--muted);line-height:1.7;}
.join-lead{grid-column:1/-1;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);
  border-radius:18px;padding:20px 24px;display:flex;align-items:center;gap:20px;flex-wrap:wrap;}
.jl-text{flex:1;min-width:260px;}
.jl-text h3{font-size:18px;margin-bottom:4px;}
.jl-text p{font-size:12.5px;opacity:.85;}
.lead-form{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap;}
.lead-form input{flex:1;min-width:220px;border-radius:10px;padding:12px 14px;border:none;font-size:14px;outline:none;}
.lead-form .btn{flex-shrink:0;}
@media(max-width:860px){
  .join-wrap{grid-template-columns:1fr;padding:30px;}
  .join-codes{flex-direction:column;}
  .join-main{text-align:center;}
  .join-actions{justify-content:center;}
}

/* 回到顶部 */
.backtop{position:fixed;right:22px;bottom:96px;z-index:290;width:44px;height:44px;border-radius:50%;
  background:var(--card);border:1px solid var(--line);box-shadow:0 10px 26px rgba(74,58,48,.18);
  font-size:20px;cursor:pointer;color:var(--orange-dark);transition:opacity .3s, transform .3s;
  opacity:0;pointer-events:none;line-height:1;}
.backtop.show{opacity:1;pointer-events:auto;}
.backtop:hover{transform:translateY(-3px);}
@media(max-width:520px){ .backtop{right:14px;bottom:84px;} }

/* 修复：关于区绿色背景 → 暖沙色（消除大片绿色空白感） */
.about-art{background:linear-gradient(160deg,#f7efe6,#efe0cf);}
.about-photo{width:340px;height:340px;}
@media(max-width:560px){ .about-photo{width:240px;height:240px;} }
body[data-theme="mint"] .about-art{background:linear-gradient(160deg,#eef7f1,#dcebe1);}
body[data-theme="night"] .about-art{background:linear-gradient(160deg,#2a2e38,#333a48);}

/* 三个二维码卡片：允许换行、卡片自适应 */
.join-codes{flex-wrap:wrap;}
.join-card{min-width:150px;flex:1 1 150px;}
.join-card .btn{margin-top:10px;}

/* 商城专区展示 */
.zone{margin-bottom:44px;}
.zone-head{max-width:1140px;margin:0 auto 18px;display:flex;align-items:baseline;gap:12px;padding:0 20px;}
.zone-head h3{font-size:23px;color:var(--deep);letter-spacing:.02em;}
.zone-head h3::before{content:"";display:inline-block;width:6px;height:20px;background:linear-gradient(180deg,#c07a52,#e0a67c);
  border-radius:3px;margin-right:10px;vertical-align:-3px;}
.zone-head span{font-size:13px;color:var(--muted);}
@media(max-width:640px){ .zone-head h3{font-size:19px;} }

/* 毛毛球 Bot 文字输入 */
.bot-input{display:flex;gap:8px;padding:10px 12px;border-top:1px solid var(--line);}
.bot-input input{flex:1;border:1px solid var(--line);border-radius:20px;padding:9px 14px;font-size:13px;
  outline:none;font-family:inherit;background:#fbfdfc;color:var(--text);}
.bot-input input:focus{border-color:var(--orange);}
.bot-input button{width:36px;height:36px;border-radius:50%;border:none;background:linear-gradient(135deg,#c07a52,#e0a67c);
  color:#fff;font-size:15px;cursor:pointer;flex-shrink:0;box-shadow:0 6px 14px rgba(192,122,82,.3);}
.bot-input button:hover{transform:scale(1.06);}

/* ========== 通用评论区 ========== */
.cmt{margin-top:12px;border-top:1px dashed var(--line);padding-top:10px;}
.cmt-toggle{font-size:12.5px;color:var(--muted);cursor:pointer;user-select:none;transition:color .2s;}
.cmt-toggle:hover{color:var(--orange-dark);}
.cmt-body{margin-top:10px;}
.cmt-list{max-height:200px;overflow:auto;display:flex;flex-direction:column;gap:8px;margin-bottom:10px;}
.cmt-item{background:#faf6f0;border:1px solid var(--line);border-radius:10px;padding:8px 12px;}
body[data-theme="night"] .cmt-item{background:#2e333e;}
.cmt-top{display:flex;justify-content:space-between;font-size:11.5px;color:var(--muted);}
.cmt-top b{color:var(--deep);}
.cmt-item p{font-size:12.5px;color:#5d5146;margin-top:4px;line-height:1.6;}
body[data-theme="night"] .cmt-item p{color:#c3cad6;}
.cmt-empty{font-size:12px;color:var(--muted);padding:6px 0;}
.cmt-form{display:flex;gap:8px;flex-wrap:wrap;}
.cmt-form input{border:1px solid var(--line);border-radius:10px;padding:8px 12px;font-size:12.5px;outline:none;
  font-family:inherit;background:#fff;color:var(--text);}
.cmt-form .cmt-name{width:100px;}
.cmt-form .cmt-text{flex:1;min-width:140px;}
.cmt-form input:focus{border-color:var(--orange);}
.lb-comments{width:86vw;max-width:560px;background:#fff;border-radius:14px;padding:14px 16px;margin-top:14px;
  max-height:30vh;overflow:auto;}
.lb-comments .cmt-toggle{color:var(--orange-dark);}

/* 毛毛球语音按钮 */
.bot-head-btn{background:rgba(255,255,255,.18);border:none;color:#fff;border-radius:12px;padding:4px 10px;
  font-size:12px;cursor:pointer;transition:background .2s;}
.bot-head-btn:hover{background:rgba(255,255,255,.32);}
.bot-head-btn.on{background:rgba(255,255,255,.4);}
.mic-btn.listening{background:#e05c5c !important;color:#fff !important;animation:pulse 1s infinite;}
@keyframes pulse{0%,100%{opacity:1;}50%{opacity:.45;}}

/* ===== 手机端导航加固（v36）===== */
@media(max-width:900px){
  .nav{position:relative;}
  .nav-inner{height:54px;gap:12px;padding:0 14px;}
  .brand{font-size:16px;letter-spacing:.02em;white-space:nowrap;}
  .menu{display:none !important;position:absolute;top:54px;left:0;right:0;background:#fff;
    flex-direction:column;align-items:stretch;padding:8px 14px 14px;gap:0;
    max-height:calc(100vh - 70px);overflow-y:auto;
    border-bottom:1px solid var(--line);box-shadow:0 12px 30px rgba(74,58,48,.12);}
  .menu.open{display:flex !important;}
  .menu a{display:block;padding:11px 4px;font-size:14.5px;border-bottom:1px solid rgba(74,58,48,.06);}
  .menu a:last-child{border-bottom:none;}
  .menu .btn{margin-top:10px;justify-content:center;}
  .theme-btn{width:34px;height:34px;font-size:15px;}
  .burger{font-size:22px;}
}
