
@font-face {
  font-family: 'Qomra';
  src: url('../assets/fonts/itfQomraArabic-Regular.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Qomra';
  src: url('../assets/fonts/itfQomraArabic-Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}


    
    

    :root {
      --night: #01110F;
      --forest-900: #021B18;
      --forest-800: #002623;
      --forest-700: #054239;
      --gold: #B9A779;
      --gold-hi: #D8C690;
      --gold-lo: #8E7F58;
      --ivory: #F6F2E7;
      --cream: #EDEBE0;
      --umber-900: #260F14;
      --umber: #6B1F2A;
      --wool-red: #9E2B2B;
      --flag-green: #007A3D;
      --flag-red: #CE1126;

      --surface: rgba(2, 27, 24, 0.80);
      --surface-strong: rgba(1, 17, 15, 0.92);
      --border-gold: rgba(185, 167, 121, 0.28);
      --border-gold-hi: rgba(216, 198, 144, 0.58);
      --text-main: #F6F2E7;
      --text-muted: rgba(246, 242, 231, 0.84);
      --text-soft: rgba(246, 242, 231, 0.62);

      --f-display: 'Qomra', 'Readex Pro', system-ui, sans-serif;
      --f-ui: 'Readex Pro', system-ui, -apple-system, sans-serif;
      --f-quote: 'Amiri', Georgia, serif;

      --w: min(1240px, 93vw);
      --shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
      --ease: cubic-bezier(0.22, 1, 0.36, 1);
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; font-size: 16px; }
    body {
      margin: 0;
      background: var(--night);
      color: var(--text-main);
      font-family: var(--f-ui);
      line-height: 1.75;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }
    img { max-width: 100%; height: auto; display: block; }
    a { color: inherit; text-decoration: none; }
    button, input, select, textarea { font-family: inherit; }

    .flag-strip {
      position: fixed;
      top: 0; left: 0; right: 0;
      height: 4px;
      z-index: 1200;
      background: linear-gradient(90deg, var(--flag-green) 0% 33.3%, #FFFFFF 33.3% 66.6%, #111111 66.6% 100%);
    }

    /* AMBIENT VIDEO + VISUAL FORMATIONS BACKGROUND */
    #ambient {
      position: fixed;
      inset: 0;
      z-index: -2;
      overflow: hidden;
      background: radial-gradient(ellipse 80% 70% at 50% 15%, #06302A 0%, #021B18 50%, #01110F 100%);
      pointer-events: none;
    }
    #ambient .ambient-video,
    #ambient .ambient-poster {
      position: absolute;
      inset: -3%;
      width: 106%;
      height: 106%;
      object-fit: cover;
      mix-blend-mode: screen;
      opacity: 0.16;
      filter: saturate(0.72) brightness(0.78);
      transition: opacity 0.9s var(--ease);
    }
    #ambient .ambient-video { opacity: 0.17; z-index: 1; }
    #ambient .ambient-poster { opacity: 0.12; z-index: 0; }
    #ambient.video-ready .ambient-poster { opacity: 0; }
    #ambient .ambient-poster { animation: ambientDrift 30s ease-in-out infinite alternate; }
    @keyframes ambientDrift {
      0% { transform: scale(1.01) translate3d(0, 0, 0); }
      100% { transform: scale(1.07) translate3d(-1.2%, -1%, 0); }
    }
    /* Subtle Syrian Geometric Heritage Formation Overlay */
    #ambient .geo-formation {
      position: absolute;
      inset: 0;
      opacity: 0.065;
      background-image:
        repeating-linear-gradient(45deg, rgba(185,167,121,0.32) 0 1px, transparent 1px 42px),
        repeating-linear-gradient(-45deg, rgba(185,167,121,0.32) 0 1px, transparent 1px 42px);
      mask-image: radial-gradient(circle at 50% 30%, rgba(0,0,0,0.9), transparent 78%);
      -webkit-mask-image: radial-gradient(circle at 50% 30%, rgba(0,0,0,0.9), transparent 78%);
    }
    #ambient .ambient-eagle {
      position: absolute;
      left: 50%; top: 50%;
      width: min(760px, 82vw);
      transform: translate(-50%, -50%);
      opacity: 0.085;
      mix-blend-mode: screen;
    }
    #ambient .ambient-scrim {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(1,17,15,0.68) 0%, rgba(1,17,15,0.82) 48%, rgba(1,17,15,0.96) 100%),
        radial-gradient(circle at 50% 0%, rgba(185,167,121,0.09), transparent 55%);
    }
    .grain {
      position: fixed;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      opacity: 0.045;
      background-image: radial-gradient(rgba(246,242,231,0.45) 0.6px, transparent 0.6px);
      background-size: 4px 4px;
    }

    /* STICKY GLASS HEADER */
    .site-head {
      position: sticky;
      top: 4px;
      z-index: 1000;
      background: rgba(1, 17, 15, 0.84);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--border-gold);
    }
    .site-head .wrap {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.7rem;
      min-height: 74px;
    }
    .brand { display: flex; align-items: center; gap: 0.55rem; min-width: 0; }
    .brand img.b-nd { height: 40px; width: auto; }
    .brand img.b-darb { height: 36px; width: auto; }
    .brand .sep { width: 1px; height: 26px; background: var(--border-gold); }
    .brand-text { display: flex; flex-direction: column; line-height: 1.25; }
    .brand-text strong { font-size: 0.91rem; color: var(--ivory); font-weight: 700; white-space: nowrap; }
    .brand-text span { font-size: 0.69rem; color: var(--gold); white-space: nowrap; }

    .head-actions { display: flex; align-items: center; gap: 0.42rem; }
    .nav { display: flex; align-items: center; gap: 0.14rem; }
    .nav a {
      padding: 0.38rem 0.64rem;
      border-radius: 10px;
      font-size: 0.82rem;
      color: var(--text-muted);
      transition: all 0.2s ease;
      white-space: nowrap;
    }
    .nav a:hover { color: var(--gold-hi); background: rgba(185,167,121,0.12); }
    .mode-switch-btn {
      padding: 0.4rem 0.8rem;
      border-radius: 10px;
      border: 1px solid var(--gold);
      background: linear-gradient(135deg, rgba(185,167,121,0.22), rgba(5,66,57,0.65));
      color: var(--gold-hi);
      font-weight: 700;
      font-size: 0.78rem;
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.2s ease;
    }
    .mode-switch-btn:hover, .mode-switch-btn.is-admin {
      background: var(--gold-hi);
      color: var(--night);
    }
    .lang-btn {
      padding: 0.38rem 0.74rem;
      border-radius: 10px;
      border: 1px solid var(--border-gold);
      background: rgba(185,167,121,0.14);
      color: var(--gold-hi);
      font-weight: 700;
      font-size: 0.79rem;
      cursor: pointer;
      white-space: nowrap;
    }
    .lang-btn:hover { background: var(--gold); color: var(--night); }
    .nav-toggle {
      display: none;
      background: rgba(185,167,121,0.12);
      border: 1px solid var(--border-gold);
      color: var(--ivory);
      border-radius: 10px;
      padding: 0.4rem 0.7rem;
      cursor: pointer;
      font-size: 1.08rem;
    }

    /* COMMON LAYOUT & BUTTONS */
    .wrap { width: var(--w); margin-inline: auto; }
    .section { padding: clamp(2.8rem, 5.2vw, 4.6rem) 0; position: relative; }
    .section-head { text-align: center; max-width: 860px; margin: 0 auto clamp(1.6rem, 3vw, 2.4rem); }
    .kicker {
      display: inline-flex; align-items: center; gap: 0.45rem;
      padding: 0.34rem 1rem; border-radius: 999px;
      border: 1px solid var(--border-gold); background: rgba(185,167,121,0.11);
      color: var(--gold-hi); font-size: 0.83rem; font-weight: 500; margin-bottom: 0.72rem;
    }
    .section-head h2 { margin: 0 0 0.68rem; font-family: var(--f-display); font-size: clamp(1.58rem, 3.3vw, 2.6rem); line-height: 1.28; color: var(--ivory); }
    .section-head p.lead { margin: 0; color: var(--text-muted); font-size: clamp(0.93rem, 1.35vw, 1.04rem); }

    .ornament-divider {
      display: flex; align-items: center; justify-content: center; gap: 0.8rem;
      margin: 0.9rem auto; max-width: 320px; opacity: 0.75;
    }
    .ornament-divider span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
    .ornament-divider i { width: 8px; height: 8px; background: var(--gold-hi); transform: rotate(45deg); display: block; }

    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
      padding: 0.78rem 1.42rem; border-radius: 13px; border: 1px solid rgba(216, 198, 144, 0.34);
      background: rgba(5, 66, 57, 0.62); color: var(--ivory); font-weight: 600; font-size: 0.92rem;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 14px rgba(0, 0, 0, 0.25);
      cursor: pointer; transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    }
    .btn:hover { transform: translateY(-2px); border-color: var(--gold-hi); background: rgba(5, 66, 57, 0.92); box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 10px 24px rgba(0,0,0,0.34); }
    .btn:active { transform: translateY(0) scale(0.98); }
    .btn-gold { background: linear-gradient(135deg, #E7D8A8 0%, var(--gold) 58%, #9A885D 100%); color: var(--night); border-color: rgba(255,255,255,0.22); font-weight: 700; box-shadow: inset 0 1px 0 rgba(255,255,255,0.42), 0 8px 22px rgba(185, 167, 121, 0.24); }
    .btn-gold:hover { background: linear-gradient(135deg, #F2E6BE, var(--gold-hi)); color: var(--night); box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 12px 28px rgba(185, 167, 121, 0.34); }
    .btn-em { background: linear-gradient(135deg, #008A45 0%, #006D36 100%); color: #FFFFFF; border-color: rgba(52, 211, 153, 0.42); font-weight: 700; box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 8px 22px rgba(0, 122, 61, 0.3); }
    .btn-em:hover { background: linear-gradient(135deg, #00A050 0%, #007A3D 100%); border-color: #6EE7B7; color: #FFFFFF; }
    .btn-wa { background: linear-gradient(135deg, #1ea952, #128C7E); color: #fff; border-color: transparent; font-weight: 700; }
    .btn-wa:hover { background: linear-gradient(135deg, #25D366, #1ea952); color: #fff; }
    .btn-tg { background: linear-gradient(135deg, #2AABEE, #229ED9); color: #fff; border-color: transparent; font-weight: 700; }
    .btn-tg:hover { background: linear-gradient(135deg, #43bcf7, #2AABEE); color: #fff; }
    .btn-xl { padding: 0.98rem 1.85rem; font-size: clamp(0.95rem, 1.5vw, 1.08rem); border-radius: 14px; min-width: min(260px, 100%); }
    .btn-sm { padding: 0.48rem 0.94rem; font-size: 0.82rem; border-radius: 10px; }
    .btn-ghost { background: rgba(1, 17, 15, 0.6); border-color: rgba(185, 167, 121, 0.32); color: var(--text-muted); }
    .btn-ghost:hover { color: var(--ivory); border-color: var(--gold-hi); background: rgba(185, 167, 121, 0.14); }

    /* HERO */
    .hero { padding: clamp(2.1rem, 4.5vw, 3.6rem) 0 clamp(2.5rem, 4.8vw, 4rem); text-align: center; }
    .nd-crown-block { display: flex; flex-direction: column; align-items: center; gap: 0.45rem; margin-bottom: 1.25rem; }
    .nd-crown-logo { height: clamp(104px, 15vw, 168px); width: auto; filter: drop-shadow(0 12px 32px rgba(0,0,0,0.6)); }
    .nd-crown-motto { font-family: var(--f-display); font-size: clamp(1.25rem, 2.4vw, 1.8rem); color: var(--gold-hi); font-weight: 700; margin: 0; }
    .nd-crown-label { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }

    .sovereign-tier {
      display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap;
      gap: clamp(1rem, 2.4vw, 1.75rem); padding: 0.95rem clamp(1.3rem, 3vw, 2.15rem); border-radius: 20px;
      background: rgba(1, 17, 15, 0.72); border: 1px solid rgba(216, 198, 144, 0.36);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 14px 36px rgba(0,0,0,0.36);
      backdrop-filter: blur(14px); margin-bottom: 1.35rem;
    }
    .sovereign-tier img.h-eagle { height: clamp(56px, 6.5vw, 72px); width: auto; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.45)); }
    .sovereign-tier img.h-amana { height: clamp(46px, 5.2vw, 58px); width: auto; filter: brightness(0) invert(1) opacity(0.96) drop-shadow(0 4px 12px rgba(0,0,0,0.4)); }
    .sovereign-tier img.h-flag { height: clamp(34px, 4vw, 42px); width: auto; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,0.35); }
    .sovereign-tier .v-sep { width: 1px; height: clamp(32px, 4vw, 42px); background: var(--border-gold); }
    @media (max-width: 520px) {
      .sovereign-tier { flex-wrap: nowrap; gap: 0.72rem; padding: 0.72rem 0.95rem; max-width: 100%; }
      .sovereign-tier img.h-eagle { height: 42px; }
      .sovereign-tier img.h-amana { height: 34px; max-width: 44vw; object-fit: contain; }
      .sovereign-tier img.h-flag { height: 24px; }
      .sovereign-tier .v-sep { height: 26px; }
    }

    .event-lockup { display: flex; flex-direction: column; align-items: center; gap: 0.45rem; margin-bottom: 1.25rem; }
    .event-lockup img.darb-logo { height: clamp(74px, 11vw, 114px); width: auto; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.55)); }
    .darb-sub-motto {
      margin: 0;
      font-family: var(--f-quote);
      font-size: clamp(1.18rem, 2.1vw, 1.55rem);
      color: var(--gold-hi);
      font-weight: 700;
      letter-spacing: 0.01em;
    }

    .date-banner {
      display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap;
      gap: 0.55rem 1.1rem; padding: 0.68rem 1.35rem; border-radius: 14px;
      background: linear-gradient(135deg, rgba(107,31,42,0.36), rgba(5,66,57,0.46));
      border: 1px solid var(--border-gold-hi); color: var(--ivory); font-size: 0.89rem; font-weight: 600; margin-bottom: 1.05rem;
    }
    .date-banner strong { color: var(--gold-hi); }

    .hero h1 { margin: 0.2rem auto 0.45rem; font-family: var(--f-display); font-size: clamp(1.85rem, 4.6vw, 3.45rem); line-height: 1.24; color: var(--ivory); max-width: 960px; }
    .hero h1 span.accent { color: var(--gold-hi); }

    .prelim-notice-hero {
      max-width: 900px;
      margin: 1.1rem auto 1.3rem;
      padding: 1.05rem 1.4rem;
      border-radius: 16px;
      background: linear-gradient(135deg, rgba(107, 31, 42, 0.42), rgba(2, 27, 24, 0.88));
      border: 1.5px solid var(--gold-hi);
      box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
      text-align: start;
      display: flex;
      align-items: flex-start;
      gap: 0.9rem;
    }
    .prelim-icon {
      flex-shrink: 0;
      width: 40px; height: 40px;
      border-radius: 12px;
      background: rgba(216, 198, 144, 0.16);
      border: 1px solid var(--gold);
      display: flex; align-items: center; justify-content: center;
      color: var(--gold-hi);
      margin-top: 0.1rem;
    }
    .prelim-notice-hero strong { color: var(--gold-hi); display: block; font-size: 0.95rem; margin-bottom: 0.2rem; }
    .prelim-notice-hero p { margin: 0; font-size: 0.88rem; color: var(--ivory); line-height: 1.72; }

    .hero-literary {
      max-width: 860px; margin: 0 auto 1.45rem; font-family: var(--f-quote);
      font-size: clamp(1.12rem, 1.9vw, 1.38rem); line-height: 1.85; color: var(--cream);
      padding: 1.05rem 1.45rem; border-inline-start: 4px solid var(--gold);
      background: rgba(2, 27, 24, 0.62); border-radius: 14px; text-align: start;
    }
    .hero-ctas { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; margin: 1.35rem 0 1.8rem; }
    .hero-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; max-width: 1040px; margin: 0 auto; }
    .metric-pill { background: var(--surface); border: 1px solid var(--border-gold); border-radius: 16px; padding: 1rem; backdrop-filter: blur(10px); }
    .metric-pill strong { display: block; font-size: 1.12rem; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
    .metric-pill span { font-size: 0.8rem; color: var(--text-muted); }

    /* CYCLISTS ROLE & SYMBOLISM SECTION (NO 6 HANDS) */
    .cyclists-role-shell {
      background: linear-gradient(155deg, rgba(5, 66, 57, 0.36), rgba(1, 17, 15, 0.92));
      border: 1px solid var(--border-gold-hi);
      border-radius: 24px;
      padding: clamp(1.5rem, 3.5vw, 2.5rem);
      box-shadow: var(--shadow);
    }
    .professions-chips {
      display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem;
      margin: 1.25rem 0 1.65rem;
    }
    .prof-chip {
      padding: 0.42rem 0.95rem;
      border-radius: 999px;
      border: 1px solid rgba(216, 198, 144, 0.4);
      background: rgba(185, 167, 121, 0.12);
      color: var(--ivory);
      font-size: 0.86rem;
      font-weight: 600;
    }
    .visual-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin-bottom: 1.55rem; }
    .visual-card { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--border-gold-hi); background: var(--forest-900); aspect-ratio: 16 / 10; box-shadow: 0 14px 36px rgba(0,0,0,0.42); }
    .visual-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
    .visual-card:hover img { transform: scale(1.05); }
    .visual-card figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 0.9rem 1rem 0.75rem; background: linear-gradient(transparent, rgba(1,17,15,0.94)); }
    .visual-card figcaption strong { display: block; color: var(--gold-hi); font-size: 0.9rem; font-family: var(--f-display); }
    .visual-card figcaption span { display: block; color: var(--ivory); font-size: 0.77rem; opacity: 0.9; }
    .role-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
    .role-pillar {
      background: rgba(2, 27, 24, 0.72);
      border: 1px solid var(--border-gold);
      border-radius: 18px;
      padding: 1.3rem;
    }
    .role-pillar h3 { margin: 0 0 0.45rem; font-family: var(--f-display); font-size: 1.15rem; color: var(--gold-hi); }
    .role-pillar p { margin: 0; font-size: 0.88rem; color: var(--text-muted); line-height: 1.78; }

    /* ROUTE & MAP SECTION */
    .day-filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.52rem; margin-bottom: 1.45rem; }
    .day-pill {
      padding: 0.52rem 1rem; border-radius: 999px;
      border: 1px solid var(--border-gold); background: rgba(2, 27, 24, 0.75);
      color: var(--text-muted); font-size: 0.84rem; font-weight: 600;
      cursor: pointer; transition: all 0.2s ease;
    }
    .day-pill:hover { border-color: var(--gold-hi); color: var(--ivory); }
    .day-pill.is-active { background: var(--gold); color: var(--night); border-color: var(--gold-hi); font-weight: 700; }

    .route-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.4rem; align-items: start; }
    .map-card { background: var(--surface-strong); border: 1px solid var(--border-gold); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
    .map-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; padding: 0.85rem 1.15rem; border-bottom: 1px solid var(--border-gold); background: rgba(2,27,24,0.92); }
    .map-toolbar strong { color: var(--gold-hi); font-size: 0.91rem; }
    #syriaMap { width: 100%; height: 470px; background: #061816; z-index: 1; }
    .station-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.9rem 1rem; background: rgba(1,17,15,0.94); border-top: 1px solid var(--border-gold); }
    .station-pill {
      display: inline-flex; align-items: center; gap: 0.36rem;
      padding: 0.35rem 0.68rem; border-radius: 999px;
      border: 1px solid var(--border-gold); background: rgba(5,66,57,0.34);
      color: var(--text-muted); font-size: 0.77rem; cursor: pointer; transition: all 0.2s ease;
    }
    .station-pill .num {
      width: 19px; height: 19px; border-radius: 50%;
      background: rgba(185,167,121,0.2); color: var(--gold-hi);
      display: inline-flex; align-items: center; justify-content: center;
      font-size: 0.69rem; font-weight: 700;
    }
    .station-pill.is-active, .station-pill:hover { background: var(--gold); color: var(--night); border-color: var(--gold-hi); font-weight: 700; }
    .station-pill.is-active .num, .station-pill:hover .num { background: var(--night); color: var(--gold-hi); }

    .station-detail-card {
      background: var(--surface-strong); border: 1px solid var(--border-gold);
      border-radius: 20px; padding: 1.45rem; display: flex; flex-direction: column; gap: 0.95rem; box-shadow: var(--shadow);
    }
    .station-badges-row { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
    .station-badge { background: linear-gradient(135deg, var(--gold-hi), var(--gold)); color: var(--night); font-weight: 700; font-size: 0.78rem; padding: 0.26rem 0.82rem; border-radius: 999px; }
    .camp-badge { background: rgba(107,31,42,0.45); border: 1px solid var(--gold); color: var(--gold-hi); font-weight: 700; font-size: 0.76rem; padding: 0.24rem 0.75rem; border-radius: 999px; }
    .station-title { margin: 0; font-family: var(--f-display); font-size: clamp(1.36rem, 2.2vw, 1.82rem); color: var(--ivory); }
    .station-subtitle { margin: 0; color: var(--gold-hi); font-size: 0.87rem; }
    .station-block { background: rgba(5,66,57,0.26); border: 1px solid rgba(185,167,121,0.22); border-radius: 14px; padding: 0.9rem 1.05rem; }
    .station-block.rev-block { background: rgba(107,31,42,0.24); border-color: rgba(158,43,43,0.45); }
    .station-block h4 { margin: 0 0 0.3rem; font-size: 0.86rem; color: var(--gold-hi); }
    .station-block p { margin: 0; font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; }
    .station-nav-btns { display: flex; justify-content: space-between; gap: 0.7rem; padding-top: 0.3rem; }

    .days-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; margin-top: 1.75rem; }
    .day-card { background: var(--surface); border: 1px solid var(--border-gold); border-radius: 18px; padding: 1.35rem 1.45rem; backdrop-filter: blur(10px); }
    .day-card-head { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
    .day-tag { padding: 0.24rem 0.76rem; border-radius: 999px; background: rgba(185,167,121,0.16); color: var(--gold-hi); font-size: 0.78rem; font-weight: 700; }
    .day-camp-tag { font-size: 0.77rem; color: var(--cream); background: rgba(107,31,42,0.38); border: 1px solid rgba(185,167,121,0.32); padding: 0.22rem 0.68rem; border-radius: 999px; }
    .day-card h3 { margin: 0 0 0.5rem; font-family: var(--f-display); font-size: 1.22rem; color: var(--ivory); }
    .day-route-chain { font-size: 0.87rem; color: var(--gold-hi); font-weight: 600; padding: 0.58rem 0.85rem; border-radius: 10px; background: rgba(1, 17, 15, 0.62); border: 1px solid rgba(185,167,121,0.22); margin-bottom: 0.68rem; line-height: 1.7; }
    .day-card p { margin: 0; font-size: 0.87rem; color: var(--text-muted); line-height: 1.75; }

    /* TABBED GUIDELINES */
    .tabbed-shell { background: var(--surface-strong); border: 1px solid var(--border-gold); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
    .tab-bar-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--border-gold); background: rgba(2,27,24,0.92); }
    .ui-tab { padding: 1rem; background: transparent; border: none; border-bottom: 3px solid transparent; color: var(--text-muted); font-weight: 600; font-size: 0.91rem; cursor: pointer; transition: all 0.2s ease; }
    .ui-tab:hover { color: var(--ivory); background: rgba(185,167,121,0.06); }
    .ui-tab.is-active { color: var(--gold-hi); border-bottom-color: var(--gold-hi); background: rgba(185,167,121,0.12); }
    .tab-pane { display: none; padding: clamp(1.3rem, 3vw, 2.15rem); }
    .tab-pane.is-active { display: block; animation: fadeUp 0.35s var(--ease); }
    @keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
    .guidelines-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .guide-item { background: rgba(5,66,57,0.26); border: 1px solid rgba(185,167,121,0.22); border-radius: 16px; padding: 1.15rem 1.25rem; }
    .guide-item h4 { margin: 0 0 0.35rem; color: var(--gold-hi); font-size: 0.95rem; }
    .guide-item p { margin: 0; color: var(--text-muted); font-size: 0.87rem; line-height: 1.78; }

    /* REGISTRATION WORKSPACE + STICKY SIDEBAR INDEX */
    .form-workspace { display: grid; grid-template-columns: 315px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
    .form-index-sidebar {
      position: sticky; top: 92px;
      background: var(--surface-strong); border: 1px solid var(--border-gold-hi);
      border-radius: 22px; padding: 1.25rem; box-shadow: var(--shadow);
      display: flex; flex-direction: column; gap: 0.95rem;
    }
    .idx-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid rgba(185,167,121,0.22); }
    .idx-head h3 { margin: 0; font-family: var(--f-display); font-size: 1.06rem; color: var(--gold-hi); }
    .idx-pct { font-size: 0.83rem; font-weight: 700; color: var(--night); background: var(--gold-hi); padding: 0.16rem 0.6rem; border-radius: 999px; font-variant-numeric: tabular-nums; }
    .idx-progress-track { width: 100%; height: 7px; border-radius: 99px; background: rgba(185,167,121,0.18); overflow: hidden; }
    .idx-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transition: width 0.35s var(--ease); }
    .idx-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.36rem; }
    .idx-item-btn {
      width: 100%; text-align: start; display: flex; align-items: center; gap: 0.62rem;
      padding: 0.6rem 0.7rem; border-radius: 12px; border: 1px solid transparent;
      background: rgba(5, 66, 57, 0.22); color: var(--text-muted); cursor: pointer; transition: all 0.2s ease;
    }
    .idx-item-btn:hover { background: rgba(185,167,121,0.12); border-color: rgba(185,167,121,0.3); color: var(--ivory); }
    .idx-item-btn.is-active { background: rgba(185,167,121,0.18); border-color: var(--gold-hi); color: var(--ivory); }
    .idx-num {
      flex-shrink: 0; width: 25px; height: 25px; border-radius: 8px;
      background: rgba(1, 17, 15, 0.8); border: 1px solid var(--border-gold);
      color: var(--gold-hi); font-size: 0.77rem; font-weight: 700;
      display: inline-flex; align-items: center; justify-content: center;
    }
    .idx-item-btn.is-done .idx-num { background: var(--flag-green); border-color: #2ecc71; color: #fff; }
    .idx-item-btn.is-active .idx-num { background: var(--gold-hi); border-color: var(--gold-hi); color: var(--night); }
    .idx-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
    .idx-meta strong { font-size: 0.83rem; color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .idx-meta span { font-size: 0.7rem; color: var(--text-soft); }
    .idx-status { font-size: 0.67rem; font-weight: 700; padding: 0.14rem 0.46rem; border-radius: 999px; white-space: nowrap; background: rgba(246,242,231,0.08); color: var(--text-soft); }
    .idx-item-btn.is-done .idx-status { background: rgba(0,122,61,0.28); color: #8ef0b5; }
    .idx-item-btn.is-partial .idx-status { background: rgba(185,167,121,0.22); color: var(--gold-hi); }
    .idx-live-summary { padding: 0.82rem; border-radius: 14px; background: rgba(1, 17, 15, 0.72); border: 1px solid rgba(185,167,121,0.24); font-size: 0.77rem; display: flex; flex-direction: column; gap: 0.36rem; }
    .idx-live-summary h4 { margin: 0 0 0.18rem; font-size: 0.81rem; color: var(--gold-hi); }
    .idx-sum-row { display: flex; justify-content: space-between; gap: 0.5rem; color: var(--text-muted); }
    .idx-sum-row b { color: var(--ivory); font-weight: 600; text-align: end; }
    .idx-actions { display: flex; flex-direction: column; gap: 0.42rem; }

    .form-main-shell { background: var(--surface-strong); border: 1px solid var(--border-gold); border-radius: 24px; padding: clamp(1.3rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
    .form-sec { padding: 1.4rem 0; border-bottom: 1px solid rgba(185,167,121,0.2); scroll-margin-top: 94px; }
    .form-sec:first-of-type { padding-top: 0.35rem; }
    .form-sec:last-of-type { border-bottom: none; padding-bottom: 0.35rem; }
    .form-sec-head { display: flex; align-items: center; gap: 0.72rem; margin-bottom: 1.1rem; }
    .form-sec-badge { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--gold-hi), var(--gold)); color: var(--night); font-weight: 800; font-size: 0.94rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .form-sec-head h3 { margin: 0; font-family: var(--f-display); font-size: 1.22rem; color: var(--ivory); }
    .form-sec-head p { margin: 0.1rem 0 0; font-size: 0.81rem; color: var(--text-soft); }

    .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .field { display: flex; flex-direction: column; gap: 0.36rem; }
    .field.full { grid-column: 1 / -1; }
    .field label { font-size: 0.85rem; font-weight: 600; color: var(--gold-hi); }
    .field .hint { font-size: 0.75rem; color: var(--text-soft); }
    .field input[type="text"], .field input[type="number"], .field input[type="tel"],
    .field input[type="email"], .field select, .field textarea {
      width: 100%; padding: 0.78rem 0.94rem; border-radius: 12px; border: 1px solid var(--border-gold);
      background: rgba(1, 17, 15, 0.85); color: var(--ivory); font-size: 0.92rem; outline: none;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-hi); box-shadow: 0 0 0 3px rgba(185,167,121,0.2); }
    .field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid { border-color: #ff6b6b !important; box-shadow: 0 0 0 3px rgba(255,107,107,0.25); }
    .field-err { display: block; margin-top: 0.28rem; font-size: 0.77rem; color: #ffb3b3; font-weight: 600; }
    .receipt-locked-banner { padding: 1.15rem 1.3rem; border-radius: 16px; border: 1.5px dashed var(--gold-hi); background: rgba(1,17,15,0.78); text-align: center; color: var(--gold-hi); font-size: 0.9rem; margin: 0.85rem 0; }
    .receipt-unlocked-wrap { display: none; }
    .receipt-unlocked-wrap.is-unlocked { display: block; animation: fadeUp 0.4s var(--ease); }
    .radio-row { display: flex; gap: 0.62rem; flex-wrap: wrap; }
    .radio-pill {
      flex: 1; min-width: 132px; display: flex; align-items: center; gap: 0.52rem;
      padding: 0.72rem 0.92rem; border-radius: 12px; border: 1px solid var(--border-gold);
      background: rgba(1,17,15,0.68); cursor: pointer; color: var(--ivory); font-size: 0.88rem; transition: all 0.2s ease;
    }
    .radio-pill:has(input:checked) { border-color: var(--gold-hi); background: rgba(185,167,121,0.16); }
    .radio-pill input { accent-color: var(--gold); width: 17px; height: 17px; flex-shrink: 0; }

    .aff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.68rem; }
    .aff-card {
      display: flex; align-items: flex-start; gap: 0.55rem; padding: 0.82rem 0.88rem;
      border-radius: 14px; border: 1px solid var(--border-gold); background: rgba(2, 27, 24, 0.58);
      cursor: pointer; transition: all 0.2s ease;
    }
    .aff-card:hover { border-color: var(--gold-hi); background: rgba(5, 66, 57, 0.45); }
    .aff-card:has(input:checked) { border-color: var(--gold-hi); background: rgba(185, 167, 121, 0.18); box-shadow: 0 0 0 1px var(--gold-hi); }
    .aff-card input { accent-color: var(--gold); width: 17px; height: 17px; margin-top: 0.16rem; flex-shrink: 0; }
    .aff-card strong { display: block; font-size: 0.87rem; color: var(--ivory); }
    .aff-card span { display: block; font-size: 0.74rem; color: var(--text-soft); margin-top: 0.14rem; }

    .cond-drawer { grid-column: 1 / -1; padding: 1rem 1.12rem; border-radius: 14px; border: 1px dashed var(--gold); background: rgba(185, 167, 121, 0.08); display: none; gap: 0.88rem; }
    .cond-drawer.is-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); animation: fadeUp 0.25s var(--ease); }
    .cond-drawer.is-open.single-col { grid-template-columns: 1fr; }

    .segments-box { grid-column: 1 / -1; padding: 1.12rem; border-radius: 16px; background: rgba(2, 27, 24, 0.56); border: 1px solid var(--border-gold); }
    .segments-box-head { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 0.88rem; }
    .segments-box-head strong { color: var(--gold-hi); font-size: 0.91rem; }
    .segments-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.62rem; }
    .seg-check {
      display: flex; align-items: flex-start; gap: 0.58rem; padding: 0.76rem 0.88rem;
      border-radius: 12px; border: 1px solid rgba(185,167,121,0.26); background: rgba(1, 17, 15, 0.74);
      cursor: pointer; transition: all 0.2s ease;
    }
    .seg-check:hover { border-color: var(--gold-hi); }
    .seg-check:has(input:checked) { border-color: var(--gold-hi); background: rgba(185,167,121,0.16); }
    .seg-check input { accent-color: var(--gold); width: 18px; height: 18px; margin-top: 0.16rem; flex-shrink: 0; }
    .seg-day-pill { display: inline-block; font-size: 0.68rem; font-weight: 700; padding: 0.1rem 0.46rem; border-radius: 999px; background: rgba(5, 66, 57, 0.65); color: var(--gold-hi); margin-bottom: 0.2rem; }
    .seg-day-pill.is-tributary { background: rgba(107, 31, 42, 0.52); color: #ffd9a8; }
    .seg-check strong { display: block; font-size: 0.84rem; color: var(--ivory); line-height: 1.45; }
    .seg-check small { display: block; font-size: 0.73rem; color: var(--text-soft); margin-top: 0.14rem; }

    .check-box { display: flex; align-items: flex-start; gap: 0.68rem; padding: 0.92rem 1.08rem; border-radius: 14px; background: rgba(5,66,57,0.25); border: 1px solid rgba(185,167,121,0.28); font-size: 0.87rem; color: var(--ivory); cursor: pointer; }
    .check-box input { accent-color: var(--gold); width: 19px; height: 19px; margin-top: 0.2rem; flex-shrink: 0; }
    .cert-bilingual-note { padding: 0.9rem 1.15rem; border-radius: 14px; background: rgba(185, 167, 121, 0.11); border: 1px solid rgba(216, 198, 144, 0.42); color: var(--ivory); font-size: 0.85rem; line-height: 1.72; margin-bottom: 1.1rem; }
    .cert-bilingual-note strong { color: var(--gold-hi); }

    .form-error-box { display: none; padding: 1rem 1.2rem; border-radius: 14px; background: rgba(158, 43, 43, 0.28); border: 1px solid #ef7b7b; color: #ffe0e0; font-size: 0.87rem; margin-top: 1rem; }
    .form-error-box.is-visible { display: block; animation: fadeUp 0.28s var(--ease); }
    .form-error-box strong { display: block; margin-bottom: 0.35rem; color: #fff; }
    .form-error-box ul { margin: 0; padding-inline-start: 1.25rem; }

    /* RECEIPT + MANDATORY WHATSAPP/TELEGRAM STEP */
    .reg-result { margin-top: 1.5rem; padding: 1.5rem; border-radius: 20px; background: linear-gradient(145deg, rgba(5,66,57,0.52), rgba(1,17,15,0.96)); border: 1.5px solid var(--gold-hi); display: none; }
    .reg-result.is-visible { display: block; animation: fadeUp 0.4s var(--ease); }
    .receipt-card { background: var(--ivory); color: var(--night); border-radius: 16px; padding: 1.3rem 1.45rem; border: 3px solid var(--gold); margin: 1rem 0; }
    .receipt-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-bottom: 1px solid rgba(1,17,15,0.14); padding-bottom: 0.85rem; margin-bottom: 0.85rem; }
    .receipt-code { font-family: var(--f-display); font-size: clamp(1.38rem, 2.9vw, 2.05rem); font-weight: 800; color: var(--forest-700); font-variant-numeric: tabular-nums; }
    .receipt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1.15rem; font-size: 0.85rem; }
    .receipt-grid div strong { color: var(--forest-700); display: block; font-size: 0.75rem; }

    .mandatory-msg-box {
      padding: 1.15rem 1.3rem;
      border-radius: 16px;
      background: linear-gradient(135deg, rgba(107, 31, 42, 0.42), rgba(2, 27, 24, 0.9));
      border: 1.5px solid var(--gold-hi);
      margin: 1rem 0 1.15rem;
    }
    .mandatory-msg-box h4 { margin: 0 0 0.4rem; color: var(--gold-hi); font-size: 0.98rem; }
    .mandatory-msg-box p { margin: 0 0 0.9rem; font-size: 0.86rem; color: var(--ivory); line-height: 1.7; }
    .mandatory-msg-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

    /* =========================================================================
       FULL ADMIN ANALYTICS DASHBOARD VIEW
       ========================================================================= */
    .admin-view { display: none; padding: 2.2rem 0 3.5rem; }
    .admin-view.is-active { display: block; animation: fadeUp 0.35s var(--ease); }
    .public-view.is-hidden { display: none; }

    .admin-hero-bar {
      display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
      padding: 1.35rem 1.6rem; border-radius: 20px;
      background: linear-gradient(135deg, rgba(5,66,57,0.5), rgba(1,17,15,0.94));
      border: 1px solid var(--border-gold-hi); margin-bottom: 1.4rem;
    }
    .admin-hero-bar h2 { margin: 0; font-family: var(--f-display); font-size: clamp(1.3rem, 2.5vw, 1.9rem); color: var(--gold-hi); }
    .admin-hero-bar p { margin: 0.2rem 0 0; font-size: 0.84rem; color: var(--text-muted); }

    .kpi-grid-8 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.95rem; margin-bottom: 1.45rem; }
    .kpi-card {
      background: var(--surface-strong); border: 1px solid var(--border-gold);
      border-radius: 18px; padding: 1.1rem 1.2rem;
      display: flex; flex-direction: column; gap: 0.25rem;
    }
    .kpi-card.is-accent { border-color: var(--gold-hi); background: linear-gradient(155deg, rgba(185,167,121,0.18), rgba(1,17,15,0.95)); }
    .kpi-label { font-size: 0.78rem; color: var(--text-soft); }
    .kpi-val { font-family: var(--f-display); font-size: 1.85rem; font-weight: 800; color: var(--gold-hi); line-height: 1.15; font-variant-numeric: tabular-nums; }
    .kpi-sub { font-size: 0.74rem; color: var(--text-muted); }

    .charts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin-bottom: 1.5rem; }
    .chart-card {
      background: var(--surface-strong); border: 1px solid var(--border-gold);
      border-radius: 20px; padding: 1.25rem 1.35rem; box-shadow: var(--shadow);
    }
    .chart-card h3 { margin: 0 0 0.85rem; font-family: var(--f-display); font-size: 1.05rem; color: var(--gold-hi); }
    .chart-box { position: relative; height: 270px; width: 100%; }

    .admin-table-shell {
      background: var(--surface-strong); border: 1px solid var(--border-gold);
      border-radius: 22px; padding: 1.35rem; box-shadow: var(--shadow);
    }
    .admin-filters {
      display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 0.65rem; margin-bottom: 1rem;
    }
    .admin-filters input, .admin-filters select {
      padding: 0.58rem 0.8rem; border-radius: 10px; border: 1px solid var(--border-gold);
      background: rgba(1,17,15,0.88); color: var(--ivory); font-size: 0.83rem; width: 100%;
    }
    .census-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid rgba(185,167,121,0.22); }
    table.census-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; min-width: 820px; }
    table.census-table th { background: rgba(2,27,24,0.95); color: var(--gold-hi); text-align: start; padding: 0.72rem 0.85rem; border-bottom: 1px solid var(--border-gold); }
    table.census-table td { padding: 0.68rem 0.85rem; border-bottom: 1px solid rgba(185,167,121,0.12); color: var(--ivory); vertical-align: top; }
    .status-sel { padding: 0.3rem 0.5rem; border-radius: 8px; border: 1px solid var(--border-gold); background: rgba(1,17,15,0.9); color: var(--ivory); font-size: 0.77rem; }

    /* MODAL */
    .modal-backdrop {
      position: fixed; inset: 0; z-index: 2500;
      background: rgba(1, 17, 15, 0.82); backdrop-filter: blur(8px);
      display: none; align-items: center; justify-content: center; padding: 1.2rem;
    }
    .modal-backdrop.is-open { display: flex; }
    .modal-box {
      width: min(740px, 100%); max-height: 88vh; overflow-y: auto;
      background: var(--forest-900); border: 1.5px solid var(--gold-hi);
      border-radius: 22px; padding: 1.5rem; box-shadow: var(--shadow);
    }

    /* FOOTER */
    .site-footer { background: rgba(1,17,15,0.95); border-top: 1px solid var(--border-gold); padding: 2.4rem 0 2rem; margin-top: 2rem; }
    .ministries-bar { display: flex; align-items: center; justify-content: center; gap: 1.4rem; flex-wrap: wrap; padding: 1.2rem 1rem; border-top: 1px solid rgba(185,167,121,0.2); border-bottom: 1px solid rgba(185,167,121,0.2); margin-bottom: 1.2rem; }
    .ministries-bar img { height: 42px; width: auto; opacity: 0.92; }
    .ministries-bar img.amana-white { filter: brightness(0) invert(1) opacity(0.92); height: 38px; }
    .ministries-bar img.darb-foot { height: 48px; }
    .footer-copy { text-align: center; font-size: 0.82rem; color: var(--text-soft); }

    .toast {
      position: fixed; bottom: 1.4rem; inset-inline-end: 1.4rem; z-index: 3000;
      background: var(--forest-700); color: var(--ivory); border: 1px solid var(--gold-hi);
      padding: 0.85rem 1.3rem; border-radius: 14px; box-shadow: var(--shadow);
      opacity: 0; transform: translateY(16px); pointer-events: none;
      transition: all 0.3s var(--ease); max-width: min(440px, 90vw); font-size: 0.88rem;
    }
    .toast.is-show { opacity: 1; transform: translateY(0); pointer-events: auto; }

    @media (max-width: 1120px) {
      .nav {
        position: fixed; top: 78px; left: 4vw; right: 4vw;
        background: rgba(1,17,15,0.97); border: 1px solid var(--border-gold);
        border-radius: 16px; padding: 1rem; flex-direction: column; align-items: stretch;
        display: none; box-shadow: var(--shadow);
      }
      .nav.is-open { display: flex; }
      .nav-toggle { display: inline-flex; }
      .route-layout, .form-workspace, .charts-grid { grid-template-columns: minmax(0, 1fr); }
      .form-index-sidebar { position: static; min-width: 0; max-width: 100%; overflow: hidden; }
      .form-main-shell { min-width: 0; max-width: 100%; }
      .visual-trio, .role-pillars, .aff-grid, .kpi-grid-8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .admin-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 720px) {
      .hero-metrics, .days-grid, .guidelines-grid, .form-grid,
      .segments-grid, .cond-drawer.is-open, .visual-trio, .role-pillars, .aff-grid,
      .kpi-grid-8, .receipt-grid, .tab-bar-2, .admin-filters { grid-template-columns: 1fr; }
      #syriaMap { height: 340px; }
      .brand-text span { display: none; }
      .form-index-sidebar { position: sticky; top: 78px; z-index: 900; padding: 0.85rem 0.95rem; gap: 0.6rem; border-radius: 16px; background: rgba(1, 17, 15, 0.96); }
      .idx-list { flex-direction: row; overflow-x: auto; padding-bottom: 0.25rem; scrollbar-width: thin; }
      .idx-list li { flex-shrink: 0; }
      .idx-item-btn { padding: 0.45rem 0.65rem; }
      .idx-meta span, .idx-live-summary, .idx-actions { display: none; }
      .hero-ctas .btn-xl { width: 100%; min-width: 0; }
      .mandatory-msg-actions { flex-direction: column; }
      .mandatory-msg-actions .btn { width: 100%; }
    }
    @media print {
      .site-head, #ambient, .grain, .flag-strip, #cyclists-role, #route, #guidelines, .site-footer, .form-index-sidebar, #cyclistForm, .no-print, .admin-view { display: none !important; }
      body { background: #fff; color: #000; }
      .reg-result { display: block !important; border: none; background: #fff; padding: 0; }
    }
  

html, body { max-width: 100%; overflow-x: hidden; }
.flag-strip {
  height: 15px !important; display: grid !important; grid-template-columns: 1fr 1fr 1fr !important;
  background: none !important; box-shadow: 0 2px 10px rgba(0,0,0,0.45);
}
.flag-strip .f-green { background: var(--flag-green); }
.flag-strip .f-white {
  background: #FFFFFF; display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--flag-red); font-size: 10.5px; line-height: 1; font-weight: 900;
}
.flag-strip .f-black { background: #111111; }
.site-head { top: 15px !important; }

h1, h2, h3, .brand-text strong, .gw-card h3, .gov-name, .p-val {
  font-family: 'Qomra', 'Readex Pro', system-ui, sans-serif !important;
}
input[type="checkbox"], input[type="radio"] { accent-color: var(--flag-green); }

/* Mobile-safe responsive nav */
@media (max-width: 820px) {
  .head-inner { padding: 0.65rem 0; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0.35rem; padding: 1rem 1.25rem;
    background: rgba(1, 17, 15, 0.97); border-bottom: 1px solid var(--border-gold);
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.65rem 0.75rem; border-radius: 10px; }
  .nav-toggle { display: inline-flex !important; }
}

.gateways-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; margin-top: 1.5rem; }
@media (max-width: 920px) { .gateways-grid { grid-template-columns: 1fr; } }
.gw-card {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 2rem 1.5rem 1.7rem; border-radius: 20px; text-align: center;
  background: linear-gradient(180deg, rgba(5, 66, 57, 0.36), rgba(1, 17, 15, 0.92));
  border: 1px solid rgba(216, 198, 144, 0.26);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 16px 38px rgba(0, 0, 0, 0.36);
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), border-color 200ms ease, box-shadow 200ms ease;
}
.gw-card:hover { transform: translateY(-4px); border-color: rgba(216, 198, 144, 0.58); box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 22px 46px rgba(0,0,0,0.48); }
.gw-kicker { font-size: 0.8rem; font-weight: 600; color: var(--gold-hi); display: block; margin-bottom: 0.45rem; }
.gw-card h3 { font-size: 1.56rem; color: var(--ivory); margin: 0 0 0.7rem; line-height: 1.3; }
.gw-card p { font-size: 0.92rem; color: var(--text-muted); margin: 0 0 1.45rem; line-height: 1.72; }
.btn-big-gw {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%;
  min-height: 48px; padding: 0.88rem 1.35rem; border-radius: 13px; font-size: 0.98rem; font-weight: 700;
  cursor: pointer; border: 1px solid rgba(255,255,255,0.22);
  background: linear-gradient(135deg, #E8D8A6 0%, #B9A779 62%, #9A885D 100%); color: #01110F;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 8px 22px rgba(185, 167, 121, 0.24);
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), filter 180ms ease, box-shadow 180ms ease; text-decoration: none;
}
.btn-big-gw:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 12px 26px rgba(185, 167, 121, 0.32); }
.btn-big-gw:active { transform: scale(0.98); }
.btn-big-em {
  background: linear-gradient(135deg, #008A45 0%, #059669 100%);
  border-color: rgba(110, 231, 183, 0.45); color: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 8px 22px rgba(0, 122, 61, 0.34);
}
.btn-big-em:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,0.32), 0 12px 28px rgba(0, 122, 61, 0.44); }

