/* ============================================================================
   reset.css — Alpha Rocket Launcher Maze 2D
   Normalised baseline for a full-bleed, non-scrolling canvas application.
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  -webkit-tap-highlight-color: transparent;
}

html {
  height: 100%;
  font-size: 16px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
}

body {
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  background: #04060d;
  color: #e8f2ff;
  font-family: "Rajdhani", "Segoe UI", "Roboto Condensed", system-ui, -apple-system, sans-serif;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

main, header, footer, section, article, aside, nav, figure, figcaption {
  display: block;
}

ul, ol { list-style: none; }

a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}

img, svg, canvas, video {
  display: block;
  max-width: 100%;
  border-style: none;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  color: inherit;
  background: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

button {
  cursor: pointer;
  overflow: visible;
  text-transform: inherit;
}

button::-moz-focus-inner { border: 0; padding: 0; }

input[type="range"] { -webkit-appearance: none; appearance: none; background: transparent; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; }
input[type="checkbox"] { cursor: pointer; }

table { border-collapse: collapse; border-spacing: 0; }

b, strong { font-weight: 700; }
i, em { font-style: normal; }
small { font-size: 0.82em; }

h1, h2, h3, h4, h5, h6 { font-weight: 800; letter-spacing: 0.02em; }

hr { height: 1px; background: currentColor; opacity: 0.18; }

::selection { background: rgba(0, 240, 255, 0.35); color: #fff; }

/* Custom scrollbars for the few scrollable panels */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.04); border-radius: 8px; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.55), rgba(255, 45, 117, 0.45));
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(0, 240, 255, 0.8); }

* { scrollbar-width: thin; scrollbar-color: rgba(0, 240, 255, 0.5) rgba(255, 255, 255, 0.05); }

[hidden] { display: none !important; }
.is-hidden { display: none !important; }
.is-invisible { visibility: hidden !important; }

:focus-visible {
  outline: 2px solid rgba(0, 240, 255, 0.9);
  outline-offset: 2px;
}
