/* Interactive Home-feed demo (hero). Scoped under .mphone */
.mphone{--t:var(--teal,#2A7888);--ts:var(--teal-soft,#D7ECEE);--p:var(--purple,#6030A8);--ps:var(--purple-soft,#E6DCF5);--r:var(--rose,#C2456E);--rs:var(--rose-soft,#F7DCE5);--a:var(--amber,#D9742B);--as:var(--amber-soft,#FBE6D3);--i:var(--indigo,#4F52C9);--is:var(--indigo-soft,#E0E1F8);--sf:var(--surface,#fff);--sf2:var(--surface-2,#F3EFE8);--k:var(--ink,#1A1030);--k2:var(--ink-2,#4B4160);--mu:var(--muted,#7A7190);--ln:var(--line,rgba(26,16,48,.1));
  position:relative;width:360px;height:720px;max-width:100%;border-radius:44px;background:#0d0b16;padding:9px;box-sizing:border-box;box-shadow:0 0 0 1px rgba(255,255,255,.08) inset,0 30px 60px rgba(26,16,48,.25),0 0 0 1px rgba(26,16,48,.18);font-family:'DM Sans',system-ui,sans-serif;color:var(--k);text-align:start;line-height:1.35;-webkit-tap-highlight-color:transparent}
.mphone *{box-sizing:border-box}
.mphone .mp-screen{position:relative;width:100%;height:100%;border-radius:36px;overflow:hidden;overflow:clip;background:var(--bg,#F7F4EE);isolation:isolate}
.mphone .mp-blob{position:absolute;border-radius:50%;filter:blur(40px);opacity:.75;z-index:-1;animation:mp-drift 18s ease-in-out infinite alternate}
.mphone .mp-b1{width:260px;height:260px;background:var(--ts);top:-60px;inset-inline-start:-80px}
.mphone .mp-b2{width:240px;height:240px;background:var(--ps);top:260px;inset-inline-end:-110px;animation-duration:22s}
.mphone .mp-b3{width:200px;height:200px;background:var(--ts);bottom:40px;inset-inline-start:-70px;animation-duration:26s;opacity:.5}
@keyframes mp-drift{to{transform:translate(30px,40px) scale(1.12)}}
.mphone .mp-island{position:absolute;top:9px;left:50%;transform:translateX(-50%);width:96px;height:26px;border-radius:14px;background:#0d0b16;z-index:5}
.mphone .mp-scroll{position:absolute;inset:0 0 62px 0;overflow-y:auto;overflow-x:hidden;padding:46px 12px 16px;scrollbar-width:none;overscroll-behavior:contain;-webkit-mask-image:linear-gradient(transparent 0,#000 46px);mask-image:linear-gradient(transparent 0,#000 46px)}
.mphone .mp-scroll::-webkit-scrollbar{display:none}
.mphone button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-align:inherit}
.mphone button:focus-visible,.mphone input:focus-visible{outline:2px solid var(--t);outline-offset:2px}
.mphone .mp-link{color:var(--t);font-weight:700;font-size:12px}
.mphone .mp-head{position:relative;z-index:4;display:flex;justify-content:space-between;align-items:flex-end;padding:0 4px 10px}
.mphone .mp-logo{font-family:'Lora',Georgia,serif;font-weight:700;font-size:23px;display:flex;align-items:center;gap:6px}
.mphone .mp-pip{font-family:'DM Sans',sans-serif;font-size:9px;font-weight:700;letter-spacing:.04em;background:var(--r);color:var(--sf);border-radius:8px;padding:2px 6px;opacity:0;transform:scale(.6);transition:.35s}
.mphone .mp-pip.on{opacity:1;transform:none}
.mphone .mp-hi{font-size:12px;color:var(--mu)}
.mphone .mp-pair{position:relative;width:72px;height:66px;margin-inline-end:46px;flex:none}
.mphone .mp-av{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:var(--sf);font-weight:700;flex:none}
.mphone .mp-pair .mp-av{position:absolute;top:29px;width:36px;height:36px;font-size:14px}
.mphone .mp-pair .s{inset-inline-start:0;background:var(--p)}
.mphone .mp-pair .n{inset-inline-start:36px;background:var(--t);box-shadow:0 0 0 2px var(--bg,#F7F4EE),0 0 0 4px var(--p)}
.mphone .mp-pair i{position:absolute;inset-inline-start:31px;top:53px;width:10px;height:10px;border-radius:50%;background:#2fb36b;border:2px solid var(--bg,#F7F4EE);z-index:1}
.mphone .mp-note{position:absolute;top:0;height:24px;max-width:78px;display:flex;align-items:center;padding:0 9px;border-radius:12px;background:var(--sf);border:1px solid var(--ln);font-size:11px;font-weight:700;box-shadow:0 3px 8px rgba(26,16,48,.08)}
.mphone .mp-note::after{content:'';position:absolute;bottom:-4px;width:7px;height:7px;background:inherit;border:inherit;border-width:0 1px 1px 0;transform:rotate(45deg)}
.mphone .mp-note .mp-nt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mphone .mp-note.sa{inset-inline-end:44px;background:var(--ps);border-color:transparent;color:var(--p)}
.mphone .mp-note.sa::after{inset-inline-end:7px}
.mphone .mp-note.me{inset-inline-start:44px;color:var(--mu);font-weight:600}
.mphone .mp-note.me.set{color:var(--t);font-weight:700}
.mphone .mp-note.me::after{inset-inline-start:7px}
.mphone .mp-nb{position:absolute;top:-8px;inset-inline-end:-8px;width:19px;height:19px;border-radius:50%;background:var(--sf);box-shadow:0 0 0 1px var(--ln),0 2px 5px rgba(26,16,48,.15);font-size:11px;display:flex;align-items:center;justify-content:center;animation:mp-pop .45s cubic-bezier(.3,1.6,.5,1) both}
@keyframes mp-pop{from{transform:scale(0)}}
.mphone .mp-pop{position:absolute;z-index:20;background:var(--sf);border:1px solid var(--ln);border-radius:14px;box-shadow:0 12px 28px rgba(13,11,22,.22);animation:mp-fin .2s ease both}
.mphone .mp-menu{inset-inline-end:0;top:30px;width:196px;padding:8px}
.mphone .mp-words{display:flex;flex-wrap:wrap;gap:5px}
.mphone .mp-chip{border:1px solid var(--ln);background:var(--sf2);border-radius:14px;padding:4px 10px;font-size:12px;font-weight:700;color:var(--k);transition:.15s}
.mphone .mp-chip:hover,.mphone .mp-chip.on{border-color:var(--t);color:var(--t)}
.mphone .mp-in{display:block;width:100%;margin-top:7px;border:1px solid var(--ln);background:var(--sf2);border-radius:12px;padding:6px 10px;font:inherit;font-size:12px;color:var(--k)}
.mphone .mp-in::placeholder{color:var(--mu)}
.mphone .mp-clear{display:block;width:100%;margin-top:6px;padding:6px 4px 2px;border-top:1px solid var(--ln);font-size:12px;font-weight:700;color:var(--r)}
.mphone .mp-pick{display:flex;flex-wrap:wrap;gap:2px;padding:5px;width:max-content;max-width:calc(100% - 8px)}
.mphone .mp-e{width:28px;height:28px;border-radius:50%;font-size:17px;line-height:28px;text-align:center;transition:transform .12s}
.mphone .mp-e:hover{background:var(--sf2);transform:scale(1.18)}
.mphone .mp-faces{display:flex;justify-content:space-around;padding:2px 0 10px}
.mphone .mp-face{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:11px;font-weight:700}
.mphone .mp-face .mp-av{width:52px;height:52px;font-size:13px;position:relative}
.mphone .mp-face .mu{background:var(--t);box-shadow:0 0 0 2px var(--bg,#F7F4EE),0 0 0 4px var(--t)}
.mphone .mp-face .us{background:var(--sf);box-shadow:0 0 0 2px var(--r)}
.mphone .mp-face .us b{position:absolute;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;border:2px solid var(--sf)}
.mphone .mp-face .us b:first-child{inset-inline-start:6px;top:12px;background:var(--t)}.mphone .mp-face .us b:last-child{inset-inline-end:6px;top:12px;background:var(--p)}
.mphone .mp-face .nk{background:var(--a)}
.mphone .mp-share{display:flex;align-items:center;gap:8px;background:var(--sf);border:1px solid var(--ln);border-radius:22px;padding-block:6px;padding-inline:6px 8px;font-size:12.5px;color:var(--mu);margin-bottom:12px}
.mphone .mp-share .mp-av{width:24px;height:24px;font-size:10px;background:var(--t)}
.mphone .mp-share .mp-sb{flex:1;display:flex;align-items:center;gap:8px}
.mphone .mp-share .mp-cam{color:var(--t);display:flex;padding:2px}
.mphone .mp-label{font-size:10.5px;font-weight:700;letter-spacing:.12em;color:var(--mu);margin:0 4px 8px}
.mphone .mp-card{position:relative;background:var(--sf);border:1px solid var(--ln);border-radius:14px;padding:11px 12px;margin-bottom:10px;font-size:12.5px;color:var(--k2)}
.mphone .mp-card.sara{background:linear-gradient(var(--ps),var(--ps)),var(--sf);border-inline-start:3px solid var(--p)}
.mphone .mp-row{display:flex;align-items:center;gap:8px}
.mphone .mp-by{display:flex;align-items:center;gap:7px;font-weight:700;font-size:12.5px;color:var(--k);margin-bottom:7px}
.mphone .mp-by .mp-av{width:22px;height:22px;font-size:10px}
.mphone .mp-dot{width:8px;height:8px;border-radius:50%;flex:none}
.mphone .mp-time{margin-inline-start:auto;font-weight:400;font-size:11px;color:var(--mu);white-space:nowrap}
.mphone .mp-kick{font-size:10px;font-weight:700;letter-spacing:.1em;color:var(--p)}
.mphone .mp-big{font-family:'Lora',Georgia,serif;font-size:22px;color:var(--k);line-height:1.15}
.mphone .mp-cap{font-size:11px;color:var(--mu)}
.mphone .mp-you{font-size:11px;font-weight:700;color:var(--p);margin-top:3px}
.mphone .mp-rb{margin-inline-start:auto;align-self:center;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:40px;height:32px;background:var(--p);color:var(--sf);border-radius:16px;padding:0 12px;font-size:12px;font-weight:700;white-space:nowrap;transition:.2s}
.mphone .mp-rb.set{background:var(--sf);box-shadow:0 0 0 1px var(--p) inset;font-size:17px;padding:0 10px}
.mphone .mp-rb.set,.mphone .mp-rl.set{animation:mp-pulse .5s ease}
@keyframes mp-pulse{40%{transform:scale(1.15)}}
.mphone .mp-rl{display:inline-flex;align-items:center;gap:4px;margin-top:8px;color:var(--p)}
.mphone .mp-rl.set{font-size:16px}
.mphone .mp-moment{display:none}
.mphone .mp-moment.on,.mphone .mp-new{display:block;animation:mp-arrive .7s cubic-bezier(.2,.8,.2,1) backwards,mp-glow 2.6s ease .5s both}
@keyframes mp-arrive{from{opacity:0;transform:translateY(-14px) scale(.97);max-height:0;padding-top:0;padding-bottom:0;margin-bottom:0}to{max-height:260px}}
@keyframes mp-glow{0%{box-shadow:0 0 0 3px var(--p)}100%{box-shadow:0 0 0 0 transparent}}
.mphone .mp-note-t{color:var(--k)}
.mphone .mp-mr{display:flex;align-items:center;gap:10px}
.mphone .mp-mr b{font-size:34px;line-height:1;font-weight:400}
.mphone .mp-mr span{font-family:'Lora',Georgia,serif;font-size:16px;color:var(--k)}
.mphone .mp-soon{margin-inline-start:6px;background:var(--as);color:var(--a);font-size:9.5px;font-weight:700;border-radius:8px;padding:2px 7px;letter-spacing:.02em}
.mphone .mp-q{font-size:13px;color:var(--k);font-weight:600;margin-bottom:8px}
.mphone .mp-opts{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.mphone .mp-opt{border:1px solid var(--ln);background:var(--sf2);border-radius:10px;padding:7px 8px;font-size:11.5px;font-weight:600;color:var(--k)}
.mphone .mp-opt:hover{border-color:var(--a)}
.mphone .mp-wait{font-size:12.5px;color:var(--mu);padding:6px 0}
.mphone .mp-wait i{display:inline-block;width:4px;height:4px;border-radius:50%;background:var(--a);margin-inline-start:3px;animation:mp-dots 1s infinite}
.mphone .mp-wait i:nth-child(2){animation-delay:.15s}.mphone .mp-wait i:nth-child(3){animation-delay:.3s}
@keyframes mp-dots{50%{transform:translateY(-4px);opacity:.4}}
.mphone .mp-rev .mp-row{margin-bottom:5px;font-size:12px;color:var(--k)}
.mphone .mp-rev .mp-av{width:20px;height:20px;font-size:9px}
.mphone .mp-verdict{font-size:12px;font-weight:700;color:var(--a);margin:4px 0 6px}
.mphone .mp-reacts{display:flex;gap:6px}
.mphone .mp-react{border:1px solid var(--ln);background:var(--sf2);border-radius:14px;padding:2px 10px;font-size:14px;transition:.15s}
.mphone .mp-react.on{border-color:var(--a);background:var(--as);transform:scale(1.1)}
.mphone .mp-fade{animation:mp-fin .35s ease both}
@keyframes mp-fin{from{opacity:0;transform:translateY(4px)}}
.mphone .mp-toast{position:absolute;left:50%;bottom:74px;z-index:6;transform:translate(-50%,6px);opacity:0;pointer-events:none;background:var(--k);color:var(--bg,#F7F4EE);border-radius:16px;padding:7px 14px;font-size:11.5px;font-weight:700;white-space:nowrap;box-shadow:0 6px 18px rgba(13,11,22,.25);transition:opacity .25s,transform .25s}
.mphone .mp-toast.on{opacity:1;transform:translate(-50%,0)}
.mphone .mp-tab{position:absolute;left:0;right:0;bottom:0;height:62px;display:flex;justify-content:space-around;align-items:flex-start;padding-top:9px;background:var(--sf);border-top:1px solid var(--ln);z-index:3}
.mphone .mp-tab button{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10px;font-weight:700;color:var(--mu)}
.mphone .mp-tab em{position:absolute;top:-5px;inset-inline-start:55%;background:var(--r);color:var(--sf);font-style:normal;font-size:9px;border-radius:8px;padding:0 5px;line-height:14px}
.mphone .mp-tab .lk{position:absolute;top:-3px;inset-inline-start:58%;color:var(--a)}
.mphone.mp-pre .mp-anim{opacity:0;transform:translateY(12px)}
.mphone.mp-play .mp-anim{transition:opacity .5s ease,transform .5s ease;transition-delay:calc(var(--d,0) * 70ms)}
@media (prefers-reduced-motion:reduce){.mphone *,.mphone *::before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.mphone.mp-pre .mp-anim{transform:none}}

/* Arabic: Plex Sans Arabic for UI, Naskh where the app uses Lora; never letter-spaced */
.mphone[dir="rtl"]{font-family:'IBM Plex Sans Arabic','DM Sans',system-ui,sans-serif}
.mphone[dir="rtl"] :is(.mp-logo,.mp-big,.mp-mr span){font-family:'Noto Naskh Arabic','Lora',Georgia,serif}
.mphone[dir="rtl"] .mp-pip{font-family:'IBM Plex Sans Arabic','DM Sans',sans-serif}
.mphone[dir="rtl"] *{letter-spacing:0}
.mphone[dir="rtl"] .mp-note{max-width:84px}

/* Demo couple photos (Lina = wife/partner, Moses = husband/user). Paths are relative to this CSS file. */
.ph-l,.ph-m{color:transparent!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;overflow:hidden}
.ph-l{background-image:url(../images/avatars/lina.jpg)!important}
.ph-m{background-image:url(../images/avatars/moses.jpg)!important}
