:root {
    --ink: #17202c;
    --ink-soft: #586272;
    --paper: #f3f0e9;
    --paper-deep: #e8e3d9;
    --surface: rgba(255, 255, 255, 0.72);
    --surface-solid: #fbfaf7;
    --surface-raised: #ffffff;
    --line: rgba(27, 39, 53, 0.14);
    --line-strong: rgba(27, 39, 53, 0.24);
    --cyan: #087f86;
    --cyan-bright: #22b7b5;
    --coral: #e66c62;
    --violet: #7b69b5;
    --aurora: linear-gradient(118deg, var(--cyan-bright), var(--violet) 52%, var(--coral));
    --primary-color: var(--cyan);
    --accent-color: var(--coral);
    --text-color: var(--ink);
    --text-secondary: var(--ink-soft);
    --bg-code: #e8edf0;
    --bg-table-header: #e9eeed;
    --blockquote-bg: rgba(8, 127, 134, 0.08);
    --border-color: var(--line);
    --shadow-soft: 0 22px 70px rgba(41, 46, 56, 0.12);
    --shadow-image: 0 28px 80px rgba(24, 31, 43, 0.2);
    --radius-sm: 12px;
    --radius-md: 22px;
    --radius-lg: 34px;
    color-scheme: light;
}

[data-theme="dark"] {
    --ink: #eef5f4;
    --ink-soft: #98a7ae;
    --paper: #070b15;
    --paper-deep: #04070d;
    --surface: rgba(13, 21, 35, 0.72);
    --surface-solid: #0e1624;
    --surface-raised: #121d2d;
    --line: rgba(169, 211, 216, 0.14);
    --line-strong: rgba(169, 211, 216, 0.26);
    --cyan: #6de2d5;
    --cyan-bright: #42d9cf;
    --coral: #ff8c7f;
    --violet: #a889e9;
    --primary-color: var(--cyan);
    --accent-color: var(--coral);
    --text-color: var(--ink);
    --text-secondary: var(--ink-soft);
    --bg-code: #07101c;
    --bg-table-header: #121e2b;
    --blockquote-bg: rgba(66, 217, 207, 0.08);
    --border-color: var(--line);
    --shadow-soft: 0 28px 90px rgba(0, 0, 0, 0.34);
    --shadow-image: 0 34px 100px rgba(0, 0, 0, 0.54);
    color-scheme: dark;
}

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

html {
    scroll-behavior: smooth;
    background: var(--paper-deep);
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 50% -10%, rgba(58, 183, 181, 0.09), transparent 33rem),
        var(--paper);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
        "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    transition: color 0.35s ease, background-color 0.35s ease;
}

body.lightbox-open {
    overflow: hidden;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

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

img {
    max-width: 100%;
}

svg {
    display: block;
}

::selection {
    color: #071013;
    background: rgba(109, 226, 213, 0.78);
}

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;
    padding: 10px 15px;
    color: #071013;
    background: #83eee3;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 700;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

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

.aurora-sky {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.aurora-sky::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.aurora-sky__veil {
    position: absolute;
    width: 70vw;
    height: 70vw;
    border-radius: 48% 52% 56% 44%;
    filter: blur(90px);
    opacity: 0.06;
    transform: translate3d(0, 0, 0);
}

.aurora-sky__veil--cyan {
    top: 2vh;
    left: -32vw;
    background: var(--cyan-bright);
    animation: aurora-drift-a 22s ease-in-out infinite alternate;
}

.aurora-sky__veil--coral {
    top: 46vh;
    right: -38vw;
    background: var(--coral);
    animation: aurora-drift-b 26s ease-in-out infinite alternate;
}

[data-theme="dark"] .aurora-sky__veil {
    opacity: 0.13;
}

.aurora-sky__stars {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-image:
        radial-gradient(circle at 16% 18%, rgba(255,255,255,.8) 0 1px, transparent 1.5px),
        radial-gradient(circle at 72% 8%, rgba(255,255,255,.65) 0 1px, transparent 1.5px),
        radial-gradient(circle at 42% 32%, rgba(255,255,255,.5) 0 1px, transparent 1.5px),
        radial-gradient(circle at 91% 41%, rgba(255,255,255,.58) 0 1px, transparent 1.5px);
    background-size: 290px 310px, 410px 360px, 370px 420px, 520px 430px;
}

[data-theme="dark"] .aurora-sky__stars {
    opacity: 0.22;
}

@keyframes aurora-drift-a {
    to { transform: translate3d(14vw, 10vh, 0) rotate(16deg) scale(1.08); }
}

@keyframes aurora-drift-b {
    to { transform: translate3d(-16vw, -6vh, 0) rotate(-12deg) scale(1.12); }
}

.reading-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1001;
    height: 2px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

body.is-detail .reading-progress {
    opacity: 1;
}

.reading-progress__bar {
    display: block;
    width: 0;
    height: 100%;
    background: var(--aurora);
    box-shadow: 0 0 14px rgba(66, 217, 207, 0.55);
}

.site-nav {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 100;
    width: min(1180px, calc(100% - 48px));
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255,255,255,.92);
    border-bottom: 1px solid rgba(255,255,255,.16);
    transform: translateX(-50%);
}

.site-nav__brand,
.site-nav__actions,
.theme-toggle {
    display: flex;
    align-items: center;
}

.site-nav__brand {
    gap: 11px;
    font-size: 0.9rem;
    font-weight: 650;
    letter-spacing: 0.08em;
}

.site-nav__mark {
    position: relative;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 50%;
}

.site-nav__mark::before,
.site-nav__mark::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.site-nav__mark::before {
    width: 6px;
    height: 6px;
    top: 3px;
    right: 2px;
    background: #76e7dc;
    box-shadow: 0 0 12px #76e7dc;
}

.site-nav__mark::after {
    inset: 6px;
    border: 1px solid rgba(255,255,255,.72);
}

.site-nav__actions {
    gap: 28px;
}

.site-nav__link {
    position: relative;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.site-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -7px;
    height: 1px;
    background: #75e6db;
    transition: right 0.25s ease;
}

.site-nav__link:hover::after {
    right: 0;
}

.theme-toggle {
    gap: 8px;
    min-height: 34px;
    padding: 5px 10px 5px 8px;
    color: inherit;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.4);
    transform: translateY(-1px);
}

