/* Shelf — colorful, juicy, mobile-first. */

:root {
  --bg: #fff6ea;
  --bg-dots: #f7e8d2;
  --ink: #33272a;
  --ink-soft: #7d6b70;
  --card: #ffffff;
  --line: #f0e2cf;
  --green: #14a06b;
  --green-bright: #19c37d;
  --red: #e63956;
  --amber: #e8960c;
  --accent1: #ff5d8f;
  --accent2: #ff9e42;
  --violet: #7c5cff;
  --sky: #35b5ff;
  --radius: 18px;
  --shadow: 0 4px 14px rgba(90, 60, 20, 0.10);
  --shadow-lift: 0 10px 26px rgba(90, 60, 20, 0.16);
  --font: 'Nunito', ui-rounded, 'SF Pro Rounded', 'Hiragino Maru Gothic ProN', 'Quicksand', 'Comfortaa', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at 18% -5%, #ffe9f1 0, transparent 34%),
    radial-gradient(circle at 90% 0%, #e6f7ff 0, transparent 30%),
    radial-gradient(var(--bg-dots) 1.5px, transparent 1.5px) 0 0 / 26px 26px,
    var(--bg);
  min-height: 100dvh;
  overscroll-behavior-y: none;
}

button {
  font-family: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  touch-action: manipulation;
}

h2, h3 { margin: 0; font-size: 1.02rem; font-weight: 800; letter-spacing: 0.01em; }

#app { max-width: 560px; margin: 0 auto; padding: 0 12px calc(96px + env(safe-area-inset-bottom)); }

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 2px 8px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(var(--bg) 78%, transparent);
}

.brand { display: flex; align-items: baseline; gap: 6px; font-weight: 900; font-size: 1.35rem; }
.brand-cart { font-size: 1.4rem; display: inline-block; animation: cartBob 4s ease-in-out infinite; }
.brand-name {
  background: linear-gradient(100deg, var(--accent1), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.day-tag { font-size: 0.85rem; font-weight: 800; color: var(--ink-soft); }

@keyframes cartBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-2px) rotate(-4deg); }
}

.topbar-actions { display: flex; gap: 6px; align-items: center; }

.iconbtn {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow);
  font-size: 1.05rem;
  display: grid; place-items: center;
  transition: transform 0.12s ease;
}
.iconbtn:active { transform: scale(0.88); }

.chip {
  height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  background: linear-gradient(120deg, #fff1de, #ffe3c2);
  box-shadow: var(--shadow);
  font-weight: 900;
  font-size: 0.95rem;
}

/* ------------------------------------------------------------------ hud */

.hud {
  position: sticky;
  top: 56px;
  z-index: 25;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 12px 14px 12px;
  border: 2px solid #fff;
}

.hud-row { display: flex; gap: 14px; align-items: center; }

.hud-saved { display: flex; flex-direction: column; min-width: 118px; }
.hud-saved-label { font-size: 0.72rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.hud-saved-amount {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hud-saved-amount.pulse { animation: savedPop 0.35s ease; }
@keyframes savedPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.18) rotate(-2deg); color: var(--green-bright); }
  100% { transform: scale(1); }
}

.hud-wallet { flex: 1; }
.hud-wallet-labels {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.85rem; font-weight: 800; margin-bottom: 5px;
  font-variant-numeric: tabular-nums;
}
.hud-wallet-cap { color: var(--ink-soft); font-size: 0.78rem; }
.walletbar {
  height: 14px;
  border-radius: 999px;
  background: #f3ead9;
  overflow: hidden;
  position: relative;
}
.walletbar-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sky), var(--violet));
  transition: width 0.3s cubic-bezier(.3,.7,.4,1), background 0.2s;
}
.walletbar.warn .walletbar-fill { background: linear-gradient(90deg, var(--amber), #ff7b4f); }
.walletbar.over .walletbar-fill {
  background: repeating-linear-gradient(-45deg, var(--red) 0 8px, #ff7a90 8px 16px);
  animation: overPulse 0.8s ease-in-out infinite;
}
@keyframes overPulse { 50% { filter: brightness(1.15); } }

.hud-alert {
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--red);
}

/* ---------------------------------------------------------------- shelf */

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 18px 4px 10px;
}
.section-sub { font-size: 0.8rem; font-weight: 800; color: var(--ink-soft); }

.shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 420px) { .shelf { grid-template-columns: repeat(2, 1fr); } }

