/* Al Adalah Club - website remodel step 1 (IT, 25 Oct 2026): the official identity on top of site.css.
   Official colours (identity sheet by the designer): navy #0E3659, crimson #9C1B3D, white; badge grey #BCBEC0.
   Badge = assets/club-badge.svg (vector, from ALADALAH LOGO2.ai). Icons = Fluent UI System Icons + Simple Icons brand marks (web_icon(), ICONS-NOTICE.txt).
   Step 1b (user, same evening): opening animation (intro.js + site-2026.js), no top bar, big badge over the header edge, search in place, social logos.
   Undo: remove the brand-2026.css <link> (and the intro.js / site-2026.js scripts) in WebViews/layout.php. */
:root{--navy:#0e3659;--navy-deep:#0a2944;--blue:#123f66;--royal:#9c1b3d;--red:#9c1b3d;--steel:#bcbec0;--ink:#10263d;--muted:#5d6b7a;--line:#e3e7ec;--paper:#f4f6f8}

/* icons */
.icon{width:1.15em;height:1.15em;fill:currentColor;vertical-align:-.22em;flex-shrink:0}
.text-link,.match-detail,.button,.footer-bottom a,.socials a{display:inline-flex;align-items:center;gap:6px}
.button{gap:14px}
.menu-toggle .icon{width:24px;height:24px;vertical-align:middle}
.back-top{display:grid;place-items:center;color:var(--t-fg-0e3659)}
.back-top .icon{width:20px;height:20px}
.card-arrow .icon{width:22px;height:22px}
.play-symbol .icon{width:26px;height:26px;color:var(--t-fg-9c1b3d)}

/* opening animation: gradient + breathing badge until the page has loaded, then the badge flies into the header (site-2026.js) */
.intro{display:none}
html.intro-on .intro{display:block;position:fixed;inset:0;z-index:1000}
html.intro-on body{overflow:hidden}
html.intro-on .site-header .brand img{visibility:hidden}
.intro-bg{position:absolute;inset:0;background:radial-gradient(55% 50% at 50% 46%,rgba(255,255,255,.09),transparent 72%),linear-gradient(158deg,var(--t-bg-0e3659) 0%,var(--t-bg-0b2850) 48%,var(--t-bg-4a1f3f) 80%,var(--t-bg-9c1b3d) 100%);transition:opacity .65s ease}
.intro-badge{position:absolute;left:50%;top:50%;width:180px;height:180px;margin:-90px 0 0 -90px;transform-origin:center;animation:intro-breathe 1.5s ease-in-out infinite;filter:drop-shadow(0 18px 40px rgba(0,0,0,.35))}
@keyframes intro-breathe{0%,100%{transform:scale(.9)}50%{transform:scale(1.07)}}
.intro.is-leaving{pointer-events:none}
.intro.is-leaving .intro-bg{opacity:0}
.intro.is-leaving .intro-badge{animation:none;transition:transform .78s cubic-bezier(.65,0,.25,1),filter .78s ease;filter:drop-shadow(0 8px 16px rgba(10,41,68,.25))}
@media(prefers-reduced-motion:reduce){.intro{display:none!important}}

/* header: one white bar (no top bar), the badge large and hanging over the bar's lower edge; smaller once the page scrolls */
.site-header .header-inner{min-height:96px}
.site-header .brand{position:relative;padding-inline-start:142px;min-height:60px;transition:padding .25s ease}
.site-header .brand img{position:absolute;inset-inline-start:0;top:-16px;width:126px;height:126px;max-height:none;z-index:3;filter:drop-shadow(0 8px 16px rgba(10,41,68,.25));transition:width .25s ease,height .25s ease,top .25s ease}
.site-header.is-scrolled .brand,.site-header.search-open .brand{padding-inline-start:78px}
.site-header.is-scrolled .brand img,.site-header.search-open .brand img{width:64px;height:64px;top:-2px}
.site-header nav a{transition:color .15s}
.site-header nav a:hover{color:var(--t-fg-9c1b3d)}
.site-header nav a[aria-current=page]{color:var(--aa-nav-active)}
/* selected page = the item's cast shadow, as in a light/shadow diagram (user 25 Oct): light from above, the label is the object;
   below it the dark core (umbra) tapers toward the header's edge while the grey wedges (penumbra) spread outward. Lighter on hover. */
/* TEST 25 Oct evening (user: "make it in the club's red ... the effect passes ahead of the text"): crimson, the cone starts above the label
   and runs in front of it; multiply blending darkens what is under it, so the label stays readable. Earlier navy version: rgba(14,54,89,…)/(10,41,68,…), height 30px. */
/* 26 Oct (user): the cone runs the full height of the white bar (top edge to bottom edge), and the light wedges start exactly at the
   red core's slanted edges - two separate wedges, nothing of them behind the core. Both layers share one box: the item + 22px each side. */
.site-header nav a:before,.site-header nav a:after,.site-header nav a[aria-current=page]:after{content:'';position:absolute;top:0;bottom:0;height:auto;left:-22px;right:-22px;pointer-events:none;mix-blend-mode:var(--aa-beam-blend);
  opacity:0;transform:scaleY(.25);transform-origin:50% 0;transition:opacity .3s ease,transform .38s cubic-bezier(.2,.7,.2,1)}
.site-header nav a:before{clip-path:polygon(22px 0,0 100%,calc(22px + (100% - 44px) * .22) 100%,22px 0,calc(100% - 22px) 0,calc(100% - 22px - (100% - 44px) * .22) 100%,100% 100%,calc(100% - 22px) 0);background:linear-gradient(var(--aa-ray-top),var(--aa-ray-bottom))}
.site-header nav a:after,.site-header nav a[aria-current=page]:after{clip-path:polygon(22px 0,calc(100% - 22px) 0,calc(100% - 22px - (100% - 44px) * .22) 100%,calc(22px + (100% - 44px) * .22) 100%);background:linear-gradient(var(--aa-beam-top),var(--aa-beam-bottom))}
.site-header nav a:hover:before,.site-header nav a:hover:after{opacity:.4;transform:none}
.site-header nav a[aria-current=page]:before,.site-header nav a[aria-current=page]:after{opacity:1;transform:none}
/* inner pages (remodel part C): banner = the page's own photo (or a club photo) under a navy veil, bigger title, crimson rule */
.page-banner{position:relative;isolation:isolate;overflow:hidden;background:var(--t-bg-0a2944);padding:96px 0 44px;min-height:300px;display:flex;align-items:flex-end}
.page-banner:after{display:none}
.page-banner:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(to left,rgba(9,37,63,.96),rgba(9,37,63,.8) 50%,rgba(9,37,63,.55)),linear-gradient(0deg,rgba(9,37,63,.92),transparent 70%)}
.page-banner-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%;z-index:-2}
.page-banner>.container{position:relative}
.page-banner nav{color:var(--t-fg-c7d3e0);margin-bottom:12px}
.page-banner h1{font-size:clamp(30px,3.6vw,48px);line-height:1.3;max-width:1000px;text-wrap:balance}
.page-banner h1:after{content:'';display:block;width:64px;height:4px;background:var(--t-bg-9c1b3d);margin-top:16px}
.hm-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px;flex-wrap:wrap}
.hm-head h2{font-size:clamp(26px,2.8vw,36px);margin:0;line-height:1.3}
.hm-head .text-link{white-space:nowrap}
.team-squad{margin-top:56px}
/* event details box */
.event-facts{list-style:none;margin:0 0 26px;padding:18px 20px;display:flex;flex-wrap:wrap;gap:14px 40px;background:var(--t-bg-f4f6f8);border-inline-start:4px solid var(--t-bd-9c1b3d);border-radius:6px}
.event-facts li{display:flex;gap:12px;align-items:flex-start}
.event-facts li>.icon{width:26px;height:26px;color:var(--t-fg-9c1b3d);margin-top:2px}
.event-facts small{display:block;font-size:12px;color:var(--t-fg-5d6b7a)}
.event-facts span{font-weight:700;line-height:1.6}
.event-facts a{font-weight:400;font-size:14px;color:var(--t-fg-9c1b3d);display:inline-flex;align-items:center;gap:4px;margin-inline-start:6px}
/* people (players, board): portrait photos, crisp cards */
.person-card{border-radius:8px;transition:box-shadow .2s}
.person-card:hover{box-shadow:0 14px 34px rgba(14,54,89,.1)}
.person-card .card-picture{aspect-ratio:4/5;background:linear-gradient(180deg,var(--t-bg-164a78),var(--t-bg-0a2944))}
.person-card .card-picture img{width:100%;height:100%;object-fit:cover;object-position:top center}
.person-card .eyebrow{color:var(--t-fg-9c1b3d)}
/* article reading */
.reading{max-width:820px}
.reading>.meta{display:flex;gap:14px;align-items:center;color:var(--t-fg-5d6b7a);font-size:14px;margin-bottom:18px}
.reading img{border-radius:8px}
.reading>img,.reading>figure img{width:100%;max-height:480px;object-fit:cover;margin-bottom:22px}
.article-lead{font-size:22px;color:var(--t-fg-10263d)}
.prose{font-size:19px;line-height:2.1;color:var(--t-fg-1f3348)}
/* tabs, filters, cards */
.section-tabs a,.filter-links a{border-radius:999px;transition:background .15s,color .15s,border-color .15s}
.section-tabs a:hover,.filter-links a:hover{border-color:var(--t-bd-0e3659)}
.news-card,.content-card{border-radius:8px;transition:box-shadow .2s}
.news-card:hover,.content-card:hover{box-shadow:0 14px 34px rgba(14,54,89,.09)}
.news-card:hover h3,.content-card:hover h3 a{color:var(--t-fg-9c1b3d)}
/* hub tiles (media centre, community, club) + empty state */
.link-grid>a{background:var(--t-bg-ffffff);border:1px solid var(--t-bd-e3e7ec);border-top:4px solid var(--t-bd-0e3659);border-inline-start-width:1px;transition:border-color .2s,box-shadow .2s,transform .2s}
.link-grid>a:hover{border-top-color:var(--t-bd-9c1b3d);box-shadow:0 14px 34px rgba(14,54,89,.08);transform:translateY(-2px)}
.link-grid .link-icon{width:34px;height:34px;color:var(--t-fg-9c1b3d);margin-bottom:8px}
.link-grid span{color:var(--t-fg-9c1b3d)}
.empty>.empty-icon{display:block;margin:0 auto 8px;width:28px;height:28px;color:var(--t-fg-9fb1c6)}
@media(prefers-reduced-motion:reduce){.link-grid>a{transition:none}}
/* mobile PIN box on forms that ask for it (26 Oct) */
.otp-box{margin-top:10px;padding:14px 16px;border:1px dashed var(--t-bd-cbd3df);border-radius:8px;background:var(--t-bg-f4f6f8)}
.otp-box .otp-send{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 16px;font-size:14px}
.otp-box .otp-send:disabled{opacity:.6}
.otp-box label{display:block;margin-top:12px}
.otp-box input{max-width:190px;letter-spacing:6px;font-size:20px;text-align:center}
.otp-msg{margin:8px 0 0;font-size:14px;color:var(--t-fg-1f7a4d)}
.otp-msg.is-error{color:var(--t-fg-b3261e)}
.otp-msg:empty{display:none}
/* "Join Al Adalah" page + header button (remodel part D) */
.join-pill{background:transparent;color:var(--t-fg-9c1b3d);border:1.5px solid var(--t-bd-9c1b3d);transition:background .15s,color .15s}
.join-pill:hover,.join-pill[aria-current=page]{background:var(--t-bg-9c1b3d);color:var(--t-fg-ffffff)}
.join-intro{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center;margin-bottom:10px}
.join-lead h2{font-size:clamp(28px,3vw,40px);margin:0 0 12px;line-height:1.3}
.join-lead p{color:var(--t-fg-5d6b7a);font-size:18px}
.join-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.join-steps li{background:var(--t-bg-f4f6f8);border-radius:8px;padding:20px 18px;border-top:4px solid var(--t-bd-0e3659)}
.join-steps b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--t-bg-9c1b3d);color:var(--t-fg-ffffff);font-size:16px;margin-bottom:10px}
.join-steps strong{display:block;font-size:17px}
.join-steps span{color:var(--t-fg-5d6b7a);font-size:14px}
.join-forms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.join-form-card{border:1px solid var(--t-bd-e3e7ec);border-radius:8px;overflow:hidden;background:var(--t-bg-ffffff);display:flex;flex-direction:column}
.join-form-card .card-picture{aspect-ratio:16/9}
.join-form-card .card-picture img{width:100%;height:100%;object-fit:cover}
.join-form-card .card-body{padding:20px 22px 24px;display:flex;flex-direction:column;gap:6px;flex:1}
.join-form-card h3{font-size:20px;margin:0}
.join-form-card p{color:var(--t-fg-5d6b7a);margin:0}
.join-form-card .button{margin-top:auto;align-self:flex-start}
.join-state{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--t-fg-1f7a4d)!important}
.join-form-card.is-closed .join-state{color:var(--t-fg-5d6b7a)!important}
.join-form-card.is-closed{opacity:.75}
.join-careers{display:flex;justify-content:space-between;align-items:center;gap:24px;background:var(--t-bg-0e3659);color:var(--t-fg-ffffff);border-radius:10px;padding:32px 36px}
.join-careers h2{margin:0 0 6px;font-size:28px}
.join-careers p{margin:0;color:var(--t-fg-c7d3e0)}
.join-careers .eyebrow{color:var(--t-fg-eaa9b9)}
.join-careers-icon{width:64px;height:64px;color:rgba(255,255,255,.25)}
.join-privacy{display:flex;gap:10px;align-items:flex-start;margin-top:36px;color:var(--t-fg-5d6b7a);font-size:14px}
.join-privacy>.icon{width:20px;height:20px;color:var(--t-fg-0e3659);margin-top:3px}
.join-privacy a{color:var(--t-fg-9c1b3d);text-decoration:underline}
@media(max-width:1100px){.join-intro{grid-template-columns:1fr}.join-forms{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.page-banner{padding:86px 0 30px;min-height:220px}.event-facts{gap:12px}.join-steps,.join-forms{grid-template-columns:1fr}.join-careers{flex-direction:column;align-items:flex-start;padding:26px}}
@media(min-width:1101px){.site-header .header-inner.container,.site-search>.container{width:min(1720px,calc(100% - 72px))}}
.header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.search-toggle{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:var(--t-fg-0e3659);background:var(--t-bg-f4f6f8);transition:background .15s,color .15s}
.search-toggle:hover,.search-toggle[aria-expanded=true]{background:var(--t-bg-0e3659);color:var(--t-fg-ffffff)}
.search-toggle .icon{width:21px;height:21px;vertical-align:0}
.header-pill{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;background:var(--t-bg-9c1b3d);color:var(--t-fg-ffffff);font-size:13px;font-weight:700}

/* search in place (opens under the header; results while typing; Enter = full results page) */
.site-search{position:absolute;top:100%;right:0;left:0;background:var(--t-bg-ffffff);border-top:1px solid var(--t-bd-e3e7ec);box-shadow:0 18px 30px rgba(10,41,68,.12);padding:18px 0 22px;z-index:4;
  opacity:0;transform:translateY(-10px);clip-path:inset(0 0 100% 0);transition:opacity .22s ease,transform .32s cubic-bezier(.2,.7,.2,1),clip-path .32s cubic-bezier(.2,.7,.2,1)}
.site-search.is-open{opacity:1;transform:none;clip-path:inset(0 0 -60px 0)}
.site-search[hidden]{display:none}
.search-toggle .icon{transition:transform .3s ease}
.search-toggle[aria-expanded=true] .icon{transform:rotate(90deg) scale(.92)}
.search-results li{animation:sr-in .28s ease both}
@keyframes sr-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.site-search,.search-toggle .icon,.site-header nav a:before,.site-header nav a:after{transition:none}.search-results li{animation:none}}
.site-search-form{display:flex;align-items:center;gap:12px;border:2px solid var(--t-bd-0e3659);border-radius:10px;padding:2px 14px;background:var(--t-bg-ffffff)}
.site-search-form:focus-within{box-shadow:0 0 0 3px rgba(156,27,61,.22)}
.site-search-form>.icon{color:var(--t-fg-5d6b7a);width:22px;height:22px;vertical-align:0}
.site-search-form input[type=search]{flex:1;min-width:0;border:0;font-size:18px;padding:12px 0;background:transparent;color:var(--t-fg-10263d)}
.site-search-form input[type=search]:focus{outline:none}
.search-close{border:0;background:none;color:var(--t-fg-5d6b7a);width:40px;height:40px;display:grid;place-items:center;border-radius:50%}
.search-close:hover{background:var(--t-bg-f4f6f8);color:var(--t-fg-10263d)}
.search-results ul{list-style:none;margin:10px 0 0;padding:0;max-height:58vh;overflow:auto}
.search-results li a{display:block;padding:11px 14px;border-radius:8px}
.search-results li a:hover,.search-results li a:focus-visible{background:var(--t-bg-f4f6f8)}
.search-results .sr-type{display:block;font-size:12px;color:var(--t-fg-9c1b3d);font-weight:700}
.search-results .sr-title{display:block;font-weight:700;color:var(--t-fg-10263d);line-height:1.5}
.search-results .sr-sum{display:block;font-size:14px;color:var(--t-fg-5d6b7a);line-height:1.6}
.search-results .sr-all{display:inline-flex;margin:10px 14px 0;color:var(--t-fg-9c1b3d);font-weight:700}
.search-results .sr-empty{margin:12px 14px 0;color:var(--t-fg-5d6b7a)}

