/* 赛博号文章列表与详情页 - 高质感升级版 */
:root {
    --article-primary: #f090a6;
    --article-primary-dark: #d85f82;
    --article-accent: #6c5ce7;
    --article-gold: #f6d365;
    --article-ink: #181a24;
    --article-text: #2d3436;
    --article-soft: #6f7685;
    --article-muted: #8a92a3;
    --article-line: rgba(24, 26, 36, 0.08);
    --article-card: rgba(255, 255, 255, 0.78);
    --article-glass: rgba(255, 255, 255, 0.68);
    --article-shadow: 0 22px 70px rgba(35, 38, 57, 0.12);
    --article-shadow-strong: 0 34px 95px rgba(35, 38, 57, 0.18);
}

html {
    scroll-behavior: smooth;
}

body.article-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at 8% 8%, rgba(240, 144, 166, 0.22), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(108, 92, 231, 0.18), transparent 30%),
        linear-gradient(180deg, #fff8fb 0%, #f8f7ff 48%, #ffffff 100%);
    color: var(--article-text);
    overflow-x: hidden;
}

.article-shell .nav-bar {
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 14px 36px rgba(35, 38, 57, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.article-shell .nav-link.login-btn {
    border-radius: 999px !important;
    box-shadow: 0 8px 22px rgba(35, 38, 57, 0.06);
}

.article-ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.article-ambient span {
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 999px;
    filter: blur(46px);
    opacity: 0.38;
    transform: translate3d(0,0,0);
}

.article-ambient span:nth-child(1) {
    top: 90px;
    right: -180px;
    background: linear-gradient(135deg, rgba(240,144,166,.55), rgba(246,211,101,.28));
}

.article-ambient span:nth-child(2) {
    top: 440px;
    left: -220px;
    background: linear-gradient(135deg, rgba(108,92,231,.38), rgba(117,214,255,.22));
}

.article-ambient span:nth-child(3) {
    width: 300px;
    height: 300px;
    right: 18%;
    bottom: 8%;
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(255,255,255,.7);
}

.main-content.article-page {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 108px 0 22px;
    position: relative;
    z-index: 1;
}

.article-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.72fr);
    gap: 26px;
    align-items: stretch;
    min-height: 520px;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 36px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.56)),
        linear-gradient(135deg, rgba(240,144,166,.15), rgba(108,92,231,.1));
    box-shadow: var(--article-shadow);
    overflow: hidden;
    isolation: isolate;
}

.article-hero::before,
.article-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

.article-hero::before {
    inset: 0;
    background-image: linear-gradient(rgba(24,26,36,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(24,26,36,.045) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at 18% 18%, #000 0%, transparent 60%);
}

.article-hero::after {
    width: 420px;
    height: 420px;
    right: -160px;
    top: -150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240,144,166,.35), transparent 68%);
}

.article-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 20px 12px 20px 4px;
}

.article-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    padding: 9px 14px;
    color: var(--article-primary-dark);
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(240, 144, 166, 0.26);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    box-shadow: 0 10px 24px rgba(240, 144, 166, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.article-hero h1,
.article-detail-hero h1 {
    margin: 18px 0 16px;
    color: var(--article-ink);
    font-size: clamp(34px, 5.1vw, 30px);
    line-height: 1.04;
    letter-spacing: -2.6px;
    font-weight: 950;
}

.article-hero p,
.article-detail-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--article-soft);
    font-size: 17px;
    line-height: 1.86;
}

.article-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0 0;
}

.article-hero-stats span {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    min-height: 52px;
    padding: 10px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.8);
    color: var(--article-muted);
    box-shadow: 0 12px 28px rgba(35, 38, 57, 0.07);
}

.article-hero-stats strong {
    color: var(--article-ink);
    font-size: 25px;
    line-height: 1;
}

.article-hero-actions,
.article-back-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.article-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.36);
    background: linear-gradient(135deg, #ef7898 0%, #f6a4b8 42%, #6c5ce7 100%);
    box-shadow: 0 16px 34px rgba(240, 144, 166, 0.32);
    transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
    overflow: hidden;
}

.article-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
    transform: translateX(-120%);
    transition: transform .55s ease;
}

.article-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(240, 144, 166, 0.38);
}

.article-btn:hover::before {
    transform: translateX(120%);
}

.article-btn.secondary {
    color: var(--article-ink);
    background: rgba(255,255,255,.7);
    border-color: rgba(24,26,36,.08);
    box-shadow: 0 14px 28px rgba(35,38,57,.08);
}

.article-spotlight {
    min-height: 100%;
}

.spotlight-card {
    position: relative;
    display: block;
    height: 100%;
    min-height: 452px;
    color: inherit;
    text-decoration: none;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--article-shadow-strong);
    background: #161823;
}

