﻿/* ============================================================
   灞变笢鏂伴珮鑰冨織鎰垮～鎶ョ郴缁?- 鏍峰紡琛?   妯″紡锛?+3锛堝叚閫変笁锛?   ============================================================ */

/* === 隐藏【查机构】栏目（2026-08-29） === */
.desktop-nav a[data-nav="experts"],
.sidebar a[data-side="experts"],
.mobile-quick-nav a[href="#experts"] {
    display: none !important;
}

:root {
    --red: #c61f2b;
    --red-dark: #98151e;
    --red-soft: #fff1f1;
    --gold: #e6a94a;
    --ink: #20242b;
    --muted: #7b818c;
    --line: #eceef2;
    --paper: #f5f6f8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, "Microsoft YaHei", sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }

/* ============================
   椤堕儴瀵艰埅鏍?   ============================ */
.app-shell { min-height: 100vh; }
.topbar { height: 80px; padding: 0 32px; display: flex; align-items: center; position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid #eee; box-shadow: 0 2px 15px rgba(28,25,25,.04); backdrop-filter: blur(12px); gap: 24px; }
.brand { min-width: 200px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 0; }
.brand-slogan {
    font-size: 11px;
    font-weight: 600;
    color: #b01321;
    letter-spacing: 0.5px;
    line-height: 1;
    white-space: nowrap;
    padding-left: 4px;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.brand-slogan .slogan-gap {
    margin: 0 3px;
    color: #b01321;
}
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; border-radius: 10px 10px 15px 10px; background: linear-gradient(145deg, #e1463f, #a80717); box-shadow: 0 7px 15px rgba(180,17,32,.2); transform: rotate(-3deg); }
.brand-mark span { font-family: serif; font-size: 22px; font-weight: 900; transform: rotate(3deg); }
.brand strong { display: block; font-family: serif; font-size: 20px; letter-spacing: 2px; color: #9f1720; }
.brand small { display: block; margin-top: 2px; font-size: 9px; color: #9b7f72; letter-spacing: 1px; }
/* 一起报志愿 横版 LOGO banner */
.brand-link { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; padding: 0; }
.brand-banner { height: 48px; width: 170px; display: block; object-fit: contain; }
.desktop-nav { align-self: stretch; display: flex; align-items: stretch; gap: 38px; }
.desktop-nav a { position: relative; display: grid; place-items: center; color: #555b64; text-decoration: none; font-size: 14px; font-weight: 600; }
.desktop-nav a.active, .desktop-nav a:hover { color: var(--red); }
.desktop-nav a.active::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 0; height: 3px; border-radius: 4px 4px 0 0; background: var(--red); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.icon-button { width: 36px; height: 36px; border: 0; border-radius: 50%; display: grid; place-items: center; color: #686e77; background: transparent; }
.icon-button:hover { background: #f7eeee; color: var(--red); }
.notification { position: relative; }
.notification i { width: 6px; height: 6px; position: absolute; top: 7px; right: 7px; border: 1px solid white; border-radius: 50%; background: var(--red); }
.profile { height: 40px; padding: 0 7px 0 4px; border: 0; display: flex; align-items: center; gap: 8px; color: #555; background: transparent; }
.profile > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-family: serif; font-weight: 800; background: linear-gradient(135deg, #d84a42, #9f1220); }
.profile b { font-size: 13px; }

/* ============================
   椤甸潰甯冨眬
   ============================ */
.page-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: calc(100vh - 70px); }
.sidebar { width: 218px; padding: 20px 15px; position: fixed; top: 70px; bottom: 0; left: 0; background: #fff; border-right: 1px solid var(--line); overflow-y: auto; z-index: 20; }
.side-menu { display: grid; gap: 6px; }
.side-menu a { min-height: 44px; padding: 0 14px; display: flex; align-items: center; gap: 13px; border-radius: 8px; color: #626873; text-decoration: none; font-size: 14px; font-weight: 600; transition: .2s ease; }
.side-menu a:hover { color: var(--red); background: #fff8f7; }
.side-menu a.active { color: #fff; background: linear-gradient(110deg, #d83236, #b01321); box-shadow: 0 7px 14px rgba(185,25,36,.2); }
.side-menu a em { margin-left: auto; padding: 2px 5px; border-radius: 4px; color: #d43a40; background: #ffe5e4; font-size: 8px; font-style: normal; }
.side-menu a b { margin-left: auto; min-width: 18px; height: 18px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: #d83740; font-size: 10px; }
.side-divider { height: 1px; margin: 17px 8px; background: #f0f1f3; }
.side-menu.secondary a { font-weight: 500; }
.consult-card { margin-top: 25px; padding: 20px 14px 14px; position: relative; text-align: center; border: 1px solid #f0d4cf; border-radius: 12px; background: linear-gradient(160deg, #fffafa, #fff3ec); overflow: hidden; }
.consult-card::before { content: ""; width: 75px; height: 75px; position: absolute; right: -32px; top: -28px; border-radius: 50%; background: rgba(202,42,43,.08); }
.consult-icon { width: 36px; height: 36px; margin: 0 auto 9px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #da433c, #aa1522); }
.consult-card strong { display: block; font-size: 13px; }
.consult-card p { margin: 6px 0 12px; color: #9a817b; font-size: 10px; line-height: 1.5; }
.consult-card button { width: 100%; height: 32px; border: 1px solid #d74443; border-radius: 6px; color: #c32930; background: #fff; font-size: 11px; font-weight: 700; }

/* ============================
   涓诲唴瀹瑰尯
   ============================ */
.content { grid-column: 2; width: 100%; max-width: 1390px; padding: 22px 28px 45px; margin: 0 auto; }
.welcome-row { min-height: 43px; display: flex; align-items: center; justify-content: space-between; }
.welcome-row p { margin: 0 0 5px; color: #252b32; font-size: 15px; font-weight: 700; }
.welcome-row h1 { margin: 0; color: #8a9099; font-size: 12px; font-weight: 400; }
.exam-count { height: 36px; padding: 0 15px; display: flex; align-items: baseline; gap: 6px; border-radius: 18px; color: #7d6f68; background: #fff; box-shadow: 0 2px 10px rgba(20,24,30,.05); font-size: 11px; }
.exam-count strong { color: var(--red); font-family: Georgia, serif; font-size: 24px; }

/* ============================
   Hero 鍖哄煙
   ============================ */
.hero-card { min-height: 236px; margin-top: 17px; padding: 34px 43px; position: relative; display: flex; border-radius: 16px; color: #fff; background: linear-gradient(115deg, #a70d1c 0%, #c7252e 52%, #db503f 100%); box-shadow: 0 15px 30px rgba(156,14,25,.14); overflow: hidden; }
.hero-card::before { content: ""; width: 390px; height: 390px; position: absolute; right: 8%; top: -225px; border: 1px solid rgba(255,220,178,.18); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.025), 0 0 0 75px rgba(255,255,255,.02); }
.hero-card::after { content: ""; height: 75px; position: absolute; left: 0; right: 0; bottom: 0; opacity: .22; background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,220,178,.12) 47px 48px), linear-gradient(transparent, rgba(85,0,10,.25)); clip-path: polygon(0 70%,10% 28%,19% 80%,31% 30%,42% 74%,54% 18%,64% 73%,75% 30%,86% 71%,100% 19%,100% 100%,0 100%); }
.hero-copy { position: relative; z-index: 3; }
.eyebrow { height: 24px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,232,204,.35); border-radius: 12px; color: #ffe7c3; background: rgba(255,255,255,.08); font-size: 10px; letter-spacing: .5px; }
.hero-copy h2 { margin: 15px 0 10px; font-family: serif; font-size: 36px; line-height: 1.3; letter-spacing: 2px; }
.hero-copy h2 b { font-weight: 700; }
.hero-copy p { margin: 0; color: rgba(255,242,235,.76); font-size: 12px; }
.hero-stats { margin-top: 22px; display: flex; align-items: center; gap: 14px; color: rgba(255,239,232,.7); font-size: 10px; }
.hero-stats strong { color: #ffddb0; font-size: 13px; }
.hero-stats i { width: 1px; height: 12px; background: rgba(255,255,255,.22); }
.hero-art { width: 370px; position: absolute; z-index: 2; right: 50px; top: 0; bottom: 0; }
.sun { width: 130px; height: 130px; position: absolute; left: 115px; top: 12px; border-radius: 50%; background: radial-gradient(circle, #f7cf91 0%, #efa65a 55%, rgba(239,151,76,.4) 68%, transparent 70%); box-shadow: 0 0 60px rgba(255,216,149,.25); }
.arch { width: 155px; height: 102px; position: absolute; z-index: 3; left: 110px; top: 90px; display: grid; place-content: center; text-align: center; border: 8px solid #78111a; border-bottom-width: 14px; color: #ffda9c; background: linear-gradient(#b62b2e,#8f1821); box-shadow: inset 0 0 0 2px #e09a54, 0 10px 20px rgba(65,0,8,.3); clip-path: polygon(0 18%,12% 18%,12% 8%,28% 8%,28% 0,72% 0,72% 8%,88% 8%,88% 18%,100% 18%,100% 100%,0 100%); }
.arch::before, .arch::after { content: ""; width: 13px; height: 38px; position: absolute; bottom: -39px; background: #75101a; border-top: 3px solid #e7a35c; }
.arch::before { left: 8px; }.arch::after { right: 8px; }
.arch span { font-family: serif; font-size: 18px; font-weight: 800; letter-spacing: 5px; }
.arch b { margin-top: 8px; padding-top: 7px; border-top: 1px solid rgba(255,221,166,.35); display: block; font-size: 10px; letter-spacing: 3px; }
.mountain { position: absolute; bottom: 0; border-radius: 50% 50% 0 0; opacity: .62; background: linear-gradient(140deg,#8d1320,#5b1019); clip-path: polygon(0 100%,18% 54%,35% 66%,55% 22%,70% 58%,82% 42%,100% 100%); }
.m1 { width: 300px; height: 105px; right: -25px; }.m2 { width: 260px; height: 75px; left: -30px; opacity: .38; }
.cloud { height: 9px; position: absolute; z-index: 5; border-radius: 50%; background: rgba(255,229,197,.25); filter: blur(1px); }
.cloud.c1 { width: 70px; left: 10px; top: 75px; }.cloud.c2 { width: 62px; right: 10px; top: 52px; }

/* ============================
   閫氱煡鏍?   ============================ */
.notice { min-height: 40px; margin-top: 13px; padding: 0 14px; display: flex; align-items: center; gap: 9px; border: 1px solid #f1d6d2; border-radius: 8px; color: #835e57; background: #fff8f5; font-size: 11px; }
.notice > span { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #dc4a42; flex-shrink: 0; }
.notice p { margin: 0; }
.notice button { margin-left: auto; border: 0; display: flex; align-items: center; gap: 5px; color: #c52830; background: transparent; font-size: 10px; white-space: nowrap; }

/* ============================
   淇℃伅闈㈡澘
   ============================ */
.profile-panel, .recommend-panel, .filter-panel { margin-top: 14px; border: 1px solid #ebedf0; border-radius: 13px; background: #fff; box-shadow: 0 5px 20px rgba(30,35,45,.035); }
.profile-panel { padding: 21px 24px 23px; }
.profile-header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; width:100%; }
.profile-info { display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:13px; color:#555; }
.profile-info .stu-name { font-size:15px; font-weight:700; color:#1a1a2e; }
.profile-info .stu-divider { color:#ddd; font-size:12px; }
.profile-info b { color:var(--red); font-weight:700; }
.batch-link { color:var(--red); text-decoration:none; cursor:pointer; font-weight:600; display:inline-flex; align-items:center; gap:4px; }
.batch-link:hover { text-decoration:underline; }
.batch-link .batch-count { display:inline-block; min-width:18px; height:18px; line-height:18px; text-align:center; border-radius:9px; background:var(--red); color:#fff; font-size:10px; font-weight:700; }
.profile-actions-right { display:flex; align-items:center; gap:8px; }
.btn-profile { padding:7px 18px; border:1px solid var(--red); border-radius:6px; background:#fff; color:var(--red); font-size:12px; font-weight:700; cursor:pointer; transition:all .2s; white-space:nowrap; }
.btn-profile:hover { background:var(--red); color:#fff; }
.btn-profile.primary { background:var(--red); color:#fff; }
.btn-profile.primary:hover { opacity:.9; }
.btn-sep { color:#ddd; font-size:11px; }
.sub-badge { margin-left:6px; padding:2px 10px; border:0; border-radius:3px; background:linear-gradient(135deg,#e8a84a,#f0c060); color:#fff; text-decoration:none; font-size:11px; font-weight:700; cursor:pointer; display:inline-flex; align-items:center; gap:3px; transition:all .2s; white-space:nowrap; box-shadow:0 2px 6px rgba(232,168,74,.25); }
.sub-badge:hover { background:linear-gradient(135deg,#d09030,#e0a840); transform:translateY(-1px); box-shadow:0 4px 10px rgba(232,168,74,.35); }
.batch-modal-content { max-width:780px; width:95%; padding:28px 30px 20px; }
.batch-table { width:100%; border-collapse:collapse; margin:12px 0; }
.batch-table th { background:#f7f8fa; padding:10px 12px; text-align:center; font-size:12px; color:#666; border-bottom:2px solid #eee; }
.batch-table td { padding:10px 12px; text-align:center; font-size:12px; border-bottom:1px solid #f0f0f0; }
.batch-table tr:hover td { background:#fefafa; }
.batch-table .batch-name { font-weight:600; color:#333; }
.batch-table .batch-line { color:var(--red); font-weight:700; font-size:14px; }
.btn-simulate { padding:6px 16px; border:0; border-radius:6px; background:#1a73e8; color:#fff; font-size:11px; font-weight:600; cursor:pointer; transition:all .2s; }
.btn-simulate:hover { background:#1557b0; transform:translateY(-1px); box-shadow:0 2px 8px rgba(26,115,232,.3); }
.batch-notice { margin-top:16px; padding:14px 16px; background:#fff5f5; border:1px solid #fde8e8; border-radius:8px; }
.batch-notice h4 { font-size:13px; color:var(--red); margin:0 0 8px; }
.batch-notice ol { margin:0; padding-left:20px; }
.batch-notice li { font-size:11px; color:#666; line-height:1.8; }
.batch-notice li b { color:var(--red); }

/* ============================
   鍏€変笁寮圭獥
   ============================ */
.subject-modal-content { max-width:560px; width:92%; padding:28px 30px 20px; }
.subject-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:16px 0; }
.subject-card { position:relative; padding:18px 12px 14px; border:2px solid #e8e8ec; border-radius:14px; text-align:center; cursor:pointer; transition:all .25s; background:#fff; user-select:none; }
.subject-card:hover { border-color:#c8821a; box-shadow:0 4px 16px rgba(200,130,26,.12); transform:translateY(-2px); }
.subject-card.selected { border-color:#c8821a; background:linear-gradient(135deg,#fff8f0,#fff3e0); box-shadow:0 4px 20px rgba(200,130,26,.18); }
.subject-card .sub-icon { font-size:28px; margin-bottom:6px; display:block; }
.subject-card .sub-name { font-size:15px; font-weight:800; color:#333; margin-bottom:4px; }
.subject-card .sub-en { font-size:9px; color:#aaa; letter-spacing:1px; }
.subject-card .sub-check { position:absolute; top:8px; right:10px; width:22px; height:22px; border-radius:50%; border:2px solid #ddd; display:flex; align-items:center; justify-content:center; font-size:12px; color:transparent; transition:all .25s; background:#fff; }
.subject-card.selected .sub-check { background:#c8821a; border-color:#c8821a; color:#fff; }
.subject-modal-footer { display:flex; align-items:center; justify-content:space-between; padding:14px 0 0; border-top:1px solid #f0f0f0; margin-top:12px; }
.btn-subject-confirm { padding:8px 28px; border:0; border-radius:8px; background:linear-gradient(135deg,#c8821a,#e6a030); color:#fff; font-size:13px; font-weight:700; cursor:pointer; transition:all .25s; box-shadow:0 4px 12px rgba(200,130,26,.25); }
.btn-subject-confirm:hover { transform:translateY(-1px); box-shadow:0 6px 18px rgba(200,130,26,.35); }
.btn-subject-confirm:disabled { opacity:.5; cursor:not-allowed; transform:none; }

/* ============================
   鎴戠殑蹇楁効琛ㄥ脊绐?   ============================ */
.myplans-modal-content { max-width:900px; width:95%; padding:28px 30px 20px; }
.myplans-table { width:100%; border-collapse:collapse; margin:12px 0; }
.myplans-table th { background:#f7f8fa; padding:10px 12px; text-align:center; font-size:12px; color:#666; border-bottom:2px solid #eee; white-space:nowrap; }
.myplans-table td { padding:10px 12px; text-align:center; font-size:12px; border-bottom:1px solid #f0f0f0; vertical-align:middle; }
.myplans-table tr:hover td { background:#fefafa; }
.myplans-table .plan-name { font-weight:600; color:#333; }
.myplans-table .plan-score { color:#666; font-size:11px; }
.myplans-table .plan-batch { display:inline-block; padding:2px 8px; border-radius:4px; font-size:10px; font-weight:600; }
.myplans-table .plan-batch.b1 { background:#e8f4fd; color:#1a73e8; }
.myplans-table .plan-batch.b2 { background:#e6f7ed; color:#1a8a4a; }
.myplans-table .plan-batch.b3 { background:#fef3e2; color:#d68a1a; }
.myplans-table .plan-batch.b4 { background:#f3e8fd; color:#7b1fa2; }
.myplans-table .plan-batch.b5 { background:#fde8e8; color:#c62828; }
.myplans-table .plan-batch.b6 { background:#e0f0e8; color:#1a7a5a; }
.myplans-table .plan-time { font-size:10px; color:#aaa; }
.myplans-table .plan-actions { display:flex; gap:4px; justify-content:center; flex-wrap:wrap; }
.myplans-table .plan-actions button { padding:4px 10px; border:0; border-radius:4px; font-size:10px; cursor:pointer; font-weight:600; transition:all .2s; white-space:nowrap; }
.myplans-table .plan-actions .btn-continue { background:#1a73e8; color:#fff; }
.myplans-table .plan-actions .btn-continue:hover { background:#1557b0; }
.myplans-table .plan-actions .btn-view { background:#f0f0f0; color:#555; }
.myplans-table .plan-actions .btn-view:hover { background:#e0e0e0; }
.myplans-table .plan-actions .btn-export { background:#34a853; color:#fff; }
.myplans-table .plan-actions .btn-export:hover { background:#2d8f47; }
.myplans-table .plan-actions .btn-delete { background:#fff; color:#d32f2f; border:1px solid #f0c0c0 !important; }
.myplans-table .plan-actions .btn-delete:hover { background:#d32f2f; color:#fff; }

/* 我的志愿表 - 卡片化（对齐已选志愿样式） */
.myplans-modal-content { max-width: 760px; width: 95%; padding: 24px 26px 20px; }
.myplans-card-list { max-height: 56vh; overflow-y: auto; }
.myplans-card { position: relative; padding: 14px 16px 14px 18px; margin-bottom: 10px; background: #fff; border: 1px solid #eee; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.05); overflow: hidden; }
.myplans-card:last-child { margin-bottom: 0; }
.myplans-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red); border-radius: 12px 0 0 12px; }
.myplans-card-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.myplans-card-name { font-weight: 700; font-size: 15px; color: #1a1a2e; }
.myplans-card-batch { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 10px; font-weight: 600; }
.myplans-card-batch.b1 { background: #e8f4fd; color: #1a73e8; }
.myplans-card-batch.b2 { background: #e6f7ed; color: #1a8a4a; }
.myplans-card-batch.b3 { background: #fef3e2; color: #d68a1a; }
.myplans-card-batch.b4 { background: #f3e8fd; color: #7b1fa2; }
.myplans-card-batch.b5 { background: #fde8e8; color: #c62828; }
.myplans-card-batch.b6 { background: #e0f0e8; color: #1a7a5a; }
.myplans-card-info { font-size: 12px; color: #666; margin-top: 8px; }
.myplans-card-time { font-size: 10px; color: #aaa; margin-top: 6px; }
.myplans-card-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #eee; }
.myplans-card-actions button { padding: 5px 12px; border: 0; border-radius: 6px; font-size: 11px; cursor: pointer; font-weight: 600; transition: all .2s; white-space: nowrap; }
.myplans-card-actions .btn-continue { background: var(--red); color: #fff; }
.myplans-card-actions .btn-view { background: #f0f0f0; color: #555; }
.myplans-card-actions .btn-export { background: #34a853; color: #fff; }
.myplans-card-actions .btn-delete { background: #fff; color: #d32f2f; border: 1px solid #f0c0c0 !important; }

/* ============================
   鎵规閫夋嫨寮圭獥
   ============================ */
.filter-panel { padding: 0; margin-top: 14px; }
.filter-panel .filter-section { background:#fff; border-radius:14px; padding:16px 18px; box-shadow:0 2px 12px rgba(0,0,0,.06); border:1px solid rgba(255,255,255,.8); }
.filter-panel .advanced-filter-header { display:flex; align-items:center; gap:10px; cursor:pointer; user-select:none; padding:2px 0; }
.filter-panel .advanced-filter-header .filter-label { font-size:13px; font-weight:600; color:#555; flex-shrink:0; }
.filter-panel .advanced-filter-toggle { width:26px; height:26px; border-radius:50%; background:var(--red); color:#fff; display:flex; align-items:center; justify-content:center; font-size:11px; flex-shrink:0; transition:all .3s; }
.filter-panel .advanced-filter.collapsed .advanced-filter-toggle { background:#bbb; }
.filter-panel .advanced-filter.collapsed .advanced-filter-toggle::after { content:'▶'; }
.filter-panel .advanced-filter:not(.collapsed) .advanced-filter-toggle::after { content:'▼'; }
.filter-panel .advanced-filter.collapsed .advanced-filter-body { display:none; }
.filter-panel .advanced-filter-body { padding-top:12px; }
.filter-panel .filter-search { display:flex; gap:8px; flex:1; min-width:0; }
.filter-panel .filter-search input { width:100%; height:38px; padding:0 16px; border:1.5px solid #e8e8ec; border-radius:10px; font-size:13px; outline:0; background:#fafafa; transition:all .25s; }
.filter-panel .filter-search input:focus { border-color:var(--red); background:#fff; box-shadow:0 0 0 4px rgba(220,20,60,.06); }
.filter-panel .filter-reset-btn { padding:4px 14px; border:0; border-radius:6px; background:#f0f0f0; color:#666; font-size:11px; cursor:pointer; transition:all .2s; }
.filter-panel .filter-reset-btn:hover { background:#e0e0e0; color:#333; }
.filter-panel .filter-tabs-bar { display:flex; gap:6px; margin-bottom:10px; flex-wrap:wrap; }
.filter-panel .filter-tab { display:flex; align-items:center; gap:4px; padding:7px 16px; border:1px solid #e0e0e0; border-radius:8px; background:#f7f8fa; color:#555; font-size:12px; cursor:pointer; transition:all .2s; }
.filter-panel .filter-tab:hover { border-color:var(--red); color:var(--red); }
.filter-panel .filter-tab.filter-tab-active { background:var(--red); color:#fff; border-color:var(--red); font-weight:600; box-shadow:0 2px 8px rgba(220,20,60,.15); }
.filter-panel .filter-tab-contents { background:#f7f8fa; border:1px solid #e8e8ec; border-radius:10px; padding:12px; min-height:40px; }
.filter-panel .filter-tab-panel { display:block; }
.filter-panel .filter-tab-panel[style*="display:none"] { display:none; }
.filter-panel .filter-tags { display:flex; flex-wrap:wrap; gap:6px; }
.filter-panel .filter-tags .tag { padding:4px 12px; border:1px solid #e0e0e0; border-radius:16px; font-size:11px; color:#666; cursor:pointer; background:#fff; user-select:none; transition:all .2s; }
.filter-panel .filter-tags .tag:hover { border-color:var(--red); color:var(--red); }
.filter-panel .filter-tags .tag.tag-active { background:var(--red); color:#fff; border-color:var(--red); font-weight:600; box-shadow:0 2px 6px rgba(220,20,60,.15); }
.filter-panel .filter-reset { display:none; }
.filter-mode { display:flex; gap:16px; margin-bottom:10px; flex-wrap:wrap; }
.filter-mode label { font-size:12px; color:#555; cursor:pointer; display:flex; align-items:center; gap:4px; }
.filter-mode input[type="radio"] { accent-color:var(--red); }
.filter-tags { display:flex; flex-wrap:wrap; gap:6px; }
.filter-tags .tag { padding:4px 12px; border:1px solid #e0e0e0; border-radius:14px; font-size:11px; color:#666; cursor:pointer; transition:all .2s; background:#fff; user-select:none; }
.filter-tags .tag:hover { border-color:var(--red); color:var(--red); }
.filter-tags .tag.tag-active { background:var(--red); color:#fff; border-color:var(--red); }

.panel-heading, .recommend-head { display: flex; align-items: center; justify-content: space-between; }
.panel-heading > div:first-child, .recommend-head > div:first-child { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 9px; }
.step { width: 27px; height: 27px; grid-row: span 2; display: grid; place-items: center; border-radius: 7px; color: #fff; background: linear-gradient(145deg, #db423c, #b31722); font-family: Georgia, serif; font-size: 11px; font-weight: 700; }
.panel-heading h3, .recommend-head h3 { margin: 0; font-size: 15px; }
.panel-heading p, .recommend-head p { margin: 3px 0 0; grid-column: 2; color: #999da4; font-size: 10px; }
.saved { color: #7ca38a; font-size: 10px; }
.saved::before { content: "●"; margin-right: 5px; color: #61a876; }

/* ============================
   琛ㄥ崟鍖哄煙
   ============================ */
.form-row { margin-top: 19px; display: grid; grid-template-columns: 150px 165px minmax(385px, 1fr) 174px; align-items: end; gap: 15px; }
.form-row label > span { display: block; margin-bottom: 8px; color: #646a72; font-size: 11px; font-weight: 700; }
.form-row label > span em { color: #aaa; font-style: normal; font-weight: 400; }
.input-wrap { height: 39px; padding: 0 12px; display: flex; align-items: center; border: 1px solid #dfe2e6; border-radius: 7px; background: #fcfcfd; }
.input-wrap:focus-within { border-color: #d6494c; box-shadow: 0 0 0 3px #fff0f0; }
.input-wrap input { width: 100%; border: 0; outline: 0; color: #343941; background: transparent; font-size: 14px; font-weight: 700; }
.input-wrap input::placeholder { color: #ccc; font-weight: 400; }
.input-wrap b { color: #aaa; font-size: 10px; font-weight: 400; }
.subject-list { display: flex; gap: 6px; }
.subject-list button { height: 39px; min-width: 57px; padding: 0 8px; position: relative; display: flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid #e4e5e8; border-radius: 7px; color: #646a73; background: #fff; font-size: 10px; cursor: pointer; }
.subject-list button > i { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: var(--subject-color); background: color-mix(in srgb, var(--subject-color) 12%, white); font-style: normal; font-weight: 800; }
.subject-list button.selected { border-color: #db4a49; color: #bd232b; background: #fff8f7; }
.subject-list button small { width: 13px; height: 13px; position: absolute; right: -1px; top: -1px; display: grid; place-items: center; border-radius: 0 6px 0 8px; color: white; background: #d73c3d; }
.primary-button { height: 40px; border: 0; border-radius: 7px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; background: linear-gradient(110deg, #da3c39, #b41421); box-shadow: 0 7px 14px rgba(181,24,31,.18); font-size: 12px; font-weight: 700; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 9px 18px rgba(181,24,31,.24); }

/* ============================
   鎺ㄨ崘闈㈡澘
   ============================ */
.recommend-panel { padding: 20px 24px 22px; }
.mini-search { width: 205px; height: 34px; padding: 0 11px; display: flex; align-items: center; gap: 7px; border: 1px solid #e2e4e8; border-radius: 7px; color: #a2a6ad; background: #fafbfc; }
.mini-search input { min-width: 0; border: 0; outline: 0; flex: 1; background: transparent; font-size: 10px; }
.mini-search input::placeholder { color: #bbb; }
.filter-row { margin-top: 19px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid #edeef1; padding-bottom: 10px; }
.strategy-tabs { display: flex; gap: 3px; flex-wrap:wrap; align-items:center; }
.strategy-tabs button { min-width: 48px; padding: 6px 14px; border: 1px solid #e8e8ec; border-radius:18px; color: #555; background: #fafafa; font-size: 12px; cursor: pointer; transition:all .2s; font-weight:500; }
.strategy-tabs button:hover { border-color:var(--red); color:var(--red); }
.strategy-tabs button.active { color: #fff; background:var(--red); border-color:var(--red); font-weight:600; box-shadow:0 2px 8px rgba(220,20,60,.15); }
.strategy-tabs button .scount { display:inline-block; margin-left:4px; padding:0 4px; border-radius:3px; font-size:9px; background:rgba(0,0,0,.08); min-width:16px; text-align:center; }
.strategy-tabs button.active .scount { background:rgba(255,255,255,.2); }
.strategy-tabs .s-total { display:inline-flex; align-items:center; gap:4px; padding:6px 12px; border-radius:6px; background:linear-gradient(135deg,#fef6f5,#fff); border:1px solid #f0d4cf; color:#c6473d; font-size:11px; font-weight:700; }
.strategy-tabs .s-total .scount { display:inline-block; padding:0 4px; border-radius:3px; font-size:9px; background:rgba(198,71,61,.1); min-width:16px; text-align:center; }
.range-slider-wrap { display:flex; align-items:center; gap:6px; margin-left:auto; white-space:nowrap; }
.range-label { font-size:10px; color:#999; }
.range-controls { display:flex; align-items:center; gap:4px; }
.range-input { width:60px; height:4px; -webkit-appearance:none; appearance:none; background:#e0e0e0; border-radius:2px; outline:none; cursor:pointer; }
.range-input::-webkit-slider-thumb { -webkit-appearance:none; width:14px; height:14px; border-radius:50%; background:var(--red); cursor:pointer; border:2px solid #fff; box-shadow:0 1px 4px rgba(0,0,0,.15); }
.range-val { font-size:10px; color:#666; min-width:28px; text-align:center; font-weight:700; }
.range-sep { font-size:10px; color:#ccc; }
.strategy-info { display:flex; gap:10px; font-size:10px; color:#999; margin-left:auto; }
.strategy-info .info-item b { color:#333; font-weight:700; }

/* 专业类别筛选 */
.major-cat-hierarchy { display:flex; flex-direction:column; gap:10px; }
.major-cat-level { }
.major-cat-level-label { font-size:10px; color:#999; margin-bottom:5px; font-weight:600; }
.tag .tag-dropdown-btn { display:inline-flex; align-items:center; margin-left:3px; padding:0 2px; font-size:9px; opacity:.5; transition:opacity .2s; }
.tag:hover .tag-dropdown-btn { opacity:1; }
.tag .sel-badge { display:inline-flex; align-items:center; justify-content:center; min-width:16px; height:16px; padding:0 4px; border-radius:8px; background:var(--red); color:#fff; font-size:9px; font-weight:700; margin-left:4px; }
.cat-popup-group { margin-bottom:12px; }
.cat-group-header { display:flex; align-items:center; gap:6px; font-size:13px; font-weight:600; color:#333; margin-bottom:6px; cursor:pointer; padding:4px 0; }
.cat-group-header .cat-check { width:16px; height:16px; border:2px solid #ccc; border-radius:4px; display:inline-flex; align-items:center; justify-content:center; font-size:10px; color:#fff; transition:all .2s; flex-shrink:0; }
.cat-group-header .cat-check.checked { background:var(--red); border-color:var(--red); }
.cat-group-header .cat-check.partial { background:#f5a0a0; border-color:var(--red); }
.cat-group-header .cat-count { margin-left:auto; font-size:10px; color:#999; font-weight:400; }
.cat-chips { display:flex; flex-wrap:wrap; gap:5px; padding-left:22px; }
.cat-chip { padding:3px 10px; border:1px solid #e0e0e0; border-radius:14px; font-size:11px; cursor:pointer; background:#fff; color:#666; transition:all .15s; user-select:none; }
.cat-chip:hover { border-color:var(--red); color:var(--red); }
.cat-chip.chip-active { background:var(--red); color:#fff; border-color:var(--red); font-weight:600; }
.cat-popup-footer { display:flex; gap:8px; justify-content:space-between; align-items:center; padding:10px 18px; border-top:1px solid #eee; }
.cat-popup-footer .sel-info { font-size:11px; color:#888; }

/* 策略区间色带 */
.range-slider-wrap label { font-size:11px; color:#888; font-weight:500; }
.range-slider-wrap input[type=range] { flex:1; height:5px; -webkit-appearance:none; appearance:none; background:#e0e0e0; border-radius:3px; outline:0; }
.range-slider-wrap input[type=range]::-webkit-slider-thumb { -webkit-appearance:none; width:18px; height:18px; border-radius:50%; background:#fff; cursor:pointer; border:3px solid var(--red); box-shadow:0 2px 6px rgba(0,0,0,.15); }
.range-slider-wrap .range-val { font-size:14px; font-weight:700; color:var(--red); min-width:48px; text-align:center; }
.sr-bands .band-item { display:inline-flex; align-items:center; gap:3px; padding:2px 8px; border-radius:4px; background:#f5f5f5; color:#666; }
.sr-bands .band-dot { width:7px; height:7px; border-radius:50%; display:inline-block; }
.sr-bands .band-item b { color:#333; font-weight:600; }

/* ============================
   闄㈡牎鍒楄〃
   ============================ */
.university-list { display: grid; }
.university-card { min-height: 103px; padding: 15px 40px 15px 2px; position: relative; display: grid; grid-template-columns: 56px minmax(0,1fr) 96px; align-items: center; gap: 15px; border-bottom: 1px solid #f0f1f3; }
.uni-logo { width: 50px; height: 50px; display: grid; place-items: center; border: 4px double rgba(255,255,255,.8); border-radius: 50%; color: #fff; font-family: serif; font-size: 20px; font-weight: 900; box-shadow: 0 3px 8px rgba(0,0,0,.12); }
.uni-title { display: flex; align-items: center; gap: 8px; }
.uni-title h4 { margin: 0; font-size: 14px; }
.uni-title span { color: #92979f; font-size: 9px; }
.uni-title em { padding: 3px 6px; border: 1px solid #ead7bd; border-radius: 3px; color: #a77b42; background: #fffaf0; font-size: 8px; font-style: normal; }
.major-line { margin-top: 8px; display: flex; align-items: center; gap: 8px; }
.major-line strong { color: #565c65; font-size: 11px; }
.major-line span { color: #a4a8ae; font-size: 9px; }
.major-line i { padding: 2px 5px; border-radius: 3px; color: #bf3439; background: #fff0ef; font-size: 8px; font-style: normal; }
.uni-data { margin-top: 8px; display: flex; gap: 24px; color: #999da4; font-size: 9px; }
.uni-data b { margin-left: 3px; color: #5c626a; font-size: 10px; }
.probability { padding-left: 20px; border-left: 1px solid #f0f0f2; text-align: center; }
.strategy-badge { width: 34px; height: 18px; margin: 0 auto 4px; display: grid; place-items: center; border-radius: 9px; font-size: 9px; }
.strategy-badge.鍐插埡 { color: #cf3b3e; background: #fff0ef; }
.strategy-badge.绋冲Ε { color: #c67d18; background: #fff6e5; }
.strategy-badge.淇濆簳 { color: #31895d; background: #eaf8f0; }
.probability strong { display: block; color: #c83138; font-family: Georgia, serif; font-size: 21px; line-height: 1; }
.probability strong small { font-size: 10px; }
.probability > span { color: #aaaeb4; font-size: 8px; display: block; }
.favorite { position: absolute; right: 3px; top: 19px; border: 0; color: #c5c8ce; background: transparent; cursor: pointer; }
.favorite.active { color: #d0393f; }
.favorite.active svg { fill: currentColor; }
.empty-state { padding: 38px 0; text-align: center; color: #a5a9b0; }
.empty-state h4 { margin: 8px 0 3px; color: #646a72; }
.empty-state p { margin: 0; font-size: 11px; }

/* ============================
   鍔犺浇鐘舵€?   ============================ */
.uni-loading { padding: 40px 0; text-align: center; color: #999da4; }
.spinner { width: 28px; height: 28px; margin: 0 auto 10px; border: 3px solid #f0f0f0; border-top-color: var(--red); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.uni-loading span { display: block; font-size: 11px; }

/* ============================
   搴曢儴
   ============================ */
.uni-footer { margin-top: 17px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.view-more { height: 35px; padding: 0 17px; border: 1px solid #e3c0bf; border-radius: 6px; display: flex; align-items: center; gap: 7px; color: #bc2c32; background: #fffafa; font-size: 10px; cursor: pointer; }
.uni-summary { display: flex; align-items: center; gap: 10px; color: #999da4; font-size: 10px; }
.uni-summary strong { font-size: 12px; }
.uni-summary .sep { color: #ddd; }
.count-chong { color: #e25953; }
.count-wen { color: #e8a23c; }
.count-di { color: #47a879; }

/* ============================
   椤甸潰鍒囨崲
   ============================ */
.page-section { margin-top: 14px; }
.section-header { margin-bottom: 16px; }
.section-header h2 { margin: 0 0 4px; font-size: 18px; color: #20242b; }
.section-header p { margin: 0; font-size: 11px; color: #999da4; }
.section-header strong { color: var(--red); }
.lib-search-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.lib-search-bar select { height: 34px; padding: 0 10px; border: 1px solid #dfe2e6; border-radius: 7px; color: #555; background: #fff; font-size: 12px; outline: 0; }
.lib-search-bar select:focus { border-color: #d6494c; }
.uni-library-list { display: grid; gap: 1px; background: #f0f1f3; border: 1px solid #ebedf0; border-radius: 13px; overflow: hidden; background: #fff; }
.uni-lib-card { padding: 14px 18px; display: flex; align-items: center; gap: 15px; border-bottom: 1px solid #f0f1f3; }
.uni-lib-card:last-child { border-bottom: 0; }
.uni-lib-logo { width: 44px; height: 44px; display: grid; place-items: center; border: 4px double rgba(255,255,255,.8); border-radius: 50%; color: #fff; font-family: serif; font-size: 18px; font-weight: 900; flex-shrink: 0; }
.uni-lib-info { flex: 1; }
.uni-lib-info h4 { margin: 0 0 4px; font-size: 14px; }
.uni-lib-info .meta { display: flex; align-items: center; gap: 10px; font-size: 10px; color: #92979f; }
.uni-lib-info .meta em { padding: 2px 5px; border: 1px solid #ead7bd; border-radius: 3px; color: #a77b42; background: #fffaf0; font-style: normal; }
.uni-lib-info .meta span { color: #999da4; }
.uni-lib-action { text-align: right; color: #aaaeb4; font-size: 10px; }
.uni-lib-action strong { display: block; color: var(--red); font-size: 16px; }

/* ============================
   鏀跨瓥璧勮
   ============================ */
.policy-tabs { display: flex; gap: 5px; flex-wrap: wrap; }
.policy-tabs button { height: 30px; padding: 0 14px; border: 1px solid #e4e5e8; border-radius: 15px; color: #666c74; background: #fff; font-size: 11px; cursor: pointer; }
.policy-tabs button.active { border-color: var(--red); color: #fff; background: var(--red); }
.policy-list { display: grid; gap: 1px; background: #fff; border: 1px solid #ebedf0; border-radius: 13px; overflow: hidden; }
.policy-card { padding: 14px 18px; border-bottom: 1px solid #f0f1f3; cursor: pointer; }
.policy-card:last-child { border-bottom: 0; }
.policy-card:hover { background: #fefafa; }
.policy-card h4 { margin: 0 0 6px; font-size: 13px; color: #20242b; }
.policy-card .summary { font-size: 11px; color: #999da4; margin: 0 0 8px; line-height: 1.5; }
.policy-card .meta { display: flex; align-items: center; gap: 12px; font-size: 10px; color: #b0b4ba; }
.policy-card .meta .cat-tag { padding: 1px 7px; border-radius: 3px; font-size: 9px; }
.cat-tag.news { background: #e8f4fd; color: #1a73e8; }
.cat-tag.guide { background: #fef3e2; color: #d68a1a; }
.cat-tag.score { background: #e6f7ed; color: #1a8a4a; }
.cat-tag.policy { background: #f3e8fd; color: #7b1fa2; }
.cat-tag.notice { background: #fde8e8; color: #c62828; }
.cat-tag.expert { background: #e0f0e8; color: #1a7a5a; }

/* ============================
   鏀跨瓥璇︽儏寮圭獥
   ============================ */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 999; background: rgba(0,0,0,.45); display: grid; place-items: center; }
.modal-content { max-width: 680px; width: 90%; max-height: 80vh; padding: 28px 30px; position: relative; background: #fff; border-radius: 16px; overflow-y: auto; }
/* 专业详情弹窗 - 大尺寸弹窗 */
.modal-box { max-width: 900px; width: 94%; max-height: 90vh; overflow-y: auto; position: relative; background: #fff; border-radius: 16px; box-shadow: 0 8px 40px rgba(0,0,0,.15); animation: modalFadeIn .3s ease; }
.modal-box .close-btn { position: sticky; top: 0; right: 0; float: right; z-index: 10; font-size: 28px; background: rgba(0,0,0,.03); border: none; cursor: pointer; padding: 10px 18px; color: #999; border-radius: 0 16px 0 0; transition: all .15s; }
.modal-box .close-btn:hover { background: rgba(0,0,0,.06); color: #333; }
@keyframes modalFadeIn { from { opacity: 0; transform: scale(.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-close { position: absolute; right: 16px; top: 12px; border: 0; background: none; font-size: 28px; color: #999; cursor: pointer; }
.modal-close:hover { color: #333; }
.modal-content h3 { margin: 0 0 10px; font-size: 18px; }

/* 浜岀淮鐮佸脊绐?*/
#qrModal .modal-content {
    animation: qrFadeIn .35s ease;
}
@keyframes qrFadeIn {
    from { opacity: 0; transform: scale(.92) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
/* qr modal redesign: compact header + body, less blank space */
#qrModal .qr-modal-content {
    max-width: 360px;
    width: 92%;
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,.18);
    text-align: left;
}
.qr-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 18px;
    background: linear-gradient(135deg,#da433c,#aa1522);
}
.qr-modal-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.qr-modal-icon {
    width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
    background: rgba(255,255,255,.22);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 19px;
}
.qr-modal-title h3 { margin: 0; font-size: 16px; color: #fff; font-weight: 700; line-height: 1.3; }
.qr-modal-title p { margin: 3px 0 0; font-size: 11px; color: rgba(255,255,255,.88); line-height: 1.4; }
.qr-modal-close {
    border: 0; cursor: pointer; flex-shrink: 0;
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,.18); color: #fff;
    font-size: 18px; line-height: 1;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .2s ease, transform .2s ease;
}
.qr-modal-close:hover { background: rgba(255,255,255,.35); transform: rotate(90deg); }
.qr-modal-body { padding: 18px 20px 20px; text-align: center; }
#qrCodeDisplay {
    width: 220px; height: 220px; margin: 0 auto;
    background: #f7f8fa; border: 1px solid #eef0f3; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
#qrCodeDisplay img {
    width: 100%; height: 100%; object-fit: contain;
    border-radius: 8px; display: block;
    transition: opacity .3s ease;
}
.qr-modal-tip {
    margin: 12px 0 0; font-size: 11px; color: #8a8f99;
    display: flex; align-items: center; justify-content: center; gap: 4px;
}
/* ============================
   可报专业弹窗（招生方向页签 + 三年数据）
   ============================ */
.ml-modal-box { display:flex; flex-direction:column; max-height:88vh; }
.ml-header { padding:18px 22px 14px; background:linear-gradient(135deg,#8e0f1a 0%,#c4202e 55%,#e0523f 100%); color:#fff; position:relative; flex:0 0 auto; overflow:hidden; }
.ml-header::before { content:''; position:absolute; right:-30px; top:-70px; width:230px; height:230px; border-radius:50%; background:radial-gradient(circle, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 65%); pointer-events:none; z-index:0; }
.ml-header::after { content:''; position:absolute; left:34%; bottom:-52px; width:170px; height:170px; border-radius:50%; background:radial-gradient(circle, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 70%); pointer-events:none; z-index:0; }
.ml-header .ml-title, .ml-header .ml-subtitle, .ml-header .ml-stats { position:relative; z-index:1; }
.ml-header .ml-title { font-size:17px; font-weight:700; margin:0 0 3px; text-shadow:0 1px 3px rgba(0,0,0,.15); }
.ml-header .ml-subtitle { font-size:11px; color:rgba(255,255,255,.75); }
.ml-header .ml-stats { display:flex; gap:20px; margin-top:10px; }
.ml-header .ml-stat { display:flex; flex-direction:column; }
.ml-header .ml-stat .ml-stat-num { font-size:18px; font-weight:700; color:#fff; }
.ml-header .ml-stat .ml-stat-label { font-size:10px; color:rgba(255,255,255,.6); margin-top:1px; }
.ml-dir-tabs { display:flex; gap:8px; padding:12px 20px 0; overflow-x:auto; flex:0 0 auto; scrollbar-width:none; }
.ml-dir-tabs::-webkit-scrollbar { display:none; }
.ml-dir-tab { flex-shrink:0; padding:6px 14px; border-radius:16px; background:#f2f3f5; color:#555; font-size:12px; cursor:pointer; white-space:nowrap; border:1px solid transparent; transition:all .15s; user-select:none; }
.ml-dir-tab b { font-weight:600; color:#999; }
.ml-dir-tab:hover { background:#fdeaea; color:var(--red); }
.ml-dir-tab.ml-dir-tab-active { background:linear-gradient(135deg,#c4202e,#e0523f); border-color:transparent; color:#fff; box-shadow:0 3px 10px rgba(198,31,43,.30); }
.ml-dir-tab.ml-dir-tab-active b { color:rgba(255,255,255,.9); }
.ml-scroll { flex:1 1 auto; overflow:auto; padding:14px 20px 4px; min-height:0; max-height:calc(88vh - 175px); }
.ml-table { width:100%; border-collapse:separate; border-spacing:0 6px; font-size:13px; }
.ml-table thead th { position:sticky; top:0; background:#fff; padding:6px 10px; text-align:center; font-size:11px; font-weight:700; color:#b0232f; border:0; white-space:nowrap; z-index:1; }
.ml-table thead th.ml-th-left { text-align:left; }
.ml-table tbody tr.ml-card td { padding:12px 10px; background:#fdf6f6; border:0; vertical-align:top; }
.ml-table tbody tr.ml-card:hover td { background:#fff; box-shadow:0 4px 16px rgba(198,31,43,.10); }
.ml-table tbody tr.ml-card td:first-child { border-radius:10px 0 0 10px; border-left:3px solid transparent; }
.ml-table tbody tr.ml-card:hover td:first-child { border-left-color:var(--red); }
.ml-table tbody tr.ml-card td:last-child { border-radius:0 10px 10px 0; }
.ml-major-cell { min-width:280px; text-align:left; }
.ml-major-name { font-size:14px; font-weight:700; color:#1a1a2e; line-height:1.45; }
.ml-dir-tag { display:inline-block; margin-right:6px; padding:1px 7px; border-radius:4px; background:var(--red-soft); color:var(--red); font-size:10px; font-weight:600; vertical-align:2px; }
.ml-major-tags { display:flex; flex-wrap:wrap; gap:4px; margin-top:6px; }
.ml-tag { display:inline-flex; align-items:center; padding:2px 8px; border-radius:4px; font-size:10px; font-weight:500; white-space:nowrap; }
.ml-tag.ml-tag-limit { background:#fff3e0; color:#e65100; }
.ml-tag.ml-tag-info { background:#fdeeee; color:#a31622; }
.ml-tag.ml-tag-code { background:#fbe9eb; color:#b0232f; }
.ml-year-cell { text-align:center; min-width:96px; }
.ml-year-block { display:flex; flex-direction:column; gap:3px; }
.ml-year-row { display:flex; align-items:center; justify-content:center; gap:6px; font-size:12px; }
.ml-year-label { color:#c9a3a7; font-size:10px; min-width:34px; text-align:right; }
.ml-year-val { font-weight:600; color:#333; }
.ml-year-val.ml-none { color:#e2e4e8; }
.ml-plan-num { display:inline-block; min-width:44px; padding:5px 10px; border-radius:8px; background:var(--red-soft); color:var(--red); font-size:18px; font-weight:800; line-height:1.15; }
.ml-plan-num small { font-size:10px; font-weight:600; color:#c28087; margin-left:2px; }
.ml-action-cell { text-align:center; min-width:104px; }
.ml-btn-volunteer { display:inline-flex; align-items:center; justify-content:center; padding:7px 16px; border:0; border-radius:8px; font-size:12px; font-weight:600; cursor:pointer; transition:all .2s; background:linear-gradient(135deg,#c4202e,#e0523f); color:#fff; box-shadow:0 2px 8px rgba(198,31,43,.20); }
.ml-btn-volunteer:hover { transform:translateY(-1px); box-shadow:0 4px 12px rgba(198,31,43,.30); }
.ml-btn-volunteer.ml-active { background:#94a3b8; box-shadow:none; }
.ml-footer { text-align:center; padding:10px 0 14px; color:#a33a44; font-size:12px; flex:0 0 auto; }
.ml-empty { text-align:center; padding:56px 20px; }
.ml-empty-icon { font-size:46px; opacity:.35; }
.ml-empty-text { font-size:13px; color:#999; margin-top:12px; }
.ml-empty-cell { text-align:center; padding:30px; color:#999; font-size:12px; }
/* 可报专业弹窗关闭按钮（红色头部上的白色圆形 X） */
#modalMajorList .close-btn { width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,.22); color:#fff; font-size:20px; line-height:1; display:flex; align-items:center; justify-content:center; border:0; transition:all .2s; }
#modalMajorList .close-btn:hover { background:rgba(255,255,255,.38); color:#fff; transform:rotate(90deg); }
@media (max-width: 640px) {
    /* 可报专业：手机端卡片式（专业一行 + 计划/三年数据均分一行 + 按钮一行） */
    .ml-header { padding:14px 16px 12px; }
    .ml-scroll { overflow:auto; max-height:calc(88vh - 175px); padding:10px 12px 4px; }
    .ml-table, .ml-table tbody, .ml-table tr, .ml-table td { display:block; }
    .ml-table { border-spacing:0; }
    .ml-table thead { display:none; }
    .ml-table tbody tr.ml-card { display:flex; flex-wrap:wrap; gap:8px 6px; background:#fdf6f6; border-radius:12px; padding:12px; margin-bottom:10px; }
    .ml-table tbody tr.ml-card td { padding:0; background:transparent; border:0; vertical-align:top; }
    .ml-major-cell { flex:1 1 100%; min-width:0; }
    .ml-major-name { font-size:14px; }
    .ml-major-tags { margin-top:4px; }
    .ml-table tbody tr.ml-card td:nth-child(2),
    .ml-table tbody tr.ml-card td.ml-year-cell { flex:1 1 0; min-width:0; text-align:center; }
    .ml-table tbody tr.ml-card td:nth-child(2)::before { content:'计划'; display:block; font-size:9px; color:#c28087; margin-bottom:3px; }
    .ml-table tbody tr.ml-card td:nth-child(3)::before { content:'2026录取'; display:block; font-size:9px; color:#c28087; margin-bottom:3px; }
    .ml-table tbody tr.ml-card td:nth-child(4)::before { content:'2025录取'; display:block; font-size:9px; color:#c28087; margin-bottom:3px; }
    .ml-table tbody tr.ml-card td:nth-child(5)::before { content:'2024录取'; display:block; font-size:9px; color:#c28087; margin-bottom:3px; }
    .ml-year-block { gap:2px; }
    .ml-year-row { font-size:10px; gap:2px; }
    .ml-year-label { min-width:0; font-size:9px; }
    .ml-plan-num { min-width:0; padding:4px 8px; font-size:15px; }
    .ml-action-cell { flex:1 1 100%; min-width:0; text-align:center; margin-top:4px; }
    .ml-btn-volunteer { width:100%; padding:8px 0; }
    /* 手机端筛选栏：搜索框换到第二行占满整行，避免“重置”按钮被挤出屏幕造成横向滚动 */
    .advanced-filter-header { flex-wrap: wrap; row-gap: 8px; }
    .advanced-filter-header .filter-search { order: 3; flex: 1 1 100% !important; min-width: 0 !important; }
    .advanced-filter-header .filter-reset-btn { margin-left: auto; flex-shrink: 0; }
}
/* 平板端：可报专业卡片化（与手机端一致，避免六列表格挤压） */
@media (min-width: 641px) and (max-width: 1100px) {
    .ml-header { padding:14px 16px 12px; }
    .ml-scroll { overflow:auto; max-height:calc(88vh - 175px); padding:12px 14px 4px; }
    .ml-table, .ml-table tbody, .ml-table tr, .ml-table td { display:block; }
    .ml-table { border-spacing:0; }
    .ml-table thead { display:none; }
    .ml-table tbody tr.ml-card { display:flex; flex-wrap:wrap; gap:8px 10px; background:#fdf6f6; border-radius:12px; padding:12px 14px; margin-bottom:10px; }
    .ml-table tbody tr.ml-card td { padding:0; background:transparent; border:0; vertical-align:top; }
    .ml-major-cell { flex:1 1 100%; min-width:0; }
    .ml-major-name { font-size:14px; }
    .ml-major-tags { margin-top:4px; }
    .ml-table tbody tr.ml-card td:nth-child(2),
    .ml-table tbody tr.ml-card td.ml-year-cell { flex:1 1 0; min-width:0; text-align:center; }
    .ml-table tbody tr.ml-card td:nth-child(2)::before { content:'计划'; display:block; font-size:9px; color:#c28087; margin-bottom:3px; }
    .ml-table tbody tr.ml-card td:nth-child(3)::before { content:'2026录取'; display:block; font-size:9px; color:#c28087; margin-bottom:3px; }
    .ml-table tbody tr.ml-card td:nth-child(4)::before { content:'2025录取'; display:block; font-size:9px; color:#c28087; margin-bottom:3px; }
    .ml-table tbody tr.ml-card td:nth-child(5)::before { content:'2024录取'; display:block; font-size:9px; color:#c28087; margin-bottom:3px; }
    .ml-year-block { gap:2px; }
    .ml-year-row { font-size:11px; gap:3px; }
    .ml-year-label { min-width:0; font-size:9px; }
    .ml-plan-num { min-width:0; padding:4px 10px; font-size:16px; }
    .ml-action-cell { flex:1 1 100%; min-width:0; text-align:center; margin-top:6px; }
    .ml-btn-volunteer { width:100%; padding:8px 0; }
}
.policy-meta { display: flex; gap: 15px; font-size: 11px; color: #999; margin-bottom: 18px; flex-wrap:wrap; }
.policy-body { font-size: 14px; line-height: 1.8; color: #333; white-space: pre-wrap; }
/* 政策详情内页 */
#pdContent { font-size: 15px; line-height: 1.9; color: #333; }
#pdContent p { margin: 0 0 12px; }
#pdContent img { max-width: 100%; height: auto; border-radius: 8px; margin: 12px 0; }
#pdContent h4 { font-size: 17px; margin: 20px 0 10px; color: #1a1a2e; }
#pdContent ul, #pdContent ol { margin: 8px 0 12px; padding-left: 22px; }
#pdContent li { margin-bottom: 4px; }

/* ============================
   涓撳搴?   ============================ */
.expert-filter { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #555; }
.expert-filter input[type="checkbox"] { width: 15px; height: 15px; }
.expert-list { display: grid; gap: 12px; }
.expert-card { padding: 18px 20px; display: flex; gap: 16px; border: 1px solid #ebedf0; border-radius: 13px; background: #fff; }
.expert-avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 22px; font-weight: 800; font-family: serif; flex-shrink: 0; position: relative; }
.expert-online { width: 14px; height: 14px; position: absolute; bottom: 0; right: 0; border: 2px solid #fff; border-radius: 50%; background: #47a879; }
.expert-info { flex: 1; }
.expert-info h4 { margin: 0 0 3px; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.expert-info h4 small { font-size: 11px; color: #999; font-weight: 400; }
.expert-info .org { font-size: 11px; color: #92979f; margin-bottom: 6px; }
.expert-info .expertise { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.expert-info .expertise span { padding: 2px 7px; border-radius: 3px; background: #f0f4f8; color: #4a6a8a; font-size: 9px; }
.expert-info .desc { font-size: 11px; color: #888; line-height: 1.6; }
.expert-stats { min-width: 80px; text-align: center; }
.expert-stats .rating { font-size: 20px; color: #e8a23c; font-weight: 700; }
.expert-stats .rating small { font-size: 12px; color: #ccc; }
.expert-stats span { display: block; font-size: 9px; color: #aaa; margin-top: 3px; }
.expert-stats .consult-btn { margin-top: 10px; padding: 5px 14px; border: 1px solid var(--red); border-radius: 5px; color: var(--red); background: #fff; font-size: 10px; cursor: pointer; }
.expert-stats .consult-btn:hover { background: var(--red); color: #fff; }

@media (max-width: 820px) {
    .expert-card { flex-wrap: wrap; }
    .expert-stats { width: 100%; display: flex; align-items: center; gap: 15px; }
    .modal-content { padding: 20px; }
}

/* ============================
   鍝嶅簲寮?   ============================ */
@media (max-width: 1120px) {
    .desktop-nav { gap: 20px; }
    .form-row { grid-template-columns: 1fr 1fr; }
    .subject-field { grid-column: 1 / -1; }
    .primary-button { grid-column: 2; }
    .hero-art { right: -10px; opacity: .8; }
}
@media (max-width: 820px) {
    .topbar { height: auto; padding: 10px 14px 10px; flex-wrap: wrap; row-gap: 10px; justify-content: center; }
    .brand { min-width: auto; width: 100%; align-items: center; text-align: center; }
    .brand-slogan { padding-left: 0; max-width: 100%; white-space: normal; }
    .brand small, .desktop-nav, .profile b, .profile svg { display: none; }
    .brand-link { justify-content: center; }
    .brand-banner { height: 32px; margin: 0 auto; }
    /* 移动端：卡登录/预约/免费填志愿 三个按钮在LOGO下另起一行，等宽一排 */
    .header-actions { width: 100%; order: 2; margin-left: 0; gap: 8px; }
    .header-actions .icon-button { flex: 0 0 auto; }
    .header-actions > button {
        flex: 1 1 0; min-width: 0; padding: 9px 6px !important; font-size: 12.5px !important;
        white-space: nowrap; display: flex; align-items: center; justify-content: center;
    }
    .header-actions .back-btn { flex: 1; justify-content: center; margin-left: 0 !important; }
    .page-grid { display: block; }
    .sidebar { display: none; }
    .content { padding: 16px 13px 35px; }
    .hero-card { min-height: 285px; padding: 26px 24px; }
    .hero-copy h2 { font-size: 28px; }
    .hero-copy p { max-width: 72%; line-height: 1.6; }
    .hero-art { right: -95px; top: 73px; transform: scale(.78); }
    .hero-stats { flex-wrap: wrap; max-width: 70%; }
    .form-row { grid-template-columns: 1fr 1fr; }
    .subject-list { display: grid; grid-template-columns: repeat(3,1fr); }
    .subject-list button { min-width: 0; }
    .primary-button { grid-column: 1 / -1; }
    .recommend-head { align-items: flex-start; gap: 14px; }
    .mini-search { width: 160px; }
    .university-card { grid-template-columns: 48px 1fr; padding-right: 5px; }
    .uni-logo { width: 44px; height: 44px; }
    .probability { position: absolute; right: 5px; bottom: 16px; border: 0; }
    .favorite { top: 13px; }
    .uni-main { padding-right: 38px; }
    .uni-data { gap: 10px; flex-wrap: wrap; padding-right: 72px; }
}
@media (max-width: 540px) {
    .welcome-row { align-items: flex-start; }
    .exam-count { padding: 0 10px; }
    .hero-copy p { max-width: 100%; }
    .hero-art { opacity: .42; right: -125px; }
    .hero-stats { max-width: 100%; }
    .profile-panel, .recommend-panel { padding: 17px 15px; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; }
    .subject-field, .primary-button { grid-column: 1 / -1; }
    /* 窄屏：选科标签整行换行，避免按钮被压缩溢出屏幕 */
    .subject-field { flex: 1 1 100%; flex-wrap: wrap; gap: 6px 8px; }
    .subject-field > span { flex: 1 1 100%; }
    /* 窄屏：首页统计三项等分一行，避免 2+1 换行错位 */
    .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; max-width: 100%; gap: 6px; }
    .hero-stats i { display: none; }
    .panel-heading .saved { display: none; }
    .recommend-head { display: block; }
    .mini-search { width: 100%; margin-top: 14px; }
    .filter-row { align-items: flex-start; }
    .strategy-tabs { overflow-x: auto; }
    .strategy-tabs button { min-width: 52px; padding-inline: 5px; }
    .filter-button { white-space: nowrap; }
    .university-card { padding-top: 18px; padding-bottom: 18px; }
    .uni-title { flex-wrap: wrap; }
    .major-line { flex-wrap: wrap; }
    .probability { bottom: 18px; }
    .university-card:nth-child(n+5) { display: none; }
}

/* ============================
   城市筛选
   ============================ */
.city-mode-tabs { display:flex; gap:4px; margin-bottom:8px; flex-wrap:wrap; }
.city-mode-tab { padding:5px 12px; border:1px solid #e0e0e0; border-radius:6px; font-size:11px; color:#666; cursor:pointer; background:#fff; transition:all .2s; }
.city-mode-tab:hover { border-color:var(--red); color:var(--red); }
.city-mode-tab.city-mode-active { background:var(--red); color:#fff; border-color:var(--red); font-weight:600; }
.city-mode-hint { font-size:10px; color:#bbb; margin-bottom:6px; padding:4px 0; }
.city-popup-actions { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.city-popup-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; max-height:300px; overflow-y:auto; padding:4px 0; }
.city-check-item { display:flex; align-items:center; gap:5px; padding:6px 10px; border-radius:8px; cursor:pointer; font-size:12px; color:#444; transition:all .15s; }
.city-check-item:hover { background:#f5f5f5; }
.city-check-item.checked { color:var(--red); font-weight:600; }
.city-check-item input[type="checkbox"] { accent-color:var(--red); }
.selected-city-list { display:flex; flex-wrap:wrap; gap:4px; margin-top:6px; }
.city-grid { display:flex; flex-wrap:wrap; gap:5px; }

/* ============================================================
   院校库卡片化 v1.0
   ------------------------------------------------------------
   红线：本区块只新增类，不得修改 .uni-library-list（专业库 #majorLibList 共用）
        也不得修改 .modal-overlay / .modal-content / .modal-close 基类
   ============================================================ */

/* ---------- 筛选栏 ---------- */
.uni-filter-bar { background:#fff; border:1px solid #ebedf0; border-radius:13px; padding:6px 16px 10px; margin-bottom:12px; }
.uni-filter-row { display:flex; align-items:flex-start; gap:10px; padding:8px 0; border-bottom:1px dashed #f0f1f3; }
.uni-filter-row:last-child { border-bottom:0; }
.uni-filter-label { flex:0 0 60px; font-size:12px; color:#888; line-height:24px; font-weight:600; }
.uni-filter-opts { flex:1; display:flex; flex-wrap:wrap; gap:6px; }
.uni-filter-opt { display:inline-flex; align-items:center; gap:3px; padding:3px 11px; border-radius:10px; border:1px solid #e8e9eb; background:#f5f6f7; color:#666; font-size:12px; line-height:18px; cursor:pointer; transition:all .15s; user-select:none; }
.uni-filter-opt:hover { border-color:var(--red); color:var(--red); background:var(--red-soft); }
.uni-filter-opt em { font-style:normal; font-size:10px; color:#bbb; }
.uni-filter-opt:hover em { color:var(--red); }
.uni-filter-opt-active { background:var(--red); border-color:var(--red); color:#fff; font-weight:600; }
.uni-filter-opt-active em { color:rgba(255,255,255,.75); }
.uni-filter-opt-active:hover { background:var(--red-dark); border-color:var(--red-dark); color:#fff; }
.uni-filter-opt-active:hover em { color:rgba(255,255,255,.75); }
.uni-filter-opt-disabled { background:#fafafa; border:1px dashed #e8e9eb; color:#bbb; cursor:not-allowed; pointer-events:none; }
.uni-filter-opt-disabled em { color:#d5d5d5; }

/* ---------- 已选条件 chip ---------- */
.uni-active-filters { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-bottom:12px; }
.uni-active-filters .uni-chip-title { font-size:12px; color:#888; margin-right:2px; }
.uni-chip { display:inline-flex; align-items:center; gap:5px; padding:3px 8px 3px 11px; border-radius:10px; background:var(--red-soft); border:1px solid #f5d6d9; color:var(--red); font-size:12px; line-height:18px; }
.uni-chip-close { border:0; background:none; color:var(--red); font-size:14px; line-height:1; padding:0 1px; cursor:pointer; opacity:.65; }
.uni-chip-close:hover { opacity:1; }
.uni-chip-clear { border:1px solid #e8e9eb; background:#fff; color:#888; font-size:12px; border-radius:10px; padding:3px 11px; cursor:pointer; }
.uni-chip-clear:hover { border-color:var(--red); color:var(--red); }

/* ---------- 卡片网格 ---------- */
.uni-card-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; background:transparent; border:0; }
.uni-card-grid > .uni-loading,
.uni-card-grid > .empty-state { grid-column:1/-1; background:#fff; border:1px solid #ebedf0; border-radius:13px; }
.uni-card { position:relative; display:flex; flex-direction:column; gap:9px; background:#fff; border:1px solid #ebedf0; border-radius:12px; padding:15px 16px 13px; cursor:pointer; transition:transform .18s, box-shadow .18s, border-color .18s; min-width:0; }
.uni-card:hover { transform:translateY(-2px); border-color:#f5d6d9; box-shadow:0 4px 14px rgba(198,31,43,.10); }
.uni-card-head { display:flex; align-items:flex-start; gap:10px; }
.uni-card-badge { flex:0 0 40px; width:40px; height:40px; border-radius:10px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:13px; font-weight:700; letter-spacing:.5px; overflow:hidden; }
.uni-card-headtext { flex:1; min-width:0; }
.uni-card-title { margin:0; font-size:15px; font-weight:700; color:#333; line-height:1.35; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.uni-card:hover .uni-card-title { color:var(--red); }
.uni-card-loc { margin-top:3px; font-size:11px; color:#999; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.uni-card-rank { position:absolute; right:14px; top:14px; font-size:12px; font-weight:700; color:#b8860b; background:linear-gradient(135deg,#fff7e0,#fff2c8); border:1px solid #f0d996; border-radius:9px; padding:3px 9px; box-shadow:0 1px 4px rgba(0,0,0,.10); letter-spacing:.3px; white-space:nowrap; }
.uni-card-rank b { font-size:15px; color:#c0392b; }
.uni-card-rank.uni-card-rank-off { color:#9aa1ad; background:#f4f5f7; border-color:#e6e8eb; box-shadow:none; }
.uni-card-rank.uni-card-rank-off b { color:#9aa1ad; }
.uni-card-meta { font-size:11px; color:#9aa0a8; line-height:1.5; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* ---------- 卡片标签 ---------- */
.uni-card-tags { display:flex; flex-wrap:wrap; gap:5px; min-height:22px; }
.uni-tag { display:inline-block; padding:2px 9px; border-radius:10px; font-size:11px; line-height:16px; cursor:pointer; transition:all .15s; user-select:none; }
.uni-tag-level { background:var(--red); color:#fff; border:1px solid var(--red); }
.uni-tag-level:hover { background:var(--red-dark); border-color:var(--red-dark); }
.uni-tag-derived { background:#fff; color:var(--red); border:1px solid var(--red); }
.uni-tag-derived:hover { background:var(--red-soft); }
.uni-tag-feature { background:var(--red-soft); color:var(--red); border:1px solid #f5d6d9; }
.uni-tag-feature:hover { border-color:var(--red); }
.uni-tag-plain { background:#f5f6f7; color:#666; border:1px solid #e8e9eb; }
.uni-tag-plain:hover { border-color:var(--red); color:var(--red); }
.uni-tag-active { background:var(--red-dark) !important; border-color:var(--red-dark) !important; color:#fff !important; font-weight:600; }
.uni-tag-more { background:#fff; color:#bbb; border:1px dashed #e8e9eb; cursor:default; }

/* ---------- 卡片底部统计 ---------- */
.uni-card-foot { display:flex; align-items:center; gap:14px; padding-top:9px; border-top:1px solid #f0f1f3; margin-top:auto; }
.uni-card-stat { display:flex; align-items:baseline; gap:3px; font-size:11px; color:#999; }
.uni-card-stat strong { font-size:13px; color:var(--red); font-weight:700; }
.uni-card-stat.is-empty strong { color:#c9ccd1; font-size:12px; font-weight:600; }

/* ============================
   专家库卡片
   ============================ */
.expert-card { position:relative; display:flex; flex-direction:column; background:#fff; border:1px solid #ebedf0; border-radius:14px; padding:20px 18px 16px; transition:transform .2s, box-shadow .2s, border-color .2s; cursor:default; }
.expert-card:hover { transform:translateY(-3px); box-shadow:0 8px 25px rgba(198,31,43,.10); border-color:#f0d0d4; }
.expert-card-top { display:flex; align-items:flex-start; gap:14px; margin-bottom:10px; }
.expert-avatar { flex:0 0 64px; width:64px; height:64px; border-radius:50%; overflow:hidden; display:flex; align-items:center; justify-content:center; box-shadow:0 2px 8px rgba(0,0,0,.08); }
.expert-avatar img { width:100%; height:100%; object-fit:cover; }
.expert-avatar-letter { color:#fff; font-size:26px; font-weight:700; }
.expert-card-info { flex:1; min-width:0; padding-top:4px; }
.expert-card-name { margin:0; font-size:17px; font-weight:700; color:#1a1a2e; }
.expert-card-title { font-size:12px; color:#8a9099; margin-top:2px; }
.expert-card-org { font-size:11px; color:#b0b6c0; margin-top:4px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.expert-online-badge { position:absolute; right:14px; top:14px; padding:2px 8px; border-radius:10px; background:#e6f7ed; color:#1a8a4a; font-size:10px; font-weight:600; }
.expert-card-desc { font-size:12px; color:#6b7280; line-height:1.6; overflow:hidden; text-overflow:ellipsis; display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical; margin-bottom:8px; min-height:38px; }
.expert-tags { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:10px; min-height:22px; }
.expert-tag { padding:2px 8px; border-radius:4px; font-size:10px; background:#f0f4ff; color:#4b5563; border:1px solid #e0e7ff; }
.expert-card-stats { display:flex; align-items:center; gap:12px; padding-top:12px; border-top:1px solid #f0f1f3; margin-top:auto; }
.expert-stat { display:flex; align-items:center; gap:3px; font-size:11px; color:#999; }
.expert-stat-icon { font-size:12px; }
.expert-stat-val { font-size:13px; font-weight:700; color:var(--red); }
.expert-stat-label { font-size:10px; color:#b0b6c0; }
.expert-consult-btn { margin-left:auto; padding:5px 14px; border:1px solid var(--red); border-radius:8px; background:#fff; color:var(--red); font-size:11px; font-weight:600; cursor:pointer; transition:all .2s; }
.expert-consult-btn:hover { background:var(--red); color:#fff; }

/* 专家库列表容器 */
#expertList { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
#expertList > .uni-loading,
#expertList > .empty-state { grid-column:1/-1; }

/* 专业库分页控件 */
.uni-footer .pagination-bar { display:flex; align-items:center; justify-content:center; gap:10px; padding:16px 0; font-size:13px; color:#666; }
.uni-footer .page-btn { padding:6px 16px; border:1px solid #ddd; border-radius:8px; background:#fff; cursor:pointer; font-size:12px; transition:all .2s; }
.uni-footer .page-btn:hover:not(:disabled) { border-color:var(--red); color:var(--red); background:#fff5f5; }
.uni-footer .page-btn:disabled { opacity:.4; cursor:default; }

/* 专业库分类标签 active 高亮 */
.major-lib-tab.active { background:var(--red) !important; color:#fff !important; border-color:var(--red) !important; font-weight:700; }
.major-lib-tab:hover { border-color:var(--red); color:var(--red); }

/* ---------- 详情弹窗 ---------- */
.uni-detail-content { max-width:1440px; width:94%; max-height:86vh; padding:0 !important; display:flex; flex-direction:column; overflow:hidden !important; }
.uni-detail-head { padding:22px 26px 0; flex:0 0 auto; }
.uni-detail-headrow { display:flex; align-items:flex-start; gap:13px; padding-right:34px; }
.uni-detail-badge { flex:0 0 52px; width:52px; height:52px; border-radius:12px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:15px; font-weight:700; }
.uni-detail-titlewrap { flex:1; min-width:0; }
.uni-detail-title { margin:0; font-size:20px; font-weight:700; color:#222; line-height:1.3; }
.uni-detail-sub { margin-top:4px; font-size:12px; color:#999; }
.uni-detail-sub a { color:var(--red); text-decoration:none; }
.uni-detail-sub a:hover { text-decoration:underline; }
.uni-detail-head .uni-card-tags { margin-top:11px; }
.uni-detail-tabs { display:flex; gap:4px; padding:14px 26px 0; border-bottom:1px solid #f0f1f3; flex:0 0 auto; flex-wrap:wrap; }
.uni-detail-tabs button { border:0; background:none; padding:9px 16px; font-size:13px; font-weight:600; color:#888; cursor:pointer; border-radius:8px 8px 0 0; border-bottom:2px solid transparent; transition:all .15s; }
.uni-detail-tabs button:hover { color:var(--red); }
.uni-detail-tabs button.active { color:var(--red); border-bottom-color:var(--red); background:var(--red-soft); }
.uni-detail-body { flex:1 1 auto; overflow-y:auto; padding:18px 26px 26px; }

/* ---------- 详情内容块 ---------- */
.uni-sec { margin-bottom:22px; }
.uni-sec:last-child { margin-bottom:0; }
.uni-detail-text { font-size:12.5px; color:#4a5568; line-height:2; white-space:pre-wrap; word-break:break-all; }
.uni-plan-search { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-bottom:12px; }
.uni-plan-search input[type=text] { flex:1; min-width:200px; height:34px; padding:0 12px; border:1px solid #dfe2e6; border-radius:8px; font-size:12px; outline:0; }
.uni-plan-search input[type=text]:focus { border-color:var(--red); }
.uni-plan-search select { height:34px; padding:0 10px; border:1px solid #dfe2e6; border-radius:8px; font-size:12px; color:#555; background:#fff; outline:0; cursor:pointer; }
.uni-plan-search select:focus { border-color:var(--red); }

.uni-sec-title { font-size:13px; font-weight:700; color:#333; margin:0 0 10px; padding-left:8px; border-left:3px solid var(--red); line-height:1.3; }
.uni-info-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:#f0f1f3; border:1px solid #f0f1f3; border-radius:10px; overflow:hidden; }
.uni-info-cell { background:#fff; padding:11px 13px; }
.uni-info-cell dt { font-size:11px; color:#999; margin:0 0 4px; }
.uni-info-cell dd { margin:0; font-size:13px; color:#333; font-weight:600; word-break:break-all; }
.uni-info-cell dd a { color:var(--red); text-decoration:none; }
.uni-info-cell dd a:hover { text-decoration:underline; }

.uni-year-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.uni-year-card { background:#fff; border:1px solid #ebedf0; border-radius:10px; padding:12px 14px; }
.uni-year-card h5 { margin:0 0 8px; font-size:12px; color:var(--red); font-weight:700; }
.uni-year-line { display:flex; justify-content:space-between; font-size:11px; color:#888; line-height:1.9; }
.uni-year-line b { color:#333; font-size:12px; }

.uni-table-wrap { border:1px solid #ebedf0; border-radius:10px; overflow:auto; max-height:420px; }
.uni-table { width:100%; border-collapse:collapse; font-size:12px; }
.uni-table th { position:sticky; top:0; z-index:1; background:#fafbfc; color:#888; font-weight:600; font-size:11px; text-align:center; padding:8px 6px; border-bottom:1px solid #ebedf0; white-space:nowrap; }
.uni-table td { padding:8px 6px; border-bottom:1px solid #f5f6f7; color:#444; text-align:center; }
.uni-table tbody tr:last-child td { border-bottom:0; }
.uni-table tbody tr:hover td { background:#fffafa; }
.uni-table .uni-td-name { text-align:left; color:#333; font-weight:600; max-width:220px; }
.uni-table .uni-td-dim { color:#aab0b8; }
.uni-trend-up { color:var(--red); font-weight:700; }
.uni-trend-down { color:#2e9e5b; font-weight:700; }
.uni-trend-flat { color:#c0c4cb; }

.uni-bar-row { display:flex; align-items:center; gap:10px; margin-bottom:8px; font-size:12px; }
.uni-bar-label { flex:0 0 52px; color:#888; }
.uni-bar-track { flex:1; height:16px; background:#f5f6f7; border-radius:8px; overflow:hidden; }
.uni-bar { height:100%; background:linear-gradient(90deg,#e2585f,var(--red)); border-radius:8px; min-width:2px; transition:width .3s; }
.uni-bar-value { flex:0 0 66px; text-align:right; color:#333; font-weight:700; }

.uni-mgroup { border:1px solid #ebedf0; border-radius:10px; margin-bottom:10px; overflow:hidden; }
.uni-mgroup > summary { list-style:none; cursor:pointer; padding:10px 14px; background:#fafbfc; font-size:13px; font-weight:700; color:#333; display:flex; align-items:center; justify-content:space-between; }
.uni-mgroup > summary::-webkit-details-marker { display:none; }
.uni-mgroup > summary:hover { color:var(--red); }
.uni-mgroup > summary span { font-size:11px; color:#999; font-weight:400; }
.uni-mgroup[open] > summary { border-bottom:1px solid #ebedf0; }
.uni-subj { display:inline-block; padding:1px 6px; border-radius:6px; font-size:10px; color:#fff; margin-right:3px; }
.uni-dlevel { display:inline-block; padding:1px 7px; border-radius:6px; font-size:10px; font-weight:700; background:var(--red-soft); color:var(--red); border:1px solid #f5d6d9; }

.uni-empty-tip { padding:46px 20px; text-align:center; color:#b6bac0; }
.uni-empty-tip svg { display:block; margin:0 auto 12px; opacity:.5; }
.uni-empty-tip p { margin:0; font-size:13px; }
.uni-empty-tip small { display:block; margin-top:5px; font-size:11px; color:#ccc; }

/* ---------- 后台徽章（admin.php / expert_backend.php 口径统一） ---------- */
.uni-badge { display:inline-block; padding:1px 7px; margin:1px 2px 1px 0; border-radius:8px; font-size:10px; line-height:16px; white-space:nowrap; }
.uni-badge-tag_kw { background:var(--red); color:#fff; }
.uni-badge-derived { background:#fff; color:var(--red); border:1px solid var(--red); }
.uni-badge-features { background:var(--red-soft); color:var(--red); border:1px solid #f5d6d9; }
.uni-badge-nature { background:#f5f6f7; color:#666; border:1px solid #e8e9eb; }
.uni-badge-category { background:#f5f6f7; color:#666; border:1px solid #e8e9eb; }
.uni-badge-more { background:#fff; color:#bbb; border:1px dashed #e8e9eb; }
.uni-badge-none { color:#ccc; font-size:11px; }

/* ---------- 响应式 ---------- */
@media (max-width:1100px) {
    .uni-card-grid { grid-template-columns:repeat(2,1fr); }
    .uni-info-grid { grid-template-columns:repeat(2,1fr); }
    #expertList { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px) {
    .uni-card-grid { grid-template-columns:1fr; gap:10px; }
    .uni-info-grid { grid-template-columns:1fr; }
    .uni-year-cards { grid-template-columns:1fr; }
    .uni-filter-bar { padding:4px 12px 8px; }
    .uni-filter-row { flex-direction:column; gap:5px; }
    .uni-filter-label { flex:none; line-height:1.4; }
    .uni-detail-content { width:96%; max-height:92vh; }
    .uni-detail-head { padding:18px 16px 0; }
    .uni-detail-tabs { padding:12px 10px 0; overflow-x:auto; }
    .uni-detail-tabs button { padding:8px 11px; font-size:12px; white-space:nowrap; }
    #expertList { grid-template-columns:1fr; }
    .expert-card { padding:16px 14px 14px; }
    .expert-avatar { flex:0 0 52px; width:52px; height:52px; }
    .expert-card-name { font-size:15px; }
    /* 政策资讯：详情内页移动端排版 */
    #policyDetailView article { padding:22px 18px !important; }
    #pdTitle { font-size:19px !important; }
    #pdContent { font-size:14.5px !important; }
    #policyDetailView .policy-meta { gap:10px; font-size:11px; }
    /* 政策分类标签：单行横向滑动，排版更紧凑 */
    .lib-search-bar .policy-tabs { width:100%; flex-wrap:nowrap; overflow-x:auto; padding-bottom:4px; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
    .lib-search-bar .policy-tabs::-webkit-scrollbar { display:none; }
    .lib-search-bar .policy-tabs button { flex:0 0 auto; }
}
    .uni-detail-body { padding:14px 16px 20px; }
    .uni-table-wrap { max-height:none; }
}

.uni-year-tag{font-style:normal;font-size:9px;color:#fff;background:var(--red);border-radius:8px;padding:1px 6px;margin-left:5px;vertical-align:1px}

/* ===== 院校详情弹窗（与总后台一致，红色基调） ===== */
/* ===== 院校详情弹窗美化（红色基调） ===== */
.uni-detail{font-family:'Microsoft YaHei',system-ui,sans-serif}
/* 院校详情弹窗 - 显眼关闭按钮（红色渐变头部上的白色半透明圆钮） */
.uni-close-btn{position:absolute;right:8px;top:8px;z-index:30;width:32px;height:32px;border:0;border-radius:50%;background:#fff;color:#c62828;font-size:19px;font-weight:700;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.25);transition:all .2s;padding:0}
.uni-close-btn:hover{background:#c62828;color:#fff;transform:rotate(90deg);box-shadow:0 4px 14px rgba(0,0,0,.3)}
.uni-hero{position:relative;border-radius:14px 14px 0 0;overflow:hidden;padding:16px 60px 14px 34px;background:linear-gradient(135deg,#7a0c10 0%,#a3151c 35%,#c62828 70%,#e0523f 100%);color:#fff}
.uni-hero::after{content:'';position:absolute;right:-60px;top:-60px;width:240px;height:240px;border-radius:50%;background:rgba(255,255,255,.08)}
.uni-hero::before{content:'';position:absolute;right:60px;bottom:-80px;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.06)}
.uni-hero-name{font-size:24px;font-weight:800;letter-spacing:1px;margin:0 0 6px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.uni-hero-name small{font-size:12px;color:#f3cdc9;font-weight:400}
.uni-badges{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.uni-badge{display:inline-block;font-size:11px;padding:3px 10px;border-radius:20px;background:rgba(255,255,255,.16);color:#ffeceb;border:1px solid rgba(255,255,255,.32)}
.uni-badge.strong{background:#ffc53d;color:#7a5200;border-color:#ffc53d;font-weight:700}
.uni-meta{font-size:13px;color:#f8dcd9;display:flex;gap:16px;flex-wrap:wrap}
.uni-meta b{color:#fff;font-weight:600}
.uni-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:16px 18px;background:#fff;border-bottom:1px solid #f5e9e8}
.uni-stat{text-align:center;padding:10px 6px;background:#fdf3f2;border-radius:10px}
.uni-stat .num{font-size:22px;font-weight:800;color:#b71c1c}
.uni-stat .lbl{font-size:11px;color:#8a94a6;margin-top:3px}
.uni-tabs{display:flex;gap:2px;padding:14px 18px 0;background:#fff;border-bottom:2px solid #f5e9e8;flex-wrap:wrap}
.uni-tab{padding:8px 14px;font-size:13px;color:#5b6779;cursor:pointer;border-radius:8px 8px 0 0;border:1px solid transparent;border-bottom:none;transition:all .15s;white-space:nowrap}
.uni-tab:hover{background:#fdf3f2;color:#a3151c}
.uni-tab.on{color:#a3151c;font-weight:700;background:#fdf3f2;border-color:#f2ddda;position:relative}
.uni-tab.on::after{content:'';position:absolute;left:0;right:0;bottom:-2px;height:2px;background:#c62828}
.uni-panel{display:none;padding:20px 22px;background:#fff}
.uni-panel.on{display:block}
.uni-sec-title{font-size:14px;font-weight:700;color:#a3151c;margin:0 0 12px;display:flex;align-items:center;gap:8px}
.uni-sec-title::before{content:'';width:4px;height:16px;border-radius:2px;background:linear-gradient(180deg,#a3151c,#e0523f)}
.uni-text{font-size:12.5px;color:#4a5568;line-height:2;white-space:pre-wrap}
.uni-major-table{width:100%;border-collapse:collapse;font-size:12px}
.uni-major-table th{background:#fdf0ef;color:#8a2a26;font-weight:600;padding:9px 10px;text-align:left;position:sticky;top:0}
.uni-major-table td{padding:8px 10px;border-bottom:1px solid #f5e9e8;color:#3c4657}
.uni-major-table tr:hover td{background:#fdf8f7}
.uni-major-table tr:nth-child(even) td{background:#fefbfb}
.uni-major-table tr:nth-child(even):hover td{background:#fcf2f1}
.uni-pill{display:inline-block;font-size:10px;padding:2px 8px;border-radius:10px;background:#fdeaea;color:#a3151c;margin-right:4px}
.uni-score{font-weight:700;color:#b71c1c}
.uni-score.up{color:#c0392b}
.uni-score.down{color:#1e8449}
.uni-scroll{max-height:340px;overflow-y:auto}
.uni-empty{color:#a0a8b6;font-size:12px;padding:16px 0;text-align:center}
.uni-foot{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;background:#fdf9f8;border-top:1px solid #f5e9e8;border-radius:0 0 14px 14px}
.uni-sub{font-size:11px;color:#8a94a6;margin:-6px 0 12px}
/* 学科评估 */
.uni-eval{display:flex;flex-direction:column;gap:10px}
.eval-group{display:flex;align-items:flex-start;gap:14px;background:#fff;border:1px solid #f0e4e2;border-radius:12px;padding:12px 16px;box-shadow:0 1px 4px rgba(0,0,0,.03)}
.eval-level{flex:0 0 auto;min-width:52px;text-align:center;font-size:18px;font-weight:800;color:#fff;border-radius:10px;padding:8px 10px;letter-spacing:1px;box-shadow:0 2px 6px rgba(0,0,0,.15)}
.eval-body{flex:1;min-width:0}
.eval-count{font-size:11px;color:#8a94a6;margin-bottom:8px}
.eval-tags{display:flex;flex-wrap:wrap;gap:6px}
.eval-tag{display:inline-block;font-size:11.5px;color:#3c4657;background:#f7f4f3;border:1px solid #ece2e0;border-radius:6px;padding:4px 10px;line-height:1.5}
.eval-tag:hover{background:#fdeaea;border-color:#e5b8b4;color:#a3151c}
.uni-grp{background:#faf1f0;cursor:pointer}
.uni-grp:hover{background:#f6e6e4}
.uni-grp .grp-arrow{display:inline-block;transition:transform .15s;color:#a3151c}
.uni-grp .grp-count{font-weight:400;color:#8a94a6;font-size:11px}
.uni-grp-row td{background:#fff !important}
.uni-grp-row:hover td{background:#fdf8f7 !important}
.uni-year-tag{font-style:normal;font-size:9px;color:#fff;background:#c62828;border-radius:8px;padding:1px 6px;margin-left:5px;vertical-align:1px}
.uni-yr-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}
.uni-yr{text-align:center;padding:12px;border:1px solid #f2ddda;border-radius:10px;background:#fdfaf9}
.uni-yr .y{font-size:13px;font-weight:700;color:#a3151c;margin-bottom:6px}
.uni-yr .v{font-size:18px;font-weight:800;color:#333}
.uni-yr .s{font-size:10px;color:#8a94a6;margin-top:2px}

.charter-bar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px;padding:12px 14px;background:#faf7f6;border:1px solid #f0e4e2;border-radius:10px}
.charter-yr{display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:700;color:#5b6779;background:#fff;border:1px solid #e0d4d2;border-radius:8px;padding:8px 16px;cursor:pointer;transition:all .15s;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.charter-yr:hover{border-color:#c62828;color:#a3151c;transform:translateY(-1px)}
.charter-yr.on{background:linear-gradient(135deg,#a3151c,#e0523f);color:#fff;border-color:#a3151c;box-shadow:0 3px 10px rgba(160,30,30,.25)}
.charter-yr .cur-yr{font-size:14px}
.charter-body{display:none;border:1px solid #f0e4e2;border-radius:10px;padding:18px 20px;background:#fff;white-space:pre-line;line-height:1.9;font-size:14px;color:#333;text-align:justify}
.charter-body.on{display:block}

.charter-text{font-size:13.5px;color:#3d4455;line-height:1.9}
.charter-chapter{font-size:15px;font-weight:800;color:#a3151c;margin:18px 0 10px;padding:6px 12px;background:#faf4f3;border-left:4px solid #a3151c;border-radius:4px}
.charter-chapter:first-child{margin-top:0}
.charter-item{margin:0 0 10px;padding-left:14px;text-align:justify}
.charter-para{margin:0 0 6px;color:#5b6678;text-align:justify}

.uni-logo{width:44px;height:44px;border-radius:50%;object-fit:contain;background:#fff;border:1px solid #e8dcda;vertical-align:middle;margin-right:10px;box-shadow:0 2px 6px rgba(0,0,0,.08)}
.uni-hero-name{display:flex;align-items:center;gap:4px}
.uni-link{display:inline-block;margin:0 8px 0 0;padding:4px 12px;font-size:12px;color:#a3151c;background:#fff;border:1px solid #e0c4c0;border-radius:14px;text-decoration:none;transition:all .15s}
.uni-link:hover{background:#a3151c;color:#fff;border-color:#a3151c}

.dept-item{display:flex;align-items:flex-start;gap:12px;padding:8px 12px;border-left:3px solid #a3151c;background:#fdf8f7;border-radius:0 8px 8px 0;margin-bottom:6px}
.dept-name{font-weight:700;color:#a3151c;font-size:13px;white-space:nowrap;min-width:150px;padding-top:2px}
.dept-majors{display:flex;flex-wrap:wrap;gap:6px}
.dept-majors span{background:#fff;border:1px solid #f0dcd8;color:#4a5568;border-radius:12px;padding:2px 10px;font-size:11.5px}
.contact-block{margin-bottom:10px;padding:8px 14px;background:#fbf9f8;border:1px solid #f1e8e5;border-radius:8px}
.contact-block .cb-t{font-weight:700;color:#a3151c;font-size:12.5px;margin-bottom:3px}
.contact-block .cb-v{font-size:12.5px;color:#4a5568;line-height:1.8;white-space:pre-wrap}

.uni-acco{display:flex;flex-direction:column;gap:8px}
.uni-acco-item{display:flex;align-items:flex-start;gap:10px;padding:10px 14px;background:#fff;border:1px solid #f0edea;border-radius:10px;box-shadow:0 1px 2px rgba(0,0,0,.03);transition:all .15s}
.uni-acco-item:hover{border-color:#e8c9c5;background:#fdfaf9}
.uni-acco-icon{flex-shrink:0;width:28px;height:28px;display:flex;align-items:center;justify-content:center;font-size:15px;background:#f6f1ef;border-radius:8px}
.uni-acco-item.acco-dorm .uni-acco-icon{background:#eef4fb}
.uni-acco-item.acco-dining .uni-acco-icon{background:#fdf3e7}
.uni-acco-item.acco-fee .uni-acco-icon{background:#f3faf3}
.uni-acco-txt{flex:1;font-size:13px;color:#3d4455;line-height:1.7;text-align:justify}

.score-filter{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 22px 12px;padding:10px 14px;background:#fdf8f7;border:1px solid #f0e0dc;border-radius:10px}
.sf-label{font-size:12px;font-weight:700;color:#a3151c}
.sf-select{padding:6px 12px;border:1px solid #e0c4c0;border-radius:8px;font-size:12.5px;color:#4a5568;background:#fff;outline:none;cursor:pointer}
.sf-select:focus{border-color:#a3151c}
.sf-count{font-size:12px;color:#8a94a6;margin-left:auto}
.score-table td{text-align:center}
.sf-year{display:inline-block;background:#a3151c;color:#fff;border-radius:10px;padding:1px 10px;font-size:11.5px;font-weight:700}
.sf-min{color:#a3151c;font-weight:800;font-size:13.5px}
.sf-na{color:#c8ccd4}

.uni-cover{margin:0 22px 14px;border-radius:14px;overflow:hidden;box-shadow:0 6px 20px rgba(120,20,20,.12)}
.uni-cover img{width:100%;height:200px;object-fit:cover;display:block}
.grad-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 22px 14px}
.grad-card{background:linear-gradient(135deg,#fff7f6,#fff);border:1px solid #f0e0dc;border-radius:12px;padding:14px 10px;text-align:center}
.grad-card .num{font-size:24px;font-weight:800;color:#a3151c}
.grad-card .lbl{font-size:11.5px;color:#8a94a6;margin-top:3px}
.syl-tags{display:flex;flex-wrap:wrap;gap:8px;margin:0 22px 14px}
.syl-tag{background:linear-gradient(135deg,#fdf6e3,#fff8ec);border:1px solid #e8c86a;color:#8a6d1a;border-radius:14px;padding:3px 14px;font-size:12px;font-weight:600}
.uni-eval{margin:0 22px 18px}

.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 22px 18px}
.c-card{background:#fff;border:1px solid #f0e0dc;border-radius:12px;padding:14px 16px;box-shadow:0 2px 8px rgba(120,20,20,.05)}
.c-card.wide{grid-column:span 3}
.c-ico{font-size:20px}
.c-label{font-weight:700;color:#a3151c;font-size:12.5px;margin:6px 0 4px}
.c-value{font-size:12.5px;color:#4a5568;line-height:1.8;white-space:pre-wrap;word-break:break-all}
.c-value a{color:#a3151c;text-decoration:none}
.c-value a:hover{text-decoration:underline}

/* ===== 专业详情弹窗（第二十八项：红色大气三 Tab） ===== */
.md-wrap{font-size:13px;color:#2b2f36}
.md-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:22px 24px 16px;background:linear-gradient(135deg,#8e0f1a 0%,#c4202e 55%,#e0523f 100%);border-radius:14px 14px 0 0;color:#fff}
.md-title{font-size:24px;font-weight:800;letter-spacing:1px;text-shadow:0 2px 8px rgba(0,0,0,.25)}
.md-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.md-tag{display:inline-flex;align-items:center;gap:4px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:3px 12px;font-size:11.5px}
.md-tag b{font-weight:800}
.md-sex{display:inline-block;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:5px 14px;font-size:12px;white-space:nowrap}
.md-sex b{font-weight:800;font-size:14px}
.md-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:14px 24px;background:#fdf6f5;border-bottom:1px solid #f3e3e1}
.md-meta-card{text-align:center;background:#fff;border:1px solid #f0ddda;border-radius:10px;padding:10px 6px;box-shadow:0 1px 3px rgba(163,21,28,.05)}
.md-meta-k{font-size:10.5px;color:#9a8f8e}
.md-meta-v{font-size:14.5px;font-weight:800;color:#a3151c;margin-top:3px}
.md-tabs{display:flex;gap:6px;padding:12px 24px 0;border-bottom:2px solid #f3e0de}
.md-tab{background:none;border:none;padding:9px 18px;font-size:14px;font-weight:700;color:#6b7686;cursor:pointer;position:relative;transition:color .15s}
.md-tab:hover{color:#a3151c}
.md-tab.on{color:#a3151c}
.md-tab.on::after{content:"";position:absolute;left:12px;right:12px;bottom:-2px;height:3px;background:linear-gradient(90deg,#a3151c,#e0523f);border-radius:3px}
.md-body{padding:18px 24px 24px;max-height:56vh;overflow-y:auto}
.md-sec{margin-bottom:16px}
.md-sec-title{font-size:14px;font-weight:800;color:#a3151c;padding-left:10px;border-left:4px solid #c4202e;margin-bottom:8px;line-height:1.3}
.md-text{font-size:13px;line-height:1.9;color:#3d434e;background:#fdfbfa;border:1px solid #f3e8e6;border-radius:10px;padding:12px 14px;white-space:pre-line}
.md-salary{background:linear-gradient(135deg,#8e0f1a,#c4202e);border-radius:12px;padding:18px 20px;color:#fff;box-shadow:0 4px 14px rgba(163,21,28,.2)}
.md-salary-num{font-size:30px;font-weight:800}
.md-salary-num span{font-size:13px;font-weight:400;opacity:.85}
.md-salary-note{font-size:11px;opacity:.8;margin-top:4px}
.md-bars{display:flex;flex-direction:column;gap:9px}
.md-bar-row{display:flex;align-items:center;gap:10px}
.md-bar-name{flex:0 0 90px;font-size:12px;color:#4a5262;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.md-bar-track{flex:1;height:16px;background:#f4efee;border-radius:8px;overflow:hidden}
.md-bar-fill{height:100%;background:linear-gradient(90deg,#c4202e,#e0523f);border-radius:8px;min-width:2px;transition:width .4s}
.md-bar-fill.grad{background:linear-gradient(90deg,#b71c1c,#ef5350)}
.md-bar-fill.grad2{background:linear-gradient(90deg,#8e0f1a,#d8433f)}
.md-bar-val{flex:0 0 52px;font-size:12px;font-weight:800;color:#a3151c;text-align:right}
.md-uni-count{font-size:13px;color:#4a5262;margin-bottom:12px}
.md-uni-count b{color:#a3151c;font-size:16px}
.md-uni-list{display:flex;flex-direction:column;gap:8px}
.md-uni-item{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #f0e2e0;border-radius:12px;padding:12px 14px;transition:box-shadow .15s,transform .15s}
.md-uni-item:hover{box-shadow:0 4px 14px rgba(163,21,28,.12);transform:translateY(-1px)}
.md-uni-logo{width:42px;height:42px;border-radius:10px;object-fit:cover;flex-shrink:0;border:1px solid #f0e2e0}
.md-uni-logo-ph{background:linear-gradient(135deg,#a3151c,#e0523f);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800}
.md-uni-info{flex:1;min-width:0}
.md-uni-name{font-size:14.5px;font-weight:800;color:#2b2f36}
.md-uni-meta{font-size:11.5px;color:#8a94a6;margin-top:3px}
.md-uni-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.md-uni-tag{font-size:10px;color:#a3151c;background:#fdeeee;border:1px solid #f2cccc;border-radius:5px;padding:2px 7px}
.md-uni-btn{flex-shrink:0;background:linear-gradient(135deg,#a3151c,#e0523f);color:#fff;border:none;border-radius:8px;padding:8px 16px;font-size:12.5px;font-weight:700;cursor:pointer;transition:all .15s;box-shadow:0 2px 6px rgba(163,21,28,.25)}
.md-uni-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(163,21,28,.35)}
@media(max-width:640px){.md-meta{grid-template-columns:repeat(2,1fr)}.md-head{flex-direction:column}.md-tabs{padding:10px 14px 0}.md-body{padding:14px}}

/* ===== 专业库卡片（第三十项：红色大气动态） ===== */
.major-card{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid #f0e2e0;border-radius:14px;overflow:hidden;cursor:pointer;transition:transform .2s cubic-bezier(.2,.8,.3,1),box-shadow .2s,border-color .2s;box-shadow:0 1px 4px rgba(163,21,28,.05)}
.major-card:hover{transform:translateY(-4px);border-color:#e5b8b4;box-shadow:0 10px 26px rgba(163,21,28,.16)}
.major-card-top{height:6px;flex-shrink:0}
.major-card-body{display:flex;flex-direction:column;gap:9px;padding:14px 15px 12px;flex:1}
.major-card-head{display:flex;align-items:center;gap:10px}
.major-card-icon{flex:0 0 42px;width:42px;height:42px;border-radius:11px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:17px;font-weight:800;box-shadow:0 3px 8px rgba(0,0,0,.15);letter-spacing:0;background:linear-gradient(135deg,#ef4444,#dc2626)!important}
.major-card-headtext{flex:1;min-width:0}
.major-card-title{margin:0;font-size:15.5px;font-weight:800;color:#2b2f36;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:color .15s}
.major-card:hover .major-card-title{color:#a3151c}
.major-card-loc{margin-top:2px;font-size:11px;color:#9a8f8e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.major-card-code{flex-shrink:0;font-family:Consolas,monospace;font-size:10px;color:#a3151c;background:#fdeeee;border:1px solid #f2cccc;border-radius:6px;padding:2px 7px;font-weight:700}
.major-card-desc{font-size:11.5px;color:#6b7686;line-height:1.6;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:37px}
.major-card-tags{display:flex;flex-wrap:wrap;gap:5px}
.major-card-tag{font-size:10px;color:#8a5a55;background:#fdf6f5;border:1px solid #f2e2e0;border-radius:6px;padding:2px 8px;font-weight:600}
.major-card-foot{display:flex;align-items:center;gap:16px;padding-top:9px;border-top:1px solid #f5ecea;margin-top:auto}
.major-card-stat{display:flex;flex-direction:column;gap:1px}
.major-card-stat strong{font-size:14px;color:#a3151c;font-weight:800;line-height:1.1}
.major-card-stat span{font-size:10px;color:#b0a6a5}
.major-card-stat.is-empty strong{color:#c9ccd1;font-size:13px;font-weight:600}
.major-card-arrow{margin-left:auto;font-size:16px;color:#d8c4c2;font-weight:700;transition:transform .2s,color .2s}
.major-card:hover .major-card-arrow{transform:translateX(3px);color:#a3151c}
#majorLibList{margin-top:14px}
@media(max-width:640px){.major-card-desc{min-height:0}}

/* ===== 专业库分类 Tab（第三十项红色主题） ===== */
.major-lib-tab{transition:all .2s !important}
.major-lib-tab:hover{border-color:#e5b8b4 !important;color:#a3151c !important;transform:translateY(-1px)}
.major-lib-tab.active{background:linear-gradient(135deg,#a3151c,#e0523f) !important;color:#fff !important;border-color:#a3151c !important;box-shadow:0 3px 10px rgba(163,21,28,.25) !important}
.major-lib-tab.active .cat-count{color:rgba(255,255,255,.85) !important}
.cat-count{color:#b0a6a5;font-weight:600}

/* ===== 院校库弹窗关闭按钮（第三十九项：更明显美观） ===== */
#uniDetailClose{position:absolute;right:14px;top:14px;z-index:30;width:34px;height:34px;border-radius:50%;border:2px solid rgba(255,255,255,.85);background:rgba(255,255,255,.16);color:#fff;font-size:20px;font-weight:700;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;backdrop-filter:blur(3px);box-shadow:0 2px 8px rgba(120,0,10,.35);transition:all .2s ease}
#uniDetailClose:hover{background:#fff;color:#a3151c;border-color:#fff;transform:rotate(90deg) scale(1.08);box-shadow:0 4px 14px rgba(120,0,10,.45)}


/* ============================================================
   Hero 区域动效 (2026-08-28)
   ============================================================ */
.sun { animation: sunPulse 4s ease-in-out infinite; }
@keyframes sunPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 60px rgba(255,216,149,.25); }
    50% { transform: scale(1.06); box-shadow: 0 0 90px rgba(255,216,149,.4); }
}

.arch { animation: archFloat 5s ease-in-out infinite; }
@keyframes archFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.mountain.m1 { animation: mountainSlide1 18s ease-in-out infinite alternate; }
.mountain.m2 { animation: mountainSlide2 24s ease-in-out infinite alternate-reverse; }
@keyframes mountainSlide1 { 0% { transform: translateX(-6px); } 100% { transform: translateX(6px); } }
@keyframes mountainSlide2 { 0% { transform: translateX(8px); } 100% { transform: translateX(-8px); } }

.cloud.c1 { animation: cloudDrift 22s linear infinite; }
.cloud.c2 { animation: cloudDrift2 28s linear infinite; }
@keyframes cloudDrift {
    0% { transform: translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(380px); opacity: 0; }
}
@keyframes cloudDrift2 {
    0% { transform: translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(-360px); opacity: 0; }
}

.hero-card::before { animation: ringRotate 30s linear infinite; }
@keyframes ringRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero-copy .eyebrow,
.hero-copy h2,
.hero-copy p,
.hero-copy .hero-stats { animation: heroFadeUp .9s cubic-bezier(.4,0,.2,1) backwards; }
.hero-copy .eyebrow { animation-delay: .1s; }
.hero-copy h2 { animation-delay: .25s; }
.hero-copy p { animation-delay: .4s; }
.hero-copy .hero-stats { animation-delay: .55s; }
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .sun, .arch, .mountain, .cloud, .hero-card::before,
    .hero-copy .eyebrow, .hero-copy h2, .hero-copy p, .hero-copy .hero-stats {
        animation: none !important;
    }
}
/* ============================================================
   鍚堣澹版槑椤甸潰鏍峰紡 (2026-08-29)
   ============================================================ */
.compliance-wrap {
    /* 内容区内正常布局：不覆盖左侧导航栏 */
    max-width: 980px;
    margin: 24px auto;
    padding: 0 12px;
    position: relative;
    z-index: auto;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #2d2f33;
}

/* === 灏侀潰 === */
.compliance-cover {
    position: relative;
    padding: 56px 48px 44px;
    border-radius: 18px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(115deg, #6a0d14 0%, #a31521 38%, #c7252e 72%, #db503f 100%);
    box-shadow: 0 20px 50px rgba(120, 14, 22, .18);
    text-align: center;
}
.compliance-cover::before,
.compliance-cover::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.compliance-cover::before {
    width: 320px;
    height: 320px;
    top: -140px;
    right: -90px;
    border: 1px solid rgba(255, 220, 178, .22);
    box-shadow: 0 0 0 30px rgba(255, 255, 255, .04), 0 0 0 70px rgba(255, 255, 255, .025);
}
.compliance-cover::after {
    width: 220px;
    height: 220px;
    bottom: -110px;
    left: -70px;
    border: 1px solid rgba(255, 220, 178, .16);
    box-shadow: 0 0 0 22px rgba(255, 255, 255, .03);
}
.cover-deco,
.cover-deco-2 {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 220, 178, .08);
    pointer-events: none;
}
.cover-deco {
    width: 90px;
    height: 90px;
    top: 30px;
    left: 40px;
    background: rgba(255, 255, 255, .06);
}
.cover-deco-2 {
    width: 140px;
    height: 140px;
    bottom: -40px;
    right: 80px;
    background: rgba(255, 255, 255, .04);
}
.cover-badge {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid rgba(255, 220, 178, .55);
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 3px;
    color: #ffda9c;
    background: rgba(255, 220, 178, .08);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.cover-title {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 8px;
    margin: 0 0 6px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .18);
    position: relative;
    z-index: 1;
}
.cover-sub {
    font-size: 13px;
    letter-spacing: 4px;
    color: rgba(255, 220, 178, .85);
    margin: 0 0 24px;
    font-family: "Georgia", serif;
    font-style: italic;
    position: relative;
    z-index: 1;
}
.cover-meta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .12);
    font-size: 12px;
    color: rgba(255, 255, 255, .92);
    position: relative;
    z-index: 1;
}
.cover-meta .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    display: inline-block;
}

/* === 姝ｆ枃鍗＄墖 === */
.compliance-doc {
    margin-top: -32px;
    margin-left: 0.5cm;
    margin-right: 0.5cm;
    padding: 44px 56px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .06);
    line-height: 1.85;
    font-size: 15px;
    color: #2d2f33;
    position: relative;
    z-index: 2;
}
.compliance-loading,
.compliance-fallback {
    text-align: center;
    color: #999;
    font-size: 14px;
    padding: 60px 0;
}
/* 鍚庡彴瀵屾枃鏈紪杈戜骇鐢熺殑 HTML 娓叉煋 */
.compliance-doc h2,
.compliance-doc h3,
.compliance-doc h4 {
    margin: 28px 0 14px;
    color: #2d2f33;
    font-weight: 700;
    line-height: 1.4;
}
.compliance-doc h2 { font-size: 22px; padding-left: 14px; border-left: 4px solid #c7252e; }
.compliance-doc h3 { font-size: 18px; padding-left: 12px; border-left: 3px solid #e0523f; }
.compliance-doc h4 { font-size: 16px; color: #b01321; }
.compliance-doc p { margin: 0 0 14px; text-indent: 2em; }
.compliance-doc ol,
.compliance-doc ul {
    padding-left: 26px;
    margin: 0 0 16px;
}
/* 合规声明：有序列表 → 标签贴标样式（红色圆序号 + 加粗标题 + 正文，圆标与标题垂直居中） */
.compliance-doc ol.ci-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.compliance-doc ol.ci-list > li.ci {
    list-style: none;
    padding: 18px 20px;
    margin-bottom: 14px;
    background: linear-gradient(180deg, #fff8f6 0%, #fff 100%);
    border: 1px solid #f6e0db;
    border-radius: 12px;
}
.compliance-doc ol.ci-list > li.ci:last-child {
    margin-bottom: 0;
}
.compliance-doc .ci-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.compliance-doc .ci-num {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c7252e, #e0523f);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 3px 8px rgba(199, 37, 46, .25);
}
.compliance-doc .ci-title {
    font-weight: 700;
    font-size: 16px;
    color: #2d2f33;
    line-height: 1.4;
}
.compliance-doc .ci-body {
    font-weight: 400;
    font-size: 15px;
    color: #3f4348;
    line-height: 1.85;
    word-break: break-word;
    overflow-wrap: break-word;
}
.compliance-doc ul > li {
    margin-bottom: 6px;
}
.compliance-doc strong,
.compliance-doc b {
    color: #b01321;
    font-weight: 700;
}
.compliance-doc em {
    background: linear-gradient(transparent 60%, #fff3a0 60%);
    font-style: normal;
    padding: 0 2px;
}
.compliance-doc img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    margin: 16px auto;
    display: block;
}
.compliance-doc blockquote {
    margin: 18px 0;
    padding: 14px 20px;
    border-left: 4px solid #c7252e;
    background: #fff8f6;
    border-radius: 0 8px 8px 0;
    color: #5b3030;
    font-style: normal;
}
.compliance-doc table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}
.compliance-doc table th,
.compliance-doc table td {
    padding: 10px 14px;
    border: 1px solid #eee;
    text-align: left;
}
.compliance-doc table th {
    background: #fff5f3;
    color: #b01321;
    font-weight: 700;
}

/* === 椤佃剼 === */
.compliance-footer {
    margin-top: 24px;
    padding: 18px 24px;
    text-align: center;
    color: #888;
    font-size: 12px;
    background: #f8f8fa;
    border-radius: 12px;
    border: 1px dashed #e6e6ea;
}
.compliance-footer p { margin: 0; }

@media (max-width: 768px) {
    /* 窄屏：白卡片左右 0.5cm 边距保持一致 */
    .compliance-cover { padding: 44px 22px 32px; }
    .cover-title { font-size: 32px; letter-spacing: 5px; }
    .compliance-doc { padding: 30px 22px; }
    .compliance-doc p { text-indent: 1.5em; }
}

/* ============================
   站点页脚（友情链接 + 备案 + 版权）
   数据来源：index.php 读取 settings / friend_links 表
   后台维护：admin.php → 信息维护 → 站点信息
   ============================ */
.site-footer {
    margin-top: 24px;
    padding: 22px 16px 26px;
    text-align: center;
    color: #6b727b;
    background: #f7f8fa;
    border-top: 1px solid #eceef2;
    font-size: 12px;
    line-height: 1.9;
}
.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.site-footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 14px;
    width: 100%;
}
.site-footer-row.friend-links { margin-bottom: 4px; }
.site-footer-label {
    color: #9aa1ad;
    font-weight: 600;
    letter-spacing: .5px;
    flex-shrink: 0;
}
.friend-link {
    color: #6b727b;
    text-decoration: none;
    transition: color .15s ease;
}
.friend-link:hover {
    color: var(--red);
    text-decoration: underline;
}
.site-footer-meta {
    color: #8a9099;
    flex-wrap: wrap;
}
.site-footer-copy { color: #8a9099; }
.site-footer-beian,
.site-footer-gongan {
    color: #8a9099;
    text-decoration: none;
    transition: color .15s ease;
}
.site-footer-beian:hover,
.site-footer-gongan:hover { color: var(--red); }
.site-footer-extra {
    margin-top: 2px;
    color: #a4a9b1;
    font-size: 11px;
}
@media (max-width: 640px) {
    .site-footer { padding: 16px 12px 20px; font-size: 11px; }
    .site-footer-row { gap: 3px 8px; }
    .friend-link { padding: 2px 0; }
}
