:root {
    --bg: #071019;
    --bg-soft: #0b1722;
    --surface: #102231;
    --surface-2: #142b3d;
    --line: rgba(160, 208, 226, 0.16);
    --text: #f2f8fb;
    --muted: #9db2bf;
    --cyan: #42f5d7;
    --violet: #9f7aea;
    --amber: #ffca6b;
    --rose: #ff7597;
    --radius: 20px;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    background-image: radial-gradient(circle at 10% 0%, rgba(66, 245, 215, 0.08), transparent 30%), radial-gradient(circle at 90% 20%, rgba(159, 122, 234, 0.08), transparent 28%);
    content: "";
    pointer-events: none;
}

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

img.image-fallback {
    min-height: 120px;
    background: linear-gradient(135deg, #152a38, #1f3342);
}

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

button,
input,
select,
textarea {
    font: inherit;
}

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

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.icon {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

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

.brand {
    flex: 0 0 auto;
}

.brand img {
    width: 184px;
    height: 46px;
}

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

.nav-link,
.header-search {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap;
}

.nav-link {
    padding: 9px 10px;
}

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

.nav-link:hover,
.nav-link.active,
.header-search:hover {
    color: var(--cyan);
    background: rgba(66, 245, 215, 0.08);
}

.header-search {
    padding: 10px 14px;
    border: 1px solid var(--line);
}

.menu-toggle {
    display: none;
    margin-left: auto;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    background: transparent;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    min-height: 520px;
    align-items: center;
    gap: 54px;
}

.hero-kicker,
.eyebrow {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 16px 0 12px;
    font-size: clamp(52px, 8vw, 100px);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.hero-copy h1 a {
    background: linear-gradient(120deg, #ffffff 20%, var(--cyan) 75%);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 590px;
    margin: 0 0 26px;
    color: #c3d3dc;
    font-size: 18px;
}

.hero-search,
.search-large {
    display: flex;
    overflow: hidden;
    border: 1px solid rgba(66, 245, 215, 0.3);
    border-radius: 15px;
    background: #0d1b27;
    box-shadow: 0 0 40px rgba(66, 245, 215, 0.06);
}

.hero-search {
    max-width: 590px;
}

.hero-search input,
.search-large input {
    min-width: 0;
    flex: 1;
    padding: 15px 18px;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
}

.hero-search button,
.search-large button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    border: 0;
    color: #04100e;
    background: var(--cyan);
    font-weight: 700;
    cursor: pointer;
}

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

.primary-button,
.ghost-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 20px;
    border-radius: 13px;
    font-weight: 700;
    cursor: pointer;
}

.primary-button {
    border: 0;
    color: #03120f;
    background: var(--cyan);
}

.primary-button:hover {
    background: #73ffe7;
    transform: translateY(-1px);
}

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

.hero-feature {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.hero-feature::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 28%, rgba(4, 10, 16, 0.94) 100%);
    content: "";
}

.hero-feature img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-feature:hover img {
    transform: scale(1.035);
}

.hero-overlay {
    position: absolute;
    z-index: 2;
    right: 34px;
    bottom: 32px;
    left: 34px;
}

.hero-overlay span {
    color: var(--cyan);
    font-size: 14px;
}

.hero-overlay h2 {
    margin: 6px 0;
    font-size: 36px;
    line-height: 1.2;
}

.hero-overlay p {
    margin: 0;
    color: #c5d3da;
}

.stats-section {
    padding: 18px 0 56px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(16, 34, 49, 0.62);
}

.stats-grid div {
    padding: 24px;
    text-align: center;
}

.stats-grid div + div {
    border-left: 1px solid var(--line);
}

.stats-grid strong,
.stats-grid span {
    display: block;
}

.stats-grid strong {
    color: var(--cyan);
    font-size: 26px;
}

.stats-grid span {
    color: var(--muted);
    font-size: 14px;
}

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

.content-section:nth-of-type(even) {
    background: rgba(10, 23, 34, 0.48);
}

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

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-title-wrap > .icon {
    width: 30px;
    height: 30px;
    color: var(--cyan);
}

.section-heading h2,
.ai-note-grid h2,
.premiere-panel h2,
.subscribe-panel h2 {
    margin: 3px 0 0;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.25;
}

.text-link {
    color: var(--cyan);
    font-weight: 700;
}

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

.show-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.show-card:hover {
    border-color: rgba(66, 245, 215, 0.45);
    transform: translateY(-5px);
}

.poster {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #162532;
}

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

.episode-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 4px 9px;
    border-radius: 999px;
    color: #fff;
    background: rgba(4, 10, 16, 0.78);
    font-size: 12px;
}

