:root {
    --bg: #09091a;
    --panel: #12122b;
    --panel-2: #1a1a3c;
    --text: #f8f7ff;
    --muted: #aaa8c7;
    --line: rgba(255, 255, 255, 0.12);
    --purple: #7657ff;
    --cyan: #5ce1e6;
    --coral: #ff6b7a;
    --gold: #ffc765;
    --warm: #fff0df;
    --ink: #19152e;
    --radius: 24px;
    --shadow: 0 20px 60px rgba(4, 4, 18, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

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

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

button,
input,
textarea {
    font: inherit;
}

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

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

.narrow {
    max-width: 860px;
}

.skip-link {
    position: fixed;
    left: 20px;
    top: -80px;
    z-index: 999;
    padding: 12px 18px;
    border-radius: 12px;
    background: var(--cyan);
    color: var(--ink);
}

.skip-link:focus {
    top: 20px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--line);
    background: rgba(9, 9, 26, 0.9);
    backdrop-filter: blur(18px);
}

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

.brand {
    flex: 0 0 auto;
}

.brand img {
    width: 172px;
    height: auto;
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
}

.primary-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 9px;
    border-radius: 11px;
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap;
    transition: 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
    background: rgba(118, 87, 255, 0.16);
    color: var(--text);
}

.ui-icon,
.nav-icon,
.category-icon,
.large-icon,
.error-icon {
    width: 1.25em;
    height: 1.25em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.nav-icon {
    width: 17px;
    height: 17px;
}

.large-icon {
    width: 42px;
    height: 42px;
}

.search-trigger,
.menu-button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.menu-button {
    display: none;
    cursor: pointer;
}

.hero-section {
    position: relative;
    padding: 64px 0 48px;
    background: radial-gradient(circle at 80% 15%, rgba(118, 87, 255, 0.28), transparent 32%), radial-gradient(circle at 12% 90%, rgba(92, 225, 230, 0.12), transparent 28%);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: 72px;
    align-items: center;
}

.hero-badge,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.hero-copy h1 {
    margin: 12px 0 0;
    font-size: clamp(4.5rem, 10vw, 8.4rem);
    line-height: 0.95;
    letter-spacing: -0.08em;
    background: linear-gradient(120deg, #ffffff 15%, #a99aff 55%, #5ce1e6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-title {
    margin: 24px 0 10px;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
}

.hero-lead {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

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

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

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

.button-primary {
    background: linear-gradient(135deg, var(--purple), #aa5cff);
    color: white;
    box-shadow: 0 14px 34px rgba(118, 87, 255, 0.3);
}

.button-ghost {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.button-light {
    background: white;
    color: var(--ink);
}

.button-warm {
    background: var(--coral);
    color: white;
}

.hero-stats {
    display: flex;
    gap: 28px;
    margin-top: 36px;
    color: var(--muted);
    font-size: 14px;
}

.hero-stats strong {
    display: block;
    color: var(--text);
    font-size: 20px;
}

.hero-poster {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 34px 34px 110px 34px;
    box-shadow: var(--shadow);
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #221c49, #112d42);
}

.hero-poster::after,
.card-media::after,
.category-hero-image::after,
.gufeng-art::after,
.healing-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, rgba(9, 9, 26, 0.9), transparent 55%);
}

.poster-glow {
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 24px 24px 88px 24px;
}

.poster-caption {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 34px;
    z-index: 2;
}

.poster-caption small,
.poster-caption strong,
.poster-caption em {
    display: block;
}

.poster-caption strong {
    font-size: 34px;
    line-height: 1.25;
}

.poster-caption em {
    color: var(--gold);
    font-style: normal;
}

.quick-search-section {
    padding: 28px 0 0;
}

.quick-search {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 13px 14px 13px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.quick-search label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.quick-search input,
.search-form input,
.contact-form input,
.contact-form textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: none;
    background: rgba(255, 255, 255, 0.045);
    color: var(--text);
}

.quick-search input {
    border: 0;
    background: transparent;
}

.quick-search button,
.search-form button {
    border: 0;
    border-radius: 12px;
    padding: 11px 22px;
    background: var(--cyan);
    color: var(--ink);
    font-weight: 800;
    cursor: pointer;
}

.content-section {
    padding: 88px 0;
}

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

.section-heading h2 {
    margin: 5px 0 0;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.text-link {
    border-bottom: 1px solid currentColor;
    color: var(--cyan);
    font-weight: 700;
    white-space: nowrap;
}

.ranking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: 24px;
}

.ranking-feature,
.story-card,
.comedy-main {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.ranking-feature .card-media {
    aspect-ratio: 16 / 9;
}

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

.card-media .cover-image {
    transition: transform 0.45s ease;
}

.story-card:hover .cover-image,
.ranking-feature:hover .cover-image,
.comedy-main:hover .cover-image {
    transform: scale(1.045);
}

.score {
    position: absolute;
    z-index: 2;
    right: 14px;
    top: 14px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--gold);
    color: #291b00;
    font-size: 13px;
    font-weight: 900;
}

.card-body {
    padding: 22px;
}

.card-body .eyebrow,
.article-header .eyebrow {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 700;
}

.card-body h3 {
    min-height: 2.7em;
    margin: 7px 0 8px;
    overflow: hidden;
    font-size: 20px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-body p {
    min-height: 3.4em;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

.ranking-list {
    margin: 0;
    padding: 8px 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(118, 87, 255, 0.14), rgba(255, 255, 255, 0.03));
    list-style: none;
}

.ranking-list li {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 38px;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    border-bottom: 1px solid var(--line);
}

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

.rank-number {
    font-size: 24px;
    font-weight: 900;
    color: var(--coral);
}

.ranking-list h3,
.ranking-list p {
    margin: 0;
}

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

.ranking-list p {
    color: var(--muted);
    font-size: 13px;
}

.mini-play {
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.category-section {
    background: linear-gradient(180deg, transparent, rgba(118, 87, 255, 0.07), transparent);
}

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

.category-orb {
    min-height: 190px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 46px 16px 46px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--panel);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-orb:hover {
    transform: translateY(-5px);
    border-color: currentColor;
}

.category-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
}

.category-orb strong {
    font-size: 19px;
}

.category-orb span {
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
}

.orb-dushi,
.orb-xuanyi {
    color: #68dcff;
}

.orb-gufeng,
.orb-qinggan {
    color: #ff9aa6;
}

.orb-kehuan,
.orb-nixi {
    color: #aa8cff;
}

.orb-xiju,
.orb-qinzi {
    color: #ffd778;
}

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

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

.city-section {
    padding-top: 48px;
}

.city-panel {
    overflow: hidden;
    border-radius: 36px;
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
    background: linear-gradient(135deg, #12435d, #26205e 62%, #5c285a);
}

.city-copy {
    padding: clamp(32px, 6vw, 72px);
}

.city-copy h2 {
    margin: 12px 0 18px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.22;
}

.city-copy p {
    color: #d5e9f1;
}

.city-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    padding: 18px;
}

.city-strip img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    border-radius: 18px;
    object-fit: cover;
}

.city-strip img:first-child {
    grid-row: 1 / 3;
}

.gufeng-section {
    background: #f3eadb;
    color: #382f2a;
}

.gufeng-section .section-kicker,
.gufeng-section .text-link {
    color: #9d443c;
}

.gufeng-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 0;
    overflow: hidden;
    border-radius: 12px 90px 12px 12px;
    background: #fffaf2;
    box-shadow: 0 24px 70px rgba(70, 40, 20, 0.15);
}

.gufeng-art {
    position: relative;
    min-height: 540px;
}

.gufeng-art .cover-image {
    position: absolute;
    inset: 0;
}

.seal {
    position: absolute;
    z-index: 2;
    right: 28px;
    bottom: 28px;
    width: 68px;
    height: 68px;
    border: 3px solid #ae312d;
    display: grid;
    place-items: center;
    color: #ae312d;
    font-family: serif;
    font-size: 18px;
}

.chapter-list {
    padding: 60px 48px;
}

.chapter-list > span {
    color: #9d443c;
    letter-spacing: 0.12em;
}

.chapter-list h2 {
    margin: 12px 0 20px;
    font-family: "STSong", "SimSun", serif;
    font-size: 38px;
    line-height: 1.25;
}

.chapter-list p,
.chapter-list li {
    color: #665b53;
}

.chapter-list ul {
    margin: 24px 0;
    padding-left: 20px;
}

.mystery-board {
    position: relative;
    overflow: hidden;
    padding: clamp(30px, 6vw, 76px);
    border: 1px solid rgba(92, 225, 230, 0.3);
    border-radius: 36px;
    background: radial-gradient(circle at 90% 10%, rgba(92, 225, 230, 0.16), transparent 28%), #0d1721;
}

.mystery-title {
    max-width: 700px;
}

.mystery-title .large-icon {
    color: var(--cyan);
}

.mystery-title > span {
    display: block;
    margin-top: 14px;
    color: var(--cyan);
}

.mystery-title h2 {
    margin: 10px 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
}

.clue-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 34px 0;
}

.clue-note {
    min-height: 140px;
    padding: 22px;
    border: 1px dashed rgba(92, 225, 230, 0.4);
    border-radius: 4px;
    background: #e9e4d2;
    color: #1d2630;
    transform: rotate(-1deg);
}

.clue-note:nth-child(2) {
    transform: rotate(1deg);
}

.clue-note b,
.clue-note span {
    display: block;
}

.clue-note b {
    margin-bottom: 16px;
    color: #8c322f;
}

.comedy-section {
    background: linear-gradient(180deg, #ffc94c, #ff8c66);
    color: var(--ink);
}

.comedy-section .section-kicker,
.comedy-section .text-link {
    color: #4c237a;
}

.comedy-stack {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: 24px;
}

.comedy-main {
    border: 3px solid var(--ink);
    background: #fff7dc;
}

.comedy-main .card-body p,
.comedy-main .meta-row {
    color: #554a3b;
}

.comedy-quotes {
    display: grid;
    gap: 16px;
}

.comedy-quotes blockquote {
    margin: 0;
    padding: 28px;
    border: 3px solid var(--ink);
    border-radius: 24px 8px 24px 8px;
    display: flex;
    align-items: center;
    background: #fff;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 8px 8px 0 var(--ink);
}

.healing-section {
    background: #fff0df;
    color: #3a2430;
}

.healing-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 54px;
    align-items: center;
}

.healing-photo {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 52% 48% 24% 76% / 44% 25% 75% 56%;
}

.healing-copy .section-kicker {
    color: #b83d5b;
}

.healing-copy h2 {
    margin: 12px 0 20px;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
}

.healing-copy p {
    color: #6c4d57;
    font-size: 18px;
}

.schedule {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: 26px;
    overflow: hidden;
}

.schedule-item {
    min-width: 0;
    min-height: 170px;
    padding: 22px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--panel);
}

