@charset "utf-8";
/* ==========================================================================
   行业门户 Portal 1800
   0 变量 / 1 基础 / 2 顶栏 / 3 头部 / 4 首页焦点 / 5 频道 / 6 版块 / 7 卡片
   8 广告 / 9 列表页 / 10 侧栏 / 11 文章页 / 12 评论 / 13 页脚 / 14 其它
   15 动效 / 16 响应式
   ========================================================================== */

/* 0 变量 ---------------------------------------------------------------- */
:root {
    --accent: #1a6cf5;
    --accent-d: #0f52cc;
    --accent-l: #eaf1ff;
    --accent-grad: linear-gradient(135deg, #4b8cff 0%, #1258e0 100%);
    --accent-rgb: 26, 108, 245;

    --page: #f4f6fa;
    --card: #ffffff;
    --soft: #f7f9fc;
    --line: #e8ecf3;
    --line-2: #dfe5ef;

    --text: #16202e;
    --text-2: #55616f;
    --text-3: #8a95a3;
    --text-4: #aab3bf;

    --radius: 10px;
    --radius-s: 6px;
    --radius-l: 14px;

    --container: 1800px;
    --gutter: 30px;
    --gap: 24px;
    --side-w: 356px;

    --shadow-1: 0 1px 2px rgba(16, 30, 54, .04);
    --shadow-2: 0 10px 30px -14px rgba(16, 30, 54, .18);
    --shadow-3: 0 22px 48px -24px rgba(16, 30, 54, .28);

    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

    --ease: cubic-bezier(.22, .61, .36, 1);
}

html[data-scheme="red"] {
    --accent: #e0393e;
    --accent-d: #b81f24;
    --accent-l: #fdecec;
    --accent-grad: linear-gradient(135deg, #f2565b 0%, #c31d24 100%);
    --accent-rgb: 224, 57, 62;
}

html[data-scheme="green"] {
    --accent: #12925a;
    --accent-d: #0a7444;
    --accent-l: #e9f8f0;
    --accent-grad: linear-gradient(135deg, #2fb579 0%, #0a7a49 100%);
    --accent-rgb: 18, 146, 90;
}

html[data-scheme="purple"] {
    --accent: #6446f0;
    --accent-d: #4a2fd6;
    --accent-l: #f0edff;
    --accent-grad: linear-gradient(135deg, #8c74ff 0%, #4f32dd 100%);
    --accent-rgb: 100, 70, 240;
}

html[data-scheme="orange"] {
    --accent: #ef6c11;
    --accent-d: #c65207;
    --accent-l: #fff1e5;
    --accent-grad: linear-gradient(135deg, #ff9440 0%, #dd5c07 100%);
    --accent-rgb: 239, 108, 17;
}

html[data-scheme="cyan"] {
    --accent: #0a97ad;
    --accent-d: #067588;
    --accent-l: #e6f8fb;
    --accent-grad: linear-gradient(135deg, #35c0d4 0%, #06788c 100%);
    --accent-rgb: 10, 151, 173;
}

/* 1 基础 ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--page);
    color: var(--text);
    font: 400 15px/1.7 var(--sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

a {
    color: inherit;
    text-decoration: none;
    transition: color .25s var(--ease);
}

a:hover { color: var(--accent); }

img {
    max-width: 100%;
    height: auto;
    border: 0;
    display: block;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4, h5 {
    margin: 0;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.01em;
}

p { margin: 0; }

button {
    font-family: inherit;
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit;
}

input,
textarea {
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    outline: none;
}

.wrap {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    padding: 10px 16px;
    background: var(--accent);
    color: #fff;
    border-radius: 0 0 8px 0;
}

.skip-link:focus { left: 0; }

.ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #eef2f8, #dfe6f1);
    color: #fff;
    font-style: normal;
    overflow: hidden;
}

.ph em {
    font-style: normal;
    font-size: 12px;
    letter-spacing: .16em;
    color: rgba(255, 255, 255, .9);
    text-transform: uppercase;
}

.tone-a { background: linear-gradient(135deg, #7ea6ff, #3c6fe0); }
.tone-b { background: linear-gradient(135deg, #ffb27d, #e8703a); }
.tone-c { background: linear-gradient(135deg, #7fd8b5, #2f9d78); }
.tone-d { background: linear-gradient(135deg, #b7a4ff, #6c4ce0); }
.tone-e { background: linear-gradient(135deg, #ffa0a8, #d3394b); }
.tone-f { background: linear-gradient(135deg, #8fd3e8, #2b8ba8); }

.dot {
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    opacity: .45;
    vertical-align: middle;
    margin: 0 8px;
}

/* 2 顶栏 ---------------------------------------------------------------- */
.topbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--text-3);
}

.topbar-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    gap: 20px;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.tb-split {
    width: 1px;
    height: 12px;
    background: var(--line-2);
}

.tb-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 420px;
    color: var(--text-2);
}

.tb-notice-tag {
    flex: none;
    padding: 1px 7px;
    border-radius: 4px;
    background: var(--accent-l);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
}

.tb-notice-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tb-link { color: var(--text-3); }
.tb-link:hover { color: var(--accent); }

.scheme-switch {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-left: 14px;
    margin-left: 4px;
    border-left: 1px solid var(--line);
}

.scheme-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--dot);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 2px transparent;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.scheme-dot:hover { transform: scale(1.18); }

.scheme-dot.is-on {
    box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--dot);
}

/* 3 头部 ---------------------------------------------------------------- */
.site-head {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s var(--ease);
}

.site-head.is-stuck { box-shadow: 0 8px 24px -18px rgba(16, 30, 54, .45); }

.head-in {
    display: flex;
    align-items: center;
    gap: 36px;
    height: 82px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
    max-width: 320px;
}

.logo img { max-height: 48px; width: auto; }

.logo-mark {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    width: 30px;
    height: 30px;
}

.logo-mark i {
    display: block;
    width: 7px;
    border-radius: 2px;
    background: var(--accent-grad);
}

.logo-mark i:nth-child(1) { height: 16px; opacity: .55; }
.logo-mark i:nth-child(2) { height: 26px; opacity: .8; }
.logo-mark i:nth-child(3) { height: 20px; }

.logo-text { display: flex; flex-direction: column; gap: 2px; }

.logo-name {
    font-size: 23px;
    font-weight: 800;
    font-style: normal;
    letter-spacing: -.02em;
    color: var(--text);
    line-height: 1.15;
}

.logo-sub {
    font-size: 11.5px;
    font-style: normal;
    color: var(--text-3);
    letter-spacing: .1em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nav-wrap { flex: 1 1 auto; min-width: 0; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-list li { position: relative; }

.nav-list li > a {
    display: inline-block;
    padding: 0 15px;
    height: 38px;
    line-height: 38px;
    font-size: 15.5px;
    font-weight: 500;
    color: var(--text-2);
    border-radius: var(--radius-s);
    white-space: nowrap;
}

.nav-list li > a:hover {
    color: var(--accent);
    background: var(--accent-l);
}

.nav-list li > a.is-on,
.nav-list li.current-menu-item > a {
    color: var(--accent);
    font-weight: 700;
}

.nav-list li > a.is-on::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: -1px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
}

.nav-head { display: none; }

.head-tools {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
}

.head-search {
    display: flex;
    align-items: center;
    width: 290px;
    height: 40px;
    padding: 0 6px 0 14px;
    border: 1px solid var(--line-2);
    border-radius: 20px;
    background: var(--soft);
    transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}

.head-search:focus-within {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .1);
}

.head-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: none;
    font-size: 13.5px;
}

