/* =============================================================
 * style45.css  v45  向新而行 · 2026 全国科普月
 * -------------------------------------------------------------
 * 主题色：蓝色科技风（参考 color.md）
 * 响应式尺寸 6 档：<=400 / 768 / 1024 / 1280 / 1920 / >=1920
 * 公共部分：顶部 Hero + 主体 + 页脚
 * ============================================================= */

/* =============================================================
 * 1) 基础重置
 * ============================================================= */
* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
    color: var(--c-text);
    line-height: 1.6;
    background: var(--c-bg);
    min-height: 100vh;
    overflow-x: hidden;
}

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

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

h1,
h2,
h3,
h4,
h5,
p,
ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

[hidden] {
    display: none !important;
}

/* =============================================================
 * 2) 主题变量（默认最小档：<=400px）
 * ============================================================= */
:root {
    /* 主色 */
    --c-bg: #eaf3ff;
    --c-bg-f: #ffffff;
    --c-bg-2: #ffffff;
    --c-orange: #c76f00;
    --c-blue-1: #0b6ef4;
    --c-blue-2: #015beb;
    --c-blue-3: #459bff;
    --c-blue-m: #3facfc;
    --c-blue-soft: #e4efff;
    --c-blue-deep: #064fb8;
    --c-text: #1a2a5e;
    --c-text-title: #113a6a;
    --c-text-sub: #5a7089;
    --c-text-mut: #959595;
    --c-text-light: #ffffff;
    --c-text-dark: #000000;
    --c-bd: #c8daf7;
    --c-bd-arrow: #b7c3d1;
    --c-bd-arrow-b: #459bff;
    --c-bd-soft: #dde8f9;

    /* 渐变 */
    --c-grad-blue: linear-gradient(135deg, #0b6ef4 0%, #459bff 100%);
    --c-grad-violet: linear-gradient(135deg, #7b5bf0 0%, #ad7df7 100%);
    --c-grad-green: linear-gradient(135deg, #56c596 0%, #8be0ad 100%);
    --c-grad-orange: linear-gradient(135deg, #ff7a45 0%, #ffa873 100%);

    /* 阴影 */
    --shadow-sm: 0 2px 6px rgba(11, 110, 244, .12);
    --shadow-md: 0 6px 18px rgba(11, 110, 244, .16);
    --shadow-lg: 0 12px 32px rgba(11, 110, 244, .22);

    /* 白色发光边框 */
    --glow-white: 0 0 0 1px rgba(255, 255, 255, .85), 0 0 12px rgba(255, 255, 255, .55), 0 0 28px rgba(255, 255, 255, .28);
    --glow-white-sm: 0 0 0 1px rgba(255, 255, 255, .8), 0 0 8px rgba(255, 255, 255, .45);
    --glow-white-lg: 0 0 0 2px rgba(255, 255, 255, .9), 0 0 18px rgba(255, 255, 255, .65), 0 0 44px rgba(255, 255, 255, .35);

    /* 白色内发光边框（inset） */
    --glow-white-inset: inset 0 0 0 1px rgba(255, 255, 255, .85), inset 0 0 12px rgba(255, 255, 255, .55), inset 0 0 28px rgba(255, 255, 255, .28);
    --glow-white-inset-sm: inset 0 0 0 1px rgba(255, 255, 255, .8), inset 0 0 8px rgba(255, 255, 255, .45);
    --glow-white-inset-lg: inset 0 0 0 2px rgba(255, 255, 255, .9), inset 0 0 18px rgba(255, 255, 255, .65), inset 0 0 44px rgba(255, 255, 255, .35);

    /* 圆角 */
    --r-xs: 4px;
    --r-sm: 12px;
    --r-md: 20px;
    --r-lg: 40px;
    --r-xl: 24px;
    --r-pill: 999px;
    --r-nav: 40px;

    /* 边框宽度 */
    --bw-1: 1px;
    --bw-2: 2px;
    --bw-4: 4px;

    /* 过渡 */
    --tr: .3s cubic-bezier(.4, 0, .2, 1);
    --fs-nav1: 8.75vw;
    --fs-nav2: 7.81vw;
    --fs-nav3: 3.85vw;
    --fs-nav4: 2.23vw;
    --fs-nav5: 1.87vw;
    --fs-nav6: 20px;
}

/* =============================================================
 * 3) 字体大小 / 内容宽度 6 档响应式
 * ============================================================= */
:root {
    --fs-h1: 5.73vw;
    --fs-h2: 5.02vw;
    --fs-h3: 4.8vw;
    --fs-title: 3.46vw;
    --fs-body: 3.33vw;
    --fs-mark: 12px;
    --fs-xs: 11px;
    --fs-ft: 15px;
    --fs-nav1: 14.66vw;
    --fs-nav2: 13.06vw;
    --fs-nav3: 6.40vw;
    --fs-nav4: 3.73vw;
    --fs-nav5: 3.20vw;
    --fs-nav6: 2.1vw;
    --content-w: 84.8%;
    --content-wl: 95.6%;
    --page-px: 12px;
    --sec-gap: 18px;
    --gap-nav: 2.4vw;
    --gap-card: 10px;
    --pad-card: 12px;
    --hero-h: 360px;
    --r-nav: 4.4vw;
    --r-md: 8px;
    --fs-23: 12px;
    --fs-29: 12px;
    --fs-39: 14px;
    --fs-25: 12px;
    --fs-40: 15px;
    
}

@media (min-width: 400px) {
    :root {
        --fs-h1: 5.73vw;
        --fs-h2: 5.02vw;
        --fs-h3: 4.8vw;
        --fs-title: 3.46vw;
        --fs-body: 3.33vw;
        --fs-mark: 12px;
        --fs-xs: 11px;
        --fs-nav1: 14.66vw;
        --fs-nav2: 13.06vw;
        --fs-nav3: 6.40vw;
        --fs-nav4: 3.73vw;
        --fs-nav5: 3.20vw;
        --fs-nav6: 2.1vw;
        --content-w: 84.8%;
        --content-wl: 95.6%;
        --page-px: 14px;
        --sec-gap: 22px;
        --gap-nav: 2.4vw;
        --gap-card: 12px;
        --pad-card: 14px;
        --hero-h: 420px;
        --r-nav: 4.4vw;
        --r-md: 10px;
        --fs-23: 13px;
        --fs-29: 14px;
        --fs-39: 16px;
        --fs-25: 13px;
        --fs-40: 18px;
    }
}

@media (min-width: 768px) {
    :root {
        --fs-h1: 32px;
        /* st1 - t2 t3 -p 72 - 63 -32 -25 h123body*/
        --fs-h2: 28px;
        --fs-h3: 18px;
        --fs-title: 14px;
        --fs-body: 11px;
        --fs-mark: 12px;
        --fs-xs: 12px;
        --content-w: 720px;
        --content-wl: 95.6%;
        --page-px: 20px;
        --sec-gap: 30px;
        --gap-nav: 14px;
        --gap-card: 16px;
        --pad-card: 18px;
        --hero-h: 520px;
        --r-nav: 19px;
        --fs-nav1: 76px;
        --fs-nav2: 68px;
        --fs-nav3: 33px;
        --fs-nav4: 19px;
        --fs-nav5: 16px;
        --fs-nav6: 14px;
        --fs-29: 13px;
        --fs-23: 10px;
        --fs-39: 18px;
    }
}

@media (min-width: 1024px) {
    :root {
        --fs-h1: 44px;
        --fs-h2: 39px;
        --fs-h3: 20px;
        --fs-title: 18px;
        --fs-body: 15px;
        --fs-mark: 12px;
        --fs-xs: 13px;
        --content-w: 980px;
        --content-wl: 980px;
        --sec-gap: 36px;
        --gap-nav: 21px;
        --gap-card: 18px;
        --pad-card: 22px;
        --hero-h: 580px;
        --r-nav: 26px;
        --fs-nav1: 104px;
        --fs-nav2: 93px;
        --fs-nav3: 45px;
        --fs-nav4: 26px;
        --fs-nav5: 22px;
        --fs-nav6: 16px;
        --fs-29: 18px;
        --fs-23: 14px;
        --fs-39: 24px;
    }
}

@media (min-width: 1280px) {
    :root {
        --fs-h1: 54px;
        --fs-h2: 47px;
        --fs-h3: 24px;
        --fs-title: 19px;
        --fs-body: 19px;
        --fs-mark: 14px;
        --content-w: 1200px;
        --content-wl: 1200px;
        --sec-gap: 44px;
        --gap-nav: 26px;
        --gap-card: 20px;
        --pad-card: 24px;
        --hero-h: 620px;
        --r-nav: 34px;
        --fs-nav1: 128px;
        --fs-nav2: 114px;
        --fs-nav3: 56px;
        --fs-nav4: 32px;
        --fs-nav5: 26px;
        --fs-nav6: 18px;
        --fs-29: 22px;
        --fs-23: 17px;
        --fs-39: 29px;
        --bw-4: 4px;
    }
}

@media (min-width: 1600px) {
    :root {
        --fs-h1: 72px;
        --fs-h2: 63px;
        --fs-h3: 40px;
        --fs-title: 32px;
        --fs-body: 25px;
        --fs-mark: 18px;
        --fs-xs: 14px;
        --content-w: 1580px;
        --content-wl: 1480px;
        --sec-gap: 56px;
        --gap-nav: 34px;
        --gap-card: 24px;
        --pad-card: 28px;
        --hero-h: 680px;
        --r-nav: 45px;
        --fs-nav1: 168px;
        --fs-nav2: 150px;
        --fs-nav3: 74px;
        --fs-nav4: 43px;
        --fs-nav5: 36px;
        --fs-nav6: 20px;
        --fs-29: 29px;
        --fs-23: 23px;
        --fs-39: 39px;
        --bw-4: 4px;
    }
}

@media (min-width: 1920px) {
    :root {
        --fs-h1: 72px;
        --fs-h2: 63px;
        --fs-h3: 40px;
        --fs-title: 32px;
        --fs-body: 25px;
        --fs-mark: 18px;
        --fs-xs: 14px;
        --fs-nav1: 8.75vw;
        --fs-nav2: 7.81vw;
        --fs-nav3: 3.85vw;
        --fs-nav4: 2.23vw;
        --fs-nav5: 1.87vw;
        --content-w: 1580px;
        --content-wl: 1480px;
        --sec-gap: 56px;
        --gap-nav: 34px;
        --gap-card: 24px;
        --pad-card: 28px;
        --hero-h: 680px;
        --r-nav: 45px;
        --fs-29: 29px;
        --bw-4: 4px;
    }
}

/* =============================================================
 * 4) 通用工具类
 * ============================================================= */
.flex {
    display: flex;
}

.flex-c {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-e {
    display: flex;
    align-items: end;
}

.flex-sb {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.flex-1 {
    flex: 1;
}

.pr {
    position: relative;
}

.pa {
    position: absolute;
}

.ofh {
    overflow: hidden;
}

.pa0 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.ellipsis-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ellipsis-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bg-page {
    background-image: url(../images/topic-kepu-month-2026-v36-page-bg-full-index.jpg);
    background-size: 100% auto;
    background-repeat: repeat-y;
}

/* 列表页背景（复用整页底纹，无固定色块） */
.page-list.bg-page {
    background-image: url(../images/topic-kepu-month-2026-v36-page-bg-full.jpg);
    background-size: 100% auto;
    background-repeat: repeat-y;
    background-color: var(--c-bg);
}

/* 详情页背景（复用整页底纹） */
.page-detail.bg-page {
    background-image: url(../images/topic-kepu-month-2026-v36-page-bg-full.jpg);
    background-size: 100% auto;
    background-repeat: repeat-y;
    background-position: center top 12.93%;
    background-color: var(--c-bg);
}

/* =============================================================
 * 5) 内容容器
 * ============================================================= */

.section-wrap {
    width: var(--content-w);
    max-width: var(--content-w);
    margin: 0 auto;
}

.section {
    padding: 0;
}

.sec-s1 {
    padding-top: 4.4%;
}

.sec-s2 {
    padding-top: 10.75%;
}

.sec-s3 {
    padding-top: 10.75%;
}

/* =============================================================
 * 6) Hero 顶部 Banner（蓝色科技背景 + 标题 + 单位 + Tab）
 * ============================================================= */
.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 1090;
    min-height: var(--hero-h);
    overflow: hidden;
    background: linear-gradient(180deg, #0b6ef4 0%, #064fb8 60%, #053f96 100%);
    clip-path: ellipse(150% 100% at 50% 0%);
}

/* 背景大图（火箭+机器人） */
.hero__bg {
    position: absolute;
    inset: 0;
    background-image: url("../images/topic-kepu-month-2026-v36-hreo-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* 背景柔色蒙版 */
.hero__mask {
    position: absolute;
    inset: 0;
    /*background: linear-gradient(180deg, rgba(11, 110, 244, .15) 0%, rgba(11, 110, 244, .35) 100%);*/
    z-index: 1;
}

/* LOGO 左上角 */
.hero__logo {
    position: absolute;
    top: 3.125vw;
    left: 4.16vw;
    z-index: 3;
    width: 14.53%;
}

/* 标题区（中央） */
.hero__content__inner {
    position: relative;
    width: var(--content-w);
    margin: 0 auto;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.hero__content__inner::before {
    content: '';
    display: block;
    width: 100%;
    /* Reserve the lower part of the hero for the floating navigation. */
    padding-top: 8vw;
}

.hero__content {
    position: relative;
    left: 2.8%;
    transform: skew(-10deg);
    z-index: 3;
    text-align: left;
    width: 52.63%;
    aspect-ratio: 2 / 1;
    color: var(--c-text-light);
}

.hero__title {
    font-size: var(--fs-h1);
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
    margin-bottom: 10px;
}
.hero-footer {
    font-size: var(--fs-nav6);
    color: #014fbe;
    position: absolute;
    padding-bottom: 4.9%;
    bottom: 0;
    right: 0;
}

.fs1 {
    font-size: var(--fs-nav1);
}

.fs2 {
    font-size: var(--fs-nav2);
}

.fs3 {
    font-size: var(--fs-nav3);
}

.fs4 {
    font-size: var(--fs-nav4);
}

.fs5 {
    font-size: var(--fs-nav5);
}

.hero__title>div {
    font-weight: 800;
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.hero__title .fs1 {
    color: #fcda6a;
}

.hero__sub {
    display: flex;
    align-items: end;
    justify-content: space-between;
    font-size: var(--fs-nav4);
    font-weight: 500;
    opacity: .95;
    margin-bottom: 12px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
    letter-spacing: 0.45em;
}

.hero__org {
    position: relative;
    top: 0;
    font-size: var(--fs-29);
    color: var(--c-text-light);
    opacity: .99;
    line-height: 1.7;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .4), 0 1px 3px rgba(0, 0, 0, .35);
}

.hero__org-row {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: start;
}

.hero__org-value {
    min-width: 0;
    white-space: nowrap;
}

/* =============================================================
 * 导航栏（独立于 Hero，位于 header 与 main 之间）
 * ============================================================= */
.main-nav {
    position: relative;
    width: 100%;
    /*background: var(--c-grad-blue);*/
    /* box-shadow: 0 4px 14px rgba(11, 110, 244, .2);*/
    z-index: 40;
    /* Do not let the transparent nav wrapper block the secondary nav below it. */
    pointer-events: none;
}

.main-nav__inner {
    width: var(--content-w);
    max-width: var(--content-w);
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: var(--gap-nav);
    flex-wrap: nowrap;
    position: relative;
    transform: translateY(-60%);
}

.main-nav__inner,
.hero__tab {
    pointer-events: auto;
}

.hero__tab {
    position: relative;
    width: 23.48%;
    aspect-ratio: 371 / 118;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: var(--r-nav);
    color: var(--c-blue-1);
    font-weight: 700;
    transition: var(--tr);
    box-shadow: 0 4px 10px rgba(219, 206, 206, 0.82),
        0 -4px 10px rgba(255, 255, 255, 0.82),
        4px 0 10px rgba(255, 255, 255, 0.82),
        -4px 0 10px rgba(255, 255, 255, 0.82);
    cursor: pointer;
    border: var(--bw-1) solid var(--c-bg-f);
    text-align: center;
    background-color: #fff;
}

.hero__tab-main {
    font-size: var(--fs-39);
    line-height: 1.2;
    white-space: nowrap;
}

.hero__tab-sub {
    font-size: var(--fs-23);
    opacity: .8;
    margin-top: 4px;
    letter-spacing: .04em;
    font-weight: 500;
    white-space: nowrap;
}

.hero__tab:hover {
    transform: translateY(-2px);
    /*box-shadow: var(--shadow-md);*/
}

/* 第 1 个 Tab：蓝色 */
.hero__tab.tab--0 {
    width: 12.65%;
    aspect-ratio: 200 / 118;
    background-image: url(../images/topic-kepu-month-2026-v36-bg-btn-nav1.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background: linear-gradient(135deg, #67e0bc 0%, #45e7df 100%);
    color: var(--c-text-light);
}


/* 第 1 个 Tab：蓝色 */
.hero__tab.tab--1 {
    background-image: url(../images/topic-kepu-month-2026-v36-bg-btn-nav1.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    /*background: linear-gradient(135deg, #5eaaff 0%, #8ec5ff 100%);*/
    color: var(--c-text-light);
}

/* 第 2 个 Tab：紫色 */
.hero__tab.tab--2 {
    /*background: linear-gradient(135deg, #8a6cf0 0%, #b691f7 100%);*/
    background-image: url(../images/topic-kepu-month-2026-v36-bg-btn-nav2.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    color: var(--c-text-light);
}

/* 第 3 个 Tab：橙色 */
.hero__tab.tab--3 {
    /*background: linear-gradient(135deg, #ff7d45 0%, #ffae6a 100%);*/
    background-image: url(../images/topic-kepu-month-2026-v36-bg-btn-nav3.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    color: var(--c-text-light);
}

.hero__tab.is-active {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, .98);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .92),
        0 12px 26px rgba(17, 58, 106, .28);
    filter: saturate(1.12) brightness(1.04);
}

.hero__tab.is-active::after {
    content: "";
    position: absolute;
    bottom: -14px;
    left: 50%;
    width: 42px;
    height: 4px;
    border-radius: 2px;
    background: var(--c-blue-deep);
    box-shadow: 0 2px 8px rgba(17, 58, 106, .24);
    transform: translateX(-50%);
}

.topic-subnav {
    position: relative;
    /* Keep the secondary links above the transparent main-nav box. */
    z-index: 50;
    pointer-events: auto;
    display: none;
    width: 100%;
    max-width: 1230px;
    margin: -34px auto 24px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.topic-subnav.is-visible {
    display: flex;
}

.topic-subnav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    min-width: 126px;
    padding: 0 14px;
    border: var(--bw-1) solid rgba(255, 255, 255, .98);
    border-radius: 8px;
    color: var(--c-text-title);
    background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(240, 246, 255, .98));
    box-shadow: 0 3px 10px rgba(17, 58, 106, .14),
        0 0 0 1px rgba(255, 255, 255, .65);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    transition: var(--tr);
}

.topic-subnav__link:hover,
.topic-subnav__link:focus-visible {
    border-color: #6952d8;
    color: #5c43cb;
    background: #f5f2ff;
}

.topic-subnav__link.is-active {
    border-color: rgba(255, 255, 255, .98);
    color: var(--c-text-light);
    background: linear-gradient(135deg, #7658e6 0%, #6244cf 100%);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .82),
        0 7px 16px rgba(105, 82, 216, .28);
}

/* =============================================================
 * 7) 栏目标题
 * ============================================================= */
.sec-title {
    position: relative;
    width: 100%;
    aspect-ratio: 1580 / 230;
    padding-top: calc(var(--fs-h1) * 0.2);
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    font-size: var(--fs-h1);
    font-weight: 800;
    color: var(--c-text-dark);
    line-height: 1.1;
    letter-spacing: .14em;
}

.sec-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0%;
    transform: translateY(0%);
    background-color: var(--c-blue-3);
}

.sec-title::before {
    width: var(--fs-h1);
    aspect-ratio: 72 / 15;
}

.sec-title__sub {
    display: block;
    font-size: var(--fs-h2);
    font-weight: 500;
    color: var(--c-blue-2);
    margin-top: 4px;
    letter-spacing: .12em;
}

.sec-more {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 2.57% 2.57%;
    padding-left: 3.38%;
    box-sizing: border-box;
    transition: var(--tr);
}

.sec-more-card {
    position: relative;
    width: 49.11%;
    aspect-ratio: 776 / 136;
    overflow: hidden;
    border-radius: var(--r-md);
}

.sec-more-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sec-more-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sec-more-body {
    flex: 1;
    height: 100%;
    overflow: hidden;
    color: var(--c-text-light);
    text-align: left;
}

.sec-more-title {
    font-size: calc(var(--fs-h3) * 0.9);
}

.sec-more-desc {
    font-size: var(--fs-body);
}

.sec-more-icon {
    width: 8.50%;
    aspect-ratio: 1 / 1;
}

.sec-more-icon::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../images/topic-kepu-month-2026-v36-icon-more.png);
    background-size: 100% 100%;
}

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

.sec-more-inner {
    position: relative;
    margin-top: 2.53%;
    text-align: center;
    display: flex;
    justify-content: space-between;
}

/* =============================================================
 * 8) 首页栏目一：科学赴约指南（左文右图）
 * ============================================================= */
.s1 {
    width: 100%;
    aspect-ratio: 1580 / 670;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 无限轮播容器 */
.s1__carousel {
    position: relative;
    width: 61.26%;
    aspect-ratio: 968 / 670;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--c-bg-f);
    box-shadow: var(--shadow-sm);
}

.s1__carousel-track {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform .5s ease;
    z-index: 1;
}

.s1__carousel-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    transition: var(--tr);
}

.s1__feature {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--c-bg-f);
}

.s1__feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s1__feature-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding-bottom: 8.26%;
    padding-left: 6.19%;
    padding-right: 6.19%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .65) 100%);
    color: var(--c-text-light);
}

.s1__feature-title {
    font-size: var(--fs-h3);
    font-weight: 800;
    margin-bottom: 4px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
    display: block;
    text-decoration: none;
    color: inherit;
}

.s1__feature-desc {
    font-size: var(--fs-xs);
    opacity: .9;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .4);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 轮播 dots 指示器：蓝边白底圆点 */
.s1__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    padding-top: 3.09%;
    padding-bottom: 3.09%;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 3.09%;
    z-index: 5;
}

.s1__dot {
    width: clamp(8px, 1.85%, 24px);
    aspect-ratio: 1 / 1;
    padding: 0;
    border-radius: 50%;
    border: 2px solid var(--c-blue-1);
    background: #fff;
    cursor: pointer;
    transition: var(--tr);
}

.s1__dot:hover {
    transform: scale(1.15);
}

.s1__dot.is-active {
    background: var(--c-blue-1);
}

.s1__list {
    width: 37.6%;
    height: 100%;
    ;
    display: flex;
    flex-direction: column;
    padding: 0.6% 2.25%;
    box-sizing: border-box;
    background-color: var(--c-bg-f);
    border-radius: var(--r-md);
}

/* 标题栏：左「近期活动」，右「查看更多」 */
.s1__list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 10.44%;
    padding: 0 14px;
    color: var(--c-text-dark);
}

.s1__list-title {
    font-size: var(--fs-body);
    font-weight: 500;
    letter-spacing: .1em;
}

.s1__list-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--fs-body);
    font-weight: 500;
    opacity: .95;
    color: var(--c-blue-m);
    transition: var(--tr);
}

