:root {
    --ink: #f5f7fb;
    --muted: #98a6ba;
    --night: #07101d;
    --surface: #0d1929;
    --surface-2: #132238;
    --line: rgba(255, 255, 255, 0.1);
    --coral: #ff7657;
    --gold: #ffbd5a;
    --cyan: #6ee7d2;
    --max: 1200px;
    --radius: 22px;
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

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

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

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 8% 8%, rgba(67, 116, 151, 0.14), transparent 28%), radial-gradient(circle at 88% 28%, rgba(255, 118, 87, 0.08), transparent 25%);
    content: "";
    pointer-events: none;
}

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

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

button {
    color: inherit;
    font: inherit;
}

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

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

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

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

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px 8px 14px 8px;
    background: linear-gradient(145deg, var(--coral), #ff4d75);
    box-shadow: 0 8px 24px rgba(255, 118, 87, 0.28);
    transform: rotate(-3deg);
}

.brand-play {
    font-size: 15px;
    transform: translateX(1px) rotate(3deg);
}

.brand-text {
    display: grid;
    line-height: 1.05;
}

.brand-text strong {
    font-size: 17px;
    letter-spacing: 0.06em;
}

.brand-text small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.2em;
}

.main-nav {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 3px;
}

.nav-link {
    display: grid;
    min-width: 68px;
    min-height: 54px;
    padding: 7px 8px;
    place-items: center;
    border-radius: 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.2;
    transition: 180ms ease;
}

.nav-icon {
    color: #dce5f2;
    font-size: 16px;
}

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

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

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.nav-toggle svg,
.button svg,
.play-orb svg,
.watch-meta svg,
.poster-play svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.button svg,
.play-orb svg,
.poster-play svg {
    fill: currentColor;
    stroke: none;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    min-height: 650px;
    padding-top: 34px;
    gap: 22px;
}

.hero-visual,
.hero-queue {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
}

.hero-visual > img {
    width: 100%;
    height: 100%;
    min-height: 610px;
    object-fit: cover;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 12, 23, 0.97) 0%, rgba(5, 12, 23, 0.72) 47%, rgba(5, 12, 23, 0.08) 80%), linear-gradient(0deg, rgba(5, 12, 23, 0.78), transparent 45%);
}

.hero-copy {
    position: absolute;
    top: 50%;
    left: clamp(28px, 5vw, 70px);
    width: min(600px, calc(100% - 56px));
    transform: translateY(-50%);
}

.signal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffd7ce;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.signal i,
.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 6px rgba(255, 118, 87, 0.14);
}

.hero h1 {
    margin: 14px 0 0;
    font-size: clamp(38px, 5vw, 70px);
    line-height: 1;
    letter-spacing: -0.06em;
}

.hero h1 a {
    background: linear-gradient(110deg, #ffffff 35%, #9ee9dc);
    -webkit-background-clip: text;
    color: transparent;
}

.hero h2 {
    max-width: 560px;
    margin: 18px 0 10px;
    font-size: clamp(23px, 3vw, 36px);
    line-height: 1.25;
}

.hero-copy p {
    display: -webkit-box;
    max-width: 560px;
    margin: 0;
    overflow: hidden;
    color: #c1ccda;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

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

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

.button-primary {
    color: #10131a;
    background: linear-gradient(135deg, var(--coral), var(--gold));
    box-shadow: 0 10px 28px rgba(255, 118, 87, 0.24);
}

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

.hero-meta {
    display: flex;
    margin-top: 26px;
    gap: 9px;
    flex-wrap: wrap;
}

.hero-meta span,
.pill,
.channel-facts span {
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    color: #dce5ef;
    background: rgba(3, 9, 17, 0.44);
    font-size: 12px;
}

.hero-queue {
    display: flex;
    padding: 28px 22px;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, #12243b, #0b1727);
}

.eyebrow {
    color: var(--coral);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.hero-queue h2 {
    margin: 6px 0 30px;
    font-size: 23px;
}

.queue-item {
    display: grid;
    padding: 19px 0;
    grid-template-columns: 42px 1fr;
    align-items: start;
    gap: 10px;
    border-top: 1px solid var(--line);
}

.queue-index {
    color: var(--coral);
    font-family: Georgia, serif;
    font-size: 22px;
}

.queue-item strong,
.queue-item small {
    display: block;
}

.queue-item strong {
    line-height: 1.45;
}

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

.section {
    padding-top: 98px;
    padding-bottom: 14px;
}

.section-tinted,
.short-stage,
.ranking-zone {
    margin-top: 90px;
    padding-top: 76px;
    padding-bottom: 84px;
    border-block: 1px solid var(--line);
    background: #0a1626;
}

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

.section-heading h2 {
    margin: 6px 0 0;
    font-size: clamp(27px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

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

.poster {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: #142239;
    aspect-ratio: 16 / 9;
}

.poster img,
.short-card img,
.anime-poster img,
.topic-card img,
.classic-lead img,
.list-thumb img,
.channel-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 450ms ease;
}

.poster::after,
.short-card a::after,
.channel-feature::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5, 10, 20, 0.64), transparent 55%);
    content: "";
}

.poster:hover img,
.short-card:hover img,
.channel-feature:hover img {
    transform: scale(1.045);
}

.play-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(255, 118, 87, 0.9);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transform: translate(-50%, -50%);
}

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

