:root {
    --bg: #070809;
    --bg-deep: #050506;
    --bg-soft: #0d0e11;
    --surface: #121317;
    --surface-soft: #18191e;
    --surface-hover: #202127;
    --text: #e8e8ea;
    --heading: #ffffff;
    --muted: #a6a6ad;
    --quiet: #777880;
    --red: #ff1f32;
    --red-bright: #ff3445;
    --red-deep: #b20718;
    --red-dark: #68030d;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --red-border: 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);
    --button-gradient: linear-gradient(135deg, #ff3445 0%, #ff1f32 52%, #9f0615 100%);
    --shell: 1280px;
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 14px;
    --header-height-desktop: 154px;
    --header-height-mobile: 104px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
    min-width: 320px;
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 4%, rgba(255, 31, 50, 0.09), transparent 26rem),
        radial-gradient(circle at 86% 20%, rgba(178, 7, 24, 0.07), transparent 30rem),
        var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.72;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.is-locked {
    overflow: hidden;
}

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

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(255, 52, 69, 0.72);
    outline-offset: 3px;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
figure,
blockquote {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--heading);
    line-height: 1.22;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.05rem, 4.2vw, 4.35rem);
}

h2 {
    font-size: clamp(1.55rem, 2.5vw, 2.55rem);
}

h3 {
    font-size: clamp(1.06rem, 1.4vw, 1.34rem);
}

p:last-child,
ul:last-child,
ol:last-child {
    margin-bottom: 0;
}

::selection {
    background: var(--red);
    color: #fff;
}

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

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

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

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    background: rgba(7, 8, 9, 0.96);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
}

.desktop-brandbar {
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(90deg, rgba(255, 31, 50, 0.05), transparent 28%),
        var(--bg-soft);
}

.brandbar-inner {
    min-height: 68px;
    display: grid;
    grid-template-columns: minmax(210px, 0.8fr) minmax(260px, 1.5fr) minmax(290px, auto);
    align-items: center;
    gap: 24px;
}

.brand-link,
.footer-brand-link,
.mobile-brand-link,
.mobile-menu-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.brand {
    display: inline-flex;
    align-items: flex-start;
    flex-direction: column;
    line-height: 1;
    min-width: 0;
}

.brand img {
    width: auto;
    max-width: 184px;
    height: 48px;
    object-fit: contain;
}

.brand strong {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 950;
    letter-spacing: 0.09em;
    white-space: nowrap;
    text-shadow: 0 0 24px rgba(255, 31, 50, 0.18);
}

.brand strong::first-letter {
    color: var(--red);
}

.brand small {
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.26em;
    white-space: nowrap;
}

.brand-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    letter-spacing: 0.09em;
}

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

.icon-button,
.mobile-icon-button,
.panel-close,
.mobile-bottom-nav button {
    border: 0;
    cursor: pointer;
}

.icon-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 800;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.icon-button:hover {
    border-color: var(--red-border);
    background: var(--surface-hover);
    transform: translateY(-1px);
}

.hour-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 17px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    background: var(--button-gradient);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 900;
    box-shadow: var(--red-shadow);
    white-space: nowrap;
}

.hour-button span {
    font-size: 1.06rem;
}

