/* Pulse prototype. Aurora glass: frosted panels over a slow violet and coral aurora. Dark and light. */
@font-face { font-family: Sora; src: url(../fonts/sora.woff2) format('woff2'); font-weight: 100 800; font-display: swap; }
@font-face { font-family: Manrope; src: url(../fonts/manrope.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
  --coral: #ff6a4d; --coral-a: #ff8a5c; --coral-b: #ff4d6d; --lav: #b9adff; --violet: #7c6cff; --green: #33c7a3; --amber: #ffb020;
  --c-food: #ff6a4d; --c-home: #7c6cff; --c-transport: #33c7a3; --c-out: #ffb020;
  --sat: max(env(safe-area-inset-top, 0px), 14px); --sab: env(safe-area-inset-bottom, 0px);
  --spring: cubic-bezier(.2, 1.4, .4, 1); --out: cubic-bezier(.16, 1, .3, 1);
}
html[data-theme="dark"] {
  --bg: #120c2b; --ink: #fff; --soft: rgba(230,224,255,.78); --faint: rgba(230,224,255,.45); --link: #b9adff;
  --g1: rgba(255,255,255,.17); --g2: rgba(255,255,255,.055); --g3: rgba(255,255,255,.09);
  --rim-a: rgba(255,255,255,.75); --rim-b: rgba(255,255,255,.08); --rim-c: rgba(255,255,255,.03); --rim-d: rgba(255,255,255,.3);
  --pshadow: 0 24px 44px -22px rgba(6,2,26,.9); --track: rgba(255,255,255,.1); --track2: rgba(255,255,255,.16);
  --tabbg: linear-gradient(140deg, rgba(58,44,132,.84), rgba(28,19,78,.82)); --tabshadow: 0 20px 40px -12px rgba(4,1,20,.9);
  --sheet: linear-gradient(165deg, rgba(60,44,140,.93), rgba(26,17,72,.96)); --navbg: rgba(18,12,43,.72);
  --good: #7df0d0; --good-bg: rgba(51,199,163,.2); --good-rim: rgba(51,199,163,.45); --bad: #ff9b90; --bad-bg: rgba(255,90,80,.2); --bad-rim: rgba(255,106,77,.5); --over: #ff5a50;
  --c-other: #e9e5ff; --glow: 1; --thumb: rgba(255,255,255,.2); --seg-ink: #fff; --toast: #fff; --toast-ink: #1a1440;
  --a1: #5b3ff0; --a1o: .85; --a2: #ff5a4f; --a2o: .5; --a3: #7c6cff; --a3o: .55; --lavline: rgba(185,173,255,.6);
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #f1edff; --ink: #1a1440; --soft: rgba(26,20,64,.66); --faint: rgba(26,20,64,.4); --link: #5a45e0;
  --g1: rgba(255,255,255,.84); --g2: rgba(255,255,255,.5); --g3: rgba(255,255,255,.66);
  --rim-a: #fff; --rim-b: rgba(255,255,255,.5); --rim-c: rgba(255,255,255,.2); --rim-d: rgba(255,255,255,.95);
  --pshadow: 0 22px 40px -22px rgba(74,52,170,.5); --track: rgba(26,20,64,.09); --track2: rgba(26,20,64,.14);
  --tabbg: linear-gradient(140deg, rgba(255,255,255,.92), rgba(255,255,255,.76)); --tabshadow: 0 20px 40px -14px rgba(74,52,170,.55);
  --sheet: linear-gradient(165deg, rgba(255,255,255,.97), rgba(240,235,255,.97)); --navbg: rgba(241,237,255,.74);
  --good: #0c7d62; --good-bg: rgba(51,199,163,.2); --good-rim: rgba(30,170,135,.55); --bad: #d42c26; --bad-bg: rgba(228,53,47,.12); --bad-rim: rgba(228,53,47,.45); --over: #e4352f;
  --c-other: #9d8cff; --glow: .35; --thumb: #fff; --seg-ink: #1a1440; --toast: #1a1440; --toast-ink: #fff;
  --a1: #9f8cff; --a1o: .95; --a2: #ff9f8a; --a2o: .85; --a3: #8fe6cf; --a3o: .8; --lavline: rgba(90,69,224,.45);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; background: #07051a; overscroll-behavior: none; }
body { font: 600 16px/1.3 Manrope, system-ui, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; text-align: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:focus-visible, input:focus-visible { outline: 3px solid var(--lav); outline-offset: 3px; }
svg { display: block; } ul { list-style: none; }
h1, h2, .num { font-family: Sora, sans-serif; }
.num { font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.num small { font-size: .52em; letter-spacing: -0.02em; }
.soft { color: var(--soft); } .small { font-size: 13px; } .center { text-align: center; justify-content: center; }
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico.soft { width: 20px; height: 20px; stroke-width: 2.4; color: var(--faint); }
.goodt { color: var(--good); } .badt { color: var(--bad); }

/* ---------- device ---------- */
#device { position: relative; width: 100vw; height: 100vh; height: 100dvh; overflow: hidden; background: var(--bg); isolation: isolate; user-select: none; -webkit-user-select: none; }
html.framed { --sat: 54px; --sab: 14px; }
html.framed:not(.embed) body { display: grid; place-items: center; background: radial-gradient(80% 80% at 50% 30%, #2c1670, #07051a 70%); }
html.framed:not(.embed) #device { width: 390px; height: min(844px, calc(100dvh - 40px)); border-radius: 52px; box-shadow: 0 0 0 10px rgba(255,255,255,.07), 0 0 0 11.5px rgba(185,173,255,.45), 0 0 140px 20px rgba(124,108,255,.3), 60px 80px 160px -40px rgba(255,106,77,.25), 0 50px 90px -20px rgba(0,0,0,.8); }
.status { display: none; position: absolute; inset: 0 0 auto 0; height: 54px; z-index: 90; align-items: center; justify-content: space-between; padding: 6px 30px 0 38px; font: 600 16px/1 Manrope; pointer-events: none; }
html.framed .status { display: flex; }
.status .island { position: absolute; left: 50%; top: 11px; width: 118px; height: 34px; margin-left: -59px; border-radius: 20px; background: #000; }
.status .sys { display: flex; gap: 6px; align-items: center; } .status .sys svg { height: 12px; width: auto; }
.homeind { display: none; position: absolute; left: 50%; bottom: 8px; width: 136px; height: 5px; margin-left: -68px; border-radius: 3px; background: var(--ink); opacity: .9; z-index: 90; pointer-events: none; }
html.framed .homeind { display: block; }

/* ---------- aurora: three blurred lights that drift, and move to a new place for each screen ---------- */
#aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
#aurora > i { position: absolute; left: 0; top: 0; transition: transform 1.6s var(--out); will-change: transform; }
#aurora b { display: block; border-radius: 50%; filter: blur(56px); }
#aurora .a b { width: 380px; height: 380px; background: var(--a1); opacity: var(--a1o); animation: drift1 16s ease-in-out infinite alternate; }
#aurora .b b { width: 300px; height: 300px; background: var(--a2); opacity: var(--a2o); animation: drift2 19s ease-in-out infinite alternate; }
#aurora .c b { width: 340px; height: 340px; background: var(--a3); opacity: var(--a3o); animation: drift1 22s ease-in-out infinite alternate-reverse; }
#aurora .a { transform: translate(120px, -150px); } #aurora .b { transform: translate(-130px, 250px); } #aurora .c { transform: translate(150px, 560px); }
[data-aurora="categories"] #aurora .a { transform: translate(-150px, -120px); } [data-aurora="categories"] #aurora .b { transform: translate(40px, 130px); } [data-aurora="categories"] #aurora .c { transform: translate(-90px, 600px); }
[data-aurora="budgets"] #aurora .a { transform: translate(140px, -170px); } [data-aurora="budgets"] #aurora .b { transform: translate(-170px, 180px); } [data-aurora="budgets"] #aurora .c { transform: translate(190px, 520px); }
[data-aurora="insights"] #aurora .a { transform: translate(-40px, -200px); } [data-aurora="insights"] #aurora .b { transform: translate(210px, 300px); } [data-aurora="insights"] #aurora .c { transform: translate(-170px, 540px); }
[data-aurora="transactions"] #aurora .a, [data-aurora="subs"] #aurora .a { transform: translate(170px, -190px); } [data-aurora="transactions"] #aurora .b, [data-aurora="subs"] #aurora .b { transform: translate(-200px, 420px); } [data-aurora="transactions"] #aurora .c, [data-aurora="subs"] #aurora .c { transform: translate(120px, 640px); }
[data-aurora="tx"] #aurora .a, [data-aurora="goals"] #aurora .a { transform: translate(-120px, -160px); } [data-aurora="tx"] #aurora .b, [data-aurora="goals"] #aurora .b { transform: translate(60px, 30px); } [data-aurora="tx"] #aurora .c, [data-aurora="goals"] #aurora .c { transform: translate(100px, 600px); }
[data-aurora="cards"] #aurora .a, [data-aurora="profile"] #aurora .a { transform: translate(60px, -230px); } [data-aurora="cards"] #aurora .b, [data-aurora="profile"] #aurora .b { transform: translate(190px, 380px); } [data-aurora="cards"] #aurora .c, [data-aurora="profile"] #aurora .c { transform: translate(-190px, 420px); }
[data-aurora="onboard"] #aurora .a, [data-aurora="link"] #aurora .a { transform: translate(10px, -80px); } [data-aurora="onboard"] #aurora .b, [data-aurora="link"] #aurora .b { transform: translate(-150px, 430px); } [data-aurora="onboard"] #aurora .c, [data-aurora="link"] #aurora .c { transform: translate(190px, 470px); }
@keyframes drift1 { to { transform: translate(-70px, 60px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(90px, -50px) scale(.9); } }

/* ---------- screens ---------- */
#view { position: absolute; inset: 0; z-index: 1; }
.screen { position: absolute; inset: 0; will-change: transform; }
.scroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; padding: calc(var(--sat) + 10px) 20px 136px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-y;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 150px), transparent calc(100% - 84px)); mask-image: linear-gradient(#000 calc(100% - 150px), transparent calc(100% - 84px)); }
.scroll::-webkit-scrollbar, .chips::-webkit-scrollbar, .carousel::-webkit-scrollbar, .deck::-webkit-scrollbar, .pages::-webkit-scrollbar { display: none; }
.scroll.hasnav { padding-top: calc(var(--sat) + 66px); }
.s-tx .scroll, .s-link .scroll { padding-bottom: 48px; -webkit-mask-image: none; mask-image: none; }
#edge { position: absolute; left: 0; top: 0; bottom: 0; width: 22px; z-index: 30; touch-action: none; }

/* ---------- glass ---------- */
.glass { position: relative; border-radius: 28px; background: linear-gradient(140deg, var(--g1), var(--g2) 60%, var(--g3)); box-shadow: var(--pshadow); }
.glass::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; background: linear-gradient(140deg, var(--rim-a), var(--rim-b) 38%, var(--rim-c) 62%, var(--rim-d));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.tap { transition: scale .35s var(--spring); } .tap:active { scale: .97; transition-duration: .08s; }
.tile { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; color: #fff; flex: none; font: 700 18px Sora; background: linear-gradient(140deg, color-mix(in srgb, var(--c) 72%, #fff), var(--c)); box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--c) calc(var(--glow) * 100%), transparent), inset 0 1px 0 rgba(255,255,255,.55); }
.tile .ico { width: 22px; height: 22px; }
.tile.sm { width: 38px; height: 38px; border-radius: 13px; } .tile.sm .ico { width: 19px; height: 19px; }
.tile.xl { width: 76px; height: 76px; border-radius: 26px; } .tile.xl .ico { width: 36px; height: 36px; }
.tile.grey { background: var(--track2); box-shadow: none; color: var(--soft); }
html[data-theme="dark"] [style*="c-other"] .tile, html[data-theme="dark"] .tile[style*="c-other"] { color: #4a3fa0; }
.round { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.round .dot { position: absolute; top: 11px; right: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 10px var(--coral); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px 0 9px; border-radius: 16px; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.chip .ico { width: 16px; height: 16px; stroke-width: 2.6; }
.chip.good { color: var(--good); background: var(--good-bg); box-shadow: inset 0 0 0 1.5px var(--good-rim); }
.chip.bad { color: var(--bad); background: var(--bad-bg); box-shadow: inset 0 0 0 1.5px var(--bad-rim); }
.chip.plain { height: 38px; padding: 0 14px 0 11px; border-radius: 19px; color: var(--soft); }
.link { color: var(--link); font-size: 14px; font-weight: 700; padding: 6px 2px; }
.btn { height: 54px; padding: 0 26px; border-radius: 27px; font: 700 16px Sora; letter-spacing: -0.02em; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: scale .35s var(--spring), opacity .3s, filter .3s; white-space: nowrap; }
.btn:active { scale: .96; transition-duration: .08s; }
.btn.primary { color: #fff; background: linear-gradient(135deg, var(--coral-a), var(--coral-b)); box-shadow: 0 12px 26px -8px rgba(255,77,109,.8), inset 0 1.5px 0 rgba(255,255,255,.55); }
.btn.full { width: 100%; } .btn:disabled { opacity: .4; filter: saturate(.4); }
.btn.small { height: 38px; padding: 0 16px 0 11px; font-size: 14px; border-radius: 19px; gap: 5px; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 78%, #fff), var(--c)); box-shadow: 0 8px 16px -6px var(--c), inset 0 1px 0 rgba(255,255,255,.5); }
.btn.small .ico { width: 17px; height: 17px; stroke-width: 2.8; }
.btn.small.done { background: var(--good-bg); color: var(--good); box-shadow: inset 0 0 0 1.5px var(--good-rim); }
.fine { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; margin: 18px 4px 0; line-height: 1.4; } .fine .ico { width: 16px; height: 16px; }
.dots { display: flex; gap: 6px; align-items: center; } .dots i { width: 7px; height: 7px; border-radius: 4px; background: var(--faint); transition: width .35s var(--out), background .3s; } .dots i.on { width: 22px; background: var(--coral); }

.sec { display: flex; align-items: baseline; justify-content: space-between; margin: 22px 4px 10px; }
.sec h2 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.bhead { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.bhead h1 { font-size: 32px; font-weight: 700; letter-spacing: -0.04em; }
.nav { position: absolute; inset: 0 0 auto 0; z-index: 5; padding: calc(var(--sat) + 6px) 16px 8px; display: grid; grid-template-columns: 46px 1fr 46px; align-items: center; gap: 8px; }
.nav::before { content: ''; position: absolute; inset: 0 0 -20px; z-index: -1; background: linear-gradient(var(--navbg) 55%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); opacity: 0; transition: opacity .3s; pointer-events: none; }
.scrolled .nav::before { opacity: 1; }
.nav h1 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; text-align: center; white-space: nowrap; }
.nav .ico { stroke-width: 2.4; }

/* rows */
.row, .wide, .crow, .brow, .srow { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 13px; width: 100%; padding: 11px 16px 11px 11px; border-radius: 24px; margin-bottom: 9px; }
.rt { min-width: 0; display: block; } .rt b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt small { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.row .a { font-size: 17px; font-weight: 700; }
.wide { grid-template-columns: auto 1fr auto; padding-right: 12px; }
.bar { display: block; height: 10px; border-radius: 5px; margin-top: 8px; background: var(--track); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--c, var(--coral)); box-shadow: inset 0 2px 1px rgba(255,255,255,.45); transition: width 1.1s var(--out) .45s; }
.in .bar i { width: var(--w); } .bar.over i { background: var(--over); }

/* ---------- tab bar ---------- */
.tabs { position: absolute; left: 16px; right: 16px; bottom: max(16px, calc(var(--sab) + 6px)); height: 68px; border-radius: 34px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; justify-items: center; z-index: 20; background: var(--tabbg); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%); box-shadow: var(--tabshadow); transition: transform .5s var(--out), opacity .3s; }
html.framed .tabs { bottom: 26px; }
.tabs.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }
.tabs button { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 24px; display: grid; place-items: center; color: var(--soft); transition: color .3s, scale .35s var(--spring); }
.tabs button:active { scale: .88; }
.tabs button.on { color: var(--ink); }
.tabs .ind { position: absolute; left: 0; top: 10px; width: 48px; height: 48px; border-radius: 24px; background: var(--thumb); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 14px -6px rgba(20,10,70,.5); transition: transform .55s var(--spring); }
.tabs .fab { width: 54px; height: 54px; border-radius: 27px; color: #fff; background: linear-gradient(135deg, var(--coral-a), var(--coral-b)); box-shadow: 0 10px 24px -6px rgba(255,77,109,.8), inset 0 1.5px 0 rgba(255,255,255,.55); }
.tabs .fab .ico { stroke-width: 2.6; transition: rotate .5s var(--spring); } .tabs .fab:active .ico { rotate: 90deg; }

/* ---------- controls ---------- */
.segc { position: relative; display: inline-flex; padding: 0; height: 44px; border-radius: 22px; }
.segc button { position: relative; z-index: 1; height: 44px; padding: 0 17px; border-radius: 22px; font-size: 14px; font-weight: 700; color: var(--soft); display: inline-flex; gap: 6px; align-items: center; justify-content: center; transition: color .25s; }
.segc button .ico { width: 17px; height: 17px; }
.segc button.on { color: var(--seg-ink); }
.segc .thumb { position: absolute; left: 0; top: 4px; bottom: 4px; border-radius: 18px; background: var(--thumb); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 6px 14px -6px rgba(40,20,120,.5); transition: transform .45s var(--spring), width .3s; }
.segc.wide3 { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; background: var(--track); }
.switch { position: relative; width: 48px; height: 30px; border-radius: 15px; background: var(--track2); transition: background .3s; flex: none; }
.switch i { position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 12px; background: #fff; box-shadow: 0 2px 6px rgba(10,5,40,.35); transition: transform .4s var(--spring); }
.switch.on { background: linear-gradient(135deg, var(--coral-a), var(--coral-b)); } .switch.on i { transform: translateX(18px); }

/* ---------- charts ---------- */
.donut { transform: rotate(-90deg); overflow: visible; }
.track { stroke: var(--track); }
.seg { stroke-dasharray: 0 calc(var(--c) * 1px); opacity: 0; filter: drop-shadow(0 0 calc(var(--glow) * 6px) currentColor); transition: stroke-dasharray 1.2s var(--out) calc(var(--i) * 110ms + .4s), opacity .25s calc(var(--i) * 110ms + .4s); }
.screen.in .seg { stroke-dasharray: calc(var(--len) * 1px) calc(var(--c) * 1px); opacity: 1; }
.seg-food { color: var(--c-food); } .seg-home { color: var(--c-home); } .seg-transport { color: var(--c-transport); } .seg-out { color: var(--c-out); } .seg-other { color: var(--c-other); }
.pring .arc { transform: rotate(-90deg); transform-origin: center; stroke-dasharray: 0 calc(var(--c) * 1px); transition: stroke-dasharray 1.1s var(--out) .4s; }
.in .pring .arc { stroke-dasharray: calc(var(--len) * 1px) calc(var(--c) * 1px); }

/* ---------- 3. dashboard ---------- */
.top { display: flex; align-items: center; gap: 12px; height: 48px; }
.top .who { flex: 1; line-height: 1.15; } .top .who small { display: block; font-size: 13px; } .top .who b { font: 700 18px Sora; letter-spacing: -0.02em; }
.ava { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; font: 700 17px Sora; color: #fff; background: linear-gradient(135deg, var(--coral-a), var(--coral-b)); box-shadow: 0 8px 20px -6px rgba(255,77,109,.7), inset 0 1px 0 rgba(255,255,255,.5); }
.ava.xl { width: 76px; height: 76px; font-size: 30px; }
.hero { margin-top: 20px; } .hero .lbl, .left .lbl, .subhero .lbl { font-size: 15px; }
.hero .amt, .subhero .amt { font-size: 58px; font-weight: 700; line-height: 1.05; letter-spacing: -0.045em; margin-top: 4px; }
.hero .chip { margin-top: 10px; }
.ringcard { display: flex; align-items: center; gap: 16px; width: 100%; margin-top: 20px; padding: 20px 18px 20px 16px; border-radius: 32px; }
.ring { position: relative; flex: none; } .ringcard .ring { width: 164px; height: 164px; }
.ring .mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.ring .mid b { font-size: 36px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; } .ring .mid span { font-size: 13px; margin-top: 3px; }
.legend { flex: 1; display: grid; gap: 9px; min-width: 0; }
.legend li { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 9px; font-size: 14.5px; white-space: nowrap; }
.legend i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 calc(var(--glow) * 12px) var(--c); }
.legend b { font-size: 14.5px; font-weight: 700; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.mini { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px 15px; border-radius: 26px; min-width: 0; }
.mini small { font-size: 13px; white-space: nowrap; } .mini .big { font-size: 25px; font-weight: 700; letter-spacing: -0.04em; } .mini .big2 { font: 700 18px/1.25 Sora; letter-spacing: -0.03em; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini .bar { margin: 5px 0 6px; } .mini .when { display: flex; gap: 6px; align-items: center; font-size: 13.5px; font-weight: 700; color: var(--bad); margin: 3px 0 4px; } .mini .when .ico { width: 16px; height: 16px; }
.gring { position: relative; width: 64px; height: 64px; flex: none; } .gring > b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; font-weight: 700; }

/* ---------- 4. categories ---------- */
.bigring { position: relative; width: 272px; height: 272px; margin: 22px auto 0; touch-action: none; cursor: grab; }
.bigring .spin { width: 100%; height: 100%; transition: transform .8s var(--spring); }
.bigring .seg { pointer-events: stroke; cursor: pointer; transition: stroke-dasharray 1.2s var(--out) calc(var(--i) * 110ms + .4s), opacity .35s; }
.screen.in .bigring .seg.dim { opacity: .42; filter: none; }
.bigring .notch { position: absolute; left: 50%; top: -15px; width: 12px; height: 12px; margin-left: -6px; border-radius: 6px; background: var(--ink); box-shadow: 0 0 12px var(--ink); }
.bigring .mid { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; pointer-events: none; }
.bigring .mid .tile { width: 42px; height: 42px; border-radius: 15px; margin-bottom: 8px; }
.bigring .mid .val { font-size: 34px; font-weight: 700; letter-spacing: -0.045em; line-height: 1.1; }
.bigring .mid small { font-size: 13px; }
.mid.swap > * { animation: pop .5s var(--spring) backwards; } .mid.swap > :nth-child(2) { animation-delay: 40ms; } .mid.swap > :nth-child(3) { animation-delay: 80ms; } .mid.swap > :nth-child(4) { animation-delay: 120ms; }
.hint { display: flex; gap: 7px; align-items: center; justify-content: center; font-size: 13px; margin: 14px 0 16px; } .hint .ico { width: 16px; height: 16px; }
.crow .cr { text-align: right; } .crow .cr b { display: block; font-size: 16px; font-weight: 700; } .crow .cr small { display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; font-weight: 700; } .crow .cr .ico { width: 13px; height: 13px; stroke-width: 3; }
.crow .bar { height: 6px; margin-top: 7px; }
.crow { transition: scale .35s var(--spring), box-shadow .3s; } .crow.sel { box-shadow: var(--pshadow), inset 0 0 0 2.5px var(--c); }

/* ---------- 5. transactions ---------- */
.search { display: flex; gap: 10px; align-items: center; height: 52px; padding: 0 18px; border-radius: 26px; }
.search .ico { width: 20px; height: 20px; color: var(--soft); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font: 600 16px Manrope; color: var(--ink); -webkit-appearance: none; appearance: none; user-select: text; -webkit-user-select: text; }
.search input::placeholder { color: var(--faint); } .search input::-webkit-search-cancel-button { display: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 12px -20px 0; padding: 2px 20px 10px; scrollbar-width: none; }
.fchip { flex: none; height: 40px; padding: 0 15px; border-radius: 20px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; transition: background .25s, color .25s, scale .3s var(--spring); }
.fchip i { width: 10px; height: 10px; border-radius: 5px; background: var(--c); }
.fchip.on { background: var(--ink); color: var(--bg); box-shadow: none; } .fchip.on::before { display: none; } .fchip:active { scale: .94; }
.tally, .day { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 6px 9px; }
.tally { margin-top: 6px; font-size: 14px; } .tally b { font-size: 16px; } .day b { font: 700 15px Sora; letter-spacing: -0.02em; } .day span { font-size: 13.5px; font-weight: 700; }
.txlist.swap > * { animation: fadeup .4s var(--out) backwards; }
.empty { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 50px 20px; } .empty b { font: 700 18px Sora; margin-top: 8px; }

/* ---------- 6. transaction detail ---------- */
.txhero { text-align: center; padding-top: 4px; } .txhero .tile { margin: 0 auto; }
.txhero h1 { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; margin-top: 14px; } .txhero .at { font-size: 15px; margin-top: 2px; }
.txhero .amt { font-size: 58px; font-weight: 700; letter-spacing: -0.05em; line-height: 1.05; margin-top: 10px; }
.catchip { height: 40px; margin-top: 14px; padding: 0 10px 0 14px; border-radius: 20px; gap: 8px; background: color-mix(in srgb, var(--c) 22%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 60%, transparent); }
.catchip i { width: 10px; height: 10px; border-radius: 5px; background: var(--c); }
.info { margin-top: 22px; padding: 8px 18px; border-radius: 28px; }
.info > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 46px; font-size: 15px; } .info span { display: flex; gap: 10px; align-items: center; } .info .ico { width: 18px; height: 18px; } .info b { font-weight: 700; text-align: right; }
.place { margin-top: 10px; padding: 18px; border-radius: 28px; } .place h2 { font-size: 17px; letter-spacing: -0.02em; }
.pstats { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; margin-top: 12px; } .pstats b { display: block; font-size: 21px; font-weight: 700; } .pstats small { font-size: 12.5px; }
.vbars { display: flex; gap: 3px; align-items: flex-end; height: 62px; margin-top: 14px; }
.vbars i { flex: 1; height: var(--h); border-radius: 4px; background: var(--c); opacity: .5; transform-origin: bottom; transform: scaleY(0); transition: transform .7s var(--spring) calc(var(--i) * 22ms + .45s); }
.in .vbars i { transform: none; } .vbars i.nil { background: var(--track2); opacity: 1; } .vbars i.cur { opacity: 1; box-shadow: 0 0 12px var(--c); }
.vaxis { display: flex; justify-content: space-between; font-size: 12px; margin-top: 6px; }
.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.act { height: 78px; border-radius: 24px; display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; font-size: 13.5px; font-weight: 700; } .act.on { color: var(--coral); box-shadow: var(--pshadow), inset 0 0 0 2px var(--coral); }

/* ---------- 7. budgets ---------- */
.left { margin-top: 16px; padding: 20px 20px 18px; border-radius: 32px; }
.left .amt { font-size: 50px; font-weight: 700; line-height: 1.05; letter-spacing: -0.045em; margin-top: 2px; }
.tube { position: relative; height: 22px; border-radius: 11px; margin-top: 16px; background: var(--track); box-shadow: inset 0 2px 4px rgba(26,20,64,.18); }
.tube i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--coral-a), var(--coral-b)); box-shadow: inset 0 3px 3px rgba(255,255,255,.5), 0 0 16px rgba(255,90,90,.6); transition: width 1.3s var(--out) .35s; }
.in .tube i { width: var(--w); } .tube.over i { background: var(--over); }
.tube em { position: absolute; top: -5px; bottom: -5px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); opacity: .85; }
.facts { display: flex; justify-content: space-between; gap: 10px; margin-top: 13px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.brow { grid-template-columns: 44px 1fr; padding: 13px 16px 13px 12px; border-radius: 26px; } .brow .tile { width: 44px; height: 44px; border-radius: 15px; }
.l1 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; } .brow .l1 b { font-size: 15.5px; font-weight: 700; } .brow .l1 span { font-size: 13.5px; font-weight: 700; white-space: nowrap; } .l1 em { font-style: normal; font-weight: 600; opacity: .6; }
.brow.over .l1 span { color: var(--bad); }

/* ---------- 8. insights ---------- */
.pacecard, .weekcard { padding: 18px 18px 16px; border-radius: 32px; margin-top: 16px; } .weekcard { margin-top: 10px; }
.pacecard .l1, .weekcard .l1 { align-items: flex-start; } .pacecard small, .weekcard small { font-size: 13.5px; }
.pacecard .big, .weekcard .big { display: block; font-size: 34px; font-weight: 700; letter-spacing: -0.045em; line-height: 1.15; }
.linechart { position: relative; height: 150px; margin-top: 12px; } .linechart svg { width: 100%; height: 100%; overflow: visible; }
.linechart path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.budgetline { stroke: var(--faint); stroke-width: 1.5; stroke-dasharray: 2 7; }
.octline { stroke: var(--lavline); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s var(--out) .3s; }
.novline { stroke: var(--coral); stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 calc(var(--glow) * 7px) rgba(255,106,77,.8)); transition: stroke-dashoffset 1.6s cubic-bezier(.5,0,.2,1) .5s; }
.in .octline, .in .novline { stroke-dashoffset: 0; }
.linechart .area { fill: url(#lg); opacity: 0; transition: opacity .8s 1.5s; } .in .linechart .area { opacity: 1; }
.fore { stroke: var(--coral); stroke-width: 3; stroke-dasharray: .1 8; opacity: 0; transition: opacity .5s 1.9s; } .in .fore { opacity: 1; }
.linechart .now { fill: #fff; stroke: var(--coral); stroke-width: 4; opacity: 0; transition: opacity .3s 1.9s; } .in .linechart .now { opacity: 1; }
.linechart .halo { fill: var(--coral); transform-box: fill-box; transform-origin: center; opacity: 0; } .in .linechart .halo { animation: halo 2s ease-out 2.2s infinite; }
.tagb { position: absolute; right: 0; transform: translateY(-135%); font-size: 11.5px; font-weight: 700; color: var(--faint); }
.lkey { display: flex; gap: 16px; margin-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--soft); } .lkey i { display: inline-block; width: 14px; height: 4px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.k1 { background: var(--coral); } .k2 { background: var(--lavline); } .k3 { background: repeating-linear-gradient(90deg, var(--coral) 0 3px, transparent 3px 6px); }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 132px; margin-top: 14px; }
.bcol { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.bcol span { flex: 1; display: flex; align-items: flex-end; border-radius: 13px; background: var(--track); overflow: hidden; }
.bcol span i { width: 100%; height: var(--h); border-radius: 13px; background: linear-gradient(180deg, #a79bff, #6a58ff); transform-origin: bottom; transform: scaleY(0); transition: transform .9s var(--spring) calc(var(--i) * 70ms + .4s), background .3s; }
.in .bcol span i { transform: none; } .bcol.on span i { background: linear-gradient(180deg, var(--coral-a), var(--coral-b)); }
.bcol small { text-align: center; font-size: 12px; font-weight: 700; color: var(--soft); } .bcol.on small { color: var(--ink); }
.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px 26px; scrollbar-width: none; touch-action: pan-x pan-y; }
.icard { flex: 0 0 86%; scroll-snap-align: center; padding: 18px; border-radius: 30px; min-height: 196px; }
.icard > b { display: block; font: 700 19px/1.2 Sora; letter-spacing: -0.03em; margin-top: 12px; } .icard p { font-size: 14.5px; line-height: 1.45; margin-top: 6px; }
.wbars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; height: 54px; margin-top: 12px; }
.wbars span { display: grid; grid-template-rows: 1fr auto; gap: 4px; justify-items: center; } .wbars i { align-self: end; width: 100%; height: var(--h); border-radius: 6px; background: var(--track2); } .wbars .hi i { background: var(--c); box-shadow: 0 0 calc(var(--glow) * 12px) var(--c); }
.wbars small { font-size: 11px; font-weight: 700; color: var(--soft); }
.insights-gap { margin-top: -16px; }
.places { padding: 8px 18px 10px; border-radius: 30px; } .prow { padding: 10px 0; } .prow .l1 { font-weight: 700; } .prow .l1 b { font-size: 15.5px; } .prow .l1 span { font-size: 15px; font-weight: 700; } .prow .bar { margin: 7px 0 5px; height: 8px; } .prow small { font-size: 12.5px; }
.s-insights .sec { margin-top: 18px; } .s-insights .carousel + .sec { margin-top: -4px; }

/* ---------- 9. subscriptions ---------- */
.subhero { margin: 2px 4px 0; } .subhero .per { font-size: 15px; margin-top: 2px; }
.stripcard { padding: 16px 12px 12px; border-radius: 30px; margin-top: 18px; } .stripcard h2 { font-size: 16px; margin-left: 6px; }
.strip { display: grid; grid-template-columns: repeat(14, 1fr); gap: 1px; margin-top: 10px; }
.sday { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 0 7px; border-radius: 11px; } .sday small { font-size: 10px; font-weight: 700; color: var(--soft); } .sday b { font-size: 12.5px; font-weight: 700; }
.sday i { width: 6px; height: 6px; border-radius: 3px; } .sday.has { background: color-mix(in srgb, var(--c) 30%, transparent); } .sday.has i { background: var(--c); box-shadow: 0 0 8px var(--c); }
.srow { align-items: center; } .srow .cr { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; } .srow .cr b { font-size: 16px; font-weight: 700; }
.srow small.badt { display: flex; align-items: center; gap: 3px; font-weight: 700; } .srow small .ico { width: 13px; height: 13px; stroke-width: 3; }

/* ---------- 10. goals ---------- */
.goal { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; align-items: center; padding: 16px 16px 16px 14px; border-radius: 30px; margin-top: 10px; }
.goal .gring.big { width: 96px; height: 96px; grid-row: 1 / span 2; } .goal .gi { position: absolute; inset: 0; display: grid; place-items: center; color: var(--c); } .goal .gi .ico { width: 30px; height: 30px; }
.gbody .gn { font: 700 18px Sora; letter-spacing: -0.03em; } .gv { margin-top: 1px; font-size: 14.5px; } .gv b { font-size: 23px; font-weight: 700; } .gbody small { display: block; font-size: 13px; margin-top: 2px; }
.goal .btn { justify-self: start; margin-top: 10px; }
.goal.bump { animation: bump .5s var(--spring); }
.tip { display: grid; grid-template-columns: 46px 1fr; gap: 13px; padding: 14px 16px 14px 12px; border-radius: 26px; margin-top: 10px; font-size: 14.5px; line-height: 1.45; align-items: center; }
.s-goals .subhero { margin-bottom: 18px; }

/* ---------- 11. cards ---------- */
.deck { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 16px calc(50% - 145px) 26px; scrollbar-width: none; touch-action: pan-x pan-y; }
.bcard { position: relative; flex: none; width: 290px; height: 182px; border-radius: 28px; padding: 18px 20px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; scroll-snap-align: center; overflow: hidden; will-change: transform; box-shadow: 0 28px 40px -18px var(--sh), inset 0 1.5px 0 rgba(255,255,255,.6), inset 0 -2px 3px rgba(0,0,0,.2); }
.bcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(112deg, rgba(255,255,255,.4) 0%, rgba(255,255,255,.06) 34%, rgba(255,255,255,0) 35%, rgba(255,255,255,0) 68%, rgba(255,255,255,.14) 100%); pointer-events: none; }
.bcard.coral { background: linear-gradient(135deg, #ff9a66, #ff5d62 52%, #f03a72); --sh: rgba(255,62,104,.7); } .bcard.violet { background: linear-gradient(135deg, #a595ff, #6a58ff 52%, #4530d8); --sh: rgba(90,60,240,.7); } .bcard.green { background: linear-gradient(135deg, #6fe8c9, #26b896 52%, #108a78); --sh: rgba(20,150,125,.7); }
.bcard .r1, .bcard .r2, .bcard .r3 { display: flex; justify-content: space-between; align-items: center; } .bcard .r1 b { font: 700 17px Sora; letter-spacing: -0.02em; }
.logo { display: flex; gap: 8px; align-items: center; } .logo i { width: 30px; height: 30px; border-radius: 10px; background: #fff; color: #ff4d6d; display: grid; place-items: center; } .logo .ico { width: 18px; height: 18px; stroke-width: 2.8; }
.bcard.violet .logo i { color: #5a45e0; } .bcard.green .logo i { color: #108a78; }
.chipg { width: 40px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, #ffe9b0, #e0a93a); box-shadow: inset 0 0 0 1.5px rgba(120,70,0,.25), inset 12px 0 0 -11px rgba(120,70,0,.3), inset -12px 0 0 -11px rgba(120,70,0,.3); }
.bcard .r2 span.num { font-size: 16px; font-weight: 600; letter-spacing: .08em; } .bcard .r3 { align-items: flex-end; } .bcard .r3 small { font-size: 13.5px; opacity: .9; } .bcard .r3 b { font-size: 27px; font-weight: 700; letter-spacing: -0.04em; }
.ddots { justify-content: center; margin: -10px 0 6px; }
.cdetail.swap > * { animation: fadeup .45s var(--out) backwards; } .cdetail.swap > :nth-child(2) { animation-delay: 50ms; } .cdetail.swap > :nth-child(n+3) { animation-delay: 100ms; }
.cdetail .duo { margin-top: 12px; } .cdetail .wide { margin-top: 10px; }

/* ---------- 12. profile ---------- */
.phead { display: flex; gap: 16px; align-items: center; margin: 4px 0 18px; } .phead h1 { font-size: 25px; font-weight: 700; letter-spacing: -0.03em; } .phead small { font-size: 14px; }
.setcard { padding: 16px 16px 8px; border-radius: 28px; margin-bottom: 9px; } .setcard h2 { font-size: 15px; letter-spacing: -0.02em; margin: 0 2px 8px; color: var(--soft); font-weight: 600; font-family: Manrope; }
.setcard .segc { margin-bottom: 8px; }
.setrow { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; width: 100%; padding: 8px 0; } .setrow .rt b { font-size: 15.5px; }

/* ---------- 1. onboarding ---------- */
.s-onboard { display: flex; flex-direction: column; }
.skip { position: absolute; top: calc(var(--sat) + 6px); right: 22px; z-index: 3; font-size: 15px; padding: 10px 6px; }
.pages { flex: 1; min-height: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; touch-action: pan-x; }
.page { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; padding: calc(var(--sat) + 50px) 28px 0; display: flex; flex-direction: column; justify-content: flex-end; }
.page h1 { font-size: clamp(29px, 9vw, 35px); font-weight: 700; line-height: 1.08; letter-spacing: -0.045em; margin-top: 22px; text-wrap: balance; }
.page p { font-size: 16.5px; line-height: 1.5; font-weight: 500; margin-top: 12px; max-width: 31ch; }
.page h1, .page p { transition: opacity .6s, translate .7s var(--out); } .page p { transition-delay: .08s; } .page:not(.on) h1, .page:not(.on) p { opacity: 0; translate: 0 24px; }
.art { position: relative; width: 320px; height: 330px; margin: auto; flex: none; zoom: var(--artz, 1); }
.code { position: absolute; display: flex; gap: 10px; align-items: center; padding: 8px 14px 8px 8px; border-radius: 20px; font-size: 12.5px; font-weight: 700; white-space: nowrap; rotate: var(--r); animation: floaty 5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -1.3s); transition: opacity .6s calc(var(--i) * 90ms), translate .8s var(--spring) calc(var(--i) * 90ms); }
.code .tile { width: 34px; height: 34px; border-radius: 12px; font-size: 16px; } .code b { letter-spacing: .04em; font-weight: 700; color: var(--soft); } .code .num { font-size: 14px; font-weight: 700; }
.page:not(.on) .code { opacity: 0; translate: calc((var(--i) - 2) * 40px) 60px; }
.pcard { border-radius: 26px; padding: 16px 18px; color: #fff; background: linear-gradient(135deg, #ff9a66, #ff5d62 52%, #f03a72); box-shadow: 0 30px 44px -16px rgba(255,62,104,.6), inset 0 1.5px 0 rgba(255,255,255,.6); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.pcard .r1 { display: flex; justify-content: space-between; align-items: center; font: 700 16px Sora; letter-spacing: -0.01em; } .pcard .r1 > span:last-child { font: 600 14px Manrope; letter-spacing: .08em; }
.pcard .r2 { text-align: left; } .pcard .r2 small { display: block; opacity: .9; font-size: 13px; } .pcard .r2 b { font: 700 20px Sora; letter-spacing: -0.03em; }
.beam { position: absolute; top: -10%; bottom: -10%; left: -90px; width: 80px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent); filter: blur(5px); animation: beam 2.1s ease-in-out infinite; }
.a2 .pcard { position: absolute; left: 34px; top: 4px; width: 252px; height: 148px; rotate: -5deg; transition: opacity .6s, translate .9s var(--spring), rotate .9s var(--spring); }
.page:not(.on) .a2 .pcard { opacity: 0; translate: 0 -40px; rotate: 8deg; }
.sorted { position: absolute; left: 14px; right: 14px; top: calc(170px + var(--i) * 41px); height: 36px; display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 0 14px 0 6px; border-radius: 18px; font-size: 14px; transition: opacity .5s calc(var(--i) * 140ms + .5s), translate .8s var(--spring) calc(var(--i) * 140ms + .5s); }
.sorted .tile { width: 26px; height: 26px; border-radius: 9px; } .sorted .tile .ico { width: 15px; height: 15px; } .sorted .num { font-weight: 700; }
.page:not(.on) .sorted { opacity: 0; translate: 0 -46px; }
.a3 .ring { width: 236px; height: 236px; margin: 14px auto 0; transition: scale .9s var(--spring), opacity .5s; } .page:not(.on) .a3 .ring { scale: .7; opacity: 0; }
.a3 .ring .mid b { font-size: 50px; } .a3 .ring .mid span { font-size: 15px; }
.s-onboard .page:not(.on) .seg { stroke-dasharray: 0 calc(var(--c) * 1px); opacity: 0; transition: none; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; }
.tag { display: inline-flex; gap: 8px; align-items: center; height: 38px; padding: 0 14px; border-radius: 19px; font-size: 14px; font-weight: 700; transition: opacity .4s calc(var(--i) * 90ms + .7s), scale .6s var(--spring) calc(var(--i) * 90ms + .7s); }
.tag i { width: 10px; height: 10px; border-radius: 5px; background: var(--c); box-shadow: 0 0 calc(var(--glow) * 10px) var(--c); }
.page:not(.on) .tag { opacity: 0; scale: .6; }
.obfoot { display: flex; align-items: center; justify-content: space-between; padding: 22px 28px calc(var(--sab) + 26px); } .obfoot .btn { min-width: 158px; }

/* ---------- 2. link a card ---------- */
.big { font-size: 35px; font-weight: 700; line-height: 1.08; letter-spacing: -0.045em; }
.lead { font-size: 16px; line-height: 1.5; font-weight: 500; margin: 10px 0 20px; }
.lstep { transition: opacity .3s, transform .3s; } .lstep.out { opacity: 0; transform: translateX(-30px); }
.read { text-align: center; opacity: 0; } .read.go { opacity: 1; transition: opacity .5s; }
.readcard { height: 196px; display: grid; place-items: center; perspective: 800px; }
.readcard .pcard { position: relative; width: 280px; height: 164px; transform: rotateX(16deg) rotateZ(-3deg); }
.read.go .pcard { animation: cardin .9s var(--spring) backwards; }
.steps { text-align: left; margin: 24px auto 0; display: grid; gap: 13px; width: fit-content; }
.steps li { display: flex; gap: 12px; align-items: center; font-size: 16px; opacity: .38; transition: opacity .4s; }
.steps li i { width: 28px; height: 28px; border-radius: 14px; display: grid; place-items: center; background: var(--track2); color: transparent; transition: background .4s, color .2s, scale .5s var(--spring); scale: .8; } .steps li i .ico { width: 16px; height: 16px; stroke-width: 3.2; }
.steps li.ok { opacity: 1; } .steps li.ok i { background: var(--green); color: #fff; scale: 1; }
.sortchips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 24px 0 28px; }
.sortchips .tag { opacity: 0; scale: .5; transition: opacity .3s calc(var(--i) * 90ms), scale .6s var(--spring) calc(var(--i) * 90ms); } .read.filed .tag { opacity: 1; scale: 1; }
.read.done .beam { animation: none; opacity: 0; }

/* ---------- sheets, toast ---------- */
.sheetwrap { position: absolute; inset: 0; z-index: 60; }
.scrim { position: absolute; inset: 0; background: rgba(6,3,22,.55); opacity: 0; transition: opacity .4s; } .open .scrim { opacity: 1; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 90%; overflow-y: auto; border-radius: 38px 38px 0 0; padding: 30px 20px calc(var(--sab) + 24px); background: var(--sheet); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%); box-shadow: 0 -24px 60px rgba(4,1,20,.45), inset 0 1.5px 0 var(--rim-d); transform: translateY(105%); transition: transform .55s cubic-bezier(.2,1.08,.3,1); touch-action: none; scrollbar-width: none; }
.open .sheet { transform: none; } .closing .sheet { transition: transform .4s cubic-bezier(.5,0,.8,.4); }
.grab { position: absolute; top: 10px; left: 50%; width: 42px; height: 5px; margin-left: -21px; border-radius: 3px; background: var(--faint); }
.sheet h2 { font-size: 23px; font-weight: 700; letter-spacing: -0.035em; margin: 0 4px 14px; }
.catgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .cpick { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 22px; font-size: 14.5px; line-height: 1.2; } .cpick b { font-weight: 700; } .cpick.on { box-shadow: var(--pshadow), inset 0 0 0 2.5px var(--c); }
.stepper { display: flex; justify-content: center; align-items: center; gap: 30px; margin: 10px 0 18px; text-align: center; } .stepper b { display: block; font-size: 48px; font-weight: 700; line-height: 1; } .stepper .round { font: 700 24px Sora; }
.sres { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-radius: 22px; margin-bottom: 14px; } .sres b { font-size: 22px; font-weight: 700; }
.ebhead { display: flex; gap: 14px; align-items: center; } .ebhead h2 { margin: 0; } .ebhead small { font-size: 13.5px; }
.ebval { text-align: center; margin: 20px 0 8px; } .ebval b { display: block; font-size: 60px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; } .ebval small { font-size: 14px; }
.ebnote { text-align: center; min-height: 22px; margin: 8px 0 20px; font-size: 14.5px; } .ebnote b { color: var(--ink); }
.slider { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 36px; background: transparent; cursor: pointer; }
.slider::-webkit-slider-runnable-track { height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--c) var(--p), var(--track2) var(--p)); }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -10px; border-radius: 17px; background: #fff; border: 8px solid var(--c); box-shadow: 0 6px 14px rgba(10,5,40,.4); }
.slider::-moz-range-track { height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--c) var(--p), var(--track2) var(--p)); }
.slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 17px; background: #fff; border: 8px solid var(--c); box-shadow: 0 6px 14px rgba(10,5,40,.4); }
.addamt { text-align: center; margin: -4px 0 10px; } .addamt b { display: inline-block; font-size: 60px; font-weight: 700; letter-spacing: -0.05em; line-height: 1.1; color: var(--faint); } .addamt b.has { color: var(--ink); } .addamt b.tick { animation: tick .25s var(--spring); }
.addcats { flex-wrap: wrap; justify-content: center; overflow: visible; margin: 0 0 8px; padding: 0; }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 14px; } .key { height: 52px; border-radius: 20px; font: 700 22px Sora; display: grid; place-items: center; transition: scale .3s var(--spring); } .key:active { scale: .92; transition-duration: .05s; }
.sheet .row { margin-bottom: 9px; }
.toast { position: absolute; left: 50%; top: calc(var(--sat) + 8px); z-index: 95; display: flex; gap: 10px; align-items: center; max-width: 90%; padding: 9px 18px 9px 9px; border-radius: 26px; font-size: 14px; font-weight: 700; white-space: nowrap; background: var(--toast); color: var(--toast-ink); box-shadow: 0 18px 34px -10px rgba(4,1,20,.6); transform: translate(-50%, -160%); opacity: 0; transition: transform .55s var(--spring), opacity .3s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast i { width: 28px; height: 28px; border-radius: 14px; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; } .toast .ico { width: 16px; height: 16px; stroke-width: 3.2; } .toast span { overflow: hidden; text-overflow: ellipsis; }

/* ---------- motion ---------- */
.screen:not(.in) .rise { opacity: 0; }
.screen.in .rise { animation: rise .8s var(--out) backwards; animation-delay: calc(var(--d, 0) * 60ms); }
.screen.norise .rise { opacity: 1; animation: none; }
@keyframes rise { from { opacity: 0; transform: translateY(26px) scale(.97); filter: blur(8px); } }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } }
@keyframes pop { from { opacity: 0; scale: .7; } }
@keyframes bump { 40% { scale: 1.03; } }
@keyframes tick { from { scale: 1.08; } }
@keyframes halo { from { transform: scale(.6); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
@keyframes floaty { to { transform: translateY(-10px); } }
@keyframes beam { 0% { left: -90px; } 60%, 100% { left: 110%; } }
@keyframes cardin { from { opacity: 0; transform: translateY(60px) rotateX(50deg) rotateZ(-14deg); } }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 2; } ::view-transition-old(root) { z-index: 1; }
html.still *, html.still *::before, html.still *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition-duration: 0s !important; transition-delay: 0s !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01s !important; transition-delay: 0s !important; } }

/* ---------- month recap: six aurora cards, one big number each; the last one prints a receipt ---------- */
.s-recap { background: #120c2b; color: #fff; --soft: rgba(230,224,255,.8); --ink: #fff; --g1: rgba(255,255,255,.17); --g2: rgba(255,255,255,.055); --g3: rgba(255,255,255,.09); --rim-a: rgba(255,255,255,.75); --rim-b: rgba(255,255,255,.08); --rim-c: rgba(255,255,255,.03); --rim-d: rgba(255,255,255,.3); --pshadow: 0 24px 44px -22px rgba(6,2,26,.9); --good: #7df0d0; --c-other: #e9e5ff; }
.rc { position: absolute; inset: 0; overflow: hidden; touch-action: manipulation; }
.rc-aur { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.rc-aur i { position: absolute; border-radius: 50%; filter: blur(58px); transition: transform 1.4s var(--out), background .9s, opacity .9s; }
.rc-aur i:nth-child(1) { width: 400px; height: 400px; left: -140px; top: -120px; background: #5b3ff0; opacity: .95; }
.rc-aur i:nth-child(2) { width: 340px; height: 340px; right: -170px; bottom: -40px; background: #ff5a4f; opacity: .62; }
.rc-aur i:nth-child(3) { width: 300px; height: 300px; left: -60px; bottom: -180px; background: #7c6cff; opacity: .5; }
.rc[data-card="1"] .rc-aur i:nth-child(1) { transform: translate(150px, 60px); } .rc[data-card="1"] .rc-aur i:nth-child(2) { transform: translate(-170px, -330px); background: #ff6a4d; opacity: .75; }
.rc[data-card="2"] .rc-aur i:nth-child(1) { transform: translate(40px, 300px); } .rc[data-card="2"] .rc-aur i:nth-child(2) { transform: translate(-40px, -420px); background: #ffb020; opacity: .5; }
.rc[data-card="3"] .rc-aur i:nth-child(1) { transform: translate(200px, 380px); } .rc[data-card="3"] .rc-aur i:nth-child(2) { transform: translate(-260px, -260px); background: #ff4d6d; opacity: .7; }
.rc[data-card="4"] .rc-aur i:nth-child(1) { transform: translate(120px, -40px); background: #7c6cff; } .rc[data-card="4"] .rc-aur i:nth-child(2) { transform: translate(-220px, -120px); background: #33c7a3; opacity: .4; }
.rc[data-card="5"] .rc-aur i:nth-child(1) { transform: translate(60px, 180px) scale(1.2); } .rc[data-card="5"] .rc-aur i:nth-child(2) { transform: translate(-120px, -300px); opacity: .45; }
.rc-seg { position: absolute; top: calc(var(--sat) + 8px); left: 18px; right: 18px; display: flex; gap: 5px; z-index: 6; }
.rc-seg i { flex: 1; height: 3.5px; border-radius: 3px; background: rgba(255,255,255,.25); overflow: hidden; }
.rc-seg b { display: block; height: 100%; background: #fff; border-radius: 3px; transform: scaleX(0); transform-origin: left; }
.rc-x { position: absolute; top: calc(var(--sat) + 20px); right: 12px; z-index: 8; color: #fff; }
.rc-x .ico { width: 22px; height: 22px; stroke-width: 2.4; }
.rc-zone { position: absolute; top: 0; bottom: 0; width: 34%; z-index: 5; } .rc-zone.prev { left: 0; } .rc-zone.next { right: 0; width: 66%; }
.rc-card { position: absolute; inset: 0; z-index: 3; padding: calc(var(--sat) + 66px) 24px calc(var(--sab) + 30px); display: flex; flex-direction: column; pointer-events: none; visibility: hidden; }
.rc-card.on { visibility: visible; }
.rc-card.on .rc-top > *, .rc-card.on .rc-note { animation: rise .7s var(--out) backwards; }
.rc-card.on .rc-top > :nth-child(2) { animation-delay: 70ms; } .rc-card.on .rc-top > :nth-child(3) { animation-delay: 140ms; } .rc-card.on .rc-note { animation-delay: 420ms; }
.rc-top h2 { font: 700 17px Manrope; color: var(--soft); }
.rc-big { font: 700 66px/1.02 Sora; letter-spacing: -0.045em; margin: 6px 0 12px; } .rc-big small { font-size: .5em; opacity: .8; }
.rc-word { font: 700 28px Sora; letter-spacing: -0.03em; display: block; margin-top: -8px; }
.rc-lbl { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--soft); } .rc-lbl i { width: 11px; height: 11px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.rc-vis { flex: 1; min-height: 0; display: flex; align-items: center; padding: 18px 0; }
.rc-vis > * { width: 100%; }
.rc-note { padding: 16px 18px; border-radius: 24px; font-size: 15px; line-height: 1.5; color: var(--soft); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); } .rc-note b { color: #fff; }
.rc-spark { height: 120px; overflow: visible; } .rc-spark polyline { fill: none; stroke: url(#rcg); stroke-width: 3.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 8px 14px rgba(255,106,77,.5)); }
.rc-card.on .rc-spark polyline { animation: rcdraw 1.8s .3s var(--out) forwards; }
@keyframes rcdraw { to { stroke-dashoffset: 0; } }
.rc-bars { list-style: none; display: grid; gap: 13px; }
.rc-bars li { display: grid; grid-template-columns: 86px 1fr 52px; align-items: center; gap: 10px; font-size: 14px; } .rc-bars li b { text-align: right; }
.rc-bars div { height: 16px; border-radius: 8px; background: rgba(255,255,255,.1); overflow: hidden; }
.rc-bars i { display: block; height: 100%; width: var(--w); border-radius: 8px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 70%, #fff), var(--c)); box-shadow: 0 0 14px var(--c); transform-origin: left; }
.rc-card.on .rc-bars i { animation: rcw .9s var(--out) backwards; animation-delay: calc(.3s + var(--i) * 90ms); }
@keyframes rcw { from { transform: scaleX(0); } }
.rc-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; text-align: center; }
.rc-cal small { font-size: 11px; color: rgba(230,224,255,.55); }
.rc-cal i { aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; font: 700 12.5px Manrope; font-style: normal; background: rgba(255,255,255,var(--o)); }
.rc-cal i.later { background: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: rgba(230,224,255,.4); }
.rc-cal i.peak { background: linear-gradient(135deg, var(--coral-a), var(--coral-b)); box-shadow: 0 0 0 4px rgba(255,106,77,.3), 0 10px 22px -6px var(--coral-b); scale: 1.12; }
.rc-card.on .rc-cal i { animation: rcpop .45s var(--spring) backwards; animation-delay: calc(.2s + var(--i) * 16ms); }
@keyframes rcpop { from { transform: scale(0); opacity: 0; } }
.rc-cups { display: grid; grid-template-columns: repeat(5, 1fr); gap: 11px; }
.rc-cups i { aspect-ratio: 1; border-radius: 18px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, #ff9a6c, #ff4d6d); box-shadow: 0 12px 22px -10px #ff4d6d, inset 0 1.5px 0 rgba(255,255,255,.5); }
.rc-cups .ico { width: 26px; height: 26px; }
.rc-card.on .rc-cups i { animation: rcpop .5s var(--spring) backwards; animation-delay: calc(.25s + var(--i) * 55ms); }
.rc-subs { display: grid; gap: 8px; }
.rc-subs > div { display: flex; align-items: center; gap: 12px; padding: 9px 14px 9px 9px; border-radius: 20px; font-size: 14.5px; } .rc-subs .tile { width: 38px; height: 38px; border-radius: 13px; font-size: 15px; }
.rc-subs .rt { flex: 1; display: grid; } .rc-subs small { color: var(--soft); font-size: 12.5px; }
.rc-card.on .rc-subs > div { animation: rise .6s var(--out) backwards; animation-delay: calc(.25s + var(--i) * 80ms); }
.rc-last { align-items: center; justify-content: center; gap: 26px; pointer-events: auto; z-index: 7; padding-top: calc(var(--sat) + 50px); }
.rc-paper { width: min(290px, 78%); background: #f6f1e6; color: #1a1440; font: 500 13px/1.55 ui-monospace, "SF Mono", Menlo, Consolas, monospace; padding: 22px 20px 30px; border-radius: 6px 6px 0 0; position: relative; rotate: -2deg; box-shadow: 0 34px 60px -22px #000; }
.rc-paper::after { content: ''; position: absolute; left: 0; right: 0; bottom: -10px; height: 11px; background: linear-gradient(135deg, #f6f1e6 50%, transparent 50%) 0 0/13px 11px, linear-gradient(225deg, #f6f1e6 50%, transparent 50%) 0 0/13px 11px; }
.rc-card.on .rc-paper { animation: rcprint 1.5s steps(14, end) backwards; }
@keyframes rcprint { from { clip-path: inset(0 0 100% 0); translate: 0 -40px; } to { clip-path: inset(0 0 -12px 0); } }
.rc-paper h3 { font: 700 24px Sora; letter-spacing: -0.03em; text-align: center; } .rc-paper .c { text-align: center; opacity: .6; margin-bottom: 12px; font-size: 11.5px; }
.rc-paper p { display: flex; justify-content: space-between; gap: 10px; } .rc-paper hr { border: 0; border-top: 1.5px dashed rgba(26,20,64,.35); margin: 10px 0; }
.rc-paper .tot { font: 700 30px Sora; letter-spacing: -0.04em; display: flex; justify-content: space-between; align-items: baseline; } .rc-paper .tot span { font: 600 12px ui-monospace, Menlo, monospace; letter-spacing: 0; }
.rc-paper .bars { height: 38px; margin-top: 14px; background: repeating-linear-gradient(90deg, #1a1440 0 2px, transparent 2px 4px, #1a1440 4px 7px, transparent 7px 9px, #1a1440 9px 10px, transparent 10px 13px); }
.rc-acts { display: flex; gap: 10px; } .rc-card.on .rc-acts { animation: rise .7s 1.5s var(--out) backwards; }
.rc-acts .btn.glass { color: #fff; }
.rc[data-card="5"] .rc-zone.next { display: none; } .rc[data-card="5"] .rc-zone.prev { width: 14%; }
html.still .rc-spark polyline { stroke-dashoffset: 0; animation: none; }
.recapcard .tile { --c: var(--coral); background: linear-gradient(135deg, var(--violet), var(--coral)); color: #fff; }

/* ---------- notifications: inbox and live banner ---------- */
.round .badge { position: absolute; top: 3px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; display: grid; place-items: center; font: 700 11.5px Manrope; font-style: normal; color: #fff; background: linear-gradient(135deg, var(--coral-a), var(--coral-b)); box-shadow: 0 0 0 2.5px var(--bg), 0 4px 10px rgba(255,77,109,.6); }
.note { grid-template-columns: 46px 1fr auto; } .note .when { font-size: 12.5px; font-weight: 700; align-self: start; margin-top: 4px; }
.note.new::after { content: ''; position: absolute; right: 16px; bottom: 15px; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 10px var(--coral); }
.note:not(.new) { opacity: .72; } .note:not(.new) .tile { filter: saturate(.55); }
.small { font-size: 13px; font-weight: 700; }
.empty { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 70px 30px 30px; } .empty b { font: 700 20px Sora; letter-spacing: -0.03em; margin-top: 8px; }
.banner { position: absolute; left: 10px; right: 10px; top: calc(var(--sat) + 4px); z-index: 96; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 13px; padding: 12px 16px 12px 12px; border-radius: 26px; text-align: left; background: var(--sheet); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%); box-shadow: 0 26px 50px -18px rgba(4,1,20,.85); transform: translateY(-160%); opacity: 0; transition: transform .6s var(--spring), opacity .3s; touch-action: none; }
.banner.show { transform: none; opacity: 1; }
.banner .when { font-size: 12.5px; font-weight: 700; align-self: start; }
.banner .rt small { white-space: normal; }

/* ---------- wide screens: sidebar, the current screen, and a rail for today ---------- */
#side, #rail { display: none; }
html.desk body { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 18px; height: 100dvh; background: #0b0720; position: relative; }
html.desk body::before { content: ''; position: fixed; width: 60vw; height: 60vw; left: -18vw; top: -30vw; border-radius: 50%; background: var(--a1); opacity: .5; filter: blur(120px); pointer-events: none; }
html.desk body::after { content: ''; position: fixed; width: 46vw; height: 46vw; right: -16vw; bottom: -24vw; border-radius: 50%; background: var(--a2); opacity: .32; filter: blur(130px); pointer-events: none; }
html.desk[data-theme="light"] body { background: #e9e3ff; }
html.desk { --sat: 14px; --sab: 0px; }
html.desk #device { width: auto; height: 100%; border-radius: 34px; z-index: 1; box-shadow: 0 0 0 1.5px var(--rim-b), 0 40px 80px -30px rgba(0,0,0,.6); }
html.desk .tabs, html.desk .homeind, html.desk .status, html.desk #edge { display: none !important; }
html.desk #side { display: flex; flex-direction: column; gap: 6px; padding: 16px 12px; border-radius: 34px; z-index: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); }
#side .sbrand { display: flex; align-items: center; gap: 12px; padding: 4px 6px 14px; font: 700 22px Sora; letter-spacing: -0.03em; } #side .sbrand .tile { --c: var(--coral); background: linear-gradient(135deg, var(--violet), var(--coral)); width: 44px; height: 44px; }
#side nav { display: grid; gap: 3px; }
#side nav button, #side .sfoot { display: flex; align-items: center; gap: 13px; height: 46px; padding: 0 13px; border-radius: 16px; font-size: 15px; font-weight: 700; color: var(--soft); transition: background .25s, color .25s; position: relative; width: 100%; }
#side nav button:hover, #side .sfoot:hover { background: var(--track); color: var(--ink); }
#side button.on { background: var(--ink); color: var(--bg); }
#side .ico { width: 22px; height: 22px; flex: none; } #side .ava { width: 30px; height: 30px; font-size: 13px; flex: none; margin-left: -4px; }
#side .sadd { margin: auto 0 10px; height: 50px; padding: 0; } #side .sadd .ico { stroke-width: 2.8; }
#side .badge { position: static; margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: grid; place-items: center; font: 700 11.5px Manrope; color: #fff; background: linear-gradient(135deg, var(--coral-a), var(--coral-b)); }
#side span:not(.tile):not(.ava), #side .sbrand b { display: none; }
#side .sbrand { justify-content: center; padding: 4px 0 14px; } #side nav button, #side .sfoot { justify-content: center; padding: 0; } #side .badge { position: absolute; top: 4px; right: 6px; margin: 0; }
@media (min-width: 1040px) {
  html.desk body { grid-template-columns: 236px minmax(0, 1fr); }
  #side span:not(.tile):not(.ava), #side .sbrand b { display: inline; }
  #side .sbrand { justify-content: flex-start; padding: 4px 6px 14px; } #side nav button, #side .sfoot { justify-content: flex-start; padding: 0 13px; } #side .badge { position: static; margin-left: auto; }
}
html.desk.rail body { grid-template-columns: 236px minmax(0, 1fr) 372px; }
html.desk.rail #rail { display: block; z-index: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 2px; }
#rail .rcardd { padding: 20px 22px; margin-bottom: 6px; } #rail .rbig { display: block; font: 700 40px Sora; letter-spacing: -0.04em; margin: 2px 0 12px; } #rail .rbig small { font-size: .5em; opacity: .8; } #rail .rcardd .bar { margin-bottom: 10px; }
#rail .rsec { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 6px 10px; } #rail h2 { font: 700 18px Sora; letter-spacing: -0.02em; }
#rail .recapcard { margin-top: 14px; }
/* screens in the middle pane: one readable column, the dashboard in two */
html.desk .scroll { padding: 30px 30px 40px; } html.desk .scroll.hasnav { padding-top: 84px; }
html.desk .scroll > * { max-width: 760px; margin-left: auto; margin-right: auto; }
html.desk .nav { padding: 18px 22px 8px; }
html.desk .s-home .scroll { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; align-content: start; max-width: 900px; margin: 0 auto; }
html.desk .s-home .scroll > * { grid-column: 1 / -1; max-width: none; margin-left: 0; margin-right: 0; }
html.desk .s-home .ringcard { grid-column: 1; } html.desk .s-home .duo { grid-column: 2; grid-template-columns: 1fr; align-content: stretch; }
html.desk.rail .s-home .todayh, html.desk.rail .s-home .scroll > [data-tx], html.desk.rail .s-home .scroll > .recapcard { display: none; }
html.desk .sheet { left: 50%; right: auto; width: min(520px, 100%); translate: -50% 0; border-radius: 38px; bottom: 18px; }
html.desk .toast { top: 18px; } html.desk .banner { left: auto; right: 16px; width: min(420px, calc(100% - 32px)); top: 16px; }
html.desk .rc-card, html.desk .rc-seg { left: 50%; right: auto; width: min(460px, 100%); translate: -50% 0; } html.desk .rc-seg { width: min(424px, calc(100% - 36px)); top: 22px; }
html.desk .rc-x { top: 34px; right: calc(50% - 226px); } html.desk .rc-zone.prev { width: 50%; } html.desk .rc-zone.next { width: 50%; }

/* ---------- Ask Pulse ---------- */
.askbar { display: flex; align-items: center; gap: 11px; width: 100%; height: 50px; padding: 0 16px; border-radius: 25px; margin: 16px 0 2px; font-size: 14.5px; font-weight: 700; color: var(--soft); }
.askbar .ico:first-child { color: var(--lav); width: 20px; height: 20px; } .askbar span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; } .askbar .ico:last-child { width: 18px; height: 18px; }
html[data-theme="light"] .askbar .ico:first-child { color: var(--violet); }
.asks { padding-bottom: calc(var(--sab) + 104px) !important; display: flex; flex-direction: column; }
.aintro { display: grid; justify-items: center; text-align: center; gap: 6px; margin: 34px 0 22px; } .aintro .tile { --c: var(--violet); width: 58px; height: 58px; border-radius: 20px; margin-bottom: 10px; } .aintro .ico { width: 28px; height: 28px; } .aintro h2 { font: 700 24px Sora; letter-spacing: -0.03em; }
.ahints { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 6px 0 16px; }
.aq { display: flex; justify-content: flex-end; margin: 14px 0 10px; } .aq span { max-width: 82%; padding: 11px 17px; border-radius: 22px 22px 6px 22px; font-size: 15px; color: #fff; background: linear-gradient(135deg, var(--coral-a), var(--coral-b)); box-shadow: 0 10px 22px -10px rgba(255,77,109,.8); }
.aans { padding: 18px 20px 14px; border-radius: 26px 26px 26px 8px; margin-bottom: 6px; }
.aans .abig { display: block; font: 700 44px/1.05 Sora; letter-spacing: -0.045em; } .aans .atitle { display: block; font-size: 15px; font-weight: 700; margin: 2px 0 8px; } .aans p { font-size: 14.5px; line-height: 1.5; }
.achart { height: 64px; display: flex; align-items: flex-end; gap: 4px; margin: 14px 0 4px; } .achart i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(var(--lav), var(--violet)); opacity: .85; } .achart i.hot { background: linear-gradient(var(--coral-a), var(--coral-b)); opacity: 1; }
.arow { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 0; border-top: 1px solid var(--track); font-size: 14.5px; font-weight: 700; } .arow:first-of-type { margin-top: 12px; }
.arow i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; } .arow span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .arow small { font-weight: 600; }
.aans .link { display: inline-block; margin-top: 6px; }
.screen.answered .aq.last { animation: rise .45s var(--out) backwards; } .screen.answered .aq.last + .aans { animation: rise .6s .3s var(--out) backwards; }
.askin { position: absolute; left: 16px; right: 16px; bottom: max(16px, calc(var(--sab) + 6px)); z-index: 6; display: flex; align-items: center; gap: 8px; height: 60px; padding: 0 7px 0 20px; border-radius: 30px; background: var(--tabbg); box-shadow: var(--tabshadow); -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%); }
html.framed .askin { bottom: 26px; }
.askin input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font: 600 16px Manrope; color: var(--ink); user-select: text; -webkit-user-select: text; } .askin input::placeholder { color: var(--faint); }
.askin:focus-within { box-shadow: var(--tabshadow), 0 0 0 2.5px var(--lav); }
.asend { color: #fff; background: linear-gradient(135deg, var(--coral-a), var(--coral-b)); box-shadow: 0 8px 18px -6px rgba(255,77,109,.8); } .asend .ico { stroke-width: 2.8; }
html.desk .askin { left: 50%; right: auto; width: min(700px, calc(100% - 60px)); translate: -50% 0; bottom: 22px; }
html.desk .asks > * { width: 100%; }
