:root {
    --bg: #08090d;
    --surface: #101219;
    --surface-2: #171923;
    --text: #f7f7fa;
    --muted: #9da2af;
    --line: rgba(255, 255, 255, 0.09);
    --accent: #ff365f;
    --accent-2: #ff7350;
    --gold: #ffc15d;
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--bg);
    color: var(--text);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: Inter, 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    font-size: 16px;
    background:
        radial-gradient(
            circle at 82% 2%,
            rgba(103, 30, 55, 0.35),
            transparent 31rem
        ),
        var(--bg);
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    height: 74px;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 9, 13, 0.88);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1400px, calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand-heading {
    margin: 0;
    font-size: inherit;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand img {
    width: 39px;
    height: 39px;
}

.brand span {
    font-size: 1.2rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #b8bcc6;
    font-size: 0.91rem;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-icon {
    color: var(--accent);
    font-size: 0.86rem;
}

.header-search {
    width: 200px;
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.header-search input {
    width: 100%;
    min-width: 0;
    padding: 9px 3px 9px 13px;
    border: 0;
    outline: 0;
    color: white;
    background: transparent;
}

.header-search button,
.menu-button {
    border: 0;
    color: white;
    background: transparent;
    cursor: pointer;
}

.header-search button {
    padding: 9px 12px;
}

.menu-button {
    display: none;
    font-size: 1.4rem;
}

.hero {
    position: relative;
    width: min(1540px, 100%);
    height: min(660px, calc(100vh - 74px));
    min-height: 530px;
    margin: 0 auto 28px;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
    background: #11131a;
}

.hero-slides,
.hero-slide,
.hero-slide > img,
.hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide > img {
    object-fit: cover;
}

.hero-shade {
    background:
        linear-gradient(
            90deg,
            rgba(8, 9, 13, 0.98) 3%,
            rgba(8, 9, 13, 0.73) 43%,
            rgba(8, 9, 13, 0.08) 78%
        ),
        linear-gradient(0deg, #08090d 0%, transparent 52%);
}

.hero-copy {
    position: absolute;
    left: max(28px, calc((100% - 1340px) / 2));
    bottom: 88px;
    width: min(590px, calc(100% - 56px));
}

.hero-label,
.eyebrow {
    color: #ff7691;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.hero h2 {
    margin: 12px 0 13px;
    font-size: clamp(3.2rem, 7vw, 6.8rem);
    line-height: 0.95;
    letter-spacing: -0.065em;
}

.hero-facts,
.hero-summary {
    color: #d2d4db;
}

.hero-facts {
    font-size: 0.9rem;
}

.hero-summary {
    max-width: 560px;
    line-height: 1.8;
}

.hero-actions,
.app-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 19px;
    border: 0;
    border-radius: 12px;
    font-weight: 750;
    cursor: pointer;
}

.primary-button {
    color: white;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 12px 28px rgba(255, 54, 95, 0.26);
}

.ghost-button {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    background: rgba(8, 9, 13, 0.5);
    transform: translateY(-50%);
    cursor: pointer;
}

.hero-arrow.prev {
    left: 22px;
}

.hero-arrow.next {
    right: 22px;
}

.hero-dots {
    position: absolute;
    right: 5%;
    bottom: 42px;
    z-index: 4;
    display: flex;
    gap: 8px;
}

.hero-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.4);
    transition: 0.25s;
    cursor: pointer;
}

.hero-dots button.active {
    width: 30px;
    background: var(--accent);
}

.page-shell {
    width: min(1340px, calc(100% - 48px));
    margin: 0 auto;
}

.home-section {
    margin: 78px 0;
}

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

.section-heading h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 0;
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    letter-spacing: -0.035em;
}

.section-heading > a {
    color: var(--muted);
    font-size: 0.9rem;
}

.section-icon {
    color: var(--accent);
}

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

.media-card {
    min-width: 0;
}

.poster-link,
.poster-frame,
.card-meta,
.card-status {
    display: block;
}

.poster-frame {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 15px;
    background: var(--surface-2);
}

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

.media-card:hover .poster-frame img {
    transform: scale(1.045);
}

.quality-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 7px;
    border-radius: 6px;
    color: white;
    background: rgba(8, 9, 13, 0.82);
    font-size: 0.7rem;
    font-weight: 800;
}

.play-float {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: white;
    background: var(--accent);
    opacity: 0;
    transform: translateY(8px);
    transition: 0.25s ease;
}

.media-card:hover .play-float {
    opacity: 1;
    transform: none;
}