.s1__list-more:hover {
    opacity: 1;
    transform: translateX(2px);
}

/* 列表项：145px 高，左右结构（图片 + 文本 + 右箭头） */
.s1__row {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 21.64%;
    padding: 0 12px;
    background: var(--c-bg-f);
    border-bottom: var(--bw-1) solid #bfe1fb;
    transition: var(--tr);
    color: var(--c-text);
}

.s1__row:last-child {
    border-color: transparent;
}

.s1__row:hover {
    border-color: var(--c-blue-2);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.s1__row-thumb {
    width: 18.9%;
    aspect-ratio: 1 / 1;
    border-radius: var(--r-sm);
    background: var(--c-blue-soft);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.s1__row-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.s1__row-title {
    font-size: var(--fs-title);
    font-weight: 700;
    color: var(--c-text-title);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.s1__row-desc {
    font-size: var(--fs-body);
    color: var(--c-text-sub);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 最右：右箭头（正方形右上边框 + 旋转缩放，夹角 80°） */
.s1__row-arrow {
    /* 可配置参数 */
    --arrow-len: 8px;
    /* 正方形边长 */
    --arrow-w: var(--bw-4);
    /* 线宽 */
    --arrow-scale: 1.192;
    /* 缩放系数：1/tan(40°)≈1.192，将 90° 收窄为 80° */

    position: relative;
    flex-shrink: 0;
    width: var(--fs-25);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    /*background: var(--c-blue-soft);*/
    color: var(--c-bd-arrow);
    transition: var(--tr);
    transform: scaleY(0.8);
}

.s1__row-arrow::before,
.s2__row-arrow::before {
    content: "";
    position: absolute;
    top: 0%;
    left: 50%;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-top: calc(var(--arrow-len) / -2);
    margin-left: calc(var(--arrow-len) / -2);
    border-top: var(--arrow-w) solid currentColor;
    border-right: var(--arrow-w) solid currentColor;
    /* rotate(45deg) 由右上边框生成箭头，scaleX 调整夹角 */
    transform: rotate(45deg) translateX(-25%) translateY(25%);
}

.s1__row:hover .s1__row-arrow {
    /*background: var(--c-blue-1);
    color: var(--c-text-light);*/
}

/* =============================================================
 * 9) 首页栏目二：「蝌」学万花筒（左视频+右4小卡）
 * ============================================================= */
.s2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}


.s2__video {
    position: relative;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--c-bg-f);
    box-shadow: var(--shadow-sm);
    width: 61.26%;
    aspect-ratio: 968 / 798;
    padding: 1.48% 1.48%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.s2__video-carousel {
    aspect-ratio: 921 / 616;
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
}

.s2__video-carousel-track {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform .5s ease;
}

.s2__video-carousel-card {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

/* The media area is a real link so the whole featured image opens its article. */
.s2__video-media-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    color: inherit;
    text-decoration: none;
}

.s2__video-media-link:focus-visible {
    outline: 3px solid var(--c-orange);
    outline-offset: -3px;
}

.s2__video-dots {
    aspect-ratio: 921 / 116;
    display: flex;
    overflow: hidden;
}

.s2__video-dots-item-wrap {
    flex: 1;
    /*760*/
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

}

.s2__video-dots-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform .3s ease;
    position: relative;
}

.s2__video-dots-item {
    box-sizing: border-box;
    flex: 0 0 25%;
    width: 25%;
    height: 100%;
    padding: 0 1.11%;
    cursor: pointer;
    transition: opacity var(--tr);
    display: block;
    color: inherit;
    text-decoration: none;
}

.s2__video-dots-item.is-active .video-dot-wrap {
    border: var(--bw-2) solid var(--c-orange);
    outline-offset: -2px;
    border-radius: var(--r-md);
}

/* 激活态：play-icon 内图片发光 */
.s2__video-dots-item.is-active .play-icon img {
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, .9)) drop-shadow(0 0 6px var(--c-orange)) drop-shadow(0 0 12px rgba(255, 165, 0, .55));
}

