:root {
    --orange: #ff7a1a;
    --orange-dark: #e95d08;
    --mango: #ffb21c;
    --cream: #fff8ed;
    --ink: #251c18;
    --muted: #74665f;
    --line: #eadfd7;
    --white: #ffffff;
    --shadow: 0 16px 45px rgba(75, 42, 19, 0.11);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input {
    font: inherit;
}

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

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

.narrow-container {
    max-width: 920px;
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    width: 1.15em;
    height: 1.15em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

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

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

.brand {
    flex: 0 0 auto;
}

.logo {
    width: 170px;
    height: 46px;
    object-fit: contain;
}

.main-nav {
    flex: 1;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.main-nav a,
.header-search {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 10px;
    border-radius: 999px;
    color: #5d5049;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.2s ease;
}

.main-nav a:hover,
.header-search:hover {
    color: var(--orange-dark);
    background: #fff0dc;
}

.header-search {
    background: #fff0dc;
    color: var(--orange-dark);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #fff0dc;
    color: var(--orange-dark);
    cursor: pointer;
}

.hero-shell {
    position: relative;
    overflow: hidden;
    padding: 64px 0 58px;
    background: radial-gradient(circle at 10% 10%, #fff0c9 0, transparent 36%), linear-gradient(135deg, #fffaf2, #fff3df);
}

.hero-shell::after {
    content: "";
    position: absolute;
    right: -140px;
    bottom: -180px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    border: 70px solid rgba(255, 138, 31, 0.08);
}

.hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    gap: 70px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange-dark);
    font-weight: 800;
    letter-spacing: 0.05em;
}

.hero h1 {
    margin: 16px 0 12px;
    font-size: clamp(52px, 7vw, 92px);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.hero h1 a {
    background: linear-gradient(120deg, #f25d08, #ffad18);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 720px;
    margin: 0;
    color: #64554d;
    font-size: 18px;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 10px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.button-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--orange), #f45a0c);
    box-shadow: 0 10px 24px rgba(238, 92, 14, 0.24);
}

.button-ghost {
    border-color: #e7d4c4;
    color: #614a3e;
    background: rgba(255, 255, 255, 0.75);
}

.button-light {
    color: #322522;
    background: #fff;
}

.hero-facts {
    display: flex;
    gap: 34px;
    padding: 0;
    margin: 32px 0 0;
    list-style: none;
}

.hero-facts li {
    display: flex;
    flex-direction: column;
}

.hero-facts strong {
    font-size: 22px;
}

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

.hero-visual {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.8);
    border-radius: 38px 38px 110px 38px;
    box-shadow: 0 30px 80px rgba(106, 64, 20, 0.23);
}

.hero-visual > img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

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

.hero-caption span {
    color: #ffd89a;
    font-size: 13px;
    font-weight: 800;
}

.hero-caption h2 {
    margin: 3px 0;
    font-size: 26px;
}

.hero-caption p {
    margin: 0;
    color: #f4e9e1;
    font-size: 14px;
}

.home-section,
.content-section {
    padding: 72px 0;
}

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

.section-head > div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-icon,
.page-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    color: var(--orange-dark);
    background: #fff0db;
}

.section-icon .icon,
.page-icon .icon {
    width: 24px;
    height: 24px;
}

.section-head h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.25;
}

.section-head p {
    margin: 4px 0 0;
    color: var(--muted);
}

.section-link,
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--orange-dark);
    font-weight: 800;
    white-space: nowrap;
}

.category-strip {
    padding-top: 58px;
    padding-bottom: 48px;
}

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

.category-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    min-height: 154px;
    padding: 22px 12px;
    border: 1px solid #f1dfd0;
    border-radius: 22px;
    text-align: center;
    background: #fff;
    box-shadow: 0 8px 30px rgba(95, 58, 25, 0.06);
    transition: 0.2s ease;
}

.category-chip:hover {
    transform: translateY(-5px);
    border-color: #ffc97f;
}

.category-chip .icon {
    width: 30px;
    height: 30px;
    margin-bottom: 12px;
    color: var(--orange-dark);
}

.category-chip strong,
.category-chip span {
    max-width: 100%;
}

.category-chip span {
    display: -webkit-box;
    margin-top: 5px;
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.show-grid {
    display: grid;
    gap: 24px;
}

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

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

.show-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 12px 35px rgba(76, 45, 21, 0.07);
    transition: 0.22s ease;
}

.show-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.show-cover {
    position: relative;
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #f5c675, #e87830);
}

.show-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.show-card:hover .show-cover img {
    transform: scale(1.035);
}

.show-cover figcaption {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-size: 12px;
    text-shadow: 0 1px 5px #000;
}