/* dark bands in the official navy */
.hero-shade{background:linear-gradient(270deg,rgba(9,37,63,.96),rgba(14,54,89,.84) 38%,rgba(14,54,89,.2) 77%),linear-gradient(0deg,rgba(9,37,63,.8),transparent 60%)}
.page-banner,.teams-section{background:var(--t-bg-0e3659)}
.community-banner{background:linear-gradient(120deg,var(--t-bg-0e3659),var(--t-bg-0a2944));border-inline-start-color:var(--t-bd-9c1b3d)}
.site-footer{background:var(--t-bg-0a2944);color:var(--t-fg-c7d3e0)}
.match-strip{box-shadow:0 16px 45px rgba(14,54,89,.07)}
.match-strip>div{display:flex;flex-direction:column}
.match-strip>div>.match-card{flex:1;display:flex;flex-direction:column;justify-content:space-between}

/* footer + partners (remodel part F): crimson top edge, bigger badge, partner logos larger on a calm strip, links clear of the
   back-to-top button */
.partners-band{border-top:0;padding:56px 0 46px}
.partners-band h2{font-size:clamp(24px,2.4vw,30px)}
.partner-logos{gap:44px}
.partner-logos img{height:96px;max-width:200px;transition:transform .2s}
.partner-logos a:hover img{transform:scale(1.04)}
.site-footer{border-top:4px solid var(--t-bd-9c1b3d)}
.site-footer .brand img{width:76px;height:76px}
.site-footer h3{position:relative;padding-bottom:10px}
.site-footer h3:after{content:'';position:absolute;bottom:0;inset-inline-start:0;width:28px;height:2px;background:var(--t-bg-9c1b3d)}
.site-footer a:not(.social-icon):hover{color:var(--t-fg-ffffff)}
.footer-bottom{padding-inline-end:72px}
/* footer social links as monochrome brand logos */
.socials a.social-icon{width:42px;height:42px;padding:0;display:grid;place-items:center;border-radius:50%;border-color:rgba(255,255,255,.2);color:var(--t-fg-dbe4ee);transition:background .15s,color .15s}
.socials a.social-icon:hover,.socials a.social-icon:focus-visible{background:var(--t-bg-ffffff);color:var(--t-fg-0e3659)}
.socials a.social-icon .icon{width:19px;height:19px;vertical-align:0}

