:root {
    color-scheme: dark;
    --bg: #07101f;
    --bg-soft: #0b1729;
    --surface: #101f35;
    --surface-2: #152741;
    --ink: #f7f9fd;
    --muted: #98a9c2;
    --line: rgba(255, 255, 255, 0.1);
    --accent: #ff6457;
    --accent-2: #ffb24c;
    --cyan: #45d6d0;
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
    --radius: 22px;
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 85% 5%, rgba(69, 214, 208, 0.08), transparent 25rem),
        radial-gradient(circle at 10% 20%, rgba(255, 100, 87, 0.08), transparent 24rem),
        var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.65;
}

body.nav-open {
    overflow: hidden;
}

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

button,
input {
    font: inherit;
}

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

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

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

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

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    transform: translateY(-150%);
    padding: 10px 16px;
    border-radius: 10px;
    background: #fff;
    color: #07101f;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    background: rgba(7, 16, 31, 0.82);
    backdrop-filter: blur(18px);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
    border-color: var(--line);
    background: rgba(7, 16, 31, 0.96);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 78px;
    gap: 26px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px 14px 14px 5px;
    background: linear-gradient(135deg, var(--accent), #ff8a63);
    box-shadow: 0 9px 24px rgba(255, 100, 87, 0.28);
}

.brand-play {
    transform: translateX(1px);
    color: #fff;
    font-size: 15px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-copy strong {
    font-size: 18px;
    letter-spacing: 0.06em;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.18em;
}

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

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 42px;
    padding: 8px 9px;
    border-radius: 10px;
    color: #aebbd0;
    font-size: 14px;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

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

.ui-icon {
    display: inline-grid;
    place-items: center;
    min-width: 1em;
    font-style: normal;
}

.search-link,
.nav-toggle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    cursor: pointer;
}

.nav-toggle {
    display: none;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.8fr);
    min-height: 590px;
    margin-top: 34px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: #0d1b2f;
    box-shadow: var(--shadow);
}

.hero-media,
.channel-cover {
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

.hero-media img,
.channel-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade,
.cover-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 45%, #0d1b2f 100%), linear-gradient(0deg, rgba(2, 8, 16, 0.6), transparent 55%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 54px 56px 28px;
}

.hero-label,
.eyebrow {
    color: var(--accent-2);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 16px 0 6px;
    font-size: clamp(3rem, 6vw, 5.9rem);
    line-height: 0.95;
    letter-spacing: -0.07em;
}

.hero h1 a {
    background: linear-gradient(135deg, #fff 30%, #91e8e2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero h2 {
    margin: 18px 0 14px;
    font-size: clamp(1.4rem, 2.5vw, 2.15rem);
    line-height: 1.3;
}

.hero-content > p {
    margin: 0;
    color: #b5c2d4;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
}

.button-primary {
    background: linear-gradient(135deg, var(--accent), #ff8d58);
    color: #fff;
    box-shadow: 0 12px 26px rgba(255, 100, 87, 0.24);
}

.button-ghost {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

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

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.hero-facts span {
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 12px;
}

.hero-play,
.player-center {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 24px;
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-play:hover,
.player-center:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background: var(--accent);
}

.hero-duration {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 3;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(3, 8, 16, 0.8);
    font-size: 13px;
}

.section {
    margin-top: 104px;
}

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

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

.section-heading p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
}

.text-link {
    flex: none;
    color: #dbe7f8;
    font-weight: 700;
}

.today-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.75fr 0.75fr;
    gap: 20px;
}

.feature-card,
.compact-card,
.video-card,
.poster-card,
.channel-card,
.related-card,
.anime-main,
.anime-small,
.wide-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

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

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

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

.cover-gradient {
    background: linear-gradient(0deg, rgba(4, 10, 20, 0.72), transparent 55%);
}

.play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(255, 100, 87, 0.92);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.duration-badge,
.category-badge {
    position: absolute;
    bottom: 12px;
    z-index: 2;
    padding: 4px 8px;
    border-radius: 7px;
    background: rgba(3, 8, 16, 0.78);
    font-size: 12px;
}

.duration-badge {
    right: 12px;
}

.category-badge {
    left: 12px;
    background: rgba(255, 100, 87, 0.92);
}

.card-body {
    padding: 18px;
}

.card-body h3 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    color: #7f93af;
    font-size: 12px;
}

.video-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.feature-card .card-body h3 {
    font-size: 24px;
}

.compact-card .card-body > p {
    -webkit-line-clamp: 2;
}

.latest-strip,
.drama-section,
.rank-section,
.channel-hot {
    padding: 82px 0;
    border-block: 1px solid var(--line);
    background: rgba(16, 31, 53, 0.62);
}

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

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

