.mg-push-ui{--mg-push-accent:#00a878;position:fixed;z-index:99998;left:16px;bottom:78px;direction:rtl;font-family:inherit}.mg-push-bell{position:relative;display:grid;place-items:center;width:46px;height:46px;padding:0;border:0;border-radius:50%;background:var(--mg-push-accent);color:#fff;box-shadow:0 7px 22px rgba(0,0,0,.24);cursor:pointer}.mg-push-bell:before{content:"";width:22px;height:22px;background:#fff;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 8a6 6 0 0 0-5-5.91V1a1 1 0 0 0-2 0v1.09A6 6 0 0 0 6 8c0 7-3 7-3 9h18c0-2-3-2-3-9ZM9.7 19a2.5 2.5 0 0 0 4.6 0H9.7Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 8a6 6 0 0 0-5-5.91V1a1 1 0 0 0-2 0v1.09A6 6 0 0 0 6 8c0 7-3 7-3 9h18c0-2-3-2-3-9ZM9.7 19a2.5 2.5 0 0 0 4.6 0H9.7Z'/%3E%3C/svg%3E") center/contain no-repeat}.mg-push-ui.is-active .mg-push-bell:after{content:"✓";position:absolute;right:-2px;top:-2px;display:grid;place-items:center;width:17px;height:17px;border:2px solid #fff;border-radius:50%;background:#16794e;color:#fff;font-size:11px;font-weight:800}.mg-push-panel{position:absolute;left:0;bottom:58px;box-sizing:border-box;display:grid;grid-template-columns:auto minmax(180px,1fr);grid-template-areas:"mark copy" "action action";gap:12px;width:min(360px,calc(100vw - 32px));padding:17px;border:1px solid rgba(128,128,128,.2);border-radius:18px;background:#fff;color:#18202a;box-shadow:0 15px 45px rgba(0,0,0,.24);opacity:0;transform:translateY(10px) scale(.98);transform-origin:left bottom;transition:opacity .18s,transform .18s}.mg-push-ui.is-open .mg-push-panel{opacity:1;transform:none}.mg-push-mark{grid-area:mark;display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:var(--mg-push-accent);color:#fff;font-size:25px;font-weight:700}.mg-push-copy{grid-area:copy;padding-left:22px}.mg-push-copy strong{display:block;margin-bottom:4px;font-size:16px}.mg-push-status,.mg-push-message{margin:0;color:#596473;font-size:13px;line-height:1.65}.mg-push-message{margin-top:5px;color:#b42318}.mg-push-action{grid-area:action;width:100%;min-height:40px;padding:8px 14px;border:0;border-radius:11px;background:var(--mg-push-accent);color:#fff;font:inherit;font-size:14px;font-weight:700;cursor:pointer}.mg-push-ui.is-active .mg-push-action{background:#eef2f5;color:#344054}.mg-push-action:disabled{opacity:.6;cursor:wait}.mg-push-close{position:absolute;top:7px;left:9px;width:28px;height:28px;padding:0;border:0;background:transparent;color:#667085;font-size:24px;line-height:1;cursor:pointer}@media(prefers-color-scheme:dark){.mg-push-panel{background:#151a20;color:#f5f7fa;border-color:#343b45}.mg-push-status{color:#b6bec9}.mg-push-ui.is-active .mg-push-action{background:#29313a;color:#f5f7fa}}@media(min-width:769px){.mg-push-ui{bottom:24px;left:24px}}@media(max-width:430px){.mg-push-panel{position:fixed;right:12px;left:12px;bottom:78px;width:auto}.mg-push-bell{width:44px;height:44px}}

/* 1.0.13: stay above the visible bottom app bar. 100lvh may include an
   obscured area behind mobile browser chrome and can move the bell off-screen. */
@media(max-width:768px){
  .mg-push-ui{
    top:auto;
    right:16px;
    bottom:calc(var(--mgt-mobile-nav-height,72px) + env(safe-area-inset-bottom) + 6px);
    left:auto;
  }
  .mg-push-panel{
    right:0;
    left:auto;
    transform-origin:right bottom;
  }
}
@media(max-width:430px){
  .mg-push-panel{
    right:12px;
    bottom:calc(var(--mgt-mobile-nav-height,72px) + env(safe-area-inset-bottom) + 64px);
    left:12px;
    width:auto;
  }
}

/* Competition follows share one control on the mobile list and league page. */
.mg-push-follow{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:102px;min-height:38px;padding:6px 14px;border:1.5px solid #1f2328;border-radius:999px;background:transparent;color:#1f2328;font:inherit;font-size:15px;font-weight:700;line-height:1.2;white-space:nowrap;cursor:pointer}
.mg-push-follow.is-following{background:#1f2328;color:#fff}
.mg-push-follow:disabled{opacity:1;cursor:wait}
.mg-push-follow-bell{display:block;width:16px;height:16px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a1 1 0 0 0-1 1v1.1A6 6 0 0 0 6 10c0 4.6-2 5.5-2 7h16c0-1.5-2-2.4-2-7a6 6 0 0 0-5-5.9V3a1 1 0 0 0-1-1ZM9 19a3 3 0 0 0 6 0H9Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a1 1 0 0 0-1 1v1.1A6 6 0 0 0 6 10c0 4.6-2 5.5-2 7h16c0-1.5-2-2.4-2-7a6 6 0 0 0-5-5.9V3a1 1 0 0 0-1-1ZM9 19a3 3 0 0 0 6 0H9Z'/%3E%3C/svg%3E") center/contain no-repeat}
.mg-push-follow.is-following .mg-push-follow-bell{display:none}
html[data-theme="dark"] .mg-push-follow{border-color:#fff;color:#fff}
html[data-theme="dark"] .mg-push-follow.is-following{background:#fff;color:#17191c}
.mg-league-heading>.mg-push-follow{margin-inline-start:auto}
.mgt-competitions-list .mgt-competition-item{display:flex;flex-direction:row;align-items:center;gap:8px;min-width:0;border-bottom:1px solid var(--gray-2)}
.mgt-competition-item:last-child{border-bottom:0}
.mgt-competitions-list .mgt-competition-item>a{flex:1 1 auto;min-width:0;border-bottom:0}
.mgt-competitions-list .mgt-competition-item>.mg-push-follow{min-width:88px;min-height:35px;padding:5px 9px;font-size:14px}
.mg-push-ui>.mg-push-message{position:absolute;bottom:52px;inset-inline-start:0;width:min(290px,calc(100vw - 32px));box-sizing:border-box;margin:0;padding:10px 13px;border-radius:10px;background:#20252b;color:#fff;font-size:13px;line-height:1.5;box-shadow:0 8px 22px rgba(0,0,0,.25)}
.mg-push-ui>.mg-push-message[hidden]{display:none}
html[dir="ltr"] .mg-league-heading{direction:ltr}
@media(min-width:769px){.mg-push-ui,.mgt-competitions-list .mg-push-follow{display:none!important}}
@media(max-width:768px){.mg-league-heading>.mg-push-follow{min-width:83px;min-height:34px;padding:5px 8px;font-size:13px}.mg-league-heading>.mg-push-follow .mg-push-follow-bell{width:14px;height:14px}}
@media(max-width:360px){#SiteContent .mg-league-heading{gap:8px;padding-inline:10px}#SiteContent .mg-league-heading>img{width:42px!important;height:42px!important;flex-basis:42px}.mg-league-heading>.mg-push-follow{min-width:76px;padding-inline:6px}#SiteContent .mg-league-title h1{font-size:17px}}

/* Theme Customizer offsets. Separate directional values make the control
   unambiguous in RTL while retaining the safe per-device anchor above. */
.mg-push-ui{
  left:calc(24px + var(--mg_theme-push-offset-right,0px) - var(--mg_theme-push-offset-left,0px));
  bottom:calc(24px + var(--mg_theme-push-offset-up,0px) - var(--mg_theme-push-offset-down,0px));
  transform:none;
}

/* The panel must stay viewport-relative on phones. A transformed ancestor
   changes fixed-position geometry in Chromium/WebKit and was the source of
   the narrow, distorted first-visit/incognito panel. */
@media(max-width:768px){
  .mg-push-ui{
    right:auto;
    bottom:calc(var(--mgt-mobile-nav-height,72px) + env(safe-area-inset-bottom) + 6px + var(--mg_theme-push-offset-up,0px) - var(--mg_theme-push-offset-down,0px));
    left:calc(16px + var(--mg_theme-push-offset-right,0px) - var(--mg_theme-push-offset-left,0px));
  }
  .mg-push-panel{
    right:auto;
    left:0;
    transform-origin:left bottom;
  }
}

@media(max-width:430px){
  .mg-push-panel{
    box-sizing:border-box;
    right:12px;
    left:12px;
    width:auto;
    max-width:none;
    min-width:0;
    grid-template-columns:44px minmax(0,1fr);
  }

  .mg-push-copy{
    min-width:0;
    padding-left:22px;
  }

  .mg-push-copy strong,
  .mg-push-status,
  .mg-push-message{
    overflow-wrap:anywhere;
  }
}
