/* ============================================
   ADAPT'R DIE — Hacker Games
   WarGames CRT Terminal Theme
   "SHALL WE PLAY A GAME?"
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* The hidden attribute always wins — author display rules (.btn's
   inline-block, .chess-promo's flex, …) must never resurrect hidden UI. */
[hidden] { display: none !important; }

:root {
  --bg-dark: #020609;
  --bg-card: #080f18;
  --bg-elevated: #050a10;
  --bg-input: #040810;
  --phosphor: #00aaff;
  --phosphor-dim: #004477;
  --phosphor-bright: #33ccff;
  --phosphor-glow: rgba(0, 170, 255, 0.35);
  --phosphor-faint: rgba(0, 170, 255, 0.08);
  --text-primary: #00aaff;
  --text-secondary: #0077aa;
  --text-muted: #004466;
  --amber: #ffaa00;
  --amber-dim: #332200;
  --red: #ff2200;
  --orange: #ff6600;
  --green: #00ff66;
  --border-color: rgba(0, 100, 180, 0.2);
  --border-active: #00aaff;
  --font-mono: 'Share Tech Mono', 'Courier New', monospace;
  --font-body: 'VT323', 'Share Tech Mono', 'Courier New', monospace;
  --radius: 0px;
  --transition: 0.15s ease;
  --scanline-opacity: 0.06;
  --grid-color: rgba(0, 120, 200, 0.07);
  --defcon-bar-height: 32px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-dark);
  text-shadow: 0 0 8px var(--phosphor-glow);
  overflow-x: hidden;
}

/* --- Global CRT Overlay (scanlines + vignette) --- */
.crt-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background:
    /* Scanlines */
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1px,
      rgba(0, 0, 0, var(--scanline-opacity)) 1px,
      rgba(0, 0, 0, var(--scanline-opacity)) 3px
    ),
    /* Vignette */
    radial-gradient(
      ellipse at center,
      transparent 60%,
      rgba(0, 0, 0, 0.45) 100%
    );
}

/* Subtle CRT flicker */
@keyframes crt-flicker {
  0%   { opacity: 0.97; }
  5%   { opacity: 0.98; }
  10%  { opacity: 0.97; }
  15%  { opacity: 0.99; }
  20%  { opacity: 0.96; }
  50%  { opacity: 0.98; }
  80%  { opacity: 0.97; }
  90%  { opacity: 0.99; }
  100% { opacity: 0.98; }
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  animation: crt-flicker 4s infinite;
}

a {
  color: var(--phosphor-bright);
  text-decoration: none;
  transition: color var(--transition), text-shadow var(--transition);
}

a:hover {
  color: #99ff99;
  text-shadow: 0 0 12px var(--phosphor-glow), 0 0 24px var(--phosphor-faint);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.5) sepia(1) saturate(3) hue-rotate(170deg);
}

::selection {
  background: var(--phosphor);
  color: var(--bg-dark);
}

/* --- Layout --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 680px;
}

/* --- DEFCON Status Bar (sits above the nav, persistent) --- */
.defcon-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--defcon-bar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
}

.defcon-bar-left,
.defcon-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.defcon-bar-label {
  color: var(--text-secondary);
}

.defcon-bar-tag {
  color: var(--text-muted);
}

.defcon-segments {
  display: flex;
  gap: 4px;
  align-items: center;
}

.defcon-seg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: 1px solid var(--phosphor-dim);
  color: var(--text-muted);
  background: transparent;
  transition: all var(--transition);
}

.defcon-seg-num {
  font-weight: bold;
}

.defcon-seg-sub {
  font-size: 0.62rem;
  opacity: 0.7;
  letter-spacing: 1px;
}

.defcon-seg.is-active {
  color: var(--seg-color, var(--phosphor));
  border-color: var(--seg-color, var(--phosphor));
  background: color-mix(in srgb, var(--seg-color, var(--phosphor)) 12%, transparent);
  box-shadow: 0 0 8px color-mix(in srgb, var(--seg-color, var(--phosphor)) 50%, transparent);
}

