/* ==========================================================================
   TAMILFLICKS NEW HOME (17 Nov 2026, owner approved the preview tfhome/preview/home.html).
   Uses the old "dark look" switch only as an on/off switch: <html class="tf-dark"> comes from
   ?look=dark (cookie tf_look) or the flag file storage/app/tf-dark-live (see layouts/master.blade.php).
   Colours stay the site's own: blue #2e5eaa, gold #f5b942, ink #0f172a, light page. Home page only.
   Extra rows (Popular actors, Pick a mood) are added by public/js/thisaiplay-engagement.js (TAMILFLICKS-NEW-HOME).
   ========================================================================== */
html.tf-dark .tp-home {
  --nh-blue: #2e5eaa; --nh-blue-d: #244c8c; --nh-gold: #f5b942; --nh-ink: #0f172a; --nh-ink-2: #475569; --nh-line: #e2e8f0;
  --nh-display: "Plus Jakarta Sans", Roboto, system-ui, sans-serif;
  background: #f8fafc;
}
html.tf-dark body:has(.tp-home) { background: #f8fafc; }

/* ---------- Hero: rounded card, words on the left, picture on the right ---------- */
html.tf-dark .tp-home .banner-section { max-width: 1320px; margin: 18px auto 0 !important; padding: 0 clamp(16px, 4vw, 48px) !important; }
html.tf-dark .tp-home .banner-section .slick-list { border-radius: 24px !important; overflow: hidden; box-shadow: 0 18px 40px rgba(15, 23, 42, .18) !important; }
html.tf-dark body .tp-home .banner-section .slick-item {
  position: relative !important; display: block !important; height: clamp(380px, 44vw, 540px) !important; min-height: 0 !important; overflow: hidden;
  border: 0 !important; border-radius: 0 !important; isolation: isolate;
  background: radial-gradient(90% 120% at 0% 100%, rgba(46, 94, 170, .55) 0%, rgba(46, 94, 170, 0) 60%), #0f172a !important;
}
html.tf-dark body .tp-home .banner-section .banner-slide-bg {
  position: absolute !important; top: 0 !important; bottom: 0 !important; right: 0 !important; left: 34% !important; width: 66% !important; height: 100% !important;
  aspect-ratio: auto !important; object-fit: cover !important; object-position: center !important; z-index: 0 !important; border-radius: 0 !important;
}
html.tf-dark body .tp-home .banner-section .slick-item::before {
  content: "" !important; position: absolute; inset: 0; z-index: 1 !important; pointer-events: none; display: block !important;
  background: linear-gradient(90deg, #0f172a 34%, rgba(15, 23, 42, .55) 46%, rgba(15, 23, 42, 0) 62%) !important;
}
html.tf-dark body .tp-home .banner-section .slick-item::after { display: none !important; }
html.tf-dark body .tp-home .banner-section .movie-content { position: absolute !important; inset: 0 !important; background: transparent !important; padding: 0 !important; z-index: 2 !important; height: 100% !important; }
html.tf-dark body .tp-home .banner-section .movie-content > .container-fluid { height: 100% !important; padding: 0 clamp(22px, 4vw, 52px) !important; }
html.tf-dark body .tp-home .banner-section .movie-content .row { height: 100% !important; align-items: center !important; margin: 0; }
html.tf-dark body .tp-home .banner-section .movie-content .container-fluid { display: flex; align-items: center; }
html.tf-dark body .tp-home .banner-section .movie-content .row { flex: 1; }
html.tf-dark body .tp-home .banner-section .movie-content .row > [class*="col-"] { width: min(32%, 430px) !important; max-width: min(32%, 430px) !important; flex: 0 0 auto !important; padding: 0 !important; }
html.tf-dark body .tp-home .banner-section .movie-info { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; color: #fff !important; }
html.tf-dark body .tp-home .banner-section .movie-info h4 {
  font: 800 clamp(28px, 3.4vw, 48px)/1.04 var(--nh-display) !important; letter-spacing: -.02em; color: #fff !important; -webkit-text-fill-color: #fff !important;
  background: none !important; text-shadow: none !important; margin: 0 0 10px !important;
}
html.tf-dark body .tp-home .banner-section .movie-tag { margin-bottom: 12px !important; }
html.tf-dark body .tp-home .banner-section .movie-tag .tag {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px !important; border-radius: 999px !important;
  background: rgba(245, 185, 66, .18) !important; color: var(--nh-gold) !important; font: 700 12px var(--nh-display) !important; border: 0 !important;
}
html.tf-dark body .tp-home .banner-section .movie-info .line-count-3, html.tf-dark body .tp-home .banner-section .movie-info .line-count-3 p {
  color: #cbd5e1 !important; font-size: 14.5px !important; line-height: 1.55 !important; -webkit-line-clamp: 3;
}
html.tf-dark body .tp-home .banner-section .movie-info ul li, html.tf-dark body .tp-home .banner-section .movie-info ul li span { color: #cbd5e1 !important; font-size: 14px !important; }
html.tf-dark body .tp-home .banner-section .movie-info ul li .fw-medium { color: #fff !important; }
html.tf-dark body .tp-home .banner-section .movie-info ul li i { color: var(--nh-gold) !important; }
html.tf-dark body .tp-home .banner-section .movie-info .mt-5 { margin-top: 22px !important; }
html.tf-dark body .tp-home .banner-section .btn-watch-now, html.tf-dark body .tp-home .banner-section .btn-primary {
  height: 48px; padding: 0 24px !important; border-radius: 12px !important; border: 0 !important; background: var(--nh-blue) !important; background-image: none !important;
  color: #fff !important; font: 700 15px var(--nh-display) !important; box-shadow: 0 10px 24px rgba(46, 94, 170, .45) !important; display: inline-flex; align-items: center;
}
html.tf-dark body .tp-home .banner-section .btn-watch-now:hover { background: var(--nh-blue-d) !important; }
html.tf-dark body .tp-home .banner-section .btn-watch-now *, html.tf-dark body .tp-home .banner-section .btn-primary * { color: #fff !important; }
html.tf-dark body .tp-home .banner-section .tp-list-btn, html.tf-dark body .tp-home .banner-section .share-button .btn,
html.tf-dark body .tp-home .banner-section .movie-info .btn:not(.btn-watch-now):not(.btn-primary) {
  height: 48px; padding: 0 18px !important; border-radius: 12px !important; background: rgba(255, 255, 255, .14) !important; border: 1px solid rgba(255, 255, 255, .3) !important;
  color: #fff !important; font: 700 14px var(--nh-display) !important; box-shadow: none !important;
}
html.tf-dark body .tp-home .banner-section .tp-list-btn *, html.tf-dark body .tp-home .banner-section .share-button .btn * { color: #fff !important; }
html.tf-dark .tp-home .banner-section .slick-arrow {
  width: 40px !important; height: 40px !important; border-radius: 50% !important; background: rgba(255, 255, 255, .16) !important; border: 1px solid rgba(255, 255, 255, .3) !important; color: #fff !important; z-index: 3;
}
html.tf-dark .tp-home .banner-section .slick-dots { position: absolute; bottom: 14px !important; left: 0; right: 0; width: auto !important; display: flex !important; justify-content: center; gap: 6px; margin: 0; padding: 0; }
html.tf-dark .tp-home .banner-section .slick-dots li { width: auto !important; height: auto !important; margin: 0 !important; }
html.tf-dark .tp-home .banner-section .slick-dots li button { width: 18px !important; height: 4px !important; padding: 0 !important; border-radius: 2px !important; background: rgba(255, 255, 255, .4) !important; font-size: 0 !important; border: 0 !important; }
html.tf-dark .tp-home .banner-section .slick-dots li button::before { display: none !important; }
html.tf-dark .tp-home .banner-section .slick-dots li.slick-active button { background: var(--nh-gold) !important; width: 26px !important; }
@media (max-width: 900px) {
  html.tf-dark body .tp-home .banner-section .slick-item { height: auto !important; min-height: 540px !important; }
  html.tf-dark body .tp-home .banner-section .banner-slide-bg { left: 0 !important; width: 100% !important; height: 56% !important; bottom: auto !important; }
  html.tf-dark body .tp-home .banner-section .slick-item::before { background: linear-gradient(0deg, #0f172a 44%, rgba(15, 23, 42, .25) 62%, rgba(15, 23, 42, 0) 76%) !important; }
  html.tf-dark body .tp-home .banner-section .movie-content .row { align-items: flex-end !important; padding-bottom: 36px; }
  html.tf-dark body .tp-home .banner-section .movie-content .row > [class*="col-"] { width: 100% !important; max-width: 100% !important; }
  html.tf-dark .tp-home .banner-section .slick-arrow { display: none !important; }
}

/* ---------- Rows: bold titles with a small line under, posters with year tags ---------- */
html.tf-dark .tp-home > .container-fluid { max-width: 1320px; margin: 0 auto; padding-left: clamp(16px, 4vw, 48px) !important; padding-right: clamp(16px, 4vw, 48px) !important; }
html.tf-dark .tp-home .section-wraper.tp-row, html.tf-dark .tp-home .tp-all-movies, html.tf-dark .tp-home .tp-wa-banner, html.tf-dark .tp-home .nh-row { margin-top: 40px !important; }
html.tf-dark .tp-home .main-title, html.tf-dark .tp-home .tp-row-head h5 {
  font: 800 22px/1.2 var(--nh-display) !important; letter-spacing: -.01em; color: var(--nh-ink) !important; -webkit-text-fill-color: var(--nh-ink) !important;
  background: none !important; padding-left: 0 !important; text-transform: none !important;
}
html.tf-dark .tp-home .main-title::before, html.tf-dark .tp-home .main-title::after, html.tf-dark .tp-home .tp-row-head h5::before { display: none !important; }
html.tf-dark .tp-home .nh-sub { display: block; margin-top: 2px; font: 500 13px Roboto, sans-serif; color: var(--nh-ink-2); }
html.tf-dark .tp-home .view-all-button, html.tf-dark .tp-home .tp-row-head a, html.tf-dark .tp-home .nh-more { font: 700 13px var(--nh-display) !important; color: var(--nh-blue) !important; }
html.tf-dark .tp-home .tp-row .tp-scroller { grid-auto-columns: clamp(132px, 13.4vw, 176px); gap: 16px; padding: 4px 2px 8px; scrollbar-width: none; }
html.tf-dark .tp-home .tp-row .tp-scroller::-webkit-scrollbar { display: none; }
html.tf-dark .tp-home .tp-card-img { border-radius: 12px !important; box-shadow: none !important; border: 0 !important; background: #1e293b !important; overflow: hidden; }
html.tf-dark .tp-home .tp-card-img img { transition: transform .25s; }
html.tf-dark .tp-home .tp-card-link:hover .tp-card-img img { transform: scale(1.04); }
html.tf-dark .tp-home .tp-card-link:not(.nh-noplay) .tp-card-img::after {
  content: ""; position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%; z-index: 3;
  background: var(--nh-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230f172a'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/16px no-repeat;
  opacity: 0; transform: translateY(6px); transition: .2s;
}
html.tf-dark .tp-home .tp-card-link:hover .tp-card-img::after, html.tf-dark .tp-home .tp-card-link:focus-visible .tp-card-img::after { opacity: 1; transform: none; }
html.tf-dark .tp-home .tp-live-card .tp-card-img::after { display: none; }
html.tf-dark .tp-home .tp-meta-badges { left: 8px !important; top: 8px !important; right: auto !important; bottom: auto !important; }
html.tf-dark .tp-home .tp-meta-badge { background: rgba(15, 23, 42, .75) !important; color: #fff !important; border: 0 !important; border-radius: 6px !important; font: 800 10.5px var(--nh-display) !important; padding: 3px 8px !important; }
html.tf-dark .tp-home .tp-meta-badge.tp-meta-q { display: none !important; }
html.tf-dark .tp-home .tp-badge-new, html.tf-dark .tp-home .tp-badge { background: var(--nh-gold) !important; color: var(--nh-ink) !important; font: 800 10.5px var(--nh-display) !important; border-radius: 6px !important; box-shadow: none !important; text-transform: uppercase; }
html.tf-dark .tp-home .tp-card-title { margin-top: 9px !important; font: 700 14px/1.3 var(--nh-display) !important; color: var(--nh-ink) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.tf-dark .tp-home .tp-card-sub { font-size: 12.5px !important; color: var(--nh-ink-2) !important; }
html.tf-dark .tp-home .tp-card-ph { background: linear-gradient(160deg, #2e5eaa, #0f172a) !important; }
html.tf-dark .tp-home .tp-card-ph-title { color: #fff !important; font: 800 16px/1.15 var(--nh-display) !important; }
html.tf-dark .tp-home .tp-new-kind { background: var(--nh-gold) !important; color: var(--nh-ink) !important; font: 800 10.5px var(--nh-display) !important; border-radius: 6px !important; }
html.tf-dark .tp-home .tp-new-kind i { color: var(--nh-ink) !important; }

/* ---------- Popular actors + Pick a mood (added by script) ---------- */
html.tf-dark .tp-home .nh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
html.tf-dark .tp-home .nh-actors { display: grid; grid-auto-flow: column; grid-auto-columns: 116px; gap: 18px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 6px; }
html.tf-dark .tp-home .nh-actors::-webkit-scrollbar { display: none; }
html.tf-dark .tp-home .nh-actor { text-align: center; color: var(--nh-ink); text-decoration: none; }
html.tf-dark .tp-home .nh-actor img, html.tf-dark .tp-home .nh-ini {
  width: 100px; height: 100px; border-radius: 50%; object-fit: cover; object-position: center 15%; border: 3px solid #fff; margin: 0 auto;
  box-shadow: 0 0 0 2px var(--nh-line), 0 8px 18px rgba(15, 23, 42, .12); transition: box-shadow .2s; display: block;
}
html.tf-dark .tp-home .nh-ini { display: grid; place-items: center; font: 800 30px var(--nh-display); color: #fff; background: linear-gradient(140deg, #2e5eaa, #0f172a); }
html.tf-dark .tp-home .nh-actor:hover img, html.tf-dark .tp-home .nh-actor:hover .nh-ini { box-shadow: 0 0 0 3px var(--nh-gold), 0 12px 24px rgba(15, 23, 42, .18); }
html.tf-dark .tp-home .nh-actor b { display: block; margin-top: 8px; font: 700 13.5px/1.25 var(--nh-display); }
html.tf-dark .tp-home .nh-actor span { font-size: 12px; color: var(--nh-ink-2); }
html.tf-dark .tp-home .nh-moods { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
html.tf-dark .tp-home .nh-mood {
  position: relative; height: 96px; border-radius: 16px; overflow: hidden; color: #fff; padding: 14px 16px; display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate; text-decoration: none; background: var(--c); border: 0; text-align: left; cursor: pointer; width: 100%;
}
html.tf-dark .tp-home .nh-mood img { position: absolute; right: -10px; top: -6px; width: 58%; height: 120%; object-fit: cover; transform: rotate(8deg); border-radius: 10px; z-index: -1; opacity: .9; box-shadow: -10px 0 24px rgba(0, 0, 0, .35); transition: transform .25s; }
html.tf-dark .tp-home .nh-mood:hover img { transform: rotate(4deg) scale(1.04); }
html.tf-dark .tp-home .nh-mood b { font: 800 18px var(--nh-display); color: #fff; }
html.tf-dark .tp-home .nh-mood span { font-size: 12.5px; opacity: .85; }

/* ---------- WhatsApp banner ---------- */
html.tf-dark .tp-home .tp-wa-inner {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px !important; border-radius: 18px !important;
  background: linear-gradient(110deg, #ecfdf5, #f0fdf4 60%, #fff) !important; border: 1px solid #bbf7d0 !important; box-shadow: none !important;
}
html.tf-dark .tp-home .tp-wa-icon { width: 46px; height: 46px; border-radius: 14px; background: #25d366; color: #fff !important; display: grid; place-items: center; font-size: 26px; flex: none; }
html.tf-dark .tp-home .tp-wa-text strong { font: 800 16px var(--nh-display) !important; color: var(--nh-ink) !important; }
html.tf-dark .tp-home .tp-wa-text span { font-size: 13.5px; color: var(--nh-ink-2) !important; }
html.tf-dark .tp-home .tp-wa-btn { margin-left: auto; height: 42px; padding: 0 20px; border-radius: 12px; background: #25d366 !important; color: #fff !important; font: 700 14px var(--nh-display) !important; display: inline-flex; align-items: center; border: 0 !important; }

/* ---------- All movies ---------- */
html.tf-dark .tp-home .tp-tabs { gap: 8px !important; overflow-x: auto; flex-wrap: nowrap !important; scrollbar-width: none; margin-bottom: 16px; }
html.tf-dark .tp-home .tp-tabs::-webkit-scrollbar { display: none; }
html.tf-dark .tp-home .tp-tabs .tp-chip {
  flex: none; height: 38px; padding: 0 16px !important; border-radius: 999px !important; border: 1px solid var(--nh-line) !important; background: #fff !important;
  font: 600 13px var(--nh-display) !important; color: var(--nh-ink-2) !important; box-shadow: none !important; display: inline-flex; align-items: center; gap: 4px;
}
html.tf-dark .tp-home .tp-tabs .tp-chip .tp-chip-n { background: none !important; color: #94a3b8 !important; font-weight: 600; padding: 0 !important; }
html.tf-dark .tp-home .tp-tabs .tp-chip.is-on { background: var(--nh-ink) !important; border-color: var(--nh-ink) !important; color: #fff !important; }
html.tf-dark .tp-home .tp-tabs .tp-chip.is-on .tp-chip-n { color: #cbd5e1 !important; }
html.tf-dark .tp-home .tp-all-movies .tp-grid { grid-template-columns: repeat(8, minmax(0, 1fr)) !important; gap: 20px 14px !important; }
@media (max-width: 1100px) { html.tf-dark .tp-home .tp-all-movies .tp-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; } }
@media (min-width: 576px) and (max-width: 760px) { html.tf-dark .tp-home .tp-all-movies .tp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 16px 10px !important; } }
@media (min-width: 576px) { html.tf-dark .tp-home .tp-all-movies .tp-card-img { aspect-ratio: 2 / 3 !important; } }
/* phones keep the one-film-per-row list (owner, 14 Oct: easier for older viewers); only the play dot and tags are hidden there */
@media (max-width: 575.98px) {
  html.tf-dark .tp-home .tp-all-movies .tp-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 10px !important; }
  html.tf-dark .tp-home .tp-all-movies .tp-card-img::after { display: none !important; }
  html.tf-dark .tp-home .tp-all-movies .tp-card-title { margin-top: 0 !important; font-size: 17px !important; white-space: normal !important; }
}
html.tf-dark .tp-home .tp-grid-more-btn {
  height: 46px; padding: 0 24px !important; border-radius: 12px !important; background: #fff !important; border: 1px solid var(--nh-line) !important; color: var(--nh-ink) !important;
  font: 700 14px var(--nh-display) !important; box-shadow: none !important; display: inline-flex; align-items: center; gap: 8px;
}
html.tf-dark .tp-home .tp-grid-more-btn:hover { border-color: #94a3b8 !important; }
html.tf-dark .tp-home .tp-grid-more-btn * { color: var(--nh-ink) !important; }
html.tf-dark .tp-home .tp-all-count { color: var(--nh-ink-2) !important; font-size: 13px; }

/* ---------- Live TV: logos on white tiles, small red LIVE ---------- */
html.tf-dark .tp-home .tp-live-row .tp-scroller { grid-auto-columns: clamp(150px, 14vw, 190px); }
html.tf-dark .tp-home .tp-live-card .tp-card-img { aspect-ratio: 16 / 10 !important; background: #fff !important; border: 1px solid var(--nh-line) !important; display: grid !important; place-items: center; transition: box-shadow .2s; }
html.tf-dark .tp-home .tp-live-card .tp-card-link:hover .tp-card-img { box-shadow: 0 10px 24px rgba(15, 23, 42, .1) !important; }
html.tf-dark .tp-home .tp-live-card .tp-card-img img { width: auto !important; height: auto !important; max-width: 70% !important; max-height: 60% !important; object-fit: contain !important; transform: none !important; }
html.tf-dark .tp-home .tp-live-tile-tag {
  position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px !important; border-radius: 6px !important;
  background: #fef2f2 !important; color: #dc2626 !important; font: 800 10px var(--nh-display) !important; text-transform: uppercase; box-shadow: none !important;
}
html.tf-dark .tp-home .tp-live-tile-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #dc2626; animation: nhLive 1.6s infinite; }
@keyframes nhLive { 50% { opacity: .3; } }

html.tf-dark .tp-home :is(a, button):focus-visible { outline: 3px solid var(--nh-gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html.tf-dark .tp-home .tp-live-tile-tag::before { animation: none; }
  html.tf-dark .tp-home .tp-card-img img, html.tf-dark .tp-home .nh-mood img { transition: none; }
}
html.tf-dark body #banner-section .tp-list-btn, html.tf-dark body #banner-section .tp-list-btn span, html.tf-dark body #banner-section .tp-list-btn i,
html.tf-dark body #banner-section .share-button .btn, html.tf-dark body #banner-section .share-button .btn i { color: #fff !important; }
html.tf-dark body #banner-section .tp-list-btn { display: inline-flex; align-items: center; gap: 8px; }
html.tf-dark .tp-home .tp-tabs .tp-chip { flex-direction: row !important; white-space: nowrap; }
html.tf-dark .tp-home .tp-tabs .tp-chip .tp-chip-n { display: inline !important; margin: 0 !important; font-size: 12px !important; }

@media (max-width: 575.98px) {
  html.tf-dark .tp-home .nh-moods { grid-template-columns: 1fr 1fr; gap: 10px; }
  html.tf-dark .tp-home .nh-mood { height: 84px; padding: 12px; }
  html.tf-dark .tp-home .nh-mood b { font-size: 16px; }
  html.tf-dark .tp-home .tp-wa-inner { flex-wrap: wrap; gap: 12px; }
  html.tf-dark .tp-home .tp-wa-btn { margin-left: 0; width: 100%; justify-content: center; }
  html.tf-dark .tp-home .tp-tabs { grid-auto-columns: auto !important; display: flex !important; padding-left: 1px; }
  html.tf-dark .tp-home .tp-tabs .tp-chip { min-height: 0 !important; height: 40px; font-size: 14px !important; }
}

/* ==========================================================================
   TAMILFLICKS NEW FILM PAGE (17 Nov 2026, owner approved tfmovie/preview/movie.html).
   html.tf-mv is added by public/js/thisaiplay-engagement.js (TAMILFLICKS-NEW-FILM-PAGE). Our player is untouched.
   ========================================================================== */
html.tf-mv { --mv-blue: #2e5eaa; --mv-blue-d: #244c8c; --mv-gold: #f5b942; --mv-ink: #0f172a; --mv-ink-2: #475569; --mv-line: #e2e8f0;
  --mv-display: "Plus Jakarta Sans", Roboto, system-ui, sans-serif; }
html.tf-mv body { background: #f8fafc !important; }
html.tf-mv .mv-crumb { max-width: 1320px; margin: 16px auto 12px; padding: 0 clamp(16px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--mv-ink-2); }
html.tf-mv .mv-crumb a { color: var(--mv-ink-2); text-decoration: none; }
html.tf-mv .mv-crumb a:hover { color: var(--mv-blue); }
html.tf-mv .mv-crumb i { font-style: normal; opacity: .5; }
html.tf-mv .mv-crumb span { color: var(--mv-ink); font-weight: 500; }
/* player frame only */
html.tf-mv #plyrPlayerShell { border-radius: 20px !important; overflow: hidden; box-shadow: 0 18px 40px rgba(15, 23, 42, .22) !important; border: 0 !important; }
html.tf-mv .plyr { --plyr-color-main: #f5b942; }
/* words + details box */
html.tf-mv .detail-page-info { padding-top: 26px !important; }
html.tf-mv .detail-page-info > .container-fluid { max-width: 1320px; margin: 0 auto; padding-left: clamp(16px, 4vw, 48px) !important; padding-right: clamp(16px, 4vw, 48px) !important; }
html.tf-mv .mv-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(20px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { html.tf-mv .mv-grid { grid-template-columns: 1fr; } }
html.tf-mv .tp-detail { display: flex; flex-direction: column; min-width: 0; background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
html.tf-mv .tp-detail > .row { display: none !important; }
html.tf-mv .tp-detail > .movie-metalist { order: 1; margin: 0 0 12px !important; gap: 8px !important; }
html.tf-mv .tp-detail > h4 { order: 2; }
html.tf-mv .tp-detail > p { order: 3; }
html.tf-mv .tp-detail > div.d-flex { order: 4; }
html.tf-mv .tp-detail > .footer-menu { order: 6; }
html.tf-mv .tp-detail .movie-metalist li { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; background: #fff; border: 1px solid var(--mv-line);
  font: 700 12px var(--mv-display) !important; color: var(--mv-ink-2) !important; margin: 0 !important; }
html.tf-mv .tp-detail .movie-metalist li * { font: inherit !important; color: inherit !important; }
html.tf-mv .tp-detail .movie-metalist li i, html.tf-mv .tp-detail .movie-metalist li span:has(> i) { display: none !important; }
html.tf-mv .tp-detail .movie-metalist li:has(.tp-meta-q) { background: var(--mv-ink); border-color: var(--mv-ink); color: #fff !important; padding: 0 11px; }
html.tf-mv .tp-detail .movie-metalist .tp-meta-badge { background: none !important; color: #fff !important; padding: 0 !important; border: 0 !important; }
html.tf-mv .tp-detail .movie-metalist li.mv-genre { background: rgba(245, 185, 66, .16); border-color: transparent; color: #92400e !important; }
html.tf-mv .tp-detail > h4 { font: 800 clamp(30px, 4.4vw, 52px)/1.04 var(--mv-display) !important; letter-spacing: -.02em; color: var(--mv-ink) !important; margin: 0 0 12px !important;
  border: 0 !important; padding: 0 !important; background: none !important; -webkit-text-fill-color: var(--mv-ink) !important; }
html.tf-mv .tp-detail > p, html.tf-mv .tp-detail .js-desc-text { color: #334155 !important; font-size: 15.5px !important; line-height: 1.65 !important; max-width: 720px; margin-bottom: 0 !important; }
html.tf-mv .tp-detail > div.d-flex { margin-top: 22px !important; gap: 10px !important; flex-direction: row !important; flex-wrap: wrap !important; align-items: center !important; }
html.tf-mv .tp-detail .play-button-wrapper, html.tf-mv .tp-detail .tp-movie-actions { display: contents !important; }
html.tf-mv .tp-detail .btn:not(.watch-list-btn):not(.action-btn):not(.tp-disclaimer), html.tf-mv .tp-detail .tp-list-btn, html.tf-mv .tp-detail .tp-wa-btn {
  display: inline-flex !important; align-items: center; gap: 8px; height: 48px; padding: 0 20px !important; border-radius: 12px !important; border: 1px solid var(--mv-line) !important;
  background: #fff !important; background-image: none !important; color: var(--mv-ink) !important; font: 700 14.5px var(--mv-display) !important; box-shadow: none !important; text-decoration: none; margin: 0 !important; min-width: 0 !important; width: auto !important;
}
html.tf-mv .tp-detail .btn *, html.tf-mv .tp-detail .tp-list-btn *, html.tf-mv .tp-detail .tp-wa-btn * { color: inherit !important; }
html.tf-mv .tp-detail .btn svg { width: 18px; height: 18px; }
html.tf-mv .tp-detail .btn:hover, html.tf-mv .tp-detail .tp-list-btn:hover { border-color: #94a3b8 !important; }
html.tf-mv .tp-detail #watchNowButton { background: var(--mv-blue) !important; border-color: var(--mv-blue) !important; color: #fff !important; padding: 0 28px !important; box-shadow: 0 10px 24px rgba(46, 94, 170, .4) !important; }
html.tf-mv .tp-detail #watchNowButton:hover { background: var(--mv-blue-d) !important; }
html.tf-mv .tp-detail .tp-wa-btn { background: #25d366 !important; border-color: #25d366 !important; color: #fff !important; }
html.tf-mv .tp-detail .tp-list-btn[aria-pressed="true"] i { color: #e11d48 !important; }
html.tf-mv .tp-detail .tp-vote { display: flex !important; align-items: center; gap: 6px; flex-basis: 100%; margin-top: 6px; color: var(--mv-ink-2); font-size: 13.5px; }
html.tf-mv .tp-detail .tp-vote-btn { width: 40px; height: 40px; border-radius: 50% !important; border: 1px solid var(--mv-line) !important; background: #fff !important; color: var(--mv-ink-2) !important; display: grid; place-items: center; }
html.tf-mv .tp-detail .tp-vote-btn[aria-pressed="true"] { background: var(--mv-ink) !important; border-color: var(--mv-ink) !important; color: #fff !important; }
html.tf-mv .tp-detail > .footer-menu { margin-top: 26px !important; font-size: 12.5px !important; color: #94a3b8 !important; }
html.tf-mv .tp-detail > .footer-menu * { font-size: 12.5px !important; color: #94a3b8 !important; }
html.tf-mv .mv-facts { background: #fff; border: 1px solid var(--mv-line); border-radius: 18px; padding: 6px 20px; box-shadow: 0 8px 24px rgba(15, 23, 42, .05); color: var(--mv-ink); }
html.tf-mv .mv-facts h2 { font: 800 15px var(--mv-display); margin: 14px 0 6px; color: var(--mv-ink); }
html.tf-mv .mv-facts dl { margin: 0; }
html.tf-mv .mv-facts dl > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--mv-line); font-size: 14px; }
html.tf-mv .mv-facts dl > div:first-child { border-top: 0; }
html.tf-mv .mv-facts dt { color: var(--mv-ink-2); font-weight: 400; }
html.tf-mv .mv-facts dd { margin: 0; font-weight: 500; }
html.tf-mv .mv-facts dd a { color: var(--mv-blue); font-weight: 600; text-decoration: none; }
html.tf-mv .mv-facts dd a:hover { text-decoration: underline; }
/* Cast & crew + More like this */
html.tf-mv .mv-people, html.tf-mv #tp-more { max-width: 1320px; margin: 44px auto 0 !important; padding: 0 clamp(16px, 4vw, 48px) !important; }
html.tf-mv .mv-head h2, html.tf-mv #tp-more .main-title { font: 800 22px/1.2 var(--mv-display) !important; color: var(--mv-ink) !important; -webkit-text-fill-color: var(--mv-ink) !important;
  background: none !important; padding-left: 0 !important; margin: 0 0 14px !important; text-transform: none !important; }
html.tf-mv #tp-more .main-title::before, html.tf-mv #tp-more .main-title::after { display: none !important; }
html.tf-mv .mv-head h2 span, html.tf-mv #tp-more .main-title span { display: block; margin-top: 2px; font: 500 13px Roboto, sans-serif; color: var(--mv-ink-2); -webkit-text-fill-color: var(--mv-ink-2); }
html.tf-mv .mv-row { display: grid; grid-auto-flow: column; grid-auto-columns: 116px; gap: 18px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 6px; }
html.tf-mv .mv-row::-webkit-scrollbar { display: none; }
html.tf-mv .mv-person { text-align: center; color: var(--mv-ink); text-decoration: none; }
html.tf-mv .mv-person img, html.tf-mv .mv-ini { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; object-position: center 15%; border: 3px solid #fff; margin: 0 auto; display: block;
  box-shadow: 0 0 0 2px var(--mv-line), 0 8px 18px rgba(15, 23, 42, .12); transition: box-shadow .2s; }
html.tf-mv .mv-ini { display: grid; place-items: center; font: 800 30px var(--mv-display); color: #fff; background: linear-gradient(140deg, #2e5eaa, #0f172a); }
html.tf-mv .mv-person:hover img, html.tf-mv .mv-person:hover .mv-ini { box-shadow: 0 0 0 3px var(--mv-gold), 0 12px 24px rgba(15, 23, 42, .18); }
html.tf-mv .mv-person b { display: block; margin-top: 8px; font: 700 13.5px/1.25 var(--mv-display); }
html.tf-mv .mv-person span { font-size: 12px; color: var(--mv-ink-2); }
html.tf-mv .mv-person.is-dir span { color: #92400e; font-weight: 600; }
html.tf-mv #tp-more .tp-scroller { display: grid !important; grid-auto-flow: column !important; grid-template-columns: none !important; grid-template-rows: none !important;
  grid-auto-columns: clamp(132px, 13.4vw, 176px) !important; gap: 16px !important; overflow-x: auto !important; scrollbar-width: none; padding: 4px 2px 8px !important; }
html.tf-mv #tp-more .tp-scroller::-webkit-scrollbar { display: none; }
html.tf-mv #tp-more .tp-card-img { aspect-ratio: 2 / 3 !important; border-radius: 12px !important; overflow: hidden; box-shadow: none !important; border: 0 !important; background: #1e293b !important; }
html.tf-mv #tp-more .tp-card-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform .25s; }
html.tf-mv #tp-more .tp-card-link:hover .tp-card-img img { transform: scale(1.04); }
html.tf-mv #tp-more .tp-more-why { display: none !important; }
html.tf-mv #tp-more .tp-more-play { inset: auto 10px 10px auto !important; width: 38px !important; height: 38px !important; border-radius: 50% !important; background: var(--mv-gold) !important;
  display: grid !important; place-items: center; opacity: 0; transform: translateY(6px); transition: .2s; }
html.tf-mv #tp-more .tp-more-play i { color: var(--mv-ink) !important; font-size: 16px !important; background: none !important; width: auto !important; height: auto !important; }
html.tf-mv #tp-more .tp-card-link:hover .tp-more-play { opacity: 1; transform: none; }
html.tf-mv #tp-more .tp-card-title { margin-top: 9px !important; font: 700 14px/1.3 var(--mv-display) !important; color: var(--mv-ink) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.tf-mv #tp-more .tp-card-sub { font-size: 12.5px !important; color: var(--mv-ink-2) !important; }
html.tf-mv #tp-more .tp-row-head a, html.tf-mv #tp-more a.view-all-button { font: 700 13px var(--mv-display) !important; color: var(--mv-blue) !important; }
html.tf-mv :is(.mv-crumb, .mv-grid, .mv-people, #tp-more) :is(a, button):focus-visible { outline: 3px solid var(--mv-gold); outline-offset: 2px; }
@media (max-width: 575.98px) {
  html.tf-mv .tp-detail #watchNowButton { flex: 1 1 100%; justify-content: center; }
  html.tf-mv .tp-detail .btn, html.tf-mv .tp-detail .tp-list-btn, html.tf-mv .tp-detail .tp-wa-btn { height: 44px; padding: 0 14px !important; font-size: 14px !important; }
}
@media (prefers-reduced-motion: reduce) { html.tf-mv #tp-more .tp-card-img img, html.tf-mv .mv-person img { transition: none; } }
html.tf-mv .tp-detail .watch-list-btn, html.tf-mv .tp-detail .action-btn { display: none !important; }
html.tf-mv .tp-detail > .footer-menu, html.tf-mv .tp-detail > .footer-menu * { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; font-weight: 400 !important; line-height: 1.5 !important; }
/* phones: big Watch now, then a tidy 2 x 2 of Download / Share / My list / WhatsApp, then the thumbs */
@media (max-width: 575.98px) {
  html.tf-mv body .tp-detail > div.d-flex { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  html.tf-mv body .tp-detail #watchNowButton { grid-column: 1 / -1; width: 100% !important; justify-content: center; height: 50px !important; }
  html.tf-mv body .tp-detail .share-button { width: 100% !important; margin: 0 !important; }
  html.tf-mv body .tp-detail > div.d-flex .btn:not(.watch-list-btn):not(.action-btn),
  html.tf-mv body .tp-detail > div.d-flex .tp-list-btn,
  html.tf-mv body .tp-detail > div.d-flex .tp-wa-btn {
    width: 100% !important; height: 46px !important; min-height: 0 !important; flex-direction: row !important; justify-content: center; gap: 8px !important;
    padding: 0 10px !important; font-size: 14px !important; border-radius: 12px !important;
  }
  html.tf-mv body .tp-detail > div.d-flex .btn > span { flex-direction: row !important; }
  html.tf-mv body .tp-detail > div.d-flex :is(.btn, .tp-list-btn, .tp-wa-btn) i { font-size: 18px !important; margin: 0 !important; }
  html.tf-mv body .tp-detail > div.d-flex :is(.btn, .tp-list-btn, .tp-wa-btn) span { font-size: 14px !important; display: inline !important; }
  html.tf-mv body .tp-detail .tp-vote { grid-column: 1 / -1; display: flex !important; flex-direction: row !important; width: auto !important; }
  html.tf-mv body .tp-detail .tp-vote > * { flex: none; }
  html.tf-mv body .tp-detail .tp-vote span, html.tf-mv body .tp-detail .tp-vote small { white-space: nowrap; font-size: 13px !important; }
}
html.tf-mv body .mv-grid .tp-detail > div.footer-menu { font-size: 12.5px !important; font-weight: 400 !important; color: #94a3b8 !important; margin-top: 26px !important; }
html.tf-mv body .tp-detail .tp-list-btn::after, html.tf-mv body .tp-detail .tp-list-btn::before { content: none !important; display: none !important; }
@media (max-width: 575.98px) {
  html.tf-mv body .tp-detail > div.d-flex * { order: 0 !important; }
  html.tf-mv body .tp-detail > div.d-flex .tfdl-btn { grid-column: auto !important; }
  html.tf-mv body .tp-detail .tp-vote { order: 9 !important; }
  html.tf-mv body .tp-detail .actions-list { display: none !important; }
}
html.tf-mv body .tp-detail .tp-disclaimer { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; height: auto !important;
  font: 400 12.5px/1.5 Roboto, sans-serif !important; color: #94a3b8 !important; text-align: left !important; margin: 26px 0 0 !important; }
html.tf-mv .mv-person span.mv-ini { font: 800 30px var(--mv-display) !important; color: #fff !important; }
html.tf-dark .tp-home .nh-actor span.nh-ini { font: 800 30px var(--nh-display) !important; color: #fff !important; }

/* ==========================================================================
   TAMILFLICKS NEW MOVIES PAGE (17 Nov 2026, owner approved tfmovies/preview/movies.html).
   html.tf-ml is added by thisaiplay-engagement.js (TAMILFLICKS-NEW-MOVIES-PAGE) on /movies only.
   ========================================================================== */
html.tf-ml { --ml-blue: #2e5eaa; --ml-blue-d: #244c8c; --ml-gold: #f5b942; --ml-ink: #0f172a; --ml-ink-2: #475569; --ml-line: #e2e8f0;
  --ml-display: "Plus Jakarta Sans", Roboto, system-ui, sans-serif; }
html.tf-ml body.route-movies { background: #f8fafc !important; }
html.tf-ml body.route-movies main > .container-fluid, html.tf-ml body.route-movies .tpm-top, html.tf-ml .ml-head { max-width: 1320px; margin-left: auto !important; margin-right: auto !important; }
html.tf-ml .ml-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 28px clamp(16px, 4vw, 48px) 20px; }
html.tf-ml .ml-head h1 { font: 800 clamp(34px, 4.6vw, 52px)/1 var(--ml-display); letter-spacing: -.02em; margin: 0; color: var(--ml-ink); }
html.tf-ml .ml-head p { margin: 6px 0 0; color: var(--ml-ink-2); font-size: 15px; }
html.tf-ml .ml-find { position: relative; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 14px; background: #fff; border: 1px solid var(--ml-line); width: min(420px, 100%); box-shadow: 0 6px 18px rgba(15, 23, 42, .05); }
html.tf-ml .ml-find:focus-within { border-color: var(--ml-blue); box-shadow: 0 0 0 3px rgba(46, 94, 170, .15); }
html.tf-ml .ml-find input { border: 0 !important; outline: 0; flex: 1; font-size: 15px; background: none !important; color: var(--ml-ink); box-shadow: none !important; padding: 0 !important; height: auto !important; }
html.tf-ml .ml-sug { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); max-height: 380px; overflow-y: auto; background: #fff; border: 1px solid var(--ml-line); border-radius: 14px; box-shadow: 0 16px 36px rgba(15, 23, 42, .16); padding: 6px; }
html.tf-ml .ml-sug a { display: flex; align-items: center; gap: 12px; padding: 6px 8px; border-radius: 10px; color: var(--ml-ink); text-decoration: none; }
html.tf-ml .ml-sug a:hover, html.tf-ml .ml-sug a.on { background: #f1f5f9; }
html.tf-ml .ml-sug img, html.tf-ml .ml-sug-ph { width: 36px; height: 54px; border-radius: 6px; object-fit: cover; flex: none; background: linear-gradient(160deg, #2e5eaa, #0f172a); }
html.tf-ml .ml-sug b { display: block; font: 700 14px var(--ml-display); }
html.tf-ml .ml-sug small { display: block; font-size: 12px; color: var(--ml-ink-2); }
html.tf-ml .ml-sug p { margin: 0; padding: 10px; color: var(--ml-ink-2); font-size: 14px; }
/* newest film + also new */
html.tf-ml .tpm-top { padding: 0 clamp(16px, 4vw, 48px) !important; background: none !important; }
html.tf-ml .tpm-wrap { display: grid !important; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) !important; gap: 16px !important; padding: 0 !important; background: none !important; }
@media (max-width: 900px) { html.tf-ml .tpm-wrap { grid-template-columns: 1fr !important; } }
html.tf-ml .tpm-big { position: relative !important; display: block !important; border-radius: 22px !important; overflow: hidden !important; min-height: 360px; border: 0 !important; isolation: isolate;
  background: radial-gradient(90% 120% at 0% 100%, rgba(46, 94, 170, .55) 0%, rgba(46, 94, 170, 0) 60%), #0f172a !important; box-shadow: 0 18px 40px rgba(15, 23, 42, .18) !important; color: #fff; }
html.tf-ml .tpm-big-img { position: absolute !important; top: 0; right: 0; bottom: 0; left: 30%; width: 70% !important; height: 100% !important; z-index: 0; aspect-ratio: auto !important; }
html.tf-ml .tpm-big-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: 0 !important; }
html.tf-ml .tpm-big-img .tpm-badges { display: none !important; }
html.tf-ml .tpm-big::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #0f172a 30%, rgba(15, 23, 42, .5) 46%, rgba(15, 23, 42, 0) 64%); }
html.tf-ml .tpm-big-info { position: absolute !important; left: 28px; bottom: 28px; z-index: 2; width: min(44%, 360px); background: none !important; padding: 0 !important; display: block !important; border: 0 !important; }
html.tf-ml .tpm-kicker { display: inline-flex !important; height: 24px; align-items: center; padding: 0 10px; border-radius: 999px; background: rgba(245, 185, 66, .18) !important; color: var(--ml-gold) !important;
  font: 700 12px var(--ml-display) !important; margin-bottom: 10px; text-transform: none !important; letter-spacing: 0 !important; }
html.tf-ml .tpm-big-title { font: 800 clamp(28px, 3.4vw, 42px)/1.05 var(--ml-display) !important; color: #fff !important; margin: 0 0 8px; }
html.tf-ml .tpm-big-meta { color: #cbd5e1 !important; font-size: 14px !important; margin-bottom: 18px; }
html.tf-ml .tpm-play { display: inline-flex !important; align-items: center; gap: 8px; height: 46px; padding: 0 22px !important; border-radius: 12px !important; background: var(--ml-blue) !important; color: #fff !important;
  font: 700 14.5px var(--ml-display) !important; box-shadow: 0 10px 24px rgba(46, 94, 170, .45) !important; position: static !important; }
html.tf-ml .tpm-play i { color: #fff !important; }
html.tf-ml .tpm-big:hover .tpm-play { background: var(--ml-blue-d) !important; }
@media (max-width: 600px) {
  html.tf-ml .tpm-big { min-height: 420px; }
  html.tf-ml .tpm-big-img { left: 0; width: 100% !important; height: 55% !important; bottom: auto; }
  html.tf-ml .tpm-big::after { background: linear-gradient(0deg, #0f172a 45%, rgba(15, 23, 42, 0) 70%); }
  html.tf-ml .tpm-big-info { left: 22px; right: 22px; width: auto; bottom: 22px; }
}
html.tf-ml .tpm-side { display: grid !important; gap: 12px; align-content: start; background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
html.tf-ml .tpm-side-head { font: 800 15px var(--ml-display) !important; color: var(--ml-ink-2) !important; margin: 2px 0 0 !important; }
html.tf-ml .tpm-item { display: grid !important; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 10px !important; border-radius: 16px !important; background: #fff !important;
  border: 1px solid var(--ml-line) !important; box-shadow: none !important; text-decoration: none; transition: box-shadow .2s; position: relative; }
html.tf-ml .tpm-item:hover { box-shadow: 0 10px 24px rgba(15, 23, 42, .08) !important; }
html.tf-ml .tpm-item-img { width: 64px !important; aspect-ratio: 2 / 3 !important; height: auto !important; border-radius: 10px !important; overflow: hidden; }
html.tf-ml .tpm-item-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
html.tf-ml .tpm-item-img .tpm-badge { display: none !important; }
html.tf-ml .tpm-item-title { display: block; font: 700 15px/1.25 var(--ml-display) !important; color: var(--ml-ink) !important; padding-right: 44px; }
html.tf-ml .tpm-item-meta { font-size: 13px !important; color: var(--ml-ink-2) !important; }
html.tf-ml .tpm-item::after { content: ""; position: absolute; right: 12px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%;
  background: var(--ml-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230f172a'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/14px no-repeat; }
/* sticky bar */
html.tf-ml #all-movies-section { max-width: 1320px; margin: 0 auto !important; padding: 0 clamp(16px, 4vw, 48px) !important; }
html.tf-ml #all-movies-section .tp-all-head { display: none !important; }
html.tf-ml .ml-bar { position: sticky; top: 64px; z-index: 15; display: flex; gap: 12px; align-items: center; margin: 34px calc(clamp(16px, 4vw, 48px) * -1) 18px; padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(248, 250, 252, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--ml-line); }
html.tf-ml .ml-bar .tp-tabs { display: flex !important; flex: 1; min-width: 0; gap: 8px !important; overflow-x: auto; flex-wrap: nowrap !important; scrollbar-width: none; margin: 0 !important; padding: 0 !important; grid-auto-columns: auto !important; }
html.tf-ml .ml-bar .tp-tabs::-webkit-scrollbar { display: none; }
html.tf-ml .ml-bar .tp-chip { flex: none; display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 4px; height: 38px; min-height: 0 !important; padding: 0 15px !important;
  border-radius: 999px !important; border: 1px solid var(--ml-line) !important; background: #fff !important; font: 600 13px var(--ml-display) !important; color: var(--ml-ink-2) !important; box-shadow: none !important; white-space: nowrap; }
html.tf-ml .ml-bar .tp-chip .tp-chip-n { display: inline !important; background: none !important; color: #94a3b8 !important; padding: 0 !important; margin: 0 !important; font-size: 12px !important; }
html.tf-ml .ml-bar .tp-chip.is-on { background: var(--ml-ink) !important; border-color: var(--ml-ink) !important; color: #fff !important; }
html.tf-ml .ml-bar .tp-chip.is-on .tp-chip-n { color: #cbd5e1 !important; }
html.tf-ml .ml-tools { display: flex; gap: 8px; flex: none; }
html.tf-ml .ml-tools .tp-select { height: 38px; border-radius: 999px !important; border: 1px solid var(--ml-line) !important; background-color: #fff !important; padding: 0 30px 0 14px !important;
  font: 600 13px var(--ml-display) !important; color: var(--ml-ink) !important; box-shadow: none !important; }
@media (max-width: 760px) { html.tf-ml .ml-bar { flex-wrap: wrap; top: 56px; } html.tf-ml .ml-tools { width: 100%; } html.tf-ml .ml-tools .tp-select { flex: 1; } }
html.tf-ml .ml-count { font-size: 13px; color: var(--ml-ink-2); margin: 0 0 14px; }
html.tf-ml .ml-count .tp-all-count { font: inherit !important; color: inherit !important; }
/* grid: tall posters (phones keep the one-film-per-row list) */
@media (min-width: 576px) {
  html.tf-ml #all-movies-section .tp-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important; gap: 22px 16px !important; }
  html.tf-ml #all-movies-section .tp-card-img { aspect-ratio: 2 / 3 !important; }
}
html.tf-ml #all-movies-section .tp-card-img { border-radius: 12px !important; box-shadow: none !important; border: 0 !important; background: #1e293b !important; overflow: hidden; }
html.tf-ml #all-movies-section .tp-card-img img { transition: transform .25s; }
html.tf-ml #all-movies-section .tp-card-link:hover .tp-card-img img { transform: scale(1.04); }
html.tf-ml #all-movies-section .tp-card-img::after {
  content: ""; position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%; z-index: 3;
  background: var(--ml-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230f172a'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/16px no-repeat;
  opacity: 0; transform: translateY(6px); transition: .2s;
}
html.tf-ml #all-movies-section .tp-card-link:hover .tp-card-img::after { opacity: 1; transform: none; }
html.tf-ml #all-movies-section .tp-meta-badges { left: 8px !important; top: 8px !important; right: auto !important; bottom: auto !important; }
html.tf-ml #all-movies-section .tp-meta-badge { background: rgba(15, 23, 42, .75) !important; color: #fff !important; border: 0 !important; border-radius: 6px !important; font: 800 10.5px var(--ml-display) !important; padding: 3px 8px !important; }
html.tf-ml #all-movies-section .tp-meta-badge.tp-meta-q { display: none !important; }
html.tf-ml #all-movies-section .tp-badge { background: var(--ml-gold) !important; color: var(--ml-ink) !important; font: 800 10.5px var(--ml-display) !important; border-radius: 6px !important; text-transform: uppercase; box-shadow: none !important; }
html.tf-ml #all-movies-section .tp-card-title { margin-top: 9px !important; font: 700 14px/1.3 var(--ml-display) !important; color: var(--ml-ink) !important; }
html.tf-ml #all-movies-section .tp-card-sub { font-size: 12.5px !important; color: var(--ml-ink-2) !important; }
html.tf-ml #all-movies-section .tp-card-ph { background: linear-gradient(160deg, #2e5eaa, #0f172a) !important; }
html.tf-ml #all-movies-section .tp-card-ph-title { color: #fff !important; font: 800 16px/1.15 var(--ml-display) !important; }
@media (min-width: 576px) { html.tf-ml #all-movies-section .tp-card-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
@media (max-width: 575.98px) { html.tf-ml #all-movies-section .tp-card-img::after { display: none !important; } html.tf-ml #all-movies-section .tp-card-title { margin-top: 0 !important; font-size: 17px !important; } }
html.tf-ml .tp-grid-more-btn { height: 46px; padding: 0 24px !important; border-radius: 12px !important; background: #fff !important; background-image: none !important; border: 1px solid var(--ml-line) !important;
  color: var(--ml-ink) !important; font: 700 14px var(--ml-display) !important; box-shadow: none !important; display: inline-flex; align-items: center; gap: 8px; }
html.tf-ml .tp-grid-more-btn * { color: var(--ml-ink) !important; }
html.tf-ml .tp-grid-more { justify-content: center !important; margin: 30px 0 10px !important; }
html.tf-ml :is(.ml-head, .tpm-top, .ml-bar, #all-movies-section) :is(a, button, select, input):focus-visible { outline: 3px solid var(--ml-gold); outline-offset: 2px; }
html.tf-ml #all-movies-section { display: block !important; }
html.tf-ml #all-movies-section .tp-grid { width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
html.tf-ml body.route-movies main > .container-fluid { padding-left: clamp(16px, 4vw, 48px) !important; padding-right: clamp(16px, 4vw, 48px) !important; }
html.tf-ml #all-movies-section { max-width: none !important; padding: 0 !important; }
