@charset "utf-8";
@font-face {
  font-family: "NEXON Football Gothic";
  src: url("../../../../modules/display_line/skins/rain_display_line/font/NEXON Football Gothic B.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
.display-line-board {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  overflow: hidden;
  height: 48px;
  border: 1px solid #282828;
  border-radius: 4px;
  background-color: #050505;
  background-image: radial-gradient(#242424 1px,transparent 1px);
  background-size: 4px 4px;
  box-shadow: inset 0 3px 0 #2079ff, inset 0 -3px 0 #2079ff, inset 0 0 20px #000;
  font-family: "NEXON Football Gothic", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  font-weight: bold;
  letter-spacing: 0.08em;
}
.display-line-track {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  display: flex;
  width: max-content;
  height: 100%;
  animation: display-line-marquee var(--display-line-duration,10s) linear infinite;
  will-change: transform;
}
.display-line-widget .display-line-track.is-initial {
  animation-name: display-line-marquee-initial;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
.display-line-sequence {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: none;
  height: 100%;
  padding-right: 24px;
  line-height: 1;
  white-space: nowrap;
}
.display-line-sequence > b {
  font-size: 20px;
}
.display-line-item,
.display-line-sequence > b {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.display-line-item {
  color: #fff;
  font-size: 22px;
  transform: translateY(0.092em);
  text-shadow: 0 0 2px currentColor;
}
.display-line-item .display-line-fallback {
  position: relative;
  top: -0.06em;
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}
.display-line-item.is-match {
  display: inline-block;
  text-shadow: none;
}
.display-line-item.is-match .match-emoji {
  font-style: normal;
  text-shadow: none;
}
.display-line-item.is-match .match-text {
  text-shadow: 0 0 2px currentColor;
}
.display-line-item.is-birthday {
  display: inline-block;
  text-shadow: none;
}
.display-line-item.is-birthday .match-emoji {
  text-shadow: none;
}
.display-line-item.is-birthday .match-text {
  text-shadow: 0 0 2px currentColor;
}
.display-line-item.is-blink {
  animation: display-line-blink 1.1s steps(1,end) infinite;
}
.display-line-item.is-wave i {
  display: inline-block;
  font-style: normal;
  animation: display-line-wave 1.1s ease-in-out infinite;
  animation-delay: calc(var(--display-line-index) * 0.06s);
}
.display-line-item.is-bounce i {
  display: inline-block;
  font-style: normal;
  transform-origin: center bottom;
  animation: display-line-bounce 1.1s infinite;
  animation-delay: calc(var(--display-line-index) * 0.11s);
}
.display-line-item.is-goodbye i {
  display: inline-block;
  font-style: normal;
  animation: display-line-goodbye 0.53s ease-in-out infinite;
  animation-delay: calc(var(--display-line-index) * -0.37s);
}
.display-line-item.is-goodbye i:nth-child(3n + 2) {
  animation-name: display-line-goodbye-b;
  animation-duration: 0.61s;
}
.display-line-item.is-goodbye i:nth-child(4n + 3) {
  animation-name: display-line-goodbye-c;
  animation-duration: 0.47s;
}
.display-line-item.is-goodbye i:nth-child(7n + 5) {
  animation-name: display-line-goodbye-d;
  animation-duration: 0.67s;
}
.display-line-item.is-goodbye i:nth-child(5n + 4) {
  animation-duration: 0.71s;
}
.display-line-item.is-goodbye i:nth-child(2n) {
  animation-direction: reverse;
}
.display-line-widget {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}
.display-line-preview {
  border-radius: 8px;
}
@keyframes display-line-marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes display-line-marquee-initial {
  from {
    transform: translateX(40px);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes display-line-blink {
  0%,
  12.5%,
  25%,
  37.5%,
  50%,
  62.5%,
  75%,
  87.5% {
    opacity: 1;
    text-shadow: 0 0 2px currentColor;
  }
  6.25%,
  18.75%,
  31.25%,
  43.75%,
  56.25%,
  68.75%,
  81.25%,
  93.75% {
    opacity: 0.3;
    text-shadow: 0 0 2px currentColor;
  }
}
@keyframes display-line-wave {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    text-shadow: 0 0 2px currentColor;
  }
  25% {
    transform: translateY(-10px) rotate(-6deg);
    text-shadow: 0 0 2px currentColor;
  }
  50% {
    transform: translateY(0) rotate(0deg);
    text-shadow: 0 0 2px currentColor;
  }
  75% {
    transform: translateY(5px) rotate(4deg);
    text-shadow: 0 0 2px currentColor;
  }
}
@keyframes display-line-wave-compact {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    text-shadow: 0 0 2px currentColor;
  }
  25% {
    transform: translateY(-5px) rotate(-6deg);
    text-shadow: 0 0 2px currentColor;
  }
  50% {
    transform: translateY(0) rotate(0deg);
    text-shadow: 0 0 2px currentColor;
  }
  75% {
    transform: translateY(3px) rotate(4deg);
    text-shadow: 0 0 2px currentColor;
  }
}
@keyframes display-line-bounce {
  0%,
  20%,
  53%,
  100% {
    animation-timing-function: cubic-bezier(0.215,0.61,0.355,1);
    transform: translateY(0) scaleY(1);
    text-shadow: 0 0 2px currentColor;
  }
  40%,
  43% {
    animation-timing-function: cubic-bezier(0.755,0.05,0.855,0.06);
    transform: translateY(-9px) scaleY(1.14) scaleX(0.92);
    text-shadow: 0 0 2px currentColor;
  }
  56% {
    transform: translateY(0) scaleY(0.8) scaleX(1.16);
  }
  70% {
    animation-timing-function: cubic-bezier(0.755,0.05,0.855,0.06);
    transform: translateY(-4px) scaleY(1.07) scaleX(0.96);
  }
  80% {
    transform: translateY(0) scaleY(0.9) scaleX(1.08);
  }
  90% {
    transform: translateY(-1px) scaleY(1.02);
  }
}
@keyframes display-line-bounce-compact {
  0%,
  20%,
  53%,
  100% {
    animation-timing-function: cubic-bezier(0.215,0.61,0.355,1);
    transform: translateY(0) scaleY(1);
    text-shadow: 0 0 2px currentColor;
  }
  40%,
  43% {
    animation-timing-function: cubic-bezier(0.755,0.05,0.855,0.06);
    transform: translateY(-6px) scaleY(1.12) scaleX(0.94);
    text-shadow: 0 0 2px currentColor;
  }
  56% {
    transform: translateY(0) scaleY(0.84) scaleX(1.12);
  }
  70% {
    animation-timing-function: cubic-bezier(0.755,0.05,0.855,0.06);
    transform: translateY(-3px) scaleY(1.05) scaleX(0.97);
  }
  80% {
    transform: translateY(0) scaleY(0.92) scaleX(1.06);
  }
  90% {
    transform: translateY(-1px) scaleY(1.02);
  }
}
@keyframes display-line-goodbye {
  0%,
  100% {
    transform: translateX(-1.5px) translateY(0) rotate(-2.5deg);
    text-shadow: 0 0 2px currentColor;
  }
  30% {
    transform: translateX(1.5px) translateY(-3px) rotate(2deg);
    text-shadow: 0 0 2px currentColor;
  }
  60% {
    transform: translateX(-1px) translateY(1px) rotate(-1.5deg);
  }
  80% {
    transform: translateX(1px) translateY(-1px) rotate(2.5deg);
    text-shadow: 0 0 2px currentColor;
  }
}
@keyframes display-line-goodbye-compact {
  0%,
  100% {
    transform: translateX(-1.5px) translateY(0) rotate(-2.5deg);
    text-shadow: 0 0 2px currentColor;
  }
  30% {
    transform: translateX(1.5px) translateY(-2px) rotate(2deg);
    text-shadow: 0 0 2px currentColor;
  }
  60% {
    transform: translateX(-1px) translateY(1px) rotate(-1.5deg);
  }
  80% {
    transform: translateX(1px) translateY(-1px) rotate(2.5deg);
    text-shadow: 0 0 2px currentColor;
  }
}
@keyframes display-line-goodbye-b {
  0%,
  100% {
    transform: translateX(1.5px) translateY(-2px) rotate(2.5deg);
    text-shadow: 0 0 2px currentColor;
  }
  22% {
    transform: translateX(-1px) translateY(2px) rotate(-2deg);
    text-shadow: 0 0 2px currentColor;
  }
  55% {
    transform: translateX(1px) translateY(-5px) rotate(1.5deg);
    text-shadow: 0 0 2px currentColor;
  }
  78% {
    transform: translateX(-1.5px) translateY(0) rotate(-2.5deg);
  }
}
@keyframes display-line-goodbye-b-compact {
  0%,
  100% {
    transform: translateX(1.5px) translateY(-1px) rotate(2.5deg);
    text-shadow: 0 0 2px currentColor;
  }
  22% {
    transform: translateX(-1px) translateY(2px) rotate(-2deg);
    text-shadow: 0 0 2px currentColor;
  }
  55% {
    transform: translateX(1px) translateY(-3px) rotate(1.5deg);
    text-shadow: 0 0 2px currentColor;
  }
  78% {
    transform: translateX(-1.5px) translateY(0) rotate(-2.5deg);
  }
}
@keyframes display-line-goodbye-c {
  0%,
  100% {
    transform: translateX(1px) translateY(1px) rotate(2deg);
    text-shadow: 0 0 2px currentColor;
  }
  35% {
    transform: translateX(-1.5px) translateY(-4px) rotate(-2.5deg);
    text-shadow: 0 0 2px currentColor;
  }
  70% {
    transform: translateX(1.5px) translateY(-1px) rotate(1deg);
    text-shadow: 0 0 2px currentColor;
  }
}
@keyframes display-line-goodbye-c-compact {
  0%,
  100% {
    transform: translateX(1px) translateY(1px) rotate(2deg);
    text-shadow: 0 0 2px currentColor;
  }
  35% {
    transform: translateX(-1.5px) translateY(-3px) rotate(-2.5deg);
    text-shadow: 0 0 2px currentColor;
  }
  70% {
    transform: translateX(1.5px) translateY(-1px) rotate(1deg);
    text-shadow: 0 0 2px currentColor;
  }
}
@keyframes display-line-goodbye-d {
  0%,
  100% {
    transform: translateX(-1px) translateY(-1px) rotate(-1.5deg);
    text-shadow: 0 0 2px currentColor;
  }
  18% {
    transform: translateX(1.5px) translateY(2px) rotate(2.5deg);
    text-shadow: 0 0 2px currentColor;
  }
  48% {
    transform: translateX(-1.5px) translateY(-2px) rotate(-2deg);
    text-shadow: 0 0 2px currentColor;
  }
  72% {
    transform: translateX(1px) translateY(-4px) rotate(1.5deg);
  }
}
@keyframes display-line-goodbye-d-compact {
  0%,
  100% {
    transform: translateX(-1px) translateY(-1px) rotate(-1.5deg);
    text-shadow: 0 0 2px currentColor;
  }
  18% {
    transform: translateX(1.5px) translateY(2px) rotate(2.5deg);
    text-shadow: 0 0 2px currentColor;
  }
  48% {
    transform: translateX(-1.5px) translateY(-2px) rotate(-2deg);
    text-shadow: 0 0 2px currentColor;
  }
  72% {
    transform: translateX(1px) translateY(-3px) rotate(1.5deg);
  }
}
@media (max-width: 700px) {
  .display-line-widget {
    width: 100vw;
    max-width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
  }
  .display-line-board {
    width: 100%;
    height: 40px;
    border-radius: 0;
  }
  .display-line-item {
    font-size: 18px;
  }
  .display-line-item.is-wave i {
    animation-name: display-line-wave-compact;
  }
  .display-line-item.is-bounce i {
    animation-name: display-line-bounce-compact;
  }
  .display-line-item.is-goodbye i {
    animation-name: display-line-goodbye-compact;
  }
  .display-line-item.is-goodbye i:nth-child(3n + 2) {
    animation-name: display-line-goodbye-b-compact;
  }
  .display-line-item.is-goodbye i:nth-child(4n + 3) {
    animation-name: display-line-goodbye-c-compact;
  }
  .display-line-item.is-goodbye i:nth-child(7n + 5) {
    animation-name: display-line-goodbye-d-compact;
  }
}

