


/* ============================================================
   BLOOM - SCREEN ATLAS: DAILY & SELF
   The personal half of the phone - today, calendar, tasks,
   habits, focus, journal, journey; then profile, memory,
   privacy, identity, recovery, backup and the Limitless account.
   Same 22 frames and copy as v1, redrawn in the v2 Bloom
   language: photographic sakura wallpaper, faked frosted glass
   (translucent pink gradients + 1px light border), glossy bubble
   orb, dashed rings, glowing gradient bars.
   No backdrop-filter, no blur(), no blend modes, no clip-path,
   no conic-gradient. The orb breathing is the only loop.
   ============================================================ */
:root {
  /* palette anchors */
  --pink: #FF8FAB;
  --violet: #C77DFF;
  --ground: #140A12;
  --warm: #FFF5F8;

  /* ink */
  --ink: var(--warm);
  --ink-dim: rgba(255,245,248,.66);
  --ink-faint: rgba(255,245,248,.42);
  --ink-ghost: rgba(255,245,248,.26);

  /* faked frost - translucent gradient fills over the wallpaper */
  --glass: linear-gradient(160deg, rgba(255,190,220,.14), rgba(255,190,220,.05));
  --glass-hi: linear-gradient(160deg, rgba(255,190,220,.22), rgba(255,190,220,.08));
  --glass-deep: linear-gradient(160deg, rgba(30,14,26,.55), rgba(30,14,26,.30));
  --glass-border: rgba(255,255,255,.18);
  --glass-border-hi: rgba(255,255,255,.30);
  --inner-hi: inset 0 1px 0 rgba(255,255,255,.16);

  /* accents */
  --cta-grad: linear-gradient(135deg, #FF8FAB, #C77DFF);
  --cta-ink: #2A0E1C;
  --dash-ring: rgba(255,143,171,.75);
  --live: #FF8FAB;
  --ok: #7FE0B2;
  --gold: #FFD58A;
  --danger: #FF9E9E;
  --danger-line: rgba(255,158,158,.45);
  --danger-tint: rgba(255,158,158,.12);

  /* radii */
  --r-card: 26px;
  --r-card-sm: 20px;
  --r-pill: 999px;

  /* type */
  --disp: 'Nunito', system-ui, sans-serif;
  --sans: 'Noto Sans', 'Noto Sans JP', 'Noto Sans SC', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  /* page chrome */
  --page: #0E0810;
  --page-line: rgba(255,255,255,.09);
  --page-ink: rgba(255,245,248,.90);
  --page-muted: rgba(255,245,248,.48);
  --page-faint: rgba(255,245,248,.28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background:
    radial-gradient(ellipse 55% 20% at 50% 0%, rgba(255,143,171,.08), transparent 70%),
    var(--page);
  font-family: var(--sans);
  color: var(--page-ink);
  min-height: 100vh;
  padding: 20px 24px 16px;
}

/* ---------- board chrome ---------- */
.board-header { max-width: 1660px; margin: 0 auto 12px; }
.board-eyebrow {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .30em;
  color: var(--page-faint); text-transform: uppercase; margin-bottom: 8px;
}
.board-eyebrow b { color: var(--pink); font-weight: 600; }
.board-title {
  font-family: var(--disp); font-weight: 800; font-size: 44px;
  letter-spacing: .01em; line-height: 1;
}
.board-title span {
  background: var(--cta-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.board-sub {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .03em;
  color: var(--page-muted); margin-top: 8px; max-width: 1240px; line-height: 1.7;
}
.board-sub b { color: var(--pink); font-weight: 600; }
.board-sub .pv {
  background: var(--cta-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; font-weight: 600;
}
.board-links { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; align-items: center; }
.board-link {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em;
  color: var(--page-muted); background: rgba(255,255,255,.04);
  border: 1px solid var(--page-line); border-radius: 999px;
  padding: 4px 12px; text-decoration: none; text-transform: uppercase;
}
.board-link:hover { color: var(--pink); border-color: rgba(255,143,171,.45); }
.legend-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em;
  color: var(--page-muted); background: rgba(255,255,255,.04);
  border: 1px solid var(--page-line); border-radius: 999px; padding: 4px 8px;
}
.legend-dot { width: 10px; height: 10px; border-radius: 50%; }
.legend-dot.glassy { background: var(--glass); border: 1px solid var(--glass-border); }
.legend-dot.dashed { background: transparent; border: 1.5px dashed var(--dash-ring); }
.motion-pill {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em;
  color: var(--pink); background: rgba(255,143,171,.10);
  border: 1px solid rgba(255,143,171,.42); border-radius: 999px;
  padding: 4px 12px; cursor: pointer;
}
.motion-pill.off { color: var(--page-faint); background: rgba(255,255,255,.04); border-color: var(--page-line); }

.board {
  display: grid; grid-template-columns: repeat(4, 390px);
  gap: 16px 20px; justify-content: center; max-width: 1660px; margin: 0 auto;
}
.frame-wrap { width: 390px; }
.frame-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  color: var(--pink); margin-bottom: 8px; text-transform: uppercase;
  display: flex; align-items: baseline; gap: 8px; white-space: nowrap; overflow: hidden;
}
.frame-label .grp { color: var(--violet); font-weight: 700; }
.frame-label .fn {
  color: var(--page-faint); font-size: 9.5px; letter-spacing: .05em;
  text-transform: none; overflow: hidden; text-overflow: ellipsis;
}

.board-foot {
  max-width: 1660px; margin: 12px auto 0; padding-top: 8px;
  border-top: 1px solid var(--page-line);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .07em;
  color: var(--page-faint); line-height: 1.9;
}
.board-foot b { color: var(--page-muted); font-weight: 500; }

/* ---------- phone frame ---------- */
.phone {
  width: 390px; height: 844px; border-radius: 44px;
  overflow: hidden; position: relative;
  display: flex; flex-direction: column;
  background: var(--ground);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 0 0 6px #17101A, 0 36px 80px rgba(0,0,0,.75);
}
.wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(20,10,18,.42) 0%, rgba(20,10,18,.10) 26%,
    rgba(20,10,18,.08) 52%, rgba(20,10,18,.34) 78%, rgba(20,10,18,.62) 100%);
}
.scrim.dim {
  background: linear-gradient(180deg,
    rgba(14,7,12,.66) 0%, rgba(14,7,12,.52) 45%, rgba(14,7,12,.82) 100%);
}

/* ---------- status bar ---------- */
.statusbar {
  height: 44px; flex: none; display: flex; align-items: center;
  justify-content: space-between; padding: 4px 24px 0 24px;
  position: relative; z-index: 2;
}
.statusbar .time {
  font-family: var(--disp); font-size: 15px; font-weight: 700;
  letter-spacing: .03em; color: var(--ink);
}
.statusbar .tele { display: flex; align-items: center; gap: 8px; }
.sig { display: flex; align-items: flex-end; gap: 2px; height: 11px; }
.sig i { width: 3px; border-radius: 1px; background: rgba(255,245,248,.92); display: block; }
.sig i:nth-child(1) { height: 4px; } .sig i:nth-child(2) { height: 6px; }
.sig i:nth-child(3) { height: 8px; } .sig i:nth-child(4) { height: 11px; }
.statusbar .tele svg { width: 15px; height: 15px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.bat { width: 22px; height: 11px; border-radius: 3.5px; border: 1px solid rgba(255,245,248,.75); position: relative; display: block; }
.bat i { position: absolute; inset: 1.5px; width: 72%; border-radius: 2px; background: var(--ink); display: block; }
.bat.low i { width: 30%; }
.bat::after { content: ""; position: absolute; right: -3.5px; top: 3px; width: 2px; height: 5px; border-radius: 1px; background: rgba(255,245,248,.75); }

/* home indicator */
.homebar {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 134px; height: 5px; border-radius: 999px;
  background: rgba(255,245,248,.85); z-index: 3;
}

/* ---------- THE BUBBLE ORB (only looping thing) ---------- */
.orb {
  border-radius: 50%; position: relative; flex: none;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 33% 24%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.34) 7%, rgba(255,255,255,0) 19%),
    radial-gradient(ellipse 62% 44% at 30% 78%, rgba(255,225,240,0) 55%, rgba(255,215,235,.34) 72%, rgba(255,215,235,0) 88%),
    radial-gradient(ellipse 58% 40% at 70% 80%, rgba(255,170,205,.40) 0%, rgba(255,170,205,0) 70%),
    radial-gradient(circle at 50% 42%, rgba(24,10,22,.66) 0%, rgba(24,10,22,.34) 44%, rgba(24,10,22,0) 64%),
    radial-gradient(circle at 50% 50%,
      rgba(0,0,0,0) 50%, rgba(255,150,190,.26) 66%,
      rgba(255,196,226,.55) 79%, rgba(199,125,255,.62) 89%,
      rgba(255,238,246,.78) 96%, rgba(255,143,171,.30) 100%),
    radial-gradient(circle at 30% 22%, rgba(255,200,226,.24), rgba(199,125,255,.13) 55%, rgba(14,6,12,.30) 100%);
  box-shadow:
    0 0 26px rgba(255,143,171,.40),
    0 0 74px rgba(199,125,255,.26),
    inset 0 0 18px rgba(255,190,220,.28),
    inset 0 -9px 20px rgba(199,125,255,.26);
}
.orb svg { position: relative; z-index: 1; stroke: #FFFFFF; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; opacity: .96; }
.orb-halo {
  position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,143,171,.18) 0%, rgba(199,125,255,.07) 55%, transparent 75%);
}

