/* ============================================================
   财经快讯网 · Design System
   基于 8px 倍数原则 + 12列网格 + CSS Custom Properties
   ============================================================ */


/* ── 1. Design Tokens ───────────────────────────────────────── */

:root {
    /* 主色 */
    --c-primary: #0A2540;
    --c-primary-light: #1A56DB;
    --c-primary-50: #EEF4FF;
    /* 辅助色 */
    --c-gold: #F59E0B;
    --c-red: #EF4444;
    --c-green: #10B981;
    /* 中性色 */
    --c-text: #0F172A;
    --c-text-2: #334155;
    --c-text-3: #64748B;
    --c-text-4: #94A3B8;
    --c-border: #E2E8F0;
    --c-border-2: #CBD5E1;
    --c-bg: #F1F5F9;
    --c-bg-2: #F8FAFC;
    --c-surface: #FFFFFF;
    /* 圆角 */
    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 20px;
    --r-full: 9999px;
    /* 阴影 */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, .05);
    --shadow-sm: 0 2px 8px rgba(10, 37, 64, .08);
    --shadow-md: 0 8px 24px rgba(10, 37, 64, .11);
    --shadow-lg: 0 20px 48px rgba(10, 37, 64, .16);
    --shadow-focus: 0 0 0 3px rgba(26, 86, 219, .25);
    /* 间距 */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 20px;
    --sp-6: 24px;
    --sp-8: 32px;
    --sp-10: 40px;
    --sp-12: 48px;
    --sp-16: 64px;
    /* 字体 */
    --font-sans: "Source Han Sans SC", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", -apple-system, sans-serif;
    --font-num: "DIN Alternate", "SF Pro Display", "Helvetica Neue", sans-serif;
    /* 过渡 */
    --ease: cubic-bezier(.4, 0, .2, 1);
    --dur: 180ms;
    /* 容器 */
    --container: 1280px;
    --cat-filter-top: 100px;
}


/* ── 2. Reset & Base ─────────────────────────────────────────── */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

a {
    color: var(--c-primary-light);
    text-decoration: none;
    transition: color var(--dur) var(--ease);
}

a:hover {
    color: var(--c-primary);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ── 3. Layout ───────────────────────────────────────────────── */

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--sp-6);
}

.grid-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--sp-6);
}


/* ── 4. Reading Progress Bar ─────────────────────────────────── */

#reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--c-primary-light), var(--c-gold));
    z-index: 9999;
    transition: width .1s linear;
}


/* ── 5. Header ───────────────────────────────────────────────── */

.site-header {
    background: var(--c-primary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.header-main {
    display: flex;
    align-items: center;
    height: 64px;
    gap: var(--sp-8);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(10, 37, 64, .22);
}

.site-logo-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 5px;
}

.site-logo-copy .cn {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: .02em;
}

.site-logo-copy .en {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: rgba(255, 255, 255, .48);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    flex: 1;
}

.main-nav a {
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    font-weight: 500;
    padding: var(--sp-2) var(--sp-3);
    border-radius: var(--r-sm);
    transition: all var(--dur) var(--ease);
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

.header-search {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--r-full);
    padding: var(--sp-2) var(--sp-4);
    gap: var(--sp-2);
    width: 200px;
    transition: all var(--dur) var(--ease);
}

.header-search:focus-within {
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .35);
    width: 240px;
}

.header-search input {
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 13px;
    width: 100%;
    font-family: inherit;
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, .5);
}

.header-search svg {
    color: rgba(255, 255, 255, .5);
    flex-shrink: 0;
}


/* 汉堡菜单 */

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--sp-2);
    background: none;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--dur) var(--ease);
}


/* ── 6. Market Ticker ────────────────────────────────────────── */

.market-ticker {
    background: #071e38;
    border-top: 1px solid rgba(255, 255, 255, .06);
    height: 36px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ticker-wrap {
    display: flex;
    align-items: center;
    gap: var(--sp-8);
    white-space: nowrap;
    min-width: max-content;
    animation: ticker-scroll 52s linear infinite;
    padding: 0 var(--sp-6);
}

.ticker-wrap:hover {
    animation-play-state: paused;
}

.ticker-lead {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 10px;
    border-radius: var(--r-full);
    background: rgba(245, 158, 11, .14);
    border: 1px solid rgba(245, 158, 11, .22);
    color: var(--c-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ticker-item-link {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    color: rgba(255, 255, 255, .72);
    min-width: 0;
}

.ticker-item-link:hover {
    color: #fff;
}

.ticker-name {
    color: rgba(255, 255, 255, .42);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ticker-title {
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 500;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    font-size: 12px;
    font-family: var(--font-num);
    color: rgba(255, 255, 255, .65);
    text-decoration: none;
}

.ticker-item .ticker-name {
    color: rgba(255, 255, 255, .45);
}

.ticker-item .ticker-val {
    color: #fff;
    font-weight: 600;
}

.ticker-item:hover .ticker-name,
.ticker-item:hover .ticker-val,
.ticker-item:hover .up,
.ticker-item:hover .down {
    opacity: .92;
}

.ticker-item .up {
    color: var(--c-red);
}

.ticker-item .down {
    color: var(--c-green);
}

.ticker-divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, .12);
    margin: 0 var(--sp-4);
}


/* ── 7. Breadcrumb ───────────────────────────────────────────── */

.breadcrumb {
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    padding: var(--sp-3) 0;
    font-size: 13px;
}

.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    color: var(--c-text-3);
}

.breadcrumb-inner a {
    color: var(--c-text-3);
    transition: color var(--dur) var(--ease);
}

.breadcrumb-inner a:hover {
    color: var(--c-primary-light);
}

.breadcrumb-sep {
    color: var(--c-border-2);
    font-size: 12px;
}

.breadcrumb-inner span:last-child {
    color: var(--c-text-2);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 300px;
}


/* ── 8. Tag / Badge ──────────────────────────────────────────── */

.tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: var(--r-full);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3px;
    white-space: nowrap;
}

.tag-blue {
    background: var(--c-primary-50);
    color: var(--c-primary-light);
}

.tag-gold {
    background: #FEF3C7;
    color: #D97706;
}

.tag-red {
    background: #FEE2E2;
    color: #DC2626;
}

.tag-green {
    background: #D1FAE5;
    color: #059669;
}

.tag-gray {
    background: var(--c-bg);
    color: var(--c-text-3);
}


/* ── 9. News Card ────────────────────────────────────────────── */

.news-card {
    background: var(--c-surface);
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--c-border);
    transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.news-card-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--c-bg);
}

.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s var(--ease);
}

.news-card:hover .news-card-thumb img {
    transform: scale(1.04);
}

.news-card-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #EEF4FF 0%, #E2E8F0 100%);
    color: var(--c-text-4);
    font-size: 28px;
}

.news-card-tag {
    position: absolute;
    top: var(--sp-3);
    left: var(--sp-3);
}

.news-card-body {
    padding: var(--sp-4);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.news-card-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--c-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--dur) var(--ease);
}

.news-card:hover .news-card-title {
    color: var(--c-primary-light);
}

.news-card-summary {
    font-size: 13px;
    color: var(--c-text-3);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--sp-3);
    border-top: 1px solid var(--c-border);
    margin-top: auto;
}

.news-card-time {
    font-size: 12px;
    color: var(--c-text-4);
    font-family: var(--font-num);
}

.news-card-source {
    font-size: 12px;
    color: var(--c-text-4);
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-card.no-thumb {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 1) 100%);
    position: relative;
}

.news-card.no-thumb::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--c-primary-light), rgba(245, 158, 11, .75));
}

.news-card.no-thumb .news-card-body {
    padding-top: var(--sp-5);
    gap: var(--sp-3);
}

.news-card.no-thumb .tag {
    align-self: flex-start;
}


/* ── 10. Hero Zone ───────────────────────────────────────────── */


/* 首页H1：SEO可见但视觉低调，作为页面语义锚点 */

.home-page-heading {
    font-size: 13px;
    font-weight: 500;
    color: var(--c-text-3);
    letter-spacing: .02em;
    margin-bottom: var(--sp-4);
    padding-top: var(--sp-6);
    border-bottom: none;
    line-height: 1.5;
}

.hero-zone {
    padding: 0 0 var(--sp-6);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-template-rows: auto auto;
    gap: var(--sp-5);
}


/* 主焦点卡 */

.hero-main {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--c-primary);
    box-shadow: var(--shadow-lg);
    grid-row: 1 / 3;
    min-height: 380px;
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .85;
    transition: transform .5s var(--ease), opacity .3s;
}

.hero-main:hover .hero-main-img {
    transform: scale(1.03);
    opacity: .9;
}

.hero-main-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 37, 64, .92) 0%, rgba(10, 37, 64, .4) 50%, rgba(10, 37, 64, .05) 100%);
}

.hero-main-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--sp-8) var(--sp-6) var(--sp-6);
}

.hero-main-body .tag {
    margin-bottom: var(--sp-3);
}

.hero-main-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.35;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: var(--sp-2);
    text-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}

.hero-main-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, .65);
    font-family: var(--font-num);
}

.hero-main-noimage {
    background: radial-gradient(circle at 12% 18%, rgba(245, 158, 11, .22), transparent 28%), radial-gradient(circle at 88% 22%, rgba(26, 86, 219, .28), transparent 30%), linear-gradient(135deg, #081c34 0%, #123a64 48%, #1a56db 100%);
}

.hero-main-noimage::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, .08) 0, rgba(255, 255, 255, 0) 36%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0, rgba(255, 255, 255, .04) 1px, transparent 1px, transparent 72px);
    pointer-events: none;
}

.hero-main-noimage .hero-main-overlay {
    background: linear-gradient(to top, rgba(7, 27, 50, .96) 0%, rgba(7, 27, 50, .54) 56%, rgba(7, 27, 50, .18) 100%);
}

.hero-main-noimage .hero-main-body {
    max-width: 76%;
}


/* 次焦点卡 */

.hero-sub {
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--c-surface);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-border);
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.hero-sub:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.hero-sub-thumb {
    position: relative;
    overflow: hidden;
    height: 130px;
    background: var(--c-bg);
    flex-shrink: 0;
}

.hero-sub-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s var(--ease);
}

.hero-sub:hover .hero-sub-thumb img {
    transform: scale(1.06);
}

.hero-sub-tag {
    position: absolute;
    top: var(--sp-2);
    left: var(--sp-2);
}

.hero-sub-body {
    padding: var(--sp-4);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.hero-sub-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--c-text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--dur) var(--ease);
}

.hero-sub:hover .hero-sub-title {
    color: var(--c-primary-light);
}

.hero-sub-time {
    font-size: 12px;
    color: var(--c-text-4);
    font-family: var(--font-num);
    margin-top: auto;
}

.hero-sub.no-thumb {
    background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(241, 245, 249, .96) 100%);
}

.hero-sub.no-thumb .hero-sub-body {
    justify-content: space-between;
    min-height: 100%;
}


