:root {
    --bg: #0d0e12;
    --surface: #15171d;
    --surface-2: #1d2028;
    --text: #f7f7f8;
    --muted: #a8acb8;
    --line: rgba(255, 255, 255, 0.09);
    --red: #ff3b4d;
    --red-dark: #d91f34;
    --yellow: #ffd166;
    --cyan: #69d8df;
    --radius: 18px;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

img {
    display: block;
    max-width: 100%;
    background: #242630;
    object-fit: cover;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

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

.container {
    width: calc(100% - 40px);
    max-width: 1320px;
    margin-left: auto;
    margin-right: 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;
}

.ui-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

.ui-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

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

.brand {
    flex: 0 0 auto;
}

.brand img,
.footer-brand img {
    width: 152px;
    height: auto;
    background: transparent;
}

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

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

.nav-link .ui-icon {
    width: 18px;
    height: 18px;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 59, 77, 0.13);
    color: #fff;
}

.header-search {
    position: relative;
    display: flex;
    width: 210px;
    flex: 0 0 auto;
}

.header-search input {
    width: 100%;
    height: 42px;
    padding: 0 42px 0 14px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #20222a;
    color: #fff;
    outline: none;
}

.header-search input:focus {
    border-color: var(--red);
}

.header-search button {
    position: absolute;
    top: 0;
    right: 0;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: transparent;
}

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

.hero-shell {
    position: relative;
    overflow: hidden;
    padding: 58px 0 64px;
    background: radial-gradient(circle at 78% 20%, rgba(255, 59, 77, 0.27), transparent 34%), linear-gradient(135deg, #11131a, #0a0b0e);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: 56px;
}

.hero-badge,
.eyebrow {
    display: inline-block;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 10px 0 4px;
    font-size: clamp(46px, 7vw, 92px);
    line-height: 1;
    letter-spacing: -0.07em;
}

.hero-copy h1 a {
    background: linear-gradient(100deg, #fff 20%, #ff6675 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 600px;
    margin: 14px 0 30px;
    color: #d4d6dc;
    font-size: 19px;
}

.hero-copy h2 {
    margin: 0 0 8px;
    font-size: 30px;
}

.hero-copy > p:not(.hero-lead) {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
}

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

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

.button.primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 12px 28px rgba(255, 59, 77, 0.24);
}

.button.primary:hover {
    background: var(--red-dark);
}

.button.secondary,
.button.ghost {
    border-color: var(--line);
    background: #22242c;
    color: #fff;
}

.button.ghost {
    background: transparent;
}

.hero-poster {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    box-shadow: var(--shadow);
    transform: rotate(1.5deg);
}

.hero-poster::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.65));
}

.hero-poster img {
    width: 100%;
    height: 100%;
}

.hero-score {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 1;
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--yellow);
    color: #19120a;
    font-weight: 900;
}

.section-pad {
    padding: 72px 0;
}

.surface {
    background: var(--surface);
}

.color-band {
    background: linear-gradient(135deg, #1b1e38, #25152d);
}

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

.section-heading h2,
.showcase-copy h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 0;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.2;
}

.section-heading h2 .ui-icon,
.showcase-copy h2 .ui-icon {
    color: var(--red);
}

.text-link,
.sports-copy > a,
.documentary-panel a,
.short-guide a,
.watch-note a {
    color: #ff8490;
    font-weight: 800;
}

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

.channel-item {
    min-height: 124px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(145deg, #1a1c23, #121319);
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.channel-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 59, 77, 0.55);
}

.channel-item .ui-icon {
    width: 30px;
    height: 30px;
    color: var(--red);
}

.channel-item span:last-child {
    color: var(--muted);
    font-size: 12px;
}

.card-grid {
    display: grid;
    gap: 22px;
}

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

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

.video-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.poster-link img {
    width: 100%;
    height: 100%;
    transition: transform 0.35s ease;
}

.video-card:hover .poster-link img {
    transform: scale(1.045);
}

.duration {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 3px 8px;
    border-radius: 7px;
    background: rgba(0, 0, 0, 0.72);
    font-size: 12px;
}

.play-mark {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    background: rgba(0, 0, 0, 0.24);
    transition: opacity 0.25s ease;
}

.play-mark .ui-icon {
    width: 52px;
    height: 52px;
    padding: 12px;
    border-radius: 50%;
    background: var(--red);
}

.video-card:hover .play-mark {
    opacity: 1;
}