.loop { animation: breathe 3s ease-in-out infinite; transform-origin: center; }
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: .97; }
  50% { transform: scale(1.03); opacity: 1; }
}
body.still .loop { animation: none; }

/* ---------- shared glass primitives ---------- */
.gcard {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-card); box-shadow: var(--inner-hi), 0 12px 28px rgba(8,3,8,.30);
}
.gpill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-pill); box-shadow: var(--inner-hi), 0 8px 22px rgba(8,3,8,.28);
}
.klabel {
  font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--ink-faint);
}
.klabel.pk { color: var(--pink); }
.klabel.vi { color: var(--violet); }

/* tag pills */
.tag {
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .16em; padding: 4px 8px; border-radius: 999px; flex: none;
  text-transform: uppercase;
  background: var(--glass); border: 1px solid var(--glass-border); color: var(--ink-dim);
}
.tag.live { color: var(--pink); border-color: rgba(255,143,171,.42); background: rgba(255,143,171,.12); }
.tag.ok { color: var(--ok); border-color: rgba(127,224,178,.40); background: rgba(127,224,178,.10); }
.tag.warn { color: var(--gold); border-color: rgba(255,213,138,.40); background: rgba(255,213,138,.10); }
.tag.danger { color: var(--danger); border-color: var(--danger-line); background: var(--danger-tint); }
.tag.agent { color: var(--violet); border-color: rgba(199,125,255,.40); background: rgba(199,125,255,.12); }

.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px rgba(255,143,171,.9); flex: none; }

/* CTA button */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px; border-radius: var(--r-pill);
  background: var(--cta-grad); color: var(--cta-ink);
  font-family: var(--disp); font-weight: 800; font-size: 15px; letter-spacing: .01em;
  box-shadow: 0 6px 22px rgba(255,143,171,.45), 0 0 44px rgba(199,125,255,.28), inset 0 1px 0 rgba(255,255,255,.55);
}
.cta.sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 16px; border-radius: var(--r-pill);
  background: var(--glass); border: 1px solid var(--glass-border);
  color: var(--ink-dim); font-family: var(--disp); font-weight: 700; font-size: 13px;
}
.btn-ghost.tall { height: 46px; }
.btn-ghost.dgr { color: var(--danger); border-color: var(--danger-line); }
.btn-row { display: flex; gap: 8px; }
.btn-row .cta, .btn-row .btn-ghost { flex: 1; height: 44px; font-size: 13px; padding: 0; }
/* standalone buttons: never grow to fill the column */
.content > .cta, .content > .btn-ghost { flex: none; width: 100%; }

/* petal toggle */
.ptgl {
  width: 48px; height: 28px; border-radius: 999px; flex: none; position: relative;
  background: rgba(255,190,220,.10); border: 1px solid var(--glass-border);
}
.ptgl i {
  position: absolute; top: 3px; left: 4px; width: 20px; height: 20px;
  border-radius: 50% 50% 50% 5px; transform: rotate(45deg);
  background: rgba(255,245,248,.45); display: block;
}
.ptgl.on { background: linear-gradient(135deg, rgba(255,143,171,.55), rgba(199,125,255,.55)); border-color: rgba(255,143,171,.60); box-shadow: 0 0 14px rgba(255,143,171,.30); }
.ptgl.on i { left: 23px; background: #FFFFFF; box-shadow: 0 0 10px rgba(255,143,171,.9); }

/* gradient bar */
.gbar { height: 10px; border-radius: 999px; background: rgba(255,190,220,.10); border: 1px solid var(--glass-border); position: relative; overflow: hidden; }
.gbar .gb-fill {
  position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--violet));
  box-shadow: 0 0 12px rgba(255,143,171,.5);
}

/* photo plate with scrim */
.plate { position: relative; overflow: hidden; border-radius: var(--r-card-sm); border: 1px solid var(--glass-border); }
.plate > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.plate .p-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,10,18,.30), transparent 40%, rgba(20,10,18,.55)); }
.p-meta {
  position: absolute; font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .14em; color: rgba(255,245,248,.85); text-transform: uppercase;
}
.p-meta.pk { color: var(--pink); }

/* screen header pattern */
.scr-head { display: flex; align-items: center; gap: 12px; }
.back-btn {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--inner-hi);
  display: flex; align-items: center; justify-content: center;
}
.back-btn svg { width: 17px; height: 17px; stroke: var(--ink); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.scr-title { flex: 1; font-family: var(--disp); font-weight: 800; font-size: 18px; color: var(--ink); }

/* generic sheet rows */
.srow { display: flex; align-items: center; gap: 12px; padding: 8px 12px; min-height: 44px; }
.srow + .srow { border-top: 1px solid rgba(255,255,255,.06); }
.srow .slabel { flex: 1; font-family: var(--sans); font-weight: 600; font-size: 13px; color: var(--ink); }
.srow .ssub {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em;
  color: var(--ink-ghost); text-transform: uppercase; margin-top: 2px; font-weight: 500;
}
.srow .svalue { font-family: var(--mono); font-size: 9.5px; letter-spacing: .10em; color: var(--ink-faint); flex: none; text-transform: uppercase; }

/* footer telemetry line */
.sys-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 4px 0 24px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em;
  color: var(--ink-ghost); text-transform: uppercase;
}
.sys-foot i { width: 14px; height: 1px; background: var(--glass-border); flex: none; }

