/* The ascii theme lives in the last cascade layer and uses !important, so these
   overrides join that same layer and load after it. */
@layer ascii {

html#digivated-root body.platform .motion-toast:popover-open {
  position: fixed !important;
  inset: auto auto calc(88px + env(safe-area-inset-bottom)) auto !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: max-content !important;
  max-width: calc(100vw - 32px) !important;
  margin: 0 !important;
  z-index: 4000 !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #18181b !important;
  box-shadow: 0 8px 24px rgba(24, 24, 27, .12) !important;
  padding: 10px 14px !important;
}
@media (min-width: 641px) {
  html#digivated-root body.platform .motion-toast:popover-open {
    inset: auto auto max(22px, env(safe-area-inset-bottom)) auto !important;
  }
}
html#digivated-root body.platform .motion-toast button {
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  text-decoration: underline !important;
  min-height: 32px !important;
}

html#digivated-root .dg-celebrate-mark {
  border: 1px solid #e4e4e7 !important;
  background: #fff !important;
  color: #18181b !important;
}
html#digivated-root .dg-celebrate i { background: #a1a1aa !important; }

html#digivated-root .dg-empty,
html#digivated-root .dg-empty p { color: #3f3f46 !important; background: transparent !important; }
html#digivated-root .dg-empty h3 { color: #18181b !important; background: transparent !important; }
html#digivated-root .dg-empty-art { color: #a1a1aa !important; }

html#digivated-root .maker-badge {
  border: 1px solid #e4e4e7 !important;
  background: #fafafa !important;
  color: #3f3f46 !important;
  text-decoration: none !important;
}

html#digivated-root .share-sheet {
  border: 1px solid #e4e4e7 !important;
  background: #fff !important;
  color: #18181b !important;
}
html#digivated-root .share-card,
html#digivated-root .share-card-copy p { background: #fff !important; color: #52525b !important; }
html#digivated-root .share-card { border: 1px solid #e6e6ea !important; }
html#digivated-root .share-card-votes { color: #18181b !important; }
html#digivated-root .share-sheet .share-links a,
html#digivated-root .share-sheet .share-links button {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 36px !important;
  padding: 0 12px !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #18181b !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

html#digivated-root .launch-dots button {
  width: 9px !important;
  height: 9px !important;
  min-height: 9px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 99px !important;
  background: #d4d4d8 !important;
  text-decoration: none !important;
}
html#digivated-root .launch-dots button[aria-current="true"] {
  width: 22px !important;
  background: #18181b !important;
}

@media (max-width: 720px) {
  html#digivated-root .dg-dir-chipbar button {
    min-height: 36px !important;
    padding: 0 12px !important;
    border: 1px solid #d4d4d8 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #18181b !important;
    text-decoration: none !important;
    opacity: 1 !important;
  }
  html#digivated-root .dg-dir-chipbar button[aria-pressed="true"] {
    border-color: #18181b !important;
    background: #18181b !important;
    color: #fff !important;
    text-decoration: none !important;
  }
}

html#digivated-root .dg-tab-count {
  background: #18181b !important;
  color: #fff !important;
}
html#digivated-root .submission-image-error { color: #9f1239 !important; }
}
