/* Temporary inlined css classes from SFCs to prevent conflicts with old classes from styles.css */

/* HintText.vue */

.o-hint-text {
  font-size: 1.5rem;
  color: white;
  text-shadow:
    -0.1rem -0.1rem 0 black,
    -0.1rem -0.1rem 0 black,
    0.1rem -0.1rem 0 black,
    0.1rem -0.1rem 0 black,
    -0.1rem 0.1rem 0 black,
    -0.1rem 0.1rem 0 black,
    0.1rem 0.1rem 0 black,
    0.1rem 0.1rem 0 black;
  pointer-events: none;
}

.l-hint-text {
  position: absolute;
  top: -1.6rem;
  left: 0;
}

/* NewsTicker.vue */

.c-news-ticker {
  overflow: hidden;
}

.c-news-ticker__line {
  padding-left: 100%;
  transition: transform linear;
}

.c-disable-ticker-animation > * {
  animation-play-state: paused !important;
}

.c-news-line {
  display: inline-block;
  white-space: nowrap;
  text-align: left;
  font-family: Typewriter, serif;
  font-size: 1.5rem;
  font-weight: bold;
  -webkit-user-select: none;
  user-select: none;
}

.c-news-line a {
  text-decoration: underline;
}

.c-news-ticker--forsaken {
  display: inline-block;
  color: black;
  -webkit-text-stroke: 0.05rem white;
  text-shadow:
    -0.1rem -0.1rem 0 white,
    0.1rem -0.1rem 0 white,
    -0.1rem 0.1rem 0 white,
    0.1rem 0.1rem 0 white;
  animation: a-news-ticker--forsaken-shake 0.12s steps(2, jump-none) infinite;
}

@keyframes a-news-ticker--forsaken-shake {
  0% { transform: translateY(-0.12rem); }
  50% { transform: translateY(0.12rem); }
  100% { transform: translateY(-0.12rem); }
}

.c-news-ticker--rainbow {
  color: transparent;
  background: linear-gradient(90deg, red, orange, yellow, lime, cyan, blue, violet, red);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: a-news-ticker--rainbow 1s linear infinite;
}

@keyframes a-news-ticker--rainbow {
  from { background-position: 0 0; }
  to { background-position: 200% 0; }
}

.teal-pink-wave {
  background: linear-gradient(90deg, #12cfd0, #ff4fa3, #12cfd0);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: tealPinkWave 1s linear infinite;
}

@keyframes tealPinkWave {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.supersonic-7-seven-text {
  background: linear-gradient(90deg, #800000, #400000, #800000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-decoration-color: rgb(128, 0, 0);
}

.new-ui .c-news-ticker {
  width: 100%;
  height: 3.9rem;
  border-bottom: 0.1rem solid var(--color-accent);
  padding: 0.8rem 0;
}

.new-ui .c-news-line {
  color: var(--color-text);
}

.old-ui .c-news-ticker {
  height: 3rem;
  border: var(--var-border-width, 0.2rem) solid black;
  border-radius: var(--var-border-radius, 0.4rem);
  padding: 0.2rem 0;
}

.old-ui .s-base--metro .c-news-ticker,
.old-ui .t-s6 .c-news-ticker,
.old-ui .t-s10 .c-news-ticker {
  border-width: 0.1rem;
}

.old-ui .t-dark .c-news-ticker {
  background-color: #455a64;
  border-color: #546e7a;
}

.old-ui .t-dark-metro .c-news-ticker {
  background-color: #455a64;
}

.old-ui .t-s1 .c-news-ticker {
  background-color: #dbd242;
}

.old-ui .t-s6 .c-news-ticker,
.old-ui .t-s10 .c-news-ticker {
  background-color: black;
}

.old-ui .c-news-line {
  color: var(--color-text);
}