/* cards */
.team-card{border-color:var(--t-bd-e3e7ec);background:var(--t-bg-f4f6f8)}
.card-picture{background:var(--t-bg-0e3659)}
.image-placeholder{width:34%;height:70%;opacity:.14;filter:brightness(0) invert(1)}

/* countdown on upcoming match cards (match-countdown.js) */
.match-countdown{display:flex;justify-content:center;align-items:center;gap:6px;margin:4px 0 12px;font-size:12px}
.match-countdown>small{font-size:12px;opacity:.8;margin-inline-end:4px}
.match-countdown>span{background:rgba(127,127,127,.14);border-radius:6px;padding:3px 9px;min-width:50px;line-height:1.3}
.match-countdown b{display:block;font-size:19px;font-variant-numeric:tabular-nums}

@media(max-width:1100px){
.site-header nav a:before,.site-header nav a:after,.site-header nav a[aria-current=page]:after{display:none}
.site-header nav.open a[aria-current=page]{background:var(--t-bg-f4f6f8);border-radius:8px}
.site-header .header-inner{gap:10px}
.header-actions{margin-inline-start:auto}
.menu-toggle{order:3}
.site-header .brand{padding-inline-start:100px}
.site-header .brand img{width:92px;height:92px;top:-10px}
.site-header.is-scrolled .brand,.site-header.search-open .brand{padding-inline-start:64px}
.site-header.is-scrolled .brand img,.site-header.search-open .brand img{width:54px;height:54px;top:3px}
.site-search-form input[type=search]{font-size:16px}
}
@media(max-width:480px){
.site-header .brand{font-size:18px;padding-inline-start:88px}
.site-header .brand img{width:80px;height:80px;top:-6px}
}
/* phone header (26 Oct): brand + Tickets/Join pills + search + menu came to 16px more than a phone screen, so every page was shifted
   sideways. Up to 600px the pills show icons only; up to 480px they leave the header and sit, labelled, at the top of the opened
   menu (.nav-ctas = the same links, hidden on bigger screens). */