/* screen scroll column */
.screen { flex: 1; display: flex; flex-direction: column; position: relative; z-index: 1; min-height: 0; }
.content {
  flex: 1; display: flex; flex-direction: column; gap: 8px;
  padding: 12px 16px 0; position: relative; z-index: 1; min-height: 0;
}

/* ---------- persistent command bar ---------- */
.cmdbar {
  flex: none; margin: 0 12px 20px; height: 56px; border-radius: 999px;
  border: 1px solid rgba(255,143,171,.45);
  background: linear-gradient(160deg, rgba(255,143,171,.20), rgba(199,125,255,.10));
  box-shadow: var(--inner-hi), 0 0 24px rgba(255,143,171,.24);
  display: flex; align-items: center; gap: 12px; padding: 0 16px 0 8px;
  position: relative; z-index: 2;
}
.cmdbar.dim { border-color: var(--glass-border); background: var(--glass); box-shadow: var(--inner-hi); }
.cmdbar .cmd-orb { width: 40px; height: 40px; flex: none; }
.cmdbar .cmd-orb svg { width: 15px; height: 15px; }
.cmd-hint { flex: 1; font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--ink-dim); white-space: nowrap; }
.cmd-hint b { color: var(--pink); font-weight: 600; }
.cmd-kbd { display: flex; gap: 2px; flex: none; opacity: .55; }
.cmd-kbd i { width: 4px; height: 4px; border-radius: 2px; background: var(--ink-faint); }

/* ---------- shared bits ---------- */
.note {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .05em;
  color: var(--ink-faint); line-height: 1.7; padding: 0 2px;
}
.note b { color: var(--pink); font-weight: 600; }

.avat { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex: none; border: 1px solid var(--glass-border-hi); }
.avat img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avat.you {
  display: flex; align-items: center; justify-content: center;
  background: var(--glass-hi); border-color: rgba(255,143,171,.45);
  font-family: var(--disp); font-weight: 800; font-size: 15px; color: var(--pink);
}

/* telemetry chip */
.chip {
  flex: 1; display: flex; flex-direction: column; gap: 4px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-card-sm); padding: 8px 12px; min-width: 0;
  box-shadow: var(--inner-hi);
}
.chip-top { display: flex; align-items: center; justify-content: space-between; }
.chip-tag {
  font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .14em; color: var(--pink); flex: none; text-transform: uppercase;
}
.chip-text {
  font-family: var(--mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: .04em; color: var(--ink-dim); text-transform: uppercase;
  white-space: nowrap;
}
.chip-num {
  font-family: var(--disp); font-weight: 800;
  font-size: 15px; color: var(--ink); letter-spacing: .02em; flex: none;
}
.chip-num.big { font-size: 20px; }

/* tick progress */
.ticks { display: flex; gap: 2px; flex: 1; }
.ticks i { height: 8px; flex: 1; background: rgba(255,190,220,.12); display: block; border-radius: 999px; }
.ticks i.on { background: var(--pink); box-shadow: 0 0 6px rgba(255,143,171,.5); }
.ticks i.au { background: linear-gradient(90deg, var(--pink), var(--violet)); }

/* progress ring */
.ringbox { position: relative; width: 68px; height: 68px; flex: none; }
.ringbox svg { width: 68px; height: 68px; display: block; }
.ringbox .rbg { fill: none; stroke: rgba(255,190,220,.14); stroke-width: 5; }
.ringbox .rfill {
  fill: none; stroke: var(--pink); stroke-width: 5; stroke-linecap: round;
  transform: rotate(-90deg); transform-origin: 34px 34px;
}
.ringbox .rfill.vi { stroke: var(--violet); }
.ringnum {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: var(--disp); font-weight: 800; font-size: 18px; color: var(--ink); line-height: 1;
}
.ringnum small {
  font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .14em; color: var(--ink-faint); margin-top: 2px; text-transform: uppercase;
}

.hrow { display: flex; gap: 8px; }
.stat-row { display: flex; gap: 8px; align-items: center; }
.sgroup > .klabel { display: block; margin: 0 2px 8px; }

/* tinted strips */
.warncard {
  border-radius: var(--r-card-sm); padding: 12px 12px;
  background: linear-gradient(160deg, rgba(255,213,138,.14), rgba(255,213,138,.05));
  border: 1px solid rgba(255,213,138,.40); box-shadow: var(--inner-hi);
}
.warncard .wc-top { display: flex; align-items: center; gap: 8px; }
.warncard .wc-txt {
  flex: 1; font-family: var(--sans); font-size: 11px; font-weight: 500;
  color: var(--ink-dim); line-height: 1.45; letter-spacing: .01em;
}
.warncard .wc-act {
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .16em; color: var(--gold); text-transform: uppercase; flex: none;
}
.warncard.dgr {
  background: var(--danger-tint); border-color: var(--danger-line);
}
.warncard.dgr .wc-act { color: var(--danger); }
.keptstrip {
  border-radius: var(--r-card-sm); padding: 12px 12px;
  background: rgba(255,143,171,.10); border: 1px solid rgba(255,143,171,.40);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em;
  color: var(--ink-dim); line-height: 1.8; text-transform: uppercase;
  box-shadow: var(--inner-hi);
}
.keptstrip b { color: var(--pink); font-weight: 700; }
.neverstrip {
  border-radius: var(--r-card-sm); padding: 8px 12px;
  background: var(--danger-tint); border: 1px solid var(--danger-line);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em;
  color: var(--ink-dim); line-height: 1.8; text-transform: uppercase;
}
.neverstrip b { color: var(--danger); font-weight: 700; }

/* ============================================================
   01 - TODAY
   ============================================================ */
.greet { padding: 4px 2px 0; }
.greet .g-date {
  font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .26em; color: var(--pink); text-transform: uppercase;
}
.greet .g-hi {
  font-family: var(--disp); font-weight: 800; font-size: 30px;
  letter-spacing: .01em; color: var(--ink); line-height: 1.08; margin-top: 4px;
}
.greet .g-sub {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  color: var(--ink-dim); margin-top: 4px; letter-spacing: .01em;
}
.flow { padding: 4px 0 4px; }
.flow-h {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px 8px; border-bottom: 1px solid rgba(255,255,255,.07);
}
.flow-h .klabel { flex: 1; }
.frow { display: flex; align-items: center; gap: 12px; padding: 8px 12px; }
.frow + .frow { border-top: 1px solid rgba(255,255,255,.06); }
.frow .ft {
  font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  color: var(--ink-dim); width: 38px; flex: none; letter-spacing: .04em;
}
.frow .ftxt { flex: 1; min-width: 0; }
.fname {
  font-family: var(--sans); font-weight: 600; font-size: 13px;
  color: var(--ink); letter-spacing: .01em; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.fsub {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em;
  color: var(--ink-ghost); text-transform: uppercase; margin-top: 2px;
}
.frow.done .ft, .frow.done .fname { color: var(--ink-ghost); }
.frow.done .fname { text-decoration: line-through; text-decoration-color: rgba(255,143,171,.55); }
.frow.now {
  background: linear-gradient(160deg, rgba(255,143,171,.16), rgba(199,125,255,.07));
  border-radius: 16px; margin: 2px 4px; padding: 8px 8px;
}
.frow.now + .frow { border-top: none; }

/* ============================================================
   02 - CALENDAR
   ============================================================ */
.cal-leg { display: flex; gap: 8px; }
.cal-leg .legend-chip { padding: 4px 8px; }
.cal { padding: 12px 12px 12px; }
.cal-wd { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 4px; }
.cal-wd span {
  text-align: center; font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .18em; color: var(--ink-ghost); text-transform: uppercase;
}
.cal-g { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 4px; }
.cd {
  position: relative; height: 36px; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--ink-dim);
}
.cd.dim { color: var(--ink-ghost); }
.cd.today { color: var(--pink); font-weight: 700; }
.cd.today::before {
  content: ""; position: absolute; width: 29px; height: 29px; border-radius: 50%;
  border: 1.5px dashed var(--dash-ring); background: rgba(255,143,171,.12);
}
.cd span { position: relative; }
.cd .cdot {
  position: absolute; bottom: 1px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--pink);
}
.cd .cdot.vi { background: var(--violet); }
.cd .cdot.ok { background: var(--ok); }
.evrow { display: flex; align-items: center; gap: 12px; padding: 8px 12px; }
.evrow + .evrow { border-top: 1px solid rgba(255,255,255,.06); }
.evrow .ev-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.evrow .ev-txt { flex: 1; min-width: 0; }

