/* ============================================================
   交流岛生活网 · UI 设计系统 v1.0（现代卡片风）
   主题：海岛青绿 + 珊瑚橙强调 / 白底大圆角 / 柔和阴影
   移动优先，480px 容器居中
   引用：<link rel="stylesheet" href="/static/ui/app.css?v=1">
   ============================================================ */

:root{
  /* 主色 */
  --brand:#0E9F8E;
  --brand-2:#35C4A6;
  --brand-3:#7FDCC9;
  --brand-ink:#076B60;
  --brand-soft:#E4F7F3;
  --brand-softer:#F1FBF9;

  /* 强调 */
  --accent:#FF6B3D;
  --accent-soft:#FFF0EA;
  --gold:#F0A93B;

  /* 中性 */
  --ink:#0F1418;
  --ink-2:#454D57;
  --ink-3:#6B747F;
  --muted:#8B939D;
  --bg:#F4F6F8;
  --card:#FFFFFF;
  --line:#ECEEF2;
  --line-2:#F5F6F8;

  /* 圆角 */
  --r-xl:22px;
  --r-lg:16px;
  --r-md:12px;
  --r-sm:8px;
  --r-pill:999px;

  /* 阴影 */
  --sh-1:0 1px 2px rgba(15,20,24,.04);
  --sh-2:0 2px 8px rgba(15,20,24,.05);
  --sh-3:0 8px 24px rgba(15,20,24,.07);
  --sh-brand:0 8px 22px rgba(14,159,142,.24);

  /* 间距 */
  --gap:12px;
  --pad:16px;

  /* 兼容旧变量名（模板历史遗留） */
  --brand2:var(--brand-2);
  --text:var(--ink);
  --r-md-old:12px;
}

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{-webkit-text-size-adjust:100%}
body{
  font-family:'Noto Sans SC',-apple-system,BlinkMacSystemFont,system-ui,'PingFang SC','Microsoft YaHei',sans-serif;
  background:var(--bg);
  color:var(--ink);
  font-size:15px;
  line-height:1.5;
  max-width:480px;
  margin:0 auto;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button{font-family:inherit;cursor:pointer}
input,textarea,select{font-family:inherit;font-size:inherit}
ul,ol{list-style:none}

/* ==================== 顶栏 ==================== */
.u-topbar{
  position:sticky;top:0;z-index:60;
  display:flex;align-items:center;gap:10px;
  padding:10px 14px;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
}
.u-brand{display:flex;align-items:center;gap:6px;font-weight:700;font-size:16px;letter-spacing:-.2px;white-space:nowrap;color:var(--ink)}
.u-brand .dot{width:8px;height:8px;border-radius:50%;background:linear-gradient(135deg,var(--brand),var(--brand-2));flex:none}
.u-search{
  flex:1;min-width:0;display:flex;align-items:center;gap:7px;
  height:36px;padding:0 13px;
  background:var(--line-2);border-radius:var(--r-pill);
  color:var(--muted);font-size:13px;
  transition:background .18s;
}
.u-search:active{background:#EDEFF3}
.u-search svg{width:15px;height:15px;flex:none;color:var(--muted)}
.u-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:13px;color:var(--ink)}
.u-search input::placeholder{color:var(--muted)}
.u-search button{
  border:0;background:transparent;color:var(--brand);
  font-size:13px;font-weight:600;flex:none;padding:0 2px;
}
.u-topbar .u-act{
  flex:none;width:34px;height:34px;border-radius:var(--r-pill);
  display:flex;align-items:center;justify-content:center;
  color:var(--ink-2);background:var(--line-2);
}
.u-topbar .u-act svg{width:17px;height:17px}

/* ==================== Hero ==================== */
.u-hero{
  position:relative;margin:var(--gap) var(--gap) 0;
  padding:18px;
  border-radius:var(--r-xl);
  background:linear-gradient(135deg,#0E9F8E 0%,#22B49C 55%,#41CBAC 100%);
  color:#fff;overflow:hidden;
  box-shadow:var(--sh-brand);
}
.u-hero::after{
  content:'';position:absolute;right:-40px;top:-40px;
  width:150px;height:150px;border-radius:50%;
  background:rgba(255,255,255,.12);
}
.u-hero::before{
  content:'';position:absolute;right:20px;bottom:-70px;
  width:110px;height:110px;border-radius:50%;
  background:rgba(255,255,255,.08);
}
.u-hero-in{position:relative;z-index:1}
.u-hero-date{font-size:12px;opacity:.86;letter-spacing:.5px}
.u-hero-main{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-top:8px}
.u-hero-temp{font-size:40px;font-weight:800;line-height:1;letter-spacing:-1.5px;font-variant-numeric:tabular-nums}
.u-hero-temp sup{font-size:15px;font-weight:600;vertical-align:super;margin-left:1px}
.u-hero-desc{font-size:13px;opacity:.92;margin-top:4px}
.u-hero-side{text-align:right;font-size:12px;line-height:1.7;opacity:.94}
.u-hero-side b{font-weight:700;font-size:14px}
.u-hero-tide{
  display:flex;align-items:center;gap:8px;
  margin-top:14px;padding-top:12px;
  border-top:1px solid rgba(255,255,255,.22);
  font-size:12px;
}
.u-hero-tide .lbl{opacity:.8;flex:none}
.u-hero-tide .val{font-weight:700}
.u-hero-tide .sep{opacity:.35}

/* ==================== 宫格 ==================== */
.u-panel{
  background:var(--card);
  margin:var(--gap) var(--gap) 0;
  border-radius:var(--r-xl);
  box-shadow:var(--sh-2);
}
.u-grid{
  display:grid;grid-template-columns:repeat(5,1fr);
  padding:16px 8px 8px;gap:2px;
}
.u-cell{
  display:flex;flex-direction:column;align-items:center;gap:7px;
  padding:4px 2px 12px;border-radius:var(--r-md);
  transition:background .15s;
}
.u-cell:active{background:var(--line-2)}
.u-ico{
  width:44px;height:44px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background:var(--brand-softer);
  color:var(--brand);
  transition:transform .18s;
}
.u-cell:active .u-ico{transform:scale(.94)}
.u-ico svg{width:22px;height:22px}
.u-ico--accent{background:var(--accent-soft);color:var(--accent)}
.u-ico--gold{background:#FFF7E8;color:var(--gold)}
.u-cell>span:last-child{font-size:11.5px;color:var(--ink-2);line-height:1.2;text-align:center}

/* ==================== 快捷条 ==================== */
.u-quick{
  display:flex;gap:8px;
  margin:var(--gap) var(--gap) 0;
}
.u-quick a{
  flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;
  padding:12px 4px;
  background:var(--card);border-radius:var(--r-lg);
  box-shadow:var(--sh-1);
  font-size:11.5px;color:var(--ink-2);
  transition:transform .16s;
}
.u-quick a:active{transform:scale(.97)}
.u-quick svg{width:20px;height:20px;color:var(--brand)}

/* ==================== 公告 ==================== */
.u-notice{
  display:flex;align-items:center;gap:9px;
  margin:var(--gap) var(--gap) 0;
  padding:11px 14px;
  background:var(--card);border-radius:var(--r-lg);
  box-shadow:var(--sh-1);
}
.u-notice .tag{
  flex:none;font-size:10.5px;font-weight:700;
  color:var(--brand);background:var(--brand-soft);
  padding:3px 8px;border-radius:var(--r-sm);letter-spacing:.5px;
}
.u-notice .txt{
  flex:1;min-width:0;font-size:12.5px;color:var(--ink-3);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.u-notice .more{flex:none;font-size:12px;color:var(--muted)}

/* ==================== 区块标题 ==================== */
.u-sec{
  display:flex;align-items:center;justify-content:space-between;
  padding:20px 18px 10px;
}
.u-sec h3{
  font-size:17px;font-weight:700;letter-spacing:-.3px;
  display:flex;align-items:center;gap:7px;
}
.u-sec h3::before{
  content:'';width:3px;height:15px;border-radius:2px;
  background:linear-gradient(180deg,var(--brand),var(--brand-2));
}
.u-sec .more{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:2px}
.u-sec .more::after{content:'›';font-size:15px;line-height:1;margin-top:-1px}

/* ==================== 横滑卡 ==================== */
.u-scroll{
  display:flex;gap:10px;overflow-x:auto;
  padding:2px 18px 6px;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
}
.u-scroll::-webkit-scrollbar{display:none}

.u-hcard{
  flex:0 0 148px;scroll-snap-align:start;
  background:var(--card);border-radius:var(--r-lg);
  overflow:hidden;box-shadow:var(--sh-2);
  transition:transform .18s;
}
.u-hcard:active{transform:scale(.97)}
.u-himg{
  position:relative;height:100px;
  background:linear-gradient(135deg,#DDF6F1,#B5E9DE);
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
}
.u-himg img{width:100%;height:100%;object-fit:cover}
.u-himg .ph{color:rgba(14,159,142,.4)}
.u-himg .ph svg{width:32px;height:32px}
.u-himg .flag{
  position:absolute;left:7px;top:7px;
  font-size:10px;font-weight:600;color:#fff;
  background:rgba(14,159,142,.92);
  padding:3px 7px;border-radius:var(--r-sm);
  backdrop-filter:blur(4px);
}
.u-hbody{padding:9px 10px 11px}
.u-htitle{
  font-size:13px;line-height:1.35;color:var(--ink);height:35px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.u-hprice{
  margin:6px 0 4px;
  font-size:16px;font-weight:800;color:var(--accent);
  font-variant-numeric:tabular-nums;letter-spacing:-.3px;
}
.u-hprice em{font-size:11px;font-weight:500;font-style:normal;margin-left:1px}
.u-hmeta{
  display:flex;flex-wrap:wrap;gap:4px;
  font-size:10.5px;color:var(--ink-3);
}
.u-hmeta span{background:var(--line-2);padding:2px 6px;border-radius:4px}

/* ==================== 列表行 ==================== */
.u-list{
  background:var(--card);
  margin:0 var(--gap);
  border-radius:var(--r-xl);
  overflow:hidden;
  box-shadow:var(--sh-2);
}
.u-row{
  display:flex;align-items:center;gap:12px;
  padding:13px 15px;
  position:relative;
  transition:background .15s;
}
.u-row+.u-row::before{
  content:'';position:absolute;left:15px;right:0;top:0;height:1px;background:var(--line-2);
}
.u-row:active{background:#FAFBFC}
.u-row .thumb{
  width:56px;height:56px;border-radius:var(--r-md);flex:none;
  background:linear-gradient(135deg,#F0FBF9,#DDF6F1);
  display:flex;align-items:center;justify-content:center;
  color:var(--brand);overflow:hidden;
}
.u-row .thumb img{width:100%;height:100%;object-fit:cover}
.u-row .thumb svg{width:22px;height:22px;opacity:.72}
.u-row .body{flex:1;min-width:0}
.u-row .t{
  font-size:14.5px;font-weight:500;line-height:1.4;color:var(--ink);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.u-row .m{
  display:flex;align-items:center;gap:6px;flex-wrap:wrap;
  margin-top:6px;font-size:11.5px;color:var(--muted);
}
.u-row .p{
  flex:none;font-size:15px;font-weight:800;color:var(--accent);
  font-variant-numeric:tabular-nums;letter-spacing:-.3px;
}

/* 标签 */
.u-tag{
  display:inline-flex;align-items:center;
  font-size:10.5px;line-height:1;
  padding:3px 6px;border-radius:5px;
  background:var(--line-2);color:var(--ink-3);
  white-space:nowrap;
}
.u-tag--brand{background:var(--brand-soft);color:var(--brand-ink)}
.u-tag--accent{background:var(--accent-soft);color:var(--accent)}
.u-tag--gold{background:#FFF7E8;color:#B87B14}
.u-tag--hot{background:var(--accent);color:#fff}

/* ==================== 按钮 ==================== */
.u-btn{
  display:flex;align-items:center;justify-content:center;gap:6px;
  width:100%;height:44px;
  border:0;border-radius:var(--r-md);
  font-size:14.5px;font-weight:600;
  background:var(--brand);color:#fff;
  box-shadow:var(--sh-brand);
  transition:opacity .15s;
}
.u-btn:active{opacity:.86}
.u-btn--ghost{
  background:var(--brand-softer);color:var(--brand-ink);
  box-shadow:none;
}
.u-btn--line{
  background:#fff;color:var(--brand-ink);
  border:1px solid var(--brand-3);box-shadow:none;
}
.u-more-btn{
  margin:12px var(--gap) 0;
}

/* ==================== 空态 ==================== */
.u-empty{
  padding:34px 20px;text-align:center;color:var(--muted);font-size:13px;
}
.u-empty .ic{
  width:52px;height:52px;margin:0 auto 10px;border-radius:50%;
  background:var(--line-2);display:flex;align-items:center;justify-content:center;
  color:#C3C9D1;
}
.u-empty .ic svg{width:24px;height:24px}
.empty{padding:34px 20px;text-align:center;color:var(--muted);font-size:13px}

/* ==================== 悬浮钮 ==================== */
.u-fab{
  position:fixed;right:14px;bottom:96px;z-index:70;
  width:42px;height:42px;border-radius:50%;
  display:none;align-items:center;justify-content:center;
  background:#fff;color:var(--brand);
  box-shadow:0 6px 20px rgba(15,20,24,.14);
  border:0;
}
.u-fab.show{display:flex}
.u-fab svg{width:19px;height:19px}

/* ==================== 工具 ==================== */
.u-2col{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 var(--gap)}
.u-3col{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:0 var(--gap)}
.u-pb{height:78px}
.u-num{font-variant-numeric:tabular-nums;letter-spacing:-.3px}
.u-clamp1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.u-clamp2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* ==================== 底部安全区 ==================== */
body{padding-bottom:0}
.u-safe{height:calc(64px + env(safe-area-inset-bottom,0px))}

/* ==================== 小屏微调 ==================== */
@media (max-width:360px){
  .u-hero-temp{font-size:34px}
  .u-cell span{font-size:10.5px}
  .u-ico{width:40px;height:40px;border-radius:12px}
}

/* ============================================================
   详情页 v4 · 沉浸式头图 + 浮起信息卡 + 规格网格 + 底部操作栏
   作用域：body.u-detail（仅详情页模板）
   本段加载在模板内联 <style> 之后，同位阶规则按源顺序覆盖旧样式
   ============================================================ */

/* ---------- 页面底色与滚动 ---------- */
body.u-detail{
  background:#F2F4F7;
  color:var(--ink,#0F1418);
  -webkit-font-smoothing:antialiased;
  padding-bottom:calc(70px + env(safe-area-inset-bottom,0px))!important;
}
body.u-detail *{box-sizing:border-box}

/* ---------- 沉浸式头图：dhead 自带高光背景，向下渐隐 ---------- */
body.u-detail .dhead{
  position:relative;z-index:1;
  background:transparent;
  padding:10px 14px 52px;
  display:flex;align-items:center;gap:10px;
  color:#fff;
}
body.u-detail .dhead::before{
  content:'';position:absolute;left:0;right:0;top:0;height:300px;z-index:-1;
  background:
    radial-gradient(120% 80% at 12% 0%, rgba(255,255,255,.26) 0%, rgba(255,255,255,0) 55%),
    radial-gradient(90% 70% at 92% 8%, rgba(255,236,190,.30) 0%, rgba(255,236,190,0) 60%),
    linear-gradient(168deg,#0B8C7D 0%,#12A08D 34%,#2CBBA0 62%,rgba(44,187,160,0) 100%);
}
body.u-detail .dhead .back{
  width:34px;height:34px;flex:0 0 34px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;background:rgba(255,255,255,.22);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  color:#fff!important;text-decoration:none;font-size:20px;line-height:1;
  padding:0 2px 2px 0;font-weight:600;
  transition:background .18s;
}
body.u-detail .dhead .back:active{background:rgba(255,255,255,.36)}
body.u-detail .dhead .t{
  flex:1;min-width:0;font-size:15.5px;font-weight:600;letter-spacing:.3px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  text-shadow:0 1px 6px rgba(0,0,0,.10);
}
/* 头部右侧预留（分享/更多由 dbar 承担） */

/* ---------- 首屏信息块：上浮压住头图 ---------- */
body.u-detail .hero,
body.u-detail .article,
body.u-detail .qmain,
body.u-detail .dcard{
  margin:-40px 12px 12px;
  padding:18px;
  background:var(--c-surface,#fff);
  border-radius:20px;
  box-shadow:0 6px 24px -8px rgba(12,42,56,.14),0 2px 6px rgba(12,42,56,.04);
  position:relative;z-index:2;
}

/* 封面图（列表图/emoji 占位）改为整幅圆角封面 */
body.u-detail .hero .icwrap,
body.u-detail .hero .cov{
  width:100%;height:172px;border-radius:14px;margin:0 0 14px;
  background:linear-gradient(150deg,#EAF7F4,#F4FAF9 55%,#EDF3F8);
  display:flex;align-items:center;justify-content:center;font-size:64px;
}
body.u-detail .hero .nm{font-size:19px;font-weight:700;line-height:1.42;letter-spacing:-.2px}
body.u-detail .hero .yr,
body.u-detail .hero .co,
body.u-detail .hero .bf{font-size:12.5px;color:var(--ink-3,#8B939D);margin-top:8px;line-height:1.62;text-align:left}
body.u-detail .hero .ct{
  display:inline-flex;align-items:center;height:24px;margin-top:10px;
  font-size:11.5px;color:var(--brand,#0E9F8E);font-weight:600;
  background:rgba(14,159,142,.09);border-radius:999px;padding:0 10px;
}
body.u-detail .hero .price,
body.u-detail .hero .pr{
  margin-top:12px;font-size:26px;font-weight:800;letter-spacing:-.6px;
  color:var(--warn,#F4571E);text-align:left;
  font-variant-numeric:tabular-nums;
}
body.u-detail .hero .pr .unit{font-size:13px;font-weight:500;color:var(--ink-3,#8B939D)}
body.u-detail .hero .ph{font-size:16px;font-weight:700;letter-spacing:.4px;margin-top:10px;color:var(--ink,#0F1418)}
body.u-detail .hero .rate-tag{margin-top:8px}
body.u-detail .hero .tags{
  display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;
  justify-content:flex-start;text-align:left;
}
body.u-detail .hero .tags span,
body.u-detail .hero .tags .tag{
  font-size:11.5px;height:24px;line-height:24px;padding:0 10px;border-radius:8px;
  color:#3D585F;background:#F1F5F6;font-weight:500;
}
body.u-detail .hero .tags .cat-tag{color:var(--brand,#0E9F8E);background:rgba(14,159,142,.10);font-weight:600}

/* ---------- 通用内容卡 ---------- */
body.u-detail .card,
body.u-detail .params,
body.u-detail .desc,
body.u-detail .related,
body.u-detail .ansbox,
body.u-detail .dsec{
  margin:0 12px 12px;
  padding:16px;
  background:var(--c-surface,#fff);
  border-radius:20px;
  box-shadow:0 4px 18px -10px rgba(12,42,56,.12);
}
body.u-detail .card:last-of-type{margin-bottom:14px}

/* 区块标题：左侧品牌竖条，去掉下边框 */
body.u-detail .card>.pt,
body.u-detail .params>.pt,
body.u-detail .desc>.pt,
body.u-detail .ansbox>.pt,
body.u-detail .dsec>.st,
body.u-detail .related>.rt{
  position:relative;
  display:flex;align-items:center;gap:8px;
  padding:0 0 0 11px;
  margin:0 0 12px;
  border-bottom:0;
  font-size:14.5px;font-weight:700;color:var(--ink,#0F1418);letter-spacing:.1px;
}
body.u-detail .card>.pt::before,
body.u-detail .params>.pt::before,
body.u-detail .desc>.pt::before,
body.u-detail .ansbox>.pt::before,
body.u-detail .dsec>.st::before,
body.u-detail .related>.rt::before{
  content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);
  width:3px;height:14px;border-radius:2px;
  background:linear-gradient(180deg,#12A08D,#35C4A6);
}

/* 正文排版 */
body.u-detail .card .body,
body.u-detail .desc .body,
body.u-detail .qmain .body,
body.u-detail .article .body{
  font-size:14.5px;line-height:1.85;color:#3C454C;
  white-space:pre-line;word-break:break-word;
}

/* ---------- 规格网格：竖排 key-value → 两列信息砖 ---------- */
body.u-detail .card,
body.u-detail .params,
body.u-detail .desc{display:flex;flex-wrap:wrap;gap:8px}
body.u-detail .card>*,
body.u-detail .params>*,
body.u-detail .desc>*{flex:0 0 100%;min-width:0;margin:0}

body.u-detail .card>.row,
body.u-detail .params>.row{
  flex:0 0 calc(50% - 4px);
  display:flex;flex-direction:column;align-items:flex-start;gap:3px;
  padding:10px 12px;margin:0;
  background:#F6F8F9;border-radius:12px;border:0;
  font-size:13px;
}
body.u-detail .card>.row:only-child,
body.u-detail .params>.row:only-child{flex:0 0 100%}
body.u-detail .card .row .k,
body.u-detail .params .row .k{
  width:auto;flex:none;font-size:11px;color:var(--ink-4,#98A2AC);line-height:1.2;
}
body.u-detail .card .row .v,
body.u-detail .params .row .v{
  flex:none;width:100%;font-size:13.5px;font-weight:600;color:var(--ink,#0F1418);
  line-height:1.45;word-break:break-word;
}

/* ---------- 相册横滑 ---------- */
body.u-detail .gallery{
  display:flex;gap:10px;overflow-x:auto;padding:0 0 4px;
  scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
body.u-detail .gallery::-webkit-scrollbar{display:none}
body.u-detail .gallery img{
  flex:0 0 76%;height:196px;border-radius:16px;object-fit:cover;display:block;
  background:#F1F5F6;scroll-snap-align:start;
}

/* ---------- 联系方式卡（seller / contact） ---------- */
body.u-detail .contact,
body.u-detail .seller{
  display:flex;align-items:center;gap:12px;
  margin:0 12px 12px;padding:16px;
  background:var(--c-surface,#fff);border-radius:20px;
  box-shadow:0 4px 18px -10px rgba(12,42,56,.12);
}
body.u-detail .contact .ico,
body.u-detail .seller .ico{
  width:46px;height:46px;flex:0 0 46px;border-radius:15px;
  background:linear-gradient(145deg,#12A08D,#35C4A6);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:21px;
  box-shadow:0 6px 14px -6px rgba(18,160,141,.55);
}
body.u-detail .contact .bd,
body.u-detail .seller .bd{flex:1;min-width:0}
body.u-detail .contact .bd .nm,
body.u-detail .seller .bd .nm{font-size:14.5px;font-weight:700}
body.u-detail .contact .bd .ph,
body.u-detail .seller .bd .ph{font-size:12.5px;color:var(--ink-3,#8B939D);margin-top:3px}

/* ---------- 相关推荐：柔底行卡 ---------- */
body.u-detail .related{padding:16px 14px 10px}
body.u-detail .ritem{
  display:flex;align-items:center;gap:9px;
  margin-bottom:8px;padding:11px 12px;
  background:#F6F8F9;border-radius:13px;border-bottom:0;
  font-size:13.5px;color:var(--ink,#0F1418);text-decoration:none;
  transition:background .16s;
}
body.u-detail .ritem:active{background:#EDF2F3}
body.u-detail .ritem:last-child{margin-bottom:0}
body.u-detail .ritem .ct-tag,
body.u-detail .ritem .tag{
  flex:none;font-size:10.5px;height:20px;line-height:20px;padding:0 7px;border-radius:6px;
  color:var(--brand,#0E9F8E);background:rgba(14,159,142,.10);font-weight:600;
}
body.u-detail .ritem .price-tag,
body.u-detail .ritem .pr{
  flex:none;margin-left:auto;font-size:13px;font-weight:700;color:var(--warn,#F4571E);
}
body.u-detail .ritem .tm,
body.u-detail .ritem .ans-tag{flex:none;font-size:11px;color:var(--ink-4,#98A2AC)}
body.u-detail .ritem .arr{flex:none;color:#C6CFD4;font-size:15px}

/* ---------- 资讯 / 问答首屏 ---------- */
body.u-detail .article .at,
body.u-detail .qmain .tt{
  font-size:20px;font-weight:700;line-height:1.46;letter-spacing:-.3px;color:var(--ink,#0F1418);
}
body.u-detail .article .tags,
body.u-detail .qmain .tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
body.u-detail .article .tags .tag,
body.u-detail .qmain .tags span{
  font-size:11px;height:23px;line-height:23px;padding:0 9px;border-radius:7px;
  color:var(--brand,#0E9F8E);background:rgba(14,159,142,.09);font-weight:500;
}
body.u-detail .qmain .tags .ct{color:#7A5B12;background:#FDF3DA}
body.u-detail .article .tags .demo{color:#8A5A00;background:#FDF3DA;border:0}
body.u-detail .article .meta,
body.u-detail .qmain .meta{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  margin-top:12px;padding:0 0 12px;
  border-bottom:1px solid var(--line,#ECEEF2);
  font-size:12px;color:var(--ink-4,#98A2AC);
}
body.u-detail .article .meta .src{color:var(--brand,#0E9F8E);font-weight:600}
body.u-detail .article .meta .views{margin-left:auto}
body.u-detail .article .body,
body.u-detail .qmain .body{margin-top:14px;font-size:15.5px;line-height:1.92;color:#333C43}
body.u-detail .article .demo-note{
  margin-top:16px;padding:11px 13px;border-radius:13px;
  font-size:12px;line-height:1.65;color:#8A5A00;background:#FDF7E9;border:0;
}

/* ---------- 问答回答列表 ---------- */
body.u-detail .ans{
  padding:13px 0;border-bottom:1px solid var(--line,#ECEEF2);
}
body.u-detail .ans:last-child{border-bottom:0}
body.u-detail .ameta{font-size:11.5px;color:var(--ink-4,#98A2AC);margin-top:8px;display:flex;align-items:center;gap:6px}
body.u-detail .ameta b{color:#4A555C;font-weight:600}
body.u-detail .abody{font-size:14px;line-height:1.8;color:#3C454C}
body.u-detail .ansbox textarea{
  width:100%;min-height:92px;box-sizing:border-box;padding:12px;
  border:1px solid var(--line,#ECEEF2);border-radius:14px;
  background:#F8FAFB;font-size:14px;line-height:1.7;color:var(--ink,#0F1418);
  outline:none;font-family:inherit;resize:vertical;
}
body.u-detail .ansbox textarea:focus{border-color:#12A08D;background:#fff}

/* ---------- 表单（圈子发布/加入等） ---------- */
body.u-detail .dform .fi input,
body.u-detail .dform .fi textarea{
  width:100%;box-sizing:border-box;padding:12px;border:1px solid var(--line,#ECEEF2);
  border-radius:14px;background:#F8FAFB;font-size:14px;color:var(--ink,#0F1418);outline:none;
}
body.u-detail .dform .fbtn,
body.u-detail .ansbox .btn{
  width:100%;padding:13px 0;border:0;border-radius:999px;
  background:linear-gradient(135deg,#12A08D,#2CBBA0);color:#fff;
  font-size:15px;font-weight:600;cursor:pointer;
  box-shadow:0 8px 20px -10px rgba(18,160,141,.75);
}
body.u-detail .dbtn{
  margin:0 12px 12px;padding:14px;border-radius:16px;text-align:center;
  font-size:15px;font-weight:600;display:block;text-decoration:none;
}
body.u-detail .dbtn.join{background:linear-gradient(135deg,#12A08D,#2CBBA0);color:#fff;box-shadow:0 8px 20px -10px rgba(18,160,141,.7)}
body.u-detail .dbtn.joined{background:#EAF4F2;color:#0E8A7B}
body.u-detail .dbtn.need{background:#F1F4F6;color:#98A2AC}
body.u-detail .dinfo .ico{border-radius:16px;background:linear-gradient(150deg,#EAF7F4,#F0F6F8)}
body.u-detail .mlist{gap:8px}
body.u-detail .mtag{background:#F1F5F6;color:#3D585F;border-radius:9px;padding:6px 11px;font-size:12px}
body.u-detail .pitem{padding:14px 0}
body.u-detail .pitem .pt{font-size:14.5px;font-weight:600}
body.u-detail .pitem .pc{font-size:13px;color:#4A555C;margin-top:6px;line-height:1.75}
body.u-detail .pitem .pm{margin-top:9px;font-size:11px;color:var(--ink-4,#98A2AC)}

/* ---------- 空态 / 页脚注 ---------- */
body.u-detail .derr,
body.u-detail .notfound{
  margin:60px 12px 12px;padding:44px 20px;
  background:var(--c-surface,#fff);border-radius:20px;text-align:center;
  color:var(--ink-3,#8B939D);font-size:14px;
  box-shadow:0 4px 18px -10px rgba(12,42,56,.12);
}
body.u-detail .derr .ic,
body.u-detail .notfound .ic{
  font-size:40px;margin-bottom:12px;
  display:inline-flex;align-items:center;justify-content:center;
  width:76px;height:76px;border-radius:26px;background:#F4F7F8;
}
body.u-detail .dnote{
  font-size:11.5px;line-height:1.7;color:#A5AEB4;text-align:center;
  padding:18px 26px calc(12px + env(safe-area-inset-bottom,0px));
}

/* ---------- 详情页底部操作栏（取代 5-tab 主导航） ---------- */
body.u-detail .footer_4_3{display:none!important}
body.u-detail .favfab{display:none!important}
body.u-detail .desk{height:0}

.u-dbar{
  position:fixed;left:0;right:0;bottom:0;z-index:950;
  display:flex;align-items:center;gap:8px;
  padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px));
  background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  backdrop-filter:saturate(180%) blur(14px);
  border-top:1px solid rgba(15,20,24,.06);
  box-shadow:0 -6px 20px -12px rgba(12,42,56,.25);
  max-width:480px;margin:0 auto;
}
.u-dbar-i{
  flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  width:52px;padding:3px 0;border:0;background:none;cursor:pointer;
  font-size:10px;color:#7C868D;text-decoration:none;font-family:inherit;
  transition:color .16s;
}
.u-dbar-i svg{width:21px;height:21px;display:block}
.u-dbar-i:active{color:#12A08D}
.u-dbar-i.on{color:#F4571E}
.u-dbar-i.on svg path{fill:currentColor}
.u-dbar-cta{
  flex:1;min-width:0;height:44px;border:0;border-radius:999px;
  display:flex;align-items:center;justify-content:center;gap:6px;
  background:linear-gradient(135deg,#12A08D,#2CBBA0);color:#fff;
  font-size:15px;font-weight:600;letter-spacing:.3px;text-decoration:none;
  cursor:pointer;font-family:inherit;
  box-shadow:0 8px 20px -10px rgba(18,160,141,.8);
}
.u-dbar-cta.ghost{
  background:#F1F4F6;color:#3D585F;box-shadow:none;
}
.u-dbar-cta:active{transform:translateY(1px)}

/* 详情页隐藏全站投诉条（底部已有操作栏，避免双条堆叠） */
body.u-detail .site-report{display:none!important}

/* 头图渐变层在 .dhead 的 -1 层级里，需把正文块抬到它之上，避免渐变透过卡片 */
body.u-detail > div:not(.dhead):not(.u-dbar),
body.u-detail > a,
body.u-detail > section{position:relative;z-index:2}