/* ── 11. Section ─────────────────────────────────────────────── */

.section-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sp-5);
    padding-bottom: var(--sp-4);
    border-bottom: 2px solid var(--c-border);
    position: relative;
}

.section-hd::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--c-primary-light);
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--c-text);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.section-title-icon {
    width: 4px;
    height: 18px;
    background: var(--c-primary-light);
    border-radius: 2px;
    flex-shrink: 0;
}

.section-more {
    font-size: 13px;
    color: var(--c-text-3);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color var(--dur) var(--ease);
    white-space: nowrap;
}

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


/* ── 12. Card Grid ───────────────────────────────────────────── */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
}


/* ── 13. Sidebar ─────────────────────────────────────────────── */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
}

.sidebar-card {
    background: var(--c-surface);
    border-radius: var(--r-md);
    border: 1px solid var(--c-border);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}

.sidebar-card-hd {
    padding: var(--sp-4) var(--sp-4) var(--sp-3);
    border-bottom: 1px solid var(--c-border);
    font-size: 14px;
    font-weight: 700;
    color: var(--c-text);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.sidebar-card-hd .icon {
    font-size: 16px;
}


/* 热榜列表 */

.hot-list {
    padding: var(--sp-3) 0;
}

.hot-item {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    padding: var(--sp-2) var(--sp-4);
    transition: background var(--dur) var(--ease);
}

.hot-item:hover {
    background: var(--c-bg-2);
}

.hot-num {
    min-width: 22px;
    height: 22px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-num);
    flex-shrink: 0;
    margin-top: 2px;
    background: var(--c-bg);
    color: var(--c-text-3);
}

.hot-item:nth-child(1) .hot-num {
    background: #ef4444;
    color: #fff;
}

.hot-item:nth-child(2) .hot-num {
    background: #f97316;
    color: #fff;
}

.hot-item:nth-child(3) .hot-num {
    background: #f59e0b;
    color: #fff;
}

.hot-title {
    font-size: 13px;
    line-height: 1.5;
    color: var(--c-text-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--dur) var(--ease);
    flex: 1;
}

.hot-item:hover .hot-title {
    color: var(--c-primary-light);
}


/* 首页热门展示 */

.hot-showcase {
    padding: 0 0 var(--sp-8);
}

.hot-showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 340px;
    gap: var(--sp-5);
    align-items: stretch;
}

.hot-showcase-lead {
    position: relative;
    min-height: 360px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(145deg, #081c34 0%, #103358 52%, #1d5fa3 100%);
    box-shadow: 0 18px 42px rgba(8, 28, 52, .16);
    border: 1px solid rgba(16, 42, 67, .08);
}

.hot-showcase-lead img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-showcase-lead.no-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 14% 18%, rgba(245, 158, 11, .24), transparent 28%), radial-gradient(circle at 88% 26%, rgba(255, 255, 255, .12), transparent 24%), linear-gradient(135deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, 0) 42%);
}

.hot-showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 22, 39, .08) 0%, rgba(6, 22, 39, .55) 52%, rgba(6, 22, 39, .94) 100%);
}

.hot-showcase-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: var(--sp-8);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    color: #fff;
}

.hot-showcase-topline {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex-wrap: wrap;
}

.hot-showcase-rank {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .16);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
}

.hot-showcase-title {
    font-size: 30px;
    line-height: 1.18;
    color: #fff;
    letter-spacing: -.04em;
}

.hot-showcase-summary {
    max-width: 620px;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .74);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-showcase-meta {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    flex-wrap: wrap;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    font-family: var(--font-num);
}

.hot-showcase-rail {
    display: grid;
    gap: var(--sp-4);
}

.hot-showcase-item,
.hot-showcase-more-card {
    border-radius: 24px;
    border: 1px solid var(--c-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(247, 250, 253, 1) 100%);
    box-shadow: var(--shadow-xs);
}

.hot-showcase-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: var(--sp-4);
    padding: 18px 20px;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.hot-showcase-item:hover,
.hot-showcase-more-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 86, 219, .18);
}

.hot-showcase-item-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(180deg, #102A43 0%, #194f81 100%);
    color: #fff;
    font-family: var(--font-num);
    font-size: 22px;
    font-weight: 800;
}

.hot-showcase-item-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hot-showcase-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
    flex-wrap: wrap;
}

.hot-showcase-item-views,
.hot-showcase-item-time {
    font-size: 12px;
    color: var(--c-text-4);
    font-family: var(--font-num);
}

.hot-showcase-item-title {
    font-size: 15px;
    line-height: 1.65;
    color: var(--c-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-showcase-more-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 22px 24px;
    background: radial-gradient(circle at top right, rgba(245, 158, 11, .18), transparent 28%), linear-gradient(135deg, #ffffff 0%, #eef4ff 58%, #f8fbff 100%);
}

.hot-showcase-more-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    width: fit-content;
    padding: 0 10px;
    border-radius: var(--r-full);
    background: rgba(16, 42, 67, .06);
    color: var(--c-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hot-showcase-more-card strong {
    font-size: 18px;
    color: var(--c-primary);
    letter-spacing: -.02em;
}

.hot-showcase-more-card span:last-child {
    font-size: 13px;
    line-height: 1.75;
    color: var(--c-text-3);
}


/* 热门排行页 */

@keyframes pageRiseIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hot-page-shell {
    padding: var(--sp-8) 0 var(--sp-16);
    background: radial-gradient(circle at top right, rgba(214, 168, 79, .18), transparent 26%), radial-gradient(circle at top left, rgba(91, 141, 238, .16), transparent 22%), linear-gradient(180deg, #f4f7fb 0%, #eef3f8 100%);
}

.hot-page-hero {
    margin-bottom: var(--sp-6);
    padding: 28px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .98) 0%, rgba(245, 249, 255, .98) 56%, rgba(255, 255, 255, .96) 100%);
    border: 1px solid rgba(16, 42, 67, .08);
    box-shadow: 0 16px 42px rgba(16, 42, 67, .08);
    animation: pageRiseIn .56s var(--ease) both;
}

.hot-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--sp-6);
    margin-bottom: var(--sp-6);
}

.hot-page-copy {
    max-width: 760px;
}

.hot-page-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: var(--r-full);
    background: rgba(16, 42, 67, .06);
    border: 1px solid rgba(16, 42, 67, .08);
    color: var(--c-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: var(--sp-4);
}

.hot-page-title {
    font-size: 42px;
    line-height: 1.04;
    color: var(--c-primary);
    margin-bottom: var(--sp-4);
    letter-spacing: -.05em;
}

.hot-page-desc {
    font-size: 15px;
    line-height: 1.85;
    color: var(--c-text-3);
    max-width: 760px;
}

.hot-page-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    min-width: 360px;
}

.hot-page-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid rgba(16, 42, 67, .08);
    box-shadow: var(--shadow-xs);
}

.hot-page-stat strong {
    font-family: var(--font-num);
    font-size: 26px;
    line-height: 1;
    color: var(--c-primary);
}

.hot-page-stat span {
    font-size: 12px;
    color: var(--c-text-4);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hot-page-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) 320px;
    gap: var(--sp-5);
}

.hot-page-lead {
    position: relative;
    min-height: 380px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(145deg, #071b32 0%, #103358 46%, #205e9d 100%);
}

.hot-page-lead::after,
.tag-page-lead::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, .12) 46%, rgba(255, 255, 255, 0) 72%);
    transform: translateX(-120%);
    transition: transform .9s var(--ease);
    pointer-events: none;
}

.hot-page-lead:hover::after,
.tag-page-lead:hover::after {
    transform: translateX(120%);
}

.hot-page-lead img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-page-lead.no-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 16% 16%, rgba(245, 158, 11, .24), transparent 26%), radial-gradient(circle at 84% 24%, rgba(255, 255, 255, .12), transparent 24%), linear-gradient(135deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, 0) 40%);
}

.hot-page-lead-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 27, 50, .12) 0%, rgba(7, 27, 50, .48) 46%, rgba(7, 27, 50, .94) 100%);
}

.hot-page-lead-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: var(--sp-8);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    color: #fff;
}

.hot-page-lead-topline {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex-wrap: wrap;
}

.hot-page-lead-rank {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .16);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
}

.hot-page-lead-copy h2 {
    font-size: 32px;
    line-height: 1.18;
    color: #fff;
    letter-spacing: -.04em;
}

.hot-page-lead-copy p {
    max-width: 640px;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .76);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-page-lead-meta {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    flex-wrap: wrap;
    font-size: 12px;
    color: rgba(255, 255, 255, .68);
    font-family: var(--font-num);
}

.hot-page-side-cards {
    display: grid;
    gap: var(--sp-4);
}

.hot-page-side-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: var(--sp-4);
    padding: 18px 20px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(247, 250, 253, 1) 100%);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-xs);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.hot-page-side-item:hover,
.hot-rank-item:hover,
.hot-side-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 86, 219, .18);
}

.hot-page-side-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(180deg, #102A43 0%, #1b4e7a 100%);
    color: #fff;
    font-family: var(--font-num);
    font-size: 22px;
    font-weight: 800;
}

.hot-page-side-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hot-page-side-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
    flex-wrap: wrap;
}

.hot-page-side-top span:last-child,
.hot-page-side-time {
    font-size: 12px;
    color: var(--c-text-4);
    font-family: var(--font-num);
}

.hot-page-side-copy strong {
    font-size: 15px;
    line-height: 1.65;
    color: var(--c-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: var(--sp-6);
    align-items: start;
}

.hot-page-main,
.hot-page-sidebar {
    min-width: 0;
}

.hot-page-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
}

.hot-page-list-card {
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(16, 42, 67, .08);
    box-shadow: 0 14px 36px rgba(16, 42, 67, .08);
}

.hot-page-list-note {
    font-size: 12px;
    color: var(--c-text-4);
    font-family: var(--font-num);
}

.hot-list-full {
    display: grid;
    gap: 18px;
}

.hot-rank-item {
    display: grid;
    grid-template-columns: 84px 280px minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
    padding: 22px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(248, 251, 255, .96) 100%);
    border: 1px solid rgba(16, 42, 67, .08);
    box-shadow: var(--shadow-xs);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.hot-rank-item.is-top {
    background: radial-gradient(circle at top right, rgba(245, 158, 11, .14), transparent 30%), linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(248, 251, 255, .98) 100%);
}

.hot-rank-item.no-thumb {
    grid-template-columns: 84px minmax(0, 1fr);
}

.hot-rank-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 100%;
    padding: 18px 12px;
    border-radius: 24px;
    background: linear-gradient(180deg, #102A43 0%, #1a456e 100%);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.hot-rank-item.is-top .hot-rank-badge {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}

.hot-rank-badge-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .22em;
    opacity: .78;
}

.hot-rank-badge strong {
    font-family: var(--font-num);
    font-size: 32px;
    line-height: .95;
    letter-spacing: -.05em;
}

