/* Arcazumi Neon Arcade High Scores & Initials Entry */
.az-scores {
  box-sizing: border-box;
  width: min(94vw, 520px);
  max-height: 92dvh;
  overflow: auto;
  padding: 0;
  border: 1px solid rgba(77, 232, 255, 0.45);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(77, 232, 255, 0.16), transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(255, 92, 168, 0.12), transparent 50%),
    linear-gradient(180deg, #0c1724 0%, #070e17 100%);
  color: #edf5ff;
  font: 15px/1.5 'Segoe UI', system-ui, -apple-system, sans-serif;
  box-shadow:
    0 0 0 1px rgba(183, 245, 113, 0.12),
    0 0 40px rgba(77, 232, 255, 0.18),
    0 24px 80px rgba(0, 0, 0, 0.85);
  z-index: 2147483647;
  text-align: center;
}

.az-scores::backdrop {
  background: rgba(3, 7, 13, 0.82);
  backdrop-filter: blur(6px);
}

.az-score-banner {
  padding: 18px 24px 14px;
  border-bottom: 1px solid rgba(77, 232, 255, 0.18);
  background: linear-gradient(90deg, rgba(77, 232, 255, 0.08), rgba(183, 245, 113, 0.1), rgba(255, 92, 168, 0.08));
}

.az-score-eyebrow {
  margin: 0 0 4px;
  font: 700 10px monospace;
  letter-spacing: 3px;
  color: #4de8ff;
  text-transform: uppercase;
}

.az-scores h2 {
  margin: 0;
  font: 800 22px/1.15 'Segoe UI', system-ui, sans-serif;
  letter-spacing: -0.5px;
  color: #f4fbff;
  text-shadow: 0 0 18px rgba(77, 232, 255, 0.35);
}

.az-score-body {
  padding: 18px 24px 22px;
}

.az-score-hero {
  margin: 0 0 8px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(5, 12, 20, 0.72);
  border: 1px solid rgba(183, 245, 113, 0.28);
  box-shadow: inset 0 0 24px rgba(183, 245, 113, 0.06);
  font: 800 22px/1.2 monospace;
  color: #b7f571;
  text-shadow: 0 0 16px rgba(183, 245, 113, 0.4);
}

.az-score-hero.is-browse {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4de8ff;
  border-color: rgba(77, 232, 255, 0.22);
  text-shadow: none;
}

.az-score-rules {
  margin: 0 0 14px;
  font-size: 12px;
  color: #8ea7ba;
}

.az-scores form {
  margin: 0 0 16px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(11, 24, 37, 0.75);
  border: 1px solid rgba(77, 232, 255, 0.22);
}

.az-score-prompt {
  margin: 0 0 10px;
  font: 700 11px monospace;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #ffcf5c;
}

.az-score-reels {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 10px 0 16px;
}