.icon,
.bottom-icon {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.icon::before,
.icon::after,
.bottom-icon::before,
.bottom-icon::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.icon-search::before {
    width: 9px;
    height: 9px;
    top: 1px;
    left: 1px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.icon-search::after {
    width: 7px;
    height: 2px;
    right: 0;
    bottom: 3px;
    background: currentColor;
    transform: rotate(45deg);
    transform-origin: center;
}

.icon-grid::before {
    inset: 1px;
    background:
        linear-gradient(currentColor, currentColor) 0 0 / 6px 6px no-repeat,
        linear-gradient(currentColor, currentColor) 100% 0 / 6px 6px no-repeat,
        linear-gradient(currentColor, currentColor) 0 100% / 6px 6px no-repeat,
        linear-gradient(currentColor, currentColor) 100% 100% / 6px 6px no-repeat;
    border-radius: 1px;
}

.icon-menu::before,
.icon-menu::after {
    left: 1px;
    width: 16px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 6px 0 currentColor;
}

.icon-menu::before {
    top: 2px;
}

.icon-menu::after {
    display: none;
}

.desktop-primary {
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.primary-nav {
    min-height: 48px;
    display: flex;
    align-items: stretch;
    gap: clamp(10px, 2.4vw, 38px);
    overflow: hidden;
}

.primary-link {
    position: relative;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 850;
    white-space: nowrap;
    transition: color 0.18s ease;
}

.primary-link::after {
    content: "";
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: 0;
    height: 3px;
    transform: scaleX(0);
    transform-origin: center;
    background: var(--red);
    transition: transform 0.18s ease;
    pointer-events: none;
}

.primary-link:hover,
.primary-link.is-active {
    color: #fff;
}

.primary-link:hover::after,
.primary-link.is-active::after {
    transform: scaleX(1);
}

.topic-strip-wrap {
    background: #0a0b0d;
}

.topic-strip {
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

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

.topic-link {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border-left: 2px solid transparent;
    color: var(--quiet);
    font-size: 0.78rem;
    font-weight: 750;
    white-space: nowrap;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.topic-link:hover,
.topic-link.is-active {
    border-color: var(--red);
    background: rgba(255, 31, 50, 0.08);
    color: #fff;
}

.mobile-brandbar {
    display: none;
}

/* Base content */
.site-main {
    min-height: 62vh;
}

.section {
    position: relative;
    padding-block: clamp(54px, 7vw, 92px);
}

.section + .section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-dark {
    background: linear-gradient(180deg, rgba(13, 14, 17, 0.9), rgba(7, 8, 9, 0.95));
}

.section-redwash {
    background:
        linear-gradient(115deg, rgba(104, 3, 13, 0.46), rgba(18, 19, 23, 0.95) 56%),
        var(--surface);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.section-head h2 {
    margin-bottom: 0;
}

.section-head p {
    max-width: 640px;
    margin: 0;
    color: var(--muted);
}

.section-title-wrap {
    position: relative;
    padding-left: 18px;
}

.section-title-wrap::before {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    width: 5px;
    background: var(--red);
    box-shadow: 0 0 18px rgba(255, 31, 50, 0.45);
    pointer-events: none;
}

.kicker,
.eyebrow,
.panel-kicker,
.card-tag,
.story-label,
.status-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--red-bright);
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.kicker::before,
.eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    background: currentColor;
    pointer-events: none;
}

.section-link,
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 850;
    white-space: nowrap;
}

.section-link::after,
.text-link::after {
    content: "→";
    color: var(--red);
    transition: transform 0.18s ease;
}

.section-link:hover::after,
.text-link:hover::after {
    transform: translateX(4px);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid var(--red-border);
    border-radius: var(--radius-sm);
    background: var(--button-gradient);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 900;
    box-shadow: var(--red-shadow);
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(255, 31, 50, 0.22);
}

.btn-secondary {
    border-color: var(--border-strong);
    background: var(--surface-soft);
    box-shadow: none;
}

.btn-secondary:hover {
    border-color: var(--red-border);
    background: var(--surface-hover);
    box-shadow: none;
}

/* Media */
.story-media {
    position: relative;
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    isolation: isolate;
}

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

.media-fallback {
    min-height: 220px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(255, 31, 50, 0.2), transparent 38%),
        linear-gradient(35deg, rgba(255, 255, 255, 0.04), transparent 60%),
        repeating-linear-gradient(125deg, transparent 0 22px, rgba(255, 255, 255, 0.018) 22px 23px),
        #111216;
}

.media-fallback::before,
.media-fallback::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.media-fallback::before {
    width: 46%;
    aspect-ratio: 1;
    top: -22%;
    right: -8%;
    border: 1px solid rgba(255, 31, 50, 0.24);
    transform: rotate(28deg);
}

.media-fallback::after {
    width: 72%;
    height: 1px;
    left: 14%;
    bottom: 17%;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.media-fallback .media-mark {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(0.8rem, 1.9vw, 1.25rem);
    font-weight: 950;
    letter-spacing: 0.28em;
    text-align: center;
}

.media-fallback i,
.media-fallback b {
    position: absolute;
    pointer-events: none;
}

.media-fallback i {
    width: 24%;
    height: 6px;
    left: 0;
    top: 18%;
    background: var(--red);
    transform: skewX(-24deg);
}

.media-fallback b {
    width: 9px;
    height: 52%;
    right: 9%;
    bottom: 0;
    background: rgba(255, 31, 50, 0.23);
    transform: skewX(-18deg);
}

/* Home hero */
.home-stage {
    padding-block: 26px clamp(58px, 7vw, 90px);
}

.news-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(300px, 0.95fr);
    gap: 18px;
}

.lead-feature {
    position: relative;
    min-height: 520px;
    display: grid;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md) var(--radius-md) var(--radius-xs) var(--radius-xs);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.lead-feature .story-media {
    grid-area: 1 / 1;
    min-height: 520px;
    border: 0;
    border-radius: 0;
}

.lead-feature .story-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 8, 9, 0.08) 15%, rgba(7, 8, 9, 0.92) 82%);
    pointer-events: none;
}

.lead-feature .media-mark {
    position: absolute;
    top: 30px;
    right: 28px;
    z-index: 1;
    opacity: 0.18;
}

.lead-feature-content {
    position: relative;
    z-index: 2;
    grid-area: 1 / 1;
    align-self: end;
    max-width: 900px;
    padding: clamp(24px, 4vw, 46px);
}

.lead-feature-content h1 {
    max-width: 920px;
    margin: 12px 0 18px;
    font-size: clamp(2rem, 4vw, 4rem);
}