.spotlight-media,
.spotlight-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.spotlight-media img {
    object-fit: cover;
    opacity: .92;
    transform: scale(1.01);
    transition: transform .55s ease, opacity .55s ease;
}

.spotlight-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(13, 15, 25, .08) 0%, rgba(13, 15, 25, .74) 82%),
        radial-gradient(circle at 84% 10%, rgba(240, 144, 166, .42), transparent 38%);
}

.spotlight-card:hover .spotlight-media img {
    transform: scale(1.08);
    opacity: 1;
}

.spotlight-glass {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    padding: 22px;
    color: #fff;
    border-radius: 24px;
    background: rgba(15, 18, 32, 0.46);
    border: 1px solid rgba(255,255,255,.22);
    box-shadow: 0 18px 40px rgba(0,0,0,.2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.spotlight-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: rgba(255,255,255,.8);
    font-size: 12px;
    font-weight: 800;
}

.spotlight-glass h2 {
    margin: 13px 0 10px;
    color: #fff;
    font-size: 25px;
    line-height: 1.25;
    letter-spacing: -.5px;
}

.spotlight-glass p {
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    line-height: 1.72;
}

.spotlight-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #fff;
    font-weight: 900;
}

.article-command {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 360px);
    gap: 18px;
    align-items: center;
    margin: 34px 0 12px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.76);
    border-radius: 28px;
    background: rgba(255,255,255,.66);
    box-shadow: 0 18px 52px rgba(35, 38, 57, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.article-command-head h2 {
    margin: 6px 0 0;
    color: var(--article-ink);
    font-size: 28px;
    letter-spacing: -.6px;
}

.article-section-kicker {
    color: var(--article-primary-dark);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.article-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid rgba(24, 26, 36, 0.08);
    border-radius: 18px;
    background: rgba(255,255,255,0.86);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 12px 24px rgba(35,38,57,.05);
}

.article-search i {
    color: var(--article-primary-dark);
}

.article-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--article-ink);
    font-size: 14px;
}

.article-search input::placeholder {
    color: #a3a9b7;
}

.article-category-row {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.article-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(24,26,36,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    color: var(--article-soft);
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    transition: transform .22s ease, color .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.article-chip em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(24,26,36,.06);
    color: var(--article-muted);
    font-style: normal;
    font-size: 12px;
}

.article-chip:hover,
.article-chip.active {
    transform: translateY(-2px);
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--article-primary), var(--article-accent));
    box-shadow: 0 14px 24px rgba(240,144,166,.22);
}

.article-chip:hover em,
.article-chip.active em {
    color: #fff;
    background: rgba(255,255,255,.22);
}

.article-result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin: 18px 4px;
    color: var(--article-muted);
    font-size: 13px;
}

.article-result-meta strong {
    color: var(--article-primary-dark);
}

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

.article-card {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 28px;
    background: var(--article-card);
    box-shadow: 0 18px 46px rgba(35, 38, 57, 0.09);
    overflow: hidden;
    isolation: isolate;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.article-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(240,144,166,.16), transparent 34%, rgba(108,92,231,.12));
    opacity: 0;
    transition: opacity .28s ease;
}

.article-card:hover {
    transform: translateY(-8px);
    border-color: rgba(240,144,166,.28);
    box-shadow: 0 28px 70px rgba(35, 38, 57, 0.15);
}

.article-card:hover::before {
    opacity: 1;
}

.article-card.is-feature {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1fr);
    min-height: 330px;
}

.article-card-image {
    position: relative;
    height: 214px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff1f5, #f2f0ff);
}

.article-card.is-feature .article-card-image {
    height: 100%;
    min-height: 330px;
}

.article-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(12,14,23,.34));
}

.article-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease, filter .5s ease;
}

.article-card:hover .article-card-image img {
    transform: scale(1.07);
    filter: saturate(1.06) contrast(1.02);
}

.article-card-image span {
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    color: #fff;
    border-radius: 999px;
    background: rgba(18, 20, 34, .46);
    border: 1px solid rgba(255,255,255,.26);
    font-size: 12px;
    font-weight: 900;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.article-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 13px;
    padding: 22px;
}

.article-card.is-feature .article-card-body {
    justify-content: center;
    padding: 30px;
}

.article-card-meta,
.article-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    color: var(--article-muted);
    font-size: 13px;
    font-weight: 750;
}

.article-card h3 {
    margin: 0;
    color: var(--article-ink);
    font-size: 20px;
    line-height: 1.38;
    letter-spacing: -.25px;
}

.article-card.is-feature h3 {
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -1px;
}

.article-card p {
    margin: 0;
    color: var(--article-soft);
    font-size: 14px;
    line-height: 1.82;
}

.article-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 8px;
    color: var(--article-muted);
    font-size: 13px;
}

.article-card-foot strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--article-primary-dark);
    white-space: nowrap;
}