.az-score-reels > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.az-score-reels input {
  box-sizing: border-box;
  width: 66px;
  height: 70px;
  border: 2px solid #3c7890;
  border-radius: 10px;
  background: linear-gradient(180deg, #040910 0%, #0b1926 50%, #040910 100%);
  color: #b7f571;
  font: 800 36px monospace;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(183, 245, 113, 0.55);
  box-shadow:
    inset 0 6px 14px rgba(0, 0, 0, 0.8),
    0 4px 14px rgba(0, 0, 0, 0.4);
  transition: border-color 0.14s, box-shadow 0.14s, transform 0.1s;
}

.az-score-reels input:focus {
  border-color: #b7f571;
  box-shadow:
    inset 0 6px 14px rgba(0, 0, 0, 0.75),
    0 0 20px rgba(183, 245, 113, 0.45);
  transform: scale(1.04);
}

.az-score-reels button {
  width: 66px;
  padding: 5px 0;
  font-size: 11px;
  border-radius: 6px;
  background: rgba(24, 46, 66, 0.85);
  border: 1px solid #385e74;
  color: #9ed4e6;
}

.az-score-reels button:hover {
  background: #234661;
  border-color: #4de8ff;
  color: #ffffff;
}

.az-scores button,
.az-scores a.az-score-exit,
.az-scores-launch {
  font: 600 13px monospace;
  cursor: pointer;
  border: 1px solid #3b6075;
  border-radius: 8px;
  background: rgba(20, 38, 54, 0.88);
  color: #e6f2fa;
  padding: 10px 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: border-color 0.14s, background 0.14s, color 0.14s, box-shadow 0.14s, transform 0.08s;
}

.az-scores button:hover,
.az-scores a.az-score-exit:hover,
.az-scores-launch:hover {
  background: #23435c;
  border-color: #4de8ff;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(77, 232, 255, 0.22);
}

.az-scores button:active,
.az-scores a.az-score-exit:active {
  transform: translateY(1px);
}

.az-scores button:focus-visible,
.az-scores input:focus-visible,
.az-scores a.az-score-exit:focus-visible,
.az-scores-launch:focus-visible {
  outline: 2px solid #b7f571;
  outline-offset: 3px;
}

.az-scores button:disabled {
  opacity: 0.5;
  cursor: wait;
}

.az-scores button.az-score-save {
  width: 100%;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 0;
  background: linear-gradient(135deg, #c6ff7e, #86e248);
  color: #09180c;
  box-shadow: 0 4px 20px rgba(183, 245, 113, 0.35);
}

.az-scores button.az-score-save:hover {
  background: linear-gradient(135deg, #d7ff9e, #98ef5c);
  color: #061208;
  box-shadow: 0 4px 26px rgba(183, 245, 113, 0.55);
}

.az-scores-launch {
  font: 600 13px monospace;
  margin: 6px 0 0;
  min-height: 40px;
}

.az-score-status {
  margin: 0 0 12px;
  min-height: 18px;
  font: 600 12px monospace;
  color: #b7f571;
}

.az-scores ol {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.az-scores li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 9px;
  background: rgba(12, 24, 36, 0.8);
  border: 1px solid rgba(59, 96, 117, 0.35);
  font: 600 14px monospace;
  overflow-wrap: anywhere;
}

.az-scores li.az-rank-1 {
  background: linear-gradient(90deg, rgba(255, 207, 92, 0.16), rgba(12, 24, 36, 0.85));
  border-color: rgba(255, 207, 92, 0.55);
}

.az-scores li.az-rank-2 {
  background: linear-gradient(90deg, rgba(206, 224, 238, 0.12), rgba(12, 24, 36, 0.85));
  border-color: rgba(206, 224, 238, 0.38);
}

.az-scores li.az-rank-3 {
  background: linear-gradient(90deg, rgba(235, 145, 92, 0.12), rgba(12, 24, 36, 0.85));
  border-color: rgba(235, 145, 92, 0.38);
}

.az-scores li.az-empty {
  justify-content: center;
  color: #88a2b5;
  font-weight: 500;
}

.az-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.az-rank-badge {
  min-width: 28px;
  text-align: center;
  font-weight: 800;
  color: #7ea0b5;
}

.az-rank-1 .az-rank-badge { color: #ffcf5c; }
.az-rank-2 .az-rank-badge { color: #dce8f2; }
.az-rank-3 .az-rank-badge { color: #f0a170; }

.az-row-name {
  letter-spacing: 3px;
  font-weight: 800;
  color: #f3fbff;
}

.az-row-pts {
  color: #b7f571;
  font-weight: 800;
}

.az-score-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid rgba(77, 232, 255, 0.14);
}

.az-score-actions-right {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.az-scores a.az-score-exit {
  border-color: rgba(255, 92, 168, 0.45);
  color: #ff9ec9;
  background: rgba(45, 18, 36, 0.65);
}

.az-scores a.az-score-exit:hover {
  border-color: #ff5ca8;
  background: rgba(74, 24, 56, 0.88);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 92, 168, 0.3);
}

.az-scores [hidden] {
  display: none !important;
}
