:root {
  --bg: #07080d;
  --surface: #12141c;
  --card: rgba(255, 255, 255, 0.055);
  --stroke: rgba(255, 255, 255, 0.09);
  --text: #fff;
  --text2: rgba(255, 255, 255, 0.6);
  --text3: rgba(255, 255, 255, 0.38);
  --ember: #ff5e3a;
  --magenta: #ff2d87;
  --violet: #8b5cff;
  --cyan: #2ce5ff;
  --lime: #b6ff3b;
  --success: #34e39a;
  --danger: #ff4d6a;
  --gold: #ffd23f;
  --accent: linear-gradient(135deg, var(--ember), var(--magenta) 55%, var(--violet));
  --fresh: linear-gradient(135deg, var(--lime), var(--success) 55%, var(--cyan));
  --cool: linear-gradient(135deg, var(--cyan), var(--violet));
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: var(--font); }
/* Pin the document so iOS can't rubber-band the whole app (which drags the fixed tab bar around).
   Only the inner .screen areas scroll. */
/* No overflow:hidden on html/body: on the root it clips to Safari's (too short) viewport, which cut the
   bottom ~62pt off on iPhone home-screen apps. position:fixed alone already stops the page from scrolling. */
/* Plain (non-fixed) full-height page. iOS clips position:fixed layers to its under-reported viewport in
   home-screen mode, so the frame is a normal block sized to the real screen instead. */
html, body { position: relative; width: 100%; height: var(--app-h, 100%); overflow: hidden; overscroll-behavior: none; }
body { overscroll-behavior: none; -webkit-font-smoothing: antialiased; -webkit-user-select: none; user-select: none; }
input, textarea, select { -webkit-user-select: text; user-select: text; font-family: inherit; }
button { font-family: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; touch-action: manipulation; }
/* --app-h is set from JS. On iPhone home-screen apps Safari under-reports the height by the status bar,
   which left a black strip at the bottom. transform makes #app the frame for every fixed element inside it
   (tab bar, rest timer, sheets), so they all anchor to the true bottom of the screen. */
#app { position: absolute; top: 0; left: 0; width: 100%; height: var(--app-h, 100%); overflow: hidden; transform: translateZ(0); z-index: 1; }

/* ---------- animated background ---------- */
.bg { position: absolute; top: 0; left: 0; width: 100%; height: var(--app-h, 100%); z-index: 0; overflow: hidden; pointer-events: none; background: var(--bg); }
.bg i { position: absolute; border-radius: 50%; filter: blur(90px); animation: drift 18s ease-in-out infinite alternate; }
.bg i:nth-child(1) { width: 360px; height: 360px; background: rgba(255, 45, 135, 0.22); left: -120px; top: -140px; }
.bg i:nth-child(2) { width: 320px; height: 320px; background: rgba(139, 92, 255, 0.22); right: -140px; top: 120px; animation-delay: -6s; }
.bg i:nth-child(3) { width: 300px; height: 300px; background: rgba(44, 229, 255, 0.1); left: -60px; bottom: -80px; animation-delay: -12s; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(40px, 50px); } }

