/* ============ 全局样式 ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0a0a1a;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: 'Courier New', Courier, monospace;
  overflow: hidden;
}

/* ============ 游戏容器 ============ */
#game-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  border: 2px solid #ff00ff;
  border-radius: 12px;
  box-shadow:
    0 0 20px rgba(255, 0, 255, 0.3),
    inset 0 0 20px rgba(255, 0, 255, 0.05);
  background: #0d0d24;
  /* 手机适配: 容器不超过屏幕 */
  max-width: calc(100vw - 16px);
  width: fit-content;
}

/* ============ 顶部信息栏 ============ */
#header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8px 8px 8px;
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

#title {
  font-size: 20px;
  font-weight: 400;
  color: #00ffcc;
  text-shadow: 0 0 10px rgba(0, 255, 204, 0.6);
  letter-spacing: 2px;
}

#top3-display {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
}

#top3-display .medal { margin: 0 2px; }
#top3-display .gold { color: #ffcc00; }
#top3-display .silver { color: #c0c0c0; }
#top3-display .bronze { color: #cd7f32; }
#top3-display .score-num { color: #00ff88; font-weight: bold; }

#score-label {
  font-size: 16px;
  color: #00ffcc;
  text-shadow: 0 0 8px rgba(0, 255, 204, 0.4);
}

#score {
  color: #00ff88;
  font-weight: bold;
  font-size: 24px;
  text-shadow: 0 0 12px rgba(0, 255, 136, 0.7);
}

/* ============ 画布 ============ */
#game-canvas {
  border: 2px solid #00ffcc;
  border-radius: 4px;
  box-shadow:
    0 0 15px rgba(0, 255, 204, 0.3),
    inset 0 0 10px rgba(0, 255, 204, 0.05);
  display: block;
  /* 手机适配: 画布按屏幕宽度缩放，内部 400×600 分辨率不变（竖向 2:3） */
  width: min(400px, calc(100vw - 40px));
  height: auto;
  aspect-ratio: 2 / 3;
  /* 禁止触摸滑动时页面滚动 */
  touch-action: none;
}

/* ============ 底部提示 ============ */
#footer {
  width: 100%;
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 0, 255, 0.15);
}

/* ============ 主操作：大暂停/启动按钮（底部中央，仅触屏） ============ */
#mobile-pause-btn {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 76px;
  font-size: 32px;
  background: rgba(13, 13, 36, 0.9);
  border: 3px solid #ff00ff;
  border-radius: 50%;
  color: #00ffcc;
  cursor: pointer;
  z-index: 100;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 0 25px rgba(255, 0, 255, 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#mobile-pause-btn:hover {
  transform: translateX(-50%) scale(1.06);
  box-shadow: 0 0 35px rgba(255, 0, 255, 0.6);
}

#mobile-pause-btn:active {
  transform: translateX(-50%) scale(0.94);
}

@media (pointer: coarse) {
  #mobile-pause-btn {
    display: flex;
  }
}

/* ============ 次操作：设置 / 排行榜（固定屏幕底角） ============ */
#settings-toggle,
#leaderboard-toggle {
  position: fixed;
  bottom: 36px;
  width: 46px;
  height: 46px;
  font-size: 20px;
  background: rgba(13, 13, 36, 0.85);
  border: 2px solid rgba(255, 0, 255, 0.6);
  border-radius: 50%;
  color: #00ffcc;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 0 12px rgba(255, 0, 255, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#settings-toggle {
  left: 20px;
  color: #00ffcc;
}

#leaderboard-toggle {
  right: 20px;
  color: #ffcc00;
}

#settings-toggle:hover,
#leaderboard-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 0 22px rgba(255, 0, 255, 0.45);
}

#settings-toggle:active,
#leaderboard-toggle:active {
  transform: scale(0.92);
}

#hint {
  font-size: 13px;
  color: rgba(0, 255, 204, 0.5);
  text-shadow: 0 0 6px rgba(0, 255, 204, 0.2);
  letter-spacing: 1px;
  transition: opacity 0.3s ease;
}