.schedule-item:last-child {
    border-right: 0;
}

.schedule-item b {
    color: var(--coral);
}

.schedule-item strong {
    overflow-wrap: anywhere;
}

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

.guide-section {
    background: linear-gradient(180deg, transparent, rgba(92, 225, 230, 0.06));
}

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

.guide-intro h2 {
    margin: 12px 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
}

.guide-intro p {
    color: var(--muted);
}

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

.guide-steps > div {
    padding: 26px;
    border-top: 3px solid var(--purple);
    border-radius: 0 0 20px 20px;
    background: var(--panel);
}

.guide-steps span {
    color: var(--purple);
    font-size: 28px;
    font-weight: 900;
}

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

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

.newsletter-section {
    padding-top: 20px;
}

.newsletter {
    min-height: 250px;
    padding: 46px;
    border-radius: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: linear-gradient(130deg, #7152fa, #9b4cc1 58%, #e85d7b);
}

.newsletter > div {
    max-width: 720px;
}

.newsletter span {
    display: block;
    margin-top: 8px;
    font-weight: 700;
}

.newsletter h2 {
    margin: 4px 0 8px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
}

.newsletter p {
    margin: 0;
    color: #f0eafd;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 22px;
    color: var(--muted);
    font-size: 13px;
}

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

.category-hero {
    padding: 52px 0 68px;
}

.category-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
    gap: 60px;
    align-items: center;
}