.s2__video-dots-item:hover .video-dot-wrap,
.s2__video-dots-item:focus-visible .video-dot-wrap {
    border-color: var(--c-orange);
}

.s2__video-dots-item:focus-visible {
    outline: 3px solid var(--c-orange);
    outline-offset: 2px;
}

.video-dot-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--r-md);
    overflow: hidden;
    border: var(--bw-2) solid transparent;
    box-sizing: border-box;
}

.video-dot-wrap .play-icon {
    position: absolute;
    width: 27.74%;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    aspect-ratio: 1 / 1;
}

.video-dot-wrap .play-icon img {
    display: block;
    width: 100%;
    height: 100%;
    transition: filter var(--tr);
}

.video-dot-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--r-xs);
}

.s2__video-dots-button {
    width: 8.68%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scaleY(0.8);
}

.s2__row-arrow {
    position: relative;
    --arrow-len: 8px;
    /* 正方形边长 */
    --arrow-w: var(--bw-4);
    /* 线宽 */
    --arrow-scale: 1.192;
    color: var(--c-bd-arrow-b);
}

.s2__video-dots-button div {
    width: 50%;
    aspect-ratio: 1 / 1;
}

.s2__video-dots-button:nth-child(1) div {
    width: 50%;
    aspect-ratio: 1 / 1;
    transform: rotateY(180deg);
}