.hot-rank-thumb {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 212px;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--c-bg);
}

.hot-rank-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s var(--ease);
}

.hot-rank-item:hover .hot-rank-thumb img {
    transform: scale(1.04);
}

.hot-rank-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.hot-rank-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
    flex-wrap: wrap;
}

.hot-rank-views {
    font-size: 12px;
    color: var(--c-text-4);
    font-family: var(--font-num);
}

.hot-rank-title {
    font-size: 31px;
    line-height: 1.18;
    letter-spacing: -.045em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-rank-title a {
    color: var(--c-text);
    display: block;
}

.hot-rank-title a:hover {
    color: var(--c-primary-light);
}

.hot-rank-summary {
    font-size: 14px;
    line-height: 1.8;
    color: var(--c-text-3);
    max-width: 92%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-rank-meta {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid rgba(16, 42, 67, .08);
    font-size: 12px;
    color: var(--c-text-4);
    font-family: var(--font-num);
}

.hot-side-card {
    border-radius: 24px;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.hot-side-links {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

.hot-side-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding: 12px 16px;
    color: var(--c-text-2);
    border-bottom: 1px solid var(--c-border);
    transition: background var(--dur) var(--ease), padding var(--dur) var(--ease), color var(--dur) var(--ease);
}

.hot-side-link:last-child {
    border-bottom: none;
}

.hot-side-link:hover {
    background: var(--c-bg-2);
    color: var(--c-primary-light);
    padding-left: 20px;
}

.hot-side-link strong {
    font-family: var(--font-num);
    font-size: 13px;
    color: var(--c-text-4);
}


/* Tag 专题页 */

.tag-page-shell {
    padding: var(--sp-8) 0 var(--sp-16);
    background: radial-gradient(circle at top left, rgba(26, 86, 219, .10), transparent 22%), radial-gradient(circle at top right, rgba(214, 168, 79, .10), transparent 24%), linear-gradient(180deg, #edf3f8 0%, #f5f8fc 18%, #eef3f8 100%);
}

.tag-page-hero {
    margin-bottom: var(--sp-6);
    padding: 34px 36px;
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .98) 0%, rgba(249, 251, 255, .98) 52%, rgba(245, 248, 253, .98) 100%);
    border: 1px solid rgba(16, 42, 67, .06);
    box-shadow: 0 22px 48px rgba(16, 42, 67, .09);
    animation: pageRiseIn .56s var(--ease) both;
}

.tag-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--sp-6);
    margin-bottom: var(--sp-5);
}

.tag-page-copy {
    max-width: 820px;
}

.tag-page-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 14px;
    margin-bottom: var(--sp-4);
    border-radius: 999px;
    background: rgba(10, 37, 64, .05);
    border: 1px solid rgba(10, 37, 64, .08);
    color: var(--c-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.tag-page-title {
    font-size: 50px;
    line-height: .98;
    color: var(--c-primary);
    margin-bottom: 18px;
    letter-spacing: -.075em;
}

.tag-page-desc {
    max-width: 760px;
    font-size: 15px;
    line-height: 1.9;
    color: var(--c-text-3);
}

.tag-page-actions {
    display: flex;
    align-items: flex-start;
    flex-shrink: 0;
}

.tag-page-rss {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: #102A43;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(16, 42, 67, .14);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

.tag-page-rss:hover {
    color: #fff;
    background: #1a56db;
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(26, 86, 219, .16);
}

.tag-page-summary {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: var(--sp-6);
    margin-bottom: var(--sp-5);
}

.tag-page-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    flex: 1;
}

.tag-page-metric {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
    border: 1px solid rgba(16, 42, 67, .07);
    box-shadow: var(--shadow-xs);
}

.tag-page-metric strong {
    font-family: var(--font-num);
    font-size: 28px;
    line-height: 1;
    color: var(--c-primary);
}

.tag-page-metric span {
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--c-text-4);
}

.tag-page-signal {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: var(--sp-4);
    align-items: start;
    padding-top: 18px;
    border-top: 1px solid rgba(16, 42, 67, .08);
}

.tag-page-signal-label {
    padding-top: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--c-text-4);
}

.tag-page-cloud {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.tag-page-cloud::-webkit-scrollbar {
    display: none;
}

.tag-page-cloud-item {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(16, 42, 67, .08);
    box-shadow: var(--shadow-xs);
    color: var(--c-text-2);
    font-weight: 700;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.tag-page-cloud-item:hover {
    transform: translateY(-2px);
    color: var(--c-primary-light);
    border-color: rgba(26, 86, 219, .2);
    box-shadow: var(--shadow-md);
}

.tag-page-cloud-item.size-1 {
    font-size: 13px;
}

.tag-page-cloud-item.size-2 {
    font-size: 14px;
}

.tag-page-cloud-item.size-3 {
    font-size: 15px;
    color: var(--c-primary);
}

.tag-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.tag-page-main,
.tag-page-sidebar {
    min-width: 0;
}

.tag-page-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
    position: sticky;
    top: 100px;
}

.tag-page-lead {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    margin-bottom: var(--sp-5);
    min-height: 420px;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(145deg, #071b32 0%, #103358 48%, #245d94 100%);
    box-shadow: 0 18px 40px rgba(16, 42, 67, .12);
}

.tag-page-lead.no-image {
    grid-template-columns: 1fr;
    min-height: 340px;
}

.tag-page-lead-media {
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

.tag-page-lead-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 27, 50, .02) 0%, rgba(7, 27, 50, .14) 100%);
}

.tag-page-lead img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tag-page-lead.no-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 20%, rgba(245, 158, 11, .24), transparent 26%), radial-gradient(circle at 80% 18%, rgba(255, 255, 255, .12), transparent 24%), linear-gradient(135deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, 0) 42%);
}

.tag-page-lead-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 14px;
    min-width: 0;
    padding: 34px;
    color: #fff;
    background: radial-gradient(circle at top right, rgba(245, 158, 11, .16), transparent 24%), linear-gradient(180deg, rgba(11, 34, 57, .86) 0%, rgba(7, 27, 50, .96) 100%);
}

.tag-page-lead-topline {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex-wrap: wrap;
}

.tag-page-lead-label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .16);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.tag-page-lead-copy h2 {
    font-size: 34px;
    line-height: 1.16;
    color: #fff;
    letter-spacing: -.04em;
}

.tag-page-lead-copy p {
    max-width: 520px;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .76);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag-page-lead-meta {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    flex-wrap: wrap;
    font-size: 12px;
    color: rgba(255, 255, 255, .7);
    font-family: var(--font-num);
}

.tag-page-list-card {
    padding: 28px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(16, 42, 67, .07);
    box-shadow: 0 18px 40px rgba(16, 42, 67, .08);
}

.tag-story-list {
    display: grid;
    gap: 18px;
}

.tag-story-item {
    display: grid;
    grid-template-columns: 72px 236px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    padding: 20px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(249, 251, 255, .98) 100%);
    border: 1px solid rgba(16, 42, 67, .08);
    box-shadow: var(--shadow-xs);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.tag-story-item:hover,
.tag-side-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 86, 219, .18);
}

.tag-story-item.no-thumb {
    grid-template-columns: 72px minmax(0, 1fr);
}

.tag-story-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    min-height: 100%;
    padding: 14px 10px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #eef4fb 100%);
    border: 1px solid rgba(16, 42, 67, .10);
    color: var(--c-primary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), var(--shadow-xs);
}

.tag-story-rank:hover {
    color: var(--c-primary);
    border-color: rgba(26, 86, 219, .22);
}

.tag-story-rank-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .24em;
    color: var(--c-text-4);
}

.tag-story-rank strong {
    font-family: var(--font-num);
    font-size: 30px;
    line-height: .95;
    letter-spacing: -.06em;
}

.tag-story-item:nth-child(-n+3) .tag-story-rank {
    background: radial-gradient(circle at top center, rgba(245, 158, 11, .12), transparent 40%), linear-gradient(180deg, #fff9ef 0%, #fff3d8 100%);
    border-color: rgba(245, 158, 11, .22);
}

.tag-story-item:nth-child(-n+3) .tag-story-rank strong {
    color: #b45309;
}

.tag-story-thumb {
    display: block;
    width: 100%;
    min-width: 0;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--c-bg);
}

.tag-story-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s var(--ease);
}

.tag-story-item:hover .tag-story-thumb img {
    transform: scale(1.04);
}

.tag-story-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.tag-story-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--c-text-4);
    font-family: var(--font-num);
}

.tag-story-copy h3 {
    font-size: 26px;
    line-height: 1.22;
    letter-spacing: -.045em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag-story-copy h3 a {
    color: var(--c-text);
}

.tag-story-copy h3 a:hover {
    color: var(--c-primary-light);
}

.tag-story-copy p {
    max-width: 94%;
    font-size: 14px;
    line-height: 1.82;
    color: var(--c-text-3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag-story-source {
    font-size: 12px;
    color: var(--c-text-4);
    font-family: var(--font-num);
}

.tag-page-empty {
    padding: 36px 20px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(247, 250, 253, 1) 0%, rgba(255, 255, 255, 1) 100%);
    border: 1px dashed rgba(16, 42, 67, .14);
    text-align: center;
}

.tag-page-empty strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    color: var(--c-primary);
}

.tag-page-empty span {
    color: var(--c-text-3);
    line-height: 1.8;
}

.tag-side-card {
    border-radius: 26px;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.tag-side-hd {
    padding: 18px 18px 16px;
    font-size: 15px;
    letter-spacing: -.01em;
}

.tag-side-mark {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--c-gold) 0%, #ffcf7a 100%);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, .12);
    flex-shrink: 0;
}

.tag-side-card .hot-side-links {
    padding: 6px 0;
}

.tag-side-card .hot-side-link {
    padding: 14px 18px;
}

.tag-side-card .hot-side-link strong {
    color: var(--c-primary);
    font-weight: 700;
}

.tag-side-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px;
}

.tag-side-cloud .tag {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    font-weight: 600;
}


/* 市场日历 */

.cal-list {
    padding: var(--sp-3) var(--sp-4);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.cal-item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-size: 13px;
}

.cal-date {
    min-width: 40px;
    font-family: var(--font-num);
    font-weight: 700;
    font-size: 12px;
    color: var(--c-text-3);
}

.cal-event {
    flex: 1;
    color: var(--c-text-2);
}

.cal-importance {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cal-importance.high {
    background: var(--c-red);
}

.cal-importance.medium {
    background: var(--c-gold);
}

.cal-importance.low {
    background: var(--c-green);
}


/* ── 14. Home Layout ─────────────────────────────────────────── */

.home-body {
    padding: 0 0 var(--sp-16);
}

.home-main-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--sp-8);
    align-items: start;
}

.home-main-content {}

.home-section {
    margin-bottom: var(--sp-10);
}

.channel-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
}

