:root {
    --ink: #16131c;
    --muted: #6f6877;
    --paper: #fffdf9;
    --line: #e9e2eb;
    --accent: #ef315b;
    --accent-dark: #bc163d;
    --violet: #6c4cf1;
    --yellow: #ffd96a;
    --mint: #bdeedc;
    --shadow: 0 20px 60px rgba(33, 20, 48, 0.09);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

.container {
    width: calc(100% - 40px);
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}

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

.ui-icon {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid rgba(24, 17, 29, 0.08);
    background: rgba(255, 253, 249, 0.94);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    gap: 24px;
}

.brand {
    flex: 0 0 auto;
}

.brand-logo {
    width: 180px;
    height: auto;
}

.main-nav {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 9px;
    border-radius: 12px;
    color: #504958;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.nav-link .ui-icon {
    width: 25px;
    height: 25px;
    font-size: 11px;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--accent);
    background: #fff0f3;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-left: 18px;
    border-left: 1px solid var(--line);
    font-size: 14px;
    font-weight: 800;
}

.header-search .ui-icon {
    width: 30px;
    height: 30px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 4px 0;
    background: var(--ink);
}

.hero-section {
    padding: 68px 0 46px;
    background: radial-gradient(circle at 85% 10%, rgba(255, 217, 106, 0.55), transparent 28%), radial-gradient(circle at 5% 90%, rgba(108, 76, 241, 0.16), transparent 32%), #fff8f4;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 56px;
}

.hero-kicker,
.section-kicker,
.eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(50px, 7vw, 94px);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.hero-copy h1 a {
    background: linear-gradient(110deg, var(--ink) 35%, var(--accent) 36%, #ff7b6f 70%);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 640px;
    margin: 24px 0 0;
    color: #514957;
    font-size: clamp(17px, 2vw, 21px);
}

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

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    border-color: var(--accent);
    color: #fff;
    background: var(--accent);
    box-shadow: 0 12px 30px rgba(239, 49, 91, 0.24);
}

.button-ghost {
    background: rgba(255, 255, 255, 0.72);
}

.button-dark {
    color: #fff;
    background: var(--ink);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 13px;
}

.hero-meta span::before {
    content: "•";
    margin-right: 7px;
    color: var(--accent);
}

.hero-visual {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    border-radius: 34px;
    background: #e9e3ec;
    box-shadow: var(--shadow);
}

.hero-visual img,
.card-media img,
.deep-image img,
.article-cover img,
.search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-caption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    color: #fff;
    background: rgba(20, 15, 25, 0.72);
    backdrop-filter: blur(10px);
}

.hero-caption span {
    display: block;
    margin-bottom: 5px;
    color: #ffd96a;
    font-size: 12px;
    font-weight: 900;
}

.hero-caption strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: clamp(16px, 2vw, 22px);
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ticker-section {
    color: #fff;
    background: var(--ink);
}

.ticker-inner {
    display: flex;
    min-height: 64px;
    align-items: center;
    gap: 22px;
}

.ticker-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--yellow);
    font-weight: 900;
    white-space: nowrap;
}

.ticker-label .ui-icon {
    width: 28px;
    height: 28px;
    font-size: 11px;
}

.ticker-track {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 28px;
    overflow: hidden;
    flex: 1;
}

.ticker-track a {
    overflow: hidden;
    color: #eae5ec;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticker-track a::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 9px 2px 0;
    border-radius: 50%;
    background: var(--accent);
}

.ticker-inner time {
    color: #aaa3ae;
    font-size: 13px;
}

.section-block {
    padding: 86px 0;
}

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

.section-heading h2,
.pulse-intro h2,
.deep-copy h2,
.ranking-copy h2,
.journal-note h2,
.search-cta h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: clamp(27px, 3vw, 40px);
    line-height: 1.2;
}

.section-heading > a,
.section-heading > span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.section-heading > a:hover {
    color: var(--accent);
}

.section-heading.centered {
    justify-content: center;
    text-align: center;
}

