:root {
    --ink: #11110f;
    --ink-soft: #575550;
    --paper: #f3f3f1;
    --paper-deep: #e9e9e5;
    --surface: #ffffff;
    --surface-soft: #f8f8f6;
    --line: #deded8;
    --line-strong: #c7c7c0;
    --accent: #b92f25;
    --serif: "Iowan Old Style", "Baskerville", "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
    --sans: "Aptos", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    --radius-card: 28px;
    --radius-panel: 32px;
    --shadow-soft: 0 12px 32px rgba(20, 20, 17, 0.055), 0 2px 8px rgba(20, 20, 17, 0.035);
    --shadow-raised: 0 22px 52px rgba(20, 20, 17, 0.10), 0 4px 12px rgba(20, 20, 17, 0.05);
    --shadow-panel: 0 26px 72px rgba(20, 20, 17, 0.075), 0 3px 12px rgba(20, 20, 17, 0.035);
    --ease: 220ms ease-out;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 0;
    overflow-x: clip;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}

a,
button,
summary {
    color: inherit;
    cursor: pointer;
}

a {
    text-decoration: none;
}

button,
summary {
    font: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

.news-title {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transform: translateY(0);
    transition: transform 200ms ease-out;
}

.news-title::after {
    content: "";
    position: absolute;
    top: -55%;
    bottom: -55%;
    left: -38%;
    z-index: 1;
    width: 26%;
    opacity: 0;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(192, 192, 185, 0.14) 24%,
        rgba(255, 255, 255, 0.78) 48%,
        rgba(192, 192, 185, 0.18) 64%,
        transparent 100%
    );
    filter: blur(0.2px);
    transform: translateX(0) skewX(-18deg);
}

.news-title:is(:hover, :focus-within) {
    transform: translateY(-1.5px);
}

.news-title:is(:hover, :focus-within)::after,
.source-options a:is(:hover, :focus-visible) .news-title::after {
    animation: news-title-sheen 550ms ease-out 1;
}

.source-options a:hover .news-title {
    transform: translateY(-1.5px);
}

@keyframes news-title-sheen {
    0% {
        opacity: 0;
        transform: translateX(0) skewX(-18deg);
    }
    14% {
        opacity: 0.70;
    }
    82% {
        opacity: 0.52;
    }
    100% {
        opacity: 0;
        transform: translateX(540%) skewX(-18deg);
    }
}

.paper-grain {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.site-header,
.site-main {
    width: min(1540px, calc(100% - 56px));
    margin-inline: auto;
}

.site-header {
    position: relative;
    z-index: 20;
    margin-top: 22px;
    overflow: visible;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(17, 17, 15, 0.11);
    border-radius: var(--radius-panel);
    box-shadow: var(--shadow-panel);
}

.utility-bar {
    min-height: 44px;
    padding: 0 24px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.edition {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.utility-divider {
    opacity: 0.32;
}

.live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(185, 47, 37, 0.10);
    animation: pulse 2.2s infinite;
}

@keyframes pulse {
    50% { box-shadow: 0 0 0 8px rgba(185, 47, 37, 0); }
}

.language-control {
    position: relative;
    flex: 0 0 auto;
}

.language-button,
.refresh-button {
    min-height: 38px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 5px 16px rgba(20, 20, 17, 0.055);
    transition:
        transform var(--ease),
        box-shadow var(--ease),
        border-color var(--ease),
        background-color var(--ease);
}

.language-button {
    color: var(--ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
}

.globe {
    font-size: 15px;
    line-height: 1;
}

.language-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 236px;
    padding: 7px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    box-shadow: var(--shadow-raised);
    z-index: 40;
}

.language-menu a {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 11px 13px;
    border-radius: 13px;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
    transition: background-color var(--ease), color var(--ease), transform var(--ease);
}

.language-menu a:hover,
.language-menu a.active {
    color: var(--surface);
    background: var(--ink);
    transform: translateY(-2px);
}

.language-menu small {
    opacity: 0.58;
}

.masthead {
    min-height: 116px;
    padding: 18px 28px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-bottom: 1px solid var(--line);
}

.brand {
    justify-self: start;
    font-family: var(--serif);
    font-size: clamp(54px, 6.2vw, 92px);
    font-weight: 700;
    letter-spacing: -0.075em;
    line-height: 0.8;
}

.brand span {
    font-style: italic;
    font-weight: 400;
}

.masthead-copy {
    text-align: center;
}

.menu-button {
    display: none;
    justify-self: end;
    width: 46px;
    height: 46px;
    padding: 14px 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.menu-button span {
    display: block;
    height: 1px;
    margin: 5px 0;
    background: var(--ink);
}

.primary-nav {
    height: 62px;
    margin: 12px 16px 16px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface-soft);
    border: 1px solid #e8e8e3;
    border-radius: 23px;
}

.scope-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
}

.scope-link,
.channel-links a,
.refresh-button {
    position: relative;
    white-space: nowrap;
    transition:
        transform var(--ease),
        box-shadow var(--ease),
        border-color var(--ease),
        background-color var(--ease),
        color var(--ease);
}

.scope-link,
.channel-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 5px 16px rgba(20, 20, 17, 0.05);
}

