:root {
    --bg: #070809;
    --bg-2: #0d0e11;
    --panel: #121317;
    --panel-2: #18191e;
    --hover: #202127;
    --text: #e8e8ea;
    --title: #ffffff;
    --muted: #a6a6ad;
    --subtle: #777880;
    --red: #ff1f32;
    --red-light: #ff3445;
    --red-dark: #b20718;
    --red-deep: #68030d;
    --border: rgba(255,255,255,.08);
    --red-border: rgba(255,31,50,.38);
    --shadow: 0 16px 42px rgba(0,0,0,.38);
    --red-shadow: 0 14px 36px rgba(255,31,50,.18);
    --shell: 1280px;
    --header-height: 168px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 8% 4%, rgba(255,31,50,.08), transparent 26rem),
        radial-gradient(circle at 96% 34%, rgba(104,3,13,.12), transparent 30rem),
        var(--bg);
    color: var(--text);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.panel-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
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 rgba(255,52,69,.72);
    outline-offset: 3px;
}
[hidden] { display: none !important; }

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 2000;
    transform: translateY(-160%);
    padding: 10px 16px;
    border-radius: 6px;
    background: var(--red);
    color: #fff;
    font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
.shell { width: min(calc(100% - 32px), var(--shell)); margin-inline: auto; }
.site-main { min-height: 65vh; padding-top: calc(var(--header-height) + 28px); padding-bottom: 78px; }

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: rgba(7,8,9,.96);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,.28);
    backdrop-filter: blur(14px);
}
.brand-bar { height: 72px; border-bottom: 1px solid var(--border); }
.brand-bar__inner { height: 100%; display: grid; grid-template-columns: minmax(190px, 1fr) auto minmax(260px, 1fr); align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; min-width: 0; }
.brand__image { width: auto; max-width: 188px; max-height: 48px; object-fit: contain; }
.brand__text { display: inline-grid; line-height: 1; }
.brand__text strong { color: var(--title); font-size: 25px; letter-spacing: .12em; }
.brand__text small { margin-top: 8px; color: var(--red-light); font-size: 10px; font-weight: 800; letter-spacing: .22em; }
.brand-note { margin: 0; color: var(--muted); font-size: 14px; letter-spacing: .1em; text-align: center; white-space: nowrap; }
.brand-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.icon-button, .hour-button {
    min-height: 44px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--panel);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    color: var(--text);
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.icon-button:hover { background: var(--hover); border-color: rgba(255,255,255,.16); transform: translateY(-1px); }
.hour-button { border-color: var(--red-border); background: linear-gradient(135deg, var(--red-light), var(--red) 52%, #9f0615); color: #fff; box-shadow: var(--red-shadow); }
.hour-button span { font-size: 13px; font-weight: 900; }
.hour-button strong { font-size: 12px; }
.hour-button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.hour-button.is-active { box-shadow: 0 0 0 2px rgba(255,255,255,.82), var(--red-shadow); }
.main-nav { height: 52px; background: rgba(13,14,17,.96); }
.main-nav__inner { display: flex; height: 100%; align-items: stretch; overflow: hidden; }
.main-nav__link {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    color: var(--muted);
    font-weight: 800;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease;
}
.main-nav__link::after {
    content: "";
    position: absolute;
    left: 26%; right: 26%; bottom: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform .2s ease;
    pointer-events: none;
}
.main-nav__link:hover, .main-nav__link.is-active { color: #fff; background: rgba(255,255,255,.025); }
.main-nav__link:hover::after, .main-nav__link.is-active::after { transform: scaleX(1); }
.topic-strip { height: 44px; background: #0a0b0d; border-top: 1px solid rgba(255,255,255,.04); }
.topic-strip__inner { height: 100%; display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.topic-strip__inner::-webkit-scrollbar { display: none; }
.topic-strip__mark { flex: 0 0 auto; padding: 3px 8px; border-radius: 3px; background: var(--red); color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.topic-strip__link { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; padding: 0 13px; color: var(--subtle); font-size: 13px; font-weight: 700; white-space: nowrap; }
.topic-strip__link:hover, .topic-strip__link.is-active { color: var(--red-light); }
.mobile-header { display: none; }

/* General editorial components */
.page-hero { margin-bottom: 30px; }
.page-hero__inner {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    padding: clamp(28px, 5vw, 64px);
    border: 1px solid var(--border);
    border-radius: 12px;
    background:
        linear-gradient(115deg, rgba(255,31,50,.14), transparent 45%),
        linear-gradient(145deg, var(--panel-2), #0c0d10 65%);
    box-shadow: var(--shadow);
}
.page-hero__inner::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(var(--red-light), var(--red-dark));
    pointer-events: none;
}
.page-hero__inner::after {
    content: "HEILIAO NEWS";
    position: absolute;
    right: 18px;
    bottom: -15px;
    color: rgba(255,255,255,.035);
    font-size: clamp(48px, 9vw, 118px);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
}
.page-hero__content { position: relative; z-index: 1; max-width: 860px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--red-light); font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--red); }
.page-hero h1 { margin: 14px 0 14px; color: var(--title); font-size: clamp(34px, 5vw, 60px); line-height: 1.12; letter-spacing: -.04em; }
.page-hero p { max-width: 780px; margin: 0; color: var(--muted); font-size: clamp(15px, 1.5vw, 18px); line-height: 1.9; }
.breadcrumbs { margin-bottom: 14px; color: var(--subtle); font-size: 13px; }
.breadcrumbs a:hover { color: var(--red-light); }
.breadcrumbs span { margin: 0 7px; }
.section { padding: 44px 0; }
.section--tight { padding: 28px 0; }
.section--surface { background: linear-gradient(180deg, rgba(18,19,23,.68), rgba(13,14,17,.34)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--red { background: linear-gradient(125deg, rgba(104,3,13,.86), rgba(178,7,24,.38) 50%, rgba(18,19,23,.92)); border-top: 1px solid var(--red-border); border-bottom: 1px solid var(--red-border); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-head__title { margin: 0; color: var(--title); font-size: clamp(25px, 3.4vw, 38px); line-height: 1.25; }
.section-head__title small { display: block; margin-bottom: 8px; color: var(--red-light); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.section-head__desc { max-width: 620px; margin: 0; color: var(--muted); font-size: 14px; }
.section-link { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: var(--red-light); font-weight: 800; }
.section-link::after { content: "→"; transition: transform .2s ease; }
.section-link:hover::after { transform: translateX(4px); }
.content-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 18px; }
.card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--panel);
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-2px); border-color: rgba(255,31,50,.26); background: #15161a; }
.card__body { padding: 22px; }
.card__label, .tag { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 9px; border: 1px solid var(--red-border); border-radius: 3px; background: rgba(255,31,50,.1); color: var(--red-light); font-size: 11px; font-weight: 900; letter-spacing: .06em; }
.card h3 { margin: 12px 0 9px; color: var(--title); font-size: 20px; line-height: 1.45; }
.card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.card__link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--text); font-size: 13px; font-weight: 800; }
.card__link::after { content: "→"; color: var(--red-light); }
.card__link:hover { color: var(--red-light); }
.story-card { grid-column: span 4; }
.story-card--wide { grid-column: span 8; }
.story-card--half { grid-column: span 6; }
.story-card--small { grid-column: span 3; }
.media-frame { position: relative; overflow: hidden; min-height: 180px; background: linear-gradient(135deg, #222329, #111216); }
.media-frame img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.media-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; background: linear-gradient(135deg, rgba(255,31,50,.2), rgba(18,19,23,.85) 55%), repeating-linear-gradient(-45deg, transparent 0 18px, rgba(255,255,255,.02) 18px 19px); color: rgba(255,255,255,.76); font-size: clamp(22px, 4vw, 40px); font-weight: 900; letter-spacing: .12em; text-align: center; }
.media-fallback::after { content: "HEILIAO NEWS"; display: block; margin-top: 8px; color: var(--red-light); font-size: 10px; letter-spacing: .22em; }
.red-edge::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red); pointer-events: none; }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button-primary, .button-secondary {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 6px;
    white-space: nowrap;
    font-weight: 900;
    transition: transform .2s ease, filter .2s ease, border-color .2s ease;
}
.button-primary { border: 1px solid transparent; background: linear-gradient(135deg, var(--red-light), var(--red) 52%, #9f0615); color: #fff; box-shadow: var(--red-shadow); }
.button-secondary { border: 1px solid var(--border); background: rgba(255,255,255,.035); color: var(--title); }
.button-primary:hover, .button-secondary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.button-secondary:hover { border-color: var(--red-border); }

.prose { max-width: 880px; }
.prose h2 { margin: 1.8em 0 .65em; color: var(--title); font-size: 27px; line-height: 1.35; }
.prose h3 { margin: 1.5em 0 .5em; color: var(--title); font-size: 20px; }
.prose p { margin: 0 0 1.1em; color: var(--text); }
.prose a { color: var(--red-light); text-decoration: underline; text-decoration-color: rgba(255,31,50,.42); text-underline-offset: 4px; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li { margin: .55em 0; color: var(--text); }
.intro-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-height) + 18px); display: grid; gap: 16px; }
.sidebar-card { border: 1px solid var(--border); border-radius: 10px; background: var(--panel); padding: 20px; }
.sidebar-card h2, .sidebar-card h3 { margin: 0 0 12px; color: var(--title); font-size: 18px; }
.sidebar-card p { margin: 0; color: var(--muted); font-size: 14px; }
.sidebar-links { display: grid; }
.sidebar-links a { min-height: 44px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.sidebar-links a:first-child { border-top: 0; }
.sidebar-links a::after { content: "›"; color: var(--red-light); }
.sidebar-links a:hover { color: #fff; }
.notice { position: relative; padding: 20px 22px 20px 26px; border: 1px solid var(--red-border); border-radius: 8px; background: rgba(255,31,50,.07); color: var(--muted); }
.notice::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red); }
.notice strong { color: #fff; }
.info-note { padding: 20px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-2); color: var(--muted); font-size: 14px; }
.info-note h3 { margin: 0 0 8px; color: var(--title); font-size: 17px; }
.info-note p { margin: 0; }

.article-list { display: grid; gap: 12px; }
.article-row { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 18px; align-items: center; min-height: 112px; padding: 18px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); }
.article-row:hover { border-color: var(--red-border); }
.article-row__number { width: 48px; color: var(--red); font-size: 28px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; }
.article-row h3 { margin: 0 0 5px; color: var(--title); font-size: 18px; line-height: 1.45; }
.article-row p { margin: 0; color: var(--muted); font-size: 14px; }
.article-row__meta { display: grid; gap: 7px; justify-items: end; min-width: 124px; color: var(--subtle); font-size: 12px; }
.article-row__meta a { min-height: 44px; display: inline-flex; align-items: center; color: var(--red-light); font-weight: 800; }
.status { display: inline-flex; align-items: center; min-height: 27px; padding: 3px 9px; border-radius: 3px; font-size: 11px; font-weight: 900; white-space: nowrap; }
.status--confirmed { background: var(--red); color: #fff; }
.status--partial { background: linear-gradient(90deg, var(--red) 0 45%, #505158 45%); color: #fff; }
.status--insufficient { background: #3a3b40; color: #e5e5e6; }
.status--old { background: var(--red-deep); color: #fff; }
.status--misread { border: 1px solid var(--red); background: #f2f2f3; color: var(--red-dark); }

.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 18px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(var(--red), rgba(255,31,50,.12)); pointer-events: none; }
.timeline-item { position: relative; display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 18px; padding-bottom: 22px; }
.timeline-item__dot { position: relative; z-index: 1; width: 14px; height: 14px; margin: 8px 0 0 12px; border: 3px solid var(--red); border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 5px rgba(255,31,50,.08); }
.timeline-item__body { padding: 18px 20px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); }
.timeline-item__body h3 { margin: 0 0 7px; color: var(--title); font-size: 19px; }
.timeline-item__body p { margin: 0; color: var(--muted); font-size: 14px; }
.timeline-item__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; color: var(--subtle); font-size: 12px; }
.timeline-item__foot a { min-height: 44px; display: inline-flex; align-items: center; color: var(--red-light); font-weight: 800; }
.compact-feed { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 20px; }
.feed-item { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 15px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.feed-item__time { color: var(--red-light); font-size: 12px; font-weight: 900; letter-spacing: .06em; }
.feed-item h3 { margin: 0 0 5px; color: var(--title); font-size: 16px; line-height: 1.45; }
.feed-item p { margin: 0; color: var(--muted); font-size: 13px; }
.feed-item a { display: inline-flex; min-height: 44px; align-items: center; margin-top: 5px; color: var(--red-light); font-size: 12px; font-weight: 800; }

.topic-visual { min-height: 280px; margin-bottom: 28px; border: 1px solid var(--border); border-radius: 10px; }
.topic-cloud { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.topic-card { min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border: 1px solid var(--border); border-radius: 9px; background: linear-gradient(145deg, var(--panel-2), var(--panel)); }
.topic-card:nth-child(3n+1) { transform: translateY(8px); }
.topic-card h3 { margin: 0 0 8px; color: var(--title); font-size: 18px; }
.topic-card p { margin: 0; color: var(--muted); font-size: 13px; }
.topic-card a { min-height: 44px; display: inline-flex; align-items: center; margin-top: 14px; color: var(--red-light); font-size: 13px; font-weight: 800; }
.principle-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.principle { position: relative; min-height: 190px; padding: 24px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); }
.principle__number { color: rgba(255,31,50,.24); font-size: 42px; font-weight: 900; line-height: 1; }
.principle h3 { margin: -4px 0 10px; color: var(--title); font-size: 19px; }
.principle p { margin: 0; color: var(--muted); font-size: 14px; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.service-card { min-height: 150px; padding: 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; background: rgba(0,0,0,.18); }
.service-card strong { display: block; margin-bottom: 8px; color: #fff; font-size: 17px; }
.service-card p { margin: 0; color: rgba(255,255,255,.72); font-size: 13px; }

.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--border); border-radius: 8px; background: var(--panel); }
.faq-list summary { position: relative; min-height: 54px; display: flex; align-items: center; padding: 14px 52px 14px 18px; color: var(--title); cursor: pointer; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--red-light); font-size: 24px; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 18px 18px; color: var(--muted); font-size: 14px; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--border); border-radius: 6px; background: var(--panel); color: var(--muted); font-size: 13px; font-weight: 700; }
.related-links a:hover { border-color: var(--red-border); color: #fff; }
.end-note { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--subtle); font-size: 13px; }

/* Homepage */
.home-focus { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(320px, 1fr); gap: 18px; }
.focus-lead { position: relative; min-height: 520px; overflow: hidden; border: 1px solid var(--border); border-radius: 8px 8px 18px 8px; background: var(--panel); box-shadow: var(--shadow); }
.focus-lead .media-frame { position: absolute; inset: 0; min-height: 100%; }
.focus-lead .media-frame img { width: 100%; height: 100%; object-fit: cover; }
.focus-lead .media-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 22%, rgba(7,8,9,.34) 53%, rgba(7,8,9,.97) 92%); pointer-events: none; }
.focus-lead .media-fallback { align-content: start; justify-items: start; padding: 42px; text-align: left; background: radial-gradient(circle at 80% 10%, rgba(255,31,50,.28), transparent 32%), linear-gradient(135deg, #2a0b10, #111216 55%, #08090b); }
.focus-lead__content { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(24px, 4vw, 44px); }
.focus-lead h1 { max-width: 850px; margin: 13px 0 13px; color: #fff; font-size: clamp(30px, 4.5vw, 52px); line-height: 1.18; letter-spacing: -.04em; }
.focus-lead p { max-width: 780px; margin: 0; color: rgba(255,255,255,.76); font-size: 15px; line-height: 1.85; }
.focus-side { display: grid; grid-template-rows: auto repeat(3, 1fr) auto; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--panel); }
.focus-side__intro { padding: 22px; background: linear-gradient(135deg, rgba(255,31,50,.16), transparent); border-bottom: 1px solid var(--border); }
.focus-side__intro h2 { margin: 5px 0 8px; color: #fff; font-size: 22px; }
.focus-side__intro p { margin: 0; color: var(--muted); font-size: 13px; }
.focus-mini { display: block; padding: 17px 20px; border-bottom: 1px solid var(--border); }
.focus-mini:hover { background: var(--hover); }
.focus-mini span { color: var(--red-light); font-size: 11px; font-weight: 900; }
.focus-mini h3 { margin: 6px 0 5px; color: #fff; font-size: 16px; line-height: 1.45; }
.focus-mini p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.focus-side__hour { min-height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; background: linear-gradient(90deg, var(--red-dark), var(--red)); color: #fff; font-weight: 900; }
.focus-side__hour::after { content: "→"; }
.home-entertainment { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; }
.home-entertainment__lead { min-height: 480px; }
.home-entertainment__list { display: grid; gap: 12px; }
.mini-story { min-height: 108px; display: grid; align-content: center; padding: 17px 20px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); }
.mini-story span { color: var(--red-light); font-size: 11px; font-weight: 900; }
.mini-story h3 { margin: 4px 0 5px; color: #fff; font-size: 17px; line-height: 1.4; }
.mini-story p { margin: 0; color: var(--muted); font-size: 12px; }
.mini-story:hover { border-color: var(--red-border); background: var(--hover); }
.about-split, .app-split, .submit-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.72fr); gap: 28px; align-items: center; }
.about-split__visual, .app-split__visual, .submit-split__visual { position: relative; min-height: 340px; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: linear-gradient(135deg, #2a0b10, var(--panel)); }
.about-split__visual .media-frame, .app-split__visual .media-frame, .submit-split__visual .media-frame { position: absolute; inset: 0; height: 100%; }
.about-split__visual img, .app-split__visual img, .submit-split__visual img { width: 100%; height: 100%; object-fit: cover; }
.about-split h2, .app-split h2, .submit-split h2 { margin: 0 0 14px; color: #fff; font-size: clamp(28px, 3.8vw, 44px); line-height: 1.25; }
.about-split p, .app-split p, .submit-split p { margin: 0 0 1em; color: var(--muted); }

/* Submission, app and utility pages */
.rule-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.rule-item { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 13px; padding: 18px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); }
.rule-item__icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,31,50,.12); color: var(--red-light); font-weight: 900; }
.rule-item h3 { margin: 0 0 5px; color: #fff; font-size: 16px; }
.rule-item p { margin: 0; color: var(--muted); font-size: 13px; }
.prohibited { border: 1px solid var(--red-border); border-radius: 10px; background: linear-gradient(145deg, rgba(104,3,13,.36), var(--panel)); padding: 24px; }
.prohibited h2 { margin: 0 0 14px; color: #fff; }
.prohibited-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.prohibited-grid span { min-height: 44px; display: flex; align-items: center; padding: 8px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 6px; background: rgba(0,0,0,.15); color: var(--text); font-size: 13px; }
.definition-list { display: grid; gap: 12px; }
.definition-row { display: grid; grid-template-columns: minmax(170px,.35fr) minmax(0,1fr); gap: 20px; padding: 20px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); }
.definition-row dt { color: #fff; font-weight: 900; }
.definition-row dd { margin: 0; color: var(--muted); }
.contact-path { counter-reset: contact; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.contact-step { position: relative; min-height: 190px; padding: 24px; border: 1px solid var(--border); border-radius: 9px; background: var(--panel); }
.contact-step::before { counter-increment: contact; content: "0" counter(contact); display: block; margin-bottom: 20px; color: var(--red); font-size: 28px; font-weight: 900; line-height: 1; }
.contact-step h3 { margin: 0 0 8px; color: #fff; }
.contact-step p { margin: 0; color: var(--muted); font-size: 13px; }

/* Footer */
.site-footer { position: relative; z-index: 2; border-top: 1px solid var(--border); background: #050506; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(120px,1fr)); gap: 36px; padding-top: 52px; padding-bottom: 38px; }
.footer-brand p { max-width: 300px; margin: 18px 0 0; color: var(--subtle); font-size: 13px; }
.brand--footer .brand__image { max-height: 44px; }
.footer-grid nav { display: grid; align-content: start; gap: 8px; }
.footer-grid nav h2 { margin: 0 0 8px; color: #fff; font-size: 14px; }
.footer-grid nav a { min-height: 44px; display: flex; align-items: center; color: var(--subtle); font-size: 13px; }
.footer-grid nav a:hover { color: var(--red-light); }
.footer-note { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--border); }
.footer-note p { margin: 0; color: #66676e; font-size: 12px; }
.footer-note p:first-child { max-width: 820px; }

/* Panels */
.site-overlay {
    position: fixed;
    inset: 0;
    z-index: 1090;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: rgba(0,0,0,.72);
    transition: opacity .22s ease, visibility .22s ease;
}
.site-overlay.is-visible { visibility: visible; opacity: 1; pointer-events: auto; }
.drop-panel, .search-panel {
    position: fixed;
    z-index: 1100;
    left: 0; right: 0;
    top: var(--header-height);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    border-top: 1px solid var(--red-border);
    border-bottom: 1px solid var(--border);
    background: rgba(13,14,17,.99);
    box-shadow: var(--shadow);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}
.drop-panel.is-open, .search-panel.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
.drop-panel__head, .search-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; padding-bottom: 18px; }
.drop-panel__head h2, .search-panel__head h2 { margin: 5px 0 0; color: #fff; font-size: 26px; }
.panel-close { width: 46px; height: 46px; flex: 0 0 auto; border: 1px solid var(--border); border-radius: 50%; background: var(--panel-2); color: #fff; cursor: pointer; font-size: 28px; line-height: 1; }
.panel-close:hover { border-color: var(--red-border); background: var(--red-deep); }
.channel-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; padding-bottom: 32px; }
.channel-grid section { padding: 18px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); }
.channel-grid h3 { margin: 0 0 12px; color: var(--red-light); font-size: 14px; }
.channel-grid a { display: grid; min-height: 74px; align-content: center; padding: 10px 0; border-top: 1px solid var(--border); }
.channel-grid a:first-of-type { border-top: 0; }
.channel-grid strong { color: #fff; font-size: 14px; }
.channel-grid span { margin-top: 4px; color: var(--subtle); font-size: 11px; line-height: 1.5; }
.channel-grid a:hover strong { color: var(--red-light); }
.search-panel__body { padding-bottom: 32px; }
.search-box { min-height: 58px; display: flex; align-items: center; gap: 12px; padding: 0 18px; border: 1px solid var(--red-border); border-radius: 8px; background: var(--panel); box-shadow: var(--red-shadow); }
.search-box input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font-size: 16px; }
.search-box input::placeholder { color: var(--subtle); }
.search-box span { color: var(--red-light); font-size: 24px; }
.search-help { margin: 10px 0 15px; color: var(--subtle); font-size: 12px; }
.search-keywords { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.search-keywords button { min-height: 38px; padding: 0 12px; border: 1px solid var(--border); border-radius: 20px; background: var(--panel-2); color: var(--muted); cursor: pointer; font-size: 12px; }
.search-keywords button:hover { border-color: var(--red-border); color: #fff; }
.search-links { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; }
.search-link { min-height: 90px; display: grid; align-content: center; padding: 15px; border: 1px solid var(--border); border-radius: 7px; background: var(--panel); color: #fff; font-weight: 800; }
.search-link span { margin-top: 5px; color: var(--subtle); font-size: 11px; font-weight: 400; }
.search-link:hover { border-color: var(--red-border); background: var(--hover); }
.mobile-drawer {
    position: fixed;
    z-index: 1110;
    inset: 0 0 0 auto;
    width: min(90vw, 380px);
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(104%);
    background: #0b0c0e;
    box-shadow: -18px 0 42px rgba(0,0,0,.55);
    transition: transform .25s ease, visibility .25s ease;
}
.mobile-drawer.is-open { visibility: visible; pointer-events: auto; transform: translateX(0); }
.mobile-drawer__head { position: sticky; top: 0; z-index: 2; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 16px; border-bottom: 1px solid var(--border); background: rgba(11,12,14,.97); }
.mobile-drawer__brand { display: grid; line-height: 1.1; }
.mobile-drawer__brand strong { color: #fff; font-size: 21px; letter-spacing: .12em; }
.mobile-drawer__brand span { margin-top: 7px; color: var(--red-light); font-size: 9px; font-weight: 900; letter-spacing: .2em; }
.mobile-menu { display: grid; padding: 10px 16px calc(28px + env(safe-area-inset-bottom)); }
.mobile-menu a { min-height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px; border-bottom: 1px solid var(--border); color: var(--muted); font-weight: 700; }
.mobile-menu a::after { content: "›"; color: var(--red-light); }
.mobile-menu a:hover { color: #fff; }
.mobile-bottom { display: none; }

@media (max-width: 1080px) {
    .brand-bar__inner { grid-template-columns: minmax(170px,1fr) auto; }
    .brand-note { display: none; }
    .main-nav__link { padding-inline: 8px; font-size: 14px; }
    .home-focus { grid-template-columns: minmax(0,1.5fr) minmax(290px,.9fr); }
    .story-card--small { grid-column: span 6; }
    .topic-cloud { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .principle-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .search-links { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .footer-grid { grid-template-columns: 1.4fr repeat(2, minmax(140px,1fr)); }
    .footer-brand { grid-row: span 2; }
    .contact-path { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 800px) {
    :root { --header-height: 64px; }
    .shell { width: min(calc(100% - 28px), var(--shell)); }
    .site-main { padding-top: calc(var(--header-height) + 18px); padding-bottom: 104px; }
    .brand-bar, .main-nav, .topic-strip { display: none; }
    .mobile-header { height: 64px; display: grid; grid-template-columns: 54px minmax(0,1fr) 54px; align-items: center; padding: 0 10px; }
    .mobile-header__button, .mobile-header__hour { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 7px; background: var(--panel); color: #fff; cursor: pointer; font-size: 18px; }
    .mobile-header__hour { justify-self: end; border-color: var(--red-border); background: linear-gradient(135deg, var(--red-light), var(--red-dark)); font-size: 12px; font-weight: 900; }
    .mobile-header__hour.is-active { box-shadow: 0 0 0 2px #fff; }
    .mobile-brand { min-width: 0; justify-self: center; display: grid; justify-items: center; line-height: 1; }
    .mobile-brand__image { width: auto; max-width: 150px; max-height: 42px; object-fit: contain; }
    .mobile-brand span { color: #fff; font-size: 20px; font-weight: 900; letter-spacing: .12em; }
    .mobile-brand small { margin-top: 5px; color: var(--red-light); font-size: 8px; font-weight: 900; letter-spacing: .18em; }
    .drop-panel, .search-panel { top: var(--header-height); max-height: calc(100vh - var(--header-height)); }
    .channel-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .search-links { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .mobile-bottom {
        position: fixed;
        z-index: 1050;
        left: 0; right: 0; bottom: 0;
        display: grid;
        grid-template-columns: repeat(5, minmax(0,1fr));
        min-height: calc(62px + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
        border-top: 1px solid var(--border);
        background: rgba(8,9,11,.97);
        box-shadow: 0 -12px 30px rgba(0,0,0,.34);
        backdrop-filter: blur(12px);
    }
    .mobile-bottom a, .mobile-bottom button { min-width: 0; min-height: 62px; display: grid; place-items: center; align-content: center; gap: 2px; border: 0; background: transparent; color: var(--subtle); cursor: pointer; }
    .mobile-bottom span { font-size: 18px; line-height: 1; }
    .mobile-bottom strong { font-size: 10px; }
    .mobile-bottom a.is-active, .mobile-bottom button.is-active { color: var(--red-light); }
    .page-hero__inner { min-height: 200px; }
    .intro-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
    .home-focus { grid-template-columns: 1fr; }
    .focus-lead { min-height: 500px; }
    .focus-side { grid-template-rows: auto; }
    .home-entertainment { grid-template-columns: 1fr; }
    .story-card, .story-card--wide, .story-card--half { grid-column: span 6; }
    .compact-feed { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .about-split, .app-split, .submit-split { grid-template-columns: 1fr; }
    .about-split__visual, .app-split__visual, .submit-split__visual { min-height: 280px; }
    .prohibited-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; }
    .footer-brand { grid-column: 1 / -1; grid-row: auto; }
    .footer-note { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (max-width: 560px) {
    body { font-size: 15px; }
    .shell { width: min(calc(100% - 28px), var(--shell)); }
    .section { padding: 34px 0; }
    .section-head { align-items: flex-start; flex-direction: column; gap: 10px; }
    .section-head__title { font-size: 27px; }
    .page-hero__inner { padding: 25px 22px; border-radius: 8px; }
    .page-hero h1 { font-size: 36px; }
    .page-hero p { font-size: 14px; }
    .home-focus { gap: 12px; }
    .focus-lead { min-height: 490px; }
    .focus-lead__content { padding: 22px; }
    .focus-lead h1 { font-size: 34px; }
    .focus-lead p { font-size: 13px; }
    .content-grid { gap: 12px; }
    .story-card, .story-card--wide, .story-card--half, .story-card--small { grid-column: 1 / -1; }
    .card__body { padding: 19px; }
    .article-row { grid-template-columns: 42px minmax(0,1fr); gap: 12px; }
    .article-row__number { width: 42px; font-size: 25px; }
    .article-row__meta { grid-column: 2; grid-row: 2; justify-items: start; min-width: 0; }
    .article-row h3 { font-size: 16px; }
    .article-row p { font-size: 13px; }
    .timeline-item { gap: 10px; }
    .timeline-item__body { padding: 16px; }
    .feed-item { grid-template-columns: 78px minmax(0,1fr); gap: 10px; }
    .topic-cloud, .principle-grid, .service-grid, .rule-list, .sidebar { grid-template-columns: 1fr; }
    .topic-card:nth-child(3n+1) { transform: none; }
    .channel-grid { grid-template-columns: 1fr; }
    .channel-grid section { padding: 16px; }
    .search-links { grid-template-columns: 1fr; }
    .drop-panel__head h2, .search-panel__head h2 { font-size: 22px; }
    .prohibited-grid { grid-template-columns: 1fr; }
    .definition-row { grid-template-columns: 1fr; gap: 7px; }
    .contact-path { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; padding-top: 40px; gap: 24px 18px; }
    .footer-brand { grid-column: 1 / -1; }
    .button-primary, .button-secondary { width: 100%; }
}

@media (max-width: 380px) {
    .mobile-brand span { font-size: 18px; }
    .mobile-brand small { letter-spacing: .12em; }
    .focus-lead h1 { font-size: 30px; }
    .footer-grid { grid-template-columns: 1fr; }
}

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