.head-search input::placeholder { color: var(--text-4); }

.head-search button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--accent);
    border-radius: 50%;
}

.head-search button svg { width: 18px; height: 18px; }

.head-search button:hover { background: var(--accent-l); }

.nav-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0 9px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-s);
}

.nav-btn span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #1d2836;
    transition: transform .25s var(--ease), opacity .2s;
}

.nav-mask {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(12, 20, 33, .45);
    backdrop-filter: blur(2px);
}

/* 4 首页焦点 ------------------------------------------------------------ */
.hero { padding: 26px 0 0; }

.hero-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 22px;
}

.slider {
    position: relative;
    height: 470px;
    border-radius: var(--radius-l);
    overflow: hidden;
    background: #0f1a2b;
    box-shadow: var(--shadow-2);
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s var(--ease), visibility .7s;
    color: #fff;
}

.slide.is-active {
    opacity: 1;
    visibility: visible;
}

/* 首屏初始化时不做淡入，避免首帧文字发虚 */
.slider.is-init .slide { transition: none; }

.slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 7s linear;
}

.slide.is-active .slide-img { transform: scale(1); }

.slide-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 18, 30, 0) 38%, rgba(8, 14, 24, .52) 76%, rgba(8, 14, 24, .88) 100%),
        linear-gradient(92deg, rgba(8, 14, 24, .74) 0%, rgba(8, 14, 24, .3) 44%, rgba(8, 14, 24, 0) 70%);
}

.slide-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 46px 52px;
    max-width: 900px;
}

.slide-cat {
    align-self: flex-start;
    padding: 3px 11px;
    border-radius: 4px;
    background: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

.slide-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}

