html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #17141a;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.bs-grid {
  width: min(340px, 90vw);
  aspect-ratio: 340/190;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}

.bs-tile {
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  box-sizing: border-box;
  color: #fff7e6;
  font: 600 12px/1 -apple-system, "Segoe UI", sans-serif;
}

.bs-tile--a {
  grid-row: 1/3;
  background: linear-gradient(160deg, #2f6df6, rgba(23, 20, 26, 0.85));
}

.bs-tile--b, .bs-tile--c {
  background: rgba(255, 255, 255, 0.08);
}

.bs-tile__tag {
  opacity: 0.8;
  font-size: 11px;
}

.bs-tile__num {
  font-size: 22px;
  font-weight: 700;
  margin-top: 4px;
}

.bs-focal {
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
}

.bs-focal:hover {
  transform: scale(1.04);
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
}

@keyframes bs-breathe {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  }
}
.bs-grid.is-demo .bs-focal {
  animation: bs-breathe 300ms cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .bs-focal:hover,
  .bs-grid.is-demo .bs-focal {
    animation: none !important;
    transform: none !important;
    box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32) !important;
  }
}