.item-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px 8px 44px;
  text-align: center;
  border: 2.5px solid transparent;
  transition: transform 0.12s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
}
.item-card:active { transform: scale(0.95); }
.item-card.in-cart { border-color: var(--green-bright); box-shadow: var(--shadow-lift); }
.item-card.sold-out { opacity: 0.9; }
.item-card.wiggle { animation: wiggle 0.4s ease; }
@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-3deg); }
  75% { transform: rotate(3deg); }
}

.item-emoji { font-size: 2.15rem; line-height: 1.2; display: block; pointer-events: none; }
.item-name {
  font-size: 0.74rem; font-weight: 800; line-height: 1.15;
  min-height: 2.2em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  pointer-events: none;
  margin-top: 2px;
}
.item-price {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #fff3c4;
  border: 1.5px dashed #eccb5f;
  font-weight: 900;
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.item-cat {
  position: absolute; top: 7px; left: 7px;
  font-size: 0.6rem; font-weight: 900;
  padding: 2px 7px; border-radius: 999px;
  background: hsl(var(--cat-hue, 40) 80% 92%);
  color: hsl(var(--cat-hue, 40) 55% 32%);
  pointer-events: none;
}
.item-deal {
  position: absolute; top: 5px; right: 6px;
  font-size: 0.85rem;
  pointer-events: none;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15));
}

.item-stock {
  position: absolute; left: 10px; bottom: 46px;
  display: flex; gap: 3px;
  pointer-events: none;
}
.item-stock i {
  width: 6px; height: 6px; border-radius: 999px;
  background: #dccdb4;
}
.item-stock i.left { background: var(--green-bright); }

.item-qty {
  position: absolute;
  left: 8px; right: 8px; bottom: 8px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  background: #f6f1e6;
}
.item-qty.empty { justify-content: center; font-size: 0.74rem; font-weight: 900; color: var(--ink-soft); }
.qty-btn {
  width: 34px; height: 32px;
  font-size: 1.15rem; font-weight: 900;
  display: grid; place-items: center;
  border-radius: 12px;
  transition: transform 0.1s ease;
}
.qty-btn:active { transform: scale(0.8); }
.qty-num { font-weight: 900; font-size: 0.95rem; }
.qty-num.pulse { animation: qtyPop 0.3s ease; }
@keyframes qtyPop { 40% { transform: scale(1.5); color: var(--green); } }

/* --------------------------------------------------------------- coupons */

.coupon-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.coupon-rail:empty::after {
  content: 'All clipped! Arrange your stack below ↓';
  font-size: 0.82rem; font-weight: 800; color: var(--ink-soft);
  padding: 10px;
}