.slide-desc {
    font-size: 14.5px;
    color: rgba(255, 255, 255, .78);
    line-height: 1.7;
    max-width: 720px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slide:hover { color: #fff; }

.slide-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-top: -23px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .3s var(--ease), background .25s, transform .25s;
}

.slide-nav svg { width: 22px; height: 22px; }

.slide-nav.prev { left: 20px; }
.slide-nav.next { right: 20px; }

.slider:hover .slide-nav { opacity: 1; }

.slide-nav:hover {
    background: var(--accent);
    transform: scale(1.06);
}

.slide-pager {
    position: absolute;
    right: 34px;
    bottom: 30px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
}

.slide-idx {
    font: 600 13px/1 var(--mono);
    color: rgba(255, 255, 255, .6);
    letter-spacing: .06em;
}

.slide-idx b {
    font-size: 20px;
    color: #fff;
    margin-right: 2px;
}

.slide-idx i { font-style: normal; }

.slide-dots { display: flex; align-items: center; gap: 7px; }

.slide-dots button {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .38);
    transition: width .3s var(--ease), background .25s;
}

.slide-dots button.is-on {
    width: 22px;
    border-radius: 4px;
    background: #fff;
}

.hero-side {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-1);
    overflow: hidden;
}

.side-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px 14px;
    border-bottom: 1px solid var(--line);
}

.side-head-title {
    position: relative;
    padding-left: 12px;
    font-size: 17px;
}

.side-head-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 15px;
    margin-top: -7px;
    border-radius: 2px;
    background: var(--accent);
}

.side-head-more {
    font-size: 12.5px;
    color: var(--text-3);
}

.side-head-more:hover { color: var(--accent); }

.hero-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 4px 0;
    counter-reset: hero;
}

.hero-item {
    display: flex;
    flex: 1;
    padding: 0 22px;
    counter-increment: hero;
}

.hero-item a {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px dashed var(--line);
}

.hero-item:last-child a { border-bottom: 0; }

.hero-num {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: #f0f3f8;
    color: var(--text-3);
    font: 700 11px/1 var(--mono);
}

.hero-num::before { content: counter(hero); }

.hero-item:nth-child(-n+3) .hero-num {
    background: var(--accent-l);
    color: var(--accent);
}

.hero-txt {
    flex: 1;
    min-width: 0;
    font-size: 14.5px;
    color: var(--text);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hero-item a:hover .hero-txt { color: var(--accent); }

.hero-time {
    flex: none;
    font: 400 12px/1 var(--mono);
    color: var(--text-4);
}

/* 5 频道 ---------------------------------------------------------------- */
.channels { padding: 22px 0 0; }

.chan-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 14px;
}

.chan {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-1);
    transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}

.chan:hover {
    color: var(--text);
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: var(--shadow-2);
}

.chan-ico {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.chan-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.chan-info em {
    font-style: normal;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.chan-info i {
    font-style: normal;
    font-size: 11.5px;
    color: var(--text-4);
}

/* 6 版块 ---------------------------------------------------------------- */
.marquee {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 48px;
    margin-top: 18px;
    padding: 0 18px 0 8px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-1);
}

.marquee-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    padding: 4px 12px;
    border-radius: 5px;
    background: var(--accent-l);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

.marquee-label svg { width: 15px; height: 15px; }

.marquee-view {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 42px;
    width: max-content;
    animation: marquee 46s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
    font-size: 14px;
    color: var(--text-2);
    white-space: nowrap;
}

.marquee-item::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--accent);
    vertical-align: middle;
    opacity: .6;
}

.marquee-item:hover { color: var(--accent); }

.marquee-more {
    flex: none;
    font-size: 12.5px;
    color: var(--text-3);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.page-body { padding-bottom: 46px; }

.with-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--side-w);
    gap: 26px;
    align-items: start;
    padding-top: 26px;
}

.main-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.side-col {
    min-width: 0;
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-1);
    padding: 22px 26px 26px;
}

.sec-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.sec-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    letter-spacing: -.02em;
}

.sec-title i {
    width: 4px;
    height: 19px;
    border-radius: 2px;
    background: var(--accent-grad);
}

.sec-sub {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    color: var(--text-4);
    padding-top: 3px;
}

.sec-count {
    font: 600 12px/1 var(--mono);
    color: var(--text-3);
    padding: 3px 8px;
    border-radius: 10px;
    background: var(--soft);
}

.sec-more {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    font-size: 13px;
    color: var(--text-3);
}

.sec-more svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }

.sec-more:hover { color: var(--accent); }
.sec-more:hover svg { transform: translateX(3px); }

/* 焦点版块 */
.focus {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    gap: 26px;
}

.focus-main {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--soft);
    border: 1px solid var(--line);
    transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}

.focus-main:hover {
    color: var(--text);
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
}

.focus-pic {
    position: relative;
    display: block;
    height: 320px;
    overflow: hidden;
    background: #eef2f8;
}

.focus-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

.focus-main:hover .focus-pic img { transform: scale(1.05); }

.focus-chip {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 3px 10px;
    border-radius: 4px;
    background: rgba(10, 18, 30, .62);
    color: #fff;
    font-size: 11.5px;
    backdrop-filter: blur(4px);
}

