:root {
    --bg: #07111f;
    --panel: #0d1a2b;
    --ink: #102033;
    --muted: #64748b;
    --paper: #f4f7fb;
    --white: #ffffff;
    --cyan: #6ee7ff;
    --violet: #8b7cff;
    --pink: #ff5e9e;
    --line: rgba(15, 38, 62, 0.12);
    --shadow: 0 18px 50px rgba(22, 44, 78, 0.12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button {
    font: inherit;
}

.container {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    color: var(--white);
    background: rgba(7, 17, 31, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

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

.brand-mark img {
    width: 44px;
    height: 44px;
}

.brand-title {
    margin: 0 18px 0 0;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.brand-title a {
    color: var(--white);
}

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

.nav-link {
    min-height: 42px;
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #b9c6d8;
    border-radius: 12px;
    font-size: 0.875rem;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--white);
    background: rgba(110, 231, 255, 0.12);
}

.nav-link.is-active {
    box-shadow: inset 0 -2px var(--cyan);
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 10px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

.menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
}

.hero-section {
    margin-top: 0;
    padding: 54px 0 68px;
    color: #fff;
    background: radial-gradient(circle at 76% 10%, rgba(139, 124, 255, 0.34), transparent 30%), radial-gradient(circle at 15% 80%, rgba(110, 231, 255, 0.2), transparent 28%), #07111f;
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.25fr;
    gap: 64px;
    align-items: center;
}

.signal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid rgba(110, 231, 255, 0.35);
    border-radius: 999px;
    color: #dffaff;
    font-size: 0.8rem;
}

.signal i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 14px var(--cyan);
}

.hero-kicker,
.section-index,
.eyebrow {
    color: #5c7693;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-copy h2 {
    max-width: 560px;
    margin: 14px 0 20px;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.hero-copy > p:last-of-type {
    color: #b8c5d8;
    font-size: 1.06rem;
}

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

.primary-button,
.ghost-button {
    min-height: 46px;
    padding: 11px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
}

.primary-button {
    color: #06121c;
    background: linear-gradient(135deg, var(--cyan), #9af5cf);
    box-shadow: 0 12px 30px rgba(110, 231, 255, 0.22);
    font-weight: 900;
}

.ghost-button {
    color: inherit;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stats {
    display: flex;
    gap: 24px;
    color: #8fa2b9;
    font-size: 0.8rem;
}

.hero-stats b {
    display: block;
    color: #fff;
    font-size: 1.35rem;
}

.hero-poster {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.4);
    aspect-ratio: 16 / 9;
}

.hero-poster img,
.cover img,
.wide-cover img,
.channel-feature img,
.player > img,
.topic-main > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-poster::after,
.channel-feature::after,
.topic-main::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(1, 8, 15, 0.92), transparent 64%);
}

.hero-caption {
    position: absolute;
    z-index: 2;
    right: 26px;
    bottom: 24px;
    left: 26px;
    display: grid;
    gap: 4px;
}

.hero-caption span,
.hero-caption small {
    color: #b9cce0;
}

.hero-caption strong {
    font-size: 1.35rem;
}

.hero-play,
.play-icon,
.player-center {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    color: #07111f;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.hero-play {
    top: 24px;
    left: 24px;
    width: 62px;
    height: 62px;
}

.section {
    margin-top: 90px;
}

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

.section-heading h2 {
    margin: 4px 0 0;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.2;
}

.section-heading > a {
    color: #44627f;
    font-weight: 700;
}

.section-heading.light,
.section-heading.light a {
    color: #fff;
}

.section-heading.light .section-index,
.latest-strip .section-heading > span {
    color: #86a5c4;
}

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

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

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

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

.video-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 9px 28px rgba(19, 39, 67, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #15243a;
}

.cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(1, 8, 15, 0.45), transparent 60%);
}

.play-icon {
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    opacity: 0;
    transform: translate(-50%, -45%);
    transition: 0.25s ease;
}

.video-card:hover .play-icon,
.wide-cover .play-icon,
.channel-feature .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.duration {
    position: absolute;
    z-index: 3;
    right: 10px;
    bottom: 10px;
    padding: 3px 8px;
    color: #fff;
    background: rgba(2, 8, 16, 0.78);
    border-radius: 7px;
    font-size: 0.72rem;
}

