/* cinema.css -- JOB 118 part A: the Cinema home (dark cinema look), scoped under .cin. Fonts SELF-HOSTED (site/fonts/, SIL Open Font
   License: Barlow Condensed for headings, IBM Plex Sans for text): no request to Google or any other third party at runtime.
   Colours (the approved design): ground #0A131D, surfaces #132232 / #0E1A27, lines #24384C, text #E8EEF4 / #B8C7D6 / #9FB2C4,
   accent #4DA3FF (progress + links only), LIVE red #D93036.
   | Version       | Date       | Change        |
   |---------------|------------|---------------|
   | 2026-10-16-r7 | 2026-10-16 | JOB 242: the Language bar under the film player keeps the page's side margin (.cin-watch .cin-lang) |
   | 2026-10-16-r6 | 2026-10-16 | JOB 244: the Language bar under the channel player (.cin-lang, .cin-lang-b), the language labels in the programme guide (.cin-langs) |
   | 2026-10-12-r5 | 2026-10-12 | JOB 118 C / 138: LIVE (player + Now / Next, the guide beside it on a wide screen and below on a phone, the ships row) and REELS (full-screen vertical player, feed switch, side buttons, ship chip, progress line) in the cinema look |
   | 2026-10-12-r4 | 2026-10-12 | JOB 118 C / 138: the player's own control bar with the sprite thumbnail (.cin-ctl*) |
   | 2026-10-12-r3 | 2026-10-12 | JOB 118 B: the film / series page (tabs, episodes, crew), the player (next-episode box, chapters), picture previews |
   | 2026-10-12-r2 | 2026-10-12 | a long title without spaces (a file name) no longer widens its card: cards min-width 0, titles wrap anywhere |
   | 2026-10-12-r1 | 2026-10-12 | First version (JOB 118 part A) | */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/barlow-condensed-latin-ext-600.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/barlow-condensed-latin-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/barlow-condensed-latin-ext-700.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/barlow-condensed-latin-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/ibm-plex-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/ibm-plex-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
.cin { --cin-bg: #0A131D; --cin-s1: #132232; --cin-s2: #0E1A27; --cin-line: #24384C; --cin-t1: #E8EEF4; --cin-t2: #B8C7D6; --cin-t3: #9FB2C4;
  --cin-accent: #4DA3FF; --cin-live: #D93036; --cin-pad: clamp(16px, 4vw, 48px);
  background: var(--cin-bg); color: var(--cin-t1); font-family: 'IBM Plex Sans', system-ui, sans-serif; font-size: 15px; line-height: 1.45; min-height: 70vh; overflow-x: hidden; }
