/* ============================================================
   VONA Feed — стилі. Токени й розміри — з README/прототипу.
   Mobile-first, повноекранно (100dvh + safe-area), на десктопі —
   центрована телефон-колонка.
   ============================================================ */
:root {
  --bg:        #0E0C0A;   /* фон стрічки */
  --ink:       #1C1917;   /* темний */
  --milk:      #FAF7F2;   /* молочний */
  --white:     #FFFFFF;
  --beige:     #F0EAE1;   /* інфо-плашки */
  --border:    #E7E0D8;   /* бордери */
  --handle:    #D6CFC5;   /* хендл шторки */
  --muted2:    #57534E;
  --muted3:    #78716C;
  --muted4:    #A8A29E;
  --terra:     #B3402A;   /* акцент */
  --glass:     rgba(14,12,10,0.35);
  --glass-bd:  rgba(250,247,242,0.35);
  --serif: 'Cormorant', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
/* Атрибут hidden має ховати елемент навіть коли на ньому є display:flex/… */
[hidden] { display: none !important; }
html, body {
  margin: 0; height: 100%;
  background: #000;
  font-family: var(--sans);
  color: var(--ink);
  overscroll-behavior: none;         /* без «гумового» скролу сторінки */
  -webkit-text-size-adjust: 100%;
}
body { overflow: hidden; position: fixed; inset: 0; }  /* лочимо сторінку — рухається лише стрічка */
img { -webkit-user-drag: none; user-select: none; }
button { font-family: inherit; border: none; background: none; padding: 0; cursor: pointer; color: inherit; }
input { font-family: inherit; }

/* ---------- Boot ---------- */
.boot {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
}
.boot__logo { font-family: var(--serif); font-size: 34px; font-weight: 600; letter-spacing: 4px; color: var(--milk); }
.boot__spin { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(250,247,242,0.25); border-top-color: var(--milk); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- App frame ---------- */
.app {
  position: fixed; inset: 0;
  width: 100%; height: 100dvh;
  margin: 0 auto;
  background: var(--bg);
  overflow: hidden;
}
/* Десктоп — телефон-колонка по центру */
@media (min-width: 620px) {
  html, body { background: #17130f; }
  body { display: flex; align-items: center; justify-content: center; }
  .app {
    position: relative; inset: auto;
    width: 400px; height: 860px; max-height: calc(100dvh - 24px);
    border-radius: 34px; box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  }
}

/* ============================================================
   Верхня панель (глобальна)
   ============================================================ */
.top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 12;
  padding: calc(var(--safe-t) + 22px) 16px 0;
  display: flex; flex-direction: column; gap: 11px;
  pointer-events: none;                 /* кліки лише по дітях-кнопках */
}
.top > * { pointer-events: auto; }
.top__row { display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: var(--serif); font-size: 25px; font-weight: 600; color: var(--milk); letter-spacing: 2px; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.top__actions { display: flex; gap: 8px; align-items: center; }

.pill-fav {
  height: 38px; border-radius: 999px; background: var(--glass);
  border: 1px solid var(--glass-bd); display: flex; align-items: center; gap: 7px;
  padding: 0 14px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.pill-fav span:not(.pill-fav__badge) { font-size: 11.5px; font-weight: 800; color: var(--milk); letter-spacing: 0.6px; }
.pill-fav__badge { min-width: 17px; height: 17px; border-radius: 999px; background: var(--milk); color: var(--ink); font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.pill-fav__badge.pop { animation: badgePop 0.4s ease; }

.cart-btn {
  position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--milk);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.cart-btn__badge { position: absolute; top: -4px; right: -3px; min-width: 17px; height: 17px; border-radius: 999px; background: var(--terra); color: var(--milk); font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.cart-btn__badge.pop { animation: badgePop 0.4s ease; }

.chips { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  padding: 8px 15px; border-radius: 999px; font-size: 12.5px; font-weight: 800;
  white-space: nowrap; flex-shrink: 0; transition: background .2s, color .2s, border-color .2s;
  background: var(--glass); border: 1px solid var(--glass-bd); color: var(--milk);
}
.chip.active { background: var(--milk); border-color: var(--milk); color: var(--ink); }

/* ============================================================
   Стрічка (deck / slides)
   ============================================================ */
.feed { position: absolute; inset: 0; overflow: hidden; touch-action: none; }
.deck { position: absolute; inset: 0; will-change: transform; }
.deck.anim { transition: transform .38s cubic-bezier(.2,.8,.3,1); }

.slide { position: absolute; left: 0; right: 0; height: 100%; overflow: hidden; }
.slide[data-pos="prev"] { transform: translateY(-100%); }
.slide[data-pos="cur"]  { transform: translateY(0); }
.slide[data-pos="next"] { transform: translateY(100%); }

.slide__photo { position: absolute; inset: 0; overflow: hidden; background: #17130f; }
/* Спінер під фото: видно, лише поки фото вантажиться (потім його закриває картинка) */
.photo-spinner { position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 3px solid rgba(255,255,255,.16); border-top-color: rgba(255,255,255,.7); animation: photospin .8s linear infinite; z-index: 0; }
@keyframes photospin { to { transform: rotate(360deg); } }
/* Горизонтальний пейджер фото (свайп ← →) */
.photo-track { position: absolute; inset: 0; will-change: transform; z-index: 1; }
.photo-track.anim { transition: transform .3s cubic-bezier(.2,.8,.3,1); }
.photo-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .28s ease; }
.photo-layer.is-loaded { opacity: 1; }
.photo-layer[data-rel="prev"] { transform: translateX(-100%); }
.photo-layer[data-rel="cur"]  { transform: translateX(0); }
.photo-layer[data-rel="next"] { transform: translateX(100%); }
.slide__grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,12,10,0.55) 0%, rgba(14,12,10,0) 24%, rgba(14,12,10,0) 48%, rgba(14,12,10,0.75) 100%); pointer-events: none; }

.slide__bars { position: absolute; top: calc(var(--safe-t) + 12px); left: 14px; right: 14px; display: flex; gap: 5px; z-index: 5; }
.bar { flex: 1; height: 3px; border-radius: 2px; background: rgba(250,247,242,0.35); overflow: hidden; }
.bar__fill { display: block; height: 100%; width: 0; background: var(--milk); border-radius: 2px; }

/* Права рейка */
.rail { position: absolute; right: 12px; bottom: calc(var(--safe-b) + 118px); display: flex; flex-direction: column; gap: 14px; align-items: center; z-index: 8; }
.rail__btn { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.rail__ic { width: 46px; height: 46px; border-radius: 50%; background: rgba(250,247,242,0.14); border: 1px solid var(--glass-bd); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--milk); transition: background .2s, color .2s, transform .12s; }
.rail__ic:active { transform: scale(0.9); }
.rail__ic--size { font-size: 10.5px; font-weight: 800; letter-spacing: 0.3px; }
.rail__ic--share { font-size: 17px; }
.rail__ic.liked { background: var(--milk); color: var(--terra); }
.rail__lbl { font-size: 10.5px; font-weight: 700; color: var(--milk); text-shadow: 0 1px 6px rgba(0,0,0,0.5); }

/* Нижній інфоблок */
.info { position: absolute; left: 0; right: 66px; bottom: 0; padding: 0 0 calc(var(--safe-b) + 20px) 18px; display: flex; flex-direction: column; gap: 9px; z-index: 7; }
.info__meta { font-size: 11.5px; font-weight: 700; color: rgba(250,247,242,0.78); letter-spacing: 1.5px; text-transform: uppercase; }
.info__name { font-family: var(--serif); font-size: 27px; font-weight: 600; color: var(--milk); line-height: 1.08; }
.teaser { display: flex; flex-direction: column; gap: 2px; }
.teaser__text { font-size: 12.5px; line-height: 1.5; color: rgba(250,247,242,0.85); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.teaser__more { font-size: 12px; font-weight: 800; color: var(--milk); }
.desc-panel { background: rgba(14,12,10,0.72); border: 1px solid rgba(250,247,242,0.2); border-radius: 16px; padding: 13px 15px; display: flex; flex-direction: column; gap: 8px; animation: slideUpIn .28s ease; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.desc-panel__text { font-size: 12.5px; line-height: 1.6; color: var(--milk); }
.desc-panel__guarantees { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid rgba(250,247,242,0.18); padding-top: 8px; }
.desc-panel__guarantees div { font-size: 11.5px; font-weight: 700; color: rgba(250,247,242,0.85); }
.desc-panel__collapse { font-size: 12px; font-weight: 800; color: rgba(250,247,242,0.6); }
.swatches { display: flex; align-items: center; gap: 9px; }
.swatches__dots { display: flex; gap: 6px; }
.swatch { width: 21px; height: 21px; border-radius: 50%; border: 2px solid rgba(250,247,242,0.5); }
.swatches__sizes { font-size: 12px; font-weight: 700; color: rgba(250,247,242,0.88); }
.cta { background: var(--milk); color: var(--ink); border-radius: 999px; padding: 15px 0; text-align: center; font-size: 15.5px; font-weight: 800; width: 100%; transition: transform .12s; }
.cta:active { transform: scale(0.98); }
.hint { font-size: 11px; font-weight: 600; color: rgba(250,247,242,0.65); }

/* Зона тапів для фото (прозора, під рейкою й інфо) */
.tapzone { position: absolute; top: 130px; bottom: 240px; z-index: 6; }

/* ============================================================
   Оверлеї: burst, toast
   ============================================================ */
.burst { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 18; pointer-events: none; font-size: 110px; color: var(--milk); text-shadow: 0 8px 40px rgba(0,0,0,0.4); }
.burst.show { animation: heartBurst 0.9s ease forwards; }
.toast { position: absolute; bottom: calc(var(--safe-b) + 190px); left: 50%; z-index: 50; background: rgba(28,25,23,0.92); color: var(--milk); font-size: 13px; font-weight: 700; padding: 11px 20px; border-radius: 999px; white-space: nowrap; pointer-events: none; }
.toast.show { animation: toastIn 2.1s ease forwards; }

/* ---------- Onboarding ---------- */
.onb { position: absolute; inset: 0; z-index: 20; background: rgba(14,12,10,0.72); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; animation: fadeIn .4s ease; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); padding: 0 20px; }
.onb__hero { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.onb__hand { height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.onb__hand { animation: swipeHand 1.8s ease-in-out infinite; }
.onb__arrow { font-size: 20px; color: var(--milk); }
.onb__circle { width: 52px; height: 52px; border-radius: 50%; background: rgba(250,247,242,0.25); border: 2px solid var(--milk); margin-top: 8px; }
.onb__title { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--milk); text-align: center; line-height: 1.1; }
.onb__hints { display: flex; flex-direction: column; gap: 10px; width: 270px; }
.onb__hint { display: flex; align-items: center; gap: 12px; background: rgba(250,247,242,0.1); border: 1px solid rgba(250,247,242,0.25); border-radius: 14px; padding: 11px 14px; font-size: 12.5px; font-weight: 700; color: var(--milk); line-height: 1.4; }
.onb__ic { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--milk); display: flex; align-items: center; justify-content: center; color: var(--milk); font-size: 14px; flex-shrink: 0; }
.onb__ic--pulse { animation: tapPulse 1.6s ease infinite; }
.onb__ok { padding: 14px 44px; width: auto; }

/* ============================================================
   Шторки
   ============================================================ */
.backdrop { position: absolute; inset: 0; background: rgba(14,12,10,0.5); z-index: 30; animation: fadeIn .25s ease; }
.sheet-host { position: absolute; inset: 0; z-index: 31; pointer-events: none; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; background: var(--milk);
  border-radius: 26px 26px 0 0; padding: 18px 20px calc(var(--safe-b) + 22px);
  display: flex; flex-direction: column; gap: 13px; pointer-events: auto;
  animation: sheetUp .32s cubic-bezier(.2,.9,.3,1); max-height: 88%;
}
.sheet--full { top: 120px; }
.sheet__handle { width: 44px; height: 4px; border-radius: 2px; background: var(--handle); align-self: center; margin-bottom: 2px; }
.sheet__head { display: flex; align-items: baseline; justify-content: space-between; }
.sheet__title { font-family: var(--serif); font-size: 25px; font-weight: 600; color: var(--ink); }
.sheet__sub { font-size: 12px; color: var(--muted2); }
.sheet__meta { font-size: 12px; font-weight: 700; color: var(--muted4); }

.btn-dark { background: var(--ink); color: var(--milk); border-radius: 999px; padding: 15px 0; text-align: center; font-size: 15px; font-weight: 800; width: 100%; }
.btn-dark:active { transform: scale(0.99); }
.btn-milk { background: var(--milk); color: var(--ink); border-radius: 999px; padding: 14px 0; text-align: center; font-size: 15px; font-weight: 800; width: 100%; }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); border-radius: 999px; padding: 14px 0; text-align: center; font-size: 14px; font-weight: 800; width: 100%; background: transparent; }

/* Розмірна таблиця */
.sizetable { border: 1px solid var(--border); border-radius: 15px; overflow: hidden; }
.sizetable__row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; }
.sizetable__row + .sizetable__row { border-top: 1px solid var(--border); }
.sizetable__row--head { background: var(--beige); }
.sizetable__cell { padding: 10px 8px; font-size: 12.5px; color: var(--ink); text-align: center; }
.sizetable__cell--h { padding: 10px 14px; font-size: 12.5px; font-weight: 700; color: var(--muted2); text-align: left; }
.sizetable__cell--head { font-size: 12px; font-weight: 800; }

.fitbox { background: var(--white); border: 1px solid var(--border); border-radius: 15px; padding: 12px 14px; display: flex; flex-direction: column; gap: 9px; }
.fitbox__title { font-size: 12.5px; font-weight: 800; color: var(--ink); }
.fitbox__inputs { display: flex; gap: 8px; }
.fitbox__result { background: var(--beige); border-radius: 11px; padding: 9px 12px; font-size: 12.5px; font-weight: 800; color: var(--ink); animation: popIn .3s ease; }

.field { border: 1.5px solid var(--border); border-radius: 13px; padding: 12px 15px; font-size: 14px; color: var(--ink); background: var(--white); width: 100%; }
.field--sm { padding: 9px 11px; border-radius: 11px; font-size: 13px; }
.field--dashed { border-style: dashed; }
.field:focus { outline: none; border-color: var(--ink); }
.row-2 { display: flex; gap: 8px; }

/* Order sheet */
.order-head { display: flex; gap: 13px; align-items: center; }
.order-head img { width: 58px; height: 74px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.order-head__name { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.order-head__meta { font-size: 12px; color: var(--muted3); }
.order-head__price { font-size: 15px; font-weight: 800; color: var(--ink); }
.pick-label { font-size: 13px; font-weight: 800; color: var(--ink); }
.pick-label span { font-weight: 700; color: var(--muted3); }
.color-picks { display: flex; gap: 9px; flex-wrap: wrap; }
.color-pick { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--handle); transition: box-shadow .15s, border-color .15s; }
.color-pick.active { border: 2.5px solid var(--ink); box-shadow: 0 0 0 3px var(--milk) inset; }
.size-picks { display: flex; gap: 8px; }
.size-pick { flex: 1; padding: 12px 0; border-radius: 12px; background: var(--white); border: 1.5px solid var(--border); color: var(--muted2); font-size: 13.5px; font-weight: 800; text-align: center; transition: all .15s; }
.size-pick.active { background: var(--ink); border-color: var(--ink); color: var(--milk); }
.size-pick--out { position: relative; opacity: .5; text-decoration: line-through; cursor: not-allowed; background: var(--paper, #F4F1EC); }
.size-pick__no { display: block; font-size: 9px; font-weight: 800; letter-spacing: .3px; text-decoration: none; color: #B3402A; margin-top: 1px; }
.link-underline { font-size: 11.5px; font-weight: 700; color: var(--muted4); text-decoration: underline; align-self: flex-start; }
.order-actions { display: flex; gap: 9px; }
.order-actions .btn-outline { flex: 1; }
.order-actions .btn-dark { flex: 1.3; padding: 14px 0; font-size: 14px; }

/* Cart */
.cart-rows { display: flex; flex-direction: column; gap: 9px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.cart-row { background: var(--white); border: 1px solid var(--border); border-radius: 15px; padding: 10px; display: flex; gap: 11px; align-items: center; }
.cart-row img { width: 50px; height: 64px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.cart-row__name { font-size: 13px; font-weight: 800; color: var(--ink); }
.cart-row__variant { font-size: 11.5px; color: var(--muted3); }
.cart-row__price { font-size: 13px; font-weight: 800; color: var(--ink); }
.cart-row__x { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted4); transition: color .15s, border-color .15s; }
.cart-row__x:active { border-color: var(--terra); color: var(--terra); }
.cart-empty { padding: 26px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cart-empty div { font-size: 13.5px; font-weight: 700; color: var(--muted2); }
.ship { display: flex; flex-direction: column; gap: 5px; }
.ship__bar { height: 7px; border-radius: 4px; background: var(--border); overflow: hidden; }
.ship__fill { height: 100%; border-radius: 4px; background: var(--ink); transition: width .5s ease; }
.ship__label { font-size: 12px; font-weight: 800; color: var(--ink); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; }
.cart-total__label { font-size: 13px; font-weight: 700; color: var(--muted2); }
.cart-total__val { font-size: 19px; font-weight: 800; color: var(--ink); }

/* Pay tabs */
.pay-tabs { display: flex; gap: 8px; }
.pay-tab { flex: 1; border: 1.5px solid var(--border); background: var(--white); color: var(--muted2); border-radius: 12px; padding: 11px 8px; text-align: center; font-size: 12.5px; font-weight: 700; transition: all .15s; }
.pay-tab.active { border-color: var(--ink); background: var(--ink); color: var(--milk); }
.checkout-note { text-align: center; font-size: 11px; color: var(--muted4); font-weight: 600; }

/* Success */
.success { position: absolute; inset: 0; background: var(--milk); z-index: 40; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; animation: fadeIn .3s ease; padding: 0 34px; pointer-events: auto; }
.success__check { width: 86px; height: 86px; border-radius: 50%; background: var(--ink); color: var(--milk); display: flex; align-items: center; justify-content: center; font-size: 38px; animation: popIn .5s cubic-bezier(.2,.9,.3,1.4); }
.success__title { font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--ink); line-height: 1.1; text-align: center; }
.success__text { font-size: 13.5px; color: var(--muted2); line-height: 1.5; text-align: center; }
.success__promo { background: var(--beige); border-radius: 14px; padding: 12px 16px; font-size: 12.5px; font-weight: 800; color: var(--ink); }

/* Likes grid */
.likes-grid { flex: 1; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; align-content: start; -webkit-overflow-scrolling: touch; }
.like-card { display: flex; flex-direction: column; gap: 6px; }
.like-card__ph { position: relative; border-radius: 15px; overflow: hidden; height: 190px; }
.like-card__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.like-card__unlike { position: absolute; top: 7px; right: 7px; width: 29px; height: 29px; border-radius: 50%; background: rgba(250,247,242,0.92); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.like-card__row { display: flex; justify-content: space-between; align-items: center; }
.like-card__name { font-size: 12px; font-weight: 800; color: var(--ink); }
.like-card__price { font-size: 11.5px; color: var(--muted2); }
.like-card__jump { font-size: 11px; font-weight: 800; color: var(--ink); text-decoration: underline; }
.likes-empty { padding: 30px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.likes-empty__ic { font-size: 34px; }
.likes-empty div:last-child { font-size: 13.5px; font-weight: 700; color: var(--muted2); text-align: center; }

/* ============================================================
   Keyframes
   ============================================================ */
@keyframes slideUpIn { from { transform: translateY(60px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes swipeHand { 0% { transform: translateY(46px); opacity: 0; } 18% { opacity: 1; } 62% { transform: translateY(-46px); opacity: 1; } 82% { opacity: 0; transform: translateY(-62px); } 100% { opacity: 0; transform: translateY(-62px); } }
@keyframes tapPulse { 0% { transform: scale(1); opacity: .9; } 50% { transform: scale(.82); opacity: 1; } 100% { transform: scale(1); opacity: .9; } }
@keyframes heartBurst { 0% { transform: scale(.2); opacity: 0; } 35% { transform: scale(1.25); opacity: 1; } 60% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes popIn { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
@keyframes toastIn { 0% { transform: translate(-50%, 24px); opacity: 0; } 12% { transform: translate(-50%, 0); opacity: 1; } 88% { transform: translate(-50%, 0); opacity: 1; } 100% { transform: translate(-50%, 10px); opacity: 0; } }
@keyframes badgePop { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }

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