/* ---------- layout ---------- */
.screen { position: absolute; inset: 0; z-index: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: calc(var(--sat) + 12px) 16px calc(var(--sab) + 130px); }
.screen::-webkit-scrollbar { display: none; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.screen > .stack { max-width: 560px; margin: 0 auto; }
.row { display: flex; align-items: center; gap: 12px; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.hscroll { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 4px 16px 8px; scroll-snap-type: x proximity; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { flex: none; scroll-snap-align: start; }

/* ---------- type ---------- */
.title { font-size: 34px; font-weight: 800; letter-spacing: -0.5px; margin: 0; }
.h2 { font-size: 20px; font-weight: 700; margin: 0; }
.sub { font-size: 13px; font-weight: 500; color: var(--text2); margin-top: 2px; }
.caps { font-size: 11px; font-weight: 800; letter-spacing: 0.6px; color: var(--text3); text-transform: uppercase; }
.muted { color: var(--text2); }
.faint { color: var(--text3); }
.big { font-size: 34px; font-weight: 900; line-height: 1; }
.tnum { font-variant-numeric: tabular-nums; }
.grad-text { background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- cards & controls ---------- */
/* Note: no backdrop-filter here. On iOS Safari, blurred layers inside a scrolling area can make taps land on the wrong element. */
.card { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--stroke); border-radius: 24px; padding: 16px; position: relative; }
.card.lg { border-radius: 28px; padding: 18px; }
.card.sm { border-radius: 18px; padding: 12px; }
.press { transition: transform 0.18s cubic-bezier(.3, 1.5, .6, 1), opacity 0.18s; }
.press:active { transform: scale(0.96); opacity: 0.9; }

.btn-primary { width: 100%; padding: 17px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 17px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid rgba(255,255,255,.25);
  animation: glow 2.4s ease-in-out infinite alternate; }
.btn-primary:disabled { opacity: 0.4; animation: none; }
@keyframes glow { from { box-shadow: 0 6px 14px rgba(255, 45, 135, 0.25); } to { box-shadow: 0 8px 28px rgba(255, 45, 135, 0.55); } }
.btn-ghost { padding: 11px; border-radius: 14px; background: rgba(255,255,255,.08); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 6px; }
.btn-dashed { width: 100%; padding: 16px; border-radius: 20px; border: 1.5px dashed rgba(255, 45, 135, 0.8); background: rgba(255, 45, 135, 0.08);
  font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-text { font-size: 15px; font-weight: 600; color: var(--text2); padding: 10px; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid var(--stroke);
  display: grid; place-items: center; flex: none; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.07);
  font-size: 13px; font-weight: 700; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.08);
  border: 1px solid var(--stroke); font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); white-space: nowrap; }
.chip.sm { padding: 4px 9px; font-size: 11px; }
.chip.on { color: #000; border-color: transparent; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; }
.fchip { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 13px; font-weight: 600; white-space: nowrap; color: rgba(255,255,255,.75); }
.fchip.on { background: var(--accent); color: #fff; }
.seg { display: flex; background: rgba(255,255,255,.07); border-radius: 12px; padding: 3px; }
.seg button { flex: 1; padding: 8px 6px; border-radius: 9px; font-size: 13px; font-weight: 700; color: var(--text2); transition: all .2s; }
.seg button.on { background: rgba(255,255,255,.16); color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.input { width: 100%; background: rgba(255,255,255,.07); border: 1.5px solid transparent; border-radius: 14px; padding: 13px 14px;
  color: #fff; font-size: 16px; font-weight: 600; outline: none; }
.input:focus { border-color: rgba(255, 45, 135, .8); background: rgba(255,255,255,.12); }
.input.title-input { background: none; padding: 0; font-size: 28px; font-weight: 800; border: 0; }
.toggle { display: inline-block; width: 51px; height: 31px; border-radius: 999px; background: rgba(255,255,255,.16); position: relative; transition: background .2s; flex: none; }
.toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff;
  transition: transform .25s cubic-bezier(.3,1.4,.6,1); box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.toggle.on { background: var(--success); }
.toggle.on::after { transform: translateX(20px); }
.stepper { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.stepper button { width: 32px; height: 32px; border-radius: 10px; background: rgba(255,255,255,.1); font-size: 18px; font-weight: 700; }
.bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 99px; transition: width .5s cubic-bezier(.3,1.2,.6,1); }

/* ---------- stat tile ---------- */
.tile { display: flex; flex-direction: column; gap: 8px; }
.tile .ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.tile .val { font-size: 22px; font-weight: 800; }
.tile .val small { font-size: 12px; font-weight: 600; color: var(--text2); margin-left: 3px; }
.tile .lbl { font-size: 12px; font-weight: 500; color: var(--text2); }

/* ---------- tab bar ---------- */
.tabbar-wrap { position: fixed; z-index: 20; transform: translateZ(0); left: 16px; right: 16px; bottom: calc(var(--sab) + 6px); max-width: 528px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px; }
.tabbar { height: 68px; border-radius: 999px; display: flex; align-items: center; padding: 0 8px;
  background: rgba(18, 20, 28, 0.72); border: 1px solid var(--stroke); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--text3); height: 100%; justify-content: center; }
.tab svg { transition: transform .25s cubic-bezier(.3,1.5,.6,1); }
.tab.on { color: var(--magenta); }
.tab.on svg { transform: scale(1.1); }
.tab .ind { width: 16px; height: 3px; border-radius: 3px; background: transparent; transition: background .2s; }
.tab.on .ind { background: var(--accent); }
.fab { width: 58px; height: 58px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin-top: -28px;
  border: 1px solid rgba(255,255,255,.3); animation: glow 1.8s ease-in-out infinite alternate; flex: none; margin-left: 6px; margin-right: 6px; }
.fab.active svg { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; transform: scale(.9); } }
.mini { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; border-radius: 22px;
  background: rgba(18, 20, 28, 0.78); border: 1px solid var(--stroke); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  animation: rise .4s cubic-bezier(.3,1.3,.6,1); }
.live { width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); flex: none; }
@keyframes rise { from { transform: translateY(30px); opacity: 0; } }

/* ---------- appear animation ---------- */
.appear > * { animation: appear .6s cubic-bezier(.25,1.2,.5,1) both; }
.appear > *:nth-child(2) { animation-delay: .04s; } .appear > *:nth-child(3) { animation-delay: .08s; }
.appear > *:nth-child(4) { animation-delay: .12s; } .appear > *:nth-child(5) { animation-delay: .16s; }
.appear > *:nth-child(6) { animation-delay: .2s; } .appear > *:nth-child(7) { animation-delay: .24s; }
@keyframes appear { from { opacity: 0; transform: translateY(22px); } }

/* ---------- overlays ---------- */
.overlay { position: fixed; inset: 0; z-index: 40; background: var(--bg); animation: slideup .4s cubic-bezier(.2,1,.4,1); }
@keyframes slideup { from { transform: translateY(100%); } }
.push { position: fixed; inset: 0; z-index: 30; background: var(--bg); animation: pushin .35s cubic-bezier(.2,1,.4,1); }
@keyframes pushin { from { transform: translateX(100%); } }
.navbar { position: sticky; top: calc(-1 * (var(--sat) + 12px)); z-index: 5; display: flex; align-items: center; gap: 10px;
  margin: calc(-1 * (var(--sat) + 12px)) -16px 0; padding: calc(var(--sat) + 10px) 16px 10px;
  background: linear-gradient(var(--bg) 60%, transparent); }
.backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.55); animation: fade .25s; display: flex; align-items: flex-end; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; max-width: 600px; margin: 0 auto; max-height: 92vh; overflow-y: auto; border-radius: 32px 32px 0 0;
  background: rgb(22, 24, 34); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border: 1px solid var(--stroke);
  padding: 10px 20px calc(var(--sab) + 20px); animation: slideup .35s cubic-bezier(.2,1,.4,1); }
