/* ============ تطبيق الموقع – إطار الجوال ============ */
/* ألوان هيكل الجهاز فقط (ثابتة كجهاز حقيقي) – كل ما داخل الشاشة يتبع متغيرات الثيم */
.mob-wrap {
  --dev-body: #15181d; --dev-edge: #3d444e; --dev-key: #2a2f37; --dev-glass: #000; --dev-knob: #fff;
  --dev-shadow: 0 50px 90px -40px rgba(16, 24, 40, .55), 0 18px 40px -20px rgba(16, 24, 40, .35);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mob-wrap { --dev-body: #20252c; --dev-edge: #4a525e; --dev-key: #343a43; --dev-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), 0 18px 40px -20px rgba(0, 0, 0, .7); }
}
:root[data-theme="dark"] .mob-wrap { --dev-body: #20252c; --dev-edge: #4a525e; --dev-key: #343a43; --dev-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), 0 18px 40px -20px rgba(0, 0, 0, .7); }

.mob-wrap { display: grid; grid-template-columns: auto minmax(0, 520px); gap: 48px; justify-content: center; align-items: center; }
.mob-device-col { position: relative; display: flex; justify-content: center; width: 100%; padding: 4px 0 12px; min-width: 0; }
.mob-device-col::before { content: ''; position: absolute; inset: 6% 0; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--primary) 22%, transparent), transparent); filter: blur(10px); pointer-events: none; }
.mob-device {
  position: relative; z-index: 1; width: 352px; max-width: 100%; height: 740px; padding: 11px; border-radius: 58px;
  background: var(--dev-body); box-shadow: inset 0 0 0 1.5px var(--dev-edge), inset 0 0 0 4px var(--dev-body), var(--dev-shadow);
}
.mob-key { position: absolute; width: 4px; background: var(--dev-key); border-radius: 3px; }
.mob-key.k1 { inset-inline-start: -3px; top: 118px; height: 30px; }
.mob-key.k2 { inset-inline-start: -3px; top: 172px; height: 56px; }
.mob-key.k3 { inset-inline-start: -3px; top: 240px; height: 56px; }
.mob-key.k4 { inset-inline-end: -3px; top: 196px; height: 88px; }

.mob-screen {
  --mdir: -1; position: relative; width: 100%; height: 100%; border-radius: 47px; overflow: hidden; isolation: isolate;
  background: var(--bg); color: var(--text); display: flex; flex-direction: column; font-size: 13.5px; line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}
[dir="ltr"] .mob-screen { --mdir: 1; }
.mob-screen .pill { font-size: 10.5px; padding: 1px 8px; }
.mob-screen .tag { font-size: 10.5px; }
.mob-sm { font-size: 11.5px; }
.mt-s { margin-top: 12px; }

/* شريط الحالة */
.mob-status { position: relative; z-index: 8; flex: none; height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 8px 30px 0; }
.mob-time { font-size: 15px; font-weight: 700; }
.mob-island { position: absolute; top: 11px; inset-inline: 0; margin-inline: auto; width: 106px; height: 31px; border-radius: 20px; background: var(--dev-glass); }
.mob-sys { display: flex; align-items: center; gap: 5px; direction: ltr; }
.mob-sys .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.mob-sig { width: 17px; height: 11px; fill: currentColor; }
.mob-bat { width: 25px; height: 12px; }
.mob-sys.off .mob-sig rect:not(:first-child) { opacity: .25; }
.mob-sys.off .ic { color: var(--warn); }

