:root {
  color-scheme: dark;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  background: #d94d32;
}

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

html {
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  overflow-x: hidden;
}

.hero-tear-section {
  position: relative;
  height: 220svh;
}

.gate2-stage {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  background: #d94d32;
}

.gate2-debug {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  padding: 14px 16px;
  color: #f6f3ec;
  font-size: 13px;
  line-height: 1.55;
  background: #25272c;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 6px;
  pointer-events: none;
}

.gate2-debug strong {
  color: #ffffff;
}

.gate2-debug[hidden] {
  display: none;
}

.gate4-progress-controls {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(240px, 34vw) 4ch;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  color: #ffffff;
  font-size: 13px;
  background: rgb(18 20 25 / 82%);
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 6px;
}

.gate4-progress-controls[hidden] {
  display: none;
}

.gate4-progress-controls input {
  accent-color: #ffffff;
}
