/* 2eju.com 全局样式 | 2026-10-24 */

:root {
    --c-primary: #2b6ef1;
    --c-primary-dark: #1e54c7;
    --c-primary-light: #eef3ff;
    --c-accent: #ff6b3d;
    --c-accent-dark: #c93a10;
    --c-accent-light: #fff2ed;
    --c-success: #237804;
    --c-warning: #faad14;
    --c-danger: #cf1322;
    --c-text: #1f2d3d;
    --c-text-2: #52606f;
    --c-text-3: #4a5968;
    --c-border: #e6ebf2;
    --c-bg: #f5f7fa;
    --c-white: #ffffff;

    --r-s: 6px;
    --r-m: 10px;
    --r-l: 16px;
    --r-pill: 999px;

    --shadow-1: 0 2px 12px rgba(20, 43, 92, .06);
    --shadow-2: 0 6px 24px rgba(20, 43, 92, .10);
    --shadow-3: 0 12px 36px rgba(20, 43, 92, .14);

    --container: 1200px;
    --header-h: 64px;

    --font-cn: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-cn);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, p, ul, ol, figure {
    margin: 0;
    padding: 0;
}

ul, ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
    border: 0;
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: 0;
    background: none;
}

::selection {
    background: rgba(43, 110, 241, .18);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

/* hidden 属性在 .btn 这类带 display 的类选择器面前会失效（UA 规则优先级更低），统一兜底 */
[hidden] {
    display: none !important;
}

/* ---------- 顶部导航 ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--c-border);
}

.topbar {
    background: #142b5c;
    color: rgba(255, 255, 255, .78);
    font-size: 12.5px;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 34px;
    gap: 16px;
}

.topbar-note {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.topbar-links {
    display: flex;
    gap: 18px;
    flex-shrink: 0;
}

.topbar-links a {
    color: rgba(255, 255, 255, .82);
    transition: color .2s;
}

.topbar-links a:hover {
    color: #fff;
}

.topbar-user {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.topbar-user a,
.topbar-user button {
    color: rgba(255, 255, 255, .82);
    font-size: 12.5px;
    transition: color .2s;
}

.topbar-user a:hover,
.topbar-user button:hover {
    color: #fff;
}

.topbar-user .is-strong {
    color: #fff;
    font-weight: 600;
}

.topbar-user-name {
    max-width: 180px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.topbar-user a.is-member-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.topbar-user .eju-crown {
    flex-shrink: 0;
    color: #f7b52c;
}

.topbar-user button {
    padding: 0;
}

.navbar-inner {
    display: flex;
    align-items: center;
    height: var(--header-h);
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 44px;
    height: 34px;
    padding: 0 6px;
    box-sizing: border-box;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--c-primary), #4f8bff);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
    writing-mode: horizontal-tb;
    box-shadow: 0 4px 12px rgba(43, 110, 241, .32);
}

.brand-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.2px;
    line-height: 1;
}

/* 全称前缀「苑樾·」：视觉弱化，考生记住「知岗即报」；举证时全称仍在 DOM */
.brand-prefix {
    font-weight: 600;
    color: #c48a1a;
    letter-spacing: 0;
}

.brand-text small {
    font-size: 13px;
    font-weight: 500;
    color: var(--c-text-3);
}

.brand-desc {
    margin-left: 4px;
    padding-left: 12px;
    border-left: 1px solid var(--c-border);
    color: var(--c-text-3);
    font-size: 13px;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-menu a {
    position: relative;
    display: block;
    padding: 8px 14px;
    border-radius: var(--r-s);
    font-size: 15px;
    color: var(--c-text-2);
    transition: color .2s, background .2s;
}

.nav-menu a:hover {
    color: var(--c-primary-dark);
    background: var(--c-primary-light);
}

.nav-menu a.is-active {
    color: var(--c-primary-dark);
    font-weight: 600;
}

.nav-menu a.is-active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -1px;
    height: 2px;
    border-radius: 2px;
    background: var(--c-primary);
}

.nav-menu .nav-hot::before {
    content: "HOT";
    margin-right: 6px;
    padding: 1px 5px;
    border-radius: 4px;
    background: var(--c-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    vertical-align: 1px;
}

/* 顶部导航图标：只在折叠菜单（≤992px）里显示，PC 导航保持纯文字 */
.nav-icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.nav-icon {
    display: none;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 40px;
    height: 40px;
    border-radius: var(--r-s);
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--c-text);
}

.nav-toggle span + span {
    margin-top: 5px;
}

/* ---------- 按钮 ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: var(--r-s);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s;
    white-space: nowrap;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
    color: #fff;
    box-shadow: 0 4px 14px rgba(43, 110, 241, .28);
}

.btn-primary:hover {
    box-shadow: 0 6px 18px rgba(43, 110, 241, .38);
    transform: translateY(-1px);
}

.btn-cta {
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 107, 61, .3);
}

.btn-cta:hover {
    box-shadow: 0 6px 18px rgba(255, 107, 61, .4);
    transform: translateY(-1px);
}

.btn-secondary {
    background: #fff;
    color: var(--c-primary-dark);
    border: 1px solid #c9d9fb;
}

.btn-secondary:hover {
    background: var(--c-primary-light);
}

.btn-ghost {
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .5);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .24);
}

.btn-sm {
    padding: 7px 16px;
    font-size: 14px;
}

.btn-lg {
    padding: 13px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ---------- 页面头图 ---------- */

.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(130deg, #1b3f8f 0%, #2b6ef1 52%, #4f8bff 100%);
    color: #fff;
    padding: 30px 0 28px;
}

.page-hero::before,
.page-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.page-hero::before {
    width: 340px;
    height: 340px;
    right: -70px;
    top: -110px;
    background: radial-gradient(circle, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 70%);
}

.page-hero::after {
    width: 260px;
    height: 260px;
    left: -70px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(255, 107, 61, .18) 0%, rgba(255, 107, 61, 0) 70%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.3px;
    color: #ffffff;
}

.page-hero p {
    margin-top: 8px;
    color: rgba(255, 255, 255, .82);
    font-size: 14.5px;
    max-width: 820px;
}

.page-hero .hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.page-hero .hero-tags span {
    padding: 4px 12px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .24);
    font-size: 12.5px;
    color: #ffffff;
    backdrop-filter: blur(4px);
}