/* شريط الاتصال / المزامنة */
.mob-netbar { position: relative; z-index: 7; flex: none; }
.mob-net { position: relative; overflow: hidden; display: flex; align-items: center; gap: 8px; margin: 0 12px 6px; padding: 8px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; animation: mobDrop .35s cubic-bezier(.2, .8, .2, 1); }
.mob-net .ic { width: 16px; height: 16px; flex: none; }
.mob-net > span:not(.mob-spin) { flex: 1; min-width: 0; }
.mob-net.off { background: var(--warn-soft); color: var(--warn); }
.mob-net.wait, .mob-net.sync { background: var(--info-soft); color: var(--info); }
.mob-net button { flex: none; border: 0; background: var(--info); color: var(--surface); border-radius: 8px; padding: 3px 10px; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.mob-net > i { position: absolute; inset-block-end: 0; inset-inline-start: 0; height: 3px; background: var(--info); transition: width .5s ease; }
@keyframes mobDrop { from { opacity: 0; transform: translateY(-8px); } }

/* منطقة الشاشات */
.mob-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.mob-scr { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; background: var(--bg); padding-bottom: 104px; scrollbar-width: none; overscroll-behavior: contain; }
.mob-scr::-webkit-scrollbar, .mob-pane::-webkit-scrollbar, .mob-chips::-webkit-scrollbar { display: none; }
.mob-scr.s-new { padding-bottom: 0; overflow: hidden; }
.mob-scr.s-done { padding-bottom: 96px; }

/* الانتقالات: دفع جانبي مع اتجاه القراءة، تلاشٍ للتبويبات، وصعود للنموذج */
.in-fwd { animation: mobInFwd .4s cubic-bezier(.2, .8, .2, 1) both; z-index: 2; box-shadow: 0 0 40px rgba(0, 0, 0, .12); }
.out-fwd { animation: mobOutFwd .4s cubic-bezier(.2, .8, .2, 1) both; z-index: 1; }
.in-back { animation: mobInBack .36s cubic-bezier(.2, .8, .2, 1) both; z-index: 1; }
.out-back { animation: mobOutBack .36s cubic-bezier(.2, .8, .2, 1) both; z-index: 2; box-shadow: 0 0 40px rgba(0, 0, 0, .12); }
.in-fade { animation: mobFadeIn .26s ease both; z-index: 2; }
.out-fade { animation: mobFadeOut .2s ease both; z-index: 1; }
.in-up { animation: mobUp .44s cubic-bezier(.2, .85, .2, 1) both; z-index: 3; }
.out-up { animation: mobRecede .44s ease both; z-index: 1; }
.in-down { animation: mobRise .4s ease both; z-index: 1; }
.out-down { animation: mobDown .38s cubic-bezier(.5, 0, .7, .4) both; z-index: 3; }
@keyframes mobInFwd { from { transform: translateX(calc(var(--mdir) * 100%)); } to { transform: none; } }
@keyframes mobOutFwd { to { transform: translateX(calc(var(--mdir) * -28%)); opacity: .55; } }
@keyframes mobInBack { from { transform: translateX(calc(var(--mdir) * -28%)); opacity: .55; } to { transform: none; } }
@keyframes mobOutBack { to { transform: translateX(calc(var(--mdir) * 100%)); } }
@keyframes mobFadeIn { from { opacity: 0; transform: scale(.985); } }
@keyframes mobFadeOut { to { opacity: 0; } }
@keyframes mobUp { from { transform: translateY(100%); } }
@keyframes mobDown { to { transform: translateY(100%); } }
@keyframes mobRecede { to { transform: scale(.93); opacity: .4; } }
@keyframes mobRise { from { transform: scale(.93); opacity: .4; } }

/* شريط التبويبات */
.mob-tabs {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 6; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end;
  padding: 6px 8px 28px; background: color-mix(in srgb, var(--surface) 84%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border); transition: transform .38s cubic-bezier(.3, .7, .2, 1);
}
.mob-screen.is-flow .mob-tabs { transform: translateY(115%); }
.mob-tab { position: relative; border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0; font-size: 10.5px; font-weight: 600; color: var(--faint); cursor: pointer; transition: color .15s; }
.mob-tab .ic { width: 23px; height: 23px; transition: transform .2s; }
.mob-tab.on { color: var(--primary); }
.mob-tab.on .ic { transform: translateY(-1px); }
.mob-tab em { position: absolute; top: 0; inset-inline-start: calc(50% + 5px); min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; background: var(--bad); color: var(--surface); font-style: normal; font-size: 10px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--surface); }
.mob-fab { justify-self: center; width: 54px; height: 54px; margin-top: -24px; margin-bottom: 4px; border-radius: 19px; border: 0; display: grid; place-items: center; cursor: pointer; background: linear-gradient(135deg, var(--primary), var(--accent)); color: var(--primary-ink); box-shadow: 0 12px 24px -10px var(--primary), 0 0 0 4px var(--bg); transition: transform .15s; }
.mob-fab:active { transform: scale(.92); }
.mob-fab .ic { width: 25px; height: 25px; }
.mob-homebar { position: absolute; bottom: 8px; inset-inline: 0; margin-inline: auto; width: 128px; height: 5px; border-radius: 3px; background: var(--text); opacity: .8; z-index: 9; pointer-events: none; }

/* رؤوس الشاشات */
.mob-large { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 6px 18px 12px; }
.mob-large h1 { font-size: 29px; font-weight: 700; letter-spacing: -.3px; line-height: 1.2; }
.mob-date { font-size: 12px; color: var(--muted); font-weight: 600; }
.mob-nav { position: sticky; top: 0; z-index: 4; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; padding: 4px 12px 10px; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.mob-nav > :first-child { justify-self: start; }
.mob-nav > :last-child { justify-self: end; }
.mob-nav-title { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.25; font-size: 14.5px; }
.mob-nav-title small { font-size: 11px; color: var(--muted); font-weight: 600; }
.mob-nav-btn { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--surface-2); display: grid; place-items: center; cursor: pointer; }
.mob-nav-btn .ic { width: 18px; height: 18px; }
.mob-back { display: inline-flex; align-items: center; gap: 1px; border: 0; background: none; color: var(--primary); font-weight: 600; font-size: 14.5px; padding: 6px 0; cursor: pointer; }
.mob-back .ic { width: 21px; height: 21px; transform: scaleX(-1); }
[dir="ltr"] .mob-back .ic-chev { transform: none; }
.mob-pad { padding: 2px 16px 16px; }
.mob-sec { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 20px 2px 8px; }
.mob-sec h3 { font-size: 14.5px; font-weight: 700; }
.mob-link { display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 0; background: none; color: var(--primary); font-weight: 600; font-size: 12.5px; cursor: pointer; padding: 4px 0; }
.mob-link.danger { color: var(--bad); margin-top: 10px; }
.mob-link .ic { width: 15px; height: 15px; }

