:root {
  --notice-background-color: rgba(0, 0, 0, 0.82);
  --notice-font-color: rgba(150, 150, 150, 0.9);
}

html[data-theme="light"] {
  --notice-background-color: rgba(20, 20, 20, 0.94);
  --notice-font-color: rgba(180, 180, 180, 0.9);
}

html[data-theme="dark"] {
  --notice-background-color: rgba(0, 0, 0, 0.82);
  --notice-font-color: rgba(150, 150, 150, 0.9);
}

#btp-notice-container {
  position: fixed;
  top: 8vh;
  right: 1em;
  margin-top: 1em;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  min-width: 18em;
  max-width: min(30em, 80vw);
  min-height: 4em;
  border-radius: 1.1em;
  background-color: var(--notice-background-color);
  box-shadow: 0 0 1.2em rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: row;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: visibility 200ms, opacity 200ms ease-in;
  -moz-transition: visibility 200ms, opacity 200ms ease-in;
  transition: visibility 200ms, opacity 200ms ease-in;
}

.btp-notice-animate-in {
  animation: glidein 200ms linear forwards;
}

.btp-notice-animate-out {
  animation: glideout 200ms linear forwards;
}

@keyframes glidein {
  from {
    top: 0;
    opacity: 0;
  }
  to {
    top: 8vh;
    opacity: 0.9;
  }
}

@keyframes glideout {
  from {
    top: 8vh;
    opacity: 0.9;
  }
  to {
    top: 0;
    opacity: 0;
  }
}

#btp-notice-text-container {
  width: 67%;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 1em;
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  font-size: 1.1em;
  text-align: center;
  color: var(--notice-font-color);
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: pre-line;
}

#btp-notice-icon-container {
  width: 2.4em;
  height: 2.4em;
  border-radius: 0.4em;
}

.countdown-svg {
  width: 2.4em;
  height: 2.4em;
  transform: rotateY(-180deg) rotateZ(-90deg);
}

@keyframes countdown {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: 460;
  }
}