.s2__video-dots-button {
    cursor: pointer;
}

.s2__video-dots-button.is-disabled {
    opacity: .35;
    cursor: not-allowed;
    pointer-events: none;
}

.s2__video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s2__video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.s2__video-play .play-btn {
    width: 18.45%;
    aspect-ratio: 1 / 1;
    background-image: url(../images/topic-kepu-month-2026-v36-icon-play.png);
    background-size: 100% 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

/*
.s2__video-play .play-btn::after {
    content: "";
    width: 0;
    height: 0;
    margin-left: 5px;
    border-left: 16px solid var(--c-blue-1);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}
*/

.s2__video-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 4.34% 4.34%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .7) 100%);
    color: var(--c-text-light);
    z-index: 2;
    pointer-events: none;
}


.s2__video-title {
    font-size: var(--fs-h3);
    font-weight: 800;
    margin-bottom: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
    display: block;
    text-decoration: none;
    color: inherit;
    pointer-events: auto;
}

.s2__video-desc {
    font-size: var(--fs-xs);
    opacity: .9;
    line-height: 1.6;
}

/* 右侧 4 个小卡（2列2行） */
.s2__cards {
    width: 37.08%;
    aspect-ratio: 586 / 798;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
}

.s2__card {
    position: relative;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--c-bg-2);
    box-shadow: var(--shadow-sm);
    padding: 5.11% 3.41%;
    text-align: left;
    line-height: 1.2;
    color: var(--c-text-light);
    transition: var(--tr);
}

.s2__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.s2__card-icon {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.s2__card-icon img {
    width: 100%;
    height: 100%;
    transform: scale(1.02);
}

.s2__card-more {
    position: absolute;
    top: 50%;
    left: 8.74%;
    transform: translateY(-50%);
    width: 23.07%;
    aspect-ratio: 1 / 1;
}

.s2__card--violet .s2__card-more {
    width: 11.26%;
    left: 4.26%;
    top: auto;
    bottom: 12.43%;
}

.s2__card-more::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: url(../images/topic-kepu-month-2026-v36-icon-more.png) no-repeat center;
    background-size: 100% 100%;
}

.s2__card-body {
    position: relative;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.s2__card-title {
    font-size: var(--fs-h3);
    font-weight: 800;
    margin-bottom: 0.2em;
}

.s2__card-desc {
    font-size: var(--fs-body);
    opacity: .9;
    line-height: 1.4;
}

.s2__card--violet {
    width: 100%;
    aspect-ratio: 586 / 402;
    background: var(--c-grad-violet);
    padding: 6.82% 5.11%;
}

.s2__card--blue {
    width: 48.80%;
    aspect-ratio: 286 / 367;
    background: var(--c-grad-blue);
}

.s2__card--orange {
    width: 48.80%;
    aspect-ratio: 286 / 367;
    background: var(--c-grad-orange);
}

.s2__card--violet .s2__card-icon {
    background: rgba(255, 255, 255, .25);
}

.s2__card--violet .s2__card-title {
    line-height: 1.2;
}

.s2__card--blue .s2__card-icon {
    background: rgba(255, 255, 255, .25);
}

.s2__card--orange .s2__card-icon {
    background: rgba(255, 255, 255, .25);
}

/* =============================================================
 * 10) 首页栏目三：科学π队（左介绍 + 中聊天 + 右上传）
 * ============================================================= */
.s3 {
    width: 100%;
    aspect-ratio: 1580 / 800;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 1.58%;
}

.s3__panel {
    width: 32.27%;
    aspect-ratio: 510 / 800;
    border-radius: var(--r-md);
    border: var(--bw-1) solid transparent;
    box-sizing: border-box;
    /*box-shadow: var(--shadow-sm);*/

    position: relative;

}

.s3__panel-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;

}

.s3__panel-bg1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--c-bg-f);
    border-radius: var(--r-md);
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.s3__panel-bg1::before {
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 510 / 118;
    background-color: var(--c-blue-3);
}

.s3__panel-bg2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/topic-kepu-month-2026-v36-card-bg-bdi-1.png);
    background-size: 100% 100%;
    border-radius: var(--r-md);
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.s3__panel-bg2::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../images/topic-kepu-month-2026-v36-card-bg-bd-1.png);
    background-size: 100% 100%;
}

.s3__panel-bg3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/topic-kepu-month-2026-v36-card-bg-bdi-2.png);
    background-size: 99% 99%;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: var(--r-md);
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.s3__panel-bg3::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../images/topic-kepu-month-2026-v36-card-bg-bd-2.png);
    background-size: 100% 100%;
}

.s3__panel-head,
.s3__panel-body,
.s3__panel-footer {
    position: relative;
    z-index: 1;
}

.s3__panel-head {
    display: flex;
    align-items: center;
    aspect-ratio: 510 / 118;
    color: var(--c-text-light);
    padding: 2.90% 4.90% 0%;
    /*h lr b 3.92%; */
}

.s3__panel:nth-child(2) .s3__panel-head {
    color: var(--c-text-dark);
    padding: 4.10% 4.90% 0%;
}

.s3__head-icon {
    width: 17.2%;
    aspect-ratio: 1 / 1;
}

.s3__head-inner {
    flex: 1;
    height: 100%;
    overflow: hidden;
    padding-left: 3.26%;
    box-sizing: border-box;
}

.s3__head-icon img {
    width: 100%;
    height: 100%;
}

.s3__head-title {
    font-size: var(--fs-h3);
    font-weight: 800;
    line-height: 1.2;
}

.s3__head-desc {
    font-size: var(--fs-body);
}

.s3__panel-body {
    flex: 1;
    overflow: hidden;
    padding: 3.92% 4.90% 3.02%;
    /*t lr b 3.92%; */
}

[data-message-wall] .s3__panel-body,
[data-cyber-station] .s3__panel-body {
    display: flex;
    flex-direction: column;
}

[data-message-wall] .s3__panel-body {
    position: relative;
}

[data-message-wall] .s3__body-inner,
[data-cyber-station] .s3__body-inner {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
}

.s3__panel:nth-child(3) .s3__panel-body {
    aspect-ratio: 510 / 500;
    flex: auto;
}

.s3__body-inner {
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6em;
    background-color: var(--c-blue-soft);
    border-radius: var(--r-md);
    padding: 4.34% 4.34%;
    font-size: var(--fs-body);
    color: var(--c-text-dark);
    font-weight: 500;
    line-height: 1.4;
}

.message-wall__stage {
    position: relative;
    display: block;
    overflow: hidden;
    isolation: isolate;
}

.message-wall__lanes {
    position: absolute;
    inset: 10px 0;
    display: grid;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 4px;
}

.message-wall__lane {
    position: relative;
    min-height: 0;
    overflow: hidden;
}