.lead-feature-content p {
    max-width: 760px;
    margin-bottom: 23px;
    color: #d8d8dc;
    font-size: clamp(0.98rem, 1.25vw, 1.08rem);
}

.lead-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 750;
}

.lead-meta span:first-child {
    color: #fff;
}

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

.rail-focus,
.rail-list,
.rail-hour {
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.rail-focus {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: var(--radius-md) var(--radius-xs) var(--radius-md) var(--radius-xs);
}

.rail-focus::before {
    content: "";
    position: absolute;
    width: 88px;
    height: 88px;
    top: -38px;
    right: -28px;
    border: 18px solid rgba(255, 31, 50, 0.12);
    transform: rotate(24deg);
    pointer-events: none;
}

.rail-focus h2 {
    margin: 9px 0 11px;
    font-size: 1.42rem;
}

.rail-focus p {
    margin-bottom: 13px;
    color: var(--muted);
    font-size: 0.91rem;
}

.rail-list {
    padding: 8px 20px;
    border-radius: var(--radius-xs);
}

.rail-story {
    display: block;
    padding: 15px 0;
}

.rail-story + .rail-story {
    border-top: 1px solid var(--border);
}

.rail-story span {
    color: var(--red-bright);
    font-size: 0.69rem;
    font-weight: 900;
}

.rail-story h3 {
    margin: 5px 0 7px;
    font-size: 1rem;
    transition: color 0.18s ease;
}

.rail-story p {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

.rail-story:hover h3 {
    color: var(--red-bright);
}

.rail-hour {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-color: var(--red-border);
    border-radius: var(--radius-xs) var(--radius-md) var(--radius-xs) var(--radius-md);
    background: linear-gradient(125deg, rgba(104, 3, 13, 0.85), rgba(18, 19, 23, 0.98));
}

.rail-hour strong {
    display: block;
    color: #fff;
    font-size: 1.18rem;
}

.rail-hour span {
    color: #d9b6bb;
    font-size: 0.78rem;
}

.rail-hour b {
    color: #fff;
    font-size: 1.5rem;
}

/* Cards and lists */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-card,
.article-card,
.info-card,
.topic-card,
.service-card,
.principle-card,
.guide-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.news-card:hover,
.article-card:hover,
.topic-card:hover,
.service-card:hover,
.guide-card:hover {
    transform: translateY(-3px);
    border-color: var(--red-border);
    background: var(--surface-soft);
}

.news-card-body,
.article-card-body,
.info-card,
.topic-card,
.service-card,
.principle-card,
.guide-card {
    padding: 22px;
}

.news-card h3,
.article-card h3,
.topic-card h3,
.service-card h3,
.principle-card h3,
.guide-card h3 {
    margin: 9px 0 11px;
}

.news-card p,
.article-card p,
.info-card p,
.topic-card p,
.service-card p,
.principle-card p,
.guide-card p {
    color: var(--muted);
    font-size: 0.92rem;
}

.card-number {
    position: absolute;
    top: 13px;
    right: 16px;
    color: rgba(255, 255, 255, 0.06);
    font-size: 3.2rem;
    font-weight: 950;
    line-height: 1;
    pointer-events: none;
}

.card-tag {
    letter-spacing: 0.05em;
    text-transform: none;
}

.rank-list {
    border-top: 2px solid var(--red);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.rank-item {
    position: relative;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) 132px;
    align-items: center;
    gap: 20px;
    min-height: 116px;
    padding: 19px 24px;
    border: 1px solid var(--border);
    border-top: 0;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.rank-item:hover {
    border-color: var(--red-border);
    background: var(--surface-soft);
}

.rank-no {
    color: var(--red);
    font-size: 2.35rem;
    font-weight: 950;
    letter-spacing: -0.08em;
    line-height: 1;
}

.rank-content h3 {
    margin: 0 0 7px;
    font-size: 1.08rem;
}

.rank-content p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.rank-side {
    display: grid;
    justify-items: end;
    gap: 8px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    text-align: right;
}

.rank-side .status-label {
    padding: 4px 8px;
    border: 1px solid var(--red-border);
    border-radius: var(--radius-xs);
    background: rgba(255, 31, 50, 0.08);
    letter-spacing: 0;
    text-transform: none;
}

.feature-split {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: 22px;
    align-items: stretch;
}

.feature-story {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.feature-story .story-media {
    min-height: 360px;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
}

.feature-story-content {
    padding: 26px;
}

.feature-story-content h3 {
    margin: 10px 0 12px;
    font-size: clamp(1.35rem, 2vw, 2rem);
}

.feature-story-content p {
    color: var(--muted);
}

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

.story-row {
    position: relative;
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 18px;
    min-height: 128px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    transition: border-color 0.18s ease, background 0.18s ease;
}

.story-row:hover {
    border-color: var(--red-border);
    background: var(--surface-soft);
}

.story-row-index {
    display: grid;
    place-items: center;
    min-height: 90px;
    border-right: 1px solid var(--border);
    color: rgba(255, 31, 50, 0.78);
    font-size: 2rem;
    font-weight: 950;
}

.story-row h3 {
    margin: 5px 0 7px;
    font-size: 1.02rem;
}

.story-row p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.editorial-grid > * {
    grid-column: span 4;
}

.editorial-grid > *:nth-child(1),
.editorial-grid > *:nth-child(5) {
    grid-column: span 7;
}

.editorial-grid > *:nth-child(2),
.editorial-grid > *:nth-child(6) {
    grid-column: span 5;
}

.editorial-grid .news-card:nth-child(odd) {
    border-radius: var(--radius-xs) var(--radius-md) var(--radius-xs) var(--radius-md);
}

.editorial-grid .news-card:nth-child(even) {
    border-radius: var(--radius-md) var(--radius-xs) var(--radius-md) var(--radius-xs);
}

.timeline {
    position: relative;
    display: grid;
    gap: 0;
    padding-left: 34px;
}

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

.timeline-item {
    position: relative;
    padding: 0 0 28px 24px;
}

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

.timeline-card {
    padding: 22px 24px;
    border: 1px solid var(--border);
    border-left: 3px solid var(--red);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.timeline-card h3 {
    margin: 7px 0 10px;
}

.timeline-card p {
    margin-bottom: 12px;
    color: var(--muted);
}

.timeline-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--quiet);
    font-size: 0.78rem;
}

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

.fact-card {
    position: relative;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.fact-card h3 {
    margin: 12px 0 11px;
}

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

.fact-card .fact-basis {
    padding-top: 13px;
    border-top: 1px solid var(--border);
    color: var(--quiet);
    font-size: 0.82rem;
}

.fact-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: var(--radius-xs);
    font-size: 0.72rem;
    font-weight: 900;
}

.status-confirmed {
    background: var(--red);
    color: #fff;
}

.status-partial {
    border-left: 4px solid var(--red);
    background: #36363b;
    color: #fff;
}

.status-lacking {
    background: #3d3e43;
    color: #e4e4e6;
}

.status-outdated {
    background: var(--red-dark);
    color: #fff;
}

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

.hour-feed {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.hour-item {
    display: grid;
    grid-template-columns: 130px 118px minmax(0, 1fr) 34px;
    align-items: start;
    gap: 18px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    transition: background 0.18s ease;
}

.hour-item:last-child {
    border-bottom: 0;
}

.hour-item:hover {
    background: var(--surface-soft);
}

.hour-period {
    color: var(--red-bright);
    font-size: 0.81rem;
    font-weight: 900;
}

.hour-channel {
    color: var(--quiet);
    font-size: 0.78rem;
    font-weight: 800;
}

.hour-content h3 {
    margin: 0 0 5px;
    font-size: 1rem;
}

.hour-content p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.hour-arrow {
    color: var(--red);
    font-size: 1.2rem;
    text-align: right;
}

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

.topic-card {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.topic-card::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 70px;
    right: -24px;
    bottom: -30px;
    border: 1px solid rgba(255, 31, 50, 0.25);
    transform: rotate(28deg);
    pointer-events: none;
}

.topic-card .topic-index {
    color: rgba(255, 31, 50, 0.42);
    font-size: 2.2rem;
    font-weight: 950;
    line-height: 1;
}

.submit-band,
.app-band,
.about-band {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: stretch;
}

.submit-band .story-media,
.app-band .story-media,
.about-band .story-media {
    min-height: 390px;
    border-radius: var(--radius-md);
}

.submit-copy,
.app-copy,
.about-copy {
    align-self: center;
}

.submit-copy h2,
.app-copy h2,
.about-copy h2 {
    margin: 12px 0 17px;
}

.submit-copy p,
.app-copy p,
.about-copy p {
    color: #d6d6da;
}

.check-list,
.rule-list,
.link-list {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.check-list li,
.rule-list li,
.link-list li {
    position: relative;
    padding: 9px 0 9px 26px;
    color: var(--muted);
}

.check-list li::before,
.rule-list li::before,
.link-list li::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 1px;
    width: 10px;
    height: 5px;
    border-left: 2px solid var(--red);
    border-bottom: 2px solid var(--red);
    transform: rotate(-45deg);
    pointer-events: none;
}

.service-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.service-mini {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.025);
}

.service-mini strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 0.9rem;
}

.service-mini span {
    color: var(--muted);
    font-size: 0.77rem;
}

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

.principle-card {
    min-height: 210px;
    border-radius: var(--radius-xs) var(--radius-md) var(--radius-xs) var(--radius-md);
}

.principle-card::before {
    content: attr(data-number);
    position: absolute;
    top: 12px;
    right: 16px;
    color: rgba(255, 255, 255, 0.055);
    font-size: 3.4rem;
    font-weight: 950;
    line-height: 1;
    pointer-events: none;
}

/* Inner pages */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 7vw, 92px) 0 clamp(42px, 6vw, 74px);
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(112deg, rgba(104, 3, 13, 0.34), transparent 42%),
        linear-gradient(180deg, #101115 0%, #08090b 100%);
}

.page-hero::before,
.page-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.page-hero::before {
    width: 420px;
    height: 420px;
    top: -270px;
    right: 3%;
    border: 1px solid rgba(255, 31, 50, 0.16);
    transform: rotate(28deg);
}

.page-hero::after {
    width: 44%;
    height: 6px;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, var(--red));
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.56fr);
    align-items: end;
    gap: 36px;
}