.play-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    color: var(--cyan);
    background: rgba(4, 10, 16, 0.78);
}

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

.show-meta {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 13px;
}

.show-meta strong {
    color: var(--amber);
}

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

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

.schedule-section {
    background: linear-gradient(180deg, rgba(66, 245, 215, 0.04), transparent);
}

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

.schedule-item {
    position: relative;
    min-width: 0;
    padding: 24px 20px;
    background: var(--surface);
}

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

.schedule-item.is-today {
    background: linear-gradient(145deg, rgba(66, 245, 215, 0.16), var(--surface));
}

.schedule-day,
.schedule-item a,
.schedule-item small {
    display: block;
}

.schedule-day {
    margin-bottom: 22px;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 700;
}

.schedule-item a {
    overflow: hidden;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.schedule-item small {
    color: var(--muted);
}

.schedule-dot {
    position: absolute;
    top: 29px;
    right: 20px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 14px var(--cyan);
}

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

.category-tile {
    display: grid;
    min-height: 200px;
    align-content: end;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(145deg, var(--surface-2), var(--surface));
    transition: transform 0.25s ease;
}

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

.category-tile .icon {
    width: 34px;
    height: 34px;
    margin-bottom: auto;
    color: var(--cyan);
}

.category-tile strong {
    margin-top: 28px;
    font-size: 21px;
}

.category-tile span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.category-tile.violet .icon,
.category-hero.violet .icon {
    color: var(--violet);
}

.category-tile.amber .icon,
.category-hero.amber .icon {
    color: var(--amber);
}

.category-tile.rose .icon,
.category-hero.rose .icon {
    color: var(--rose);
}

.ranking-section {
    background: #09131d;
}

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

.ranking-list > a {
    display: grid;
    grid-template-columns: 46px 72px minmax(0, 1fr) 44px;
    min-width: 0;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface);
}

.rank-number {
    color: var(--cyan);
    font-size: 22px;
    font-weight: 800;
}

.ranking-list img {
    width: 72px;
    height: 72px;
    border-radius: 11px;
    object-fit: cover;
}

.rank-copy {
    min-width: 0;
}

.rank-copy strong,
.rank-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-copy small {
    color: var(--muted);
}

.ranking-list em {
    color: var(--amber);
    font-style: normal;
    font-weight: 700;
}

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

.quick-strip a {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    border-radius: 18px;
}

.quick-strip a::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(4, 10, 16, 0.93));
    content: "";
}

.quick-strip img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.quick-strip div {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 18px;
    left: 20px;
}

.quick-strip span {
    color: var(--cyan);
    font-size: 13px;
}

.quick-strip h3 {
    margin: 2px 0 0;
}

.ai-note-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 70px;
    padding: 54px;
    border: 1px solid rgba(66, 245, 215, 0.24);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(66, 245, 215, 0.08), rgba(159, 122, 234, 0.08));
}

.ai-note-grid p {
    max-width: 700px;
    color: #b9cbd4;
}

.ai-orbit {
    position: relative;
    display: grid;
    width: 260px;
    height: 260px;
    margin: auto;
    place-items: center;
    border: 1px solid rgba(66, 245, 215, 0.3);
    border-radius: 50%;
}

.ai-orbit::before,
.ai-orbit::after {
    position: absolute;
    border: 1px solid rgba(159, 122, 234, 0.3);
    border-radius: 50%;
    content: "";
}

