/* Mom Fit */

:root {
  --bg: #F6F1E7;
  --surface: #FFFDF8;
  --ink: #2C241D;
  --muted: #756A5B;
  --line: #E7DECF;
  --muted-strong: #6E6355;
  --brand: #157F63;
  --brand-tint: #D6EAE2;
  --day: #157F63;
  --tint: #D6EAE2;
  --serif: ui-serif, Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --round: ui-rounded, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.45;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
}
button:active { transform: scale(0.97); }
button:focus-visible, a:focus-visible { outline: 3px solid var(--day); outline-offset: 2px; }

.num { font-family: var(--round); font-variant-numeric: tabular-nums; }

#app { max-width: 480px; margin: 0 auto; }

.screen {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: calc(env(safe-area-inset-top) + 18px) 20px calc(env(safe-area-inset-bottom) + 22px);
  animation: fadeUp 0.28s ease-out;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  margin-bottom: 6px;
}
.icon-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
}
.topbar .spacer { width: 48px; }

h1.display {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.sub { color: var(--muted-strong); font-size: 18px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
}
.card, .day-btn, .m-row {
  box-shadow: 0 1px 2px rgba(44, 36, 29, 0.05), 0 4px 14px rgba(44, 36, 29, 0.06);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tint);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 600;
}
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--day); }

/* Lock screen */
.lock { justify-content: center; text-align: center; gap: 10px; }
.lock h1 { font-family: var(--serif); font-size: 38px; }
.dots { display: flex; gap: 18px; justify-content: center; margin: 26px 0 34px; }
.dots .d {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--muted); background: transparent;
  transition: background 0.15s, border-color 0.15s;
}
.dots .d.on { background: var(--brand); border-color: var(--brand); }
.dots.shake { animation: shake 0.4s; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}
.keys {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  justify-items: center;
  max-width: 300px;
  margin: 0 auto;
}
.key {
  width: 82px; height: 82px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 30px;
  font-family: var(--round);
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.key.blank { visibility: hidden; }
.lock-note { color: var(--muted-strong); font-size: 16px; margin-top: 20px; min-height: 24px; }
.lock .btn-primary:disabled { background: #DCE9E3; color: #157F63; opacity: 1 !important; box-shadow: none; }

/* Home */
.greet { margin: 14px 0 2px; }
.today-line { color: var(--muted); font-size: 17px; margin-bottom: 18px; }
.day-btn {
  width: 100%;
  text-align: left;
  border-radius: 22px;
  padding: 20px 22px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.day-btn .k { color: var(--muted); font-size: 15px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.day-btn .n { font-family: var(--serif); font-size: 28px; font-weight: 700; display: block; line-height: 1.12; }
.day-btn .m { color: var(--muted-strong); font-size: 17px; margin-top: 4px; display: inline-block; }
.day-btn:not(.big) .n::before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 10px;
  background: var(--day);
  vertical-align: middle;
}
.day-btn.big {
  background: var(--day);
  border-color: var(--day);
  color: #FFFDF8;
  padding: 26px 22px;
}
.day-btn.big .k, .day-btn.big .m { color: rgb(255, 253, 248); }
.day-btn.big .n { font-size: 36px; }
.home-links { display: flex; gap: 12px; margin-top: auto; padding-top: 20px; }
.home-links .btn-ghost { flex: 1; }

.btn-primary {
  width: 100%;
  min-height: 64px;
  border-radius: 18px;
  background: var(--day);
  color: #FFFDF8;
  font-size: 21px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(44, 36, 29, 0.18);
}
.btn-ghost {
  min-height: 56px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 18px;
  font-weight: 600;
  padding: 0 18px;
}
.link-quiet {
  color: var(--muted-strong);
  font-size: 17px;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 14px;
  align-self: center;
}
.link-brand { color: var(--brand); font-weight: 600; }

.banner {
  border: 1.5px solid var(--day);
  background: var(--tint);
  border-radius: 20px;
  padding: 16px 18px;
  margin-bottom: 18px;
}
.banner .t { font-weight: 700; font-size: 18px; }
.banner .s { color: var(--muted); font-size: 16px; }
.banner .row { display: flex; gap: 10px; margin-top: 12px; }
.banner .btn-primary { min-height: 54px; font-size: 18px; flex: 1 1 auto; min-width: 0; }
.banner .btn-ghost { white-space: nowrap; flex: 0 0 auto; padding: 0 18px; }

/* Preview */
.ex-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
}
.ex-row:last-child { border-bottom: none; }
.ex-row .nm { font-size: 20px; font-weight: 600; }
.ex-row .nt { color: var(--muted); font-size: 15px; display: block; font-weight: 400; }
.ex-row .rp { color: var(--muted); font-size: 16px; white-space: nowrap; }
.nudge {
  background: var(--tint);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 17px;
  margin: 14px 0;
}

/* Lift screen */
.progress-track {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
  margin: 0 14px;
}
.progress-fill { height: 100%; border-radius: 4px; background: var(--day); transition: width 0.3s; }
.progress-count { color: var(--muted); font-size: 15px; font-weight: 600; white-space: nowrap; }

.lift-body { display: flex; flex-direction: column; flex: 1; text-align: center; }
.resume-note { color: var(--muted); font-size: 16px; margin-top: 6px; }
.ex-name {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 14px;
}
.ex-note { color: var(--muted); font-size: 17px; margin-top: 4px; }

.set-dots { display: flex; gap: 6px; justify-content: center; margin: 10px 0 0; }
.set-dots .sd {
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  padding: 0;
  display: grid;
  place-items: center;
}
.set-dots .sd::before {
  content: '';
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--day);
  background: transparent;
  box-sizing: border-box;
}
.set-dots .sd.done::before { background: var(--day); }
.set-dots .sd.cur::before { box-shadow: 0 0 0 4px var(--tint); }
.review-sets { font-size: 22px; color: var(--ink); margin-top: 8px; }
.lift-body.review-mode::before { content: ''; margin-top: auto; }
.set-label { color: var(--muted); font-size: 17px; font-weight: 600; }

.reps-chip {
  margin: 18px auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px 26px;
}
.reps-chip .v { font-size: 40px; font-weight: 700; }
.reps-chip .u { color: var(--muted); font-size: 17px; font-weight: 600; }
.reps-chip .chip-hint {
  display: block;
  color: var(--day);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 2px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-style: dotted;
}
.aim-line { color: var(--muted); font-size: 15px; margin-top: 8px; }
.aim-line b { color: var(--day); }
.next-up { color: var(--muted-strong); font-size: 16px; text-align: center; padding-bottom: 4px; }
.ex-img {
  width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--line);
  margin: 10px auto 0;
  display: block;
  background: var(--surface);
  mix-blend-mode: multiply;
}
.reps-adjust { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 10px; }
.reps-adjust[hidden] { display: none; }
.reps-adjust .step-btn { width: 54px; height: 54px; font-size: 26px; }