.poster-card .card-body > p {
    display: none;
}

.poster-card .card-body h3 {
    font-size: 16px;
}

.poster-card .video-meta span:nth-child(2),
.poster-card .video-meta span:nth-child(3) {
    display: none;
}

.hot-layout {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 24px;
}

.wide-card {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr;
}

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

.wide-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

.mini-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mini-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 88px;
    gap: 15px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
}

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

.mini-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.mini-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-copy small {
    margin-top: 4px;
    color: var(--muted);
}

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

.category-tile {
    position: relative;
    display: flex;
    min-height: 250px;
    flex-direction: column;
    padding: 24px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
    border-radius: 20px;
    background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 12%, var(--surface)), var(--surface));
}

.category-tile::after {
    position: absolute;
    right: -35px;
    bottom: -35px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--accent);
    content: "";
    opacity: 0.08;
}

.category-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--accent);
    color: #07101f;
    font-size: 21px;
}

.category-tile strong {
    font-size: 20px;
}

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

.category-count {
    margin-top: auto;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
}

.drama-reel {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.reel-item {
    position: relative;
    min-height: 350px;
    overflow: hidden;
    border-radius: 20px;
}

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

.reel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(3, 8, 18, 0.94), transparent 65%);
}

.reel-index {
    position: absolute;
    top: 13px;
    left: 15px;
    z-index: 2;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 800;
}

.reel-copy {
    position: absolute;
    right: 18px;
    bottom: 20px;
    left: 18px;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.reel-copy strong {
    font-size: 17px;
    line-height: 1.45;
}

.reel-copy small {
    margin-top: 6px;
    color: var(--muted);
}

.anime-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 20px;
}

.anime-main .card-cover {
    aspect-ratio: 4 / 3;
}

.anime-main .card-body h3 {
    font-size: 25px;
}

.anime-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.anime-small .card-body {
    padding: 13px;
}

.anime-small .card-body h3 {
    font-size: 15px;
}

.anime-small .card-body > p,
.anime-small .video-meta span:nth-child(2),
.anime-small .video-meta span:nth-child(3) {
    display: none;
}

.cinema-band {
    position: relative;
    padding: 96px 0;
    overflow: hidden;
    background: linear-gradient(110deg, #17162d, #0a2b38);
}

.cinema-band::before {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, transparent 0 79px, rgba(255, 255, 255, 0.025) 80px);
    content: "";
}

.cinema-inner {
    position: relative;
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: center;
    gap: 64px;
}

.cinema-copy h2 {
    margin: 10px 0 18px;
    font-size: clamp(2.2rem, 4vw, 4.5rem);
    line-height: 1.05;
}

.cinema-copy p {
    margin: 0 0 28px;
    color: #b8c4d6;
}

.cinema-mosaic {
    display: grid;
    grid-template-columns: 0.8fr 1fr 0.8fr;
    align-items: center;
    gap: 12px;
}

.cinema-mosaic a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.cinema-mosaic a:nth-child(2) {
    transform: translateY(-18px);
}

.cinema-mosaic img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.cinema-mosaic span {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(4, 9, 18, 0.8);
    font-size: 13px;
}

.release-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--line);
}

.timeline-item {
    min-height: 230px;
    padding: 28px;
    background: var(--surface);
}

.timeline-item time {
    color: var(--accent);
    font-size: 31px;
    font-weight: 900;
}

.timeline-item span {
    color: var(--accent-2);
    font-size: 12px;
}

.timeline-item h3 {
    margin: 8px 0;
    font-size: 20px;
}

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

.rank-table {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
}

.rank-row {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 110px 130px 40px;
    align-items: center;
    min-height: 84px;
    gap: 16px;
    padding: 12px 22px;
    border-bottom: 1px solid var(--line);
    transition: background 0.2s ease;
}

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

.rank-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.rank-no {
    color: #7b8fa9;
    font-size: 25px;
    font-weight: 900;
}

.rank-row:nth-child(-n+3) .rank-no {
    color: var(--accent);
}

.rank-title {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.rank-title strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-title small,
.rank-row time {
    color: var(--muted);
}

.topic-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    grid-template-rows: repeat(2, 250px);
    gap: 18px;
}

.topic-card {
    position: relative;
    min-height: 0;
    overflow: hidden;
    border-radius: 24px;
}

.topic-1 {
    grid-row: 1 / 3;
}

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

.topic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4, 10, 20, 0.94), transparent 75%);
}

.topic-copy {
    position: absolute;
    right: 28px;
    bottom: 26px;
    left: 28px;
}

.topic-copy > span {
    color: var(--accent-2);
    font-size: 12px;
    font-weight: 800;
}