.video-grid {
    display: grid;
    gap: 26px 20px;
}

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

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

.card-body {
    padding: 15px 3px 0;
}

.meta-row {
    display: flex;
    color: var(--muted);
    font-size: 12px;
    gap: 12px;
}

.meta-row span:first-child {
    color: var(--cyan);
}

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

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

.feature-split {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 26px;
}

.feature-card .poster {
    aspect-ratio: 16 / 10;
}

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

.mini-stack {
    display: grid;
    gap: 16px;
}

.compact-card {
    display: grid;
    padding-bottom: 16px;
    grid-template-columns: 150px 1fr;
    gap: 14px;
    border-bottom: 1px solid var(--line);
}

.compact-card .poster {
    border-radius: 13px;
}

.compact-card .play-orb {
    width: 34px;
    height: 34px;
}

.compact-card .card-body {
    padding-top: 0;
}

.compact-card h3 {
    margin-top: 5px;
    font-size: 15px;
}

.compact-card p {
    -webkit-line-clamp: 1;
}

.cinema-strip {
    display: grid;
    gap: 24px;
}

.cinema-item {
    display: grid;
    padding: 18px;
    grid-template-columns: 90px 300px 1fr;
    align-items: center;
    gap: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(110deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
}

.big-number {
    color: transparent;
    font-family: Georgia, serif;
    font-size: 58px;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.24);
}

.cinema-item .poster {
    border-radius: 14px;
}

.cinema-item h3 {
    margin: 10px 0 4px;
    font-size: 23px;
}

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

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

.category-tile {
    position: relative;
    min-height: 280px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(155deg, color-mix(in srgb, var(--accent) 16%, #112036), #0d1828 66%);
}

.category-tile::after {
    position: absolute;
    right: -42px;
    bottom: -42px;
    width: 150px;
    height: 150px;
    border: 26px solid color-mix(in srgb, var(--accent) 20%, transparent);
    border-radius: 50%;
    content: "";
}

.category-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 16px;
    color: #07101d;
    background: var(--accent);
    font-size: 25px;
}

.category-count {
    position: absolute;
    top: 25px;
    right: 25px;
    color: rgba(255, 255, 255, 0.26);
    font-family: Georgia, serif;
    font-size: 28px;
}

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

.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-go {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

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

.short-card a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 110px 110px 22px 22px;
    aspect-ratio: 4 / 5;
}

.short-index {
    position: absolute;
    top: 16px;
    left: 17px;
    z-index: 2;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    color: #08111f;
    background: var(--gold);
    font-family: Georgia, serif;
    font-weight: 700;
}

.short-copy {
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 2;
}

.short-copy small,
.short-copy strong {
    display: block;
}

.short-copy small {
    color: var(--gold);
}

.short-copy strong {
    margin-top: 3px;
    font-size: 18px;
    line-height: 1.45;
}

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

.anime-card {
    display: grid;
    padding: 14px;
    grid-template-columns: 185px 1fr;
    align-items: center;
    gap: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(125deg, #17243b, #0d1929);
}

.anime-poster {
    position: relative;
    height: 210px;
    overflow: hidden;
    border-radius: 16px;
}

.episode {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 9px;
    border-radius: 7px;
    color: #08111f;
    background: #ff8fb7;
    font-size: 12px;
    font-weight: 800;
}

.anime-card > div:last-child > span {
    color: #ff8fb7;
    font-size: 12px;
}

.anime-card h3 {
    margin: 7px 0;
    font-size: 20px;
}

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

.classic-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
    gap: 22px;
}

.classic-lead {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border-radius: 28px;
}

.classic-lead::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 10, 20, 0.94), rgba(5, 10, 20, 0.16));
    content: "";
}