.show-cover figcaption span,
.show-cover figcaption strong {
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(25, 18, 14, 0.7);
}

.show-cover figcaption strong::before {
    content: "★ ";
    color: #ffd15b;
}

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

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 800;
}

.show-card h3 {
    display: -webkit-box;
    min-height: 3.2em;
    margin: 10px 0 6px;
    overflow: hidden;
    font-size: 21px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.show-card-body > p {
    display: -webkit-box;
    min-height: 5.1em;
    margin: 0 0 16px;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.show-card-body .text-link {
    margin-top: auto;
}

.editorial-section {
    background: var(--cream);
}

.editorial-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 30px;
}

.featured-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}

.featured-card .show-cover {
    height: 100%;
    aspect-ratio: auto;
}

.editor-notes {
    padding: 36px;
    border-radius: 30px;
    color: #fff;
    background: linear-gradient(145deg, #4d2418, #251816);
}

.editor-notes > span {
    color: #ffb75a;
    font-weight: 800;
}

.editor-notes blockquote {
    margin: 18px 0 28px;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.65;
}

.editor-notes ul {
    display: grid;
    gap: 13px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.editor-notes li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #eadbd3;
}

.schedule-section {
    background: #fff;
}

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

.schedule-grid article {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    min-width: 0;
    padding: 22px;
    border-radius: 20px;
    background: #fff2df;
}

.schedule-grid article > span {
    padding: 5px 10px;
    border-radius: 9px;
    color: #fff;
    background: var(--orange);
    font-size: 12px;
    font-weight: 800;
}

.schedule-grid h3,
.schedule-grid p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.schedule-grid h3 {
    margin: 0;
    font-size: 17px;
}

.schedule-grid p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.schedule-grid > article > .icon {
    color: var(--orange-dark);
}

.ranking-section {
    background: #fffaf3;
}

.ranking-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ranking-list li {
    display: grid;
    grid-template-columns: auto 62px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.rank-number {
    align-self: start;
    color: #e5b994;
    font-size: 18px;
    font-weight: 900;
}

.ranking-list img {
    width: 62px;
    height: 76px;
    border-radius: 12px;
    object-fit: cover;
}

.ranking-list h3 {
    margin: 0;
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-list p {
    margin: 3px 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-list li > strong {
    grid-column: 3;
    color: var(--orange-dark);
    font-size: 13px;
}

.dark-feature {
    color: #fff;
    background: radial-gradient(circle at 80% 0, #604b82, transparent 40%), #191620;
}

.mystery-layout {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.mystery-copy h2 {
    max-width: 680px;
    margin: 18px 0;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.2;
}

.mystery-copy p {
    max-width: 680px;
    color: #cfc8d5;
    font-size: 17px;
}

.poster-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.poster-stack a {
    position: relative;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transform: rotate(-2deg);
}

.poster-stack a:nth-child(2) {
    transform: translateY(24px) rotate(3deg);
}

.poster-stack img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.poster-stack span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    background: rgba(15, 12, 18, 0.78);
}

.story-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
    overflow: hidden;
    border-radius: 34px;
    background: #eaf4e7;
}

.story-image img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.story-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 60px;
}

.story-copy > span {
    color: #598653;
    font-weight: 800;
}

.story-copy h3 {
    margin: 12px 0;
    font-size: 38px;
}

.story-copy p {
    color: #586653;
}

.fun-section {
    background: #fff4d8;
}

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

.bubble-grid article {
    padding: 36px;
    border: 2px solid #28221d;
    border-radius: 30px;
    background: #fff;
    box-shadow: 8px 8px 0 #28221d;
}

.bubble-quote {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 18px 18px 18px 3px;
    color: #672a0b;
    background: #ffd65b;
    font-weight: 800;
}

.bubble-grid h3 {
    margin: 20px 0 8px;
    font-size: 27px;
}

.bubble-grid p {
    color: var(--muted);
}

.pill-link {
    display: inline-block;
    padding: 7px 15px;
    border: 2px solid #28221d;
    border-radius: 999px;
    font-weight: 800;
}

.guide-section {
    background: #fff;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    overflow: hidden;
    border-radius: 28px;
    background: #e8ded5;
}

.guide-steps article {
    padding: 36px;
    background: #faf6f1;
}

.guide-steps article > span {
    color: #d9bba4;
    font-size: 38px;
    font-weight: 900;
}

.guide-steps h3 {
    margin: 8px 0;
}

.guide-steps p {
    margin: 0;
    color: var(--muted);
}

.latest-section {
    background: #f8f3ed;
}

.voices-section {
    background: #fff;
}

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

.voice-grid figure {
    min-width: 0;
    margin: 0;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 6px 28px 28px;
    background: #fffdf9;
}

.voice-grid blockquote {
    min-height: 5.1em;
    margin: 0 0 22px;
    font-size: 17px;
    font-weight: 700;
}

.voice-grid figcaption {
    display: flex;
    flex-direction: column;
    color: var(--orange-dark);
}

.voice-grid small {
    color: var(--muted);
}

.newsletter-section {
    padding-top: 0;
}

.newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 36px 44px;
    border-radius: 28px;
    background: linear-gradient(120deg, #ffe5bb, #fff4df);
}

.newsletter > div {
    display: flex;
    align-items: center;
    gap: 16px;
}

.newsletter h2,
.newsletter p {
    margin: 0;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding-top: 20px;
    padding-bottom: 20px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumbs a:hover {
    color: var(--orange-dark);
}

.page-hero {
    padding: 62px 0;
    background: linear-gradient(135deg, #fff8ec, #ffecd1);
}

.page-hero-inner {
    display: flex;
    align-items: center;
    gap: 22px;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.2;
}

.page-hero p {
    max-width: 850px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.filter-bar > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-button {
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #6d5f57;
    background: #fff;
    cursor: pointer;
}

.filter-button.active {
    border-color: var(--orange);
    color: #fff;
    background: var(--orange);
}

.filter-bar p {
    color: var(--muted);
}

.listing-grid {
    align-items: stretch;
}

.category-note {
    padding-top: 0;
}

.prose-card {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
}

.prose-card h2 {
    margin: 0 0 18px;
    font-size: 27px;
}

.prose-card h3 {
    margin: 24px 0 8px;
    font-size: 20px;
}

.prose-card p {
    margin: 0 0 15px;
    color: #62564f;
}

.prose-card p:last-child {
    margin-bottom: 0;
}

.detail-hero {
    padding: 48px 0;
    background: linear-gradient(135deg, #fff7e9, #f7e7d7);
}

.detail-grid {
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.detail-cover {
    position: relative;
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
    border: 7px solid #fff;
    border-radius: 30px;
    background: #f4b761;
    box-shadow: var(--shadow);
}

.detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-cover figcaption {
    position: absolute;
    right: 15px;
    bottom: 15px;
    padding: 6px 13px;
    border-radius: 999px;
    color: #fff;
    background: rgba(25, 18, 14, 0.76);
}

.detail-info h1 {
    margin: 12px 0 8px;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.2;
}

.detail-hook {
    margin: 0;
    color: #66574f;
    font-size: 20px;
}

.detail-info dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 28px 0 0;
}

.detail-info dl > div {
    padding: 15px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
}

.detail-info dt {
    color: var(--muted);
    font-size: 12px;
}

.detail-info dd {
    margin: 3px 0 0;
    overflow-wrap: anywhere;
    font-weight: 800;
}

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

.article-main {
    display: grid;
    gap: 24px;
}

.episode-panel {
    padding: 30px;
    border-radius: 24px;
    background: #fff6e9;
}

.simple-head {
    margin-bottom: 22px;
}

.episode-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 9px;
}

.episode-button {
    min-height: 42px;
    padding: 6px;
    border: 1px solid #ecd2bd;
    border-radius: 10px;
    color: #65534a;
    background: #fff;
    cursor: pointer;
}

.episode-button:hover,
.episode-button.active {
    border-color: var(--orange);
    color: #fff;
    background: var(--orange);
}

.article-side {
    position: sticky;
    top: 98px;
    display: grid;
    gap: 18px;
}

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

.side-card h2 {
    margin: 0 0 15px;
    font-size: 20px;
}

.side-card ul {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.side-card li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px dashed var(--line);
    padding-bottom: 9px;
}

.side-card li span {
    color: var(--muted);
}

.safe-card {
    color: #fff;
    background: #493025;
}

.safe-card > .icon {
    width: 34px;
    height: 34px;
    color: #ffb25b;
}

.safe-card h2 {
    margin-top: 10px;
}

.safe-card p {
    margin: 0;
    color: #e6d8d0;
}

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

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

.article-pager a:last-child {
    text-align: right;
}

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

.article-pager strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-section {
    padding-top: 0;
}

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

.search-hero .page-icon,
.info-hero .page-icon {
    margin-bottom: 15px;
}

.search-hero p,
.info-hero p {
    margin-right: auto;
    margin-left: auto;
}

.search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    max-width: 720px;
    margin: 28px auto 0;
    padding: 7px;
    border: 1px solid #eed5bd;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow);
}

.search-form input {
    min-width: 0;
    padding: 10px 18px;
    border: 0;
    outline: 0;
    background: transparent;
}

.hot-terms {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.hot-terms a {
    color: var(--orange-dark);
}

.search-summary {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.search-summary h2,
.search-summary p {
    margin: 0;
}

.search-summary p {
    color: var(--muted);
}

.search-item {
    min-width: 0;
    height: 100%;
}

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

.empty-state .icon {
    width: 50px;
    height: 50px;
    color: var(--orange);
}

.empty-state h2 {
    margin: 16px 0 6px;
}

.empty-state p {
    color: var(--muted);
}

.info-content {
    display: grid;
    gap: 20px;
}

.info-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.not-found {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    text-align: center;
    background: radial-gradient(circle at 50% 30%, #fff2ce, #fffdf9 65%);
}

.error-code {
    display: block;
    color: #f2d6b5;
    font-size: clamp(90px, 20vw, 220px);
    font-weight: 900;
    line-height: 0.8;
}

.not-found .page-icon {
    margin-top: -18px;
}

.not-found h1 {
    margin: 18px 0 6px;
    font-size: 40px;
}

.not-found p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--muted);
}

.center-actions {
    justify-content: center;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 38px;
}

.quick-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
}

.site-footer {
    padding: 58px 0 22px;
    color: #e9ddd6;
    background: #251a17;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
    gap: 50px;
}

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

.footer-grid p {
    margin: 14px 0 0;
    color: #bcaea6;
}

.footer-grid ul {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-grid a:hover {
    color: #ffb962;
}

.logo-light {
    filter: brightness(0) invert(1);
}

.copyright {
    padding-top: 28px;
    margin-top: 36px;
    border-top: 1px solid #443631;
    color: #8f817a;
    font-size: 13px;
}

.copyright p {
    margin: 0;
}

.back-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 40;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--orange);
    box-shadow: 0 10px 25px rgba(218, 77, 8, 0.28);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
}

.back-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.image-fallback {
    background: linear-gradient(135deg, #ffd993, #f07b35) !important;
}

.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;
}

@media (max-width: 1180px) {
    .main-nav a {
        padding: 8px 7px;
        font-size: 12px;
    }

    .main-nav .icon {
        display: none;
    }

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

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

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

@media (max-width: 900px) {
    .header-inner {
        flex-wrap: wrap;
        justify-content: space-between;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .nav-toggle {
        display: inline-flex;
        order: 2;
    }

    .header-search {
        margin-left: auto;
        order: 1;
    }

    .main-nav {
        display: none;
        flex-basis: 100%;
        order: 3;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding-top: 10px;
    }

    .main-nav a {
        justify-content: center;
        padding: 10px 5px;
        background: #fff6e9;
    }

    .main-nav .icon {
        display: block;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual,
    .hero-visual > img {
        min-height: 420px;
        height: 420px;
    }

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

    .editorial-layout,
    .mystery-layout,
    .story-band,
    .detail-grid,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .detail-cover {
        max-width: 560px;
    }

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

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

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

    .logo {
        width: 145px;
    }

    .header-search span {
        display: none;
    }

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

    .hero-shell {
        padding: 42px 0;
    }

    .hero h1 {
        font-size: 54px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero-facts {
        justify-content: space-between;
        gap: 10px;
    }

    .hero-visual,
    .hero-visual > img {
        min-height: 380px;
        height: 380px;
    }

    .hero-visual {
        border-radius: 28px 28px 70px 28px;
    }

    .home-section,
    .content-section {
        padding: 54px 0;
    }

    .section-head {
        align-items: flex-start;
    }

    .section-head h2 {
        font-size: 25px;
    }

    .section-head p {
        font-size: 13px;
    }

    .section-link {
        font-size: 0;
    }

    .section-link .icon {
        width: 24px;
        height: 24px;
    }

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

    .four-grid,
    .three-grid,
    .bubble-grid,
    .guide-steps,
    .voice-grid,
    .schedule-grid,
    .ranking-list,
    .article-side {
        grid-template-columns: 1fr;
    }

    .featured-card {
        display: flex;
    }

    .featured-card .show-cover {
        aspect-ratio: 4 / 3;
    }

    .editor-notes,
    .bubble-grid article,
    .guide-steps article,
    .prose-card {
        padding: 26px;
    }

    .editor-notes blockquote {
        font-size: 19px;
    }

    .poster-stack {
        gap: 12px;
    }

    .story-copy {
        padding: 34px 26px;
    }

    .story-copy h3 {
        font-size: 30px;
    }

    .newsletter {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px;
    }

    .newsletter > div {
        align-items: flex-start;
    }

    .page-hero-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-hero h1 {
        font-size: 38px;
    }

    .filter-bar,
    .search-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .detail-info dl {
        grid-template-columns: 1fr;
    }

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

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

    .article-pager a:last-child {
        text-align: left;
    }

    .search-form {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
