/* SALTED app. Everything is scoped under .sa so the app can sit inside a Shopify page
   later without leaking into, or inheriting from, the theme. Tokens: tokens.css. */

.sa, .sa * { box-sizing: border-box; }
.sa {
  --a-body: var(--salt); --a-shade: #D6D5CE; --a-ink: var(--graphite);
  color: var(--salt); font-family: var(--text); font-size: 16px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
.sa button, .sa input, .sa select { font: inherit; color: inherit; }
.sa a { color: inherit; text-decoration: none; }
.sa h1, .sa h2, .sa p, .sa ol, .sa figure, .sa fieldset { margin: 0; padding: 0; border: 0; }
.sa ol { list-style: none; }
.sa [hidden] { display: none !important; }
.sa :focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 6px; }

.sa-app { max-width: var(--app-w); margin: 0 auto; min-height: 100dvh; position: relative; }
.sa-view { padding: calc(env(safe-area-inset-top) + 12px) var(--gutter) calc(var(--tab-h) + env(safe-area-inset-bottom) + 28px); display: flex; flex-direction: column; gap: 16px; }
.sa-view[data-route="/log"], .sa-view[data-route="/welcome"], .sa-view[data-route="/dev"] { padding-bottom: 40px; }

/* type */
.sa-h1 { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; text-transform: uppercase; letter-spacing: .005em; }
.sa-display { font-family: var(--display); font-weight: 700; font-size: 48px; line-height: 1.14; text-transform: uppercase; }
.sa-label { font-family: var(--mono); font-weight: 700; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.sa-num { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.sa-mono { font-family: var(--mono); font-size: 12.5px; font-weight: 500; }
.sa-lead { color: var(--mist); font-size: 15px; }
.sa-sub { color: var(--mist); font-size: 13px; }
.sa-ok { display: flex; align-items: center; gap: 8px; color: var(--lime); font-weight: 600; font-size: 14px; }
.sa-empty { color: var(--mist); text-align: center; padding: 48px 12px; }
.sa-ico { width: 20px; height: 20px; flex: none; }

/* header */
.sa-top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.sa-logo { height: 20px; display: block; }
.sa-top__right { display: flex; gap: 8px; }
.sa-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: var(--pill); background: var(--graph-2); border: 1px solid var(--line); font-family: var(--mono); font-weight: 700; font-size: 13px; }
.sa-chip--streak .sa-ico { color: var(--lime); width: 16px; height: 16px; }
.sa-chip--dev { padding: 0 9px; color: var(--mist); }
.sa-chip--dev .sa-ico { width: 16px; height: 16px; }
.sa-pagehead, .sa-sheethead { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }

/* the stage: the creature's place, the biggest thing on home */
.sa-stage { position: relative; height: min(46dvh, 380px); min-height: 280px; border-radius: var(--r-l); overflow: hidden;
  background: radial-gradient(120% 80% at 50% 105%, #2c2f27 0, var(--graph-2) 55%, var(--graphite) 100%); border: 1px solid var(--line); }
.sa-stage__glow { position: absolute; left: 50%; bottom: 8%; width: 70%; height: 22%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(196,211,70,.18), transparent); }
.sa-stage__animal { position: absolute; inset: 6% 8% 12%; cursor: pointer; }
.sa-stage__fx { position: absolute; left: 50%; top: 30%; width: 0; height: 0; pointer-events: none; }
.sa-stage__tag { position: absolute; left: 16px; bottom: 14px; right: 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.sa-stage__tag span { font-family: var(--display); font-weight: 700; font-size: 22px; text-transform: uppercase; }
.sa-stage__tag i { font-style: normal; font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); background: var(--lime); padding: 4px 8px; border-radius: 4px; }
.sa-mood { font-size: 17px; font-weight: 600; line-height: 1.35; padding: 0 2px; }
.sa-mood[data-mood="thirsty"], .sa-mood[data-mood="sad"] { color: var(--salt); }

/* meters */
.sa-meters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sa-meter { background: var(--graph-2); border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.sa-meter__head { display: flex; align-items: baseline; justify-content: space-between; }
.sa-bar { height: 8px; border-radius: var(--pill); background: var(--graph-3); overflow: hidden; }
.sa-bar i { display: block; height: 100%; width: 0; background: var(--lime); border-radius: inherit; transition: width var(--slow) var(--ease); }
.sa-bar--salt i { background: var(--salt); }
.sa-meter.is-low .sa-bar--salt i { background: var(--warn); }
.sa-meter.is-low .sa-num { color: var(--warn); }
.sa-meter .sa-sub { font-size: 12px; line-height: 1.3; }

.sa-note { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r-m); background: var(--graph-2); border: 1px solid var(--line); color: var(--salt); font-size: 14px; font-weight: 500; }
.sa-note p { flex: 1; }
.sa-note .sa-ico { color: var(--lime); }
.sa-note--lime { background: rgba(196,211,70,.1); border-color: rgba(196,211,70,.35); }
.sa-note--warn { background: rgba(232,163,61,.1); border-color: rgba(232,163,61,.4); }
.sa-note--warn > .sa-ico { color: var(--warn); }

/* buttons: pill, lime, graphite text, as on the site */
.sa-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.sa-actions .sa-btn, .sa-row--tight .sa-btn { white-space: nowrap; }
.sa-actions .sa-btn--ghost { padding: 0 18px; }
.sa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: var(--pill); border: 1px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer; transition: transform var(--fast) var(--ease), background var(--fast), border-color var(--fast); text-align: center; line-height: 1.15; }
.sa-btn:active { transform: scale(.97); }
.sa-btn--primary { background: var(--lime); color: var(--graphite) !important; }
.sa-btn--primary:hover { background: var(--lime-hi); }
.sa-btn--ghost { background: transparent; border-color: rgba(238,237,232,.25); color: var(--salt); }
.sa-btn--ghost:hover { border-color: var(--salt); }
.sa-btn--ghost .sa-ico { width: 18px; height: 18px; }
.sa-btn--danger { background: transparent; border-color: rgba(217,97,76,.5); color: var(--bad); }
.sa-btn--block { width: 100%; }
.sa-iconbtn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--graph-2); border: 1px solid var(--line); cursor: pointer; color: var(--salt); }
.sa-iconbtn:active { transform: scale(.94); }
.sa-iconbtn--s { width: 34px; height: 34px; background: transparent; border-color: transparent; color: var(--stone); }
.sa-iconbtn--s .sa-ico { width: 16px; height: 16px; }

