:root {
  --bg: #0e1014;
  --card: #171a21;
  --card2: #1f232c;
  --line: #2a2f3a;
  --text: #f1f3f7;
  --mute: #8d95a5;
  --accent: #c6f432;
  --accent-ink: #141a00;
  --up: #4ade80;
  --flat: #fbbf24;
  --down: #f87171;
  --radius: 16px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); }
body { font: 16px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overscroll-behavior-y: contain; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, p { margin: 0; }

#app { max-width: 560px; margin: 0 auto; min-height: 100%; padding: calc(env(safe-area-inset-top) + 64px) 14px calc(env(safe-area-inset-bottom) + 92px); }

.top { position: fixed; top: 0; left: 0; right: 0; z-index: 5; background: rgba(14,16,20,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.top-in { max-width: 560px; margin: 0 auto; height: 56px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-weight: 800; font-size: 20px; letter-spacing: .5px; }
.brand b { color: var(--accent); }
.who { color: var(--mute); font-size: 14px; display: flex; align-items: center; gap: 10px; }
.link { color: var(--mute); text-decoration: underline; font-size: 14px; padding: 6px 0; }

.tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 5; background: rgba(18,20,26,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabs-in { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.tab { padding: 10px 0 12px; color: var(--mute); font-size: 12px; display: flex; flex-direction: column; align-items: center; gap: 3px; position: relative; }
.tab .ico { font-size: 22px; line-height: 1; filter: grayscale(1) opacity(.6); }
.tab.on { color: var(--accent); }
.tab.on .ico { filter: none; }
.dot { position: absolute; top: 6px; left: calc(50% + 8px); min-width: 18px; height: 18px; border-radius: 9px; background: var(--down); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; }
.card h3 { font-size: 16px; }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.mute { color: var(--mute); }
.small { font-size: 13px; }
.title { font-size: 22px; font-weight: 800; margin: 6px 2px 12px; }
.sub { font-size: 13px; color: var(--mute); text-transform: uppercase; letter-spacing: .8px; margin: 18px 2px 8px; }

.btn { display: block; width: 100%; padding: 14px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 16px; text-align: center; }
.btn:active { transform: scale(.98); }
.btn.ghost { background: var(--card2); color: var(--text); border: 1px solid var(--line); font-weight: 600; }
.btn.danger { background: transparent; color: var(--down); border: 1px solid #5b2b2b; font-weight: 600; }
.btn.sm { width: auto; padding: 8px 12px; font-size: 14px; border-radius: 10px; }
.btn[disabled] { opacity: .5; }

.field { display: block; margin-bottom: 10px; }
.field span { display: block; font-size: 13px; color: var(--mute); margin-bottom: 4px; }
input[type=text], input[type=password], input[type=search], select { width: 100%; padding: 13px; border-radius: 12px; border: 1px solid var(--line); background: var(--card2); outline: none; }
input:focus { border-color: var(--accent); }

.auth { padding-top: 6vh; }
.auth .logo { font-size: 44px; font-weight: 900; text-align: center; letter-spacing: 1px; }
.auth .logo b { color: var(--accent); }
.auth .tag { text-align: center; color: var(--mute); margin: 6px 0 26px; }
.err { color: var(--down); font-size: 14px; min-height: 20px; margin: 4px 0 8px; }

/* entrenamiento en curso */
.ex-name { font-weight: 700; font-size: 17px; }
.last { font-size: 13px; color: var(--mute); margin: 2px 0 10px; }
.set { display: grid; grid-template-columns: 26px 1fr 14px 1fr 34px; gap: 8px; align-items: center; margin-bottom: 8px; }
.set .n { color: var(--mute); font-size: 14px; text-align: center; }
.set .x { color: var(--mute); text-align: center; }
.set input { width: 100%; padding: 12px 8px; text-align: center; font-size: 18px; font-weight: 700; border-radius: 12px; border: 1px solid var(--line); background: var(--card2); outline: none; -moz-appearance: textfield; }
.set input::-webkit-outer-spin-button, .set input::-webkit-inner-spin-button { -webkit-appearance: none; }
.set input::placeholder { color: #566072; font-weight: 500; }
.set .del { color: var(--mute); font-size: 18px; height: 40px; }
.set-head { display: grid; grid-template-columns: 26px 1fr 14px 1fr 34px; gap: 8px; font-size: 12px; color: var(--mute); text-align: center; margin-bottom: 4px; }
.beat { font-size: 12px; color: var(--up); margin: -4px 0 8px 34px; }
.sticky { position: sticky; bottom: calc(env(safe-area-inset-bottom) + 78px); display: grid; grid-template-columns: 1fr 2fr; gap: 10px; margin-top: 14px; }

.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 99px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.chip.sube { background: rgba(74,222,128,.14); color: var(--up); }
.chip.estancado { background: rgba(251,191,36,.14); color: var(--flat); }
.chip.baja { background: rgba(248,113,113,.14); color: var(--down); }
.chip.nuevo { background: var(--card2); color: var(--mute); }
.chip.pr { background: rgba(198,244,50,.16); color: var(--accent); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 10px; text-align: center; }
.stat .v { font-size: 24px; font-weight: 800; }
.stat .l { font-size: 12px; color: var(--mute); }
.stat .d { font-size: 12px; margin-top: 2px; }
.up { color: var(--up); } .down { color: var(--down); } .flat { color: var(--flat); }

svg.chart { width: 100%; height: auto; display: block; }
.bars { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; align-items: end; height: 110px; margin-top: 10px; }
.bar { background: var(--card2); border-radius: 6px 6px 2px 2px; min-height: 3px; position: relative; }
.bar.now { background: var(--accent); }
.bar-l { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; font-size: 10px; color: var(--mute); text-align: center; margin-top: 4px; }

/* ranking */
.rank { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rank:last-child { border-bottom: 0; }
.rank .pos { font-size: 18px; font-weight: 800; text-align: center; color: var(--mute); }
.rank .pts { font-size: 20px; font-weight: 800; color: var(--accent); text-align: right; }
.rank .pts small { display: block; font-size: 11px; color: var(--mute); font-weight: 500; }
.rank.me .nm { color: var(--accent); }
.nm { font-weight: 700; }
.meta { font-size: 13px; color: var(--mute); display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 2px; }
.code { font: 700 22px/1 ui-monospace, Consolas, monospace; letter-spacing: 4px; color: var(--accent); }

.feed-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.feed-item:last-child { border-bottom: 0; }
.lines { font-size: 14px; color: #c9cfdb; margin-top: 6px; }
.lines div { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.lines .s { color: var(--mute); white-space: nowrap; }

.notif { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; }
.notif:last-child { border-bottom: 0; }
.notif.new .t { font-weight: 700; }
.notif .i { font-size: 20px; }

/* modal */
#modal { position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,.6); display: flex; align-items: flex-end; justify-content: center; }
#modal[hidden] { display: none; }
.sheet { width: 100%; max-width: 560px; max-height: 88vh; background: var(--card); border-radius: 22px 22px 0 0; border: 1px solid var(--line); padding: 16px 14px calc(env(safe-area-inset-bottom) + 16px); display: flex; flex-direction: column; }
.sheet .scroll { overflow-y: auto; margin-top: 10px; }
.pick { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; padding: 13px 4px; border-bottom: 1px solid var(--line); }
.pick small { color: var(--mute); }
.group-l { font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin: 14px 4px 2px; }

#toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 100px); transform: translateX(-50%); z-index: 30; background: #fff; color: #111; padding: 10px 16px; border-radius: 99px; font-weight: 600; font-size: 14px; max-width: 90vw; text-align: center; box-shadow: 0 6px 24px rgba(0,0,0,.5); }
#toast[hidden] { display: none; }
.center { text-align: center; }
.empty { text-align: center; color: var(--mute); padding: 26px 10px; }
.big { font-size: 46px; }

/* ===================== estilo v2: limpio sobre fondo de grafiti ===================== */
:root {
  --pink: #ff3d81;
  --cyan: #29d3ff;
  --orange: #ff9d2e;
  --glass: rgba(19, 21, 27, .80);
  --hair: rgba(255, 255, 255, .08);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
html { background: #0b0d11; }
body { background: transparent; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: #0b0d11 url(/bg.svg) center top / 520px auto; }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(120% 70% at 50% 0%, rgba(8,9,12,.25) 30%, rgba(8,9,12,.82) 100%); }

/* superficies */
.card, .stat { background: var(--glass); border: 1px solid var(--hair); border-radius: 20px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(0,0,0,.28); }
.card { padding: 16px; }
.stat .v { font-size: 26px; font-weight: 800; letter-spacing: -.5px; }

/* tipografía */
.brand { font-size: 20px; font-weight: 900; font-style: italic; letter-spacing: .5px; }
.auth .logo { font-size: 56px; font-weight: 900; font-style: italic; letter-spacing: -1px; }
.title { font-size: 30px; font-weight: 800; letter-spacing: -.8px; line-height: 1.1; margin: 8px 2px 16px; }
.sub { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; color: var(--mute); margin: 22px 4px 10px; }
.ex-name, .day-t { font-size: 18px; font-weight: 700; letter-spacing: -.2px; }

/* botones */
.btn { position: relative; overflow: hidden; display: block; width: 100%; padding: 15px 18px; border-radius: 16px; border: 0; background: var(--accent); color: #11160a; font-size: 16px; font-weight: 700; letter-spacing: -.1px; text-align: center; box-shadow: 0 8px 22px rgba(198,244,50,.16); transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, opacity .18s; }
.btn:active { transform: scale(.97); box-shadow: 0 2px 8px rgba(198,244,50,.12); }
.btn.ghost { background: rgba(255,255,255,.06); color: var(--text); border: 1px solid var(--hair); box-shadow: none; font-weight: 600; }
.btn.ghost:active { background: rgba(255,255,255,.11); }
.btn.danger { background: transparent; color: #ff8a8a; border: 1px solid rgba(248,113,113,.28); box-shadow: none; font-weight: 600; }
.btn.danger:active { background: rgba(248,113,113,.10); }
.btn.sm { width: auto; padding: 9px 14px; font-size: 14px; border-radius: 12px; box-shadow: none; }
.btn.wa { background: #25d366; color: #05240f; box-shadow: 0 8px 22px rgba(37,211,102,.18); }
.btn[disabled] { opacity: .55; }
a.btn { text-decoration: none; }
.link { text-decoration: none; font-size: 13px; font-weight: 600; color: #c2c9d6; background: rgba(255,255,255,.06); border: 1px solid var(--hair); border-radius: 99px; padding: 6px 12px; transition: background .18s; }
.link:active { background: rgba(255,255,255,.13); }
.set .del { border-radius: 10px; background: rgba(255,255,255,.05); font-size: 13px; color: #6f7889; }

/* campos */
input[type=text], input[type=password], input[type=search], select, .set input { border: 1px solid var(--hair); background: rgba(255,255,255,.045); border-radius: 13px; transition: border-color .18s, box-shadow .18s, background .18s; }
input:focus, .set input:focus { border-color: rgba(198,244,50,.7); background: rgba(198,244,50,.05); box-shadow: 0 0 0 4px rgba(198,244,50,.10); }

/* barra superior e inferior */
.top { background: rgba(11,13,17,.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--hair); }
.tabs { background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0 12px calc(env(safe-area-inset-bottom) + 12px); pointer-events: none; }
.tabs-in { pointer-events: auto; grid-template-columns: repeat(5, 1fr); gap: 2px; padding: 6px; border-radius: 24px; background: rgba(22,24,31,.86); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid var(--hair); box-shadow: 0 14px 40px rgba(0,0,0,.55); }
.tab { font-size: 11px; font-weight: 600; padding: 8px 0 7px; border-radius: 18px; gap: 2px; transition: background .25s var(--ease), color .25s; }
.tab .ico { font-size: 20px; transition: transform .35s var(--ease), filter .25s; }
.tab.on { color: var(--accent); background: rgba(198,244,50,.11); }
.tab.on .ico { transform: translateY(-1px) scale(1.12); }
.tab:active .ico { transform: scale(.88); }
.dot { top: 3px; background: var(--pink); border: 2px solid #16181f; animation: pop .4s var(--ease); }
#app { padding-bottom: calc(env(safe-area-inset-bottom) + 108px); }
.sticky { bottom: calc(env(safe-area-inset-bottom) + 92px); }
.sticky .btn { box-shadow: 0 12px 30px rgba(0,0,0,.6); }
.sticky .btn.danger, .sticky .btn.ghost { background: rgba(24,26,33,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* tarjeta de hoy */
.hero { position: relative; overflow: hidden; border-radius: 24px; padding: 20px 18px; margin-bottom: 14px; border: 1px solid rgba(198,244,50,.22); background: linear-gradient(140deg, rgba(198,244,50,.13) 0%, rgba(22,24,31,.86) 46%, rgba(255,61,129,.10) 100%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 14px 40px rgba(0,0,0,.35); }
.hero > * { position: relative; }
.hero-k { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent); }
.hero-t { font-size: 32px; font-weight: 900; font-style: italic; letter-spacing: -.8px; line-height: 1.08; margin: 6px 0; }
.hero-s { color: #b9c0cd; font-size: 14px; margin-bottom: 18px; }

/* rutina */
.day-k { font-size: 11px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--mute); font-weight: 700; }
.day.today { border-color: rgba(198,244,50,.45); }
.day.today .day-k { color: var(--accent); }
.day.rest { background: rgba(17,19,25,.55); box-shadow: none; }
.day.rest .day-t { color: #697284; font-weight: 600; }

/* etiquetas y detalles */
.chip { border: 0; font-weight: 700; font-size: 12px; padding: 4px 10px; }
.rank .pts { font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.code { letter-spacing: 5px; }
.bar { background: rgba(255,255,255,.09); border-radius: 7px 7px 3px 3px; }
.bar.now { background: var(--accent); }
.pick { border-radius: 12px; padding: 14px 8px; border-bottom: 0; transition: background .15s; }
.pick:active { background: rgba(255,255,255,.07); }
.group-l { font-size: 11px; font-weight: 700; letter-spacing: 1.4px; color: var(--mute); margin: 16px 8px 4px; }
.lines div { padding: 3px 0; }

/* guardado, perfil e invitación */
.save-row { display: flex; align-items: center; gap: 10px; margin: -6px 2px 12px; flex-wrap: wrap; }
.saved { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; color: var(--up); background: rgba(74,222,128,.12); white-space: nowrap; transition: color .2s, background .2s; }
.saved.dirty { color: var(--orange); background: rgba(255,157,46,.14); }
.saved.pulse { animation: pulse .45s var(--ease); }
.sheet-t { font-size: 22px; font-weight: 800; letter-spacing: -.4px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.grid3 input { text-align: center; font-size: 20px; font-weight: 700; padding: 12px 6px; }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.stats3 > div + div { border-left: 1px solid var(--hair); }
.stats3 .v { font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.stats3 .v small { font-size: 13px; color: var(--mute); font-weight: 600; }
.stats3 .l { font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700; }
.pbar { height: 10px; border-radius: 99px; background: rgba(255,255,255,.08); margin: 16px 0 8px; overflow: hidden; }
.pbar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #8fbf10, #d9ff4f); transform-origin: left; animation: growX .9s var(--ease) both; }
.ratio { color: var(--accent); font-weight: 700; }
.linkbox { margin: 14px 0; padding: 12px; border-radius: 14px; border: 1px dashed rgba(255,255,255,.18); background: rgba(255,255,255,.04); color: var(--accent); font: 600 14px/1.3 ui-monospace, Consolas, monospace; word-break: break-all; user-select: all; -webkit-user-select: all; }
.cheer { margin: 12px 4px 0; font-size: 16px; font-weight: 600; color: var(--text); }

/* hojas y avisos emergentes */
#modal, #info { position: fixed; inset: 0; z-index: 20; background: rgba(4,5,8,.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s ease both; }
#info { z-index: 25; }
#modal[hidden], #info[hidden] { display: none; }
.sheet { background: #15171d; border: 1px solid var(--hair); border-bottom: 0; border-radius: 26px 26px 0 0; padding: 10px 16px calc(env(safe-area-inset-bottom) + 18px); box-shadow: 0 -20px 60px rgba(0,0,0,.6); animation: sheetUp .32s var(--ease) both; }
.sheet::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); margin: 0 auto 12px; flex: none; }
#toast { background: rgba(28,31,39,.96); color: var(--text); border: 1px solid var(--hair); border-radius: 99px; font-size: 14px; font-weight: 600; padding: 11px 18px; box-shadow: 0 12px 34px rgba(0,0,0,.6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); animation: toastIn .3s var(--ease) both; z-index: 40; }
.notif { align-items: flex-start; }
.notif .i { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.06); font-size: 18px; }
.notif.new .i { background: rgba(198,244,50,.14); }
.notif.t-lazy .i, .notif.t-remind .i { background: rgba(255,157,46,.14); }
.notif.t-rival .i { background: rgba(255,61,129,.14); }

/* ficha de ejercicio */
.pick-row { display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--hair); }
.pick-row .pick { flex: 1; min-width: 0; }
.info-b { flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid var(--hair); color: var(--mute); font-weight: 700; font-size: 14px; transition: background .15s, color .15s; }
.info-b:active { background: rgba(198,244,50,.16); color: var(--accent); }
button.ex-name { text-align: left; padding: 0; display: inline-flex; align-items: center; gap: 8px; }
.ex-name .q { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--mute); background: rgba(255,255,255,.08); }
.body-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-width: 300px; margin: 14px auto 8px; }
.body-figs figure { margin: 0; text-align: center; }
.body-figs figcaption { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--mute); font-weight: 700; margin-top: 2px; }
.body-figs svg { width: 100%; height: auto; display: block; }
.body-figs .base { fill: #262b36; }
.body-figs .m { fill: #363d4b; }
.body-figs .m.on { fill: var(--accent); animation: glow 1.6s ease-in-out infinite; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 99px; background: rgba(255,255,255,.07); color: #cdd3de; }
.tag.hi { background: rgba(198,244,50,.14); color: var(--accent); }
.howto { font-size: 15px; line-height: 1.5; color: #d5dae4; margin: 10px 2px 14px; }

/* interruptores de ajustes */
.opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hair); }
.opt b { display: block; font-size: 15px; }
.opt span { font-size: 13px; color: var(--mute); }
.switch { flex: none; width: 48px; height: 28px; border-radius: 99px; background: rgba(255,255,255,.12); position: relative; transition: background .22s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .22s var(--ease); }
.switch.on { background: var(--accent); }
.switch.on::after { transform: translateX(20px); }

/* animaciones */
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px) scale(.96); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes pop { from { transform: scale(0); } 70% { transform: scale(1.2); } to { transform: scale(1); } }
@keyframes pulse { 0% { transform: scale(1); } 40% { transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes growY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes glow { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes bounceIn { 0% { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }

.view.enter > * { animation: rise .42s var(--ease) both; }
.view.enter > *:nth-child(2) { animation-delay: .04s; }
.view.enter > *:nth-child(3) { animation-delay: .08s; }
.view.enter > *:nth-child(4) { animation-delay: .12s; }
.view.enter > *:nth-child(5) { animation-delay: .16s; }
.view.enter > *:nth-child(6) { animation-delay: .20s; }
.view.enter > *:nth-child(n+7) { animation-delay: .24s; }
.view.enter .bar { transform-origin: bottom; animation: growY .7s var(--ease) both; }
.view.enter .bar:nth-child(2) { animation-delay: .04s; } .view.enter .bar:nth-child(3) { animation-delay: .08s; }
.view.enter .bar:nth-child(4) { animation-delay: .12s; } .view.enter .bar:nth-child(5) { animation-delay: .16s; }
.view.enter .bar:nth-child(6) { animation-delay: .20s; } .view.enter .bar:nth-child(7) { animation-delay: .24s; }
.view.enter .bar:nth-child(8) { animation-delay: .28s; }
svg.chart path { stroke-dasharray: 1; animation: draw 1s var(--ease) both; }
svg.chart circle { animation: fade .4s ease .7s both; }
.sheet .big { display: inline-block; animation: bounceIn .55s var(--ease) both; }
.auth > * { animation: rise .5s var(--ease) both; }
.auth > *:nth-child(2) { animation-delay: .06s; } .auth > *:nth-child(n+3) { animation-delay: .12s; }

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