:root {
    --ink: #eaf2ff;
    --muted: #9dafc6;
    --paper: #07111f;
    --panel: #0c192b;
    --panel-2: #11233a;
    --line: rgba(176, 199, 228, 0.16);
    --accent: #ff6b4a;
    --accent-2: #31d6c4;
    --gold: #ffc85b;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--paper);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 15% 5%, rgba(49, 214, 196, 0.11), transparent 28%), radial-gradient(circle at 86% 18%, rgba(255, 107, 74, 0.12), transparent 26%);
    content: "";
    pointer-events: none;
}

img,
video {
    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;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 17, 31, 0.9);
    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: 40px;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 14px 14px 14px 4px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), #ff9278);
    box-shadow: 0 9px 25px rgba(255, 107, 74, 0.3);
    font-size: 15px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-copy strong {
    font-size: 1.18rem;
    letter-spacing: 0.04em;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.75rem;
}

.main-nav {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    gap: 3px;
}

.main-nav a {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 5px;
    padding: 7px 9px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 0.88rem;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
    background: var(--panel-2);
}

.main-nav a.active {
    box-shadow: inset 0 -2px var(--accent);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    padding: 10px;
    border: 0;
    color: #fff;
    background: transparent;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px 0;
    background: currentColor;
}

.hero-shell {
    padding: 38px 0 36px;
}

.hero {
    position: relative;
    display: grid;
    min-height: 540px;
    grid-template-columns: 0.86fr 1.14fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: linear-gradient(145deg, #0e2036, #081321);
    box-shadow: var(--shadow);
}

.hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    padding: 58px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.eyebrow,
.section-kicker {
    color: var(--accent-2);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 10px 0 0;
    font-size: clamp(3rem, 7vw, 6.6rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero h1 a {
    background: linear-gradient(120deg, #fff, #90f7e9);
    background-clip: text;
    color: transparent;
}

.hero h2 {
    margin: 28px 0 8px;
    font-size: 1.55rem;
}

.hero p {
    margin: 0;
    color: #b8c9dd;
}

.hero-actions {
    display: flex;
    margin-top: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.primary-button,
.ghost-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
}

.primary-button {
    color: #fff;
    background: var(--accent);
    box-shadow: 0 10px 24px rgba(255, 107, 74, 0.24);
}

.ghost-button {
    color: #d8e7fa;
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.hero-facts {
    display: flex;
    margin-top: 26px;
    flex-wrap: wrap;
    gap: 9px;
}

.hero-facts span,
.chip {
    padding: 4px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #c4d3e6;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.76rem;
}

.hero-media {
    position: relative;
    min-height: 540px;
    overflow: hidden;
}

.hero-media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0d1f35 0%, transparent 42%), linear-gradient(0deg, rgba(7, 17, 31, 0.48), transparent 45%);
    content: "";
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-play,
.play-orb {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 107, 74, 0.94);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.4);
}

.hero-play {
    top: 50%;
    left: 56%;
    width: 78px;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
}

.hero-caption {
    position: absolute;
    right: 24px;
    bottom: 22px;
    z-index: 2;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(7, 17, 31, 0.78);
    font-size: 0.8rem;
}

.section-block {
    margin-top: 92px;
}

.section-heading {
    display: flex;
    margin-bottom: 28px;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.section-heading h2,
.ranking-layout h2,
.tag-cloud-section h2 {
    margin: 4px 0 0;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.2;
}

.section-heading p,
.ranking-layout > div > p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
}

.section-heading > a,
.text-link {
    color: var(--accent-2);
    font-weight: 700;
}

.editorial-grid,
.poster-grid,
.mosaic-grid,
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.video-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
    transition: transform 180ms ease, border-color 180ms ease;
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: rgba(49, 214, 196, 0.42);
}

.video-cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #14253a;
}

.video-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.video-card:hover img {
    transform: scale(1.04);
}

.play-orb {
    top: 50%;
    left: 50%;
    width: 48px;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    opacity: 0.9;
}