.classic-lead > div {
    position: absolute;
    top: 50%;
    left: 45px;
    z-index: 2;
    width: min(470px, calc(100% - 90px));
    transform: translateY(-50%);
}

.classic-lead h3 {
    margin: 10px 0;
    font-family: Georgia, "Microsoft YaHei", serif;
    font-size: 34px;
}

.classic-lead p {
    color: #c1ccda;
}

.classic-list {
    display: grid;
    gap: 16px;
}

.classic-list a {
    display: flex;
    padding: 24px;
    align-items: center;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.classic-list a > span {
    color: var(--gold);
    font-size: 30px;
}

.classic-list strong,
.classic-list small {
    display: block;
}

.classic-list small {
    margin-top: 8px;
    color: var(--muted);
}

.schedule-line {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-top: 22px;
}

.schedule-line article {
    position: relative;
    padding-right: 22px;
}

.schedule-line article::before {
    position: absolute;
    top: 47px;
    right: 0;
    left: 0;
    height: 1px;
    background: var(--line);
    content: "";
}

.schedule-line time {
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 27px;
}

.line-dot {
    position: relative;
    z-index: 2;
    display: block;
    width: 12px;
    height: 12px;
    margin: 13px 0 22px;
    border: 3px solid var(--night);
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 1px var(--coral);
}

.schedule-line h3 {
    margin: 0;
    font-size: 18px;
}

.schedule-line p {
    margin: 5px 0;
    color: var(--muted);
    font-size: 13px;
}

.rank-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 65px;
}

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

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

.rank-list li {
    display: grid;
    padding: 15px 8px;
    grid-template-columns: 50px minmax(0, 1fr) 110px 70px 54px;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--line);
}

.rank-no {
    color: var(--coral);
    font-family: Georgia, serif;
    font-size: 22px;
}

.rank-list li > span:not(.rank-no),
.rank-list time {
    color: var(--muted);
    font-size: 13px;
}

.rank-list strong {
    color: var(--gold);
    font-size: 13px;
}

.topic-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 18px;
}

.topic-card {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: var(--radius);
}

.topic-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4, 9, 17, 0.96), rgba(4, 9, 17, 0.05) 72%);
    content: "";
}

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

.topic-card span,
.topic-card a {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 700;
}

.topic-card h3 {
    margin: 7px 0;
    font-size: 22px;
    line-height: 1.35;
}

