/* ===================================================================
   Live to 100 — styles
   Designed for older adults: large text, high contrast, big tap targets.
   =================================================================== */

:root {
  --green:       #1f8a6d;
  --green-dark:  #15694f;
  --green-soft:  #e7f3ee;
  --gold:        #e3a52e;
  --gold-dark:   #b9810f;
  --gold-soft:   #fbf0d6;
  --bg:          #eef3f0;
  --card:        #ffffff;
  --ink:         #16241f;
  --muted:       #5b6b64;
  --line:        #d9e3de;
  --track:       #e4ebe7;
  --danger:      #b3402e;
  --shadow:      0 2px 10px rgba(20, 40, 32, .09);
  --shadow-lg:   0 8px 28px rgba(20, 40, 32, .18);
  --radius:      18px;
}

/* Font size scales everything; "Larger text" bumps the root. */
html        { font-size: 18px; }
html.large  { font-size: 22px; }

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  padding: .8rem 1.4rem;
  min-height: 52px;
  background: var(--card);
  color: var(--ink);
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:active { background: var(--green-dark); }
.btn-large { width: 100%; min-height: 60px; font-size: 1.2rem; }
.btn-quiet {
  background: transparent;
  color: var(--green-dark);
  min-height: 44px;
  padding: .5rem 1rem;
}
.btn-danger {
  background: transparent;
  color: var(--danger);
  border-color: var(--line);
  width: 100%;
  margin-top: 1.6rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}
.icon-btn:active { background: rgba(0, 0, 0, .06); }

/* ===================================================================
   Onboarding
   =================================================================== */
.onboarding {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem;
  background: linear-gradient(160deg, #2a9d7c 0%, #15694f 100%);
}
.onboarding-inner {
  width: 100%;
  max-width: 380px;
  text-align: center;
}
.onboarding-mark {
  display: inline-flex;
  padding: 14px;
  background: rgba(255, 255, 255, .16);
  border-radius: 26px;
  margin-bottom: 1.1rem;
}
.onboarding-mark img { display: block; }
.onboarding-title {
  color: #fff;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.onboarding-tagline {
  color: rgba(255, 255, 255, .9);
  font-size: 1.12rem;
  margin: .6rem 0 2rem;
}
.onboarding-label {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: left;
  margin-bottom: .5rem;
}
.onboarding .text-input { margin-bottom: 1.1rem; }
.onboarding-note {
  color: rgba(255, 255, 255, .8);
  font-size: .95rem;
  margin-top: 1rem;
}

.text-input {
  width: 100%;
  font-size: 1.15rem;
  padding: .9rem 1rem;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  min-height: 56px;
}
.text-input:focus-visible { outline-color: var(--gold); }

/* ===================================================================
   App frame
   =================================================================== */
.app {
  max-width: 520px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
}

.appbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(.5rem + env(safe-area-inset-top)) .7rem .5rem 1.1rem;
  background: var(--bg);
}
.appbar-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--green-dark);
}

.main { padding: .25rem 1.1rem calc(96px + env(safe-area-inset-bottom)); }

.view-heading {
  font-size: 1.5rem;
  font-weight: 800;
  margin: .6rem 0 1rem;
}

/* ===================================================================
   Today — greeting & hero
   =================================================================== */
.greeting {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-top: .3rem;
}
.today-date {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 1rem;
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}
.hero-card.is-perfect {
  background: linear-gradient(165deg, #fff 0%, var(--gold-soft) 100%);
}

.ring-wrap {
  position: relative;
  width: 188px;
  height: 188px;
}
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: var(--track); }
.ring-fill {
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  transition: stroke-dashoffset .6s ease, stroke .3s ease;
}
.is-perfect .ring-fill { stroke: var(--gold); }

.ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ring-num {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}
.ring-label {
  font-size: 1rem;
  color: var(--muted);
  margin-top: .2rem;
}
.ring-check { color: var(--gold-dark); }

