/* ASHE My ASHE & Live Match Center v5.0.1 */
.visual-identity-v50{
  --my-navy:#041832;
  --my-navy-2:#082f63;
  --my-blue:#0b63ce;
  --my-red:#b21f29;
  --my-red-bright:#dc3545;
  --my-line:#dbe4ee;
  --my-muted:#68758a;
  --my-shadow:0 24px 70px rgba(4,24,50,.16);
}

.my-ashe-section{
  position:relative;
  overflow:hidden;
  padding:84px 0;
  background:
    radial-gradient(circle at 86% 17%,rgba(22,116,224,.13),transparent 28rem),
    radial-gradient(circle at 8% 82%,rgba(178,31,41,.09),transparent 25rem),
    linear-gradient(180deg,#f7f9fc,#eef3f8);
}
.my-ashe-section:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.3;
  background-image:linear-gradient(rgba(4,24,50,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(4,24,50,.035) 1px,transparent 1px);
  background-size:54px 54px;
  mask-image:linear-gradient(to bottom,transparent,black 25%,black 75%,transparent);
}
.my-ashe-container{position:relative;z-index:1}
.my-ashe-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:28px}
.my-ashe-heading>div:first-child{max-width:760px}
.my-ashe-heading h2{margin:7px 0 12px;color:var(--my-navy);font:800 clamp(38px,6vw,64px)/1 Manrope,Arial,sans-serif;letter-spacing:-.045em}
.my-ashe-heading p:not(.eyebrow){max-width:700px;margin:0;color:#536176;font-size:14px;line-height:1.75}
.my-ashe-capabilities{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.my-ashe-capabilities span{display:inline-flex;min-height:42px;padding:8px 12px;border:1px solid #d7e1ec;border-radius:999px;background:rgba(255,255,255,.88);color:#263a55;align-items:center;gap:7px;font-size:11px;font-weight:900;box-shadow:0 8px 24px rgba(4,24,50,.06)}
.my-ashe-capabilities .ui-icon{width:17px;height:17px;color:var(--my-blue)}

.my-ashe-shell{overflow:hidden;border:1px solid rgba(4,24,50,.08);border-radius:26px;background:#fff;box-shadow:var(--my-shadow)}
.my-ashe-setup{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:330px;background:linear-gradient(135deg,#03152d 0,#062b5b 58%,#0b63ce 145%);color:#fff}
.my-ashe-setup__mark{position:relative;display:grid;overflow:hidden;border-right:1px solid rgba(255,255,255,.1);place-items:center}
.my-ashe-setup__mark:before,.my-ashe-setup__mark:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.08);border-radius:50%}
.my-ashe-setup__mark:before{width:250px;height:250px}
.my-ashe-setup__mark:after{width:150px;height:150px}
.my-ashe-setup__mark img{position:relative;z-index:1;width:142px;height:142px;object-fit:contain;filter:drop-shadow(0 18px 28px rgba(0,0,0,.34))}
.my-ashe-setup__copy{display:flex;max-width:780px;padding:42px 46px;justify-content:center;flex-direction:column}
.my-ashe-setup__copy>span{color:#78b5ff;font-size:10px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.my-ashe-setup h3{margin:8px 0 10px;font-size:clamp(28px,4vw,44px);line-height:1.1;letter-spacing:-.035em}
.my-ashe-setup p{max-width:650px;margin:0 0 23px;color:#c7d7ea;font-size:13px;line-height:1.7}
.my-ashe-setup label{margin-bottom:7px;color:#fff;font-size:11px;font-weight:900}
.my-ashe-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}
.my-ashe-picker select{width:100%;min-height:50px;padding:0 14px;border:1px solid rgba(255,255,255,.2);border-radius:11px;background:#fff;color:#13223a;font-size:13px;font-weight:800;outline:0}
.my-ashe-picker select:focus{border-color:#79b8ff;box-shadow:0 0 0 4px rgba(73,153,247,.24)}
.my-ashe-picker .button{min-width:145px;min-height:50px;border-radius:11px}
.my-ashe-setup__copy>small{display:block;margin-top:10px;color:#93a9c2;font-size:10px;line-height:1.5}

.my-ashe-dashboard{padding:0;background:#fff}
.my-ashe-team-header{display:flex;min-height:125px;padding:24px 27px;border-bottom:1px solid #e2e9f1;background:linear-gradient(135deg,#03152d,#083a79);color:#fff;align-items:center;justify-content:space-between;gap:22px}
.my-ashe-team-title{display:flex;min-width:0;align-items:center;gap:16px}
.my-ashe-team-badge{display:grid;min-width:67px;height:67px;padding:0 10px;border:1px solid rgba(255,255,255,.16);border-radius:19px;background:rgba(255,255,255,.1);color:#fff;place-items:center;font:700 18px Oswald,sans-serif;letter-spacing:.02em;box-shadow:inset 0 1px 0 rgba(255,255,255,.12)}
.my-ashe-team-title small{display:block;color:#7eb8ff;font-size:10px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
.my-ashe-team-title h3{margin:3px 0 2px;font-size:clamp(24px,4vw,36px);line-height:1.08;letter-spacing:-.03em}
.my-ashe-team-title p{margin:0;color:#b9cce1;font-size:12px}
.my-ashe-team-actions{display:flex;flex:none;gap:8px}
.my-ashe-team-actions .button{min-height:43px;padding:9px 13px;border-radius:10px;font-size:10px}
.my-ashe-team-actions .button--outline{border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.08);color:#fff}

.my-ashe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:22px}
.my-ashe-card{position:relative;display:grid;min-height:225px;padding:20px;overflow:hidden;border:1px solid var(--my-line);border-radius:18px;background:linear-gradient(150deg,#fff,#f8fafc);grid-template-rows:auto 1fr;gap:15px;box-shadow:0 10px 28px rgba(4,24,50,.055);transition:transform .25s,box-shadow .25s,border-color .25s}
.my-ashe-card:hover{transform:translateY(-4px);border-color:#bdcbdc;box-shadow:0 20px 45px rgba(4,24,50,.11)}
.my-ashe-card:after{content:"";position:absolute;right:-40px;bottom:-58px;width:125px;height:125px;border:22px solid rgba(11,99,206,.04);border-radius:50%}
.my-ashe-card__icon{display:grid;width:45px;height:45px;border-radius:13px;background:#edf4fc;color:var(--my-blue);place-items:center}
.my-ashe-card--match .my-ashe-card__icon{background:#fff0f2;color:var(--my-red)}
.my-ashe-card--news .my-ashe-card__icon{background:#eef8f4;color:#12825b}
.my-ashe-card__icon .ui-icon{width:22px;height:22px}
.my-ashe-card>div{position:relative;z-index:1;display:flex;min-width:0;flex-direction:column}
.my-ashe-card small{color:#7a8799;font-size:10px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.my-ashe-card h4{margin:7px 0 7px;color:#0a1c37;font-size:18px;line-height:1.3}
.my-ashe-card p{margin:0;color:#66748a;font-size:11px;line-height:1.6}
.my-ashe-card a{display:inline-flex;width:max-content;min-height:38px;margin-top:auto;padding:8px 11px;border-radius:9px;background:#edf4fc;color:#0b5db8;align-items:center;font-size:10px;font-weight:900}
.my-ashe-card--match a{background:#fff0f2;color:#a51e28}
.my-ashe-card--news a{background:#edf8f4;color:#137753}
.my-ashe-card.is-live{border-color:rgba(213,53,65,.42);background:linear-gradient(145deg,#fff7f8,#fff)}
.my-ashe-live-row{display:flex;align-items:center;gap:7px;color:#b21f29;font-size:11px;font-weight:900}
.my-ashe-live-row i{width:8px;height:8px;border-radius:50%;background:#e32e3c;box-shadow:0 0 0 5px rgba(227,46,60,.12);animation:asheLivePulse 1.6s infinite}
.my-ashe-score{display:block;margin:8px 0 3px;color:#071a35;font:700 28px Oswald,sans-serif}

.my-ashe-preferences{display:flex;padding:18px 22px;border-top:1px solid #e2e9f1;background:#f8fafc;align-items:center;justify-content:space-between;gap:20px}
.my-ashe-preferences strong{display:block;color:#13233d;font-size:12px}
.my-ashe-preferences small{display:block;max-width:640px;margin-top:3px;color:#748197;font-size:10px;line-height:1.5}
.my-ashe-preferences__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}
.my-ashe-preferences__actions button{display:inline-flex;min-height:42px;padding:8px 11px;border:1px solid #d4deea;border-radius:10px;background:#fff;color:#172b47;align-items:center;gap:7px;font-size:10px;font-weight:900;cursor:pointer}
.my-ashe-preferences__actions button:hover{border-color:#9fb3ca;background:#f4f8fc}
.my-ashe-preferences__actions .ui-icon{width:16px;height:16px;color:var(--my-blue)}
.my-ashe-preferences__actions .my-ashe-clear{color:#9d2630}
.my-ashe-status{min-height:0;margin:0;padding:0 22px;background:#f8fafc;color:#176748;font-size:10px;font-weight:800}
.my-ashe-status:not(:empty){padding-bottom:15px}

/* Live Match Center */
.fixture-filter--live{display:inline-flex!important;align-items:center;gap:6px}
.fixture-filter--live>span,.fixture-card__status.is-live i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#e72f3d;box-shadow:0 0 0 4px rgba(231,47,61,.13)}
.fixture-filter--live.active>span,.fixture-card__status.is-live i{animation:asheLivePulse 1.6s infinite}
.fixture-card--live{border-color:rgba(190,40,52,.42)!important;box-shadow:0 18px 42px rgba(178,31,41,.13)!important}
.fixture-card--live:before{content:"LIVE";position:absolute;top:0;right:18px;padding:3px 8px;border-radius:0 0 8px 8px;background:#c72431;color:#fff;font-size:8px;font-weight:900;letter-spacing:.08em}
.fixture-card__status.status-live,.fixture-card__status.status-halftime{display:inline-flex;align-items:center;gap:7px;background:#fff0f2;color:#b21f29}
.fixture-card__status.status-completed{background:#e9f5ef;color:#14744f}
.fixture-card__status.status-postponed{background:#fff7e5;color:#946300}
.fixture-card__status.status-cancelled{background:#eef1f5;color:#5b6778}
.fixture-card__live-meta{margin:0 15px 12px;padding:8px 10px;border-radius:9px;background:#fff4f5;color:#a51f29;font-size:10px;font-weight:800;text-align:center}
.next-match--live{background:linear-gradient(145deg,#3a0710,#811923)!important}
.next-match--live .panel-heading{border-bottom-color:rgba(255,255,255,.17)}
.next-match--live .versus{color:#fff;font-size:34px}
.next-live{display:grid;margin:0 14px 12px;padding:13px 14px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:rgba(255,255,255,.08);grid-template-columns:auto 1fr auto;align-items:center;gap:8px}
.next-live[hidden]{display:none!important}
.next-live__pulse{width:9px;height:9px;border-radius:50%;background:#ff4451;box-shadow:0 0 0 6px rgba(255,68,81,.13);animation:asheLivePulse 1.6s infinite}
.next-live strong{font-size:11px;text-transform:uppercase}
.next-live b{font:700 23px Oswald,sans-serif}
.next-live small{grid-column:1/-1;color:#f1bdc2;font-size:9px;line-height:1.45}

/* Favourite buttons on public team pages */
.public-page .my-ashe-favourite{border-color:rgba(11,99,206,.32);background:#edf4fc;color:#0b5db8}
.public-page .my-ashe-favourite.is-favourite{border-color:#b21f29;background:#fff0f2;color:#a51f29}

/* PWA install helper */
[data-install-app][hidden]{display:none!important}
[data-install-app].is-ready{display:inline-flex}

@keyframes asheLivePulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.55;transform:scale(.82)}}
@media(prefers-reduced-motion:reduce){.my-ashe-live-row i,.fixture-filter--live.active>span,.fixture-card__status.is-live i,.next-live__pulse{animation:none}}

@media(max-width:980px){
  .my-ashe-heading{align-items:flex-start;flex-direction:column}
  .my-ashe-capabilities{justify-content:flex-start}
  .my-ashe-grid{grid-template-columns:1fr 1fr}
  .my-ashe-card--news{grid-column:1/-1}
  .my-ashe-preferences{align-items:flex-start;flex-direction:column}
  .my-ashe-preferences__actions{justify-content:flex-start}
}
@media(max-width:700px){
  .my-ashe-section{padding:60px 0}
  .my-ashe-heading{margin-bottom:20px}
  .my-ashe-heading h2{font-size:43px}
  .my-ashe-heading p:not(.eyebrow){font-size:12px}
  .my-ashe-capabilities{width:100%;display:grid;grid-template-columns:repeat(3,1fr)}
  .my-ashe-capabilities span{padding:7px 5px;justify-content:center;font-size:9px}
  .my-ashe-shell{border-radius:19px}
  .my-ashe-setup{grid-template-columns:1fr}
  .my-ashe-setup__mark{min-height:142px;border-right:0;border-bottom:1px solid rgba(255,255,255,.1)}
  .my-ashe-setup__mark:before{width:180px;height:180px}
  .my-ashe-setup__mark:after{width:105px;height:105px}
  .my-ashe-setup__mark img{width:96px;height:96px}
  .my-ashe-setup__copy{padding:27px 19px 31px}
  .my-ashe-setup h3{font-size:31px}
  .my-ashe-picker{grid-template-columns:1fr}
  .my-ashe-picker .button{width:100%}
  .my-ashe-team-header{align-items:flex-start;flex-direction:column;padding:20px}
  .my-ashe-team-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .my-ashe-team-actions .button{width:100%}
  .my-ashe-grid{grid-template-columns:1fr;padding:14px}
  .my-ashe-card--news{grid-column:auto}
  .my-ashe-card{min-height:200px}
  .my-ashe-preferences{padding:16px}
  .my-ashe-preferences__actions{width:100%;display:grid;grid-template-columns:1fr}
  .my-ashe-preferences__actions button{width:100%;justify-content:center}
  .fixture-card--live:before{right:12px;font-size:7px}
}