.ai-orbit::before {
    width: 190px;
    height: 190px;
}

.ai-orbit::after {
    width: 115px;
    height: 115px;
}

.ai-orbit > .icon {
    width: 54px;
    height: 54px;
    color: var(--cyan);
}

.orbit-label {
    position: absolute;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-size: 13px;
}

.orbit-one {
    top: 26px;
    right: 8px;
}

.orbit-two {
    bottom: 28px;
    left: 2px;
}

.orbit-three {
    right: -12px;
    bottom: 54px;
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: repeat(2, 240px);
    gap: 18px;
}

.editorial-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.editorial-card.tall {
    grid-row: 1 / 3;
}

.editorial-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, rgba(4, 10, 16, 0.94));
    content: "";
}

.editorial-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.editorial-card:hover img {
    transform: scale(1.04);
}

.editorial-card div {
    position: absolute;
    z-index: 2;
    right: 26px;
    bottom: 24px;
    left: 26px;
}

.editorial-card span {
    color: var(--cyan);
    font-size: 13px;
}

.editorial-card h3 {
    max-width: 530px;
    margin: 4px 0 0;
    font-size: 23px;
}

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

.guide-steps > div {
    padding: 28px;
    border-top: 2px solid var(--cyan);
    border-radius: 0 0 18px 18px;
    background: var(--surface);
}

.guide-steps span {
    color: rgba(66, 245, 215, 0.45);
    font-size: 40px;
    font-weight: 800;
}

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

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

.premiere-panel,
.subscribe-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(120deg, #142536, #1e1a34);
}

.premiere-panel p,
.subscribe-panel p {
    margin-bottom: 0;
    color: var(--muted);
}

.countdown {
    display: grid;
    grid-template-columns: auto auto auto auto;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
}

.countdown strong {
    color: var(--cyan);
    font-size: 48px;
}

.countdown span {
    color: var(--muted);
}

.subscribe-panel > div {
    position: relative;
    padding-left: 58px;
}

.subscribe-panel > div > .icon {
    position: absolute;
    top: 7px;
    left: 0;
    width: 40px;
    height: 40px;
    color: var(--cyan);
}

.subscribe-form {
    display: flex;
    min-width: min(100%, 430px);
}

.subscribe-form input {
    min-width: 0;
    flex: 1;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px 0 0 12px;
    outline: 0;
    color: var(--text);
    background: rgba(4, 10, 16, 0.4);
}

.subscribe-form button {
    padding: 12px 18px;
    border: 0;
    border-radius: 0 12px 12px 0;
    color: #03120f;
    background: var(--cyan);
    font-weight: 700;
    cursor: pointer;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs .icon {
    width: 14px;
    height: 14px;
}

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

.category-hero {
    margin-top: 18px;
    background: linear-gradient(120deg, rgba(66, 245, 215, 0.08), transparent);
}

.category-hero-inner {
    display: grid;
    grid-template-columns: 1fr 0.4fr;
    min-height: 340px;
    align-items: center;
    gap: 40px;
}

.category-hero .icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    color: var(--cyan);
}

.category-hero h1,
.page-hero h1,
.search-page-hero h1 {
    margin: 8px 0 12px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.1;
}

.category-hero p,
.page-hero p {
    max-width: 720px;
    color: #b8cad4;
    font-size: 18px;
}

.category-visual {
    text-align: right;
}

.category-visual span {
    color: rgba(255, 255, 255, 0.05);
    font-size: 190px;
    font-weight: 900;
    line-height: 1;
}

.category-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
}

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

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

.detail-hero {
    position: relative;
    min-height: 620px;
    margin-top: 18px;
    overflow: hidden;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
}

.detail-backdrop::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 16, 25, 0.98) 0%, rgba(7, 16, 25, 0.8) 52%, rgba(7, 16, 25, 0.72)), linear-gradient(0deg, var(--bg), transparent 38%);
    content: "";
}

.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.8);
}

