/* ==========================================================================
   Huangye.fr — 设计系统 / Design Tokens
   法国黄页 · 法国华人本地生活服务入口
   ========================================================================== */

:root{
  /* 品牌色：对齐已确认的 huangye-home-prototype 原型配色（蓝主色 + 红点缀），
     用于 CTA / 选中态 / 重点标签 / Logo / 重点数字，全站统一。 */
  --primary:#1769DF;
  --primary-hover:#0F55BB;
  --primary-tint:#EAF3FF;
  --primary-tint-strong:#D6E8FC;

  /* 点缀色：原型里的红色点缀（标签 / 重点提示），不是主色 */
  --accent:#EF3F48;
  --accent-hover:#D42F38;
  --accent-tint:#FDECEC;

  /* 中性色 */
  --text:#222222;
  --text-secondary:#5B5F66;
  --text-muted:#8A8F98;
  --background:#F6F7F9;
  --surface:#FFFFFF;
  --border:#EAECEF;
  --border-strong:#DCDFE4;

  /* 语义色 */
  --success:#1E8E5A;
  --success-tint:#E7F6EE;
  --warning:#B8830A;
  --warning-tint:#FDF3DC;
  --info:#2C6ECB;
  --info-tint:#E9F1FD;

  /* 圆角 */
  --radius-sm:8px;
  --radius-md:10px;
  --radius-lg:14px;
  --radius-pill:999px;

  /* 阴影：非常轻 */
  --shadow-xs:0 1px 2px rgba(20,20,25,.04);
  --shadow-sm:0 2px 8px rgba(20,20,25,.06);
  --shadow-md:0 6px 20px rgba(20,20,25,.08);
  --shadow-lift:0 10px 30px rgba(20,20,25,.12);

  /* 间距 */
  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:20px;
  --space-6:24px;
  --space-7:32px;
  --space-8:40px;
  --space-9:56px;

  /* 容器：对齐原型的 --shell:1240px（原型用 width:min(100% - 40px, 1240px)，
     这里保持现有 max-width+padding 的写法，只把宽度数值对齐） */
  --container-w:1240px;
  --container-pad:20px;

  /* 头部高度：对齐确认原型（桌面 74px / 手机 64px） */
  --header-h:74px;
  --header-h-mobile:64px;

  --font-sans:"PingFang SC","Microsoft YaHei","Noto Sans SC","Helvetica Neue",Arial,sans-serif;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
body,h1,h2,h3,h4,p,ul,ol,dl,dd,figure{margin:0;}
ul,ol{padding:0;list-style:none;}
img,svg{display:block;max-width:100%;}
a{color:inherit;text-decoration:none;}
button,input,select,textarea{font:inherit;color:inherit;}
button{cursor:pointer;background:none;border:none;}
table{border-collapse:collapse;width:100%;}
.skip-link{
  position:fixed;left:12px;top:8px;z-index:400;
  padding:10px 14px;background:#fff;color:var(--primary);border-radius:8px;
  transform:translateY(-150%);
}
.skip-link:focus{transform:translateY(0);}
:focus-visible{outline:3px solid rgba(23,105,223,.35);outline-offset:3px;}



body{
  font-family:var(--font-sans);
  background:var(--background);
  color:var(--text);
  line-height:1.5;
  font-size:15px;
  -webkit-font-smoothing:antialiased;
}

.icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;}
.icon-sm{width:16px;height:16px;}
.icon-lg{width:28px;height:28px;}
.icon-fill{fill:currentColor;stroke:none;}

.container{
  max-width:var(--container-w);
  width:min(calc(100% - (var(--container-pad) * 2)), var(--container-w));
  margin:0 auto;

}

.visually-hidden{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

/* ==========================================================================
   排版
   ========================================================================== */
h1,h2,h3,h4{font-weight:700;color:var(--text);line-height:1.35;}
p{color:var(--text-secondary);}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:var(--space-4);
  margin-bottom:var(--space-5);
}
.section-head .titles h2{font-size:22px;margin-bottom:4px;}
.section-head .titles .sub{font-size:13.5px;color:var(--text-muted);}
.section-link{
  display:inline-flex;align-items:center;gap:4px;
  font-size:13.5px;color:var(--text-secondary);white-space:nowrap;
  padding:6px 0;
}
.section-link:hover{color:var(--primary);}
.section-link .icon{width:16px;height:16px;}

section.block{padding:var(--space-8) 0;}
section.block.tight{padding:var(--space-7) 0;}
section.block.alt{background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border);}

/* ==========================================================================
   按钮
   ========================================================================== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  height:44px;padding:0 20px;border-radius:var(--radius-md);
  font-size:14.5px;font-weight:600;white-space:nowrap;
  transition:background .15s ease,border-color .15s ease,color .15s ease,transform .05s ease;
  border:1px solid transparent;
}
.btn:active{transform:translateY(1px);}
.btn-sm{height:36px;padding:0 14px;font-size:13.5px;border-radius:var(--radius-sm);}
.btn-lg{height:50px;padding:0 26px;font-size:15.5px;}
.btn-block{width:100%;}

.btn-primary{background:var(--primary);color:#fff;}
.btn-primary:hover{background:var(--primary-hover);}

.btn-secondary{background:var(--surface);color:var(--text);border-color:var(--border-strong);}
.btn-secondary:hover{border-color:var(--primary);color:var(--primary);}

.btn-ghost{background:transparent;color:var(--text-secondary);}
.btn-ghost:hover{background:var(--background);color:var(--text);}

.btn-outline-primary{background:var(--primary-tint);color:var(--primary);border-color:var(--primary-tint-strong);}
.btn-outline-primary:hover{background:var(--primary-tint-strong);}

.btn-icon{
  width:40px;height:40px;padding:0;border-radius:var(--radius-md);
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--surface);border:1px solid var(--border-strong);color:var(--text-secondary);
}
.btn-icon:hover{color:var(--primary);border-color:var(--primary);}
.btn-icon.is-active{color:var(--primary);border-color:var(--primary);background:var(--primary-tint);}

/* ==========================================================================
   徽章 / 标签
   ========================================================================== */