.gov-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; margin-top: 1.5rem; }
@media (max-width: 1024px) { .gov-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; } }

.gov-tile {
  position: relative; overflow: hidden; border-radius: 20px; min-height: 245px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center;
  padding: 1.25rem 0.85rem 1.15rem; border: 1px solid var(--border-gold); background: var(--surface-strong);
  cursor: pointer; text-decoration: none;
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}
.gov-tile .gov-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.34; transition: transform 0.45s var(--ease), opacity 0.3s ease; z-index: 0;
}
.gov-tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(1,17,15,0.22) 0%, rgba(1,17,15,0.78) 58%, rgba(1,17,15,0.96) 100%);
}
.gov-tile:hover { transform: translateY(-5px); border-color: var(--gold-hi); box-shadow: 0 20px 44px rgba(0,0,0,0.6); }
.gov-tile:hover .gov-bg { transform: scale(1.06); opacity: 0.48; }
.gov-tile > *:not(.gov-bg) { position: relative; z-index: 2; }
.gov-tile .gov-emblem { width: 72px; height: 72px; object-fit: contain; margin-bottom: 0.6rem; filter: drop-shadow(0 8px 18px rgba(0,0,0,0.65)); }
.gov-tile .gov-name { font-size: 1.26rem; font-weight: 700; color: var(--ivory); }
.gov-tile .gov-meta { font-size: 0.78rem; color: var(--gold-hi); margin-top: 0.15rem; }
.gov-tile .gov-cta {
  margin-top: 0.6rem; padding: 0.28rem 0.8rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700;
  background: rgba(0, 122, 61, 0.28); border: 1px solid rgba(52, 211, 153, 0.55); color: #A7F3D0;
}