/* ---------- 全站统一现代蓝光头图 (类似首页 Hero) ---------- */
.subpage-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(130deg, #1b3f8f 0%, #2b6ef1 52%, #4f8bff 100%);
    color: #ffffff;
    padding: 20px 0 54px;
}

.subpage-hero::before,
.subpage-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.subpage-hero::before {
    width: 380px;
    height: 380px;
    right: -80px;
    top: -120px;
    background: radial-gradient(circle, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 70%);
}

.subpage-hero::after {
    width: 280px;
    height: 280px;
    left: -80px;
    bottom: -130px;
    background: radial-gradient(circle, rgba(255, 107, 61, .20) 0%, rgba(255, 107, 61, 0) 70%);
}

.subpage-hero-inner {
    position: relative;
    z-index: 2;
}

/* 顶部半透明白字面包屑 */
.subpage-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, .72);
    margin-bottom: 14px;
}

.subpage-breadcrumb a {
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    transition: color .15s ease;
}

.subpage-breadcrumb a:hover {
    color: #ffffff;
}

.subpage-breadcrumb .current {
    color: #ffffff;
    font-weight: 600;
}

/* 顶部徽章 */
.subpage-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3.5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;
    backdrop-filter: blur(4px);
}

.subpage-hero-badge svg {
    color: #93c5fd;
}

.subpage-hero-title {
    margin: 10px 0 6px;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -.4px;
}

.subpage-hero-desc {
    margin: 0;
    font-size: 13.5px;
    color: rgba(255, 255, 255, .82);
    line-height: 1.6;
    max-width: 820px;
}

/* 头图操作按钮组 */
.subpage-hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.btn-hero-white {
    background: #ffffff !important;
    color: #1e40af !important;
    border: none !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15) !important;
    height: 36px;
    padding: 0 16px;
    border-radius: 8px;
    line-height: 36px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all .2s ease;
}

.btn-hero-white:hover {
    background: #f8fafc !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22) !important;
}

.btn-hero-glass {
    background: rgba(255, 255, 255, .16) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, .28) !important;
    font-weight: 500 !important;
    backdrop-filter: blur(4px);
    height: 36px;
    padding: 0 16px;
    border-radius: 8px;
    line-height: 34px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all .2s ease;
}

.btn-hero-glass:hover {
    background: rgba(255, 255, 255, .26) !important;
    border-color: rgba(255, 255, 255, .45) !important;
    color: #ffffff !important;
}

.btn-hero-glass.is-active {
    background: #fbbf24 !important;
    color: #78350f !important;
    border-color: #f59e0b !important;
    font-weight: 600 !important;
}

