/* Now Sweeping game site. Colours and fonts are the game's own (MenuStyle.cs, Fonts/README.md). */

@font-face {
  font-family: "Alfa Slab One";
  src: url("/assets/fonts/alfa-slab-one-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-latin-var.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --house: #1b1512;      /* theatre dark */
  --surface: #2a221e;
  --surface-2: #372c27;
  --line: #4a3c34;
  --title: #f4ead6;
  --text: #e9dcc4;
  --muted: #b4a693;
  --gold: #e2bd72;
  --gold-bright: #f6d58e;
  --red: #7a1f2b;
  --red-ink: #8a2a3a;
  --paper: #faf6ea;
  --ink: #322b28;
  --teal: #9bd6ca;
  --display: "Alfa Slab One", "Rockwell", "Roboto Slab", Georgia, serif;
  --body: "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--house);
  color: var(--text);
  font: 500 1.0625rem/1.6 var(--body);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-bright); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--title); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--title);
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; max-width: 68ch; }
strong { color: var(--title); font-weight: 800; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
section.wrap { padding-block: clamp(56px, 8vw, 104px) 0; }
.section-lead { color: var(--muted); font-size: 1.15rem; }
.more { margin-top: 1.25em; font-weight: 800; }

/* Buttons: the game's gold primary button. */
.button {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font: 800 1rem/1 var(--body);
  padding: 0.85em 1.3em;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: inset 0 -3px 0 rgb(0 0 0 / 0.18);
  white-space: nowrap;
}
.button:hover { background: var(--gold-bright); color: var(--ink); }

/* ---------------------------------------------------------------- header */

.site-head {
  display: flex;
  align-items: center;
  gap: 12px 28px;
  padding: 14px var(--gutter);
  background: var(--house);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
}
.brand img { width: 190px; }
.site-head nav { margin-left: auto; }
.site-head ul { display: flex; gap: 4px 24px; list-style: none; margin: 0; padding: 0; }
.site-head nav a { color: var(--text); text-decoration: none; font-weight: 700; }
.site-head nav a:hover, .site-head nav a[aria-current] { color: var(--gold-bright); }
.site-head nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.4em; }
.site-head .button { padding: 0.7em 1.1em; font-size: 0.95rem; }

@media (max-width: 760px) {
  .site-head { flex-wrap: wrap; position: static; }
  .brand img { width: 150px; }
  .site-head nav { order: 3; width: 100%; margin: 0; }
  .site-head ul { justify-content: space-between; }
  .site-head .button { margin-left: auto; font-size: 0.85rem; padding: 0.65em 0.9em; }
}

/* ---------------------------------------------------------------- hero */

.hero { position: relative; padding-bottom: 8px; }
.hero-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: min(100%, calc(86vh * 16 / 9));
  margin-inline: auto;
  overflow: hidden;
}
.hero-bg { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after { /* fade the floor into the page */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, var(--house));
}
/* The wordmark sits on the theatre screen, as on the game's title page. The screen spans
   roughly 30–70% across and 4–45% down the background. */
.hero-screen {
  position: absolute;
  left: 31%;
  width: 38%;
  top: 6%;
  height: 38%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4%;
}
.hero-screen h1 { margin: 0; width: 88%; }
.hero-screen p {
  margin: 0;
  color: var(--title);
  font-weight: 700;
  font-size: clamp(0.62rem, 1.25vw, 1.15rem);
  text-shadow: 0 1px 8px rgb(0 0 0 / 0.6);
}

