/* custom */
:root {
  --fill: rgba(112, 115, 124, 0.08);
  --spring-intro: linear(0 0%, 0.0282 1.79%, 0.1013 3.57%, 0.2037 5.36%, 0.3224 7.14%, 0.4467 8.93%, 0.5685 10.71%, 0.6819 12.5%, 0.783 14.29%, 0.8696 16.07%, 0.9407 17.86%, 0.9966 19.64%, 1.0382 21.43%, 1.0669 23.21%, 1.0846 25%, 1.0932 26.79%, 1.0945 28.57%, 1.0905 30.36%, 1.0826 32.14%, 1.0723 33.93%, 1.0608 35.71%, 1.049 37.5%, 1.0377 39.29%, 1.0272 41.07%, 1.018 42.86%, 1.0102 44.64%, 1.0039 46.43%, 0.999 48.21%, 0.9955 50%, 0.9931 51.79%, 0.9917 53.57%, 0.9911 55.36%, 0.9911 57.14%, 0.9916 58.93%, 0.9924 60.71%, 0.9935 62.5%, 0.9946 64.29%, 0.9957 66.07%, 0.9967 67.86%, 0.9977 69.64%, 0.9985 71.43%, 0.9992 73.21%, 0.9998 75%, 1.0002 76.79%, 1.0005 78.57%, 1.0007 80.36%, 1.0008 82.14%, 1.0009 83.93%, 1.0008 85.71%, 1.0008 87.5%, 1.0007 89.29%, 1.0006 91.07%, 1.0005 92.86%, 1.0004 94.64%, 1.0003 96.43%, 1.0002 98.21%, 1 100%);
  --spring-hide: linear(0 0%, 0.0248 1.92%, 0.0874 3.85%, 0.173 5.77%, 0.2704 7.69%, 0.3715 9.62%, 0.4703 11.54%, 0.5629 13.46%, 0.647 15.38%, 0.7212 17.31%, 0.7853 19.23%, 0.8393 21.15%, 0.884 23.08%, 0.9201 25%, 0.9486 26.92%, 0.9706 28.85%, 0.9871 30.77%, 0.9991 32.69%, 1.0073 34.62%, 1.0127 36.54%, 1.0157 38.46%, 1.0171 40.38%, 1.0173 42.31%, 1.0166 44.23%, 1.0153 46.15%, 1.0137 48.08%, 1.012 50%, 1.0102 51.92%, 1.0086 53.85%, 1.007 55.77%, 1.0056 57.69%, 1.0044 59.62%, 1.0034 61.54%, 1.0025 63.46%, 1.0018 65.38%, 1.0012 67.31%, 1.0007 69.23%, 1.0004 71.15%, 1.0001 73.08%, 1 75%, 0.9998 76.92%, 0.9998 78.85%, 0.9997 80.77%, 0.9997 82.69%, 0.9997 84.62%, 0.9997 86.54%, 0.9997 88.46%, 0.9998 90.38%, 0.9998 92.31%, 0.9998 94.23%, 0.9999 96.15%, 0.9999 98.08%, 1 100%);
}
@media (prefers-color-scheme: dark) {
  :root {
    --fill: rgba(112, 115, 124, 0.22);
  }
}

body {
  --promotion-safe-area: calc(var(--promotion-padding) + var(--promotion-height));
  --promotion-padding: 48px;
  --promotion-height: 2.75rem;
  padding-bottom: var(--promotion-safe-area);
}
@media (max-width: 736px) {
  body {
    --promotion-padding: 24px;
    --promotion-height: calc(2.75rem * 0.875);
  }
}
@media (max-width: 480px) {
  body {
    --promotion-padding: 16px;
    --promotion-height: calc(2.75rem * 0.75);
  }
}

