/* =========================================================================
   Maison — direction visuelle
   Verre depoli pose sur un jardin au crepuscule. L ambiance chauffe au fil
   de la semaine : vert humide le lundi, or le vendredi soir.
   Signature : la jauge bambou, segmentee comme les noeuds d une canne.
   ========================================================================= */

:root {
  --night:  #08130F;
  --forest: #0F2A22;
  --jade:   #1E7A5E;
  --eau:    #3FA9A0;
  --leaf:   #BFE86B;
  --amber:  #F2B441;
  --ember:  #E8734A;

  --text:   #EEF5F0;
  --muted:  #8FA79C;
  --faint:  rgba(238,245,240,.42);

  --glass:      rgba(255,255,255,.065);
  --glass-hi:   rgba(255,255,255,.11);
  --glass-line: rgba(255,255,255,.13);
  --blur: 22px;

  --mood-a: var(--jade);
  --mood-b: var(--eau);

  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;

  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --pad: clamp(16px, 4.5vw, 26px);
  --bar: 74px;
}

/* ambiance par phase de la semaine ------------------------------------- */
body.phase-semaine       { --mood-a: #1E7A5E; --mood-b: #2F6E8A; }
body.phase-derniere-ligne{ --mood-a: #2E8A63; --mood-b: #C08A2E; }
body.phase-libre         { --mood-a: #F2B441; --mood-b: #C25C2E; }
body.phase-dette         { --mood-a: #7A3B2E; --mood-b: #2A4A44; }
body.phase-dimanche      { --mood-a: #2B5F7A; --mood-b: #1E4A44; }

* { box-sizing: border-box; }

/* l attribut hidden doit gagner contre les display: flex/grid ci-dessous */
[hidden] { display: none !important; }

html { background: var(--night); }

html, body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: contain;
}

body { background: transparent; padding-bottom: calc(var(--bar) + 28px + env(safe-area-inset-bottom)); }

/* fond vivant ----------------------------------------------------------- */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--night); }
.blob {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(70px); opacity: .55;
  transition: background 1.2s ease, opacity 1.2s ease;
}
.blob-a { width: 120vw; height: 120vw; top: -46vw; left: -30vw; background: var(--mood-a); opacity: .62; }
.blob-b { width: 96vw;  height: 96vw;  bottom: -30vw; right: -34vw; background: var(--mood-b); opacity: .5; }
.grain {
  position: absolute; inset: 0; opacity: .35; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255,255,255,.12) .5px, transparent .5px);
  background-size: 3px 3px;
}

/* structure ------------------------------------------------------------- */
.app { padding: calc(env(safe-area-inset-top) + 18px) var(--pad) 28px; max-width: 640px; margin: 0 auto; }
.boot { color: var(--muted); font-family: var(--mono); font-size: 13px; padding: 40vh 0; text-align: center; }

.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--faint);
}

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  backdrop-filter: blur(var(--blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(150%);
  box-shadow: 0 12px 40px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.09);
}

/* ---------------------------------------------------------------- verdict */
.verdict { padding: 22px 22px 20px; margin-bottom: 22px; position: relative; overflow: hidden; }
.verdict-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.verdict h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(30px, 9vw, 44px); line-height: .98;
  letter-spacing: -.03em; margin: 12px 0 6px;
  text-wrap: balance;
}
.verdict .sub { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.countdown { font-family: var(--mono); font-size: 12px; color: var(--faint); white-space: nowrap; }

body.phase-libre .verdict h1 { color: var(--amber); }
body.phase-dette .verdict h1 { color: var(--ember); }

/* la jauge bambou : chaque segment est une tache de la liste du vendredi */
.culm { display: flex; gap: 4px; height: 20px; margin-bottom: 11px; }
.culm .seg {
  flex: 1 1 0; border-radius: 3px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.04));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  transition: background .45s ease, box-shadow .45s ease;
}
/* le noeud : le petit renflement entre deux entre-noeuds de la canne */
.culm .seg::after {
  content: ''; position: absolute; top: 0; bottom: 0; right: -4px; width: 4px;
  background: rgba(0,0,0,.35);
}
.culm .seg:last-child::after { display: none; }
.culm .seg:first-child { border-radius: 9px 2px 2px 9px; }
.culm .seg:last-child  { border-radius: 2px 9px 9px 2px; }
.culm .seg.done {
  background: linear-gradient(180deg, var(--leaf), var(--jade));
  box-shadow: 0 0 14px rgba(191,232,107,.35), inset 0 1px 0 rgba(255,255,255,.4);
}
body.phase-libre .culm .seg.done {
  background: linear-gradient(180deg, #FFD98A, var(--amber));
  box-shadow: 0 0 18px rgba(242,180,65,.45);
}
.culm-legend {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; color: var(--faint);
}

.stats { display: flex; gap: 18px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--glass-line); }
.stat { flex: 1 1 0; min-width: 0; }
.stat b { display: block; font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.stat span { font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; }

/* ------------------------------------------------------------------ plan */
.page-title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(26px, 7.5vw, 34px); line-height: 1.02;
  letter-spacing: -.032em; margin: 10px 0 8px; text-wrap: balance;
}