/* ============ 状态覆盖层（纯 Canvas 渲染，不需要 DOM 覆盖） ============ */
/* 状态提示通过 Canvas 绘制，无需额外 CSS */

/* ============ 设置面板（全屏毛玻璃覆盖层） ============ */

/* --- 全屏遮罩 --- */
#settings-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(5, 5, 20, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}

#settings-overlay.active {
  display: flex;
}

/* --- 毛玻璃卡片 --- */
#settings-panel {
  width: 380px;
  max-width: 90vw;
  max-height: 85vh;
  background: rgba(20, 20, 50, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(0, 255, 204, 0.25);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow:
    0 0 40px rgba(0, 255, 204, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  animation: panelFadeIn 0.25s ease;
}

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* --- 面板头部 --- */
#settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 255, 204, 0.15);
  margin-bottom: 20px;
}

#settings-header span:first-child {
  font-size: 22px;
  font-weight: bold;
  color: #00ffcc;
  text-shadow: 0 0 12px rgba(0, 255, 204, 0.5);
  letter-spacing: 2px;
}

#settings-close {
  cursor: pointer;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.6);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

#settings-close:hover {
  color: #ff3355;
  background: rgba(255, 51, 85, 0.15);
}

/* --- 设置区域 --- */
.settings-section {
  margin-bottom: 22px;
}

.settings-label {
  font-size: 15px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.settings-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* --- 选项按钮（高对比度） --- */
.skin-option {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.15s ease;
  background: rgba(255, 255, 255, 0.12);
}

.skin-option:hover {
  border-color: rgba(0, 255, 204, 0.5);
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
}

.skin-option.active {
  border-color: #00ffcc;
  background: rgba(0, 255, 204, 0.15);
  box-shadow:
    0 0 14px rgba(0, 255, 204, 0.35),
    inset 0 0 8px rgba(0, 255, 204, 0.1);
}

/* 颜色色块（圆形） */
.skin-option.color-swatch {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  border-width: 3px;
}

/* --- 重置按钮 --- */
#reset-skin {
  width: 100%;
  padding: 12px;
  margin-top: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Courier New', monospace;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 1px;
}

#reset-skin:hover {
  border-color: rgba(255, 51, 85, 0.6);
  color: #ff5577;
  background: rgba(255, 51, 85, 0.1);
  box-shadow: 0 0 15px rgba(255, 51, 85, 0.15);
}

/* --- 导入/导出按钮 --- */
.data-btn {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Courier New', monospace;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 1px;
}

.data-btn:hover {
  border-color: rgba(0, 255, 204, 0.4);
  color: #00ffcc;
  background: rgba(0, 255, 204, 0.08);
}

/* --- 滚动条 --- */
#settings-panel::-webkit-scrollbar {
  width: 4px;
}

#settings-panel::-webkit-scrollbar-track {
  background: transparent;
}

#settings-panel::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 204, 0.3);
  border-radius: 2px;
}

/* ============ 排行榜按钮（工具行成员，样式由 #toolbar 统一） ============ */

/* ============ 完整榜单弹窗 ============ */
#leaderboard-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(5, 5, 20, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}

#leaderboard-overlay.active {
  display: flex;
}

#leaderboard-panel {
  width: 380px;
  max-width: 90vw;
  max-height: 80vh;
  background: rgba(20, 20, 50, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 204, 0, 0.25);
  border-radius: 16px;
  padding: 24px;
  box-shadow:
    0 0 40px rgba(255, 204, 0, 0.12),
    0 8px 32px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  animation: panelFadeIn 0.25s ease;
}

#leaderboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 204, 0, 0.15);
  margin-bottom: 16px;
}

#leaderboard-header span:first-child {
  font-size: 20px;
  font-weight: bold;
  color: #ffcc00;
  text-shadow: 0 0 12px rgba(255, 204, 0, 0.4);
  letter-spacing: 2px;
}

#leaderboard-close {
  cursor: pointer;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.6);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

#leaderboard-close:hover {
  color: #ff3355;
  background: rgba(255, 51, 85, 0.15);
}