.stepper { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 26px 0 6px; }
.step-btn {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--day);
  font-size: 36px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  user-select: none;
  -webkit-user-select: none;
}
.weight-val { min-width: 130px; text-align: center; }
.weight-val .v { font-size: 50px; font-weight: 700; line-height: 1; }
.weight-val .u { color: var(--muted); font-size: 17px; font-weight: 600; }

/* Lucy Bucks */
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bucks-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px 6px 8px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(44, 36, 29, 0.05);
}
.bucks-pill img { width: 26px; height: 26px; }
.bucks-hero { text-align: center; margin-top: 8px; }
.bucks-hero img { width: 92px; height: 92px; animation: pop 0.45s cubic-bezier(0.2, 1.6, 0.4, 1); }
.bucks-hero .v { font-size: 46px; font-weight: 700; line-height: 1.1; margin-top: 6px; }
.award-coin { width: 84px; height: 84px; animation: coinIn 0.7s cubic-bezier(0.2, 1.6, 0.4, 1); margin-bottom: 10px; }
.award-meter { width: 100%; max-width: 300px; margin-top: 22px; }
.award-meter .progress-track { margin: 0 0 8px; }
.award-meter-label { color: var(--muted-strong); font-size: 15px; text-align: center; margin-top: 14px; }
.prize-list { display: flex; flex-direction: column; gap: 8px; }
.prize-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 16px;
  text-align: left;
  box-shadow: 0 1px 2px rgba(44, 36, 29, 0.05), 0 4px 14px rgba(44, 36, 29, 0.06);
}
.prize-row .p-label { display: block; font-size: 17px; font-weight: 600; color: var(--ink); }
.prize-row .p-by { display: block; font-size: 14px; color: var(--muted-strong); margin-top: 1px; }
.prize-row .p-go { display: block; font-size: 14px; font-weight: 700; color: var(--brand); margin-top: 3px; }
.prize-row .p-need { display: block; font-size: 14px; color: var(--muted); margin-top: 3px; }
.prize-row .p-price { font-size: 20px; font-weight: 700; color: var(--brand); flex-shrink: 0; }
.prize-row:not(.can) { opacity: 0.65; }
.prize-row:not(.can) .p-price { color: var(--muted); }
.prize-row.can { border-color: var(--brand); }
@keyframes coinIn {
  0% { transform: scale(0.2) rotate(-30deg); opacity: 0; }
  60% { transform: scale(1.15) rotate(8deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* Family checkboxes on the share screen */
.chk-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; }
.chk-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  min-height: 60px;
  text-align: left;
}
.chk-box {
  width: 28px; height: 28px;
  border: 2px solid var(--muted);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #FFFDF8;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.chk-row.on .chk-box { background: var(--day); border-color: var(--day); }
.chk-name { font-size: 19px; font-weight: 600; color: var(--muted); }
.chk-row.on .chk-name { color: var(--ink); }
.chk-row:not(.on) { opacity: 0.75; }

/* Machine picker */
.m-list { display: flex; flex-direction: column; gap: 8px; }
.m-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px 14px 8px 8px;
  text-align: left;
  min-height: 60px;
}
.m-row img, .m-row .m-thumb {
  width: 48px; height: 48px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--tint);
  flex-shrink: 0;
}
.m-row img { mix-blend-mode: multiply; }
.pick-hero { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; text-align: left; }
.pick-hero img {
  width: 88px; height: 88px;
  border-radius: 16px;
  object-fit: cover;
  background: #FFFDF8;
}
.chart-note { color: var(--muted-strong); }
.m-row .m-name { flex: 1; font-size: 18px; font-weight: 600; }
.m-row .m-st { color: var(--day); font-size: 15px; font-weight: 700; white-space: nowrap; }
.m-row.off { opacity: 0.55; }
.m-row.off .m-st { color: var(--muted); }

