.hl{display:block;width:78%;max-width:380px;margin:0 auto 12px;filter:drop-shadow(0 0 14px #ff8a1f55)}
.qa{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:14px 0 4px}
.qa button{background:var(--card);border:1px solid var(--bd);color:var(--tx);border-radius:14px;padding:10px 2px;font-family:inherit;font-size:11px;display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer}
.qa svg{color:var(--ac);width:22px;height:22px}
.lg{background:var(--card);border:1px solid var(--bd);border-radius:16px;padding:6px 12px;margin-bottom:10px}
.lg>b{display:block;font-size:13px;color:var(--ac);padding:6px 0}
.mr{display:grid;grid-template-columns:44px 1fr 44px 1fr 22px;align-items:center;gap:6px;padding:10px 0;border-top:1px solid var(--bd);font-size:13px;cursor:pointer}
.mr .tm{font-size:11px;color:var(--mu);text-align:center}
.mr .tm.l{color:var(--red);font-weight:700}
.tn{display:flex;align-items:center;gap:6px;font-weight:700;min-width:0}
.cr{width:24px;height:24px;border-radius:50%;display:inline-grid;place-items:center;color:#fff;font-size:11px;flex:none}
.sc2{text-align:center;font-weight:900;font-size:15px}
.mr svg{width:20px;height:20px;color:var(--ac)}
.hs{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;direction:ltr;scroll-behavior:smooth;padding:2px 1px 6px}
.hs .card{min-width:calc(100% - 24px);max-width:320px;flex:none;direction:rtl}
.news-hero{display:grid;grid-template-columns:1.6fr 1fr;gap:10px;margin:12px 0 18px;direction:ltr}
.news-hero-main,.news-hero-side{position:relative;overflow:hidden;border:1px solid var(--bd);border-radius:16px;background:var(--card);cursor:pointer;direction:rtl}
.news-hero-main{min-height:230px;display:flex;align-items:flex-end}
.news-hero-main .news-thumb,.news-hero-main .nimg{position:absolute;inset:0;width:100%;height:100%;margin:0;border-radius:0;object-fit:cover}
.news-hero-main:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#071021e8);z-index:1}
.news-hero-main .hero-copy{position:relative;z-index:2;padding:14px;color:#fff;text-align:right}
.news-hero-main b{display:block;font-size:17px;line-height:1.55}
.news-hero-side-list{display:grid;grid-template-rows:repeat(3,1fr);gap:8px}
.news-hero-side{display:grid;grid-template-columns:92px 1fr;min-height:72px;direction:ltr}
.news-hero-side .news-thumb,.news-hero-side .nimg{width:92px;height:100%;min-height:72px;object-fit:cover;margin:0;border-radius:0}
.news-hero-side .hero-copy{padding:7px 9px;direction:rtl;text-align:right;overflow:hidden}
.news-hero-side b{display:block;font-size:12px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.news-hero .news-image-fallback{background:linear-gradient(135deg,#16233f,#253b66)}
@media(max-width:600px){.news-hero{grid-template-columns:1.35fr 1fr;gap:7px}.news-hero-main{min-height:205px}.news-hero-main b{font-size:14px}.news-hero-side{grid-template-columns:70px 1fr;min-height:63px}.news-hero-side .news-thumb,.news-hero-side .nimg{width:70px;min-height:63px}.news-hero-side b{font-size:10px}}
.tgc{display:flex;gap:12px;align-items:center;margin-top:18px;border-color:#2aa3e0}
.tgc svg{width:34px;height:34px;color:#2aa3e0;flex:none}
#st td:nth-child(2){text-align:right;font-weight:700}
#st tr:nth-child(-n+3) td:first-child{color:var(--ac);font-weight:900}
#bt{position:fixed;left:14px;bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:40;width:54px;height:54px;border-radius:50%;border:0;background:linear-gradient(135deg,#ff8a1f,#ff4d00);color:#fff;box-shadow:0 6px 20px #ff4d0066;cursor:pointer;display:grid;place-items:center;animation:pl 2.5s infinite}
#bt svg{width:26px;height:26px}
@keyframes pl{50%{box-shadow:0 0 0 12px #ff4d0000,0 6px 20px #ff4d0066}}
#bg{height:38vh;overflow:auto;display:flex;flex-direction:column;gap:8px}
.bb{max-width:85%;padding:9px 12px;border-radius:14px;font-size:14px;white-space:pre-line}
.bb.b{background:var(--card2);align-self:flex-start;border-bottom-right-radius:4px}
.bb.u{background:var(--ac);color:#1a0a00;align-self:flex-end;border-bottom-left-radius:4px}
img.cr{background:none!important;object-fit:contain}
.crest img,img.crest{width:100%;height:100%;object-fit:contain;border:0;background:none!important}
/* التعديلات الجديدة */
.hero{display:none!important}
#standLeagues{overflow-x:auto;justify-content:flex-start;margin:8px 0}
#standLeagues button{white-space:nowrap}
.standing-team{display:flex;align-items:center;justify-content:flex-start;gap:7px;text-align:right!important;white-space:nowrap}
.standing-logo{width:28px;height:28px;object-fit:contain;flex:none}
.news-card{display:block;text-align:right;border:1px solid var(--bd);cursor:pointer;font-family:inherit;color:var(--tx);width:100%}
.news-thumb,.news-card .nimg{display:block;width:100%;height:150px;object-fit:cover;border-radius:12px;margin-bottom:9px;background:linear-gradient(135deg,#16233f,#253b66)}
.article-view{margin-top:14px;text-align:right}
.article-image{display:block;width:100%;max-height:360px;object-fit:cover;border-radius:14px;margin-bottom:14px}
.article-body{line-height:2.1;font-size:17.5px}
#articleTitle{font-size:22px;line-height:1.6}
.article-body img{max-width:100%;height:auto;border-radius:12px}
.article-body a{color:var(--ac)}
.section-kicker{display:flex;align-items:center;gap:7px;color:var(--ac);font-weight:700;font-size:13px;margin:4px 0 8px}
.section-kicker svg{width:17px;height:17px}
.top-match-shell{margin:8px 0 18px;background:var(--card);border:1px solid var(--bd);border-radius:20px;padding:10px 10px 12px;box-shadow:0 8px 24px #17213a14}
.top-match-shell .section-kicker{justify-content:space-between;padding:0 4px 8px;border-bottom:1px solid var(--bd);margin-bottom:9px}
.top-match-shell .section-kicker:after{content:"اسحب لعرض المزيد";font-size:10px;color:var(--mu);font-weight:400}
.top-match-track{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 1px 3px;direction:ltr}
.top-match-track::-webkit-scrollbar{display:none}
.top-match-card{min-width:205px;max-width:235px;scroll-snap-align:start;background:var(--card);border:1px solid var(--bd);border-radius:16px;padding:10px 8px 8px;cursor:pointer;color:var(--tx);box-shadow:0 4px 14px #17213a12;overflow:hidden;position:relative;direction:rtl}
.top-match-card:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,#ff8a1f0b,transparent 50%,#4a90e20b);pointer-events:none}
.top-match-card.is-live{border-color:#e75b5b88}.top-card-head,.top-card-foot{display:flex;align-items:center;justify-content:space-between;gap:6px;position:relative}.top-league{font-size:9px;color:var(--mu);font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:125px}.top-card-date{position:relative;text-align:center;color:var(--mu);font-size:9px;margin:7px 0 5px}.top-status{color:var(--ac);font-size:10px;font-weight:800;white-space:nowrap}.is-live .top-status{color:var(--red)}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#e64b4b;margin-left:3px;box-shadow:0 0 0 3px #e64b4b22}
.top-teams{display:grid;grid-template-columns:1fr 48px 1fr;align-items:center;gap:5px;font-size:11px;font-weight:700;position:relative}.top-team{display:flex!important;flex-direction:column;justify-content:center!important;align-items:center!important;gap:5px!important;text-align:center;min-width:0}.top-team strong{font-size:10px;color:var(--tx);white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.top-team .cr{width:34px;height:34px;border:1px solid var(--bd);background:var(--card2)}.top-score{font-size:17px;font-weight:900;color:var(--ac);text-align:center;white-space:nowrap}.top-card-foot{border-top:1px solid var(--bd);margin-top:9px;padding-top:7px;color:var(--mu);font-size:9px}.top-card-foot span:last-child{color:var(--ac)}
.league-picker{overflow-x:auto;justify-content:flex-start;scrollbar-width:none;padding-bottom:4px}
.league-picker button{white-space:nowrap}
.standings-card,.schedule-card{overflow-x:auto;border-radius:14px}
.schedule-match{white-space:nowrap}
.schedule-match .cr,.schedule-match .crest{width:22px;height:22px;vertical-align:middle;display:inline-grid}
.schedule-status{font-size:11px;font-weight:700;white-space:nowrap}
.schedule-status.live{color:var(--red)}
.schedule-status.end{color:var(--mu)}
.schedule-status.soon{color:var(--ac)}
.article-loading{display:none;min-height:180px;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:var(--mu);font-weight:700}
#articleSpinner{width:48px;height:48px}

/* كروت الجدول */
.sched-list{display:block}
.scard{position:relative;background:var(--card);border:1px solid var(--bd);border-radius:16px;padding:14px 12px 10px;cursor:pointer}
.scard:active{transform:scale(.98)}
.scard.end{opacity:.65;cursor:default}
.scard+.scard{margin-top:22px}
.scard+.scard::before{content:"";position:absolute;top:-12px;left:50%;width:36px;height:3px;margin-left:-18px;border-radius:3px;background:var(--bd)}
.stop{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px}
.steam{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:13px;min-width:0}
.steam .crest,.steam img.crest{width:46px;height:46px;font-size:18px;margin:0}
.smid{display:flex;align-items:center;justify-content:center;gap:10px}
.svs{font-weight:900;font-size:15px;color:var(--ac)}
.ssc{font-weight:900;font-size:22px;color:var(--tx);min-width:16px;text-align:center}
.sfoot{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;margin-top:12px;padding-top:9px;border-top:1px solid var(--bd);font-size:11px;color:var(--mu)}
.sfoot .scm{text-align:right}.sfoot .sch{text-align:left}
.sfoot .stime{text-align:center;font-weight:700;color:var(--tx);font-size:12px}
.sfoot .stime.l{color:var(--red)}
.st-separator td{height:7px;padding:0!important;border:0!important;background:var(--bg)!important}
.st-group td{background:var(--card2);color:var(--ac);font-weight:700;text-align:right!important;font-size:12px;padding-top:8px;padding-bottom:8px}

/* الأخبار في الرئيسية: الخبر الحديث وحده بالأعلى، ثم الأخبار السابقة رأسيًا أسفله */
#newsHero.news-hero{display:block;direction:rtl;margin:0 0 18px}
#newsHero .news-hero-main{width:100%;min-height:330px;margin-bottom:10px}
#newsHero .news-hero-side-list{display:flex;flex-direction:column;gap:8px;width:100%}
#newsHero .news-hero-side{display:grid;grid-template-columns:minmax(0,1fr) 104px;direction:rtl;width:100%;min-height:84px}
#newsHero .news-hero-side .news-thumb,#newsHero .news-hero-side .nimg{grid-column:2;grid-row:1;width:104px;height:100%;min-height:84px;margin:0;object-fit:cover}
#newsHero .news-hero-side .hero-copy{grid-column:1;grid-row:1;padding:9px 11px;text-align:right;direction:rtl;display:flex;flex-direction:column;justify-content:center}
#newsHero .news-hero-side b{font-size:12px;line-height:1.55}
@media(max-width:600px){#newsHero .news-hero-main{min-height:260px}#newsHero .news-hero-side{grid-template-columns:minmax(0,1fr) 78px;min-height:76px}#newsHero .news-hero-side .news-thumb,#newsHero .news-hero-side .nimg{width:78px;min-height:76px}#newsHero .news-hero-side b{font-size:11px}}

/* روابط الأخبار الوهمية + زر المشاركة */
a.news-card{text-decoration:none;position:relative}
.news-share{position:absolute;top:22px;left:22px;z-index:3;width:30px;height:30px;border-radius:50%;background:rgba(7,16,33,.62);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border:1px solid rgba(255,255,255,.18);transition:transform .15s,background .15s}
.news-share:active{transform:scale(.9)}
.news-share:hover{background:var(--ac);color:#1a0a00}
.news-share svg{width:16px;height:16px;stroke-width:2.2}
.news-hero-main .news-share{top:10px;left:10px}
.news-hero-side .news-share{top:5px;left:5px;width:22px;height:22px}
.news-hero-side .news-share svg{width:12px;height:12px}