.topic-card p {
    display: -webkit-box;
    margin: 0 0 13px;
    overflow: hidden;
    color: #b9c6d7;
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.editor-grid article {
    position: relative;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 4px 24px 4px 24px;
    background: var(--surface);
}

.quote-mark {
    position: absolute;
    top: 7px;
    right: 24px;
    color: rgba(255, 255, 255, 0.1);
    font-family: Georgia, serif;
    font-size: 80px;
}

.editor-grid p {
    position: relative;
    min-height: 105px;
    color: #d1d9e4;
}

.editor-grid a,
.editor-grid small {
    display: block;
}

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

.editor-grid small {
    margin-top: 8px;
    color: var(--muted);
}

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

.tags a {
    padding: 11px 17px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #c4cfdd;
    background: rgba(255, 255, 255, 0.025);
}

.tags a:nth-child(3n + 1) {
    border-color: rgba(110, 231, 210, 0.28);
}

.tags a:nth-child(3n + 2) {
    border-color: rgba(255, 118, 87, 0.3);
}

.about-panel {
    display: grid;
    margin-top: 90px;
    padding-top: 50px;
    padding-bottom: 50px;
    grid-template-columns: 250px 1fr;
    gap: 55px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.about-number {
    color: transparent;
    font-family: Georgia, serif;
    font-size: 90px;
    line-height: 1;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.24);
}

.about-panel h2 {
    margin: 8px 0;
    font-size: 34px;
}

.about-panel p {
    color: var(--muted);
}

.app-banner {
    position: relative;
    display: grid;
    margin-top: 95px;
    margin-bottom: 85px;
    padding: 52px 60px;
    grid-template-columns: minmax(0, 1fr) 230px;
    align-items: center;
    gap: 50px;
    overflow: hidden;
    border: 1px solid rgba(110, 231, 210, 0.25);
    border-radius: 32px;
    background: linear-gradient(135deg, #132f3d, #102038 58%, #281a2a);
}

.app-banner::before {
    position: absolute;
    top: -80px;
    right: 130px;
    width: 280px;
    height: 280px;
    border: 50px solid rgba(255, 118, 87, 0.07);
    border-radius: 50%;
    content: "";
}

.app-copy {
    position: relative;
    z-index: 2;
}

.app-copy h2 {
    max-width: 720px;
    margin: 9px 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.2;
}

.app-copy p {
    max-width: 720px;
    color: #b7c7d6;
}

.subscribe-note {
    display: block;
    margin-top: 12px;
    color: var(--muted);
}

.qr-art {
    position: relative;
    z-index: 2;
    display: grid;
    width: 210px;
    height: 210px;
    padding: 20px;
    place-items: center;
    border: 10px solid #ffffff;
    border-radius: 22px;
    color: #08111f;
    background: repeating-linear-gradient(45deg, #ffffff, #ffffff 8px, #e9f7f4 8px, #e9f7f4 16px);
    text-align: center;
}

.qr-pixels {
    font-size: 24px;
    line-height: 1.15;
}

.qr-art strong {
    font-size: 18px;
    letter-spacing: 0.16em;
}

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

.footer-grid {
    display: grid;
    padding-bottom: 55px;
    grid-template-columns: 1.7fr repeat(3, 1fr);
    gap: 45px;
}

.footer-grid h2 {
    margin: 0 0 14px;
    font-size: 15px;
}

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

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

.footer-brand p {
    max-width: 380px;
}

.footer-bottom {
    display: flex;
    padding: 18px 0 25px;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
    color: #738196;
    font-size: 12px;
}

.footer-bottom p {
    margin: 0;
}

.back-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 30;
    display: grid;
    width: 44px;
    height: 44px;
    visibility: hidden;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    opacity: 0;
    background: #17243a;
    cursor: pointer;
    transition: 180ms ease;
}

.back-top.is-visible {
    visibility: visible;
    opacity: 1;
}

.breadcrumb {
    display: flex;
    padding-top: 25px;
    padding-bottom: 21px;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    overflow: hidden;
    white-space: nowrap;
}

.breadcrumb span:last-child {
    overflow: hidden;
    color: #dce4ef;
    text-overflow: ellipsis;
}

.channel-hero {
    position: relative;
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: radial-gradient(circle at 15% 30%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 32%), #0b1727;
}

.channel-hero-grid {
    display: grid;
    min-height: 440px;
    padding-top: 55px;
    padding-bottom: 55px;
    grid-template-columns: minmax(0, 0.8fr) minmax(450px, 1.2fr);
    align-items: center;
    gap: 70px;
}

.channel-symbol {
    display: grid;
    width: 62px;
    height: 62px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 18px;
    color: #07101d;
    background: var(--accent);
    font-size: 28px;
}

.channel-hero h1 {
    margin: 5px 0 12px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
}

.channel-hero p {
    max-width: 530px;
    color: #b7c4d4;
}

.channel-facts {
    display: flex;
    margin-top: 22px;
    gap: 8px;
    flex-wrap: wrap;
}

.channel-feature {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 10;
}

.channel-feature > div {
    position: absolute;
    right: 25px;
    bottom: 20px;
    left: 25px;
    z-index: 2;
}

.channel-feature small,
.channel-feature strong {
    display: block;
}

.channel-feature small {
    color: var(--accent);
}

.channel-feature strong {
    margin-top: 4px;
    font-size: 20px;
}

.channel-list {
    display: grid;
    gap: 2px;
}

.channel-list article {
    display: grid;
    padding: 23px 12px;
    grid-template-columns: 54px 230px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--line);
}

.list-no {
    color: rgba(255, 255, 255, 0.27);
    font-family: Georgia, serif;
    font-size: 27px;
}

.list-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 13px;
    aspect-ratio: 16 / 9;
}

.channel-list h2 {
    margin: 5px 0;
    font-size: 20px;
}

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

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

.channel-hot {
    padding-bottom: 95px;
}

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