.nav-ctas{display:none}
@media(max-width:600px){.header-pill span{display:none}.header-pill{padding:9px 12px}}
@media(max-width:480px){
.header-actions .header-pill{display:none}
.site-header nav .nav-ctas{display:flex;flex-wrap:wrap;gap:10px;grid-column:1/-1;padding:4px 0 14px;margin-bottom:6px;border-bottom:1px solid var(--t-bd-e3e7ec)}
.site-header nav .nav-ctas a.header-pill{padding:10px 16px;font-size:14px;color:var(--t-fg-ffffff);background:var(--t-bg-9c1b3d);border-radius:999px}
.site-header nav .nav-ctas a.header-pill span{display:inline}
}
/* player card (26 Oct, user: "players fitting in an EA FC player card like template designed around aladalah's color scheme"):
   our own club shield with a gold trim, navy into crimson with a fine sheen; number + short position at the top (start side),
   photo with soft edges, name over a gold rule, position + nationality, club badge at the point. No EA marks, no invented ratings.
   Used by the home squad rail and the teams / team pages (WebViews/editorial.php ed_player_card). */
.pc{--pc-shape:polygon(50% 0,91% 3%,100% 9%,100% 85%,50% 100%,0 85%,0 9%,9% 3%);--gold:#d6ad5c;--gold-hi:#f4dea0;
  position:relative;display:block;aspect-ratio:5/7;padding:3px;color:var(--t-fg-ffffff);clip-path:var(--pc-shape);overflow:hidden;
  background:linear-gradient(155deg,var(--gold-hi),var(--gold) 38%,var(--t-bg-8d6b2b) 62%,var(--gold-hi) 90%);transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.pc-in{position:relative;display:block;height:100%;overflow:hidden;clip-path:var(--pc-shape);
  background:radial-gradient(110% 55% at 50% 0,rgba(244,222,160,.26),transparent 62%),repeating-linear-gradient(122deg,rgba(255,255,255,.045) 0 2px,transparent 2px 13px),linear-gradient(176deg,var(--t-bg-1e5a8c) 0%,var(--t-bg-10375c) 46%,var(--t-bg-5c1029) 76%,var(--t-bg-9c1b3d) 100%)}
.pc-side{position:absolute;top:8%;inset-inline-start:8%;z-index:2;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:20%}
.pc-num{font-size:clamp(26px,2.7vw,42px);line-height:.95;font-weight:700;color:var(--gold-hi);font-variant-numeric:tabular-nums;text-shadow:0 2px 10px rgba(0,0,0,.45)}
.pc-pos{font-style:normal;font-size:clamp(11px,.9vw,14px);font-weight:700;color:var(--gold-hi);padding-top:4px;border-top:1px solid color-mix(in srgb,var(--t-bd-f4dea0) 50%,transparent)}
.pc-photo{position:absolute;top:4%;inset-inline-end:3%;width:80%;height:63%;z-index:1;
  -webkit-mask-image:linear-gradient(180deg,#000 68%,transparent 98%);mask-image:linear-gradient(180deg,#000 68%,transparent 98%)}
.pc-photo img{width:100%;height:100%;object-fit:cover;object-position:top center;transition:transform .45s ease}
.pc-photo .image-placeholder{width:46%;height:auto;margin:30% auto 0;display:block;opacity:.16;filter:brightness(0) invert(1);object-fit:contain}
.pc-name{position:absolute;top:64.5%;inset-inline:7%;z-index:2;text-align:center;font-size:clamp(14px,1.15vw,18px);font-weight:700;line-height:1.3;padding-bottom:7px;border-bottom:1px solid color-mix(in srgb,var(--t-bd-f4dea0) 55%,transparent);text-shadow:0 2px 8px rgba(0,0,0,.4);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-meta{position:absolute;top:78.5%;inset-inline:10%;z-index:2;text-align:center;font-size:clamp(11px,.85vw,13px);color:var(--t-fg-f3e4c3);line-height:1.4}
.pc-badge{position:absolute;bottom:4.5%;left:50%;width:30px;height:30px;transform:translateX(-50%);z-index:2;filter:drop-shadow(0 2px 4px rgba(0,0,0,.35))}
.pc:after{content:'';position:absolute;inset:0;z-index:3;pointer-events:none;clip-path:var(--pc-shape);background:linear-gradient(105deg,transparent 38%,rgba(255,246,214,.32) 50%,transparent 62%);transform:translateX(-130%);transition:transform .8s ease}
a.pc:hover,a.pc:focus-visible{transform:translateY(-5px)}
a.pc:hover:after,a.pc:focus-visible:after{transform:translateX(130%)}
a.pc:hover .pc-photo img{transform:scale(1.03)}
.hm-players>li,.tm-roster>li{filter:drop-shadow(0 12px 18px rgba(6,22,40,.28))}
@media(prefers-reduced-motion:reduce){.pc,.pc:after,.pc-photo img{transition:none}}

/* menu light (26 Oct, user: "feel like a light casting the shape ... not a sliding/folding shape"): the cone never scales - the
   selected page's cone switches on like a lamp (a short flicker, then steady), hover is a soft glow. During the opening logo
   animation the light waits and switches on after the logo has landed. */
.site-header nav a:before,.site-header nav a:after,.site-header nav a[aria-current=page]:after{transform:none;transition:opacity .45s ease}
.site-header nav a:hover:before,.site-header nav a:hover:after{transform:none}
.site-header nav a[aria-current=page]:before,.site-header nav a[aria-current=page]:after{animation:nav-light-on 1.1s linear .15s both}
html.intro-on .site-header nav a[aria-current=page]:before,html.intro-on .site-header nav a[aria-current=page]:after{animation-play-state:paused}
@keyframes nav-light-on{0%{opacity:0}8%{opacity:.7}13%{opacity:.12}21%{opacity:.85}27%{opacity:.4}40%{opacity:.95}52%{opacity:.78}100%{opacity:1}}
@media(prefers-reduced-motion:reduce){.site-header nav a[aria-current=page]:before,.site-header nav a[aria-current=page]:after{animation:none;opacity:1}}
/* 27 Oct: menu dropdown (النادي -> نبذة / الحوكمة والتقارير / الرعاة والشركاء) - shown when governance moves under النادي.
   Desktop: opens on hover / keyboard focus, red top rule like the header's light; phone (fold-down menu): children listed under the item. */
.site-header nav .nav-group{position:relative;display:flex;align-items:center}
.site-header nav .nav-caret{display:inline-block;width:6px;height:6px;margin-inline-start:8px;border:solid currentColor;border-width:0 0 2px 2px;transform:translateY(-2px) rotate(-45deg);opacity:.55}
.site-header nav .nav-sub{position:absolute;top:100%;inset-inline-start:-18px;min-width:230px;padding:8px 0;background:var(--t-bg-ffffff);border-top:3px solid var(--t-bd-9c1b3d);border-radius:0 0 10px 10px;box-shadow:0 18px 34px rgba(8,36,75,.16);opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .15s,transform .15s,visibility .15s;z-index:60}
.site-header nav .nav-group:hover .nav-sub,.site-header nav .nav-group:focus-within .nav-sub{opacity:1;visibility:visible;transform:none}
.site-header nav .nav-sub a{display:block;padding:11px 20px;font-size:14px;white-space:nowrap}
.site-header nav .nav-sub a:before,.site-header nav .nav-sub a:after{display:none}
.site-header nav .nav-sub a:hover,.site-header nav .nav-sub a[aria-current=page]{background:var(--t-bg-f4f6f8);color:var(--t-fg-9c1b3d)}
@media(max-width:1100px){.site-header nav .nav-group{display:block;grid-column:1/-1}.site-header nav .nav-caret{display:none}.site-header nav .nav-sub{position:static;display:flex;flex-wrap:wrap;gap:2px 6px;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;border-radius:0;min-width:0;padding:0 8px 8px;margin:0;border-bottom:1px solid var(--t-bd-e3e7ec)}.site-header nav .nav-sub a{padding:7px 12px;font-size:14px;color:var(--t-fg-5d6b7a);background:var(--t-bg-f4f6f8);border-radius:999px}}
/* 27 Oct (user: hovered buttons turned a blue that is not a club colour - "fix this and also have the top two gets the same effect"): one
   hover for every button in the club's colours; the header's two buttons (التذاكر / انضم إلينا) get it too. Outline buttons fill navy. */
.button,.header-pill{transition:background-color .15s ease,box-shadow .15s ease,transform .15s ease,color .15s ease}
.button:hover,.button:focus-visible,.hero .button:hover,.header-pill:hover,.header-pill:focus-visible,.site-header nav .nav-ctas a.header-pill:hover{background:var(--t-bg-7d1531);color:var(--t-fg-ffffff);box-shadow:0 6px 16px rgba(156,27,61,.28);transform:translateY(-1px)}
.button.secondary:hover,.button.secondary:focus-visible,.button.light:hover,.button.light:focus-visible{background:var(--t-bg-0e3659);color:var(--t-fg-ffffff);border-color:var(--t-bd-0e3659);box-shadow:0 6px 16px rgba(14,54,89,.22)}
@media (prefers-reduced-motion:reduce){.button:hover,.header-pill:hover{transform:none}}
/* 27 Oct: cookie notice - small card in the bottom corner (right in RTL), never blocks the page; phone: across the bottom */
.cookie-note{position:fixed;inset-inline-start:20px;bottom:20px;z-index:80;max-width:600px;display:flex;gap:14px;align-items:center;padding:14px 16px;background:var(--t-bg-ffffff);color:var(--t-fg-10263d);border:1px solid var(--t-bd-e3e7ec);border-top:3px solid var(--t-bd-9c1b3d);border-radius:12px;box-shadow:0 14px 34px rgba(8,36,75,.18);font-size:13.5px;line-height:1.8}
.cookie-note[hidden]{display:none}
.cookie-note p{margin:0;flex:1}
.cookie-note .cookie-ico{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:rgba(156,27,61,.08);color:var(--t-fg-9c1b3d)}
.cookie-note .cookie-ico svg{width:23px;height:23px}
.cookie-note a{color:var(--t-fg-9c1b3d);text-decoration:underline;text-underline-offset:3px}
.cookie-note .cookie-ok{flex:none;padding:8px 18px;border:0;border-radius:999px;background:var(--t-bg-9c1b3d);color:var(--t-fg-ffffff);font:inherit;font-weight:700;cursor:pointer}
.cookie-note .cookie-ok:hover,.cookie-note .cookie-ok:focus-visible{background:var(--t-bg-7d1531)}
@media(max-width:600px){.cookie-note{inset-inline:12px;bottom:12px;max-width:none;gap:10px;padding:12px;font-size:12.5px;line-height:1.7}.cookie-note .cookie-ok{padding:7px 14px}.cookie-note .cookie-ico{width:34px;height:34px}.cookie-note .cookie-ico svg{width:20px;height:20px}}
/* 27 Oct (user: "the size of this search bar is a bit too grand"): compact search - centred, 720px wide, one normal-height line */
.site-search{padding:12px 0 14px}
.site-search>.container{width:min(720px,calc(100% - 32px))}
.site-search-form{gap:10px;border-width:1.5px;border-radius:999px;padding-block:0;padding-inline:16px 6px}
.site-search-form>.icon{width:18px;height:18px}
.site-search-form input[type=search]{font-size:15px;padding:9px 0}
.site-search-form .search-close{width:32px;height:32px}
@media(max-width:600px){.site-search-form input[type=search]{font-size:16px}}
/* 27 Oct icon tour: photo-viewer close and form "received" tick drawn with the shared icon set (were text symbols) */
.dialog-close{display:grid;place-items:center}.dialog-close .icon{width:20px;height:20px}
.success-state>span .icon{width:34px;height:34px}
/* 27 Oct: video card thumbnails fill a 16:9 frame - YouTube's 4:3 image carries black bars; cover-cropping to 16:9 removes exactly them */
.yt-thumbnail{aspect-ratio:16/9;background:var(--t-bg-0e3659)}.yt-thumbnail img{width:100%;height:100%;object-fit:cover}
/* 27 Oct structure build: section tabs under the page title (sibling pages), clickable breadcrumbs */
.page-banner nav[aria-label="مسار الصفحة"] a{color:inherit;text-decoration:underline;text-decoration-color:rgba(255,255,255,.35);text-underline-offset:4px}
.page-banner nav[aria-label="مسار الصفحة"] a:hover{text-decoration-color:currentColor}
.section-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-top:22px}
.section-tabs a{padding:8px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.28);color:var(--t-fg-ffffff);font-size:14px;font-weight:700;background:rgba(8,36,75,.35)}
.section-tabs a:hover{background:rgba(255,255,255,.12)}
.section-tabs a[aria-current]{background:var(--t-bg-ffffff);color:var(--t-fg-0e3659);border-color:var(--t-bd-ffffff)}
@media(max-width:760px){.section-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:-16px;padding-inline:16px}.section-tabs::-webkit-scrollbar{display:none}.section-tabs a{white-space:nowrap}}
/* 28 Oct English version: language switch in the header; arrows point the reading direction */
.lang-toggle{display:inline-flex;align-items:center;height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--t-bd-e3e7ec);font-weight:700;font-size:13px;color:var(--t-fg-0e3659);background:var(--t-bg-ffffff)}
.lang-toggle:hover{border-color:var(--t-bd-9c1b3d);color:var(--t-fg-9c1b3d)}
html[dir=ltr] .icon-dir{transform:scaleX(-1)}
/* 1 Nov English version (user 28 Oct: footer "right to left alignment for some text"; fans + registration "text is not aligned properly as
   in arabic"): Arabic content that has no English text yet keeps its own reading direction inside the English page - each paragraph takes
   its direction from its first letter, so punctuation and brackets sit where they belong; the footer e-mail / phone and the page numbers
   follow the page direction. */