.sheet.full { height: 92vh; display: flex; flex-direction: column; padding-bottom: 0; }
.grabber { width: 40px; height: 5px; border-radius: 5px; background: rgba(255,255,255,.25); margin: 0 auto 14px; }
.dialog { margin: auto; width: calc(100% - 48px); max-width: 340px; background: rgba(30,32,44,.95); border-radius: 22px; padding: 22px 18px 14px;
  border: 1px solid var(--stroke); text-align: center; animation: pop .3s cubic-bezier(.3,1.4,.6,1); }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }
.dialog h3 { margin: 0 0 6px; font-size: 18px; }
.dialog p { margin: 0 0 16px; color: var(--text2); font-size: 14px; line-height: 1.4; }
.dialog .acts { display: flex; flex-direction: column; gap: 8px; }
.dialog .acts button { padding: 13px; border-radius: 14px; background: rgba(255,255,255,.08); font-weight: 700; font-size: 16px; }
.dialog .acts button.danger { color: var(--danger); }
.dialog .acts button.go { background: var(--fresh); color: #000; }
.menu { position: absolute; right: 0; top: 40px; z-index: 10; min-width: 210px; background: rgba(36,38,50,.97); border-radius: 16px;
  border: 1px solid var(--stroke); overflow: hidden; box-shadow: 0 14px 40px rgba(0,0,0,.6); animation: pop .2s; transform-origin: top right; }
.menu button { display: flex; width: 100%; padding: 13px 16px; font-size: 15px; font-weight: 600; gap: 10px; align-items: center; text-align: left; }
.menu button + button { border-top: 1px solid rgba(255,255,255,.06); }
.menu button.danger { color: var(--danger); }
.toast { position: fixed; z-index: 60; left: 50%; top: calc(var(--sat) + 14px); transform: translateX(-50%); padding: 10px 16px; border-radius: 999px;
  background: rgba(36,38,50,.95); border: 1px solid var(--stroke); font-weight: 700; font-size: 14px; animation: drop .35s cubic-bezier(.3,1.4,.6,1); white-space: nowrap; }
@keyframes drop { from { transform: translate(-50%, -30px); opacity: 0; } }

/* ---------- muscle map ---------- */
.mapwrap { perspective: 700px; touch-action: pan-y; position: relative; }
.mapwrap svg { display: block; width: 100%; height: 100%; }
.mapinner { width: 100%; height: 100%; transform-style: preserve-3d; }
.muscle { transition: fill .4s, stroke .2s, filter .3s; cursor: pointer; }
.side-toggle { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px;
  background: rgba(0,0,0,.4); font-size: 11px; font-weight: 800; display: flex; gap: 8px; align-items: center; letter-spacing: .5px; }

/* ---------- session ---------- */
.set-head, .set-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 72px 58px 42px; gap: 8px; align-items: center; }
.set-head > span { overflow: hidden; white-space: nowrap; }
@media (max-width: 360px) {
  .set-head, .set-row { grid-template-columns: 30px minmax(0, 1fr) 60px 50px 38px; gap: 6px; }
  .set-head { font-size: 10px; }
}
.set-head { font-size: 11px; font-weight: 800; color: var(--text3); text-align: center; }
.set-row { padding: 3px 4px; border-radius: 12px; transition: background .3s; margin: 0 -4px; }
.set-row.done { background: rgba(52, 227, 154, 0.13); }
.set-badge { height: 34px; border-radius: 10px; background: rgba(255,255,255,.08); font-weight: 800; font-size: 14px; }
.prev { font-size: 13px; font-weight: 600; color: var(--text3); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.num { width: 100%; text-align: center; background: rgba(255,255,255,.07); border: 1.5px solid transparent; border-radius: 10px; padding: 7px 2px;
  color: #fff; font-size: 16px; font-weight: 700; outline: none; font-variant-numeric: tabular-nums; }
.num:focus { border-color: rgba(255, 45, 135, .8); background: rgba(255,255,255,.16); }
.num::placeholder { color: var(--text3); }
.set-row.done .num { background: transparent; }
.check { height: 34px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--text3);
  transition: all .25s cubic-bezier(.3,1.5,.6,1); }
.check.on { background: var(--fresh); color: #000; box-shadow: 0 0 14px rgba(52,227,154,.6); }
.check.burst svg { animation: burst .35s cubic-bezier(.3,1.8,.6,1); }
@keyframes burst { 40% { transform: scale(1.5); } }
.ex-card.alldone { border-color: rgba(52,227,154,.5); }
.ex-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 20px; flex: none; }
.note { width: 100%; background: rgba(255,210,63,.08); border: 0; border-radius: 12px; padding: 10px; color: rgba(255,255,255,.9);
  font-size: 14px; font-weight: 500; resize: none; outline: none; }
.rest { position: fixed; z-index: 45; left: 16px; right: 16px; bottom: calc(var(--sab) + 10px); max-width: 528px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 26px; background: rgba(18,20,28,.82);
  border: 1px solid rgba(44,229,255,.35); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 6px 24px rgba(44,229,255,.25); animation: rise .4s cubic-bezier(.3,1.3,.6,1); }
.rest .rb { width: 44px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); font-weight: 700; font-size: 13px; }
.rest .skip { width: 40px; height: 40px; border-radius: 50%; background: var(--cool); color: #000; display: grid; place-items: center; }
.finish { padding: 8px 16px; border-radius: 999px; background: var(--fresh); color: #000; font-weight: 800; font-size: 15px; }

/* ---------- template card ---------- */
.tcard { width: 170px; height: 170px; border-radius: 26px; padding: 16px; position: relative; overflow: hidden; display: flex; flex-direction: column;
  text-align: left; color: #fff; }
.tcard::before { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,.15); right: -45px; top: -45px; }
.tcard::after { content: ""; position: absolute; width: 100px; height: 100px; border-radius: 50%; background: rgba(0,0,0,.1); left: -30px; bottom: -40px; }
.tcard > * { position: relative; z-index: 1; }

/* ---------- week strip ---------- */
.week { display: flex; }
.week > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.day { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06);
  font-weight: 700; font-size: 13px; color: var(--text2); border: 2px solid transparent; }
.day.today { border-color: var(--magenta); color: #fff; }
.day.did { background: var(--accent); color: #fff; box-shadow: 0 0 10px rgba(255,45,135,.6); border-color: transparent; }

/* ---------- history grid ---------- */
.cgrid { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 1fr); gap: 4px; }
.cgrid i { aspect-ratio: 1; border-radius: 3px; background: rgba(255,255,255,.07); }
.cgrid i.future { background: rgba(255,255,255,.02); }
.cgrid i.today { outline: 1px solid rgba(255,255,255,.7); }
.datebox { width: 50px; height: 60px; border-radius: 16px; background: rgba(255,255,255,.06); display: flex; flex-direction: column;
  align-items: center; justify-content: center; flex: none; }

/* ---------- picker ---------- */
.search { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border-radius: 12px; padding: 0 12px; }
.search input { flex: 1; background: none; border: 0; outline: none; color: #fff; font-size: 16px; padding: 11px 0; }
.ex-row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 18px; background: rgba(255,255,255,.04);
  border: 1px solid transparent; width: 100%; text-align: left; transition: background .2s, border-color .2s; }
.ex-row.on { background: rgba(255,45,135,.12); border-color: rgba(255,45,135,.5); }
.ex-row .sel { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06);
  font-weight: 800; font-size: 13px; flex: none; color: var(--text2); }
.ex-row.on .sel { background: var(--accent); color: #fff; }

/* ---------- install banner ---------- */
.install { display: flex; gap: 12px; align-items: center; border-color: rgba(44,229,255,.35); }
.install .share { display: inline-block; vertical-align: -3px; }

/* ---------- charts ---------- */
.chart text { fill: var(--text3); font-size: 10px; font-weight: 600; font-family: var(--font); }
.chart .grid { stroke: rgba(255,255,255,.06); }

/* ---------- confetti / summary ---------- */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 41; }
.trophy { width: 110px; height: 110px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin: 0 auto;
  box-shadow: 0 0 40px rgba(255,45,135,.8); animation: trophy .8s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes trophy { from { transform: scale(.3) rotate(-40deg); opacity: 0; } }

/* ---------- onboarding ---------- */
.logo { position: relative; width: 150px; height: 150px; margin: 0 auto; display: grid; place-items: center; }
.logo .ring { position: absolute; inset: 0; border-radius: 50%; animation: spin 14s linear infinite;
  background: conic-gradient(var(--ember), var(--magenta), var(--violet), var(--cyan), var(--ember));
  -webkit-mask: radial-gradient(circle, transparent 69px, #000 70px); mask: radial-gradient(circle, transparent 69px, #000 70px); }
.logo .core { width: 110px; height: 110px; border-radius: 50%; background: var(--accent); display: grid; place-items: center;
  box-shadow: 0 0 40px rgba(255,45,135,.7); }
@keyframes spin { to { transform: rotate(360deg); } }
.wordmark { font-size: 46px; font-weight: 900; letter-spacing: 10px; text-align: center; margin: 0; padding-left: 10px; }
.goalbtn { flex: 1; height: 44px; border-radius: 12px; background: rgba(255,255,255,.07); font-weight: 700; font-size: 17px; }
.goalbtn.on { background: var(--accent); }

.empty { text-align: center; padding: 26px 10px; }
.empty .em { width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.06); display: grid; place-items: center;
  margin: 0 auto 12px; font-size: 36px; }
.empty b { display: block; font-size: 18px; margin-bottom: 6px; }
.empty p { margin: 0; color: var(--text2); font-size: 14px; }

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