.detail-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 300px minmax(0, 680px);
    min-height: 620px;
    align-items: center;
    gap: 52px;
}

.detail-poster {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

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

.detail-copy h1 {
    margin: 10px 0;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.08;
}

.detail-category {
    color: var(--cyan);
    font-weight: 700;
}

.detail-copy > p {
    color: #c7d6dd;
    font-size: 18px;
}

.detail-tags,
.detail-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.detail-tags span {
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
}

.detail-facts {
    margin: 20px 0;
    color: var(--muted);
}

.detail-facts span::after {
    margin-left: 9px;
    color: #48606e;
    content: "·";
}

.detail-facts strong {
    color: var(--amber);
}

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

.article-content,
.detail-aside,
.prose-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
}

.article-content {
    padding: 38px;
}

.article-content h2,
.detail-aside h2,
.prose-content h2 {
    margin: 34px 0 12px;
    font-size: 25px;
}

.article-content h2:first-child,
.detail-aside h2:first-child,
.prose-content h2:first-child {
    margin-top: 0;
}

.article-content p,
.prose-content p,
.prose-content li {
    color: #b8c9d2;
}

.highlight-list {
    display: grid;
    gap: 10px;
}

.highlight-list div {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 13px;
    background: var(--bg-soft);
}

.highlight-list strong {
    color: var(--cyan);
}

.highlight-list p {
    margin: 0;
}

.detail-aside {
    position: sticky;
    top: 100px;
    padding: 28px;
}

.detail-aside dl {
    margin: 0;
}

