*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

        :root {
            --orange:    #ea580c;
            --orange-d:  #c2410c;
            --orange-l:  #fed7aa;
            --orange-bg: #fff7ed;
            --orange-bd: #fdba74;
            --text:      #1c1917;
            --muted:     #6b7280;
            --surface:   #ffffff;
            --radius:    12px;
        }

        body {
            font-family: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
            background: var(--orange-bg);
            min-height: 100vh;
            color: var(--text);
            direction: rtl;
        }

        a { color: inherit; text-decoration: none; }
        img { display: block; max-width: 100%; }

        .container { max-width: 900px; margin: 0 auto; padding: 0 14px 32px; }

        /* ── HEADER ── */
        .site-header {
            text-align: center;
            padding: 18px 14px 14px;
            border-bottom: 2px solid var(--orange-bd);
            margin-bottom: 14px;
            background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
        }

        .header-logo {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            justify-content: center;
            margin-bottom: 8px;
        }

        .logo-icon {
            width: 52px; height: 52px;
            background: linear-gradient(135deg, var(--orange), var(--orange-d));
            border-radius: 14px;
            display: flex; align-items: center; justify-content: center;
            font-size: 28px;
            box-shadow: 0 4px 16px rgba(234,88,12,.35);
            flex-shrink: 0;
            overflow: hidden;
        }
        .logo-icon img { width: 52px; height: 52px; object-fit: cover; }

        .logo-titles { text-align: right; }

        .logo-ar {
            font-size: clamp(22px, 5vw, 32px);
            font-weight: 900;
            color: var(--orange-d);
            line-height: 1.1;
        }

        .logo-en {
            font-size: clamp(11px, 2.5vw, 14px);
            color: var(--orange);
            font-weight: 700;
            letter-spacing: .5px;
        }

        .live-pill {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            background: #fff7ed;
            color: var(--orange-d);
            border: 1px solid var(--orange-bd);
            font-size: 13px;
            font-weight: 700;
            padding: 5px 16px;
            border-radius: 99px;
        }

        .live-dot {
            width: 8px; height: 8px;
            background: var(--orange);
            border-radius: 50%;
            animation: badge-blink 1.2s ease-in-out infinite;
        }

        /* ── DATE STRIP ── */
        .date-strip {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: var(--surface);
            border: 1px solid var(--orange-bd);
            border-radius: var(--radius);
            padding: 9px 16px;
            margin-bottom: 10px;
            font-size: 13px;
            font-weight: 700;
        }
        .date-strip .label { color: var(--orange-d); }
        .date-strip .value { color: var(--muted); font-weight: 600; }

        /* ── MATCHES ── */
        .albaflex { display: flex; flex-direction: column; gap: 8px; }

        .AY_Match {
            position: relative;
            overflow: hidden;
            text-align: center;
            border-radius: var(--radius);
            background: var(--surface);
            border: 1px solid var(--orange-bd);
            box-shadow: 0 2px 10px rgba(0,0,0,0.06);
            transition: transform .18s, box-shadow .18s;
        }
        .AY_Match:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(234,88,12,.18); }

        .MT_Mask {
            position: absolute;
            inset: 0;
            z-index: 10;
            cursor: pointer;
        }

        .MT_Info {
            width: 100%;
            background: linear-gradient(90deg, #fff7ed 0%, #ffedd5 100%);
            border-bottom: 1px solid var(--orange-bd);
        }
        .MT_Info ul { display: flex; align-items: center; list-style: none; }
        .MT_Info li {
            flex: 1;
            font-size: 12px;
            padding: 5px 10px 6px;
            color: var(--orange-d);
            text-align: right;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-weight: 700;
        }

        .AY_Inner { display: flex; align-items: center; }
        .AY_Inner > div { flex: 0 0 auto; width: 33.33%; }

        .MT_Team { display: flex; align-items: center; flex-direction: column; padding: 10px 6px; }

        .TM_Logo img {
            display: block;
            margin: 0 auto 6px;
            width: 62px; height: 62px;
            object-fit: contain;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.13));
        }

        .TM_Name {
            font-weight: 700;
            font-size: 13px;
            color: var(--text);
            line-height: 1.3;
            text-align: center;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .MT_Data {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
            padding: 10px 4px;
        }

        .MT_Time {
            font-size: 17px;
            color: var(--orange);
            font-weight: 800;
            letter-spacing: 1px;
        }

        .MT_TimeSub {
            font-size: 11px;
            color: var(--muted);
            font-weight: 600;
        }

        .MT_Result {
            font-size: 26px;
            font-weight: 900;
            color: var(--text);
            display: inline-flex;
            gap: 4px;
            align-items: center;
            line-height: 1;
        }

        .MT_Stat {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 3px 10px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: .4px;
            background: #fff7ed;
            color: var(--orange-d);
            border: 1px solid var(--orange-bd);
            min-width: 60px;
            height: 22px;
        }

        .AY_Match.not-started .MT_Result { display: none; }
        .AY_Match.live .MT_Time,
        .AY_Match.finished .MT_Time { display: none; }

        @keyframes live-pulse {
            0%,100% { box-shadow: 0 0 0 0 rgba(234,88,12,.4); }
            50%      { box-shadow: 0 0 0 6px rgba(234,88,12,.0); }
        }
        @keyframes badge-blink {
            0%,100% { opacity: 1; }
            50%     { opacity: .4; }
        }

        .AY_Match.live {
            border-color: var(--orange);
            animation: live-pulse 1.6s ease-in-out infinite;
            background: #fff7ed;
        }
        .AY_Match.live .MT_Info {
            background: linear-gradient(90deg, #ffedd5 0%, #fed7aa 100%);
            border-bottom-color: var(--orange);
        }
        .AY_Match.live .MT_Info li { color: var(--orange-d); }
        .AY_Match.live .MT_Stat {
            background: var(--orange);
            color: #fff;
            border-color: var(--orange-d);
            animation: badge-blink 900ms ease-in-out infinite;
        }
        .AY_Match.live .MT_Result { color: var(--orange-d); }

        .AY_Match.finished { opacity: .72; background: #fafafa; }
        .AY_Match.finished .MT_Stat { background: #f5f5f5; color: #9e9e9e; border-color: #e0e0e0; }
        .AY_Match.finished .MT_Result { color: #757575; }

        /* ── LOADING / ERROR ── */
        .loading-spinner {
            text-align: center;
            padding: 50px 20px;
            color: var(--orange);
            font-size: 16px;
        }
        .loading-spinner::before {
            content: '⚽';
            display: block;
            font-size: 34px;
            margin-bottom: 10px;
            animation: spin 1.2s linear infinite;
        }
        @keyframes spin { to { transform: rotate(360deg); } }

        #error-box {
            background: #fff7ed;
            border: 1px solid var(--orange-bd);
            color: var(--orange-d);
            padding: 22px;
            border-radius: var(--radius);
            text-align: center;
            display: none;
        }
        .retry-btn {
            margin-top: 12px;
            padding: 10px 26px;
            background: var(--orange);
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-family: 'Cairo', sans-serif;
            font-weight: 700;
            cursor: pointer;
        }
        .retry-btn:hover { background: var(--orange-d); }

        .no-data__msg {
            min-height: 160px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--muted);
            font-size: 16px;
            text-align: center;
        }

        /* ── NEWS ── */
        .news-section { margin-top: 20px; }

        .section-title {
            font-size: clamp(16px, 3.5vw, 21px);
            font-weight: 900;
            color: var(--orange-d);
            padding: 0 4px 10px;
            border-bottom: 2px solid var(--orange-bd);
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 14px;
        }

        @media (max-width: 640px)  { .news-grid { grid-template-columns: 1fr; } }
        @media (min-width: 641px) and (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }

        .news-card {
            background: var(--surface);
            border: 1px solid var(--orange-bd);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.06);
            transition: transform .18s, box-shadow .18s;
            display: flex;
            flex-direction: column;
            color: inherit;
        }
        .news-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(234,88,12,.18);
        }

        .news-card-img {
            position: relative;
            width: 100%;
            aspect-ratio: 16/9;
            overflow: hidden;
            background: #ffedd5;
        }
        .news-card-img img {
            width: 100%; height: 100%;
            object-fit: cover;
            display: block;
            transition: transform .3s;
        }
        .news-card:hover .news-card-img img { transform: scale(1.04); }

        .news-cat-badge {
            position: absolute;
            top: 9px; left: 9px;
            background: rgba(194,65,12,.88);
            color: #fff;
            font-size: 11px;
            font-weight: 800;
            padding: 3px 10px;
            border-radius: 20px;
            backdrop-filter: blur(4px);
        }

        .news-card-body {
            padding: 13px 14px 14px;
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .news-card-title {
            font-size: 14px;
            font-weight: 800;
            color: var(--text);
            line-height: 1.6;
        }

        .news-card-excerpt {
            font-size: 12px;
            color: var(--muted);
            line-height: 1.8;
            flex: 1;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .news-card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px solid #ffedd5;
        }

        .news-card-date { font-size: 11px; color: #9ca3af; }

        .news-read-btn {
            font-size: 12px;
            font-weight: 700;
            color: var(--orange);
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .news-card:hover .news-read-btn { color: var(--orange-d); text-decoration: underline; }

        /* ── SEO BLOCK ── */
        .seo-block {
            background: var(--surface);
            border: 1px solid var(--orange-bd);
            border-radius: var(--radius);
            padding: 28px 24px;
            margin-top: 20px;
        }
        .seo-block h2 {
            font-size: clamp(17px, 3.5vw, 23px);
            font-weight: 900;
            color: var(--orange-d);
            border-right: 4px solid var(--orange);
            padding-right: 12px;
            margin-bottom: 14px;
        }
        .seo-block h3 {
            font-size: clamp(14px, 2.8vw, 18px);
            font-weight: 800;
            color: var(--orange-d);
            margin: 20px 0 9px;
        }
        .seo-block p {
            font-size: clamp(13px, 2vw, 15px);
            line-height: 2.1;
            color: #374151;
            margin-bottom: 10px;
        }
        .seo-block strong { color: var(--orange-d); }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
            gap: 10px;
            margin: 14px 0;
        }
        .feature-item {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #fff7ed;
            border: 1px solid var(--orange-bd);
            border-radius: 10px;
            padding: 10px 12px;
            font-size: 13px;
            font-weight: 700;
            color: var(--orange-d);
        }
        .feature-item .fi-icon { font-size: 18px; flex-shrink: 0; }

        /* ── FAQ ── */
        .faq-item { border-bottom: 1px solid #e5e7eb; padding: 14px 0; }
        .faq-item:last-child { border-bottom: none; }
        .faq-q {
            font-size: 15px;
            font-weight: 800;
            color: var(--orange-d);
            margin-bottom: 7px;
            display: flex;
            align-items: flex-start;
            gap: 8px;
        }
        .faq-q::before { content: 'س:'; color: var(--orange); flex-shrink: 0; }
        .faq-a {
            font-size: 13px;
            line-height: 2;
            color: #374151;
            padding-right: 24px;
        }

        /* ── FOOTER ── */
        .site-footer {
            background: linear-gradient(135deg, var(--orange) 0%, var(--orange-d) 100%);
            border-radius: var(--radius);
            padding: 28px 20px;
            text-align: center;
            margin-top: 22px;
        }
        .footer-brand { font-size: clamp(17px,3.5vw,24px); font-weight:900; color:#fff; margin-bottom:8px; }
        .footer-sub   { font-size:13px; color:rgba(255,255,255,.88); margin-bottom:14px; line-height:1.9; }
        .footer-links {
            display: flex; justify-content: center; flex-wrap: wrap;
            gap: 10px 18px; margin-bottom: 14px;
        }
        .footer-links a { color:rgba(255,255,255,.85); font-size:13px; font-weight:600; }
        .footer-links a:hover { color:#fff; text-decoration:underline; }
        .footer-copy { font-size:11px; color:rgba(255,255,255,.6); line-height:2; }

        .noscript-box {
            background: #fff7ed;
            border: 1px solid var(--orange-bd);
            border-radius: var(--radius);
            padding: 18px 20px;
            text-align: center;
            color: var(--orange-d);
            font-size: 14px;
            margin: 12px 0;
        }

        @media (max-width: 480px) {
            .TM_Logo img { width: 46px; height: 46px; }
            .TM_Name     { font-size: 11px; }
            .MT_Result   { font-size: 22px; }
            .MT_Time     { font-size: 15px; }
            .MT_Info li  { font-size: 11px; }
            .features-grid { grid-template-columns: 1fr 1fr; }
        }

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