@charset "UTF-8";
/* 山东一鼎健身管理有限公司 官网 v2 · 主样式
   藏青 + 活力橙 · 纯手写，无外部依赖 */

:root{
  --navy:#1B2A5E;
  --navy-deep:#111C40;
  --navy-soft:#2C3E78;
  --orange:#E8662C;
  --orange-dark:#C9531F;
  --gold:#C9A227;
  --ink:#2B2F36;
  --muted:#6B7280;
  --line:#E3E7EE;
  --bg-soft:#F5F7FA;
  --white:#FFF;
  --ok:#1D9E75;
  --err:#C0392B;
  --radius:10px;
  --shadow:0 6px 18px rgba(27,42,94,.08);
  --font:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Source Han Sans CN",sans-serif;
}

*{margin:0;padding:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  font-family:var(--font);
  color:var(--ink);
  background:var(--white);
  line-height:1.75;
  font-size:16px;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  padding-bottom:0;
}
img{max-width:100%;height:auto;display:block;border:0}
a{color:var(--navy);text-decoration:none}
a:hover{color:var(--orange)}
ul{padding-left:20px}
button{font-family:inherit}

/* ---------- 布局 ---------- */
.wrap{max-width:1140px;margin:0 auto;padding:0 20px}
.wrap-narrow{max-width:820px;margin:0 auto;padding:0 20px}
section{padding:56px 0}
section.soft{background:var(--bg-soft)}
.sec-head{margin-bottom:32px}
.sec-head.center{text-align:center}
.sec-head h2{font-size:26px;line-height:1.4;color:var(--navy);font-weight:700;letter-spacing:.5px}
.sec-head p{margin-top:8px;color:var(--muted);font-size:15px}
.sec-head::after{content:"";display:block;width:44px;height:3px;background:var(--orange);margin-top:14px}
.sec-head.center::after{margin-left:auto;margin-right:auto}