.page-hero h1 {
    max-width: 900px;
    margin: 12px 0 18px;
}

.page-lead {
    max-width: 850px;
    margin: 0;
    color: #c9c9ce;
    font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.page-hero-aside {
    padding: 22px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--red);
    border-radius: var(--radius-sm);
    background: rgba(18, 19, 23, 0.75);
}

.page-hero-aside strong {
    display: block;
    margin-bottom: 7px;
    color: #fff;
}

.page-hero-aside p {
    margin: 0;
    color: var(--muted);
    font-size: 0.87rem;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--quiet);
    font-size: 0.78rem;
}

.breadcrumbs a:hover {
    color: var(--red-bright);
}

.breadcrumbs span[aria-hidden="true"] {
    color: var(--red);
}

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

.article-stack {
    display: grid;
    gap: 16px;
}

.article-card {
    padding: 24px;
}

.article-card h2,
.article-card h3 {
    margin: 9px 0 12px;
}

.article-card h2 {
    font-size: clamp(1.24rem, 2vw, 1.72rem);
}

.article-card p {
    color: var(--muted);
}

.article-card .article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 15px;
    padding-top: 13px;
    border-top: 1px solid var(--border);
    color: var(--quiet);
    font-size: 0.78rem;
}

.sidebar {
    position: sticky;
    top: calc(var(--header-height-desktop) + 22px);
    display: grid;
    gap: 16px;
}