.video-card-body {
    padding: 17px;
}

.video-card h3 {
    margin: 5px 0 8px;
    min-height: 2.9em;
    font-size: 1rem;
    line-height: 1.45;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.video-card p {
    min-height: 4.8em;
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.6;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.card-meta {
    margin-top: 14px;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    color: #7890aa;
    border-top: 1px solid #edf1f6;
    font-size: 0.75rem;
}

.latest-strip,
.short-section,
.rank-section {
    padding: 76px 0;
    color: #fff;
    background: #0a1728;
}

.compact-grid .video-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.09);
}

.compact-grid .video-card-body p,
.compact-grid .card-meta {
    color: #9eb0c5;
}

.compact-grid .card-meta {
    border-color: rgba(255, 255, 255, 0.09);
}

.popular-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 38px;
}

.feature-story {
    padding: 30px;
    background: #fff;
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.feature-story h2 {
    margin: 5px 0 24px;
    font-size: 2.3rem;
}

.feature-story h3 {
    margin-bottom: 0;
    font-size: 1.35rem;
}

.feature-story p {
    color: var(--muted);
}

.wide-cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 8;
    border-radius: 18px;
}

.episode-stack {
    display: grid;
    gap: 13px;
}

.episode-stack a {
    padding: 12px;
    display: grid;
    grid-template-columns: 126px 1fr;
    gap: 15px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 17px;
}

.episode-stack img {
    width: 126px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
}

.episode-stack span {
    min-width: 0;
}

.episode-stack small,
.episode-stack em {
    display: block;
    color: var(--muted);
    font-size: 0.77rem;
    font-style: normal;
}

.episode-stack strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.category-tile {
    position: relative;
    overflow: hidden;
    padding: 23px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
}

.category-tile::before {
    content: "";
    position: absolute;
    top: -34px;
    right: -34px;
    width: 95px;
    height: 95px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.22;
}

.category-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--accent) 18%, white);
    border-radius: 14px;
    font-size: 1.25rem;
}

.category-tile strong {
    display: block;
    margin-top: 16px;
    font-size: 1.08rem;
}