.topic-copy h3 {
    margin: 5px 0 6px;
    font-size: 25px;
}

.topic-copy p {
    margin: 0 0 12px;
    color: #c6d0df;
}

.topic-copy a {
    color: #fff;
    font-weight: 800;
}

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

.editor-item {
    position: relative;
    display: flex;
    min-height: 330px;
    flex-direction: column;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(145deg, var(--surface), #0d1a2d);
}

.editor-quote {
    position: absolute;
    top: 2px;
    right: 24px;
    color: rgba(255, 255, 255, 0.08);
    font: 120px Georgia, serif;
    line-height: 1;
}

.editor-type {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
}

.editor-item h3 {
    position: relative;
    margin: 14px 0;
    font-size: 22px;
}

.editor-item p {
    position: relative;
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.editor-reason {
    margin-top: auto;
    padding-top: 20px;
    color: var(--accent-2);
    font-size: 13px;
    font-weight: 800;
}

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

.tag {
    padding: 13px 19px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-weight: 700;
}

.tag-1 { color: #ff938a; }
.tag-2 { color: #75ded9; }
.tag-3 { color: #bac3ff; }
.tag-4 { color: #ffd080; }

.about-section {
    display: grid;
    grid-template-columns: 0.8fr 1.4fr 0.8fr;
    align-items: center;
    gap: 44px;
    padding: 52px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(135deg, #11243e, #0c1b2f);
}

.about-number {
    color: rgba(255, 255, 255, 0.11);
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 900;
    line-height: 0.82;
    writing-mode: vertical-rl;
}

.about-copy h2 {
    margin: 8px 0 18px;
    font-size: 35px;
}

.about-copy p {
    color: #b6c3d6;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.about-stats span {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.about-stats strong {
    color: #fff;
    font-size: 27px;
}

.subscribe-section {
    display: grid;
    grid-template-columns: 1.3fr auto 0.7fr;
    align-items: center;
    gap: 50px;
    margin-bottom: 104px;
    padding: 48px;
    border-radius: 28px;
    background: linear-gradient(125deg, #ff6658, #e04b73 55%, #7f4ab5);
    box-shadow: var(--shadow);
}

.subscribe-copy h2 {
    margin: 7px 0 12px;
    font-size: 33px;
}

.subscribe-copy p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.85);
}

.subscribe-section .eyebrow {
    color: #fff3b7;
}

.subscribe-status {
    display: block;
    min-height: 24px;
    margin-top: 10px;
    font-size: 14px;
}

.brand-qr {
    position: relative;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    width: 170px;
    aspect-ratio: 1;
    gap: 3px;
    padding: 13px;
    border-radius: 17px;
    background: #fff;
}

.brand-qr i {
    border-radius: 2px;
    background: #101d32;
}

.brand-qr .qr-0 { opacity: 1; }
.brand-qr .qr-1 { opacity: 0.15; }
.brand-qr .qr-2 { opacity: 0.7; }

.qr-center {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
    border: 5px solid #fff;
    border-radius: 12px;
    background: var(--accent);
}

.subscribe-note {
    padding-left: 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.subscribe-note strong {
    font-size: 19px;
}

.subscribe-note p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 30px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #fff;
}

.channel-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 28px;
    padding: 42px;
    border: 1px solid color-mix(in srgb, var(--channel-accent) 35%, transparent);
    border-radius: 26px;
    background: linear-gradient(120deg, color-mix(in srgb, var(--channel-accent) 13%, var(--surface)), var(--surface));
}

.channel-heading {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.channel-heading .channel-icon,
.channel-note .channel-icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    flex: none;
    border-radius: 20px;
    background: var(--channel-accent, var(--accent));
    color: #07101f;
    font-size: 27px;
}

.channel-heading h1 {
    margin: 3px 0 9px;
    font-size: 44px;
    line-height: 1.1;
}

.channel-heading p {
    max-width: 770px;
    margin: 0;
    color: #b7c4d7;
}

.channel-count {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: none;
}

.channel-count strong {
    color: var(--channel-accent);
    font-size: 64px;
    line-height: 1;
}

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

.channel-feature {
    display: grid;
    grid-template-columns: 1.35fr 0.75fr;
    min-height: 460px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--surface);
}

.channel-cover {
    min-height: 460px;
}

.channel-feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px;
}

.channel-feature-copy h2 {
    margin: 14px 0;
    font-size: 31px;
    line-height: 1.25;
}

.channel-feature-copy > p {
    margin: 0 0 20px;
    color: var(--muted);
}

.channel-feature-copy .button {
    align-self: flex-start;
    margin-top: 24px;
}

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

.channel-card:first-child,
.channel-card:nth-child(2) {
    grid-column: span 1;
}

.channel-card:nth-child(4),
.channel-card:nth-child(5) {
    grid-column: span 1;
}

.channel-hot-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.channel-hot-list a {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 15px;
    padding: 21px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--bg-soft);
}

.channel-hot-list a > span:nth-child(2) {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.channel-hot-list small,
.channel-hot-list em {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

.channel-note {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    margin-bottom: 100px;
    padding: 30px;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: 20px;
}

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

.channel-note p {
    margin: 0;
    color: var(--muted);
}

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

.watch-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 28px;
}

.watch-header h1 {
    margin: 8px 0 12px;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.watch-header p {
    max-width: 850px;
    margin: 0;
    color: var(--muted);
}

.favorite-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface);
    color: #fff;
    cursor: pointer;
}

.favorite-button[aria-pressed="true"] {
    border-color: var(--accent);
    color: #ff8b82;
}

.player-shell {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #02060c;
    box-shadow: var(--shadow);
}

.player-screen {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

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

.player-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 30%, rgba(1, 5, 10, 0.55) 100%);
}

.player-center {
    border: 0;
    background: var(--accent);
    cursor: pointer;
}

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

.player-title {
    position: absolute;
    top: 18px;
    left: 20px;
    padding: 7px 11px;
    border-radius: 9px;
    background: rgba(2, 6, 12, 0.7);
    font-size: 14px;
}

.player-controls {
    display: grid;
    grid-template-columns: auto auto minmax(100px, 1fr) auto auto;
    align-items: center;
    gap: 14px;
    min-height: 58px;
    padding: 8px 18px;
    background: #07101b;
}

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

.player-time {
    color: #b8c4d5;
    font-size: 13px;
    white-space: nowrap;
}

.progress-wrap {
    display: flex;
    align-items: center;
}

.player-progress {
    width: 100%;
    accent-color: var(--accent);
}

.watch-info-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.watch-info-bar span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.watch-info-bar a {
    color: var(--accent-2);
}

.watch-copy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
    gap: 48px;
    margin-top: 72px;
}