/* 头图半透明胶囊标签 (城市/筛选) */
.subpage-hero .chip {
    font-size: 12.5px;
    font-weight: 500;
    padding: 4px 13px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .14);
    color: #ffffff;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: all .18s ease;
    display: inline-flex;
    align-items: center;
}

.subpage-hero .chip:hover {
    background: rgba(255, 255, 255, .28);
    border-color: rgba(255, 255, 255, .45);
    color: #ffffff;
    transform: translateY(-1px);
}

.subpage-hero .chip.is-active {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--c-primary);
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* ---------- 卡片与标签 ---------- */

.card {
    background: var(--c-white);
    border-radius: var(--r-l);
    box-shadow: var(--shadow-1);
}

.card-pad {
    padding: 24px;
}

.section {
    padding: 40px 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.2px;
}

.section-title::before {
    content: "";
    width: 4px;
    height: 19px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--c-primary), #6ea0ff);
}

.section-sub {
    color: var(--c-text-3);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.section-more {
    color: var(--c-text-3);
    font-size: 14px;
    transition: color .2s;
}

.section-more:hover {
    color: var(--c-primary-dark);
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--c-primary-light);
    color: var(--c-primary-dark);
    font-size: 12px;
    line-height: 1.7;
    white-space: nowrap;
}

.tag-gray {
    background: #f1f4f9;
    color: var(--c-text-2);
}

.tag-accent {
    background: var(--c-accent-light);
    color: var(--c-accent-dark);
}

.tag-success {
    background: #eefbe6;
    color: #3f9c12;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: #fff;
    border: 1px solid var(--c-border);
    color: var(--c-text-2);
    font-size: 13.5px;
    transition: all .2s;
}

.chip:hover {
    border-color: #c9d9fb;
    color: var(--c-primary-dark);
}

.chip.is-active {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
}

/* ---------- 分页 ---------- */

.common-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 26px 0 6px;
}

.common-pagination button {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: var(--r-s);
    background: #fff;
    border: 1px solid var(--c-border);
    color: var(--c-text-2);
    font-size: 14px;
    transition: all .2s;
}

.common-pagination button:hover:not(:disabled) {
    border-color: #c9d9fb;
    color: var(--c-primary-dark);
}

.common-pagination button.is-active {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
    font-weight: 600;
}

.common-pagination button:disabled {
    opacity: .42;
    cursor: not-allowed;
}

.common-pagination .pagination-ellipsis {
    color: var(--c-text-3);
    padding: 0 2px;
}

.common-pagination .pagination-total {
    width: 100%;
    text-align: center;
    color: var(--c-text-3);
    font-size: 13px;
    margin-top: 4px;
}

/* ---------- 状态与骨架 ---------- */

.common-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 56px 20px;
    color: var(--c-text-3);
    text-align: center;
    font-size: 14px;
}

.common-state-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #f1f4f9;
    color: var(--c-text-3);
    font-size: 22px;
}

.common-state.is-error .common-state-icon {
    background: #fff1f0;
    color: var(--c-danger);
}

.common-state-action {
    margin-top: 6px;
}