.channel-pill {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(238, 244, 255, 1) 100%);
    border: 1px solid rgba(26, 86, 219, .14);
    color: var(--c-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: var(--shadow-xs);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.channel-pill:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(26, 86, 219, .3);
}

.channel-pill.child {
    min-height: 36px;
    padding: 0 14px;
    background: var(--c-surface);
    border-style: dashed;
    color: var(--c-text-2);
    font-weight: 600;
}

.sidebar-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
    padding: 11px var(--sp-4);
    color: var(--c-text-2);
    border-bottom: 1px solid var(--c-border);
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease), padding var(--dur) var(--ease);
}

.sidebar-cat-link:last-child {
    border-bottom: none;
}

.sidebar-cat-link:hover {
    background: var(--c-bg-2);
    color: var(--c-primary-light);
    padding-left: calc(var(--sp-4) + 4px);
}

.sidebar-cat-link svg {
    flex-shrink: 0;
    opacity: .55;
}


/* ── 15. Category Page ───────────────────────────────────────── */

.cat-banner {
    background: var(--c-primary);
    padding: var(--sp-10) 0;
    position: relative;
    overflow: hidden;
}

.cat-banner::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(26, 86, 219, .35) 0%, transparent 70%);
    pointer-events: none;
}

.cat-banner-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-8);
}

.cat-banner-left {}

.cat-banner-tag {
    margin-bottom: var(--sp-3);
}

.cat-banner-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: var(--sp-2);
}

.cat-banner-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
    max-width: 480px;
    line-height: 1.7;
}

.cat-stats {
    display: flex;
    gap: var(--sp-6);
    flex-shrink: 0;
}

.cat-stat {
    text-align: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--r-md);
    padding: var(--sp-4) var(--sp-6);
}

.cat-stat-num {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-num);
    line-height: 1;
    margin-bottom: var(--sp-1);
}

.cat-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
}


/* 分类筛选栏 */

.cat-filter {
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    padding: var(--sp-3) 0;
    position: sticky;
    top: var(--cat-filter-top, 100px);
    z-index: 50;
    transition: top .25s cubic-bezier(.4, 0, .2, 1), box-shadow var(--dur) var(--ease);
}

.cat-filter.is-pinned {
    box-shadow: 0 10px 24px rgba(10, 37, 64, .08);
}

.cat-filter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
}

.cat-filter-tabs {
    display: flex;
    gap: var(--sp-2);
}

.filter-tab {
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--r-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--c-text-3);
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    transition: all var(--dur) var(--ease);
    cursor: pointer;
}

.filter-tab.active,
.filter-tab:hover {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
}

.filter-sort {
    font-size: 13px;
    color: var(--c-text-3);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.cat-content {
    padding: var(--sp-8) 0 var(--sp-16);
}


/* ── 16. Article Page ────────────────────────────────────────── */

.article-layout {
    padding: var(--sp-8) 0 var(--sp-16);
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: var(--sp-8);
    align-items: start;
}

.article-main {}

.article-wrap {
    background: var(--c-surface);
    border-radius: var(--r-lg);
    padding: var(--sp-10) var(--sp-10);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-border);
}

.article-head {
    margin-bottom: var(--sp-8);
}

.article-cats {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin-bottom: var(--sp-4);
}

.article-cats .sep {
    color: var(--c-border-2);
    font-size: 12px;
}

.article-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--c-text);
    margin-bottom: var(--sp-5);
}

.article-meta-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--sp-5);
    padding: var(--sp-4) 0;
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    margin-bottom: var(--sp-6);
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 13px;
    color: var(--c-text-3);
}

.article-meta-item svg {
    width: 14px;
    height: 14px;
    opacity: .7;
}

.article-hero-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--r-md);
    margin-bottom: var(--sp-8);
}


/* 正文排版 */

.article-body {
    font-size: 16px;
    line-height: 1.9;
    color: var(--c-text-2);
    max-width: 680px;
}

.article-body p {
    margin-bottom: 1.4em;
}

.article-body h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--c-text);
    margin: 2em 0 .8em;
    padding-left: var(--sp-4);
    border-left: 3px solid var(--c-primary-light);
}

.article-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-text);
    margin: 1.6em 0 .6em;
}

.article-body img {
    max-width: 100%;
    border-radius: var(--r-md);
    margin: var(--sp-6) 0;
    box-shadow: var(--shadow-sm);
}

.article-body a {
    color: var(--c-primary-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body blockquote {
    border-left: 4px solid var(--c-primary-light);
    margin: var(--sp-6) 0;
    padding: var(--sp-4) var(--sp-6);
    background: var(--c-primary-50);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    color: var(--c-text-2);
    font-style: italic;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--sp-6) 0;
    font-size: 14px;
    overflow-x: auto;
    display: block;
}

.article-body th {
    background: var(--c-bg);
    font-weight: 600;
    color: var(--c-text);
    padding: var(--sp-3) var(--sp-4);
    border: 1px solid var(--c-border);
    text-align: left;
}

.article-body td {
    padding: var(--sp-3) var(--sp-4);
    border: 1px solid var(--c-border);
    color: var(--c-text-2);
}


/* 文章底栏 */

.article-foot {
    margin-top: var(--sp-8);
    padding-top: var(--sp-6);
    border-top: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--sp-4);
}

.article-actions {
    display: flex;
    gap: var(--sp-3);
}

.action-btn {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--r-full);
    font-size: 13px;
    font-weight: 500;
    background: var(--c-bg);
    color: var(--c-text-3);
    border: 1px solid var(--c-border);
    transition: all var(--dur) var(--ease);
    cursor: pointer;
}

.action-btn:hover {
    background: var(--c-primary-50);
    color: var(--c-primary-light);
    border-color: var(--c-primary-light);
}

.article-source {
    font-size: 13px;
    color: var(--c-text-4);
}

.article-source a {
    color: var(--c-text-3);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.editor-picks-section {
    margin-top: var(--sp-8);
    padding: var(--sp-6);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-xs);
}

.editor-picks-head {
    margin-bottom: var(--sp-4);
}

.editor-picks-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--sp-4);
    padding-bottom: var(--sp-4);
    border-bottom: 1px solid var(--c-border);
}

.editor-pick-tab {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 0;
    border: 1px solid var(--c-border);
    background: #fff;
    color: var(--c-text-2);
    font-size: 14px;
    font-weight: 700;
    transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.editor-pick-tab:hover {
    color: var(--c-primary-light);
    border-color: rgba(26, 86, 219, .28);
    background: rgba(238, 244, 255, .7);
}

.editor-pick-tab.active {
    color: #f97316;
    border-color: rgba(249, 115, 22, .24);
    background: rgba(255, 247, 237, .9);
}

.editor-pick-panel {
    display: none;
}

.editor-pick-panel.active {
    display: block;
}

.editor-pick-list {
    display: flex;
    flex-direction: column;
}

.editor-pick-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dotted var(--c-border-2);
    color: var(--c-text-2);
    transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.editor-pick-link:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.editor-pick-link:hover {
    color: var(--c-primary-light);
    padding-left: 4px;
}

.editor-pick-rank {
    flex-shrink: 0;
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-full);
    background: rgba(10, 37, 64, .06);
    color: var(--c-text-3);
    font-size: 12px;
    font-weight: 800;
    font-family: var(--font-num);
}

.editor-pick-title {
    flex: 1;
    font-size: 15px;
    line-height: 1.72;
    color: inherit;
}

.editor-picks-sidebar .editor-picks-nav {
    margin-bottom: 0;
    padding: var(--sp-3) var(--sp-4) var(--sp-4);
}

.editor-picks-sidebar .editor-pick-tab {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
}

.editor-picks-sidebar .editor-picks-panels {
    padding: 0 var(--sp-4) var(--sp-4);
}

.editor-picks-sidebar .editor-pick-link {
    gap: 10px;
    padding: 10px 0;
}

.editor-picks-sidebar .editor-pick-rank {
    min-width: 22px;
    height: 22px;
    font-size: 11px;
}

.editor-picks-sidebar .editor-pick-title {
    font-size: 14px;
    line-height: 1.65;
}


/* 文章侧栏 */

.article-sidebar {
    position: sticky;
    top: 116px;
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
}


/* 目录 TOC */

.toc-card {}

.toc-list {
    padding: var(--sp-3) var(--sp-4);
}

.toc-item {
    display: block;
    padding: var(--sp-2) 0;
    font-size: 13px;
    color: var(--c-text-3);
    border-left: 2px solid var(--c-border);
    padding-left: var(--sp-3);
    margin-bottom: var(--sp-1);
    transition: all var(--dur) var(--ease);
    line-height: 1.5;
}

.toc-item:hover,
.toc-item.active {
    color: var(--c-primary-light);
    border-left-color: var(--c-primary-light);
}


/* 相关推荐 */

.related-section {
    margin-top: var(--sp-8);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
}


/* ── 17. Pagination ──────────────────────────────────────────── */

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    margin: var(--sp-8) 0;
}

.pager a,
.pager .cur,
.pager .dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 var(--sp-2);
    border-radius: var(--r-sm);
    font-size: 14px;
    font-family: var(--font-num);
    font-weight: 500;
    border: 1px solid var(--c-border);
    background: var(--c-surface);
    color: var(--c-text-2);
    transition: all var(--dur) var(--ease);
}

.pager a:hover {
    background: var(--c-primary-50);
    color: var(--c-primary-light);
    border-color: var(--c-primary-light);
}

.pager .cur {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
}

.pager .dots {
    border: none;
    background: none;
    color: var(--c-text-4);
}


/* ── 18. Footer ──────────────────────────────────────────────── */

.site-footer {
    background: var(--c-primary);
    color: rgba(255, 255, 255, .7);
    padding: var(--sp-12) 0 0;
    margin-top: 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--sp-16);
    padding-bottom: var(--sp-10);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand-row {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    margin-bottom: var(--sp-4);
}

.footer-brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.footer-brand .site-logo-copy .cn {
    font-size: 20px;
}

.footer-brand .site-logo-copy .en {
    color: rgba(255, 255, 255, .42);
}

.footer-brand-desc {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .5);
    margin-bottom: var(--sp-5);
}

.footer-links-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-8);
}

.footer-links-group-title {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, .9);
    margin-bottom: var(--sp-4);
    letter-spacing: .5px;
    text-transform: uppercase;
}

.footer-links-group a {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
    padding: var(--sp-1) 0;
    transition: color var(--dur) var(--ease);
}

.footer-links-group a:hover {
    color: rgba(255, 255, 255, .9);
}

.footer-friend-links {
    padding: var(--sp-5) 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-friend-title {
    font-size: 12px;
    color: rgba(255, 255, 255, .35);
    margin-bottom: var(--sp-3);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.footer-friend-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
}

.footer-friend-list a {
    font-size: 12px;
    color: rgba(255, 255, 255, .4);
    padding: var(--sp-1) var(--sp-3);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--r-full);
    transition: all var(--dur) var(--ease);
}