.defcon-seg[data-level="5"] { --seg-color: var(--green); }
.defcon-seg[data-level="4"] { --seg-color: var(--phosphor); }
.defcon-seg[data-level="3"] { --seg-color: var(--amber); }
.defcon-seg[data-level="2"] { --seg-color: var(--orange); }
.defcon-seg[data-level="1"] { --seg-color: var(--red); }

.defcon-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 6px var(--amber);
  animation: defcon-pulse 1.6s ease-in-out infinite;
}

@keyframes defcon-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

.defcon-clock {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  .defcon-seg-sub { display: none; }
  .defcon-bar { font-size: 0.62rem; padding: 0 10px; }
  .defcon-bar-tag { display: none; }
}

@media (max-width: 600px) {
  .defcon-seg:not(.is-active) .defcon-seg-num { display: none; }
  .defcon-seg:not(.is-active) { padding: 3px 5px; min-width: 14px; min-height: 14px; }
}

body {
  padding-top: var(--defcon-bar-height);
}

/* --- Navigation --- */
.main-nav {
  position: fixed;
  top: var(--defcon-bar-height);
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 12, 8, 0.96);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
}

.nav-logo:hover {
  color: var(--phosphor-bright);
}

.logo-img {
  width: 28px;
  height: 28px;
  filter: brightness(0.6) sepia(1) saturate(5) hue-rotate(70deg);
}

.logo-text {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--phosphor);
  text-shadow: 0 0 10px var(--phosphor-glow);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 1.4rem;
  padding: 4px 10px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

.nav-user {
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--border-color);
}

.user-badge {
  display: inline-block;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--phosphor);
  background: rgba(0, 170, 255, 0.06);
  border: 1px solid var(--phosphor);
  text-shadow: 0 0 6px var(--phosphor-glow);
}

.user-badge::before {
  content: '◉ ';
  opacity: 0.7;
}

@media (max-width: 768px) {
  .nav-user {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
  }
}

.nav-links a {
  display: block;
  padding: 6px 14px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.nav-links a::before {
  content: '> ';
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-links a:hover::before,
.nav-links a.active::before {
  opacity: 1;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--phosphor);
  border-color: var(--border-color);
  background: var(--phosphor-faint);
  text-shadow: 0 0 8px var(--phosphor-glow);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-dark);
  overflow: hidden;
}

/* Corner brackets (asset kit style) */
.hero::before, .hero::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border-color: var(--phosphor-dim);
  border-style: solid;
  opacity: 0.5;
  z-index: 2;
}
.hero::before { top: 24px; left: 24px; border-width: 2px 0 0 2px; }
.hero::after  { top: 24px; right: 24px; border-width: 2px 2px 0 0; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px),
    radial-gradient(ellipse at center, transparent 40%, var(--bg-dark) 100%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 100px 24px 60px;
}

/* --- Terminal Block (WarGames prompt) --- */
.terminal-block {
  text-align: left;
  max-width: 600px;
  margin: 0 auto 48px;
  padding: 32px;
  border: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.5);
  position: relative;
}

.terminal-block::before {
  content: 'WOPR // NORAD';
  position: absolute;
  top: -10px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--text-muted);
  background: var(--bg-dark);
  padding: 0 8px;
}

.terminal-line {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--phosphor);
  line-height: 1.8;
  text-shadow: 0 0 10px var(--phosphor-glow), 0 0 20px var(--phosphor-faint);
  opacity: 0;
  animation: terminal-appear 0.1s forwards;
}

.terminal-line-delay-1 { animation-delay: 1.2s; }
.terminal-line-delay-2 { animation-delay: 2.4s; }
.terminal-line-delay-3 { animation-delay: 3.8s; }

.terminal-line:first-child { animation-delay: 0.5s; }

@keyframes terminal-appear {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Blinking block cursor */
.blink-cursor {
  animation: cursor-blink 1s step-end infinite;
  color: var(--phosphor);
  text-shadow: 0 0 10px var(--phosphor-glow);
  font-size: 1em;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

.hero-title-group {
  margin-bottom: 40px;
}

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--phosphor-bright);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 12px;
  text-shadow:
    0 0 8px var(--phosphor),
    0 0 20px var(--phosphor-glow),
    0 0 40px var(--phosphor-faint);
  animation: hero-flicker 8s infinite;
}

