/* =========================================================
   ZKE HelpCenter CSS（运营友好全量版） + Theme Switch
   - 默认：PC = dark
   - 默认：移动端 <=520px = light
   - 点击切换：写入 localStorage 后两端都按用户选择
   - 使用 html[data-hc-theme="dark|light"]（避免和主题 data-theme 冲突）
   ========================================================= */

/* =========================================================
   Theme Tokens + Defaults
   ========================================================= */

/* ===== Default (PC) : DARK ===== */
:root{
  /* radius */
  --hc-radius: 16px;
  --hc-radius2: 12px;

  /* backgrounds */
  --hc-bg:#000;
  --hc-bg2:#0b0b0b;

  /* surfaces */
  --hc-card:rgba(255,255,255,.02);
  --hc-card-hover:rgba(255,255,255,.04);

  /* lines */
  --hc-line:rgba(255,255,255,.12);
  --hc-line2:rgba(255,255,255,.08);
  --hc-line3:rgba(255,255,255,.16);
  --hc-line4:rgba(255,255,255,.22);

  /* text */
  --hc-text:#fff;
  --hc-text2:rgba(255,255,255,.92);
  --hc-muted:rgba(255,255,255,.72);
  --hc-muted2:rgba(255,255,255,.68);
  --hc-muted3:rgba(255,255,255,.60);
  --hc-muted4:rgba(255,255,255,.55);
  --hc-muted5:rgba(255,255,255,.45);

  /* brand */
  --hc-accent:#f0c54a;   /* tabs 黄短条 */
  --hc-blue:#2b61ff;     /* search/hover 蓝 */
  --hc-link:#2662ff;
  --hc-link-hover:#1f4fe0;

  /* shadows */
  --hc-shadow: rgba(0,0,0,.55);

  /* table */
  --hc-table-bg:#292a30;
  --hc-table-line:rgba(255,255,255,.08);
}

/* ===== Default (Mobile <=520px) : LIGHT (only if NOT forced) ===== */
@media (max-width: 520px){
  :root{
    --hc-bg:#ffffff;
    --hc-bg2:#f6f7f9;

    --hc-card:#ffffff;
    --hc-card-hover:#f2f4f7;

    --hc-line:#e5e7eb;
    --hc-line2:#eef1f6;
    --hc-line3:#d9dee8;
    --hc-line4:#cfd6e4;

    --hc-text:#0f172a;
    --hc-text2:rgba(15,23,42,.88);
    --hc-muted:rgba(15,23,42,.64);
    --hc-muted2:rgba(15,23,42,.58);
    --hc-muted3:rgba(15,23,42,.52);
    --hc-muted4:rgba(15,23,42,.46);
    --hc-muted5:rgba(15,23,42,.38);

    --hc-accent:#f0c54a;
    --hc-blue:#2b61ff;
    --hc-link:#2662ff;
    --hc-link-hover:#1f4fe0;

    --hc-shadow: rgba(15,23,42,.12);

    --hc-table-bg:#ffffff;
    --hc-table-line:#e6e9f0;
  }
}

/* ===== Forced theme always wins (match JS data-hc-theme) ===== */
html[data-hc-theme="dark"]{
  --hc-bg:#000;
  --hc-bg2:#0b0b0b;

  --hc-card:rgba(255,255,255,.02);
  --hc-card-hover:rgba(255,255,255,.04);

  --hc-line:rgba(255,255,255,.12);
  --hc-line2:rgba(255,255,255,.08);
  --hc-line3:rgba(255,255,255,.16);
  --hc-line4:rgba(255,255,255,.22);

  --hc-text:#fff;
  --hc-text2:rgba(255,255,255,.92);
  --hc-muted:rgba(255,255,255,.72);
  --hc-muted2:rgba(255,255,255,.68);
  --hc-muted3:rgba(255,255,255,.60);
  --hc-muted4:rgba(255,255,255,.55);
  --hc-muted5:rgba(255,255,255,.45);

  --hc-shadow: rgba(0,0,0,.55);

  --hc-table-bg:#292a30;
  --hc-table-line:rgba(255,255,255,.08);
}