.coupon {
  scroll-snap-align: start;
  position: relative;
  flex: 0 0 168px;
  border-radius: 14px;
  padding: 10px 12px 12px;
  background:
    radial-gradient(circle at 0 50%, var(--bg) 7px, transparent 7.5px) left / 14px 100% no-repeat,
    radial-gradient(circle at 100% 50%, var(--bg) 7px, transparent 7.5px) right / 14px 100% no-repeat,
    linear-gradient(150deg, #fff, #fff8ec);
  box-shadow: var(--shadow);
  border: 2px dashed #e8cf9e;
  text-align: left;
  transition: transform 0.12s ease;
}
.coupon:active { transform: scale(0.94) rotate(-1deg); }
.coupon.doubler { border-color: #c9b3ff; background: linear-gradient(150deg, #fff, #f3edff); }
.coupon-head { font-size: 0.86rem; font-weight: 900; line-height: 1.2; }
.coupon-detail { font-size: 0.72rem; font-weight: 700; color: var(--ink-soft); margin-top: 3px; line-height: 1.25; min-height: 2.4em; }
.coupon-emoji { position: absolute; right: 10px; top: 8px; font-size: 1.1rem; }
.coupon-excl {
  display: inline-block;
  margin-top: 5px;
  font-size: 0.62rem; font-weight: 900;
  padding: 1.5px 7px; border-radius: 999px;
  background: #ffe3ef; color: #b0004f;
}
.coupon-clip {
  margin-top: 7px;
  font-size: 0.72rem; font-weight: 900;
  color: var(--accent1);
}

/* stack */
.stack-head { display: flex; align-items: baseline; justify-content: space-between; padding: 6px 4px 8px; }
.stack-sub { font-size: 0.72rem; font-weight: 800; color: var(--ink-soft); }

.stack { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.stack:empty::after {
  content: '✂️ Tap a coupon above to clip it into your stack';
  display: block;
  text-align: center;
  padding: 18px 10px;
  border: 2px dashed var(--line);
  border-radius: 14px;
  font-size: 0.82rem; font-weight: 800; color: var(--ink-soft);
}

.stack-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 9px 10px;
  border-left: 6px solid var(--green-bright);
  animation: slideIn 0.25s cubic-bezier(.3,.7,.4,1);
}
.stack-item.inactive { border-left-color: var(--amber); }
.stack-item.doubler-item { border-left-color: var(--violet); }
@keyframes slideIn {
  from { transform: translateY(-8px) scale(0.97); opacity: 0; }
}

.stack-pos { font-weight: 900; font-size: 0.8rem; color: var(--ink-soft); width: 16px; text-align: center; }
.stack-body { flex: 1; min-width: 0; }
.stack-title { font-size: 0.83rem; font-weight: 900; }
.stack-status { font-size: 0.72rem; font-weight: 800; margin-top: 1px; }
.stack-status.on { color: var(--green); }
.stack-status.off { color: var(--amber); }
.stack-saved { font-weight: 900; font-size: 0.9rem; color: var(--green); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stack-ctl { display: flex; flex-direction: column; gap: 0; }
.stack-ctl button, .stack-x {
  width: 30px; height: 22px;
  display: grid; place-items: center;
  font-size: 0.78rem; font-weight: 900;
  color: var(--ink-soft);
  border-radius: 8px;
}
.stack-ctl button:disabled { opacity: 0.25; }
.stack-ctl button:active { background: #f3ead9; }
.stack-x { height: 30px; font-size: 0.95rem; }

/* --------------------------------------------------------------- cartbar */

.cartbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(10px + env(safe-area-inset-bottom));
  width: min(560px, calc(100% - 20px));
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: var(--shadow-lift);
  padding: 10px 12px 10px 16px;
  border: 2px solid #fff;
}

.cartbar-info { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.cartbar-count { font-size: 0.78rem; font-weight: 900; color: var(--ink-soft); }
.cartbar-paid { font-size: 1.02rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.cartbar-paid.over { color: var(--red); }

.commit {
  padding: 14px 22px;
  border-radius: 16px;
  font-size: 1.02rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(120deg, var(--accent1), var(--accent2));
  box-shadow: 0 6px 16px rgba(255, 93, 143, 0.4);
  transition: transform 0.12s ease, filter 0.15s ease, box-shadow 0.15s;
}
.commit:active { transform: scale(0.94); }
.commit:disabled {
  filter: grayscale(0.7) opacity(0.6);
  box-shadow: none;
}
.commit.shake { animation: shakeX 0.4s ease; }

@keyframes shakeX {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}
.shake { animation: shakeX 0.4s ease; }

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

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(92px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 60;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 0.86rem;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-lift);
  max-width: calc(100% - 40px);
  text-align: center;
  animation: toastIn 0.25s cubic-bezier(.3,.7,.4,1);
}
@keyframes toastIn { from { transform: translate(-50%, 10px); opacity: 0; } }

/* ------------------------------------------------------------------- fx */

#fxLayer { position: fixed; inset: 0; pointer-events: none; z-index: 100; overflow: hidden; }
.fly { position: fixed; font-size: 1.7rem; z-index: 101; transform: translate(-50%, -50%); }
.particle { position: fixed; font-size: 1rem; transform: translate(-50%, -50%); }
.confetti { position: fixed; border-radius: 2px; }
.float-text {
  position: fixed;
  font-weight: 900;
  font-size: 1rem;
  transform: translate(-50%, 0);
  text-shadow: 0 1px 0 #fff;
}
.float-text.good { color: var(--green); }
.float-text.bad { color: var(--red); }

/* ---------------------------------------------------------------- modals */

.modal-backdrop[hidden] { display: none; }

.modal-backdrop {
  position: fixed; inset: 0;
  z-index: 80;
  background: rgba(51, 39, 42, 0.45);
  backdrop-filter: blur(3px);
  display: grid;
  place-items: end center;
  animation: fadeIn 0.2s ease;
}
@media (min-width: 480px) { .modal-backdrop { place-items: center; } }
@keyframes fadeIn { from { opacity: 0; } }

.modal {
  width: min(560px, 100%);
  max-height: 88dvh;
  overflow-y: auto;
  background: var(--bg);
  border-radius: 24px 24px 0 0;
  padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
  animation: sheetUp 0.3s cubic-bezier(.3,.7,.4,1);
}
@media (min-width: 480px) { .modal { border-radius: 24px; } }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0.6; } }

.modal h2 { font-size: 1.3rem; margin-bottom: 4px; }
.modal .modal-sub { color: var(--ink-soft); font-weight: 700; font-size: 0.88rem; margin: 0 0 14px; }

.modal-close {
  position: sticky;
  top: 0;
  z-index: 5; /* stay tappable above the result hero / receipt */
  float: right;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--card);
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-weight: 900;
}

/* result modal */
.receipt {
  background: #fff;
  border-radius: 4px 4px 14px 14px;
  padding: 16px 16px 20px;
  box-shadow: var(--shadow);
  font-variant-numeric: tabular-nums;
  position: relative;
  margin: 8px 0 16px;
  --notch: radial-gradient(circle, transparent 5px, #fff 5.5px);
}
.receipt::before {
  content: '';
  position: absolute; left: 0; right: 0; top: -7px; height: 8px;
  background: radial-gradient(circle at 7px 0px, transparent 6px, #fff 6.5px) 0 0 / 16px 8px;
}
.receipt-line {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 0.88rem; font-weight: 700;
  padding: 3.5px 0;
}
.receipt-line.coupon-line { color: var(--green); }
.receipt-line.coupon-line.dead { color: var(--amber); }
.receipt-line.total {
  border-top: 2px dashed var(--line);
  margin-top: 8px; padding-top: 10px;
  font-weight: 900; font-size: 1rem;
}
.receipt-line.saved-line { font-weight: 900; font-size: 1.2rem; color: var(--green); }

.result-hero { text-align: center; padding: 6px 0 2px; position: relative; }
.grade-stamp {
  display: inline-block;
  font-size: 2rem;
  font-weight: 900;
  padding: 10px 26px;
  border: 4px solid currentColor;
  border-radius: 14px;
  transform: rotate(-6deg);
  animation: stampIn 0.45s cubic-bezier(.2,1.6,.4,1);
}
@keyframes stampIn {
  0% { transform: rotate(-20deg) scale(3); opacity: 0; }
  60% { transform: rotate(-4deg) scale(0.92); opacity: 1; }
  100% { transform: rotate(-6deg) scale(1); }
}
.grade-S, .grade-A { color: var(--green); }
.grade-B { color: var(--sky); }
.grade-C { color: var(--amber); }
.grade-D, .grade-E { color: var(--ink-soft); }
.grade-label { font-weight: 900; margin-top: 8px; font-size: 1.05rem; }

.parbar-wrap { margin: 16px 0 4px; }
.parbar-row { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: 900; margin-bottom: 4px; }
.parbar {
  height: 16px; border-radius: 999px; background: #f3ead9;
  position: relative; overflow: hidden;
}
.parbar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-bright), var(--sky));
  border-radius: 999px;
  transition: width 0.9s cubic-bezier(.3,.7,.3,1);
}
.parbar-you { position: absolute; top: -2px; bottom: -2px; width: 3px; background: var(--ink); }

