/* ==========================================================================
   CHANNEL 3 — bold schedule / colour-block short-drama template
   All styling lives in this external file.
   ========================================================================== */

:root {
    --ink: #111111;
    --ink-soft: #2c2a26;
    --paper: #f7f2e6;
    --paper-deep: #ece2cd;
    --surface: #fffdf5;
    --blue: #2547ff;
    --blue-deep: #1730c9;
    --yellow: #f6d94f;
    --coral: #ff5d3b;
    --mint: #b9e5c7;
    --muted: #6b665c;
    --line: #171717;
    --line-soft: #cfc4b0;
    --display: "Arial Black", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    --mono: "SFMono-Regular", "Cascadia Code", "Consolas", "Liberation Mono", monospace;
    --shell: 1220px;
    --shadow: 6px 6px 0 var(--ink);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background-color: var(--paper);
    background-image: radial-gradient(rgba(17, 17, 17, 0.055) 0.7px, transparent 0.7px);
    background-size: 18px 18px;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

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

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

h1,
h2,
h3,
p,
dl,
dd,
ol,
ul {
    margin-top: 0;
}

::selection {
    background: var(--blue);
    color: #fff;
}

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

.site-main {
    min-height: 58vh;
}

.shell {
    width: min(calc(100% - 56px), var(--shell));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 300;
    top: 10px;
    left: 50%;
    padding: 10px 18px;
    border: 2px solid var(--ink);
    background: var(--yellow);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    transform: translate(-50%, -180%);
    transition: transform 0.18s ease;
}

.skip-link:focus {
    transform: translate(-50%, 0);
}

/* Shared labels, headings, buttons */
.channel-label {
    margin: 0 0 12px;
    color: var(--ink-soft);
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.5;
    text-transform: uppercase;
}

.channel-label > span {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 6px;
    background: var(--ink);
    color: var(--yellow);
    letter-spacing: 0.05em;
}

.channel-label--light {
    color: rgba(255, 253, 245, 0.7);
}

.channel-label--dark {
    color: var(--ink);
}

.section-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--ink);
}

.section-top--compact {
    margin-bottom: 20px;
    padding-bottom: 11px;
    border-bottom-width: 2px;
}

.section-top h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 1.05;
}

