/* ===== Homepage Hero Upgrade (v18 - stats inside hero, gold accent) ===== */
.hero{display:none !important;}

.fz-hero-wrap{padding-top:18px; padding-bottom:8px; margin-top:8px;}
@media (min-width:901px){
  .fz-hero-wrap.container{ margin-top:28px !important; }
}
.fz-hero{
  position:relative;overflow:hidden;border-radius:24px;
  min-height:560px;background:#101512;color:#fff;isolation:isolate;
  box-shadow:0 30px 70px -36px rgba(0,0,0,.55);
  display:flex;flex-direction:column;
}
@media (min-width:901px){  .fz-hero{height:620px;min-height:620px;} }
@media (min-width:1280px){ .fz-hero{height:680px;min-height:680px;} }
@media (min-width:1600px){ .fz-hero{height:720px;min-height:720px;} }

.fz-hero-bg{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  object-position:right center;
  transform:scale(1.04);transition:transform 1.4s ease;z-index:0;
}
.fz-hero.loaded .fz-hero-bg{transform:scale(1);}
.fz-hero::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(180deg,rgba(0,0,0,0) 55%,rgba(0,0,0,.55) 100%),
    linear-gradient(100deg,rgba(8,14,10,.86) 0%,rgba(10,16,12,.65) 38%,rgba(10,16,12,.18) 68%,rgba(10,16,12,0) 95%);
}
.fz-hero-content{
  position:relative;z-index:2;max-width:680px;flex:1;
  padding:64px 64px 24px;display:flex;flex-direction:column;gap:18px;
}
.fz-hero-eyebrow{
  font-size:12.5px;letter-spacing:.32em;text-transform:uppercase;
  color:#d6a84a;font-weight:600;
}
.fz-hero-title{
  font-size:clamp(32px,4vw,58px);line-height:1.16;margin:0;
  font-weight:800;letter-spacing:-.5px;color:#fff;
  text-shadow:0 2px 28px rgba(0,0,0,.4);
}
.fz-hero-sub{
  font-size:clamp(13px,1vw,15.5px);line-height:1.8;margin:0;
  color:rgba(255,255,255,.78);max-width:520px;
}