/* --- 排行榜列表 --- */
#leaderboard-body {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 12px;
}

.lb-entry {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  margin-bottom: 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.15s;
}

.lb-entry:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lb-entry.top1 {
  background: rgba(255, 204, 0, 0.12);
  border: 1px solid rgba(255, 204, 0, 0.2);
}

.lb-entry.top2 {
  background: rgba(192, 192, 192, 0.08);
  border: 1px solid rgba(192, 192, 192, 0.12);
}

.lb-entry.top3 {
  background: rgba(205, 127, 50, 0.08);
  border: 1px solid rgba(205, 127, 50, 0.12);
}

.lb-rank {
  width: 32px;
  font-weight: bold;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
}

.lb-rank.gold { color: #ffcc00; }
.lb-rank.silver { color: #c0c0c0; }
.lb-rank.bronze { color: #cd7f32; }

.lb-name {
  flex: 1;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.lb-score {
  font-size: 16px;
  font-weight: bold;
  color: #00ff88;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

.lb-empty {
  text-align: center;
  padding: 40px 0;
  color: rgba(255, 255, 255, 0.35);
  font-size: 14px;
}

/* --- 清空按钮 --- */
#leaderboard-clear {
  width: 100%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Courier New', monospace;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

#leaderboard-clear:hover {
  border-color: rgba(255, 51, 85, 0.5);
  color: #ff5577;
  background: rgba(255, 51, 85, 0.08);
}

#leaderboard-body::-webkit-scrollbar {
  width: 4px;
}

#leaderboard-body::-webkit-scrollbar-track {
  background: transparent;
}

#leaderboard-body::-webkit-scrollbar-thumb {
  background: rgba(255, 204, 0, 0.25);
  border-radius: 2px;
}

/* ============ 保存记录弹窗 ============ */
#record-prompt-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 5, 20, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
}

#record-prompt-overlay.active {
  display: flex;
}

#record-prompt {
  width: 320px;
  max-width: 90vw;
  background: rgba(20, 20, 50, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(0, 255, 204, 0.25);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow:
    0 0 40px rgba(0, 255, 204, 0.12),
    0 8px 32px rgba(0, 0, 0, 0.5);
  text-align: center;
  animation: panelFadeIn 0.25s ease;
}

#record-prompt-title {
  font-size: 24px;
  font-weight: bold;
  color: #ffcc00;
  text-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
  margin-bottom: 12px;
}

#record-prompt-score {
  font-size: 18px;
  color: #00ff88;
  margin-bottom: 4px;
}

#record-prompt-rank {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

#record-prompt-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid rgba(0, 255, 204, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Courier New', monospace;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 16px;
  text-align: center;
}

#record-prompt-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

#record-prompt-input:focus {
  border-color: rgba(0, 255, 204, 0.6);
  box-shadow: 0 0 10px rgba(0, 255, 204, 0.15);
}

#record-prompt-actions {
  display: flex;
  gap: 10px;
}

#record-prompt-actions button {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 1px;
}

#record-prompt-save {
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: #00ff88;
}

#record-prompt-save:hover {
  background: rgba(0, 255, 136, 0.25);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

#record-prompt-skip {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
}

#record-prompt-skip:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.7);
}

/* ============ 窄屏适配（≤480px，手机竖屏） ============ */
@media (max-width: 480px) {
  /* 弹窗统一缩小内边距，给内容更多空间 */
  #settings-panel,
  #leaderboard-panel,
  #record-prompt {
    padding: 20px 16px;
    border-radius: 12px;
  }

  /* 设置面板选项按钮略微缩小 */
  .skin-option {
    width: 40px;
    height: 40px;
  }

  .skin-option.color-swatch {
    width: 36px;
    height: 36px;
  }

  /* 顶栏排行在窄屏缩小字号 */
  #top3-display {
    font-size: 11px;
  }

  #title {
    font-size: 18px;
  }

  #score-label {
    font-size: 15px;
  }

  /* 底角按钮窄屏缩小 */
  #settings-toggle,
  #leaderboard-toggle {
    width: 40px;
    height: 40px;
    font-size: 17px;
    bottom: 32px;
  }

  #settings-toggle { left: 12px; }
  #leaderboard-toggle { right: 12px; }

  /* 游戏容器减小边距 */
  #game-container {
    padding: 14px;
    gap: 8px;
  }

  /* 画布占满容器宽度 */
  #game-canvas {
    width: calc(100vw - 36px);
  }
}