.hero-status {
  font-size: 1.12rem;
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
}
.hero-status.is-done { color: var(--green-dark); }

.streak-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .9rem;
  padding: .5rem .9rem;
  background: var(--gold-soft);
  color: var(--gold-dark);
  border-radius: 999px;
  font-size: 1.02rem;
  font-weight: 700;
}
.streak-chip b { font-size: 1.15rem; }
.streak-chip svg { color: var(--gold); }

/* ===================================================================
   Today — task list
   =================================================================== */
.group-label {
  font-size: 1.04rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin: 1.4rem .2rem .6rem;
}
.group-label:first-child { margin-top: .2rem; }

.task {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: .7rem;
  border: 2px solid transparent;
  overflow: hidden;
}
.task.is-done {
  background: var(--green-soft);
  border-color: #bfe0d3;
}

.task-main {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .9rem;
  border: none;
  background: transparent;
  text-align: left;
  padding: 1rem;
  min-height: 76px;
}

.check {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.is-done .check {
  background: var(--green);
  border-color: var(--green);
  transform: scale(1.04);
}
.check svg { opacity: 0; transition: opacity .15s ease; }
.is-done .check svg { opacity: 1; }

.task-text { display: flex; flex-direction: column; gap: .15rem; }
.task-title {
  font-size: 1.16rem;
  font-weight: 700;
}
.is-done .task-title { color: var(--green-dark); }
.task-hint {
  font-size: .96rem;
  color: var(--muted);
}

.how-btn {
  flex: none;
  align-self: stretch;
  border: none;
  background: transparent;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 1rem;
  padding: 0 1.1rem;
}
.how-btn:active { background: rgba(0, 0, 0, .04); }

.task-how {
  flex-basis: 100%;
  padding: 0 1.1rem 1.1rem;
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Steps task ---------- */
.task-steps { padding: 1rem; flex-direction: column; align-items: stretch; }
.task-steps .task-row {
  display: flex;
  align-items: center;
  gap: .9rem;
  width: 100%;
}
.steps-readout { margin-left: auto; text-align: right; flex: none; }
.steps-count {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
}
.steps-goal { display: block; font-size: .92rem; color: var(--muted); }

.steps-bar {
  width: 100%;
  height: 12px;
  background: var(--track);
  border-radius: 999px;
  margin: .9rem 0;
  overflow: hidden;
}
.steps-bar-fill {
  height: 100%;
  background: var(--green);
  border-radius: 999px;
  transition: width .4s ease;
}
.is-done .steps-bar-fill { background: var(--gold); }

.steps-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.chip-btn {
  flex: 1 1 auto;
  min-width: 70px;
  min-height: 48px;
  border: 2px solid var(--line);
  background: #fff;
  border-radius: 12px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}
.chip-btn:active { background: var(--green-soft); }
.chip-btn.chip-done {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  flex-basis: 100%;
}
.chip-btn.chip-undo { color: var(--muted); }

/* ===================================================================
   Progress view
   =================================================================== */
.stat-hero {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}
.stat-hero-num {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--green);
}
.stat-hero-label { font-size: 1.15rem; font-weight: 700; margin-top: .2rem; }
.stat-hero-sub { color: var(--muted); margin-top: .4rem; font-size: 1rem; }

.week-card,
.milestones-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.card-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.week-row {
  display: flex;
  justify-content: space-between;
  gap: .35rem;
}
.day-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  flex: 1;
}
.day-letter { font-size: .85rem; color: var(--muted); font-weight: 700; }
.day-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--track);
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.day-dot.is-good    { background: var(--green); }
.day-dot.is-perfect { background: var(--gold); }
.day-dot.is-today   { border-color: var(--ink); }

.stat-tiles {
  display: flex;
  gap: .6rem;
  margin-bottom: 1rem;
}
.stat-tile {
  flex: 1;
  background: var(--card);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1rem .5rem;
  text-align: center;
}
.stat-tile-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--ink);
}
.stat-tile-label {
  font-size: .9rem;
  color: var(--muted);
  margin-top: .15rem;
}