.detail-aside dl div {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.detail-aside dt {
    color: var(--muted);
}

.detail-aside dd {
    margin: 0;
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 30px;
}

.post-navigation a {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
}

.post-navigation a:last-child {
    text-align: right;
}

.post-navigation span,
.post-navigation strong {
    display: block;
}

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

.page-hero,
.search-page-hero {
    padding: 86px 0 50px;
    text-align: center;
}

.page-hero .icon {
    width: 44px;
    height: 44px;
    color: var(--cyan);
}

.page-hero p {
    margin: 0 auto;
}

.prose-card {
    max-width: 900px;
    padding: 46px;
}

.prose-content ul {
    padding-left: 22px;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    margin-bottom: 8px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    outline: 0;
    color: var(--text);
    background: var(--bg-soft);
}

.contact-form .primary-button {
    justify-self: start;
}

.search-page-hero {
    background: linear-gradient(180deg, rgba(66, 245, 215, 0.06), transparent);
}

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

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

.search-summary h2 {
    margin: 0;
}

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

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

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

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

.not-found {
    width: 100%;
    padding: 80px 0;
}

.not-found-inner {
    text-align: center;
}

.error-code {
    display: block;
    color: rgba(66, 245, 215, 0.18);
    font-size: clamp(120px, 25vw, 260px);
    font-weight: 900;
    line-height: 0.8;
}

.not-found h1 {
    margin: 28px 0 8px;
    font-size: 40px;
}

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

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

.site-footer {
    padding: 56px 0 24px;
    border-top: 1px solid var(--line);
    background: #050b11;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 0.7fr 1.1fr;
    gap: 36px;
}

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

.footer-grid p,
.footer-grid a {
    color: var(--muted);
    font-size: 14px;
}

.footer-grid a {
    display: block;
    margin: 8px 0;
}

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

.footer-brand img {
    margin-bottom: 12px;
}

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

.toast {
    position: fixed;
    z-index: 100;
    right: 22px;
    bottom: 22px;
    max-width: min(360px, calc(100% - 44px));
    padding: 13px 18px;
    border: 1px solid rgba(66, 245, 215, 0.35);
    border-radius: 12px;
    opacity: 0;
    color: var(--text);
    background: #102531;
    box-shadow: var(--shadow);
    pointer-events: none;
    transform: translateY(14px);
    transition: 0.25s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1160px) {
    .header-inner {
        min-height: 70px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .header-search {
        margin-left: 0;
    }

    .main-nav {
        position: absolute;
        top: 70px;
        right: 20px;
        left: 20px;
        display: none;
        grid-template-columns: repeat(2, 1fr);
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: #0b1722;
        box-shadow: var(--shadow);
    }

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

    .nav-link {
        padding: 12px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
        gap: 30px;
    }

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

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-feature {
        min-height: 430px;
    }

    .hero-feature img {
        height: 430px;
    }

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

    .schedule-item + .schedule-item {
        border-left: 0;
    }

    .schedule-item:nth-child(even) {
        border-left: 1px solid var(--line);
    }

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

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

    .ai-note-grid {
        grid-template-columns: 1fr;
    }

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

    .detail-hero-grid {
        grid-template-columns: 230px 1fr;
        gap: 30px;
    }

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

    .detail-aside {
        position: static;
    }
}

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

    .header-search span,
    .more-link {
        display: none;
    }

    .header-search {
        padding: 9px;
    }

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

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

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

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

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

    .hero-search button span {
        display: none;
    }

    .hero-search button {
        padding: 0 15px;
    }

    .hero-feature,
    .hero-feature img {
        min-height: 390px;
        height: 390px;
    }

    .hero-overlay {
        right: 22px;
        bottom: 22px;
        left: 22px;
    }

    .hero-overlay h2 {
        font-size: 28px;
    }

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

    .stats-grid div + div {
        border-left: 0;
    }

    .stats-grid div:nth-child(even) {
        border-left: 1px solid var(--line);
    }

    .stats-grid div:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

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

    .section-heading {
        align-items: center;
    }

    .section-heading .text-link {
        font-size: 13px;
    }

    .featured-grid,
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .show-body {
        padding: 14px;
    }

    .show-card h3 {
        min-height: 2.8em;
        font-size: 17px;
    }

    .show-card p {
        -webkit-line-clamp: 2;
    }

    .schedule-board {
        grid-template-columns: 1fr;
    }

    .schedule-item:nth-child(even) {
        border-left: 0;
    }

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

    .category-mosaic {
        grid-template-columns: 1fr 1fr;
    }

    .category-tile {
        min-height: 180px;
        padding: 18px;
    }

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

    .ranking-list > a {
        grid-template-columns: 38px 62px minmax(0, 1fr) 38px;
        gap: 10px;
    }

    .ranking-list img {
        width: 62px;
        height: 62px;
    }

    .quick-strip {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .quick-strip a,
    .quick-strip img {
        min-height: 210px;
        height: 210px;
    }

    .ai-note-grid {
        gap: 34px;
        padding: 28px 20px;
    }

    .ai-orbit {
        width: 220px;
        height: 220px;
    }

    .editorial-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 360px 230px 230px;
    }

    .editorial-card.tall {
        grid-row: auto;
    }

    .guide-steps {
        grid-template-columns: 1fr;
    }

    .premiere-panel,
    .subscribe-panel,
    .category-note {
        align-items: stretch;
        flex-direction: column;
        padding: 26px;
    }

    .countdown {
        align-self: flex-start;
    }

    .subscribe-panel > div {
        padding-left: 0;
    }

    .subscribe-panel > div > .icon {
        position: static;
        margin-bottom: 10px;
    }

    .subscribe-form {
        min-width: 0;
    }

    .category-hero-inner {
        grid-template-columns: 1fr;
        min-height: 320px;
    }

    .category-visual {
        display: none;
    }

    .detail-hero {
        min-height: auto;
        padding: 48px 0;
    }

    .detail-hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .detail-poster {
        width: min(260px, 80%);
    }

    .detail-copy h1 {
        font-size: 42px;
    }

    .article-content,
    .prose-card {
        padding: 24px;
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }

    .post-navigation a:last-child {
        text-align: left;
    }

    .page-hero,
    .search-page-hero {
        padding: 56px 0 30px;
    }

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

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

    .brand img {
        width: 140px;
    }

    .header-inner {
        gap: 8px;
    }

    .featured-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .category-mosaic,
    .quick-strip {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .countdown strong {
        font-size: 38px;
    }
}