.partners-band {
  padding: 2rem 1.25rem; border-radius: 22px; text-align: center;
  background: rgba(2, 27, 24, 0.82); border: 1px solid var(--border-gold);
}
.partners-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.35rem 2rem; margin-top: 1.35rem; }
.partner-item { display: flex; flex-direction: column; align-items: center; gap: 0.45rem; width: 118px; }
.partner-item img { height: 56px; width: auto; max-width: 114px; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.45)); }
.partner-item span { font-size: 0.73rem; color: var(--text-muted); line-height: 1.35; }

.gov-hero-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.75rem; align-items: center; margin-top: 1.5rem; text-align: start; }
@media (max-width: 860px) { .gov-hero-split { grid-template-columns: 1fr; text-align: center; } .gov-hero-split .hero-metrics { justify-content: center !important; } }
.landmark-frame {
  position: relative; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--border-gold-hi); box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: #01110F;
}
.landmark-frame img { width: 100%; height: 100%; object-fit: cover; }

.coop-strip {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem;
  padding: 0.65rem 1.35rem; border-radius: 14px;
  background: rgba(5, 66, 57, 0.34); border: 1px solid var(--border-gold); margin: 0.9rem auto 0;
}
.coop-strip span { font-size: 0.92rem; font-weight: 600; color: var(--gold-hi); }

