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

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

.stage {
  position: relative;
}

.eoh {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.eoh__frame {
  position: relative;
  width: 210px;
  height: 168px;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  touch-action: none;
  overscroll-behavior: contain;
  cursor: grab;
}

.eoh__header {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 56px;
  transform-origin: top center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
  background: #b9a0ff;
  color: #17141a;
  font-size: 14px;
  font-weight: 700;
  will-change: transform;
}

.eoh__body {
  position: relative;
  margin-top: 56px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  will-change: transform;
}

.eoh__row {
  height: 26px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding-left: 8px;
  border-radius: 8px;
  background: rgba(23, 20, 26, 0.06);
  color: #17141a;
  font-size: 12px;
}

.eoh__hint {
  color: rgba(23, 20, 26, 0.72);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 340px) {
  .eoh {
    gap: 8px;
  }
  .eoh__frame {
    width: 160px;
    height: 96px;
  }
  .eoh__header {
    height: 36px;
    font-size: 12px;
  }
  .eoh__body {
    margin-top: 36px;
  }
  .eoh__row {
    height: 18px;
    font-size: 11px;
  }
  .eoh__hint {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .eoh__header, .eoh__body {
    transition: none !important;
  }
}