.footer-friend-list a:hover {
    color: rgba(255, 255, 255, .8);
    border-color: rgba(255, 255, 255, .3);
}

.footer-bottom {
    padding: var(--sp-5) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    font-size: 12px;
    color: rgba(255, 255, 255, .35);
}

.footer-icp a {
    color: rgba(255, 255, 255, .4);
}


/* ── 19. Search / 404 ───────────────────────────────────────── */

.page-404,
.page-search {
    background: radial-gradient(circle at top right, rgba(91, 141, 238, .16), transparent 30%), linear-gradient(180deg, #f6f8fc 0%, #eef3f9 100%);
}

.nf-shell,
.search-shell {
    padding-bottom: var(--sp-16);
}

.nf-hero,
.search-hero {
    padding: var(--sp-10) 0 var(--sp-8);
}

.nf-grid,
.search-hero-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: var(--sp-6);
    align-items: stretch;
}

.nf-copy,
.nf-panel,
.search-copy,
.search-box,
.search-empty {
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .7);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-md);
}

.nf-copy,
.search-copy,
.search-empty {
    border-radius: 28px;
    padding: var(--sp-10);
    position: relative;
    overflow: hidden;
}

.nf-copy::before,
.search-copy::before {
    content: '';
    position: absolute;
    inset: auto -8% -24% auto;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(214, 168, 79, .2) 0%, transparent 70%);
    pointer-events: none;
}

.nf-kicker,
.search-kicker {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--r-full);
    background: rgba(16, 42, 67, .06);
    border: 1px solid rgba(16, 42, 67, .08);
    color: var(--c-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: var(--sp-4);
}

.nf-title,
.search-title {
    font-size: 42px;
    line-height: 1.08;
    color: var(--c-primary);
    margin-bottom: var(--sp-4);
    letter-spacing: -.04em;
}

.nf-desc,
.search-desc {
    max-width: 640px;
    font-size: 16px;
    color: var(--c-text-3);
    line-height: 1.85;
}

.nf-search,
.search-box {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.nf-search {
    margin-top: var(--sp-6);
    max-width: 560px;
}

.search-box {
    border-radius: 28px;
    padding: var(--sp-5);
    align-self: start;
}

.nf-search input,
.search-box input {
    flex: 1;
    border: 1px solid var(--c-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    padding: 16px 18px;
    font-size: 15px;
    color: var(--c-text);
    outline: none;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.nf-search input:focus,
.search-box input:focus {
    border-color: var(--c-primary-light);
    box-shadow: var(--shadow-focus);
}

.nf-search button,
.search-box button {
    flex-shrink: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #102A43 0%, #1B4E7A 100%);
    color: #fff;
    padding: 16px 20px;
    font-weight: 700;
}

.nf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    margin-top: var(--sp-5);
}

.nf-panel {
    border-radius: 28px;
    padding: var(--sp-8);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(16, 42, 67, .98) 0%, rgba(19, 59, 99, .96) 100%);
    color: rgba(255, 255, 255, .86);
}

.nf-path-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: rgba(255, 255, 255, .5);
    margin-bottom: var(--sp-2);
}

.nf-path {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 14px;
    line-height: 1.7;
    color: #fff;
    margin-bottom: var(--sp-6);
    word-break: break-all;
}

.nf-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-3);
    margin-bottom: var(--sp-6);
}

.nf-stat {
    border-radius: 18px;
    padding: var(--sp-4);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1);
}

.nf-stat-num {
    display: block;
    font-family: var(--font-num);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.nf-stat-label {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .58);
}

.nf-links,
.pill-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
}

.nf-links a,
.pill-links a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: var(--r-full);
    font-size: 13px;
    font-weight: 600;
    transition: all var(--dur) var(--ease);
}

.nf-links a {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .06);
}

.pill-links a {
    color: var(--c-primary);
    border: 1px solid rgba(16, 42, 67, .08);
    background: rgba(16, 42, 67, .04);
}

.nf-links a:hover,
.pill-links a:hover {
    transform: translateY(-1px);
    border-color: rgba(214, 168, 79, .45);
    color: var(--c-gold);
}

.nf-latest,
.search-results {
    padding-bottom: var(--sp-8);
}

.search-summary {
    margin-top: var(--sp-4);
    font-size: 13px;
    color: var(--c-text-3);
}

.search-empty {
    margin-bottom: var(--sp-8);
}

.search-empty h2 {
    font-size: 28px;
    color: var(--c-primary);
    margin-bottom: var(--sp-3);
    letter-spacing: -.03em;
}

.search-empty p {
    color: var(--c-text-3);
    margin-bottom: var(--sp-5);
}


/* ── Static Pages ───────────────────────────────────────────── */

.static-shell {
    padding-bottom: var(--sp-16);
}

.static-hero {
    padding: var(--sp-8) 0 var(--sp-6);
}

.static-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 340px;
    gap: var(--sp-6);
    align-items: stretch;
    padding: var(--sp-8);
    border-radius: 28px;
    background: radial-gradient(circle at top right, rgba(245, 158, 11, .16), transparent 34%), linear-gradient(135deg, #ffffff 0%, #eef4ff 58%, #f7fbff 100%);
    border: 1px solid rgba(26, 86, 219, .12);
    box-shadow: var(--shadow-sm);
}

.static-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: var(--r-full);
    background: rgba(10, 37, 64, .06);
    color: var(--c-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: var(--sp-4);
}

.static-title {
    font-size: 36px;
    line-height: 1.08;
    color: var(--c-primary);
    margin-bottom: var(--sp-4);
    letter-spacing: -.04em;
}

.static-desc {
    font-size: 15px;
    line-height: 1.85;
    color: var(--c-text-3);
    max-width: 720px;
}

.static-metrics {
    display: grid;
    gap: var(--sp-4);
}

.static-metric {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 112px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: var(--shadow-xs);
}

.static-metric strong {
    font-family: var(--font-num);
    font-size: 28px;
    color: var(--c-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.static-metric span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--c-text-4);
}

.static-content {
    padding: 0 0 var(--sp-8);
}

.static-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: var(--sp-6);
    align-items: start;
}

.static-main,
.static-side {
    min-width: 0;
}

.static-card {
    background: var(--c-surface);
    border-radius: 24px;
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-xs);
    padding: var(--sp-6);
    margin-bottom: var(--sp-5);
}

.static-card:last-child {
    margin-bottom: 0;
}

.static-paragraph {
    font-size: 15px;
    line-height: 1.9;
    color: var(--c-text-2);
    margin-top: var(--sp-4);
}

.static-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    margin-top: var(--sp-4);
}

.static-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--c-text-2);
    font-size: 14px;
    line-height: 1.8;
}

.static-list-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-primary-light), var(--c-gold));
    margin-top: 9px;
    flex-shrink: 0;
}

.static-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-4);
    margin-top: var(--sp-4);
}

.static-feature-card {
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(238, 244, 255, .82) 0%, rgba(255, 255, 255, .96) 100%);
    border: 1px solid rgba(26, 86, 219, .12);
}

.static-feature-card h3 {
    font-size: 15px;
    color: var(--c-primary);
    margin-bottom: 8px;
}

.static-feature-card p {
    font-size: 13px;
    color: var(--c-text-3);
    line-height: 1.75;
}

.static-side-card {
    overflow: hidden;
}

.static-side-list,
.static-side-links {
    display: flex;
    flex-direction: column;
}

.static-side-list-item {
    padding: 12px var(--sp-4);
    border-bottom: 1px solid var(--c-border);
    font-size: 13px;
    color: var(--c-text-2);
    line-height: 1.75;
}

.static-side-list-item:last-child {
    border-bottom: none;
}

.static-side-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
    padding: 12px var(--sp-4);
    border-bottom: 1px solid var(--c-border);
    color: var(--c-text-2);
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease), padding var(--dur) var(--ease);
}

.static-side-links a:last-child {
    border-bottom: none;
}

.static-side-links a:hover {
    background: var(--c-bg-2);
    color: var(--c-primary-light);
    padding-left: calc(var(--sp-4) + 4px);
}


/* ── 20. Admin Layout ────────────────────────────────────────── */

.admin-wrapper {
    display: block;
    min-height: 100vh;
    background: #f0f2f5;
}

.admin-sidebar {
    background: var(--c-primary);
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100vh;
    overflow-y: auto;
    z-index: 200;
    display: flex;
    flex-direction: column;
}

.admin-sidebar-logo {
    padding: var(--sp-5) var(--sp-5) var(--sp-4);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.admin-sidebar-logo span {
    color: var(--c-gold);
}

.admin-nav-group {
    padding: var(--sp-4) 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.admin-nav-label {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, .3);
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0 var(--sp-5) var(--sp-2);
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-2) var(--sp-5);
    font-size: 13px;
    color: rgba(255, 255, 255, .65);
    transition: all var(--dur) var(--ease);
    border-radius: 0;
}

.admin-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.admin-nav a.active {
    color: #fff;
    background: rgba(26, 86, 219, .5);
    border-right: 3px solid var(--c-primary-light);
}

.admin-nav a .icon {
    font-size: 15px;
}

.admin-content {
    margin-left: 220px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0;
    width: calc(100% - 220px);
    max-width: none;
}

.admin-topbar {
    background: #fff;
    border-bottom: 1px solid var(--c-border);
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--sp-6);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-xs);
}

.admin-topbar-left {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 13px;
    color: var(--c-text-3);
    min-width: 0;
    flex-wrap: wrap;
}

.admin-topbar-left .sep {
    color: var(--c-border-2);
}

.admin-topbar-left .cur {
    color: var(--c-text);
    font-weight: 600;
}

.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    font-size: 13px;
    color: var(--c-text-3);
    min-width: 0;
    flex-wrap: wrap;
}

.admin-topbar-right a {
    color: var(--c-text-3);
}

.admin-topbar-right a:hover {
    color: var(--c-primary-light);
}

.admin-topbar-left>*,
.admin-topbar-right>* {
    white-space: nowrap;
}

.admin-page-body {
    padding: var(--sp-6);
    flex: 1;
    min-width: 0;
    width: 100%;
    max-width: none;
}

.admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    margin-bottom: var(--sp-5);
    flex-wrap: wrap;
}

.admin-toolbar-form {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex: 1 1 520px;
    flex-wrap: wrap;
}

.admin-toolbar-input,
.admin-toolbar-select {
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    background: var(--c-surface);
    color: var(--c-text);
    font-size: 14px;
    outline: none;
    transition: border-color var(--dur), box-shadow var(--dur), background var(--dur);
}

.admin-toolbar-input {
    min-width: 240px;
    flex: 1 1 260px;
}

.admin-toolbar-select {
    min-width: 200px;
}

.admin-toolbar-input:focus,
.admin-toolbar-select:focus {
    border-color: var(--c-primary-light);
    box-shadow: var(--shadow-focus);
}

.admin-toolbar-actions {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex-wrap: wrap;
}

