html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #0b0f14;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

#c { width: 100%; height: 100%; display: block; }

#ui {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  background: rgba(20, 24, 32, 0.72);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 10px 12px;
  color: #e7eefc;
  backdrop-filter: blur(8px);
  max-width: min(560px, calc(100vw - 24px));
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

#ui .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
#ui .hint { margin-top: 8px; color: rgba(231,238,252,0.75); font-size: 12px; }
#ui input[type="file"] { color: rgba(231,238,252,0.85); }
#ui button {
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #e7eefc;
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
}
#ui button:hover { background: rgba(255,255,255,0.12); }

#stats,#statsObj { color: rgba(231,238,252,0.8); font-size: 13px; }

#dropOverlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.35);
}
#dropOverlay.hidden { display: none; }

.dropCard {
  background: rgba(20, 24, 32, 0.85);
  border: 1px dashed rgba(255,255,255,0.35);
  border-radius: 18px;
  padding: 22px 26px;
  color: #e7eefc;
  font-size: 16px;
}