/* ---------- 顶部导航 ---------- */
header{
  position:sticky;top:0;z-index:60;
  background:var(--white);
  border-bottom:1px solid var(--line);
}
.nav{display:flex;align-items:center;justify-content:space-between;height:62px}
.brand{display:flex;align-items:center;gap:10px}
.brand img{height:38px;width:auto}
.brand .btxt{display:none}
.navlinks{display:flex;align-items:center;gap:26px}
.navlinks a{
  font-size:15px;color:var(--ink);position:relative;padding:4px 0;
}
.navlinks a:hover{color:var(--orange)}
.navlinks a.active{color:var(--navy);font-weight:600}
.navlinks a.active::after{
  content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;background:var(--orange);
}
.navlinks a.nav-tel{
  background:var(--orange);color:#fff;padding:7px 16px;border-radius:6px;font-weight:600;font-size:14px;
}
.navlinks a.nav-tel:hover{background:var(--orange-dark);color:#fff}
.burger{
  display:none;width:42px;height:42px;border:1px solid var(--line);border-radius:6px;
  background:var(--white);cursor:pointer;padding:11px 9px;
}
.burger span{display:block;height:2px;background:var(--navy);margin:4px 0;border-radius:2px}
.drawer{display:none}

/* ---------- Hero ---------- */
.hero{
  background:var(--navy-deep);color:#fff;padding:64px 0 58px;
  position:relative;overflow:hidden;
}
.hero::after{
  content:"";position:absolute;right:-80px;top:-60px;width:320px;height:320px;
  border:1px solid rgba(255,255,255,.08);border-radius:50%;
}
.hero h1{font-size:32px;line-height:1.45;font-weight:700;letter-spacing:.5px}
.hero h1 em{font-style:normal;color:var(--orange)}
.hero .sub{margin-top:14px;color:#C3CCE4;font-size:16px;max-width:680px}
.hero .tags{margin-top:20px;display:flex;flex-wrap:wrap;gap:10px}
.hero .tags span{
  font-size:13px;border:1px solid rgba(255,255,255,.28);color:#DCE3F5;
  padding:5px 12px;border-radius:20px;
}
.hero .btnrow{margin-top:30px;display:flex;gap:12px;flex-wrap:wrap}

/* ---------- 按钮 ---------- */
.btn{
  display:inline-block;padding:14px 30px;border-radius:6px;font-size:16px;font-weight:600;
  text-align:center;cursor:pointer;border:1px solid transparent;transition:.2s;
}
.btn-primary{background:var(--orange);color:#fff}
.btn-primary:hover{background:var(--orange-dark);color:#fff}
.btn-ghost{background:transparent;border:2px solid var(--navy);color:var(--navy)}
.btn-ghost:hover{background:var(--navy);color:#fff}
.btn-light{background:transparent;border:2px solid rgba(255,255,255,.6);color:#fff}
.btn-light:hover{background:#fff;color:var(--navy-deep)}
.btn-block{display:block;width:100%}

/* ---------- 数字条 ---------- */
.facts{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);background:var(--white)}
.fact{padding:22px 14px;text-align:center;border-right:1px solid var(--line)}
.fact:last-child{border-right:0}
.fact b{display:block;font-size:24px;color:var(--navy);font-weight:700;font-variant-numeric:tabular-nums}
.fact span{font-size:13px;color:var(--muted)}

/* ---------- 卡片 ---------- */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.card{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:26px 24px;transition:.2s;
}
.card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.card h3{font-size:18px;color:var(--navy);font-weight:700;line-height:1.5}
.card p{margin-top:8px;font-size:14.5px;color:var(--muted)}
.card ul{margin-top:10px;font-size:14px;color:#4A5160}
.card li{margin-bottom:4px}

/* 资质速览卡 */
.cert-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.cert-mini .cm{
  background:var(--white);border:1px solid var(--line);border-top:4px solid var(--gold);
  border-radius:var(--radius);padding:22px;transition:.2s;
}
.cert-mini .cm:hover{box-shadow:var(--shadow)}
.cert-mini .cm .yr{font-size:12px;color:var(--gold);font-weight:700;letter-spacing:1px}
.cert-mini .cm h3{font-size:17px;color:var(--navy);margin:6px 0 8px;font-weight:700;line-height:1.5}
.cert-mini .cm p{font-size:14px;color:var(--muted)}

/* ---------- 课程卡 ---------- */
.course{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;display:flex;flex-direction:column;transition:.2s;
}
.course:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.course .chead{background:var(--navy);color:#fff;padding:18px 22px}
.course .chead h3{font-size:18px;font-weight:700;line-height:1.5}
.course .chead .who{display:inline-block;margin-top:8px;font-size:12px;background:rgba(255,255,255,.16);padding:3px 10px;border-radius:20px}
.course .cbody{padding:22px;flex:1;display:flex;flex-direction:column}
.course .price{font-size:28px;color:var(--orange);font-weight:700;font-variant-numeric:tabular-nums}
.course .price small{font-size:14px;color:var(--muted);font-weight:400}
.course .pnote{font-size:12.5px;color:var(--muted);margin-top:2px}
.course dl{margin-top:16px;font-size:14.5px}
.course dl div{display:flex;gap:10px;padding:7px 0;border-bottom:1px dashed var(--line)}
.course dl dt{color:var(--muted);min-width:64px;flex-shrink:0}
.course dl dd{color:var(--ink)}
.course .cfoot{padding:0 22px 22px}
.course-compact{border:1px solid var(--line);border-radius:var(--radius);padding:22px;background:var(--white);transition:.2s}
.course-compact:hover{box-shadow:var(--shadow)}
.course-compact h3{font-size:17px;color:var(--navy);font-weight:700}
.course-compact .price{font-size:22px;color:var(--orange);font-weight:700;margin:6px 0 10px}
.course-compact p{font-size:14px;color:var(--muted)}

/* ---------- 时间轴 ---------- */
.timeline{position:relative;padding-left:22px}
.timeline::before{content:"";position:absolute;left:5px;top:6px;bottom:6px;width:2px;background:var(--line)}
.tl-item{position:relative;padding-bottom:22px}
.tl-item:last-child{padding-bottom:0}
.tl-item::before{
  content:"";position:absolute;left:-22px;top:8px;width:12px;height:12px;border-radius:50%;
  background:var(--white);border:3px solid var(--orange);
}
.tl-item .yr{font-size:13px;color:var(--orange);font-weight:700;letter-spacing:.5px}
.tl-item h4{font-size:16px;color:var(--navy);font-weight:600;margin:2px 0 4px}
.tl-item p{font-size:14.5px;color:var(--muted)}

/* ---------- 资质墙 ---------- */
.certwall{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.cw{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;display:block;color:inherit;transition:.2s;
}
.cw:hover{box-shadow:var(--shadow);color:inherit}
.cw .thumb{height:190px;overflow:hidden;background:var(--bg-soft);display:flex;align-items:center;justify-content:center}
.cw .thumb img{width:100%;height:100%;object-fit:cover}
.cw .cinfo{padding:16px 18px 18px}
.cw .cinfo .badge{
  display:inline-block;font-size:11px;background:var(--gold);color:#3A2E00;font-weight:700;
  padding:2px 9px;border-radius:3px;letter-spacing:.5px;
}
.cw .cinfo h4{font-size:15.5px;color:var(--navy);font-weight:700;margin:8px 0 5px;line-height:1.5}
.cw .cinfo p{font-size:13.5px;color:var(--muted);line-height:1.65}

/* 灯箱（纯 CSS，:target） */
.lightbox{
  position:fixed;inset:0;background:rgba(10,16,34,.92);z-index:200;
  display:none;align-items:center;justify-content:center;padding:24px;
}
.lightbox:target{display:flex}
.lightbox img{max-width:96%;max-height:82vh;border-radius:6px;background:#fff}
.lightbox .lbcap{color:#DCE3F5;font-size:14px;text-align:center;margin-top:14px;max-width:640px}
.lightbox .lbclose{
  position:absolute;top:18px;right:22px;color:#fff;font-size:34px;line-height:1;
  text-decoration:none;font-weight:300;
}
.lightbox .lbwrap{display:flex;flex-direction:column;align-items:center}

/* ---------- 表单 ---------- */
.formbox{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:28px 26px;max-width:560px;margin:0 auto;
}
.frow{margin-bottom:16px}
.frow label{display:block;font-size:13.5px;color:var(--muted);margin-bottom:6px}
.frow label i{color:var(--orange);font-style:normal}
.frow input,.frow select,.frow textarea{
  width:100%;padding:12px 14px;font-size:16px;font-family:inherit;color:var(--ink);
  border:1px solid var(--line);border-radius:6px;background:var(--white);
}
.frow textarea{min-height:88px;resize:vertical}
.frow input:focus,.frow select:focus,.frow textarea:focus{outline:none;border-color:var(--navy)}
.formtip{margin-top:12px;font-size:14px;min-height:22px;text-align:center}
.formtip.ok{color:var(--ok)}
.formtip.err{color:var(--err)}
.formnote{font-size:12.5px;color:var(--muted);text-align:center;margin-top:10px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---------- 联系信息 ---------- */
.cgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.cbox{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:24px;text-align:center;
}
.cbox .lb{font-size:13px;color:var(--muted);letter-spacing:1px}
.cbox .val{font-size:20px;color:var(--navy);font-weight:700;margin-top:6px;line-height:1.5}
.cbox .val.big{font-size:24px;color:var(--orange)}
.cbox img.qr{width:150px;height:150px;margin:12px auto 0;border:1px solid var(--line);padding:4px;border-radius:6px}
.cbox .hint{font-size:13px;color:var(--muted);margin-top:8px}

/* ---------- 新闻 ---------- */
.newslist{display:flex;flex-direction:column;gap:16px}
.newsitem{
  background:var(--white);border:1px solid var(--line);border-left:4px solid var(--orange);
  border-radius:var(--radius);padding:22px 24px;
}
.newsitem .ndate{font-size:13px;color:var(--orange);font-weight:700;letter-spacing:.5px}
.newsitem h3{font-size:18px;color:var(--navy);font-weight:700;margin:6px 0 8px;line-height:1.5}
.newsitem .nbody{font-size:15px;color:#4A5160;white-space:pre-wrap;word-break:break-word}
.newsdim{text-align:center;color:var(--muted);font-size:15px;padding:40px 0;background:var(--white);border:1px dashed var(--line);border-radius:var(--radius)}
.news-layout{display:grid;grid-template-columns:1fr 300px;gap:28px;align-items:start}
.side-card{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:22px;
}
.side-card h4{font-size:15px;color:var(--navy);font-weight:700;margin-bottom:12px}
.side-card p{font-size:14px;color:var(--muted);margin-bottom:6px}
.side-card .big{font-size:22px;color:var(--orange);font-weight:700;margin:4px 0 12px}
.side-card img.qr{width:140px;height:140px;margin:8px auto 0;border:1px solid var(--line);padding:4px;border-radius:6px}

/* ---------- 亮点条 ---------- */
.highlight{
  background:var(--navy);color:#fff;border-radius:var(--radius);
  padding:28px 30px;display:flex;gap:26px;align-items:center;
}
.highlight img{width:220px;border-radius:8px;flex-shrink:0}
.highlight .htxt h3{font-size:19px;font-weight:700;line-height:1.5}
.highlight .htxt p{margin-top:8px;font-size:14.5px;color:#C9D2EA;line-height:1.7}
.highlight .htxt .src{margin-top:10px;font-size:12.5px;color:#8FA0C8}

/* ---------- FAQ ---------- */
.faq{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--white)}
.faq details{border-bottom:1px solid var(--line)}
.faq details:last-child{border-bottom:0}
.faq summary{
  cursor:pointer;padding:16px 22px;font-size:15.5px;color:var(--navy);font-weight:600;
  list-style:none;position:relative;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"+";position:absolute;right:22px;top:14px;color:var(--orange);font-size:20px;font-weight:700;
}
.faq details[open] summary::after{content:"−"}
.faq .fa{padding:0 22px 18px;font-size:14.5px;color:#4A5160}

/* ---------- 流程步骤 ---------- */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;counter-reset:s}
.step{position:relative;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:22px 18px}
.step::before{
  counter-increment:s;content:counter(s);
  display:flex;align-items:center;justify-content:center;
  width:32px;height:32px;border-radius:50%;background:var(--orange);color:#fff;
  font-weight:700;font-size:15px;margin-bottom:12px;
}
.step h4{font-size:15.5px;color:var(--navy);font-weight:700}
.step p{font-size:13.5px;color:var(--muted);margin-top:5px}

/* ---------- 寄语 ---------- */
.quote{
  background:var(--bg-soft);border-left:4px solid var(--gold);
  padding:22px 26px;border-radius:0 var(--radius) var(--radius) 0;
}
.quote p{font-size:17px;color:var(--navy);line-height:1.8;font-weight:600}
.quote .by{margin-top:12px;font-size:13.5px;color:var(--muted);font-weight:400}

/* ---------- 页脚 ---------- */
footer{background:var(--navy-deep);color:#A9B5D4;padding:40px 0 26px;font-size:14px}
footer .fgrid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:28px}
footer h5{color:#fff;font-size:15px;font-weight:700;margin-bottom:12px}
footer p,footer li{color:#A9B5D4;line-height:1.9}
footer ul{list-style:none;padding:0}
footer a{color:#A9B5D4}
footer a:hover{color:var(--orange)}
footer .fbrand{display:flex;align-items:center;gap:10px;margin-bottom:14px}
footer .fbrand .ftxt{color:#fff;font-size:17px;font-weight:700;letter-spacing:1px}
footer .fbrand .ftxt small{display:block;font-size:11px;color:#7D8CB0;font-weight:400;letter-spacing:2px}
.fbottom{
  margin-top:26px;padding-top:18px;border-top:1px solid rgba(255,255,255,.12);
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;color:#7D8CB0;
}

/* ---------- 移动端悬浮按钮 ---------- */
.fab{display:none;position:fixed;right:16px;bottom:20px;z-index:80;flex-direction:column;gap:12px}
.fab a{
  width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:13px;font-weight:600;box-shadow:0 4px 14px rgba(0,0,0,.22);text-align:center;line-height:1.2;
}
.fab a.fab-tel{background:var(--orange)}
.fab a.fab-join{background:var(--navy)}

/* ---------- 面包屑 ---------- */
.crumb{font-size:13px;color:var(--muted);padding:14px 0 0}
.crumb a{color:var(--muted)}
.crumb a:hover{color:var(--orange)}

/* ---------- 响应式 ---------- */
@media (max-width:1199px){
  .wrap{max-width:100%;padding:0 24px}
  .grid3,.cert-mini,.certwall,.cgrid{grid-template-columns:repeat(2,1fr)}
  .news-layout{grid-template-columns:1fr 260px}
}
@media (max-width:767px){
  body{font-size:15.5px}
  section{padding:38px 0}
  .wrap{padding:0 16px}
  .sec-head h2{font-size:21px}
  .nav{height:56px}
  .brand img{height:32px}
  .burger{display:block}
  .navlinks{display:none}
  .drawer{
    display:block;position:fixed;top:56px;left:0;right:0;background:var(--white);
    border-bottom:1px solid var(--line);box-shadow:0 8px 20px rgba(27,42,94,.10);
    padding:8px 16px 16px;z-index:59;transform:translateY(-8px);opacity:0;pointer-events:none;transition:.2s;
  }
  .drawer.open{transform:none;opacity:1;pointer-events:auto}
  .drawer a{display:block;padding:13px 4px;font-size:16px;color:var(--ink);border-bottom:1px solid var(--line)}
  .drawer a:last-child{border-bottom:0;color:var(--orange);font-weight:600}
  .hero{padding:40px 0 36px}
  .hero h1{font-size:23px}
  .hero .sub{font-size:14.5px}
  .hero .btnrow .btn{flex:1 1 100%}
  .facts{grid-template-columns:repeat(2,1fr)}
  .fact{border-bottom:1px solid var(--line)}
  .fact:nth-child(2n){border-right:0}
  .fact:nth-child(n+3){border-bottom:0}
  .grid3,.grid2,.cert-mini,.certwall,.cgrid,.steps{grid-template-columns:1fr}
  .cw .thumb{height:170px}
  .highlight{flex-direction:column;padding:20px}
  .highlight img{width:100%}
  .news-layout{grid-template-columns:1fr}
  .side-card{order:-1}
  .formbox{padding:22px 18px}
  footer .fgrid{grid-template-columns:1fr;gap:20px}
  .fab{display:flex}
  body{padding-bottom:76px}
}
@media (max-width:374px){
  .hero h1{font-size:21px}
  .fact b{font-size:21px}
}

/* ==========================================================
   v2 追加：图片画廊 / 证书列 / 业务矩阵 / 基地介绍
   ========================================================== */

/* 图片画廊：4 列自适应 */
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.gallery a{display:block;overflow:hidden;border-radius:8px;background:var(--bg-soft);border:1px solid var(--line)}
.gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .3s}
.gallery a:hover img{transform:scale(1.04)}
.gallery.wide{grid-template-columns:repeat(3,1fr)}
.gallery.wide img{aspect-ratio:16/9}
/* 带图注的相册（荣誉墙）：图下写清年份、赛事、级别、名次 */
.gallery.cap a{background:#fff;padding:0 0 4px;display:flex;flex-direction:column}
.gallery.cap .gcap{flex:1;padding:9px 10px 5px;font-size:12.5px;color:#5A6270;
  line-height:1.55;text-align:center;display:flex;align-items:flex-start;
  justify-content:center;border-top:1px solid var(--line);margin-top:0}
/* 好评截图墙：竖版聊天截图，缩略图从上往下取，点开看原图 */
.gallery.review{grid-template-columns:repeat(4,1fr);gap:14px}
.gallery.review a{background:#fff;padding:6px}
.gallery.review img{aspect-ratio:3/4;object-fit:cover;object-position:top;
  border-radius:4px;transition:opacity .3s}
.gallery.review a:hover img{transform:none;opacity:.86}

/* 基地介绍：图文两栏 */
.venue-lead{display:grid;grid-template-columns:1.15fr 1fr;gap:28px;align-items:center}
.venue-lead img{width:100%;border-radius:10px;border:1px solid var(--line)}
.venue-lead h3{font-size:22px;color:var(--navy);font-weight:700;line-height:1.5}
.venue-lead ul{margin-top:14px;font-size:15px;color:#4A5160;line-height:1.9}
.venue-lead li{padding-left:20px;position:relative}
.venue-lead li::before{content:"";position:absolute;left:0;top:11px;width:7px;height:7px;border-radius:50%;background:var(--orange)}

/* 证书样张横排 */
.certline{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.certline figure{margin:0}
.certline .box{background:#fff;border:1px solid var(--line);border-radius:8px;padding:10px;display:flex;align-items:center;justify-content:center;height:150px;overflow:hidden}
.certline img{max-width:100%;max-height:100%;object-fit:contain}
.certline figcaption{text-align:center;font-size:12.5px;color:var(--muted);margin-top:7px;line-height:1.5}

/* 业务矩阵 */
.biz7{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.biz7 .b{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 18px;border-top:3px solid var(--navy)}
.biz7 .b h4{font-size:15.5px;color:var(--navy);font-weight:700}
.biz7 .b p{margin-top:7px;font-size:13.5px;color:var(--muted);line-height:1.7}

/* 培训现场：错位双图 */
.twopick{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.twopick img{width:100%;border-radius:8px;border:1px solid var(--line);aspect-ratio:4/3;object-fit:cover}

/* 资质授权 4 宫格（首页速览） */
.cert-mini.four{grid-template-columns:repeat(4,1fr)}

@media (max-width:980px){
  .gallery{grid-template-columns:repeat(3,1fr)}
  .gallery.wide{grid-template-columns:repeat(2,1fr)}
  .gallery.review{grid-template-columns:repeat(3,1fr)}
  .certline{grid-template-columns:repeat(3,1fr)}
  .biz7{grid-template-columns:repeat(2,1fr)}
  .cert-mini.four{grid-template-columns:repeat(2,1fr)}
  .venue-lead{grid-template-columns:1fr;gap:20px}
}
@media (max-width:768px){
  .twopick{grid-template-columns:1fr}
}
@media (max-width:560px){
  .gallery,.gallery.wide,.gallery.review{grid-template-columns:repeat(2,1fr)}
  .certline{grid-template-columns:repeat(2,1fr)}
  .biz7{grid-template-columns:1fr}
  .cert-mini.four{grid-template-columns:1fr}
}

/* ===== 开班预告（后台可改） ===== */
.noticebar{display:flex;gap:12px;align-items:flex-start;background:#FFF7F1;
  border:1px solid #F2D3B9;border-left:4px solid #E8662C;
  padding:14px 16px;margin:0 auto 22px;max-width:760px;border-radius:3px;text-align:left}
.nb-tag{flex:0 0 auto;background:#E8662C;color:#fff;font-size:12px;font-weight:700;
  padding:3px 9px;border-radius:2px;white-space:nowrap;line-height:1.6}
.nb-body{min-width:0}
.nb-body b{display:block;font-size:15px;color:#1B2A5E;margin-bottom:2px}
.nb-body span{display:block;font-size:13.5px;color:#5A6270;line-height:1.65}
@media (max-width:560px){
  .noticebar{flex-direction:column;gap:7px;padding:12px 13px}
  .nb-tag{align-self:flex-start}
}

/* ===== 动态列表：分类标签 / 封面 / 置顶 ===== */
.ncat{display:inline-block;font-size:11.5px;padding:2px 9px;border-radius:2px;
  background:#EEF2F8;color:#4A5568;margin-right:8px;vertical-align:2px}
.ncat.zhaosheng{background:#FDECEA;color:#B83A2B}
.ncat.tongzhi{background:#FFF4E0;color:#96660A}
.ncov{margin:12px 0 0;border-radius:3px;overflow:hidden;background:#F2F4F7}
.ncov img{display:block;width:100%;height:auto}
.npin{display:inline-block;font-size:11.5px;background:#E8662C;color:#fff;
  padding:2px 8px;border-radius:2px;margin-right:6px;vertical-align:2px}
.nfilter{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-bottom:22px}
.nfilter button{font-family:inherit;font-size:13.5px;padding:7px 16px;cursor:pointer;
  background:#fff;border:1px solid #D5DAE2;color:#5A6270;border-radius:2px}
.nfilter button.on{background:#1B2A5E;border-color:#1B2A5E;color:#fff}
.nempty{text-align:center;padding:40px 0;color:#98A0AB;font-size:14px}

/* ---------- 师资 / 冠军教练卡片（faculty.html） ---------- */
.tgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.tcard{display:flex;gap:16px;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);padding:20px;box-shadow:var(--shadow)}
.tav{flex:0 0 56px;height:56px;border-radius:8px;background:var(--navy);color:#fff;
  font-size:24px;font-weight:700;display:flex;align-items:center;justify-content:center}
.tav.tav-gold{background:var(--gold);color:#3A2E05}
/* 有真人照片时：头像放大，露脸 */
.tav.tav-photo{flex:0 0 96px;height:96px;background:#EDF0F5;overflow:hidden}
.tav.tav-photo img{width:100%;height:100%;object-fit:cover;object-position:center 25%;display:block}
.tbody{min-width:0;flex:1}
.tcard h3{font-size:18px;color:var(--navy);display:flex;align-items:baseline;
  gap:10px;flex-wrap:wrap;margin-bottom:10px}
.trole{font-size:12.5px;font-weight:400;color:var(--orange);
  background:#FFF3EC;padding:2px 9px;border-radius:2px}
.tlist{margin:0 0 12px;padding-left:18px}
.tlist li{font-size:14px;color:#4A5568;margin-bottom:4px;line-height:1.65}
.tnote{font-size:13.5px;color:var(--muted);line-height:1.75;margin:0}
.tdir{font-size:13px;color:var(--navy);margin:10px 0 0;font-weight:600}

/* ---------- 战绩数据条 ---------- */
.statbar{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:24px}
.sitem{background:var(--navy);color:#fff;border-radius:var(--radius);
  padding:18px 14px;text-align:center}
.sitem b{display:block;font-size:26px;line-height:1.2;color:#fff}
.sitem span{font-size:12.5px;opacity:.82}

@media (max-width:900px){
  .tgrid{grid-template-columns:1fr}
  .statbar{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:520px){
  .tcard{padding:16px;gap:12px}
  .tav{flex:0 0 44px;height:44px;font-size:19px}
  .tav.tav-photo{flex:0 0 68px;height:68px}
  .tcard h3{font-size:16.5px}
}

/* ---------- 悬浮咨询窗口（js/chat.js） ---------- */
.chat-fab{position:fixed;right:24px;bottom:24px;z-index:85;display:flex;align-items:center;
  gap:8px;background:var(--orange);color:#fff;border:0;border-radius:26px;
  padding:11px 18px 11px 14px;cursor:pointer;font-size:15px;font-weight:600;
  box-shadow:0 6px 20px rgba(232,102,44,.35)}
.chat-fab:hover{background:var(--orange-dark)}
.chat-fab.on{background:var(--navy)}
.chat-fab-ico{width:16px;height:16px;border-radius:50%;background:#fff;position:relative;flex:0 0 16px}
.chat-fab-ico::after{content:"";position:absolute;left:3px;top:5px;width:10px;height:7px;
  border:2px solid var(--orange);border-radius:2px 2px 6px 6px;border-top:0}
.chat-fab-txt{line-height:1}

.chat-tip{position:fixed;right:24px;bottom:82px;z-index:86;max-width:190px;
  background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:8px;
  padding:9px 12px;font-size:13px;box-shadow:0 6px 18px rgba(27,42,94,.12);
  opacity:0;transform:translateY(6px);transition:opacity .25s,transform .25s;pointer-events:none}
.chat-tip.show{opacity:1;transform:translateY(0)}
.chat-tip::after{content:"";position:absolute;right:24px;bottom:-6px;width:10px;height:10px;
  background:#fff;border-right:1px solid var(--line);border-bottom:1px solid var(--line);
  transform:rotate(45deg)}

.chat-panel{position:fixed;right:24px;bottom:84px;z-index:90;width:352px;max-height:62vh;
  background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;
  display:flex;flex-direction:column;box-shadow:0 14px 40px rgba(27,42,94,.18)}
.chat-head{background:var(--navy);color:#fff;padding:13px 15px;display:flex;
  align-items:center;justify-content:space-between;gap:10px;flex:0 0 auto}
.chat-head-t b{display:block;font-size:15px;line-height:1.4}
.chat-head-t small{display:block;font-size:11.5px;opacity:.78;margin-top:2px}
.chat-close{background:none;border:0;color:#fff;font-size:22px;line-height:1;
  cursor:pointer;padding:0 4px;flex:0 0 auto}
.chat-body{padding:14px;overflow-y:auto;flex:1 1 auto;background:#FAFBFC;
  display:flex;flex-direction:column;gap:9px;-webkit-overflow-scrolling:touch}
.chat-msg{max-width:86%;padding:9px 12px;border-radius:10px;font-size:13.5px;
  line-height:1.7;white-space:pre-wrap;word-break:break-word}
.chat-msg.bot{align-self:flex-start;background:#fff;border:1px solid var(--line);color:var(--ink)}
.chat-msg.me{align-self:flex-end;background:var(--navy);color:#fff;border:1px solid var(--navy)}
.chat-opts{display:flex;flex-wrap:wrap;gap:7px;margin-top:2px}
.chat-opt{background:#fff;border:1px solid var(--orange);color:var(--orange);
  border-radius:16px;padding:7px 13px;font-size:13px;cursor:pointer;font-family:inherit}
.chat-opt:hover{background:#FFF3EC}
.chat-opt-more{border-color:var(--line);color:var(--muted)}
.chat-opt-more:hover{background:#F2F4F7;color:var(--ink)}

.chat-foot{flex:0 0 auto;border-top:1px solid var(--line);padding:11px 12px;background:#fff}
.chat-input{display:flex;gap:8px}
.chat-input input{flex:1 1 auto;min-width:0;padding:9px 11px;font-size:15px;font-family:inherit;
  border:1px solid #D5DAE2;border-radius:6px;color:var(--ink)}
.chat-input button{background:var(--navy);color:#fff;border:0;border-radius:6px;
  padding:9px 16px;font-size:14px;cursor:pointer;font-family:inherit;flex:0 0 auto}
.chat-lead{display:flex;flex-direction:column;gap:8px}
.chat-lead-tip{margin:0;font-size:12.5px;color:var(--muted);line-height:1.6}
.chat-lead input{padding:10px 11px;font-size:15px;font-family:inherit;
  border:1px solid #D5DAE2;border-radius:6px;color:var(--ink)}
.chat-lead input:focus{outline:none;border-color:var(--navy)}
.chat-submit{background:var(--orange);color:#fff;border:0;border-radius:6px;padding:11px;
  font-size:15px;font-weight:600;cursor:pointer;font-family:inherit}
.chat-submit:hover{background:var(--orange-dark)}
.chat-err{margin:0;font-size:12.5px;color:var(--err);line-height:1.5}
.chat-done-tip{margin:0;font-size:13px;color:var(--muted);text-align:center;line-height:1.7}

@media (max-width:640px){
  /* 右下角已被「电话 / 报名」占用，咨询按钮放左下角 */
  .chat-fab{left:14px;right:auto;bottom:20px;padding:10px 15px 10px 12px;font-size:14px}
  .chat-tip{left:14px;right:auto;bottom:74px}
  .chat-panel{right:0;left:0;bottom:0;width:100%;max-height:76vh;
    border-radius:14px 14px 0 0;border-left:0;border-right:0;border-bottom:0}
}