.card-body {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    padding: 18px;
}

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

.card-kicker strong {
    color: var(--yellow);
}

.video-card h3 {
    margin: 8px 0 6px;
    font-size: 20px;
    line-height: 1.35;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.rank-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 26px;
}

.rank-feature .video-card {
    height: 100%;
}

.rank-feature .poster-link {
    aspect-ratio: 16 / 8;
}

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

.rank-list li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 38px;
    align-items: center;
    gap: 12px;
    min-height: 78px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #1d1f26;
}

.rank-no {
    color: var(--red);
    font-size: 22px;
    font-weight: 900;
}

.rank-list a {
    min-width: 0;
}

.rank-list strong,
.rank-list small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.rank-list b {
    color: var(--yellow);
}

.split-showcase {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 36px;
    align-items: center;
}

.showcase-copy p {
    color: var(--muted);
}

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

.video-card.horizontal {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
}

.video-card.horizontal .poster-link {
    height: 100%;
    aspect-ratio: auto;
}

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

.video-card.wide .poster-link {
    aspect-ratio: 16 / 7;
}

.story-rail {
    display: grid;
    grid-template-columns: 1fr 1fr 0.62fr;
    gap: 20px;
}

.rail-note {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius);
    background: radial-gradient(circle at top right, rgba(105, 216, 223, 0.35), transparent 55%), #20233f;
}

.rail-note .ui-icon {
    width: 44px;
    height: 44px;
    margin-bottom: auto;
    color: var(--cyan);
}

.rail-note strong {
    font-size: 24px;
}

.rail-note span:last-child {
    color: #bec2d8;
}

.documentary-panel {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    border-radius: 22px;
}

.documentary-panel::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(transparent 25%, rgba(0, 0, 0, 0.92));
}

.documentary-panel img {
    width: 100%;
    height: 100%;
}

.documentary-panel > div {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: 28px;
}

.documentary-panel span {
    color: var(--cyan);
    font-weight: 800;
}

.documentary-panel h3 {
    margin: 5px 0;
    font-size: 27px;
}

.documentary-panel p {
    margin: 0 0 8px;
    color: #d4d6db;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.poster-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 0.8fr)) minmax(240px, 1fr);
    gap: 22px;
}

.video-card.portrait .poster-link {
    aspect-ratio: 3 / 4;
}

.short-guide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, #29202a, #191b22);
}

.short-guide span {
    color: var(--red);
    font-weight: 800;
}

.short-guide h3 {
    margin: 12px 0;
    font-size: 30px;
    line-height: 1.25;
}

.short-guide p {
    color: var(--muted);
}

.family-layout,
.sports-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 420px;
    overflow: hidden;
    border-radius: 24px;
}

.family-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(30px, 5vw, 66px);
    background: #ffe3a3;
    color: #241a0c;
}

.family-card > .ui-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    color: #df4a34;
}

.family-card .eyebrow {
    color: #ae341f;
}

.family-card h2,
.sports-copy h2 {
    margin: 7px 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
}

.family-layout > img,
.sports-visual img {
    width: 100%;
    height: 100%;
}

.sports-visual {
    position: relative;
}

.live-pill {
    position: absolute;
    left: 20px;
    bottom: 20px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--red);
    font-weight: 900;
}

.sports-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(30px, 5vw, 66px);
    background: #20242c;
}

.sports-copy > .ui-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    color: var(--red);
}

.sports-copy p {
    color: var(--muted);
}

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

.mood-grid a {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: radial-gradient(circle at top right, rgba(255, 59, 77, 0.18), transparent 50%), var(--surface-2);
}

.mood-grid strong {
    font-size: 19px;
}

.mood-grid span {
    color: var(--muted);
}

.notes-layout,
.newsletter-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.notes-layout > div {
    max-width: 820px;
}

.notes-layout h2,
.newsletter-box h2 {
    margin: 6px 0;
    font-size: 30px;
}

.notes-layout p,
.newsletter-box p {
    margin: 0;
    color: #c4c7d0;
}

.newsletter-box {
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface-2);
}

.newsletter-box > .ui-icon {
    width: 48px;
    height: 48px;
    color: var(--red);
}

.newsletter-box > div {
    flex: 1;
}

.newsletter-box form {
    display: flex;
    width: min(440px, 100%);
}

.newsletter-box input,
.search-large input {
    min-width: 0;
    flex: 1;
    height: 50px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 13px 0 0 13px;
    background: #111218;
    color: #fff;
    outline: none;
}

