/* ============================================================
   SIMS — موقع مهرجان خورفكان البحري («بحرُ الليل»)
   File : wwwroot/css/sims-festival.css
   ------------------------------------------------------------
   التصميم المعتمد (٢١ نوفمبر ٢٠٢٦): موقعٌ كالتطبيق — افتتاحٌ بفيديو
   يملأ الشاشة، وبطاقاتٌ «بنظرة واحدة»، وشريطٌ سفليٌّ على الهاتف.
   الهاتفُ أوّلاً، ثمّ ٧٠٠ و١٠٠٠ بكسل.

   الألوان:  الأرض #061427 · السطح #0B2340 · النصّ #F4EFE6
             البرونز #D7A05E · الفيروز (مفتوح) #46D6C3 · الكهرمان (قريباً) #F2C14E
             الورديّ (مكتمل) #F49AA8 · المرجانيّ (مباشر) #FF7A59
   والحركةُ تُطفأ كلُّها مع «تقليل الحركة».
   ============================================================ */

body.fx {
    margin: 0;
    min-height: 100vh;
    background: #061427;
    color: #F4EFE6;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
}
body.fx.fx-no-tabs { padding-bottom: 0; }
.fx a { color: inherit; text-decoration: none; }
.fx h1, .fx h2, .fx h3 { color: #F4EFE6; font-family: var(--font-display); margin: 0; letter-spacing: 0; }
.fx p { margin: 0; }
.fx img { max-width: 100%; }
.fx button { font-family: inherit; }
.fx :focus-visible { outline: 2px solid #F4EFE6; outline-offset: 3px; box-shadow: none; border-radius: 12px; }
.fx svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }
.fx svg.fill { fill: currentColor; stroke: none; }
[dir="ltr"] .fx .fx-dir, [dir="ltr"] .fx .fx-dir-back { transform: scaleX(-1); }

.fx-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; box-sizing: border-box; }
.fx-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fx-num { font-variant-numeric: tabular-nums; }
.fx-hscroll { scrollbar-width: none; }
.fx-hscroll::-webkit-scrollbar { display: none; }
[hidden] { display: none !important; }

.fx-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: #D7A05E; color: #1B1206; font-weight: 700; }
.fx-skip:focus { top: 12px; }