.section-heading.centered h2 {
    justify-content: center;
}

.section-heading.compact {
    margin-bottom: 24px;
}

.section-heading.compact h2 {
    font-size: 28px;
}

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

.feature-card,
.story-card,
.related-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 10px 34px rgba(35, 24, 44, 0.05);
}

.feature-card:first-child {
    color: #fff;
    border-color: var(--ink);
    background: var(--ink);
}

.feature-card:first-child .eyebrow,
.feature-card:first-child .text-link {
    color: var(--yellow);
}

.feature-card:first-child .card-body > p:not(.eyebrow) {
    color: #cfc8d3;
}

.card-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eee8f0;
}

.card-media img {
    transition: transform 0.35s ease;
}

.feature-card:hover .card-media img,
.story-card:hover .card-media img,
.related-card:hover .card-media img {
    transform: scale(1.04);
}

.media-label {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 11px;
    border-radius: 999px;
    color: #fff;
    background: rgba(20, 15, 25, 0.78);
    font-size: 12px;
    font-weight: 800;
}

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

.card-body h3 {
    display: -webkit-box;
    min-height: 3.1em;
    margin: 0;
    overflow: hidden;
    font-size: 19px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-body h3 a:hover {
    color: var(--accent);
}

.card-body > p:not(.eyebrow) {
    display: -webkit-box;
    margin: 12px 0 20px;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.text-link {
    margin-top: auto;
    color: var(--accent);
    font-size: 14px;
    font-weight: 900;
}

.pulse-section {
    padding: 76px 0;
    color: #fff;
    background: linear-gradient(125deg, #271a39, #121016 65%);
}

.pulse-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: 72px;
}

.pulse-intro p:last-child {
    max-width: 460px;
    color: #bdb5c3;
}

.pulse-bars {
    display: grid;
    gap: 18px;
}

.pulse-bars a {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 16px;
    font-size: 14px;
}

.pulse-bars i {
    position: relative;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #3e3646;
}

.pulse-bars i::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--level);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--yellow));
}

.pulse-bars b {
    color: var(--yellow);
}

.category-section {
    background: #f7f3f7;
}

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

.category-tile {
    display: grid;
    min-height: 190px;
    padding: 24px;
    border-radius: 22px;
    grid-template-columns: auto 1fr;
    grid-template-rows: 1fr auto;
    gap: 14px;
    transition: transform 0.2s ease;
}

.category-tile:hover {
    transform: translateY(-4px);
}

.category-tile h3 {
    margin: 2px 0 7px;
    font-size: 20px;
}

.category-tile p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: rgba(22, 19, 28, 0.68);
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.tile-arrow {
    grid-column: 2;
    font-size: 22px;
}

.tone-1 {
    background: #ffdfe7;
}

.tone-2 {
    background: #e7e1ff;
}

.tone-3 {
    background: #d7f4e9;
}

.tone-4 {
    background: #ffebad;
}

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

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

.deep-section {
    padding: 32px 0 88px;
}

.deep-layout {
    display: grid;
    overflow: hidden;
    border-radius: 32px;
    color: #fff;
    background: #291f32;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.deep-image {
    min-height: 560px;
}

.deep-copy {
    padding: 64px;
}

.deep-copy > p:not(.section-kicker) {
    color: #ccc3d0;
}

.deep-copy ol {
    margin: 28px 0;
    padding: 0;
    list-style: none;
}

.deep-copy li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.deep-copy li span {
    color: var(--yellow);
    font-size: 12px;
    font-weight: 900;
}

.deep-copy .button-dark {
    border-color: #fff;
}

.verify-section {
    background: #fff6ef;
}

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

.verify-steps::before {
    content: "";
    position: absolute;
    top: 31px;
    right: 12%;
    left: 12%;
    height: 2px;
    background: #e1cad0;
}

.verify-steps > div {
    position: relative;
    padding: 0 18px;
    text-align: center;
}

.verify-steps span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    place-items: center;
    border: 8px solid #fff6ef;
    border-radius: 50%;
    color: #fff;
    background: var(--accent);
    font-size: 14px;
    font-weight: 900;
}