/* اليوم */
.mob-netchip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); background: var(--surface); border-radius: 20px; padding: 4px 10px; font-size: 11.5px; font-weight: 700; color: var(--ok); cursor: pointer; transition: color .2s; }
.mob-netchip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px var(--ok-soft); animation: mobBlink 2s ease-in-out infinite; }
.mob-netchip.off { color: var(--warn); }
.mob-netchip.off i { box-shadow: 0 0 0 3px var(--warn-soft); animation: none; }
@keyframes mobBlink { 50% { opacity: .35; } }
.mob-av { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: 12px; display: grid; place-items: center; cursor: pointer; flex: none; }
.mob-av .ic { width: 18px; height: 18px; }
.mob-av.big { width: 56px; height: 56px; font-size: 18px; cursor: default; }
.mob-hello { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 2px; padding: 15px 16px; border-radius: 20px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: var(--primary-ink); }
.mob-hello::after { content: ''; position: absolute; inset-inline-end: -40px; top: -50px; width: 140px; height: 140px; border-radius: 50%; border: 24px solid color-mix(in srgb, var(--primary-ink) 12%, transparent); }
.mob-hello > b { font-size: 15.5px; }
.mob-hello > span { font-size: 12.5px; opacity: .92; }
.mob-cta { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; padding: 14px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); text-align: start; cursor: pointer; transition: transform .12s, box-shadow .15s; }
.mob-cta:active { transform: scale(.98); }
.mob-cta-ic { width: 48px; height: 48px; border-radius: 15px; flex: none; display: grid; place-items: center; background: var(--primary); color: var(--primary-ink); box-shadow: 0 8px 18px -8px var(--primary); }
.mob-cta-ic .ic { width: 24px; height: 24px; }
.mob-cta-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mob-cta-t b { font-size: 15.5px; }
.mob-cta-t small { font-size: 12px; color: var(--muted); }
.mob-cta > .ic { color: var(--faint); }
.mob-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.mob-stats button { display: flex; flex-direction: column; align-items: flex-start; padding: 10px; border-radius: 15px; border: 1px solid var(--border); background: var(--surface); text-align: start; cursor: pointer; min-width: 0; }
.mob-stats b { font-size: 21px; font-weight: 700; line-height: 1.2; }
.mob-stats span { font-size: 11px; color: var(--muted); line-height: 1.3; }
.mob-stats .warn { border-color: color-mix(in srgb, var(--warn) 40%, var(--border)); background: var(--warn-soft); }
.mob-stats .warn b { color: var(--warn); }

.mob-visit { position: relative; display: flex; gap: 10px; margin-bottom: 8px; animation: mobFadeIn .35s ease both; }
.mob-visit-time { position: relative; width: 46px; flex: none; display: flex; flex-direction: column; align-items: center; padding-top: 9px; font-size: 10px; color: var(--muted); font-weight: 600; text-align: center; line-height: 1.3; }
.mob-visit-time b { font-size: 13px; color: var(--text); }
.mob-visit-time::after { content: ''; position: absolute; top: 48px; bottom: -14px; width: 2px; border-radius: 2px; background: var(--border); }
.mob-visit:last-of-type .mob-visit-time::after { display: none; }
.mob-visit.done .mob-visit-time span { color: var(--ok); }
.mob-visit.next .mob-visit-time span { color: var(--primary); }
.mob-visit-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; padding: 10px 12px; padding-inline-end: 46px; border-radius: 15px; border: 1px solid var(--border); border-inline-start: 3px solid var(--pc); background: var(--surface); text-align: start; cursor: pointer; }
.mob-visit-body > b { font-size: 13.5px; margin-top: 4px; }
.mob-visit-p { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mob-visit-z { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--faint); min-width: 0; }
.mob-visit-z span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mob-visit-z .ic, .mob-visit-cnt .ic { width: 13px; height: 13px; flex: none; }
.mob-visit-cnt { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--bad); }
.mob-visit.next .mob-visit-body { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); border-inline-start-color: var(--pc); box-shadow: 0 0 0 3px var(--primary-soft); }
.mob-visit.done .mob-visit-body { opacity: .68; }
.mob-visit-add { position: absolute; top: 10px; inset-inline-end: 10px; width: 30px; height: 30px; border-radius: 10px; border: 0; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); cursor: pointer; }
.mob-visit-add .ic { width: 16px; height: 16px; }

