/* ==============================================
   JERAI Fitness App — Stylesheet
   Version: 1.0
   ============================================== */

:root {
  --bg: #08080e;
  --bg2: #0e0e18;
  --card: #13131f;
  --card2: #1a1a2a;
  --border: #252538;
  --accent: #00e676;
  --accent2: #00c853;
  --aG: rgba(0,230,118,.22);
  --orange: #ff6d3a;
  --cyan: #00bcd4;
  --yellow: #ffc107;
  --red: #ff5252;
  --pink: #ff4081;
  --text: #eeeef3;
  --text2: #8e8ea6;
  --text3: #5a5a72;
  --r: 16px;
  --rs: 10px;
  --rl: 24px;
  --f: 'Outfit', system-ui, sans-serif;
  --nh: 70px;
  --sb: env(safe-area-inset-bottom, 0px)
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html, body { height: 100%; overflow: hidden; background: var(--bg); color: var(--text); font-family: var(--f); -webkit-tap-highlight-color: transparent }
body { position: relative }
input, button, select, textarea { font-family: inherit; border: none; outline: none; background: none; color: inherit }
button { cursor: pointer }
a { text-decoration: none; color: inherit }
::-webkit-scrollbar { width: 3px }
::-webkit-scrollbar-track { background: transparent }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px }

/* --- Screens --- */
.screen { position: absolute; inset: 0; bottom: var(--nh); overflow-y: auto; overflow-x: hidden; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; transform: translateY(8px); z-index: 1; -webkit-overflow-scrolling: touch; padding-bottom: 24px }
.screen.active { opacity: 1; pointer-events: all; transform: translateY(0) }

