html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #111;
  color: #eee;
}

.top {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #2a2a2a;
  position: sticky;
  top: 0;
  background: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(6px);
  z-index: 10;
}

#startBtn {
  padding: 8px 12px;
  cursor: pointer;
}

.info {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: baseline;
  font-size: 14px;
}

.hint {
  opacity: 0.7;
}

main {
  padding: 20px 12px 40px;
}

.stack {
  display: grid;
  gap: 40px;
  justify-items: center;
}

.setBlock {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.setLabel {
  font-size: 13px;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.panoFrame {
  position: relative;
  height: 40vh;
  min-height: 220px;
  max-height: 420px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03) inset;
}

.pano {
  height: 100%;
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: 0px 50%;
  cursor: grab;
  user-select: none;
}

.pano.dragging {
  cursor: grabbing;
}