.video-stage {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--border-gold-hi);
  background: #000; box-shadow: var(--shadow); margin: 1.5rem auto; max-width: 920px;
}
.video-stage video { width: 100%; max-height: 480px; display: block; }

/* Interactive Map Container (Leaflet + Guaranteed Interactive SVG Route Map) */
.map-shell {
  position: relative; height: 390px; border-radius: 18px;
  border: 1px solid var(--border-gold-hi); overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #06302A 0%, #021B18 65%, #01110F 100%);
}
.map-shell .leaflet-container { width: 100%; height: 100%; z-index: 2; }
.svg-route-map { width: 100%; height: 100%; display: block; }
.map-info-bar {
  position: absolute; bottom: 12px; right: 12px; left: 12px; z-index: 500;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.65rem 1rem; border-radius: 12px;
  background: rgba(1, 17, 15, 0.90); border: 1px solid var(--border-gold); font-size: 0.84rem;
}

.prizes-shell {
  padding: 2rem 1.35rem; border-radius: 22px; text-align: center;
  background: linear-gradient(180deg, rgba(2,27,24,0.88), rgba(1,17,15,0.94));
  border: 1px solid var(--border-gold);
}
.prizes-podium {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem; margin: 1.35rem auto 1.25rem; max-width: 960px;
}
@media (max-width: 820px) { .prizes-podium { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.prize-card {
  padding: 1.2rem 0.85rem; border-radius: 16px; text-align: center;
  background: linear-gradient(180deg, rgba(185,167,121,0.16), rgba(2,27,24,0.86));
  border: 1px solid var(--border-gold);
}
.prize-card.is-top { border-color: var(--gold-hi); background: linear-gradient(180deg, rgba(216,198,144,0.24), rgba(5,66,57,0.55)); }
.prize-card .p-val { font-size: 1.4rem; font-weight: 700; color: var(--gold-hi); }
.prize-card .p-lbl { font-size: 0.83rem; color: var(--text-muted); margin-top: 0.25rem; }
.prizes-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: 960px; margin: 0 auto; text-align: center; }
@media (max-width: 720px) { .prizes-extras { grid-template-columns: 1fr; } }
.extra-pill {
  padding: 1.05rem 1.2rem; border-radius: 14px;
  background: rgba(0, 122, 61, 0.16); border: 1px solid rgba(52, 211, 153, 0.35);
}
.extra-pill strong { display: block; color: #A7F3D0; margin-bottom: 0.25rem; font-size: 0.96rem; }
.extra-pill p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }

.stations-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.85rem; margin-bottom: 1.2rem; }
.st-card { padding: 0.95rem 1.05rem; border-radius: 14px; background: rgba(2, 27, 24, 0.86); border: 1px solid var(--border-gold); }
.st-card .st-km { font-size: 0.78rem; color: #6EE7B7; font-weight: 700; }
.st-card strong { display: block; color: var(--ivory); margin: 0.2rem 0; font-size: 0.94rem; }
.st-card span { font-size: 0.82rem; color: var(--text-muted); }

.seg-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.45rem; }
.seg-tab {
  padding: 0.75rem 1.45rem; border-radius: 14px; font-weight: 700; font-size: 0.95rem;
  border: 1px solid var(--border-gold); background: rgba(2, 27, 24, 0.82); color: var(--ivory);
  cursor: pointer; transition: all 0.18s ease;
}
.seg-tab.is-active { background: var(--flag-green); border-color: #34D399; color: #FFFFFF; box-shadow: 0 8px 22px rgba(0, 122, 61, 0.35); }
.tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.tip-card { padding: 1.2rem; border-radius: 16px; background: rgba(2, 27, 24, 0.86); border: 1px solid var(--border-gold); }
.tip-card strong { display: block; color: var(--gold-hi); margin-bottom: 0.38rem; font-size: 0.98rem; }
.tip-card p { margin: 0; font-size: 0.87rem; color: var(--text-muted); }

.form-box-sovereign {
  padding: 1.85rem 1.5rem 1.5rem; border-radius: 22px; max-width: 880px; margin: 0 auto;
  background: var(--surface-strong); border: 1px solid var(--border-gold-hi); box-shadow: var(--shadow);
}
@media (max-width: 540px) { .form-box-sovereign { padding: 1.35rem 1rem; } }
.f-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.95rem; }
@media (max-width: 680px) { .f-grid-2 { grid-template-columns: 1fr; } }
.f-field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gold-hi); margin-bottom: 0.35rem; }
.f-field input, .f-field select, .f-field textarea {
  width: 100%; padding: 0.78rem 0.92rem; border-radius: 12px;
  border: 1px solid var(--border-gold); background: rgba(1, 17, 15, 0.82);
  color: var(--ivory); font-size: 0.94rem;
}
.f-field input:focus, .f-field select:focus { outline: none; border-color: #34D399; }

/* Lower-corner Syrian Youth Cooperation Footer inside Registration Forms */
.youth-form-corner {
  margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid rgba(185, 167, 121, 0.22);
  display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; flex-wrap: wrap;
}
.youth-form-corner img { height: 42px; width: auto; object-fit: contain; }
.youth-form-corner span { font-size: 0.84rem; color: var(--gold-hi); font-weight: 600; }

/* Riders Checklist Chips */
.seg-check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0.65rem; margin-top: 0.5rem; }
.seg-check {
  display: flex; align-items: flex-start; gap: 0.55rem; padding: 0.7rem 0.85rem;
  border-radius: 12px; border: 1px solid var(--border-gold); background: rgba(2,27,24,0.72);
  cursor: pointer; font-size: 0.84rem; transition: border-color 0.15s ease, background 0.15s ease;
}
.seg-check:has(input:checked) { border-color: #34D399; background: rgba(0, 122, 61, 0.24); }
.r-sec-title {
  margin: 1.5rem 0 0.85rem; padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border-gold); color: var(--gold-hi); font-size: 1.15rem;
}

