/* 초기 단계 트래픽 대기 안내(옵션). 평소 traffic-gate.json enabled=false 이면 비표시 */
html.traffic-gate-open,
html.traffic-gate-open body {
  overflow: hidden;
}

.traffic-gate-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(20, 22, 28, 0.72);
  backdrop-filter: blur(4px);
}

.traffic-gate-dialog {
  max-width: 26rem;
  width: 100%;
  border-radius: 14px;
  padding: 1.15rem 1.25rem 1.2rem;
  background: linear-gradient(165deg, #fffef9 0%, #eef6f1 100%);
  border: 1px solid rgba(47, 111, 79, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  color: #2a241c;
  font-size: 0.94rem;
  line-height: 1.55;
}

.traffic-gate-dialog h2 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: #1e4a32;
}

.traffic-gate-dialog p {
  margin: 0.35rem 0 0;
}

.traffic-gate-stats {
  margin-top: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(47, 111, 79, 0.08);
  border: 1px solid rgba(47, 111, 79, 0.2);
  font-size: 0.88rem;
}

.traffic-gate-stats strong {
  color: #1e4a32;
}

.traffic-gate-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.traffic-gate-actions .btn {
  margin: 0;
}

.traffic-gate-foot {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: #5c5348;
  line-height: 1.45;
}
