/* Mastaba v11.120 — final Al Fateh review authority.
   This file is loaded after the current Production top layer. */

/* Global items explicitly requested for all themes / all new themes. */
.show-hero-v1029:after{content:none!important;display:none!important}
.show-kicker-v1029:before{content:none!important;display:none!important}
html:is([data-theme="alfateh"],[data-theme="alshabab"],[data-theme="atletico"],[data-theme="tottenham"],[data-theme="rajacasablanca"],[data-theme="wydad"],[data-theme="esperance"],[data-theme="clubafricain"],[data-theme="alain"],[data-theme="dortmund"]) body #app #view-show :is(.member-workspace-v1129,[data-member-workspace-v1129]){background:transparent!important;background-image:none!important;border:0!important;outline:0!important;box-shadow:none!important}
body #app #view-profile :is(.form-group>label,.profile-card label,.profile-supported-team-v118>label,.profile-workspace-tabs button){font-weight:900!important}

/* Gameweek Highlights cards are universal Production components.  Deliberately
   do not theme .award-card / .dynamic-highlights card surfaces here. */

/* As Things Stand has no inner outlines in ANY theme.  Only the outer ATS card
   may carry a theme-specific outline.  Navigation controls keep their own
   explicit design because they are controls, not inner score/FT boxes. */
html[data-theme] body #app #view-home .ats-card-v25 :is(.ats-box-v25,.ats-fixture-v25,.ats-metric-v25,.ats-date-v25,.ats-score-v25,.ats-team-v25,.ats-side-v25,.ats-phase-v25,.status-chip){border:0!important;outline:0!important;box-shadow:none!important}

/* Al Fateh Blue / Darker Blue / Green canvas.  These are hard-edged fields, not
   a blended gradient.  The exact assigned palette is used: Blue #202bcb,
   Darker Blue #3b5c8b, Green #7bdd34.  Green is the minority field. */