.article-card-foot i {
    font-size: 15px;
}

.article-empty {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 220px;
    margin-top: 18px;
    padding: 32px;
    text-align: center;
    color: var(--article-muted);
    background: rgba(255,255,255,.72);
    border: 1px dashed rgba(240, 144, 166, 0.38);
    border-radius: 28px;
    box-shadow: 0 16px 36px rgba(35,38,57,.06);
}

.article-empty i {
    color: var(--article-primary-dark);
    font-size: 32px;
}

.article-empty strong {
    color: var(--article-ink);
    font-size: 18px;
}

/* 详情页 */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    z-index: 1200;
    background: linear-gradient(90deg, var(--article-primary), var(--article-accent), var(--article-gold));
    box-shadow: 0 0 18px rgba(240,144,166,.5);
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    width:100%;
    margin-bottom: 18px;
    padding: 10px 14px;
    color: var(--article-muted);
    font-size: 14px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 999px;
    background: rgba(255,255,255,.62);
    box-shadow: 0 12px 28px rgba(35, 38, 57, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.article-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--article-primary-dark);
    text-decoration: none;
    font-weight: 900;
}

.article-detail-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 26px;
    border-radius: 38px;
    overflow: hidden;
    background: #141720;
    box-shadow: var(--article-shadow-strong);
    isolation: isolate;
}

.detail-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.detail-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.02);
    transform: scale(1.02);
}

.article-detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(10, 12, 22, .08) 0%, rgba(10, 12, 22, .68) 58%, rgba(10, 12, 22, .9) 100%),
        radial-gradient(circle at 78% 20%, rgba(240,144,166,.5), transparent 34%),
        radial-gradient(circle at 14% 20%, rgba(108,92,231,.38), transparent 36%);
}

.article-detail-hero::after {
    content: "";
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 28px;
    pointer-events: none;
}

.detail-hero-content {
    width: min(900px, 100%);
    padding: 48px;
    color: #fff;
}

.article-detail-hero h1 {
    color: #fff;
    text-shadow: 0 12px 34px rgba(0,0,0,.22);
}

.article-detail-hero p {
    color: rgba(255,255,255,.8);
}

.article-detail-hero .article-eyebrow {
    color: #fff;
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.25);
    box-shadow: none;
}

.premium-meta {
    margin-top: 24px;
    color: rgba(255,255,255,.78);
}

.premium-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.article-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 336px;
    gap: 24px;
    align-items: start;
}

.article-detail-card,
.article-side-card {
    border: 1px solid rgba(255,255,255,.76);
    border-radius: 30px;
    background: rgba(255,255,255,.76);
    box-shadow: 0 18px 52px rgba(35, 38, 57, 0.09);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
}

.article-detail-body {
    padding: clamp(24px, 4vw, 46px);
}

.article-summary {
    position: relative;
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 16px;
    margin: 0 0 30px;
    padding: 22px;
    color: #4f5665;
    line-height: 1.9;
    background:
        linear-gradient(135deg, rgba(240,144,166,.13), rgba(108,92,231,.09)),
        rgba(255,255,255,.72);
    border: 1px solid rgba(240, 144, 166, 0.16);
    border-radius: 24px;
}

.article-summary i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: #fff;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--article-primary), var(--article-accent));
    box-shadow: 0 12px 26px rgba(240,144,166,.26);
    font-size: 20px;
}

.article-content {
    color: #333a46;
    font-size: 17px;
    line-height: 2.05;
}

.article-content h2 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 42px 0 14px;
    color: var(--article-ink);
    font-size: clamp(23px, 3vw, 30px);
    line-height: 1.3;
    letter-spacing: -.5px;
    scroll-margin-top: 92px;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content h2 span {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--article-primary-dark);
    border-radius: 14px;
    background: rgba(240,144,166,.12);
    font-size: 14px;
    font-weight: 950;
}

.article-content p {
    margin: 0 0 18px;
}

.article-content p:first-letter {
    font-weight: 800;
}

.article-side-panel {
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.article-side-card {
    padding: 20px;
}

.article-side-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--article-ink);
    font-size: 18px;
    line-height: 1.3;
}

.article-author-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 14px;
    align-items: center;
}

.author-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    color: #fff;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--article-primary), var(--article-accent));
    box-shadow: 0 14px 28px rgba(240,144,166,.24);
    font-size: 26px;
}

.article-author-card span {
    color: var(--article-muted);
    font-size: 12px;
    font-weight: 850;
}

.article-author-card strong {
    display: block;
    margin: 2px 0 4px;
    color: var(--article-ink);
    font-size: 18px;
}

.article-author-card p {
    margin: 0;
    color: var(--article-soft);
    font-size: 13px;
    line-height: 1.6;
}