/* The release board: the game's marquee panel with its row of bulbs. */
.marquee {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100% - 2 * var(--gutter)));
  margin: clamp(-150px, -9vw, -40px) auto 0;
  background: #231b17;
  border-radius: 18px;
  padding: 30px 28px 28px;
  text-align: center;
  box-shadow: 0 18px 50px rgb(0 0 0 / 0.5), inset 0 0 0 2px #120d0b;
}
.marquee::before { /* bulbs */
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 12px;
  pointer-events: none;
  --bulb: radial-gradient(circle, #ffe7a6 0 2.2px, #c98f2f 2.8px, transparent 3.6px);
  background:
    var(--bulb) top left / 16px 8px repeat-x,
    var(--bulb) bottom left / 16px 8px repeat-x;
}
.marquee-kicker { color: var(--gold); font-weight: 800; margin: 0 auto 2px; }
.marquee-date {
  font-family: var(--display);
  color: var(--title);
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  line-height: 1.1;
  margin: 0 auto 6px;
}
.marquee-local { color: var(--muted); margin: 0 auto 18px; font-size: 0.98rem; }
.marquee-local[hidden] + .button { margin-top: 12px; }

/* ---------------------------------------------------------------- home sections */

.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 56px; align-items: start; }
.intro-text p { font-size: 1.2rem; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; }
.steps h3 { margin-top: 18px; }
.steps h3::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 1.6em;
  height: 1.6em;
  margin-right: 0.45em;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.8em;
  vertical-align: 0.12em;
}
.steps p { color: var(--muted); }
.step-shot img, .split-shot img, .extra-shot img { border-radius: 10px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.goal {
  margin: 40px 0 0;
  max-width: none;
  padding: 22px 26px;
  background: var(--surface);
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  font-size: 1.2rem;
}
.goal strong { color: var(--gold-bright); }

.extras-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 32px; }
.extra { background: var(--surface); border-radius: 14px; padding: 28px; }
.extra p { color: var(--muted); }
.extra-cards { margin-top: 28px; }
.lost-strip { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; max-width: 420px; }
.lost-strip img { width: 100%; max-width: 120px; margin-inline: auto; background: var(--surface-2); border-radius: 50%; padding: 10px; }
@media (max-width: 860px) {
  .extras-grid { grid-template-columns: 1fr; }
}