.focus-body {
    display: block;
    padding: 16px 20px 20px;
}

.focus-title {
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.focus-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 8px;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--text-3);
}

.focus-meta {
    display: block;
    margin-top: 12px;
    font-size: 12.5px;
    color: var(--text-4);
}

.focus-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.row-item {
    display: flex;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--line);
}

.row-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.row-media {
    flex: none;
    width: 152px;
    height: 102px;
    border-radius: var(--radius-s);
    overflow: hidden;
    background: #eef2f8;
}

.row-media img,
.row-media .ph {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.row-item:hover .row-media img { transform: scale(1.06); }

.row-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 1px 0;
}

.row-title {
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.row-title a:hover { color: var(--accent); }

.row-desc {
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--text-3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.row-meta {
    font-size: 12px;
    color: var(--text-4);
}

/* 7 卡片 ---------------------------------------------------------------- */
.card-grid {
    display: grid;
    gap: 22px;
}

.card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.card:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: var(--shadow-2);
}

.card-media {
    position: relative;
    display: block;
    height: 180px;
    overflow: hidden;
    background: #eef2f8;
}

.card-media img,
.card-media .ph {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

.card:hover .card-media img { transform: scale(1.06); }

.card-cat {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 2px 9px;
    border-radius: 4px;
    background: rgba(10, 18, 30, .6);
    color: #fff;
    font-size: 11px;
    backdrop-filter: blur(4px);
}

.card-top {
    position: absolute;
    right: 12px;
    top: 12px;
    padding: 2px 9px;
    border-radius: 4px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
    padding: 15px 17px 16px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
}

.card-title a:hover { color: var(--accent); }

.card-desc {
    font-size: 13px;
    line-height: 1.68;
    color: #6b7785;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-top: 4px;
    font-size: 12px;
    color: var(--text-4);
}

.meta-view { margin-left: auto; }

/* 横向图文列表 */
.media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.media-item {
    display: flex;
    gap: 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.media-item:hover {
    transform: translateY(-2px);
    border-color: transparent;
    box-shadow: var(--shadow-2);
}

.media-pic {
    flex: none;
    width: 186px;
    height: 126px;
    border-radius: var(--radius-s);
    overflow: hidden;
    background: #eef2f8;
}

.media-pic img,
.media-pic .ph {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

.media-item:hover .media-pic img { transform: scale(1.06); }

.media-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.media-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.media-desc {
    font-size: 13px;
    line-height: 1.65;
    color: var(--text-3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.media-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-4);
}

.media-cat {
    padding: 1px 8px;
    border-radius: 3px;
    background: var(--accent-l);
    color: var(--accent);
    font-size: 11.5px;
}

/* 8 广告 ---------------------------------------------------------------- */
.ad-slot {
    margin: 18px 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--line);
    text-align: center;
}

.ad-slot img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
}

.side-col .ad-slot img { max-height: 320px; }

.ad-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 104px;
    border-style: dashed;
    border-color: var(--line-2);
    background: repeating-linear-gradient(135deg, #fbfcfe, #fbfcfe 12px, #f5f8fc 12px, #f5f8fc 24px);
}

.ad-empty-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-3);
    letter-spacing: .06em;
}

.ad-empty-size {
    font: 400 11.5px/1 var(--mono);
    color: var(--text-4);
}

.side-col .ad-slot { margin: 0; }

.side-col .ad-empty { height: 200px; }

/* 9 列表页 -------------------------------------------------------------- */
.page-head {
    background: linear-gradient(180deg, #eef3fb 0%, #f6f9fd 60%, var(--page) 100%);
    border-bottom: 1px solid var(--line);
    padding: 30px 0 26px;
}

.crumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-3);
    margin-bottom: 16px;
}

.crumbs a:hover { color: var(--accent); }

.crumb-sep { color: var(--text-4); }

.crumb-now {
    color: var(--text-2);
    max-width: 460px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.page-head-in {
    display: flex;
    align-items: flex-end;
    gap: 30px;
}

.page-head-txt { flex: 1; min-width: 0; }

.page-label {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .22em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.page-h1 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.2;
}

.page-desc {
    margin-top: 10px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-2);
    max-width: 900px;
}

.page-head-stat {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-bottom: 6px;
}

.page-head-stat strong {
    font: 800 38px/1 var(--mono);
    color: var(--accent);
    letter-spacing: -.03em;
}

.page-head-stat span {
    font-size: 12px;
    color: var(--text-3);
    margin-top: 4px;
    letter-spacing: .1em;
}

.page-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.chip {
    padding: 5px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid var(--line-2);
    font-size: 13px;
    color: var(--text-2);
    transition: all .25s var(--ease);
}

.chip:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: #fff;
}

.chip.is-on {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 600;
}

