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

:root {
  --gold:    #ffd700;
  --bg-dark: rgba(10, 6, 20, 0.88);
  --bg-mid:  rgba(20, 12, 40, 0.92);
  --border:  rgba(255, 215, 0, 0.35);
  --text:    #f0e8d0;
  --text-dim: #a09060;
  --btn-hover: rgba(255, 215, 0, 0.15);
  --font: 'Georgia', serif;
}

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: #000;
  font-family: var(--font);
  color: var(--text);
}

/* ── Canvas ───────────────────────────────────────────────────────────────── */
#game-canvas {
  display: block;
  width: 100vw;
  height: 100vh;
}

/* ── HUD (top bar) ────────────────────────────────────────────────────────── */
#hud {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 20px;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
  z-index: 10;
  pointer-events: all;
}

.hud-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  font-weight: bold;
  color: var(--gold);
  text-shadow: 0 0 8px rgba(255,215,0,0.5);
}

.hud-icon { font-size: 1.2rem; }

#start-wave-btn {
  margin-left: auto;
  padding: 8px 22px;
  background: linear-gradient(135deg, #4a1a00, #8B3A00);
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s, box-shadow 0.2s;
}
#start-wave-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #6a2a00, #b35000);
  box-shadow: 0 0 12px rgba(255,140,0,0.5);
}
#start-wave-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

#speed-btn {
  padding: 8px 16px;
  background: linear-gradient(135deg, #1a1a4a, #2a2a6a);
  color: #aaaaff;
  border: 1px solid rgba(150,150,255,0.4);
  border-radius: 4px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
#speed-btn:hover {
  background: linear-gradient(135deg, #2a2a6a, #3a3a9a);
}
#speed-btn.active {
  background: linear-gradient(135deg, #3a3a9a, #5a5aff);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(100,100,255,0.5);
}

#end-game-btn {
  padding: 8px 16px;
  background: linear-gradient(135deg, #3a0000, #700000);
  color: #ff8888;
  border: 1px solid rgba(255, 80, 80, 0.45);
  border-radius: 4px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
#end-game-btn:hover {
  background: linear-gradient(135deg, #600000, #aa0000);
  box-shadow: 0 0 10px rgba(255, 60, 60, 0.4);
}

/* ── Tower panel (bottom bar) ─────────────────────────────────────────────── */
#tower-panel {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 110px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  z-index: 10;
}

.panel-title {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  writing-mode: horizontal-tb;
  margin-right: 4px;
}

.panel-hint {
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-left: auto;
  align-self: flex-end;
  padding-bottom: 6px;
}

.tower-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  padding: 6px;
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  gap: 2px;
}
.tower-btn:hover { background: var(--btn-hover); transform: translateY(-2px); }
.tower-btn.selected {
  border-color: var(--gold);
  background: rgba(255,215,0,0.18);
  box-shadow: 0 0 12px rgba(255,215,0,0.4);
}
.tower-btn.unaffordable { opacity: 0.45; }

/* Locked tower state */
.tower-btn.locked {
  opacity: 0.38;
  cursor: not-allowed;
  border-color: rgba(255,255,255,0.12);
}
.tower-btn.locked:hover { transform: none; background: var(--bg-mid); }
.lock-badge {
  font-size: 0.6rem;
  color: #aaa;
  background: rgba(0,0,0,0.5);
  border-radius: 3px;
  padding: 1px 4px;
  margin-top: 1px;
}

.btn-icon  { font-size: 1.6rem; }
.btn-name  { font-size: 0.78rem; font-weight: bold; color: var(--gold); }
.btn-cost  { font-size: 0.72rem; color: #88ff88; }
.btn-desc  { font-size: 0.62rem; color: var(--text-dim); }

/* ── Tower info panel (side) ──────────────────────────────────────────────── */
#tower-info {
  display: none;
  position: fixed;
  right: 16px;
  top: 68px;
  width: 200px;
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  z-index: 10;
  pointer-events: all;
}