.verify-steps h3 {
    margin: 0 0 6px;
}

.verify-steps p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.ranking-section {
    padding: 90px 0;
}

.ranking-layout {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 64px;
}

.ranking-copy > p:not(.section-kicker) {
    color: var(--muted);
}

.ranking-list {
    margin: 0;
    padding: 0;
    border-top: 2px solid var(--ink);
    list-style: none;
}

.ranking-list li {
    display: grid;
    padding: 17px 4px;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
}

.rank-num {
    color: var(--accent);
    font-weight: 900;
}

.ranking-list a {
    overflow: hidden;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-tag {
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--muted);
    background: #f2edf3;
    font-size: 11px;
}

.journal-section {
    background: #efeaff;
}

.journal-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
    gap: 24px;
}

.journal-quote,
.journal-note {
    padding: 48px;
    border-radius: 28px;
}

.journal-quote {
    color: #fff;
    background: var(--violet);
}

.journal-quote > span {
    color: #d7ccff;
    font-family: Georgia, serif;
    font-size: 84px;
    line-height: 0.7;
}

.journal-quote blockquote {
    margin: 16px 0 24px;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.45;
}

.journal-quote p {
    color: #d9d1ef;
}

.journal-note {
    background: #fff;
}

.journal-note > p:not(.section-kicker) {
    color: var(--muted);
}

.search-cta-section {
    padding: 90px 0;
    background: var(--yellow);
}

.search-cta {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 64px;
}

.search-form {
    display: flex;
    overflow: hidden;
    padding: 7px;
    border: 1px solid rgba(22, 19, 28, 0.18);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(54, 38, 12, 0.1);
}

.search-form input {
    min-width: 0;
    padding: 0 18px;
    border: 0;
    outline: 0;
    flex: 1;
}

.search-form button {
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--ink);
    font-weight: 800;
    cursor: pointer;
}

.notice-section {
    padding: 50px 0;
}

.notice-box {
    display: grid;
    padding: 28px 32px;
    border: 1px solid #f0cad2;
    border-radius: 22px;
    background: #fff4f6;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}

.notice-box h2,
.notice-box p {
    margin: 0;
}

.notice-box p {
    color: var(--muted);
    font-size: 14px;
}

.notice-box > a {
    color: var(--accent);
    font-weight: 900;
}

.breadcrumb {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}

.breadcrumb span[aria-current] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-hero,
.simple-hero,
.search-hero {
    padding: 68px 0;
    background: linear-gradient(130deg, #fff0f3, #eee9ff 70%, #fff9df);
}

.category-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.category-hero h1,
.simple-hero h1,
.search-hero h1,
.article-header h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.2;
}

.category-hero h1 {
    display: flex;
    align-items: center;
    gap: 14px;
}

.category-hero-inner > div:first-child > p:last-child,
.simple-hero .container > p:last-child {
    max-width: 760px;
    color: var(--muted);
    font-size: 17px;
}

.category-count {
    display: grid;
    width: 150px;
    height: 150px;
    place-items: center;
    align-content: center;
    flex: 0 0 auto;
    border: 1px solid rgba(22, 19, 28, 0.15);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.46);
}

.category-count strong {
    color: var(--accent);
    font-size: 44px;
    line-height: 1;
}

.category-count span {
    color: var(--muted);
    font-size: 13px;
}

.content-sidebar-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 38px;
}

.sidebar {
    display: grid;
    align-content: start;
    gap: 20px;
}

.sidebar-panel {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
}

.sidebar-panel.soft {
    border-color: #ecd6dc;
    background: #fff5f7;
}

.sidebar-panel h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    font-size: 20px;
}

.sidebar-panel p {
    color: var(--muted);
    font-size: 14px;
}

.sidebar-panel > a {
    color: var(--accent);
    font-size: 14px;
    font-weight: 900;
}