html[dir=ltr] :is(p,li,h1,h2,h3,h4,label,legend,dt,dd,td,th,figcaption,blockquote){unicode-bidi:plaintext}
html[dir=ltr] .site-footer .footer-contact-link{text-align:left;direction:ltr}
html[dir=ltr] .pagination.pagination-numbered{direction:ltr}


/* 9 Nov 2026 (user: "made & designed by ... at the absolute bottom, beside the slogan but centered"): bottom bar = 3 columns -
   bottom slogan at the start side, credit line in the exact middle of the page, links at the end side (kept clear of the
   back-to-top button by their own margin, so the middle stays the page's middle). Phones: one column, credit last. */
.footer-bottom{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding-inline-end:0}
.footer-bottom>p:first-child{justify-self:start}
.footer-bottom .footer-credit{justify-self:center;text-align:center;opacity:.8;white-space:nowrap}
.footer-bottom>div{justify-self:end;margin-inline-end:72px}
@media(max-width:1000px){.footer-bottom{grid-template-columns:1fr;justify-items:start;gap:12px}.footer-bottom>p:first-child,.footer-bottom>div{justify-self:start}.footer-bottom .footer-credit{order:3;justify-self:center;text-align:center;white-space:normal}.footer-bottom>div{margin-inline-end:0}}