.skeleton {
    background: linear-gradient(90deg, #eef1f6 25%, #f6f8fb 37%, #eef1f6 63%);
    background-size: 400% 100%;
    animation: skeleton-loading 1.4s ease infinite;
    border-radius: var(--r-s);
}

@keyframes skeleton-loading {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

/* ---------- Toast ---------- */

.common-toast-region {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.common-toast {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: var(--r-m);
    background: #fff;
    box-shadow: var(--shadow-3);
    font-size: 14px;
    color: var(--c-text);
    animation: toast-in .24s ease;
}

.common-toast.is-success { border-left: 3px solid var(--c-success); }
.common-toast.is-error { border-left: 3px solid var(--c-danger); }
.common-toast.is-warning { border-left: 3px solid var(--c-warning); }
.common-toast.is-info { border-left: 3px solid var(--c-primary); }

.common-toast-icon {
    font-style: normal;
    font-weight: 700;
}

.common-toast.is-success .common-toast-icon { color: var(--c-success); }
.common-toast.is-error .common-toast-icon { color: var(--c-danger); }
.common-toast.is-warning .common-toast-icon { color: var(--c-warning); }
.common-toast.is-info .common-toast-icon { color: var(--c-primary-dark); }

.common-toast.is-leaving {
    animation: toast-out .22s ease forwards;
}

@keyframes toast-in {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes toast-out {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-12px); }
}

/* ---------- 弹窗 ---------- */

.common-dialog-overlay {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(15, 27, 48, .48);
    animation: overlay-in .2s ease;
}

.common-dialog {
    width: min(420px, 100%);
    background: #fff;
    border-radius: var(--r-l);
    padding: 26px 24px 20px;
    box-shadow: var(--shadow-3);
    animation: dialog-in .24s cubic-bezier(.22, .9, .3, 1.1);
}

.common-dialog-message {
    font-size: 15px;
    line-height: 1.7;
    color: var(--c-text);
    white-space: pre-wrap;
    word-break: break-word;
}

.common-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

.common-dialog-cancel,
.common-dialog-submit {
    padding: 9px 20px;
    border-radius: var(--r-s);
    font-size: 14px;
}

.common-dialog-cancel {
    background: #f1f4f9;
    color: var(--c-text-2);
}

.common-dialog-submit {
    background: var(--c-primary);
    color: #fff;
}

.common-dialog-submit.is-danger {
    background: var(--c-danger);
}

/* 表单弹窗：标题 + 说明 + 输入框，替代 window.prompt */
.common-dialog-form {
    width: min(440px, 100%);
}

.common-dialog-title {
    margin: 0 0 8px;
    color: var(--c-text);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    word-break: break-word;
}

.common-dialog-desc {
    margin: 0 0 16px;
    color: var(--c-text-2);
    font-size: 13.5px;
    line-height: 1.75;
    word-break: break-word;
}

.common-dialog-field {
    display: block;
}

.common-dialog-label {
    display: block;
    margin-bottom: 6px;
    color: var(--c-text-3);
    font-size: 12.5px;
}

.common-dialog-input {
    display: block;
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-s);
    background: #fff;
    color: var(--c-text);
    font-size: 14px;
    transition: border-color .16s, box-shadow .16s;
}

.common-dialog-input::placeholder {
    color: #b3bdcc;
}

.common-dialog-input:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(43, 110, 241, .12);
    outline: none;
}

.common-dialog-error {
    margin: 8px 0 0;
    color: var(--c-danger);
    font-size: 12.5px;
}

.common-dialog-note {
    margin: 12px 0 0;
    color: var(--c-text-3);
    font-size: 12px;
    line-height: 1.7;
}

.common-dialog-form.is-shake {
    animation: dialog-shake .3s ease;
}

@keyframes dialog-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    45% { transform: translateX(5px); }
    70% { transform: translateX(-3px); }
}

@keyframes overlay-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes dialog-in {
    from { opacity: 0; transform: translateY(10px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- 加载 ---------- */

.common-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 2600;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .66);
    backdrop-filter: blur(2px);
}

.common-loading-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: var(--r-m);
    background: #fff;
    box-shadow: var(--shadow-2);
}

.common-loading-spinner {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #dfe7f5;
    border-top-color: var(--c-primary);
    animation: spin .8s linear infinite;
}