/* القوائم */
.mob-group { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.mob-row { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--border); background: none; text-align: start; cursor: pointer; transition: background .12s; animation: mobFadeIn .32s ease both; }
.mob-row:last-child { border-bottom: 0; }
.mob-row:active { background: var(--surface-2); }
.mob-row.static { cursor: default; }
.mob-thumb { position: relative; width: 52px; height: 52px; flex: none; border-radius: 13px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--surface-2), var(--primary-soft)); color: var(--faint); }
.mob-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mob-thumb em { position: absolute; inset-block-end: 3px; inset-inline-end: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); color: var(--primary); display: grid; place-items: center; }
.mob-thumb em .ic { width: 11px; height: 11px; stroke-width: 2.4; }
.mob-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mob-row-main > b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mob-row-sub { display: flex; align-items: center; gap: 5px; min-width: 0; font-size: 11.5px; color: var(--muted); }
.ell { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mob-row-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 2px; font-size: 11px; color: var(--muted); }
.mob-row-foot .late, .mob-kv .late { color: var(--bad); font-weight: 700; }
.mob-when { flex: none; align-self: flex-start; margin-top: 2px; font-size: 10.5px; color: var(--faint); }
.mob-aic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--info-soft); color: var(--info); }
.mob-aic.warn { background: var(--warn-soft); color: var(--warn); }
.mob-aic.bad { background: var(--bad-soft); color: var(--bad); }
.mob-chips { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 8px; scrollbar-width: none; }
.mob-chip { flex: none; border: 1px solid var(--border); background: var(--surface); color: var(--muted); border-radius: 20px; padding: 5px 12px; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.mob-chip.on { background: var(--text); color: var(--surface); border-color: var(--text); }
.mob-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 40px 20px; text-align: center; color: var(--muted); font-size: 12.5px; }
.mob-empty .ic { width: 36px; height: 36px; color: var(--faint); }
.mob-empty b { color: var(--text); font-size: 14px; }

/* حسابي */
.mob-profile { display: flex; align-items: center; gap: 12px; padding: 14px; margin-bottom: 12px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); }
.mob-profile b { display: block; font-size: 15px; }
.mob-profile span:not(.pill):not(.mob-av) { display: block; font-size: 12px; color: var(--muted); }
.mob-profile .pill { margin-top: 4px; }
.mob-set { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 12px; border: 0; border-bottom: 1px solid var(--border); background: none; text-align: start; cursor: pointer; }
.mob-set:last-child { border-bottom: 0; }
.mob-set.static { cursor: default; }
.mob-set-ic { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.mob-set-ic.warn { background: var(--warn-soft); color: var(--warn); }
.mob-set-ic .ic { width: 17px; height: 17px; }
.mob-set-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mob-set-main b { font-size: 13px; font-weight: 600; }
.mob-set-main small { font-size: 11px; color: var(--muted); line-height: 1.4; }
.mob-sw { position: relative; flex: none; width: 44px; height: 26px; border-radius: 20px; background: var(--border); transition: background .25s; }
.mob-sw::before { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--dev-knob); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: inset-inline-start .25s cubic-bezier(.3, .7, .3, 1.2); }
.mob-sw.on { background: var(--ok); }
.mob-sw.on::before { inset-inline-start: 21px; }
.mob-ver { margin: 14px 0 0; text-align: center; font-size: 11px; color: var(--faint); }

/* الأزرار */
.mob-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 12px 16px; border-radius: 15px; border: 1px solid transparent; font-weight: 700; font-size: 14px; cursor: pointer; transition: transform .1s, opacity .15s; }
.mob-btn:active { transform: scale(.97); }
.mob-btn .ic { width: 18px; height: 18px; }
.mob-btn.primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 8px 18px -10px var(--primary); }
.mob-btn.soft { background: var(--primary-soft); color: var(--primary); }
.mob-btn.ghost { background: var(--surface); border-color: var(--border); }
.mob-btn.block { width: 100%; margin-top: 10px; }
.mob-btn.grow { flex: 1; }

