/* TAMILFLICKS-V5 (4 Dec 2026): light modern look, home + film page. Only with <html class="tf-v5"> (switch in layouts/master.blade.php).
   Blue + gold from the logo, one font (Plus Jakarta Sans), whole 16:9 pictures (TamilFlicks pictures are 1920x1080). */
html.tf-v5 { --v5-paper: #F4F6FB; --v5-card: #fff; --v5-ink: #0F172A; --v5-ink2: #475569; --v5-line: #E2E8F0; --v5-blue: #2E5EAA; --v5-blue-d: #1E3F7A; --v5-blue-50: #EAF0FA; --v5-gold: #E5A823; --v5-r: 16px; }
html.tf-v5 body { background: var(--v5-paper) !important; color: var(--v5-ink); font-family: "Plus Jakarta Sans", system-ui, sans-serif !important; }
html.tf-v5 body :is(h1, h2, h3, h4, h5, h6, p, a, span, button, li, dt, dd, input, select) { font-family: inherit; }
html.tf-v5 :focus-visible { outline: 3px solid var(--v5-gold); outline-offset: 3px; }

/* header: white glass */
html.tf-v5 header.header-absolute { background: rgba(255, 255, 255, .88) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--v5-line); box-shadow: none !important; }

/* ---------- home: stage = big feature + Up next ---------- */
html.tf-v5:not(.tf5-off) .tp-home #banner-section { display: none; }
.tf5-stage { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; max-width: 1400px; margin: 22px auto 10px; padding: 0 clamp(16px, 3vw, 40px); }
.tf5-stage > * { min-width: 0; }
.tf5-feature { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #0f172a; color: #fff; box-shadow: 0 24px 50px -20px rgba(15, 23, 42, .45); }
.tf5-feat { position: absolute; inset: 0; }
.tf5-feat[hidden] { display: none; }
.tf5-feat > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tf5-feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 16, 32, .94) 0%, rgba(10, 16, 32, .55) 36%, transparent 64%); }
.tf5-copy { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(20px, 3vw, 36px); }
.tf5-tag { display: inline-flex; padding: 6px 11px; border-radius: 999px; background: var(--v5-gold); color: #2a1d00; font-size: 12.5px; font-weight: 800; }
html.tf-v5 .tf5-copy h1 { margin: 12px 0 6px; color: #fff; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.02; font-weight: 800; letter-spacing: -.02em; }
.tf5-meta { margin: 0 0 8px; color: rgba(255, 255, 255, .86); font-weight: 600; font-size: 14.5px; }
.tf5-desc { margin: 0 0 18px; max-width: 62ch; color: rgba(255, 255, 255, .8); font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tf5-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
html.tf-v5 a.tf5-play { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 12px; background: var(--v5-blue); color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; box-shadow: 0 10px 24px -8px rgba(46, 94, 170, .7); }
html.tf-v5 a.tf5-play:hover { background: var(--v5-blue-d); color: #fff; }
.tf5-btns .watch-list-btn { width: 46px; height: 46px; border-radius: 12px !important; display: inline-grid; place-items: center; background: rgba(255, 255, 255, .16) !important; border: 0 !important; color: #fff !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tf5-up { display: flex; flex-direction: column; background: var(--v5-card); border-radius: 22px; padding: 18px; border: 1px solid var(--v5-line); }
html.tf-v5 .tf5-up h2 { margin: 0 0 10px; font-size: 15px; font-weight: 800; color: var(--v5-ink2); }
.tf5-un { display: grid; grid-template-columns: 128px 1fr; gap: 12px; align-items: center; width: 100%; padding: 8px; margin: 0 -8px; border-radius: 14px; cursor: pointer; border: 0; background: none; text-align: left; font: inherit; color: var(--v5-ink); }
.tf5-un:hover { background: var(--v5-paper); }
.tf5-un.is-on { background: var(--v5-blue-50); }
.tf5-un img, .tf5-un .tf5-ph { width: 128px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; display: block; background: var(--v5-blue-50); }
.tf5-un b { display: block; font-size: 14.5px; font-weight: 800; line-height: 1.25; }
.tf5-un small { font-size: 12.5px; color: var(--v5-ink2); }
.tf5-un.is-on b { color: var(--v5-blue); }

/* section heads */
html.tf-v5 .tp-home .main-title { color: var(--v5-ink) !important; font-size: clamp(21px, 2vw, 26px) !important; font-weight: 800 !important; letter-spacing: -.01em; }
html.tf-v5 .tp-home .nh-sub { color: var(--v5-ink2) !important; font-weight: 500; }
html.tf-v5 .tp-home .section-wraper { margin-top: 30px; }
html.tf-v5 .tp-row-head a, html.tf-v5 .nh-more { color: var(--v5-blue) !important; font-weight: 800 !important; }

/* ---------- film cards: whole 16:9 picture, title under it ---------- */
html.tf-v5 :is(.tp-home, #tp-more) .tp-scroller > .tp-card:not(.tp-live-card) { width: auto !important; min-width: 0 !important; max-width: none !important; height: auto !important; }
html.tf-v5 :is(.tp-home, #tp-more) .tp-scroller > .tp-card:not(.tp-live-card) .tp-card-img { width: 100% !important; }
html.tf-v5 :is(#tp-row-new, #tp-more, .tp-home .tp-row:not(.tp-live-row)) .tp-scroller { grid-auto-columns: calc((100% - 3 * 18px) / 4.25) !important; gap: 18px !important; }
html.tf-v5 :is(.tp-home, #tp-more) .tp-card:not(.tp-live-card) .tp-card-img { aspect-ratio: 16 / 9 !important; height: auto !important; border-radius: var(--v5-r) !important; overflow: hidden; background: var(--v5-blue-50); box-shadow: 0 1px 2px rgba(15, 23, 42, .06); transition: transform .25s, box-shadow .25s; }
html.tf-v5 :is(.tp-home, #tp-more) .tp-card:not(.tp-live-card) .tp-card-img img { width: 100%; height: 100%; object-fit: cover; }
html.tf-v5 :is(.tp-home, #tp-more) .tp-card:not(.tp-live-card) .tp-card-link:hover .tp-card-img { transform: translateY(-4px); box-shadow: 0 18px 32px -12px rgba(30, 63, 122, .45), 0 0 0 2px var(--v5-blue); }
html.tf-v5 :is(.tp-home, #tp-more) .tp-card-title { margin-top: 10px; color: var(--v5-ink) !important; font-weight: 800 !important; font-size: 15px !important; }
html.tf-v5 :is(.tp-home, #tp-more) .tp-card-sub { color: var(--v5-ink2) !important; font-size: 13px !important; }
html.tf-v5 .tp-card-ph { background: linear-gradient(135deg, var(--v5-blue), var(--v5-blue-d)) !important; }
html.tf-v5 .tp-card-ph-title { color: #fff !important; font-weight: 800 !important; }
html.tf-v5 .tp-new-kind { background: var(--v5-gold) !important; color: #2a1d00 !important; font-weight: 800 !important; }
/* cards without a picture: leave room under the title for the gold Movie/Show tag (4 Dec 2026) */
html.tf-v5 .tp-card-img:has(.tp-new-kind) > .tp-card-ph { padding-bottom: 34px !important; }
/* all movies: 4 across, tabs as one bar */
html.tf-v5 .tp-home .tp-all-movies .tp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 26px 18px !important; }
html.tf-v5 .tp-home .tp-all-movies .tp-tabs { display: flex; gap: 6px; padding: 5px; background: var(--v5-card); border: 1px solid var(--v5-line); border-radius: 14px; width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
html.tf-v5 .tp-home .tp-all-movies .tp-tabs .tp-chip { border: 0 !important; background: none !important; border-radius: 10px !important; color: var(--v5-ink2) !important; font-weight: 700 !important; box-shadow: none !important; white-space: nowrap; }
html.tf-v5 .tp-home .tp-all-movies .tp-tabs .tp-chip.is-on { background: var(--v5-blue) !important; color: #fff !important; }
html.tf-v5 .tp-home .tp-all-movies .tp-tabs .tp-chip.is-on .tp-chip-n { color: rgba(255, 255, 255, .75) !important; }
html.tf-v5 .tp-grid-more-btn { border-radius: 12px !important; border: 1px solid var(--v5-line) !important; background: var(--v5-card) !important; color: var(--v5-blue) !important; font-weight: 800 !important; }

/* actors + moods */
html.tf-v5 .nh-actor img { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--v5-line) !important; }
html.tf-v5 .nh-actor:hover img { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--v5-gold) !important; }
html.tf-v5 .nh-actor b { color: var(--v5-ink) !important; font-weight: 800 !important; }
html.tf-v5 .nh-mood { border-radius: var(--v5-r) !important; aspect-ratio: 4 / 3; }

/* ---------- film page: player + side column (the page's own side list, shown again) ---------- */
html.tf-v5 body .watch-page-grid.tf5-film { grid-template-columns: minmax(0, 1fr) 340px !important; gap: 28px !important; align-items: start; max-width: 1400px; margin: 0 auto; }
html.tf-v5 body .tf5-film > * { min-width: 0; }
html.tf-v5 body .tf5-film #movieWatchSidebar, html.tf-v5 body .tf5-film .watch-side-column { display: block !important; position: sticky; top: 96px; }
html.tf-v5 body .tf5-film .watch-sidebar-title, html.tf-v5 body .tf5-film .watch-sidebar-list { display: block !important; }
html.tf-v5 body .tf5-film .watch-sidebar { background: var(--v5-card) !important; border: 1px solid var(--v5-line) !important; border-radius: 20px !important; padding: 18px !important; box-shadow: none !important; }
html.tf-v5 body .tf5-film .watch-sidebar-title { margin: 0 0 10px !important; color: var(--v5-ink) !important; font-size: 16px !important; font-weight: 800 !important; }
html.tf-v5 body .tf5-film .watch-sidebar-item { border-radius: 12px; }
html.tf-v5 body .tf5-film .watch-sidebar-item[hidden] { display: none !important; }
html.tf-v5 body .tf5-film .watch-sidebar-item { display: grid !important; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: center; padding: 6px; margin: 0 -6px 4px; }
html.tf-v5 body .tf5-film .watch-sidebar-item:hover { background: var(--v5-paper); }
html.tf-v5 body .tf5-film .watch-sidebar-item .watch-sidebar-thumb { width: 120px !important; min-width: 0 !important; max-width: 120px !important; flex: none !important; border-radius: 10px !important; aspect-ratio: 16 / 9; overflow: hidden; margin: 0 !important; }
html.tf-v5 body .tf5-film .watch-sidebar-thumb img { width: 100% !important; height: 100% !important; object-fit: cover; }
html.tf-v5 body .tf5-film .watch-sidebar-item-title { font-size: 14px !important; line-height: 1.25 !important; }
html.tf-v5 body .tf5-film .watch-sidebar-item-title { color: var(--v5-ink) !important; font-weight: 800 !important; }
html.tf-v5 body .tf5-film .watch-sidebar-meta { color: var(--v5-ink2) !important; }
html.tf-v5 body .watch-layout-toolbar { display: none !important; } /* the "Center player" switch: the new layout has one fixed shape */
html.tf-v5 .tf5-box { margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid var(--v5-line); }
html.tf-v5 .tf5-box .mv-facts { position: static !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; width: auto !important; }
html.tf-v5 .tf5-box .mv-facts h2 { margin: 0 0 10px; font-size: 16px !important; font-weight: 800; color: var(--v5-ink) !important; }
html.tf-v5 .tf5-box .mv-facts dl { margin: 0; }
html.tf-v5 .tf5-box .mv-facts dl > div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; padding: 4px 0; }
html.tf-v5 .tf5-box .mv-facts dt { color: var(--v5-ink2) !important; font-weight: 600; font-size: 14px; }
html.tf-v5 .tf5-box .mv-facts dd { margin: 0; color: var(--v5-ink) !important; font-weight: 700; font-size: 14px; }
html.tf-v5 .tf5-box .mv-facts dd a { color: var(--v5-blue) !important; }
html.tf-v5 .tf5-film .video-player-wrapper, html.tf-v5 .tf5-film .detail-page-banner { border-radius: 22px !important; overflow: hidden; }
html.tf-v5 .tf5-film .tp-detail h4 { color: var(--v5-ink) !important; font-size: clamp(28px, 3.2vw, 44px) !important; font-weight: 800 !important; letter-spacing: -.02em; }
html.tf-v5 .tf5-film .js-desc-text { color: #1e293b !important; font-size: 16px !important; line-height: 1.7; }
html.tf-v5 .tf5-film .mv-genre { padding: 6px 12px; border-radius: 999px; background: var(--v5-blue-50) !important; color: var(--v5-blue) !important; font-weight: 800; font-size: 13px; }
html.tf-v5 .tf5-film #watchNowButton { background: var(--v5-blue) !important; border-color: var(--v5-blue) !important; border-radius: 12px !important; font-weight: 800 !important; }
html.tf-v5 .tf5-film .mv-grid { display: block !important; }
html.tf-v5 .tf5-film #tp-more .tp-card[hidden] { display: none !important; }

/* ---------- movies page (/movies): same look as the home page ---------- */
html.tf-v5 body.route-movies .ml-head h1 { color: var(--v5-ink) !important; font-weight: 800 !important; letter-spacing: -.02em; }
html.tf-v5 body.route-movies .ml-head p { color: var(--v5-ink2) !important; }
html.tf-v5 body.route-movies .ml-find { border-radius: 999px !important; border: 1px solid var(--v5-line) !important; background: var(--v5-card) !important; box-shadow: none !important; }
html.tf-v5 body.route-movies .tpm-wrap { display: grid !important; grid-template-columns: minmax(0, 1fr) 360px !important; gap: 22px !important; align-items: start; }
html.tf-v5 body.route-movies .tpm-wrap > * { min-width: 0; }
html.tf-v5 body.route-movies .tpm-big { aspect-ratio: 16 / 9 !important; min-height: 0 !important; height: auto !important; border-radius: 22px !important; overflow: hidden; box-shadow: 0 24px 50px -20px rgba(15, 23, 42, .45) !important; }
html.tf-v5 body.route-movies .tpm-big-img { position: absolute !important; inset: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; }
html.tf-v5 body.route-movies .tpm-big-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
html.tf-v5 body.route-movies .tpm-big::after { background: linear-gradient(0deg, rgba(10, 16, 32, .94) 0%, rgba(10, 16, 32, .5) 36%, transparent 64%) !important; }
html.tf-v5 body.route-movies .tpm-big-info { position: absolute !important; z-index: 2; left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important; width: auto !important; max-width: none !important; background: none !important; padding: clamp(20px, 3vw, 34px) !important; }
html.tf-v5 body.route-movies .tpm-play { background: var(--v5-blue) !important; color: #fff !important; border-radius: 12px !important; font-weight: 800 !important; box-shadow: 0 10px 24px -8px rgba(46, 94, 170, .7) !important; }
html.tf-v5 body.route-movies .tpm-side { background: var(--v5-card) !important; border: 1px solid var(--v5-line) !important; border-radius: 22px !important; padding: 14px 18px !important; gap: 0 !important; height: auto !important; }
html.tf-v5 body.route-movies .tpm-item { display: grid !important; grid-template-columns: 128px minmax(0, 1fr) !important; gap: 12px !important; align-items: center; padding: 8px !important; margin: 0 -8px !important; border: 0 !important; border-radius: 14px !important; background: none !important; box-shadow: none !important; height: auto !important; }
html.tf-v5 body.route-movies .tpm-item:hover { background: var(--v5-paper) !important; }
html.tf-v5 body.route-movies .tpm-item-img { width: 128px !important; min-width: 0 !important; height: auto !important; aspect-ratio: 16 / 9 !important; border-radius: 10px !important; overflow: hidden; }
html.tf-v5 body.route-movies .tpm-item-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
html.tf-v5 body.route-movies .tpm-item-title { color: var(--v5-ink) !important; font-weight: 800 !important; font-family: inherit !important; }
html.tf-v5 body.route-movies .tpm-big-title { font-family: inherit !important; }
html.tf-v5 body.route-movies .tpm-item b, html.tf-v5 body.route-movies .tpm-item strong { color: var(--v5-ink) !important; font-weight: 800 !important; }
html.tf-v5 body.route-movies #all-movies-section .tp-card-img { aspect-ratio: 16 / 9 !important; height: auto !important; border-radius: var(--v5-r) !important; overflow: hidden; background: var(--v5-blue-50) !important; transition: transform .25s, box-shadow .25s; }
html.tf-v5 body.route-movies #all-movies-section .tp-card-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
html.tf-v5 body.route-movies #all-movies-section .tp-card-link:hover .tp-card-img { transform: translateY(-4px); box-shadow: 0 18px 32px -12px rgba(30, 63, 122, .45), 0 0 0 2px var(--v5-blue); }
html.tf-v5 body.route-movies #all-movies-section .tp-card-title { margin-top: 10px !important; color: var(--v5-ink) !important; font: 800 15px/1.3 inherit !important; font-family: inherit !important; }
html.tf-v5 body.route-movies #all-movies-section .tp-card-sub { color: var(--v5-ink2) !important; font-size: 13px !important; }
html.tf-v5 body.route-movies .tp-movies-page #all-movies-section .tp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 26px 18px !important; }
html.tf-v5 body.route-movies .tp-movies-page .tp-tabs { display: flex; gap: 6px; padding: 5px; background: var(--v5-card); border: 1px solid var(--v5-line); border-radius: 14px; overflow-x: auto; scrollbar-width: none; }
html.tf-v5 body.route-movies .tp-movies-page .tp-tabs .tp-chip { border: 0 !important; background: none !important; border-radius: 10px !important; color: var(--v5-ink2) !important; font-weight: 700 !important; box-shadow: none !important; white-space: nowrap; }
html.tf-v5 body.route-movies .tp-movies-page .tp-tabs .tp-chip.is-on { background: var(--v5-blue) !important; color: #fff !important; }
html.tf-v5 body.route-movies .tp-movies-page .tp-tabs .tp-chip.is-on .tp-chip-n { color: rgba(255, 255, 255, .75) !important; }
html.tf-v5 body.route-movies .tp-movies-page .tp-grid-more-btn { border-radius: 12px !important; border: 1px solid var(--v5-line) !important; background: var(--v5-card) !important; color: var(--v5-blue) !important; font-weight: 800 !important; }

@media (max-width: 1100px) {
  html.tf-v5 body.route-movies .tpm-wrap { grid-template-columns: minmax(0, 1fr) !important; }
  html.tf-v5 body.route-movies .tp-movies-page #all-movies-section .tp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .tf5-stage { grid-template-columns: 1fr; }
  html.tf-v5 body .watch-page-grid.tf5-film { grid-template-columns: minmax(0, 1fr) !important; }
  html.tf-v5 body .tf5-film #movieWatchSidebar, html.tf-v5 body .tf5-film .watch-side-column { position: static; }
  html.tf-v5 .tp-home .tp-all-movies .tp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 760px) {
  html.tf-v5 body.route-movies .tpm-big { aspect-ratio: auto !important; background: #0f172a !important; }
  html.tf-v5 body.route-movies .tpm-big-img { position: relative !important; display: block !important; inset: auto !important; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9 !important; }
  html.tf-v5 body.route-movies .tpm-big::after { display: none !important; }
  html.tf-v5 body.route-movies .tpm-big-info { position: static !important; padding: 16px 18px 20px !important; } /* whole picture on top, words under it */
  .tf5-feature { aspect-ratio: auto; }
  .tf5-feat { position: relative; }
  .tf5-feat > img { height: auto; aspect-ratio: 16 / 9; }
  .tf5-feat::after { display: none; }
  .tf5-copy { position: static; padding: 16px 18px 20px; } /* whole picture on top, words under it */
  .tf5-un { grid-template-columns: 112px 1fr; } .tf5-un img, .tf5-un .tf5-ph { width: 112px; }
  html.tf-v5 :is(#tp-row-new, #tp-more, .tp-home .tp-row:not(.tp-live-row)) .tp-scroller { grid-auto-columns: 78% !important; }
  html.tf-v5 .tp-home .tp-all-movies .tp-grid, html.tf-v5 body.route-movies .tp-movies-page #all-movies-section .tp-grid { grid-template-columns: minmax(0, 1fr) !important; } /* phones: one film per row (owner rule, 14 Oct) */
}
@media (prefers-reduced-motion: reduce) { html.tf-v5 .tp-card-img { transition: none !important; } }

/* TamilFlicks film page: tab bar above the player (TAMILFLICKS-FILMTABS, 4 Dec 2026). */
html.tf-v5 .tf5-tabs + .detail-page-banner .video-player-wrapper > div:not([class])[style*="height:clamp"] { display: none !important; } /* the empty gap above the player: the tab bar sits there now */
html.tf-v5 .tf5-tabs { margin: 4px 0 14px; }
html.tf-v5 .tf5-tabbar { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
html.tf-v5 .tf5-tabbar::-webkit-scrollbar { display: none; }
html.tf-v5 .tf5-tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 999px;
	border: 1px solid var(--v5-line); background: var(--v5-card); color: var(--v5-ink); font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1; cursor: pointer; }
html.tf-v5 .tf5-tab i { font-size: 18px; color: var(--v5-blue); }
html.tf-v5 .tf5-tab b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--v5-gold); color: #2a1d00; font-size: 11.5px; display: inline-grid; place-items: center; }
html.tf-v5 .tf5-tab b[hidden] { display: none; }
html.tf-v5 .tf5-tab:hover:not(:disabled) { border-color: var(--v5-blue); }
html.tf-v5 .tf5-tab:focus-visible { outline: 3px solid rgba(46, 94, 170, .35); outline-offset: 2px; }
html.tf-v5 .tf5-tab.is-on { background: var(--v5-blue); border-color: var(--v5-blue); color: #fff; }
html.tf-v5 .tf5-tab.is-on i { color: #fff; }
html.tf-v5 .tf5-tab.is-empty { opacity: .45; cursor: default; }

html.tf-v5 .tf5-tabpanel { margin-top: 10px; padding: 14px; border-radius: var(--v5-r); background: var(--v5-card); border: 1px solid var(--v5-line); box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .35); }
html.tf-v5 .tf5-tabfoot { margin: 10px 2px 0; font-size: 13px; color: #64748B; }
html.tf-v5 .tf5-tabfoot a { color: var(--v5-blue); font-weight: 700; text-decoration: none; }

/* Songs */
html.tf-v5 .tf5-songs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
html.tf-v5 .tf5-song { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 12px; background: var(--v5-paper); color: var(--v5-ink); text-decoration: none; }
html.tf-v5 .tf5-song:hover { background: #E8EEF9; }
html.tf-v5 .tf5-song img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; background: var(--v5-line); }
html.tf-v5 .tf5-song-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
html.tf-v5 .tf5-song-t b { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.tf-v5 .tf5-song-t small { font-size: 12px; color: #64748B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.tf-v5 .tf5-song-d { font-size: 12px; color: #64748B; font-variant-numeric: tabular-nums; }
html.tf-v5 .tf5-song > i { font-size: 28px; color: var(--v5-blue); }

/* Cast & crew */
html.tf-v5 .tf5-cast { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
html.tf-v5 .tf5-cast::-webkit-scrollbar, html.tf-v5 .tf5-more::-webkit-scrollbar { display: none; }
html.tf-v5 .tf5-face { flex: 0 0 84px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; color: var(--v5-ink); text-decoration: none; }
html.tf-v5 .tf5-face > :first-child { width: 72px !important; height: 72px !important; min-width: 0 !important; margin: 0 !important; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--v5-line); flex: 0 0 auto; }
html.tf-v5 .tf5-face b { font-size: 12.5px; font-weight: 800; line-height: 1.2; }
html.tf-v5 .tf5-face span { font-size: 11.5px; color: #64748B; }

/* More like this */
html.tf-v5 .tf5-more { display: flex; align-items: flex-start; gap: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
html.tf-v5 .tf5-more .tf5-mini { flex: 0 0 200px; display: flex; flex-direction: column; gap: 3px; color: var(--v5-ink); text-decoration: none; }
html.tf-v5 .tf5-mini-img { display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--v5-line); }
html.tf-v5 .tf5-mini-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
html.tf-v5 .tf5-more .tf5-mini b { font-size: 13.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.tf-v5 .tf5-more .tf5-mini small { font-size: 12px; color: #64748B; }

/* Share */
html.tf-v5 .tf5-share { display: flex; flex-wrap: wrap; gap: 8px; }
html.tf-v5 .tf5-share a, html.tf-v5 .tf5-share button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 0;
	font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1; color: #fff; text-decoration: none; cursor: pointer; }
html.tf-v5 .tf5-share i { font-size: 18px; }
html.tf-v5 .tf5-share .is-wa { background: #1FA855; }
html.tf-v5 .tf5-share .is-fb { background: #1877F2; }
html.tf-v5 .tf5-share .is-x { background: #0F172A; }
html.tf-v5 .tf5-share .is-tg { background: #229ED9; }
html.tf-v5 .tf5-share .is-copy { background: var(--v5-paper); color: var(--v5-ink); border: 1px solid var(--v5-line); }

@media (max-width: 767px) {
	html.tf-v5 .tf5-tab { height: 36px; padding: 0 13px; font-size: 13px; }
	html.tf-v5 .tf5-songs { grid-template-columns: 1fr; }
	html.tf-v5 .tf5-more .tf5-mini { flex-basis: 160px; }
}

/* Your speed */
html.tf-v5 .tf5-speed { display: flex; align-items: center; gap: 16px; }
html.tf-v5 .tf5-speed-dial { flex: 0 0 auto; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 0;
	background: var(--v5-paper); border: 4px solid var(--v5-line); color: var(--v5-ink); text-align: center; }
html.tf-v5 .tf5-speed-dial i { font-size: 18px; color: #64748B; }
html.tf-v5 .tf5-speed-dial b { font-size: 26px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
html.tf-v5 .tf5-speed-dial small { font-size: 11px; color: #64748B; font-weight: 700; }
html.tf-v5 .tf5-speed.is-great .tf5-speed-dial { border-color: #1FA855; }
html.tf-v5 .tf5-speed.is-good .tf5-speed-dial { border-color: var(--v5-blue); }
html.tf-v5 .tf5-speed.is-slow .tf5-speed-dial { border-color: var(--v5-gold); }
html.tf-v5 .tf5-speed.is-bad .tf5-speed-dial { border-color: #DC2626; }
html.tf-v5 .tf5-speed-t { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
html.tf-v5 .tf5-speed-t b { font-size: 16px; font-weight: 800; color: var(--v5-ink); }
html.tf-v5 .tf5-speed-t span { font-size: 13.5px; color: #475569; line-height: 1.45; }
html.tf-v5 .tf5-speed-go { margin-top: 4px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--v5-line); background: var(--v5-card);
	color: var(--v5-blue); font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
html.tf-v5 .tf5-speed-go[hidden] { display: none; }

/* "All movies" on phones (home + Movies page, 5 Dec 2026, owner picked look A): one big 16:9 picture per film with the
   title and genres under it, like the other phone rows; no boxed rows; tabs on one sideways-scrolling line */
@media (max-width: 767px) {
	html.tf-v5 #all-movies-section .tp-grid { gap: 22px !important; }
	html.tf-v5 #all-movies-section .tp-grid .tp-card { border: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; }
	html.tf-v5 #all-movies-section .tp-grid .tp-card-link { display: block !important; padding: 0 !important; }
	html.tf-v5 #all-movies-section .tp-grid .tp-card-img { display: block !important; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9 !important; border-radius: 16px !important; overflow: hidden; }
	html.tf-v5 #all-movies-section .tp-grid .tp-card-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
	html.tf-v5 #all-movies-section .tp-grid .tp-card-title { display: block; margin-top: 10px !important; font-size: 16px !important; font-weight: 800 !important; }
	html.tf-v5 #all-movies-section .tp-grid .tp-card-sub { display: block; margin-top: 2px; font-size: 13px !important; }
	html.tf-v5 #all-movies-section .tp-tabs { width: auto !important; max-width: none !important; border: 0 !important; background: none !important; padding: 2px 16px !important; margin: 0 -16px !important; border-radius: 0 !important; }
	html.tf-v5 #all-movies-section .tp-tabs .tp-chip { background: #fff !important; border: 1px solid var(--v5-line) !important; border-radius: 999px !important; }
	html.tf-v5 #all-movies-section .tp-tabs .tp-chip.is-on { background: var(--v5-blue) !important; border-color: var(--v5-blue) !important; }
}
