/* bsubflix website: the app's look, with a normal scrolling page instead of the app's fixed shell. */
html { height: auto; overflow: visible; overflow-x: clip; scroll-behavior: smooth; }
body.web { height: auto; min-height: 100vh; min-height: 100dvh; overflow: visible; overflow-x: clip; display: flex; flex-direction: column; padding-bottom: 64px; user-select: text; -webkit-user-select: text; }
body.web .header { position: sticky; top: 0; z-index: 30; }
body.web main#main { flex: 1 0 auto; min-height: 0; overflow: visible; max-width: 1100px; padding-block: 18px 28px; }
body.web .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding-bottom: env(safe-area-inset-bottom, 0px); }
body.web .tabbar a.on { color: var(--red, #DA0B2A); }

/* top links (wide screens only; phones use the bottom tabs, like the app) */
.topnav { display: none; gap: 4px; margin-left: 18px; }
.topnav a { padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: 15px; color: var(--muted); }
.topnav a:hover, .topnav a.on { color: var(--fg); background: var(--surface-2); }
@media (min-width: 760px) {
  .topnav { display: flex; }
  body.web { padding-bottom: 0; }
  body.web .tabbar { display: none; }
}

/* home */
.hero-cta { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 8px 0 26px; }
.hero-cta .btn.dlbtn { width: auto; min-width: 260px; max-width: 100%; }
.hero-cta .btn.ghost { min-width: 120px; justify-content: center; }
.appcta .btns { margin: 0; }
.appcta .btn.dlbtn { width: auto; min-width: 240px; }
@media (max-width: 560px) { .appcta .btns, .appcta .btn.dlbtn, .hero-cta .btn.dlbtn { width: 100%; } }

/* title page: the app card instead of the download buttons */
.webdl { margin-top: 22px; }
.webdl h2 { font-size: 20px; margin-bottom: 8px; }
.webdl .btn.dlbtn { width: 100%; max-width: 420px; }
.ep-head { cursor: default; }
.ep-head:hover { background: none; }
.ep-chev { display: none; }
.star .starico { display: inline-grid; place-items: center; width: 30px; height: 30px; color: #F5B50A; }
.star .starico svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.season-pane[style*="none"] { display: none; }

/* pages of a long list */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 6px; }
.pager .btn { min-width: 110px; justify-content: center; }

/* footer */
.webfoot { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 14px; }
.webfoot .flinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 8px; }
.webfoot .flinks a:hover { color: var(--fg); text-decoration: underline; }
.webfoot p { margin: 0; }

/* search */
#sres .s-empty { text-align: center; padding: 40px 10px; color: var(--muted); }
