/* LinkGiftCard — shared styles for business pages, gift pages, dashboard and admin.
   Each business page sets --brand, --brand-ink and --page from its own colours. */
:root {
  --brand: #3A1F2C;
  --brand-ink: #E7CC9C;
  --page: #F4ECEA;
  --ink: #2A1F22;
  --muted: #6E5C60;
  --line: #EADDD9;
  --card: #FFFFFF;
  --soft: #FBF8F7;
  --ok: #2F7A4B;
  --radius: 22px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: 'Geist', system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; }

.wrap { max-width: 480px; margin: 0 auto; padding: 16px 14px 40px; display: flex; flex-direction: column; gap: 12px; }
.wrap.wide { max-width: 1040px; }
.box { background: var(--card); border-radius: var(--radius); padding: 20px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; gap: 8px; }
.row > * { flex: 1; }
.between { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
h1.title { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
h2.sub { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }

.btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 18px; border-radius: 16px; border: 0; background: var(--brand); color: #fff; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; }
.btn.light { background: var(--card); color: var(--ink); font-weight: 500; }
.btn.outline { background: transparent; color: var(--ink); border: 1px solid var(--line); font-weight: 500; }
.btn.small { white-space: nowrap; min-height: 40px; font-size: 14px; border-radius: 10px; padding: 0 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: #F7F1EF; font-size: 13px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

/* Header */
.biz-head { display: flex; align-items: center; gap: 14px; }
.logo { width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: flex; align-items: center; justify-content: center; font-family: 'Italiana', Georgia, serif; font-size: 34px; }

/* The gift card itself */
.giftcard { aspect-ratio: 1.586; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 24px 40px -24px rgba(40, 20, 30, .6); }
.giftcard .gc-name { font-family: 'Italiana', Georgia, serif; font-size: 34px; line-height: 1; }
.giftcard .gc-value { font-size: 24px; font-weight: 600; text-align: right; }
.giftcard .gc-line { font-family: 'Bodoni Moda', Georgia, serif; font-style: italic; font-size: 19px; }
.giftcard .gc-meta { font-size: 12px; opacity: .8; }
.gc-top, .gc-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.gc-bottom { align-items: flex-end; }

/* Choice buttons built from radio inputs */
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { flex: 1 1 64px; position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 6px 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 15px; text-align: center; }
.choice input:checked + span { background: var(--brand); color: #fff; border-color: var(--brand); }
.choice input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.swatch { display: block; width: 100%; aspect-ratio: 1.586; border-radius: 9px; }
.design-choice span { flex-direction: column; gap: 6px; padding: 6px; font-weight: 500; font-size: 12px; background: transparent; border-color: transparent; }
.design-choice input:checked + span { background: #fff; color: var(--ink); border-color: var(--brand); }

label.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: #5C4A4F; }
.input, textarea.input, select.input { width: 100%; min-height: 46px; border-radius: 12px; border: 1px solid #E5D8D5; padding: 10px 14px; font: inherit; font-size: 15px; color: var(--ink); background: var(--soft); }
textarea.input { min-height: 84px; resize: vertical; }

.list-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid #F0E6E3; }
.list-row:last-child { border-bottom: 0; }
.tag { font-size: 13px; font-weight: 500; color: var(--brand); padding: 8px 10px; border-radius: 8px; background: #F7EDEF; text-decoration: none; }
.banner { background: var(--brand); color: #F6E7E0; border-radius: 20px; padding: 16px 20px; font-size: 14px; line-height: 1.45; }
.banner strong { color: var(--brand-ink); }
.notice { background: #FFF6DB; color: #5A4300; border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.error { background: #FDECEC; color: #8A1F1F; border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.success { background: #EEF5F0; color: #1F5A35; border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.qr svg { width: 200px; height: 200px; display: block; margin: 0 auto; }
.code { font-size: 18px; font-weight: 600; letter-spacing: .06em; }
.big-amount { font-size: 30px; font-weight: 600; height: 64px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat p:last-child { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; margin-top: 6px; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #F0EEEA; vertical-align: top; }
.footer { text-align: center; font-size: 12px; color: var(--muted); padding-top: 8px; }
.hidden { display: none !important; }

@media print {
  body { background: #fff; }
  .no-print { display: none !important; }
  .box { padding: 0; }
}

/* Bio link page (minimal) */
.linkrow { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--ink); cursor: pointer; list-style: none; }
.linkrow::-webkit-details-marker { display: none; }
.linkrow .ic { width: 34px; height: 34px; flex: none; border-radius: 50%; background: #F7F1EF; color: var(--brand); display: flex; align-items: center; justify-content: center; }
.linkrow .lbl { flex: 1; font-size: 15px; font-weight: 500; }
.linkrow .chev { color: #A89A9E; flex: none; transition: transform .2s; }
.linkrow-d[open] .chev { transform: rotate(90deg); }
.linkrow-d[open] > .linkrow { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.linkrow-body { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 16px 16px; padding: 6px 16px 10px; background: var(--card); }
.socials { display: flex; justify-content: center; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink); background: var(--card); }
@media (prefers-reduced-motion: reduce) { .linkrow .chev { transition: none; } }

/* ---------- Mini site: feels like an app ---------- */
html { -webkit-text-size-adjust: 100%; }
a, button, summary, label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.app { background: #fff; min-height: 100vh; }
.bio { max-width: 440px; margin: 0 auto; padding: calc(30px + env(safe-area-inset-top)) 20px calc(112px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 26px; }
.bio-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; }
.bio-logo { width: 76px; height: 76px; font-size: 40px; margin-bottom: 10px; }
.bio-name { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.bio-sub { margin: 0; color: var(--muted); font-size: 15px; }
.bio-rating { margin: 6px 0 0; font-size: 14px; font-weight: 500; color: var(--ink); }
.bio-rating .star { color: #B7862F; }
.bio-rating .sep { margin: 0 6px; color: var(--muted); }
.bio-gift { display: flex; flex-direction: column; gap: 12px; }
.bio-card { display: block; text-decoration: none; border-radius: 16px; transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.bio-card:active { transform: scale(.985); }
.bio-note { margin: 0; text-align: center; font-size: 13px; color: var(--muted); }
.bio-bonus { margin: -4px 0 0; text-align: center; font-size: 13px; color: var(--brand); }
.btn { transition: transform .12s ease, opacity .2s; }
.btn:active { transform: scale(.98); }

/* One grouped list, like a phone's settings screen */
.glist { background: #F7F4F3; border-radius: 18px; overflow: hidden; }
.glist > * { position: relative; }
.glist > * + *::before { content: ""; position: absolute; top: 0; left: 64px; right: 0; height: 1px; background: rgba(42, 31, 34, .08); z-index: 1; }
.glist .linkrow { border: 0; border-radius: 0; background: transparent; min-height: 56px; -webkit-user-select: none; user-select: none; transition: background .15s; }
.glist .linkrow:active { background: rgba(42, 31, 34, .05); }
.glist .linkrow .ic { background: #fff; }
.glist .linkrow-d[open] > .linkrow { border-radius: 0; }
.glist .linkrow-d.closing .chev { transform: none; }
.glist .linkrow-body { border: 0; border-radius: 0; background: transparent; padding: 0 16px 12px 64px; overflow: hidden; }
.glist .linkrow-body .list-row { padding: 10px 0; }

/* Compact bar at the top once the header scrolls away */
.appbar { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 10px;
  padding: calc(8px + env(safe-area-inset-top)) max(16px, calc(50vw - 204px)) 8px;
  background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(42, 31, 34, .07); transform: translateY(-105%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.appbar.on { transform: none; }
.appbar-logo { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: flex; align-items: center; justify-content: center; font-family: 'Italiana', Georgia, serif; font-size: 17px; }
.appbar-name { flex: 1; min-width: 0; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar-btn { flex: none; height: 32px; padding: 0 14px; border-radius: 16px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 600; display: flex; align-items: center; text-decoration: none; }

/* Action bar at the bottom once the main button scrolls away */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; gap: 10px;
  padding: 10px max(16px, calc(50vw - 204px)) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-top: 1px solid rgba(42, 31, 34, .07); transform: translateY(110%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.actionbar.on { transform: none; }
.actionbar .btn { flex: 1; min-height: 48px; }
.actionbar .btn.outline { flex: 0 0 34%; background: #fff; }

/* Opened from the home screen: no browser bar at all */
@media (display-mode: standalone) { .bio .footer { display: none; } }
@media (prefers-reduced-motion: reduce) { .appbar, .actionbar, .bio-card, .btn { transition: none; } }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Gift reveal: the card arrives wrapped; tapping "Open your gift" unwraps it */
.reveal { position: fixed; inset: 0; z-index: 50; background: var(--page); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; transition: opacity .45s ease; }
.reveal.done { opacity: 0; pointer-events: none; }
.wrapped { position: relative; width: 100%; max-width: 340px; margin: 18px 0 10px; }
.wrapped .giftcard { transform: scale(.94); transition: transform .6s cubic-bezier(.2,.8,.2,1) .55s; }
.wrapped.opening .giftcard { transform: scale(1) rotate(-2deg); }
.wrap-paper { position: absolute; inset: -6px; border-radius: 20px; overflow: hidden; }
.paper-half { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--paper); background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 10px, transparent 10px 20px); transition: transform .7s cubic-bezier(.6,0,.2,1) .35s; }
.paper-half.left { left: 0; border-radius: 20px 0 0 20px; }
.paper-half.right { right: 0; border-radius: 0 20px 20px 0; }
.ribbon { position: absolute; background: var(--ribbon); transition: transform .35s ease, opacity .35s ease; }
.ribbon.v { left: calc(50% - 14px); width: 28px; top: 0; bottom: 0; }
.ribbon.h { top: calc(50% - 14px); height: 28px; left: 0; right: 0; }
.bow { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transition: transform .35s ease, opacity .3s ease; }
.bow i { position: absolute; width: 58px; height: 38px; border: 10px solid var(--ribbon); border-radius: 50%; top: -28px; }
.bow i:first-child { right: 2px; transform: rotate(-20deg); }
.bow i:last-child { left: 2px; transform: rotate(20deg); }
.bow b { position: absolute; width: 26px; height: 26px; border-radius: 8px; background: var(--ribbon); left: -13px; top: -13px; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.wrapped.opening .ribbon.v { transform: scaleY(0); }
.wrapped.opening .ribbon.h { transform: scaleX(0); }
.wrapped.opening .bow { transform: scale(1.4) rotate(25deg); opacity: 0; }
.wrapped.opening .paper-half.left { transform: translateX(-115%) rotate(-8deg); }
.wrapped.opening .paper-half.right { transform: translateX(115%) rotate(8deg); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .wrapped .giftcard, .paper-half, .ribbon, .bow { transition: none !important; }
}
.story-sheet { position: fixed; inset: 0; z-index: 60; background: rgba(20,12,16,.55); display: flex; align-items: center; justify-content: center; padding: 20px; }

/* Say thanks */
details.thanks > summary { list-style: none; }
details.thanks > summary::-webkit-details-marker { display: none; }
details.thanks[open] > summary { display: none; }

/* Promo kit */
.kit { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.kit-img { aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: var(--soft); }
.kit-img.post { aspect-ratio: 4 / 5; }
.kit-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kit textarea { font-size: 13px; resize: none; }

/* Counter sign: 5x7 in, prints on letter paper */
.sign { width: 5in; min-height: 7in; margin: 8px auto 0; background: #fff; border: 1px solid #E8E1DF; border-radius: 6px; padding: .45in .4in; display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--ink); }
.sign-name { font-size: 12pt; letter-spacing: .02em; color: var(--muted); }
.sign-head { font-family: 'Italiana', Georgia, serif; font-weight: 400; font-size: 34pt; line-height: 1.05; color: var(--brand); margin: 10px 0 18px; }
.sign-qr { width: 2.4in; height: 2.4in; padding: 8px; border-radius: 12px; border: 2px solid var(--brand); }
.sign-qr svg { width: 100%; height: 100%; display: block; }
.sign-cta { font-size: 16pt; font-weight: 600; margin-top: 18px; }
.sign-sub { font-size: 10.5pt; color: var(--muted); margin-top: 6px; }
.sign-bonus { font-size: 10.5pt; color: var(--brand); font-weight: 600; margin-top: 12px; }
.sign-link { font-size: 9pt; color: var(--muted); margin-top: auto; padding-top: 16px; }
@media (max-width: 520px) { .sign { width: 100%; min-height: 0; } }
@media print {
  .sign-wrap { padding: 0; max-width: none; }
  .sign { margin: .5in auto 0; break-inside: avoid; }
  .sign-qr { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Card shop: business line and typed amount */
.shop-line { font-family: 'Bodoni Moda', Georgia, serif; font-style: italic; font-size: 17px; color: var(--muted); margin-top: -4px; }
.money-input { position: relative; display: block; }
.money-input > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.money-input .input { padding-left: 30px; }
.choices.amts .choice { flex-basis: 48px; }
.choices.amts .choice span { padding: 6px 4px; }

/* Owner dashboard: numbered setup steps */
.steps { margin: 0; padding-left: 20px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; line-height: 1.45; }

/* Card shop inside the website pop-up */
.wrap.embed { padding-top: 46px; }
.tag { white-space: nowrap; }

/* Owner dashboard: share buttons */
.sharegrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sharegrid .btn { padding: 0 6px; }
@media (max-width: 420px) { .sharegrid { grid-template-columns: repeat(2, 1fr); } }
.bio .footer a { color: var(--muted); text-decoration: none; }

/* ---------- Owner dashboard: quiet, app-like. Bottom tabs on phones, top tabs on computers. ---------- */
.dash { max-width: 560px; margin: 0 auto; padding: calc(78px + env(safe-area-inset-top)) 18px calc(96px + env(safe-area-inset-bottom)); }
.dash-head { display: flex; align-items: center; gap: 12px; padding: 6px 0 18px; }
.dash-logo { width: 40px; height: 40px; font-size: 17px; flex: none; }
.dash-id { min-width: 0; }
.dash-id h1 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-id a { font-size: 13px; color: var(--muted); text-decoration: none; }
.dash-id a:hover { text-decoration: underline; }
.toast { background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 16px; font-size: 14px; margin-bottom: 16px; }
.dash-main { display: flex; flex-direction: column; }
.tab { display: flex; flex-direction: column; gap: 14px; }
.tab[hidden] { display: none !important; }
.sec { font-size: 13px; font-weight: 600; color: var(--muted); margin: 18px 2px -4px; letter-spacing: 0; }
.panel { background: #F7F4F3; border-radius: 18px; padding: 16px; }
.tab > .stack, .tab > section { gap: 14px; }

/* Tab bar */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: space-around;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-top: 1px solid rgba(42,31,34,.08); }
.tabbar a { flex: 1; max-width: 120px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0; color: #A39498; text-decoration: none; font-size: 11px; font-weight: 500; -webkit-tap-highlight-color: transparent; }
.tabbar a.on { color: var(--ink); }

/* Home */
.hello { font-size: 28px; font-weight: 600; letter-spacing: -.02em; margin-top: 4px; }
.hero-stat { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 4px 0 2px; }
.hero-stat .label { font-size: 13px; color: var(--muted); }
.big { font-size: 44px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.spark { display: flex; align-items: flex-end; gap: 6px; height: 64px; flex: none; }
.spark-col { width: 14px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; }
.spark-bar { width: 100%; border-radius: 4px; background: var(--brand); max-height: calc(100% - 16px); }
.spark-bar.zero { background: #E9E2E0; }
.spark-lbl { font-size: 10px; color: #A39498; line-height: 12px; }
.mini { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 14px 0; border-top: 1px solid rgba(42,31,34,.08); border-bottom: 1px solid rgba(42,31,34,.08); }
.mini div + div { padding-left: 14px; border-left: 1px solid rgba(42,31,34,.08); }
.mini dt { font-size: 12px; color: var(--muted); }
.mini dd { margin: 2px 0 0; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Setup checklist */
.checklist { display: flex; flex-direction: column; gap: 14px; }

.checks li { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; list-style: none; }
.glist.checks { margin: 0; padding: 0; }
.glist.checks > * + *::before { left: 52px; }
.checks a { flex: 1; text-decoration: none; font-size: 15px; padding: 14px 0; }
.tick { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1.6px solid #C9BCBF; background: #fff; padding: 0; cursor: pointer; }
.tick:disabled { cursor: default; }
.checks li.done .tick { background: var(--ok); border-color: var(--ok); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 16px; background-position: center; background-repeat: no-repeat; }
.checks li.done a { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(42,31,34,.25); }

/* Sales list */
.sales { margin: 0; padding: 0; list-style: none; }
.sales li + li { border-top: 1px solid rgba(42,31,34,.08); }
.sales a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 2px; text-decoration: none; }
.sales a:active { opacity: .6; }
.s-main, .s-side { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.s-main strong { font-weight: 500; font-size: 15px; }
.s-sub { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-side { align-items: flex-end; flex: none; }
.s-side strong { font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.dash .chip { padding: 2px 8px; font-size: 11.5px; font-weight: 500; background: #F2EDEC; color: var(--muted); }
.dash .chip.used { background: #EEF5F0; color: #1F5A35; }
.dash .chip.part { background: #FFF6DB; color: #5A4300; }
.empty-note { color: var(--muted); font-size: 14px; padding: 8px 2px; }

/* Other bits */
.okline { color: #1F5A35; font-size: 14px; }
.rowsub { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.result { background: #fff; border-radius: 14px; padding: 12px; }
.private { font-size: 12.5px; color: var(--muted); text-align: center; padding: 18px 10px 0; }
.dash .glist .linkrow .ic { color: var(--ink); }
body:has(.dash) { background: #fff; }
.s-main strong .chip { margin-left: 4px; vertical-align: 1px; }
.more { align-self: flex-start; font-size: 14px; font-weight: 500; color: var(--ink); padding: 4px 2px; }

/* ---------- The island: a small black pill in place of a header ---------- */
.island { position: fixed; z-index: 30; top: calc(10px + env(safe-area-inset-top)); left: 0; right: 0; margin: 0 auto;
  width: max-content; max-width: calc(100vw - 24px); background: #000; color: #fff; border-radius: 22px; overflow: hidden;
  box-shadow: 0 8px 24px -10px rgba(0,0,0,.35); }
.i-bar { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px 0 5px; }
.i-me { display: flex; align-items: center; gap: 9px; background: none; border: 0; color: inherit; font: inherit; padding: 0; cursor: pointer; min-width: 0; -webkit-tap-highlight-color: transparent; }
.i-logo { width: 30px; height: 30px; flex: none; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; font-family: 'Fraunces', Georgia, serif; font-size: 14px; }
.i-name { font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
.i-dot { width: 6px; height: 6px; flex: none; border-radius: 50%; margin-left: 4px; }
.i-dot.live { background: #34D17A; }
.i-dot.wait { background: #F5B83D; }
.i-more { display: none; }
.island.open { width: min(320px, calc(100vw - 24px)); border-radius: 26px; }
.island.open .i-more { display: block; }
.i-in { padding: 6px 16px 16px; display: flex; flex-direction: column; gap: 14px; }
.i-note { font-size: 14px; color: rgba(255,255,255,.85); padding: 2px 2px 0; }
.island.noted .i-stat, .island.noted .i-status, .island.noted .i-actions { display: none; }
.i-stat { display: flex; align-items: baseline; gap: 8px; padding: 0 2px; }
.i-stat strong { font-size: 28px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.i-stat span, .i-status { font-size: 13px; color: rgba(255,255,255,.5); }
.i-status { margin-top: -10px; padding: 0 2px; }
.i-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.i-btn { height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 999px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-family: inherit; font-size: 13.5px; font-weight: 500; text-decoration: none; cursor: pointer; }
.i-btn:active { background: rgba(255,255,255,.2); }
.island :focus-visible { outline-color: #fff; }

@media (max-width: 759px) { .island .tabbar { position: fixed; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }
/* Computers: just the logo, plain text tabs and the dot */
@media (min-width: 760px) {
  .dash { max-width: 680px; padding-top: 88px; padding-bottom: 60px; }
  .island { top: 16px; }
  .i-bar { height: 44px; gap: 4px; padding-right: 16px; }
  .i-name { display: none; }
  .i-me { margin-right: 6px; }
  .island .tabbar { position: static; padding: 0; background: none; border: 0; gap: 0; -webkit-backdrop-filter: none; backdrop-filter: none; justify-content: flex-start; }
  .island .tabbar a { flex: none; max-width: none; padding: 6px 12px; font-size: 13.5px; color: rgba(255,255,255,.45); }
  .island .tabbar a svg { display: none; }
  .island .tabbar a:hover, .island .tabbar a.on { color: #fff; }
  .i-dot { margin-left: 8px; }
  .island.open { width: max-content; }
}

/* ================= Motion: native-app feel (see public/motion.js) ================= */
:root { --m-ease: cubic-bezier(.32,.72,0,1); --m-spring: cubic-bezier(.2,.9,.3,1); --m-bounce: cubic-bezier(.2,.9,.25,1.15); }
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --m-spring: linear(0, 0.05, 0.164, 0.304, 0.447, 0.578, 0.69, 0.782, 0.854, 0.908, 0.946, 0.973, 0.991, 1.002, 1.008, 1.011, 1.011, 1.01, 1.009, 1.007, 1.006, 1.004, 1.003, 1.002, 1.002, 1.001, 1);
    --m-bounce: linear(0, 0.062, 0.205, 0.381, 0.555, 0.709, 0.834, 0.926, 0.989, 1.028, 1.048, 1.054, 1.052, 1.044, 1.035, 1.025, 1.017, 1.01, 1.005, 1.001, 0.999, 0.997, 0.997, 0.997, 0.998, 0.998, 1);
  }
}
* { -webkit-tap-highlight-color: transparent; }

/* Page to page, like an iPhone app: forward pushes in from the right, back slides away */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; }
html:active-view-transition-type(forward)::view-transition-new(root) { animation: m-in-right .5s var(--m-ease) both; box-shadow: -18px 0 40px rgba(0,0,0,.08); }
html:active-view-transition-type(forward)::view-transition-old(root) { animation: m-out-left .5s var(--m-ease) both; }
html:active-view-transition-type(back)::view-transition-old(root) { animation: m-out-right .5s var(--m-ease) both; z-index: 2; box-shadow: -18px 0 40px rgba(0,0,0,.08); }
html:active-view-transition-type(back)::view-transition-new(root) { animation: m-in-left .5s var(--m-ease) both; }
@keyframes m-in-right { from { transform: translateX(100%); } }
@keyframes m-out-left { to { transform: translateX(-28%); filter: brightness(.94); } }
@keyframes m-out-right { to { transform: translateX(100%); } }
@keyframes m-in-left { from { transform: translateX(-28%); filter: brightness(.94); } }
@media (min-width: 760px) { /* On computers a full-width slide is too much: a short glide and fade instead */
  @keyframes m-in-right { from { transform: translateX(36px); opacity: 0; } }
  @keyframes m-out-left { to { transform: translateX(-24px); opacity: 0; } }
  @keyframes m-out-right { to { transform: translateX(36px); opacity: 0; } }
  @keyframes m-in-left { from { transform: translateX(-24px); opacity: 0; } }
  html:active-view-transition-type(forward)::view-transition-new(root), html:active-view-transition-type(back)::view-transition-old(root) { box-shadow: none; }
}
/* The gift card flies from the mini site into the card shop */
.bio-card .giftcard, #giftform .giftcard { view-transition-name: lgc-card; }
::view-transition-group(lgc-card) { animation-duration: .55s; animation-timing-function: var(--m-spring); z-index: 3; }
::view-transition-old(lgc-card) { animation: none; opacity: 0; }
::view-transition-new(lgc-card) { animation: none; height: 100%; }
/* Dashboard tabs: a quick crossfade; the island and the tab bar stay still */
.island { view-transition-name: island; }
.island .tabbar { view-transition-name: tabbar; }
html:active-view-transition-type(tab)::view-transition-old(root) { animation: m-fade-out .14s ease-in both; }
html:active-view-transition-type(tab)::view-transition-new(root) { animation: m-tab-in .32s var(--m-ease) both; }
@keyframes m-fade-out { to { opacity: 0; } }
@keyframes m-tab-in { from { opacity: 0; transform: translateY(8px); } }

/* Pressed: things give a little under your finger, then spring back */
.btn, .i-btn, .appbar-btn, .tag, .bio-card, .choice span, .tick, .i-me, .tabbar a svg, .socials a {
  transition: transform .45s var(--m-spring), background-color .2s, color .2s, border-color .2s, opacity .2s; }
.btn:active, .i-btn:active, .appbar-btn:active, .tag:active { transform: scale(.96); transition-duration: .1s; }
.bio-card:active { transform: scale(.975); transition-duration: .12s; }
.choice input:active + span { transform: scale(.95); transition-duration: .1s; }
.tick:active, .socials a:active { transform: scale(.86); transition-duration: .1s; }
.i-me:active { transform: scale(.95); transition-duration: .1s; }
.tabbar a:active svg { transform: scale(.84); transition-duration: .1s; }
.glist .linkrow, .sales a { transition: background-color .25s, opacity .25s; }
.glist .linkrow:active, .sales a:active { transition-duration: 0s; }
.btn:disabled { opacity: .7; }

/* The gift card changes colour smoothly when a design is picked */
.giftcard { transition: background-color .45s var(--m-ease), color .45s var(--m-ease), border-color .45s var(--m-ease); }

/* Bars slide in on the mini site */
.appbar, .actionbar { transition: transform .5s var(--m-spring); }

/* The opening moment, once, when a page is first opened (not when going back) */
@keyframes m-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes m-pop { from { opacity: 0; transform: scale(.86); } }
@keyframes m-grow { from { transform: scaleY(0); } }
/* The island must never get a transform: the phone tab bar inside it is fixed to the screen */
@keyframes m-drop { from { opacity: 0; top: -40px; } }
.enter .bio-logo { animation: m-pop .6s var(--m-spring) both; }
.enter .bio-name { animation: m-rise .6s var(--m-ease) .05s both; }
.enter .bio-sub, .enter .bio-rating { animation: m-rise .6s var(--m-ease) .1s both; }
.enter .bio-gift { animation: m-rise .7s var(--m-ease) .16s both; }
.enter .bio .glist { animation: m-rise .7s var(--m-ease) .24s both; }
.enter .socials, .enter .bio .footer { animation: m-rise .7s var(--m-ease) .3s both; }
.enter .island { animation: m-drop .6s var(--m-bounce) both; }
.enter .hello { animation: m-rise .6s var(--m-ease) .05s both; }
.enter .hero-stat { animation: m-rise .6s var(--m-ease) .1s both; }
.enter .mini { animation: m-rise .6s var(--m-ease) .16s both; }
.enter .tab[data-tab="home"] > .checklist, .enter .tab[data-tab="home"] > .sec, .enter .tab[data-tab="home"] > .sales { animation: m-rise .6s var(--m-ease) .22s both; }
.enter .spark-bar { transform-origin: bottom; animation: m-grow .8s var(--m-spring) both; animation-delay: calc(.2s + var(--i, 0) * 50ms); }

/* Checklist: the circle pops when ticked */
@keyframes m-tick { 0% { transform: scale(.6); } 100% { transform: scale(1); } }
.checks li.just.done .tick { animation: m-tick .5s var(--m-bounce); }
.checks li a { transition: color .3s; }

/* Island content fades in after the pill starts to grow */
.island .i-in { transform-origin: top center; }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .enter * { animation: none !important; }
  .btn, .i-btn, .appbar-btn, .tag, .bio-card, .choice span, .tick, .i-me, .tabbar a svg, .socials a, .giftcard, .appbar, .actionbar { transition: none !important; }
}

/* Private preview pages made for a prospect */
.preview-bar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top)); background: #17171A; color: #fff; font-size: 13px; text-align: center; }
.preview-bar a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.progress { height: 8px; border-radius: 99px; background: #EEE7E5; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--brand, #3A1F2C); transition: width .3s; }

/* Self-serve signup (/start), claim and welcome */
.start-brand { display: inline-block; font-weight: 600; font-size: 17px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; padding: 6px 4px 14px; }
.start .row { display: flex; gap: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.claim-price { font-size: 15px; margin: 4px 0 0; }
.claim-price strong { font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.win-badge { width: 64px; height: 64px; margin: 6px auto 2px; display: block; }
.win-badge svg { width: 100%; height: 100%; fill: none; stroke: var(--ok, #1F7A45); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.win-badge circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: win-draw .6s var(--m-ease, ease) .1s forwards; }
.win-badge path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: win-draw .4s var(--m-ease, ease) .55s forwards; }
@keyframes win-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .win-badge circle, .win-badge path { animation: none; stroke-dashoffset: 0; } }

/* ---------- Owner dashboard: left sidebar on computers (1024px and wider). Phones and tablets keep the island. ---------- */
.sidebar { display: none; }
@media (min-width: 1024px) {
  .dash .island { display: none; }
  .sidebar { display: flex; flex-direction: column; position: fixed; z-index: 30; left: 0; top: 0; bottom: 0; width: 248px;
    padding: 22px 14px 18px; background: #FAF8F6; border-right: 1px solid #EEE9E6; }
  .sb-brand { display: flex; align-items: center; gap: 11px; padding: 4px 10px 22px; min-width: 0; }
  .sb-brand > span:last-child { min-width: 0; }
  .sb-logo { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--brand-ink);
    display: grid; place-items: center; font-family: "Bodoni Moda", Georgia, serif; font-size: 17px; }
  .sb-name, .sb-url { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sb-name { font-weight: 600; font-size: 15px; line-height: 1.25; color: var(--ink); }
  .sb-url { font-size: 12.5px; color: #8C7F83; }
  .sb-note { margin: 0 4px 14px; padding: 10px 12px; border-radius: 12px; background: #EAF4EE; color: #1E5E3A; font-size: 13px; line-height: 1.4;
    transition: opacity .4s, transform .4s; }
  .sb-note.gone { opacity: 0; transform: translateY(-4px); pointer-events: none; }
  .sb-nav { display: flex; flex-direction: column; gap: 2px; }
  .sb-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: #6F6266; text-decoration: none;
    font-size: 14.5px; font-weight: 500; transition: background-color .2s, color .2s, box-shadow .2s; }
  .sb-nav a svg { width: 20px; height: 20px; flex: none; }
  .sb-nav a:hover { color: var(--ink); background: rgba(255,255,255,.6); }
  .sb-nav a.on { color: var(--ink); background: #fff; box-shadow: 0 1px 2px rgba(40,20,30,.06), 0 0 0 1px #EEE9E6; }
  .sb-nav a:focus-visible, .sb-acts a:focus-visible, .sb-acts button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
  .sb-foot { margin-top: auto; padding: 14px 12px 4px; border-top: 1px solid #EEE9E6; font-size: 13px; color: #6F6266; }
  .sb-status { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
  .sb-status i { width: 8px; height: 8px; border-radius: 50%; background: #E0A526; }
  .sb-status i.live { background: #2E8B57; }
  .sb-acts { display: flex; gap: 8px; }
  .sb-acts a, .sb-acts button { flex: 1; text-align: center; padding: 8px 0; border-radius: 10px; border: 1px solid #E5DFDC; background: #fff;
    color: var(--ink); text-decoration: none; font: 500 13px/1.2 inherit; cursor: pointer; }
  .sb-acts a:hover, .sb-acts button:hover { border-color: #D6CDC9; }

  .dash { max-width: none; margin: 0; padding: 56px 56px 80px 304px; }
  .dash-main > .tab { width: 100%; max-width: 640px; margin-left: auto; margin-right: auto; }
  /* Home: sales on the left, the setup checklist beside it */
}
@media (min-width: 1280px) {
  .dash-main > .tab[data-tab="home"]:not([hidden]):has(> .checklist:not(.hidden)) {
    max-width: 1000px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; column-gap: 56px; align-items: start; }
  .tab[data-tab="home"] > * { grid-column: 1; }
  .tab[data-tab="home"] > .checklist { grid-column: 2; grid-row: 1 / span 8; margin-top: 0; position: sticky; top: 56px; }
}
.sidebar { view-transition-name: sidebar; }

/* Preview pages for Shopify leads: a comparison that drops down from the preview bar */
.pv-cmp-btn { background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 999px; padding: 4px 12px; font: 600 12.5px/1.3 inherit; cursor: pointer; }
.pv-cmp-btn:hover, .pv-cmp-btn[aria-expanded="true"] { background: rgba(255,255,255,.12); }
.pv-cmp { background: #17171A; color: #fff; padding: 4px 16px 22px; border-top: 1px solid rgba(255,255,255,.08); }
.pv-cmp-in { max-width: 720px; margin: 0 auto; }
.pv-cmp-h { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin: 14px 0 12px; }
.pv-cmp table { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.4; }
.pv-cmp th, .pv-cmp td { text-align: left; vertical-align: top; padding: 9px 10px 9px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.pv-cmp thead th { font-size: 12px; font-weight: 500; color: #A8A8B0; }
.pv-cmp tbody th { font-weight: 500; color: #A8A8B0; width: 28%; }
.pv-cmp td:first-of-type { color: #C9C9CF; }
.pv-cmp td:last-child { color: #fff; font-weight: 500; }
.pv-cmp-note { font-size: 12.5px; color: #A8A8B0; margin: 12px 0 0; }
@media (max-width: 560px) { .pv-cmp tbody th { width: 30%; } .pv-cmp th, .pv-cmp td { padding-right: 8px; } }

/* "14 gift cards sent this week" on business pages and the card shop */
.sent-line { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 2px auto 0; font-size: 13px; color: var(--muted, #6E5C60); }
.sent-dot { width: 7px; height: 7px; border-radius: 50%; background: #2E8B57; box-shadow: 0 0 0 0 rgba(46,139,87,.45); animation: sent-pulse 2.4s ease-out infinite; }
@keyframes sent-pulse { 0% { box-shadow: 0 0 0 0 rgba(46,139,87,.45); } 70% { box-shadow: 0 0 0 7px rgba(46,139,87,0); } 100% { box-shadow: 0 0 0 0 rgba(46,139,87,0); } }
@media (prefers-reduced-motion: reduce) { .sent-dot { animation: none; } }
.box > .sent-line { align-self: center; }

/* "Add a photo" on the card shop, and the photo on the gift page */
.photo-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.photo-pick .photo-add { position: relative; cursor: pointer; }
.photo-pick .photo-add:focus-within { outline: 2px solid var(--brand, #3A1F2C); outline-offset: 2px; }
.photo-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.photo-note { flex-basis: 100%; margin: 0; }
.linkbtn { background: none; border: 0; padding: 4px; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.polaroid { margin: 4px auto; max-width: 340px; width: 100%; background: #fff; padding: 12px 12px 16px; border-radius: 6px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 14px 34px -14px rgba(0,0,0,.28); transform: rotate(var(--tilt, -2deg)); }
.polaroid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; background: #F3F1EE; }
.polaroid blockquote { margin: 14px 4px 6px; font-family: "Bodoni Moda", Georgia, serif; font-style: italic; font-size: 19px; line-height: 1.4; }
.polaroid figcaption { margin: 0 4px; font-size: 13px; color: var(--muted, #6E5C60); }
@media (prefers-reduced-motion: reduce) { .polaroid { transform: none; } }

/* Giveaway drops */
.drop-meter { height: 8px; border-radius: 99px; background: #E6DEDB; overflow: hidden; margin: 18px auto 0; width: 100%; max-width: 360px; }
.drop-meter span { display: block; height: 100%; border-radius: inherit; background: var(--brand, #3A1F2C); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.drop-meter.done span { background: #B9AEB1; }
.drop-row { padding: 12px 0; border-top: 1px solid var(--line, #EEE9E6); display: flex; flex-direction: column; gap: 10px; }
.drop-row:first-of-type { border-top: 0; padding-top: 0; }
.drop-new > summary { list-style: none; display: inline-flex; cursor: pointer; }
.drop-new > summary::-webkit-details-marker { display: none; }
.drop-new[open] > summary { display: none; }

/* Group gifts: who's in */
ul.who { list-style: none; margin: 0; padding: 0; }
ul.who li { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line, #EEE9E6); font-size: 15px; }
ul.who li:first-child { border-top: 0; }

/* Dashboard sign-in */
.signin { max-width: 420px; }
.code-input { font: 600 28px/1.2 ui-monospace, Menlo, monospace; letter-spacing: 10px; text-align: center; }

/* Policy pages */
.legal { max-width: 680px; margin: 0 auto; padding: 32px 22px 64px; line-height: 1.65; color: #2A2328; }
.legal h1 { font-size: clamp(30px, 5vw, 40px); letter-spacing: -.03em; line-height: 1.1; margin: 14px 0 6px; }
.legal .lead { font-size: 18px; color: #4D4449; margin: 18px 0 8px; }
.legal section { margin-top: 30px; }
.legal h2 { font-size: 19px; letter-spacing: -.01em; margin: 0 0 8px; }
.legal p, .legal li { font-size: 16px; }
.legal ul { padding-left: 20px; margin: 8px 0; }
.legal li { margin: 6px 0; }
.legal-nav { display: flex; gap: 18px; margin-top: 40px; padding-top: 18px; border-top: 1px solid #EEE9E6; font-size: 14px; }
.legal-nav [aria-current] { font-weight: 600; }

/* Quick sign-in buttons */
.qbtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.qbtn svg { flex: none; }
.or { display: flex; align-items: center; gap: 12px; width: 100%; color: #8C7F83; font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: #EEE9E6; }

/* "Did it arrive?" on the buyer's thank-you page */
.track { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: #F7F4F3; }
.track-dot { flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: #B9AEAB; }
.track-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.track[data-state="sending"] .track-dot, .track[data-state="sent"] .track-dot { background: #D6A23C; animation: track-pulse 1.4s ease-in-out infinite; }
.track[data-state="delivered"] .track-dot { background: #4C8C62; }
.track[data-state="opened"] { background: #EEF5F0; }
.track[data-state="opened"] .track-dot { background: #1F7A45; box-shadow: 0 0 0 4px rgba(31,122,69,.15); }
.track[data-state="bounced"] { background: #FDECEC; }
.track[data-state="bounced"] .track-dot { background: #B3261E; }
@keyframes track-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .track-dot { animation: none !important; } }
.fixbox { padding: 14px 16px; border-radius: 16px; border: 1px solid #EEE6E4; }

/* Orders waiting for the owner's OK */
.holds { border: 1px solid #F1D9A6; background: #FFFBF0; border-radius: 18px; padding: 16px; }
.holds h2 { margin: 0 0 4px; }
.hold-row { padding: 12px 0; border-top: 1px solid #F1E6CC; }
.hold-row:first-of-type { border-top: 0; }
.hold-row .row { gap: 8px; margin-top: 10px; }
.hold-row form { flex: 1; }
.hold-row .btn { width: 100%; }

/* "Not sure what to get?" occasion shortcuts on the gift shop */
.occasions { display: flex; flex-direction: column; gap: 8px; }
.occ-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; padding: 2px 4px; -webkit-overflow-scrolling: touch; }
.occ-row::-webkit-scrollbar { display: none; }
.occ { flex: none; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: inherit; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.occ[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.occ:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