html[data-hc-theme="light"]{
  /* refined light (page #f5f5f7, cards #fff) */
  --hc-bg:#f5f5f7;
  --hc-bg2:#ffffff;

  --hc-card:#ffffff;
  --hc-card-hover:#f2f4f7;

  --hc-line:#e5e7eb;
  --hc-line2:#eef1f6;
  --hc-line3:#d9dee8;
  --hc-line4:#cfd6e4;

  --hc-text:#0f172a;
  --hc-text2:rgba(15,23,42,.88);
  --hc-muted:rgba(15,23,42,.64);
  --hc-muted2:rgba(15,23,42,.58);
  --hc-muted3:rgba(15,23,42,.52);
  --hc-muted4:rgba(15,23,42,.46);
  --hc-muted5:rgba(15,23,42,.38);

  --hc-shadow: rgba(15,23,42,.12);

  --hc-table-bg:#ffffff;
  --hc-table-line:#e6e9f0;
}

/* =========================================================
   Base
   ========================================================= */
.zke-hc{
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial;
  color:var(--hc-text);
  background:var(--hc-bg);
  min-height: 100vh;
}

.hc-wrap{
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 22px;
}

@media (max-width: 520px){
  .zke-hc.zke-hc-home .hc-lang-switch{ margin-right: 12px; }
}

/* =========================================================
   Hero
   ========================================================= */
.hc-hero{
  background:var(--hc-bg);
  border-bottom: 1px solid var(--hc-line2);
}
.hc-hero-inner{
  padding: 48px 0 34px;
  text-align:center;
}
.hc-hero-kicker{
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hc-muted3);
  margin-bottom: 10px;
}
.hc-title{
  margin: 0;
  font-size: 44px;
  line-height: 1.12;
  font-weight: 800;
}
.hc-sub{
  margin-top: 14px;
  color: var(--hc-muted);
  font-size: 14px;
}
.hc-lang-pill{
  margin-left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--hc-line3);
  font-size: 12px;
}

/* =========================================================
   Search
   ========================================================= */
.hc-search{
  position: relative;
  max-width: 560px;
  margin: 22px auto 0;
}
.hc-search-ico{
  position:absolute;
  left:14px;
  top:50%;
  transform: translateY(-50%);
  width:22px;
  height:22px;
  color: color-mix(in srgb, var(--hc-text) 80%, transparent);
  pointer-events:none;
}
.hc-search-input{
  width:100%;
  height:55px;
  padding:0 14px 0 46px;
  border-radius:6px;
  border:1px solid var(--hc-line3);
  background: color-mix(in srgb, var(--hc-text) 6%, transparent);
  color:var(--hc-text);
  outline:none;
  font-size:14px;
}
.hc-search-input::placeholder{
  color: var(--hc-muted4);
}
.zke-hc .hc-search-input:hover,
.zke-hc .hc-search-input:focus{
  border-color: var(--hc-blue);
  outline: none;
}
.hc-search-btn{ display:none!important; }

/* 搜索下拉 */
.hc-search-pop{
  position:absolute;
  left:0;
  right:0;
  top:58px;
  z-index:50;
  border-radius:14px;
  border:1px solid var(--hc-line);
  background:var(--hc-bg2);
  overflow:hidden;
  box-shadow:0 18px 50px var(--hc-shadow);
}
.hc-sr-item{
  padding:12px 14px;
  border-top:1px solid var(--hc-line2);
  text-decoration:none;
  color:var(--hc-text);
  display:block;
}
.hc-sr-item:first-child{ border-top:none; }
.hc-sr-item:hover{ background: var(--hc-card-hover); }
.hc-sr-title{ font-weight:600; }
.hc-sr-excerpt{
  margin-top:6px;
  font-size:12px;
  color: var(--hc-muted2);
}
.zke-hc .hc-sr-item:hover .hc-sr-title{ color: var(--hc-blue); }
.zke-hc .hc-sr-item:hover .hc-sr-excerpt{
  color: color-mix(in srgb, var(--hc-text) 78%, transparent);
}
.zke-hc .hc-sr-item.is-active .hc-sr-title{ color:var(--hc-blue); }