/* 9 Nov 2026 - installable website: footer button "install the club app" (shown only when the phone/browser can install it,
   or on iPhone with the Share -> Add to Home Screen hint) */
.app-install{display:inline-flex;align-items:center;gap:8px;margin-top:18px;padding:9px 16px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:transparent;color:var(--t-fg-dbe4ee);font:inherit;font-size:14px;cursor:pointer;transition:background .15s,color .15s}
.app-install:hover,.app-install:focus-visible{background:var(--t-bg-ffffff);color:var(--t-fg-0e3659)}
.app-install .icon{width:18px;height:18px}
.app-install[hidden],.app-ios-hint[hidden]{display:none}
.app-ios-hint{margin:10px 0 0;font-size:13px;line-height:1.7;color:var(--t-fg-dbe4ee);max-width:320px}
/* 11 Nov 2026: header wider than the screen (measured with headless Edge, store pill on = worst case): 1101-1320 px +133 px,
   1366 px +54 px (+150 with the store pill), tablets 768 px +33 px with the store pill, phones 390 px +52 px (the theme + English buttons
   came after the 26 Oct phone fix, so pages scrolled sideways and the menu button sat off-screen). Fix by width band; names of icon-only
   pills stay for screen readers (aria-label). Checked 360-1600 px. Undo: delete this block (copy before: brand-2026.css.bak-20261111-roles). */
