/* Beersmas — frosted glass over a slow carbonation field: lager haze by day, stout by night.
   A file, not inline: the pages' policy takes styles from the site alone (SECURITY.md 7). */

/* Bricolage Grotesque for headings, served from the site (fonts/OFL.txt): the same on
   every device. Latin, and accented Latin only when a page needs it. */
@font-face {
  font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url("fonts/bricolage-latin.256a3fbbb763.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
                 U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url("fonts/bricolage-latin-ext.2c3e5e15aa6c.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
                 U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113,
                 U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --sky-a: #f6d58e;        /* pale lager */
  /* Light enough that text straight on the sky — a back link, a heading, a muted line —
     clears 4.5:1 anywhere on it, the amber and sage corners included. */
  --sky-b: #f0b26a;        /* amber */
  --sky-c: #a9c9b4;        /* sage */
  --glass: rgba(255, 252, 245, 0.55);
  --glass-strong: rgba(255, 252, 245, 0.74);
  --glass-edge: rgba(255, 255, 255, 0.75);
  --glass-hi: rgba(255, 255, 255, 0.9);
  --shadow: rgba(74, 40, 10, 0.18);
  --ink: #2a1a0c;
  --muted: #54402e;
  --accent: #11493b;       /* evergreen */
  --accent-ink: #f7fbf8;
  --ring: rgba(17, 73, 59, 0.45);
  --error: #7f230e;
  --foam: #fffaf0;
  --field: rgba(255, 255, 255, 0.62);
  --btn: #fff7ea;                /* a button: solid, never glass, so it reads as one */
  --btn-hover: #fffdf8;
  --btn-edge: rgba(74, 40, 10, 0.14);
  --btn-hi: #ffffff;
  --btn-shadow: 0 1px 0 rgba(74, 40, 10, 0.10), 0 8px 18px -10px rgba(74, 40, 10, 0.45);
  --display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* One spacing scale: every margin, padding and gap is a step of it — not a control's
     own padding, which sets its 44px target. Two radii: a card's, and anything in one. */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem;
  --r-card: 20px; --r-inner: 12px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --sky-a: #1a0f09; --sky-b: #4a2410; --sky-c: #0f2a23;
    --glass: rgba(40, 26, 18, 0.5); --glass-strong: rgba(52, 35, 24, 0.72);
    --glass-edge: rgba(255, 220, 180, 0.16); --glass-hi: rgba(255, 230, 200, 0.2);
    --shadow: rgba(0, 0, 0, 0.45);
    --ink: #f7eadb; --muted: #c2a88e;
    --accent: #7fd1b3; --accent-ink: #0d241d; --ring: rgba(127, 209, 179, 0.5);
    --error: #ff9d84;
    --foam: #f3e6cf; --field: rgba(20, 12, 8, 0.45);
    --btn: #4b3324; --btn-hover: #573c2a; --btn-edge: rgba(255, 220, 180, 0.14);
    --btn-hi: rgba(255, 230, 200, 0.18);
    --btn-shadow: 0 1px 0 rgba(0, 0, 0, 0.4), 0 10px 20px -10px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { background: var(--sky-a); }
body {
  margin: 0; min-height: 100vh; color: var(--ink);
  font: 1rem/1.5 var(--text);
  background-color: var(--sky-a);
  background-image:
    radial-gradient(60% 50% at 85% 10%, var(--sky-b), transparent 70%),
    radial-gradient(55% 45% at 5% 95%, var(--sky-c), transparent 70%),
    linear-gradient(160deg, var(--sky-a), var(--sky-b));
  background-attachment: fixed;
}
#fizz { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
main {
  position: relative; z-index: 1;
  max-width: 34rem; margin: 0 auto;
  padding: var(--s6) max(var(--s4), env(safe-area-inset-left, 0px)) var(--s6) max(var(--s4), env(safe-area-inset-right, 0px));
}

/* The glass: cards, list rows, calendar cells. */
.year, .panel, .suggest, ul.lineup li, .comment, figure.selfie, .calendar .cell, .beer-of-day {
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 18px 40px -18px var(--shadow);
  border-radius: var(--r-card);
}
/* A card's padding even on every side: its last child's margin dropped, so the space
   under its content is the padding, whatever comes last. A big card (a panel, a year)
   has the wide padding, a row card (a lineup row, a comment) the narrow. */
.panel > :last-child, .year > :last-child, .suggest > :last-child, .comment > :last-child,
.beer-of-day > :last-child { margin-bottom: 0; }

/* A card that is one link: its link (.card-link) stretched over the whole card, so a
   tap anywhere on it follows; another link in the card stays on top, its own target. */
.tappable { position: relative; }
.tappable a.card-link { text-decoration: none; }
.tappable a.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.tappable a:not(.card-link) { position: relative; z-index: 2; }
.tappable a.card-link:focus-visible { outline: none; }
.tappable a.card-link:focus-visible::after { outline: 3px solid var(--ring); outline-offset: 2px; }
@media (hover: hover) {
  .tappable:has(a.card-link:hover) { background: var(--glass-strong); }
  .tappable:has(a.card-link:hover) a.card-link { text-decoration: underline; text-decoration-thickness: 2px; }
}

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 6vw, 2.6rem); font-weight: 800; line-height: 1.05; margin: 0 0 var(--s2); }
h2 { font-size: 1.35rem; font-weight: 700; line-height: 1.15; margin: var(--s5) 0 var(--s2); }
h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.15; margin: var(--s4) 0 var(--s1); }
h3 .muted { font-weight: normal; }
p { margin: 0 0 var(--s4); }
.muted { color: var(--muted); }
a { color: var(--accent); font-weight: 600; text-underline-offset: 0.15em; }
/* A link on a line of its own — a "←" back, "Privacy": a full-size target. */
p.link-row { margin-bottom: var(--s2); }
p.link-row a { display: inline-flex; align-items: center; min-height: 44px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--ring); outline-offset: 2px;
}

