.category-channel-page { min-height: 100vh; background: #09090c; }
.category-channel-page::before {
  content: ""; position: fixed; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 18% 4%, rgba(255, 47, 109, .09), transparent 34%), radial-gradient(circle at 86% 20%, rgba(133, 93, 255, .08), transparent 30%);
}
.channel-hero { --channel-accent-hue: 342; }
.channel-accent-hue-2 { --channel-accent-hue: 2; }
.channel-accent-hue-5 { --channel-accent-hue: 5; }
.channel-accent-hue-12 { --channel-accent-hue: 12; }
.channel-accent-hue-25 { --channel-accent-hue: 25; }
.channel-accent-hue-178 { --channel-accent-hue: 178; }
.channel-accent-hue-194 { --channel-accent-hue: 194; }
.channel-accent-hue-214 { --channel-accent-hue: 214; }
.channel-accent-hue-230 { --channel-accent-hue: 230; }
.channel-accent-hue-248 { --channel-accent-hue: 248; }
.channel-accent-hue-270 { --channel-accent-hue: 270; }
.channel-accent-hue-284 { --channel-accent-hue: 284; }
.channel-accent-hue-292 { --channel-accent-hue: 292; }
.channel-accent-hue-304 { --channel-accent-hue: 304; }
.channel-accent-hue-316 { --channel-accent-hue: 316; }
.channel-accent-hue-325 { --channel-accent-hue: 325; }
.channel-accent-hue-330 { --channel-accent-hue: 330; }
.channel-accent-hue-337 { --channel-accent-hue: 337; }
.channel-accent-hue-342 { --channel-accent-hue: 342; }
.channel-accent-hue-348 { --channel-accent-hue: 348; }
.channel-accent-hue-350 { --channel-accent-hue: 350; }
.category-header__links { display: flex; align-items: center; gap: 8px; }
.category-header__links .icon-button { width: auto; padding-inline: 13px; }
.channel-hero { position: relative; min-height: clamp(510px, 63vw, 720px); overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.channel-hero__art {
  position: absolute; inset: 0; display: grid; place-items: center; width: 100%; height: 100%;
  background: radial-gradient(circle at 74% 28%, hsl(var(--channel-accent-hue) 82% 56% / .36), transparent 26%), linear-gradient(135deg, hsl(var(--channel-accent-hue) 28% 19%), #0c0c12 68%);
  background-position: center 28%; background-size: cover; filter: saturate(.9) contrast(1.04); transform: scale(1.025);
}
.channel-hero__art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.channel-hero__art span { color: hsl(var(--channel-accent-hue) 72% 85% / .22); font-size: clamp(12rem, 36vw, 34rem); font-weight: 950; letter-spacing: -.08em; text-transform: uppercase; }
.channel-hero__art.has-artwork span { display: none; }
.channel-hero__wash {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 7, 10, .98) 0%, rgba(7, 7, 10, .76) 43%, rgba(7, 7, 10, .22) 78%), linear-gradient(0deg, #09090c 0%, rgba(9, 9, 12, .35) 40%, rgba(9, 9, 12, .08) 75%);
}
.channel-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .82fr) minmax(380px, .9fr); align-items: end; gap: clamp(34px, 6vw, 96px); min-height: clamp(510px, 63vw, 720px); padding-block: clamp(78px, 9vw, 120px) clamp(54px, 7vw, 88px); }
.channel-hero__identity { align-self: center; max-width: 680px; }
.channel-hero__identity h1 { margin: 8px 0 16px; font-size: clamp(4rem, 10vw, 9rem); line-height: .83; letter-spacing: -.078em; text-shadow: 0 18px 70px rgba(0, 0, 0, .62); }
.channel-hero__identity > p:not(.eyebrow) { max-width: 58ch; margin: 0; color: #d1d0d7; font-size: clamp(.96rem, 1.25vw, 1.12rem); line-height: 1.65; }
.channel-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.channel-feature { align-self: end; overflow: hidden; min-width: 0; border: 1px solid rgba(255, 255, 255, .15); border-radius: 25px; background: rgba(13, 13, 17, .82); box-shadow: 0 32px 90px rgba(0, 0, 0, .46); backdrop-filter: blur(18px); }
.channel-feature.is-loading { min-height: 315px; display: grid; place-items: center; align-content: center; gap: 12px; color: var(--muted); }
.channel-feature__skeleton { width: 58px; height: 58px; border: 3px solid rgba(255, 255, 255, .11); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.channel-feature__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #131318; color: white; }
.channel-feature__media::after, .channel-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .5), transparent 55%); pointer-events: none; }
.channel-feature__media img, .channel-card__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .36s ease, filter .25s ease; }
@media (hover: hover) and (pointer: fine) {
  .channel-feature__media:hover img, .channel-card__media:hover img { transform: scale(1.035); filter: brightness(.88); }
}
.channel-feature__label { position: absolute; z-index: 3; top: 14px; left: 14px; padding: 7px 10px; border-radius: 999px; background: rgba(255, 47, 109, .92); font-size: .67rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.channel-feature__play, .channel-card__play { position: absolute; z-index: 3; inset: 50% auto auto 50%; display: grid; place-items: center; width: 54px; height: 54px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255, 47, 109, .94); box-shadow: 0 12px 32px rgba(0, 0, 0, .38); font-size: 1.1rem; }
.channel-feature__copy { padding: 20px 22px 23px; }
.channel-feature__copy h2 { margin: 0; font-size: clamp(1.18rem, 2vw, 1.55rem); line-height: 1.22; }
.channel-feature__copy h2 a { color: inherit; text-decoration: none; }
.channel-feature__copy h2 a:hover { color: var(--accent); }
.channel-feature__meta, .channel-card__meta { display: flex; flex-wrap: wrap; gap: 7px 13px; margin: 10px 0 0; color: var(--subtle); font-size: .76rem; }
.channel-body { padding-top: clamp(48px, 6vw, 84px); padding-bottom: 100px; }
.channel-notice { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; padding: 16px 18px; border: 1px solid rgba(255, 112, 128, .35); border-radius: 14px; background: rgba(255, 67, 84, .08); color: #ffd7dc; }
.channel-notice .button { flex: 0 0 auto; min-height: 44px; }
.channel-shelf + .channel-shelf, .channel-explore { margin-top: clamp(62px, 7vw, 92px); }
.channel-shelf { scroll-margin-top: 88px; }
.channel-shelf__heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.channel-shelf__heading h2 { margin: 5px 0 0; font-size: clamp(1.75rem, 3.4vw, 2.65rem); letter-spacing: -.045em; }
.channel-shelf__heading > span { color: var(--subtle); font-size: .74rem; font-weight: 780; text-transform: uppercase; letter-spacing: .08em; }
.channel-shelf__heading > a { color: var(--accent); font-size: .82rem; font-weight: 800; text-decoration: none; }
.channel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 16px; min-height: 250px; }
.channel-card { min-width: 0; }
.channel-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(255, 255, 255, .07); border-radius: 15px; background: #15151a; color: white; box-shadow: 0 14px 36px rgba(0, 0, 0, .2); }
.channel-card__play { width: 46px; height: 46px; opacity: 0; transform: translate(-50%, -44%) scale(.88); transition: opacity .2s, transform .2s; }
.channel-card__media:hover .channel-card__play, .channel-card__media:focus-visible .channel-card__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.channel-card__duration { position: absolute; z-index: 3; right: 9px; bottom: 8px; padding: 4px 7px; border-radius: 7px; background: rgba(0, 0, 0, .78); font-size: .7rem; font-weight: 850; }
.channel-card__body { padding: 12px 3px 0; }
.channel-card__body h3 { min-height: 2.64em; margin: 0; overflow: hidden; font-size: .94rem; line-height: 1.32; }
.channel-card__body h3 a { display: -webkit-box; color: #efeff3; text-decoration: none; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.channel-card__body h3 a:hover { color: var(--accent); }
.channel-empty { grid-column: 1 / -1; display: grid; place-items: center; min-height: 230px; padding: 40px; border: 1px dashed var(--border); border-radius: 18px; color: var(--muted); text-align: center; }
.channel-skeleton { min-width: 0; }
.channel-skeleton::before { content: ""; display: block; aspect-ratio: 16 / 9; border-radius: 15px; background: linear-gradient(100deg, #15151a 20%, #202027 40%, #15151a 60%); background-size: 220% 100%; animation: channel-shimmer 1.25s infinite linear; }
.channel-skeleton::after { content: ""; display: block; width: 72%; height: 13px; margin: 13px 3px; border-radius: 999px; background: #19191e; }
@keyframes channel-shimmer { to { background-position: -220% 0; } }
.channel-explore__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.channel-explore__card { position: relative; display: flex; align-items: end; min-height: 150px; overflow: hidden; padding: 16px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 17px; color: white; text-decoration: none; box-shadow: 0 16px 38px rgba(0, 0, 0, .2); }
.channel-explore__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.channel-explore__fallback { --entity-hue: 342; position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 70% 20%, hsl(var(--entity-hue) 82% 56% / .32), transparent 34%), linear-gradient(145deg, hsl(var(--entity-hue) 26% 18%), #0d0d12); color: hsl(var(--entity-hue) 74% 88% / .65); font-size: 2.5rem; font-weight: 950; }
.entity-accent-hue-2 { --entity-hue: 2; }
.entity-accent-hue-5 { --entity-hue: 5; }
.entity-accent-hue-12 { --entity-hue: 12; }
.entity-accent-hue-25 { --entity-hue: 25; }
.entity-accent-hue-178 { --entity-hue: 178; }
.entity-accent-hue-194 { --entity-hue: 194; }
.entity-accent-hue-214 { --entity-hue: 214; }
.entity-accent-hue-230 { --entity-hue: 230; }
.entity-accent-hue-248 { --entity-hue: 248; }
.entity-accent-hue-270 { --entity-hue: 270; }
.entity-accent-hue-284 { --entity-hue: 284; }
.entity-accent-hue-292 { --entity-hue: 292; }
.entity-accent-hue-304 { --entity-hue: 304; }
.entity-accent-hue-316 { --entity-hue: 316; }
.entity-accent-hue-325 { --entity-hue: 325; }
.entity-accent-hue-330 { --entity-hue: 330; }
.entity-accent-hue-337 { --entity-hue: 337; }
.entity-accent-hue-342 { --entity-hue: 342; }
.entity-accent-hue-348 { --entity-hue: 348; }
.entity-accent-hue-350 { --entity-hue: 350; }
.channel-explore__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 6, 9, .92), rgba(6, 6, 9, .05) 78%); }
.channel-explore__card strong { position: relative; z-index: 2; font-size: .9rem; }
.channel-explore__card:hover img { transform: scale(1.045); }
@media (max-width: 1100px) {
  .channel-hero__inner { grid-template-columns: minmax(0, .75fr) minmax(360px, 1fr); gap: 34px; }
  .channel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .channel-explore__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .category-header__links { order: 2; margin-left: auto; }
  .category-search { order: 3; flex-basis: 100%; }
  .channel-hero { min-height: auto; }
  .channel-hero__wash { background: linear-gradient(0deg, #09090c 0%, rgba(7, 7, 10, .78) 55%, rgba(7, 7, 10, .28)); }
  .channel-hero__inner { display: flex; flex-direction: column; align-items: stretch; min-height: auto; padding-top: 82px; padding-bottom: 48px; }
  .channel-hero__identity { align-self: auto; }
  .channel-hero__identity h1 { font-size: clamp(4rem, 18vw, 7.2rem); }
  .channel-feature { width: min(620px, 100%); }
  .channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .category-header__links .icon-button { min-height: 40px; padding-inline: 10px; font-size: .72rem; }
  .channel-hero__art { object-position: 58% center; }
  .channel-hero__inner { gap: 30px; padding-top: 64px; padding-bottom: 36px; }
  .channel-hero__identity h1 { margin-bottom: 12px; font-size: clamp(3.6rem, 22vw, 5.8rem); }
  .channel-hero__identity > p:not(.eyebrow) { font-size: .9rem; line-height: 1.55; }
  .channel-hero__actions .button { flex: 1 1 100%; }
  .channel-feature { border-radius: 19px; }
  .channel-feature__copy { padding: 16px 17px 19px; }
  .channel-body { padding-top: 42px; padding-bottom: 74px; }
  .channel-notice { align-items: stretch; flex-direction: column; }
  .channel-shelf + .channel-shelf, .channel-explore { margin-top: 58px; }
  .channel-shelf__heading { align-items: start; flex-direction: column; gap: 7px; margin-bottom: 17px; }
  .channel-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .channel-card__media { border-radius: 16px; }
  .channel-card__play { opacity: 1; transform: translate(-50%, -50%) scale(.88); }
  .channel-card__body { padding-top: 11px; }
  .channel-card__body h3 { min-height: 0; font-size: 1rem; }
  .channel-card__meta { font-size: .78rem; }
  .channel-explore__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channel-explore__card { min-height: 125px; padding: 13px; }
}
/* Keep frame swaps out of layout and avoid backdrop repainting while a touch
   viewport scrolls between the feature and shelf. Desktop effects stay scoped
   to an actual hover-capable pointer. */
@media (hover: none), (pointer: coarse) {
  .category-channel-page .site-header { background: #09090b; backdrop-filter: none; }
  .channel-feature { background: #101014; backdrop-filter: none; }
  .channel-hero__art { filter: none; transform: none; }
  .channel-feature__media img, .channel-card__media img { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  .channel-feature__media img, .channel-card__media img, .channel-explore__card img { transition: none; }
  .channel-skeleton::before, .channel-feature__skeleton { animation: none; }
}