#promotion_bubble_wrapper {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: var(--promotion-padding);
  display: flex;
  font-size: 1.25rem;
  transition: 0.5s transform ease, 0.5s left ease;
  transition: 1s transform var(--spring-hide), 1s left var(--spring-hide);
  z-index: 9;
}
@media (max-width: 736px) {
  #promotion_bubble_wrapper {
    transform: translateX(-50%) scale(0.875);
  }
}
@media (max-width: 480px) {
  #promotion_bubble_wrapper {
    transform: translateX(-50%) scale(0.75);
  }
}
#promotion_bubble_wrapper.hide {
  left: 0;
}
#promotion_bubble_wrapper.hide > .container {
  width: 64px;
}
#promotion_bubble_wrapper.hide > .container > .content > .icon.logo,
#promotion_bubble_wrapper.hide > .container > .content > .text {
  opacity: 0;
}
#promotion_bubble_wrapper.hide > .container > .content > .action#promotion_bubble-close {
  opacity: 0.61;
}
#promotion_bubble_wrapper.hide > .container > .content > .action#promotion_bubble-close > svg.open {
  opacity: 0;
}
#promotion_bubble_wrapper.hide > .container > .content > .action#promotion_bubble-close > svg.close {
  opacity: 0.43;
}
#promotion_bubble_wrapper > .container {
  color: inherit;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.5rem;
  overflow: hidden;
  border-radius: 10000em;
  height: 2.75rem;
  animation: bubble-welcome 1.5s ease;
  animation: bubble-welcome 3s var(--spring-intro);
  transition: width 1s ease, background-color 0.3s ease;
  will-change: width;
}
#promotion_bubble_wrapper > .container {
  -webkit-backdrop-filter: blur(16px) saturate(150%);
          backdrop-filter: blur(16px) saturate(150%);
}
#promotion_bubble_wrapper > .container::before, #promotion_bubble_wrapper > .container::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
#promotion_bubble_wrapper > .container::before {
  background-color: var(--bg-body);
  opacity: 0.74;
}
#promotion_bubble_wrapper > .container::after {
  background-color: var(--fill);
}
#promotion_bubble_wrapper > .container:hover {
  background-color: rgba(127, 127, 127, 0.54);
}
#promotion_bubble_wrapper > .container #promotion_bubble-close:hover {
  opacity: 1 !important;
}
#promotion_bubble_wrapper > .container > .content {
  --width-space: 48px;
  display: flex;
  width: calc(24px + var(--width-span-1) + 24px);
  align-items: center;
  justify-content: start;
  animation: bubble-welcome-content 1.5s ease, bubble-content 20s ease 1.5s infinite;
  will-change: width;
}
#promotion_bubble_wrapper > .container > .content > * {
  display: flex;
  align-items: center;
}
#promotion_bubble_wrapper > .container > .content > .icon.logo,
#promotion_bubble_wrapper > .container > .content > .text {
  transition: opacity 0.5s ease;
}
#promotion_bubble_wrapper > .container > .content > .text {
  --width-space: 0px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  width: var(--width-span-1);
  font-size: 1.25rem;
  height: 1.5rem;
  animation: bubble-content 20s ease 1.5s infinite;
  will-change: width;
  line-height: 1.25;
}
#promotion_bubble_wrapper > .container > .content > .text span {
  font-weight: 500;
  display: inline-block;
  text-align: center;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
}
#promotion_bubble_wrapper > .container > .content > .text > span {
  position: absolute;
  top: 50%;
  left: 0;
  padding-left: 0.4em;
  padding-right: 0.4em;
  transform: translateY(-50%);
}
#promotion_bubble_wrapper > .container > .content > .text > span {
  opacity: 0;
  pointer-events: none;
}
#promotion_bubble_wrapper > .container > .content > .text > span:nth-child(1) {
  animation: bubble-welcome-text-first 1.5s, bubble-text-1 20s ease 1.5s infinite;
}
#promotion_bubble_wrapper > .container > .content > .text > span:nth-child(2) {
  animation: bubble-welcome-text-hide 1.5s, bubble-text-2 20s ease 1.5s infinite;
}
#promotion_bubble_wrapper > .container > .content > .text > span:nth-child(3) {
  animation: bubble-welcome-text-hide 1.5s, bubble-text-3 20s ease 1.5s infinite;
}
#promotion_bubble_wrapper > .container > .content > .text > span:nth-child(4) {
  animation: bubble-welcome-text-hide 1.5s, bubble-text-4 20s ease 1.5s infinite;
}
#promotion_bubble_wrapper > .container > .content > .icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#promotion_bubble_wrapper > .container > .content > .icon svg {
  height: 24px;
  aspect-ratio: 1;
}
#promotion_bubble_wrapper > .container > .content > .icon.action {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  opacity: 0.61;
  transition: opacity 0.3s ease;
  animation: bubble-welcome-action 1.5s;
  will-change: opacity;
}
#promotion_bubble_wrapper > .container > .content > .icon.action svg {
  padding: 2px;
  opacity: 0.43;
  transition: opacity 0.3s ease;
  will-change: opacity;
}
#promotion_bubble_wrapper > .container > .content > .icon.action svg.close {
  position: absolute;
  inset: 0;
  opacity: 0;
}
#promotion_bubble_wrapper > .container > .content > .icon.action::before {
  content: "";
  position: absolute;
  inset: -10px;
}

@keyframes bubble-welcome {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50%, 100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes bubble-welcome-content {
  0%, 50% {
    width: 24px;
  }
  100% {
    width: calc(24px + var(--width-span-1) + 24px);
  }
}
@keyframes bubble-welcome-text-first {
  0%, 50% {
    opacity: 0;
    pointer-events: none;
  }
  100% {
    opacity: 1;
    pointer-events: auto;
  }
}
@keyframes bubble-welcome-text-hide {
  0%, 100% {
    opacity: 0;
    pointer-events: none;
  }
}
@keyframes bubble-welcome-action {
  0%, 50% {
    opacity: 0;
    pointer-events: none;
  }
  100% {
    opacity: 0.61;
    pointer-events: auto;
  }
}
@keyframes bubble-content {
  0%, 20%, 100% {
    width: calc(var(--width-space) + var(--width-span-1));
  }
  25%, 45% {
    width: calc(var(--width-space) + var(--width-span-2));
  }
  50%, 70% {
    width: calc(var(--width-space) + var(--width-span-3));
  }
  75%, 95% {
    width: calc(var(--width-space) + var(--width-span-4));
  }
}
@keyframes bubble-text-1 {
  /* 0-5 / 20 */
  0%, 20%, 100% {
    opacity: 1;
    pointer-events: auto;
  }
  25%, 95% {
    opacity: 0;
    pointer-events: none;
  }
}
@keyframes bubble-text-2 {
  /* 5-10 / 20 */
  0%, 20%, 50%, 100% {
    opacity: 0;
    pointer-events: none;
  }
  25%, 45% {
    opacity: 1;
    pointer-events: auto;
  }
}
@keyframes bubble-text-3 {
  /* 10-15 / 20 */
  0%, 45%, 75%, 100% {
    opacity: 0;
    pointer-events: none;
  }
  50%, 70% {
    opacity: 1;
    pointer-events: auto;
  }
}
@keyframes bubble-text-4 {
  /* 5-10 / 20 */
  0%, 70%, 100% {
    opacity: 0;
    pointer-events: none;
  }
  75%, 95% {
    opacity: 1;
    pointer-events: auto;
  }
}/*# sourceMappingURL=style.article.pretendard.promotion.css.map */