/* A panel: the sign-in pages, the About page, a day's beer. */
.panel { padding: var(--s5); margin: var(--s4) 0 var(--s5); }
/* A message — "Saved", "Comment removed.", a refusal — a slim line, not a card: an edge
   on its left, the error color for an error; never the accent, which marks what can be
   tapped. On the sign-in pages, inside the card under its heading. */
.messages { list-style: none; padding: 0; margin: 0 0 var(--s4); display: grid; gap: var(--s2); }
.messages li {
  padding: var(--s2) var(--s3); background: var(--glass); border-left: 3px solid var(--muted);
  border-radius: 4px var(--r-inner) var(--r-inner) 4px;
  -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
}
.messages li.error { border-left-color: var(--error); }
.panel .messages { margin: 0 0 var(--s4); }
.panel .messages li { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: var(--s1) 0 var(--s1) var(--s3); }
/* On a phone, a panel's padding inside main's gutter leaves too narrow a column. */
@media (max-width: 30rem) { .panel, .year { padding: var(--s4); } }
ul.errorlist { color: var(--error); padding-left: var(--s4); margin: 0 0 var(--s3); }
p.error { color: var(--error); margin: var(--s2) 0 0; }
/* A field's own error, under it: the field's gap below taken up, the error's kept. */
form p.error { margin: calc(-1 * var(--s2)) 0 var(--s3); font-size: 0.9rem; }
[aria-invalid=true] { border-color: var(--error); }

/* Your page: one card per person, per year. */
.year { padding: var(--s5); margin: var(--s5) 0; }
.year h2 { margin-top: 0; }
.year button + button { margin-top: var(--s2); }
.year .note { font-size: 0.9rem; margin: var(--s2) 0 0; }
.stack { display: flex; flex-direction: column; gap: var(--s2); margin: var(--s3) 0 var(--s4); }

/* The header on every page of someone signed in: home on the left, Sign Out on the right. */
.site-head { display: flex; justify-content: space-between; align-items: center; margin: calc(-1 * var(--s4)) 0 var(--s3); }
.site-head .wordmark {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none;
  font: 800 1.15rem/1 var(--display); letter-spacing: -0.02em;
}
.site-head form { margin: 0; }
.site-head button.link { min-height: 44px; font-size: 0.9rem; }
@media print { .site-head { display: none; } }