/* --- Bottom Navigation --- */
.bnav { position: fixed; bottom: 0; left: 0; right: 0; height: calc(var(--nh) + var(--sb)); padding-bottom: var(--sb); background: rgba(12,12,20,.94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-around; z-index: 200 }
.ni { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 14px; color: var(--text3); transition: color .2s }
.ni i { font-size: 19px; transition: transform .2s }
.ni span { font-size: 9.5px; font-weight: 500; letter-spacing: .3px }
.ni.active { color: var(--accent) }
.ni.active i { transform: scale(1.12) }
.nstart { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; color: #000; font-size: 20px; margin-top: -18px; box-shadow: 0 4px 20px var(--aG); transition: transform .12s }
.nstart:active { transform: scale(.9) }

/* --- Splash --- */
#splash { position: fixed; inset: 0; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 9999; transition: opacity .5s, transform .5s }
#splash.hide { opacity: 0; transform: scale(1.04); pointer-events: none }
.sp-logo { font-size: 52px; font-weight: 900; letter-spacing: -3px; background: linear-gradient(135deg, var(--accent), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent }
.sp-tag { color: var(--text3); font-size: 12px; margin-top: 6px; letter-spacing: 3px; text-transform: uppercase }
.sp-bar { width: 120px; height: 3px; background: var(--border); border-radius: 2px; margin-top: 28px; overflow: hidden }
.sp-fill { height: 100%; background: var(--accent); border-radius: 2px; animation: spL 1.6s ease forwards }

/* --- Typography --- */
.st { font-size: 19px; font-weight: 700; letter-spacing: -.3px }

/* --- Cards --- */
.card { background: var(--card); border-radius: var(--r); border: 1px solid var(--border); overflow: hidden; transition: transform .15s }
.card:active { transform: scale(.98) }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: var(--rs); font-weight: 600; font-size: 14.5px; transition: all .12s }
.btn-p { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #000; box-shadow: 0 4px 18px var(--aG) }
.btn-p:active { transform: scale(.96) }
.btn-s { background: var(--card2); border: 1px solid var(--border) }
.btn-s:active { transform: scale(.96) }
.btn-sm { padding: 10px 18px; font-size: 12.5px; border-radius: 8px }
.btn-i { width: 42px; height: 42px; border-radius: 12px; background: var(--card2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--text2) }
.btn-i:active { transform: scale(.9) }
.btn-d { background: rgba(255,82,82,.1); color: var(--red); border: 1px solid rgba(255,82,82,.15) }

/* --- Badges --- */
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 16px; font-size: 10.5px; font-weight: 600; letter-spacing: .2px }
.bg-g { background: rgba(0,230,118,.1); color: var(--accent) }
.bg-o { background: rgba(255,109,58,.1); color: var(--orange) }
.bg-c { background: rgba(0,188,212,.1); color: var(--cyan) }
.bg-y { background: rgba(255,193,7,.1); color: var(--yellow) }
.bg-r { background: rgba(255,82,82,.1); color: var(--red) }
.bg-ai { background: rgba(0,230,118,.12); color: var(--accent); gap: 3px }
.bg-ai i { font-size: 9px }

/* --- Hero --- */
.hero { margin: 16px; padding: 24px 20px; border-radius: var(--rl); position: relative; overflow: hidden; background: linear-gradient(135deg, #0c2218, #091a14, #0e0e1a); border: 1px solid rgba(0,230,118,.08) }
.hero::before { content: ''; position: absolute; top: -50%; right: -25%; width: 280px; height: 280px; background: radial-gradient(circle, rgba(0,230,118,.1), transparent 70%); pointer-events: none }
.hero .gr { font-size: 13px; color: var(--text2) }
.hero .nm { font-size: 26px; font-weight: 800; letter-spacing: -.5px; margin-top: 3px }
.hero .mt { font-size: 12.5px; color: var(--text2); margin-top: 8px; line-height: 1.5 }
.hero .sr { display: flex; align-items: center; gap: 12px; margin-top: 18px }
.sb { display: flex; align-items: center; gap: 7px; background: rgba(0,0,0,.3); padding: 9px 14px; border-radius: 11px }
.sb .n { font-size: 22px; font-weight: 800; color: var(--accent) }
.sb .l { font-size: 10px; color: var(--text2); line-height: 1.3 }
.sb i { font-size: 18px; color: var(--orange) }

/* --- Weekly Chart --- */
.wc { display: flex; align-items: flex-end; gap: 6px; height: 90px; padding: 8px 0 }
.cw { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px }
.cb { width: 100%; border-radius: 5px; min-height: 3px; transition: height .5s cubic-bezier(.22,1,.36,1); background: linear-gradient(to top, var(--accent), rgba(0,230,118,.35)) }
.cb.tod { background: linear-gradient(to top, var(--accent), var(--cyan)); box-shadow: 0 0 10px var(--aG) }
.cb.emp { background: var(--border) }
.cd { font-size: 9.5px; color: var(--text3); font-weight: 500 }

/* --- Category Pills --- */
.pills { display: flex; gap: 7px; overflow-x: auto; padding: 2px 0; scrollbar-width: none }
.pills::-webkit-scrollbar { display: none }
.pill { padding: 7px 16px; border-radius: 18px; font-size: 11.5px; font-weight: 600; white-space: nowrap; background: var(--card); border: 1px solid var(--border); color: var(--text2); transition: all .2s }
.pill.on { background: var(--accent); color: #000; border-color: var(--accent) }

/* --- Exercise Grid --- */
.eg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.ec .ea { height: 82px; display: flex; align-items: center; justify-content: center; font-size: 32px; position: relative; overflow: hidden }
.ec .en { font-size: 12.5px; font-weight: 600; padding: 8px 10px 3px }
.ec .em { font-size: 9.5px; color: var(--text3); padding: 0 10px 10px }
.ec .aib { position: absolute; top: 6px; right: 6px }

/* --- Plan Cards --- */
.pc { padding: 18px; position: relative; overflow: hidden }
.pc .pi { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 12px }
.pc .pn { font-size: 16px; font-weight: 700 }
.pc .pd { font-size: 11.5px; color: var(--text2); margin-top: 3px; line-height: 1.4 }
.pc .pm { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap }
.pc .mi { display: flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--text2) }
.pc .mi i { font-size: 9px; color: var(--text3) }
.pc .pa { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--text3); font-size: 13px }

/* --- Exercise Detail --- */
.dh { padding: 36px 20px 20px; text-align: center; position: relative; overflow: hidden }
.dh .di { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 32px }
.dh .dn { font-size: 24px; font-weight: 800; letter-spacing: -.5px }
.dh .dm { font-size: 12px; color: var(--text2); margin-top: 5px }
.ds { padding: 0 20px; margin-top: 22px }
.ds .dt { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--text2); margin-bottom: 10px }
.dil { list-style: none }
.dil li { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text); display: flex; gap: 10px; align-items: flex-start }
.dil .sn { width: 22px; height: 22px; border-radius: 50%; background: var(--card2); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: var(--accent); flex-shrink: 0 }
.dtl { list-style: none }
.dtl li { padding: 7px 0; font-size: 12.5px; color: var(--text2); display: flex; gap: 9px; align-items: flex-start }
.dtl li i { color: var(--yellow); margin-top: 2px; font-size: 11px }

/* --- Camera Overlay --- */
.camov { position: fixed; inset: 0; z-index: 300; background: #000; display: none; flex-direction: column }
.camov.vis { display: flex }
.camov video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); z-index: 1 }
.camov canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2 }
.ctop { position: absolute; top: 0; left: 0; right: 0; z-index: 3; padding: 14px 18px; padding-top: max(14px, env(safe-area-inset-top)); background: linear-gradient(to bottom, rgba(0,0,0,.7), transparent); display: flex; align-items: center; justify-content: space-between }
.cbot { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; padding: 18px; padding-bottom: max(18px, calc(var(--sb) + 14px)); background: linear-gradient(to top, rgba(0,0,0,.8), transparent) }
.crd { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3; text-align: center; pointer-events: none }
.crn { font-size: 110px; font-weight: 900; line-height: 1; color: var(--accent); text-shadow: 0 0 50px var(--aG), 0 0 100px rgba(0,230,118,.08); transition: transform .1s }
.crn.bmp { transform: scale(1.12) }
.crt { font-size: 15px; color: rgba(255,255,255,.4); font-weight: 500; margin-top: -6px }
.crl { font-size: 11px; color: var(--text2); margin-top: 3px; text-transform: uppercase; letter-spacing: 2px }
.cff { position: absolute; top: 34%; left: 50%; transform: translateX(-50%); z-index: 3; padding: 6px 16px; border-radius: 16px; font-size: 12px; font-weight: 500; white-space: nowrap; opacity: 0; transition: opacity .25s; pointer-events: none }
.cff.sh { opacity: 1 }
.cff.gd { background: rgba(0,230,118,.18); color: var(--accent); border: 1px solid rgba(0,230,118,.25) }
.cff.bd { background: rgba(255,82,82,.18); color: var(--red); border: 1px solid rgba(255,82,82,.25) }
.cprog { width: 100%; height: 5px; background: rgba(255,255,255,.08); border-radius: 3px; margin-top: 12px; overflow: hidden }
.cpf { height: 100%; background: linear-gradient(90deg, var(--accent), var(--cyan)); border-radius: 3px; transition: width .25s }
.cctrl { display: flex; gap: 10px; margin-top: 14px; justify-content: center }
.cbi { width: 48px; height: 48px; border-radius: 50%; font-size: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; color: var(--text); transition: all .15s }
.cbi:active { transform: scale(.9); background: rgba(255,255,255,.18) }
.cbi.act { background: var(--accent); color: #000; border-color: var(--accent) }
.cdst { display: flex; align-items: center; gap: 5px; font-size: 10.5px; margin-top: 8px; justify-content: center; color: var(--text2) }
.cdst .dot { width: 7px; height: 7px; border-radius: 50% }
.cdst .dot.on { background: var(--accent); animation: pulse 1.4s infinite }
.cdst .dot.off { background: var(--red) }
.ccls { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--text) }

