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

:root {
  --text: #14161a;
  --muted: #6b7280;
  --surface: #ffffff;
  --line: oklch(0 0 0 / 0.08);
  --danger: #d92d20;
  --radius: 14px;
  --shadow-card: 0 0 0 1px oklch(0 0 0 / 0.04), 0 1px 2px oklch(0 0 0 / 0.06), 0 8px 24px oklch(0 0 0 / 0.06);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

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

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "PingFang HK", "Microsoft JhengHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[hidden] { display: none !important; }

h1, h2 { margin: 0; line-height: 1.2; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: 22px; font-weight: 650; }
p { margin: 0; text-wrap: pretty; }
.muted { color: var(--muted); }
.tabular { font-variant-numeric: tabular-nums; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition-property: scale, background-color, opacity, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}
.btn:active:not(:disabled) { scale: 0.96; }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn:focus-visible, .tile:focus-visible, .switch:focus-visible, .lb-btn:focus-visible, .new-pill:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px oklch(0 0 0 / 0.15), inset 0 1px 0 oklch(1 0 0 / 0.12); }
.btn-primary:hover:not(:disabled) { background: color-mix(in oklab, var(--accent), black 8%); }
.btn-ghost { background: oklch(0 0 0 / 0.05); color: var(--text); }
.btn-ghost:hover:not(:disabled) { background: oklch(0 0 0 / 0.09); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover:not(:disabled) { background: color-mix(in oklab, var(--danger), black 10%); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-sm::before { content: ""; position: absolute; inset: -4px 0; }
.btn-block { width: 100%; }

.btn .spinner-sm { display: none; }
.btn.is-loading .spinner-sm { display: inline-block; }
.btn.is-loading .btn-label { opacity: 0.7; }

/* Spinner */
.spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2.5px solid oklch(0 0 0 / 0.12);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.spinner-sm { width: 16px; height: 16px; border-width: 2px; border-color: oklch(1 0 0 / 0.35); border-top-color: #fff; }
@keyframes spin { to { rotate: 360deg; } }

/* Login */
.login-wrap {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: calc(24px + var(--safe-top)) 16px calc(24px + var(--safe-bottom));
}
.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.login-banner { display: block; width: 100%; max-height: 180px; object-fit: cover; }
.login-body { padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.login-logo { height: 40px; width: auto; align-self: flex-start; margin-bottom: 8px; }
.login-body h1 { margin-bottom: 4px; }
.login-body form { margin-top: 16px; display: flex; flex-direction: column; gap: 14px; }

.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 550; }
.field input, .search {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid color-mix(in oklab, var(--text), transparent 86%);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  transition-property: border-color, box-shadow;
  transition-duration: 150ms;
}
.field input:focus, .search:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent), transparent 80%);
}
.form-error { min-height: 1.5em; color: var(--danger); font-size: 14px; }
.footer-text { color: var(--muted); font-size: 13px; text-align: center; padding: 8px 16px calc(16px + var(--safe-bottom)); }

/* Gallery chrome */
.event-banner { display: block; width: 100%; max-height: 260px; object-fit: cover; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(12px + var(--safe-top)) 16px 12px;
  background: color-mix(in oklab, var(--bg), transparent 12%);
  backdrop-filter: saturate(1.8) blur(16px);
  -webkit-backdrop-filter: saturate(1.8) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.topbar-copy { display: flex; align-items: center; gap: 12px; min-width: 0; }
.topbar-text { min-width: 0; }
.topbar-copy h1 { font-size: 19px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-copy .muted { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-logo { height: 32px; width: auto; flex-shrink: 0; }
.topbar-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.photo-count { font-variant-numeric: tabular-nums; }
#event-subtitle:not([hidden]) + .photo-count::before { content: " · "; }

.gallery-main { padding: 2px; }
@media (min-width: 720px) {
  .gallery-main { padding: 16px; }
  .topbar { padding-left: 24px; padding-right: 24px; }
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
@media (min-width: 560px) { .grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; } }

.tile {
  position: relative;
  display: block;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: oklch(0 0 0 / 0.06);
  overflow: hidden;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 720px) { .tile { border-radius: 10px; } }
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 250ms var(--ease);
}
.tile img.loaded { opacity: 1; }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px oklch(0 0 0 / 0.1);
  pointer-events: none;
}
@media (hover: hover) {
  .tile img { transition-property: opacity, scale; transition-duration: 250ms, 400ms; }
  .tile:hover img { scale: 1.03; }
}

/* Selection (admin) */
.grid.selecting .tile { cursor: pointer; }
.tile .check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: oklch(0 0 0 / 0.25);
  box-shadow: 0 1px 3px oklch(0 0 0 / 0.3);
  display: none;
  place-items: center;
  color: #fff;
  z-index: 1;
}
.tile .check svg { width: 16px; height: 16px; opacity: 0; scale: 0.25; filter: blur(4px); transition-property: opacity, scale, filter; transition-duration: 200ms; transition-timing-function: var(--ease); }
.grid.selecting .tile .check { display: grid; }
.tile.selected .check { background: var(--accent); }
.tile.selected .check svg { opacity: 1; scale: 1; filter: blur(0); }
.tile.selected img { scale: 0.9; border-radius: 8px; }