.milestone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
}
.milestone {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .8rem;
  border-radius: 14px;
  background: var(--bg);
}
.milestone.is-earned { background: var(--gold-soft); }
.milestone-badge {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--track);
  color: #fff;
}
.is-earned .milestone-badge { background: var(--gold); }
.milestone-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .12rem;
}
.milestone-title {
  font-size: .98rem;
  font-weight: 700;
}
.milestone.is-locked .milestone-title { color: var(--muted); }
.milestone-desc {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.35;
}

/* ===================================================================
   Bottom tab bar
   =================================================================== */
.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 520px;
  display: flex;
  background: var(--card);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 30;
}
.tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
  padding: .55rem 0 .5rem;
  min-height: 64px;
}
.tab.is-active { color: var(--green); }

/* ===================================================================
   Settings overlay
   =================================================================== */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(20, 40, 32, .45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.sheet {
  width: 100%;
  max-width: 520px;
  background: var(--card);
  border-radius: 22px 22px 0 0;
  box-shadow: var(--shadow-lg);
  padding: 1.3rem 1.3rem calc(1.6rem + env(safe-area-inset-bottom));
  max-height: 92vh;
  overflow-y: auto;
  animation: sheet-up .25s ease;
}
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: translateY(0); } }

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.sheet-title { font-size: 1.4rem; font-weight: 800; }

.field-label {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  margin: 1.1rem 0 .5rem;
}
.field-note {
  font-size: .92rem;
  color: var(--muted);
  margin-top: .5rem;
}

.stepper {
  display: flex;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.stepper-btn {
  width: 60px;
  height: 56px;
  border: none;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 1.6rem;
  font-weight: 800;
}
.stepper-btn:active { background: #d4e9e1; }
.stepper-value {
  flex: 1;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.4rem;
}
.toggle-label { font-weight: 700; font-size: 1.05rem; }
.switch {
  width: 60px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: var(--track);
  position: relative;
  transition: background .2s ease;
}
.switch[aria-checked="true"] { background: var(--green); }
.switch-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  transition: left .2s ease;
}
.switch[aria-checked="true"] .switch-knob { left: 29px; }

.sheet-foot {
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
  margin-top: 1.2rem;
}

.page-foot {
  text-align: center;
  color: var(--muted);
  font-size: .92rem;
  margin: 1.4rem 0 .4rem;
}

/* ===================================================================
   Toast
   =================================================================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(90px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 70;
  background: var(--ink);
  color: #fff;
  font-size: 1.04rem;
  font-weight: 600;
  padding: .85rem 1.3rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  max-width: 90vw;
  text-align: center;
  animation: toast-in .25s ease;
}
.toast.is-celebrate { background: var(--gold-dark); }
@keyframes toast-in {
  from { transform: translate(-50%, 14px); opacity: 0; }
  to   { transform: translate(-50%, 0); opacity: 1; }
}

/* ===================================================================
   Routine cards & exercise guide
   =================================================================== */
.task-go {
  flex: none;
  display: flex;
  align-items: center;
  gap: .15rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
  padding-right: .9rem;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  border: none;
  background: transparent;
  color: var(--green-dark);
  font-size: 1.05rem;
  font-weight: 700;
  padding: .5rem .6rem .5rem 0;
  min-height: 48px;
}

.exercise-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-top: .2rem;
}
.exercise-subtitle {
  color: var(--green-dark);
  font-weight: 600;
  margin-top: .15rem;
}
.exercise-intro {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.5;
  margin-top: .6rem;
}

.safety-note {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  background: var(--gold-soft);
  border-radius: 14px;
  padding: .9rem 1rem;
  margin: 1rem 0 1.5rem;
  font-size: .98rem;
  line-height: 1.45;
  color: #6b4e12;
}
.safety-label {
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gold-dark);
}