.media-card h3 {
    margin: 12px 0 6px;
    overflow: hidden;
    font-size: 1rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: var(--muted);
    font-size: 0.76rem;
}

.card-meta span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.card-meta strong {
    color: var(--gold);
}

.card-status {
    margin-top: 5px;
    color: #747986;
    font-size: 0.74rem;
}

.wide-showcase {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr;
    gap: 16px;
}

.wide-showcase article {
    min-height: 250px;
}

.wide-showcase a {
    position: relative;
    display: block;
    height: 100%;
    min-height: 250px;
    overflow: hidden;
    border-radius: 20px;
}

.wide-showcase img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
}

.wide-showcase span {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 50px 20px 18px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.wide-showcase b {
    font-size: 1.15rem;
}

.wide-showcase em {
    color: #d5d6db;
    font-size: 0.78rem;
    font-style: normal;
}

.module-series {
    padding: 34px;
    border: 1px solid rgba(117, 90, 255, 0.2);
    border-radius: 25px;
    background: linear-gradient(
        145deg,
        rgba(77, 51, 159, 0.18),
        rgba(13, 14, 20, 0.9)
    );
}

.update-strip {
    padding: 32px;
    border-radius: 22px;
    background: #f3f1ed;
    color: #17171c;
}

.update-strip .eyebrow,
.update-strip .section-icon {
    color: #b62545;
}

.update-strip .section-heading > a {
    color: #6c6770;
}

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

.update-list a {
    display: grid;
    grid-template-columns: 60px 1.2fr auto;
    align-items: center;
    gap: 14px;
    padding: 15px 0;
    border-top: 1px solid #d9d5ce;
}

.update-list a > em {
    grid-column: 2 / 4;
    color: #79747d;
    font-size: 0.76rem;
    font-style: normal;
}

.update-time {
    color: #b62545;
    font-family: Georgia, serif;
}

.update-list a > span:not(.update-time) {
    color: #77717a;
    font-size: 0.8rem;
}

.score-section .media-card:nth-child(1) {
    grid-column: span 2;
}

.score-section .poster-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.landscape-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(250px, 1fr));
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.landscape-row article {
    min-width: 250px;
    border-radius: 16px;
    background: var(--surface);
    overflow: hidden;
}

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

.landscape-row article div {
    padding: 14px;
}

.landscape-row span {
    color: var(--accent);
    font-size: 0.74rem;
}

.landscape-row h3,
.landscape-row p {
    margin: 7px 0 0;
}

.landscape-row p {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.anime-section {
    position: relative;
    padding: 36px;
    border-radius: 28px;
    background: linear-gradient(135deg, #10293b, #171a29 55%, #332049);
}

.story-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 13px;
}

.story-row > a {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: var(--surface);
}

.story-row img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.story-row > a > span {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    font-size: 1.6rem;
    font-weight: 900;
    text-shadow: 0 2px 12px black;
}

.story-row div {
    padding: 13px;
}

.story-row h3,
.story-row p {
    margin: 0;
}

.story-row p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.78rem;
}

.documentary-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.documentary-grid article {
    grid-column: span 4;
}

.documentary-grid article:nth-child(1),
.documentary-grid article:nth-child(2) {
    grid-column: span 6;
}

.documentary-grid a {
    position: relative;
    display: block;
    min-height: 260px;
    overflow: hidden;
    border-radius: 20px;
}

.documentary-grid img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.documentary-grid div {
    position: absolute;
    inset: auto 0 0;
    padding: 55px 18px 18px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.93));
}

.documentary-grid span {
    color: #86d2ff;
    font-size: 0.73rem;
}

.documentary-grid h3,
.documentary-grid p {
    margin: 6px 0 0;
}

.documentary-grid p {
    overflow: hidden;
    color: #c5c8cf;
    font-size: 0.77rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ranking-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 24px;
    padding: 0;
    list-style: none;
}

.ranking-list li a {
    display: grid;
    grid-template-columns: 48px 58px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border-bottom: 1px solid var(--line);
}

.ranking-list li > a > span {
    color: #555a66;
    font-family: Georgia, serif;
    font-size: 1.45rem;
}

.ranking-list li:nth-child(-n + 3) > a > span {
    color: var(--accent);
}

.ranking-list img {
    width: 58px;
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    object-fit: cover;
}

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

.ranking-list p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.77rem;
}

.ranking-list strong {
    color: var(--gold);
}

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

.coming-grid article {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 13px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
}

.date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--accent);
}

.date-block b {
    font-size: 1.4rem;
}

.date-block em {
    font-size: 0.65rem;
    font-style: normal;
}

.coming-grid h3,
.coming-grid p {
    margin: 0;
}