.teaser {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 15px 17px; margin-bottom: 16px; border-radius: var(--r-md);
  font: inherit; color: var(--text); text-align: left; cursor: pointer;
  transition: .2s;
}
.teaser:hover { background: var(--glass-hi); }
.teaser:active { transform: scale(.99); }
.teaser strong { display: block; font-family: var(--display); font-size: 17px; letter-spacing: -.01em; margin-top: 3px; }
.teaser small { display: block; font-family: var(--mono); font-size: 11px; color: var(--faint); margin-top: 3px; }
.teaser-go { font-size: 19px; color: var(--leaf); flex: 0 0 auto; }

.jour { padding: 18px 18px 8px; margin-bottom: 14px; position: relative; overflow: hidden; }
/* Le liseré dit la météo du jour avant même qu on lise les heures. */
.jour::before {
  content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px;
  border-radius: 0 3px 3px 0;
}
.jour.is-dry::before  { background: linear-gradient(180deg, var(--leaf), rgba(30,122,94,.3)); }
.jour.is-wet::before  { background: linear-gradient(180deg, var(--eau), rgba(63,169,160,.2)); }
.jour.is-overflow::before { background: linear-gradient(180deg, var(--amber), rgba(226,116,74,.3)); }
.jour.is-overflow { border-color: rgba(242,180,65,.34); background: rgba(242,180,65,.055); }
.jour-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.jour-head h2 {
  font-family: var(--display); font-size: 19px; font-weight: 700; line-height: 1.05;
  letter-spacing: -.02em; margin: 0; text-transform: capitalize;
}
.jour-head .countdown { display: block; margin-top: 4px; }
.jour-wx { display: flex; align-items: center; gap: 7px; color: var(--muted); flex: 0 0 auto; }
.jour-wx svg { width: 19px; height: 19px; }
.jour-wx span { font-family: var(--mono); font-size: 14px; color: var(--text); }
.jour-wx small { font-family: var(--mono); font-size: 10.5px; color: var(--faint); }

/* La colonne des heures : un trait continu ponctue de noeuds, comme la canne. */
.creneaux { list-style: none; margin: 0; padding: 0; position: relative; }
.creneaux::before {
  content: ''; position: absolute; left: 48px; top: 10px; bottom: 22px;
  width: 1px; background: linear-gradient(180deg, rgba(191,232,107,.4), rgba(191,232,107,.05));
}
.creneau {
  display: flex; align-items: flex-start; gap: 16px; width: 100%;
  background: none; border: 0; padding: 10px 0 12px; font: inherit;
  color: var(--text); text-align: left; cursor: pointer;
  transition: opacity .3s, transform .3s;
}
.creneau.is-going { opacity: 0; transform: translateX(24px); }
.creneau .heure {
  position: relative; flex: 0 0 40px; font-family: var(--mono);
  font-size: 12.5px; color: var(--muted); padding-top: 2px;
}
.creneau .heure::after {
  content: ''; position: absolute; right: -12px; top: 6px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--night); box-shadow: 0 0 0 1.5px rgba(191,232,107,.55);
}
.creneau:hover .heure::after { background: var(--leaf); }
.creneau .corps { min-width: 0; }
.creneau strong { display: block; font-size: 15.5px; font-weight: 600; }
.creneau small { display: block; font-family: var(--mono); font-size: 11px; color: var(--faint); margin-top: 3px; }

/* ------------------------------------------------------------ bande meteo */
/* Sept colonnes, une barre dont la hauteur suit la temperature. Le vendredi
   porte un trait : c est l echeance, elle doit se voir dans la semaine. */