/* Last-time reference + progression suggestion */
.prog-zone { margin: 4px 0 10px; }
.last-line { color: var(--muted-strong); font-size: 17px; }
.prog-chip {
  margin-top: 8px;
  background: var(--tint);
  color: var(--day);
  border: 1.5px solid var(--day);
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  max-width: 330px;
}
.prog-note { color: var(--muted-strong); font-size: 15px; margin-top: 8px; max-width: 320px; margin-left: auto; margin-right: auto; }

.done-btn {
  min-height: 68px;
  border-radius: 18px;
  width: 100%;
  background: var(--day);
  color: #FFFDF8;
  font-size: 24px;
  font-weight: 700;
  margin-top: auto;
  box-shadow: 0 2px 8px rgba(44, 36, 29, 0.12);
}

/* Sheets */
.sheet {
  position: fixed; inset: 0;
  background: rgba(44, 36, 29, 0.45);
  display: flex; align-items: flex-end;
  z-index: 50;
  animation: fadeIn 0.2s;
}
@keyframes fadeIn { from { opacity: 0; } }
.sheet-card {
  background: var(--bg);
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 26px 26px 0 0;
  padding: 22px 20px calc(env(safe-area-inset-bottom) + 24px);
  animation: slideUp 0.25s ease-out;
  max-height: 86dvh;
  overflow-y: auto;
}
@keyframes slideUp { from { transform: translateY(24px); } }
.sheet-card h2 { font-family: var(--serif); font-size: 26px; margin-bottom: 14px; }
.sheet-card .btn-ghost { width: 100%; margin-bottom: 10px; min-height: 60px; text-align: left; padding: 0 20px; }

/* Cardio / effort */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.pick-btn {
  min-height: 76px;
  border-radius: 18px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  font-size: 19px;
  font-weight: 600;
}
.pick-btn.on { border-color: var(--day); background: var(--tint); color: var(--day); }
.effort-btn {
  width: 100%;
  border-radius: 20px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  padding: 18px 20px;
  text-align: left;
  margin-bottom: 12px;
}
.effort-btn .t { font-size: 22px; font-weight: 700; display: block; }
.effort-btn .s { color: var(--muted); font-size: 16px; }

/* Cardio machine settings */
.set-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 6px 0 12px;
}
.set-lab { font-size: 18px; font-weight: 600; }
.mini-stepper { display: flex; align-items: center; gap: 12px; }
.step-btn.sm { width: 54px; height: 54px; font-size: 24px; }
.sv { min-width: 96px; text-align: center; font-size: 22px; font-weight: 700; }

/* Done screen */
.done-screen { justify-content: center; text-align: center; gap: 8px; }
.big-check {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--day);
  color: #FFFDF8;
  font-size: 56px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  animation: pop 0.45s cubic-bezier(0.2, 1.6, 0.4, 1);
}
@keyframes pop { from { transform: scale(0.3); opacity: 0; } }
.stat-row { display: flex; justify-content: center; gap: 26px; margin: 16px 0; }
.stat .v { font-size: 34px; font-weight: 700; display: block; }
.stat .l { color: var(--muted); font-size: 15px; }
.pr-line {
  background: var(--tint);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 17px;
  font-weight: 600;
  margin: 6px auto;
  max-width: 340px;
}
.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 30; }
.confetti span {
  position: absolute; top: -20px;
  width: 10px; height: 15px;
  border-radius: 3px;
  animation: fall 2.8s ease-in forwards;
}
@keyframes fall {
  to { transform: translateY(115vh) rotate(680deg); opacity: 0.85; }
}