/* نموذج التسجيل */
.mob-flow { height: 100%; display: flex; flex-direction: column; }
.mob-prog { flex: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; padding: 0 16px 10px; }
.mob-prog i { position: relative; height: 4px; border-radius: 4px; background: var(--border); overflow: hidden; }
.mob-prog i::after { content: ''; position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; border-radius: 4px; background: var(--primary); transition: width .4s ease; }
.mob-prog i.on::after, .mob-prog i.done::after { width: 100%; }
.mob-steps { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.mob-pane { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; background: var(--bg); scrollbar-width: none; overscroll-behavior: contain; }
.mob-flow-foot { flex: none; display: flex; gap: 8px; padding: 10px 16px 30px; border-top: 1px solid var(--border); background: var(--surface); }
.mob-h { font-size: 18px; font-weight: 700; margin-top: 4px; }
.mob-p { margin: 2px 0 14px; font-size: 12.5px; color: var(--muted); }

.mob-cam { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; aspect-ratio: 4 / 3.5; border-radius: 22px; cursor: pointer; color: var(--muted); text-align: center;
  background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--primary) 16%, var(--surface-2)), var(--surface-2) 70%); border: 1.5px dashed color-mix(in srgb, var(--primary) 45%, var(--border)); }
.mob-cam:active { transform: scale(.99); }
.mob-cam b { color: var(--text); font-size: 15px; }
.mob-cam small { font-size: 12px; }
.mob-cam-ic { width: 70px; height: 70px; margin-bottom: 10px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--primary-ink); box-shadow: 0 0 0 9px color-mix(in srgb, var(--primary) 16%, transparent); animation: mobPulse 2.4s ease-in-out infinite; }
.mob-cam-ic .ic { width: 30px; height: 30px; }
@keyframes mobPulse { 50% { box-shadow: 0 0 0 15px color-mix(in srgb, var(--primary) 6%, transparent); } }
.mob-cam-vf i { position: absolute; width: 26px; height: 26px; border: 3px solid var(--primary); opacity: .7; }
.mob-cam-vf i:nth-child(1) { top: 16px; inset-inline-start: 16px; border-inline-end: 0; border-bottom: 0; border-start-start-radius: 9px; }
.mob-cam-vf i:nth-child(2) { top: 16px; inset-inline-end: 16px; border-inline-start: 0; border-bottom: 0; border-start-end-radius: 9px; }
.mob-cam-vf i:nth-child(3) { bottom: 16px; inset-inline-start: 16px; border-inline-end: 0; border-top: 0; border-end-start-radius: 9px; }
.mob-cam-vf i:nth-child(4) { bottom: 16px; inset-inline-end: 16px; border-inline-start: 0; border-top: 0; border-end-end-radius: 9px; }
.mob-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.mob-or { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 12px; color: var(--faint); }
.mob-or::before, .mob-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.mob-photo { position: relative; overflow: hidden; border-radius: 20px; background: var(--surface-2); box-shadow: var(--shadow-lg); animation: mobFadeIn .35s ease; }
.mob-photo img { display: block; width: 100%; max-height: 340px; object-fit: cover; }
.mob-photo-x { position: absolute; top: 10px; inset-inline-end: 10px; width: 32px; height: 32px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: color-mix(in srgb, var(--text) 55%, transparent); color: var(--surface); backdrop-filter: blur(6px); }
.mob-photo-x .ic { width: 16px; height: 16px; }
.mob-photo-ok { position: absolute; top: 10px; inset-inline-start: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; background: var(--ok-soft); color: var(--ok); font-size: 11.5px; font-weight: 700; }
.mob-photo-ok .ic { width: 14px; height: 14px; }
.mob-busy { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; gap: 8px; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(3px); color: var(--primary); font-weight: 700; }
.mob-spin { width: 15px; height: 15px; flex: none; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: mobSpin .8s linear infinite; }
@keyframes mobSpin { to { transform: rotate(360deg); } }

/* الملاحظة الصوتية */
.mob-rec { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 10px 0 6px; }
.mob-rec-time { font-size: 36px; font-weight: 700; letter-spacing: 1px; line-height: 1.1; transition: color .2s; }
.mob-voice.rec .mob-rec-time { color: var(--bad); }
.mob-wavelive { display: flex; align-items: center; gap: 3px; height: 40px; }
.mob-wavelive i { width: 4px; height: 6px; border-radius: 3px; background: var(--border); }
.mob-voice.rec .mob-wavelive i { background: var(--bad); animation: mobBar .55s ease-in-out infinite alternate; }
.mob-voice.rec .mob-wavelive i:nth-child(3n) { animation-duration: .42s; }
.mob-voice.rec .mob-wavelive i:nth-child(4n + 1) { animation-duration: .7s; }
@keyframes mobBar { from { height: 5px; } to { height: 36px; } }
.mob-mic { position: relative; width: 86px; height: 86px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none;
  background: var(--bad); color: var(--surface); box-shadow: 0 14px 28px -12px var(--bad); transition: transform .18s; }