.chip-label {
    font-size: 12.5px;
    color: var(--text-4);
    margin-right: 2px;
}

.page-chips-tag { margin-top: 10px; }

.page-search {
    flex: none;
    display: flex;
    align-items: center;
    width: 380px;
    height: 46px;
    border: 1px solid var(--line-2);
    border-radius: 23px;
    background: #fff;
    overflow: hidden;
    padding-left: 18px;
}

.page-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: none;
}

.page-search button {
    flex: none;
    height: 100%;
    padding: 0 24px;
    background: var(--accent-grad);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

/* 分页 */
.pagebar-wrap { margin-top: 26px; }

.pagebar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 13px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-s);
    background: var(--card);
    font-size: 14px;
    color: var(--text-2);
    transition: all .25s var(--ease);
}

.pg:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.pg.is-on {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 700;
}

.pg-arrow { font-size: 13.5px; }

.pg-total {
    margin-left: 6px;
    font-size: 12.5px;
    color: var(--text-4);
}

/* 10 侧栏 --------------------------------------------------------------- */
.widget {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-1);
    padding: 18px 20px 20px;
}

.widget-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.widget-title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 16.5px;
}

.widget-title i {
    width: 3px;
    height: 15px;
    border-radius: 2px;
    background: var(--accent-grad);
}

.widget-sub {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .16em;
    color: var(--text-4);
}

.rank-list { counter-reset: rank; }

.rank-item {
    counter-increment: rank;
    border-bottom: 1px dashed var(--line);
}

.rank-item:last-child { border-bottom: 0; }

.rank-item a {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.rank-num {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background: #f0f4fa;
    color: var(--text-3);
    font: 700 11.5px/1 var(--mono);
}

.rank-num::before { content: counter(rank); }

.rank-item:nth-child(-n+3) .rank-num {
    background: var(--accent-grad);
    color: #fff;
}

.rank-txt {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rank-item a:hover .rank-txt { color: var(--accent); }

.rank-view {
    flex: none;
    font: 400 11.5px/1 var(--mono);
    color: var(--text-4);
}

.pick-list { display: flex; flex-direction: column; gap: 14px; }

.pick-list a {
    display: flex;
    min-width: 0;
    gap: 12px;
    align-items: center;
}

.pick-pic {
    flex: none;
    width: 86px;
    height: 62px;
    border-radius: var(--radius-s);
    overflow: hidden;
    background: #eef2f8;
}

.pick-pic img,
.pick-pic .ph {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.pick-list a:hover .pick-pic img { transform: scale(1.06); }

.pick-txt {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pick-list a:hover .pick-txt { color: var(--accent); }

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 4px;
    background: var(--soft);
    border: 1px solid var(--line);
    font-size: 13px;
    color: var(--text-2);
    transition: all .25s var(--ease);
}

.tag-chip i {
    font-style: normal;
    font-size: 11px;
    color: var(--text-4);
}

.tag-chip:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.tag-chip:hover i { color: rgba(255, 255, 255, .8); }

.widget-about { background: linear-gradient(160deg, #fff, #f7faff); }

.about-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.about-slogan {
    margin-top: 4px;
    font-size: 13px;
    color: var(--accent);
}

.about-note {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.75;
    color: var(--text-3);
}

.about-links {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.about-links a {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-s);
    font-size: 13px;
    color: var(--text-2);
    background: #fff;
}

.about-links a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.widget-content { font-size: 14px; color: var(--text-2); }

.module-list li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 14px;
}

.module-list li:last-child { border-bottom: 0; }

/* 友情链接 */
.link-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.link-grid a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    background: var(--soft);
    transition: all .25s var(--ease);
}

.link-grid a:hover {
    background: #fff;
    border-color: var(--accent);
    box-shadow: var(--shadow-1);
    transform: translateY(-2px);
}

.link-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.link-desc {
    font-size: 12px;
    color: var(--text-4);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 11 文章页 ------------------------------------------------------------- */
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--side-w);
    gap: 26px;
    align-items: start;
    padding-top: 26px;
}

.article-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.entry-wrap {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-1);
    padding: 34px 46px 40px;
}

.entry-head { padding-bottom: 8px; }

.entry-title {
    font-size: 34px;
    line-height: 1.35;
    letter-spacing: -.025em;
}

.entry-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    color: var(--text-3);
}

.entry-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.entry-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.entry-author em {
    font-style: normal;
    font-weight: 600;
    color: var(--text-2);
}

.entry-cat {
    padding: 1px 9px;
    border-radius: 3px;
    background: var(--accent-l);
    color: var(--accent);
    font-size: 12px;
}

.entry-lead {
    margin-top: 20px;
    padding: 14px 18px;
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-s) var(--radius-s) 0;
    background: var(--soft);
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--text-2);
}