/* Your Years: a tile a year, its status inside; a year sat out has no lineup to open. */
ul.years {
  list-style: none; padding: 0; margin: 0 0 var(--s5);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); gap: var(--s2);
}
.year-tile {
  display: flex; flex-direction: column; gap: 2px; min-height: 3.75rem; padding: var(--s2) var(--s3);
  border-radius: var(--r-inner); text-decoration: none; color: var(--ink);
  background: var(--btn); border: 2px solid var(--btn-edge); box-shadow: inset 0 1px 0 var(--btn-hi), var(--btn-shadow);
}
.year-tile b { font: 700 1.25rem/1.1 var(--display); letter-spacing: -0.02em; }
.year-tile span { font-size: 0.8rem; font-weight: normal; color: var(--muted); }
.year-tile.now { border-color: var(--accent); }
.year-tile.now b, .year-tile.now span { color: var(--accent); }
.year-tile.out { background: transparent; box-shadow: none; border-style: dashed; color: var(--muted); }
@media (hover: hover) { a.year-tile:hover { background: var(--btn-hover); } }
.year-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.year-head h2 { margin-bottom: var(--s1); }
/* A page's heading with an action beside it; the action drops below on a narrow screen. */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3) var(--s4); flex-wrap: wrap; margin-bottom: var(--s2); }
.page-head h1 { margin: 0; }
.button.compact, button.compact { width: auto; padding: 0.55rem 1.1rem; }
.head-actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
/* On a phone the head's buttons drop below the heading as one row, sharing it. */
@media (max-width: 30rem) {
  .head-actions { width: 100%; }
  .head-actions > .button { flex: 1 1 auto; }
}
/* A row of buttons that wraps on a narrow screen, each taking an even share. */
.actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s4) 0; }
.actions > .button { flex: 1 1 11rem; width: auto; }
.about-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.9rem; white-space: nowrap; }
.handoff { margin-top: calc(-1 * var(--s2)); }
.beer { display: flex; align-items: center; gap: var(--s4); }
.beer h1 { margin-bottom: var(--s1); }
/* A BA style's description: its names in a narrow column, the text beside. */
dl.style { display: grid; grid-template-columns: max-content 1fr; gap: var(--s1) var(--s4); }
dl.style dt { color: var(--muted); font-weight: 600; }
dl.style dd { margin: 0; }
details { margin: 0 0 var(--s4); }
summary { cursor: pointer; color: var(--accent); font-weight: 600; margin-bottom: var(--s3); }
.suggest { padding: var(--s3) var(--s4); margin-bottom: var(--s4); }
.suggest button + button { margin-top: var(--s2); }
.suggest .place { font-weight: normal; }

/* Forms. */
form { margin: 0 0 var(--s4); }
form.inline { margin: 0; }
label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--muted); margin-bottom: var(--s1); }
input[type=email], input[type=text], input[type=number], input[type=search], select, textarea {
  width: 100%; padding: 0.65rem 0.75rem; font: inherit; color: var(--ink);
  background: var(--field); border: 1px solid var(--glass-edge); border-radius: var(--r-inner); margin-bottom: var(--s3);
}
input[type=number] { width: 8rem; }
input[type=file] { display: block; margin-bottom: var(--s3); font: inherit; color: var(--muted); }
input[type=file]::file-selector-button {
  margin-right: 0.75rem; padding: 0.5rem 1.1rem; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
  background: var(--btn); border: 2px solid var(--btn-edge); border-radius: var(--r-inner);
  box-shadow: inset 0 1px 0 var(--btn-hi), var(--btn-shadow);
}
/* One button, the same on every page: solid and raised, never glass, which is for
   cards. A screen's main action (.main) is the same button lit: an accent edge and
   accent text. */
button, .button {
  display: inline-block; width: 100%; padding: 0.7rem 1rem; font: inherit; font-weight: 600;
  text-align: center; text-decoration: none; cursor: pointer; border-radius: var(--r-inner);
  border: 2px solid var(--btn-edge); background: var(--btn); color: var(--ink);
  box-shadow: inset 0 1px 0 var(--btn-hi), var(--btn-shadow);
}
button.main, .button.main { border-color: var(--accent); color: var(--accent); }
/* Every control answers: lighter under the pointer, pressed when tapped, dimmed while
   its form is on its way (submit.js). Hover only where there is a pointer to hover. */