.mob-mic .ic { position: relative; z-index: 1; width: 34px; height: 34px; }
.mob-mic .stop { display: none; position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 7px; background: currentColor; }
.mob-mic .mob-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--bad); opacity: 0; pointer-events: none; }
.mob-voice.rec .mob-mic { transform: scale(1.06); }
.mob-voice.rec .mob-mic .ic { display: none; }
.mob-voice.rec .mob-mic .stop { display: block; }
.mob-voice.rec .mob-mic .mob-ring { animation: mobRing 1.6s ease-out infinite; }
.mob-voice.rec .mob-mic .r2 { animation-delay: .8s; }
@keyframes mobRing { from { transform: scale(1); opacity: .6; } to { transform: scale(1.9); opacity: 0; } }
.mob-rec-hint { font-size: 12px; color: var(--muted); text-align: center; }
.mob-vchip { --p: 0%; display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 12px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); animation: mobFadeIn .3s ease; }
.mob-play { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--primary); color: var(--primary-ink); }
.mob-play .ic { width: 16px; height: 16px; }
.mob-play .ic-play path { fill: currentColor; }
.mob-vmain { min-width: 0; }
.mob-vmain b { display: block; font-size: 12.5px; }
.mob-vmain b .num { color: var(--muted); font-weight: 600; margin-inline-start: 4px; }
.mob-wave { position: relative; width: 150px; height: 26px; margin-top: 2px; }
.mob-wave .w { position: absolute; inset-block: 0; inset-inline-start: 0; width: 150px; display: flex; align-items: center; gap: 2px; }
.mob-wave .w i { flex: none; width: 3.3px; border-radius: 2px; background: color-mix(in srgb, var(--faint) 55%, transparent); }
.mob-wave .w.fill { width: var(--p); overflow: hidden; }
.mob-wave .w.fill > div { flex: none; width: 150px; height: 100%; display: flex; align-items: center; gap: 2px; }
.mob-wave .w.fill i { background: var(--primary); }
.mob-transcript { margin-top: 10px; padding: 10px 12px; border-radius: 15px; border: 1px dashed var(--border); background: var(--surface-2); font-size: 12.5px; line-height: 1.75; }
.mob-transcript small { display: flex; align-items: center; gap: 5px; margin-bottom: 2px; font-size: 11px; font-weight: 700; color: var(--accent); }
.mob-transcript small .ic { width: 13px; height: 13px; }

