/* Bingr in de browser (bingr.online/web): responsief, donker, Netflix-stijl. Accentkleur per profiel via --accent. */
:root {
  --accent: #E50914;
  --on-accent: #fff; /* tekst/iconen op een vlak in de accentkleur (bij goud donker; zie app.applyAccent) */
  --red: #E50914; /* Bingr-rood (vast, ook als het profiel een andere accentkleur heeft) */
  --bg: #0a0a0a;
  --bg2: #141414;
  --card: #1c1c1c;
  --card2: #262626;
  --fg: #ffffff;
  --sec: #b3b3b3;
  --muted: #8c8c8c;
  --line: #ffffff1a;
  --radius: 8px;
  --gutter: 48px;
  --top: 68px;
  --tabbar: 0px;
  --poster-w: 168px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 15px/1.45 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0; }
kbd { font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--card2); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 4px 7px; margin-left: auto; color: #ddd; }
.muted { color: var(--sec); }
.small { font-size: 13px; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ic { width: 22px; height: 22px; flex: none; }
.hidden { display: none !important; }
/* build 138: honeypot bij account maken (S.emailForm): buiten beeld, niet display:none (bots slaan dat over) */
.hp-field { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }

/* logo, spinner, knoppen */
/* logo zoals BingrLogo in de apps: witte, zware afgeronde letters met een streep in de accentkleur eronder */
.logo { display: inline-flex; flex-direction: column; align-items: stretch; color: #fff; font-family: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 900; font-size: 28px; letter-spacing: .02em; line-height: 1; text-decoration: none; filter: drop-shadow(0 0 .15em #00000080); }
.logo::after { content: ""; display: block; height: max(2px, .09em); margin: .1em .04em 0; border-radius: 99px; background: var(--accent); }
.logo.big { font-size: 56px; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #ffffff26; border-top-color: var(--accent); animation: spin .8s linear infinite; flex: none; }
.btn .spinner { width: 20px; height: 20px; border-width: 2px; border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.splash { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
/* intro (zelfde opbouw als SplashView in de apps) */
.sp { position: fixed; inset: 0; min-height: 0; background: #000; overflow: hidden; z-index: 50; }
.sp-cover { position: absolute; top: 0; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; box-shadow: 0 6px 20px #0009; transform: translateY(-110%) rotate(var(--r0)); animation-name: spFall; animation-timing-function: cubic-bezier(.55,0,1,.45); animation-fill-mode: both; }
.sp-cover .sp-img, .sp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes spFall { from { transform: translateY(-110%) rotate(var(--r0)); } to { transform: translateY(calc(100vh + 20vw)) rotate(var(--r1)); } }
.sp-dim { position: absolute; inset: 0; background: linear-gradient(#0003, #000000f2, #0003); opacity: 0; animation: spDim .5s ease-in-out 1.27s both; }
@keyframes spDim { to { opacity: 1; } }
.sp-word { position: relative; z-index: 2; filter: drop-shadow(0 0 20px #000c); }
.sp-letters, .sp-shine { font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 900; font-size: clamp(56px, 11vw, 120px); letter-spacing: .02em; line-height: 1; color: #fff; white-space: nowrap; }
.sp-l { display: inline-block; }
.sp-anim .sp-l { opacity: 0; transform: translateY(90%) scale(.6); transform-origin: bottom; animation: spLetter .5s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes spLetter { to { opacity: 1; transform: none; } }
.sp-shine { position: absolute; inset: 0; color: transparent; background: linear-gradient(110deg, transparent 40%, #ffffffe6 50%, transparent 60%) no-repeat; background-size: 250% 100%; background-position: 130% 0; -webkit-background-clip: text; background-clip: text; pointer-events: none; }
.sp-anim .sp-shine { animation: spShine .7s ease-in-out 2.12s both; }
@keyframes spShine { from { background-position: 130% 0; } to { background-position: -30% 0; } }
.sp-line { height: .08em; font-size: clamp(56px, 11vw, 120px); width: 3.4em; max-width: 100%; margin: .2em auto 0; border-radius: 99px; background: var(--accent); transform-origin: center; }
.sp-anim .sp-line { transform: scaleX(0); animation: spLine .5s cubic-bezier(.34,1.56,.64,1) 2.12s both; }
@keyframes spLine { to { transform: scaleX(1); } }
.sp-static .sp-word { animation: spPulse 1.6s ease-in-out infinite alternate; }
@keyframes spPulse { from { opacity: .75; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sp-static .sp-word { animation: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 6px; border: 0; cursor: pointer; font-weight: 700; font-size: 15px; background: #ffffff26; color: #fff; transition: background .15s, transform .15s, box-shadow .15s; white-space: nowrap; text-decoration: none; }
.btn:hover { background: #ffffff3d; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { filter: brightness(1.12); box-shadow: 0 0 0 2px #ffffff40; }
.btn.ghost { background: #6d6d6eb3; }
.btn.ghost:hover { background: #6d6d6e66; }
.btn.danger { background: none; border: 1px solid #ff4d4d66; color: #ff8080; }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn.wide { width: 100%; }
.btn.on { background: #ffffff3d; }
.btn .ic { width: 20px; height: 20px; }
/* plus ↔ vinkje (Mijn lijst, favoriete zenders; U.plusCheckButton): de plus draait 90° en krimpt weg, het vinkje tekent
   zich (stroke-dasharray, padlengte ≈ 19,8), bij toevoegen een kleine bounce. Samen ± 0,3 s. */
.ic.pc .pc-plus { transform-origin: 12px 12px; transition: transform .2s ease-in, opacity .18s ease; transition-delay: .08s; }
.ic.pc .pc-check { stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .2s ease-out; }
.ic.pc.on .pc-plus { transform: rotate(90deg) scale(.2); opacity: 0; transition-delay: 0s; }
.ic.pc.on .pc-check { stroke-dashoffset: 0; transition-delay: .1s; }
.ic.pc.pop { animation: pcPop .34s ease-out; }
@keyframes pcPop { 0% { transform: scale(1); } 20% { transform: scale(.9); } 55% { transform: scale(1.15); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .ic.pc .pc-plus, .ic.pc .pc-check { transition: none !important; }
  .ic.pc.pop { animation: none !important; }
}
.btn.icon-only { padding: 0; width: 40px; min-height: 40px; background: transparent; }
.btn.icon-only:hover { background: #ffffff1f; }
.btn.icon-only.small { width: 32px; min-height: 32px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: #fff; cursor: pointer; }
.icon-btn:hover { background: #ffffff1f; }
.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--sec); font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.linkbtn:hover { color: #fff; text-decoration: underline; }
.linkbtn.strong { color: #fff; font-weight: 700; }
.linkbtn .ic { width: 18px; height: 18px; }

/* inloggen */
.login { min-height: 100vh; position: relative; z-index: 0; isolation: isolate; display: flex; flex-direction: column; align-items: center; padding: 0 16px 48px; }
.login-bg { position: fixed; inset: 0; z-index: -1; background:
  radial-gradient(1200px 600px at 15% -10%, #e5091455, transparent 60%),
  radial-gradient(900px 600px at 110% 110%, #7a000855, transparent 60%),
  linear-gradient(180deg, #050505, #0d0d0d); }
.login-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#ffffff06 1px, transparent 1px), linear-gradient(90deg, #ffffff06 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.login-top { width: 100%; max-width: 1200px; padding: 24px 8px; display: flex; align-items: center; }
.login-top .logo { font-size: 34px; }
.login-holder { width: 100%; display: flex; justify-content: center; }
.login-card { background: #000000c4; border: 1px solid var(--line); border-radius: 12px; padding: 48px 56px; width: 100%; max-width: 450px; box-shadow: 0 30px 80px #000c; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.login-card h1 { font-size: 30px; margin-bottom: 26px; }
.login-card.qr { max-width: 940px; display: flex; gap: 40px; align-items: stretch; padding: 48px; }
.login-left { flex: 1.25; display: flex; flex-direction: column; align-items: center; text-align: center; }
.login-left h1 { margin-bottom: 8px; }
.qr-box { width: 268px; height: 268px; margin: 24px 0 18px; display: grid; place-items: center; background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 10px 40px #0008; }
.qr-box canvas { width: 100%; height: 100%; image-rendering: pixelated; }
.qr-box .spinner { border-color: #0002; border-top-color: var(--accent); }
.login-orgo { color: var(--sec); }
.login-orgo a { color: #fff; font-weight: 700; }
.qr-code { font: 800 44px/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; margin: 10px 0 18px; }
.login-wait { display: flex; align-items: center; gap: 12px; color: var(--sec); }
.login-wait .spinner { width: 20px; height: 20px; border-width: 2px; }
.login-divider { width: 1px; background: var(--line); }
.login-right { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 20px; text-align: center; }
.login-ortext { color: var(--sec); font-weight: 700; letter-spacing: .1em; }
.login-err { color: #ff9a62; min-height: 22px; font-size: 14px; margin-top: 10px; }
.login-form .field { display: block; position: relative; margin-bottom: 16px; }
.login-form .name-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
@media (max-width: 420px) { .login-form .name-fields { grid-template-columns: 1fr; } }
.login-form input, .field-dlg input { width: 100%; height: 54px; padding: 0 16px; border-radius: 6px; border: 1px solid #ffffff2e; background: #161616cc; color: #fff; font: inherit; font-size: 16px; }
.login-form input:focus, .field-dlg input:focus { outline: none; border-color: #fff; background: #222; }
.field.pw input { padding-right: 84px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--sec); font-weight: 700; cursor: pointer; padding: 8px; }
.login-form .btn.primary { margin-top: 12px; height: 50px; font-size: 16px; }
.login-links { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.login-switch { font-size: 15px; }
.qrback { margin-top: 6px; }
.login-card.limit { max-width: 560px; }
.dev-list { margin: 18px 0; display: flex; flex-direction: column; gap: 4px; }
.dev { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dev-ic { width: 42px; height: 42px; border-radius: 10px; background: var(--card2); display: grid; place-items: center; flex: none; }
.dev-info { flex: 1; min-width: 0; }
.dev-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Wie kijkt er? */
.profiles-screen { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 0 16px 60px; background: radial-gradient(1000px 500px at 50% 0%, #1b1b1b, var(--bg)); }
.profiles-screen .login-top { max-width: 1400px; }
.pf-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; max-width: 1000px; }
.pf-title { font-size: clamp(30px, 4.6vw, 56px); font-weight: 600; margin-bottom: 36px; }
.pf-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 2.6vw, 34px); }
.pf { background: none; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--sec); width: clamp(96px, 11vw, 160px); padding: 0; }
.pf .avatar { width: 100%; aspect-ratio: 1; border-radius: 50%; outline: 3px solid transparent; outline-offset: 0; transition: outline-color .15s, transform .2s; }
.pf:hover .avatar, .pf:focus-visible .avatar { outline-color: #fff; transform: scale(1.04); }
.pf:hover, .pf:focus-visible { color: #fff; }
.pf:focus-visible { outline: none; }
.pf-name { font-size: clamp(14px, 1.4vw, 19px); display: flex; align-items: center; gap: 6px; }
.pf-lock { width: 16px; height: 16px; opacity: .8; }
.pf-kids { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pf-accent, var(--accent)); margin-top: -8px; }
.pf-manage { margin-top: 48px; border: 1px solid #808080; background: none; color: #a3a3a3; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.pf-manage:hover { color: #fff; border-color: #fff; background: none; }
/* profielfoto's en avatars overal rond, zoals in de apps */
.avatar { display: grid; place-items: center; overflow: hidden; border-radius: 50%; flex: none; aspect-ratio: 1; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.avatar .emoji { font-size: 2.6em; line-height: 1; }
.avatar.big .emoji { font-size: clamp(40px, 5.5vw, 80px); }
.avatar.small { width: 34px; height: 34px; border-radius: 50%; }
.avatar.small .emoji { font-size: 19px; }
.avatar.tiny { width: 28px; height: 28px; border-radius: 50%; }
.pin-av { display: flex; justify-content: center; margin-bottom: 4px; }
.avatar.pinav { width: 72px; height: 72px; }
.avatar.pinav .emoji { font-size: 38px; }
.avatar.tiny .emoji { font-size: 15px; }

/* app: bovenbalk en onderbalk */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--top); display: flex; align-items: center; gap: 36px; padding: 0 var(--gutter); padding-top: env(safe-area-inset-top); background: linear-gradient(180deg, #000000d9 10%, transparent); transition: background .3s; }
.topbar.solid { background: #0a0a0af2; box-shadow: 0 1px 0 #ffffff10; }
.topbar .logo { font-size: 30px; }
.top-links { display: flex; gap: 22px; }
.top-link { color: #e5e5e5; font-size: 14.5px; transition: color .2s; padding: 6px 0; }
.top-link:hover { color: #b3b3b3; }
.top-link.active { color: #fff; font-weight: 700; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.prof-btn { display: flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; padding: 4px; border-radius: 6px; }
.prof-btn .caret { width: 16px; height: 16px; transition: transform .2s; }
.prof-btn:hover .caret { transform: rotate(180deg); }
.tabbar { display: none; }
.content { padding-top: var(--top); padding-bottom: calc(40px + var(--tabbar)); min-height: 100vh; outline: none; }
.app[data-page="home"] .content, .app[data-page="title"] .content { padding-top: 0; }
.menu-veil { position: fixed; inset: 0; z-index: 90; }
.menu { position: fixed; z-index: 91; min-width: 230px; background: #141414f7; border: 1px solid #ffffff26; border-radius: 8px; padding: 8px 0; box-shadow: 0 20px 50px #000c; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.menu-it { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 16px; border: 0; background: none; cursor: pointer; font-size: 14.5px; text-align: left; color: #ddd; }
.menu-it:hover, .menu-it:focus-visible { background: #ffffff14; color: #fff; outline: none; text-decoration: underline; }
.menu-it .ic { width: 20px; height: 20px; color: var(--sec); }
.menu-sep { height: 1px; background: var(--line); margin: 6px 0; }

/* pagina's */
.page { padding: 0 var(--gutter); }
.page-head { display: flex; align-items: center; gap: 18px; padding: 26px 0 14px; }
.page-head h1 { font-size: 34px; }
.state { min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 40px 16px; max-width: 560px; margin: 0 auto; }
.state h2 { font-size: 24px; }
.state-ic { width: 48px; height: 48px; color: var(--sec); }
.state-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* hero */
.page.home { padding: 0; }
.hero { position: relative; min-height: min(82vh, 760px); display: flex; align-items: flex-end; padding: 0 var(--gutter) 9vh; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg .imgbox { width: 100%; height: 100%; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(26px) saturate(1.2) brightness(.6); transform: scale(1.15); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(77deg, #000000e6 0%, #00000099 38%, transparent 70%), linear-gradient(180deg, transparent 55%, var(--bg) 100%); }
.hero-info { position: relative; max-width: 560px; z-index: 1; }
.hero-kind { font-weight: 800; letter-spacing: .3em; font-size: 13px; color: var(--accent); margin-bottom: 10px; }
.hero-title { font-size: clamp(34px, 5vw, 64px); line-height: 1.02; margin-bottom: 14px; text-shadow: 0 2px 20px #0008; }
.hero-meta { color: #ddd; font-weight: 600; margin-bottom: 14px; }
.hero-plot { color: #e5e5e5; font-size: 17px; line-height: 1.45; margin-bottom: 22px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 8px #0009; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-btns .btn { min-height: 48px; padding: 0 26px; font-size: 17px; }
.hero-poster { position: absolute; right: calc(var(--gutter) + 2vw); bottom: 10vh; width: clamp(180px, 19vw, 300px); z-index: 1; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 80px #000c; transform: rotate(2deg); }
.hero-poster .imgbox { aspect-ratio: 2/3; }
.hero-poster img { width: 100%; height: 100%; object-fit: cover; }
.rows { position: relative; z-index: 2; margin-top: -6vh; display: flex; flex-direction: column; gap: 8px; }
.page.catalog .rows, .page.search .rows { margin-top: 0; }

/* rijen */
.row { padding: 6px 0 10px; }
.row-head { display: flex; align-items: baseline; gap: 14px; padding: 0 var(--gutter); margin-bottom: 8px; }
.page:not(.home) .row-head { padding: 0; }
.row-title { font-size: 20px; font-weight: 700; color: #e5e5e5; }
/* "Alles bekijken": witte tekst en altijd zichtbaar, zoals MediaRow op iOS */
.row-more { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; color: #fff; font-weight: 600; opacity: .85; transition: opacity .2s; }
.row-more:hover, .row-more:focus-visible { opacity: 1; text-decoration: underline; }
.row-more .ic { width: 16px; height: 16px; }
.row-wrap { position: relative; }
.row-track { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scroll-padding: 0 var(--gutter); padding: 6px var(--gutter) 14px; scrollbar-width: none; overscroll-behavior-x: contain; }
.page:not(.home) .row-track { padding-left: 0; padding-right: 0; scroll-padding: 0; }
.row-track::-webkit-scrollbar { display: none; }
.row-track > * { scroll-snap-align: start; }
.row-arrow { position: absolute; top: 6px; bottom: 14px; width: calc(var(--gutter) - 6px); z-index: 3; border-radius: 0; background: #000000a8; opacity: 0; transition: opacity .2s; padding: 0; min-height: 0; }
.row-arrow .ic { width: 34px; height: 34px; transition: transform .2s; }
.row-arrow:hover .ic { transform: scale(1.25); }
.row-arrow.left { left: 0; border-radius: 0 6px 6px 0; }
.row-arrow.right { right: 0; border-radius: 6px 0 0 6px; }
.row-wrap:hover .row-arrow:not(.hide) { opacity: 1; }
.row-arrow.hide { pointer-events: none; opacity: 0 !important; }
.page:not(.home) .row-arrow { display: none; }

/* kaarten */
.card { flex: none; width: var(--poster-w); display: block; border-radius: 6px; position: relative; }
.card-img { position: relative; border-radius: 6px; overflow: hidden; background: var(--card); aspect-ratio: 2/3; transition: transform .25s, box-shadow .25s; }
.card:hover .card-img, .card:focus-visible .card-img { transform: scale(1.045); box-shadow: 0 12px 30px #000c, 0 0 0 2px #ffffffd9; }
.card:focus-visible { outline: none; }
.card-title { font-size: 13px; color: #ccc; margin-top: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.imgbox { position: relative; overflow: hidden; background: var(--card); }
.imgbox img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.imgbox.loaded img { opacity: 1; }
.imgbox.poster { width: 100%; height: 100%; }
.imgbox.noimg { display: grid; place-items: center; background: linear-gradient(160deg, #2a2a2a, #161616); }
.imgbox .alt { padding: 10px; text-align: center; font-weight: 700; font-size: 14px; color: #ddd; }
.lang-strip { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 4px; background: linear-gradient(transparent, #000000d9); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-align: center; }
.card-progress { position: absolute; left: 8px; right: 8px; bottom: 7px; height: 3px; background: #ffffff4d; border-radius: 2px; overflow: hidden; }
.card-progress > div { height: 100%; background: var(--accent); }
.card-progress.inline { position: static; height: 3px; margin-top: 6px; }
.card .lang-strip ~ .card-progress { bottom: 22px; }
.top10 { width: calc(var(--poster-w) * 1.42); display: flex; align-items: flex-end; }
.top10-num { font-size: calc(var(--poster-w) * 1.08); font-weight: 900; line-height: .78; letter-spacing: -.08em; color: var(--bg); -webkit-text-stroke: 4px #595959; margin-right: -10px; flex: none; width: 52%; text-align: right; }
.top10 .card-img { flex: 1; }
.ccard { flex: none; width: 260px; display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid transparent; border-radius: 8px; padding: 10px; cursor: pointer; text-align: left; transition: background .2s, border-color .2s; }
.ccard:hover, .ccard:focus-visible { background: var(--card2); border-color: #ffffff40; outline: none; }
.ccard-logo { width: 72px; height: 48px; flex: none; border-radius: 6px; overflow: hidden; background: #0d0d0d; }
.ccard-logo .imgbox { width: 100%; height: 100%; background: #0d0d0d; }
.ccard-logo img, .lv-logo img, .lv-g-logo img { object-fit: contain; padding: 4px; }
.ccard-logo .alt, .lv-logo .alt { font-size: 10px; padding: 2px; }
.ccard-info { min-width: 0; flex: 1; }
.ccard-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccard-now { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* rooster en chips */
.grid.posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--poster-w), 1fr)); gap: 22px 10px; padding-bottom: 20px; }
.grid.posters .card { width: auto; }
.grid-more { height: 1px; grid-column: 1 / -1; }
.grid-title { margin: 22px 0 10px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 18px; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid #ffffff33; color: #ddd; font-size: 14px; font-weight: 600; transition: background .2s; white-space: nowrap; }
.chip:hover { background: #ffffff1a; }
.chip.active { background: #fff; color: #000; border-color: #fff; }

/* zoeken */
.search-bar { position: sticky; top: var(--top); z-index: 5; display: flex; align-items: center; gap: 12px; margin: 22px 0 18px; padding: 0 16px; height: 56px; border-radius: 10px; background: #1a1a1af2; border: 1px solid #ffffff26; backdrop-filter: blur(10px); }
.search-bar:focus-within { border-color: #fff; }
.search-input { flex: 1; height: 100%; border: 0; background: none; color: #fff; font: inherit; font-size: 18px; outline: none; min-width: 0; }
.search-input::-webkit-search-cancel-button { filter: invert(1); }
.search-hint { padding: 30px 0; }

/* Live TV */
.page.live .page-head { flex-wrap: wrap; }
.lv-select { display: none; }
.lv-cols { display: grid; grid-template-columns: 230px minmax(0, 1fr) minmax(300px, 380px); gap: 18px; height: calc(100vh - var(--top) - 100px); height: calc(100dvh - var(--top) - 100px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); min-height: 460px; } /* build 97: dvh (iOS Safari) met vh als terugval */
.lv-groups { overflow-y: auto; display: flex; flex-direction: column; gap: 2px; padding-right: 6px; scrollbar-width: thin; }
.lv-group { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 6px; color: #ccc; font-size: 14.5px; }
.lv-group span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-group:hover { background: #ffffff12; color: #fff; }
.lv-group.active { background: #ffffff1f; color: #fff; font-weight: 700; box-shadow: inset 3px 0 0 var(--accent); }
.lv-list { overflow-y: auto; scrollbar-width: thin; border-radius: 10px; background: #111; border: 1px solid #ffffff12; }
.lv-grid { display: flex; flex-direction: column; }
.lv-row { display: flex; align-items: center; border-bottom: 1px solid #ffffff0d; }
.lv-row.sel { background: #ffffff0f; }
.lv-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 10px 6px 10px 14px; background: none; border: 0; cursor: pointer; text-align: left; }
.lv-row:hover { background: #ffffff14; }
.lv-num { width: 34px; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 14px; flex: none; }
.lv-logo { width: 74px; height: 46px; border-radius: 6px; overflow: hidden; flex: none; background: #0b0b0b; }
.lv-logo .imgbox { width: 100%; height: 100%; background: #0b0b0b; }
.lv-txt { min-width: 0; flex: 1; }
.lv-name { font-weight: 700; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-fav { width: 15px; height: 15px; color: #f5c518; }
.lv-now { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-txt .card-progress.inline { max-width: 220px; }
.lv-gbtn { margin-right: 8px; color: var(--sec); }
.lv-guide { overflow-y: auto; scrollbar-width: thin; background: #111; border: 1px solid #ffffff12; border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.lv-guide.sheet { background: none; border: 0; padding: 0; max-height: 70vh; }
.lv-g-head { display: flex; align-items: center; gap: 14px; }
.lv-g-head h2 { font-size: 20px; }
.lv-g-logo { width: 84px; height: 54px; border-radius: 8px; overflow: hidden; background: #0b0b0b; flex: none; }
.lv-g-logo .imgbox { width: 100%; height: 100%; background: #0b0b0b; }
.lv-g-label { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--accent); text-transform: uppercase; }
.lv-g-title { font-size: 18px; font-weight: 700; margin: 2px 0; }
.lv-g-desc { color: #ccc; font-size: 14px; margin-top: 8px; }
.lv-g-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.lv-g-btns .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
.lv-g-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); overflow-y: auto; max-height: 420px; }
.lv-guide:not(.sheet) .lv-g-list { max-height: none; overflow: visible; }
.lv-g-it { display: flex; gap: 12px; align-items: flex-start; padding: 9px 4px; border-bottom: 1px solid #ffffff0d; font-size: 14px; }
.lv-g-it.past { color: var(--muted); }
.lv-g-it.live { background: #ffffff0f; border-radius: 6px; box-shadow: inset 3px 0 0 var(--accent); }
.lv-g-time { width: 44px; flex: none; font-variant-numeric: tabular-nums; color: var(--sec); padding-left: 6px; }
.lv-g-pt { flex: 1; min-width: 0; }
.lv-g-empty { padding: 20px 0; }

/* detailpagina */
.page.detail { padding: 0; position: relative; min-height: 100vh; }
.dt-bg { position: absolute; inset: 0 0 auto 0; height: 92vh; overflow: hidden; }
.dt-bg .imgbox { width: 100%; height: 100%; }
.dt-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(32px) brightness(.5) saturate(1.2); transform: scale(1.2); }
.dt-shade { position: absolute; inset: 0 0 auto 0; height: 92vh; background: linear-gradient(90deg, #000000d9, #00000066 70%), linear-gradient(180deg, transparent 50%, var(--bg)); }
.dt-top { position: relative; display: flex; gap: 40px; align-items: flex-end; padding: calc(var(--top) + 40px) var(--gutter) 30px; min-height: 70vh; }
.dt-back { position: absolute; top: calc(var(--top) + 6px); left: calc(var(--gutter) - 10px); background: #00000066; }
.dt-poster { width: clamp(150px, 20vw, 290px); flex: none; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 80px #000c; }
.dt-poster .imgbox { aspect-ratio: 2/3; }
.dt-info { max-width: 760px; }
.dt-title { font-size: clamp(30px, 4.4vw, 56px); line-height: 1.04; margin-bottom: 12px; }
.dt-meta { color: #ddd; font-weight: 600; margin-bottom: 6px; }
.dt-lang { color: #8fd3ff; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.dt-plot { color: #e5e5e5; font-size: 16px; line-height: 1.55; margin: 12px 0 22px; max-width: 680px; }
.dt-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dt-trailer:empty { display: none; }
.dt-progress { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 360px; }
.dt-progress .card-progress { flex: 1; margin: 0; }
.dt-episodes { position: relative; padding: 10px var(--gutter) 40px; max-width: 1200px; }
.dt-eps-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.dt-eps-title { font-size: 24px; }
.dt-season, .lv-select { font: inherit; font-size: 16px; font-weight: 600; color: #fff; background: #242424; border: 1px solid #4d4d4d; border-radius: 6px; padding: 10px 36px 10px 14px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; cursor: pointer; }
.dt-eps { display: flex; flex-direction: column; }
.ep { display: flex; align-items: center; gap: 18px; padding: 16px 14px; border: 0; border-bottom: 1px solid #ffffff14; background: none; cursor: pointer; text-align: left; border-radius: 8px; }
.ep:hover, .ep:focus-visible { background: #ffffff10; outline: none; }
.ep.current { background: #ffffff14; }
.ep-num { width: 30px; text-align: center; font-size: 22px; color: var(--sec); flex: none; }
.ep-still { position: relative; width: 168px; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; flex: none; background: var(--card); }
.ep-still .imgbox { width: 100%; height: 100%; }
.ep-play { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .2s; background: #0006; }
.ep-play .ic { width: 40px; height: 40px; padding: 8px; border: 2px solid #fff; border-radius: 50%; background: #0008; }
.ep:hover .ep-play, .ep:focus-visible .ep-play { opacity: 1; }
.ep-watched { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; }
.ep-watched .ic { width: 15px; height: 15px; stroke-width: 3; }
.ep-txt { flex: 1; min-width: 0; }
.ep-title { font-weight: 700; font-size: 16px; }
.ep-plot { font-size: 14px; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.trailer { position: relative; width: min(960px, 86vw); aspect-ratio: 16/9; background: #000; border-radius: 8px; overflow: hidden; }
.trailer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dialog.trailer-dlg { max-width: none; width: auto; }

/* instellingen */
.st-list { max-width: 760px; padding-bottom: 40px; }
.st-sec { margin-top: 26px; }
.st-head { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sec); margin: 0 0 8px 4px; }
.st-row { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 54px; padding: 12px 16px; background: var(--card); border: 0; border-bottom: 1px solid #ffffff0d; text-align: left; font-size: 15px; }
.st-sec .st-row:nth-child(2) { border-radius: 10px 10px 0 0; }
.st-sec .st-row:last-child { border-radius: 0 0 10px 10px; border-bottom: 0; }
.st-sec .st-row:nth-child(2):last-child { border-radius: 10px; }
button.st-row { cursor: pointer; }
button.st-row:hover { background: var(--card2); }
.st-row.danger { color: #ff8080; }
.st-label { flex: 1; min-width: 0; }
.st-value { color: var(--sec); text-align: right; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.st-value.swatch i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.st-ic { color: var(--sec); width: 20px; height: 20px; }
.st-chev { width: 18px; height: 18px; color: var(--muted); }

/* vensters */
.dlg-layer { position: fixed; inset: 0; z-index: 200; background: #000000b3; display: flex; align-items: center; justify-content: center; padding: 16px; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); opacity: 0; transition: opacity .16s; }
.dlg-layer.show { opacity: 1; }
.dialog { background: #181818; border: 1px solid #ffffff1f; border-radius: 12px; padding: 26px; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); overflow-y: auto; box-shadow: 0 30px 80px #000; transform: translateY(8px) scale(.98); transition: transform .16s; }
.dlg-layer.show .dialog { transform: none; }
.dlg-title { font-size: 21px; margin-bottom: 8px; }
.dlg-text { color: #ccc; margin-bottom: 6px; }
.dlg-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.opts { display: flex; flex-direction: column; margin: 8px -8px 0; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px; border: 0; background: none; border-radius: 8px; cursor: pointer; text-align: left; font-size: 15px; }
.opt:hover, .opt:focus-visible { background: #ffffff14; outline: none; }
.opt.sel { font-weight: 700; }
.opt .ic { color: var(--accent); }
.opt-l { display: flex; flex-direction: column; min-width: 0; }
.opt-sub { font-size: 13px; color: var(--sec); font-weight: 400; }
.field-dlg { margin-top: 10px; }
.pin { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 10px; }
.pin-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pin-dots { display: flex; gap: 14px; margin: 6px 0; }
.pin-dots span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; }
.pin-dots span.on { background: #fff; }
.pin-dots.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.pin-err { color: #ff9a62; min-height: 20px; font-size: 14px; }
.pin-pad { display: grid; grid-template-columns: repeat(3, 72px); gap: 10px; }
.pin-key { height: 56px; border-radius: 10px; border: 0; background: #ffffff1a; font-size: 22px; font-weight: 600; cursor: pointer; }
.pin-key:hover { background: #ffffff33; }
.toast { position: fixed; left: 50%; bottom: calc(28px + var(--tabbar)); transform: translate(-50%, 20px); background: #f2f2f2; color: #111; font-weight: 600; padding: 12px 20px; border-radius: 8px; z-index: 300; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; box-shadow: 0 10px 30px #0009; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
html.playing .toast { bottom: 120px; }

/* speler */
html.playing, html.playing body { overflow: hidden; }
html.playing #bingr-cookie-btn { display: none; }
.player { position: fixed; inset: 0; z-index: 150; background: #000; color: #fff; user-select: none; -webkit-user-select: none; cursor: none; }
.player.ui, .player.paused { cursor: default; }
.pl-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.pl-video::cue { background: #000000a6; color: #fff; font-size: clamp(16px, 2.4vw, 30px); }
.pl-tap { position: absolute; inset: 0; }
.pl-sub { position: absolute; left: 6%; right: 6%; bottom: 9%; text-align: center; pointer-events: none; font-size: clamp(17px, 2.6vw, 34px); font-weight: 600; line-height: 1.3; text-shadow: 0 0 6px #000, 0 2px 3px #000; transition: bottom .25s; }
.pl-sub span { background: #00000073; padding: 2px 10px; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.player.ui .pl-sub { bottom: 150px; }
.pl-spin { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.pl-spin .spinner { width: 64px; height: 64px; border-width: 5px; }
.pl-top, .pl-bottom, .pl-center { opacity: 0; transition: opacity .25s; pointer-events: none; }
.player.ui .pl-top, .player.ui .pl-bottom, .player.paused .pl-top, .player.paused .pl-bottom { opacity: 1; pointer-events: auto; }
.pl-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: flex-start; gap: 14px; padding: calc(18px + env(safe-area-inset-top)) 28px 60px; background: linear-gradient(180deg, #000000c4, transparent); }
.pl-titles { min-width: 0; }
.pl-title { font-size: 22px; font-weight: 800; }
.pl-subtitle { color: #ccc; font-size: 15px; }
.pl-epg { font-size: 14px; color: #ddd; margin-top: 6px; }
.pl-epg b { color: var(--accent); }
.pl-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 28px calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(0deg, #000000d9, transparent); }
.pl-prog { display: flex; align-items: center; gap: 14px; }
.pl-time { font-size: 14px; font-variant-numeric: tabular-nums; min-width: 52px; color: #ddd; }
.pl-time.right { text-align: right; }
.pl-bar { position: relative; flex: 1; height: 22px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.pl-bar.live { cursor: default; }
.pl-track { position: relative; width: 100%; height: 4px; background: #ffffff40; border-radius: 2px; overflow: hidden; transition: height .15s; }
.pl-bar:hover .pl-track, .pl-bar.drag .pl-track { height: 7px; }
.pl-buf { position: absolute; left: 0; top: 0; bottom: 0; background: #ffffff4d; }
.pl-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); }
.pl-knob { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .15s; }
.pl-bar:hover .pl-knob, .pl-bar.drag .pl-knob, .pl-bar:focus-visible .pl-knob { transform: scale(1); }
.pl-hover { position: absolute; bottom: 24px; transform: translateX(-50%); background: #000c; padding: 3px 8px; border-radius: 4px; font-size: 13px; opacity: 0; pointer-events: none; font-variant-numeric: tabular-nums; }
.pl-bar:not(.live):hover .pl-hover { opacity: 1; }
.pl-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
.pl-btns { display: flex; align-items: center; gap: 4px; }
.btn.pl-ib { background: none; padding: 0; width: 48px; min-height: 48px; border-radius: 50%; }
.btn.pl-ib:hover { background: #ffffff1f; transform: scale(1.08); }
.btn.pl-ib .ic { width: 28px; height: 28px; }
.btn.pl-tb { background: none; min-height: 44px; padding: 0 12px; font-size: 15px; }
.btn.pl-tb:hover { background: #ffffff1f; }
.pl-volbox { display: flex; align-items: center; }
.pl-vol { width: 0; opacity: 0; transition: width .2s, opacity .2s; accent-color: #fff; }
.pl-volbox:hover .pl-vol, .pl-vol:focus { width: 90px; opacity: 1; }
.pl-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none; align-items: center; gap: 44px; }
.btn.pl-cb { width: 64px; min-height: 64px; padding: 0; border-radius: 50%; background: #00000066; }
.btn.pl-cb .ic { width: 34px; height: 34px; }
.btn.pl-bigplay { width: 84px; min-height: 84px; }
.btn.pl-bigplay .ic { width: 44px; height: 44px; }
.pl-skip { position: absolute; right: 32px; bottom: 140px; background: #ffffffe6; color: #000; min-height: 50px; padding: 0 26px; font-size: 16px; box-shadow: 0 10px 30px #0008; }
.pl-skip:hover { background: #fff; }
.pl-next { position: absolute; right: 32px; bottom: 140px; display: flex; gap: 16px; align-items: center; background: #141414f2; border: 1px solid #ffffff26; border-radius: 12px; padding: 14px; max-width: 520px; box-shadow: 0 20px 60px #000c; z-index: 2; }
.pl-next-still { width: 180px; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; flex: none; }
.pl-next-still .imgbox { width: 100%; height: 100%; }
.btn.pl-next-x { position: absolute; top: 4px; right: 4px; width: 36px; min-height: 36px; }
.btn.pl-next-x .ic { width: 20px; height: 20px; }
.pl-next-info { padding-right: 26px; }
.pl-next-title { font-weight: 800; font-size: 17px; margin: 2px 0 4px; }
.pl-next-btns { display: flex; gap: 6px; margin-top: 10px; align-items: center; }
.pl-count { font-variant-numeric: tabular-nums; font-weight: 800; color: #fff; }
.pl-zap { position: absolute; left: 28px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 18px; background: #141414e6; border-radius: 12px; padding: 16px 22px; border-left: 4px solid var(--accent); }
.pl-zap-num { font-size: 36px; font-weight: 900; }
.pl-zap-name { font-size: 20px; font-weight: 800; }
.pl-flash { position: absolute; left: 50%; top: 22%; transform: translateX(-50%); background: #000000a6; padding: 10px 18px; border-radius: 10px; font-weight: 800; font-size: 20px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.pl-flash.show { opacity: 1; }
.pl-tapplay { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); min-height: 56px; padding: 0 30px; font-size: 18px; }
.pl-error { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 24px; background: #000000e0; }
.pl-error h2 { font-size: 26px; }
.pl-error p { max-width: 560px; color: #ddd; }
.pl-err-ic { width: 52px; height: 52px; color: var(--sec); }
/* build 102: casten (AirPlay / Chromecast) */
.pl-castvid { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.player.casting .pl-video { opacity: .25; }
.pl-cast { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px; background: #000000a6; pointer-events: none; }
.pl-cast-ic { width: 64px; height: 64px; color: var(--accent); }
.pl-cast-t { font-size: 24px; font-weight: 800; }
.pl-cast-h { color: #ccc; font-size: 15px; max-width: 460px; }
.btn.pl-ib.pl-castbtn.on { color: var(--accent); }
.limit-list { display: flex; flex-direction: column; gap: 8px; text-align: left; margin-top: 6px; }
.limit-row { display: flex; gap: 12px; align-items: center; }

/* tablet */
@media (max-width: 1100px) {
  :root { --gutter: 28px; --poster-w: 150px; }
  .topbar { gap: 22px; }
  .top-links { gap: 16px; }
  .lv-cols { grid-template-columns: 190px minmax(0, 1fr); }
  .lv-guide { display: none; }
  .hero-poster { display: none; }
  .login-card.qr { padding: 36px; gap: 28px; }
}
@media (max-width: 860px) {
  .lv-cols { grid-template-columns: minmax(0, 1fr); height: auto; min-height: 0; }
  .lv-groups { display: none; }
  .lv-select { display: inline-block; margin-left: auto; max-width: 60%; }
  .lv-list { overflow: visible; }
  .login-card.qr { flex-direction: column; max-width: 540px; }
  .login-divider { width: auto; height: 1px; }
}

/* telefoon: onderbalk met tabbladen, kleinere kaarten, speler met knoppen in het midden */
@media (max-width: 699px), (pointer: coarse) and (max-device-width: 599px) {
  :root { --gutter: 16px; --top: 56px; --tabbar: calc(62px + env(safe-area-inset-bottom)); --poster-w: 112px; }
  body { font-size: 15px; }
  .topbar { gap: 12px; padding: 0 12px 0 16px; padding-top: env(safe-area-inset-top); height: calc(var(--top) + env(safe-area-inset-top)); }
  .topbar .logo { font-size: 24px; }
  .top-links { display: none; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: var(--tabbar); padding-bottom: env(safe-area-inset-bottom); background: #0a0a0af5; border-top: 1px solid #ffffff14; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; color: #8c8c8c; font-weight: 600; }
  .tab .ic { width: 23px; height: 23px; }
  .tab.active { color: #fff; }
  .tab.active .ic { color: var(--accent); }
  .content { padding-top: calc(var(--top) + env(safe-area-inset-top)); }
  #bingr-cookie-btn { bottom: calc(var(--tabbar) + 10px) !important; }
  #bingr-consent { bottom: calc(var(--tabbar) + 10px) !important; }
  .page-head { padding: 16px 0 10px; }
  .page-head h1 { font-size: 26px; }
  .hero { min-height: 70vh; padding-bottom: 8vh; justify-content: center; text-align: center; }
  .hero-info { display: flex; flex-direction: column; align-items: center; }
  .hero-title { font-size: 34px; }
  .hero-plot { font-size: 15px; -webkit-line-clamp: 2; }
  .hero-btns .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
  .hero-shade { background: linear-gradient(180deg, #00000080 0%, transparent 30%, #000000b3 70%, var(--bg) 100%); }
  .rows { margin-top: -2vh; }
  .row-title { font-size: 17px; }
  .row-more { opacity: 1; margin-left: auto; }
  .row-arrow { display: none; }
  .ccard { width: 230px; }
  .card-title { font-size: 12px; }
  .grid.posters { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 8px; }
  .top10-num { -webkit-text-stroke-width: 3px; }
  .login-card { padding: 30px 22px; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; }
  .login-top { padding: 18px 4px; }
  .login-top .logo { font-size: 28px; }
  .pf-grid { display: grid; grid-template-columns: repeat(2, 120px); gap: 22px 26px; }
  .pf { width: 120px; }
  .dt-top { flex-direction: column; align-items: flex-start; gap: 20px; padding-top: calc(var(--top) + 36px); min-height: 0; }
  .dt-back { top: calc(var(--top) + env(safe-area-inset-top) + 2px); left: 8px; }
  .dt-poster { width: 132px; }
  .dt-plot { font-size: 15px; }
  .dt-btns .btn { flex: 1 1 auto; }
  .dt-btns .btn.primary { flex-basis: 100%; }
  .ep { gap: 12px; padding: 12px 4px; flex-wrap: wrap; }
  .ep-num { display: none; }
  .ep-still { width: 132px; }
  .ep-plot { -webkit-line-clamp: 3; flex-basis: 100%; }
  .lv-main { gap: 10px; padding-left: 8px; }
  .lv-num { display: none; }
  .lv-logo { width: 60px; height: 40px; }
  .dialog { padding: 20px; }
  .dlg-layer:has(.sheet-dlg), .dlg-layer:has(.choose) { align-items: flex-end; padding: 0; }
  .dialog.sheet-dlg, .dialog.choose { max-width: none; border-radius: 16px 16px 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); max-height: 85vh; max-height: calc(85dvh - env(safe-area-inset-top)); }
  .pl-top { padding: calc(10px + env(safe-area-inset-top)) 12px 50px; }
  .pl-title { font-size: 17px; }
  .pl-subtitle, .pl-epg { font-size: 13px; }
  .pl-bottom { padding: 40px 12px calc(10px + env(safe-area-inset-bottom)); }
  .pl-btns .pl-volbox, .pl-btns .pl-desk, .pl-playbtn { display: none; }
  .btn.pl-tb span { display: none; }
  .btn.pl-ib { width: 44px; min-height: 44px; }
  .pl-time { min-width: 44px; font-size: 12.5px; }
  .player.ui .pl-center, .player.paused .pl-center { display: flex; opacity: 1; pointer-events: auto; }
  .pl-center { gap: 30px; }
  .pl-skip, .pl-next { right: 12px; bottom: 120px; }
  .pl-next { left: 12px; max-width: none; }
  .pl-next-still { width: 110px; }
  .player.ui .pl-sub { bottom: 120px; }
}
@media (max-aspect-ratio: 1/1) and (min-width: 700px) {
  .dt-top { min-height: 0; padding-top: calc(var(--top) + 80px); }
  .hero { min-height: 62vh; }
}
@media (hover: none) {
  .row-arrow { display: none; }
  .pl-btns .pl-desk { display: none; }
  .player.ui .pl-center, .player.paused .pl-center { display: flex; opacity: 1; pointer-events: auto; }
  .pl-btns .pl-volbox { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* achtergrond met covers (AuthBackdrop in de apps) */
.login-bg.has-posters { background: #000; overflow: hidden; }
.login-collage { position: absolute; left: -18%; top: -18%; width: 136%; height: 136%; display: grid; gap: 6px; transform: rotate(-8deg); filter: blur(3px); opacity: .5; }
.login-collage .lc { aspect-ratio: 2 / 3; border-radius: 4px; overflow: hidden; background: #1a1a1a; }
.login-collage .lc-img, .login-collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.login-bg.has-posters::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(70% 70% at 50% 0%, #e5091461, transparent 70%), linear-gradient(180deg, #000000bf, #00000066, #000000eb); }
.login-bg.has-posters::after { display: none; }

/* QR-inloggen zoals op Apple TV (AuthView.tvLayout) */
.tv-login { width: 100%; max-width: 1280px; min-height: calc(100vh - 120px); display: flex; align-items: center; gap: clamp(28px, 4vw, 70px); padding: 10px 8px 40px; }
.tv-phone, .tv-mail { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.tv-phone { gap: clamp(12px, 1.6vw, 22px); }
.tv-title { font-size: clamp(28px, 3vw, 44px); font-weight: 800; color: #fff; margin: 0; }
.tv-sub { font-size: clamp(16px, 1.7vw, 26px); color: var(--sec); margin: 0; }
.tv-phone .qr-box { width: clamp(220px, 21vw, 300px); height: clamp(220px, 21vw, 300px); margin: 0; border-radius: 16px; padding: 16px; box-shadow: none; }
.tv-orgo { font-size: clamp(16px, 1.7vw, 26px); color: var(--sec); margin: 0; max-width: 640px; }
.tv-orgo a { color: #fff; font-weight: 700; text-decoration: none; }
.tv-phone .qr-code { font: 900 clamp(38px, 4.4vw, 64px)/1.15 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; color: #fff; margin: 0; padding: 8px 30px; border-radius: 12px; background: #1c1c1cd9; }
.tv-wait { display: flex; align-items: center; gap: 14px; font-size: clamp(15px, 1.6vw, 24px); color: var(--sec); }
.tv-wait .spinner { width: 24px; height: 24px; border-width: 3px; }
.tv-wait-text.bad { color: #ff9a62; }
.tv-or { display: flex; flex-direction: column; align-items: center; gap: 24px; flex: none; }
.tv-or i { width: 2px; height: clamp(140px, 16vw, 230px); background: #ffffff40; }
.tv-or b { font-size: clamp(20px, 2vw, 30px); font-weight: 800; color: var(--sec); }
.tv-mail { gap: 30px; }
.tv-mail-ic { width: clamp(52px, 4.5vw, 64px); height: clamp(52px, 4.5vw, 64px); color: var(--sec); }
.tv-mail-btn { width: min(100%, 520px); height: 64px; font-size: 20px; font-weight: 700; border-radius: 8px; }
@media (max-width: 900px) {
  .tv-login { flex-direction: column; min-height: 0; gap: 26px; padding-top: 0; }
  .tv-or { flex-direction: row; width: 100%; max-width: 520px; }
  .tv-or i { width: auto; height: 2px; flex: 1; }
  .tv-mail { width: 100%; }
}

/* hero op de telefoon: portretkaart zoals in de iPhone-app (HeroBanner.phoneBody) */
.hero-card { display: none; }
@media (max-width: 700px) {
  .hero { min-height: 0; display: block; padding: 96px 0 26px; text-align: center; }
  .hero-bg img { filter: blur(50px) saturate(1.2); opacity: .65; transform: scale(1.2); }
  .hero-shade { background: linear-gradient(180deg, transparent 45%, var(--bg) 100%); }
  .hero-info { display: none; }
  .hero-card { display: block; position: relative; z-index: 1; width: min(330px, calc(100vw - 48px)); aspect-ratio: 330 / 470; margin: 0 auto; border-radius: 12px; overflow: hidden; border: 1px solid #ffffff1f; box-shadow: 0 10px 40px #0009; background: #1a1a1a; }
  .hero-card .imgbox, .hero-card .hero-card-img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .hero-card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, #000000d9 100%); }
  .hero-card-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .hero-card-title { font-size: 28px; font-weight: 900; letter-spacing: .03em; line-height: 1.05; text-shadow: 0 2px 8px #000a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-card-tags { font-size: 12px; font-weight: 500; color: #ffffffd9; }
  .hero-card-btns { display: flex; gap: 10px; width: 100%; }
  .hero-card-btns .btn { flex: 1; min-height: 42px; padding: 0 12px; font-size: 15px; justify-content: center; }
}

/* Statistieken (build 68): inhoud uit ../assets/js/stats.js */
.stats-page .page-head { flex-direction: column; align-items: flex-start; gap: 6px; }
.st-back { display: inline-flex; align-items: center; gap: 4px; color: var(--text-2, #a3a3a3); font-size: 14px; text-decoration: none; }
.st-back:hover { color: #fff; }
.st-back .st-back-ic { width: 16px; height: 16px; transform: rotate(180deg); }
.stats-box { max-width: 1100px; padding-bottom: 48px; }
.stats-box .bst-bar { margin-top: 0; }

/* build 69: bekeken, contextmenu, collecties, Mijn Bingr, profielen beheren, Trakt */
.card, .ccard, .ep, .lv-main, .hist-main, .coll-main { -webkit-touch-callout: none; }
.card-watched { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; box-shadow: 0 2px 6px #0008; }
.card-watched .ic { width: 14px; height: 14px; stroke-width: 3; }
/* labels Serie/Film en "N bekeken": accentkleur (rood, of de kleur van het profiel) met witte tekst (goud: donker), zoals PosterCard op iOS */
.card-badge { position: absolute; top: 6px; left: 6px; max-width: calc(100% - 12px); padding: 3px 6px; border-radius: 2px; background: var(--accent); box-shadow: 0 1px 4px #0006; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; color: var(--on-accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Voor jou: label Serie/Film linksboven (zoals iOS build 74); het aantal bekeken eronder */
.card-badge.card-kind { max-width: calc(100% - 40px); }
.card-badge.card-badge-below { top: 30px; }
.menu-title { padding: 6px 16px 8px; font-size: 13px; font-weight: 700; color: var(--sec); max-width: 300px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu-it.danger, .menu-it.danger .ic, .opt.danger, .opt.danger .ic { color: #ff8080; }
.opt.menu-opt { justify-content: flex-start; }
.opt .row-l { flex-direction: row; align-items: center; gap: 12px; }
.opt.menu-opt .ic { color: var(--sec); width: 20px; height: 20px; }

/* lijsten met instellingen */
a.st-row { color: inherit; }
button.st-row, a.st-row { cursor: pointer; }
button.st-row:hover, a.st-row:hover { background: #242424; }
.st-label { display: flex; flex-direction: column; }
.st-sub { font-size: 13px; color: var(--sec); }
.st-foot { color: var(--muted); font-size: 13px; margin: 8px 4px 0; max-width: 680px; }
.st-logo { width: 22px; height: 22px; border-radius: 5px; flex: none; }
.switch { position: relative; width: 44px; height: 26px; border-radius: 13px; background: #4a4a4a; flex: none; transition: background .2s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px #0006; }
.switch.on { background: var(--accent); }
.switch.on i { transform: translateX(18px); }
.sub-head { flex-direction: column; align-items: flex-start; gap: 6px; }
.st-sec .st-row.coll-row:nth-child(2), .st-sec .st-row.hl-row:nth-child(2) { border-radius: 10px 10px 0 0; }
.coll-row, .hl-row { gap: 4px; padding-top: 8px; padding-bottom: 8px; }
.coll-main, .hl-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; background: none; border: 0; padding: 4px 0; cursor: pointer; text-align: left; font-size: 15px; color: inherit; }
.hl-main .st-label { flex: 1; }
.hl-main .switch { margin-right: 10px; }
.btn.icon-only.small:disabled { opacity: .25; }

/* formulieren in vensters */
.dialog.wide-dlg { max-width: 640px; }
.form-dlg { display: flex; flex-direction: column; gap: 16px; margin-top: 12px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sec); }
.form-dlg input[type=text], .form-dlg input[type=password], .form-dlg input[type=email] { width: 100%; height: 48px; padding: 0 14px; border-radius: 6px; border: 1px solid #ffffff2e; background: #161616; color: #fff; font: inherit; font-size: 16px; }
.form-dlg input[type=text]:focus, .form-dlg input[type=password]:focus { outline: none; border-color: #fff; background: #222; }
.form-select { font: inherit; font-size: 15px; color: #fff; background: #242424; border: 1px solid #4d4d4d; border-radius: 6px; padding: 10px 12px; max-width: 100%; }
.form-note { margin-top: -4px; }
.seg { display: inline-flex; background: #242424; border-radius: 8px; padding: 3px; gap: 3px; align-self: flex-start; }
.seg-it { border: 0; background: none; padding: 8px 18px; border-radius: 6px; font-weight: 700; color: var(--sec); cursor: pointer; }
.seg-it.on { background: #fff; color: #000; }
.chk { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 15px; }
.chk input { width: 18px; height: 18px; accent-color: var(--accent); }
.chk-row { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* collecties */
.coll-art { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; flex: none; }
.coll-art.small { width: 40px; height: 40px; border-radius: 9px; }
.coll-art.big { width: 96px; height: 96px; border-radius: 22px; }
.coll-art .emoji { font-size: 22px; line-height: 1; }
.coll-art.big .emoji { font-size: 46px; }
.coll-art img, .coll-art .imgbox { width: 100%; height: 100%; object-fit: cover; }
.coll-edit-art { display: flex; justify-content: center; }
.coll-opt { justify-content: flex-start; }
.coll-opt .opt-l { flex: 1; }
.coll-opt .ic { color: var(--accent); }
.coll-opt .ic.off { color: var(--muted); }
.coll-plus { width: 40px; height: 40px; border-radius: 9px; border: 1px dashed #ffffff55; display: grid; place-items: center; }
.coll-empty { padding: 8px 12px; }
.coll-for { margin-top: -4px; }
.coll-count { margin-top: 2px; }
.coll-items { display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; }
.coll-item { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; background: var(--card); border-bottom: 1px solid #ffffff0d; }
.coll-item-ic { width: 18px; height: 18px; color: var(--sec); }
.coll-item-t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.danger-ic .ic { color: #ff8080; }
.coll-head { gap: 14px; }
.coll-head h1 { flex: 1; min-width: 0; }
.sym-row { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; }
.sym { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #2a2a2a; font-size: 20px; cursor: pointer; display: grid; place-items: center; }
.sym.on { box-shadow: 0 0 0 2px #fff; }
.color-row { display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 2px; }
.color { width: 28px; height: 28px; border-radius: 50%; border: 0; cursor: pointer; }
.color.on { box-shadow: 0 0 0 2px #181818, 0 0 0 4px #fff; }
.poster-pick:empty { display: none; }
.poster-row { display: flex; gap: 8px; overflow-x: auto; padding: 6px 2px; }
.poster-opt { flex: none; width: 54px; padding: 0; border: 0; border-radius: 4px; overflow: hidden; background: var(--card); cursor: pointer; }
.poster-opt .imgbox { aspect-ratio: 2/3; }
.poster-opt img { width: 100%; height: 100%; object-fit: cover; }
.poster-opt.on { box-shadow: 0 0 0 3px #fff; }

/* detail: bekeken */
.dt-watch:empty { display: none; }
.dt-watch { display: flex; flex-direction: column; gap: 8px; margin: -2px 0 10px; max-width: 420px; }
.dt-watchline .card-progress { margin-top: 4px; }
.dt-eps-head .dt-season { margin-left: auto; }
.dt-season-tg:empty { display: none; }
.btn.icon-only.on .ic, .btn.on .ic { color: var(--accent); }
.dt-btns .btn.on { background: #ffffff3d; }
.ep-wrap { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid #ffffff14; }
.ep-wrap .ep { flex: 1; min-width: 0; border-bottom: 0; }
.btn.ep-check { flex: none; color: var(--sec); }
.btn.ep-check.on { color: var(--accent); }

/* Mijn Bingr */
.mb-head { display: flex; align-items: center; gap: 18px; padding: 26px 0 10px; flex-wrap: wrap; }
.avatar.mb-av { width: 76px; height: 76px; }
.avatar.mb-av .emoji { font-size: 40px; }
.mb-who { flex: 1; min-width: 160px; }
.mb-who h1 { font-size: 30px; }
.mb-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mb-rows { display: flex; flex-direction: column; gap: 4px; margin: 6px 0 0; }
.mb-empty { padding: 6px 0 10px; }
.mb-empty .row-title { margin-bottom: 4px; }

/* kijkgeschiedenis */
.hist .st-sec { max-width: 760px; }
.hist-row { display: flex; align-items: center; gap: 6px; background: var(--card); border-bottom: 1px solid #ffffff0d; padding-right: 8px; }
.hist .st-sec .hist-row:nth-child(2) { border-radius: 10px 10px 0 0; }
.hist .st-sec .hist-row:last-child { border-radius: 0 0 10px 10px; border-bottom: 0; }
.hist .st-sec .hist-row:nth-child(2):last-child { border-radius: 10px; }
.hist-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 10px 6px 10px 14px; background: none; border: 0; cursor: pointer; text-align: left; color: inherit; font-size: 15px; }
.hist-art { width: 40px; height: 60px; border-radius: 4px; overflow: hidden; background: #0d0d0d; flex: none; }
.hist-art.live { width: 56px; height: 36px; }
.hist-art .imgbox { width: 100%; height: 100%; }
.hist-art img { width: 100%; height: 100%; object-fit: cover; }
.hist-art.live img { object-fit: contain; padding: 3px; }
.hist-art .alt { font-size: 9px; }
.hist-txt { flex: 1; min-width: 0; }
.hist-title { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hist-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hist-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.hist-ic { width: 16px; height: 16px; color: var(--sec); }
.hist-clear { margin: 22px 0 40px; }

/* profielen beheren */
.pm { padding: 10px 0 40px; display: flex; flex-direction: column; align-items: center; }
.pm-grid { justify-content: center; margin-top: 10px; }
.pm-av { position: relative; width: 100%; }
.pm-edit { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; background: #00000080; opacity: .85; transition: opacity .2s; }
.pm-edit .ic { width: 34%; height: 34%; }
.pm-tile:hover .pm-edit, .pm-tile:focus-visible .pm-edit { opacity: 1; background: #000000a6; }
.pm-plus { width: 100%; aspect-ratio: 1; border-radius: 50%; border: 2px solid #ffffff55; display: grid; place-items: center; transition: border-color .2s, background .2s; }
.pm-plus .ic { width: 38%; height: 38%; color: var(--sec); }
.pm-add:hover .pm-plus, .pm-add:focus-visible .pm-plus { border-color: #fff; background: #ffffff14; }
.pm-foot { text-align: center; margin-top: 30px; }
.pe-preview { display: flex; justify-content: center; }
.avatar.pe-av { width: 104px; height: 104px; }
.avatar.pe-av .emoji { font-size: 52px; }
.kid-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 10px; }
.kid { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 0; padding: 0; background: #2a2a2a; cursor: pointer; }
.kid img { width: 100%; height: 100%; object-fit: cover; }
.kid.on { box-shadow: 0 0 0 3px #fff; }
.pe-photo, .pe-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.pe-pin { display: flex; flex-direction: column; gap: 8px; }

/* Trakt */
.trakt-sheet { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.trakt-head { display: flex; align-items: center; gap: 12px; }
.trakt-head .st-logo { width: 40px; height: 40px; border-radius: 9px; }
.trakt-user { font-weight: 800; font-size: 18px; }
.trakt-go { color: #ddd; }
.trakt-go a { color: #fff; font-weight: 700; text-decoration: underline; }
.trakt-code { font: 900 40px/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; text-align: center; padding: 10px; border-radius: 10px; background: #0e0e0e; user-select: all; }
.trakt-qr { display: flex; justify-content: center; }
.trakt-qr canvas { width: 168px; height: 168px; border-radius: 10px; image-rendering: pixelated; }
.trakt-wait { display: flex; justify-content: center; padding: 30px 0; }
.trakt-sheet .tv-wait { font-size: 14px; justify-content: center; }
.trakt-sheet .tv-wait .spinner { width: 18px; height: 18px; border-width: 2px; }
.trakt-sheet .dlg-buttons { margin-top: 4px; }

@media (max-width: 699px), (pointer: coarse) and (max-device-width: 599px) {
  .card-badge { font-size: 9px; padding: 2px 5px; }
  .card-badge.card-badge-below { top: 24px; }
  .card-watched { width: 18px; height: 18px; top: 4px; right: 4px; }
  .card-watched .ic { width: 11px; height: 11px; }
  .mb-head { padding-top: 16px; gap: 12px; }
  .avatar.mb-av { width: 60px; height: 60px; }
  .mb-who h1 { font-size: 24px; }
  .mb-actions { width: 100%; }
  .mb-actions .btn { flex: 1; }
  .ep-wrap { align-items: flex-start; }
  .ep-wrap .btn.ep-check { margin-top: 12px; }
  .pm-grid { display: grid; grid-template-columns: repeat(2, 120px); gap: 22px 26px; }
  .dialog.wide-dlg { max-height: 92vh; }
  .trakt-code { font-size: 32px; }
}

/* build 83: trailer in de kop van de detailpagina (zonder geluid, na 1,5 s; zie screens.js) */
.dt-tr { position: absolute; inset: 0 0 auto 0; height: 92vh; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .8s ease; background: #000; }
.dt-tr.on { opacity: 1; }
.dt-tr-frame { position: absolute; left: 50%; top: 50%; width: max(100%, calc(92vh * 16 / 9)); height: max(92vh, calc(100vw * 9 / 16)); transform: translate(-50%, -50%); border: 0; }
.page.detail.tr-on .dt-shade { background: linear-gradient(90deg, #000000cc, #00000033 60%, transparent), linear-gradient(180deg, #00000066, transparent 22%, transparent 55%, var(--bg)); }
.dt-tr-mute { position: absolute; z-index: 2; top: calc(var(--top) + 6px); right: var(--gutter); width: 44px; height: 44px; border: 1px solid #ffffff59; background: #00000073; backdrop-filter: blur(8px); }
.dt-tr-mute:hover { background: #000000a6; }
.dt-poster { transition: opacity .6s ease; }
@media (max-width: 699px), (pointer: coarse) and (max-device-width: 599px) {
  .dt-tr { top: calc(var(--top) + env(safe-area-inset-top)); height: calc(100vw * 9 / 16); -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); }
  .dt-tr-frame { left: 0; top: 0; width: 100%; height: 100%; transform: none; }
  .page.detail.tr-on .dt-poster { opacity: 0; }
  .page.detail.tr-on .dt-shade { background: linear-gradient(180deg, #00000059, transparent calc(var(--top) + 40px)); }
  .dt-tr-mute { top: calc(var(--top) + env(safe-area-inset-top) + 100vw * 9 / 16 - 56px); right: 12px; }
}

/* build 83: details bij een afspeelfout */
.pl-diag { width: min(760px, 100%); max-height: 42vh; overflow: auto; text-align: left; background: #111; border: 1px solid #ffffff26; border-radius: 10px; padding: 12px 14px; position: relative; }
.pl-diag-text { margin: 0; white-space: pre-wrap; word-break: break-all; font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #cfcfcf; }
.pl-diag-copy { position: sticky; float: right; top: 0; min-height: 30px; padding: 0 12px; font-size: 13px; }
.pl-error { overflow-y: auto; }

/* build 85: Categorieën (categories.js). Tegels met een verloop in de kleur van het genre en een waaier van covers. */
.cat-head { align-items: flex-end; flex-wrap: wrap; }
.cat-sub { margin-top: 6px; font-size: 15px; }
.cat-fill { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 6px 12px; border-radius: 999px; background: #ffffff12; color: var(--sec); font-size: 13px; font-weight: 600; white-space: nowrap; }
.cat-fill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: catpulse 1.2s ease-in-out infinite; }
@keyframes catpulse { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
.cat-bar { margin: 4px 0 22px; }
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: #ffffff14; }
.seg-it { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; color: #d6d6d6; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s; }
.seg-it:hover { background: #ffffff1a; color: #fff; }
.seg-it.on { background: #fff; color: #000; }
.seg-n { font-size: 12.5px; font-weight: 600; opacity: .6; }
.cat-sec { margin-bottom: 36px; }
.cat-sec-title { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; }
.cat-src { font-size: 13px; font-weight: 600; color: var(--muted); }
.cat-empty { margin: 4px 0 10px; max-width: 560px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.cat-grid.srv-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; padding-bottom: 10px; }
.cat-tile { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 88%); box-shadow: 0 6px 20px #00000066; transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.cat-tile:hover, .cat-tile:focus-visible { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 40px #000000b3, 0 0 0 2px #ffffffe6; outline: none; z-index: 1; }
.cat-glow { position: absolute; inset: 0; background: radial-gradient(110% 90% at 0% 0%, #ffffff38, transparent 55%); }
.cat-art { position: absolute; inset: 0; z-index: 1; }
.cat-p { position: absolute; bottom: -20%; width: 30%; aspect-ratio: 2 / 3; border-radius: 7px; overflow: hidden; background: #00000040; box-shadow: -6px 10px 26px #0000008c; transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.cat-p .imgbox { width: 100%; height: 100%; background: #00000040; }
.cat-p1 { right: 3%; z-index: 4; transform: rotate(9deg); }
.cat-p2 { right: 18%; z-index: 3; transform: rotate(2deg) translateY(-3%); }
.cat-p3 { right: 33%; z-index: 2; transform: rotate(-5deg) translateY(-1%); }
.cat-p4 { right: 48%; z-index: 1; transform: rotate(-12deg) translateY(4%); }
.cat-tile:hover .cat-p1, .cat-tile:focus-visible .cat-p1 { transform: rotate(13deg) translate(6%, -7%); }
.cat-tile:hover .cat-p2, .cat-tile:focus-visible .cat-p2 { transform: rotate(3deg) translate(0, -12%); }
.cat-tile:hover .cat-p3, .cat-tile:focus-visible .cat-p3 { transform: rotate(-7deg) translate(-6%, -8%); }
.cat-tile:hover .cat-p4, .cat-tile:focus-visible .cat-p4 { transform: rotate(-16deg) translate(-12%, -2%); }
.cat-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(100deg, #000000a6 0%, transparent 58%); background: linear-gradient(100deg, color-mix(in srgb, var(--c2) 88%, transparent) 0%, color-mix(in srgb, var(--c2) 40%, transparent) 34%, transparent 60%), linear-gradient(0deg, #00000040, transparent 40%); }
.cat-txt { position: absolute; left: 18px; top: 16px; right: 22%; z-index: 3; }
.cat-name { font-size: 25px; font-weight: 900; letter-spacing: -.02em; line-height: 1.05; text-shadow: 0 2px 14px #00000080; overflow-wrap: break-word; hyphens: auto; }
.cat-count { margin-top: 7px; font-size: 13px; font-weight: 700; color: #ffffffd9; text-shadow: 0 1px 6px #00000080; }
.cat-tile.noart .cat-txt { right: 18px; }
.cat-tile.srv .cat-name { font-size: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cat-tile.srv .cat-count { font-size: 12px; }
.cat-tile.srv .cat-txt { left: 14px; top: 12px; right: 20%; }
.cat-tile.srv .cat-p { width: 27%; }
/* rij "Categorieën" op Home (build 86): kleinere tegels in een horizontale rij */
.cat-tile.cat-mini { flex: none; width: clamp(220px, 21vw, 300px); border-radius: 10px; box-shadow: 0 4px 14px #00000059; }
.cat-tile.cat-mini:hover, .cat-tile.cat-mini:focus-visible { transform: scale(1.04); box-shadow: 0 12px 28px #000000a6, 0 0 0 2px #ffffffe6; }
.cat-tile.cat-mini .cat-txt { left: 14px; top: 12px; }
.cat-tile.cat-mini .cat-name { font-size: 20px; }
.cat-tile.cat-mini .cat-count { margin-top: 4px; font-size: 12px; }
.cat-tile.cat-mini .cat-p { width: 28%; }
.cat-all-ic { position: absolute; right: 14px; bottom: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #ffffff1f; }
.cat-all-ic .ic { width: 22px; height: 22px; }
.cat-row .row-track { padding-top: 10px; }

/* categoriepagina */
.page.cat-page { position: relative; }
.cat-band { position: absolute; left: 0; right: 0; top: calc(var(--top) * -1); height: 420px; z-index: 0; pointer-events: none; background: radial-gradient(80% 100% at 12% 0%, #ffffff1f, transparent 70%); background: radial-gradient(85% 100% at 10% 0%, color-mix(in srgb, var(--c1) 50%, transparent), color-mix(in srgb, var(--c2) 30%, transparent) 45%, transparent 75%); }
.cat-ph { position: relative; z-index: 1; padding: 26px 0 4px; }
.cat-ph-row { display: flex; align-items: center; gap: 14px; }
.btn.cat-back { width: 44px; min-height: 44px; border-radius: 50%; background: #ffffff1f; flex: none; }
.btn.cat-back:hover { background: #ffffff38; }
.cat-ph-t { min-width: 0; }
.cat-ph-kind { font-size: 12px; font-weight: 800; letter-spacing: .12em; white-space: pre; text-transform: uppercase; color: #ffffffb3; }
.cat-ph-t h1 { font-size: 40px; line-height: 1.08; overflow-wrap: anywhere; }
.cat-ph-row .cat-fill { align-self: center; }
.cat-ctl { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.btn.cat-sort { margin-left: auto; min-height: 40px; padding: 0 14px; border-radius: 999px; background: #ffffff1a; font-size: 14px; gap: 7px; }
.btn.cat-sort:hover { background: #ffffff33; }
.btn.cat-sort .ic { width: 18px; height: 18px; }
.btn.cat-sort .cat-caret { width: 15px; height: 15px; opacity: .7; }
.cat-items { position: relative; z-index: 1; margin-top: 20px; }
.cat-none { min-height: 36vh; }

@media (max-width: 699px), (pointer: coarse) and (max-device-width: 599px) {
  .cat-sub { font-size: 14px; }
  .cat-head .cat-fill { margin-left: 0; }
  .cat-bar { margin-bottom: 16px; }
  .cat-grid, .cat-grid.srv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-tile { aspect-ratio: 4 / 3; border-radius: 10px; }
  .cat-tile:hover, .cat-tile:focus-visible { transform: none; }
  .cat-shade { background: linear-gradient(180deg, #000000a6 0%, transparent 60%); background: linear-gradient(180deg, color-mix(in srgb, var(--c2) 80%, transparent) 0%, color-mix(in srgb, var(--c2) 30%, transparent) 38%, transparent 62%); }
  .cat-txt, .cat-tile.srv .cat-txt { left: 11px; top: 10px; right: 11px; }
  .cat-name { font-size: 17px; }
  .cat-tile.srv .cat-name { font-size: 14px; -webkit-line-clamp: 2; }
  .cat-count, .cat-tile.srv .cat-count { font-size: 11.5px; margin-top: 3px; }
  .cat-p, .cat-tile.srv .cat-p { width: 34%; bottom: -26%; border-radius: 5px; }
  .cat-p1 { right: 2%; } .cat-p2 { right: 20%; } .cat-p3 { right: 38%; } .cat-p4 { right: 56%; }
  .cat-tile.cat-mini { width: 168px; aspect-ratio: 4 / 3; }
  .cat-tile.cat-mini .cat-txt { left: 10px; top: 9px; right: 10px; }
  .cat-tile.cat-mini .cat-name { font-size: 16px; }
  .cat-tile.cat-mini .cat-p { width: 34%; }
  .cat-all-ic { width: 36px; height: 36px; right: 10px; bottom: 10px; }
  .cat-ph { padding-top: 14px; }
  .cat-ph-t h1 { font-size: 26px; }
  .btn.cat-back { width: 38px; min-height: 38px; }
  .cat-ph-row .cat-fill span:last-child { display: none; }
  .cat-ctl { margin-top: 14px; gap: 8px; }
  .seg-it { padding: 7px 12px; font-size: 13px; }
  .seg-n { display: none; }
  .btn.cat-sort { min-height: 36px; padding: 0 12px; font-size: 13px; }
  .cat-band { height: 300px; }
}
@media (prefers-reduced-motion: reduce) { .cat-fill-dot { animation: none; } }

/* abonnement (Gratis / Lifetime): slot-badge, upgradevenster, slotweergave */
.plan-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, #E50914, #7A0008); box-shadow: inset 0 0 0 1px #ffffff26; white-space: nowrap; flex: none; line-height: 1.3; }
/* Lifetime-icoon: badge met uitgespaard vinkje in Bingr-rood; op een rode ondergrond (knop, badge) wit */
.ic.ic-lifetime { stroke: none; }
.ic.ic-lifetime path { fill: var(--red); }
.btn.primary .ic-lifetime path { fill: var(--on-accent); }
.plan-badge .ic-lifetime path { fill: #fff; }
.plan-badge-ic { width: 13px; height: 13px; }
.st-value .plan-badge { margin-left: 2px; }
.plan-pill { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; letter-spacing: .04em; background: #ffffff1f; color: #fff; }
.plan-pill.life { background: linear-gradient(135deg, #E50914, #7A0008); }
.dialog.plan-dlg { max-width: 460px; }
.plan-hero { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.plan-mark { width: 48px; height: 48px; flex: none; display: grid; place-items: center; }
.plan-mark .ic { width: 48px; height: 48px; filter: drop-shadow(0 6px 16px #e5091440); }
.plan-title { font-size: 21px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.plan-price { color: #ff6b73; font-weight: 700; font-size: 15px; margin-top: 2px; }
.plan-why { color: #ddd; margin: 0 0 14px; }
.plan-cmp { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 14px; }
.plan-cmp-row { display: grid; grid-template-columns: 1fr 74px 84px; align-items: center; min-height: 40px; border-top: 1px solid #ffffff0d; }
.plan-cmp-row:first-child { border-top: 0; }
.plan-cmp-row > span { padding: 8px 10px; text-align: center; color: var(--sec); }
.plan-cmp-row > .plan-cmp-l { text-align: left; color: #fff; padding-left: 14px; }
.plan-cmp-row > .plan-cmp-life { color: #fff; font-weight: 700; background: #e509140f; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.plan-cmp-head > span { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sec); }
.plan-cmp-head > .plan-cmp-life { color: #ff6b73; background: #e509141f; }
.plan-cmp-row.hl { background: #ffffff0a; }
.plan-cmp-row.hl > .plan-cmp-l { font-weight: 700; box-shadow: inset 3px 0 0 #E50914; }
.plan-yes { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #E50914; }
.plan-yes .ic { width: 14px; height: 14px; stroke-width: 3; }
.plan-no { color: var(--muted); }
.plan-note { margin-top: 12px; }
.btn.plan-cta { background: #E50914; }
.plan-locked { max-width: 520px; margin: 40px auto; padding: 36px 28px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.plan-locked h2 { font-size: 22px; }
.plan-lock-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #ffffff12; color: var(--sec); }
.plan-lock-ic .ic { width: 30px; height: 30px; }
.dlg-buttons.center { justify-content: center; margin-top: 8px; }
.plan-upsell { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 14px 0 6px; padding: 12px 14px; border-radius: 10px; background: #e5091414; border: 1px solid #e5091440; text-align: left; }
.plan-upsell-t { flex: 1; min-width: 180px; font-size: 14px; color: #ddd; }
.pl-err .plan-upsell { max-width: 520px; }
.wn-sheet .limit-list { margin-top: 12px; }
@media (max-width: 480px) {
  .plan-cmp-row { grid-template-columns: 1fr 62px 72px; }
  .plan-cmp { font-size: 13px; }
  .plan-locked { margin: 20px 0; padding: 28px 18px; }
}

/* build 90: info, cast en aanbevelingen op de detailpagina; pagina van een acteur/actrice */
.dt-plot { margin-bottom: 12px; }
.dt-credits { margin: 0 0 20px; font-size: 14px; color: #ddd; line-height: 1.5; max-width: 680px; }
.dt-credits .k { color: #9a9a9a; }
.dt-extra { position: relative; padding: 0 var(--gutter) 40px; max-width: 1400px; }
.dt-sec { margin: 18px 0 8px; }
.dt-sec-title { font-size: 14px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: #9a9a9a; margin: 0 0 12px; }
.cast-grid { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 250px; gap: 14px 26px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.cast-grid::-webkit-scrollbar { display: none; }
.cast-cell { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; min-width: 0; border-radius: 40px; }
a.cast-cell:hover .cast-name, a.cast-cell:focus-visible .cast-name { text-decoration: underline; }
.cast-pic { flex: none; width: 70px; height: 70px; border-radius: 50%; overflow: hidden; background: #2a2a2a; display: grid; place-items: center; font-weight: 700; font-size: 18px; color: #9a9a9a; }
.cast-pic img { width: 100%; height: 100%; object-fit: cover; }
.cast-txt { display: flex; flex-direction: column; min-width: 0; }
.cast-name { font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cast-role { font-size: 13px; color: #9a9a9a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dt-extra .row-title { font-size: 14px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: #9a9a9a; }
.page.person { position: relative; padding: 70px var(--gutter) 60px; }
.page.person > .dt-back { position: absolute; top: 18px; left: var(--gutter); }
.person-head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.person-pic { width: 168px; height: 168px; border-radius: 50%; overflow: hidden; background: #2a2a2a; display: grid; place-items: center; font-size: 56px; font-weight: 700; color: #9a9a9a; box-shadow: 0 8px 36px #0008; border: 1px solid #ffffff1f; }
.person-pic img { width: 100%; height: 100%; object-fit: cover; }
.person-name { font-size: 30px; font-weight: 800; margin: 0; }
.person-facts { text-align: center; color: #9a9a9a; font-size: 14px; line-height: 1.6; margin: 8px 0 18px; }
.person-biobox { max-width: 760px; margin: 0 auto 26px; }
.person-bio { color: #ddd; font-size: 15px; line-height: 1.6; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.person-bio.open { -webkit-line-clamp: unset; display: block; }
.person-none { text-align: center; }
@media (max-width: 700px) {
  .cast-grid { grid-auto-columns: 210px; }
  .cast-pic { width: 56px; height: 56px; }
  .person-pic { width: 128px; height: 128px; }
  .person-name { font-size: 24px; }
}

/* build 97: Arabisch (dir=rtl): kleine correcties voor rijen, pijlen en uitlijning */
[dir=rtl] .top-right, [dir=rtl] .row-more, [dir=rtl] .lv-select, [dir=rtl] kbd { margin-left: 0; margin-right: auto; }
[dir=rtl] .menu-it, [dir=rtl] .ccard, [dir=rtl] .lv-main, [dir=rtl] .ep, [dir=rtl] .st-row, [dir=rtl] .opt, [dir=rtl] .limit-list { text-align: right; }
[dir=rtl] .row-arrow.left { left: auto; right: 0; border-radius: 6px 0 0 6px; }
[dir=rtl] .row-arrow.right { right: auto; left: 0; border-radius: 0 6px 6px 0; }
[dir=rtl] .ic-back, [dir=rtl] .ic-chevron { transform: scaleX(-1); }
[dir=rtl] .row-arrow:hover .ic { transform: scale(-1.25, 1.25); }
[dir=rtl] .dt-back { left: auto; right: calc(var(--gutter) - 10px); }
[dir=rtl] .hero-poster { right: auto; left: calc(var(--gutter) + 2vw); transform: rotate(-2deg); }
[dir=rtl] .top10-num { margin-right: 0; margin-left: -10px; text-align: left; }
[dir=rtl] .dt-shade { background: linear-gradient(270deg, #000000d9, #00000066 70%), linear-gradient(180deg, transparent 50%, var(--bg)); }
[dir=rtl] .lv-groups { padding-right: 0; padding-left: 6px; }
[dir=rtl] .lv-gbtn { margin-right: 0; margin-left: 8px; }
[dir=rtl] .lv-main { padding: 10px 14px 10px 6px; }
/* tijdbalk en tijden van de speler blijven links-naar-rechts (doorspoelen rekent vanaf links) */
[dir=rtl] .pl-prog { direction: ltr; }

/* build 111: rijen Binnenkort op Bingr / Nieuw op Bingr (TMDB). Build 112: de datum is het gewone rode .card-badge
   linksboven; de bronvermelding staat niet meer onder de rij maar in Instellingen → Over (.st-foot) */
.dt-note { margin: 14px 0 0; line-height: 1.5; max-width: 680px; }

/* build 140: uitgelicht wisselt vanzelf (vaste selectie): zachte overgang en stippen onderin */
.hero.hero-in .hero-bg, .hero.hero-in .hero-info, .hero.hero-in .hero-poster, .hero.hero-in .hero-card { animation: heroIn .7s ease both; }
@keyframes heroIn { from { opacity: 0; } to { opacity: 1; } }
.hero-dots { position: absolute; left: 50%; bottom: 3.2vh; transform: translateX(-50%); z-index: 2; display: flex; gap: 8px; }
.hero-dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: #ffffff59; cursor: pointer; transition: background .2s, transform .2s; }
.hero-dot.on { background: #fff; transform: scale(1.25); }
.hero-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 700px) { .hero-dots { position: relative; left: auto; bottom: auto; transform: none; justify-content: center; margin-top: 14px; } }
@media (prefers-reduced-motion: reduce) { .hero.hero-in .hero-bg, .hero.hero-in .hero-info, .hero.hero-in .hero-poster, .hero.hero-in .hero-card { animation: none; } }

/* build 140: ouderpoort (rekensom om een kinderprofiel te verlaten) */
.mg-sum { font-size: 34px; font-weight: 800; letter-spacing: .02em; margin-top: 4px; direction: ltr; }
.mg-val { min-width: 120px; min-height: 48px; padding: 6px 16px; border-radius: 10px; background: #ffffff14; font-size: 30px; font-weight: 700; text-align: center; direction: ltr; }
.mg-val.shake { animation: shake .4s; }
.pin-key.mg-ok { font-size: 17px; background: var(--accent); color: var(--on-accent, #fff); }
.mg-new { margin-top: 2px; }

/* build 140: Live TV-categorieën in Categorieën (logo's van zenders in de tegel) en zoeken bij Categorieën tonen */
.cat-p.cat-lg { aspect-ratio: 1; background: #ffffffe6; }
.cat-p.cat-lg .imgbox { background: transparent; }
.cat-p.cat-lg img { object-fit: contain; padding: 10%; }
.catprefs-search { gap: 10px; }
.catprefs-search .ic { width: 18px; height: 18px; color: var(--sec); }
.catprefs-q { flex: 1; min-width: 0; background: transparent; border: 0; color: inherit; font-size: 15px; padding: 6px 0; outline: none; }

/* build 146: Instellingen in tabs (smal: tabs als scrollbare rij; breed: kolom links) */
.st-wrap { display: flex; flex-direction: column; gap: 8px; }
.st-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 14px 0 4px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
.st-tabs::-webkit-scrollbar { display: none; }
.st-tab { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 8px 14px; border-radius: 99px; background: var(--card); color: var(--sec); font-size: 14px; font-weight: 600; white-space: nowrap; position: relative; }
.st-tab:hover, .st-tab:focus-visible { background: var(--card2); color: #fff; outline: none; }
.st-tab.active { background: #fff; color: #111; }
.st-tab-ic { width: 18px; height: 18px; }
.st-body { min-width: 0; flex: 1; }
@media (min-width: 980px) {
  .st-wrap { flex-direction: row; align-items: flex-start; gap: 32px; }
  .st-tabs { flex-direction: column; overflow: visible; margin: 0; padding: 26px 0 0; width: 240px; flex: none; position: sticky; top: calc(var(--top) + 8px); gap: 2px; }
  .st-tab { border-radius: 8px; background: none; padding: 10px 14px; }
  .st-tab.active { background: var(--card2); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
}
/* teller ongelezen (Support) */
.sp-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; line-height: 1; margin-left: auto; }
.st-tab .sp-badge { margin-left: 4px; }
.prof-btn { position: relative; }
.sp-badge.on-prof { position: absolute; top: -2px; right: 14px; min-width: 18px; height: 18px; font-size: 11px; padding: 0 5px; box-shadow: 0 0 0 2px var(--bg); }
.menu-it .sp-badge { margin-left: auto; }
/* Support */
.sp-box { margin-top: 18px; }
.sp-head { display: flex; align-items: center; gap: 16px; justify-content: space-between; flex-wrap: wrap; margin-bottom: 4px; }
.sp-head p { flex: 1; min-width: 220px; }
.sp-item .st-sub, .st-sub { font-size: 13px; color: var(--sec); }
.sp-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex: none; }
.sp-dot.off { background: transparent; }
.sp-item.unread .st-label > span:first-child { font-weight: 800; }
.sp-empty { margin-top: 20px; }
.sp-crash { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; background: #3a2a0a; border: 1px solid #7a5a12; border-radius: 10px; padding: 14px 16px; margin: 16px 0 0; }
.sp-crash > div:nth-child(2) { flex: 1; min-width: 200px; }
.sp-crash-ic { width: 24px; height: 24px; color: #f5b30b; flex: none; }
.sp-crash-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.sp-ticket { margin-top: 14px; max-width: 760px; }
.sp-thead h2 { font-size: 22px; margin-bottom: 4px; overflow-wrap: anywhere; }
.sp-note { display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: 99px; background: #3a2a0a; color: #f5c451; font-size: 13px; font-weight: 700; }
.sp-msgs { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.sp-msg { max-width: 88%; padding: 12px 14px; border-radius: 12px; background: var(--card); }
.sp-msg.mine { align-self: flex-end; background: #26324a; }
.sp-who { font-size: 12.5px; color: var(--sec); font-weight: 700; margin-bottom: 6px; }
.sp-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.sp-text a { text-decoration: underline; }
.sp-att { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; color: var(--sec); }
.sp-att .ic { width: 16px; height: 16px; }
.sp-event { align-self: center; font-size: 12.5px; color: var(--muted); }
.sp-reply, .sp-closed { display: flex; flex-direction: column; gap: 10px; }
.sp-ta, .form-input { width: 100%; padding: 12px 14px; border-radius: 6px; border: 1px solid #ffffff2e; background: #161616; color: #fff; font: inherit; font-size: 16px; resize: vertical; }
.sp-ta:focus, .form-input:focus { outline: none; border-color: #fff; background: #222; }
.sp-new { max-width: 640px; margin-top: 14px; }
.sp-diag { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.sp-diag p { flex-basis: 100%; }
.sp-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; }
.sp-check input { width: 18px; height: 18px; accent-color: var(--accent); }
.link-btn { background: none; border: 0; padding: 0; color: var(--sec); text-decoration: underline; cursor: pointer; font-size: 14px; }
.sp-json { max-height: 60vh; overflow: auto; background: #111; border-radius: 8px; padding: 12px; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.sp-stack { margin: 0; padding: 10px 16px; background: #111; font-size: 12px; color: var(--sec); white-space: pre-wrap; overflow-wrap: anywhere; border-radius: 0 0 10px 10px; }
.sp-warn { color: #f5c451; }
.sp-appdiag { background: var(--card); border-radius: 10px; }
.sp-appdiag > .dlg-buttons { padding: 14px 16px; }
.sp-appdiag .st-row { background: none; }
.st-row.info .st-value { max-width: 60%; white-space: normal; }
/* tv-gids verlopen (build 146): kleine melding onderin, niet blokkerend */
.epg-note { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(20px + var(--tabbar)); z-index: 250; display: flex; align-items: center; gap: 12px; background: #1f1f1f; border: 1px solid #ffffff26; border-radius: 10px; padding: 10px 10px 10px 14px; box-shadow: 0 10px 30px #0009; width: max-content; max-width: calc(100vw - 32px); font-size: 14.5px; }
.epg-note span { flex: 1; min-width: 0; }
.epg-note-ic { width: 22px; height: 22px; color: var(--sec); flex: none; }
/* pincode controleren (PBKDF2) */
.pin-dots.checking span { opacity: .45; }
.pin-err.pin-lock { color: #f5c451; }
@media (max-width: 700px) {
  .sp-msg { max-width: 100%; }
  .epg-note { flex-wrap: wrap; }
}

/* build 147: samenvatting van de start in Support → Diagnose */
.sp-sum .st-label b { font-weight: 700; }
.sp-sum-good .st-label b { color: #46d369; }
.sp-sum-slow .st-label b { color: #f5c451; }
.sp-sum-hung .st-label b { color: #ff5a5f; }

/* build 149: rij "Ontdek categorieën" (Home): collage van posters bovenin, gekleurde balk met de naam of het logo eronder */
.dc-row .row-track { gap: 18px; }
.dc-tile { position: relative; flex: 0 0 auto; display: flex; flex-direction: column; width: 300px; border-radius: 14px; overflow: hidden; background: var(--dc, #2a2c38); box-shadow: 0 6px 20px #00000066; color: #fff; text-decoration: none; transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.dc-tile:hover, .dc-tile:focus-visible { transform: scale(1.045); box-shadow: 0 12px 30px #000c, 0 0 0 2px #ffffffd9; outline: none; z-index: 1; }
.dc-art { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; aspect-ratio: 16 / 7; background: #00000059; overflow: hidden; }
.dc-art.n3 { grid-template-columns: repeat(3, 1fr); }
.dc-p { overflow: hidden; }
.dc-p .imgbox { width: 100%; height: 100%; }
.dc-p img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dc-bar { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 76px; padding: 12px 16px; background: var(--dc, #2a2c38); }
.dc-name { font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; text-align: center; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-shadow: 0 1px 3px #00000059; }
.dc-logo { height: 48px; width: auto; max-width: 70%; border-radius: 10px; object-fit: contain; }
.dc-bar { position: relative; }
/* build 150: taalchips van een samengevoegde categorie (tegel, rijkop, Categorieën aan/uit) */
.dc-tags { position: absolute; right: 8px; bottom: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .04em; padding: 2px 6px; border-radius: 6px; background: #00000059; color: #fff; }
.cat-chips { display: inline-flex; gap: 4px; vertical-align: middle; margin-inline-start: 4px; }
.cat-chip { font-size: .62em; font-weight: 700; letter-spacing: .04em; padding: 2px 6px; border-radius: 6px; border: 1px solid currentColor; color: inherit; opacity: .7; line-height: 1.3; }
.dc-tile.has-logo .dc-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dc-c0 { --dc: #c0392b; } .dc-c1 { --dc: #1f6feb; } .dc-c2 { --dc: #8e44ad; } .dc-c3 { --dc: #16a085; } .dc-c4 { --dc: #d35400; }
.dc-c5 { --dc: #2c3e94; } .dc-c6 { --dc: #b8336a; } .dc-c7 { --dc: #2e7d32; } .dc-c8 { --dc: #6d4c41; } .dc-c9 { --dc: #00838f; }
@media (max-width: 860px) { .dc-tile { width: 230px; } .dc-bar { min-height: 60px; } .dc-name { font-size: 1.15rem; } .dc-logo { height: 38px; } }
@media (min-width: 1600px) { .dc-tile { width: 360px; } .dc-name { font-size: 1.7rem; } }
/* build 149: zoektreffer in een verborgen categorie */
.card-hidden .card-img { opacity: .72; }
.mark-hidden { position: absolute; left: 6px; bottom: 6px; padding: 2px 7px; border-radius: 6px; background: #000000b3; color: #fff; font-size: .72rem; font-weight: 600; }
.card-sub { font-size: .78rem; color: var(--muted, #9aa0a6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* build 151: rij "Zenders" op Home (channelrow.js): logo op een neutrale achtergrond, eronder klein het programma van nu */
.zc-row .row-track { gap: 14px; }
.zc-tile { flex: 0 0 auto; display: flex; flex-direction: column; gap: 6px; width: 180px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-align: left; font: inherit; }
.zc-logo { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #2a2c34; box-shadow: 0 4px 14px #00000059; transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.zc-logo .imgbox { width: 100%; height: 100%; background: transparent; }
.zc-logo img { width: 100%; height: 100%; object-fit: contain; padding: 14px 18px; box-sizing: border-box; }
.zc-logo .alt, .zc-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding: 0 10px; font-size: 1.05rem; font-weight: 800; line-height: 1.15; text-align: center; color: #fff; }
.zc-logo .imgbox.noimg { display: flex; align-items: center; justify-content: center; }
.zc-now { font-size: 12px; color: var(--muted, #a0a0a8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 2px; }
.zc-tile:hover .zc-logo, .zc-tile:focus-visible .zc-logo { transform: scale(1.045); box-shadow: 0 10px 26px #000c, 0 0 0 2px #ffffffd9; }
.zc-tile:focus-visible { outline: none; }
[dir=rtl] .zc-tile { text-align: right; }
@media (max-width: 860px) { .zc-tile { width: 140px; } .zc-logo img { padding: 10px 12px; } .zc-logo .alt, .zc-name { font-size: .9rem; } }
@media (min-width: 1600px) { .zc-tile { width: 220px; } }