@media (hover: hover) {
  button:not(.link):hover, .button:hover { background: var(--btn-hover); }
  button.link:hover, summary:hover { color: var(--ink); }
  button.link.danger:hover { color: var(--error); text-decoration-thickness: 2px; }
  a:hover { text-decoration-thickness: 2px; }
}
button:active, .button:active { transform: translateY(1px); box-shadow: inset 0 1px 0 var(--btn-hi); }
button.link:active { transform: none; }
button:disabled { opacity: 0.6; filter: none; transform: none; cursor: progress; }
/* The beer search: the field takes the row, its button beside it; the filters and the
   sort below in a grid — even columns, two on a phone, all four in a row when they fit.
   Then a strip of chips that jumps to a letter or a year, and each group headed. */
.searchbar { display: flex; gap: var(--s2); align-items: stretch; }
.searchbar input { flex: 1; margin-bottom: 0; }
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: var(--s2); margin-top: var(--s2); }
.filters select { width: 100%; min-width: 0; margin-bottom: 0; }
.jump { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0 0 var(--s2); }
.jump a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
  padding: 0 0.7rem; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-hi); color: var(--ink); font-weight: 600; text-decoration: none;
}
.jump a:hover { background: var(--glass-strong); }
h2.group { font-size: 1.1rem; margin: var(--s4) 0 var(--s2); scroll-margin-top: var(--s4); }
button.link {
  width: auto; padding: 0; border: 0; background: none; box-shadow: none; color: var(--muted);
  font-weight: normal; font-size: 0.85rem; text-decoration: underline;
}
.or { text-align: center; color: var(--muted); margin: var(--s4) 0; }

/* A beer's color, by its style's SRM: a pint, poured. */
.pint {
  display: inline-block; flex: none; width: 2.6rem; height: 3.4rem; position: relative;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
  background:
    radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.35) 0 1.5px, transparent 2px),
    radial-gradient(circle at 62% 50%, rgba(255, 255, 255, 0.3) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 45% 85%, rgba(255, 255, 255, 0.3) 0 1px, transparent 1.6px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.18)),
    var(--beer);
}
.pint::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 22%;
  background: var(--foam); border-radius: 0 0 40% 40% / 0 0 60% 60%;
}
/* A beer whose color is not known: an empty glass — clear, nothing poured, no foam
   or bubbles, the same in either theme. Never the card's own frost, which reads as
   pale in the light theme and dark in the dark one. */
.pint:not([class*="srm-"]) {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.12)),
    color-mix(in srgb, var(--muted) 16%, transparent);
}
.pint:not([class*="srm-"])::before { display: none; }

/* The lineup: a list on phones, a calendar on wide screens once the year starts. */
main.wide { max-width: 72rem; }
ul.lineup { list-style: none; padding: 0; margin: 0 0 var(--s5); display: grid; gap: var(--s2); }
ul.lineup li { padding: var(--s3) var(--s4); display: flow-root; }
ul.lineup .day { font-size: 0.9rem; }
/* A row's pint, or its selfie, at its right edge, centred on the card's height however
   many lines it runs to; the text kept clear of it, the card at least as tall as it. */
ul.lineup li:has(> .pint) { position: relative; padding-right: calc(var(--s4) + 2.6rem + var(--s3)); min-height: calc(3.4rem + 2 * var(--s3)); }
ul.lineup li:has(> .selfie-thumb) { position: relative; padding-right: calc(var(--s4) + 4.5rem + var(--s3)); min-height: calc(5.625rem + 2 * var(--s3)); }
ul.lineup li > .pint, ul.lineup li > .selfie-thumb { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); }
ul.lineup img.thumb { display: block; width: 4.5rem; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-inner); }
/* A day still to open: a dashed edge, as a year sat out has, and when it opens said.
   The card keeps its frosted fill — without it, the light theme's amber sky shows
   through and grey text on it is unreadable — and its pint its full color, the
   beer's profile at a glance. */