.section-count {
    flex: 0 0 auto;
    margin: 0 0 3px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.section-top--light {
    border-color: rgba(255, 253, 245, 0.24);
}

.section-top--light h2 {
    color: var(--paper);
}

.section-count--light {
    color: rgba(255, 253, 245, 0.6);
}

.channel-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 2px solid var(--ink);
    background: var(--surface);
    box-shadow: 4px 4px 0 var(--ink);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.channel-button:hover {
    box-shadow: 1px 1px 0 var(--ink);
    transform: translate(3px, 3px);
}

.channel-button--yellow {
    background: var(--yellow);
}

.channel-button--blue {
    background: var(--blue);
    color: #fff;
}

.channel-button--outline {
    background: transparent;
}

.channel-button--ghost {
    border-color: var(--paper);
    background: transparent;
    box-shadow: 4px 4px 0 var(--yellow);
    color: var(--paper);
}

.channel-button--ghost:hover {
    box-shadow: 1px 1px 0 var(--yellow);
}

.channel-button--full {
    width: 100%;
}

.channel-button--small {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 10px;
}

.channel-button--disabled {
    cursor: not-allowed;
    opacity: 0.5;
    transform: none;
}

.channel-more {
    flex: 0 0 auto;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.channel-more:hover {
    color: var(--blue);
}

.channel-inline-note {
    margin: 0;
    padding: 18px 0;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 11px;
}

.channel-inline-note--light {
    color: rgba(255, 253, 245, 0.6);
}

.dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 5px;
    background: var(--line-soft);
    vertical-align: middle;
}

/* Header */
.signal-bar {
    background: var(--ink);
    color: rgba(255, 253, 245, 0.65);
}

.signal-inner {
    display: flex;
    min-height: 31px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.signal-inner p {
    margin: 0;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.signal-live {
    display: inline-block;
    margin-right: 7px;
    padding: 2px 5px;
    background: var(--yellow);
    color: var(--ink);
    font-weight: 700;
}

.channel-header {
    position: relative;
    z-index: 40;
    border-bottom: 3px solid var(--ink);
    background: var(--paper);
}

.channel-head {
    display: flex;
    min-height: 98px;
    align-items: center;
    gap: 28px;
}

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

.channel-logo {
    display: block;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border: 2px solid var(--ink);
    background-image: url("logo.svg");
    background-position: center;
    background-size: cover;
    box-shadow: 4px 4px 0 var(--blue);
}

.channel-brand__text {
    display: grid;
    gap: 1px;
}

.channel-brand__name {
    font-family: var(--display);
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1.1;
}

.channel-brand__sub {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 7.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.channel-nav {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
}

.channel-nav::-webkit-scrollbar {
    display: none;
}

.channel-nav__link {
    flex: 0 0 auto;
    padding: 8px 11px;
    border: 2px solid transparent;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    transition: background 0.16s ease, border-color 0.16s ease;
}

.channel-nav__link:hover {
    border-color: var(--ink);
    background: var(--surface);
}

.channel-nav__link.is-active {
    border-color: var(--ink);
    background: var(--yellow);
    box-shadow: 3px 3px 0 var(--ink);
}

.channel-app {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    padding: 10px 13px;
    border: 2px solid var(--ink);
    background: var(--blue);
    box-shadow: 4px 4px 0 var(--ink);
    color: #fff;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.channel-app:hover,
.channel-app.is-active {
    box-shadow: 1px 1px 0 var(--ink);
    transform: translate(3px, 3px);
}

.channel-app.is-active {
    background: var(--yellow);
    color: var(--ink);
}

/* Breadcrumb */
.breadcrumb {
    padding-top: 16px;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 9.5px;
    list-style: none;
}

.breadcrumb-item {
    display: inline-flex;
    min-width: 0;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    margin: 0 7px;
    color: var(--line-soft);
    content: "/";
}

.breadcrumb-item a {
    overflow: hidden;
    max-width: 14em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.breadcrumb-item a:hover {
    color: var(--blue);
}

.breadcrumb-item.is-current span {
    color: var(--ink-soft);
}

/* Hero */
.channel-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--ink);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%) 0 0 / 26px 26px,
        var(--blue);
    color: var(--paper);
}

.channel-hero::before {
    position: absolute;
    top: -150px;
    right: -110px;
    width: 430px;
    height: 430px;
    border: 30px solid var(--yellow);
    border-radius: 50%;
    content: "";
    opacity: 0.22;
    pointer-events: none;
}

.channel-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.78fr);
    gap: clamp(36px, 6vw, 86px);
    align-items: center;
    padding-top: clamp(50px, 7vw, 82px);
    padding-bottom: clamp(50px, 7vw, 82px);
}

.channel-hero__copy {
    min-width: 0;
}

.channel-title {
    max-width: 10em;
    margin: 0 0 24px;
    color: #fff;
    font-family: var(--display);
    font-size: clamp(3.2rem, 7vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.075em;
    line-height: 0.98;
}

.channel-title mark,
.app-title mark {
    padding: 0 7px 3px;
    background: var(--yellow);
    color: var(--ink);
    font-style: normal;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.channel-hero__lead {
    max-width: 35em;
    margin: 0;
    color: rgba(255, 253, 245, 0.8);
    font-size: 14px;
    line-height: 1.9;
}

.channel-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.channel-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 38px 0 0;
    border-top: 2px solid rgba(255, 253, 245, 0.32);
}

.channel-stats div {
    min-width: 120px;
    padding: 15px 22px 0 0;
    margin-right: 22px;
    border-right: 1px solid rgba(255, 253, 245, 0.2);
}

.channel-stats div:last-child {
    border-right: 0;
}

.channel-stats dt {
    color: rgba(255, 253, 245, 0.62);
    font-family: var(--mono);
    font-size: 8.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.channel-stats dd {
    margin: 3px 0 0;
    color: var(--yellow);
    font-family: var(--display);
    font-size: 27px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.channel-stats dd span {
    margin-left: 4px;
    color: rgba(255, 253, 245, 0.68);
    font-family: var(--mono);
    font-size: 8px;
    font-weight: 500;
}

.channel-hero__visual {
    min-width: 0;
}

.hero-poster-card {
    position: relative;
    border: 3px solid var(--ink);
    background: var(--surface);
    box-shadow: 12px 12px 0 var(--yellow);
    color: var(--ink);
    transform: rotate(1.2deg);
}

.hero-poster-card__media {
    position: relative;
    border-bottom: 3px solid var(--ink);
}

.channel-poster--hero {
    aspect-ratio: 4 / 5;
}

.hero-poster-card__flag {
    position: absolute;
    top: 13px;
    left: 13px;
    padding: 5px 9px;
    border: 2px solid var(--ink);
    background: var(--coral);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.hero-poster-card__body {
    padding: 18px 20px 20px;
}

.hero-poster-card__kicker {
    margin: 0 0 3px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-poster-card h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1.35rem, 2.3vw, 1.8rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.2;
}

.hero-poster-card h2 a:hover {
    color: var(--blue);
}

.hero-poster-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0 0;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 8.5px;
}

.hero-poster-card__play {
    display: inline-block;
    margin-top: 13px;
    padding-bottom: 2px;
    border-bottom: 2px solid var(--ink);
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-poster-card__play:hover {
    border-color: var(--coral);
    color: var(--coral);
}

.hero-no-signal {
    display: flex;
    min-height: 500px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--ink);
    background: var(--yellow);
    box-shadow: 12px 12px 0 var(--ink);
    color: var(--ink);
    text-align: center;
    transform: rotate(-1deg);
}

.hero-no-signal > span {
    font-family: var(--display);
    font-size: 3.4rem;
    font-weight: 900;
    letter-spacing: -0.08em;
    line-height: 0.92;
}

.hero-no-signal p {
    margin: 15px 0 0;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Important category */
.important-band {
    padding: 48px 0 52px;
    border-bottom: 3px solid var(--ink);
    background:
        linear-gradient(90deg, transparent 49.5%, rgba(17, 17, 17, 0.08) 50%, transparent 50.5%) 0 0 / 24px 24px,
        var(--yellow);
}

.band-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--ink);
}

.band-head h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 1.05;
}

.band-head h2 span {
    display: inline-block;
    margin-left: 11px;
    padding: 3px 7px;
    background: var(--ink);
    color: var(--yellow);
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    vertical-align: middle;
}

.band-head p:not(.channel-label) {
    margin: 7px 0 0;
    color: rgba(17, 17, 17, 0.72);
    font-size: 11.5px;
}

.band-link {
    flex: 0 0 auto;
    padding-bottom: 2px;
    border-bottom: 2px solid var(--ink);
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.band-link:hover {
    color: var(--coral);
}

/* Grid and cards */
.channel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 18px;
}

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

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

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

.channel-card__poster {
    position: relative;
    border: 2px solid var(--ink);
    background: var(--paper-deep);
    box-shadow: var(--shadow);
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.channel-card:hover .channel-card__poster {
    box-shadow: 9px 9px 0 var(--ink);
    transform: translate(-2px, -2px);
}

.channel-card__poster > a {
    display: block;
}

.channel-poster {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.2), transparent 40%),
        linear-gradient(160deg, #d7c9b1, #8e7e68 70%, #5f5446);
    isolation: isolate;
}

.channel-poster::after {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.45), transparent 43%);
    content: "";
    pointer-events: none;
}