.coming-grid p,
.coming-grid article > span:last-child {
    color: var(--muted);
    font-size: 0.74rem;
}

.about-section {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 42px;
    align-items: center;
    padding: 44px;
    border-radius: 28px;
    background: linear-gradient(120deg, #3d1422, #161820 58%);
}

.about-mark {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    border-radius: 50%;
    color: white;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    font-family: Georgia, serif;
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
}

.about-section h2 {
    margin: 8px 0;
    font-size: 2.4rem;
}

.about-section p {
    max-width: 780px;
    color: #c9cbd2;
    line-height: 1.9;
}

.about-section a {
    color: #ff91a6;
}

.app-banner {
    width: min(1340px, calc(100% - 48px));
    margin: 95px auto 0;
    padding: 45px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border-radius: 28px 28px 0 0;
    background: linear-gradient(115deg, #481522, #1d1622 50%, #141a2b);
}

.app-copy {
    max-width: 710px;
}

.app-copy h2 {
    margin: 8px 0 10px;
    font-size: 2.15rem;
}

.app-copy p {
    color: #c5c6cc;
    line-height: 1.8;
}

.qr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #d5d6dc;
    font-size: 0.75rem;
}

.qr-card img {
    width: 116px;
    height: 116px;
    padding: 8px;
    border-radius: 15px;
    background: white;
}

.site-footer {
    padding: 54px 24px;
    border-top: 1px solid var(--line);
    background: #07080b;
}

.footer-grid {
    width: min(1220px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.4fr;
    gap: 48px;
}

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

.footer-grid > div > a:not(.brand) {
    display: block;
    margin: 10px 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.footer-grid p {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.7;
}

.inner-page {
    padding-top: 30px;
}

.breadcrumb {
    display: flex;
    gap: 9px;
    margin-bottom: 25px;
    color: #777c88;
    font-size: 0.78rem;
}

.breadcrumb a:hover {
    color: white;
}

.category-hero,
.simple-hero {
    display: flex;
    align-items: center;
    gap: 25px;
    min-height: 230px;
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        rgba(255, 54, 95, 0.16),
        rgba(15, 17, 24, 0.96) 45%,
        rgba(30, 44, 74, 0.7)
    );
}

.category-icon {
    display: grid;
    place-items: center;
    width: 110px;
    height: 110px;
    flex: 0 0 auto;
    border-radius: 28px;
    color: white;
    background: linear-gradient(145deg, var(--accent), var(--accent-2));
    font-size: 3rem;
}

.category-hero h1,
.simple-hero h1 {
    margin: 7px 0 10px;
    font-size: clamp(2.7rem, 6vw, 5.4rem);
    letter-spacing: -0.06em;
}

.category-hero p,
.simple-hero p {
    max-width: 820px;
    margin: 0;
    color: #c5c8d0;
    line-height: 1.8;
}

.simple-hero {
    display: block;
}

.filter-panel {
    margin: 34px 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.filter-row strong {
    margin-right: 8px;
}

.filter-button {
    padding: 8px 13px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #aaaeb9;
    background: transparent;
    cursor: pointer;
}

.filter-button:hover,
.filter-button.active {
    border-color: rgba(255, 54, 95, 0.35);
    color: white;
    background: rgba(255, 54, 95, 0.13);
}

.sort-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.85rem;
}

.sort-row select {
    margin-left: 9px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: white;
    background: #191b24;
}

.category-list-section {
    margin-top: 50px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 42px 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.pagination .current {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    color: white;
    background: var(--accent);
}

.detail-hero {
    position: relative;
    min-height: 570px;
    overflow: hidden;
    border-radius: 26px;
    background: var(--surface);
}

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

.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    filter: blur(1px);
}

.detail-backdrop::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(8, 9, 13, 0.98) 5%,
            rgba(8, 9, 13, 0.82) 62%,
            rgba(8, 9, 13, 0.35)
        ),
        linear-gradient(0deg, rgba(8, 9, 13, 0.9), transparent 50%);
}

.detail-content {
    position: relative;
    z-index: 2;
    min-height: 570px;
    padding: 48px;
    display: grid;
    grid-template-columns: 260px minmax(0, 690px);
    align-items: center;
    gap: 42px;
}

.detail-poster {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55);
}