/* =========================================================
   Category Tabs（黄短条）
   ========================================================= */
.hc-tabs{
  display:flex;
  gap: 18px;
  align-items:center;
  overflow:auto;
  padding: 10px 0 12px;
  border-bottom:1px solid var(--hc-line);
  margin-bottom:16px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.hc-tabs::-webkit-scrollbar{ height:0; }
.hc-tab{
  position:relative;
  font-size: 16px;
  font-weight: 700;
  color: color-mix(in srgb, var(--hc-text) 60%, transparent);
  text-decoration:none;
  padding: 8px 2px;
  white-space:nowrap;
  scroll-snap-align: start;
}
.hc-tab:hover{ color: color-mix(in srgb, var(--hc-text) 90%, transparent); }
.hc-tab.active{ color:var(--hc-text); }
.hc-tab.active::after{
  content:"";
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom:-12px;
  width:26px;
  height:4px;
  border-radius:999px;
  background:var(--hc-accent);
}

/* =========================================================
   Simple List
   ========================================================= */
.hc-list--simple{ background:none; }
.hc-row{
  display:block;
  padding: 18px 0;
  border-bottom:1px solid var(--hc-line);
  color:var(--hc-text);
  text-decoration:none;
}
.hc-row:hover{ background: var(--hc-card); }
.hc-row-title{
  font-size: 20px;
  font-weight: 750;
  color: var(--hc-text2);
}
.hc-row-date{
  margin-top: 8px;
  font-size: 12px;
  color: var(--hc-muted5);
}

/* =========================================================
   Empty
   ========================================================= */
.hc-empty{
  border:1px dashed color-mix(in srgb, var(--hc-text) 22%, transparent);
  border-radius:16px;
  padding:16px;
  color: var(--hc-muted2);
}

/* =========================================================
   Home Grid Cards (4 per row)
   ========================================================= */
.hc-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1100px){
  .hc-grid{ grid-template-columns: repeat(2, 1fr); }
}
.hc-card{
  display:flex;
  gap: 14px;
  align-items:flex-start;
  padding: 18px 16px;
  border-radius: 12px;
  border: 1px solid var(--hc-line);
  background: var(--hc-card);
  text-decoration:none;
  color:var(--hc-text);
  min-height: 108px;
}
.hc-card:hover{
  border-color: color-mix(in srgb, var(--hc-text) 22%, transparent);
  background: var(--hc-card-hover);
}
.hc-card-ico{
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: var(--hc-card);
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--hc-text2);
  flex: 0 0 auto;
}
.hc-ico-svg{ width: 22px; height: 22px; display:block; }
.hc-card-body{ min-width: 0; }
.hc-card-title{
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
}
.hc-card-desc{
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--hc-muted2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hc-card-meta{
  margin-top: 10px;
  font-size: 12px;
  color: var(--hc-muted4);
}

/* =========================================================
   Topbar (Breadcrumb + Lang Switch + Theme Toggle)
   ========================================================= */
.hc-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

/* theme + lang container */
.hc-topbar-right{
  display:flex;
  align-items:center;
  gap:10px;
}

.hc-lang-switch{ position:relative; }

/* details dropdown */
.hc-lang-dd{ position:relative; }
.hc-lang-dd > summary{ list-style:none; cursor:pointer; }
.hc-lang-dd > summary::-webkit-details-marker{ display:none; }

.hc-lang-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid var(--hc-line3);
  background: color-mix(in srgb, var(--hc-text) 6%, transparent);
  color: var(--hc-text2);
  font-size: 12px;
  font-weight: 700;
  user-select:none;
}
.hc-lang-dd[open] .hc-lang-btn{
  border-color: color-mix(in srgb, var(--hc-text) 28%, transparent);
  background: color-mix(in srgb, var(--hc-text) 8%, transparent);
}
.hc-lang-menu{
  position:absolute;
  right:0;
  top: calc(100% + 10px);
  min-width: 190px;
  border-radius: 14px;
  border: 1px solid var(--hc-line);
  background:var(--hc-bg2);
  overflow:hidden;
  z-index: 60;
  box-shadow: 0 18px 50px var(--hc-shadow);
}
.hc-lang-item{
  display:block;
  padding: 12px 14px;
  text-decoration:none;
  color: var(--hc-text2);
  border-top: 1px solid var(--hc-line2);
  font-size: 13px;
}
.hc-lang-item:first-child{ border-top:none; }
.hc-lang-item:hover{ background: var(--hc-card-hover); }
.hc-lang-item.active{
  color:var(--hc-text);
  font-weight: 800;
}
.hc-lang-item.missing{ opacity:.55; }