.common-loading-message {
    font-size: 14px;
    color: var(--c-text-2);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---------- 广告位 ---------- */

.ad-slot {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 0;
    margin: 0;
    border-radius: var(--r-m);
    background: transparent;
    border: 0;
    color: #52606f;
    font-size: 12px;
    overflow: hidden;
}

.ad-slot.is-filled {
    display: flex;
    flex-direction: column;
    min-height: 90px;
    margin: 20px auto;
    background: #fbfcfe;
    border: 1px dashed var(--c-border);
}

.ad-slot.is-empty {
    display: none;
    height: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
}

.ad-slot.is-promo {
    border-style: solid;
    border-color: #d7e2f2;
    background: linear-gradient(90deg, #f4f8ff, #fbfcfe);
}

.ad-slot .ad-promo {
    display: block;
    width: 100%;
    padding: 14px 16px;
    color: #0f2d5c;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.ad-slot ins {
    display: block;
    width: 100%;
}

.ad-slot .ad-label {
    display: block;
    margin-bottom: 6px;
    color: #52606f;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 百度联盟广告位通用卡片 */
.ad-baidu-card {
    margin: 20px auto;
    padding: 12px 16px 8px;
    border-radius: var(--r-m);
    border: 1px solid var(--c-border);
    background: var(--c-white);
    min-height: 90px;
    overflow: hidden;
    box-sizing: border-box;
    max-width: 1200px;
}

.ad-baidu-card.is-empty {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.ad-baidu-card .ad-label {
    display: block;
    margin-bottom: 6px;
    color: #8a94a6;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ad-baidu-card > div {
    width: 100%;
    min-height: 56px;
}

/* ---------- 页脚 ---------- */

.site-footer {
    margin-top: 48px;
    background: #142b5c;
    color: rgba(255, 255, 255, .92);
    font-size: 13.5px;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    padding: 38px 0 26px;
}

.footer-brand {
    max-width: 340px;
}

.footer-brand .brand-text {
    color: #fff;
}

.footer-brand .brand-prefix,
.footer-bottom .brand-prefix {
    color: #f0c75e;
}

.footer-bottom .brand-legal {
    font-weight: 600;
}

.footer-brand .brand-text small {
    color: rgba(255, 255, 255, .88);
}

.footer-brand p {
    margin-top: 12px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .9);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
}

.footer-col h2,
.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-col li + li {
    margin-top: 8px;
}

.footer-col a {
    color: rgba(255, 255, 255, .9);
    transition: color .2s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    padding: 16px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .84);
    font-size: 12.5px;
    line-height: 1.9;
}

/* ---------- 响应式 ---------- */

@media (max-width: 992px) {
    .brand-desc {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 12px 16px 18px;
        background: #fff;
        border-bottom: 1px solid var(--c-border);
        box-shadow: var(--shadow-2);
        display: none;
    }

    .nav-menu.is-open {
        display: flex;
    }

    .nav-menu a {
        padding: 11px 12px;
    }

    .nav-menu a[data-nav] {
        display: flex;
        align-items: center;
        gap: 9px;
    }

    .nav-icon {
        display: block;
        flex: none;
        width: 17px;
        height: 17px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
        color: var(--c-text-3);
    }

    .nav-menu a.is-active .nav-icon,
    .nav-menu a:hover .nav-icon {
        color: var(--c-primary-dark);
    }

    .nav-menu a.is-active::after {
        display: none;
    }

    .navbar-inner {
        position: relative;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 14.5px;
    }

    .container {
        padding: 0 16px;
    }

    .topbar-note {
        display: none;
    }

    .topbar-user-name {
        display: none;
    }

    .topbar-links {
        gap: 12px;
    }

    .topbar-inner {
        justify-content: flex-end;
    }

    .section {
        padding: 28px 0;
    }

    .section-title {
        font-size: 18px;
    }

    .page-hero {
        padding: 22px 0 20px;
    }

    .page-hero h1 {
        font-size: 21px;
    }

    .card-pad {
        padding: 18px;
    }

    .footer-main {
        gap: 28px;
        padding: 28px 0 18px;
    }

    .footer-links {
        gap: 32px;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* 商务合作入口条（2026-10-28） */
.coop-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 32px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-l);
    background: linear-gradient(120deg, var(--c-primary-light), var(--c-accent-light));
    box-shadow: var(--shadow-1);
}

.coop-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: var(--c-text);
}

.coop-card p {
    margin: 0;
    max-width: 720px;
    color: var(--c-text-2);
    line-height: 1.7;
}

/* ---------- 信息源申请（公告列表 / 公告详情共用） ---------- */

.source-request-head {
    display: flex;
    gap: 12px;
}

.source-request-mark {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-primary-light);
    color: var(--c-primary-dark);
    font-size: 18px;
    font-weight: 700;
}

.source-request-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
}

.source-request-desc {
    margin-top: 6px;
    color: var(--c-text-2);
    font-size: 13.5px;
    line-height: 1.75;
}

.source-request-toggle {
    margin-top: 14px;
}

.source-request-toggle[hidden],
.source-request-form[hidden] {
    display: none;
}

.source-request-form {
    margin-top: 16px;
    display: grid;
    gap: 12px;
}

.source-request-field {
    display: grid;
    gap: 6px;
    color: var(--c-text-2);
    font-size: 13px;
}

.source-request-field .req {
    margin-left: 2px;
    color: var(--c-danger);
}

.source-request-field input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-s);
    background: #fff;
    color: var(--c-text);
    font-family: inherit;
    font-size: 14px;
}

.source-request-field input:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(43, 110, 241, .12);
}

.source-request-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.source-request-tip {
    color: var(--c-text-3);
    font-size: 12.5px;
}

.source-request-done {
    padding: 12px 14px;
    border-radius: var(--r-s);
    background: #f2faf1;
    color: #2c7a1f;
    font-size: 13.5px;
    line-height: 1.7;
}

.news-layout .source-request {
    margin-top: 18px;
}

.detail-side .source-request {
    padding: 18px;
}

.detail-side .source-request-title {
    font-size: 15.5px;
}

.detail-side .source-request-desc {
    font-size: 12.5px;
}

.coop-card .btn {
    flex: none;
}

@media (max-width: 640px) {
    .coop-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px;
    }
}
