/* =============================================================================
 * 院校模块公共样式（频道页 /schools/ · 子分类页 · 详情页 共用）
 * 与网址 / 期刊频道页同源风格：1200 居中 · 白卡片 · 悬浮上移。
 * 主色通过 CSS 变量注入：在 .chan-wrap 上设置 --chan-accent / --chan-accent-dark。
 * ========================================================================== */

.chan-wrap { min-height: 100vh; display: flex; flex-direction: column; --chan-accent: #1b5bd5; --chan-accent-dark: #16489f; }
.cw { width: 1200px; max-width: calc(100% - 24px); margin: 0 auto; }
.chan-main { flex: 1; padding: 20px 0 40px; }

/* ---- 横幅（频道页） ---- */
.chan-hero { position: relative; overflow: hidden; border-radius: 14px; padding: 30px 32px; margin-bottom: 16px; background: linear-gradient(120deg, var(--chan-accent), var(--chan-accent-dark)); color: #fff; box-shadow: 0 10px 26px rgba(27,91,213,.22); }
.chan-hero::after { content: ''; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.10); }
.chan-hero h1 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: .5px; position: relative; z-index: 1; }
.chan-hero .sub { margin-top: 8px; font-size: 14px; opacity: .92; position: relative; z-index: 1; }
.chan-hero .stats { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.chan-hero .stat { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.24); border-radius: 20px; padding: 5px 14px; font-size: 13px; }
.chan-hero .stat b { font-size: 15px; }