.sidebar-ranking {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-ranking li {
    display: grid;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
}

.sidebar-ranking li:last-child {
    border-bottom: 0;
}

.sidebar-ranking span {
    color: var(--accent);
    font-weight: 900;
}

.sidebar-ranking a {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    font-weight: 700;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.article-header {
    max-width: 980px;
    padding-top: 46px;
    padding-bottom: 40px;
    text-align: center;
}

.article-labels {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-bottom: 18px;
}

.article-labels a,
.article-labels span {
    padding: 5px 12px;
    border-radius: 999px;
    color: var(--accent);
    background: #fff0f3;
    font-size: 12px;
    font-weight: 800;
}

.article-lead {
    max-width: 800px;
    margin: 22px auto;
    color: var(--muted);
    font-size: 18px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    color: #8b8490;
    font-size: 13px;
}

.article-cover {
    overflow: hidden;
    aspect-ratio: 16 / 7;
    border-radius: 30px;
    background: #eee8f0;
}

.article-layout {
    display: grid;
    max-width: 1120px;
    padding: 60px 0;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 60px;
}

.article-content {
    min-width: 0;
    font-family: "Noto Serif SC", "Songti SC", serif;
    font-size: 17px;
}

.article-content section {
    margin: 38px 0;
}

.article-content h2 {
    margin: 0 0 14px;
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 26px;
}

.article-content p {
    color: #45404a;
}

.article-summary,
.source-note {
    padding: 24px 28px;
    border-radius: 18px;
    background: #f6f1f7;
}

.article-summary p,
.source-note p {
    margin-bottom: 0;
}

.source-note {
    margin-top: 44px;
    border-left: 4px solid var(--accent);
    background: #fff2f4;
}

.source-note h2 {
    font-size: 20px;
}

.aside-sticky {
    position: sticky;
    top: 110px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 22px;
}

.aside-sticky h2 {
    margin: 0;
    font-size: 21px;
}

.aside-sticky ul {
    padding-left: 20px;
    color: var(--muted);
    font-size: 14px;
}

.aside-sticky a {
    color: var(--accent);
    font-size: 14px;
    font-weight: 900;
}

.article-pager {
    display: grid;
    max-width: 1120px;
    padding-bottom: 70px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.article-pager a {
    display: flex;
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    flex-direction: column;
}

.article-pager span {
    color: var(--muted);
    font-size: 12px;
}

.article-pager strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.related-section {
    background: #f7f3f7;
}

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

.simple-hero {
    text-align: center;
}

.prose-card {
    max-width: 920px;
    padding: 52px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow);
}

.prose-card section + section {
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.prose-card h2 {
    margin: 0 0 12px;
    font-size: 25px;
}

.prose-card p {
    margin: 0;
    color: var(--muted);
}

.search-hero {
    text-align: center;
}

.search-form-large {
    max-width: 760px;
    margin: 28px auto 0;
}

.search-status {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.search-results {
    display: grid;
    max-width: 980px;
    gap: 18px;
}

.search-result {
    display: grid;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
}

.search-thumb {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    background: #eee8f0;
}

.search-result h2 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 21px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.search-result div > p:last-child {
    display: -webkit-box;
    margin: 10px 0 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.empty-state {
    padding: 60px 20px;
    text-align: center;
}

.not-found {
    display: grid;
    min-height: 70vh;
    place-items: center;
    text-align: center;
    background: radial-gradient(circle at center, #fff0f3, #fffdf9 65%);
}

.not-found-inner {
    max-width: 720px;
    padding: 70px 0;
}

.error-code {
    color: var(--accent);
    font-size: clamp(100px, 20vw, 220px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.08em;
}

.not-found h1 {
    margin: 12px 0;
    font-size: clamp(30px, 5vw, 52px);
}

.not-found p {
    color: var(--muted);
}

.not-found .hero-actions {
    justify-content: center;
}

.site-footer {
    padding: 64px 0 22px;
    color: #e8e2eb;
    background: #17131b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.7fr 0.7fr 1fr;
    gap: 44px;
}

.footer-logo {
    width: 190px;
    filter: brightness(0) invert(1);
}

.footer-about p,
.footer-tip p {
    max-width: 390px;
    color: #aaa3ae;
    font-size: 14px;
}

.footer-grid h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 15px;
}

.footer-grid > div:not(.footer-about) a {
    display: block;
    margin: 7px 0;
    color: #aaa3ae;
    font-size: 14px;
}

.footer-grid a:hover {
    color: var(--yellow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid #302a34;
    color: #77717b;
    font-size: 12px;
}

.back-top {
    position: fixed;
    z-index: 40;
    right: 20px;
    bottom: 20px;
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--accent);
    box-shadow: 0 10px 26px rgba(239, 49, 91, 0.3);
    cursor: pointer;
}

.back-top.visible {
    display: block;
}

@media (max-width: 1180px) {
    .header-inner {
        gap: 14px;
    }

    .nav-link {
        padding: 7px 5px;
        font-size: 12px;
    }

    .nav-link .ui-icon {
        display: none;
    }

    .brand-logo {
        width: 150px;
    }
}

@media (max-width: 960px) {
    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav {
        position: fixed;
        z-index: 60;
        top: 77px;
        right: 0;
        bottom: 0;
        left: 0;
        display: none;
        padding: 20px;
        overflow-y: auto;
        align-content: start;
        background: var(--paper);
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .menu-open .main-nav {
        display: grid;
    }

    .nav-link {
        padding: 14px;
        border: 1px solid var(--line);
        font-size: 14px;
    }

    .nav-link .ui-icon {
        display: grid;
    }

    .header-search span {
        display: none;
    }

    .header-search {
        padding-left: 0;
        border-left: 0;
    }

    .hero-grid,
    .pulse-grid,
    .deep-layout,
    .ranking-layout,
    .journal-grid,
    .search-cta,
    .content-sidebar-layout,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 38px;
    }

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

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

    .deep-image {
        min-height: 420px;
    }

    .verify-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 34px;
    }

    .verify-steps::before {
        display: none;
    }

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

    .article-layout {
        gap: 20px;
    }

    .aside-sticky {
        position: static;
    }

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

@media (max-width: 640px) {
    .container {
        width: calc(100% - 40px);
    }

    .header-inner {
        min-height: 68px;
    }

    .brand-logo {
        width: 142px;
    }

    .main-nav {
        top: 69px;
    }

    .hero-section {
        padding: 42px 0 34px;
    }

    .hero-copy h1 {
        font-size: 52px;
    }

    .hero-visual {
        aspect-ratio: 4 / 3;
        border-radius: 24px;
    }

    .hero-meta {
        gap: 10px;
    }

    .ticker-track a:not(:first-child),
    .ticker-inner time {
        display: none;
    }

    .section-block {
        padding: 62px 0;
    }

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

    .feature-grid,
    .story-grid,
    .story-grid.two-column,
    .category-grid,
    .verify-steps,
    .related-grid,
    .sidebar,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .category-tile {
        min-height: 160px;
    }

    .deep-copy,
    .journal-quote,
    .journal-note,
    .prose-card {
        padding: 30px 24px;
    }

    .deep-image {
        min-height: 300px;
    }

    .ranking-list li {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .rank-tag {
        display: none;
    }

    .search-cta {
        gap: 30px;
    }

    .search-form {
        border-radius: 18px;
        flex-direction: column;
        gap: 7px;
    }

    .search-form input {
        min-height: 48px;
    }

    .notice-box {
        grid-template-columns: auto 1fr;
    }

    .notice-box > a {
        grid-column: 2;
    }

    .category-hero {
        padding: 48px 0;
    }

    .category-count {
        display: none;
    }

    .article-cover {
        aspect-ratio: 4 / 3;
        border-radius: 20px;
    }

    .article-layout {
        padding: 38px 0;
    }

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

    .search-result {
        grid-template-columns: 1fr;
    }

    .search-thumb {
        aspect-ratio: 16 / 9;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 2px;
    }
}