.sidebar-card {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.sidebar-card h2,
.sidebar-card h3 {
    margin: 7px 0 12px;
    font-size: 1.08rem;
}

.sidebar-card p {
    color: var(--muted);
    font-size: 0.86rem;
}

.sidebar-card a {
    display: block;
    min-height: 42px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 750;
}

.sidebar-card a:last-child {
    border-bottom: 0;
}

.sidebar-card a:hover {
    color: #fff;
}

.source-note,
.boundary-note,
.reading-note,
.notice-box {
    padding: 22px 24px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--red);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.source-note h2,
.boundary-note h2,
.reading-note h2,
.notice-box h2,
.source-note h3,
.boundary-note h3,
.reading-note h3,
.notice-box h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
}

.source-note p,
.boundary-note p,
.reading-note p,
.notice-box p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.boundary-note {
    border-left-color: #b8b8be;
    background: #101115;
}

.notice-box.red {
    border-color: var(--red-border);
    background: linear-gradient(125deg, rgba(104, 3, 13, 0.42), rgba(18, 19, 23, 0.98));
}

.definition-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.definition-list > div {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.definition-list dt {
    margin-bottom: 7px;
    color: #fff;
    font-weight: 900;
}

.definition-list dd {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.process-steps {
    counter-reset: steps;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.process-step {
    counter-increment: steps;
    position: relative;
    min-height: 210px;
    padding: 58px 20px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.process-step::before {
    content: counter(steps, decimal-leading-zero);
    position: absolute;
    top: 16px;
    left: 18px;
    color: var(--red);
    font-size: 1.6rem;
    font-weight: 950;
    line-height: 1;
}

.process-step h3 {
    margin-bottom: 9px;
}

.process-step p {
    color: var(--muted);
    font-size: 0.88rem;
}

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

.faq-list details {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

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

.faq-list summary {
    position: relative;
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 15px 56px 15px 20px;
    color: #fff;
    font-weight: 850;
    cursor: pointer;
    list-style: none;
}

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

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--red);
    font-size: 1.5rem;
    font-weight: 500;
    pointer-events: none;
}

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

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

.faq-answer p {
    margin: 0;
}

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

.related-strip a {
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    transition: border-color 0.18s ease, background 0.18s ease;
}

.related-strip a:hover {
    border-color: var(--red-border);
    background: var(--surface-soft);
}

.related-strip strong {
    color: #fff;
}

.related-strip span {
    margin-top: 4px;
    color: var(--quiet);
    font-size: 0.78rem;
}

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

.forbidden-item {
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid rgba(255, 31, 50, 0.22);
    border-radius: var(--radius-xs);
    background: rgba(104, 3, 13, 0.2);
    color: #e4c7cb;
    font-size: 0.85rem;
    font-weight: 750;
}

.download-callout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: center;
}

.download-callout .story-media {
    min-height: 340px;
    border-radius: var(--radius-md);
}

.policy-copy {
    max-width: 900px;
}

.policy-copy h2 {
    margin-top: 36px;
}

.policy-copy h2:first-child {
    margin-top: 0;
}

.policy-copy p,
.policy-copy li {
    color: var(--muted);
}

.policy-copy strong {
    color: #fff;
}

.quote-block {
    position: relative;
    margin: 0;
    padding: 28px 30px 28px 38px;
    border: 1px solid var(--red-border);
    border-radius: var(--radius-sm);
    background: linear-gradient(125deg, rgba(104, 3, 13, 0.38), rgba(18, 19, 23, 0.95));
    color: #f0f0f1;
    font-size: clamp(1.03rem, 1.6vw, 1.25rem);
    font-weight: 700;
}

.quote-block::before {
    content: "“";
    position: absolute;
    top: 2px;
    left: 12px;
    color: var(--red);
    font-size: 3.2rem;
    line-height: 1;
    pointer-events: none;
}

/* Footer */
.site-footer {
    padding: 58px 0 0;
    border-top: 1px solid var(--border);
    background: var(--bg-deep);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.6fr) repeat(4, minmax(140px, 0.7fr));
    gap: 32px;
    padding-bottom: 42px;
}

.footer-brand-block p {
    max-width: 360px;
    margin-top: 18px;
    color: var(--quiet);
    font-size: 0.84rem;
}

.footer-column h2 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 0.92rem;
}