/* ---- 筛选工具条 ---- */
.jf-bar { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.05); padding: 14px 18px; margin-bottom: 16px; }
.jf-row { display: flex; align-items: flex-start; gap: 12px; padding: 7px 0; }
.jf-row + .jf-row { border-top: 1px dashed #eef0f3; }
.jf-lb { flex: 0 0 auto; font-size: 13px; color: #9aa0a8; padding-top: 6px; min-width: 56px; }
.jf-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; flex: 1; min-width: 0; }
.jf-chip { display: inline-flex; align-items: center; font-size: 13px; color: #555; background: #f5f6f8; border: 1px solid #eceef1; border-radius: 15px; padding: 4px 14px; cursor: pointer; transition: all .15s; user-select: none; }
.jf-chip:hover { color: var(--chan-accent); border-color: #cddbf5; background: #f4f8ff; }
.jf-chip.on { color: #fff; background: var(--chan-accent); border-color: var(--chan-accent); }
.jf-search { position: relative; margin-left: auto; }
.jf-search input { height: 34px; width: 240px; max-width: 46vw; border: 1px solid #e2e5ea; border-radius: 8px; padding: 0 34px 0 12px; font-size: 13px; outline: none; transition: border-color .15s; }
.jf-search input:focus { border-color: var(--chan-accent); }
.jf-search svg { position: absolute; right: 11px; top: 9px; width: 15px; height: 15px; color: #b6bcc4; }

/* ---- 类型快捷导航 ---- */
.chan-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chan-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 8px; font-size: 13px; color: #555; background: #fff; border: 1px solid #eceef1; text-decoration: none; transition: all .15s; }
.chan-nav a .nv-ic { color: #b3b8c0; display: inline-flex; transition: color .15s; }
.chan-nav a:hover { color: var(--chan-accent); border-color: #cddbf5; background: #f4f8ff; }
.chan-nav a:hover .nv-ic { color: var(--chan-accent); }

/* ---- 分类区块卡片 ---- */
.chan-sec { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.05); padding: 18px 20px 20px; margin-bottom: 16px; scroll-margin-top: 14px; }
.chan-sec-hd { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #f2f3f5; margin-bottom: 16px; }
.chan-sec-ico { width: 42px; height: 42px; min-width: 42px; border-radius: 11px; background: linear-gradient(135deg, var(--chan-accent), var(--chan-accent-dark)); display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 10px rgba(27,91,213,.22); }
.chan-sec-ico svg { width: 24px; height: 24px; }
.chan-sec-tt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.chan-sec-tt .nm { font-size: 17px; font-weight: 700; color: #222; letter-spacing: .3px; }
.chan-sec-tt .ct { font-size: 12px; color: #9aa0a8; }
.chan-sec-tt .ct b { color: #f25d30; margin: 0 2px; }
.chan-sec-more { margin-left: auto; flex-shrink: 0; font-size: 13px; color: #9aa0a8; text-decoration: none; display: inline-flex; align-items: center; gap: 3px; padding: 5px 10px; border-radius: 7px; transition: all .15s; }
.chan-sec-more:hover { color: var(--chan-accent); background: #f4f8ff; }
.chan-sec-more svg { width: 14px; height: 14px; }

/* ---- 院校卡片网格 ---- */
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.uc-card { display: flex; gap: 13px; padding: 13px; border: 1px solid #eef0f3; border-radius: 12px; background: #fff; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; min-width: 0; }
.uc-card:hover { border-color: #cddbf5; box-shadow: 0 8px 20px rgba(27,91,213,.12); transform: translateY(-2px); }

.uc-badge { width: 56px; height: 56px; min-width: 56px; border-radius: 12px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 0 4px; box-shadow: 0 3px 8px rgba(0,0,0,.16); }
.uc-bd-tx { color: #fff; font-size: 14px; font-weight: 800; text-align: center; line-height: 1.2; text-shadow: 0 1px 3px rgba(0,0,0,.3); word-break: break-all; }
.uc-rank { position: absolute; right: 0; bottom: 0; font-size: 10px; font-weight: 700; color: #fff; background: rgba(0,0,0,.32); padding: 0 5px; border-top-left-radius: 6px; line-height: 15px; }

.uc-body { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.uc-name { font-size: 15px; font-weight: 700; color: #262b33; line-height: 1.35; }
.uc-name .nm-tx { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.uc-card:hover .uc-name { color: var(--chan-accent); }
.uc-en { font-size: 11.5px; color: #b6bcc4; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-meta { font-size: 12px; color: #9aa0a8; margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.uc-tag { font-size: 11px; line-height: 18px; padding: 0 8px; border-radius: 10px; white-space: nowrap; border: 1px solid transparent; }
.uc-tag.t985 { color: #b3261e; background: #fdecea; border-color: #f7c8c3; }
.uc-tag.t211 { color: #1a63c4; background: #eaf2ff; border-color: #cfe0fb; }
.uc-tag.tsyl { color: #ad6800; background: #fff7e0; border-color: #ffe08a; }

/* ---- 空态 ---- */
.chan-empty { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.05); text-align: center; padding: 70px 20px; color: #b0b4bb; }
.chan-empty .ce-ico { font-size: 44px; margin-bottom: 12px; }
.chan-empty h2 { margin: 0 0 6px; font-size: 19px; color: #444; }
.chan-empty p { margin: 0; font-size: 14px; }
.chan-empty a { color: var(--chan-accent); text-decoration: none; }
.jf-noresult { display: none; text-align: center; color: #b0b4bb; font-size: 14px; padding: 40px 0; }

/* =============================================================================
 * 面包屑（子分类页 / 详情页）
 * ========================================================================== */
.sc-crumb { font-size: 13px; color: #9aa0a8; padding: 4px 0 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 2px; }
.sc-crumb a { color: #7a828c; text-decoration: none; transition: color .15s; }
.sc-crumb a:hover { color: var(--chan-accent); }
.sc-crumb .sep { color: #d5d9df; margin: 0 6px; }
.sc-crumb .cur { color: var(--chan-accent); font-weight: 600; }

/* =============================================================================
 * 子分类页（某一类型院校列表）
 * ========================================================================== */
.sc-hero { background: #fff; border-radius: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.05); padding: 22px 24px; margin-bottom: 16px; }
.sc-hero-top { display: flex; align-items: center; gap: 15px; }
.sc-hero-ico { width: 52px; height: 52px; min-width: 52px; border-radius: 13px; background: linear-gradient(135deg, var(--chan-accent), var(--chan-accent-dark)); display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 5px 12px rgba(27,91,213,.22); }
.sc-hero-ico svg { width: 28px; height: 28px; }
.sc-hero-meta h1 { margin: 0; font-size: 23px; font-weight: 800; color: #222; letter-spacing: .5px; }
.sc-hero-meta .sub { font-size: 13px; color: #9aa0a8; margin-top: 5px; }
.sc-hero-meta .sub b { color: #f25d30; margin: 0 2px; }
.sc-sibs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #f2f3f5; }
.sc-sib { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 8px; font-size: 13px; color: #555; background: #f5f7fa; border: 1px solid #eceef1; text-decoration: none; transition: all .15s; }
.sc-sib:hover { color: var(--chan-accent); border-color: #cddbf5; background: #f4f8ff; }
.sc-sib.on { color: #fff; background: var(--chan-accent); border-color: var(--chan-accent); }
.sc-panel { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.05); padding: 18px 20px 20px; }
.sc-panel-head { font-size: 15px; font-weight: 700; color: #222; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid #f2f3f5; display: flex; align-items: center; gap: 8px; }
.sc-panel-head::before { content: ''; width: 4px; height: 15px; border-radius: 2px; background: var(--chan-accent); }

/* =============================================================================
 * 院校详情页
 * ========================================================================== */
.sd-hero { background: #fff; border-radius: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.05); padding: 26px 28px; margin-bottom: 16px; }
.sd-top { display: flex; gap: 20px; align-items: flex-start; }
.sd-badge { width: 90px; height: 90px; min-width: 90px; border-radius: 18px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 0 6px; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.sd-badge .tx { color: #fff; font-size: 22px; font-weight: 800; text-align: center; line-height: 1.15; text-shadow: 0 1px 4px rgba(0,0,0,.3); word-break: break-all; }
.sd-badge .rk { position: absolute; right: 0; bottom: 0; font-size: 12px; font-weight: 700; color: #fff; background: rgba(0,0,0,.34); padding: 1px 8px; border-top-left-radius: 8px; }
.sd-meta { flex: 1; min-width: 0; }
.sd-name { font-size: 26px; font-weight: 800; color: #1f2530; margin: 2px 0 0; letter-spacing: .5px; }
.sd-en { font-size: 14px; color: #9aa0a8; margin-top: 5px; }
.sd-motto { font-size: 13.5px; color: #7a828c; margin-top: 8px; font-style: italic; }
.sd-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.sd-tag { font-size: 12.5px; font-weight: 600; line-height: 24px; padding: 0 13px; border-radius: 14px; border: 1px solid transparent; }
.sd-tag.t985 { color: #b3261e; background: #fdecea; border-color: #f7c8c3; }
.sd-tag.t211 { color: #1a63c4; background: #eaf2ff; border-color: #cfe0fb; }
.sd-tag.tsyl { color: #ad6800; background: #fff7e0; border-color: #ffe08a; }
.sd-tag.type { color: #5a6472; background: #f2f4f7; border-color: #e6e9ef; }

.sd-stats { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 20px; padding-top: 18px; border-top: 1px dashed #eef0f4; }
.sd-stat { display: flex; flex-direction: column; gap: 3px; }
.sd-stat .v { font-size: 19px; font-weight: 800; color: #1f2530; }
.sd-stat .v.accent { color: var(--chan-accent); }
.sd-stat .k { font-size: 12px; color: #9aa0a8; }

.sd-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.sd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 30px; border-radius: 10px; font-size: 15px; font-weight: 600; letter-spacing: .5px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: all .15s; }
.sd-btn-primary { background: var(--chan-accent); color: #fff; box-shadow: 0 4px 12px rgba(27,91,213,.28); }
.sd-btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(27,91,213,.34); }
.sd-btn-ghost { background: #fff; color: #555; border-color: #e2e5ea; }
.sd-btn-ghost:hover { color: var(--chan-accent); border-color: var(--chan-accent); background: #f4f8ff; }
.sd-btn svg { width: 17px; height: 17px; }

.sd-panel { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.05); padding: 20px 24px 22px; margin-bottom: 16px; }
.sd-panel-head { font-size: 16px; font-weight: 700; color: #222; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid #f2f3f5; display: flex; align-items: center; gap: 9px; }
.sd-panel-head::before { content: ''; width: 4px; height: 16px; border-radius: 2px; background: var(--chan-accent); }
.sd-desc { font-size: 14.5px; color: #4a5461; line-height: 1.9; }

.sd-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 30px; }
.sd-info .row { display: flex; gap: 12px; padding: 11px 2px; border-bottom: 1px solid #f4f5f7; font-size: 14px; }
.sd-info .row .k { flex: 0 0 78px; color: #9aa0a8; }
.sd-info .row .v { flex: 1; min-width: 0; color: #333; word-break: break-all; }
.sd-info .row .v a { color: var(--chan-accent); text-decoration: none; }
.sd-info .row .v a:hover { text-decoration: underline; }

/* 同类型院校（相关） */
.sd-rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sd-rel { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #eef0f3; border-radius: 10px; text-decoration: none; background: #fff; transition: all .15s; min-width: 0; }
.sd-rel:hover { border-color: #cddbf5; box-shadow: 0 6px 16px rgba(27,91,213,.10); transform: translateY(-2px); }
.sd-rel-bd { width: 40px; height: 40px; min-width: 40px; border-radius: 9px; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 0 3px; box-shadow: 0 2px 6px rgba(0,0,0,.14); }
.sd-rel-bd .tx { color: #fff; font-size: 12px; font-weight: 800; line-height: 1.1; text-align: center; text-shadow: 0 1px 2px rgba(0,0,0,.3); word-break: break-all; }
.sd-rel-nm { min-width: 0; }
.sd-rel-nm .n { font-size: 13.5px; font-weight: 600; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-rel:hover .sd-rel-nm .n { color: var(--chan-accent); }
.sd-rel-nm .p { font-size: 11.5px; color: #9aa0a8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 详情页未找到 */
.sd-notfound { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.05); text-align: center; padding: 70px 20px; color: #b0b4bb; }
.sd-notfound .ic { font-size: 44px; margin-bottom: 12px; }
.sd-notfound h2 { margin: 0 0 8px; font-size: 20px; color: #444; }
.sd-notfound a { color: var(--chan-accent); text-decoration: none; font-weight: 600; }

/* ---- 响应式 ---- */
@media (max-width: 1024px) { .uc-grid { grid-template-columns: repeat(2, 1fr); } .sd-rel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .chan-hero { padding: 24px 20px; }
  .chan-hero h1 { font-size: 22px; }
  .jf-search { margin-left: 0; flex-basis: 100%; }
  .jf-search input { width: 100%; max-width: 100%; }
  .sd-top { flex-direction: column; }
  .sd-info { grid-template-columns: 1fr; }
  .sd-name { font-size: 22px; }
}
@media (max-width: 520px) { .uc-grid { grid-template-columns: 1fr; } .sd-rel-grid { grid-template-columns: 1fr; } }


/* ============================================================================
 * 院校详情页视觉增强 v2
 * 增强信息层级、品牌感与移动端阅读体验。
 * ========================================================================== */
.sd-hero { position: relative; overflow: hidden; }
.sd-hero::after { content:''; position:absolute; width:260px; height:260px; right:-90px; top:-110px; border-radius:50%; background:linear-gradient(135deg,rgba(27,91,213,.08),rgba(27,91,213,0)); pointer-events:none; }
.sd-top,.sd-stats,.sd-actions,.sd-highlight { position:relative; z-index:1; }
.sd-name { letter-spacing:.2px; }
.sd-highlight { margin-top:20px; padding-top:18px; border-top:1px solid #f1f3f6; display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.sd-highlight-item { display:flex; align-items:center; gap:10px; padding:12px 14px; background:#f8fafc; border-radius:10px; min-width:0; }
.sd-highlight-item .icon { width:30px; height:30px; display:flex; align-items:center; justify-content:center; border-radius:8px; background:rgba(27,91,213,.1); color:var(--chan-accent); font-size:16px; flex:none; }
.sd-highlight-item b { display:block; font-size:14px; color:#27313f; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sd-highlight-item small { display:block; margin-top:3px; font-size:12px; color:#9aa0a8; }
@media (max-width:768px){
 .sd-highlight { grid-template-columns:1fr; }
 .sd-highlight-item { padding:10px 12px; }
}


/* ============================================================================
 * 院校详情页 v3 · 两栏版式
 * 左主栏（简介 / 信息 / 相关院校 / 上下一所）+ 右侧栏（官网 / 档案 / 榜单 / 入口）
 * 依赖 v2 已有的 .sd-hero / .sd-panel / .sd-rel 等基础类，此处只补新增部分。
 * ========================================================================== */

/* ---- 两栏骨架 ---- */
.sd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.sd-main { min-width: 0; }
.sd-side { min-width: 0; position: sticky; top: 14px; }

/* ---- 面板标题右侧的「查看全部」---- */
.sd-panel-more { margin-left: auto; font-size: 13px; font-weight: 500; color: #9aa0a8; text-decoration: none; transition: color .15s; }
.sd-panel-more:hover { color: var(--chan-accent); }

/* ---- 简介展开收起 ---- */
.sd-desc.is-fold { position: relative; max-height: 190px; overflow: hidden; }
.sd-desc.is-fold::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 62px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 78%); }
.sd-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; padding: 6px 16px; font-size: 13px; color: var(--chan-accent); background: #f4f8ff; border: 1px solid #dbe6fb; border-radius: 16px; cursor: pointer; font-family: inherit; transition: all .15s; }
.sd-more:hover { background: #e9f1ff; }
.sd-more svg { width: 14px; height: 14px; transition: transform .2s; }
.sd-more.is-open svg { transform: rotate(180deg); }

/* ---- 信息表：整行项 / 灰字 ---- */
.sd-info .row.wide { grid-column: 1 / -1; }
.sd-dim { color: #bbb; }

/* ---- 标签行 ---- */
.sd-tagwrap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed #eef0f4; }
.sd-tagx { font-size: 12.5px; color: #5a6472; background: #f5f7fa; border: 1px solid #eceef1; border-radius: 14px; padding: 4px 12px; text-decoration: none; transition: all .15s; }
.sd-tagx:hover { color: var(--chan-accent); border-color: #cddbf5; background: #f4f8ff; }

/* ---- 主栏里的相关院校改两列（栏宽变窄，四列会挤）---- */
.sd-main .sd-rel-grid { grid-template-columns: repeat(2, 1fr); }

/* ---- 上一所 / 下一所 ---- */
.sd-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.sd-pn-item { display: flex; flex-direction: column; gap: 5px; padding: 14px 18px; background: #fff; border: 1px solid #eef0f3; border-radius: 12px; text-decoration: none; transition: all .15s; min-width: 0; }
.sd-pn-item .d { font-size: 12px; color: #9aa0a8; }
.sd-pn-item .n { font-size: 14.5px; font-weight: 600; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-pn-item.ta-r { text-align: right; }
.sd-pn-item:not(.is-off):hover { border-color: #cddbf5; box-shadow: 0 6px 16px rgba(27,91,213,.10); }
.sd-pn-item:not(.is-off):hover .n { color: var(--chan-accent); }
.sd-pn-item.is-off { background: #fafbfc; }
.sd-pn-item.is-off .n { color: #c2c7ce; font-weight: 500; }

/* ---- 侧栏卡片 ---- */
.sd-side-card { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.05); padding: 16px 18px 18px; margin-bottom: 16px; }
.sd-side-head { font-size: 15px; font-weight: 700; color: #222; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid #f2f3f5; display: flex; align-items: center; gap: 8px; }
.sd-side-head::before { content: ''; width: 4px; height: 15px; border-radius: 2px; background: var(--chan-accent); }

/* 官网直达 */
.sd-site-btn { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border: 1px solid #eef0f3; border-radius: 10px; text-decoration: none; transition: all .15s; min-width: 0; }
.sd-site-btn:hover { border-color: #cddbf5; background: #f7faff; }
.sd-site-ico { width: 40px; height: 40px; min-width: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; font-weight: 800; text-shadow: 0 1px 3px rgba(0,0,0,.3); box-shadow: 0 3px 8px rgba(0,0,0,.14); }
.sd-site-tx { min-width: 0; }
.sd-site-tx b { display: block; font-size: 13.5px; font-weight: 600; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-site-tx small { display: block; margin-top: 3px; font-size: 11.5px; color: #9aa0a8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-site-btn:hover .sd-site-tx b { color: var(--chan-accent); }
.sd-side-note { margin-top: 10px; font-size: 11.5px; color: #b0b4bb; line-height: 1.7; }
.sd-side-empty { font-size: 13px; color: #9aa0a8; line-height: 1.8; }
.sd-side-empty a { color: var(--chan-accent); text-decoration: none; }

/* 档案键值 */
.sd-kv .r { display: flex; gap: 10px; padding: 9px 0; font-size: 13.5px; border-bottom: 1px dashed #f2f3f5; }
.sd-kv .r:last-child { border-bottom: 0; padding-bottom: 0; }
.sd-kv .r .k { flex: 0 0 52px; color: #9aa0a8; }
.sd-kv .r .v { flex: 1; min-width: 0; color: #333; word-break: break-all; }

/* 榜单 */
.sd-rank { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.sd-rank li { display: flex; align-items: center; gap: 9px; padding: 8px 0; font-size: 13.5px; min-width: 0; }
.sd-rank .no { width: 19px; height: 19px; min-width: 19px; border-radius: 5px; background: #f0f2f5; color: #98a0aa; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.sd-rank .no.top { background: var(--chan-accent); color: #fff; }
.sd-rank .nm { flex: 1; min-width: 0; color: #444; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-rank a.nm:hover { color: var(--chan-accent); }
.sd-rank .pv { font-size: 11.5px; color: #b6bcc4; flex-shrink: 0; }
.sd-rank li.on { background: #f4f8ff; border-radius: 8px; padding: 8px 9px; margin: 0 -9px; }
.sd-rank li.on .nm { color: var(--chan-accent); font-weight: 700; }

/* 快捷入口 */
.sd-links { display: flex; flex-direction: column; }
.sd-links a { font-size: 13.5px; color: #555; text-decoration: none; padding: 9px 0; border-bottom: 1px dashed #f2f3f5; transition: color .15s; }
.sd-links a:last-child { border-bottom: 0; padding-bottom: 0; }
.sd-links a:hover { color: var(--chan-accent); }

/* ---- 操作按钮补充状态 ---- */
.sd-btn-mini { height: 46px; padding: 0 20px; font-size: 14px; color: #8a9098; }
.sd-act { font-family: inherit; }
.sd-act.on { color: var(--chan-accent); border-color: var(--chan-accent); background: #f4f8ff; }
.sd-act.is-busy { opacity: .6; pointer-events: none; }

/* ---- 轻提示 ---- */
.sd-toast { position: fixed; left: 50%; bottom: 46px; transform: translateX(-50%) translateY(12px); background: rgba(28,32,38,.92); color: #fff; font-size: 13.5px; padding: 10px 20px; border-radius: 22px; z-index: 9999; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
.sd-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
  .sd-layout { grid-template-columns: 1fr; }
  .sd-side { position: static; }
  .sd-main .sd-rel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .sd-hero { padding: 20px 18px; }
  .sd-badge { width: 72px; height: 72px; min-width: 72px; border-radius: 15px; }
  .sd-stats { gap: 16px; }
  .sd-actions .sd-btn { flex: 1 1 auto; height: 42px; padding: 0 18px; font-size: 14px; }
  .sd-pn { grid-template-columns: 1fr; }
  .sd-pn-item.ta-r { text-align: left; }
}
@media (max-width: 520px) {
  .sd-main .sd-rel-grid { grid-template-columns: 1fr; }
  .sd-name { font-size: 20px; }
}
.sd-head-ico { display: inline-flex; align-items: center; color: var(--chan-accent); }
.sd-head-ico svg { width: 16px; height: 16px; }
a.sd-tag { text-decoration: none; transition: all .15s; }
a.sd-tag.type:hover { color: var(--chan-accent); background: #f4f8ff; border-color: #cddbf5; }

/* ============================================================================
 * 校徽（logo）徽章
 * 后台上传校徽后，卡片与详情页头图一律显示校徽图片；未上传时仍是渐变底色加简称。
 * ========================================================================== */
.uc-badge.has-logo,
.sd-badge.has-logo,
.sd-rel-bd.has-logo,
.sd-site-ico.has-logo {
  background: #fff;
  border: 1px solid #eceef1;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}
.uc-badge.has-logo img,
.sd-badge.has-logo img,
.sd-rel-bd.has-logo img,
.sd-site-ico.has-logo img {
  width: 100%; height: 100%; display: block;
  object-fit: contain; padding: 8%;
}
.sd-badge.has-logo { box-shadow: 0 4px 14px rgba(0, 0, 0, .10); }
.sd-badge.has-logo .rk { background: rgba(0, 0, 0, .5); }
.uc-badge.has-logo .uc-rank { background: rgba(0, 0, 0, .42); }