.entry {
    margin-top: 24px;
    font-size: 16.5px;
    line-height: 1.95;
    color: #26313f;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.entry > *:first-child { margin-top: 0; }

.entry p { margin: 0 0 20px; }

.entry h2,
.entry h3,
.entry h4 {
    margin: 34px 0 14px;
    line-height: 1.5;
    letter-spacing: -.01em;
}

.entry h2 {
    position: relative;
    padding-left: 14px;
    font-size: 23px;
}

.entry h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: .28em;
    width: 4px;
    height: 1.05em;
    border-radius: 2px;
    background: var(--accent-grad);
}

.entry h3 { font-size: 20px; }
.entry h4 { font-size: 17.5px; }

.entry a {
    color: var(--accent);
    border-bottom: 1px solid rgba(var(--accent-rgb), .28);
}

.entry a:hover { border-bottom-color: var(--accent); }

.entry img {
    margin: 24px auto;
    border-radius: var(--radius);
}

.entry figure { margin: 24px 0; }

.entry figcaption {
    margin-top: 8px;
    text-align: center;
    font-size: 12.5px;
    color: var(--text-4);
}

.entry ul,
.entry ol {
    margin: 0 0 20px;
    padding-left: 22px;
}

.entry ul { list-style: disc; }
.entry ol { list-style: decimal; }

.entry li { margin-bottom: 8px; }

.entry blockquote {
    margin: 24px 0;
    padding: 16px 22px;
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--accent-l);
    color: var(--text-2);
    font-size: 15.5px;
}

.entry blockquote p:last-child { margin-bottom: 0; }

.entry pre {
    margin: 22px 0;
    padding: 18px 20px;
    border-radius: var(--radius);
    background: #10192a;
    color: #d6e0ee;
    font: 13.5px/1.75 var(--mono);
    overflow: auto;
}

.entry code {
    font-family: var(--mono);
    font-size: .92em;
    padding: 2px 6px;
    border-radius: 4px;
    background: #eef2f8;
    color: var(--accent-d);
}

.entry pre code {
    padding: 0;
    background: none;
    color: inherit;
}

.entry table {
    width: 100%;
    margin: 22px 0;
    border-collapse: collapse;
    font-size: 14.5px;
}

.entry th,
.entry td {
    padding: 10px 14px;
    border: 1px solid var(--line-2);
    text-align: left;
}

.entry th {
    background: var(--soft);
    font-weight: 600;
}

.entry hr {
    margin: 30px 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.entry-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.entry-tags-label {
    font-size: 12.5px;
    color: var(--text-4);
    margin-right: 4px;
    letter-spacing: .08em;
}

.entry-note {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: var(--radius-s);
    background: var(--soft);
    border: 1px dashed var(--line-2);
    font-size: 12.5px;
    line-height: 1.8;
    color: var(--text-3);
}

.entry-note strong { color: var(--text-2); }

.entry-note a { color: var(--accent); }

.entry-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.entry-nav-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
    transition: all .25s var(--ease);
}

.entry-nav-item:hover {
    background: #fff;
    border-color: var(--accent);
    box-shadow: var(--shadow-1);
}

.entry-nav-label {
    font-size: 11.5px;
    color: var(--text-4);
    letter-spacing: .1em;
}

.entry-nav-item strong {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.entry-nav-item.align-right { text-align: right; }

.related-panel .card-media { height: 150px; }

/* 12 评论 --------------------------------------------------------------- */
.comments-panel { padding-bottom: 26px; }

.comments-social { font-size: 14px; }

.comments-empty {
    padding: 26px 0;
    text-align: center;
    font-size: 14px;
    color: var(--text-4);
}

.comment-list { display: flex; flex-direction: column; gap: 4px; }

.comment-item {
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px dashed var(--line);
}

.comment-child { padding-left: 0; }

.comment-avatar { flex: none; }

.comment-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--soft);
}

.comment-main { flex: 1; min-width: 0; }

.comment-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.comment-name {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text);
}

.comment-time {
    font-size: 12px;
    color: var(--text-4);
}

.comment-content {
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--text-2);
}

.comment-content p { margin: 0 0 8px; }

.comment-actions { margin-top: 6px; }

.comment-reply {
    font-size: 12.5px;
    color: var(--text-3);
}

.comment-reply:hover { color: var(--accent); }

.comment-children {
    margin-top: 12px;
    padding-left: 16px;
    border-left: 2px solid var(--line);
}

.comment-pagebar { margin: 18px 0; }

.comment-form {
    margin-top: 26px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
}

.form-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.form-title { font-size: 16.5px; }

.cancel-reply { font-size: 12.5px; color: var(--text-3); }

.form-row { margin-bottom: 12px; }

.form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.form-row-verify {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-row input.text,
.form-row textarea.text {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-s);
    background: #fff;
    font-size: 14px;
    transition: border-color .25s, box-shadow .25s;
}

.form-row input.text:focus,
.form-row textarea.text:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .1);
}

