/* ==========================================================================
   Right-Sized AI - portal stylesheet
   Palette from the cover (cover/cover.yml): the light sand ground, near-black
   title, the dark-orange title line, the teal code line, and the book's seven
   figure colours (front/conventions.qmd) in the cover strip's order. One theme,
   matching the printed object: the cover is light, so the page is light.
   Order: tokens -> reset -> layout -> portal components -> envelope checker.
   ========================================================================== */

:root {
  /* --- Extracted from the cover -------------------------------------------- */
  --ground:     #FAF4E8;   /* cover ground, top of the sand shade */
  --ground-2:   #F3E8D2;   /* the sand middle: section bands */
  --ground-3:   #ECD8B8;   /* the sand foot */
  --panel:      #FFFDF7;   /* the chip window / chart panel */
  --ink:        #111827;   /* cover title */
  --ink-soft:   #374151;   /* cover body */
  --ink-dim:    #5B6470;   /* cover muted */
  --rule:       #D9C8A8;
  --rule-soft:  #E6D9C0;
  --accent:     #C2410C;   /* cover title line: SMALL LANGUAGE MODELS IN PRODUCTION */
  --accent-fill:#EA580C;   /* the figure key's orange: the choice you make */
  --code:       #0F766E;   /* cover code line */

  /* The figure key, in the cover strip's order (front/conventions.qmd):
     blue input, yellow process, orange the choice, violet a gate, green passes,
     red a breached limit, grey behind the argument. Part colours use --p1..--p6;
     yellow is darkened for text on sand. */
  --k-blue: #2563EB; --k-yellow: #FACC15; --k-orange: #EA580C; --k-violet: #7C3AED;
  --k-green: #16A34A; --k-red: #DC2626; --k-grey: #6B7280;
  --p1: #2563EB; --p2: #A16207; --p3: #EA580C; --p4: #7C3AED; --p5: #16A34A; --p6: #DC2626;

  /* Envelope checker: the verdict colours are the key's. */
  --fits:      #16A34A;
  --fits-ink:  #15803D;
  --out:       #DC2626;
  --out-ink:   #B91C1C;
  --seg-weights: #4B5563;
  --seg-cache:   #9CA3AF;

  --measure: 68ch;
  --page:    1120px;
  --gap:     clamp(1rem, 4vw, 2.5rem);

  --font-sans: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

/* --- reset ------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  background-image:
    radial-gradient(120ch 80ch at 85% -10%, rgba(234, 88, 12, 0.07) 0%, transparent 62%),
    radial-gradient(90ch 60ch at 0% 8%, rgba(15, 118, 110, 0.05) 0%, transparent 55%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

code, kbd, pre { font-family: var(--font-mono); }
code { font-size: 0.92em; color: var(--code); }

/* --- layout ------------------------------------------------------------ */

.wrap { max-width: var(--page); margin-inline: auto; padding-inline: var(--gap); }

.section { padding-block: clamp(3rem, 8vw, 5.5rem); border-top: 1px solid var(--rule-soft); }
.section--band { background: rgba(243, 232, 210, 0.6); }

.prose { max-width: var(--measure); }
.prose p { margin-block: 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }

/* --- type -------------------------------------------------------------- */

h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
  margin: 0 0 1.1rem;
}
.eyebrow--accent { color: var(--accent); }

.h-section {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 0.7em;
}
.h-section span { color: var(--ink-soft); font-weight: 400; }

.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-soft); max-width: var(--measure); }

.mono { font-family: var(--font-mono); }

/* --- masthead ---------------------------------------------------------- */

.masthead__bar { display: flex; height: 8px; }
.masthead__bar span { flex: 1; }

.masthead__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
}
.masthead__meta strong { color: var(--ink-soft); font-weight: 600; }

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

.hero { padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(2.5rem, 6vw, 4rem); }

.hero__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) 380px; }
  .hero__art { order: 2; position: sticky; top: 2rem; }
}