/* breadcrumb stable + mobile scroll */
.hc-bc{
  min-width: 0;
  flex: 1 1 auto;
  color: var(--hc-muted);
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hc-bc::-webkit-scrollbar{ display:none; }
.hc-bc a{
  color: var(--hc-text2);
  text-decoration:none;
}
.hc-bc a:hover{ color:var(--hc-text); }
.hc-bc .sep{
  margin: 0 8px;
  color: var(--hc-muted5);
}
@media (max-width: 520px){
  .zke-hc .hc-bc{ padding: 8px 10px; }
  .hc-bc .sep{ margin: 0 6px; opacity:.6; }
}

/* theme toggle */
.hc-theme-toggle{
  width:36px;
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border: 1px solid var(--hc-line3);
  background: transparent;
  color: var(--hc-text2);
  cursor:pointer;
  padding:0;
}
.hc-theme-toggle:hover{
  background: color-mix(in srgb, var(--hc-text) 6%, transparent);
  border-color: color-mix(in srgb, var(--hc-text) 22%, transparent);
}
.hc-theme-toggle .hc-ico{
  width:18px;
  height:18px;
  display:none;
}

/* default icon when no data-hc-theme:
   PC default dark -> show sun
   Mobile default light -> show moon
*/
html:not([data-hc-theme]) #header_sun{ display:block; }
@media (max-width: 520px){
  html:not([data-hc-theme]) #header_sun{ display:none; }
  html:not([data-hc-theme]) #header_moon{ display:block; }
}

/* forced theme icons */
html[data-hc-theme="dark"] #header_sun{ display:block; }
html[data-hc-theme="dark"] #header_moon{ display:none; }
html[data-hc-theme="light"] #header_sun{ display:none; }
html[data-hc-theme="light"] #header_moon{ display:block; }

/* =========================================================
   2-column layout (PC)
   ========================================================= */
.hc-layout{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  margin-top: 10px;
}
.hc-side{
  position: sticky;
  top: 18px;
  align-self: start;
}
.hc-side-title{
  font-size: 12px;
  font-weight: 800;
  color: var(--hc-muted3);
  margin: 4px 0 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hc-side-list{ display:flex; flex-direction:column; gap: 10px; }

/* 一级：有外框卡片 */
.hc-side-node.hc-side-l1{
  border: 1px solid var(--hc-line2);
  border-radius: 6px;
  background: var(--hc-card);
  overflow:hidden;
}
/* details summary reset */
.hc-side-sum{
  cursor:pointer;
  padding: 10px 12px;
  list-style:none;
}
.hc-side-sum::-webkit-details-marker{ display:none; }
.hc-side-sum-txt{
  font-weight: 800;
  font-size: 13px;
  color: var(--hc-text2);
}
/* 一级展开内容区 */
.hc-side-children{
  padding: 6px 10px 12px;
  display:flex;
  flex-direction:column;
  gap: 6px;
}
/* 二级：纯列表行 */
.hc-side-l2-node{
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
.hc-side-sum--l2{ padding: 0; cursor: default; }
.hc-side-link{
  text-decoration:none;
  padding: 9px 10px;
  border-radius: 4px;
  color: var(--hc-muted2);
  font-size: 13px;
  min-height: 40px;
  display:flex;
  align-items:center;
}
.hc-side-link:hover{ background: var(--hc-card-hover); color:var(--hc-text); }
.hc-side-link.active{
  background: color-mix(in srgb, var(--hc-text) 8%, transparent);
  color:var(--hc-text);
  font-weight: 800;
}
/* 三级区域 */
.hc-side-children--l3{
  padding: 2px 0 2px 10px;
  margin-left: 10px;
  border-left: 1px solid var(--hc-line2);
}
.hc-side-children--l3 .hc-side-link{
  padding: 7px 10px;
  font-size: 12.5px;
  color: color-mix(in srgb, var(--hc-text) 60%, transparent);
  min-height: 36px;
}

/* =========================================================
   Pager: < 1 2 3 >
   ========================================================= */
.hc-pager{
  margin-top: 18px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 8px;
  user-select:none;
}
.hc-pager a,
.hc-pager span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--hc-line);
  background: var(--hc-card);
  color: var(--hc-text2);
  text-decoration:none;
  font-size: 12px;
  font-weight: 700;
}
.hc-pager a:hover{
  background: var(--hc-card-hover);
  border-color: color-mix(in srgb, var(--hc-text) 22%, transparent);
  color:var(--hc-text);
}
.hc-pager .current{
  background: var(--hc-text);
  color: var(--hc-bg);
  border-color: var(--hc-text);
}
.hc-pager .dots{
  border-color: transparent;
  background: transparent;
  min-width: 18px;
  padding: 0 6px;
  color: var(--hc-muted5);
}

/* =========================================================
   Article layout (content + right list)
   ========================================================= */
.hc-layout.hc-layout--article{
  grid-template-columns: 1fr 320px;
  gap: 22px;
  margin-top: 14px;
}
.hc-main.hc-main--article{ min-width: 0; }
.hc-aside.hc-aside--article{
  position: sticky;
  top: 18px;
  align-self: start;
  min-width: 0;
}
.hc-aside-card{
  border: 1px solid var(--hc-line2);
  border-radius: 6px;
  background: var(--hc-card);
  padding: 14px 12px;
}
.hc-aside-title{
  font-size: 12px;
  font-weight: 800;
  color: var(--hc-muted3);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 4px 2px 10px;
}
.hc-aside-empty{
  padding: 10px 2px;
  color: var(--hc-muted2);
  font-size: 13px;
}
.hc-aside-list{ display:flex; flex-direction:column; gap: 6px; }
.hc-aside-item{
  display:block;
  text-decoration:none;
  padding: 10px 10px;
  border-radius: 4px;
  color: var(--hc-muted2);
  border: 1px solid var(--hc-line2);
  background: var(--hc-card);
}
.hc-aside-item:hover{
  background: var(--hc-card-hover);
  border-color: var(--hc-line);
  color:var(--hc-text);
}
.hc-aside-item.active{
  background: color-mix(in srgb, var(--hc-text) 10%, transparent);
  border-color: color-mix(in srgb, var(--hc-text) 22%, transparent);
  color:var(--hc-text);
  font-weight: 800;
}
.hc-aside-item-title{
  font-size: 13px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
.hc-aside-more{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--hc-line2);
}
.hc-aside-more a{
  text-decoration:none;
  color: var(--hc-text2);
  font-size: 13px;
  font-weight: 800;
}
.hc-aside-more a:hover{ color:var(--hc-text); }

/* =========================================================
   Meta（Updated）样式
   ========================================================= */
.zke-hc .hc-meta{
  font-size: 12px;
  line-height: 1.4;
  color: color-mix(in srgb, var(--hc-text) 55%, transparent);
  margin: 8px 0 16px;
  opacity: 0.75;
}

/* =========================================================
   H1 标题样式
   ========================================================= */
.zke-hc .hc-h1{
  font-size: 24px;
  line-height: 1.35;
  font-weight: 600;
  margin: 0 0 16px;
}
@media (max-width: 768px){
  .zke-hc .hc-h1{
    font-size: 20px;
    line-height: 1.4;
  }
  .zke-hc .hc-article .has-small-font-size{
    font-size: 14px !important;
    line-height: 1.6;
  }
}

/* =========================================================
   Activity Cards Grid (hc-act-grid / hc-act-card) — tokenized
   ========================================================= */
.zke-hc .hc-act-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
@media (max-width: 1100px){
  .zke-hc .hc-act-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .zke-hc .hc-act-grid{ grid-template-columns: 1fr; }
}

.zke-hc a.hc-act-card{
  display:flex;
  flex-direction:column;
  border-radius: var(--hc-radius);
  border: 1px solid var(--hc-line);
  background: var(--hc-card);
  text-decoration:none;
  color: var(--hc-text);
  overflow:hidden;
  min-height: 320px;
}

/* hover only on real hover devices */
@media (hover:hover){
  .zke-hc a.hc-act-card:hover{
    border-color: var(--hc-line4);
    background: var(--hc-card-hover);
  }
}

.zke-hc .hc-act-media{
  position:relative;
  width:100%;
  height:160px;
  background: var(--hc-bg2);
}
.zke-hc .hc-act-img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.zke-hc .hc-act-img--empty{
  background: color-mix(in srgb, var(--hc-text) 4%, transparent);
}

/* badge */
.zke-hc .hc-act-badge{
  position:absolute;
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--hc-text) 22%, transparent);
  background: color-mix(in srgb, var(--hc-bg) 55%, transparent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--hc-text2);
  backdrop-filter: blur(6px);
}