.alert-box { display: none; padding: 1.1rem 1.25rem; border-radius: 14px; margin-top: 1.1rem; font-size: 0.92rem; }
.alert-box.is-visible { display: block; }
.alert-ok { background: rgba(0, 122, 61, 0.24); border: 1px solid #34D399; color: #A7F3D0; }
.alert-err { background: rgba(158, 43, 43, 0.28); border: 1px solid #F87171; color: #FECACA; }
.hidden { display: none !important; }


/* === V2 SOVEREIGN POLISH, 3-TIER PARTNERS BAND, INTERACTIVE ROUTE MAP & GENDER CONTROLS === */
::selection { background: rgba(216, 198, 144, 0.35); color: var(--ivory); }
input, select, textarea { caret-color: var(--gold-hi); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 2px;
}
.p-val, .metric-pill strong, .st-km, .kpi-val { font-variant-numeric: tabular-nums; }

/* === CLEAN MERGED PARTNERS (7 MINISTRIES + ALL 14 GOVERNORATES IN CRISP WHITE) & 3 OFFICIAL SPONSORS === */
.partners-logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1.1rem 1.35rem; margin-top: 1.35rem;
}
.partners-logos img {
  height: 48px; width: auto; max-width: 148px; object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.92) drop-shadow(0 4px 10px rgba(0,0,0,0.42));
  transition: transform 0.2s var(--ease), filter 0.2s ease;
}
.partners-logos img:hover {
  transform: translateY(-2px) scale(1.06);
  filter: brightness(0) invert(1) opacity(1) drop-shadow(0 0 14px rgba(255,255,255,0.28));
}

