@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;600;700;800;900&display=swap');
:root{--red:#bd0008;--deep:#8f0007;--ink:#151518;--line:#e5e5e9;--paper:#f4f4f6}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:'Tajawal',Tahoma,sans-serif;color:var(--ink);background:var(--paper)}body{padding-bottom:76px}.app-header{height:66px;position:absolute;top:0;left:0;right:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:22px 18px 0;color:#fff;background:transparent}.header-spacer{flex:1}.icon-btn{border:0;background:none;color:#fff;width:34px;height:38px;padding:4px;position:relative}.icon-btn svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.notification i{position:absolute;top:4px;right:6px;width:6px;height:6px;border-radius:50%;background:#fff}.page{display:none;min-height:calc(100vh - 72px)}.page.active{display:block}body:not(.page-home) .app-header{display:none}
.home-hero{height:263px;position:relative;overflow:hidden;color:#fff;background:linear-gradient(110deg,#a8000bdc,#8e0008a8),url('https://images.unsplash.com/photo-1522778119026-d647f0596c20?auto=format&fit=crop&w=1200&q=85') center 48%/cover}.home-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#71000655,transparent 48%,#73000644)}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#8b000866,transparent 85%)}.hero-title{position:absolute;inset:27px 18px 0;z-index:1;display:flex;align-items:center;justify-content:center;gap:14px}.hero-title img{width:130px;height:157px;object-fit:contain;filter:drop-shadow(0 4px 5px #39000680)}.hero-title h1{font-size:30px;font-weight:900;margin:0 0 7px;white-space:nowrap}.hero-title p{margin:0;font-size:16px;display:flex;align-items:center;gap:9px;white-space:nowrap}.hero-title p span{height:1px;width:31px;background:#fff}.page-content{padding:0 11px 20px}.home-content{position:relative;margin-top:0}.main-story{height:267px;border-radius:17px;overflow:hidden;position:relative;box-shadow:0 4px 12px #0002;margin-top:0;border:1px solid #fff}.main-story>img{width:100%;height:100%;object-fit:cover}.story-gradient{position:absolute;inset:25% 0 0;background:linear-gradient(transparent,#000b)}.main-story h2{position:absolute;bottom:13px;right:18px;left:45px;color:#fff;font-size:19px;font-weight:900;margin:0}.story-arrow{position:absolute;bottom:12px;left:13px;width:35px;height:35px;border-radius:50%;background:var(--red);color:white;font-size:35px;line-height:25px;text-align:center}.content-section{background:#fff;border-radius:16px;margin-top:14px;padding:13px 12px;box-shadow:0 2px 8px #0000000a}.section-heading{display:flex;align-items:center;gap:7px;margin-bottom:8px}.section-heading h2{font-size:20px;margin:0;font-weight:900}.red-mark{width:5px;height:25px;background:var(--red);border-radius:3px}.news-row{display:flex;gap:11px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line);min-height:94px}.news-row:last-child{border-bottom:0}.news-row img{width:104px;height:76px;object-fit:cover;border-radius:9px;flex-shrink:0}.news-row h3{font-size:14px;line-height:1.5;margin:0 0 5px;font-weight:800}.news-row small{font-size:11px;color:#777}
.sub-header{height:75px;background:linear-gradient(110deg,#a60007,#d00008);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 17px}.sub-header h1{font-size:22px;font-weight:900;margin:0}.sub-header img{width:42px;height:48px;object-fit:contain}.back-btn{border:0;background:none;color:#fff;font-size:35px;width:30px}.tabs{display:flex;gap:5px;padding:12px 10px;background:#fff;overflow-x:auto;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tabs button{white-space:nowrap;flex:1 0 auto;border:0;border-radius:25px;background:#f0f0f3;padding:11px 12px;font-family:inherit;font-weight:800;font-size:13px;color:#171719}.tabs button.selected{background:var(--red);color:#fff}.player-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px 11px 8px}.player-card{background:#fff;border:1px solid #d9d9df;border-radius:14px;overflow:hidden;text-align:center;box-shadow:0 2px 4px #00000012;padding-bottom:8px}.player-card img{width:100%;height:150px;object-fit:cover;object-position:center top;background:#e8e8eb;display:block}.player-card strong{display:block;font-size:13px;font-weight:900;margin:7px 2px 4px}.player-card em{display:inline-block;min-width:25px;padding:2px 7px;background:var(--red);color:#fff;border-radius:5px;font-style:normal;font-weight:900;font-size:14px}.player-card.coach-card{grid-column:2;}.coach-card img{height:180px}.coach-card em{background:#eee;color:var(--red);font-size:12px}.sample-note{text-align:center;color:#888;font-size:11px;padding:4px 10px 20px}
.match-page-content{padding:12px 11px}.upcoming-card{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 3px 9px #00000014;padding-bottom:15px}.versus-banner{height:205px;position:relative;display:grid;place-items:center;background:linear-gradient(90deg,#a90008df,#c90008bd),url('https://images.unsplash.com/photo-1522778119026-d647f0596c20?auto=format&fit=crop&w=1000&q=80') center/cover}.versus-teams{position:relative;z-index:1;width:100%;display:flex;align-items:center;justify-content:space-around;color:#fff;text-align:center}.versus-teams>div{display:grid;justify-items:center;gap:7px}.versus-teams img{width:78px;height:92px;object-fit:contain}.versus-teams>strong{font-size:30px}.versus-teams b{font-size:14px}.opponent-crest{width:70px;height:78px;display:grid;place-items:center;border:3px solid #fff;border-radius:45% 45% 42% 42%;background:#ffffff20;color:#fff}.opponent-crest svg{width:49px;height:49px;fill:#fff;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.match-meta{display:flex;align-items:center;justify-content:space-around;gap:5px;padding:14px 5px;font-size:13px;font-weight:800}.match-meta span{display:flex;align-items:center;gap:5px}.match-meta svg{width:19px;height:19px;fill:none;stroke:var(--red);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.match-meta i{height:28px;border-left:1px solid #ddd}.details-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:64%;margin:0 auto;border:0;border-radius:28px;background:var(--red);color:#fff;padding:13px;font-family:inherit;font-weight:800;font-size:15px}.details-btn svg{width:20px;height:20px;fill:#fff}.results-heading{margin:20px 5px 9px;color:var(--red);justify-content:space-between}.result-card{background:#fff;border-radius:15px;display:flex;align-items:center;justify-content:space-around;padding:13px 5px;text-align:center;box-shadow:0 2px 8px #00000010}.result-card>div{display:grid;justify-items:center;gap:5px}.result-crest img{width:48px;height:55px;object-fit:contain}.result-card .opponent-crest.small{width:48px;height:52px;color:#555;border-color:#aaa}.result-card .opponent-crest.small svg{width:35px;height:35px;stroke:#333;fill:#333}.result-card b{font-size:12px}.result-card>strong{background:var(--red);color:#fff;border-radius:10px;padding:10px 15px;font-size:23px}.anthem-card{margin-top:14px;border-radius:15px;padding:17px;color:#fff;position:relative;overflow:hidden;background:linear-gradient(100deg,#a90008ed,#720006ed),url('https://images.unsplash.com/photo-1506157786151-b8491531f063?auto=format&fit=crop&w=900&q=80') center/cover}.anthem-card h2{font-size:19px;margin:0 0 16px}.anthem-card button{width:58px;height:58px;border:1px solid #fff;border-radius:50%;background:transparent;color:white;font-size:22px}.anthem-card img{position:absolute;left:18px;bottom:12px;width:55px;height:60px;object-fit:contain}.sound-wave{display:inline-block;margin-right:16px;letter-spacing:4px;color:#ffc6c6}
.more-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px}.more-grid button{min-height:110px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--red);display:grid;justify-items:center;align-content:center;gap:8px}.more-grid button span{font-size:28px}.more-grid b{font-family:inherit;font-size:14px;color:var(--ink)}
.bottom-nav{position:fixed;bottom:0;left:0;right:0;height:72px;padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid #e7e7eb;display:flex;justify-content:space-around;align-items:center;z-index:30;box-shadow:0 -2px 9px #00000008}.nav-item{height:62px;min-width:54px;border:0;background:none;color:#555;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;font-family:inherit}.nav-item svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.nav-item small{font-size:11px;font-weight:700}.nav-item.active{color:var(--red)}.nav-item.active svg{fill:currentColor;stroke:currentColor}.nav-item.active:nth-child(2) svg,.nav-item.active:nth-child(3) svg,.nav-item.active:nth-child(4) svg{fill:none}#toast{position:fixed;z-index:50;bottom:85px;left:50%;transform:translateX(-50%);background:#242124;color:#fff;padding:10px 17px;border-radius:22px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;white-space:nowrap}#toast.show{opacity:1}
@media(min-width:700px){body{max-width:440px;margin:0 auto;box-shadow:0 0 30px #0002;min-height:100vh}.app-header{max-width:440px}.bottom-nav{left:50%;right:auto;transform:translateX(-50%);width:440px}.page{min-height:calc(100vh - 142px)}}
@media(max-width:390px){.tabs{gap:4px;padding-inline:7px}.tabs button{padding:10px 9px;font-size:12px}.player-card img{height:135px}.player-grid{gap:8px;padding-inline:8px}.hero-title h1{font-size:27px}}


/* Reference-layout correction: logo left, club name right; menu left, alerts right */
.app-header{direction:ltr}
.hero-title{direction:ltr}
.hero-title>div{direction:rtl;text-align:right}


/* Mobile layout refinements from device screenshots */
.home-hero{height:225px}
.hero-title{inset:43px 16px 0;justify-content:space-between;gap:12px}
.hero-title img{width:96px;height:116px;flex:0 0 96px}
.hero-title>div{flex:1;min-width:0;text-align:right}
.hero-title h1{font-size:25px;line-height:1.25;margin:0 0 6px}
.hero-title p{font-size:14px;gap:7px}
.hero-title p span{width:22px}
.story-arrow{display:flex;align-items:center;justify-content:center;line-height:1;padding:0;font-size:31px}
#page-news .page-content{padding-top:16px}
