/* Viblu TV website (browsers: computers, tablets, phones). The TV app is separate (index.html + app.css).
   Colours from the Viblu palette, as in the TV app. */
:root {
  --bg: #070b16;
  --bg-2: #0d1424;
  --surface: #131c30;
  --surface-2: #1b2640;
  --line: #24314f;
  --text: #f1f5f9;
  --soft: #dbe4ef;
  --muted: #94a3b8;
  --dim: #64748b;
  --accent: #38bdf8;
  --accent-2: #0ea5e9;
  --live: #ef4444;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Inter Display", "Inter", var(--font);
  --pad: clamp(16px, 4vw, 72px);
  --top: 68px;
  --max: none;                     /* full width (operator 20 Oct); the side gutter is --pad */
  color-scheme: dark;
}

@font-face { font-family: "Inter Display"; font-weight: 800; font-display: swap; src: url(../fonts/InterDisplay-ExtraBold.otf) format("opentype"); }
@font-face { font-family: "Inter Display"; font-weight: 900; font-display: swap; src: url(../fonts/InterDisplay-Black.otf) format("opentype"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(../fonts/Inter-SemiBold.otf) format("opentype"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url(../fonts/Inter-Bold.otf) format("opentype"); }
@font-face { font-family: "Roboto Condensed"; font-weight: 700; font-style: italic; font-display: swap; src: url(../fonts/RobotoCondensed-BoldItalic.ttf) format("truetype"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(../fonts/JetBrainsMono-Medium.ttf) format("truetype"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-display: swap; src: url(../fonts/JetBrainsMono-Bold.ttf) format("truetype"); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--top); }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
main:focus { outline: none; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 12px; }

/* ---------------- top bar ---------------- */
.top { position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: var(--top); background: linear-gradient(180deg, rgba(7, 11, 22, .92) 0%, rgba(7, 11, 22, 0) 100%); transition: background .2s, box-shadow .2s; }
.top.solid { background: rgba(7, 11, 22, .96); box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 8px 24px rgba(0, 0, 0, .35); }
.top-in { height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; gap: clamp(10px, 3vw, 40px); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; letter-spacing: -.3px; white-space: nowrap; }
.brand b { color: var(--accent); font-weight: 800; }
/* 0.15.2: the logo set in the Studio (Home page > Logo): text with *accent* words, or a picture */
.brand-name em { font-style: normal; color: var(--accent); font-weight: 800; }
.brand-img { display: block; width: auto; max-width: min(46vw, 280px); object-fit: contain; }
.foot .brand-img { max-height: 48px; }
.logo-dot { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #7dd3fc, var(--accent-2)); box-shadow: 0 0 14px rgba(56, 189, 248, .7); flex: none; }
.menu { display: flex; gap: 2px; }
.menu a { position: relative; padding: 8px 14px; border-radius: 20px; color: var(--muted); font-weight: 600; white-space: nowrap; transition: color .15s, background .15s; }
.menu a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.menu a.on { color: var(--text); }
.menu a.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); }
/* 0.16.7: the Studio's top menu: a link can be a button; more links than fit scroll sideways */
.menu { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.menu::-webkit-scrollbar { display: none; }
.menu a.mbtn { margin-left: 4px; background: var(--accent); color: #03131f; }
.menu a.mbtn:hover { background: #7dd3fc; color: #03131f; }
.menu a.mbtn.on::after { display: none; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--text); transition: background .15s; }
.icon-btn:hover, .icon-btn.on { background: rgba(255, 255, 255, .1); }
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 20px; background: rgba(255, 255, 255, .06); }
.lang button, .lang a { padding: 4px 9px; border-radius: 16px; font-size: 12px; font-weight: 800; letter-spacing: .6px; color: var(--muted); text-decoration: none; }
.lang button.on, .lang a.on { background: var(--text); color: var(--bg); }

/* ---------------- buttons ---------------- */
.cta { display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border-radius: 40px; background: var(--accent); color: #03131f; font-weight: 800; font-size: 18px; box-shadow: 0 12px 34px rgba(56, 189, 248, .35); transition: background .15s, transform .15s; }
.cta:hover { background: #7dd3fc; transform: translateY(-1px); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 30px; font-weight: 700; background: rgba(255, 255, 255, .12); transition: background .15s; }
.btn:hover { background: rgba(255, 255, 255, .2); }
.btn.primary { background: var(--accent); color: #03131f; }
.btn.primary:hover { background: #7dd3fc; }

/* ---------------- home: hero with a wall of pictures ---------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(90vh, 900px); display: grid; place-items: center; text-align: center; padding: calc(var(--top) + 48px) var(--pad) 96px; }
.wall { position: absolute; z-index: -2; top: -30%; left: -15%; right: -15%; bottom: -30%; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; align-content: center; transform: rotate(-8deg); opacity: .7; }
.wall i { display: block; aspect-ratio: 16 / 9; border-radius: 10px; background: var(--surface) center / cover no-repeat; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
.wall i:nth-child(2n) { transform: translateY(38%); }
.hero::before { content: ""; position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(7, 11, 22, .72) 0%, rgba(7, 11, 22, .5) 60%, rgba(7, 11, 22, .2) 100%),
              linear-gradient(180deg, rgba(7, 11, 22, .75) 0%, rgba(7, 11, 22, 0) 22%, rgba(7, 11, 22, 0) 62%, var(--bg) 100%); }
.hero-in { max-width: 980px; }
.hero h1 { font-family: var(--display); font-weight: 900; font-size: clamp(42px, 7.6vw, 108px); line-height: .98; letter-spacing: -.03em; margin-bottom: 22px; text-wrap: balance; text-shadow: 0 4px 40px rgba(0, 0, 0, .6); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: clamp(16px, 1.6vw, 21px); color: var(--soft); max-width: 760px; margin: 0 auto 34px; text-wrap: pretty; text-shadow: 0 2px 18px rgba(0, 0, 0, .8); }
.hero .chan-count { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 6px 14px; border-radius: 20px; background: rgba(7, 11, 22, .6); border: 1px solid rgba(255, 255, 255, .12); font-size: 14px; font-weight: 600; color: var(--soft); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(239, 68, 68, .6); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }

/* ---------------- rows of cards ---------------- */
.rows { max-width: var(--max); margin: 0 auto; padding: 0 0 0 var(--pad); }    /* rows run to the right edge */
.rows .row-h { padding-right: var(--pad); }
.hero + .rows { margin-top: -40px; position: relative; }
.row { margin-top: 36px; }
.row-h { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.row-h h2 { font-size: clamp(19px, 1.7vw, 25px); font-weight: 700; letter-spacing: -.2px; }
.row-h a { color: var(--accent); font-weight: 600; font-size: 15px; }
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: var(--card, 300px); gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px var(--pad) 8px 2px; margin: -4px 0 0 -2px; scroll-padding-left: 2px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail.posters { --card: clamp(130px, 13vw, 200px); }
.arrow { position: absolute; z-index: 2; top: 0; bottom: 8px; width: 44px; display: grid; place-items: center; color: var(--text); opacity: 0; transition: opacity .15s; }
.arrow.l { left: calc(-1 * var(--pad)); background: linear-gradient(90deg, var(--bg) 30%, rgba(7, 11, 22, 0)); }
.arrow.r { right: 0; background: linear-gradient(270deg, var(--bg) 30%, rgba(7, 11, 22, 0)); }
.rail-wrap:hover .arrow:not([disabled]) { opacity: 1; }
.arrow[disabled] { pointer-events: none; }
@media (hover: none) { .arrow { display: none; } }

/* channel card: what is on now */
.ccard { position: relative; display: block; min-width: 0; border-radius: 12px; overflow: hidden; background: var(--surface); transition: transform .18s, box-shadow .18s; }
.ccard:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0, 0, 0, .45); }
.ccard .pic { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2) center / cover no-repeat; }
.ccard .pic::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(0deg, rgba(7, 11, 22, .85), rgba(7, 11, 22, 0)); }
.ccard .clogo { position: absolute; z-index: 1; left: 10px; bottom: 9px; display: flex; align-items: center; gap: 8px; max-width: calc(100% - 20px); font-weight: 700; font-size: 13px; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.ccard .clogo img { height: 26px; width: auto; max-width: 110px; object-fit: contain; }
.ccard .clogo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge-live { position: absolute; z-index: 1; right: 9px; top: 9px; background: var(--live); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .7px; padding: 3px 8px; border-radius: 6px; }
.ccard .meta { padding: 10px 12px 12px; }
.ccard .meta b { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ccard .meta small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }
.bar { display: block; height: 3px; margin-top: 8px; border-radius: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.bar s { display: block; height: 100%; background: var(--accent); text-decoration: none; }

/* poster card: films and series */
.pcard { display: block; min-width: 0; }
.pcard .pic { aspect-ratio: 2 / 3; border-radius: 10px; background: var(--surface) center / cover no-repeat; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); transition: transform .18s, box-shadow .18s; }
.pcard.wide .pic { aspect-ratio: 16 / 9; }
.pcard:hover .pic { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0, 0, 0, .5); }
.pcard b { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard small { display: block; color: var(--muted); font-size: 13px; }
.pcard .noimg { display: grid; place-items: end start; padding: 12px; font-weight: 700; font-size: 15px; background: linear-gradient(160deg, var(--surface-2), var(--surface)); }

.apps { max-width: 820px; margin: 72px auto 0; padding: 0 var(--pad); text-align: center; }
.apps h2 { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -.02em; margin-bottom: 16px; }
.apps p { color: var(--soft); font-size: clamp(15px, 1.4vw, 18px); margin-bottom: 26px; }

/* ---------------- live TV ---------------- */
.live { padding-top: var(--top); }
.stage { position: relative; isolation: isolate; overflow: hidden; padding: 20px var(--pad) 8px; }
.stage .glow { position: absolute; z-index: -1; left: 0; right: 0; top: 0; bottom: 0; background: center / cover no-repeat; filter: blur(80px) saturate(1.3); opacity: .38; transform: scale(1.15); transition: background-image .6s; pointer-events: none; }
.stage::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(180deg, rgba(7, 11, 22, 0), var(--bg)); pointer-events: none; }
.slot { width: min(100%, 1480px, calc((100vh - var(--top) - 190px) * 16 / 9)); min-width: min(100%, 560px); margin: 0 auto; }
.slot.empty { aspect-ratio: 16 / 9; border-radius: 14px; background: #000; display: grid; place-items: center; color: var(--muted); }
.now-line { width: min(100%, 1480px, calc((100vh - var(--top) - 190px) * 16 / 9)); min-width: min(100%, 560px); margin: 14px auto 0; display: flex; align-items: center; gap: 14px; }
.now-line .nl-logo { flex: none; width: 56px; height: 40px; display: grid; place-items: center; }
.now-line .nl-logo img { max-width: 56px; max-height: 40px; object-fit: contain; }
.now-line .nl-t { min-width: 0; flex: 1; }
.now-line .nl-t b { display: block; font-size: 18px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.now-line .nl-t small { color: var(--muted); font-size: 14px; }
.now-line .nl-next { flex: none; max-width: 38%; color: var(--muted); font-size: 14px; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.now-line .nl-next b { color: var(--soft); font-weight: 600; }

.cats { position: sticky; z-index: 20; top: var(--top); max-width: var(--max); margin: 0 auto; padding: 18px var(--pad) 12px; display: flex; align-items: center; gap: 12px; background: linear-gradient(180deg, var(--bg) 75%, rgba(7, 11, 22, 0)); }
.chips { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; min-width: 0; flex: 1; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 15px; border-radius: 20px; color: var(--muted); font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .15s, color .15s; }
.chip:hover { color: var(--text); background: rgba(255, 255, 255, .07); }
.chip.on { background: var(--text); color: var(--bg); }
.jump { position: relative; flex: none; }
.jump svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--dim); pointer-events: none; }
.jump input { width: 230px; padding: 10px 14px 10px 38px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 14px; }
.jump input::placeholder { color: var(--dim); }
.jump input:focus { outline: none; border-color: var(--accent); }

.guide { max-width: var(--max); margin: 0 auto; padding: 0 0 24px var(--pad); display: grid; gap: 10px; }    /* rows run to the right edge and scroll */
.g-row { position: relative; display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 10px; min-height: 112px; }
.g-ch { position: relative; display: grid; place-items: center; min-height: 104px; padding: 12px; border-radius: 12px; background: var(--surface); transition: background .15s; }
.g-ch img { max-width: 92%; max-height: 52px; object-fit: contain; }
.g-ch .nm { font-weight: 700; font-size: 14px; line-height: 1.25; text-align: center; }
.g-ch .num { position: absolute; left: 9px; top: 6px; font-size: 12px; font-weight: 700; color: var(--dim); font-variant-numeric: tabular-nums; }
.g-track { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; scroll-behavior: smooth; }
.g-track::after { content: ""; flex: none; width: calc(var(--pad) - 10px); }
.g-track::-webkit-scrollbar { display: none; }
.g-now { flex: none; width: clamp(520px, 38vw, 780px); display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); border-radius: 12px; overflow: hidden; background: var(--surface); text-align: left; scroll-snap-align: start; transition: background .15s; }
.g-now .pic { position: relative; background: var(--surface-2) center / cover no-repeat; min-height: 104px; }
.g-now .pic .badge-live { right: auto; left: 8px; top: 8px; }
.g-now .tx, .g-p { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 12px 16px; }
.g-now b, .g-p b { font-size: 16px; font-weight: 600; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.g-now small, .g-p small { color: var(--muted); font-size: 13px; margin-top: 4px; }
.g-p { flex: none; width: clamp(260px, 23vw, 460px); border-radius: 12px; background: var(--surface); text-align: left; scroll-snap-align: start; transition: background .15s; }
.g-row:hover .g-ch, .g-row:hover .g-now, .g-row:hover .g-p { background: var(--surface-2); }
.g-row.on .g-ch, .g-row.on .g-now { box-shadow: inset 0 0 0 2px var(--accent); }
.g-row.on .g-now .tx b { color: var(--accent); }
.g-arr { position: absolute; z-index: 2; top: 0; bottom: 0; width: 64px; display: grid; place-items: center; color: #fff; opacity: 0; transition: opacity .15s; }
.g-arr.l { left: 138px; background: linear-gradient(90deg, rgba(7, 11, 22, .95) 25%, rgba(7, 11, 22, 0)); }
.g-arr.r { right: 0; background: linear-gradient(270deg, rgba(7, 11, 22, .95) 25%, rgba(7, 11, 22, 0)); }
.g-row:hover .g-arr:not([disabled]) { opacity: 1; }
.g-arr[disabled] { pointer-events: none; }
@media (hover: none) { .g-arr { display: none; } }
.g-empty { color: var(--muted); padding: 30px 0; text-align: center; }

/* ---------------- details (films, series) ---------------- */
.det { padding-bottom: 20px; }
.det-hero { position: relative; isolation: isolate; min-height: min(78vh, 760px); display: flex; align-items: flex-end; padding: calc(var(--top) + 40px) var(--pad) 48px; }
.det-hero .bg { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; left: 0; background: center 25% / cover no-repeat; }
.det-hero .bg::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(7, 11, 22, .92) 0%, rgba(7, 11, 22, .55) 45%, rgba(7, 11, 22, .1) 75%), linear-gradient(0deg, var(--bg) 0%, rgba(7, 11, 22, 0) 45%); }
.det-in { max-width: min(760px, 100%); }
.det-kicker { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .4px; text-transform: uppercase; margin-bottom: 10px; }
.det h1 { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 5.2vw, 76px); line-height: 1; letter-spacing: -.02em; margin-bottom: 14px; text-wrap: balance; }
.det-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.det-desc { color: var(--soft); font-size: 17px; margin-bottom: 24px; text-wrap: pretty; }
.det-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.det-play { max-width: var(--max); margin: 0 auto; padding: calc(var(--top) + 18px) var(--pad) 0; }
.det-play .slot { min-width: 0; }
.seasons { max-width: var(--max); margin: 8px auto 0; padding: 0 var(--pad); }
.seasons .chips { margin-bottom: 14px; }
.eps { display: grid; gap: 10px; }
.ep { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; align-items: center; padding: 10px; border-radius: 12px; background: var(--surface); text-align: left; transition: background .15s; }
.ep:hover { background: var(--surface-2); }
.ep .pic { aspect-ratio: 16 / 9; border-radius: 8px; background: var(--surface-2) center / cover no-repeat; }
.ep b { display: block; font-size: 16px; }
.ep small { display: block; color: var(--muted); font-size: 13px; margin: 2px 0 6px; }
.ep p { color: var(--soft); font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ---------------- search ---------------- */
.search { max-width: var(--max); margin: 0 auto; padding: calc(var(--top) + 32px) var(--pad) 20px; min-height: 60vh; }
.search-box { position: relative; margin-bottom: 26px; }
.search-box input { width: 100%; padding: 12px 0 12px 46px; border: 0; border-bottom: 2px solid var(--line); background: transparent; color: var(--text); font: inherit; font-size: clamp(22px, 3vw, 34px); font-weight: 600; }
.search-box input:focus { outline: none; border-bottom-color: var(--accent); }
.search-box svg { position: absolute; left: 4px; top: 50%; transform: translateY(-50%); color: var(--dim); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px 14px; }
.grid.chans { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-bottom: 30px; }
.empty { color: var(--muted); text-align: center; padding: 48px 0; }

/* ---------------- footer ---------------- */
.foot { margin-top: 72px; background: #050811; border-top: 1px solid var(--line); color: var(--muted); }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 48px var(--pad) 32px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot .brand { font-size: 20px; color: var(--text); margin-bottom: 12px; }
.foot .about p { font-size: 14px; max-width: 360px; }
.foot h3 { color: var(--text); font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.foot-in a:not(.brand) { display: block; padding: 3px 0; font-size: 14px; transition: color .15s; }
.foot-in a:not(.brand):hover { color: var(--text); }
/* 0.15.1: the Studio button in the top bar (signed-in administrators only, added by the server) */
.studio-btn { display: inline-flex; align-items: center; padding: 6px 13px; border-radius: 16px; background: rgba(56, 189, 248, .15); color: var(--accent); font-size: 13px; font-weight: 700; white-space: nowrap; transition: background .15s, color .15s; }
.studio-btn:hover { background: var(--accent); color: #03131f; }
/* 0.15.1 (operator 20 Oct: the footer's language switch "not looking good"): the footer's link style made it a wide bar */
.foot-in .lang a { display: inline-block; padding: 4px 10px; font-size: 12px; }
.foot-in .lang a:hover { background: rgba(255, 255, 255, .08); }
.foot-in .lang a.on, .foot-in .lang a.on:hover { background: var(--text); color: var(--bg); }
.foot .legal { border-top: 1px solid var(--line); padding: 18px var(--pad); text-align: center; font-size: 13px; }

/* ---------------- the site's own pages (advertising, privacy, terms): Vtv_Web::page_view, 0.12.1 ---------------- */
.doc { max-width: 880px; margin: 0 auto; padding: calc(var(--top) + 44px) var(--pad) 20px; color: var(--soft); font-size: 17px; line-height: 1.65; }
.doc h1 { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -.02em; color: var(--text); margin-bottom: 26px; text-wrap: balance; }
.doc h2 { font-size: clamp(21px, 2.2vw, 26px); color: var(--text); margin: 40px 0 12px; letter-spacing: -.2px; }
.doc h3 { font-size: 18px; color: var(--text); margin: 26px 0 8px; }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin: 0 0 8px; }
.doc li::marker { color: var(--accent); }
.doc strong { color: var(--text); }
.doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.doc a:hover { color: #7dd3fc; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc em { color: var(--muted); }
.docpage .foot { margin-top: 56px; }

/* ---------------- loading ---------------- */
.sk { border-radius: 12px; background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: sk 1.3s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.err { max-width: 560px; margin: 0 auto; padding: calc(var(--top) + 80px) var(--pad) 40px; text-align: center; color: var(--soft); }
.err .btn { margin-top: 20px; }

/* ---------------- the player (js/player.js, shared with the TV app) ---------------- */
#player { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
#player video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
#player .osd, #player .pctl { display: none !important; }
#player:fullscreen { border-radius: 0; aspect-ratio: auto; }
.bug { position: absolute; z-index: 1; pointer-events: none; height: auto; }
.bug.top-right { top: 5%; right: 3.33%; }
.bug.top-left { top: 5%; left: 3.33%; }
.bug.bottom-right { bottom: 5%; right: 3.33%; }
.bug.bottom-left { bottom: 5%; left: 3.33%; }
.ovl { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; pointer-events: none; z-index: 1; }
.ovl .ovb { position: absolute; display: flex; align-items: center; overflow: hidden; white-space: nowrap; box-sizing: border-box; }
.ovl .ovb i { font-style: normal; display: flex; align-items: center; width: 100%; height: 100%; }
.adbadge { position: absolute; z-index: 3; left: 2.2%; top: 3.5%; background: rgba(0, 0, 0, .62); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.player-msg { position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 80%; text-align: center; font-size: 15px; line-height: 1.5; background: rgba(13, 20, 36, .92); padding: 16px 22px; border-radius: 12px; }
.spinner { position: absolute; z-index: 3; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .15); border-top-color: var(--accent); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.unmute { position: absolute; z-index: 6; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 22px; background: rgba(7, 11, 22, .78); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 6px 20px rgba(0, 0, 0, .4); transition: background .15s; }
.unmute:hover { background: var(--accent); color: #03131f; }
.wctl { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 30px 14px 12px; background: linear-gradient(0deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0)); opacity: 0; transition: opacity .2s; }
#player:hover .wctl, #player.ctl .wctl, #player:focus-within .wctl { opacity: 1; }
#player:hover .unmute, #player.ctl .unmute { bottom: 66px; }
.wctl button { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; transition: background .15s; }
.wctl button:hover { background: rgba(255, 255, 255, .28); }
.live-pill { flex: none; background: var(--live); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .7px; padding: 3px 8px; border-radius: 6px; }
.wt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 14px; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.vod-only { display: none !important; }
#player.vod .vod-only { display: grid !important; }
#player.vod .live-pill, #player.vod .wt { display: none; }
#player.vod .seek { display: block !important; flex: 1; min-width: 60px; accent-color: var(--accent); }
#player.vod .tm { display: block !important; flex: none; font-size: 13px; color: #fff; font-variant-numeric: tabular-nums; }
#player.ad .seek, #player.ad [data-a="back"], #player.ad [data-a="fwd"] { visibility: hidden; }
.bigplay { position: absolute; z-index: 6; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; display: grid; place-items: center; border-radius: 50%; background: rgba(56, 189, 248, .92); color: #03131f; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); transition: transform .15s; }
.bigplay:hover { transform: scale(1.06); }
.bigplay svg { margin-left: 4px; }
.mini .bigplay { width: 56px; height: 56px; margin: -28px 0 0 -28px; }

/* the small player in the corner (computers) */
.mini { position: fixed; z-index: 35; right: 20px; bottom: 20px; width: clamp(300px, 26vw, 440px); animation: rise .3s ease-out; }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }
.mini #player { border-radius: 12px; box-shadow: 0 22px 60px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1); }
.mini .wctl { padding: 22px 10px 8px; }
.mini .wctl button { width: 34px; height: 34px; }
.mini .unmute { left: 10px; bottom: 10px; padding: 7px 12px; font-size: 13px; }
.mini:hover .unmute { bottom: 54px; }
.mini-bar { position: absolute; z-index: 8; top: 8px; right: 8px; display: flex; gap: 6px; opacity: 0; transition: opacity .2s; }
.mini:hover .mini-bar, .mini:focus-within .mini-bar { opacity: 1; }
.mini-go { padding: 6px 14px; border-radius: 18px; background: var(--accent); color: #03131f; font-weight: 800; font-size: 13px; }
.mini-x { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(7, 11, 22, .8); color: #fff; }

/* ---------------- tablets ---------------- */
@media (max-width: 1100px) {
  .foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot .about { grid-column: 1 / -1; }
  .wall { grid-template-columns: repeat(5, 1fr); }
}

/* ---------------- phones ---------------- */
@media (max-width: 719px) {
  :root { --top: 58px; }
  .brand { font-size: 19px; }
  .menu a { padding: 7px 10px; font-size: 15px; }
  .menu a.on::after { left: 10px; right: 10px; }
  .lang { display: none; }
  .foot .lang { display: inline-flex; }
  .hero { min-height: 82vh; padding-bottom: 72px; }
  .wall { grid-template-columns: repeat(3, 1fr); gap: 10px; top: -10%; bottom: -10%; left: -30%; right: -30%; }
  .cta { font-size: 17px; padding: 14px 26px; }
  .rail { gap: 10px; --card: 76vw; }
  .rail.posters { --card: 38vw; }
  .mini { display: none !important; }

  .live .stage { position: sticky; z-index: 30; top: var(--top); padding: 0; background: #000; }
  .live .stage .glow, .live .stage::after { display: none; }
  .live .slot, .live .now-line { width: 100%; min-width: 0; }
  .live #player { border-radius: 0; box-shadow: none; }
  .now-line { padding: 10px var(--pad); margin: 0; background: var(--bg); gap: 10px; }
  .now-line .nl-next { display: none; }
  .cats { position: static; padding-top: 14px; flex-wrap: wrap; }
  .jump { width: 100%; order: -1; }
  .jump input { width: 100%; }
  .g-row { grid-template-columns: 64px minmax(0, 1fr); gap: 8px; }
  .g-ch { min-height: 72px; padding: 6px; }
  .g-ch img { max-height: 34px; }
  .g-ch .nm { font-size: 11px; }
  .g-ch .num { display: none; }
  .g-row { min-height: 72px; }
  .g-track { gap: 8px; scroll-snap-type: x mandatory; }
  .g-now, .g-p { width: calc(100vw - 2 * var(--pad) - 72px); }
  .g-now { grid-template-columns: 112px minmax(0, 1fr); }
  .g-now .pic { min-height: 72px; }
  .g-now .tx, .g-p { padding: 8px 12px; }
  .g-now b, .g-p b { font-size: 14px; }
  .g-now small, .g-p small { font-size: 12px; }

  .det-hero { min-height: 72vh; padding-bottom: 32px; }
  .det-hero .bg::after { background: linear-gradient(0deg, var(--bg) 8%, rgba(7, 11, 22, .55) 55%, rgba(7, 11, 22, .25) 100%); }
  .det-play { padding: var(--top) 0 0; }
  .det-play #player { border-radius: 0; }
  .ep { grid-template-columns: 120px minmax(0, 1fr); gap: 12px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .foot-in { gap: 24px; padding-top: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------------- 0.13.0: the home page as set in the Studio (Vtv_Home) ---------------- */
.hero::before { opacity: var(--ov, 1); }
.hero::after { content: ""; position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; left: 0; background: rgba(7, 11, 22, var(--ov2, 0)); pointer-events: none; }
.hero.h-sm { min-height: min(54vh, 560px); padding-bottom: 72px; }
.hero.h-md { min-height: min(72vh, 740px); }
.hero.h-full { min-height: 100vh; min-height: 100svh; }
.hero.x-left { justify-items: start; }
.hero.x-right { justify-items: end; }
.hero.y-top { align-items: start; }
.hero.y-bottom { align-items: end; }
.hero.a-left { text-align: left; }
.hero.a-left p { margin-left: 0; }
.hero.a-left .ctas { justify-content: flex-start; }
.hero-in { max-width: var(--maxw, 980px); }
.hero-bg { position: absolute; z-index: -2; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; background: var(--surface) center / cover no-repeat; }
.hero.plain { background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(56, 189, 248, .16), rgba(7, 11, 22, 0) 70%), var(--bg); }
.hero p.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; max-width: none; }
.hero.a-center p.eyebrow { margin-left: auto; margin-right: auto; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta.ghost { background: rgba(255, 255, 255, .1); color: var(--text); box-shadow: none; border: 1px solid rgba(255, 255, 255, .3); }
.cta.ghost:hover { background: rgba(255, 255, 255, .2); }
.hero-gap { height: calc(var(--top) + 8px); }

.promo { position: relative; margin-top: var(--top); padding: 16px var(--pad) 0; }
.promo + .hero { padding-top: 64px; }
.promo-track { position: relative; height: clamp(190px, 26vw, 380px); border-radius: 18px; overflow: hidden; background: var(--surface); }
.slide { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; align-items: flex-end; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; color: var(--text); }
.slide.on { opacity: 1; visibility: visible; }
.slide-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; background: var(--surface-2) center / cover no-repeat; }
.slide::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(7, 11, 22, .86) 0%, rgba(7, 11, 22, .4) 55%, rgba(7, 11, 22, 0) 100%); }
.slide-tx { position: relative; z-index: 1; padding: clamp(18px, 3vw, 40px); max-width: 680px; }
.slide-tx small, .bn-tx small { display: block; color: var(--accent); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; margin-bottom: 8px; }
.slide-tx b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(24px, 3.2vw, 46px); line-height: 1.02; letter-spacing: -.02em; }
.slide-tx b em, .bn h3 em { font-style: normal; color: var(--accent); }
.slide-tx p { color: var(--soft); margin: 10px 0 0; font-size: clamp(14px, 1.2vw, 17px); }
.slide-tx .btn { margin-top: 16px; }
.promo-dots { position: absolute; z-index: 2; right: calc(var(--pad) + 16px); bottom: 14px; display: flex; gap: 6px; }
.promo-dots button { width: 9px; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .38); transition: width .2s; }
.promo-dots button.on { width: 22px; background: var(--text); }

.bn-row { padding-right: var(--pad); }
.bn { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: clamp(190px, 22vw, 330px); border-radius: 18px; overflow: hidden; color: var(--text);
  background: linear-gradient(135deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); transition: transform .18s, box-shadow .18s; }
.bn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.bn-pic { display: block; width: 100%; height: 100%; min-height: 190px; object-fit: cover; background: center / cover no-repeat; }
.bn.s-right .bn-pic { order: 2; }
.bn.nopic, .bn.s-cover { grid-template-columns: minmax(0, 1fr); }
.bn.s-cover .bn-pic { position: absolute; z-index: -2; top: 0; left: 0; }
.bn.s-cover::after { content: ""; position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(7, 11, 22, .9), rgba(7, 11, 22, .25)); }
.bn.s-cover .bn-tx { max-width: 700px; }
.bn-tx { padding: clamp(20px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; }
.bn-tx small { margin: 0; }
.bn-label { padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: #03131f; }
.bn.k-news .bn-label { background: var(--live); color: #fff; }
.bn.k-event .bn-label { background: #fbbf24; color: #1a1300; }
.bn h3 { font-family: var(--display); font-weight: 900; font-size: clamp(22px, 2.6vw, 40px); line-height: 1.05; letter-spacing: -.02em; }
.bn p { color: var(--soft); font-size: clamp(14px, 1.15vw, 17px); max-width: 560px; }
.bn .btn { margin-top: 6px; }
@media (max-width: 720px) {
  .bn { grid-template-columns: minmax(0, 1fr); }
  .bn.s-right .bn-pic { order: 0; }
  .bn:not(.s-cover) .bn-pic { aspect-ratio: 16 / 9; min-height: 0; height: auto; }
}

.rail.cards { --card: clamp(220px, 22vw, 340px); }
.rail.cards.r-2-3 { --card: clamp(130px, 13vw, 200px); }
.rail.cards.r-1-1 { --card: clamp(160px, 16vw, 240px); }
.rail.cards.r-9-16 { --card: clamp(130px, 12vw, 190px); }
.xcard .pic { position: relative; aspect-ratio: 16 / 9; }
.r-2-3 .xcard .pic { aspect-ratio: 2 / 3; }
.r-1-1 .xcard .pic { aspect-ratio: 1 / 1; }
.r-9-16 .xcard .pic { aspect-ratio: 9 / 16; }
.xbadge { position: absolute; top: 8px; left: 8px; padding: 3px 9px; border-radius: 12px; background: var(--accent); color: #03131f; font-size: 12px; font-weight: 800; }
.row-sub { color: var(--muted); font-size: 15px; }
.foot .socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.foot-in .socials a.soc { display: inline-block; padding: 5px 12px; border-radius: 16px; background: rgba(255, 255, 255, .07); color: var(--soft); font-size: 13px; font-weight: 600; }
.foot-in .socials a.soc:hover { background: var(--text); color: var(--bg); }

/* 0.15.0 votes and reports on a film's page */
.votes { display: inline-flex; gap: 6px; align-items: center; margin-left: 4px; }
.vote { display: inline-flex; align-items: center; gap: 7px; padding: 11px 16px; border-radius: 30px; background: rgba(255, 255, 255, .08); color: var(--soft); font-weight: 700; font-size: 15px; transition: background .15s, color .15s; }
.vote:hover { background: rgba(255, 255, 255, .16); color: var(--text); }
.vote.on { background: rgba(56, 189, 248, .18); color: var(--accent); }
.vote.down svg { transform: scaleY(-1); }
.vote.flag span { font-weight: 600; }
.flagbox { margin-top: 18px; max-width: 560px; padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.flagbox h3 { font-size: 18px; margin-bottom: 10px; }
.flagbox fieldset { border: 0; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.flagbox legend { color: var(--muted); font-size: 14px; margin-bottom: 6px; }

/* 0.15.0 #/creators: the creator programme and its sign-up */
.cr { padding: calc(var(--top) + 40px) var(--pad) 40px; }
.cr-in { max-width: 1180px; }
.cr h1 { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 5vw, 68px); line-height: 1.02; letter-spacing: -.02em; margin: 6px 0 14px; text-wrap: balance; }
.cr h1 em { font-style: normal; color: var(--accent); }
.cr-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(20px, 4vw, 56px); align-items: start; margin-top: 10px; }
.cr-how { display: grid; gap: 14px; padding-left: 22px; color: var(--soft); font-size: 17px; margin-bottom: 18px; }
.cr-how li::marker { color: var(--accent); font-weight: 800; }
.cr-note { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.cr-card { padding: clamp(18px, 3vw, 28px); border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.cr-card h2 { font-size: 22px; margin-bottom: 8px; }
.cr-card p { color: var(--soft); }
.cr-card fieldset { border: 0; padding: 0; margin: 4px 0 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.cr-card legend { color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.cr-card .det-actions { margin-top: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.fld { display: grid; gap: 6px; margin-bottom: 14px; }
.fld span { color: var(--muted); font-size: 14px; font-weight: 600; }
.fld input, .fld select, .fld textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit; font-size: 16px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.opt { display: flex; align-items: flex-start; gap: 9px; color: var(--soft); font-size: 15px; margin-bottom: 8px; cursor: pointer; }
.opt input { margin-top: 3px; accent-color: var(--accent); width: 17px; height: 17px; flex: none; }
.opt a { color: var(--accent); text-decoration: underline; }
.opt > span { flex: 1; min-width: 0; }                 /* 0.16.1: the words wrap as one text (the terms line broke into columns) */
.fhint { display: block; min-height: 1.2em; margin-top: 6px; font-size: 13px; color: var(--soft); }
.fhint.ok { color: #4ade80; }
.fhint.bad { color: #f87171; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fmsg { min-height: 1.2em; color: #fca5a5; font-size: 15px; margin-top: 8px; }
.fmsg.ok { color: #86efac; }
@media (max-width: 860px) {
  .cr-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .two { grid-template-columns: minmax(0, 1fr); }
  .votes { margin-left: 0; flex-wrap: wrap; }
  .vote.flag span { display: none; }
}
@media (max-width: 560px) {
  .brand-img { max-height: 40px; }
}
/* 0.15.3: the contact form (#/contact; the same form on the site's pages, e.g. viblu.it/pubblicita/) */
.cr-link { color: var(--accent); text-decoration: underline; }
.vtv-contact .fld select { appearance: auto; }
.doc .vtv-contact { max-width: 720px; margin: 18px 0 8px; }
.doc .vtv-contact .fld span { color: var(--muted); }
/* 0.15.3: the app badges (Studio > Home page > Apps): under the hero's buttons and in the footer */
.apps { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.app-badge { display: inline-block; line-height: 0; border-radius: 10px; transition: transform .15s, box-shadow .15s; }
.app-badge img { height: 44px; width: auto; display: block; }
a.app-badge:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, .45); }
.hero .apps { margin-top: 22px; justify-content: center; }
.hero.a-left .apps { justify-content: flex-start; }
.foot .apps { margin-top: 16px; }
.foot .app-badge img { height: 38px; }
@media (max-width: 560px) {
  .app-badge img { height: 38px; }
}
/* 0.15.4: the showcase (Studio > Home page > Sections > Showcase): full width inside the rows, text over its picture, a row
   along the bottom; --sov = how dark it is (0-1) */
.show { position: relative; isolation: isolate; overflow: hidden; margin: 40px 0 0 calc(-1 * var(--pad)); padding: 72px 0 26px var(--pad); min-height: min(78vh, 780px); display: flex; flex-direction: column; justify-content: flex-end; }
.show.h-md { min-height: min(60vh, 580px); }
.show.h-full { min-height: 100vh; min-height: 100svh; }
.show-bg { position: absolute; z-index: -2; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; background: var(--surface) center / cover no-repeat; }
.show::before { content: ""; position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, rgba(7, 11, 22, min(.97, calc(1.45 * var(--sov, .6)))) 0%, rgba(7, 11, 22, min(.9, calc(1.05 * var(--sov, .6)))) 38%, rgba(7, 11, 22, calc(.25 * var(--sov, .6))) 70%, rgba(7, 11, 22, 0) 90%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 11, 22, .82) 22%, rgba(7, 11, 22, 0) 55%); }
.show.a-center::before { background: linear-gradient(0deg, var(--bg) 0%, rgba(7, 11, 22, .82) 22%, rgba(7, 11, 22, 0) 60%), rgba(7, 11, 22, calc(.7 * var(--sov, .6))); }
.show.plain { background: radial-gradient(ellipse 80% 70% at 20% 10%, rgba(56, 189, 248, .18), rgba(7, 11, 22, 0) 70%), var(--bg-2); }
.show-tx { max-width: min(780px, 92%); padding-right: var(--pad); margin-bottom: 34px; }
.show.a-center .show-tx { margin-left: auto; margin-right: auto; text-align: center; padding-right: var(--pad); }
.show-tx .eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.show-tx h2 { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 4.6vw, 70px); line-height: 1.02; letter-spacing: -.02em; margin-bottom: 16px; text-wrap: balance; }
.show-tx h2 em { font-style: normal; color: var(--accent); }
.show-tx .lead { color: var(--soft); font-size: clamp(16px, 1.3vw, 20px); max-width: 640px; margin-bottom: 24px; text-wrap: pretty; }
.show.a-center .show-tx .lead { margin-left: auto; margin-right: auto; }
.show .row { margin-top: 0; }
.show .row-h { padding-right: var(--pad); }
.show .row-h a.see { display: inline-flex; align-items: center; gap: 4px; color: var(--text); font-size: inherit; font-weight: 700; }
.show .row-h a.see:hover { color: var(--accent); }
.show .rail.show-ch { --card: clamp(220px, 22vw, 340px); }
@media (max-width: 760px) {
  .show { min-height: 0; padding-top: 120px; }
  .show.h-full { min-height: 88vh; }
  .show-tx { margin-bottom: 24px; }
}

/* 0.16.5: a footer with the Studio's link columns: as many columns as fit, the about block wider */
.foot-in.many { display: flex; flex-wrap: wrap; gap: 32px 40px; }
.foot-in.many > .about { flex: 2 1 260px; }
.foot-in.many > div:not(.about) { flex: 1 1 130px; min-width: 0; }

/* 0.16.6: the cookie settings link in the footer's last line */
.foot .legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
