/* ============================================================
   Bambi HM Coach — styl minimalistyczny (ciemny)
   ============================================================ */
:root {
  color-scheme: dark;
  --bg: #0b0b0c;
  --bg2: #141416;
  --panel: #1a1a1d;
  --panel2: #242428;
  --line: rgba(255,255,255,.07);
  --line2: rgba(255,255,255,.14);
  --text: #f5f5f7;
  --dim: #a1a1a6;
  --mute: #636366;
  --acc: #ff6a2b;
  --acc2: #ff6a2b;
  --green: #3ecf8e;
  --yellow: #f5c451;
  --pink: #ff6b8b;
  --orange: #ff7a3d;
  --cyan: #6aa8ff;
  --red: #ff5c5c;
  --r: 22px;
  --r-sm: 14px;
  --gap: 12px;
  --pad: 16px;
  --nav-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --f-head: 'Barlow Semi Condensed', 'Barlow', system-ui, sans-serif;
  --f-txt: 'Barlow', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-txt);
  font-size: 16px;
  line-height: 1.4;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--acc); }
.ico { display: block; flex: none; }

/* ---------- cards ---------- */
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin: 0 0 var(--gap);
  padding: var(--pad);
}

.card.hl { background: linear-gradient(160deg, #222226, var(--panel) 60%); }
.card.warn { border-color: rgba(245,196,81,.35); }
.card.danger { border-color: rgba(255,92,92,.4); }
.card > .card-t { display: flex; align-items: center; gap: 10px; color: var(--dim); }
.card-t .h2 { flex: 1; }

.h1 { font-family: var(--f-head); font-weight: 700; font-size: 32px; line-height: 1.1; margin: 0; letter-spacing: -.2px; }
.h2 { font-family: var(--f-txt); font-weight: 600; font-size: 13px; line-height: 1.4; margin: 0; color: var(--dim); letter-spacing: .2px; }
.big { font-family: var(--f-head); font-weight: 700; font-size: 30px; line-height: 1.1; letter-spacing: -.3px; }
.huge { font-family: var(--f-head); font-weight: 700; font-size: 52px; line-height: 1; letter-spacing: -1px; }
.huge .unit, .big .unit { font-family: var(--f-txt); font-size: 18px; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.dim { color: var(--dim); }
.mute { color: var(--mute); }
.small { font-size: 14px; }
.c-green { color: var(--green); } .c-yellow { color: var(--text); font-weight: 600; } .c-pink { color: var(--pink); }
.c-orange { color: var(--orange); } .c-cyan { color: var(--cyan); } .c-red { color: var(--red); } .c-acc { color: var(--acc); }
b { font-weight: 600; }
.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.mt { margin-top: var(--gap); } .mb { margin-bottom: var(--gap); }
.center { text-align: center; }
hr.px { border: 0; height: 1px; margin: var(--gap) 0; background: var(--line); }

/* ---------- top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  padding: calc(var(--safe-t) + 12px) var(--pad) 8px;
  background: linear-gradient(180deg, var(--bg) 75%, rgba(11,11,12,0));
  display: flex; align-items: center; gap: 12px;
  max-width: 560px; margin: 0 auto;
}
.top .title { flex: 1; font-size: 14px; color: var(--dim); font-weight: 500; }
.lvl { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--dim); }
.xpbar { width: 48px; height: 4px; border-radius: 4px; background: var(--panel2); position: relative; overflow: hidden; }
.xpbar i { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--text); }
.syncdot { width: 40px; height: 40px; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 50%; padding: 0; cursor: pointer; }
.syncdot.ok { color: var(--green); } .syncdot.off { color: var(--mute); } .syncdot.err { color: var(--red); }
.syncdot.busy .ico { animation: pulse 1s ease-in-out infinite; }

/* ---------- main ---------- */
main { position: relative; padding: 0 var(--pad) calc(var(--nav-h) + var(--safe-b) + 28px); max-width: 560px; margin: 0 auto; }
.screen { animation: screenIn .28s ease-out both; }
@keyframes screenIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.page-h { display: flex; align-items: center; gap: 12px; margin: 4px 2px 16px; }
.page-h .h1 { flex: 1; }

/* ---------- bottom nav ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  height: calc(var(--nav-h) + var(--safe-b));
  padding: 6px 8px var(--safe-b);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  background: rgba(16,16,18,.92);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.tab {
  border: 0; background: none; padding: 4px 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--mute); font-size: 11px; font-weight: 500;
  transition: color .15s;
}
.tab.on { color: var(--text); }
.tab.center .plus {
  width: 46px; height: 46px; display: grid; place-items: center; color: #fff;
  background: var(--acc); border-radius: 50%;
  box-shadow: 0 6px 18px rgba(255,106,43,.35);
  margin-top: -8px; transition: transform .12s;
}
.tab.center:active .plus { transform: scale(.94); }
.tab.center span { color: var(--dim); }
.tab.center.on span { color: var(--text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; padding: 12px 18px; min-height: 46px;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  color: #fff; background: var(--acc); border-radius: 999px;
  transition: transform .1s, opacity .15s;
}
.btn:active { transform: scale(.97); }
.btn.green { background: var(--text); color: var(--bg); }
.btn.ghost { background: var(--panel2); color: var(--text); }
.btn.red { background: rgba(255,92,92,.16); color: var(--red); }
.btn.sm { padding: 7px 14px; min-height: 34px; font-size: 13px; }
.btn.block { display: flex; width: 100%; }
.btn[disabled] { opacity: .45; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 var(--gap); }
.btns .btn { flex: 1 1 auto; }
.iconbtn { border: 0; background: var(--panel2); color: var(--text); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex: none; }

/* ---------- tags ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; color: var(--text); background: var(--panel2); letter-spacing: .3px; white-space: nowrap; }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--acc)); }
.tag.o { background: transparent; box-shadow: inset 0 0 0 1px var(--line2); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin: 0 0 var(--gap); }
.card .stats { gap: 8px; }
.stats.three { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.stat { padding: var(--pad); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
.card .stat { background: var(--panel2); border: 0; border-radius: var(--r-sm); padding: 12px; }
.stat .k { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--dim); font-weight: 500; }
.stat .v { font-family: var(--f-head); font-weight: 700; font-size: 26px; margin-top: 8px; line-height: 1.1; overflow-wrap: anywhere; }
.stats.three .stat .v { font-size: 20px; }
.stat .s { font-size: 13px; color: var(--dim); margin-top: 4px; }

/* ---------- progress bar ---------- */
.pbar { height: 6px; background: var(--panel2); border-radius: 6px; position: relative; margin: 8px 0 0; overflow: hidden; }
.pbar > i { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: var(--c, var(--text)); transition: width .4s ease; }
.pbar > b { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--acc); }

/* ---------- hero ---------- */
.hero { display: flex; align-items: flex-end; gap: 14px; }
.hero .cd { flex: 1; }
.hero .cd .h2, .hero .center .h2 { margin-bottom: 6px; }
.hero .center { text-align: right; }

/* ---------- spinner (ładowanie) ---------- */
.spinner { display: inline-block; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--panel2); border-top-color: var(--text); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- workout steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; }
.steps li:first-child { padding-top: 0; } .steps li:last-child { padding-bottom: 0; }
.steps li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps .n { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--panel2); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--c, transparent); }
.steps .t { flex: 1; }
.steps .t b { color: var(--text); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; }
.kv dt { color: var(--dim); } .kv dd { margin: 0; text-align: right; }