@media(min-width:601px) and (max-width:1600px){.header-actions .header-pill:not(.join-pill) span{display:none}.header-actions .header-pill:not(.join-pill){padding:9px 11px}}
@media(min-width:481px) and (max-width:760px){
.header-actions .header-pill.join-pill span{display:none}.header-actions .header-pill.join-pill{padding:9px 11px}
.site-header .header-inner{gap:8px}.header-actions{gap:6px}.lang-toggle{padding-inline:8px}.search-toggle{width:38px;height:38px}
.site-header .brand{padding-inline-start:80px}.site-header .brand img{width:72px;height:72px;top:-4px}
}
@media(min-width:1101px) and (max-width:1440px){
.header-actions .header-pill.join-pill span{display:none}.header-actions .header-pill.join-pill{padding:9px 11px}
.site-header .header-inner{gap:12px}.site-header nav{gap:10px}.header-actions{gap:8px}.lang-toggle{padding-inline:8px}
}
@media(min-width:1101px) and (max-width:1320px){
.site-header .brand{padding-inline-start:112px}.site-header .brand img{width:100px;height:100px;top:-8px}
.site-header.is-scrolled .brand,.site-header.search-open .brand{padding-inline-start:78px}
}
@media(max-width:480px){
.site-header .header-inner{gap:6px}.header-actions{gap:6px}
.site-header .brand{padding-inline-start:64px}.site-header .brand img{width:58px;height:58px;top:-2px}
.site-header.is-scrolled .brand,.site-header.search-open .brand{padding-inline-start:60px}
.site-header.is-scrolled .brand img,.site-header.search-open .brand img{width:52px;height:52px;top:1px}
.lang-toggle{padding-inline:8px}.search-toggle{width:38px;height:38px}
}
@media(min-width:481px) and (max-width:540px){
.header-actions .header-pill{display:none}
.site-header nav .nav-ctas{display:flex;flex-wrap:wrap;gap:10px;grid-column:1/-1;padding:4px 0 14px;margin-bottom:6px;border-bottom:1px solid var(--t-bd-e3e7ec)}
.site-header nav .nav-ctas a.header-pill{padding:10px 16px;font-size:14px;color:var(--t-fg-ffffff);background:var(--t-bg-9c1b3d);border-radius:999px}
.site-header nav .nav-ctas a.header-pill span{display:inline}
}
@media(max-width:380px){.site-header .brand{font-size:15px}.site-header .header-inner,.header-actions{gap:4px}.lang-toggle{padding-inline:6px}}
/* 15 Nov: phone menu = one clean list (user: "the list is not proper ... fix it design wise for phones"): full-width rows, the club pages as an
   indented group, the current page in club red with a side bar, panel fills the screen under the header */