.governorates-partners-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1.05rem 1rem;
  align-items: center;
  justify-items: center;
  max-width: 1080px;
  margin: 1.65rem auto 0;
}
.governorates-partners-row img {
  height: 84px; width: 84px; object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.9) drop-shadow(0 5px 12px rgba(0,0,0,0.45));
  transition: transform 0.22s var(--ease), filter 0.22s ease;
}
.governorates-partners-row img:hover {
  transform: translateY(-3px) scale(1.08);
  filter: brightness(0) invert(1) opacity(1) drop-shadow(0 0 14px rgba(255,255,255,0.3));
}
@media (max-width: 1024px) {
  .partners-logos img { height: 42px; max-width: 128px; }
  .governorates-partners-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .governorates-partners-row img { height: 74px; width: 74px; }
}
@media (max-width: 640px) {
  .partners-band { padding: 1.45rem 0.9rem; }
  .partners-logos { gap: 0.9rem 1rem; }
  .partners-logos img { height: 34px; max-width: 112px; }
  .governorates-partners-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem; margin-top: 1.25rem; }
  .governorates-partners-row img { height: 60px; width: 60px; }
  .sponsors-row { gap: 1.1rem 1.4rem; }
  .sponsors-row img.sp-side { height: 64px; }
  .sponsors-row img.sp-center { height: 58px; }
  .sponsors-row .sp-light-badge img { height: 58px; width: 58px; }
}
@media (max-width: 420px) {
  .governorates-partners-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-text strong { font-size: 0.82rem; white-space: normal; }
  .gov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
  .gov-tile { min-height: 215px; padding: 1rem 0.6rem; }
  .gov-tile .gov-emblem { width: 58px; height: 58px; }
  .gov-tile .gov-name { font-size: 1.05rem; }
}