.category-hero h1 {
    margin: 12px 0 18px;
    font-size: clamp(2.8rem, 6vw, 5.8rem);
    line-height: 1.05;
    letter-spacing: -0.055em;
}

.category-hero p {
    max-width: 720px;
    color: var(--muted);
    font-size: 18px;
}

.category-hero-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 34px 34px 110px 34px;
}

.category-theme-gufeng,
.category-theme-qinggan {
    background: radial-gradient(circle at 70% 50%, rgba(255, 107, 122, 0.16), transparent 30%);
}

.category-theme-kehuan,
.category-theme-nixi {
    background: radial-gradient(circle at 70% 50%, rgba(118, 87, 255, 0.2), transparent 30%);
}

.category-theme-dushi,
.category-theme-xuanyi {
    background: radial-gradient(circle at 70% 50%, rgba(92, 225, 230, 0.14), transparent 30%);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}

.tag-row a {
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
}

.alt-section {
    background: #0f0f27;
}

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

.mini-feature-grid article {
    min-width: 0;
    overflow: hidden;
    border-radius: 20px;
    background: var(--panel-2);
}

.mini-feature-grid img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.mini-feature-grid article > div {
    padding: 22px;
}

.mini-feature-grid span {
    color: var(--coral);
    font-weight: 900;
}