/* ============ UI 原型变体布局（按钮 + 排行榜） ============ */

/* --- 默认隐藏的变体专属元素 --- */
#menu-toggle,
#menu-popup,
#rank-drawer-overlay,
#rank-sheet,
#proto-switcher {
  display: none;
}

/* =====================================================
   变体 A — 顶栏排行条 + 大暂停/底角按钮（默认生产布局）
   无需覆盖，当前样式即为此变体
   ===================================================== */

/* =====================================================
   变体 B — 榜单抽屉: 顶栏极简 + 🏆 右侧滑出抽屉
   ===================================================== */
body.variant-b #top3-display {
  display: none; /* 顶栏只留标题 + 分数 */
}

body.variant-b #rank-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 5, 20, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

body.variant-b #rank-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

body.variant-b #rank-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(300px, 78vw);
  height: 100%;
  background: rgba(13, 13, 36, 0.97);
  border-left: 2px solid rgba(255, 204, 0, 0.3);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.5);
}

body.variant-b #rank-drawer-overlay.open #rank-drawer {
  transform: translateX(0);
}

body.variant-b #rank-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 204, 0, 0.15);
  margin-bottom: 12px;
}

body.variant-b #rank-drawer-header span:first-child {
  font-size: 18px;
  font-weight: bold;
  color: #ffcc00;
}

body.variant-b #rank-drawer-close {
  cursor: pointer;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
}

body.variant-b #rank-drawer-body {
  flex: 1;
  overflow-y: auto;
}

/* =====================================================
   变体 C — 榜单条 + Dock: 底部胶囊 + 榜单条
   ===================================================== */
body.variant-c #top3-display {
  display: none;
}

body.variant-c #rank-sheet {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  bottom: 116px; /* 位于底角按钮上方 */
  width: min(420px, 92vw);
  background: rgba(13, 13, 36, 0.96);
  border: 1.5px solid rgba(255, 204, 0, 0.3);
  border-radius: 14px;
  padding: 14px 16px;
  z-index: 210;
  transition: transform 0.25s ease;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

body.variant-c #rank-sheet.open {
  transform: translateX(-50%) translateY(0);
}

body.variant-c #rank-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 204, 0, 0.15);
  margin-bottom: 10px;
}

body.variant-c #rank-sheet-header span:first-child {
  font-size: 16px;
  font-weight: bold;
  color: #ffcc00;
}

body.variant-c #rank-sheet-close {
  cursor: pointer;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
}

/* 横向滚动榜单条 */
body.variant-c #rank-sheet-body {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

body.variant-c .sheet-card {
  flex: 0 0 auto;
  min-width: 88px;
  text-align: center;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

body.variant-c .sheet-card .sheet-rank { font-size: 18px; }
body.variant-c .sheet-card .sheet-name {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 80px;
}
body.variant-c .sheet-card .sheet-score {
  font-size: 15px;
  font-weight: bold;
  color: #00ff88;
}

body.variant-c #rank-sheet-full {
  width: 100%;
  margin-top: 6px;
  padding: 8px;
  background: transparent;
  border: 1px solid rgba(255, 204, 0, 0.25);
  border-radius: 8px;
  color: rgba(255, 204, 0, 0.8);
  font-family: 'Courier New', monospace;
  font-size: 13px;
  cursor: pointer;
}

/* =====================================================
   原型切换栏（仅 proto=1 显示）
   ===================================================== */
#proto-switcher.active {
  display: flex;
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  font-family: -apple-system, sans-serif;
}

#proto-switcher button {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

#proto-switcher span {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  min-width: 140px;
  text-align: center;
}