/* ---------- alerts ---------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px var(--pad); margin: 0 0 var(--gap); background: var(--panel); border-radius: var(--r-sm); border: 1px solid var(--line); border-left: 3px solid var(--c, var(--yellow)); font-size: 15px; }
.alert .ico { color: var(--c, var(--yellow)); margin-top: 1px; }
.alert.red { --c: var(--red); }
.alert.blue { --c: var(--cyan); }
.alert.green { --c: var(--green); }
.alert b { color: var(--text); }

/* ---------- week list ---------- */
.days { list-style: none; margin: 0; padding: 0; }
.day { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); cursor: pointer; }
.day:last-child { border-bottom: 0; }
.day.today { background: var(--panel2); border-radius: var(--r-sm); padding: 12px 10px; margin: 0 -6px; border-bottom-color: transparent; }
.day .d { width: 48px; flex: none; }
.day .d b { display: block; font-family: var(--f-head); font-size: 17px; font-weight: 700; }
.day .d span { font-size: 13px; color: var(--dim); }
.day .chk { width: 26px; height: 26px; flex: none; border-radius: 8px; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line2); color: #fff; }
.day .chk.on { background: var(--acc); box-shadow: none; }
.day .chk.miss { box-shadow: inset 0 0 0 1.5px var(--red); }