.theme-toggle svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.theme-toggle__sun,
.theme-toggle__moon {
    display: none;
}

[data-theme="dark"] .theme-toggle__sun,
[data-theme="light"] .theme-toggle__moon {
    display: block;
}

.theme-toggle__label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
}

.site-hero {
    position: relative;
    min-height: 510px;
    overflow: hidden;
    color: #f5faf9;
    background:
        linear-gradient(105deg, rgba(3,8,18,.95) 0%, rgba(7,15,30,.9) 43%, rgba(9,17,31,.68) 100%),
        url("../images/blog/bg.png") center 43% / cover no-repeat;
    isolation: isolate;
}

.site-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at 78% 25%, rgba(89, 222, 208, .24), transparent 31%),
        radial-gradient(ellipse at 62% 70%, rgba(255, 124, 113, .17), transparent 30%),
        linear-gradient(180deg, transparent 48%, rgba(4,8,15,.72));
}

.site-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.22;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to right, transparent, black 58%, black);
}

.site-hero__halo {
    position: absolute;
    top: 18%;
    right: 5%;
    width: min(48vw, 670px);
    height: 210px;
    border-radius: 50%;
    border: 1px solid rgba(114, 235, 222, .24);
    box-shadow: 0 0 90px rgba(79, 221, 210, .14), inset 0 0 90px rgba(255, 129, 115, .07);
    transform: rotate(-12deg);
}

.site-hero__halo::before,
.site-hero__halo::after {
    content: "";
    position: absolute;
    inset: 16px -5px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
}

.site-hero__halo::after {
    inset: 37px -17px;
    border-color: rgba(255, 140, 127, .17);
}

.site-hero__inner {
    position: relative;
    width: min(1180px, calc(100% - 48px));
    min-height: 510px;
    margin: 0 auto;
    padding-top: 126px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(28px, 5vw, 74px);
}

.face {
    position: relative;
    width: clamp(116px, 13vw, 154px);
    aspect-ratio: 1;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 50%;
    box-shadow: 0 24px 60px rgba(0,0,0,.38);
}

.face::before {
    content: "";
    position: absolute;
    inset: -12px;
    border: 1px dashed rgba(113, 232, 220, .34);
    border-radius: 50%;
    animation: orbit 28s linear infinite;
}

.face__ring {
    position: absolute;
    right: -4px;
    bottom: 14px;
    z-index: 2;
    width: 15px;
    height: 15px;
    background: #65e0d4;
    border: 4px solid #0a1322;
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(101,224,212,.8);
}

.face img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: saturate(.9) contrast(1.04);
    transition: transform .45s ease, filter .45s ease;
}

.face:hover img {
    transform: scale(1.035);
    filter: saturate(1.05) contrast(1.04);
}

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

.site-hero__copy {
    max-width: 670px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 14px;
    color: var(--cyan);
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.2em;
    line-height: 1.4;
    text-transform: uppercase;
}

.site-hero .eyebrow {
    color: #8ee9df;
}

.eyebrow > span {
    width: 27px;
    height: 1px;
    flex: 0 0 auto;
    background: currentColor;
}

.site-title {
    margin: 0;
    font-family: "Iowan Old Style", "Songti SC", "STSong", "Noto Serif CJK SC", serif;
    font-size: clamp(3.3rem, 7.6vw, 6.8rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: .95;
    text-shadow: 0 18px 46px rgba(0,0,0,.38);
}

.site-title a {
    color: inherit;
}

.site-tagline {
    max-width: 580px;
    margin: 24px 0 0;
    color: rgba(235, 246, 246, .73);
    font-family: "Iowan Old Style", "Songti SC", "STSong", serif;
    font-size: clamp(.98rem, 1.5vw, 1.15rem);
    letter-spacing: .04em;
}

.site-hero__edition {
    align-self: end;
    margin-bottom: 74px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: rgba(255,255,255,.46);
    font-size: .61rem;
    letter-spacing: .2em;
    line-height: 1.9;
}

.site-hero__edition strong {
    color: rgba(255,255,255,.8);
    font-size: .7rem;
    font-weight: 600;
}

.site-hero__rule {
    position: absolute;
    right: max(24px, calc((100vw - 1180px) / 2));
    bottom: 30px;
    left: max(24px, calc((100vw - 1180px) / 2));
    height: 1px;
    background: rgba(255,255,255,.13);
}

.site-hero__rule span {
    position: absolute;
    left: 0;
    top: -1px;
    width: 18%;
    height: 2px;
    background: linear-gradient(90deg, #61ddd1, rgba(255, 138, 126, .7));
}

.site-main {
    position: relative;
    width: min(1180px, calc(100% - 48px));
    min-height: 40vh;
    margin: 0 auto;
    padding: 70px 0 110px;
}

.health-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(210px, .8fr) minmax(0, 2fr);
    align-items: center;
    gap: 36px;
    margin: -101px 0 86px;
    padding: 24px 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(24px) saturate(135%);
}

.health-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    background: var(--aurora);
}

