/* Signed-in players go straight from their account strip to New Match. */
body.dmc-signed-in-home .hero .intro {
  min-height: 0 !important;
  padding-top: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.dmc-signed-in-home .hero .intro::before,
body.dmc-signed-in-home .hero .intro::after {
  display: none !important;
}

body.dmc-signed-in-home .hero .intro > .eyebrow,
body.dmc-signed-in-home .hero .intro > h1,
body.dmc-signed-in-home .hero .intro > .lead,
body.dmc-signed-in-home .hero .intro > .hero-actions,
body.dmc-signed-in-home .hero .intro > .dmc-mobile-intro-toggle,
body.dmc-signed-in-home .dmc-green-home-heading,
body.dmc-signed-in-home #dscWideGameOn {
  display: none !important;
}

@media (max-width: 900px) {
  body.dmc-signed-in-home #dscScorePreview {
    display: none !important;
  }
}

/* Give the primary action a clear arena-style pulse without moving nearby controls. */
html body.dmc-pro.dmc-page-index #startForm button#btnStart {
  position: relative;
  isolation: isolate;
  overflow: visible;
  border-color: #55f2e7 !important;
  background: linear-gradient(115deg, #49dce8, #59ead1, #b5ee71, #49dce8) !important;
  background-size: 240% 240% !important;
  color: #08111b !important;
  animation: dmc-start-match-colour 2.8s ease-in-out infinite;
}

html body.dmc-pro.dmc-page-index #startForm button#btnStart::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -5px;
  border: 2px solid rgba(85, 242, 231, 0.78);
  border-radius: inherit;
  pointer-events: none;
  animation: dmc-start-match-ring 2.8s ease-out infinite;
}

html body.dmc-pro.dmc-page-index #startForm button#btnStart:disabled,
html body.dmc-pro.dmc-page-index #startForm button#btnStart:disabled::after {
  animation: none;
}

@keyframes dmc-start-match-colour {
  0%, 100% { background-position: 0% 50%; filter: brightness(1); }
  50% { background-position: 100% 50%; filter: brightness(1.17); }
}

@keyframes dmc-start-match-ring {
  0%, 100% { opacity: 0.28; transform: scale(0.985); box-shadow: 0 0 0 rgba(85, 242, 231, 0); }
  50% { opacity: 0.95; transform: scale(1.025); box-shadow: 0 0 24px rgba(85, 242, 231, 0.48); }
}

@media (prefers-reduced-motion: reduce) {
  html body.dmc-pro.dmc-page-index #startForm button#btnStart,
  html body.dmc-pro.dmc-page-index #startForm button#btnStart::after {
    animation: none !important;
  }
}
