/*!
Theme Name: Koora Live
Theme URI: https://koora-livex.one/
Author: Koora Live Team
Author URI: https://koora-livex.one/
Description: قالب احترافي لمواقع البث المباشر لكرة القدم. جدول مباريات يتم تحديثه تلقائياً، نظام تحكم بالاسم من نقطة واحدة عبر التوكنات {site_ar} و {site_en}، تصميم متجاوب RTL/LTR، ولوحة تحكم متكاملة، أداء عالٍ، meta description + theme-color تلقائيان، يُلغى تلقائياً عند تفعيل إضافة SEO.
Version: 1.1.4
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: koora-live
Tags: rtl-language-support, custom-colors, custom-logo, custom-menu, theme-options, sports, football, dark-mode

This theme is built for football live-streaming sites. It pulls match data
from an external JSON API and refreshes every minute.
*/
 :root{--g:#b91c1c;--gd:#7f1d1d;--gl:#ef4444;--glx:#fee2e2;--bg:#fef6f6;--surface:#fff;--surface2:#fef6f6;--border:#fecaca;--text:#111827;--muted:#6b7280;--gold:#fbbf24;--gold-d:#b45309}*{box-sizing:border-box;margin:0;padding:0}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Tajawal",Tahoma,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.6}img{max-width:100%;height:auto;display:block}a{color:var(--g);text-decoration:none}button{font:inherit}.nav{background:linear-gradient(90deg,var(--gd),var(--g));padding:0 16px;height:60px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:100;box-shadow:0 2px 14px rgb(0 0 0 / .25)}.nav-brand{display:flex;align-items:center;gap:10px;color:#fff;font-weight:900;font-size:22px;letter-spacing:-.5px;text-decoration:none}.nav-logo{width:40px;height:40px;border-radius:50%;object-fit:contain;background:#fff;padding:2px;box-shadow:0 2px 8px rgb(0 0 0 / .2)}.nav-brand-text{display:flex;flex-direction:column;line-height:1.1}.nav-brand-ar{font-size:12px;font-weight:700;color:rgb(255 255 255 / .9)}.nav-brand-en{font-size:20px;font-weight:900;color:#fff}.nav-brand-en em{color:var(--gold);font-style:normal}.nav-tag{background:rgb(255 255 255 / .2);color:#fff;font-size:11px;font-weight:700;padding:4px 12px;border-radius:20px;letter-spacing:.5px;border:1px solid rgb(255 255 255 / .35)}.nav-links{display:flex;align-items:center;gap:6px;margin:0 8px;list-style:none}.nav-links a{color:#fff;text-decoration:none;font-size:13px;font-weight:700;padding:6px 12px;border-radius:6px;transition:background .2s}.nav-links a:hover,.nav-links li.current-menu-item a,.nav-links li.current_page_item a{background:rgb(255 255 255 / .18)}@media(max-width:560px){.nav-tag{display:none}.nav-links a{padding:6px 8px;font-size:12px}.nav-brand-en{font-size:17px}}.hero{background:linear-gradient(135deg,var(--gd) 0%,var(--g) 55%,#dc2626 100%);color:#fff;padding:32px 16px 36px;text-align:center;position:relative;overflow:hidden}.hero-badge{display:inline-flex;align-items:center;gap:6px;background:rgb(0 0 0 / .25);padding:4px 12px;border-radius:20px;font-size:11px;font-weight:700;margin-bottom:10px}.live-pulse{width:8px;height:8px;background:#ff5252;border-radius:50%;animation:livePulse 1.5s infinite}@keyframes livePulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.3)}}.hero h1{font-size:clamp(22px,3.5vw,32px);font-weight:900;margin-bottom:10px;text-shadow:0 2px 4px rgb(0 0 0 / .2)}.hero h1 em{color:var(--gold);font-style:normal}.hero p{font-size:clamp(13px,1.6vw,16px);max-width:780px;margin:0 auto 14px;color:rgb(255 255 255 / .94)}.chip-row{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:14px}.chip{background:rgb(255 255 255 / .18);color:#fff;font-size:11px;font-weight:600;padding:4px 10px;border-radius:14px;border:1px solid rgb(255 255 255 / .25)}.stats-bar{background:#fff;border-bottom:1px solid var(--border);padding:14px 16px;display:flex;justify-content:center;gap:30px;flex-wrap:wrap}.stat{text-align:center}.stat-n{font-size:22px;font-weight:900;color:var(--g);line-height:1}.stat-l{font-size:11px;color:var(--muted);font-weight:600;margin-top:3px}.wrap{max-width:1200px;margin:24px auto;padding:0 16px}.date-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;flex-wrap:wrap;gap:8px}.date-bar h2{font-size:18px;font-weight:900;color:var(--gd);display:flex;align-items:center;gap:8px}.live-dot{width:10px;height:10px;background:#ef4444;border-radius:50%;animation:livePulse 1.5s infinite}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:12px}.match-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px;transition:transform .15s,box-shadow .15s;position:relative;overflow:hidden}.match-card:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgb(185 28 28 / .12)}.card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:11px;color:var(--muted);font-weight:600}.badge{padding:3px 9px;border-radius:12px;font-size:10px;font-weight:800;display:inline-flex;align-items:center;gap:4px}.badge-live{background:#ef4444;color:#fff;animation:blink 1.5s infinite}@keyframes blink{0%,100%{opacity:1}50%{opacity:.65}}.badge-upcoming{background:#fee2e2;color:#7f1d1d}.badge-finished{background:#e5e7eb;color:#374151}.teams-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0}.team{display:flex;flex-direction:column;align-items:center;flex:1;text-align:center;min-width:0}.team-logo{width:42px;height:42px;border-radius:50%;object-fit:contain;background:#f3f4f6;padding:4px;border:1px solid var(--border)}.team-name{font-size:12px;font-weight:700;margin-top:5px;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;direction:rtl}.vs{font-size:14px;font-weight:900;color:var(--g);padding:0 6px}.score{font-size:18px;font-weight:900;color:var(--gd);min-width:40px;text-align:center}.match-time{text-align:center;font-size:12px;color:var(--muted);margin:4px 0 8px;font-weight:600}.match-time strong{color:var(--g)}.card-foot{background:linear-gradient(to left,var(--gd),var(--g));color:#fff;padding:8px 0;text-align:center;border-radius:8px;font-weight:800;font-size:13px;margin-top:8px;display:flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;transition:filter .15s}.card-foot:hover{filter:brightness(1.1)}.card-foot-soon{background:linear-gradient(to left,#b45309,var(--gold));cursor:default}.state{grid-column:1 / -1;text-align:center;padding:50px 20px;background:var(--surface);border:1px dashed var(--border);border-radius:12px}.spinner{width:36px;height:36px;border:3px solid var(--border);border-top-color:var(--g);border-radius:50%;animation:spin .9s linear infinite;margin:0 auto 14px}@keyframes spin{to{transform:rotate(360deg)}}.state h3{color:var(--gd);margin-bottom:6px}.state p{color:var(--muted);font-size:14px}.section{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:22px;box-shadow:0 1px 6px rgb(0 0 0 / .04);margin-bottom:18px}.section h2{font-size:22px;font-weight:900;color:var(--gd);margin-bottom:12px;border-bottom:2px solid var(--glx);padding-bottom:8px}.section h3{font-size:17px;font-weight:800;color:var(--gd);margin:16px 0 6px}.section p{color:#374151;font-size:15px;margin-bottom:10px}.section ul,.section ol{padding-right:22px;padding-left:22px;margin-bottom:10px}.section li{margin-bottom:6px;color:#374151}.rtl-section{direction:rtl;text-align:right}.ltr-section{direction:ltr;text-align:left}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:14px}.info-card{background:var(--surface2);border:1px solid var(--border);border-radius:10px;padding:14px;display:flex;align-items:flex-start;gap:10px}.info-card .info-icon{font-size:24px;flex-shrink:0}.info-card strong{display:block;color:var(--gd);margin-bottom:3px;font-size:14px}.info-card span{font-size:13px;color:var(--muted);display:block}.faq-item{background:var(--surface2);border:1px solid var(--border);border-radius:8px;padding:12px 16px;margin-bottom:10px}.faq-q{font-weight:900;color:var(--gd);margin-bottom:6px;font-size:15px}.faq-a{color:#374151;font-size:14px}footer.site-footer{background:linear-gradient(135deg,var(--gd),#dc2626);color:rgb(255 255 255 / .85);text-align:center;padding:32px 16px;font-size:13px;margin-top:28px}footer.site-footer strong{color:#fff;font-size:16px;display:block;margin-bottom:8px}.foot-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:14px 0}.foot-chip{background:rgb(255 255 255 / .12);color:#fff;padding:3px 10px;border-radius:12px;font-size:11px;font-weight:600}.foot-links{margin:14px 0 6px;display:flex;flex-wrap:wrap;justify-content:center;gap:18px;font-size:13px}.foot-links a{color:#fff;text-decoration:none;opacity:.9}.foot-links a:hover{opacity:1;text-decoration:underline}.foot-copy{opacity:.6;font-size:12px;margin-top:10px}.notfound{text-align:center;padding:80px 20px}.notfound h1{font-size:120px;color:var(--g);line-height:1;margin-bottom:6px}.notfound h2{font-size:24px;color:var(--gd);margin-bottom:10px}.notfound a.btn{display:inline-block;background:linear-gradient(135deg,var(--gd),var(--g));color:#fff;padding:10px 24px;border-radius:8px;font-weight:800;margin-top:14px}.alignnone{margin:8px 0}.aligncenter{display:block;margin:8px auto}.alignleft{float:left;margin:8px 18px 8px 0}.alignright{float:right;margin:8px 0 8px 18px}.wp-caption{max-width:100%}.wp-caption-text{font-size:12px;color:var(--muted);text-align:center}.screen-reader-text{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}