/* cards */
.sa-card { background: var(--graph-2); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.sa-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }

/* week strip */
.sa-week__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.sa-day { display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--stone); }
.sa-day i { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--graph-3); display: block; }
.sa-day.is-planned i { border-color: var(--stone); border-style: dashed; }
.sa-day.is-done i { background: var(--lime); border: 2px solid var(--lime); }
.sa-day.is-missed i { border: 2px solid rgba(217,97,76,.6); border-style: solid; }
.sa-day.is-paused i { border-style: dotted; border-color: var(--mist); }
.sa-day.is-today { color: var(--salt); }
.sa-day.is-today i { box-shadow: 0 0 0 3px var(--graphite), 0 0 0 4px var(--salt); }

/* tab bar */
.sa-tabs { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: var(--app-w); z-index: 20;
  height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding: 8px 6px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  background: rgba(19,20,19,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.sa-tab { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--stone); padding: 6px 0; }
.sa-tab.is-on { color: var(--salt); }
.sa-tab.is-on .sa-ico { color: var(--lime); }
.sa-tab--add { justify-self: center; width: 56px; height: 56px; border-radius: 50%; background: var(--lime); color: var(--graphite) !important; display: grid; place-items: center; box-shadow: 0 10px 28px -8px rgba(196,211,70,.6); }
.sa-tab--add .sa-ico { width: 26px; height: 26px; stroke-width: 2.6; }

/* forms */
.sa-form { display: flex; flex-direction: column; gap: 22px; }
.sa-field { display: flex; flex-direction: column; gap: 10px; }
.sa-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sa-chips--row { flex-wrap: nowrap; }
.sa-chips--row .sa-pick { flex: 1; }
.sa-pick { position: relative; cursor: pointer; }
.sa-pick input { position: absolute; opacity: 0; pointer-events: none; }
.sa-pick span { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border-radius: var(--pill); border: 1px solid rgba(238,237,232,.2); font-size: 14px; font-weight: 600; transition: background var(--fast), color var(--fast), border-color var(--fast); }
.sa-pick input:checked + span, .sa-pick.is-on span { background: var(--salt); color: var(--graphite); border-color: var(--salt); }
.sa-pick input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.sa-pick--btn { background: none; border: 0; padding: 0; }
.sa-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sa-stepper { display: flex; align-items: center; justify-content: space-between; background: var(--graph-2); border: 1px solid var(--line); border-radius: var(--r-m); padding: 10px; }
.sa-bignum { display: flex; align-items: baseline; gap: 6px; }
.sa-bignum b { font-family: var(--display); font-weight: 700; font-size: 64px; line-height: 1; font-variant-numeric: tabular-nums; }
.sa-bignum small { font-family: var(--mono); color: var(--mist); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.sa-preview { display: flex; gap: 18px; justify-content: center; font-family: var(--mono); font-weight: 700; font-size: 14px; color: var(--lime); }
.sa-preview span { display: inline-flex; align-items: center; gap: 6px; }
.sa-preview span:last-child { color: var(--salt); }
.sa-preview .sa-ico { width: 16px; height: 16px; }
.sa-input { width: 100%; min-height: 50px; padding: 0 16px; border-radius: var(--r-s); background: var(--graph-3); border: 1px solid var(--line); font-size: 16px; }
.sa-input:focus { border-color: var(--lime); outline: none; }
.sa-input--time { width: auto; min-height: 42px; color-scheme: dark; }
.sa-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sa-row > span { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.sa-row--tight { gap: 8px; }
.sa-row--tight .sa-input { min-height: 52px; }
.sa-row--wrap { flex-wrap: wrap; justify-content: flex-start; gap: 8px; }
.sa-row--wrap .sa-btn { min-height: 42px; padding: 0 16px; font-size: 13px; }
.sa-daypick { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.sa-daybtn { aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(238,237,232,.2); background: transparent; font-family: var(--mono); font-weight: 700; font-size: 12px; cursor: pointer; transition: background var(--fast), color var(--fast); }
.sa-daybtn.is-on { background: var(--lime); color: var(--graphite); border-color: var(--lime); }
.sa-notify { display: flex; flex-direction: column; gap: 8px; }

/* history */
.sa-totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sa-total { background: var(--graph-2); border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.sa-hday { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.sa-hday h2 { padding: 0 2px; }
.sa-hrow { display: grid; grid-template-columns: 36px 1fr auto auto; align-items: center; gap: 10px; background: var(--graph-2); border: 1px solid var(--line); border-radius: var(--r-m); padding: 10px 6px 10px 12px; }
.sa-hrow__ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--graph-3); color: var(--lime); }
.sa-hrow__ico .sa-ico { width: 18px; height: 18px; }
.sa-hrow--sachet .sa-hrow__ico { color: var(--salt); }
.sa-hrow__main { display: flex; flex-direction: column; min-width: 0; }
.sa-hrow__main b { font-size: 15px; }
.sa-hrow__main small { color: var(--mist); font-size: 12.5px; }
.sa-hrow__xp { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--lime); }

/* welcome */
.sa-welcome { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.sa-welcome__animal { height: 240px; margin: 0 -8px; }

/* dev */
.sa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sa-cell { background: var(--graphite); border-radius: var(--r-s); padding: 6px; }
.sa-cell__a { aspect-ratio: 1; }
.sa-cell figcaption { font-family: var(--mono); font-size: 10px; color: var(--mist); text-align: center; }

/* toasts and bursts */
.sa-toasts { position: fixed; left: 50%; top: calc(env(safe-area-inset-top) + 12px); transform: translateX(-50%); width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--app-w) - 2 * var(--gutter)); z-index: 40; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.sa-toast { background: var(--salt); color: var(--graphite); padding: 14px 16px; border-radius: var(--r-m); font-size: 14px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.6); transform: translateY(-16px); opacity: 0; transition: transform var(--slow) var(--ease), opacity var(--slow); }
.sa-toast b { font-weight: 700; margin-right: 4px; }
.sa-toast.is-in { transform: none; opacity: 1; }
.sa-burst { position: absolute; left: 0; top: 0; transform: translate(-50%, 0); font-family: var(--display); font-weight: 700; font-size: 30px; white-space: nowrap; animation: sa-burst 1.7s var(--ease) forwards; text-shadow: 0 4px 18px rgba(0,0,0,.5); }
.sa-burst--lime { color: var(--lime); }
.sa-burst--salt { color: var(--salt); }
@keyframes sa-burst { 0% { opacity: 0; transform: translate(-50%, 10px) scale(.8); } 15% { opacity: 1; transform: translate(-50%, -10px) scale(1.05); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -80px) scale(1); } }

/* ── the placeholder creature ─────────────────────────────────────────────── */
.sa .animal { min-height: 0; }
.sa .animal .a-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.sa .a-line { fill: none; stroke: var(--a-ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.sa .a-body { transform-origin: 160px 270px; animation: a-breathe 3.4s ease-in-out infinite; }
.sa .a-eyes { transform-box: fill-box; transform-origin: center; animation: a-blink 5s infinite; }
.sa .a-happy { transform-origin: 160px 290px; animation: a-sway 3.2s ease-in-out infinite; }  /* content, not bouncing */
.sa .a-sleepy { animation-duration: 5.5s; }
.sa .a-sleepy .a-eyes, .sa .a-happy .a-eyes { animation: none; }
.sa .a-sad { animation-duration: 4.5s; }
.sa .a-waiting { animation: a-breathe 3.4s ease-in-out infinite, a-shift 2.6s ease-in-out infinite; }
.sa .a-thirsty { animation: a-pant .7s ease-in-out infinite; }
.sa .a-drop { animation: a-drop 1.6s ease-in infinite; }
.sa .a-drop.d2 { animation-delay: .8s; }
.sa .a-zzz text { animation: a-zzz 3s ease-in-out infinite; }
.sa .a-zzz text:nth-child(2) { animation-delay: .5s; }
.sa .a-zzz text:nth-child(3) { animation-delay: 1s; }
.sa .a-dots circle { animation: a-dot 1.4s ease-in-out infinite; }
.sa .a-dots circle:nth-child(2) { animation-delay: .2s; }
.sa .a-dots circle:nth-child(3) { animation-delay: .4s; }
.sa .a-crown { animation: a-shine 2.8s ease-in-out infinite; }

.sa .animal.r-session .a-svg, .sa .animal.r-tap .a-svg { animation: a-jump .9s var(--ease); }
.sa .animal.r-sachet .a-svg { animation: a-gulp 1s var(--ease); }
.sa .animal.r-levelUp .a-svg, .sa .animal.r-grow .a-svg { animation: a-grow 1.2s var(--ease); }

@keyframes a-breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(.99, 1.03); } }
@keyframes a-blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@keyframes a-sway { 0%, 100% { transform: rotate(-2.2deg); } 50% { transform: rotate(2.2deg); } }
@keyframes a-hop { 0%, 100% { transform: translateY(0) scale(1, 1); } 30% { transform: translateY(0) scale(1.04, .95); } 50% { transform: translateY(-14px) scale(.98, 1.03); } 70% { transform: translateY(0) scale(1.03, .97); } }
@keyframes a-shift { 0%, 100% { translate: 0 0; } 50% { translate: 4px 0; } }
@keyframes a-pant { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.015, .975); } }
@keyframes a-drop { 0% { opacity: 0; transform: translateY(-4px); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(26px); } }
@keyframes a-zzz { 0%, 100% { opacity: .2; transform: translateY(4px); } 50% { opacity: 1; transform: translateY(-4px); } }
@keyframes a-dot { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes a-shine { 0%, 100% { opacity: .85; } 50% { opacity: 1; filter: drop-shadow(0 0 6px rgba(196,211,70,.8)); } }
@keyframes a-jump { 0% { transform: none; } 25% { transform: translateY(4%) scale(1.06, .9); } 55% { transform: translateY(-14%) scale(.96, 1.06); } 80% { transform: translateY(1%) scale(1.03, .97); } 100% { transform: none; } }
@keyframes a-gulp { 0%, 100% { transform: none; filter: none; } 30% { transform: scale(1.06); filter: drop-shadow(0 0 24px rgba(238,237,232,.45)); } 60% { transform: scale(.98); } }
@keyframes a-grow { 0% { transform: scale(.7); filter: drop-shadow(0 0 0 rgba(196,211,70,0)); } 50% { transform: scale(1.12); filter: drop-shadow(0 0 30px rgba(196,211,70,.8)); } 100% { transform: none; filter: none; } }

.sa .animal--model canvas { width: 100%; height: 100%; display: block; }

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

/* desktop: show the phone column on a quiet ground */
.sa { -webkit-tap-highlight-color: transparent; }
@media (min-width: 700px) {
  .sa-app { border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: var(--graphite); }
}

/* profile */
.sa-me { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; }
.sa-me__animal { position: relative; height: 120px; border-radius: var(--r-m); background: var(--graph-2); border: 1px solid var(--line); }
.sa-me .sa-display { font-size: 30px; }
.sa-growth { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sa-gstage { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.sa-gstage__pic { position: relative; width: 100%; aspect-ratio: 1; border-radius: var(--r-s); background: var(--graphite); border: 1px solid var(--line); }
.sa-gstage.is-locked .sa-gstage__pic > * { filter: brightness(0) invert(.32); opacity: .7; }
.sa-gstage.is-now .sa-gstage__pic { border-color: var(--lime); }
.sa-gstage b { font-size: 12px; font-weight: 600; }
.sa-gstage .sa-label { font-size: 9.5px; letter-spacing: .1em; }
.sa-gstage.is-now .sa-label { color: var(--lime); }

/* ── v0.2: daily loop, rewards, wardrobe, stats ─────────────────────────────── */
.sa-btn--s { min-height: 42px; padding: 0 16px; font-size: 13.5px; }
.sa-btn--xs { min-height: 34px; padding: 0 12px; font-size: 12.5px; gap: 5px; }
.sa-btn--xs .sa-ico, .sa-btn--s .sa-ico { width: 15px; height: 15px; }
.sa-btn--grow { flex: 1; }
.sa-btn:disabled, .sa-iconbtn:disabled { opacity: .35; pointer-events: none; }
.sa-iconbtn--ghost { width: 38px; height: 38px; background: transparent; }
.sa-linkbtn { background: none; border: 0; padding: 4px 0; color: var(--mist); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sa-sectionlabel { padding: 8px 2px 0; }
.sa-input.is-bad { border-color: var(--bad); }

.sa-chip--gem { color: var(--salt); }
.sa-chip--gem .sa-ico { color: var(--lime); width: 16px; height: 16px; }
.sa-chip--streak em { display: inline-flex; align-items: center; gap: 3px; font-style: normal; color: #9fd3e6; margin-left: 4px; }
.sa-chip--streak em .sa-ico { color: #9fd3e6; width: 14px; height: 14px; }

/* creature speech bubble: a dark glass card that points down at the companion */
.sa .sa-bubble { position: absolute; left: 14px; right: 14px; top: 14px; z-index: 3; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start;
  padding: 14px 16px 16px 14px; border-radius: 18px; cursor: pointer;
  background: linear-gradient(180deg, rgba(48,51,44,.94), rgba(30,32,29,.94)); border: 1px solid rgba(238,237,232,.14);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -14px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.06);
  animation: sa-bubble-in .45s var(--ease) both; transform-origin: 50% 100%; }
.sa .sa-bubble::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 16px; height: 16px; transform: translateX(-50%) rotate(45deg);
  background: rgba(30,32,29,.96); border-right: 1px solid rgba(238,237,232,.14); border-bottom: 1px solid rgba(238,237,232,.14); border-bottom-right-radius: 4px; }
.sa-bubble__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(196,211,70,.14); color: var(--lime); }
.sa-bubble__ico .sa-ico { width: 18px; height: 18px; }
.sa-bubble__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sa-bubble__body .sa-label { font-size: 10px; color: var(--lime); }
.sa-bubble__text { font-size: 14.5px; line-height: 1.42; font-weight: 500; color: var(--salt); text-wrap: pretty; }
.sa-bubble__timer { position: absolute; left: 16px; right: 16px; bottom: 7px; height: 2px; border-radius: 2px; background: rgba(196,211,70,.55); transform-origin: left; animation: sa-bubble-timer 6s linear forwards; }
@keyframes sa-bubble-in { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes sa-bubble-timer { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* check-in */
.sa-seg--2 { grid-template-columns: 1fr 1fr; }
.sa-seg--energy .sa-pick span { padding: 0 8px; font-size: 13px; min-height: 46px; text-align: center; }
.sa-switch { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 10px; cursor: pointer; }
.sa-switch input { appearance: none; width: 42px; height: 26px; border-radius: 99px; background: var(--graph-3); border: 1px solid var(--line); position: relative; cursor: pointer; transition: background var(--fast); margin: 0; grid-row: span 2; }
.sa-switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--mist); transition: transform var(--fast) var(--ease), background var(--fast); }
.sa-switch input:checked { background: var(--lime); border-color: var(--lime); }
.sa-switch input:checked::after { transform: translateX(16px); background: var(--graphite); }
.sa-switch > span { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }
.sa-switch > span .sa-ico { width: 16px; height: 16px; color: var(--warn); }
.sa-switch--row { grid-template-columns: 1fr auto; }
.sa-switch--row input { order: 2; grid-row: auto; }

/* quests */
.sa-quests { display: flex; flex-direction: column; gap: 8px; }
.sa-quest { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; min-height: 40px; font-size: 14.5px; font-weight: 500; }
.sa-quest__tick { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--stone); display: grid; place-items: center; color: var(--graphite); }
.sa-quest__tick .sa-ico { width: 15px; height: 15px; stroke-width: 3; }
.sa-quest.is-done .sa-quest__tick { background: var(--lime); border-color: var(--lime); }
.sa-quest.is-claimed > span { color: var(--mist); text-decoration: line-through; text-decoration-color: var(--stone); }
.sa-quest__got { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-weight: 700; font-size: 12.5px; color: var(--lime); }
.sa-quest__got.is-dim { color: var(--stone); }
.sa-quest__got .sa-ico { width: 14px; height: 14px; }
.sa-quest--chest { border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 2px; }
.sa-quest--chest .sa-quest__tick { border-radius: 8px; border-style: dashed; color: var(--mist); }
.sa-quest--chest .sa-quest__tick .sa-ico { stroke-width: 2; width: 16px; height: 16px; }
.sa-quest--chest.is-done .sa-quest__tick { color: var(--graphite); border-style: solid; animation: a-shine 1.6s ease-in-out infinite; }
.sa-quest--chest.is-claimed > span { text-decoration: none; }

/* water */
.sa-water .sa-num small { font-size: 16px; color: var(--mist); font-family: var(--text); font-weight: 600; }
.sa-water__btns { display: grid; grid-template-columns: auto 1fr 1fr; gap: 8px; align-items: center; }
.sa-water__btns .sa-btn { white-space: nowrap; }
.sa-bar--water i { background: linear-gradient(90deg, #8fb7c4, var(--salt)); }
.sa-water.is-full .sa-bar--water i { background: var(--lime); }

/* recap */
.sa-recap { background: linear-gradient(160deg, rgba(196,211,70,.12), var(--graph-2) 60%); border-color: rgba(196,211,70,.3); }
.sa-recap__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sa-recap__nums div { display: flex; flex-direction: column; gap: 4px; }
.sa-recap__nums .sa-label { font-size: 10px; }

/* week strip: frozen day */
.sa-day i { display: grid; place-items: center; }
.sa-day.is-frozen i { border: 2px solid #9fd3e6; background: rgba(159,211,230,.12); color: #9fd3e6; }
.sa-day.is-frozen i .sa-ico { width: 14px; height: 14px; }

/* confetti */
.sa-confetti { position: absolute; left: 50%; top: 40%; width: 8px; height: 12px; background: var(--lime); border-radius: 2px; pointer-events: none; z-index: 5; animation: sa-confetti 1.2s var(--ease) forwards; }
@keyframes sa-confetti { 0% { transform: translate(-50%, 0) rotate(0); opacity: 1; } 100% { transform: translate(calc(-50% + var(--x)), calc(var(--y) + 60px)) rotate(var(--r)); opacity: 0; } }
.sa-card, .sa-shopitem, .sa-badge, .sa-freeze { position: relative; }

/* stats */
.sa-bars { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; height: 150px; align-items: end; }
.sa-bars__col { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.sa-bars__col i { width: 100%; max-width: 26px; background: var(--graph-3); border-radius: 6px 6px 3px 3px; transition: height var(--slow) var(--ease); }
.sa-bars__col.is-now i { background: var(--lime); }
.sa-bars__col small { font-family: var(--mono); font-size: 10px; color: var(--mist); min-height: 13px; }
.sa-bars__col span { font-family: var(--mono); font-size: 9.5px; color: var(--stone); }
.sa-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.sa-cal b { font-family: var(--mono); font-size: 10px; color: var(--stone); text-align: center; padding-bottom: 2px; }
.sa-cal__d { position: relative; aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--mist); background: var(--graphite); }
.sa-cal__d.l1 { background: rgba(196,211,70,.25); color: var(--salt); }
.sa-cal__d.l2 { background: rgba(196,211,70,.55); color: var(--graphite); }
.sa-cal__d.l3 { background: var(--lime); color: var(--graphite); }
.sa-cal__d.is-today { box-shadow: inset 0 0 0 2px var(--salt); }
.sa-cal__d.is-future { opacity: .35; }
.sa-cal__d em { position: absolute; right: 4px; top: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--salt); }
.sa-split { display: flex; flex-direction: column; gap: 10px; }
.sa-split__row { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.sa-split__row i { height: 8px; border-radius: 99px; background: var(--graph-3); overflow: hidden; }
.sa-split__row i b { display: block; height: 100%; background: var(--lime); border-radius: inherit; }
.sa-split__row small { font-family: var(--mono); color: var(--mist); font-size: 11.5px; }
.sa-hday__head { display: flex; justify-content: space-between; align-items: center; }
.sa-hday__head small { display: inline-flex; align-items: center; gap: 4px; letter-spacing: .04em; }
.sa-hday__head .sa-ico { width: 13px; height: 13px; }

/* profile */
.sa-account__row { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; }
.sa-account__row b { display: block; font-size: 15px; }
.sa-account__ico { width: 40px; height: 40px; border-radius: 50%; background: var(--graph-3); display: grid; place-items: center; color: var(--lime); }
.sa-me__id { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.sa-linkcard { flex-direction: row; align-items: center; gap: 12px; }
.sa-linkcard > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.sa-linkcard__ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(196,211,70,.14); color: var(--lime); display: grid; place-items: center; }
.sa-linkcard > .sa-ico:last-child { color: var(--stone); }
.sa-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sa-badge { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 12px 6px; border-radius: var(--r-s); background: var(--graphite); border: 1px solid var(--line); min-height: 138px; }
.sa-badge__ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--graph-3); color: var(--stone); margin-bottom: 2px; }
.sa-badge.is-on .sa-badge__ico { background: var(--lime); color: var(--graphite); }
.sa-badge b { font-size: 12.5px; line-height: 1.2; }
.sa-badge small { font-size: 10.5px; color: var(--mist); line-height: 1.25; }
.sa-badge:not(.is-on) b { color: var(--mist); }
.sa-badge .sa-btn { margin-top: auto; }
.sa-badge__got { margin-top: auto; color: var(--lime) !important; display: inline-flex; align-items: center; gap: 3px; font-family: var(--mono); font-weight: 700; }
.sa-badge__got.is-dim { color: var(--stone) !important; }
.sa-badge__got .sa-ico { width: 14px; height: 14px; }
.sa-stock__left { display: flex; align-items: baseline; gap: 8px; color: var(--mist); font-size: 14px; }
.sa-stock__left.is-low .sa-num { color: var(--warn); }
.sa-bar.is-low i { background: var(--warn) !important; }
.sa-row--wrap .sa-btn .sa-ico { width: 16px; height: 16px; }

/* wardrobe */
.sa-shop__stage { position: relative; height: 240px; border-radius: var(--r-l); background: radial-gradient(120% 80% at 50% 105%, #2c2f27 0, var(--graph-2) 55%, var(--graphite) 100%); border: 1px solid var(--line); }
.sa-shop__animal { position: absolute; inset: 6% 10% 4%; }
.sa-shop__bal { position: absolute; right: 12px; top: 12px; }
.sa-shop { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sa-shopitem { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px; border-radius: var(--r-m); background: var(--graph-2); border: 1px solid var(--line); cursor: pointer; text-align: center; transition: border-color var(--fast); }
.sa-shopitem img { width: 100%; max-width: 120px; aspect-ratio: 1; }
.sa-shopitem b { font-size: 14px; }
.sa-shopitem__price { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-weight: 700; font-size: 12px; color: var(--mist); }
.sa-shopitem__price .sa-ico { width: 13px; height: 13px; color: var(--lime); }
.sa-shopitem.is-trying { border-color: var(--salt); }
.sa-shopitem.is-worn { border-color: var(--lime); }
.sa-shopitem .sa-sub { display: inline-flex; align-items: center; gap: 4px; min-height: 34px; font-size: 12px; }
.sa-shopitem .sa-sub .sa-ico { width: 13px; height: 13px; }
.sa-freeze__row { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; }
.sa-freeze__row > div { display: flex; flex-direction: column; gap: 3px; }
.sa-freeze__ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(159,211,230,.14); color: #9fd3e6; display: grid; place-items: center; }

/* welcome steps */
.sa-welcome__top { display: flex; align-items: center; justify-content: space-between; }
.sa-steps { display: flex; gap: 6px; }
.sa-steps li { width: 26px; height: 4px; border-radius: 4px; background: var(--graph-3); transition: background var(--fast); }
.sa-steps li.is-on { background: var(--lime); }
.sa-welcome .sa-h1 { font-size: 40px; line-height: 1.1; }
.sa-view[data-route="/shop"] { padding-bottom: 40px; }

/* companion picker */
.sa-species { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sa-speciesbtn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 6px 10px; border-radius: var(--r-m); background: var(--graph-2); border: 1px solid var(--line); cursor: pointer; text-align: center; transition: border-color var(--fast), background var(--fast); }
.sa-speciesbtn img { width: 100%; max-width: 92px; aspect-ratio: 1; }
.sa-speciesbtn b { font-size: 14px; }
.sa-speciesbtn small { font-size: 11px; color: var(--mist); line-height: 1.3; }
.sa-speciesbtn.is-on { border-color: var(--lime); background: rgba(196,211,70,.08); }
.sa-species--s .sa-speciesbtn img { max-width: 70px; }
.sa-welcome__animal { height: 200px; }

/* plan: sport per day */
.sa-daysports { display: flex; flex-direction: column; gap: 8px; }
.sa-daysports:empty { display: none; }
.sa-daysport { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 10px; }
.sa-daysport b { font-family: var(--mono); font-size: 12px; color: var(--lime); }
.sa-select { min-height: 44px; appearance: none; -webkit-appearance: none; color-scheme: dark; padding-right: 40px; cursor: pointer;
  background: var(--graph-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A9E95' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }

/* ── the daily chest ─────────────────────────────────────────────────────── */
.sa-chest { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px var(--gutter);
  background: radial-gradient(80% 60% at 50% 42%, rgba(196,211,70,.10), rgba(8,9,8,.88) 70%); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .28s var(--ease); }
.sa-chest.is-in { opacity: 1; }
.sa-chest.is-out { opacity: 0; }
.sa-chest__card { width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.sa-chest__kicker { color: var(--lime); }
.sa-chest__stage { position: relative; width: 260px; height: 250px; display: grid; place-items: center; }
.sa-chest__box { position: relative; z-index: 1; background: none; border: 0; padding: 0; width: 210px; cursor: pointer; animation: sa-chest-drop .6s var(--ease) both, sa-chest-idle 1.6s ease-in-out .7s infinite; }
.sa-chest__svg { width: 100%; display: block; overflow: visible; }
.sa-chest__lid { transform-box: view-box; transform-origin: 100px 86px; transition: transform .45s cubic-bezier(.3,1.6,.5,1); }
.sa-chest__inner { opacity: 0; transition: opacity .3s; }
.sa-chest__hint { color: var(--mist); font-size: 14px; font-weight: 500; min-height: 20px; transition: opacity .2s; }
.sa-chest__reward { display: flex; flex-direction: column; align-items: center; gap: 2px; opacity: 0; transform: translateY(10px) scale(.9); transition: opacity .35s .15s, transform .5s .15s cubic-bezier(.3,1.6,.5,1); }
.sa-chest__num { font-family: var(--display); font-weight: 700; font-size: 76px; line-height: 1; color: var(--lime); font-variant-numeric: tabular-nums; text-shadow: 0 6px 30px rgba(196,211,70,.35); }
.sa-chest__ok { margin-top: 10px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .3s .5s, transform .3s .5s var(--ease); }
.sa-chest__rays { position: absolute; left: 50%; top: 44%; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; opacity: 0; transform: scale(.4);
  background: repeating-conic-gradient(from 0deg, rgba(196,211,70,.22) 0 7deg, transparent 7deg 22deg);
  -webkit-mask: radial-gradient(closest-side, #000 30%, transparent 100%); mask: radial-gradient(closest-side, #000 30%, transparent 100%);
  transition: opacity .4s, transform .6s var(--ease); pointer-events: none; }
.sa-chest__gems { position: absolute; left: 50%; top: 48%; width: 0; height: 0; pointer-events: none; z-index: 2; }
.sa-chest__gem { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; color: var(--lime); filter: drop-shadow(0 3px 8px rgba(196,211,70,.5));
  animation: sa-chest-gem 1.3s cubic-bezier(.2,.8,.3,1) var(--d) both; }
.sa-chest__gem.is-salt { color: var(--salt); }
.sa-chest__gem svg { width: 100%; height: 100%; display: block; }

.sa-chest.is-shaking .sa-chest__box { animation: sa-chest-shake .64s ease-in-out; }
.sa-chest.is-open .sa-chest__box { animation: sa-chest-pop .5s var(--ease); cursor: default; }
.sa-chest.is-open .sa-chest__lid { transform: translate(-6px, -34px) rotate(-24deg); }
.sa-chest.is-open .sa-chest__inner { opacity: 1; }
.sa-chest.is-open .sa-chest__rays { opacity: 1; transform: scale(1); animation: sa-chest-spin 14s linear infinite; }
.sa-chest.is-open .sa-chest__hint { opacity: 0; }
.sa-chest.is-open .sa-chest__reward { opacity: 1; transform: none; }
.sa-chest.is-open .sa-chest__ok { opacity: 1; transform: none; pointer-events: auto; }

@keyframes sa-chest-drop { 0% { opacity: 0; transform: translateY(-60px) scale(.8); } 60% { opacity: 1; transform: translateY(6px) scale(1.03, .96); } 100% { transform: none; } }
@keyframes sa-chest-idle { 0%, 82%, 100% { transform: none; } 86% { transform: rotate(-4deg); } 90% { transform: rotate(4deg); } 94% { transform: rotate(-2deg); } }
@keyframes sa-chest-shake { 0%, 100% { transform: none; } 15% { transform: translateX(-6px) rotate(-5deg); } 30% { transform: translateX(6px) rotate(5deg); } 45% { transform: translateX(-7px) rotate(-6deg) scale(1.02); } 60% { transform: translateX(7px) rotate(6deg) scale(1.04); } 80% { transform: scale(1.08, .92); } }
@keyframes sa-chest-pop { 0% { transform: scale(1.08, .92); } 45% { transform: scale(.96, 1.06) translateY(-6px); } 100% { transform: none; } }
@keyframes sa-chest-spin { to { rotate: 360deg; } }
@keyframes sa-chest-gem { 0% { opacity: 0; transform: translate(0, 10px) scale(.3) rotate(0); } 15% { opacity: 1; } 70% { opacity: 1; transform: translate(var(--x), var(--y)) scale(var(--s)) rotate(var(--r)); } 100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 40px)) scale(var(--s)) rotate(var(--r)); } }

/* ── install gate ────────────────────────────────────────────────────────── */
.sa-view[data-route="/install"] { padding-bottom: 120px; }
.sa-install { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.sa-install__trio { display: flex; justify-content: center; align-items: flex-end; height: 170px; margin: 4px 0 -6px; }
.sa-install__trio img { width: 120px; margin: 0 -14px; animation: sa-trio 2.8s ease-in-out infinite; animation-delay: calc(var(--i) * .25s); }
.sa-install__trio img:nth-child(2) { width: 150px; z-index: 1; }
@keyframes sa-trio { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.sa-install__title { font-size: 40px; line-height: 1.1; }
.sa-isteps { display: flex; flex-direction: column; gap: 10px; counter-reset: s; transition: opacity var(--fast); }
.sa-isteps.is-dim { opacity: .45; }
.sa-istep { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; padding: 14px; border-radius: var(--r-m); background: var(--graph-2); border: 1px solid var(--line); font-size: 15px; line-height: 1.6; }
.sa-istep__n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--graphite); font-family: var(--display); font-size: 17px; }
.sa-key { display: inline-flex; align-items: center; gap: 5px; padding: 1px 9px; margin: 0 2px; border-radius: 8px; background: var(--graph-3); border: 1px solid rgba(238,237,232,.2); font-weight: 600; font-size: 14px; white-space: nowrap; vertical-align: 1px; }
.sa-key .sa-ico { width: 16px; height: 16px; color: #5ea8ff; }
.sa-install__why { display: flex; gap: 10px; align-items: flex-start; color: var(--mist); font-size: 13px; }
.sa-install__why .sa-ico { width: 16px; height: 16px; color: var(--lime); margin-top: 2px; }
.sa-install__done { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: var(--r-m); background: rgba(196,211,70,.12); border: 1px solid rgba(196,211,70,.4); font-weight: 600; }
.sa-install__done .sa-ico { color: var(--lime); }
/* iPhone Safari: an arrow pointing at the Share button in the bottom bar */
.sa-install__arrow { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 10px); width: 40px; height: 56px; margin-left: -20px; z-index: 30; pointer-events: none; animation: sa-arrow 1.4s ease-in-out infinite;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 56' fill='none' stroke='%23C4D346' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 4v44M8 36l12 14 12-14'/%3E%3C/svg%3E"); }
@keyframes sa-arrow { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(8px); opacity: .6; } }

/* still companions (pre-rendered Blender stills, for grids) */
.sa .animal--still { display: grid; place-items: center; }
.sa .animal--still img { width: 100%; height: 100%; object-fit: contain; display: block; user-select: none; }
.sa .animal--still.r-tap img, .sa .animal--still.r-session img { animation: a-jump .9s var(--ease); }

/* rewards: crystals → SALTED credit */
.sa .sa-reward { display: grid; gap: 14px; }
.sa .sa-reward__top { display: flex; align-items: center; gap: 14px; }
.sa .sa-reward__gem { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(196,211,70,.12); color: var(--lime); }
.sa .sa-reward__gem .sa-ico { width: 26px; height: 26px; }
.sa .sa-reward__bal { display: block; font-size: 40px; line-height: 1; }
.sa .sa-reward__rate { justify-self: start; color: var(--lime); }
.sa .sa-reward__ask, .sa .sa-reward__next { font-weight: 600; }
.sa .sa-reward__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--salt); }
.sa .sa-reward__fine { font-size: 12px; line-height: 1.5; }
.sa .sa-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sa a.sa-note { text-decoration: none; }

/* gate on the shop: the app is for customers with an order (Liquid, shopify-embed/pack.py) */
.sa.sa-gate { min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; background: var(--graphite); color: var(--salt); font-family: var(--text); }
.sa .sa-gate__box { width: min(420px, 100%); display: grid; gap: 14px; text-align: center; }
.sa .sa-gate__logo { justify-self: center; height: 28px; width: auto; margin-bottom: 12px; }
.sa .sa-gate__fine a { color: var(--lime); }
