/* The pages' one stylesheet: the website, the games site and the app all
   draw from it. A plain register: a toned ground, white panels with a
   hairline edge, one green, square-ish corners, and type doing the work. */

/* the bar across the top, and the Public Sans face, shared with pages that
   are not ours */
@import url("/_dd/static/bar.css");

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/_dd/static/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/_dd/static/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #EEF1F5;
  --surface: #FFFFFF;
  --ink: #1A1F1C;
  --ink-2: #525A55;
  --line: #D5D9D3;
  --line-2: #E3E6E1;
  --field: #858C87;
  --accent: #1D5C42;
  --accent-hover: #123D2B;
  --accent-ink: #FFFFFF;
  --link: #1D5C42;
  --link-hover: #123D2B;
  --code: #E8EBE6;
  --focus: #E0A21B;
  /* the bar's blue, for what is picked (a tab, a badge) */
  --pick: #1D4470;
  --guest: #8A5A12;
  --guest-bg: #F6ECD9;
  --member: #1D4470;
  --member-bg: #E3ECF5;
  --off: #8A918C;
  /* the five state words (docs/dev/ui.md): a word with its colour, everywhere */
  --ok: #1D5C42; --ok-bg: #DDEEE5;
  --working: #1D4470; --working-bg: #E3ECF5;
  --attention: #8A5A12; --attention-bg: #F6ECD9;
  --broken: #B3401F; --broken-bg: #F7E1D9;
  --off-bg: #ECEEEA;
  --radius: 4px;
  --font: "Public Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1318;
    --guest: #E3B769;
    --guest-bg: #2E2616;
    --member: #9CC3EA;
    --member-bg: #1B2838;
    --surface: #171C22;
    --ink: #E5E9EE;
    --ink-2: #A1A9B3;
    --line: #2A313B;
    --line-2: #222831;
    --field: #6B746F;
    --accent: #2F7D59;
    --accent-hover: #3A9469;
    --link: #7CCBA2;
    --link-hover: #A8E0C2;
    --code: #222831;
    --off: #5E6862;
    --ok: #7CCBA2; --ok-bg: #16291F;
    --working: #9CC3EA; --working-bg: #1B2838;
    --attention: #E3B769; --attention-bg: #2E2616;
    --broken: #E88A6A; --broken-bg: #33201A;
    --off-bg: #1C2127;
  }
}
:root[data-theme="dark"] {
  --bg: #0F1318;
  --guest: #E3B769;
  --guest-bg: #2E2616;
  --member: #9CC3EA;
  --member-bg: #1B2838;
  --surface: #171C22;
  --ink: #E5E9EE;
  --ink-2: #A1A9B3;
  --line: #2A313B;
  --line-2: #222831;
  --field: #6B746F;
  --accent: #2F7D59;
  --accent-hover: #3A9469;
  --link: #7CCBA2;
  --link-hover: #A8E0C2;
  --code: #222831;
  --off: #5E6862;
  --ok: #7CCBA2; --ok-bg: #16291F;
  --working: #9CC3EA; --working-bg: #1B2838;
  --attention: #E3B769; --attention-bg: #2E2616;
  --broken: #E88A6A; --broken-bg: #33201A;
  --off-bg: #1C2127;
}

/* the scrollbar's room is kept whether or not the page needs one: a
   page that grows past the window keeps its width */
html { scrollbar-gutter: stable; }

* { box-sizing: border-box; }
/* the pages show and hide with the attribute; no rule below outranks it */
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-underline-offset: 3px;
}
a:hover { color: var(--link-hover); }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.015em;
}
h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

/* the page's column */
main.home,
main.wide,
main.auth {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 40px 72px;
}
.intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.intro p {
  margin: 0;
  color: var(--ink-2);
  font-size: 17px;
  max-width: 640px;
}
/* the pages a stranger lands on carry the larger title; a phone, less */
main.auth h1, main.download h1 { font-size: 40px; line-height: 1.1; }
@media (max-width: 860px) {
  main.auth h1, main.download h1 { font-size: 32px; }
}
.auth-grid > section h1, main.auth > .card h1 { margin-bottom: 12px; }
.banner {
  margin: 0 0 24px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 15px;
}
.banner strong { color: var(--ink); }
.empty { color: var(--ink-2); }