.hot-row > a {
    display: grid;
    padding: 24px;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.hot-rank {
    color: var(--coral);
    font-family: Georgia, serif;
    font-size: 22px;
}

.hot-row strong,
.hot-row small,
.hot-row a > span:last-child {
    display: block;
}

.hot-row small {
    margin-top: 8px;
    color: var(--muted);
}

.hot-row a > span:last-child {
    grid-column: 2;
    color: var(--cyan);
    font-size: 13px;
}

.back-home {
    margin-top: 26px;
}

.watch-page {
    padding-bottom: 90px;
}

.watch-header {
    display: flex;
    padding: 20px 0 27px;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.watch-header h1 {
    max-width: 820px;
    margin: 7px 0 0;
    font-size: clamp(30px, 4.5vw, 52px);
    line-height: 1.16;
}

.watch-meta {
    display: flex;
    min-width: 190px;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    color: var(--muted);
    font-size: 13px;
}

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

.watch-meta svg {
    width: 15px;
}

.player-shell {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 25px;
    background: #02050a;
    box-shadow: var(--shadow);
}

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

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

.poster-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 84px;
    height: 84px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 118, 87, 0.9);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.poster-play svg {
    width: 34px;
}

.poster-play.is-started {
    opacity: 0.2;
}

.player-status {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    padding: 7px 11px;
    align-items: center;
    gap: 9px;
    border-radius: 9px;
    background: rgba(4, 9, 16, 0.72);
    font-size: 12px;
}

.custom-controls {
    display: grid;
    min-height: 58px;
    padding: 10px 17px;
    grid-template-columns: 28px auto 1fr 28px 28px;
    align-items: center;
    gap: 13px;
    color: #bec9d6;
    background: #080d15;
    font-size: 12px;
}

.custom-controls button {
    padding: 0;
    border: 0;
    background: none;
}

.progress {
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: #263142;
}

.progress i {
    display: block;
    width: 12%;
    height: 100%;
    background: var(--coral);
}

.watch-summary {
    display: grid;
    padding-top: 55px;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 65px;
}

.summary-main h2,
.content-highlights h2,
.ending-note h2 {
    margin: 8px 0 14px;
    font-size: clamp(25px, 3.5vw, 38px);
    line-height: 1.25;
}

.summary-main p,
.content-highlights > div:first-child p {
    color: #b4c0cf;
}

.watch-note {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.note-icon {
    color: var(--cyan);
    font-size: 34px;
}

.watch-note h2 {
    margin: 10px 0 7px;
    font-size: 20px;
}

.watch-note p {
    color: var(--muted);
    font-size: 14px;
}

.favorite-button {
    width: 100%;
    min-height: 43px;
    border: 1px solid rgba(255, 118, 87, 0.35);
    border-radius: 12px;
    background: rgba(255, 118, 87, 0.08);
    cursor: pointer;
}

.favorite-button.is-favorite {
    color: #08111f;
    background: var(--coral);
}

.scene-gallery {
    padding-top: 85px;
}

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

.scene-grid figure {
    margin: 0;
}

.scene-grid img {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
    aspect-ratio: 16 / 10;
}

.scene-grid figcaption {
    display: grid;
    padding-top: 13px;
    grid-template-columns: 35px 1fr;
    gap: 10px;
}

.scene-grid figcaption span {
    color: var(--coral);
    font-family: Georgia, serif;
    font-size: 20px;
}

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

.content-highlights {
    display: grid;
    margin-top: 90px;
    padding: 50px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
    gap: 60px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(145deg, #13243a, #0b1727);
}

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

.highlight-list article {
    display: grid;
    padding: 15px 0;
    grid-template-columns: 42px 100px 1fr;
    align-items: start;
    gap: 10px;
    border-bottom: 1px solid var(--line);
}

.highlight-list span {
    color: var(--gold);
    font-family: Georgia, serif;
}

.highlight-list h3,
.highlight-list p {
    margin: 0;
    font-size: 14px;
}

.highlight-list p {
    color: var(--muted);
}

.ending-note {
    margin: 75px auto 0;
    max-width: 800px;
    text-align: center;
}

.ending-note > span {
    color: var(--coral);
    font-size: 12px;
    letter-spacing: 0.18em;
}

.ending-note p {
    color: var(--muted);
}

.episode-nav {
    display: grid;
    margin-top: 65px;
    padding: 22px 0;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.episode-nav a small,
.episode-nav a strong {
    display: block;
}

.episode-nav a small {
    color: var(--muted);
}

.episode-nav a strong {
    margin-top: 4px;
}

.episode-nav .next {
    text-align: right;
}

.channel-return {
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--cyan);
    font-size: 13px;
}

.nav-edge {
    color: #6f7e91;
    font-size: 13px;
}

.related-section {
    padding-top: 82px;
}

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

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