.zke-hc .hc-act-badge.is-on{
  border-color: color-mix(in srgb, var(--hc-accent) 60%, transparent);
}
.zke-hc .hc-act-badge.is-coming{
  border-color: color-mix(in srgb, var(--hc-text) 22%, transparent);
}
.zke-hc .hc-act-badge.is-ended,
.zke-hc .hc-act-badge.is-tbd{
  opacity: .85;
  color: var(--hc-muted4);
}

.zke-hc .hc-act-body{
  padding: 14px 14px 16px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.zke-hc .hc-act-title{
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--hc-text2);
}
.zke-hc .hc-act-desc{
  font-size: 13px;
  line-height: 1.45;
  color: var(--hc-muted2);
  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
.zke-hc .hc-act-time{
  margin-top:auto;
  border-top: 1px solid var(--hc-line2);
  padding-top: 10px;
  display:flex;
  flex-direction:column;
  gap: 6px;
}
.zke-hc .hc-act-line{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--hc-muted2);
}
.zke-hc .hc-act-k{
  color: var(--hc-muted4);
  font-weight: 800;
  letter-spacing:.02em;
}
.zke-hc .hc-act-v{
  color: var(--hc-text2);
  font-weight: 700;
  text-align:right;
  white-space:nowrap;
}

/* =========================================================
   Mobile only（密度版）
   ========================================================= */
