@font-face{font-family:Amiri;src:url('Fonts/Amiri-Regular.ttf')}@font-face{font-family:Amiri;src:url('Fonts/Amiri-Bold.ttf');font-weight:700}
:root{color-scheme:dark;--panel:#21262c;--muted:#a4b8d9;--line:#ffffff20;--accent:#6764d8;font-family:system-ui,sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0;background:#080c16;color:#fff}html[lang=ar]{font-family:Amiri,serif;font-size:19px}button,input,select,textarea{font:inherit}button{border:0;border-radius:12px;background:#ffffff0e;color:inherit;min-width:44px;min-height:44px;padding:8px 14px;cursor:pointer}button:hover{background:#ffffff23}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #b7dbff;outline-offset:2px}a{color:#b5d4ff}small,.muted{color:var(--muted)}h1,h2,h3,p{margin:0 0 12px}h1{font-size:1.2rem}h2{font-size:1.3rem}h3{font-size:1.05rem;margin-top:20px}p{line-height:1.65}#app{height:100dvh;min-height:520px;position:relative;overflow:hidden}#sky{width:100%;height:100%;display:block;touch-action:none}header{position:absolute;top:max(12px,env(safe-area-inset-top));left:20px;right:20px;display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none}header>*{pointer-events:auto}header button{font-size:26px;background:#0003}.mode{border-radius:40px;background:#0005;padding:12px 20px;font-size:.85rem;text-align:center}.mode small{display:block;color:#ffc66b}.bottom{position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:680px}.skyTools{display:flex;justify-content:space-between;align-items:center;padding:4px 20px;text-shadow:0 2px 5px #000}.skyTools button{background:#0004}.timeline{margin:0 10px 10px;padding:8px 12px;border-radius:18px;background:#111923e8;backdrop-filter:blur(18px)}.row{display:flex;align-items:center;gap:8px}.row h2{flex:1;margin:0}.timeline .row{justify-content:space-between}.timeline button{font-size:.85rem;padding:5px 10px;min-height:36px}.scale{display:flex;justify-content:space-between;color:#9da8b9;font-size:.66rem;direction:ltr}.playback{margin-top:5px}.playback select{width:85px}input[type=range]{width:100%;accent-color:#c4ccff;direction:ltr}#objectCard{padding:0 20px max(14px,env(safe-area-inset-bottom));border-radius:24px 24px 0 0;background:var(--panel)}#expand{display:block;width:100%;height:24px;min-height:24px;padding:8px;background:transparent}#expand span{display:block;width:36px;height:4px;border-radius:9px;background:#ffffff50;margin:auto}.objectHeader{display:flex;gap:14px;align-items:center;margin:6px 0 12px}.objectName{flex:1;min-width:0}.objectName h1{margin:0;overflow-wrap:anywhere}#badge{width:44px;height:44px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#bfdedc,#24403b);display:grid;place-items:center;font-size:30px;color:#e5fffa}.objectHeader button{font-size:30px;padding:0;background:transparent}.actions .primary{background:var(--accent)}.actions #field{margin-inline-start:auto;white-space:nowrap}.actions #stale{color:#ffc26f;font-size:.75rem}.tabs{display:flex;background:#ffffff0a;border-radius:14px;padding:4px;margin-top:14px}.tabs button{flex:1;background:transparent}.tabs button.active{background:#ffffff26}#detailContent{max-height:28dvh;overflow:auto;padding:18px 2px 5px}#detailContent:empty{display:none}.metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.metric{padding:12px;background:#ffffff08;border-radius:12px}.metric span{display:block;font-size:.78rem;color:var(--muted)}.metric strong{font-size:1.1rem;direction:ltr;display:block}dialog{color:#fff;background:#191f28;border:1px solid #ffffff18;max-height:88dvh;border-radius:24px;width:min(680px,calc(100% - 24px));padding:0;box-shadow:0 20px 100px #0008}dialog::backdrop{background:#0007;backdrop-filter:blur(4px)}.panelHead{position:sticky;top:0;background:#191f28;display:flex;align-items:center;justify-content:space-between;z-index:2;padding:16px 20px;border-bottom:1px solid var(--line)}.panelHead h2{margin:0}#panelBody{padding:20px;overflow:auto}#menu{margin:12px;margin-inline-start:12px;width:min(360px,calc(100% - 24px));padding:20px;max-height:calc(100dvh - 24px)}#menu nav{display:grid;margin-top:20px;gap:6px}#menu nav button{text-align:start;min-height:56px}label{display:block;margin:12px 0 6px}input:not([type=range]):not([type=checkbox]),textarea,select{border:1px solid #ffffff25;background:#ffffff08;color:#fff;padding:10px 12px;border-radius:10px;width:100%;min-height:44px}select option{background:#202630}textarea{min-height:140px;direction:ltr;font:13px monospace}input[type=checkbox]{accent-color:#9994ed;width:20px;height:20px}.toggle{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 0}.filters,.chips{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.chips button,.filters button{font-size:.9rem}.selected{background:#5a5c9c!important}.result{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:start;padding:14px 10px;border-bottom:1px solid var(--line);border-radius:0}.result small{display:block}.result>span:last-child{white-space:nowrap;direction:ltr;font-size:.85rem}.guideItem{border-bottom:1px solid var(--line);padding-bottom:20px}.guideItem button{margin-top:12px}.error{color:#ffb877}.map{width:100%;aspect-ratio:2;background:#061a2b;border-radius:16px}.bar{display:flex;height:15px;background:#080e18;border-radius:4px;overflow:hidden;direction:ltr}.bar i{flex:1}.legend{font-size:.83rem;color:var(--muted);margin:12px 0}.prayer{display:flex;justify-content:space-between;padding:16px;border-bottom:1px solid var(--line)}.prayer.next{background:#6964d526;border-radius:12px}#toast{position:absolute;top:90px;left:50%;transform:translateX(-50%);padding:12px 18px;border-radius:12px;background:#202733f5;max-width:90%;font-size:.9rem;pointer-events:none;display:none;z-index:20}#guidance{position:absolute;top:145px;left:50%;transform:translateX(-50%);background:#0006;border-radius:12px;padding:8px;pointer-events:none}#guidance:empty{display:none}.night{filter:sepia(1) saturate(5) hue-rotate(315deg)}[hidden]{display:none!important}.notice{padding:12px;background:#ffffff08;border-radius:12px;font-size:.88rem;margin:12px 0}pre{white-space:pre-wrap;font-size:.75rem;direction:ltr;text-align:left}#fineSlider{direction:ltr}@media(min-width:1000px){.bottom{max-width:550px;left:30px;transform:none}header{left:30px;right:30px}#app{min-height:650px}}@media(max-height:740px){.timeline{padding:4px 10px}.skyTools{padding:0 20px}.objectHeader{margin:0 0 6px}.timeline button{min-height:32px}.scale{display:none}#detailContent{max-height:24dvh}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