@keyframes hero-flicker {
  0%, 95%, 100% { opacity: 1; }
  96% { opacity: 0.92; }
  97% { opacity: 1; }
  98% { opacity: 0.95; }
  99% { opacity: 1; }
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 3vw, 1.5rem);
  letter-spacing: 8px;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Glitch Effect (CRT style) --- */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.glitch:hover::before {
  animation: crt-glitch-1 0.2s linear;
  color: var(--phosphor-bright);
  opacity: 0.6;
  clip-path: inset(20% 0 30% 0);
}

.glitch:hover::after {
  animation: crt-glitch-2 0.2s linear;
  color: var(--phosphor-dim);
  opacity: 0.6;
  clip-path: inset(50% 0 10% 0);
}

@keyframes crt-glitch-1 {
  0%   { transform: translate(0); }
  20%  { transform: translate(-2px, 1px); }
  40%  { transform: translate(2px, -1px); }
  60%  { transform: translate(-1px, 2px); }
  80%  { transform: translate(1px, -1px); }
  100% { transform: translate(0); }
}

@keyframes crt-glitch-2 {
  0%   { transform: translate(0); }
  25%  { transform: translate(2px, -2px); }
  50%  { transform: translate(-2px, 1px); }
  75%  { transform: translate(1px, -1px); }
  100% { transform: translate(0); }
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 10px 28px;
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: transparent;
  border: 1px solid var(--phosphor);
  color: var(--phosphor-bright);
  box-shadow: 0 0 8px var(--phosphor), 0 0 20px var(--phosphor-glow), inset 0 0 8px var(--phosphor-faint);
  animation: btn-pulse 3s ease-in-out infinite;
  position: relative;
}

.btn-primary::before, .btn-primary::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--phosphor-bright);
  border-style: solid;
  transition: all 0.2s;
}
.btn-primary::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.btn-primary::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.btn-primary:hover {
  background: rgba(0, 170, 255, 0.1);
  color: #ffffff;
  text-shadow: 0 0 8px var(--phosphor);
  box-shadow: 0 0 18px var(--phosphor), 0 0 40px var(--phosphor-glow), inset 0 0 18px rgba(0, 170, 255, 0.1);
  transform: translateY(-1px);
}

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 8px var(--phosphor), 0 0 20px var(--phosphor-glow), inset 0 0 8px var(--phosphor-faint); }
  50% { box-shadow: 0 0 14px var(--phosphor), 0 0 32px var(--phosphor-glow), inset 0 0 14px rgba(0, 170, 255, 0.1); }
}

.btn-outline {
  background: transparent;
  border-color: var(--text-muted);
  color: var(--text-secondary);
}

.btn-outline:hover {
  border-color: var(--phosphor);
  color: var(--phosphor);
  box-shadow: 0 0 12px var(--phosphor-glow);
}

.btn-full {
  width: 100%;
}

.btn-large {
  padding: 14px 44px;
  font-size: 1.1rem;
}

.btn-small {
  padding: 6px 18px;
  font-size: 0.9rem;
}

/* --- Sections --- */
section {
  padding: 80px 0;
}

.section-title {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--phosphor);
  margin-bottom: 24px;
  text-align: center;
  text-shadow: 0 0 10px var(--phosphor-glow);
}

.section-title::before {
  content: '[ ';
  color: var(--text-muted);
}

.section-title::after {
  content: ' ]';
  color: var(--text-muted);
}

.section-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 16px;
  text-align: center;
}