.nearmiss {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(120deg, #fff1de, #ffe9f1);
  border: 2px dashed #f2c9a0;
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.4;
}
.nearmiss b { color: var(--accent1); }

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.badge {
  font-size: 0.78rem; font-weight: 900;
  background: var(--card);
  border-radius: 999px;
  padding: 6px 12px;
  box-shadow: var(--shadow);
  animation: badgeIn 0.3s cubic-bezier(.2,1.4,.4,1) backwards;
}
.badge:nth-child(2) { animation-delay: 0.12s; }
.badge:nth-child(3) { animation-delay: 0.24s; }
@keyframes badgeIn { from { transform: scale(0.5); opacity: 0; } }

.modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.btn {
  padding: 14px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
  transition: transform 0.12s ease;
}
.btn:active { transform: scale(0.96); }
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--accent1), var(--accent2));
  box-shadow: 0 6px 16px rgba(255, 93, 143, 0.35);
}
.btn-secondary { background: var(--card); box-shadow: var(--shadow); }
.btn-row { display: flex; gap: 10px; }
.btn-row .btn { flex: 1; }

.countdown { text-align: center; font-size: 0.82rem; font-weight: 800; color: var(--ink-soft); margin-top: 12px; }

/* help modal bits */
.help-step { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0; }
.help-emoji { font-size: 1.6rem; }
.help-step b { display: block; }
.help-step p { margin: 2px 0 0; font-size: 0.88rem; color: var(--ink-soft); font-weight: 700; line-height: 1.45; }

