:root {
    --ink: #152d47;
    --muted: #66788a;
    --blue: #2466a8;
    --teal: #16877f;
    --line: #e1e9ee;
    --soft: #f5f8fa;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; font-size: 15px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--teal); }
a:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 10; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 4px; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 21px; font-weight: 700; letter-spacing: 1px; overflow-wrap: anywhere; }
.brand-mark { display: grid; place-items: center; flex: 0 0 36px; height: 36px; color: #fff; background: var(--ink); border-radius: 4px; font-size: 18px; }
.main-nav { display: flex; align-items: center; gap: 32px; flex-shrink: 0; }
.main-nav a { padding: 30px 0 27px; border-bottom: 3px solid transparent; font-size: 14px; }
.main-nav a[aria-current] { border-bottom-color: var(--teal); color: var(--teal); font-weight: 700; }
.main-content { padding-top: 32px; padding-bottom: 72px; }
.hero { position: relative; display: grid; grid-template-columns: 1fr 360px; gap: 24px; overflow: hidden; padding: 52px 48px 100px; margin-bottom: 48px; border: 1px solid #dce9ed; border-radius: 4px; background-color: #f1f7f8; background-image: repeating-linear-gradient(0deg, transparent 0, transparent 31px, #e6eff1 32px); }
.eyebrow { display: block; color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: 2px; }
.hero h1 { margin: 20px 0 18px; font-size: 44px; line-height: 1.35; letter-spacing: 2px; }
.hero h1 span { color: var(--teal); }
.hero-copy { position: relative; z-index: 1; }
.hero-copy p { color: var(--muted); font-size: 15px; line-height: 1.9; }
.primary-link { display: inline-flex; align-items: center; gap: 36px; padding: 11px 20px; margin-top: 26px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 14px; }
.primary-link:hover { background: var(--teal); color: #fff; }
.hero-stat { position: absolute; left: 48px; bottom: 26px; display: flex; align-items: baseline; gap: 14px; }
.hero-stat strong { color: var(--blue); font-size: 28px; font-weight: 600; }
.hero-stat span { color: var(--muted); font-size: 12px; }
.hero-art { position: relative; min-height: 270px; }
.art-orbit { position: absolute; top: 8px; right: 0; width: 272px; height: 272px; border: 1px solid #bdd4d9; transform: rotate(24deg); background: repeating-linear-gradient(90deg, transparent 0, transparent 23px, #d9e7eb 24px); }
.art-sheet { position: absolute; top: 20px; left: 24px; width: 230px; padding: 24px; border: 1px solid #c5d6de; border-radius: 4px; background: #fff; transform: rotate(-8deg); }
.art-sheet > span { color: var(--teal); font-size: 12px; letter-spacing: 3px; }
.art-sheet strong { display: block; margin: 20px 0 24px; font-size: 30px; line-height: 1.45; }
.art-sheet i { display: block; height: 1px; margin-top: 12px; background: #dbe6eb; }
.art-sheet i:last-child { width: 80px; background: var(--teal); }
.art-tag { position: absolute; bottom: -4px; right: 0; padding: 10px 18px; background: #dcedea; color: var(--teal); font-size: 12px; border-radius: 4px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 264px; gap: 32px; align-items: start; }
.content-layout > *, .reading-column, .article-card { min-width: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.section-heading h2 { margin-top: 4px; font-size: 25px; letter-spacing: 1px; }
.heading-dot { color: var(--teal); margin-left: 4px; }
.text-link { color: var(--blue); font-size: 13px; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.article-card { overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.article-card:hover { border-color: #a4c7cf; }
.card-cover { position: relative; display: block; height: 148px; overflow: hidden; color: #2c6876; background: #eaf3f4; background-image: repeating-linear-gradient(135deg, transparent 0, transparent 23px, #dbeaec 24px, transparent 25px); }
.article-card:nth-child(3n + 2) .card-cover { background-color: #edf2f8; color: #416389; }
.article-card:nth-child(3n) .card-cover { background-color: #f0f4ee; color: #567960; }
.cover-label { position: absolute; top: 16px; left: 16px; font-size: 11px; letter-spacing: 2px; }
.cover-number { position: absolute; bottom: 0; right: 12px; max-width: 100%; overflow: hidden; font-size: 72px; line-height: 1.2; font-weight: 300; letter-spacing: -3px; opacity: 0.55; }
.cover-line { position: absolute; bottom: 20px; left: 16px; width: 28px; height: 3px; background: currentColor; }
.card-body { padding: 18px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; }
.category-label { color: var(--teal); }
.card-body h3 { margin: 10px 0; font-size: 17px; line-height: 1.65; overflow-wrap: anywhere; }
.card-excerpt { color: var(--muted); font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
.read-link { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; color: var(--blue); font-size: 12px; }
.sidebar { display: grid; gap: 24px; }
.side-panel { padding: 24px; border: 1px solid var(--line); border-radius: 4px; }
.about-panel { background: #f8fafb; }
.side-panel h2 { font-size: 17px; overflow-wrap: anywhere; }
.about-panel h2 { margin-top: 12px; margin-bottom: 12px; }
.about-panel p { color: var(--muted); font-size: 13px; line-height: 1.95; }
.side-stat { display: flex; flex-direction: column; padding-top: 16px; margin-top: 20px; border-top: 1px solid var(--line); }
.side-stat strong { font-size: 28px; color: var(--blue); }
.side-stat span { color: var(--muted); font-size: 11px; }
.side-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.tiny-dot { width: 6px; height: 6px; background: var(--teal); border-radius: 4px; }
.latest-list { margin: 0; padding: 0; list-style: none; }
.latest-list li { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.latest-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.latest-list li > div { min-width: 0; }
.latest-number { font-size: 13px; color: var(--teal); }
.latest-list a { display: block; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.latest-date { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); }
.friends-panel .side-heading { margin-bottom: 14px; }
.friend-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.friend-links a { display: inline-block; max-width: 100%; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; transition: color .18s ease, border-color .18s ease, background-color .18s ease; }
.friend-links a:hover { color: var(--blue); border-color: var(--blue); background: #f4f8fd; }
.friends-empty { color: var(--muted); font-size: 13px; line-height: 1.9; }
.side-note { padding: 24px; border-left: 2px solid var(--teal); background: #f0f7f5; border-radius: 4px; }
.side-note p { margin-top: 12px; font-size: 20px; line-height: 1.8; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 28px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.breadcrumb-title { min-width: 0; }
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 20px 0 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.page-heading h1 { margin-top: 8px; font-size: 36px; }
.page-heading p { margin-top: 12px; color: var(--muted); font-size: 14px; }
.count-badge { flex-shrink: 0; padding: 8px 14px; background: var(--soft); font-size: 12px; border-radius: 4px; }
.count-badge strong { color: var(--blue); font-size: 18px; margin: 0 4px; }
.listing-grid { gap: 28px; }
.listing-grid .card-cover { height: 180px; }
.listing-grid .card-body { padding: 24px; }
.listing-grid .card-body h3 { font-size: 19px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; font-size: 13px; }
.pagination a, .pagination .page-number, .page-direction { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 4px; }
.pagination a:hover { border-color: var(--teal); }
.pagination .current { border-color: var(--ink); background: var(--ink); color: #fff; }
.page-gap { padding: 0 2px; color: var(--muted); }
.disabled { color: #85919c; background: var(--soft); }
.reading-panel { border: 1px solid var(--line); border-radius: 4px; padding: 36px; }
.article-header { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.article-header h1 { margin: 16px 0 20px; font-size: 32px; line-height: 1.5; overflow-wrap: anywhere; }
.article-header .article-meta { font-size: 12px; gap: 16px; }
.article-content { padding-top: 28px; font-size: 16px; line-height: 2.1; color: #344a60; overflow-wrap: anywhere; word-break: break-word; }
.article-content p { margin-bottom: 24px; }
.article-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; margin-top: 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.related-section { margin-top: 40px; }
.related-section .card-cover { height: 120px; }
.related-section .card-body { padding: 16px; }
.empty-state { padding: 48px 24px; border: 1px dashed var(--line); border-radius: 4px; text-align: center; }
.empty-state h2, .empty-state h3 { font-size: 20px; }
.empty-state p { margin: 12px 0; color: var(--muted); font-size: 14px; }
.muted { color: var(--muted); font-size: 13px; }
.site-footer { border-top: 1px solid var(--line); background: #f8fafb; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; padding-top: 32px; padding-bottom: 32px; }
.footer-name { font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.footer-inner p { margin-top: 8px; font-size: 12px; color: var(--muted); }
.footer-meta { display: flex; flex-direction: column; align-items: end; gap: 6px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 960px) {
    .container { padding-left: 24px; padding-right: 24px; }
    .hero { grid-template-columns: 1fr 260px; padding: 36px 32px 90px; }
    .hero h1 { font-size: 36px; }
    .hero-stat { left: 32px; }
    .art-sheet { left: 8px; width: 200px; }
    .art-orbit { width: 220px; height: 240px; }
    .art-tag { right: -8px; }
    .content-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .side-note { grid-column: 1 / -1; }
    .listing-grid { gap: 20px; }
}
@media (max-width: 640px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .header-inner { min-height: 72px; gap: 12px; }
    .brand { font-size: 16px; gap: 8px; letter-spacing: 0; }
    .brand-mark { flex-basis: 28px; height: 28px; font-size: 14px; }
    .main-nav { gap: 16px; }
    .main-nav a { font-size: 12px; padding-top: 24px; padding-bottom: 21px; }
    .main-content { padding-top: 24px; padding-bottom: 44px; }
    .hero { display: block; padding: 28px 24px 86px; margin-bottom: 32px; }
    .hero h1 { font-size: 30px; letter-spacing: 1px; }
    .hero-copy p { font-size: 13px; }
    .hero-art { display: none; }
    .hero-stat { left: 24px; bottom: 20px; }
    .hero-stat strong { font-size: 24px; }
    .eyebrow { font-size: 11px; letter-spacing: 1px; }
    .section-heading { gap: 12px; margin-bottom: 20px; }
    .section-heading h2 { font-size: 23px; }
    .text-link { font-size: 12px; }
    .article-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .card-cover, .listing-grid .card-cover, .related-section .card-cover { height: 164px; }
    .card-body, .listing-grid .card-body, .related-section .card-body { padding: 20px; }
    .card-body h3, .listing-grid .card-body h3 { font-size: 18px; }
    .sidebar { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .side-panel { padding: 22px; }
    .page-heading { display: block; margin-top: 8px; margin-bottom: 24px; padding-bottom: 24px; }
    .page-heading h1 { font-size: 30px; }
    .count-badge { display: inline-block; margin-top: 20px; }
    .breadcrumbs { margin-bottom: 20px; gap: 8px; }
    .reading-panel { padding: 24px 20px; }
    .article-header h1 { font-size: 26px; }
    .article-header .article-meta { gap: 12px; }
    .article-content { font-size: 16px; line-height: 2; }
    .pagination { gap: 4px; margin-top: 28px; font-size: 12px; }
    .pagination a, .pagination .page-number, .page-direction { min-width: 30px; min-height: 34px; padding: 5px 7px; }
    .footer-inner { flex-direction: column; gap: 20px; padding-top: 28px; padding-bottom: 28px; }
    .footer-meta { align-items: start; }
}
