/* Antigram Docs: the brand's one ink, on black (or, by choice or by the Mac's setting, on paper),
   Geist, hairlines and glass. The console's lights are the only colour: blue for notes, green for
   tips, amber for what matters. */

@font-face {
  font-family: "Geist";
  src: url("/assets/Geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0b0b0c;
  --raised: #121214;
  --ink: #f4f4f2;
  --muted: rgb(244 244 242 / 0.62);
  --faint: rgb(244 244 242 / 0.36);
  --hairline: rgb(244 244 242 / 0.1);
  --hairline-strong: rgb(244 244 242 / 0.18);
  --glass: rgb(11 11 12 / 0.62);
  --wash: rgb(244 244 242 / 0.045);
  --shadow: 0 10px 40px rgb(0 0 0 / 0.45);
  --amber: #f28c28;
  --violet: #8b6cf6;
  --green: #34c77b;
  --blue: #4fa3f7;
  --radius: 18px;
  --content: 720px;
  --sidebar: 248px;
  --toc: 208px;
  --top: 76px;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f5f5f2;
    --raised: #ffffff;
    --ink: #0b0b0c;
    --muted: rgb(11 11 12 / 0.64);
    --faint: rgb(11 11 12 / 0.4);
    --hairline: rgb(11 11 12 / 0.1);
    --hairline-strong: rgb(11 11 12 / 0.18);
    --glass: rgb(245 245 242 / 0.72);
    --wash: rgb(11 11 12 / 0.04);
    --shadow: 0 10px 40px rgb(0 0 0 / 0.08);
    --amber: #c46a12;
    --green: #1f9a5a;
    --blue: #2878c8;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f5f5f2;
  --raised: #ffffff;
  --ink: #0b0b0c;
  --muted: rgb(11 11 12 / 0.64);
  --faint: rgb(11 11 12 / 0.4);
  --hairline: rgb(11 11 12 / 0.1);
  --hairline-strong: rgb(11 11 12 / 0.18);
  --glass: rgb(245 245 242 / 0.72);
  --wash: rgb(11 11 12 / 0.04);
  --shadow: 0 10px 40px rgb(0 0 0 / 0.08);
  --amber: #c46a12;
  --green: #1f9a5a;
  --blue: #2878c8;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); scroll-padding-top: calc(var(--top) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 "Geist", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--ink); color: var(--bg); }
a { color: inherit; }
svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 16px; }

.glass {
  background: var(--glass);
  border: 1px solid var(--hairline);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: var(--shadow);
}

kbd {
  font: 500 0.78em/1 "Geist", system-ui, sans-serif;
  letter-spacing: 0.04em;
  padding: 0.28em 0.5em;
  border: 1px solid var(--hairline-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--wash);
  white-space: nowrap;
}

/* MARK: The bar across the top */

.topbar { position: fixed; inset: 14px 0 auto; z-index: 50; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.topbar-inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 10px;
  width: min(100%, 1240px);
  padding: 7px 8px 7px 14px;
  border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-arc { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.brand:hover .brand-arc { transform: rotate(-45deg); }
.brand-words { display: flex; align-items: center; gap: 9px; }
.wordmark { height: 13px; width: auto; }
.brand-docs { font-size: 15px; font-weight: 500; color: var(--muted); padding-left: 9px; border-left: 1px solid var(--hairline-strong); line-height: 1; }
.search-button {
  display: flex; align-items: center; gap: 8px;
  width: min(36vw, 300px);
  padding: 7px 8px 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--wash);
  color: var(--faint);
  font-size: 14px;
  transition: border-color 0.2s, color 0.2s;
}
.search-button:hover { border-color: var(--hairline-strong); color: var(--muted); }
.search-button span { margin-right: auto; }
.search-button svg, .icon-button svg, .search-field svg, .hero-search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-button svg .fill { fill: currentColor; stroke: none; }
.topbar-links { display: flex; align-items: center; gap: 4px; }
.topbar-links > a:not(.pill) { font-size: 14px; color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.topbar-links > a:not(.pill):hover { background: var(--wash); color: var(--ink); }
.icon-button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; color: var(--muted); transition: background 0.2s, color 0.2s; }
.icon-button:hover { background: var(--wash); color: var(--ink); }
.pill { background: var(--ink); color: var(--bg); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 999px; margin-left: 4px; transition: transform 0.2s; }
.pill:hover { transform: scale(1.03); }
.only-narrow { display: none; }

/* MARK: Layout */

.layout {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  gap: 40px;
  width: min(100%, 1272px);
  margin: 0 auto;
  padding: calc(var(--top) + 28px) 16px 0;
  min-height: 100vh;
}
.home .layout { grid-template-columns: minmax(0, 1fr); }
.home .sidebar { display: none; }

.sidebar { position: sticky; top: calc(var(--top) + 20px); align-self: start; max-height: calc(100vh - var(--top) - 40px); overflow-y: auto; scrollbar-width: thin; }
.sidebar-inner { padding: 4px 4px 40px 0; }
.nav-section + .nav-section { margin-top: 22px; }
.nav-title { margin: 0 0 6px 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar a {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  line-height: 1.4;
  transition: background 0.2s, color 0.2s;
}
.sidebar a:hover { background: var(--wash); color: var(--ink); }
.sidebar a[aria-current="page"] { background: var(--wash); color: var(--ink); font-weight: 500; }

.badge { font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; }
.badge.beta { color: var(--violet); background: color-mix(in srgb, var(--violet) 15%, transparent); }

/* MARK: A page */

.page { display: grid; grid-template-columns: minmax(0, var(--content)) var(--toc); gap: 56px; justify-content: start; padding-bottom: 96px; }
.eyebrow { margin: 6px 0 10px; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); display: flex; align-items: center; gap: 8px; }
h1 { font-size: clamp(34px, 5vw, 46px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; margin: 0 0 14px; }
.lede { font-size: 19px; line-height: 1.55; color: var(--muted); margin: 0 0 34px; max-width: 640px; }

.prose { font-size: 16.5px; }
.prose > * + * { margin-top: 1.05em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose h2 { font-size: 26px; letter-spacing: -0.015em; line-height: 1.25; font-weight: 600; margin: 2.1em 0 0.2em; padding-top: 1.4em; border-top: 1px solid var(--hairline); position: relative; }
.prose h3 { font-size: 19px; line-height: 1.35; font-weight: 600; margin: 1.8em 0 0.1em; position: relative; }
.prose h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.anchor { position: absolute; left: -1.1em; color: var(--faint); text-decoration: none; opacity: 0; transition: opacity 0.2s; font-weight: 400; }
h2:hover .anchor, h3:hover .anchor { opacity: 1; }
.prose a { text-decoration: underline; text-decoration-color: var(--hairline-strong); text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.35em; }
.prose li::marker { color: var(--faint); }
.prose code { font: 0.88em/1 ui-monospace, "SF Mono", Menlo, monospace; background: var(--wash); border: 1px solid var(--hairline); border-radius: 6px; padding: 0.15em 0.4em; }
.prose pre { background: var(--raised); border: 1px solid var(--hairline); border-radius: 14px; padding: 16px 18px; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.prose pre code { background: none; border: 0; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--hairline); margin: 2.4em 0; }
.prose img { max-width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--hairline); }
.prose blockquote { margin-left: 0; padding-left: 18px; border-left: 2px solid var(--hairline-strong); color: var(--muted); }

.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.prose th { font-weight: 600; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); }

/* A place in the app: Settings › Updates. */
.place { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.25em; font-weight: 500; white-space: normal; }
.place span { padding: 0.05em 0.5em; border: 1px solid var(--hairline-strong); border-radius: 7px; background: var(--wash); font-size: 0.92em; }
.place i { font-style: normal; color: var(--faint); }

/* Numbered steps: each number in a ring, like the console's dials. */
.steps ol { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 0 48px; min-height: 32px; }
.steps li + li { margin-top: 1.1em; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -1px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-size: 14px; font-weight: 600;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: -1em; width: 1.5px; background: var(--hairline-strong); }

.callout { border: 1px solid var(--hairline); border-radius: 16px; padding: 14px 18px 16px 20px; background: var(--wash); position: relative; overflow: hidden; }
.callout::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--accent); }
.callout.note { --accent: var(--blue); }
.callout.tip { --accent: var(--green); }
.callout.warning { --accent: var(--amber); }
.callout-title { margin: 0 0 4px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.callout > p:not(.callout-title) { margin: 0.35em 0 0; }
.callout > * { margin-bottom: 0; }

/* Diagrams, drawn as the home page draws the console: outlines in the brand's ink on black, in
   either theme, and colour only where there's light. */
.diagram { margin: 2em 0; padding: 0; }
.diagram > svg, .diagram-missing {
  width: 100%; height: auto;
  border: 1px solid rgb(244 244 242 / 0.1);
  border-radius: var(--radius);
  background: radial-gradient(120% 100% at 50% 0%, rgb(244 244 242 / 0.05), transparent 70%), #121214;
  color: #f4f4f2;
}
.diagram > svg { display: block; }
.diagram-missing { display: grid; place-items: center; min-height: 220px; padding: 24px; color: rgb(244 244 242 / 0.4); font-size: 14px; text-align: center; border-style: dashed; }
.diagram figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }

.updated { margin: 56px 0 0; font-size: 13px; color: var(--faint); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.pager a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--hairline); border-radius: 16px; text-decoration: none; font-weight: 500; transition: border-color 0.2s, background 0.2s; }
.pager a:hover { border-color: var(--hairline-strong); background: var(--wash); }
.pager a span { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 400; color: var(--faint); }
.pager a span svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pager .next { text-align: right; align-items: flex-end; }

.toc { position: sticky; top: calc(var(--top) + 26px); align-self: start; font-size: 13.5px; }
.toc-title { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--hairline); }
.toc a { display: block; padding: 4px 0 4px 14px; margin-left: -1px; border-left: 1px solid transparent; color: var(--faint); text-decoration: none; line-height: 1.4; transition: color 0.2s, border-color 0.2s; }
.toc .d3 a { padding-left: 26px; }
.toc a:hover { color: var(--muted); }
.toc a.active { color: var(--ink); border-left-color: var(--ink); }

/* MARK: Home */

.home-main { padding-bottom: 96px; }
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 64px 0 56px; }
.hero-arc { color: var(--ink); margin-bottom: 26px; animation: turn 1.4s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-arc.dim { color: var(--faint); }
.hero-arc path { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1.2s 0.1s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes turn { from { transform: rotate(-90deg); } }
.hero h1 { font-size: clamp(40px, 7vw, 64px); }
.hero .lede { margin: 0 auto 30px; text-align: center; }
.hero-search { display: flex; align-items: center; gap: 10px; width: min(100%, 520px); padding: 14px 14px 14px 20px; border-radius: 999px; color: var(--faint); font-size: 16px; text-align: left; transition: border-color 0.2s, transform 0.2s; }
.hero-search:hover { border-color: var(--hairline-strong); transform: translateY(-1px); }
.hero-search span { margin-right: auto; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 22px; text-decoration: none; box-shadow: none; transition: border-color 0.25s, transform 0.25s; }
.card:hover { border-color: var(--hairline-strong); transform: translateY(-2px); }
.card-icon { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--hairline-strong); border-radius: 12px; margin-bottom: 8px; }
.card-icon svg { width: 22px; height: 22px; }
.card-title { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.card-text { color: var(--muted); font-size: 15px; line-height: 1.5; }
.card-pages { margin-top: auto; padding-top: 10px; font-size: 13px; color: var(--faint); }

/* MARK: Search */

.search { position: fixed; inset: 0; z-index: 80; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; background: rgb(0 0 0 / 0.35); animation: fade 0.15s ease-out; }
.search[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.search-panel { width: min(100%, 640px); max-height: 70vh; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: color-mix(in srgb, var(--bg) 88%, transparent); animation: rise 0.2s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes rise { from { transform: translateY(8px) scale(0.985); opacity: 0; } }
.search-field { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--hairline); color: var(--faint); }
.search-field input { flex: 1; min-width: 0; font: inherit; font-size: 17px; color: var(--ink); background: none; border: 0; outline: none; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-results { list-style: none; margin: 0; padding: 8px; overflow-y: auto; }
.search-results:empty { display: none; }
.search-results a { display: block; padding: 10px 14px; border-radius: 14px; text-decoration: none; }
.search-results a[aria-selected="true"], .search-results a:hover { background: var(--wash); }
.search-results .r-path { font-size: 12px; color: var(--faint); }
.search-results .r-title { font-weight: 500; }
.search-results .r-text { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-results mark { background: none; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--hairline-strong); text-underline-offset: 3px; }
.search-empty { margin: 0; padding: 22px; color: var(--muted); font-size: 15px; }

/* MARK: Footer */

.footer { border-top: 1px solid var(--hairline); margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1fr 2.2fr; gap: 40px; width: min(100%, 1272px); margin: 0 auto; padding: 48px 16px 32px; }
.footer-brand { color: var(--ink); }
.footer-brand p { color: var(--muted); font-size: 15px; max-width: 260px; margin: 14px 0 0; }
.footer-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
.footer-title { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li + li { margin-top: 6px; }
.footer a { color: var(--muted); text-decoration: none; font-size: 14.5px; transition: color 0.2s; }
.footer a:hover { color: var(--ink); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; width: min(100%, 1272px); margin: 0 auto; padding: 18px 16px 36px; border-top: 1px solid var(--hairline); font-size: 12.5px; color: var(--faint); }
.footer-base p { margin: 0; }

/* MARK: Narrower windows */

@media (max-width: 1180px) {
  .page { grid-template-columns: minmax(0, var(--content)); }
  .toc { display: none; }
}
@media (max-width: 860px) {
  :root { --top: 66px; }
  .layout { grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--top) + 24px); }
  .only-narrow { display: grid; }
  .topbar { inset: 10px 0 auto; }
  .topbar-inner { padding-left: 6px; }
  .topbar-links > a:not(.pill), .brand-words .wordmark { display: none; }
  .brand-docs { border: 0; padding: 0; color: var(--ink); font-weight: 600; font-size: 16px; }
  .search-button { width: auto; padding: 0; border: 0; background: none; width: 36px; height: 36px; justify-content: center; }
  .search-button span, .search-button kbd { display: none; }
  .sidebar {
    position: fixed; inset: 0 auto 0 0; z-index: 60; width: min(86vw, 320px); max-height: none;
    background: var(--bg); border-right: 1px solid var(--hairline); padding: calc(var(--top) + 12px) 16px 24px;
    transform: translateX(-102%); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }
  body.menu-open .sidebar { transform: none; box-shadow: var(--shadow); }
  body.menu-open::after { content: ""; position: fixed; inset: 0; z-index: 55; background: rgb(0 0 0 / 0.4); }
  .anchor { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; }
  .lede { font-size: 17.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* The console's screensavers, playing: each in a screen like the console's (always dark: it's a screen). */
/* What an add-in can do (:::functions): its sections folded away, each function on a hairline, the
   controls it suits on the right, and the amber of a lit key where one lights. */
.prose .functions { margin: 1.4em 0 2.2em; border: 1px solid var(--hairline); border-radius: 16px; background: var(--wash); overflow: hidden; }
.functions-count { margin: 0; padding: 12px 18px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--hairline); }
.function-section + .function-section { border-top: 1px solid var(--hairline); }
.function-section > summary { display: flex; align-items: center; gap: 12px; padding: 11px 18px; cursor: pointer; list-style: none; font-weight: 500; }
.function-section > summary::-webkit-details-marker { display: none; }
.function-section > summary::before { content: ""; flex: none; width: 6px; height: 6px; margin: 0 4px 0 2px; border-right: 1.5px solid var(--faint); border-bottom: 1.5px solid var(--faint); transform: rotate(-45deg); transition: transform 0.2s; }
.function-section[open] > summary::before { transform: rotate(45deg); }
.function-section > summary > span:first-of-type { flex: 1; }
.function-count { color: var(--faint); font-size: 13px; font-variant-numeric: tabular-nums; }
.prose .function-section ul { list-style: none; margin: 0; padding: 0 18px 10px 40px; }
.prose .function-section li { margin: 0; padding: 9px 0; border-top: 1px solid var(--hairline); }
.prose .function-section li:first-child { border-top: 0; }
.function-name { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.prose .function-name strong { font-weight: 500; }
.function-place { color: var(--muted); }
.function-suits { margin-left: auto; display: inline-flex; align-items: baseline; gap: 8px; font-size: 12.5px; color: var(--muted); }
.function-lights { padding: 0 6px; border: 1px solid currentColor; border-radius: 999px; font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--amber); }
.prose .function p { margin: 3px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }

.screensavers { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px; margin: 2em 0; }
.screensaver { margin: 0; }
.screensaver .bezel { padding: 9px; border-radius: 22px; background: #151517; border: 1px solid rgb(244 244 242 / 0.08);
  box-shadow: 0 14px 34px rgb(0 0 0 / 0.35), inset 0 1px 0 rgb(255 255 255 / 0.04); }
.screensaver canvas { display: block; width: 100%; aspect-ratio: 1; border-radius: 13px; background: #000; }
/* Enlarged (a Retina screen), the console's own pixels, crisp; made smaller, smooth. */
@media (min-resolution: 2dppx) { .screensaver canvas { image-rendering: pixelated; } }
.screensaver figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.screensaver figcaption strong { color: var(--ink); font-weight: 600; }
