/* Phone layout, DigitalPlex-style (2026-12-03) — js/mobile.js builds the pieces. Desktop (>820px) is unchanged:
   everything below is either inside the phone media query or only exists on the phone pages. */
.m-dbtn, .m-title, .m-bar, .m-drawer, .m-veil, .m-sheet, .m-cat, .m-n, .m-all, .m-meta, .m-gen, .m-on { display: none; }

/* Search / Explore pages (reached from the phone bar; they also work on a wide screen) */
.m-sform { display: flex; margin: 4px 0 14px; border: 1.5px solid #d9dfea; border-radius: 10px; overflow: hidden; background: #fff; }
.m-sform:focus-within { border-color: var(--navy); }
.m-sform input { flex: 1; min-width: 0; border: 0; outline: 0; height: 48px; padding: 0 14px; font-size: 16px; color: var(--ink); background: transparent; }
.m-sform button { width: 54px; border: 0; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; }
.m-rh { display: flex; justify-content: space-between; align-items: center; margin: 2px 0 8px; font-size: 14px; color: var(--ink); }
.m-rh a { color: var(--red); font-size: 13px; }
.m-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.m-chips.m-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)) 12px; padding: 0 var(--gutter); }
.m-chips.m-scroll::-webkit-scrollbar { display: none; }
.m-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border: 1px solid #d9dfea; border-radius: 999px; background: #fff; color: var(--ink); font: 500 14px/1 Arial, sans-serif; cursor: pointer; white-space: nowrap; }
.m-chip .mi { width: 15px; height: 15px; color: #8a93a8; }
.m-chip.on { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 3px 10px rgba(227,13,13,.25); }
.m-exbar { display: flex; margin: 4px 0 10px; }
.m-seg { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #eef1f6; }
.m-seg button { flex: 1; height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: #4a5370; font: 600 14px/1 Arial, sans-serif; cursor: pointer; white-space: nowrap; }
.m-seg button.on { background: var(--navy); color: #fff; box-shadow: 0 2px 8px rgba(6,4,61,.25); }
.m-ktab { flex: 1; }
.m-ttab { margin: 0 0 12px; }
.m-opts { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.m-dd { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 10px; border: 1px solid #d9dfea; border-radius: 8px; background: #fff; color: #6b7390; font: 13px/1 Arial, sans-serif; cursor: pointer; }
.m-dd b { color: var(--ink); }
.m-dd .mi { width: 16px; height: 16px; }
.m-cnt { margin-left: auto; color: #8a93a8; font-size: 12px; white-space: nowrap; }
.m-head span { color: var(--navy); }
.m-end { height: 1px; }
.mi { width: 22px; height: 22px; flex: none; }

@media (max-width: 820px) {
  :root { --gutter: 12px; --mbar: 64px; }
  body.m-ready { padding-bottom: calc(var(--mbar) + env(safe-area-inset-bottom)); background: #f5f6fa; }
  body.m-dopen, body.m-sopen { overflow: hidden; }

  /* top bar: ≡ + logo (Search / Explore: ≡ + page name) */
  .m-ready .topbar { height: 62px; min-height: 0; flex-wrap: nowrap; padding: 0 12px; gap: 10px; box-shadow: 0 1px 6px rgba(6,4,61,.08); }
  .m-ready .topbar::after { height: 2px; }
  .m-ready .burger, .m-ready .mainnav, .m-ready .mainnav.show { display: none !important; }
  .m-ready .logotype { height: 62px; padding: 0; border: 0; }
  .m-ready .brand-logo { height: 46px; }
  .m-dbtn { display: flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #eef1f6; color: var(--navy); cursor: pointer; }
  .m-title { display: block; font-size: 19px; font-weight: 700; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-pg .logotype { display: none; }

  /* bottom bar */
  .m-bar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; height: calc(var(--mbar) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid #e6e9f0; box-shadow: 0 -4px 16px rgba(6,4,61,.08); }
  .m-tab, .m-mid { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #7a829c; font-size: 11.5px; text-decoration: none; }
  .m-tab.on { color: var(--red); font-weight: 700; }
  .m-mid i { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-top: -26px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--blue) 55%, var(--red)); color: #fff; box-shadow: 0 6px 16px rgba(6,4,61,.35); border: 4px solid #fff; }
  .m-mid i .mi { width: 26px; height: 26px; }
  .m-mid span { margin-top: 1px; }
  .m-mid.on span { color: var(--red); font-weight: 700; }
  .m-dot { position: absolute; top: 9px; left: 50%; margin-left: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--red); border: 2px solid #fff; }
  .footer { padding: 16px 12px; font-size: 13px; }

  /* drawer */
  .m-veil { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(6,4,61,.45); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .m-dopen .m-veil, .m-sopen .m-veil { opacity: 1; pointer-events: auto; }
  .m-drawer { display: flex; flex-direction: column; position: fixed; top: 0; bottom: 0; left: 0; z-index: 100; width: min(84vw, 340px); background: #fff; transform: translateX(-102%); transition: transform .28s ease; box-shadow: 6px 0 24px rgba(0,0,0,.2); }
  .m-dopen .m-drawer { transform: none; }
  .m-dhead { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px 8px 14px; border-bottom: 2px solid transparent; border-image: var(--brand-grad) 1; }
  .m-dhead img { height: 50px; width: auto; }
  .m-x { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #eef1f6; color: var(--navy); cursor: pointer; }
  .m-dbody { flex: 1; overflow-y: auto; padding: 4px 14px 24px; overscroll-behavior: contain; }
  .m-dload { padding: 20px 4px; color: #8a93a8; }
  .m-sec { margin: 16px 2px 6px; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #8a93a8; }
  .m-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 6px; border-bottom: 1px solid #eef1f6; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
  .m-row.on { color: var(--red); }
  .m-row.off { color: #a6adbf; }
  .m-row b { min-width: 26px; padding: 3px 8px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; text-align: center; }
  .m-row .m-ext { font-style: normal; color: #8a93a8; }
  .m-fh { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 46px; padding: 0 6px; border: 0; border-bottom: 1px solid #eef1f6; background: none; color: var(--ink); font: 500 15px/1 Arial, sans-serif; cursor: pointer; }
  .m-chev { width: 18px; height: 18px; color: #8a93a8; transition: transform .2s; }
  .m-fold.open .m-chev { transform: rotate(90deg); }
  .m-fb { display: none; padding-left: 10px; }
  .m-fold.open .m-fb { display: block; }
  .m-fb .m-row { font-weight: 500; font-size: 14px; }

  /* bottom sheets: Contact Us, Sort / Year */
  .m-sheet { display: flex; flex-direction: column; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; max-height: 86vh; background: #fff; border-radius: 18px 18px 0 0; transform: translateY(105%); transition: transform .28s ease; box-shadow: 0 -8px 30px rgba(0,0,0,.2); padding-bottom: env(safe-area-inset-bottom); }
  .m-sheet.show { transform: none; }
  .m-shead { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 10px 18px; border-bottom: 1px solid #eef1f6; font-size: 17px; color: var(--navy); }
  .m-sbody { overflow-y: auto; padding: 8px 14px 18px; }
  .m-ct .ct-drop { display: block !important; position: static !important; width: auto !important; min-width: 0; box-shadow: none; border: 0; padding: 0; background: none; }
  .m-ct .ct-box { max-height: none; }
  .m-ct a.ct-item { padding: 14px 8px; font-size: 16px; border-bottom: 1px solid #eef1f6; }
  .m-radio { display: flex; align-items: center; gap: 12px; width: 100%; height: 48px; padding: 0 6px; border: 0; border-bottom: 1px solid #eef1f6; background: none; color: var(--ink); font: 15px/1 Arial, sans-serif; text-align: left; cursor: pointer; }
  .m-radio i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #b9c0cf; flex: none; }
  .m-radio.on { color: var(--red); font-weight: 700; }
  .m-radio.on i { border: 6px solid var(--red); }
  #mPickB { max-height: 60vh; }

  /* hero slider: one title at a time */
  .slider.m-hero { padding: 0; border: 0; height: 300px; overflow: hidden; background: var(--navy); }
  .m-hero .sl-track { position: relative; height: 100%; }
  .m-slide { position: absolute; inset: 0; display: flex; align-items: flex-end; opacity: 0; transition: opacity .6s; pointer-events: none; color: #fff; text-decoration: none; }
  .m-slide.on { opacity: 1; pointer-events: auto; }
  .m-sbg { position: absolute; inset: -20px; background: #06043d center / cover no-repeat; filter: blur(14px) brightness(.45); transform: scale(1.1); }
  .m-spst { position: absolute; right: 18px; top: 50%; transform: translateY(-58%); width: 120px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 28px rgba(0,0,0,.5); }
  .m-stx { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 0 150px 46px 44px; }
  .m-stx em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 1px; padding: 5px 9px; border-radius: 4px; background: #1e9e4a; }
  .m-stx em.soon { background: var(--orange); }
  .m-stx b { font-size: 24px; line-height: 1.15; text-shadow: 0 2px 8px rgba(0,0,0,.6); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .m-stx small { font-size: 14px; color: rgba(255,255,255,.8); }
  .m-hero .sl-nav { width: 36px; height: 44px; font-size: 18px; background: rgba(6,4,61,.75); }
  .m-hero .sl-nav.prev { left: 0; border-radius: 0 22px 22px 0; }
  .m-hero .sl-nav.next { right: 0; border-radius: 22px 0 0 22px; }
  .m-hero .sl-dots { left: 0; right: 0; bottom: 18px; justify-content: center; gap: 6px; }
  .m-hero .sl-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.45); }
  .m-hero .sl-dots i.on { width: 20px; border-radius: 4px; background: var(--red); }

  /* sections: "Movies ——" then "English Movies 12 ...... See all ›" */
  .news { padding: 10px var(--gutter) 10px; }
  .home-sec { margin-bottom: 18px; }
  .m-cat { display: flex; align-items: center; gap: 14px; margin: 22px 0 6px; font-size: 26px; font-weight: 800; color: var(--navy); }
  .m-cat::after { content: ""; flex: 1; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--red), rgba(227,13,13,.15)); }
  .sub-head { position: relative; display: flex; align-items: baseline; gap: 10px; margin: 16px 0 14px; padding-bottom: 10px; border-bottom: 1px solid #e3e7ef; font-size: 21px; }
  .sub-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 50%; height: 3px; border-radius: 2px; background: var(--red); }
  .sub-head > a:first-child, .m-head span { color: var(--navy); font-weight: 800; }
  .m-n { display: inline; font-size: 14px; font-weight: 400; color: #8a93a8; }
  .m-all { display: inline; margin-left: auto; font-size: 14px; font-weight: 700; color: var(--red) !important; white-space: nowrap; }
  .sub-sec .more-wrap { display: none; }
  .pagehead { position: relative; margin: 16px var(--gutter) 0; padding-bottom: 10px; border-bottom: 1px solid #e3e7ef; font-size: 21px; font-weight: 800; }
  .pagehead::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 50%; height: 3px; border-radius: 2px; background: var(--red); }
  .btn-more { border-radius: 999px; padding: 11px 30px; }

  /* cards: poster on top, title / year • language / genres under it */
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .post { aspect-ratio: auto; display: flex; flex-direction: column; background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(6,4,61,.08); }
  .post .image { position: relative; inset: auto; display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 8px 8px 0 0; background: #dfe3ec; }
  .post:hover .image img { transform: none; }
  .post .block { position: static; height: auto; padding: 9px 10px 11px; background: none; }
  .post .day-views { display: none; }
  .post .title { display: block; font-size: 15px; font-weight: 700; }
  .m-meta { display: block; margin-top: 4px; font-size: 12.5px; color: #6b7390; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 15px; }
  .m-gen { display: block; margin-top: 3px; font-size: 12px; color: var(--red); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-on { display: block; position: absolute; top: 8px; left: 8px; z-index: 3; padding: 4px 7px; border-radius: 4px; background: #1e9e4a; color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .5px; pointer-events: none; }
  .watch-tag { top: 8px; left: 8px; font-size: 10px; padding: 4px 7px; border-radius: 4px; }
  .day-group { gap: 0; }

  /* Explore: three small cards a row */
  .m-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .m-grid3 .post { border-radius: 6px; }
  .m-grid3 .post .image { border-radius: 6px 6px 0 0; }
  .m-grid3 .post .block { padding: 6px 7px 8px; }
  .m-grid3 .post .title { font-size: 12.5px; }
  .m-grid3 .m-meta, .m-grid3 .m-gen { display: none; }
  .m-grid3 .m-on, .m-grid3 .watch-tag { top: 5px; left: 5px; font-size: 9px; padding: 3px 5px; }
  .m-explore, .m-search { padding-top: 12px; }

  /* player page */
  .player-page { padding-bottom: 8px; }
}

/* 2026-12-03: year / genre links, trailer in the player box, hero ▶ Trailer */
.day-views a.view:hover, .m-meta a:hover, .m-gen a:hover, a.pl-link:hover { text-decoration: underline; }
a.pl-link { color: var(--blue); }
.m-gen a { color: inherit; }
.stage.has-tr { aspect-ratio: auto; max-height: none; }
.stage.has-tr .tr-frame { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 72vh; border: 0; background: #000; }
.stage.has-tr .stage-cover { position: static; padding: 14px 8% 16px; }
.stage.has-tr .stage-cover h2 { font-size: 20px; margin-bottom: 6px; }
.stage.has-tr .stage-cover p { font-size: 14px; line-height: 1.5; }
.stage.has-tr .stage-cover .bigplay { transform: scale(.7); margin-top: 4px; }
.m-trb { display: none; }
.m-trm { display: none; position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.8); align-items: center; justify-content: center; padding: 12px; }
.m-trm.show { display: flex; }
.m-trbox { width: min(960px, 100%); background: #000; border-radius: 10px; overflow: hidden; }
.m-trh { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 14px; color: #fff; font-size: 15px; }
.m-trh .m-x { display: flex; }
.m-trv iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
@media (max-width: 820px) {
  .m-hero .m-trb { display: inline-flex; align-items: center; gap: 6px; position: absolute; left: 44px; bottom: 44px; z-index: 6; height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font: 700 13px/1 Arial, sans-serif; box-shadow: 0 4px 12px rgba(227,13,13,.4); }
  .m-hero .m-trb[hidden] { display: none; }
  .m-hero:has(.m-trb:not([hidden])) .m-stx { padding-bottom: 88px; }
  .m-meta a { color: inherit; }
}
/* the year alone on the card (no "1 month ago" before it): no bullet in front */
.day-views a.view:first-child::before { content: none; }

/* accounts: Login / Register / My Profile (2026-12-03) — phone and desktop */
.m-acc { padding-top: 18px; }
.m-auth { max-width: 460px; margin: 0 auto 30px; display: flex; flex-direction: column; gap: 14px; }
.m-acard { background: #fff; border: 1px solid #e3e7ef; border-radius: 14px; padding: 20px 18px; box-shadow: 0 4px 18px rgba(6,4,61,.06); }
.m-acard h1 { margin: 0 0 4px; font-size: 24px; color: var(--navy); }
.m-acard h2 { margin: 0 0 12px; font-size: 17px; color: var(--navy); }
.m-sub { margin: 0 0 16px; color: #6b7390; font-size: 14px; }
.m-f { display: block; margin-bottom: 12px; }
.m-f span { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 700; color: #4a5370; }
.m-f input { width: 100%; height: 46px; padding: 0 12px; border: 1.5px solid #d9dfea; border-radius: 10px; font-size: 16px; color: var(--ink); background: #fff; outline: 0; }
.m-f input:focus { border-color: var(--navy); }
.m-btn { width: 100%; height: 48px; border: 0; border-radius: 10px; background: linear-gradient(90deg, var(--navy), var(--blue)); color: #fff; font: 700 16px/1 Arial, sans-serif; cursor: pointer; }
.m-btn:disabled { opacity: .6; }
.m-msg { min-height: 0; margin: 0 0 10px; font-size: 14px; }
.m-msg.err { color: var(--red); }
.m-msg.ok { color: #1e9e4a; }
.m-alt { margin: 14px 0 0; text-align: center; font-size: 14px; color: #6b7390; }
.m-alt a { color: var(--red); font-weight: 700; }
.m-phead { display: flex; align-items: center; gap: 14px; background: linear-gradient(120deg, var(--navy), var(--blue)); border: 0; color: #fff; }
.m-phead h1 { color: #fff; margin: 0; }
.m-phead .m-sub { color: rgba(255,255,255,.8); margin: 2px 0 0; }
.m-av { display: flex; align-items: center; justify-content: center; flex: none; width: 60px; height: 60px; border-radius: 50%; background: #fff; color: var(--navy); font: 800 26px/1 Arial, sans-serif; font-style: normal; }
.m-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.m-tbl td { padding: 9px 2px; border-bottom: 1px solid #eef1f6; }
.m-tbl td:first-child { width: 40%; color: #6b7390; }
.m-tbl td:last-child { color: var(--ink); font-weight: 600; word-break: break-word; }
.m-links { padding: 6px 12px; }
.m-links a, .m-links button { display: flex; align-items: center; gap: 12px; width: 100%; height: 50px; padding: 0 4px; border: 0; border-bottom: 1px solid #eef1f6; background: none; color: var(--ink); font: 600 15px/1 Arial, sans-serif; text-decoration: none; cursor: pointer; }
.m-links a span, .m-links button span { flex: 1; text-align: left; }
.m-links button { border-bottom: 0; color: var(--red); }
.m-links .m-chev { display: block; width: 18px; height: 18px; color: #8a93a8; }
.mainnav li.nav-acct > a { display: inline-flex; align-items: center; gap: 6px; }
.mainnav li.nav-acct .mi { width: 18px; height: 18px; }
.m-tab .mi + span + .m-dot { display: block; }
.m-dot[hidden] { display: none !important; }
.m-sheet:not(.show) { visibility: hidden; transition: transform .28s ease, visibility 0s .28s; }
@media (min-width: 821px) and (max-width: 1360px) { .mainnav li.nav-acct span { display: none; } }

/* Cast to TV (2026-12-03) */
.stage .cast-src { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; left: 0; top: 0; }
.cast-on { position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, #12205a, #000 75%); color: #fff; text-align: center; }
.cast-on[hidden] { display: none; }
.cast-on svg { width: 54px; height: 54px; color: var(--orange); }
.cast-on b { display: block; margin: 10px 0 4px; font-size: 20px; }
.cast-on small { display: block; color: #c9d3ea; font-size: 14px; }
.cast-on p { display: flex; gap: 10px; justify-content: center; margin: 16px 0 0; }
.cast-on p button { height: 40px; padding: 0 16px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font: 700 14px/1 Arial, sans-serif; cursor: pointer; }
.stage.casting .pc { display: none; }
.cast-toast { position: absolute; left: 50%; bottom: 70px; z-index: 7; transform: translateX(-50%); width: min(92%, 520px); padding: 10px 14px; border-radius: 10px; background: rgba(0,0,0,.85); color: #fff; font-size: 13.5px; line-height: 1.45; text-align: center; }

/* bubble player (2026-12-03) */
.bub-bar { display: none; }
.bub-ph[hidden] { display: none; }
.stage.bub { position: fixed !important; right: 12px; bottom: calc(var(--mbar, 0px) + 14px + env(safe-area-inset-bottom)); left: auto; top: auto; z-index: 160; width: min(360px, 62vw); height: auto; aspect-ratio: 16 / 9; max-height: none; margin: 0; border: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 12px 34px rgba(0,0,0,.45); touch-action: none; }
.stage.bub video { width: 100%; height: 100%; object-fit: contain; }
.stage.bub .pc, .stage.bub .stage-cover, .stage.bub .cast-on, .stage.bub .tr-frame { display: none !important; }
.stage.bub .bub-bar { display: flex; position: absolute; left: 0; right: 0; top: 0; justify-content: space-between; gap: 4px; padding: 6px; background: linear-gradient(rgba(0,0,0,.65), transparent); }
.stage.bub .bub-bar button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.stage.bub .bub-bar button svg { width: 20px; height: 20px; }
.stage.bub .bub-bar [data-b=x] { margin-left: auto; font-size: 24px; }
.stage.bub-gone { display: none !important; }
.bub-ov { position: fixed; inset: 0; z-index: 150; width: 100%; height: 100%; border: 0; background: #fff; }
body.bub-browse { overflow: hidden; }
@media (min-width: 821px) { .stage.bub { bottom: 18px; right: 18px; width: 400px; } }

/* forward / back 10 s + an easier seek bar (2026-12-03) */
.pc-seek { height: 22px !important; padding: 9px 0; background-clip: content-box; box-sizing: border-box; }
.pc-seek:hover { padding: 8px 0; }
.pc-seek::-webkit-slider-thumb { width: 15px; height: 15px; }
.pc-skip { position: absolute; top: 50%; z-index: 4; transform: translateY(-50%); padding: 10px 16px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font: 700 16px/1 Arial, sans-serif; opacity: 0; transition: opacity .2s; pointer-events: none; }
.pc-skip.l { left: 12%; }
.pc-skip.r { right: 12%; }
.pc-skip.show { opacity: 1; }

/* Partner FTP sheet (2026-12-03) */
.m-pfi { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 6px 4px; border-bottom: 1px solid #eef1f6; color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 600; }
.m-pfi i { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; font: 800 17px/1 Arial, sans-serif; font-style: normal; }
.m-pfi span { flex: 1; }
.m-pfi small { padding: 2px 6px; border-radius: 4px; background: var(--red); color: #fff; font-size: 10px; }
.m-pfi .mi { width: 20px; height: 20px; color: #8a93a8; }
.m-pfi.off { color: #a6adbf; }
.m-tab span { white-space: nowrap; }

/* Cast fallback sheet (browser cannot cast by itself) */
.cast-sheet{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.72);display:flex;align-items:center;justify-content:center;padding:14px}
.cast-sheet .cs-box{position:relative;background:#fff;color:#111;border-radius:14px;max-width:360px;width:100%;padding:16px 16px 12px;box-shadow:0 10px 40px rgba(0,0,0,.5);font-size:14px}
.cast-sheet .cs-box>b{display:flex;align-items:center;gap:8px;font-size:16px;margin:0 30px 6px 0}
.cast-sheet .cs-box>b svg{width:20px;height:20px;color:#e50914}
.cast-sheet small{display:block;color:#555;margin-bottom:10px;line-height:1.35}
.cast-sheet .cs-btn{display:block;width:100%;text-align:left;border:1px solid #e3e3e3;background:#f6f6f8;color:#111;border-radius:10px;padding:10px 12px;margin:0 0 8px;font:600 14px/1.3 inherit;text-decoration:none;cursor:pointer}
.cast-sheet .cs-btn i{display:block;font-style:normal;font-weight:400;font-size:12px;color:#666;margin-top:2px}
.cast-sheet .cs-tip{margin:0 0 8px;font-size:13px;color:#333;background:#fff6e5;border-radius:8px;padding:8px 10px;line-height:1.35}
.cast-sheet .cs-x{position:absolute;top:10px;right:10px;width:30px;height:30px;border-radius:50%;border:0;background:#eee;color:#111;font-size:14px;cursor:pointer}
.cast-sheet .cs-box{max-height:90vh;overflow:auto}
.cast-sheet .cs-h{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#888;margin:10px 0 6px}
.cast-sheet .cs-main{background:#e50914;border-color:#e50914;color:#fff}
.cast-sheet .cs-main i{color:#ffe3e3}
.cast-sheet .cs-tv{background:#eef3ff;border-color:#cdd9ff}
.cast-sheet .cs-dim{display:block;color:#888;font-size:13px;padding:4px 2px 8px}
.cast-sheet .cs-code{display:flex;gap:8px;margin:2px 0 8px}
.cast-sheet .cs-code input{flex:1;min-width:0;height:42px;border:1px solid #ccc;border-radius:10px;padding:0 12px;font:700 18px/1 Arial,sans-serif;letter-spacing:.2em}
.cast-sheet .cs-code button{height:42px;padding:0 16px;border:0;border-radius:10px;background:#06043d;color:#fff;font:700 14px/1 Arial,sans-serif;cursor:pointer}
.cast-sheet .cs-err{margin:0 0 8px;color:#c00;font-size:13px}
.cast-sheet .cs-tip b{word-break:break-all}
.tv-remote input[type=range]{width:min(320px,80%);margin:14px auto 0;display:block;accent-color:#e50914}
.tv-remote p{flex-wrap:wrap}
.tv-remote svg{width:30px;height:30px}
.tv-remote b{margin:4px 0 2px;font-size:17px}
.tv-remote p{margin:8px 0 0;gap:6px}
.tv-remote p button{height:36px;padding:0 12px;font-size:13px}
.tv-remote input[type=range]{margin-top:8px}