.page-header {
  padding-top: 120px;
  padding-bottom: 40px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-title {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  text-shadow: 0 0 10px var(--phosphor-glow);
}

.page-title::before {
  content: '> ';
  color: var(--text-muted);
}

.page-subtitle {
  color: var(--text-muted);
  margin-top: 8px;
  font-size: 1.1rem;
}

/* --- Game Cards --- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all var(--transition);
}

.game-card:hover {
  border-color: var(--phosphor);
  box-shadow: 0 0 12px var(--phosphor-glow), inset 0 0 10px var(--phosphor-faint);
}

.game-card-img {
  position: relative;
  height: 160px;
  background: var(--bg-elevated);
  overflow: hidden;
}

.game-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.game-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--phosphor);
  background: rgba(10, 12, 8, 0.9);
  padding: 4px 10px;
  border: 1px solid var(--phosphor-dim);
}

.tbd-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-mono);
  font-size: 3.5rem;
  color: var(--text-muted);
  text-shadow: 0 0 15px var(--phosphor-faint);
}

.game-card-body {
  padding: 16px;
}

.game-card-body h3 {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: var(--phosphor);
}

.game-card-body h3::before {
  content: '>> ';
  color: var(--text-muted);
}

.game-card-body p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 12px;
}

.game-status {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  text-shadow: 0 0 8px rgba(255, 170, 0, 0.2);
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.cta-section h2 {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 0 10px var(--phosphor-glow);
}

.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.1rem;
}

/* --- Forms --- */
.register-section {
  padding-bottom: 100px;
}

.form {
  margin-top: 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group label::before {
  content: '> ';
  color: var(--text-muted);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--phosphor);
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  transition: border-color var(--transition), box-shadow var(--transition);
  text-shadow: 0 0 6px var(--phosphor-faint);
}

.form-group input::placeholder {
  color: var(--text-muted);
  text-shadow: none;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--phosphor-dim);
  box-shadow: 0 0 10px var(--phosphor-faint), inset 0 0 10px var(--phosphor-faint);
}

.form-group input.invalid {
  border-color: var(--amber);
  box-shadow: 0 0 8px rgba(255, 170, 0, 0.15);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2333ff33' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.form-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-transform: none;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.form-checkbox label::before {
  content: none;
}

.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 4px; /* optically align with the first text line */
  flex-shrink: 0;
  accent-color: var(--phosphor);
  cursor: pointer;
}

.form-error {
  display: block;
  font-size: 0.9rem;
  color: var(--amber);
  margin-top: 4px;
  min-height: 1.2em;
}

.form-error::before {
  content: '! ';
}

.form-message {
  margin-top: 24px;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 1rem;
  text-align: center;
}

.form-message.success {
  background: rgba(0, 255, 100, 0.06);
  border: 1px solid #00ff66;
  color: #00ff66;
}

.form-message.success::before {
  content: '[OK] ';
}

.form-message.error {
  background: rgba(255, 170, 0, 0.06);
  border: 1px solid var(--amber-dim);
  color: var(--amber);
}

.form-message.error::before {
  content: '[ERR] ';
}

/* --- Scoreboard --- */
.scoreboard-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.scoreboard-meta {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.table-wrapper {
  overflow-x: auto;
}

.scoreboard-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
}

.scoreboard-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--phosphor-dim);
  white-space: nowrap;
}

.scoreboard-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 1rem;
}

.scoreboard-table tr:hover td {
  background: var(--phosphor-faint);
}

.col-rank {
  width: 60px;
  text-align: center;
}

.col-score,
.col-wins {
  width: 120px;
  text-align: center;
}

.scoreboard-table td.col-rank,
.scoreboard-table td.col-score,
.scoreboard-table td.col-wins {
  text-align: center;
}

.rank-1 { color: var(--phosphor-bright); text-shadow: 0 0 12px var(--phosphor-glow); }
.rank-2 { color: var(--phosphor); }
.rank-3 { color: var(--phosphor-dim); }

.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state p {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.empty-sub {
  color: var(--text-muted) !important;
  font-size: 1rem !important;
  margin-top: 8px;
}

/* --- Sponsors --- */
.sponsor-tier {
  margin-bottom: 60px;
}

.tier-title {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.tier-platinum { color: var(--phosphor-bright); text-shadow: 0 0 10px var(--phosphor-glow); }
.tier-gold     { color: var(--amber); text-shadow: 0 0 10px rgba(255, 170, 0, 0.2); }
.tier-silver   { color: var(--phosphor-dim); }

/* Presenting-sponsor banner */
.sponsor-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 56px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  box-shadow: 0 0 30px var(--phosphor-faint), inset 0 0 60px var(--phosphor-faint);
  text-decoration: none;
  overflow: hidden;
  transition: all var(--transition);
}

.sponsor-banner:hover {
  box-shadow: 0 0 45px var(--phosphor-glow), inset 0 0 60px var(--phosphor-faint);
}

/* slow radar sweep across the banner */
.sponsor-banner-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, var(--phosphor-faint) 50%, transparent 60%);
  animation: sponsor-scan 5s linear infinite;
}

