/*
 * ثيم A — "Hunter Guild": كحلي غامق + ذهبي + تيل.
 * كل الألوان والمسافات هون كـ CSS variables؛ ثيم تاني (B/C) بيتضاف كـ [data-skin="b"] بنفس الأسماء.
 */
@font-face {
  font-family: 'Cairo'; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url('../fonts/cairo-arabic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Cairo'; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url('../fonts/cairo-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root, :root[data-theme="dark"] {
  --font: 'Cairo', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  /* الألوان */
  --bg: #0a1224;
  --bg-grad: radial-gradient(1200px 600px at 50% -10%, #16284d 0%, #0a1224 60%);
  --surface: #12203b;
  --surface-2: #1a2c4e;
  --text: #eef2fb;
  --text-soft: #9fb0cf;
  --line: #243a63;
  --gold: #e8b84a;
  --gold-ink: #231a02;
  --gold-soft: rgba(232, 184, 74, .16);
  --teal: #2fc7b6;
  --teal-soft: rgba(47, 199, 182, .16);
  --danger: #ff8f7a;
  --ok: #4fd69c;
  --glow: 0 0 18px rgba(232, 184, 74, .55);
  --shadow: 0 6px 20px rgba(0, 0, 0, .35);
  /* الأشكال */
  --radius: 18px;
  --radius-sm: 12px;
  --gap: 12px;
  --pad: 16px;
  --tap: 44px;
  --maxw: 720px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f5f1e6;
  --bg-grad: radial-gradient(1200px 600px at 50% -10%, #fff8e3 0%, #f5f1e6 60%);
  --surface: #ffffff;
  --surface-2: #eef1f8;
  --text: #14213d;
  --text-soft: #54628a;
  --line: #d9dcea;
  --gold: #c58f13;
  --gold-ink: #ffffff;
  --gold-soft: rgba(197, 143, 19, .14);
  --teal: #0f857a;
  --teal-soft: rgba(15, 133, 122, .12);
  --danger: #b4452f;
  --ok: #1d8a5c;
  --glow: 0 0 14px rgba(197, 143, 19, .45);
  --shadow: 0 4px 14px rgba(20, 33, 61, .1);
  color-scheme: light;
}
