/* HomeFit — شاشات التطبيق داخل إطار هاتف (الموقع ومحاكي لوحة التحكّم) */
.hfa { --r: #8C0010; --rd: #5E000B; --rt: #F7E8EA; --k: #000; --k2: #3A3A3A; --k3: #757575; --m: #F1F0F0; --ln: #E2E1E1;
  font-family: "IBM Plex Sans Arabic", system-ui, sans-serif; color: var(--k); }
.hfa *, .hfa *::before, .hfa *::after { box-sizing: border-box; }
:where(.hfa) :where(button) { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; text-align: inherit; }
.hfa h1, .hfa h2, .hfa h3 { font-family: "Baloo Bhaijaan 2", system-ui, sans-serif; margin: 0; line-height: 1.2; }
.hfa p { margin: 0; }
.hfa-phone { width: 340px; height: 700px; border-radius: 46px; background: #000; padding: 11px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), inset 0 0 0 2px #333; }
.hfa-screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.hfa-screen.red { background: var(--r); color: #fff; }
.hfa-status { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 26px; font: 600 13px system-ui; flex-shrink: 0; }
.hfa-status span { width: 96px; height: 26px; background: #000; border-radius: 16px; }
.hfa-status i { width: 22px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; }
.hfa-status i::after { content: ""; position: absolute; inset: 1.5px; right: 5px; background: currentColor; border-radius: 1px; }
.hfa-view { flex: 1; display: flex; flex-direction: column; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.hfa-view::-webkit-scrollbar { display: none; }
.hfa-ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.hfa[dir="ltr"] .hfa-ic.flip { transform: scaleX(-1); }
.hfa[dir="rtl"] .hfa-li .hfa-ic, .hfa[dir="rtl"] .hfa-card.row .hfa-ic { transform: scaleX(-1); }
.hfa-aed { display: inline-flex; align-items: center; gap: 3px; direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.hfa-aed img { height: .75em; width: auto; }

.hfa-head { display: flex; align-items: center; gap: 8px; padding: 6px 18px 10px; position: sticky; top: 0; background: #fff; z-index: 3; }
.hfa-head h1 { font-size: 22px; }
.hfa-sp { flex: 1; }
.hfa-icbtn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--m); position: relative; }
.hfa-icbtn.sm { width: 32px; height: 32px; }
.hfa-icbtn.sm .hfa-ic { width: 17px; height: 17px; }
.hfa-dot { position: absolute; top: 8px; inset-inline-end: 9px; width: 8px; height: 8px; background: var(--r); border-radius: 50%; border: 1.5px solid #fff; }
.hfa-ava { width: 38px; height: 38px; border-radius: 50%; background: var(--k); color: #fff; display: grid; place-items: center; font-weight: 700; }
.hfa-ava.lg { width: 56px; height: 56px; font-size: 22px; }
.hfa-body { padding: 4px 16px 18px; display: flex; flex-direction: column; gap: 12px; }

.hfa-tabs { position: sticky; bottom: 0; margin-top: auto; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--ln); padding: 6px 4px 16px; z-index: 3; }
.hfa-tabs button { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--k3); padding: 4px 0; }
.hfa-tabs button.on { color: var(--r); font-weight: 600; }

.hfa-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; border-radius: 16px !important; background: var(--k) !important; color: #fff !important; font-weight: 600 !important; text-align: center !important; }
.hfa-btn.light { background: #fff !important; color: var(--k) !important; }
.hfa-btn.ghost { background: var(--m) !important; color: var(--k) !important; }
.hfa-btn.sm { min-height: 34px; width: auto; padding: 0 14px !important; border-radius: 10px !important; font-size: 13px; }
.hfa-btn[disabled] { opacity: .45; cursor: default; }
.hfa-btn .hfa-ic { width: 18px; height: 18px; fill: currentColor; }
.hfa-link { color: var(--k3); font-size: 13px; text-decoration: underline; }
.hfa-link.light { color: #fff; opacity: .85; margin-top: 12px; text-align: center !important; }

.hfa-card { background: var(--m); border-radius: 18px; padding: 14px 16px; display: block; width: 100%; }
.hfa-card small { color: var(--k3); font-size: 12.5px; display: block; }
.hfa-card.hero { background: var(--r); color: #fff; padding: 18px; }
.hfa-card.hero small { color: rgba(255,255,255,.75); }
.hfa-card.hero h3 { font-size: 23px; margin: 2px 0; }
.hfa-card.hero p { font-size: 13.5px; opacity: .85; }
.hfa-card.rest { background: #fff; border: 2px dashed var(--ln); text-align: center; padding: 22px; }
.hfa-card.rest h3 { font-size: 19px; margin-top: 4px; }
.hfa-card.row { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.hfa-card.row b { display: block; font-size: 14.5px; line-height: 1.35; }
.hfa-card.row em { font-style: normal; font-weight: 700; font-size: 13px; white-space: nowrap; }
.hfa-card.row.sm { margin-top: 6px; }
.hfa-card.tip p { font-size: 14px; color: var(--k2); margin-top: 2px; }
.hfa-faces { display: flex; gap: 6px; margin: 12px 0 14px; }
.hfa-faces img { width: 46px; height: 40px; object-fit: cover; border-radius: 9px; background: #fff; }
.hfa-streak { display: flex; align-items: center; gap: 6px; color: var(--r); font-size: 14px; }
.hfa-streak .hfa-ic { fill: var(--r); stroke: none; width: 18px; }
.hfa-live { background: var(--k); color: #fff; font-size: 12px; font-weight: 600; border-radius: 99px; padding: 3px 12px; align-self: flex-start; }
.hfa-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hfa-mini { background: var(--m); border-radius: 16px; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; text-align: center !important; }
.hfa-mini b { font-size: 15px; margin-top: 4px; }
.hfa-mini small { font-size: 11px; color: var(--k3); line-height: 1.3; }
.hfa-ring { width: 46px; height: 46px; transform: rotate(-90deg); }
.hfa-ring circle { fill: none; stroke: #fff; stroke-width: 7; }
.hfa-ring circle.v { stroke: var(--r); stroke-linecap: round; transition: stroke-dashoffset .4s; }

.hfa-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 0 12px 8px; }
.hfa-week button { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 0; border-radius: 12px; font-size: 11px; color: var(--k2); }
.hfa-week i { width: 7px; height: 7px; border-radius: 50%; background: var(--r); }
.hfa-week .off i { background: transparent; border: 1.5px solid var(--ln); }
.hfa-week button.on { background: var(--k); color: #fff; }
.hfa-dayhead { display: flex; justify-content: space-between; align-items: baseline; }
.hfa-dayhead h3 { font-size: 20px; }
.hfa-dayhead span { color: var(--k3); font-size: 13px; }
.hfa-exlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hfa-ex { display: grid !important; grid-template-columns: 62px 1fr auto; gap: 10px; align-items: center; width: 100%; background: var(--m); border-radius: 14px; padding: 7px !important; }
.hfa-thumb { width: 62px; height: 52px; border-radius: 10px; overflow: hidden; position: relative; background: #fff; }
.hfa-thumb img, .hfa-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hfa-thumb img + img, .hfa-stage img + img { animation: hfaflip 2.4s steps(1) infinite; }
@keyframes hfaflip { 0%, 49% { opacity: 0; } 50%, 100% { opacity: 1; } }
.hfa-exn b { display: block; font-size: 14px; line-height: 1.3; }
.hfa-exn small { font-size: 12px; color: var(--k3); }
.hfa-go { width: 16px; height: 16px; fill: var(--r); stroke: none; }

.hfa-player { padding: 0 16px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.hfa-stage { position: relative; height: 215px; flex-shrink: 0; border-radius: 20px; overflow: hidden; background: var(--m); }
.hfa-vid { position: absolute; bottom: 10px; inset-inline-end: 10px; width: 40px; height: 40px; border-radius: 50%; background: var(--r); display: grid; place-items: center; }
.hfa-vid .hfa-ic { fill: #fff; stroke: none; width: 16px; }
.hfa-prog { display: flex; gap: 4px; }
.hfa-prog i { flex: 1; height: 4px; border-radius: 2px; background: var(--ln); }
.hfa-prog i.d { background: var(--k); }
.hfa-prog i.c { background: var(--r); }
.hfa-player h2 { font-size: 24px; }
.hfa-setof { color: var(--k3); }
.hfa-reps { font: 800 56px/1 "Baloo Bhaijaan 2", sans-serif; color: var(--r); text-align: center; margin: 6px 0 8px; }
.hfa-player .hfa-btn { margin-top: auto; }
.hfa-timer { display: grid; place-items: center; width: 140px; height: 140px; border-radius: 50%; border: 8px solid var(--r); margin: 4px auto; }
.hfa-timer b { font: 800 46px/1 "Baloo Bhaijaan 2", sans-serif; }
.hfa-timer small { color: var(--k3); margin-top: -18px; }
.hfa-done { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 24px; }
.hfa-done img { width: 90px; }
.hfa-done h2 { font-size: 30px; color: var(--r); }
.hfa-done p { color: var(--k2); margin-bottom: 14px; }

.hfa-macros { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 6px; }
.hfa-macros div { background: var(--m); border-radius: 14px; padding: 10px 8px; text-align: center; }
.hfa-macros .big { background: var(--k); color: #fff; }
.hfa-macros b { display: block; font-size: 16px; }
.hfa-macros .big b { font-size: 21px; }
.hfa-macros small { font-size: 11px; opacity: .75; }
.hfa-meal { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--ln); }
.hfa-meal small { color: var(--r); font-size: 12px; font-weight: 600; display: block; }
.hfa-meal b { display: block; font-size: 14px; line-height: 1.35; }
.hfa-meal em { font-style: normal; font-size: 11.5px; color: var(--k3); }
.hfa-tick { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ln) !important; display: grid; place-items: center; color: transparent !important; }
.hfa-tick .hfa-ic { width: 16px; height: 16px; }
.hfa-meal.ate .hfa-tick { background: var(--r); border-color: var(--r) !important; color: #fff !important; }
.hfa-meal.ate b { text-decoration: line-through; color: var(--k3); }
.hfa-shop ul { list-style: none; margin: 0; padding: 4px 4px 0; font-size: 14px; display: grid; gap: 6px; }
.hfa-shop input { accent-color: var(--r); }

.hfa-chart { width: 100%; height: 130px; margin: 8px 0; overflow: visible; }
.hfa-chart polyline { fill: none; stroke: var(--r); stroke-width: 3; stroke-linejoin: round; }
.hfa-chart circle { fill: var(--r); }
.hfa-chart .tg { stroke: var(--k); stroke-dasharray: 4 4; stroke-width: 1; }
.hfa-wrow { display: flex; justify-content: space-between; text-align: center; }
.hfa-wrow b { font-size: 18px; }
.hfa-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hfa-stats div { background: var(--k); color: #fff; border-radius: 16px; padding: 14px; }
.hfa-stats b { font: 800 30px/1 "Baloo Bhaijaan 2", sans-serif; display: block; }
.hfa-stats small { font-size: 12px; opacity: .75; }
.hfa-cal { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin-top: 10px; }
.hfa-cal i { aspect-ratio: 1; border-radius: 6px; background: #fff; }
.hfa-cal i.on { background: var(--r); }

.hfa-chat { padding: 0 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.hfa-coachid { display: flex; align-items: center; gap: 10px; padding: 4px 0 8px; }
.hfa-coachid img { width: 36px; background: var(--rt); border-radius: 50%; padding: 5px; }
.hfa-coachid b { display: block; font-size: 14px; }
.hfa-coachid small { font-size: 12px; color: var(--k3); }
.hfa-msg { max-width: 84%; padding: 9px 13px; border-radius: 16px; font-size: 13.5px; line-height: 1.55; }
.hfa-msg.user { align-self: flex-end; background: var(--k); color: #fff; border-end-end-radius: 4px; }
.hfa-msg.coach { align-self: flex-start; background: var(--m); border-end-start-radius: 4px; }
.hfa-ask { display: flex; gap: 6px; padding: 8px 12px; border-top: 1px solid var(--ln); background: #fff; position: sticky; bottom: 62px; }
.hfa-ask input { flex: 1; min-width: 0; border: 1.5px solid var(--ln); border-radius: 12px; padding: 0 12px; font: inherit; font-size: 14px; height: 38px; }

.hfa-expert { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; background: var(--m); border-radius: 16px; padding: 12px; }
.hfa-eav { width: 44px; height: 44px; border-radius: 50%; background: var(--r); color: #fff; display: grid; place-items: center; font-weight: 700; }
.hfa-expert b { display: block; font-size: 14.5px; }
.hfa-expert small { display: block; font-size: 12px; color: var(--k3); }
.hfa-expert em { font-style: normal; font-size: 12px; display: inline-flex; align-items: center; gap: 3px; }
.hfa-expert em .hfa-ic { width: 13px; height: 13px; fill: var(--r); stroke: none; }
.hfa-eprice { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-weight: 700; font-size: 14px; }

.hfa-note { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--ln); }
.hfa-note img { width: 36px; height: 36px; border-radius: 9px; }
.hfa-note b { font-size: 13.5px; }
.hfa-note p { font-size: 13px; color: var(--k2); line-height: 1.45; }
.hfa-note small { font-size: 11px; color: var(--k3); white-space: nowrap; }

.hfa-me { display: flex; align-items: center; gap: 12px; }
.hfa-me b { display: block; font-size: 17px; }
.hfa-me small { color: var(--k3); font-size: 13px; }
.hfa-group { background: var(--m); border-radius: 16px; overflow: hidden; }
.hfa-group h4 { margin: 0; padding: 10px 14px 2px; font-size: 12px; color: var(--k3); font-weight: 600; }
.hfa-li { display: flex !important; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 12px 14px !important; font-size: 14px; border-bottom: 1px solid #fff; }
.hfa-li:last-child { border-bottom: 0; }
.hfa-li small { color: var(--k3); margin-inline-start: 6px; }
.hfa-li .hfa-ic { width: 16px; color: var(--k3); }
.hfa-li.red { color: var(--r) !important; }
.hfa-tg { width: 44px; height: 26px; border-radius: 99px; background: var(--ln) !important; position: relative; flex-shrink: 0; }
.hfa-tg i { position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: inset-inline-start .2s; }
.hfa-tg.on { background: var(--r) !important; }
.hfa-tg.on i { inset-inline-start: 21px; }

.hfa-welcome { flex: 1; display: flex; flex-direction: column; align-items: stretch; padding: 34px 24px 30px; gap: 10px; }
/* الشعار أصغر وفي الأعلى، والفراغ بينه وبين الأزرار */
.hfa-logo { width: 150px; margin: 8px auto 0; }
.hfa-wsp { flex: 1; }
/* اللغات على سطرين: ثلاث ثمّ اثنتان */
.hfa-langs.two { flex-wrap: wrap; row-gap: 8px; padding: 0 18px; }
.hfa-langs.two button { flex: 0 0 calc(33.333% - 6px); padding-inline: 4px; text-align: center !important; }
.hfa-wl { text-align: center; opacity: .9; margin-bottom: 20px; }
.hfa-langs { display: flex; gap: 6px; justify-content: center; margin-bottom: 10px; }
.hfa-langs button { padding: 6px 14px; border-radius: 99px; border: 1.5px solid rgba(255,255,255,.5) !important; font-size: 13px; }
.hfa-langs button.on { background: #fff; color: var(--r); border-color: #fff !important; }
.hfa-langs.dark { padding: 10px; justify-content: flex-start; }
.hfa-langs.dark button { border-color: var(--ln) !important; background: #fff; }
.hfa-langs.dark button.on { background: var(--k); color: #fff; border-color: var(--k) !important; }

.hfa-quiz { flex: 1; display: flex; flex-direction: column; padding: 6px 18px 22px; gap: 14px; }
.hfa-qtop { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; }
.hfa-bar { height: 6px; background: var(--m); border-radius: 3px; overflow: hidden; }
.hfa-bar i { display: block; height: 100%; background: var(--r); transition: width .3s; }
.hfa-qtop small { color: var(--k3); font-size: 12px; }
.hfa-quiz h2 { font-size: 27px; margin-top: 8px; }
.hfa-qbody { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.hfa-opts { display: grid; gap: 8px; }
.hfa-opts.row { grid-template-columns: repeat(5, 1fr); }
.hfa-opts.row:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
.hfa-opt { border: 2px solid var(--ln) !important; border-radius: 14px; padding: 14px 16px !important; font-weight: 600; }
.hfa-opt.sq { text-align: center !important; padding: 12px 0 !important; font-size: 18px; }
.hfa-opt.sq small { display: block; font-size: 11px; font-weight: 400; color: var(--k3); }
.hfa-opt.on { border-color: var(--k) !important; background: var(--k); color: #fff !important; }
.hfa-opt.on small { color: #ccc; }
.hfa-lbl { font-weight: 600; margin-top: 8px; }
.hfa-num { display: grid; grid-template-columns: 1fr auto 34px; align-items: center; gap: 8px; background: var(--m); border-radius: 14px; padding: 8px 12px; }
.hfa-num div { display: flex; align-items: center; gap: 12px; direction: ltr; }
.hfa-num div button { width: 32px; height: 32px; border-radius: 50%; background: #fff !important; font-size: 19px; text-align: center !important; }
.hfa-num b { min-width: 34px; text-align: center; font-size: 18px; }
.hfa-num em { font-style: normal; font-size: 12px; color: var(--k3); }

.hfa-building { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; gap: 16px; }
.hfa-spin { width: 96px; height: 96px; border-radius: 50%; border: 5px solid var(--m); border-top-color: var(--r); display: grid; place-items: center; animation: hfaspin 1s linear infinite; }
.hfa-spin img { width: 44px; animation: hfaspin 1s linear infinite reverse; }
@keyframes hfaspin { to { transform: rotate(360deg); } }
.hfa-building h2 { font-size: 22px; }
.hfa-building ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.hfa-building li { display: flex; gap: 8px; align-items: center; opacity: 0; animation: hfain .4s forwards; }
.hfa-building li .hfa-ic { color: var(--r); width: 18px; }
@keyframes hfain { to { opacity: 1; } }

.hfa-pay { flex: 1; display: flex; flex-direction: column; padding: 4px 18px 16px; gap: 10px; position: relative; }
.hfa-x { position: absolute; top: 0; inset-inline-end: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--m) !important; font-size: 20px; text-align: center !important; }
.hfa-paymark { width: 54px; margin: 6px auto 0; }
.hfa-pay h2 { font-size: 25px; text-align: center; }
.hfa-pay > p { text-align: center; color: var(--k2); font-size: 14px; }
.hfa-checks { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; }
.hfa-checks li { display: flex; align-items: center; gap: 8px; }
.hfa-checks .hfa-ic { color: var(--r); width: 17px; }
.hfa-plans { display: grid; gap: 8px; }
.hfa-plan { position: relative; border: 2px solid var(--ln) !important; border-radius: 14px; padding: 10px 14px !important; display: grid !important; grid-template-columns: 1fr auto; align-items: center; gap: 0 8px; }
.hfa-plan.on { border-color: var(--r) !important; background: var(--rt); }
.hfa-plan b { font-size: 15px; }
.hfa-plan > span { font-weight: 700; grid-row: 1 / span 2; grid-column: 2; text-align: end; }
.hfa-plan > span small { display: block; font-weight: 400; font-size: 11px; color: var(--k3); }
.hfa-plan .eq { font-size: 11.5px; color: var(--r); }
.hfa-plan em { position: absolute; top: -9px; inset-inline-end: 12px; background: var(--r); color: #fff; font-style: normal; font-size: 10.5px; padding: 0 8px; border-radius: 99px; }
.hfa-legal { font-size: 10.5px; color: var(--k3); line-height: 1.5; text-align: center; }
.hfa-paylinks { display: flex; justify-content: center; gap: 14px; }

.hfa-toast { position: absolute; bottom: 90px; inset-inline: 16px; background: var(--k); color: #fff; padding: 11px 14px; border-radius: 14px; font-size: 13px; z-index: 9; text-align: center; }

/* حاسبة السعرات */
.hfa-calcbtn { background: var(--rt) !important; }
.hfa-calcbtn b { color: var(--r); }
.hfa-calcsub { font-size: 13.5px; color: var(--k2); }
.hfa-inc { display: inline-block; background: var(--k); color: #fff; font-size: 11px; font-weight: 600; border-radius: 99px; padding: 0 8px; margin-inline-start: 4px; }
.hfa-target { background: var(--r); color: #fff; border-radius: 18px; padding: 16px; }
.hfa-target small { opacity: .8; display: block; font-size: 12.5px; }
.hfa-target > b { font: 800 44px/1.05 "Baloo Bhaijaan 2", sans-serif; }
.hfa-target > span { margin-inline-start: 6px; opacity: .85; }
.hfa-split { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin: 12px 0 8px; gap: 2px; }
.hfa-split i:nth-child(1) { background: #fff; }
.hfa-split i:nth-child(2) { background: rgba(255,255,255,.6); }
.hfa-split i:nth-child(3) { background: #000; }
.hfa-split-l { display: flex; justify-content: space-between; font-size: 12px; }
.hfa-split-l b { display: block; font-size: 15px; }
.hfa-opts.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hfa-opt.sm { padding: 7px 12px !important; font-size: 13px; border-radius: 99px; }

/* أهداف متعدّدة */
.hfa-hint { color: var(--k3); font-size: 13.5px; margin-top: -6px; }
.hfa-opt.multi { display: flex !important; align-items: center; gap: 10px; }
.hfa-opt.multi .hfa-ic { width: 22px; height: 22px; padding: 3px; border-radius: 6px; border: 2px solid var(--ln); color: transparent; }
.hfa-opt.multi.on .hfa-ic { background: var(--r); border-color: var(--r); color: #fff; }

/* خطّتك */
.hfa-cap { display: block; color: var(--k3); font-size: 12.5px; margin-bottom: 6px; }
.hfa-goalchips { display: flex; flex-wrap: wrap; gap: 6px; }
.hfa-goalchips span { background: var(--k); color: #fff; border-radius: 99px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
.hfa-trio.two { grid-template-columns: 1fr 1fr; }
.hfa-first { background: var(--r); color: #fff; border-radius: 18px; padding: 16px; }
.hfa-first h3 { font-size: 19px; margin-bottom: 8px; }
.hfa-first ol { margin: 0; padding: 0; list-style: none; counter-reset: f; display: grid; gap: 8px; }
.hfa-first li { counter-increment: f; display: grid; grid-template-columns: 26px 1fr; gap: 8px; font-size: 14px; line-height: 1.5; }
.hfa-first li::before { content: counter(f); width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--r); font-weight: 700; display: grid; place-items: center; font-size: 13px; }
.hfa-road { list-style: none; margin: 0; padding: 0; }
.hfa-road li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; position: relative; padding-bottom: 12px; }
.hfa-road li::before { content: ""; position: absolute; inset-inline-start: 8px; top: 18px; bottom: 0; width: 2px; background: var(--ln); }
.hfa-road li:last-child::before { display: none; }
.hfa-road i { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--ln); background: #fff; margin-top: 2px; }
.hfa-road li.now i { border-color: var(--r); background: var(--r); }
.hfa-road small { color: var(--r); font-size: 12px; font-weight: 600; }
.hfa-road b { display: block; font-size: 15px; }
.hfa-road p { font-size: 13px; color: var(--k2); }
.hfa-card.tip p + p { margin-top: 4px; }

/* شاشة التمرين: ماذا أفعل الآن */
.hfa-where { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; color: var(--k3); margin-top: -4px; }
.hfa-where > span:last-child { display: inline-flex; align-items: center; gap: 6px; color: var(--k); font-weight: 600; }
.hfa-setdots { display: inline-flex; gap: 3px; }
.hfa-setdots b { width: 9px; height: 9px; border-radius: 50%; background: var(--ln); }
.hfa-setdots b.d { background: var(--k); }
.hfa-setdots b.c { background: var(--r); }
.hfa-do { background: var(--rt); border-radius: 18px; padding: 10px 12px 8px; text-align: center; display: grid; justify-items: center; }
.hfa-do small { font-size: 13px; color: var(--r); font-weight: 600; }
.hfa-do b { font: 800 54px/1 "Baloo Bhaijaan 2", sans-serif; color: var(--r); margin-top: 2px; }
.hfa-do span { font-size: 14px; font-weight: 600; color: var(--r); }
.hfa-how { font-size: 13.5px; color: var(--k2); text-align: center; line-height: 1.55; }
.hfa-after { text-align: center; font-size: 14px; color: var(--k2); }
.hfa-reps, .hfa-setof { display: none; }

@media (max-width: 380px) { .hfa-phone { width: 300px; height: 640px; } }
.hfa-link.center { display: block; width: 100%; text-align: center !important; margin-top: 2px; }
.hfa-player .hfa-btn + .hfa-link { margin-top: -4px; }
.hfa[dir="rtl"] .hfa-ic.fwd { transform: scaleX(-1); }
.hfa[dir="ltr"] .hfa-ic.fwd { transform: none; }
.hfa-btn .hfa-ic.fwd { fill: none; width: 18px; }

/* الحالة الصحّيّة */
.hfa-in { width: 100%; min-height: 42px; border: 1.5px solid var(--ln); border-radius: 12px; padding: 0 12px; font: inherit; font-size: 14px; font-weight: 400; margin-top: 6px; }
.hfa-in:focus { outline: none; border-color: var(--k); }
.hfa-doc { background: var(--rt); border-radius: 14px; padding: 12px; display: grid; gap: 10px; }
.hfa-doc p { font-size: 13px; color: var(--rd); line-height: 1.55; }
.hfa-check { display: flex !important; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.hfa-check .hfa-ic { width: 22px; height: 22px; padding: 3px; border-radius: 6px; border: 2px solid var(--r); color: transparent; background: #fff; }
.hfa-check.on .hfa-ic { background: var(--r); color: #fff; }
.hfa-safe { font-style: normal; font-size: 10.5px; font-weight: 600; background: var(--rt); color: var(--r); border-radius: 99px; padding: 0 7px; margin-inline-start: 4px; white-space: nowrap; }
.hfa-goalchips.light span { background: var(--rt); color: var(--r); }

/* تنبيه انتهاء الراحة */
.hfa-alertnote { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--k3); text-align: center; }
.hfa-alertnote .hfa-ic { width: 15px; height: 15px; }
.hfa-push { position: absolute; top: 44px; inset-inline: 10px; z-index: 12; background: rgba(250,250,250,.97); border-radius: 18px; padding: 10px 12px; display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; box-shadow: 0 10px 30px -10px rgba(0,0,0,.45); animation: hfapush .35s ease-out; }
.hfa-push img { width: 34px; height: 34px; border-radius: 8px; }
.hfa-push b { font-size: 13.5px; display: block; }
.hfa-push p { font-size: 12.5px; color: var(--k2); }
.hfa-push small { font-size: 11px; color: var(--k3); align-self: start; }
@keyframes hfapush { from { transform: translateY(-120%); opacity: 0; } to { transform: none; opacity: 1; } }

/* تبديل الوجبة */
.hfa-swapbtn { display: inline-flex !important; align-items: center; gap: 4px; background: var(--m) !important; border-radius: 99px; padding: 5px 10px !important; font-size: 12px; font-weight: 600; }
.hfa-swapbtn .hfa-ic { width: 15px; height: 15px; }
.hfa-alts { background: var(--rt); border-radius: 14px; padding: 10px; display: grid; gap: 6px; margin: -2px 0 8px; }
.hfa-alts small { font-size: 12px; color: var(--r); font-weight: 600; }
.hfa-alts button { background: #fff !important; border-radius: 10px; padding: 8px 10px !important; display: grid !important; text-align: start !important; }
.hfa-alts b { font-size: 13.5px; }
.hfa-alts em { font-style: normal; font-size: 11.5px; color: var(--k3); }
.hfa-shop .hfa-hint { margin: 2px 4px 6px; }

/* الهندية والأردية: خطّ ديوناغري للهندية، ونستعليق للأردية بارتفاع سطر أكبر */
.hfa[lang="hi"], .hfa[lang="hi"] h1, .hfa[lang="hi"] h2, .hfa[lang="hi"] h3 { font-family: "Noto Sans Devanagari", system-ui, sans-serif; }
.hfa[lang="ur"], .hfa[lang="ur"] h1, .hfa[lang="ur"] h2, .hfa[lang="ur"] h3 { font-family: "Noto Nastaliq Urdu", "Noto Naskh Arabic", system-ui, serif; }
.hfa[lang="ur"] { line-height: 2; }
.hfa[lang="ur"] h1, .hfa[lang="ur"] h2, .hfa[lang="ur"] h3 { line-height: 1.9; }

/* اختيار نوع الحساب وطلب الانضمام */
.hfa-rolesub { color: var(--k3); margin: 0 0 14px; font-size: 14px; }
.hfa-role { display: flex !important; align-items: center; gap: 14px; width: 100%; padding: 16px !important; margin-bottom: 10px; border: 2px solid var(--ln) !important; border-radius: 18px; text-align: start; background: #fff; }
.hfa-role > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.hfa-role b { font-size: 16px; }
.hfa-role small { color: var(--k3); font-size: 12.5px; font-weight: 400; }
.hfa-roleic { width: 46px; height: 46px; border-radius: 14px; background: var(--rt, #F8E5E7); color: var(--r); display: grid; place-items: center; flex: none; }
.hfa[dir="rtl"] .hfa-role > .hfa-ic:last-child { transform: scaleX(-1); }
.hfa-lbl { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 6px; }
.hfa-cert { display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 56px; border: 2px dashed var(--ln) !important; border-radius: 14px; color: var(--k3); margin-bottom: 16px; }
.hfa-sent { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; }
.hfa-sent img { width: 70px; }
.hfa-sent p { color: var(--k3); margin: 0 0 12px; }

/* وقت التذكير: زرّ صغير يفتح اختيار الوقت */
.hfa-time { display: inline-block !important; padding: 2px 10px !important; margin: 0 4px; border-radius: 99px; background: var(--m); font-size: 12.5px; font-weight: 600; color: var(--r) !important; text-decoration: underline dotted; }
.hfa-tpick { display: flex; align-items: center; gap: 6px; padding: 10px 14px 14px; }
.hfa-tpick select { min-height: 40px; border: 1.5px solid var(--ln); border-radius: 10px; padding: 0 8px; font: inherit; font-size: 15px; background: #fff; }
.hfa-tpick .hfa-btn.sm { width: auto; min-height: 40px; padding: 0 14px; margin-inline-start: auto; font-size: 13px; }
.hfa-langs.dark.two { padding: 10px 6px; justify-content: center; }
.hfa-li .hfa-remhint { display: block; }
.hfa-tpick .hfa-btn.sm { white-space: nowrap; }

/* الخصوصيّة */
.hfa-pq { margin-bottom: 14px; }
.hfa-pq b { font-size: 15px; }
.hfa-pq p { margin: 4px 0 0; color: var(--k2, #444); font-size: 14px; }
.hfa-btn.ghost { background: #fff !important; color: var(--k) !important; border: 1.5px solid var(--ln) !important; text-decoration: none; }
.hfa-link.red { color: var(--r) !important; display: block; margin: 12px auto 0; font-weight: 600; }
