/* MEYDORA 16.19 — original diegetic phone UI. Keeps the 3D world visible. */
#qomPhonePanel{position:fixed!important;inset:0!important;z-index:250!important;display:flex!important;align-items:flex-end!important;justify-content:flex-end!important;direction:ltr!important;padding:clamp(8px,2.5vh,22px) clamp(8px,2vw,34px)!important;background:linear-gradient(90deg,transparent 45%,rgba(0,8,20,.17))!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;pointer-events:none!important;font-family:Vazirmatn,'Noto Sans Arabic',Tahoma,Arial,sans-serif!important;color:#eef7ff!important}
#qomPhonePanel[hidden]{display:none!important}
#qomPhonePanel .qom-phone-shell{position:relative!important;display:block!important;flex:none!important;box-sizing:border-box!important;width:min(338px,calc(100vw - 16px))!important;height:min(694px,calc(100dvh - 24px))!important;max-height:none!important;overflow:hidden!important;margin:0!important;padding:6px!important;border:2px solid #66747e!important;border-radius:43px!important;background:linear-gradient(135deg,#1e2935,#080e19 37%,#293a4b 70%,#111824)!important;box-shadow:0 22px 70px #000c,inset 0 0 0 2px #080c11,0 0 0 1px #dce6ec4d!important;pointer-events:auto!important;transform-origin:bottom right;animation:qpRise .24s cubic-bezier(.19,1,.22,1);isolation:isolate}
#qomPhonePanel .qp-display{position:relative;width:100%;height:100%;border-radius:36px;overflow:hidden;background:radial-gradient(ellipse at 65% 12%,#3984b7 0,#204d82 27%,#152942 55%,#071629 95%);direction:rtl;color:#fff}
#qomPhonePanel .qp-display[data-theme='sunset']{background:radial-gradient(ellipse at 73% 4%,#d89467 0,#975e7a 25%,#334c71 55%,#111a34 100%)}
#qomPhonePanel .qp-display::before{content:'';position:absolute;z-index:0;bottom:-4%;right:-18%;height:58%;width:145%;pointer-events:none;background:linear-gradient(12deg,#0c2238 3%,transparent 46%),linear-gradient(156deg,transparent 47%,#163d5a 48%,#20455e 55%,transparent 56%),linear-gradient(167deg,transparent 56%,#2c536e 57%,#15354e 65%,transparent 66%);opacity:.85}
#qomPhonePanel .qp-display::after{content:'';position:absolute;z-index:0;bottom:0;left:0;right:0;height:34%;pointer-events:none;opacity:.32;background:repeating-linear-gradient(90deg,transparent 0 13px,#041626 14px 28px,transparent 29px 41px,#041626 42px 53px),linear-gradient(0deg,#071626,transparent)}
#qomPhonePanel .qp-island{position:absolute;z-index:6;top:9px;left:50%;transform:translateX(-50%);width:88px;height:20px;border-radius:13px;background:#080d16;box-shadow:inset 0 1px 1px #36434e;pointer-events:none}
#qomPhonePanel .qp-island::after{content:'';position:absolute;top:7px;left:16px;width:6px;height:6px;border-radius:50%;background:#0d1c29;box-shadow:0 0 0 2px #131e2c}
#qomPhonePanel .qp-statusbar{height:43px;padding:10px 19px 2px;display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:center;font-size:11px;position:relative;z-index:3;text-shadow:0 1px 3px #08101a;font-variant-numeric:tabular-nums}
#qomPhonePanel .qp-signals{display:flex;align-items:center;gap:7px;color:#e7fcff;font-size:10px;direction:ltr}
#qomPhonePanel .qp-signals svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#qomPhonePanel .qp-content{position:absolute;top:44px;bottom:56px;left:0;right:0;z-index:2;overflow:hidden}
#qomPhonePanel .qp-page{height:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#8eaac854 transparent;padding:6px 15px 15px;box-sizing:border-box}
#qomPhonePanel .qp-page[hidden]{display:none!important}
#qomPhonePanel .qp-home{padding:8px 16px 20px}
#qomPhonePanel .qp-home-top{min-height:172px;padding:12px 4px 16px;text-align:right;display:flex;flex-direction:column;justify-content:center}
#qomPhonePanel .qp-home-top small{font-size:11px;opacity:.79;letter-spacing:.1px}
#qomPhonePanel .qp-home-top h2{margin:4px 0 1px;font-size:36px;line-height:1.35;font-weight:900;color:#fff;letter-spacing:-1.5px;text-shadow:0 3px 14px #0007}
#qomPhonePanel .qp-home-top p{margin:2px 0;font-size:12px;color:#c7ecf7}
#qomPhonePanel .qp-weather-row{display:flex;align-items:center;gap:8px;margin-top:13px;font-size:10px;color:#d8eefa}
#qomPhonePanel .qp-weather-row span{padding:6px 10px;border-radius:12px;background:#ffffff24;border:1px solid #ffffff28;backdrop-filter:blur(8px)}
#qomPhonePanel .qp-app-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px 7px;margin:10px 0 16px}
#qomPhonePanel .qp-app-button{min-width:0!important;display:flex;flex-direction:column;align-items:center;gap:7px;color:#effaff!important;font-size:10px!important;line-height:1.5!important;text-shadow:0 2px 5px #0b163a!important;background:none!important;border:none!important;padding:0!important;cursor:pointer;user-select:none}
#qomPhonePanel .qp-app-button>span:last-child{text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
#qomPhonePanel .qp-app-icon{position:relative;width:55px;height:55px;display:grid;place-items:center;border:1px solid #ffffff55;border-radius:17px;background:linear-gradient(145deg,var(--app-light),var(--app-dark));box-shadow:0 4px 11px #07131d6e,inset 0 1px 1px #ffffff5e;transition:transform .16s}
#qomPhonePanel .qp-app-button:active .qp-app-icon{transform:scale(.92)}
#qomPhonePanel .qp-app-icon svg{width:28px;height:28px;stroke:#fff;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 3px #0004)}
#qomPhonePanel .qp-dot{position:absolute;top:-4px;left:-4px;min-width:16px;height:16px;display:grid;place-items:center;padding:0 3px;border-radius:50%;font:800 10px system-ui;background:#ff415e;color:white;border:2px solid #1d3555}
#qomPhonePanel .qp-dot[hidden]{display:none!important}
#qomPhonePanel .qp-home-card{border:1px solid #ffffff32;border-radius:16px;padding:12px;background:linear-gradient(135deg,#123953b2,#103047a6);backdrop-filter:blur(14px);box-shadow:0 6px 20px #010e2228}
#qomPhonePanel .qp-home-card small{display:block;opacity:.78;font-size:10px}
#qomPhonePanel .qp-home-card strong{display:block;margin:5px 0;font-size:13px;line-height:1.65}
#qomPhonePanel .qp-home-card button{border:none!important;background:#ffffff22!important;color:#fff!important;border-radius:10px!important;padding:7px 10px!important;font-weight:700!important;font-size:10px!important;margin-top:4px}
#qomPhonePanel .qp-app-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 14px;padding:7px 0 12px;border-bottom:1px solid #ffffff29}
#qomPhonePanel .qp-app-title h3{font-size:20px;line-height:1.2;margin:0;font-weight:850;color:#fff}
#qomPhonePanel .qp-app-title button{background:#ffffff25!important;border:1px solid #ffffff20!important;border-radius:11px!important;color:#fff!important;padding:6px 10px!important;font-size:12px!important}
#qomPhonePanel .qp-sheet{padding:12px;border:1px solid #ffffff30;background:#10283bd9;border-radius:16px;margin-bottom:9px;backdrop-filter:blur(16px)}
#qomPhonePanel .qp-sheet h4{font-size:13px;margin:0 0 8px;color:#e8faff}#qomPhonePanel .qp-sheet p{font-size:11px;line-height:1.8;color:#d9eaf8;margin:6px 0}#qomPhonePanel .qp-sheet small{font-size:10px;color:#afc8dd;line-height:1.6}
#qomPhonePanel .qp-primary{background:linear-gradient(100deg,#0cbaa9,#0b78a7)!important;color:#fff!important;border:0!important;border-radius:11px!important;padding:10px 14px!important;font-weight:750!important;font-size:12px!important;width:100%;margin:8px 0 2px}
#qomPhonePanel .qp-secondary{background:#ffffff20!important;border:1px solid #ffffff30!important;border-radius:10px!important;color:#fff!important;padding:8px 10px!important;font-size:11px!important}
#qomPhonePanel .qp-list{display:grid;gap:7px}#qomPhonePanel .qp-item{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:10px 11px;background:#10283bdc;border:1px solid #ffffff28;border-radius:13px;text-align:right;color:#fff}
#qomPhonePanel .qp-item div{min-width:0}#qomPhonePanel .qp-item b{display:block;font-size:12px}#qomPhonePanel .qp-item small{display:block;color:#bacfe1;font-size:10px;line-height:1.6;max-width:230px}
#qomPhonePanel .qp-message-button{display:block;width:100%;cursor:pointer;font-family:inherit!important}
#qomPhonePanel .qp-bubble{max-width:94%;margin:10px 0 0;padding:11px 12px;background:#234e5be8;border:1px solid #ffffff25;border-radius:15px 15px 5px 15px;font-size:11px;line-height:1.85}
#qomPhonePanel .qp-bubble small{display:block;color:#a2d5e5;margin-top:5px}
#qomPhonePanel .qom-phone-callview{padding:13px 10px;border-radius:17px;background:radial-gradient(ellipse at 50% 0%,#1e688199,#071627ea 90%);border:1px solid #ffffff25}
#qomPhonePanel .qom-phone-callview h3{font-size:17px}#qomPhonePanel .qom-phone-callview p{min-height:auto;font-size:11px;line-height:1.85}#qomPhonePanel .qom-phone-avatar{width:64px;height:64px;font-size:25px}#qomPhonePanel .qom-phone-actions{gap:6px}#qomPhonePanel .qom-phone-actions button{font-size:10px;padding:8px;flex:1 1 40%;border-radius:11px}
#qomPhonePanel .qom-phone-status{display:none}#qomPhonePanel .qom-phone-lower{display:contents}#qomPhonePanel .qom-phone-contact{background:#10283bdc;border:1px solid #ffffff2b;border-radius:13px;padding:9px}#qomPhonePanel .qom-phone-contact button{background:#1e7d75;border:none;padding:7px 10px;color:#fff}#qomPhonePanel .qom-phone-history{border:0;border-radius:12px;background:#10283be6;padding:11px;font-size:11px}#qomPhonePanel .qom-phone-note{font-size:10px;color:#b5cddb;line-height:1.7}
#qomPhonePanel .qp-nav{position:absolute;z-index:5;bottom:0;left:0;right:0;height:56px;display:flex;justify-content:space-around;align-items:center;gap:5px;padding:6px 16px 15px;background:linear-gradient(0deg,#051221d9,#0818277d);backdrop-filter:blur(12px)}
#qomPhonePanel .qp-nav button{flex:1;max-width:76px;display:grid;place-items:center;background:transparent!important;color:#e6f8ff!important;border:none!important;min-height:38px;padding:7px!important;border-radius:9px!important;font-size:18px}
#qomPhonePanel .qp-nav button:active{background:#ffffff23!important}#qomPhonePanel .qp-nav svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#qomPhonePanel .qp-nav::after{content:'';position:absolute;bottom:6px;left:50%;width:78px;height:4px;border-radius:10px;background:#dbeaf4bb;transform:translateX(-50%);pointer-events:none}
#qomPhonePanel .qp-toast{position:absolute;z-index:8;bottom:69px;left:16px;right:16px;text-align:center;padding:10px;border:1px solid #ffffff3b;border-radius:12px;background:#021726ef;color:#fff;font-size:11px;line-height:1.5}
#qomPhonePanel .qp-toast[hidden]{display:none!important}
#qomPhonePanel #qpCameraPreview{display:block;width:100%;max-height:240px;aspect-ratio:16/10;object-fit:cover;border:1px solid #ffffff3d;border-radius:10px;background:#081824}
#qomPhonePanel .qp-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}#qomPhonePanel .qp-gallery a{display:block;background:#0c2436;border:1px solid #ffffff24;border-radius:10px;overflow:hidden}#qomPhonePanel .qp-gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
#qomPhonePanel .qp-setting-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:9px 0;padding:9px;border:1px solid #ffffff25;border-radius:12px;background:#103145db;font-size:11px}
#qomPhonePanel .qp-setting-row button{border:1px solid #ffffff32;background:#276a78;border-radius:10px;font-size:10px;padding:6px 10px}
#qomPhoneLauncher191{position:fixed;z-index:86;right:14px;top:43%;width:48px;height:48px;border:1px solid #99ebffc2;border-radius:15px;background:linear-gradient(145deg,#1c6e89ed,#0c2b49f7);color:#f5fcff;box-shadow:0 7px 25px #0007,inset 0 1px 2px #ffffff48;display:grid;place-items:center;cursor:pointer;touch-action:manipulation;transition:transform .15s}
#qomPhoneLauncher191 svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#qomPhoneLauncher191:active{transform:scale(.93)}#qomPhoneLauncher191[hidden]{display:none!important}
#qomPhoneLauncher191 .qp-launch-badge{position:absolute;top:-7px;left:-7px;min-width:19px;height:19px;border-radius:50%;background:#ed3d57;color:white;padding:1px 3px;font:800 10px system-ui;display:grid;place-items:center}#qomPhoneLauncher191 .qp-launch-badge[hidden]{display:none}
#qomPhoneIncoming{z-index:270!important;background:linear-gradient(145deg,#142c42f2,#0b172af5)!important;border-color:#88e9d3!important;border-radius:20px!important;box-shadow:0 20px 64px #000a!important}
@keyframes qpRise{from{opacity:.5;transform:translateY(55px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:700px){#qomPhonePanel{padding:7px!important;justify-content:flex-end!important}#qomPhonePanel .qom-phone-shell{width:min(338px,calc(100vw - 14px))!important;height:min(650px,calc(100dvh - 14px))!important;border-radius:38px!important;padding:5px!important}#qomPhonePanel .qp-display{border-radius:32px}#qomPhonePanel .qp-page{padding-left:12px;padding-right:12px}#qomPhonePanel .qp-home-top{min-height:142px}#qomPhonePanel .qp-home-top h2{font-size:31px}#qomPhonePanel .qp-app-grid{gap:13px 5px}#qomPhonePanel .qp-app-icon{width:51px;height:51px}#qomPhoneLauncher191{right:9px;top:41%;width:45px;height:45px}}
@media(max-height:490px) and (orientation:landscape){#qomPhonePanel .qom-phone-shell{height:calc(100dvh - 12px)!important;width:min(297px,calc(100vw - 12px))!important;border-radius:32px!important}#qomPhonePanel .qp-display{border-radius:27px}#qomPhonePanel .qp-home-top{min-height:85px;padding:3px}#qomPhonePanel .qp-home-top h2{font-size:25px}#qomPhonePanel .qp-home-top p{font-size:10px}#qomPhonePanel .qp-weather-row{margin-top:3px}#qomPhonePanel .qp-app-grid{gap:9px 5px}#qomPhonePanel .qp-app-icon{width:43px;height:43px;border-radius:12px}#qomPhonePanel .qp-app-icon svg{width:22px;height:22px}}
@media(prefers-reduced-motion:reduce){#qomPhonePanel .qom-phone-shell{animation:none}#qomPhonePanel .qp-app-icon{transition:none}}

#qomPhonePanel #qpMiniMap191{display:block;width:100%;height:auto;max-height:175px;margin:9px 0;border:1px solid #ffffff42;border-radius:12px;background:#233b46;object-fit:cover}

#qomPhonePanel .qp-home-top{position:relative}#qomPhonePanel .qp-gear{position:absolute;left:2px;top:8px;display:grid;place-items:center;width:31px;height:31px;color:#fff;background:#ffffff2b!important;border:1px solid #ffffff39!important;border-radius:10px!important;padding:4px!important}#qomPhonePanel .qp-gear svg{width:19px;height:19px;stroke:#fff;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#qomPhonePanel .qp-home-top .qp-gear{z-index:4;touch-action:manipulation}
