/* KING EL3BA — مشترك بين الصفحات الداخلية */
    :root {
      --bg: #06100d;
      --bg-2: #081713;
  --panel: rgba(10, 23, 18, 0.88);
  --line: rgba(71, 255, 171, 0.2);
      --text: #effff9;
      --muted: #9ac7b6;
      --neon: #6dffb7;
      --neon-2: #7cf7ff;
  --radius: 18px;
      --font-display: "Space Grotesk", "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
      --font-body: "IBM Plex Sans Arabic", "Trebuchet MS", sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      min-height: 100vh;
      font-family: var(--font-body);
      color: var(--text);
      background:
    radial-gradient(circle at 12% 18%, rgba(109, 255, 183, 0.12), transparent 32%),
    radial-gradient(circle at 88% 10%, rgba(124, 247, 255, 0.14), transparent 26%),
        linear-gradient(135deg, var(--bg), #030706 48%, var(--bg-2));
}

a {
  color: inherit;
      text-decoration: none;
}

a:hover {
  color: var(--neon-2);
}

.site-inner {
  width: min(960px, calc(100% - 28px));
      margin: 0 auto;
  padding: 20px 0 48px;
    }

.top-nav {
      display: flex;
  flex-wrap: wrap;
      align-items: center;
  gap: 10px 14px;
  padding: 12px 16px;
  margin-bottom: 22px;
      border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 23, 18, 0.55);
  backdrop-filter: blur(12px);
}

.top-nav .brand {
      font-family: var(--font-display);
      font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
      color: var(--neon);
  margin-inline-end: auto;
}

.top-nav a {
  font-size: 0.88rem;
      color: var(--muted);
  padding: 6px 10px;
      border-radius: 999px;
}

.top-nav a:hover {
      color: var(--text);
  background: rgba(109, 255, 183, 0.08);
}

.top-nav a.lang {
      border: 1px solid var(--line);
  color: var(--neon);
}

.page-title {
      font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
    }

.page-lead {
      color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.6;
  max-width: 62ch;
}

.panel {
  background: var(--panel);
      border: 1px solid var(--line);
      border-radius: var(--radius);
  padding: 18px 20px;
      margin-bottom: 16px;
    }

.panel h2 {
      font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 10px;
      color: var(--neon);
    }

.note {
  font-size: 0.85rem;
      color: var(--muted);
  line-height: 1.55;
}

.item-card {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      padding: 14px 0;
}

.item-card:last-child {
  border-bottom: none;
}

.item-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
      font-family: var(--font-display);
    }

.item-meta {
      font-size: 0.8rem;
      color: var(--muted);
  margin-bottom: 8px;
}

.item-body {
      font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text);
}

.status-pill {
      display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      background: rgba(109, 255, 183, 0.12);
  color: var(--neon);
      margin-bottom: 12px;
    }

.error-box {
      padding: 14px;
      border-radius: var(--radius);
  border: 1px solid rgba(255, 111, 126, 0.35);
  background: rgba(255, 77, 109, 0.08);
  color: #ffb3bc;
      font-size: 0.9rem;
}

footer.page-foot {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
      font-size: 0.78rem;
      color: var(--muted);
}

.hidden {
      display: none !important;
    }

/* EN: body لغة إنجليزية */
html[lang="en"] body {
  --font-body: "Space Grotesk", "IBM Plex Sans Arabic", "Segoe UI", system-ui, sans-serif;
    }

@media (max-width: 720px) {
  html {
    overflow-x: clip;
  }

  body {
    overflow-x: clip;
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
  }

  .site-inner {
    width: 100%;
    max-width: 100%;
    padding-inline: clamp(10px, 4vw, 18px);
    padding-top: 12px;
    padding-bottom: 40px;
    box-sizing: border-box;
  }

  .top-nav {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius);
    gap: 12px;
  }

  .top-nav .brand {
    margin-inline-end: 0;
    text-align: center;
  }

  .top-nav a {
    justify-content: center;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
  }

  .panel {
    padding: 14px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .page-title {
    font-size: clamp(1.35rem, 6vw, 2rem);
  }

  .page-lead {
    max-width: none;
  }

  ins.adsbygoogle {
    display: block !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  ins.adsbygoogle iframe {
    max-width: 100% !important;
  }

  img,
  video {
    max-width: 100%;
    height: auto;
  }
}