.cin *, .cin *::before, .cin *::after { box-sizing: border-box; }
.cin a { color: #9CCBFF; } .cin a:hover { color: #fff; }
.cin :focus-visible { outline: 3px solid var(--cin-accent); outline-offset: 2px; }
.cin h1, .cin h2, .cin .cin-display { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700; color: #fff; }
/* the section bar: links on desktop, chips on phones */
.cin-nav { display: flex; align-items: center; gap: 6px; padding: 12px var(--cin-pad); border-bottom: 1px solid #1B2B3B; overflow-x: auto; scrollbar-width: none; }
.cin-nav::-webkit-scrollbar { display: none; }
.cin-nav .cin-brand { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: 0.06em; color: #fff; margin-right: 14px; flex: none; }
.cin-nav a, .cin-nav button.cin-navlink { flex: none; padding: 10px 14px; min-height: 44px; display: inline-flex; align-items: center; color: var(--cin-t2); text-decoration: none; background: none; border: 0; border-bottom: 2px solid transparent; font: inherit; cursor: pointer; }
.cin-nav [aria-current="page"] { color: #fff; font-weight: 600; border-bottom-color: var(--cin-accent); }
/* the hero */
.cin-hero { position: relative; height: clamp(420px, 62vh, 600px); background: #163B57; overflow: hidden; }
.cin-hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cin-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,19,29,0.92) 0%, rgba(10,19,29,0.55) 45%, rgba(10,19,29,0.1) 100%), linear-gradient(0deg, #0A131D 0%, rgba(10,19,29,0) 45%); }
.cin-hero-body { position: absolute; left: var(--cin-pad); right: var(--cin-pad); bottom: 48px; max-width: 640px; display: flex; flex-direction: column; gap: 14px; }
.cin-kicker { font-size: 13px; letter-spacing: 0.08em; color: #9CCBFF; font-weight: 600; text-transform: uppercase; }
.cin-hero h1 { overflow-wrap: anywhere; margin: 0; font-size: clamp(40px, 6vw, 72px); line-height: 0.95; }
.cin-hero p { margin: 0; font-size: 18px; color: #D6E1EC; }
.cin-badges { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--cin-t2); }
.cin-badges span { border: 1px solid #4A6178; border-radius: 4px; padding: 2px 6px; }
.cin-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cin-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 8px; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; text-decoration: none; }
.cin-btn-play, .cin a.cin-btn-play, .cin a.cin-btn-play:hover { background: #fff; color: var(--cin-bg); border: 0; }
.cin-btn-ghost, .cin a.cin-btn-ghost { background: var(--cin-s1); color: #fff; border: 1px solid #4A6178; }
.cin-btn svg { flex: none; }
.cin-btn-icon { width: 48px; padding: 0; }
.cin-dots { position: absolute; right: var(--cin-pad); bottom: 56px; display: flex; gap: 6px; }
.cin-dots button { width: 14px; height: 24px; padding: 10px 0; border: 0; background: none; cursor: pointer; }
.cin-dots button span { display: block; height: 4px; border-radius: 2px; background: #4A6178; }
.cin-dots button[aria-current="true"] { width: 28px; } .cin-dots button[aria-current="true"] span { background: #fff; }
/* rows */
.cin-main { display: flex; flex-direction: column; gap: 32px; padding: 28px 0 56px; }
.cin-row h2 { margin: 0 0 10px; padding: 0 var(--cin-pad); font-size: 28px; font-weight: 600; }
.cin-row-wrap { position: relative; }
.cin-strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--cin-pad); padding: 4px var(--cin-pad) 12px; scrollbar-width: thin; scrollbar-color: var(--cin-line) transparent; }
.cin-strip > * { scroll-snap-align: start; }
.cin-arrow { position: absolute; top: 0; bottom: 12px; width: 44px; border: 0; background: rgba(10,19,29,0.75); color: #fff; font-size: 28px; cursor: pointer; z-index: 2; display: none; }
.cin-arrow.cin-left { left: 0; } .cin-arrow.cin-right { right: 0; }
@media (pointer: fine) and (min-width: 700px) { .cin-row-wrap:hover .cin-arrow, .cin-arrow:focus-visible { display: block; } }
.cin-loading { color: var(--cin-t3); padding: 0 var(--cin-pad); }
/* cards */
.cin-card { flex: 0 0 300px; min-width: 0; display: flex; flex-direction: column; gap: 8px; position: relative; }
.cin-card a.cin-link { text-decoration: none; color: var(--cin-t1); display: flex; flex-direction: column; gap: 8px; }
.cin-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; background: #173A55; border: 1px solid var(--cin-line); overflow: hidden; }
.cin-thumb img, .cin-thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cin-tag { position: absolute; top: 8px; left: 8px; background: var(--cin-bg); color: #9CCBFF; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 4px; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cin-new { position: absolute; top: 8px; right: 8px; background: #fff; color: var(--cin-bg); font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.cin-live { position: absolute; top: 8px; left: 8px; background: var(--cin-live); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 4px; }
.cin-dur { position: absolute; bottom: 8px; right: 8px; font-size: 12px; color: #fff; background: var(--cin-bg); padding: 2px 6px; border-radius: 4px; }
.cin-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--cin-line); } .cin-prog span { display: block; height: 4px; background: var(--cin-accent); }
.cin-ctitle { font-weight: 600; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .cin-csub { font-size: 13px; color: var(--cin-t3); }
.cin-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 10px; text-align: center; color: var(--cin-t2); font-size: 13px; }
.cin-add { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border-radius: 22px; border: 1px solid #4A6178; background: rgba(10,19,29,0.8); color: #fff; font-size: 20px; cursor: pointer; display: none; z-index: 2; }
.cin-card:hover .cin-add, .cin-card:focus-within .cin-add, .cin-add[aria-pressed="true"] { display: block; }
@media (pointer: coarse) { .cin-add { display: block; } }
.cin-card.cin-top { flex: 0 0 230px; flex-direction: row; align-items: flex-end; }
.cin-card.cin-top a.cin-link { flex-direction: row; align-items: flex-end; }
.cin-rank { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 150px; line-height: 0.8; color: var(--cin-bg); -webkit-text-stroke: 2px #4A6178; margin-right: -14px; }
.cin-card.cin-top .cin-thumb { width: 150px; aspect-ratio: 5 / 7; }
.cin-card.cin-live-card { flex-basis: 360px; }
/* my list + info dialog */
.cin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; padding: 0 var(--cin-pad); }
.cin-grid .cin-card { flex: none; }
.cin-empty { padding: 24px var(--cin-pad); color: var(--cin-t2); }
.cin dialog { background: var(--cin-s1); color: var(--cin-t1); border: 1px solid var(--cin-line); border-radius: 12px; max-width: min(560px, 92vw); padding: 0; }
.cin dialog::backdrop { background: rgba(0,0,0,0.6); }
.cin-dlg-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.cin-dlg-body h2 { margin: 0; font-size: 32px; }
.cin-sr { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* phones */
@media (max-width: 699px) {
  .cin { font-size: 14px; }
  .cin-nav { padding: 10px 16px; gap: 8px; border-bottom: 0; }
  .cin-nav .cin-brand { display: none; }
  .cin-nav a, .cin-nav button.cin-navlink { border: 1px solid #4A6178; border-radius: 18px; padding: 6px 14px; min-height: 40px; color: var(--cin-t1); }
  .cin-nav [aria-current="page"] { background: #fff; color: var(--cin-bg); border-color: #fff; }
  .cin-hero { margin: 0 16px; height: 460px; border-radius: 14px; border: 1px solid var(--cin-line); }
  .cin-hero-shade { background: linear-gradient(0deg, #0A131D 0%, rgba(10,19,29,0.75) 45%, rgba(10,19,29,0.1) 100%); }
  .cin-hero-body { left: 16px; right: 16px; bottom: 18px; align-items: center; text-align: center; gap: 10px; }
  .cin-hero p { font-size: 15px; }
  .cin-actions { width: 100%; } .cin-actions .cin-btn { flex: 1; padding: 0 12px; }
  .cin-actions .cin-btn-icon { flex: none; }
  .cin-dots { display: none; }
  .cin-main { gap: 22px; padding-top: 22px; }
  .cin-row h2 { font-size: 22px; padding: 0 16px; }
  .cin-strip { gap: 12px; padding: 2px 16px 8px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .cin-card { flex-basis: 200px; } .cin-card.cin-live-card { flex-basis: 240px; }
  .cin-card.cin-top { flex-basis: 170px; } .cin-rank { font-size: 110px; } .cin-card.cin-top .cin-thumb { width: 110px; }
  .cin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 16px; }
}
/* r3 (JOB 118 B): film / series page, player */
.cin-thumb .cin-prev { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cin-detail-hero { height: clamp(360px, 52vh, 520px); }
.cin-detail { padding-left: var(--cin-pad); padding-right: var(--cin-pad); gap: 18px; }
.cin-desc { font-size: 17px; color: #D6E1EC; max-width: 760px; margin: 0; }
.cin-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--cin-line); overflow-x: auto; scrollbar-width: none; }
.cin-tabs button { background: none; border: 0; border-bottom: 3px solid transparent; color: var(--cin-t2); font: inherit; font-weight: 600; padding: 12px 14px; min-height: 44px; cursor: pointer; flex: none; }
.cin-tabs button[aria-selected="true"] { color: #fff; border-bottom-color: var(--cin-accent); }
.cin-tabpanel { padding-top: 14px; }
.cin-tabpanel .cin-grid { padding: 0; }
.cin-season { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; color: #fff; margin: 8px 0; }
.cin-eplist { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cin-eplist a { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--cin-t1); padding: 6px; border-radius: 8px; }
.cin-eplist a:hover, .cin-eplist li[aria-current="true"] a { background: var(--cin-s1); }
.cin-epthumb { position: relative; flex: 0 0 160px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #173A55; }
.cin-epthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cin-eptext { display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.cin-crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 0; }
.cin-crew div { background: var(--cin-s1); border: 1px solid var(--cin-line); border-radius: 8px; padding: 10px 12px; }
.cin-crew dt { color: var(--cin-t3); font-size: 13px; } .cin-crew dd { margin: 2px 0 0; font-weight: 600; }
.cin-watch { padding: 16px var(--cin-pad) 48px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 1280px; margin: 0 auto; }
.cin-player { position: relative; background: #000; border-radius: 10px; overflow: hidden; }
.cin-player video { display: block; width: 100%; max-height: 78vh; background: #000; aspect-ratio: 16 / 9; }
.cin-next { position: absolute; right: 16px; bottom: 64px; background: rgba(14,26,39,0.95); border: 1px solid var(--cin-line); border-radius: 10px; padding: 14px; max-width: min(420px, 90%); }
.cin-next p { margin: 0 0 10px; font-weight: 600; }
.cin-watch-info h1 { font-size: clamp(28px, 4vw, 40px); margin: 10px 0 4px; overflow-wrap: anywhere; }
.cin-watch-info h2 { font-size: 22px; margin: 16px 0 8px; }
.cin-chapters { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cin-chapters button, .cin-linkbtn { background: var(--cin-s1); color: var(--cin-t1); border: 1px solid var(--cin-line); border-radius: 6px; padding: 8px 12px; min-height: 40px; font: inherit; cursor: pointer; }
.cin-linkbtn { background: none; border: 0; color: #9CCBFF; text-decoration: underline; padding: 4px; min-height: 0; }
@media (max-width: 699px) {
  .cin-detail-hero { height: 420px; }
  .cin-epthumb { flex-basis: 120px; }
  .cin-watch { padding: 8px 0 32px; } .cin-player { border-radius: 0; } .cin-watch-info { padding: 0 16px; }
  .cin-next { left: 8px; right: 8px; bottom: 56px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .cin * { scroll-behavior: auto !important; transition: none !important; } }

/* r4 (JOB 118 C / 138): the player's own control bar (only when the sprite sheet loaded; else the browser's controls) */
.cin-own video { cursor: pointer; }
.cin-ctl { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: linear-gradient(0deg, rgba(5, 10, 16, .95), rgba(5, 10, 16, .75)); flex-wrap: nowrap; }
.cin-ctl-b { flex: none; min-width: 44px; min-height: 44px; border: 0; border-radius: 6px; background: transparent; color: #fff; font-size: 18px; cursor: pointer; }
.cin-ctl-b:hover { background: rgba(255, 255, 255, .12); } .cin-ctl-cc { font: 700 14px 'IBM Plex Sans', system-ui, sans-serif; } .cin-ctl-cc.on { color: var(--cin-accent); }
.cin-ctl-t { flex: none; color: var(--cin-t1); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cin-ctl-track { position: relative; flex: 1 1 auto; min-width: 60px; height: 44px; margin: 0 10px; cursor: pointer; touch-action: none; }
.cin-ctl-b { display: inline-flex; align-items: center; justify-content: center; } .cin-ctl-b svg { display: block; }
.cin-ctl-track::before { content: ''; position: absolute; left: 0; right: 0; top: 19px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .25); }
.cin-ctl-buf, .cin-ctl-fill { position: absolute; left: 0; top: 19px; height: 6px; border-radius: 3px; pointer-events: none; }
.cin-ctl-buf { background: rgba(255, 255, 255, .45); } .cin-ctl-fill { background: var(--cin-accent); }
.cin-ctl-knob { position: absolute; top: 14px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--cin-accent); pointer-events: none; }
.cin-ctl-mark { position: absolute; top: 17px; width: 3px; height: 10px; margin-left: -1px; background: #fff; opacity: .9; border-radius: 1px; pointer-events: none; }
.cin-ctl-thumb { position: absolute; bottom: 46px; transform: translateX(-50%); padding: 4px; background: #000; border: 2px solid #fff; border-radius: 6px; text-align: center; pointer-events: none; z-index: 5; }
.cin-ctl-thumb span { display: block; color: #fff; font-size: 13px; font-weight: 600; margin-top: 2px; font-variant-numeric: tabular-nums; }
.cin-ctl-img { background-repeat: no-repeat; border-radius: 3px; }
.cin-player:fullscreen { display: flex; flex-direction: column; justify-content: center; border-radius: 0; } .cin-player:fullscreen video { max-height: none; flex: 1; }
@media (max-width: 600px) { .cin-ctl { gap: 0; padding: 4px; } .cin-ctl-t { font-size: 12px; } .cin-ctl-b { min-width: 40px; } .cin-ctl-track { margin: 0 12px; } }

/* r5 (JOB 118 C / 138): LIVE */
.cin-top-strip { padding: 12px var(--cin-pad) 0; }
.cin-live-page { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 20px 24px; padding: 20px var(--cin-pad) 8px; align-items: start; }
.cin-live-page .cin-live-row { grid-column: 1 / -1; padding: 8px 0 24px; } .cin-live-page .cin-live-row h2 { padding: 0; }
.cin-live-page .cin-live-row .cin-strip { padding-left: 0; padding-right: 0; }
.cin-live-player video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 70vh; background: #000; }
.cin-live-off { aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 16px; background: linear-gradient(160deg, #132232, #0A131D); }
.cin-live-off p { margin: 4px 0; font-size: 18px; }
.cin-live-head { padding-top: 12px; } .cin-live-head h1 { margin: 6px 0 4px; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; overflow-wrap: anywhere; }
.cin-live-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .cin-live-badges .cin-live, .cin-live-badges .cin-tag { position: static; }
.cin-viewers { color: var(--cin-t2); font-size: 14px; }
.cin-nownext { color: var(--cin-t2); margin: 0 0 10px; } .cin-nownext b { color: var(--cin-t1); }
.cin-guide { background: var(--cin-s2); border: 1px solid var(--cin-line); border-radius: 10px; padding: 14px 16px; }
.cin-guide h2 { margin: 0 0 10px; font-size: 22px; }
.cin-guide-list { list-style: none; margin: 0; padding: 0; max-height: 56vh; overflow-y: auto; }
.cin-guide-list li { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 8px; border-top: 1px solid var(--cin-line); }
.cin-guide-list li:first-child { border-top: 0; }
.cin-guide-t { color: var(--cin-t2); font-variant-numeric: tabular-nums; } .cin-guide-what { min-width: 0; overflow-wrap: anywhere; }
.cin-guide-now { background: rgba(217, 48, 54, .12); border-radius: 8px; box-shadow: inset 3px 0 0 var(--cin-live); }
.cin-live.cin-now, .cin-soon { position: static; }
.cin-soon { position: absolute; top: 8px; left: 8px; background: #F2C14E; color: #1b1300; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; padding: 3px 8px; border-radius: 4px; }
.cin [hidden] { display: none !important; }
.cin-linkbtn-card .cin-thumb { width: 100%; }
.cin-linkbtn-card { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
@media (max-width: 900px) { .cin-live-page { grid-template-columns: minmax(0, 1fr); padding: 12px 16px 8px; } .cin-guide-list { max-height: none; } }

/* r5 (JOB 118 C / 138): REELS -- one reel per screen, vertical */
.cin-reels-page { display: flex; flex-direction: column; }
.cin-reels-top { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px var(--cin-pad); position: relative; }
.cin-seg { display: inline-flex; background: var(--cin-s2); border: 1px solid var(--cin-line); border-radius: 999px; padding: 4px; }
.cin-seg button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--cin-t2); font: inherit; font-weight: 600; cursor: pointer; }
.cin-seg button[aria-selected="true"] { background: #fff; color: #0A131D; }
.cin-reels-top .cin-reel-sound { position: absolute; right: var(--cin-pad); }
.cin-reels { height: calc(100vh - 170px); height: calc(100dvh - 170px); min-height: 420px; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; outline: none; }
.cin-reel { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; justify-content: center; background: #000; }
.cin-reel-v { height: 100%; max-width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #0A131D; }
.cin-reel-tap { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; cursor: pointer; }
.cin-reel-side { position: absolute; right: max(12px, calc(50% - min(28vh, 50%) - 64px)); bottom: 120px; display: flex; flex-direction: column; gap: 14px; z-index: 2; }
.cin-reel-b { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 48px; min-height: 48px; border: 0; border-radius: 50%; background: rgba(10, 19, 29, .62); color: #fff; font: 700 13px 'IBM Plex Sans', system-ui, sans-serif; cursor: pointer; position: relative; }
.cin-reel-b:hover { background: rgba(10, 19, 29, .85); }
.cin-reel-like[aria-pressed="true"] { color: #FF5A6E; } .cin-reel-add[aria-pressed="true"] { color: var(--cin-accent); }
.cin-reel-plus { font-size: 26px; line-height: 1; } .cin-reel-n { font-size: 12px; color: #fff; }
.cin-reel-b[data-note]::after { content: attr(data-note); position: absolute; right: 56px; white-space: nowrap; background: #fff; color: #0A131D; padding: 4px 8px; border-radius: 6px; font-weight: 600; }
.cin-reel-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 84px 18px 16px; background: linear-gradient(0deg, rgba(5, 10, 16, .9), rgba(5, 10, 16, 0)); z-index: 1; pointer-events: none; max-width: min(100%, 640px); margin: 0 auto; }
.cin-reel-info a { pointer-events: auto; }
.cin-reel-ship { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff !important; font-weight: 600; text-decoration: none; }
.cin-reel-title { margin: 8px 0 2px; font-size: 22px; overflow-wrap: anywhere; } .cin-reel-meta { margin: 0; color: var(--cin-t1); font-size: 14px; }
.cin-reel-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .25); z-index: 2; } .cin-reel-prog span { display: block; height: 100%; width: 0; background: #fff; }
.cin-thumb-v { aspect-ratio: 9 / 16; } .cin-card.cin-reel-card { flex-basis: 180px; }
@media (max-width: 700px) { .cin-reels { height: calc(100dvh - 150px); } .cin-reel-v { aspect-ratio: auto; width: 100%; } .cin-reel-side { right: 10px; bottom: 110px; } .cin-reels-top .cin-reel-sound { right: 12px; } }

/* r6 (JOB 244): the language of a programme in several languages (one picture, the viewer picks the language) */
.cin-lang { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 8px 0 4px; }
.cin-lang[hidden] { display: none; }
.cin-watch > .cin-lang { padding: 0 16px; max-width: 1200px; margin-left: auto; margin-right: auto; }   /* r7 (JOB 242): the film player */
.cin-lang-l { color: var(--cin-t2); font-size: 14px; }
.cin-lang .cin-seg { display: inline-flex; flex-wrap: wrap; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 8px; overflow: hidden; }
.cin-lang-b { background: transparent; color: var(--cin-t1); border: 0; border-radius: 0; padding: 8px 12px; min-height: 40px; font: inherit; font-size: 14px; cursor: pointer; }
.cin-lang-b + .cin-lang-b { border-left: 1px solid rgba(255, 255, 255, 0.25); }
.cin-lang-b[aria-pressed="true"] { background: #fff; color: #0A131D; font-weight: 700; }
.cin-lang-b:focus-visible, .cin-subs:focus-visible { outline: 3px solid #f0b429; outline-offset: 2px; }
.cin-langs { display: inline-flex; gap: 3px; margin-left: 6px; vertical-align: 1px; }
.cin-lang-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 4px; padding: 0 4px; color: var(--cin-t1); }
@media (max-width: 600px) { .cin-lang .cin-seg { width: 100%; } .cin-lang-b { flex: 1 1 45%; } }