.message-wall__bullet {
    --message-travel: 0px;
    --message-duration: 12s;
    position: absolute;
    top: 50%;
    left: 100%;
    width: max-content;
    max-width: none;
    padding: .55em .85em;
    border-radius: var(--r-pill);
    color: var(--c-text);
    background: var(--message-color, #d5e796);
    box-shadow: var(--shadow-sm);
    line-height: 1.25;
    white-space: nowrap;
    transform: translate3d(0, -50%, 0);
    will-change: transform;
}

.message-wall__bullet.is-moving {
    animation: message-wall-fly var(--message-duration) linear forwards;
}

@keyframes message-wall-fly {
    to {
        transform: translate3d(calc(-1 * var(--message-travel)), -50%, 0);
    }
}

.is-danmaku-paused .message-wall__bullet {
    animation-play-state: paused;
}

.message-wall__static-list {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.message-wall__motion-toggle {
    position: absolute;
    top: 5%;
    right: 6%;
    z-index: 4;
    width: 32px;
    height: 32px;
    border: var(--bw-1) solid rgba(11, 110, 244, .25);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--c-blue-deep);
}

.message-wall__motion-icon {
    position: relative;
    display: block;
    width: 14px;
    height: 14px;
    margin: auto;
}

.message-wall__motion-icon::before,
.message-wall__motion-icon::after {
    content: "";
    position: absolute;
    top: 1px;
    width: 4px;
    height: 12px;
    border-radius: 1px;
    background: currentColor;
}

.message-wall__motion-icon::before {
    left: 1px;
}

.message-wall__motion-icon::after {
    right: 1px;
}

.message-wall__motion-toggle[aria-pressed="true"] .message-wall__motion-icon::before {
    top: 0;
    left: 3px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 10px solid currentColor;
    border-radius: 0;
    background: transparent;
}

.message-wall__motion-toggle[aria-pressed="true"] .message-wall__motion-icon::after {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .message-wall__lanes,
    .message-wall__motion-toggle {
        display: none;
    }

    .message-wall__static-list {
        position: static;
        width: auto;
        height: 100%;
        margin: 0;
        padding: 4%;
        overflow-y: auto;
        clip: auto;
        white-space: normal;
    }

    .message-wall__static-list li {
        width: fit-content;
        max-width: 90%;
        margin: 0 0 .65em;
        padding: .55em .85em;
        border-radius: var(--r-pill);
        background: var(--message-color, #d5e796);
    }
}

.s3__panel:nth-child(3) .s3__body-inner {
    background-color: transparent;
    align-items: center;
    justify-content: center;
}

.text-pump-bd,
.text-pump-bd-r {
    --c: var(--c-text-light);
    --t: var(--c-text-dark);
    padding: 0.4em 0.6em;
    background-color: var(--c);
    color: var(--t);
    border-radius: var(--r-md);
    position: relative;
    margin-bottom: 0.9em;
    text-align: justify;
}

.text-pump-bd {
    text-align: justify;
    text-align-last: left;
}

.text-pump-bd-r {
    text-align: justify;
    text-align-last: right;
    --c: var(--c-blue-3);
    --t: var(--c-text-light);
}

/* 左侧等边三角形（尖角朝左，垂直居中于行高） */
.text-pump-bd::before {
    content: '';
    position: absolute;
    left: -0.6em;
    top: 1.1em;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    /* 等边三角形：高 0.5em，半底 ≈ 0.5em/√3 ≈ 0.29em */
    border-top: 0.58em solid transparent;
    border-bottom: 0.58em solid transparent;
    border-right: 0.99em solid var(--c);
}

.text-pump-bd-r::before {
    content: '';
    position: absolute;
    right: -0.6em;
    top: 1.1em;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    /* 等边三角形：高 0.5em，半底 ≈ 0.5em/√3 ≈ 0.29em */
    border-top: 0.58em solid transparent;
    border-bottom: 0.58em solid transparent;
    border-left: 0.99em solid var(--c);
}

/* 动态追加消息的对齐辅助类：复用 text-pump-bd/-r 气泡样式 */
.msg-me {
    align-self: flex-end;
    max-width: 85%;
}

.msg-you {
    align-self: flex-start;
    max-width: 85%;
}

.s3__panel-tag {
    padding: 2px 10px;
    background: var(--c-bg-f);
    color: var(--c-blue-3);
    border-radius: var(--fs-body);
    font-size: calc(var(--fs-body) * 0.9);
    font-weight: 600;
}

.s3__footer-1 {
    aspect-ratio: 510 / 210;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.s3__footer-2 {
    aspect-ratio: 510 / 90;
    display: flex;
    align-items: start;
    justify-content: center;
}

.s3__footer-3 {
    aspect-ratio: 510 / 230;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 5.88%;
}

.s3__footer-buttons {
    aspect-ratio: 510 / 54;
    font-size: var(--fs-body);
    padding: 2.10% 4.90% 2.10%;
    /*t lr b 3.92%; */
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.s3__footer-button {
    width: 31.3%;
    aspect-ratio: 144 / 54;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f8ff;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

.s3__footer-button:focus-visible {
    outline: 2px solid var(--c-blue-3);
    outline-offset: 2px;
}

.s3__footer-2 .s3__footer-button {
    width: 48.23%;
    aspect-ratio: 246 / 76;
    border-radius: var(--r-lg);
    background-color: var(--c-blue-3);
    font-size: var(--fs-title);
    color: var(--c-text-light);
}

.message-wall__open {
    border: none;
    font: inherit;
}

.message-wall__composer {
    position: absolute;
    right: 4.9%;
    bottom: 0;
    left: 4.9%;
    z-index: 3;
    padding: 12px;
    border: var(--bw-1) solid var(--c-bd);
    border-radius: var(--r-md);
    background: var(--c-bg-f);
    box-shadow: var(--shadow-md);
}

.message-wall__composer[hidden] {
    display: none;
}

.message-wall__label {
    display: block;
    margin-bottom: 6px;
    color: var(--c-text-title);
    font-size: var(--fs-mark);
    font-weight: 700;
}

.message-wall__composer textarea {
    display: block;
    width: 100%;
    min-height: 70px;
    resize: vertical;
    padding: 8px 10px;
    border: var(--bw-1) solid var(--c-bd);
    border-radius: var(--r-xs);
    background: #f8fbff;
    color: var(--c-text);
    font: inherit;
    line-height: 1.5;
    outline: none;
}

.message-wall__composer textarea:focus {
    border-color: var(--c-blue-2);
    box-shadow: 0 0 0 3px rgba(69, 155, 255, .18);
}

.message-wall__form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
}

.message-wall__count {
    margin-right: auto;
    color: var(--c-text-sub);
    font-size: var(--fs-mark);
}

.message-wall__cancel,
.message-wall__submit {
    min-height: 32px;
    padding: 0 12px;
    border-radius: var(--r-xs);
    font-size: var(--fs-mark);
    font-weight: 700;
}

.message-wall__cancel {
    border: var(--bw-1) solid var(--c-bd);
    color: var(--c-text-sub);
}

.message-wall__submit {
    background: var(--c-blue-2);
    color: var(--c-text-light);
}

.message-wall__cancel:hover,
.message-wall__cancel:focus-visible,
.message-wall__submit:hover,
.message-wall__submit:focus-visible {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.message-wall__submit:disabled {
    cursor: wait;
    opacity: .62;
}

.message-wall__submit-status,
.s3__api-status {
    min-height: 1.4em;
    margin: 6px 0 0;
    color: var(--c-text-sub);
    font-size: var(--fs-mark);
    line-height: 1.4;
}

.message-wall__submit-status.is-error,
.s3__api-status.is-error {
    color: #b44040;
}

.message-wall__submit-status.is-success,
.s3__api-status.is-success {
    color: #287b58;
}

[data-cyber-station] .s3__api-status {
    color: rgba(255, 255, 255, .92);
    text-align: center;
}

[data-cyber-station] .s3__api-status.is-success {
    color: #e8fff3;
}

[data-cyber-station] .s3__api-status.is-error {
    color: #ffe3e3;
}

.s3__footer-button img {
    width: calc(var(--fs-body) * 0.8);
    aspect-ratio: 1 / 1;
    margin-right: 0.2em;
}

.s3__footer-mask {
    text-align: center;
    font-size: var(--fs-mark);
    color: var(--c-text-mut);
}

/* 输入框 */
.s3__input {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 510 / 77;
    padding: 2.10% 4.90% 2.10%;

}

.s3__input-inner {
    width: 98%;
    aspect-ratio: 449 / 77;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--c-blue-soft);
    border-radius: var(--r-lg);
    border: var(--bw-1) solid var(--c-bd);
    padding-right: 0.6em;
}

.s3__input input {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    padding-left: 0.8em;
    border: none;
    background: transparent;
    font-size: var(--fs-mark);
    outline: none;
    color: var(--c-text);
}

/* 独立的发送按钮（原 ::after 伪元素） */
.s3__input-btn {
    flex-shrink: 0;
    height: 78%;
    aspect-ratio: 1 / 1;
    background-image: url(../images/topic-kepu-month-2026-v36-icon-s3-right.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: var(--r-lg);
    cursor: pointer;
    opacity: 0.99;
    transition: transform var(--tr), opacity var(--tr);
}

.s3__input-btn:hover {
    opacity: 1;
    transform: scale(1.05);
}

.s3__input-btn:active {
    transform: scale(0.96);
}

.s3__input input::placeholder {
    color: var(--c-text-mut);
}

.s3__chat {
    font-size: var(--fs-body);
    display: flex;
    --color: #d5e796
}

.s3__chat span {
    line-height: 1.2;
    padding: calc(var(--fs-body) * 0.6) calc(var(--fs-body) * 0.8);
    margin-bottom: var(--fs-mark);
    background-color: var(--color);
    border-radius: var(--r-lg);
}

.s3__send {
    padding: 6px 16px;
    background: var(--c-grad-blue);
    color: var(--c-text-light);
    border-radius: var(--r-pill);
    font-size: var(--fs-mark);
    font-weight: 700;
}

/* 上传区 */
.s3__upload {
    width: 65%;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 14px;
    background-image: url(../images/topic-kepu-month-2026-v36-icon-upload.png);
    background-size: 100% 100%;
    text-align: center;
    padding-top: 20%;
    user-select: none;
    cursor: pointer;
}

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

.s3__upload:hover,
.s3__upload:focus-within {
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.cyber-station__preview,
.cyber-station__result {
    position: relative;
    width: 65%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: var(--bw-1) solid rgba(255, 255, 255, .86);
    border-radius: var(--r-md);
    background: var(--c-bg-f);
    box-shadow: var(--shadow-sm);
}

.cyber-station__preview[hidden],
.cyber-station__result[hidden] {
    display: none;
}

.cyber-station__preview img,
.cyber-station__result img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cyber-station__clear,
.cyber-station__reset,
.cyber-station__result a {
    position: absolute;
    right: 8px;
    bottom: 8px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: var(--r-xs);
    background: rgba(6, 79, 184, .88);
    color: var(--c-text-light);
    font-size: var(--fs-mark);
    font-weight: 700;
}

.cyber-station__result a {
    display: inline-flex;
    align-items: center;
}

.cyber-station__reset {
    right: auto;
    left: 8px;
}

.cyber-station__clear:hover,
.cyber-station__clear:focus-visible,
.cyber-station__reset:hover,
.cyber-station__reset:focus-visible,
.cyber-station__result a:hover,
.cyber-station__result a:focus-visible {
    background: var(--c-blue-2);
}

.s3__upload-icon {
    width: 25%;
    aspect-ratio: 70 / 55;
    background-image: url(../images/topic-kepu-month-2026-v36-icon-upload-up.png);
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-blue-1);
    font-size: 26px;
    font-weight: 800;
}

.s3__upload-text {
    font-size: var(--fs-body);
    color: var(--c-text-sub);
}

.s3__footer-submit {
    width: 100%;
    aspect-ratio: 510 / 130;
    display: flex;
    align-items: center;
    justify-content: center;
}

.s3__btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48.23%;
    aspect-ratio: 246 / 76;
    border-radius: var(--r-lg);
    background-color: var(--c-blue-3);
    font-size: var(--fs-title);
    color: var(--c-text-light);
    border: var(--bw-1) solid var(--c-text-light);
    transition: var(--tr);
    cursor: pointer;
}

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

.s3__btn-primary:disabled {
    cursor: not-allowed;
    opacity: .55;
    transform: none;
    box-shadow: none;
}

.s3__footer-set-wrap {
    display: flex;
    width: 100%;
    aspect-ratio: 507 / 110;
    align-items: center;
    justify-content: center;
}

/* 3D 跑马灯舞台：提供透视 */
.s3__footer-set {
    width: 81%;
    aspect-ratio: 366 / 104;
    overflow: visible;
    position: relative;
    perspective: 1200px;
}

/* 3D 轨道：preserve-3d + 环形旋转 */
.s3__footer-set-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

/* 每一页（一组）：4 个标签 2×2 排列，绝对定位铺满视口 */
.s3__footer-set-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    align-content: center;
    backface-visibility: hidden;
}

.s3__set-button {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    --arrow-len: 8px;
    /* 正方形边长 */
    --arrow-w: var(--bw-2);
    color: var(--c-bg-f);
    user-select: none;
    cursor: pointer;
}

.s3__set-button:first-child {
    transform: rotateY(180deg);
}

.s3__set-button::before {
    content: "";
    position: relative;
    width: 40%;
    aspect-ratio: 1 / 1;
    margin-top: calc(var(--arrow-len) / -2);
    margin-left: calc(var(--arrow-len) / -2);
    border-top: var(--arrow-w) solid currentColor;
    border-right: var(--arrow-w) solid currentColor;
    /* rotate(45deg) 由右上边框生成箭头，scaleX 调整夹角 */
    transform: rotate(45deg) translateX(-25%) translateY(25%);
}

.s3__footer-set .s3_footer-item {
    width: 48%;
    aspect-ratio: 177 / 41;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../images/topic-kepu-month-2026-v36-card-bg-text.png);
    background-size: 100% 100%;
    margin-top: 2.23%;
    margin-bottom: 2.23%;
    overflow: hidden;
    font-size: calc(var(--fs-body) * 0.8);
    /*display: -webkit-box;*/
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    border: var(--bw-1) solid transparent;
    color: var(--c-text-title);
    cursor: pointer;
    transition: border-color var(--tr), color var(--tr), filter var(--tr);
}

.s3__footer-set .s3_footer-item:hover,
.s3__footer-set .s3_footer-item:focus-visible {
    border-color: var(--c-blue-1);
    color: var(--c-blue-deep);
    filter: brightness(1.04);
}

/* Keep the chosen occupation unmistakable against the white button artwork. */
.s3__footer-set .s3_footer-item.is-selected {
    background-image: url(../images/topic-kepu-month-2026-v36-card-bg-text-selected.png);
    background-color: transparent;
    color: var(--c-text-light);
    filter: none;
}

.s3__notice {
    margin-top: 10px;
    padding: 8px 12px;
    background: var(--c-blue-soft);
    border-radius: var(--r-sm);
    font-size: var(--fs-xs);
    color: var(--c-text-sub);
    line-height: 1.6;
}

/* =============================================================
 * 11) 列表页（2 列图文卡片）
 * ============================================================= */
.list-section {
    background: transparent;
    min-height: 60vh;
}

/* 内容区宽度固定 1480px（居中） */
.list-section .section-wrap {
    width: min(92vw, 1230px);
    max-width: 1230px;
}

/* 详情页内容区宽度固定 1580px（居中） */
.page-detail .section-wrap {
    width: var(--content-w);
    max-width: var(--content-w);
}

.list-search {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(100%, 760px);
    margin: 0 auto 20px;
    padding: 8px;
    background: var(--c-bg-f);
    border: 1px solid var(--c-bd);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
}

.list-search input {
    min-width: 0;
    flex: 1;
    height: 42px;
    padding: 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--c-text-title);
    font: inherit;
}

.list-search input::placeholder {
    color: var(--c-text-mut);
}

.list-search button {
    flex: 0 0 auto;
    min-width: 82px;
    height: 42px;
    padding: 0 18px;
    border-radius: var(--r-sm);
    background: var(--c-blue-1);
    color: var(--c-text-light);
    font-size: var(--fs-body);
    font-weight: 700;
    transition: var(--tr);
}

.list-search button:hover,
.list-search button:focus-visible {
    background: var(--c-blue-deep);
    transform: translateY(-1px);
}

.list-search-summary {
    min-height: 24px;
    margin: 0 auto 12px;
    width: min(100%, 1180px);
    color: var(--c-text-sub);
    font-size: var(--fs-body);
}

.list-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 列表项：左缩略图，中间信息，右侧方向提示。 */
.list-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    min-height: 160px;
    padding: 18px 22px;
    background: var(--c-bg-f);
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--c-bd-soft);
    box-shadow: 0 2px 8px rgba(17, 58, 106, .10);
    transition: var(--tr);
}

