/* YXL cinema discovery page. Scoped to this extension; native playback is untouched. */
body.yxl-discover main { display: none !important; }
body.yxl-discover { background: #0b0d12; overflow-y: auto !important; }
#yxlCinemaHome[hidden] { display: none !important; }
#yxlCinemaHome { --yxl-gold: #e9bd80; --yxl-muted: #949ba9; position: absolute; top: 0; left: 0; width: 100%; z-index: 2; isolation: isolate; background: #0b0d12; color: #f5f3ef; min-height: 100vh; padding-top: 58px; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif; }
#yxlCinemaHome * { box-sizing: border-box; }
#yxlCinemaHome a { color: inherit; text-decoration: none; }
#yxlCinemaHome button, #yxlCinemaHome input, #yxlCinemaHome select { font: inherit; }
#yxlCinemaHome button, #yxlCinemaHome select { cursor: pointer; }
#yxlCinemaHome button:focus-visible, #yxlCinemaHome a:focus-visible, #yxlCinemaHome input:focus-visible, #yxlCinemaHome select:focus-visible { outline: 2px solid var(--yxl-gold); outline-offset: 5px; }
#yxlCinemaHome .yxl-shell { max-width: 1920px; margin: 0 auto; padding: 0 3.4vw; }
#yxlCinemaHome .yxl-nav { display: flex; align-items: center; gap: 32px; min-height: 66px; margin-bottom: 12px; white-space: nowrap; }
#yxlCinemaHome .yxl-nav a { color: #a7adba; font-size: 15px; position: relative; padding: 14px 0; }
#yxlCinemaHome .yxl-nav a.is-active { color: var(--yxl-gold); font-weight: 700; }
#yxlCinemaHome .yxl-nav a.is-active:after { content: ""; height: 3px; width: 20px; border-radius: 2px; background: var(--yxl-gold); position: absolute; bottom: 3px; left: calc(50% - 10px); }
#yxlCinemaHome .yxl-library-count { margin-left: auto; font-size: 12px; letter-spacing: .1em; color: #838b99; }
#yxlCinemaHome .yxl-hero { min-height: 400px; height: min(28vw,450px); position: relative; overflow: hidden; isolation: isolate; border-radius: 18px; background: #18212a; }
#yxlCinemaHome .yxl-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 35%; z-index: -3; }
#yxlCinemaHome .yxl-hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg,rgba(7,11,18,.94) 0%,rgba(7,11,18,.77) 32%,rgba(7,11,18,.1) 72%),linear-gradient(0deg,rgba(7,11,18,.88),transparent 36%); }
#yxlCinemaHome .yxl-hero-copy { padding: 48px 4.1%; max-width: 680px; height: calc(100% - 44px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
#yxlCinemaHome .yxl-eyebrow { display: flex; align-items: center; gap: 9px; color: #f2d7b0; font-size: 12px; letter-spacing: .15em; margin-bottom: 21px; }
#yxlCinemaHome .yxl-eyebrow i { width: 5px; height: 5px; background: #e9bd80; border-radius: 50%; }
#yxlCinemaHome .yxl-eyebrow span { margin-left: 13px; opacity: .55; font-size: 10px; letter-spacing: .2em; }
#yxlCinemaHome .yxl-hero h1 { font-size: clamp(32px,3.1vw,55px); letter-spacing: -.04em; line-height: 1.25; margin: 0 0 18px; font-weight: 750; text-shadow: 0 2px 25px #0005; }
#yxlCinemaHome .yxl-hero-meta { display: flex; gap: 16px; align-items: center; color: #dddfe3; font-size: 13px; }
#yxlCinemaHome .yxl-hero-meta strong { color: var(--yxl-gold); }
#yxlCinemaHome .yxl-hero-summary { color: #b7bdc8; font-size: 13px; line-height: 1.9; max-width: 510px; margin: 19px 0 25px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#yxlCinemaHome .yxl-hero-actions { display: flex; gap: 12px; align-items: center; }
#yxlCinemaHome .yxl-primary, #yxlCinemaHome .yxl-secondary { display: inline-flex; gap: 12px; align-items: center; justify-content: center; padding: 13px 24px; border-radius: 7px; font-size: 14px; font-weight: 650; }
#yxlCinemaHome .yxl-primary { background: #e9bd80; color: #211b13; }
#yxlCinemaHome .yxl-secondary { background: #ffffff12; border: 1px solid #ffffff27; backdrop-filter: blur(10px); }
#yxlCinemaHome .yxl-hero-bottom { display: flex; justify-content: space-between; align-items: center; position: absolute; left: 4.1%; right: 3%; bottom: 22px; }
#yxlCinemaHome .yxl-hero-caption { font-size: 11px; letter-spacing: .12em; color: #b3bac6a8; }
#yxlCinemaHome .yxl-hero-controls { display: flex; align-items: center; gap: 10px; }
#yxlCinemaHome .yxl-hero-controls button { background: #ffffff12; border: 1px solid #ffffff25; color: #fff; border-radius: 50%; font-size: 24px; width: 33px; height: 33px; display: grid; place-items: center; line-height: 1; }
#yxlCinemaHome .yxl-hero-controls .yxl-dot { width: 6px; height: 6px; background: #fff6; padding: 0; border: 0; border-radius: 4px; }
#yxlCinemaHome .yxl-hero-controls .yxl-dot.is-active { width: 23px; background: var(--yxl-gold); }
#yxlCinemaHome .yxl-channels { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin: 24px 0 38px; }
#yxlCinemaHome .yxl-channel { position: relative; isolation: isolate; height: clamp(145px,10vw,175px); border-radius: 12px; overflow: hidden; background: #1b202b; border: 1px solid #ffffff14; }
#yxlCinemaHome .yxl-channel:after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#0a1024ed 5%,#0a102480 60%,#0a102420); }
#yxlCinemaHome .yxl-channel-marvel:after { background: linear-gradient(90deg,#300e19ed,#1e123182 65%,#0a102420); }
#yxlCinemaHome .yxl-channel-anime:after { background: linear-gradient(90deg,#13213eeb,#132b5060 70%,#0a102420); }
#yxlCinemaHome .yxl-channel-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: -2; }
#yxlCinemaHome .yxl-channel-text { padding: 22px 25px; height: 100%; display: flex; flex-direction: column; }
#yxlCinemaHome .yxl-channel-text > span { font-size: 9px; letter-spacing: .2em; color: #fff9; }
#yxlCinemaHome .yxl-channel h2 { margin: 8px 0; font-size: 24px; letter-spacing: .03em; }
#yxlCinemaHome .yxl-channel p { font-size: 11px; margin: 0; color: #d8deebb0; }
#yxlCinemaHome .yxl-channel small { font-size: 11px; color: #efe4d0; margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; }
#yxlCinemaHome .yxl-channel small b { font-size: 17px; }
#yxlCinemaHome .yxl-shelf { margin: 35px 0 40px; }
#yxlCinemaHome .yxl-section-head { display: flex; justify-content: space-between; align-items: center; margin: 0 0 18px; }
#yxlCinemaHome .yxl-section-head > div { display: flex; align-items: baseline; gap: 17px; }
#yxlCinemaHome .yxl-section-head h2 { margin: 0; font-size: 22px; font-weight: 680; letter-spacing: -.02em; }
#yxlCinemaHome .yxl-section-head span { font-size: 12px; color: #798392; }
#yxlCinemaHome .yxl-section-head > a { font-size: 12px; color: #acb2bf; }
#yxlCinemaHome .yxl-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 7 * 20px)/8); gap: 20px; overflow-x: auto; padding: 3px 1px 16px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #354052 transparent; }
#yxlCinemaHome .yxl-wall { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 30px 20px; }
#yxlCinemaHome .yxl-poster { min-width: 0; display: block; scroll-snap-align: start; }
#yxlCinemaHome .yxl-poster-art { aspect-ratio: 2/3; position: relative; border-radius: 9px; overflow: hidden; background: #191e28; box-shadow: 0 6px 14px #0003; }
#yxlCinemaHome .yxl-poster-img { width: 100%; height: 100%; object-fit: cover; }
#yxlCinemaHome .yxl-rating { position: absolute; bottom: 9px; right: 8px; border-radius: 4px; padding: 3px 6px; background: #111b; backdrop-filter: blur(4px); color: #ffcd70; font-size: 12px; font-weight: 750; }
#yxlCinemaHome .yxl-poster-play { position: absolute; inset: 0; display: grid; place-items: center; color: white; background: #0005; font-size: 27px; opacity: 0; }
#yxlCinemaHome .yxl-poster h3 { margin: 11px 0 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; font-weight: 600; }
#yxlCinemaHome .yxl-poster p { display: flex; gap: 8px; margin: 0; color: #778190; font-size: 11px; overflow: hidden; white-space: nowrap; }
#yxlCinemaHome .yxl-poster p span { overflow: hidden; text-overflow: ellipsis; }
#yxlCinemaHome .yxl-progress { position: absolute; left: 0; right: 0; bottom: 0; background: #ffffff50; height: 3px; }
#yxlCinemaHome .yxl-progress i { display: block; height: 100%; background: var(--yxl-gold); }
#yxlCinemaHome .yxl-footer { display: flex; align-items: center; gap: 20px; border-top: 1px solid #ffffff0c; padding: 30px 0 40px; margin-top: 48px; font-size: 12px; color: #697181; }
#yxlCinemaHome .yxl-footer > span { letter-spacing: .1em; color: #bca583; }
#yxlCinemaHome .yxl-footer a { margin-left: auto; }
#yxlCinemaHome .yxl-browse-heading { padding: 38px 0 30px; }
#yxlCinemaHome .yxl-kicker { letter-spacing: .2em; font-size: 11px; color: var(--yxl-gold); }
#yxlCinemaHome .yxl-browse-heading h1 { font-size: 36px; margin: 14px 0; }
#yxlCinemaHome .yxl-browse-heading p { font-size: 14px; color: var(--yxl-muted); }
#yxlCinemaHome .yxl-filterbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid #ffffff10; padding: 20px 0 26px; }
#yxlCinemaHome .yxl-filterbar > div { display: flex; align-items: center; gap: 20px; color: #8f99a8; font-size: 12px; }
#yxlCinemaHome .yxl-search { display: flex; align-items: center; gap: 10px; background: #171d27; border: 1px solid #ffffff10; padding: 9px 14px; border-radius: 7px; width: 310px; }
#yxlCinemaHome .yxl-search span { font-size: 23px; color: #acb4c3; line-height: 1; }
#yxlCinemaHome .yxl-search input { background: transparent; border: 0; color: white; min-width: 0; width: 100%; font-size: 13px; }
#yxlCinemaHome .yxl-filterbar select { background: #171d27; color: #c9ced8; border: 1px solid #ffffff10; border-radius: 6px; padding: 9px; font-size: 12px; }
#yxlCinemaHome .yxl-empty { padding: 55px; text-align: center; color: #adb4c1; }
@media (hover:hover) {
  #yxlCinemaHome .yxl-poster:hover h3, #yxlCinemaHome .yxl-nav a:hover { color: var(--yxl-gold); }
  #yxlCinemaHome .yxl-poster:hover .yxl-poster-play { opacity: 1; }
  #yxlCinemaHome .yxl-channel:hover, #yxlCinemaHome .yxl-poster:hover .yxl-poster-art { outline: 1px solid #e9bd8070; }
}
@media (prefers-reduced-motion:no-preference) {
  #yxlCinemaHome .yxl-poster-play { transition: opacity .18s; }
  #yxlCinemaHome .yxl-channel-img { transition: transform .35s; }
  #yxlCinemaHome .yxl-channel:hover .yxl-channel-img { transform: scale(1.04); }
}
@media (max-width:1200px) {
  #yxlCinemaHome .yxl-row { grid-auto-columns: calc((100% - 5 * 16px)/6); gap: 16px; }
  #yxlCinemaHome .yxl-wall { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 25px 16px; }
  #yxlCinemaHome .yxl-channel-text { padding: 19px; }
  #yxlCinemaHome .yxl-hero { min-height: 400px; }
}
@media (max-width:760px) {
  #yxlCinemaHome { padding-top: 58px; }
  #yxlCinemaHome .yxl-shell { padding: 0 18px; }
  #yxlCinemaHome .yxl-nav { gap: 25px; overflow-x: auto; min-height: 55px; margin-bottom: 8px; scrollbar-width: none; }
  #yxlCinemaHome .yxl-nav a { font-size: 14px; }
  #yxlCinemaHome .yxl-library-count { display: none; }
  #yxlCinemaHome .yxl-hero { min-height: 490px; height: 63vh; max-height: 600px; border-radius: 12px; }
  #yxlCinemaHome .yxl-hero-img { object-position: 66% 20%; }
  #yxlCinemaHome .yxl-hero-shade { background: linear-gradient(0deg,#070b12 0%,#070b12db 23%,#070b1260 62%,#070b1205); }
  #yxlCinemaHome .yxl-hero-copy { justify-content: flex-end; padding: 26px 22px 25px; max-width: none; }
  #yxlCinemaHome .yxl-eyebrow { font-size: 10px; margin-bottom: 14px; }
  #yxlCinemaHome .yxl-eyebrow span { display: none; }
  #yxlCinemaHome .yxl-hero h1 { font-size: 30px; max-width: 350px; margin-bottom: 15px; }
  #yxlCinemaHome .yxl-hero-meta { gap: 10px; font-size: 11px; flex-wrap: wrap; }
  #yxlCinemaHome .yxl-hero-summary { font-size: 12px; -webkit-line-clamp: 2; margin: 14px 0 20px; }
  #yxlCinemaHome .yxl-primary, #yxlCinemaHome .yxl-secondary { padding: 11px 15px; font-size: 12px; gap: 8px; }
  #yxlCinemaHome .yxl-hero-caption { display: none; }
  #yxlCinemaHome .yxl-hero-bottom { justify-content: center; bottom: 14px; }
  #yxlCinemaHome .yxl-hero-controls > button:first-child, #yxlCinemaHome .yxl-hero-controls > button:last-child { width: 26px; height: 26px; font-size: 20px; }
  #yxlCinemaHome .yxl-channels { gap: 10px; margin: 17px 0 28px; }
  #yxlCinemaHome .yxl-channel { height: 125px; border-radius: 9px; }
  #yxlCinemaHome .yxl-channel-text { padding: 13px 11px; justify-content: flex-end; }
  #yxlCinemaHome .yxl-channel-text > span { font-size: 7px; letter-spacing: .04em; }
  #yxlCinemaHome .yxl-channel h2 { font-size: 17px; margin: 8px 0 4px; white-space: nowrap; }
  #yxlCinemaHome .yxl-channel p { display: none; }
  #yxlCinemaHome .yxl-channel small { font-size: 10px; margin-top: 0; padding-top: 5px; }
  #yxlCinemaHome .yxl-channel small b { display: none; }
  #yxlCinemaHome .yxl-section-head h2 { font-size: 19px; }
  #yxlCinemaHome .yxl-section-head > div > span { display: none; }
  #yxlCinemaHome .yxl-row { grid-auto-columns: calc((100% - 2 * 12px)/3); gap: 12px; }
  #yxlCinemaHome .yxl-wall { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px 12px; }
  #yxlCinemaHome .yxl-poster h3 { font-size: 12px; }
  #yxlCinemaHome .yxl-poster p span { display: none; }
  #yxlCinemaHome .yxl-poster-art { border-radius: 7px; }
  #yxlCinemaHome .yxl-section-head { margin-bottom: 14px; }
  #yxlCinemaHome .yxl-shelf { margin: 27px 0 30px; }
  #yxlCinemaHome .yxl-footer { flex-wrap: wrap; gap: 6px 14px; padding-bottom: 80px; }
  #yxlCinemaHome .yxl-footer p { display: none; }
  #yxlCinemaHome .yxl-browse-heading { padding: 24px 0 20px; }
  #yxlCinemaHome .yxl-browse-heading h1 { font-size: 29px; }
  #yxlCinemaHome .yxl-filterbar { flex-wrap: wrap; }
  #yxlCinemaHome .yxl-search { width: 100%; }
  #yxlCinemaHome .yxl-filterbar > div { width: 100%; justify-content: space-between; }
}

/* 20260922.3: featured collections plus six genre views. */
#yxlCinemaHome .yxl-nav { gap: 24px; flex-wrap: wrap; padding: 10px 0; }
#yxlCinemaHome .yxl-category-section { margin: 28px 0 34px; }
#yxlCinemaHome .yxl-category-section .yxl-channels { margin: 0; }
#yxlCinemaHome .yxl-genres .yxl-channel h2 { font-size: 22px; }
#yxlCinemaHome .yxl-channel-heart:after { background: linear-gradient(90deg,#392016ee,#39201690 65%,#0a102440); }
#yxlCinemaHome .yxl-channel-war:after { background: linear-gradient(90deg,#262b20ee,#262b2090 65%,#0a102440); }
@media (max-width:760px) {
  #yxlCinemaHome .yxl-nav { flex-wrap: nowrap; gap: 23px; padding: 0; }
  #yxlCinemaHome .yxl-nav a { flex-shrink: 0; }
  #yxlCinemaHome .yxl-genres { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #yxlCinemaHome .yxl-genres .yxl-channel h2 { font-size: 16px; white-space: normal; }
  #yxlCinemaHome .yxl-category-section { margin: 24px 0; }
}