.board {
  margin-top: 28px;
  background: #231b17;
  border-radius: 14px;
  padding: 10px 24px;
  box-shadow: inset 0 0 0 2px #120d0b;
  overflow-x: auto;
}
.board table { width: 100%; border-collapse: collapse; }
.board th, .board td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.board tr:last-child th, .board tr:last-child td { border-bottom: 0; }
.board thead th { color: var(--muted); font: 700 0.9rem/1.3 var(--body); }
.board tbody th { font: 400 1.25rem/1.2 var(--display); color: var(--title); white-space: nowrap; }
.board td { color: var(--text); }
.board td:nth-child(3) { color: var(--gold-bright); font-weight: 800; white-space: nowrap; }
.modes .board td:nth-child(2) { white-space: nowrap; }
@media (max-width: 640px) {
  .modes .board thead { display: none; }
  .modes .board tr { display: grid; grid-template-columns: auto auto; gap: 2px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .modes .board tr:last-child { border-bottom: 0; }
  .modes .board th, .modes .board td { border: 0; padding: 0; }
  .modes .board tbody th { grid-column: 1 / -1; }
  .modes .board td:last-child { grid-column: 1 / -1; color: var(--muted); }
}

.feature-list { list-style: none; margin: 24px 0 0; padding: 0; columns: 2 320px; column-gap: 48px; }
.feature-list li { break-inside: avoid; padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
.feature-list li::before { content: "★"; position: absolute; left: 0; color: var(--gold); }

.shots { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.shots img { border-radius: 8px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.shots a.shot { display: block; }
.shots a.shot:hover img { filter: brightness(1.08); }

.faq details { border-bottom: 1px solid var(--line); max-width: 760px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 800; color: var(--title); font-size: 1.15rem; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; color: var(--gold); font-size: 1.4rem; line-height: 1; top: 18px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* ---------------------------------------------------------------- tickets (the game's offer cards) */

.ticket-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 24px; }
@media (max-width: 860px) { .ticket-row { grid-template-columns: minmax(0, 340px); justify-content: center; } }
.ticket-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px 22px; margin-top: 24px; }

.ticket {
  --panel: #2f6b73;
  --tint: #8fe0da;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  border-radius: 14px;
  padding: 14px 16px 12px;
  box-shadow: 0 10px 26px rgb(0 0 0 / 0.35);
  /* side notches, like the ticket stub in the game */
  -webkit-mask: radial-gradient(circle 9px at 0 82%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 9px at 100% 82%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 9px at 0 82%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 9px at 100% 82%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.ticket[hidden] { display: none; }
.ticket::before { content: ""; position: absolute; inset: 5px; border: 1.5px dashed #e3cfc4; border-radius: 10px; pointer-events: none; }
.ticket-top { display: flex; justify-content: space-between; margin: 0 0 8px; font: 800 0.78rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-ink); max-width: none; }
.ticket-top span:last-child { color: var(--ink); letter-spacing: 0.04em; }
.ticket-art {
  position: relative;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 18px;
  background:
    radial-gradient(circle, #ffe7a6 0 1.8px, #a87526 2.4px, transparent 3px) top left / 12px 7px repeat-x,
    radial-gradient(circle, #ffe7a6 0 1.8px, #a87526 2.4px, transparent 3px) bottom left / 12px 7px repeat-x,
    repeating-conic-gradient(from 0deg at 50% 55%, color-mix(in srgb, var(--panel) 82%, #000) 0 7.5deg, var(--panel) 7.5deg 15deg);
  box-shadow: inset 0 0 0 3px #231b17;
}
.ticket-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.stars {
  position: absolute;
  left: 50%;
  bottom: -13px;
  transform: translateX(-50%);
  background: #3b3330;
  color: #fff;
  border: 2px solid #8a7f78;
  border-radius: 999px;
  padding: 1px 10px 2px;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.stars .off { color: #8a7f78; }
.ticket-name { font-family: var(--display); color: var(--ink); font-size: 1.4rem; text-align: center; margin: 6px 0 6px; }
.ticket-text { text-align: center; font-size: 0.98rem; line-height: 1.45; margin: 0 auto 8px; color: #3c332f; }
.ticket-note { text-align: center; font-size: 0.85rem; color: #7a6e66; margin: 0 auto 4px; font-weight: 700; }
.ticket-foot { margin: auto 0 0; padding-top: 12px; border-top: 2px dotted #d9c9b8; display: flex; justify-content: space-between; align-items: center; max-width: none; }
.ticket-family { font: 800 0.78rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: #4b423d; }
.ticket-family::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--panel); margin-right: 7px; vertical-align: 0; }
.barcode { width: 70px; height: 20px; background: repeating-linear-gradient(90deg, #3c332f 0 1px, transparent 1px 3px, #3c332f 3px 5px, transparent 5px 6px, #3c332f 6px 7px, transparent 7px 9px); }

.term { font-weight: 800; text-decoration: underline dotted; text-underline-offset: 0.2em; }
.term-litter { color: #3d7a4a; }
.term-returns { color: #b0561c; }
.term-spills { color: #2d5f94; }
.term-sticky { color: #8a3a6a; }
.term-popcorn { color: #a8771c; }
.term-trash { color: #3d7a4a; }

/* Family colours from cards.json */
.fam-toss, .fam-glass { --panel: #a86a1c; }
.fam-carry { --panel: #8a5a2b; }
.fam-move { --panel: #4f7a2e; }
.fam-sweep, .fam-seats { --panel: #2f6b73; }
.fam-room { --panel: #3c6a55; }
.fam-spills { --panel: #2d5f94; }
.fam-lights { --panel: #43357a; }
.fam-program, .fam-shop { --panel: #8a2a3a; }
.fam-lost_and_found { --panel: #6a3f7a; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.filters button {
  font: 700 0.95rem/1 var(--body);
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.6em 1em;
  cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ---------------------------------------------------------------- inner pages */

.page-head { padding-top: clamp(40px, 6vw, 72px); }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); }

.guide { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 56px; padding-top: 24px; }
.toc { position: sticky; top: 96px; align-self: start; }
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; color: var(--muted); text-decoration: none; font-weight: 700; margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover, .toc a[aria-current] { color: var(--gold-bright); border-left-color: var(--gold); }
.guide-body section { padding-bottom: 64px; scroll-margin-top: 90px; }
.guide-body h2 { margin-bottom: 0.6em; }
@media (max-width: 900px) {
  .guide { grid-template-columns: 1fr; gap: 8px; }
  .toc { position: static; }
  .toc ul { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
  .toc a { border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 12px; margin: 0; font-size: 0.92rem; }
}

.big-goal { font-family: var(--display); color: var(--title); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; }
.big-goal strong { color: var(--gold-bright); font-weight: 400; }

.plain-steps { padding-left: 1.4em; margin: 0 0 1em; max-width: 70ch; }
.plain-steps li { margin-bottom: 0.7em; padding-left: 0.3em; }
.plain-steps li::marker { color: var(--gold); font-weight: 800; }

.mess-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.mess { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "art name" "art line"; column-gap: 24px; align-items: center; background: var(--surface); border-radius: 12px; padding: 16px 20px; }
.mess-art { grid-area: art; display: flex; flex-wrap: wrap; gap: 4px; }
.mess-art img { width: 64px; height: 64px; }
.mess h3 { grid-area: name; margin: 0 0 4px; align-self: end; }
.mess p { grid-area: line; margin: 0; color: var(--muted); align-self: start; }
@media (max-width: 640px) { .mess { grid-template-columns: 1fr; grid-template-areas: "name" "line" "art"; } .mess-art { margin-top: 10px; } }

.tool-tab { margin-top: 36px; }
.tab-line { color: var(--muted); }
.tools { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.tools-free { margin-top: 20px; }
.tool { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; align-items: center; background: var(--surface); border-radius: 12px; padding: 12px 16px 12px 12px; }
.tool img { width: 80px; height: 80px; object-fit: contain; background: var(--surface-2); border-radius: 10px; padding: 6px; }
.tool h4 { margin: 0 0 2px; }
.tool p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.45; }

.lost-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.lost { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; background: var(--surface); border-radius: 12px; padding: 16px; }
.lost img { width: 88px; height: 88px; background: var(--surface-2); border-radius: 50%; padding: 6px; }
.lost h3 { font-size: 1.15rem; margin-bottom: 2px; }
.lost-film { color: var(--gold); font-weight: 700; margin: 0 0 8px; font-size: 0.95rem; }
.lost blockquote { margin: 0; padding: 10px 12px; background: var(--paper); color: var(--ink); border-radius: 6px; font-size: 0.95rem; line-height: 1.45; }
.lost blockquote p { margin: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.stations { margin: 0; }
.stations dt { font-weight: 800; color: var(--title); }
.stations dd { margin: 0 0 12px; color: var(--muted); }

.film-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 28px 18px; }
.film img:first-child { border-radius: 8px; aspect-ratio: 2 / 3; object-fit: cover; width: 100%; margin-bottom: 12px; box-shadow: 0 8px 22px rgb(0 0 0 / 0.4); }
.film h3 { font-size: 1.1rem; margin-bottom: 2px; }
.film-type { color: var(--gold); font-weight: 700; margin: 0 0 6px; font-size: 0.92rem; }
.film-mess { display: flex; flex-wrap: wrap; gap: 2px; }
.film-mess img { width: 44px; height: 44px; }
.film-note { color: var(--muted); font-size: 0.9rem; margin: 6px 0 0; }

.table-scroll { overflow-x: auto; margin-top: 16px; }
.controls { border-collapse: collapse; width: 100%; min-width: 520px; }
.controls th, .controls td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); }
.controls thead th { color: var(--muted); font-size: 0.9rem; }
.controls tbody th { font-weight: 700; color: var(--title); }

.press section { padding-top: 48px; }
.facts { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 0; margin: 0; max-width: 820px; }
.facts dt, .facts dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { font-weight: 800; color: var(--title); }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts dt { border: 0; padding-bottom: 0; } }
.logos { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.logos li { background: var(--surface); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 14px; justify-content: space-between; }
.logos img { max-height: 120px; width: auto; margin: auto; }
.download { font-weight: 800; }
.press .shots li { display: flex; flex-direction: column; gap: 6px; }

/* ---------------------------------------------------------------- footer */

.site-foot { margin-top: clamp(72px, 10vw, 120px); background: #140f0d; border-top: 1px solid var(--line); }
.foot-inner { max-width: var(--max); margin-inline: auto; padding: 40px var(--gutter) 48px; }
.foot-release { font-family: var(--display); color: var(--title); font-size: 1.3rem; }
.foot-links { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { color: var(--text); font-weight: 700; text-decoration: none; }
.foot-links a:hover { color: var(--gold-bright); }
.foot-studio { color: var(--muted); font-size: 0.95rem; }

/* ---------------------------------------------------------------- screenshot viewer */

.viewer { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.viewer::backdrop { background: rgb(10 7 6 / 0.88); }
.viewer img { max-width: 94vw; max-height: 92vh; border-radius: 6px; }
.viewer button { position: fixed; top: 14px; right: 18px; font: 400 2.4rem/1 var(--body); color: var(--title); background: none; border: 0; cursor: pointer; }