.info-name {
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--gold);
  text-align: center;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  margin-bottom: 10px;
}
.info-table td { padding: 3px 4px; }
.info-table td:first-child { color: var(--text-dim); }
.info-table td:last-child  { color: var(--text); text-align: right; }

/* ── BTD-style upgrade paths ──────────────────────────────────────────────── */
.upgrade-paths {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.upgrade-path {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 7px 8px;
}

.path-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.path-name {
  font-size: 0.7rem;
  font-weight: bold;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.path-tiers {
  display: flex;
  gap: 3px;
}

.tier-pip {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,215,0,0.5);
  background: transparent;
  display: inline-block;
}
.tier-pip.filled {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 4px rgba(255,215,0,0.7);
}

.upgrade-path-btn {
  display: block;
  width: 100%;
  padding: 5px 6px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.path0-btn {
  background: rgba(0,90,0,0.55);
  color: #88ff88;
  border-color: rgba(100,200,100,0.3);
}
.path0-btn:hover:not(:disabled) { background: rgba(0,130,0,0.7); }

.path1-btn {
  background: rgba(0,50,120,0.55);
  color: #88aaff;
  border-color: rgba(100,150,255,0.3);
}
.path1-btn:hover:not(:disabled) { background: rgba(0,80,160,0.7); }

.upgrade-path-btn:disabled { opacity: 0.4; cursor: default; }

#sell-btn {
  display: block;
  width: 100%;
  padding: 6px;
  margin-top: 5px;
  border-radius: 4px;
  border: 1px solid var(--border);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.15s;
  background: rgba(100,20,0,0.5);
  color: #ff9966;
}
#sell-btn:hover { background: rgba(140,30,0,0.7); }

/* ── Drag ghost ──────────────────────────────────────────────────────────── */
.drag-ghost {
  position: fixed;
  pointer-events: none;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-mid);
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 5px 10px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: bold;
  color: var(--gold);
  box-shadow: 0 0 12px rgba(255,215,0,0.3);
  transition: border-color 0.1s, color 0.1s;
  white-space: nowrap;
}
.drag-ghost-icon { font-size: 1.1rem; }
.drag-ghost-invalid {
  border-color: #ff4444;
  color: #ff4444;
  box-shadow: 0 0 12px rgba(255,60,60,0.3);
}

/* Prevent text selection while dragging */
body.dragging { user-select: none; cursor: grabbing !important; }

/* ── Upgrade tooltip ─────────────────────────────────────────────────────── */
#upgrade-tooltip {
  display: none;
  position: fixed;
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 7px 11px;
  font-size: 0.75rem;
  color: var(--text);
  pointer-events: none;
  z-index: 50;
  max-width: 200px;
  line-height: 1.4;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
#upgrade-tooltip .tooltip-name {
  font-weight: bold;
  color: var(--gold);
  margin-bottom: 3px;
}

/* ── Floating message ─────────────────────────────────────────────────────── */
#message {
  position: fixed;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px 18px;
  font-size: 0.9rem;
  color: var(--gold);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 20;
  white-space: nowrap;
}

/* ── Intro screen ────────────────────────────────────────────────────────── */
#intro-screen, #help-screen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

#intro-screen {
  background: url('../assets/sprites/start_screen.png') center/cover no-repeat;
}

#help-screen {
  background: radial-gradient(ellipse at center, #1a0a2e 0%, #0a0510 100%);
}
#help-screen { display: none; }

#intro-box {
  text-align: center;
  max-width: 520px;
  padding: 50px 60px;
  background: var(--bg-mid);
  border: 2px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 0 60px rgba(255,215,0,0.15), 0 0 120px rgba(100,0,200,0.1);
}

.intro-subtitle {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}

#intro-title {
  font-size: 2.8rem;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(255,215,0,0.5);
  margin-bottom: 16px;
  line-height: 1.1;
}

.intro-divider {
  width: 60%;
  height: 1px;
  background: var(--border);
  margin: 0 auto 20px;
}

.intro-flavor {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 32px;
}

.intro-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
}