.detail-info h1 {
    margin: 9px 0 5px;
    font-size: clamp(3rem, 6vw, 5.3rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.alias {
    color: var(--muted);
}

.detail-tags {
    display: flex;
    gap: 8px;
    margin: 17px 0;
}

.detail-tags span {
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 0.76rem;
}

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

.facts-grid div {
    min-width: 0;
}

.facts-grid dt {
    color: #7e838f;
    font-size: 0.68rem;
}

.facts-grid dd {
    margin: 5px 0 0;
    overflow: hidden;
    font-size: 0.82rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.detail-summary {
    color: #c7c9d0;
    line-height: 1.8;
}

.detail-section {
    margin-top: 65px;
}

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

.episode-grid a {
    padding: 13px 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    text-align: center;
    background: var(--surface);
}

.episode-grid a:hover,
.episode-grid a.active {
    border-color: var(--accent);
    background: rgba(255, 54, 95, 0.15);
}

.stills-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 14px;
}

.stills-grid img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    object-fit: cover;
}

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

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

.mini-list a {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 10px;
    border-radius: 12px;
    background: var(--surface);
}

.mini-list img {
    width: 58px;
    aspect-ratio: 2 / 3;
    border-radius: 7px;
    object-fit: cover;
}

.mini-list span,
.mini-list b,
.mini-list em {
    display: block;
    min-width: 0;
}

.mini-list b {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mini-list em {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.7rem;
    font-style: normal;
}

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

.player-heading h1 {
    margin: 7px 0 0;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.player-heading > div > span:not(.live-dot) {
    color: #a7abb5;
    font-size: 0.8rem;
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
}

.player-heading > a {
    color: var(--muted);
}

.player-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 18px;
}

.video-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 18px;
    background: #000;
    box-shadow: 0 25px 90px rgba(0, 0, 0, 0.55);
}

.video-shell video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-empty-tip {
    position: absolute;
    right: 14px;
    bottom: 14px;
    max-width: 360px;
    padding: 9px 12px;
    border-radius: 8px;
    color: #c8cad0;
    background: rgba(0, 0, 0, 0.7);
    font-size: 0.72rem;
    pointer-events: none;
}

.episode-sidebar {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
}

.episode-sidebar h2 {
    margin: 0 0 15px;
    font-size: 1rem;
}

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

.player-controls-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 17px;
}

.player-controls-row a {
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    text-align: center;
    background: var(--surface);
}

.synopsis-panel {
    padding: 30px;
    border-left: 3px solid var(--accent);
    background: var(--surface);
}

.synopsis-panel h2 {
    margin: 8px 0;
}

.synopsis-panel p {
    margin: 0;
    color: #c5c8d0;
    line-height: 1.85;
}

.rank-board-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 34px;
}

.rank-board {
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
}

.rank-board ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rank-board li a {
    display: grid;
    grid-template-columns: 42px 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

.rank-number {
    color: var(--accent);
    font-family: Georgia, serif;
    font-size: 1.2rem;
}

.rank-board img {
    width: 48px;
    aspect-ratio: 2 / 3;
    border-radius: 7px;
    object-fit: cover;
}

.rank-board h3,
.rank-board p {
    margin: 0;
}

.rank-board p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.72rem;
}

.rank-board li strong {
    color: var(--gold);
}

.timeline {
    margin-top: 35px;
}

.timeline article {
    display: grid;
    grid-template-columns: 90px 72px 1fr;
    align-items: center;
    gap: 18px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
}

.timeline time {
    display: flex;
    flex-direction: column;
    font-family: Georgia, serif;
    font-size: 1.1rem;
}

.timeline time span {
    margin-top: 4px;
    color: var(--muted);
    font-family: inherit;
    font-size: 0.72rem;
}

.timeline img {
    width: 72px;
    aspect-ratio: 2 / 3;
    border-radius: 9px;
    object-fit: cover;
}

.timeline h2,
.timeline p {
    margin: 4px 0;
}

.timeline h2 {
    font-size: 1.1rem;
}

.timeline p {
    color: var(--muted);
    font-size: 0.8rem;
}

.prose-grid,
.guide-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 34px;
}

.prose-grid article,
.guide-steps article {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
}

.prose-grid h2,
.guide-steps h2 {
    margin-top: 0;
}

.prose-grid p,
.guide-steps p {
    color: #bfc2ca;
    line-height: 1.85;
}

.guide-steps article > span {
    color: var(--accent);
    font-family: Georgia, serif;
    font-size: 2.1rem;
}

.search-page-panel {
    margin-top: 34px;
}

.large-search {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
}

.large-search label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
}

.large-search > div {
    display: flex;
    gap: 10px;
}

.large-search input {
    min-width: 0;
    flex: 1;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 11px;
    outline: 0;
    color: white;
    background: #0b0c11;
}

.result-count {
    margin: 26px 0 18px;
    color: var(--muted);
}

.is-hidden {
    display: none !important;
}