.mini-feature-grid h3 {
    margin: 6px 0;
    font-size: 21px;
}

.mini-feature-grid p {
    min-height: 3.4em;
    margin: 0 0 14px;
    overflow: hidden;
    color: var(--muted);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.mini-feature-grid a {
    color: var(--cyan);
    font-weight: 700;
}

.split-note {
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: var(--panel);
}

.split-note h2,
.split-note p {
    margin: 0;
}

.split-note p {
    max-width: 800px;
    color: var(--muted);
}

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

.article-header h1 {
    margin: 12px 0 18px;
    font-size: clamp(2.6rem, 6vw, 5.4rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.article-deck {
    max-width: 780px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 19px;
}

.article-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 14px;
}

.article-cover {
    position: relative;
    aspect-ratio: 21 / 9;
    overflow: hidden;
    border-radius: 34px;
}

.play-overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 170px;
    min-height: 58px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(9, 9, 26, 0.75);
    color: white;
    cursor: pointer;
    backdrop-filter: blur(12px);
}

.play-overlay.is-notice {
    min-width: 250px;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 64px;
    padding-top: 58px;
    padding-bottom: 58px;
}

.article-content {
    max-width: 820px;
}

.article-content h2 {
    margin: 42px 0 12px;
    font-size: 28px;
}

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

.article-content p {
    color: #d3d1e4;
    font-size: 17px;
}

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

.highlight-list > div {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel);
}

.highlight-list b,
.highlight-list span {
    display: block;
}

.highlight-list span {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
}

.article-sidebar {
    align-self: start;
    position: sticky;
    top: 98px;
}

.info-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--panel);
}

.info-card h2 {
    margin: 0 0 18px;
}

.info-card p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}

.info-card p span {
    color: var(--muted);
}

.info-card .button {
    width: 100%;
    margin-top: 22px;
}

.article-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.article-pager a {
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel);
}

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

.article-pager span,
.article-pager strong {
    display: block;
}

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

.search-page-hero,
.info-hero {
    padding: 68px 0 54px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(118, 87, 255, 0.18), transparent 45%);
}

.search-page-hero h1,
.info-hero h1 {
    margin: 12px 0;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: 1.1;
}

.search-page-hero p,
.info-hero p {
    color: var(--muted);
    font-size: 18px;
}

.search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 28px;
}

.search-form input {
    min-height: 56px;
    padding: 12px 18px;
}

.popular-searches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
}

.popular-searches a {
    color: var(--cyan);
}

.result-count {
    color: var(--muted);
}

.empty-state {
    padding: 70px 20px;
    border: 1px dashed var(--line);
    border-radius: 24px;
    text-align: center;
}

.empty-state[hidden] {
    display: none;
}

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

.info-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 60px;
}

.info-sections > section {
    position: relative;
    padding: 10px 0 34px 76px;
    border-bottom: 1px solid var(--line);
}

.info-sections > section + section {
    padding-top: 34px;
}

.info-number {
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--purple);
    font-size: 24px;
    font-weight: 900;
}

.info-sections h2 {
    margin: 0 0 8px;
    font-size: 26px;
}

.info-sections p {
    margin: 0;
    color: #d0cee0;
}

.info-aside {
    align-self: start;
    position: sticky;
    top: 98px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--panel);
}

.info-aside h2 {
    margin-top: 0;
}

.info-aside p {
    color: var(--muted);
}

.info-aside a {
    display: block;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    color: var(--cyan);
}

.contact-form {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 14px;
}

.contact-form .button {
    justify-self: start;
    margin-top: 8px;
}

.form-status {
    min-height: 1.7em;
    color: var(--cyan) !important;
}

.not-found-main {
    min-height: 72vh;
    display: grid;
    place-items: center;
}

.not-found {
    padding: 80px 20px;
    text-align: center;
}

.error-code {
    font-size: clamp(7rem, 20vw, 16rem);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.08em;
    color: rgba(118, 87, 255, 0.22);
}

.error-icon {
    width: 80px;
    height: 80px;
    margin: -35px auto 20px;
    color: var(--cyan);
}