.newsletter-box button,
.search-large button {
    height: 50px;
    padding: 0 20px;
    border: 0;
    border-radius: 0 13px 13px 0;
    background: var(--red);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.site-footer {
    padding: 58px 0 24px;
    border-top: 1px solid var(--line);
    background: #090a0d;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.9fr 1.2fr;
    gap: 34px;
}

.footer-brand p,
.footer-note p {
    color: var(--muted);
}

.site-footer h2 {
    margin: 0 0 14px;
    font-size: 16px;
}

.site-footer a {
    display: block;
    margin: 8px 0;
    color: var(--muted);
}

.copyright {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: #777b86;
    font-size: 13px;
}

.page-hero,
.search-hero {
    background: radial-gradient(circle at 80% 20%, rgba(255, 59, 77, 0.18), transparent 32%), #111319;
}

.page-hero.compact {
    padding: 28px 0 58px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb i {
    color: #5e626d;
    font-style: normal;
}

.page-title-row {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.page-title-row > .ui-icon {
    width: 58px;
    height: 58px;
    padding: 13px;
    border-radius: 17px;
    background: var(--red);
}

.page-hero h1,
.search-hero h1 {
    margin: 4px 0 8px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.15;
}

.page-hero p,
.search-hero p {
    max-width: 850px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 26px;
}

.filter-bar button {
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.filter-bar button.active {
    border-color: var(--red);
    background: var(--red);
}

.filter-bar span {
    margin-left: auto;
    color: var(--muted);
}

.note-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 60px;
    align-items: start;
}

.note-grid h2 {
    margin: 6px 0 0;
    font-size: 30px;
}

.note-grid > p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 28px 0 64px;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    filter: blur(28px);
    transform: scale(1.1);
}

.detail-backdrop::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, #0d0e12 20%, rgba(13, 14, 18, 0.55), #0d0e12);
}

.detail-backdrop img {
    width: 100%;
    height: 100%;
}

.detail-hero .container {
    position: relative;
    z-index: 1;
}

.detail-grid {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 46px;
    align-items: center;
}

.detail-poster {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.detail-copy h1 {
    margin: 8px 0 12px;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.1;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-row span {
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 13px;
}

.detail-summary {
    max-width: 820px;
    color: #d2d4da;
    font-size: 18px;
}

.meta-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
}

.meta-list div {
    display: grid;
    grid-template-columns: 95px 1fr;
    gap: 8px;
}

.meta-list dt {
    color: var(--muted);
}

.meta-list dd {
    margin: 0;
}

.detail-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
}

.score-box {
    color: var(--yellow);
    font-size: 28px;
}

.score-box small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 60px;
}

.article-layout article {
    max-width: 820px;
}

.article-layout h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.article-layout h2:not(:first-child) {
    margin-top: 38px;
}

.article-layout p {
    color: #c1c4cc;
    font-size: 17px;
}

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

.watch-note > .ui-icon {
    width: 38px;
    height: 38px;
    color: var(--red);
}

.watch-note h2 {
    margin: 12px 0 4px;
    font-size: 22px;
}

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

.pager-section {
    padding: 0 0 72px;
}

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

.pager-grid a {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

.pager-grid a:last-child {
    text-align: right;
}

.pager-grid span {
    color: var(--muted);
    font-size: 13px;
}

.pager-grid strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 100;
    max-width: 360px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #fff;
    color: #111;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.preview-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.search-hero {
    padding: 28px 0 68px;
}

.search-large {
    display: flex;
    max-width: 780px;
    margin-top: 28px;
}

.search-large button {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.search-summary h2 {
    margin: 0;
}

.search-summary span {
    color: var(--muted);
}

.empty-state {
    padding: 70px 20px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    text-align: center;
}

.empty-state .ui-icon {
    width: 50px;
    height: 50px;
    color: var(--red);
}

.prose-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 60px;
}

.prose-main > section {
    position: relative;
    padding: 0 0 32px 62px;
    border-left: 1px solid var(--line);
}

.step-no {
    position: absolute;
    top: 0;
    left: -22px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--red);
    font-size: 13px;
    font-weight: 900;
}

.prose-main h2 {
    margin: 0 0 8px;
    font-size: 27px;
}

.prose-main p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.prose-aside {
    align-self: start;
    overflow: hidden;
    padding-bottom: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
}

