* { box-sizing: border-box; margin: 0; padding: 0; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #0d1117; }
::-webkit-scrollbar-thumb { background: #30363d; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #484f58; }

.scanlines {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.15) 2px,
    rgba(0,0,0,0.15) 4px
  );
  z-index: 2;
}

.drop-zone { transition: all 0.2s ease; }
.drop-zone.drag-over { border-color: #58a6ff !important; background: rgba(88,166,255,0.08) !important; }

.register-flash { animation: regFlash 0.6s ease-out; }
@keyframes regFlash {
  0% { background-color: rgba(57,211,83,0.4); }
  100% { background-color: transparent; }
}

.btn-press:active { transform: scale(0.95); }
.btn-press { transition: transform 0.1s ease; }

.terminal-cursor {
  display: inline-block;
  width: 0.6em;
  height: 1.1em;
  background: currentColor;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}
@keyframes blink {
  50% { opacity: 0; }
}

.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 9999px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

.chip-icon {
  width: 28px; height: 28px;
  border: 2px solid #3fb950;
  border-radius: 4px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #3fb950;
  animation: chipPulse 3s ease-in-out infinite;
}
.chip-icon::before, .chip-icon::after {
  content: '';
  position: absolute;
  background: #3fb950;
}
.chip-icon::before {
  width: 4px; height: 2px;
  top: -4px; left: 50%; transform: translateX(-50%);
  box-shadow: -6px 0 0 #3fb950, 6px 0 0 #3fb950, 0 30px 0 #3fb950, -6px 30px 0 #3fb950, 6px 30px 0 #3fb950;
}
.chip-icon::after {
  width: 2px; height: 4px;
  left: -4px; top: 50%; transform: translateY(-50%);
  box-shadow: 0 -6px 0 #3fb950, 0 6px 0 #3fb950, 30px 0 0 #3fb950, 30px -6px 0 #3fb950, 30px 6px 0 #3fb950;
}
@keyframes chipPulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-content.open {
  max-height: 2000px;
}

body { overscroll-behavior: none; }