/* التفاصيل */
.mob-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; min-width: 0; }
.mob-field > span { font-size: 12px; font-weight: 700; color: var(--muted); }
.mob-in { width: 100%; min-width: 0; padding: 11px 12px; border-radius: 13px; border: 1px solid var(--border); background: var(--surface); font-size: 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.mob-in:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.mob-in.shake { animation: shake .4s ease; border-color: var(--bad); }
.mob-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.mob-sevs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.mob-sevc { --c: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 2px; border-radius: 13px; border: 1.5px solid var(--border); background: var(--surface); font-size: 11.5px; font-weight: 700; color: var(--muted); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s, color .15s; }
.mob-sevc i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.mob-sevc.critical { --c: var(--bad); }
.mob-sevc.high { --c: var(--warn); }
.mob-sevc.medium { --c: var(--info); }
.mob-sevc.low { --c: var(--faint); }
.mob-sevc.on { border-color: var(--c); color: var(--c); background: color-mix(in srgb, var(--c) 10%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 15%, transparent); }
.mob-dues { display: flex; gap: 6px; flex-wrap: wrap; margin: -4px 0 12px; }
.mob-hint { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 9px 12px; border-radius: 13px; background: color-mix(in srgb, var(--accent) 10%, var(--surface)); color: var(--accent); font-size: 12px; font-weight: 600; animation: mobFadeIn .3s ease; }
.mob-hint .ic { width: 16px; height: 16px; flex: none; }

/* المخطط والدبوس */
.mob-plan-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.mob-plan { position: relative; direction: ltr; aspect-ratio: 300 / 360; margin-bottom: 12px; overflow: hidden; border-radius: 18px; border: 1px solid var(--border); background-color: var(--surface-2);
  background-image: radial-gradient(color-mix(in srgb, var(--faint) 35%, transparent) 1px, transparent 1px); background-size: 14px 14px; }
.mob-plan.pick { cursor: crosshair; touch-action: manipulation; }
.mob-plan-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mob-plan-svg .rooms rect { fill: transparent; stroke: var(--faint); stroke-width: 1.6; transition: fill .3s; }
.mob-plan-svg .rooms rect.on { fill: color-mix(in srgb, var(--primary) 16%, transparent); }
.mob-plan-svg text { fill: var(--faint); font-size: 10px; font-weight: 600; font-family: inherit; text-anchor: middle; transition: fill .3s; }
.mob-plan-svg text.on { fill: var(--primary); }
.mob-plan-svg .outer { fill: none; stroke: var(--muted); stroke-width: 3.5; }
.mob-plan-svg .cut rect { fill: var(--surface-2); }
.mob-plan-svg .door path { fill: none; stroke: var(--faint); stroke-width: 1.2; }
.mob-plan-svg .door .a { stroke-dasharray: 2 2; stroke-width: 1; }
.mob-plan-svg .win rect { fill: var(--surface); stroke: var(--faint); stroke-width: 1; }
.mob-plan-svg .north circle { fill: var(--surface); stroke: var(--faint); }
.mob-plan-svg .north path { fill: var(--muted); }
.mob-plan-tip { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; display: flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 20px; background: var(--text); color: var(--surface); font-size: 12px; font-weight: 700; pointer-events: none; box-shadow: var(--shadow-lg); animation: mobFloat 1.8s ease-in-out infinite; }
[dir="rtl"] .mob-plan-tip { direction: rtl; }
.mob-plan-tip .ic { width: 15px; height: 15px; }
@keyframes mobFloat { 50% { transform: translateY(-5px); } }
.mob-pin { position: absolute; z-index: 2; width: 0; height: 0; pointer-events: none; }
.mob-pin i { position: absolute; top: -31px; inset-inline-start: -13px; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--pc); border: 2.5px solid var(--dev-knob); box-shadow: 0 6px 12px -4px var(--pc); }
.mob-pin::before { content: ''; position: absolute; top: -6px; inset-inline-start: -15px; width: 30px; height: 12px; border-radius: 50%; background: color-mix(in srgb, var(--pc) 35%, transparent); animation: mobPinPulse 1.8s ease-out infinite; }
.mob-pin.drop i { animation: mobPinDrop .5s cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes mobPinDrop { from { transform: translateY(-46px) rotate(-45deg); opacity: 0; } }
@keyframes mobPinPulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.mob-sum { display: flex; align-items: center; gap: 11px; padding: 10px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.mob-sum > .mob-thumb { width: 54px; height: 54px; border-radius: 12px; }
.mob-sum > div { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.mob-sum b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mob-sum > div > span { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); }
.mob-sum small { font-size: 11px; color: var(--primary); font-weight: 600; }

/* تفاصيل الملاحظة */
.mob-hero { position: relative; margin: 0 16px; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 22px; background: linear-gradient(135deg, var(--surface-2), var(--primary-soft)); box-shadow: var(--shadow); }
.mob-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mob-hero-ph { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--faint); }
.mob-hero-ph .ic { width: 36px; height: 36px; }
.mob-hero-sev { position: absolute; top: 10px; inset-inline-start: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(8px); }
.mob-hero-sev i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.mob-title { margin: 14px 0 6px; font-size: 17px; font-weight: 700; line-height: 1.45; }
.mob-stepper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 16px 0 4px; }
.mob-stepper > div { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; line-height: 1.3; text-align: center; color: var(--faint); }
.mob-stepper > div::before { content: ''; position: absolute; top: 10px; inset-inline-start: 50%; width: 100%; height: 2px; background: var(--border); }
.mob-stepper > div:last-child::before { display: none; }
.mob-stepper > div.past::before { background: var(--primary); }
.mob-stepper i { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--border); }
.mob-stepper i .ic { width: 12px; height: 12px; stroke-width: 3; }
.mob-stepper .past { color: var(--text); }
.mob-stepper .past i { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.mob-stepper .on { color: var(--primary); }
.mob-stepper .on i { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.mob-stepper .on i::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.mob-kv { margin-top: 12px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.mob-kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-bottom: 1px solid var(--border); font-size: 12.5px; }
.mob-kv > div:last-child { border-bottom: 0; }
.mob-kv span { color: var(--muted); flex: none; }
.mob-kv b { min-width: 0; text-align: end; font-weight: 600; }
.mob-kv b span { color: inherit; }
.mob-actions { display: flex; flex-direction: column; margin-top: 2px; }
.mob-note { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 12px; border-radius: 13px; border: 1px dashed var(--border); background: var(--surface-2); color: var(--muted); font-size: 12px; }
.mob-note .ic { width: 16px; height: 16px; flex: none; }
.mob-note.ok { border-color: transparent; background: var(--ok-soft); color: var(--ok); font-weight: 600; }

/* تم الحفظ */
.mob-done { display: flex; flex-direction: column; align-items: center; padding: 36px 22px 16px; text-align: center; }
.mob-done-ic { width: 92px; height: 92px; margin-bottom: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: var(--surface); box-shadow: 0 0 0 12px var(--ok-soft); animation: mobPop .55s cubic-bezier(.3, 1.6, .5, 1) both; }
.mob-done-ic.warn { background: var(--warn); box-shadow: 0 0 0 12px var(--warn-soft); }
.mob-done-ic .ic { width: 44px; height: 44px; stroke-width: 2.6; }
.mob-done-ic .ic-check path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: mobDraw .5s .3s ease forwards; }
@keyframes mobPop { from { transform: scale(.3); opacity: 0; } }
@keyframes mobDraw { to { stroke-dashoffset: 0; } }
.mob-done h2 { font-size: 20px; }
.mob-done > p { margin: 4px 0 16px; font-size: 13px; color: var(--muted); }
.mob-checks { width: 100%; margin-bottom: 6px; padding: 2px 12px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); text-align: start; }
.mob-checks div { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 12.5px; animation: mobCheckIn .4s ease both; }
@keyframes mobCheckIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mob-checks div:last-child { border-bottom: 0; }
.mob-checks .ic { width: 18px; height: 18px; flex: none; color: var(--ok); stroke-width: 2.4; }
.mob-checks .wait .ic { color: var(--warn); }
.mob-done .mob-link { margin-top: 12px; }