.scope-link {
    padding: 0 17px;
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 650;
}

.scope-link.active,
.channel-links a.active {
    color: var(--surface);
    background: var(--ink);
    border-color: var(--ink);
    box-shadow: 0 8px 20px rgba(17, 17, 15, 0.18);
}

.scope-link.active::after,
.channel-links a.active::after {
    content: none;
}

.channel-links {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 20px 2px;
    overflow-x: auto;
    scrollbar-width: none;
}

.channel-links::-webkit-scrollbar {
    display: none;
}

.channel-links a {
    z-index: 1;
    flex: 0 0 auto;
    padding: 0 14px;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.025em;
}

.channel-links a:is(:hover, :focus-visible) {
    z-index: 10;
}

@media (min-width: 1181px) {
    .channel-links {
        padding-top: 0;
        padding-bottom: 0;
        overflow: visible;
    }
}

.refresh-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    font-size: 10px;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.refresh-icon {
    font-size: 19px;
    transition: transform 0.4s ease;
}

.refresh-button.loading .refresh-icon {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.site-main {
    padding: 28px 0 44px;
}

.status-strip {
    width: fit-content;
    max-width: 100%;
    margin: 0 4px 24px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    font-size: 11px;
    line-height: 1.35;
}

.status-pulse {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 1.5s infinite;
}

.lead-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.72fr) minmax(330px, 0.78fr);
    align-items: start;
    gap: 26px;
    padding: 0 0 34px;
}

.lead-story,
.lead-rail,
.video-section,
.sources-section {
    background: var(--surface);
    border: 1px solid rgba(17, 17, 15, 0.10);
    box-shadow: var(--shadow-panel);
}

.lead-story {
    min-width: 0;
    padding: 16px;
    border-radius: var(--radius-panel);
    overflow: hidden;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.lead-image-wrap,
.card-image-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--paper-deep);
}

.lead-image-wrap {
    aspect-ratio: 16 / 9;
    border-radius: 24px;
}

.lead-image,
.card-image-wrap img,
.video-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.65, 0.25, 1);
}

.lead-image-wrap:hover img,
.card-image-wrap:hover img,
.video-image:hover img {
    transform: scale(1.018);
}

.image-kicker {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    width: fit-content;
    max-width: calc(100% - 32px);
    padding: 8px 12px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(17, 17, 15, 0.10);
    border-radius: 999px;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
}

.image-credit {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 6px 10px;
    color: #fff;
    background: rgba(17, 17, 15, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 8px;
    letter-spacing: 0.04em;
    backdrop-filter: blur(5px);
}

.lead-content {
    padding: 24px 12px 10px;
}

.story-kicker {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--ink);
    font-size: 9px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.085em;
}

.story-kicker > span:first-child {
    color: var(--ink);
}

.story-kicker b {
    font-weight: 400;
    opacity: 0.36;
}

.lead-content h1 {
    max-width: 1100px;
    margin: 0 0 20px;
    font-family: var(--serif);
    font-size: clamp(39px, 4.25vw, 70px);
    font-weight: 700;
    line-height: 1.015;
    letter-spacing: -0.045em;
}

.lead-summary {
    max-width: 880px;
    margin: 0 0 22px;
    color: var(--ink-soft);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.65;
}

.story-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: var(--ink-soft);
    font-size: 9px;
    font-weight: 550;
    text-transform: uppercase;
    letter-spacing: 0.065em;
}

.source-name {
    color: var(--ink);
    font-weight: 750;
}

.read-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    margin-top: 22px;
    padding: 0 15px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.lead-rail {
    align-self: stretch;
    min-width: 0;
    padding: 22px;
    border-radius: var(--radius-panel);
}