.copy-section {
    margin-bottom: 38px;
}

.copy-section h2,
.highlight-section h2,
.watch-aside h2 {
    margin: 6px 0 10px;
    font-size: 26px;
}

.copy-section p {
    margin: 0;
    color: #b7c4d5;
}

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

.highlight-section li {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

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

.watch-aside {
    align-self: start;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
}

.watch-aside dl {
    margin: 0;
}

.watch-aside dl > div {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.watch-aside dl > div:last-child {
    border-bottom: 0;
}

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

.watch-aside dd {
    margin: 0;
    text-align: right;
}

.scene-section {
    margin-top: 90px;
}

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

.scene-card {
    grid-column: span 5;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
}

.scene-card:nth-child(2),
.scene-card:nth-child(3) {
    grid-column: span 7;
}

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

.scene-card figcaption {
    position: relative;
    padding: 22px;
}

.scene-card figcaption > span {
    position: absolute;
    right: 20px;
    top: 14px;
    color: rgba(255, 255, 255, 0.12);
    font-size: 38px;
    font-weight: 900;
}

.scene-card h3 {
    margin: 0 0 8px;
    font-size: 21px;
}

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

.end-note {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 18px;
    margin-top: 54px;
    padding: 26px;
    border: 1px solid rgba(69, 214, 208, 0.22);
    border-radius: 20px;
    background: rgba(69, 214, 208, 0.06);
}

.end-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--cyan);
    color: #07101f;
    font-weight: 900;
}

.end-note h2 {
    margin: 0;
    font-size: 20px;
}

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

.episode-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 12px;
    margin-top: 24px;
}

.episode-nav > a,
.episode-edge {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    min-height: 92px;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
}

.episode-nav span,
.episode-nav small {
    color: var(--muted);
    font-size: 12px;
}

.episode-nav strong {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.episode-back {
    align-items: center;
    padding-inline: 20px !important;
    color: var(--accent-2);
    font-weight: 800;
}

.episode-next,
.episode-edge-next {
    text-align: right;
}

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

.related-card .card-body > p {
    display: none;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #050b15;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.65fr 0.65fr 1fr;
    gap: 50px;
    padding: 62px 0;
}

.brand-footer {
    margin-bottom: 18px;
}

.footer-brand p,
.footer-contact p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links h2,
.footer-contact h2 {
    margin: 0 0 10px;
    font-size: 16px;
}

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

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0 28px;
    border-top: 1px solid var(--line);
    color: #71839d;
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
}

.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 70;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    transform: translateY(100px);
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(16, 31, 53, 0.92);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.back-top.is-visible {
    transform: translateY(0);
    opacity: 1;
}

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
}