.health-panel__lead {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 12px;
}

.health-panel__pulse {
    grid-row: 1 / 3;
    width: 9px;
    height: 9px;
    background: var(--cyan-bright);
    border-radius: 50%;
    box-shadow: 0 0 0 7px rgba(66, 217, 207, .1), 0 0 18px rgba(66, 217, 207, .55);
    animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
    50% { box-shadow: 0 0 0 11px rgba(66, 217, 207, 0), 0 0 22px rgba(66, 217, 207, .7); }
}

.health-panel__kicker {
    color: var(--ink-soft);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .18em;
}

.health-panel__lead strong {
    font-family: "Iowan Old Style", "Songti SC", "STSong", serif;
    font-size: 1.08rem;
    font-weight: 600;
}

.health-panel__metrics {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(24px, 4vw, 58px);
}

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

.health-metric svg {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--cyan);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.health-metric span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.health-metric small {
    color: var(--ink-soft);
    font-size: .75rem;
    letter-spacing: .08em;
}

.health-metric b {
    overflow: hidden;
    font-size: .9rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}

.section-heading h2 {
    margin: 0;
    font-family: "Iowan Old Style", "Songti SC", "STSong", serif;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    font-weight: 500;
    letter-spacing: -.015em;
    line-height: 1;
}

.section-heading__aside {
    margin: 0 0 4px;
    color: var(--ink-soft);
    font-size: .76rem;
    letter-spacing: .08em;
    line-height: 1.8;
    text-align: right;
}

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

.story-card {
    position: relative;
    grid-column: span 6;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--surface-solid);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 50px rgba(20, 29, 40, .08);
    transition: transform .35s cubic-bezier(.2,.75,.2,1), box-shadow .35s ease, border-color .35s ease;
}

[data-theme="dark"] .story-card {
    box-shadow: 0 22px 70px rgba(0,0,0,.22);
}

.story-card:nth-child(4n + 2) { grid-column: span 7; }
.story-card:nth-child(4n + 3) { grid-column: span 5; }
.story-card:nth-child(4n + 4) { grid-column: span 5; }
.story-card:nth-child(4n + 5) { grid-column: span 7; }

.story-card:hover {
    transform: translateY(-7px);
    border-color: var(--line-strong);
    box-shadow: 0 26px 80px rgba(20, 29, 40, .16);
}

[data-theme="dark"] .story-card:hover {
    box-shadow: 0 30px 90px rgba(0,0,0,.42), 0 0 0 1px rgba(99,224,212,.05);
}

.story-card__media {
    position: relative;
    min-height: 305px;
    overflow: hidden;
    background: #172332;
}

.story-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 305px;
    object-fit: cover;
    filter: saturate(.83) contrast(1.03);
    transition: transform .8s cubic-bezier(.2,.75,.2,1), filter .5s ease;
}

[data-theme="dark"] .story-card__media img {
    filter: saturate(.86) brightness(.84) contrast(1.07);
}

.story-card:hover .story-card__media img {
    transform: scale(1.045);
    filter: saturate(1) contrast(1.03);
}

[data-theme="dark"] .story-card:hover .story-card__media img {
    filter: saturate(.98) brightness(.9) contrast(1.06);
}

.story-card__shade {
    position: absolute;
    inset: auto 0 0;
    height: 35%;
    background: linear-gradient(to top, rgba(4,9,17,.42), transparent);
    pointer-events: none;
}

.story-card__placeholder {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 28%, rgba(255,136,123,.36), transparent 28%),
        radial-gradient(circle at 24% 68%, rgba(70,222,210,.32), transparent 32%),
        linear-gradient(145deg, #101b2b, #20203b);
}

.story-card__placeholder i {
    position: absolute;
    width: 66%;
    height: 34%;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 50%;
    transform: rotate(-18deg);
}

.story-card__placeholder i:nth-child(1) { top: 14%; left: -9%; }
.story-card__placeholder i:nth-child(2) { top: 35%; left: 22%; }
.story-card__placeholder i:nth-child(3) { top: 54%; left: 49%; }

.story-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 28px 30px 30px;
}

.story-card__topline,
.story-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.story-card__topline {
    margin-bottom: 17px;
    color: var(--ink-soft);
    font-size: .75rem;
    font-weight: 650;
    letter-spacing: .12em;
}

.story-card__index {
    color: var(--cyan);
}

.story-card__title {
    margin: 0;
    font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "Iowan Old Style", Georgia, serif;
    font-size: clamp(1.5rem, 2.15vw, 1.92rem);
    font-weight: 600;
    letter-spacing: -.018em;
    line-height: 1.34;
    text-wrap: balance;
}

