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

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

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

.scan {
  appearance: none;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 16px;
  border-radius: 16px;
}
.scan:focus-visible {
  outline: 2px solid #5b8cf8;
  outline-offset: 4px;
}

.scan__icon {
  width: clamp(120px, 30vw, 160px);
  height: auto;
  overflow: visible;
}

.scan__ridge {
  fill: none;
  stroke: #5b8cf8;
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.26;
}

.scan__beam {
  stroke: #5b8cf8;
  stroke-width: 2;
  filter: drop-shadow(0 0 6px rgba(91, 140, 248, 0.9));
}

.scan__label {
  color: #fff7e6;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.scan__status {
  margin: 0;
  color: rgba(255, 247, 230, 0.58);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.2;
}

@media (max-width: 340px) {
  .stage {
    padding: 8px;
  }
  .scan-wrap {
    gap: 8px;
  }
  .scan {
    padding: 8px 12px;
    gap: 8px;
  }
  .scan__icon {
    width: 104px;
  }
  .scan__label {
    font-size: 12px;
  }
  .scan__status {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scan__ridge, .scan__beam {
    transition: none;
  }
}
