:root {
    --bg: #070809;
    --bg-2: #0d0e11;
    --panel: #121317;
    --panel-2: #18191e;
    --hover: #202127;
    --text: #e8e8ea;
    --title: #ffffff;
    --muted: #a6a6ad;
    --quiet: #777880;
    --red: #ff1f32;
    --red-light: #ff3445;
    --red-deep: #b20718;
    --red-dark: #68030d;
    --line: rgba(255, 255, 255, 0.08);
    --red-line: rgba(255, 31, 50, 0.38);
    --shadow: 0 16px 42px rgba(0, 0, 0, 0.38);
    --red-shadow: 0 14px 36px rgba(255, 31, 50, 0.18);
    --shell: 1280px;
    --desktop-header-height: 142px;
    --mobile-header-height: 64px;
    --bottom-nav-height: 68px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
    color-scheme: dark;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 13% 10%, rgba(255, 31, 50, 0.08), transparent 30rem),
        radial-gradient(circle at 86% 18%, rgba(255, 31, 50, 0.05), transparent 26rem),
        linear-gradient(180deg, #090a0c 0%, var(--bg) 24%, #060708 100%);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--red-light);
    outline-offset: 3px;
}

[hidden] {
    display: none !important;
}

.shell {
    width: min(calc(100% - 40px), var(--shell));
    margin-inline: auto;
}

.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;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 9999;
    transform: translateY(-160%);
    padding: 10px 14px;
    border-radius: 6px;
    background: var(--red);
    color: #fff;
    font-weight: 800;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1400;
    background: rgba(7, 8, 9, 0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
}

.desktop-header {
    display: block;
}

.mobile-header {
    display: none;
}

.brand-bar {
    min-height: 70px;
    display: grid;
    grid-template-columns: minmax(220px, auto) 1fr auto;
    align-items: center;
    gap: 28px;
}

.brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    max-width: 190px;
    max-height: 48px;
    object-fit: contain;
}

.brand-symbol {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    overflow: hidden;
    border: 1px solid var(--red-line);
    background: linear-gradient(135deg, var(--red-light), var(--red) 52%, #9f0615);
    color: #fff;
    font-size: 26px;
    font-weight: 950;
    font-style: italic;
    line-height: 1;
    box-shadow: var(--red-shadow);
    clip-path: polygon(0 0, 88% 0, 100% 24%, 100% 100%, 12% 100%, 0 76%);
}

.brand-symbol::after {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(255,255,255,.28);
    pointer-events: none;
}

.brand-copy {
    display: grid;
    line-height: 1.05;
}

.brand-copy strong {
    color: #fff;
    font-size: 27px;
    letter-spacing: .08em;
    font-weight: 950;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .18em;
    font-weight: 800;
}

.brand-line {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    letter-spacing: .05em;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.icon-button,
.hour-button,
.mobile-top-button,
.mobile-24,
.panel-close,
.search-keywords button {
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--panel);
    color: var(--text);
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.icon-button {
    min-width: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
}

.icon-button span:first-child {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 4px;
    background: rgba(255,31,50,.12);
    color: var(--red-light);
    font-size: 13px;
    font-weight: 900;
}

.icon-button:hover,
.panel-close:hover,
.search-keywords button:hover {
    border-color: var(--red-line);
    background: var(--hover);
}

.hour-button,
.mobile-24 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-color: var(--red-line);
    background: linear-gradient(135deg, var(--red-light), var(--red) 52%, #9f0615);
    color: #fff;
    font-weight: 900;
    box-shadow: var(--red-shadow);
}

.hour-button:hover,
.mobile-24:hover {
    transform: translateY(-1px);
}

.main-nav {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #0b0c0f;
}

.nav-row {
    height: 44px;
    display: flex;
    align-items: stretch;
    white-space: nowrap;
}

.nav-row a {
    position: relative;
    min-width: 0;
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    color: #d8d8db;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .02em;
}

.nav-row a::after,
.topic-row a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 0;
    height: 3px;
    transform: translateX(-50%);
    background: var(--red);
    pointer-events: none;
    transition: width .2s ease;
}

.nav-row a:hover,
.nav-row a.is-active,
.topic-row a:hover,
.topic-row a.is-active {
    color: #fff;
    background: rgba(255,255,255,.025);
}

.nav-row a:hover::after,
.nav-row a.is-active::after,
.topic-row a:hover::after,
.topic-row a.is-active::after {
    width: 58%;
}

.topic-strip {
    background: #101115;
}

.topic-row {
    min-height: 28px;
    display: flex;
    align-items: stretch;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--red-dark) transparent;
}