/* Progress */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 8px; }
.cal-head .m { font-family: var(--serif); font-size: 24px; font-weight: 700; }
.cal-head .spacer { width: 48px; flex: 0 0 48px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; color: var(--muted); font-size: 13px; font-weight: 700; padding: 6px 0; }
.cal-cell {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  border-radius: 14px;
  font-size: 16px;
  color: var(--muted);
  background: none;
  border: none;
  width: 100%;
}
.cal-cell.today { border: 2px solid var(--ink); }
.cal-cell .wd {
  position: absolute; inset: 4px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #FFFDF8;
  font-weight: 700;
}
.legend { display: flex; gap: 16px; margin: 10px 2px 4px; color: var(--muted); font-size: 15px; }
.legend .dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; margin-right: 6px; }

.sec-title { font-family: var(--serif); font-size: 24px; font-weight: 700; margin: 26px 0 10px; }
.t-day {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 16px 0 8px;
}
.t-card {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  text-align: left;
  padding: 14px 16px;
}
.t-card .nm { font-size: 18px; font-weight: 600; }
.t-card .meta { color: var(--muted-strong); font-size: 14px; margin-top: 2px; }
.t-card .cur-body { font-size: 15px; font-weight: 600; color: var(--muted-strong); align-self: center; }
.t-card .t-right { text-align: right; flex-shrink: 0; }
.t-card .cur { font-size: 18px; font-weight: 700; }
.t-card .up { color: var(--day); font-size: 14px; font-weight: 700; }
.spark { width: 88px; height: 30px; display: block; margin-left: auto; margin-top: 2px; }
.chart-label { color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.chart-card .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.chart-card .cur { font-size: 26px; font-weight: 700; }
.chart-card .delta { color: var(--muted); font-size: 16px; }
.chart-note { color: var(--muted); font-size: 16px; padding: 10px 0; }

.wk-list .wk-card { margin-bottom: 12px; width: 100%; text-align: left; }
.wk-card .top { display: flex; justify-content: space-between; align-items: center; }
.wk-card .d { font-weight: 700; font-size: 18px; }
.wk-card .meta { color: var(--muted-strong); font-size: 16px; margin-top: 2px; }
.pill {
  font-size: 14px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
  background: var(--tint); color: var(--day);
}

.detail-row { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.detail-row:last-child { border-bottom: none; }
.detail-row .nm { font-weight: 600; }
.detail-row .info { color: var(--muted-strong); font-size: 16px; }
.detail-row.skipped .nm { color: var(--muted-strong); }
.detail-row.skipped-hard .nm { text-decoration: line-through; }

.toast {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom) + 24px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 16px;
  font-weight: 600;
  z-index: 60;
  animation: fadeUp 0.25s;
  white-space: nowrap;
}

.interstitial {
  position: fixed; inset: 0;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 50;
  animation: fadeIn 0.2s;
  text-align: center;
  padding: 24px;
}
.interstitial .nice { color: var(--muted); font-size: 20px; }
.interstitial .nxt { font-family: var(--serif); font-size: 34px; font-weight: 700; margin-top: 8px; }

.center-note {
  color: var(--muted);
  text-align: center;
  padding: 40px 20px;
  font-size: 17px;
}

/* Welcome walkthrough */
.intro { text-align: center; justify-content: center; gap: 14px; }
.intro-dots { display: flex; gap: 10px; justify-content: center; margin-bottom: 6px; }
.intro-dots .d { width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.intro-dots .d.on { background: var(--day); }
.intro-num {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--day);
  font-size: 34px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 6px;
}
.intro-body { color: var(--muted-strong); font-size: 19px; line-height: 1.55; max-width: 320px; margin: 0 auto; }
.intro .btn-primary { width: 100%; }

/* Install hint */
.install-hint {
  position: relative;
  background: var(--surface);
  border: 1.5px dashed var(--brand);
  border-radius: 18px;
  padding: 16px 44px 16px 18px;
  margin: 6px 0 14px;
}
.install-hint .t { font-weight: 700; font-size: 18px; }
.install-hint .s { color: var(--muted); font-size: 16px; margin-top: 4px; }
.hint-close {
  position: absolute; top: 8px; right: 8px;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--muted);
  font-size: 22px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Mini progress bars on locked prizes (goal gradient). */
.p-track { display: block; height: 4px; background: #EDE6D8; border-radius: 2px; margin-top: 7px; overflow: hidden; }
.p-fill { display: block; height: 100%; background: var(--brand); border-radius: 2px; }