@keyframes sponsor-scan {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

.sponsor-banner-logo {
  width: min(520px, 85%);
  /* official logo is dark blue; render it phosphor-white on the CRT */
  filter: brightness(0) invert(1) drop-shadow(0 0 12px var(--phosphor-glow));
}

.sponsor-banner-tagline {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 4px;
  color: var(--text-secondary);
  text-align: center;
}

.sponsor-banner-visit {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 2px;
  color: var(--amber);
  animation: crt-flicker 3s infinite;
}

/* About / why blocks */
.sponsor-about {
  max-width: 760px;
  margin: 0 auto 48px;
}

.sponsor-about p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.sponsor-about-title {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: var(--phosphor-bright);
  margin-bottom: 16px;
}

.sponsor-points {
  list-style: none;
}

.sponsor-points li {
  color: var(--text-secondary);
  padding-left: 22px;
  position: relative;
  margin-bottom: 12px;
}

.sponsor-points li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--green);
}

/* Stat grid */
.sponsor-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 48px;
}

.sponsor-stat {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

.sponsor-stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.2rem;
  color: var(--phosphor-bright);
  text-shadow: 0 0 12px var(--phosphor-glow);
}

.sponsor-stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* Social links */
.sponsor-social {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.sponsor-social .sponsor-about-title { text-align: center; }

.sponsor-social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-bottom: 24px;
}

.sponsor-social-links a {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: var(--phosphor);
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}

.sponsor-social-links a:hover {
  border-color: var(--border-active);
  color: var(--phosphor-bright);
  box-shadow: 0 0 15px var(--phosphor-faint);
}

.sponsor-careers {
  color: var(--text-secondary);
}

.sponsor-careers-link {
  color: var(--amber);
  text-decoration: none;
  font-family: var(--font-mono);
}

.sponsor-careers-link:hover {
  text-shadow: 0 0 10px rgba(255, 170, 0, 0.5);
}

.sponsor-cta {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
}