.category-tile p {
    min-height: 5.4em;
    margin: 6px 0 16px;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.55;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.link-arrow {
    color: #496b8d;
    font-size: 0.78rem;
    font-weight: 800;
}

.short-section {
    background: radial-gradient(circle at 80% 50%, rgba(255, 94, 158, 0.17), transparent 35%), #17111f;
}

.portrait-grid .cover {
    aspect-ratio: 4 / 5;
}

.anime-grid .video-card:nth-child(1) {
    grid-column: span 2;
}

.anime-grid .video-card:nth-child(1) .cover {
    aspect-ratio: 16 / 6.5;
}

.classic-section {
    padding: 76px 0;
    background: linear-gradient(135deg, #e7eef6, #f9fbfd);
}

.classic-layout {
    display: grid;
    grid-template-columns: 0.55fr 1.45fr;
    gap: 40px;
    align-items: center;
}

.classic-intro h2 {
    font-size: 2.6rem;
    line-height: 1.15;
}

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

.classic-intro .ghost-button {
    color: var(--ink);
    background: #fff;
    border-color: var(--line);
}

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

.release-timeline li {
    position: relative;
    padding-right: 20px;
}

.release-timeline li::before {
    content: "";
    position: absolute;
    top: 43px;
    right: 0;
    left: 0;
    height: 2px;
    background: #d8e0ea;
}

.release-timeline time {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
}

.release-timeline > li > span {
    position: relative;
    z-index: 2;
    width: 14px;
    height: 14px;
    margin: 13px 0 18px;
    display: block;
    background: var(--cyan);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--cyan);
}

.release-timeline strong,
.release-timeline small {
    display: block;
}

.release-timeline small {
    color: var(--muted);
}

.rank-section {
    background: linear-gradient(145deg, #07111f, #111d36);
}

.rank-table {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.rank-row {
    padding: 17px 20px;
    display: grid;
    grid-template-columns: 60px 1fr 100px 140px 110px;
    gap: 18px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rank-row:last-child {
    border-bottom: 0;
}

.rank-row b {
    color: var(--cyan);
    font-size: 1.6rem;
}

.rank-row span,
.rank-row time {
    color: #9eb0c5;
    font-size: 0.8rem;
}

.rank-row .rank-title {
    color: #fff;
    font-size: 0.96rem;
    font-weight: 800;
}

.topic-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 20px;
}

.topic-main {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 8;
    border-radius: 26px;
}

.topic-main > span {
    position: absolute;
    z-index: 2;
    right: 28px;
    bottom: 25px;
    left: 28px;
    color: #fff;
}

.topic-main small,
.topic-main strong,
.topic-main em {
    display: block;
    font-style: normal;
}

.topic-main strong {
    font-size: 1.5rem;
}

.topic-main em,
.topic-main small {
    color: #b8c6d9;
}

.topic-links {
    display: grid;
    gap: 12px;
}

.topic-links a {
    padding: 20px;
    display: flex;
    gap: 18px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.topic-links b {
    color: #aab7c6;
    font-size: 1.5rem;
}

.topic-links span,
.topic-links small {
    display: block;
}

.topic-links small {
    color: var(--muted);
}

.editor-note {
    padding: 34px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 26px;
    align-items: center;
    color: #fff;
    background: linear-gradient(120deg, #4939ad, #1b7e97);
    border-radius: 26px;
}

.editor-avatar {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    color: #1d3552;
    background: var(--cyan);
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 900;
}

.editor-note h2,
.editor-note p {
    margin: 4px 0;
}

.editor-note p {
    color: #d8e6f2;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-cloud a {
    padding: 10px 17px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.about-section {
    padding: 74px 0;
    background: #fff;
    border-block: 1px solid var(--line);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 60px;
}

.about-grid h2 {
    margin-top: 8px;
    font-size: 2.6rem;
}

.about-grid p {
    color: var(--muted);
    font-size: 1.02rem;
}

.app-section {
    margin-bottom: 90px;
    padding: 46px 58px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    color: #fff;
    background: radial-gradient(circle at 90% 20%, rgba(110, 231, 255, 0.2), transparent 35%), #07111f;
    border-radius: 30px;
}

.app-copy h2 {
    margin: 6px 0 12px;
    font-size: 2.2rem;
}

.app-copy p,
.app-copy small {
    display: block;
    color: #aebdd0;
}

.subscribe-button {
    margin: 12px 0 8px;
}

.qr-card {
    padding: 15px;
    display: grid;
    gap: 4px;
    text-align: center;
    background: #fff;
    border-radius: 20px;
}

.qr-card img {
    width: 168px;
    height: 168px;
}

.qr-card strong {
    color: var(--ink);
}

.qr-card span {
    color: var(--muted);
    font-size: 0.75rem;
}

.site-footer {
    padding-top: 64px;
    color: #a8b7c9;
    background: #050d17;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.2rem;
}

.footer-grid h2 {
    color: #fff;
    font-size: 0.95rem;
}

.footer-grid a,
.footer-grid p {
    margin: 5px 0;
    display: block;
    font-size: 0.83rem;
}

.copyright {
    margin-top: 42px;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
}

.back-top {
    position: fixed;
    z-index: 45;
    right: 22px;
    bottom: 22px;
    width: 44px;
    height: 44px;
    display: none;
    color: #07111f;
    background: var(--cyan);
    border: 0;
    border-radius: 50%;
    box-shadow: var(--shadow);
    cursor: pointer;
}

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

.breadcrumbs {
    padding-top: 30px;
    display: flex;
    gap: 9px;
    color: var(--muted);
    font-size: 0.82rem;
}

.channel-hero {
    margin-top: 28px;
    padding: 52px 0;
    color: #fff;
    background: radial-gradient(circle at 20% 15%, color-mix(in srgb, var(--channel) 28%, transparent), transparent 30%), #081421;
}

.channel-hero-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.channel-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 15px;
    display: grid;
    place-items: center;
    color: #07111f;
    background: var(--channel);
    border-radius: 17px;
    font-size: 1.4rem;
}

.channel-hero h1 {
    margin: 5px 0 12px;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.channel-hero p {
    color: #b7c6d8;
}

.channel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.channel-meta span {
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    color: #c8d6e5;
    font-size: 0.78rem;
}

.channel-feature {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 8;
    border-radius: 24px;
}

.channel-feature strong {
    position: absolute;
    z-index: 3;
    right: 20px;
    bottom: 18px;
    left: 20px;
}

.channel-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 36px;
    align-items: start;
}

.channel-aside {
    position: sticky;
    top: 100px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
}

.channel-aside h2 {
    margin: 5px 0 18px;
}

.mini-rank {
    display: grid;
}

.mini-rank a {
    padding: 14px 0;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    border-top: 1px solid var(--line);
}

.mini-rank b {
    color: var(--violet);
}

.mini-rank span,
.mini-rank small {
    display: block;
}

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

.aside-note {
    margin-top: 18px;
    padding: 16px;
    color: #d6e0ec;
    background: var(--bg);
    border-radius: 15px;
}

.aside-note p {
    margin-bottom: 0;
    font-size: 0.82rem;
}

.watch-page {
    margin-top: 28px;
}

.watch-heading {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: end;
}

.watch-heading h1 {
    margin: 5px 0 10px;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.15;
}

.watch-heading p {
    max-width: 820px;
    color: var(--muted);
}

.watch-meta {
    display: grid;
    gap: 5px;
    color: var(--muted);
    font-size: 0.82rem;
    text-align: right;
}

.player {
    position: relative;
    margin-top: 28px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 26px;
    box-shadow: 0 28px 70px rgba(8, 26, 48, 0.25);
}

.player-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent 50%);
}

.player-center {
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    border: 0;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.player-controls {
    position: absolute;
    z-index: 4;
    right: 20px;
    bottom: 16px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 0.78rem;
}

.player-controls button {
    width: 36px;
    height: 36px;
    color: #fff;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.progress {
    position: relative;
    height: 5px;
    flex: 1;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 999px;
}

.progress i {
    display: block;
    width: 12%;
    height: 100%;
    background: var(--cyan);
    border-radius: inherit;
}

.playing-message {
    position: absolute;
    z-index: 5;
    top: 22px;
    left: 22px;
    padding: 7px 11px;
    display: none;
    color: #fff;
    background: rgba(0, 0, 0, 0.62);
    border-radius: 10px;
    font-size: 0.8rem;
}

.player.is-playing .playing-message {
    display: block;
}

.player.is-playing .player-center {
    opacity: 0;
}

.player.is-playing .progress i {
    width: 42%;
}

.watch-actions {
    padding: 16px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
}

.favorite-button {
    padding: 9px 15px;
    color: #375675;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
}

.favorite-button.active {
    color: #fff;
    background: var(--pink);
}

.story-grid,
.watch-guide {
    margin-top: 58px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 26px;
}

.story-grid > div,
.story-grid aside,
.watch-guide > div {
    padding: 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
}

.story-grid h2,
.watch-guide h2 {
    margin: 5px 0 12px;
}

.story-grid p,
.watch-guide p,
.story-grid li {
    color: var(--muted);
}

.story-grid li {
    margin: 8px 0;
}

.scene-section,
.related-section {
    margin-top: 72px;
}

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

.scene-grid figure {
    margin: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 18px;
}

.scene-grid img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.scene-grid figcaption {
    padding: 13px 16px;
    color: var(--muted);
    font-size: 0.82rem;
}

.ending-card {
    color: #fff;
    background: linear-gradient(145deg, #151f3a, #35216b) !important;
}

.ending-card span {
    color: #aebed1;
}

.ending-card strong {
    display: block;
    margin-top: 8px;
    font-size: 1.3rem;
}

.ending-card p {
    color: #c8d3e2;
}

.previous-next {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.previous-next a,
.nav-empty {
    min-height: 100px;
    padding: 20px;
    display: grid;
    align-content: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 17px;
}

.previous-next a:last-child,
.nav-empty:last-child {
    text-align: right;
}

.previous-next small {
    color: var(--muted);
}

.nav-empty {
    color: #9aa8b7;
}

.related-section {
    margin-bottom: 90px;
}