.topic-row a {
    position: relative;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0 14px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
}

.site-main {
    min-height: 60vh;
    overflow: clip;
}

.page-shell,
.home-shell {
    width: min(calc(100% - 40px), var(--shell));
    margin-inline: auto;
}

.page-shell {
    padding: 42px 0 78px;
}

.home-shell {
    padding: 28px 0 82px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 310px;
    display: grid;
    align-items: end;
    padding: clamp(28px, 5vw, 62px);
    border: 1px solid var(--line);
    background:
        linear-gradient(112deg, rgba(255,31,50,.18), transparent 42%),
        radial-gradient(circle at 86% 22%, rgba(255,52,69,.16), transparent 20rem),
        linear-gradient(135deg, #17181c, #0b0c0f 58%, #08090b);
    box-shadow: var(--shadow);
    clip-path: polygon(0 0, 97% 0, 100% 12%, 100% 100%, 3% 100%, 0 88%);
}

.page-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -110px;
    top: -170px;
    border: 42px solid rgba(255,31,50,.08);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero::after {
    content: "";
    position: absolute;
    right: 7%;
    bottom: 12%;
    width: min(34vw, 340px);
    height: 8px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    transform: rotate(-8deg);
    opacity: .75;
    pointer-events: none;
}

.page-hero > * {
    position: relative;
    z-index: 1;
}

.page-hero.compact {
    min-height: 270px;
}

.page-hero h1 {
    max-width: 920px;
    margin: 8px 0 14px;
    color: #fff;
    font-size: clamp(34px, 5.4vw, 68px);
    line-height: 1.05;
    letter-spacing: -.03em;
    font-weight: 950;
}

.page-hero p {
    max-width: 890px;
    margin: 0;
    color: #d3d3d7;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.85;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    gap: 8px;
    color: var(--red-light);
    font-size: 11px;
    line-height: 1;
    letter-spacing: .18em;
    font-weight: 900;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 3px;
    background: var(--red);
    box-shadow: 12px 0 0 rgba(255,31,50,.35);
    pointer-events: none;
}

.page-summary {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.page-summary a,
.primary-button,
.secondary-button,
.text-link {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: 850;
    white-space: nowrap;
}

.primary-button {
    padding: 0 20px;
    border: 1px solid var(--red-line);
    background: linear-gradient(135deg, var(--red-light), var(--red) 52%, #9f0615);
    color: #fff;
    box-shadow: var(--red-shadow);
}

.primary-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.secondary-button {
    padding: 0 20px;
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--text);
}

.secondary-button:hover {
    border-color: var(--red-line);
    background: var(--hover);
}

.text-link {
    justify-content: flex-start;
    min-height: 44px;
    color: var(--red-light);
    font-size: 14px;
}

.text-link::after {
    content: " →";
    margin-left: 7px;
}

.content-section {
    margin-top: 64px;
}

.content-section.tight {
    margin-top: 42px;
}

.section-heading {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.section-heading::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 74px;
    height: 3px;
    background: var(--red);
    pointer-events: none;
}

.section-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(26px, 3.4vw, 40px);
    line-height: 1.18;
    letter-spacing: -.02em;
}

.section-heading p {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    color: var(--red-light);
    font-size: 11px;
    letter-spacing: .14em;
    font-weight: 900;
}

.section-label::before {
    content: "";
    width: 6px;
    height: 6px;
    transform: rotate(45deg);
    background: var(--red);
    pointer-events: none;
}

.hero-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(310px, .95fr);
    gap: 18px;
}

.hero-lead {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: clamp(26px, 4vw, 48px);
    border: 1px solid var(--red-line);
    background:
        linear-gradient(0deg, rgba(5,5,6,.96), rgba(5,5,6,.14) 72%),
        radial-gradient(circle at 76% 18%, rgba(255,31,50,.30), transparent 22rem),
        repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 2px, transparent 2px 18px),
        linear-gradient(135deg, #1e2025, #0c0d10 60%, #16050a);
    box-shadow: var(--shadow);
    clip-path: polygon(0 0, 95% 0, 100% 7%, 100% 100%, 5% 100%, 0 93%);
}

