/* OnlyShows 0.12.6: clean quick-watch feedback and a fully visible mobile toast. */

.card-quick-watch {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  appearance: none !important;
  -webkit-appearance: none !important;
  -webkit-tap-highlight-color: transparent;
  background-clip: border-box !important;
  clip-path: circle(50% at 50% 50%);
}

.card-quick-watch::before,
.card-quick-watch::after {
  content: none !important;
}

.card-quick-watch .check-glyph,
.card-quick-watch .check-glyph::before {
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
}

.card-quick-watch.is-confirming {
  border-color: transparent !important;
  border-radius: 50% !important;
  background: var(--theme-accent) !important;
  background-clip: border-box !important;
  color: #fff !important;
  box-shadow: none !important;
}

.card-quick-watch.is-confirming .check-glyph {
  width: 100%;
  height: 100%;
}

.card-quick-watch:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}

/* Wallpaper themes used to turn the body-level toast into a relative element. */
html body > .toast {
  position: fixed !important;
  z-index: 10000 !important;
  top: auto !important;
  right: auto !important;
  bottom: 26px !important;
  left: 50% !important;
  margin: 0 !important;
  transform: translate(-50%, 20px) !important;
}

html body > .toast.show {
  transform: translate(-50%, 0) !important;
}

@media (max-width: 719px) {
  html body > .toast {
    top: calc(env(safe-area-inset-top) + var(--mobile-content-cut, 62px) + 10px) !important;
    bottom: auto !important;
    transform: translate(-50%, -10px) !important;
  }

  html body > .toast.show {
    transform: translate(-50%, 0) !important;
  }
}