@media(max-width:760px){
.site-header nav.open{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:6px 18px 28px;min-height:calc(100dvh - 88px);max-height:calc(100dvh - 88px);overflow-y:auto;overscroll-behavior:contain}
.site-header nav.open>a,.site-header nav.open .nav-group>a{display:flex;align-items:center;justify-content:flex-start;padding:15px 6px;font-size:17px;font-weight:700;color:var(--t-fg-10263d);background:none;border-radius:0;border-bottom:1px solid var(--t-bd-e3e7ec)}
.site-header nav.open .nav-group{border-bottom:1px solid var(--t-bd-e3e7ec)}
.site-header nav.open .nav-group>a{border-bottom:0;padding-bottom:6px}
.site-header nav.open .nav-sub{display:flex;flex-direction:column;gap:0;padding:0 0 10px;border:0;background:none}
.site-header nav.open .nav-sub a{position:relative;display:block;padding:10px 6px;padding-inline-start:26px;font-size:15px;font-weight:600;color:var(--t-fg-5d6b7a);background:none;border-radius:0}
.site-header nav.open .nav-sub a::before{content:"";display:block;position:absolute;inset-inline-start:12px;top:50%;width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.55;transform:translateY(-50%)}
.site-header nav.open>a[aria-current=page],.site-header nav.open .nav-sub a[aria-current=page],.site-header nav.open .nav-group>a[aria-current=page]{background:none;color:var(--t-fg-9c1b3d);box-shadow:inset -3px 0 0 var(--t-bd-9c1b3d);padding-inline-start:14px;border-radius:0}
.site-header nav.open .nav-ctas{order:-1}
}