.admin-kpi-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--sp-4);
    margin-bottom: var(--sp-5);
}

.kpi-pill {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    padding: 16px 18px;
    box-shadow: var(--shadow-xs);
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.kpi-pill .label {
    font-size: 12px;
    color: var(--c-text-3);
}

.kpi-pill .value {
    font-family: var(--font-num);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--c-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-result-count {
    font-size: 12px;
    color: var(--c-text-3);
}

.adm-table-scroll {
    overflow-x: auto;
}

.admin-news-table {
    min-width: 1180px;
}

.admin-news-table td {
    vertical-align: top;
}

.admin-row-id {
    white-space: nowrap;
    font-family: var(--font-num);
    font-weight: 700;
    color: var(--c-text);
}

.admin-title-cell {
    min-width: 340px;
}

.admin-title-link {
    display: block;
    color: var(--c-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.65;
    word-break: break-word;
}

.admin-title-link:hover {
    color: var(--c-primary-light);
}

.admin-meta-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
    min-width: 0;
}

.admin-summary-text {
    max-width: 360px;
    font-size: 12px;
    color: var(--c-text-3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-source-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 24px;
    padding: 0 10px;
    border-radius: var(--r-full);
    background: var(--c-bg-2);
    border: 1px solid var(--c-border);
    color: var(--c-text-3);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.admin-date-stack {
    display: flex;
    flex-direction: column;
    gap: 2px;
    white-space: nowrap;
    font-size: 12px;
    font-family: var(--font-num);
    color: var(--c-text-3);
}

.admin-date-stack span:first-child {
    color: var(--c-text);
    font-weight: 700;
}

.admin-action-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-action-group form {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
}


/* Stats Cards */

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-5);
    margin-bottom: var(--sp-6);
}

.stat-card {
    background: #fff;
    border-radius: var(--r-md);
    padding: var(--sp-5);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-xs);
}

.stat-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sp-3);
}

.stat-card-label {
    font-size: 13px;
    color: var(--c-text-3);
    font-weight: 500;
}

.stat-card-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.stat-card-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--c-text);
    font-family: var(--font-num);
    line-height: 1;
    margin-bottom: var(--sp-1);
}

.stat-card-sub {
    font-size: 12px;
    color: var(--c-text-4);
}


/* Admin Table */

.adm-table-wrap {
    background: #fff;
    border-radius: var(--r-md);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
    width: 100%;
}

.adm-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-4) var(--sp-5);
    border-bottom: 1px solid var(--c-border);
}

.adm-table-head-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-text);
}

table.adm {
    width: 100%;
    border-collapse: collapse;
}

table.adm th {
    background: var(--c-bg-2);
    font-size: 12px;
    font-weight: 600;
    color: var(--c-text-3);
    letter-spacing: .3px;
    text-transform: uppercase;
    padding: var(--sp-3) var(--sp-4);
    border-bottom: 1px solid var(--c-border);
    text-align: left;
    white-space: nowrap;
}

table.adm td {
    padding: var(--sp-3) var(--sp-4);
    border-bottom: 1px solid var(--c-border);
    font-size: 13px;
    color: var(--c-text-2);
    vertical-align: middle;
}

table.adm tr:last-child td {
    border-bottom: none;
}

table.adm tr:hover td {
    background: var(--c-bg-2);
}


/* Admin Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--dur) var(--ease);
    white-space: nowrap;
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--c-primary);
    color: #fff;
}

.btn-primary:hover {
    background: #0d2f50;
    color: #fff;
}

.btn-blue {
    background: var(--c-primary-light);
    color: #fff;
}

.btn-blue:hover {
    background: #1648c4;
    color: #fff;
}

.btn-danger {
    background: #FEE2E2;
    color: #DC2626;
}

.btn-danger:hover {
    background: var(--c-red);
    color: #fff;
}

.btn-ghost {
    background: var(--c-bg);
    color: var(--c-text-2);
    border: 1px solid var(--c-border);
}

.btn-ghost:hover {
    background: var(--c-border);
}

.btn-sm {
    padding: 3px var(--sp-3);
    font-size: 12px;
}


/* Status badges */

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: var(--r-full);
    font-size: 11px;
    font-weight: 600;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.status-pub {
    background: #D1FAE5;
    color: #059669;
}

.status-draft {
    background: #FEF3C7;
    color: #D97706;
}

.status-off {
    background: var(--c-bg);
    color: var(--c-text-4);
}

.status-push-ok {
    background: #D1FAE5;
    color: #059669;
}

.status-push-no {
    background: var(--c-bg);
    color: var(--c-text-4);
}

.status-push-fail {
    background: #FEE2E2;
    color: #DC2626;
}


/* Admin Form */

.form-card {
    background: #fff;
    border-radius: var(--r-md);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}

.form-card-section {
    padding: var(--sp-5) var(--sp-6);
    border-bottom: 1px solid var(--c-border);
}

.form-card-section:last-child {
    border-bottom: none;
}

.form-card-section-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-text-3);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: var(--sp-4);
}

.form-row {
    margin-bottom: var(--sp-5);
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: var(--sp-2);
}

.form-label .tip {
    font-weight: 400;
    color: var(--c-text-4);
    font-size: 12px;
    margin-left: var(--sp-2);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--sp-3) var(--sp-4);
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--c-text);
    background: var(--c-surface);
    transition: border-color var(--dur), box-shadow var(--dur);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--c-primary-light);
    box-shadow: var(--shadow-focus);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.7;
}

.form-input-group {
    display: flex;
    gap: var(--sp-3);
}

.form-input-group .form-input {
    flex: 1;
}


/* Admin Compose */

.compose-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--sp-5);
    padding: 24px 28px;
    margin-bottom: var(--sp-5);
    border-radius: 24px;
    background: radial-gradient(circle at top right, rgba(245, 158, 11, .16), transparent 34%), linear-gradient(135deg, #ffffff 0%, #eef4ff 58%, #f8fbff 100%);
    border: 1px solid rgba(26, 86, 219, .12);
    box-shadow: var(--shadow-sm);
}

.compose-hero-copy {
    max-width: 760px;
}

.compose-hero-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: var(--r-full);
    background: rgba(10, 37, 64, .06);
    color: var(--c-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: var(--sp-4);
}

.compose-hero h1 {
    font-size: 30px;
    line-height: 1.12;
    color: var(--c-primary);
    letter-spacing: -.03em;
    margin-bottom: var(--sp-3);
}

.compose-hero p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--c-text-3);
}

.compose-hero-pills {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 280px;
}

.compose-info-pill {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(15, 23, 42, .08);
    color: var(--c-text-2);
    font-size: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-xs);
}

.compose-shell {
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
}

.compose-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, .78fr);
    gap: var(--sp-5);
    align-items: start;
}

.compose-main,
.compose-side {
    min-width: 0;
}

.compose-card {
    overflow: visible;
}

.compose-grid {
    display: grid;
    gap: var(--sp-4);
}

.compose-grid-2 {
    grid-template-columns: minmax(220px, .72fr) minmax(0, 1fr);
    align-items: start;
}

.compose-title-input {
    min-height: 56px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.compose-summary-input {
    min-height: 124px;
}

.compose-editor-shell {
    border: 1px solid var(--c-border);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
}

.compose-editor-toolbar {
    border-bottom: 1px solid var(--c-border);
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fd 100%);
}

.compose-editor-body {
    min-height: 420px;
    background: #fff;
}

.compose-side-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
    margin-bottom: var(--sp-4);
}

.compose-side-muted {
    font-size: 12px;
    color: var(--c-text-4);
}

.compose-cover-preview {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 204px;
    margin-bottom: var(--sp-4);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(26, 86, 219, .09) 0%, rgba(10, 37, 64, .04) 100%);
    border: 1px dashed rgba(26, 86, 219, .25);
    overflow: hidden;
}

.compose-cover-preview.has-image {
    border-style: solid;
    background: #fff;
}

.compose-cover-preview img {
    width: 100%;
    height: 204px;
    object-fit: cover;
}

.compose-cover-empty {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
    color: var(--c-text-3);
    text-align: center;
    padding: var(--sp-5);
}

.compose-cover-empty strong {
    color: var(--c-primary);
    font-size: 14px;
}

.compose-cover-empty span {
    font-size: 12px;
}

.compose-upload-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px solid rgba(26, 86, 219, .18);
    color: var(--c-primary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.compose-upload-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-xs);
    border-color: rgba(26, 86, 219, .34);
}

.compose-upload-btn small {
    color: var(--c-text-4);
    font-size: 11px;
    font-weight: 600;
}

.compose-preview-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fbfcfe;
    border: 1px solid var(--c-border);
    margin-bottom: var(--sp-3);
}

.compose-preview-item:last-child {
    margin-bottom: 0;
}

.compose-preview-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c-text-4);
}

.compose-preview-item strong,
.compose-preview-item p,
.compose-preview-item a,
.compose-preview-item code {
    color: var(--c-text-2);
    font-size: 13px;
    line-height: 1.7;
    word-break: break-word;
}

.compose-preview-item code {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(10, 37, 64, .04);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.compose-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--sp-3);
}


/* Site settings */

.admin-flash {
    margin-bottom: var(--sp-4);
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid transparent;
    font-size: 13px;
    line-height: 1.7;
}

.admin-flash a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.admin-flash-success {
    border-color: #bbf7d0;
    background: #ecfdf5;
    color: #166534;
}

.admin-flash-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.settings-hero {
    display: flex;
    justify-content: space-between;
    gap: var(--sp-5);
    padding: 28px 30px;
    margin-bottom: var(--sp-5);
    border-radius: 28px;
    background: radial-gradient(circle at top right, rgba(245, 158, 11, .18), transparent 32%), linear-gradient(135deg, #ffffff 0%, #eef4ff 58%, #f8fbff 100%);
    border: 1px solid rgba(26, 86, 219, .14);
    box-shadow: var(--shadow-sm);
}

.settings-hero-copy {
    max-width: 760px;
}

.settings-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    margin-bottom: var(--sp-4);
    border-radius: var(--r-full);
    background: rgba(10, 37, 64, .06);
    color: var(--c-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.settings-hero h1 {
    font-size: 30px;
    line-height: 1.14;
    color: var(--c-primary);
    letter-spacing: -.03em;
    margin-bottom: var(--sp-3);
}

.settings-hero p {
    font-size: 14px;
    line-height: 1.85;
    color: var(--c-text-3);
}

.settings-hero-pills {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    min-width: 360px;
}

.settings-hero-pill {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: var(--shadow-xs);
}

.settings-hero-pill strong {
    font-family: var(--font-num);
    font-size: 28px;
    line-height: 1;
    color: var(--c-primary);
}

.settings-hero-pill span {
    font-size: 12px;
    color: var(--c-text-3);
}

.settings-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .78fr);
    gap: var(--sp-5);
    margin-bottom: var(--sp-5);
    align-items: start;
}