/* === RESPONSIVE MARATHON METRICS, MAP TOOLBAR & TOUCH TARGETS === */
@media (max-width: 680px) {
  .map-toolbar { flex-direction: column; align-items: stretch; text-align: center; }
  .map-toolbar-actions { justify-content: center; }
  .station-nav-btns { flex-direction: column; }
  .station-nav-btns .btn { width: 100%; min-height: 44px; }
  .btn, .btn-big-gw, .lang-btn, .nav-toggle, .seg-tab, .map-layer-btn { min-height: 42px; }
  .gov-hero-split .hero-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 0.55rem; }
  .gov-hero-split .metric-pill { padding: 0.7rem 0.45rem; }
  .gov-hero-split .metric-pill strong { font-size: 0.96rem; }
  .gov-hero-split .metric-pill span { font-size: 0.72rem; }
}
@media (max-width: 400px) {
  .gov-hero-split .hero-metrics { grid-template-columns: 1fr !important; }
}

/* === SMALL DISCREET SYRIAN YOUTH CREDIT UNDER MARATHON FORMS === */
.youth-form-corner {
  margin-top: 1.35rem; padding-top: 0.9rem; border-top: 1px solid rgba(185, 167, 121, 0.2);
  display: flex; align-items: center; justify-content: flex-end; gap: 0.55rem; flex-wrap: wrap;
  opacity: 0.88;
}
.youth-form-corner img { height: 28px; width: auto; object-fit: contain; }
.youth-form-corner span { font-size: 0.76rem; color: var(--text-soft); font-weight: 500; }
@media (max-width: 640px) {
  .youth-form-corner { justify-content: center; text-align: center; }
}

/* === OFFICIAL SOVEREIGN REGISTRATION TICKET CARD === */
.ticket-card {
  margin-top: 0.25rem;
  background: linear-gradient(155deg, #FBF8F1 0%, #F2ECDC 100%);
  color: #01110F;
  border-radius: 18px;
  border: 2.5px solid var(--gold);
  padding: 1.35rem 1.45rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
  text-align: start;
}
.ticket-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem;
  padding-bottom: 0.85rem; margin-bottom: 0.9rem;
  border-bottom: 1.5px dashed rgba(5, 66, 57, 0.28);
}
.ticket-brand { display: flex; flex-direction: column; gap: 0.15rem; }
.ticket-badge {
  display: inline-flex; align-items: center; width: fit-content;
  padding: 0.2rem 0.65rem; border-radius: 999px;
  background: #007A3D; color: #FFFFFF; font-size: 0.74rem; font-weight: 700;
}
.ticket-title { margin: 0.2rem 0 0; font-family: var(--f-display); font-size: 1.2rem; color: #01110F; }
.ticket-code-box {
  padding: 0.45rem 0.85rem; border-radius: 12px;
  background: #021B18; color: #D8C690; border: 1px solid #B9A779;
  font-family: var(--f-display); font-size: 1.25rem; font-weight: 800;
  letter-spacing: 0.04em; font-variant-numeric: tabular-nums;
}
.ticket-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem 1rem;
  font-size: 0.86rem; margin-bottom: 1rem;
}
@media (max-width: 540px) { .ticket-grid { grid-template-columns: 1fr; } }
.ticket-grid div strong { display: block; font-size: 0.72rem; color: #054239; opacity: 0.85; }
.ticket-grid div span { font-weight: 700; color: #01110F; }
.ticket-note {
  margin: 0 0 0.95rem; padding: 0.65rem 0.85rem; border-radius: 10px;
  background: rgba(0, 122, 61, 0.1); border: 1px solid rgba(0, 122, 61, 0.25);
  font-size: 0.82rem; color: #022C22; line-height: 1.6;
}
.ticket-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.ticket-actions .btn { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.84rem; }
@media print {
  body * { visibility: hidden; }
  .ticket-card, .ticket-card * { visibility: visible; }
  .ticket-card { position: fixed; inset: 16px; height: auto; box-shadow: none; border: 2px solid #000; }
  .ticket-actions { display: none !important; }
}

.sponsors-divider {
  width: min(520px, 84%); height: 1px; margin: 1.85rem auto 1.35rem;
  background: linear-gradient(90deg, transparent, rgba(185,167,121,0.55), transparent);
}
.sponsors-row {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center;
  gap: 1.25rem 2.2rem; margin-top: 1.05rem;
}
.sponsor-slot {
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms ease;
}
.sponsor-slot:hover { transform: translateY(-3px) scale(1.03); }
.sponsor-featured-col {
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.45rem;
}
.sponsor-role-tag {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.22rem 0.78rem; border-radius: 999px;
  background: rgba(216, 198, 144, 0.14);
  border: 1px solid rgba(216, 198, 144, 0.48);
  color: var(--gold-hi);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.01em;
  white-space: nowrap;
}
.sponsors-row .sp-center-frame {
  padding: 0.32rem 0.56rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  border: 1.5px solid rgba(216, 198, 144, 0.75);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(185, 167, 121, 0.12);
}
.sponsors-row img.sp-center {
  height: 46px; width: auto; max-width: 138px; object-fit: contain;
}
.sponsors-row .sp-light-badge {
  padding: 0.34rem 0.42rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  border: 1.5px solid rgba(216, 198, 144, 0.65);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.38);
}
.sponsors-row .sp-light-badge img {
  height: 52px; width: 52px; object-fit: contain; border-radius: 8px;
}
.partners-logos img.army-partner-logo { filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,0.35)) !important; }
@media (max-width: 640px) {
  .sponsors-row { gap: 1rem 1.25rem; }
  .sponsors-row img.sp-center { height: 38px; max-width: 118px; }
  .sponsors-row .sp-light-badge img { height: 42px; width: 42px; }
  .partners-logos img.army-partner-logo { filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,0.35)) !important; }
}

