/* 独立内容页（news/cases/copyright）共享样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans SC', sans-serif; background: #faf9f7; color: #3d3328; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
a { text-decoration: none; color: inherit; }
/* 按钮默认不继承页面字体，统一修正，避免按钮文字与全站字体不一致 */
button { font-family: inherit; cursor: pointer; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Header */
header { position: sticky; top: var(--promoH, 0px); z-index: 50; background: rgba(250,249,247,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid #ebe7e0; }

/* 优惠活动条（与首页同款：吸顶固定，后台「营销组件」控制，默认隐藏） */
.promo-bar { display: none; align-items: center; justify-content: center; gap: 12px; background: linear-gradient(90deg,#8B4513,#a55a2a); color: #fff; font-size: 13.5px; padding: 8px 40px 8px 16px; position: sticky; top: 0; z-index: 55; text-align: center; }
.promo-bar a { color: #ffe9c9; font-weight: 600; text-decoration: underline; white-space: nowrap; }
.promo-bar-close { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; color: rgba(255,255,255,.75); font-size: 15px; cursor: pointer; line-height: 1; padding: 4px 6px; }
.promo-bar-close:hover { color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-family: 'Noto Serif SC', serif; font-size: 20px; font-weight: 700; color: #3d3328; flex-shrink: 0; }
.nav-links { display: none; gap: 6px; align-items: center; flex-shrink: 0; }
@media(min-width:1024px){ .nav-links { display: flex; } }
.nav-links a { padding: 8px 13px; font-size: 16.5px; font-weight: 600; border-radius: 8px; color: #55483a; transition: all 0.2s; white-space: nowrap; flex-shrink: 0; }
.nav-links a:hover { color: #2a231a; font-weight: 700; background: #f0ebe2; }
.nav-links a.active { color: #8B4513; font-weight: 700; }
@media(min-width:1024px) and (max-width:1399px){ .nav-links a { padding: 8px 9px; font-size: 15.5px; } }
/* 导航栏「更多」折叠菜单（⋯），与首页同款 */
.nav-more { position: relative; flex-shrink: 0; }
/* 隐形桥：把按钮与下拉之间的空隙纳入悬停区，鼠标可直接从⋯移入下拉菜单 */
.nav-more::after { content: ''; position: absolute; top: 100%; left: -10px; right: -10px; height: 10px; }
.nav-more-btn { padding: 8px 13px; font-size: 17px; font-weight: 700; line-height: 1; border-radius: 8px; color: #55483a; background: none; border: none; cursor: pointer; letter-spacing: 1px; transition: all 0.2s; white-space: nowrap; flex-shrink: 0; }
.nav-more-btn:hover, .nav-more:hover .nav-more-btn { color: #2a231a; background: #f0ebe2; }
.nav-more-list { display: none; position: absolute; top: calc(100% + 6px); right: 0; min-width: 146px; background: #fff; border: 1px solid #e5e0d8; border-radius: 10px; box-shadow: 0 12px 32px rgba(60,40,20,.14); padding: 6px; z-index: 70; }
.nav-more:hover .nav-more-list, .nav-more.open .nav-more-list { display: block; }
.nav-more-list a { display: block; padding: 10px 14px; font-size: 15.5px; font-weight: 600; color: #55483a; border-radius: 6px; white-space: nowrap; }
.nav-more-list a:hover { color: #2a231a; font-weight: 700; background: #f5f1ea; }
.nav-more-inline { display: none; }
/* 导航栏搜索框（与首页同款，宽屏显示） */
.header-search { display: none; position: relative; flex-shrink: 1; min-width: 150px; width: 216px; margin: 0 14px 0 18px; }
@media(min-width:1200px){ .header-search { display: block; } }
.header-search-bar { display: flex; align-items: center; height: 38px; background: #fff; border: 1.5px solid #d9d2c6; border-radius: 999px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.header-search-bar:focus-within { border-color: #c41e3a; box-shadow: 0 0 0 3px rgba(196,30,58,.08); }
.header-search-bar input { flex: 1; min-width: 0; border: none; outline: none; padding: 0 4px 0 16px; font-size: 13.5px; font-family: inherit; color: #3d3328; background: transparent; }
.header-search-bar input::placeholder { color: #b4a48f; }
.header-search-bar button { flex-shrink: 0; width: 38px; height: 100%; border: none; background: none; color: #8a7a64; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.header-search-bar button:hover { color: #c41e3a; }
.header-search-bar button svg { width: 17px; height: 17px; }
.header-search .sg-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid #e5e0d8; border-radius: 12px; box-shadow: 0 12px 32px rgba(60,40,20,.16); overflow: hidden; z-index: 80; display: none; text-align: left; }
.header-search .sg-list.show { display: block; }
.header-search .sg-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; font-size: 13.5px; color: #333; cursor: pointer; border-bottom: 1px solid #f4f0ea; }
.header-search .sg-item:last-child { border-bottom: none; }
.header-search .sg-item:hover, .header-search .sg-item.active { background: #faf3ec; }
.header-search .sg-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-search .sg-name mark { background: none; color: #c41e3a; font-weight: 700; padding: 0; }
.header-search .sg-go { flex-shrink: 0; font-size: 11.5px; color: #b09880; }
.header-search .sg-empty { padding: 12px 14px; font-size: 12.5px; color: #999; text-align: center; }
/* 移动端 ☰ 菜单（与首页同款） */
.mobile-toggle { display: block; padding: 8px; font-size: 22px; line-height: 1; color: #3d3328; background: none; border: none; cursor: pointer; }
@media(min-width:1024px){ .mobile-toggle { display: none; } }
.mobile-menu { display: none; background: #faf9f7; border-bottom: 1px solid #ebe7e0; padding: 12px 16px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 8px 12px; font-size: 14px; color: #5c4f40; border-radius: 8px; }
.mobile-menu a:hover { background: #f5f3ef; color: #8B4513; }
.header-cta { padding: 8px 18px; background: #3d3328; color: #f5f3ef; border-radius: 8px; font-size: 14px; flex-shrink: 0; transition: background 0.2s; }
.header-cta:hover { background: #2a231a; }
@media(max-width:900px){
  .header-inner { gap: 10px; }
}

/* 手机端适配 */
@media(max-width:640px){
  .container { padding: 0 16px; }
  main { padding: 32px 0 56px; }
  .page-title { font-size: 28px; margin-bottom: 32px; }
  .post-detail { padding: 24px 18px; border-radius: 12px; }
  .post-detail h1 { font-size: 23px; }
  .logo { font-size: 13px; }
  .header-cta { padding: 7px 12px; font-size: 13px; }
}

/* Main */
main { flex: 1; padding: 48px 0 80px; }
.page-title { font-family: 'Noto Serif SC', serif; font-size: 40px; font-weight: 700; text-align: center; color: #3d3328; margin-bottom: 48px; }
.empty-tip { text-align: center; color: #9a8b76; font-size: 15px; padding: 60px 0; }

/* Full-content Feed（直接进入大页面，完整文章依次排列） */
.post-feed-item { margin-bottom: 40px; }

/* Detail */
.back-link { display: inline-block; font-size: 14px; color: #9a8b76; margin-bottom: 24px; }
.back-link:hover { color: #8B4513; }
.post-detail { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid #ebe7e0; border-radius: 16px; padding: 40px 36px; }
.post-detail h1 { font-family: 'Noto Serif SC', serif; font-size: 32px; font-weight: 700; color: #3d3328; margin-bottom: 10px; line-height: 1.4; }
.post-detail-date { font-size: 13px; color: #9a8b76; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #ebe7e0; }
.post-cover { width: 100%; border-radius: 10px; margin-bottom: 24px; }
.post-content { font-size: 15.5px; color: #5c4f40; line-height: 1.9; }
.post-content img { max-width: 100%; border-radius: 8px; margin: 8px 0; }
.post-content video { max-width: 100%; border-radius: 8px; display: block; margin: 12px auto; background: #000; }
.post-content b, .post-content strong { font-weight: 700; }
.post-content i, .post-content em { font-style: italic; }
.post-content u { text-decoration: underline; }
.post-content h1 { font-size: 24px; font-weight: 700; margin: 16px 0 10px; color: #3d3328; line-height: 1.4; }
.post-content h2 { font-size: 21px; font-weight: 600; margin: 14px 0 8px; color: #3d3328; line-height: 1.4; }
.post-content h3 { font-size: 18px; font-weight: 600; margin: 12px 0 6px; color: #3d3328; line-height: 1.4; }
.post-content p { margin: 8px 0; }
.post-content blockquote { border-left: 3px solid #8B4513; padding-left: 14px; color: #7d6f5e; margin: 12px 0; }
.post-content ul, .post-content ol { padding-left: 26px; margin: 10px 0; }
.post-content li { margin: 4px 0; }
.post-content hr { border: none; border-top: 1px solid #ddd6ca; margin: 16px 0; }
.post-content a { color: #8B4513; text-decoration: underline; }

/* Footer（与首页同款三栏布局） */
footer { background: #3d3328; color: #b5a896; }
.footer-inner { padding: 48px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media(min-width:768px){ .footer-grid { grid-template-columns: repeat(3, 1fr); } }
footer h3 { font-family: 'Noto Serif SC', serif; font-size: 20px; font-weight: 700; color: #f5f3ef; margin-bottom: 12px; }
footer h4 { font-size: 14px; font-weight: 500; color: #f5f3ef; margin-bottom: 16px; }
footer p { font-size: 14px; color: #9a8b76; line-height: 1.6; }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; }
footer a { font-size: 14px; color: #9a8b76; transition: color 0.2s; }
footer a:hover { color: #f5f3ef; }
.footer-icp { font-size: 12px !important; color: #7d6f5e !important; }
.footer-bottom { text-align: center; padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.08); font-size: 12px; color: #7d6f5e; }

/* Footer WeChat Button */
.wechat-footer-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: #07C160; color: #ffffff; border: none; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; box-shadow: 0 2px 8px rgba(7,193,96,0.25); margin-bottom: 12px; }
.wechat-footer-btn:hover { background: #06a653; box-shadow: 0 4px 12px rgba(7,193,96,0.35); }
.wechat-footer-btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

/* WeChat QR Modal */
.wechat-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); display: none; align-items: center; justify-content: center; z-index: 100; padding: 16px; }
.wechat-modal-overlay.open { display: flex; }
.wechat-modal { background: #ffffff; border-radius: 16px; padding: 32px 28px 28px; max-width: 340px; width: 100%; text-align: center; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.3); animation: wechatPop 0.25s ease; }
@keyframes wechatPop { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.wechat-modal-close { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border: none; background: none; font-size: 22px; color: #9a8b76; cursor: pointer; border-radius: 50%; line-height: 1; }
.wechat-modal-close:hover { background: #f5f3ef; color: #3d3328; }
.wechat-modal-icon { width: 48px; height: 48px; background: #07C160; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.wechat-modal-icon svg { width: 28px; height: 28px; fill: #ffffff; }
.wechat-modal h3 { font-size: 18px; font-weight: 600; color: #3d3328; margin-bottom: 4px; }
.wechat-modal .wechat-tip { font-size: 13px; color: #9a8b76; margin-bottom: 16px; }
.wechat-modal img { width: 220px; height: 220px; border-radius: 10px; border: 1px solid #ebe7e0; display: block; margin: 0 auto 16px; background: #f5f3ef; object-fit: contain; }
.wechat-id-row { display: flex; align-items: center; justify-content: center; gap: 10px; }
.wechat-id-row .wechat-id { font-size: 16px; font-weight: 600; color: #07C160; letter-spacing: 0.5px; }
.wechat-copy-btn { padding: 6px 14px; background: #07C160; color: #ffffff; border: none; border-radius: 6px; font-size: 13px; cursor: pointer; transition: background 0.2s; }
.wechat-copy-btn:hover { background: #06a653; }

/* ===== 站点标志 + 购物车图标（全站统一） ===== */
.logo{display:inline-flex;align-items:center;gap:9px;text-decoration:none;}
.logo .logo-mark{width:36px;height:36px;flex:none;}
.logo .logo-text{color:inherit;}
.logo .logo-accent{color:#c41e3a;}
.cart-link{display:inline-flex;align-items:center;gap:5px;color:#c41e3a!important;font-weight:700;text-decoration:none;}
.cart-link svg{width:19px;height:19px;flex:none;}
@media(max-width:768px){.logo .logo-mark{width:17px;height:17px;}.header-inner{height:45px;}}

/* 头部右侧：登录区 + 购物车（与首页一致，小屏收起进 ☰ 菜单） */
.header-actions { display: none; align-items: center; flex-shrink: 0; white-space: nowrap; }
@media(min-width:1024px){ .header-actions { display: flex; } }
.auth-btn { display: inline-block; background: #3d3328; color: #f5f3ef; padding: 7px 18px; border-radius: 999px; font-size: 13px; transition: background 0.2s; }
.auth-btn:hover { background: #2a231a; }
.user-chip { display: flex; align-items: center; gap: 8px; padding: 4px 8px 4px 4px; border-radius: 999px; transition: background 0.2s; text-decoration: none; }
.user-chip:hover { background: #f0ebe3; }
.user-avatar { width: 30px; height: 30px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; flex: none; }
.user-name { font-size: 13px; color: #3d3328; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-actions .cart-link { margin-left: 12px; font-size: 14px; }

/* 20260906：购买授权红色下拉按钮 + 取消⋯折叠平铺 */
.nav-buy { position: relative; }
.nav-buy::after { content: ''; position: absolute; top: 100%; left: -10px; right: -10px; height: 10px; }
.nav-buy-btn { padding: 8px 13px; font-size: 16.5px; font-weight: 600; font-family: inherit; border-radius: 8px; color: #c41e3a; background: #fdf2f3; border: 1px solid #e3aab2; cursor: pointer; transition: all 0.2s; white-space: nowrap; flex-shrink: 0; }
.nav-buy-btn::after { content: ' \25BE'; font-size: 14px; font-weight: 700; color: #c41e3a; }
.nav-buy-btn:hover, .nav-buy:hover .nav-buy-btn, .nav-buy.open .nav-buy-btn { background: #f9e4e6; border-color: #c41e3a; color: #a01830; }
.nav-buy-list { display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 160px; background: #fff; border: 1px solid #e8e3db; border-radius: 12px; box-shadow: 0 16px 40px rgba(60,40,20,.18); padding: 8px 0; z-index: 100; overflow: hidden; }
.nav-buy:hover .nav-buy-list, .nav-buy.open .nav-buy-list { display: block; }
.nav-buy-list a { display: block; padding: 14px 22px; font-size: 17px; font-weight: 700; color: #4a3f32; white-space: nowrap; text-decoration: none; border-bottom: 1px solid #f0ebe2; transition: all 0.15s; }
.nav-buy-list a:last-child { border-bottom: none; }
.nav-buy-list a:hover { color: #2a231a; background: #f7f3ec; padding-left: 26px; }
/* 20260908：全部字体下拉按钮（与普通导航同色系，悬停/点击展开） */
.nav-fonts { position: relative; }
.nav-fonts::after { content: ''; position: absolute; top: 100%; left: -10px; right: -10px; height: 10px; }
.nav-fonts-btn { padding: 8px 13px; font-size: 16.5px; font-weight: 600; font-family: inherit; border-radius: 8px; color: #55483a; background: none; border: none; cursor: pointer; transition: all 0.2s; white-space: nowrap; flex-shrink: 0; }
.nav-fonts-btn::after { content: ' \25BE'; font-size: 13px; font-weight: 700; color: #8a7a64; }
.nav-fonts-btn:hover, .nav-fonts:hover .nav-fonts-btn, .nav-fonts.open .nav-fonts-btn { color: #2a231a; font-weight: 700; background: #f0ebe2; }
.nav-fonts-list { display: none; position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); min-width: 150px; background: #fff; border: 1px solid #e8e3db; border-radius: 12px; box-shadow: 0 16px 40px rgba(60,40,20,.18); padding: 8px 0; z-index: 100; overflow: hidden; }
.nav-fonts:hover .nav-fonts-list, .nav-fonts.open .nav-fonts-list { display: block; }
.nav-fonts-list a { display: block; padding: 13px 22px; font-size: 16.5px; font-weight: 700; color: #4a3f32; white-space: nowrap; text-decoration: none; text-align: center; border-bottom: 1px solid #f0ebe2; transition: all 0.15s; }
.nav-fonts-list a:last-child { border-bottom: none; }
.nav-fonts-list a:hover { color: #8B4513; background: #f7f3ec; }
.nav-more { display: none !important; }
.nav-buy-mobile-btn { display: block; width: 100%; padding: 8px 12px; font-size: 14px; font-weight: 600; font-family: inherit; color: #5c4f40; background: none; border: none; cursor: pointer; text-align: left; border-radius: 8px; }
.nav-buy-mobile-btn:hover { background: #f5f3ef; color: #8B4513; }
.nav-buy-mobile-list { display: none; padding-left: 20px; }
.nav-buy-mobile.open .nav-buy-mobile-list { display: block; }
.nav-buy-mobile-list a { display: block; padding: 8px 12px; font-size: 14px; color: #7a6a58; text-decoration: none; border-radius: 8px; }
.nav-buy-mobile-list a:hover { color: #8B4513; background: #f5f1ea; }

/* 20260906b：导航菜单容器统一等宽（与首页一致），文字居中并随容器宽度缩放 */
@media (min-width: 768px) {
  header .container { max-width: 1520px; padding: 0 20px; }
}
@media (min-width: 1024px) {
  .nav-links { flex: 1 1 auto; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
  .nav-links > a, .nav-links > .nav-buy, .nav-links > .nav-fonts, .nav-links > .nav-more { min-width: 0; display: flex; align-items: center; justify-content: center; }
  .nav-links > a, .nav-links .nav-buy-btn, .nav-links .nav-fonts-btn, .nav-links .nav-more-btn { padding-left: 4px; padding-right: 4px; text-align: center; font-size: clamp(12.5px, 1.08vw, 16.5px); }
  .nav-links .nav-buy-btn, .nav-links .nav-fonts-btn, .nav-links .nav-more-btn { width: 100%; }
}

/* ===== 20261006：资讯独立 URL 改造 —— 摘要卡片列表 + 独立页 ===== */
.post-card { max-width: 760px; margin: 0 auto 20px; background: #fff; border: 1px solid #ebe7e0; border-radius: 16px; padding: 26px 30px; transition: box-shadow .2s; }
.post-card:hover { box-shadow: 0 8px 24px rgba(61, 51, 40, .08); }
.post-card-title { font-family: 'Noto Serif SC', serif; font-size: 22px; font-weight: 700; color: #3d3328; margin: 0 0 8px; line-height: 1.5; }
.post-card-title a { color: inherit; text-decoration: none; }
.post-card-title a:hover { color: #8B4513; }
.post-card-date { font-size: 13px; color: #9a8b76; margin-bottom: 12px; }
.post-card-excerpt { font-size: 14.5px; color: #6b5d4d; line-height: 1.85; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-cover { display: block; margin-bottom: 14px; }
.post-card-cover .post-cover { max-height: 300px; object-fit: cover; margin-bottom: 0; }
.post-card-more { font-size: 14px; color: #8B4513; font-weight: 600; text-decoration: none; }
.post-card-more:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .post-card { padding: 20px 18px; border-radius: 12px; }
  .post-card-title { font-size: 18px; }
}


/* ==== 2026-10-12 header redesign: buy-marquee + grid nav (restored) ==== */
@property --buy-marquee { syntax: "<angle>"; initial-value: 0deg; inherits: true; }
.container{max-width:1280px;margin:0 auto;padding:0 16px}
@media(min-width:640px){.container{padding:0 24px}}
@media(min-width:1024px){.container{padding:0 32px}}
header{position:sticky;top:var(--promoH,0px);z-index:50;background:rgba(250,249,247,.95);backdrop-filter:blur(8px);border-bottom:1px solid #ebe7e0}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.logo{display:inline-flex;align-items:center;gap:9px;text-decoration:none;font-family:'Noto Serif SC',serif;font-size:20px;font-weight:700;color:#3d3328;flex-shrink:0}
.logo .logo-mark{width:36px;height:36px;flex:none}
.logo .logo-text{color:inherit;white-space:nowrap}
.logo .logo-accent{color:#c41e3a}
.nav-links{display:none;gap:6px;align-items:center;flex-shrink:0}
@media(min-width:1024px){
.nav-links{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;flex:1 1 auto}
.nav-links>a,.nav-links>.nav-buy,.nav-links>.nav-fonts{min-width:0;display:flex;align-items:center;justify-content:center}
.nav-links>a,.nav-links .nav-buy-btn,.nav-links .nav-fonts-btn{padding-left:4px;padding-right:4px;text-align:center;font-size:clamp(12.5px,1.08vw,16.5px)}
.nav-links .nav-buy-btn,.nav-links .nav-fonts-btn{width:100%}
}
.nav-links a{padding:8px 13px;font-size:16.5px;font-weight:600;border-radius:8px;color:#55483a;transition:all .2s;white-space:nowrap;flex-shrink:0;text-decoration:none}
.nav-links a:hover{color:#2a231a;font-weight:700;background:#f0ebe2}
.nav-links a.active{color:#8B4513;font-weight:700}
@media(min-width:1024px) and (max-width:1399px){.nav-links a{padding:8px 9px;font-size:15.5px}}
.nav-buy{position:relative}
.nav-buy::after{content:'';position:absolute;top:100%;left:-10px;right:-10px;height:10px}
.nav-buy-btn{position:relative;padding:8px 13px;font-size:16.5px;font-weight:600;font-family:inherit;border-radius:8px;color:#c41e3a;background:#fdf2f3;border:1px solid #e3aab2;cursor:pointer;transition:all .2s;white-space:nowrap;flex-shrink:0}
.nav-buy-btn::after{content:' \25BE';font-size:14px;font-weight:700;color:#c41e3a}
.nav-buy-btn::before{content:'';position:absolute;inset:-1px;border-radius:9px;padding:1.5px;background:repeating-conic-gradient(from var(--buy-marquee,0deg),#c08552 0deg 6deg,rgba(192,133,82,0) 6deg 12deg);-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;z-index:1;animation:buy-marquee-spin 4.5s linear infinite}
@keyframes buy-marquee-spin{to{--buy-marquee:360deg}}
.nav-buy-btn:hover,.nav-buy:hover .nav-buy-btn{background:#f9e4e6;border-color:#c41e3a;color:#a01830}
.nav-buy-list{display:none;position:absolute;top:calc(100% + 8px);left:0;min-width:160px;background:#fff;border:1px solid #e8e3db;border-radius:12px;box-shadow:0 16px 40px rgba(60,40,20,.18);padding:8px 0;z-index:100;overflow:hidden}
.nav-buy:hover .nav-buy-list{display:block}
.nav-buy-list a{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 22px;font-size:17px;font-weight:700;color:#4a3f32;white-space:nowrap;text-decoration:none;border-bottom:1px solid #f0ebe2;transition:all .15s}
.nav-buy-list a:last-child{border-bottom:none}
.nav-buy-list a:hover{color:#c41e3a;background:#fdf2f3}
.nav-fonts{position:relative}
.nav-fonts::after{content:'';position:absolute;top:100%;left:-10px;right:-10px;height:10px}
.nav-fonts-btn{padding:8px 13px;font-size:16.5px;font-weight:600;font-family:inherit;border-radius:8px;color:#55483a;background:none;border:none;cursor:pointer;transition:all .2s;white-space:nowrap;flex-shrink:0}
.nav-fonts-btn::after{content:' \25BE';font-size:13px;font-weight:700;color:#8a7a64}
.nav-fonts-btn:hover,.nav-fonts:hover .nav-fonts-btn{color:#2a231a;font-weight:700;background:#f0ebe2}
.nav-fonts-list{display:none;position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%);min-width:150px;background:#fff;border:1px solid #e8e3db;border-radius:12px;box-shadow:0 16px 40px rgba(60,40,20,.18);padding:8px 0;z-index:100;overflow:hidden}
.nav-fonts:hover .nav-fonts-list{display:block}
.nav-fonts-list a{display:flex;align-items:center;justify-content:center;gap:8px;padding:13px 22px;font-size:16.5px;font-weight:700;color:#4a3f32;white-space:nowrap;text-decoration:none;border-bottom:1px solid #f0ebe2;transition:all .15s}
.nav-fonts-list a:last-child{border-bottom:none}
.nav-fonts-list a:hover{color:#8B4513;background:#f7f3ec}
@media(min-width:768px){header .container{max-width:1520px;padding-left:20px;padding-right:20px}}
.header-search{display:none;position:relative;flex-shrink:1;min-width:150px;width:216px;margin:0 14px 0 18px}
@media(min-width:1200px){.header-search{display:block}}
.header-search-bar{display:flex;align-items:center;height:38px;background:#fff;border:1.5px solid #d9d2c6;border-radius:999px;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.header-search-bar:focus-within{border-color:#c41e3a;box-shadow:0 0 0 3px rgba(196,30,58,.08)}
.header-search-bar input{flex:1;min-width:0;border:none;outline:none;padding:0 4px 0 16px;font-size:13.5px;font-family:inherit;color:#3d3328;background:transparent}
.header-search-bar input::placeholder{color:#b4a48f}
.header-search-bar button{flex-shrink:0;width:38px;height:100%;border:none;background:none;color:#8a7a64;cursor:pointer;display:flex;align-items:center;justify-content:center}
.header-search-bar button:hover{color:#c41e3a}
.header-search-bar button svg{width:17px;height:17px}
.header-actions{display:none;align-items:center;gap:12px;flex-shrink:0;white-space:nowrap}
@media(min-width:1024px){.header-actions{display:flex}}
.auth-btn{display:inline-block;background:#3d3328;color:#f5f3ef;padding:7px 18px;border-radius:999px;font-size:13px;margin-left:12px;text-decoration:none;transition:background .2s}
.auth-btn:hover{background:#2a231a}
.cart-link{display:inline-flex;align-items:center;gap:6px;color:#c41e3a!important;font-weight:700;text-decoration:none}
.cart-link svg{width:22px;height:22px;flex:none}
.cart-link:hover{opacity:.85}
.promo-bar{display:none;align-items:center;justify-content:center;gap:12px;background:linear-gradient(90deg,#8B4513,#a55a2a);color:#fff;font-size:13.5px;padding:8px 40px 8px 16px;position:sticky;top:0;z-index:55;text-align:center}
.promo-bar a{color:#ffe9c9;font-weight:600;text-decoration:underline;white-space:nowrap}
.promo-bar-close{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:none;border:none;color:rgba(255,255,255,.75);font-size:15px;cursor:pointer;line-height:1;padding:4px 6px}
.promo-bar-close:hover{color:#fff}

/* ===== 2026-11-04 手机端内容页适配（不影响桌面端） ===== */
@media (max-width: 640px) {
  main { padding: 28px 0 48px; }
  .page-title { font-size: 26px; line-height: 1.4; margin-bottom: 24px; }
  .post-detail { padding: 20px 16px; border-radius: 12px; }
  .post-detail h1 { font-size: 22px; line-height: 1.5; letter-spacing: 0; margin-bottom: 12px; }
  .post-content { font-size: 14.5px; line-height: 1.85; letter-spacing: 0; overflow-wrap: anywhere; word-break: break-word; }
  .post-content p { margin: 0 0 1em; }
  .post-content h1 { font-size: 20px; }
  .post-content h2 { font-size: 18px; }
  .post-content h3 { font-size: 16px; }
  .post-content img, .post-content video { max-width: 100%; height: auto; }
  .post-content table { display: block; max-width: 100%; overflow-x: auto; }
  .post-card { padding: 18px 16px; }
  .post-card-title { font-size: 17px; line-height: 1.55; }
  .post-card-excerpt { font-size: 14px; line-height: 1.75; }
}