.sponsor-cta h3 {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sponsor-cta p {
  color: var(--text-secondary);
}

/* --- Terms of Service --- */
.tos-section {
  padding-bottom: 100px;
}

.tos-block {
  margin-bottom: 32px;
}

.tos-block h2 {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: var(--phosphor);
  margin-bottom: 12px;
  text-transform: uppercase;
  text-shadow: 0 0 8px var(--phosphor-glow);
}

.tos-block p,
.tos-block li {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

.tos-block ul {
  list-style: none;
  padding-left: 0;
}

.tos-block li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}

.tos-block li::before {
  content: '>';
  position: absolute;
  left: 4px;
  color: var(--phosphor-dim);
  font-family: var(--font-mono);
}

.tos-footer {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.tos-footer em {
  color: var(--text-muted);
  font-size: 1rem;
}

.tos-footer .btn {
  margin-top: 20px;
}

/* --- Footer --- */
.main-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-color);
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 4px;
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.footer-nav a:hover {
  color: var(--phosphor);
  text-shadow: 0 0 8px var(--phosphor-glow);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- WOPR Light Panel System --- */
.wopr-panel {
  display: grid;
  gap: 4px;
}

.wopr-panel-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

/* Panel sizes */
.wopr-panel-nav {
  grid-template-columns: repeat(8, 5px);
  grid-template-rows: repeat(3, 5px);
  gap: 3px;
  margin-left: 12px;
}

.wopr-panel-terminal {
  position: absolute;
  bottom: 12px;
  right: 14px;
  grid-template-columns: repeat(12, 5px);
  grid-template-rows: repeat(5, 5px);
  gap: 3px;
}

.wopr-panel-section {
  grid-template-columns: repeat(20, 5px);
  grid-template-rows: repeat(3, 5px);
  gap: 3px;
  margin: 16px auto 0;
  width: fit-content;
}

.wopr-panel-card {
  grid-template-columns: repeat(10, 4px);
  grid-template-rows: repeat(3, 4px);
  gap: 2px;
  padding: 8px 12px 0;
}

.wopr-panel-hero-left,
.wopr-panel-hero-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  grid-template-columns: repeat(3, 5px);
  grid-template-rows: repeat(20, 5px);
  gap: 3px;
  opacity: 0.7;
}

.wopr-panel-hero-left {
  left: 24px;
}

.wopr-panel-hero-right {
  right: 24px;
}

.wopr-panel-footer {
  grid-template-columns: repeat(30, 4px);
  grid-template-rows: repeat(2, 4px);
  gap: 2px;
  margin: 0 auto 16px;
  width: fit-content;
}

/* Light colors */
.wd-g {
  background: #00ff66;
  box-shadow: 0 0 4px #00ff66, 0 0 8px rgba(0, 255, 100, 0.4);
}

.wd-r {
  background: #ff2200;
  box-shadow: 0 0 4px #ff2200, 0 0 8px rgba(255, 40, 0, 0.4);
}

.wd-a {
  background: #ffaa00;
  box-shadow: 0 0 4px #ffaa00, 0 0 8px rgba(255, 170, 0, 0.4);
}

.wd-off {
  background: #0a1018;
  box-shadow: none;
}

/* 10 blink patterns for variety */
.wb1  { animation: wb-a 1.8s ease-in-out infinite; }
.wb2  { animation: wb-b 2.4s ease-in-out infinite; }
.wb3  { animation: wb-c 1.2s ease-in-out infinite; }
.wb4  { animation: wb-d 3.1s ease-in-out infinite; }
.wb5  { animation: wb-e 0.8s ease-in-out infinite; }
.wb6  { animation: wb-f 2.0s ease-in-out infinite; }
.wb7  { animation: wb-g 1.5s ease-in-out infinite; }
.wb8  { animation: wb-h 2.8s ease-in-out infinite; }
.wb9  { animation: wb-i 0.6s ease-in-out infinite; }
.wb10 { animation: wb-j 3.5s ease-in-out infinite; }

@keyframes wb-a { 0%,100%{opacity:1}    40%{opacity:0.1}  60%{opacity:0.9} }
@keyframes wb-b { 0%,100%{opacity:0.8}  30%{opacity:0.05} 70%{opacity:1} }
@keyframes wb-c { 0%,100%{opacity:1}    50%{opacity:0.05} }
@keyframes wb-d { 0%,100%{opacity:0.6}  25%{opacity:1}    50%{opacity:0.15} 75%{opacity:0.9} }
@keyframes wb-e { 0%,100%{opacity:1}    50%{opacity:0.2} }
@keyframes wb-f { 0%,100%{opacity:0.9}  35%{opacity:0.05} 65%{opacity:0.85} }
@keyframes wb-g { 0%,100%{opacity:1}    20%{opacity:0.1}  80%{opacity:0.95} }
@keyframes wb-h { 0%,100%{opacity:0.7}  50%{opacity:0.05} }
@keyframes wb-i { 0%,100%{opacity:1}    30%{opacity:0.15} 60%{opacity:0.9} }
@keyframes wb-j { 0%,100%{opacity:0.5}  20%{opacity:1}    60%{opacity:0.1} 80%{opacity:0.8} }

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: calc(var(--defcon-bar-height) + 56px);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 12, 8, 0.98);
    border-bottom: 1px solid var(--border-color);
    padding: 12px;
    gap: 2px;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-title {
    letter-spacing: 4px;
  }

  .hero-subtitle {
    letter-spacing: 4px;
  }

  .terminal-block {
    padding: 20px;
  }

  .game-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .scoreboard-controls {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* ============================================
   NORAD Logon Terminal (hero)
   ============================================ */
.logon-terminal {
  position: relative;
  text-align: left;
  max-width: 720px;
  margin: 0 auto 40px;
  padding: 32px 32px 28px;
  border: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.65);
  font-family: var(--font-mono);
  min-height: 380px;
}

.logon-terminal-tag {
  position: absolute;
  top: -9px;
  left: 18px;
  padding: 0 10px;
  background: var(--bg-dark);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 3px;
  color: var(--text-muted);
}

.logon-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logon-line {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1.55;
  color: var(--phosphor);
  opacity: 0;
  white-space: pre;
  min-height: 1.55em;
  transition: opacity 0.15s ease-out;
  text-shadow: 0 0 8px var(--phosphor-glow);
}

