/*
 * reset.css
 *
 * Author       : Amey Thakur
 * GitHub       : https://github.com/Amey-Thakur
 * Repository   : https://github.com/Amey-Thakur/MINESWEEPER
 * Release Date : March 5, 2026
 * License      : MIT
 *
 * Tech Stack   : CSS3
 *
 * Description  : Browser normalization layer. Eliminates default margins, 
 *                paddings, and box model inconsistencies across client runtimes, 
 *                establishing a deterministic baseline for the Windows 95 UI.
 */



/* 
 * Apply universal border-box sizing. This prevents arbitrary dimensional 
 * expansions caused by padding and border injections into the DOM layout vector. 
 */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* 
 * Restrict implicit scrolling behaviors. The game window utilizes absolute 
 * geometry, requiring the root surface to remain completely rigid. 
 */

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* 
 * Force interactive elements to inherit system typographic settings rather 
 * than falling back to browser-specific defaults. 
 */

button {
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  color: inherit;
}


/* Standardize input forms typography. */

input {
  font-family: inherit;
  font-size: inherit;
}


/* Remove arbitrary bullet rendering in list arrays for internal menus. */

ul,
ol {
  list-style: none;
}


/* Normalize anchor elements for textual continuity. */

a {
  text-decoration: none;
  color: inherit;
}


/* 
 * Reclassify canvas as a block-level entity. Inline classification forces 
 * baseline alignment which inherently generates phantom vertical padding. 
 */

canvas {
  display: block;
}


/* Suppress mobile tap-highlight events globally. */

* {
  -webkit-tap-highlight-color: transparent;
}


/* 
 * Selection Utility 
 * Suppresses standard text highlighting during gameplay interaction. 
 */

.no-select {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}