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

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

.ovm {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.ovm__resizer {
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(23, 20, 26, 0.04);
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ovm__track {
  display: flex;
  gap: 8px;
  overflow: hidden;
  flex: 0 0 auto;
}

.ovm__btn,
.ovm__more,
.ovm__menuBtn {
  appearance: none;
  border: 1px solid rgba(23, 20, 26, 0.18);
  border-radius: 8px;
  background: #fff7e6;
  color: #17141a;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  white-space: nowrap;
  cursor: pointer;
  flex: 0 0 auto;
}

.ovm__more {
  background: #0a4fe8;
  border-color: #0a4fe8;
  color: #fff7e6;
}

.ovm__menu {
  position: absolute;
  top: 100%;
  right: 8px;
  margin: 4px 0 0;
  padding: 4px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff7e6;
  border-radius: 8px;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  z-index: 2;
}

.ovm__handle {
  flex: 0 0 auto;
  width: 6px;
  height: 40px;
  border-radius: 4px;
  background: rgba(23, 20, 26, 0.22);
  cursor: ew-resize;
  touch-action: none;
}

@media (max-width: 340px) {
  .ovm__btn, .ovm__more, .ovm__menuBtn {
    font-size: 11px;
    padding: 4px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ovm__resizer {
    transition: none;
  }
}