@media (max-width: 520px){

  .hc-wrap{ padding: 14px 12px; }

  .hc-hero-inner{ padding: 22px 0 14px; }
  .hc-hero-kicker{ font-size: 11px; margin-bottom: 6px; letter-spacing: .14em; }
  .hc-title{ font-size: 26px; line-height: 1.18; }
  .hc-sub{ font-size: 12px; line-height: 1.45; margin-top: 8px; }

  .hc-search{ max-width: 360px; margin: 12px auto 0; }
  .hc-search-input{
    height: 44px;
    border-radius: 4px;
    font-size: 13px;
    padding: 0 12px 0 42px;
  }
  .hc-search-ico{ left: 12px; width: 20px; height: 20px; opacity: .92; }

  .hc-search-pop{ top: 48px; border-radius: 12px; }
  .hc-sr-item{ padding: 10px 12px; }
  .hc-sr-title{ font-size: 13px; }
  .hc-sr-excerpt{ font-size: 11px; margin-top: 4px; line-height: 1.35; }

  .hc-topbar{ align-items:flex-start; gap: 10px; }
  .hc-bc{
    max-width: calc(100% - 120px);
    font-size: 12px;
    line-height: 1.35;
  }
  .hc-lang-menu{ min-width: 164px; }

  .hc-lang-btn{
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 11px;
    gap: 6px;
  }
  .hc-lang-item{ padding: 10px 12px; font-size: 12px; }

  .hc-theme-toggle{ width:32px; height:32px; }
  .hc-theme-toggle .hc-ico{ width:18px; height:18px; }

  .hc-tabs{ gap: 12px; padding: 8px 0 10px; margin-bottom: 10px; }
  .hc-tab{ font-size: 13px; padding: 7px 2px; }
  .hc-tab.active::after{ bottom: -10px; width: 22px; height: 3px; }

  .hc-row{ padding: 12px 0; }
  .hc-row-title{ font-size: 16px; line-height: 1.28; font-weight: 780; }
  .hc-row-date{ margin-top: 6px; font-size: 11px; }

  .hc-grid{ grid-template-columns: 1fr; }
  .hc-card{
    padding: 12px 12px;
    border-radius: 6px;
    gap: 12px;
    min-height: auto;
  }
  .hc-card-ico{ width: 38px; height: 38px; border-radius: 10px; }
  .hc-ico-svg{ width: 19px; height: 19px; }
  .hc-card-title{ font-size: 14px; }
  .hc-card-desc{ font-size: 12px; margin-top: 6px; }
  .hc-card-meta{ font-size: 11px; margin-top: 8px; }

  .hc-pager{ margin-top: 14px; gap: 6px; }
  .hc-pager a, .hc-pager span{
    height: 30px;
    min-width: 30px;
    border-radius: 9px;
    font-size: 11px;
    padding: 0 8px;
  }

  .hc-layout{ grid-template-columns: 1fr; }
  .hc-side{ display:none; }

  .hc-layout.hc-layout--article{ grid-template-columns: 1fr; }
  .hc-aside.hc-aside--article{ position: static; margin-top: 16px; }
  .hc-aside-card{ padding: 12px 12px; border-radius: 12px; }
  .hc-aside-title{ font-size: 11px; margin-bottom: 8px; }
  .hc-aside-item{ padding: 10px 10px; }
  .hc-aside-item-title{ font-size: 12.5px; }

  .zke-hc .hc-act-grid{ grid-template-columns: 1fr; }
  .zke-hc .hc-act-body{ padding: 12px 12px 10px; }
  .zke-hc .hc-act-title{ font-size: 14px; }
  .zke-hc .hc-act-desc{ font-size: 12px; margin-top: 6px; }
  .zke-hc .hc-act-badge{ font-size: 11px; padding: 5px 9px; }
}

