/* هوية مخيم الشباب 4 — tokens, fonts and shared pieces used by the display and the judges panel. */

@font-face { font-family: 'Kufi'; src: url('../fonts/noto-kufi-arabic-arabic-800-normal.woff2?v=1') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Kufi'; src: url('../fonts/noto-kufi-arabic-arabic-900-normal.woff2?v=1') format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Cairo'; src: url('../fonts/cairo-arabic-400-normal.woff2?v=1') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-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'; src: url('../fonts/cairo-arabic-600-normal.woff2?v=1') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-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'; src: url('../fonts/cairo-arabic-700-normal.woff2?v=1') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-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'; src: url('../fonts/cairo-arabic-800-normal.woff2?v=1') format('woff2'); font-weight: 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-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'; src: url('../fonts/cairo-latin-400-normal.woff2?v=1') format('woff2'); font-weight: 400 600; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Cairo'; src: url('../fonts/cairo-latin-700-normal.woff2?v=1') format('woff2'); font-weight: 700 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Ruqaa'; src: url('../fonts/aref-ruqaa-arabic-700-normal.woff2?v=1') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --blue: #2D68B1;
  --blue-dark: #22528C;
  --gold: #D4A24C;
  --gold-deep: #A9711B;
  --navy: #1B2A4A;
  --sky: #EDF2FA;
  --sky-2: #F6F9FD;
  --line: #C9D8EC;
  --white: #FFFFFF;
  --gold-soft: #FBF3E3;
  --danger: #B3261E;
  --font-display: 'Kufi', 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --font-body: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --font-quote: 'Ruqaa', 'Kufi', serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--sky);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* Faint lattice pattern + soft clouds (the poster background). */
.sky-bg {
  background-color: var(--sky);
  background-image:
    url('../img/lattice.svg?v=1'),
    radial-gradient(1200px 380px at 15% 105%, rgba(255,255,255,.95), rgba(255,255,255,0) 70%),
    radial-gradient(1000px 340px at 85% 110%, rgba(255,255,255,.9), rgba(255,255,255,0) 70%),
    radial-gradient(900px 400px at 50% -10%, rgba(255,255,255,.7), rgba(255,255,255,0) 70%);
  background-size: 52px 52px, auto, auto, auto;
}

.title-row { display: flex; align-items: flex-start; gap: .18em; }
.title-row .t { font-family: var(--font-display); font-weight: 900; color: var(--blue); line-height: 1.25; }
.badge4 {
  display: inline-flex; align-items: center; justify-content: center;
  width: .78em; height: .78em; border-radius: 50%;
  background: var(--gold); color: var(--white);
  font-family: var(--font-body); font-weight: 800; font-size: .5em; line-height: 1;
  margin-top: .12em;
}

.pill {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .25em 1.2em; border: 2px solid var(--blue); border-radius: 999px;
  background: var(--white); color: var(--blue); font-weight: 700;
}
.dot { display: inline-block; width: .32em; height: .32em; border-radius: 50%; background: var(--gold); vertical-align: middle; }

.logo-card { background: var(--white); border-radius: 18%; overflow: hidden; display: block; }
.logo-card img { display: block; width: 100%; height: 100%; object-fit: contain; }

.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon.solid { fill: currentColor; stroke: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
