/* 2026-09 redesign, loaded after style.css and videos.css.
   Brand from the YouTube channel (navy ink, blue building, crane mark): a dark hero with the real covers,
   series posters, how the academy works, a project timeline and the way to the software. */
:root {
  --brand: #0b1b36;
  --brand-2: #10306b;
  --accent: #1a66e8;
  --accent-hover: #1459cf;
  --link: #1a5fd6;
  --focus: #1a66e8;
  --grad: linear-gradient(135deg, #1a66e8 0%, #0a84ff 100%);
  --f-hero: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

/* ---------- top bar ---------- */
.wm-logo { width: 30px; height: 30px; border-radius: 8px; display: block; }
.wordmark b { color: var(--accent); font-weight: 700; }
.nav a.nav-erp { color: var(--accent); font-weight: 600; }
.nav a.nav-erp:hover { background: color-mix(in oklab, var(--accent) 10%, transparent); }
.lang-switch { background: transparent; padding: 0; }
.langsel { position: relative; }
.langsel summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 980px; background: var(--alt); color: var(--ink-2); user-select: none; }
.langsel summary::-webkit-details-marker { display: none; }
.langsel summary::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-inline-start: 2px; }
.langsel[open] summary, .langsel summary:hover { background: var(--sunk); color: var(--ink); }
.langsel img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); flex: none; }
.langsel-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 40; width: min(520px, calc(100vw - 32px)); max-height: min(70vh, 520px); overflow: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; padding: 8px; background: #fff; border: 1px solid var(--rule); border-radius: 16px; box-shadow: 0 24px 60px rgba(11, 27, 54, 0.18); }
.langsel-menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; text-decoration: none; font-size: 14px; color: var(--ink-2); }
.langsel-menu a:hover { background: var(--alt); color: var(--ink); }
.langsel-menu a[aria-current="true"] { background: color-mix(in oklab, var(--accent) 10%, #fff); color: var(--accent); font-weight: 600; }
/* Six menu items fit beside the wordmark down to 1024px; below that the menu takes its own row. */
@media (max-width: 1100px) {
  body .nav { order: 0; width: auto; margin: 0 0 0 auto; padding: 0; overflow: visible; }
  body .topbar-row { flex-wrap: nowrap; padding-top: 0; min-height: 56px; gap: 14px; }
  body .topbar-end { margin-left: 0; }
}
@media (max-width: 1023px) {
  body .nav { order: 3; width: calc(100% + 44px); margin: 0 -22px; padding: 0 16px 8px; overflow-x: auto; scrollbar-width: none; }
  body .topbar-row { flex-wrap: wrap; gap: 0 12px; padding-top: 6px; min-height: 0; }
  body .topbar-end { margin-inline-start: auto; }
}

/* ---------- hero ---------- */
.vh { position: relative; overflow: hidden; color: #fff; isolation: isolate; padding-block: 72px 36px;
  background: radial-gradient(900px 520px at 85% 10%, rgba(10, 132, 255, 0.35), transparent 60%), radial-gradient(700px 480px at 5% 110%, rgba(26, 102, 232, 0.35), transparent 60%), linear-gradient(160deg, var(--brand) 0%, #0d2552 55%, var(--brand-2) 100%); }
.vh::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.vh-glow { position: absolute; width: 560px; height: 560px; inset-inline-start: -180px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 132, 255, 0.35), transparent); z-index: -1; animation: vh-float 14s ease-in-out infinite alternate; }
@keyframes vh-float { to { transform: translate(120px, 80px); } }
.vh-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: center; }
.vh-text { display: grid; min-width: 0; }
.vh-kicker { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.88); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); padding: 5px 14px 5px 5px; border-radius: 980px; }
[dir="rtl"] .vh-kicker { padding: 5px 5px 5px 14px; }
.vh-kicker img { width: 26px; height: 26px; border-radius: 50%; background: #fff; }
.vh-title { font-family: var(--f-hero); font-weight: 800; font-size: clamp(36px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -0.035em; margin-top: 20px; max-width: 15ch; color: #fff; background: linear-gradient(180deg, #fff 35%, #b9d3ff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: 0.06em; }
.vh-sub { color: rgba(255, 255, 255, 0.8); font-size: clamp(16px, 1.7vw, 19px); line-height: 1.5; margin-top: 18px; max-width: 46ch; }
.vh .vsearch { margin: 28px 0 0; max-width: 560px; border: 0; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.vh .vasks { justify-content: flex-start; margin: 16px 0 0; }
.vh .vasks-lab { color: rgba(255, 255, 255, 0.6); }
.vh .vask { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); }
.vh .vask:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.4); }
.vh-wall { position: relative; height: 470px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; transform: perspective(1300px) rotateY(-14deg) rotateX(6deg); transform-origin: 30% 50%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%); }
[dir="rtl"] .vh-wall { transform: perspective(1300px) rotateY(14deg) rotateX(6deg); }
.vw-col { overflow: hidden; }
.vw-col:nth-child(2) .vw-track { animation-direction: reverse; }
.vw-track { display: grid; gap: 14px; animation: vw-roll var(--dur, 50s) linear infinite; }
.vw-track img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; display: block; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4); }
@keyframes vw-roll { to { transform: translateY(calc(-50% - 7px)); } }
.vh-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 44px 0 0; }
.vh-stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.vh-stats dd { margin: 0; font: 800 clamp(26px, 3vw, 36px)/1 var(--f-hero); letter-spacing: -0.035em; color: #fff; font-variant-numeric: tabular-nums; }
.vh-stats dt { font-size: 13.5px; color: rgba(255, 255, 255, 0.66); }

/* ---------- section headings ---------- */
.vsec { padding-top: 64px; }
.vsec h2, .vsec-title h2 { font-family: var(--f-hero); font-weight: 800; letter-spacing: -0.035em; }

/* ---------- featured video ---------- */
.vfeat { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); text-decoration: none; color: inherit; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--rule); box-shadow: 0 1px 2px rgba(11, 27, 54, 0.06), 0 24px 60px rgba(11, 27, 54, 0.1); transition: transform 240ms ease, box-shadow 240ms ease; }
.vfeat:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11, 27, 54, 0.06), 0 34px 70px rgba(11, 27, 54, 0.16); }
.vfeat-media { position: relative; aspect-ratio: 16 / 9; background: var(--brand); overflow: hidden; }
.vfeat-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 500ms ease; }
.vfeat:hover .vfeat-media img { transform: scale(1.03); }
.vfeat:hover .vplay { background: var(--accent); transform: scale(1.06); }
.vfeat-body { display: grid; align-content: center; justify-items: start; gap: 12px; padding: clamp(22px, 3vw, 40px); }
.vfeat-kick { font-size: 13px; font-weight: 700; color: var(--accent); background: color-mix(in oklab, var(--accent) 10%, #fff); padding: 4px 12px; border-radius: 980px; }
.vfeat-title { font: 700 clamp(22px, 2.6vw, 32px)/1.12 var(--f-hero); letter-spacing: -0.03em; color: var(--ink); }
.vfeat-q { font-size: 16px; color: var(--ink-2); line-height: 1.45; }
.vfeat-meta { color: var(--ink-3); }
.vbtn svg { width: 18px; height: 18px; fill: currentColor; }
.vbtn.is-big { padding: 13px 22px; font-size: 16px; font-weight: 600; background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(26, 102, 232, 0.3); }
.vbtn.is-big:hover { filter: brightness(1.06); }

/* ---------- how it works ---------- */
.vhow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vhow-step { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px 24px; border-radius: 20px; background: linear-gradient(180deg, #f6f9ff 0%, #fff 100%); border: 1px solid #e3ebfa; }
.vhow-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 10px 22px rgba(26, 102, 232, 0.28); }
.vhow-ic svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vhow-n { position: absolute; inset-inline-end: 22px; top: 22px; color: #b6c6e6; font-size: 22px; font-weight: 700; }
.vhow-step h3 { font-size: 19px; margin-top: 6px; }
.vhow-step p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.vhow-step:not(:last-child)::after { content: ""; position: absolute; top: 48px; inset-inline-end: -13px; width: 10px; height: 10px; border-top: 2px solid #9fb6e2; border-right: 2px solid #9fb6e2; transform: rotate(45deg); z-index: 1; background: #fff; }
[dir="rtl"] .vhow-step:not(:last-child)::after { transform: rotate(-135deg); }

/* ---------- series posters ---------- */
.vposters { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.vposter { position: relative; display: grid; text-decoration: none; color: #fff; border-radius: 22px; overflow: hidden; min-height: 300px; background: var(--brand); box-shadow: 0 16px 40px rgba(11, 27, 54, 0.16); transition: transform 240ms ease, box-shadow 240ms ease; isolation: isolate; }
.vposter:hover { transform: translateY(-4px); box-shadow: 0 26px 56px rgba(11, 27, 54, 0.26); }
.vposter-art { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; }
.vposter-art.n1 { grid-template-columns: 1fr; }
.vposter-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms ease; }
.vposter:hover .vposter-art img { transform: scale(1.05); }
.vposter-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 27, 54, 0.1) 0%, rgba(11, 27, 54, 0.55) 45%, rgba(11, 27, 54, 0.96) 100%); }
.vposter-body { align-self: end; display: grid; gap: 8px; padding: 20px 20px 22px; }
.vposter-kick { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.92); }
.vflagimg { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3); }
.vglobe svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.7; display: block; }
.vbadge { margin-inline-start: auto; font-size: 11px; padding: 2px 8px; border-radius: 980px; background: rgba(255, 255, 255, 0.16); color: #fff; }
.vposter-title { font: 700 22px/1.15 var(--f-hero); letter-spacing: -0.025em; }
.vposter-meta { color: rgba(255, 255, 255, 0.78); }
.vposter-prog { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.vposter-prog span { display: block; height: 100%; width: var(--p); background: #34c759; }
.vposters.is-page { margin-top: 24px; }
.vplaylists { padding-block: 28px 72px; }
.vpage-title { font: 800 clamp(30px, 4.4vw, 50px)/1.05 var(--f-hero); letter-spacing: -0.04em; margin: 14px 0 8px; }

/* ---------- path by role and country ---------- */
.vpath-card { border-radius: 24px; padding: clamp(20px, 3vw, 34px); background: linear-gradient(180deg, #f5f8ff, #fff 60%); border: 1px solid #e3ebfa; }

/* ---------- tasks: a bar shows how many videos ---------- */
.vtopic { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--rule); padding: 16px 18px 20px; }
.vtopic:hover { border-color: color-mix(in oklab, var(--accent) 40%, transparent); background: #fff; }
.vtopic-n { font: 700 18px/1 var(--f-hero); color: var(--accent); }
.vtopic-bar { position: absolute; inset-inline-start: 0; bottom: 0; height: 4px; width: var(--p); background: var(--grad); }

/* ---------- project timeline ---------- */
.vtimeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); position: relative; }
.vtimeline::before { content: ""; position: absolute; top: 33px; inset-inline: 6%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #cfdcf5, var(--accent), #cfdcf5); }
.vtimeline a { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; text-decoration: none; padding: 0 4px 6px; }
.vtl-dot { width: calc(68px * var(--s)); height: calc(68px * var(--s)); margin-top: calc(34px - 34px * var(--s)); border-radius: 50%; display: grid; place-items: center; background: var(--grad); box-shadow: 0 0 0 6px #fff, 0 10px 22px rgba(26, 102, 232, 0.3); transition: transform 200ms ease; }
.vtl-dot .mono { font: 700 16px/1 var(--f-hero); color: #fff; }
.vtimeline a:hover .vtl-dot { transform: scale(1.1); }
.vtimeline a.is-empty { pointer-events: none; }
.vtimeline a.is-empty .vtl-dot { background: #e6ebf4; box-shadow: 0 0 0 6px #fff; }
.vtimeline a.is-empty .vtl-dot .mono { color: var(--ink-3); }
.vtl-n { color: var(--ink-3); font-size: 11.5px; margin-top: calc(34px - 34px * var(--s)); }
.vtimeline b { font-size: 13.5px; line-height: 1.25; letter-spacing: -0.01em; overflow-wrap: anywhere; hyphens: auto; }
.vtimeline a:hover b { color: var(--accent); }
[dir="rtl"] .vtimeline::before { background: linear-gradient(270deg, #cfdcf5, var(--accent), #cfdcf5); }

/* ---------- call to action ---------- */
.vcta { margin-top: 80px; color: #fff; padding-block: 56px; background: radial-gradient(700px 300px at 90% 0%, rgba(10, 132, 255, 0.4), transparent 70%), linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%); }
.vcta-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; }
.vcta h2 { color: #fff; font: 800 clamp(26px, 3.4vw, 40px)/1.08 var(--f-hero); letter-spacing: -0.035em; }
.vcta p { color: rgba(255, 255, 255, 0.8); margin-top: 12px; max-width: 58ch; font-size: 16.5px; }
.vcta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.vbtn.is-light { background: #fff; color: var(--brand); box-shadow: none; }
.vbtn.is-light:hover { background: #eaf1ff; filter: none; }
.vbtn.is-yt { background: #ff0033; box-shadow: 0 10px 24px rgba(255, 0, 51, 0.28); }

/* ---------- footer ---------- */
.footer { background: #081427; color: rgba(255, 255, 255, 0.72); border-top: 0; font-size: 14px; padding-block: 34px 44px; }
.footer b { color: #fff; }
.footer p { max-width: none; }
#footer-lead { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; }
.foot-brand img { border-radius: 8px; background: #fff; }
.foot-links { display: inline-flex; flex-wrap: wrap; gap: 16px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.foot-more { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; padding-top: 14px; margin-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-family: var(--f-body); font-size: 13.5px; }
.foot-more a { color: rgba(255, 255, 255, 0.84); }
.foot-more-lab { color: rgba(255, 255, 255, 0.5); }

/* ---------- sections rise in once (only when motion is welcome; see videos.js animateHome) ---------- */
.vreveal { transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.vreveal.is-pending { opacity: 0; transform: translateY(26px); }

/* ---------- right to left ---------- */
[dir="rtl"] .vsearch-icon { left: auto; right: 19px; }
[dir="rtl"] .vsearch input { padding: 13px 48px 13px 14px; }
[dir="rtl"] .vsearch.is-big input { padding-block: 17px; }
[dir="rtl"] .vkbd { margin-right: 0; margin-left: 16px; }
[dir="rtl"] .vfacet, [dir="rtl"] .vchapters button, [dir="rtl"] .vtr button { text-align: right; }

@media (max-width: 960px) {
  .vh-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .vh-wall, [dir="rtl"] .vh-wall { height: 200px; transform: none; order: -1; }
  .vfeat { grid-template-columns: minmax(0, 1fr); }
  .vhow { grid-template-columns: minmax(0, 1fr); }
  .vhow-step:not(:last-child)::after { display: none; }
  .vtimeline { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 22px; }
  .vtimeline::before { display: none; }
  .vcta-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .vh { padding-block: 24px 28px; }
  .vh-wall { display: none; }
  .vh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
  .vh-stats > div { padding: 12px 14px; }
  .vposters { grid-template-columns: minmax(0, 1fr); }
  .vposter { min-height: 240px; }
  .vtimeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vsec { padding-top: 48px; }
  .vcta { margin-top: 56px; padding-block: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .vw-track, .vh-glow { animation: none; }
  .vreveal.is-pending { opacity: 1; transform: none; }
}
/* legal links: plain, small, always present (also without JavaScript) */
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; opacity: 0.75; margin-top: 14px; }
.foot-legal a { color: inherit; }
/* narrow phones: the menu fits on one line, the ERP link keeps its short name */
@media (max-width: 480px) {
  .erp-long { display: none; }
  .nav a { padding-left: 9px; padding-right: 9px; }
}

/* /classic/: earlier version with the full menu */
.classic-bar { margin: 0; padding: 7px 16px; background: #0b1b36; color: #fff; font-size: 13.5px; text-align: center; }
.classic-bar a { color: #8ab8ff; }
body.is-classic .nav { overflow-x: auto; scrollbar-width: none; }
body.is-classic .erp-long { display: none; }
body.is-classic .nav { gap: 0; }
body.is-classic .nav a { padding-inline: 9px; }
body.is-classic .wordmark span { white-space: nowrap; }
@media (max-width: 1280px) { body.is-classic .wordmark span b { display: none; } }

/* with Explore and Worldwide in the menu, the ERP link keeps its short name below 1200px */
@media (max-width: 1199px) { .erp-long { display: none; } }

/* the language picked from the reader's region, said once under the header */
.lang-note { background: #eef5ff; color: #0b1b36; font-size: 14px; border-bottom: 1px solid rgba(0, 113, 227, 0.18); }
.lang-note-row { display: flex; align-items: center; gap: 4px 14px; padding-block: 6px; }
.lang-note-row > span { flex: 1 1 auto; min-width: 0; }
.lang-note a { color: #0058b8; font-weight: 600; }
.lang-note-x { flex: none; min-width: 36px; min-height: 36px; border: 0; border-radius: 10px; background: transparent; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.lang-note-x:hover { background: rgba(0, 113, 227, 0.1); }

/* ---- design polish 2026-09-28 (v2 only; /classic/ keeps its look) ---- */
/* one blue: links and "core" use the brand accent */
body:not(.is-classic) { --link: var(--accent); --core: var(--accent); --f-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
/* numbers and meta lines in Inter with tabular figures, not a code font */
body:not(.is-classic) .mono { font-family: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif; font-feature-settings: "tnum" 1, "zero" 0; letter-spacing: 0; }
body:not(.is-classic) .vkbd, body:not(.is-classic) .iso { font-family: var(--f-mono); }
/* no automatic hyphenation in headings and short lines; German long words may still break */
body:not(.is-classic) :is(.vp-title, .vp-q, .vp-kick, .vtitle, .vq, .vres-body h3, .st-card .vtitle, h1, h2, .vstages b, .rt-name) { hyphens: manual; }
body:not(.is-classic) :is(h1, h2, .vtitle, .vp-title, .vres-body h3, .vstages b):lang(de) { hyphens: auto; }
/* hero task chips: calm blocks, not bubbles */
.vh .vasks { justify-content: flex-start; margin-top: 18px; }
.vask { border-radius: 12px; font-weight: 500; }
.vh .vask { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.vh .vask:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.45); }
/* one line under a title never grows past two lines */
.vq, .vfeat-q { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* watch page: the question heads its answer */
.vw-qa { border-left: 3px solid var(--accent); padding: 2px 0 2px 16px; margin: 4px 0 0; max-width: 72ch; }
.vw-qa .vw-q { font: 600 18px/1.35 var(--f-hero); letter-spacing: -0.012em; color: var(--ink); margin: 0 0 6px; }
.vw-qa .vw-answer { border: 0; padding: 0; margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
/* the player note is a footnote */
.vplayer + .vnote { font-size: 12px; margin-top: 8px; }
/* mobile and RTL pass */
.vw-qa { border-left: 0; border-inline-start: 3px solid var(--accent); padding: 2px 0; padding-inline-start: 16px; }
.vdur { right: auto; inset-inline-end: 8px; }
.vflag { left: auto; inset-inline-start: 8px; }
.vdone { right: auto; inset-inline-end: 8px; }
.vsources { padding-left: 0; padding-inline-start: 18px; }
.vseg { position: relative; }
.vseg::before { content: ""; position: absolute; inset: -8px 0; }
.vkick { font-size: 12.5px; line-height: 1.4; }
.vrail.is-single { grid-auto-columns: minmax(0, 520px); }
.vposter-art::after { background: linear-gradient(180deg, rgba(11, 27, 54, 0.25) 0%, rgba(11, 27, 54, 0.78) 38%, rgba(11, 27, 54, 0.97) 70%); }
.vposter-title { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4); }
.vfacet { justify-content: flex-start; gap: 8px; align-items: baseline; }
.vfacet .mono { margin-inline-start: auto; }
@media (max-width: 600px) {
  .nav, .mode-tabs { -webkit-mask-image: linear-gradient(to left, transparent, #000 28px); mask-image: linear-gradient(to left, transparent, #000 28px); }
  [dir="rtl"] .nav, [dir="rtl"] .mode-tabs { -webkit-mask-image: linear-gradient(to right, transparent, #000 28px); mask-image: linear-gradient(to right, transparent, #000 28px); }
  .nav a { padding-block: 9px; }
  .vsec-head { flex-wrap: wrap; row-gap: 6px; }
  .vsec-head > div:first-child { flex-basis: 100%; }
  .vrail { margin-inline: -22px; padding-inline: 22px; scroll-padding-inline: 22px; }
  .vrail.is-single { grid-auto-columns: 100%; }
  .vpath-list a, .vpl-list a { align-items: start; }
  .vw-actions .vbtn { flex: 1 1 100%; justify-content: center; }
  .wall-sq { pointer-events: none; }
}
@media (max-width: 960px) {
  .vtr { border: 1px solid var(--rule); border-radius: 12px; padding: 4px; }
  .vchapters { max-height: none; }
  .vchapters button, .vtr button { padding: 10px 8px; }
}
.langsel-menu img { background: var(--sunk, #eef1f5); }
.vposter-art.n1 img { object-position: left center; }

.vposter .voriginal { display: block; margin-top: 4px; font: italic 500 13px/1.3 var(--f-body, inherit); color: inherit; opacity: 0.85; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45); }

/* Analytics consent (src/consent.js) */
#oca-consent { position: fixed; z-index: 1000; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-inline: auto; padding: 16px 18px; border-radius: 14px; background: #0b1b36; color: #fff; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); font-size: 14px; line-height: 1.45; }
#oca-consent p { margin: 0 0 12px; }
.oca-consent-btns { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.oca-consent-btns a { color: #b8c7e6; margin-inline-end: auto; }
.oca-consent-btns button { font: inherit; font-weight: 600; padding: 9px 16px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.35); background: transparent; color: #fff; cursor: pointer; }
.oca-consent-btns button:focus-visible, .oca-consent-btns a:focus-visible { outline: 2px solid #7fb0ff; outline-offset: 2px; }