.hero-lead::before {
    content: "HEILIAO NEWS";
    position: absolute;
    top: 44px;
    right: -46px;
    transform: rotate(90deg);
    color: rgba(255,255,255,.06);
    font-size: 34px;
    font-weight: 950;
    letter-spacing: .18em;
    pointer-events: none;
}

.hero-lead::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255,255,255,.06);
    clip-path: polygon(0 0, 38% 0, 38% 1px, 100% 1px, 100% 100%, 60% 100%, 60% calc(100% - 1px), 0 calc(100% - 1px));
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.hero-copy h1 {
    margin: 9px 0 16px;
    color: #fff;
    font-size: clamp(38px, 5vw, 70px);
    line-height: 1.04;
    letter-spacing: -.04em;
    font-weight: 950;
}

.hero-copy p {
    margin: 0 0 22px;
    max-width: 700px;
    color: #d6d6da;
    font-size: 17px;
    line-height: 1.9;
}

.hero-side {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 14px;
}

.side-focus,
.side-list,
.hour-entry-card {
    border: 1px solid var(--line);
    background: linear-gradient(145deg, var(--panel-2), var(--panel));
    box-shadow: var(--shadow);
}

.side-focus {
    padding: 24px;
    border-left: 4px solid var(--red);
}

.side-focus h2 {
    margin: 8px 0 12px;
    color: #fff;
    font-size: 25px;
    line-height: 1.28;
}

.side-focus p,
.side-list p,
.hour-entry-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.side-list {
    padding: 8px 22px;
}

.side-news {
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
}

.side-news:last-child {
    border-bottom: 0;
}

.side-news h3 {
    margin: 5px 0 6px;
    color: #f7f7f8;
    font-size: 17px;
    line-height: 1.42;
}

.hour-entry-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    background:
        linear-gradient(120deg, rgba(255,31,50,.18), transparent 65%),
        var(--panel);
}

.hour-entry-card::after {
    content: "24H";
    position: absolute;
    right: -5px;
    bottom: -24px;
    color: rgba(255,255,255,.055);
    font-size: 90px;
    line-height: 1;
    font-weight: 950;
    pointer-events: none;
}

.hour-entry-card strong {
    display: block;
    margin-bottom: 7px;
    color: #fff;
    font-size: 24px;
}

.meta-tag,
.status-tag,
.number-tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 3px;
    font-size: 11px;
    line-height: 1;
    font-weight: 850;
}

.meta-tag {
    border: 1px solid var(--red-line);
    background: rgba(255,31,50,.10);
    color: var(--red-light);
}

.status-tag {
    border: 1px solid var(--line);
    background: rgba(255,255,255,.035);
    color: var(--muted);
}

.status-tag.red,
.fact-status.confirmed {
    border-color: transparent;
    background: var(--red);
    color: #fff;
}

.status-tag.dark,
.fact-status.outdated {
    border-color: rgba(104,3,13,.9);
    background: var(--red-dark);
    color: #fff;
}

.rank-list {
    counter-reset: rank;
    border-top: 1px solid var(--line);
}

.rank-item {
    counter-increment: rank;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 150px;
    gap: 18px;
    align-items: center;
    padding: 22px 12px;
    border-bottom: 1px solid var(--line);
    transition: background-color .2s ease;
}

.rank-item:hover {
    background: rgba(255,255,255,.022);
}

.rank-item::before {
    content: counter(rank, decimal-leading-zero);
    color: var(--red);
    font-size: 32px;
    font-weight: 950;
    font-style: italic;
    letter-spacing: -.04em;
}

.rank-item h3 {
    margin: 4px 0 7px;
    color: #fff;
    font-size: 20px;
    line-height: 1.35;
}

.rank-item p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.rank-action {
    justify-self: end;
    text-align: right;
}

.rank-action .status-tag {
    margin-bottom: 8px;
}