.rail-heading {
    display: flex;
    justify-content: space-between;
    padding: 0 0 15px;
    border-bottom: 1px solid var(--ink);
    font-size: 9px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.rail-story {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 10px;
    padding: 17px 4px;
    border-bottom: 1px solid var(--line);
    border-radius: 14px;
    transition: transform var(--ease), background-color var(--ease);
}

.story-number {
    font-family: var(--serif);
    font-size: 13px;
    font-style: italic;
    opacity: 0.45;
}

.mini-kicker {
    margin-bottom: 7px;
    color: var(--ink-soft);
    font-size: 8px;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.075em;
}

.rail-story h2 {
    margin: 0 0 9px;
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.14;
    letter-spacing: -0.025em;
}

.rail-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--ink-soft);
    font-size: 8px;
    font-weight: 550;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 0 0 34px;
    border: 0;
}

.story-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid rgba(17, 17, 15, 0.10);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    transition:
        transform var(--ease),
        box-shadow var(--ease),
        border-color var(--ease);
}

.card-image-wrap {
    aspect-ratio: 16 / 9;
}

.card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 25px 27px 27px;
}

.card-content h2 {
    margin: 0 0 14px;
    font-family: var(--serif);
    font-size: clamp(25px, 2.05vw, 32px);
    font-weight: 700;
    line-height: 1.11;
    letter-spacing: -0.03em;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.card-content > p {
    margin: 0 0 18px;
    color: var(--ink-soft);
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.65;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.card-content .story-meta {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.source-picker {
    margin-top: 17px;
    border-top: 1px solid var(--line);
}

.source-picker summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0 3px;
    list-style: none;
    font-size: 9px;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: transform var(--ease), color var(--ease);
}

.source-picker summary::-webkit-details-marker {
    display: none;
}

.source-picker summary strong {
    white-space: nowrap;
    font-weight: 750;
}

.lead-source-picker {
    max-width: 880px;
}

.lead-source-picker summary {
    padding-top: 15px;
}

.source-options {
    display: grid;
    gap: 8px;
    padding-top: 10px;
}

.source-options a {
    padding: 11px 13px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: transform var(--ease), border-color var(--ease), background-color var(--ease);
}

.source-options span {
    font-size: 8px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.source-options p {
    margin: 5px 0;
    font-family: var(--serif);
    font-size: 14px;
    line-height: 1.3;
}

.source-options i {
    font-size: 8px;
    font-style: normal;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.video-section {
    margin-bottom: 34px;
    padding: 30px;
    border-radius: var(--radius-panel);
}

.video-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.video-heading > span {
    color: var(--ink-soft);
    font-size: 8px;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.video-heading h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(34px, 4vw, 54px);
    letter-spacing: -0.04em;
}

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

.video-card {
    min-width: 0;
    padding: 11px 11px 19px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(20, 20, 17, 0.05);
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.video-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 17px;
}

.play-mark {
    position: absolute;
    right: 11px;
    bottom: 11px;
    z-index: 2;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 17, 15, 0.10);
    border-radius: 50%;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
    color: var(--ink);
    font-size: 9px;
}

.video-card .image-kicker {
    top: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    padding: 7px 10px;
    font-size: 8px;
}

.video-card h3 {
    margin: 0 7px;
    padding-top: 16px;
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.18;
    letter-spacing: -0.025em;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.sources-section {
    margin-bottom: 34px;
    padding: 36px 38px 40px;
    border-radius: 36px;
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 28px;
    margin-bottom: 38px;
}

.section-heading p {
    margin: 0;
    font-size: 9px;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.13em;
}

.section-heading h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.8;
    letter-spacing: -0.05em;
    text-align: right;
}

.source-group + .source-group {
    margin-top: 38px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.source-group h3 {
    margin: 0 0 24px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.source-group h3 span {
    margin-right: 9px;
    font-family: var(--serif);
    font-style: italic;
    opacity: 0.42;
}

.source-bubbles {
    display: grid;
    grid-template-columns: repeat(12, minmax(72px, 1fr));
    gap: 26px 14px;
}

.source-bubble {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.logo-bubble {
    width: clamp(72px, 5.4vw, 84px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(20, 20, 17, 0.09), 0 2px 6px rgba(20, 20, 17, 0.04);
    transition:
        transform var(--ease),
        box-shadow var(--ease),
        border-color var(--ease);
}

.logo-bubble img {
    width: 56%;
    height: 56%;
    object-fit: contain;
    filter: none !important;
    -webkit-filter: none !important;
}

.logo-bubble img.source-logo-people-daily {
    width: 70%;
    height: 70%;
}

.logo-bubble img.source-logo-the-paper {
    width: 70%;
    height: 70%;
}

.logo-bubble img.source-logo-southern-weekend {
    width: 68%;
    height: 68%;
}

.logo-bubble img.source-logo-the-beijing-news {
    width: 72%;
    height: 72%;
}

.logo-bubble img.source-logo-jiemian {
    width: 72%;
    height: 60%;
}

.logo-bubble img.source-logo-yicai {
    width: 68%;
    height: 68%;
}

.logo-bubble img.source-logo-red-star-news {
    width: 70%;
    height: 70%;
}

.bubble-name {
    max-width: 100%;
    color: var(--ink-soft);
    font-size: 9px;
    font-weight: 550;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.empty-state {
    position: relative;
    min-height: 560px;
    padding: 0 0 64px;
}

.skeleton {
    border-radius: var(--radius-panel);
    background: linear-gradient(90deg, #e1e1dd 20%, #f2f2ef 45%, #e1e1dd 70%);
    background-size: 240% 100%;
    animation: shimmer 1.6s infinite linear;
}

.skeleton-hero {
    height: 520px;
}

@keyframes shimmer {
    to { background-position: -240% 0; }
}

.empty-copy {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    padding: 24px;
    text-align: center;
    background: rgba(243, 243, 241, 0.68);
    backdrop-filter: blur(6px);
}

.empty-copy h1 {
    margin: 20px 0 10px;
    font-family: var(--serif);
    font-size: clamp(34px, 5vw, 60px);
    letter-spacing: -0.04em;
}

.empty-copy p {
    max-width: 480px;
    color: var(--ink-soft);
    font-size: 13px;
}

.site-footer {
    width: min(1540px, calc(100% - 56px));
    min-height: 240px;
    margin: 0 auto 28px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: end;
    gap: 28px;
    color: var(--surface);
    background: var(--ink);
    border-radius: var(--radius-panel);
    box-shadow: 0 22px 55px rgba(17, 17, 15, 0.16);
}

.footer-brand {
    font-family: var(--serif);
    font-size: clamp(55px, 7vw, 96px);
    line-height: 0.8;
    letter-spacing: -0.07em;
}

.footer-brand span {
    font-style: italic;
    font-weight: 400;
}

.site-footer > p {
    margin: 0;
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
}

.footer-meta {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

@media (hover: hover) and (pointer: fine) {
    .language-button:hover,
    .scope-link:hover,
    .channel-links a:hover,
    .refresh-button:hover,
    .read-link:hover {
        transform: translateY(-4px) scale(1.025);
        border-color: var(--line-strong);
        box-shadow: var(--shadow-raised);
    }

    .language-button:active,
    .scope-link:active,
    .channel-links a:active,
    .refresh-button:active,
    .read-link:active {
        transform: translateY(1px) scale(0.99);
        box-shadow: var(--shadow-soft);
    }

    .story-card:hover,
    .video-card:hover {
        transform: translateY(-6px) scale(1.01);
        border-color: var(--line-strong);
        box-shadow: var(--shadow-raised);
    }

    .lead-story:hover {
        transform: translateY(-3px);
        border-color: var(--line-strong);
        box-shadow: 0 32px 82px rgba(20, 20, 17, 0.11);
    }

    .rail-story:hover {
        transform: translateX(4px);
        background: var(--surface-soft);
    }

    .source-bubble:hover .logo-bubble {
        transform: translateY(-7px) scale(1.04);
        border-color: var(--line-strong);
        box-shadow: 0 24px 38px rgba(20, 20, 17, 0.15), 0 4px 9px rgba(20, 20, 17, 0.06);
    }

    .source-options a:hover {
        transform: translateY(-2px);
        border-color: var(--line-strong);
    }

    .source-picker summary:hover {
        transform: translateX(3px);
    }
}

@media (max-width: 1180px) {
    .lead-layout {
        grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
        gap: 20px;
    }

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

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

    .source-bubbles {
        grid-template-columns: repeat(6, minmax(78px, 1fr));
    }

    .refresh-label {
        display: none;
    }
}

@media (max-width: 920px) {
    .lead-layout {
        grid-template-columns: 1fr;
    }

    .lead-story {
        padding: 13px;
    }

    .lead-rail {
        padding: 20px;
    }

    .lead-content h1 {
        font-size: clamp(38px, 7vw, 58px);
    }

    .primary-nav {
        gap: 7px;
    }

    .scope-link {
        padding-inline: 14px;
    }

    .channel-links a {
        padding-inline: 12px;
    }
}

@media (max-width: 760px) {
    .site-header,
    .site-main,
    .site-footer {
        width: min(100% - 28px, 1540px);
    }

    .site-header {
        margin-top: 14px;
        border-radius: 24px;
    }

    .utility-bar {
        min-height: 42px;
        padding: 0 14px;
        gap: 10px;
    }

    .edition {
        gap: 7px;
        font-size: 8px;
        letter-spacing: 0.06em;
    }

    .edition .utility-divider,
    .edition span:last-child {
        display: none;
    }

    .language-button {
        min-height: 34px;
        padding-inline: 12px;
    }

    .language-menu {
        min-width: min(236px, calc(100vw - 40px));
    }

    .masthead {
        min-height: 102px;
        padding: 15px 16px;
        grid-template-columns: 1fr auto;
    }

    .brand {
        font-size: clamp(48px, 15vw, 66px);
    }

    .masthead-copy {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .primary-nav {
        display: none;
        height: auto;
        min-height: 0;
        margin: 8px 9px 10px;
        padding: 10px;
        flex-wrap: wrap;
        gap: 9px;
        border-radius: 20px;
    }

    .primary-nav.open {
        display: flex;
    }

    .scope-switch {
        width: 100%;
        padding: 0 0 9px;
        overflow-x: auto;
        border-bottom: 1px solid var(--line);
        scrollbar-width: none;
    }

    .scope-switch::-webkit-scrollbar,
    .channel-links::-webkit-scrollbar {
        display: none;
    }

    .scope-link {
        min-height: 38px;
        padding-inline: 14px;
        font-size: 16px;
    }

    .channel-links {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0 0 3px;
    }

    .channel-links a {
        min-height: 38px;
    }

    .refresh-button {
        min-height: 38px;
        padding-inline: 13px;
    }

    .refresh-label {
        display: inline;
    }

    .site-main {
        padding-top: 18px;
    }

    .status-strip {
        width: 100%;
        margin: 0 0 18px;
        border-radius: 18px;
        font-size: 10px;
    }

    .lead-layout {
        display: block;
        padding-bottom: 24px;
    }

    .lead-story,
    .lead-rail,
    .sources-section,
    .site-footer {
        border-radius: 24px;
    }

    .lead-story {
        padding: 10px;
    }

    .lead-image-wrap {
        border-radius: 19px;
    }

    .lead-content {
        padding: 20px 8px 10px;
    }

    .lead-content h1 {
        margin-bottom: 16px;
        font-size: clamp(35px, 10.5vw, 51px);
        line-height: 1.03;
    }

    .lead-summary {
        font-size: 14px;
        line-height: 1.6;
    }

    .lead-rail {
        margin-top: 20px;
        padding: 18px;
    }

    .rail-story {
        padding-block: 16px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-bottom: 24px;
    }

    .story-card,
    .video-card {
        border-radius: 24px;
    }

    .card-content {
        padding: 23px 22px 24px;
    }

    .card-content h2 {
        font-size: 28px;
    }

    .video-section {
        margin-bottom: 24px;
        padding: 20px;
        border-radius: 24px;
    }

    .video-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

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

    .sources-section {
        margin-bottom: 24px;
        padding: 22px 18px 26px;
        border-radius: 24px;
    }

    .section-heading {
        display: block;
        margin-bottom: 28px;
    }

    .section-heading h2 {
        margin-top: 15px;
        text-align: left;
        font-size: 48px;
    }

    .source-group + .source-group {
        margin-top: 28px;
        padding-top: 24px;
    }

    .source-bubbles {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 21px 8px;
    }

    .logo-bubble {
        width: 72px;
    }

    .bubble-name {
        font-size: 8px;
    }

    .site-footer {
        min-height: 0;
        margin-bottom: 16px;
        padding: 34px 26px;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-meta {
        justify-content: flex-start;
        gap: 14px;
    }
}

@media (max-width: 390px) {
    .site-header,
    .site-main,
    .site-footer {
        width: calc(100% - 24px);
    }

    .source-bubbles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

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

    .lead-story:hover,
    .story-card:hover,
    .video-card:hover,
    .rail-story:hover,
    .language-button:hover,
    .scope-link:hover,
    .channel-links a:hover,
    .refresh-button:hover,
    .read-link:hover,
    .source-bubble:hover .logo-bubble {
        transform: none;
    }

    .news-title {
        transform: none;
    }

    .news-title::after {
        display: none;
    }
}