/* the home page: a row per service */
.services {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.services > li + li { border-top: 1px solid var(--line-2); }
.service {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 240px 88px;
  align-items: center;
  column-gap: 16px;
  padding: 18px 24px;
  color: var(--ink);
  text-decoration: none;
}
a.service:hover { background: var(--bg); color: var(--ink); }
a.service:hover .open { color: var(--link-hover); text-decoration: underline; }
/* each service's mark on a tile of its own colour (--c, from the box) */
.service svg {
  box-sizing: content-box;
  width: 22px;
  height: 22px;
  padding: 9px;
  border-radius: var(--radius);
  stroke: color-mix(in srgb, var(--c, var(--ink)) 88%, black);
  background: color-mix(in srgb, var(--c, var(--ink)) 13%, var(--surface));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .service svg {
    stroke: color-mix(in srgb, var(--c, var(--ink)) 65%, white);
    background: color-mix(in srgb, var(--c, var(--ink)) 24%, var(--surface));
  }
}
:root[data-theme="dark"] .service svg {
  stroke: color-mix(in srgb, var(--c, var(--ink)) 65%, white);
  background: color-mix(in srgb, var(--c, var(--ink)) 24%, var(--surface));
}
.service .name { display: block; font-size: 17px; font-weight: 700; }
.service .blurb { display: block; font-size: 15px; color: var(--ink-2); }
.service .host { font-size: 14px; color: var(--ink-2); }
.service .open {
  justify-self: end;
  font-size: 15px;
  font-weight: 600;
  color: var(--link);
}
/* a door the demo has no key to: shown, shut */
.service.off { color: var(--ink-2); }
.service.off svg { stroke: var(--off) !important; background: var(--bg) !important; }
.service.off .open { color: var(--ink-2); font-weight: 500; }
@media (max-width: 800px) {
  .service { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .service .host { display: none; }
}

/* sign in, sign up, and the other few-field pages: the form on the
   ground, and beside it, where there is one, the other ways in */
.auth-grid {
  display: grid;
  grid-template-columns: 440px minmax(0, 1fr);
  column-gap: 96px;
  padding-top: 24px;
}
.auth-grid > section,
main.auth > .card {
  display: flex;
  flex-direction: column;
  max-width: 440px;
}
.auth-grid > aside {
  border-left: 1px solid var(--line);
  padding-left: 48px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.ways h2 { margin-bottom: 8px; }
.way {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
}
.way + .way { border-top: 1px solid var(--line); }
.way .what { font-weight: 600; }
.way p, .aside-note p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
}
.aside-note { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 860px) {
  main.home, main.wide, main.auth { padding: 36px 16px 56px; }
  .auth-grid { grid-template-columns: 1fr; row-gap: 32px; padding-top: 0; }
  .auth-grid > aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 12px; }
  h1 { font-size: 32px; }
}

/* a panel: the wider pages (files, films, devices) sit in one */
.card {
  display: flex;
  flex-direction: column;
}
main.wide > .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.card h1 { margin-bottom: 12px; }
.lead {
  margin: 0 0 28px;
  color: var(--ink-2);
  font-size: 17px;
}

label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
}
input + label, label + label { margin-top: 20px; }
label .opt { font-weight: 400; color: var(--ink-2); }
/* a line under a field saying what becomes of it */
.hint { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.hint + label { margin-top: 20px; }
/* sign-up's last step: waiting on the address's owner */
input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--field);
  border-radius: var(--radius);
}
input:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
input::placeholder { color: var(--ink-2); opacity: .7; }

button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin-top: 24px;
  padding: 0 22px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}
button:hover { background: var(--accent-hover); }
button:disabled { opacity: .6; cursor: default; }
button.quiet {
  margin-top: 12px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
button.quiet:hover { background: var(--bg); }
@media (max-width: 860px) {
  .auth-grid button, main.auth button { align-self: stretch; }
}

#msg {
  min-height: 1.5em;
  margin-top: 16px;
  font-size: 15px;
  color: var(--ink-2);
}
.note {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 15px;
}

code {
  font-family: var(--mono);
  font-size: .875em;
  background: var(--code);
  color: var(--ink);
  padding: 1px 5px;
  border-radius: 3px;
}
.cmd {
  margin: 0 0 12px;
  padding: 12px 14px;
  background: var(--code);
  border-radius: var(--radius);
  font: 14px/1.5 var(--mono);
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-all;
  user-select: all;
}
.cmd code { background: none; padding: 0; }

/* files and films: where you are in a folder, and a list */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 16px 0 12px;
  color: var(--ink-2);
  font-size: 15px;
}
button.crumb {
  height: auto;
  margin: 0;
  padding: 2px 4px;
  background: none;
  border: none;
  color: var(--link);
  font-weight: 600;
  font-size: 15px;
}
button.crumb:hover { background: none; color: var(--link-hover); text-decoration: underline; }
.rows {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.rows:empty { display: none; }
.rows li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
}
.rows li + li { border-top: 1px solid var(--line-2); }
/* what a row says about its name: a size, a release, when it last ran */
.tag { color: var(--ink-2); font-size: 14px; white-space: nowrap; }
button.inline { margin: 0; height: 32px; padding: 0 12px; font-size: 14px; }
.shelf { margin: 28px 0 8px; }
.shelf h2 { font-size: 20px; }