.not-found h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4rem);
}

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

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

.site-footer {
    margin-top: 90px;
    padding: 60px 0 24px;
    border-top: 1px solid var(--line);
    background: #070713;
}

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

.footer-brand img {
    width: 168px;
}

.footer-brand p,
.footer-note p {
    max-width: 380px;
    color: var(--muted);
    font-size: 14px;
}

.footer-grid h2 {
    margin: 0 0 12px;
    font-size: 16px;
}

.footer-grid ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-grid li {
    margin: 7px 0;
    color: var(--muted);
    font-size: 14px;
}

.copyright {
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: #75738e;
    font-size: 13px;
}

.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) {
    .primary-nav a {
        padding: 8px 6px;
        font-size: 13px;
    }

    .primary-nav a:nth-of-type(n + 8) {
        display: none;
    }

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

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

    .schedule-item {
        border-bottom: 1px solid var(--line);
    }

    .schedule-item:nth-child(3n) {
        border-right: 0;
    }
}

@media (max-width: 900px) {
    .header-row {
        min-height: 68px;
    }

    .menu-button {
        display: grid;
        margin-left: auto;
    }

    .primary-nav {
        position: absolute;
        left: 20px;
        right: 20px;
        top: 76px;
        max-height: 0;
        overflow: hidden;
        border-radius: 18px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        background: #15152e;
        box-shadow: var(--shadow);
        opacity: 0;
        transition: 0.25s ease;
    }

    .primary-nav.is-open {
        max-height: 520px;
        padding: 14px;
        border: 1px solid var(--line);
        opacity: 1;
    }

    .primary-nav a,
    .primary-nav a:nth-of-type(n + 8) {
        display: flex;
        padding: 10px;
    }

    .hero-grid,
    .ranking-layout,
    .category-hero-grid,
    .article-layout,
    .info-layout {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        max-width: 580px;
        width: 100%;
        margin: 0 auto;
    }

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

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

    .city-panel,
    .gufeng-feature,
    .comedy-stack,
    .healing-layout,
    .guide-grid {
        grid-template-columns: 1fr;
    }

    .city-strip {
        min-height: 520px;
    }

    .gufeng-art {
        min-height: 440px;
    }

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

    .article-sidebar,
    .info-aside {
        position: static;
    }

    .article-cover {
        aspect-ratio: 16 / 9;
    }

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

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

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

    .brand img {
        width: 146px;
    }

    .search-trigger {
        display: none;
    }

    .hero-section {
        padding-top: 42px;
    }

    .hero-grid {
        gap: 38px;
    }

    .hero-copy h1 {
        font-size: clamp(4rem, 23vw, 6rem);
    }

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

    .hero-stats {
        gap: 18px;
    }

    .hero-poster {
        border-radius: 24px 24px 74px 24px;
    }

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

    .quick-search label {
        grid-column: 1 / -1;
    }

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

    .category-wheel,
    .story-grid,
    .story-grid-three,
    .mini-feature-grid,
    .clue-grid,
    .guide-steps,
    .highlight-list,
    .article-pager,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .category-orb {
        min-height: 150px;
    }

    .city-copy,
    .chapter-list {
        padding: 30px 24px;
    }

    .city-strip {
        min-height: 420px;
        grid-template-columns: 1fr 1fr;
    }

    .city-strip img {
        min-height: 130px;
    }

    .gufeng-art {
        min-height: 330px;
    }

    .mystery-board {
        border-radius: 24px;
    }

    .clue-note,
    .clue-note:nth-child(2) {
        min-height: 110px;
        transform: none;
    }

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

    .schedule-item:nth-child(3n) {
        border-right: 1px solid var(--line);
    }

    .schedule-item:nth-child(2n) {
        border-right: 0;
    }

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

    .category-hero {
        padding-top: 34px;
    }

    .category-hero-grid {
        gap: 34px;
    }

    .category-hero-image {
        border-radius: 24px 24px 72px 24px;
    }

    .split-note {
        padding: 28px 22px;
        align-items: start;
        flex-direction: column;
    }

    .article-cover {
        width: calc(100% - 40px);
        border-radius: 20px;
    }

    .play-overlay {
        min-width: auto;
        min-height: 48px;
        padding: 10px 16px;
    }

    .article-layout {
        gap: 28px;
    }

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

    .info-sections > section {
        padding-left: 54px;
    }

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

    .footer-grid {
        gap: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
