.sz-threshold-gate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  height: 46px;
  padding: 0 24px 0 26px;
  border-radius: 999px;
  border: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
  color: #f7faff;
  cursor: pointer;
  transition: box-shadow 260ms ease;
}

.sz-threshold-gate:hover, .sz-threshold-gate:focus-visible, .sz-threshold-gate.is-near {
  box-shadow: none;
}

.sz-gate-title {
  font-size: 13.5px;
  font-weight: 550;
  letter-spacing: 0.03em;
  color: #f7faff;
  text-shadow: 0 1px 10px rgba(2, 5, 12, 0.90);
  white-space: nowrap;
}

.sz-gate-chev {
  width: 15px;
  height: 15px;
  color: var(--glacial);
  flex-shrink: 0;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), color 200ms ease;
}

.sz-threshold-gate:hover .sz-gate-chev, .sz-threshold-gate.is-near .sz-gate-chev {
  transform: translateX(4px);
  color: #ffffff;
}

.sz-threshold-ui {
  position: absolute;
  inset: 0;
  z-index: 16;
  pointer-events: none;
  opacity: 0;
  transition: opacity 260ms ease;
}

.sz-threshold-ui.is-active { opacity: 1; }

.sz-fall-tag {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: rgba(214, 241, 255, 0.86);
  text-shadow: 0 0 14px rgba(124, 198, 238, 0.45);
  white-space: nowrap;
  pointer-events: none;
}

.sz-arch-bar {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 2.4vw, 26px);
  transform: translate(-50%, 10px);
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sz-threshold-ui.is-arrived .sz-arch-bar {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.sz-arch-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 20px 0 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  outline: none;
  background: transparent;
  color: #f7faff;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), color 200ms ease, box-shadow 260ms ease;
}

.sz-arch-btn:hover, .sz-arch-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(124, 198, 238, 0.28);
  color: #ffffff;
}

.sz-replay-ico {
  width: auto;
  height: auto;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--glacial);
}

.sz-replay-ico svg {
  width: 13px;
  height: 13px;
  display: block;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sz-arch-btn:hover .sz-replay-ico svg {
  transform: rotate(-180deg);
}

.sz-replay-rule {
  width: 1px;
  height: 14px;
  background: linear-gradient(180deg, transparent, rgba(214, 241, 255, 0.42), transparent);
}

.sz-replay-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: #f7faff;
  text-shadow: 0 1px 8px rgba(2, 5, 12, 0.90);
}

.sz-stage.is-threshold-arrived .sz-scroll-hint {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 120ms ease, visibility 120ms ease;
}

.sz-stage.is-threshold-active .sz-nav-btn.is-active {
  color: rgba(220, 232, 246, 0.84);
  font-weight: 500;
  background: transparent;
  text-shadow: 0 1px 6px rgba(2, 5, 12, 0.88);
  box-shadow: none;
}

.sz-stage.is-threshold-active .sz-nav-btn.is-active::after {
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
}