.article-grid,
.topic-grid,
.principle-grid,
.faq-teaser-grid,
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.article-card,
.topic-card,
.principle-card,
.service-card,
.info-card,
.faq-teaser {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, var(--panel-2), var(--panel));
    box-shadow: 0 13px 34px rgba(0,0,0,.24);
}

.article-card,
.topic-card,
.principle-card,
.service-card,
.info-card {
    padding: 24px;
}

.article-card::before,
.topic-card::before,
.principle-card::before,
.service-card::before,
.info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--red);
    pointer-events: none;
    transition: width .25s ease;
}

.article-card:hover::before,
.topic-card:hover::before,
.principle-card:hover::before,
.service-card:hover::before,
.info-card:hover::before {
    width: 100%;
}

.article-card h3,
.topic-card h3,
.principle-card h3,
.service-card h3,
.info-card h3 {
    margin: 9px 0 10px;
    color: #fff;
    font-size: 20px;
    line-height: 1.38;
}

.article-card p,
.topic-card p,
.principle-card p,
.service-card p,
.info-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.article-card.featured {
    grid-column: span 2;
    min-height: 285px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        linear-gradient(0deg, rgba(7,8,9,.96), rgba(7,8,9,.20)),
        radial-gradient(circle at 80% 14%, rgba(255,31,50,.24), transparent 18rem),
        repeating-linear-gradient(145deg, rgba(255,255,255,.02) 0 2px, transparent 2px 16px),
        #17181d;
}

.article-card.featured h3 {
    max-width: 680px;
    font-size: clamp(25px, 3vw, 38px);
}

.article-card.featured p {
    max-width: 760px;
    font-size: 15px;
}

.editorial-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 18px;
}

.editorial-visual {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 34px;
    border: 1px solid var(--red-line);
    background:
        linear-gradient(0deg, rgba(7,8,9,.96), rgba(7,8,9,.16)),
        radial-gradient(circle at 72% 24%, rgba(255,31,50,.30), transparent 20rem),
        linear-gradient(135deg, #24262b, #101115 58%, #23060d);
    box-shadow: var(--shadow);
}

.editorial-visual::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    top: -90px;
    right: -90px;
    border: 30px solid rgba(255,255,255,.05);
    transform: rotate(25deg);
    pointer-events: none;
}

.editorial-visual h3 {
    position: relative;
    z-index: 1;
    max-width: 630px;
    margin: 8px 0 12px;
    color: #fff;
    font-size: clamp(28px, 3.8vw, 46px);
    line-height: 1.12;
}

.editorial-visual p {
    position: relative;
    z-index: 1;
    max-width: 660px;
    margin: 0;
    color: #d5d5d9;
}

.editorial-list {
    border: 1px solid var(--line);
    background: var(--panel);
}

.editorial-list article {
    padding: 20px 22px;
    border-bottom: 1px solid var(--line);
}

.editorial-list article:last-child {
    border-bottom: 0;
}

.editorial-list h3 {
    margin: 6px 0 7px;
    color: #fff;
    font-size: 18px;
    line-height: 1.38;
}

.editorial-list p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.society-layout,
.app-layout,
.about-layout,
.submit-layout,
.page-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
    gap: 18px;
}

.lead-report {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 4vw, 46px);
    border: 1px solid var(--red-line);
    background:
        linear-gradient(130deg, rgba(255,31,50,.15), transparent 42%),
        var(--panel);
    box-shadow: var(--shadow);
}

.lead-report h3 {
    margin: 10px 0 16px;
    color: #fff;
    font-size: clamp(27px, 4vw, 44px);
    line-height: 1.18;
}

.lead-report p {
    margin: 0 0 16px;
    color: #d1d1d5;
}

.stack-list {
    display: grid;
    gap: 12px;
}

.stack-list .info-card {
    padding: 20px;
}

.timeline {
    position: relative;
    margin-left: 14px;
    padding-left: 36px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(var(--red), rgba(255,31,50,.1));
    pointer-events: none;
}

.timeline-item {
    position: relative;
    margin-bottom: 14px;
    padding: 23px 24px;
    border: 1px solid var(--line);
    background: var(--panel);
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -35px;
    top: 30px;
    width: 15px;
    height: 15px;
    border: 3px solid var(--bg);
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 1px var(--red-line), 0 0 18px rgba(255,31,50,.3);
    pointer-events: none;
}