.settings-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-xs);
    padding: 24px;
    min-width: 0;
}

.settings-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--sp-4);
    margin-bottom: var(--sp-5);
}

.settings-card-head h2 {
    font-size: 22px;
    line-height: 1.2;
    color: var(--c-text);
    letter-spacing: -.02em;
}

.settings-card-eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--c-text-4);
}

.settings-card-note {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: var(--r-full);
    background: #f8fbff;
    border: 1px solid rgba(26, 86, 219, .12);
    color: var(--c-primary);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
}

.settings-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-4);
}

.settings-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.settings-field span {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-text);
}

.settings-span-2 {
    grid-column: span 2;
}

.settings-input,
.settings-textarea,
.settings-code {
    width: 100%;
    padding: 13px 15px;
    border-radius: 16px;
    border: 1px solid var(--c-border);
    background: #fff;
    color: var(--c-text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color var(--dur), box-shadow var(--dur), background var(--dur);
}

.settings-input:focus,
.settings-textarea:focus,
.settings-code:focus {
    border-color: var(--c-primary-light);
    box-shadow: var(--shadow-focus);
}

.settings-textarea {
    resize: vertical;
    min-height: 108px;
    line-height: 1.75;
}

.settings-code {
    resize: vertical;
    min-height: 320px;
    font: 13px/1.75 ui-monospace, SFMono-Regular, Menlo, monospace;
    background: #0f172a;
    border-color: #0f172a;
    color: #dbeafe;
}

.settings-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--sp-3);
    flex-wrap: wrap;
}


/* .settings-preview-card {
    position: sticky;
    top: 84px;
} */

.settings-brand-preview {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    padding: 18px;
    margin-bottom: var(--sp-4);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .95) 0%, rgba(248, 250, 252, .92) 100%);
    border: 1px solid var(--c-border);
}

.settings-brand-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.settings-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: #f8fbff;
    border: 1px solid rgba(26, 86, 219, .12);
    overflow: hidden;
    flex-shrink: 0;
}

.settings-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.settings-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.settings-brand-copy strong {
    font-size: 18px;
    color: var(--c-primary);
    line-height: 1.25;
}

.settings-brand-copy span {
    font-size: 12px;
    color: var(--c-text-3);
    word-break: break-all;
}

.settings-favicon-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
}

.settings-mini-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--c-text-4);
}

.settings-favicon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--c-border);
    background: #fff;
}

.settings-favicon-box img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.settings-meta-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.settings-meta-item {
    padding: 14px 16px;
    border-radius: 18px;
    background: #fbfcfe;
    border: 1px solid var(--c-border);
}

.settings-meta-item span {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c-text-4);
}

.settings-meta-item strong,
.settings-meta-item p {
    color: var(--c-text-2);
    font-size: 13px;
    line-height: 1.75;
    word-break: break-word;
}

.settings-robots-card {
    padding-bottom: 28px;
}

.settings-card-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.settings-robots-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .72fr);
    gap: var(--sp-5);
    align-items: start;
}

.settings-robots-form {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.settings-help-text {
    font-size: 12px;
    color: var(--c-text-4);
    line-height: 1.85;
}

.push-hub-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
    gap: var(--sp-5);
    margin-bottom: var(--sp-5);
    align-items: start;
}

.push-stack {
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
    min-width: 0;
}

.push-url-input {
    min-height: 240px;
}

.push-url-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    flex-wrap: wrap;
}

.push-url-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.push-result-card {
    margin-bottom: var(--sp-5);
    background: radial-gradient(circle at top right, rgba(37, 99, 235, .12), transparent 34%), linear-gradient(135deg, #ffffff 0%, #f6faff 58%, #fbfdff 100%);
}

.push-result-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: var(--sp-4);
}

.push-result-metric {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(26, 86, 219, .12);
}

.push-result-metric span {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c-text-4);
}

.push-result-metric strong {
    display: block;
    font-size: 18px;
    line-height: 1.3;
    color: var(--c-primary);
    word-break: break-word;
}

.push-response-box {
    margin: 0;
    padding: 16px 18px;
    border-radius: 18px;
    background: #0f172a;
    color: #dbeafe;
    font: 12px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.push-log-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--sp-4);
    flex-wrap: wrap;
    margin-bottom: var(--sp-4);
}

.push-log-side-tools {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.push-log-bulk-form,
.push-log-row-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.push-filter-form {
    display: flex;
    align-items: flex-end;
    gap: var(--sp-4);
    flex-wrap: wrap;
    flex: 1;
}

.push-filter-keyword {
    min-width: min(100%, 260px);
}

.push-log-news {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.push-log-news strong {
    color: var(--c-primary);
    font-size: 12px;
}

.push-log-news span,
.push-log-muted {
    color: var(--c-text-3);
    font-size: 12px;
    line-height: 1.6;
}

.push-log-url a {
    color: var(--c-primary-light);
    text-decoration: none;
    word-break: break-all;
}

.push-log-url a:hover {
    text-decoration: underline;
}

.push-log-response {
    display: inline-block;
    max-width: 420px;
    padding: 6px 8px;
    border-radius: 10px;
    background: rgba(15, 23, 42, .05);
    color: var(--c-text-3);
    font-size: 12px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

.push-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-top: var(--sp-4);
    flex-wrap: wrap;
}

.settings-side-notes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.settings-note-card {
    padding: 16px 18px;
    border-radius: 18px;
    background: #fbfcfe;
    border: 1px solid var(--c-border);
}

.settings-note-card strong {
    display: block;
    margin-bottom: 6px;
    color: var(--c-primary);
    font-size: 14px;
}

.settings-note-card p {
    font-size: 13px;
    line-height: 1.75;
    color: var(--c-text-3);
}


/* Admin search bar */

.adm-search {
    display: flex;
    gap: var(--sp-3);
    align-items: center;
    margin-bottom: var(--sp-5);
    background: #fff;
    padding: var(--sp-4) var(--sp-5);
    border-radius: var(--r-md);
    border: 1px solid var(--c-border);
}

.adm-search .form-input {
    max-width: 280px;
}


/* Login page */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--c-primary) 0%, #0d3060 100%);
}

.login-card {
    background: #fff;
    border-radius: var(--r-lg);
    padding: var(--sp-10) var(--sp-8);
    width: 380px;
    box-shadow: var(--shadow-lg);
}

.login-logo {
    text-align: center;
    margin-bottom: var(--sp-8);
}

.login-logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--c-primary);
}

.login-logo-text span {
    color: var(--c-primary-light);
}

.login-subtitle {
    font-size: 13px;
    color: var(--c-text-3);
    margin-top: var(--sp-2);
}

.login-error {
    background: #FEE2E2;
    color: #DC2626;
    padding: var(--sp-3) var(--sp-4);
    border-radius: var(--r-sm);
    font-size: 13px;
    margin-bottom: var(--sp-5);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.login-btn {
    width: 100%;
    padding: var(--sp-3);
    background: var(--c-primary);
    color: #fff;
    border: none;
    border-radius: var(--r-sm);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: var(--sp-4);
    transition: background var(--dur);
    font-family: inherit;
}

.login-btn:hover {
    background: #0d2f50;
}


/* ── 21. Tag / Hot / Archive Banners ────────────────────────── */

.tag-banner,
.hot-banner,
.archive-banner {
    background: linear-gradient(135deg, var(--c-primary) 0%, #1a4a7a 100%);
    color: #fff;
    padding: var(--sp-10) 0 var(--sp-8);
}

.tag-banner-inner,
.hot-banner-inner,
.archive-banner-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--sp-6);
}

.tag-banner-kicker,
.hot-banner-kicker {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .7;
    margin-bottom: var(--sp-2);
}

.tag-banner-title,
.hot-banner-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 var(--sp-2);
    line-height: 1.2;
}

.tag-banner-desc,
.hot-banner-desc {
    font-size: 14px;
    opacity: .8;
    margin: 0;
}

.tag-rss-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 9999px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
}

.tag-rss-btn:hover {
    background: rgba(255, 255, 255, .25);
}


/* archive banner overrides */

.archive-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 var(--sp-2);
    color: #fff;
}

.archive-desc {
    font-size: 14px;
    opacity: .8;
    margin: 0;
    color: #fff;
}

.archive-nav-month {
    display: flex;
    gap: var(--sp-3);
    margin-bottom: var(--sp-3);
}

.archive-nav-month a {
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 9999px;
    transition: background .2s;
}

.archive-nav-month a:hover {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}


/* ── 22. Article Tags & Prev/Next ───────────────────────────── */

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin: 0 0 var(--sp-5);
}

.article-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--c-bg-2);
    border: 1px solid var(--c-border);
    border-radius: 9999px;
    font-size: 12px;
    color: var(--c-text-2);
    text-decoration: none;
    transition: border-color .2s, color .2s;
    line-height: 1.6;
}

.article-tag:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
}

.article-prevnext {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
    margin: var(--sp-8) 0;
    border-top: 1px solid var(--c-border);
    padding-top: var(--sp-6);
}

.prevnext-item {
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
    padding: var(--sp-4);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s;
    background: var(--c-bg);
}

.prevnext-item:hover {
    border-color: var(--c-primary);
    box-shadow: 0 2px 8px rgba(16, 42, 67, .08);
}

.prevnext-next {
    text-align: right;
}

.prevnext-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--c-text-3);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.prevnext-title {
    font-size: 14px;
    color: var(--c-text-1);
    line-height: 1.5;
    font-weight: 500;
}

.prevnext-item:hover .prevnext-title {
    color: var(--c-primary);
}


/* ── 23. Category Sections (homepage per-category blocks) ────── */

.cat-section {
    margin-bottom: var(--sp-8);
}

.cat-section-list {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--sp-4);
    align-items: start;
    margin-top: var(--sp-4);
}

.cat-section-item {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.cat-section-item.is-lead {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.cat-section-lead-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--r-sm);
    background: var(--c-bg-2);
    flex-shrink: 0;
}

.cat-section-lead-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.cat-section-lead-thumb:hover img {
    transform: scale(1.04);
}

.cat-section-copy {
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
}

.cat-section-lead-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--c-text-1);
    line-height: 1.5;
    text-decoration: none;
    transition: color .2s;
}

.cat-section-lead-title:hover {
    color: var(--c-primary);
}

.cat-section-lead-summary {
    font-size: 13px;
    color: var(--c-text-3);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* right column: stacked rows */

.cat-section-item:not(.is-lead) {
    flex-direction: column;
    gap: var(--sp-1);
    padding: var(--sp-3) 0;
    border-bottom: 1px solid var(--c-border-light, var(--c-border));
}

.cat-section-item:not(.is-lead):last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cat-section-row-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text-1);
    line-height: 1.5;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}

.cat-section-row-title:hover {
    color: var(--c-primary);
}

.cat-section-meta {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    flex-wrap: wrap;
}

.cat-section-time {
    font-size: 12px;
    color: var(--c-text-3);
}