.channel-poster img {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.channel-poster__fallback {
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    color: rgba(255, 253, 245, 0.3);
    font-family: var(--display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1;
    transform: translate(-50%, -50%);
}

.channel-card__no {
    position: absolute;
    z-index: 4;
    top: 9px;
    right: 9px;
    min-width: 28px;
    padding: 3px 5px;
    border: 2px solid var(--ink);
    background: var(--surface);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.channel-card__type {
    position: absolute;
    z-index: 4;
    bottom: 9px;
    left: 9px;
    padding: 4px 7px;
    border: 2px solid var(--ink);
    background: var(--yellow);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.channel-card__play {
    position: absolute;
    z-index: 4;
    right: 9px;
    bottom: 9px;
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    transition: background 0.16s ease, color 0.16s ease;
}

.channel-card__play:hover {
    background: var(--yellow);
    color: var(--ink);
}

.channel-card__body {
    padding-top: 10px;
}

.channel-card__title {
    margin: 0;
    font-family: var(--display);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.4;
}

.channel-card__title a:hover {
    color: var(--blue);
}

.channel-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 5px 0 0;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 9.5px;
}

.channel-card__meta a {
    color: var(--blue);
}

/* Latest + hot */
.latest-section {
    padding-top: 52px;
    padding-bottom: 46px;
}

.hot-section {
    padding: 50px 0 48px;
    border-top: 3px solid var(--ink);
    border-bottom: 3px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
}

.hot-chart {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hot-chart__item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 253, 245, 0.18);
}

.hot-chart__rank {
    color: var(--yellow);
    font-family: var(--display);
    font-size: 25px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.hot-chart__body {
    min-width: 0;
}

.hot-chart__body h3 {
    overflow: hidden;
    margin: 0;
    color: var(--paper);
    font-family: var(--display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hot-chart__body h3 a:hover {
    color: var(--yellow);
}

.hot-chart__body p {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 3px 0 0;
    color: rgba(255, 253, 245, 0.52);
    font-family: var(--mono);
    font-size: 9px;
}

.hot-chart__play {
    color: var(--yellow);
    font-family: var(--mono);
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.hot-chart__play:hover {
    color: var(--coral);
}

/* Home app */
.home-app {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.7fr);
    gap: clamp(36px, 5vw, 68px);
    align-items: center;
    margin-top: 48px;
    padding: 42px 44px;
    border: 3px solid var(--ink);
    background:
        linear-gradient(135deg, rgba(17, 17, 17, 0.06) 25%, transparent 25%) 0 0 / 22px 22px,
        var(--mint);
    box-shadow: 10px 10px 0 var(--blue);
}

.home-app__copy {
    min-width: 0;
}

.home-app h2 {
    margin: 0 0 14px;
    font-family: var(--display);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 900;
    letter-spacing: -0.065em;
    line-height: 0.98;
}

.home-app__lead {
    max-width: 37em;
    margin: 0;
    color: var(--ink-soft);
    font-size: 12.5px;
    line-height: 1.9;
}

.app-advantages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.app-advantages li {
    display: grid;
    gap: 2px;
    padding: 12px;
    border: 2px solid var(--ink);
    background: rgba(255, 253, 245, 0.45);
}

.app-advantages span {
    color: var(--blue);
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
}

.app-advantages strong {
    font-family: var(--display);
    font-size: 12px;
    font-weight: 800;
}

.app-advantages small {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}

.home-app__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.home-app__visual {
    min-width: 0;
}

.app-deck {
    position: relative;
    width: min(100%, 280px);
    margin-inline: auto;
    padding: 10px;
    border: 3px solid var(--ink);
    background: var(--ink);
    box-shadow: 10px 10px 0 var(--coral);
    transform: rotate(1.5deg);
}

.app-deck__label {
    position: absolute;
    top: -13px;
    left: 12px;
    padding: 2px 7px;
    background: var(--yellow);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 7.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.app-deck__screen {
    min-height: 440px;
    padding: 16px 13px 12px;
    background: var(--paper);
    color: var(--ink);
}

.app-deck__top {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 7px;
}

.app-deck__brand {
    margin-top: 17px;
    font-family: var(--display);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.app-deck__banner {
    display: grid;
    gap: 4px;
    margin-top: 12px;
    padding: 15px 12px;
    border: 2px solid var(--ink);
    background: var(--blue);
    color: #fff;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.06em;
}

.app-deck__banner strong {
    font-family: var(--display);
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.app-deck__rows {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-top: 12px;
}

.app-deck__rows span {
    display: block;
    aspect-ratio: 3 / 4;
    border: 2px solid var(--ink);
    background: linear-gradient(145deg, var(--yellow), var(--coral));
}

.app-deck__rows span:nth-child(2) {
    background: linear-gradient(145deg, var(--mint), var(--blue));
}

.app-deck__rows span:nth-child(3) {
    background: linear-gradient(145deg, var(--paper-deep), var(--coral));
}

.app-deck__tabs {
    display: flex;
    justify-content: space-between;
    margin-top: 13px;
    padding-top: 8px;
    border-top: 2px solid var(--ink);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 6.5px;
}

.app-deck__tabs span:first-child {
    color: var(--blue);
    font-weight: 700;
}

.app-deck__stamp {
    position: absolute;
    right: -12px;
    bottom: 28px;
    padding: 4px 7px;
    border: 2px solid var(--ink);
    background: var(--yellow);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 8px;
    font-weight: 700;
    transform: rotate(-6deg);
}

/* SEO */
.channel-seo {
    margin-top: 52px;
    margin-bottom: 56px;
    padding-top: 22px;
    border-top: 3px solid var(--ink);
}

.channel-seo h2 {
    max-width: 20em;
    margin: 0 0 18px;
    font-family: var(--display);
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 1.06;
}

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

.channel-seo__copy p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 12.5px;
    line-height: 1.95;
}

/* Archive / category */
.archive-banner {
    padding: 44px 0 0;
    border-bottom: 3px solid var(--ink);
    background: var(--blue);
    color: var(--paper);
}

.archive-banner--slim {
    padding-bottom: 36px;
}

.archive-banner__grid {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 34px;
}

.archive-title {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(3rem, 6.5vw, 5.6rem);
    font-weight: 900;
    letter-spacing: -0.075em;
    line-height: 0.98;
}

.archive-title > span {
    display: inline-block;
    margin-left: 13px;
    color: var(--yellow);
    font-family: var(--mono);
    font-size: 0.16em;
    font-weight: 700;
    letter-spacing: 0.1em;
    vertical-align: middle;
}

.archive-desc {
    max-width: 49em;
    margin: 15px 0 0;
    color: rgba(255, 253, 245, 0.78);
    font-size: 12px;
    line-height: 1.9;
}

.archive-desc strong {
    color: var(--yellow);
    font-family: var(--display);
    font-size: 1.3em;
}

.archive-big-count {
    flex: 0 0 auto;
    margin: 0 0 2px;
    color: var(--yellow);
    font-family: var(--display);
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 900;
    letter-spacing: -0.08em;
    line-height: 0.85;
    text-align: right;
}

.archive-big-count span {
    display: block;
    margin-top: 7px;
    color: rgba(255, 253, 245, 0.6);
    font-family: var(--mono);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.channel-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 28px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 253, 245, 0.25);
}

.channel-filter {
    padding: 7px 12px;
    border: 2px solid rgba(255, 253, 245, 0.35);
    color: var(--paper);
    font-family: var(--mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.channel-filter:hover {
    border-color: var(--paper);
    background: rgba(255, 253, 245, 0.12);
}

.channel-filter.is-active {
    border-color: var(--ink);
    background: var(--yellow);
    color: var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
}

.archive-content {
    padding-top: 38px;
    padding-bottom: 12px;
}

/* Detail */
.detail-hero {
    padding: 40px 0 44px;
    border-bottom: 3px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
}

.detail-hero__grid {
    display: grid;
    grid-template-columns: minmax(220px, 310px) minmax(0, 1fr);
    gap: clamp(30px, 5vw, 62px);
    align-items: start;
}

.detail-poster {
    position: relative;
}

.channel-poster--detail {
    border: 3px solid var(--paper);
    box-shadow: 12px 12px 0 var(--blue);
}

.detail-poster__badge {
    position: absolute;
    right: 0;
    bottom: 21px;
    padding: 5px 8px;
    border: 2px solid var(--ink);
    background: var(--yellow);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 8.5px;
    font-weight: 700;
}

.detail-copy {
    min-width: 0;
    padding-top: 9px;
}

.detail-title {
    max-width: 11em;
    margin: 0;
    color: var(--paper);
    font-family: var(--display);
    font-size: clamp(2.7rem, 5.4vw, 4.8rem);
    font-weight: 900;
    letter-spacing: -0.07em;
    line-height: 1.03;
    text-wrap: balance;
}

.detail-lead {
    max-width: 42em;
    margin: 18px 0 0;
    color: rgba(255, 253, 245, 0.72);
    font-size: 12.5px;
    line-height: 1.9;
}

.detail-quick {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 25px 0 0;
    border-top: 1px solid rgba(255, 253, 245, 0.24);
    border-bottom: 1px solid rgba(255, 253, 245, 0.24);
}

.detail-quick > div {
    display: grid;
    gap: 3px;
    padding: 11px 13px;
    border-left: 1px solid rgba(255, 253, 245, 0.18);
}

.detail-quick > div:first-child {
    padding-left: 0;
    border-left: 0;
}

.detail-quick span {
    color: rgba(255, 253, 245, 0.5);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.detail-quick strong,
.detail-quick a {
    overflow: hidden;
    color: var(--paper);
    font-family: var(--mono);
    font-size: 9.5px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.detail-quick a {
    color: var(--yellow);
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.detail-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
    gap: clamp(32px, 5vw, 58px);
    padding-top: 38px;
}

.detail-main {
    min-width: 0;
}

.detail-aside {
    min-width: 0;
}

.channel-section {
    margin-bottom: 34px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--line-soft);
}

.channel-section:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.detail-prose {
    max-width: 52em;
    margin: 0;
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 2;
}

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

.fact-panel {
    margin-bottom: 28px;
    padding: 19px 18px;
    border: 2px solid var(--ink);
    background: var(--surface);
    box-shadow: 5px 5px 0 var(--blue);
}

.fact-panel h2 {
    margin: 0 0 12px;
    font-family: var(--display);
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.fact-panel dl {
    margin: 0;
}

.fact-panel dl > div {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid var(--line-soft);
}

.fact-panel dt {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 8.5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fact-panel dd {
    margin: 0;
    color: var(--ink-soft);
    font-size: 10.5px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.side-note {
    padding-top: 20px;
    border-top: 2px solid var(--ink);
}

.side-note h2 {
    margin: 0 0 8px;
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.side-note p {
    margin: 0 0 9px;
    color: var(--ink-soft);
    font-size: 11px;
    line-height: 1.85;
}

.side-note p.side-note__small {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 9px;
}

/* Episodes */
.channel-episodes {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.channel-episode {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 6px;
    align-items: center;
    min-height: 39px;
    padding: 6px 8px;
    border: 2px solid var(--ink);
    background: var(--surface);
    transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.channel-episode:hover {
    box-shadow: 3px 3px 0 var(--ink);
    transform: translate(-1px, -1px);
}

.channel-episode.is-current {
    background: var(--yellow);
    box-shadow: 3px 3px 0 var(--ink);
}

.channel-episode.is-disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.channel-episode__num {
    color: var(--blue);
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.channel-episode__label {
    overflow: hidden;
    color: var(--ink);
    font-size: 9.5px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.channel-episode__source {
    display: none;
}

/* Play */
.play-header {
    padding-top: 30px;
    padding-bottom: 24px;
}

.play-title {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2.6rem, 5.5vw, 4.6rem);
    font-weight: 900;
    letter-spacing: -0.075em;
    line-height: 1.02;
    text-wrap: balance;
}

.play-title > span {
    display: inline-block;
    margin-left: 10px;
    padding: 3px 7px;
    border: 2px solid var(--ink);
    background: var(--yellow);
    font-family: var(--mono);
    font-size: 0.16em;
    font-weight: 700;
    letter-spacing: 0.04em;
    vertical-align: middle;
}

.play-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 17px;
    margin-top: 12px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 9px;
}

.play-meta a {
    color: var(--blue);
}

.player-stage {
    padding-bottom: 34px;
}

.channel-player {
    border: 3px solid var(--ink);
    background: var(--ink);
    box-shadow: 9px 9px 0 var(--blue);
}

.channel-player__screen {
    position: relative;
    display: flex;
    aspect-ratio: 16 / 9;
    align-items: center;
    justify-content: center;
    background: #050505;
}

.channel-player__video {
    display: block;
    width: 100%;
    height: 100%;
    background: #050505;
    object-fit: contain;
}

.channel-player__error {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 24px;
    background: rgba(5, 5, 5, 0.94);
    color: rgba(255, 253, 245, 0.7);
    text-align: center;
}

.channel-player__error[hidden] {
    display: none;
}

.channel-player__error strong {
    color: var(--yellow);
    font-family: var(--mono);
    font-size: 12px;
}

.channel-player__error span {
    font-size: 10px;
}

.channel-player__missing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: rgba(255, 253, 245, 0.6);
}

.channel-player__missing > span {
    color: var(--yellow);
    font-family: var(--display);
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.95;
    text-align: center;
}

.channel-player__missing p {
    margin: 10px 0 0;
    color: var(--paper);
    font-family: var(--mono);
    font-size: 10px;
}

.channel-player__missing small {
    font-size: 9px;
}

.channel-player__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 11px 14px;
    border-top: 2px solid #2f2f2f;
}

.channel-player__bar p {
    margin: 0;
    color: var(--paper);
    font-size: 10px;
}

.channel-player__bar p strong {
    color: var(--yellow);
}

.channel-player__bar small {
    display: block;
    margin-top: 2px;
    color: rgba(255, 253, 245, 0.48);
    font-family: var(--mono);
    font-size: 8px;
}

.channel-player__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 14px;
}

.channel-player__actions a {
    color: var(--yellow);
    font-family: var(--mono);
    font-size: 8.5px;
    font-weight: 700;
}

.channel-player__actions a:hover {
    color: var(--paper);
}

.channel-player__nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-top: 2px solid #2f2f2f;
}

.channel-player__nav a,
.channel-player__nav span {
    color: var(--yellow);
    font-family: var(--mono);
    font-size: 8.5px;
    font-weight: 700;
}

.channel-player__nav a:hover {
    color: var(--paper);
}

.channel-player__nav .is-disabled {
    color: #565656;
}

.play-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
    gap: clamp(30px, 4vw, 48px);
    padding-top: 34px;
}

.play-main {
    min-width: 0;
}

.play-aside {
    min-width: 0;
}

.now-panel {
    padding: 14px;
    border: 2px solid var(--ink);
    background: var(--surface);
    box-shadow: 6px 6px 0 var(--yellow);
}

.now-panel__poster {
    position: relative;
}

.now-panel__poster .channel-poster {
    border: 2px solid var(--ink);
}

.now-panel__live {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 6px;
    border: 2px solid var(--ink);
    background: var(--coral);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 7px;
    font-weight: 700;
}

.now-panel .channel-label {
    margin-top: 13px;
}

.now-panel h2 {
    margin: 0;
    font-family: var(--display);
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.now-panel__name {
    margin: 3px 0 12px;
    color: var(--muted);
    font-size: 10px;
}

.now-panel dl {
    margin: 0 0 13px;
}

.now-panel dl > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border-top: 1px solid var(--line-soft);
}

.now-panel dt {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 8px;
}

.now-panel dd {
    margin: 0;
    font-family: var(--mono);
    font-size: 8.5px;
}

/* Tag */
.tag-banner {
    padding: 42px 0;
    border-bottom: 3px solid var(--ink);
    background:
        linear-gradient(90deg, transparent 49.5%, rgba(17, 17, 17, 0.08) 50%, transparent 50.5%) 0 0 / 28px 28px,
        var(--yellow);
}

.tag-banner__grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.tag-title {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(3rem, 7vw, 5.6rem);
    font-weight: 900;
    letter-spacing: -0.075em;
    line-height: 0.98;
}

.tag-title > span {
    margin-right: 6px;
    color: var(--blue);
}

.tag-title small {
    margin-left: 10px;
    color: var(--ink);
    font-family: var(--mono);
    font-size: 0.2em;
    font-weight: 700;
    letter-spacing: 0.08em;
    vertical-align: middle;
}

.tag-desc {
    max-width: 44em;
    margin: 12px 0 0;
    color: rgba(17, 17, 17, 0.72);
    font-size: 12px;
}

.tag-desc strong {
    color: var(--blue);
    font-family: var(--display);
    font-size: 1.3em;
}

.tag-big-mark {
    flex: 0 0 auto;
    margin: 0;
    color: var(--blue);
    font-family: var(--display);
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 900;
    line-height: 0.7;
    opacity: 0.18;
}

/* App page */
.app-page {
    padding-bottom: 1px;
}

.app-hero {
    padding: 52px 0 56px;
    border-bottom: 3px solid var(--ink);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%) 0 0 / 24px 24px,
        var(--blue);
    color: var(--paper);
}

.app-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
    gap: clamp(38px, 6vw, 82px);
    align-items: center;
}

.app-hero__copy {
    min-width: 0;
}

.app-title {
    max-width: 10em;
    margin: 0 0 22px;
    color: #fff;
    font-family: var(--display);
    font-size: clamp(3.1rem, 6.8vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.08em;
    line-height: 0.98;
    text-wrap: balance;
}

.app-lead {
    max-width: 37em;
    margin: 0;
    color: rgba(255, 253, 245, 0.8);
    font-size: 13px;
    line-height: 1.9;
}

.app-points {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.app-points li {
    padding: 4px 8px;
    border: 2px solid rgba(255, 253, 245, 0.55);
    font-family: var(--mono);
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.app-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.app-hint {
    margin: 12px 0 0;
    color: rgba(255, 253, 245, 0.62);
    font-size: 9.5px;
    line-height: 1.8;
}

.app-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 17px;
    margin: 18px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 253, 245, 0.28);
    color: rgba(255, 253, 245, 0.6);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.04em;
}

.app-hero__visual {
    position: relative;
    display: flex;
    min-height: 500px;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.app-deck--download {
    width: min(100%, 300px);
    box-shadow: 12px 12px 0 var(--yellow);
    transform: rotate(-1.5deg);
}

.app-deck--download .app-deck__screen {
    min-height: 460px;
}

.app-float {
    position: absolute;
    padding: 5px 8px;
    border: 2px solid var(--ink);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 8px;
    font-weight: 700;
    box-shadow: 3px 3px 0 var(--ink);
}

.app-float--blue {
    top: 12%;
    left: 0;
    background: var(--mint);
    transform: rotate(-4deg);
}

.app-float--yellow {
    right: 0;
    bottom: 10%;
    background: var(--yellow);
    transform: rotate(4deg);
}

.app-benefits,
.app-steps,
.app-faq {
    margin-top: 48px;
}

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

.benefit-card {
    padding: 18px;
    border: 2px solid var(--ink);
    background: var(--surface);
    box-shadow: 5px 5px 0 var(--ink);
}

.benefit-card__no {
    color: var(--blue);
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
}

.benefit-card h3 {
    margin: 14px 0 7px;
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.benefit-card p {
    margin: 0;
    color: var(--muted);
    font-size: 10.5px;
    line-height: 1.85;
}

.install-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.install-steps li {
    padding: 19px;
    border: 2px solid var(--ink);
    background: var(--surface);
}

.install-steps li > span {
    color: var(--coral);
    font-family: var(--display);
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
}

.install-steps h3 {
    margin: 13px 0 5px;
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 900;
}

.install-steps p {
    margin: 0;
    color: var(--muted);
    font-size: 10.5px;
    line-height: 1.8;
}

.channel-faq {
    border-top: 2px solid var(--ink);
}

.channel-faq details {
    border-bottom: 2px solid var(--ink);
}

.channel-faq summary {
    position: relative;
    padding: 14px 30px 14px 0;
    font-family: var(--display);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.channel-faq summary::-webkit-details-marker {
    display: none;
}

.channel-faq summary::after {
    position: absolute;
    top: 50%;
    right: 3px;
    color: var(--blue);
    content: "+";
    font-family: var(--mono);
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-50%);
}

.channel-faq details[open] summary::after {
    content: "−";
}

.channel-faq details p {
    max-width: 58em;
    margin: 0 0 15px;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.9;
}

.app-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 48px;
    padding: 30px 34px;
    border: 3px solid var(--ink);
    background: var(--ink);
    box-shadow: 9px 9px 0 var(--blue);
    color: var(--paper);
}

.app-cta h2 {
    margin: 0 0 4px;
    color: var(--yellow);
    font-family: var(--display);
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.055em;
}

.app-cta p:not(.channel-label) {
    margin: 0;
    color: rgba(255, 253, 245, 0.65);
    font-size: 10.5px;
}

.app-cta .channel-label {
    color: rgba(255, 253, 245, 0.5);
}

/* Pager */
.channel-pager-block {
    margin-top: 40px;
    padding-top: 18px;
    border-top: 3px solid var(--ink);
    text-align: center;
}

.channel-pager-caption {
    margin: 0 0 10px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.channel-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.channel-pager a,
.channel-pager span {
    display: inline-flex;
    min-width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 2px solid transparent;
    font-family: var(--mono);
    font-size: 9.5px;
    font-weight: 700;
    line-height: 1;
    transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.channel-pager a:hover {
    border-color: var(--ink);
    background: var(--surface);
    box-shadow: 2px 2px 0 var(--ink);
}

.channel-pager__number.is-current {
    border-color: var(--ink);
    background: var(--yellow);
    box-shadow: 3px 3px 0 var(--ink);
}

.channel-pager__arrow {
    border-color: var(--ink) !important;
    background: var(--surface);
    text-transform: uppercase;
}

.channel-pager__arrow.is-disabled {
    color: var(--line-soft);
    opacity: 0.6;
}

.channel-pager__gap {
    min-width: 20px;
    color: var(--muted);
}

.channel-pager-fallback {
    display: flex;
    justify-content: center;
}

.channel-pager-fallback .pagination,
.channel-pager-fallback .pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.channel-pager-fallback a,
.channel-pager-fallback span {
    display: inline-flex;
    min-width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 2px solid var(--ink);
    font-family: var(--mono);
    font-size: 9.5px;
}

.channel-pager-fallback [aria-current="page"],
.channel-pager-fallback .current {
    background: var(--yellow);
    box-shadow: 3px 3px 0 var(--ink);
}

/* Empty */
.empty-signal {
    display: flex;
    align-items: stretch;
    gap: 22px;
    margin: 8px 0 22px;
    border: 3px solid var(--ink);
    background: var(--surface);
    box-shadow: 7px 7px 0 var(--ink);
}

.empty-signal__code {
    display: flex;
    flex: 0 0 auto;
    min-width: 110px;
    align-items: center;
    justify-content: center;
    background: var(--yellow);
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.95;
    text-align: center;
}

.empty-signal__body {
    padding: 21px 22px 21px 0;
}

.empty-signal__title {
    margin: 0 0 4px;
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.empty-signal__text {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 11px;
}

/* Footer */
.channel-footer {
    margin-top: 54px;
    padding-top: 38px;
    border-top: 4px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.65fr));
    gap: 45px;
}

.channel-brand--footer .channel-logo {
    border-color: var(--paper);
    box-shadow: 4px 4px 0 var(--yellow);
}

.channel-brand--footer .channel-brand__name {
    color: var(--paper);
}

.channel-brand--footer .channel-brand__sub {
    color: rgba(255, 253, 245, 0.45);
}

.footer-tagline {
    max-width: 28em;
    margin: 15px 0 0;
    color: rgba(255, 253, 245, 0.55);
    font-size: 10.5px;
    line-height: 1.85;
}

.footer-nav h2 {
    margin: 0 0 11px;
    color: var(--yellow);
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 15px;
}

.footer-links a {
    color: rgba(255, 253, 245, 0.7);
    font-size: 10px;
}

.footer-links a:hover {
    color: var(--yellow);
}

.footer-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-top: 35px;
    padding: 13px 0 20px;
    border-top: 1px solid #363636;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 253, 245, 0.42);
    font-family: var(--mono);
    font-size: 8px;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 1120px) {
    .channel-head {
        gap: 18px;
    }

    .channel-nav__link {
        padding: 8px 9px;
        font-size: 11px;
    }

    .channel-hero__grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
        gap: 44px;
    }

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

@media (max-width: 960px) {
    .channel-head {
        flex-wrap: wrap;
        padding: 13px 0 0;
    }

    .channel-brand {
        order: 1;
    }

    .channel-app {
        order: 2;
        margin-left: auto;
    }

    .channel-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        margin-top: 2px;
        padding: 5px 0 9px;
        border-top: 2px solid var(--ink);
    }

    .channel-nav__link:first-child {
        padding-left: 0;
    }

    .channel-hero__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .channel-hero__visual {
        max-width: 430px;
    }

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

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

    .detail-body,
    .play-body {
        grid-template-columns: 1fr;
    }

    .detail-aside,
    .play-aside {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 24px;
        align-items: start;
    }

    .play-aside {
        grid-template-columns: minmax(0, 270px) minmax(0, 1fr);
    }

    .fact-panel {
        margin-bottom: 0;
    }

    .home-app {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .home-app__visual {
        max-width: 340px;
        margin-inline: auto;
    }

    .app-hero__grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .app-hero__visual {
        min-height: 0;
        justify-content: flex-start;
        padding-left: clamp(10px, 6vw, 55px);
    }

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

    .install-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .shell {
        width: min(calc(100% - 38px), var(--shell));
    }

    .signal-inner {
        min-height: 28px;
    }

    .signal-inner p {
        font-size: 8px;
    }

    .channel-head {
        min-height: 0;
    }

    .channel-brand__name {
        font-size: 22px;
    }

    .channel-logo {
        width: 40px;
        height: 40px;
        box-shadow: 3px 3px 0 var(--blue);
    }

    .channel-brand__sub {
        font-size: 6.5px;
    }

    .channel-label {
        font-size: 9px;
    }

    .channel-title {
        font-size: clamp(2.8rem, 10vw, 4.6rem);
    }

    .channel-stats div {
        min-width: 100px;
        margin-right: 17px;
        padding-right: 17px;
    }

    .channel-stats dd {
        font-size: 23px;
    }

    .band-head,
    .section-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .section-count {
        margin: 0;
    }

    .channel-grid,
    .channel-grid--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 13px;
    }

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

    .hot-chart {
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    .home-app {
        padding: 28px 22px;
        box-shadow: 7px 7px 0 var(--blue);
    }

    .app-advantages {
        grid-template-columns: 1fr;
    }

    .channel-seo__copy {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .archive-banner__grid {
        display: block;
    }

    .archive-big-count {
        display: none;
    }

    .archive-title {
        font-size: clamp(2.8rem, 12vw, 4rem);
    }

    .archive-title > span {
        font-size: 0.2em;
    }

    .detail-hero__grid {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        width: min(100%, 275px);
        margin-inline: auto;
    }

    .detail-title {
        font-size: clamp(2.4rem, 9.5vw, 3.4rem);
    }

    .detail-side {
        grid-template-columns: 1fr;
    }

    .detail-aside,
    .play-aside {
        grid-template-columns: 1fr;
    }

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

    .play-title {
        font-size: clamp(2.2rem, 8vw, 3.1rem);
    }

    .channel-player__bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .channel-player__actions {
        width: 100%;
        justify-content: space-between;
    }

    .tag-banner__grid {
        align-items: flex-start;
    }

    .tag-big-mark {
        display: none;
    }

    .tag-title {
        font-size: clamp(2.8rem, 12vw, 4.2rem);
    }

    .tag-desc {
        font-size: 11px;
    }

    .app-hero__visual {
        justify-content: center;
        padding-left: 0;
    }

    .app-float--blue {
        left: 0;
    }

    .app-float--yellow {
        right: 0;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .app-cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        padding: 24px 20px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 520px) {
    .shell {
        width: min(calc(100% - 28px), var(--shell));
    }

    .channel-app span {
        display: none;
    }

    .channel-nav__link {
        padding: 7px 10px;
        font-size: 10.5px;
    }

    .channel-hero__grid {
        padding-top: 36px;
        padding-bottom: 38px;
    }

    .channel-title {
        font-size: clamp(2.6rem, 12vw, 3.5rem);
    }

    .channel-hero__lead {
        font-size: 12px;
    }

    .channel-hero__actions .channel-button {
        flex: 1 1 auto;
    }

    .channel-stats {
        gap: 0;
    }

    .channel-stats div {
        min-width: 0;
        flex: 1 1 0;
        margin-right: 0;
        padding: 12px 8px 0;
        border-right: 1px solid rgba(255, 253, 245, 0.2);
        border-left: 0;
    }

    .channel-stats div:first-child {
        padding-left: 0;
    }

    .channel-stats div:last-child {
        padding-right: 0;
        border-right: 0;
    }

    .channel-stats dd {
        font-size: 21px;
    }

    .hero-poster-card {
        box-shadow: 7px 7px 0 var(--yellow);
        transform: none;
    }

    .hero-no-signal {
        min-height: 350px;
        box-shadow: 7px 7px 0 var(--ink);
    }

    .important-band {
        padding: 33px 0 36px;
    }

    .band-head h2 {
        font-size: 2.1rem;
    }

    .channel-grid,
    .channel-grid--four,
    .channel-grid--three,
    .detail-main .channel-grid {
        gap: 22px 10px;
    }

    .channel-card {
        box-shadow: none;
    }

    .channel-card__poster {
        box-shadow: 4px 4px 0 var(--ink);
    }

    .channel-card:hover .channel-card__poster {
        box-shadow: 5px 5px 0 var(--ink);
        transform: none;
    }

    .channel-card__title {
        font-size: 12.5px;
    }

    .channel-card__meta {
        font-size: 8.5px;
    }

    .channel-card__no {
        top: 6px;
        right: 6px;
        min-width: 22px;
        font-size: 7.5px;
    }

    .channel-card__type {
        bottom: 6px;
        left: 6px;
        padding: 3px 5px;
        font-size: 6.5px;
    }

    .channel-card__play {
        right: 6px;
        bottom: 6px;
        width: 28px;
        height: 28px;
    }

    .hot-chart__item {
        grid-template-columns: 36px minmax(0, 1fr) auto;
        gap: 10px;
        padding: 11px 0;
    }

    .hot-chart__rank {
        font-size: 21px;
    }

    .home-app {
        margin-top: 32px;
        padding: 24px 18px;
    }

    .home-app h2 {
        font-size: 2.25rem;
    }

    .app-deck {
        width: min(90vw, 275px);
        box-shadow: 7px 7px 0 var(--coral);
    }

    .app-deck__screen {
        min-height: 390px;
    }

    .channel-seo {
        margin-top: 36px;
        margin-bottom: 38px;
    }

    .channel-seo h2 {
        font-size: 1.9rem;
    }

    .channel-seo__copy p {
        font-size: 11.5px;
    }

    .archive-banner {
        padding-top: 30px;
    }

    .archive-title {
        font-size: clamp(2.6rem, 13vw, 3.5rem);
    }

    .archive-desc {
        font-size: 11px;
    }

    .channel-filters {
        margin-top: 20px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .channel-filters::-webkit-scrollbar {
        display: none;
    }

    .channel-filter {
        flex: 0 0 auto;
        font-size: 8.5px;
    }

    .archive-content {
        padding-top: 28px;
    }

    .detail-hero {
        padding: 28px 0 32px;
    }

    .detail-poster {
        width: min(100%, 235px);
    }

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

    .detail-quick > div {
        padding: 9px 10px;
    }

    .detail-quick > div:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .detail-quick > div:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 253, 245, 0.18);
    }

    .detail-actions .channel-button {
        flex: 1 1 auto;
    }

    .detail-body,
    .play-body {
        padding-top: 27px;
    }

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

    .channel-episode {
        min-height: 35px;
        padding: 5px 7px;
    }

    .channel-player__screen {
        aspect-ratio: 4 / 3;
    }

    .play-header {
        padding-top: 22px;
        padding-bottom: 18px;
    }

    .play-title {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .play-title > span {
        display: block;
        width: max-content;
        margin: 6px 0 0;
        font-size: 9px;
    }

    .now-panel {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 12px;
        padding: 10px;
    }

    .now-panel__poster {
        grid-row: span 4;
    }

    .now-panel .channel-label {
        margin-top: 4px;
    }

    .now-panel dl,
    .now-panel .channel-button {
        grid-column: 2;
    }

    .now-panel h2 {
        font-size: 1.3rem;
    }

    .now-panel__name {
        margin-bottom: 7px;
    }

    .channel-pager {
        gap: 4px;
    }

    .channel-pager a,
    .channel-pager span {
        min-width: 31px;
        height: 31px;
        padding: 0 6px;
        font-size: 8.5px;
    }

    .channel-pager__arrow {
        font-size: 0 !important;
    }

    .channel-pager__arrow--prev::before {
        content: "←";
        font-size: 14px;
    }

    .channel-pager__arrow--next::before {
        content: "→";
        font-size: 14px;
    }

    .empty-signal {
        display: block;
    }

    .empty-signal__code {
        display: block;
        min-width: 0;
        padding: 10px 14px;
        text-align: left;
    }

    .empty-signal__body {
        padding: 15px 16px;
    }

    .app-hero {
        padding-top: 36px;
        padding-bottom: 38px;
    }

    .app-title {
        font-size: clamp(2.7rem, 12vw, 3.9rem);
    }

    .app-actions .channel-button {
        flex: 1 1 auto;
    }

    .app-deck--download {
        width: min(90vw, 275px);
    }

    .app-float {
        font-size: 7px;
    }

    .app-cta .channel-button {
        width: 100%;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .channel-faq summary {
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .channel-grid,
    .channel-grid--four,
    .channel-grid--three,
    .detail-main .channel-grid {
        grid-template-columns: 1fr;
    }

    .channel-card__poster {
        max-width: 220px;
    }

    .channel-episodes {
        grid-template-columns: 1fr;
    }

    .channel-title {
        font-size: 2.45rem;
    }

    .app-title {
        font-size: 2.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