/* search row */
.fz-hero-searchrow{
  margin-top:14px;display:flex;align-items:center;gap:22px;flex-wrap:wrap;
}
.fz-hero-search{
  display:flex;align-items:center;gap:8px;
  background:rgba(20,25,22,.55);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(214,168,74,.35);
  border-radius:999px;padding:6px 6px 6px 18px;
  width:min(520px,100%);
  box-shadow:0 14px 36px rgba(0,0,0,.35);
}
.fz-hero-search-ico{color:rgba(255,255,255,.55);display:flex;align-items:center;}
.fz-hero-search input{
  flex:1;border:0;outline:0;background:transparent;
  font-size:14.5px;color:#fff;padding:12px 6px;min-width:0;
}
.fz-hero-search input::placeholder{color:rgba(255,255,255,.5);}
.fz-hero-search button{
  border:0;cursor:pointer;color:#1a1410;font-weight:700;font-size:14px;
  padding:11px 26px;border-radius:999px;
  background:linear-gradient(135deg,#e9c071,#c8973a);
  box-shadow:0 6px 18px -6px rgba(201,151,58,.7);
  transition:transform .2s, box-shadow .2s;
}
.fz-hero-search button:hover{transform:translateY(-1px);box-shadow:0 10px 22px -8px rgba(201,151,58,.85);}
.fz-hero-hot{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:13px;color:rgba(255,255,255,.7);}
.fz-hero-hot-lbl{color:rgba(255,255,255,.78);font-weight:500;}
.fz-hero-hot a{color:#fff;text-decoration:none;transition:color .2s;}
.fz-hero-hot a:hover{color:#d6a84a;}

/* 亮点列表（填补搜索下方空白，不遮挡鹦鹉） */
.fz-hero-feats{
  list-style:none;padding:0;margin:14px 0 0;
  display:flex;flex-direction:column;gap:10px;
  max-width:380px;
}
.fz-hero-feats li{
  display:flex;align-items:center;gap:10px;
  font-size:13.5px;color:rgba(255,255,255,.82);
  padding:8px 14px;border-radius:999px;
  background:rgba(20,25,22,.42);
  border:1px solid rgba(214,168,74,.18);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  width:fit-content;
}
.fz-feat-dot{
  width:6px;height:6px;border-radius:50%;
  background:#d6a84a;flex:none;
  box-shadow:0 0 10px rgba(214,168,74,.6);
}

/* Hero stats — inside hero, translucent dark panel with gold icons */
.fz-hero-stats{
  position:relative;z-index:2;margin:0 !important;
  list-style:none !important;padding:22px 56px !important;
  display:grid !important;grid-template-columns:repeat(4,1fr) !important;gap:18px !important;
  background:linear-gradient(180deg,rgba(10,15,12,0) 0%,rgba(10,15,12,.55) 35%,rgba(10,15,12,.78) 100%) !important;
  border:0 !important;border-top:1px solid rgba(214,168,74,.18) !important;border-radius:0 !important;box-shadow:none !important;
}
.fz-hero-stats .fz-hs-item{
  display:flex !important;align-items:center !important;gap:16px !important;
  padding:8px 4px !important;
}
.fz-hero-stats .fz-hs-item + .fz-hs-item{
  border-left:1px solid rgba(255,255,255,.08) !important;padding-left:24px !important;
}
.fz-hero-stats .fz-hs-icon{
  width:48px !important;height:48px !important;border-radius:12px !important;
  display:flex !important;align-items:center !important;justify-content:center !important;
  background:rgba(214,168,74,.10) !important;color:#d6a84a !important;flex:none !important;
  border:1px solid rgba(214,168,74,.25) !important;
}
.fz-hero-stats .fz-hs-body{display:block !important;}
.fz-hero-stats .fz-hs-num{
  font-size:28px !important;font-weight:800 !important;color:#fff !important;line-height:1.1 !important;
  letter-spacing:.5px;
}
.fz-hero-stats .fz-hs-lbl{
  font-size:13px !important;color:rgba(255,255,255,.62) !important;margin-top:4px !important;
}

@media (max-width: 900px){
  /* 移动端：文案 → 短款搜索 → 鹦鹉 → 2x2 统计；高度适中，不遮挡鹦鹉 */
  .fz-hero-wrap{padding:10px 0 4px;}
  .fz-hero{min-height:520px;border-radius:16px;height:auto !important;}
  .fz-hero-bg{object-position:center 65%;}
  .fz-hero::after{
    background:
      linear-gradient(180deg,rgba(8,14,10,.78) 0%,rgba(8,14,10,.35) 28%,rgba(8,14,10,0) 50%),
      linear-gradient(0deg,rgba(10,15,12,.88) 0%,rgba(10,15,12,.45) 18%,rgba(10,15,12,0) 32%);
  }
  .fz-hero-content{padding:18px 16px 10px;max-width:100%;gap:8px;flex:0 0 auto;}
  .fz-hero-eyebrow{font-size:11px;letter-spacing:.22em;}
  .fz-hero-title{font-size:22px;line-height:1.28;}
  .fz-hero-sub{font-size:12.5px;line-height:1.6;-webkit-line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;}
  .fz-hero-searchrow{margin-top:6px;gap:10px;}
  .fz-hero-search{width:min(280px,70%);padding:3px 3px 3px 12px;}
  .fz-hero-search input{font-size:12.5px;padding:8px 4px;}
  .fz-hero-search button{padding:7px 14px;font-size:12.5px;}
  /* 热门搜索：填补搜索下方空白 */
  .fz-hero-hot{
    display:flex !important;font-size:12px;gap:10px 14px;
    max-width:min(320px,75%);
  }
  .fz-hero-hot-lbl{font-size:12px;}
  /* 移动端亮点列表：强制独占新行，并把可视内容压到左侧安全区，避开右侧鹦鹉 */
  .fz-hero-feats{
    flex:0 0 100%;width:100%;max-width:100%;
    margin:4px 0 0;gap:5px 6px;
    display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;
    padding-right:clamp(170px,48vw,390px);
    box-sizing:border-box;
  }
  .fz-hero-feats li{
    font-size:11px;padding:4px 8px;gap:6px;
    line-height:1.25;white-space:nowrap;
    background:rgba(20,25,22,.34);
  }
  .fz-feat-dot{width:5px;height:5px;}
  /* 统计板沉底，2x2 紧凑布局 */
  .fz-hero-stats{
    margin-top:auto !important;
    padding:14px 14px !important;
    grid-template-columns:repeat(2,1fr) !important;
    gap:10px 14px !important;
    background:linear-gradient(180deg,rgba(10,15,12,0) 0%,rgba(10,15,12,.78) 45%,rgba(10,15,12,.92) 100%) !important;
  }
  .fz-hero-stats .fz-hs-item{gap:10px !important;padding:4px 2px !important;}
  .fz-hero-stats .fz-hs-item + .fz-hs-item{border-left:0 !important;padding-left:2px !important;}
  .fz-hero-stats .fz-hs-icon{width:38px !important;height:38px !important;border-radius:10px !important;}
  .fz-hero-stats .fz-hs-num{font-size:20px !important;}
  .fz-hero-stats .fz-hs-lbl{font-size:12px !important;margin-top:2px !important;}
}

/* 隐藏 header 注入的全站搜索栏 */
.site-search-wrap, #siteSearchWrap{display:none !important;}

/* 移动端隐藏标题后半段 */
@media (max-width:900px){ .fz-hide-mobile{display:none !important;} }

/* 桌面端隐藏移动端专用元素 */
.fz-m-search, .fz-m-stats, .fz-hero-cta-m{display:none;}

@media (max-width:900px){
  /* 显示移动端搜索（头图上方） */
  .fz-m-search{
    display:flex;align-items:center;gap:6px;
    margin:6px 0 10px;padding:5px 5px 5px 14px;
    background:#fff;border:1px solid #e3e8e0;border-radius:999px;
    box-shadow:0 6px 18px -10px rgba(0,0,0,.18);
  }
  .fz-m-search-ico{color:#7a8a7a;display:flex;align-items:center;flex:none;}
  .fz-m-search input{
    flex:1;border:0;outline:0;background:transparent;
    font-size:13px;color:#222;padding:9px 4px;min-width:0;
  }
  .fz-m-search input::placeholder{color:#a8b0a6;}
  .fz-m-search button{
    border:0;cursor:pointer;color:#1a1410;font-weight:700;font-size:12.5px;
    padding:8px 16px;border-radius:999px;
    background:linear-gradient(135deg,#e9c071,#c8973a);
  }

  /* 隐藏 hero 内部原搜索 / 热门 / 亮点 / 统计 */
  .fz-hero .fz-hero-searchrow{display:none !important;}
  .fz-hero .fz-hero-stats{display:none !important;}

  /* 头图高度压缩 */
  .fz-hero{min-height:250px !important;}
  .fz-hero-content{padding:14px 14px 16px;gap:6px;}
  .fz-hero-title{font-size:20px;line-height:1.24;}
  .fz-hero-sub{
    font-size:12px;line-height:1.6;
    max-width:62%;
    display:block;overflow:visible;
  }

  /* CTA：聊天广场（毛玻璃风，融入森林背景） */
  .fz-hero-cta-m{
    display:inline-flex;align-items:center;justify-content:center;gap:8px;
    margin-top:18px;padding:10px 22px;
    background:rgba(255,255,255,.14);
    color:#fff;font-weight:600;font-size:13.5px;letter-spacing:.3px;
    border-radius:999px;text-decoration:none;
    border:1px solid rgba(255,255,255,.32);
    backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
    box-shadow:0 6px 18px -10px rgba(0,0,0,.45);
    width:fit-content;
  }
  .fz-hero-cta-m span{transition:transform .2s;}
  .fz-hero-cta-m:active{background:rgba(255,255,255,.22);}
  .fz-hero-cta-m:hover span{transform:translateX(3px);}

  /* 头图下方数据统计 2x2 */
  .fz-m-stats{
    display:grid;grid-template-columns:repeat(2,1fr);gap:10px;
    list-style:none;margin:12px 0 4px;padding:0;
  }
  .fz-m-stats li{
    background:#fff;border:1px solid #e6ebe3;border-radius:14px;
    padding:14px 12px;text-align:center;
    box-shadow:0 6px 16px -12px rgba(0,0,0,.18);
  }
  .fz-ms-num{
    font-size:22px;font-weight:800;line-height:1.1;
    background:linear-gradient(135deg,#c8973a,#7fae6c);
    -webkit-background-clip:text;background-clip:text;color:transparent;
  }
  .fz-ms-lbl{font-size:12px;color:#6b7568;margin-top:4px;}
}