/* States */
.state {
  max-width: 420px;
  margin: 48px auto;
  padding: 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.state svg { width: 44px; height: 44px; color: var(--muted); stroke-width: 1.5; }
.state h2 { font-size: 18px; font-weight: 600; }
.state .btn { margin-top: 8px; }
.grid { transition: opacity 150ms var(--ease); }
.grid.is-loading { opacity: 0.55; pointer-events: none; }
.page-loading { display: flex; justify-content: center; padding: 48px 0; }
.page-loading[hidden] { display: none; }

/* Pager */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 12px calc(28px + var(--safe-bottom));
}
.pager[hidden] { display: none; }
.pager-pages { display: flex; align-items: center; gap: 4px; }
.pager-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--text);
  font-size: 15px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition-property: scale, background-color, color;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}
.pager-btn::before { content: ""; position: absolute; inset: -2px; }
a.pager-btn:hover { background: color-mix(in oklab, var(--text), transparent 92%); }
a.pager-btn:active { scale: 0.94; }
a.pager-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pager-btn.current { background: var(--accent); color: #fff; }
a.pager-btn.current:hover { background: var(--accent); }
.pager-btn.step { padding: 0 14px; background: color-mix(in oklab, var(--text), transparent 94%); }
.pager-btn.step svg { width: 18px; height: 18px; stroke-width: 2; flex-shrink: 0; }
.pager-btn[aria-disabled="true"] { opacity: 0.35; }
.pager-gap { min-width: 20px; text-align: center; color: var(--muted); }
@media (max-width: 560px) {
  .pager { gap: 4px; }
  .pager-btn { min-width: 36px; height: 36px; padding: 0 8px; font-size: 14px; }
  .pager-btn.step { padding: 0 10px; }
  .pager-btn.step span { display: none; }
  .pager-gap { min-width: 14px; }
}

.new-pill {
  position: fixed;
  top: calc(72px + var(--safe-top));
  left: 50%;
  translate: -50% 0;
  z-index: 20;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 16px oklch(0 0 0 / 0.2);
  cursor: pointer;
  animation: pill-in 300ms var(--ease);
  transition: scale 150ms var(--ease);
}
.new-pill:active { scale: 0.96; }
@keyframes pill-in { from { opacity: 0; translate: -50% -8px; } }

/* Toast */
.toast-host {
  position: fixed;
  left: 50%;
  bottom: calc(24px + var(--safe-bottom));
  translate: -50% 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  width: max-content;
  max-width: calc(100vw - 32px);
}
.toast {
  padding: 10px 16px;
  border-radius: 12px;
  background: #1c1e22;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 8px 24px oklch(0 0 0 / 0.25);
  transition-property: opacity, translate;
  transition-duration: 200ms;
  transition-timing-function: ease-out;
}
.toast.error { background: var(--danger); }
.toast.entering, .toast.leaving { opacity: 0; translate: 0 6px; }

/* Lightbox */
body.lb-open { overflow: hidden; }
.lb-spacer { min-width: 44px; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  touch-action: none;
  transition: opacity 200ms ease-out;
}
.lightbox.entering, .lightbox.leaving { opacity: 0; }
.lb-bar {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 8px;
  transition: opacity 200ms ease-out;
}
.lb-top { top: 0; padding-top: calc(8px + var(--safe-top)); background: linear-gradient(oklch(0 0 0 / 0.55), transparent); }
.lb-bottom { bottom: 0; padding-bottom: calc(10px + var(--safe-bottom)); background: linear-gradient(transparent, oklch(0 0 0 / 0.55)); justify-content: center; gap: 12px; }
.lightbox.chrome-hidden .lb-bar, .lightbox.chrome-hidden .lb-nav { opacity: 0; pointer-events: none; }
.lb-counter { font-size: 14px; font-variant-numeric: tabular-nums; padding: 0 8px; opacity: 0.85; }
.lb-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.12);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition-property: scale, background-color;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}
.lb-btn:hover { background: oklch(1 0 0 / 0.2); }
.lb-btn:active { scale: 0.96; }
.lb-btn svg { width: 22px; height: 22px; stroke-width: 2; }
.lb-btn.danger { background: color-mix(in oklab, var(--danger), transparent 15%); }
.lb-btn.is-loading { opacity: 0.6; pointer-events: none; }
.lb-stage {
  position: relative;
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img {
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transition: translate 250ms var(--ease);
}
.lb-img.dragging { transition: none; }
.lb-img.placeholder { filter: blur(6px); scale: 1.01; }
.lb-loading { position: absolute; z-index: 1; border-color: oklch(1 0 0 / 0.2); border-top-color: #fff; }
.lb-nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 2;
  display: none;
  transition: opacity 200ms ease-out;
}
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
@media (hover: hover) and (min-width: 720px) { .lb-nav { display: inline-flex; } }

/* Dialog */
.dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
  background: oklch(0 0 0 / 0.45);
  transition: opacity 150ms ease-out;
}
.dialog-backdrop.entering, .dialog-backdrop.leaving { opacity: 0; }
.dialog {
  width: 100%;
  max-width: 380px;
  padding: 24px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 24px 64px oklch(0 0 0 / 0.3);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: scale 150ms ease-out;
}
.dialog-backdrop.entering .dialog { scale: 0.97; }
.dialog h2 { font-size: 18px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }

/* Admin */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 16px;
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); padding: 20px 24px 8px; } }
.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  min-width: 0;
}
.stat-label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-value { font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; }
.stat-detail { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  border-radius: 8px;
}
.switch-track {
  position: relative;
  width: 46px;
  height: 28px;
  border-radius: 999px;
  background: oklch(0 0 0 / 0.18);
  transition: background-color 200ms var(--ease);
}
.switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px oklch(0 0 0 / 0.25);
  transition: translate 200ms var(--ease);
}
.switch[aria-checked="true"] .switch-track { background: #16a34a; }
.switch[aria-checked="true"] .switch-thumb { translate: 18px 0; }
.switch:disabled { opacity: 0.6; cursor: default; }

.failures { padding: 0 16px; }
@media (min-width: 900px) { .failures { padding: 8px 24px 0; } }
.failures details { padding: 12px 16px; border-radius: var(--radius); background: #fff7ed; color: #9a3412; font-size: 14px; }
.failures summary { cursor: pointer; font-weight: 600; }
.failures ul { margin: 8px 0 0; padding-left: 18px; }
.failures li { margin: 4px 0; word-break: break-all; }

.toolbar {
  position: sticky;
  top: 61px;
  z-index: 9;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 16px;
  background: color-mix(in oklab, var(--bg), transparent 8%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@media (min-width: 720px) { .toolbar { padding: 12px 24px; } }
.search { flex: 1 1 240px; min-height: 40px; font-size: 15px; }
.toolbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.selection-bar {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--accent), transparent 90%);
  font-size: 14px;
}
.selection-bar[hidden] { display: none; }
#selection-summary { font-weight: 550; }
.selection-tip { margin-left: auto; font-size: 13px; }
@media (hover: none) { .selection-tip { display: none; } }
.link-btn {
  position: relative;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.link-btn::before { content: ""; position: absolute; inset: -10px -6px; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.link-btn[hidden] { display: none; }

/* Pages that contain selected photos get a dot */
.pager-btn.has-selected::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--bg);
}
.pager-btn.current.has-selected::after { background: #fff; box-shadow: 0 0 0 2px var(--accent); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; stroke-width: 2; flex-shrink: 0; }
.btn-icon { width: 36px; padding: 0; flex-shrink: 0; }
#search-me { padding-left: 12px; }

/* Album tabs (e.g. All photos / Group photos) */
.tabs {
  display: flex;
  gap: 6px;
  padding: 10px 12px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--text), transparent 94%);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition-property: scale, background-color, color;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}
.tab:hover { background: color-mix(in oklab, var(--text), transparent 90%); }
.tab:active { scale: 0.96; }
.tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tab[aria-current="page"] { background: var(--accent); color: #fff; }
.tab-count { font-weight: 500; opacity: 0.7; }
.tab-count:empty { display: none; }
@media (min-width: 720px) { .tabs { padding: 16px 24px 0; } }

/* Search me */
.search-main { padding: 16px 12px calc(24px + var(--safe-bottom)); }
.search-card {
  max-width: 440px;
  margin: 24px auto;
  padding: 32px 24px 24px;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.search-card h2 { font-size: 21px; font-weight: 650; }
.search-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--accent), transparent 88%);
  color: var(--accent);
}
.search-icon svg { width: 34px; height: 34px; stroke-width: 1.75; }
.search-pick { margin-top: 12px; width: 100%; max-width: 320px; }
.search-privacy { font-size: 13px; }
.search-card .form-error:empty { display: none; }

.selfie-wrap { position: relative; width: 112px; height: 112px; margin-bottom: 8px; }
.selfie-preview {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: color-mix(in oklab, var(--text), transparent 92%);
  outline: 1px solid oklch(0 0 0 / 0.08);
  outline-offset: -1px;
}
.selfie-scan {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 3px solid color-mix(in oklab, var(--accent), transparent 80%);
  border-top-color: var(--accent);
  animation: spin 1.1s linear infinite;
}
.selfie-sm { width: 48px; height: 48px; flex-shrink: 0; }

.search-results { max-width: 1400px; margin: 0 auto; }
.results-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 16px;
}
.results-copy { flex: 1; min-width: 0; }
.results-copy h2 { font-size: 18px; font-weight: 650; }
.results-copy p { font-size: 13px; }
@media (max-width: 560px) {
  .results-head { flex-wrap: wrap; }
  .results-head .btn { width: 100%; }
}

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