.timeline-item h3 {
    margin: 7px 0 9px;
    color: #fff;
    font-size: 21px;
}

.timeline-item p {
    margin: 0;
    color: var(--muted);
}

.fact-grid {
    display: grid;
    gap: 14px;
}

.fact-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(180px, .35fr);
    gap: 24px;
    align-items: start;
    padding: 25px;
    border: 1px solid var(--line);
    background: var(--panel);
}

.fact-card h3 {
    margin: 8px 0 10px;
    color: #fff;
    font-size: 21px;
}

.fact-card p {
    margin: 0;
    color: var(--muted);
}

.fact-side {
    display: grid;
    justify-items: start;
    gap: 12px;
}

.fact-status {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 0 11px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 900;
}

.fact-status.partial {
    border: 1px solid var(--red-line);
    background: linear-gradient(90deg, rgba(255,31,50,.32), rgba(255,255,255,.06));
    color: #fff;
}

.fact-status.lacking {
    border: 1px solid var(--line);
    background: #2a2b31;
    color: #dddde0;
}

.fact-status.misread {
    border: 1px solid #fff;
    background: #fff;
    color: var(--red-deep);
}

.fact-side small {
    color: var(--quiet);
    line-height: 1.5;
}

.hour-timeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
}

.hour-item {
    position: relative;
    padding: 21px 22px 21px 92px;
    border: 1px solid var(--line);
    background: var(--panel);
}

.hour-item .hour-label {
    position: absolute;
    left: 18px;
    top: 20px;
    width: 58px;
    color: var(--red-light);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 900;
}

.hour-item h3 {
    margin: 5px 0 7px;
    color: #fff;
    font-size: 18px;
    line-height: 1.4;
}

.hour-item p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.topic-card:nth-child(1),
.topic-card:nth-child(5) {
    grid-column: span 2;
}

.topic-card .topic-index {
    position: absolute;
    top: 10px;
    right: 16px;
    color: rgba(255,255,255,.06);
    font-size: 48px;
    font-weight: 950;
    pointer-events: none;
}

.submit-panel,
.app-panel,
.about-panel,
.editorial-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 4vw, 46px);
    border: 1px solid var(--red-line);
    background:
        linear-gradient(135deg, rgba(255,31,50,.26), rgba(104,3,13,.26) 45%, transparent 76%),
        #13080b;
    box-shadow: var(--red-shadow);
}

.submit-panel::after,
.app-panel::after,
.about-panel::after,
.editorial-panel::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 300px;
    height: 300px;
    border: 34px solid rgba(255,255,255,.035);
    transform: rotate(34deg);
    pointer-events: none;
}

.submit-panel h2,
.app-panel h2,
.about-panel h2,
.editorial-panel h2 {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 9px 0 16px;
    color: #fff;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.15;
}

.submit-panel p,
.app-panel p,
.about-panel p,
.editorial-panel p {
    position: relative;
    z-index: 1;
    margin: 0 0 20px;
    color: #dddde0;
}

.check-list,
.clean-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
}

.check-list li,
.clean-list li {
    position: relative;
    padding-left: 22px;
    color: var(--muted);
}

.check-list li::before,
.clean-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 8px;
    height: 8px;
    transform: translateY(-50%) rotate(45deg);
    background: var(--red);
    pointer-events: none;
}

.app-device {
    position: relative;
    min-height: 430px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at 50% 42%, rgba(255,31,50,.26), transparent 15rem),
        linear-gradient(145deg, #1d1e23, #0d0e11);
}

.app-device::before {
    content: "";
    width: 190px;
    height: 330px;
    border: 8px solid #2f3036;
    border-radius: 28px;
    background:
        linear-gradient(160deg, rgba(255,31,50,.28), transparent 42%),
        #08090b;
    box-shadow: 0 24px 60px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08);
    transform: rotate(6deg);
    pointer-events: none;
}

.app-device::after {
    content: "黑料网\A HEILIAO NEWS";
    position: absolute;
    white-space: pre;
    text-align: center;
    color: #fff;
    font-size: 24px;
    line-height: 1.55;
    font-weight: 950;
    letter-spacing: .03em;
    transform: rotate(6deg);
    pointer-events: none;
}

.principle-card {
    min-height: 205px;
}