/* ============================================================
   03 - EVENT DETAIL
   ============================================================ */
.ev-plate { height: 168px; flex: none; }
.meta-grid { display: flex; gap: 8px; }
.guest-row { display: flex; align-items: center; gap: 8px; padding: 8px 12px; }
.guest-row + .guest-row { border-top: 1px solid rgba(255,255,255,.06); }
.guest-row .g-txt { flex: 1; min-width: 0; }
.guest-stack { display: flex; flex: none; }
.guest-stack .avat { width: 27px; height: 27px; margin-left: -8px; border-color: var(--ground); }
.guest-stack .avat:first-child { margin-left: 0; }
.guest-stack .gmore {
  width: 27px; height: 27px; margin-left: -8px; border-radius: 50%;
  background: var(--glass-hi); border: 1px solid var(--ground);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 9.5px; font-weight: 700; color: var(--ink-dim);
}

/* ============================================================
   04 - FOUND IN A TEXT
   ============================================================ */
.bubble {
  display: flex; gap: 8px; align-items: flex-start;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 22px 22px 22px 8px; padding: 12px 12px;
  box-shadow: var(--inner-hi);
}
.bubble .b-txt { flex: 1; min-width: 0; }
.bubble .b-who {
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .16em; color: var(--pink); text-transform: uppercase;
}
.bubble .b-msg {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  color: var(--ink); letter-spacing: .01em; line-height: 1.45; margin-top: 2px;
}
.x-arrow { display: flex; justify-content: center; }
.x-arrow svg { width: 14px; height: 18px; stroke: rgba(255,143,171,.6); stroke-width: 2; fill: none; }
.x-card { padding: 12px 16px 12px; }
.x-card .xc-title {
  font-family: var(--disp); font-weight: 800; font-size: 18px;
  letter-spacing: .01em; color: var(--ink);
}
.x-card .xc-meta {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em;
  color: var(--ink-dim); text-transform: uppercase; margin-top: 4px;
}

/* ============================================================
   05 - TASKS / 06 - HABITS
   ============================================================ */
.trow { display: flex; align-items: center; gap: 12px; padding: 8px 12px; }
.trow + .trow { border-top: 1px solid rgba(255,255,255,.06); }
.tbox {
  width: 19px; height: 19px; border-radius: 50% 50% 50% 5px; flex: none;
  transform: rotate(45deg);
  background: var(--cta-grad); border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 0 8px rgba(255,143,171,.4);
}
.tbox.off { background: transparent; border: 1.5px solid var(--glass-border-hi); box-shadow: none; }
.trow .tname {
  flex: 1; font-family: var(--sans); font-weight: 600; font-size: 13px;
  color: var(--ink); letter-spacing: .01em; min-width: 0; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.trow .tskr {
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .1em; color: var(--violet); flex: none;
}
.hcard { padding: 12px 12px 12px; }
.hcard .hc-top { display: flex; align-items: baseline; gap: 8px; }
.hcard .hc-name {
  flex: 1; font-family: var(--sans); font-weight: 600; font-size: 13px;
  color: var(--ink); letter-spacing: .01em;
}
.hcard .hc-streak {
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .1em; color: var(--pink); flex: none;
}
.hcard .dt { display: flex; gap: 2px; margin-top: 8px; }
.hcard .dt i {
  flex: 1; height: 16px; border-radius: 5px; background: rgba(255,190,220,.10);
  display: block; border: 1px solid rgba(255,255,255,.06);
}
.hcard .dt i.on {
  background: linear-gradient(180deg, var(--pink), var(--violet));
  border-color: rgba(255,255,255,.22); box-shadow: 0 0 8px rgba(255,143,171,.35);
}
.hcard .dt-l {
  display: flex; gap: 2px; margin-top: 4px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--ink-ghost);
}
.hcard .dt-l span { flex: 1; text-align: center; }
.adddash {
  border: 1.5px dashed var(--glass-border-hi); border-radius: var(--r-card-sm);
  display: flex; align-items: center; justify-content: center; height: 40px;
  font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .18em; color: var(--ink-faint); text-transform: uppercase;
}

/* ============================================================
   07 - FOCUS BUILDER
   ============================================================ */
.focus-on { padding: 12px 16px; }
.focus-on .fo-top { display: flex; align-items: center; gap: 8px; }
.focus-on .fo-name {
  flex: 1; font-family: var(--disp); font-weight: 800; font-size: 18px;
  letter-spacing: .01em; color: var(--ink);
}
.focus-on .fo-sub {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em;
  color: var(--ink-dim); text-transform: uppercase; margin-top: 8px;
}
.daychips { display: flex; gap: 4px; }
.dch {
  flex: 1; height: 34px; border-radius: 12px;
  border: 1px solid var(--glass-border); background: var(--glass);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .1em; color: var(--ink-ghost);
  box-shadow: var(--inner-hi);
}
.dch.on {
  color: #FFFFFF; border: 1.5px dashed var(--dash-ring);
  background: rgba(255,143,171,.16); box-shadow: 0 0 12px rgba(255,143,171,.22);
}
.ppl { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pchip {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--glass-border); border-radius: 999px; padding: 4px 12px 4px 4px;
  background: var(--glass); box-shadow: var(--inner-hi);
  font-family: var(--sans); font-size: 11px; font-weight: 600; color: var(--ink);
}
.pchip .avat { width: 22px; height: 22px; }
.pchip.add { padding: 4px 12px; color: var(--ink-faint); font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; }
.apptags { display: flex; gap: 4px; flex-wrap: wrap; }
.atag {
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .12em; padding: 4px 12px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-border);
  color: var(--ink-dim); text-transform: uppercase;
}

/* ============================================================
   08 - JOURNAL
   ============================================================ */
