/* ===== TNO Scanner: self-contained UI; safe to remove as a block. ===== */
.tno-input-wrap {
  position: relative;
  width: 100%;
}
.tno-input-wrap #tnoInput {
  padding-right: 80px;
}
.tno-scan-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  min-width: 62px;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: none;
  background: #111827;
  color: #fff;
  z-index: 2;
}
.tno-scan-btn:hover {
  transform: translateY(-50%);
  box-shadow: none;
  background: #111827;
}
.scanner-modal {
  background: rgba(11, 18, 32, 0.84);
}
.scanner-card {
  width: min(520px, 94vw);
  border-radius: 22px;
  padding: 16px;
  background: #0b1220;
  color: #f8fafc;
  box-shadow: 0 24px 70px rgba(0,0,0,0.45);
}
.scanner-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.scanner-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.scanner-subtitle {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #cbd5e1;
}
.scanner-close {
  width: auto;
  min-width: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #f8fafc;
  box-shadow: none;
}
.scanner-video-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.16);
  background: #020617;
}
#tnoScannerVideo {
  display: block;
  width: 100%;
  min-height: 320px;
  max-height: 62vh;
  object-fit: cover;
  background: #020617;
}
.scanner-reticle {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 42%;
  height: 86px;
  border: 2px solid rgba(255,255,255,0.92);
  border-radius: 16px;
  box-shadow: 0 0 0 999px rgba(2, 6, 23, 0.18);
  pointer-events: none;
}
.scanner-status {
  margin-top: 12px;
  min-height: 20px;
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.45;
}
.scanner-status.bad {
  color: #fecaca;
  font-weight: 700;
}
/* ===== End TNO Scanner block. ===== */