.list-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--c-blue-2);
}

.list-card__media {
    position: relative;
    width: 220px;
    aspect-ratio: 16 / 9;
    background: var(--c-blue-soft);
    border-radius: var(--r-sm);
    overflow: hidden;
}

.list-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.list-card:hover .list-card__media img {
    transform: scale(1.03);
}

/* 右下角播放角标 */
.list-card__play {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 32px;
    background: var(--c-blue-1);
    border-radius: var(--r-xs);
    box-shadow: var(--shadow-sm);
}

.list-card__play::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 10px solid #fff;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    margin-left: 3px;
}

.list-card__title {
    display: -webkit-box;
    color: var(--c-text-title);
    font-size: var(--fs-h3);
    font-weight: 700;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-card__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.list-card__summary {
    display: -webkit-box;
    color: var(--c-text-sub);
    font-size: var(--fs-body);
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--c-text-mut);
    font-size: var(--fs-xs);
}

.list-card__arrow {
    position: relative;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: var(--c-blue-2);
    transition: var(--tr);
}

.list-card__arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 2px;
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}

.list-card:hover .list-card__arrow {
    transform: translateX(3px);
}

.list-content-empty,
.list-search-empty {
    margin: 24px auto 0;
    padding: 32px 20px;
    border: 1px dashed var(--c-bd);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .72);
    color: var(--c-text-sub);
    text-align: center;
    font-size: var(--fs-body);
}

.list-section .sec-more-inner {
    justify-content: center;
    align-items: center;
}

.list-section .sec-more {
    width: 17.77%;
    aspect-ratio: 263 / 72;
    color: var(--c-text-light);
    font-size: var(--fs-h3);
    background-color: #1881f6;
    justify-content: center;
    border-radius: var(--r-sm);
    letter-spacing: 0.2em;
    padding: 0;
}

/* =============================================================
 * 12) 详情页
 * ============================================================= */
.detail {
    position: relative;
    width: 100%;
    min-height: 360px;
    border-radius: 0;
    padding: 48px 0 64px;
    border: none;
    overflow: visible;
    --w: var(--fs-body);
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(17, 58, 106, .08);
    clip-path: polygon(0 var(--w),
            var(--w) 0,
            calc(100% - var(--w)) 0,
            100% var(--w),
            100% calc(100% - var(--w)),
            calc(100% - var(--w)) 100%,
            var(--w) 100%,
            0 calc(100% - var(--w)));
}

.detail-inner {
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
    padding: 0 48px;
    overflow: visible;
    font-size: 18px;
    line-height: 1.9;
}

.detail__title {
    max-width: 980px;
    margin: 0 auto 16px;
    font-size: 32px;
    font-weight: 800;
    color: var(--c-text-title);
    text-align: center;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.detail__meta,
.detail__src {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 24px;
    max-width: 980px;
    margin: 0 auto 28px;
    padding-bottom: 20px;
    border-bottom: var(--bw-1) solid var(--c-bd-soft);
    color: var(--c-text-sub);
    font-size: 15px;
    line-height: 1.6;
}

.detail__src-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.detail__body {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    color: var(--c-text-dark);
    font-size: 18px;
    line-height: 2;
    overflow-wrap: anywhere;
}

.detail__body p {
    margin: 0 0 1.25em;
    text-indent: 2em;
}

.detail__body h2,
.detail__body h3,
.detail__body h4 {
    margin: 1.8em 0 .8em;
    color: var(--c-text-title);
    line-height: 1.5;
}

.detail__body h2 {
    font-size: 26px;
}

.detail__body h3 {
    font-size: 22px;
}

.detail__body h4 {
    font-size: 19px;
}

.detail__body ul,
.detail__body ol {
    margin: 0 0 1.25em 2em;
    padding: 0;
}

.detail__body ul {
    list-style: disc;
}

.detail__body ol {
    list-style: decimal;
}

.detail__body li {
    margin-bottom: .55em;
}

.detail__body a {
    color: var(--c-blue-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.detail__body img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 24px auto;
}

.detail__body .app_image_container,
.detail__body .app_image_wrap,
.detail__body .imagenote,
.detail__body .edit_img_input {
    width: 100% !important;
    max-width: 100% !important;
    text-indent: 0 !important;
    box-sizing: border-box !important;
}

.detail__body figure {
    max-width: 100%;
    margin: 28px auto;
    text-align: center;
}

.detail__body figure img {
    width: auto;
    max-width: 100%;
    height: auto !important;
    margin: 0 auto;
    display: block;
}

.detail__body table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 24px 0;
    overflow-x: auto;
    border-collapse: collapse;
}

.detail__body th,
.detail__body td {
    padding: 10px 12px;
    border: var(--bw-1) solid var(--c-bd-soft);
}

.detail__body video,
.detail__body iframe {
    display: block;
    max-width: 100%;
    margin: 24px auto;
}

/* TRS 自动详情：DocType=7 输出视频，其余输出图文正文。 */
.auto-video-section {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--r-sm);
    background: #071b36;
    box-shadow: var(--shadow-sm);
}

