/*
Theme Name: 医学影像学习网 MedImg
Theme URI: https://example.com
Author: MedImg
Description: 医学影像学习网专用主题：按部位文章、影像学习专辑、影像资源下载三大栏目。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: medimg
*/

/* ============================================================
   1. 变量与基础
   ============================================================ */
:root{
  --ink:#0f1b2b;
  --ink-2:#243447;
  --muted:#5b6b7f;
  --line:#e2e8f0;
  --line-2:#eef2f7;
  --bg:#ffffff;
  --bg-soft:#f6f8fb;
  --bg-tint:#eef4fb;
  --brand:#1257a8;
  --brand-2:#0d6fb8;
  --brand-deep:#0a2f56;
  --accent:#0f8a80;
  --warn:#b45309;
  --radius:12px;
  --radius-sm:8px;
  --shadow:0 1px 2px rgba(15,27,43,.05), 0 8px 24px rgba(15,27,43,.06);
  --shadow-lg:0 12px 40px rgba(15,27,43,.14);
  --maxw:1180px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font:16px/1.75 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Source Han Sans SC","Noto Sans CJK SC",sans-serif;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--brand);text-decoration:none}
a:hover{color:var(--brand-2);text-decoration:underline}
h1,h2,h3,h4{line-height:1.35;margin:0 0 .6em;color:var(--ink);font-weight:700}
h1{font-size:2.05rem;letter-spacing:-.01em}
h2{font-size:1.5rem}
h3{font-size:1.16rem}
p{margin:0 0 1em}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 20px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

/* ============================================================
   2. 顶栏
   ============================================================ */
.site-header{
  position:sticky;top:0;z-index:60;background:rgba(255,255,255,.94);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--line);
}
.hdr{display:flex;align-items:center;gap:22px;height:66px}
.brand{display:flex;align-items:center;gap:10px;font-size:1.12rem;font-weight:800;color:var(--brand-deep);letter-spacing:.01em}
.brand:hover{text-decoration:none;color:var(--brand)}
.brand-mark{
  width:32px;height:32px;border-radius:9px;flex:none;
  background:linear-gradient(135deg,#1257a8,#0f8a80);
  display:grid;place-items:center;color:#fff;font-size:15px;font-weight:800;
  box-shadow:0 2px 8px rgba(18,87,168,.28);
}
.brand small{display:block;font-size:.62rem;font-weight:500;color:var(--muted);letter-spacing:.14em;margin-top:-2px}
.main-nav{display:flex;gap:2px;margin-left:6px;align-items:center}
/* wp_nav_menu 输出的是 ul>li，必须清掉默认列表样式，否则会出现圆点 + 纵向排列 */
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:2px;align-items:center}
.main-nav li{margin:0;padding:0;position:relative}
.main-nav a{
  padding:7px 13px;border-radius:8px;color:var(--ink-2);font-size:.94rem;font-weight:600;
  transition:background .16s,color .16s;
}
.main-nav a:hover{background:var(--bg-tint);color:var(--brand);text-decoration:none}
.main-nav a[aria-current="page"]{color:var(--brand);background:var(--bg-tint)}
.hdr-right{margin-left:auto;display:flex;align-items:center;gap:10px;flex:none}
/* 顶栏搜索框：边框必须够深才看得见。
   原来 border:1px solid var(--line)=#e2e8f0，在白顶栏上对比度只有约 1.2:1，
   远低于 WCAG 对非文字 UI 元素要求的 3:1 → 用户反馈「边缘不好识别」。
   改成 #8499b2（对白底 2.9:1，1.5px 线宽，实测比旧版明显），并把放大镜图标一起加深，hover/focus 逐级加强。 */