.principle-number {
    color: var(--red);
    font-size: 34px;
    line-height: 1;
    font-style: italic;
    font-weight: 950;
}

.notice-box,
.source-note,
.boundary-note,
.final-note {
    position: relative;
    margin-top: 22px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.025);
}

.notice-box {
    border-left: 4px solid var(--red);
}

.source-note {
    border-left: 4px solid #5d5e66;
}

.boundary-note {
    border-color: var(--red-line);
    background: rgba(104,3,13,.16);
}

.final-note {
    margin-top: 52px;
    text-align: center;
    background: linear-gradient(110deg, rgba(255,31,50,.10), rgba(255,255,255,.02));
}

.notice-box h2,
.notice-box h3,
.source-note h2,
.source-note h3,
.boundary-note h2,
.boundary-note h3,
.final-note h2,
.final-note h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 20px;
}

.notice-box p,
.source-note p,
.boundary-note p,
.final-note p {
    margin: 0;
    color: var(--muted);
}

.prose {
    max-width: 900px;
}

.prose h2 {
    margin: 38px 0 12px;
    color: #fff;
    font-size: 28px;
    line-height: 1.25;
}

.prose h3 {
    margin: 26px 0 9px;
    color: #fff;
    font-size: 21px;
}

.prose p {
    margin: 0 0 16px;
    color: #c9c9ce;
}

.prose ul,
.prose ol {
    color: #c9c9ce;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 18px;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.data-table th {
    width: 28%;
    background: rgba(255,31,50,.10);
    color: #fff;
}

.data-table td {
    background: var(--panel);
    color: var(--muted);
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list details {
    border: 1px solid var(--line);
    background: var(--panel);
}

.faq-list details[open] {
    border-color: var(--red-line);
}

.faq-list summary {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 20px;
    color: #fff;
    cursor: pointer;
    font-weight: 850;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border: 1px solid var(--red-line);
    border-radius: 4px;
    color: var(--red-light);
    font-size: 19px;
    line-height: 1;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--muted);
}

.faq-answer p {
    margin: 0;
}

.related-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.related-links a {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    background: var(--panel);
    color: #ededf0;
    font-weight: 780;
}

.related-links a::after {
    content: "→";
    color: var(--red-light);
}

.related-links a:hover {
    border-color: var(--red-line);
    background: var(--hover);
}

.site-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--line);
    background: #050506;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(250px, 1.35fr) repeat(4, minmax(135px, .65fr));
    gap: 32px;
    padding: 52px 0 38px;
}

.footer-brand p {
    max-width: 350px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.footer-logo .brand-copy strong {
    font-size: 23px;
}

.footer-links {
    display: grid;
    align-content: start;
    gap: 7px;
}

.footer-links h2 {
    margin: 0 0 9px;
    color: #fff;
    font-size: 15px;
}

.footer-links a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--red-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    padding: 20px 0 28px;
    border-top: 1px solid var(--line);
}

.footer-bottom p {
    margin: 0;
    color: var(--quiet);
    font-size: 12px;
}

.footer-bottom p:first-child {
    max-width: 850px;
}

.site-overlay {
    position: fixed;
    inset: 0;
    z-index: 1300;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(4px);
    transition: opacity .2s ease, visibility .2s ease;
}

.site-overlay.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.slide-panel {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--desktop-header-height);
    z-index: 1350;
    max-height: calc(100vh - var(--desktop-header-height));
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-22px);
    border-bottom: 1px solid var(--red-line);
    background: #0b0c0f;
    box-shadow: 0 28px 70px rgba(0,0,0,.58);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.slide-panel.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.panel-head {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--line);
}

.panel-head h2 {
    margin: 2px 0 0;
    color: #fff;
    font-size: 30px;
    line-height: 1.1;
}

.panel-close {
    min-width: 72px;
    padding: 0 15px;
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    padding-top: 24px;
    padding-bottom: 34px;
}

.channel-grid section {
    min-width: 0;
}

.channel-grid h3 {
    margin: 0 0 10px;
    color: var(--red-light);
    font-size: 14px;
    letter-spacing: .08em;
}

.channel-grid a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.channel-grid a:hover strong {
    color: var(--red-light);
}

.channel-grid strong,
.channel-grid span {
    display: block;
}