/* --- Manual Count --- */
.manov { position: fixed; inset: 0; z-index: 300; background: var(--bg); display: none; flex-direction: column; align-items: center; justify-content: center }
.manov.vis { display: flex }
.mrb { font-size: 150px; font-weight: 900; line-height: 1; background: linear-gradient(135deg, var(--accent), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; transition: transform .08s; user-select: none }
.mrb.bmp { transform: scale(1.06) }
.mrt { font-size: 17px; color: var(--text2); margin-top: -6px }
.men { font-size: 19px; font-weight: 700; margin-top: 22px }
.msi { font-size: 13px; color: var(--text2); margin-top: 3px }
.mta { width: 150px; height: 150px; border-radius: 50%; margin-top: 36px; background: linear-gradient(135deg, rgba(0,230,118,.12), rgba(0,188,212,.08)); border: 2px solid rgba(0,230,118,.25); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; transition: transform .08s; user-select: none; -webkit-user-select: none }
.mta:active { transform: scale(.92); background: rgba(0,230,118,.2) }
.mta i { font-size: 28px; color: var(--accent) }
.mta span { font-size: 12px; color: var(--text2); font-weight: 500 }
.mctrl { display: flex; gap: 10px; margin-top: 28px }
.mcam-warn { position: absolute; top: 18px; right: 18px; left: 18px; padding: 10px 14px; border-radius: 12px; background: rgba(255,193,7,.08); border: 1px solid rgba(255,193,7,.15); display: flex; align-items: flex-start; gap: 10px; font-size: 11px; color: var(--yellow); line-height: 1.4 }
.mcam-warn i { font-size: 14px; margin-top: 1px; flex-shrink: 0 }

/* --- Rest Timer --- */
.restov { position: fixed; inset: 0; z-index: 350; background: var(--bg); display: none; flex-direction: column; align-items: center; justify-content: center }
.restov.vis { display: flex }
.rc { width: 190px; height: 190px; position: relative; display: flex; align-items: center; justify-content: center }
.rc svg { position: absolute; inset: 0; transform: rotate(-90deg) }
.rtm { font-size: 52px; font-weight: 800; letter-spacing: -2px }
.rtl { font-size: 11px; color: var(--text2); text-transform: uppercase; letter-spacing: 2px; margin-top: -2px }
.rn2 { margin-top: 28px; text-align: center }
.rn2 .nl { font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: 1px }
.rn2 .nn { font-size: 18px; font-weight: 700; margin-top: 5px }
.rsk { margin-top: 28px }

/* --- Set Complete --- */
.setcov { position: fixed; inset: 0; z-index: 400; background: rgba(0,0,0,.88); display: none; align-items: center; justify-content: center; flex-direction: column }
.setcov.vis { display: flex }
.scc { width: 90px; height: 90px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; font-size: 40px; color: #000; animation: popIn .35s cubic-bezier(.175,.885,.32,1.275); box-shadow: 0 0 50px var(--aG) }
.sct { font-size: 26px; font-weight: 800; margin-top: 18px; letter-spacing: -.4px }
.scr2 { font-size: 15px; color: var(--text2); margin-top: 5px }
.sca { display: flex; gap: 10px; margin-top: 28px }

/* --- Summary --- */
.sumov { position: fixed; inset: 0; z-index: 350; background: var(--bg); display: none; overflow-y: auto; padding: 20px; padding-bottom: 80px }
.sumov.vis { display: block }
.sumh { text-align: center; padding-top: 36px }
.sumh i { font-size: 56px; margin-bottom: 10px; color: var(--yellow); animation: fl 3s ease-in-out infinite }
.sumh .sht { font-size: 26px; font-weight: 800; letter-spacing: -.4px }
.sumh .shs { color: var(--text2); font-size: 13px; margin-top: 4px }
.ssg { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 28px }
.ssi { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 14px; text-align: center }
.ssi .sn { font-size: 26px; font-weight: 800 }
.ssi .sl { font-size: 10px; color: var(--text2); margin-top: 3px; text-transform: uppercase; letter-spacing: .4px }
.sex { margin-top: 22px }
.ser { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--border) }
.ser:last-child { border: none }
.sei { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0 }
.sef { flex: 1 }
.sef .en2 { font-size: 13px; font-weight: 600 }
.sef .es { font-size: 11px; color: var(--text2); margin-top: 1px }
.ser .er { font-size: 15px; font-weight: 700; color: var(--accent) }

/* --- History --- */
.hs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px }
.hi { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 14px; text-align: center }
.hi .hn { font-size: 20px; font-weight: 800 }
.hi .hl { font-size: 9.5px; color: var(--text2); text-transform: uppercase; letter-spacing: .4px; margin-top: 3px }
.hwi { padding: 14px 0; border-bottom: 1px solid var(--border) }
.hwi:last-child { border: none }
.hwi .ht { display: flex; justify-content: space-between; align-items: flex-start }
.hwi .hwn { font-size: 14px; font-weight: 600 }
.hwi .hwd { font-size: 10px; color: var(--text3) }
.hwi .hws { display: flex; gap: 14px; margin-top: 6px }
.hwi .hws div { font-size: 11px; color: var(--text2) }
.hwi .hws span { color: var(--text); font-weight: 600 }