.hdr-search{position:relative}
.hdr-search input{
  width:216px;padding:8px 12px 8px 34px;border:1.5px solid #8499b2;border-radius:20px;
  font-size:.9rem;background:#fff;color:var(--ink);outline:none;transition:.16s;
  box-shadow:0 1px 2px rgba(15,27,43,.04);
}
.hdr-search input::placeholder{color:#8593a5}
.hdr-search input:hover{border-color:#6f8299;background:#fff}
.hdr-search input:focus{background:#fff;border-color:var(--brand);box-shadow:0 0 0 3px rgba(18,87,168,.14);width:248px}
.hdr-search::before{
  content:"";position:absolute;left:12px;top:50%;width:13px;height:13px;margin-top:-7px;
  border:2px solid #6f8299;border-radius:50%;
}
.hdr-search::after{
  content:"";position:absolute;left:22px;top:50%;width:5px;height:2px;margin-top:4px;
  background:#6f8299;transform:rotate(45deg);border-radius:2px;
}
.nav-toggle{display:none;margin-left:auto;background:none;border:1px solid var(--line);border-radius:8px;padding:7px 10px;font-size:.9rem;color:var(--ink-2);cursor:pointer}

/* 顶栏账号区：未登录 = 登录 / 注册；已登录 = 头像 + 用户名 + 今日额度 */
.hdr-auth{display:flex;align-items:center;gap:8px;flex:none}
.hdr-auth a{
  padding:7px 16px;border-radius:20px;font-size:.88rem;font-weight:600;line-height:1.4;
  transition:.16s;text-decoration:none;white-space:nowrap;
}
.hdr-auth .ha-login{color:var(--brand);border:1px solid #c8dcef;background:#fff}
.hdr-auth .ha-login:hover{background:var(--bg-tint);border-color:#a9c9e8;text-decoration:none}
.hdr-auth .ha-reg{color:#fff;background:linear-gradient(135deg,var(--brand),var(--accent));box-shadow:0 2px 8px rgba(18,87,168,.24)}
.hdr-auth .ha-reg:hover{color:#fff;text-decoration:none;box-shadow:0 4px 14px rgba(18,87,168,.32)}

.hdr-user{position:relative;flex:none}
.hu-btn{
  display:flex;align-items:center;gap:7px;padding:5px 12px 5px 5px;border:1px solid var(--line);
  border-radius:22px;background:#fff;cursor:pointer;font-family:inherit;font-size:.86rem;color:var(--ink-2);
  transition:.16s;max-width:240px;
}
.hu-btn:hover{border-color:#bcd6f0;background:var(--bg-tint)}
.hu-avatar{
  flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(135deg,var(--brand),var(--accent));color:#fff;font-size:.8rem;font-weight:700;
}
.hu-name{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:110px}
.hu-left{flex:none;font-size:.72rem;font-weight:700;color:#0f7a5c;background:#e8f7f1;border-radius:20px;padding:1px 7px}
.hu-left.out{color:#a92a22;background:#fdeceb}
.hu-menu{
  position:absolute;right:0;top:calc(100% + 8px);min-width:200px;background:#fff;border:1px solid var(--line);
  border-radius:12px;box-shadow:0 12px 34px rgba(15,27,43,.14);padding:6px;display:none;z-index:80;
}
.hu-menu.open{display:block}
.hu-head{padding:9px 11px 10px;border-bottom:1px solid var(--line-2);margin-bottom:5px;
  font-size:.86rem;font-weight:700;color:var(--ink-2);line-height:1.4;word-break:break-all}
.hu-head span{display:block;font-size:.74rem;font-weight:500;color:var(--muted);margin-top:3px}
.hu-menu a{display:block;padding:8px 11px;border-radius:8px;font-size:.86rem;color:var(--ink-2)}
.hu-menu a:hover{background:var(--bg-tint);color:var(--brand);text-decoration:none}
.hu-menu a.hu-out{color:#b32d2e;border-top:1px solid var(--line-2);margin-top:4px;padding-top:10px;border-radius:0 0 8px 8px}
.hu-menu a.hu-out:hover{background:#fdeceb;color:#a92a22}

@media(max-width:900px){
  .hdr{height:auto;flex-wrap:wrap;padding:10px 0;gap:10px}
  .nav-toggle{display:block;order:3}
  .hdr-right{order:2;margin-left:auto;gap:8px}
  .hdr-search input,.hdr-search input:focus{width:150px}
  .main-nav{order:4;width:100%;display:none;flex-wrap:wrap;gap:4px;padding-top:6px;border-top:1px solid var(--line-2)}
  .main-nav.open{display:block}
  .main-nav ul{display:block}
  .main-nav li{display:block}
  .main-nav.open ul{display:block}
  .main-nav.open a{display:block}
}

/* 窄屏（手机）：品牌 + 账号 + 栏目按钮挤在一行，不能溢出、不能折行 */
@media(max-width:560px){
  .hdr{gap:8px;flex-wrap:nowrap}
  .brand{font-size:.98rem;min-width:0;flex:1 1 auto;overflow:hidden}
  .brand > span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .brand small{display:none}                 /* 副标题在小屏占地方，直接藏掉 */
  .brand-mark{width:28px;height:28px;font-size:13px;border-radius:8px}
  .hdr-right{flex:0 1 auto;min-width:0;gap:6px;justify-content:flex-end;margin-left:auto}
  .hdr-search{display:none}                  /* 小屏顶栏不放搜索，首屏已有大搜索框 */
  .nav-toggle{
    flex:0 0 auto;order:3;padding:6px 9px;font-size:.8rem;
    white-space:nowrap;word-break:keep-all;
  }
  .hdr-auth{gap:6px;flex:0 0 auto}
  .hdr-auth a{padding:6px 12px;font-size:.8rem;white-space:nowrap}
  .hdr-user{flex:0 0 auto}
  .hu-btn{padding:4px 9px 4px 4px;max-width:132px}
  .hu-avatar{width:23px;height:23px;font-size:.74rem}
  .hu-name{max-width:52px;font-size:.8rem}
  .hu-left{display:none}
  .hu-menu{min-width:180px}
}

/* 超窄（<=380px）：只留头像，用户名藏起来，保证按钮都在一行 */
@media(max-width:380px){
  .hu-name{display:none}
  .hu-btn{padding:4px 8px 4px 4px;max-width:none}
  .hdr-auth a{padding:6px 10px;font-size:.78rem}
  .brand{font-size:.92rem}
}

/* ============================================================
   3. 首页 Hero
   ============================================================ */
.hero{
  background:
    radial-gradient(900px 380px at 12% -10%, rgba(15,138,128,.16), transparent 62%),
    radial-gradient(760px 340px at 88% 0%, rgba(18,87,168,.20), transparent 60%),
    linear-gradient(160deg,#0a2440 0%,#0d3357 46%,#0f4a6b 100%);
  color:#eaf2fb;padding:60px 0 52px;position:relative;overflow:hidden;
}
.hero::after{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.30;
  background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size:46px 46px;
  mask-image:radial-gradient(70% 60% at 50% 30%,#000,transparent);
}
.hero .wrap{position:relative;z-index:1}
.hero h1{color:#fff;font-size:2.5rem;margin-bottom:.5em;letter-spacing:-.015em}
.hero h1 em{font-style:normal;color:#7fd8c8}
.hero p.lead{font-size:1.06rem;color:#c3d6ea;max-width:760px;margin-bottom:1.6em}
.hero-search{display:flex;gap:10px;max-width:640px;margin-bottom:22px}
.hero-search input{
  flex:1;padding:13px 16px;border-radius:10px;border:1px solid rgba(255,255,255,.20);
  background:rgba(255,255,255,.10);color:#fff;font-size:.98rem;outline:none;
}
.hero-search input::placeholder{color:#a9c0d6}
.hero-search input:focus{background:rgba(255,255,255,.16);border-color:rgba(127,216,200,.7)}
.hero-search button{
  padding:0 24px;border:0;border-radius:10px;background:#7fd8c8;color:#08313a;
  font-weight:700;font-size:.98rem;cursor:pointer;transition:.16s;white-space:nowrap;
}
.hero-search button:hover{background:#9ce8da}
.hero-chips{display:flex;flex-wrap:wrap;gap:8px}
.hero-chips a{
  padding:6px 14px;border-radius:20px;font-size:.86rem;color:#d6e6f5;
  border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.06);
}
.hero-chips a:hover{background:rgba(255,255,255,.14);color:#fff;text-decoration:none;border-color:rgba(255,255,255,.38)}
.hero-stats{display:flex;gap:38px;margin-top:32px;flex-wrap:wrap}
.hero-stats div b{display:block;font-size:1.5rem;color:#fff;line-height:1.2}
.hero-stats div span{font-size:.82rem;color:#9fb8d0;letter-spacing:.04em}

/* ============================================================
   4. 区块与卡片
   ============================================================ */
.section{padding:52px 0}
.section.soft{background:var(--bg-soft);border-top:1px solid var(--line-2);border-bottom:1px solid var(--line-2)}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px;flex-wrap:wrap}
.sec-head h2{margin:0;font-size:1.45rem;display:flex;align-items:center;gap:10px}
.sec-head h2::before{content:"";width:4px;height:20px;border-radius:2px;background:linear-gradient(180deg,var(--brand),var(--accent))}
.sec-head p{margin:6px 0 0;color:var(--muted);font-size:.92rem}
.sec-more{font-size:.9rem;font-weight:600;white-space:nowrap}

.grid{display:grid;gap:20px}
.grid > *{min-width:0}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
@media(max-width:980px){.grid-3,.grid-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.grid-3,.grid-4,.grid-2{grid-template-columns:1fr}}

.card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;display:flex;flex-direction:column;transition:transform .18s,box-shadow .18s,border-color .18s;
}
.card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#cfe0f2;text-decoration:none}
.card:hover .card-title{color:var(--brand)}
.card-thumb{
  position:relative;aspect-ratio:16/9;background:linear-gradient(135deg,#e8f0f9,#dbe8f5);
  overflow:hidden;display:block;
}
.card-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.card:hover .card-thumb img{transform:scale(1.035)}
.card-thumb .ph{
  position:absolute;inset:0;display:grid;place-items:center;color:#8aa6c4;
  font-size:.82rem;letter-spacing:.06em;background:
    repeating-linear-gradient(45deg,rgba(255,255,255,.55) 0 10px,transparent 10px 20px);
}
.card-badge{
  position:absolute;left:10px;top:10px;padding:3px 9px;border-radius:6px;
  background:rgba(10,47,86,.86);color:#dbe9f7;font-size:.72rem;font-weight:600;letter-spacing:.02em;
  backdrop-filter:blur(4px);
}
.card-body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:8px;flex:1}
.card-title{font-size:1rem;font-weight:700;color:var(--ink);line-height:1.5;margin:0;transition:color .16s}
.card-desc{font-size:.86rem;color:var(--muted);line-height:1.65;margin:0;flex:1;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-meta{display:flex;gap:12px;font-size:.78rem;color:#8395a8;margin-top:2px;flex-wrap:wrap;align-items:center}
.card-meta .dot{width:3px;height:3px;border-radius:50%;background:#c3cedb}

/* 专辑卡 */
.album-card{
  border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden;
  display:flex;flex-direction:column;transition:.18s;
}
.album-card:hover{box-shadow:var(--shadow);transform:translateY(-2px);border-color:#cfe0f2}
.album-top{
  padding:18px 18px 16px;color:#eaf2fb;
  background:linear-gradient(150deg,#0f3b63,#12578c 60%,#0f7a72);
  position:relative;
}
.album-top .kicker{font-size:.72rem;letter-spacing:.12em;color:#9fd7cb;font-weight:700;text-transform:uppercase}
.album-top h3{margin:6px 0 6px;font-size:1.08rem;color:#fff;line-height:1.45}
.album-top p{margin:0;font-size:.84rem;color:#bcd5ea;line-height:1.6}
.album-body{padding:14px 18px 18px;display:flex;flex-direction:column;gap:12px;flex:1}
.album-lessons{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.album-lessons li{display:flex;gap:9px;font-size:.88rem;line-height:1.5}
.album-lessons .no{
  flex:none;width:20px;height:20px;border-radius:5px;background:var(--bg-tint);color:var(--brand);
  font-size:.72rem;font-weight:700;display:grid;place-items:center;margin-top:2px;
}
.album-lessons a{color:var(--ink-2)}
.album-lessons a:hover{color:var(--brand)}
.album-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding-top:12px;border-top:1px dashed var(--line)}

/* ============================================================
   5. 资源列表
   ============================================================ */
.res-item{
  display:flex;gap:16px;padding:18px;border:1px solid var(--line);border-radius:var(--radius);
  background:#fff;transition:.18s;align-items:flex-start;
}
.res-item:hover{border-color:#cfe0f2;box-shadow:var(--shadow)}
.res-ico{
  width:52px;height:52px;flex:none;border-radius:12px;display:grid;place-items:center;
  background:linear-gradient(140deg,#eaf3fd,#dcecf9);color:var(--brand);font-size:1.1rem;font-weight:800;
}
/* ---- 考试页：方向 → 级别 卡片 ---- */
.exam-wrap{padding-top:22px}
.exam-tracks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px}
@media(max-width:760px){.exam-tracks{grid-template-columns:1fr;gap:12px}}
.exam-track{border:1px solid var(--line);border-radius:12px;background:#fff;padding:16px 18px}
.et-head{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.et-head b{font-size:1rem;color:var(--ink)}
.et-head::before{content:"";width:3px;height:15px;border-radius:2px;background:var(--brand)}
.et-levels{display:flex;flex-wrap:wrap;gap:9px}
.et-item{
  display:flex;align-items:center;gap:7px;padding:8px 13px;border-radius:8px;
  border:1px solid #dbe8f6;background:#f8fbff;color:#3f5468;font-size:.86rem;
  text-decoration:none;transition:.15s;
}
.et-item:hover{border-color:#a9c9e8;background:var(--bg-tint);color:var(--brand)}
.et-item.on{background:var(--brand);border-color:var(--brand);color:#fff}
.et-item.on .et-cnt{background:rgba(255,255,255,.24);color:#fff}
.et-cnt{
  min-width:20px;text-align:center;padding:1px 6px;border-radius:20px;
  background:#e7f0fa;color:#5b7fa3;font-size:.72rem;font-weight:700;
}
.exam-kinds{margin-bottom:20px}
.exam-reset{
  margin-left:auto;padding:7px 13px;border-radius:999px;border:1px dashed #cfdceb;
  color:#7d8fa3;font-size:.82rem;text-decoration:none;
}
.exam-reset:hover{border-color:#e0a9a9;color:#b32d2e;background:#fdf6f6}
.exam-list{padding-bottom:10px}
.res-tags .tag-track{background:#e8f1fc;color:#1257a8;border-color:#cfe0f4}
.res-tags .tag-kind{background:#e8f7f1;color:#0f7a5c;border-color:#c9ebdf}

/* 资源分类筛选 */
.res-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.res-tabs a{
  padding:7px 15px;border-radius:999px;border:1px solid #dbe8f6;background:#fff;
  color:#3f5468;font-size:.86rem;font-weight:600;text-decoration:none;transition:.15s;
}
.res-tabs a:hover{border-color:#a9c9e8;color:var(--brand);background:var(--bg-tint)}
.res-tabs a.on{background:var(--brand);border-color:var(--brand);color:#fff}

/* 电子书两个按钮 */
.book-cta{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:6px}
.btn-jd{background:#e1251b;border-color:#e1251b;color:#fff}
.btn-jd:hover{background:#c81e15;border-color:#c81e15;color:#fff}
@media(max-width:560px){
  .book-cta{flex-direction:column;align-items:stretch}
  .book-cta .btn{width:100%;text-align:center}
}

/* 资源图标位放缩略图：图片铺满、裁成方角圆角块 */
.res-ico,.arm-ico,.arl-ico,.acc-ico{overflow:hidden;position:relative}

/* 书籍列表：缩略图用 3:4 书封比例，整本书完整显示（不裁切） */
.res-item.is-book .res-ico{
  width:56px;height:74px;border-radius:8px;
  background:#f2f6fb;border:1px solid #e3ecf6;
  box-shadow:0 2px 6px rgba(15,27,43,.08);
}
.res-item.is-book .res-ico img{object-fit:contain;background:#fff}
.res-item.is-book .res-ico .res-ph{
  display:grid;place-items:center;width:100%;height:100%;
  color:#1257a8;font-weight:700;font-size:1.2rem;
}
@media(max-width:560px){
  .res-item.is-book .res-ico{width:50px;height:66px}
}
.res-ico img,.arm-ico img,.arl-ico img,.acc-ico img{
  width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit;
}
.res-main{flex:1;min-width:0}
.res-main h3{margin:0 0 6px;font-size:1.02rem}
.res-main h3 a{color:var(--ink)}
.res-main h3 a:hover{color:var(--brand);text-decoration:none}
.res-main p{margin:0 0 8px;font-size:.87rem;color:var(--muted);line-height:1.65}
.res-tags{display:flex;gap:8px;flex-wrap:wrap;font-size:.78rem;color:#7d8fa3}
.res-tags span{background:var(--bg-soft);border:1px solid var(--line-2);padding:2px 8px;border-radius:5px}
.res-act{flex:none;align-self:center}

/* 按钮 */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  padding:9px 18px;border-radius:9px;border:1px solid transparent;cursor:pointer;
  font-size:.9rem;font-weight:600;line-height:1.4;transition:.16s;text-decoration:none;white-space:nowrap;
  font-family:inherit;
}
.btn-primary{background:var(--brand);color:#fff;box-shadow:0 2px 8px rgba(18,87,168,.22)}
.btn-primary:hover{background:var(--brand-2);color:#fff;text-decoration:none;box-shadow:0 4px 14px rgba(18,87,168,.30)}
.btn-ghost{background:#fff;color:var(--brand);border-color:#c8dcef}
.btn-ghost:hover{background:var(--bg-tint);color:var(--brand);text-decoration:none;border-color:#a9c9e8}
.btn-lg{padding:12px 26px;font-size:.98rem;border-radius:10px}
.btn-block{width:100%}
.btn[disabled],.btn.is-off{background:#eef2f7;color:#93a3b5;border-color:#e2e8f0;box-shadow:none;cursor:not-allowed}

/* ============================================================
   6. 文章页
   ============================================================ */
.crumb{font-size:.82rem;color:#8697a9;padding:18px 0 0}
.crumb a{color:#6b7f95}
.crumb b{color:var(--ink-2);font-weight:600}

.article-head{padding:14px 0 0}
.article-head h1{font-size:1.95rem;margin:10px 0 12px;line-height:1.4}
.article-meta{display:flex;gap:14px;flex-wrap:wrap;font-size:.83rem;color:#7d8fa3;align-items:center;
  padding-bottom:18px;border-bottom:1px solid var(--line)}
.article-meta .pill{background:var(--bg-tint);color:var(--brand);padding:2px 10px;border-radius:20px;font-weight:600}

.layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:44px;padding:26px 0 60px}
.layout > *{min-width:0}
@media(max-width:980px){.layout{grid-template-columns:minmax(0,1fr);gap:28px}}

/* 文章页：标题与正文同栏，右侧栏与标题同水平起排 */
.layout-article{padding-top:0}
.layout-article > .main-col{min-width:0}
/* 标题 h1 有行高留白（1.4 行高，字身比盒子低约 8px）：
   光让「盒子」对齐侧栏边框，看起来仍是左边偏低 —— 这里把留白补掉，
   让标题第一个字的墨迹顶端与侧栏首块的边框同高 */
.layout-article .article-head{padding-top:6px}
@media(min-width:981px){
  .layout-article > .side{padding-top:24px}
}
@media(max-width:980px){
  .layout-article{padding-top:0}
}

.post-body{font-size:1.03rem;line-height:1.95;color:#1c2b3d;overflow-wrap:break-word;word-break:break-word;min-width:0;max-width:100%}
.post-body h2{
  font-size:1.35rem;margin:2em 0 .8em;padding-left:14px;position:relative;
  border-left:4px solid var(--brand);line-height:1.5;
}
.post-body h3{font-size:1.12rem;margin:1.7em 0 .6em;color:var(--brand-deep)}
.post-body h4{font-size:1rem;margin:1.4em 0 .5em;color:var(--ink-2)}
.post-body p{margin:0 0 1.05em}
.post-body ul,.post-body ol{margin:0 0 1.1em;padding-left:1.5em}
.post-body li{margin-bottom:.45em}
.post-body ul li::marker{color:var(--brand)}
.post-body strong{color:var(--brand-deep);font-weight:700}
.post-body a{text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px;text-decoration-color:#b7d2ec}
.post-body a:hover{text-decoration-color:var(--brand)}
.post-body img{border-radius:10px;margin:1.4em auto;box-shadow:0 2px 14px rgba(15,27,43,.10);border:1px solid var(--line-2)}
.post-body figure{margin:1.6em 0}
.post-body figcaption{font-size:.84rem;color:var(--muted);text-align:center;margin-top:8px;line-height:1.6}
.post-body blockquote{
  margin:1.4em 0;padding:14px 18px;background:var(--bg-tint);border-left:4px solid #7fb4e3;
  border-radius:0 8px 8px 0;color:var(--ink-2);font-size:.96rem;
}
.post-body blockquote p:last-child{margin-bottom:0}
.post-body table{width:100%;border-collapse:collapse;margin:1.4em 0;font-size:.92rem;display:block;overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
.post-body th,.post-body td{border:1px solid var(--line);padding:9px 12px;text-align:left;vertical-align:top}
.post-body th{background:var(--bg-soft);font-weight:700;color:var(--brand-deep);white-space:nowrap}
.post-body tr:nth-child(even) td{background:#fbfcfe}
.post-body hr{border:0;border-top:1px solid var(--line);margin:2.2em 0}
.post-body code{background:var(--bg-soft);padding:1px 6px;border-radius:4px;font-size:.9em;color:#b03a2e}
.post-body pre{background:#0f1b2b;color:#dfe8f3;padding:14px 16px;border-radius:10px;overflow:auto;font-size:.86rem;line-height:1.6}
.post-body pre code{background:none;color:inherit;padding:0}

/* 文章内提示块（来源 / 免责声明） */
.notice{
  display:flex;gap:12px;padding:14px 16px;border-radius:10px;font-size:.88rem;line-height:1.7;
  margin:1.4em 0;background:#f4f8fd;border:1px solid #dbe8f6;color:#38506a;
}
.notice .ico{flex:none;font-size:1rem;line-height:1.5}
.notice strong{color:var(--brand-deep)}

/* 侧栏 */
.side{display:flex;flex-direction:column;gap:22px}
/* 右侧栏随文章滚动（粘性）：长文章往下看时侧栏一直跟着 */
@media(min-width:981px){
  .layout > .side{
    position:sticky;top:82px;align-self:start;
    max-height:calc(100vh - 100px);overflow-y:auto;overscroll-behavior:contain;
    /* 不显示滚动条（内容多时仍可滚，只是看不到那条竖条） */
    scrollbar-width:none;-ms-overflow-style:none;
  }
  .layout > .side::-webkit-scrollbar{width:0;height:0;display:none}
}
.side-box{border:1px solid var(--line);border-radius:var(--radius);padding:18px;background:#fff;flex:none}
.side-box h4{margin:0 0 12px;font-size:.95rem;display:flex;align-items:center;gap:8px}
.side-box h4::before{content:"";width:3px;height:14px;border-radius:2px;background:var(--brand)}
.side-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.side-list li{font-size:.88rem;line-height:1.55;display:flex;gap:8px}
.side-list .no{flex:none;color:#9db0c4;font-weight:700;font-size:.8rem;width:18px}
.side-list a{color:var(--ink-2)}
.side-list a:hover{color:var(--brand)}
.side-cur{background:var(--bg-tint)!important;border-radius:6px;padding:4px 8px;margin:-4px -8px;color:var(--brand)!important;font-weight:600}

/* 专辑导航（文章页顶部） */

/* ---- 侧栏：所属专辑卡 ---- */
.side-album{display:flex;flex-direction:column}
.side-album .sa-title{
  display:block;font-size:1rem;font-weight:700;color:var(--ink);line-height:1.45;
  text-decoration:none;margin-bottom:6px;
}
.side-album .sa-title:hover{color:var(--brand)}
.side-album .sa-meta{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:.78rem;color:#5b7fa3;margin-bottom:10px}
.side-album .sa-meta span{background:#f2f7fd;border-radius:4px;padding:2px 7px}
.side-album .sa-meta .sa-now{background:#e8f1fc;color:var(--brand);font-weight:700}
.side-album .sa-prog{height:6px;border-radius:5px;background:#e8eef6;overflow:hidden}
.side-album .sa-prog span{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,#2f86d6,#1257a8);transition:width .3s}
.side-album .sa-prog-tip{margin:6px 0 0;font-size:.74rem;color:#93a3b5}
.side-album .sa-enter{margin:12px 0 4px;text-align:center;font-size:.86rem}
.side-album .sa-list{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}
.side-album .sa-list-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px}
.side-album .sa-list-head b{font-size:.84rem;color:var(--ink-2)}
.side-album .sa-list-head span{font-size:.74rem;color:#93a3b5}
.side-album .sa-li{display:flex;gap:8px;align-items:flex-start}

/* 目录折叠：默认只露当前讲附近 5 条，展开后可滚动、限高 */
.sa-list .sa-hide{display:none}
.sa-list.is-open .sa-hide{display:flex}
/* 展开后直接铺开，不限高、不出滚动条；两句「还有 N 讲」提示也一并藏掉 */
.sa-list.is-open .sa-more-tip{display:none}
.sa-more-tip{margin:0 0 6px;font-size:.72rem;color:#a8b7c7}
.sa-toggle{
  display:flex;align-items:center;justify-content:center;gap:6px;width:100%;
  margin-top:10px;padding:7px 10px;border-radius:7px;background:#f4f8fd;
  border:1px solid #dbe8f6;color:#3f5468;font-size:.8rem;cursor:pointer;
  font-family:inherit;transition:.15s;
}
.sa-toggle:hover{background:#e9f2fb;border-color:#b9d5ec;color:var(--brand)}
.sa-toggle-i{font-size:.7rem;color:#8aa4bd}
.side-album .sa-li.cur .no{color:var(--brand)}
.side-album .sa-dur{flex:none;margin-left:auto;font-size:.72rem;color:#a8b7c7;padding-top:1px}
.side-album .sa-nav{display:flex;gap:8px;margin-top:14px}
.side-album .sa-nav a{
  flex:1;text-align:center;padding:7px 10px;border-radius:7px;background:#fff;
  border:1px solid #cfe0f0;font-size:.82rem;color:#3f5468;text-decoration:none;
}
.side-album .sa-nav a:hover{border-color:#a9c9e8;color:var(--brand);background:var(--bg-tint)}
.side-album .sa-nav .right{text-align:right}
.album-strip .k{font-weight:700;color:var(--brand-deep);flex:none}
.album-strip a{font-weight:600}
.album-strip .nav{margin-left:auto;display:flex;gap:8px;flex:none}
.album-strip .nav a{padding:4px 10px;border-radius:6px;background:#fff;border:1px solid #cfe0f0;font-size:.82rem}

/* 文章底部导航 */
.post-nav{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:36px;padding-top:24px;border-top:1px solid var(--line)}
.post-nav a{display:block;padding:14px 16px;border:1px solid var(--line);border-radius:10px;transition:.16s}
.post-nav a:hover{border-color:#c2d9ef;background:var(--bg-soft);text-decoration:none}
.post-nav .lab{font-size:.76rem;color:#93a3b5;display:block;margin-bottom:4px}
.post-nav .tt{font-size:.9rem;font-weight:600;color:var(--ink-2)}
.post-nav .right{text-align:right}

/* ============================================================
   7. 归档页 / 列表页
   ============================================================ */
.page-head{
  background:linear-gradient(150deg,#0c2c4c,#12578c 70%,#0f6f78);
  color:#eaf2fb;padding:38px 0 34px;
}
.page-head h1{color:#fff;font-size:1.9rem;margin:0 0 8px}
.page-head p{margin:0;color:#b8d0e6;font-size:.95rem;max-width:760px;line-height:1.7}
.page-head .crumb{color:#9dbdd8;padding:0 0 10px}
.page-head .crumb a{color:#c3dcef}
.page-head .crumb b{color:#fff}

.filter-bar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:20px 0 4px}
.filter-bar .lb{font-size:.85rem;color:var(--muted);margin-right:4px}
.chip{
  padding:6px 14px;border-radius:20px;border:1px solid var(--line);background:#fff;
  font-size:.85rem;color:var(--ink-2);transition:.16s;
}
.chip:hover{border-color:#bcd6f0;color:var(--brand);text-decoration:none;background:var(--bg-tint)}
.chip.on{background:var(--brand);border-color:var(--brand);color:#fff}
.chip.on:hover{color:#fff}

.pager{display:flex;gap:8px;justify-content:center;padding:36px 0 8px;flex-wrap:wrap}
.pager a,.pager span{
  min-width:38px;height:38px;padding:0 12px;border-radius:8px;border:1px solid var(--line);
  display:grid;place-items:center;font-size:.88rem;color:var(--ink-2);background:#fff;
}
.pager a:hover{border-color:#bcd6f0;color:var(--brand);text-decoration:none}
.pager .cur{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:700}
.pager .dots{border:0;background:none;color:#9db0c4}

.empty{text-align:center;padding:70px 20px;color:var(--muted)}
.empty h2{color:var(--ink-2);font-size:1.2rem}

/* ============================================================
   8. 资源详情
   ============================================================ */
.res-hero{display:grid;grid-template-columns:1fr 320px;gap:32px;padding:28px 0 50px}
@media(max-width:900px){.res-hero{grid-template-columns:1fr}}
.dl-box{
  border:1px solid #d8e6f4;border-radius:14px;padding:22px;background:linear-gradient(170deg,#f6faff,#eef6fd);
  position:sticky;top:86px;height:fit-content;
}
.dl-box h3{margin:0 0 6px;font-size:1.05rem}
.dl-box .sub{font-size:.84rem;color:var(--muted);margin-bottom:16px}
.dl-rows{display:flex;flex-direction:column;gap:10px;font-size:.86rem;margin-bottom:18px}
.dl-rows div{display:flex;justify-content:space-between;gap:12px;padding-bottom:9px;border-bottom:1px dashed #dbe7f3}
.dl-rows span:first-child{color:var(--muted)}
.dl-rows span:last-child{font-weight:600;color:var(--ink-2);text-align:right}
.pan-result{
  margin-top:14px;padding:14px;border-radius:10px;background:#fff;border:1px solid #d8e6f4;
  display:none;font-size:.88rem;
}
.pan-result.show{display:block}
.pan-result .lab{font-size:.78rem;color:var(--muted);display:block;margin-bottom:3px}
.pan-result .val{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.86rem;word-break:break-all;color:var(--brand-deep);background:#f4f8fd;padding:8px 10px;border-radius:6px;margin-bottom:10px;display:block}
.pan-result .code{font-size:1.1rem;font-weight:700;letter-spacing:.14em;color:var(--warn);font-family:ui-monospace,Menlo,Consolas,monospace}
.copy-btn{margin-top:10px;width:100%}
.tips{font-size:.78rem;color:#93a3b5;line-height:1.7;margin-top:14px;padding-top:12px;border-top:1px dashed #dbe7f3}

/* 文章内推荐资源块 */
.rel-res{
  margin:38px 0 0;padding:24px;border-radius:14px;
  background:linear-gradient(170deg,#f7fbff,#eef6fd);border:1px solid #dbe8f6;
}
.rel-res-head{margin-bottom:16px}
.rel-res-head h3{margin:0 0 4px;font-size:1.08rem;color:var(--brand-deep)}
.rel-res-head p{margin:0;font-size:.86rem;color:var(--muted)}
.rel-res-list{display:flex;flex-direction:column;gap:10px}
.rel-res-list .res-item{padding:14px;background:#fff}
.rel-res-list .res-ico{width:44px;height:44px;font-size:1rem;border-radius:10px}
.rel-res-list .res-main h3{font-size:.95rem}
.rel-res-list .res-main p{font-size:.82rem;margin-bottom:6px}
.rel-res-list .res-tags{font-size:.74rem;gap:6px}
.rel-res-list .btn{padding:6px 14px;font-size:.84rem}
.rel-res-more{display:inline-block;margin-top:14px;font-size:.88rem;font-weight:600}
@media(max-width:640px){
  .rel-res{padding:16px}
  .rel-res-list .res-act{display:none}
}

/* ============================================================
   9. 全站「资料来自网络、免费分享」提示
   ============================================================ */
.share-bar{
  background:#0b1c2e;border-top:1px solid #1c3145;color:#9db4cb;font-size:.82rem;
}
.share-bar .wrap{display:flex;align-items:center;gap:10px;padding-top:14px;padding-bottom:14px;flex-wrap:wrap}
.share-bar .sb-ico{flex:none;font-size:.95rem;opacity:.9}
.share-bar .sb-text{flex:1;min-width:220px;line-height:1.7;color:#93a9bf}
.share-bar .sb-link{flex:none;color:#7fd8c8;font-weight:600;white-space:nowrap}
.share-bar .sb-link:hover{color:#a9ecdf;text-decoration:none}

/* 正文里的来源提示块 */
.source-note{
  margin:26px 0 0;padding:16px 18px;border-radius:12px;
  background:#fffdf6;border:1px solid #f0e2bd;font-size:.86rem;line-height:1.8;color:#7a6320;
}
.source-note b{color:#8a5a00}
.source-note a{color:#8a5a00;text-decoration:underline}

/* 资源页强调条 */
.free-badge{
  display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border-radius:20px;
  background:#e8f7f4;color:#0b7d70;font-size:.78rem;font-weight:700;border:1px solid #c6ebe4;
}

/* 资源推荐大卡（文章页/首页） */
.res-promo{
  border:1px solid #cfe6f6;border-radius:14px;overflow:hidden;
  background:linear-gradient(170deg,#f7fbff,#eaf5fd);
}
.res-promo-head{
  padding:16px 18px;color:#eaf2fb;
  background:linear-gradient(120deg,#0f3b63,#12578c 60%,#0f7a72);
}
.res-promo-head h3{margin:0 0 4px;font-size:1.05rem;color:#fff}
.res-promo-head p{margin:0;font-size:.83rem;color:#b8d5ea}
.res-promo-list{padding:12px;display:flex;flex-direction:column;gap:10px}
.res-promo-list .res-item{background:#fff}
.res-promo-foot{padding:0 12px 14px}

/* ============================================================
   10. 页脚
   ============================================================ */
.site-footer{background:#0b1c2e;color:#93a9bf;padding:44px 0 0;margin-top:20px;font-size:.88rem}
.foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:32px;padding-bottom:32px}
@media(max-width:860px){.foot-grid{grid-template-columns:1fr 1fr;gap:24px}}
@media(max-width:560px){.foot-grid{grid-template-columns:1fr;gap:22px}.foot-bottom{flex-direction:column;gap:8px}}
.site-footer h5{color:#e3edf7;font-size:.92rem;margin:0 0 12px;font-weight:700}
.site-footer a{color:#9db4cb}
.site-footer a:hover{color:#fff;text-decoration:none}
.foot-brand{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.foot-brand .brand-mark{box-shadow:none}
.foot-brand b{color:#fff;font-size:1rem}
.site-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.foot-bottom{border-top:1px solid #1c3145;padding:16px 0;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:.84rem;color:#94a9bf}

/* ============================================================
   10. 杂项
   ============================================================ */
.cta-band{
  border-radius:16px;padding:34px 36px;color:#eaf2fb;
  background:linear-gradient(120deg,#0f3b63,#12578c 55%,#0f7a72);
  display:flex;align-items:center;gap:24px;flex-wrap:wrap;
}
.cta-band h2{color:#fff;margin:0 0 6px;font-size:1.3rem}
.cta-band p{margin:0;color:#bcd5ea;font-size:.9rem}
.cta-band .btn{margin-left:auto;background:#fff;color:var(--brand-deep)}
.cta-band .btn:hover{background:#eaf2fb;color:var(--brand-deep);text-decoration:none}

.to-top{
  position:fixed;right:22px;bottom:26px;width:42px;height:42px;border-radius:50%;
  background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);color:var(--brand);
  display:none;place-items:center;cursor:pointer;z-index:50;font-size:1rem;
}
.to-top.show{display:grid}

/* ============================================================
   11. PDF 电子书版式
   ============================================================ */
.book-hero{
  display:grid;grid-template-columns:300px minmax(0,1fr);gap:38px;
  padding:26px 0 40px;align-items:start;
}
@media(max-width:860px){.book-hero{grid-template-columns:1fr;gap:22px}}
.book-cover{
  position:relative;border-radius:12px;overflow:hidden;background:#eef4fb;
  box-shadow:0 10px 30px rgba(15,27,43,.16);border:1px solid #dbe6f2;
}
/* 电子书按钮下方的正版建议 */
.book-copyright{
  display:flex;gap:10px;align-items:flex-start;margin:14px 0 0;padding:11px 13px;
  border-radius:9px;background:#fff9ea;border:1px solid #f0e0bb;color:#7d5f16;
  font-size:.8rem;line-height:1.75;
}
.book-copyright .bc-ico{
  flex:0 0 18px;height:18px;border-radius:50%;background:#e8b93c;color:#fff;
  display:grid;place-items:center;font-size:.72rem;font-weight:800;line-height:1;margin-top:2px;
}
.book-copyright b{color:#6b4f0e}
.book-copyright a{color:#8a6a1f;text-decoration:underline}
@media(max-width:560px){.book-copyright{font-size:.78rem}}

/* 电子书规格表（主编/出版社/页数…），把右侧撑起来 */
.book-spec{
  margin:16px 0 20px;padding:4px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;
}
.book-spec .bs-row{display:flex;gap:10px;padding:9px 0;font-size:.86rem;border-bottom:1px dashed #eef2f7}
.book-spec .bs-row:nth-last-child(-n+2){border-bottom:0}
.book-spec dt{flex:0 0 62px;color:var(--muted)}
.book-spec dd{margin:0;color:var(--ink-2);font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis}
@media(max-width:560px){
  .book-spec{grid-template-columns:1fr;gap:0}
  .book-spec .bs-row:nth-last-child(-n+2){border-bottom:1px dashed #eef2f7}
  .book-spec .bs-row:last-child{border-bottom:0}
}
.book-cover{aspect-ratio:3/4}
.book-cover img{width:100%;height:100%;display:block;object-fit:contain;background:#f2f6fb}
.book-cover-ph{
  display:grid;place-items:center;aspect-ratio:3/4;color:#8aa6c4;
  font-size:1.4rem;font-weight:700;letter-spacing:.1em;
}
.book-badge{
  position:absolute;left:10px;top:10px;padding:3px 10px;border-radius:6px;
  background:rgba(10,47,86,.85);color:#dbe9f7;font-size:.72rem;font-weight:700;
}
.book-info h1{font-size:1.75rem;line-height:1.4;margin:0 0 14px}
.book-meta{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:16px;
  font-size:.86rem;color:#5b6b7f}
.book-meta .bm{background:#f6f8fb;border:1px solid #eef2f7;padding:4px 11px;border-radius:6px}
.book-meta .bm b{color:#0f1b2b}
.book-desc{font-size:.96rem;line-height:1.9;color:#3d5166;margin:0 0 22px;max-width:640px}
.book-hint{font-size:.8rem;color:#93a3b5;margin:10px 0 0}

.book-sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:14px;
  margin:0 0 16px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.book-sec-head h2{margin:0;font-size:1.15rem;padding-left:12px;border-left:4px solid var(--brand)}
.book-sec-head span{font-size:.82rem;color:#93a3b5}

.book-toc{padding:10px 0 36px}
.toc-list{list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 28px}
@media(max-width:760px){.toc-list{grid-template-columns:1fr}}
.toc-list li{display:flex;align-items:baseline;gap:8px;padding:7px 0;
  border-bottom:1px dashed #eef2f7;font-size:.9rem}
.toc-t{flex:1;min-width:0;color:#243447;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.toc-p{flex:none;font-size:.78rem;color:#93a3b5;font-variant-numeric:tabular-nums}

.book-preview{padding:10px 0 40px}
.pv-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media(max-width:760px){.pv-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
.pv-item{display:block;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;
  background:#fff;transition:.18s;box-shadow:0 1px 3px rgba(15,27,43,.05)}
.pv-item:hover{border-color:#bcd6f0;box-shadow:0 8px 24px rgba(15,27,43,.10);transform:translateY(-2px)}
.pv-item img{width:100%;display:block}
.pv-note{font-size:.8rem;color:#93a3b5;margin:12px 0 0}

.book-body{padding:6px 0 50px;max-width:820px}
.free-badge.pending{background:#fdf6e3;color:#8a5a00;border-color:#f0e2bd}

/* ============================================================
   12. 首页（学习优先 · 精简版）
   ============================================================ */

/* ---- 首屏 ---- */
.hero-lean{padding:60px 0 56px}
.hero-inner{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:56px;align-items:center}
@media(max-width:980px){.hero-inner{grid-template-columns:minmax(0,1fr);gap:34px}}
.hero-eyebrow{
  display:inline-block;margin-bottom:16px;padding:5px 12px;border-radius:20px;
  font-size:.78rem;letter-spacing:.06em;color:#8fe0d1;
  background:rgba(127,216,200,.10);border:1px solid rgba(127,216,200,.28);
}
.hero-lean h1{font-size:2.42rem;line-height:1.34;margin:0 0 .5em;letter-spacing:-.01em}
@media(max-width:560px){.hero-lean h1{font-size:1.9rem}}
.hero-lean p.lead{font-size:1.02rem;color:#c3d6ea;max-width:600px;margin:0 0 1.6em;line-height:1.8}

/* 首屏搜索框（取代原来的两个入口按钮）：访客直接搜，不再先分流 */
.hero-lean .hero-search{margin-bottom:26px}
@media(max-width:560px){
  .hero-lean .hero-search{gap:8px;margin-bottom:22px}
  .hero-lean .hero-search input{padding:12px 13px;font-size:.94rem;min-width:0}
  .hero-lean .hero-search button{padding:0 16px;font-size:.92rem}
}

.hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:30px}
.hero-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:44px;padding:0 22px;border-radius:10px;
  font-size:.96rem;font-weight:600;line-height:1;color:#dceaf7;text-decoration:none;
  border:1px solid rgba(255,255,255,.26);background:rgba(255,255,255,.06);transition:.16s;
}
.hero-btn:hover{background:rgba(255,255,255,.14);color:#fff;text-decoration:none;border-color:rgba(255,255,255,.42)}
.hero-btn-main{background:#7fd8c8;border-color:#7fd8c8;color:#08313a}
.hero-btn-main:hover{background:#9ce8da;border-color:#9ce8da;color:#08313a}

.hero-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:.86rem;color:#9fb8d0}
.hero-meta b{color:#fff;font-weight:800;font-size:1.06rem;font-variant-numeric:tabular-nums}
.hero-meta .dot{width:3px;height:3px;border-radius:50%;background:#5c7794}

/* 首屏右侧：九个部位入口（3×3） */
.hero-parts{
  background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.10);
  border-radius:16px;padding:16px;
}
.hero-part-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.hp-item{
  display:flex;flex-direction:column;align-items:center;gap:7px;padding:12px 6px;
  border-radius:11px;text-decoration:none;transition:.16s;min-width:0;
}
.hp-item:hover{background:rgba(255,255,255,.10);text-decoration:none}
.hp-thumb{
  width:44px;height:44px;flex:0 0 44px;border-radius:10px;overflow:hidden;
  background:#fff;display:grid;place-items:center;padding:4px;
}
.hp-thumb img{width:100%;height:100%;object-fit:contain;display:block}
.hp-ico{color:#0f3b63;font-weight:800;font-size:1.05rem}
.hp-name{
  font-size:.82rem;color:#cfe0f0;line-height:1.2;text-align:center;
  max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.hp-item:hover .hp-name{color:#fff}
@media(max-width:980px){
  .hero-parts{padding:12px}
  .hero-part-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
}
@media(max-width:560px){
  .hero-part-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hp-thumb{width:42px;height:42px;flex:0 0 42px}
}

/* ---- 按部位：一行 3 个，两行排满 ---- */
.section-parts{padding:44px 0}
.parts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media(max-width:760px){.parts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
@media(max-width:430px){.parts{grid-template-columns:1fr;gap:8px}}

.part-tile{
  display:flex;align-items:center;gap:12px;padding:12px 14px;
  border:1px solid var(--line);border-radius:10px;background:#fff;
  transition:.16s;text-align:left;min-width:0;text-decoration:none;
}
.part-tile:hover{border-color:#9cc4e6;box-shadow:0 8px 22px rgba(15,27,43,.12);
  transform:translateY(-2px);text-decoration:none}
.part-thumb{
  flex:0 0 52px;width:52px;height:52px;min-width:52px;max-width:52px;
  border-radius:8px;overflow:hidden;background:#0b1a2a;position:relative;
  display:block;aspect-ratio:1/1;
}
.part-thumb img{width:100%;height:100%;object-fit:cover;object-position:center;
  display:block;transition:transform .3s}
.part-tile:hover .part-thumb img{transform:scale(1.09)}
.part-thumb .part-ico{
  position:absolute;inset:0;width:auto;height:auto;border-radius:0;
  display:grid;place-items:center;font-size:1.05rem;font-weight:800;
  background:linear-gradient(150deg,#12293f,#0b1a2a);color:#8fc4e8;
}
.part-text{display:flex;flex-direction:column;justify-content:center;
  min-width:0;flex:1 1 auto;height:52px}
.part-text b{display:block;font-size:.95rem;color:var(--ink);line-height:1.3;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0}
.part-text span{display:block;font-size:.76rem;color:#7d8fa3;line-height:1.2;margin:3px 0 0}
@media(max-width:640px){
  .part-tile{padding:10px 11px;gap:10px}
  .part-thumb{flex:0 0 44px;width:44px;height:44px;min-width:44px;max-width:44px}
  .part-text{height:44px}
  .part-text b{font-size:.9rem}
}
@media(max-width:430px){
  .part-tile{flex-direction:row}
  .part-thumb{flex:0 0 48px;width:48px;height:48px;min-width:48px;max-width:48px}
  .part-text{height:48px;flex:1}
}

/* ---- 主推文章 ---- */
.feat{
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;
  transition:.18s;text-decoration:none;min-width:0;
}
@media(max-width:760px){.feat{grid-template-columns:minmax(0,1fr)}}
.feat:hover{border-color:#cfe0f2;box-shadow:0 12px 34px rgba(15,27,43,.10);text-decoration:none}
.feat-thumb{position:relative;background:#0b1a2a;overflow:hidden;min-height:280px;display:block}
.feat-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.feat:hover .feat-thumb img{transform:scale(1.03)}
.feat-thumb .ph{position:absolute;inset:0;display:grid;place-items:center;color:#7e9ab5;font-size:.9rem}
.feat-body{padding:30px 34px;display:flex;flex-direction:column;gap:13px;justify-content:center;min-width:0}
.feat-badge{align-self:flex-start;padding:3px 11px;border-radius:20px;background:var(--bg-tint);
  color:var(--brand);font-size:.76rem;font-weight:700}
.feat-title{font-size:1.36rem;font-weight:700;line-height:1.5;color:var(--ink)}
.feat:hover .feat-title{color:var(--brand)}
.feat-desc{font-size:.96rem;color:#41566b;line-height:1.9;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.feat-more{margin-top:6px;font-size:.88rem;font-weight:600;color:var(--brand)}

/* ---- 首页：文章区（左主推 + 右列表） ---- */
.section-articles{padding:52px 0 44px}
/* 两栏等高；左卡多出来的高度由封面图吸收，正文块保持内容高度 ——
   否则被拉伸的是正文块，内容贴顶排，卡片底部会留一大块空白（用户报过） */
.art-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:28px;align-items:stretch}
@media(max-width:980px){.art-layout{grid-template-columns:minmax(0,1fr);gap:22px}}

/* 主推大卡 */
.art-lead{
  display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;
  overflow:hidden;background:#fff;text-decoration:none;transition:.18s;
  height:100%;
}
.art-lead:hover{text-decoration:none;border-color:#cfe0f2;box-shadow:0 12px 32px rgba(15,27,43,.10)}
/* 封面按 16:9 起算，但卡片被右栏撑高时由封面吃掉多出来的高度，
   否则文字块被拉高、内容贴着顶端排，卡片底部会留一大块空白 */
/* 封面按 16:9 起算，卡片被撑高时由封面吃掉多余高度（图片 object-fit:cover，不会变形） */
.art-lead-cover{position:relative;display:block;aspect-ratio:16/9;background:#0b1a2a;overflow:hidden;flex:1 1 auto;min-height:0}
.art-lead-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.art-lead:hover .art-lead-cover img{transform:scale(1.03)}
.art-lead-cover .ph{position:absolute;inset:0;display:grid;place-items:center;color:#7e9ab5;font-size:.9rem}
.art-tag{
  position:absolute;left:14px;top:14px;padding:4px 11px;border-radius:6px;
  background:rgba(10,47,86,.86);color:#dbe9f7;font-size:.74rem;font-weight:600;
  letter-spacing:.02em;backdrop-filter:blur(4px);
}
.art-lead-body{padding:20px 22px 24px;display:flex;flex-direction:column;gap:10px;flex:none}
.art-lead-title{font-size:1.24rem;font-weight:700;color:var(--ink);line-height:1.5;letter-spacing:-.005em}
.art-lead:hover .art-lead-title{color:var(--brand)}
.art-lead-desc{
  font-size:.9rem;color:#4a5f75;line-height:1.8;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.art-lead-meta{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin-top:2px;font-size:.82rem;color:#93a3b5;
}
.art-go{font-size:.88rem;font-weight:600;color:var(--brand);white-space:nowrap}

/* 右侧列表：三条紧凑行 */
.art-side{display:flex;flex-direction:column;gap:0;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden;height:100%}
.art-row{display:flex;gap:14px;padding:14px 18px;text-decoration:none;transition:.16s;align-items:center;
  flex:1 1 0;min-height:104px;max-height:132px}
.art-row + .art-row{border-top:1px solid var(--line-2)}
.art-row:hover{background:#fafcff;text-decoration:none}
.art-row-thumb{
  flex:0 0 104px;width:104px;height:70px;border-radius:8px;overflow:hidden;
  background:#0b1a2a;position:relative;
}
.art-row-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.art-row-thumb .ph{position:absolute;inset:0;display:grid;place-items:center;color:#7e9ab5;font-size:.7rem}
.art-row-body{min-width:0;display:flex;flex-direction:column;gap:5px;flex:1}
.art-row-tag{font-size:.72rem;color:var(--brand);background:var(--bg-tint);padding:2px 8px;border-radius:5px;font-weight:600;align-self:flex-start}
.art-row-title{
  font-size:.95rem;font-weight:600;color:var(--ink);line-height:1.55;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.art-row:hover .art-row-title{color:var(--brand)}
.art-row-date{font-size:.76rem;color:#93a3b5}
@media(max-width:560px){
  .art-row{flex:none;min-height:0}
  .art-row-thumb{flex:0 0 88px;width:88px;height:62px}
  .art-lead-body{padding:16px 16px 18px}
  .art-lead-title{font-size:1.08rem}
}
@media(max-width:980px){
  .art-row{flex:none;min-height:0}
  .art-lead-cover{min-height:0}
}

/* 文章少时的等宽三列卡片 */
.art-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
@media(max-width:980px){.art-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:560px){.art-grid{grid-template-columns:minmax(0,1fr)}}
.art-card{
  display:flex;flex-direction:column;border:1px solid var(--line);border-radius:13px;
  overflow:hidden;background:#fff;text-decoration:none;transition:.18s;
}
.art-card:hover{text-decoration:none;border-color:#cfe0f2;box-shadow:0 10px 28px rgba(15,27,43,.09);transform:translateY(-2px)}
.art-card-cover{position:relative;display:block;aspect-ratio:16/9;background:#0b1a2a;overflow:hidden}
.art-card-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.art-card:hover .art-card-cover img{transform:scale(1.04)}
.art-card-cover .ph{position:absolute;inset:0;display:grid;place-items:center;color:#7e9ab5;font-size:.8rem}
.art-card-body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:8px;flex:1}
.art-card-title{font-size:1rem;font-weight:700;color:var(--ink);line-height:1.5;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.art-card:hover .art-card-title{color:var(--brand)}
.art-card-desc{font-size:.86rem;color:#4a5f75;line-height:1.75;flex:1;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.art-card-date{font-size:.76rem;color:#93a3b5}

/* ---- 学习专辑（图标封面，不用照片） ---- */
.section-albums{padding:44px 0 56px;background:var(--bg-soft);border-top:1px solid var(--line-2)}
.album-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
@media(max-width:900px){.album-row{grid-template-columns:minmax(0,1fr);gap:14px}}
.alb{
  display:flex;flex-direction:column;border:1px solid var(--line);border-radius:13px;
  overflow:hidden;background:#fff;transition:.18s;text-decoration:none;min-width:0;
}
.alb:hover{border-color:#cfe0f2;box-shadow:0 10px 28px rgba(15,27,43,.09);
  text-decoration:none;transform:translateY(-2px)}

.alb-cover{
  position:relative;display:flex;align-items:center;gap:14px;
  padding:18px 18px;background:linear-gradient(135deg,#0f3b63,#12578c 62%,#0f7a72);
  min-height:96px;
}
.alb-icon{
  flex:0 0 52px;width:52px;height:52px;border-radius:12px;background:#fff;
  display:grid;place-items:center;padding:5px;overflow:hidden;
}
.alb-icon img{width:100%;height:100%;object-fit:contain;display:block}
.alb-ico-txt{color:#0f3b63;font-weight:800;font-size:1.1rem}
.alb-cover-img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;
}
.alb-has-cover .alb-cover{min-height:0;aspect-ratio:16/9;padding:0;display:block;overflow:hidden}
.alb-has-cover .alb-cover::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(8,22,38,.42) 0%,rgba(8,22,38,.06) 42%,rgba(8,22,38,.62) 100%);
}
.alb-has-cover .alb-count{background:rgba(10,26,44,.72);backdrop-filter:blur(4px)}

.alb-count{
  position:absolute;right:14px;top:14px;padding:3px 9px;border-radius:6px;
  background:rgba(255,255,255,.16);color:#eaf6ff;font-size:.72rem;font-weight:600;
  border:1px solid rgba(255,255,255,.22);
}
.alb-part{
  position:absolute;right:14px;bottom:14px;font-size:.74rem;color:#a9d5ef;font-weight:600;
}

.alb-body{padding:16px 18px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.alb-title{font-size:1.06rem;color:var(--ink);line-height:1.45;font-weight:700}
.alb:hover .alb-title{color:var(--brand)}
.alb-intro{font-size:.88rem;color:#4a5f75;line-height:1.75;flex:1;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.alb-first{
  font-size:.78rem;color:#93a3b5;margin-top:2px;padding-top:10px;
  border-top:1px dashed var(--line);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}

/* ---- 学习专辑 ---- */
.section-albums{padding:44px 0 56px;background:var(--bg-soft);border-top:1px solid var(--line-2)}

/* ---- 文章列表 ---- */
.post-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
@media(max-width:760px){.post-list{grid-template-columns:1fr}}
.pl-item{
  display:flex;gap:16px;padding:16px;border:1px solid var(--line);border-radius:11px;
  background:#fff;transition:.16s;min-width:0;text-decoration:none;align-items:flex-start;
}
.pl-item:hover{border-color:#cfe0f2;box-shadow:0 6px 18px rgba(15,27,43,.07);
  text-decoration:none;transform:translateY(-1px)}
.pl-thumb{flex:0 0 104px;width:104px;height:78px;border-radius:8px;overflow:hidden;
  background:#0b1a2a;position:relative}
.pl-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.pl-thumb .ph{position:absolute;inset:0;display:grid;place-items:center;color:#7e9ab5;font-size:.7rem}
.pl-body{min-width:0;display:flex;flex-direction:column;gap:6px;flex:1}
.pl-badge{align-self:flex-start;font-size:.72rem;color:var(--brand);background:var(--bg-tint);
  padding:2px 8px;border-radius:5px;font-weight:600}
.pl-title{font-size:.96rem;font-weight:600;color:var(--ink);line-height:1.5;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pl-item:hover .pl-title{color:var(--brand)}
.pl-desc{font-size:.86rem;color:#4a5f75;line-height:1.7;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pl-views{font-size:.78rem;color:#93a3b5;letter-spacing:.01em}

/* ---- 热门文章（白底，不做整条浅色背景） ---- */
.section-hot{padding:52px 0}
.section-hot .post-list{margin-top:0}

/* ---- 首页：病例读片 ---- */
.case-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
@media(max-width:900px){.case-row{grid-template-columns:1fr;gap:12px}}
.case-card{
  display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;
  overflow:hidden;background:#fff;text-decoration:none;transition:.18s;min-width:0;
}
.case-card:hover{border-color:#cfe0f2;box-shadow:0 10px 28px rgba(15,27,43,.09);transform:translateY(-2px)}
.cc-thumb{position:relative;aspect-ratio:4/3;background:#0b1a2a;overflow:hidden;display:block}
.cc-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
.case-card:hover .cc-thumb img{transform:scale(1.04)}
.cc-ph{position:absolute;inset:0;display:grid;place-items:center;color:#7e9ab5;font-size:.9rem}
.cc-count{
  position:absolute;right:9px;top:9px;padding:3px 9px;border-radius:6px;
  background:rgba(10,47,86,.85);color:#dbe9f7;font-size:.72rem;font-weight:600;backdrop-filter:blur(4px);
}
.cc-body{padding:13px 15px 16px;display:flex;flex-direction:column;gap:7px;flex:1;min-width:0}
.cc-title{font-size:.98rem;color:var(--ink);line-height:1.45;font-weight:700;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.case-card:hover .cc-title{color:var(--brand)}
.cc-desc{font-size:.82rem;color:#5b7fa3;line-height:1.65;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cc-tag{align-self:flex-start;font-size:.72rem;color:var(--brand);background:var(--bg-tint);
  padding:2px 9px;border-radius:5px;font-weight:600;margin-top:auto}

/* ---- 专辑 ---- */
.album-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
@media(max-width:900px){.album-row{grid-template-columns:1fr}}
.alb{
  display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;
  overflow:hidden;background:#fff;transition:.18s;text-decoration:none;min-width:0;
}
.alb:hover{border-color:#cfe0f2;box-shadow:0 10px 28px rgba(15,27,43,.09);
  text-decoration:none;transform:translateY(-2px)}
.alb-cover{position:relative;aspect-ratio:16/9;background:#0b1a2a;overflow:hidden;display:block}
.alb-cover img{width:100%;height:100%;object-fit:cover;object-position:center;
  display:block;transition:transform .35s}
.alb:hover .alb-cover img{transform:scale(1.04)}
.alb-ph{position:absolute;inset:0;display:grid;place-items:center;color:#7e9ab5;font-size:.9rem}
.alb-count{position:absolute;right:10px;top:10px;padding:3px 9px;border-radius:6px;
  background:rgba(10,47,86,.85);color:#dbe9f7;font-size:.72rem;font-weight:600;backdrop-filter:blur(4px)}
.alb-tag{align-self:flex-start;font-size:.72rem;color:var(--brand);background:var(--bg-tint);
  padding:2px 8px;border-radius:5px;font-weight:600}
.alb-title{font-size:1.02rem;color:var(--ink);line-height:1.45;font-weight:700}
.alb-body{padding:16px 18px 20px;display:flex;flex-direction:column;gap:8px;min-width:0;flex:1}
.alb-body b{font-size:1rem;color:var(--ink);line-height:1.45}
.alb:hover .alb-body b{color:var(--brand)}
.alb-intro{font-size:.88rem;color:#4a5f75;line-height:1.7;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.alb-first{font-size:.78rem;color:#93a3b5;margin-top:2px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ---- 页脚 ---- */
@media(max-width:560px){
  .foot-grid{grid-template-columns:1fr;gap:22px}
  .foot-bottom{flex-direction:column;gap:8px}
}

/* ---- 小节标题：只带「一、二、」序号，不画左边蓝条 ---- */
.post-body h2.sec{border-left:0;padding-left:0}

/* ============================================================
   20. 专辑详情页（2026-11-03 重构：一套课程 = 一个专辑 = 一个资源包）
   ============================================================ */
.alb-hero{background:linear-gradient(150deg,#0a2642,#104e7f 62%,#0d6f74);color:#eaf2fb;padding:30px 0 34px}
.alb-hero-in{display:grid;grid-template-columns:280px minmax(0,1fr);gap:32px;align-items:start}
@media(max-width:860px){.alb-hero-in{grid-template-columns:minmax(0,1fr);gap:18px}}
.alb-cover{position:relative;border-radius:14px;overflow:hidden;background:rgba(255,255,255,.08);aspect-ratio:16/10;box-shadow:0 16px 40px rgba(0,0,0,.30)}
.alb-cover img{width:100%;height:100%;object-fit:cover;display:block}
.alb-cover-ph{display:grid;place-items:center;width:100%;height:100%;font-size:.95rem;color:#a9c6df;letter-spacing:.1em}
.alb-cover-tag{position:absolute;left:10px;top:10px;background:rgba(9,26,44,.78);color:#bfe0f5;font-size:.72rem;padding:4px 9px;border-radius:20px;letter-spacing:.06em}
.alb-crumb{color:#9dbdd8;padding:0 0 8px;font-size:.8rem}
.alb-crumb a{color:#c3dcef}
.alb-crumb b{color:#fff}
.alb-head h1{color:#fff;font-size:1.85rem;margin:2px 0 10px;line-height:1.35}
.alb-lead{margin:0 0 14px;color:#c2d8ea;font-size:.95rem;line-height:1.75;max-width:760px}
.alb-facts{display:flex;flex-wrap:wrap;gap:8px 10px;font-size:.82rem;color:#b9d2e6;margin-bottom:18px}
.alb-facts span{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.13);padding:4px 11px;border-radius:20px;line-height:1.5}
.alb-facts b{color:#fff;font-weight:700}
.alb-facts .alb-lv{background:rgba(15,138,128,.30);border-color:rgba(15,138,128,.45);color:#c9f2ee}
.alb-cta{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.alb-cta .btn-ghost{background:rgba(255,255,255,.10);color:#eaf2fb;border-color:rgba(255,255,255,.30)}
.alb-cta .btn-ghost:hover{background:rgba(255,255,255,.20);color:#fff;border-color:rgba(255,255,255,.55)}
.alb-cta-hint{margin:12px 0 0;font-size:.78rem;color:#9fbdd6;line-height:1.7}

.alb-intro{padding-top:22px}
.alb-sec{margin-top:30px}
.alb-sec p{margin-top:4px}

/* 主资源大卡 */
.alb-res-main{display:flex;gap:16px;align-items:flex-start;padding:18px;border:1px solid #d8e6f4;border-radius:14px;
  background:linear-gradient(160deg,#f7fbff,#eef6fd);box-shadow:0 2px 10px rgba(15,27,43,.05)}
@media(max-width:700px){.alb-res-main{flex-wrap:wrap}}
.arm-ico{flex:none;width:52px;height:52px;border-radius:12px;display:grid;place-items:center;font-size:1.25rem;font-weight:800}
.arm-body{flex:1;min-width:0}
.arm-kicker{display:block;font-size:.72rem;letter-spacing:.1em;color:#5b8bb8;font-weight:700;margin-bottom:4px}
.arm-body h3{margin:0 0 6px;font-size:1.05rem;line-height:1.5}
.arm-body h3 a{color:var(--brand-deep)}
.arm-body p{margin:0 0 8px;font-size:.86rem;color:var(--muted);line-height:1.7}
.arm-tags{display:flex;flex-wrap:wrap;gap:6px}
.arm-tags span{background:#fff;border:1px solid #d5e5f4;color:#41607d;font-size:.75rem;padding:2px 9px;border-radius:20px}
.arm-note{margin:8px 0 0!important;font-size:.78rem;color:#8b9aab}
.arm-act{flex:none;display:flex;flex-direction:column;gap:8px;align-items:stretch;min-width:118px}
.arm-more{font-size:.78rem;color:#6b8aa8;text-align:center}

/* 配套资源列表 */
.alb-res-extra{margin-top:16px;border:1px solid var(--line);border-radius:14px;padding:16px 18px;background:#fff}
.alb-res-extra h4{margin:0 0 12px;font-size:.92rem;display:flex;align-items:center;gap:8px}
.alb-res-extra h4::before{content:"";width:3px;height:14px;border-radius:2px;background:var(--accent)}
.alb-res-list{display:flex;flex-direction:column;gap:10px}
.arl-item{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line-2);border-radius:10px;background:#fbfcfe}
.arl-ico{flex:none;width:34px;height:34px;border-radius:9px;display:grid;place-items:center;font-size:.9rem;font-weight:800}
.arl-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.arl-main a{font-size:.92rem;font-weight:600;color:var(--ink-2);line-height:1.5}
.arl-tags{display:flex;flex-wrap:wrap;gap:6px}
.arl-tags span{font-size:.72rem;color:#7d8fa3;background:#eef3f8;padding:1px 8px;border-radius:20px}
.arl-btn{flex:none;padding:6px 14px;font-size:.82rem}

/* 课程目录 */
.alb-lessons{display:flex;flex-direction:column;gap:12px;padding-bottom:10px}
.alb-lesson{display:flex;align-items:center;gap:14px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;
  background:#fff;text-decoration:none;transition:.16s}
.alb-lesson:hover{border-color:#cfe0f2;box-shadow:0 8px 24px rgba(15,27,43,.06);text-decoration:none}
.al-no{flex:none;width:30px;height:30px;border-radius:8px;background:#eef4fb;color:var(--brand);display:grid;place-items:center;font-weight:700;font-size:.82rem}
.al-thumb{flex:none;width:132px;height:74px;border-radius:8px;overflow:hidden;background:#eef4fb;display:block}
.al-thumb img{width:100%;height:100%;object-fit:cover}
.al-thumb-ph{display:grid;place-items:center;width:100%;height:100%;color:#a8bccf;font-weight:800;letter-spacing:.06em}
.al-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.al-body b{font-size:.98rem;color:var(--ink);line-height:1.5;font-weight:700}
.al-desc{font-size:.84rem;color:var(--muted);line-height:1.6;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.al-meta{display:flex;gap:10px;font-size:.76rem;color:#8395a8;margin-top:2px;flex-wrap:wrap}
.al-dur{color:#2f7fb8}
.al-go{flex:none;font-size:.82rem;color:var(--brand);font-weight:600}
@media(max-width:700px){
  .al-thumb{display:none}
  .al-go{display:none}
  .alb-head h1{font-size:1.45rem}
}

/* 侧栏 */
.alb-info{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.alb-info li{display:flex;justify-content:space-between;gap:12px;font-size:.85rem;color:var(--muted);
  padding-bottom:9px;border-bottom:1px dashed var(--line-2)}
.alb-info li:last-child{border-bottom:0;padding-bottom:0}
.alb-info b{color:var(--ink-2);font-weight:600;text-align:right}
.alb-side-res{background:linear-gradient(170deg,#f6faff,#eef6fd);border-color:#d8e6f4}
.alb-side-p{font-size:.83rem;color:var(--muted);line-height:1.75;margin:0 0 12px}
.alb-side-list{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.alb-side-list li{font-size:.84rem;line-height:1.55;padding-left:12px;position:relative}
.alb-side-list li::before{content:"";position:absolute;left:0;top:8px;width:4px;height:4px;border-radius:50%;background:#b8cde0}
.alb-side-list a{color:var(--ink-2)}
.alb-res-all{display:block;margin-top:12px;font-size:.8rem;color:var(--brand);text-decoration:none}
.alb-res-all:hover{text-decoration:underline}

/* 普通文章侧栏：相关资源（纯文字：标题 + 格式/体积） */
.sr-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:11px}
.sr-item{display:flex;flex-direction:column;gap:4px;min-width:0}
.sr-title{
  font-size:.86rem;font-weight:600;color:var(--ink-2);text-decoration:none;line-height:1.45;
  overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.sr-title:hover{color:var(--brand)}
.sr-meta{display:flex;gap:6px;flex-wrap:wrap;font-size:.72rem;color:#93a3b5}
.sr-meta span{background:#f2f7fd;border-radius:4px;padding:1px 6px}
.sr-meta .sr-off{background:#fdf0e6;color:#b4541a}
/* ============================================================
   21. 注册 / 登录 / 额度页
   ============================================================ */
.auth-wrap{display:flex;justify-content:center;padding:44px 20px 70px;background:linear-gradient(180deg,#f7fbff,#fff 60%)}
.auth-card{width:100%;max-width:440px;background:#fff;border:1px solid var(--line);border-radius:16px;
  padding:30px 30px 26px;box-shadow:0 12px 40px rgba(15,27,43,.08)}
.auth-tabs{display:flex;gap:6px;margin:-6px 0 20px;background:var(--bg-soft);padding:5px;border-radius:10px}
.auth-tabs a{flex:1;text-align:center;padding:8px 0;border-radius:7px;font-size:.92rem;font-weight:600;color:var(--muted)}
.auth-tabs a.on{background:#fff;color:var(--brand);box-shadow:0 1px 4px rgba(15,27,43,.10)}
.auth-card h1{font-size:1.4rem;margin:0 0 6px}
.auth-sub{font-size:.86rem;color:var(--muted);line-height:1.7;margin:0 0 18px}
.auth-sub a{font-weight:600}
.auth-err{background:#fdeceb;border:1px solid #f6c9c5;color:#a92a22;font-size:.86rem;
  padding:10px 12px;border-radius:9px;margin-bottom:16px;line-height:1.6}
.auth-form{display:flex;flex-direction:column;gap:14px}
.auth-form label{display:flex;flex-direction:column;gap:6px;font-size:.86rem;color:var(--ink-2);font-weight:600}
.auth-form input[type=text],.auth-form input[type=email],.auth-form input[type=password]{
  padding:10px 12px;border:1px solid var(--line);border-radius:9px;font-size:.94rem;font-weight:400;
  font-family:inherit;color:var(--ink);outline:none;transition:.16s;background:#fff}
.auth-form input:focus{border-color:#9dc0e8;box-shadow:0 0 0 3px rgba(18,87,168,.10)}
.auth-agree{flex-direction:row!important;align-items:flex-start;gap:9px!important;
  font-size:.8rem!important;font-weight:400!important;color:var(--muted)!important;line-height:1.6}
.auth-agree input{margin-top:3px;flex:none;width:15px;height:15px;accent-color:var(--brand)}
.cap-row{display:flex;gap:10px;align-items:center}
.cap-row input{flex:1;min-width:0}
.cap-row img{flex:none;height:44px;border:1px solid var(--line);border-radius:8px;cursor:pointer;background:#fff}
.auth-info{display:flex;flex-direction:column;gap:10px;margin:16px 0 14px}
.auth-info > div{display:flex;justify-content:space-between;gap:14px;font-size:.88rem;
  padding-bottom:10px;border-bottom:1px dashed var(--line-2)}
.auth-info > div:last-child{border-bottom:0}
.auth-info span{color:var(--muted)}
.auth-info b{color:var(--ink-2);font-weight:600;text-align:right}
.auth-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}

/* ---- 个人中心：统计 / 额度条 / 获取记录 ---- */
.auth-card{max-width:640px}
.acc-stats{display:flex;gap:10px;margin:18px 0 12px}
.acc-stat{flex:1;background:var(--bg-soft);border:1px solid var(--line);border-radius:10px;padding:12px 8px;text-align:center}
.acc-stat b{display:block;font-size:1.5rem;color:var(--brand);line-height:1.2}
.acc-stat span{font-size:.76rem;color:var(--muted)}
.acc-bar{height:8px;border-radius:6px;background:#e8eef6;overflow:hidden;margin-bottom:8px}
.acc-bar-fill{display:block;height:100%;background:linear-gradient(90deg,#2f86d6,#1257a8);border-radius:6px;transition:width .3s}
.acc-bar-tip{margin:0 0 14px;font-size:.78rem;color:var(--muted)}
.acc-actions{display:flex;gap:10px;flex-wrap:wrap}
.acc-sec{margin-top:26px;border-top:1px solid var(--line);padding-top:18px}
.acc-sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:12px}
.acc-sec-head h2{font-size:1.02rem;margin:0}
.acc-sec-head span{font-size:.78rem;color:var(--muted)}
.acc-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.acc-item{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:#fff}
.acc-ico{flex:0 0 30px;height:30px;border-radius:8px;background:#eef4fb;color:#1257a8;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem}
.acc-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.acc-body a{font-size:.9rem;font-weight:600;color:var(--ink-2);text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acc-body a:hover{color:var(--brand)}
.acc-meta{display:flex;gap:8px;flex-wrap:wrap;font-size:.74rem;color:var(--muted)}
.acc-meta span{background:#f5f8fc;border-radius:4px;padding:1px 6px}
.acc-meta .acc-gone{background:#fdecec;color:#b32d2e}
.acc-act{flex:0 0 auto}
.acc-btn{padding:6px 12px;font-size:.8rem}
.acc-note{margin:12px 0 0;font-size:.76rem;color:var(--muted)}
.acc-empty{text-align:center;padding:26px 10px;color:var(--muted)}
.acc-empty p{margin:0 0 12px}
@media(max-width:560px){
  .acc-stats{gap:6px}
  .acc-stat b{font-size:1.2rem}
  .acc-item{flex-wrap:wrap}
  .acc-act{width:100%}
  .acc-act .acc-btn{width:100%}
}

.quota-wrap{display:flex;justify-content:center;padding:56px 20px 80px}
.quota-card{max-width:520px;text-align:center;background:#fff;border:1px solid var(--line);
  border-radius:16px;padding:38px 30px 30px;box-shadow:0 12px 40px rgba(15,27,43,.07)}
.quota-ico{font-size:2.2rem;line-height:1;margin-bottom:12px}
.quota-card h1{font-size:1.35rem;margin:0 0 12px}
.quota-card p{font-size:.92rem;color:var(--muted);line-height:1.8;margin:0 0 8px}
.quota-hint{font-size:.84rem!important;color:#8b9aab!important}
.quota-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:20px}
/* 首页专辑卡：时长 / 资源类型 / 可获取状态 */
.alb-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}
.alb-tags span{font-size:.72rem;color:#5b7fa3;background:#eef4fb;border:1px solid #dbe8f6;
  padding:2px 9px;border-radius:20px;line-height:1.6}
.alb-tags span.on{color:#0f7a5c;background:#e8f7f1;border-color:#c9ebdf}

/* ============================================================
   病例详情：影像播放器（左列表 + 右舞台 + 灯箱）
   ============================================================ */
.figview{
  display:flex;gap:14px;align-items:flex-start;margin:18px 0 26px;
  background:radial-gradient(130% 150% at 14% 0%,#14263a 0%,#0b1522 55%,#080d15 100%);
  border-radius:14px;padding:14px;
  box-shadow:0 12px 32px rgba(5,10,18,.30),inset 0 0 0 1px rgba(255,255,255,.05);
}
.fv-list{
  width:112px;flex:none;max-height:520px;overflow-y:auto;display:flex;flex-direction:column;gap:8px;
  padding:2px 4px 2px 0;scrollbar-width:thin;scrollbar-color:#26384e transparent;
}
.fv-list::-webkit-scrollbar{width:6px}
.fv-list::-webkit-scrollbar-thumb{background:#26384e;border-radius:4px}
.fv-th{
  position:relative;display:block;width:100%;flex:0 0 auto;padding:0;border:2px solid rgba(255,255,255,.07);
  border-radius:9px;background:#0b1118;cursor:pointer;overflow:hidden;aspect-ratio:4/3;line-height:0;
  transition:border-color .18s,transform .18s,box-shadow .18s;
}
.fv-th img{width:100%;height:100%;object-fit:cover;display:block;opacity:.68;transition:opacity .2s,filter .2s}
.fv-th:hover{border-color:rgba(120,170,240,.55);transform:scale(1.05);box-shadow:0 8px 22px rgba(0,0,0,.55)}
.fv-th:hover img{opacity:1;filter:brightness(1.08)}
.fv-th.on{border-color:#3d7eff;box-shadow:0 0 0 2px rgba(61,126,255,.28)}
.fv-th.on img{opacity:1}
.fv-th .n{
  position:absolute;left:4px;bottom:4px;background:rgba(6,10,16,.74);color:#fff;
  font-size:10.5px;line-height:1;padding:3px 5px;border-radius:4px;font-weight:600;
}
.fv-th.on .n{background:#3d7eff}
.fv-stage{flex:1;min-width:0}
.fv-top{display:flex;justify-content:flex-end;margin:0 0 8px;padding:0 8px 8px}
.fv-badge{
  display:inline-block;background:rgba(9,14,23,.86);color:#d3e2f5;
  font-size:11px;font-weight:600;letter-spacing:.4px;padding:6px 10px;border-radius:6px;
  border:1px solid rgba(255,255,255,.13);
}
.fv-img{
  position:relative;background:radial-gradient(120% 130% at 50% 0%,#141f30 0%,#0a111b 68%);
  border-radius:12px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);
  min-height:280px;display:flex;align-items:center;justify-content:center;
  cursor:zoom-in;overflow:hidden;
}
.fv-img img{width:100%;height:auto;max-height:560px;object-fit:contain;display:block}
.fv-cap{margin:10px 2px 0;font-size:.84rem;color:#a9c0d6;line-height:1.7}
.fv-hint{margin:8px 2px 0;font-size:.76rem;color:#6f849a;display:flex;justify-content:space-between;gap:10px}
.fv-count{color:#8aa6c0;font-weight:600}

/* 灯箱 */
.lb{
  position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;
  background:rgba(4,8,14,.94);padding:20px;
}
.lb.open{display:flex}
.lb-stage{max-width:min(1400px,92vw);max-height:84vh;display:flex;flex-direction:column;align-items:center;gap:10px}
.lb-stage img{max-width:100%;max-height:76vh;object-fit:contain;border-radius:8px;box-shadow:0 20px 60px rgba(0,0,0,.6)}
.lb-cap{color:#c6d8e8;font-size:.86rem;text-align:center;line-height:1.6}
.lb-close{
  position:absolute;right:22px;top:16px;font-size:28px;line-height:1;color:#c6d8e8;cursor:pointer;
  width:40px;height:40px;display:grid;place-items:center;border-radius:50%;
}
.lb-close:hover{background:rgba(255,255,255,.12);color:#fff}
.lb-nav{
  position:absolute;top:50%;transform:translateY(-50%);font-size:34px;line-height:1;color:#c6d8e8;
  cursor:pointer;width:48px;height:64px;display:grid;place-items:center;border-radius:10px;
  background:rgba(255,255,255,.06);
}
.lb-nav:hover{background:rgba(255,255,255,.16);color:#fff}
.lb-nav.prev{left:16px}
.lb-nav.next{right:16px}
.lb-thumbs{
  position:absolute;left:0;right:0;bottom:14px;display:flex;gap:8px;justify-content:center;
  padding:0 60px;overflow-x:auto;
}
.lb-thumbs img{
  width:70px;height:52px;object-fit:cover;border-radius:6px;opacity:.5;cursor:pointer;
  border:2px solid transparent;flex:0 0 auto;
}
.lb-thumbs img:hover{opacity:.85}
.lb-thumbs img.on{opacity:1;border-color:#3d7eff}

@media(max-width:860px){
  .figview{flex-direction:column-reverse;align-items:stretch;gap:10px;padding:10px;border-radius:12px}
  .fv-list{
    width:100%;max-width:100%;max-height:none;flex-direction:row;
    overflow-x:auto;overflow-y:hidden;padding:0 0 4px;
  }
  .fv-th{width:86px;flex:0 0 86px}
  .fv-img{min-height:0}
  .fv-img img{max-height:none}
  .lb-thumbs{display:none}
}

/* 病例正文 */
.case-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:34px;padding:22px 0 60px;align-items:start}
@media(max-width:980px){.case-layout{grid-template-columns:minmax(0,1fr)}}
.case-dx .pt-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.case-dx .pt-list li{
  position:relative;padding:10px 14px 10px 34px;border-radius:9px;background:#f7fbff;
  border:1px solid #e4eef8;font-size:.9rem;line-height:1.75;color:var(--ink-2);
}
.case-dx .pt-list li::before{
  counter-increment:dxn;content:counter(dxn);position:absolute;left:11px;top:11px;
  width:17px;height:17px;border-radius:50%;background:var(--brand);color:#fff;
  font-size:.68rem;font-weight:700;display:grid;place-items:center;line-height:1;
}
.case-dx .pt-list{counter-reset:dxn}
.case-ddx{display:flex;flex-direction:column;gap:10px}
.ddx-item{
  border:1px solid var(--line);border-left:3px solid #7ab8e8;border-radius:8px;
  padding:11px 14px;background:#fff;
}
.ddx-item b{display:block;font-size:.92rem;color:var(--brand-deep);margin-bottom:4px}
.ddx-item span{font-size:.86rem;color:#4a5f75;line-height:1.7}
.case-tags{display:flex;flex-wrap:wrap;gap:7px}
.case-tags span{
  font-size:.76rem;color:#3f5468;background:#f2f7fd;border:1px solid #e0ebf6;
  border-radius:20px;padding:3px 10px;
}

/* ===== 2026-11-03 列表页筛选条移入蓝色页头 ===== */
.page-head .res-tabs{margin-top:16px;max-width:960px}
.page-head .res-tabs + .res-tabs{margin-top:8px}
.page-head .res-tabs a{box-shadow:0 1px 2px rgba(6,32,58,.12)}
.res-tabs .tab-n{display:inline-block;margin-left:6px;padding:0 5px;border-radius:8px;background:rgba(18,87,168,.08);font-size:.72em;line-height:1.5;font-weight:600;opacity:.8}
.res-tabs a.on .tab-n{background:rgba(255,255,255,.22);opacity:.95}

/* ===== 侧栏关联：相关专辑 / 相关书籍 / 相关病例 ===== */
.side-rel .rel-albums{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.side-rel .rel-albums li{display:flex;flex-direction:column;gap:5px}
.side-rel .ra-title{font-size:.9rem;font-weight:700;color:var(--ink-2);line-height:1.5}
.side-rel .ra-title:hover{color:var(--brand)}
.side-rel .ra-meta{display:flex;gap:6px;flex-wrap:wrap}
.side-rel .ra-meta span{font-size:.72rem;color:#5b7fa3;background:#f2f7fd;border-radius:4px;padding:2px 7px}
.rel-more{display:block;margin-top:12px;font-size:.8rem;color:var(--brand);text-decoration:none}
.rel-more:hover{text-decoration:underline}
.side-rel .rel-cases li{align-items:baseline;justify-content:space-between}
.side-rel .rel-cases a{flex:1;min-width:0}
.side-rel .rc-tag{flex:none;font-size:.7rem;color:#5b7fa3;background:#f2f7fd;border-radius:4px;padding:1px 6px}

/* ===== 考试页蓝头筛选：一行两组，方向用胶囊，内容用轻链接 ===== */
.exam-filter{margin-top:16px;display:flex;align-items:center;gap:20px;flex-wrap:wrap;max-width:1100px}
.ef-group{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}
.ef-group-sub{flex:0 1 auto}
.ef-lb{flex:none;font-size:.76rem;color:#9dbdd8;letter-spacing:.06em}
.ef-sep{width:1px;height:22px;background:rgba(255,255,255,.22);flex:none}
.page-head .ef-group .res-tabs{margin-top:0}
.page-head .ef-group .res-tabs a{padding:7px 16px;font-size:.84rem}
.ef-links{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.ef-links.exam-kinds{margin-bottom:0}
.ef-links a{color:#c3dcef;font-size:.85rem;text-decoration:none;padding:3px 0;border-bottom:2px solid transparent;transition:.15s}
.ef-links a:hover{color:#fff}
.ef-links a.on{color:#fff;font-weight:700;border-bottom-color:#7fc0ff}
.ef-links .sep{color:#4d7599}
.ef-links .exam-reset{color:#ffd2a8;border:0}
.ef-links .exam-reset:hover{color:#fff}
@media(max-width:900px){
  .ef-sep{display:none}
}
@media(max-width:560px){
  .ef-group{gap:8px}
  .ef-lb{width:100%}
  .exam-filter{gap:14px}
}
/* ------------------------------------------------------------------
 * 2026-11-06 署名行（第 3 项）
 * 由 mu-plugins/medimg-authorship.php 输出
 * ------------------------------------------------------------------ */
.art-byline{
  display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;
  margin:0 0 22px;padding:12px 16px;border-radius:10px;
  background:rgba(15,59,99,.04);border:1px solid rgba(15,59,99,.09);
  font-size:.84rem;color:#54697e;line-height:1.7;
}
.art-byline .by-item{white-space:nowrap}
.art-byline a{color:#1257a8;text-decoration:none;border-bottom:1px solid rgba(18,87,168,.28)}
.art-byline a:hover{border-bottom-color:#1257a8}
.art-byline .by-since{color:#8b9cab;font-size:.94em}
@media(max-width:560px){
  .art-byline{gap:4px 12px;padding:10px 12px;font-size:.8rem}
  .art-byline .by-item{white-space:normal}
}