.story-card__title a {
    background-image: linear-gradient(var(--coral), var(--coral));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 1px;
    transition: color .25s ease, background-size .35s ease;
}

.story-card__title a:hover {
    color: var(--coral);
    background-size: 100% 1px;
}

.story-card__summary {
    margin: 15px 0 23px;
    overflow: hidden;
    display: -webkit-box;
    color: var(--ink-soft);
    font-size: .95rem;
    line-height: 1.78;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.story-card__footer {
    margin-top: auto;
    padding-top: 19px;
    border-top: 1px solid var(--line);
}

.story-card__author {
    overflow: hidden;
    color: var(--ink-soft);
    font-size: .75rem;
    letter-spacing: .06em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.story-card__read {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    font-size: .77rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.story-card__read svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .25s ease;
}

.story-card__read:hover svg {
    transform: translateX(4px);
}

.story-card--lead {
    grid-column: 1 / -1 !important;
    min-height: min(610px, 72vw);
    display: block;
    color: #f5f8f7;
    border-color: rgba(255,255,255,.13);
    border-radius: var(--radius-lg);
}

.story-card--lead .story-card__media {
    position: absolute;
    inset: 0;
    min-height: 100%;
}

.story-card--lead .story-card__media img {
    min-height: 100%;
}

.story-card--lead .story-card__shade {
    height: 100%;
    background:
        linear-gradient(90deg, rgba(3,8,15,.9) 0%, rgba(3,8,15,.56) 48%, rgba(3,8,15,.14) 84%),
        linear-gradient(to top, rgba(3,8,15,.9), transparent 55%);
}

.story-card--lead .story-card__content {
    position: relative;
    z-index: 2;
    width: min(650px, 68%);
    min-height: min(610px, 72vw);
    padding: clamp(38px, 7vw, 78px);
    justify-content: flex-end;
}

.story-card--lead .story-card__topline,
.story-card--lead .story-card__summary,
.story-card--lead .story-card__author {
    color: rgba(240,248,247,.72);
}

.story-card--lead .story-card__index,
.story-card--lead .story-card__read {
    color: #7ce9de;
}

.story-card--lead .story-card__title {
    max-width: 12em;
    font-size: clamp(2.25rem, 4.8vw, 4.15rem);
    line-height: 1.14;
    text-shadow: 0 12px 35px rgba(0,0,0,.44);
}

.story-card--lead .story-card__summary {
    max-width: 35em;
    font-size: 1.02rem;
    line-height: 1.82;
    -webkit-line-clamp: 2;
}

.story-card--lead .story-card__footer {
    border-top-color: rgba(255,255,255,.2);
}

.story-card--lead.story-card--text-only .story-card__placeholder {
    background:
        radial-gradient(ellipse at 73% 21%, rgba(255, 130, 116, .34), transparent 26%),
        radial-gradient(ellipse at 26% 72%, rgba(62, 216, 205, .32), transparent 32%),
        linear-gradient(130deg, #081321, #17172d 63%, #231820);
}

.empty-state {
    position: relative;
    grid-column: 1 / -1;
    min-height: 390px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.empty-state__orbit {
    position: absolute;
    width: 220px;
    height: 90px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    transform: rotate(-16deg);
}

.empty-state__orbit::after {
    content: "";
    position: absolute;
    top: 7px;
    right: 25px;
    width: 9px;
    height: 9px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 18px var(--cyan);
}

.empty-state .eyebrow,
.empty-state h3,
.empty-state > p {
    position: relative;
    z-index: 1;
}

.empty-state h3 {
    margin: 12px 0 8px;
    font-family: "Iowan Old Style", "Songti SC", serif;
    font-size: 2.2rem;
}

.empty-state > p:last-child {
    color: var(--ink-soft);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
}

.pagination__label {
    margin: 0 8px 0 3px;
    color: var(--ink-soft);
    font-size: .61rem;
    font-weight: 700;
    letter-spacing: .2em;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: .78rem;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.page-btn:hover,
.page-btn.active {
    color: #071013;
    background: var(--cyan-bright);
    border-color: var(--cyan-bright);
    transform: translateY(-2px);
}

.page-btn.active {
    font-weight: 800;
}

.page-btn.disabled {
    opacity: .28;
    pointer-events: none;
}

.page-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.page-ellipsis {
    padding: 0 3px;
    color: var(--ink-soft);
    letter-spacing: .12em;
}

/* Article detail */
.detail-main {
    width: min(1120px, calc(100% - 48px));
    padding-top: 78px;
}

.story-detail {
    position: relative;
}

.story-detail__header {
    width: min(890px, 100%);
    margin: 0 auto 48px;
}

.story-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 58px;
    color: var(--ink-soft);
    font-size: .75rem;
    font-weight: 650;
    letter-spacing: .08em;
    transition: color .2s ease, transform .2s ease;
}

.story-detail__back:hover {
    color: var(--cyan);
    transform: translateX(-3px);
}

.story-detail__back svg,
.post-nav-label svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.story-detail__header h1 {
    max-width: 880px;
    margin: 18px 0 24px;
    font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "Iowan Old Style", Georgia, serif;
    font-size: clamp(2.55rem, 5.8vw, 4.5rem);
    font-weight: 500;
    letter-spacing: -.018em;
    line-height: 1.12;
    text-wrap: balance;
}

.story-detail__dek {
    max-width: 700px;
    margin: 0;
    color: var(--ink-soft);
    font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
    font-size: clamp(1.04rem, 1.5vw, 1.18rem);
    line-height: 1.82;
    letter-spacing: .008em;
}

.story-detail__meta {
    display: flex;
    align-items: center;
    gap: clamp(28px, 6vw, 74px);
    margin-top: 38px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
}

.story-detail__meta > span {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.story-detail__meta small {
    color: var(--ink-soft);
    font-size: .75rem;
    letter-spacing: .13em;
}

.story-detail__meta time,
.story-detail__meta strong {
    font-size: .875rem;
    font-weight: 650;
}

.story-detail__cover {
    position: relative;
    margin: 0 0 78px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-image);
}

.story-detail__cover::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: inherit;
    pointer-events: none;
}

.story-detail__cover img {
    display: block;
    width: 100%;
    max-height: 760px;
    aspect-ratio: 16 / 9.2;
    object-fit: cover;
    filter: saturate(.92) contrast(1.02);
}

[data-theme="dark"] .story-detail__cover img {
    filter: saturate(.88) brightness(.88) contrast(1.06);
}

.story-detail__cover-line {
    position: absolute;
    right: 32px;
    bottom: 28px;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, #69e4d8, #ff8d80);
    box-shadow: 0 0 16px rgba(105,228,216,.45);
}

.story-detail__body {
    /* 18px 正文约 39–41 个汉字一行，避免桌面端视线移动过长。 */
    width: min(720px, 100%);
    margin: 0 auto;
}

.story-detail__body .post-content,
.article-content {
    color: var(--ink);
    font-family: "Noto Serif SC", "Source Han Serif SC", "Source Han Serif CN", "Songti SC", "STSong", "Microsoft YaHei", "Iowan Old Style", Georgia, serif;
    font-size: clamp(1.0625rem, .98rem + .2vw, 1.125rem);
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: .008em;
    line-break: strict;
    overflow-wrap: break-word;
    word-break: normal;
}

.story-detail__body .post-content p {
    margin: 0 0 1.48em;
    color: var(--ink);
    font-size: inherit;
    line-height: inherit;
    text-align: justify;
    text-justify: inter-ideograph;
}

.story-detail__body .post-content > p:first-child::first-letter {
    float: left;
    margin: .13em .13em 0 0;
    color: var(--cyan);
    font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
    font-size: 3.45em;
    font-weight: 500;
    line-height: .78;
}

.story-detail__body .post-content h1,
.story-detail__body .post-content h2,
.story-detail__body .post-content h3,
.story-detail__body .post-content h4,
.story-detail__body .post-content h5,
.story-detail__body .post-content h6 {
    color: var(--ink);
    font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "Iowan Old Style", Georgia, serif;
    font-weight: 600;
    letter-spacing: -.012em;
    line-height: 1.38;
    text-wrap: balance;
}

.story-detail__body .post-content h1 { margin: 2.25em 0 .82em; font-size: clamp(2rem, 4vw, 2.35rem); }
.story-detail__body .post-content h2 { margin: 2.2em 0 .82em; padding: 0 0 .52em; font-size: clamp(1.6rem, 3.2vw, 1.85rem); border-bottom: 1px solid var(--line); }
.story-detail__body .post-content h3 { margin: 1.9em 0 .7em; font-size: clamp(1.3rem, 2.4vw, 1.48rem); }
.story-detail__body .post-content h4 { margin: 1.75em 0 .62em; font-size: 1.2rem; }
.story-detail__body .post-content h5 { margin: 1.65em 0 .58em; font-size: 1.06rem; }
.story-detail__body .post-content h6 { margin: 1.6em 0 .55em; color: var(--ink-soft); font-size: .95rem; }

.story-detail__body .post-content a {
    color: var(--cyan);
    font-weight: 650;
    border-bottom: 1px solid color-mix(in srgb, var(--cyan), transparent 48%);
    transition: color .2s ease, border-color .2s ease;
}

.story-detail__body .post-content a:hover {
    color: var(--coral);
    border-color: var(--coral);
}

.story-detail__body .post-content ul,
.story-detail__body .post-content ol {
    margin: 1.15em 0 1.65em;
    padding-left: 1.65em;
}

.story-detail__body .post-content li {
    margin: .48em 0;
    padding-left: .24em;
    line-height: 1.78;
}

.story-detail__body .post-content li > ul,
.story-detail__body .post-content li > ol {
    margin-top: .45em;
    margin-bottom: .65em;
}

.story-detail__body .post-content li::marker {
    color: var(--cyan);
}

.story-detail__body .post-content blockquote {
    position: relative;
    margin: 2.15em 0;
    padding: 1.3em 1.65em 1.3em 2em;
    color: var(--ink-soft);
    background: var(--blockquote-bg);
    border: 1px solid var(--line);
    border-left: 2px solid var(--cyan);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.story-detail__body .post-content blockquote::before {
    content: "“";
    position: absolute;
    top: -.25em;
    left: .17em;
    color: var(--cyan);
    font-family: Georgia, serif;
    font-size: 3.1rem;
    opacity: .28;
}

.story-detail__body .post-content blockquote p {
    margin: 0;
    color: inherit;
    text-align: left;
    line-height: 1.82;
}

.story-detail__body .post-content blockquote p + p {
    margin-top: .9em;
}

.story-detail__body .post-content img {
    display: block;
    width: auto;
    max-width: min(100%, 980px);
    max-height: 78vh;
    margin: 2.7em auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-image);
    cursor: zoom-in;
    transition: transform .35s ease, filter .35s ease;
}

.story-detail__body .post-content img:hover {
    transform: scale(1.012);
}

[data-theme="dark"] .story-detail__body .post-content img {
    filter: saturate(.9) brightness(.92);
}

.story-detail__body .post-content figure {
    margin: 2.8em 0;
}

.story-detail__body .post-content figure img {
    margin: 0 auto;
}

.story-detail__body .post-content figcaption {
    max-width: 44em;
    margin: 14px auto 0;
    color: var(--ink-soft);
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: .8125rem;
    letter-spacing: .025em;
    line-height: 1.65;
}

.story-detail__body .post-content hr {
    width: 92px;
    height: 1px;
    margin: 3.8em auto;
    background: var(--aurora);
    border: 0;
}

.story-detail__body .post-content pre {
    position: relative;
    margin: 2em 0;
    padding: 45px 20px 20px;
    overflow-x: auto;
    color: #dbe9eb;
    background: #07111d;
    border: 1px solid rgba(123, 203, 207, .16);
    border-radius: var(--radius-sm);
    box-shadow: 0 18px 44px rgba(0,0,0,.18);
}

.story-detail__body .post-content pre.custom {
    padding: 45px 20px 20px;
    overflow-x: auto;
}

.story-detail__body .post-content pre::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 18px;
    width: 7px;
    height: 7px;
    background: #ff8177;
    border-radius: 50%;
    box-shadow: 13px 0 #e4bd65, 26px 0 #67d8b0;
}

.story-detail__body .post-content pre code,
.story-detail__body .post-content pre.custom code {
    display: block;
    padding: 0;
    color: inherit;
    background: transparent;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: .875rem;
    line-height: 1.75;
    tab-size: 4;
}

/* 代码区始终是深色底，因此统一采用一套完整的高对比语法色，避免亮色主题 token 失去对比度。 */
.story-detail__body .post-content .hljs,
.story-detail__body .post-content code.hljs {
    color: #dbe9eb;
    background: transparent;
}

.story-detail__body .post-content .hljs-comment,
.story-detail__body .post-content .hljs-quote,
.story-detail__body .post-content .hljs-code,
.story-detail__body .post-content .hljs-formula {
    color: #91a1ad;
}

.story-detail__body .post-content .hljs-keyword,
.story-detail__body .post-content .hljs-selector-tag,
.story-detail__body .post-content .hljs-doctag,
.story-detail__body .post-content .hljs-template-tag,
.story-detail__body .post-content .hljs-template-variable,
.story-detail__body .post-content .hljs-type,
.story-detail__body .post-content .hljs-variable.language_ {
    color: #ff9fbc;
}

.story-detail__body .post-content .hljs-title,
.story-detail__body .post-content .hljs-title.class_,
.story-detail__body .post-content .hljs-title.function_,
.story-detail__body .post-content .hljs-section,
.story-detail__body .post-content .hljs-selector-id {
    color: #ffd580;
}

.story-detail__body .post-content .hljs-attr,
.story-detail__body .post-content .hljs-attribute,
.story-detail__body .post-content .hljs-literal,
.story-detail__body .post-content .hljs-meta,
.story-detail__body .post-content .hljs-number,
.story-detail__body .post-content .hljs-operator,
.story-detail__body .post-content .hljs-variable {
    color: #82d9e6;
}

.story-detail__body .post-content .hljs-string,
.story-detail__body .post-content .hljs-regexp,
.story-detail__body .post-content .hljs-meta .hljs-string,
.story-detail__body .post-content .hljs-addition {
    color: #a9e7b5;
}

.story-detail__body .post-content .hljs-name,
.story-detail__body .post-content .hljs-tag,
.story-detail__body .post-content .hljs-selector-pseudo,
.story-detail__body .post-content .hljs-selector-class {
    color: #9fd8ff;
}

.story-detail__body .post-content .hljs-built_in,
.story-detail__body .post-content .hljs-bullet,
.story-detail__body .post-content .hljs-symbol,
.story-detail__body .post-content .hljs-link {
    color: #c9afff;
}

.story-detail__body .post-content .hljs-deletion {
    color: #ff9b9b;
}

.story-detail__body .post-content .hljs-emphasis { font-style: italic; }
.story-detail__body .post-content .hljs-strong { font-weight: 700; }

.story-detail__body .post-content p code,
.story-detail__body .post-content li code {
    padding: .15em .42em;
    color: var(--coral);
    background: var(--bg-code);
    border: 1px solid var(--line);
    border-radius: 5px;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: .86em;
}

/* 长公式在窄屏可横向滚动，避免撑破阅读列。 */
.story-detail__body .post-content mjx-container[display="true"] {
    max-width: 100%;
    margin: 1.8em 0 !important;
    padding: .25em 0 .45em;
    overflow-x: auto;
    overflow-y: hidden;
    text-align: center;
    -webkit-overflow-scrolling: touch;
}

.story-detail__body .post-content mjx-container:not([display="true"]) {
    font-size: .98em;
}

.code-lang-label {
    position: absolute;
    top: 11px;
    right: 83px;
    color: rgba(219,233,235,.5);
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.code-copy-btn {
    position: absolute;
    top: 8px;
    right: 9px;
    min-width: 59px;
    padding: 5px 9px;
    color: rgba(219,233,235,.67);
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 7px;
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: .66rem;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.code-copy-btn:hover,
.code-copy-btn.is-copied {
    color: #7ce9de;
    background: rgba(124,233,222,.08);
    border-color: rgba(124,233,222,.28);
}

.table-wrapper {
    margin: 2em 0;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.story-detail__body .post-content table {
    width: 100%;
    min-width: 560px;
    margin: 0;
    border-collapse: collapse;
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: .875rem;
    line-height: 1.6;
}

.story-detail__body .post-content th,
.story-detail__body .post-content td {
    padding: 12px 14px;
    text-align: left;
    border: 0;
    border-bottom: 1px solid var(--line);
}

.story-detail__body .post-content th {
    color: var(--cyan);
    background: var(--bg-table-header);
    font-size: .69rem;
    letter-spacing: .07em;
}

.story-detail__body .post-content tr:last-child td {
    border-bottom: 0;
}

.story-detail__body .post-content tr:nth-child(2n) {
    background: color-mix(in srgb, var(--surface-raised), transparent 55%);
}

.story-detail__footer {
    width: min(900px, 100%);
    margin: 90px auto 0;
    padding-top: 46px;
    text-align: center;
    border-top: 1px solid var(--line);
}

.story-detail__endmark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
}

.story-detail__endmark span {
    width: 34px;
    height: 1px;
    background: var(--line-strong);
}

.story-detail__endmark i {
    width: 8px;
    height: 8px;
    background: var(--aurora);
    border-radius: 50%;
    box-shadow: 0 0 14px rgba(66,217,207,.45);
}

.story-detail__footer > p {
    margin: 17px 0 52px;
    color: var(--ink-soft);
    font-family: "Iowan Old Style", "Songti SC", serif;
    font-size: .95rem;
}

.post-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    text-align: left;
}

.post-nav-item {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

a.post-nav-item:hover {
    transform: translateY(-5px);
    background: var(--surface-raised);
    border-color: var(--line-strong);
}

.post-nav-item.next {
    text-align: right;
}

.post-nav-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    font-size: .66rem;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.post-nav-item.next .post-nav-label {
    justify-content: flex-end;
}

.post-nav-title {
    margin-top: 22px;
    font-family: "Iowan Old Style", "Songti SC", serif;
    font-size: 1.16rem;
    line-height: 1.45;
}

.post-nav-item--empty {
    visibility: hidden;
}

.img-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 38px;
    color: #eef7f6;
    background: rgba(2,5,10,.92);
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(18px);
    cursor: zoom-out;
    transition: opacity .25s ease, visibility .25s ease;
}

.img-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.img-lightbox__figure {
    max-width: 95vw;
    max-height: 91vh;
    margin: 0;
    text-align: center;
    cursor: default;
    transform: scale(.97);
    transition: transform .3s cubic-bezier(.2,.75,.2,1);
}

.img-lightbox.active .img-lightbox__figure {
    transform: scale(1);
}

.img-lightbox img {
    display: block;
    max-width: 92vw;
    max-height: 84vh;
    margin: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 30px 110px rgba(0,0,0,.7);
}

.img-lightbox figcaption {
    min-height: 22px;
    margin-top: 13px;
    color: rgba(238,247,246,.6);
    font-size: .75rem;
    letter-spacing: .04em;
}

.img-lightbox__close {
    position: absolute;
    top: 22px;
    right: 25px;
    width: 44px;
    height: 44px;
    color: rgba(255,255,255,.8);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    font-size: 1.7rem;
    font-weight: 200;
    line-height: 1;
    cursor: pointer;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
    cursor: pointer;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, color .2s ease, background .2s ease;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    color: #071013;
    background: var(--cyan-bright);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-footer {
    color: var(--ink-soft);
    background: var(--paper-deep);
    border-top: 1px solid var(--line);
}

.site-footer__inner {
    width: min(1180px, calc(100% - 48px));
    min-height: 180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.site-footer__name {
    margin: 0 0 5px;
    color: var(--ink);
    font-family: "Iowan Old Style", "Songti SC", serif;
    font-size: 1.18rem;
    font-weight: 600;
}

.site-footer__note,
.site-footer__filing {
    margin: 0;
    font-size: .75rem;
    letter-spacing: .05em;
}

.site-footer__filing a {
    transition: color .2s ease;
}

.site-footer__filing a:hover {
    color: var(--cyan);
}

.js .reveal-item {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .65s ease, transform .65s cubic-bezier(.2,.75,.2,1);
}

.js .reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .site-hero,
    .site-hero__inner {
        min-height: 480px;
    }

    .site-hero__inner {
        grid-template-columns: auto 1fr;
        gap: 38px;
    }

    .site-hero__edition {
        display: none;
    }

    .health-panel {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .health-panel__metrics {
        justify-content: flex-start;
    }

    .story-card,
    .story-card:nth-child(n) {
        grid-column: span 6;
    }

    .story-card--lead {
        grid-column: 1 / -1 !important;
    }

    .story-card__media,
    .story-card__media img {
        min-height: 260px;
    }

    .story-card--lead,
    .story-card--lead .story-card__content {
        min-height: 540px;
    }
}

@media (max-width: 680px) {
    .site-nav {
        width: calc(100% - 32px);
        height: 68px;
    }

    .site-nav__brand {
        font-size: .78rem;
    }

    .site-nav__actions {
        gap: 14px;
    }

    .site-nav__link,
    .theme-toggle__label {
        display: none;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
        justify-content: center;
        padding: 0;
    }

    .site-hero,
    .site-hero__inner {
        min-height: 530px;
    }

    .site-hero__inner {
        width: calc(100% - 36px);
        padding: 105px 0 58px;
        grid-template-columns: 1fr;
        align-content: center;
        gap: 31px;
    }

    .face {
        width: 106px;
    }

    .site-title {
        font-size: clamp(3.3rem, 18vw, 5.2rem);
    }

    .site-tagline {
        margin-top: 20px;
        font-size: .94rem;
        line-height: 1.8;
    }

    .site-hero__halo {
        top: 16%;
        right: -44%;
        width: 118vw;
    }

    .site-main,
    .detail-main {
        width: calc(100% - 36px);
        padding: 52px 0 82px;
    }

    .health-panel {
        margin: -79px 0 68px;
        padding: 22px 20px;
    }

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

    .health-metric--time {
        grid-column: 1 / -1;
    }

    .section-heading {
        align-items: start;
        margin-bottom: 28px;
    }

    .section-heading__aside {
        display: none;
    }

    .article-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .story-card,
    .story-card:nth-child(n) {
        width: 100%;
    }

    .story-card__media,
    .story-card__media img {
        min-height: 230px;
    }

    .story-card__content {
        padding: 23px 22px 24px;
    }

    .story-card--lead {
        min-height: 540px;
        border-radius: var(--radius-md);
    }

    .story-card--lead .story-card__content {
        width: 100%;
        min-height: 540px;
        padding: 30px 24px;
    }

    .story-card--lead .story-card__shade {
        background: linear-gradient(to top, rgba(3,8,15,.95) 0%, rgba(3,8,15,.55) 58%, rgba(3,8,15,.1));
    }

    .story-card--lead .story-card__title {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .story-card__title {
        font-size: 1.5rem;
        line-height: 1.38;
    }

    .story-card__summary,
    .story-card--lead .story-card__summary {
        margin-top: 13px;
        font-size: .9375rem;
        line-height: 1.75;
    }

    .story-card__footer {
        align-items: flex-end;
    }

    .pagination {
        gap: 5px;
        margin-top: 44px;
    }

    .pagination__label {
        display: none;
    }

    .page-btn {
        min-width: 36px;
        height: 36px;
    }

    .detail-main {
        padding-top: 52px;
    }

    .story-detail__back {
        margin-bottom: 38px;
    }

    .story-detail__header {
        margin-bottom: 36px;
    }

    .story-detail__header h1 {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
        line-height: 1.16;
    }

    .story-detail__meta {
        gap: 25px;
        overflow-x: auto;
    }

    .story-detail__meta > span {
        flex: 0 0 auto;
    }

    .story-detail__read-time {
        display: none !important;
    }

    .story-detail__cover {
        margin-right: -18px;
        margin-bottom: 54px;
        margin-left: -18px;
        border-radius: 0;
    }

    .story-detail__cover::after {
        border-radius: 0;
    }

    .story-detail__body .post-content,
    .article-content {
        font-size: 1.0625rem;
        line-height: 1.82;
        letter-spacing: 0;
    }

    .story-detail__body .post-content p {
        margin-bottom: 1.42em;
        text-align: left;
    }

    .story-detail__body .post-content > p:first-child::first-letter {
        float: none;
        margin: 0;
        color: inherit;
        font: inherit;
    }

    .story-detail__body .post-content h2 {
        margin-top: 2em;
        font-size: 1.5rem;
        line-height: 1.42;
    }

    .story-detail__body .post-content h3 {
        margin-top: 1.8em;
        font-size: 1.28rem;
    }

    .story-detail__body .post-content blockquote {
        margin: 1.8em 0;
        padding: 1.15em 1.1em 1.15em 1.35em;
    }

    .story-detail__body .post-content ul,
    .story-detail__body .post-content ol {
        padding-left: 1.4em;
    }

    .story-detail__body .post-content pre,
    .story-detail__body .post-content pre.custom {
        margin-right: -8px;
        margin-left: -8px;
        padding-right: 15px;
        padding-left: 15px;
        border-radius: 9px;
    }

    .story-detail__body .post-content pre code,
    .story-detail__body .post-content pre.custom code {
        font-size: .8125rem;
        line-height: 1.72;
    }

    .story-detail__body .post-content figcaption {
        font-size: .78rem;
    }

    .story-detail__body .post-content mjx-container[display="true"] {
        margin: 1.5em 0 !important;
        text-align: left;
    }

    .post-nav {
        grid-template-columns: 1fr;
    }

    .post-nav-item--empty {
        display: none;
    }

    .post-nav-item.next {
        text-align: left;
    }

    .post-nav-item.next .post-nav-label {
        justify-content: flex-start;
    }

    .site-footer__inner {
        width: calc(100% - 32px);
        min-height: 170px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 22px;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
    }

    .img-lightbox {
        padding: 16px;
    }
}

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

    .js .reveal-item {
        opacity: 1;
        transform: none;
    }
}
