/* 黑料网 HEILIAO NEWS */
:root {
    --page: #060708;
    --deep: #0B0C0F;
    --surface: #111216;
    --surface-2: #18191E;
    --hover: #202126;
    --text: #E9E9EB;
    --title: #FFFFFF;
    --muted: #A5A5AC;
    --faint: #777880;
    --red: #FF1D31;
    --red-bright: #FF3749;
    --red-deep: #B60819;
    --red-dark: #68040E;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 29, 49, 0.42);
    --shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
    --red-shadow: 0 14px 38px rgba(255, 29, 49, 0.18);
    --shell: 1320px;
    --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 78% 0%, rgba(255, 29, 49, 0.10), transparent 32rem),
        linear-gradient(180deg, #060708 0%, #090A0D 48%, #060708 100%);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    line-height: 1.75;
}
body.panel-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--red); color: #fff; }

.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;
    left: 16px;
    top: -80px;
    z-index: 3000;
    padding: 10px 16px;
    background: var(--red);
    color: #fff;
    border-radius: 4px;
    transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6, 7, 8, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.status-bar { background: #040405; border-bottom: 1px solid rgba(255, 29, 49, .28); }
.status-bar__inner {
    min-height: 34px;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(180px, 1fr);
    align-items: center;
    gap: 20px;
    color: var(--muted);
    font-size: 12px;
}
.status-brand { margin: 0; letter-spacing: .02em; }
.status-links, .status-actions { display: flex; align-items: center; gap: 20px; }
.status-actions { justify-content: flex-end; }
.status-links a, .status-actions a, .text-button {
    position: relative;
    transition: color .2s ease;
}
.status-links a:hover, .status-actions a:hover, .text-button:hover { color: #fff; }
.text-button {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.brand-bar { background: var(--deep); }
.brand-bar__inner {
    min-height: 76px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}
.channel-button {
    justify-self: start;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 8px 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface);
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.channel-button:hover { background: var(--hover); border-color: var(--border-strong); transform: translateY(-1px); }
.menu-lines { width: 20px; display: grid; gap: 4px; }
.menu-lines i { display: block; height: 2px; background: var(--red); border-radius: 99px; }
.menu-lines i:nth-child(2) { width: 14px; }
.brand-logo {
    min-width: 190px;
    display: grid;
    place-items: center;
    line-height: 1.05;
    text-align: center;
}
.brand-logo img { max-width: 220px; max-height: 58px; object-fit: contain; }
.brand-logo strong { color: #fff; font-size: clamp(26px, 3vw, 38px); font-weight: 900; letter-spacing: .11em; }
.brand-logo strong::first-letter { color: var(--red); }
.brand-logo small { margin-top: 7px; color: var(--muted); font-size: 10px; letter-spacing: .34em; }
.brand-actions { justify-self: end; display: flex; gap: 8px; }
.brand-action {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 5px;
    transition: background .2s ease, border-color .2s ease;
}
.brand-action:hover { background: var(--hover); border-color: var(--border-strong); }
.brand-action--rank {
    background: linear-gradient(135deg, var(--red-bright) 0%, var(--red) 52%, #9D0615 100%);
    border-color: transparent;
    box-shadow: var(--red-shadow);
}

.category-bar { border-top: 1px solid var(--border); background: rgba(11, 12, 15, .98); }
.category-bar__inner { overflow: visible; }
.category-nav {
    min-height: 48px;
    display: flex;
    align-items: stretch;
    white-space: nowrap;
}
.category-nav > a, .more-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.category-nav > a:hover, .more-button:hover { color: #fff; background: rgba(255,255,255,.035); }
.category-nav > a.is-current { color: #fff; border-bottom-color: var(--red); }
.more-wrap { position: relative; margin-left: auto; }
.more-button::after { content: "＋"; margin-left: 6px; color: var(--red); }
.more-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 220px;
    padding: 8px;
    display: grid;
    gap: 2px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    background: #0D0E11;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 8px;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.more-menu.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
.more-menu a { padding: 10px 12px; color: var(--muted); border-radius: 5px; }
.more-menu a:hover, .more-menu a.is-current { color: #fff; background: var(--surface-2); }

.site-main { min-height: 50vh; }
.section { padding: 64px 0; }
.section--compact { padding: 38px 0; }
.section--dark { background: rgba(4, 4, 5, .52); border-block: 1px solid var(--border); }
.section--redwash {
    background:
        linear-gradient(120deg, rgba(104,4,14,.90), rgba(20,6,10,.96) 55%, rgba(11,12,15,.96)),
        var(--deep);
    border-block: 1px solid rgba(255,29,49,.28);
}
.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}
.section-heading__text { max-width: 760px; }
.eyebrow {
    margin: 0 0 7px;
    color: var(--red-bright);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin-top: 0; color: var(--title); line-height: 1.25; }
h1 { font-size: clamp(34px, 6vw, 68px); letter-spacing: -.04em; }
h2 { font-size: clamp(25px, 4vw, 40px); letter-spacing: -.025em; }
h3 { font-size: clamp(18px, 2vw, 24px); }
.section-heading h2 { margin-bottom: 8px; }
.section-heading p { margin: 0; color: var(--muted); }
.section-link { color: #fff; font-weight: 800; white-space: nowrap; }
.section-link::after { content: " →"; color: var(--red); }

.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: var(--surface-2);
    color: #fff;
    font-weight: 800;
    white-space: nowrap;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); border-color: var(--border-strong); background: var(--hover); }
.btn--primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--red-bright) 0%, var(--red) 52%, #9D0615 100%);
    box-shadow: var(--red-shadow);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tag, .status-tag {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
}
.tag { color: #fff; background: var(--red-deep); }
.status-tag { color: #fff; background: rgba(255,255,255,.08); border: 1px solid var(--border); }
.status-tag--solid { background: var(--red); border-color: var(--red); }
.status-tag--mixed { background: linear-gradient(90deg, var(--red-deep), #35363D); border-color: transparent; }
.status-tag--muted { background: #3A3B40; }
.status-tag--dark { background: var(--red-dark); }
.status-tag--light { background: #fff; color: var(--red-deep); }
.status-tag--outline { background: transparent; border-color: var(--red); color: var(--red-bright); }

.hero-workbench { padding: 38px 0 24px; }
.workbench-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .82fr) minmax(250px, .70fr);
    gap: 16px;
}
.lead-story, .secondary-story, .news-desk, .verify-desk,
.content-card, .rank-item, .feature-card, .policy-card, .faq-card,
.inner-card, .fact-box, .reading-note {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.lead-story { min-height: 510px; display: flex; align-items: end; }
.lead-story::before, .secondary-story::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(6,7,8,.45) 42%, rgba(6,7,8,.96) 100%);
    pointer-events: none;
    z-index: 1;
}
.lead-story__media, .secondary-story__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lead-story__content { position: relative; z-index: 2; padding: clamp(24px, 4vw, 44px); max-width: 760px; }
.lead-story h1 { margin: 15px 0 17px; font-size: clamp(34px, 5vw, 62px); }
.lead-story p { margin: 0 0 22px; color: #D7D7DB; max-width: 700px; }
.story-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.secondary-stack { display: grid; gap: 16px; }
.secondary-story { min-height: 247px; display: flex; align-items: end; }
.secondary-story__content { position: relative; z-index: 2; padding: 24px; }
.secondary-story h2 { margin: 10px 0 10px; font-size: clamp(22px, 2.4vw, 31px); }
.secondary-story p { margin: 0; color: var(--muted); font-size: 14px; }
.desk-stack { display: grid; gap: 16px; }
.news-desk, .verify-desk { padding: 22px; }
.desk-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.desk-title h2 { margin: 0; font-size: 20px; }
.desk-title span { color: var(--red); font-size: 11px; font-weight: 900; }
.desk-list { display: grid; }
.desk-list a { padding: 11px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; line-height: 1.5; }
.desk-list a:first-child { border-top: 0; }
.desk-list a:hover { color: #fff; }
.verify-desk { background: linear-gradient(145deg, rgba(182,8,25,.26), var(--surface) 58%); border-color: var(--border-strong); }
.verify-desk p { color: var(--muted); font-size: 14px; }

.live-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); background: var(--surface); }
.live-item { min-height: 156px; padding: 20px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.live-item:nth-child(4n) { border-right: 0; }
.live-item:nth-last-child(-n+4) { border-bottom: 0; }
.live-time { color: var(--red-bright); font-size: 11px; font-weight: 900; }
.live-item h3 { margin: 7px 0; font-size: 17px; }
.live-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.rank-list { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.rank-item {
    border: 0;
    border-radius: 0;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) 180px;
    gap: 20px;
    align-items: center;
    padding: 20px 24px;
}
.rank-number { color: var(--red); font-size: 34px; font-weight: 950; letter-spacing: -.06em; }
.rank-item h3 { margin: 5px 0 7px; font-size: 20px; }
.rank-item p { margin: 0; color: var(--muted); font-size: 14px; }
.rank-side { display: grid; justify-items: end; gap: 8px; text-align: right; }
.rank-side a { color: #fff; font-weight: 800; font-size: 13px; }

.editorial-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.editorial-main, .editorial-list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.editorial-main { padding: 0; overflow: hidden; }
.editorial-main__media { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.editorial-main__body { padding: 28px; }
.editorial-main h3 { font-size: 30px; margin: 12px 0; }
.editorial-main p { color: var(--muted); }
.editorial-list { padding: 10px 24px; }
.editorial-list article { padding: 19px 0; border-top: 1px solid var(--border); }
.editorial-list article:first-child { border-top: 0; }
.editorial-list h3 { margin: 7px 0; }
.editorial-list p { margin: 0; color: var(--muted); font-size: 14px; }
.short-news-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.content-card { padding: 22px; transition: transform .2s ease, border-color .2s ease; }
.content-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.content-card h3 { margin: 11px 0; }
.content-card p { margin: 0; color: var(--muted); font-size: 14px; }
.card-source { margin-top: 14px !important; color: var(--faint) !important; font-size: 12px !important; }

.poster-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.poster-card {
    min-height: 350px;
    position: relative;
    display: flex;
    align-items: end;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(145deg, #18191E, #0B0C0F);
}
.poster-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,7,8,.05), rgba(6,7,8,.94));
    z-index: 1;
    pointer-events: none;
}
.poster-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster-card__body { position: relative; z-index: 2; padding: 25px; }
.poster-card h3 { margin: 9px 0; font-size: 25px; }
.poster-card p { margin: 0; color: #C8C8CD; font-size: 14px; }

.mosaic-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-auto-rows: minmax(180px, auto); gap: 15px; }
.mosaic-card { padding: 25px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.mosaic-card:first-child { grid-row: span 2; background: linear-gradient(145deg, rgba(182,8,25,.22), var(--surface) 50%); }
.mosaic-card:nth-child(4) { grid-column: span 2; }
.mosaic-card h3 { margin: 12px 0; }
.mosaic-card p { margin: 0; color: var(--muted); }
.topic-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.topic-tags span { padding: 5px 9px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px; color: var(--muted); font-size: 12px; }

.public-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.public-lead { padding: 32px; background: linear-gradient(145deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--radius); }
.public-lead h3 { margin: 12px 0 16px; font-size: 32px; }
.public-lead p { color: var(--muted); }
.public-list { display: grid; gap: 12px; }
.public-list article { padding: 19px 21px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--red-dark); }
.public-list h3 { margin: 0 0 7px; font-size: 18px; }
.public-list p { margin: 0; color: var(--muted); font-size: 14px; }

.dossier-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.dossier-card { padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.dossier-code { color: var(--red); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.dossier-card h3 { margin: 10px 0; font-size: 24px; }
.dossier-card p { color: var(--muted); }
.dossier-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.dossier-meta span { color: var(--muted); font-size: 12px; padding: 4px 8px; background: var(--surface-2); border-radius: 3px; }

.verify-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.verify-card { padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.verify-card h3 { margin: 12px 0; }
.verify-card p { color: var(--muted); }
.verify-evidence { padding: 12px 14px; background: var(--deep); border-left: 3px solid var(--red); color: #CACAD0; font-size: 13px; }

.opinion-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.opinion-card { min-height: 280px; padding: 24px; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); }
.opinion-card h3 { margin: 13px 0; }
.opinion-card p { color: var(--muted); font-size: 14px; }
.opinion-card small { margin-top: auto; color: var(--faint); }

.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--red), var(--red-dark)); }
.timeline-item { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding: 15px 0; }
.timeline-dot { position: relative; z-index: 1; width: 18px; height: 18px; margin: 18px 0 0 15px; border: 4px solid var(--page); border-radius: 50%; background: var(--red); box-shadow: 0 0 0 1px var(--red); }
.timeline-body { padding: 22px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.timeline-body h3 { margin: 7px 0; }
.timeline-body p { margin: 0; color: var(--muted); }

.contribute-box, .app-box, .about-box { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: center; }
.service-visual {
    min-height: 300px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255,29,49,.18), rgba(17,18,22,.95));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
}
.service-visual img { width: 100%; height: 100%; object-fit: contain; }
.service-visual__fallback { padding: 35px; text-align: center; }
.service-visual__fallback strong { display: block; color: #fff; font-size: 42px; letter-spacing: .06em; }
.service-visual__fallback span { color: var(--red-bright); font-size: 12px; letter-spacing: .24em; }
.service-copy h2 { margin-bottom: 16px; }
.service-copy p { color: #C8C8CD; }
.service-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0 22px; }
.service-points span { padding: 12px 14px; background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 5px; font-weight: 700; }

.policy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.policy-card { padding: 22px; }
.policy-number { color: var(--red); font-weight: 950; font-size: 12px; }
.policy-card h3 { margin: 9px 0; }
.policy-card p { margin: 0; color: var(--muted); font-size: 14px; }

.inner-hero { padding: 64px 0 42px; border-bottom: 1px solid var(--border); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: var(--faint); font-size: 13px; }
.breadcrumbs a:hover { color: #fff; }
.inner-hero h1 { margin-bottom: 18px; max-width: 980px; }
.inner-intro { max-width: 900px; margin: 0; color: #C9C9CE; font-size: 17px; }
.inner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.inner-card { padding: 27px; }
.inner-card h2 { margin: 9px 0 13px; font-size: 25px; }
.inner-card p { margin: 0 0 12px; color: var(--muted); }
.inner-card p:last-child { margin-bottom: 0; }
.inner-card ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.card-index { color: var(--red); font-weight: 950; font-size: 12px; letter-spacing: .12em; }
.fact-box, .reading-note { padding: 28px; }
.fact-box { background: linear-gradient(145deg, rgba(104,4,14,.38), var(--surface)); border-color: var(--border-strong); }
.fact-box h2, .reading-note h2 { margin-bottom: 12px; font-size: 26px; }
.fact-box p, .reading-note p { margin: 0; color: #C8C8CD; }
.note-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.faq-list { display: grid; gap: 10px; }
details.faq-card { padding: 0; }
details.faq-card summary { list-style: none; cursor: pointer; padding: 19px 52px 19px 22px; color: #fff; font-weight: 800; position: relative; }
details.faq-card summary::-webkit-details-marker { display: none; }
details.faq-card summary::after { content: "+"; position: absolute; right: 20px; top: 17px; color: var(--red); font-size: 22px; }
details.faq-card[open] summary::after { content: "−"; }
details.faq-card p { margin: 0; padding: 0 22px 21px; color: var(--muted); }
.related-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.related-links a { min-height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 5px; font-weight: 800; }
.related-links a::after { content: "→"; color: var(--red); }
.related-links a:hover { border-color: var(--border-strong); }
.end-note { padding: 24px 0 72px; color: var(--faint); text-align: center; }

.site-footer { padding: 56px 0 24px; background: #040405; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 340px; }
.footer-logo { display: inline-grid; line-height: 1.1; }
.footer-logo img { max-width: 180px; max-height: 54px; object-fit: contain; }
.footer-logo strong { color: #fff; font-size: 28px; letter-spacing: .08em; }
.footer-logo span { margin-top: 5px; color: var(--red); font-size: 10px; letter-spacing: .24em; }
.footer-links { display: grid; align-content: start; gap: 8px; }
.footer-links h2 { margin: 0 0 7px; font-size: 15px; }
.footer-links a { color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-notice { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 30px; color: var(--faint); font-size: 12px; }
.footer-notice p { margin: 0; max-width: 850px; }

.site-overlay {
    position: fixed;
    inset: 0;
    z-index: 1500;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(5px);
    transition: opacity .22s ease, visibility .22s ease;
}
body.panel-open .site-overlay { visibility: visible; opacity: 1; pointer-events: auto; }
.channel-panel {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1600;
    width: min(500px, 90vw);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-102%);
    background: #090A0C;
    border-right: 1px solid var(--border-strong);
    box-shadow: var(--shadow);
    transition: transform .25s ease, visibility .25s ease;
}
body.channel-open .channel-panel { visibility: visible; pointer-events: auto; transform: translateX(0); }
.panel-head { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.panel-brand { display: grid; line-height: 1.1; }
.panel-brand img { max-width: 170px; max-height: 50px; object-fit: contain; }
.panel-brand strong { color: #fff; font-size: 25px; letter-spacing: .08em; }
.panel-brand span { color: var(--red); font-size: 9px; letter-spacing: .24em; }
.panel-close { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 5px; background: var(--surface); font-size: 28px; cursor: pointer; }
.panel-close:hover { background: var(--red-deep); }
.channel-scroll { overflow-y: auto; overscroll-behavior: contain; padding: 20px 22px 50px; }
.channel-group { margin-bottom: 27px; }
.channel-group h2 { padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--border); color: var(--red-bright); font-size: 13px; letter-spacing: .12em; }
.channel-group a { display: grid; gap: 3px; padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,.04); }
.channel-group a:hover { background: var(--surface); }
.channel-group strong { font-size: 16px; }
.channel-group span { color: var(--muted); font-size: 12px; }

.search-panel {
    position: fixed;
    inset: 0;
    z-index: 1600;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: rgba(6,7,8,.98);
    transition: opacity .22s ease, visibility .22s ease;
}
body.search-open .search-panel { visibility: visible; opacity: 1; pointer-events: auto; }
.search-shell { width: min(calc(100% - 40px), 980px); margin: 0 auto; padding: 60px 0 90px; }
.search-head { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.search-head h2 { margin-bottom: 24px; font-size: clamp(32px, 5vw, 54px); }
.search-box { display: block; }
.search-box input {
    width: 100%;
    min-height: 66px;
    padding: 14px 20px;
    border: 1px solid var(--border-strong);
    outline: 0;
    border-radius: 6px;
    background: var(--surface);
    color: #fff;
    font-size: 19px;
}
.search-box input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,29,49,.12); }
.search-tip { color: var(--muted); font-size: 13px; }
.search-results { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.search-results a { min-height: 116px; display: grid; align-content: center; gap: 5px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 5px; }
.search-results a:hover { border-color: var(--red); }
.search-results strong { color: #fff; }
.search-results span { color: var(--muted); font-size: 13px; }
.empty-result { padding: 18px; background: var(--surface); color: var(--muted); border: 1px solid var(--border); }

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

:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; }
[hidden] { display: none !important; }

@media (max-width: 1120px) {
    .workbench-grid { grid-template-columns: 1.25fr .75fr; }
    .desk-stack { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
    .opinion-grid { grid-template-columns: repeat(3, 1fr); }
    .policy-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
    .footer-brand { grid-row: span 2; }
}

@media (max-width: 860px) {
    .shell { width: min(calc(100% - 28px), var(--shell)); }
    .status-bar__inner { grid-template-columns: 1fr auto; gap: 10px; }
    .status-links { display: none; }
    .status-actions a { display: none; }
    .status-actions { gap: 12px; }
    .brand-bar__inner { min-height: 66px; grid-template-columns: auto 1fr auto; gap: 10px; }
    .channel-button { padding: 8px 11px; }
    .channel-button > span:last-child { display: none; }
    .brand-logo { min-width: 0; }
    .brand-logo strong { font-size: 25px; }
    .brand-logo small { font-size: 8px; letter-spacing: .2em; }
    .brand-logo img { max-width: 145px; max-height: 46px; }
    .brand-action--rank { display: none; }
    .brand-action { padding: 8px 11px; }
    .category-bar__inner { width: 100%; }
    .category-nav { overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; padding-inline: 14px; }
    .category-nav::-webkit-scrollbar { display: none; }
    .category-nav > a, .more-button { padding-inline: 14px; flex: 0 0 auto; }
    .more-wrap { margin-left: 0; flex: 0 0 auto; }
    .more-menu { position: fixed; right: 14px; top: 150px; max-height: 65vh; overflow-y: auto; }
    .section { padding: 48px 0; }
    .section-heading { align-items: start; }
    .workbench-grid { grid-template-columns: 1fr; }
    .lead-story { min-height: 520px; }
    .secondary-stack { grid-template-columns: 1fr 1fr; }
    .desk-stack { grid-column: auto; grid-template-columns: 1fr 1fr; }
    .live-strip { grid-template-columns: repeat(2, 1fr); }
    .live-item:nth-child(4n) { border-right: 1px solid var(--border); }
    .live-item:nth-child(2n) { border-right: 0; }
    .live-item:nth-last-child(-n+4) { border-bottom: 1px solid var(--border); }
    .live-item:nth-last-child(-n+2) { border-bottom: 0; }
    .rank-item { grid-template-columns: 62px minmax(0,1fr); }
    .rank-side { grid-column: 2; justify-items: start; text-align: left; }
    .editorial-grid, .public-grid, .contribute-box, .app-box, .about-box { grid-template-columns: 1fr; }
    .short-news-grid { grid-template-columns: repeat(2, 1fr); }
    .poster-row { grid-template-columns: repeat(2, 1fr); }
    .mosaic-grid { grid-template-columns: 1fr 1fr; }
    .mosaic-card:first-child { grid-row: auto; }
    .mosaic-card:nth-child(4) { grid-column: auto; }
    .opinion-grid { grid-template-columns: repeat(2, 1fr); }
    .inner-grid, .note-grid { grid-template-columns: 1fr; }
    .related-links { grid-template-columns: repeat(2, 1fr); }
    .search-results { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
    .status-bar__inner { min-height: 32px; }
    .status-brand { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .brand-action { font-size: 11px; }
    .hero-workbench { padding-top: 18px; }
    .lead-story { min-height: 470px; }
    .lead-story__content { padding: 24px 20px; }
    .lead-story h1 { font-size: 36px; }
    .secondary-stack, .desk-stack { grid-template-columns: 1fr; }
    .secondary-story { min-height: 255px; }
    .section-heading { display: grid; gap: 10px; }
    .section-link { justify-self: start; }
    .live-strip { grid-template-columns: 1fr; }
    .live-item { border-right: 0 !important; border-bottom: 1px solid var(--border) !important; }
    .live-item:last-child { border-bottom: 0 !important; }
    .rank-item { grid-template-columns: 48px minmax(0,1fr); padding: 18px 15px; gap: 12px; }
    .rank-number { font-size: 26px; }
    .editorial-main h3 { font-size: 25px; }
    .short-news-grid, .poster-row, .dossier-grid, .verify-grid, .opinion-grid, .policy-grid { grid-template-columns: 1fr; }
    .poster-card { min-height: 330px; }
    .mosaic-grid { grid-template-columns: 1fr; }
    .service-points { grid-template-columns: 1fr; }
    .service-visual { min-height: 230px; }
    .service-visual__fallback strong { font-size: 32px; }
    .inner-hero { padding: 44px 0 34px; }
    .inner-hero h1 { font-size: 38px; }
    .inner-intro { font-size: 15px; }
    .related-links { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .footer-brand { grid-column: 1 / -1; grid-row: auto; }
    .footer-notice { display: grid; }
    .search-shell { width: min(calc(100% - 28px), 980px); padding-top: 26px; }
    .search-results { grid-template-columns: 1fr; }
    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1400;
        min-height: calc(60px + env(safe-area-inset-bottom));
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        padding-bottom: env(safe-area-inset-bottom);
        background: rgba(8,9,11,.98);
        border-top: 1px solid var(--border-strong);
        box-shadow: 0 -10px 30px rgba(0,0,0,.45);
    }
    .mobile-bottom-nav a, .mobile-bottom-nav button {
        min-height: 60px;
        display: grid;
        place-items: center;
        align-content: center;
        gap: 2px;
        border: 0;
        background: transparent;
        color: var(--muted);
        cursor: pointer;
    }
    .mobile-bottom-nav .is-current { color: var(--red-bright); }
    .mobile-bottom-nav span { font-size: 18px; line-height: 1; }
    .mobile-bottom-nav em { font-style: normal; font-size: 11px; line-height: 1; }
    .channel-panel { bottom: calc(60px + env(safe-area-inset-bottom)); }
}

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

.inner-visual { min-height: 260px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, rgba(255,29,49,.16), var(--surface)); border: 1px solid var(--border); border-radius: var(--radius); }
.inner-visual__image { width: 100%; max-height: 520px; object-fit: contain; }
.inner-visual__fallback { display: grid; gap: 8px; place-items: center; padding: 40px; text-align: center; }
.inner-visual__fallback span { color: #fff; font-size: clamp(30px, 6vw, 58px); font-weight: 900; }
.inner-visual__fallback strong { color: var(--red); font-size: 12px; letter-spacing: .28em; }
