/* Game-mode switch on the main menu of every version: Classic 2D · 3D · Horde (same markup in index.html, play3d.html, horde.html) */
.mode-switch { display: inline-flex; gap: 4px; margin: 2px auto 8px; padding: 3px; border-radius: 10px; background: rgba(8, 6, 20, 0.72);
  border: 1px solid rgba(255, 210, 120, 0.28); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); position: relative; z-index: 5; }
.mode-switch a { font: 18px VT323, monospace; color: #d8d2f0; text-decoration: none; padding: 4px 14px; border-radius: 7px; line-height: 1.1;
  white-space: nowrap; transition: background .15s, color .15s; }
.mode-switch a small { font-size: 13px; color: #ffb36b; margin-left: 4px; letter-spacing: .5px; }
.mode-switch a:hover { background: rgba(255, 210, 120, 0.14); color: #fff; }
.mode-switch a[aria-current="page"] { background: linear-gradient(#ffcf6a, #e89a2c); color: #1a1008; font-weight: bold; }
.mode-switch a[aria-current="page"] small { color: #5a2a08; }
.menu-inner > .mode-switch { align-self: center; }
@media (max-width: 700px), (max-height: 430px) { .mode-switch a { font-size: 15px; padding: 3px 9px; } .mode-switch a small { display: none; } }
/* the old corner links are replaced by the switch */
#exp-3d-link, #horde-link, #exp-badge, #menu .back-link { display: none !important; }