.form-row textarea.text {
    resize: vertical;
    min-height: 110px;
    line-height: 1.75;
}

.verify-img {
    flex: none;
    height: 38px;
    width: auto;
    border-radius: var(--radius-s);
    cursor: pointer;
}

.form-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-tip { font-size: 12px; color: var(--text-4); }

.btn-primary {
    padding: 10px 28px;
    border-radius: 20px;
    background: var(--accent-grad);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 18px -10px rgba(var(--accent-rgb), .8);
    transition: transform .2s var(--ease), box-shadow .2s;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px -10px rgba(var(--accent-rgb), .9);
}

/* 13 页脚 --------------------------------------------------------------- */
.site-foot {
    margin-top: 20px;
    background: #0e1727;
    color: #93a0b2;
}

.foot-main {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 40px;
}

.foot-logo {
    display: inline-block;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
}

.foot-logo:hover { color: #fff; }

.foot-slogan {
    margin-top: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
    letter-spacing: .06em;
}

.foot-desc {
    margin-top: 16px;
    font-size: 13.5px;
    line-height: 1.85;
    color: #8f9cad;
    max-width: 420px;
}

.foot-qr {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.foot-qr img {
    width: 84px;
    height: 84px;
    border-radius: 8px;
    background: #fff;
    padding: 4px;
}

.foot-qr span {
    font-size: 12.5px;
    color: #7f8d9f;
}

.foot-title {
    margin-bottom: 16px;
    font-size: 14.5px;
    font-weight: 600;
    color: #fff;
    letter-spacing: .04em;
}

.foot-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 12px;
}

.foot-links li a {
    font-size: 13.5px;
    color: #8593a6;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
}

.foot-links li a:hover { color: #fff; }

.foot-line {
    font-size: 13.5px;
    line-height: 2;
    color: #8593a6;
}

.foot-line.dim { color: #6e7d93; }

.foot-line a { color: #8593a6; }
.foot-line a:hover { color: #fff; }

.foot-bar {
    border-top: 1px solid rgba(255, 255, 255, .07);
    background: rgba(0, 0, 0, .16);
}

.foot-bar-in {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 58px;
    font-size: 12.5px;
    color: #64748a;
}

.foot-bar-in a { color: #8593a6; }
.foot-bar-in a:hover { color: #fff; }

.foot-theme { margin-left: auto; }

/* 14 其它 --------------------------------------------------------------- */
.to-top {
    position: fixed;
    right: 28px;
    bottom: 34px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line-2);
    color: var(--text-2);
    box-shadow: var(--shadow-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s var(--ease);
}

.to-top svg { width: 20px; height: 20px; }

.to-top.is-on {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.to-top:hover {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}

.empty-tip {
    padding: 50px 0;
    text-align: center;
    font-size: 14.5px;
    color: var(--text-4);
}

.empty-tip p { margin-bottom: 16px; }

.btn-line {
    display: inline-block;
    padding: 9px 24px;
    border: 1px solid var(--line-2);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-2);
    background: #fff;
}

.btn-line:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.error-page {
    padding: 70px 0 40px;
    text-align: center;
}

.error-code {
    font: 800 130px/1 var(--mono);
    letter-spacing: -.06em;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: .9;
}

.error-title {
    margin-top: 10px;
    font-size: 28px;
}

.error-desc {
    margin: 12px auto 26px;
    max-width: 520px;
    font-size: 14.5px;
    color: var(--text-3);
}

.error-page .page-search {
    margin: 0 auto 16px;
    max-width: 460px;
}

.error-recent {
    max-width: 720px;
    margin: 44px auto 0;
    text-align: left;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    padding: 22px 26px;
}

.error-recent-title {
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-4);
    letter-spacing: .1em;
}

.error-recent-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 14.5px;
}

.error-recent-list li:last-child { border-bottom: 0; }

.error-recent-list li a {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.error-recent-list li span {
    flex: none;
    font: 400 12px/1 var(--mono);
    color: var(--text-4);
}

/* 15 动效 --------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }

    html { scroll-behavior: auto; }
}

/* 16 响应式 ------------------------------------------------------------- */
@media screen and (max-width: 1700px) {
    :root { --gutter: 26px; --side-w: 330px; }
    .hero-in { grid-template-columns: minmax(0, 1fr) 372px; }
    .hero-txt { font-size: 14px; }
}

@media screen and (max-width: 1480px) {
    :root { --side-w: 316px; }
    .head-in { gap: 24px; height: 76px; }
    .nav-list li > a { padding: 0 11px; font-size: 15px; }
    .head-search { width: 230px; }
    .slider { height: 430px; }
    .slide-title { font-size: 30px; }
    .focus { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
    .focus-pic { height: 280px; }
    .row-media { width: 134px; height: 92px; }
    .card-media { height: 164px; }
    .media-pic { width: 160px; height: 108px; }
    .foot-main { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
    .chan-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media screen and (max-width: 1240px) {
    .with-side,
    .article-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .side-col {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 18px;
    }

    .side-col > .widget,
    .side-col > .ad-slot {
        flex: 1 1 320px;
        min-width: 300px;
    }

    .side-col .ad-empty { height: 140px; }
    .hero-in { grid-template-columns: minmax(0, 1fr) 330px; }
    .hero-side .hero-item:nth-child(n+7) { display: none; }
    .link-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .entry-wrap { padding: 28px 32px 34px; }
}

@media screen and (max-width: 1080px) {
    .nav-btn { display: flex; }

    .nav-wrap {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 70;
        width: 300px;
        height: 100%;
        padding: 0 0 30px;
        background: #fff;
        box-shadow: -20px 0 50px -30px rgba(10, 20, 35, .5);
        transform: translateX(102%);
        transition: transform .32s var(--ease);
        overflow-y: auto;
    }

    .nav-wrap.is-open { transform: none; }

    .nav-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 62px;
        padding: 0 20px;
        border-bottom: 1px solid var(--line);
        font-size: 15px;
        font-weight: 600;
    }

    .nav-close {
        font-size: 26px;
        line-height: 1;
        color: var(--text-3);
        padding: 0 4px;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 12px;
    }

    .nav-list li > a {
        display: block;
        height: auto;
        padding: 13px 12px;
        font-size: 15px;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
    }

    .nav-list li > a.is-on::after { display: none; }

    .head-in { gap: 16px; height: 70px; }
    .head-search { width: 200px; }
    .hero-in { grid-template-columns: minmax(0, 1fr); }
    .slider { height: 400px; }
    .hero-side { flex-direction: row; padding: 0; }
    .hero-side .side-head { flex: none; width: 150px; border-bottom: 0; border-right: 1px solid var(--line); }
    .hero-list { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 6px 10px; }
    .hero-item:nth-child(n+7) { display: none; }
    .hero-item a { border-bottom: 0; }
    .chan-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .card-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .row-desc { display: none; }
    .card-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-h1 { font-size: 32px; }
    .entry-title { font-size: 28px; }
    .foot-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 820px) {
    :root { --gutter: 16px; }
    .topbar-left .tb-welcome,
    .tb-notice { display: none; }
    .scheme-switch { display: none; }
    .head-search { display: none; }
    .head-in { justify-content: space-between; }
    .logo-name { font-size: 20px; }
    .slider { height: 320px; }
    .slide-body { padding: 0 22px 46px; }
    .slide-title { font-size: 22px; }
    .slide-desc { display: none; }
    .slide-nav { display: none; }
    .slide-pager { right: 20px; bottom: 18px; }
    .focus { grid-template-columns: minmax(0, 1fr); }
    .focus-pic { height: 220px; }
    .media-grid { grid-template-columns: minmax(0, 1fr); }
    .media-item { padding: 12px; }
    .media-pic { width: 132px; height: 92px; }
    .media-title { font-size: 15.5px; }
    .media-desc { display: none; }
    .chan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .chan { padding: 11px 12px; }
    .chan-ico { width: 34px; height: 34px; font-size: 15px; }
    .panel { padding: 18px 16px 20px; }
    .page-head-stat { display: none; }
    .page-head-in { flex-direction: column; align-items: stretch; }
    .page-search { width: 100%; }
    .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .entry-wrap { padding: 22px 18px 26px; }
    .entry { font-size: 16px; }
    .entry-title { font-size: 24px; }
    .entry-nav { grid-template-columns: minmax(0, 1fr); }
    .entry-nav-item.align-right { text-align: left; }
    .foot-main { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .foot-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .foot-bar-in { flex-wrap: wrap; height: auto; padding: 14px 0; gap: 8px 14px; }
    .foot-theme { margin-left: 0; }
    .hero-side { flex-direction: column; }
    .hero-side .side-head { width: auto; border-right: 0; border-bottom: 1px solid var(--line); }
    .hero-list { grid-template-columns: minmax(0, 1fr); }
    .hero-item:nth-child(n+5) { display: none; }
    .marquee { height: 44px; }
    .to-top { right: 16px; bottom: 20px; width: 42px; height: 42px; }
}

@media screen and (max-width: 560px) {
    .card-grid.cols-3,
    .card-grid.cols-4 { grid-template-columns: minmax(0, 1fr); }
    .card-media { height: 190px; }
    .chan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-row-3 { grid-template-columns: minmax(0, 1fr); }
    .page-h1 { font-size: 26px; }
    .entry-title { font-size: 21px; }
    .sec-title { font-size: 18px; }
    .sec-sub { display: none; }
    .foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .slider { height: 260px; }
    .slide-title { font-size: 19px; }
    .error-code { font-size: 88px; }
}