.channel-grid strong {
    color: #fff;
    font-size: 15px;
}

.channel-grid span {
    margin-top: 3px;
    color: var(--quiet);
    font-size: 12px;
    line-height: 1.55;
}

.search-content {
    padding-top: 26px;
    padding-bottom: 36px;
}

.search-content label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 800;
}

.search-content input {
    width: 100%;
    height: 58px;
    padding: 0 18px;
    border: 1px solid var(--red-line);
    border-radius: 6px;
    background: var(--panel);
    color: #fff;
    caret-color: var(--red);
}

.search-content input::placeholder {
    color: var(--quiet);
}

.search-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 22px;
}

.search-keywords button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
}

.search-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.search-links a {
    min-height: 76px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 13px 16px;
    border: 1px solid var(--line);
    background: var(--panel);
}

.search-links a:hover {
    border-color: var(--red-line);
    background: var(--hover);
}

.search-links strong {
    color: #fff;
    font-size: 15px;
}

.search-links span {
    margin-top: 2px;
    color: var(--quiet);
    font-size: 12px;
}

.search-note {
    margin: 18px 0 0;
    color: var(--quiet);
    font-size: 12px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1500;
    width: min(90vw, 420px);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(102%);
    border-left: 1px solid var(--red-line);
    background: #0a0b0e;
    box-shadow: -28px 0 70px rgba(0,0,0,.58);
    transition: transform .22s ease, opacity .22s ease, visibility .22s ease;
}

.mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.mobile-menu-head {
    position: sticky;
    top: 0;
    z-index: 1;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(10,11,14,.96);
}

.mobile-menu-head div {
    display: grid;
    line-height: 1.1;
}

.mobile-menu-head strong {
    color: #fff;
    font-size: 22px;
}

.mobile-menu-head small {
    margin-top: 4px;
    color: var(--quiet);
    font-size: 9px;
    letter-spacing: .16em;
}

.mobile-menu nav {
    display: grid;
    padding: 8px 14px 110px;
}

.mobile-menu nav a {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-bottom: 1px solid var(--line);
    color: #dddde1;
    font-weight: 760;
}

.mobile-menu nav a.is-active {
    border-left: 3px solid var(--red);
    background: rgba(255,31,50,.10);
    color: #fff;
}

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 1120px) {
    .brand-bar {
        grid-template-columns: minmax(205px, auto) 1fr auto;
        gap: 16px;
    }
    .brand-line {
        font-size: 12px;
    }
    .nav-row a {
        padding-inline: 10px;
        font-size: 14px;
    }
    .footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 920px) {
    :root {
        --desktop-header-height: var(--mobile-header-height);
    }
    .shell,
    .page-shell,
    .home-shell {
        width: min(calc(100% - 28px), var(--shell));
    }
    .desktop-header {
        display: none;
    }
    .mobile-header {
        min-height: var(--mobile-header-height);
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr) 52px;
        align-items: center;
        gap: 10px;
    }
    .mobile-top-button,
    .mobile-24 {
        width: 46px;
        height: 44px;
        min-height: 44px;
        padding: 0;
    }
    .mobile-top-button {
        display: grid;
        place-items: center;
        border: 1px solid var(--line);
        background: var(--panel);
        font-size: 20px;
    }
    .mobile-brand {
        min-width: 0;
        display: grid;
        justify-items: center;
        line-height: 1.05;
    }
    .mobile-brand span {
        color: #fff;
        font-size: 20px;
        font-weight: 950;
        letter-spacing: .08em;
    }
    .mobile-brand small {
        margin-top: 3px;
        color: var(--quiet);
        font-size: 8px;
        letter-spacing: .16em;
    }
    .mobile-brand .brand-logo {
        max-width: 150px;
        max-height: 42px;
    }
    .page-shell {
        padding-top: 26px;
        padding-bottom: calc(78px + var(--bottom-nav-height));
    }
    .home-shell {
        padding-top: 16px;
        padding-bottom: calc(82px + var(--bottom-nav-height));
    }
    .hero-stage,
    .editorial-feature,
    .society-layout,
    .app-layout,
    .about-layout,
    .submit-layout,
    .page-columns {
        grid-template-columns: 1fr;
    }
    .hero-lead {
        min-height: 470px;
    }
    .hero-side {
        grid-template-rows: auto;
    }
    .article-grid,
    .topic-grid,
    .principle-grid,
    .faq-teaser-grid,
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .article-card.featured,
    .topic-card:nth-child(1),
    .topic-card:nth-child(5) {
        grid-column: span 2;
    }
    .related-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .footer-bottom {
        flex-direction: column;
    }
    .slide-panel {
        top: var(--mobile-header-height);
        max-height: calc(100vh - var(--mobile-header-height) - var(--bottom-nav-height));
    }
    .channel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1420;
        height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        padding-bottom: env(safe-area-inset-bottom);
        border-top: 1px solid var(--line);
        background: rgba(7,8,9,.97);
        box-shadow: 0 -12px 32px rgba(0,0,0,.38);
        backdrop-filter: blur(14px);
    }
    .mobile-bottom-nav a,
    .mobile-bottom-nav button {
        min-width: 0;
        min-height: 58px;
        display: grid;
        place-items: center;
        align-content: center;
        gap: 2px;
        padding: 5px 2px;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: var(--muted);
        cursor: pointer;
    }
    .mobile-bottom-nav span {
        display: grid;
        place-items: center;
        min-width: 25px;
        height: 24px;
        color: inherit;
        font-size: 13px;
        font-weight: 950;
    }
    .mobile-bottom-nav small {
        color: inherit;
        font-size: 10px;
        line-height: 1;
    }
    .mobile-bottom-nav .is-active {
        color: var(--red-light);
        background: rgba(255,31,50,.07);
    }
    .site-footer {
        padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
    }
}