/* =========================================================
   ZKE Announcement Patterns - Mobile Fix
   ========================================================= */
@media (max-width: 520px) {
  .zke-hc,
  .zke-hc .zke-hc-article,
  .zke-hc .entry-content,
  .zke-hc .wp-site-blocks { overflow-x: hidden; }

  .zke-hc figure.wp-block-table,
  .zke-hc .wp-block-table{
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .zke-hc figure.wp-block-table table,
  .zke-hc .wp-block-table table{
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    table-layout: fixed;
  }

  .zke-hc figure.wp-block-table td,
  .zke-hc figure.wp-block-table th,
  .zke-hc .wp-block-table td,
  .zke-hc .wp-block-table th{
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
    vertical-align: top;
  }

  .zke-hc .zke-ann-table table { min-width: 520px; }

  .zke-hc ul,
  .zke-hc ol{
    padding-left: 1.2em;
    margin-left: 0;
    font-size: 14px !important;
  }

  .zke-hc p{
    display: block;
    font-size: 14px !important;
  }
}

/* =========================================================
   Table Style (GLOBAL) — Scope: .zke-hc .hc-article
   ========================================================= */
.zke-hc .hc-article .wp-block-table,
.zke-hc .hc-article .zke-ann-table{
  margin: 14px 0;
}

.zke-hc .hc-article .wp-block-table table,
.zke-hc .hc-article .zke-ann-table table,
.zke-hc .hc-article figure.wp-block-table table{
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid var(--hc-table-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--hc-table-bg);
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
  transition: transform .18s ease, box-shadow .18s ease;
}

@media (hover:hover){
  .zke-hc .hc-article .wp-block-table table:hover,
  .zke-hc .hc-article .zke-ann-table table:hover,
  .zke-hc .hc-article figure.wp-block-table table:hover{
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(0,0,0,.28);
  }
}

.zke-hc .hc-article table td,
.zke-hc .hc-article table th{
  padding: 12px 12px;
  border-bottom: 1px solid var(--hc-table-line);
  vertical-align: top;
  font-size: 14px;
  line-height: 1.45;
  color: var(--hc-text2);
}

.zke-hc .hc-article table tr:last-child td,
.zke-hc .hc-article table tr:last-child th{
  border-bottom: none;
}

.zke-hc .hc-article table td:first-child,
.zke-hc .hc-article table th:first-child{
  width: 32%;
  min-width: 140px;
  color: var(--hc-text2);
  background: color-mix(in srgb, var(--hc-text) 2%, transparent);
  letter-spacing: .2px;
}

.zke-hc .hc-article table td:last-child{
  color: var(--hc-text2);
  font-weight: 500;
}

.zke-hc .hc-article figure.wp-block-table table{
  border-collapse: collapse !important;
  border-spacing: 0 !important;
}

.zke-hc .hc-article figure.wp-block-table td,
.zke-hc .hc-article figure.wp-block-table th{
  border-color: var(--hc-table-line) !important;
  outline-color: var(--hc-table-line) !important;
}

.zke-hc .hc-article figure.wp-block-table td + td,
.zke-hc .hc-article figure.wp-block-table th + th{
  border-left-color: var(--hc-table-line) !important;
  border-inline-start-color: var(--hc-table-line) !important;
}

@media (hover:hover){
  .zke-hc .hc-article table tbody tr{ transition: background-color .15s ease; }
  .zke-hc .hc-article table tbody tr:hover{
    background: color-mix(in srgb, var(--hc-text) 4%, transparent);
  }
  .zke-hc .hc-article table td,
  .zke-hc .hc-article table th{
    transition: background-color .15s ease, border-color .15s ease;
  }
  .zke-hc .hc-article table tbody tr:hover td,
  .zke-hc .hc-article table tbody tr:hover th{
    border-bottom-color: color-mix(in srgb, var(--hc-text) 14%, transparent);
  }
}

.zke-hc .hc-article table a{
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--hc-accent) 45%, transparent);
  transition: border-color .15s ease, opacity .15s ease;
}
@media (hover:hover){
  .zke-hc .hc-article table a:hover{
    border-bottom-color: color-mix(in srgb, var(--hc-accent) 85%, transparent);
    opacity: .95;
  }
}

