:root {
  --bg: #0b0e14;
  --bg-elev: #141924;
  --bg-elev-2: #1c2231;
  --line: #262e3f;
  --text: #eef2f8;
  --muted: #93a0b8;
  --accent: #8b5cf6;
  --accent-soft: #a78bfa;
  --accent-ink: #ffffff;
  --good: #38d39f;
  --danger: #ff6b6b;
  --radius: 14px;
  --tabbar-h: 62px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

body { padding-bottom: calc(var(--tabbar-h) + var(--safe-b)); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------------ topbar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(var(--safe-t) + 12px) 16px 12px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent);
}

.icon-btn {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg-elev);
  cursor: pointer;
}
.icon-btn:active { transform: scale(0.94); }
.icon-btn.spinning svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* -------------------------------------------------------------------- view */

.view { padding: 16px; max-width: 900px; margin: 0 auto; }
.view:focus { outline: none; }

.section-title {
  margin: 26px 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-title:first-child { margin-top: 4px; }

.empty {
  padding: 44px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.empty strong { display: block; color: var(--text); margin-bottom: 6px; font-size: 16px; }

/* ------------------------------------------------------------------ zoeken */

.searchbar {
  display: flex; gap: 10px; align-items: center;
  padding: 11px 14px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.searchbar input {
  flex: 1; min-width: 0;
  background: none; border: 0; outline: none;
  color: var(--text); font-size: 16px;
}
.searchbar input::placeholder { color: var(--muted); }
.searchbar input::-webkit-search-cancel-button { display: none; }

.clear-q {
  display: grid; place-items: center;
  width: 26px; height: 26px; flex: none;
  border: 0; border-radius: 50%;
  background: var(--bg-elev-2); color: var(--muted); cursor: pointer;
}
.clear-q svg { width: 14px; height: 14px; stroke-width: 2.4; }

/* ------------------------------------------------------------- startpagina */

.greeting {
  margin: 2px 0 18px;
  font-size: 25px; font-weight: 700; letter-spacing: -0.03em;
}

.row-scroll.wide { gap: 14px; }

.wide-card { width: 232px; flex: none; scroll-snap-align: start; cursor: pointer; }
.wide-card .thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px; overflow: hidden;
  background: var(--bg-elev-2);
}
.wide-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wide-card h3 {
  margin: 8px 2px 0; font-size: 14px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wide-card .sub { margin: 2px 2px 0; font-size: 12px; color: var(--muted); }

.chip-time {
  position: absolute; left: 8px; bottom: 10px;
  padding: 3px 8px; border-radius: 7px;
  background: rgba(0,0,0,.7); backdrop-filter: blur(4px);
  font-size: 11px; font-weight: 600;
}

.tick {
  position: absolute; right: 8px; bottom: 8px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
  border: 0; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.45);
}
.tick svg { width: 17px; height: 17px; stroke-width: 3; }
.tick:active { transform: scale(0.92); }

.seg button b {
  display: inline-block; margin-left: 4px;
  font-size: 11px; font-weight: 700; opacity: .65;
}

/* ------------------------------------------------------------------ ontdek */

.row-scroll {
  display: flex; gap: 12px;
  margin: 0 -16px; padding: 2px 16px 4px;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.row-scroll::-webkit-scrollbar { display: none; }
.row-scroll .card { width: 116px; flex: none; scroll-snap-align: start; }
.row-scroll .spinner { margin: 30px auto; }

.disc-row { margin-bottom: 6px; }

/* --------------------------------------------------------------- catalogus */

.backlink {
  display: inline-flex; align-items: center; gap: 4px;
  margin-bottom: 12px;
  color: var(--muted); font-size: 13.5px; font-weight: 600;
}
.backlink svg { width: 16px; height: 16px; }

.filters { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.filters .seg { flex: 1; }

.select {
  padding: 10px 12px;
  background: var(--bg-elev); color: var(--text);
  border: 1px solid var(--line); border-radius: 12px;
  font: inherit; font-size: 13.5px; font-weight: 600;
  outline: none; cursor: pointer;
  max-width: 48%;
}

.chips {
  display: flex; gap: 8px;
  margin: 12px -16px 0; padding: 0 16px 2px;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }

.chip {
  flex: none;
  padding: 8px 13px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg-elev); color: var(--muted);
  font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer;
}
.chip.on { background: var(--accent); color: var(--accent-ink); border-color: transparent; }

/* ---------------------------------------------------------------- posters */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  gap: 14px 12px;
}

.card { display: block; position: relative; }
.card .poster {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 11px;
  overflow: hidden;
  background: var(--bg-elev-2);
}
.card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .noimg {
  display: grid; place-items: center; height: 100%;
  color: var(--muted); font-size: 11px; text-align: center; padding: 8px;
}
.card-foot { display: flex; align-items: flex-start; gap: 6px; }
.card-text { flex: 1; min-width: 0; }

.card h3 {
  margin: 7px 2px 0;
  font-size: 13px; font-weight: 600; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card .sub { margin: 2px 2px 0; font-size: 11.5px; color: var(--muted); }

.card-check {
  flex: none; margin-top: 6px;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: none; border: 0; cursor: pointer;
  color: var(--accent-soft);
}
.card-check svg { width: 17px; height: 17px; stroke-width: 2.6; }
.card-check:hover { color: var(--accent); }
.card-check:active { transform: scale(0.9); }
.card-check.done { color: var(--good); }

.badge {
  position: absolute; top: 6px; left: 6px;
  padding: 3px 7px; border-radius: 7px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.03em;
  background: rgba(0,0,0,.72); backdrop-filter: blur(4px);
}
.badge.right { left: auto; right: 6px; }
.badge.gold { background: var(--accent); color: var(--accent-ink); }
.badge.good { background: var(--good); color: #052a20; }

.progress {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 4px; background: rgba(0,0,0,.55);
}
.progress i { display: block; height: 100%; background: var(--accent); }

/* -------------------------------------------------------------------- rows */

.rows { display: flex; flex-direction: column; gap: 10px; }
.row {
  display: flex; gap: 12px; align-items: center;
  padding: 10px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.row img, .row .noimg-sm {
  width: 52px; height: 78px; border-radius: 8px; object-fit: cover;
  background: var(--bg-elev-2); flex: none;
}
.row .info { flex: 1; min-width: 0; }
.row .info h3 { margin: 0 0 3px; font-size: 15px; font-weight: 600; }
.row .info p { margin: 0; font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------------------ knoppen */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg-elev-2);
  cursor: pointer;
  font-size: 14.5px; font-weight: 600;
}
.btn:active { transform: scale(0.98); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--danger); }
.btn.block { width: 100%; }
.btn svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }

.seg {
  display: flex; padding: 3px; gap: 3px;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: 12px;
}
.seg button {
  flex: 1; padding: 8px 6px; border: 0; border-radius: 9px;
  background: none; cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--muted);
}
.seg button[aria-pressed="true"] { background: var(--bg-elev-2); color: var(--text); }

/* ------------------------------------------------------------------- sheet */

.sheet-backdrop {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(0,0,0,.6);
  animation: fade .18s ease;
}
@keyframes fade { from { opacity: 0; } }

.sheet {
  position: fixed; inset: 0; z-index: 41;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: var(--bg);
  animation: slide-up .24s cubic-bezier(.2,.8,.3,1);
}
@keyframes slide-up { from { transform: translateY(3%); opacity: 0; } }

.sheet-hero { position: relative; }
.sheet-hero .backdrop { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; opacity: .55; }
.sheet-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 30%, var(--bg));
}
.sheet-close {
  position: absolute; top: calc(var(--safe-t) + 10px); left: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0,0,0,.6); border: 0; cursor: pointer; backdrop-filter: blur(6px);
}