/* الإشعار داخل الجوال */
.mob-pushes { position: absolute; top: 46px; inset-inline: 8px; z-index: 12; pointer-events: none; }
.mob-push { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 22px; border: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow-lg); animation: mobPushIn .5s cubic-bezier(.2, 1.25, .4, 1) both; }
.mob-push.out { animation: mobPushOut .45s ease forwards; }
.mob-push-ic { width: 36px; height: 36px; flex: none; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--accent)); color: var(--primary-ink); }
.mob-push-ic .ic { width: 18px; height: 18px; }
.mob-push > div { flex: 1; min-width: 0; font-size: 12px; }
.mob-push b { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mob-push small { flex: none; font-size: 10.5px; color: var(--faint); }
.mob-push > div > span { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes mobPushIn { from { transform: translateY(-140%); opacity: 0; } }
@keyframes mobPushOut { to { transform: translateY(-140%); opacity: 0; } }

/* شاشة البدء */
.mob-splash { position: absolute; inset: 0; z-index: 30; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(160deg, var(--primary), var(--accent)); color: var(--primary-ink); animation: mobSplash 1.6s ease forwards; }
.mob-splash .brand-mark { width: 74px; height: 74px; margin-bottom: 6px; border-radius: 23px; font-size: 34px; color: inherit; background: color-mix(in srgb, var(--primary-ink) 16%, transparent); animation: mobPop .6s cubic-bezier(.3, 1.5, .5, 1) both; }
.mob-splash b { font-size: 20px; }
.mob-splash span { font-size: 13px; opacity: .85; }
@keyframes mobSplash { 0%, 72% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }

/* ============ لوحة الشرح ============ */
.mob-side { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.mob-kicker { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 20px; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 700; }
.mob-kicker .ic { width: 15px; height: 15px; }
.mob-side h2 { font-size: 27px; font-weight: 700; line-height: 1.35; }
.mob-side > p { margin: -6px 0 0; font-size: 14.5px; line-height: 1.85; color: var(--muted); }
.mob-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mob-feat { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.mob-feat:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.mob-feat b { font-size: 14px; }
.mob-feat > span:last-child { font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.mob-live-card { padding: 14px 16px; }
.mob-live-card .split { flex-wrap: wrap; }
.mob-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); animation: mobBlink 1.6s ease-in-out infinite; }
.mob-live { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.mob-live-it { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mob-live-it .kpi-ic { width: 30px; height: 30px; margin-bottom: 4px; }
.mob-live-it .kpi-ic .ic { width: 16px; height: 16px; }
.mob-live-it b { font-size: 22px; font-weight: 700; line-height: 1.2; }
.mob-live-it span:last-child { font-size: 12px; color: var(--muted); line-height: 1.35; }
.mob-try { padding: 14px 16px; border-radius: var(--radius); border: 1px dashed color-mix(in srgb, var(--primary) 40%, var(--border)); background: color-mix(in srgb, var(--primary-soft) 55%, transparent); }
.mob-try ol { margin: 6px 0 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.mob-side-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.mob-qr { display: flex; align-items: center; gap: 12px; padding-block: 10px; padding-inline: 10px 16px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); min-width: 0; }
.mob-qr-svg { width: 84px; height: 84px; flex: none; }
.mob-qr-svg .bg { fill: var(--surface); }
.mob-qr-svg .fg { fill: var(--text); }
.mob-qr-svg .logo { fill: var(--primary); stroke: var(--surface); stroke-width: .7; }
.mob-qr b { display: block; font-size: 13px; }
.mob-qr span { font-size: 12px; color: var(--muted); }

/* ============ الاستجابة ============ */
@media (max-width: 1180px) {
  .mob-wrap { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 32px; }
  .mob-side { width: 100%; max-width: 680px; }
}
@media (max-width: 640px) {
  .mob-feats { grid-template-columns: minmax(0, 1fr); }
  .mob-side h2 { font-size: 21px; }
  .mob-side-foot .btn { width: 100%; justify-content: center; }
  .mob-qr { width: 100%; }
}
@media (max-width: 480px) {
  .mob-device { width: 100%; height: max(640px, calc(100svh - 110px)); padding: 7px; border-radius: 48px; }
  .mob-screen { border-radius: 42px; }
  .mob-key { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mob-wrap *, .mob-wrap *::before, .mob-wrap *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