html[data-theme="alfateh"] body{
  background-color:#202bcb!important;
  background-image:linear-gradient(128deg,#202bcb 0 77%,color-mix(in srgb,#202bcb 82%,#202bcb 18%) 80%,color-mix(in srgb,#202bcb 42%,#202bcb 58%) 85%,color-mix(in srgb,#202bcb 72%,#7bdd34 28%) 90%,color-mix(in srgb,#202bcb 18%,#7bdd34 82%) 96%,#7bdd34 100%)!important;
  background-attachment:fixed!important;background-size:100% 100%!important
}
html[data-theme="alfateh"] body::before,html[data-theme="alfateh"] body::after{content:none!important;display:none!important}
html[data-theme="alfateh"] body #app,html[data-theme="alfateh"] body #app>main,html[data-theme="alfateh"] body #app :is(#view-home,#view-predict,#view-rankings,#view-profile,#view-show,#view-admin){background:transparent!important;background-image:none!important}

/* Top-right Production action boxes — all five are Al Fateh green. */
html[data-theme="alfateh"] body #app .topbar-actions :is(button,a,.user-pill,.icon-button,.icon-btn,.mastaba-bell-v1129,.top-social-link-v1029){background:#7bdd34!important;background-image:none!important;border-color:#202bcb!important;box-shadow:none!important}
html[data-theme="alfateh"] body #app .topbar-actions :is(button,a,.user-pill,.icon-button,.icon-btn,.mastaba-bell-v1129,.top-social-link-v1029),html[data-theme="alfateh"] body #app .topbar-actions :is(button,a,.user-pill,.icon-button,.icon-btn,.mastaba-bell-v1129,.top-social-link-v1029) *{color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-theme="alfateh"] body #app .topbar-actions svg{color:#fff!important;stroke:currentColor!important}

/* Here's What's Happening — white copy; Rankings + Latest Episode green. */
html[data-theme="alfateh"] body #app #view-home .home-command.home-submit-status{background:#202bcb!important;background-image:none!important;color:#fff!important;border-color:#7bdd34!important}
html[data-theme="alfateh"] body #app #view-home .home-command.home-submit-status :is(h1,h2,h3,h4,p,span,strong,b,small,.home-command-status,.home-command-status *){color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-theme="alfateh"] body #app #view-home .home-command-actions .alfateh-green-home-action,html[data-theme="alfateh"] body #app #view-home .home-command-actions .btn:nth-child(2),html[data-theme="alfateh"] body #app #view-home .home-command-actions .btn:nth-child(3){background:#7bdd34!important;background-image:none!important;color:#202bcb!important;-webkit-text-fill-color:#202bcb!important;border-color:#202bcb!important}
html[data-theme="alfateh"] body #app #view-home .home-command-actions .alfateh-blue-home-action,html[data-theme="alfateh"] body #app #view-home .home-command-actions .btn:nth-child(1),html[data-theme="alfateh"] body #app #view-home .home-command-actions .btn:nth-child(4){background:#202bcb!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#7bdd34!important}

/* Gameweek Bulletin — green GW box / blue text; blue scores / white text; green separators. */
html[data-theme="alfateh"] body #app #view-home .bulletin-ticker{background:#202bcb!important;background-image:none!important;color:#fff!important;border:1px solid #7bdd34!important;box-shadow:none!important}
html[data-theme="alfateh"] body #app #view-home .bulletin-ticker:before,html[data-theme="alfateh"] body #app #view-home .bulletin-ticker:after{content:none!important;display:none!important;background:none!important}
html[data-theme="alfateh"] body #app #view-home .bulletin-ticker :is(.ticker-track,.ticker-group,.ticker-match){background:transparent!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-theme="alfateh"] body #app #view-home .bulletin-ticker .ticker-league,html[data-theme="alfateh"] body #app #view-home .bulletin-ticker .ticker-league *{background:#7bdd34!important;background-image:none!important;color:#202bcb!important;-webkit-text-fill-color:#202bcb!important;border-color:#7bdd34!important}
html[data-theme="alfateh"] body #app #view-home .bulletin-ticker .ticker-score{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:30px!important;padding:3px 6px!important;border-radius:8px!important;background:#202bcb!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:0!important;box-shadow:none!important}
html[data-theme="alfateh"] body #app #view-home .bulletin-ticker .ticker-group{border-inline-end:1px solid #7bdd34!important}
html[data-theme="alfateh"] body #app #view-home .bulletin-ticker .ticker-match+.ticker-match{border-inline-start:1px solid #7bdd34!important}
html[data-theme="alfateh"] body #app #view-home .bulletin-ticker .ticker-group:last-child{border-inline-end:0!important}

/* As Things Stand — only the outer card has an outline. */
html[data-theme="alfateh"] body #app #view-home .ats-card-v25{background:#202bcb!important;background-image:none!important;color:#fff!important;border:2px solid #7bdd34!important;outline:0!important;box-shadow:none!important}
html[data-theme="alfateh"] body #app #view-home .ats-card-v25 :is(.ats-head-v25,.ats-footer-v25){background:#202bcb!important;background-image:none!important;color:#fff!important;border:0!important;outline:0!important;box-shadow:none!important}
html[data-theme="alfateh"] body #app #view-home .ats-card-v25 :is(.ats-box-v25,.ats-fixture-v25,.ats-metric-v25,.ats-date-v25,.ats-score-v25,.ats-team-v25,.ats-side-v25){background:#7bdd34!important;background-image:none!important;color:#202bcb!important;border:0!important;outline:0!important;box-shadow:none!important}
html[data-theme="alfateh"] body #app #view-home .ats-card-v25 :is(.ats-box-v25,.ats-fixture-v25,.ats-metric-v25,.ats-date-v25,.ats-score-v25,.ats-team-v25,.ats-side-v25) *{color:inherit!important;-webkit-text-fill-color:currentColor!important}
html[data-theme="alfateh"] body #app #view-home .ats-card-v25 :is(.ats-phase-v25,.status-chip,.ats-phase-v25.final,.status-chip.final){border:0!important;outline:0!important;box-shadow:none!important}
html[data-theme="alfateh"] body #app #view-home .ats-card-v25 .ats-pager-v25 button{background:#7bdd34!important;background-image:none!important;color:#202bcb!important;-webkit-text-fill-color:#202bcb!important;border:0!important;outline:0!important;box-shadow:none!important}
html[data-theme="alfateh"] body #app #view-home .ats-card-v25 .ats-dot-v25{background:#7bdd34!important;border:0!important;box-shadow:none!important}

/* This Week — bottom three cards use white text. */
html[data-theme="alfateh"] body #app #view-home :is(.home-gameweek-card,.home-points-card,.league-rank-card),html[data-theme="alfateh"] body #app #view-home .grid-3 :is(.stat-card,.home-gameweek-card,.home-points-card,.league-rank-card){background:#202bcb!important;background-image:none!important;color:#fff!important;border-color:#7bdd34!important}
html[data-theme="alfateh"] body #app #view-home :is(.home-gameweek-card,.home-points-card,.league-rank-card) *,html[data-theme="alfateh"] body #app #view-home .grid-3 :is(.stat-card,.home-gameweek-card,.home-points-card,.league-rank-card) *{color:#fff!important;-webkit-text-fill-color:#fff!important}

/* Predict — Gameweek Performance is solid blue. */
html[data-theme="alfateh"] body #app #view-predict :is(.alfateh-gw-performance-v1202,[class*="gameweek-performance"],[class*="performance-card"],[class*="performance-box"]){background:#202bcb!important;background-image:none!important;color:#fff!important;border-color:#7bdd34!important;box-shadow:none!important}
html[data-theme="alfateh"] body #app #view-predict :is(.alfateh-gw-performance-v1202,[class*="gameweek-performance"],[class*="performance-card"],[class*="performance-box"]) *{color:#fff!important;-webkit-text-fill-color:#fff!important}

/* Predict — ordinary positive result feedback reuses the exact First Team /
   First Goalscorer selection fill family: selectionA -> selectionB. */
html[data-theme="alfateh"] body #app #view-predict .match-footer:is(.points,.great,.double-good){background:linear-gradient(90deg,var(--theme-selection-a),var(--theme-selection-b))!important;background-image:linear-gradient(90deg,var(--theme-selection-a),var(--theme-selection-b))!important;color:#fff!important;border-top-color:#7bdd34!important;box-shadow:none!important}
html[data-theme="alfateh"] body #app #view-predict .match-footer:is(.points,.great,.double-good) :is(.footer-points,strong){color:#fff!important;-webkit-text-fill-color:#fff!important}

/* Rankings — Overall/Gameweek underline green. */
html[data-theme="alfateh"] body #app #view-rankings :is(.rank-glider-v19,.segmented .rank-glider-v19,.seg-btn.active:after,.official-rank-tabs-v11281 button.active:after){background:#7bdd34!important;background-image:none!important;border-color:#7bdd34!important}
html[data-theme="alfateh"] body #app #view-rankings .segmented{--leader-tab-line:#7bdd34!important}

/* Mastaba page — From the Show + Write a Question solid blue. */
html[data-theme="alfateh"] body #app #view-show .show-hero-v1029{background:#202bcb!important;background-image:none!important;color:#fff!important;border-color:#7bdd34!important;box-shadow:none!important}
html[data-theme="alfateh"] body #app #view-show .show-hero-v1029 :is(h1,h2,h3,p,small,strong,span,.show-kicker-v1029){color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-theme="alfateh"] body #app #view-show .show-ask-box-v11281{background:#202bcb!important;background-image:none!important;color:#fff!important;border-color:#7bdd34!important;box-shadow:none!important}
html[data-theme="alfateh"] body #app #view-show .show-ask-box-v11281 :is(h1,h2,h3,p,label,small,strong,span){color:#fff!important;-webkit-text-fill-color:#fff!important}

/* Profile — green Performance; blue Rules; green points + notification outline. */
html[data-theme="alfateh"] body #app #view-profile .profile-performance-pane{background:#7bdd34!important;background-image:none!important;color:#202bcb!important;border-color:#202bcb!important;box-shadow:none!important}
html[data-theme="alfateh"] body #app #view-profile .profile-performance-pane *{color:#202bcb!important;-webkit-text-fill-color:#202bcb!important}
html[data-theme="alfateh"] body #app #view-profile .profile-rules-pane-v1037,html[data-theme="alfateh"] body #app #view-profile .profile-rules-pane-v1037 .rule-card{background:#202bcb!important;background-image:none!important;color:#fff!important;border-color:#7bdd34!important;box-shadow:none!important}
html[data-theme="alfateh"] body #app #view-profile .profile-rules-pane-v1037 :is(h1,h2,h3,h4,p,span,strong,b,small,td,th){color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-theme="alfateh"] body #app #view-profile .profile-rules-pane-v1037 .points-pill{background:#7bdd34!important;background-image:none!important;color:#202bcb!important;-webkit-text-fill-color:#202bcb!important;border-color:#7bdd34!important}
html[data-theme="alfateh"] body #app #view-profile :is(.notifications-pane-v1129,.notification-row-v1129){border-color:#7bdd34!important;outline-color:#7bdd34!important}

/* v11.120 review follow-up: universal worksheet interpretation rules. */
html:is([data-theme="alfateh"],[data-theme="alshabab"],[data-theme="atletico"],[data-theme="tottenham"],[data-theme="rajacasablanca"],[data-theme="wydad"],[data-theme="esperance"],[data-theme="clubafricain"],[data-theme="alain"],[data-theme="dortmund"],[data-theme="essetif"],[data-theme="cssfaxien"]) body #app #view-home .ats-card-v25 :is(.ats-box-v25,.ats-fixture-v25,.ats-metric-v25,.ats-date-v25,.ats-score-v25,.ats-team-v25,.ats-side-v25){border:0!important;outline:0!important;box-shadow:none!important}

/* v11.120 shared status/chrome polish v2 */
html[data-theme="alfateh"] body #app #view-home .bulletin-ticker .ticker-match>em{background:#7bdd34!important;background-image:none!important;color:#202bcb!important;-webkit-text-fill-color:#202bcb!important;border:1px solid #7bdd34!important;border-radius:999px!important;padding:3px 6px!important;line-height:1!important;font-style:normal!important;font-weight:1000!important;box-shadow:none!important}
html[data-theme="alfateh"] body #app #view-predict .match-card-head .status-chip{background:#7bdd34!important;background-image:none!important;color:#202bcb!important;-webkit-text-fill-color:#202bcb!important;border:0!important;box-shadow:none!important}
html[data-theme="alfateh"] body #app .topbar #userSwitcher #topUserName{color:inherit!important;-webkit-text-fill-color:currentColor!important}