/* ---------- forms ---------- */
.field { display: block; margin: 0 0 var(--gap); }
.field > span { display: block; font-size: 13px; color: var(--dim); margin-bottom: 6px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); padding: 11px 14px; min-height: 48px; font-size: 17px;
  background: var(--panel2); color: var(--text); border-radius: var(--r-sm);
  -webkit-appearance: none; appearance: none; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--line2); background: #2a2a2f; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(-45deg, transparent 50%, var(--dim) 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field textarea { min-height: 90px; resize: vertical; }
.fields2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.fields3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 10px; }
.hint { font-size: 13px; color: var(--mute); margin: 6px 0 0; }
details.adv { margin: 0 0 var(--gap); }
details.adv > summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--dim); padding: 8px 0; list-style: none; }
details.adv > summary::-webkit-details-marker { display: none; }
details.adv > summary::before { content: '+ '; }
details.adv[open] > summary::before { content: '− '; }

/* segmented / pills */
.seg { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 var(--gap); padding: 4px; background: var(--panel2); border-radius: 20px; }
.seg button { flex: 1 0 auto; border: 0; padding: 8px 12px; font-size: 14px; font-weight: 600; background: transparent; color: var(--dim); border-radius: 999px; cursor: pointer; min-height: 36px; }
.seg button.on { background: var(--text); color: var(--bg); }
.scale { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 6px; margin-bottom: var(--gap); }
.scale button { border: 0; min-height: 42px; font-size: 15px; font-weight: 600; background: var(--panel2); color: var(--dim); border-radius: 12px; cursor: pointer; }
.scale button.on { background: var(--c, var(--text)); color: var(--bg); }

/* ---------- sheet (modal od dołu) ---------- */
.sheet-bg { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.6); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s ease; }
.sheet { width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; background: var(--bg2); padding: 10px 18px calc(24px + var(--safe-b)); border-radius: 28px 28px 0 0; border-top: 1px solid var(--line); animation: up .28s cubic-bezier(.2,.8,.2,1); -webkit-overflow-scrolling: touch; }
.sheet::before { content: ''; display: block; width: 40px; height: 5px; border-radius: 5px; background: var(--panel2); margin: 0 auto 14px; }
.sheet .sheet-h { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.sheet .sheet-h .h1 { flex: 1; font-size: 26px; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(100%); } }

/* ---------- tables ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { font-size: 12px; color: var(--mute); text-align: left; padding: 6px 4px; font-weight: 600; }
.tbl td { padding: 9px 4px; border-top: 1px solid var(--line); vertical-align: top; }
.tbl td.r, .tbl th.r { text-align: right; }
.tbl tr.on td { color: var(--acc); }
.scrollx { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }

/* ---------- menu grid (Więcej) ---------- */
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.menu-grid button { border: 1px solid var(--line); cursor: pointer; text-align: left; color: var(--text); background: var(--panel); border-radius: var(--r); padding: var(--pad); display: flex; flex-direction: column; gap: var(--gap); min-height: 120px; }
.menu-grid button:active { transform: scale(.98); }
.menu-grid .ico { color: var(--text); width: 26px; height: 26px; }
.menu-grid b { font-family: var(--f-head); font-weight: 700; font-size: 20px; line-height: 1.1; }
.menu-grid small { font-size: 13px; color: var(--dim); display: block; margin-top: 2px; }

/* ---------- charts ---------- */
.chart { width: 100%; height: 170px; display: block; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 0; background: var(--c); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 16px); transform: translateX(-50%); z-index: 70; background: var(--text); color: var(--bg); padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; max-width: 90vw; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.5); animation: toastIn .25s ease; }
@keyframes toastIn { from { transform: translate(-50%, 12px); opacity: 0; } }

/* ---------- XP float / gratulacje ---------- */
.xpfloat { position: fixed; left: 50%; top: 40%; z-index: 80; transform: translateX(-50%); font-family: var(--f-head); font-weight: 700; font-size: 22px; color: var(--text); background: var(--panel2); padding: 6px 14px; border-radius: 999px; pointer-events: none; animation: floatUp 1.4s ease-out forwards; }
@keyframes floatUp { 0% { opacity: 0; transform: translate(-50%, 12px); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50px); } }
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: grid; place-items: center; text-align: center; animation: fade .2s ease; }
.overlay .box { padding: 24px; }
.overlay .medal { color: var(--acc); margin: 0 auto; display: block; animation: pop .4s cubic-bezier(.2,1.4,.4,1); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- boot / loading ---------- */
#boot { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px; text-align: center; transition: opacity .35s ease; }
#boot.hide { opacity: 0; pointer-events: none; }
#boot .logo { font-family: var(--f-head); font-weight: 700; font-size: 34px; line-height: 1.05; letter-spacing: -.5px; color: var(--text); }
#boot .logo span { color: var(--acc); }
#boot .loadbar { width: 120px; height: 3px; border-radius: 3px; background: var(--panel2); position: relative; overflow: hidden; }
#boot .loadbar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 3px; background: var(--text); animation: load 1.1s ease-in-out forwards; }
@keyframes load { to { width: 100%; } }
.loading { display: inline-flex; gap: 5px; }
.loading i { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); animation: pulse .9s ease-in-out infinite; }
.loading i:nth-child(2) { animation-delay: .15s; } .loading i:nth-child(3) { animation-delay: .3s; }