.badge{
  display:inline-flex;align-items:center;gap:4px;
  font-size:12px;font-weight:600;padding:3px 9px;border-radius:var(--radius-pill);
  line-height:1.6;
}
.badge .icon{width:13px;height:13px;}
.badge-primary{background:var(--primary);color:#fff;}
.badge-primary-tint{background:var(--primary-tint);color:var(--primary);}
.badge-verified{background:var(--info-tint);color:var(--info);}
.badge-premium{background:#FFF6E5;color:#A8720C;}
.badge-success{background:var(--success-tint);color:var(--success);}
.badge-neutral{background:var(--background);color:var(--text-secondary);border:1px solid var(--border);}

.tag{
  /* display:inline-flex; 注释掉：WP 标签归档 body 自带 .tag class，会让整个 body 变成 inline-flex 导致页面靠左 */
  font-size:12.5px;color:var(--text-secondary);
  background:var(--background);border:1px solid var(--border);
  padding:3px 10px;border-radius:var(--radius-pill);
}

.rating{display:inline-flex;align-items:center;gap:3px;color:#DA9A1B;font-weight:700;font-size:13.5px;}
.rating .icon{width:14px;height:14px;}
.rating .count{color:var(--text-muted);font-weight:400;margin-left:2px;}

/* ==========================================================================
   Header — aligned with confirmed huangye-home-prototype
   ========================================================================== */
.site-header{
  position:sticky;top:0;z-index:100;
  height:var(--header-h);
  background:rgba(255,255,255,.96);
  border-bottom:1px solid rgba(222,228,238,.95);
  transition:box-shadow .25s ease;
}
.site-header.scrolled{box-shadow:0 9px 30px rgba(35,63,100,.11);}
.site-header .header-inner{
  height:100%;display:flex;align-items:center;gap:28px;
}

.brand{min-width:220px;display:inline-flex;align-items:center;gap:10px;flex-shrink:0;color:var(--text);}
.brand-mark{
  position:relative;width:35px;height:48px;display:inline-block;flex-shrink:0;
  background:linear-gradient(90deg,var(--primary) 0 48%,var(--accent) 48% 100%);
  clip-path:polygon(45% 0,58% 0,62% 40%,95% 100%,66% 100%,52% 65%,36% 100%,4% 100%,40% 40%);
}
.brand-mark::after{content:"";position:absolute;left:4px;right:4px;top:30px;height:5px;background:var(--background);}
.brand-copy{display:grid;gap:2px;min-width:0;}
.brand-copy strong{font-size:27px;line-height:1;letter-spacing:-1px;font-weight:700;}
.brand-copy small{color:#657086;font-size:11px;white-space:nowrap;}

/* Legacy logo aliases (CTA / other pages still referencing .logo) */
.logo{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--text);flex-shrink:0;}
.logo .mark{
  position:relative;width:35px;height:48px;flex-shrink:0;
  background:linear-gradient(90deg,var(--primary) 0 48%,var(--accent) 48% 100%);
  clip-path:polygon(45% 0,58% 0,62% 40%,95% 100%,66% 100%,52% 65%,36% 100%,4% 100%,40% 40%);
}
.logo .mark::after{content:"";position:absolute;left:4px;right:4px;top:30px;height:5px;background:var(--background);}
.logo .name-fr,.logo .name-wrap small{font-size:11px;color:#657086;font-weight:500;display:block;line-height:1;margin-top:2px;letter-spacing:0;}
.logo .name-wrap{display:grid;gap:2px;}
.logo .name-wrap > span:first-child{font-size:27px;line-height:1;letter-spacing:-1px;}

.desktop-nav{
  min-width:0;flex:1;height:100%;
  display:flex;align-items:stretch;justify-content:center;gap:20px;white-space:nowrap;
}
.desktop-nav > li{display:flex;align-items:stretch;list-style:none;height:100%;}
.desktop-nav a{
  position:relative;display:grid;place-items:center;
  font-size:15px;font-weight:500;color:#242b38;
}
.desktop-nav a::after{
  content:"";position:absolute;left:50%;right:50%;bottom:-1px;height:3px;background:var(--primary);
  transition:left .2s ease,right .2s ease;
}
.desktop-nav a:hover,
.desktop-nav a.active,
.desktop-nav .current-menu-item > a,
.desktop-nav .current_page_item > a{color:var(--primary);}
.desktop-nav a:hover::after,
.desktop-nav a.active::after,
.desktop-nav .current-menu-item > a::after,
.desktop-nav .current_page_item > a::after{left:0;right:0;}

.search-glyph{width:17px;height:17px;display:inline-block;border:2px solid currentColor;border-radius:50%;position:relative;flex-shrink:0;}
.search-glyph::after{content:"";position:absolute;width:7px;height:2px;background:currentColor;right:-5px;bottom:-2px;transform:rotate(45deg);transform-origin:left center;}

.header-actions{display:flex;align-items:center;gap:9px;margin-left:auto;flex-shrink:0;}
.icon-button{
  width:36px;height:36px;padding:0;border:0;border-radius:50%;
  display:grid;place-items:center;
  background:transparent;color:#172033;
}
.icon-button:hover{background:#eef4fb;}
.account-button span{
  font-size:12px;line-height:1;border:2px solid currentColor;border-radius:50%;
  padding:2px 3px;font-weight:700;
}

.site-header .button,
.mobile-menu .button{
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid transparent;border-radius:9px;padding:9px 16px;
  font-weight:700;font-size:14px;white-space:nowrap;line-height:1.2;
  transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease;margin: 0;
}
.site-header .button:active,
.mobile-menu .button:active{transform:translateY(1px) scale(.985);}
.site-header .button-primary,
.mobile-menu .button-primary{color:#fff;background:var(--primary);box-shadow:0 5px 14px rgba(23,105,223,.2);}
.site-header .button-primary:hover,
.mobile-menu .button-primary:hover{background:var(--primary-hover);color:#fff;}
.site-header .button-ghost,
.mobile-menu .button-ghost{color:var(--primary);border-color:#9bbbe6;background:#fff;}
.site-header .button-ghost:hover,
.mobile-menu .button-ghost:hover{background:var(--primary-tint);color:var(--primary);}

/* 统一发布入口按钮 — coral accent to stand out from the blue primary buttons. */
.publish-shortcut{
  color:#fff !important;
  background:#c43d32 !important;
  border-color:transparent !important;
  box-shadow:0 3px 10px rgba(196,61,50,.22);
}
.publish-shortcut:hover{
  background:#a83228 !important;
  color:#fff !important;
  box-shadow:0 5px 16px rgba(196,61,50,.3);
}
.mobile-publish-btn{
  width:100%;justify-content:center;height:50px;font-size:15px;margin:6px 0 14px;
}

.menu-button{
  display:none;width:40px;height:40px;padding:9px;border:0;border-radius:8px;background:#eef4fb;
}
.menu-button span{display:block;height:2px;margin:4px 0;background:#172033;transition:transform .2s,opacity .2s;}
.menu-button.open span:nth-child(1){transform:translateY(6px) rotate(45deg);}
.menu-button.open span:nth-child(2){opacity:0;}
.menu-button.open span:nth-child(3){transform:translateY(-6px) rotate(-45deg);}

.mobile-menu{
  position:fixed;z-index:99;top:var(--header-h-mobile);left:0;right:0;
  padding:16px 20px 22px;background:#fff;
  border-bottom:1px solid var(--border);box-shadow:var(--shadow-md);
}
.mobile-menu[hidden]{display:none !important;}
.mobile-menu > li{list-style:none;}
.mobile-menu a{
  display:block;padding:12px 2px;border-bottom:1px solid #edf1f7;
  font-weight:650;font-size:15px;color:var(--text);
}
.mobile-menu a:hover{color:var(--primary);}
.mobile-auth{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px;}
.mobile-auth .button{width:100%;justify-content:center;}

.mobile-only{display:none;}
.desktop-only{display:flex;}

/* ==========================================================================
   Global Search Dialog
   ========================================================================== */
.hy-search-dialog{
  position:fixed;inset:0;z-index:500;
  display:flex;align-items:flex-start;justify-content:center;
  padding:80px 20px 20px;
}
.hy-search-dialog[hidden]{display:none !important;}
.hy-search-dialog-backdrop{
  position:absolute;inset:0;
  background:rgba(20,20,25,.45);
  animation:hy-search-fade-in .2s ease;
}
.hy-search-dialog-panel{
  position:relative;z-index:1;
  width:100%;max-width:640px;
  background:#fff;
  border-radius:var(--radius-lg,14px);
  box-shadow:var(--shadow-lift,0 10px 30px rgba(20,20,25,.12));
  animation:hy-search-slide-in .25s ease;
  overflow:hidden;
}
/* 桌面：× 作为表单行的普通成员，排在「搜索」右侧——独立右上角，永不重叠 */
.hy-search-dialog-close{
  position:relative;
  width:36px;height:36px;padding:0;border:0;border-radius:50%;
  background:transparent;color:var(--text-muted,#8A8F98);
  display:grid;place-items:center;
  transition:background .15s,color .15s;
  flex-shrink:0;cursor:pointer;
}
.hy-search-dialog-close:hover{background:var(--background,#F6F7F9);color:var(--text,#222);}
.hy-search-dialog-close svg{width:20px;height:20px;}
.hy-search-dialog-close::before{content:"";position:absolute;inset:-4px;}
/* 手机全屏层（≤640px，见 search.css）：左上角返回钮，默认隐藏 */
.hy-search-dialog-back{
  display:none;position:absolute;top:12px;left:12px;z-index:2;
  width:44px;height:44px;padding:0;border:0;border-radius:50%;
  background:transparent;color:var(--text-muted,#8A8F98);
  place-items:center;cursor:pointer;
}
.hy-search-dialog-back svg{width:22px;height:22px;}
.hy-search-dialog-form{
  display:flex;align-items:center;gap:12px;
  padding:16px 20px;
}
.hy-search-dialog-icon{
  width:22px;height:22px;flex-shrink:0;
  color:var(--text-muted,#8A8F98);
}
.hy-search-dialog-close svg{flex-shrink:0;}
.hy-search-dialog-form input[type="search"]{
  flex:1;min-width:0;
  border:0;outline:0;
  font-size:16px;color:var(--text,#222);
  background:transparent;
  font-family:var(--font-sans);
}
.hy-search-dialog-form input[type="search"]::placeholder{color:var(--text-muted,#8A8F98);}
.hy-search-dialog-form button[type="submit"]{
  height:40px;padding:0 20px;border:0;border-radius:var(--radius-md,10px);
  background:var(--primary,#1769DF);color:#fff;
  font-size:14px;font-weight:600;
  cursor:pointer;transition:background .15s;
  flex-shrink:0;
  font-family:var(--font-sans);
}
.hy-search-dialog-form button[type="submit"]:hover{background:var(--primary-hover,#0F55BB);}

@keyframes hy-search-fade-in{from{opacity:0;}to{opacity:1;}}
@keyframes hy-search-slide-in{from{opacity:0;transform:translateY(-20px);}to{opacity:1;transform:translateY(0);}}

/* Search dialog responsive */
@media (max-width:767px){
  .hy-search-dialog{padding:60px 12px 12px;}
  .hy-search-dialog-panel{max-width:100%;border-radius:var(--radius-md,10px);}
  .hy-search-dialog-form{padding:14px 16px;gap:10px;}
  .hy-search-dialog-form input[type="search"]{font-size:15px;}
  .hy-search-dialog-form button[type="submit"]{padding:0 16px;font-size:13px;}
}

/* Filter drawer overlay (archive pages) — kept for filter bottom-sheet */
.drawer-overlay{
  position:fixed;inset:0;background:rgba(20,20,25,.45);
  opacity:0;visibility:hidden;transition:opacity .2s ease;z-index:200;
}
.drawer-overlay.is-open{opacity:1;visibility:visible;}
.mobile-drawer{display:none;}

/* ==========================================================================
   面包屑
   ========================================================================== */
.breadcrumb{
  display:flex;flex-wrap:wrap;align-items:center;gap:6px;
  font-size:13px;color:var(--text-muted);padding:14px 0;
}
.breadcrumb a{color:var(--text-muted);}
.breadcrumb a:hover{color:var(--primary);}
.breadcrumb .icon{width:13px;height:13px;}
.breadcrumb .current{color:var(--text-secondary);}

/* ==========================================================================
   Hero / 搜索
   ========================================================================== */
.hero{
  position:relative;overflow:hidden;isolation:isolate;
  min-height:540px;display:flex;align-items:center;
  padding:var(--space-8) 0 var(--space-8);
  background:var(--surface);
  border-bottom:1px solid var(--border);
}
.hero > .container{position:relative;z-index:1;width:100%;}

/* 全宽背景大图：左侧纯白承载文字，向右渐变过渡到完整照片 */
.hero-photo{position:absolute;inset:0;z-index:0;}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:72% 40%;display:block;}
.hero-photo::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(55deg,
    #fff 0%, #fff 12%,
    rgba(255,255,255,.92) 49%,
    rgba(255,255,255,.55) 75%,
    rgba(255,255,255,.12) 89%,
    rgba(255,255,255,0) 93%);
}

.hero-content{max-width:600px;}

.hero-credit{
  position:absolute;right:24px;bottom:20px;z-index:1;
  display:flex;align-items:center;gap:10px;
}
.hero-landmark{
  display:inline-flex;align-items:center;gap:7px;
  background:rgba(255,255,255,.88);backdrop-filter:blur(6px);
  color:var(--text);font-size:12.5px;font-weight:700;
  padding:6px 13px;border-radius:var(--radius-pill);box-shadow:var(--shadow-sm);
}
.hero-landmark::before{
  content:"";width:6px;height:6px;border-radius:50%;background:var(--primary);
  box-shadow:0 0 0 3px rgba(229,57,53,.22);
}
.hero-source{
  font-size:11px;color:var(--text-secondary);
  background:rgba(255,255,255,.7);backdrop-filter:blur(6px);
  padding:5px 10px;border-radius:var(--radius-pill);
}

.hero h1{font-size:32px;letter-spacing:.2px;margin-bottom:8px;}
.hero .sub{font-size:14.5px;color:var(--text-secondary);margin-bottom:var(--space-6);}
.hero .sub .dot{color:var(--border-strong);margin:0 8px;}

.search-panel{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);padding:8px;
  display:flex;align-items:stretch;gap:6px;max-width:760px;
}
.search-panel .field{
  display:flex;align-items:center;gap:8px;padding:0 14px;height:52px;flex:6 1 0%;min-width:0;
  background:var(--background);border-radius:var(--radius-md);
}
.search-panel .field.location{flex:4 1 0%;}
.search-panel .field .icon{color:var(--text-muted);}
.search-panel input{border:none;background:none;width:100%;font-size:14.5px;}
.search-panel input::placeholder{color:var(--text-muted);}
.search-panel select{
  /* Foundation's own `select{...}` rule (assets/css/foundation.min.css) sets
     a full border + #FEFEFE background + a background-image chevron + its
     own margin/height/padding — all on the bare `select` selector. Our
     `.search-panel select` is more specific and should win outright, but
     `background:none` alone doesn't clear a separately-set background-image,
     and the leftover margin/height/padding made the field look like its own
     boxed input instead of sitting flush in the shared search bar. Reset
     every one of those explicitly. */
  border:none;outline:none;margin:0;padding:0;height:auto;
  background:none;background-image:none;
  width:100%;font-size:14.5px;color:var(--text);
  -webkit-appearance:none;-moz-appearance:none;appearance:none;
}
.search-panel .btn{flex-shrink:0;}

.hot-searches{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:var(--space-4);font-size:13px;}
.hot-searches .label{color:var(--text-muted);}
.hot-searches a{
  color:var(--text-secondary);background:var(--background);border:1px solid var(--border);
  padding:4px 12px;border-radius:var(--radius-pill);
}
.hot-searches a:hover{color:var(--primary);border-color:var(--primary-tint-strong);background:var(--primary-tint);}

/* ==========================================================================
   分类宫格
   ========================================================================== */
.category-grid{
  display:grid;grid-template-columns:repeat(6,1fr);gap:var(--space-4);
}
.category-item{
  display:flex;flex-direction:column;align-items:center;gap:10px;
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:var(--space-5) var(--space-2);text-align:center;
  transition:border-color .15s ease,box-shadow .15s ease,transform .1s ease;
}
.category-item:hover{border-color:var(--primary-tint-strong);box-shadow:var(--shadow-sm);transform:translateY(-2px);}
.category-item .ico{
  width:52px;height:52px;border-radius:14px;background:var(--primary-tint);color:var(--primary);
  display:flex;align-items:center;justify-content:center;
}
.category-item .ico .icon{width:26px;height:26px;}
.category-item .name{font-size:14px;font-weight:600;color:var(--text);}
.category-item .count{font-size:12px;color:var(--text-muted);}
.directory-categories-wrap .category-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));}

/* ==========================================================================
   商家卡片 — Grid 模式
   ========================================================================== */
.biz-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--space-5);}

.biz-card{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);
  overflow:hidden;display:flex;flex-direction:column;
  transition:box-shadow .15s ease,transform .1s ease,border-color .15s ease;
}
.biz-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px);border-color:var(--border-strong);}
.biz-card .thumb{
  position:relative;aspect-ratio:4/3;
  background:linear-gradient(135deg,#F3D9D8,#F6E7C9);
  display:flex;align-items:center;justify-content:center;color:rgba(120,60,50,.35);
}
.biz-card .thumb .icon{width:34px;height:34px;}
.biz-card .thumb .fav{
  position:absolute;top:10px;right:10px;width:32px;height:32px;border-radius:50%;
  background:rgba(255,255,255,.9);color:var(--text-secondary);
  display:flex;align-items:center;justify-content:center;
}
.biz-card .thumb .fav.is-active{color:var(--primary);}
.biz-card .thumb .fav .icon{width:17px;height:17px;}
.biz-card .thumb .ribbon{
  position:absolute;top:10px;left:10px;
}
.biz-card .body{padding:14px;display:flex;flex-direction:column;gap:6px;flex:1;}
.biz-card .name-row{display:flex;align-items:center;gap:6px;}
.biz-card .name-row .name{font-size:15.5px;font-weight:700;}
.biz-card .name-row .icon{width:15px;height:15px;color:var(--info);}
.biz-card .meta{font-size:12.5px;color:var(--text-muted);}
.biz-card .desc{font-size:13px;color:var(--text-secondary);line-height:1.6;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.biz-card .tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px;}
.biz-card .foot{
  display:flex;align-items:center;justify-content:space-between;
  padding-top:10px;margin-top:auto;border-top:1px solid var(--border);
}
.biz-card-ph{border-style:dashed;border-color:var(--border-strong);background:var(--background);}
.biz-card-ph .thumb{background:var(--background);color:var(--text-muted);font-size:34px;}
.biz-card-ph .name{color:var(--text-muted);}
.biz-card-ph:hover{border-color:var(--primary);}

/* 横向滑动（移动端推荐商家） */
.scroll-row{
  display:flex;gap:var(--space-4);overflow-x:auto;padding-bottom:6px;
  scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
}
.scroll-row::-webkit-scrollbar{display:none;}
.scroll-row .biz-card{min-width:250px;scroll-snap-align:start;}

/* ==========================================================================
   商家卡片 — List 模式（分类页）
   ========================================================================== */
.biz-list{display:flex;flex-direction:column;gap:var(--space-4);}
.biz-list-card{
  display:flex;gap:var(--space-4);
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:var(--space-4);
  transition:box-shadow .15s ease,border-color .15s ease;
}
.biz-list-card:hover{box-shadow:var(--shadow-sm);border-color:var(--border-strong);}
.biz-list-card .thumb{
  flex:0 0 150px;height:112px;border-radius:var(--radius-md);
  background:linear-gradient(135deg,#F3D9D8,#F6E7C9);
  display:flex;align-items:center;justify-content:center;color:rgba(120,60,50,.35);
  position:relative;overflow:hidden;
}
.biz-list-card .thumb .icon{width:30px;height:30px;}
.biz-list-card .main{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;}
.biz-list-card .name-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.biz-list-card .name-row .name{font-size:16.5px;font-weight:700;}
.biz-list-card .meta-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:12.5px;color:var(--text-muted);}
.biz-list-card .meta-row .sep{color:var(--border-strong);}
.biz-list-card .desc{font-size:13.5px;color:var(--text-secondary);line-height:1.65;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.biz-list-card .tags{display:flex;flex-wrap:wrap;gap:6px;}
.biz-list-card .addr{display:flex;align-items:center;gap:5px;font-size:12.5px;color:var(--text-muted);}
.biz-list-card .addr .icon{width:14px;height:14px;}
.biz-list-card .side{
  flex:0 0 120px;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;
  text-align:right;
}

/* ==========================================================================
   分类信息卡片（WPAdverts）
   ========================================================================== */
.classified-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--space-4);}
.classified-card{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);
  overflow:hidden;transition:box-shadow .15s ease;
}
.classified-card:hover{box-shadow:var(--shadow-sm);}
.classified-card .thumb{
  aspect-ratio:4/3;background:linear-gradient(135deg,#E7ECF3,#F1E9DC);
  display:flex;align-items:center;justify-content:center;color:rgba(60,80,120,.3);position:relative;
}
.classified-card .thumb .icon{width:28px;height:28px;}
.classified-card .thumb .cat-badge{position:absolute;top:8px;left:8px;}
.classified-card .body{padding:12px;display:flex;flex-direction:column;gap:6px;}
.classified-card .title{font-size:14px;font-weight:600;line-height:1.5;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.9em;}
.classified-card .price{font-size:15.5px;font-weight:800;color:var(--primary);}
.classified-card .meta{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--text-muted);}

/* ==========================================================================
   生活问答模块
   ========================================================================== */
.qa-list{display:flex;flex-direction:column;}
.qa-item{
  display:flex;align-items:center;gap:var(--space-4);
  padding:16px 4px;border-bottom:1px solid var(--border);
}
.qa-item:last-child{border-bottom:none;}
.qa-item .qmark{
  flex:0 0 36px;height:36px;border-radius:10px;background:var(--primary-tint);color:var(--primary);
  display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px;
}
.qa-item .main{flex:1;min-width:0;}
.qa-item .q-title{font-size:15px;font-weight:600;color:var(--text);margin-bottom:5px;}
.qa-item .q-title:hover{color:var(--primary);}
.qa-item .q-meta{display:flex;flex-wrap:wrap;gap:12px;font-size:12.5px;color:var(--text-muted);}
.qa-item .q-meta span{display:inline-flex;align-items:center;gap:4px;}
.qa-item .q-meta .icon{width:14px;height:14px;}
.qa-item .q-cat{flex-shrink:0;}

/* ==========================================================================
   文章卡片
   ========================================================================== */
.article-featured{
  display:grid;grid-template-columns:1.1fr 1fr;gap:var(--space-6);
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);
  overflow:hidden;margin-bottom:var(--space-5);
}
.article-featured .thumb{
  background:linear-gradient(135deg,#F0DCC8,#E3E9F0);min-height:260px;
  display:flex;align-items:center;justify-content:center;color:rgba(90,80,60,.3);
}
.article-featured .thumb .icon{width:40px;height:40px;}
.article-featured .body{padding:var(--space-6) var(--space-6) var(--space-6) 0;display:flex;flex-direction:column;justify-content:center;gap:10px;}
.article-featured h3{font-size:22px;line-height:1.4;}
.article-featured .excerpt{font-size:14px;color:var(--text-secondary);line-height:1.75;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.article-featured .meta{display:flex;gap:14px;font-size:12.5px;color:var(--text-muted);align-items:center;}

.article-list{display:flex;flex-direction:column;}
.article-row{
  display:flex;gap:var(--space-4);padding:16px 0;border-bottom:1px solid var(--border);
}
.article-row:last-child{border-bottom:none;}
.article-row .thumb{
  flex:0 0 140px;height:96px;border-radius:var(--radius-md);
  background:linear-gradient(135deg,#F0DCC8,#E3E9F0);
  display:flex;align-items:center;justify-content:center;color:rgba(90,80,60,.3);
}
.article-row .thumb .icon{width:24px;height:24px;}
.article-row .main{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;justify-content:center;}
.article-row h4{font-size:15px;line-height:1.5;font-weight:600;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.article-row h4:hover{color:var(--primary);}
.article-row .excerpt{font-size:12.5px;color:var(--text-muted);
  display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;}
.article-row .meta{display:flex;gap:10px;font-size:12px;color:var(--text-muted);}

.tab-nav{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px;}
.tab-nav::-webkit-scrollbar{display:none;}
.tab-nav button{
  flex-shrink:0;padding:8px 16px;border-radius:var(--radius-pill);font-size:13.5px;font-weight:600;
  color:var(--text-secondary);background:var(--background);border:1px solid var(--border);white-space:nowrap;
}
.tab-nav button.active{background:var(--primary);color:#fff;border-color:var(--primary);}

/* ==========================================================================
   城市 / 地区
   ========================================================================== */
.city-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:var(--space-3);}
.city-chip{
  display:flex;align-items:center;justify-content:center;gap:6px;
  padding:14px 10px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);
  font-size:13.5px;font-weight:600;color:var(--text-secondary);
}
.city-chip:hover{color:var(--primary);border-color:var(--primary-tint-strong);background:var(--primary-tint);}
.city-chip .icon{width:15px;height:15px;color:var(--text-muted);}

/* ==========================================================================
   Huangye Global Footer V1 — one footer for every page. Dark navy, flat
   single-row (copyright + nav, no columns, no card, no gradient, no logo).
   ========================================================================== */
.site-footer{min-height:110px;display:flex;align-items:center;background:#1F2D3D;color:rgba(255,255,255,.88);font-size:13px;padding-block:32px;}
.footer-inner{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 28px;}
.footer-copyright{margin:0;color:rgba(255,255,255,.60);white-space:nowrap;}
.footer-nav{display:flex;flex-wrap:wrap;align-items:center;}
.footer-nav a{padding:0 14px;border-left:1px solid rgba(255,255,255,.15);color:rgba(255,255,255,.88);text-decoration:none;}
.footer-nav a:first-child{border-left:0;padding-left:0;}
.footer-nav a:hover{color:#fff;}
.footer-nav a:focus-visible{outline:2px solid rgba(255,255,255,.7);outline-offset:2px;border-radius:2px;}
.home .site-footer,.hv4-home ~ .site-footer{margin-top:0;}

/* ==========================================================================
   两栏布局（分类页 / 博客页）
   ========================================================================== */
.layout-2col{display:grid;grid-template-columns:260px 1fr;gap:var(--space-6);align-items:flex-start;}
.layout-2col.reverse{grid-template-columns:1fr 300px;}

.filter-sidebar{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:var(--space-5);position:sticky;top:calc(var(--header-h) + 16px);
}
.filter-group{padding-bottom:var(--space-5);margin-bottom:var(--space-5);border-bottom:1px solid var(--border);}
.filter-group:last-child{border:none;margin:0;padding-bottom:0;}
.filter-group h4{font-size:13.5px;margin-bottom:12px;color:var(--text);}
.filter-options{display:flex;flex-direction:column;gap:10px;}
.check-row{display:flex;align-items:center;gap:9px;font-size:13.5px;color:var(--text-secondary);}
.check-row input{width:16px;height:16px;accent-color:var(--primary);}
.chip-options{display:flex;flex-wrap:wrap;gap:8px;}
.chip-options button{
  padding:7px 13px;border-radius:var(--radius-pill);font-size:13px;
  background:var(--background);border:1px solid var(--border);color:var(--text-secondary);
}
.chip-options button.active{background:var(--primary-tint);border-color:var(--primary-tint-strong);color:var(--primary);font-weight:600;}

.results-toolbar{
  display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);
  margin-bottom:var(--space-4);flex-wrap:wrap;
}
.results-toolbar .count{font-size:13.5px;color:var(--text-secondary);}
.results-toolbar .count b{color:var(--primary);font-weight:700;}
.toolbar-actions{display:flex;align-items:center;gap:8px;}
.view-switch{display:flex;border:1px solid var(--border-strong);border-radius:var(--radius-sm);overflow:hidden;}
.view-switch button{
  width:38px;height:38px;display:flex;align-items:center;justify-content:center;color:var(--text-muted);
}
.view-switch button.active{background:var(--primary-tint);color:var(--primary);}
.sort-select{
  height:38px;padding:0 30px 0 12px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);
  font-size:13px;color:var(--text-secondary);background:var(--surface);appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A8F98' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 8px center;
}

/* List/Grid 视图切换：Grid 模式下把横向 list-card 重排为竖向卡片 */
.biz-grid > .biz-list-card{flex-direction:column;}
.biz-grid > .biz-list-card .thumb{flex:none;width:100%;height:150px;}
.biz-grid > .biz-list-card .side{
  flex-direction:row;align-items:center;justify-content:space-between;
  width:100%;padding-top:10px;margin-top:auto;border-top:1px solid var(--border);text-align:left;
}

.pagination{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:var(--space-7);}
.pagination a,.pagination span{
  width:38px;height:38px;display:flex;align-items:center;justify-content:center;
  border-radius:var(--radius-sm);font-size:13.5px;color:var(--text-secondary);border:1px solid var(--border);
}
.pagination a:hover{border-color:var(--primary);color:var(--primary);}
.pagination .current{background:var(--primary);color:#fff;border-color:var(--primary);font-weight:700;}

/* 移动端筛选抽屉（Bottom Sheet） */
.filter-drawer{
  position:fixed;left:0;right:0;bottom:0;z-index:210;
  background:var(--surface);border-radius:18px 18px 0 0;
  max-height:82vh;display:flex;flex-direction:column;
  transform:translateY(100%);transition:transform .25s ease;
  box-shadow:var(--shadow-lift);
}
.filter-drawer.is-open{transform:translateY(0);}
.filter-drawer .fd-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px var(--space-5) 12px;border-bottom:1px solid var(--border);
}
.filter-drawer .fd-handle{width:36px;height:4px;background:var(--border-strong);border-radius:2px;margin:8px auto 0;}
.filter-drawer .fd-body{padding:var(--space-5);overflow-y:auto;flex:1;}
.filter-drawer .fd-foot{display:flex;gap:10px;padding:var(--space-4) var(--space-5);border-top:1px solid var(--border);}

/* ==========================================================================
   商家详情页
   ========================================================================== */
.biz-hero{background:var(--surface);border-bottom:1px solid var(--border);padding:var(--space-6) 0 var(--space-5);}
.biz-hero-top{display:flex;gap:var(--space-5);align-items:flex-start;}
.biz-hero .logo-box{
  flex:0 0 96px;height:96px;border-radius:var(--radius-lg);
  background:linear-gradient(135deg,#F3D9D8,#F6E7C9);color:rgba(120,60,50,.4);
  display:flex;align-items:center;justify-content:center;border:1px solid var(--border);
}
.biz-hero .logo-box .icon{width:40px;height:40px;}
.biz-hero .info{flex:1;min-width:0;}
.biz-hero .badges-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px;}
.biz-hero h1{font-size:24px;margin-bottom:6px;}
.biz-hero .cat-line{font-size:14px;color:var(--text-secondary);margin-bottom:8px;}
.biz-hero .meta-line{display:flex;flex-wrap:wrap;align-items:center;gap:14px;font-size:13.5px;color:var(--text-muted);}
.biz-hero .meta-line span{display:inline-flex;align-items:center;gap:5px;}
.biz-hero .meta-line .icon{width:15px;height:15px;}
.biz-hero .cta-row{display:flex;gap:10px;margin-top:var(--space-4);flex-wrap:wrap;}

.premium-strip{
  margin-top:var(--space-4);padding:12px 16px;border-radius:var(--radius-md);
  background:linear-gradient(90deg,#FFF8E9,#FFFDF7);border:1px solid #F3E3B0;
  display:flex;align-items:center;gap:10px;font-size:13px;color:#8A6412;
}
.premium-strip .icon{color:#C4900B;width:18px;height:18px;}

.biz-tabs{
  position:sticky;top:var(--header-h);z-index:40;
  background:var(--surface);border-bottom:1px solid var(--border);
}
.biz-tabs nav{display:flex;gap:var(--space-6);overflow-x:auto;}
.biz-tabs a{
  padding:14px 2px;font-size:14.5px;font-weight:600;color:var(--text-muted);white-space:nowrap;
  border-bottom:2px solid transparent;
}
.biz-tabs a.active{color:var(--text);border-color:var(--primary);}

.biz-body{display:grid;grid-template-columns:1fr 340px;gap:var(--space-6);padding:var(--space-7) 0;align-items:flex-start;}

.gallery{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:1fr 1fr;gap:8px;border-radius:var(--radius-lg);overflow:hidden;margin-bottom:var(--space-7);}
.gallery .g-item{
  background:linear-gradient(135deg,#F3D9D8,#F6E7C9);color:rgba(120,60,50,.35);
  display:flex;align-items:center;justify-content:center;min-height:120px;position:relative;
}
.gallery .g-item:first-child{grid-row:1/3;}
.gallery .g-item .icon{width:26px;height:26px;}
.gallery .g-item .more{
  position:absolute;inset:0;background:rgba(0,0,0,.45);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;gap:6px;
}

.detail-section{margin-bottom:var(--space-7);scroll-margin-top:calc(var(--header-h) + 60px);}
.detail-section h2{font-size:18px;margin-bottom:14px;}
.detail-section p{font-size:14.5px;line-height:1.85;color:var(--text-secondary);}

.service-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;}
.service-item{
  display:flex;align-items:center;gap:10px;padding:14px;border:1px solid var(--border);border-radius:var(--radius-md);
  font-size:13.5px;font-weight:600;
}
.service-item .icon{color:var(--primary);width:20px;height:20px;}

.hours-table{border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden;}
.hours-table .row{display:flex;justify-content:space-between;padding:11px 16px;font-size:13.5px;border-bottom:1px solid var(--border);}
.hours-table .row:last-child{border-bottom:none;}
.hours-table .row.today{background:var(--primary-tint);color:var(--primary);font-weight:700;}
.hours-table .row span:last-child{color:var(--text-secondary);}
.hours-table .row.today span{color:var(--primary);}

.map-placeholder{
  height:220px;border-radius:var(--radius-md);border:1px solid var(--border);
  background:
    linear-gradient(0deg, transparent 24%, var(--border) 25%, var(--border) 26%, transparent 27%, transparent 74%, var(--border) 75%, var(--border) 76%, transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%, var(--border) 25%, var(--border) 26%, transparent 27%, transparent 74%, var(--border) 75%, var(--border) 76%, transparent 77%, transparent),
    #EFF1F4;
  background-size:44px 44px;
  display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:var(--text-muted);
}

.info-list{display:flex;flex-direction:column;gap:12px;}
.info-list .row{display:flex;justify-content:space-between;font-size:13.5px;padding-bottom:12px;border-bottom:1px solid var(--border);}
.info-list .row:last-child{border:none;padding:0;}
.info-list .row span:first-child{color:var(--text-muted);}
.info-list .row span:last-child{color:var(--text);font-weight:500;text-align:right;}

.review-item{padding:var(--space-4) 0;border-bottom:1px solid var(--border);}
.review-item:last-child{border-bottom:none;}
.review-head{display:flex;align-items:center;gap:10px;margin-bottom:8px;}
.review-head .avatar{
  width:38px;height:38px;border-radius:50%;background:var(--background);color:var(--text-muted);
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;
}
.review-head .name{font-size:13.5px;font-weight:600;}
.review-head .date{font-size:12px;color:var(--text-muted);}
.review-item p{font-size:13.5px;line-height:1.75;}

.sidebar-card{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:var(--space-5);margin-bottom:var(--space-5);
}
.sidebar-card h3{font-size:15px;margin-bottom:14px;}

.sticky-cta-bar{
  display:none;position:fixed;left:0;right:0;bottom:0;z-index:150;
  background:var(--surface);border-top:1px solid var(--border);box-shadow:0 -4px 16px rgba(20,20,25,.08);
  padding:8px var(--space-4);padding-bottom:calc(8px + env(safe-area-inset-bottom));
  gap:8px;
}
.sticky-cta-bar a,.sticky-cta-bar button{
  flex:1;height:46px;border-radius:var(--radius-md);display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:2px;font-size:11px;font-weight:600;
}
.sticky-cta-bar .cta-call{background:var(--primary);color:#fff;}
.sticky-cta-bar .cta-wechat{background:var(--success-tint);color:var(--success);}
.sticky-cta-bar .cta-nav{background:var(--background);color:var(--text-secondary);}

/* ==========================================================================
   文章详情页
   ========================================================================== */
.article-layout{display:grid;grid-template-columns:200px 1fr;gap:var(--space-7);align-items:flex-start;padding:var(--space-6) 0 var(--space-8);}
.article-layout .toc-col{position:sticky;top:calc(var(--header-h) + 20px);}
.toc-box h5{font-size:12.5px;color:var(--text-muted);margin-bottom:12px;font-weight:700;letter-spacing:.5px;}
.toc-box ol{display:flex;flex-direction:column;gap:2px;border-left:2px solid var(--border);}
.toc-box a{
  display:block;padding:7px 0 7px 14px;font-size:13px;color:var(--text-secondary);margin-left:-2px;
  border-left:2px solid transparent;
}
.toc-box a.active{color:var(--primary);border-left-color:var(--primary);font-weight:600;}
.toc-box a:hover{color:var(--primary);}

.article-main{max-width:760px;}
.article-head{margin-bottom:var(--space-6);}
.article-head .cat{margin-bottom:12px;}
.article-head h1{font-size:27px;line-height:1.5;margin-bottom:14px;}
.article-head .lead{font-size:15px;color:var(--text-secondary);line-height:1.8;margin-bottom:16px;}
.article-head .byline{
  display:flex;align-items:center;gap:12px;font-size:13px;color:var(--text-muted);
  padding-top:16px;border-top:1px solid var(--border);flex-wrap:wrap;
}
.article-head .byline .author{display:flex;align-items:center;gap:8px;color:var(--text-secondary);font-weight:600;}
.article-head .byline .avatar{
  width:28px;height:28px;border-radius:50%;background:var(--primary-tint);color:var(--primary);
  display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;
}
.article-head .byline .sep{color:var(--border-strong);}

.article-toc-mobile{display:none;margin-bottom:var(--space-5);border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden;}
@media (max-width:767px){.article-toc-mobile{display:block;}}
.article-toc-mobile summary{
  padding:13px 16px;font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:space-between;
  list-style:none;background:var(--surface);
}
.article-toc-mobile summary::-webkit-details-marker{display:none;}
.article-toc-mobile[open] summary{border-bottom:1px solid var(--border);}
.article-toc-mobile ol{padding:8px 16px 14px;display:flex;flex-direction:column;gap:10px;}
.article-toc-mobile a{font-size:13.5px;color:var(--text-secondary);}

.prose{font-size:15.5px;line-height:1.85;color:var(--text);}
.prose h2{font-size:20px;margin:var(--space-7) 0 14px;scroll-margin-top:calc(var(--header-h) + 16px);}
.prose h3{font-size:17px;margin:var(--space-6) 0 12px;scroll-margin-top:calc(var(--header-h) + 16px);}
.prose p{color:var(--text);margin-bottom:16px;font-size:15.5px;}
.prose ul,.prose ol{margin:0 0 16px;padding-left:1.4em;}
.prose ul{list-style:disc;}
.prose ol{list-style:decimal;}
.prose li{margin-bottom:8px;color:var(--text);}
.prose li::marker{color:var(--text-muted);}
.prose a{color:var(--primary);text-decoration:underline;text-underline-offset:2px;}
.prose blockquote{
  margin:0 0 16px;padding:4px 0 4px 18px;border-left:3px solid var(--border-strong);
  color:var(--text-secondary);font-size:15px;
}
.prose img,.prose figure{
  margin:20px 0;border-radius:var(--radius-md);overflow:hidden;
}
.prose figcaption{font-size:12.5px;color:var(--text-muted);text-align:center;margin-top:8px;}
.prose-image{
  aspect-ratio:16/9;border-radius:var(--radius-md);
  background:linear-gradient(135deg,#F0DCC8,#E3E9F0);
  display:flex;align-items:center;justify-content:center;color:rgba(90,80,60,.3);
}

.callout{
  display:flex;gap:12px;padding:16px 18px;border-radius:var(--radius-md);margin:20px 0;font-size:14px;line-height:1.75;
}
.callout .icon{flex-shrink:0;width:20px;height:20px;margin-top:1px;}
.callout .ct-title{font-weight:700;margin-bottom:4px;display:block;}
.callout.info-box{background:var(--info-tint);color:#1F5499;}
.callout.warning-box{background:var(--warning-tint);color:#8A6412;}
.callout.tip-box{background:var(--success-tint);color:#146341;}

.steps{counter-reset:step;margin:20px 0;padding:0;list-style:none;}
.steps li{
  counter-increment:step;position:relative;padding:2px 0 20px 40px;font-size:14.5px;color:var(--text);
  border-left:2px solid var(--border);margin-left:15px;
}
.steps li:last-child{border-color:transparent;padding-bottom:2px;}
.steps li::before{
  content:counter(step);position:absolute;left:-15px;top:0;width:30px;height:30px;border-radius:50%;
  background:var(--primary);color:#fff;font-weight:700;font-size:13px;
  display:flex;align-items:center;justify-content:center;
}
.steps li strong{display:block;margin-bottom:4px;font-size:15px;}

.data-table{margin:20px 0;border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden;font-size:14px;}
.data-table table{width:100%;}
.data-table th{background:var(--background);text-align:left;padding:11px 14px;font-weight:700;color:var(--text);border-bottom:1px solid var(--border);}
.data-table td{padding:11px 14px;border-bottom:1px solid var(--border);color:var(--text-secondary);}
.data-table tr:last-child td{border-bottom:none;}

.faq-list{margin:20px 0;display:flex;flex-direction:column;gap:10px;}
.faq-item{border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden;}
.faq-q{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:15px 16px;font-size:14.5px;font-weight:600;text-align:left;background:var(--surface);
}
.faq-q .icon{color:var(--text-muted);transition:transform .2s ease;flex-shrink:0;}
.faq-item.open .faq-q .icon{transform:rotate(180deg);}
.faq-a{max-height:0;overflow:hidden;transition:max-height .25s ease;background:var(--background);}
.faq-item.open .faq-a{max-height:400px;}
.faq-a-inner{padding:4px 16px 16px;font-size:13.5px;color:var(--text-secondary);line-height:1.8;}

.vote-box{
  display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;
  padding:var(--space-6) 0;margin:var(--space-7) 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);
}
.vote-box .q{font-size:14.5px;font-weight:600;}
.vote-actions{display:flex;gap:10px;}
.vote-actions .btn.is-active{background:var(--primary-tint);border-color:var(--primary-tint-strong);color:var(--primary);}

.related-block{margin-top:var(--space-7);}
.related-block h3{font-size:16px;margin-bottom:14px;}
.related-links{display:flex;flex-direction:column;gap:2px;}
.related-links a{
  display:flex;align-items:center;gap:8px;padding:11px 0;font-size:14px;color:var(--text-secondary);
  border-bottom:1px solid var(--border);
}
.related-links a:last-child{border:none;}
.related-links a .icon{color:var(--text-muted);width:16px;height:16px;flex-shrink:0;}
.related-links a:hover{color:var(--primary);}

.sidebar-list-item{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--border);}
.sidebar-list-item:last-child{border:none;padding-bottom:0;}
.sidebar-list-item .num{
  flex:0 0 20px;font-size:14px;font-weight:800;color:var(--border-strong);
}
.sidebar-list-item:nth-child(-n+3) .num{color:var(--primary);}
.sidebar-list-item .txt{font-size:13.5px;line-height:1.6;color:var(--text-secondary);}
.sidebar-list-item .txt:hover{color:var(--primary);}

.tool-list{display:flex;flex-direction:column;gap:8px;}
.tool-list a{
  display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:var(--radius-sm);
  background:var(--background);font-size:13.5px;font-weight:600;color:var(--text-secondary);
}
.tool-list a .icon{color:var(--primary);}
.tool-list a:hover{color:var(--primary);}

.tag-cloud{display:flex;flex-wrap:wrap;gap:8px;}

/* ==========================================================================
   Empty state / misc
   ========================================================================== */
.empty-state{text-align:center;padding:var(--space-9) var(--space-4);color:var(--text-muted);}
.empty-state .icon{width:44px;height:44px;margin:0 auto 14px;color:var(--border-strong);}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width:1120px){
  .desktop-nav{gap:13px;}
  .desktop-nav a:nth-last-child(-n+2),
  .desktop-nav > li:nth-last-child(-n+2){display:none;}
  .account-button{display:none;}
}

@media (max-width:1023px){
  /* 平板与手机共用的精简 Header：空间不足以容纳完整桌面导航 */
  .desktop-only{display:none !important;}
  .mobile-only{display:flex;}
  .site-header{height:var(--header-h-mobile);}
  .site-header .header-inner{gap:12px;}
  .brand{min-width:0;flex:1;}
  .brand-mark{width:28px;height:39px;}
  .brand-mark::after{top:25px;}
  .brand-copy strong{font-size:23px;}
  .brand-copy small,
  .desktop-nav,
  .login-button,
  .signup-button,
  .header-actions .publish-shortcut{display:none;}
  .menu-button{display:block;}
  .mobile-menu{top:var(--header-h-mobile);}

  .biz-grid{grid-template-columns:repeat(2,1fr);}
  .classified-grid{grid-template-columns:repeat(2,1fr);}
  .category-grid{grid-template-columns:repeat(4,1fr);}
  .city-grid{grid-template-columns:repeat(3,1fr);}
  .layout-2col{grid-template-columns:1fr;}
  .filter-sidebar{display:none;}
  .hero{min-height:460px;}
  .hero-photo::after{
    background:linear-gradient(55deg,
      #fff 0%, #fff 18%,
      rgba(255,255,255,.92) 55%,
      rgba(255,255,255,.55) 78%,
      rgba(255,255,255,.12) 90%,
      rgba(255,255,255,0) 94%);
  }
  .biz-body{grid-template-columns:1fr;}
  .article-layout{grid-template-columns:1fr;}
  .article-layout .toc-col{display:none;}
  .article-featured{grid-template-columns:1fr;}
  .article-featured .thumb{min-height:200px;}
  .article-featured .body{padding:var(--space-5);}
}

@media (max-width:767px){
  :root{--container-pad:16px;}
  body{font-size:14.5px;}
  .desktop-only{display:none !important;}
  .mobile-only{display:flex;}
  .site-header{height:var(--header-h-mobile);}
  .brand-copy small,
  .desktop-nav,
  .login-button,
  .signup-button{display:none;}
  .menu-button{display:block;}

  /* Header compact pass — mobile presentation only, no markup/logic change.
     Search stays (not yet duplicated inside .mobile-menu — see audit note),
     Account is already reachable via .mobile-menu .mobile-auth, so its
     top-bar avatar/name trigger ("green circle" in the screenshot) is
     hidden here to stop it fighting the header for space/height.
     publish-shortcut is hidden in the 1023px breakpoint above — the
     mobile menu has its own "＋ 发布内容" CTA, no size override needed here. */
  .site-header .header-inner{flex-wrap:nowrap;gap:10px;}
  .header-actions{gap:6px;flex-wrap:nowrap;}
  .header-actions .hy-account{display:none;}
  .menu-button{width:42px;height:42px;}

  .hero{min-height:0;padding:150px 0 var(--space-6);}
  .hero-photo img{object-position:50% 30%;}
  .hero-photo::after{
    background:linear-gradient(180deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.55) 46%,
      #fff 62%, #fff 100%);
  }
  .hero-credit{right:16px;bottom:auto;top:14px;}
  .hero-source{display:none;}
  .hero h1{font-size:22px;}
  .hero .sub{font-size:13px;}
  .search-panel{flex-direction:column;padding:10px;gap:8px;max-width:none;}
  .search-panel .field{height:46px;padding:0 10px;flex:0 0 auto;}
  .search-panel .field.location{flex:0 0 auto;}
  .search-panel .btn{width:100%;}

  .category-grid{grid-template-columns:repeat(4,1fr);gap:10px;}
  .category-item{padding:14px 4px;border-radius:var(--radius-md);}
  .category-item .ico{width:44px;height:44px;border-radius:12px;}
  .category-item .ico .icon{width:22px;height:22px;}
  .category-item .name{font-size:12.5px;}
  .category-item .count{display:none;}

  .biz-grid{
    display:flex;overflow-x:auto;padding-bottom:6px;margin:0 calc(var(--container-pad) * -1);
    padding-left:var(--container-pad);padding-right:var(--container-pad);
    scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
  }
  .biz-grid::-webkit-scrollbar{display:none;}
  .biz-grid .biz-card{min-width:220px;flex:0 0 220px;scroll-snap-align:start;}
  .classified-grid{grid-template-columns:repeat(2,1fr);gap:10px;}
  .city-grid{grid-template-columns:repeat(3,1fr);gap:8px;}
  .city-chip{padding:12px 6px;font-size:12.5px;}

  section.block{padding:var(--space-6) 0;}
  .section-head .titles h2{font-size:18px;}

  .biz-list-card{flex-direction:column;}
  .biz-list-card .thumb{flex:none;width:100%;height:160px;}
  .biz-list-card .side{flex-direction:row;align-items:center;width:100%;padding-top:8px;border-top:1px solid var(--border);}

  .article-featured h3{font-size:18px;}
  .article-row .thumb{flex:0 0 100px;height:76px;}

  .biz-hero-top{flex-direction:column;}
  .biz-hero .logo-box{flex:0 0 76px;width:76px;height:76px;}
  .biz-hero h1{font-size:20px;}
  .biz-hero .cta-row{display:none;}
  .biz-tabs{top:var(--header-h-mobile);}
  .gallery{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;}
  .gallery .g-item:first-child{grid-column:1/3;grid-row:auto;min-height:180px;}
  .service-grid{grid-template-columns:1fr;}
  .sticky-cta-bar{display:flex;}
  body.has-sticky-cta{padding-bottom:70px;}

  .article-head h1{font-size:20px;}
  .prose{font-size:15px;}
  .prose h2{font-size:18px;}

  .site-footer{padding-block:24px;min-height:0;}
  .footer-inner{flex-direction:column;text-align:center;gap:14px;}
  .footer-nav{
    display:grid;grid-template-columns:1fr 1fr;justify-items:center;
    gap:12px 18px;width:100%;max-width:320px;
  }
  .footer-nav a{border-left:0;padding:0;}
}

@media (min-width:768px) and (max-width:1023px){
  .biz-list-card .side{flex-direction:row;align-items:center;width:auto;}

  .site-footer{min-height:0;padding-block:24px;}
  .footer-inner{flex-direction:column-reverse;gap:12px;}
  .footer-nav{justify-content:center;}
}

/* ==========================================================================
   hy-core adapter modules — styling for [huangye_latest_annonces] /
   [huangye_latest_questions] markup owned by wp-content/plugins/hy-core/
   modules/classifieds/ and modules/questions/ (built concurrently; those
   modules deliberately ship unstyled semantic class names and leave the
   visual design to this theme).
   ========================================================================== */
.hy-classifieds-empty,
.hy-questions-empty{
  text-align:center;padding:var(--space-8) var(--space-4);color:var(--text-muted);font-size:13.5px;
}
.hy-classifieds-empty a,
.hy-questions-empty a{color:var(--primary);font-weight:600;}

.hy-classifieds-list{
  display:grid;grid-template-columns:repeat(4,1fr);gap:var(--space-4);
  list-style:none;margin:0;padding:0;
}
.hy-classifieds-item{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden;
  transition:box-shadow .15s ease;
}
.hy-classifieds-item:hover{box-shadow:var(--shadow-sm);}
.hy-classifieds-item__link{display:flex;flex-direction:column;gap:6px;padding:12px;}
.hy-classifieds-item__thumb{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius-sm);margin-bottom:2px;}
.hy-classifieds-item__title{font-size:14px;font-weight:600;color:var(--text);line-height:1.5;}
.hy-classifieds-item__location{font-size:12px;color:var(--text-muted);}
.hy-classifieds-item__category{
  align-self:flex-start;font-size:12px;color:var(--primary);background:var(--primary-tint);
  padding:2px 9px;border-radius:var(--radius-pill);
}

.hy-questions-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;}
.hy-questions-item{border-bottom:1px solid var(--border);}
.hy-questions-item:last-child{border-bottom:none;}
.hy-questions-item__link{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 4px;color:inherit;
}
.hy-questions-item__title{font-size:15px;font-weight:600;color:var(--text);flex:1 1 260px;}
.hy-questions-item__category{font-size:12.5px;color:var(--text-secondary);background:var(--background);border:1px solid var(--border);padding:3px 10px;border-radius:var(--radius-pill);}
.hy-questions-item__status{font-size:12px;font-weight:600;padding:2px 9px;border-radius:var(--radius-pill);background:var(--info-tint);color:var(--info);}
.hy-questions-item--solved .hy-questions-item__status{background:var(--success-tint);color:var(--success);}
.hy-questions-item--awaiting .hy-questions-item__status{background:var(--warning-tint);color:var(--warning);}
.hy-questions-item__answers{font-size:12.5px;color:var(--text-muted);}
.hy-questions-item__date{font-size:12px;color:var(--text-muted);}

@media (max-width:1023px){
  .hy-classifieds-list{grid-template-columns:repeat(2,1fr);}
}

/* ==========================================================================
   Vantage color-scheme override
   Vantage's own skin system ships rules like ".theme-aqua a { color: ... }"
   (class+element specificity) that otherwise beat this file's plain
   "a { color: inherit }" reset regardless of stylesheet load order. Scoping
   the reset to .huangye-v2-home (same specificity, loaded later — this
   stylesheet is enqueued after Vantage's) restores the intended card/link
   colors on the Huangye V2 homepage without touching Vantage's skin CSS.
   ========================================================================== */
.huangye-v2-home a,
.huangye-v2-archive a,
.site-header a,
.site-footer a{color:inherit;}

/* ==========================================================================
   Huangye V2 — business category / search archive (archive-listing.php)
   View-only re-skin: all data still comes from the real WP_Query loop,
   the real va_listing_item_head/va_listing_item_meta hooks (favorites,
   featured badge, title, address, phone, categories) and the real
   "Refine Results" widget (dynamic_sidebar('va-archive-listing-sidebar')).
   No rating/review/certification/Premium markup exists here — the data
   does not exist in this WordPress install.
   ========================================================================== */

.huangye-v2-archive{padding-top:var(--space-6);}

/* Reset the hooked <h4 class="entry-title">, .featured-label and
   .fave-button (real Vantage output) into the prototype's inline name-row. */
.huangye-v2-archive .name-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;position:relative;padding-right:28px;}
.huangye-v2-archive .name-row .entry-title{margin:0;font-size:16.5px;font-weight:700;order:1;}
.huangye-v2-archive .name-row .entry-title a{color:var(--text);}
.huangye-v2-archive .name-row .featured-label{
  order:2;font-size:11px;font-weight:600;padding:2px 9px;border-radius:var(--radius-pill);
  background:var(--warning-tint);color:var(--warning);
}
.huangye-v2-archive .name-row .fave-button{
  order:3;position:absolute;top:0;right:0;display:flex;align-items:center;justify-content:center;
  width:22px;height:22px;color:var(--text-muted);
}
.huangye-v2-archive .name-row .fave-button .fave-text{display:none;}

/* Reset the hooked <li> meta (address/phone/categories) into a meta row. */
.huangye-v2-archive .meta-row{
  list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;
  gap:0;font-size:12.5px;color:var(--text-muted);
}
.huangye-v2-archive .meta-row li{display:flex;align-items:center;gap:4px;}
.huangye-v2-archive .meta-row li:not(:last-child)::after{content:"·";margin:0 8px;color:var(--border-strong);}
.huangye-v2-archive .meta-row .listing-parent-category{color:var(--primary);}
.huangye-v2-archive .meta-row .listing-parent-category a{color:inherit;}
.huangye-v2-archive .meta-row .listing-categories{display:flex;flex-wrap:wrap;gap:8px;}

.huangye-v2-archive .biz-list-card .desc{
  font-size:13.5px;color:var(--text-secondary);line-height:1.65;margin-top:4px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.huangye-v2-archive .biz-list-card .tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px;}

/* Real "Refine Results" widget (va_widget_listing_refine_search), restyled
   in place — dynamic_sidebar()/wp_terms_checklist() output is unchanged. */
.huangye-v2-archive .filter-sidebar .widget-title{font-size:13.5px;margin-bottom:12px;color:var(--text);}
.huangye-v2-archive .filter-sidebar .refine-categories-list-wrap ul{list-style:none;margin:0;padding:0;}
.huangye-v2-archive .filter-sidebar .refine-categories-list-wrap ul.children{padding-left:18px;}
.huangye-v2-archive .filter-sidebar .refine-categories-list-wrap li{margin:0 0 9px;}
.huangye-v2-archive .filter-sidebar .refine-categories-list-wrap label{
  display:flex;align-items:center;gap:9px;font-size:13.5px;color:var(--text-secondary);cursor:pointer;
}
.huangye-v2-archive .filter-sidebar .refine-categories-list-wrap input[type="checkbox"]{width:16px;height:16px;accent-color:var(--primary);flex:none;}
.huangye-v2-archive .filter-sidebar .search-sidebar-form input[type="submit"]{
  width:100%;margin-top:var(--space-4);height:38px;border-radius:var(--radius-sm);border:none;
  background:var(--primary);color:#fff;font-size:13.5px;font-weight:600;cursor:pointer;
}
.huangye-v2-archive .filter-sidebar .search-sidebar-form input[type="submit"]:hover{background:var(--primary-strong,var(--primary));}

@media (max-width:1023px){
  .huangye-v2-archive .layout-2col{grid-template-columns:1fr;}
}

/* ==========================================================================
   Huangye V2 — single business page (content-listing-single.php)
   View-only re-skin: the body is still the real dynamic_sidebar() widget
   areas (va-single-listing-main-content-sidebar / va-single-listing-sidebar)
   — description, real photo gallery, real contact info, real listing-owner
   widget, real Claim/Upgrade/Favorite/Edit hooks. No rating/review stars,
   no verified/Premium badge, no business-hours table — none of that data
   exists on this install's listing post type.
   ========================================================================== */

.huangye-v2-single a{color:inherit;}

.huangye-v2-single .entry-header .entry-title{margin:0 0 6px;font-size:24px;}
.huangye-v2-single .entry-header .entry-categories{font-size:14px;color:var(--text-secondary);margin-bottom:8px;}
.huangye-v2-single .entry-header .entry-categories a{color:var(--primary);}
.huangye-v2-single .entry-header .entry-categories a:not(:last-child)::after{content:" · ";color:var(--text-muted);}

/* Real Claim / Upgrade / Submit-review links (va_listing_single_head_actions). */
.huangye-v2-single .entry-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:var(--space-3);}
.huangye-v2-single .entry-actions:empty{display:none;}
.huangye-v2-single .entry-actions a{
  display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border-radius:var(--radius-sm);
  font-size:13px;font-weight:600;background:var(--primary-tint);color:var(--primary);
}

/* Real Favorite / Edit-listing / star-ratings hooks. */
.huangye-v2-single .entry-bar-actions{display:flex;align-items:center;gap:12px;margin-top:var(--space-3);color:var(--text-muted);font-size:13px;}
.huangye-v2-single .entry-bar-actions:empty{display:none;}
.huangye-v2-single .entry-bar-actions .listing-edit-link{
  display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;
  border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-secondary);
}

.huangye-v2-single .biz-main .widget-listing{
  margin-bottom:var(--space-7);padding-bottom:var(--space-7);border-bottom:1px solid var(--border);
}
.huangye-v2-single .biz-main .widget-listing:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0;}
.huangye-v2-single .biz-main .widget-title-listing{font-size:18px;margin-bottom:14px;}
.huangye-v2-single .biz-main .entry-content{font-size:14.5px;line-height:1.85;color:var(--text-secondary);}
.huangye-v2-single .biz-main .post-tags{margin-top:var(--space-4);display:flex;flex-wrap:wrap;gap:6px;align-items:center;}
.huangye-v2-single .biz-main .post-tags .label{
  font-size:12px;padding:3px 10px;border-radius:var(--radius-pill);background:var(--background);
  border:1px solid var(--border);color:var(--text-secondary);
}

/* Real photo gallery (va_widget_listing_reveal_gallery — parts/widget-listing-reveal-gallery.php). */
.huangye-v2-single .listing-photo-grid{width:100%;border-collapse:separate;border-spacing:8px;table-layout:fixed;}
.huangye-v2-single .listing-photo-grid-main{width:60%;}
.huangye-v2-single .listing-photo-grid-main img{width:100%;height:280px;object-fit:cover;border-radius:var(--radius-md);display:block;}
.huangye-v2-single .listing-photo-grid-sub{vertical-align:top;}
.huangye-v2-single .listing-photo-grid-sub a{display:block;margin-bottom:8px;position:relative;}
.huangye-v2-single .listing-photo-grid-sub img{width:100%;height:132px;object-fit:cover;border-radius:var(--radius-md);display:block;}
.huangye-v2-single .listing-photo-grid-more{
  height:132px;border-radius:var(--radius-md);background:var(--background);color:var(--text-secondary);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:12.5px;cursor:pointer;
}
@media (max-width:640px){
  .huangye-v2-single .listing-photo-grid,.huangye-v2-single .listing-photo-grid tr,.huangye-v2-single .listing-photo-grid td{display:block;width:100%;}
  .huangye-v2-single .listing-photo-grid-main img{height:200px;}
}

.huangye-v2-single .biz-side aside.widget{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);
  padding:var(--space-5);margin-bottom:var(--space-5);
}
.huangye-v2-single .biz-side aside.widget .widget-title{font-size:15px;margin-bottom:14px;}

/* Real contact/map widget (parts/widget-listing-map.php). */
.huangye-v2-single .entry-location ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;}
.huangye-v2-single .entry-location li{display:flex;align-items:flex-start;gap:9px;font-size:13.5px;color:var(--text-secondary);}
.huangye-v2-single .entry-location li .icon,.huangye-v2-single .entry-location li i{flex:none;width:16px;color:var(--text-muted);}
.huangye-v2-single .social-icons{list-style:none;margin:12px 0 0;padding:0;display:flex;gap:10px;}
.huangye-v2-single .social-icons a{
  display:flex;align-items:center;justify-content:center;width:32px;height:32px;
  border:1px solid var(--border);border-radius:50%;color:var(--text-secondary);
}

/* Real listing-owner widget (parts/widget-listing-author.php). */
.huangye-v2-single .listing-owner{text-align:center;}
.huangye-v2-single .listing-owner-avatar img{border-radius:50%;margin:0 auto 12px;}
.huangye-v2-single .listing-owner-name{font-size:15px;margin-bottom:4px;}
.huangye-v2-single .listing-owner-headline{font-size:12.5px;color:var(--text-muted);}
.huangye-v2-single .listing-owner-bio{font-size:13px;color:var(--text-secondary);margin-top:10px;text-align:left;}
.huangye-v2-single .listing-owner-contact{margin-top:14px;}

@media (max-width:1023px){
  .huangye-v2-single .biz-body{grid-template-columns:1fr;}
}
@media (max-width:640px){
  .huangye-v2-single .biz-hero-top{flex-direction:column;}
  .huangye-v2-single .logo-box{width:76px;height:76px;flex:0 0 76px;}
}

/* ==========================================================================
   Huangye V2 — Login / Register / Forgot password
   View-only re-skin of the real theme-framework/templates/foundation/
   form-*.php forms (untouched: same #login-form, field names log/pwd/
   rememberme/testcookie, user_login/user_email/pass1/pass2, nonces,
   redirect handling) and the real appthemes_notices() error/success box.
   ========================================================================== */

.huangye-v2-auth{padding:var(--space-8) 0;min-height:60vh;display:flex;align-items:center;}
.huangye-v2-auth .container{max-width:440px;}
.huangye-v2-auth .auth-card{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);
  padding:var(--space-7) var(--space-6);box-shadow:var(--shadow-sm);
}
.huangye-v2-auth .auth-logo{justify-content:center;margin-bottom:var(--space-5);}
.huangye-v2-auth .auth-title{font-size:20px;margin-bottom:var(--space-5);color:var(--text);}
.huangye-v2-auth .entry-content > p:first-child{font-size:13.5px;color:var(--text-secondary);margin-bottom:var(--space-4);text-align:center;}

.huangye-v2-auth .notice{
  font-size:13px;padding:10px 14px;border-radius:var(--radius-sm);margin-bottom:var(--space-4);
  background:var(--danger-tint,#FDECEC);color:var(--danger,#C0392B);
}
.huangye-v2-auth .notice.success,.huangye-v2-auth .notice.updated{background:var(--success-tint);color:var(--success);}

.huangye-v2-auth #login-form fieldset{border:none;padding:0;margin:0;display:flex;flex-direction:column;gap:var(--space-4);}
.huangye-v2-auth #login-form label{display:block;font-size:13px;font-weight:600;color:var(--text);}
.huangye-v2-auth #login-form input[type="text"],
.huangye-v2-auth #login-form input[type="email"],
.huangye-v2-auth #login-form input[type="password"]{
  display:block;width:100%;height:42px;margin-top:6px;padding:0 12px;
  border:1px solid var(--border);border-radius:var(--radius-sm);font-size:14px;color:var(--text);background:var(--background);
}
.huangye-v2-auth #login-form input[type="text"]:focus,
.huangye-v2-auth #login-form input[type="email"]:focus,
.huangye-v2-auth #login-form input[type="password"]:focus{outline:none;border-color:var(--primary);}
.huangye-v2-auth #login-form input[type="checkbox"]{width:16px;height:16px;accent-color:var(--primary);vertical-align:middle;margin-right:6px;}
.huangye-v2-auth #login-form label[for="rememberme"]{display:inline;font-weight:400;color:var(--text-secondary);font-size:13px;}
.huangye-v2-auth #login-form input.button.expanded,
.huangye-v2-auth #login-form input[type="submit"]{
  width:100%;height:44px;border:none;border-radius:var(--radius-sm);background:var(--primary);color:#fff;
  font-size:14.5px;font-weight:600;cursor:pointer;
}
.huangye-v2-auth #login-form input.button.expanded:hover,
.huangye-v2-auth #login-form input[type="submit"]:hover{background:var(--primary-strong,var(--primary));}
.huangye-v2-auth #login-form #nav{margin-top:var(--space-2);font-size:13px;color:var(--text-muted);}
.huangye-v2-auth #login-form #nav a{color:var(--primary);}

/* ==========================================================================
   Huangye V2 — user Dashboard / My Listings (dashboard-setup.php,
   parts/dashboard-listings.php). View-only re-skin: same WP_Query
   (va_get_dashboard_listings_args), same va_count_user_listings() counts,
   same Edit/Renew/Delete real action links and the real AJAX delete
   (a.listing-delete-link -> $(this).closest('tr') in theme-scripts.js) —
   the <table>/<tr>/<td> DOM is kept exactly, only "card-ized" with CSS so
   the JS's closest('tr') selector keeps working unchanged.
   ========================================================================== */

.huangye-v2-dashboard{padding:var(--space-6) 0 var(--space-8);}
.huangye-v2-dashboard a{color:inherit;}

.huangye-v2-dashboard .filter-sidebar .widget-title{font-size:13.5px;margin-bottom:14px;color:var(--text);}
.huangye-v2-dashboard .stat-section{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;}
.huangye-v2-dashboard .stat-section li{
  display:flex;justify-content:space-between;align-items:center;font-size:13.5px;
  color:var(--text-secondary);padding-bottom:10px;border-bottom:1px solid var(--border);
}
.huangye-v2-dashboard .stat-section li:last-child{border:none;padding-bottom:0;}
.huangye-v2-dashboard .stat-value{
  font-size:12.5px;font-weight:700;padding:2px 10px;border-radius:var(--radius-pill);
  background:var(--primary-tint);color:var(--primary);
}

.huangye-v2-dashboard #main > .widget-title{font-size:19px;margin-bottom:var(--space-4);}
.huangye-v2-dashboard .callout.warning{
  background:var(--warning-tint);color:var(--warning);border-radius:var(--radius-sm);
  padding:12px 16px;font-size:13.5px;margin-bottom:var(--space-4);
}
.huangye-v2-dashboard .callout.warning a{text-decoration:underline;}

/* Card-ized real dashboard listings table. */
.hy-v2-dashboard-listings table{width:100%;border-collapse:separate;border-spacing:0 10px;}
.hy-v2-dashboard-listings thead{
  position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;
}
.hy-v2-dashboard-listings tbody tr{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:14px 16px;
}
.hy-v2-dashboard-listings tbody tr:hover{border-color:var(--border-strong);}
.hy-v2-dashboard-listings td{padding:0;border:none;font-size:13.5px;color:var(--text-secondary);}
.hy-v2-dashboard-listings td.listing_title{flex:1 1 220px;min-width:0;font-size:14.5px;font-weight:600;color:var(--text);}
.hy-v2-dashboard-listings td.listing_title a{color:var(--text);}
.hy-v2-dashboard-listings td.listed,
.hy-v2-dashboard-listings td.expires{flex:0 0 auto;font-size:12.5px;color:var(--text-muted);}
.hy-v2-dashboard-listings td.actions{flex:0 0 auto;margin-left:auto;}

.hy-v2-dashboard-listings .label{
  display:inline-block;margin-left:8px;font-size:11px;font-weight:600;padding:2px 9px;
  border-radius:var(--radius-pill);background:var(--background);color:var(--text-secondary);vertical-align:middle;
}
.hy-v2-dashboard-listings .label-publish{background:var(--success-tint);color:var(--success);}
.hy-v2-dashboard-listings .label-pending,
.hy-v2-dashboard-listings .label-pending-claimed{background:var(--warning-tint);color:var(--warning);}
.hy-v2-dashboard-listings .label-expired{background:var(--danger-tint,#FDECEC);color:var(--danger,#C0392B);}
.hy-v2-dashboard-listings .label-draft{background:var(--background);color:var(--text-muted);}

.hy-v2-dashboard-listings ul.dashboard-actions{list-style:none;margin:0;padding:0;display:flex;gap:6px;}
.hy-v2-dashboard-listings ul.dashboard-actions .btn{
  display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;
  border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text-secondary);
}
.hy-v2-dashboard-listings ul.dashboard-actions .btn:hover{border-color:var(--primary);color:var(--primary);}

@media (max-width:1023px){
  .huangye-v2-dashboard .layout-2col{grid-template-columns:1fr;}
}
@media (max-width:640px){
  .hy-v2-dashboard-listings td.actions{margin-left:0;width:100%;}
}

/* ==========================================================================
   Huangye V2 — single listing map (Leaflet + OpenStreetMap).
   Real geo_lat/geo_lng only; see parts/widget-listing-map.php and
   assets/huangye-v2/js/listing-map.js.
   ========================================================================== */
.hy-v2-map{
  height:220px;border-radius:var(--radius-md);border:1px solid var(--border);
  background:var(--background); /* visible while Leaflet's own tiles are still loading */
}
.hy-v2-map .leaflet-popup-content{font-size:13px;line-height:1.6;margin:10px 12px;}
.hy-v2-map .leaflet-popup-content strong{font-size:13.5px;color:var(--text);}

/* ==========================================================================
   Huangye V2 — dense portal homepage (front-page.php)
   Reuses the same design tokens/.btn/.section-head/.tab-nav/.badge/
   .empty-state as the rest of V2, but noticeably tighter spacing than the
   rest of the site — this homepage is modeled on a dense classifieds-portal
   reference (58同城-style), not the airier card-grid look used elsewhere.
   All overrides are scoped to .huangye-v2-home-portal so no other page's
   .block/.section-head spacing is touched.
   ========================================================================== */
.badge-warning{background:var(--warning-tint);color:var(--warning);}

/* 10 强调色，用于分类/工具/快捷入口图标 —— 参考图里每个图标颜色都不一样 */
.ico.c-red,.cat-item-portal.c-red .ico{background:var(--primary-tint);color:var(--primary);}
.ico.c-blue,.cat-item-portal.c-blue .ico{background:#E9F1FD;color:#2C6ECB;}
.ico.c-green,.cat-item-portal.c-green .ico{background:#E7F6EE;color:#1E8E5A;}
.ico.c-orange,.cat-item-portal.c-orange .ico{background:#FDF3DC;color:#B8830A;}
.ico.c-purple,.cat-item-portal.c-purple .ico{background:#F1E9FB;color:#7C3AED;}
.ico.c-teal,.cat-item-portal.c-teal .ico{background:#E1F5F3;color:#0F9488;}
.ico.c-indigo,.cat-item-portal.c-indigo .ico{background:#E8EAFB;color:#4F46E5;}
.ico.c-pink,.cat-item-portal.c-pink .ico{background:#FCE7F3;color:#DB2777;}
.ico.c-slate,.cat-item-portal.c-slate .ico{background:#EEF1F4;color:#475569;}
.ico.c-cyan,.cat-item-portal.c-cyan .ico{background:#E0F7FA;color:#0891B2;}

.huangye-v2-home-portal section.block{padding:26px 0;}
.huangye-v2-home-portal section.block.tight{padding:20px 0;}
.huangye-v2-home-portal .section-head{margin-bottom:16px;}
.huangye-v2-home-portal .section-head .titles h2{font-size:18px;margin-bottom:0;}

/* ---- Hero (two column) ---- */
.hero-split{padding-block:22px 26px;background:var(--surface);border-bottom:1px solid var(--border);}
.hero-split-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;align-items:start;}
.hero-left h1{font-size:28px;line-height:1.3;letter-spacing:.2px;margin-bottom:8px;}
.hero-left h1 .hit{color:var(--primary);}
.hero-left .sub{font-size:13.5px;color:var(--text-secondary);margin-bottom:18px;}
.hero-left .search-panel{max-width:none;padding:6px;}
.hero-left .search-panel .field{height:44px;}
.hero-left .hot-searches{margin-top:12px;}

.hero-right{display:flex;flex-direction:column;gap:12px;}
.hero-photo-card{position:relative;border-radius:var(--radius-md);overflow:hidden;aspect-ratio:16/9;box-shadow:var(--shadow-sm);}
.hero-photo-card img{width:100%;height:100%;object-fit:cover;display:block;}
.hero-photo-card::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(0deg,rgba(15,15,20,.55) 0%,rgba(15,15,20,.05) 45%,rgba(15,15,20,0) 65%);
}
.hero-photo-quote{
  position:absolute;left:14px;bottom:12px;z-index:1;color:#fff;font-size:13.5px;font-weight:600;line-height:1.45;
  text-shadow:0 1px 4px rgba(0,0,0,.35);
}

.quick-find-card{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);
  box-shadow:var(--shadow-md);padding:14px 14px 4px;flex:1;
}
.quick-find-card h3{font-size:13.5px;margin-bottom:2px;}
.quick-find-card ul{display:flex;flex-direction:column;}
.quick-find-card li a{
  display:flex;align-items:center;gap:9px;padding:8px 2px;border-bottom:1px solid var(--border);color:var(--text);
}
.quick-find-card li:last-child a{border-bottom:none;}
.quick-find-card .ico{
  flex:none;width:26px;height:26px;border-radius:7px;
  display:flex;align-items:center;justify-content:center;
}
.quick-find-card .ico .icon{width:14px;height:14px;}
.quick-find-card .name{flex:1;font-size:13px;font-weight:500;}
.quick-find-card .chev{width:13px;height:13px;color:var(--text-muted);flex:none;}
.quick-find-card li a:hover .name{color:var(--primary);}

@media (max-width:900px){
  .hero-split-grid{grid-template-columns:1fr;}
  .hero-right{flex-direction:row;align-items:stretch;}
  .hero-photo-card{flex:1 1 55%;aspect-ratio:auto;}
  .quick-find-card{flex:1 1 45%;}
  .quick-find-card ul{height:100%;}
}
@media (max-width:640px){
  .hero-right{flex-direction:column;}
  .hero-left h1{font-size:22px;}
}

/* ---- 热门分类：10 格宫格 ---- */
.cat-grid-portal{display:grid;grid-template-columns:repeat(11,1fr);gap:4px;}
.cat-item-portal{
  display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;
  padding:10px 4px;border-radius:var(--radius-sm);
}
.cat-item-portal:hover{background:var(--background);}
.cat-item-portal .ico{
  width:38px;height:38px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
}
.cat-item-portal .ico .icon{width:19px;height:19px;}
.cat-item-portal .name{font-size:12.5px;font-weight:600;color:var(--text);white-space:nowrap;}
.cat-item-portal .count{font-size:10.5px;color:var(--text-muted);}
.cat-item-portal.more .ico{background:var(--background);color:var(--text-muted);}
@media (max-width:900px){ .cat-grid-portal{grid-template-columns:repeat(5,1fr);row-gap:10px;} }
@media (max-width:480px){ .cat-grid-portal{grid-template-columns:repeat(3,1fr);} }

/* ---- 正在看 / 实用工具 两栏 ---- */
.two-col-portal{display:grid;grid-template-columns:1fr 320px;gap:24px;align-items:start;}
.two-col-portal .section-head{flex-wrap:wrap;}
.two-col-portal .tab-nav{flex:1 1 auto;}
.two-col-portal .tab-nav button{height:28px;padding:0 10px;font-size:12.5px;}
@media (max-width:900px){ .two-col-portal{grid-template-columns:1fr;} }

.feed-list{display:flex;flex-direction:column;}
.feed-item{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--border);color:var(--text);}
.feed-item:last-child{border-bottom:none;}
.feed-item .thumb{
  flex:none;width:68px;height:52px;border-radius:var(--radius-sm);overflow:hidden;background:var(--background);
  display:flex;align-items:center;justify-content:center;color:var(--text-muted);
}
.feed-item .thumb .icon{width:20px;height:20px;}
.feed-item .main{flex:1;min-width:0;}
.feed-item .row-top{display:flex;align-items:baseline;gap:7px;}
.feed-item .row-top h4{
  font-size:13.5px;font-weight:600;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.feed-item .tag{
  flex:none;font-size:10.5px;font-weight:600;padding:1px 7px;border-radius:var(--radius-pill);
  background:var(--background);color:var(--text-secondary);
}
.feed-item .tag-business{background:var(--primary-tint);color:var(--primary);}
.feed-item .tag-classifieds{background:var(--warning-tint);color:var(--warning);}
.feed-item .tag-qa{background:var(--info-tint);color:var(--info);}
.feed-item .tag-articles{background:var(--success-tint);color:var(--success);}
.feed-item .meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px;font-size:12px;color:var(--text-muted);}
.feed-item .meta .excerpt{flex-basis:100%;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

.tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.tool-item{
  display:flex;align-items:center;gap:9px;padding:10px;border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text);
}
.tool-item:hover{border-color:var(--primary-tint-strong);background:var(--primary-tint);}
.tool-item .ico{
  flex:none;width:30px;height:30px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;
}
.tool-item .ico .icon{width:15px;height:15px;}
.tool-item .text{display:flex;flex-direction:column;min-width:0;}
.tool-item .name{font-size:12.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.tool-item .sub{font-size:10.5px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
@media (max-width:420px){ .tool-grid{grid-template-columns:1fr;} }

/* ---- 华人常用商家（城市 Tab + 卡片） ---- */
.biz-grid-portal{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;}
.biz-card-portal{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden;
  display:flex;flex-direction:column;box-shadow:var(--shadow-xs);
}
.biz-card-portal .thumb{display:block;aspect-ratio:4/3;background:var(--background);color:var(--text-muted);}
.biz-card-portal .thumb .icon{width:22px;height:22px;}
.biz-card-portal .thumb:not(:has(img)){display:flex;align-items:center;justify-content:center;}
.biz-card-portal .body{padding:10px;display:flex;flex-direction:column;gap:6px;flex:1;}
.biz-card-portal .name{font-size:13.5px;font-weight:700;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.biz-card-portal .meta{display:flex;flex-wrap:wrap;gap:6px;font-size:11.5px;color:var(--text-muted);overflow:hidden;}
.biz-card-portal .meta span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;}
.biz-card-portal .meta span:not(:last-child)::after{content:"·";margin-left:6px;color:var(--border-strong);}
.biz-card-portal .actions{display:flex;gap:6px;margin-top:auto;padding-top:4px;}
.biz-card-portal .actions .btn{flex:1;justify-content:center;height:30px;font-size:12px;padding:0 6px;}
@media (max-width:1024px){ .biz-grid-portal{grid-template-columns:repeat(3,1fr);} }
@media (max-width:560px){ .biz-grid-portal{grid-template-columns:repeat(2,1fr);gap:8px;} }

/* ---- 分类信息 / 大家都在问 / 提问 CTA 三栏 ---- */
.three-col-portal{display:grid;grid-template-columns:1.2fr 1fr .8fr;gap:20px;align-items:start;}
@media (max-width:1000px){ .three-col-portal{grid-template-columns:1fr 1fr;} .col-cta{grid-column:1 / -1;} }
@media (max-width:640px){ .three-col-portal{grid-template-columns:1fr;} .col-cta{grid-column:auto;} }

.col-classifieds .section-head{flex-wrap:wrap;}
.col-classifieds .tab-nav button{height:26px;padding:0 9px;font-size:12px;}
.classifieds-list{display:flex;flex-direction:column;}
.classifieds-row{
  display:flex;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid var(--border);color:var(--text);
}
.classifieds-row:last-child{border-bottom:none;}
.classifieds-row .title{flex:1;min-width:0;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.classifieds-row .loc{flex:none;font-size:11.5px;color:var(--text-muted);}
.classifieds-row .tag{
  flex:none;font-size:10.5px;padding:1px 7px;border-radius:var(--radius-pill);background:var(--warning-tint);color:var(--warning);
}
.classifieds-row:hover .title{color:var(--primary);}

.qa-list-portal{display:flex;flex-direction:column;}
.qa-row{display:flex;flex-direction:column;gap:5px;padding:9px 0;border-bottom:1px solid var(--border);color:var(--text);}
.qa-row:last-child{border-bottom:none;}
.qa-row .q{font-size:13px;font-weight:600;line-height:1.45;}
.qa-row:hover .q{color:var(--primary);}
.qa-row .meta{display:flex;align-items:center;gap:7px;font-size:11.5px;color:var(--text-muted);}

.ask-cta-card{
  background:var(--primary-tint);border:1px solid var(--primary-tint-strong);border-radius:var(--radius-md);
  padding:20px 16px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;
  height:100%;justify-content:center;
}
.ask-cta-card .icon.big{width:32px;height:32px;color:var(--primary);}
.ask-cta-card h3{font-size:14.5px;}
.ask-cta-card p{font-size:12px;color:var(--text-secondary);margin-bottom:4px;}

/* ---- 数据条：白底 + 彩色图标，跟参考图一致，不用深色反色条 ---- */
.stats-bar{background:var(--surface);padding-block:22px;border-top:1px solid var(--border);}
.stats-bar-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;align-items:center;}
.stats-bar .stat{display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center;position:relative;}
.stats-bar .stat:not(:last-child)::after{
  content:"";position:absolute;right:-8px;top:50%;transform:translateY(-50%);width:1px;height:32px;background:var(--border);
}
.stats-bar .stat .icon{width:22px;height:22px;color:var(--primary);margin-bottom:2px;}
.stats-bar .stat b{font-size:19px;font-weight:800;color:var(--text);}
.stats-bar .stat span{font-size:11.5px;color:var(--text-muted);}
.stats-bar .stat.brand{gap:2px;}
.stats-bar .stat.brand b{font-size:15px;color:var(--primary);}
.stats-bar .stat.brand span{max-width:16ch;}
@media (max-width:900px){
  .stats-bar-grid{grid-template-columns:repeat(3,1fr);row-gap:18px;}
  .stats-bar .stat:nth-child(3)::after{display:none;}
  .stats-bar .stat.brand{grid-column:1 / -1;}
  .stats-bar .stat.brand::after{display:none;}
}
@media (max-width:480px){ .stats-bar-grid{grid-template-columns:repeat(2,1fr);} .stats-bar .stat:nth-child(2n)::after{display:none;} }

/* ------------------------------------------------------------------
   已登录账户入口 — 头像 + 用户名 dropdown（Dashboard V3 /mon-compte/）
   ------------------------------------------------------------------ */
.hy-account{position:relative;display:flex;align-items:center;}
.hy-account-trigger{
  display:flex;align-items:center;gap:8px;
  padding:5px 10px 5px 6px;border-radius:999px;border:1px solid transparent;
  font-size:14px;font-weight:650;color:#172033;line-height:1;max-width:220px;
  transition:background-color .18s ease,border-color .18s ease;
}
.hy-account-trigger:hover{background:#eef4fb;border-color:var(--border);}
.hy-account-avatar{display:flex;flex-shrink:0;}
.hy-account-img{width:28px;height:28px;border-radius:50%;display:block;}
.hy-account-name{
  max-width:12ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.hy-account-caret{flex-shrink:0;color:var(--text-muted);transition:transform .18s ease;}
.hy-account.open .hy-account-caret{transform:rotate(180deg);}
.hy-account-menu{
  position:absolute;top:calc(100% + 8px);right:0;z-index:120;
  min-width:200px;padding:6px;background:#fff;
  border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-md,0 8px 24px rgba(16,24,40,.12));
}
.hy-account-menu[hidden]{display:none;}
.hy-account-menu a{
  display:flex;align-items:center;
  padding:10px 12px;border-radius:8px;
  font-size:14px;font-weight:600;color:var(--text);line-height:1.2;
}
.hy-account-menu a:hover{background:var(--primary-tint);color:var(--primary);}
.hy-account-logout{margin-top:4px;border-top:1px solid var(--border);border-radius:0 0 8px 8px;color:var(--accent,#EF3F48);}
.hy-account-logout:hover{background:var(--accent-tint,#FDECEC);color:var(--accent,#EF3F48);}
/* 移动端：只留头像圆点，名字隐藏，避免顶栏溢出 */
@media (max-width:1023px){
  .hy-account-trigger{padding:5px;}
  .hy-account-name{display:none;}
  .hy-account-caret{display:none;}
  .hy-account-menu{min-width:190px;}
}
/* 移动端抽屉：账户区域 —「我的账户」主入口 + 商家/分类信息子项 */
.mobile-account{margin-bottom:4px;}
.mobile-account-primary{display:flex;align-items:center;justify-content:space-between;}
.mobile-account-arrow{color:var(--text-muted);font-weight:400;}
.mobile-account-sub{display:grid;gap:0;padding-left:14px;}
.mobile-account-sub a{
  display:block;padding:10px 2px;border-bottom:1px solid #edf1f7;
  font-weight:500;font-size:13.5px;color:var(--text-secondary);
}
.mobile-account-sub a:hover{color:var(--primary);}

/* 移动端抽屉底部：低权重「账户设置 · 退出登录」文字操作 */
.mobile-menu-footer{
  display:flex;align-items:center;justify-content:center;gap:8px;margin-top:12px;
}
.mobile-menu-footer a{
  display:inline;padding:0;border-bottom:0;
  font-weight:500;font-size:13px;color:var(--text-muted);
}
.mobile-menu-footer a:hover{color:var(--primary);}
.mobile-menu-footer-sep{color:var(--border-strong);font-size:13px;}