.footer-column a {
    display: block;
    min-height: 38px;
    padding: 7px 0;
    color: var(--quiet);
    font-size: 0.82rem;
}

.footer-column a:hover {
    color: var(--red-bright);
}

.footer-notice {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-block: 22px calc(22px + var(--safe-bottom));
    border-top: 1px solid var(--border);
    color: #66676e;
    font-size: 0.75rem;
}

.footer-notice p:first-child {
    max-width: 820px;
}

/* Panels */
.site-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(5px);
    transition: opacity 0.2s ease;
}

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

.site-panel {
    z-index: 1200;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
}

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

.channel-panel {
    position: fixed;
    top: var(--header-height-desktop);
    right: 0;
    left: 0;
    max-height: calc(100vh - var(--header-height-desktop));
    overflow-y: auto;
    transform: translateY(-22px);
    border-top: 1px solid var(--red-border);
    border-bottom: 1px solid var(--border);
    background: rgba(9, 10, 12, 0.99);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.56);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.channel-panel.is-open {
    transform: translateY(0);
}

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

.panel-head h2,
.mobile-menu-head h2 {
    margin: 2px 0 0;
    font-size: 1.35rem;
}

.panel-kicker {
    color: var(--red-bright);
    font-size: 0.65rem;
}

.panel-close {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
}

.panel-close:hover {
    border-color: var(--red-border);
    background: var(--red-dark);
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding-block: 24px 30px;
}

.channel-grid section {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.channel-grid h3 {
    margin: 0 0 11px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--red);
    font-size: 0.92rem;
}

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

.channel-grid a:last-child {
    border-bottom: 0;
}

.channel-grid strong {
    display: block;
    color: #fff;
    font-size: 0.86rem;
}

.channel-grid span {
    display: block;
    margin-top: 3px;
    color: var(--quiet);
    font-size: 0.74rem;
    line-height: 1.5;
}

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

