/* 中国x站 | Original responsive visual journal | 2026 */
:root {
    color-scheme:dark;
    --bg:#0c0b15;
    --panel:#171424;
    --panel2:#211a30;
    --text:#f9f4fb;
    --muted:#afa7bd;
    --pink:#ff6baa;
    --violet:#ae75ff;
    --line:rgba(255,255,255,.11);
    --max:1160px;
}

* {
    box-sizing:border-box
}

html {
    scroll-behavior:smooth
}

body {
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
    line-height:1.65
}

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

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

button,input {
    font:inherit
}

button {
    cursor:pointer
}

h1,h2,h3,p {
    margin-top:0
}

h1,h2,h3 {
    line-height:1.35
}

h2 {
    font-size:clamp(26px,3vw,37px);
    letter-spacing:-.03em
}

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

.sr-only {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap
}

.site-header {
    position:relative;
    z-index:20;
    border-bottom:1px solid var(--line);
    background:#100d1a
}

.header-inner {
    height:78px;
    display:flex;
    align-items:center;
    gap:30px
}

.logo {
    font-size:24px;
    font-weight:900;
    display:flex;
    align-items:center;
    gap:11px;
    white-space:nowrap;
    line-height:1.1
}

.logo small {
    display:block;
    font-size:10px;
    font-weight:500;
    letter-spacing:2px;
    color:#b8b0c6;
    margin-top:8px
}

.logo-mark {
    display:grid;
    place-items:center;
    width:37px;
    height:37px;
    border-radius:11px;
    background:linear-gradient(140deg,var(--pink),var(--violet));
    color:#241029;
    font-size:18px
}

.accent,.footer-logo span {
    color:var(--pink)
}

.nav {
    display:flex;
    align-items:center;
    gap:22px;
    margin-left:auto
}

.nav a {
    font-size:13px;
    white-space:nowrap;
    color:#d0c8d9
}

.nav a:hover,.nav .is-current {
    color:#ff86ba
}

.search {
    height:38px;
    min-width:170px;
    max-width:190px;
    display:flex;
    border:1px solid #544960;
    border-radius:24px;
    overflow:hidden
}

.search input {
    width:100%;
    min-width:0;
    background:none;
    color:white;
    border:0;
    padding:0 5px 0 15px;
    outline:0;
    font-size:12px
}

.search button {
    border:0;
    color:#fbd6e6;
    background:none;
    font-size:24px;
    line-height:1;
    width:37px
}

.menu-toggle {
    display:none;
    border:1px solid var(--line);
    background:var(--panel);
    color:white;
    border-radius:7px;
    padding:5px 10px
}