/* ---------- المعاينة ---------- */
.fx-preview { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; text-align: center;
    background: rgba(242,193,78,.12); border-bottom: 1px solid rgba(242,193,78,.30); color: #F5CF72; font-size: 12.5px; font-weight: 500; }
.fx-preview .dot { width: 8px; height: 8px; border-radius: 50%; background: #F2C14E; flex: none; }

/* ---------- العناصر المشتركة ---------- */
.fx-pill { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; box-sizing: border-box; padding: 0 14px; border-radius: 999px;
    background: rgba(6,20,39,.50); border: 1px solid rgba(255,255,255,.16); color: #F4EFE6; font-size: 12.5px; font-weight: 500; cursor: pointer;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.fx-pill svg { width: 14px; height: 14px; }
.fx-pill.live { background: rgba(255,122,89,.14); border-color: rgba(255,122,89,.45); color: #FFB09C; font-weight: 600; }
.fx-round { width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); background: rgba(6,20,39,.50);
    color: #F4EFE6; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.fx-round svg { width: 19px; height: 19px; }

.fx-pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #FF7A59; flex: none; animation: fxPulse 1.8s ease-out infinite; }
@keyframes fxPulse { 0% { box-shadow: 0 0 0 0 rgba(255,122,89,.65); } 70% { box-shadow: 0 0 0 8px rgba(255,122,89,0); } 100% { box-shadow: 0 0 0 0 rgba(255,122,89,0); } }

.fx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; box-sizing: border-box; padding: 0 13px; border-radius: 999px;
    background: rgba(6,20,39,.45); border: 1px solid rgba(255,255,255,.18); color: #F4EFE6; font-size: 12.5px; font-weight: 500;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.fx-chip svg { width: 15px; height: 15px; color: #D7A05E; }
.fx-chip.sm { min-height: 30px; padding: 0 12px; font-size: 12px; color: #D5DEEA; background: rgba(6,20,39,.70); }

.fx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; box-sizing: border-box; padding: 0 18px;
    border-radius: 16px; border: 1px solid transparent; font-size: 15.5px; font-weight: 700; text-align: center; cursor: pointer; line-height: 1.3; }
.fx-btn svg { width: 18px; height: 18px; stroke-width: 2.2; }
.fx-btn.primary { background: #D7A05E; color: #1B1206; box-shadow: 0 12px 28px rgba(215,160,94,.28); }
.fx-btn.primary:hover { background: #E2B072; }
.fx-btn.ghost { background: rgba(6,20,39,.50); border-color: rgba(255,255,255,.20); color: #F4EFE6; font-weight: 600;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.fx-btn.glass { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.20); color: #F4EFE6; font-weight: 600;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.fx-btn.ad { background: rgba(6,20,39,.45); border-color: rgba(215,160,94,.55); color: #F2C98F; font-weight: 600; }
.fx-btn.ad .play { width: 30px; height: 30px; border-radius: 50%; background: #D7A05E; color: #1B1206; display: inline-flex; align-items: center; justify-content: center; }
.fx-btn.ad .play svg { width: 13px; height: 13px; }
.fx-btn.sm { min-height: 46px; border-radius: 14px; font-size: 14px; padding: 0 14px; }
.fx-btn.wide { flex: 1 1 auto; }
.fx-btn.is-off { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #C3CEDD; font-weight: 600; cursor: default; box-shadow: none; }

/* ============================ الرأس ============================ */
.fx-bar { position: sticky; top: 0; z-index: 40; background: rgba(6,20,39,.92); border-bottom: 1px solid rgba(255,255,255,.07);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background .25s ease, border-color .25s ease; }
.fx-bar-in { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fx-bar-logo { display: inline-flex; align-items: center; min-height: 44px; transition: opacity .25s ease; }
.fx-bar-logo img { display: block; height: 28px; width: auto; }
.fx-nav { display: none; }
.fx-bar-acts { display: flex; align-items: center; gap: 8px; }
.fx-bar-chip { background: rgba(215,160,94,.14); border-color: rgba(215,160,94,.36); color: #F2C98F; font-weight: 600; font-size: 12px; min-height: 34px; padding: 0 12px; cursor: default; }
.fx-bar-chip.live { background: rgba(255,122,89,.14); border-color: rgba(255,122,89,.45); color: #FFB09C; }
.fx-ad-pill { display: none; border-color: rgba(215,160,94,.55); color: #F2C98F; font-weight: 600; }
.fx-ad-pill svg { width: 13px; height: 13px; }
.fx-club { display: none; }

/* الرئيسية: الرأسُ شفّافٌ فوق الافتتاح، ويصير صلباً بعد التمرير */
.fx-is-home .fx-bar:not(.is-solid) { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.fx-is-home .fx-bar:not(.is-solid) .fx-bar-chip { display: none; }
.fx-is-home .fx-bar:not(.is-solid) .fx-ad-pill { display: inline-flex; }

.fx-lang { position: relative; }
.fx-lang-list { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 170px; padding: 6px; border-radius: 16px; z-index: 60;
    background: #0B2340; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.fx-lang-list button { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: #F4EFE6;
    font-size: 14px; text-align: start; cursor: pointer; }
.fx-lang-list button:hover { background: rgba(255,255,255,.08); }
.fx-lang-list button.on { color: #D7A05E; font-weight: 600; }

/* ============================ الافتتاح ============================ */
.fx-op { position: relative; min-height: 100svh; margin-top: -65px; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.fx-op-media { position: absolute; inset: 0; z-index: -2; background: #061427; }
.fx-op-media video, .fx-op-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fx-op-video { z-index: 1; }
.fx-op-shade { position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(6,20,39,.80) 0%, rgba(6,20,39,.32) 20%, rgba(6,20,39,.32) 48%, rgba(6,20,39,.90) 68%, #061427 86%); }
.fx-op-in { flex: 1 1 auto; display: flex; flex-direction: column; align-items: stretch; gap: 18px; box-sizing: border-box;
    padding-top: 120px; padding-bottom: 28px; text-align: center; }
.fx-op-text { display: contents; }
.fx-op-logo { order: 1; margin: 0; line-height: 0; align-self: center; }
.fx-op-logo img { display: block; height: 204px; width: auto; max-width: 100%; }
.fx-op .fx-chips { order: 2; justify-content: center; }
.fx-op-lead { order: 3; max-width: 520px; align-self: center; font-size: 14px; line-height: 1.8; color: #D5DEEA; }
.fx-cd-panel { order: 4; margin-top: auto; position: relative; display: flex; flex-direction: column; gap: 10px; }
.fx-op .fx-ctas { order: 5; }
.fx-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.fx-op .fx-ctas .fx-btn.primary { flex: 1.5 1 0; }
.fx-op .fx-ctas .fx-btn.ghost { flex: 1 1 0; }
.fx-op .fx-ctas .fx-btn.ad { display: none; }
.fx-ctas.compact { margin-top: 4px; }
.fx-ctas.compact .fx-btn { flex: 1 1 0; }

.fx-cd-lbl { font-size: 12.5px; font-weight: 600; color: #D7A05E; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.fx-cd-lbl.live { color: #FFB09C; }
.fx-cd { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fx-cd-box { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 80px; border-radius: 16px;
    background: rgba(6,20,39,.55); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.fx-cd-box .v { font-size: 34px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; color: #F4EFE6; }
.fx-cd-box .u { margin-top: 8px; font-size: 11.5px; color: #C3CEDD; }
.fx-cd-box.sec { background: rgba(215,160,94,.16); border-color: rgba(215,160,94,.45); }
.fx-cd-box.sec .v { color: #F2C98F; }
.fx-cd-box.sec .u { color: #E9CFA6; }
.fx-cd-note { font-size: 12.5px; color: #C3CEDD; }
.fx-now-lbl { font-size: 12px; font-weight: 600; color: #F2C98F; }
.fx-now-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.3; }
.fx-helm { display: none; }

/* اللوحةُ بطاقةٌ زجاجيّةٌ حين لا عدَّ فيها (أثناء المهرجان وبعده) */
.fx-cd-panel.is-card { padding: 18px; border-radius: 22px; background: rgba(6,20,39,.62); border: 1px solid rgba(255,255,255,.14);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }

/* ======================= المهرجان بنظرة واحدة ======================= */
.fx-sec { padding-top: 4px; padding-bottom: 36px; }
.fx-sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.fx-sec-h h2 { font-size: 22px; font-weight: 700; line-height: 1.3; }
.fx-more { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: #D7A05E !important; font-size: 14px; font-weight: 600; }
.fx-more svg { width: 16px; height: 16px; }

.fx-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; grid-auto-flow: dense; }
.fx-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 140px; box-sizing: border-box;
    padding: 16px; border-radius: 24px; overflow: hidden; background: #0B2340; border: 1px solid rgba(255,255,255,.07); color: #F4EFE6; }
a.fx-tile:hover { border-color: rgba(215,160,94,.40); }
.fx-tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fx-tile-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,20,39,.05) 20%, rgba(6,20,39,.90) 88%); }
.fx-tile-shade.side { background: linear-gradient(to left, rgba(6,20,39,.94) 0%, rgba(6,20,39,.62) 52%, rgba(6,20,39,.10) 100%); }
[dir="ltr"] .fx-tile-shade.side { background: linear-gradient(to right, rgba(6,20,39,.94) 0%, rgba(6,20,39,.62) 52%, rgba(6,20,39,.10) 100%); }
.fx-tile-body { position: relative; display: flex; flex-direction: column; gap: 6px; }
.fx-tile-body.bottom { margin-top: auto; }
.fx-tile-title { font-family: var(--font-display); font-size: 25px; font-weight: 700; line-height: 1.25; }
.fx-tile-title.sm { font-size: 21px; line-height: 1.3; }
.fx-tile-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; color: #D5DEEA; }
.fx-tile-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.fx-tile-meta svg { width: 15px; height: 15px; }
.fx-tile-stack { display: flex; flex-direction: column; gap: 3px; }
.fx-tile-sub { font-size: 13px; line-height: 1.5; color: #D5DEEA; }
.fx-tile-sub.muted { color: #93A3BA; font-size: 12px; }
.fx-tile-foot { font-size: 12px; color: #93A3BA; }
.fx-tile-name { font-size: 15px; font-weight: 600; }
.fx-big { font-size: 44px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.fx-big.teal { color: #46D6C3; }
.fx-big.amber { color: #F2C14E; }
.fx-ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(215,160,94,.16); color: #D7A05E; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.fx-ico svg { width: 20px; height: 20px; }

.fx-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 26px; box-sizing: border-box; padding: 0 10px;
    border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.fx-tag .dot { width: 7px; height: 7px; border-radius: 50%; }
.fx-tag.bronze { background: rgba(215,160,94,.24); color: #F2C98F; }
.fx-tag.teal { background: rgba(70,214,195,.14); color: #7BE6D7; }
.fx-tag.teal .dot { background: #46D6C3; }
.fx-tag.amber { background: rgba(242,193,78,.14); color: #F5CF72; }
.fx-tag.amber .dot { background: #F2C14E; }
.fx-tag.live { background: rgba(255,122,89,.16); color: #FFB09C; }
.fx-tag.sm { min-height: 24px; padding: 0 9px; font-size: 11px; font-weight: 700; flex: none; }

/* ترتيبُ البطاقات على الهاتف كما في التصميم */
.t-program { grid-column: span 2; order: 1; min-height: 188px; }
.t-next { grid-column: span 2; order: 2; }
.t-reg { order: 3; min-height: 158px; }
.t-comps { order: 4; min-height: 158px; }
.t-loc { grid-column: span 2; order: 5; min-height: 132px; }
.t-results, .t-latest { order: 6; }
.t-latest { grid-column: span 2; }
.t-gal { order: 7; }

.t-next { flex-direction: row; align-items: center; gap: 12px; min-height: 84px; padding: 10px 12px; border-radius: 22px; justify-content: flex-start; }
.fx-next-img { flex: none; width: 60px; height: 60px; border-radius: 16px; object-fit: cover; }
.fx-next-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fx-next-when { font-size: 12px; font-weight: 600; color: #7BE6D7; }
.fx-next-title { font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.fx-next-meta { font-size: 12px; color: #93A3BA; }

.fx-comps-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.fx-comps-h .t { font-size: 12.5px; font-weight: 600; color: #93A3BA; }
.fx-comps-h .m { display: none; font-size: 13px; color: #93A3BA; }
.fx-comps-strip { display: none; }
.fx-avatars { display: flex; align-items: center; }
.fx-avatars img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid #0B2340; }
.fx-avatars img + img { margin-inline-start: -12px; }
.fx-comps-count { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.fx-comps-count .fx-big { font-size: 30px; }

.fx-loc-lbl { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #F2C98F; }
.fx-loc-lbl svg { width: 14px; height: 14px; }
.t-loc .fx-tile-body { max-width: 70%; }
.fx-loc-go { position: absolute; inset-inline-end: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; box-sizing: border-box;
    padding: 0 14px; border-radius: 999px; background: #D7A05E; color: #1B1206; font-size: 13px; font-weight: 700; }
.fx-loc-go svg { width: 15px; height: 15px; stroke-width: 2.1; }

.t-gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 3px; padding: 0; height: 140px; min-height: 0; }
.t-gal img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-gal-lbl { position: absolute; inset-inline-start: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 11px;
    border-radius: 999px; background: rgba(6,20,39,.72); border: 1px solid rgba(255,255,255,.16); color: #F4EFE6; font-size: 12px; font-weight: 600;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.fx-gal-lbl svg { width: 14px; height: 14px; }

.fx-latest-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.fx-latest-h .t { font-size: 15px; font-weight: 600; }
.fx-latest-h .m { font-size: 11.5px; color: #93A3BA; }
.fx-latest-row { display: flex; align-items: center; gap: 10px; min-height: 38px; }
.fx-latest-row .n { flex: 1 1 auto; font-size: 14px; font-weight: 600; }
.fx-latest-row .t { font-size: 13.5px; color: #D5DEEA; font-variant-numeric: tabular-nums; }
.fx-medal { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.fx-medal.m1 { background: #E9C46A; color: #3A2A05; }
.fx-medal.m2 { background: #C9D3DF; color: #26303D; }
.fx-medal.m3 { background: #D08C5B; color: #2E1606; }

/* المنظّم والرعاة */
.fx-org { margin-top: 12px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; box-sizing: border-box; padding: 14px 16px; border-radius: 24px;
    background: #0B2340; border: 1px solid rgba(255,255,255,.07); }
.fx-org-by { display: flex; flex-direction: column; gap: 3px; flex: 0 1 auto; }
.fx-org .k { font-size: 11px; color: #93A3BA; }
.fx-org-by .v { font-size: 12.5px; font-weight: 600; line-height: 1.45; }
.fx-org-sep { width: 1px; align-self: stretch; background: rgba(255,255,255,.10); }
.fx-org-sp { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.fx-org-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.fx-sponsor { height: 54px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
    display: inline-flex; align-items: center; justify-content: center; padding: 6px 10px; box-sizing: border-box; font-size: 12px; font-weight: 600; text-align: center; color: #D5DEEA; }
.fx-sponsor img { max-height: 38px; max-width: 100%; object-fit: contain; }
.fx-sponsor.t-official { border-color: rgba(215,160,94,.45); }

/* ============================ الصفحات ============================ */
.fx-page { padding-top: 20px; padding-bottom: 28px; }
.fx-page-h { display: flex; flex-direction: column; gap: 4px; }
.fx-page-h.row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 12px; }
.fx-page-h h1 { font-size: 30px; font-weight: 700; line-height: 1.3; }
.fx-page-h p { font-size: 13px; color: #93A3BA; display: flex; flex-wrap: wrap; gap: 0 6px; }

.fx-empty { margin-top: 22px; box-sizing: border-box; padding: 30px 22px; border-radius: 24px; background: #0B2340; border: 1px solid rgba(255,255,255,.07);
    display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.fx-empty .fx-ico { width: 56px; height: 56px; border-radius: 18px; }
.fx-empty .fx-ico svg { width: 26px; height: 26px; }
.fx-empty .t { font-size: 16px; font-weight: 600; }
.fx-empty .d { font-size: 13px; line-height: 1.7; color: #93A3BA; }
.fx-empty.sm { padding: 18px; margin-top: 0; }
.fx-empty.sm .t { font-size: 14px; font-weight: 500; color: #C3CEDD; }

/* المفتاحُ المقطّع — الأيّام والفئات */
.fx-seg { box-sizing: border-box; margin: 14px 0 16px; padding: 4px; border-radius: 18px; background: #0B2340; border: 1px solid rgba(255,255,255,.07);
    display: grid; grid-template-columns: repeat(var(--n, 3), minmax(84px, 1fr)); gap: 4px; overflow-x: auto; scrollbar-width: none; }
.fx-seg::-webkit-scrollbar { display: none; }
.fx-seg a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 44px; padding: 4px 8px;
    border-radius: 14px; color: #D5DEEA; font-size: 13.5px; font-weight: 600; text-align: center; }
.fx-seg a[aria-selected="true"], .fx-seg a[aria-current="true"] { background: #F4EFE6; color: #061427; }
.fx-days a { min-height: 52px; }
.fx-days .n { font-size: 13.5px; font-weight: 700; }
.fx-days .d { font-size: 11.5px; color: #93A3BA; font-weight: 400; }
.fx-days a[aria-selected="true"] .d { color: #4A5568; }
/* «اليوم» نقطةٌ في الزاوية — والكلمةُ لقارئ الشاشة: لا تزاحم اسمَ اليوم في المفتاح الضيّق. */
.fx-days .today { position: absolute; top: 7px; inset-inline-end: 9px; display: inline-flex; line-height: 0; }
.fx-days .today .dot { width: 7px; height: 7px; border-radius: 50%; background: #FF7A59; box-shadow: 0 0 0 3px rgba(255,122,89,.18); }
.fx-days .today > span:not(.dot) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* الخطُّ الزمنيّ */
.fx-tl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.fx-tl-item { display: grid; grid-template-columns: 50px 16px minmax(0, 1fr); column-gap: 8px; align-items: start; transition: opacity .3s ease; }
.fx-tl-item > .t { padding-top: 15px; font-size: 13.5px; font-weight: 600; color: #F4EFE6; }
.fx-tl-item .node { align-self: stretch; position: relative; display: flex; justify-content: center; }
.fx-tl-item .node::before { content: ""; position: absolute; top: 0; bottom: -10px; width: 2px; background: rgba(255,255,255,.10); }
.fx-tl-item:last-child .node::before { bottom: 0; }
.fx-tl-item .node i { position: relative; margin-top: 19px; width: 12px; height: 12px; border-radius: 50%; box-sizing: border-box; background: #061427; border: 2px solid #D7A05E; }
.fx-tl-card { display: flex; flex-direction: column; gap: 6px; min-height: 70px; box-sizing: border-box; padding: 11px 14px; border-radius: 18px;
    background: #0B2340; border: 1px solid rgba(255,255,255,.07); color: #F4EFE6; }
a.fx-tl-card:hover { border-color: rgba(215,160,94,.40); }
.fx-tl-card .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.fx-tl-card .title { font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.fx-tl-card .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 12px; color: #93A3BA; }
.fx-tl-card .meta > span:first-child:not(.kind) { display: inline-flex; align-items: center; gap: 5px; }
.fx-tl-card .meta svg { width: 13px; height: 13px; }
.fx-tl-card .kind { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 600;
    background: rgba(147,163,186,.16); color: #C3CEDD; }
.fx-tl-card .kind.comp { background: rgba(215,160,94,.16); color: #F2C98F; }
.fx-tl-item.is-past { opacity: .55; }
.fx-tl-item.is-past > .t { color: #93A3BA; }
.fx-tl-item.is-past .node i { border-color: #5B6E89; }
.fx-tl-item.is-live > .t { color: #FFB09C; }
.fx-tl-item.is-live .node i { background: #FF7A59; border-color: #FF7A59; }
.fx-tl-item.is-live .fx-tl-card { background: #13284A; border-color: rgba(255,122,89,.55); box-shadow: 0 10px 26px rgba(255,122,89,.12); }
.fx-tl-now { display: grid; grid-template-columns: 50px 16px minmax(0, 1fr); column-gap: 8px; align-items: center; min-height: 22px; }
.fx-tl-now .t { font-size: 11.5px; font-weight: 700; color: #FF9B80; }
.fx-tl-now .node { display: flex; justify-content: center; }
.fx-tl-now .node .fx-pulse { width: 10px; height: 10px; }
.fx-tl-now .line { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; color: #FF9B80; }
.fx-tl-now .line i { flex: 1 1 auto; height: 2px; border-radius: 2px; background: #FF7A59; }

/* المرشِّحاتُ والبطاقات */
.fx-chiprow { display: flex; gap: 8px; overflow-x: auto; box-sizing: border-box; padding: 14px 0 14px; }
.fx-chiprow.sub { padding-top: 0; }
.fx-fchip { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 38px; box-sizing: border-box; padding: 0 14px; border-radius: 999px;
    background: rgba(255,255,255,.05); color: #D5DEEA; border: 1px solid rgba(255,255,255,.14); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.fx-fchip b { font-size: 11.5px; font-weight: 600; color: #93A3BA; }
.fx-fchip[aria-pressed="true"], .fx-fchip[aria-current="true"] { background: #F4EFE6; color: #061427; border-color: #F4EFE6; }
.fx-fchip[aria-pressed="true"] b { color: #5B4A2E; }
.fx-fchip.sm { min-height: 34px; font-size: 12.5px; padding: 0 12px; }

.fx-deck { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding-inline: 20px; padding-bottom: 6px; scrollbar-width: none; }
.fx-deck::-webkit-scrollbar { display: none; }
.fx-card { flex: 0 0 292px; height: 368px; position: relative; border-radius: 26px; overflow: hidden; scroll-snap-align: start; background: #0B2340; }
.fx-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fx-card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,20,39,.10) 18%, rgba(6,20,39,0) 34%, rgba(6,20,39,.93) 76%); }
.fx-card-chip { position: absolute; top: 14px; inset-inline-start: 14px; }
.fx-card-body { position: absolute; inset-inline: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 7px; }
.fx-card-when { font-size: 12px; font-weight: 600; color: #F2C98F; }
.fx-card h2 { font-size: 24px; font-weight: 700; line-height: 1.25; }
.fx-card-place { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #C3CEDD; }
.fx-card-place svg { width: 14px; height: 14px; }
.fx-card-acts { display: flex; gap: 8px; margin-top: 5px; }
.fx-card-acts .fx-btn.primary { flex: 1.3 1 0; }
.fx-card-acts .fx-btn.glass { flex: 1 1 0; }

.fx-state { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; box-sizing: border-box; padding: 0 11px; border-radius: 999px;
    background: rgba(6,20,39,.74); border: 1px solid rgba(255,255,255,.25); color: #C3CEDD; font-size: 12px; font-weight: 600;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.fx-state .dot { width: 7px; height: 7px; border-radius: 50%; background: #93A3BA; flex: none; }
.fx-state.s-open { color: #7BE6D7; border-color: rgba(70,214,195,.45); }
.fx-state.s-open .dot { background: #46D6C3; }
.fx-state.s-soon { color: #F5CF72; border-color: rgba(242,193,78,.45); }
.fx-state.s-soon .dot { background: #F2C14E; }
.fx-state.s-full { color: #F7B3BE; border-color: rgba(244,154,168,.45); }
.fx-state.s-full .dot { background: #F49AA8; }
.fx-state.mini { min-height: 26px; padding: 0 10px; font-size: 11.5px; border: 0; background: rgba(147,163,186,.14); -webkit-backdrop-filter: none; backdrop-filter: none; flex: none; }
.fx-state.mini.s-open { background: rgba(70,214,195,.14); }
.fx-state.mini.s-soon { background: rgba(242,193,78,.14); }
.fx-state.mini.s-full { background: rgba(244,154,168,.14); }

.fx-cap { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
.fx-cap-t { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: #D5DEEA; }
.fx-cap-bar { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.16); overflow: hidden; }
.fx-cap-bar i { display: block; height: 100%; border-radius: 3px; background: #46D6C3; }
.fx-cap.is-full .fx-cap-bar i { background: #F49AA8; }

.fx-list { padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.fx-list h2 { font-size: 15px; font-weight: 600; color: #D5DEEA; font-family: var(--font-body); }
.fx-row { display: flex; align-items: center; gap: 12px; min-height: 64px; box-sizing: border-box; padding: 8px 10px; border-radius: 18px;
    background: #0B2340; border: 1px solid rgba(255,255,255,.06); color: #F4EFE6; }
.fx-row img { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; flex: none; }
.fx-row-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fx-row-t .n { font-size: 14.5px; font-weight: 600; }
.fx-row-t .m { font-size: 12px; color: #93A3BA; }

/* صفحةُ المسابقة */
.fx-comp { position: relative; }
.fx-comp-hero { position: relative; height: 300px; overflow: hidden; }
.fx-comp-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-comp-hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,20,39,.55) 0%, rgba(6,20,39,0) 26%, rgba(6,20,39,0) 52%, #061427 100%); }
.fx-comp-top { position: absolute; top: 14px; inset-inline: 0; display: flex; justify-content: space-between; z-index: 5; }
.fx-comp-body { position: relative; margin-top: -78px; display: flex; flex-direction: column; gap: 14px; padding-bottom: 130px; max-width: 860px; }
.fx-comp-title { display: flex; flex-direction: column; gap: 4px; }
.fx-comp-title .eyebrow { font-size: 12.5px; font-weight: 600; color: #F2C98F; display: flex; flex-wrap: wrap; gap: 0 6px; }
.fx-comp-title h1 { font-size: 30px; font-weight: 700; line-height: 1.3; }
.fx-comp-desc { font-size: 14px; line-height: 1.8; color: #D5DEEA; }
.fx-facts { margin: 2px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fx-facts > div { box-sizing: border-box; min-height: 78px; padding: 12px 14px; border-radius: 18px; background: #0B2340; border: 1px solid rgba(255,255,255,.07); }
.fx-facts dt { font-size: 11.5px; color: #93A3BA; }
.fx-facts dd { margin: 4px 0 0; font-size: 14px; font-weight: 600; line-height: 1.5; }
.fx-facts dd .sub { display: block; font-weight: 500; color: #D5DEEA; }
.fx-facts dd.cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.fx-mini { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(255,255,255,.07); font-size: 12px; font-weight: 500; }
.fx-block { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.fx-block h2 { font-size: 15px; font-weight: 600; font-family: var(--font-body); }
.fx-terms { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.fx-terms li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #D5DEEA; }
.fx-terms .ic { flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(215,160,94,.16); color: #D7A05E; display: inline-flex; align-items: center; justify-content: center; }
.fx-terms .ic svg { width: 13px; height: 13px; stroke-width: 2.4; }
.fx-stages { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.fx-stages li { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 14px;
    background: #0B2340; border: 1px solid rgba(255,255,255,.07); }
.fx-stages .n { font-size: 14px; font-weight: 600; }
.fx-stages .d { font-size: 12.5px; color: #C3CEDD; }
.fx-cta-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 45; box-sizing: border-box; padding: 14px 0 calc(18px + env(safe-area-inset-bottom));
    background: rgba(6,20,39,.96); border-top: 1px solid rgba(255,255,255,.09); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.fx-cta-in { display: flex; align-items: center; gap: 14px; max-width: 860px; }
.fx-cta-in .fee { flex: none; display: flex; flex-direction: column; gap: 2px; }
.fx-cta-in .fee .k { font-size: 11.5px; color: #93A3BA; }
.fx-cta-in .fee .v { font-size: 15px; font-weight: 700; }
.fx-cta-in .fx-btn.is-off .fx-state { background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* النتائج */
.fx-res { max-width: 760px; padding-top: 16px; display: flex; flex-direction: column; gap: 14px; }
.fx-res-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12.5px; }
.fx-res-h .st { font-weight: 600; color: #D5DEEA; }
.fx-res-h .up { color: #93A3BA; }
.fx-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; }
.fx-pod { display: flex; flex-direction: column; align-items: center; gap: 8px; animation: fxRise .7s cubic-bezier(.2,.7,.2,1) both; }
.fx-pod.p1 { animation-delay: .15s; }
.fx-pod.p3 { animation-delay: .3s; }
@keyframes fxRise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.fx-pod .who { display: flex; flex-direction: column; align-items: center; gap: 1px; text-align: center; }
.fx-pod .n { font-size: 13px; font-weight: 600; line-height: 1.35; }
.fx-pod .e { font-size: 11px; color: #93A3BA; }
.fx-pod .t { margin-top: 3px; font-size: 13px; font-weight: 600; }
.fx-pod.p1 .t { color: #F2D58C; }
.fx-pod.p2 .t { color: #DDE4EC; }
.fx-pod.p3 .t { color: #EBB48C; }
.fx-pod .block { width: 100%; box-sizing: border-box; border-radius: 16px 16px 6px 6px; display: flex; align-items: flex-start; justify-content: center; padding-top: 12px; }
.fx-pod.p1 .block { height: 112px; background: rgba(233,196,106,.16); border-top: 3px solid #E9C46A; }
.fx-pod.p2 .block { height: 88px; background: rgba(201,211,223,.13); border-top: 3px solid #C9D3DF; }
.fx-pod.p3 .block { height: 72px; background: rgba(208,140,91,.15); border-top: 3px solid #D08C5B; }
.fx-pod .fx-medal { width: 38px; height: 38px; font-size: 17px; }
.fx-res-rows { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.fx-res-rows li { display: flex; align-items: center; gap: 12px; min-height: 52px; box-sizing: border-box; padding: 8px 12px; border-radius: 16px;
    background: #0B2340; border: 1px solid rgba(255,255,255,.06); }
.fx-res-rows li.is-new { background: rgba(70,214,195,.08); border-color: rgba(70,214,195,.30); }
.fx-res-rows .rk { flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.08); color: #D5DEEA; font-size: 13px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center; }
.fx-res-rows .who { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.fx-res-rows .n { font-size: 14px; font-weight: 600; }
.fx-res-rows .e { font-size: 11.5px; color: #93A3BA; }
.fx-res-rows .t { flex: none; font-size: 13.5px; font-weight: 600; color: #D5DEEA; }
.fx-new { flex: none; display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 999px; background: rgba(70,214,195,.16); color: #7BE6D7; font-size: 10.5px; font-weight: 700; }
.fx-res + .fx-seg, .fx-seg + .fx-res { margin-top: 0; }

/* ============================ التذييل ============================ */
.fx-foot { border-top: 1px solid rgba(255,255,255,.08); }
.fx-foot-in { padding-top: 26px; padding-bottom: 30px; display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; }
.fx-foot-in img { display: block; height: 30px; width: auto; }
.fx-foot-t { font-size: 12.5px; color: #93A3BA; }
.fx-foot-club { color: #D7A05E !important; font-size: 13px; font-weight: 600; }

/* ========================= الشريطُ السفليّ ========================= */
.fx-tabs { position: fixed; inset-inline: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 45; height: 70px; box-sizing: border-box; padding: 0 6px;
    border-radius: 24px; background: rgba(9,27,50,.90); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 40px rgba(0,0,0,.45);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; }
.fx-tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 58px; color: #AEBBCD; font-size: 11.5px; font-weight: 500; }
.fx-tabs .ic { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 28px; border-radius: 999px; }
.fx-tabs svg { width: 21px; height: 21px; }
.fx-tabs a[aria-current="page"] { color: #D7A05E; font-weight: 600; }
.fx-tabs a[aria-current="page"] .ic { background: rgba(215,160,94,.18); }
.fx-no-tabs .fx-tabs { display: none; }

/* ========================= الإعلان والعارض ========================= */
.fx-ad, .fx-lb { position: fixed; inset: 0; z-index: 80; background: rgba(2,8,18,.95); display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 14px; box-sizing: border-box; padding: 64px 0 32px; }
.fx-ad video { display: block; width: 100%; max-width: 980px; height: auto; max-height: 76vh; background: #000; }
.fx-ad p { font-size: 13px; color: #C3CEDD; padding: 0 20px; text-align: center; }
.fx-ad-x, .fx-lb-x { position: absolute; top: 16px; inset-inline-end: 16px; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.20); }
.fx-lb figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: min(1100px, 100%); }
.fx-lb img { max-width: 100%; max-height: 76vh; object-fit: contain; border-radius: 12px; }
.fx-lb figcaption { font-size: 13px; color: #C3CEDD; text-align: center; padding: 0 20px; }
.fx-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.08); }
.fx-lb-nav.prev { inset-inline-start: 12px; }
.fx-lb-nav.next { inset-inline-end: 12px; }
[dir="ltr"] .fx-lb-nav svg { transform: scaleX(-1); }

/* ============================ ٧٠٠ بكسل ============================ */
@media (min-width: 700px) {
    .fx-wrap { padding-inline: 24px; }
    .fx-club { display: inline-flex; }
    .fx-op-logo img { height: 240px; }
    .fx-op-lead { font-size: 16px; }
    .fx-op .fx-ctas { justify-content: center; }
    .fx-op .fx-ctas .fx-btn.primary, .fx-op .fx-ctas .fx-btn.ghost { flex: 0 1 auto; padding: 0 26px; }
    .fx-op .fx-ctas .fx-btn.ad { display: inline-flex; }
    .fx-is-home .fx-bar:not(.is-solid) .fx-ad-pill { display: none; }
    .fx-cd { max-width: 560px; margin-inline: auto; width: 100%; }
    .fx-sec-h h2 { font-size: 28px; }
    .fx-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .t-program { grid-column: span 2; grid-row: span 2; }
    .t-loc, .t-latest, .t-next { grid-column: span 3; }
    .t-gal { height: auto; min-height: 160px; }
    .fx-deck { margin-inline: -24px; padding-inline: 24px; }
    .fx-cd-panel.is-card { max-width: 560px; margin-inline: auto; width: 100%; box-sizing: border-box; }
}

/* ============================ ١٠٠٠ بكسل ============================ */
@media (min-width: 1000px) {
    body.fx { padding-bottom: 0; }
    .fx-tabs { display: none; }
    .fx-bar-in { min-height: 76px; }
    .fx-bar-logo img { height: 40px; }
    .fx-nav { display: flex; align-items: center; gap: 4px; }
    .fx-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: #F4EFE6; }
    .fx-nav a:hover { background: rgba(255,255,255,.08); }
    .fx-nav a[aria-current="page"] { background: rgba(215,160,94,.18); color: #F2C98F; font-weight: 600; }
    .fx-op { margin-top: -77px; min-height: 780px; }
    .fx-op-shade { background:
        linear-gradient(to left, rgba(6,20,39,.86) 0%, rgba(6,20,39,.55) 40%, rgba(6,20,39,.25) 72%, rgba(6,20,39,.45) 100%),
        linear-gradient(180deg, rgba(6,20,39,.60) 0%, rgba(6,20,39,0) 18%, rgba(6,20,39,0) 72%, #061427 100%); }
    [dir="ltr"] .fx-op-shade { background:
        linear-gradient(to right, rgba(6,20,39,.86) 0%, rgba(6,20,39,.55) 40%, rgba(6,20,39,.25) 72%, rgba(6,20,39,.45) 100%),
        linear-gradient(180deg, rgba(6,20,39,.60) 0%, rgba(6,20,39,0) 18%, rgba(6,20,39,0) 72%, #061427 100%); }
    .fx-op-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: end; text-align: start;
        padding-top: 150px; padding-bottom: 92px; }
    .fx-op-text { display: flex; flex-direction: column; gap: 22px; }
    .fx-op-logo { order: 0; align-self: flex-start; }
    .fx-op-logo img { width: 580px; height: auto; }
    .fx-op .fx-chips { order: 0; justify-content: flex-start; }
    .fx-op .fx-chips .fx-chip { min-height: 38px; padding: 0 15px; font-size: 14px; }
    .fx-op-lead { order: 0; align-self: flex-start; font-size: 18px; }
    .fx-op .fx-ctas { order: 0; justify-content: flex-start; gap: 12px; }
    .fx-op .fx-ctas .fx-btn { min-height: 56px; font-size: 16px; }
    .fx-cd-panel { order: 0; margin-top: 0; overflow: hidden; padding: 26px; border-radius: 28px; gap: 16px; background: rgba(6,20,39,.58);
        border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
    .fx-cd-panel.is-card { max-width: none; padding: 26px; border-radius: 28px; }
    .fx-cd-lbl { justify-content: flex-start; font-size: 14px; position: relative; }
    .fx-cd { position: relative; gap: 10px; max-width: none; }
    .fx-cd-box { height: 116px; border-radius: 20px; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .fx-cd-box .v { font-size: 54px; }
    .fx-cd-box .u { margin-top: 10px; font-size: 13px; }
    .fx-cd-box.sec { background: rgba(215,160,94,.14); border-color: rgba(215,160,94,.40); }
    .fx-cd-note { position: relative; font-size: 13.5px; }
    .fx-now-title { font-size: 26px; position: relative; }
    .fx-helm { display: block; position: absolute; width: 340px; height: 340px; inset-inline-end: -110px; bottom: -150px; opacity: .14;
        filter: brightness(0) invert(1); pointer-events: none; animation: fxSpin 80s linear infinite; }
    @keyframes fxSpin { to { transform: rotate(360deg); } }

    .fx-sec { padding-top: 8px; padding-bottom: 64px; }
    .fx-sec-h { margin-bottom: 22px; }
    .fx-sec-h h2 { font-size: 34px; }
    .fx-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 16px; }
    .fx-tile { min-height: 0; border-radius: 28px; padding: 22px; }
    .t-program { grid-column: span 2; grid-row: span 2; padding: 26px 28px; }
    .t-program .fx-tile-title { font-size: 38px; }
    .t-program .fx-tile-meta { font-size: 15px; }
    .t-program .fx-tag { min-height: 30px; padding: 0 12px; font-size: 13px; }
    .t-next { grid-column: span 2; border-radius: 28px; padding: 16px 20px; }
    .t-reg, .t-results { grid-column: span 1; }
    .t-latest { grid-column: span 2; grid-row: span 1; }
    .t-comps { grid-column: span 2; }
    .t-loc { grid-column: span 2; }
    .t-gal { grid-column: span 2; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: 4px; height: auto; }
    .t-program, .t-next, .t-reg, .t-results, .t-latest, .t-comps, .t-loc, .t-gal { order: 0; }
    .fx-big { font-size: 56px; }
    .fx-tile-sub { font-size: 14.5px; }
    .fx-tile-name { font-size: 19px; }
    .fx-ico { width: 48px; height: 48px; border-radius: 14px; }
    .fx-comps-h .t { font-size: 17px; color: #F4EFE6; }
    .fx-comps-h .m { display: inline; }
    .fx-avatars, .fx-comps-count { display: none; }
    .fx-comps-strip { flex: 1 1 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
    .fx-comps-card { position: relative; border-radius: 16px; overflow: hidden; display: block; }
    .fx-comps-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .fx-comps-card span { position: absolute; inset: auto 0 0 0; padding: 18px 10px 8px; background: linear-gradient(180deg, rgba(6,20,39,0), rgba(6,20,39,.92)); font-size: 12px; font-weight: 600; }
    .t-loc .fx-tile-title.sm { font-size: 28px; }
    .fx-loc-go { inset-inline-end: 22px; bottom: 22px; min-height: 46px; padding: 0 18px; font-size: 14.5px; }
    .fx-gal-lbl { inset-inline-start: 18px; bottom: 18px; min-height: 40px; padding: 0 15px; font-size: 14px; }
    .fx-org { margin-top: 16px; padding: 20px 26px; border-radius: 28px; gap: 26px; flex-wrap: nowrap; }
    .fx-org .k { font-size: 12.5px; }
    .fx-org-by .v { font-size: 15px; }
    .fx-org-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

    .fx-page { padding-top: 32px; padding-bottom: 56px; }
    .fx-page-h h1 { font-size: 38px; }
    .fx-page-h p { font-size: 14px; }
    .fx-seg { max-width: 760px; }
    .fx-deck { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; overflow: visible; margin-inline: 0; padding-inline: 0; }
    .fx-card { height: 420px; }
    .fx-list { display: none; }
    .fx-comp-hero { height: 420px; }
    .fx-comp-body { margin-top: -120px; }
    .fx-comp-title h1 { font-size: 40px; }
    .fx-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .fx-podium { gap: 14px; }
    .fx-pod .n { font-size: 15px; }
}

/* ============================ تقليل الحركة ============================ */
@media (prefers-reduced-motion: reduce) {
    .fx-pulse, .fx-pod, .fx-helm { animation: none !important; }
    .fx-op-video { display: none; }
    .fx-bar, .fx-tl-item { transition: none; }
}