.cat-section-source {
    font-size: 12px;
    color: var(--c-text-3);
    background: var(--c-bg-2);
    padding: 1px 6px;
    border-radius: 4px;
}

.cat-section-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    margin-top: var(--sp-4);
    padding: var(--sp-3) var(--sp-4);
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    font-size: 14px;
    color: var(--c-text-2);
    text-decoration: none;
    transition: background .2s, border-color .2s, color .2s;
}

.cat-section-more-btn:hover {
    background: var(--c-bg-2);
    border-color: var(--c-primary);
    color: var(--c-primary);
}


/* ── 24. Responsive ──────────────────────────────────────────── */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .hero-main {
        grid-row: auto;
        aspect-ratio: 16/8;
        min-height: 280px;
    }
    .hero-sub {
        display: none;
    }
    .hero-sub:first-of-type {
        display: flex;
    }
    .home-main-layout {
        grid-template-columns: 1fr 240px;
    }
    .hot-showcase-grid,
    .hot-page-top-grid,
    .hot-page-layout,
    .tag-page-layout {
        grid-template-columns: 1fr;
    }
    .hot-page-head,
    .tag-page-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .tag-page-summary {
        flex-direction: column;
    }
    .hot-page-stats,
    .tag-page-metrics {
        min-width: 0;
        width: 100%;
    }
    .tag-page-signal {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .tag-page-signal-label {
        padding-top: 0;
    }
    .tag-page-sidebar {
        position: static;
    }
    .tag-page-lead {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .tag-page-lead-media {
        min-height: 320px;
    }
    .hot-rank-item {
        grid-template-columns: 72px 220px minmax(0, 1fr);
    }
    .hot-rank-item.no-thumb {
        grid-template-columns: 72px minmax(0, 1fr);
    }
    .tag-story-item {
        grid-template-columns: 64px 200px minmax(0, 1fr);
    }
    .static-hero-panel {
        grid-template-columns: 1fr;
    }
    .static-grid {
        grid-template-columns: 1fr 260px;
    }
    .static-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .article-layout {
        grid-template-columns: 1fr 220px;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .admin-kpi-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .compose-layout {
        grid-template-columns: 1fr;
    }
    .settings-hero {
        flex-direction: column;
        align-items: flex-start;
    }
    .settings-hero-pills {
        min-width: 0;
        width: 100%;
    }
    .settings-grid,
    .settings-robots-layout {
        grid-template-columns: 1fr;
    }
    .push-hub-grid,
    .push-result-metrics {
        grid-template-columns: 1fr;
    }
    /* .settings-preview-card {
        position: static;
    } */
    .push-filter-form {
        width: 100%;
    }
    .push-log-toolbar {
        align-items: stretch;
    }
    .push-log-side-tools {
        align-items: stretch;
    }
    .compose-hero {
        flex-direction: column;
        align-items: flex-start;
    }
    .compose-hero-pills {
        min-width: 0;
        width: 100%;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--sp-8);
    }
    .footer-links-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
    .nf-grid,
    .search-hero-row {
        grid-template-columns: 1fr;
    }
    .tag-banner-title,
    .hot-banner-title {
        font-size: 26px;
    }
    .article-prevnext {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
     :root {
        --container: 100%;
    }
    .main-nav {
        display: none;
    }
    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--c-primary);
        padding: var(--sp-4);
        z-index: 99;
        gap: var(--sp-1);
        box-shadow: var(--shadow-md);
    }
    .main-nav.open a {
        border-radius: var(--r-sm);
    }
    .menu-toggle {
        display: flex;
    }
    .header-search {
        display: none;
    }
    .market-ticker {
        display: none;
    }
    .home-main-layout {
        grid-template-columns: 1fr;
    }
    .hot-showcase {
        padding-bottom: var(--sp-6);
    }
    .hot-showcase-lead,
    .hot-page-lead,
    .tag-page-lead {
        min-height: 300px;
    }
    .hot-showcase-content,
    .hot-page-lead-copy,
    .tag-page-lead-copy {
        padding: var(--sp-6);
    }
    .hot-showcase-title {
        font-size: 24px;
    }
    .hot-page-shell,
    .tag-page-shell {
        padding-top: var(--sp-6);
    }
    .hot-page-hero,
    .hot-page-list-card,
    .tag-page-hero,
    .tag-page-list-card {
        padding: var(--sp-5);
        border-radius: 24px;
    }
    .hot-page-title,
    .tag-page-title {
        font-size: 30px;
    }
    .tag-page-signal {
        padding-top: 14px;
    }
    .hot-page-stats,
    .tag-page-metrics {
        grid-template-columns: 1fr;
    }
    .tag-page-lead {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .tag-page-lead-media {
        min-height: 240px;
    }
    .hot-rank-thumb {
        display: none;
    }
    .hot-rank-title {
        font-size: 22px;
    }
    .hot-rank-item,
    .hot-rank-item.no-thumb {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 16px;
        padding: 18px;
    }
    .hot-rank-badge {
        border-radius: 18px;
        padding: 14px 8px;
    }
    .hot-rank-badge strong {
        font-size: 24px;
    }
    .hot-page-side-item,
    .hot-showcase-item {
        grid-template-columns: 48px minmax(0, 1fr);
    }
    .tag-story-item,
    .tag-story-item.no-thumb {
        grid-template-columns: 44px minmax(0, 1fr);
    }
    .tag-story-thumb {
        display: none;
    }
    .tag-story-copy h3 {
        font-size: 20px;
    }
    .tag-story-rank {
        border-radius: 16px;
        padding: 12px 8px;
    }
    .tag-story-rank strong {
        font-size: 24px;
    }
    .static-grid {
        grid-template-columns: 1fr;
    }
    .static-feature-grid {
        grid-template-columns: 1fr;
    }
    .sidebar {
        display: none;
    }
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sp-3);
    }
    .cat-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cat-stats {
        display: none;
    }
    .cat-filter {
        position: static;
    }
    .article-layout {
        grid-template-columns: 1fr;
    }
    .article-sidebar {
        display: none;
    }
    .article-wrap {
        padding: var(--sp-6) var(--sp-4);
    }
    .article-title {
        font-size: 22px;
    }
    .article-body {
        font-size: 15px;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .editor-picks-section {
        padding: var(--sp-5) var(--sp-4);
        border-radius: 20px;
    }
    .editor-pick-tab {
        min-height: 38px;
        padding: 0 14px;
        font-size: 13px;
    }
    .editor-pick-title {
        font-size: 14px;
    }
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .admin-kpi-row {
        grid-template-columns: 1fr;
    }
    .settings-form-grid {
        grid-template-columns: 1fr;
    }
    .settings-span-2 {
        grid-column: auto;
    }
    .settings-actions,
    .settings-card-head {
        flex-direction: column;
        align-items: stretch;
    }
    .settings-actions .btn,
    .settings-card-links .btn {
        justify-content: center;
        width: 100%;
    }
    .settings-hero {
        padding: var(--sp-5);
        border-radius: 22px;
    }
    .settings-hero h1 {
        font-size: 24px;
    }
    .settings-hero-pills {
        grid-template-columns: 1fr;
    }
    .push-url-toolbar,
    .push-pagination {
        align-items: stretch;
    }
    .push-url-actions,
    .push-url-actions .btn,
    .push-log-bulk-form,
    .push-log-bulk-form .btn,
    .push-log-row-form,
    .push-log-row-form .btn,
    .push-filter-form .settings-actions,
    .push-filter-form .settings-actions .btn {
        width: 100%;
    }
    .push-result-metric strong {
        font-size: 16px;
    }
    .compose-grid-2 {
        grid-template-columns: 1fr;
    }
    .compose-actions {
        flex-direction: column-reverse;
    }
    .compose-actions .btn {
        justify-content: center;
        width: 100%;
    }
    .admin-sidebar {
        position: static;
        width: 100%;
        height: auto;
    }
    .admin-content {
        margin-left: 0;
        width: 100%;
    }
    .admin-topbar {
        height: auto;
        align-items: flex-start;
        padding: var(--sp-3) var(--sp-4);
        gap: var(--sp-2);
    }
    .admin-toolbar-form {
        flex-direction: column;
        align-items: stretch;
        flex-basis: 100%;
    }
    .admin-toolbar-input,
    .admin-toolbar-select {
        width: 100%;
    }
    .footer-links-wrap {
        grid-template-columns: 1fr;
    }
    .hero-main {
        aspect-ratio: 4/3;
        min-height: 240px;
    }
    .hero-main-title {
        font-size: 18px;
    }
    .hero-main-noimage .hero-main-body {
        max-width: 100%;
    }
    .compose-hero {
        padding: var(--sp-5);
        border-radius: 20px;
    }
    .compose-hero h1 {
        font-size: 24px;
    }
    .site-logo-copy .en {
        display: none;
    }
    .footer-brand-row {
        align-items: flex-start;
    }
    .nf-copy,
    .nf-panel,
    .search-copy,
    .search-box,
    .search-empty {
        padding: var(--sp-6);
        border-radius: 22px;
    }
    .static-hero-panel,
    .static-card {
        padding: var(--sp-5);
        border-radius: 22px;
    }
    .static-title {
        font-size: 28px;
    }
    .nf-title,
    .search-title {
        font-size: 30px;
    }
    .nf-search,
    .search-box {
        flex-direction: column;
        align-items: stretch;
    }
    .nf-stats {
        grid-template-columns: 1fr;
    }
    .channel-pill-grid {
        gap: var(--sp-2);
    }
    .ticker-title {
        max-width: 220px;
    }
    .cat-section-list {
        grid-template-columns: 1fr;
    }
    .cat-section-item.is-lead {
        flex-direction: row;
        gap: var(--sp-3);
        align-items: flex-start;
    }
    .cat-section-lead-thumb {
        width: 120px;
        height: 80px;
        flex-shrink: 0;
        aspect-ratio: unset;
    }
}

@media (max-width: 480px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
    .admin-stats {
        grid-template-columns: 1fr;
    }
    .article-foot {
        flex-direction: column;
        align-items: flex-start;
    }
    .site-logo-mark {
        width: 36px;
        height: 36px;
    }
    .site-logo-copy .cn {
        font-size: 16px;
    }
    .tag-banner,
    .hot-banner,
    .archive-banner {
        padding: var(--sp-7) 0 var(--sp-6);
    }
    .tag-banner-title,
    .hot-banner-title,
    .archive-title {
        font-size: 22px;
    }
    .tag-banner-inner,
    .hot-banner-inner {
        flex-direction: column;
        gap: var(--sp-4);
    }
    .tag-rss-btn {
        align-self: flex-start;
    }
    .article-prevnext {
        grid-template-columns: 1fr;
        gap: var(--sp-3);
    }
    .cat-section-list {
        grid-template-columns: 1fr;
    }
    .cat-section-item.is-lead {
        flex-direction: column;
    }
    .cat-section-lead-thumb {
        width: 100%;
        height: 180px;
    }
}
