/* ثيم موحد لصفحات الأوامر بألوان هوية murtada.net (فضاء داكن + سماوي/أزرق/بنفسجي) */
:root { color-scheme: dark; --mn-bg:#04060f; --mn-surface:#0c1228; --mn-line:#222c55; --mn-text:#e9efff; --mn-muted:#9aa8c7; --mn-cyan:#63ddff; --mn-blue:#4d8cff; --mn-violet:#8455ff; }
html { background: var(--mn-bg); }
body {
  color: var(--mn-text) !important;
  background:
    radial-gradient(900px 480px at 88% -80px, rgba(132, 85, 255, .20), transparent 70%),
    radial-gradient(760px 420px at 4% 60px, rgba(99, 221, 255, .13), transparent 70%),
    var(--mn-bg) !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}
::selection { background: rgba(99, 221, 255, .3); }

/* ===== ترويسة موحدة ===== */
.mn-head {
  position: relative; z-index: 60; display: flex; align-items: center; gap: 12px;
  min-height: 64px; padding: 10px 16px; color: #fff;
  background: linear-gradient(120deg, #0b1736 0%, #171446 58%, #0b2038 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.mn-head::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, #63ddff, #4d8cff, #8455ff, transparent);
}
.topbar.mn-head { position: sticky; top: 0; }
.mn-head .topbar-brand { display: flex; align-items: center; gap: 11px; min-width: 0; flex: 1 1 auto; }
.mn-head .logo-mark {
  width: 38px; height: 38px; flex: none; border-radius: 11px; overflow: hidden; display: grid; place-items: center;
  background: #050816; box-shadow: 0 0 0 1px rgba(99, 221, 255, .38), 0 6px 16px rgba(0, 0, 0, .45);
}
.mn-head .logo-mark a { display: block; width: 100%; height: 100%; }
.mn-head .logo-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mn-head .titles { min-width: 0; line-height: 1.3; overflow: hidden; }
.mn-head .t-main { font-size: 15px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mn-head .t-sub { font-size: 11px; font-weight: 500; letter-spacing: .06em; color: var(--mn-cyan); opacity: .95; }
.mn-head .home-btn {
  display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(99, 221, 255, .42); background: rgba(255, 255, 255, .06); color: #e9efff;
  font: 600 13px/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.mn-head .home-btn:hover, .mn-head .home-btn:focus-visible { background: rgba(99, 221, 255, .16); border-color: rgba(99, 221, 255, .8); transform: translateY(-1px); }
.mn-head .home-btn svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 480px) { .mn-head .home-btn .hb-text { display: none; } .mn-head .home-btn { padding: 9px; } }

/* ===== عنوان موحد لكل صفحة ===== */
.brand-text h1, .hero h1, .hdr h1, .intro-hero h1 {
  font-size: clamp(1.5rem, 5.4vw, 2.15rem); font-weight: 700; line-height: 1.4; letter-spacing: 0; color: #fff;
  text-shadow: 0 2px 24px rgba(77, 140, 255, .35);
}

/* ===== خلفية موحدة لأقسام العنوان (hero) ===== */
header.topbar:not(.mn-head), .hero:has(> .hero-grid), .hdr, .intro-hero {
  background:
    radial-gradient(620px 280px at 88% -10%, rgba(132, 85, 255, .30), transparent 70%),
    radial-gradient(520px 260px at 0% 110%, rgba(99, 221, 255, .16), transparent 70%),
    linear-gradient(180deg, #0b1430 0%, #070b1c 100%) !important;
  border-color: rgba(99, 221, 255, .22) !important;
}