.video-el {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-detail-body {
    margin-top: 28px;
}

.video-detail-body:empty {
    display: none;
}

.video-unavailable {
    padding: 32px 16px;
    border: var(--bw-1) solid var(--c-bd-soft);
    border-radius: var(--r-sm);
    background: var(--c-blue-soft);
    color: var(--c-text-sub);
    text-align: center;
}

[data-auto-kind="image"] {
    width: 100%;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.detail__breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
    color: var(--c-text-sub);
    font-size: 15px;
    line-height: 1.6;
}

.detail__breadcrumb a {
    color: var(--c-text-title);
    transition: color var(--tr);
}

.detail__breadcrumb a:hover,
.detail__breadcrumb a:focus-visible {
    color: var(--c-blue-1);
}

.detail__nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
}

.detail__nav-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 168px;
    min-height: 46px;
    padding: 0 20px;
    border: var(--bw-1) solid var(--c-bd-soft);
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow-sm);
    color: var(--c-blue-1);
    font-size: var(--fs-body);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: var(--tr);
}

.detail__nav-btn::before {
    content: "";
    width: 8px;
    height: 8px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

.detail__nav-btn:hover,
.detail__nav-btn:focus-visible {
    border-color: var(--c-blue-1);
    background: #eef8ff;
    box-shadow: var(--shadow-md);
    color: var(--c-blue-1);
    transform: translateY(-2px);
}

.trs-empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 16px;
    color: var(--c-text-sub);
    font-size: var(--fs-body);
    text-align: center;
}

.s1__carousel-track > .trs-empty-state,
.s2__video-carousel-track > .trs-empty-state {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: var(--c-bg-f);
}

.s1__list > .trs-empty-state {
    flex: 1 1 auto;
}

@media (max-width: 767px) {
    .detail__nav {
        gap: 8px;
    }

    .detail__nav-btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 12px;
        font-size: var(--fs-mark);
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    background: var(--c-bg-2);
    border: var(--bw-1) solid var(--c-bd);
    border-radius: var(--r-pill);
    color: var(--c-text);
    font-size: var(--fs-mark);
    font-weight: 600;
    transition: var(--tr);
}

@media (min-width: 768px) {
    .btn {
        padding: 12px 28px;
    }
}

.btn:hover {
    border-color: var(--c-blue-1);
    color: var(--c-blue-1);
    box-shadow: var(--shadow-sm);
}

.btn--primary {
    background: var(--c-grad-blue);
    color: var(--c-text-light);
    border-color: transparent;
}

.btn--primary:hover {
    color: var(--c-text-light);
    box-shadow: var(--shadow-md);
}

/* =============================================================
 * 13) 面包屑
 * ============================================================= */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: var(--fs-mark);
    color: var(--c-text-sub);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--c-text-sub);
    transition: var(--tr);
}

.breadcrumb a:hover {
    color: var(--c-blue-1);
}

.breadcrumb .sep {
    color: var(--c-text-light);
}

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

/* =============================================================
 * 14) 页脚
 * ============================================================= */
.footer {
    position: relative;
    width: 100%;
    background: var(--c-grad-blue);
    color: var(--c-text-light);
    padding: 24px 0 16px;
    margin-top: var(--sec-gap);
}

.footer__inner {
    width: 100%;
    max-width: var(--content-w);
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: center;
    justify-content: space-around;
}


.footer__logo {
    width: 13.92%;
    aspect-ratio: 220 / 70;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__logo:last-child img:first-child {
    height: 100%;
    aspect-ratio: 68 / 80;
    width: auto;
}

.footer__logo:last-child img:last-child {
    height: 100%;
    aspect-ratio: 63 / 68;
    width: auto;
}

.footer__logo .full {
    width: 100%;
    height: auto;
}


.footer__col {
    /*flex: 1;*/
    font-size: var(--fs-ft);
    line-height: 2.33;
    text-align: center;
}

.footer__col li {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    align-items: center;
    justify-content: center;
}

.footer__col .sep {
    opacity: .99;
}

.footer__about-spacer {
    visibility: hidden;
}

.footer__col a {
    opacity: .9;
    transition: var(--tr);
}

.footer__col a:hover {
    opacity: 1;
}

.footer__bottom {
    width: 100%;
    margin-top: 14px;
    padding: 12px var(--page-px) 0;
    border-top: var(--bw-1) solid rgba(255, 255, 255, .15);
    text-align: center;
    font-size: var(--fs-xs);
    opacity: .85;
}

/* =============================================================
 * 15) 主题按钮 & 滚动条
 * ============================================================= */
.theme-toggle {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 999;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: var(--bw-1) solid var(--c-bd);
    background: var(--c-bg-2);
    color: var(--c-blue-1);
    font-size: 14px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--tr);
}

@media (min-width: 768px) {
    .theme-toggle {
        width: 44px;
        height: 44px;
        right: 20px;
        bottom: 20px;
    }
}

.theme-toggle:hover {
    transform: scale(1.06);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--c-blue-soft);
}

::-webkit-scrollbar-thumb {
    background: var(--c-blue-2);
    border-radius: 4px;
}

.mobile-show {
    display: none;
}