.sheet-body { position: relative; z-index: 1; padding: 0 16px 40px; max-width: 760px; margin: 0 auto; }
.sheet-head { display: flex; gap: 14px; margin-top: -56px; }
.sheet-head img, .sheet-head .noimg-sm {
  width: 104px; aspect-ratio: 2/3; border-radius: 11px; object-fit: cover; flex: none;
  box-shadow: 0 10px 28px rgba(0,0,0,.5);
}
.sheet-head .meta { padding-top: 62px; min-width: 0; }
.sheet-head h2 { margin: 0 0 4px; font-size: 21px; line-height: 1.2; letter-spacing: -0.02em; }
.sheet-head .meta p { margin: 0; color: var(--muted); font-size: 13px; }

.overview { margin: 18px 0 0; color: #c6d0e0; font-size: 14.5px; }

.stars { display: flex; gap: 2px; }
.stars button { background: none; border: 0; padding: 3px 1px; cursor: pointer; color: var(--line); }
.stars button.on { color: var(--accent); }
.stars svg { width: 26px; height: 26px; fill: currentColor; stroke: none; }

textarea.notes {
  width: 100%; min-height: 84px; resize: vertical;
  padding: 11px 12px;
  background: var(--bg-elev); color: var(--text);
  border: 1px solid var(--line); border-radius: 11px;
  font: inherit; outline: none;
}
textarea.notes:focus { border-color: var(--accent); }

/* ---------------------------------------------------------------- bioscoop */

.cinema-film {
  padding: 14px;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: 13px;
}
.cinema-film-head h3 { margin: 0 0 3px; font-size: 15.5px; font-weight: 600; }
.cinema-film-head p { margin: 0; font-size: 12.5px; color: var(--muted); }

.cinema-film[data-film] { cursor: pointer; }
.cinema-film.busy { opacity: .55; }

.tag {
  display: inline-block; margin-top: 7px;
  padding: 3px 8px; border-radius: 7px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 11px; font-weight: 700;
}

.hint {
  margin: 10px 0 0;
  color: var(--muted); font-size: 12.5px; line-height: 1.5;
}
.hint a { color: var(--accent); }

.cinema-times { margin-top: 12px; }
.cinema-times .where {
  display: block; margin-bottom: 6px;
  font-size: 12px; color: var(--muted); font-weight: 600;
}
.cinema-times .times { display: flex; flex-wrap: wrap; gap: 6px; }

.time {
  display: inline-flex; flex-direction: column; align-items: center;
  padding: 6px 10px; border-radius: 9px;
  background: var(--bg-elev-2); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.time i { font-style: normal; font-size: 10px; font-weight: 500; color: var(--muted); }
.time.sold { opacity: .45; text-decoration: line-through; }

/* ------------------------------------------------- beoordelingen & reviews */

.score-row { display: flex; gap: 10px; flex-wrap: wrap; }
.score {
  flex: 1; min-width: 92px;
  padding: 11px 13px; border-radius: 12px;
  background: var(--bg-elev); border: 1px solid var(--line);
}
.score b { display: block; font-size: 19px; letter-spacing: -0.02em; }
.score span { font-size: 11.5px; color: var(--muted); }
/* Bewust niet de kleuren van Rotten Tomatoes zelf (daar is vers juist rood):
   groen = goed leest voor de meeste mensen nu eenmaal sneller. */
.score.fresh b { color: var(--good); }
.score.rotten b { color: var(--danger); }

.review { border-bottom: 1px solid var(--line); }
.review > summary {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 2px; cursor: pointer; list-style: none;
  font-size: 14.5px; font-weight: 600;
}
.review > summary::-webkit-details-marker { display: none; }
.review .mini-score {
  margin-left: auto;
  padding: 2px 8px; border-radius: 7px;
  background: var(--bg-elev-2); color: var(--muted);
  font-size: 12px; font-weight: 700;
}
.review p {
  margin: 0 0 12px; padding: 0 2px;
  color: #c6d0e0; font-size: 14px; white-space: pre-wrap;
}

/* ----------------------------------------------------------------- trailer */

.trailer-overlay {
  position: fixed; inset: 0; z-index: 70;
  display: grid; place-items: center;
  padding: 16px;
  background: rgba(0,0,0,.86);
  animation: fade .18s ease;
}
.trailer-frame {
  width: min(100%, 900px); aspect-ratio: 16 / 9;
  border-radius: 12px; overflow: hidden; background: #000;
}
.trailer-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --------------------------------------------------------------- seizoenen */

.season { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 8px; background: var(--bg-elev); }
.season > summary {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; cursor: pointer; list-style: none; font-weight: 600;
}
.season > summary::-webkit-details-marker { display: none; }
.season > summary > svg { transition: transform .18s ease; }
.season[open] > summary > svg { transform: rotate(90deg); }
.season .count { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 500; }

.ep {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 14px; border-top: 1px solid var(--line);
}
.ep .num { width: 34px; flex: none; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ep .t { flex: 1; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep .check {
  width: 26px; height: 26px; flex: none; border-radius: 50%;
  border: 1.8px solid var(--line); background: none; cursor: pointer;
  display: grid; place-items: center; color: transparent;
}
.ep .check.on { background: var(--good); border-color: var(--good); color: #052a20; }
.ep .check svg { width: 15px; height: 15px; stroke-width: 3; }

/* ------------------------------------------------------------------- stats */

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.stat {
  padding: 15px; border-radius: 13px;
  background: var(--bg-elev); border: 1px solid var(--line);
}
.stat b { display: block; font-size: 25px; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { font-size: 12.5px; color: var(--muted); }

.bars { display: flex; flex-direction: column; gap: 9px; }
.bar-row { display: grid; grid-template-columns: 96px 1fr 40px; gap: 10px; align-items: center; font-size: 13px; }
.bar-row .track { height: 8px; background: var(--bg-elev-2); border-radius: 5px; overflow: hidden; }
.bar-row .track i { display: block; height: 100%; background: var(--accent); border-radius: 5px; }
.bar-row .val { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ tabbar */

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tabbar-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-top: 1px solid var(--line);
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--muted); font-size: 10.5px; font-weight: 600;
}
.tabbar a[aria-current="page"] { color: var(--accent); }
.tabbar svg { width: 21px; height: 21px; }

/* -------------------------------------------------------------------- auth */

.auth { max-width: 380px; margin: 8vh auto 0; text-align: center; }
.auth h2 { font-size: 25px; margin: 0 0 6px; letter-spacing: -0.02em; }
.auth p.lead { color: var(--muted); margin: 0 0 26px; }
.field { text-align: left; margin-bottom: 12px; }
.field label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 5px; }
.field input {
  width: 100%; padding: 12px 13px;
  background: var(--bg-elev); color: var(--text);
  border: 1px solid var(--line); border-radius: 11px;
  font-size: 16px; outline: none;
}
.field input:focus { border-color: var(--accent); }
.error { color: var(--danger); font-size: 13.5px; margin: 4px 0 12px; min-height: 18px; }
.linkbtn { background: none; border: 0; color: var(--accent); cursor: pointer; font-size: 14px; padding: 8px; }

/* ------------------------------------------------------------------ modaal */

.modal {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(92vw, 380px);
  padding: 22px;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: 16px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.modal h3 { margin: 0 0 6px; font-size: 19px; }
.modal p { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; }
.modal .code {
  margin: 0 0 16px; padding: 14px;
  background: var(--bg-elev-2); border-radius: 12px;
  font-size: 27px; font-weight: 700; letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
}
.modal .btn { margin-bottom: 10px; }
.modal .status { margin: 12px 0; font-size: 13px; }

.switch {
  display: flex; align-items: center; gap: 11px;
  margin-top: 12px; padding: 12px 14px;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: 12px;
  font-size: 14px; cursor: pointer;
}
.switch input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }

/* ------------------------------------------------------------------- toast */

.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + var(--safe-b) + 14px);
  transform: translate(-50%, 14px); z-index: 60;
  padding: 10px 16px; border-radius: 11px;
  background: var(--bg-elev-2); border: 1px solid var(--line);
  font-size: 13.5px; box-shadow: 0 8px 26px rgba(0,0,0,.45);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.spinner {
  width: 26px; height: 26px; margin: 40px auto;
  border: 2.5px solid var(--line); border-top-color: var(--accent);
  border-radius: 50%; animation: spin .8s linear infinite;
}

/* ------------------------------------------------------- breed scherm */

@media (min-width: 900px) {
  :root { --rail-w: 92px; }

  body { padding-bottom: 0; padding-left: var(--rail-w); }

  /* De tabbalk wordt een verticale kolom aan de linkerkant. */
  .tabbar {
    top: 0; right: auto; bottom: 0;
    width: var(--rail-w); height: 100%;
    padding: 84px 0 20px;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    border-top: 0; border-right: 1px solid var(--line);
  }
  .tabbar a {
    width: 68px; padding: 11px 4px;
    border-radius: 13px;
    font-size: 10px;
  }
  .tabbar a[aria-current="page"] { background: color-mix(in srgb, var(--accent) 16%, transparent); }
  .tabbar svg { width: 23px; height: 23px; }

  .topbar { padding-left: calc(var(--rail-w) + 24px); }

  .view { max-width: 1500px; padding: 22px 28px 60px; }

  .greeting { font-size: 30px; }

  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px 16px; }

  .row-scroll { margin: 0; padding: 2px 0 6px; gap: 16px; }
  .row-scroll .card { width: 152px; }
  .wide-card { width: 292px; }

  .chips { margin: 12px 0 0; padding: 0 0 2px; }

  .toast { bottom: 26px; left: calc(50% + var(--rail-w) / 2); }

  .sheet { left: var(--rail-w); }
  .sheet-body { padding: 0 28px 50px; }

  .searchbar { max-width: 640px; }
}

@media (min-width: 1400px) {
  .row-scroll .card { width: 168px; }
  .wide-card { width: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