.logon-line.is-visible {
  opacity: 1;
}

.logon-line-muted  { color: var(--text-muted);      text-shadow: none; }
.logon-line-phos   { color: var(--phosphor);        text-shadow: 0 0 8px var(--phosphor-glow); }
.logon-line-bright { color: var(--phosphor-bright); text-shadow: 0 0 10px var(--phosphor-glow), 0 0 20px var(--phosphor-faint); }
.logon-line-green  { color: var(--green);           text-shadow: 0 0 8px rgba(0, 255, 100, 0.4); }
.logon-line-red    { color: var(--red);             text-shadow: 0 0 8px rgba(255, 40, 0, 0.4); }

.logon-line .typed-cursor {
  display: inline-block;
  width: 0.5em;
  height: 1em;
  vertical-align: -2px;
  background: var(--phosphor-bright);
  margin-left: 2px;
  box-shadow: 0 0 6px var(--phosphor-glow);
  animation: cursor-blink 1s step-end infinite;
}

.logon-skip {
  position: absolute;
  bottom: 8px;
  right: 12px;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 2px;
  padding: 4px 10px;
  cursor: pointer;
  transition: all var(--transition);
}

.logon-skip:hover {
  border-color: var(--phosphor-dim);
  color: var(--phosphor);
}

/* Reveal — title group + CTAs fade in after ACCESS GRANTED */
.hero-reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.9s ease-out 0.2s, transform 0.9s ease-out 0.2s;
  pointer-events: none;
}

.hero-reveal.is-revealed {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* ============================================
   Hero big-board background (NORAD map)
   ============================================ */
.hero-bigboard {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-bigboard .bb-continent {
  fill-opacity: 0.12;
  stroke-width: 1.1;
}

.hero-bigboard .bb-continent.is-phos  { fill: var(--phosphor); stroke: var(--phosphor); }
.hero-bigboard .bb-continent.is-amber { fill: var(--amber);    stroke: var(--amber);    }
.hero-bigboard .bb-continent.is-red   { fill: var(--red);      stroke: var(--red);      }

.hero-bigboard .bb-grid {
  stroke: var(--phosphor);
  stroke-opacity: 0.18;
  stroke-width: 1;
  stroke-dasharray: 2 4;
  fill: none;
}

.hero-bigboard .bb-arc {
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px currentColor);
}

.hero-bigboard .bb-arc.is-phos  { color: var(--phosphor);        stroke: currentColor; }
.hero-bigboard .bb-arc.is-amber { color: var(--amber);           stroke: currentColor; }
.hero-bigboard .bb-arc.is-red   { color: var(--red);             stroke: currentColor; }
.hero-bigboard .bb-arc.is-green { color: var(--green);           stroke: currentColor; }
.hero-bigboard .bb-arc.is-dashed { stroke-dasharray: 6 6; }

.hero-bigboard .bb-arc.is-anim {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: bb-arc-fly 6s ease-out infinite;
}

.hero-bigboard .bb-arc.is-anim.delay-1 { animation-delay: 0.8s; }
.hero-bigboard .bb-arc.is-anim.delay-2 { animation-delay: 1.6s; }
.hero-bigboard .bb-arc.is-anim.delay-3 { animation-delay: 2.4s; }
.hero-bigboard .bb-arc.is-anim.delay-4 { animation-delay: 3.2s; }
.hero-bigboard .bb-arc.is-anim.delay-5 { animation-delay: 4.0s; }

@keyframes bb-arc-fly {
  0%   { stroke-dashoffset: 600; opacity: 0; }
  20%  { opacity: 1; }
  85%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

.hero-bigboard .bb-marker {
  filter: drop-shadow(0 0 6px currentColor);
}

.hero-bigboard .bb-marker-ring {
  fill: none;
  stroke: currentColor;
  stroke-opacity: 0.5;
  stroke-width: 1;
  animation: bb-ring-pulse 2.4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes bb-ring-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.5; }
  50%      { transform: scale(1.6); opacity: 0;   }
}

.hero-bigboard .bb-marker-dot { fill: currentColor; }
.hero-bigboard .bb-marker.is-phos  { color: var(--phosphor); }
.hero-bigboard .bb-marker.is-amber { color: var(--amber);    }
.hero-bigboard .bb-marker.is-red   { color: var(--red);      }
.hero-bigboard .bb-marker.is-green { color: var(--green);    }

/* Layer hero content above the bigboard */
.hero-overlay,
.hero-content,
.wopr-panel-hero-left,
.wopr-panel-hero-right {
  z-index: 1;
}

/* ============================================
   WOPR Game Menu (numbered list, replaces card grid)
   ============================================ */
.wopr-menu-section {
  padding-bottom: 80px;
}

.wopr-menu-greeting {
  text-align: center;
  margin-bottom: 24px;
}

.wopr-menu-greeting-cmd {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.wopr-menu-greeting-title {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--phosphor);
  text-shadow: 0 0 10px var(--phosphor-glow);
  margin-bottom: 6px;
}

.wopr-menu-greeting-hint {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--phosphor-dim);
}

