/* PWA matchnotiser */
.notification-fab{
  position:fixed;
  z-index:88;
  right:18px;
  bottom:18px;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:50%;
  background:#071a2a;
  color:#fff;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
  cursor:pointer;
}
.notification-fab>span{
  width:15px;height:15px;border:3px solid #fff;border-radius:50%;
  background:transparent;
}
.notification-fab b{
  position:absolute;right:-3px;top:-3px;min-width:20px;height:20px;padding:0 5px;
  display:grid;place-items:center;border-radius:999px;background:#d72c2c;
  color:#fff;font-size:9px
}
.notification-panel{
  position:fixed;
  z-index:1200;
  right:18px;
  bottom:78px;
  width:min(390px,calc(100vw - 24px));
  max-height:min(680px,calc(100vh - 110px));
  overflow:auto;
  padding:17px;
  border:1px solid #dfe5e9;
  border-radius:14px;
  background:#fff;
  color:#071a2a;
  box-shadow:0 22px 60px rgba(0,0,0,.24);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(12px);
  transition:.16s ease;
}
.notification-panel.open{
  opacity:1;visibility:visible;pointer-events:auto;transform:none
}
.notification-panel-head,
.notification-feed-head{
  display:flex;align-items:center;justify-content:space-between;gap:15px
}
.notification-panel-head{
  padding-bottom:13px;border-bottom:1px solid #e3e8eb
}
.notification-panel-head small{
  display:block;color:#005baa;font-size:8px;font-weight:900;letter-spacing:.12em
}
.notification-panel-head strong{display:block;margin-top:3px;font-size:18px}
.notification-panel-head button{
  width:36px;height:36px;border:0;border-radius:50%;background:#eef2f5;
  font-size:22px;cursor:pointer
}
.notification-permission{
  margin:14px 0;padding:14px;background:#f4f8fb;border:1px solid #dce6ed
}
.notification-permission strong{display:block}
.notification-permission p{
  margin:5px 0 10px;color:#697984;font-size:11px;line-height:1.45
}
.notification-permission button{
  min-height:40px;padding:0 13px;border:0;border-radius:4px;
  background:#005baa;color:#fff;font-weight:900;cursor:pointer
}
.notification-permission button:disabled{opacity:.65}
.notification-permission small{
  display:block;margin-top:8px;color:#74818a;font-size:9px
}
.notification-feed-head{margin-bottom:7px}
.notification-feed-head strong{font-size:12px}
.notification-feed-head button{
  border:0;background:none;color:#005baa;font-size:9px;font-weight:900;cursor:pointer
}
.notification-item{
  display:block;padding:11px 0;border-top:1px solid #e5eaed;
  color:#071a2a;text-decoration:none
}
.notification-item small{display:block;color:#87939a;font-size:8px}
.notification-item strong{display:block;margin:2px 0;font-size:11px}
.notification-item p{margin:0;color:#687781;font-size:10px;line-height:1.4}
.notification-empty{padding:14px 0;color:#75828b;font-size:10px}
.mobile-more-link-button{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  width:100%!important;min-height:46px!important;padding:0 2px!important;
  border:0!important;border-bottom:1px solid #dfe5e9!important;border-radius:0!important;
  background:transparent!important;color:#071a2a!important;font-weight:800!important;text-align:left!important
}
@media(max-width:760px){
  .notification-fab{
    right:14px;
    bottom:82px;
    width:44px;height:44px
  }
  .notification-panel{
    left:10px;right:10px;bottom:78px;width:auto;max-height:72vh
  }
}

/* Matchnotiser 2.0 */
.notification-preferences{
  margin:0 0 16px;
  padding:13px 14px;
  border:1px solid #e0e7eb;
  background:#fff;
}
.notification-preferences-head{
  margin-bottom:8px;
}
.notification-preferences-head strong{
  display:block;
  font-size:11px;
}
.notification-preferences-head small{
  display:block;
  margin-top:2px;
  color:#7b8890;
  font-size:8px;
}
.notification-preferences>label{
  display:grid;
  grid-template-columns:20px minmax(0,1fr);
  gap:8px;
  align-items:start;
  padding:9px 0;
  border-top:1px solid #edf1f3;
  cursor:pointer;
}
.notification-preferences>label:first-of-type{
  border-top:0;
}
.notification-preferences input{
  width:17px;
  height:17px;
  margin:1px 0 0;
  accent-color:#005baa;
}
.notification-preferences span b{
  display:block;
  font-size:10px;
}
.notification-preferences span small{
  display:block;
  margin-top:2px;
  color:#75828a;
  font-size:8px;
  line-height:1.35;
}
.notification-item{
  display:grid;
  grid-template-columns:30px minmax(0,1fr);
  gap:9px;
  align-items:start;
}
.notification-item-icon{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  margin-top:2px;
  border-radius:50%;
  background:#eef5fa;
  color:#005baa;
  font-size:12px;
  font-weight:900;
}
.notification-item-copy{
  min-width:0;
}
.notification-type-new_match .notification-item-icon{
  background:#e9f6ee;
  color:#257447;
}
.notification-type-match_changed .notification-item-icon{
  background:#fff4df;
  color:#8f5e00;
}
.notification-type-lineup_published .notification-item-icon{
  background:#eef5fa;
  color:#005baa;
}
.notification-type-report_published .notification-item-icon{
  background:#f3eef9;
  color:#65418b;
}
