/* ‏جيوسياسي — ‏صفحةُ الحسابات. ‏الخطُّ يُشحَن ‏ولا يُفترَض على جهازِ الزائر. */
@font-face{font-family:"Geosiyasi Sans";src:url("fonts/ThmanyahSans-Light.woff2") format("woff2");font-weight:200 350;font-display:swap}
@font-face{font-family:"Geosiyasi Sans";src:url("fonts/ThmanyahSans-Regular.woff2") format("woff2");font-weight:360 450;font-display:swap}
@font-face{font-family:"Geosiyasi Sans";src:url("fonts/ThmanyahSans-Medium.woff2") format("woff2");font-weight:460 600;font-display:swap}
@font-face{font-family:"Geosiyasi Sans";src:url("fonts/ThmanyahSans-Bold.woff2") format("woff2");font-weight:610 900;font-display:swap}

/* ‏الهويّة: ‏أسودُ الفضاء ‏وكحليٌّ خافتٌ منزوعُ التشبّع، ‏والحبرُ أبيضُ ‏وفولاذيٌّ (‎#95b3c4‎).
   ‏الأبيضُ وحدَه لكلِّ ما هو خبرٌ ‏أو محطّةٌ على الكوكب. */
:root{
  --space:#000;
  --ink:#fff;
  --steel:#95b3c4;
  --steel-dim:rgba(149,179,196,.55);
  --hair:rgba(149,179,196,.26);
  --live:#3d7cf0;
  --ease:cubic-bezier(.2,0,0,1);
  --fast:140ms;--normal:190ms;--slow:280ms;
  color-scheme:dark;
}
*{box-sizing:border-box}
html,body{height:100%}
html{background:var(--space);-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body{
  margin:0;overflow:hidden;background:var(--space);color:var(--ink);
  font-family:"Geosiyasi Sans","Thmanyah Sans","DIN Next Arabic","Geeza Pro",Tahoma,Arial,sans-serif;
  font-size:15px;line-height:1.5;
}
h1,p{margin:0}
a{color:inherit}
button{font:inherit;cursor:pointer}
a,button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
:focus-visible{outline:2px solid #d5e5eb;outline-offset:4px;border-radius:2px}
::selection{background:rgba(132,176,195,.28);color:#fff}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
/* ‏المؤشّرُ الأصليُّ يُخفى حيث يوجد مؤشّرُنا — ‏على الفأرةِ وحدَها ‏ومع تشغيلِ السكربت. */
@media (pointer:fine){.js.has-reticle,.js.has-reticle a,.js.has-reticle button,.js.has-reticle canvas{cursor:none}}

/* ‏الكوكب */
.globe{position:fixed;inset:0;width:100%;height:100%;display:block;z-index:0;touch-action:none}
.no-webgl .globe{
  background:
    radial-gradient(120% 60% at 50% 115%,rgba(41,62,82,.6),rgba(12,20,30,.35) 45%,transparent 70%),
    var(--space);
}

/* ‏المحطّات: ‏نقطةٌ على السطح، ‏وخيطٌ يصعد، ‏واسمٌ فوقَه — ‏كلُّه أبيض */
.stations{position:fixed;inset:0;z-index:1;pointer-events:none;overflow:hidden}
.station{position:absolute;left:0;top:0;width:0;height:0;opacity:0;will-change:transform,opacity}
.station__dot{position:absolute;left:-3px;top:-3px;width:6px;height:6px;border-radius:50%;background:#fff;box-shadow:0 0 0 4px rgba(255,255,255,.1),0 0 10px rgba(214,228,240,.45)}
.station__dot::after{content:"";position:absolute;inset:-4px;border-radius:50%;border:1px solid rgba(255,255,255,.65);animation:pulse 2.2s cubic-bezier(.2,0,0,1) infinite}
@keyframes pulse{from{transform:scale(.6);opacity:.9}to{transform:scale(3.6);opacity:0}}
.station__line{position:absolute;left:0;bottom:2px;width:1px;height:128px;transform-origin:50% 100%;transform:scaleY(0);
  background:linear-gradient(to top,rgba(255,255,255,.9),rgba(255,255,255,.35) 70%,rgba(255,255,255,0))}
.station--news .station__name{font-weight:400}
.station__name{position:absolute;left:0;bottom:136px;transform:translateX(-50%);white-space:nowrap;font-size:13.5px;font-weight:500;color:var(--ink);opacity:0;letter-spacing:.01em}

/* ‏الأخبارُ الحيّة: ‏حلقةُ تركيزٍ على الخبرِ المؤشَّر، ‏وبطاقةُ عنوانِه، ‏ووميضُ الضربة */
.news-focus{position:fixed;left:0;top:0;z-index:2;pointer-events:none;width:22px;height:22px;margin:-11px 0 0 -11px;border-radius:50%;
  border:1px solid rgba(255,255,255,.85);box-shadow:0 0 14px rgba(214,228,240,.35);opacity:0;transform:scale(.5);
  transition:opacity var(--fast) var(--ease),transform var(--normal) var(--ease)}
.news-focus.is-on{opacity:1;transform:scale(1)}
.tip{position:fixed;left:0;top:0;z-index:7;pointer-events:none;width:max-content;max-width:min(340px,calc(100vw - 32px));
  padding:0 6px;color:var(--ink);font-size:14.5px;font-weight:500;line-height:1.5;text-align:center;opacity:0;
  text-shadow:0 1px 2px rgba(0,0,0,.9),0 0 14px rgba(0,0,0,.9),0 0 28px rgba(0,0,0,.7);
  transform:translate(-50%,calc(-100% - 20px)) translateY(4px);
  transition:opacity var(--fast) var(--ease),transform var(--normal) var(--ease)}
.tip.is-on{opacity:1;transform:translate(-50%,calc(-100% - 20px))}
.tip small{display:block;margin-top:2px;font-size:12px;font-weight:400;color:var(--steel)}
.flash{position:fixed;left:0;top:0;z-index:2;pointer-events:none;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;
  border:1px solid rgba(255,255,255,.9);animation:flash .7s cubic-bezier(.2,0,0,1) forwards}
@keyframes flash{from{transform:scale(.4);opacity:1}to{transform:scale(3.2);opacity:0}}
.ripple-ring{position:fixed;left:0;top:0;z-index:2;pointer-events:none;width:26px;height:26px;margin:-13px 0 0 -13px;border-radius:50%;
  border:1px solid rgba(214,228,240,.7);animation:flash .9s cubic-bezier(.2,0,0,1) forwards}

/* ‏المؤشّر: ‏نيشانُ هدفٍ يتبع الفأرةَ ‏وحولَه وهجٌ خفيف */
.reticle{position:fixed;left:0;top:0;z-index:9;pointer-events:none;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;
  border:1px solid rgba(214,228,240,.78);opacity:0;
  box-shadow:0 0 12px rgba(180,205,230,.22),inset 0 0 8px rgba(180,205,230,.1);
  transition:opacity var(--normal) var(--ease),transform var(--normal) var(--ease),border-color var(--normal) var(--ease)}
.reticle::before,.reticle::after{content:"";position:absolute;background:rgba(230,240,250,.9)}
.reticle::before{left:50%;top:-5px;width:1px;height:8px;margin-left:-.5px}
.reticle::after{left:-5px;top:50%;width:8px;height:1px;margin-top:-.5px}
.reticle.is-on{opacity:1}
.reticle.is-link{transform:scale(.72);border-color:#fff}
.reticle.is-press{transform:scale(.86)}
@media (pointer:coarse){.reticle{display:none}}

/* ‏الشريطُ العلويّ: ‏إحداثيّاتٌ في البداية، ‏والشعارُ في الوسط، ‏ومشاركةٌ في النهاية */
.top{position:fixed;inset:0 0 auto 0;z-index:4;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;
  padding:max(14px,env(safe-area-inset-top)) max(22px,env(safe-area-inset-right)) 12px max(22px,env(safe-area-inset-left))}
.top::after{content:"";position:absolute;left:max(22px,env(safe-area-inset-left));right:max(22px,env(safe-area-inset-right));bottom:0;height:1px;background:var(--hair)}
.js .top{opacity:0}
.hud{grid-column:1;display:flex;align-items:center;gap:10px;justify-self:start;white-space:nowrap;font-size:12.5px;color:var(--steel);font-variant-numeric:tabular-nums;letter-spacing:.02em;transition:color var(--normal) var(--ease)}
.hud.is-live{color:#fff}
.hud__gap{width:1px;height:10px;background:var(--hair)}
.brand{grid-column:2;display:block;width:118px;height:auto;justify-self:center}
.share{grid-column:3;justify-self:end;display:inline-flex;align-items:center;gap:9px;height:40px;padding:0 4px;border:0;background:none;color:var(--steel);font-size:13px;font-weight:400;
  transition:color var(--normal) var(--ease),transform var(--fast) var(--ease)}
.share svg{width:15px;height:15px}
.share:hover{color:#fff}
.share:active{transform:scale(.94)}

/* ‏الرأس: ‏الجملةُ ‏وسطرُ «‏خريطة حيّة» ‏في الفراغِ فوقَ الأفق */
.hero{position:fixed;left:0;right:0;top:0;height:44svh;z-index:2;pointer-events:none;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:34px;
  padding:calc(max(16px,env(safe-area-inset-top)) + 48px) 20px 0;text-align:center}
.slogan{display:flex;justify-content:center;flex-wrap:wrap;gap:0 .2em;font-size:clamp(42px,6.2vw,72px);font-weight:700;line-height:1.1;letter-spacing:-.012em;color:var(--ink)}
.slogan .w{display:block;overflow:hidden;padding:.12em .04em .22em;margin-bottom:-.22em}
.slogan .w>span{display:block;will-change:transform}
.js .slogan .w>span{opacity:0}
.live{display:inline-flex;align-items:center;gap:10px;font-size:14.5px;font-weight:300;color:#d6e0e8;letter-spacing:.01em}
.js .live{opacity:0}
.live__dot{position:relative;width:10px;height:10px;border-radius:50%;background:var(--live);animation:breathe 1.9s ease-in-out infinite}
.live__dot::after{content:"";position:absolute;inset:-4px;border-radius:50%;border:1px solid rgba(92,150,255,.8);animation:pulse 1.9s cubic-bezier(.2,0,0,1) infinite}
@keyframes breathe{0%,100%{transform:scale(.9);box-shadow:0 0 6px rgba(70,130,240,.55),0 0 14px rgba(70,130,240,.25)}50%{transform:scale(1.1);box-shadow:0 0 12px rgba(92,150,255,1),0 0 30px rgba(70,130,240,.55)}}

/* ‏ظلٌّ أسفلَ الشاشةِ يُقرأ عليه شريطُ الحسابات */
.shade{position:fixed;left:0;right:0;bottom:0;height:34vh;z-index:2;pointer-events:none;background:linear-gradient(to top,rgba(0,0,0,.8),rgba(0,0,0,.36) 45%,rgba(0,0,0,0))}

/* ‏شريطُ الحسابات — ‏خطٌّ شعرةٌ فوقَه ‏وفواصلُ عموديّةٌ بينها */
.rail{--sep:1;position:fixed;left:50%;bottom:calc(max(18px,env(safe-area-inset-bottom)) + 40px);transform:translateX(-50%);z-index:3;
  width:min(880px,calc(100% - 40px));display:flex;justify-content:center;isolation:isolate}
.js .rail{opacity:0}
.rail__item{position:relative;flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;gap:9px;padding:10px 8px;
  color:#fff;text-decoration:none;font-size:14px;font-weight:500;line-height:1.2;white-space:nowrap;
  transition:color var(--normal) var(--ease)}
.js .rail__item{opacity:0}
.rail__item+.rail__item::before{content:"";position:absolute;inset-inline-start:0;top:50%;width:1px;height:30px;margin-top:-15px;background:rgba(255,255,255,.42);
  transform:scaleY(var(--sep));transform-origin:50% 50%}
.rail__icon{width:18px;height:18px;color:#fff;transition:color var(--normal) var(--ease),transform var(--normal) var(--ease)}
.rail__item:hover,.rail__item:focus-visible{color:#fff}
.rail__item:hover .rail__icon,.rail__item:focus-visible .rail__icon{color:#fff;transform:translateY(-2px)}
.rail__item:focus-visible{outline-offset:-2px}

.toast{position:fixed;left:50%;bottom:calc(max(20px,env(safe-area-inset-bottom)) + 92px);transform:translateX(-50%);z-index:5;
  font-size:12.5px;color:var(--steel);opacity:0;transition:opacity var(--normal) var(--ease);white-space:nowrap}
.toast.is-on{opacity:1}
.noscript{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);color:var(--steel);font-size:14px}

/* ‏بابُ المعاينة */
.gate{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:24px;background:#000}
.gate[hidden]{display:none}
.gate__form{display:grid;gap:14px;width:min(320px,100%);text-align:center;justify-items:center}
.gate__brand{width:150px;height:auto;margin-bottom:10px}
.gate__label{font-size:14px;color:var(--steel)}
.gate__input{width:100%;height:46px;padding:0 14px;border-radius:12px;border:1px solid var(--hair);background:#05080c;color:#fff;font-size:16px;text-align:center;letter-spacing:.08em}
.gate__input:focus{outline:none;border-color:rgba(149,179,196,.6)}
.gate__btn{width:100%;height:46px;border-radius:12px;border:0;background:#fff;color:#000;font-size:15px;font-weight:600;cursor:pointer}
.gate__btn:active{transform:scale(.98)}
.gate__err{min-height:20px;font-size:13px;color:#df7e7a}
.is-gated .reticle{display:none}
@media (pointer:fine){.js.has-reticle.is-gated,.js.has-reticle.is-gated input,.js.has-reticle.is-gated button{cursor:auto}}

/* ‏الجوّال */
@media (max-width:700px){
  .hero{height:46svh;gap:14px;padding-top:calc(max(16px,env(safe-area-inset-top)) + 40px)}
  .brand{width:96px}
  .share span{display:none}
  .share{width:38px;height:38px;padding:0;justify-content:center}
  .slogan{font-size:clamp(38px,11.5vw,46px)}
  .live{font-size:13.5px}
  /* ‏الجوّال: ‏الشريطُ أصغرُ ‏ولا يمتدُّ إلى الحافّتين، ‏ومرفوعٌ عن القاع */
  .rail{width:min(330px,calc(100% - 56px));bottom:calc(max(18px,env(safe-area-inset-bottom)) + 30px);transform:translateX(-50%) scale(.75);transform-origin:50% 100%}
  .rail__item{font-size:10.5px;gap:7px;padding:6px 2px}
  .rail__icon{width:15px;height:15px}
  .rail__item+.rail__item::before{height:22px;margin-top:-11px}
  .station__line{height:96px}
  .station__name{bottom:104px}
  .hud{display:none}
  .top{grid-template-columns:1fr auto 1fr}
}
@media (max-height:560px){
  .hero{height:50svh;gap:10px}
  .slogan{font-size:34px}
}

/* ‏من طلب تقليلَ الحركة: ‏الحالةُ النهائيّةُ مباشرةً */
@media (prefers-reduced-motion:reduce){
  .js .top,.js .live,.js .rail,.js .rail__item{opacity:1}
  .js .slogan .w>span{opacity:1}
  .reticle,.station__dot::after,.live__dot,.live__dot::after{animation:none}
}