.mood { padding: 12px 12px 12px; }
.mood .mb { display: flex; gap: 2px; align-items: flex-end; height: 46px; margin-top: 8px; }
.mood .mb i { flex: 1; border-radius: 3px 3px 1px 1px; background: rgba(255,190,220,.12); display: block; }
.mood .mb i.on { background: linear-gradient(180deg, var(--pink), rgba(199,125,255,.55)); box-shadow: 0 0 6px rgba(255,143,171,.30); }
.prompt {
  padding: 12px 16px;
  background: linear-gradient(160deg, rgba(199,125,255,.16), rgba(255,143,171,.07));
  border: 1px solid rgba(199,125,255,.38); border-radius: var(--r-card);
  box-shadow: var(--inner-hi), 0 0 24px rgba(199,125,255,.15);
}
.prompt .pr-q {
  font-family: var(--disp); font-weight: 800; font-size: 18px;
  letter-spacing: .01em; color: var(--ink); line-height: 1.25;
}
.moodtags { display: flex; gap: 4px; margin-top: 12px; flex-wrap: wrap; }
.mtag {
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .12em; padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--glass-border); color: var(--ink-dim); text-transform: uppercase;
  background: rgba(255,190,220,.06);
}
.mtag.on {
  color: #FFFFFF; border: 1.5px dashed var(--dash-ring);
  background: rgba(255,143,171,.18);
}
.entry { display: flex; gap: 12px; padding: 8px 12px; }
.entry + .entry { border-top: 1px solid rgba(255,255,255,.06); }
.entry .e-date {
  flex: none; width: 34px; text-align: center;
  font-family: var(--disp); font-weight: 800; font-size: 18px; color: var(--pink); line-height: 1;
}
.entry .e-date small {
  display: block; font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .16em; color: var(--ink-ghost); margin-top: 2px;
}
.entry .e-txt {
  flex: 1; font-family: var(--sans); font-size: 11px; font-weight: 500;
  color: var(--ink-dim); line-height: 1.45; letter-spacing: .01em;
}

/* ============================================================
   09 - JOURNEY MAP
   ============================================================ */
.jmap { flex: 1; min-height: 0; border-radius: var(--r-card); }
.jmap .jroute { position: absolute; inset: 0; width: 100%; height: 100%; }
.jpin {
  position: absolute; display: flex; align-items: center; gap: 4px;
  transform: translate(-10px, -50%);
}
.jpin i {
  width: 10px; height: 10px; border-radius: 50% 50% 50% 2px;
  transform: rotate(45deg); background: var(--ink-ghost); flex: none; display: block;
}
.jpin span {
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .1em; color: var(--ink); text-transform: uppercase;
  background: var(--glass-deep); border: 1px solid var(--glass-border);
  padding: 2px 8px; border-radius: 999px; white-space: nowrap;
}
.jpin.done i { background: var(--ok); }
.jpin.now i { background: var(--pink); box-shadow: 0 0 10px rgba(255,143,171,.9); }
.jpin.now span { border: 1.5px dashed var(--dash-ring); color: var(--pink); }
.jpin.held i { background: var(--gold); }
.jpin.soon i { background: var(--ink-ghost); }
.navpill {
  position: absolute; top: 10px; left: 10px; right: 10px; z-index: 3;
  display: flex; align-items: center; gap: 8px;
  background: var(--glass-deep); border: 1px solid rgba(255,143,171,.45);
  border-radius: 999px; padding: 8px 12px; box-shadow: var(--inner-hi);
}
.navpill .np-txt {
  flex: 1; font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .12em; color: var(--ink-dim); text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.navpill .np-txt b { color: var(--pink); }
.wave { display: flex; align-items: flex-end; gap: 2px; height: 14px; flex: none; }
.wave i { width: 3px; border-radius: 2px; background: linear-gradient(180deg, var(--pink), var(--violet)); display: block; }
.jcard {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3;
  display: flex; align-items: center; gap: 8px;
  background: var(--glass-deep); border: 1px solid var(--glass-border);
  border-radius: 18px; padding: 8px 12px; box-shadow: var(--inner-hi);
}
.jcard .jc-txt { flex: 1; min-width: 0; }
.jcard .jc-title {
  font-family: var(--disp); font-weight: 800; font-size: 15px;
  letter-spacing: .01em; color: var(--ink);
}
.jcard .jc-sub {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em;
  color: var(--ink-faint); text-transform: uppercase; margin-top: 2px;
}

/* ============================================================
   10 - QUEST COMPLETE
   ============================================================ */
.f-quest .content { align-items: center; justify-content: center; text-align: center; gap: 12px; }
.qc-orb-zone { position: relative; display: flex; align-items: center; justify-content: center; }
.qc-orb-zone .orb { width: 118px; height: 118px; }
.qc-orb-zone .orb svg { width: 42px; height: 42px; stroke-width: 2.4; }
.qc-orb-zone .orb-halo { width: 200px; height: 200px; top: -41px; }
.qc-big {
  font-family: var(--disp); font-weight: 800; font-size: 24px;
  letter-spacing: .01em; color: var(--ink); line-height: 1.15;
}
.qc-skr {
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .2em; color: var(--violet); text-transform: uppercase;
}
.qc-live {
  width: 100%; display: flex; align-items: center; gap: 8px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-card-sm); padding: 8px 12px; text-align: left;
  box-shadow: var(--inner-hi);
}
.qc-live .ql-txt { flex: 1; min-width: 0; }
.qc-live .ql-name { font-family: var(--sans); font-weight: 600; font-size: 13px; color: var(--ink); }
.qc-live .ql-sub {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em;
  color: var(--ink-faint); text-transform: uppercase; margin-top: 2px;
}
.f-quest .btn-row { width: 100%; }

/* ============================================================
   11 - NIGHTLY MIRROR
   ============================================================ */
.mir-hero { height: 168px; flex: none; }
.ladder { padding: 4px 0 2px; }
.lrow { display: flex; align-items: center; gap: 12px; padding: 8px 12px; }
.lrow + .lrow { border-top: 1px solid rgba(255,255,255,.06); }
.lrow .lname {
  width: 86px; flex: none; font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .14em; color: var(--ink-dim); text-transform: uppercase;
}
.refl { padding: 12px 16px 12px; }
.refl .rf-txt {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  color: var(--ink); line-height: 1.5; letter-spacing: .01em;
}
.refl .rf-q {
  font-family: var(--disp); font-weight: 800; font-size: 18px;
  letter-spacing: .01em; color: var(--pink); margin-top: 8px; line-height: 1.3;
}

/* ============================================================
   12 - CATCH MY PLANS
   ============================================================ */