@media (max-width: 680px) {
    body {
        font-size: 15px;
    }
    .page-hero {
        min-height: 300px;
        padding: 28px 22px 34px;
        clip-path: polygon(0 0, 94% 0, 100% 8%, 100% 100%, 4% 100%, 0 94%);
    }
    .page-hero.compact {
        min-height: 280px;
    }
    .page-hero h1 {
        font-size: clamp(34px, 11vw, 52px);
    }
    .hero-lead {
        min-height: 510px;
        padding: 28px 22px;
        clip-path: polygon(0 0, 92% 0, 100% 5%, 100% 100%, 6% 100%, 0 95%);
    }
    .hero-copy h1 {
        font-size: clamp(38px, 11.5vw, 58px);
    }
    .hero-copy p {
        font-size: 15px;
    }
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
    .content-section {
        margin-top: 48px;
    }
    .rank-item {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 10px;
        padding: 18px 4px;
    }
    .rank-item::before {
        font-size: 26px;
    }
    .rank-action {
        grid-column: 2;
        justify-self: start;
        text-align: left;
    }
    .article-grid,
    .topic-grid,
    .principle-grid,
    .faq-teaser-grid,
    .service-grid,
    .hour-timeline,
    .search-links,
    .related-links,
    .channel-grid {
        grid-template-columns: 1fr;
    }
    .article-card.featured,
    .topic-card:nth-child(1),
    .topic-card:nth-child(5) {
        grid-column: auto;
    }
    .article-card.featured {
        min-height: 330px;
    }
    .fact-card {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .check-list {
        grid-template-columns: 1fr;
    }
    .editorial-visual,
    .app-device {
        min-height: 360px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 26px 18px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .footer-bottom {
        padding-bottom: 20px;
    }
    .panel-head {
        min-height: 74px;
    }
    .panel-head h2 {
        font-size: 25px;
    }
    .channel-grid {
        gap: 8px;
    }
    .timeline {
        margin-left: 6px;
        padding-left: 28px;
    }
    .timeline-item::before {
        left: -27px;
    }
    .data-table,
    .data-table tbody,
    .data-table tr,
    .data-table th,
    .data-table td {
        display: block;
        width: 100%;
    }
    .data-table tr {
        margin-bottom: 10px;
    }
    .data-table th {
        border-bottom: 0;
    }
}

@media (max-width: 420px) {
    .shell,
    .page-shell,
    .home-shell {
        width: min(calc(100% - 28px), var(--shell));
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-brand {
        grid-column: auto;
    }
    .page-hero h1,
    .hero-copy h1 {
        word-break: keep-all;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
