/* =========================================================
   CROSSY ROAD DELUXE - RETRO ARCADE STYLING & DESIGN SYSTEM
   ========================================================= */

:root {
  --primary: #ffcc00;
  --primary-hover: #ffd633;
  --secondary: #ff3366;
  --secondary-hover: #ff5588;
  --accent-green: #2ecc71;
  --accent-cyan: #00d2ff;
  --accent-purple: #9b59b6;
  --bg-dark: #12151e;
  --card-bg: rgba(22, 27, 44, 0.88);
  --card-border: rgba(255, 255, 255, 0.12);
  --hud-bg: rgba(18, 22, 36, 0.75);
  --text-main: #ffffff;
  --text-muted: #a0aec0;
  --font-arcade: "Press Start 2P", monospace;
  --font-heading: "Fredoka", "Outfit", sans-serif;
  --font-ui: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-voxel: 0 8px 0 rgba(0, 0, 0, 0.35);
  --shadow-btn: 0 6px 0 #cc8800;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-dark);
  font-family: var(--font-ui);
  color: var(--text-main);
  touch-action: manipulation;
}

/* Three.js Canvas */
canvas.game {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 1;
}

/* Confetti Canvas */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 100;
}

/* Screen FX (Impact Flash / Shake) */
#screen-fx {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 50;
  transition: background-color 0.15s ease-out;
}

#screen-fx.flash-red {
  background-color: rgba(255, 30, 30, 0.35);
}

#screen-fx.flash-water {
  background-color: rgba(0, 180, 255, 0.35);
}

#screen-fx.flash-gold {
  background-color: rgba(255, 215, 0, 0.3);
}

.shake {
  animation: screenShake 0.35s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes screenShake {
  10%, 90% { transform: translate3d(-3px, -2px, 0); }
  20%, 80% { transform: translate3d(4px, 3px, 0); }
  30%, 50%, 70% { transform: translate3d(-5px, -3px, 0); }
  40%, 60% { transform: translate3d(5px, 3px, 0); }
}

/* =========================================================
   IN-GAME HUD (Top Overlays)
   ========================================================= */
.hud-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  z-index: 20;
}