.sky {
  display: flex; gap: 4px; margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--glass-line);
}
.sky-day {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column;
  align-items: center; gap: 3px; padding: 6px 2px 5px; border-radius: 10px;
  position: relative; transition: background .3s;
}
.sky-day.is-today { background: rgba(255,255,255,.06); }
.sky-day.is-best  { background: rgba(191,232,107,.13); box-shadow: inset 0 0 0 1px rgba(191,232,107,.3); }
.sky-day.is-deadline::after {
  content: ''; position: absolute; left: 18%; right: 18%; bottom: 0; height: 2px;
  background: var(--amber); opacity: .8; border-radius: 2px;
}
.sky-name { font-family: var(--mono); font-size: 9.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.sky-icon { width: 17px; height: 17px; color: var(--muted); }
.sky-day.is-best .sky-icon, .sky-day.is-today .sky-icon { color: var(--text); }
.sky-track { height: 46px; display: flex; align-items: flex-end; }
.sky-bar {
  width: 5px; border-radius: 3px;
  background: linear-gradient(180deg, var(--eau), rgba(63,169,160,.15));
}
.sky-day.is-best .sky-bar { background: linear-gradient(180deg, var(--leaf), rgba(30,122,94,.2)); }
.sky-t { font-family: var(--mono); font-size: 11px; color: var(--text); }
.sky-min { font-family: var(--mono); font-size: 9.5px; color: var(--faint); }
.sky-tip { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.sky-tip b { color: var(--leaf); font-weight: 600; }

/* ---------------------------------------------------------------- alertes */
.alerte {
  padding: 14px 16px; margin-bottom: 18px; border-radius: var(--r-md);
  border: 1px solid; backdrop-filter: blur(12px);
}
.alerte p { margin: 5px 0 0; font-size: 14px; line-height: 1.4; }
.alerte-gel   { background: rgba(63,169,160,.12); border-color: rgba(63,169,160,.35); color: #BDEAE6; }
.alerte-chaud { background: rgba(242,180,65,.12); border-color: rgba(242,180,65,.35); color: #FFDC96; }

.pill.gel   { background: rgba(63,169,160,.2);  color: #A8E6E0; border: 1px solid rgba(63,169,160,.45); }
.pill.chaud { background: rgba(242,180,65,.18); color: #FFD98A; border: 1px solid rgba(242,180,65,.4); }

/* Le suffixe dit d ou vient l etat : de la meteo ou d une decision manuelle. */
.chip em {
  font-style: normal; font-family: var(--mono); font-size: 9.5px;
  letter-spacing: .06em; text-transform: uppercase; opacity: .5;
  margin-left: 7px; padding-left: 7px; border-left: 1px solid currentColor;
}

/* ------------------------------------------------------- routine du jour */
/* Volontairement plus discret que le verdict : ce sont des gestes, pas des
   chantiers. Un tap suffit, la pastille s efface. */
.routine { margin: 0 0 18px; }
.routine-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; }
.routine-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.rpill {
  display: inline-flex; align-items: center; gap: 9px;
  font: inherit; font-size: 13.5px; color: var(--text); cursor: pointer;
  background: var(--glass); border: 1px solid var(--glass-line);
  border-radius: 999px; padding: 9px 15px 9px 11px; min-height: 42px;
  backdrop-filter: blur(10px); transition: .2s;
}
.rpill:hover { background: var(--glass-hi); border-color: rgba(191,232,107,.35); }
.rpill:active { transform: scale(.96); }
.rpill .tick {
  width: 17px; height: 17px; flex: 0 0 auto; border-radius: 50%;
  border: 1.5px solid rgba(191,232,107,.5); transition: .2s;
}
.rpill:hover .tick { background: rgba(191,232,107,.3); }
.rpill.is-going { opacity: 0; transform: scale(.9); }

.routine.is-done { display: flex; justify-content: space-between; align-items: baseline; }
.routine-ok { font-family: var(--mono); font-size: 11px; color: var(--leaf); opacity: .75; }

/* ---------------------------------------------------------------- filtres */
.filters {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 16px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; font: inherit; font-size: 13px; color: var(--muted);
  background: var(--glass); border: 1px solid var(--glass-line);
  border-radius: 999px; padding: 8px 15px; cursor: pointer;
  backdrop-filter: blur(10px); transition: .2s;
}
.chip:hover { color: var(--text); }
.chip.is-on { background: var(--glass-hi); color: var(--text); border-color: rgba(191,232,107,.4); }

/* ---------------------------------------------------------------- taches */
.section-title { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 12px; }
.section-title h2 { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin: 0; }
.section-title .n { font-family: var(--mono); font-size: 12px; color: var(--faint); }

.task { padding: 16px 16px 14px; margin-bottom: 10px; border-radius: var(--r-md); transition: opacity .3s, transform .3s; }
.task.is-going { opacity: 0; transform: translateX(28px) scale(.97); }
.task-top { display: flex; gap: 12px; align-items: flex-start; }
.task h3 { font-family: var(--display); font-size: 17px; font-weight: 600; margin: 0 0 4px; letter-spacing: -.01em; }
.task .meta { font-family: var(--mono); font-size: 11.5px; color: var(--faint); display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.task .meta > span + span::before { content: '·'; margin-right: 7px; opacity: .5; }
.task .meta > .pill + .pill::before, .task .meta > .pill::before { content: none; }
.task .note { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; }

.help {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--glass-line);
  color: var(--muted); font: 600 15px/1 var(--display); cursor: pointer;
  transition: .18s;
}
.help:hover { color: var(--leaf); border-color: rgba(191,232,107,.4); }

.tuto { margin-bottom: 18px; }
.tuto p {
  position: relative; margin: 0 0 10px; padding-left: 18px;
  font-size: 15px; line-height: 1.5; color: var(--text);
}
/* le trait de gauche reprend le noeud de la canne de bambou */
.tuto p::before {
  content: ''; position: absolute; left: 0; top: .55em; width: 8px; height: 2px;
  background: var(--leaf); opacity: .7; border-radius: 1px;
}

.pill { font-family: var(--mono); font-size: 10.5px; padding: 3px 8px; border-radius: 999px; letter-spacing: .04em; white-space: nowrap; }
.pill.late  { background: rgba(232,115,74,.18); color: #FFB394; border: 1px solid rgba(232,115,74,.35); }
.pill.last  { background: rgba(242,180,65,.16); color: #FFD98A; border: 1px solid rgba(242,180,65,.3); }
.pill.rdv   { background: rgba(63,169,160,.16); color: #9FE4DE; border: 1px solid rgba(63,169,160,.3); }

.task-actions { display: flex; gap: 8px; margin-top: 14px; }
.btn {
  font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
  border-radius: 12px; padding: 11px 16px; border: 1px solid var(--glass-line);
  background: var(--glass); color: var(--text); transition: .18s; min-height: 44px;
}
.btn:hover { background: var(--glass-hi); }
.btn:active { transform: scale(.97); }
.btn-done {
  flex: 1; background: rgba(191,232,107,.14); color: var(--leaf);
  font-weight: 600; border-color: rgba(191,232,107,.34);
}
.btn-done:hover { background: rgba(191,232,107,.22); }
.btn-ghost { color: var(--muted); }
.btn-wide { width: 100%; }

/* ---------------------------------------------------------------- vide */
.empty { padding: 34px 24px; text-align: center; border-radius: var(--r-lg); }
.empty h2 { font-family: var(--display); font-size: 22px; margin: 0 0 8px; letter-spacing: -.02em; }
.empty p { color: var(--muted); margin: 0; font-size: 14px; }

/* ---------------------------------------------------------------- reglages */
.row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  margin-bottom: 8px; border-radius: var(--r-md); cursor: pointer; text-align: left;
  font: inherit; color: var(--text); width: 100%;
}
.row .grow { flex: 1; min-width: 0; }
.row strong { display: block; font-weight: 600; font-size: 15px; }
.row small { color: var(--faint); font-family: var(--mono); font-size: 11px; }
.row.is-off strong, .row.is-off small { opacity: .38; }

.switch { position: relative; width: 46px; height: 27px; flex: 0 0 auto; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid var(--glass-line); transition: .22s; cursor: pointer; }
.switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 21px; height: 21px; border-radius: 50%; background: var(--text); transition: .22s; }
.switch.is-on { background: rgba(191,232,107,.8); }
.switch.is-on::after { transform: translateX(19px); background: #06170F; }

/* ---------------------------------------------------------------- panneau */
.sheet { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(4,10,8,.62); backdrop-filter: blur(3px); }
.sheet-panel {
  position: relative; width: 100%; max-width: 640px; max-height: 88vh; overflow-y: auto;
  padding: 24px var(--pad) calc(28px + env(safe-area-inset-bottom));
  background: rgba(16,32,26,.82); border: 1px solid var(--glass-line); border-bottom: 0;
  border-radius: 28px 28px 0 0;
  backdrop-filter: blur(28px) saturate(160%); -webkit-backdrop-filter: blur(28px) saturate(160%);
  animation: rise .3s cubic-bezier(.2,.9,.3,1);
}
@keyframes rise { from { transform: translateY(22px); opacity: 0 } }
.sheet-panel h2 { font-family: var(--display); font-size: 22px; margin: 0 0 18px; letter-spacing: -.02em; }

.field { margin-bottom: 15px; }
.field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  background: rgba(255,255,255,.06); border: 1px solid var(--glass-line);
  border-radius: 12px; padding: 12px 14px;
}
.field textarea { min-height: 70px; resize: vertical; }
.field select option { background: #10211B; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hint { font-size: 12.5px; color: var(--faint); margin: -8px 0 14px; }

/* ---------------------------------------------------------------- barre */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; justify-content: space-around;
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  background: rgba(10,24,19,.72); border-top: 1px solid var(--glass-line);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.tab {
  flex: 1; min-width: 0; background: none; border: 0; cursor: pointer; color: var(--faint);
  font: inherit; font-size: 10px; letter-spacing: .02em; white-space: nowrap;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 6px 0; min-height: 48px; transition: color .2s;
}
.tab svg { width: 21px; height: 21px; fill: currentColor; }
.tab.is-active { color: var(--leaf); }
body.phase-libre .tab.is-active { color: var(--amber); }

/* ---------------------------------------------------------------- toast */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--bar) + 18px + env(safe-area-inset-bottom));
  transform: translateX(-50%); z-index: 70;
  background: rgba(16,32,26,.92); border: 1px solid var(--glass-line);
  padding: 11px 18px; border-radius: 999px; font-size: 14px;
  backdrop-filter: blur(14px); display: flex; align-items: center; gap: 14px;
  animation: rise .25s ease;
}
.toast button { background: none; border: 0; color: var(--leaf); font: inherit; font-weight: 600; cursor: pointer; }

/* ---------------------------------------------------------------- fete */
.party {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center;
  text-align: center; padding: var(--pad);
  background: radial-gradient(120% 90% at 50% 20%, rgba(242,180,65,.34), rgba(6,18,13,.96));
  backdrop-filter: blur(6px); animation: fade .5s ease;
}
@keyframes fade { from { opacity: 0 } }
.party h1 {
  font-family: var(--display); font-weight: 800; letter-spacing: -.035em;
  font-size: clamp(38px, 13vw, 68px); line-height: .94; margin: 0 0 14px;
  color: var(--amber); text-wrap: balance;
}
.party p { color: var(--text); font-size: 16px; margin: 0 0 28px; max-width: 22ch; }
.party .culm { width: min(420px, 78vw); margin: 0 auto 30px; }
.party .seg.grow-in { animation: sprout .5s cubic-bezier(.2,.9,.3,1) backwards; }
.party .seg.grow-in:nth-child(1) { animation-delay: .05s }
.party .seg.grow-in:nth-child(2) { animation-delay: .11s }
.party .seg.grow-in:nth-child(3) { animation-delay: .17s }
.party .seg.grow-in:nth-child(4) { animation-delay: .23s }
.party .seg.grow-in:nth-child(5) { animation-delay: .29s }
.party .seg.grow-in:nth-child(6) { animation-delay: .35s }
.party .seg.grow-in:nth-child(7) { animation-delay: .41s }
.party .seg.grow-in:nth-child(8) { animation-delay: .47s }
@keyframes sprout { from { transform: scaleY(.15); opacity: 0 } }

/* ---------------------------------------------------------------- divers */
.login { max-width: 380px; margin: 22vh auto 0; padding: 28px 24px; }
.login h1 { font-family: var(--display); font-size: 30px; margin: 0 0 6px; letter-spacing: -.03em; }
.login p { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.err { color: #FFB394; font-size: 13.5px; margin: 10px 0 0; }

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

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

@supports not (backdrop-filter: blur(2px)) {
  .glass, .sheet-panel, .tabbar { background: rgba(14,30,24,.93); }
}