.crow { display: flex; align-items: flex-start; gap: 12px; padding: 12px 12px; }
.crow + .crow { border-top: 1px solid rgba(255,255,255,.06); }
.crow .cr-ic {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  background: var(--glass-hi); border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
}
.crow .cr-ic svg { width: 14px; height: 14px; stroke: var(--pink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.crow .cr-txt { flex: 1; min-width: 0; }
.crow .cr-name { font-family: var(--sans); font-weight: 600; font-size: 13px; color: var(--ink); letter-spacing: .01em; }
.crow .cr-sub {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em;
  color: var(--ink-ghost); text-transform: uppercase; margin-top: 2px; line-height: 1.6;
}
.needs { padding: 12px 12px 12px; }
.needs .nd-quote {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  color: var(--ink); line-height: 1.45; letter-spacing: .01em;
}
.needs .nd-sub {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em;
  color: var(--ink-faint); text-transform: uppercase; margin-top: 8px; line-height: 1.7;
}
.needs .nd-acts { display: flex; gap: 8px; margin-top: 12px; }
.nd-act {
  flex: 1; height: 34px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--disp); font-size: 11px; font-weight: 800;
  letter-spacing: .02em;
}
.nd-act.pk { background: var(--cta-grad); color: var(--cta-ink); box-shadow: 0 4px 16px rgba(255,143,171,.35), inset 0 1px 0 rgba(255,255,255,.5); }
.nd-act.plain { border: 1px solid var(--glass-border); background: var(--glass); color: var(--ink-dim); }

/* ============================================================
   13 - PROFILE
   ============================================================ */
.phero { display: flex; flex-direction: column; align-items: center; padding: 16px 12px 16px; text-align: center; }
.phero .ph-av {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--glass-hi); border: 1.5px dashed var(--dash-ring);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--disp); font-weight: 800; font-size: 30px; color: var(--pink);
  box-shadow: 0 0 26px rgba(255,143,171,.30);
}
.phero .ph-name {
  font-family: var(--disp); font-weight: 800; font-size: 24px;
  letter-spacing: .01em; color: var(--ink); margin-top: 12px;
}
.phero .ph-handle {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em;
  color: var(--ink-faint); text-transform: uppercase; margin-top: 4px;
}
.phero .ph-tags { display: flex; gap: 8px; margin-top: 8px; }
.pstats { display: flex; gap: 8px; }
.bio {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  color: var(--ink-dim); letter-spacing: .01em; line-height: 1.5; padding: 0 2px;
}
.itags { display: flex; gap: 4px; flex-wrap: wrap; }

/* ============================================================
   16 - PRIVACY
   ============================================================ */
.tiercard { padding: 12px 16px; }
.tiercard .tc-top { display: flex; align-items: center; gap: 8px; }
.tiercard .tc-name {
  flex: 1; font-family: var(--disp); font-weight: 800; font-size: 18px;
  letter-spacing: .01em; color: var(--ink);
}
.tiercard .tc-sub {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em;
  color: var(--ok); text-transform: uppercase; margin-top: 8px;
}
.vault { padding: 12px 16px; }
.vault .v-top { display: flex; align-items: baseline; gap: 8px; }
.vault .v-num {
  font-family: var(--disp); font-weight: 800; font-size: 24px; color: var(--ink); letter-spacing: .01em;
}
.vault .v-of {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em;
  color: var(--ink-faint); text-transform: uppercase;
}
.vault .v-track { margin-top: 12px; }
.vault .v-kinds { display: flex; gap: 12px; margin-top: 12px; }
.vault .vk {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em;
  color: var(--ink-faint); text-transform: uppercase; display: flex; align-items: center; gap: 4px;
}
.vault .vk i { width: 5px; height: 5px; border-radius: 50%; background: var(--pink); display: block; }

/* ============================================================
   17 - DIGITAL ID
   ============================================================ */
.idcard { padding: 12px; overflow: hidden; position: relative; }
.idcard::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--cta-grad);
}
.idcard .id-top { display: flex; align-items: center; gap: 12px; }
.idcard .id-mono {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--glass-hi); border: 1.5px dashed var(--dash-ring);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--disp); font-weight: 800; font-size: 20px; color: var(--pink);
}
.idcard .id-name {
  font-family: var(--disp); font-weight: 800; font-size: 18px;
  letter-spacing: .01em; color: var(--ink);
}
.idcard .id-did {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em;
  color: var(--ink-faint); margin-top: 2px;
}
.idcard .id-stats { display: flex; gap: 8px; margin-top: 12px; }
.qrbox {
  align-self: center; background: #FFF5F8; border-radius: 20px;
  padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  box-shadow: 0 10px 26px rgba(8,3,8,.35);
}
.qrbox svg { display: block; }
.qrbox .qr-cap {
  font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .18em; color: #6B4552; text-transform: uppercase;
}
.consent { padding: 12px 12px 12px; }
.consent .cs-who {
  font-family: var(--sans); font-weight: 600; font-size: 13px;
  color: var(--ink); letter-spacing: .01em; line-height: 1.4;
}
.consent .cs-who b { color: var(--pink); }
.cs-row {
  display: flex; align-items: center; gap: 8px; margin-top: 8px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em;
  color: var(--ink-dim); text-transform: uppercase;
}
.cs-row i { width: 5px; height: 5px; border-radius: 50%; background: var(--ok); flex: none; display: block; }
.consent .cs-never {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em;
  color: var(--ink-ghost); text-transform: uppercase; margin-top: 8px; line-height: 1.7;
}

/* ============================================================
   18 - RECOVERY SEED
   ============================================================ */
.seedgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sw {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 8px 12px 8px; box-shadow: var(--inner-hi);
}
.sw .sw-n {
  font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .18em; color: var(--pink);
}
.sw .sw-w {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: var(--ink); letter-spacing: .04em; margin-top: 2px;
}

/* ============================================================
   19 - BIOMETRIC ENROLL
   ============================================================ */
.f-bio .content { align-items: center; }
.fpzone { position: relative; width: 196px; height: 196px; margin-top: 4px; }
.fpzone svg { width: 196px; height: 196px; display: block; }
.fpct {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: radial-gradient(circle, rgba(20,10,18,.85) 0%, rgba(20,10,18,.5) 34%, transparent 58%);
  font-family: var(--disp); font-weight: 800; font-size: 30px; color: var(--ink); line-height: 1;
}
.fpct small {
  font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .22em; color: var(--pink); margin-top: 4px; text-transform: uppercase;
}
.steps { width: 100%; }
.stp { display: flex; align-items: center; gap: 12px; padding: 8px 12px; }
.stp + .stp { border-top: 1px solid rgba(255,255,255,.06); }
.stp .st-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: rgba(255,190,220,.14); }
.stp.done .st-dot { background: var(--ok); }
.stp.now .st-dot { background: var(--pink); box-shadow: 0 0 8px rgba(255,143,171,.9); }
.stp .st-name {
  flex: 1; font-family: var(--sans); font-weight: 600; font-size: 13px;
  color: var(--ink); letter-spacing: .01em;
}
.stp.done .st-name { color: var(--ink-dim); }
.stp .st-tag { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; color: var(--ink-ghost); text-transform: uppercase; }
.stp.now .st-tag { color: var(--pink); }
.f-bio .btn-row { width: 100%; }

/* ============================================================
   20 - BACKUP
   ============================================================ */
.shards { display: flex; gap: 8px; }
.shards i {
  width: 16px; height: 22px; border-radius: 50% 50% 50% 4px;
  transform: rotate(45deg); background: rgba(255,190,220,.10); display: block;
  border: 1px solid var(--glass-border);
}
.shards i.on {
  background: var(--cta-grad); border-color: rgba(255,255,255,.35);
  box-shadow: 0 0 8px rgba(255,143,171,.55);
}
.bkstat { padding: 12px 16px; }
.bkstat .bs-top { display: flex; align-items: center; gap: 12px; }
.bkstat .bs-name {
  flex: 1; font-family: var(--disp); font-weight: 800; font-size: 18px;
  letter-spacing: .01em; color: var(--ink);
}
.bkstat .bs-sub {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em;
  color: var(--ink-dim); text-transform: uppercase; margin-top: 8px;
}

/* ============================================================
   21 - LIMITLESS ACCOUNT
   ============================================================ */