/* week nav */
.weeknav { display: flex; align-items: center; gap: 10px; }
.weeknav .mid { flex: 1; text-align: center; }

/* responsive */
/* ---------- rytm pionowy (na końcu: nadpisuje marginesy komponentów) ----------
   Każdy blok ma odstęp 12 px pod sobą, ostatni w kontenerze — zero. */
.screen > *, .card > *, .sheet > * { margin-top: 0; margin-bottom: var(--gap); }
.card > :last-child, .sheet > :last-child, .stat > :last-child { margin-bottom: 0; }
.screen > .page-h { margin: 4px 2px 16px; }
.card > .pbar { margin-top: -4px; }
.card > .mt, .sheet > .mt { margin-top: 0; }
.sheet > .sheet-h { margin-bottom: 16px; }
.card p, .alert p, .sheet p { margin-top: 0; }
.alert .small { margin-top: 2px; }


/* ---------- asystent ---------- */
.chat-log { display: flex; flex-direction: column; gap: 8px; min-height: 40vh; }
.chat-log > .alert { margin: 0; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; line-height: 1.45; font-size: 15px; overflow-wrap: anywhere; }
.msg p { margin: 0 0 6px; } .msg p:last-child, .msg ul:last-child { margin-bottom: 0; }
.msg ul { margin: 0 0 6px; padding-left: 18px; } .msg li { margin: 2px 0; }
.msg.ai { align-self: flex-start; background: var(--panel); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--acc); color: #fff; border-bottom-right-radius: 6px; }
.msg.me img { display: block; max-width: 100%; max-height: 260px; border-radius: 12px; margin-bottom: 6px; }
.msg.typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); animation: pulse .9s ease-in-out infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
.ai-tool { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mute); padding: 0 6px; }
.ai-card { align-self: stretch; background: var(--panel); border-radius: var(--r-sm); padding: var(--pad); box-shadow: inset 0 0 0 1.5px var(--acc); }
.ai-card.ok, .ai-card.rejected, .ai-card.error { box-shadow: inset 0 0 0 1px var(--line); }
.ai-card > * { margin: 0 0 8px; } .ai-card > :last-child { margin-bottom: 0; }
.ai-card .card-t { color: var(--acc); }
.ai-card .btns { margin: 0; }
.ai-empty { text-align: center; padding: 24px 8px 8px; }
.ai-empty > * { margin: 0 0 var(--gap); }
.ai-badge { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto var(--gap); display: grid; place-items: center; background: rgba(255,106,43,.14); color: var(--acc); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
.chip { border: 0; cursor: pointer; background: var(--panel2); color: var(--text); font: 500 14px var(--f-txt); padding: 9px 14px; border-radius: 999px; }
.chip:active { transform: scale(.97); }
.composer { position: sticky; bottom: calc(var(--nav-h) + var(--safe-b) + 8px); z-index: 5; background: var(--panel); border-radius: var(--r); padding: 8px; box-shadow: 0 8px 30px rgba(0,0,0,.45); }
.composer .row { display: flex; align-items: flex-end; gap: 8px; }
.composer textarea { flex: 1; min-height: 40px; max-height: 140px; resize: none; border: 0; outline: 0; background: transparent; color: var(--text); font: 16px/1.4 var(--f-txt); padding: 9px 4px; }
.composer textarea::placeholder { color: var(--mute); }
.sendbtn { border: 0; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: #fff; flex: none; }
.sendbtn:disabled { opacity: .4; }
.att { position: relative; display: inline-block; margin: 0 0 8px 4px; }
.att img { display: block; height: 72px; border-radius: 10px; }
.att .iconbtn { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; font-size: 16px; }

@media (max-width: 360px) {
  .h1 { font-size: 28px; }
  .huge { font-size: 44px; }
  .stat .v { font-size: 22px; }
  .tab { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