.wopr-menu {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 24px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wopr-menu-row {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}

.wopr-menu-row.is-ready {
  background: rgba(0, 255, 100, 0.04);
  cursor: pointer;
}

.wopr-menu-row.is-ready:hover {
  border-color: var(--green);
  background: rgba(0, 255, 100, 0.10);
  box-shadow: 0 0 10px rgba(0, 255, 100, 0.2), inset 0 0 8px rgba(0, 255, 100, 0.05);
}

.wopr-menu-row.is-standby {
  background: rgba(255, 170, 0, 0.03);
  opacity: 0.85;
}

.wopr-menu-row.is-locked {
  background: rgba(255, 40, 0, 0.04);
  cursor: not-allowed;
}

.wopr-menu-row.is-classified {
  opacity: 0.55;
  cursor: not-allowed;
}

.wopr-menu-num {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-align: right;
}

.wopr-menu-title {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--phosphor-bright);
  margin: 0;
}

.is-classified .wopr-menu-title { color: var(--phosphor-dim); letter-spacing: 6px; }
.is-standby    .wopr-menu-title { color: var(--amber);       text-shadow: 0 0 8px rgba(255, 170, 0, 0.3); }
.is-locked     .wopr-menu-title { color: var(--red);         text-shadow: 0 0 8px rgba(255, 40, 0, 0.3); }

.wopr-menu-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-top: 2px;
  letter-spacing: 0.5px;
}

.is-locked .wopr-menu-sub { color: rgba(255, 100, 60, 0.7); }

.wopr-menu-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 2px;
  padding: 4px 10px;
  border: 1px solid currentColor;
  background: color-mix(in srgb, currentColor 8%, transparent);
  text-transform: uppercase;
  white-space: nowrap;
}

.wopr-menu-row.is-ready      .wopr-menu-pill { color: var(--green); }
.wopr-menu-row.is-standby    .wopr-menu-pill { color: var(--amber); }
.wopr-menu-row.is-locked     .wopr-menu-pill { color: var(--red);   }
.wopr-menu-row.is-classified .wopr-menu-pill { color: var(--phosphor-dim); opacity: 0.7; }

.wopr-menu-prompt {
  text-align: center;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  letter-spacing: 2px;
  color: var(--phosphor);
}

.wopr-menu-prompt .blink-cursor {
  display: inline-block;
  background: var(--phosphor-bright);
  width: 0.55em;
  height: 1em;
  vertical-align: -2px;
  margin-left: 4px;
  box-shadow: 0 0 6px var(--phosphor-glow);
}

@media (max-width: 700px) {
  .wopr-menu-row {
    grid-template-columns: 36px 1fr;
    grid-template-areas: "num title" "num pill";
    row-gap: 4px;
  }
  .wopr-menu-row .wopr-menu-num   { grid-area: num; }
  .wopr-menu-row .wopr-menu-body  { grid-area: title; }
  .wopr-menu-row .wopr-menu-pill  { grid-area: pill; justify-self: start; }
}

/* WarGames easter egg: tic/tac/toe letter runs in the ToS are secretly
   links. They look like plain text until hovered. */
.ttt-egg {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.ttt-egg:hover {
  color: var(--phosphor-bright);
  text-shadow: 0 0 8px var(--phosphor-glow);
  text-decoration: underline;
}