.prose-aside img {
    width: 100%;
    aspect-ratio: 16 / 10;
}

.prose-aside h2,
.prose-aside a {
    margin-right: 22px;
    margin-left: 22px;
}

.prose-aside h2 {
    margin-top: 20px;
    font-size: 19px;
}

.prose-aside a {
    display: block;
    margin-top: 9px;
    color: #ff8490;
}

.contact-form {
    display: grid;
    margin-top: 24px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.contact-form label {
    margin: 14px 0 6px;
    font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #20222a;
    color: #fff;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .button {
    justify-self: start;
    margin-top: 18px;
}

.form-result {
    margin-top: 12px;
    color: var(--cyan);
}

.not-found {
    min-height: 70vh;
    display: grid;
    align-items: center;
    background: radial-gradient(circle at center, rgba(255, 59, 77, 0.22), transparent 38%);
}

.not-found-inner {
    max-width: 700px;
    padding-top: 70px;
    padding-bottom: 70px;
    text-align: center;
}

.four-zero-four {
    color: transparent;
    font-size: clamp(110px, 22vw, 250px);
    font-weight: 900;
    line-height: 0.8;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2);
}

.not-found h1 {
    margin: 10px 0;
    font-size: 48px;
}

.not-found p {
    color: var(--muted);
    font-size: 18px;
}

.not-found .hero-actions {
    justify-content: center;
}

@media (max-width: 1180px) {
    .main-nav {
        position: absolute;
        top: 76px;
        right: 20px;
        left: 20px;
        display: none;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: #15171d;
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: grid;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .header-search {
        width: 240px;
    }

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

@media (max-width: 900px) {
    .section-pad {
        padding: 56px 0;
    }

    .hero-grid,
    .rank-layout,
    .split-showcase,
    .note-grid,
    .detail-grid,
    .article-layout,
    .prose-grid {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        max-height: 480px;
    }

    .card-grid.four,
    .card-grid.three,
    .mood-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .rail-note {
        grid-column: 1 / -1;
        min-height: 210px;
    }

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

    .detail-grid {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 28px;
    }

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

    .prose-grid {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 32px;
    }

    .newsletter-box {
        flex-wrap: wrap;
    }

    .newsletter-box form {
        width: 100%;
    }
}

@media (max-width: 680px) {
    .container {
        width: calc(100% - 40px);
    }

    .header-inner {
        min-height: 68px;
        gap: 10px;
    }

    .brand img {
        width: 130px;
    }

    .header-search {
        display: none;
    }

    .main-nav {
        top: 68px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-shell {
        padding: 42px 0 48px;
    }

    .hero-grid {
        gap: 34px;
    }

    .hero-copy h1 {
        font-size: 52px;
    }

    .hero-lead {
        font-size: 17px;
    }

    .section-heading {
        align-items: flex-start;
    }

    .channel-grid,
    .card-grid.four,
    .card-grid.three,
    .duo-grid,
    .documentary-grid,
    .story-rail,
    .poster-grid,
    .family-layout,
    .sports-layout,
    .mood-grid,
    .footer-grid,
    .detail-grid,
    .article-layout,
    .prose-grid,
    .pager-grid {
        grid-template-columns: 1fr;
    }

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

    .rank-list li {
        grid-template-columns: 42px minmax(0, 1fr) 34px;
    }

    .video-card.horizontal {
        grid-template-columns: 1fr;
    }

    .video-card.horizontal .poster-link {
        aspect-ratio: 16 / 10;
    }

    .family-layout,
    .sports-layout {
        min-height: 0;
    }

    .family-layout > img,
    .sports-visual {
        min-height: 280px;
    }

    .sports-visual {
        order: 2;
    }

    .notes-layout {
        align-items: flex-start;
        flex-direction: column;
    }

    .newsletter-box {
        align-items: flex-start;
    }

    .newsletter-box > .ui-icon {
        display: none;
    }

    .page-title-row {
        flex-direction: column;
    }

    .filter-bar span {
        width: 100%;
        margin-left: 0;
    }

    .detail-poster {
        max-width: 320px;
    }

    .meta-list {
        grid-template-columns: 1fr;
    }

    .article-layout {
        gap: 32px;
    }

    .pager-grid a:last-child {
        text-align: left;
    }

    .prose-main > section {
        padding-left: 50px;
    }

    .search-large button span {
        display: none;
    }

    .not-found h1 {
        font-size: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}