.usage { padding: 12px 16px; }
.usage .u-top { display: flex; align-items: baseline; gap: 8px; }
.usage .u-num {
  font-family: var(--disp); font-weight: 800; font-size: 24px; color: var(--ink); letter-spacing: .01em;
}
.usage .u-of {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em;
  color: var(--ink-faint); text-transform: uppercase;
}
.usage .gbar { margin-top: 12px; }
.urow { display: flex; align-items: center; gap: 12px; padding: 8px 12px; }
.urow + .urow { border-top: 1px solid rgba(255,255,255,.06); }
.urow .u-name {
  flex: 1; font-family: var(--sans); font-weight: 600; font-size: 11px;
  color: var(--ink); letter-spacing: .01em;
}
.urow .u-val {
  font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  color: var(--pink); letter-spacing: .06em;
}

/* ============================================================
   22 - LIMITLESS SIGN IN
   ============================================================ */
.field {
  border-radius: var(--r-card-sm); background: var(--glass);
  border: 1px solid var(--glass-border); box-shadow: var(--inner-hi);
  padding: 12px 16px 12px; display: flex; align-items: center; gap: 8px;
}
.field.on { border-color: rgba(255,143,171,.45); box-shadow: 0 0 16px rgba(255,143,171,.18), var(--inner-hi); }
.field .f-txt { flex: 1; min-width: 0; }
.field .f-label {
  font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .18em; color: var(--ink-ghost); text-transform: uppercase;
}
.field .f-val {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  color: var(--ink); letter-spacing: .04em; margin-top: 2px;
}
.field .f-eye svg { width: 17px; height: 17px; stroke: var(--ink-faint); fill: none; stroke-width: 1.8; }
.rules { padding: 4px 2px 0; display: flex; flex-direction: column; gap: 8px; }
.rule {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em;
  color: var(--ink-faint); text-transform: uppercase;
}
.rule i {
  width: 15px; height: 15px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--glass-border-hi); font-style: normal;
}
.rule.ok { color: var(--ink-dim); }
.rule.ok i { border-color: rgba(127,224,178,.45); color: var(--ok); font-size: 9.5px; }
.rule.miss { color: var(--gold); }
.rule.miss i { border-color: rgba(255,213,138,.45); color: var(--gold); font-size: 9.5px; }

/* ============================================================
   MOTION - only the orb breathing loops. body.still kills all.
   ============================================================ */
body.still *, body.still *::before, body.still *::after { animation: none !important; transition: none !important; }

/* ================= v2.1 additions: icon weight + dark swirl orb ================= */

/* ---- Icons: one line weight everywhere. Small icons no longer go under 1px. ---- */
.phone svg[viewBox="0 0 24 24"] :is(path, line, polyline, polygon, circle, rect, ellipse) {
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.phone svg[viewBox="0 0 24 24"] { overflow: visible; }
/* The orb glyph is big: keep it scaling with the orb, as before. */
.phone .orb svg[viewBox="0 0 24 24"] :is(path, line, polyline, polygon, circle, rect, ellipse) { vector-effect: none; }


/* ---- Orb: the look stays the same. Inside, soft colour light flows slowly.
   On an action (hover, tap, or a screen where the agent works) the flow gets brighter.
   Nothing goes outside the orb. ---- */
.orb {
  --sw-a: var(--pink, #FF8FAB);
  --sw-b: var(--violet, #C77DFF);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.orb > svg { z-index: 3; }
.orb::before, .orb::after {
  content: "";
  position: absolute;
  inset: -25%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: .35;
  transition: opacity 1.2s cubic-bezier(.4, 0, .2, 1);
}
.orb::before {
  background:
    radial-gradient(circle at 34% 38%, color-mix(in srgb, var(--sw-a) 85%, transparent) 0%, transparent 32%),
    radial-gradient(circle at 70% 64%, color-mix(in srgb, var(--sw-b) 80%, transparent) 0%, transparent 30%);
  filter: blur(6px);
  animation: orb-flow-a 9s ease-in-out infinite;
}
.orb::after {
  background:
    radial-gradient(ellipse 30% 18% at 60% 30%, rgba(255,240,250,.55) 0%, transparent 70%),
    radial-gradient(circle at 30% 72%, color-mix(in srgb, var(--sw-b) 70%, transparent) 0%, transparent 28%);
  filter: blur(5px);
  animation: orb-flow-b 13s ease-in-out infinite;
}
@keyframes orb-flow-a {
  0%, 100% { transform: rotate(0deg) translate(0, 0); }
  33%      { transform: rotate(120deg) translate(4%, -3%); }
  66%      { transform: rotate(240deg) translate(-3%, 4%); }
}
@keyframes orb-flow-b {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50%      { transform: rotate(-180deg) scale(1.08); }
}
.orb:hover::before, .orb:hover::after,
.orb:focus::before, .orb:focus::after,
.orb:active::before, .orb:active::after,
.orb.is-active::before, .orb.is-active::after { opacity: .9; }

/* Very small orbs: less blur so the colour still shows. */
.orb.aa-orb::before, .orb.sh-orb::before, .orb.d-orb::before, .orb.ai-orb::before, .orb.an-orb::before, .orb.mini-orb::before, .orb.a-orb::before,
.orb.aa-orb::after, .orb.sh-orb::after, .orb.d-orb::after, .orb.ai-orb::after, .orb.an-orb::after, .orb.mini-orb::after, .orb.a-orb::after { filter: blur(2px); }

body.still .orb::before, body.still .orb::after { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .orb::before, .orb::after { animation: none; }
}

/* ================= v2.2: command bar orb on the right, live motion, icon stroke ================= */

/* ---- Icons: one stroke for the whole set (Lucide grid: 24px, 2px stroke at 24px) ---- */
.phone svg[viewBox="0 0 24 24"] { fill: none; }
.phone svg[viewBox="0 0 24 24"] [fill="currentColor"] { fill: currentColor; }
.seg svg { width: 18px !important; height: 18px !important; }
.seg svg :is(path, line, polyline, polygon, circle, rect, ellipse) { stroke-width: 1.7; }

/* ---- Command bar: text first, voice orb on the right (thumb side, same as send buttons) ---- */
.cmdbar { padding-left: 16px !important; padding-right: 8px !important; }
.cmdbar > .orb, .cmdbar > .cmd-orb { order: 9; }
.cmdbar > .cmd-hint { order: 1; }
.cmdbar > .cmd-kbd { order: 2; }

/* ---- Voice bars: every bar breathes, each a little out of step ---- */
:is(.wave, .call-wave, .vc-wave, .cw, .rb-track, .waveform) > i {
  transform-origin: 50% 50%;
  animation: bar-talk 1.1s ease-in-out infinite alternate;
}
:is(.wave, .call-wave, .vc-wave, .cw, .rb-track, .waveform) > i:nth-child(3n+1) { animation-duration: .9s;  animation-delay: -.2s; }
:is(.wave, .call-wave, .vc-wave, .cw, .rb-track, .waveform) > i:nth-child(3n+2) { animation-duration: 1.25s; animation-delay: -.55s; }
:is(.wave, .call-wave, .vc-wave, .cw, .rb-track, .waveform) > i:nth-child(4n)   { animation-duration: .75s; animation-delay: -.35s; }
:is(.wave, .call-wave, .vc-wave, .cw, .rb-track, .waveform) > i:nth-child(5n)   { animation-duration: 1.4s; animation-delay: -.8s; }
@keyframes bar-talk { 0% { transform: scaleY(.35); } 100% { transform: scaleY(1); } }
/* Recorded audio (played part) moves less: it is a recording, not a live voice. */
:is(.waveform, .rb-track) > i { animation-name: bar-play; }
@keyframes bar-play { 0% { transform: scaleY(.8); } 100% { transform: scaleY(1); } }
.cpu-bars > i.on { transform-origin: 50% 100%; animation: bar-talk 1.6s ease-in-out infinite alternate; }

/* ---- Text caret blinks ---- */
:is(.caret, .kf-caret, .sb-caret) { animation: caret-blink 1.05s steps(1, end) infinite; }
@keyframes caret-blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }

/* ---- Live dots and live steps pulse ---- */
:is(.live-dot, .mstep.live .m-dot) { animation: live-pulse 1.6s ease-in-out infinite; }
@keyframes live-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,143,171,.75); } 70% { box-shadow: 0 0 0 7px rgba(255,143,171,0); } }
.tag.live { animation: tag-glow 2.2s ease-in-out infinite; }
@keyframes tag-glow { 0%, 100% { background: rgba(255,143,171,.10); } 50% { background: rgba(255,143,171,.24); } }
.step.live .s-ic, .dial-key.live, .lrow.live { animation: ring-turn 2.4s ease-in-out infinite; }
@keyframes ring-turn { 0%, 100% { box-shadow: 0 0 0 rgba(255,143,171,0); } 50% { box-shadow: 0 0 18px rgba(255,143,171,.45); } }