@media (max-width: 520px){
  .zke-hc .hc-article table td,
  .zke-hc .hc-article table th{
    padding: 10px 10px;
    font-size: 13px;
  }
}

.zke-hc .hc-article .wp-block-table,
.zke-hc .hc-article figure.wp-block-table,
.zke-hc .hc-article .zke-ann-table{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 520px){
  .zke-hc figure.wp-block-table.zke-ann-table{ position: relative; }
  .zke-hc figure.wp-block-table.zke-ann-table:before,
  .zke-hc figure.wp-block-table.zke-ann-table:after{
    content:"";
    position:absolute;
    top:0; bottom:0;
    width:18px;
    pointer-events:none;
    opacity:.55;
  }
  .zke-hc figure.wp-block-table.zke-ann-table:before{
    left:0;
    background: linear-gradient(90deg, var(--hc-bg2), rgba(0,0,0,0));
  }
  .zke-hc figure.wp-block-table.zke-ann-table:after{
    right:0;
    background: linear-gradient(270deg, var(--hc-bg2), rgba(0,0,0,0));
  }
}

/* =========================================================
   Article main content -> Card (like your theme page)
   No template change needed
   ========================================================= */

/* PC / tablet */
.zke-hc .hc-main.hc-main--article{
  border: 1px solid var(--hc-line2);
  background: var(--hc-card);
  border-radius: 9px;
  padding: 22px 22px 18px;
}

/* 让标题/更新时间贴合卡片视觉 */
.zke-hc .hc-main.hc-main--article .hc-h1{
  margin-top: 2px;
}
.zke-hc .hc-main.hc-main--article .hc-meta{
  margin: 8px 0 16px;
}

/* 卡片里图片不要“贴边刺眼” */
.zke-hc .hc-main.hc-main--article .hc-article img{
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Mobile：不要太厚重（可按你喜好调） */
@media (max-width: 520px){
  .zke-hc .hc-main.hc-main--article{
    border-radius: 12px;
    padding: 14px 14px 12px;
    box-shadow: none; /* 你想保留也行 */
    border-color: var(--hc-line);
  }
}