/* The cover is painted at most 420px wide; cover.webp is generated at 2x that. */
.hero__art { max-width: 420px; }

.hero__art img {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(61, 47, 23, 0.25);
}

.hero__code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--code);
  margin: 0 0 0.9rem;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2.4rem, 6.4vw, 4rem);
  line-height: 0.99;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}
h1 .h1-line { display: block; }
h1 .h1-line--accent {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.36em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
  margin-top: 0.6rem;
}

.hero__sub {
  font-size: clamp(1.02rem, 1.9vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 1.75rem;
}

.thesis {
  border-left: 4px solid var(--accent-fill);
  padding: 0.1rem 0 0.1rem 1.15rem;
  margin: 0 0 1.9rem;
  max-width: 56ch;
}
.thesis b { display: block; font-size: 1.12rem; margin-bottom: 0.35rem; }
.thesis p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* --- hero links (no buy buttons until a storefront listing is live) --- */

.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.cta__link {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s, background-color 0.15s;
}
.cta__link:hover { border-color: var(--accent); background: rgba(234, 88, 12, 0.07); color: var(--ink); }
.cta__label { font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em; }
.cta__sub {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-dim);
}
.cta__link--primary { background: var(--accent-fill); border-color: var(--accent-fill); color: #fff; }
.cta__link--primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.cta__link--primary .cta__sub { color: rgba(255, 255, 255, 0.82); }

.cta-aside { margin: 1.05rem 0 0; font-size: 0.9rem; color: var(--ink-dim); }

/* --- figure strip ------------------------------------------------------ */

.figs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  margin-top: 2.75rem;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
  border-radius: 4px;
  overflow: hidden;
}
.fig { background: var(--ground); padding: 0.9rem 1rem; }
.fig__n {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  display: block;
}
.fig__l {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
}

/* --- concept grid ------------------------------------------------------ */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
  border-radius: 4px;
  overflow: hidden;
}
/* Six cards: a 300px floor gives three columns on desktop (two full rows), not 4 + 2. */
.cards--six { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--panel); padding: 1.15rem 1.25rem; }
.card__k {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  margin: 0 0 0.5rem;
}
.card__t {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent);
  margin: 0 0 0.45rem;
}
.card__d { margin: 0; font-size: 0.93rem; color: var(--ink-soft); }

/* --- contents ---------------------------------------------------------- */

.toc { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.75rem 1.5rem; }
.toc__part { border-top: 3px solid var(--c); padding-top: 0.8rem; }
.toc__label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--c);
  margin: 0 0 0.15rem;
}
.toc__title { font-size: 0.95rem; font-weight: 600; margin: 0 0 0.65rem; }
.toc__list { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; color: var(--ink-soft); }
.toc__list li { display: flex; gap: 0.6rem; padding-block: 0.18rem; }
.toc__list b { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-dim); font-weight: 500; min-width: 1.6em; }

.appendix-strip {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}
.tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  border: 1px solid var(--rule-soft);
  border-radius: 3px;
  padding: 0.3rem 0.65rem;
  background: var(--panel);
}

/* --- code block -------------------------------------------------------- */

pre.code {
  background: var(--panel);
  border: 1px solid var(--rule-soft);
  border-left: 3px solid var(--code);
  border-radius: 3px;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 1.4rem 0 0;
}
pre.code .c { color: var(--ink-dim); }
pre.code .k { color: var(--code); }

/* --- two-column split -------------------------------------------------- */

/* A grid/flex item defaults to min-width:auto, which lets a wide child push the
   whole track past the viewport. Reset it explicitly. */
.split > *, .hero__grid > *, .prose { min-width: 0; }