.tier-row { display: flex; gap: 8px; margin: 10px 0; }
.tier-btn {
  flex: 1;
  padding: 12px 6px;
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
  font-weight: 900;
  font-size: 0.9rem;
  border: 2.5px solid transparent;
}
.tier-btn.sel { border-color: var(--accent1); }

/* board modal */
.rank-line {
  margin-top: 10px;
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--violet);
  animation: badgeIn 0.3s cubic-bezier(.2,1.4,.4,1);
}

.board-rank { display: inline-block; min-width: 30px; color: var(--ink-soft); }
.board-row.you { border: 2.5px solid var(--accent1); }

.name-row { display: flex; gap: 8px; margin: 12px 0 4px; }
.name-row input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 14px;
  border: 2px solid var(--line);
  background: var(--card);
  font: inherit;
  font-weight: 800;
  color: var(--ink);
}
.name-row input:focus { outline: none; border-color: var(--accent1); }
.btn-slim { padding: 11px 18px; }
.name-note { font-size: 0.76rem; font-weight: 700; color: var(--ink-soft); margin: 4px 0 16px; }

.board-row {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--card);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 10px 14px;
  margin-bottom: 8px;
  font-weight: 800;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.board-row .dim { color: var(--ink-soft); font-size: 0.78rem; font-weight: 800; }

/* loading splash */
.splash {
  position: fixed; inset: 0;
  display: grid; place-items: center;
  background: var(--bg);
  z-index: 200;
  flex-direction: column;
}
.splash-inner { text-align: center; }
.splash-cart { font-size: 3rem; display: inline-block; animation: cartRoll 1s ease-in-out infinite; }
@keyframes cartRoll {
  0%, 100% { transform: translateX(-14px) rotate(-6deg); }
  50% { transform: translateX(14px) rotate(6deg); }
}
.splash-text { font-weight: 900; color: var(--ink-soft); margin-top: 10px; }

.main-spacer { height: 20px; }

/* --------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
}