/* --- Profile --- */
.ph { text-align: center; padding: 28px 20px }
.pav { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--cyan)); margin: 0 auto; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; color: #000 }
.pnm { font-size: 20px; font-weight: 700; margin-top: 10px }
.pjn { font-size: 11px; color: var(--text3); margin-top: 3px }
.psg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 20px }
.psi { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 16px }
.psi .pv { font-size: 24px; font-weight: 800 }
.psi .pl { font-size: 10px; color: var(--text2); margin-top: 3px }
.pset { padding: 20px }
.srow { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border) }
.srow:last-child { border: none }
.srow .srl { display: flex; align-items: center; gap: 10px }
.srow .sli { width: 34px; height: 34px; border-radius: 9px; background: var(--card2); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--text2) }
.srow .snm { font-size: 13px; font-weight: 500 }
.srow .sd { font-size: 10px; color: var(--text3); margin-top: 1px }
.tog { width: 44px; height: 26px; border-radius: 13px; background: var(--border); position: relative; transition: background .2s; cursor: pointer; flex-shrink: 0 }
.tog.on { background: var(--accent) }
.tog .tk { width: 20px; height: 20px; border-radius: 50%; background: #fff; position: absolute; top: 3px; left: 3px; transition: transform .2s; box-shadow: 0 2px 4px rgba(0,0,0,.2) }
.tog.on .tk { transform: translateX(18px) }

/* --- Toast --- */
.tc { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 9998; display: flex; flex-direction: column; gap: 6px; align-items: center; pointer-events: none }
.toast { padding: 10px 20px; border-radius: 10px; font-size: 12.5px; font-weight: 600; background: var(--card2); border: 1px solid var(--border); box-shadow: 0 6px 24px rgba(0,0,0,.4); animation: tIn .25s ease; display: flex; align-items: center; gap: 7px; white-space: nowrap; pointer-events: auto; max-width: 90vw; text-align: center }
.toast.suc { border-color: rgba(0,230,118,.25); color: var(--accent) }
.toast.err { border-color: rgba(255,82,82,.25); color: var(--red) }
.toast.inf { border-color: rgba(0,188,212,.25); color: var(--cyan) }
.toast.wrn { border-color: rgba(255,193,7,.25); color: var(--yellow) }

/* --- Loading --- */
.lo { position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,.88); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px }
.lo.vis { display: flex }
.lsp { width: 42px; height: 42px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite }
.ltx { font-size: 13px; color: var(--text2); font-weight: 500; max-width: 280px; text-align: center; line-height: 1.4 }

