.registration-extra[hidden] { display: none !important; }
.registration-extra textarea { width: 100%; box-sizing: border-box; min-height: 76px; resize: vertical; margin-top: 10px; padding: 10px 14px; border: 1px solid rgba(100,160,255,.22); border-radius: 5px; background: rgba(0,0,0,.28); color: #fff; font: inherit; }
.registration-extra label { display: block; margin-top: 12px; color: rgba(255,255,255,.72); font-size: 12px; }
.registration-slider-row { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
.registration-slider-row input { flex: 1; accent-color: #64a0ff; }
.registration-slider-status { min-width: 70px; color: rgba(255,255,255,.5); font-size: 10px; }
.registration-slider-status.verified { color: #6ddb8f; font-weight: 700; }
#usernameDisplay { color: inherit; text-decoration: none; }
#usernameDisplay.admin-link { color: #7eb8ff; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* The .decision-btn* rules that used to live here styled the in-game admin
   overlay. That overlay was removed when user management was consolidated into
   admin.html, which defines its own copies in its inline stylesheet. */

/* Green "2D Chess" nav link on the 3D pages. This lives here rather than in the
   pages' inline <style> blocks because those blocks are pinned by sha256 hashes
   in the web server's Content-Security-Policy — adding a rule there would break
   the whole stylesheet. An external sheet is covered by style-src 'self'.
   Specificity (1,1,1) is required to beat the pages' `#ui a` rule (1,0,1). */
#ui a.nav-2d {
  background: rgba(16,185,129,0.2);
  color: #34d399;
  border-color: rgba(16,185,129,0.5);
}

/* The Admin control became a link to the admin console rather than a button, so
   suppress the default underline. (2,0,1) beats the pages' `#ui a` rule. */
#ui a#adminBtn { text-decoration: none; }