.movement {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem;
  margin-bottom: .9rem;
}
.movement-illo { text-align: center; }
.movement-illo img {
  width: 172px;
  height: 172px;
  max-width: 100%;
}
.movement-head {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: .5rem;
}
.movement-num {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.movement-name {
  font-size: 1.2rem;
  font-weight: 700;
}
.movement-focus {
  display: inline-block;
  margin-top: .55rem;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-size: .85rem;
  font-weight: 700;
  padding: .22rem .65rem;
  border-radius: 999px;
}
.movement-dose {
  font-weight: 700;
  color: var(--green-dark);
  margin-top: .55rem;
}
.movement-steps {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.5;
  margin-top: .35rem;
}

.routine-done-btn { margin-top: 1.3rem; }
.routine-done-btn.is-done {
  background: var(--green-soft);
  color: var(--green-dark);
  border-color: #bfe0d3;
}
.routine-undo-hint {
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
  margin-top: .55rem;
}

/* ===================================================================
   Calorie tracking task
   =================================================================== */
.task-calories { padding: 1rem; flex-direction: column; align-items: stretch; }
.task-calories .task-row {
  display: flex;
  align-items: center;
  gap: .9rem;
  width: 100%;
}
.cal-readout {
  margin-left: auto;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: none;
}
.cal-input {
  width: 100px;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
  text-align: right;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--line);
  padding: 0 .15rem;
  font-family: inherit;
  -moz-appearance: textfield;
  appearance: textfield;
}
.cal-input::-webkit-outer-spin-button,
.cal-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cal-input:focus {
  outline: none;
  border-bottom-color: var(--green);
}
.is-done .cal-input { color: var(--green-dark); }
.cal-unit { display: block; font-size: .92rem; color: var(--muted); margin-top: .1rem; }
.cal-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .9rem 0 0;
}
.chip-amt {
  font-weight: 600;
  font-size: .82rem;
  color: var(--muted);
  margin-left: .3rem;
}

/* ===================================================================
   Sign-in screen extras (re-uses .onboarding base styles)
   =================================================================== */
.signin-sent-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: .4rem;
}
.signin-sent-body {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.5;
  margin-top: 1rem;
}
.signin-back {
  display: inline-block;
  margin-top: 1.5rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: .6rem 1.3rem;
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
}
.signin-back:active { background: rgba(255, 255, 255, 0.12); }

.signin-as {
  text-align: center;
  font-size: .92rem;
  color: var(--muted);
  margin-top: 1.4rem;
}
.signin-as strong { color: var(--ink); }

.signout-btn {
  width: 100%;
  margin-top: .6rem;
  border: 2px solid var(--line);
  color: var(--ink);
}

/* ===================================================================
   Family view
   =================================================================== */
.family-loading {
  color: var(--muted);
  text-align: center;
  padding: 1rem;
}
.family-empty {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.3rem;
  margin-bottom: 1rem;
}
.family-empty-title {
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: .45rem;
}
.family-empty-body {
  color: var(--muted);
  line-height: 1.5;
  font-size: 1rem;
}

.invite-btn { margin-top: 1.2rem; }

.member-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  margin-bottom: .7rem;
  border: 2px solid transparent;
}
.member-card.is-perfect {
  background: linear-gradient(165deg, #fff 0%, var(--gold-soft) 100%);
}

.member-ring-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  flex: none;
}
.small-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.member-card .ring-track { stroke: var(--track); fill: none; }
.member-card .ring-fill {
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  transition: stroke-dashoffset .5s ease;
}
.member-card.is-perfect .ring-fill { stroke: var(--gold); }
.member-ring-score {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
}

.member-info {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
}
.member-name {
  font-size: 1.15rem;
  font-weight: 700;
}
.member-you {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--green-soft);
  padding: .12rem .5rem;
  border-radius: 999px;
  margin-left: .35rem;
  vertical-align: middle;
}
.member-streak {
  font-size: 1rem;
  color: var(--green-dark);
  font-weight: 600;
}
.member-streak-quiet {
  color: var(--muted);
  font-weight: 500;
}

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