.duration,
.quality-badge {
    position: absolute;
    z-index: 2;
    padding: 3px 7px;
    border-radius: 7px;
    color: #fff;
    background: rgba(4, 10, 18, 0.82);
    font-size: 0.75rem;
    font-weight: 800;
}

.duration {
    right: 10px;
    bottom: 10px;
}

.video-card-body {
    padding: 17px;
}

.meta-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--muted);
    font-size: 0.75rem;
}

.video-card h3 {
    margin: 12px 0 8px;
    font-size: 1.05rem;
    line-height: 1.45;
}

.video-card h3 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.video-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--muted);
    font-size: 0.87rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.soft-panel,
.upcoming-panel {
    padding: 78px 0;
    border-block: 1px solid var(--line);
    background: rgba(17, 35, 58, 0.45);
}

.spotlight-split {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 58px;
}

.spotlight-copy h2 {
    margin: 5px 0 14px;
    font-size: 2.5rem;
}

.spotlight-copy p {
    color: var(--muted);
}

.mini-stack {
    display: grid;
    gap: 10px;
}

.mini-stack a {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(90deg, var(--panel), transparent);
}

.mini-stack span {
    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: 190px;
    padding: 24px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--panel);
}

.category-tile::after {
    position: absolute;
    right: -30px;
    bottom: -55px;
    width: 140px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--tile, var(--accent));
    content: "";
    filter: blur(45px);
    opacity: 0.28;
}

