/* claude-home2-1028 首页改版（效果图「版本 1 修改版」V1b-Final）样式。只有新首页模板 Tokyo/Index2.html 加载本文件；
   颜色 / 圆角 / 字号照效果图，电脑 1280 宽对齐效果图；≤768px 一列（顶栏 → 手机横幅 → 商品卡 → 侧栏三块 → 通栏各块）。
   撤回：bash /root/cz-backups/home2-20261028-054429/restore.sh（或 bash /root/claude-tools/home-v2.sh off）
   claude-home2fix-1028（10-28 下午她要求）：顶栏头像、商品卡图标（.h2-ico）、Plus/Grok 四档 2×2（.h2-chips--g2）、「我是瑶瑶」卡换回旧首页样式。还原见 /root/cz-backups/home2fix-（时间）/restore.sh */

/* ---------- 页面底色：原站导航条在新版里换成下面的 .h2-top（原导航只隐藏、不删，切换语言 / 公告脚本照常） ---------- */
.tokyo-nav-shell{display:none !important}
body.tokyo-theme{background:#f5f6f8}

.h2{box-sizing:border-box;max-width:1280px;margin:0 auto;padding:0 24px;display:flex;flex-direction:column;color:#111827;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Segoe UI",sans-serif;font-size:15px;line-height:1.5}
.h2 *,.h2 *::before,.h2 *::after{box-sizing:border-box}
.h2 h1,.h2 h2,.h2 h3,.h2 p,.h2 ul,.h2 ol,.h2 dl,.h2 dd{margin:0}
.h2 ul,.h2 ol{padding:0;list-style:none}
.h2 a{text-decoration:none}
.h2 svg{flex:none}
.h2 button{font-family:inherit}
.h2 [hidden]{display:none !important}
.h2 .tokyo-main.h2-main{margin:0;padding:0}
.h2 .tokyo-shell.h2-shell{width:auto;max-width:none;margin:0;display:flex;flex-direction:column}

/* ---------- 顶栏 ---------- */
.h2-top{margin-top:16px;min-height:64px;padding:11px 20px;background:#fff;border:1px solid #e8eaef;border-radius:16px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 24px;position:relative;z-index:20}
.h2-brand{display:flex;align-items:center;gap:10px;min-width:0;color:#111827 !important}
.h2-brand-mk{flex:none;display:block;width:40px;height:40px;border-radius:50%;object-fit:cover;background:#f3f4f6;box-shadow:0 0 0 1px rgba(17,24,39,.08)} /* claude-home2fix-1028 原「瑶」字黑圆块，换成瑶瑶头像（和旧版顶栏同一张 favicon） */
.h2-brand-nm{font-size:16px;font-weight:800;line-height:22px;white-space:nowrap}
.h2-brand-nm span{font-weight:500;color:#4b5563}
.h2-nav{display:flex;align-items:center;flex-wrap:wrap;gap:4px}
.h2-nav a,.h2-nav button{display:inline-flex;align-items:center;padding:8px 14px;border:0;border-radius:999px;background:transparent;color:#4b5563 !important;font-size:14px;font-weight:600;line-height:20px;cursor:pointer;white-space:nowrap}
.h2-nav a:hover,.h2-nav button:hover{background:#f3f4f6;color:#111827 !important}
.h2-nav a.is-on{background:#f3f4f6;color:#111827 !important;font-weight:700}
.h2-tools{flex:none;display:flex;align-items:center;gap:6px}
.h2-lang-btn{display:inline-flex;align-items:center;gap:4px;height:36px;min-width:36px;padding:0 9px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;color:#4b5563;font-size:12px;font-weight:600;line-height:1;cursor:pointer}
.h2-lang-btn:hover,.h2-lang.show .h2-lang-btn{border-color:#c9ccd3;color:#111827}
.h2-lang-btn [data-lang-label]:empty{display:none}
.h2-lang-menu{min-width:132px;padding:6px;border:1px solid #e8eaef;border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.12);font-size:14px}
.h2-lang-menu .dropdown-item{border-radius:8px;padding:8px 12px;color:#111827}
.h2-lang-menu .dropdown-item:hover{background:#f3f4f6}
.h2-lang-menu .dropdown-item.active,.h2-lang-menu .dropdown-item:active{background:#f3f4f6;color:#111827;font-weight:700}
.h2-login{display:inline-flex;align-items:center;height:36px;padding:0 10px;border-radius:999px;color:#4b5563 !important;font-size:14px;font-weight:600;white-space:nowrap}
.h2-login:hover{background:#f3f4f6;color:#111827 !important}
.h2-topbtn{flex:none;display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border:0;border-radius:999px;background:#111;color:#fff;font-size:14px;font-weight:700;line-height:20px;cursor:pointer;white-space:nowrap}
.h2-topbtn:hover{background:#2b2b2b}

/* ---------- 二维码气泡（电脑悬停 / 点击；手机点按钮走 wx-card.js 的弹窗） ---------- */
.h2-qr{position:relative;flex:none}
.h2-qr-pop{position:absolute;z-index:40;padding:16px;background:#fff;border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.18);text-align:center;color:#111827}
.h2-qr-pop::before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px} /* 按钮和气泡之间的「桥」：鼠标从按钮移到气泡中途不算移开 */
.h2-qr-pop img{display:block;width:180px;height:180px;margin:0 auto;border-radius:8px;background:#f3f4f6;object-fit:contain}
.h2-qr-t{margin-top:12px;font-size:15px;font-weight:700;line-height:22px;color:#111827}
.h2-qr-s{margin-top:4px;font-size:12px;line-height:18px;color:#6b7280}
.h2-qr--top .h2-qr-pop{right:0;top:48px;width:240px}
.h2-qr--side .h2-qr-pop{left:0;right:0;top:54px} /* claude-home2fix-1028 按钮 44→46 高，原 top:52px */
.h2-qr--side .h2-qr-pop::before{top:-8px;height:8px}

/* ---------- 手机三行横幅（从旧首页原样搬过来；只在 ≤768px 显示） ---------- */
.h2 .yy-notice-bar{display:none}
.h2 .yy-nb{display:none}

/* ---------- 信任条 ---------- */
.h2-trust{margin:12px 0 0 !important;padding:6px !important;background:#e8ebf0;border-radius:14px;display:flex;flex-wrap:wrap;gap:6px}
.h2-trust li{flex:1 1 200px;min-width:0;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 12px;border-radius:10px;background:#fff;font-size:14px;font-weight:600;line-height:20px;color:#374151;text-align:center}
.h2-trust li.is-b{font-weight:700;color:#111827}

/* ---------- 主体两栏 ---------- */
.h2-row{margin-top:24px;display:flex;flex-wrap:wrap;align-items:flex-start;gap:24px}
.h2-cat{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:16px}
.h2-cat-hd h1{font-size:22px;font-weight:800;line-height:30px;color:#111827}
.h2-cat-hd p{margin-top:4px;font-size:14px;line-height:20px;color:#4b5563}
.h2-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}

.h2-card{display:flex;flex-direction:column;gap:12px;min-width:0;padding:18px;background:#fff;border:1px solid #e8eaef;border-radius:16px;overflow-wrap:anywhere}
.h2-card-hd{flex:none;min-height:44px;display:flex;align-items:center;gap:12px;min-width:0}
/* claude-home2fix-1028 商品图标 = 商品自己的图（和旧首页列表 .tokyo-commodity-thumb 一样：浅底圆角方块 + 细边框 + 铺满），下面的字母块只在商品没有图时用 */
.h2-ico{flex:none;display:block;width:44px;height:44px;border-radius:12px;border:1px solid #e5e7eb;background:#f5f6f8;object-fit:cover}
.h2-mk{flex:none;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;color:#fff;font-size:14px;font-weight:800;line-height:1;letter-spacing:.5px}
.h2-card-tt{min-width:0}
.h2-card-br{font-size:12px;font-weight:600;line-height:16px;color:#6b7280}
.h2-card h3{margin:2px 0 0;font-size:16px;font-weight:700;line-height:22px;color:#111827}
.h2-card h3 a{color:#111827 !important}
.h2-card h3 a:hover{text-decoration:underline;text-underline-offset:3px}
.h2-chips{flex:none;min-height:58px;display:flex;flex-wrap:wrap;align-content:flex-start;gap:6px}
.h2-chip{display:inline-flex;align-items:center;height:26px;padding:0 10px;border:1px solid #dfe2e8;border-radius:999px;background:#fff;color:#374151 !important;font-size:12px;font-weight:600;line-height:24px;white-space:nowrap}
.h2-chip:hover{border-color:#111}
/* claude-homechip-1028（10-28 她要求：默认选中第一个的黑色按钮取消，几个档位都是白色，看着按钮没那么多）：档位胶囊本来就是链接，点了直接跳商品页 /item/ID?d=档位，卡片上不切换价格；
   所以默认档（is-on）不再画成黑底白字，和别的档位一样白底，鼠标移上去照旧深色边框。原来这条是 .h2-chip.is-on{border-color:#111;background:#111;color:#fff !important}。还原 bash /root/cz-backups/homechip-20261028-135339/restore.sh */
.h2-chip.is-out{opacity:.55}
.h2-chips--g2{display:grid;grid-template-columns:repeat(2,max-content);justify-content:start} /* claude-home2fix-1028 四个档位排成整齐的 2×2（每列等宽） */
.h2-chips--g2 .h2-chip{justify-content:center}
.h2-pr{flex:none;min-height:36px;display:flex;align-items:baseline;flex-wrap:wrap;gap:0 10px}
.h2-pr-m{font-size:28px;font-weight:700;line-height:36px;color:#111827;white-space:nowrap}
.h2-pr-m small{margin-left:2px;font-size:15px;font-weight:700}
.h2-pr-oc{font-size:13px;font-weight:600;line-height:18px;color:#0f7a3d;white-space:nowrap}
.h2-dw{flex:none;min-height:44px;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.h2-tag{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:6px;background:#e8f7ee;color:#0f7a3d;font-size:12px;font-weight:600;line-height:18px}
.h2-stock{font-size:12px;line-height:18px;color:#6b7280}
.h2-buy{flex:none;margin-top:auto;display:flex;align-items:center;justify-content:center;width:100%;height:44px;padding:0 16px;border-radius:12px;background:#111;color:#fff !important;font-size:15px;font-weight:700;line-height:20px}
.h2-buy:hover{background:#2b2b2b}
.h2-card.is-out .h2-buy{background:#9ca3af}

.h2-card--ask{background:#eef1f5;border-color:#e1e5eb}
.h2-ask-ic{flex:none;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#fff;color:#111827}
.h2-card--ask h3{margin:0;font-size:17px;line-height:24px}
.h2-card--ask p{flex:1 1 auto;font-size:14px;line-height:22px;color:#4b5563}
.h2-ask-btn{flex:none;display:flex;align-items:center;justify-content:center;gap:6px;width:100%;height:44px;padding:0 16px;border:1px solid #d1d5db;border-radius:12px;background:#fff;color:#111827 !important;font-size:15px;font-weight:700;line-height:20px;cursor:pointer}
.h2-ask-btn:hover{border-color:#9ca3af}

/* ---------- 右侧栏 ---------- */
.h2-side{flex:1 1 320px;max-width:320px;min-width:0;display:flex;flex-direction:column;gap:16px}
/* claude-home2fix-1028「我是瑶瑶」卡：照旧首页 Index.html 的 .yy-intro + .yy-intro-c（深色渐变 + 金色描边 + 顶边金色细光 + 金框真人头像 + 320万+ 金色大字）。
   旧卡用 overflow:hidden 裁右上角光晕，这里不能裁（会把二维码气泡裁掉），所以光晕改成第一层背景。原纯黑卡样式见备份 orig 里的 home2.css */
.h2-me{position:relative;z-index:10;display:flex;flex-direction:column;gap:12px;padding:14px;border-radius:18px;border:1px solid rgba(226,190,120,.42);color:#f4efe6;
    background:radial-gradient(circle at calc(100% - 50px) 30px,rgba(240,205,140,.22) 0,rgba(240,205,140,0) 90px),radial-gradient(130% 120% at 100% 0%,#3b3022 0%,#1f1c1d 46%,#131316 100%);
    box-shadow:0 10px 22px rgba(19,19,22,.18),inset 0 1px 0 rgba(255,255,255,.07)}
.h2-me::after{content:"";position:absolute;left:14px;right:14px;top:0;height:1px;background:linear-gradient(90deg,rgba(226,190,120,0),rgba(240,210,150,.85),rgba(226,190,120,0));pointer-events:none}
.h2-me-row{position:relative;display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid rgba(226,190,120,.18)}
.h2-me-av{flex:none;display:block;width:52px;height:52px;border-radius:50%;object-fit:cover;padding:2px;background:linear-gradient(135deg,#f8e6bb 0%,#c8963f 50%,#f3d79a 100%);box-shadow:0 0 0 3px rgba(226,190,120,.12),0 4px 10px rgba(0,0,0,.35)}
.h2-me-tx{flex:1 1 auto;min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px}
.h2 .h2-me .h2-me-nm{font-size:19px;font-weight:900;line-height:1.3;letter-spacing:.5px;color:#fff}
.h2-me-fans{font-size:14px;font-weight:600;line-height:1.3;color:#d9d1c3;white-space:nowrap}
.h2-me-fans em{font-style:normal;font-size:20px;font-weight:900;margin:0 2px;background:linear-gradient(180deg,#fbe7b5 0%,#e2b462 55%,#c8923a 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.h2 .h2-me .h2-me-desc{flex:1 0 100%;margin-top:2px;font-size:13px;font-weight:500;line-height:1.4;letter-spacing:.2px;color:rgba(244,239,230,.78)}
.h2-me-desc span{display:inline-block;white-space:nowrap}
/* 「点我加企业微信」按钮：悬停 / 点按弹二维码的逻辑不变（home2.js），外观换成旧卡的绿色渐变胶囊按钮 */
.h2-greenbtn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:46px;padding:0 16px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:linear-gradient(180deg,#22d07a 0%,#07b45a 100%);color:#fff;font-size:16px;font-weight:800;line-height:20px;letter-spacing:.3px;cursor:pointer;box-shadow:0 8px 18px rgba(7,193,96,.30),inset 0 1px 0 rgba(255,255,255,.25)}
.h2-greenbtn:hover{background:linear-gradient(180deg,#1fc672 0%,#06a552 100%)}
.h2-ref{min-height:64px;display:flex;align-items:center;gap:10px;padding:8px 14px 8px 16px;border-radius:16px;background:#d4391c;color:#fff !important}
.h2-ref:hover{background:#c23418}
.h2-ref-t{flex:1 1 auto;min-width:0;font-size:14px;font-weight:700;line-height:20px;color:#fff}
.h2-ref-t span{display:block}
.h2-ref-b{flex:none;display:inline-flex;align-items:center;height:32px;padding:0 12px;border-radius:999px;background:#fff;color:#b42d14;font-size:13px;font-weight:700;line-height:18px;white-space:nowrap}
/* 「刚刚有人充上了」：内容和滚动由 Feed.js 生成（不改它），这里只把外观对齐效果图 */
.h2-feed:empty{display:none}
.h2 .h2-feed .yy-feed{margin-top:0;border:1px solid #e8eaef;border-radius:16px;background:#fff}
.h2 .h2-feed .yy-feed-head{padding:16px 18px 10px;border-bottom:0}
.h2 .h2-feed .yy-feed-title{font-size:16px;line-height:22px;color:#111827}
.h2 .h2-feed .yy-feed-count{font-size:12px;color:#6b7280}
.h2 .h2-feed .yy-feed-count b{font-size:12px;color:#6b7280;font-weight:600}
.h2 .h2-feed .yy-feed-row{padding:0 18px;border-bottom:0;border-top:1px solid #f0f1f4}
.h2 .h2-feed .yy-feed-tag{display:none}
.h2 .h2-feed .yy-feed-line{font-size:13px;color:#4b5563}
.h2 .h2-feed .yy-feed-line em{color:#111827;font-weight:600}
.h2 .h2-feed .yy-feed-ago{font-size:12px;color:#6b7280}
.h2 .h2-feed .yy-feed-side b{font-size:12px;font-weight:600;color:#6b7280}
.h2 .h2-feed .yy-feed-ok{display:inline-block;padding:0 6px;border-radius:5px;background:#e8f7ee;color:#0f7a3d;font-size:12px;font-weight:600;line-height:18px}
.h2 .h2-feed .yy-feed-foot{flex-wrap:wrap;gap:6px;padding:12px 18px 16px;border-top:1px solid #f0f1f4;font-size:12px;line-height:18px;color:#6b7280}
.h2 .h2-feed .yy-feed-foot a{color:#1a56db;font-size:13.5px}
.h2 .h2-feed .yy-feed-total{font-size:12px;color:#6b7280}
.h2 .h2-feed .yy-feed-total b{font-size:12px;color:#6b7280}

/* ---------- 通栏各块 ---------- */
.h2-shell > section{margin-top:48px}
.h2-shell > .h2-trust + .h2-row{margin-top:24px}
.h2 h2{font-size:20px;font-weight:700;line-height:28px;color:#111827}
.h2-box{display:flex;flex-direction:column;gap:16px;padding:24px;background:#fff;border:1px solid #e8eaef;border-radius:16px}
.h2-steps ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.h2-steps li{display:flex;align-items:flex-start;gap:12px;min-width:0}
.h2-num{flex:none;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#111;color:#fff;font-size:15px;font-weight:800;line-height:1}
.h2-st-t{font-size:15px;font-weight:700;line-height:22px;color:#111827}
.h2-st-s{font-size:13px;line-height:19px;color:#6b7280}

.h2-why{display:flex;flex-direction:column;gap:16px}
.h2-why-g{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.h2-why-i{display:flex;flex-wrap:wrap;align-items:center;gap:12px;min-width:0;padding:18px;background:#fff;border:1px solid #e8eaef;border-radius:16px;overflow-wrap:anywhere}
.h2-why-ic{flex:none;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:#f3f4f6;color:#111827}
.h2-why-tx{flex:1 1 120px;min-width:0}
.h2-why h3{font-size:15px;font-weight:700;line-height:22px;color:#111827}
.h2-why p{margin-top:2px;font-size:13px;line-height:19px;color:#6b7280}

.h2-rv{display:flex;flex-direction:column;gap:16px}
.h2-rv-hd{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:8px 16px}
.h2-rv-hd p{margin-top:2px;font-size:13px;line-height:19px;color:#4b5563}
.h2-rv a,.h2-guide-more,.h2 .h2-rv-hd a{color:#1a56db !important;font-size:14px;font-weight:600;line-height:20px}
.h2-rv a:hover{color:#1e429f !important}
.h2-rv-g{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.h2-rc{display:flex;flex-direction:column;gap:10px;min-width:0;padding:18px;background:#fff;border:1px solid #e8eaef;border-radius:16px;overflow-wrap:anywhere}
.h2-rc-hd{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.h2-rc-av{flex:none;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;font-size:14px;font-weight:700;line-height:1}
.h2-rc-who{flex:1 1 60px;min-width:0}
.h2-rc-nm{font-size:14px;font-weight:700;line-height:20px;color:#111827}
.h2-rc-dt{font-size:12px;line-height:16px;color:#6b7280}
.h2-rc-st{flex:none;display:inline-flex;gap:1px;color:#d97706}
.h2-rc-tx{font-size:14px;line-height:22px;color:#1f2937}
.h2-rc-it{font-size:12.5px;line-height:18px;color:#6b7280}
.h2-rv--empty{flex-direction:row;align-items:center;flex-wrap:wrap;gap:6px 16px;padding:18px 24px;background:#fff;border:1px solid #e8eaef;border-radius:16px}
.h2-rv--empty h2{flex:none}
.h2-rv--empty p{flex:1 1 280px;min-width:0;font-size:14px;line-height:21px;color:#4b5563}

.h2-faq dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 24px}
.h2-faq dl > div{min-width:0}
.h2-faq dt{font-size:15px;font-weight:700;line-height:22px;color:#111827}
.h2-faq dd{margin-top:4px !important;font-size:14px;line-height:21px;color:#4b5563}

.h2-guide-g{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 16px}
.h2-guide-g a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:12px 14px;border-radius:12px;background:#f7f8fa;color:#111827 !important;font-size:14.5px;font-weight:600;line-height:21px}
.h2-guide-g a:hover{background:#eef0f4}
.h2-guide-g a span{min-width:0}
.h2-guide-g a.h2-guide-more{color:#1a56db !important}

/* ---------- 页脚 ---------- */
.h2-foot{margin:48px 0 32px;padding:20px 24px;background:#fff;border:1px solid #e8eaef;border-radius:16px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px 32px}
.h2-foot-l{flex:1 1 320px;min-width:0}
.h2-foot-t{font-size:15px;font-weight:700;line-height:22px;color:#111827}
.h2-foot-s{margin-top:4px;font-size:13px;line-height:19px;color:#6b7280}
.h2-foot-d{margin-top:6px;font-size:12px;line-height:18px;color:#6b7280}
.h2-foot-nav{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;font-size:13.5px;line-height:20px}
.h2-foot-nav a{color:#4b5563 !important}
.h2-foot-nav a:hover{color:#111827 !important}
.h2-foot-nav span{color:#9ca3af}
.h2-foot-wx{flex:none;display:inline-flex;align-items:center;gap:6px;color:#0f7a3d !important;font-size:14px;font-weight:700;line-height:20px;cursor:pointer}
.h2-foot-wx:hover{color:#0b5e2f !important}
.h2 ~ .tokyo-footer{margin-top:0}

/* ---------- 平板（769–1179）：卡片两列；≤1023 侧栏放到商品下面、占满一行 ---------- */
@media (max-width:1179px){
    .h2-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1023px){
    .h2-row{flex-direction:column;align-items:stretch}
    /* claude-home2fix-1028 平板宽：「我是瑶瑶」卡照旧首页 768–1024 的排法，头像文字在左、按钮在右 */
    .h2-me{flex-direction:row;align-items:center;gap:14px 24px;padding:14px 18px}
    .h2-me-row{flex:1 1 auto;padding-bottom:0;border-bottom:0}
    .h2-me .h2-qr--side{flex:none;width:min(360px,50%)}
    .h2-cat{flex:none}
    .h2-side{flex:none;max-width:none;width:100%}
    .h2-why-g{grid-template-columns:repeat(2,minmax(0,1fr))}
    .h2-faq dl,.h2-guide-g,.h2-rv-g{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ---------- 手机（≤768px）：一列 ---------- */
@media (max-width:768px){
    .h2{padding:0 16px}
    .h2-top{margin-top:12px;padding:10px 12px;gap:8px;border-radius:14px}
    .h2-top{gap:8px 6px}
    .h2-brand{order:0;flex:1 1 auto}
    .h2-brand-mk{width:34px;height:34px;font-size:15px}
    .h2-brand-nm{font-size:15px}
    .h2-brand-nm span{display:none}
    .h2-tools{display:contents} /* 手机：第一行 店名 + 加企业微信；第二行 导航 + 语言 + 登录 */
    .h2-qr--top{order:1}
    .h2-nav{order:2;flex:0 1 auto;gap:0}
    .h2-lang{order:3;margin-left:auto}
    .h2-lang-btn [data-lang-label]{display:none}
    .h2-login{order:4;height:32px;padding:0 8px;font-size:13.5px}
    .h2-lang-btn{height:32px;min-width:32px;padding:0 7px}
    .h2-topbtn{height:34px;padding:0 12px;font-size:13.5px}
    .h2-nav a,.h2-nav button{padding:6px 7px;font-size:13.5px}
    .h2-qr--top .h2-qr-pop{width:220px}

    /* 手机三行横幅：和旧首页 claude-r2-1026 版本 A 一样（原样式在 Index.html 的 #yy-m1026，这里照搬，断点改成 768） */
    .h2 .yy-notice-bar.yy-nb-A{display:block !important;margin:12px 0 0 !important;padding:9px 8px 10px !important;border-radius:14px !important;text-align:center;background:linear-gradient(180deg,#ffeadb 0%,#ffdccd 100%) !important;border:1px solid #eeb39b !important;font-size:13px;line-height:1.5;color:#5a2a27}
    .h2 .yy-nb-A .yy-notice-text,.h2 .yy-nb-A .yy-notice-wx{display:none !important}
    .h2 .yy-nb-A .yy-nb{display:block}
    .h2 .yy-nb-l1{font-size:15px;line-height:21px;font-weight:800;color:#4f2220}
    .h2 .yy-nb-l1 em{font-style:normal;font-size:16px;color:#c8321f}
    .h2 .yy-nb-l2{margin-top:3px;font-size:13px;line-height:19px;font-weight:600;color:#553a31;letter-spacing:-.2px}
    .h2 .yy-nb-l2 .sep{margin:0 3px;opacity:.6}
    .h2 .yy-nb-l2 .oc{color:#0b6a33;font-weight:800;white-space:nowrap}
    .h2 .yy-nb-wx{display:inline;margin:0;padding:0;line-height:inherit;letter-spacing:0;border:0;background:none;font:inherit;font-size:13px;font-weight:600;color:#9a4a32;text-decoration:underline;text-underline-offset:2px;text-decoration-color:rgba(154,74,50,.45);white-space:nowrap;cursor:pointer}
    .h2 .yy-nb-ref{display:flex;align-items:center;justify-content:center;gap:6px;margin:8px auto 0;height:36px;max-width:290px;border-radius:999px;font-size:16px;font-weight:800;text-decoration:none !important;letter-spacing:.3px;background:linear-gradient(90deg,#ff4a36,#ff7a2e);color:#fff !important;box-shadow:0 4px 12px rgba(255,74,54,.32)}
    .h2 .yy-nb-ref .arr{font-size:15px}

    .h2-trust{display:none !important}
    .h2-row,.h2-shell > .h2-trust + .h2-row{margin-top:16px;gap:16px}
    .h2-cat-hd h1{font-size:19px;line-height:27px}
    .h2-grid{grid-template-columns:minmax(0,1fr);gap:12px}
    .h2-me{flex-direction:column;align-items:stretch;gap:12px;padding:14px} /* claude-home2fix-1028 手机：名片回到上下排（按钮整行） */
    .h2-me-row{padding-bottom:12px;border-bottom:1px solid rgba(226,190,120,.18)}
    .h2-me .h2-qr--side{width:auto}
    .h2-card{padding:16px}
    .h2-chips,.h2-pr,.h2-dw{min-height:0}
    .h2-shell > section{margin-top:32px}
    .h2-box{padding:18px 16px}
    .h2-steps ol,.h2-faq dl,.h2-guide-g,.h2-rv-g{grid-template-columns:minmax(0,1fr)}
    .h2-steps .h2-st-t:only-child{padding-top:5px} /* claude-home3fix-1028 新加的（原来没有这条）：第 3 步删了小字只剩标题，手机一列时让标题和左边圆圈数字上下居中；电脑三列不受影响 */
    .h2-faq dl{gap:14px}
    .h2-why-g{gap:12px}
    .h2-why-i{padding:14px;gap:10px}
    .h2-rv--empty{padding:16px}
    .h2-foot{margin:32px 0 24px;padding:18px 16px;flex-direction:column;align-items:flex-start;gap:12px}
    .h2-foot-l{flex:none;width:100%}
}
@media (max-width:370px){
    .h2 .yy-nb-l2{letter-spacing:-.45px}
    .h2 .yy-nb-l2 .sep{margin:0 2px}
    .h2 .yy-nb-wx{letter-spacing:-.2px}
    .h2-why-g{grid-template-columns:minmax(0,1fr)}
    .h2-topbtn{padding:0 10px}
}
/* ---------- claude-hometop-1028 方案 A 标题行（Index2.html 的 .h2-hd）：H1 在左、四条红色小勾在右，横跨整宽；宽度不够（约 1180 以下）自动折成两行，小勾在 H1 下面左对齐。
   原来是 .h2-trust 四个白格 + 左栏 .h2-cat-hd 里的 H1 和副标题（上面那几条旧规则留着没删，页面上已经没有元素用到）。
   顶栏黑色「加企业微信」按钮也删了（.h2-qr--top / .h2-topbtn 旧规则同样留着没删），手机顶栏改成：第一行 头像店名 …… 语言 登录，第二行 导航。
   还原 bash /root/cz-backups/hometop-20261028-131613/restore.sh ---------- */
.h2-hd{margin-top:28px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 24px}
.h2 .h2-hd h1{margin:0;font-size:24px;font-weight:800;line-height:32px;color:#111827}
.h2 .h2-ticks{display:flex;flex-wrap:wrap;gap:6px 20px;margin:0;padding:0;list-style:none;font-size:14px;font-weight:500;line-height:20px;color:#dc2626}
.h2-ticks li{display:flex;align-items:center;gap:5px;white-space:nowrap}
.h2-ticks li.is-b{font-weight:700}
.h2-shell > .h2-hd + .h2-row{margin-top:18px}
/* 顶栏删了黑按钮后右边变窄，导航会往右偏；电脑宽（1024 以上）改成左中右三栏，导航仍在顶栏正中（和效果图一样）。原来是 flex 两端对齐 */
@media (min-width:1024px){
    .h2-top{display:grid;grid-template-columns:minmax(max-content,1fr) auto minmax(max-content,1fr)}
    .h2-brand{justify-self:start}
    .h2-tools{justify-self:end}
}
@media (max-width:768px){
    .h2-hd{margin-top:16px}
    .h2 .h2-hd h1{font-size:19px;line-height:27px}
    .h2 .h2-ticks{display:none !important}
    .h2-shell > .h2-hd + .h2-row{margin-top:12px}
    .h2-lang,.h2-login{order:1}
    .h2-nav{order:2;flex:1 0 100%}
}
@media print{.h2-qr-pop{display:none !important}}
/* claude-homesold-1028 商品卡「已售 N 份」（和库存同一行，库存字样照旧；不到门槛不出现） */
.h2-sold{font-weight:600;color:#374151}
.h2-sep{color:#9ca3af}

/* ===== claude-blackgold-1030「我是瑶瑶」卡 黑金 B 版（B 黑金·金按钮）=====
   在 A 基础上，「点我加企业微信」改香槟金→琥珀金按钮（深棕字）
   用法：整段追加到 home2.css 末尾即可；撤回：删掉从本行到「claude-blackgold-1030 结束」这一整段。
   只改颜色 / 边框 / 阴影 / 背景 / 字色，不改尺寸、布局、文字内容；二维码弹窗逻辑不动。 */
/* 卡片底色：近黑带一点暖棕，右上角淡金光晕；边框底色换暗金（下面 ::before 的金色渐变边盖在它上面） */
.h2-me{border-color:#9a733a;color:#f3e9d6;background:radial-gradient(circle at calc(100% - 46px) 28px,rgba(238,203,135,.20) 0,rgba(238,203,135,0) 96px),linear-gradient(160deg,#211b14 0%,#141210 48%,#0c0b0a 100%);box-shadow:0 12px 26px rgba(24,18,10,.24),0 2px 6px rgba(24,18,10,.10),inset 0 1px 0 rgba(255,236,190,.10)}
/* 顶边金色细光（位置不变，只换颜色） */
.h2-me::after{background:linear-gradient(90deg,rgba(236,200,130,0),#f4dca6 50%,rgba(236,200,130,0))}
/* 分隔线改金色（两头渐隐） */
.h2-me .h2-me-row{border-bottom-color:rgba(214,172,98,.5);border-image:linear-gradient(90deg,rgba(214,172,98,.12),rgba(234,200,132,.85) 50%,rgba(214,172,98,.12)) 1}
/* 头像金圈：亮金→暗金→亮金，更像烫金 */
.h2-me .h2-me-av{background:linear-gradient(135deg,#fcefcc 0%,#dcb062 38%,#8e6428 62%,#f1d496 100%);box-shadow:0 0 0 3px rgba(226,190,120,.16),0 4px 10px rgba(0,0,0,.45)}
/* 「我是瑶瑶」改香槟金渐变字 */
.h2 .h2-me .h2-me-nm{background:linear-gradient(180deg,#fdf1d4 0%,#efd08f 50%,#d4a457 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
/* 「全网有…粉丝」字色偏香槟 */
.h2-me .h2-me-fans{color:#e6d9bf}
/* 「320万+」更亮 */
.h2-me .h2-me-fans em{background:linear-gradient(180deg,#fff8e4 0%,#f8dc9c 45%,#e6b764 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
/* 小字略偏暖白 */
.h2 .h2-me .h2-me-desc{color:rgba(241,230,207,.84)}
/* 按钮仍是绿色，比原来深一点（翡翠绿），白字对比度从 2.7 提到 4.5 以上 */
.h2-me .h2-greenbtn{border-color:rgba(255,255,255,.16);background:linear-gradient(180deg,#0f934f 0%,#087e3d 50%,#066e34 100%);box-shadow:0 8px 18px rgba(6,120,60,.30),inset 0 1px 0 rgba(255,255,255,.22)}
.h2-me .h2-greenbtn:hover{background:linear-gradient(180deg,#0c8747 0%,#067337 50%,#05632f 100%)}
/* B：按钮改金色（香槟金→琥珀金，深棕字，微信气泡图标跟着字色） */
.h2-me .h2-greenbtn{border-color:rgba(255,240,204,.6);background:linear-gradient(180deg,#f8e8c0 0%,#e8c684 46%,#cc9b45 100%);color:#2a1b09;box-shadow:0 8px 18px rgba(170,122,44,.30),inset 0 1px 0 rgba(255,255,255,.6),inset 0 -1px 0 rgba(122,82,24,.25)}
.h2-me .h2-greenbtn:hover{background:linear-gradient(180deg,#f3dfaf 0%,#dfba72 46%,#c08d3a 100%)}
/* 1.5px 金色渐变实边（亮金→暗金→亮金），画在边框上方，不改卡片大小；浏览器不支持时自动退回上面的暗金 1px 边 */
@supports ((mask-composite:exclude) or (-webkit-mask-composite:xor)){
    .h2-me::before{content:"";position:absolute;inset:-1px;padding:1.5px;border-radius:18px;background:linear-gradient(135deg,#f8e6b8 0%,#c99b52 24%,#7c5823 50%,#c99b52 76%,#f8e6b8 100%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;pointer-events:none}
}
/* ===== claude-blackgold-1030 结束 ===== */

/* ===== claude-rvscroll-1101 首页买家评价横向无缝滚动（新类名，不复用 .h2-rv-g）===== */
.h2-rv-mq{position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 40px,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(90deg,transparent,#000 40px,#000 calc(100% - 40px),transparent)}
.h2-rv-tr{display:flex;gap:16px;padding-right:16px;width:max-content;animation:h2rvx 70s linear infinite}
.h2-rv-mq:hover .h2-rv-tr,.h2-rv-mq:active .h2-rv-tr{animation-play-state:paused}
.h2-rv-tr .h2-rc{width:280px;flex:none}
@media (max-width:640px){.h2-rv-tr .h2-rc{width:230px}}
@keyframes h2rvx{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.h2-rv-tr{animation:none}.h2-rv-mq{overflow-x:auto}}
/* ===== claude-rvscroll-1101 结束 ===== */

/* claude-rvcard-1101 首页货架 Grok 后面的「买家评价」卡（竖向无缝滚动），只加新类名 */
.h2-rvc-ic{display:flex;align-items:center;justify-content:center;background:#fff7ed;border-color:#fed7aa;color:#ea580c}
.h2-card h3.h2-rvc-h{margin:0;font-size:17px}
.h2-rvc-sum{flex:none;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.h2-rvc-sum b{font-size:28px;font-weight:700;line-height:36px;color:#111827}
.h2-rvc-sum .st{color:#d97706;letter-spacing:1px;font-size:14px}
.h2-rvc-sum em{font-style:normal;font-size:13px;color:#4b5563}
.h2-rvc-win{position:relative;flex:1 1 auto;min-height:150px;height:150px;overflow:hidden;-webkit-mask-image:linear-gradient(transparent,#000 16px,#000 calc(100% - 16px),transparent);mask-image:linear-gradient(transparent,#000 16px,#000 calc(100% - 16px),transparent)}
.h2-rvc-tr{display:flex;flex-direction:column;animation:h2rvy var(--dur,60s) linear infinite}
.h2-rvc-win:hover .h2-rvc-tr,.h2-rvc-win:active .h2-rvc-tr{animation-play-state:paused}
@keyframes h2rvy{from{transform:translateY(0)}to{transform:translateY(-50%)}}
.h2-rvc-it{padding:10px 0;border-bottom:1px dashed #eceef2}
.h2-rvc-it p{margin:0;font-size:17px;font-weight:700;line-height:25px;color:#111827;overflow-wrap:anywhere}
.h2-rvc-hd{display:flex;align-items:center;gap:5px;margin-top:3px;font-size:11px;line-height:15px;color:#9ca3af}
.h2-rvc-hd .nm{color:#6b7280;white-space:nowrap}
.h2-rvc-hd .st{color:#d97706;font-size:10px}
.h2-rvc-hd .pd{margin-left:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:55%}
.h2-rvc-btn{flex:none;display:flex;align-items:center;justify-content:center;width:100%;height:44px;border:1px solid #d1d5db;border-radius:12px;background:#fff;color:#111827 !important;font-size:15px;font-weight:700}
.h2-rvc-btn:hover{border-color:#9ca3af}
@media (max-width:768px){.h2-rvc-win{height:170px;min-height:170px}}
@media (prefers-reduced-motion:reduce){.h2-rvc-tr{animation:none}.h2-rvc-win{overflow-y:auto}}
/* claude-rvcard-1101b 电脑 3 列时评价卡不撑高同排：滚动窗口高度跟着行高（Grok 卡）自动填满 */
.h2-card--rv{gap:10px}
@media (min-width:1180px){.h2-rvc-win{height:0;min-height:88px}}

/* claude-rvcard-sumhd-1101 好评率挪到「买家评价」右边；每条评价收紧，电脑上一次露 2 条 */
.h2-rvc-sum--hd{margin-left:auto;flex-direction:column;align-items:flex-end;gap:0;text-align:right}
.h2-rvc-sum--hd b{font-size:24px;line-height:28px}
.h2-rvc-sum--hd em{font-size:11.5px;line-height:15px;color:#6b7280;white-space:nowrap}
.h2-rvc-it{padding:8px 0}
.h2-rvc-win{-webkit-mask-image:linear-gradient(transparent,#000 8px,#000 calc(100% - 8px),transparent);mask-image:linear-gradient(transparent,#000 8px,#000 calc(100% - 8px),transparent)}
@media (min-width:1180px){.h2-rvc-win{min-height:128px}}

/* claude-rvhd-1101 底部「买家评价」标题旁边显示好评率 */
.h2-rv-ttl{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px}
.h2-rv-rate{font-size:13px;line-height:20px;color:#6b7280;white-space:nowrap}
.h2-rv-rate b{margin-right:3px;font-size:22px;font-weight:800;line-height:28px;color:#111827}

/* claude-rvcard-sumrow-1101 好评率和「好评率 · N 条」改成左右一行 */
.h2-rvc-sum--hd{flex-direction:row;align-items:baseline;flex-wrap:nowrap;gap:4px}
.h2-rvc-sum--hd b{font-size:22px;line-height:28px}
/* claude-rvcard-sumrow-1101b 电脑窄屏（3 列且 <1280）卡片太窄：评价卡不显示星星图标，保证「买家评价」和「96% 好评率 · N 条」同一行 */
.h2-card h3.h2-rvc-h{white-space:nowrap}
@media (min-width:1180px) and (max-width:1279px){.h2-rvc-ic{display:none}}

/* claude-trust-1104 首页：评价掌柜回复、全店条数/差评不删、页脚售后邮箱；公共页脚的邮箱行在首页隐藏（首页页脚已有） */
.yy-mailfoot{display:none}
.h2-rv-note{font-size:13px;line-height:20px;color:#6b7280}
.h2-rc-re,.h2-rvc-re{margin-top:8px;background:#f7f7f8;border-radius:6px;padding:6px 9px;font-size:12px;line-height:18px;color:#4b5563;overflow-wrap:anywhere;white-space:normal}
.h2-rc-re b,.h2-rvc-re b{color:#374151;font-weight:600}
.h2-foot-m{margin-top:4px;font-size:12px;line-height:18px;color:#6b7280}
.h2-foot-m a{color:inherit;text-decoration:underline;text-underline-offset:2px}
/* claude-rvcompact-home-1104-start 首页买家评价横向滚动卡片变紧凑（11-04 她说首页也照商品页方案 1 改）：原来所有卡片被最长那条（3 星+回复）撑到 312 高、其他只有 76 内容。正文最多 2 行、回复 1 行、头像变小、版本那行贴底；滚动和卡片顺序不变。撤回 bash /root/cz-backups/rvcompact-1104/restore-home.sh */
.h2-rv .h2-rv-tr .h2-rc{gap:6px;padding:12px 14px;border-radius:14px}
.h2-rv .h2-rv-tr .h2-rc-hd{gap:8px;flex-wrap:nowrap}
.h2-rv .h2-rv-tr .h2-rc-av{width:32px;height:32px;font-size:13px}
.h2-rv .h2-rv-tr .h2-rc-nm{min-width:0;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.h2-rv .h2-rv-tr .h2-rc-dt{font-size:11.5px}
.h2-rv .h2-rv-tr .h2-rc-st svg{width:12px;height:12px}
.h2-rv .h2-rv-tr .h2-rc-tx{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:21px}
.h2-rv .h2-rv-tr .h2-rc-it{margin-top:auto;font-size:12px;line-height:17px}
.h2-rv .h2-rv-tr .h2-rc-re{margin-top:0;padding:4px 8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:640px){.h2-rv .h2-rv-tr .h2-rc{width:250px}}
/* claude-rvcompact-home-1104-end */