.search-panel {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 22px;
    transform: translateY(14px);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.search-panel.is-open {
    transform: translateY(0);
}

.search-panel-card {
    width: min(760px, 100%);
    max-height: min(720px, calc(100vh - 44px));
    overflow-y: auto;
    padding: 0 24px 26px;
    border: 1px solid var(--red-border);
    border-radius: var(--radius-md);
    background: #0b0c0f;
    box-shadow: 0 30px 76px rgba(0, 0, 0, 0.72);
}

.search-field {
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 14px;
    padding: 0 17px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.search-field:focus-within {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(255, 31, 50, 0.12);
}

.search-field input {
    min-width: 0;
    width: 100%;
    height: 52px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
}

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

.search-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.search-keywords button {
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    background: var(--surface);
    color: var(--muted);
    font-size: 0.75rem;
    cursor: pointer;
}

.search-keywords button:hover {
    border-color: var(--red-border);
    color: #fff;
}

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

.search-results a {
    min-height: 78px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.search-results a:hover {
    border-color: var(--red-border);
    background: var(--surface-soft);
}

.search-results strong,
.search-results span {
    display: block;
}

.search-results strong {
    color: #fff;
    font-size: 0.86rem;
}

.search-results span {
    margin-top: 3px;
    color: var(--quiet);
    font-size: 0.73rem;
}

.search-empty {
    margin: 18px 0 0;
    color: var(--muted);
    text-align: center;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(88vw, 390px);
    overflow-y: auto;
    transform: translateX(102%);
    border-left: 1px solid var(--red-border);
    background: #090a0c;
    box-shadow: -24px 0 56px rgba(0, 0, 0, 0.58);
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

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

.mobile-menu-brand {
    padding: 22px 18px 16px;
}

.mobile-menu-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 16px calc(26px + var(--safe-bottom));
}

.mobile-menu-links a {
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    background: var(--surface);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.mobile-menu-links a:hover {
    border-color: var(--red-border);
    color: #fff;
}

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

/* Responsive */
@media (max-width: 1120px) {
    .brandbar-inner {
        grid-template-columns: 200px 1fr auto;
        gap: 18px;
    }

    .brand-note {
        font-size: 0.8rem;
    }

    .primary-nav {
        gap: 19px;
    }

    .card-grid.cols-4,
    .topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1.25fr repeat(2, 0.8fr);
    }

    .footer-brand-block {
        grid-row: span 2;
    }

    .content-layout {
        grid-template-columns: minmax(0, 1fr) 290px;
    }

    .process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    :root {
        --header-height-mobile: 104px;
    }

    .shell {
        width: min(calc(100% - 28px), var(--shell));
    }

    .desktop-brandbar,
    .desktop-primary {
        display: none;
    }

    .mobile-brandbar {
        min-height: 60px;
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr) 52px;
        align-items: center;
        border-bottom: 1px solid var(--border);
        background: var(--bg-soft);
    }

    .mobile-icon-button,
    .mobile-hour {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        justify-self: center;
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        background: var(--surface);
        color: #fff;
    }

    .mobile-hour {
        border-color: var(--red-border);
        background: var(--button-gradient);
        font-size: 0.73rem;
        font-weight: 950;
    }

    .mobile-brand-link {
        min-width: 0;
        min-height: 44px;
        justify-content: center;
        justify-self: center;
    }

    .brand-mobile,
    .mobile-brand-link .brand {
        align-items: center;
    }

    .mobile-brand-link .brand strong {
        font-size: 1.32rem;
    }

    .mobile-brand-link .brand small {
        display: none;
    }

    .mobile-brand-link .brand img {
        max-width: 148px;
        height: 42px;
    }

    .topic-strip {
        min-height: 44px;
    }

    .topic-link {
        min-height: 44px;
        padding-inline: 12px;
    }

    .search-keywords button {
        min-height: 44px;
    }

    .channel-panel {
        top: var(--header-height-mobile);
        max-height: calc(100vh - var(--header-height-mobile));
    }

    .channel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-stage,
    .feature-split,
    .submit-band,
    .app-band,
    .about-band,
    .download-callout {
        grid-template-columns: 1fr;
    }

    .stage-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto auto;
    }

    .rail-list {
        grid-column: span 2;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .rail-story + .rail-story {
        border-top: 0;
        border-left: 1px solid var(--border);
        padding-left: 16px;
    }

    .rank-item {
        grid-template-columns: 62px minmax(0, 1fr);
    }

    .rank-side {
        grid-column: 2;
        grid-row: 2;
        justify-items: start;
        grid-auto-flow: column;
        justify-content: start;
        text-align: left;
    }

    .editorial-grid > *,
    .editorial-grid > *:nth-child(1),
    .editorial-grid > *:nth-child(2),
    .editorial-grid > *:nth-child(5),
    .editorial-grid > *:nth-child(6) {
        grid-column: span 6;
    }

    .card-grid,
    .card-grid.cols-4,
    .principle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-hero-inner {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .page-hero-aside {
        max-width: 620px;
    }

    .content-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .related-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand-block {
        grid-column: span 2;
        grid-row: auto;
    }
}

@media (max-width: 660px) {
    body {
        padding-bottom: calc(68px + var(--safe-bottom));
    }

    .shell {
        width: calc(100% - 28px);
    }

    .section {
        padding-block: 48px;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 22px;
    }

    .home-stage {
        padding-top: 14px;
    }

    .lead-feature,
    .lead-feature .story-media {
        min-height: 500px;
    }

    .lead-feature-content {
        padding: 24px 20px;
    }

    .lead-feature-content h1 {
        font-size: clamp(1.85rem, 9vw, 3rem);
    }

    .stage-rail {
        display: grid;
        grid-template-columns: 1fr;
    }

    .rail-list {
        grid-column: auto;
        display: block;
    }

    .rail-story + .rail-story {
        border-top: 1px solid var(--border);
        border-left: 0;
        padding-left: 0;
    }

    .rank-item {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 12px;
        padding: 17px 15px;
    }

    .rank-no {
        font-size: 1.9rem;
    }

    .rank-side {
        grid-auto-flow: row;
    }

    .feature-story .story-media {
        min-height: 260px;
    }

    .story-row {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 13px;
        padding: 15px;
    }

    .story-row-index {
        min-height: 76px;
        font-size: 1.38rem;
    }

    .editorial-grid,
    .card-grid,
    .card-grid.cols-2,
    .card-grid.cols-4,
    .fact-grid,
    .topic-grid,
    .principle-grid,
    .definition-list,
    .process-steps,
    .sidebar,
    .related-strip,
    .forbidden-grid {
        grid-template-columns: 1fr;
    }

    .editorial-grid > *,
    .editorial-grid > *:nth-child(1),
    .editorial-grid > *:nth-child(2),
    .editorial-grid > *:nth-child(5),
    .editorial-grid > *:nth-child(6) {
        grid-column: span 12;
    }

    .hour-item {
        grid-template-columns: 1fr auto;
        gap: 7px 14px;
        padding: 17px 16px;
    }

    .hour-period {
        grid-column: 1;
    }

    .hour-channel {
        grid-column: 2;
        grid-row: 1;
        text-align: right;
    }

    .hour-content {
        grid-column: 1 / -1;
    }

    .hour-arrow {
        display: none;
    }

    .topic-card,
    .principle-card,
    .process-step {
        min-height: 0;
    }

    .submit-band .story-media,
    .app-band .story-media,
    .about-band .story-media,
    .download-callout .story-media {
        min-height: 270px;
    }

    .service-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-hero {
        padding-top: 42px;
    }

    .page-hero h1 {
        font-size: clamp(2.05rem, 10.5vw, 3.5rem);
    }

    .content-layout {
        gap: 20px;
    }

    .article-card,
    .news-card-body,
    .info-card,
    .topic-card,
    .service-card,
    .principle-card,
    .guide-card {
        padding: 19px;
    }

    .timeline {
        padding-left: 25px;
    }

    .timeline-item {
        padding-left: 13px;
    }

    .timeline-item::before {
        left: -25px;
    }

    .timeline-card {
        padding: 18px;
    }

    .channel-grid {
        grid-template-columns: 1fr;
    }

    .channel-panel .panel-head {
        width: calc(100% - 28px);
    }

    .search-panel {
        align-items: end;
        padding: 0;
    }

    .search-panel-card {
        width: 100%;
        max-height: calc(100vh - 24px);
        padding: 0 16px calc(18px + var(--safe-bottom));
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }

    .search-results {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 18px;
    }

    .footer-brand-block {
        grid-column: span 2;
    }

    .footer-notice {
        flex-direction: column;
        padding-bottom: calc(92px + var(--safe-bottom));
    }

    .mobile-bottom-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 900;
        min-height: calc(62px + var(--safe-bottom));
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        padding-bottom: var(--safe-bottom);
        border-top: 1px solid var(--border-strong);
        background: rgba(8, 9, 11, 0.98);
        box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.44);
        backdrop-filter: blur(16px);
    }

    .mobile-bottom-nav a,
    .mobile-bottom-nav button {
        min-width: 0;
        min-height: 62px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 4px;
        padding: 7px 3px;
        border: 0;
        background: transparent;
        color: var(--quiet);
        font-size: 0.68rem;
        font-weight: 850;
        cursor: pointer;
    }

    .mobile-bottom-nav a.is-active,
    .mobile-bottom-nav button[aria-expanded="true"] {
        color: var(--red-bright);
    }

    .bottom-icon {
        width: 20px;
        height: 20px;
    }

    .icon-home::before {
        width: 14px;
        height: 14px;
        left: 3px;
        top: 4px;
        border: 2px solid currentColor;
        border-top: 0;
        border-radius: 2px;
    }

    .icon-home::after {
        width: 11px;
        height: 11px;
        left: 4.5px;
        top: 1px;
        border-top: 2px solid currentColor;
        border-left: 2px solid currentColor;
        transform: rotate(45deg);
    }

    .icon-fire::before {
        inset: 2px 4px 1px;
        border: 2px solid currentColor;
        border-radius: 60% 40% 58% 42%;
        transform: rotate(45deg);
    }

    .icon-star::before {
        inset: 1px;
        background: currentColor;
        clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 56%, 79% 94%, 50% 72%, 21% 94%, 32% 56%, 2% 35%, 39% 35%);
    }

    .icon-clock::before {
        inset: 1px;
        border: 2px solid currentColor;
        border-radius: 50%;
    }

    .icon-clock::after {
        width: 2px;
        height: 7px;
        top: 5px;
        left: 9px;
        background: currentColor;
        box-shadow: 3px 5px 0 -0.4px currentColor;
    }
}

@media (max-width: 390px) {
    .shell {
        width: calc(100% - 28px);
    }

    .mobile-menu-links {
        grid-template-columns: 1fr;
    }

    .service-mini-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand-block {
        grid-column: auto;
    }

    .footer-column {
        padding-bottom: 12px;
        border-bottom: 1px solid var(--border);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Reusable spacing and content utilities */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wide-media { min-height: 280px; margin-bottom: 18px; border-radius: var(--radius-md); }
.info-card h2 { margin: 9px 0 11px; font-size: clamp(1.2rem, 1.8vw, 1.55rem); }
.hour-content h2,
.hour-content h3 { margin: 0 0 5px; font-size: 1rem; }
.rank-content p + p { margin-top: 8px; }
.policy-copy > * + * { margin-top: 16px; }

@media (max-width: 900px) {
    .card-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 660px) {
    .card-grid.cols-3 { grid-template-columns: 1fr; }
    .wide-media { min-height: 220px; }
}