#intro-start-btn {
  padding: 12px 34px;
  background: linear-gradient(135deg, #5a1a00, #aa4400);
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 6px;
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: background 0.2s, box-shadow 0.2s;
}
#intro-start-btn:hover {
  background: linear-gradient(135deg, #7a2a00, #cc5500);
  box-shadow: 0 0 18px rgba(255,140,0,0.5);
}

/* ── Difficulty screen ────────────────────────────────────────────────────── */
#difficulty-screen {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  background: url('../assets/sprites/start_screen.png') center/cover no-repeat;
}

#difficulty-box {
  text-align: center;
  max-width: 620px;
  width: 90%;
  padding: 50px 60px;
  background: var(--bg-mid);
  border: 2px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 0 60px rgba(255,215,0,0.15), 0 0 120px rgba(100,0,200,0.1);
}

#difficulty-title {
  font-size: 2rem;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255,215,0,0.4);
  margin-bottom: 16px;
}

.diff-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 24px;
}

.diff-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 20px;
  width: 148px;
  border-radius: 8px;
  font-family: var(--font);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}
.diff-btn:hover { transform: translateY(-3px); }

.diff-icon { font-size: 1.8rem; }
.diff-name { font-size: 1rem; font-weight: bold; letter-spacing: 0.06em; }
.diff-desc { font-size: 0.68rem; color: rgba(255,255,255,0.6); line-height: 1.4; }

.diff-btn-easy {
  background: linear-gradient(135deg, #1a4a10, #2e7a18);
  color: #aaffaa;
  border-color: rgba(100, 255, 100, 0.4);
}
.diff-btn-easy:hover {
  background: linear-gradient(135deg, #246618, #3da020);
  box-shadow: 0 0 18px rgba(80, 220, 80, 0.45);
}

.diff-btn-normal {
  background: linear-gradient(135deg, #5a1a00, #aa4400);
  color: var(--gold);
  border-color: rgba(255, 215, 0, 0.5);
}
.diff-btn-normal:hover {
  background: linear-gradient(135deg, #7a2a00, #cc5500);
  box-shadow: 0 0 18px rgba(255, 140, 0, 0.5);
}

.diff-btn-hard {
  background: linear-gradient(135deg, #3a0010, #880020);
  color: #ffaaaa;
  border-color: rgba(255, 80, 80, 0.4);
}
.diff-btn-hard:hover {
  background: linear-gradient(135deg, #580018, #bb0030);
  box-shadow: 0 0 18px rgba(255, 60, 60, 0.5);
}

#diff-back-btn {
  padding: 10px 24px;
  background: transparent;
  color: var(--text-dim);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
#diff-back-btn:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.5);
}

#intro-help-btn {
  padding: 12px 24px;
  background: transparent;
  color: var(--text-dim);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  font-family: var(--font);
  font-size: 1.0rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
#intro-help-btn:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.5);
}

/* ── Help screen ─────────────────────────────────────────────────────────── */
#help-box {
  max-width: 660px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 36px 44px;
  background: var(--bg-mid);
  border: 2px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

.help-title {
  font-size: 1.8rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 12px;
}

.help-divider {
  width: 50%;
  height: 1px;
  background: var(--border);
  margin: 0 auto 24px;
}

.help-section {
  margin-bottom: 20px;
}
.help-section h3 {
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 7px;
  letter-spacing: 0.04em;
}
.help-section p, .help-section ul {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.help-section ul {
  padding-left: 18px;
}
.help-section ul li { margin-bottom: 4px; }
.help-section strong { color: var(--text); }

.help-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin-top: 6px;
}
.help-table td {
  padding: 4px 6px;
  color: var(--text-dim);
  vertical-align: top;
}
.help-table td:first-child {
  color: var(--text);
  font-weight: bold;
  white-space: nowrap;
  width: 120px;
}

.help-subheading {
  font-size: 0.78rem;
  font-weight: bold;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tag-phys {
  display: inline-block;
  background: rgba(160, 82, 45, 0.3);
  color: #e8a070;
  border: 1px solid rgba(160, 82, 45, 0.5);
  border-radius: 3px;
  padding: 0px 5px;
  font-size: 0.74rem;
  font-weight: bold;
  margin-right: 4px;
  vertical-align: middle;
}

.tag-magic {
  display: inline-block;
  background: rgba(123, 47, 190, 0.3);
  color: #cc88ff;
  border: 1px solid rgba(123, 47, 190, 0.5);
  border-radius: 3px;
  padding: 0px 5px;
  font-size: 0.74rem;
  font-weight: bold;
  margin-right: 4px;
  vertical-align: middle;
}

kbd {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 0.78rem;
  font-family: monospace;
}

#help-back-btn {
  display: block;
  margin: 24px auto 0;
  padding: 10px 28px;
  background: transparent;
  color: var(--text-dim);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
#help-back-btn:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.5);
}

/* ── End-game overlay ─────────────────────────────────────────────────────── */
#overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  align-items: center;
  justify-content: center;
  z-index: 100;
}

#overlay-box {
  background: var(--bg-mid);
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 40px 50px;
  text-align: center;
  box-shadow: 0 0 40px rgba(255,215,0,0.3);
  max-width: 420px;
}

#overlay-title {
  font-size: 2.4rem;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255,215,0,0.7);
  margin-bottom: 14px;
}