/* === FULL RIDERS-GRADE INTERACTIVE MAP FOR MARATHONS === */
.gov-map-canvas { width: 100%; height: 430px; background: #061816; z-index: 1; }
@media (max-width: 720px) { .gov-map-canvas { height: 340px; } }
.map-toolbar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
.map-layer-group {
  display: inline-flex; padding: 2px; border-radius: 10px;
  background: rgba(1, 17, 15, 0.85); border: 1px solid var(--border-gold);
}
.map-layer-btn {
  padding: 0.34rem 0.7rem; border: none; border-radius: 8px;
  background: transparent; color: var(--text-muted); font-size: 0.76rem; font-weight: 600;
  cursor: pointer; transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.map-layer-btn.is-active { background: var(--flag-green); color: #fff; box-shadow: 0 2px 8px rgba(0,122,61,0.35); }
.map-layer-btn:hover:not(.is-active) { color: var(--gold-hi); }

.st-card { cursor: pointer; transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.st-card:hover { transform: translateY(-2px); border-color: var(--gold-hi); box-shadow: 0 10px 24px rgba(0,0,0,0.3); }
.st-card.is-active {
  border-color: #34D399;
  background: rgba(0, 122, 61, 0.24);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.42), 0 10px 24px rgba(0,0,0,0.3);
}
.st-role-pill {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.18rem 0.62rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700;
  margin-bottom: 0.35rem;
}
.st-role-pill.is-start { background: rgba(0, 122, 61, 0.28); color: #6EE7B7; border: 1px solid rgba(52, 211, 153, 0.5); }
.st-role-pill.is-finish { background: rgba(158, 43, 43, 0.34); color: #FDE68A; border: 1px solid rgba(216, 198, 144, 0.6); }
.st-role-pill.is-mid { background: rgba(185, 167, 121, 0.16); color: var(--gold-hi); border: 1px solid rgba(185, 167, 121, 0.35); }

/* === GENDER RADIO PILLS (SOVEREIGN EMERALD SELECTED STATE) === */
.gender-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
.f-field label.gender-pill, .gender-pill {
  display: flex !important; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 46px; margin-bottom: 0 !important; padding: 0.65rem 0.9rem; border-radius: 12px;
  border: 1px solid var(--border-gold); background: rgba(1, 17, 15, 0.82);
  color: var(--ivory) !important; font-size: 0.92rem; font-weight: 600; cursor: pointer;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.gender-pill:hover { border-color: var(--gold-hi); }
.gender-pill:has(input:checked) {
  border-color: #34D399;
  background: rgba(0, 122, 61, 0.28);
  color: #ECFDF5 !important;
  box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.22);
}
.f-field .gender-pill input, .gender-pill input {
  accent-color: var(--flag-green); width: 18px !important; height: 18px;
  padding: 0 !important; margin: 0; flex-shrink: 0;
}

/* === VOLUNTEER LAYOUT & INTERACTIVE TRAINING PLATFORM (REACT-CLEAN DESIGN) === */
.vol-form-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 1.5rem;
  align-items: start; max-width: 1100px; margin: 0 auto;
}
.youth-corner-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem;
  padding: 1.35rem 1.05rem; border-radius: 18px;
  background: rgba(2, 27, 24, 0.88); border: 1px solid rgba(216, 198, 144, 0.3);
  box-shadow: 0 12px 30px rgba(0,0,0,0.32);
}
.youth-corner-card img { height: 76px; width: auto; object-fit: contain; }
.youth-corner-card span { font-size: 0.83rem; color: var(--gold-hi); font-weight: 600; line-height: 1.6; }

.training-hub-card {
  position: relative;
  border-radius: 24px;
  padding: clamp(1.5rem, 3.4vw, 2.4rem);
  background: linear-gradient(155deg, rgba(5, 66, 57, 0.42) 0%, rgba(2, 27, 24, 0.92) 55%, rgba(1, 17, 15, 0.96) 100%);
  border: 1px solid rgba(216, 198, 144, 0.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 22px 54px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}
.training-hub-head {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}
.training-hub-head h2, .training-hub-head h3 {
  margin: 0.35rem 0 0.45rem; font-family: var(--f-display);
  font-size: clamp(1.38rem, 2.6vw, 2.05rem); line-height: 1.3; color: var(--ivory);
}
.training-hub-head p { margin: 0; color: var(--text-muted); font-size: 0.94rem; max-width: 68ch; line-height: 1.75; }
.training-features-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
  margin-bottom: 1.35rem;
}
@media (max-width: 860px) { .training-features-grid { grid-template-columns: 1fr; } }
.training-feat-card {
  padding: 1.2rem 1.15rem; border-radius: 16px;
  background: rgba(1, 17, 15, 0.72); border: 1px solid rgba(216, 198, 144, 0.24);
  display: flex; flex-direction: column; gap: 0.45rem;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease;
}
.training-feat-card:hover { transform: translateY(-2px); border-color: rgba(216, 198, 144, 0.55); }
.training-feat-icon {
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(0, 122, 61, 0.22); border: 1px solid rgba(52, 211, 153, 0.38);
  color: #6EE7B7; display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 0.2rem;
}
.training-feat-card strong { color: var(--gold-hi); font-size: 0.98rem; font-weight: 700; }
.training-feat-card p { margin: 0; color: var(--text-muted); font-size: 0.85rem; line-height: 1.68; }
.training-access-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.2rem; border-radius: 16px;
  background: rgba(216, 198, 144, 0.08); border: 1px solid rgba(216, 198, 144, 0.28);
}
.training-access-note {
  display: flex; align-items: flex-start; gap: 0.7rem; flex: 1 1 320px;
  font-size: 0.87rem; color: var(--ivory); line-height: 1.65;
}
.training-access-note svg { flex-shrink: 0; color: var(--gold-hi); margin-top: 2px; }

.charter-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); gap: 1rem;
}
.charter-card {
  padding: 1.25rem 1.2rem; border-radius: 16px;
  background: rgba(2, 27, 24, 0.86); border: 1px solid rgba(216, 198, 144, 0.24);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease;
}
.charter-card:hover { transform: translateY(-2px); border-color: rgba(216, 198, 144, 0.52); }
.charter-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 28px; height: 28px; padding: 0 0.5rem; border-radius: 8px;
  background: rgba(0, 122, 61, 0.22); border: 1px solid rgba(52, 211, 153, 0.4);
  color: #6EE7B7; font-size: 0.78rem; font-weight: 800; font-variant-numeric: tabular-nums;
  margin-bottom: 0.55rem;
}
.charter-card strong { display: block; color: var(--gold-hi); margin-bottom: 0.38rem; font-size: 0.98rem; }
.charter-card p { margin: 0; font-size: 0.86rem; color: var(--text-muted); line-height: 1.7; }

.btn-royal-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%;
  min-height: 50px; padding: 0.9rem 1.4rem; border-radius: 13px; border: 1px solid rgba(255,255,255,0.22);
  background: linear-gradient(135deg, #E8D8A6 0%, #B9A779 58%, #8E7F58 100%);
  color: #01110F; font-size: 1rem; font-weight: 800; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 10px 24px rgba(185, 167, 121, 0.25);
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), filter 180ms ease, box-shadow 180ms ease;
}
.btn-royal-gold:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 14px 28px rgba(185, 167, 121, 0.34); }
.btn-royal-gold:active { transform: scale(0.98); }
@media (max-width: 900px) { .vol-form-layout { grid-template-columns: 1fr; } }

/* === GOVERNORATE HERO LOCKUP: NATIONAL DAY ON TOP + ENLARGED WHITE MEDALLION GOV & DARB === */
.gov-darb-pair {
  display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 2.8vw, 1.85rem); flex-wrap: wrap;
  margin: 0.95rem auto 0.6rem;
}
.gov-emblem-medallion {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px; border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid rgba(216, 198, 144, 0.85);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(185, 167, 121, 0.14);
}
.gov-darb-pair .g-emblem-lg { height: 112px; width: 112px; object-fit: contain; }
.gov-darb-pair .d-logo-lg { height: 112px; width: auto; max-width: 295px; object-fit: contain; filter: drop-shadow(0 10px 26px rgba(0,0,0,0.55)); }
@media (max-width: 600px) {
  .gov-emblem-medallion { padding: 9px; border-radius: 18px; }
  .gov-darb-pair .g-emblem-lg { height: 84px; width: 84px; }
  .gov-darb-pair .d-logo-lg { height: 82px; max-width: 225px; }
}

/* حركة بصرية ناعمة (Zoom In / Zoom Out & Slide) لصور المعالم والمحافظات */
@keyframes kenBurnsSoft {
  0%   { transform: scale(1.00) translate3d(0, 0, 0); }
  50%  { transform: scale(1.07) translate3d(-1.2%, -0.8%, 0); }
  100% { transform: scale(1.00) translate3d(0, 0, 0); }
}
.landmark-frame { overflow: hidden; }
.landmark-frame img { animation: kenBurnsSoft 18s ease-in-out infinite; will-change: transform; }
.gov-tile { overflow: hidden; }
.gov-tile .gov-bg { animation: kenBurnsSoft 22s ease-in-out infinite; will-change: transform; }
.gov-tile:nth-child(even) .gov-bg { animation-direction: reverse; animation-duration: 25s; }