@media (max-width: 768px) {
    .mobile-show {
        display: inline-block;
    }

    .mobile-hide {
        display: none;
    }

    .hero {
        aspect-ratio: 750 / 1142;
    }

    .hero__bg {
        background-image: url(../images/topic-kepu-month-2026-v36-hero-bg-m.jpg);
    }

    .hero__logo {
        display: none;
    }

    .hero__content {
        width: 88%;
        left: 50%;
        transform: skew(-10deg) translateX(-50%);
    }

    .hero__content__inner {
        justify-content: space-between;
        padding-top: 6%;
        padding-bottom: 16%;
        align-items: center;
    }

    .hero__content__inner::before {
        display: none;
    }

    .hero__org {
        width: 100%;
        text-align: left;
        font-size: 2.2vw;
    }

    .main-nav__inner {
        transform: translateY(-50%);
    }

    .hero__tab {
        width: 31.91%;
        aspect-ratio: 203 / 65;
    }

    .hero__tab-main {
        font-size: calc(var(--fs-39) * 0.9);
    }

    .hero__tab-sub {
        display: none;
    }

    .hero__tab.is-active {
        transform: translateY(-3px);
        box-shadow: 0 0 0 2px rgba(255, 255, 255, .94),
            0 7px 16px rgba(17, 58, 106, .22);
    }

    .hero__tab.is-active::after {
        bottom: -8px;
        width: 28px;
        height: 3px;
    }

    .topic-subnav {
        width: calc(100% - 24px);
        margin: -18px auto 18px;
        gap: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    .topic-subnav__link {
        flex: 0 0 auto;
        min-height: 36px;
        min-width: 112px;
        padding: 0 12px;
        font-size: 13px;
    }

    .topic-subnav::-webkit-scrollbar {
        display: none;
    }

    .detail {
        min-height: 0;
        padding: 28px 0 36px;
        --w: 12px;
    }

    .detail__meta,
    .detail__src {
        display: flex;
        align-items: center;
        flex-direction: column;
        row-gap: 4px;
        margin-bottom: 22px;
        padding-bottom: 16px;
        font-size: 14px;
    }

    .detail-inner {
        padding: 0 18px;
        font-size: 16px;
    }

    .detail__title {
        margin-bottom: 12px;
        font-size: 24px;
    }

    .detail__body {
        font-size: 16px;
        line-height: 1.85;
    }

    .video-detail-body {
        margin-top: 20px;
    }

    .video-unavailable {
        padding: 24px 12px;
    }

    .detail__body h2 {
        font-size: 22px;
    }

    .detail__body h3 {
        font-size: 19px;
    }

    .detail__body h4 {
        font-size: 17px;
    }

    .detail__breadcrumb {
        margin-bottom: 10px;
        padding: 0 4px;
        font-size: 14px;
    }

    .footer {
        line-height: 1.2;
    }

    .footer {
        margin-top: 40px;
    }

    .list-section {
        padding-top: 4%;
    }

    .list-search {
        width: 100%;
        margin-bottom: 14px;
        padding: 6px;
        gap: 6px;
    }

    .list-search input,
    .list-search button {
        height: 38px;
    }

    .list-search button {
        min-width: 68px;
        padding: 0 12px;
    }

    .list-list {
        gap: 10px;
    }

    .list-card {
        grid-template-columns: 104px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
        min-height: 104px;
        padding: 12px;
        border-radius: var(--r-sm);
    }

    .list-card__media {
        width: 104px;
        aspect-ratio: 16 / 10;
    }

    .list-card__body {
        gap: 5px;
    }

    .list-card__title {
        font-size: 16px;
        line-height: 1.35;
        -webkit-line-clamp: 2;
    }

    .list-card__summary {
        font-size: 13px;
        line-height: 1.45;
        -webkit-line-clamp: 2;
    }

    .list-card__meta {
        gap: 5px;
        font-size: 11px;
    }

    .list-card__arrow {
        display: none;
    }

    .list-section .sec-more {
        width: 26.22%;
        aspect-ratio: 188 / 51;
        font-size: 3.3vw;
    }

    .sec-title::before {
        aspect-ratio: 42 / 10;
        width: 6.60%;
        left: 50%;
        transform: translateX(-50%);
        height: auto;
    }

    .sec-title {
        text-align: center;
        align-items: center;
        aspect-ratio: 636 / 120;
        margin-bottom: 8vw;
        line-height: 1.2;
        padding-top: 2vw;
    }

    .s1 {
        flex-direction: column;
        background-color: var(--c-bg-f);
        border-radius: var(--r-md);
    }

    .s1__carousel-track {
        overflow: hidden;
        border-radius: var(--r-md);
        z-index: 1;
    }

    .s1__carousel {
        width: 100%;
        aspect-ratio: 636 / 552;
        margin-bottom: 9.05%;
        overflow: visible;
        background-color: var(--c-bg-f);
    }

    .s1__dots {
        bottom: -7.84%;
    }

    .s1__list {
        width: 100%;
        aspect-ratio: auto;
        height: auto;
        padding-top: 2.66vw;
        padding-bottom: 2.66vw;
    }

    .s1__row {
        height: auto;
        aspect-ratio: 610 / 145;
    }

    .s2 {
        aspect-ratio: auto;
        flex-direction: column;
        gap: 2.66vw;
    }

    .s2__video {
        width: 100%;
        aspect-ratio: 636 / 1100;
        padding: 2.35% 2.35%;
    }

    .s2__video-carousel {
        aspect-ratio: 607 / 1023;
    }

    .s3 {
        aspect-ratio: auto;
        flex-direction: column;
        gap: 10vw;
    }

    .s3__panel {
        width: 100%;
    }

    .s2__video-dots-item {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .video-dot-wrap {
        width: calc(var(--fs-body) * 0.8);
        aspect-ratio: 1 / 1;
        height: auto;
        border-radius: var(--fs-body);
        border: var(--bw-2) solid var(--c-blue-m);
    }

    .video-dot-wrap img {
        display: none;
    }

    .s2__video-dots-button {
        opacity: 0;
        width: 25%;
    }

    .s2__video-dots-item.is-active .video-dot-wrap {
        border-color: var(--c-blue-m);
        background-color: var(--c-blue-m);
    }

    .video-dot-wrap .play-icon {
        opacity: 0;
    }

    .s2__cards {
        width: 100%;
    }

    .sec-more-inner {
        flex-direction: column;
        gap: 2.66vw;
    }

    .sec-more-card {
        width: 100%;
        aspect-ratio: 637 / 136;
    }

    .s2__video-title {
        font-size: 4vw;
    }

    .s2__video-desc {
        display: none;
    }

    .s2__card-more {
        width: 8.8vw;
        aspect-ratio: 1 / 1;
    }

    .s2__card--violet .s2__card-more {
        width: 8.8vw;
        aspect-ratio: 1 / 1;
    }

    .sec-more-icon {
        width: 8.8vw;
        aspect-ratio: 1 / 1;
    }

    .s2__card-title {
        font-size: 5.3vw;
    }

    .s3__input-inner {
        aspect-ratio: 559 / 96;
        border-radius: 4.8vw;
    }

    .s3__footer-2 .s3__footer-button {
        aspect-ratio: 307 / 94;
        border-radius: 4.8vw;
    }

    .s3__btn-primary {
        aspect-ratio: 306 / 95;
        border-radius: 4.8vw;
    }

    .s3__head-title {
        font-size: 6.66vw;
    }

    .s3__head-desc {
        font-size: 3.86vw;
    }

    .s3_footer-item {
        font-size: 3.6vw;
        color: var(--c-blue-m);
    }

    .s3__upload {
        width: 78%;
    }

    .s3__footer-mask {
        font-size: 2.93vw;
    }

    .s3__input input {
        font-size: 4vw;
    }
    .s3__panel-head {
        padding: 2.90% 4.90% 0%;
        /*h lr b 3.92%; */
    }
    .hero-footer {
        padding-bottom: 10.2%;
    }
    .footer__logo {
        display: none;
    }
    .footer__col {
        line-height: 1.6;
    }
}

/* =============================================================
     * 16) 滚动渐入动画（进入视口时播放一次）
     * ============================================================= */
.reveal {
    opacity: 0;
    transform: translateY(48px);
    transition:
        opacity .7s cubic-bezier(.22, .61, .36, 1),
        transform .7s cubic-bezier(.22, .61, .36, 1);
    will-change: opacity, transform;
}

/* 进入视口后：完全显示并归位 */
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 轻微延迟，营造层级感（可选） */
.reveal[data-delay="1"] {
    transition-delay: .05s;
}

.reveal[data-delay="2"] {
    transition-delay: .15s;
}

.reveal[data-delay="3"] {
    transition-delay: .25s;
}

.reveal[data-delay="4"] {
    transition-delay: .35s;
}

/* 尊重「减少动态效果」偏好 */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* v36 list compact mode */
.page-list:not([data-trs-page-kind="search"]) .list-card {
    height: 160px;
    min-height: 0;
    overflow: hidden;
}

.page-list:not([data-trs-page-kind="search"]) .list-card__body {
    align-self: stretch;
    height: 100%;
    min-height: 0;
    justify-content: space-between;
    gap: 6px;
    overflow: hidden;
}

.page-list:not([data-trs-page-kind="search"]) .list-card__title {
    font-size: 18px;
    line-height: 1.35;
}

.page-list:not([data-trs-page-kind="search"]) .list-card__summary {
    font-size: 14px;
    line-height: 1.45;
}

.page-list:not([data-trs-page-kind="search"]) .list-card__meta {
    font-size: 12px;
    line-height: 1.3;
}

@media (max-width: 767px) {
    .page-list:not([data-trs-page-kind="search"]) .list-card {
        height: 120px;
        min-height: 0;
    }

    .page-list:not([data-trs-page-kind="search"]) .list-card__body {
        height: 100%;
        gap: 4px;
    }

    .page-list:not([data-trs-page-kind="search"]) .list-card__title {
        font-size: 15px;
        line-height: 1.3;
    }

    .page-list:not([data-trs-page-kind="search"]) .list-card__summary {
        font-size: 12px;
        line-height: 1.35;
    }

    .page-list:not([data-trs-page-kind="search"]) .list-card__meta {
        font-size: 10px;
        line-height: 1.25;
    }
}

/* v35 list pagination */
.page-list:not([data-trs-page-kind="search"]) .list-pagination {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 24px auto 8px;
    padding: 4px 2px 12px;
    overflow-x: auto;
    scrollbar-width: thin;
}
.page-list:not([data-trs-page-kind="search"]) .list-pagination[hidden] {
    display: none;
}
.page-list:not([data-trs-page-kind="search"]) .list-pagination-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: max-content;
}
.page-list:not([data-trs-page-kind="search"]) .list-page-link,
.page-list:not([data-trs-page-kind="search"]) .list-page-current,
.page-list:not([data-trs-page-kind="search"]) .list-page-disabled,
.page-list:not([data-trs-page-kind="search"]) .list-page-ellipsis {
    min-width: 36px;
    height: 36px;
    padding: 0 11px;
    border-radius: var(--r-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1;
}
.page-list:not([data-trs-page-kind="search"]) .list-page-link {
    color: var(--c-blue-deep);
    background: rgba(255,255,255,.94);
    border: 1px solid var(--c-bd);
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.page-list:not([data-trs-page-kind="search"]) .list-page-link:hover,
.page-list:not([data-trs-page-kind="search"]) .list-page-link:focus-visible {
    color: #fff;
    background: var(--c-blue-1);
    border-color: var(--c-blue-1);
    transform: translateY(-1px);
}
.page-list:not([data-trs-page-kind="search"]) .list-page-current {
    color: #fff;
    background: var(--c-blue-1);
    border: 1px solid var(--c-blue-1);
    font-weight: 700;
}
.page-list:not([data-trs-page-kind="search"]) .list-page-disabled {
    color: var(--c-text-mut);
    background: rgba(255,255,255,.55);
    border: 1px solid var(--c-bd-soft);
}
.page-list:not([data-trs-page-kind="search"]) .list-page-ellipsis {
    min-width: 24px;
    padding: 0 2px;
    color: var(--c-text-sub);
}
@media (max-width: 767px) {
    .page-list:not([data-trs-page-kind="search"]) .list-pagination {
        margin-top: 18px;
        padding-bottom: 8px;
    }
    .page-list:not([data-trs-page-kind="search"]) .list-pagination-inner {
        gap: 5px;
    }
    .page-list:not([data-trs-page-kind="search"]) .list-page-link,
    .page-list:not([data-trs-page-kind="search"]) .list-page-current,
    .page-list:not([data-trs-page-kind="search"]) .list-page-disabled,
    .page-list:not([data-trs-page-kind="search"]) .list-page-ellipsis {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        border-radius: var(--r-xs);
        font-size: 11px;
    }
}