#overlay-msg {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.5;
}

#overlay-btn {
  padding: 12px 34px;
  background: linear-gradient(135deg, #4a1a00, #8B3A00);
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 5px;
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: background 0.2s, box-shadow 0.2s;
}
#overlay-btn:hover {
  background: linear-gradient(135deg, #6a2a00, #b35000);
  box-shadow: 0 0 16px rgba(255,140,0,0.5);
}

/* ── Confirm dialog ───────────────────────────────────────────────────────── */
#confirm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  align-items: center;
  justify-content: center;
  z-index: 200;
}

#confirm-box {
  background: var(--bg-mid);
  border: 2px solid rgba(255, 80, 80, 0.55);
  border-radius: 10px;
  padding: 36px 48px;
  text-align: center;
  box-shadow: 0 0 40px rgba(180, 0, 0, 0.35);
  max-width: 380px;
}

#confirm-title {
  font-size: 1.8rem;
  color: #ff8888;
  margin-bottom: 14px;
}

#confirm-msg {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 28px;
}

#confirm-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
}

#confirm-yes, #confirm-no {
  padding: 10px 28px;
  border-radius: 5px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background 0.2s, box-shadow 0.2s;
}

#confirm-yes {
  background: linear-gradient(135deg, #5a0000, #990000);
  color: #ff9999;
  border: 1px solid rgba(255, 80, 80, 0.5);
}
#confirm-yes:hover {
  background: linear-gradient(135deg, #880000, #cc0000);
  box-shadow: 0 0 12px rgba(255, 60, 60, 0.45);
}

#confirm-no {
  background: linear-gradient(135deg, #1a2a1a, #2a4a2a);
  color: #88ff88;
  border: 1px solid rgba(80, 200, 80, 0.4);
}
#confirm-no:hover {
  background: linear-gradient(135deg, #2a4a2a, #3a6a3a);
  box-shadow: 0 0 12px rgba(60, 200, 60, 0.35);
}

/* ── Music controls ───────────────────────────────────────────────────────── */
#music-control {
  position: fixed;
  bottom: 40px;
  right: 16px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

#mute-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  background: rgba(255, 215, 0, 0.08);
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
#mute-btn:hover { background: rgba(255, 215, 0, 0.2); }
#mute-btn.muted {
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

#volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(
    to right,
    var(--gold) 0%,
    var(--gold) var(--fill, 30%),
    rgba(255,215,0,0.2) var(--fill, 30%),
    rgba(255,215,0,0.2) 100%
  );
  outline: none;
  cursor: pointer;
  flex-shrink: 0;
}
#volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 4px rgba(255,215,0,0.6);
  cursor: pointer;
  transition: transform 0.1s;
}
#volume-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
#volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  box-shadow: 0 0 4px rgba(255,215,0,0.6);
  cursor: pointer;
}

/* ── Scrollbar hiding ─────────────────────────────────────────────────────── */
::-webkit-scrollbar { display: none; }