/* --- Confetti --- */
.cfp { position: fixed; top: -8px; width: 7px; height: 7px; border-radius: 2px; z-index: 450; animation: cfall linear forwards; pointer-events: none }

/* --- Empty State --- */
.empty { text-align: center; padding: 50px 20px; color: var(--text3) }
.empty i { font-size: 40px; margin-bottom: 12px; opacity: .25 }
.empty p { font-size: 13px; line-height: 1.5 }

/* --- Preview --- */
.pty { padding: 24px 20px; text-align: center; position: relative }
.pty .pb { position: absolute; left: 14px; top: 24px }
.pty .pyn { font-size: 22px; font-weight: 800; letter-spacing: -.4px }
.pty .pyd { font-size: 12px; color: var(--text2); margin-top: 5px }
.pym { display: flex; justify-content: center; gap: 18px; margin-top: 14px; flex-wrap: wrap }
.pym div { text-align: center }
.pym .v { font-size: 17px; font-weight: 700 }
.pym .l { font-size: 9.5px; color: var(--text3); text-transform: uppercase; letter-spacing: .4px; margin-top: 1px }
.pxl { padding: 14px 20px }
.pxr { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border) }
.pxr:last-child { border: none }
.pxr .pnum { width: 26px; height: 26px; border-radius: 50%; background: var(--card2); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--text2); flex-shrink: 0 }
.pxr .pif { flex: 1 }
.pxr .pif .nm { font-size: 13px; font-weight: 600 }
.pxr .pif .dt { font-size: 11px; color: var(--text2); margin-top: 1px }
.pxr .prp { font-size: 13px; font-weight: 700; color: var(--accent) }
.pxst { margin: 20px 20px }

/* --- Animations --- */
@keyframes spin { to { transform: rotate(360deg) } }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
@keyframes popIn { 0% { transform: scale(0); opacity: 0 } 100% { transform: scale(1); opacity: 1 } }
@keyframes fl { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-6px) } }
@keyframes tIn { 0% { transform: translateY(-16px); opacity: 0 } 100% { transform: translateY(0); opacity: 1 } }
@keyframes cfall { 0% { transform: translateY(0) rotate(0); opacity: 1 } 100% { transform: translateY(100vh) rotate(600deg); opacity: 0 } }
@keyframes fadeUp { 0% { opacity: 0; transform: translateY(14px) } 100% { opacity: 1; transform: translateY(0) } }
@keyframes spL { 0% { width: 0 } 100% { width: 100% } }
.fu { animation: fadeUp .45s ease both }
.f1 { animation-delay: .08s }
.f2 { animation-delay: .16s }
.f3 { animation-delay: .24s }

/* --- Responsive --- */
@media (min-width: 480px) {
  .eg { grid-template-columns: repeat(3, 1fr) }
  .screen { max-width: 440px; margin: 0 auto }
  .bnav { max-width: 440px; left: 50%; transform: translateX(-50%) }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important }
}