.calendar .cell.locked, ul.lineup li.locked {
  border-style: dashed; border-color: color-mix(in srgb, var(--muted) 45%, transparent);
  box-shadow: inset 0 1px 0 var(--glass-hi);
}
.calendar .opens { font-size: 0.75rem; color: var(--muted); margin: calc(-1 * var(--s1)) 0 var(--s1); }

/* A selfie keeps its beer's color: a small pint in its corner. */
.selfie-thumb { position: relative; display: block; }
.badge {
  position: absolute; right: 4px; bottom: 4px; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--glass-strong); border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.badge .pint, ul.lineup .badge .pint, .calendar .cell .badge .pint {
  float: none; display: block; margin: 0; width: 0.85rem; height: 1.1rem;
}
.calendar { display: none; }
.calendar .weekday {
  font-size: 0.75rem; font-weight: 700; color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.08em; text-align: center;
}
.calendar .cell {
  padding: var(--s2); min-height: 9rem; border-radius: var(--r-card);
  font-size: 0.85rem; line-height: 1.3; overflow-wrap: anywhere;
}
/* A date outside the year: its number alone, faint, no taller than it needs. */
.calendar .cell.outside {
  min-height: 0; align-self: start; padding-block: var(--s1); background: transparent; border-color: transparent;
  box-shadow: none; opacity: 0.45; -webkit-backdrop-filter: none; backdrop-filter: none;
}
.calendar .cell.outside .date { margin: 0; }
/* "Day N" in the headings' face, on the calendar and the lineup's list alike. */
.day-n { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; }
.calendar .date { font-weight: 700; color: var(--muted); margin-bottom: var(--s1); font-variant-numeric: tabular-nums; }
.calendar .cell img {
  display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-inner); margin: var(--s1) 0;
}
.calendar .cell .pint { display: block; margin: var(--s1) auto var(--s2); }
/* Who brought it, who said it: ink, not the accent, which is for links alone. */
.who { font-size: 0.8rem; color: var(--ink); font-weight: 600; }
@media (min-width: 760px) {
  .calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--s2); margin-bottom: var(--s5); }
  ul.lineup.by-day { display: none; }
}

/* A day: its beer, its selfie, its comments. */
.beer-of-day { padding: var(--s3) var(--s4); display: flex; align-items: center; gap: var(--s4); }
/* The selfie as tall as two thirds of the screen at most, its card as wide as the
   photo then: a portrait on a desktop leaves the comments in view. */
figure.selfie { margin: var(--s4) auto; padding: var(--s2); width: fit-content; max-width: 100%; }
figure.selfie img { display: block; max-width: 100%; max-height: 66vh; width: auto; height: auto; border-radius: var(--r-inner); }
figure.selfie figcaption { font-size: 0.9rem; margin: var(--s2) var(--s1) 0; }
.comment { padding: var(--s3) var(--s4); margin-bottom: var(--s2); }
/* An item's own actions — a comment's, a post's, a selfie's: one quiet row, each a
   full-size target; an edit, opened, takes the row's width. */
.item-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s4); }
.item-actions details { margin: 0; }
.item-actions details[open] { flex-basis: 100%; }
.item-actions summary, .item-actions button.link { display: inline-flex; align-items: center; min-height: 44px; margin: 0; }
.item-actions summary { color: var(--muted); font-weight: normal; font-size: 0.9rem; }
.item-actions button.link { font-size: 0.9rem; }
.item-actions .actions { margin: 0 0 var(--s2); }
button.link.danger { color: var(--error); }
.comment p { margin: 0 0 var(--s2); }
/* A day's pager: the days either side, as compact buttons beside its title and again
   at its foot. */
.pager { display: flex; gap: var(--s2); }
main > .pager { margin-top: var(--s5); }
main > .pager .next { margin-left: auto; }

/* About. */
/* About: a card per question, the question its heading. */
.about p { margin: 0 0 var(--s4); }
.about .panel { margin: 0 0 var(--s4); }
.about .qa h2 { margin: 0 0 var(--s2); font-size: 1.2rem; }

@media (prefers-reduced-motion: no-preference) {
  main { animation: rise 0.2s ease-out both; }
  @keyframes rise { from { transform: translateY(4px); opacity: 0.85; } to { transform: none; opacity: 1; } }
}