.toc-link {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: start;
    padding: 12px 0;
    color: var(--article-soft);
    text-decoration: none;
    border-bottom: 1px solid rgba(24,26,36,.07);
    transition: color .22s ease, transform .22s ease;
}

.toc-link:last-child {
    border-bottom: 0;
}

.toc-link em {
    color: var(--article-primary-dark);
    font-style: normal;
    font-weight: 950;
    font-size: 12px;
}

.toc-link span {
    font-size: 13px;
    line-height: 1.55;
}

.toc-link:hover {
    color: var(--article-ink);
    transform: translateX(3px);
}

.toc-empty {
    color: var(--article-muted);
    font-size: 13px;
}

.related-item {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 12px;
    align-items: center;
    padding: 13px 0;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(24,26,36,.07);
}

.related-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-item:first-child {
    padding-top: 0;
}

.related-item img {
    width: 74px;
    height: 58px;
    border-radius: 16px;
    object-fit: cover;
    background: #fff1f5;
    transition: transform .25s ease;
}

.related-item:hover img {
    transform: scale(1.04);
}

.related-item strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--article-ink);
    font-size: 14px;
    line-height: 1.45;
}

.related-item span span {
    display: block;
    margin-top: 6px;
    color: var(--article-muted);
    font-size: 12px;
}

.article-back-actions {
    padding-top: 12px;
}

.mobile-menu {
    transition: right .25s ease;
}

.mobile-menu-overlay.active {
    display: block;
}

@media (max-width: 1080px) {
    .article-hero,
    .article-detail-layout {
        grid-template-columns: 1fr;
    }

    .article-hero {
        min-height: auto;
    }

    .spotlight-card {
        min-height: 420px;
    }

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

    .article-side-panel .article-side-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 920px) {
    .article-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-card.is-feature {
        grid-column: 1 / -1;
    }

    .article-command {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .main-content.article-page {
        width: min(100% - 24px, 1200px);
        padding-top: 86px !important;
    }

    .article-hero {
        padding: 20px;
        border-radius: 28px;
    }

    .article-hero h1,
    .article-detail-hero h1 {
        letter-spacing: -1.4px;
    }

    .article-hero p,
    .article-detail-hero p {
        font-size: 15px;
    }

    .article-hero-stats span {
        width: 100%;
        justify-content: space-between;
    }

    .spotlight-card {
        min-height: 360px;
        border-radius: 24px;
    }

    .spotlight-glass {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 18px;
    }

    .spotlight-glass h2 {
        font-size: 21px;
    }

    .article-command {
        padding: 18px;
        border-radius: 24px;
    }

    .article-list {
        grid-template-columns: 1fr;
    }

    .article-card.is-feature {
        display: flex;
        min-height: auto;
    }

    .article-card.is-feature .article-card-image {
        min-height: 0;
        height: 214px;
    }

    .article-card.is-feature .article-card-body {
        padding: 22px;
    }

    .article-card.is-feature h3 {
        font-size: 22px;
    }

    .article-detail-hero {
        min-height: 470px;
        border-radius: 28px;
    }

    .article-detail-hero::after {
        inset: 12px;
        border-radius: 22px;
    }

    .detail-hero-content {
        padding: 30px 24px;
    }

    .premium-meta span {
        width: 100%;
        justify-content: center;
    }

    .article-detail-card,
    .article-side-card {
        border-radius: 24px;
    }

    .article-summary {
        grid-template-columns: 1fr;
    }

    .article-side-panel {
        grid-template-columns: 1fr;
    }

    .article-content {
        font-size: 16px;
    }

    .article-content h2 {
        align-items: flex-start;
    }
}

@media (max-width: 420px) {
    .article-hero-actions,
    .article-back-actions {
        flex-direction: column;
    }

    .article-btn {
        width: 100%;
    }

    .article-card-foot {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Pure HTML version: mobile menu and static helper blocks do not rely on JavaScript. */
.mobile-menu-toggle {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none;
}

.mobile-menu-toggle:checked ~ .mobile-menu {
    right: 0;
}

.mobile-menu-toggle:checked ~ .mobile-menu-overlay {
    display: block;
}

.mobile-menu-btn,
.mobile-menu-close,
.mobile-menu-overlay {
    cursor: pointer;
}

.article-static-note {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.68);
    border-radius: 999px;
    color: var(--article-muted);
    background: rgba(255,255,255,.68);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
    backdrop-filter: blur(18px);
}

.article-static-note i {
    color: var(--article-primary);
}

.article-chip {
    text-decoration: none;
}

.article-static-section {
    scroll-margin-top: 110px;
}

.article-static-section-head {
    display: none;
}

@media (max-width: 768px) {
    .article-static-note {
        width: 100%;
        align-items: flex-start;
        border-radius: 22px;
        padding: 14px 16px;
        line-height: 1.7;
    }
}