.split { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
@media (min-width: 860px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 860px) { .split--wide-left { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }

/* --- author ------------------------------------------------------------ */

.author__links { list-style: none; margin: 1.2rem 0 0; padding: 0; font-size: 0.93rem; }
.author__links li { padding-block: 0.2rem; }
.author__links span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  margin-right: 0.7rem;
}

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

.footer { border-top: 1px solid var(--rule-soft); padding-block: clamp(2.5rem, 6vw, 4rem) 4rem; }
.footer__meta {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
}

/* --- reveal on scroll (JS adds .is-in; content is visible by default) --- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

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

/* ==========================================================================
   The envelope checker (the centerpiece). A port of rightsize/sizing.py; the
   markup is built by assets/js/envelope-ui.js. Green is the key's "passes",
   red its "breached limit", grey the weights: the colours mean what they mean
   in the book's figures, and nothing else.
   ========================================================================== */

.env-section { border-top: 1px solid var(--rule-soft); padding-top: 1.5rem; margin-top: 2rem; }
.env-section > h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); line-height: 1.15; margin: 0 0 0.25rem; }
.env-section > .hint { color: var(--ink-soft); margin: 0 0 1.25rem; max-width: 68ch; }

/* ---- forms ---- */
.fields { display: grid; gap: 0.9rem 1rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.field > span { font: 600 0.7rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-dim); }
.field small { color: var(--ink-dim); font-size: 0.78rem; line-height: 1.35; }
#envelope input, #envelope select, #envelope button { font: inherit; color: inherit; }
#envelope input, #envelope select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 0.5rem 0.6rem;
  min-height: 2.5rem;
}
#envelope input:hover, #envelope select:hover { border-color: #B9A27A; }
#envelope input[type="number"] { font-variant-numeric: tabular-nums; }

.btn {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 0.5rem 0.9rem;
  min-height: 2.5rem;
  cursor: pointer;
}
.btn:hover { border-color: var(--accent); }
.btn-primary { background: var(--accent-fill); border-color: var(--accent-fill); color: #fff; font-weight: 600; }
.btn-primary:hover { background: var(--accent); }
.btn-quiet { background: none; border-color: transparent; color: var(--ink-soft); }
.btn-quiet:hover { color: var(--ink); border-color: var(--rule); }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }

/* ---- candidate cards ---- */
.cands { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); } /* up to 4 cards: 2 x 2, never 3 + 1 */
.cand { background: var(--panel); border: 1px solid var(--rule); border-radius: 10px; padding: 1rem; min-width: 0; }
.cand-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.75rem; }
.cand-head h3 { margin: 0; font: 600 0.75rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-dim); }
.cand .fields { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.fetch-row { display: flex; gap: 0.5rem; }
.fetch-row input { flex: 1; min-width: 0; }
.status { font-size: 0.85rem; margin: 0.5rem 0 0.75rem; color: var(--ink-soft); min-height: 1.2em; }
.status.ok::before { content: "\2713  "; color: var(--fits-ink); }
.status.bad { color: var(--out-ink); }
.note { font-size: 0.82rem; color: var(--out-ink); margin: 0.4rem 0 0; }
details.shape { margin-top: 0.9rem; border-top: 1px dashed var(--rule); padding-top: 0.6rem; }
details.shape summary { cursor: pointer; color: var(--ink-soft); font-size: 0.9rem; }
details.shape[open] summary { margin-bottom: 0.75rem; }

/* ---- results ---- */
.decision { background: var(--panel); border-left: 3px solid var(--fits); border-radius: 0 8px 8px 0; padding: 1rem 1.1rem; margin-bottom: 1.25rem; max-width: 80ch; }
.decision.none { border-left-color: var(--out); }
.decision p { margin: 0 0 0.5rem; }
.decision p:last-child { margin-bottom: 0; }
.decision .order { font-weight: 600; }

.rows { display: grid; gap: 1rem; }
.row { border: 1px solid var(--rule); border-radius: 10px; padding: 1rem; background: var(--panel); min-width: 0; }
.row-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1rem; margin-bottom: 0.8rem; }
.row-name { font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; }
.row-name small { color: var(--ink-dim); font-weight: 400; font-size: 0.85rem; margin-left: 0.4rem; }
.chip { font: 600 0.72rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; padding: 0.4rem 0.6rem; border-radius: 999px; white-space: nowrap; }
.chip.ok { background: var(--fits); color: #fff; }
.chip.no { background: var(--out); color: #fff; }
.chip.first { background: none; border: 1px solid var(--accent); color: var(--accent); margin-right: 0.4rem; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0.75rem 1rem; margin: 0 0 0.9rem; }
.stat dt { font: 600 0.68rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-dim); }
.stat dd { margin: 0.2rem 0 0; font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.stat dd small { display: block; color: var(--ink-dim); font-size: 0.8rem; }
.stat .bad { color: var(--out-ink); }

/* memory bar: weights | cache | overhead band, against the device line */
.bar { position: relative; height: 22px; background: var(--ground-2); border-radius: 4px; margin: 0.4rem 0 0.3rem; overflow: hidden; }
.bar span { position: absolute; top: 0; bottom: 0; }
.bar .w { background: var(--seg-weights); }
.bar .c { background: var(--seg-cache); }
.bar .o { background: repeating-linear-gradient(135deg, var(--seg-cache) 0 3px, transparent 3px 7px); opacity: 0.8; }
.bar .dev { width: 2px; background: var(--k-blue); z-index: 1; }
.bar .dev.over { background: var(--out); }
.bar-legend { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; font-size: 0.78rem; color: var(--ink-soft); }
.bar-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 0.35rem; vertical-align: -1px; }
.bar-legend .lw { background: var(--seg-weights); }
.bar-legend .lc { background: var(--seg-cache); }
.bar-legend .lo { background: repeating-linear-gradient(135deg, var(--seg-cache) 0 2px, transparent 2px 4px); }
.bar-legend .ld { background: var(--k-blue); width: 2px; }

.reading { color: var(--ink-soft); font-size: 0.92rem; margin: 0.6rem 0 0; max-width: 80ch; }

details.resp { margin-top: 0.9rem; border-top: 1px solid var(--rule); padding-top: 0.7rem; }
details.resp summary { cursor: pointer; font-weight: 600; color: var(--out-ink); }
details.resp ol { margin: 0.75rem 0 0; padding-left: 1.3rem; display: grid; gap: 0.6rem; max-width: 80ch; }
details.resp li::marker { color: var(--ink-dim); font-weight: 600; }
details.resp li b { color: var(--ink); }
details.resp li { color: var(--ink-soft); }
.yes { color: var(--fits-ink); font-weight: 600; }
.no-txt { color: var(--out-ink); font-weight: 600; }

.notjudged { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)); }
.notjudged article { background: var(--panel); border: 1px solid var(--rule); border-radius: 10px; padding: 1rem; }
.notjudged h4 { margin: 0 0 0.4rem; font-size: 1rem; }
.notjudged p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 1.25rem; color: var(--ink-soft); font-size: 0.85rem; }
.env-foot { margin-top: 2.5rem; color: var(--ink-dim); font-size: 0.82rem; border-top: 1px solid var(--rule-soft); padding-top: 1rem; max-width: 80ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: no-preference) {
  .bar span { transition: left 0.25s ease, width 0.25s ease; }
}

/* Buy rows: the other Amazon stores, one quiet line under each row. */
.stores { margin: 0.8rem 0 0; font-size: 0.86rem; color: var(--ink-dim); }
.stores a { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; }

/* Sticky buy bar: shown by portal.js once the hero's buy row (#hero-buy) has left the viewport. */
.stickybar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(250, 244, 232, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--rule);
  transform: translateY(101%);
  transition: transform 0.25s ease;
}
body.show-bar .stickybar { transform: translateY(0); }
.stickybar__in {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.6rem;
  flex-wrap: wrap;
}
.stickybar__t {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  margin-right: auto;
}
.stickybar .cta__link { padding: 0.45rem 0.9rem; }
.stickybar .cta__sub { display: none; }
@media (max-width: 560px) { .stickybar__t { display: none; } .stickybar__in { justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .stickybar { transition: none; } }