.hero {
    position:relative;
    background:radial-gradient(ellipse at 85% 30%,#4e244d 0%,transparent 45%),linear-gradient(135deg,#171022,#26152f 58%,#0e0c18);
    overflow:hidden
}

.hero-inner {
    display:grid;
    grid-template-columns:1fr 1.03fr;
    align-items:center;
    gap:55px;
    min-height:540px;
    padding-block:70px
}

.eyebrow {
    font-size:11px;
    letter-spacing:2.8px;
    font-weight:800;
    color:#e88ccf;
    text-transform:uppercase
}

.status-dot {
    display:inline-block;
    width:7px;
    height:7px;
    background:#f778bb;
    border-radius:50%;
    margin-right:8px;
    box-shadow:0 0 0 4px #fa72ac22
}

.hero h1 {
    font-size:clamp(44px,5vw,70px);
    line-height:1.19;
    letter-spacing:-2px;
    margin:20px 0
}

.hero h1 em {
    font-style:normal;
    background:linear-gradient(90deg,#fff,#ff7cba);
    background-clip:text;
    color:transparent
}

.hero-lead {
    font-size:20px;
    font-weight:750
}

.hero-desc {
    max-width:460px;
    color:#c9bfd1;
    font-size:14px
}

.hero-actions {
    display:flex;
    gap:12px;
    margin-top:31px;
    flex-wrap:wrap
}

.button {
    display:inline-flex;
    align-items:center;
    gap:16px;
    border-radius:100px;
    padding:12px 24px;
    font-weight:750;
    font-size:13px
}

.primary {
    background:linear-gradient(110deg,#ff71ab,#af65e8);
    color:#1c0d25
}

.secondary {
    border:1px solid #75546e
}

.hero-stats {
    display:flex;
    flex-wrap:wrap;
    gap:28px;
    margin-top:37px;
    color:#baacc4;
    font-size:11px
}

.hero-stats b {
    color:#fff;
    font-size:18px;
    margin-right:5px
}

.hero-visual {
    position:relative;
    min-height:370px;
    border:1px solid #ffffff24;
    border-radius:26px;
    overflow:hidden;
    box-shadow:0 32px 90px #07030d80;
    transform:rotate(1deg)
}

.hero-visual img {
    width:100%;
    height:420px;
    object-fit:cover;
    object-position:50% 30%;
    filter:saturate(1.1)
}

.hero-visual:after {
    content:"";
    position:absolute;
    inset:50% 0 0;
    background:linear-gradient(transparent,#0c0617e8)
}

.visual-caption {
    position:absolute;
    z-index:1;
    bottom:28px;
    left:30px;
    display:grid;
    gap:5px
}

.visual-caption span {
    font-size:10px;
    letter-spacing:2px;
    color:#f9c1da
}

.visual-caption strong {
    font-size:22px
}

.section {
    padding:68px 0 0;
    scroll-margin-top:20px
}

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

.section-head h2 {
    margin:4px 0 8px
}

.section-head p:last-child {
    color:var(--muted);
    font-size:13px;
    margin:0
}

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

.category-tile {
    display:flex;
    align-items:center;
    gap:17px;
    min-height:120px;
    background:linear-gradient(140deg,#282039,#171523);
    border:1px solid var(--line);
    padding:21px;
    border-radius:15px;
    transition:transform .2s,border-color .2s
}

.category-tile:hover,.story-card:hover {
    transform:translateY(-4px);
    border-color:#cc7db9
}

.category-icon {
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,#813d80,#42346a);
    border-radius:14px;
    width:52px;
    height:52px;
    flex:0 0 52px;
    font-size:24px;
    color:#ffc5e6
}

.category-tile h3 {
    font-size:16px;
    margin-bottom:4px
}

.category-tile p {
    font-size:11px;
    color:var(--muted);
    margin:0
}

.tile-arrow {
    margin-left:auto;
    color:#eb83c6;
    font-size:20px
}

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

.story-card {
    background:#171522;
    border:1px solid var(--line);
    border-radius:15px;
    overflow:hidden;
    transition:transform .2s,border-color .2s;
    min-width:0
}

.story-cover {
    display:block;
    position:relative;
    height:178px;
    overflow:hidden;
    background:#332638
}

.story-cover img {
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .3s
}

.story-card:hover img {
    transform:scale(1.05)
}

.cover-pill {
    position:absolute;
    left:12px;
    top:12px;
    border:1px solid #ffffff55;
    background:#170d1c99;
    backdrop-filter:blur(8px);
    padding:3px 9px;
    border-radius:20px;
    font-size:10px
}

.story-content {
    padding:17px 16px 19px
}

.story-kind {
    color:#d887c6;
    letter-spacing:1.5px;
    font-size:9px;
    font-weight:750;
    margin:0 0 8px
}

.story-content h3 {
    font-size:15px;
    margin:0 0 10px;
    min-height:40px
}

.story-content>p:not(.story-kind) {
    font-size:11px;
    color:var(--muted);
    line-height:1.8;
    min-height:58px;
    margin-bottom:13px
}

.text-link {
    font-size:11px;
    color:#f59bc8;
    font-weight:700
}

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

.topic-card {
    position:relative;
    display:block;
    height:265px;
    border-radius:17px;
    overflow:hidden;
    background:var(--panel)
}

.topic-card img {
    width:100%;
    height:100%;
    object-fit:cover;
    filter:brightness(.75)
}

.topic-card:after {
    content:"";
    position:absolute;
    inset:35% 0 0;
    background:linear-gradient(transparent,#110c1ff0)
}

.topic-overlay {
    position:absolute;
    z-index:2;
    inset:auto 20px 22px;
    display:grid;
    gap:4px
}

.topic-overlay small {
    font-size:9px;
    letter-spacing:2px;
    color:#f2aed3
}

.topic-overlay strong {
    font-size:24px
}

.topic-overlay>span {
    font-size:12px;
    color:#ead2e4
}

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

.latest-grid .story-cover {
    height:205px
}

.about-section {
    margin-top:80px;
    background:linear-gradient(120deg,#29172e,#191525 65%,#271d3a);
    border-block:1px solid var(--line)
}

.about-inner {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:65px;
    padding-block:60px
}

.about-inner h2 {
    max-width:420px
}

.about-inner p:not(.eyebrow) {
    font-size:14px;
    color:#d5c7db;
    line-height:2
}

.footer {
    background:#0b0a12
}

.footer-top {
    padding-block:43px;
    display:flex;
    justify-content:space-between;
    gap:40px
}

.footer-logo {
    font-size:27px;
    font-weight:900
}

.footer-top p {
    color:var(--muted);
    font-size:12px;
    max-width:540px;
    margin:9px 0
}

.footer-top .muted {
    font-size:11px
}

.footer-links {
    display:flex;
    align-items:flex-start;
    justify-content:flex-end;
    gap:16px;
    flex-wrap:wrap;
    max-width:360px;
    color:#c8bed0;
    font-size:11px
}

.footer-links a:hover {
    color:var(--pink)
}

.copyright {
    border-top:1px solid var(--line);
    padding-block:17px;
    color:#777083;
    font-size:11px;
    text-align:center
}

.category-main {
    padding-top:65px;
    padding-bottom:85px;
    min-height:65vh
}

.category-heading {
    margin-bottom:35px
}

.category-heading h1 {
    font-size:45px;
    margin:10px 0
}

.category-heading p:last-child {
    color:var(--muted)
}

.article-layout {
    padding-top:26px;
    padding-bottom:75px
}

.breadcrumb {
    font-size:12px;
    color:#aaa0b5;
    margin-bottom:35px
}

.breadcrumb a:hover {
    color:var(--pink)
}

.article {
    max-width:820px;
    margin:auto
}

.article-heading {
    text-align:center
}

.article-heading h1 {
    font-size:clamp(28px,4vw,44px);
    margin:14px 0
}

.article-intro {
    color:#c8bbce;
    font-size:15px
}

.article-meta {
    font-size:11px;
    color:#9f92a9;
    margin:20px 0 35px
}

.article-picture {
    margin:0
}

.article-picture img {
    width:100%;
    height:auto;
    max-height:460px;
    object-fit:cover;
    border-radius:16px
}

.article-picture figcaption {
    text-align:center;
    font-size:11px;
    color:#9a8eaa;
    padding:12px
}

.article-prose {
    max-width:740px;
    margin:30px auto 65px
}

.article-prose h2 {
    font-size:24px;
    margin:34px 0 15px
}

.article-prose p {
    color:#d0c6d5;
    font-size:15px;
    line-height:2.15
}

.related {
    border-top:1px solid var(--line);
    padding-top:30px
}

.related h2 {
    font-size:25px
}

.related-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px
}

.empty-state {
    color:#b4aaba
}

@media(max-width:1100px) {
    .nav {
        gap:12px
    }
    .header-inner {
        gap:16px
    }
    .search {
        max-width:145px
    }
    .hero-inner {
        gap:25px
    }
    .story-grid {
        grid-template-columns:repeat(3,minmax(0,1fr))
    }
}

@media(max-width:800px) {
    .shell {
        width:min(calc(100% - 32px),var(--max))
    }
    .header-inner {
        height:68px;
        justify-content:space-between
    }
    .search {
        max-width:220px;
        margin-left:auto
    }
    .menu-toggle {
        display:block
    }
    .nav {
        display:none;
        position:absolute;
        left:0;
        right:0;
        top:68px;
        padding:16px;
        background:#171122;
        box-shadow:0 15px 28px #0007;
        flex-direction:column;
        align-items:stretch;
        gap:0
    }
    .nav.nav-open {
        display:flex
    }
    .nav a {
        padding:12px 18px
    }
    .hero-inner {
        grid-template-columns:1fr;
        padding-block:52px;
        gap:35px
    }
    .hero h1 {
        font-size:clamp(40px,9vw,62px)
    }
    .hero-visual {
        min-height:250px
    }
    .hero-visual img {
        height:345px
    }
    .category-grid {
        grid-template-columns:1fr
    }
    .story-grid {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }
    .topic-grid {
        grid-template-columns:1fr
    }
    .topic-card {
        height:250px
    }
    .about-inner {
        grid-template-columns:1fr;
        gap:0
    }
    .footer-top {
        display:block
    }
    .footer-links {
        margin-top:28px;
        justify-content:flex-start
    }
    .related-grid {
        grid-template-columns:repeat(2,1fr)
    }
}

@media(max-width:520px) {
    .logo {
        font-size:20px
    }
    .logo small {
        font-size:8px
    }
    .logo-mark {
        width:31px;
        height:31px
    }
    .search {
        display:none
    }
    .hero-stats {
        gap:14px
    }
    .hero-visual img {
        height:270px
    }
    .section {
        padding-top:50px
    }
    .story-grid,.related-grid {
        grid-template-columns:1fr
    }
    .story-cover,.latest-grid .story-cover {
        height:220px
    }
    .story-content h3,.story-content>p:not(.story-kind) {
        min-height:0
    }
    .topic-card {
        height:215px
    }
    .category-heading h1 {
        font-size:35px
    }
    .about-section {
        margin-top:50px
    }
    .footer-links {
        gap:13px
    }
}