/* the downloads page: a panel per platform, grouped by what you hold */
.download .version { font-size: 15px; }
.shelf-group { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.oses {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 860px) { .oses { grid-template-columns: 1fr; } }
.os {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.os .os-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-2);
}
.os h3 { margin: 0; font-size: 18px; font-weight: 700; }
.oslogo svg { width: 28px; height: 28px; display: block; fill: var(--ink); }
.os .os-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 22px 22px;
  flex-grow: 1;
}
.os .os-body p { margin: 0; color: var(--ink-2); font-size: 15px; }
.os.off h3 { color: var(--ink-2); }
.os.off .oslogo svg { fill: var(--off); }
.gets { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
a.get {
  height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
a.get:hover { background: var(--accent-hover); color: var(--accent-ink); }
a.alt { font-size: 15px; font-weight: 600; }
/* the start of the file's signed sha256: something to compare, not to read */
.os .hash {
  margin: 0;
  font: 13px/1.4 var(--mono);
  color: var(--ink-2);
}
.fineprint {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px;
  margin-top: 36px;
}
.fineprint section { display: flex; flex-direction: column; gap: 10px; }
.fineprint p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
@media (max-width: 860px) { .fineprint { grid-template-columns: 1fr; row-gap: 28px; } }
.credits {
  margin: 36px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 760px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}

/* Movies & TV: a feature, shelves that scroll sideways, a show's seasons,
   and a player over the page. The pictures are the titles' own; the
   frame around them is the register's. */
main.movies {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 40px 72px;
  display: grid;
  gap: 36px;
}
main.movies .lead { margin: 4px 0 0; }
main.movies #msg, main.movies #uploading { margin: 0; }
main.movies button { margin-top: 0; }
.movies-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.movies-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.movies-actions button.quiet { height: 44px; padding: 0 16px; font-size: 15px; }
.tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tabs button, .tabs button:hover {
  height: 36px; padding: 0 14px; border-radius: 3px; background: transparent;
  color: var(--ink-2); font-size: 15px; font-weight: 600;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-pressed="true"], .tabs button[aria-pressed="true"]:hover { background: var(--pick); color: #fff; }
#home { display: grid; gap: 36px; min-width: 0; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0B1320;
  color: #fff;
}
.hero-art { position: relative; min-height: 220px; }
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11, 19, 32, 0) 55%, #0B1320 100%);
}
.hero-copy { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.eyebrow { font: 500 13px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #9CC3EA; }
.hero h2 { font-size: 40px; line-height: 1.05; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.meta { display: flex; gap: 14px; flex-wrap: wrap; font: 14px var(--mono); color: var(--ink-2); }
.hero .meta { color: #AEB9C6; }
.hero-copy p { margin: 0; color: #CBD3DD; max-width: 46ch; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-actions button.quiet { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .25); }
.hero-actions button.quiet:hover { background: rgba(255, 255, 255, .16); }
.progress { height: 4px; border-radius: 2px; background: rgba(127, 127, 127, .3); overflow: hidden; max-width: 360px; }
.progress i { display: block; height: 100%; background: #7CCBA2; }

.shelf { display: grid; gap: 12px; min-width: 0; }
.shelf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.shelf-head h2 { font-size: 20px; }
.shelf-head .count { font: 14px var(--mono); color: var(--ink-2); }
.row { display: grid; grid-auto-flow: column; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; scrollbar-width: thin; }
.row.posters { grid-auto-columns: 168px; }
.row.wide { grid-auto-columns: 300px; }
main.movies .card, main.movies .card:hover {
  display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; justify-content: stretch; align-items: stretch;
  gap: 6px; width: 100%; height: auto; padding: 0; margin: 0;
  background: none; color: var(--ink); text-align: left; font-weight: 400; scroll-snap-align: start;
}
.card .pic { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--line-2); outline: 1px solid var(--line); outline-offset: -1px; }
.posters .pic { aspect-ratio: 2 / 3; }
.wide .pic { aspect-ratio: 16 / 9; }
.card:hover .pic { outline: 2px solid var(--accent); outline-offset: -2px; }
.card .t { font-weight: 700; font-size: 15px; line-height: 1.25; }
.card .s { font: 13px var(--mono); color: var(--ink-2); }
.card .progress, .still .progress { position: absolute; left: 0; right: 0; bottom: 0; max-width: none; border-radius: 0; background: rgba(0, 0, 0, .35); }
.badge { position: absolute; top: 8px; left: 8px; padding: 1px 7px; border-radius: 3px; background: var(--pick); color: #fff; font: 500 12px var(--mono); }
.pic img, .hero-art img, .r-poster img, .still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* a title with no picture yet: a card of its own colour and its name */
.drawn {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 12px;
  background: radial-gradient(ellipse at 30% 25%, hsl(var(--h) 45% 38%) 0%, transparent 65%),
    linear-gradient(160deg, hsl(var(--h) 40% 26%), hsl(var(--h) 45% 9%));
  color: #fff;
}
.drawn b { font-size: 17px; line-height: 1.1; font-weight: 800; text-wrap: balance; overflow-wrap: anywhere; }
.wide .drawn b { font-size: 14px; }
/* where the title is written beside the picture, the card keeps quiet */
.hero-art .drawn b, .still .drawn b { display: none; }

/* A title opened over the shelves, as Games opens a game: a band across
   the page with the poster standing proud of it, what it is in the
   middle, what to do on the right. A show's episodes scroll inside the
   band, which never grows. */
.veil { position: fixed; inset: 0; z-index: 40; background: rgba(10, 20, 26, .6); backdrop-filter: blur(3px); }
.ribbon {
  position: fixed; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 41;
  background: var(--surface); color: var(--ink);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55), 0 -24px 60px -20px rgba(0, 0, 0, .55);
}
.ribbon button.r-close, .ribbon button.r-close:hover {
  position: absolute; top: 14px; right: 16px; z-index: 1; width: 38px; height: 38px; margin: 0; padding: 0;
  display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--line-2); color: var(--ink); font-size: 20px;
}
.r-open {
  display: grid; grid-template-columns: 450px minmax(0, 1fr) 210px; grid-template-rows: minmax(0, 1fr); gap: 48px;
  max-width: 1400px; height: 460px; margin: 0 auto; padding: 32px 56px;
}
.ribbon.show .r-open { height: 560px; }
.r-poster {
  position: relative; overflow: hidden; align-self: center; width: 450px; aspect-ratio: 2 / 3; margin-block: -108px;
  border-radius: var(--radius); background: var(--line-2);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .06);
}
.ribbon.show .r-poster { margin-block: -58px; }
.r-poster .drawn { padding: 20px; }
.r-poster .drawn b { font-size: 34px; }
.r-body { display: flex; flex-direction: column; min-width: 0; min-height: 0; height: 100%; overflow: hidden; }
.ribbon .eyebrow { margin: 0 0 6px; color: var(--ink-2); font-size: 12px; }
.ribbon h2 { margin: 0 0 10px; font-size: 34px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.ribbon .meta { margin-bottom: 14px; font-size: 13px; }
.r-text { margin: 0 0 16px; max-width: 64ch; color: var(--ink-2); font-size: 15px; overflow: auto; }
.ribbon.show .r-text { flex: none; max-height: 4.5em; }
.r-left { margin: 6px 0 0; font: 13px var(--mono); color: var(--ink-2); }
.r-seasons { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.r-seasons button, .r-seasons button:hover {
  height: auto; margin: 0; padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--ink); font-size: 14px; font-weight: 500;
}
.r-seasons button:hover { background: var(--bg); }
.r-seasons button[aria-pressed="true"] { background: var(--pick); border-color: var(--pick); color: #fff; }
.r-actions { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.r-actions button { width: 100%; margin: 0; }
.r-actions button.r-remove, .r-actions button.r-remove:hover { background: none; border-color: transparent; color: var(--ink-2); font-weight: 500; }
.r-actions button.r-remove:hover { text-decoration: underline; }
.r-spec { font: 12px var(--mono); color: var(--ink-2); text-align: center; }
.r-spec:empty { display: none; }
@media (max-width: 1180px) {
  .r-open { grid-template-columns: 340px minmax(0, 1fr) 200px; gap: 36px; padding: 32px 36px; }
  .r-poster { width: 340px; margin-block: -50px; }
  .ribbon.show .r-poster { margin-block: -20px; }
}
@media (max-width: 1000px) {
  .ribbon { max-height: 92vh; overflow: auto; }
  .r-open, .ribbon.show .r-open { grid-template-columns: 200px minmax(0, 1fr); grid-template-rows: auto; height: auto; gap: 28px; padding: 28px 24px; }
  .r-poster { width: 200px; margin-block: -40px 0; align-self: start; }
  .ribbon.show .r-poster { margin-block: -40px 0; }
  .ribbon.show .r-body { height: 58vh; }
  .r-actions { grid-column: 2; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
  .r-actions button { width: auto; }
}
@media (max-width: 640px) {
  .ribbon { top: 0; bottom: 0; max-height: none; transform: none; }
  .r-open, .ribbon.show .r-open { grid-template-columns: 1fr; gap: 10px; padding: 0 16px 40px; }
  /* what to do right under the title, the episodes after it */
  .r-body, .ribbon.show .r-body { display: contents; }
  .r-poster { margin-bottom: 8px !important; }
  .r-seasons { order: 2; margin: 10px 0 0; }
  .ribbon .eps { order: 3; }
  .r-poster, .ribbon.show .r-poster { width: auto; aspect-ratio: 16 / 9; margin: 0 -16px; border-radius: 0; }
  .ribbon .eps { overflow: visible; mask-image: none; }
  .r-actions { grid-column: 1; order: 1; }
  .r-actions button { flex: 1 1 100%; }
  .ribbon h2 { font-size: 28px; }
  .r-poster .drawn b { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .ribbon:not([hidden]) { animation: ribbon-in .2s ease-out; }
  @keyframes ribbon-in { from { opacity: 0; } }
}
.eps {
  flex: 1; min-height: 0; overflow: auto; list-style: none; margin: 0; padding: 0 10px 18px 0;
  mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent);
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.eps .ep, .eps .ep:hover {
  width: 100%; height: auto; margin: 0; display: grid; grid-template-columns: 24px 128px minmax(0, 1fr) auto; gap: 14px;
  align-items: center; justify-content: stretch; padding: 10px; border: 0; border-radius: var(--radius);
  background: none; color: var(--ink); text-align: left; font-weight: 400;
}
.eps .ep:hover { background: var(--bg); }
.eps .ep[aria-current="true"] .n { color: var(--accent); }
.ep .n { font: 500 15px var(--mono); color: var(--ink-2); text-align: right; }
.ep .still { position: relative; aspect-ratio: 16 / 9; border-radius: 3px; overflow: hidden; background: var(--line-2); }
.ep .t { display: block; font-weight: 700; }
.ep .d { color: var(--ink-2); font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ep .len { font: 13px var(--mono); color: var(--ink-2); white-space: nowrap; }

.player {
  position: fixed; inset: 0; z-index: 50; display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: #05080C; color: #fff;
}
.player-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; }
.player-top span { font: 13px var(--mono); color: #AEB9C6; }
.player-buttons { display: flex; gap: 8px; }
.player button.ghost, .player button.ghost:hover {
  height: 40px; margin: 0; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .06); color: #fff; font-size: 15px;
}
.player button.ghost:hover { background: rgba(255, 255, 255, .14); }
.player video { width: 100%; height: 100%; min-height: 0; background: #000; cursor: pointer; outline-offset: -3px; }
.player { grid-template-rows: auto minmax(0, 1fr) auto auto; }
.controls { display: flex; align-items: center; gap: 10px; padding: 10px 20px 0; }
.controls .icon, .controls .icon:hover {
  display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; margin: 0; padding: 0;
  border: 0; border-radius: var(--radius); background: transparent; color: #fff;
}
.controls .icon:hover { background: rgba(255, 255, 255, .12); }
.controls .icon svg { width: 22px; height: 22px; fill: currentColor; }
.controls .skip { font: 500 13px var(--mono); }
.controls [data-on="play"] .i-pause, .controls [data-on="pause"] .i-play,
.controls [data-on="sound"] .i-muted, .controls [data-on="muted"] .i-sound { display: none; }
.controls .time { flex: none; min-width: 5.5ch; font: 13px var(--mono); color: #AEB9C6; text-align: center; }
/* the whole film end to end: what was watched, and what the box has
   packed so far lighter behind it */
.controls input[type="range"] {
  --played: 0%; --from: 0%; --ready: 0%;
  -webkit-appearance: none; appearance: none; height: 22px; margin: 0; padding: 0; border: 0;
  background: transparent; cursor: pointer;
}
#c-seek { flex: 1; min-width: 80px; }
#c-vol { flex: none; width: 90px; }
.controls input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: var(--track); }
.controls input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--track); }
#c-seek {
  --track: linear-gradient(to right, #fff var(--played), transparent var(--played)),
    linear-gradient(to right, transparent var(--from), rgba(255, 255, 255, .38) var(--from), rgba(255, 255, 255, .38) var(--ready), transparent var(--ready)),
    rgba(255, 255, 255, .16);
}
#c-vol { --track: linear-gradient(to right, #fff var(--played), rgba(255, 255, 255, .22) var(--played)); }
.controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border: 0; border-radius: 50%; background: #fff;
}
.controls input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }
.controls input[type="range"]:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* on the whole screen the bars step aside while it plays and nothing moves */
.player:fullscreen.idle { cursor: none; }
.player:fullscreen.idle .player-top, .player:fullscreen.idle .controls, .player:fullscreen.idle .player-note { opacity: 0; }
.player-top, .controls, .player-note { transition: opacity .3s; }
@media (max-width: 560px) {
  .controls { gap: 4px; padding: 8px 10px 0; }
  .controls .skip, #c-vol { display: none; }
}
.player-note { margin: 0; padding: 10px 20px 18px; font: 13px var(--mono); color: #AEB9C6; min-height: 1.5em; }

@media (max-width: 860px) {
  main.movies { padding: 24px 16px 56px; gap: 28px; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 16 / 9; min-height: 0; }
  .hero-art::after { background: linear-gradient(180deg, rgba(11, 19, 32, 0) 50%, #0B1320 100%); }
  .hero-copy { padding: 20px; }
  .hero h2 { font-size: 30px; }
  .row.posters { grid-auto-columns: 128px; }
  .row.wide { grid-auto-columns: 240px; }
  .eps .ep, .eps .ep:hover { grid-template-columns: 110px minmax(0, 1fr); padding: 8px 0; }
  .ep .n, .ep .len { display: none; }
}

/* TMDB's credit, as their terms ask: their logo, smaller than ours */
.tmdb { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; font-size: 13px; color: var(--ink-2); }
.tmdb img { height: 12px; width: auto; }

/* Files: a rail, a folder as a table or tiles, a preview beside it, and a
   tray for what is going up or coming down */
main.drive { max-width: 1280px; margin: 0 auto; padding: 40px 40px 72px; display: grid; gap: 20px; }
main.drive button { margin-top: 0; }
main.drive .lead { margin: 4px 0 0; }
main.drive #msg { margin: 0; }
.drive-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.drive-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.drive-actions button { height: 44px; padding: 0 18px; font-size: 15px; }
.drive-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; }
.rail { display: grid; gap: 4px; }
main.drive .rail button, main.drive .rail button:hover {
  justify-content: flex-start; width: 100%; height: 42px; padding: 0 12px; background: none;
  color: var(--ink-2); font-size: 15px; font-weight: 600; text-align: left;
}
main.drive .rail button:hover { background: var(--surface); color: var(--ink); }
main.drive .rail button[aria-current="true"] { background: var(--surface); color: var(--ink); box-shadow: inset 3px 0 0 var(--pick); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.toolbar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.toolbar .grow, .selbar .grow { flex: 1; }
.crumbs { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; font-weight: 600; min-width: 0; }
main.drive .crumbs button, main.drive .crumbs button:hover { height: auto; padding: 4px 6px; background: none; color: var(--link); font-size: 16px; }
main.drive .crumbs button:hover { background: var(--bg); }
.crumbs .sep { color: var(--line); }
.crumbs .here { padding: 4px 6px; }
.search input { height: 38px; width: 220px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; margin: 0; }
.seg { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius); }
main.drive .seg button, main.drive .seg button:hover { width: 34px; height: 30px; padding: 0; border-radius: 3px; background: none; color: var(--ink-2); font-size: 15px; }
main.drive .seg button[aria-pressed="true"] { background: var(--pick); color: #fff; }
.selbar { display: flex; align-items: center; gap: 10px; padding: 8px 16px; background: color-mix(in srgb, var(--pick) 10%, var(--surface)); border-bottom: 1px solid var(--line); font-weight: 600; flex-wrap: wrap; }
main.drive .selbar button { height: 34px; padding: 0 12px; font-size: 14px; }
table.files { width: 100%; border-collapse: collapse; }
table.files th { text-align: left; font: 500 12px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); padding: 10px 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
main.drive th button, main.drive th button:hover { height: auto; padding: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; }
table.files .arrow { color: var(--pick); }
table.files td { padding: 8px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
table.files tr:last-child td { border-bottom: 0; }
table.files tbody tr { cursor: pointer; }
table.files tbody tr:hover td { background: var(--bg); }
table.files tbody tr[aria-selected="true"] td { background: color-mix(in srgb, var(--pick) 10%, var(--surface)); }
table.files .chk { width: 36px; padding-right: 0; }
table.files input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: var(--pick); }
table.files .act { width: 96px; text-align: right; }
table.files .name { display: flex; align-items: center; gap: 12px; font-weight: 600; min-width: 0; }
table.files .name > span:not(.ic) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
table.files .name .from { font: 12px var(--mono); font-weight: 400; color: var(--ink-2); }
table.files .mono { font: 13px var(--mono); color: var(--ink-2); white-space: nowrap; }
.ic { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 4px; background: color-mix(in srgb, var(--c) 14%, var(--surface)); }
.ic svg, .big svg { stroke: color-mix(in srgb, var(--c) 85%, black); fill: none; stroke-width: 1.6; }
.ic svg { width: 18px; height: 18px; }
.big { display: grid; place-items: center; }
.big svg { width: 36px; height: 36px; stroke-width: 1.4; }
main.drive .more, main.drive .more:hover { width: 32px; height: 32px; padding: 0; background: none; color: var(--ink-2); font-size: 18px; border-radius: 3px; }
main.drive .more:hover { background: var(--line-2); color: var(--ink); }
main.drive button.small { height: 32px; padding: 0 12px; font-size: 14px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; padding: 16px; }
main.drive .tile, main.drive .tile:hover {
  display: grid; gap: 6px; height: auto; padding: 10px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: none; color: var(--ink); text-align: left; font-weight: 400; justify-content: stretch; align-items: stretch;
}
main.drive .tile:hover { border-color: var(--line); background: var(--bg); }
.tile .thumb { aspect-ratio: 4 / 3; border-radius: 3px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 12%, var(--surface)); }
.tile b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile span { font: 12px var(--mono); color: var(--ink-2); }
main.drive .note { margin: 0; padding: 12px 16px; font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--line-2); }
.popmenu { position: absolute; z-index: 40; width: 190px; padding: 6px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); display: grid; }
.popmenu button, .popmenu button:hover { justify-content: flex-start; height: 36px; margin: 0; padding: 0 14px; background: none; color: var(--ink); font-size: 15px; font-weight: 500; border-radius: 0; }
.popmenu button:hover { background: var(--bg); }
.popmenu button.danger { color: #B3401F; }
.preview { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: 30; background: var(--surface); border-left: 1px solid var(--line); display: flex; flex-direction: column; box-shadow: -8px 0 24px rgba(0, 0, 0, .08); }
.pv-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pv-head b { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview .ghost, .preview .ghost:hover { width: 36px; height: 36px; margin: 0; padding: 0; background: none; color: var(--ink-2); font-size: 20px; }
.pv-body { padding: 16px; display: grid; gap: 16px; overflow-y: auto; align-content: start; }
.pv-image, .pv-video { width: 100%; border-radius: 3px; background: var(--bg); }
.pv-pdf { width: 100%; height: 60vh; border: 1px solid var(--line-2); border-radius: 3px; }
.pv-audio { width: 100%; }
.pv-text { margin: 0; padding: 14px; max-height: 50vh; overflow: auto; border: 1px solid var(--line-2); border-radius: 3px; background: var(--bg); font: 13px/1.6 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.pv-none { display: grid; justify-items: center; gap: 10px; padding: 24px 0; }
.pv-none .note { border: 0; text-align: center; }
.preview dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; }
.preview dt { color: var(--ink-2); }
.preview dd { margin: 0; font: 13px var(--mono); overflow-wrap: anywhere; }
.pv-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pv-actions button { height: 40px; margin: 0; padding: 0 16px; font-size: 15px; }
.uploads { position: fixed; right: 24px; bottom: 24px; width: min(360px, calc(100vw - 32px)); z-index: 25; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); max-height: 50vh; overflow-y: auto; }
.up-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--pick); color: #fff; font-weight: 700; font-size: 14px; }
.up-head button, .up-head button:hover { width: 28px; height: 28px; margin: 0; padding: 0; background: none; color: #fff; font-size: 16px; }
.up-row { display: grid; gap: 6px; padding: 10px 14px; border-top: 1px solid var(--line-2); font-size: 14px; }
.up-row .top { display: flex; justify-content: space-between; gap: 8px; }
.up-row .top span:first-child { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-row .top span:last-child { font: 12px var(--mono); color: var(--ink-2); white-space: nowrap; }
.up-row .track { height: 6px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.up-row .track i { display: block; height: 100%; width: 0; background: var(--accent); }
.up-row.failed .track i { background: #B3401F; }
.drop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: color-mix(in srgb, var(--pick) 18%, transparent); border: 3px dashed var(--pick); pointer-events: none; }
.drop div { padding: 24px 32px; border-radius: var(--radius); background: var(--surface); font-weight: 700; font-size: 18px; box-shadow: 0 8px 24px rgba(0, 0, 0, .15); }
#ask { width: min(440px, calc(100vw - 32px)); padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); }
#ask::backdrop { background: rgba(10, 15, 20, .4); }
#ask h2 { font-size: 20px; margin: 0 0 8px; }
#ask .note { border: 0; padding: 0 0 8px; }
#ask input { margin: 4px 0 12px; }
.ask-list { display: grid; gap: 2px; max-height: 40vh; overflow-y: auto; margin-bottom: 12px; }
.ask-where { font: 13px var(--mono); color: var(--ink-2); padding: 4px 0 8px; }
#ask .ask-row, #ask .ask-row:hover { justify-content: flex-start; height: 38px; margin: 0; padding: 0 10px; background: none; color: var(--ink); font-size: 15px; font-weight: 500; }
#ask .ask-row:hover { background: var(--bg); }
.ask-actions { display: flex; justify-content: flex-end; gap: 10px; }
#ask .ask-actions button { height: 40px; margin: 0; padding: 0 16px; font-size: 15px; }
@media (max-width: 900px) {
  main.drive { padding: 24px 16px 56px; }
  .drive-body { grid-template-columns: 1fr; }
  .rail { grid-auto-flow: column; justify-content: start; }
  .wide-only { display: none; }
  .search { flex: 1 1 100%; order: 3; }
  .search input { width: 100%; }
}

/* Friends: yours, a link to make, and the page a link opens */
main.friends { max-width: 980px; margin: 0 auto; padding: 48px 40px 72px; display: grid; gap: 20px; }
main.friends .intro { margin-bottom: 4px; }
main.friends .panel { padding: 22px 24px; }
main.friends h2 { margin: 0 0 4px; font-size: 19px; }
main.friends .small { margin: 0; font-size: 14px; color: var(--ink-2); }
main.friends button { margin-top: 0; }
main.friends .add-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; }
main.friends .made { margin-top: 16px; display: grid; gap: 8px; }
main.friends .linkbox { display: flex; gap: 8px; }
main.friends .linkbox input { flex: 1; min-width: 0; margin: 0; height: 48px; font: 14px var(--mono); background: var(--bg); }
main.friends .fine { margin: 0; font: 13px var(--mono); color: var(--ink-2); }
main.friends .note { margin: 4px 0 0; padding: 12px 14px; border: 0; border-radius: var(--radius); background: var(--guest-bg); color: var(--ink); font-size: 14px; }
main.friends .note b { color: var(--guest); }
main.friends .error { margin: 12px 0 0; color: #B3261E; font-size: 15px; }
main.friends .people { list-style: none; margin: 14px 0 0; padding: 0; }
main.friends .people li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-2); }
main.friends .people li.waiting { grid-template-columns: minmax(0, 1fr) auto; }
main.friends .av, main.friends .invite-head .av {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: hsl(var(--h, 212) 45% 42%); color: #fff; font-weight: 800;
}
main.friends .who b { display: block; }
main.friends .who span { font: 13px var(--mono); color: var(--ink-2); }
main.friends .kind { font: 500 12px var(--mono); letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; background: var(--bg); color: var(--ink-2); }
main.friends .kind.member { background: var(--member-bg); color: var(--member); }
main.friends .kind.guest { background: var(--guest-bg); color: var(--guest); }
main.friends button.linkish, main.friends button.linkish:hover {
  height: auto; padding: 4px 6px; background: none; color: var(--ink-2); font-size: 14px; font-weight: 500;
  text-decoration: underline; text-underline-offset: 3px;
}
main.friends button.linkish:hover { color: var(--ink); }
main.friends.invite { max-width: 620px; padding-top: 72px; }
main.friends .invite-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
main.friends .invite-head .av { width: 52px; height: 52px; font-size: 20px; flex: none; }
main.friends .invite-head h1 { font-size: 26px; margin: 0; }
main.friends .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
main.friends #card > button { margin-top: 18px; }
a.button {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; margin-top: 18px; padding: 0 22px;
  border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none;
}
a.button:hover { background: var(--accent-hover); color: var(--accent-ink); }
a.button.quiet { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
a.button.quiet:hover { background: var(--bg); color: var(--ink); }
main.friends .row a.button { margin-top: 0; }
/* a guest's home: the one door, and a look at the rest */
main.home .guest-more { margin-top: 40px; padding: 24px; border: 1px dashed var(--line); border-radius: var(--radius); }
main.home .guest-more h2 { margin: 0 0 6px; font-size: 20px; }
main.home .guest-more p { margin: 0; max-width: 62ch; color: var(--ink-2); }
@media (max-width: 640px) {
  main.friends { padding: 28px 16px 56px; }
  main.friends .add-head { grid-template-columns: 1fr; }
  main.friends .add-head button { width: 100%; }
  main.friends .people li { grid-template-columns: 40px minmax(0, 1fr) auto; }
  main.friends .people li .kind { grid-column: 2; justify-self: start; }
}

/* the page a QR code from Settings > Devices opens (add.html) */
.add-device { max-width: 440px; }
.add-device .add-code { font-family: var(--mono); font-size: 34px; letter-spacing: .14em; font-weight: 600; margin: 8px 0 0; }

/* a status: its word, in its colour (docs/dev/ui.md), on any page */
.state-word { display: inline-flex; align-items: center; gap: 6px; padding: 1px 8px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.state-word::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.state-word[data-state="ok"] { color: var(--ok); background: var(--ok-bg); }
.state-word[data-state="working"] { color: var(--working); background: var(--working-bg); }
.state-word[data-state="attention"] { color: var(--attention); background: var(--attention-bg); }
.state-word[data-state="broken"] { color: var(--broken); background: var(--broken-bg); }
.state-word[data-state="off"] { color: var(--off); background: var(--off-bg); }