/* ---- Typing dots ---- */
.ty-dots { animation: typing-fade 1.2s ease-in-out infinite; }
@keyframes typing-fade { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* ---- Scanner line sweeps, dashed rings turn slowly ---- */
.scan-box .scan-line { animation: scan-sweep 2.4s ease-in-out infinite alternate; }
@keyframes scan-sweep { 0% { top: 14%; } 100% { top: 86%; } }
:is(.orb-ring, .sos-ring) { animation: dash-spin 18s linear infinite; }
@keyframes dash-spin { to { transform: rotate(360deg); } }

body.still .phone *, body.still .phone *::before, body.still .phone *::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .phone *:not(.orb), .phone *:not(.orb)::before { animation: none !important; }
}

/* ================= v2.2: every language fits ================= */
/* Chip rows wrap to a second line instead of running off the screen. */
.sugg-row { flex-wrap: wrap; row-gap: 8px; }
/* Long words (German, Russian) break instead of pushing the layout wide. */
.phone { overflow-wrap: break-word; hyphens: auto; }
/* CJK: own fonts, no wide letter spacing, no forced caps, a bit more line height. */
:lang(zh) .phone, :lang(zh) .phone * { font-family: "Noto Sans SC", var(--sans), sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; }
:lang(ja) .phone, :lang(ja) .phone * { font-family: "Noto Sans JP", var(--sans), sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; }
:lang(zh) .phone, :lang(ja) .phone { line-height: 1.45; }

/* ---- Long languages (de, ru): row text gets 2 lines before it cuts. Android: maxLines = 2, ellipsize = end. ---- */
.phone :is(.m-txt, .sr-t1, .slabel, .ssub, .b-name, .lsub, .fname, .tname, .a-role, .l-t1, .l-t2, .n-t1, .n-t2, .sh-title, .tr-name, .tr-name, .q-name, .rr-name, .sc-x, .a-txt, .scr-title) {
  white-space: normal !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: break-word;
}
.phone .n-t2 b { white-space: normal; }
.phone .step-head { flex-wrap: wrap; row-gap: 4px; }
.phone .step-head .klabel { white-space: normal !important; min-width: 0; flex-shrink: 1; max-width: 100%; }
.phone .chip-top { flex-wrap: wrap; gap: 2px 4px; }
.phone .chip-tag, .phone .chip-text { white-space: normal !important; min-width: 0; overflow-wrap: break-word; }
.phone .vf-ai { white-space: normal; width: max-content; max-width: calc(100% - 40px); box-sizing: border-box; }
.phone .vf-ai .ai-txt { white-space: normal; min-width: 0; line-height: 1.3; }

/* ---- real phone map (Pixel 9 Pro, read over adb) ----
   fingerprint sensor: centre 258 dp above the bottom edge, 78 dp wide, centred.
   In this 390 x 844 frame that is centre (195, 586), box 156-234 x 547-625.
   camera hole: centre x, y 18-50 dp. Back gesture strips: 30 dp each side. Bottom gesture zone: 32 dp. */
.f-lock .lock-orb-zone, .f-lock .lock-pills { transform: translateY(-20px); }
.f-lock .lock-corners { padding: 0 16px; box-sizing: border-box; }
.f-aod .aod-orb { position: absolute; left: calc(50% - 20px); top: 565px; width: 40px; height: 40px; z-index: 2; }
.phone.f-bio .bio-zone { position: absolute; left: 0; right: 0; width: auto; top: 457px; margin: 0; display: flex; flex-direction: column; align-items: center; }
.content.f-bio .fpzone { position: absolute; left: calc(50% - 98px); top: 443px; margin: 0; }

/* ---- bottom gesture zone: no tap target below y 812 (32 dp from the edge) ---- */
.phone .ob-actions { padding-bottom: 32px; }
.phone .ad-actions { margin-bottom: 32px; }
.phone .composer { margin-bottom: 32px; }
.phone .cmdbar { margin-bottom: 32px; }
.phone .vc-controls { padding-bottom: 32px; }
.phone .toast { margin-bottom: 16px; }
.phone > .content { padding-bottom: 8px; box-sizing: border-box; }
.phone > .content > .btn-row:last-child { margin-bottom: 24px; padding-bottom: 0; }
/* sheets with a bottom bar: the bar is pinned, the content above scrolls (here: it shrinks) */
.phone .sheet-wrap > .sheet { padding-bottom: 32px; }
.phone .sheet-body:has(> .composer) { display: flex; flex-direction: column; }
.phone .sheet-body:has(> .composer) > :not(.composer) { min-height: 0; flex-shrink: 1; overflow: hidden; }
.phone .sheet-body > .composer { flex-shrink: 0; margin-top: auto; }
.phone > .content:has(> [style*="margin-top:auto"]) > :not(:last-child) { min-height: 0; flex-shrink: 1; overflow: hidden; }
.phone > .content > [style*="margin-top:auto"]:last-child { flex-shrink: 0; }
/* recovery words: 4 x 3 grid so the actions stay above the gesture zone in every language */
.phone .ob .word-grid { grid-template-columns: repeat(4, 1fr); gap: 4px; }
.phone .ob .wcell { padding: 4px 8px; }
.f-hand .note-strip { padding-top: 8px; padding-bottom: 8px; }
.f-hand .note-strip + .note-strip { margin-top: 4px !important; }

/* ---- build tokens: touch floors (Dimens.touchMin 44, Dimens.tagHeight 32) ---- */
.phone :is(.cta,.btn,.btn-ghost,.btn-bad,.pill-btn,.mic-btn,.stop-btn,.mc-btn,.g-pill){min-height:44px;box-sizing:border-box}
.phone :is(.back-btn,.mic-btn,.mc-btn,.g-pill){min-width:44px;min-height:44px;box-sizing:border-box}
.phone .tab{min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center}
.phone :is(.chip,.chip-tag,.chip-text,.chip-num,.chip-top,.agent-chip,.vf-chip,.legend-chip){min-height:32px;box-sizing:border-box;display:inline-flex;align-items:center}