.hud-box {
  pointer-events: auto;
  background: var(--hud-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid var(--card-border);
  border-radius: 16px;
  padding: 10px 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.score-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 130px;
  position: relative;
}

.score-label {
  font-family: var(--font-arcade);
  font-size: 0.65rem;
  color: var(--primary);
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(255, 204, 0, 0.5);
}

.score-value {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  margin: 3px 0 2px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  transition: transform 0.1s ease;
}

.score-value.bump {
  transform: scale(1.2);
  color: var(--primary);
}

.best-sub {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.combo-badge {
  position: absolute;
  top: -12px;
  right: -24px;
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(255, 65, 108, 0.6);
  animation: pulseScale 0.6s infinite alternate;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.combo-badge.hidden {
  display: none;
}

@keyframes pulseScale {
  0% { transform: scale(0.92) rotate(-5deg); }
  100% { transform: scale(1.1) rotate(5deg); }
}

.hud-top-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.coin-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffd700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.coin-icon {
  font-size: 1.3rem;
  animation: coinSpin 2s infinite ease-in-out;
}

@keyframes coinSpin {
  0%, 100% { transform: rotateY(0deg); }
  50% { transform: rotateY(180deg); }
}

.icon-btn {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--hud-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid var(--card-border);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.icon-btn:hover {
  transform: translateY(-2px);
  background: rgba(40, 50, 80, 0.85);
  border-color: rgba(255, 255, 255, 0.3);
}

.icon-btn:active {
  transform: translateY(1px);
}

.icon-btn.muted {
  opacity: 0.5;
  filter: grayscale(1);
}

/* Active Powerup Indicators */
.powerup-indicators {
  position: absolute;
  top: 90px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.powerup-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 20, 35, 0.85);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--accent-cyan);
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 210, 255, 0.3);
  animation: slideInLeft 0.25s ease;
}

.powerup-pill .progress-track {
  width: 50px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
}

.powerup-pill .progress-fill {
  height: 100%;
  width: 100%;
  background: var(--accent-cyan);
  border-radius: 3px;
  transition: width 0.1s linear;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* =========================================================
   FLOATING JUICE / HIT TEXT OVERLAY
   ========================================================= */
#juice-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 40;
}

.juice-text {
  position: absolute;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 15px currentColor;
  transform: translate(-50%, -50%);
  animation: floatUpFade 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes floatUpFade {
  0% {
    opacity: 1;
    transform: translate(-50%, 0) scale(0.6) rotate(-4deg);
  }
  30% {
    transform: translate(-50%, -25px) scale(1.2) rotate(3deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -60px) scale(1) rotate(0deg);
  }
}

/* =========================================================
   MOBILE D-PAD CONTROLS
   ========================================================= */
.controls-overlay {
  position: fixed;
  bottom: 25px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 25;
}

.dpad-cluster {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.dpad-horizontal {
  display: flex;
  gap: 12px;
}

.ctrl-btn {
  width: 68px;
  height: 64px;
  border-radius: 18px;
  background: rgba(25, 32, 52, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 0 rgba(10, 15, 28, 0.9), 0 10px 20px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.08s ease;
  touch-action: manipulation;
}

.ctrl-btn.up {
  width: 110px;
  height: 62px;
  background: linear-gradient(180deg, rgba(46, 204, 113, 0.85), rgba(39, 174, 96, 0.85));
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 0 #1b6d3b, 0 10px 20px rgba(0, 0, 0, 0.4);
}

.ctrl-btn:hover {
  background: rgba(35, 45, 75, 0.95);
  border-color: rgba(255, 255, 255, 0.35);
}

.ctrl-btn.up:hover {
  background: linear-gradient(180deg, #38d67c, #27ae60);
}

.ctrl-btn:active {
  transform: translateY(6px);
  box-shadow: 0 2px 0 rgba(10, 15, 28, 0.9), 0 4px 10px rgba(0, 0, 0, 0.4);
}

.ctrl-btn.up:active {
  transform: translateY(6px);
  box-shadow: 0 2px 0 #1b6d3b, 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* =========================================================
   MODAL OVERLAYS & ARCADE CARDS
   ========================================================= */
.menu-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 10, 18, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, backdrop-filter 0.25s ease;
}

.menu-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.menu-card {
  background: var(--card-bg);
  border: 3px solid var(--card-border);
  border-radius: 28px;
  padding: 32px 36px;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), inset 0 2px 0 rgba(255, 255, 255, 0.2);
  text-align: center;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.menu-modal-overlay.active .menu-card {
  transform: scale(1) translateY(0);
}

/* Game Title / Logo */
.game-logo-container {
  margin-bottom: 24px;
}

.voxel-title {
  font-family: var(--font-arcade);
  font-size: 1.9rem;
  line-height: 1.2;
  color: #ffcc00;
  text-shadow: 0 4px 0 #cc8800, 0 8px 18px rgba(255, 204, 0, 0.4);
  letter-spacing: 2px;
}

.voxel-subtitle {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-cyan);
  letter-spacing: 3px;
  margin-top: 6px;
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

/* 3D Hero Preview Stand */
.character-preview-stand {
  margin: 18px 0;
  padding: 16px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-character-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-top: 6px;
}

/* Stats Pill Bar */
.stats-preview-bar {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
}

.stat-pill .icon {
  margin-right: 4px;
}

/* Action Buttons */
.menu-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.menu-secondary-buttons, .go-secondary-btns {
  display: flex;
  gap: 12px;
}

.btn-action {
  position: relative;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 16px 24px;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-voxel);
  transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.15s ease;
}

.btn-action:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-action:active {
  transform: translateY(4px);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.4);
}

.btn-play {
  width: 100%;
  font-size: 1.35rem;
  background: linear-gradient(180deg, #ffcc00 0%, #ff9900 100%);
  color: #12151e;
  box-shadow: 0 8px 0 #cc6600, 0 12px 25px rgba(255, 153, 0, 0.4);
}

.btn-play:active {
  box-shadow: 0 2px 0 #cc6600;
}

.btn-shop {
  flex: 1;
  background: linear-gradient(180deg, #00d2ff 0%, #0088cc 100%);
  box-shadow: 0 6px 0 #006699;
}

.btn-shop:active {
  box-shadow: 0 2px 0 #006699;
}

.btn-quests {
  flex: 1;
  background: linear-gradient(180deg, #9b59b6 0%, #8e44ad 100%);
  box-shadow: 0 6px 0 #6c3483;
}

.btn-quests:active {
  box-shadow: 0 2px 0 #6c3483;
}

.btn-reward {
  width: 100%;
  background: linear-gradient(180deg, #ff9900 0%, #e67e22 100%);
  color: #fff;
  box-shadow: 0 6px 0 #b35400, 0 8px 20px rgba(230, 126, 34, 0.4);
  font-size: 1.05rem;
  padding: 14px 20px;
}

.btn-reward:active {
  box-shadow: 0 2px 0 #b35400;
}

.btn-home, .btn-restart {
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.4);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  animation: btnShineAnim 3.5s infinite;
}

@keyframes btnShineAnim {
  20%, 100% { left: 140%; }
}

.controls-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 20px;
}

/* =========================================================
   CHARACTER SHOP MODAL
   ========================================================= */
.shop-card {
  max-width: 620px;
  padding: 24px 28px;
}

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

.modal-header h2 {
  font-family: var(--font-arcade);
  font-size: 1.2rem;
  color: var(--primary);
  text-shadow: 0 0 10px rgba(255, 204, 0, 0.4);
}

.wallet-badge {
  background: rgba(255, 215, 0, 0.15);
  border: 1.5px solid #ffd700;
  border-radius: 20px;
  padding: 6px 14px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: #ffd700;
}

.btn-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-close:hover {
  background: rgba(255, 50, 50, 0.8);
  transform: scale(1.1);
}

.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 14px;
  max-height: 380px;
  overflow-y: auto;
  padding: 8px 4px;
  margin-bottom: 20px;
}

/* Custom Scrollbar */
.characters-grid::-webkit-scrollbar, .quests-list::-webkit-scrollbar {
  width: 6px;
}
.characters-grid::-webkit-scrollbar-thumb, .quests-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

.char-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.char-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.char-card.selected {
  border-color: var(--primary);
  background: rgba(255, 204, 0, 0.15);
  box-shadow: 0 0 15px rgba(255, 204, 0, 0.3);
}

.char-card.active-equipped {
  border-color: var(--accent-green);
  background: rgba(46, 204, 113, 0.15);
}

.char-avatar {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.char-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.char-badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
}

.char-badge.unlocked {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
  border: 1px solid #2ecc71;
}

.char-badge.price {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
  border: 1px solid #ffd700;
}

.char-badge.equipped {
  background: #2ecc71;
  color: #12151e;
  font-weight: 900;
}

.btn-select-char {
  width: 100%;
  background: linear-gradient(180deg, #2ecc71 0%, #27ae60 100%);
  box-shadow: 0 6px 0 #1b6d3b;
}

/* =========================================================
   MISSIONS & QUESTS MODAL
   ========================================================= */
.quests-card {
  max-width: 520px;
}

.quests-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 360px;
  overflow-y: auto;
  padding: 4px;
}

.quest-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.quest-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quest-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.quest-reward {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffd700;
}

.quest-progress-bar {
  width: 120px;
  height: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  overflow: hidden;
}

.quest-progress-fill {
  height: 100%;
  background: var(--accent-green);
  border-radius: 4px;
}

.btn-claim {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 900;
  background: #ffd700;
  color: #12151e;
  border: none;
  padding: 8px 14px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 0 #ccaa00;
}

.btn-claim:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #ccaa00;
}

/* =========================================================
   PAUSE MODAL
   ========================================================= */
.pause-card {
  max-width: 380px;
}

.pause-card h2 {
  font-family: var(--font-arcade);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.pause-menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* =========================================================
   GAME OVER MODAL
   ========================================================= */
.game-over-card {
  max-width: 460px;
}

.game-over-heading {
  font-family: var(--font-arcade);
  font-size: 1.8rem;
  color: var(--secondary);
  text-shadow: 0 4px 0 #b3003b, 0 0 20px rgba(255, 51, 102, 0.5);
  margin-bottom: 12px;
}

.new-record-banner {
  background: linear-gradient(90deg, #ff8a00, #e52e71);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(229, 46, 113, 0.5);
  animation: pulseScale 0.6s infinite alternate;
}

.new-record-banner.hidden {
  display: none;
}

.game-over-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 26px;
}

.go-stat-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.go-label {
  font-family: var(--font-arcade);
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.go-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
}

.go-value.highlight {
  color: var(--primary);
}

.go-value.gold {
  color: #ffd700;
}

.game-over-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* =========================================================
   RESPONSIVE DESIGN (Mobile & Small Viewports)
   ========================================================= */
@media (max-width: 600px) {
  .hud-container {
    padding: 12px 14px;
  }

  .score-value {
    font-size: 1.9rem;
  }

  .coin-box {
    font-size: 1rem;
    padding: 6px 12px;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .menu-card {
    padding: 24px 20px;
  }

  .voxel-title {
    font-size: 1.4rem;
  }

  .ctrl-btn {
    width: 58px;
    height: 56px;
  }

  .ctrl-btn.up {
    width: 95px;
    height: 56px;
  }
}