.category-tile.cyan { --tile: #31d6c4; }
.category-tile.violet { --tile: #a875ff; }
.category-tile.gold { --tile: #ffc85b; }
.category-tile.green { --tile: #65d68b; }
.category-tile.pink { --tile: #ff72af; }
.category-tile.blue { --tile: #5e9dff; }
.category-tile.orange { --tile: #ff9a54; }

.category-icon {
    font-size: 1.8rem;
}

.category-tile strong {
    margin: 14px 0 4px;
    font-size: 1.22rem;
}

.category-tile > span:last-child {
    display: -webkit-box;
    z-index: 1;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.86rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.rail-section,
.gallery-panel {
    padding: 78px 0;
    background: linear-gradient(135deg, #132843, #24172c);
}

.horizontal-rail {
    display: grid;
    grid-template-columns: repeat(5, minmax(210px, 1fr));
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-color: var(--accent) transparent;
}

.horizontal-rail .video-card {
    background: rgba(7, 17, 31, 0.72);
}

.inverse p,
.inverse > a {
    color: #c6d6eb;
}

.mosaic-grid .video-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.mosaic-grid .video-card:first-child .video-cover {
    aspect-ratio: 16 / 10;
}

.watch-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
}

.watch-timeline a {
    position: relative;
    display: flex;
    padding: 30px 25px;
    flex-direction: column;
    border-right: 1px solid var(--line);
}

.watch-timeline a::before {
    position: absolute;
    top: -7px;
    left: 25px;
    width: 13px;
    aspect-ratio: 1;
    border: 3px solid var(--paper);
    border-radius: 50%;
    background: var(--accent-2);
    content: "";
}

.watch-timeline time {
    color: var(--accent-2);
    font-weight: 800;
}

.watch-timeline strong {
    margin: 5px 0;
    font-size: 1.08rem;
}

.watch-timeline span {
    color: var(--muted);
}

.date-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.date-strip div {
    display: flex;
    padding: 24px;
    flex-direction: column;
    border-left: 3px solid var(--accent);
    border-radius: 8px 18px 18px 8px;
    background: var(--panel);
}

.date-strip span,
.date-strip small {
    color: var(--muted);
}

.date-strip strong {
    margin: 6px 0;
}

.ranking-layout {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 52px;
}

.ranking-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ranking-list li {
    display: grid;
    min-height: 67px;
    grid-template-columns: 50px 1fr auto;
    align-items: center;
    gap: 13px;
    border-bottom: 1px solid var(--line);
}

.rank-no,
.ranking-list > li > span {
    color: var(--accent);
    font-size: 1.3rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.ranking-list div {
    display: flex;
    flex-direction: column;
}

.ranking-list small {
    color: var(--muted);
}

.ranking-list > li > strong {
    color: var(--gold);
    font-size: 0.85rem;
}

.topic-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.925fr 0.925fr;
    gap: 20px;
}

.topic-card {
    position: relative;
    min-height: 390px;
    padding: 26px;
    overflow: hidden;
    border-radius: 26px;
    background: #122239;
}

.topic-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
}

.topic-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #07111f, transparent 75%);
    content: "";
}

.topic-card span,
.topic-card h3,
.topic-card p {
    position: relative;
    z-index: 2;
}

.topic-card span {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--accent);
    font-size: 0.76rem;
}

.topic-card h3 {
    margin-top: 190px;
    margin-bottom: 8px;
    font-size: 1.45rem;
}

.topic-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #c6d3e4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.editor-note,
.app-panel {
    display: grid;
    padding: 38px;
    align-items: center;
    gap: 28px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(120deg, var(--panel-2), var(--panel));
}

.editor-note {
    grid-template-columns: auto 1fr auto;
}

.editor-avatar {
    display: grid;
    width: 78px;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    color: #07111f;
    background: var(--accent-2);
    font-size: 1.5rem;
    font-weight: 900;
}

.editor-note h2,
.about-panel h2,
.app-panel h2 {
    margin: 5px 0 8px;
    line-height: 1.25;
}

.editor-note p,
.about-panel p,
.app-panel p {
    margin: 0;
    color: var(--muted);
}

.tag-cloud-section {
    padding: 75px 0;
    background: linear-gradient(90deg, rgba(255, 107, 74, 0.08), rgba(49, 214, 196, 0.08));
}

.tag-cloud {
    display: flex;
    margin-top: 25px;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-cloud a {
    padding: 10px 17px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
}

.about-panel {
    display: grid;
    grid-template-columns: 0.6fr 1.4fr;
    gap: 60px;
}

.about-copy {
    columns: 2;
    column-gap: 35px;
}

.about-copy p + p {
    margin-top: 15px;
}

.app-panel {
    grid-template-columns: 1fr auto;
    margin-bottom: 92px;
    background: linear-gradient(120deg, #17334a, #321c37);
}

.app-copy {
    max-width: 730px;
}

.subscribe-button {
    margin-top: 22px;
}

.subscribe-status {
    display: inline-block;
    margin-left: 12px;
    color: var(--accent-2);
}

.brand-code {
    display: grid;
    width: 160px;
    aspect-ratio: 1;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 8px;
    padding: 16px;
    border: 7px solid #fff;
    border-radius: 22px;
    color: #07111f;
    background: #fff;
}

.brand-code span,
.brand-code strong,
.brand-code i {
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: var(--paper);
}

.brand-code span,
.brand-code strong {
    color: #fff;
    font-style: normal;
}

.brand-code span {
    grid-column: span 2;
}

.brand-code strong {
    grid-column: span 2;
}

.brand-code i:nth-of-type(2),
.brand-code i:nth-of-type(3) {
    background: var(--accent);
}

.site-footer {
    padding: 62px 0 25px;
    border-top: 1px solid var(--line);
    background: #050c16;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 0.7fr 1.1fr;
    gap: 44px;
}

.footer-grid h2 {
    margin: 0 0 13px;
    font-size: 0.98rem;
}

.footer-grid p,
.footer-grid a {
    display: block;
    margin: 7px 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.footer-brand p {
    max-width: 370px;
    margin-top: 18px;
}

.footer-bottom {
    display: flex;
    margin-top: 38px;
    padding-top: 20px;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.82rem;
}

.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 30;
    width: 44px;
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: #fff;
    background: var(--panel-2);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.back-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.breadcrumb {
    display: flex;
    padding-top: 28px;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 0.86rem;
}

.breadcrumb a:hover {
    color: var(--accent-2);
}

.channel-hero {
    margin-top: 25px;
    padding: 56px 0;
    border-block: 1px solid var(--line);
    background: linear-gradient(110deg, #10233a, #0a1525);
}

.channel-hero.coral { background: linear-gradient(110deg, #3b1b22, #0a1525); }
.channel-hero.cyan { background: linear-gradient(110deg, #123639, #0a1525); }
.channel-hero.violet { background: linear-gradient(110deg, #271b40, #0a1525); }
.channel-hero.gold { background: linear-gradient(110deg, #403316, #0a1525); }
.channel-hero.green { background: linear-gradient(110deg, #163b2a, #0a1525); }
.channel-hero.pink { background: linear-gradient(110deg, #401d31, #0a1525); }
.channel-hero.blue { background: linear-gradient(110deg, #192f55, #0a1525); }
.channel-hero.orange { background: linear-gradient(110deg, #44271a, #0a1525); }

.channel-hero-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 34px;
}

.channel-icon {
    display: grid;
    width: 94px;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.07);
    font-size: 2.5rem;
}

.channel-hero h1 {
    margin: 4px 0 8px;
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.channel-hero p {
    max-width: 760px;
    margin: 0;
    color: #c0cfe0;
}

.channel-feature {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 42px;
}

.channel-feature-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 26px;
}

.channel-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.channel-feature h2 {
    margin: 14px 0;
    font-size: 2.2rem;
}

.channel-feature p {
    color: var(--muted);
}

.fact-list,
.video-meta {
    margin: 20px 0;
}

.fact-list div,
.video-meta div {
    display: flex;
    padding: 8px 0;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.fact-list dt,
.video-meta dt {
    color: var(--muted);
}

.fact-list dd,
.video-meta dd {
    margin: 0;
}

.five-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.five-grid .video-card-body p {
    -webkit-line-clamp: 2;
}

.compact li {
    min-height: 61px;
}

.video-title-block {
    display: grid;
    padding-top: 42px;
    padding-bottom: 36px;
    grid-template-columns: 1fr 310px;
    gap: 60px;
}

.video-title-block h1 {
    margin: 13px 0 12px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.16;
}

.video-title-block > div > p {
    max-width: 760px;
    color: var(--muted);
}

.video-meta {
    margin: 0;
}

.player-shell {
    padding: 25px 0 48px;
    background: #03070c;
}

.player-heading {
    display: flex;
    padding: 12px 0 17px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.player-heading h2 {
    margin: 0;
    font-size: 1.08rem;
}

.favorite-button {
    padding: 7px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    background: transparent;
    cursor: pointer;
}

.favorite-button.saved {
    color: var(--accent);
    border-color: var(--accent);
}

.video-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    background: #000;
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.quality-badge {
    top: 15px;
    right: 15px;
}

.watch-note {
    margin: 15px 0 0;
    color: #8fa2b8;
    font-size: 0.84rem;
}

.article-copy {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 70px;
}

.copy-main h2 {
    margin: 5px 0 17px;
    font-size: 2.1rem;
}

.copy-main h3 {
    margin: 32px 0 10px;
}

.copy-main p,
.highlight-list {
    color: #b6c7da;
}

.highlight-list {
    padding-left: 20px;
}

.content-facts {
    align-self: start;
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--panel);
}

.content-facts h2 {
    margin-top: 0;
}

.content-facts p {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
}

.content-facts span {
    color: var(--ink);
}

.content-facts .ghost-button {
    width: 100%;
    margin-top: 12px;
}

.scene-gallery {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr 0.75fr 1.25fr;
    gap: 12px;
}

.scene-gallery figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    background: var(--panel);
}

.scene-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scene-gallery figcaption {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(3, 8, 14, 0.76);
    font-size: 0.78rem;
}

.end-note {
    display: flex;
    padding: 30px;
    align-items: center;
    gap: 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--panel);
}

.end-note > span {
    color: var(--accent);
    font-size: 2rem;
}

.end-note h2,
.end-note p {
    margin: 0;
}

.end-note p {
    color: var(--muted);
}

.adjacent-nav {
    display: grid;
    margin-top: 30px;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 15px;
}

.adjacent-nav > :last-child {
    text-align: right;
}

.adjacent-nav a,
.adjacent-nav span {
    color: var(--muted);
    font-size: 0.86rem;
}

.adjacent-nav .back-channel {
    padding: 8px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
}

.related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 90px;
}
