:root {
  color-scheme: light;
  font-family: Inter, Pretendard, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f4ee;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #f7f4ee;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.banner-tracking-pixel {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.banner-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: none;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.banner-carousel.is-dragging {
  cursor: grabbing;
}

.banner-carousel:focus-visible {
  box-shadow: inset 0 0 0 3px #6f43ff;
}

.banner-track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 560ms cubic-bezier(0.22, 0.72, 0, 1);
  will-change: transform;
}

.banner-track.no-transition {
  transition: none;
}

.banner-slide {
  display: grid;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  place-items: center;
  overflow: hidden;
  background: #f7f4ee;
  text-decoration: none;
}

.banner-slide:focus-visible {
  outline: 3px solid #6f43ff;
  outline-offset: -3px;
}

.banner-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.banner-pagination {
  position: absolute;
  z-index: 2;
  bottom: max(10px, env(safe-area-inset-bottom));
  left: 50%;
  display: flex;
  gap: 2px;
  align-items: center;
  padding: 4px 6px;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 999px;
  background: rgb(12 10 18 / 46%);
  box-shadow: 0 4px 18px rgb(0 0 0 / 14%);
  backdrop-filter: blur(7px);
  transform: translateX(-50%);
}

.banner-dot {
  display: grid;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  place-items: center;
  background: transparent;
  cursor: pointer;
}

.banner-dot::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(255 255 255 / 58%);
  content: "";
  transition: width 180ms ease, border-radius 180ms ease, background-color 180ms ease;
}

.banner-dot.is-active::before {
  width: 15px;
  border-radius: 999px;
  background: #d7ff00;
}

.banner-dot:focus-visible {
  outline: 2px solid #d7ff00;
  outline-offset: -2px;
}

.banner-empty {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 24px;
  place-items: center;
  text-align: center;
}

.banner-empty a {
  color: #17141d;
  font-weight: 800;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .banner-track,
  .banner-dot::before {
    transition: none;
  }
}
